@omnia/fx 7.0.463-dev → 7.0.464-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 (86) hide show
  1. package/internal-do-not-import-from-here/core/Extend.d.ts +1 -1
  2. package/internal-do-not-import-from-here/core/Inject.d.ts +1 -1
  3. package/internal-do-not-import-from-here/core/ServiceContainer.d.ts +1 -1
  4. package/internal-do-not-import-from-here/core/propertyPath.d.ts +2 -2
  5. package/internal-do-not-import-from-here/core/propertyPathValue.d.ts +1 -1
  6. package/internal-do-not-import-from-here/microsoftteams/index.d.ts +1 -1
  7. package/internal-do-not-import-from-here/shared/models/Bring.d.ts +3 -3
  8. package/internal-do-not-import-from-here/shared/models/Guid.js +15 -15
  9. package/internal-do-not-import-from-here/shared/models/Realtime.d.ts +1 -1
  10. package/internal-do-not-import-from-here/shared/models/Realtime.js +4 -4
  11. package/internal-do-not-import-from-here/spfx/components/OmniaWPContainer.d.ts +1 -1
  12. package/internal-do-not-import-from-here/spfx/messagebus/internal/InternalTopics.d.ts +1 -1
  13. package/internal-do-not-import-from-here/stores/EnterpriseGlossaryStore.d.ts +1 -1
  14. package/internal-do-not-import-from-here/stores/Store.d.ts +4 -4
  15. package/internal-do-not-import-from-here/ux/InternalDefineWebComponent.d.ts +4 -4
  16. package/internal-do-not-import-from-here/ux/StyleFlow.d.ts +11 -121
  17. package/internal-do-not-import-from-here/ux/TsxAllowUnknowProperties.d.ts +1 -1
  18. package/internal-do-not-import-from-here/ux/UxCoreTypings.d.ts +3 -3
  19. package/internal-do-not-import-from-here/ux/VueComponentBase.d.ts +2 -2
  20. package/internal-do-not-import-from-here/ux/admin/chrome/AdminChrome.d.ts +1 -1
  21. package/internal-do-not-import-from-here/ux/admin/store/AdminStore.d.ts +1 -1
  22. package/internal-do-not-import-from-here/ux/compositiontests/TestInjectComponent.d.ts +1 -1
  23. package/internal-do-not-import-from-here/ux/identities/IdentityRenderer.d.ts +1 -1
  24. package/internal-do-not-import-from-here/ux/imagetransformer/tui-image-editor/interfaces.d.ts +1 -1
  25. package/internal-do-not-import-from-here/ux/layoutcanvas/stores/LayoutCanvasStore.d.ts +1 -1
  26. package/internal-do-not-import-from-here/ux/models/RichTextEditorStyles.d.ts +1 -1
  27. package/internal-do-not-import-from-here/ux/models/TermGlossaryMappingStyles.d.ts +1 -1
  28. package/internal-do-not-import-from-here/ux/post/IPost.d.ts +1 -1
  29. package/internal-do-not-import-from-here/ux/properties/builtins/birthday/BirthdayDisplay.d.ts +1 -1
  30. package/internal-do-not-import-from-here/ux/properties/builtins/birthday/BirthdayEditor.d.ts +1 -1
  31. package/internal-do-not-import-from-here/ux/properties/builtins/birthday/BirthdayPropertyDefinition.d.ts +2 -2
  32. package/internal-do-not-import-from-here/ux/properties/builtins/date/DateDisplay.d.ts +1 -1
  33. package/internal-do-not-import-from-here/ux/properties/builtins/date/DateEditor.d.ts +1 -1
  34. package/internal-do-not-import-from-here/ux/properties/builtins/date/DatePropertyDefinition.d.ts +2 -2
  35. package/internal-do-not-import-from-here/ux/properties/builtins/date-time/DateTimeDisplay.d.ts +1 -1
  36. package/internal-do-not-import-from-here/ux/properties/builtins/date-time/DateTimeEditor.d.ts +1 -1
  37. package/internal-do-not-import-from-here/ux/properties/builtins/date-time/DateTimePropertyDefinition.d.ts +2 -2
  38. package/internal-do-not-import-from-here/ux/properties/builtins/email/EmailPropertyDefinition.d.ts +1 -1
  39. package/internal-do-not-import-from-here/ux/properties/builtins/html/HtmlPropertyDefinition.d.ts +2 -2
  40. package/internal-do-not-import-from-here/ux/properties/builtins/identity/IdentityDisplay.d.ts +1 -1
  41. package/internal-do-not-import-from-here/ux/properties/builtins/identity/IdentityEditor.d.ts +1 -1
  42. package/internal-do-not-import-from-here/ux/properties/builtins/language/LanguageDisplay.d.ts +1 -1
  43. package/internal-do-not-import-from-here/ux/properties/builtins/language/LanguageEditor.d.ts +1 -1
  44. package/internal-do-not-import-from-here/ux/properties/builtins/language/LanguagePropertyDefinition.d.ts +1 -1
  45. package/internal-do-not-import-from-here/ux/properties/builtins/link/LinkDisplay.d.ts +1 -1
  46. package/internal-do-not-import-from-here/ux/properties/builtins/link/LinkEditor.d.ts +1 -1
  47. package/internal-do-not-import-from-here/ux/properties/builtins/link/LinkPropertyDefinition.d.ts +1 -1
  48. package/internal-do-not-import-from-here/ux/properties/builtins/multiline-text/MultilineTextDisplay.d.ts +1 -1
  49. package/internal-do-not-import-from-here/ux/properties/builtins/multiline-text/MultilineTextEditor.d.ts +1 -1
  50. package/internal-do-not-import-from-here/ux/properties/builtins/multiline-text/MultilineTextPropertyDefinition.d.ts +1 -1
  51. package/internal-do-not-import-from-here/ux/properties/builtins/multilingualText/MultilingualTextDisplay.d.ts +1 -1
  52. package/internal-do-not-import-from-here/ux/properties/builtins/multilingualText/MultilingualTextEditor.d.ts +1 -1
  53. package/internal-do-not-import-from-here/ux/properties/builtins/multilingualText/MultilingualTextPropertyDefinition.d.ts +1 -1
  54. package/internal-do-not-import-from-here/ux/properties/builtins/phone-number/PhoneNumberDisplay.d.ts +1 -1
  55. package/internal-do-not-import-from-here/ux/properties/builtins/phone-number/PhoneNumberPropertyDefinition.d.ts +1 -1
  56. package/internal-do-not-import-from-here/ux/properties/builtins/text/TextDisplay.d.ts +1 -1
  57. package/internal-do-not-import-from-here/ux/properties/builtins/text/TextEditor.d.ts +1 -1
  58. package/internal-do-not-import-from-here/ux/properties/builtins/text/TextPropertyDefinition.d.ts +1 -1
  59. package/internal-do-not-import-from-here/ux/properties/builtins/time/TimeDisplay.d.ts +1 -1
  60. package/internal-do-not-import-from-here/ux/properties/builtins/time/TimeEditor.d.ts +1 -1
  61. package/internal-do-not-import-from-here/ux/properties/builtins/time/TimePropertyDefinition.d.ts +2 -2
  62. package/internal-do-not-import-from-here/ux/properties/legacy-enterprise-property/LegacyEnterprisePropertyDefinition.d.ts +2 -2
  63. package/internal-do-not-import-from-here/ux/properties/legacy-enterprise-property/LegacyEnterprisePropertyDisplay.d.ts +1 -1
  64. package/internal-do-not-import-from-here/ux/properties/legacy-enterprise-property/LegacyEnterprisePropertyEditor.d.ts +1 -1
  65. package/internal-do-not-import-from-here/ux/properties/models/DataSource.d.ts +1 -1
  66. package/internal-do-not-import-from-here/ux/properties/models/Properties.d.ts +3 -3
  67. package/internal-do-not-import-from-here/ux/properties/models/PropertyApi.d.ts +1 -1
  68. package/internal-do-not-import-from-here/ux/selection/ISelection.d.ts +1 -1
  69. package/internal-do-not-import-from-here/ux/theming/InternalTheming.d.ts +1 -1
  70. package/internal-do-not-import-from-here/ux/use/Types.d.ts +4 -4
  71. package/internal-do-not-import-from-here/ux/use/UseClone.d.ts +1 -1
  72. package/internal-do-not-import-from-here/ux/use/UseEventHook.d.ts +3 -3
  73. package/internal-do-not-import-from-here/ux/use/UseEventListener.d.ts +2 -2
  74. package/internal-do-not-import-from-here/ux/use/UseKeyboard.d.ts +3 -3
  75. package/internal-do-not-import-from-here/ux/user/UserPropertiesByMicrosoftGraphDefinition.d.ts +2 -2
  76. package/internal-do-not-import-from-here/ux/user/UserPropertyProviderDefinition.d.ts +2 -2
  77. package/internal-do-not-import-from-here/ux/velcron/core/models/VelcronDefinitions.d.ts +3 -3
  78. package/internal-do-not-import-from-here/ux/velcron/core/models/VelcronEvents.d.ts +6 -6
  79. package/internal-do-not-import-from-here/ux/velcron/core/models/VelcronTypes.d.ts +4 -4
  80. package/internal-do-not-import-from-here/ux/velcron/editor/VelcronEditor.css.d.ts +1 -1
  81. package/internal-do-not-import-from-here/ux/velcron/editor/VelcronEditor.d.ts +1 -1
  82. package/internal-do-not-import-from-here/ux/velcron/renderer/VelcronRenderer.css.d.ts +3 -3
  83. package/internal-do-not-import-from-here/ux/velcron/renderer/components/ComponentCreator.d.ts +1 -1
  84. package/internal-do-not-import-from-here/ux/vuetify/types.d.ts +17 -17
  85. package/internal-do-not-import-from-here/vue/vuecustomelement/VueCustomElement.d.ts +2 -2
  86. package/package.json +3 -3
