mirror of
https://github.com/elastic/kibana.git
synced 2025-06-27 10:40:07 -04:00
[State Management] State syncing utilities (#53582)
Today, apps rely on AppState and GlobalState in the ui/state_management module to deal with internal (app) and shared (global) state. These classes give apps an ability to read/write state, when is then synced to the URL as well as sessionStorage. They also react to changes in the URL and automatically update state & emit events when changes occur. This PR introduces new state synching utilities, which together with state containers src/plugins/kibana_utils/public/state_containers will be a replacement for AppState and GlobalState in New Platform.
This commit is contained in:
parent
0bafcb9e50
commit
a7a557babe
56 changed files with 2790 additions and 168 deletions
24
typings/encode_uri_query.d.ts
vendored
24
typings/encode_uri_query.d.ts
vendored
|
@ -1,24 +0,0 @@
|
|||
/*
|
||||
* Licensed to Elasticsearch B.V. under one or more contributor
|
||||
* license agreements. See the NOTICE file distributed with
|
||||
* this work for additional information regarding copyright
|
||||
* ownership. Elasticsearch B.V. licenses this file to you under
|
||||
* the Apache License, Version 2.0 (the "License"); you may
|
||||
* not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
declare module 'encode-uri-query' {
|
||||
function encodeUriQuery(query: string, usePercentageSpace?: boolean): string;
|
||||
// eslint-disable-next-line import/no-default-export
|
||||
export default encodeUriQuery;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue