@ws-ui/store 0.2.26 → 0.2.27
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 +34 -34
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +2652 -2632
- package/dist/index.es.js.map +1 -1
- package/dist/modules/root/reducer.d.ts +1 -0
- package/dist/modules/root/types.d.ts +1 -0
- package/dist/selectors/states.d.ts +1 -1
- package/dist/utils.d.ts +2 -1
- package/package.json +1 -1
|
@@ -179,6 +179,7 @@ export declare const copyToClipBoard: import("@reduxjs/toolkit").ActionCreatorWi
|
|
|
179
179
|
}, string>, editWebformState: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
|
|
180
180
|
path: string;
|
|
181
181
|
state: WebformState;
|
|
182
|
+
oldLabel?: string | undefined;
|
|
182
183
|
}, string>, updateStateConditionDs: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
|
|
183
184
|
path: string;
|
|
184
185
|
old_reference: string;
|
|
@@ -24,6 +24,7 @@ export type TActionRemoveWebformState = PayloadAction<{
|
|
|
24
24
|
export type TActionEditWebformState = PayloadAction<{
|
|
25
25
|
path: string;
|
|
26
26
|
state: WebformState;
|
|
27
|
+
oldLabel?: string;
|
|
27
28
|
}>;
|
|
28
29
|
export type TActionUpdateStateConditionDs = PayloadAction<{
|
|
29
30
|
path: string;
|
|
@@ -4,7 +4,7 @@ export declare const ROOT_WEBFORM_STATE: {
|
|
|
4
4
|
label: string;
|
|
5
5
|
id: string;
|
|
6
6
|
};
|
|
7
|
-
export declare const
|
|
7
|
+
export declare const isBaseState: (state: WebformState) => boolean;
|
|
8
8
|
/**
|
|
9
9
|
* Returns the list of declared states in the current tab.
|
|
10
10
|
* @param tabPath the current tab path.
|
package/dist/utils.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ITab } from '@ws-ui/shared';
|
|
1
|
+
import { ITab, WebformStateCondition } from '@ws-ui/shared';
|
|
2
2
|
import { AppState } from './modules';
|
|
3
3
|
import { IRootState } from './modules/root/types';
|
|
4
4
|
import { ModelNode, ServerModel } from './modules/model/types';
|
|
@@ -14,5 +14,6 @@ export declare function getCachedState(): TCachedState;
|
|
|
14
14
|
export declare function getModalTitle(tab: ITab): string;
|
|
15
15
|
export declare const deserializeModel: (data: ServerModel | undefined) => ModelNode[];
|
|
16
16
|
export declare function isJSON(extension?: string): boolean;
|
|
17
|
+
export declare const refactorConditions: (condition: WebformStateCondition, stateLabel: string | undefined, newValue?: string) => WebformStateCondition;
|
|
17
18
|
export declare function refactorWebform(content: ITab['content'], id: string): any;
|
|
18
19
|
export declare const selectorEqualityFn: (left: unknown, right: unknown) => boolean;
|