@omnia/fx 8.0.268-dev → 8.0.269-dev

Sign up to get free protection for your applications and to get access to all the features.
Files changed (121) 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/floweditor/FlowRendererPluginStore.d.ts +43 -0
  3. package/internal-do-not-import-from-here/stores/floweditor/index.d.ts +1 -0
  4. package/internal-do-not-import-from-here/ux/app/management/api/AppManagementApi.d.ts +1 -0
  5. package/internal-do-not-import-from-here/ux/aurora/components/viewtemplatepicker/ViewTemplatePicker.d.ts +6 -6
  6. package/internal-do-not-import-from-here/ux/aurora/store/SpacingBlueprintStore.d.ts +18 -18
  7. package/internal-do-not-import-from-here/ux/aurora/store/TypographyBlueprintStore.d.ts +18 -18
  8. package/internal-do-not-import-from-here/ux/{floweditor → flow/editor}/FlowEditor.d.ts +2 -2
  9. package/internal-do-not-import-from-here/ux/{floweditor → flow/editor}/commands/EditorCommands.d.ts +5 -5
  10. package/internal-do-not-import-from-here/ux/{floweditor → flow/editor}/commands/helpers/EditorNodeHelper.d.ts +1 -1
  11. package/internal-do-not-import-from-here/ux/{floweditor → flow/editor}/commands/helpers/HtmlNodehelper.d.ts +1 -1
  12. package/internal-do-not-import-from-here/ux/flow/editor/commands/helpers/index.d.ts +3 -0
  13. package/internal-do-not-import-from-here/ux/flow/editor/commands/index.d.ts +2 -0
  14. package/internal-do-not-import-from-here/ux/flow/editor/index.d.ts +5 -0
  15. package/internal-do-not-import-from-here/ux/{floweditor → flow/editor}/models/EditorModels.d.ts +0 -11
  16. package/internal-do-not-import-from-here/ux/{floweditor → flow/editor}/models/EditorPlugin.d.ts +4 -5
  17. package/internal-do-not-import-from-here/ux/flow/editor/models/index.d.ts +3 -0
  18. package/internal-do-not-import-from-here/ux/{floweditor → flow/editor}/parsers/HtmlParser.d.ts +2 -2
  19. package/internal-do-not-import-from-here/ux/{floweditor → flow/editor}/parsers/JSONParser.d.ts +2 -2
  20. package/internal-do-not-import-from-here/ux/flow/editor/parsers/index.d.ts +2 -0
  21. package/internal-do-not-import-from-here/ux/{floweditor → flow/editor}/plugins/DefineEditorPlugin.d.ts +1 -1
  22. package/internal-do-not-import-from-here/ux/flow/editor/plugins/bold/BoldPlugin.d.ts +3 -0
  23. package/internal-do-not-import-from-here/ux/{floweditor → flow/editor}/plugins/colorstyle/ColorConverter.d.ts +1 -1
  24. package/internal-do-not-import-from-here/ux/{floweditor → flow/editor}/plugins/colorstyle/ColorStylePlugin.d.ts +1 -1
  25. package/internal-do-not-import-from-here/ux/{floweditor → flow/editor}/plugins/elements/ElementConverter.d.ts +2 -2
  26. package/internal-do-not-import-from-here/ux/flow/editor/plugins/elements/ElementPlugin.d.ts +3 -0
  27. package/internal-do-not-import-from-here/ux/{floweditor → flow/editor}/plugins/eventhandlers/EditorEvents.d.ts +1 -1
  28. package/internal-do-not-import-from-here/ux/{floweditor → flow/editor}/plugins/eventhandlers/KeyboardEvents.d.ts +1 -1
  29. package/internal-do-not-import-from-here/ux/{floweditor → flow/editor}/plugins/eventhandlers/handlers/BackspaceHandler.d.ts +1 -1
  30. package/internal-do-not-import-from-here/ux/{floweditor → flow/editor}/plugins/eventhandlers/handlers/ClipboardHandler.d.ts +2 -2
  31. package/internal-do-not-import-from-here/ux/{floweditor → flow/editor}/plugins/eventhandlers/handlers/EnterHandler.d.ts +1 -1
  32. package/internal-do-not-import-from-here/ux/flow/editor/plugins/eventhandlers/handlers/index.d.ts +3 -0
  33. package/internal-do-not-import-from-here/ux/flow/editor/plugins/italic/ItalicPlugin.d.ts +3 -0
  34. package/internal-do-not-import-from-here/ux/flow/editor/plugins/sourceeditor/SourceEditorButton.d.ts +2 -0
  35. package/internal-do-not-import-from-here/ux/{floweditor → flow/editor}/plugins/sourceeditor/SourceEditorPlugin.d.ts +1 -1
  36. package/internal-do-not-import-from-here/ux/{floweditor → flow/editor}/plugins/testdata/TestDataPlugin.d.ts +1 -1
  37. package/internal-do-not-import-from-here/ux/{floweditor → flow/editor}/plugins/text/TextConverter.d.ts +1 -1
  38. package/internal-do-not-import-from-here/ux/flow/editor/plugins/text/TextPlugin.d.ts +3 -0
  39. package/internal-do-not-import-from-here/ux/flow/editor/plugins/typography/TypographyButton.d.ts +2 -0
  40. package/internal-do-not-import-from-here/ux/{floweditor → flow/editor}/plugins/typography/TypographyPlugin.d.ts +1 -1
  41. package/internal-do-not-import-from-here/ux/{floweditor → flow/editor}/plugins/velcron/VelcronPlugin.d.ts +2 -6
  42. package/internal-do-not-import-from-here/ux/flow/editor/rules/index.d.ts +1 -0
  43. package/internal-do-not-import-from-here/ux/{floweditor → flow/editor}/stores/FlowEditorStore.d.ts +24 -25
  44. package/internal-do-not-import-from-here/ux/{floweditor → flow/editor}/stores/FlowEditorToolbarStore.d.ts +125 -125
  45. package/internal-do-not-import-from-here/ux/flow/editor/stores/index.d.ts +2 -0
  46. package/internal-do-not-import-from-here/ux/flow/models/ColorFormatNode.d.ts +5 -0
  47. package/internal-do-not-import-from-here/ux/flow/models/ElementNode.d.ts +4 -0
  48. package/internal-do-not-import-from-here/ux/flow/models/FlowContent.d.ts +11 -0
  49. package/internal-do-not-import-from-here/ux/flow/models/TypographyNode.d.ts +5 -0
  50. package/internal-do-not-import-from-here/ux/flow/models/VelcronNode.d.ts +5 -0
  51. package/internal-do-not-import-from-here/ux/flow/models/index.d.ts +5 -0
  52. package/internal-do-not-import-from-here/ux/flow/renderer/FlowRenderer.css.d.ts +6 -0
  53. package/internal-do-not-import-from-here/ux/flow/renderer/FlowRenderer.d.ts +11 -0
  54. package/internal-do-not-import-from-here/ux/flow/renderer/PluginRegistrationHandler.d.ts +1 -0
  55. package/internal-do-not-import-from-here/ux/flow/renderer/index.d.ts +3 -0
  56. package/internal-do-not-import-from-here/ux/flow/renderer/models/Constants.d.ts +12 -0
  57. package/internal-do-not-import-from-here/ux/flow/renderer/models/FlowRendererContentPlugin.d.ts +6 -0
  58. package/internal-do-not-import-from-here/ux/flow/renderer/models/FlowRendererContext.d.ts +3 -0
  59. package/internal-do-not-import-from-here/ux/flow/renderer/models/FlowRendererPlugin.d.ts +3 -0
  60. package/internal-do-not-import-from-here/ux/flow/renderer/models/FlowRendererPluginContext.d.ts +7 -0
  61. package/internal-do-not-import-from-here/ux/flow/renderer/models/FlowRendererToHtmlContext.d.ts +8 -0
  62. package/internal-do-not-import-from-here/ux/flow/renderer/models/index.d.ts +6 -0
  63. package/internal-do-not-import-from-here/ux/flow/renderer/parsers/JSONParser.d.ts +8 -0
  64. package/internal-do-not-import-from-here/ux/flow/renderer/parsers/index.d.ts +1 -0
  65. package/internal-do-not-import-from-here/ux/flow/renderer/plugins/DefineRendererPlugin.d.ts +8 -0
  66. package/internal-do-not-import-from-here/ux/flow/renderer/plugins/PluginRegistrations.d.ts +1 -0
  67. package/internal-do-not-import-from-here/ux/flow/renderer/plugins/bold/BoldPlugin.d.ts +3 -0
  68. package/internal-do-not-import-from-here/ux/flow/renderer/plugins/colorstyle/ColorStylePlugin.d.ts +3 -0
  69. package/internal-do-not-import-from-here/ux/flow/renderer/plugins/elements/ElementPlugin.d.ts +3 -0
  70. package/internal-do-not-import-from-here/ux/flow/renderer/plugins/italic/ItalicPlugin.d.ts +3 -0
  71. package/internal-do-not-import-from-here/ux/flow/renderer/plugins/text/TextConverter.d.ts +5 -0
  72. package/internal-do-not-import-from-here/ux/flow/renderer/plugins/text/TextPlugin.d.ts +3 -0
  73. package/internal-do-not-import-from-here/ux/flow/renderer/plugins/typography/TypographyPlugin.d.ts +3 -0
  74. package/internal-do-not-import-from-here/ux/flow/renderer/plugins/velcron/VelcronPlugin.d.ts +9 -0
  75. package/internal-do-not-import-from-here/ux/flow/renderer/stores/FlowRendererStore.d.ts +109 -0
  76. package/internal-do-not-import-from-here/ux/flow/renderer/stores/index.d.ts +1 -0
  77. package/internal-do-not-import-from-here/ux/layoutcanvas/editor/layoutitemactiontoolbar/LayoutItemActionToolbar.d.ts +9 -129
  78. package/internal-do-not-import-from-here/ux/oxide/dialog/Dialog.d.ts +1 -1
  79. package/internal-do-not-import-from-here/ux/oxide/inputfield/InputField.d.ts +2 -4
  80. package/internal-do-not-import-from-here/ux/oxide/inputfield/InputField.stylex.d.ts +1 -0
  81. package/internal-do-not-import-from-here/ux/oxide/textarea/TextArea.d.ts +2 -2
  82. package/internal-do-not-import-from-here/ux/oxide/textarea/TextArea.stylex.d.ts +1 -0
  83. package/internal-do-not-import-from-here/ux/use/UseIcon.d.ts +1 -0
  84. package/internal-do-not-import-from-here/ux/velcron/components/definitionpicker/VelcronDefinitionPicker.d.ts +9 -9
  85. package/internal-do-not-import-from-here/ux/versionedlayout/editor/VersionedLayoutDefinitionEditorItem.d.ts +1 -0
  86. package/internal-do-not-import-from-here/wctypings.d.ts +28 -22
  87. package/package.json +2 -2
  88. package/internal-do-not-import-from-here/ux/floweditor/plugins/bold/BoldPlugin.d.ts +0 -3
  89. package/internal-do-not-import-from-here/ux/floweditor/plugins/colorstyle/ColorButton.d.ts +0 -7
  90. package/internal-do-not-import-from-here/ux/floweditor/plugins/elements/ElementPlugin.d.ts +0 -7
  91. package/internal-do-not-import-from-here/ux/floweditor/plugins/italic/ItalicPlugin.d.ts +0 -3
  92. package/internal-do-not-import-from-here/ux/floweditor/plugins/text/TextPlugin.d.ts +0 -3
  93. package/internal-do-not-import-from-here/ux/floweditor/plugins/typography/TypographyButton.d.ts +0 -7
  94. package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew/VelcronContentEditor.css.d.ts +0 -5
  95. package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew/VelcronContentEditor.d.ts +0 -89
  96. package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew/VelcronContentRenderer.d.ts +0 -80
  97. package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew/components/ActionMenu.css.d.ts +0 -4
  98. package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew/components/ActionMenu.d.ts +0 -11
  99. package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew/components/BorderSelector copy.d.ts +0 -11
  100. package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew/components/BorderSelector.css.d.ts +0 -12
  101. package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew/components/BorderSelector.d.ts +0 -11
  102. package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew/components/DefinitionToolbar copy.d.ts +0 -14
  103. package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew/components/DefinitionToolbar.css.d.ts +0 -4
  104. package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew/components/DefinitionToolbar.d.ts +0 -14
  105. package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew/editorHooks/ContentEditorHooks.css.d.ts +0 -6
  106. package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew/editorHooks/ContentEditorHooks.d.ts +0 -2
  107. package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew/markdownplugins/section/SectionRenderer.d.ts +0 -5
  108. package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew/markdownplugins/section/SectionRendererPlugin.d.ts +0 -5
  109. package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew/models/EditorRenderingHooks.d.ts +0 -24
  110. package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew/models/index.d.ts +0 -1
  111. package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew/stores/ContentEditorStore.d.ts +0 -249
  112. /package/internal-do-not-import-from-here/ux/{floweditor → flow/editor}/FlowEditor.css.d.ts +0 -0
  113. /package/internal-do-not-import-from-here/ux/{floweditor → flow/editor}/FlowEditorToolbar.css.d.ts +0 -0
  114. /package/internal-do-not-import-from-here/ux/{floweditor → flow/editor}/FlowEditorToolbar.d.ts +0 -0
  115. /package/internal-do-not-import-from-here/ux/{floweditor → flow/editor}/PluginRegistrationHandler.d.ts +0 -0
  116. /package/internal-do-not-import-from-here/ux/{floweditor → flow/editor}/commands/helpers/Editorhelper.d.ts +0 -0
  117. /package/internal-do-not-import-from-here/ux/{floweditor → flow/editor}/models/Constants.d.ts +0 -0
  118. /package/internal-do-not-import-from-here/ux/{floweditor/plugins/registrations → flow/editor/plugins}/PluginRegistrations.d.ts +0 -0
  119. /package/internal-do-not-import-from-here/ux/{floweditor/plugins/sourceeditor/SourceEditorButton.d.ts → flow/editor/plugins/colorstyle/ColorButton.d.ts} +0 -0
  120. /package/internal-do-not-import-from-here/ux/{floweditor → flow/editor}/plugins/eventhandlers/converters/WordConverter.d.ts +0 -0
  121. /package/internal-do-not-import-from-here/ux/{floweditor → flow/editor}/rules/EditorRules.d.ts +0 -0
