@omnia/fx 8.0.127-dev → 8.0.129-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 (135) hide show
  1. package/internal-do-not-import-from-here/core/Factory.d.ts +2 -0
  2. package/internal-do-not-import-from-here/core/index.d.ts +2 -4
  3. package/internal-do-not-import-from-here/core/messaging/BuiltInTopics.d.ts +1 -1
  4. package/internal-do-not-import-from-here/core/messaging/index.d.ts +1 -1
  5. package/internal-do-not-import-from-here/core/utils/Utils.d.ts +1 -1
  6. package/internal-do-not-import-from-here/index.d.ts +16 -18
  7. package/internal-do-not-import-from-here/manifests/omnia.fx.core.manifest.json +1 -1
  8. package/internal-do-not-import-from-here/services/identities/GroupService.d.ts +3 -1
  9. package/internal-do-not-import-from-here/services/identities/UserService.d.ts +3 -2
  10. package/internal-do-not-import-from-here/services/index.d.ts +0 -1
  11. package/internal-do-not-import-from-here/{core → shared/factory}/DefineFactory.d.ts +1 -1
  12. package/internal-do-not-import-from-here/{core → shared/factory}/Inject.d.ts +2 -2
  13. package/internal-do-not-import-from-here/{core → shared/factory}/ServiceContainer.d.ts +1 -0
  14. package/internal-do-not-import-from-here/shared/factory/index.d.ts +4 -0
  15. package/internal-do-not-import-from-here/shared/index.d.ts +3 -0
  16. package/internal-do-not-import-from-here/{core → shared}/messaging/MessageBus.d.ts +1 -1
  17. package/internal-do-not-import-from-here/{core → shared}/messaging/MessageBusMediator.d.ts +1 -1
  18. package/internal-do-not-import-from-here/shared/messaging/index.d.ts +2 -0
  19. package/internal-do-not-import-from-here/shared/models/DependencyInjection.d.ts +19 -0
  20. package/internal-do-not-import-from-here/shared/models/DependencyInjection.js +9 -0
  21. package/internal-do-not-import-from-here/shared/models/Guid.js +1 -1
  22. package/internal-do-not-import-from-here/shared/models/Messaging.d.ts +23 -0
  23. package/internal-do-not-import-from-here/shared/models/Messaging.js +2 -0
  24. package/internal-do-not-import-from-here/shared/models/hub/targeting/HubSource.js +1 -1
  25. package/internal-do-not-import-from-here/shared/models/index.d.ts +2 -0
  26. package/internal-do-not-import-from-here/shared/models/index.js +2 -0
  27. package/internal-do-not-import-from-here/shared/models/theming/Blueprints.d.ts +0 -6
  28. package/internal-do-not-import-from-here/shared/models/theming/ThemeDefinitionV2.d.ts +6 -4
  29. package/internal-do-not-import-from-here/shared/models/theming/UseThemeMethods.d.ts +0 -2
  30. package/internal-do-not-import-from-here/shared/models/theming/UseThemeMethods.js +0 -4
  31. package/internal-do-not-import-from-here/shared/utils/index.d.ts +4 -0
  32. package/internal-do-not-import-from-here/ux/blueprintpickers/buttonstylepicker/ButtonBlueprintsViewer.d.ts +3 -3
  33. package/internal-do-not-import-from-here/ux/blueprintpickers/chromepicker/ChromeBlueprintsPicker.css.d.ts +4 -0
  34. package/internal-do-not-import-from-here/ux/blueprintpickers/chromepicker/ChromeBlueprintsPicker.d.ts +364 -0
  35. package/internal-do-not-import-from-here/ux/blueprintpickers/chromepicker/ChromeBlueprintsViewer.d.ts +3 -3
  36. package/internal-do-not-import-from-here/ux/blueprintpickers/componentblueprints/ComponentBlueprintsViewer.d.ts +3 -3
  37. package/internal-do-not-import-from-here/ux/blueprintpickers/tabstylepicker/TabBlueprintsViewer.d.ts +3 -3
  38. package/internal-do-not-import-from-here/ux/colorpickerV2/ColorPicker.d.ts +1 -1
  39. package/internal-do-not-import-from-here/ux/colorschemapicker/ColorSchemaDefinitionPicker.d.ts +1 -1
  40. package/internal-do-not-import-from-here/ux/colorschemapicker/ColorSchemaPicker.d.ts +1 -1
  41. package/internal-do-not-import-from-here/ux/colorschemapicker/ColorSchemaViewer.d.ts +1 -1
  42. package/internal-do-not-import-from-here/ux/docs/chrome/SampleViewer.d.ts +1 -1
  43. package/internal-do-not-import-from-here/ux/fillpicker/FillPicker.d.ts +3 -3
  44. package/internal-do-not-import-from-here/ux/identitypicker/IdentityPicker.d.ts +26 -0
  45. package/internal-do-not-import-from-here/ux/identitypicker/IdentityPickerDialog.d.ts +26 -0
  46. package/internal-do-not-import-from-here/ux/identitypicker/IdentityPickerField.d.ts +26 -0
  47. package/internal-do-not-import-from-here/ux/layoutcanvas/editor/settings/layout/BlockHeader.d.ts +10 -10
  48. package/internal-do-not-import-from-here/ux/layoutcanvas/editor/settings/layout/GlobalHeaderStyling.d.ts +10 -10
  49. package/internal-do-not-import-from-here/ux/layoutcanvas/editor/settings/layout/Style.d.ts +10 -10
  50. package/internal-do-not-import-from-here/ux/layoutcanvas/editor/settings/lock/Lock.d.ts +10 -10
  51. package/internal-do-not-import-from-here/ux/layoutcanvas/editor/settings/section/Css.d.ts +10 -10
  52. package/internal-do-not-import-from-here/ux/layoutcanvas/editor/settings/section/Header.d.ts +10 -10
  53. package/internal-do-not-import-from-here/ux/layoutcanvas/editor/settings/section/Spacing.d.ts +10 -10
  54. package/internal-do-not-import-from-here/ux/layoutcanvas/editor/settings/section/Style.d.ts +10 -10
  55. package/internal-do-not-import-from-here/ux/layoutcanvas/editor/settings/section/Targeting.d.ts +10 -10
  56. package/internal-do-not-import-from-here/ux/markdown/MarkdownEditor.d.ts +1 -1
  57. package/internal-do-not-import-from-here/ux/oxide/appbar/Appbar.d.ts +9 -9
  58. package/internal-do-not-import-from-here/ux/oxide/avatar/Avatar.d.ts +2 -2
  59. package/internal-do-not-import-from-here/ux/oxide/btn/Button.d.ts +1 -1
  60. package/internal-do-not-import-from-here/ux/oxide/btngroup/ButtonGroup.d.ts +1 -1
  61. package/internal-do-not-import-from-here/ux/oxide/card/Card.d.ts +1 -1
  62. package/internal-do-not-import-from-here/ux/oxide/checkbox/Checkbox.d.ts +1 -1
  63. package/internal-do-not-import-from-here/ux/oxide/chip/Chip.d.ts +1 -1
  64. package/internal-do-not-import-from-here/ux/oxide/colorpicker/ColorPicker.d.ts +1 -1
  65. package/internal-do-not-import-from-here/ux/oxide/column/ColumnGrid.d.ts +1 -1
  66. package/internal-do-not-import-from-here/ux/oxide/datatable/DataTable.css.d.ts +3661 -10
  67. package/internal-do-not-import-from-here/ux/oxide/datatable/DataTable.d.ts +7322 -20
  68. package/internal-do-not-import-from-here/ux/oxide/divider/Divider.d.ts +2 -2
  69. package/internal-do-not-import-from-here/ux/oxide/expansionpanel/ExpansionPanel.d.ts +1 -1
  70. package/internal-do-not-import-from-here/ux/oxide/expansionpanel/ExpansionPanels.d.ts +1 -1
  71. package/internal-do-not-import-from-here/ux/oxide/icon/Icon.d.ts +2 -2
  72. package/internal-do-not-import-from-here/ux/oxide/link/Link.d.ts +1 -1
  73. package/internal-do-not-import-from-here/ux/oxide/list/List.d.ts +2 -2
  74. package/internal-do-not-import-from-here/ux/oxide/navigationdrawer/NavigationDrawer.d.ts +1 -1
  75. package/internal-do-not-import-from-here/ux/oxide/notification/Notification.d.ts +1 -1
  76. package/internal-do-not-import-from-here/ux/oxide/panel/Panel.d.ts +1 -1
  77. package/internal-do-not-import-from-here/ux/oxide/radio/Radio.d.ts +1 -1
  78. package/internal-do-not-import-from-here/ux/oxide/radio/RadioGroup.d.ts +1 -1
  79. package/internal-do-not-import-from-here/ux/oxide/rangeslider/RangeSlider.d.ts +1 -1
  80. package/internal-do-not-import-from-here/ux/oxide/select/Select.d.ts +7325 -23
  81. package/internal-do-not-import-from-here/ux/oxide/slider/Slider.d.ts +1 -1
  82. package/internal-do-not-import-from-here/ux/oxide/switch/Switch.d.ts +1 -1
  83. package/internal-do-not-import-from-here/ux/oxide/tab/Tabs.d.ts +1 -1
  84. package/internal-do-not-import-from-here/ux/oxide/text/Text.d.ts +2 -2
  85. package/internal-do-not-import-from-here/ux/oxide/textarea/TextArea.d.ts +2 -2
  86. package/internal-do-not-import-from-here/ux/oxide/textfield/TextField.d.ts +2 -2
  87. package/internal-do-not-import-from-here/ux/oxide/toolbar/Toolbar.d.ts +1 -1
  88. package/internal-do-not-import-from-here/ux/signin/identitycreationrequest/IdentityCreationRequestView.d.ts +10 -10
  89. package/internal-do-not-import-from-here/ux/theming-v2/designkits/core/BlueprintsTemplates.d.ts +32 -1
  90. package/internal-do-not-import-from-here/ux/theming-v2/designkits/core/ColorManager.d.ts +7 -0
  91. package/internal-do-not-import-from-here/ux/theming-v2/designkits/core/ColorSchemaManager.d.ts +12 -0
  92. package/internal-do-not-import-from-here/ux/theming-v2/designkits/core/ThemeDefinitionInstance.d.ts +21 -2
  93. package/internal-do-not-import-from-here/ux/theming-v2/designkits/core/ThemeRegistrations.d.ts +1 -0
  94. package/internal-do-not-import-from-here/ux/theming-v2/designkits/documentation/themes/BlueprintsTypography.d.ts +99 -3
  95. package/internal-do-not-import-from-here/ux/theming-v2/designkits/editor/themes/BlueprintsTypography.d.ts +159 -3
  96. package/internal-do-not-import-from-here/ux/theming-v2/store/BlueprintTemplatesStore.d.ts +13 -1
  97. package/internal-do-not-import-from-here/ux/theming-v2/store/ChromeBlueprintStore.d.ts +3668 -16
  98. package/internal-do-not-import-from-here/ux/theming-v2/store/ColorSchemaStore.d.ts +3661 -9
  99. package/internal-do-not-import-from-here/ux/theming-v2/store/ComponentBlueprintStore.d.ts +3667 -15
  100. package/internal-do-not-import-from-here/ux/theming-v2/store/SpacingBlueprintStore.d.ts +3666 -14
  101. package/internal-do-not-import-from-here/ux/theming-v2/store/ThemeContextStore.d.ts +0 -9
  102. package/internal-do-not-import-from-here/ux/theming-v2/store/ThemeStoreV2.d.ts +5 -6
  103. package/internal-do-not-import-from-here/ux/theming-v2/store/TypographyBlueprintStore.d.ts +3670 -18
  104. package/internal-do-not-import-from-here/ux/theming-v2/store/index.d.ts +0 -2
  105. package/internal-do-not-import-from-here/ux/theming-v2/styling/UseStyling.d.ts +36610 -100
  106. package/internal-do-not-import-from-here/ux/theming-v2/themepicker/ThemeEditor.d.ts +77 -0
  107. package/internal-do-not-import-from-here/ux/use/UseColorSchemaSetup.d.ts +3661 -10
  108. package/internal-do-not-import-from-here/ux/velcron/core/stores/VelcronColorSchema.d.ts +1 -1
  109. package/internal-do-not-import-from-here/ux/velcron/core/stores/VelcronTheming.d.ts +3 -3
  110. package/internal-do-not-import-from-here/ux/velcron/editor/components/ContainerRenderer.d.ts +1 -1
  111. package/internal-do-not-import-from-here/wctypings.d.ts +23 -1
  112. package/package.json +2 -2
  113. package/internal-do-not-import-from-here/ux/theming-v2/designkits/default/themes/BlueprintsChrome.d.ts +0 -12
  114. package/internal-do-not-import-from-here/ux/theming-v2/designkits/default/themes/BlueprintsComponents.d.ts +0 -22
  115. package/internal-do-not-import-from-here/ux/theming-v2/designkits/default/themes/BlueprintsSpacing.d.ts +0 -20
  116. package/internal-do-not-import-from-here/ux/theming-v2/designkits/default/themes/BlueprintsTypography.d.ts +0 -27
  117. package/internal-do-not-import-from-here/ux/theming-v2/designkits/default/themes/DefinitionsComponents.d.ts +0 -0
  118. package/internal-do-not-import-from-here/ux/theming-v2/designkits/default/themes/DefinitionsSpacing.d.ts +0 -28
  119. package/internal-do-not-import-from-here/ux/theming-v2/designkits/documentation/themes/BlueprintsChrome.d.ts +0 -8
  120. package/internal-do-not-import-from-here/ux/theming-v2/designkits/documentation/themes/BlueprintsComponents.d.ts +0 -8
  121. package/internal-do-not-import-from-here/ux/theming-v2/designkits/documentation/themes/BlueprintsSpacing.d.ts +0 -11
  122. package/internal-do-not-import-from-here/ux/theming-v2/designkits/documentation/themes/DefinitionsComponents.d.ts +0 -0
  123. package/internal-do-not-import-from-here/ux/theming-v2/designkits/documentation/themes/DefinitionsSpacing.d.ts +0 -19
  124. package/internal-do-not-import-from-here/ux/theming-v2/designkits/documentation/themes/DefinitionsTypography.d.ts +0 -98
  125. package/internal-do-not-import-from-here/ux/theming-v2/designkits/editor/themes/BlueprintsChrome.d.ts +0 -11
  126. package/internal-do-not-import-from-here/ux/theming-v2/designkits/editor/themes/BlueprintsComponents.d.ts +0 -8
  127. package/internal-do-not-import-from-here/ux/theming-v2/designkits/editor/themes/BlueprintsSpacing.d.ts +0 -11
  128. package/internal-do-not-import-from-here/ux/theming-v2/designkits/editor/themes/DefinitionsComponents.d.ts +0 -0
  129. package/internal-do-not-import-from-here/ux/theming-v2/designkits/editor/themes/DefinitionsSpacing.d.ts +0 -19
  130. package/internal-do-not-import-from-here/ux/theming-v2/designkits/editor/themes/DefinitionsTypography.d.ts +0 -158
  131. package/internal-do-not-import-from-here/ux/theming-v2/store/TypographyDefinitionStore.d.ts +0 -29
  132. package/internal-do-not-import-from-here/{core → shared/factory}/Injectable.d.ts +0 -0
  133. package/internal-do-not-import-from-here/ux/theming-v2/designkits/{default/themes/DefinitionsTypography.d.ts → core/TypographyBlueprints.d.ts} +0 -0
  134. package/internal-do-not-import-from-here/ux/theming-v2/{themedefinitionpicker/ThemeDefinitionPicker.css.d.ts → themepicker/ThemePicker.css.d.ts} +0 -0
  135. package/internal-do-not-import-from-here/ux/theming-v2/{themedefinitionpicker/ThemeDefinitionPicker.d.ts → themepicker/ThemePicker.d.ts} +1 -1
