@omnia/fx 8.0.159-dev → 8.0.162-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/manifests/omnia.fx.manifest.json +1 -1
- package/internal-do-not-import-from-here/manifests/omnia.fx.ux.richtexteditor.manifest.json +1 -1
- package/internal-do-not-import-from-here/services/ReindexOmniaSearchUserService.d.ts +11 -0
- package/internal-do-not-import-from-here/services/index.d.ts +1 -0
- package/internal-do-not-import-from-here/stores/oxide/ComponentHostStore.d.ts +12 -12
- package/internal-do-not-import-from-here/ux/DefineVueTypings.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/Exposes.d.ts +56 -55
- package/internal-do-not-import-from-here/ux/app/management/tabs/shared/addbutton/AddButton.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/app/management/tabs/templates/Template.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/appprovisioning/appimageinput/AppImageInput.d.ts +16 -16
- package/internal-do-not-import-from-here/ux/appprovisioning/apppropertiesinput/AppPropertiesInput.d.ts +15 -15
- package/internal-do-not-import-from-here/ux/appprovisioning/components/AppInstanceEnterprisePropertiesVueComponent.d.ts +9 -9
- package/internal-do-not-import-from-here/ux/aurora/admin/blades/blueprints/components/store/ChromeEditorStore.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/aurora/admin/blades/blueprints/components/store/ComponentEditorStore.d.ts +4 -4
- package/internal-do-not-import-from-here/ux/aurora/admin/blades/blueprints/components/store/ContainersEditorStore.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/aurora/admin/blades/blueprints/typography/store/TypographyEditorStore.d.ts +5 -5
- package/internal-do-not-import-from-here/ux/aurora/components/backgroundstyle/BackgroundStyleEditor.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/aurora/components/borderpicker/BorderPicker.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/aurora/components/chrome/ChromeBlueprintsViewer.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/aurora/components/chrome/ChromePicker.d.ts +10 -10
- package/internal-do-not-import-from-here/ux/aurora/components/colorpickerV2/ColorPicker.d.ts +34 -34
- package/internal-do-not-import-from-here/ux/aurora/components/colorschemapicker/ColorSchemaPicker.d.ts +101 -101
- package/internal-do-not-import-from-here/ux/aurora/components/containerpicker/ContainerBlueprintsViewer.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/aurora/components/containerpicker/ContainerPicker.d.ts +10 -10
- package/internal-do-not-import-from-here/ux/aurora/components/fillpicker/FillPicker.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/aurora/components/iconstylepicker/IconStyleEditor.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/aurora/components/iconstylepicker/IconStylePicker.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/aurora/components/stylepicker/StylePicker.d.ts +10 -10
- package/internal-do-not-import-from-here/ux/aurora/components/textstylepicker/TextStylePicker.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/aurora/components/typography/TypographyBlueprintsViewer.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/aurora/store/ColorSchemaStore.d.ts +416 -400
- package/internal-do-not-import-from-here/ux/aurora/store/SpacingBlueprintStore.d.ts +411 -395
- package/internal-do-not-import-from-here/ux/aurora/store/ThemeContextStore.d.ts +60 -60
- package/internal-do-not-import-from-here/ux/aurora/store/TypographyBlueprintStore.d.ts +411 -395
- package/internal-do-not-import-from-here/ux/aurora/themeprovider/ThemeProvider.d.ts +10 -10
- package/internal-do-not-import-from-here/ux/datetimepicker/DateTimePicker.d.ts +42 -0
- package/internal-do-not-import-from-here/ux/datetimezonepicker/DateTimeZonePicker.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/enterpriseproperties/edit/datetimefield/DateTimeFieldEdit.d.ts +2 -0
- package/internal-do-not-import-from-here/ux/enterpriseproperties/edit/datetimefield/IDateTimeFieldEdit.d.ts +2 -0
- package/internal-do-not-import-from-here/ux/iconpicker/IconPicker.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/identities/IdentityRenderer.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/identities/loc/Localize.d.ts +39 -37
- package/internal-do-not-import-from-here/ux/identitypicker/IdentityPicker.d.ts +12 -5
- package/internal-do-not-import-from-here/ux/identitypicker/IdentityPickerDialog.d.ts +9 -9
- package/internal-do-not-import-from-here/ux/identitypicker/IdentityPickerField.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/identitypicker/IdentityPickerInlineField.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/inputlanguagepicker/InputLanguagePicker.d.ts +53 -43
- package/internal-do-not-import-from-here/ux/journey/JourneyBlade.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/journey/JourneyMenu.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/layoutcanvas/editor/blockplaceholder/BlockPlaceholder.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/markdown/MarkdownEditor.d.ts +9 -9
- package/internal-do-not-import-from-here/ux/markdown/MarkdownRenderer.d.ts +9 -9
- package/internal-do-not-import-from-here/ux/mediapickerV2/chrome/MediaPicker.d.ts +6 -6
- package/internal-do-not-import-from-here/ux/mediapickerV2/imagetransformer/Components/editor/ImageEditorCanvas.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/mediapickerimage/MediaPickerImage.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/models/TypographyEditorModel.d.ts +5 -0
- package/internal-do-not-import-from-here/ux/models/index.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/monaco/MonacoEditor.d.ts +6 -6
- package/internal-do-not-import-from-here/ux/multilingualinput/MultilingualInput.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/optionpicker/OptionPicker.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/oxide/alert/Alert.d.ts +9 -9
- package/internal-do-not-import-from-here/ux/oxide/btn/Button.d.ts +10 -10
- package/internal-do-not-import-from-here/ux/oxide/card/Card.d.ts +29 -0
- package/internal-do-not-import-from-here/ux/oxide/column/Column.d.ts +10 -10
- package/internal-do-not-import-from-here/ux/oxide/column/ColumnGrid.d.ts +64 -64
- package/internal-do-not-import-from-here/ux/oxide/datatable/DataTable.css.d.ts +422 -406
- package/internal-do-not-import-from-here/ux/oxide/datatable/DataTable.d.ts +846 -814
- package/internal-do-not-import-from-here/ux/oxide/datatable/DataTableServer.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/oxide/datepicker/DateTimePicker.d.ts +26 -345
- package/internal-do-not-import-from-here/ux/oxide/dialog/Dialog.d.ts +10 -10
- package/internal-do-not-import-from-here/ux/oxide/divider/Divider.d.ts +10 -10
- package/internal-do-not-import-from-here/ux/oxide/draggable/Draggable.d.ts +4 -12
- package/internal-do-not-import-from-here/ux/oxide/expansionpanel/ExpansionPanel.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/oxide/expansionpanel/ExpansionPanels.d.ts +9 -9
- package/internal-do-not-import-from-here/ux/oxide/flex/Row.d.ts +20 -20
- package/internal-do-not-import-from-here/ux/oxide/hostprovider/HostProvider.d.ts +19 -19
- package/internal-do-not-import-from-here/ux/oxide/image/Image.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/oxide/link/Link.d.ts +9 -9
- package/internal-do-not-import-from-here/ux/oxide/list/ListItem.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/oxide/menu/Menu.d.ts +11 -11
- package/internal-do-not-import-from-here/ux/oxide/panel/Panel.d.ts +45 -45
- package/internal-do-not-import-from-here/ux/oxide/radio/RadioGroup.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/oxide/rating/Rating.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/oxide/scrollcontainer/ScrollContainer.css.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/oxide/scrollcontainer/ScrollContainer.d.ts +26 -0
- package/internal-do-not-import-from-here/ux/oxide/select/Select.d.ts +849 -817
- package/internal-do-not-import-from-here/ux/oxide/stepper/StepperStep.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/oxide/tab/Tab.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/oxide/tab/Tabs.d.ts +10 -10
- package/internal-do-not-import-from-here/ux/oxide/text/Text.d.ts +9 -9
- package/internal-do-not-import-from-here/ux/oxide/textarea/TextArea.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/oxide/textfield/TextField.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/oxide/toolbar/Toolbar.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/oxide/tooltip/Tooltip.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/post/Post.d.ts +3 -3
- package/internal-do-not-import-from-here/ux/post/templates/PostCardDisplay.d.ts +4 -4
- package/internal-do-not-import-from-here/ux/post/templates/PostTemplate.d.ts +3 -3
- package/internal-do-not-import-from-here/ux/profilecard/ProfileCard.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/richtexteditor/RichTextEditor.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/richtexteditor/RichTextEditorStore.d.ts +38 -0
- package/internal-do-not-import-from-here/ux/richtexteditor/extensions/AnimatedGif/AnimatedGif.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/richtexteditor/extensions/Heading/Heading.d.ts +5 -23
- package/internal-do-not-import-from-here/ux/richtexteditor/extensions/Heading/HeadingNode.d.ts +2 -3
- package/internal-do-not-import-from-here/ux/richtexteditor/extensions/MediaPicker/MediaPickerEditorExtension.d.ts +2 -50
- package/internal-do-not-import-from-here/ux/richtexteditor/extensions/MediaPicker/MediaPickerToolbar.d.ts +2 -49
- package/internal-do-not-import-from-here/ux/richtexteditor/extensions/MediaPicker/nodes/MediaImageNode.d.ts +15 -2
- package/internal-do-not-import-from-here/ux/richtexteditor/extensions/MediaPicker/nodes/MediaPickerNode.d.ts +22 -2
- package/internal-do-not-import-from-here/ux/richtexteditor/extensions/MediaPicker/nodes/MediaPickerNodeView.d.ts +0 -22
- package/internal-do-not-import-from-here/ux/richtexteditor/index.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/richtexteditorrenderer/RichTextEditorRendererSignIn.d.ts +39 -0
- package/internal-do-not-import-from-here/ux/social/Comment.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/social/PeopleTagging.d.ts +7 -7
- package/internal-do-not-import-from-here/ux/texttranslator/TextTranslator.d.ts +0 -8
- package/internal-do-not-import-from-here/ux/use/UseColorSchemaSetup.d.ts +422 -406
- package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew/VelcronContentEditor.d.ts +90 -30
- package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew/components/ActionMenu.css.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew/editorHooks/ContentEditorHooks.css.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew/models/ContentDefinitionRegistration.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew/models/EditorRenderingHooks.d.ts +5 -0
- package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew/stores/ContentEditorStore.d.ts +20 -10
- package/internal-do-not-import-from-here/ux/velcron/components/definitionpicker/VelcronDefinitionPicker.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/velcron/core/models/VelcronDefinitions.d.ts +10 -2
- 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/stores/VelcronColorSchema.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/velcron/core/stores/VelcronTheming.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/velcron/editor/models/ComponentDescriptors.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/velcron/renderer/VelcronRenderer.d.ts +26 -5
- package/internal-do-not-import-from-here/ux/velcron/renderer/components/ComponentCreator.d.ts +3 -3
- package/internal-do-not-import-from-here/ux/velcron/renderer/components/Editor.d.ts +32 -0
- package/internal-do-not-import-from-here/ux/velcron/renderer/editors/ColorSchemaEditor.d.ts +95 -95
- package/internal-do-not-import-from-here/ux/velcron/renderer/editors/SliderEditor.d.ts +8 -0
- package/internal-do-not-import-from-here/wctypings.d.ts +14 -1
- package/package.json +2 -2
@@ -1,9 +1,6 @@
|
|
1
1
|
import { GuidValue, VelcronAppDefinition, VelcronDefinition, VelcronDefinitionRegistration } from "@omnia/fx-models";
|
2
2
|
import { VelcronContentInstance } from "../models";
|
3
|
-
|
4
|
-
templates = 0,
|
5
|
-
content = 1
|
6
|
-
}
|
3
|
+
type insertMode = "add" | "change";
|
7
4
|
export declare const useVelcronContentEditorStore: () => {
|
8
5
|
get: {
|
9
6
|
content: () => VelcronAppDefinition<object>[];
|
@@ -14,7 +11,7 @@ export declare const useVelcronContentEditorStore: () => {
|
|
14
11
|
selectedDefinition: VelcronContentInstance;
|
15
12
|
toggleColorSchemaPreview: string;
|
16
13
|
toggleDefinitionPreview: VelcronDefinition;
|
17
|
-
|
14
|
+
allowColorSchemaPreview: boolean;
|
18
15
|
onGoingDragging: boolean;
|
19
16
|
socialMode: boolean;
|
20
17
|
showLoading: boolean;
|
@@ -22,6 +19,7 @@ export declare const useVelcronContentEditorStore: () => {
|
|
22
19
|
insertOptions: {
|
23
20
|
preInsert: boolean;
|
24
21
|
inserRelativeToActive: boolean;
|
22
|
+
insertMode: insertMode;
|
25
23
|
};
|
26
24
|
};
|
27
25
|
events: {
|
@@ -30,7 +28,7 @@ export declare const useVelcronContentEditorStore: () => {
|
|
30
28
|
onMutatedSelectedDefinition: import("@omnia/fx").MessageBusExposeOnlySubscription<VelcronContentInstance>;
|
31
29
|
onMutatedToggleColorSchemaPreview: import("@omnia/fx").MessageBusExposeOnlySubscription<string>;
|
32
30
|
onMutatedToggleDefinitionPreview: import("@omnia/fx").MessageBusExposeOnlySubscription<VelcronDefinition>;
|
33
|
-
|
31
|
+
onMutatedAllowColorSchemaPreview: import("@omnia/fx").MessageBusExposeOnlySubscription<boolean>;
|
34
32
|
onMutatedOnGoingDragging: import("@omnia/fx").MessageBusExposeOnlySubscription<boolean>;
|
35
33
|
onMutatedSocialMode: import("@omnia/fx").MessageBusExposeOnlySubscription<boolean>;
|
36
34
|
onMutatedShowLoading: import("@omnia/fx").MessageBusExposeOnlySubscription<boolean>;
|
@@ -38,12 +36,13 @@ export declare const useVelcronContentEditorStore: () => {
|
|
38
36
|
onMutatedInsertOptions: import("@omnia/fx").MessageBusExposeOnlySubscription<{
|
39
37
|
preInsert: boolean;
|
40
38
|
inserRelativeToActive: boolean;
|
39
|
+
insertMode: insertMode;
|
41
40
|
}>;
|
42
41
|
} & Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>;
|
43
42
|
actions: {
|
44
43
|
onDispatching: {
|
45
44
|
showDefinitionSelector: {
|
46
|
-
subscribe(fn: (preInsert: boolean, insertRelativeToActive?: boolean) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
45
|
+
subscribe(fn: (preInsert: boolean, insertRelativeToActive?: boolean, changeDefinition?: boolean) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
47
46
|
};
|
48
47
|
addDefinition: {
|
49
48
|
subscribe(fn: (definition: VelcronDefinitionRegistration<object>, setAsActive?: boolean) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
@@ -51,6 +50,9 @@ export declare const useVelcronContentEditorStore: () => {
|
|
51
50
|
setActiveDefinition: {
|
52
51
|
subscribe(fn: (definition: VelcronContentInstance) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
53
52
|
};
|
53
|
+
deleteDefinition: {
|
54
|
+
subscribe(fn: (definition: VelcronContentInstance) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
55
|
+
};
|
54
56
|
removeActiveDefinition: {
|
55
57
|
subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
56
58
|
};
|
@@ -81,7 +83,7 @@ export declare const useVelcronContentEditorStore: () => {
|
|
81
83
|
};
|
82
84
|
onDispatched: {
|
83
85
|
showDefinitionSelector: {
|
84
|
-
subscribe(fn: (result: void, preInsert: boolean, insertRelativeToActive?: boolean) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
86
|
+
subscribe(fn: (result: void, preInsert: boolean, insertRelativeToActive?: boolean, changeDefinition?: boolean) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
85
87
|
};
|
86
88
|
addDefinition: {
|
87
89
|
subscribe(fn: (result: void, definition: VelcronDefinitionRegistration<object>, setAsActive?: boolean) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
@@ -89,6 +91,9 @@ export declare const useVelcronContentEditorStore: () => {
|
|
89
91
|
setActiveDefinition: {
|
90
92
|
subscribe(fn: (result: void, definition: VelcronContentInstance) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
91
93
|
};
|
94
|
+
deleteDefinition: {
|
95
|
+
subscribe(fn: (result: void, definition: VelcronContentInstance) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
96
|
+
};
|
92
97
|
removeActiveDefinition: {
|
93
98
|
subscribe(fn: (result: void) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
94
99
|
};
|
@@ -119,7 +124,7 @@ export declare const useVelcronContentEditorStore: () => {
|
|
119
124
|
};
|
120
125
|
onFailure: {
|
121
126
|
showDefinitionSelector: {
|
122
|
-
subscribe(fn: (failureReason: any, preInsert: boolean, insertRelativeToActive?: boolean) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
127
|
+
subscribe(fn: (failureReason: any, preInsert: boolean, insertRelativeToActive?: boolean, changeDefinition?: boolean) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
123
128
|
};
|
124
129
|
addDefinition: {
|
125
130
|
subscribe(fn: (failureReason: any, definition: VelcronDefinitionRegistration<object>, setAsActive?: boolean) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
@@ -127,6 +132,9 @@ export declare const useVelcronContentEditorStore: () => {
|
|
127
132
|
setActiveDefinition: {
|
128
133
|
subscribe(fn: (failureReason: any, definition: VelcronContentInstance) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
129
134
|
};
|
135
|
+
deleteDefinition: {
|
136
|
+
subscribe(fn: (failureReason: any, definition: VelcronContentInstance) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
137
|
+
};
|
130
138
|
removeActiveDefinition: {
|
131
139
|
subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
132
140
|
};
|
@@ -156,9 +164,10 @@ export declare const useVelcronContentEditorStore: () => {
|
|
156
164
|
};
|
157
165
|
};
|
158
166
|
} & {
|
159
|
-
showDefinitionSelector(preInsert: boolean, insertRelativeToActive?: boolean): void;
|
167
|
+
showDefinitionSelector(preInsert: boolean, insertRelativeToActive?: boolean, changeDefinition?: boolean): void;
|
160
168
|
addDefinition(definition: VelcronDefinitionRegistration, setAsActive?: boolean): void;
|
161
169
|
setActiveDefinition(definition: VelcronContentInstance): void;
|
170
|
+
deleteDefinition(definition: VelcronContentInstance): void;
|
162
171
|
removeActiveDefinition(): void;
|
163
172
|
setSelectedDefinition(definition: VelcronContentInstance): void;
|
164
173
|
removeSelectedDefinition(): void;
|
@@ -170,3 +179,4 @@ export declare const useVelcronContentEditorStore: () => {
|
|
170
179
|
updateDefinition(definition: VelcronContentInstance, velcronDefinition: VelcronAppDefinition): void;
|
171
180
|
};
|
172
181
|
};
|
182
|
+
export {};
|
@@ -539,7 +539,6 @@ declare const _default: {
|
|
539
539
|
colorSchemaType?: any;
|
540
540
|
colors?: any;
|
541
541
|
} & {
|
542
|
-
title?: string;
|
543
542
|
name?: {
|
544
543
|
[x: `onUpdate:${string}`]: {
|
545
544
|
type: import("vue").PropType<(value: boolean) => any>;
|
@@ -602,6 +601,7 @@ declare const _default: {
|
|
602
601
|
}>;
|
603
602
|
};
|
604
603
|
icon?: IIcon;
|
604
|
+
title?: string;
|
605
605
|
filters?: string[];
|
606
606
|
"v-model"?: boolean;
|
607
607
|
"onUpdate:modelValue"?: (value: boolean) => any;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { VelcronOnUpdatedEvent, VelcronOnClosedEvent, VelcronOnCloseRequestedEvent, VelcronOnPressEvent, VelcronSpacing, VelcronStyling, VelcronCustomComponentDefinition, VelcronAppDefinition, VelcronRendererResolverReference, EventHook, Future, TextBlueprint, VelcronBindableProp, ContainerBlueprint, BackgroundDefinition } from "@omnia/fx-models/internal-do-not-import-from-here/shared/models";
|
1
|
+
import { VelcronOnUpdatedEvent, VelcronOnClosedEvent, VelcronOnCloseRequestedEvent, VelcronOnPressEvent, VelcronSpacing, VelcronStyling, VelcronCustomComponentDefinition, VelcronAppDefinition, VelcronRendererResolverReference, EventHook, Future, TextBlueprint, VelcronBindableProp, ContainerBlueprint, BackgroundDefinition, VelcronStateEditor } from "@omnia/fx-models/internal-do-not-import-from-here/shared/models";
|
2
2
|
import { VelcroncomponentArrayType, VelcronPrimitiveType } from "./VelcronTypes";
|
3
3
|
import { AssignOperators, VelcronHorizontalAlignments, VelcronIconTypes, VelcronActionTypes, VelcronVerticalAlignments } from "./Enums";
|
4
4
|
import { DynamicState, VelcronDefinition, useVelcronThemingStore } from "..";
|
@@ -35,6 +35,7 @@ export interface BuiltInComponentRenderers {
|
|
35
35
|
"rive": unknown;
|
36
36
|
"lottie": unknown;
|
37
37
|
"slide-panel": unknown;
|
38
|
+
"editor": unknown;
|
38
39
|
}
|
39
40
|
export interface ColorSchemaReference {
|
40
41
|
name: string;
|
@@ -63,7 +64,8 @@ export interface VelcronRenderContext {
|
|
63
64
|
parent?: VelcronRenderContext;
|
64
65
|
hooks?: VelcronRenderContextHooks;
|
65
66
|
eventHandlers?: VelcronRenderContextEventHandlersInstance;
|
66
|
-
|
67
|
+
$editmode?: boolean;
|
68
|
+
$active?: boolean;
|
67
69
|
disposers: Array<() => void>;
|
68
70
|
subApp?: boolean;
|
69
71
|
}
|
@@ -293,6 +295,12 @@ export interface VelcronSlidePanelDefinition extends VelcronDefinition {
|
|
293
295
|
style?: VelcronCardStyling;
|
294
296
|
events?: VelcronOnPressEvent;
|
295
297
|
}
|
298
|
+
export interface VelcronEditorDefinition extends VelcronDefinition {
|
299
|
+
type: "editor";
|
300
|
+
editor: VelcronStateEditor;
|
301
|
+
value: VelcronBindableProp<string>;
|
302
|
+
events?: VelcronOnUpdatedEvent;
|
303
|
+
}
|
296
304
|
export interface VelcronDimensions {
|
297
305
|
top: number | string;
|
298
306
|
right: number | string;
|
@@ -24,6 +24,7 @@ export declare const VelcronConstants: {
|
|
24
24
|
rive: string;
|
25
25
|
lottie: string;
|
26
26
|
"slide-panel": string;
|
27
|
+
editor: string;
|
27
28
|
};
|
28
29
|
events: {
|
29
30
|
idTokenStart: string;
|
@@ -42,6 +43,8 @@ export declare const VelcronConstants: {
|
|
42
43
|
};
|
43
44
|
context: {
|
44
45
|
thisToken: string;
|
46
|
+
editModeToken: string;
|
47
|
+
activeToken: string;
|
45
48
|
};
|
46
49
|
async: {
|
47
50
|
noWaitToken: string;
|
@@ -8,7 +8,7 @@ export declare const useVelcronColorSchemaStore: (newStateWithName?: string) =>
|
|
8
8
|
onContainer: ColorDefinition;
|
9
9
|
isContainer: boolean;
|
10
10
|
name: string;
|
11
|
-
colorSchemaType: "
|
11
|
+
colorSchemaType: "primary" | "secondary" | ColorSchemaTypes | "accent1" | "accent2" | "accent3" | "neutral" | "warning" | "notification" | "background" | "error" | "info" | "dynamic";
|
12
12
|
id: import("@omnia/fx-models").GuidValue;
|
13
13
|
};
|
14
14
|
get: {
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { ColorSchemaType, ColorSchemaTypes, ColorType, ColorTypes, ContainerBlueprint, ContainerVariant, ThemeDefinitionV2, TypographySize, TypographySizes, TypographyType, TypographyTypes } from "..";
|
1
|
+
import { ColorSchemaType, ColorSchemaTypes, ColorType, ColorTypes, ContainerBlueprint, ContainerVariant, ThemeDefinitionV2, TypographySize, TypographySizes, TypographyType, TypographyTypes, VelcronDefinition } from "..";
|
2
2
|
export declare const useVelcronThemingStore: (newStateWithName?: string) => {
|
3
3
|
state: {
|
4
4
|
currentTheme: ThemeDefinitionV2;
|
@@ -7,7 +7,7 @@ export declare const useVelcronThemingStore: (newStateWithName?: string) => {
|
|
7
7
|
componentBlueprints: () => void;
|
8
8
|
containerBlueprint: (type: ContainerVariant | ContainerBlueprint | string) => any;
|
9
9
|
colorSchema: (colorSchemaType: ColorSchemaTypes | ColorSchemaType) => import("..").ColorSchema;
|
10
|
-
spacing: () => import("..").SpacingDefinition;
|
10
|
+
spacing: (definition?: VelcronDefinition) => import("..").SpacingDefinition;
|
11
11
|
typography: (typographyType: TypographyTypes | TypographyType, size: TypographySizes | TypographySize) => any;
|
12
12
|
color: (colorSchemaType: ColorSchemaTypes | ColorSchemaType, colorType: ColorTypes | ColorType) => string;
|
13
13
|
colorDefinition: (colorSchemaType: ColorSchemaTypes | ColorSchemaType, colorType: ColorTypes | ColorType) => import("..").ColorDefinition;
|
@@ -15,3 +15,4 @@ export declare const VelcronChipComponentDescriptor: VelcronComponentDescriptor;
|
|
15
15
|
export declare const VelcronMarkdownComponentDescriptor: VelcronComponentDescriptor;
|
16
16
|
export declare const VelcronReferenceComponentDescriptor: VelcronComponentDescriptor;
|
17
17
|
export declare const VelcronSliderComponentDescriptor: VelcronComponentDescriptor;
|
18
|
+
export declare const VelcronEditorComponentDescriptor: VelcronComponentDescriptor;
|
@@ -5,6 +5,11 @@ declare const _default: {
|
|
5
5
|
colorSchemaType: any;
|
6
6
|
container?: any;
|
7
7
|
colors?: any;
|
8
|
+
active: {
|
9
|
+
type: import("vue").PropType<boolean>;
|
10
|
+
} & {
|
11
|
+
type: import("vue").PropType<boolean>;
|
12
|
+
};
|
8
13
|
"edit-mode": {
|
9
14
|
type: import("vue").PropType<boolean>;
|
10
15
|
};
|
@@ -12,7 +17,7 @@ declare const _default: {
|
|
12
17
|
type: import("vue").PropType<boolean>;
|
13
18
|
};
|
14
19
|
"color-schema-type": {
|
15
|
-
type: import("vue").PropType<"
|
20
|
+
type: import("vue").PropType<"primary" | "secondary" | ColorSchemaTypes | "accent1" | "accent2" | "accent3" | "neutral" | "warning" | "notification" | "background" | "error" | "info" | "dynamic">;
|
16
21
|
};
|
17
22
|
"theme-definition": {
|
18
23
|
type: import("vue").PropType<ThemeDefinitionV2>;
|
@@ -45,6 +50,11 @@ declare const _default: {
|
|
45
50
|
colorSchemaType: any;
|
46
51
|
container?: any;
|
47
52
|
colors?: any;
|
53
|
+
active: {
|
54
|
+
type: import("vue").PropType<boolean>;
|
55
|
+
} & {
|
56
|
+
type: import("vue").PropType<boolean>;
|
57
|
+
};
|
48
58
|
"edit-mode": {
|
49
59
|
type: import("vue").PropType<boolean>;
|
50
60
|
};
|
@@ -52,7 +62,7 @@ declare const _default: {
|
|
52
62
|
type: import("vue").PropType<boolean>;
|
53
63
|
};
|
54
64
|
"color-schema-type": {
|
55
|
-
type: import("vue").PropType<"
|
65
|
+
type: import("vue").PropType<"primary" | "secondary" | ColorSchemaTypes | "accent1" | "accent2" | "accent3" | "neutral" | "warning" | "notification" | "background" | "error" | "info" | "dynamic">;
|
56
66
|
};
|
57
67
|
"theme-definition": {
|
58
68
|
type: import("vue").PropType<ThemeDefinitionV2>;
|
@@ -93,6 +103,11 @@ declare const _default: {
|
|
93
103
|
colorSchemaType: any;
|
94
104
|
container?: any;
|
95
105
|
colors?: any;
|
106
|
+
active: {
|
107
|
+
type: import("vue").PropType<boolean>;
|
108
|
+
} & {
|
109
|
+
type: import("vue").PropType<boolean>;
|
110
|
+
};
|
96
111
|
"edit-mode": {
|
97
112
|
type: import("vue").PropType<boolean>;
|
98
113
|
};
|
@@ -100,7 +115,7 @@ declare const _default: {
|
|
100
115
|
type: import("vue").PropType<boolean>;
|
101
116
|
};
|
102
117
|
"color-schema-type": {
|
103
|
-
type: import("vue").PropType<"
|
118
|
+
type: import("vue").PropType<"primary" | "secondary" | ColorSchemaTypes | "accent1" | "accent2" | "accent3" | "neutral" | "warning" | "notification" | "background" | "error" | "info" | "dynamic">;
|
104
119
|
};
|
105
120
|
"theme-definition": {
|
106
121
|
type: import("vue").PropType<ThemeDefinitionV2>;
|
@@ -138,6 +153,11 @@ declare const _default: {
|
|
138
153
|
colorSchemaType: any;
|
139
154
|
container?: any;
|
140
155
|
colors?: any;
|
156
|
+
active: {
|
157
|
+
type: import("vue").PropType<boolean>;
|
158
|
+
} & {
|
159
|
+
type: import("vue").PropType<boolean>;
|
160
|
+
};
|
141
161
|
"edit-mode": {
|
142
162
|
type: import("vue").PropType<boolean>;
|
143
163
|
};
|
@@ -145,7 +165,7 @@ declare const _default: {
|
|
145
165
|
type: import("vue").PropType<boolean>;
|
146
166
|
};
|
147
167
|
"color-schema-type": {
|
148
|
-
type: import("vue").PropType<"
|
168
|
+
type: import("vue").PropType<"primary" | "secondary" | ColorSchemaTypes | "accent1" | "accent2" | "accent3" | "neutral" | "warning" | "notification" | "background" | "error" | "info" | "dynamic">;
|
149
169
|
};
|
150
170
|
"theme-definition": {
|
151
171
|
type: import("vue").PropType<ThemeDefinitionV2>;
|
@@ -185,7 +205,8 @@ declare const _default: {
|
|
185
205
|
colorSchemaType: any;
|
186
206
|
colors?: any;
|
187
207
|
} & {
|
188
|
-
"color-schema-type"?: "
|
208
|
+
"color-schema-type"?: "primary" | "secondary" | ColorSchemaTypes | "accent1" | "accent2" | "accent3" | "neutral" | "warning" | "notification" | "background" | "error" | "info" | "dynamic";
|
209
|
+
active?: boolean;
|
189
210
|
themeDefinition?: ThemeDefinitionV2;
|
190
211
|
"theme-definition"?: ThemeDefinitionV2;
|
191
212
|
context?: VelcronRenderContext;
|
package/internal-do-not-import-from-here/ux/velcron/renderer/components/ComponentCreator.d.ts
CHANGED
@@ -6,11 +6,11 @@ declare const _default: (props: {
|
|
6
6
|
elementClass?: object;
|
7
7
|
} & Omit<{
|
8
8
|
"onSetup:context"?: (context: VelcronRenderContext) => any;
|
9
|
-
}, "definition" | "
|
9
|
+
}, "definition" | "renderContext" | "containerClass" | "elementClass"> & {
|
10
10
|
"v-slots"?: {
|
11
11
|
default?: import("vue").Slot;
|
12
12
|
} & {};
|
13
|
-
} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "definition" | "
|
13
|
+
} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "definition" | "renderContext" | "containerClass" | "elementClass" | "emit:setup:context">) => {
|
14
14
|
$: import("vue").ComponentInternalInstance;
|
15
15
|
$data: {};
|
16
16
|
$props: {};
|
@@ -59,7 +59,7 @@ declare const _default: (props: {
|
|
59
59
|
} & {};
|
60
60
|
} & {
|
61
61
|
"onSetup:context"?: (context: VelcronRenderContext) => any;
|
62
|
-
} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "definition" | "
|
62
|
+
} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "definition" | "renderContext" | "containerClass" | "elementClass">;
|
63
63
|
} & import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
64
64
|
[key: string]: any;
|
65
65
|
}>;
|
@@ -0,0 +1,32 @@
|
|
1
|
+
import { VelcronRenderContext, VelcronEditorDefinition } from "../../core";
|
2
|
+
declare const _default: {
|
3
|
+
new (...args: any[]): import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
|
4
|
+
definition: import("vue").Prop<VelcronEditorDefinition, VelcronEditorDefinition>;
|
5
|
+
renderContext: import("vue").Prop<VelcronRenderContext, VelcronRenderContext>;
|
6
|
+
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
|
7
|
+
definition: import("vue").Prop<VelcronEditorDefinition, VelcronEditorDefinition>;
|
8
|
+
renderContext: import("vue").Prop<VelcronRenderContext, VelcronRenderContext>;
|
9
|
+
}>>, {}, true, {}, {}, {
|
10
|
+
P: {};
|
11
|
+
B: {};
|
12
|
+
D: {};
|
13
|
+
C: {};
|
14
|
+
M: {};
|
15
|
+
Defaults: {};
|
16
|
+
}, Readonly<import("vue").ExtractPropTypes<{
|
17
|
+
definition: import("vue").Prop<VelcronEditorDefinition, VelcronEditorDefinition>;
|
18
|
+
renderContext: import("vue").Prop<VelcronRenderContext, VelcronRenderContext>;
|
19
|
+
}>>, {}, {}, {}, {}, {}>;
|
20
|
+
__isFragment?: never;
|
21
|
+
__isTeleport?: never;
|
22
|
+
__isSuspense?: never;
|
23
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
24
|
+
definition: import("vue").Prop<VelcronEditorDefinition, VelcronEditorDefinition>;
|
25
|
+
renderContext: import("vue").Prop<VelcronRenderContext, VelcronRenderContext>;
|
26
|
+
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
|
27
|
+
propsDefinition: Omit<Readonly<{} & {
|
28
|
+
definition?: VelcronEditorDefinition;
|
29
|
+
renderContext?: VelcronRenderContext;
|
30
|
+
}>, never>;
|
31
|
+
};
|
32
|
+
export default _default;
|