@omnia/fx 8.0.158-dev → 8.0.161-dev

Sign up to get free protection for your applications and to get access to all the features.
Files changed (108) hide show
  1. package/internal-do-not-import-from-here/manifests/omnia.fx.manifest.json +1 -1
  2. package/internal-do-not-import-from-here/manifests/omnia.fx.ux.richtexteditor.manifest.json +1 -1
  3. package/internal-do-not-import-from-here/services/ReindexOmniaSearchUserService.d.ts +11 -0
  4. package/internal-do-not-import-from-here/services/index.d.ts +1 -0
  5. package/internal-do-not-import-from-here/stores/oxide/ComponentHostStore.d.ts +6 -6
  6. package/internal-do-not-import-from-here/ux/DefineVueTypings.d.ts +1 -0
  7. package/internal-do-not-import-from-here/ux/Exposes.d.ts +56 -55
  8. package/internal-do-not-import-from-here/ux/app/management/tabs/templates/Template.d.ts +1 -1
  9. package/internal-do-not-import-from-here/ux/appprovisioning/appimageinput/AppImageInput.d.ts +6 -6
  10. package/internal-do-not-import-from-here/ux/appprovisioning/apppropertiesinput/AppPropertiesInput.d.ts +6 -6
  11. package/internal-do-not-import-from-here/ux/aurora/components/colorpickerV2/ColorPicker.d.ts +24 -24
  12. package/internal-do-not-import-from-here/ux/aurora/store/ColorSchemaStore.d.ts +171 -31
  13. package/internal-do-not-import-from-here/ux/aurora/store/SpacingBlueprintStore.d.ts +171 -31
  14. package/internal-do-not-import-from-here/ux/aurora/store/TypographyBlueprintStore.d.ts +171 -31
  15. package/internal-do-not-import-from-here/ux/datetimepicker/DateTimePicker.d.ts +42 -0
  16. package/internal-do-not-import-from-here/ux/datetimezonepicker/DateTimeZonePicker.d.ts +1 -1
  17. package/internal-do-not-import-from-here/ux/enterpriseproperties/edit/datetimefield/DateTimeFieldEdit.d.ts +2 -0
  18. package/internal-do-not-import-from-here/ux/enterpriseproperties/edit/datetimefield/IDateTimeFieldEdit.d.ts +2 -0
  19. package/internal-do-not-import-from-here/ux/iconpicker/IconPicker.d.ts +2 -2
  20. package/internal-do-not-import-from-here/ux/identities/IdentityRenderer.d.ts +1 -1
  21. package/internal-do-not-import-from-here/ux/identities/loc/Localize.d.ts +39 -37
  22. package/internal-do-not-import-from-here/ux/identitypicker/IdentityPicker.d.ts +12 -5
  23. package/internal-do-not-import-from-here/ux/identitypicker/IdentityPickerDialog.d.ts +1 -1
  24. package/internal-do-not-import-from-here/ux/identitypicker/IdentityPickerField.d.ts +1 -1
  25. package/internal-do-not-import-from-here/ux/identitypicker/IdentityPickerInlineField.d.ts +1 -1
  26. package/internal-do-not-import-from-here/ux/inputlanguagepicker/InputLanguagePicker.d.ts +53 -43
  27. package/internal-do-not-import-from-here/ux/journey/JourneyBlade.d.ts +1 -1
  28. package/internal-do-not-import-from-here/ux/journey/use/UseBlade.d.ts +8 -6
  29. package/internal-do-not-import-from-here/ux/mediapickerV2/chrome/MediaPicker.d.ts +6 -6
  30. package/internal-do-not-import-from-here/ux/mediapickerV2/imagetransformer/Components/editor/ImageEditorCanvas.d.ts +1 -1
  31. package/internal-do-not-import-from-here/ux/mediapickerimage/MediaPickerImage.d.ts +1 -1
  32. package/internal-do-not-import-from-here/ux/models/TypographyEditorModel.d.ts +5 -0
  33. package/internal-do-not-import-from-here/ux/models/index.d.ts +1 -0
  34. package/internal-do-not-import-from-here/ux/multilingualinput/MultilingualInput.d.ts +2 -2
  35. package/internal-do-not-import-from-here/ux/optionpicker/OptionPicker.d.ts +1 -1
  36. package/internal-do-not-import-from-here/ux/oxide/btn/Button.d.ts +9 -9
  37. package/internal-do-not-import-from-here/ux/oxide/card/Card.d.ts +29 -0
  38. package/internal-do-not-import-from-here/ux/oxide/datatable/DataTable.css.d.ts +171 -31
  39. package/internal-do-not-import-from-here/ux/oxide/datatable/DataTable.d.ts +342 -62
  40. package/internal-do-not-import-from-here/ux/oxide/datatable/DataTableServer.d.ts +1 -1
  41. package/internal-do-not-import-from-here/ux/oxide/datepicker/DateTimePicker.d.ts +26 -345
  42. package/internal-do-not-import-from-here/ux/oxide/dialog/Dialog.d.ts +9 -9
  43. package/internal-do-not-import-from-here/ux/oxide/draggable/Draggable.d.ts +4 -12
  44. package/internal-do-not-import-from-here/ux/oxide/hostprovider/HostProvider.d.ts +11 -11
  45. package/internal-do-not-import-from-here/ux/oxide/image/Image.d.ts +2 -2
  46. package/internal-do-not-import-from-here/ux/oxide/menu/Menu.d.ts +2 -2
  47. package/internal-do-not-import-from-here/ux/oxide/panel/Panel.d.ts +40 -40
  48. package/internal-do-not-import-from-here/ux/oxide/radio/RadioGroup.d.ts +1 -1
  49. package/internal-do-not-import-from-here/ux/oxide/rating/Rating.d.ts +1 -1
  50. package/internal-do-not-import-from-here/ux/oxide/scrollcontainer/ScrollContainer.css.d.ts +1 -0
  51. package/internal-do-not-import-from-here/ux/oxide/scrollcontainer/ScrollContainer.d.ts +26 -0
  52. package/internal-do-not-import-from-here/ux/oxide/select/Select.d.ts +345 -65
  53. package/internal-do-not-import-from-here/ux/oxide/slidepanel/SlidePanel.css.d.ts +0 -1
  54. package/internal-do-not-import-from-here/ux/oxide/textarea/TextArea.d.ts +2 -2
  55. package/internal-do-not-import-from-here/ux/oxide/textfield/TextField.d.ts +2 -2
  56. package/internal-do-not-import-from-here/ux/oxide/tooltip/Tooltip.d.ts +1 -1
  57. package/internal-do-not-import-from-here/ux/post/Post.d.ts +3 -3
  58. package/internal-do-not-import-from-here/ux/post/templates/PostCardDisplay.d.ts +3 -3
  59. package/internal-do-not-import-from-here/ux/post/templates/PostTemplate.d.ts +3 -3
  60. package/internal-do-not-import-from-here/ux/profilecard/ProfileCard.d.ts +2 -2
  61. package/internal-do-not-import-from-here/ux/richtexteditor/RichTextEditor.d.ts +1 -1
  62. package/internal-do-not-import-from-here/ux/richtexteditor/RichTextEditorStore.d.ts +38 -0
  63. package/internal-do-not-import-from-here/ux/richtexteditor/extensions/AnimatedGif/AnimatedGif.d.ts +1 -1
  64. package/internal-do-not-import-from-here/ux/richtexteditor/extensions/Heading/Heading.d.ts +5 -23
  65. package/internal-do-not-import-from-here/ux/richtexteditor/extensions/Heading/HeadingNode.d.ts +2 -3
  66. package/internal-do-not-import-from-here/ux/richtexteditor/extensions/MediaPicker/MediaPickerEditorExtension.d.ts +2 -50
  67. package/internal-do-not-import-from-here/ux/richtexteditor/extensions/MediaPicker/MediaPickerToolbar.d.ts +2 -49
  68. package/internal-do-not-import-from-here/ux/richtexteditor/extensions/MediaPicker/nodes/MediaImageNode.d.ts +15 -2
  69. package/internal-do-not-import-from-here/ux/richtexteditor/extensions/MediaPicker/nodes/MediaPickerNode.d.ts +22 -2
  70. package/internal-do-not-import-from-here/ux/richtexteditor/extensions/MediaPicker/nodes/MediaPickerNodeView.d.ts +0 -22
  71. package/internal-do-not-import-from-here/ux/richtexteditor/index.d.ts +1 -0
  72. package/internal-do-not-import-from-here/ux/social/Comment.d.ts +1 -1
  73. package/internal-do-not-import-from-here/ux/social/PeopleTagging.d.ts +7 -7
  74. package/internal-do-not-import-from-here/ux/texttranslator/TextTranslator.d.ts +0 -8
  75. package/internal-do-not-import-from-here/ux/use/UseColorSchemaSetup.d.ts +171 -31
  76. package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew/VelcronContentEditor.css.d.ts +1 -3
  77. package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew/VelcronContentEditor.d.ts +175 -65
  78. package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew/components/ActionMenu.css.d.ts +4 -0
  79. package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew/components/ActionMenu.d.ts +60 -0
  80. package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew/components/BorderSelector.d.ts +60 -0
  81. package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew/editorHooks/ContentEditorHooks.css.d.ts +5 -0
  82. package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew/editorHooks/ContentEditorHooks.d.ts +2 -0
  83. package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew/models/ContentDefinitionRegistration.d.ts +1 -0
  84. package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew/models/EditorRenderingHooks.d.ts +15 -0
  85. package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew/stores/ContentEditorStore.d.ts +37 -17
  86. package/internal-do-not-import-from-here/ux/velcron/core/models/VelcronDefinitions.d.ts +10 -2
  87. package/internal-do-not-import-from-here/ux/velcron/core/parser/VelcronConstants.d.ts +3 -0
  88. package/internal-do-not-import-from-here/ux/velcron/core/stores/VelcronTheming.d.ts +2 -2
  89. package/internal-do-not-import-from-here/ux/velcron/editor/models/ComponentDescriptors.d.ts +1 -0
  90. package/internal-do-not-import-from-here/ux/velcron/renderer/VelcronRenderer.d.ts +21 -0
  91. package/internal-do-not-import-from-here/ux/velcron/renderer/components/ComponentCreator.d.ts +3 -3
  92. package/internal-do-not-import-from-here/ux/velcron/renderer/components/Editor.d.ts +32 -0
  93. package/internal-do-not-import-from-here/ux/velcron/renderer/{propertyeditors → editors}/SliderEditor.d.ts +8 -0
  94. package/internal-do-not-import-from-here/wctypings.d.ts +1 -1
  95. package/package.json +3 -3
  96. /package/internal-do-not-import-from-here/ux/velcron/renderer/{propertyeditors → editors}/AlignmentEditor.d.ts +0 -0
  97. /package/internal-do-not-import-from-here/ux/velcron/renderer/{propertyeditors → editors}/ColorEditor.d.ts +0 -0
  98. /package/internal-do-not-import-from-here/ux/velcron/renderer/{propertyeditors → editors}/ColorSchemaEditor.d.ts +0 -0
  99. /package/internal-do-not-import-from-here/ux/velcron/renderer/{propertyeditors → editors}/ContainerEditor.d.ts +0 -0
  100. /package/internal-do-not-import-from-here/ux/velcron/renderer/{propertyeditors → editors}/IconEditor.d.ts +0 -0
  101. /package/internal-do-not-import-from-here/ux/velcron/renderer/{propertyeditors → editors}/ImageEditor.d.ts +0 -0
  102. /package/internal-do-not-import-from-here/ux/velcron/renderer/{propertyeditors → editors}/MarkdownEditor.d.ts +0 -0
  103. /package/internal-do-not-import-from-here/ux/velcron/renderer/{propertyeditors → editors}/PropertyEditorCreator.d.ts +0 -0
  104. /package/internal-do-not-import-from-here/ux/velcron/renderer/{propertyeditors → editors}/ReferenceEditor.d.ts +0 -0
  105. /package/internal-do-not-import-from-here/ux/velcron/renderer/{propertyeditors → editors}/SpacingEditor.d.ts +0 -0
  106. /package/internal-do-not-import-from-here/ux/velcron/renderer/{propertyeditors → editors}/SwitchEditor.d.ts +0 -0
  107. /package/internal-do-not-import-from-here/ux/velcron/renderer/{propertyeditors → editors}/TextEditor.d.ts +0 -0
  108. /package/internal-do-not-import-from-here/ux/velcron/renderer/{propertyeditors → editors}/TypographyEditor.d.ts +0 -0