@@ -0,0 +1,2 @@
1
+ import { GuidValue } from "@omnia/fx-models";
2
+ export declare function injectByTypeId(typeId: GuidValue): any;
@@ -1,11 +1,9 @@
1
+ export { ServiceContainer, ServiceContainerContext, defineFactory, defineInjectable, defineService, Inject, Injectable, useInject, registerInjectResolver, isInjectable, type SetupFactoryContext } from "internal/fx/shared";
1
2
  export { Extend, registerApi } from "./Extend";
2
3
  export * from "./Provide";
3
- export * from "./Inject";
4
- export * from "./Injectable";
5
- export * from "./DefineFactory";
4
+ export * from "./Factory";
6
5
  export * from "./Cookies";
7
6
  export * from "./LocalStorage";
8
- export { ServiceContainer, ServiceContainerContext } from "./ServiceContainer";
9
7
  export * from "./Encoder";
10
8
  export * from "./Require";
11
9
  export { PublicManifestResourceLoader as ManifestResourceLoader } from "../runtime/core/ManifestResourceLoader";
@@ -1,5 +1,5 @@
1
1
  import { OmniaHeaderMessage, PageEditModeMessage, AdminVisibility, IRouteContext, IMessageBusTopicPublishSubscriber, IMessageBusTopicSubscription, AppTitleMessage, AppProvisioningHandlerMessage, IMessageBusTopicPublication, MSTeamsChannelTabProviderMessage, NotificationMessage, NavigationNodeInitializeMessage } from "../../models";
