@ws-ui/store 0.2.1 → 0.2.3
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/dist/index.cjs.js +33 -33
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +3558 -3557
- package/dist/index.es.js.map +1 -1
- package/dist/modules/explorer/utils.d.ts +4 -1
- package/dist/selectors/components.d.ts +2 -2
- package/dist/selectors/states.d.ts +1 -0
- package/package.json +2 -2
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
import { IEditors } from './types';
|
|
1
|
+
import { IEditors, ITreeItem } from './types';
|
|
2
|
+
import { AppState } from '..';
|
|
3
|
+
import { INodeInfo } from '@ws-ui/shared';
|
|
2
4
|
export declare function getNodeRelativePath(nodePath: string): string;
|
|
3
5
|
export declare function getEditors(path: string): IEditors;
|
|
4
6
|
export declare function getExtension(path: string): "json" | "text";
|
|
@@ -13,4 +15,5 @@ type TGetContentReturnValue = {
|
|
|
13
15
|
};
|
|
14
16
|
};
|
|
15
17
|
export declare const getContent: () => TGetContentReturnValue;
|
|
18
|
+
export declare const createClassesFolderContent: (state: AppState, children: INodeInfo[]) => ITreeItem[];
|
|
16
19
|
export {};
|
|
@@ -41,8 +41,8 @@ export declare const selectComponentsByPath: (tabPath: string) => ((state: impor
|
|
|
41
41
|
sharedCSS: import("immer/dist/internal.js").WritableDraft<import("..").ISharedCSSState>;
|
|
42
42
|
model: import("..").IModelState;
|
|
43
43
|
}) => {
|
|
44
|
-
hidden: boolean;
|
|
45
44
|
parent: string | null;
|
|
45
|
+
hidden: boolean;
|
|
46
46
|
props: any;
|
|
47
47
|
displayName: string;
|
|
48
48
|
isCanvas: boolean;
|
|
@@ -53,8 +53,8 @@ export declare const selectComponentsByPath: (tabPath: string) => ((state: impor
|
|
|
53
53
|
type: import("@ws-ui/craftjs-core").ReduceCompType;
|
|
54
54
|
id: string;
|
|
55
55
|
}[]) & import("reselect").OutputSelectorFields<(args_0: import("immer/dist/internal.js").WritableDraft<import("..").IRootState>) => {
|
|
56
|
-
hidden: boolean;
|
|
57
56
|
parent: string | null;
|
|
57
|
+
hidden: boolean;
|
|
58
58
|
props: any;
|
|
59
59
|
displayName: string;
|
|
60
60
|
isCanvas: boolean;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ws-ui/store",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "0.2.
|
|
4
|
+
"version": "0.2.3",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs.js",
|
|
7
7
|
"module": "./dist/index.es.js",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
},
|
|
30
30
|
"peerDependencies": {
|
|
31
31
|
"@ws-ui/icons": "^0.0.20",
|
|
32
|
-
"@ws-ui/shared": "^0.2.
|
|
32
|
+
"@ws-ui/shared": "^0.2.2",
|
|
33
33
|
"lodash": "^4.17.21",
|
|
34
34
|
"minimatch": "^5.1.0",
|
|
35
35
|
"react": "^17.0.2",
|