@omnia/fx 8.0.94-vnext → 8.0.95-vnext

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 (31) hide show
  1. package/internal-do-not-import-from-here/stores/oxide/ComponentHostStore.d.ts +5 -5
  2. package/internal-do-not-import-from-here/ux/filterpicker/FilterPicker.css.d.ts +3 -0
  3. package/internal-do-not-import-from-here/ux/filterpicker/FilterPicker.d.ts +80 -32
  4. package/internal-do-not-import-from-here/ux/languagepicker/LanguagePicker.d.ts +17 -0
  5. package/internal-do-not-import-from-here/ux/oxide/btn/Button.css.d.ts +1 -1
  6. package/internal-do-not-import-from-here/ux/oxide/btn/Button.d.ts +16 -5
  7. package/internal-do-not-import-from-here/ux/oxide/expansionpanel/ExpansionPanels.css.d.ts +1 -0
  8. package/internal-do-not-import-from-here/ux/oxide/expansionpanel/ExpansionPanels.d.ts +5 -5
  9. package/internal-do-not-import-from-here/ux/oxide/hostprovider/HostProvider.d.ts +10 -10
  10. package/internal-do-not-import-from-here/ux/oxide/panel/Panel.css.d.ts +3 -3
  11. package/internal-do-not-import-from-here/ux/oxide/panel/Panel.d.ts +22 -0
  12. package/internal-do-not-import-from-here/ux/oxide/panel/docs/ShowHide.d.ts +91 -0
  13. package/internal-do-not-import-from-here/ux/oxide/toolbar/Toolbar.d.ts +5 -5
  14. package/internal-do-not-import-from-here/ux/properties/block/components/PropertySettings.css.d.ts +0 -0
  15. package/internal-do-not-import-from-here/ux/properties/block/components/PropertySettings.d.ts +426 -0
  16. package/internal-do-not-import-from-here/ux/properties/block/shared/PropertyBlockModels.d.ts +2 -5
  17. package/internal-do-not-import-from-here/ux/properties/property-renderer/PropertyValueRenderer.d.ts +45 -1
  18. package/internal-do-not-import-from-here/ux/typographypicker/TypographyPicker.d.ts +9 -9
  19. package/internal-do-not-import-from-here/ux/use/UseIcon.d.ts +3 -1
  20. package/internal-do-not-import-from-here/ux/velcron/components/propertieseditor/VelcronPropertiesEditor.d.ts +8 -8
  21. package/internal-do-not-import-from-here/ux/velcron/core/models/VelcronDefinitions.d.ts +3 -3
  22. package/internal-do-not-import-from-here/ux/velcron/core/models/VelcronPropertyEditorDefinitions.d.ts +10 -1
  23. package/internal-do-not-import-from-here/ux/velcron/core/parser/VelcronConstants.d.ts +7 -3
  24. package/internal-do-not-import-from-here/ux/velcron/core/templatebuilder/editor/VelcronEditorBuilder.d.ts +3 -0
  25. package/internal-do-not-import-from-here/ux/velcron/core/templatebuilder/editor/VelcronPropertyMappingEditorBuilder.d.ts +9 -0
  26. package/internal-do-not-import-from-here/ux/velcron/core/templatebuilder/state/VelcronPropertyMappingStateBuilder.d.ts +11 -0
  27. package/internal-do-not-import-from-here/ux/velcron/core/templatebuilder/state/VelcronStateBuilder.d.ts +3 -0
  28. package/internal-do-not-import-from-here/ux/velcron/renderer/propertyeditors/ImageEditor.d.ts +450 -0
  29. package/internal-do-not-import-from-here/ux/velcron/renderer/propertyeditors/TypographyEditor.d.ts +455 -0
  30. package/internal-do-not-import-from-here/wctypings.d.ts +7 -0
  31. package/package.json +2 -2
