@omnia/fx 8.0.239-dev → 8.0.240-dev

Sign up to get free protection for your applications and to get access to all the features.
Files changed (39) hide show
  1. package/internal-do-not-import-from-here/manifests/omnia.fx.manifest.json +1 -1
  2. package/internal-do-not-import-from-here/manifests/omnia.fx.ux.manifest.json +1 -1
  3. package/internal-do-not-import-from-here/stores/markdown/{MarkdownStateStore.d.ts → MarkdownToolbarStateStore.d.ts} +1 -10
  4. package/internal-do-not-import-from-here/stores/markdown/index.d.ts +1 -1
  5. package/internal-do-not-import-from-here/ux/admin/recaptcha/ReCaptcha.d.ts +16 -13
  6. package/internal-do-not-import-from-here/ux/admin/usermanagement/loc/localize.d.ts +1 -0
  7. package/internal-do-not-import-from-here/ux/admin/usermanagement/self-service/AddPropertyBlade.d.ts +47 -0
  8. package/internal-do-not-import-from-here/ux/admin/usermanagement/self-service/EditPropertyBlade.d.ts +47 -0
  9. package/internal-do-not-import-from-here/ux/admin/usermanagement/shared/SelfServiceStore.d.ts +18 -8
  10. package/internal-do-not-import-from-here/ux/app/apps/admin/AppDefinitionsListing.d.ts +56 -0
  11. package/internal-do-not-import-from-here/ux/app/apps/admin/AppsConstants.d.ts +5 -0
  12. package/internal-do-not-import-from-here/ux/button/ButtonPresets.d.ts +1 -0
  13. package/internal-do-not-import-from-here/ux/journey/DefineBlade.d.ts +7 -3
  14. package/internal-do-not-import-from-here/ux/journey/JourneyBlade.d.ts +3 -2
  15. package/internal-do-not-import-from-here/ux/journey/index.d.ts +0 -1
  16. package/internal-do-not-import-from-here/ux/journey/stores/JourneyStore.d.ts +18 -6
  17. package/internal-do-not-import-from-here/ux/markdown2/MarkdownToolbar.d.ts +1 -389
  18. package/internal-do-not-import-from-here/ux/markdown2/commands/ClipboardCommands.d.ts +4 -0
  19. package/internal-do-not-import-from-here/ux/markdown2/commands/EditorCommands.d.ts +23 -0
  20. package/internal-do-not-import-from-here/ux/markdown2/commands/helpers/Editorhelper.d.ts +7 -0
  21. package/internal-do-not-import-from-here/ux/markdown2/commands/helpers/Nodehelper.d.ts +6 -0
  22. package/internal-do-not-import-from-here/ux/markdown2/models/MarkdownPlugin.d.ts +2 -0
  23. package/internal-do-not-import-from-here/ux/markdown2/plugins/ColorStylePlugin.d.ts +1 -0
  24. package/internal-do-not-import-from-here/ux/markdown2/plugins/TypographyPlugin.d.ts +1 -0
  25. package/internal-do-not-import-from-here/ux/markdown2/plugins/buttons/ColorButton.d.ts +47 -0
  26. package/internal-do-not-import-from-here/ux/markdown2/plugins/buttons/TypographyButton.d.ts +47 -0
  27. package/internal-do-not-import-from-here/ux/markdown2/stores/MarkdownStore.d.ts +28 -55
  28. package/internal-do-not-import-from-here/ux/markdown2/stores/MarkdownToolbarStore.d.ts +849 -24
  29. package/internal-do-not-import-from-here/ux/oxide/btn/Button.d.ts +5 -5
  30. package/internal-do-not-import-from-here/ux/oxide/datatable/DataTableServer.d.ts +1 -1
  31. package/internal-do-not-import-from-here/ux/oxide/list/List.d.ts +2 -2
  32. package/internal-do-not-import-from-here/ux/oxide/list/ListItem.d.ts +5 -6
  33. package/internal-do-not-import-from-here/ux/oxide/rating/Rating.d.ts +1 -1
  34. package/internal-do-not-import-from-here/ux/oxide/treeview/Treeview.d.ts +2 -2
  35. package/internal-do-not-import-from-here/wctypings.d.ts +17 -17
  36. package/package.json +3 -3
  37. package/internal-do-not-import-from-here/ux/admin/businessprofile/manageprofiles/blades/HomeBlade_old.d.ts +0 -1
  38. package/internal-do-not-import-from-here/ux/journey/use/UseBlade.d.ts +0 -79
  39. package/internal-do-not-import-from-here/ux/journey/use/index.d.ts +0 -1
