@omnia/fx 8.0.265-dev → 8.0.266-dev

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (97) hide show
  1. package/internal-do-not-import-from-here/stores/floweditor/FlowEditorPluginStore.d.ts +1 -0
  2. package/internal-do-not-import-from-here/ux/appprovisioning/appimageinput/AppImageInput.d.ts +4 -0
  3. package/internal-do-not-import-from-here/ux/aurora/designkits/default/DefinitionRegistrations.d.ts +0 -1
  4. package/internal-do-not-import-from-here/ux/aurora/designkits/pages/DefinitionRegistrations.d.ts +0 -1
  5. package/internal-do-not-import-from-here/ux/aurora/store/SpacingBlueprintStore.d.ts +36 -0
  6. package/internal-do-not-import-from-here/ux/aurora/store/TypographyBlueprintStore.d.ts +36 -0
  7. package/internal-do-not-import-from-here/ux/features/FeatureActivation.d.ts +1 -1
  8. package/internal-do-not-import-from-here/ux/floweditor/FlowEditor.css.d.ts +5 -5
  9. package/internal-do-not-import-from-here/ux/floweditor/commands/EditorCommands.d.ts +62 -16
  10. package/internal-do-not-import-from-here/ux/floweditor/commands/helpers/EditorNodeHelper.d.ts +3 -2
  11. package/internal-do-not-import-from-here/ux/floweditor/commands/helpers/Editorhelper.d.ts +13 -5
  12. package/internal-do-not-import-from-here/ux/floweditor/commands/helpers/HtmlNodehelper.d.ts +22 -6
  13. package/internal-do-not-import-from-here/ux/floweditor/models/Constants.d.ts +14 -0
  14. package/internal-do-not-import-from-here/ux/floweditor/models/EditorPlugin.d.ts +10 -0
  15. package/internal-do-not-import-from-here/ux/floweditor/plugins/elements/ElementPlugin.d.ts +7 -0
  16. package/internal-do-not-import-from-here/ux/floweditor/plugins/eventhandlers/EditorEvents.d.ts +4 -0
  17. package/internal-do-not-import-from-here/ux/floweditor/plugins/eventhandlers/KeyboardEvents.d.ts +4 -0
  18. package/internal-do-not-import-from-here/ux/floweditor/plugins/eventhandlers/handlers/BackspaceHandler.d.ts +4 -0
  19. package/internal-do-not-import-from-here/ux/floweditor/plugins/eventhandlers/handlers/ClipboardHandler.d.ts +4 -0
  20. package/internal-do-not-import-from-here/ux/floweditor/plugins/eventhandlers/handlers/EnterHandler.d.ts +4 -0
  21. package/internal-do-not-import-from-here/ux/floweditor/plugins/sourceeditor/SourceEditorPlugin.d.ts +2 -1
  22. package/internal-do-not-import-from-here/ux/floweditor/plugins/testdata/TestDataPlugin.d.ts +2 -1
  23. package/internal-do-not-import-from-here/ux/floweditor/rules/EditorRules.d.ts +7 -0
  24. package/internal-do-not-import-from-here/ux/floweditor/stores/FlowEditorStore.d.ts +197 -27
  25. package/internal-do-not-import-from-here/ux/floweditor/stores/FlowEditorToolbarStore.d.ts +985 -135
  26. package/internal-do-not-import-from-here/ux/hub/feed/definitions/CommunityUpdate.d.ts +0 -2
  27. package/internal-do-not-import-from-here/ux/hub/feed/definitions/DefinitionRegistrations.d.ts +0 -1
  28. package/internal-do-not-import-from-here/ux/hub/feed/definitions/DocumentReview.d.ts +0 -2
  29. package/internal-do-not-import-from-here/ux/hub/feed/definitions/NewsArticleTemplate.d.ts +0 -2
  30. package/internal-do-not-import-from-here/ux/hub/feed/definitions/QuickPoll.d.ts +0 -2
  31. package/internal-do-not-import-from-here/ux/hub/feed/definitions/Reach.d.ts +0 -2
  32. package/internal-do-not-import-from-here/ux/hub/feed/definitions/UpdatedProcess.d.ts +0 -2
  33. package/internal-do-not-import-from-here/ux/identities/loc/Localize.d.ts +1 -0
  34. package/internal-do-not-import-from-here/ux/oxide/select/Select.d.ts +1 -1
  35. package/internal-do-not-import-from-here/ux/properties/property-picker/PropertyPicker.d.ts +18 -1
  36. package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew/stores/ContentEditorStore.d.ts +3 -3
  37. package/internal-do-not-import-from-here/ux/velcron/components/definitionpicker/VelcronDefinitionPicker.d.ts +5 -1
  38. package/internal-do-not-import-from-here/ux/velcron/core/models/VelcronDefinitions.d.ts +3 -3
  39. package/internal-do-not-import-from-here/ux/velcron/core/models/VelcronPropertyEditorDefinitions.d.ts +3 -3
  40. package/internal-do-not-import-from-here/ux/velcron/core/parser/VelcronConstants.d.ts +1 -1
  41. package/internal-do-not-import-from-here/ux/velcron/core/templatebuilder/VelcronEditorBuilder.d.ts +1 -1
  42. package/internal-do-not-import-from-here/ux/velcron/{components/contenteditor/models → definitions}/VelcronDefinitionIds.d.ts +1 -1
  43. package/internal-do-not-import-from-here/ux/velcron/definitions/index.d.ts +1 -1
  44. package/internal-do-not-import-from-here/ux/velcron/definitions/social/index.d.ts +0 -0
  45. package/internal-do-not-import-from-here/ux/velcron/editor/models/ComponentDescriptors.d.ts +1 -1
  46. package/internal-do-not-import-from-here/ux/velcron/editor/stores/VelcronEditorStore.d.ts +7 -7
  47. package/internal-do-not-import-from-here/ux/velcron/renderer/components/{Markdown.d.ts → Flow.d.ts} +6 -6
  48. package/internal-do-not-import-from-here/ux/velcron/renderer/editors/MarkdownEditor.d.ts +6 -6
  49. package/internal-do-not-import-from-here/ux/velcron/stores/VelcronDefinitionStore.d.ts +47 -7
  50. package/internal-do-not-import-from-here/wctypings.d.ts +0 -16
  51. package/package.json +2 -2
  52. package/internal-do-not-import-from-here/ux/floweditor/commands/ClipboardCommands.d.ts +0 -4
  53. package/internal-do-not-import-from-here/ux/velcron/components/contenteditor/VelcronContentEditor.css.d.ts +0 -6
  54. package/internal-do-not-import-from-here/ux/velcron/components/contenteditor/VelcronContentEditor.d.ts +0 -949
  55. package/internal-do-not-import-from-here/ux/velcron/components/contenteditor/definitions/content/Quote.d.ts +0 -2
  56. package/internal-do-not-import-from-here/ux/velcron/components/contenteditor/definitions/index.d.ts +0 -2
  57. package/internal-do-not-import-from-here/ux/velcron/components/contenteditor/definitions/social/Image.d.ts +0 -2
  58. package/internal-do-not-import-from-here/ux/velcron/components/contenteditor/definitions/social/MicroBlog.d.ts +0 -3
  59. package/internal-do-not-import-from-here/ux/velcron/components/contenteditor/definitions/social/MicroBlog2.d.ts +0 -3
  60. package/internal-do-not-import-from-here/ux/velcron/components/contenteditor/definitions/social/Praise.d.ts +0 -2
  61. package/internal-do-not-import-from-here/ux/velcron/components/contenteditor/definitions/social/SocialText.d.ts +0 -2
  62. package/internal-do-not-import-from-here/ux/velcron/components/contenteditor/definitions/social/index.d.ts +0 -4
  63. package/internal-do-not-import-from-here/ux/velcron/components/contenteditor/models/ContentDefinitionRegistration.d.ts +0 -9
  64. package/internal-do-not-import-from-here/ux/velcron/components/contenteditor/models/index.d.ts +0 -2
  65. package/internal-do-not-import-from-here/ux/velcron/components/contenteditor/stores/ContentEditorStore.d.ts +0 -180
  66. package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew/definitions/index.d.ts +0 -1
  67. package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew_bak/VelcronContentEditor.css.d.ts +0 -5
  68. package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew_bak/VelcronContentEditor.d.ts +0 -1133
  69. package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew_bak/VelcronContentRenderer.d.ts +0 -80
  70. package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew_bak/components/ActionMenu.css.d.ts +0 -4
  71. package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew_bak/components/ActionMenu.d.ts +0 -11
  72. package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew_bak/components/BorderSelector copy.d.ts +0 -11
  73. package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew_bak/components/BorderSelector.css.d.ts +0 -12
  74. package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew_bak/components/BorderSelector.d.ts +0 -11
  75. package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew_bak/components/DefinitionToolbar copy.d.ts +0 -14
  76. package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew_bak/components/DefinitionToolbar.css.d.ts +0 -4
  77. package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew_bak/components/DefinitionToolbar.d.ts +0 -14
  78. package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew_bak/definitions/DefinitionRegistrations.d.ts +0 -1
  79. package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew_bak/definitions/index.d.ts +0 -1
  80. package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew_bak/editorHooks/ContentEditorHooks.css.d.ts +0 -6
  81. package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew_bak/editorHooks/ContentEditorHooks.d.ts +0 -2
  82. package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew_bak/models/EditorRenderingHooks.d.ts +0 -24
  83. package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew_bak/models/index.d.ts +0 -1
  84. package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew_bak/stores/ContentEditorStore.d.ts +0 -222
  85. /package/internal-do-not-import-from-here/ux/{aurora/RegistrationHandlerDefinitions.d.ts → velcron/apis/VelcronCategoriesHandler.d.ts} +0 -0
  86. /package/internal-do-not-import-from-here/ux/velcron/{components/contenteditor/DefinitionRegistrations.d.ts → apis/VelcronDefinitionsHandler.d.ts} +0 -0
  87. /package/internal-do-not-import-from-here/ux/velcron/{registrations → definitions}/CategoryRegistrations.d.ts +0 -0
  88. /package/internal-do-not-import-from-here/ux/velcron/{components/contenteditor/definitions → definitions}/content/Image.d.ts +0 -0
  89. /package/internal-do-not-import-from-here/ux/velcron/{components/contenteditor/definitions → definitions}/content/ImageText.d.ts +0 -0
  90. /package/internal-do-not-import-from-here/ux/velcron/{components/contenteditorNew/definitions/DefinitionRegistrations.d.ts → definitions/content/Quote.d.ts} +0 -0
  91. /package/internal-do-not-import-from-here/ux/velcron/{components/contenteditor/definitions → definitions}/content/Text.d.ts +0 -0
  92. /package/internal-do-not-import-from-here/ux/velcron/{components/contenteditor/definitions → definitions}/content/index.d.ts +0 -0
  93. /package/internal-do-not-import-from-here/ux/{aurora/designkits/default/definitions/content → velcron/definitions/social}/Image.d.ts +0 -0
  94. /package/internal-do-not-import-from-here/ux/{aurora/designkits/default/definitions/content/ImageText.d.ts → velcron/definitions/social/MicroBlog.d.ts} +0 -0
  95. /package/internal-do-not-import-from-here/ux/{aurora/designkits/default/definitions/content/Quote.d.ts → velcron/definitions/social/MicroBlog2.d.ts} +0 -0
  96. /package/internal-do-not-import-from-here/ux/{aurora/designkits/default/definitions/content/Text.d.ts → velcron/definitions/social/Praise.d.ts} +0 -0
  97. /package/internal-do-not-import-from-here/ux/{aurora/designkits/default/definitions/content/index.d.ts → velcron/definitions/social/SocialText.d.ts} +0 -0