@@ -1,4 +1,4 @@
1
- import { PropertyDefinition, PropertyConfiguration, PropertyValue } from "@omnia/fx-models";
1
+ import { PropertyDefinition, PropertyConfiguration, PropertyValue, VelcronDefinition, VelcronRenderContext } from "@omnia/fx-models";
2
2
  declare const _default: {
3
3
  new (...args: any[]): {
4
4
  $: import("vue").ComponentInternalInstance;
@@ -116,6 +116,10 @@ declare const _default: {
116
116
  readonly "v-model"?: unknown;
117
117
  readonly editMode?: boolean;
118
118
  readonly propertyDefintionId: unknown;
119
+ readonly readRendererDefinition?: VelcronDefinition;
120
+ readonly "read-renderer-definition"?: VelcronDefinition;
121
+ readonly readRendererContext?: VelcronRenderContext;
122
+ readonly "read-renderer-context"?: VelcronRenderContext;
119
123
  };
120
124
  $attrs: {
121
125
  [x: string]: unknown;
@@ -131,6 +135,18 @@ declare const _default: {
131
135
  $emit: (event: string, ...args: any[]) => void;
132
136
  $el: any;
133
137
  $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
138
+ "read-renderer-context": {
139
+ type: import("vue").PropType<VelcronRenderContext>;
140
+ };
141
+ readRendererContext: {
142
+ type: import("vue").PropType<VelcronRenderContext>;
143
+ };
144
+ "read-renderer-definition": {
145
+ type: import("vue").PropType<VelcronDefinition>;
146
+ };
147
+ readRendererDefinition: {
148
+ type: import("vue").PropType<VelcronDefinition>;
149
+ };
134
150
  editMode: {
135
151
  type: import("vue").PropType<boolean>;
136
152
  required: false;
@@ -236,6 +252,18 @@ declare const _default: {
236
252
  $nextTick: typeof import("vue").nextTick;
237
253
  $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
238
254
  } & Readonly<import("vue").ExtractPropTypes<{
255
+ "read-renderer-context": {
256
+ type: import("vue").PropType<VelcronRenderContext>;
257
+ };
258
+ readRendererContext: {
259
+ type: import("vue").PropType<VelcronRenderContext>;
260
+ };
261
+ "read-renderer-definition": {
262
+ type: import("vue").PropType<VelcronDefinition>;
263
+ };
264
+ readRendererDefinition: {
265
+ type: import("vue").PropType<VelcronDefinition>;
266
+ };
239
267
  editMode: {
240
268
  type: import("vue").PropType<boolean>;
241
269
  required: false;
@@ -325,6 +353,18 @@ declare const _default: {
325
353
  __isTeleport?: never;
326
354
  __isSuspense?: never;
327
355
  } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
356
+ "read-renderer-context": {
357
+ type: import("vue").PropType<VelcronRenderContext>;
358
+ };
359
+ readRendererContext: {
360
+ type: import("vue").PropType<VelcronRenderContext>;
361
+ };
362
+ "read-renderer-definition": {
363
+ type: import("vue").PropType<VelcronDefinition>;
364
+ };
365
+ readRendererDefinition: {
366
+ type: import("vue").PropType<VelcronDefinition>;
367
+ };
328
368
  editMode: {
329
369
  type: import("vue").PropType<boolean>;
330
370
  required: false;
@@ -480,6 +520,10 @@ declare const _default: {
480
520
  "onUpdate:modelValue"?: (value: PropertyValue) => any;
481
521
  "v-model"?: unknown;
482
522
  editMode?: boolean;
523
+ readRendererDefinition?: VelcronDefinition;
524
+ "read-renderer-definition"?: VelcronDefinition;
525
+ readRendererContext?: VelcronRenderContext;
526
+ "read-renderer-context"?: VelcronRenderContext;
483
527
  }>, never>;
484
528
  };
485
529
  export default _default;
@@ -1,4 +1,4 @@
1
- import { ColorSchemaTypes, TypographySize, TypographyType } from "@omnia/fx-models";
1
+ import { TypographySize, TypographyType } from "@omnia/fx-models";
2
2
  export interface TypographyPickerProps {
3
3
  typographyType: TypographyType;
4
4
  size: TypographySize;
@@ -121,7 +121,7 @@ declare const _default: {
121
121
  [key: string]: any;
122
122
  }>) => void)[];
123
123
  readonly modelValue?: TypographyPickerProps;
124
- "onUpdate:modelValue"?: ((value: TypographyPickerProps) => any) & ((value: ColorSchemaTypes) => any);
124
+ "onUpdate:modelValue"?: ((value: TypographyPickerProps) => any) & ((value: TypographyPickerProps) => any);
125
125
  readonly "v-model"?: TypographyPickerProps;
126
126
  };
127
127
  $attrs: {
@@ -135,7 +135,7 @@ declare const _default: {
135
135
  }>;
136
136
  $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>;
137
137
  $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>;
138
- $emit: (event: "update:modelValue", value: ColorSchemaTypes) => void;
138
+ $emit: (event: "update:modelValue", value: TypographyPickerProps) => void;
139
139
  $el: any;
140
140
  $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
141
141
  type: {
@@ -213,9 +213,9 @@ declare const _default: {
213
213
  blueprintType?: any;
214
214
  blueprint?: any;
215
215
  }>> & {
216
- "onUpdate:modelValue"?: (value: ColorSchemaTypes) => any;
216
+ "onUpdate:modelValue"?: (value: TypographyPickerProps) => any;
217
217
  }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
218
- "update:modelValue": (value: ColorSchemaTypes) => any;
218
+ "update:modelValue": (value: TypographyPickerProps) => any;
219
219
  }, string, {
220
220
  container?: any;
221
221
  blueprint?: any;
@@ -318,7 +318,7 @@ declare const _default: {
318
318
  blueprintType?: any;
319
319
  blueprint?: any;
320
320
  }>> & {
321
- "onUpdate:modelValue"?: (value: ColorSchemaTypes) => any;
321
+ "onUpdate:modelValue"?: (value: TypographyPickerProps) => any;
322
322
  } & import("vue").ShallowUnwrapRef<() => JSX.Element> & {} & import("vue").ComponentCustomProperties & {};
323
323
  __isFragment?: never;
324
324
  __isTeleport?: never;
@@ -399,9 +399,9 @@ declare const _default: {
399
399
  blueprintType?: any;
400
400
  blueprint?: any;
401
401
  }>> & {
402
- "onUpdate:modelValue"?: (value: ColorSchemaTypes) => any;
402
+ "onUpdate:modelValue"?: (value: TypographyPickerProps) => any;
403
403
  }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
404
- "update:modelValue": (value: ColorSchemaTypes) => any;
404
+ "update:modelValue": (value: TypographyPickerProps) => any;
405
405
  }, string, {
406
406
  container?: any;
407
407
  blueprint?: any;
@@ -482,7 +482,7 @@ declare const _default: {
482
482
  "onUpdate:modelValue"?: (value: TypographyPickerProps) => any;
483
483
  "v-model"?: TypographyPickerProps;
484
484
  }>, "onUpdate:modelValue"> & {
485
- "onUpdate:modelValue"?: (value: ColorSchemaTypes) => any;
485
+ "onUpdate:modelValue"?: (value: TypographyPickerProps) => any;
486
486
  };
487
487
  };
488
488
  export default _default;
@@ -34,6 +34,7 @@ export declare function useIcons(): {
34
34
  targeting: FontAwesomeIcon;
35
35
  remove: FontAwesomeIcon;
36
36
  settings: FontAwesomeIcon;
37
+ sort: MaterialIcon;
37
38
  styles: FontAwesomeIcon;
38
39
  spacing: FontAwesomeIcon;
39
40
  template: FontAwesomeIcon;
@@ -72,9 +73,10 @@ export declare function useIcons(): {
72
73
  tag: (size?: OIconSizes, toned?: boolean, theming?: ThemeableComponentProps) => JSX.Element;
73
74
  tags: (size?: OIconSizes, toned?: boolean, theming?: ThemeableComponentProps) => JSX.Element;
74
75
  remove: (size?: OIconSizes, toned?: boolean, theming?: ThemeableComponentProps) => JSX.Element;
75
- styles: (size?: OIconSizes, toned?: boolean, theming?: ThemeableComponentProps) => JSX.Element;
76
76
  settings: (size?: OIconSizes, toned?: boolean, theming?: ThemeableComponentProps) => JSX.Element;
77
+ sort: (size?: OIconSizes, toned?: boolean, theming?: ThemeableComponentProps) => JSX.Element;
77
78
  spacing: (size?: OIconSizes, toned?: boolean, theming?: ThemeableComponentProps) => JSX.Element;
79
+ styles: (size?: OIconSizes, toned?: boolean, theming?: ThemeableComponentProps) => JSX.Element;
78
80
  targeting: (size?: OIconSizes, toned?: boolean, theming?: ThemeableComponentProps) => JSX.Element;
79
81
  template: (size?: OIconSizes, toned?: boolean, theming?: ThemeableComponentProps) => JSX.Element;
80
82
  theming: (size?: OIconSizes, toned?: boolean, theming?: ThemeableComponentProps) => JSX.Element;
@@ -114,7 +114,7 @@ declare const _default: {
114
114
  "onUpdate:modelValue"?: ((value: VelcronAppDefinition<object>) => any) & ((value: VelcronAppDefinition<object>) => any);
115
115
  readonly "v-model"?: VelcronAppDefinition<object>;
116
116
  readonly propertyEditors?: VelcronPropertyEditor<any>[];
117
- readonly "property-editors"?: VelcronPropertyEditor<any>[];
117
+ readonly hidePropertyMapped?: boolean;
118
118
  };
119
119
  $attrs: {
120
120
  [x: string]: unknown;
@@ -130,8 +130,8 @@ declare const _default: {
130
130
  $emit: (event: "update:modelValue", value: VelcronAppDefinition<object>) => void;
131
131
  $el: any;
132
132
  $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
133
- "property-editors": {
134
- type: import("vue").PropType<VelcronPropertyEditor<any>[]>;
133
+ hidePropertyMapped: {
134
+ type: import("vue").PropType<boolean>;
135
135
  };
136
136
  propertyEditors: {
137
137
  type: import("vue").PropType<VelcronPropertyEditor<any>[]>;
@@ -227,8 +227,8 @@ declare const _default: {
227
227
  $nextTick: typeof import("vue").nextTick;
228
228
  $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
229
229
  } & Readonly<import("vue").ExtractPropTypes<{
230
- "property-editors": {
231
- type: import("vue").PropType<VelcronPropertyEditor<any>[]>;
230
+ hidePropertyMapped: {
231
+ type: import("vue").PropType<boolean>;
232
232
  };
233
233
  propertyEditors: {
234
234
  type: import("vue").PropType<VelcronPropertyEditor<any>[]>;
@@ -306,8 +306,8 @@ declare const _default: {
306
306
  __isTeleport?: never;
307
307
  __isSuspense?: never;
308
308
  } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
309
- "property-editors": {
310
- type: import("vue").PropType<VelcronPropertyEditor<any>[]>;
309
+ hidePropertyMapped: {
310
+ type: import("vue").PropType<boolean>;
311
311
  };
312
312
  propertyEditors: {
313
313
  type: import("vue").PropType<VelcronPropertyEditor<any>[]>;
@@ -449,7 +449,7 @@ declare const _default: {
449
449
  "onUpdate:modelValue"?: (value: VelcronAppDefinition<object>) => any;
450
450
  "v-model"?: VelcronAppDefinition<object>;
451
451
  propertyEditors?: VelcronPropertyEditor<any>[];
452
- "property-editors"?: VelcronPropertyEditor<any>[];
452
+ hidePropertyMapped?: boolean;
453
453
  }>, "onUpdate:modelValue"> & {
454
454
  "onUpdate:modelValue"?: (value: VelcronAppDefinition<object>) => any;
455
455
  };
@@ -183,9 +183,9 @@ export interface VelcronAppDefinition<TState extends DynamicState = DynamicState
183
183
  }
184
184
  export interface VelcronComponentDefinition extends VelcronDefinition {
185
185
  type: string;
186
- events: any;
187
- properties: [];
188
- icon: any;
186
+ events?: any;
187
+ properties?: [];
188
+ icon?: any;
189
189
  }
190
190
  /*** Built-in Components *********************************************************************/
191
191
  export interface VelcronViewDefinition extends VelcronDefinition, VelcronColorStyling {
@@ -42,13 +42,19 @@ export interface VelcronSliderPropertyEditorSettings {
42
42
  max: number;
43
43
  step: number;
44
44
  }
45
+ export interface VelcronTypographyEditorSettings {
46
+ type: "title" | "text";
47
+ }
45
48
  export interface VelcronSliderPropertyEditor extends VelcronPropertyEditor<VelcronSliderPropertyEditorSettings> {
46
49
  type: "slider";
47
50
  }
48
51
  export interface VelcronTextPropertyEditor extends VelcronPropertyEditor<any> {
49
52
  type: "text";
50
53
  }
51
- export interface VelcronTypographyPropertyEditor extends VelcronPropertyEditor<any> {
54
+ export interface VelcronEnterprisePropertyEditor extends VelcronPropertyEditor<any> {
55
+ type: "enterprise-property";
56
+ }
57
+ export interface VelcronTypographyPropertyEditor extends VelcronPropertyEditor<VelcronTypographyEditorSettings> {
52
58
  type: "typography";
53
59
  }
54
60
  export interface VelcronSwitchPropertyEditor extends VelcronPropertyEditor<any> {
@@ -78,6 +84,9 @@ export interface VelcronContentState {
78
84
  main?: string;
79
85
  };
80
86
  }
87
+ export interface VelcronPropertiesState {
88
+ propertyItems: Array<any>;
89
+ }
81
90
  export interface VelcronImageState {
82
91
  url?: string;
83
92
  ratio?: VelcronImageRatios;
@@ -6,9 +6,10 @@ export declare const VelcronConstants: {
6
6
  text: string;
7
7
  image: string;
8
8
  button: string;
9
- textInput: string;
10
- progress: string;
11
- webView: string;
9
+ "text-input": string;
10
+ "progress-circle": string;
11
+ "web-view": string;
12
+ "custom-component": string;
12
13
  dialog: string;
13
14
  icon: string;
14
15
  chip: string;
@@ -29,4 +30,7 @@ export declare const VelcronConstants: {
29
30
  tokenEnd: string;
30
31
  propsToken: string;
31
32
  };
33
+ context: {
34
+ thisToken: string;
35
+ };
32
36
  };
@@ -2,12 +2,15 @@ import { VelcronPropertyEditor } from "@omnia/fx-models";
2
2
  import { VelcronContentEditorBuilder } from "./VelcronContentEditor";
3
3
  import { VelcronColorSchemaEditorBuilder } from "./VelcronColorSchemaEditor";
4
4
  import { VelcronImageEditorBuilder } from "./VelcronImageEditor";
5
+ import { VelcronPropertyMappingEditorBuilder } from "./VelcronPropertyMappingEditorBuilder";
5
6
  export declare class VelcronEditorBuilder {
6
7
  private contentEditorBuilder;
7
8
  private colorSchemaEditorBuilder;
8
9
  private imageEditorBuilder;
10
+ private propertyMappingBuilder;
9
11
  content(): VelcronContentEditorBuilder;
10
12
  colorSchemaType(): VelcronColorSchemaEditorBuilder;
11
13
  image(): VelcronImageEditorBuilder;
14
+ properties(): VelcronPropertyMappingEditorBuilder;
12
15
  build(): VelcronPropertyEditor<any>[];
13
16
  }
@@ -0,0 +1,9 @@
1
+ import { VelcronPropertyEditor } from "@omnia/fx-models";
2
+ import { VelcronEditorBuilder } from "./VelcronEditorBuilder";
3
+ import { VelcronEditorBuilderBase } from "./VelcronEditorBuilderBase";
4
+ export declare class VelcronPropertyMappingEditorBuilder extends VelcronEditorBuilderBase {
5
+ private editor;
6
+ constructor(builder: any);
7
+ add(): VelcronEditorBuilder;
8
+ protected internalBuild(): VelcronPropertyEditor<any>[];
9
+ }
@@ -0,0 +1,11 @@
1
+ import { VelcronStateBuilderBase } from "./VelcronStateBuilderBase";
2
+ export declare class VelcronPropertyMappingStateBuilder extends VelcronStateBuilderBase {
3
+ private propertyItemsValue;
4
+ constructor(stateBuilder: any);
5
+ propertyItems: {
6
+ add: (items?: any[]) => VelcronPropertyMappingStateBuilder;
7
+ bind: string;
8
+ foreach: string;
9
+ };
10
+ protected internalBuild(): {};
11
+ }
@@ -1,12 +1,15 @@
1
1
  import { VelcronColorSchemaStateBuilder } from "./VelcronColorSchemaBuilder";
2
2
  import { VelcronContentStateBuilder } from "./VelcronContentStateBuilder";
3
3
  import { VelcronImageStateBuilder } from "./VelcronImageStateBuilder";
4
+ import { VelcronPropertyMappingStateBuilder } from "./VelcronPropertyMappingStateBuilder";
4
5
  export declare class VelcronStateBuilder {
5
6
  private contentStateBuilder;
6
7
  private imageStateBuilder;
7
8
  private colorSchemaStateBuilder;
9
+ private propertyMappingStateBuilder;
8
10
  content(): VelcronContentStateBuilder;
9
11
  image(): VelcronImageStateBuilder;
10
12
  colorSchemaType(): VelcronColorSchemaStateBuilder;
13
+ properties(): VelcronPropertyMappingStateBuilder;
11
14
  build(): any;
12
15
  }