@@ -1,5 +1,5 @@
1
1
  import { IExtend, LoadableBundleManifest, GuidValue, IExtendApiManifest, IExtendApiManifestWithConfiguration, ApiPath, Future } from "../models";
2
- export declare type ExtendApiConfigurationManifest<T> = {
2
+ export type ExtendApiConfigurationManifest<T> = {
3
3
  configuration: T;
4
4
  manifest: LoadableBundleManifest;
5
5
  };
@@ -10,7 +10,7 @@
10
10
  * Inject<HttpClientConstructor>(HttpClient,{someConstructorArg1:"",someConstructorArg2})
11
11
  */
12
12
  export declare function Inject<T>(classType: any, constructorArgs?: T): any;
13
- declare type Class<T> = {
13
+ type Class<T> = {
14
14
  new (...args: any[]): T;
15
15
  };
16
16
  /**
@@ -1,4 +1,4 @@
1
- declare type Class = {
1
+ type Class = {
2
2
  new (...args: any[]): any;
3
3
  };
4
4
  interface MockInstance {
@@ -1,5 +1,5 @@
1
- export declare type PropPathCheckTargetType<T, Path extends string, TargetType> = string extends Path ? never : Path extends keyof T ? (T[Path] extends TargetType ? `${Path}` : never) : Path extends `${infer K}.${infer R}` ? K extends keyof T ? PropStartPathCheckTargetType<T[K], R, Path, TargetType> : never : never;
2
- declare type PropStartPathCheckTargetType<T, Path extends string, StartPath extends string, TargetType> = string extends Path ? never : Path extends keyof T ? (T[Path] extends TargetType ? `${StartPath}` : never) : Path extends `${infer K}.${infer R}` ? K extends keyof T ? PropStartPathCheckTargetType<T[K], R, Path, TargetType> : never : never;
1
+ export type PropPathCheckTargetType<T, Path extends string, TargetType> = string extends Path ? never : Path extends keyof T ? (T[Path] extends TargetType ? `${Path}` : never) : Path extends `${infer K}.${infer R}` ? K extends keyof T ? PropStartPathCheckTargetType<T[K], R, Path, TargetType> : never : never;
2
+ type PropStartPathCheckTargetType<T, Path extends string, StartPath extends string, TargetType> = string extends Path ? never : Path extends keyof T ? (T[Path] extends TargetType ? `${StartPath}` : never) : Path extends `${infer K}.${infer R}` ? K extends keyof T ? PropStartPathCheckTargetType<T[K], R, Path, TargetType> : never : never;
3
3
  /**
4
4
  * Returns the property path as string if valid for type, else compile error (Argument of type string is not assignable to never).
5
5
  *
@@ -1,5 +1,5 @@
1
1
  import { PropPathCheckTargetType } from "./propertyPath";
2
- export declare type PropPathType<T, Path extends string> = string extends Path ? never : Path extends keyof T ? T[Path] : Path extends `${infer K}.${infer R}` ? K extends keyof T ? PropPathType<T[K], R> : never : never;
2
+ export type PropPathType<T, Path extends string> = string extends Path ? never : Path extends keyof T ? T[Path] : Path extends `${infer K}.${infer R}` ? K extends keyof T ? PropPathType<T[K], R> : never : never;
3
3
  /**
4
4
  * Get a value from a property path and preserv type of the target on that path
5
5
  *
@@ -1,5 +1,5 @@
1
1
  import { microsoftTeams } from "./MicrosoftTeams.d";
2
- export declare type MicrosoftTeams = typeof microsoftTeams;
2
+ export type MicrosoftTeams = typeof microsoftTeams;
3
3
  export declare module MicrosoftTeamsSdkLoader {
4
4
  function getApi(): Promise<MicrosoftTeams>;
5
5
  function runningInMicrosoftTeams(): boolean;
@@ -1,6 +1,6 @@
1
- export declare type BringMethods = "GET" | "POST" | "PUT" | "DELETE" | "PATCH" | "HEAD" | "OPTIONS";
2
- export declare type BringCacheOptions = "no-cache" | "reload" | "force-cache" | "only-if-cached";
3
- export declare type BringCredentials = "include" | "omit" | "same-origin";
1
+ export type BringMethods = "GET" | "POST" | "PUT" | "DELETE" | "PATCH" | "HEAD" | "OPTIONS";
2
+ export type BringCacheOptions = "no-cache" | "reload" | "force-cache" | "only-if-cached";
3
+ export type BringCredentials = "include" | "omit" | "same-origin";
4
4
  export interface BringInterceptOptions {
5
5
  beforeRequest?: (request: BringConfig) => BringConfig;
6
6
  afterRequest?: <T>(response: BringResponse<T>, request: BringConfig) => BringResponse<T>;
@@ -8,21 +8,6 @@ exports.Guid = void 0;
8
8
  * Class to create a guid
9
9
  */
10
10
  class Guid {
11
- constructor(guid) {
12
- this.value = Guid._empty;
13
- //We serialize as string value
14
- this.toJSON = () => {
15
- return this.value.toLowerCase();
16
- };
17
- if (guid) {
18
- if (Guid.isValid(guid)) {
19
- this.value = guid;
20
- }
21
- else {
22
- throw `The string '${guid}' is not a valid Guid`;
23
- }
24
- }
25
- }
26
11
  static newGuid() {
27
12
  return new Guid("xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, c => {
28
13
  const r = Math.random() * 16 | 0;
@@ -40,6 +25,21 @@ class Guid {
40
25
  const validRegex = /^[{]?[0-9a-fA-F]{8}[-]?([0-9a-fA-F]{4}[-]?){3}[0-9a-fA-F]{12}[}]?$/;
41
26
  return validRegex.test(guid.toString());
42
27
  }
28
+ constructor(guid) {
29
+ this.value = Guid._empty;
30
+ //We serialize as string value
31
+ this.toJSON = () => {
32
+ return this.value.toLowerCase();
33
+ };
34
+ if (guid) {
35
+ if (Guid.isValid(guid)) {
36
+ this.value = guid;
37
+ }
38
+ else {
39
+ throw `The string '${guid}' is not a valid Guid`;
40
+ }
41
+ }
42
+ }
43
43
  toString() {
44
44
  return this.value.toLowerCase();
45
45
  }
@@ -26,7 +26,7 @@ export declare class PageChatRealtimeData extends RealtimeData<BusinuessProfileC
26
26
  constructor(channel: BusinuessProfileChannel);
27
27
  getId(): GuidValue;
28
28
  }
29
- export declare type RealtimeChannelUpdateTypes = "activate" | "deactivate";
29
+ export type RealtimeChannelUpdateTypes = "activate" | "deactivate";
30
30
  export interface RealtimeChannelUpdateMessage extends RealtimChannelMessage {
31
31
  threadId: GuidValue;
32
32
  type: RealtimeChannelUpdateTypes;
@@ -16,16 +16,16 @@ class BusinuessProfileChannel extends RealtimeChannel {
16
16
  }
17
17
  exports.BusinuessProfileChannel = BusinuessProfileChannel;
18
18
  class RealtimeData {
19
- constructor(channel, value) {
20
- this._channel = channel;
21
- this._value = value;
22
- }
23
19
  get channel() {
24
20
  return this._channel;
25
21
  }
26
22
  get value() {
27
23
  return this._value;
28
24
  }
25
+ constructor(channel, value) {
26
+ this._channel = channel;
27
+ this._value = value;
28
+ }
29
29
  }
30
30
  exports.RealtimeData = RealtimeData;
31
31
  //FIXME: This is a test implementation remove when tested
@@ -1,6 +1,6 @@
1
1
  import { SettingsService } from "../../../fx/services";
2
2
  import { VueComponentBase, BlockCatalogStore } from "../../ux";
3
- export declare type WebComponentDefinition = {
3
+ export type WebComponentDefinition = {
4
4
  id: string;
5
5
  name: string;
6
6
  icon?: {
@@ -3,7 +3,7 @@ export declare enum SpfxSettingsActionType {
3
3
  Get = 0,
4
4
  Set = 1
5
5
  }
6
- export declare type SpfxWebPartSettingMsg = {
6
+ export type SpfxWebPartSettingMsg = {
7
7
  action: SpfxSettingsActionType;
8
8
  callBack: (value?: any) => void;
9
9
  value?: any;
@@ -3,7 +3,7 @@ import { ServiceContainerContext } from "../core";
3
3
  import { EnterpriseGlossary, EnterpriseGlossaryBase, EnterpriseGlossaryInstance, IEnterpriseGlossaryInformationSourceReadonly, EnterpriseGlossaryInformationSourceSettings, EnterpriseGlossaryMapping, EnterpriseGlossaryMappingData, EnterpriseGlossaryMappingId } from "../models";
4
4
  import { EnterpriseGlossaryService } from "../services/EnterpriseGlossaryService";
5
5
  import { Store } from "./Store";
6
- declare type TriggeredEnterpriseGlossaryInformation<TInformationSource extends Object = Object, TInformationSourceSettings extends EnterpriseGlossaryInformationSourceSettings = EnterpriseGlossaryInformationSourceSettings> = {
6
+ type TriggeredEnterpriseGlossaryInformation<TInformationSource extends Object = Object, TInformationSourceSettings extends EnterpriseGlossaryInformationSourceSettings = EnterpriseGlossaryInformationSourceSettings> = {
7
7
  sourceInformation: IEnterpriseGlossaryInformationSourceReadonly<TInformationSource>;
8
8
  providerInformationSourceSettings: TInformationSourceSettings;
9
9
  };
@@ -19,10 +19,10 @@ export interface StateMutationLog {
19
19
  export interface StateActionLog {
20
20
  func: any;
21
21
  }
22
- declare type MapOnCommitToCommit<T extends Function> = T extends (...args: infer U) => void ? (...args: U) => IMessageBusSubscriptionHandler : T;
23
- declare type MapActionOnDispatching<T extends Function> = T extends (...args: infer U) => Promise<infer Y> ? (...args: U) => void : never;
24
- declare type MapActionOnDispatched<T extends Function> = T extends (...args: infer U) => Promise<infer Y> ? (result: Y, ...args: U) => void : never;
25
- declare type MapActionOnFailure<T extends Function> = T extends (...args: infer U) => Promise<infer Y> ? (failureReason: any, ...args: U) => void : never;
22
+ type MapOnCommitToCommit<T extends Function> = T extends (...args: infer U) => void ? (...args: U) => IMessageBusSubscriptionHandler : T;
23
+ type MapActionOnDispatching<T extends Function> = T extends (...args: infer U) => Promise<infer Y> ? (...args: U) => void : never;
24
+ type MapActionOnDispatched<T extends Function> = T extends (...args: infer U) => Promise<infer Y> ? (result: Y, ...args: U) => void : never;
25
+ type MapActionOnFailure<T extends Function> = T extends (...args: infer U) => Promise<infer Y> ? (failureReason: any, ...args: U) => void : never;
26
26
  export declare class StoreLogger {
27
27
  private _logState;
28
28
  enabled: boolean;
@@ -5,7 +5,7 @@ import { RecordPropsDefinition } from "vue/types/options";
5
5
  import { PropsForOutside, RequiredPropNames, _TsxComponentInstanceV3, _TsxComponentV3 } from "vue-tsx-support/lib/api";
6
6
  import { InnerScopedSlots } from "vue-tsx-support";
7
7
  import { TsxComponentTypeInfo } from "vue-tsx-support/types/base";
8
- export declare type SetupContextExtend<PrefixedEvents = unknown, ScopedSlots = unknown, On = unknown> = SetupContext & {
8
+ export type SetupContextExtend<PrefixedEvents = unknown, ScopedSlots = unknown, On = unknown> = SetupContext & {
9
9
  slots: InnerScopedSlots<ScopedSlots>;
10
10
  _tsx?: TsxComponentTypeInfo<{}, {}, PrefixedEvents, On>;
11
11
  refs: {
@@ -13,16 +13,16 @@ export declare type SetupContextExtend<PrefixedEvents = unknown, ScopedSlots = u
13
13
  };
14
14
  readonly parent: Vue | null;
15
15
  };
16
- export declare type CompositionComponentOptions<Props, PropsDef extends RecordPropsDefinition<Props>, PrefixedEvents, ScopedSlots, On> = {
16
+ export type CompositionComponentOptions<Props, PropsDef extends RecordPropsDefinition<Props>, PrefixedEvents, ScopedSlots, On> = {
17
17
  props?: PropsDef & RecordPropsDefinition<Props>;
18
18
  setup: (this: void, props: Props, ctx: SetupContextExtend<PrefixedEvents, ScopedSlots, On>) => () => VNode | JSX.Element;
19
19
  } & Pick<ComponentOptions<Vue>, "name" | "components" | "inheritAttrs" | "directives" | "filters">;
20
- export declare type CompositionComponentOptionsWithRender<Props, PropsDef extends RecordPropsDefinition<Props>, PrefixedEvents, ScopedSlots, On, RawBinding> = {
20
+ export type CompositionComponentOptionsWithRender<Props, PropsDef extends RecordPropsDefinition<Props>, PrefixedEvents, ScopedSlots, On, RawBinding> = {
21
21
  props?: PropsDef & RecordPropsDefinition<Props>;
22
22
  setup: (this: void, props: Props, ctx: SetupContextExtend<PrefixedEvents, ScopedSlots, On>) => RawBinding;
23
23
  render(): VNode | JSX.Element;
24
24
  } & Pick<ComponentOptions<Vue>, "name" | "components" | "inheritAttrs" | "directives" | "filters"> & ThisType<ComponentPublicInstance<Props, RawBinding>>;
25
- declare type _OmniaTsxComponentV3<V extends Vue, Attributes, Props, PrefixedEvents, On, ScopedSlotArgs> = VueConstructor<_TsxComponentInstanceV3<V, Attributes, Props, PrefixedEvents, On, ScopedSlotArgs>> & {
25
+ type _OmniaTsxComponentV3<V extends Vue, Attributes, Props, PrefixedEvents, On, ScopedSlotArgs> = VueConstructor<_TsxComponentInstanceV3<V, Attributes, Props, PrefixedEvents, On, ScopedSlotArgs>> & {
26
26
  propsDefinition: Props;
27
27
  };
28
28
  export declare function defineVueWebComponent<Props, PropsDef extends RecordPropsDefinition<Props> = RecordPropsDefinition<Props>, PrefixedEvents = any, ScopedSlots = any, On = any, RawBinding = any, RequiredProps extends keyof Props = RequiredPropNames<PropsDef> & keyof Props>(options: CompositionComponentOptions<Props, PropsDef, PrefixedEvents, ScopedSlots, On> | CompositionComponentOptionsWithRender<Props, PropsDef, PrefixedEvents, ScopedSlots, On, RawBinding>, register?: (manifest: WebComponentBundleManifest, component: _TsxComponentV3<Vue, {}, PropsForOutside<Props, RequiredProps>, PrefixedEvents, On, ScopedSlots>) => void): _OmniaTsxComponentV3<Vue, {}, PropsForOutside<Props, RequiredProps>, PrefixedEvents, On, ScopedSlots> | _OmniaTsxComponentV3<Vue & ShallowUnwrapRef<RawBinding>, {}, PropsForOutside<Props, RequiredProps>, PrefixedEvents, On, ScopedSlots>;
@@ -1,11 +1,11 @@
1
1
  import { types } from "typestyle";
2
2
  import { NestedCSSPropertiesExtends } from "@omnia/fx/models";
3
- declare type CSSClassNames<T extends string> = {
3
+ type CSSClassNames<T extends string> = {
4
4
  [P in T]?: string | any;
5
5
  };
6
- declare type CSSClasses<K extends keyof any> = CustomRecord<K, types.NestedCSSProperties>;
7
- declare type CSSClassesExtends<K extends string> = CustomRecord<K, NestedCSSPropertiesExtends>;
8
- declare type CustomRecord<K extends keyof any, T> = {
6
+ type CSSClasses<K extends keyof any> = CustomRecord<K, types.NestedCSSProperties>;
7
+ type CSSClassesExtends<K extends string> = CustomRecord<K, NestedCSSPropertiesExtends>;
8
+ type CustomRecord<K extends keyof any, T> = {
9
9
  [P in K]?: T | ((...args: any[]) => T);
10
10
  };
11
11
  export declare module StyleFlow {
@@ -17,129 +17,19 @@ export declare module StyleFlow {
17
17
  */
18
18
  export function stylesheet(selector: string, ...objects: types.NestedCSSProperties[]): void;
19
19
  module InternalStyleFlow {
20
- const cssClassesName = "__$cssClasses";
21
- const debugName = "__$debugName";
22
- function define<Names extends string = any, TCSSClasses extends CSSClasses<Names> = any>(target: TCSSClasses, classes?: TCSSClasses, prefixClassName?: string): TCSSClasses {
23
- target = target || {} as any;
24
- if (classes) {
25
- const classNames = Object.getOwnPropertyNames(classes) as (Names)[];
26
- for (const className of classNames) {
27
- const classDef = classes[className];
28
- if (classDef) {
29
- target[className] = target[className] || classDef;
30
- if (Utils.isFunction(target[className])) {
31
- target[className] = classDef;
32
- }
33
- else {
34
- target[className] = Object.assign({}, target[className], classDef);
35
- }
36
- }
37
- }
38
- }
39
- if (prefixClassName) {
40
- target[debugName] = prefixClassName;
41
- }
42
- target[cssClassesName] = buildCssClasses(target);
43
- return target;
44
- }
45
- function override<T>(target: T) {
46
- return new StyleOverride<T>(target);
47
- }
48
- function use<Names extends string = any>(target: CSSClassesExtends<Names>, ...mergeCSSClasses: Array<CSSClassesExtends<Names>>): CSSClassNames<Names> {
49
- if (mergeCSSClasses) {
50
- const mergeObject = Object.assign({}, ...mergeCSSClasses);
51
- const classNames = Object.getOwnPropertyNames(mergeObject as any) as (Names)[];
52
- const cloneObject = Object.assign({}, target || {}) as any;
53
- for (const className of classNames) {
54
- const classDef = mergeObject[className];
55
- if (classDef) {
56
- if (classDef["$clear"] || Utils.isFunction(classDef)) {
57
- cloneObject[className] = classDef;
58
- }
59
- else {
60
- cloneObject[className] = Object.assign({}, cloneObject[className] || {}, classDef);
61
- }
62
- }
63
- }
64
- return buildCssClasses(cloneObject);
65
- }
66
- if (!target[cssClassesName]) {
67
- target[cssClassesName] = buildCssClasses(target);
68
- }
69
- return target[cssClassesName];
70
- }
71
- function stylesheet(selector: string, ...objects: types.NestedCSSProperties[]) {
72
- cssRule(selector, ...objects);
73
- }
74
- function buildCssClasses<T, K extends keyof T>(source: T): CSSClassNames<Extract<keyof T, string>> {
75
- const result = {};
76
- const classNames = Object.getOwnPropertyNames(source);
77
- for (const className of classNames) {
78
- Object.defineProperty(result, className, {
79
- get: function () {
80
- if (Utils.isFunction(source[className])) {
81
- return (...args) => {
82
- return mergeCssClasses(source, className, args);
83
- };
84
- }
85
- const cssClassName = `__$class__${className}`;
86
- if (!this[cssClassName]) {
87
- this[cssClassName] = mergeCssClasses(source, className);
88
- }
89
- return this[cssClassName];
90
- },
91
- enumerable: true,
92
- configurable: true
93
- });
94
- }
95
- return result as CSSClassNames<Extract<keyof T, string>>;
96
- }
97
- function mergeCssClasses(source, propName: string, args?) {
98
- const isFunction = Utils.isFunction(source[propName]);
99
- const overrideName = getOverrideName(propName);
100
- let classDef: NestedCSSPropertiesExtends = {};
101
- let definitions = [{ weight: -1, classDef: source[propName] }] as Array<OverrideCSSProperties<any>>;
102
- if (source[overrideName]) {
103
- definitions = (source[overrideName] as Array<OverrideCSSProperties<any>>).concat(definitions);
104
- }
105
- definitions.forEach(def => {
106
- classDef = Object.assign({}, Utils.isFunction(def.classDef) ? def.classDef(...args) : def.classDef || {}, classDef);
107
- if (classDef.$clear) {
108
- return;
109
- }
110
- });
111
- delete classDef["$clear"];
112
- return source[debugName]
113
- ? style(Object.assign({ $debugName: `${source[debugName]}-${propName}`.toLowerCase() }, classDef))
114
- : style(classDef);
115
- }
116
- function getOverrideName(propName: string) {
117
- return `${propName}__$overrides`;
118
- }
20
+ function define<Names extends string = any, TCSSClasses extends CSSClasses<Names> = any>(target: TCSSClasses, classes?: TCSSClasses, prefixClassName?: string): TCSSClasses;
21
+ function override<T>(target: T): StyleOverride<T>;
22
+ function use<Names extends string = any>(target: CSSClassesExtends<Names>, ...mergeCSSClasses: Array<CSSClassesExtends<Names>>): CSSClassNames<Names>;
23
+ function stylesheet(selector: string, ...objects: types.NestedCSSProperties[]): void;
119
24
  class StyleOverride<T> {
120
- constructor(private target: T) {
121
- this.target = this.target || Object.assign({});
122
- }
25
+ private target;
26
+ constructor(target: T);
123
27
  define<K extends keyof T>(classes: T,
124
28
  /**
125
29
  * This influence the order of the nodes, be nice, use ordering with gap -100, 0, 100, 200
126
30
  So other extensions etc can inject between
127
31
  */
128
- weight: number = 1) {
129
- this.target = this.target || Object.assign({});
130
- const classNames = Object.getOwnPropertyNames(classes) as (K)[];
131
- for (const className of classNames) {
132
- const classDef = classes[className];
133
- if (classDef) {
134
- const overrideName = getOverrideName(className as string);
135
- this.target[overrideName] = this.target[overrideName] || [];
136
- const overrides = this.target[overrideName] as Array<OverrideCSSProperties<string>>;
137
- overrides.push({ weight: weight, classDef: classDef });
138
- overrides.sort((o1, o2) => o2.weight - o1.weight);
139
- }
140
- }
141
- this.target[cssClassesName] = null;
142
- }
32
+ weight?: number): void;
143
33
  }
144
34
  }
145
35
  export {};
@@ -1,3 +1,3 @@
1
- export declare type TsxAllowUnknowProperties<T extends {}> = T & {
1
+ export type TsxAllowUnknowProperties<T extends {}> = T & {
2
2
  [name: string]: any;
3
3
  };
@@ -1,13 +1,13 @@
1
- export declare type Slots<T> = {
1
+ export type Slots<T> = {
2
2
  [K in keyof T]: (props?: T[K]) => JSX.Element | string | JSX.Element[];
3
3
  } & {
4
4
  [name: string]: (props?: any) => JSX.Element | string | JSX.Element[];
5
5
  };
6
- export declare type ScopedSlots<T> = {
6
+ export type ScopedSlots<T> = {
7
7
  [K in keyof T]: (props?: T[K]) => JSX.Element | string | JSX.Element[];
8
8
  } & {
9
9
  [name: string]: (props?: any) => JSX.Element | string | JSX.Element[];
10
10
  };
11
- export declare type EventHandlers<E> = {
11
+ export type EventHandlers<E> = {
12
12
  [K in keyof E]?: (payload: E[K]) => void;
13
13
  };
@@ -7,7 +7,7 @@ import * as models from "../models";
7
7
  import { RecordPropsDefinition } from "vue/types/options";
8
8
  import { PropsForOutside, RequiredPropNames, _TsxComponentV3 } from "vue-tsx-support";
9
9
  import { CompositionComponentOptions } from "vue-tsx-support/lib/vca";
10
- declare type VuetifyThemeItem = string | number | {
10
+ type VuetifyThemeItem = string | number | {
11
11
  base: string | number;
12
12
  lighten5: string | number;
13
13
  lighten4: string | number;
@@ -29,7 +29,7 @@ interface VuetifyTheme {
29
29
  error: VuetifyThemeItem;
30
30
  success: VuetifyThemeItem;
31
31
  }
32
- declare type InheritanceTheme = {
32
+ type InheritanceTheme = {
33
33
  id: string;
34
34
  };
35
35
  export interface VSlot {
@@ -4,7 +4,7 @@ import { DirectionRuleStore } from "../../../stores";
4
4
  import { VueComponentBase } from "../../index";
5
5
  import { InputLanguageStore } from "../../inputlanguagepicker/stores";
6
6
  import "./AdminChrome.css";
7
- declare type AdminNavCategory = AdminNavigationBuiltInCategory | string;
7
+ type AdminNavCategory = AdminNavigationBuiltInCategory | string;
8
8
  export default class AdminChromeComponent extends VueComponentBase implements IWebComponentInstance {
9
9
  private omniaContext;
10
10
  private localizationService;
@@ -1,6 +1,6 @@
1
1
  import { AdminNavigationBuiltInCategory, NavigationNode, NavigationMenuNode, Future } from "../../../models";
2
2
  import { Store } from "../../../stores";
3
- declare type AdminNavCategory = AdminNavigationBuiltInCategory | string;
3
+ type AdminNavCategory = AdminNavigationBuiltInCategory | string;
4
4
  declare class AdminStoreClass extends Store {
5
5
  private localizationService;
6
6
  private omniaContext;
@@ -1,4 +1,4 @@
1
- declare type Props = {
1
+ type Props = {
2
2
  themeDefinitionId: string;
3
3
  };
4
4
  declare const _default: (import("vue").VueConstructor<import("vue-tsx-support")._TsxComponentInstanceV3<import("vue/types/umd"), {}, import("vue-tsx-support").PropsForOutside<Props, never>, any, any, any>> & {
@@ -1,5 +1,5 @@
1
1
  import { Identity, IResolvedIdentity } from "@omnia/fx-models";
2
- export declare type RenderSlotsType = {
2
+ export type RenderSlotsType = {
3
3
  left?: () => JSX.Element;
4
4
  right?: () => JSX.Element;
5
5
  };
@@ -1,6 +1,6 @@
1
1
  import { ImageCropzoneRect } from "../../../models";
2
2
  import Graphics from "./graphics";
3
- declare type AngleType = number;
3
+ type AngleType = number;
4
4
  interface IThemeConfig {
5
5
  "common.bi.image"?: string;
6
6
  "common.bisize.width"?: string;
@@ -10,7 +10,7 @@ export interface IBlockInstanceExtends<TSettings = void> extends IBlockInstance<
10
10
  settings: TSettings;
11
11
  serviceContainerContext: ServiceContainerContext;
12
12
  }
13
- declare type BlockInstancesByManifestResult<TSettings = void> = {
13
+ type BlockInstancesByManifestResult<TSettings = void> = {
14
14
  result: IBlockInstanceExtends<TSettings>[];
15
15
  };
16
16
  export declare class LayoutCanvasStore extends Store implements ILayoutCanvasStore {
@@ -1,6 +1,6 @@
1
1
  import { types } from "typestyle";
2
2
  import { ITheming } from "internal/fx/ux";
3
- declare type RichTextEditorRule = {
3
+ type RichTextEditorRule = {
4
4
  menubar?: types.NestedCSSProperties;
5
5
  menubarDark?: types.NestedCSSProperties;
6
6
  menubarLight?: types.NestedCSSProperties;
@@ -1,5 +1,5 @@
1
1
  import { EnterpriseGlossaryTermComponentBaseStyles } from "..";
2
- declare type EnterpriseGlossaryTermComponentStyles = typeof EnterpriseGlossaryTermComponentBaseStyles;
2
+ type EnterpriseGlossaryTermComponentStyles = typeof EnterpriseGlossaryTermComponentBaseStyles;
3
3
  interface InternalTermGlossaryMappingStyles extends EnterpriseGlossaryTermComponentStyles {
4
4
  }
5
5
  export declare const TermGlossaryMappingStyles: InternalTermGlossaryMappingStyles;
@@ -19,7 +19,7 @@ export interface PostPermission {
19
19
  contributor: boolean;
20
20
  moderator: boolean;
21
21
  }
22
- export declare type PostHandler<TPostTypeWithContext extends IPostBaseWithContext<TPostContext>, TPostContext extends IPostBaseContext> = {
22
+ export type PostHandler<TPostTypeWithContext extends IPostBaseWithContext<TPostContext>, TPostContext extends IPostBaseContext> = {
23
23
  handleAddingPost: (addingPost: TPostTypeWithContext) => Promise<IPersistedPost<TPostTypeWithContext>>;
24
24
  handleEditingPosts?: (postsBeingEdited: Array<IPersistedPost<TPostTypeWithContext>>) => void;
25
25
  handleUpdatingPost: (updatingPost: IPersistedPost<TPostTypeWithContext>) => Promise<IPersistedPost<TPostTypeWithContext>>;
@@ -1,7 +1,7 @@
1
1
  import { BirthdayDisplayStyles } from "./BirthdayDisplay.css";
2
2
  import { IPropertyDisplayRenderer } from "@omnia/fx-models";
3
3
  import { BirthdayPropertyDefinition } from "./BirthdayPropertyDefinition";
4
- export declare type BirthdayDisplayProps = IPropertyDisplayRenderer<BirthdayPropertyDefinition> & {
4
+ export type BirthdayDisplayProps = IPropertyDisplayRenderer<BirthdayPropertyDefinition> & {
5
5
  styles: typeof BirthdayDisplayStyles;
6
6
  };
7
7
  declare const _default: (import("vue").VueConstructor<import("vue-tsx-support")._TsxComponentInstanceV3<import("vue/types/umd"), {}, import("vue-tsx-support").PropsForOutside<BirthdayDisplayProps, never>, any, any, any>> & {
@@ -1,7 +1,7 @@
1
1
  import { BirthdayEditorStyles } from "./BirthdayEditor.css";
2
2
  import { IPropertyEditorRenderer } from "@omnia/fx-models";
3
3
  import { BirthdayPropertyDefinition } from "./BirthdayPropertyDefinition";
4
- export declare type BirthdayEditorProps = IPropertyEditorRenderer<BirthdayPropertyDefinition> & {
4
+ export type BirthdayEditorProps = IPropertyEditorRenderer<BirthdayPropertyDefinition> & {
5
5
  styles: typeof BirthdayEditorStyles;
6
6
  };
7
7
  declare const _default: (import("vue").VueConstructor<import("vue-tsx-support")._TsxComponentInstanceV3<import("vue/types/umd"), {}, import("vue-tsx-support").PropsForOutside<BirthdayEditorProps, never>, any, any, any>> & {
@@ -1,10 +1,10 @@
1
1
  import { BirthdayPropertyValue, Guid, PropertyDefinition, PropertyDisplaySettingsBase } from "@omnia/fx-models";
2
- export declare type BirthdayDisplaySettings = {
2
+ export type BirthdayDisplaySettings = {
3
3
  fontSize?: number;
4
4
  format?: string;
5
5
  showIcon?: boolean;
6
6
  } & PropertyDisplaySettingsBase;
7
- export declare type BirthdayEditorSettings = {
7
+ export type BirthdayEditorSettings = {
8
8
  required?: boolean;
9
9
  };
10
10
  export declare class BirthdayPropertyDefinition extends PropertyDefinition<BirthdayPropertyValue, BirthdayDisplaySettings, BirthdayEditorSettings> {
@@ -1,7 +1,7 @@
1
1
  import { DateDisplayStyles } from "./DateDisplay.css";
2
2
  import { IPropertyDisplayRenderer } from "@omnia/fx-models";
3
3
  import { DatePropertyDefinition } from "./DatePropertyDefinition";
4
- export declare type DateDisplayProps = IPropertyDisplayRenderer<DatePropertyDefinition> & {
4
+ export type DateDisplayProps = IPropertyDisplayRenderer<DatePropertyDefinition> & {
5
5
  styles: typeof DateDisplayStyles;
6
6
  };
7
7
  declare const _default: (import("vue").VueConstructor<import("vue-tsx-support")._TsxComponentInstanceV3<import("vue/types/umd"), {}, import("vue-tsx-support").PropsForOutside<DateDisplayProps, never>, any, any, any>> & {
@@ -1,7 +1,7 @@
1
1
  import { DateEditorStyles } from "./DateEditor.css";
2
2
  import { IPropertyEditorRenderer } from "@omnia/fx-models";
3
3
  import { DatePropertyDefinition } from "./DatePropertyDefinition";
4
- export declare type DateEditorProps = IPropertyEditorRenderer<DatePropertyDefinition> & {
4
+ export type DateEditorProps = IPropertyEditorRenderer<DatePropertyDefinition> & {
5
5
  styles: typeof DateEditorStyles;
6
6
  };
7
7
  declare const _default: (import("vue").VueConstructor<import("vue-tsx-support")._TsxComponentInstanceV3<import("vue/types/umd"), {}, import("vue-tsx-support").PropsForOutside<DateEditorProps, never>, any, any, any>> & {
@@ -1,8 +1,8 @@
1
1
  import { DatePropertyValue, Guid, PropertyDefinition, PropertyDisplaySettingsBase } from "@omnia/fx-models";
2
- export declare type DateDisplaySettings = {
2
+ export type DateDisplaySettings = {
3
3
  fontSize: number;
4
4
  } & PropertyDisplaySettingsBase;
5
- export declare type DateEditorSettings = {
5
+ export type DateEditorSettings = {
6
6
  required: boolean;
7
7
  };
8
8
  export declare class DatePropertyDefinition extends PropertyDefinition<DatePropertyValue, DateDisplaySettings, DateEditorSettings> {
@@ -1,7 +1,7 @@
1
1
  import { DateTimeDisplayStyles } from "./DateTimeDisplay.css";
2
2
  import { IPropertyDisplayRenderer } from "@omnia/fx-models";
3
3
  import { DateTimePropertyDefinition } from "./DateTimePropertyDefinition";
4
- export declare type DateTimeDisplayProps = IPropertyDisplayRenderer<DateTimePropertyDefinition> & {
4
+ export type DateTimeDisplayProps = IPropertyDisplayRenderer<DateTimePropertyDefinition> & {
5
5
  styles: typeof DateTimeDisplayStyles;
6
6
  };
7
7
  declare const _default: (import("vue").VueConstructor<import("vue-tsx-support")._TsxComponentInstanceV3<import("vue/types/umd"), {}, import("vue-tsx-support").PropsForOutside<DateTimeDisplayProps, never>, any, any, any>> & {
@@ -1,7 +1,7 @@
1
1
  import { DateTimeEditorStyles } from "./DateTimeEditor.css";
2
2
  import { IPropertyEditorRenderer } from "@omnia/fx-models";
3
3
  import { DateTimePropertyDefinition } from "./DateTimePropertyDefinition";
4
- export declare type DateTimeEditorProps = IPropertyEditorRenderer<DateTimePropertyDefinition> & {
4
+ export type DateTimeEditorProps = IPropertyEditorRenderer<DateTimePropertyDefinition> & {
5
5
  styles: typeof DateTimeEditorStyles;
6
6
  };
7
7
  declare const _default: (import("vue").VueConstructor<import("vue-tsx-support")._TsxComponentInstanceV3<import("vue/types/umd"), {}, import("vue-tsx-support").PropsForOutside<DateTimeEditorProps, never>, any, any, any>> & {
@@ -4,10 +4,10 @@ export declare class DateTimePropertyValue extends PropertyValueBase<DateTimePro
4
4
  dateTime: Date;
5
5
  timeZoneId: string;
6
6
  }
7
- export declare type DateTimeDisplaySettings = {
7
+ export type DateTimeDisplaySettings = {
8
8
  fontSize: number;
9
9
  } & PropertyDisplaySettingsBase;
10
- export declare type DateTimeEditorSettings = {
10
+ export type DateTimeEditorSettings = {
11
11
  required: boolean;
12
12
  };
13
13
  export declare class DateTimePropertyDefinition extends PropertyDefinition<DateTimePropertyValue, DateTimeDisplaySettings, DateTimeEditorSettings> {
@@ -3,7 +3,7 @@ export declare class EmailDisplaySettings extends PropertyDisplaySettingsBase {
3
3
  inline?: boolean;
4
4
  showIcon?: boolean;
5
5
  }
6
- export declare type EmailEditorSettings = {
6
+ export type EmailEditorSettings = {
7
7
  required: boolean;
8
8
  };
9
9
  export declare class EmailPropertyDefinition extends PropertyDefinition<EmailPropertyValue, EmailDisplaySettings, EmailEditorSettings> {
@@ -4,8 +4,8 @@ export declare enum HtmlEditorMode {
4
4
  LimitedRichText = 1,
5
5
  CustomRichText = 2
6
6
  }
7
- export declare type HtmlDisplaySettings = {} & PropertyDisplaySettingsBase;
8
- export declare type HtmlEditorSettings = {
7
+ export type HtmlDisplaySettings = {} & PropertyDisplaySettingsBase;
8
+ export type HtmlEditorSettings = {
9
9
  mode: HtmlEditorMode;
10
10
  required?: boolean;
11
11
  selectedRichTextExtensions?: RichTextEditorExtensionRegistration[];