@omnia/fx 8.0.264-dev → 8.0.266-dev

Sign up to get free protection for your applications and to get access to all the features.
Files changed (151) 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/stores/{markdown/MarkdownPluginStore.d.ts → floweditor/FlowEditorPluginStore.d.ts} +12 -11
  3. package/internal-do-not-import-from-here/stores/{markdown/MarkdownToolbarStateStore.d.ts → floweditor/FlowEditorToolbarStateStore.d.ts} +1 -1
  4. package/internal-do-not-import-from-here/stores/floweditor/index.d.ts +2 -0
  5. package/internal-do-not-import-from-here/stores/index.d.ts +1 -1
  6. package/internal-do-not-import-from-here/ux/appprovisioning/appimageinput/AppImageInput.d.ts +4 -0
  7. package/internal-do-not-import-from-here/ux/aurora/designkits/default/DefinitionRegistrations.d.ts +0 -1
  8. package/internal-do-not-import-from-here/ux/aurora/designkits/pages/DefinitionRegistrations.d.ts +0 -1
  9. package/internal-do-not-import-from-here/ux/aurora/store/SpacingBlueprintStore.d.ts +36 -0
  10. package/internal-do-not-import-from-here/ux/aurora/store/TypographyBlueprintStore.d.ts +36 -0
  11. package/internal-do-not-import-from-here/ux/features/FeatureActivation.d.ts +3 -14
  12. package/internal-do-not-import-from-here/ux/features/models/FeatureAction.d.ts +3 -0
  13. package/internal-do-not-import-from-here/ux/features/models/VDataGridItemScopedSlot.d.ts +13 -0
  14. package/internal-do-not-import-from-here/ux/features/models/index.d.ts +2 -0
  15. package/internal-do-not-import-from-here/ux/features/shared/FeatureActions.d.ts +2 -0
  16. package/internal-do-not-import-from-here/ux/features/shared/index.d.ts +1 -0
  17. package/internal-do-not-import-from-here/ux/features/stores/FeatureJourneyStore.d.ts +2 -3
  18. package/internal-do-not-import-from-here/ux/floweditor/FlowEditor.css.d.ts +6 -0
  19. package/internal-do-not-import-from-here/ux/{markdown2/MarkdownEditorFuture.d.ts → floweditor/FlowEditor.d.ts} +4 -4
  20. package/internal-do-not-import-from-here/ux/{markdown2/MarkdownToolbar.css.d.ts → floweditor/FlowEditorToolbar.css.d.ts} +1 -1
  21. package/internal-do-not-import-from-here/ux/floweditor/commands/EditorCommands.d.ts +99 -0
  22. package/internal-do-not-import-from-here/ux/floweditor/commands/helpers/EditorNodeHelper.d.ts +6 -0
  23. package/internal-do-not-import-from-here/ux/floweditor/commands/helpers/Editorhelper.d.ts +15 -0
  24. package/internal-do-not-import-from-here/ux/floweditor/commands/helpers/HtmlNodehelper.d.ts +25 -0
  25. package/internal-do-not-import-from-here/ux/floweditor/models/Constants.d.ts +14 -0
  26. package/internal-do-not-import-from-here/ux/floweditor/models/EditorModels.d.ts +21 -0
  27. package/internal-do-not-import-from-here/ux/floweditor/models/EditorPlugin.d.ts +40 -0
  28. package/internal-do-not-import-from-here/ux/floweditor/parsers/HtmlParser.d.ts +8 -0
  29. package/internal-do-not-import-from-here/ux/floweditor/parsers/JSONParser.d.ts +8 -0
  30. package/internal-do-not-import-from-here/ux/{markdown2 → floweditor}/plugins/DefineEditorPlugin.d.ts +2 -2
  31. package/internal-do-not-import-from-here/ux/{markdown2 → floweditor}/plugins/bold/BoldPlugin.d.ts +1 -1
  32. package/internal-do-not-import-from-here/ux/{markdown2 → floweditor}/plugins/colorstyle/ColorButton.d.ts +2 -2
  33. package/internal-do-not-import-from-here/ux/{markdown2 → floweditor}/plugins/colorstyle/ColorStylePlugin.d.ts +1 -1
  34. package/internal-do-not-import-from-here/ux/floweditor/plugins/elements/ElementPlugin.d.ts +7 -0
  35. package/internal-do-not-import-from-here/ux/floweditor/plugins/eventhandlers/EditorEvents.d.ts +4 -0
  36. package/internal-do-not-import-from-here/ux/floweditor/plugins/eventhandlers/KeyboardEvents.d.ts +4 -0
  37. package/internal-do-not-import-from-here/ux/floweditor/plugins/eventhandlers/handlers/BackspaceHandler.d.ts +4 -0
  38. package/internal-do-not-import-from-here/ux/floweditor/plugins/eventhandlers/handlers/ClipboardHandler.d.ts +4 -0
  39. package/internal-do-not-import-from-here/ux/floweditor/plugins/eventhandlers/handlers/EnterHandler.d.ts +4 -0
  40. package/internal-do-not-import-from-here/ux/{markdown2 → floweditor}/plugins/italic/ItalicPlugin.d.ts +1 -1
  41. package/internal-do-not-import-from-here/ux/floweditor/plugins/sourceeditor/SourceEditorPlugin.d.ts +4 -0
  42. package/internal-do-not-import-from-here/ux/floweditor/plugins/testdata/TestDataPlugin.d.ts +4 -0
  43. package/internal-do-not-import-from-here/ux/floweditor/plugins/text/TextPlugin.d.ts +3 -0
  44. package/internal-do-not-import-from-here/ux/{markdown2 → floweditor}/plugins/typography/TypographyButton.d.ts +2 -2
  45. package/internal-do-not-import-from-here/ux/{markdown2 → floweditor}/plugins/typography/TypographyPlugin.d.ts +1 -1
  46. package/internal-do-not-import-from-here/ux/{markdown2 → floweditor}/plugins/velcron/VelcronPlugin.d.ts +3 -3
  47. package/internal-do-not-import-from-here/ux/floweditor/rules/EditorRules.d.ts +7 -0
  48. package/internal-do-not-import-from-here/ux/floweditor/stores/FlowEditorStore.d.ts +370 -0
  49. package/internal-do-not-import-from-here/ux/floweditor/stores/FlowEditorToolbarStore.d.ts +1901 -0
  50. package/internal-do-not-import-from-here/ux/hub/feed/definitions/CommunityUpdate.d.ts +0 -2
  51. package/internal-do-not-import-from-here/ux/hub/feed/definitions/DefinitionRegistrations.d.ts +0 -1
  52. package/internal-do-not-import-from-here/ux/hub/feed/definitions/DocumentReview.d.ts +0 -2
  53. package/internal-do-not-import-from-here/ux/hub/feed/definitions/NewsArticleTemplate.d.ts +0 -2
  54. package/internal-do-not-import-from-here/ux/hub/feed/definitions/QuickPoll.d.ts +0 -2
  55. package/internal-do-not-import-from-here/ux/hub/feed/definitions/Reach.d.ts +0 -2
  56. package/internal-do-not-import-from-here/ux/hub/feed/definitions/UpdatedProcess.d.ts +0 -2
  57. package/internal-do-not-import-from-here/ux/identities/loc/Localize.d.ts +1 -0
  58. package/internal-do-not-import-from-here/ux/markdown/stores/MarkdownEditorStore.d.ts +7 -7
  59. package/internal-do-not-import-from-here/ux/oxide/select/Select.d.ts +1 -1
  60. package/internal-do-not-import-from-here/ux/properties/builtins/identity/IdentityDisplay.d.ts +1 -1
  61. package/internal-do-not-import-from-here/ux/properties/builtins/tags/TagsDisplay.d.ts +4 -1
  62. package/internal-do-not-import-from-here/ux/properties/property-picker/PropertyPicker.d.ts +18 -1
  63. package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew/stores/ContentEditorStore.d.ts +5 -5
  64. package/internal-do-not-import-from-here/ux/velcron/components/definitionpicker/VelcronDefinitionPicker.d.ts +5 -1
  65. package/internal-do-not-import-from-here/ux/velcron/core/models/VelcronDefinitions.d.ts +5 -5
  66. package/internal-do-not-import-from-here/ux/velcron/core/models/VelcronPropertyEditorDefinitions.d.ts +3 -3
  67. package/internal-do-not-import-from-here/ux/velcron/core/parser/VelcronConstants.d.ts +1 -1
  68. package/internal-do-not-import-from-here/ux/velcron/core/templatebuilder/VelcronEditorBuilder.d.ts +1 -1
  69. package/internal-do-not-import-from-here/ux/velcron/{components/contenteditor/models → definitions}/VelcronDefinitionIds.d.ts +1 -1
  70. package/internal-do-not-import-from-here/ux/velcron/definitions/index.d.ts +1 -1
  71. package/internal-do-not-import-from-here/ux/velcron/editor/models/ComponentDescriptors.d.ts +1 -1
  72. package/internal-do-not-import-from-here/ux/velcron/editor/stores/VelcronEditorStore.d.ts +7 -7
  73. package/internal-do-not-import-from-here/ux/velcron/renderer/components/{Markdown.d.ts → Flow.d.ts} +6 -6
  74. package/internal-do-not-import-from-here/ux/velcron/renderer/components/Property.d.ts +5 -5
  75. package/internal-do-not-import-from-here/ux/velcron/renderer/editors/MarkdownEditor.d.ts +6 -6
  76. package/internal-do-not-import-from-here/ux/velcron/renderer/editors/PropertyResolverEditor.d.ts +5 -5
  77. package/internal-do-not-import-from-here/ux/velcron/stores/VelcronDefinitionStore.d.ts +47 -7
  78. package/internal-do-not-import-from-here/wctypings.d.ts +10 -32
  79. package/package.json +2 -2
  80. package/internal-do-not-import-from-here/stores/markdown/index.d.ts +0 -2
  81. package/internal-do-not-import-from-here/ux/markdown2/MarkdownEditorFuture.css.d.ts +0 -6
  82. package/internal-do-not-import-from-here/ux/markdown2/commands/ClipboardCommands.d.ts +0 -4
  83. package/internal-do-not-import-from-here/ux/markdown2/commands/EditorCommands.d.ts +0 -52
  84. package/internal-do-not-import-from-here/ux/markdown2/commands/helpers/EditorNodeHelper.d.ts +0 -5
  85. package/internal-do-not-import-from-here/ux/markdown2/commands/helpers/Editorhelper.d.ts +0 -7
  86. package/internal-do-not-import-from-here/ux/markdown2/commands/helpers/HtmlNodehelper.d.ts +0 -9
  87. package/internal-do-not-import-from-here/ux/markdown2/markdowntester/MarkdownTester.css.d.ts +0 -6
  88. package/internal-do-not-import-from-here/ux/markdown2/markdowntester/MarkdownTester.d.ts +0 -16
  89. package/internal-do-not-import-from-here/ux/markdown2/models/EditorModels.d.ts +0 -21
  90. package/internal-do-not-import-from-here/ux/markdown2/models/EditorPlugin.d.ts +0 -18
  91. package/internal-do-not-import-from-here/ux/markdown2/parsers/HtmlParser.d.ts +0 -8
  92. package/internal-do-not-import-from-here/ux/markdown2/parsers/JSONParser.d.ts +0 -8
  93. package/internal-do-not-import-from-here/ux/markdown2/parsers/markdownparser_old/MarkdownParser_engine.d.ts +0 -0
  94. package/internal-do-not-import-from-here/ux/markdown2/parsers/markdownparser_old/component.d.ts +0 -0
  95. package/internal-do-not-import-from-here/ux/markdown2/parsers/markdownparser_old/tags.d.ts +0 -0
  96. package/internal-do-not-import-from-here/ux/markdown2/parsers/markdownparser_old/textParser.d.ts +0 -0
  97. package/internal-do-not-import-from-here/ux/markdown2/plugins/sourceeditor/SourceEditorPlugin.d.ts +0 -3
  98. package/internal-do-not-import-from-here/ux/markdown2/plugins/testdata/TestDataPlugin.d.ts +0 -3
  99. package/internal-do-not-import-from-here/ux/markdown2/plugins/text/TextPlugin.d.ts +0 -7
  100. package/internal-do-not-import-from-here/ux/markdown2/stores/MarkdownStore.d.ts +0 -200
  101. package/internal-do-not-import-from-here/ux/markdown2/stores/MarkdownToolbarStore.d.ts +0 -1051
  102. package/internal-do-not-import-from-here/ux/velcron/components/contenteditor/VelcronContentEditor.css.d.ts +0 -6
  103. package/internal-do-not-import-from-here/ux/velcron/components/contenteditor/VelcronContentEditor.d.ts +0 -949
  104. package/internal-do-not-import-from-here/ux/velcron/components/contenteditor/definitions/content/Quote.d.ts +0 -2
  105. package/internal-do-not-import-from-here/ux/velcron/components/contenteditor/definitions/index.d.ts +0 -2
  106. package/internal-do-not-import-from-here/ux/velcron/components/contenteditor/definitions/social/Image.d.ts +0 -2
  107. package/internal-do-not-import-from-here/ux/velcron/components/contenteditor/definitions/social/MicroBlog.d.ts +0 -3
  108. package/internal-do-not-import-from-here/ux/velcron/components/contenteditor/definitions/social/MicroBlog2.d.ts +0 -3
  109. package/internal-do-not-import-from-here/ux/velcron/components/contenteditor/definitions/social/Praise.d.ts +0 -2
  110. package/internal-do-not-import-from-here/ux/velcron/components/contenteditor/definitions/social/SocialText.d.ts +0 -2
  111. package/internal-do-not-import-from-here/ux/velcron/components/contenteditor/definitions/social/index.d.ts +0 -4
  112. package/internal-do-not-import-from-here/ux/velcron/components/contenteditor/models/ContentDefinitionRegistration.d.ts +0 -9
  113. package/internal-do-not-import-from-here/ux/velcron/components/contenteditor/models/index.d.ts +0 -2
  114. package/internal-do-not-import-from-here/ux/velcron/components/contenteditor/stores/ContentEditorStore.d.ts +0 -180
  115. package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew/definitions/index.d.ts +0 -1
  116. package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew_bak/VelcronContentEditor.css.d.ts +0 -5
  117. package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew_bak/VelcronContentEditor.d.ts +0 -1133
  118. package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew_bak/VelcronContentRenderer.d.ts +0 -80
  119. package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew_bak/components/ActionMenu.css.d.ts +0 -4
  120. package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew_bak/components/ActionMenu.d.ts +0 -11
  121. package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew_bak/components/BorderSelector copy.d.ts +0 -11
  122. package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew_bak/components/BorderSelector.css.d.ts +0 -12
  123. package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew_bak/components/BorderSelector.d.ts +0 -11
  124. package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew_bak/components/DefinitionToolbar copy.d.ts +0 -14
  125. package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew_bak/components/DefinitionToolbar.css.d.ts +0 -4
  126. package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew_bak/components/DefinitionToolbar.d.ts +0 -14
  127. package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew_bak/definitions/DefinitionRegistrations.d.ts +0 -1
  128. package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew_bak/definitions/index.d.ts +0 -1
  129. package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew_bak/editorHooks/ContentEditorHooks.css.d.ts +0 -6
  130. package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew_bak/editorHooks/ContentEditorHooks.d.ts +0 -2
  131. package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew_bak/models/EditorRenderingHooks.d.ts +0 -24
  132. package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew_bak/models/index.d.ts +0 -1
  133. package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew_bak/stores/ContentEditorStore.d.ts +0 -222
  134. /package/internal-do-not-import-from-here/ux/{markdown2/MarkdownToolbar.d.ts → floweditor/FlowEditorToolbar.d.ts} +0 -0
  135. /package/internal-do-not-import-from-here/ux/{markdown2 → floweditor}/PluginRegistrationHandler.d.ts +0 -0
  136. /package/internal-do-not-import-from-here/ux/{markdown2 → floweditor}/plugins/registrations/PluginRegistrations.d.ts +0 -0
  137. /package/internal-do-not-import-from-here/ux/{markdown2 → floweditor}/plugins/sourceeditor/SourceEditorButton.d.ts +0 -0
  138. /package/internal-do-not-import-from-here/ux/{aurora/RegistrationHandlerDefinitions.d.ts → velcron/apis/VelcronCategoriesHandler.d.ts} +0 -0
  139. /package/internal-do-not-import-from-here/ux/velcron/{components/contenteditor/DefinitionRegistrations.d.ts → apis/VelcronDefinitionsHandler.d.ts} +0 -0
  140. /package/internal-do-not-import-from-here/ux/velcron/{registrations → definitions}/CategoryRegistrations.d.ts +0 -0
  141. /package/internal-do-not-import-from-here/ux/velcron/{components/contenteditor/definitions → definitions}/content/Image.d.ts +0 -0
  142. /package/internal-do-not-import-from-here/ux/velcron/{components/contenteditor/definitions → definitions}/content/ImageText.d.ts +0 -0
  143. /package/internal-do-not-import-from-here/ux/velcron/{components/contenteditorNew/definitions/DefinitionRegistrations.d.ts → definitions/content/Quote.d.ts} +0 -0
  144. /package/internal-do-not-import-from-here/ux/velcron/{components/contenteditor/definitions → definitions}/content/Text.d.ts +0 -0
  145. /package/internal-do-not-import-from-here/ux/velcron/{components/contenteditor/definitions → definitions}/content/index.d.ts +0 -0
  146. /package/internal-do-not-import-from-here/ux/{aurora/designkits/default/definitions/content → velcron/definitions/social}/Image.d.ts +0 -0
  147. /package/internal-do-not-import-from-here/ux/{aurora/designkits/default/definitions/content/ImageText.d.ts → velcron/definitions/social/MicroBlog.d.ts} +0 -0
  148. /package/internal-do-not-import-from-here/ux/{aurora/designkits/default/definitions/content/Quote.d.ts → velcron/definitions/social/MicroBlog2.d.ts} +0 -0
  149. /package/internal-do-not-import-from-here/ux/{aurora/designkits/default/definitions/content/Text.d.ts → velcron/definitions/social/Praise.d.ts} +0 -0
  150. /package/internal-do-not-import-from-here/ux/{aurora/designkits/default/definitions/content/index.d.ts → velcron/definitions/social/SocialText.d.ts} +0 -0
  151. /package/internal-do-not-import-from-here/ux/{markdown2/parsers/markdownparser_old/MarkdownParser.d.ts → velcron/definitions/social/index.d.ts} +0 -0
