@ws-ui/store 0.1.1 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -1
- package/dist/hooks/index.d.ts +1 -0
- package/dist/hooks/store.d.ts +94 -0
- package/dist/index.cjs.js +157 -0
- package/dist/index.cjs.js.map +1 -0
- package/dist/index.d.ts +6 -86
- package/dist/index.es.js +15729 -0
- package/dist/index.es.js.map +1 -0
- package/dist/modules/catalog/index.d.ts +13 -0
- package/dist/modules/catalog/reducer.d.ts +20 -0
- package/dist/modules/catalog/thunks.d.ts +4 -0
- package/dist/modules/catalog/types.d.ts +1 -0
- package/dist/modules/debugger/index.d.ts +6 -0
- package/dist/modules/debugger/reducer.d.ts +121 -0
- package/dist/modules/debugger/thunks.d.ts +11 -0
- package/dist/modules/debugger/types.d.ts +226 -0
- package/dist/modules/debugger/utils.d.ts +3 -0
- package/dist/modules/explorer/index.d.ts +6 -0
- package/dist/modules/explorer/reducer.d.ts +38 -0
- package/dist/modules/explorer/thunks.d.ts +263 -0
- package/dist/modules/explorer/types.d.ts +56 -0
- package/dist/modules/explorer/utils.d.ts +4 -0
- package/dist/modules/index.d.ts +52 -0
- package/dist/modules/modals/index.d.ts +5 -0
- package/dist/modules/modals/reducer.d.ts +17 -0
- package/dist/modules/modals/thunks.d.ts +12 -0
- package/dist/modules/modals/types.d.ts +69 -0
- package/dist/modules/model/helpers.d.ts +12 -0
- package/dist/modules/model/index.d.ts +8 -0
- package/dist/modules/model/reducer.d.ts +33 -0
- package/dist/modules/model/selectors.d.ts +12 -0
- package/dist/modules/model/subjects.d.ts +6 -0
- package/dist/modules/model/thunks.d.ts +55 -0
- package/dist/modules/model/types.d.ts +97 -0
- package/dist/modules/roles/__tests__/adapter.test.d.ts +1 -0
- package/dist/modules/roles/adapter.d.ts +179 -0
- package/dist/modules/roles/index.d.ts +21 -0
- package/dist/modules/roles/reducer.d.ts +64 -0
- package/dist/modules/roles/thunks.d.ts +24 -0
- package/dist/modules/roles/types.d.ts +86 -0
- package/dist/modules/root/index.d.ts +5 -0
- package/dist/modules/root/reducer.d.ts +153 -0
- package/dist/modules/root/thunks.d.ts +117 -0
- package/dist/modules/root/types.d.ts +59 -0
- package/dist/modules/settings/index.d.ts +5 -0
- package/dist/modules/settings/reducer.d.ts +45 -0
- package/dist/modules/settings/thunks.d.ts +7 -0
- package/dist/modules/settings/types.d.ts +7 -0
- package/dist/modules/settings/utils.d.ts +2 -0
- package/dist/modules/shared-css/index.d.ts +5 -0
- package/dist/modules/shared-css/reducer.d.ts +21 -0
- package/dist/modules/shared-css/thunks.d.ts +6 -0
- package/dist/modules/shared-css/types.d.ts +1 -0
- package/dist/modules/shared-datasources/index.d.ts +5 -0
- package/dist/modules/shared-datasources/reducer.d.ts +18 -0
- package/dist/modules/shared-datasources/thunks.d.ts +32 -0
- package/dist/modules/shared-datasources/types.d.ts +1 -0
- package/dist/modules/tabs/index.d.ts +5 -0
- package/dist/modules/tabs/reducer.d.ts +4 -0
- package/dist/modules/tabs/selectors.d.ts +64 -0
- package/dist/modules/tabs/types.d.ts +1 -0
- package/dist/modules/webforms/datasources.adapter.d.ts +40 -0
- package/dist/modules/webforms/index.d.ts +6 -0
- package/dist/modules/webforms/private.d.ts +3 -0
- package/dist/modules/webforms/reducer.d.ts +53 -0
- package/dist/modules/webforms/thunks.d.ts +58 -0
- package/dist/modules/webforms/types.d.ts +71 -0
- package/dist/provider.d.ts +5 -0
- package/dist/selectors/catalog.d.ts +234 -0
- package/dist/selectors/common.d.ts +146 -0
- package/dist/selectors/components.d.ts +70 -0
- package/dist/selectors/datasources.d.ts +262 -0
- package/dist/selectors/debugger.d.ts +922 -0
- package/dist/selectors/explorer.d.ts +1352 -0
- package/dist/selectors/index.d.ts +12 -0
- package/dist/selectors/modals.d.ts +41 -0
- package/dist/selectors/roles.d.ts +471 -0
- package/dist/selectors/settings.d.ts +337 -0
- package/dist/selectors/styles.d.ts +234 -0
- package/dist/selectors/tabs.d.ts +72 -0
- package/dist/selectors/webforms.d.ts +450 -0
- package/dist/store.d.ts +10 -0
- package/dist/utils.d.ts +16 -0
- package/package.json +46 -19
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js +0 -168
- package/dist/index.js.map +0 -1
- package/dist/index.module.js +0 -167
- package/dist/index.module.js.map +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,86 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
export
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
path: string;
|
|
8
|
-
editor: IEditor<any, any>;
|
|
9
|
-
}, {
|
|
10
|
-
state: AppState;
|
|
11
|
-
}>;
|
|
12
|
-
export interface ITab<Raw = string, Parsed = string, Extra = any> {
|
|
13
|
-
path: string;
|
|
14
|
-
name: string;
|
|
15
|
-
editor: string;
|
|
16
|
-
content: {
|
|
17
|
-
raw: Raw;
|
|
18
|
-
parsed: Parsed;
|
|
19
|
-
};
|
|
20
|
-
extra: Extra;
|
|
21
|
-
}
|
|
22
|
-
export type ITabsState = {
|
|
23
|
-
editors: {
|
|
24
|
-
[key: string]: ITab;
|
|
25
|
-
};
|
|
26
|
-
selected: number;
|
|
27
|
-
};
|
|
28
|
-
export const tabsSlice: import("@reduxjs/toolkit").Slice<ITabsState, {
|
|
29
|
-
setContent: (state: import("immer/dist/internal").WritableDraft<ITabsState>, action: PayloadAction<{
|
|
30
|
-
path: string;
|
|
31
|
-
content: any;
|
|
32
|
-
type?: 'raw' | 'parsed';
|
|
33
|
-
}>) => void;
|
|
34
|
-
addTab: (state: import("immer/dist/internal").WritableDraft<ITabsState>, action: PayloadAction<ITab<any, any>>) => void;
|
|
35
|
-
setActiveIndex(state: import("immer/dist/internal").WritableDraft<ITabsState>, action: PayloadAction<number>): void;
|
|
36
|
-
}, "tabs">;
|
|
37
|
-
export const setContent: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
|
|
38
|
-
path: string;
|
|
39
|
-
content: any;
|
|
40
|
-
type?: "raw" | "parsed" | undefined;
|
|
41
|
-
}, string>, addTab: import("@reduxjs/toolkit").ActionCreatorWithPayload<ITab<any, any, any>, string>, setActiveIndex: import("@reduxjs/toolkit").ActionCreatorWithPayload<number, string>;
|
|
42
|
-
export const selectTab: (path: string) => ((state: {
|
|
43
|
-
tabs: import("index").ITabsState;
|
|
44
|
-
}) => import("index").ITab<string, string, any>) & import("reselect").OutputSelectorFields<(args_0: import("index").ITabsState) => import("index").ITab<string, string, any> & {
|
|
45
|
-
clearCache: () => void;
|
|
46
|
-
}> & {
|
|
47
|
-
clearCache: () => void;
|
|
48
|
-
};
|
|
49
|
-
export const selectActiveIndex: ((state: {
|
|
50
|
-
tabs: import("index").ITabsState;
|
|
51
|
-
}) => number) & import("reselect").OutputSelectorFields<(args_0: import("index").ITabsState) => number & {
|
|
52
|
-
clearCache: () => void;
|
|
53
|
-
}> & {
|
|
54
|
-
clearCache: () => void;
|
|
55
|
-
};
|
|
56
|
-
export const selectTabsArray: ((state: {
|
|
57
|
-
tabs: import("index").ITabsState;
|
|
58
|
-
}) => import("index").ITab<string, string, any>[]) & import("reselect").OutputSelectorFields<(args_0: import("index").ITabsState) => import("index").ITab<string, string, any>[] & {
|
|
59
|
-
clearCache: () => void;
|
|
60
|
-
}> & {
|
|
61
|
-
clearCache: () => void;
|
|
62
|
-
};
|
|
63
|
-
export const selectTabs: ((state: {
|
|
64
|
-
tabs: import("index").ITabsState;
|
|
65
|
-
}) => {
|
|
66
|
-
[key: string]: import("index").ITab<string, string, any>;
|
|
67
|
-
}) & import("reselect").OutputSelectorFields<(args_0: import("index").ITabsState) => {
|
|
68
|
-
[key: string]: import("index").ITab<string, string, any>;
|
|
69
|
-
} & {
|
|
70
|
-
clearCache: () => void;
|
|
71
|
-
}> & {
|
|
72
|
-
clearCache: () => void;
|
|
73
|
-
};
|
|
74
|
-
interface AppState {
|
|
75
|
-
tabs: ITabsState;
|
|
76
|
-
}
|
|
77
|
-
export const store: import("@reduxjs/toolkit").EnhancedStore<import("redux").CombinedState<{
|
|
78
|
-
tabs: import("index").ITabsState;
|
|
79
|
-
}>, import("redux").AnyAction, [import("redux-thunk").ThunkMiddleware<import("redux").CombinedState<{
|
|
80
|
-
tabs: import("index").ITabsState;
|
|
81
|
-
}>, import("redux").AnyAction, null> | import("redux-thunk").ThunkMiddleware<import("redux").CombinedState<{
|
|
82
|
-
tabs: import("index").ITabsState;
|
|
83
|
-
}>, import("redux").AnyAction, undefined>]>;
|
|
84
|
-
export type AppDispatch = typeof store.dispatch;
|
|
85
|
-
|
|
86
|
-
//# sourceMappingURL=index.d.ts.map
|
|
1
|
+
export * from './store';
|
|
2
|
+
export * from './hooks';
|
|
3
|
+
export * from './utils';
|
|
4
|
+
export * from './modules';
|
|
5
|
+
export * from './selectors';
|
|
6
|
+
export * from './provider';
|