@@ -1,2 +0,0 @@
1
- import { VelcronDefinitionRegistration } from "@omnia/fx-models";
2
- export declare const CommunityUpdate: VelcronDefinitionRegistration;
@@ -1,2 +0,0 @@
1
- import { VelcronDefinitionRegistration } from "@omnia/fx-models";
2
- export declare const DocumentReview: VelcronDefinitionRegistration;
@@ -1,2 +0,0 @@
1
- import { VelcronDefinitionRegistration } from "@omnia/fx-models";
2
- export declare const NewsArticleTemplate: VelcronDefinitionRegistration;
@@ -1,2 +0,0 @@
1
- import { VelcronDefinitionRegistration } from "@omnia/fx-models";
2
- export declare const QuickPoll: VelcronDefinitionRegistration;
@@ -1,2 +0,0 @@
1
- import { VelcronDefinitionRegistration } from "@omnia/fx-models";
2
- export declare const Reach: VelcronDefinitionRegistration;
@@ -1,2 +0,0 @@
1
- import { VelcronDefinitionRegistration } from "@omnia/fx-models";
2
- export declare const UpdatedProcess: VelcronDefinitionRegistration;
@@ -41,5 +41,6 @@ export declare namespace IdentitiesLocalization {
41
41
  IdentityExternalMappings: {
42
42
  SharePointAllInternalExceptExternal: string;
43
43
  };
44
+ System: string;
44
45
  }