@@ -0,0 +1,60 @@
1
+ import { VelcronContentInstance } from "../models";
2
+ declare const _default: (props: {
3
+ "v-model"?: VelcronContentInstance;
4
+ "onUpdate:modelValue"?: (value: VelcronContentInstance) => void;
5
+ modelValue?: VelcronContentInstance;
6
+ } & Omit<{}, "v-model" | "onUpdate:modelValue" | "modelValue"> & {
7
+ "v-slots"?: {
8
+ default?: import("vue").Slot;
9
+ } & {};
10
+ } & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "v-model" | "onUpdate:modelValue" | "modelValue">) => {
11
+ $: import("vue").ComponentInternalInstance;
12
+ $data: {};
13
+ $props: {};
14
+ $attrs: {
15
+ [x: string]: unknown;
16
+ };
17
+ $refs: {
18
+ [x: string]: unknown;
19
+ };
20
+ $slots: Readonly<{
21
+ [name: string]: import("vue").Slot<any>;
22
+ }>;
23
+ $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>;
24
+ $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>;
25
+ $emit: (event: string, ...args: any[]) => void;
26
+ $el: any;
27
+ $options: import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}> & {
28
+ beforeCreate?: (() => void) | (() => void)[];
29
+ created?: (() => void) | (() => void)[];
30
+ beforeMount?: (() => void) | (() => void)[];
31
+ mounted?: (() => void) | (() => void)[];
32
+ beforeUpdate?: (() => void) | (() => void)[];
33
+ updated?: (() => void) | (() => void)[];
34
+ activated?: (() => void) | (() => void)[];
35
+ deactivated?: (() => void) | (() => void)[];
36
+ beforeDestroy?: (() => void) | (() => void)[];
37
+ beforeUnmount?: (() => void) | (() => void)[];
38
+ destroyed?: (() => void) | (() => void)[];
39
+ unmounted?: (() => void) | (() => void)[];
40
+ renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
41
+ renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
42
+ errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>, info: string) => boolean | void)[];
43
+ };
44
+ $forceUpdate: () => void;
45
+ $nextTick: typeof import("vue").nextTick;
46
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
47
+ } & Omit<{}, never> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {} & {
48
+ propsDefinition: {
49
+ "v-model"?: VelcronContentInstance;
50
+ "onUpdate:modelValue"?: (value: VelcronContentInstance) => void;
51
+ modelValue?: VelcronContentInstance;
52
+ } & {
53
+ "v-slots"?: {
54
+ default?: import("vue").Slot;
55
+ } & {};
56
+ } & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "v-model" | "onUpdate:modelValue" | "modelValue">;
57
+ } & import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
58
+ [key: string]: any;
59
+ }>;
60
+ export default _default;
@@ -0,0 +1,5 @@
1
+ export declare const ContentEditorHooksCss: {
2
+ activeItem: string;
3
+ hover: string;
4
+ definitionWrapper: string;
5
+ };
@@ -0,0 +1,2 @@
1
+ import { EditorRenderingHooks } from "../models/EditorRenderingHooks";
2
+ export declare function useContentEditorHooks(): EditorRenderingHooks;
@@ -6,4 +6,5 @@ export interface ContentBlockVelcronState extends DynamicState {
6
6
  }