2
- import { MessageBusTopicMediator } from "./MessageBusMediator";
2
+ import { MessageBusTopicMediator } from "internal/fx/shared";
3
3
  export declare class Topics {
4
4
  static Admin: {
5
5
  new (): {};
@@ -1,2 +1,2 @@
1
- export * from "./MessageBusMediator";
1
+ export { MessageBusTopicMediator, MessageBus, SubscriptionHandler, MessageBusExposeOnlyPublication, MessageBusExposeOnlySubscription } from "internal/fx/shared";
2
2
  export * from "./BuiltInTopics";
@@ -1,6 +1,5 @@
1
1
  import { TimePeriodSettings, TenantRegionalSettings, IIcon } from "../../models";
2
2
  export declare namespace Utils {
3
- function isNativeClass(value: any): boolean;
4
3
  function asyncForEach<T>(array: Array<T>, callback: (item: T, index?: number, items?: Array<T>) => Promise<void>): Promise<void>;
5
4
  function isPromise(val: any): boolean;
6
5
  function isString(target: any): boolean;
@@ -42,6 +41,7 @@ export declare namespace Utils {
42
41
  * Generate a new guid
43
42
  */
44
43
  function generateGuid(): string;
44
+ function isNativeClass(value: any): boolean;
45
45
  /**
46
46
  * Validate guid value
47
47
  */
@@ -43,35 +43,33 @@ export declare function setCurrentManifest(omniaServiceId: any, resourceId: any)
43
43
  OmniaContextProvider: typeof Exposes.OmniaContextProvider;
44
44
  OmniaContext: typeof Exposes.OmniaContext;
45
45
  ContextProviderCollection: typeof Exposes.ContextProviderCollection;
46
- Extend: Models.IExtend;
47
- registerApi: typeof Exposes.registerApi;
48
46
  ServiceContainer: typeof Exposes.ServiceContainer;
49
47
  ServiceContainerContext: typeof Exposes.ServiceContainerContext;
48
+ defineFactory: typeof Exposes.defineFactory;
49
+ defineInjectable: typeof Exposes.defineInjectable;
50
+ defineService: typeof Exposes.defineService;
51
+ Inject: typeof Exposes.Inject;
52
+ Injectable: typeof Exposes.Injectable;
53
+ useInject: typeof Exposes.useInject;
54
+ registerInjectResolver: typeof Exposes.registerInjectResolver;
55
+ isInjectable: typeof Exposes.isInjectable;
56
+ Extend: Models.IExtend;
57
+ registerApi: typeof Exposes.registerApi;
50
58
  ManifestResourceLoader: typeof Exposes.ManifestResourceLoader;
51
59
  Provide<T>(classType: any, constructorArgs?: T): any;
52
60
  useProvide<TProvide, TConstructor>(provide: TProvide, constructorArgs?: TConstructor): TProvide extends new (...args: any) => infer P ? P : TProvide extends (...args: any) => infer P2 ? P2 : TProvide extends Object ? TProvide : never;
53
- Inject<T_1>(classType: any, constructorArgs?: T_1): any;
54
- useInject<TClass, TConstructor_1>(type: (new (...args: any[]) => TClass) | (() => TClass), constructorArgs?: TConstructor_1): TClass;
55
61
  injectByTypeId(typeId: Models.GuidValue): any;
56
- isInjectable(type: any): boolean;
57
- Injectable<T_2>(options: Models.ActivationOptions): any;
58
- defineInjectable<TFunc extends Function>(targetFunc: TFunc, options: Models.ActivationOptions): TFunc;
59
- defineFactory<InferReturnSetup>(setup: (ctx: Exposes.SetupFactoryContext, ...args: any) => InferReturnSetup, lifetime: Models.InstanceLifetimes, typeIdentifier?: Models.GuidValue): () => InferReturnSetup;
60
- defineFactory<InferReturnSetup_1, T1>(setup: (ctx: Exposes.SetupFactoryContext, param1: T1) => InferReturnSetup_1, lifetime: Models.InstanceLifetimes, typeIdentifier?: Models.GuidValue): (param1: T1) => InferReturnSetup_1;
61
- defineFactory<InferReturnSetup_2, T1_1, T2>(setup: (ctx: Exposes.SetupFactoryContext, param1: T1_1, param2: T2) => InferReturnSetup_2, lifetime: Models.InstanceLifetimes, typeIdentifier?: string): (param1: T1_1, param2: T2) => InferReturnSetup_2;
62
- defineFactory<InferReturnSetup_3, T1_2, T2_1, T3>(setup: (ctx: Exposes.SetupFactoryContext, param1: T1_2, param2: T2_1, param3: T3) => InferReturnSetup_3, lifetime: Models.InstanceLifetimes, typeIdentifier?: Models.GuidValue): (param1: T1_2, param2: T2_1, param3: T3) => InferReturnSetup_3;
63
- defineFactory<InferReturnSetup_4, T1_3, T2_2, T3_1, T4>(setup: (ctx: Exposes.SetupFactoryContext, param1: T1_3, param2: T2_2, param3: T3_1, param4: T4) => InferReturnSetup_4, lifetime: Models.InstanceLifetimes, typeIdentifier?: Models.GuidValue): (param1: T1_3, param2: T2_2, param3: T3_1, param4: T4) => InferReturnSetup_4;
64
- defineFactory<InferReturnSetup_5, T1_4, T2_3, T3_2, T4_1, T5>(setup: (ctx: Exposes.SetupFactoryContext, param1: T1_4, param2: T2_3, param3: T3_2, param4: T4_1, param5: T5) => InferReturnSetup_5, lifetime: Models.InstanceLifetimes, typeIdentifier?: Models.GuidValue): (param1: T1_4, param2: T2_3, param3: T3_2, param4: T4_1, param5: T5) => InferReturnSetup_5;
65
62
  Cookies: typeof Exposes.Cookies;
66
63
  LocalStorage: typeof Exposes.LocalStorage;
67
64
  Encoder: typeof Exposes.Encoder;
68
65
  Require: typeof Exposes.Require;
69
66
  propertyPath: <StartType, TargetType = any>() => <Path extends string>(propertyPathToCheck: Exposes.PropPathCheckTargetType<StartType, Path, TargetType>) => string;
70
- propertyPathValue: <T_3, P_1 extends string>(obj: T_3, path: Exposes.PropPathCheckTargetType<T_3, P_1, Exposes.PropPathType<T_3, P_1>>) => Exposes.PropPathType<T_3, P_1>;
67
+ propertyPathValue: <T_1, P_1 extends string>(obj: T_1, path: Exposes.PropPathCheckTargetType<T_1, P_1, Exposes.PropPathType<T_1, P_1>>) => Exposes.PropPathType<T_1, P_1>;
68
+ MessageBusTopicMediator: typeof Exposes.MessageBusTopicMediator;
69
+ MessageBus: typeof Exposes.MessageBus;
71
70
  SubscriptionHandler: typeof Exposes.SubscriptionHandler;
72
- MessageBusExposeOnlySubscription: typeof Exposes.MessageBusExposeOnlySubscription;
73
71
  MessageBusExposeOnlyPublication: typeof Exposes.MessageBusExposeOnlyPublication;
74
- MessageBusTopicMediator: typeof Exposes.MessageBusTopicMediator;
72
+ MessageBusExposeOnlySubscription: typeof Exposes.MessageBusExposeOnlySubscription;
75
73
  Topics: typeof Exposes.Topics;
76
74
  useOmniaClient(serviceId?: Models.GuidValue): Exposes.HttpClient;
77
75
  HttpContextProviderCollection: typeof Exposes.HttpContextProviderCollection;
@@ -102,7 +100,7 @@ export declare function setCurrentManifest(omniaServiceId: any, resourceId: any)
102
100
  mergeLocaliation(srcObj: object, desObj: object): void;
103
101
  LocalizationServiceProviders: typeof Exposes.LocalizationServiceProviders;
104
102
  GraphClient: typeof Exposes.GraphClient;
105
- createEventHook<T_4 = any>(): Exposes.EventHook<T_4>;
103
+ createEventHook<T_2 = any>(): Exposes.EventHook<T_2>;
106
104
  registerVuePlugin(plugin: (((app: import("vue").App<any>, ...options: any[]) => any) & {
107
105
  install?: (app: import("vue").App<any>, ...options: any[]) => any;
108
106
  }) | {
@@ -130,5 +128,5 @@ export declare function setCurrentManifest(omniaServiceId: any, resourceId: any)
130
128
  ApiHelper: typeof Exposes.ApiHelper;
131
129
  omniaScriptApi: Exposes.IOmniaScriptApi;
132
130
  Localize(namespace?: string): any;
133
- useLocalize<T_5>(namespace: string): T_5;
131
+ useLocalize<T_3>(namespace: string): T_3;
134
132
  };
@@ -1 +1 @@
1
- {"name":"omniaWebpackJsonp['bb000000-0000-bbbb-0000-0000000000bb']['a2892051-fd9f-4056-ae8d-30d16d48417d']","content":{"./node_modules/@omnia/fx/core/messaging/MessageBus.js":{"id":"./node_modules/@omnia/fx/core/messaging/messagebus.js","buildMeta":{"exportsType":"namespace"},"expo.js":["MessageBus"]},"./node_modules/@omnia/fx/core/services/IAppRouteFactory.js":{"id":"./node_modules/@omnia/fx/core/services/iapproutefactory.js","buildMeta":{"exportsType":"namespace"},"expo.js":["IAppRouteFactory"]},"./node_modules/@omnia/fx/core/services/InternalConfigurationService.js":{"id":"./node_modules/@omnia/fx/core/services/internalconfigurationservice.js","buildMeta":{"exportsType":"namespace"},"expo.js":["InternalConfigurationService"]},"./node_modules/@omnia/fx-models/ManifestIds.js":{"id":"./node_modules/@omnia/fx-models/manifestids.js","buildMeta":{"exportsType":"namespace"},"expo.js":["OmniaGroupManifests","OmniaResourceManifests","OmniaService","OmniaWebComponentManifests"]},"./node_modules/@omnia/fx/ux/velcron/core/models/index.js":{"id":"./node_modules/@omnia/fx/ux/velcron/core/models/index.js","buildMeta":{"exportsType":"namespace"},"expo.js":["AssignOperators","BuiltInPropertyEditorTypes","VelcronActionTypes","VelcronColorSchemasStateBinding","VelcronContentStateBinding","VelcronDataTypes","VelcronHeaderStateBinding","VelcronHorizontalAlignments","VelcronIconTypes","VelcronImageRatios","VelcronImagesStateBinding","VelcronSpacingStateBinding","VelcronStateBinding","VelcronVerticalAlignments","VelcronViewDirections"]},"./node_modules/@omnia/fx/core/services/ServiceManifestProviderInternal.js":{"id":"0688ceff-4257-4427-b385-a83d6802c509","buildMeta":{"exportsType":"namespace"},"expo.js":["ServiceManifestProviderInternal"]},"./node_modules/@omnia/fx/core/messaging/InternalTopics.js":{"id":"10407664-c0c5-438b-94b2-507d58d190af","buildMeta":{"exportsType":"namespace"},"expo.js":["InternalTopics"]},"./node_modules/@omnia/fx/core/Extend.js":{"id":"4eeb27d5-906a-4edf-bd38-3d97048cda3d","buildMeta":{"exportsType":"namespace"},"expo.js":["Extend","InternalExtend","registerApi"]},"./node_modules/@omnia/fx/core/index.js":{"id":"97786ea9-4861-48bd-8a57-eae9bbdb4892","buildMeta":{"exportsType":"namespace"},"expo.js":["AppRoutePropertyBagFactory","AuthenticationSessionService","BusinessProfilePathPropertyBagFactory","BusinessProfilePropertyBagFactory","Console","ConsoleUIService","Cookies","Encoder","EnterprisePropertyHandler","ErrorBus","Extend","GraphClient","HttpClient","HttpContextProviderCollection","IAppRouteFactory","IBusinessProfileFactory","ITenantFactory","Inject","Injectable","LocalStorage","LocalizationServiceProviders","MD5Util","ManifestResourceLoader","MessageBusExposeOnlyPublication","MessageBusExposeOnlySubscription","MessageBusTopicMediator","MigrationUtils","NamedPropertyOperationsFactory","OmniaPropertyBagBase","Provide","Require","ServiceContainer","ServiceContainerContext","ServiceLocator","ServiceManifestProvider","SubscriptionHandler","TenantPropertyBagFactory","TokenService","Topics","UserAgentUtils","UserPropertyBagFactory","Utils","WebUtils","createEventHook","defineFactory","defineInjectable","injectByTypeId","isInjectable","mergeLocaliation","propertyPath","propertyPathValue","registerApi","useInject","useOmniaClient","useProvide"]},"./node_modules/@omnia/fx/core/http/InternalHttpPlugins.js":{"id":"b8d937e0-3fc3-4412-a469-92941b829cdb","buildMeta":{"exportsType":"namespace"},"expo.js":["HttpContextConfigPlugin","HttpRetryPlugIn"]},"./node_modules/@omnia/fx/runtime/core/InternalWebComponentBootstrapper.js":{"id":"c9f21f62-e664-44e4-8cf4-0dcbec75c4bf","buildMeta":{"exportsType":"namespace"},"expo.js":["InternalWebComponentBootstrapper"]},"./node_modules/@omnia/fx-models/index.js":{"id":"d0a145a7-d1ef-4217-aa6f-85dd18c4231d","buildMeta":{"exportsType":"namespace"}},"./node_modules/@omnia/fx/core/ServiceContainer.js":{"id":"d746466a-e74a-48d9-bc3b-e52d11dadffc","buildMeta":{"exportsType":"namespace"},"expo.js":["InternalServiceContainer","ServiceContainer","ServiceContainerContext"]},"./node_modules/@omnia/fx/core/messaging/InternalMessageBusMediator.js":{"id":"f986d8dd-7c76-40b6-9bf8-b64ac2902642","buildMeta":{"exportsType":"namespace"},"expo.js":[]},"./node_modules/@omnia/fx/runtime/core/index.js":{"id":"ff061abc-7f0e-444b-b2b9-7ff71c5842c5","buildMeta":{"exportsType":"namespace"},"expo.js":["LoadableManifest","LocalHostingService","ManifestByBackendRuntimeLoader","ManifestByClientRuntimeLoader","ManifestByElementLoader","ManifestByFeatureLoader","ManifestByLicenseLoader","ManifestByUrlLoader","ManifestByUserLoader","ManifestCombinedRuleLoader","ManifestExtendRuleLoader","ManifestPublisher","ManifestResourceLoader","ManifestSubscriber","PublicManifestResourceLoader"]}}}
1
+ {"name":"omniaWebpackJsonp['bb000000-0000-bbbb-0000-0000000000bb']['a2892051-fd9f-4056-ae8d-30d16d48417d']","content":{"./node_modules/@omnia/fx/core/services/IAppRouteFactory.js":{"id":"./node_modules/@omnia/fx/core/services/iapproutefactory.js","buildMeta":{"exportsType":"namespace"},"expo.js":["IAppRouteFactory"]},"./node_modules/@omnia/fx/core/services/InternalConfigurationService.js":{"id":"./node_modules/@omnia/fx/core/services/internalconfigurationservice.js","buildMeta":{"exportsType":"namespace"},"expo.js":["InternalConfigurationService"]},"./node_modules/@omnia/fx-models/ManifestIds.js":{"id":"./node_modules/@omnia/fx-models/manifestids.js","buildMeta":{"exportsType":"namespace"},"expo.js":["OmniaGroupManifests","OmniaResourceManifests","OmniaService","OmniaWebComponentManifests"]},"./node_modules/@omnia/fx/ux/velcron/core/models/index.js":{"id":"./node_modules/@omnia/fx/ux/velcron/core/models/index.js","buildMeta":{"exportsType":"namespace"},"expo.js":["AssignOperators","BuiltInPropertyEditorTypes","VelcronActionTypes","VelcronColorSchemasStateBinding","VelcronContentStateBinding","VelcronDataTypes","VelcronHeaderStateBinding","VelcronHorizontalAlignments","VelcronIconTypes","VelcronImageRatios","VelcronImagesStateBinding","VelcronSpacingStateBinding","VelcronStateBinding","VelcronVerticalAlignments","VelcronViewDirections"]},"./node_modules/@omnia/fx/core/services/ServiceManifestProviderInternal.js":{"id":"0688ceff-4257-4427-b385-a83d6802c509","buildMeta":{"exportsType":"namespace"},"expo.js":["ServiceManifestProviderInternal"]},"./node_modules/@omnia/fx/core/messaging/InternalTopics.js":{"id":"10407664-c0c5-438b-94b2-507d58d190af","buildMeta":{"exportsType":"namespace"},"expo.js":["InternalTopics"]},"./node_modules/@omnia/fx/core/Extend.js":{"id":"4eeb27d5-906a-4edf-bd38-3d97048cda3d","buildMeta":{"exportsType":"namespace"},"expo.js":["Extend","InternalExtend","registerApi"]},"./node_modules/@omnia/fx/core/index.js":{"id":"97786ea9-4861-48bd-8a57-eae9bbdb4892","buildMeta":{"exportsType":"namespace"},"expo.js":["AppRoutePropertyBagFactory","AuthenticationSessionService","BusinessProfilePathPropertyBagFactory","BusinessProfilePropertyBagFactory","Console","ConsoleUIService","Cookies","Encoder","EnterprisePropertyHandler","ErrorBus","Extend","GraphClient","HttpClient","HttpContextProviderCollection","IAppRouteFactory","IBusinessProfileFactory","ITenantFactory","Inject","Injectable","LocalStorage","LocalizationServiceProviders","MD5Util","ManifestResourceLoader","MessageBus","MessageBusExposeOnlyPublication","MessageBusExposeOnlySubscription","MessageBusTopicMediator","MigrationUtils","NamedPropertyOperationsFactory","OmniaPropertyBagBase","Provide","Require","ServiceContainer","ServiceContainerContext","ServiceLocator","ServiceManifestProvider","SubscriptionHandler","TenantPropertyBagFactory","TokenService","Topics","UserAgentUtils","UserPropertyBagFactory","Utils","WebUtils","createEventHook","defineFactory","defineInjectable","defineService","injectByTypeId","isInjectable","mergeLocaliation","propertyPath","propertyPathValue","registerApi","registerInjectResolver","useInject","useOmniaClient","useProvide"]},"./node_modules/@omnia/fx/core/http/InternalHttpPlugins.js":{"id":"b8d937e0-3fc3-4412-a469-92941b829cdb","buildMeta":{"exportsType":"namespace"},"expo.js":["HttpContextConfigPlugin","HttpRetryPlugIn"]},"./node_modules/@omnia/fx/runtime/core/InternalWebComponentBootstrapper.js":{"id":"c9f21f62-e664-44e4-8cf4-0dcbec75c4bf","buildMeta":{"exportsType":"namespace"},"expo.js":["InternalWebComponentBootstrapper"]},"./node_modules/@omnia/fx-models/index.js":{"id":"d0a145a7-d1ef-4217-aa6f-85dd18c4231d","buildMeta":{"exportsType":"namespace"}},"./node_modules/@omnia/fx/core/messaging/InternalMessageBusMediator.js":{"id":"f986d8dd-7c76-40b6-9bf8-b64ac2902642","buildMeta":{"exportsType":"namespace"},"expo.js":[]},"./node_modules/@omnia/fx/runtime/core/index.js":{"id":"ff061abc-7f0e-444b-b2b9-7ff71c5842c5","buildMeta":{"exportsType":"namespace"},"expo.js":["LoadableManifest","LocalHostingService","ManifestByBackendRuntimeLoader","ManifestByClientRuntimeLoader","ManifestByElementLoader","ManifestByFeatureLoader","ManifestByLicenseLoader","ManifestByUrlLoader","ManifestByUserLoader","ManifestCombinedRuleLoader","ManifestExtendRuleLoader","ManifestPublisher","ManifestResourceLoader","ManifestSubscriber","PublicManifestResourceLoader"]}}}
@@ -1,4 +1,4 @@
1
- import { ResolvedGroupIdentity, GroupIdentity, GroupIdentityAddOrUpdateRequest, Identity, GroupMembershipUpdateRequest, GroupManagementQuery, ArchiveIdentityManagementQuery } from "../../models";
1
+ import { ResolvedGroupIdentity, GroupIdentity, GroupIdentityAddOrUpdateRequest, Identity, GroupMembershipUpdateRequest, GroupManagementQuery, ArchiveIdentityManagementQuery, GroupIdentityAddOrUpdateWithMembershipRequest, GroupIdentityAddOrUpdateWithMembershipResponse } from "../../models";
2
2
  export declare class GroupService {
3
3
  private httpClient;
4
4
  getAll: (query: GroupManagementQuery) => Promise<{
@@ -16,4 +16,6 @@ export declare class GroupService {
16
16
  }>;
17
17
  restore: (identity: GroupIdentity) => Promise<void>;
18
18
  purge: (identity: GroupIdentity) => Promise<void>;
19
+ addorupdatewithmembership: (request: GroupIdentityAddOrUpdateWithMembershipRequest) => Promise<GroupIdentityAddOrUpdateWithMembershipResponse>;
20
+ checkCurrentUserIsGroupOwner: (identity: GroupIdentity) => Promise<boolean>;
19
21
  }
@@ -1,4 +1,4 @@
1
- import { ResolvedUserIdentity, UserIdentity, UserIdentityAddRequest, PropertyValueBinding, PropertyDefinition, Guid, UserManagementQuery, ArchiveIdentityManagementQuery, TemplateFileSettings, TemplateFileData, BulkImportFileValidation, BulkImportUsersTasks, GuidValue, UserAuthenticationInformation, UserAddWithAuthInfoReponse } from "../../models";
1
+ import { ArchiveIdentityManagementQuery, BulkImportFileValidation, BulkImportUsersTasks, Guid, GuidValue, Identity, PropertyDefinition, PropertyValueBinding, ResolvedUserIdentity, ScopeTypes, TemplateFileData, TemplateFileSettings, UserAddWithAuthInfoReponse, UserAuthenticationInformation, UserIdentity, UserIdentityAddRequest, UserManagementQuery } from "../../models";
2
2
  export declare class UserService {
3
3
  private httpClient;
4
4
  getAll: (query: UserManagementQuery) => Promise<{
@@ -19,7 +19,8 @@ export declare class UserService {
19
19
  getBulkImportTemplateFileData: (templateFileSettings: TemplateFileSettings) => Promise<TemplateFileData>;
20
20
  uploadBulkImportUsersFile: (file: File) => Promise<void>;
21
21
  preValidateBulkImportFile: (file: File) => Promise<BulkImportFileValidation>;
22
- getUserImportTasks: (ownerId: string) => Promise<BulkImportUsersTasks[]>;
22
+ getUserImportTasks: (businessProfileId: string) => Promise<BulkImportUsersTasks[]>;
23
23
  getUserImportTaskDetails: (id: GuidValue) => Promise<BulkImportUsersTasks>;
24
24
  ensureAzureAdUserByUsername(username: string): Promise<UserIdentity>;
25
+ changeScope: (users: Array<Identity>, scopeType: ScopeTypes, scope: string) => Promise<void>;
25
26
  }
@@ -35,7 +35,6 @@ export * from "../shared/services";
35
35
  export * from "./AppNamingPolicyService";
36
36
  export * from "./FileStorageService";
37
37
  export * from "./PostService";
38
- export * from "../shared/services";
39
38
  export * from "./identities";
40
39
  export * from "./TenantPreSetupService";
41
40
  export * from "./ConnectedTenantService";
@@ -1,5 +1,5 @@
1
1
  import { GuidValue, InstanceLifetimes } from "@omnia/fx-models";
2
- import { SubscriptionHandler } from "./messaging";
2
+ import { SubscriptionHandler } from "../messaging";
3
3
  export interface SetupFactoryContext {
4
4
  onDeactivated(fn: () => void): any;
5
5
  subscriptions: SubscriptionHandler;
@@ -1,4 +1,5 @@
1
- import { GuidValue } from "@omnia/fx-models";
1
+ type Resolver = <TClass, TConstructor>(type: Class<TClass> | (() => TClass), constructorArgs?: TConstructor) => TClass;
2
+ export declare function registerInjectResolver(resolver: Resolver): void;
2
3
  /**
3
4
  * Injects an instance of the specifed type. That instance maybe come from higer level relation provide it.
4
5
  *
@@ -26,5 +27,4 @@ type Class<T> = {
26
27
  * useInject<HttpClientConstructor>(HttpClient,{someConstructorArg1:"",someConstructorArg2})
27
28
  */
28
29
  export declare function useInject<TClass, TConstructor>(type: Class<TClass> | (() => TClass), constructorArgs?: TConstructor): TClass;
29
- export declare function injectByTypeId(typeId: GuidValue): any;
30
30
  export {};
@@ -6,6 +6,7 @@ interface MockInstance {
6
6
  type: any;
7
7
  instance: any;
8
8
  }
9
+ export declare function registerTypeResolver(resolver: (type: any) => any): void;
9
10
  export declare class InternalServiceContainer {
10
11
  private id;
11
12
  private static creatingFromType;
@@ -0,0 +1,4 @@
1
+ export * from "./ServiceContainer";
2
+ export * from "./Injectable";
3
+ export * from "./Inject";
4
+ export * from "./DefineFactory";
@@ -7,3 +7,6 @@ export * from "./broadcasting";
7
7
  export * from "./workers";
8
8
  export * from "./http";
9
9
  export * from "./services";
10
+ export * from "./utils";
11
+ export * from "./factory";
12
+ export * from "./messaging";
@@ -1,4 +1,4 @@
1
- import { Topic, TopicSettings } from "../../models";
1
+ import { Topic, TopicSettings } from "../models";
2
2
  /**
3
3
  * A message bus where messages can be published and subscribed to based on a path
4
4
  * @class MessageBus
@@ -1,4 +1,4 @@
1
- import { Topic, TopicSettings, IMessageBusSubscriptionHandler, IMessageBusTopicSubscription, IMessageBusTopicPublishSubscriber, IMessageBusTopicPublication, TopicCreatedFunc } from "../../models";
1
+ import { Topic, TopicSettings, IMessageBusSubscriptionHandler, IMessageBusTopicSubscription, IMessageBusTopicPublishSubscriber, IMessageBusTopicPublication, TopicCreatedFunc } from "../models";
2
2
  export declare class SubscriptionHandler implements IMessageBusSubscriptionHandler {
3
3
  private unSubcribeHandlers;
4
4
  constructor();
@@ -0,0 +1,2 @@
1
+ export * from "./MessageBus";
2
+ export * from "./MessageBusMediator";
@@ -0,0 +1,19 @@
1
+ export interface ActivationOptions {
2
+ lifetime?: InstanceLifetimes;
3
+ onStartup?: (type: any) => void;
4
+ createFactory?: (classType: any) => any;
5
+ onInstanceCreated?: (instance: any) => void;
6
+ onBeforeInstanceCreated?: () => void;
7
+ onDisposing?: (instance: any) => void;
8
+ }
9
+ export interface TypeDefinition extends ActivationOptions {
10
+ type: any;
11
+ }
12
+ export declare enum InstanceLifetimes {
13
+ Transient = 0,
14
+ Singleton = 1,
15
+ Scoped = 2
16
+ }
17
+ export interface IDisposable {
18
+ onDisposing: () => void;
19
+ }
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.InstanceLifetimes = void 0;
4
+ var InstanceLifetimes;
5
+ (function (InstanceLifetimes) {
6
+ InstanceLifetimes[InstanceLifetimes["Transient"] = 0] = "Transient";
7
+ InstanceLifetimes[InstanceLifetimes["Singleton"] = 1] = "Singleton";
8
+ InstanceLifetimes[InstanceLifetimes["Scoped"] = 2] = "Scoped";
9
+ })(InstanceLifetimes || (exports.InstanceLifetimes = InstanceLifetimes = {}));
@@ -12,6 +12,7 @@ require("./Equals"); // ensure execute code in equals first
12
12
  * Class to create a guid
13
13
  */
14
14
  class Guid {
15
+ static { this._empty = new Guid("00000000-0000-0000-0000-000000000000"); }
15
16
  static newGuid() {
16
17
  return new Guid("xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, c => {
17
18
  const r = Math.random() * 16 | 0;
@@ -57,7 +58,6 @@ class Guid {
57
58
  }
58
59
  }
59
60
  exports.Guid = Guid;
60
- Guid._empty = new Guid("00000000-0000-0000-0000-000000000000");
61
61
  // only add extension methods when running in browser, not in node.js
62
62
  if (globalThis.omnia) {
63
63
  Object.defineProperty(String.prototype["equals"], "guid", {
@@ -0,0 +1,23 @@
1
+ export interface TopicCreatedFunc<T> {
2
+ (created: IMessageBusTopicPublishSubscriber<T>): void;
3
+ }
4
+ export interface IMessageBusSubscriptionHandler {
5
+ /**
6
+ * Unsubscribe to the related subscription(s)
7
+ * and/or any subscriptions added using add method)
8
+ * */
9
+ unsubscribe(): any;
10
+ /**
11
+ * Adds another unsubscribe handler, all will be unsubscribed to if calling unsubscribe
12
+ * @param unSubscriptionHandler
13
+ */
14
+ add(unSubscriptionHandler: IMessageBusSubscriptionHandler): any;
15
+ }
16
+ export interface IMessageBusTopicSubscription<T> {
17
+ subscribe: (fn: (obj: T) => void) => IMessageBusSubscriptionHandler;
18
+ }
19
+ export interface IMessageBusTopicPublication<T> {
20
+ publish: (msg: T) => void;
21
+ }
22
+ export interface IMessageBusTopicPublishSubscriber<T> extends IMessageBusTopicSubscription<T>, IMessageBusTopicPublication<T> {
23
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -2,6 +2,6 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.HubSource = void 0;
4
4
  class HubSource {
5
+ static { this.Id = "eb4fde5f-4f3e-4c70-9893-3d9e048fda0c"; }
5
6
  }
6
7
  exports.HubSource = HubSource;
7
- HubSource.Id = "eb4fde5f-4f3e-4c70-9893-3d9e048fda0c";
@@ -17,3 +17,5 @@ export * from "./StronglyTypedId";
17
17
  export * from "./theming";
18
18
  export * from "./hub";
19
19
  export * from "./velcron";
20
+ export * from "./DependencyInjection";
21
+ export * from "./Messaging";
@@ -21,3 +21,5 @@ tslib_1.__exportStar(require("./StronglyTypedId"), exports);
21
21
  tslib_1.__exportStar(require("./theming"), exports);
22
22
  tslib_1.__exportStar(require("./hub"), exports);
23
23
  tslib_1.__exportStar(require("./velcron"), exports);
24
+ tslib_1.__exportStar(require("./DependencyInjection"), exports);
25
+ tslib_1.__exportStar(require("./Messaging"), exports);
@@ -5,31 +5,25 @@ import { TypographyValue } from "./Typography";
5
5
  export interface BoxDimensions extends Spacing {
6
6
  }
7
7
  import { TypographyBlueprint } from "./Typography";
8
- export type BlueprintType = "chrome" | "typography" | "spacing" | "component";
9
8
  export interface Blueprints {
10
- type: BlueprintType;
11
9
  name?: string;
12
10
  }
13
11
  export type BlueprintVariant = "primary" | "secondary" | "variant1" | "variant2" | "variant3";
14
12
  export type ButtonBlueprintType = "text" | "icon";
15
13
  export interface ChromeBlueprints extends Blueprints {
16
- type: "chrome";
17
14
  primary: ChromeBlueprint;
18
15
  variant1?: ChromeBlueprint;
19
16
  variant2?: ChromeBlueprint;
20
17
  variant3?: ChromeBlueprint;
21
18
  }
22
19
  export interface TypographyBlueprints extends Blueprints {
23
- type: "typography";
24
20
  primary: TypographyBlueprint;
25
21
  }
26
22
  export interface SpacingBlueprints extends Blueprints {
27
- type: "spacing";
28
23
  primary: SpacingBlueprint;
29
24
  }
30
25
  export type ButtonTypes = "primary" | "basic" | "accent1" | "warn" | "disabled" | "link";
31
26
  export interface ComponentBlueprints extends Blueprints {
32
- type: "component";
33
27
  buttons?: {
34
28
  text?: {
35
29
  primary?: ButtonBlueprint;
@@ -1,5 +1,5 @@
1
1
  import { Guid } from "../Guid";
2
- import { Blueprints, BoxDimensions } from "./Blueprints";
2
+ import { BoxDimensions, ChromeBlueprints, ComponentBlueprints, SpacingBlueprints, TypographyBlueprints } from "./Blueprints";
3
3
  export interface ColorTypeResult<resultType> {
4
4
  base: resultType;
5
5
  baseTone: resultType;
@@ -41,10 +41,12 @@ export interface ColorSchemas {
41
41
  }
42
42
  export interface ThemeDefinitionV2 {
43
43
  id: Guid;
44
- name: string;
45
- dark: boolean;
44
+ name?: string;
46
45
  colors: ColorSchemas;
47
- blueprints: Blueprints[];
46
+ typography: TypographyBlueprints;
47
+ spacing: SpacingBlueprints;
48
+ chrome: ChromeBlueprints;
49
+ components: ComponentBlueprints;
48
50
  }
49
51
  export type ColorSchemaType = keyof typeof ColorSchemaTypes;
50
52
  export declare enum ColorSchemaTypes {
@@ -1,8 +1,6 @@
1
1
  import { ColorDefinition, ColorSchema, ColorSchemaType, ColorSchemaTypes, ColorType, ColorTypes } from "./ThemeDefinitionV2";
2
- import { Blueprints, BlueprintType } from "./Blueprints";
3
2
  export declare function useThemeMethods(getThemeDefinition: () => any): {
4
3
  colorSchema: (colorSchemaType: ColorSchemaTypes | ColorSchemaType) => ColorSchema;
5
- bluePrintbyType: <TType extends Blueprints>(type: BlueprintType) => TType;
6
4
  color: (colorSchemaType: ColorSchemaTypes | ColorSchemaType, colorType: ColorTypes | ColorType) => string;
7
5
  colorDefinition: (colorSchemaType: ColorSchemaTypes | ColorSchemaType, colorType: ColorTypes | ColorType) => ColorDefinition;
8
6
  complementaryColorType: (colorType: ColorTypes | ColorType) => ColorTypes;
@@ -5,9 +5,6 @@ exports.useThemeMethods = void 0;
5
5
  const ThemeDefinitionV2_1 = require("./ThemeDefinitionV2");
6
6
  // temp change ThemeDefinitionInstance to any because fx/shared can't reference higher level fx/ux
7
7
  function useThemeMethods(getThemeDefinition) {
8
- function bluePrintbyType(type) {
9
- return getThemeDefinition().blueprints.find(x => x.type === type);
10
- }
11
8
  function colorSchema(colorSchemaType) {
12
9
  if (colorSchemaType === ThemeDefinitionV2_1.ColorSchemaTypes.primary) {
13
10
  return getThemeDefinition().colors.primary;
@@ -92,7 +89,6 @@ function useThemeMethods(getThemeDefinition) {
92
89
  }
93
90
  return {
94
91
  colorSchema,
95
- bluePrintbyType,
96
92
  color,
97
93
  colorDefinition,
98
94
  complementaryColorType,
@@ -0,0 +1,4 @@
1
+ export declare class Utils {
2
+ static generateGuid(): string;
3
+ static isNativeClass(value: any): boolean;
4
+ }
@@ -9,11 +9,11 @@ declare const _default: (props: {
9
9
  toned?: boolean;
10
10
  } & Omit<{
11
11
  "onClick:select"?: (type: ButtonBlueprintType, buttonType: ButtonTypes) => any;
12
- }, "v-model" | "onUpdate:modelValue" | "modelValue" | "toned"> & {
12
+ }, "toned" | "v-model" | "onUpdate:modelValue" | "modelValue"> & {
13
13
  "v-slots"?: {
14
14
  default?: import("vue").Slot;
15
15
  };
16
- } & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "v-model" | "onUpdate:modelValue" | "modelValue" | "toned">) => {
16
+ } & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "toned" | "v-model" | "onUpdate:modelValue" | "modelValue">) => {
17
17
  $: import("vue").ComponentInternalInstance;
18
18
  $data: {};
19
19
  $props: {};
@@ -65,7 +65,7 @@ declare const _default: (props: {
65
65
  };
66
66
  } & {
67
67
  "onClick:select"?: (type: ButtonBlueprintType, buttonType: ButtonTypes) => any;
68
- } & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "v-model" | "onUpdate:modelValue" | "modelValue" | "toned">;
68
+ } & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "toned" | "v-model" | "onUpdate:modelValue" | "modelValue">;
69
69
  } & import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
70
70
  [key: string]: any;
71
71
  }>;
@@ -0,0 +1,4 @@
1
+ export declare const ChromeBlueprintsPickerStyles: {
2
+ selector: (dark: boolean) => string;
3
+ container: string;
4
+ };