@omnia/fx 8.0.308-dev → 8.0.310-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 (48) hide show
  1. package/internal-do-not-import-from-here/manifests/omnia.fx.ux.manifest.json +1 -1
  2. package/internal-do-not-import-from-here/services/identities/UserService.d.ts +2 -1
  3. package/internal-do-not-import-from-here/stores/DefineStore.d.ts +1 -0
  4. package/internal-do-not-import-from-here/ux/InternalDefineComponent.d.ts +1 -0
  5. package/internal-do-not-import-from-here/ux/aurora/components/headerpicker/HeaderPicker.d.ts +17 -337
  6. package/internal-do-not-import-from-here/ux/aurora/components/headerpicker/HeaderRenderer.d.ts +9 -0
  7. package/internal-do-not-import-from-here/ux/aurora/store/ComponentBlueprintStore.d.ts +5 -1
  8. package/internal-do-not-import-from-here/ux/aurora/store/SpacingBlueprintStore.d.ts +4 -0
  9. package/internal-do-not-import-from-here/ux/aurora/store/StateManager.d.ts +4 -0
  10. package/internal-do-not-import-from-here/ux/aurora/store/ThemeContextStore.d.ts +48 -0
  11. package/internal-do-not-import-from-here/ux/aurora/store/ThemeStore.d.ts +4 -0
  12. package/internal-do-not-import-from-here/ux/aurora/store/TypographyBlueprintStore.d.ts +4 -0
  13. package/internal-do-not-import-from-here/ux/aurora/store/index.d.ts +1 -0
  14. package/internal-do-not-import-from-here/ux/commandpalette/commands/api-explorer/models/ApiSpec.d.ts +16 -0
  15. package/internal-do-not-import-from-here/ux/commandpalette/commands/api-explorer/models/index.d.ts +2 -0
  16. package/internal-do-not-import-from-here/ux/commandpalette/commands/api-explorer/specs/TodoApiSpec.d.ts +1 -0
  17. package/internal-do-not-import-from-here/ux/commandpalette/commands/api-explorer/specs/index.d.ts +1 -0
  18. package/internal-do-not-import-from-here/ux/commandpalette/commands/api-explorer/stores/ApiExplorerStore.d.ts +29 -3
  19. package/internal-do-not-import-from-here/ux/commandpalette/commands/api-explorer/stores/index.d.ts +1 -0
  20. package/internal-do-not-import-from-here/ux/flow/editor/plugins/DefineEditorPlugin.d.ts +1 -1
  21. package/internal-do-not-import-from-here/ux/flow/renderer/models/FlowRendererContentPlugin.d.ts +2 -0
  22. package/internal-do-not-import-from-here/ux/flow/renderer/models/FlowRendererPluginHook.d.ts +6 -0
  23. package/internal-do-not-import-from-here/ux/flow/renderer/plugins/DefineRendererPlugin.d.ts +1 -1
  24. package/internal-do-not-import-from-here/ux/monaco/MonacoEditor.d.ts +3 -464
  25. package/internal-do-not-import-from-here/ux/post/templates/PostTemplate.css.d.ts +2 -1
  26. package/internal-do-not-import-from-here/ux/properties/property-configuration/PropertyLocking.d.ts +5 -4
  27. package/internal-do-not-import-from-here/ux/richtexteditor/IRichTextEditor.d.ts +1 -0
  28. package/internal-do-not-import-from-here/ux/richtexteditor/extensions/EnterpriseGlossaryLink/EnterpriseGlossaryLinkSuggestionExtension.d.ts +6 -1
  29. package/internal-do-not-import-from-here/ux/richtexteditor/extensions/EnterpriseGlossaryLink/components/AddSuggestion.d.ts +2 -0
  30. package/internal-do-not-import-from-here/ux/richtexteditor/extensions/EnterpriseGlossaryLink/components/RemoveSuggestion.d.ts +2 -0
  31. package/internal-do-not-import-from-here/ux/richtexteditor/extensions/EnterpriseGlossaryLink/components/SuggestionComponent.d.ts +3 -38
  32. package/internal-do-not-import-from-here/ux/richtexteditor/extensions/EnterpriseGlossaryLink/nodes/EnterpriseGlossarySuggestionNode.d.ts +20 -1
  33. package/internal-do-not-import-from-here/ux/richtexteditor/extensions/EnterpriseGlossaryLink/nodes/EnterpriseSuggestionIgnore.d.ts +4 -1
  34. package/internal-do-not-import-from-here/ux/richtexteditor/extensions/EnterpriseGlossaryLink/plugins/EnterpriseGlossarySuggestion.d.ts +4 -2
  35. package/internal-do-not-import-from-here/ux/richtexteditor/extensions/Html/Html.d.ts +1 -29
  36. package/internal-do-not-import-from-here/ux/richtexteditor/extensions/Html/HtmlToolbar.d.ts +2 -29
  37. package/internal-do-not-import-from-here/ux/richtexteditor/extensions/RemoveFormatting/RemoveFormatting.d.ts +2 -30
  38. package/internal-do-not-import-from-here/ux/richtexteditor/extensions/RemoveFormatting/RemoveFormattingMenu.d.ts +1 -15
  39. package/internal-do-not-import-from-here/ux/richtexteditor/extensions/TextCompletion/TextCompletionMenu.d.ts +3 -32
  40. package/internal-do-not-import-from-here/ux/social/PeopleTagging.d.ts +2 -2
  41. package/internal-do-not-import-from-here/ux/velcron/components/propertieseditor/VelcronStatePropertiesEditor.d.ts +18 -355
  42. package/internal-do-not-import-from-here/ux/velcron/core/models/VelcronDefinitions.d.ts +1 -2
  43. package/internal-do-not-import-from-here/wctypings.d.ts +18 -28
  44. package/package.json +2 -2
  45. package/internal-do-not-import-from-here/ux/layoutcanvas/editor/settings/titlerenderer/TitleRenderer.d.ts +0 -5
  46. package/internal-do-not-import-from-here/ux/layoutcanvas/editor/settings/titlerenderer/TitleRendererSettings.d.ts +0 -9
  47. package/internal-do-not-import-from-here/ux/velcron/components/propertieseditor/StateManager.d.ts +0 -3
  48. /package/internal-do-not-import-from-here/ux/{UxCore.d.ts → UxBootstrapper.d.ts} +0 -0