7
7
  export interface VelcronContentInstance extends VelcronDefinitionRegistration<ContentBlockVelcronState> {
8
8
  contentId: GuidValue;
9
+ onlyEditOnActive: boolean;
9
10
  }
@@ -0,0 +1,15 @@
1
+ import { VNodeChild } from "vue";
2
+ import { VelcronContentInstance } from "./ContentDefinitionRegistration";
3
+ import { VelcronDefinition, VelcronRenderContext } from "@omnia/fx-models";
4
+ export interface EditorRenderingHooks {
5
+ styles?: {
6
+ activeItem?: string;
7
+ hover?: string;
8
+ };
9
+ renderBorderSelectors?: (item: VelcronContentInstance) => VNodeChild;
10
+ renderActionMenu?: (item: VelcronContentInstance) => VNodeChild;
11
+ renderEmptyEditor?: () => VNodeChild;
12
+ definition?: {
13
+ wrapperStyleExtensions?: ((item: VelcronDefinition, renderContext: VelcronRenderContext) => string);
14
+ };
15
+ }
@@ -1,9 +1,6 @@
1
1
  import { GuidValue, VelcronAppDefinition, VelcronDefinition, VelcronDefinitionRegistration } from "@omnia/fx-models";
2
2
  import { VelcronContentInstance } from "../models";