@@ -1,80 +0,0 @@
1
- import { DynamicState, ThemeDefinitionV2, VelcronSectionInstance } from "@omnia/fx-models";
2
- import { EditorRenderingHooks } from "./models";
3
- export interface ContentEditorVelcronState extends DynamicState {
4
- content: {
5
- [id: string]: unknown;
6
- };
7
- }
8
- declare const _default: {
9
- new (...args: any[]): import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
10
- sections: {
11
- type: import("vue").PropType<VelcronSectionInstance[]>;
12
- };
13
- editMode: {
14
- type: import("vue").PropType<boolean>;
15
- };
16
- themeDefinition: {
17
- type: import("vue").PropType<ThemeDefinitionV2>;
18
- };
19
- hooks: {
20
- type: import("vue").PropType<EditorRenderingHooks>;
21
- };
22
- }>>, () => JSX.Element[], unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
23
- sections: {
24
- type: import("vue").PropType<VelcronSectionInstance[]>;
25
- };
26
- editMode: {
27
- type: import("vue").PropType<boolean>;
28
- };
29
- themeDefinition: {
30
- type: import("vue").PropType<ThemeDefinitionV2>;
31
- };
32
- hooks: {
33
- type: import("vue").PropType<EditorRenderingHooks>;
34
- };
35
- }>>, {}, true, {}, {}, {
36
- P: {};
37
- B: {};
38
- D: {};
39
- C: {};
40
- M: {};
41
- Defaults: {};
42
- }, Readonly<import("vue").ExtractPropTypes<{
43
- sections: {
44
- type: import("vue").PropType<VelcronSectionInstance[]>;
45
- };
46
- editMode: {
47
- type: import("vue").PropType<boolean>;
48
- };
49
- themeDefinition: {
50
- type: import("vue").PropType<ThemeDefinitionV2>;
51
- };
52
- hooks: {
53
- type: import("vue").PropType<EditorRenderingHooks>;
54
- };
55
- }>>, () => JSX.Element[], {}, {}, {}, {}>;
56
- __isFragment?: never;
57
- __isTeleport?: never;
58
- __isSuspense?: never;
59
- } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
60
- sections: {
61
- type: import("vue").PropType<VelcronSectionInstance[]>;
62
- };
63
- editMode: {
64
- type: import("vue").PropType<boolean>;
65
- };
66
- themeDefinition: {
67
- type: import("vue").PropType<ThemeDefinitionV2>;
68
- };
69
- hooks: {
70
- type: import("vue").PropType<EditorRenderingHooks>;
71
- };
72
- }>>, () => JSX.Element[], unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
73
- propsDefinition: Omit<Readonly<{} & {
74
- themeDefinition?: ThemeDefinitionV2;
75
- editMode?: boolean;
76
- hooks?: EditorRenderingHooks;
77
- sections?: VelcronSectionInstance[];
78
- }>, never>;
79
- };
80
- export default _default;
@@ -1,4 +0,0 @@
1
- export declare const ActionMenuStyles: {
2
- toolbarWrapper: string;
3
- extendedToolbar: string;
4
- };
@@ -1,11 +0,0 @@
1
- import { VelcronSectionInstance } from "@omnia/fx-models";
2
- declare const _default: (props: import("@omnia/fx/ux").ConstructComponentProps<{
3
- "emit:update:modelValue": (value: VelcronSectionInstance) => void;
4
- } & {
5
- "v-model"?: VelcronSectionInstance;
6
- } & {
7
- "onUpdate:modelValue"?: (value: VelcronSectionInstance) => void;
8
- } & {
9
- modelValue?: VelcronSectionInstance;
10
- }>) => any;
11
- export default _default;
@@ -1,11 +0,0 @@
1
- import { VelcronSectionInstance } from "@omnia/fx-models";
2
- declare const _default: (props: import("@omnia/fx/ux").ConstructComponentProps<{
3
- "emit:update:modelValue": (value: VelcronSectionInstance) => void;
4
- } & {
5
- "v-model"?: VelcronSectionInstance;
6
- } & {
7
- "onUpdate:modelValue"?: (value: VelcronSectionInstance) => void;
8
- } & {
9
- modelValue?: VelcronSectionInstance;
10
- }>) => any;
11
- export default _default;
@@ -1,12 +0,0 @@
1
- export declare const BorderSelectorStyles: {
2
- spacingPickerOuter: string;
3
- spacingPickerInner: string;
4
- spacingSeparator: string;
5
- spacingBackground: (selected: Boolean) => string;
6
- actionButtonContainer: string;
7
- commonStyles: string;
8
- topSpacing: string;
9
- bottomSpacing: string;
10
- topSelector: string;
11
- bottomSelector: string;
12
- };
@@ -1,11 +0,0 @@
1
- import { VelcronSectionInstance } from "@omnia/fx-models";
2
- declare const _default: (props: import("@omnia/fx/ux").ConstructComponentProps<{
3
- "emit:update:modelValue": (value: VelcronSectionInstance) => void;
4
- } & {
5
- "v-model"?: VelcronSectionInstance;
6
- } & {
7
- "onUpdate:modelValue"?: (value: VelcronSectionInstance) => void;
8
- } & {
9
- modelValue?: VelcronSectionInstance;
10
- }>) => any;
11
- export default _default;
@@ -1,14 +0,0 @@
1
- import { VelcronSectionInstance } from "@omnia/fx-models";
2
- type ToolbarVariant = "default" | "reference";
3
- declare const _default: (props: import("@omnia/fx/ux").ConstructComponentProps<{
4
- "emit:update:modelValue": (value: VelcronSectionInstance) => void;
5
- } & {
6
- "v-model"?: VelcronSectionInstance;
7
- } & {
8
- "onUpdate:modelValue"?: (value: VelcronSectionInstance) => void;
9
- } & {
10
- modelValue?: VelcronSectionInstance;
11
- } & {
12
- variant?: ToolbarVariant;
13
- }>) => any;
14
- export default _default;
@@ -1,4 +0,0 @@
1
- export declare const DefinitionToolbarStyles: {
2
- wrapper: string;
3
- overlay: string;
4
- };
@@ -1,14 +0,0 @@
1
- import { VelcronSectionInstance } from "@omnia/fx-models";
2
- type ToolbarVariant = "default" | "reference";
3
- declare const _default: (props: import("@omnia/fx/ux").ConstructComponentProps<{
4
- "emit:update:modelValue": (value: VelcronSectionInstance) => void;
5
- } & {
6
- "v-model"?: VelcronSectionInstance;
7
- } & {
8
- "onUpdate:modelValue"?: (value: VelcronSectionInstance) => void;
9
- } & {
10
- modelValue?: VelcronSectionInstance;
11
- } & {
12
- variant?: ToolbarVariant;
13
- }>) => any;
14
- export default _default;
@@ -1 +0,0 @@
1
- export * from "./DefinitionRegistrations";
@@ -1,6 +0,0 @@
1
- export declare const ContentEditorHooksCss: {
2
- activeItem: (toolbar: boolean) => string;
3
- hover: string;
4
- definitionWrapper: (appSelectors: any) => string;
5
- definitionToolbarWrapper: string;
6
- };
@@ -1,2 +0,0 @@
1
- import { EditorRenderingHooks } from "../models/EditorRenderingHooks";
2
- export declare function useContentEditorHooks(): EditorRenderingHooks;
@@ -1,24 +0,0 @@
1
- import { VNodeChild } from "vue";
2
- import { VelcronDefinition, VelcronRenderContext, VelcronSectionInstance } from "@omnia/fx-models";
3
- export interface EditorRenderingHooks {
4
- styles?: {
5
- activeItem?: (item: VelcronSectionInstance) => string;
6
- hover?: (item: VelcronSectionInstance) => string;
7
- };
8
- renderBorderSelectors?: (item: VelcronSectionInstance) => VNodeChild;
9
- renderActionMenu?: (item: VelcronSectionInstance) => VNodeChild;
10
- renderDefinitionToolbar?: (item: VelcronSectionInstance) => VNodeChild;
11
- renderEmptyEditor?: () => VNodeChild;
12
- definition?: {
13
- wrapperStyleExtensions?: ((item: VelcronDefinition, renderContext: VelcronRenderContext) => string);
14
- renderExtensions?: (item: VelcronDefinition, renderContext: VelcronRenderContext) => VNodeChild;
15
- onItemSelected?: (item: VelcronDefinition, renderContext: VelcronRenderContext) => void;
16
- };
17
- item?: {
18
- onItemClicked?: (item: VelcronSectionInstance) => void;
19
- onItemDblClicked?: (item: VelcronSectionInstance) => void;
20
- onMouseenter?: (item: VelcronSectionInstance) => void;
21
- onMouseleave?: (item: VelcronSectionInstance) => void;
22
- isActive?: (item: VelcronSectionInstance) => boolean;
23
- };
24
- }
@@ -1 +0,0 @@
1
- export * from "./EditorRenderingHooks";
@@ -1,222 +0,0 @@
1
- import { VelcronAppDefinition, VelcronDefinition, VelcronDefinitionRegistration, ContainerBlueprint, ContainerVariant, VelcronSectionInstance, guid, BorderSelectorActionRegistration } from "@omnia/fx-models";
2
- type InsertMode = "add" | "change";
3
- export interface InsertOptions {
4
- preInsert?: boolean;
5
- inserRelativeToActive?: boolean;
6
- insertMode: InsertMode;
7
- }
8
- export interface DefinitionSelecttionOptions {
9
- categoryFilters?: Array<guid>;
10
- }
11
- export declare const useVelcronContentEditorStore: () => {
12
- get: {
13
- contentAsVelcron: () => VelcronAppDefinition<object>[];
14
- contentAsSections: () => VelcronSectionInstance[];
15
- };
16
- state: {
17
- definitions: Array<VelcronSectionInstance>;
18
- activeDefinition: VelcronSectionInstance;
19
- definitionInFocus: boolean;
20
- fixedContentWidth: string;
21
- categoryFilters: guid[];
22
- rendererTypeFilters: guid[];
23
- showEditorToolbar: boolean;
24
- selectedDefinition: VelcronSectionInstance;
25
- toggleColorSchemaPreview: string;
26
- toggleContainerBlueprintPreview: ContainerVariant | ContainerBlueprint;
27
- toggleDefinitionPreview: VelcronDefinition;
28
- scrollToElementTrigger: {
29
- elementId: guid;
30
- scrollToEnd: boolean;
31
- };
32
- showOverlay: boolean;
33
- borderSelectorActions: BorderSelectorActionRegistration[];
34
- allowPreviewToggle: boolean;
35
- onGoingDragging: boolean;
36
- socialMode: boolean;
37
- showLoading: boolean;
38
- definitionSelector: {
39
- show: boolean;
40
- options: DefinitionSelecttionOptions;
41
- insertOptions: InsertOptions;
42
- };
43
- };
44
- events: {
45
- onMutatedDefinitions: import("@omnia/fx").MessageBusExposeOnlySubscription<VelcronSectionInstance[]>;
46
- onMutatedActiveDefinition: import("@omnia/fx").MessageBusExposeOnlySubscription<VelcronSectionInstance>;
47
- onMutatedDefinitionInFocus: import("@omnia/fx").MessageBusExposeOnlySubscription<boolean>;
48
- onMutatedFixedContentWidth: import("@omnia/fx").MessageBusExposeOnlySubscription<string>;
49
- onMutatedCategoryFilters: import("@omnia/fx").MessageBusExposeOnlySubscription<guid[]>;
50
- onMutatedRendererTypeFilters: import("@omnia/fx").MessageBusExposeOnlySubscription<guid[]>;
51
- onMutatedShowEditorToolbar: import("@omnia/fx").MessageBusExposeOnlySubscription<boolean>;
52
- onMutatedSelectedDefinition: import("@omnia/fx").MessageBusExposeOnlySubscription<VelcronSectionInstance>;
53
- onMutatedToggleColorSchemaPreview: import("@omnia/fx").MessageBusExposeOnlySubscription<string>;
54
- onMutatedToggleContainerBlueprintPreview: import("@omnia/fx").MessageBusExposeOnlySubscription<ContainerVariant | ContainerBlueprint>;
55
- onMutatedToggleDefinitionPreview: import("@omnia/fx").MessageBusExposeOnlySubscription<VelcronDefinition>;
56
- onMutatedScrollToElementTrigger: import("@omnia/fx").MessageBusExposeOnlySubscription<{
57
- elementId: guid;
58
- scrollToEnd: boolean;
59
- }>;
60
- onMutatedShowOverlay: import("@omnia/fx").MessageBusExposeOnlySubscription<boolean>;
61
- onMutatedBorderSelectorActions: import("@omnia/fx").MessageBusExposeOnlySubscription<BorderSelectorActionRegistration[]>;
62
- onMutatedAllowPreviewToggle: import("@omnia/fx").MessageBusExposeOnlySubscription<boolean>;
63
- onMutatedOnGoingDragging: import("@omnia/fx").MessageBusExposeOnlySubscription<boolean>;
64
- onMutatedSocialMode: import("@omnia/fx").MessageBusExposeOnlySubscription<boolean>;
65
- onMutatedShowLoading: import("@omnia/fx").MessageBusExposeOnlySubscription<boolean>;
66
- onMutatedDefinitionSelector: import("@omnia/fx").MessageBusExposeOnlySubscription<{
67
- show: boolean;
68
- options: DefinitionSelecttionOptions;
69
- insertOptions: InsertOptions;
70
- }>;
71
- } & Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>;
72
- actions: {
73
- onDispatching: {
74
- selectorActions: {
75
- subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
76
- };
77
- filters: {
78
- subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
79
- };
80
- settings: {
81
- subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
82
- };
83
- editor: {
84
- subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
85
- };
86
- section: {
87
- subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
88
- };
89
- definition: {
90
- subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
91
- };
92
- preview: {
93
- subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
94
- };
95
- };
96
- onDispatched: {
97
- selectorActions: {
98
- subscribe(fn: (result: {
99
- hideDefaultSelector: () => void;
100
- showCopySelector(): void;
101
- remove: (id: guid) => void;
102
- add: (action: BorderSelectorActionRegistration | Array<BorderSelectorActionRegistration>) => void;
103
- run: (action: BorderSelectorActionRegistration, options: InsertOptions) => void;
104
- }) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
105
- };
106
- filters: {
107
- subscribe(fn: (result: {
108
- setRendererTypeFilters: (filters: Array<guid>) => void;
109
- setCategoryFilters: (filters: Array<guid>) => void;
110
- }) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
111
- };
112
- settings: {
113
- subscribe(fn: (result: {
114
- setFixedContentWidth: (width: string) => void;
115
- }) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
116
- };
117
- editor: {
118
- subscribe(fn: (result: {
119
- showDefinitionSelector: (insertOptions: InsertOptions, selectionOptions?: DefinitionSelecttionOptions) => void;
120
- toggleEditorToolbar: (forceHide?: boolean) => void;
121
- setActiveDefinition: (definition: VelcronSectionInstance) => void;
122
- removeActiveDefinition: () => void;
123
- setSelectedDefinition: (definition: VelcronSectionInstance) => void;
124
- removeSelectedDefinition: () => void;
125
- setDragDropState: (onGoingDragging: boolean) => void;
126
- }) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
127
- };
128
- section: {
129
- subscribe(fn: (result: {
130
- update: (section: VelcronSectionInstance) => void;
131
- }) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
132
- };
133
- definition: {
134
- subscribe(fn: (result: {
135
- updateColorSchema: (definitionRegistration: VelcronSectionInstance, colorSchemaType: string) => void;
136
- addByRegistration: (definition: VelcronDefinitionRegistration, insertOptions: InsertOptions, setAsActive?: boolean) => VelcronSectionInstance;
137
- addBySection: (definitions: Array<VelcronSectionInstance>) => void;
138
- delete: (definition: VelcronSectionInstance) => void;
139
- deleteReference: (definition: VelcronSectionInstance) => any;
140
- change: (definitionRegistration: VelcronSectionInstance, newDefinitionId: guid, toggle?: boolean) => VelcronSectionInstance;
141
- update: (definition: VelcronSectionInstance, velcronDefinition: VelcronAppDefinition) => void;
142
- copy: (insertOptions: InsertOptions, setAsActive?: boolean) => VelcronSectionInstance;
143
- }) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
144
- };
145
- preview: {
146
- subscribe(fn: (result: {
147
- containerBlueprint: (definitionRegistration: VelcronSectionInstance, containerVariant: ContainerBlueprint | ContainerVariant, cancelPreview: boolean) => void;
148
- colorSchema: (definitionRegistration: VelcronSectionInstance, colorSchemaType: string, cancelPreview: boolean) => void;
149
- definition: (definitionRegistration: VelcronSectionInstance, newDefinitionId: guid, cancelPreview: boolean) => void;
150
- }) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
151
- };
152
- };
153
- onFailure: {
154
- selectorActions: {
155
- subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
156
- };
157
- filters: {
158
- subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
159
- };
160
- settings: {
161
- subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
162
- };
163
- editor: {
164
- subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
165
- };
166
- section: {
167
- subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
168
- };
169
- definition: {
170
- subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
171
- };
172
- preview: {
173
- subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
174
- };
175
- };
176
- } & {
177
- selectorActions: () => {
178
- hideDefaultSelector: () => void;
179
- showCopySelector(): void;
180
- remove: (id: guid) => void;
181
- add: (action: BorderSelectorActionRegistration | Array<BorderSelectorActionRegistration>) => void;
182
- run: (action: BorderSelectorActionRegistration, options: InsertOptions) => void;
183
- };
184
- filters: () => {
185
- setRendererTypeFilters: (filters: Array<guid>) => void;
186
- setCategoryFilters: (filters: Array<guid>) => void;
187
- };
188
- settings: () => {
189
- setFixedContentWidth: (width: string) => void;
190
- };
191
- editor: () => {
192
- showDefinitionSelector: (insertOptions: InsertOptions, selectionOptions?: DefinitionSelecttionOptions) => void;
193
- toggleEditorToolbar: (forceHide?: boolean) => void;
194
- setActiveDefinition: (definition: VelcronSectionInstance) => void;
195
- removeActiveDefinition: () => void;
196
- setSelectedDefinition: (definition: VelcronSectionInstance) => void;
197
- removeSelectedDefinition: () => void;
198
- setDragDropState: (onGoingDragging: boolean) => void;
199
- };
200
- section: () => {
201
- update: (section: VelcronSectionInstance) => void;
202
- };
203
- definition: () => {
204
- updateColorSchema: (definitionRegistration: VelcronSectionInstance, colorSchemaType: string) => void;
205
- addByRegistration: (definition: VelcronDefinitionRegistration, insertOptions: InsertOptions, setAsActive?: boolean) => VelcronSectionInstance;
206
- addBySection: (definitions: Array<VelcronSectionInstance>) => void;
207
- delete: (definition: VelcronSectionInstance) => void;
208
- deleteReference: (definition: VelcronSectionInstance) => any;
209
- change: (definitionRegistration: VelcronSectionInstance, newDefinitionId: guid, toggle?: boolean) => VelcronSectionInstance;
210
- update: (definition: VelcronSectionInstance, velcronDefinition: VelcronAppDefinition) => void;
211
- copy: (insertOptions: InsertOptions, setAsActive?: boolean) => VelcronSectionInstance;
212
- };
213
- preview: () => {
214
- containerBlueprint: (definitionRegistration: VelcronSectionInstance, containerVariant: ContainerBlueprint | ContainerVariant, cancelPreview: boolean) => void;
215
- colorSchema: (definitionRegistration: VelcronSectionInstance, colorSchemaType: string, cancelPreview: boolean) => void;
216
- definition: (definitionRegistration: VelcronSectionInstance, newDefinitionId: guid, cancelPreview: boolean) => void;
217
- };
218
- };
219
- } & {
220
- dispose?: () => void;
221
- };
222
- export {};