@@ -1,249 +0,0 @@
1
- import { VelcronAppDefinition, VelcronDefinition, ContainerBlueprint, ContainerVariant, VelcronSectionInstance, guid, BorderSelectorActionRegistration, FlowEditorPluginSettings, VelcronDefinitionRegistrationWithoutApp } 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
- section: {
16
- byContentId(id: guid): VelcronSectionInstance;
17
- };
18
- };
19
- state: {
20
- definitions: Array<VelcronSectionInstance>;
21
- activeDefinition: VelcronSectionInstance;
22
- definitionInFocus: boolean;
23
- fixedContentWidth: string;
24
- categoryFilters: guid[];
25
- rendererTypeFilters: guid[];
26
- showEditorToolbar: boolean;
27
- selectedDefinition: VelcronSectionInstance;
28
- toggleColorSchemaPreview: string;
29
- toggleContainerBlueprintPreview: ContainerVariant | ContainerBlueprint;
30
- toggleDefinitionPreview: VelcronDefinition;
31
- scrollToElementTrigger: {
32
- elementId: guid;
33
- scrollToEnd: boolean;
34
- };
35
- showOverlay: boolean;
36
- borderSelectorActions: BorderSelectorActionRegistration[];
37
- allowPreviewToggle: boolean;
38
- onGoingDragging: boolean;
39
- socialMode: boolean;
40
- showLoading: boolean;
41
- definitionSelector: {
42
- show: boolean;
43
- options: DefinitionSelecttionOptions;
44
- insertOptions: InsertOptions;
45
- };
46
- };
47
- events: {
48
- onMutatedDefinitions: import("@omnia/fx").MessageBusExposeOnlySubscription<VelcronSectionInstance[]>;
49
- onMutatedActiveDefinition: import("@omnia/fx").MessageBusExposeOnlySubscription<VelcronSectionInstance>;
50
- onMutatedDefinitionInFocus: import("@omnia/fx").MessageBusExposeOnlySubscription<boolean>;
51
- onMutatedFixedContentWidth: import("@omnia/fx").MessageBusExposeOnlySubscription<string>;
52
- onMutatedCategoryFilters: import("@omnia/fx").MessageBusExposeOnlySubscription<guid[]>;
53
- onMutatedRendererTypeFilters: import("@omnia/fx").MessageBusExposeOnlySubscription<guid[]>;
54
- onMutatedShowEditorToolbar: import("@omnia/fx").MessageBusExposeOnlySubscription<boolean>;
55
- onMutatedSelectedDefinition: import("@omnia/fx").MessageBusExposeOnlySubscription<VelcronSectionInstance>;
56
- onMutatedToggleColorSchemaPreview: import("@omnia/fx").MessageBusExposeOnlySubscription<string>;
57
- onMutatedToggleContainerBlueprintPreview: import("@omnia/fx").MessageBusExposeOnlySubscription<ContainerVariant | ContainerBlueprint>;
58
- onMutatedToggleDefinitionPreview: import("@omnia/fx").MessageBusExposeOnlySubscription<VelcronDefinition>;
59
- onMutatedScrollToElementTrigger: import("@omnia/fx").MessageBusExposeOnlySubscription<{
60
- elementId: guid;
61
- scrollToEnd: boolean;
62
- }>;
63
- onMutatedShowOverlay: import("@omnia/fx").MessageBusExposeOnlySubscription<boolean>;
64
- onMutatedBorderSelectorActions: import("@omnia/fx").MessageBusExposeOnlySubscription<BorderSelectorActionRegistration[]>;
65
- onMutatedAllowPreviewToggle: import("@omnia/fx").MessageBusExposeOnlySubscription<boolean>;
66
- onMutatedOnGoingDragging: import("@omnia/fx").MessageBusExposeOnlySubscription<boolean>;
67
- onMutatedSocialMode: import("@omnia/fx").MessageBusExposeOnlySubscription<boolean>;
68
- onMutatedShowLoading: import("@omnia/fx").MessageBusExposeOnlySubscription<boolean>;
69
- onMutatedDefinitionSelector: import("@omnia/fx").MessageBusExposeOnlySubscription<{
70
- show: boolean;
71
- options: DefinitionSelecttionOptions;
72
- insertOptions: InsertOptions;
73
- }>;
74
- } & Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>;
75
- actions: {
76
- onDispatching: {
77
- setMarkdownEditorStore: {
78
- subscribe(fn: (store: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
79
- };
80
- plugins: {
81
- subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
82
- };
83
- selectorActions: {
84
- subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
85
- };
86
- filters: {
87
- subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
88
- };
89
- settings: {
90
- subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
91
- };
92
- editor: {
93
- subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
94
- };
95
- section: {
96
- subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
97
- };
98
- definition: {
99
- subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
100
- };
101
- preview: {
102
- subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
103
- };
104
- };
105
- onDispatched: {
106
- setMarkdownEditorStore: {
107
- subscribe(fn: (result: void, store: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
108
- };
109
- plugins: {
110
- subscribe(fn: (result: {
111
- register: (pluginSettings: FlowEditorPluginSettings | FlowEditorPluginSettings[]) => void;
112
- }) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
113
- };
114
- selectorActions: {
115
- subscribe(fn: (result: {
116
- hideDefaultSelector: () => void;
117
- showCopySelector(): void;
118
- remove: (id: guid) => void;
119
- add: (action: BorderSelectorActionRegistration | Array<BorderSelectorActionRegistration>) => void;
120
- run: (action: BorderSelectorActionRegistration, options: InsertOptions) => void;
121
- }) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
122
- };
123
- filters: {
124
- subscribe(fn: (result: {
125
- setRendererTypeFilters: (filters: Array<guid>) => void;
126
- setCategoryFilters: (filters: Array<guid>) => void;
127
- }) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
128
- };
129
- settings: {
130
- subscribe(fn: (result: {
131
- setFixedContentWidth: (width: string) => void;
132
- }) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
133
- };
134
- editor: {
135
- subscribe(fn: (result: {
136
- showDefinitionSelector: (insertOptions: InsertOptions, selectionOptions?: DefinitionSelecttionOptions) => void;
137
- toggleEditorToolbar: (forceHide?: boolean) => void;
138
- setActiveDefinition: (definition: VelcronSectionInstance) => void;
139
- removeActiveDefinition: () => void;
140
- setSelectedDefinition: (definition: VelcronSectionInstance) => void;
141
- removeSelectedDefinition: () => void;
142
- setDragDropState: (onGoingDragging: boolean) => void;
143
- }) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
144
- };
145
- section: {
146
- subscribe(fn: (result: {
147
- update: (section: VelcronSectionInstance) => void;
148
- }) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
149
- };
150
- definition: {
151
- subscribe(fn: (result: {
152
- updateColorSchema: (definitionRegistration: VelcronSectionInstance, colorSchemaType: string) => void;
153
- addByRegistration: (definition: VelcronDefinitionRegistrationWithoutApp, insertOptions: InsertOptions, setAsActive?: boolean) => void;
154
- addBySection: (definitions: Array<VelcronSectionInstance>) => void;
155
- delete: (definition: VelcronSectionInstance) => void;
156
- deleteReference: (definition: VelcronSectionInstance) => any;
157
- change: (definitionRegistration: VelcronSectionInstance, newDefinitionId: guid, toggle?: boolean) => VelcronSectionInstance;
158
- update: (definition: VelcronSectionInstance, velcronDefinition: VelcronAppDefinition) => void;
159
- copy: (insertOptions: InsertOptions, setAsActive?: boolean) => VelcronSectionInstance;
160
- }) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
161
- };
162
- preview: {
163
- subscribe(fn: (result: {
164
- containerBlueprint: (definitionRegistration: VelcronSectionInstance, containerVariant: ContainerBlueprint | ContainerVariant, cancelPreview: boolean) => void;
165
- colorSchema: (definitionRegistration: VelcronSectionInstance, colorSchemaType: string, cancelPreview: boolean) => void;
166
- definition: (definitionRegistration: VelcronSectionInstance, newDefinitionId: guid, cancelPreview: boolean) => void;
167
- }) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
168
- };
169
- };
170
- onFailure: {
171
- setMarkdownEditorStore: {
172
- subscribe(fn: (failureReason: any, store: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
173
- };
174
- plugins: {
175
- subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
176
- };
177
- selectorActions: {
178
- subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
179
- };
180
- filters: {
181
- subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
182
- };
183
- settings: {
184
- subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
185
- };
186
- editor: {
187
- subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
188
- };
189
- section: {
190
- subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
191
- };
192
- definition: {
193
- subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
194
- };
195
- preview: {
196
- subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
197
- };
198
- };
199
- } & {
200
- setMarkdownEditorStore(store: any): void;
201
- plugins: () => {
202
- register: (pluginSettings: FlowEditorPluginSettings | FlowEditorPluginSettings[]) => void;
203
- };
204
- selectorActions: () => {
205
- hideDefaultSelector: () => void;
206
- showCopySelector(): void;
207
- remove: (id: guid) => void;
208
- add: (action: BorderSelectorActionRegistration | Array<BorderSelectorActionRegistration>) => void;
209
- run: (action: BorderSelectorActionRegistration, options: InsertOptions) => void;
210
- };
211
- filters: () => {
212
- setRendererTypeFilters: (filters: Array<guid>) => void;
213
- setCategoryFilters: (filters: Array<guid>) => void;
214
- };
215
- settings: () => {
216
- setFixedContentWidth: (width: string) => void;
217
- };
218
- editor: () => {
219
- showDefinitionSelector: (insertOptions: InsertOptions, selectionOptions?: DefinitionSelecttionOptions) => void;
220
- toggleEditorToolbar: (forceHide?: boolean) => void;
221
- setActiveDefinition: (definition: VelcronSectionInstance) => void;
222
- removeActiveDefinition: () => void;
223
- setSelectedDefinition: (definition: VelcronSectionInstance) => void;
224
- removeSelectedDefinition: () => void;
225
- setDragDropState: (onGoingDragging: boolean) => void;
226
- };
227
- section: () => {
228
- update: (section: VelcronSectionInstance) => void;
229
- };
230
- definition: () => {
231
- updateColorSchema: (definitionRegistration: VelcronSectionInstance, colorSchemaType: string) => void;
232
- addByRegistration: (definition: VelcronDefinitionRegistrationWithoutApp, insertOptions: InsertOptions, setAsActive?: boolean) => void;
233
- addBySection: (definitions: Array<VelcronSectionInstance>) => void;
234
- delete: (definition: VelcronSectionInstance) => void;
235
- deleteReference: (definition: VelcronSectionInstance) => any;
236
- change: (definitionRegistration: VelcronSectionInstance, newDefinitionId: guid, toggle?: boolean) => VelcronSectionInstance;
237
- update: (definition: VelcronSectionInstance, velcronDefinition: VelcronAppDefinition) => void;
238
- copy: (insertOptions: InsertOptions, setAsActive?: boolean) => VelcronSectionInstance;
239
- };
240
- preview: () => {
241
- containerBlueprint: (definitionRegistration: VelcronSectionInstance, containerVariant: ContainerBlueprint | ContainerVariant, cancelPreview: boolean) => void;
242
- colorSchema: (definitionRegistration: VelcronSectionInstance, colorSchemaType: string, cancelPreview: boolean) => void;
243
- definition: (definitionRegistration: VelcronSectionInstance, newDefinitionId: guid, cancelPreview: boolean) => void;
244
- };
245
- };
246
- } & {
247
- dispose?: () => void;
248
- };
249
- export {};