3
- export declare enum MenuTabs {
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,10 +11,16 @@ export declare const useVelcronContentEditorStore: () => {
14
11
  selectedDefinition: VelcronContentInstance;
15
12
  toggleColorSchemaPreview: string;
16
13
  toggleDefinitionPreview: VelcronDefinition;
17
- allowToggle: boolean;
14
+ allowColorSchemaPreview: boolean;
18
15
  onGoingDragging: boolean;
19
16
  socialMode: boolean;
20
17
  showLoading: boolean;
18
+ showDefinitionSelector: boolean;
19
+ insertOptions: {
20
+ preInsert: boolean;
21
+ inserRelativeToActive: boolean;
22
+ insertMode: insertMode;
23
+ };
21
24
  };
22
25
  events: {
23
26
  onMutatedDefinitions: import("@omnia/fx").MessageBusExposeOnlySubscription<VelcronContentInstance[]>;
@@ -25,22 +28,31 @@ export declare const useVelcronContentEditorStore: () => {
25
28
  onMutatedSelectedDefinition: import("@omnia/fx").MessageBusExposeOnlySubscription<VelcronContentInstance>;
26
29
  onMutatedToggleColorSchemaPreview: import("@omnia/fx").MessageBusExposeOnlySubscription<string>;
27
30
  onMutatedToggleDefinitionPreview: import("@omnia/fx").MessageBusExposeOnlySubscription<VelcronDefinition>;
28
- onMutatedAllowToggle: import("@omnia/fx").MessageBusExposeOnlySubscription<boolean>;
31
+ onMutatedAllowColorSchemaPreview: import("@omnia/fx").MessageBusExposeOnlySubscription<boolean>;
29
32
  onMutatedOnGoingDragging: import("@omnia/fx").MessageBusExposeOnlySubscription<boolean>;
30
33
  onMutatedSocialMode: import("@omnia/fx").MessageBusExposeOnlySubscription<boolean>;
31
34
  onMutatedShowLoading: import("@omnia/fx").MessageBusExposeOnlySubscription<boolean>;
35
+ onMutatedShowDefinitionSelector: import("@omnia/fx").MessageBusExposeOnlySubscription<boolean>;
36
+ onMutatedInsertOptions: import("@omnia/fx").MessageBusExposeOnlySubscription<{
37
+ preInsert: boolean;
38
+ inserRelativeToActive: boolean;
39
+ insertMode: insertMode;
40
+ }>;
32
41
  } & Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>;
33
42
  actions: {
34
43
  onDispatching: {
35
- resetStore: {
36
- subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
44
+ showDefinitionSelector: {
45
+ subscribe(fn: (preInsert: boolean, insertRelativeToActive?: boolean, changeDefinition?: boolean) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
37
46
  };
38
47
  addDefinition: {
39
- subscribe(fn: (definition: VelcronDefinitionRegistration<object>) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
48
+ subscribe(fn: (definition: VelcronDefinitionRegistration<object>, setAsActive?: boolean) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
40
49
  };
41
50
  setActiveDefinition: {
42
51
  subscribe(fn: (definition: VelcronContentInstance) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
43
52
  };
53
+ deleteDefinition: {
54
+ subscribe(fn: (definition: VelcronContentInstance) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
55
+ };
44
56
  removeActiveDefinition: {
45
57
  subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
46
58
  };
@@ -70,15 +82,18 @@ export declare const useVelcronContentEditorStore: () => {
70
82
  };
71
83
  };
72
84
  onDispatched: {
73
- resetStore: {
74
- subscribe(fn: (result: void) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
85
+ showDefinitionSelector: {
86
+ subscribe(fn: (result: void, preInsert: boolean, insertRelativeToActive?: boolean, changeDefinition?: boolean) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
75
87
  };
76
88
  addDefinition: {
77
- subscribe(fn: (result: void, definition: VelcronDefinitionRegistration<object>) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
89
+ subscribe(fn: (result: void, definition: VelcronDefinitionRegistration<object>, setAsActive?: boolean) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
78
90
  };
79
91
  setActiveDefinition: {
80
92
  subscribe(fn: (result: void, definition: VelcronContentInstance) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
81
93
  };
94
+ deleteDefinition: {
95
+ subscribe(fn: (result: void, definition: VelcronContentInstance) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
96
+ };
82
97
  removeActiveDefinition: {
83
98
  subscribe(fn: (result: void) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
84
99
  };
@@ -108,15 +123,18 @@ export declare const useVelcronContentEditorStore: () => {
108
123
  };
109
124
  };
110
125
  onFailure: {
111
- resetStore: {
112
- subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
126
+ showDefinitionSelector: {
127
+ subscribe(fn: (failureReason: any, preInsert: boolean, insertRelativeToActive?: boolean, changeDefinition?: boolean) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
113
128
  };
114
129
  addDefinition: {
115
- subscribe(fn: (failureReason: any, definition: VelcronDefinitionRegistration<object>) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
130
+ subscribe(fn: (failureReason: any, definition: VelcronDefinitionRegistration<object>, setAsActive?: boolean) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
116
131
  };
117
132
  setActiveDefinition: {
118
133
  subscribe(fn: (failureReason: any, definition: VelcronContentInstance) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
119
134
  };
135
+ deleteDefinition: {
136
+ subscribe(fn: (failureReason: any, definition: VelcronContentInstance) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
137
+ };
120
138
  removeActiveDefinition: {
121
139
  subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
122
140
  };
@@ -146,9 +164,10 @@ export declare const useVelcronContentEditorStore: () => {
146
164
  };
147
165
  };
148
166
  } & {
149
- resetStore(): void;
150
- addDefinition(definition: VelcronDefinitionRegistration): void;
167
+ showDefinitionSelector(preInsert: boolean, insertRelativeToActive?: boolean, changeDefinition?: boolean): void;
168
+ addDefinition(definition: VelcronDefinitionRegistration, setAsActive?: boolean): void;
151
169
  setActiveDefinition(definition: VelcronContentInstance): void;
170
+ deleteDefinition(definition: VelcronContentInstance): void;
152
171
  removeActiveDefinition(): void;
153
172
  setSelectedDefinition(definition: VelcronContentInstance): void;
154
173
  removeSelectedDefinition(): void;
@@ -160,3 +179,4 @@ export declare const useVelcronContentEditorStore: () => {
160
179
  updateDefinition(definition: VelcronContentInstance, velcronDefinition: VelcronAppDefinition): void;
161
180
  };
162
181
  };
182
+ export {};
@@ -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
- editMode?: boolean;
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;
@@ -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
  };
@@ -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
  };
@@ -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
  };
@@ -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
  };
@@ -186,6 +206,7 @@ declare const _default: {
186
206
  colors?: any;
187
207
  } & {
188
208
  "color-schema-type"?: "info" | "error" | "primary" | "secondary" | ColorSchemaTypes | "accent1" | "accent2" | "accent3" | "neutral" | "warning" | "notification" | "background" | "dynamic";
209
+ active?: boolean;
189
210
  themeDefinition?: ThemeDefinitionV2;
190
211
  "theme-definition"?: ThemeDefinitionV2;
191
212
  context?: VelcronRenderContext;
@@ -6,11 +6,11 @@ declare const _default: (props: {
6
6
  elementClass?: object;
7
7
  } & Omit<{
8
8
  "onSetup:context"?: (context: VelcronRenderContext) => any;
9
- }, "definition" | "containerClass" | "renderContext" | "elementClass"> & {
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" | "containerClass" | "renderContext" | "elementClass" | "emit:setup:context">) => {
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" | "containerClass" | "renderContext" | "elementClass">;
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;
@@ -3,8 +3,10 @@ declare const _default: {
3
3
  new (...args: any[]): import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
4
4
  settings: {
5
5
  type: import("vue").PropType<VelcronSliderPropertyEditorSettings>;
6
+ required: false;
6
7
  } & {
7
8
  type: import("vue").PropType<VelcronSliderPropertyEditorSettings>;
9
+ required: false;
8
10
  };
9
11
  "onUpdate:modelValue": {
10
12
  type: import("vue").PropType<(value: number) => any>;
@@ -79,8 +81,10 @@ declare const _default: {
79
81
  }, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
80
82
  settings: {
81
83
  type: import("vue").PropType<VelcronSliderPropertyEditorSettings>;
84
+ required: false;
82
85
  } & {
83
86
  type: import("vue").PropType<VelcronSliderPropertyEditorSettings>;
87
+ required: false;
84
88
  };
85
89
  "onUpdate:modelValue": {
86
90
  type: import("vue").PropType<(value: number) => any>;
@@ -160,8 +164,10 @@ declare const _default: {
160
164
  }, Readonly<import("vue").ExtractPropTypes<{
161
165
  settings: {
162
166
  type: import("vue").PropType<VelcronSliderPropertyEditorSettings>;
167
+ required: false;
163
168
  } & {
164
169
  type: import("vue").PropType<VelcronSliderPropertyEditorSettings>;
170
+ required: false;
165
171
  };
166
172
  "onUpdate:modelValue": {
167
173
  type: import("vue").PropType<(value: number) => any>;
@@ -238,8 +244,10 @@ declare const _default: {
238
244
  } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
239
245
  settings: {
240
246
  type: import("vue").PropType<VelcronSliderPropertyEditorSettings>;
247
+ required: false;
241
248
  } & {
242
249
  type: import("vue").PropType<VelcronSliderPropertyEditorSettings>;
250
+ required: false;
243
251
  };
244
252
  "onUpdate:modelValue": {
245
253
  type: import("vue").PropType<(value: number) => any>;
@@ -394,7 +394,7 @@ import wca7db43482a3140998eca19b47d941126 from './ux/velcron/components/contente
394
394
  import wcb2999683f82046d6ad05a3c13df8e577 from './ux/velcron/components/contenteditorNew/VelcronContentEditor';
395
395
  import wcb197c5e805cc4d6bb3d012e258560b31 from './ux/velcron/components/definitionpicker/VelcronDefinitionPicker';
396
396
  import wcdabd67ab338243858fe7d1ca24399995 from './ux/velcron/components/propertieseditor/VelcronPropertiesEditor';
397
- import wc5688474abe554cabb34c696620eb6be1 from './ux/velcron/renderer/propertyeditors/PropertyEditorCreator';
397
+ import wc5688474abe554cabb34c696620eb6be1 from './ux/velcron/renderer/editors/PropertyEditorCreator';
398
398
  import wcdb625bea89b04f32a946efe7a887c7f2 from '../../fx-sp/internal-do-not-import-from-here/ux/filterengine/components/settings/TaxonomyPropertySettings';
399
399
  import wcded30c240e6c4688955867472a8d0a02 from '../../fx-sp/internal-do-not-import-from-here/ux/filterengine/components/settings/TaxonomyPropertyDefaultValueInput';
400
400
  import wc0fb3af1182d849fc89b04ed67949091e from '../../fx-sp/internal-do-not-import-from-here/ux/filterengine/components/settings/ExtendedTaxonomyPropertyDefaultValueInput';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@omnia/fx",
3
3
  "license": "MIT",
4
- "version": "8.0.158-dev",
4
+ "version": "8.0.161-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,12 +20,12 @@
20
20
  ],
21
21
  "author": "Precio Fishbone",
22
22
  "dependencies": {
23
- "@omnia/fx-models": "8.0.158-dev",
23
+ "@omnia/fx-models": "8.0.161-dev",
24
24
  "@microsoft/signalr": "6.0.1",
25
25
  "broadcast-channel": "4.8.0",
26
26
  "dayjs": "1.11.7",
27
27
  "splitpanes": "3.1.5",
28
- "vuetify": "3.5.12",
28
+ "vuetify": "3.5.14",
29
29
  "vue": "3.4.21",
30
30
  "tslib": "2.6.2",
31
31
  "typescript": "5.3.3",