@omnia/fx 8.0.140-dev → 8.0.142-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 (34) hide show
  1. package/internal-do-not-import-from-here/ux/blueprintpickers/chrome/ChromePicker.d.ts +21 -0
  2. package/internal-do-not-import-from-here/ux/blueprintpickers/iconstylepicker/IconStyleEditor.d.ts +7 -3
  3. package/internal-do-not-import-from-here/ux/blueprintpickers/iconstylepicker/IconStylePicker.d.ts +7 -3
  4. package/internal-do-not-import-from-here/ux/blueprintpickers/spacingpicker/SpacingPicker3.d.ts +21 -0
  5. package/internal-do-not-import-from-here/ux/blueprintpickers/tabs/TabStylePicker.d.ts +7 -3
  6. package/internal-do-not-import-from-here/ux/blueprintpickers/textstylepicker/TextStylePicker.d.ts +7 -3
  7. package/internal-do-not-import-from-here/ux/blueprintpickers/typography/TypographyPicker.d.ts +7 -3
  8. package/internal-do-not-import-from-here/ux/borderpicker/BorderPicker.d.ts +7 -3
  9. package/internal-do-not-import-from-here/ux/colorschemapicker/ColorSchemaViewer.d.ts +1 -1
  10. package/internal-do-not-import-from-here/ux/fillpicker/FillPicker.d.ts +7 -3
  11. package/internal-do-not-import-from-here/ux/journey/JourneyBlade.d.ts +7 -10
  12. package/internal-do-not-import-from-here/ux/journey/JourneyMenu.d.ts +7 -10
  13. package/internal-do-not-import-from-here/ux/journey/JourneyPlaceHolder.d.ts +53 -40
  14. package/internal-do-not-import-from-here/ux/journey/stores/JourneyStore.d.ts +0 -137
  15. package/internal-do-not-import-from-here/ux/journey/use/UseBlade.d.ts +13 -634
  16. package/internal-do-not-import-from-here/ux/oxide/appbar/Appbar.d.ts +9 -9
  17. package/internal-do-not-import-from-here/ux/oxide/slider/Slider.d.ts +21 -0
  18. package/internal-do-not-import-from-here/ux/pickerwrapper/PickerWrapper.d.ts +21 -0
  19. package/internal-do-not-import-from-here/ux/theming-v2/actionhandler/ThemeDesignerAction.d.ts +69 -0
  20. package/internal-do-not-import-from-here/ux/theming-v2/actionhandler/ThemeDesignerClickHandler.d.ts +1 -0
  21. package/internal-do-not-import-from-here/ux/theming-v2/admin/blades/themedesigner/ThemeDesigner.d.ts +10 -4
  22. package/internal-do-not-import-from-here/ux/theming-v2/store/ThemeContextStore.d.ts +2 -0
  23. package/internal-do-not-import-from-here/ux/use/UseIcon.d.ts +3 -0
  24. package/internal-do-not-import-from-here/ux/velcron/core/actions/Clone.d.ts +1 -0
  25. package/internal-do-not-import-from-here/ux/velcron/core/parser/VelcronActions.d.ts +4 -1
  26. package/internal-do-not-import-from-here/ux/velcron/core/parser/VelcronConstants.d.ts +1 -0
  27. package/internal-do-not-import-from-here/ux/velcron/core/parser/VelcronData.d.ts +1 -0
  28. package/internal-do-not-import-from-here/ux/velcron/editor/VelcronEditor.d.ts +68 -403
  29. package/internal-do-not-import-from-here/ux/velcron/editor/VelcronEditorAction.d.ts +69 -0
  30. package/internal-do-not-import-from-here/ux/velcron/editor/VelcronEditorClickHandler.d.ts +1 -0
  31. package/internal-do-not-import-from-here/ux/velcron/renderer/components/ComponentCreator.d.ts +68 -38
  32. package/internal-do-not-import-from-here/ux/velcron/renderer/components/Reference.d.ts +6 -6
  33. package/internal-do-not-import-from-here/wctypings.d.ts +38 -8
  34. package/package.json +2 -2
@@ -37,9 +37,9 @@ declare const _default: {
37
37
  type: import("vue").PropType<boolean>;
38
38
  };
39
39
  variant: {
40
- type: import("vue").PropType<"default" | "app" | "chrome">;
40
+ type: import("vue").PropType<"default" | "chrome" | "app">;
41
41
  } & {
42
- type: import("vue").PropType<"default" | "app" | "chrome">;
42
+ type: import("vue").PropType<"default" | "chrome" | "app">;
43
43
  };
