-
-
Notifications
You must be signed in to change notification settings - Fork 340
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
365 additions
and
274 deletions.
There are no files selected for viewing
16 changes: 7 additions & 9 deletions
16
src/LiveComponent/assets/dist/Component/plugins/QueryStringPlugin.d.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,14 @@ | ||
import Component from '../index'; | ||
import { PluginInterface } from './PluginInterface'; | ||
interface QueryMapping { | ||
name: string; | ||
} | ||
export default class implements PluginInterface { | ||
private mapping; | ||
private initialPropsValues; | ||
private changedProps; | ||
private readonly mapping; | ||
private trackers; | ||
constructor(mapping: { | ||
[p: string]: any; | ||
[p: string]: QueryMapping; | ||
}); | ||
attachToComponent(component: Component): void; | ||
private updateUrlParam; | ||
private getParamFromModel; | ||
private getNormalizedPropNames; | ||
private isValueEmpty; | ||
private isObjectValue; | ||
} | ||
export {}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,11 @@ | ||
export declare function setQueryParam(param: string, value: any): void; | ||
export declare function removeQueryParam(param: string): void; | ||
export declare class UrlUtils extends URL { | ||
has(key: string): boolean; | ||
set(key: string, value: any): void; | ||
get(key: string): any | undefined; | ||
remove(key: string): void; | ||
private getData; | ||
private setData; | ||
} | ||
export declare class HistoryStrategy { | ||
static replace(url: URL): void; | ||
} |
Oops, something went wrong.