@@ -49,6 +49,10 @@ export declare const useThemeContextStore: () => {
49
49
  hasVariant(type: import("@omnia/fx-models").BlueprintVariant | string): boolean;
50
50
  getByType(type: import("@omnia/fx-models").BlueprintVariant | import("@omnia/fx-models").ContainerFillBlueprint | string): any;
51
51
  };
52
+ header: {
53
+ hasVariant(type: import("@omnia/fx-models").BlueprintVariant | string): boolean;
54
+ getRendererBlueprint(type: import("@omnia/fx-models").HeaderBlueprint): import("@omnia/fx-models").HeaderBlueprint;
55
+ };
52
56
  };
53
57
  deactivated(): void;
54
58
  } & {
@@ -110,6 +114,10 @@ export declare const useThemeContextStore: () => {
110
114
  hasVariant(type: import("@omnia/fx-models").BlueprintVariant | string): boolean;
111
115
  getByType(type: import("@omnia/fx-models").BlueprintVariant | import("@omnia/fx-models").ContainerFillBlueprint | string): any;
112
116
  };
117
+ header: {
118
+ hasVariant(type: import("@omnia/fx-models").BlueprintVariant | string): boolean;
119
+ getRendererBlueprint(type: import("@omnia/fx-models").HeaderBlueprint): import("@omnia/fx-models").HeaderBlueprint;
120
+ };
113
121
  };
114
122
  deactivated(): void;
