@ws-ui/store 0.1.10 → 0.1.12
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 +0 -0
- package/dist/hooks/index.d.ts +0 -0
- package/dist/hooks/store.d.ts +0 -0
- package/dist/index.cjs.js +48 -76
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +0 -0
- package/dist/index.es.js +5893 -6608
- package/dist/index.es.js.map +1 -1
- package/dist/modules/catalog/index.d.ts +0 -0
- package/dist/modules/catalog/reducer.d.ts +0 -0
- package/dist/modules/catalog/thunks.d.ts +0 -0
- package/dist/modules/catalog/types.d.ts +0 -0
- package/dist/modules/debugger/index.d.ts +0 -0
- package/dist/modules/debugger/reducer.d.ts +0 -0
- package/dist/modules/debugger/thunks.d.ts +0 -0
- package/dist/modules/debugger/types.d.ts +0 -0
- package/dist/modules/debugger/utils.d.ts +0 -0
- package/dist/modules/explorer/index.d.ts +0 -0
- package/dist/modules/explorer/reducer.d.ts +0 -0
- package/dist/modules/explorer/thunks.d.ts +0 -0
- package/dist/modules/explorer/types.d.ts +0 -0
- package/dist/modules/explorer/utils.d.ts +0 -0
- package/dist/modules/index.d.ts +0 -0
- package/dist/modules/modals/index.d.ts +0 -0
- package/dist/modules/modals/reducer.d.ts +3 -2
- package/dist/modules/modals/thunks.d.ts +1 -1
- package/dist/modules/modals/types.d.ts +1 -59
- package/dist/modules/model/helpers.d.ts +0 -0
- package/dist/modules/model/index.d.ts +0 -0
- package/dist/modules/model/reducer.d.ts +0 -0
- package/dist/modules/model/selectors.d.ts +0 -0
- package/dist/modules/model/subjects.d.ts +0 -0
- package/dist/modules/model/thunks.d.ts +0 -0
- package/dist/modules/model/types.d.ts +0 -0
- package/dist/modules/roles/__tests__/adapter.test.d.ts +0 -0
- package/dist/modules/roles/adapter.d.ts +0 -0
- package/dist/modules/roles/index.d.ts +0 -0
- package/dist/modules/roles/reducer.d.ts +0 -0
- package/dist/modules/roles/thunks.d.ts +0 -0
- package/dist/modules/roles/types.d.ts +0 -0
- package/dist/modules/root/index.d.ts +0 -0
- package/dist/modules/root/reducer.d.ts +0 -0
- package/dist/modules/root/thunks.d.ts +0 -0
- package/dist/modules/root/types.d.ts +0 -0
- package/dist/modules/settings/index.d.ts +0 -0
- package/dist/modules/settings/reducer.d.ts +0 -0
- package/dist/modules/settings/thunks.d.ts +0 -0
- package/dist/modules/settings/types.d.ts +0 -0
- package/dist/modules/settings/utils.d.ts +0 -0
- package/dist/modules/shared-css/index.d.ts +0 -0
- package/dist/modules/shared-css/reducer.d.ts +0 -0
- package/dist/modules/shared-css/thunks.d.ts +0 -0
- package/dist/modules/shared-css/types.d.ts +0 -0
- package/dist/modules/shared-datasources/index.d.ts +0 -0
- package/dist/modules/shared-datasources/reducer.d.ts +0 -0
- package/dist/modules/shared-datasources/thunks.d.ts +0 -0
- package/dist/modules/shared-datasources/types.d.ts +0 -0
- package/dist/modules/tabs/index.d.ts +0 -0
- package/dist/modules/tabs/reducer.d.ts +0 -0
- package/dist/modules/tabs/selectors.d.ts +0 -0
- package/dist/modules/tabs/types.d.ts +0 -0
- package/dist/modules/webforms/datasources.adapter.d.ts +0 -0
- package/dist/modules/webforms/index.d.ts +0 -0
- package/dist/modules/webforms/private.d.ts +0 -0
- package/dist/modules/webforms/reducer.d.ts +0 -0
- package/dist/modules/webforms/thunks.d.ts +0 -0
- package/dist/modules/webforms/types.d.ts +0 -0
- package/dist/provider.d.ts +0 -0
- package/dist/selectors/catalog.d.ts +0 -0
- package/dist/selectors/common.d.ts +0 -0
- package/dist/selectors/components.d.ts +0 -0
- package/dist/selectors/datasources.d.ts +0 -0
- package/dist/selectors/debugger.d.ts +0 -0
- package/dist/selectors/explorer.d.ts +0 -0
- package/dist/selectors/index.d.ts +0 -0
- package/dist/selectors/modals.d.ts +1 -1
- package/dist/selectors/roles.d.ts +0 -0
- package/dist/selectors/settings.d.ts +0 -0
- package/dist/selectors/states.d.ts +0 -0
- package/dist/selectors/styles.d.ts +0 -0
- package/dist/selectors/tabs.d.ts +0 -0
- package/dist/selectors/webforms.d.ts +0 -0
- package/dist/store.d.ts +0 -0
- package/dist/utils.d.ts +0 -0
- package/package.json +3 -3
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/dist/modules/index.d.ts
CHANGED
|
File without changes
|
|
File without changes
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { IModal } from '@ws-ui/shared';
|
|
2
|
+
import { ICloseModalAction, ICreateModalAction, IEditModalAction, IRemoveModalAction } from './types';
|
|
2
3
|
export interface IModalsState {
|
|
3
4
|
list: IModal[];
|
|
4
5
|
}
|
|
@@ -10,7 +11,7 @@ declare const stateSlice: import("@reduxjs/toolkit").Slice<IModalsState, {
|
|
|
10
11
|
}, "modals">;
|
|
11
12
|
export declare const createModal: import("@reduxjs/toolkit").ActionCreatorWithPayload<IModal, string>, removeModal: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, string>, closeModal: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
|
|
12
13
|
id: string;
|
|
13
|
-
reason?: import("
|
|
14
|
+
reason?: import("@ws-ui/shared").ModalCloseReason | undefined;
|
|
14
15
|
}, string>, editModal: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
|
|
15
16
|
id: string;
|
|
16
17
|
} & Partial<Pick<IModal, "views" | "title">>, string>;
|
|
@@ -1,63 +1,5 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { PayloadAction } from '@reduxjs/toolkit';
|
|
3
|
-
|
|
4
|
-
FdSave: (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
|
|
5
|
-
FdWarningDanger: (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
|
|
6
|
-
FdInfoCircle: (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
|
|
7
|
-
FdInfoBold: (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
|
|
8
|
-
};
|
|
9
|
-
export type ModalIcon = keyof typeof ModalIcons;
|
|
10
|
-
export declare enum ModalType {
|
|
11
|
-
ALERT = "alert",
|
|
12
|
-
CONFIRM = "confirm"
|
|
13
|
-
}
|
|
14
|
-
export declare enum ModalColor {
|
|
15
|
-
PRIMARY = "primary",
|
|
16
|
-
WARNING = "warning",
|
|
17
|
-
DANGER = "danger"
|
|
18
|
-
}
|
|
19
|
-
export declare enum ModalCloseReason {
|
|
20
|
-
CONFIRMED = "confirmed",
|
|
21
|
-
CANCELED = "canceled"
|
|
22
|
-
}
|
|
23
|
-
export interface IModal {
|
|
24
|
-
/**
|
|
25
|
-
* Id of the modal
|
|
26
|
-
*/
|
|
27
|
-
id: string;
|
|
28
|
-
type: ModalType;
|
|
29
|
-
color?: ModalColor;
|
|
30
|
-
/**
|
|
31
|
-
* title displayed at the header of the modal
|
|
32
|
-
*/
|
|
33
|
-
title?: string;
|
|
34
|
-
/**
|
|
35
|
-
* The message to be displayed at the center of the modal.
|
|
36
|
-
*/
|
|
37
|
-
message: string;
|
|
38
|
-
views?: {
|
|
39
|
-
/**
|
|
40
|
-
* additional warnings to be displayed in a list view under the message.
|
|
41
|
-
*/
|
|
42
|
-
tips?: {
|
|
43
|
-
type: 'warning' | 'error' | 'info';
|
|
44
|
-
message: string;
|
|
45
|
-
}[];
|
|
46
|
-
toggles?: Record<string, {
|
|
47
|
-
key: string;
|
|
48
|
-
value: boolean;
|
|
49
|
-
title: string;
|
|
50
|
-
warnings?: {
|
|
51
|
-
type: 'warning' | 'error' | 'info';
|
|
52
|
-
message: string;
|
|
53
|
-
}[];
|
|
54
|
-
}>;
|
|
55
|
-
};
|
|
56
|
-
icon?: ModalIcon;
|
|
57
|
-
zIndex?: number;
|
|
58
|
-
isOpen: boolean;
|
|
59
|
-
closeReason?: ModalCloseReason;
|
|
60
|
-
}
|
|
2
|
+
import { IModal, ModalCloseReason } from '@ws-ui/shared';
|
|
61
3
|
export type ICreateModalAction = PayloadAction<IModal>;
|
|
62
4
|
export type IEditModalAction = PayloadAction<{
|
|
63
5
|
id: string;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/dist/provider.d.ts
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -34,7 +34,7 @@ export declare const selectModals: ((state: import("redux").EmptyObject & {
|
|
|
34
34
|
modals: import("../modules").IModalsState;
|
|
35
35
|
sharedCSS: import("immer/dist/internal.js").WritableDraft<import("../modules").ISharedCSSState>;
|
|
36
36
|
model: import("../modules").IModelState;
|
|
37
|
-
}) => import("
|
|
37
|
+
}) => import("@ws-ui/shared").IModal[]) & import("reselect").OutputSelectorFields<(args_0: import("../modules").IModalsState) => import("@ws-ui/shared").IModal[], {
|
|
38
38
|
clearCache: () => void;
|
|
39
39
|
}> & {
|
|
40
40
|
clearCache: () => void;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/dist/selectors/tabs.d.ts
CHANGED
|
File without changes
|
|
File without changes
|
package/dist/store.d.ts
CHANGED
|
File without changes
|
package/dist/utils.d.ts
CHANGED
|
File without changes
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ws-ui/store",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "0.1.
|
|
4
|
+
"version": "0.1.12",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs.js",
|
|
7
7
|
"module": "./dist/index.es.js",
|
|
@@ -27,8 +27,8 @@
|
|
|
27
27
|
"react-redux": "^7.2.6"
|
|
28
28
|
},
|
|
29
29
|
"peerDependencies": {
|
|
30
|
-
"@ws-ui/icons": "^0.0.
|
|
31
|
-
"@ws-ui/shared": "^0.1.
|
|
30
|
+
"@ws-ui/icons": "^0.0.11",
|
|
31
|
+
"@ws-ui/shared": "^0.1.10",
|
|
32
32
|
"lodash": "^4.17.21",
|
|
33
33
|
"minimatch": "^5.1.0",
|
|
34
34
|
"react": "^17.0.2",
|