@omnia/fx 8.0.27-dev → 8.0.28-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/shared/models/Realtime.d.ts +1 -13
- package/internal-do-not-import-from-here/shared/models/Realtime.js +1 -22
- package/internal-do-not-import-from-here/ux/UxModels.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/admin/store/AdminStore.d.ts +2 -0
- package/internal-do-not-import-from-here/ux/app/management/tabs/templates/tabs/CustomSteps.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/app/management/tabs/templates/tabs/Features.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/app/management/tabs/templates/tabs/GeneralTab.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/app/management/tabs/templates/tabs/PoliciesTab.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/app/management/tabs/templates/tabs/PropertiesTab.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/chrome/ChromeRenderer.d.ts +91 -0
- package/internal-do-not-import-from-here/ux/dialog/Dialog.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/fileuploader/FileUploader.d.ts +27 -1
- package/internal-do-not-import-from-here/ux/fileuploader/loc/localize.d.ts +3 -0
- package/internal-do-not-import-from-here/ux/hub/feed/stores/ActivityFeedStore.d.ts +4 -4
- package/internal-do-not-import-from-here/ux/journey/v2/JourneyBlade.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/layoutcanvas/editor/settings/imagebackgroundsettings/ImageBackgroundSettings.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/layoutcanvas/factories/EditorLayoutItemFactory.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/mediagallery/view/PhotoWallWithSliderDisplayRenderer.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/mediapickerV2/chrome/MediaPicker.d.ts +3 -3
- package/internal-do-not-import-from-here/ux/oxide/btn/Button.d.ts +5 -5
- package/internal-do-not-import-from-here/ux/oxide/dialog/Dialog.d.ts +9 -5
- package/internal-do-not-import-from-here/ux/oxide/panel/Panel.d.ts +15 -4
- package/internal-do-not-import-from-here/ux/oxide/select/Select.d.ts +4 -4
- package/internal-do-not-import-from-here/ux/oxide/textfield/TextField.d.ts +5 -5
- package/internal-do-not-import-from-here/ux/properties/property-configuration/PropertyLocking.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/settings/SettingsPane.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/theming-v2/ThemeContextStore.d.ts +96 -0
- package/internal-do-not-import-from-here/ux/theming-v2/themeprovider/ThemeProvider.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/use/UseIcon.d.ts +3 -0
- package/internal-do-not-import-from-here/ux/velcron/components/contenteditor/VelcronContentEditor.css.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/velcron/components/contenteditor/definitions/content/index.d.ts +4 -0
- package/internal-do-not-import-from-here/ux/velcron/components/contenteditor/definitions/index.d.ts +2 -4
- package/internal-do-not-import-from-here/ux/velcron/components/contenteditor/definitions/social/Image.d.ts +2 -0
- package/internal-do-not-import-from-here/ux/velcron/components/contenteditor/definitions/social/index.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/velcron/components/contenteditor/{definitions → models}/VelcronDefinitionIds.d.ts +3 -0
- package/internal-do-not-import-from-here/ux/velcron/components/contenteditor/models/index.d.ts +2 -0
- package/internal-do-not-import-from-here/ux/velcron/components/contenteditor/store/ContentEditorStore.d.ts +14 -7
- package/internal-do-not-import-from-here/ux/versionedlayout/controller/Chrome.d.ts +200 -17
- package/internal-do-not-import-from-here/ux/versionedlayout/controller/VersionedLayoutController.d.ts +244 -26
- package/internal-do-not-import-from-here/ux/versionedlayout/editor/LayoutEditorTabRendererSizeMonitor.d.ts +156 -23
- package/internal-do-not-import-from-here/ux/versionedlayout/editor/alternatelayout/AlternateLayoutCreationForm.d.ts +162 -22
- package/internal-do-not-import-from-here/ux/versionedlayout/editor/alternatelayout/AlternateLayoutMappingAction.d.ts +207 -45
- package/internal-do-not-import-from-here/ux/versionedlayout/editor/alternatelayout/AlternateLayoutRenameForm.d.ts +184 -20
- package/internal-do-not-import-from-here/ux/versionedlayout/layoutbackgroundimage/LayoutBackgroundImage.d.ts +183 -46
- package/internal-do-not-import-from-here/ux/versionedlayout/renderer/InternalVersionedLayoutRenderer.d.ts +2 -2
- package/internal-do-not-import-from-here/wctypings.d.ts +21 -0
- package/package.json +2 -2
- package/internal-do-not-import-from-here/ux/velcron/components/contenteditor/model/VelcronDefinitionIds.d.ts +0 -10
- /package/internal-do-not-import-from-here/ux/velcron/components/contenteditor/definitions/{Image.d.ts → content/Image.d.ts} +0 -0
- /package/internal-do-not-import-from-here/ux/velcron/components/contenteditor/definitions/{ImageText.d.ts → content/ImageText.d.ts} +0 -0
- /package/internal-do-not-import-from-here/ux/velcron/components/contenteditor/definitions/{Quote.d.ts → content/Quote.d.ts} +0 -0
- /package/internal-do-not-import-from-here/ux/velcron/components/contenteditor/definitions/{Text.d.ts → content/Text.d.ts} +0 -0
- /package/internal-do-not-import-from-here/ux/velcron/components/contenteditor/{model → models}/ContentDefinitionRegistration.d.ts +0 -0
@@ -1,4 +1,4 @@
|
|
1
|
-
import { OBorderCombination, OPaddingCombination } from "@omnia/fx/models";
|
1
|
+
import { OBorderCombination, OPaddingCombination, TypographySizes } from "@omnia/fx/models";
|
2
2
|
export * from "./Panel.css";
|
3
3
|
declare const _default: {
|
4
4
|
new (...args: any[]): {
|
@@ -62,6 +62,7 @@ declare const _default: {
|
|
62
62
|
}>) => void)[];
|
63
63
|
readonly grow?: boolean;
|
64
64
|
readonly variant?: "section" | "navigation" | "default" | "dialog" | "content" | "tab" | "toolbar" | "tab-vertical" | "settings" | "info-section";
|
65
|
+
readonly titleSize?: "xs" | "s" | "m" | "l" | "xl" | TypographySizes;
|
65
66
|
readonly divider?: OBorderCombination;
|
66
67
|
readonly alignY?: "center" | "bottom" | "top";
|
67
68
|
readonly grouped?: boolean;
|
@@ -101,7 +102,7 @@ declare const _default: {
|
|
101
102
|
type: import("vue").PropType<boolean>;
|
102
103
|
};
|
103
104
|
toned: {
|
104
|
-
type: import("vue").PropType<boolean>;
|
105
|
+
type: import("vue").PropType<boolean>; /**Top content in a tab */
|
105
106
|
} & {
|
106
107
|
type: import("vue").PropType<boolean>;
|
107
108
|
};
|
@@ -132,6 +133,9 @@ declare const _default: {
|
|
132
133
|
variant: {
|
133
134
|
type: import("vue").PropType<"section" | "navigation" | "default" | "dialog" | "content" | "tab" | "toolbar" | "tab-vertical" | "settings" | "info-section">;
|
134
135
|
};
|
136
|
+
titleSize: {
|
137
|
+
type: import("vue").PropType<"xs" | "s" | "m" | "l" | "xl" | TypographySizes>;
|
138
|
+
};
|
135
139
|
title: {
|
136
140
|
type: import("vue").PropType<string>;
|
137
141
|
};
|
@@ -187,7 +191,7 @@ declare const _default: {
|
|
187
191
|
type: import("vue").PropType<boolean>;
|
188
192
|
};
|
189
193
|
toned: {
|
190
|
-
type: import("vue").PropType<boolean>;
|
194
|
+
type: import("vue").PropType<boolean>; /**Top content in a tab */
|
191
195
|
} & {
|
192
196
|
type: import("vue").PropType<boolean>;
|
193
197
|
};
|
@@ -218,6 +222,9 @@ declare const _default: {
|
|
218
222
|
variant: {
|
219
223
|
type: import("vue").PropType<"section" | "navigation" | "default" | "dialog" | "content" | "tab" | "toolbar" | "tab-vertical" | "settings" | "info-section">;
|
220
224
|
};
|
225
|
+
titleSize: {
|
226
|
+
type: import("vue").PropType<"xs" | "s" | "m" | "l" | "xl" | TypographySizes>;
|
227
|
+
};
|
221
228
|
title: {
|
222
229
|
type: import("vue").PropType<string>;
|
223
230
|
};
|
@@ -251,7 +258,7 @@ declare const _default: {
|
|
251
258
|
type: import("vue").PropType<boolean>;
|
252
259
|
};
|
253
260
|
toned: {
|
254
|
-
type: import("vue").PropType<boolean>;
|
261
|
+
type: import("vue").PropType<boolean>; /**Top content in a tab */
|
255
262
|
} & {
|
256
263
|
type: import("vue").PropType<boolean>;
|
257
264
|
};
|
@@ -282,6 +289,9 @@ declare const _default: {
|
|
282
289
|
variant: {
|
283
290
|
type: import("vue").PropType<"section" | "navigation" | "default" | "dialog" | "content" | "tab" | "toolbar" | "tab-vertical" | "settings" | "info-section">;
|
284
291
|
};
|
292
|
+
titleSize: {
|
293
|
+
type: import("vue").PropType<"xs" | "s" | "m" | "l" | "xl" | TypographySizes>;
|
294
|
+
};
|
285
295
|
title: {
|
286
296
|
type: import("vue").PropType<string>;
|
287
297
|
};
|
@@ -317,6 +327,7 @@ declare const _default: {
|
|
317
327
|
filled?: boolean;
|
318
328
|
grow?: boolean;
|
319
329
|
variant?: "section" | "navigation" | "default" | "dialog" | "content" | "tab" | "toolbar" | "tab-vertical" | "settings" | "info-section";
|
330
|
+
titleSize?: "xs" | "s" | "m" | "l" | "xl" | TypographySizes;
|
320
331
|
divider?: OBorderCombination;
|
321
332
|
alignY?: "center" | "bottom" | "top";
|
322
333
|
grouped?: boolean;
|
@@ -78,11 +78,11 @@ declare const _default: {
|
|
78
78
|
readonly hint?: string;
|
79
79
|
readonly persistentHint?: boolean;
|
80
80
|
"onClick:button"?: (value: any) => any;
|
81
|
-
readonly returnObject?: boolean;
|
82
81
|
readonly itemTitle?: any;
|
83
82
|
readonly itemValue?: any;
|
84
|
-
readonly
|
83
|
+
readonly returnObject?: boolean;
|
85
84
|
readonly searchable?: boolean;
|
85
|
+
readonly hideSelected?: boolean;
|
86
86
|
};
|
87
87
|
$attrs: {
|
88
88
|
[x: string]: unknown;
|
@@ -443,11 +443,11 @@ declare const _default: {
|
|
443
443
|
rules?: ValidationRule[];
|
444
444
|
hint?: string;
|
445
445
|
persistentHint?: boolean;
|
446
|
-
returnObject?: boolean;
|
447
446
|
itemTitle?: any;
|
448
447
|
itemValue?: any;
|
449
|
-
|
448
|
+
returnObject?: boolean;
|
450
449
|
searchable?: boolean;
|
450
|
+
hideSelected?: boolean;
|
451
451
|
}>, "onUpdate:modelValue" | "onClick:button"> & {
|
452
452
|
"onUpdate:modelValue"?: (value: any) => any;
|
453
453
|
"onClick:button"?: (value: any) => any;
|
@@ -66,7 +66,7 @@ declare const _default: {
|
|
66
66
|
default?: import("../../DefineVueTypings").Slot<any[]>;
|
67
67
|
} & VTextFieldSlots;
|
68
68
|
readonly autofocus?: boolean;
|
69
|
-
readonly variant?: "search" | "link" | "default" | "
|
69
|
+
readonly variant?: "search" | "link" | "default" | "find-slim" | "media";
|
70
70
|
readonly toned?: boolean;
|
71
71
|
readonly placeholder?: string;
|
72
72
|
readonly loading?: boolean;
|
@@ -133,7 +133,7 @@ declare const _default: {
|
|
133
133
|
type: import("vue").PropType<boolean>;
|
134
134
|
};
|
135
135
|
variant: {
|
136
|
-
type: import("vue").PropType<"search" | "link" | "default" | "
|
136
|
+
type: import("vue").PropType<"search" | "link" | "default" | "find-slim" | "media">;
|
137
137
|
};
|
138
138
|
placeholder: {
|
139
139
|
type: import("vue").PropType<string>;
|
@@ -244,7 +244,7 @@ declare const _default: {
|
|
244
244
|
type: import("vue").PropType<boolean>;
|
245
245
|
};
|
246
246
|
variant: {
|
247
|
-
type: import("vue").PropType<"search" | "link" | "default" | "
|
247
|
+
type: import("vue").PropType<"search" | "link" | "default" | "find-slim" | "media">;
|
248
248
|
};
|
249
249
|
placeholder: {
|
250
250
|
type: import("vue").PropType<string>;
|
@@ -325,7 +325,7 @@ declare const _default: {
|
|
325
325
|
type: import("vue").PropType<boolean>;
|
326
326
|
};
|
327
327
|
variant: {
|
328
|
-
type: import("vue").PropType<"search" | "link" | "default" | "
|
328
|
+
type: import("vue").PropType<"search" | "link" | "default" | "find-slim" | "media">;
|
329
329
|
};
|
330
330
|
placeholder: {
|
331
331
|
type: import("vue").PropType<string>;
|
@@ -396,7 +396,7 @@ declare const _default: {
|
|
396
396
|
default?: import("../../DefineVueTypings").Slot<any[]>;
|
397
397
|
} & VTextFieldSlots;
|
398
398
|
autofocus?: boolean;
|
399
|
-
variant?: "search" | "link" | "default" | "
|
399
|
+
variant?: "search" | "link" | "default" | "find-slim" | "media";
|
400
400
|
toned?: boolean;
|
401
401
|
placeholder?: string;
|
402
402
|
loading?: boolean;
|
package/internal-do-not-import-from-here/ux/properties/property-configuration/PropertyLocking.d.ts
CHANGED
@@ -52,8 +52,8 @@ declare const _default: {
|
|
52
52
|
}>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
53
53
|
[key: string]: any;
|
54
54
|
}>) => void)[];
|
55
|
-
readonly renderBody?: () => JSX.Element[];
|
56
55
|
readonly rollback?: Function;
|
56
|
+
readonly renderBody?: () => JSX.Element[];
|
57
57
|
readonly showLockConfiguration?: boolean;
|
58
58
|
readonly lockingStatus?: PropertyLockStatus;
|
59
59
|
readonly allowRollback?: unknown;
|
@@ -137,8 +137,8 @@ declare const _default: {
|
|
137
137
|
lockingWrapper: import("typestyle/lib/types").NestedCSSProperties;
|
138
138
|
};
|
139
139
|
onValueChanged?: Function;
|
140
|
-
renderBody?: () => JSX.Element[];
|
141
140
|
rollback?: Function;
|
141
|
+
renderBody?: () => JSX.Element[];
|
142
142
|
showLockConfiguration?: boolean;
|
143
143
|
lockingStatus?: PropertyLockStatus;
|
144
144
|
allowRollback?: unknown;
|
@@ -55,8 +55,8 @@ declare const _default: {
|
|
55
55
|
readonly "onUpdate:modelValue"?: (value: boolean) => any;
|
56
56
|
readonly "v-model"?: boolean;
|
57
57
|
readonly modelValue?: boolean;
|
58
|
-
readonly "content-class"?: string;
|
59
58
|
readonly onSave?: () => Promise<boolean>;
|
59
|
+
readonly "content-class"?: string;
|
60
60
|
readonly "on-save"?: () => Promise<boolean>;
|
61
61
|
readonly "header-class"?: string;
|
62
62
|
readonly onCancel?: () => void;
|
@@ -319,8 +319,8 @@ declare const _default: {
|
|
319
319
|
"onUpdate:modelValue"?: (value: boolean) => any;
|
320
320
|
"v-model"?: boolean;
|
321
321
|
modelValue?: boolean;
|
322
|
-
"content-class"?: string;
|
323
322
|
onSave?: () => Promise<boolean>;
|
323
|
+
"content-class"?: string;
|
324
324
|
"on-save"?: () => Promise<boolean>;
|
325
325
|
"header-class"?: string;
|
326
326
|
onCancel?: () => void;
|
@@ -64,6 +64,38 @@ export declare const useThemeContextStore: () => {
|
|
64
64
|
currentTheme(): import("@omnia/fx-models").ThemeDefinitionV2;
|
65
65
|
};
|
66
66
|
};
|
67
|
+
variantTheme: {
|
68
|
+
state: {
|
69
|
+
currentTheme: import("@omnia/fx-models").ThemeDefinitionV2;
|
70
|
+
};
|
71
|
+
events: {
|
72
|
+
onMutatedCurrentTheme: import("@omnia/fx").MessageBusExposeOnlySubscription<import("@omnia/fx-models").ThemeDefinitionV2>;
|
73
|
+
} & Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>;
|
74
|
+
actions: {
|
75
|
+
onDispatching<T extends (...args: any) => any>(action: (actions: {
|
76
|
+
setTheme(themeDefinition: import("@omnia/fx-models").ThemeDefinitionV2): void;
|
77
|
+
}) => T, fn: T extends (...args: infer U) => any ? (...args: U) => void : never): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
78
|
+
onDispatched<T_1 extends (...args: any) => any>(action: (actions: {
|
79
|
+
setTheme(themeDefinition: import("@omnia/fx-models").ThemeDefinitionV2): void;
|
80
|
+
}) => T_1, fn: T_1 extends (...args: infer U_1) => infer Y | Promise<infer Y> ? (result: Y, ...args: U_1) => void : never): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
81
|
+
onFailure<T_2 extends (...args: any) => any>(action: (actions: {
|
82
|
+
setTheme(themeDefinition: import("@omnia/fx-models").ThemeDefinitionV2): void;
|
83
|
+
}) => T_2, fn: T_2 extends (...args: infer U_2) => any ? (failureReason: any, ...args: U_2) => void : never): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
84
|
+
} & {
|
85
|
+
setTheme(themeDefinition: import("@omnia/fx-models").ThemeDefinitionV2): void;
|
86
|
+
};
|
87
|
+
get: {
|
88
|
+
colorSchema(colorSchemaType: "info" | "error" | import("@omnia/fx-models").ColorSchemaTypes | "primary" | "secondary" | "accent1" | "accent2" | "accent3" | "neutral" | "background"): import("@omnia/fx-models").ColorSchema;
|
89
|
+
blueprint(blueprintType: "default" | "variant1" | "variant2" | "variant3" | import("@omnia/fx-models").BlueprintTypes): import("@omnia/fx-models").BlueprintDefinition;
|
90
|
+
typography(typographyType: "title" | "text" | "navigation" | import("@omnia/fx-models").TypographyTypes, size: "xs" | "s" | "m" | "l" | "xl" | import("@omnia/fx-models").TypographySizes): import("@omnia/fx-models").TypographyTypeDefinition;
|
91
|
+
color(colorSchemaType: "info" | "error" | import("@omnia/fx-models").ColorSchemaTypes | "primary" | "secondary" | "accent1" | "accent2" | "accent3" | "neutral" | "background", colorType: import("@omnia/fx-models").ColorTypes | "base" | "onBase" | "container" | "onContainer"): string;
|
92
|
+
colorDefinition(colorSchemaType: "info" | "error" | import("@omnia/fx-models").ColorSchemaTypes | "primary" | "secondary" | "accent1" | "accent2" | "accent3" | "neutral" | "background", colorType: import("@omnia/fx-models").ColorTypes | "base" | "onBase" | "container" | "onContainer"): import("@omnia/fx-models").ColorDefinition;
|
93
|
+
complementaryColorType(colorType: import("@omnia/fx-models").ColorTypes | "base" | "onBase" | "container" | "onContainer"): import("@omnia/fx-models").ColorTypes;
|
94
|
+
complementaryColor(colorSchemaType: "info" | "error" | import("@omnia/fx-models").ColorSchemaTypes | "primary" | "secondary" | "accent1" | "accent2" | "accent3" | "neutral" | "background", colorType: import("@omnia/fx-models").ColorTypes | "base" | "onBase" | "container" | "onContainer"): string;
|
95
|
+
complementaryColorDefinition(colorSchemaType: "info" | "error" | import("@omnia/fx-models").ColorSchemaTypes | "primary" | "secondary" | "accent1" | "accent2" | "accent3" | "neutral" | "background", colorType: import("@omnia/fx-models").ColorTypes | "base" | "onBase" | "container" | "onContainer"): import("@omnia/fx-models").ColorDefinition;
|
96
|
+
currentTheme(): import("@omnia/fx-models").ThemeDefinitionV2;
|
97
|
+
};
|
98
|
+
};
|
67
99
|
};
|
68
100
|
events: {
|
69
101
|
onMutatedDefaultTheme: import("@omnia/fx").MessageBusExposeOnlySubscription<{
|
@@ -130,6 +162,38 @@ export declare const useThemeContextStore: () => {
|
|
130
162
|
currentTheme(): import("@omnia/fx-models").ThemeDefinitionV2;
|
131
163
|
};
|
132
164
|
}>;
|
165
|
+
onMutatedVariantTheme: import("@omnia/fx").MessageBusExposeOnlySubscription<{
|
166
|
+
state: {
|
167
|
+
currentTheme: import("@omnia/fx-models").ThemeDefinitionV2;
|
168
|
+
};
|
169
|
+
events: {
|
170
|
+
onMutatedCurrentTheme: import("@omnia/fx").MessageBusExposeOnlySubscription<import("@omnia/fx-models").ThemeDefinitionV2>;
|
171
|
+
} & Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>;
|
172
|
+
actions: {
|
173
|
+
onDispatching<T extends (...args: any) => any>(action: (actions: {
|
174
|
+
setTheme(themeDefinition: import("@omnia/fx-models").ThemeDefinitionV2): void;
|
175
|
+
}) => T, fn: T extends (...args: infer U) => any ? (...args: U) => void : never): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
176
|
+
onDispatched<T_1 extends (...args: any) => any>(action: (actions: {
|
177
|
+
setTheme(themeDefinition: import("@omnia/fx-models").ThemeDefinitionV2): void;
|
178
|
+
}) => T_1, fn: T_1 extends (...args: infer U_1) => infer Y | Promise<infer Y> ? (result: Y, ...args: U_1) => void : never): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
179
|
+
onFailure<T_2 extends (...args: any) => any>(action: (actions: {
|
180
|
+
setTheme(themeDefinition: import("@omnia/fx-models").ThemeDefinitionV2): void;
|
181
|
+
}) => T_2, fn: T_2 extends (...args: infer U_2) => any ? (failureReason: any, ...args: U_2) => void : never): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
182
|
+
} & {
|
183
|
+
setTheme(themeDefinition: import("@omnia/fx-models").ThemeDefinitionV2): void;
|
184
|
+
};
|
185
|
+
get: {
|
186
|
+
colorSchema(colorSchemaType: "info" | "error" | import("@omnia/fx-models").ColorSchemaTypes | "primary" | "secondary" | "accent1" | "accent2" | "accent3" | "neutral" | "background"): import("@omnia/fx-models").ColorSchema;
|
187
|
+
blueprint(blueprintType: "default" | "variant1" | "variant2" | "variant3" | import("@omnia/fx-models").BlueprintTypes): import("@omnia/fx-models").BlueprintDefinition;
|
188
|
+
typography(typographyType: "title" | "text" | "navigation" | import("@omnia/fx-models").TypographyTypes, size: "xs" | "s" | "m" | "l" | "xl" | import("@omnia/fx-models").TypographySizes): import("@omnia/fx-models").TypographyTypeDefinition;
|
189
|
+
color(colorSchemaType: "info" | "error" | import("@omnia/fx-models").ColorSchemaTypes | "primary" | "secondary" | "accent1" | "accent2" | "accent3" | "neutral" | "background", colorType: import("@omnia/fx-models").ColorTypes | "base" | "onBase" | "container" | "onContainer"): string;
|
190
|
+
colorDefinition(colorSchemaType: "info" | "error" | import("@omnia/fx-models").ColorSchemaTypes | "primary" | "secondary" | "accent1" | "accent2" | "accent3" | "neutral" | "background", colorType: import("@omnia/fx-models").ColorTypes | "base" | "onBase" | "container" | "onContainer"): import("@omnia/fx-models").ColorDefinition;
|
191
|
+
complementaryColorType(colorType: import("@omnia/fx-models").ColorTypes | "base" | "onBase" | "container" | "onContainer"): import("@omnia/fx-models").ColorTypes;
|
192
|
+
complementaryColor(colorSchemaType: "info" | "error" | import("@omnia/fx-models").ColorSchemaTypes | "primary" | "secondary" | "accent1" | "accent2" | "accent3" | "neutral" | "background", colorType: import("@omnia/fx-models").ColorTypes | "base" | "onBase" | "container" | "onContainer"): string;
|
193
|
+
complementaryColorDefinition(colorSchemaType: "info" | "error" | import("@omnia/fx-models").ColorSchemaTypes | "primary" | "secondary" | "accent1" | "accent2" | "accent3" | "neutral" | "background", colorType: import("@omnia/fx-models").ColorTypes | "base" | "onBase" | "container" | "onContainer"): import("@omnia/fx-models").ColorDefinition;
|
194
|
+
currentTheme(): import("@omnia/fx-models").ThemeDefinitionV2;
|
195
|
+
};
|
196
|
+
}>;
|
133
197
|
} & Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>;
|
134
198
|
get: {
|
135
199
|
readonly defaultTheme: {
|
@@ -196,5 +260,37 @@ export declare const useThemeContextStore: () => {
|
|
196
260
|
currentTheme(): import("@omnia/fx-models").ThemeDefinitionV2;
|
197
261
|
};
|
198
262
|
};
|
263
|
+
readonly variantTheme: {
|
264
|
+
state: {
|
265
|
+
currentTheme: import("@omnia/fx-models").ThemeDefinitionV2;
|
266
|
+
};
|
267
|
+
events: {
|
268
|
+
onMutatedCurrentTheme: import("@omnia/fx").MessageBusExposeOnlySubscription<import("@omnia/fx-models").ThemeDefinitionV2>;
|
269
|
+
} & Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>;
|
270
|
+
actions: {
|
271
|
+
onDispatching<T extends (...args: any) => any>(action: (actions: {
|
272
|
+
setTheme(themeDefinition: import("@omnia/fx-models").ThemeDefinitionV2): void;
|
273
|
+
}) => T, fn: T extends (...args: infer U) => any ? (...args: U) => void : never): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
274
|
+
onDispatched<T_1 extends (...args: any) => any>(action: (actions: {
|
275
|
+
setTheme(themeDefinition: import("@omnia/fx-models").ThemeDefinitionV2): void;
|
276
|
+
}) => T_1, fn: T_1 extends (...args: infer U_1) => infer Y | Promise<infer Y> ? (result: Y, ...args: U_1) => void : never): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
277
|
+
onFailure<T_2 extends (...args: any) => any>(action: (actions: {
|
278
|
+
setTheme(themeDefinition: import("@omnia/fx-models").ThemeDefinitionV2): void;
|
279
|
+
}) => T_2, fn: T_2 extends (...args: infer U_2) => any ? (failureReason: any, ...args: U_2) => void : never): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
280
|
+
} & {
|
281
|
+
setTheme(themeDefinition: import("@omnia/fx-models").ThemeDefinitionV2): void;
|
282
|
+
};
|
283
|
+
get: {
|
284
|
+
colorSchema(colorSchemaType: "info" | "error" | import("@omnia/fx-models").ColorSchemaTypes | "primary" | "secondary" | "accent1" | "accent2" | "accent3" | "neutral" | "background"): import("@omnia/fx-models").ColorSchema;
|
285
|
+
blueprint(blueprintType: "default" | "variant1" | "variant2" | "variant3" | import("@omnia/fx-models").BlueprintTypes): import("@omnia/fx-models").BlueprintDefinition;
|
286
|
+
typography(typographyType: "title" | "text" | "navigation" | import("@omnia/fx-models").TypographyTypes, size: "xs" | "s" | "m" | "l" | "xl" | import("@omnia/fx-models").TypographySizes): import("@omnia/fx-models").TypographyTypeDefinition;
|
287
|
+
color(colorSchemaType: "info" | "error" | import("@omnia/fx-models").ColorSchemaTypes | "primary" | "secondary" | "accent1" | "accent2" | "accent3" | "neutral" | "background", colorType: import("@omnia/fx-models").ColorTypes | "base" | "onBase" | "container" | "onContainer"): string;
|
288
|
+
colorDefinition(colorSchemaType: "info" | "error" | import("@omnia/fx-models").ColorSchemaTypes | "primary" | "secondary" | "accent1" | "accent2" | "accent3" | "neutral" | "background", colorType: import("@omnia/fx-models").ColorTypes | "base" | "onBase" | "container" | "onContainer"): import("@omnia/fx-models").ColorDefinition;
|
289
|
+
complementaryColorType(colorType: import("@omnia/fx-models").ColorTypes | "base" | "onBase" | "container" | "onContainer"): import("@omnia/fx-models").ColorTypes;
|
290
|
+
complementaryColor(colorSchemaType: "info" | "error" | import("@omnia/fx-models").ColorSchemaTypes | "primary" | "secondary" | "accent1" | "accent2" | "accent3" | "neutral" | "background", colorType: import("@omnia/fx-models").ColorTypes | "base" | "onBase" | "container" | "onContainer"): string;
|
291
|
+
complementaryColorDefinition(colorSchemaType: "info" | "error" | import("@omnia/fx-models").ColorSchemaTypes | "primary" | "secondary" | "accent1" | "accent2" | "accent3" | "neutral" | "background", colorType: import("@omnia/fx-models").ColorTypes | "base" | "onBase" | "container" | "onContainer"): import("@omnia/fx-models").ColorDefinition;
|
292
|
+
currentTheme(): import("@omnia/fx-models").ThemeDefinitionV2;
|
293
|
+
};
|
294
|
+
};
|
199
295
|
};
|
200
296
|
};
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { useThemeStoreV2, useColorSchemaStore, useBlueprintStore } from "@omnia/fx/ux";
|
2
2
|
import { ThemeDefinitionV2 } from "@omnia/fx-models";
|
3
|
-
type themeType = "default" | "admin";
|
3
|
+
type themeType = "default" | "admin" | "variant";
|
4
4
|
declare const _default: {
|
5
5
|
new (...args: any[]): {
|
6
6
|
$: import("vue").ComponentInternalInstance;
|
@@ -19,8 +19,10 @@ export declare function useIcons(): {
|
|
19
19
|
clipboard: FontAwesomeIcon;
|
20
20
|
close: FontAwesomeIcon;
|
21
21
|
collaps: FontAwesomeIcon;
|
22
|
+
comment: FontAwesomeIcon;
|
22
23
|
save: FontAwesomeIcon;
|
23
24
|
share: FontAwesomeIcon;
|
25
|
+
chart: FontAwesomeIcon;
|
24
26
|
crop: FontAwesomeIcon;
|
25
27
|
code: FontAwesomeIcon;
|
26
28
|
color: FontAwesomeIcon;
|
@@ -51,6 +53,7 @@ export declare function useIcons(): {
|
|
51
53
|
navigate: FontAwesomeIcon;
|
52
54
|
preview: FontAwesomeIcon;
|
53
55
|
permissions: FontAwesomeIcon;
|
56
|
+
praise: FontAwesomeIcon;
|
54
57
|
tag: FontAwesomeIcon;
|
55
58
|
tags: FontAwesomeIcon;
|
56
59
|
targeting: FontAwesomeIcon;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { useColorSchemaStore } from "
|
1
|
+
import { useColorSchemaStore } from "@omnia/fx/ux";
|
2
2
|
export declare const VelcronContentEditorStyles: {
|
3
3
|
itemWrapper: (colors: ReturnType<typeof useColorSchemaStore>) => string;
|
4
4
|
toolbarWrapper: string;
|
@@ -0,0 +1 @@
|
|
1
|
+
export * from "./Image";
|
@@ -1,33 +1,37 @@
|
|
1
1
|
import { Guid, VelcronAppDefinition, VelcronColorSchemaState, VelcronDefinition } from "@omnia/fx-models";
|
2
|
-
import { ContentDefinitionRegistration } from "../
|
2
|
+
import { ContentDefinitionRegistration } from "../models";
|
3
3
|
export declare enum MenuTabs {
|
4
4
|
templates = 0,
|
5
5
|
content = 1
|
6
6
|
}
|
7
7
|
export declare const useVelcronContentEditorStore: () => {
|
8
|
+
get: {
|
9
|
+
content: () => VelcronAppDefinition<object>[];
|
10
|
+
};
|
8
11
|
state: {
|
9
12
|
definitions: ContentDefinitionRegistration[];
|
13
|
+
placeHolderText: string;
|
10
14
|
activeDefinition: ContentDefinitionRegistration;
|
11
15
|
selectedDefinition: ContentDefinitionRegistration;
|
12
16
|
lastDefinition: ContentDefinitionRegistration;
|
13
17
|
toggleColorSchemaPreview: VelcronColorSchemaState;
|
14
18
|
toggleDefinitionPreview: VelcronDefinition;
|
15
|
-
activeTab: MenuTabs;
|
16
19
|
onGoingDragging: boolean;
|
17
20
|
};
|
18
21
|
events: {
|
19
22
|
onMutatedDefinitions: import("@omnia/fx").MessageBusExposeOnlySubscription<ContentDefinitionRegistration[]>;
|
23
|
+
onMutatedPlaceHolderText: import("@omnia/fx").MessageBusExposeOnlySubscription<string>;
|
20
24
|
onMutatedActiveDefinition: import("@omnia/fx").MessageBusExposeOnlySubscription<ContentDefinitionRegistration>;
|
21
25
|
onMutatedSelectedDefinition: import("@omnia/fx").MessageBusExposeOnlySubscription<ContentDefinitionRegistration>;
|
22
26
|
onMutatedLastDefinition: import("@omnia/fx").MessageBusExposeOnlySubscription<ContentDefinitionRegistration>;
|
23
27
|
onMutatedToggleColorSchemaPreview: import("@omnia/fx").MessageBusExposeOnlySubscription<VelcronColorSchemaState>;
|
24
28
|
onMutatedToggleDefinitionPreview: import("@omnia/fx").MessageBusExposeOnlySubscription<VelcronDefinition>;
|
25
|
-
onMutatedActiveTab: import("@omnia/fx").MessageBusExposeOnlySubscription<MenuTabs>;
|
26
29
|
onMutatedOnGoingDragging: import("@omnia/fx").MessageBusExposeOnlySubscription<boolean>;
|
27
30
|
} & Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>;
|
28
31
|
actions: {
|
29
32
|
onDispatching<T extends (...args: any) => any>(action: (actions: {
|
30
|
-
|
33
|
+
resetStore(): void;
|
34
|
+
ensureLastTextDefinition(): void;
|
31
35
|
addDefinition(definition: ContentDefinitionRegistration): void;
|
32
36
|
setActiveDefinition(definition: ContentDefinitionRegistration): void;
|
33
37
|
removeActiveDefinition(): void;
|
@@ -41,7 +45,8 @@ export declare const useVelcronContentEditorStore: () => {
|
|
41
45
|
updateDefinition(definition: ContentDefinitionRegistration, velcronDefinition: VelcronAppDefinition): void;
|
42
46
|
}) => T, fn: T extends (...args: infer U) => any ? (...args: U) => void : never): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
43
47
|
onDispatched<T_1 extends (...args: any) => any>(action: (actions: {
|
44
|
-
|
48
|
+
resetStore(): void;
|
49
|
+
ensureLastTextDefinition(): void;
|
45
50
|
addDefinition(definition: ContentDefinitionRegistration): void;
|
46
51
|
setActiveDefinition(definition: ContentDefinitionRegistration): void;
|
47
52
|
removeActiveDefinition(): void;
|
@@ -55,7 +60,8 @@ export declare const useVelcronContentEditorStore: () => {
|
|
55
60
|
updateDefinition(definition: ContentDefinitionRegistration, velcronDefinition: VelcronAppDefinition): void;
|
56
61
|
}) => T_1, fn: T_1 extends (...args: infer U_1) => infer Y | Promise<infer Y> ? (result: Y, ...args: U_1) => void : never): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
57
62
|
onFailure<T_2 extends (...args: any) => any>(action: (actions: {
|
58
|
-
|
63
|
+
resetStore(): void;
|
64
|
+
ensureLastTextDefinition(): void;
|
59
65
|
addDefinition(definition: ContentDefinitionRegistration): void;
|
60
66
|
setActiveDefinition(definition: ContentDefinitionRegistration): void;
|
61
67
|
removeActiveDefinition(): void;
|
@@ -69,7 +75,8 @@ export declare const useVelcronContentEditorStore: () => {
|
|
69
75
|
updateDefinition(definition: ContentDefinitionRegistration, velcronDefinition: VelcronAppDefinition): void;
|
70
76
|
}) => T_2, fn: T_2 extends (...args: infer U_2) => any ? (failureReason: any, ...args: U_2) => void : never): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
71
77
|
} & {
|
72
|
-
|
78
|
+
resetStore(): void;
|
79
|
+
ensureLastTextDefinition(): void;
|
73
80
|
addDefinition(definition: ContentDefinitionRegistration): void;
|
74
81
|
setActiveDefinition(definition: ContentDefinitionRegistration): void;
|
75
82
|
removeActiveDefinition(): void;
|