115
123
  } & {
@@ -171,6 +179,10 @@ export declare const useThemeContextStore: () => {
171
179
  hasVariant(type: import("@omnia/fx-models").BlueprintVariant | string): boolean;
172
180
  getByType(type: import("@omnia/fx-models").BlueprintVariant | import("@omnia/fx-models").ContainerFillBlueprint | string): any;
173
181
  };
182
+ header: {
183
+ hasVariant(type: import("@omnia/fx-models").BlueprintVariant | string): boolean;
184
+ getRendererBlueprint(type: import("@omnia/fx-models").HeaderBlueprint): import("@omnia/fx-models").HeaderBlueprint;
185
+ };
174
186
  };
175
187
  deactivated(): void;
176
188
  } & {
@@ -232,6 +244,10 @@ export declare const useThemeContextStore: () => {
232
244
  hasVariant(type: import("@omnia/fx-models").BlueprintVariant | string): boolean;
233
245
  getByType(type: import("@omnia/fx-models").BlueprintVariant | import("@omnia/fx-models").ContainerFillBlueprint | string): any;
234
246
  };
247
+ header: {
248
+ hasVariant(type: import("@omnia/fx-models").BlueprintVariant | string): boolean;
249
+ getRendererBlueprint(type: import("@omnia/fx-models").HeaderBlueprint): import("@omnia/fx-models").HeaderBlueprint;
250
+ };
235
251
  };
236
252
  deactivated(): void;
237
253
  } & {
@@ -295,6 +311,10 @@ export declare const useThemeContextStore: () => {
295
311
  hasVariant(type: import("@omnia/fx-models").BlueprintVariant | string): boolean;
296
312
  getByType(type: import("@omnia/fx-models").BlueprintVariant | import("@omnia/fx-models").ContainerFillBlueprint | string): any;
297
313
  };
314
+ header: {
315
+ hasVariant(type: import("@omnia/fx-models").BlueprintVariant | string): boolean;
316
+ getRendererBlueprint(type: import("@omnia/fx-models").HeaderBlueprint): import("@omnia/fx-models").HeaderBlueprint;
317
+ };
298
318
  };
299
319
  deactivated(): void;
300
320
  } & {
@@ -356,6 +376,10 @@ export declare const useThemeContextStore: () => {
356
376
  hasVariant(type: import("@omnia/fx-models").BlueprintVariant | string): boolean;
357
377
  getByType(type: import("@omnia/fx-models").BlueprintVariant | import("@omnia/fx-models").ContainerFillBlueprint | string): any;
358
378
  };
379
+ header: {
380
+ hasVariant(type: import("@omnia/fx-models").BlueprintVariant | string): boolean;
381
+ getRendererBlueprint(type: import("@omnia/fx-models").HeaderBlueprint): import("@omnia/fx-models").HeaderBlueprint;
382
+ };
359
383
  };
360
384
  deactivated(): void;
361
385
  } & {
@@ -417,6 +441,10 @@ export declare const useThemeContextStore: () => {
417
441
  hasVariant(type: import("@omnia/fx-models").BlueprintVariant | string): boolean;
418
442
  getByType(type: import("@omnia/fx-models").BlueprintVariant | import("@omnia/fx-models").ContainerFillBlueprint | string): any;
419
443
  };
444
+ header: {
445
+ hasVariant(type: import("@omnia/fx-models").BlueprintVariant | string): boolean;
446
+ getRendererBlueprint(type: import("@omnia/fx-models").HeaderBlueprint): import("@omnia/fx-models").HeaderBlueprint;
447
+ };
420
448
  };
421
449
  deactivated(): void;