45
46
  }
@@ -1,6 +1,6 @@
1
+ import { IIcon, OSelectRenderingItem, OSelectTypes } from "@omnia/fx-models";
1
2
  import { DefineEmit, DefineProp, DefinePropTheming, DefineSlot, DefineType, DefineVModel, ItemType, ItemValueType, ValidationRule } from "@omnia/fx/ux";
2
3
  import { VNodeChild } from "vue";
3
- import { IIcon, OSelectRenderingItem, OSelectTypes } from "@omnia/fx-models";
4
4
  import { VSelectSlots } from "../../ComponentTypings";
5
5
  export interface OSelectSlots extends Omit<VSelectSlots, "item" | "selection" | "chip" | "append-item"> {
6
6
  chip?: (item: OSelectRenderingItem, index: Number) => VNodeChild;
@@ -1,4 +1,4 @@
1
- import { guid } from "@omnia/fx-models";
1
+ import { guid, PropertyDefinition } from "@omnia/fx-models";
2
2
  import { IDataSourcePropertySelection } from "@omnia/fx/ux";
3
3
  declare const _default: {
4
4
  new (...args: any[]): import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
@@ -13,6 +13,10 @@ declare const _default: {
13
13
  type: import("vue").PropType<guid[]>;
14
14
  required: false;
15
15
  };
16
+ selectableProperties: {
17
+ type: import("vue").PropType<guid[] | PropertyDefinition<any, any, any, import("@omnia/fx-models").PropertySetupBase>[]>;
18
+ required: false;
19
+ };
16
20
  selectableDataSources: {
17
21
  type: import("vue").PropType<guid[]>;
18
22
  required: false;
@@ -53,6 +57,10 @@ declare const _default: {
53
57
  type: import("vue").PropType<guid[]>;
54
58
  required: false;
55
59
  };
60
+ selectableProperties: {
61
+ type: import("vue").PropType<guid[] | PropertyDefinition<any, any, any, import("@omnia/fx-models").PropertySetupBase>[]>;
62
+ required: false;
63
+ };
56
64
  selectableDataSources: {
57
65
  type: import("vue").PropType<guid[]>;
58
66
  required: false;
@@ -100,6 +108,10 @@ declare const _default: {
100
108
  type: import("vue").PropType<guid[]>;
101
109
  required: false;
102
110
  };
111
+ selectableProperties: {
112
+ type: import("vue").PropType<guid[] | PropertyDefinition<any, any, any, import("@omnia/fx-models").PropertySetupBase>[]>;
113
+ required: false;
114
+ };
103
115
  selectableDataSources: {
104
116
  type: import("vue").PropType<guid[]>;
105
117
  required: false;
@@ -144,6 +156,10 @@ declare const _default: {
144
156
  type: import("vue").PropType<guid[]>;
145
157
  required: false;
146
158
  };
159
+ selectableProperties: {
160
+ type: import("vue").PropType<guid[] | PropertyDefinition<any, any, any, import("@omnia/fx-models").PropertySetupBase>[]>;
161
+ required: false;
162
+ };
147
163
  selectableDataSources: {
148
164
  type: import("vue").PropType<guid[]>;
149
165
  required: false;
@@ -181,6 +197,7 @@ declare const _default: {
181
197
  hideConfiguration?: boolean;
182
198
  selectionProperty?: IDataSourcePropertySelection;
183
199
  selectableDataSources?: guid[];
200
+ selectableProperties?: guid[] | PropertyDefinition<any, any, any, import("@omnia/fx-models").PropertySetupBase>[];
184
201
  selectablePropertyConverters?: guid[];
185
202
  hideLabelIfSingleSource?: boolean;
186
203
  onDataSourcePropertySelected?: (selection: IDataSourcePropertySelection, allowEdit: boolean) => Promise<void>;
@@ -1,4 +1,4 @@
1
- import { VelcronAppDefinition, VelcronDefinition, VelcronDefinitionRegistration, ContainerBlueprint, ContainerVariant, VelcronSectionInstance, guid, BorderSelectorActionRegistration, FlowEditorPluginSettings } from "@omnia/fx-models";
1
+ import { VelcronAppDefinition, VelcronDefinition, ContainerBlueprint, ContainerVariant, VelcronSectionInstance, guid, BorderSelectorActionRegistration, FlowEditorPluginSettings, VelcronDefinitionRegistrationWithoutApp } from "@omnia/fx-models";
2
2
  type InsertMode = "add" | "change";
3
3
  export interface InsertOptions {
4
4
  preInsert?: boolean;
@@ -150,7 +150,7 @@ export declare const useVelcronContentEditorStore: () => {
150
150
  definition: {
151
151
  subscribe(fn: (result: {
152
152
  updateColorSchema: (definitionRegistration: VelcronSectionInstance, colorSchemaType: string) => void;
153
- addByRegistration: (definition: VelcronDefinitionRegistration, insertOptions: InsertOptions, setAsActive?: boolean) => void;
153
+ addByRegistration: (definition: VelcronDefinitionRegistrationWithoutApp, insertOptions: InsertOptions, setAsActive?: boolean) => void;
154
154
  addBySection: (definitions: Array<VelcronSectionInstance>) => void;
155
155
  delete: (definition: VelcronSectionInstance) => void;
156
156
  deleteReference: (definition: VelcronSectionInstance) => any;
@@ -229,7 +229,7 @@ export declare const useVelcronContentEditorStore: () => {
229
229
  };
230
230
  definition: () => {
231
231
  updateColorSchema: (definitionRegistration: VelcronSectionInstance, colorSchemaType: string) => void;
232
- addByRegistration: (definition: VelcronDefinitionRegistration, insertOptions: InsertOptions, setAsActive?: boolean) => void;
232
+ addByRegistration: (definition: VelcronDefinitionRegistrationWithoutApp, insertOptions: InsertOptions, setAsActive?: boolean) => void;
233
233
  addBySection: (definitions: Array<VelcronSectionInstance>) => void;
234
234
  delete: (definition: VelcronSectionInstance) => void;
235
235
  deleteReference: (definition: VelcronSectionInstance) => any;
@@ -10,6 +10,7 @@ declare const _default: {
10
10
  }>;
11
11
  allowBuiltIn: {
12
12
  type: import("vue").PropType<boolean>;
13
+ required: false;
13
14
  };
14
15
  exclusions: {
15
16
  type: import("vue").PropType<guid[]>;
@@ -133,6 +134,7 @@ declare const _default: {
133
134
  }>;
134
135
  allowBuiltIn: {
135
136
  type: import("vue").PropType<boolean>;
137
+ required: false;
136
138
  };
137
139
  exclusions: {
138
140
  type: import("vue").PropType<guid[]>;
@@ -259,6 +261,7 @@ declare const _default: {
259
261
  }>;
260
262
  allowBuiltIn: {
261
263
  type: import("vue").PropType<boolean>;
264
+ required: false;
262
265
  };
263
266
  exclusions: {
264
267
  type: import("vue").PropType<guid[]>;
@@ -382,6 +385,7 @@ declare const _default: {
382
385
  }>;
383
386
  allowBuiltIn: {
384
387
  type: import("vue").PropType<boolean>;
388
+ required: false;
385
389
  };
386
390
  exclusions: {
387
391
  type: import("vue").PropType<guid[]>;
@@ -577,9 +581,9 @@ declare const _default: {
577
581
  };
578
582
  variant?: Variant;
579
583
  allowEdit?: boolean;
580
- previewState?: VelcronState;
581
584
  categoryFilters?: guid[];
582
585
  renderTypeFilters?: guid[];
586
+ previewState?: VelcronState;
583
587
  exclusions?: guid[];
584
588
  allowBuiltIn?: boolean;
585
589
  }>, "onUpdate:modelValue" | "onAdd" | "onSelected" | "onDefinition:enter" | "onDefinition:leave"> & {
@@ -27,7 +27,7 @@ export interface BuiltInComponentRenderers {
27
27
  "dialog": unknown;
28
28
  "icon": unknown;
29
29
  "chip": unknown;
30
- "markdown": unknown;
30
+ "flow": unknown;
31
31
  "slot": unknown;
32
32
  "property": unknown;
33
33
  "checkbox": unknown;
@@ -277,8 +277,8 @@ export interface VelcronIconDefinition extends VelcronDefinition, VelcronColorSt
277
277
  events?: VelcronOnPressEvent;
278
278
  blueprint?: VelcronBindableProp<IconBlueprint>;
279
279
  }
280
- export interface VelcronMarkdownDefinition extends VelcronDefinition, VelcronColorStyling, VelcronTextStyling {
281
- type: "markdown";
280
+ export interface VelcronFlowDefinition extends VelcronDefinition, VelcronColorStyling, VelcronTextStyling {
281
+ type: "flow";
282
282
  value?: VelcronBindableProp<string>;
283
283
  placeholder?: VelcronBindableProp<string>;
284
284
  events?: VelcronOnUpdatedEvent;
@@ -13,7 +13,7 @@ export interface VelcronSliderPropertyEditorSettings {
13
13
  export interface VelcronTypographyEditorSettings {
14
14
  type: "title" | "text";
15
15
  }
16
- export interface VelcronMarkdownEditorSettings {
16
+ export interface VelcronFlowEditorSettings {
17
17
  placeholder: string;
18
18
  }
19
19
  export interface VelcronSpacingEditorSettings {
@@ -78,8 +78,8 @@ export interface VelcronColorSchemaPropertyEditor extends VelcronEditor<any> {
78
78
  export interface VelcronIconPropertyEditor extends VelcronEditor<any> {
79
79
  type: "icon";
80
80
  }
81
- export interface VelcronMarkdownPropertyEditor extends VelcronEditor<VelcronMarkdownEditorSettings> {
82
- type: "markdown";
81
+ export interface VelcronFlowPropertyEditor extends VelcronEditor<VelcronFlowEditorSettings> {
82
+ type: "flow";
83
83
  }
84
84
  export interface VelcronImagePropertyEditor extends VelcronEditor<any> {
85
85
  type: "image";
@@ -16,7 +16,7 @@ export declare const VelcronConstants: {
16
16
  dialog: string;
17
17
  icon: string;
18
18
  chip: string;
19
- markdown: string;
19
+ flow: string;
20
20
  slot: string;
21
21
  property: string;
22
22
  checkbox: string;
@@ -7,7 +7,7 @@ export declare class VelcronEditorBuilder {
7
7
  spacingEditor: (name: string, stateMapping: string, individualSelection?: boolean) => VelcronEditorBuilder;
8
8
  imageEditor: (name: string, stateMapping: string) => VelcronEditorBuilder;
9
9
  colorSchemaEditor: (name: string, stateMapping: string) => VelcronEditorBuilder;
10
- markdownEditor: (name: string, stateMapping: string, placeholder?: string) => VelcronEditorBuilder;
10
+ flow: (name: string, stateMapping: string, placeholder?: string) => VelcronEditorBuilder;
11
11
  textEditor: (name: string, stateMapping: string, typographyType: TypographyType, placeholder?: string) => VelcronEditorBuilder;
12
12
  blockHeaderEditor: () => VelcronEditorBuilder;
13
13
  typographyEditor: (stateMapping: string, settings: VelcronTypographyEditorSettings) => VelcronEditorBuilder;
@@ -1,5 +1,5 @@
1
1
  import { guid } from "@omnia/fx-models";
2
- export declare const VelcronDefinitionIds: {
2
+ export declare const velcronDefinitionIds: {
3
3
  content: {
4
4
  image: guid;
5
5
  imageLeftText: guid;
@@ -1 +1 @@
1
- export * from "./praise";
1
+ export * from "./VelcronDefinitionIds";
@@ -12,7 +12,7 @@ export declare const VelcronColumnComponentDescriptor: VelcronComponentDescripto
12
12
  export declare const VelcronDialogComponentDescriptor: VelcronComponentDescriptor;
13
13
  export declare const VelcronIconComponentDescriptor: VelcronComponentDescriptor;
14
14
  export declare const VelcronChipComponentDescriptor: VelcronComponentDescriptor;
15
- export declare const VelcronMarkdownComponentDescriptor: VelcronComponentDescriptor;
15
+ export declare const VelcronFlowComponentDescriptor: VelcronComponentDescriptor;
16
16
  export declare const VelcronReferenceComponentDescriptor: VelcronComponentDescriptor;
17
17
  export declare const VelcronSliderComponentDescriptor: VelcronComponentDescriptor;
18
18
  export declare const VelcronEditorComponentDescriptor: VelcronComponentDescriptor;
@@ -1,4 +1,4 @@
1
- import { guid, TreeViewItem, VelcronAppDefinition, VelcronDefinition, VelcronDefinitionRegistration } from "@omnia/fx-models";
1
+ import { guid, TreeViewItem, VelcronAppDefinition, VelcronDefinition, VelcronDefinitionRegistrationWithoutApp } from "@omnia/fx-models";
2
2
  import { AppTreeItem, AppValidationState, EditorAppTreeItem, StatePropertyAppTreeItem, editorModes } from "../models/Shared";
3
3
  import { CodeEditorState, VelcronComponentDescriptor, codeEditorTabs, AddVelcronComponentMode } from "../models";
4
4
  import { ThemeDefinitionV2, VelcronRenderContext, VelcronEditor } from "../../core";
@@ -38,7 +38,7 @@ export declare const useVelcronEditorStore: () => {
38
38
  appData: {};
39
39
  appAsJson: string;
40
40
  appDefinition: VelcronAppDefinition;
41
- appRegistration: VelcronDefinitionRegistration;
41
+ appRegistration: VelcronDefinitionRegistrationWithoutApp;
42
42
  appCacheKey: guid;
43
43
  appTreeOpenIds: Array<string>;
44
44
  treeViewItems: Array<TreeViewItem<AppTreeItem>>;
@@ -61,7 +61,7 @@ export declare const useVelcronEditorStore: () => {
61
61
  subscribe(fn: (tree: TreeViewItem<AppTreeItem>[]) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
62
62
  };
63
63
  setAppRegistration: {
64
- subscribe(fn: (registration: VelcronDefinitionRegistration<object>) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
64
+ subscribe(fn: (registration: VelcronDefinitionRegistrationWithoutApp) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
65
65
  };
66
66
  setAppDefinition: {
67
67
  subscribe(fn: (newDefinition: VelcronAppDefinition<object>) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
@@ -147,7 +147,7 @@ export declare const useVelcronEditorStore: () => {
147
147
  subscribe(fn: (result: void, tree: TreeViewItem<AppTreeItem>[]) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
148
148
  };
149
149
  setAppRegistration: {
150
- subscribe(fn: (result: void, registration: VelcronDefinitionRegistration<object>) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
150
+ subscribe(fn: (result: void, registration: VelcronDefinitionRegistrationWithoutApp) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
151
151
  };
152
152
  setAppDefinition: {
153
153
  subscribe(fn: (result: void, newDefinition: VelcronAppDefinition<object>) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
@@ -233,7 +233,7 @@ export declare const useVelcronEditorStore: () => {
233
233
  subscribe(fn: (failureReason: any, tree: TreeViewItem<AppTreeItem>[]) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
234
234
  };
235
235
  setAppRegistration: {
236
- subscribe(fn: (failureReason: any, registration: VelcronDefinitionRegistration<object>) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
236
+ subscribe(fn: (failureReason: any, registration: VelcronDefinitionRegistrationWithoutApp) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
237
237
  };
238
238
  setAppDefinition: {
239
239
  subscribe(fn: (failureReason: any, newDefinition: VelcronAppDefinition<object>) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
@@ -316,7 +316,7 @@ export declare const useVelcronEditorStore: () => {
316
316
  };
317
317
  } & {
318
318
  setAppTree(tree: Array<TreeViewItem<AppTreeItem>>): void;
319
- setAppRegistration(registration: VelcronDefinitionRegistration): void;
319
+ setAppRegistration(registration: VelcronDefinitionRegistrationWithoutApp): void;
320
320
  setAppDefinition(newDefinition: VelcronAppDefinition): void;
321
321
  setAppDefinitionFromJson(newState: string): void;
322
322
  mergeInSubState(toMerge: object): void;
@@ -353,7 +353,7 @@ export declare const useVelcronEditorStore: () => {
353
353
  onMutatedAppData: import("@omnia/fx").MessageBusExposeOnlySubscription<{}>;
354
354
  onMutatedAppAsJson: import("@omnia/fx").MessageBusExposeOnlySubscription<string>;
355
355
  onMutatedAppDefinition: import("@omnia/fx").MessageBusExposeOnlySubscription<VelcronAppDefinition<object>>;
356
- onMutatedAppRegistration: import("@omnia/fx").MessageBusExposeOnlySubscription<VelcronDefinitionRegistration<object>>;
356
+ onMutatedAppRegistration: import("@omnia/fx").MessageBusExposeOnlySubscription<VelcronDefinitionRegistrationWithoutApp>;
357
357
  onMutatedAppCacheKey: import("@omnia/fx").MessageBusExposeOnlySubscription<guid>;
358
358
  onMutatedAppTreeOpenIds: import("@omnia/fx").MessageBusExposeOnlySubscription<string[]>;
359
359
  onMutatedTreeViewItems: import("@omnia/fx").MessageBusExposeOnlySubscription<TreeViewItem<AppTreeItem>[]>;
@@ -1,10 +1,10 @@
1
- import { VelcronRenderContext, VelcronMarkdownDefinition } from "../../core";
1
+ import { VelcronRenderContext, VelcronFlowDefinition } from "../../core";
2
2
  declare const _default: {
3
3
  new (...args: any[]): import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
4
- definition: import("vue").Prop<VelcronMarkdownDefinition, VelcronMarkdownDefinition>;
4
+ definition: import("vue").Prop<VelcronFlowDefinition, VelcronFlowDefinition>;
5
5
  renderContext: import("vue").Prop<VelcronRenderContext, VelcronRenderContext>;
6
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<VelcronMarkdownDefinition, VelcronMarkdownDefinition>;
7
+ definition: import("vue").Prop<VelcronFlowDefinition, VelcronFlowDefinition>;
8
8
  renderContext: import("vue").Prop<VelcronRenderContext, VelcronRenderContext>;
9
9
  }>>, {}, true, {}, {}, {
10
10
  P: {};
@@ -14,18 +14,18 @@ declare const _default: {
14
14
  M: {};
15
15
  Defaults: {};
16
16
  }, Readonly<import("vue").ExtractPropTypes<{
17
- definition: import("vue").Prop<VelcronMarkdownDefinition, VelcronMarkdownDefinition>;
17
+ definition: import("vue").Prop<VelcronFlowDefinition, VelcronFlowDefinition>;
18
18
  renderContext: import("vue").Prop<VelcronRenderContext, VelcronRenderContext>;
19
19
  }>>, {}, {}, {}, {}, {}>;
20
20
  __isFragment?: never;
21
21
  __isTeleport?: never;
22
22
  __isSuspense?: never;
23
23
  } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
24
- definition: import("vue").Prop<VelcronMarkdownDefinition, VelcronMarkdownDefinition>;
24
+ definition: import("vue").Prop<VelcronFlowDefinition, VelcronFlowDefinition>;
25
25
  renderContext: import("vue").Prop<VelcronRenderContext, VelcronRenderContext>;
26
26
  }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
27
27
  propsDefinition: Omit<Readonly<{} & {
28
- definition?: VelcronMarkdownDefinition;
28
+ definition?: VelcronFlowDefinition;
29
29
  renderContext?: VelcronRenderContext;
30
30
  }>, never>;
31
31
  };
@@ -1,11 +1,11 @@
1
- import { EditorLocation, VelcronMarkdownEditorSettings } from "@omnia/fx-models";
1
+ import { EditorLocation, VelcronFlowEditorSettings } from "@omnia/fx-models";
2
2
  declare const _default: {
3
3
  new (...args: any[]): import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
4
4
  location: {
5
5
  type: import("vue").PropType<EditorLocation>;
6
6
  };
7
7
  settings: {
8
- type: import("vue").PropType<VelcronMarkdownEditorSettings>;
8
+ type: import("vue").PropType<VelcronFlowEditorSettings>;
9
9
  };
10
10
  "onUpdate:modelValue": {
11
11
  type: import("vue").PropType<(value: string) => any | void>;
@@ -82,7 +82,7 @@ declare const _default: {
82
82
  type: import("vue").PropType<EditorLocation>;
83
83
  };
84
84
  settings: {
85
- type: import("vue").PropType<VelcronMarkdownEditorSettings>;
85
+ type: import("vue").PropType<VelcronFlowEditorSettings>;
86
86
  };
87
87
  "onUpdate:modelValue": {
88
88
  type: import("vue").PropType<(value: string) => any | void>;
@@ -164,7 +164,7 @@ declare const _default: {
164
164
  type: import("vue").PropType<EditorLocation>;
165
165
  };
166
166
  settings: {
167
- type: import("vue").PropType<VelcronMarkdownEditorSettings>;
167
+ type: import("vue").PropType<VelcronFlowEditorSettings>;
168
168
  };
169
169
  "onUpdate:modelValue": {
170
170
  type: import("vue").PropType<(value: string) => any | void>;
@@ -243,7 +243,7 @@ declare const _default: {
243
243
  type: import("vue").PropType<EditorLocation>;
244
244
  };
245
245
  settings: {
246
- type: import("vue").PropType<VelcronMarkdownEditorSettings>;
246
+ type: import("vue").PropType<VelcronFlowEditorSettings>;
247
247
  };
248
248
  "onUpdate:modelValue": {
249
249
  type: import("vue").PropType<(value: string) => any | void>;
@@ -378,7 +378,7 @@ declare const _default: {
378
378
  };
379
379
  }>;
380
380
  };
381
- settings?: VelcronMarkdownEditorSettings;
381
+ settings?: VelcronFlowEditorSettings;
382
382
  modelValue?: string;
383
383
  "v-model"?: string;
384
384
  "onUpdate:modelValue"?: (value: string) => any | void;
@@ -1,4 +1,4 @@
1
- import { DynamicState, VelcronAppDefinition, VelcronDefinitionCategoryRegistration, VelcronDefinitionRegistration, VelcronDefinitionRendererTypeRegistration, VelcronRendererReference, guid } from "@omnia/fx-models";
1
+ import { DynamicState, VelcronDefinitionCategoryRegistration, VelcronDefinitionRegistration, VelcronDefinitionRegistrationWithoutApp, VelcronDefinitionRendererTypeRegistration, VelcronRendererResolverReference, guid } from "@omnia/fx-models";
2
2
  export declare const useVelcronDefinitionStore: () => {
3
3
  state: {
4
4
  definitions: VelcronDefinitionRegistration<object>[];
@@ -6,8 +6,8 @@ export declare const useVelcronDefinitionStore: () => {
6
6
  rendererTypes: VelcronDefinitionRendererTypeRegistration[];
7
7
  };
8
8
  get: {
9
- byReference(reference: VelcronRendererReference | VelcronAppDefinition): VelcronAppDefinition<object>;
10
- byId<TState extends DynamicState>(id: guid, stripped?: boolean): VelcronDefinitionRegistration<TState>;
9
+ appDefinition(registration: VelcronDefinitionRegistration | VelcronDefinitionRegistrationWithoutApp): import("@omnia/fx-models").VelcronAppDefinition<object>;
10
+ byId<TState extends DynamicState>(id: guid): VelcronDefinitionRegistrationWithoutApp;
11
11
  byFilters(categoryFilters: Array<guid>, rendererTypeFilters: Array<guid>, includeBuiltIn?: boolean): VelcronDefinitionRegistration<object>[];
12
12
  readonly categories: VelcronDefinitionCategoryRegistration[];
13
13
  filteredCategories(filters: Array<guid>, rendererTypeFilters: Array<guid>, includeBuiltIn?: boolean): VelcronDefinitionCategoryRegistration[];
@@ -19,7 +19,19 @@ export declare const useVelcronDefinitionStore: () => {
19
19
  addDefinition: {
20
20
  subscribe(fn: (registration: VelcronDefinitionRegistration<object>) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
21
21
  };
22
- load: {
22
+ loadAll: {
23
+ subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
24
+ };
25
+ ensureByReference: {
26
+ subscribe(fn: (reference: VelcronRendererResolverReference) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
27
+ };
28
+ ensureCustomDefinitions: {
29
+ subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
30
+ };
31
+ ensureProviderDefinitions: {
32
+ subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
33
+ };
34
+ ensureCategories: {
23
35
  subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
24
36
  };
25
37
  saveDefinition: {
@@ -33,7 +45,19 @@ export declare const useVelcronDefinitionStore: () => {
33
45
  addDefinition: {
34
46
  subscribe(fn: (result: void, registration: VelcronDefinitionRegistration<object>) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
35
47
  };
36
- load: {
48
+ loadAll: {
49
+ subscribe(fn: (result: [void, void, void]) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
50
+ };
51
+ ensureByReference: {
52
+ subscribe(fn: (result: VelcronDefinitionRegistrationWithoutApp, reference: VelcronRendererResolverReference) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
53
+ };
54
+ ensureCustomDefinitions: {
55
+ subscribe(fn: (result: void) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
56
+ };
57
+ ensureProviderDefinitions: {
58
+ subscribe(fn: (result: void) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
59
+ };
60
+ ensureCategories: {
37
61
  subscribe(fn: (result: void) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
38
62
  };
39
63
  saveDefinition: {
@@ -47,7 +71,19 @@ export declare const useVelcronDefinitionStore: () => {
47
71
  addDefinition: {
48
72
  subscribe(fn: (failureReason: any, registration: VelcronDefinitionRegistration<object>) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
49
73
  };
50
- load: {
74
+ loadAll: {
75
+ subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
76
+ };
77
+ ensureByReference: {
78
+ subscribe(fn: (failureReason: any, reference: VelcronRendererResolverReference) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
79
+ };
80
+ ensureCustomDefinitions: {
81
+ subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
82
+ };
83
+ ensureProviderDefinitions: {
84
+ subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
85
+ };
86
+ ensureCategories: {
51
87
  subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
52
88
  };
53
89
  saveDefinition: {
@@ -59,7 +95,11 @@ export declare const useVelcronDefinitionStore: () => {
59
95
  };
60
96
  } & {
61
97
  addDefinition(registration: VelcronDefinitionRegistration): void;
62
- load(): Promise<void>;
98
+ loadAll(): Promise<[void, void, void]>;
99
+ ensureByReference(reference: VelcronRendererResolverReference): Promise<VelcronDefinitionRegistrationWithoutApp>;
100
+ ensureCustomDefinitions(): Promise<void>;
101
+ ensureProviderDefinitions(): Promise<void>;
102
+ ensureCategories(): Promise<void>;
63
103
  saveDefinition(definition: VelcronDefinitionRegistration): Promise<void>;
64
104
  deleteDefinition(definition: VelcronDefinitionRegistration): Promise<void>;
65
105
  };
@@ -457,9 +457,7 @@ import wcc9d01726f5594902bf4de68612b186de from './ux/velcron/blocks/demo/DemoBlo
457
457
  import wcbbd5168574b64f0486adaf68ba31be49 from './ux/velcron/blocks/demo/DemoBlockSettings';
458
458
  import wc80bd5b0978ea40439001d3d409236382 from './ux/velcron/blocks/velcron/VelcronBlock';
459
459
  import wce8526e8ed3f74e848e0dd747fd4d376d from './ux/velcron/blocks/velcron/VelcronBlockSettings';
460
- import wca7db43482a3140998eca19b47d941126 from './ux/velcron/components/contenteditor/VelcronContentEditor';
461
460
  import wcb2999683f82046d6ad05a3c13df8e577 from './ux/velcron/components/contenteditorNew/VelcronContentEditor';
462
- import wc6d57729e9d8f4a8080e512f6214ee24d from './ux/velcron/components/contenteditorNew/VelcronContentRenderer';
463
461
  import wcb197c5e805cc4d6bb3d012e258560b31 from './ux/velcron/components/definitionpicker/VelcronDefinitionPicker';
464
462
  import wcdabd67ab338243858fe7d1ca24399995 from './ux/velcron/components/propertieseditor/VelcronPropertiesEditor';
465
463
  import wc5688474abe554cabb34c696620eb6be1 from './ux/velcron/renderer/editors/PropertyEditorCreator';
@@ -3173,20 +3171,6 @@ declare global {
3173
3171
  };
3174
3172
  } : typeof wcb2999683f82046d6ad05a3c13df8e577;
3175
3173
  };
3176
- "editor$": typeof wca7db43482a3140998eca19b47d941126 extends {
3177
- propsDefinition: infer TProp;
3178
- } ? {
3179
- new (...args: any[]): {
3180
- $props: TProp & Omit<VueComponentBaseProps, keyof TProp>;
3181
- };
3182
- } : typeof wca7db43482a3140998eca19b47d941126;
3183
- "renderer": typeof wc6d57729e9d8f4a8080e512f6214ee24d extends {
3184
- propsDefinition: infer TProp;
3185
- } ? {
3186
- new (...args: any[]): {
3187
- $props: TProp & Omit<VueComponentBaseProps, keyof TProp>;
3188
- };
3189
- } : typeof wc6d57729e9d8f4a8080e512f6214ee24d;
3190
3174
  };
3191
3175
  "definition": {
3192
3176
  "picker": typeof wcb197c5e805cc4d6bb3d012e258560b31 extends {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@omnia/fx",
3
3
  "license": "MIT",
4
- "version": "8.0.265-dev",
4
+ "version": "8.0.266-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,7 +20,7 @@
20
20
  ],
21
21
  "author": "Precio Fishbone",
22
22
  "dependencies": {
23
- "@omnia/fx-models": "8.0.265-dev",
23
+ "@omnia/fx-models": "8.0.266-dev",
24
24
  "@microsoft/signalr": "6.0.1",
25
25
  "broadcast-channel": "4.8.0",
26
26
  "dayjs": "1.11.7",
@@ -1,4 +0,0 @@
1
- export type builtIndataTypes = "text" | "formatting";
2
- export declare function useClipboardCommands(): {
3
- paste: (ev: ClipboardEvent) => void;
4
- };
@@ -1,6 +0,0 @@
1
- import { useColorSchemaStore } from "@omnia/fx/ux";
2
- export declare const VelcronContentEditorStyles: {
3
- itemWrapper: (colors: ReturnType<typeof useColorSchemaStore>) => string;
4
- socialToolbarwrapper: string;
5
- toolbarWrapper: string;
6
- };