@omnia/fx 8.0.137-dev → 8.0.138-dev
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/internal-do-not-import-from-here/ux/UxModels.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/admin/AdminRouter.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/blueprintpickers/backgroundstyle/BackgroundStyleEditor.d.ts +8 -4
- package/internal-do-not-import-from-here/ux/blueprintpickers/buttonstyle/ButtonBlueprintsViewer.d.ts +8 -4
- package/internal-do-not-import-from-here/ux/blueprintpickers/buttonstyle/ButtonStyleEditor.d.ts +8 -4
- package/internal-do-not-import-from-here/ux/blueprintpickers/chrome/ChromeBlueprintsViewer.d.ts +8 -4
- package/internal-do-not-import-from-here/ux/blueprintpickers/chrome/ChromeEditor.d.ts +27 -1
- package/internal-do-not-import-from-here/ux/blueprintpickers/componentblueprints/ComponentBlueprintsViewer.d.ts +8 -4
- package/internal-do-not-import-from-here/ux/blueprintpickers/iconstylepicker/IconBlueprintsViewer.d.ts +84 -0
- package/internal-do-not-import-from-here/ux/blueprintpickers/iconstylepicker/IconStyleEditor.d.ts +99 -0
- package/internal-do-not-import-from-here/ux/blueprintpickers/iconstylepicker/IconStylePicker.css.d.ts +4 -0
- package/internal-do-not-import-from-here/ux/blueprintpickers/iconstylepicker/IconStylePicker.d.ts +8 -4
- package/internal-do-not-import-from-here/ux/blueprintpickers/stylepicker/StylePicker.d.ts +36 -3
- package/internal-do-not-import-from-here/ux/blueprintpickers/tabs/TabBlueprintsViewer.d.ts +8 -4
- package/internal-do-not-import-from-here/ux/blueprintpickers/tabs/TabStyleEditor.d.ts +8 -3
- package/internal-do-not-import-from-here/ux/blueprintpickers/textstylepicker/TextStylePicker.d.ts +8 -4
- package/internal-do-not-import-from-here/ux/borderpicker/BorderPicker.d.ts +8 -4
- package/internal-do-not-import-from-here/ux/colorpickerV2/ColorPicker.d.ts +27 -1
- package/internal-do-not-import-from-here/ux/fillpicker/FillPicker.d.ts +9 -5
- package/internal-do-not-import-from-here/ux/journey/JourneyBlade.d.ts +9 -9
- package/internal-do-not-import-from-here/ux/journey/stores/JourneyRouterStore.d.ts +71 -1
- package/internal-do-not-import-from-here/ux/journey/use/UseBlade.d.ts +18 -17
- package/internal-do-not-import-from-here/ux/layoutcanvas/editor/targetselector/TargetSelector.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/models/PostStyles.d.ts +0 -1
- package/internal-do-not-import-from-here/ux/oxide/btn/Button.d.ts +43 -9
- package/internal-do-not-import-from-here/ux/oxide/datatable/DataTable.css.d.ts +111 -74
- package/internal-do-not-import-from-here/ux/oxide/datatable/DataTable.d.ts +222 -148
- package/internal-do-not-import-from-here/ux/oxide/select/Select.d.ts +222 -148
- package/internal-do-not-import-from-here/ux/oxide/tab/Tabs.d.ts +34 -0
- package/internal-do-not-import-from-here/ux/post/Post.d.ts +0 -2
- package/internal-do-not-import-from-here/ux/social/loc/localize.d.ts +3 -0
- package/internal-do-not-import-from-here/ux/theming/components/ThemeDefinitionEditor.d.ts +0 -468
- package/internal-do-not-import-from-here/ux/theming-v2/actionhandler/ThemeSelectorAction.d.ts +69 -0
- package/internal-do-not-import-from-here/ux/theming-v2/actionhandler/ThemeSelectorClickHandler.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/theming-v2/admin/blades/blueprints/components/blades/IconsBlade.d.ts +16 -0
- package/internal-do-not-import-from-here/ux/theming-v2/admin/blades/blueprints/components/blades/IconsBladeEdit.d.ts +16 -0
- package/internal-do-not-import-from-here/ux/theming-v2/admin/blades/blueprints/components/store/ComponentEditorStore.d.ts +73 -0
- package/internal-do-not-import-from-here/ux/theming-v2/admin/blades/blueprints/components/store/IconsEditorStore.d.ts +52 -0
- package/internal-do-not-import-from-here/ux/theming-v2/designkits/shared/BlueprintsTemplates.d.ts +94 -28
- package/internal-do-not-import-from-here/ux/theming-v2/designkits/shared/ButtonStyleBlueprints.d.ts +17 -5
- package/internal-do-not-import-from-here/ux/theming-v2/designkits/shared/ChromeStyleBlueprints.d.ts +14 -4
- package/internal-do-not-import-from-here/ux/theming-v2/store/BlueprintTemplatesStore.d.ts +3 -1
- package/internal-do-not-import-from-here/ux/theming-v2/store/ChromeBlueprintStore.d.ts +110 -74
- package/internal-do-not-import-from-here/ux/theming-v2/store/ColorSchemaStore.d.ts +110 -74
- package/internal-do-not-import-from-here/ux/theming-v2/store/ComponentBlueprintStore.d.ts +2 -1
- package/internal-do-not-import-from-here/ux/theming-v2/store/SpacingBlueprintStore.d.ts +110 -74
- package/internal-do-not-import-from-here/ux/theming-v2/store/ThemeContextStore.d.ts +12 -3
- package/internal-do-not-import-from-here/ux/theming-v2/store/ThemeStoreV2.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/theming-v2/store/TypographyBlueprintStore.d.ts +110 -74
- package/internal-do-not-import-from-here/ux/theming-v2/themepicker/ThemeViewer.d.ts +8 -4
- package/internal-do-not-import-from-here/ux/theming-v2/themeprovider/ThemeProvider.d.ts +11 -12
- package/internal-do-not-import-from-here/ux/use/UseColorSchemaSetup.d.ts +111 -74
- package/internal-do-not-import-from-here/ux/velcron/components/contenteditor/VelcronContentEditor.d.ts +211 -201
- package/internal-do-not-import-from-here/ux/velcron/components/contenteditor/models/ContentDefinitionRegistration.d.ts +3 -4
- package/internal-do-not-import-from-here/ux/velcron/components/contenteditor/store/ContentEditorStore.d.ts +44 -42
- package/internal-do-not-import-from-here/ux/velcron/core/actions/IActionHandler.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/velcron/core/models/VelcronDefinitions.d.ts +8 -1
- package/internal-do-not-import-from-here/ux/velcron/core/models/VelcronTypes.d.ts +0 -5
- package/internal-do-not-import-from-here/ux/velcron/core/parser/VelcronActions.d.ts +5 -3
- package/internal-do-not-import-from-here/ux/velcron/core/parser/VelcronConstants.d.ts +3 -0
- package/internal-do-not-import-from-here/ux/velcron/core/parser/VelcronData.d.ts +1 -2
- package/internal-do-not-import-from-here/ux/versionedlayout/blade/VersionedLayoutCreationBlade.d.ts +7 -3
- package/internal-do-not-import-from-here/wctypings.d.ts +36 -12
- package/package.json +2 -2
- package/internal-do-not-import-from-here/ux/journey/JourneyRouter.d.ts +0 -8
@@ -1,10 +1,9 @@
|
|
1
|
-
import { DynamicState,
|
1
|
+
import { DynamicState, GuidValue, VelcronDefinitionRegistration } from "@omnia/fx-models";
|
2
2
|
export interface ContentBlockVelcronState extends DynamicState {
|
3
3
|
content: {
|
4
4
|
[id: string]: unknown;
|
5
5
|
};
|
6
6
|
}
|
7
|
-
export interface
|
8
|
-
contentId:
|
9
|
-
key: string;
|
7
|
+
export interface VelcronContentInstance extends VelcronDefinitionRegistration<ContentBlockVelcronState> {
|
8
|
+
contentId: GuidValue;
|
10
9
|
}
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import { GuidValue, VelcronAppDefinition, VelcronColorSchemaState, VelcronDefinition, VelcronState } from "@omnia/fx-models";
|
2
|
-
import {
|
1
|
+
import { GuidValue, VelcronAppDefinition, VelcronColorSchemaState, VelcronDefinition, VelcronState, VelcronDefinitionRegistration } from "@omnia/fx-models";
|
2
|
+
import { VelcronContentInstance } from "../models";
|
3
3
|
export declare enum MenuTabs {
|
4
4
|
templates = 0,
|
5
5
|
content = 1
|
@@ -9,30 +9,32 @@ export declare const useVelcronContentEditorStore: () => {
|
|
9
9
|
content: () => VelcronAppDefinition<object>[];
|
10
10
|
};
|
11
11
|
state: {
|
12
|
-
definitions:
|
12
|
+
definitions: VelcronContentInstance[];
|
13
13
|
placeHolderText: string;
|
14
|
-
activeDefinition:
|
15
|
-
selectedDefinition:
|
16
|
-
lastDefinition:
|
14
|
+
activeDefinition: VelcronContentInstance;
|
15
|
+
selectedDefinition: VelcronContentInstance;
|
16
|
+
lastDefinition: VelcronContentInstance;
|
17
17
|
toggleColorSchemaPreview: VelcronColorSchemaState;
|
18
18
|
toggleDefinitionPreview: VelcronDefinition;
|
19
19
|
previewState: VelcronState;
|
20
20
|
allowToggle: boolean;
|
21
21
|
onGoingDragging: boolean;
|
22
22
|
socialMode: boolean;
|
23
|
+
showLoading: boolean;
|
23
24
|
};
|
24
25
|
events: {
|
25
|
-
onMutatedDefinitions: import("@omnia/fx").MessageBusExposeOnlySubscription<
|
26
|
+
onMutatedDefinitions: import("@omnia/fx").MessageBusExposeOnlySubscription<VelcronContentInstance[]>;
|
26
27
|
onMutatedPlaceHolderText: import("@omnia/fx").MessageBusExposeOnlySubscription<string>;
|
27
|
-
onMutatedActiveDefinition: import("@omnia/fx").MessageBusExposeOnlySubscription<
|
28
|
-
onMutatedSelectedDefinition: import("@omnia/fx").MessageBusExposeOnlySubscription<
|
29
|
-
onMutatedLastDefinition: import("@omnia/fx").MessageBusExposeOnlySubscription<
|
28
|
+
onMutatedActiveDefinition: import("@omnia/fx").MessageBusExposeOnlySubscription<VelcronContentInstance>;
|
29
|
+
onMutatedSelectedDefinition: import("@omnia/fx").MessageBusExposeOnlySubscription<VelcronContentInstance>;
|
30
|
+
onMutatedLastDefinition: import("@omnia/fx").MessageBusExposeOnlySubscription<VelcronContentInstance>;
|
30
31
|
onMutatedToggleColorSchemaPreview: import("@omnia/fx").MessageBusExposeOnlySubscription<VelcronColorSchemaState>;
|
31
32
|
onMutatedToggleDefinitionPreview: import("@omnia/fx").MessageBusExposeOnlySubscription<VelcronDefinition>;
|
32
33
|
onMutatedPreviewState: import("@omnia/fx").MessageBusExposeOnlySubscription<VelcronState>;
|
33
34
|
onMutatedAllowToggle: import("@omnia/fx").MessageBusExposeOnlySubscription<boolean>;
|
34
35
|
onMutatedOnGoingDragging: import("@omnia/fx").MessageBusExposeOnlySubscription<boolean>;
|
35
36
|
onMutatedSocialMode: import("@omnia/fx").MessageBusExposeOnlySubscription<boolean>;
|
37
|
+
onMutatedShowLoading: import("@omnia/fx").MessageBusExposeOnlySubscription<boolean>;
|
36
38
|
} & Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>;
|
37
39
|
actions: {
|
38
40
|
onDispatching: {
|
@@ -43,16 +45,16 @@ export declare const useVelcronContentEditorStore: () => {
|
|
43
45
|
subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
44
46
|
};
|
45
47
|
addDefinition: {
|
46
|
-
subscribe(fn: (definition:
|
48
|
+
subscribe(fn: (definition: VelcronDefinitionRegistration<object>) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
47
49
|
};
|
48
50
|
setActiveDefinition: {
|
49
|
-
subscribe(fn: (definition:
|
51
|
+
subscribe(fn: (definition: VelcronContentInstance) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
50
52
|
};
|
51
53
|
removeActiveDefinition: {
|
52
54
|
subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
53
55
|
};
|
54
56
|
setSelectedDefinition: {
|
55
|
-
subscribe(fn: (definition:
|
57
|
+
subscribe(fn: (definition: VelcronContentInstance) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
56
58
|
};
|
57
59
|
removeSelectedDefinition: {
|
58
60
|
subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
@@ -61,19 +63,19 @@ export declare const useVelcronContentEditorStore: () => {
|
|
61
63
|
subscribe(fn: (onGoingDragging: boolean) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
62
64
|
};
|
63
65
|
updateColorSchema: {
|
64
|
-
subscribe(fn: (definitionRegistration:
|
66
|
+
subscribe(fn: (definitionRegistration: VelcronContentInstance, colorSchemaType: string) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
65
67
|
};
|
66
68
|
toggleColorSchemaPreview: {
|
67
|
-
subscribe(fn: (definitionRegistration:
|
69
|
+
subscribe(fn: (definitionRegistration: VelcronContentInstance, colorSchemaType: string) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
68
70
|
};
|
69
71
|
toggleDefinitionPreview: {
|
70
|
-
subscribe(fn: (definitionRegistration:
|
72
|
+
subscribe(fn: (definitionRegistration: VelcronContentInstance, newDefinitionId: GuidValue) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
71
73
|
};
|
72
74
|
changeDefinition: {
|
73
|
-
subscribe(fn: (definitionRegistration:
|
75
|
+
subscribe(fn: (definitionRegistration: VelcronContentInstance, newDefinitionId: GuidValue, toggle?: boolean) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
74
76
|
};
|
75
77
|
updateDefinition: {
|
76
|
-
subscribe(fn: (definition:
|
78
|
+
subscribe(fn: (definition: VelcronContentInstance, velcronDefinition: VelcronAppDefinition<object>) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
77
79
|
};
|
78
80
|
};
|
79
81
|
onDispatched: {
|
@@ -84,16 +86,16 @@ export declare const useVelcronContentEditorStore: () => {
|
|
84
86
|
subscribe(fn: (result: void) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
85
87
|
};
|
86
88
|
addDefinition: {
|
87
|
-
subscribe(fn: (result: void, definition:
|
89
|
+
subscribe(fn: (result: void, definition: VelcronDefinitionRegistration<object>) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
88
90
|
};
|
89
91
|
setActiveDefinition: {
|
90
|
-
subscribe(fn: (result: void, definition:
|
92
|
+
subscribe(fn: (result: void, definition: VelcronContentInstance) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
91
93
|
};
|
92
94
|
removeActiveDefinition: {
|
93
95
|
subscribe(fn: (result: void) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
94
96
|
};
|
95
97
|
setSelectedDefinition: {
|
96
|
-
subscribe(fn: (result: void, definition:
|
98
|
+
subscribe(fn: (result: void, definition: VelcronContentInstance) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
97
99
|
};
|
98
100
|
removeSelectedDefinition: {
|
99
101
|
subscribe(fn: (result: void) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
@@ -102,19 +104,19 @@ export declare const useVelcronContentEditorStore: () => {
|
|
102
104
|
subscribe(fn: (result: void, onGoingDragging: boolean) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
103
105
|
};
|
104
106
|
updateColorSchema: {
|
105
|
-
subscribe(fn: (result: void, definitionRegistration:
|
107
|
+
subscribe(fn: (result: void, definitionRegistration: VelcronContentInstance, colorSchemaType: string) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
106
108
|
};
|
107
109
|
toggleColorSchemaPreview: {
|
108
|
-
subscribe(fn: (result: void, definitionRegistration:
|
110
|
+
subscribe(fn: (result: void, definitionRegistration: VelcronContentInstance, colorSchemaType: string) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
109
111
|
};
|
110
112
|
toggleDefinitionPreview: {
|
111
|
-
subscribe(fn: (result: void, definitionRegistration:
|
113
|
+
subscribe(fn: (result: void, definitionRegistration: VelcronContentInstance, newDefinitionId: GuidValue) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
112
114
|
};
|
113
115
|
changeDefinition: {
|
114
|
-
subscribe(fn: (result: void, definitionRegistration:
|
116
|
+
subscribe(fn: (result: void, definitionRegistration: VelcronContentInstance, newDefinitionId: GuidValue, toggle?: boolean) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
115
117
|
};
|
116
118
|
updateDefinition: {
|
117
|
-
subscribe(fn: (result: void, definition:
|
119
|
+
subscribe(fn: (result: void, definition: VelcronContentInstance, velcronDefinition: VelcronAppDefinition<object>) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
118
120
|
};
|
119
121
|
};
|
120
122
|
onFailure: {
|
@@ -125,16 +127,16 @@ export declare const useVelcronContentEditorStore: () => {
|
|
125
127
|
subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
126
128
|
};
|
127
129
|
addDefinition: {
|
128
|
-
subscribe(fn: (failureReason: any, definition:
|
130
|
+
subscribe(fn: (failureReason: any, definition: VelcronDefinitionRegistration<object>) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
129
131
|
};
|
130
132
|
setActiveDefinition: {
|
131
|
-
subscribe(fn: (failureReason: any, definition:
|
133
|
+
subscribe(fn: (failureReason: any, definition: VelcronContentInstance) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
132
134
|
};
|
133
135
|
removeActiveDefinition: {
|
134
136
|
subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
135
137
|
};
|
136
138
|
setSelectedDefinition: {
|
137
|
-
subscribe(fn: (failureReason: any, definition:
|
139
|
+
subscribe(fn: (failureReason: any, definition: VelcronContentInstance) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
138
140
|
};
|
139
141
|
removeSelectedDefinition: {
|
140
142
|
subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
@@ -143,34 +145,34 @@ export declare const useVelcronContentEditorStore: () => {
|
|
143
145
|
subscribe(fn: (failureReason: any, onGoingDragging: boolean) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
144
146
|
};
|
145
147
|
updateColorSchema: {
|
146
|
-
subscribe(fn: (failureReason: any, definitionRegistration:
|
148
|
+
subscribe(fn: (failureReason: any, definitionRegistration: VelcronContentInstance, colorSchemaType: string) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
147
149
|
};
|
148
150
|
toggleColorSchemaPreview: {
|
149
|
-
subscribe(fn: (failureReason: any, definitionRegistration:
|
151
|
+
subscribe(fn: (failureReason: any, definitionRegistration: VelcronContentInstance, colorSchemaType: string) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
150
152
|
};
|
151
153
|
toggleDefinitionPreview: {
|
152
|
-
subscribe(fn: (failureReason: any, definitionRegistration:
|
154
|
+
subscribe(fn: (failureReason: any, definitionRegistration: VelcronContentInstance, newDefinitionId: GuidValue) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
153
155
|
};
|
154
156
|
changeDefinition: {
|
155
|
-
subscribe(fn: (failureReason: any, definitionRegistration:
|
157
|
+
subscribe(fn: (failureReason: any, definitionRegistration: VelcronContentInstance, newDefinitionId: GuidValue, toggle?: boolean) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
156
158
|
};
|
157
159
|
updateDefinition: {
|
158
|
-
subscribe(fn: (failureReason: any, definition:
|
160
|
+
subscribe(fn: (failureReason: any, definition: VelcronContentInstance, velcronDefinition: VelcronAppDefinition<object>) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
159
161
|
};
|
160
162
|
};
|
161
163
|
} & {
|
162
164
|
resetStore(): void;
|
163
165
|
ensureLastTextDefinition(): void;
|
164
|
-
addDefinition(definition:
|
165
|
-
setActiveDefinition(definition:
|
166
|
+
addDefinition(definition: VelcronDefinitionRegistration): void;
|
167
|
+
setActiveDefinition(definition: VelcronContentInstance): void;
|
166
168
|
removeActiveDefinition(): void;
|
167
|
-
setSelectedDefinition(definition:
|
169
|
+
setSelectedDefinition(definition: VelcronContentInstance): void;
|
168
170
|
removeSelectedDefinition(): void;
|
169
171
|
setDragDropState(onGoingDragging: boolean): void;
|
170
|
-
updateColorSchema(definitionRegistration:
|
171
|
-
toggleColorSchemaPreview(definitionRegistration:
|
172
|
-
toggleDefinitionPreview(definitionRegistration:
|
173
|
-
changeDefinition(definitionRegistration:
|
174
|
-
updateDefinition(definition:
|
172
|
+
updateColorSchema(definitionRegistration: VelcronContentInstance, colorSchemaType: string): void;
|
173
|
+
toggleColorSchemaPreview(definitionRegistration: VelcronContentInstance, colorSchemaType: string): void;
|
174
|
+
toggleDefinitionPreview(definitionRegistration: VelcronContentInstance, newDefinitionId: GuidValue): void;
|
175
|
+
changeDefinition(definitionRegistration: VelcronContentInstance, newDefinitionId: GuidValue, toggle?: boolean): void;
|
176
|
+
updateDefinition(definition: VelcronContentInstance, velcronDefinition: VelcronAppDefinition): void;
|
175
177
|
};
|
176
178
|
};
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { VelcronActionWithAutoAwait } from "../models";
|
2
2
|
export interface IActionHandler {
|
3
3
|
name: string;
|
4
|
-
action: (action: VelcronActionWithAutoAwait, ...parameters: any) =>
|
4
|
+
action: (action: VelcronActionWithAutoAwait, ...parameters: any) => void;
|
5
5
|
dispose?: (action: VelcronActionWithAutoAwait) => () => void;
|
6
6
|
}
|
@@ -72,7 +72,12 @@ export interface VelcronRenderContextEventHandlers {
|
|
72
72
|
emitting?: <T>(emitter: (i: T) => T) => T;
|
73
73
|
}
|
74
74
|
export interface VelcronRenderContextEventHandlersInstance extends VelcronRenderContextEventHandlers {
|
75
|
-
emitOnSaved: EventHook<
|
75
|
+
emitOnSaved: EventHook<void>;
|
76
|
+
emitOnSavedPromises: Array<Future<unknown>>;
|
77
|
+
emitOnPersistState: EventHook<Future<DynamicState>>;
|
78
|
+
emitOnPersistStatePromises: Array<Future<unknown>>;
|
79
|
+
emitOnRestoreState: EventHook<unknown>;
|
80
|
+
emitOnRestoreStatePromises: Array<Future<unknown>>;
|
76
81
|
}
|
77
82
|
export interface VelcronRenderContextHooks {
|
78
83
|
dialogVisibilityChanged?: ((visible: boolean) => void);
|
@@ -87,6 +92,7 @@ export interface VelcronContainerRenderer {
|
|
87
92
|
}
|
88
93
|
export interface VelcronAction extends VelcronRenderContext {
|
89
94
|
type: VelcronActionTypes;
|
95
|
+
rootPromises?: Array<Future<void>>;
|
90
96
|
}
|
91
97
|
export interface VelcronActionGetOrSetValue extends VelcronAction {
|
92
98
|
value?: unknown;
|
@@ -97,6 +103,7 @@ export interface VelcronActionGetOrSetValue extends VelcronAction {
|
|
97
103
|
export interface VelcronActionWithAutoAwait extends VelcronActionGetOrSetValue {
|
98
104
|
nowait: boolean;
|
99
105
|
action: string;
|
106
|
+
promise: Future<unknown>;
|
100
107
|
}
|
101
108
|
export interface VelcronActionWithCondition extends VelcronActionWithAutoAwait {
|
102
109
|
condition: string;
|
@@ -3,8 +3,3 @@ export type VelcronPrimitiveType = string | number | boolean;
|
|
3
3
|
export type VelcronArrayType<T> = Array<T>;
|
4
4
|
export type VelcronObjectType<T extends Object> = T;
|
5
5
|
export type VelcroncomponentArrayType = Array<VelcronDefinition>;
|
6
|
-
export interface DeferredPromise<T> {
|
7
|
-
promise: Promise<T>;
|
8
|
-
resolve: (val: T) => void;
|
9
|
-
reject: () => void;
|
10
|
-
}
|
@@ -1,5 +1,6 @@
|
|
1
|
-
import { VelcronAction, VelcronActionWithAutoAwait, VelcronRenderContext,
|
1
|
+
import { VelcronAction, VelcronActionWithAutoAwait, VelcronRenderContext, VelcronActionHooks } from "../models";
|
2
2
|
import { IActionHandler } from "../actions";
|
3
|
+
import { Future } from "@omnia/fx-models/internal-do-not-import-from-here/shared";
|
3
4
|
export declare class VelcronActions {
|
4
5
|
static _actionHandlers: {
|
5
6
|
[name: string]: IActionHandler;
|
@@ -10,7 +11,8 @@ export declare class VelcronActions {
|
|
10
11
|
private static registeredBuiltInHandlers;
|
11
12
|
static registerAction(handler: IActionHandler): void;
|
12
13
|
static unregisterAction(name: string): void;
|
13
|
-
static
|
14
|
+
static actionArrayToString(templates: Array<string>): string;
|
15
|
+
static parseAndExecuteActions(templates: Array<string>, renderContext: VelcronRenderContext, customActionContext?: VelcronCustomActionExecutionContext): Future<unknown>;
|
14
16
|
static parseFunction(target: {
|
15
17
|
[name: string]: Array<string>;
|
16
18
|
}, template: string, renderContext: VelcronRenderContext, params: Array<VelcronActionParameterValue>, foundCb: (name: string, params: {}) => void): void;
|
@@ -39,6 +41,6 @@ interface VelcronCustomActionExecutionContext {
|
|
39
41
|
customAction: VelcronAction | null;
|
40
42
|
parentAction: VelcronAction | VelcronRenderContext;
|
41
43
|
variables: object;
|
42
|
-
returnValue:
|
44
|
+
returnValue: Future<any>;
|
43
45
|
}
|
44
46
|
export {};
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { VelcronRenderContext,
|
1
|
+
import { VelcronRenderContext, VelcronBindableProp } from "../models";
|
2
2
|
import { VelcronAppDefinition, VelcronDefinition } from "..";
|
3
3
|
export interface ParseResult<T> {
|
4
4
|
is: boolean;
|
@@ -32,7 +32,6 @@ export declare class VelcronData {
|
|
32
32
|
static ensureKeys(ui: VelcronDefinition | VelcronAppDefinition, generateNewKeys?: boolean): void;
|
33
33
|
static removeKeys(ui: VelcronDefinition | VelcronAppDefinition): void;
|
34
34
|
static generateId(): string;
|
35
|
-
static createDeferredPromise<T>(): DeferredPromise<T>;
|
36
35
|
}
|
37
36
|
interface ExtendArray extends Array<any> {
|
38
37
|
take: (amount: number) => Array<any>;
|
package/internal-do-not-import-from-here/ux/versionedlayout/blade/VersionedLayoutCreationBlade.d.ts
CHANGED
@@ -1,10 +1,12 @@
|
|
1
|
-
import { VersionedLayoutDefinition } from "@omnia/fx-models";
|
1
|
+
import { VersionedLayout, VersionedLayoutDefinition } from "@omnia/fx-models";
|
2
2
|
import { VersionedLayoutBladeSettings } from "@omnia/fx/ux";
|
3
3
|
declare const _default: (props: {
|
4
4
|
settings?: VersionedLayoutBladeSettings<VersionedLayoutDefinition>;
|
5
5
|
} & {
|
6
6
|
isBlade?: boolean;
|
7
|
-
} & Omit<{
|
7
|
+
} & Omit<{
|
8
|
+
onSetLayout?: (layout: VersionedLayout) => any;
|
9
|
+
}, "settings" | "isBlade"> & {
|
8
10
|
"v-slots"?: {
|
9
11
|
default?: import("vue").Slot;
|
10
12
|
};
|
@@ -54,7 +56,9 @@ declare const _default: (props: {
|
|
54
56
|
"v-slots"?: {
|
55
57
|
default?: import("vue").Slot;
|
56
58
|
};
|
57
|
-
} & {
|
59
|
+
} & {
|
60
|
+
onSetLayout?: (layout: VersionedLayout) => any;
|
61
|
+
} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "settings" | "isBlade">;
|
58
62
|
} & import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
59
63
|
[key: string]: any;
|
60
64
|
}>;
|
@@ -168,6 +168,8 @@ import wc4d52057f17b94cfeb504176f24ac5ab5 from './ux/blueprintpickers/chrome/Chr
|
|
168
168
|
import wce0656baa027f49c495e4e00310a78760 from './ux/blueprintpickers/chrome/ChromeBlueprintsViewer';
|
169
169
|
import wc73b0b5416b9348849ecb9a1cd8358e70 from './ux/blueprintpickers/componentblueprints/ComponentBlueprintsViewer';
|
170
170
|
import wc5542a25df57c464897a59a336eee0e56 from './ux/blueprintpickers/iconstylepicker/IconStylePicker';
|
171
|
+
import wcf7cc41f3ae4944e3b43c380140438973 from './ux/blueprintpickers/iconstylepicker/IconStyleEditor';
|
172
|
+
import wccbdf3361c16f479faff72960c18404dc from './ux/blueprintpickers/iconstylepicker/IconBlueprintsViewer';
|
171
173
|
import wc564bced7081c496483e8df717f600ff3 from './ux/blueprintpickers/spacingpicker/SpacingPicker3';
|
172
174
|
import wc0ed52c601528428e935d110b3018a0bc from './ux/blueprintpickers/spacingpicker/SpacingViewer';
|
173
175
|
import wc3f61b080ed9d4a2bad922be8f5ae0794 from './ux/blueprintpickers/spacingpicker/SpacingEditor';
|
@@ -282,7 +284,7 @@ import wc327ec741777b4e1ea8017f1d0a3b8d9d from './ux/richtexteditor/TextCompleti
|
|
282
284
|
import wc762d4009466d494e94cbcc3e90dff11d from './ux/social/likehandler/LikeActionSettings';
|
283
285
|
import wc0e7c178722cb41108b4740dbc788b4e5 from './ux/social/templates/CommentLikeTemplate';
|
284
286
|
import wc0e7c178722cb41108b4740dbc788b4ee from './ux/social/templates/LikeListingTemplate';
|
285
|
-
import
|
287
|
+
import wc0956cc1cb8c94b659d31dfefc4ffc341 from './ux/theming-v2/actionhandler/ThemeSelectorAction';
|
286
288
|
import wc97cad1f254694fb2ab76b333cf8fe84c from './ux/theming-v2/admin/DesignJourney';
|
287
289
|
import wc252ece0016594978b3ddfafdd59adda4 from './ux/theming-v2/themepicker/ThemePicker';
|
288
290
|
import wcb89e133162f54c1fb2cd6d03cc2e4fe2 from './ux/theming-v2/themepicker/ThemeEditor';
|
@@ -938,6 +940,12 @@ declare global {
|
|
938
940
|
"omfx-icon-style-picker": typeof wc5542a25df57c464897a59a336eee0e56 extends {
|
939
941
|
propsDefinition: infer TProp;
|
940
942
|
} ? (TProp & Omit<VueComponentBaseProps, keyof TProp>) : typeof wc5542a25df57c464897a59a336eee0e56 extends (...args: any[]) => any ? ExtractJsxProps<Pick<ReturnType<typeof wc5542a25df57c464897a59a336eee0e56>, "propsDefinition">> : never;
|
943
|
+
"omfx-icon-style-editor": typeof wcf7cc41f3ae4944e3b43c380140438973 extends {
|
944
|
+
propsDefinition: infer TProp;
|
945
|
+
} ? (TProp & Omit<VueComponentBaseProps, keyof TProp>) : typeof wcf7cc41f3ae4944e3b43c380140438973 extends (...args: any[]) => any ? ExtractJsxProps<Pick<ReturnType<typeof wcf7cc41f3ae4944e3b43c380140438973>, "propsDefinition">> : never;
|
946
|
+
"omfx-icon-blueprints-viewer": typeof wccbdf3361c16f479faff72960c18404dc extends {
|
947
|
+
propsDefinition: infer TProp;
|
948
|
+
} ? (TProp & Omit<VueComponentBaseProps, keyof TProp>) : typeof wccbdf3361c16f479faff72960c18404dc extends (...args: any[]) => any ? ExtractJsxProps<Pick<ReturnType<typeof wccbdf3361c16f479faff72960c18404dc>, "propsDefinition">> : never;
|
941
949
|
"omfx-spacing-picker": typeof wc564bced7081c496483e8df717f600ff3 extends {
|
942
950
|
propsDefinition: infer TProp;
|
943
951
|
} ? (TProp & Omit<VueComponentBaseProps, keyof TProp>) : typeof wc564bced7081c496483e8df717f600ff3 extends (...args: any[]) => any ? ExtractJsxProps<Pick<ReturnType<typeof wc564bced7081c496483e8df717f600ff3>, "propsDefinition">> : never;
|
@@ -1280,9 +1288,9 @@ declare global {
|
|
1280
1288
|
"omfx-like-listing-template": typeof wc0e7c178722cb41108b4740dbc788b4ee extends {
|
1281
1289
|
propsDefinition: infer TProp;
|
1282
1290
|
} ? (TProp & Omit<VueComponentBaseProps, keyof TProp>) : typeof wc0e7c178722cb41108b4740dbc788b4ee extends (...args: any[]) => any ? ExtractJsxProps<Pick<ReturnType<typeof wc0e7c178722cb41108b4740dbc788b4ee>, "propsDefinition">> : never;
|
1283
|
-
"
|
1291
|
+
"omnia-theming-selector": typeof wc0956cc1cb8c94b659d31dfefc4ffc341 extends {
|
1284
1292
|
propsDefinition: infer TProp;
|
1285
|
-
} ? (TProp & Omit<VueComponentBaseProps, keyof TProp>) : typeof
|
1293
|
+
} ? (TProp & Omit<VueComponentBaseProps, keyof TProp>) : typeof wc0956cc1cb8c94b659d31dfefc4ffc341 extends (...args: any[]) => any ? ExtractJsxProps<Pick<ReturnType<typeof wc0956cc1cb8c94b659d31dfefc4ffc341>, "propsDefinition">> : never;
|
1286
1294
|
"omnia-workplace-admin-tenant-design-journey": typeof wc97cad1f254694fb2ab76b333cf8fe84c extends {
|
1287
1295
|
propsDefinition: infer TProp;
|
1288
1296
|
} ? (TProp & Omit<VueComponentBaseProps, keyof TProp>) : typeof wc97cad1f254694fb2ab76b333cf8fe84c extends (...args: any[]) => any ? ExtractJsxProps<Pick<ReturnType<typeof wc97cad1f254694fb2ab76b333cf8fe84c>, "propsDefinition">> : never;
|
@@ -1708,6 +1716,15 @@ declare global {
|
|
1708
1716
|
$props: TProp & Omit<VueComponentBaseProps, keyof TProp>;
|
1709
1717
|
};
|
1710
1718
|
} : typeof wcbc947f375ee34d2a98e2d431f2e45b62;
|
1719
|
+
"theming": {
|
1720
|
+
"selector": typeof wc0956cc1cb8c94b659d31dfefc4ffc341 extends {
|
1721
|
+
propsDefinition: infer TProp;
|
1722
|
+
} ? {
|
1723
|
+
new (...args: any[]): {
|
1724
|
+
$props: TProp & Omit<VueComponentBaseProps, keyof TProp>;
|
1725
|
+
};
|
1726
|
+
} : typeof wc0956cc1cb8c94b659d31dfefc4ffc341;
|
1727
|
+
};
|
1711
1728
|
"workplace": {
|
1712
1729
|
"admin": {
|
1713
1730
|
"tenant": {
|
@@ -2419,6 +2436,22 @@ declare global {
|
|
2419
2436
|
$props: TProp & Omit<VueComponentBaseProps, keyof TProp>;
|
2420
2437
|
};
|
2421
2438
|
} : typeof wc5542a25df57c464897a59a336eee0e56;
|
2439
|
+
"editor": typeof wcf7cc41f3ae4944e3b43c380140438973 extends {
|
2440
|
+
propsDefinition: infer TProp;
|
2441
|
+
} ? {
|
2442
|
+
new (...args: any[]): {
|
2443
|
+
$props: TProp & Omit<VueComponentBaseProps, keyof TProp>;
|
2444
|
+
};
|
2445
|
+
} : typeof wcf7cc41f3ae4944e3b43c380140438973;
|
2446
|
+
};
|
2447
|
+
"blueprints": {
|
2448
|
+
"viewer": typeof wccbdf3361c16f479faff72960c18404dc extends {
|
2449
|
+
propsDefinition: infer TProp;
|
2450
|
+
} ? {
|
2451
|
+
new (...args: any[]): {
|
2452
|
+
$props: TProp & Omit<VueComponentBaseProps, keyof TProp>;
|
2453
|
+
};
|
2454
|
+
} : typeof wccbdf3361c16f479faff72960c18404dc;
|
2422
2455
|
};
|
2423
2456
|
};
|
2424
2457
|
"identity": {
|
@@ -4075,15 +4108,6 @@ declare global {
|
|
4075
4108
|
};
|
4076
4109
|
} : typeof wc762d4009466d494e94cbcc3e90dff11d;
|
4077
4110
|
};
|
4078
|
-
"themedefinition": {
|
4079
|
-
"editor": typeof wc4ff736bf8c544324883ed49f2a38f846 extends {
|
4080
|
-
propsDefinition: infer TProp;
|
4081
|
-
} ? {
|
4082
|
-
new (...args: any[]): {
|
4083
|
-
$props: TProp & Omit<VueComponentBaseProps, keyof TProp>;
|
4084
|
-
};
|
4085
|
-
} : typeof wc4ff736bf8c544324883ed49f2a38f846;
|
4086
|
-
};
|
4087
4111
|
"theme": {
|
4088
4112
|
"definition": {
|
4089
4113
|
"picker": typeof wc252ece0016594978b3ddfafdd59adda4 extends {
|
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "@omnia/fx",
|
3
3
|
"license": "MIT",
|
4
|
-
"version": "8.0.
|
4
|
+
"version": "8.0.138-dev",
|
5
5
|
"description": "Provide Omnia Fx typings and tooling for clientside Omnia development.",
|
6
6
|
"scripts": {
|
7
7
|
"test": "echo \"Error: no test specified\" && exit 1",
|
@@ -20,7 +20,7 @@
|
|
20
20
|
],
|
21
21
|
"author": "Precio Fishbone",
|
22
22
|
"dependencies": {
|
23
|
-
"@omnia/fx-models": "8.0.
|
23
|
+
"@omnia/fx-models": "8.0.138-dev",
|
24
24
|
"@microsoft/signalr": "6.0.1",
|
25
25
|
"broadcast-channel": "4.8.0",
|
26
26
|
"dayjs": "1.11.7",
|
@@ -1,8 +0,0 @@
|
|
1
|
-
import { GuidValue } from "@omnia/fx-models";
|
2
|
-
export type JourneyBladeRouterState = {
|
3
|
-
[name: string]: string | boolean | number | GuidValue;
|
4
|
-
};
|
5
|
-
export declare const journeyRouter: () => {
|
6
|
-
getBladeState: (bladeId: GuidValue) => JourneyBladeRouterState;
|
7
|
-
addOrUpdateBladeState: (bladeId: GuidValue, state: JourneyBladeRouterState) => void;
|
8
|
-
};
|