@@ -1,22 +1,23 @@
1
- import { guid } from "@omnia/fx-models/internal-do-not-import-from-here/shared";
1
+ import { MarkdownEditorActionRegistration } from "@omnia/fx-models";
2
2
  import { MarkdownPlugin, MarkdownPluginContext } from "../models/MarkdownPlugin";
3
- type dataTypes = "text" | "formatting";
4
3
  export declare const useMarkdownStore: () => {
5
4
  state: {
6
5
  markdownContent: string;
7
6
  editMode: boolean;
7
+ toolbarActions: MarkdownEditorActionRegistration[];
8
8
  editor: HTMLDivElement;
9
9
  telePorts: JSX.Element[];
10
10
  id: string;
11
- storedRange: Range;
11
+ selectedRange: Range;
12
12
  };
13
13
  events: {
14
14
  onMutatedMarkdownContent: import("@omnia/fx-models/internal-do-not-import-from-here/shared").MessageBusExposeOnlySubscription<string>;
15
15
  onMutatedEditMode: import("@omnia/fx-models/internal-do-not-import-from-here/shared").MessageBusExposeOnlySubscription<boolean>;
16
+ onMutatedToolbarActions: import("@omnia/fx-models/internal-do-not-import-from-here/shared").MessageBusExposeOnlySubscription<MarkdownEditorActionRegistration[]>;
16
17
  onMutatedEditor: import("@omnia/fx-models/internal-do-not-import-from-here/shared").MessageBusExposeOnlySubscription<HTMLDivElement>;
17
18
  onMutatedTelePorts: import("@omnia/fx-models/internal-do-not-import-from-here/shared").MessageBusExposeOnlySubscription<JSX.Element[]>;
18
19
  onMutatedId: import("@omnia/fx-models/internal-do-not-import-from-here/shared").MessageBusExposeOnlySubscription<string>;
19
- onMutatedStoredRange: import("@omnia/fx-models/internal-do-not-import-from-here/shared").MessageBusExposeOnlySubscription<Range>;
20
+ onMutatedSelectedRange: import("@omnia/fx-models/internal-do-not-import-from-here/shared").MessageBusExposeOnlySubscription<Range>;
20
21
  } & Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>;
21
22
  actions: {
22
23
  onDispatching: {
@@ -41,6 +42,9 @@ export declare const useMarkdownStore: () => {
41
42
  registerPluginContext: {
42
43
  subscribe(fn: (ctx: MarkdownPluginContext) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
43
44
  };
45
+ toolbarAction: {
46
+ subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
47
+ };
44
48
  formatting: {
45
49
  subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
46
50
  };
@@ -73,16 +77,23 @@ export declare const useMarkdownStore: () => {
73
77
  registerPluginContext: {
74
78
  subscribe(fn: (result: void, ctx: MarkdownPluginContext) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
75
79
  };
80
+ toolbarAction: {
81
+ subscribe(fn: (result: {
82
+ add: (action: MarkdownEditorActionRegistration | MarkdownEditorActionRegistration[]) => void;
83
+ }) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
84
+ };
76
85
  formatting: {
77
86
  subscribe(fn: (result: {
78
- add: (element: HTMLElement) => void;
87
+ add: (element: HTMLElement, toggleIfExists?: boolean) => void;
88
+ toggle: (element: HTMLElement) => void;
89
+ remove: (element: HTMLElement, toggleIfExists?: boolean) => void;
79
90
  }) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
80
91
  };
81
92
  element: {
82
93
  subscribe(fn: (result: {
83
94
  createForComponent: (componentName: string) => HTMLDivElement;
84
95
  createText: () => HTMLParagraphElement;
85
- create: (tagName: string, dataType: dataTypes) => HTMLElement;
96
+ create: (tagName: string, dataType: string) => HTMLElement;
86
97
  add: (element: HTMLElement) => void;
87
98
  }) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
88
99
  };
@@ -114,6 +125,9 @@ export declare const useMarkdownStore: () => {
114
125
  registerPluginContext: {
115
126
  subscribe(fn: (failureReason: any, ctx: MarkdownPluginContext) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
116
127
  };
128
+ toolbarAction: {
129
+ subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
130
+ };
117
131
  formatting: {
118
132
  subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
119
133
  };
@@ -132,13 +146,18 @@ export declare const useMarkdownStore: () => {
132
146
  setEditorMode: (editMode: boolean) => void;
133
147
  setEditorContainer: (el: HTMLDivElement) => void;
134
148
  registerPluginContext: (ctx: MarkdownPluginContext) => void;
149
+ toolbarAction: () => {
150
+ add: (action: MarkdownEditorActionRegistration | MarkdownEditorActionRegistration[]) => void;
151
+ };
135
152
  formatting: () => {
136
- add: (element: HTMLElement) => void;
153
+ add: (element: HTMLElement, toggleIfExists?: boolean) => void;
154
+ toggle: (element: HTMLElement) => void;
155
+ remove: (element: HTMLElement, toggleIfExists?: boolean) => void;
137
156
  };
138
157
  element: () => {
139
158
  createForComponent: (componentName: string) => HTMLDivElement;
140
159
  createText: () => HTMLParagraphElement;
141
- create: (tagName: string, dataType: dataTypes) => HTMLElement;
160
+ create: (tagName: string, dataType: string) => HTMLElement;
142
161
  add: (element: HTMLElement) => void;
143
162
  };
144
163
  commands: () => {
@@ -146,52 +165,6 @@ export declare const useMarkdownStore: () => {
146
165
  };
147
166
  };
148
167
  get: {
149
- toolbarStore: {
150
- state: {
151
- show: boolean;
152
- textActions: import("@omnia/fx-models").MarkdownEditorActionRegistration[];
153
- additionalActions: import("@omnia/fx-models").MarkdownEditorActionRegistration[];
154
- toolbarOwnerId: guid;
155
- };
156
- events: {
157
- onMutatedShow: import("@omnia/fx-models/internal-do-not-import-from-here/shared").MessageBusExposeOnlySubscription<boolean>;
158
- onMutatedTextActions: import("@omnia/fx-models/internal-do-not-import-from-here/shared").MessageBusExposeOnlySubscription<import("@omnia/fx-models").MarkdownEditorActionRegistration[]>;
159
- onMutatedAdditionalActions: import("@omnia/fx-models/internal-do-not-import-from-here/shared").MessageBusExposeOnlySubscription<import("@omnia/fx-models").MarkdownEditorActionRegistration[]>;
160
- onMutatedToolbarOwnerId: import("@omnia/fx-models/internal-do-not-import-from-here/shared").MessageBusExposeOnlySubscription<guid>;
161
- } & Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>;
162
- actions: {
163
- onDispatching: {
164
- addAdditionalAction: {
165
- subscribe(fn: (action: import("@omnia/fx-models").MarkdownEditorActionRegistration) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
166
- };
167
- setEditorStore: {
168
- subscribe(fn: (store: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
169
- };
170
- };
171
- onDispatched: {
172
- addAdditionalAction: {
173
- subscribe(fn: (result: void, action: import("@omnia/fx-models").MarkdownEditorActionRegistration) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
174
- };
175
- setEditorStore: {
176
- subscribe(fn: (result: void, store: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
177
- };
178
- };
179
- onFailure: {
180
- addAdditionalAction: {
181
- subscribe(fn: (failureReason: any, action: import("@omnia/fx-models").MarkdownEditorActionRegistration) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
182
- };
183
- setEditorStore: {
184
- subscribe(fn: (failureReason: any, store: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
185
- };
186
- };
187
- } & {
188
- addAdditionalAction: (action: import("@omnia/fx-models").MarkdownEditorActionRegistration) => void;
189
- setEditorStore: (store: any) => void;
190
- };
191
- get: {
192
- isActiveStore(): boolean;
193
- };
194
- };
168
+ plugins: MarkdownPlugin[];
195
169
  };
196
170
  };
197
- export {};