422
450
  } & {
@@ -478,6 +506,10 @@ export declare const useThemeContextStore: () => {
478
506
  hasVariant(type: import("@omnia/fx-models").BlueprintVariant | string): boolean;
479
507
  getByType(type: import("@omnia/fx-models").BlueprintVariant | import("@omnia/fx-models").ContainerFillBlueprint | string): any;
480
508
  };
509
+ header: {
510
+ hasVariant(type: import("@omnia/fx-models").BlueprintVariant | string): boolean;
511
+ getRendererBlueprint(type: import("@omnia/fx-models").HeaderBlueprint): import("@omnia/fx-models").HeaderBlueprint;
512
+ };
481
513
  };
482
514
  deactivated(): void;
483
515
  } & {
@@ -541,6 +573,10 @@ export declare const useThemeContextStore: () => {
541
573
  hasVariant(type: import("@omnia/fx-models").BlueprintVariant | string): boolean;
542
574
  getByType(type: import("@omnia/fx-models").BlueprintVariant | import("@omnia/fx-models").ContainerFillBlueprint | string): any;
543
575
  };
576
+ header: {
577
+ hasVariant(type: import("@omnia/fx-models").BlueprintVariant | string): boolean;
578
+ getRendererBlueprint(type: import("@omnia/fx-models").HeaderBlueprint): import("@omnia/fx-models").HeaderBlueprint;
579
+ };
544
580
  };
545
581
  deactivated(): void;
546
582
  } & {
@@ -602,6 +638,10 @@ export declare const useThemeContextStore: () => {
602
638
  hasVariant(type: import("@omnia/fx-models").BlueprintVariant | string): boolean;
603
639
  getByType(type: import("@omnia/fx-models").BlueprintVariant | import("@omnia/fx-models").ContainerFillBlueprint | string): any;
604
640
  };
641
+ header: {
642
+ hasVariant(type: import("@omnia/fx-models").BlueprintVariant | string): boolean;
643
+ getRendererBlueprint(type: import("@omnia/fx-models").HeaderBlueprint): import("@omnia/fx-models").HeaderBlueprint;
644
+ };
605
645
  };
606
646
  deactivated(): void;
607
647
  } & {
@@ -663,6 +703,10 @@ export declare const useThemeContextStore: () => {
663
703
  hasVariant(type: import("@omnia/fx-models").BlueprintVariant | string): boolean;
664
704
  getByType(type: import("@omnia/fx-models").BlueprintVariant | import("@omnia/fx-models").ContainerFillBlueprint | string): any;
665
705
  };
706
+ header: {
707
+ hasVariant(type: import("@omnia/fx-models").BlueprintVariant | string): boolean;
708
+ getRendererBlueprint(type: import("@omnia/fx-models").HeaderBlueprint): import("@omnia/fx-models").HeaderBlueprint;
709
+ };
666
710
  };
667
711
  deactivated(): void;
668
712
  } & {
@@ -724,6 +768,10 @@ export declare const useThemeContextStore: () => {
724
768
  hasVariant(type: import("@omnia/fx-models").BlueprintVariant | string): boolean;
725
769
  getByType(type: import("@omnia/fx-models").BlueprintVariant | import("@omnia/fx-models").ContainerFillBlueprint | string): any;
726
770
  };
771
+ header: {
772
+ hasVariant(type: import("@omnia/fx-models").BlueprintVariant | string): boolean;
773
+ getRendererBlueprint(type: import("@omnia/fx-models").HeaderBlueprint): import("@omnia/fx-models").HeaderBlueprint;
774
+ };
727
775
  };
728
776
  deactivated(): void;
729
777
  } & {
@@ -44,6 +44,10 @@ export declare const useThemeStore: () => {
44
44
  hasVariant(type: BlueprintVariant | string): boolean;
45
45
  getByType(type: BlueprintVariant | import("@omnia/fx-models").ContainerFillBlueprint | string): any;
46
46
  };
47
+ header: {
48
+ hasVariant(type: BlueprintVariant | string): boolean;
49
+ getRendererBlueprint(type: import("@omnia/fx-models").HeaderBlueprint): import("@omnia/fx-models").HeaderBlueprint;
50
+ };
47
51
  };
48
52
  deactivated(): void;
