@omnia/fx 8.0.262-dev → 8.0.264-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 (93) hide show
  1. package/internal-do-not-import-from-here/manifests/omnia.vendor.manifest.json +1 -1
  2. package/internal-do-not-import-from-here/ux/ComponentTypings.d.ts +7 -1
  3. package/internal-do-not-import-from-here/ux/admin/systemlayout/store/SystemLayoutStore.d.ts +3 -3
  4. package/internal-do-not-import-from-here/ux/app/management/api/AppManagementApi.d.ts +2 -2
  5. package/internal-do-not-import-from-here/ux/appprovisioning/appinstanceeditingjourney/EditProperiesBlade.d.ts +1 -1
  6. package/internal-do-not-import-from-here/ux/aurora/admin/blades/blueprints/typography/components/FontPicker.css.d.ts +4 -1
  7. package/internal-do-not-import-from-here/ux/aurora/admin/blades/blueprints/typography/components/FontPicker.d.ts +12 -8
  8. package/internal-do-not-import-from-here/ux/aurora/admin/blades/blueprints/typography/components/FontRegistration.d.ts +6 -0
  9. package/internal-do-not-import-from-here/ux/aurora/admin/blades/blueprints/typography/store/TypographyEditorStore.d.ts +41 -16
  10. package/internal-do-not-import-from-here/ux/aurora/admin/blades/fontsmanager/FontManager.d.ts +2 -0
  11. package/internal-do-not-import-from-here/ux/aurora/admin/blades/fontsmanager/blade/FontDefinitionBlade.d.ts +6 -0
  12. package/internal-do-not-import-from-here/ux/aurora/admin/blades/fontsmanager/store/FontManagerStore.d.ts +75 -0
  13. package/internal-do-not-import-from-here/ux/aurora/store/FontStore.d.ts +77 -0
  14. package/internal-do-not-import-from-here/ux/aurora/store/SpacingBlueprintStore.d.ts +114 -10
  15. package/internal-do-not-import-from-here/ux/aurora/store/TypographyBlueprintStore.d.ts +117 -11
  16. package/internal-do-not-import-from-here/ux/aurora/store/index.d.ts +1 -0
  17. package/internal-do-not-import-from-here/ux/identitypicker/IdentityPickerButton.d.ts +1 -1
  18. package/internal-do-not-import-from-here/ux/identitypicker/IdentityPickerField.d.ts +1 -1
  19. package/internal-do-not-import-from-here/ux/identitypicker/IdentityPickerInlineField.d.ts +1 -1
  20. package/internal-do-not-import-from-here/ux/magiclink/Shared.d.ts +4 -0
  21. package/internal-do-not-import-from-here/ux/magiclink/loc/localize.d.ts +1 -0
  22. package/internal-do-not-import-from-here/ux/markdown2/MarkdownToolbar.css.d.ts +1 -0
  23. package/internal-do-not-import-from-here/ux/markdown2/commands/EditorCommands.d.ts +15 -23
  24. package/internal-do-not-import-from-here/ux/markdown2/commands/helpers/EditorNodeHelper.d.ts +3 -10
  25. package/internal-do-not-import-from-here/ux/markdown2/commands/helpers/HtmlNodehelper.d.ts +6 -6
  26. package/internal-do-not-import-from-here/ux/markdown2/models/EditorModels.d.ts +15 -11
  27. package/internal-do-not-import-from-here/ux/markdown2/models/EditorPlugin.d.ts +6 -5
  28. package/internal-do-not-import-from-here/ux/markdown2/plugins/bold/BoldPlugin.d.ts +3 -0
  29. package/internal-do-not-import-from-here/ux/markdown2/plugins/colorstyle/ColorButton.d.ts +5 -0
  30. package/internal-do-not-import-from-here/ux/markdown2/plugins/italic/ItalicPlugin.d.ts +3 -0
  31. package/internal-do-not-import-from-here/ux/markdown2/plugins/text/TextPlugin.d.ts +4 -0
  32. package/internal-do-not-import-from-here/ux/markdown2/plugins/typography/TypographyButton.d.ts +5 -0
  33. package/internal-do-not-import-from-here/ux/markdown2/plugins/velcron/VelcronPlugin.d.ts +5 -0
  34. package/internal-do-not-import-from-here/ux/markdown2/stores/MarkdownStore.d.ts +29 -23
  35. package/internal-do-not-import-from-here/ux/markdown2/stores/MarkdownToolbarStore.d.ts +162 -110
  36. package/internal-do-not-import-from-here/ux/oxide/alert/Alert.d.ts +1 -1
  37. package/internal-do-not-import-from-here/ux/oxide/appbar/Appbar.d.ts +1 -1
  38. package/internal-do-not-import-from-here/ux/oxide/checkbox/Checkbox.d.ts +1 -1
  39. package/internal-do-not-import-from-here/ux/oxide/colorpicker/ColorPicker.d.ts +3 -276
  40. package/internal-do-not-import-from-here/ux/oxide/datepicker/DatePicker.d.ts +5 -1
  41. package/internal-do-not-import-from-here/ux/oxide/dialog/Dialog.d.ts +5 -444
  42. package/internal-do-not-import-from-here/ux/oxide/divider/Divider.d.ts +4 -99
  43. package/internal-do-not-import-from-here/ux/oxide/expansionpanel/ExpansionPanel.d.ts +4 -194
  44. package/internal-do-not-import-from-here/ux/oxide/expansionpanel/ExpansionPanels.d.ts +4 -206
  45. package/internal-do-not-import-from-here/ux/oxide/fab/FloatingActionButton..d.ts +1 -1
  46. package/internal-do-not-import-from-here/ux/oxide/form/Form.d.ts +3 -94
  47. package/internal-do-not-import-from-here/ux/oxide/hostprovider/HostProvider.d.ts +4 -78
  48. package/internal-do-not-import-from-here/ux/oxide/infinite-scroll/InfiniteScroll.d.ts +11 -184
  49. package/internal-do-not-import-from-here/ux/oxide/layout/Layout.d.ts +3 -94
  50. package/internal-do-not-import-from-here/ux/oxide/lazy/Lazy.d.ts +4 -85
  51. package/internal-do-not-import-from-here/ux/oxide/link/Link.d.ts +4 -199
  52. package/internal-do-not-import-from-here/ux/oxide/main/Main.d.ts +3 -133
  53. package/internal-do-not-import-from-here/ux/oxide/menu/Menu.d.ts +4 -355
  54. package/internal-do-not-import-from-here/ux/oxide/notification/Notification.d.ts +4 -161
  55. package/internal-do-not-import-from-here/ux/oxide/panel/Panel.d.ts +4 -238
  56. package/internal-do-not-import-from-here/ux/oxide/progress/Progress.d.ts +4 -76
  57. package/internal-do-not-import-from-here/ux/oxide/radio/Radio.d.ts +4 -138
  58. package/internal-do-not-import-from-here/ux/oxide/rating/Rating.d.ts +4 -272
  59. package/internal-do-not-import-from-here/ux/oxide/scrollcontainer/ScrollContainer.d.ts +3 -203
  60. package/internal-do-not-import-from-here/ux/oxide/skeletonloader/SkeletonLoader.d.ts +3 -133
  61. package/internal-do-not-import-from-here/ux/oxide/slidepanel/Slide.d.ts +3 -37
  62. package/internal-do-not-import-from-here/ux/oxide/slidepanel/SlidePanel.d.ts +3 -267
  63. package/internal-do-not-import-from-here/ux/oxide/slider/Slider.d.ts +4 -349
  64. package/internal-do-not-import-from-here/ux/oxide/snackbar/Snackbar.d.ts +3 -154
  65. package/internal-do-not-import-from-here/ux/oxide/spacer/Spacer.d.ts +1 -15
  66. package/internal-do-not-import-from-here/ux/oxide/splitpane/Splitpane.d.ts +4 -149
  67. package/internal-do-not-import-from-here/ux/oxide/splitpane/SplitpaneItem.d.ts +3 -145
  68. package/internal-do-not-import-from-here/ux/oxide/stickycontainer/StickyContainer.d.ts +3 -71
  69. package/internal-do-not-import-from-here/ux/oxide/switch/Switch.d.ts +3 -254
  70. package/internal-do-not-import-from-here/ux/oxide/tab/Tab.d.ts +4 -245
  71. package/internal-do-not-import-from-here/ux/oxide/tab/Tabs.d.ts +4 -335
  72. package/internal-do-not-import-from-here/ux/oxide/table/Table.d.ts +3 -107
  73. package/internal-do-not-import-from-here/ux/oxide/textarea/TextArea.d.ts +4 -400
  74. package/internal-do-not-import-from-here/ux/oxide/textarea/docs/ExampleComponents.d.ts +1 -0
  75. package/internal-do-not-import-from-here/ux/oxide/textarea/docs/SampleComponent.d.ts +2 -0
  76. package/internal-do-not-import-from-here/ux/oxide/textarea/docs/index.d.ts +1 -0
  77. package/internal-do-not-import-from-here/ux/oxide/toolbar/Toolbar.d.ts +4 -250
  78. package/internal-do-not-import-from-here/ux/oxide/tooltip/Tooltip.d.ts +3 -192
  79. package/internal-do-not-import-from-here/ux/oxide/validation/Validation.d.ts +4 -56
  80. package/internal-do-not-import-from-here/ux/social/PeopleTagging.d.ts +6 -6
  81. package/internal-do-not-import-from-here/ux/use/UseClone.d.ts +1 -1
  82. package/internal-do-not-import-from-here/ux/use/UseDraggable.d.ts +1 -1
  83. package/internal-do-not-import-from-here/ux/use/UseMounted.d.ts +1 -1
  84. package/internal-do-not-import-from-here/ux/use/UseWebNotification.d.ts +2 -2
  85. package/internal-do-not-import-from-here/ux/velcron/core/models/VelcronDefinitions.d.ts +5 -1
  86. package/internal-do-not-import-from-here/ux/velcron/core/models/VelcronPropertyEditorDefinitions.d.ts +10 -1
  87. package/internal-do-not-import-from-here/ux/velcron/core/templatebuilder/VelcronEditorBuilder.d.ts +1 -0
  88. package/internal-do-not-import-from-here/ux/velcron/editor/models/VelcronEditorDescriptors.d.ts +1 -0
  89. package/internal-do-not-import-from-here/ux/velcron/editor/templates/EditorTemplates.d.ts +1 -0
  90. package/internal-do-not-import-from-here/ux/velcron/renderer/editors/PropertyResolverEditor.d.ts +13 -0
  91. package/internal-do-not-import-from-here/ux/versionedlayout/blade/VersionedLayoutBladeBuilder.d.ts +1 -1
  92. package/internal-do-not-import-from-here/wctypings.d.ts +20 -0
  93. package/package.json +3 -3