44
44
  absolute: {
45
45
  type: import("vue").PropType<boolean>;
@@ -100,9 +100,9 @@ declare const _default: {
100
100
  type: import("vue").PropType<boolean>;
101
101
  };
102
102
  variant: {
103
- type: import("vue").PropType<"default" | "app" | "chrome">;
103
+ type: import("vue").PropType<"default" | "chrome" | "app">;
104
104
  } & {
105
- type: import("vue").PropType<"default" | "app" | "chrome">;
105
+ type: import("vue").PropType<"default" | "chrome" | "app">;
106
106
  };
107
107
  absolute: {
108
108
  type: import("vue").PropType<boolean>;
@@ -171,9 +171,9 @@ declare const _default: {
171
171
  type: import("vue").PropType<boolean>;
172
172
  };
173
173
  variant: {
174
- type: import("vue").PropType<"default" | "app" | "chrome">;
174
+ type: import("vue").PropType<"default" | "chrome" | "app">;
175
175
  } & {
176
- type: import("vue").PropType<"default" | "app" | "chrome">;
176
+ type: import("vue").PropType<"default" | "chrome" | "app">;
177
177
  };
178
178
  absolute: {
179
179
  type: import("vue").PropType<boolean>;
@@ -239,9 +239,9 @@ declare const _default: {
239
239
  type: import("vue").PropType<boolean>;
240
240
  };
241
241
  variant: {
242
- type: import("vue").PropType<"default" | "app" | "chrome">;
242
+ type: import("vue").PropType<"default" | "chrome" | "app">;
243
243
  } & {
244
- type: import("vue").PropType<"default" | "app" | "chrome">;
244
+ type: import("vue").PropType<"default" | "chrome" | "app">;
245
245
  };
246
246
  absolute: {
247
247
  type: import("vue").PropType<boolean>;
@@ -286,7 +286,7 @@ declare const _default: {
286
286
  } & {
287
287
  actionButtons?: Func<[VNodeChild]>;
288
288
  };
289
- variant?: "default" | "app" | "chrome";
289
+ variant?: "default" | "chrome" | "app";
290
290
  subTitle?: string;
291
291
  "sub-title"?: string;
292
292
  navigationExpanded?: boolean;
@@ -8,6 +8,11 @@ declare const _default: {
8
8
  type: import("vue").PropType<number>;
9
9
  required: false;
10
10
  };
11
+ toned: {
12
+ type: import("vue").PropType<boolean>;
13
+ } & {
14
+ type: import("vue").PropType<boolean>;
15
+ };
11
16
  ticks: {
12
17
  type: import("vue").PropType<number[] | Record<number, string>>;
13
18
  required: false;
@@ -107,6 +112,11 @@ declare const _default: {
107
112
  type: import("vue").PropType<number>;
108
113
  required: false;
109
114
  };
115
+ toned: {
116
+ type: import("vue").PropType<boolean>;
117
+ } & {
118
+ type: import("vue").PropType<boolean>;
119
+ };
110
120
  ticks: {
111
121
  type: import("vue").PropType<number[] | Record<number, string>>;
112
122
  required: false;
@@ -215,6 +225,11 @@ declare const _default: {
215
225
  type: import("vue").PropType<number>;
216
226
  required: false;
217
227
  };
228
+ toned: {
229
+ type: import("vue").PropType<boolean>;
230
+ } & {
231
+ type: import("vue").PropType<boolean>;
232
+ };
218
233
  ticks: {
219
234
  type: import("vue").PropType<number[] | Record<number, string>>;
220
235
  required: false;
@@ -320,6 +335,11 @@ declare const _default: {
320
335
  type: import("vue").PropType<number>;
321
336
  required: false;
322
337
  };
338
+ toned: {
339
+ type: import("vue").PropType<boolean>;
340
+ } & {
341
+ type: import("vue").PropType<boolean>;
342
+ };
323
343
  ticks: {
324
344
  type: import("vue").PropType<number[] | Record<number, string>>;
325
345
  required: false;
@@ -423,6 +443,7 @@ declare const _default: {
423
443
  class?: String | String[];
424
444
  label?: string;
425
445
  direction?: "horizontal" | "vertical";
446
+ toned?: boolean;
426
447
  "v-model"?: any;
427
448
  "onUpdate:modelValue"?: (value: any) => any;
428
449
  modelValue?: any;
@@ -1,5 +1,10 @@
1
1
  declare const _default: {
2
2
  new (...args: any[]): import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
3
+ toned: {
4
+ type: import("vue").PropType<boolean>;
5
+ } & {
6
+ type: import("vue").PropType<boolean>;
7
+ };
3
8
  label: {
4
9
  type: import("vue").PropType<string>;
5
10
  } & {
@@ -8,6 +13,11 @@ declare const _default: {
8
13
  }>>, () => JSX.Element | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
9
14
  [key: string]: any;
10
15
  }>[], unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
16
+ toned: {
17
+ type: import("vue").PropType<boolean>;
18
+ } & {
19
+ type: import("vue").PropType<boolean>;
20
+ };
11
21
  label: {
12
22
  type: import("vue").PropType<string>;
13
23
  } & {
@@ -21,6 +31,11 @@ declare const _default: {
21
31
  M: {};
22
32
  Defaults: {};
23
33
  }, Readonly<import("vue").ExtractPropTypes<{
34
+ toned: {
35
+ type: import("vue").PropType<boolean>;
36
+ } & {
37
+ type: import("vue").PropType<boolean>;
38
+ };
24
39
  label: {
25
40
  type: import("vue").PropType<string>;
26
41
  } & {
@@ -33,6 +48,11 @@ declare const _default: {
33
48
  __isTeleport?: never;
34
49
  __isSuspense?: never;
35
50
  } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
51
+ toned: {
52
+ type: import("vue").PropType<boolean>;
53
+ } & {
54
+ type: import("vue").PropType<boolean>;
55
+ };
36
56
  label: {
37
57
  type: import("vue").PropType<string>;
38
58
  } & {
@@ -43,6 +63,7 @@ declare const _default: {
43
63
  }>[], unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
44
64
  propsDefinition: Omit<Readonly<{} & {
45
65
  label?: string;
66
+ toned?: boolean;
46
67
  }>, never>;
47
68
  };
48
69
  export default _default;
@@ -0,0 +1,69 @@
1
+ import { ActionHandlerInstance } from "../..";
2
+ declare const _default: {
3
+ new (...args: any[]): import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
4
+ close: {
5
+ type: import("vue").PropType<() => void>;
6
+ } & {
7
+ type: import("vue").PropType<() => void>;
8
+ };
9
+ "action-handler": {
10
+ type: import("vue").PropType<ActionHandlerInstance>;
11
+ };
12
+ actionHandler: {
13
+ type: import("vue").PropType<ActionHandlerInstance>;
14
+ };
15
+ }>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
16
+ close: {
17
+ type: import("vue").PropType<() => void>;
18
+ } & {
19
+ type: import("vue").PropType<() => void>;
20
+ };
21
+ "action-handler": {
22
+ type: import("vue").PropType<ActionHandlerInstance>;
23
+ };
24
+ actionHandler: {
25
+ type: import("vue").PropType<ActionHandlerInstance>;
26
+ };
27
+ }>>, {}, true, {}, {}, {
28
+ P: {};
29
+ B: {};
30
+ D: {};
31
+ C: {};
32
+ M: {};
33
+ Defaults: {};
34
+ }, Readonly<import("vue").ExtractPropTypes<{
35
+ close: {
36
+ type: import("vue").PropType<() => void>;
37
+ } & {
38
+ type: import("vue").PropType<() => void>;
39
+ };
40
+ "action-handler": {
41
+ type: import("vue").PropType<ActionHandlerInstance>;
42
+ };
43
+ actionHandler: {
44
+ type: import("vue").PropType<ActionHandlerInstance>;
45
+ };
46
+ }>>, () => JSX.Element, {}, {}, {}, {}>;
47
+ __isFragment?: never;
48
+ __isTeleport?: never;
49
+ __isSuspense?: never;
50
+ } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
51
+ close: {
52
+ type: import("vue").PropType<() => void>;
53
+ } & {
54
+ type: import("vue").PropType<() => void>;
55
+ };
56
+ "action-handler": {
57
+ type: import("vue").PropType<ActionHandlerInstance>;
58
+ };
59
+ actionHandler: {
60
+ type: import("vue").PropType<ActionHandlerInstance>;
61
+ };
62
+ }>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
63
+ propsDefinition: Omit<Readonly<{} & {
64
+ close?: () => void;
65
+ actionHandler?: ActionHandlerInstance;
66
+ "action-handler"?: ActionHandlerInstance;
67
+ }>, never>;
68
+ };
69
+ export default _default;
@@ -1,13 +1,17 @@
1
+ import { DefineSlot } from "@omnia/fx/ux";
2
+ import { VNodeChild } from "vue";
1
3
  declare const _default: (props: {
2
4
  "v-model"?: boolean;
3
5
  } & {
4
6
  "onUpdate:modelValue"?: (value: boolean) => void;
5
7
  } & {
6
8
  modelValue?: boolean;
7
- } & Omit<{}, "v-model" | "onUpdate:modelValue" | "modelValue"> & {
9
+ } & Omit<{
10
+ "onClick:close"?: () => any;
11
+ }, "v-model" | "onUpdate:modelValue" | "modelValue"> & {
8
12
  "v-slots"?: {
9
13
  default?: import("vue").Slot;
10
- };
14
+ } & DefineSlot<"activator", () => VNodeChild>;
11
15
  } & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "v-model" | "onUpdate:modelValue" | "modelValue">) => {
12
16
  $: import("vue").ComponentInternalInstance;
13
17
  $data: {};
@@ -55,8 +59,10 @@ declare const _default: (props: {
55
59
  } & {
56
60
  "v-slots"?: {
57
61
  default?: import("vue").Slot;
58
- };
59
- } & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "v-model" | "onUpdate:modelValue" | "modelValue">;
62
+ } & DefineSlot<"activator", () => VNodeChild>;
63
+ } & {
64
+ "onClick:close"?: () => any;
65
+ } & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "v-model" | "onUpdate:modelValue" | "modelValue">;
60
66
  } & import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
61
67
  [key: string]: any;
62
68
  }>;
@@ -1,4 +1,5 @@
1
1
  import { ThemeContextType } from "@omnia/fx-models";
2
+ import { useThemeStoreV2 } from "./ThemeStoreV2";
2
3
  export declare const useThemeContextStore: () => {
3
4
  actions: {
4
5
  onDispatching: {
@@ -1020,5 +1021,6 @@ export declare const useThemeContextStore: () => {
1020
1021
  currentTheme(): import("@omnia/fx-models").ThemeDefinitionV2;
1021
1022
  };
1022
1023
  };
1024
+ byType(type: ThemeContextType): ReturnType<typeof useThemeStoreV2>;
1023
1025
  };
1024
1026
  };
@@ -138,6 +138,9 @@ export declare function useIcons(): {
138
138
  tablet: FontAwesomeIcon;
139
139
  desktop: FontAwesomeIcon;
140
140
  };
141
+ tools: {
142
+ themeDesigner: FontAwesomeIcon;
143
+ };
141
144
  };
142
145
  presets: {
143
146
  add: (size?: OIconSizes, toned?: boolean, theming?: ThemeableComponentProps) => JSX.Element;
@@ -1,2 +1,3 @@
1
1
  import { IActionHandler } from "./IActionHandler";
2
2
  export declare const objClone: IActionHandler;
3
+ export declare const objAssign: IActionHandler;
@@ -12,7 +12,10 @@ export declare class VelcronActions {
12
12
  static registerAction(handler: IActionHandler): void;
13
13
  static unregisterAction(name: string): void;
14
14
  static actionArrayToString(templates: Array<string>): string;
15
- static parseAndExecuteActions(templates: Array<string>, renderContext: VelcronRenderContext, customActionContext?: VelcronCustomActionExecutionContext): Future<unknown>;
15
+ static parseAndExecuteActions(templates: Array<string>, renderContext: VelcronRenderContext, options?: {
16
+ customActionContext?: VelcronCustomActionExecutionContext;
17
+ variables?: object;
18
+ }): Future<unknown>;
16
19
  static parseFunction(target: {
17
20
  [name: string]: Array<string>;
18
21
  }, template: string, renderContext: VelcronRenderContext, params: Array<VelcronActionParameterValue>, foundCb: (name: string, params: {}) => void): void;
@@ -28,6 +28,7 @@ export declare const VelcronConstants: {
28
28
  idTokenStart: string;
29
29
  idTokenEnd: string;
30
30
  returnValueVariableName: string;
31
+ persistStateVariableName: string;
31
32
  };
32
33
  state: {
33
34
  stateRootToken: string;
@@ -25,6 +25,7 @@ export declare class VelcronData {
25
25
  static isArray(obj: any): obj is ExtendArray;
26
26
  static isObject(value: any): boolean;
27
27
  static extendObject(obj: any): any;
28
+ static propertyPathExists(obj: object, path: string): boolean;
28
29
  static getOrSetObjectByPath<T>(object: Object, path: string, value?: any): T | null;
29
30
  static getOrSet<T>(renderContext: VelcronRenderContext, path: string, value?: any): T;
30
31
  static getTokens(template: any, removeBrackets: boolean): string[];