49
53
  } & {
@@ -63,6 +63,10 @@ export declare const useTypographyBlueprintStore: () => {
63
63
  hasVariant(type: BlueprintVariant | string): boolean;
64
64
  getByType(type: BlueprintVariant | import("@omnia/fx-models").ContainerFillBlueprint | string): any;
65
65
  };
66
+ header: {
67
+ hasVariant(type: BlueprintVariant | string): boolean;
68
+ getRendererBlueprint(type: import("@omnia/fx-models").HeaderBlueprint): import("@omnia/fx-models").HeaderBlueprint;
69
+ };
66
70
  };
67
71
  deactivated(): void;
68
72
  } & {
@@ -12,3 +12,4 @@ export * from "./SpacingMigration";
12
12
  export * from "./ThemeStorage";
13
13
  export * from "./VariantManager";
14
14
  export * from "./ThemeNormalizer";
15
+ export * from "./StateManager";
@@ -0,0 +1,16 @@
1
+ import { HttpMethods, VelcronAppDefinition } from "@omnia/fx-models/internal-do-not-import-from-here/shared";
2
+ export interface ApiSpec {
3
+ title: string;
4
+ method: HttpMethods;
5
+ route: string;
6
+ headers: Record<string, string>;
7
+ body: object;
8
+ velcron: VelcronAppDefinition<{
9
+ items: Array<unknown>;
10
+ item: unknown;
11
+ }>;
12
+ }
13
+ export interface ApiSpecGroup {
14
+ title: string;
15
+ specs: ApiSpec[];
16
+ }
@@ -0,0 +1,2 @@
1
+ export * from "./ApiSpec";
2
+ export * from "./RequestMethodSelection";
@@ -1,5 +1,6 @@
1
1
  import { HttpMethods } from "@omnia/fx-models";
2
- import { HttpResponse } from "@omnia/fx-models/internal-do-not-import-from-here/shared";
2
+ import { HttpResponse, VelcronAppDefinition } from "@omnia/fx-models/internal-do-not-import-from-here/shared";
3
+ import { ApiSpec, ApiSpecGroup } from "../models";
3
4
  export declare const useApiExplorerStore: () => {
4
5
  state: {
5
6
  currentHttpMethod: HttpMethods;
@@ -16,9 +17,19 @@ export declare const useApiExplorerStore: () => {
16
17
  requestHeaders: {
17
18
  [key: string]: string;
18
19
  };
19
- responseHeaders: HttpResponse<unknown>;
20
+ newHeaderName: string;
21
+ newHeaderValue: string;
22
+ response: HttpResponse<unknown>;
20
23
  requesting: boolean;
21
24
  elapsedTime: number;
25
+ apiSpecGroups: ApiSpecGroup[];
26
+ responseHeaders: {
27
+ [key: string]: string;
28
+ };
29
+ velcron: VelcronAppDefinition<{
30
+ items: Array<unknown>;
31
+ item: unknown;
32
+ }>;
22
33
  };
23
34
  events: import("@omnia/fx/stores").StoreEvents<{
24
35
  currentHttpMethod: HttpMethods;
@@ -35,12 +46,27 @@ export declare const useApiExplorerStore: () => {
35
46
  requestHeaders: {
36
47
  [key: string]: string;
37
48
  };
38
- responseHeaders: HttpResponse<unknown>;
49
+ newHeaderName: string;
50
+ newHeaderValue: string;
51
+ response: HttpResponse<unknown>;
39
52
  requesting: boolean;
40
53
  elapsedTime: number;
54
+ apiSpecGroups: ApiSpecGroup[];
55
+ responseHeaders: {
56
+ [key: string]: string;
57
+ };
58
+ velcron: VelcronAppDefinition<{
59
+ items: Array<unknown>;
60
+ item: unknown;
61
+ }>;
41
62
  }, Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>>;
42
63
  actions: import("@omnia/fx/stores").StoreReturnDefineAction<{
43
64
  makeRequest: () => Promise<HttpResponse<unknown>>;
65
+ registerApiSpecGroup(group: ApiSpecGroup): void;
66
+ applySpec(spec: ApiSpec): void;
67
+ addHeader(): void;
68
+ updateHeader(name: string, value: string): void;
69
+ removeHeader(name: string): void;
44
70
  }>;
45
71
  get: {
46
72
  title: () => HttpMethods;
@@ -2,7 +2,7 @@ import { SetupFactoryContext } from "@omnia/fx";
2
2
  import { FlowEditorContentPlugin, FlowEditorPlugin } from "@omnia/fx/ux";
3
3
  interface SetupEditorPluginContext extends SetupFactoryContext {
4
4
  }
5
- export declare function defineEditorPlugin<TPluginType extends FlowEditorPlugin | FlowEditorContentPlugin>(setup: (ctx: SetupEditorPluginContext) => TPluginType): () => TPluginType & {
5
+ export declare function defineFlowEditorPlugin<TPluginType extends FlowEditorPlugin | FlowEditorContentPlugin>(setup: (ctx: SetupEditorPluginContext) => TPluginType): () => TPluginType & {
6
6
  dispose?: () => void;
7
7
  };
8
8
  export {};
@@ -1,6 +1,8 @@
1
1
  import { FlowNode } from "@omnia/fx/ux";
2
2
  import { FlowRendererPlugin } from "./FlowRendererPlugin";
3
3
  import { FlowRendererToHtmlContext } from "./FlowRendererToHtmlContext";
4
+ import { VNodeChild } from "vue";
4
5
  export interface FlowRendererContentPlugin extends FlowRendererPlugin {
5
6
  toHtml: <TNodeType extends FlowNode = FlowNode>(context: FlowRendererToHtmlContext<TNodeType>) => HTMLElement;
7
+ toNode?: <TNodeType extends FlowNode = FlowNode>(context: FlowRendererToHtmlContext<TNodeType>) => VNodeChild;
6
8
  }
@@ -1,10 +1,16 @@
1
1
  import { FlowNode } from "internal/fx/ux/models";
2
2
  import { FlowRendererPlugin } from "./FlowRendererPlugin";
3
+ import { VNode } from "vue";
3
4
  export interface FlowHookContext<TElementType extends HTMLElement = HTMLElement, TNodeType extends FlowNode = FlowNode> {
4
5
  element: TElementType;
5
6
  node: TNodeType;
6
7
  }
8
+ export interface FlowNodeHookContext<TNodeType extends FlowNode = FlowNode> {
9
+ element: VNode;
10
+ node: TNodeType;
11
+ }
7
12
  export interface FlowRenderPluginHook extends FlowRendererPlugin {
8
13
  subscription: string;
9
14
  toHtmlHook: <TElementType extends HTMLElement = HTMLElement, TNodeType extends FlowNode = FlowNode>(context: FlowHookContext<TElementType, TNodeType>) => null;
15
+ toNodeHook?: <TNodeType extends FlowNode = FlowNode>(context: FlowNodeHookContext<TNodeType>) => null;
10
16
  }
@@ -2,7 +2,7 @@ import { SetupFactoryContext } from "@omnia/fx";
2
2
  import { FlowRendererContentPlugin, FlowRendererPlugin } from "../models";
3
3
  interface SetupRendererPluginContext extends SetupFactoryContext {
4
4
  }
5
- export declare function defineRendererPlugin<TArgs extends any[]>(setup: (ctx: SetupRendererPluginContext) => FlowRendererPlugin | FlowRendererContentPlugin): () => FlowRendererPlugin & {
5
+ export declare function defineFlowRendererPlugin<TArgs extends any[]>(setup: (ctx: SetupRendererPluginContext) => FlowRendererPlugin | FlowRendererContentPlugin): () => FlowRendererPlugin & {
6
6
  dispose?: () => void;
7
7
  };
8
8
  export {};