@@ -1,2 +1,7 @@
1
+ import { ColorValue } from "@omnia/fx-models";
2
+ import { ContentNode } from "../../models/EditorModels";
3
+ export interface ColorFormatNode extends ContentNode {
4
+ data: ColorValue;
5
+ }
1
6
  declare const _default: (props: import("@omnia/fx/ux").ConstructComponentProps<{}>) => any;
2
7
  export default _default;
@@ -0,0 +1,3 @@
1
+ export declare const italicPlugin: () => import("../../models/EditorPlugin").EditorPlugin & {
2
+ dispose?: () => void;
3
+ };
@@ -1,3 +1,7 @@
1
+ import { ContentNode } from "../../models/EditorModels";
2
+ export interface TextContentNode extends ContentNode {
3
+ value?: string;
4
+ }
1
5
  export declare const textPlugin: () => import("../../models/EditorPlugin").EditorPlugin & {
2
6
  dispose?: () => void;
3
7
  };
@@ -1,2 +1,7 @@
1
+ import { TypographyValue } from "@omnia/fx-models";
2
+ import { ContentNode } from "../../models/EditorModels";
3
+ export interface TypographyFormatNode extends ContentNode {
4
+ data: TypographyValue;
5
+ }
1
6
  declare const _default: (props: import("@omnia/fx/ux").ConstructComponentProps<{}>) => any;
