@omnia/fx 8.0.45-dev → 8.0.46-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.
@@ -8,10 +8,13 @@ type CSSClassesExtends<K extends string> = CustomRecord<K, NestedCSSPropertiesEx
8
8
  type CustomRecord<K extends keyof any, T> = {
9
9
  [P in K]?: T | ((...args: any[]) => T);
10
10
  };
11
+ type ReturnStyleFlow<T> = {
12
+ [K in keyof T]: T[K] extends (...args: infer U) => any ? (...args: U) => string : string;
13
+ };
11
14
  export declare module StyleFlow {
12
15
  export function define<TCSSClasses extends CSSClasses<any> = any>(targetCSSClasses: TCSSClasses, classes?: TCSSClasses, prefixClassName?: string): TCSSClasses;
13
16
  export function override<T extends CSSClassesExtends<string>>(target: T): InternalStyleFlow.StyleOverride<T>;
14
- export function use<Names extends string = any>(targetCSSClasses: CSSClassesExtends<Names>, ...mergeCSSClasses: Array<CSSClassesExtends<Names>>): CSSClassNames<Names>;
17
+ export function use<Names extends string, T extends CSSClassesExtends<Names>>(targetCSSClasses: T, ...mergeCSSClasses: Array<CSSClassesExtends<Names>>): ReturnStyleFlow<T>;
15
18
  /**
16
19
  * Takes CSSProperties and registers it to a global selector (body, html, etc.)
17
20
  */
@@ -17,9 +17,9 @@ export declare class AppInstanceRollupViewBase extends VueComponentBase implemen
17
17
  protected appStore: AppStore;
18
18
  protected omniaCtx: OmniaContext;
19
19
  protected baseViewStyles: {
20
- titleLayout?: any;
21
- titleLink?: any;
22
- logoIcon?: any;
20
+ titleLayout?: string;
21
+ titleLink?: string;
22
+ logoIcon?: string;
23
23
  };
24
24
  private followingHandlingState;
25
25
  constructor();
@@ -1,4 +1,4 @@
1
1
  import { types } from "typestyle";
2
2
  export declare const ItemStyles: {
3
- imageWrapper: (width: string) => types.NestedCSSProperties;
3
+ imageWrapper: (width: string | number) => types.NestedCSSProperties;
4
4
  };
@@ -1,7 +1,7 @@
1
1
  import { NestedCSSPropertiesExtends } from "@omnia/fx-models";
2
2
  import { types } from "typestyle";
3
3
  export declare const ListingStyle: {
4
- lineStyle?: (color: string) => NestedCSSPropertiesExtends;
4
+ lineStyle?: (color?: string) => NestedCSSPropertiesExtends;
5
5
  titleDefaultStyle?: types.NestedCSSProperties;
6
6
  expansionContentStyle?: types.NestedCSSProperties;
7
7
  };
@@ -38,13 +38,13 @@ export declare abstract class EnterpriseGlossaryTermComponentBase extends VueCom
38
38
  protected onClickCloseIconFunc: () => void;
39
39
  protected additionalClickHandler?: EnterpriseGlossaryTermAdditonalClickHander;
40
40
  protected enterpriseGlossaryTermBaseCompStyles: {
41
- chip?: any;
42
- actionMenuItem?: any;
43
- actionMenuItemContent?: any;
44
- chipIconWrapper?: any;
45
- chipIcon?: any;
46
- clickableIconWrapper?: any;
47
- clickableIcon?: any;
41
+ actionMenuItem?: string;
42
+ actionMenuItemContent?: string;
43
+ chip?: string;
44
+ chipIconWrapper?: string;
45
+ chipIcon?: string;
46
+ clickableIconWrapper?: string;
47
+ clickableIcon?: string;
48
48
  };
49
49
  protected additionalMenus: any[];
50
50
  constructor();
@@ -1,4 +1,4 @@
1
1
  declare const _default: {
2
- messageContainer?: any;
2
+ messageContainer: string;
3
3
  };
4
4
  export default _default;
@@ -11,6 +11,9 @@ export declare const useHubFeedChromeStore: () => {
11
11
  draftsCount: number;
12
12
  pendingApprovalCount: number;
13
13
  showFakeIframe: boolean;
14
+ reviewIframeUrl: string;
15
+ showPolicyIframe: boolean;
16
+ showProcessIFrame: boolean;
14
17
  };
15
18
  events: {
16
19
  onMutatedVisible: import("@omnia/fx").MessageBusExposeOnlySubscription<boolean>;
@@ -24,23 +27,30 @@ export declare const useHubFeedChromeStore: () => {
24
27
  onMutatedDraftsCount: import("@omnia/fx").MessageBusExposeOnlySubscription<number>;
25
28
  onMutatedPendingApprovalCount: import("@omnia/fx").MessageBusExposeOnlySubscription<number>;
26
29
  onMutatedShowFakeIframe: import("@omnia/fx").MessageBusExposeOnlySubscription<boolean>;
30
+ onMutatedReviewIframeUrl: import("@omnia/fx").MessageBusExposeOnlySubscription<string>;
31
+ onMutatedShowPolicyIframe: import("@omnia/fx").MessageBusExposeOnlySubscription<boolean>;
32
+ onMutatedShowProcessIFrame: import("@omnia/fx").MessageBusExposeOnlySubscription<boolean>;
27
33
  } & Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>;
28
34
  actions: {
29
35
  onDispatching<T extends (...args: any) => any>(action: (actions: {
30
36
  toggleSelectedMeItem: (item: string) => void;
31
37
  toggleSelectedFindItem: (item: string) => void;
38
+ toggelReviewIframe: (navigationType: "review" | "process") => void;
32
39
  }) => T, fn: T extends (...args: infer U) => any ? (...args: U) => void : never): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
33
40
  onDispatched<T_1 extends (...args: any) => any>(action: (actions: {
34
41
  toggleSelectedMeItem: (item: string) => void;
35
42
  toggleSelectedFindItem: (item: string) => void;
43
+ toggelReviewIframe: (navigationType: "review" | "process") => void;
36
44
  }) => T_1, fn: T_1 extends (...args: infer U_1) => infer Y | Promise<infer Y> ? (result: Y, ...args: U_1) => void : never): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
37
45
  onFailure<T_2 extends (...args: any) => any>(action: (actions: {
38
46
  toggleSelectedMeItem: (item: string) => void;
39
47
  toggleSelectedFindItem: (item: string) => void;
48
+ toggelReviewIframe: (navigationType: "review" | "process") => void;
40
49
  }) => T_2, fn: T_2 extends (...args: infer U_2) => any ? (failureReason: any, ...args: U_2) => void : never): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
41
50
  } & {
42
51
  toggleSelectedMeItem: (item: string) => void;
43
52
  toggleSelectedFindItem: (item: string) => void;
53
+ toggelReviewIframe: (navigationType: "review" | "process") => void;
44
54
  };
45
55
  get: {};
46
56
  };
@@ -1,6 +1,6 @@
1
1
  export declare const IconClasses: {
2
2
  container?: import("typestyle/lib/types").NestedCSSProperties;
3
3
  img?: import("typestyle/lib/types").NestedCSSProperties;
4
- imgSize?: (size: number) => import("typestyle/lib/types").NestedCSSProperties;
4
+ imgSize?: (size: string | number) => import("typestyle/lib/types").NestedCSSProperties;
5
5
  i?: import("typestyle/lib/types").NestedCSSProperties;
6
6
  };
@@ -1,8 +1,9 @@
1
+ import { BladeSizes } from "@omnia/fx-models";
1
2
  declare const _default: {
2
- footer?: any;
3
- headerButtons?: any;
4
- wrapper?: any;
5
- footerButtons?: any;
6
- headerIcon?: any;
3
+ footer: string;
4
+ footerButtons: string;
5
+ headerButtons: string;
6
+ headerIcon: string;
7
+ wrapper: (size: BladeSizes, dark: boolean) => string;
7
8
  };
8
9
  export default _default;
@@ -2,6 +2,6 @@ import { types } from "typestyle";
2
2
  export declare const IconWrapperStyles: {
3
3
  container?: types.NestedCSSProperties;
4
4
  img?: types.NestedCSSProperties;
5
- imgSize?: (size: number) => types.NestedCSSProperties;
5
+ imgSize?: (size: number | string) => types.NestedCSSProperties;
6
6
  i?: types.NestedCSSProperties;
7
7
  };
@@ -1,6 +1,507 @@
1
+ import { ColorDefinition } from "@omnia/fx-models";
1
2
  declare const _default: {
2
- wrapper?: any;
3
- rowWrapper?: any;
4
- actionCell?: any;
3
+ rowWrapper: (color: ColorDefinition) => string;
4
+ actionCell: string;
5
+ wrapper: (colors: {
6
+ state: {
7
+ base: ColorDefinition;
8
+ onBase: ColorDefinition;
9
+ container: ColorDefinition;
10
+ onContainer: ColorDefinition;
11
+ isContainer: boolean;
12
+ name: string;
13
+ colorSchemaType: "info" | "error" | import("@omnia/fx-models").ColorSchemaTypes | "primary" | "secondary" | "accent1" | "accent2" | "accent3" | "neutral" | "background";
14
+ id: import("@omnia/fx-models").GuidValue;
15
+ };
16
+ events: {
17
+ onMutatedBase: import("../../..").MessageBusExposeOnlySubscription<ColorDefinition>;
18
+ onMutatedOnBase: import("../../..").MessageBusExposeOnlySubscription<ColorDefinition>;
19
+ onMutatedContainer: import("../../..").MessageBusExposeOnlySubscription<ColorDefinition>;
20
+ onMutatedOnContainer: import("../../..").MessageBusExposeOnlySubscription<ColorDefinition>;
21
+ onMutatedIsContainer: import("../../..").MessageBusExposeOnlySubscription<boolean>;
22
+ onMutatedName: import("../../..").MessageBusExposeOnlySubscription<string>;
23
+ onMutatedColorSchemaType: import("../../..").MessageBusExposeOnlySubscription<"info" | "error" | import("@omnia/fx-models").ColorSchemaTypes | "primary" | "secondary" | "accent1" | "accent2" | "accent3" | "neutral" | "background">;
24
+ onMutatedId: import("../../..").MessageBusExposeOnlySubscription<import("@omnia/fx-models").GuidValue>;
25
+ } & Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>;
26
+ actions: {
27
+ onDispatching<T extends (...args: any) => any>(action: (actions: {
28
+ setColorSchema(colorSchemaType: "info" | "error" | import("@omnia/fx-models").ColorSchemaTypes | "primary" | "secondary" | "accent1" | "accent2" | "accent3" | "neutral" | "background", container?: boolean): void;
29
+ setCustomColorSchema(colorSchema: import("@omnia/fx-models").ColorSchema, container?: boolean): void;
30
+ setColor(colorDefinition: ColorDefinition, colorType: import("@omnia/fx-models").ColorTypes): void;
31
+ setThemeStore(themeStoreInstance: {
32
+ state: {
33
+ currentTheme: import("@omnia/fx-models").ThemeDefinitionV2;
34
+ };
35
+ events: {
36
+ onMutatedCurrentTheme: import("../../..").MessageBusExposeOnlySubscription<import("@omnia/fx-models").ThemeDefinitionV2>;
37
+ } & Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>;
38
+ actions: {
39
+ onDispatching<T_1 extends (...args: any) => any>(action: (actions: {
40
+ setTheme(themeDefinition: import("@omnia/fx-models").ThemeDefinitionV2): void;
41
+ }) => T_1, fn: T_1 extends (...args: infer U) => any ? (...args: U) => void : never): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
42
+ onDispatched<T_2 extends (...args: any) => any>(action: (actions: {
43
+ setTheme(themeDefinition: import("@omnia/fx-models").ThemeDefinitionV2): void;
44
+ }) => T_2, fn: T_2 extends (...args: infer U_1) => infer Y | Promise<infer Y> ? (result: Y, ...args: U_1) => void : never): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
45
+ onFailure<T_3 extends (...args: any) => any>(action: (actions: {
46
+ setTheme(themeDefinition: import("@omnia/fx-models").ThemeDefinitionV2): void;
47
+ }) => T_3, fn: T_3 extends (...args: infer U_2) => any ? (failureReason: any, ...args: U_2) => void : never): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
48
+ } & {
49
+ setTheme(themeDefinition: import("@omnia/fx-models").ThemeDefinitionV2): void;
50
+ };
51
+ get: {
52
+ colorSchema(colorSchemaType: "info" | "error" | import("@omnia/fx-models").ColorSchemaTypes | "primary" | "secondary" | "accent1" | "accent2" | "accent3" | "neutral" | "background"): import("@omnia/fx-models").ColorSchema;
53
+ blueprint(blueprintType: "default" | "variant1" | "variant2" | "variant3" | import("@omnia/fx-models").BlueprintTypes): import("@omnia/fx-models").BlueprintDefinition;
54
+ typography(typographyType: "title" | "text" | "navigation" | import("@omnia/fx-models").TypographyTypes, size: "xs" | "s" | "m" | "l" | "xl" | import("@omnia/fx-models").TypographySizes): import("@omnia/fx-models").TypographyTypeDefinition;
55
+ color(colorSchemaType: "info" | "error" | import("@omnia/fx-models").ColorSchemaTypes | "primary" | "secondary" | "accent1" | "accent2" | "accent3" | "neutral" | "background", colorType: import("@omnia/fx-models").ColorTypes | "base" | "onBase" | "container" | "onContainer"): string;
56
+ colorDefinition(colorSchemaType: "info" | "error" | import("@omnia/fx-models").ColorSchemaTypes | "primary" | "secondary" | "accent1" | "accent2" | "accent3" | "neutral" | "background", colorType: import("@omnia/fx-models").ColorTypes | "base" | "onBase" | "container" | "onContainer"): ColorDefinition;
57
+ complementaryColorType(colorType: import("@omnia/fx-models").ColorTypes | "base" | "onBase" | "container" | "onContainer"): import("@omnia/fx-models").ColorTypes;
58
+ complementaryColor(colorSchemaType: "info" | "error" | import("@omnia/fx-models").ColorSchemaTypes | "primary" | "secondary" | "accent1" | "accent2" | "accent3" | "neutral" | "background", colorType: import("@omnia/fx-models").ColorTypes | "base" | "onBase" | "container" | "onContainer"): string;
59
+ complementaryColorDefinition(colorSchemaType: "info" | "error" | import("@omnia/fx-models").ColorSchemaTypes | "primary" | "secondary" | "accent1" | "accent2" | "accent3" | "neutral" | "background", colorType: import("@omnia/fx-models").ColorTypes | "base" | "onBase" | "container" | "onContainer"): ColorDefinition;
60
+ currentTheme(): import("@omnia/fx-models").ThemeDefinitionV2;
61
+ };
62
+ }): void;
63
+ }) => T, fn: T extends (...args: infer U) => any ? (...args: U) => void : never): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
64
+ onDispatched<T_4 extends (...args: any) => any>(action: (actions: {
65
+ setColorSchema(colorSchemaType: "info" | "error" | import("@omnia/fx-models").ColorSchemaTypes | "primary" | "secondary" | "accent1" | "accent2" | "accent3" | "neutral" | "background", container?: boolean): void;
66
+ setCustomColorSchema(colorSchema: import("@omnia/fx-models").ColorSchema, container?: boolean): void;
67
+ setColor(colorDefinition: ColorDefinition, colorType: import("@omnia/fx-models").ColorTypes): void;
68
+ setThemeStore(themeStoreInstance: {
69
+ state: {
70
+ currentTheme: import("@omnia/fx-models").ThemeDefinitionV2;
71
+ };
72
+ events: {
73
+ onMutatedCurrentTheme: import("../../..").MessageBusExposeOnlySubscription<import("@omnia/fx-models").ThemeDefinitionV2>;
74
+ } & Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>;
75
+ actions: {
76
+ onDispatching<T_1 extends (...args: any) => any>(action: (actions: {
77
+ setTheme(themeDefinition: import("@omnia/fx-models").ThemeDefinitionV2): void;
78
+ }) => T_1, fn: T_1 extends (...args: infer U) => any ? (...args: U) => void : never): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
79
+ onDispatched<T_2 extends (...args: any) => any>(action: (actions: {
80
+ setTheme(themeDefinition: import("@omnia/fx-models").ThemeDefinitionV2): void;
81
+ }) => T_2, fn: T_2 extends (...args: infer U_1) => infer Y | Promise<infer Y> ? (result: Y, ...args: U_1) => void : never): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
82
+ onFailure<T_3 extends (...args: any) => any>(action: (actions: {
83
+ setTheme(themeDefinition: import("@omnia/fx-models").ThemeDefinitionV2): void;
84
+ }) => T_3, fn: T_3 extends (...args: infer U_2) => any ? (failureReason: any, ...args: U_2) => void : never): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
85
+ } & {
86
+ setTheme(themeDefinition: import("@omnia/fx-models").ThemeDefinitionV2): void;
87
+ };
88
+ get: {
89
+ colorSchema(colorSchemaType: "info" | "error" | import("@omnia/fx-models").ColorSchemaTypes | "primary" | "secondary" | "accent1" | "accent2" | "accent3" | "neutral" | "background"): import("@omnia/fx-models").ColorSchema;
90
+ blueprint(blueprintType: "default" | "variant1" | "variant2" | "variant3" | import("@omnia/fx-models").BlueprintTypes): import("@omnia/fx-models").BlueprintDefinition;
91
+ typography(typographyType: "title" | "text" | "navigation" | import("@omnia/fx-models").TypographyTypes, size: "xs" | "s" | "m" | "l" | "xl" | import("@omnia/fx-models").TypographySizes): import("@omnia/fx-models").TypographyTypeDefinition;
92
+ color(colorSchemaType: "info" | "error" | import("@omnia/fx-models").ColorSchemaTypes | "primary" | "secondary" | "accent1" | "accent2" | "accent3" | "neutral" | "background", colorType: import("@omnia/fx-models").ColorTypes | "base" | "onBase" | "container" | "onContainer"): string;
93
+ colorDefinition(colorSchemaType: "info" | "error" | import("@omnia/fx-models").ColorSchemaTypes | "primary" | "secondary" | "accent1" | "accent2" | "accent3" | "neutral" | "background", colorType: import("@omnia/fx-models").ColorTypes | "base" | "onBase" | "container" | "onContainer"): ColorDefinition;
94
+ complementaryColorType(colorType: import("@omnia/fx-models").ColorTypes | "base" | "onBase" | "container" | "onContainer"): import("@omnia/fx-models").ColorTypes;
95
+ complementaryColor(colorSchemaType: "info" | "error" | import("@omnia/fx-models").ColorSchemaTypes | "primary" | "secondary" | "accent1" | "accent2" | "accent3" | "neutral" | "background", colorType: import("@omnia/fx-models").ColorTypes | "base" | "onBase" | "container" | "onContainer"): string;
96
+ complementaryColorDefinition(colorSchemaType: "info" | "error" | import("@omnia/fx-models").ColorSchemaTypes | "primary" | "secondary" | "accent1" | "accent2" | "accent3" | "neutral" | "background", colorType: import("@omnia/fx-models").ColorTypes | "base" | "onBase" | "container" | "onContainer"): ColorDefinition;
97
+ currentTheme(): import("@omnia/fx-models").ThemeDefinitionV2;
98
+ };
99
+ }): void;
100
+ }) => T_4, fn: T_4 extends (...args: infer U_1) => infer Y | Promise<infer Y> ? (result: Y, ...args: U_1) => void : never): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
101
+ onFailure<T_5 extends (...args: any) => any>(action: (actions: {
102
+ setColorSchema(colorSchemaType: "info" | "error" | import("@omnia/fx-models").ColorSchemaTypes | "primary" | "secondary" | "accent1" | "accent2" | "accent3" | "neutral" | "background", container?: boolean): void;
103
+ setCustomColorSchema(colorSchema: import("@omnia/fx-models").ColorSchema, container?: boolean): void;
104
+ setColor(colorDefinition: ColorDefinition, colorType: import("@omnia/fx-models").ColorTypes): void;
105
+ setThemeStore(themeStoreInstance: {
106
+ state: {
107
+ currentTheme: import("@omnia/fx-models").ThemeDefinitionV2;
108
+ };
109
+ events: {
110
+ onMutatedCurrentTheme: import("../../..").MessageBusExposeOnlySubscription<import("@omnia/fx-models").ThemeDefinitionV2>;
111
+ } & Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>;
112
+ actions: {
113
+ onDispatching<T_1 extends (...args: any) => any>(action: (actions: {
114
+ setTheme(themeDefinition: import("@omnia/fx-models").ThemeDefinitionV2): void;
115
+ }) => T_1, fn: T_1 extends (...args: infer U) => any ? (...args: U) => void : never): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
116
+ onDispatched<T_2 extends (...args: any) => any>(action: (actions: {
117
+ setTheme(themeDefinition: import("@omnia/fx-models").ThemeDefinitionV2): void;
118
+ }) => T_2, fn: T_2 extends (...args: infer U_1) => infer Y | Promise<infer Y> ? (result: Y, ...args: U_1) => void : never): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
119
+ onFailure<T_3 extends (...args: any) => any>(action: (actions: {
120
+ setTheme(themeDefinition: import("@omnia/fx-models").ThemeDefinitionV2): void;
121
+ }) => T_3, fn: T_3 extends (...args: infer U_2) => any ? (failureReason: any, ...args: U_2) => void : never): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
122
+ } & {
123
+ setTheme(themeDefinition: import("@omnia/fx-models").ThemeDefinitionV2): void;
124
+ };
125
+ get: {
126
+ colorSchema(colorSchemaType: "info" | "error" | import("@omnia/fx-models").ColorSchemaTypes | "primary" | "secondary" | "accent1" | "accent2" | "accent3" | "neutral" | "background"): import("@omnia/fx-models").ColorSchema;
127
+ blueprint(blueprintType: "default" | "variant1" | "variant2" | "variant3" | import("@omnia/fx-models").BlueprintTypes): import("@omnia/fx-models").BlueprintDefinition;
128
+ typography(typographyType: "title" | "text" | "navigation" | import("@omnia/fx-models").TypographyTypes, size: "xs" | "s" | "m" | "l" | "xl" | import("@omnia/fx-models").TypographySizes): import("@omnia/fx-models").TypographyTypeDefinition;
129
+ color(colorSchemaType: "info" | "error" | import("@omnia/fx-models").ColorSchemaTypes | "primary" | "secondary" | "accent1" | "accent2" | "accent3" | "neutral" | "background", colorType: import("@omnia/fx-models").ColorTypes | "base" | "onBase" | "container" | "onContainer"): string;
130
+ colorDefinition(colorSchemaType: "info" | "error" | import("@omnia/fx-models").ColorSchemaTypes | "primary" | "secondary" | "accent1" | "accent2" | "accent3" | "neutral" | "background", colorType: import("@omnia/fx-models").ColorTypes | "base" | "onBase" | "container" | "onContainer"): ColorDefinition;
131
+ complementaryColorType(colorType: import("@omnia/fx-models").ColorTypes | "base" | "onBase" | "container" | "onContainer"): import("@omnia/fx-models").ColorTypes;
132
+ complementaryColor(colorSchemaType: "info" | "error" | import("@omnia/fx-models").ColorSchemaTypes | "primary" | "secondary" | "accent1" | "accent2" | "accent3" | "neutral" | "background", colorType: import("@omnia/fx-models").ColorTypes | "base" | "onBase" | "container" | "onContainer"): string;
133
+ complementaryColorDefinition(colorSchemaType: "info" | "error" | import("@omnia/fx-models").ColorSchemaTypes | "primary" | "secondary" | "accent1" | "accent2" | "accent3" | "neutral" | "background", colorType: import("@omnia/fx-models").ColorTypes | "base" | "onBase" | "container" | "onContainer"): ColorDefinition;
134
+ currentTheme(): import("@omnia/fx-models").ThemeDefinitionV2;
135
+ };
136
+ }): void;
137
+ }) => T_5, fn: T_5 extends (...args: infer U_2) => any ? (failureReason: any, ...args: U_2) => void : never): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
138
+ } & {
139
+ setColorSchema(colorSchemaType: "info" | "error" | import("@omnia/fx-models").ColorSchemaTypes | "primary" | "secondary" | "accent1" | "accent2" | "accent3" | "neutral" | "background", container?: boolean): void;
140
+ setCustomColorSchema(colorSchema: import("@omnia/fx-models").ColorSchema, container?: boolean): void;
141
+ setColor(colorDefinition: ColorDefinition, colorType: import("@omnia/fx-models").ColorTypes): void;
142
+ setThemeStore(themeStoreInstance: {
143
+ state: {
144
+ currentTheme: import("@omnia/fx-models").ThemeDefinitionV2;
145
+ };
146
+ events: {
147
+ onMutatedCurrentTheme: import("../../..").MessageBusExposeOnlySubscription<import("@omnia/fx-models").ThemeDefinitionV2>;
148
+ } & Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>;
149
+ actions: {
150
+ onDispatching<T_1 extends (...args: any) => any>(action: (actions: {
151
+ setTheme(themeDefinition: import("@omnia/fx-models").ThemeDefinitionV2): void;
152
+ }) => T_1, fn: T_1 extends (...args: infer U) => any ? (...args: U) => void : never): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
153
+ onDispatched<T_2 extends (...args: any) => any>(action: (actions: {
154
+ setTheme(themeDefinition: import("@omnia/fx-models").ThemeDefinitionV2): void;
155
+ }) => T_2, fn: T_2 extends (...args: infer U_1) => infer Y | Promise<infer Y> ? (result: Y, ...args: U_1) => void : never): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
156
+ onFailure<T_3 extends (...args: any) => any>(action: (actions: {
157
+ setTheme(themeDefinition: import("@omnia/fx-models").ThemeDefinitionV2): void;
158
+ }) => T_3, fn: T_3 extends (...args: infer U_2) => any ? (failureReason: any, ...args: U_2) => void : never): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
159
+ } & {
160
+ setTheme(themeDefinition: import("@omnia/fx-models").ThemeDefinitionV2): void;
161
+ };
162
+ get: {
163
+ colorSchema(colorSchemaType: "info" | "error" | import("@omnia/fx-models").ColorSchemaTypes | "primary" | "secondary" | "accent1" | "accent2" | "accent3" | "neutral" | "background"): import("@omnia/fx-models").ColorSchema;
164
+ blueprint(blueprintType: "default" | "variant1" | "variant2" | "variant3" | import("@omnia/fx-models").BlueprintTypes): import("@omnia/fx-models").BlueprintDefinition;
165
+ typography(typographyType: "title" | "text" | "navigation" | import("@omnia/fx-models").TypographyTypes, size: "xs" | "s" | "m" | "l" | "xl" | import("@omnia/fx-models").TypographySizes): import("@omnia/fx-models").TypographyTypeDefinition;
166
+ color(colorSchemaType: "info" | "error" | import("@omnia/fx-models").ColorSchemaTypes | "primary" | "secondary" | "accent1" | "accent2" | "accent3" | "neutral" | "background", colorType: import("@omnia/fx-models").ColorTypes | "base" | "onBase" | "container" | "onContainer"): string;
167
+ colorDefinition(colorSchemaType: "info" | "error" | import("@omnia/fx-models").ColorSchemaTypes | "primary" | "secondary" | "accent1" | "accent2" | "accent3" | "neutral" | "background", colorType: import("@omnia/fx-models").ColorTypes | "base" | "onBase" | "container" | "onContainer"): ColorDefinition;
168
+ complementaryColorType(colorType: import("@omnia/fx-models").ColorTypes | "base" | "onBase" | "container" | "onContainer"): import("@omnia/fx-models").ColorTypes;
169
+ complementaryColor(colorSchemaType: "info" | "error" | import("@omnia/fx-models").ColorSchemaTypes | "primary" | "secondary" | "accent1" | "accent2" | "accent3" | "neutral" | "background", colorType: import("@omnia/fx-models").ColorTypes | "base" | "onBase" | "container" | "onContainer"): string;
170
+ complementaryColorDefinition(colorSchemaType: "info" | "error" | import("@omnia/fx-models").ColorSchemaTypes | "primary" | "secondary" | "accent1" | "accent2" | "accent3" | "neutral" | "background", colorType: import("@omnia/fx-models").ColorTypes | "base" | "onBase" | "container" | "onContainer"): ColorDefinition;
171
+ currentTheme(): import("@omnia/fx-models").ThemeDefinitionV2;
172
+ };
173
+ }): void;
174
+ };
175
+ get: {
176
+ readonly themeStore: {
177
+ state: {
178
+ currentTheme: {
179
+ id: {
180
+ equals: {
181
+ guid: (value: import("@omnia/fx-models").GuidValue) => boolean;
182
+ };
183
+ toString: () => string;
184
+ toJSON: () => string;
185
+ valueOf: () => string;
186
+ };
187
+ name: string;
188
+ dark: boolean;
189
+ colors: {
190
+ primary: {
191
+ name: string;
192
+ base: {
193
+ dark: boolean;
194
+ color: string;
195
+ colorToned: string;
196
+ };
197
+ onBase: {
198
+ dark: boolean;
199
+ color: string;
200
+ colorToned: string;
201
+ };
202
+ container: {
203
+ dark: boolean;
204
+ color: string;
205
+ colorToned: string;
206
+ };
207
+ onContainer: {
208
+ dark: boolean;
209
+ color: string;
210
+ colorToned: string;
211
+ };
212
+ };
213
+ secondary: {
214
+ name: string;
215
+ base: {
216
+ dark: boolean;
217
+ color: string;
218
+ colorToned: string;
219
+ };
220
+ onBase: {
221
+ dark: boolean;
222
+ color: string;
223
+ colorToned: string;
224
+ };
225
+ container: {
226
+ dark: boolean;
227
+ color: string;
228
+ colorToned: string;
229
+ };
230
+ onContainer: {
231
+ dark: boolean;
232
+ color: string;
233
+ colorToned: string;
234
+ };
235
+ };
236
+ accent1: {
237
+ name: string;
238
+ base: {
239
+ dark: boolean;
240
+ color: string;
241
+ colorToned: string;
242
+ };
243
+ onBase: {
244
+ dark: boolean;
245
+ color: string;
246
+ colorToned: string;
247
+ };
248
+ container: {
249
+ dark: boolean;
250
+ color: string;
251
+ colorToned: string;
252
+ };
253
+ onContainer: {
254
+ dark: boolean;
255
+ color: string;
256
+ colorToned: string;
257
+ };
258
+ };
259
+ accent2: {
260
+ name: string;
261
+ base: {
262
+ dark: boolean;
263
+ color: string;
264
+ colorToned: string;
265
+ };
266
+ onBase: {
267
+ dark: boolean;
268
+ color: string;
269
+ colorToned: string;
270
+ };
271
+ container: {
272
+ dark: boolean;
273
+ color: string;
274
+ colorToned: string;
275
+ };
276
+ onContainer: {
277
+ dark: boolean;
278
+ color: string;
279
+ colorToned: string;
280
+ };
281
+ };
282
+ accent3: {
283
+ name: string;
284
+ base: {
285
+ dark: boolean;
286
+ color: string;
287
+ colorToned: string;
288
+ };
289
+ onBase: {
290
+ dark: boolean;
291
+ color: string;
292
+ colorToned: string;
293
+ };
294
+ container: {
295
+ dark: boolean;
296
+ color: string;
297
+ colorToned: string;
298
+ };
299
+ onContainer: {
300
+ dark: boolean;
301
+ color: string;
302
+ colorToned: string;
303
+ };
304
+ };
305
+ neutral: {
306
+ name: string;
307
+ base: {
308
+ dark: boolean;
309
+ color: string;
310
+ colorToned: string;
311
+ };
312
+ onBase: {
313
+ dark: boolean;
314
+ color: string;
315
+ colorToned: string;
316
+ };
317
+ container: {
318
+ dark: boolean;
319
+ color: string;
320
+ colorToned: string;
321
+ };
322
+ onContainer: {
323
+ dark: boolean;
324
+ color: string;
325
+ colorToned: string;
326
+ };
327
+ };
328
+ background: {
329
+ name: string;
330
+ base: {
331
+ dark: boolean;
332
+ color: string;
333
+ colorToned: string;
334
+ };
335
+ onBase: {
336
+ dark: boolean;
337
+ color: string;
338
+ colorToned: string;
339
+ };
340
+ container: {
341
+ dark: boolean;
342
+ color: string;
343
+ colorToned: string;
344
+ };
345
+ onContainer: {
346
+ dark: boolean;
347
+ color: string;
348
+ colorToned: string;
349
+ };
350
+ };
351
+ error: {
352
+ name: string;
353
+ base: {
354
+ dark: boolean;
355
+ color: string;
356
+ colorToned: string;
357
+ };
358
+ onBase: {
359
+ dark: boolean;
360
+ color: string;
361
+ colorToned: string;
362
+ };
363
+ container: {
364
+ dark: boolean;
365
+ color: string;
366
+ colorToned: string;
367
+ };
368
+ onContainer: {
369
+ dark: boolean;
370
+ color: string;
371
+ colorToned: string;
372
+ };
373
+ };
374
+ info: {
375
+ name: string;
376
+ base: {
377
+ dark: boolean;
378
+ color: string;
379
+ colorToned: string;
380
+ };
381
+ onBase: {
382
+ dark: boolean;
383
+ color: string;
384
+ colorToned: string;
385
+ };
386
+ container: {
387
+ dark: boolean;
388
+ color: string;
389
+ colorToned: string;
390
+ };
391
+ onContainer: {
392
+ dark: boolean;
393
+ color: string;
394
+ colorToned: string;
395
+ };
396
+ };
397
+ };
398
+ blueprints: {
399
+ default: {
400
+ id: {
401
+ equals: {
402
+ guid: (value: import("@omnia/fx-models").GuidValue) => boolean;
403
+ };
404
+ toString: () => string;
405
+ toJSON: () => string;
406
+ valueOf: () => string;
407
+ };
408
+ name: string;
409
+ definitions: {
410
+ type: "block" | "button" | "typography" | "searchbox" | "layout-spacing" | "inner-spacing";
411
+ }[];
412
+ };
413
+ variant1: {
414
+ id: {
415
+ equals: {
416
+ guid: (value: import("@omnia/fx-models").GuidValue) => boolean;
417
+ };
418
+ toString: () => string;
419
+ toJSON: () => string;
420
+ valueOf: () => string;
421
+ };
422
+ name: string;
423
+ definitions: {
424
+ type: "block" | "button" | "typography" | "searchbox" | "layout-spacing" | "inner-spacing";
425
+ }[];
426
+ };
427
+ variant2: {
428
+ id: {
429
+ equals: {
430
+ guid: (value: import("@omnia/fx-models").GuidValue) => boolean;
431
+ };
432
+ toString: () => string;
433
+ toJSON: () => string;
434
+ valueOf: () => string;
435
+ };
436
+ name: string;
437
+ definitions: {
438
+ type: "block" | "button" | "typography" | "searchbox" | "layout-spacing" | "inner-spacing";
439
+ }[];
440
+ };
441
+ variant3: {
442
+ id: {
443
+ equals: {
444
+ guid: (value: import("@omnia/fx-models").GuidValue) => boolean;
445
+ };
446
+ toString: () => string;
447
+ toJSON: () => string;
448
+ valueOf: () => string;
449
+ };
450
+ name: string;
451
+ definitions: {
452
+ type: "block" | "button" | "typography" | "searchbox" | "layout-spacing" | "inner-spacing";
453
+ }[];
454
+ };
455
+ };
456
+ };
457
+ };
458
+ events: {
459
+ [x: string]: {
460
+ subscribe: (fn: (obj: any) => void) => import("@omnia/fx-models").IMessageBusSubscriptionHandler;
461
+ publish: (msg: any) => void;
462
+ };
463
+ onMutatedCurrentTheme: {
464
+ subscribe: (fn: (obj: import("@omnia/fx-models").ThemeDefinitionV2) => void) => import("@omnia/fx-models").IMessageBusSubscriptionHandler;
465
+ };
466
+ };
467
+ actions: {
468
+ onDispatching: <T_1 extends (...args: any) => any>(action: (actions: {
469
+ setTheme(themeDefinition: import("@omnia/fx-models").ThemeDefinitionV2): void;
470
+ }) => T_1, fn: T_1 extends (...args: infer U) => any ? (...args: U) => void : never) => import("@omnia/fx-models").IMessageBusSubscriptionHandler;
471
+ onDispatched: <T_2 extends (...args: any) => any>(action: (actions: {
472
+ setTheme(themeDefinition: import("@omnia/fx-models").ThemeDefinitionV2): void;
473
+ }) => T_2, fn: T_2 extends (...args: infer U_1) => infer Y | Promise<infer Y> ? (result: Y, ...args: U_1) => void : never) => import("@omnia/fx-models").IMessageBusSubscriptionHandler;
474
+ onFailure: <T_3 extends (...args: any) => any>(action: (actions: {
475
+ setTheme(themeDefinition: import("@omnia/fx-models").ThemeDefinitionV2): void;
476
+ }) => T_3, fn: T_3 extends (...args: infer U_2) => any ? (failureReason: any, ...args: U_2) => void : never) => import("@omnia/fx-models").IMessageBusSubscriptionHandler;
477
+ setTheme: (themeDefinition: import("@omnia/fx-models").ThemeDefinitionV2) => void;
478
+ };
479
+ get: {
480
+ colorSchema: (colorSchemaType: "info" | "error" | import("@omnia/fx-models").ColorSchemaTypes | "primary" | "secondary" | "accent1" | "accent2" | "accent3" | "neutral" | "background") => import("@omnia/fx-models").ColorSchema;
481
+ blueprint: (blueprintType: "default" | "variant1" | "variant2" | "variant3" | import("@omnia/fx-models").BlueprintTypes) => import("@omnia/fx-models").BlueprintDefinition;
482
+ typography: (typographyType: "title" | "text" | "navigation" | import("@omnia/fx-models").TypographyTypes, size: "xs" | "s" | "m" | "l" | "xl" | import("@omnia/fx-models").TypographySizes) => import("@omnia/fx-models").TypographyTypeDefinition;
483
+ color: (colorSchemaType: "info" | "error" | import("@omnia/fx-models").ColorSchemaTypes | "primary" | "secondary" | "accent1" | "accent2" | "accent3" | "neutral" | "background", colorType: import("@omnia/fx-models").ColorTypes | "base" | "onBase" | "container" | "onContainer") => string;
484
+ colorDefinition: (colorSchemaType: "info" | "error" | import("@omnia/fx-models").ColorSchemaTypes | "primary" | "secondary" | "accent1" | "accent2" | "accent3" | "neutral" | "background", colorType: import("@omnia/fx-models").ColorTypes | "base" | "onBase" | "container" | "onContainer") => ColorDefinition;
485
+ complementaryColorType: (colorType: import("@omnia/fx-models").ColorTypes | "base" | "onBase" | "container" | "onContainer") => import("@omnia/fx-models").ColorTypes;
486
+ complementaryColor: (colorSchemaType: "info" | "error" | import("@omnia/fx-models").ColorSchemaTypes | "primary" | "secondary" | "accent1" | "accent2" | "accent3" | "neutral" | "background", colorType: import("@omnia/fx-models").ColorTypes | "base" | "onBase" | "container" | "onContainer") => string;
487
+ complementaryColorDefinition: (colorSchemaType: "info" | "error" | import("@omnia/fx-models").ColorSchemaTypes | "primary" | "secondary" | "accent1" | "accent2" | "accent3" | "neutral" | "background", colorType: import("@omnia/fx-models").ColorTypes | "base" | "onBase" | "container" | "onContainer") => ColorDefinition;
488
+ currentTheme: () => import("@omnia/fx-models").ThemeDefinitionV2;
489
+ };
490
+ };
491
+ readonly colorSchema: import("@omnia/fx-models").ColorSchema;
492
+ readonly theme: "light" | "dark";
493
+ readonly base: ColorDefinition;
494
+ readonly onBase: ColorDefinition;
495
+ readonly container: ColorDefinition;
496
+ readonly onContainer: ColorDefinition;
497
+ dynamic: (isContainer: boolean) => {
498
+ readonly base: ColorDefinition;
499
+ readonly onBase: ColorDefinition;
500
+ readonly container: ColorDefinition;
501
+ readonly onContainer: ColorDefinition;
502
+ };
503
+ };
504
+ deactivated(): void;
505
+ }, showFooter: boolean, hover: boolean, clickable: boolean) => string;
5
506
  };
6
507
  export default _default;
@@ -12,18 +12,18 @@ export default class TableSubToolbar extends ToolbarExtension implements TableTo
12
12
  editor: TipTapEditor;
13
13
  private loc;
14
14
  tableMenuClasses: {
15
- thicknessWraper?: any;
16
- thicknessItem?: any;
17
- thicknessSelection?: any;
18
- colorSelection?: any;
19
- tableStyleItemWrapper?: any;
20
- tableStyleItemContent?: any;
21
- tableStyleWrapper?: any;
22
- tableItemSelection?: any;
23
- subToolBar?: any;
24
- cellStyleMenu?: any;
25
- setBlackWhiteIcon?: any;
26
- setThemingPrimaryIcon?: any;
15
+ thicknessWraper?: string;
16
+ thicknessItem?: (thickness: number) => string;
17
+ thicknessSelection?: string;
18
+ colorSelection?: string;
19
+ tableStyleItemWrapper?: string;
20
+ tableStyleItemContent?: string;
21
+ tableStyleWrapper?: string;
22
+ tableItemSelection?: string;
23
+ subToolBar?: string;
24
+ cellStyleMenu?: string;
25
+ setBlackWhiteIcon?: (theming: ITheming) => string;
26
+ setThemingPrimaryIcon?: (theming: ITheming) => string;
27
27
  };
28
28
  iconStyle: string;
29
29
  borderThickness: number[];
@@ -9,18 +9,18 @@ export default class TableToolbar extends ToolbarExtension implements TableToolb
9
9
  editor: TipTapEditor;
10
10
  private loc;
11
11
  tableMenuClasses: {
12
- thicknessWraper?: any;
13
- thicknessItem?: any;
14
- thicknessSelection?: any;
15
- colorSelection?: any;
16
- tableStyleItemWrapper?: any;
17
- tableStyleItemContent?: any;
18
- tableStyleWrapper?: any;
19
- tableItemSelection?: any;
20
- subToolBar?: any;
21
- cellStyleMenu?: any;
22
- setBlackWhiteIcon?: any;
23
- setThemingPrimaryIcon?: any;
12
+ thicknessWraper?: string;
13
+ thicknessItem?: (thickness: number) => string;
14
+ thicknessSelection?: string;
15
+ colorSelection?: string;
16
+ tableStyleItemWrapper?: string;
17
+ tableStyleItemContent?: string;
18
+ tableStyleWrapper?: string;
19
+ tableItemSelection?: string;
20
+ subToolBar?: string;
21
+ cellStyleMenu?: string;
22
+ setBlackWhiteIcon?: (theming: import("@omnia/fx/ux").ITheming) => string;
23
+ setThemingPrimaryIcon?: (theming: import("@omnia/fx/ux").ITheming) => string;
24
24
  };
25
25
  iconStyle: string;
26
26
  borderThickness: number[];
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@omnia/fx",
3
3
  "license": "MIT",
4
- "version": "8.0.45-dev",
4
+ "version": "8.0.46-dev",
5
5
  "description": "Provide Omnia Fx typings and tooling for clientside Omnia development.",
6
6
  "scripts": {
7
7
  "test": "echo \"Error: no test specified\" && exit 1",
@@ -20,7 +20,7 @@
20
20
  ],
21
21
  "author": "Precio Fishbone",
22
22
  "dependencies": {
23
- "@omnia/fx-models": "8.0.45-dev",
23
+ "@omnia/fx-models": "8.0.46-dev",
24
24
  "@microsoft/signalr": "6.0.1",
25
25
  "broadcast-channel": "4.8.0",
26
26
  "dayjs": "1.10.7",