2
7
  export default _default;
@@ -1,3 +1,8 @@
1
+ import { VelcronAppDefinition } from "@omnia/fx-models";
2
+ import { ContentNode } from "../../models/EditorModels";
3
+ export interface VelcronContentNode extends ContentNode {
4
+ definition: VelcronAppDefinition;
5
+ }
1
6
  export declare const velcronRendererPlugin: () => import("../../models/EditorPlugin").EditorPlugin & {
2
7
  dispose?: () => void;
3
8
  };
@@ -1,32 +1,34 @@
1
1
  import { MarkdownEditorActionRegistration, MarkdownPluginSettings } from "@omnia/fx-models";
2
2
  import { EditorPlugin, EditorPluginContext } from "../models/EditorPlugin";
3
- import { EditorContent, EditorNode, NodeIdSelection } from "../models/EditorModels";
3
+ import { EditorContent, NodeSelection } from "../models/EditorModels";
4
4
  export declare const useMarkdownStore: () => {
5
5
  state: {
6
6
  editorContent: EditorContent;
7
7
  plugins: EditorPlugin[];
8
+ hideToolbar: boolean;
8
9
  editMode: boolean;
9
10
  maxNodeId: number;
10
11
  toolbarActions: MarkdownEditorActionRegistration[];
11
12
  editor: HTMLDivElement;
12
- selectedNodes: EditorNode[];
13
- selectedNodeIds: NodeIdSelection;
13
+ nodeSelection: NodeSelection;
14
14
  telePorts: JSX.Element[];
15
15
  id: string;
16
16
  selectedRange: Range;
17
+ showPlaceHolder: boolean;
17
18
  };
18
19
  events: {
19
20
  onMutatedEditorContent: import("@omnia/fx").MessageBusExposeOnlySubscription<EditorContent>;
20
21
  onMutatedPlugins: import("@omnia/fx").MessageBusExposeOnlySubscription<EditorPlugin[]>;
22
+ onMutatedHideToolbar: import("@omnia/fx").MessageBusExposeOnlySubscription<boolean>;
21
23
  onMutatedEditMode: import("@omnia/fx").MessageBusExposeOnlySubscription<boolean>;
22
24
  onMutatedMaxNodeId: import("@omnia/fx").MessageBusExposeOnlySubscription<number>;
23
25
  onMutatedToolbarActions: import("@omnia/fx").MessageBusExposeOnlySubscription<MarkdownEditorActionRegistration[]>;
24
26
  onMutatedEditor: import("@omnia/fx").MessageBusExposeOnlySubscription<HTMLDivElement>;
25
- onMutatedSelectedNodes: import("@omnia/fx").MessageBusExposeOnlySubscription<EditorNode[]>;
26
- onMutatedSelectedNodeIds: import("@omnia/fx").MessageBusExposeOnlySubscription<NodeIdSelection>;
27
+ onMutatedNodeSelection: import("@omnia/fx").MessageBusExposeOnlySubscription<NodeSelection>;
27
28
  onMutatedTelePorts: import("@omnia/fx").MessageBusExposeOnlySubscription<JSX.Element[]>;
28
29
  onMutatedId: import("@omnia/fx").MessageBusExposeOnlySubscription<string>;
29
30
  onMutatedSelectedRange: import("@omnia/fx").MessageBusExposeOnlySubscription<Range>;
31
+ onMutatedShowPlaceHolder: import("@omnia/fx").MessageBusExposeOnlySubscription<boolean>;
30
32
  } & Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>;
31
33
  actions: {
32
34
  onDispatching: {
@@ -42,6 +44,9 @@ export declare const useMarkdownStore: () => {
42
44
  setEditorContainer: {
43
45
  subscribe(fn: (el: HTMLDivElement) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
44
46
  };
47
+ focusEditor: {
48
+ subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
49
+ };
45
50
  toolbarAction: {
46
51
  subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
47
52
  };
@@ -79,6 +84,9 @@ export declare const useMarkdownStore: () => {
79
84
  setEditorContainer: {
80
85
  subscribe(fn: (result: void, el: HTMLDivElement) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
81
86
  };
87
+ focusEditor: {
88
+ subscribe(fn: (result: void) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
89
+ };
82
90
  toolbarAction: {
83
91
  subscribe(fn: (result: {
84
92
  add: (action: MarkdownEditorActionRegistration | MarkdownEditorActionRegistration[]) => void;
@@ -86,9 +94,9 @@ export declare const useMarkdownStore: () => {
86
94
  };
87
95
  formatting: {
88
96
  subscribe(fn: (result: {
89
- add: (element: HTMLElement, matchByNameAndDataType?: boolean) => void;
90
- toggle: (element: HTMLElement, matchByNameAndDataType?: boolean) => void;
91
- remove: (element: HTMLElement, matchByNameAndDataType?: boolean) => void;
97
+ add: (element: HTMLElement) => void;
98
+ toggle: (element: HTMLElement) => void;
99
+ remove: (dataType: string) => void;
92
100
  }) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
93
101
  };
94
102
  element: {
@@ -96,6 +104,7 @@ export declare const useMarkdownStore: () => {
96
104
  createForComponent: (componentName: string) => HTMLDivElement;
97
105
  createText: () => HTMLParagraphElement;
98
106
  create: (tagName: string, dataType: import("../commands/EditorCommands").builtIndataTypes | string) => HTMLElement;
107
+ createTextNode: (data: any) => Text;
99
108
  add: (element: HTMLElement) => void;
100
109
  }) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
101
110
  };
@@ -118,6 +127,9 @@ export declare const useMarkdownStore: () => {
118
127
  setEditorContainer: {
119
128
  subscribe(fn: (failureReason: any, el: HTMLDivElement) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
120
129
  };
130
+ focusEditor: {
131
+ subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
132
+ };
121
133
  toolbarAction: {
122
134
  subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
123
135
  };
@@ -147,18 +159,20 @@ export declare const useMarkdownStore: () => {
147
159
  };
148
160
  setEditorMode: (editMode: boolean) => void;
149
161
  setEditorContainer: (el: HTMLDivElement) => void;
162
+ focusEditor: () => void;
150
163
  toolbarAction: () => {
151
164
  add: (action: MarkdownEditorActionRegistration | MarkdownEditorActionRegistration[]) => void;
152
165
  };
153
166
  formatting: () => {
154
- add: (element: HTMLElement, matchByNameAndDataType?: boolean) => void;
155
- toggle: (element: HTMLElement, matchByNameAndDataType?: boolean) => void;
156
- remove: (element: HTMLElement, matchByNameAndDataType?: boolean) => void;
167
+ add: (element: HTMLElement) => void;
168
+ toggle: (element: HTMLElement) => void;
169
+ remove: (dataType: string) => void;
157
170
  };
158
171
  element: () => {
159
172
  createForComponent: (componentName: string) => HTMLDivElement;
160
173
  createText: () => HTMLParagraphElement;
161
174
  create: (tagName: string, dataType: import("../commands/EditorCommands").builtIndataTypes | string) => HTMLElement;
175
+ createTextNode: (data: any) => Text;
162
176
  add: (element: HTMLElement) => void;
163
177
  };
164
178
  commands: () => {
@@ -167,25 +181,17 @@ export declare const useMarkdownStore: () => {
167
181
  };
168
182
  get: {
169
183
  plugins: EditorPlugin[];
184
+ hasContent: () => boolean;
170
185
  content: {
171
- asJSON: (cleanIds?: boolean) => EditorContent;
172
- asString: (cleanIds?: boolean) => string;
186
+ asJSON: () => EditorContent;
187
+ asString: () => string;
173
188
  };
174
189
  selection: {
175
190
  has: {
176
191
  dataType: (dataType: string) => boolean;
177
- nodeName: (name: string) => boolean;
178
- id: (id: number) => boolean;
179
192
  };
180
193
  get: {
181
- byDataType: (dataType: string) => EditorNode;
182
- byNodeName: (name: string) => EditorNode;
183
- byId: (id: number) => EditorNode;
184
- bySelectors(selectors: {
185
- name?: string;
186
- id?: string;
187
- dataType?: string;
188
- }): EditorNode;
194
+ byDataType: (dataType: string) => import("../models/EditorModels").ContentNodeReference[];
189
195
  };
190
196
  };
191
197
  };