@omnia/fx 8.0.109-vnext → 8.0.110-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 (20) hide show
  1. package/internal-do-not-import-from-here/ux/Exposes.d.ts +1 -1
  2. package/internal-do-not-import-from-here/ux/{InternalDefineWebComponent.d.ts → InternalDefineComponent.d.ts} +9 -6
  3. package/internal-do-not-import-from-here/ux/enterpriseproperties/renderers/EnterprisePropertyConfiguration.d.ts +17 -0
  4. package/internal-do-not-import-from-here/ux/features/blades/FeatureHomeBlade.d.ts +2 -2
  5. package/internal-do-not-import-from-here/ux/html/HtmlRenderer.d.ts +10 -25
  6. package/internal-do-not-import-from-here/ux/image/scalingsettings/ScalingSettings.d.ts +6 -6
  7. package/internal-do-not-import-from-here/ux/imagetransformer/Components/editor/ImageEditorCanvas.d.ts +2 -2
  8. package/internal-do-not-import-from-here/ux/imagetransformer/ImageTransformer.d.ts +2 -2
  9. package/internal-do-not-import-from-here/ux/layoutcanvas/editor/layoutItemselector/LayoutItemSelection.d.ts +2 -2
  10. package/internal-do-not-import-from-here/ux/layoutcanvas/editor/layoutitems/LayoutBlock.d.ts +4 -1
  11. package/internal-do-not-import-from-here/ux/layoutcanvas/editor/settings/block/Css.d.ts +4 -490
  12. package/internal-do-not-import-from-here/ux/layoutcanvas/editor/settings/block/Header.d.ts +4 -490
  13. package/internal-do-not-import-from-here/ux/layoutcanvas/editor/settings/block/Spacing.d.ts +4 -490
  14. package/internal-do-not-import-from-here/ux/layoutcanvas/editor/settings/block/Style.d.ts +4 -490
  15. package/internal-do-not-import-from-here/ux/layoutcanvas/editor/settings/block/Targeting.d.ts +4 -490
  16. package/internal-do-not-import-from-here/ux/layoutcanvas/editor/settings/blocktitle/BlockTitleSettings.d.ts +2 -2
  17. package/internal-do-not-import-from-here/ux/oxide/appbar/Appbar.d.ts +4 -4
  18. package/internal-do-not-import-from-here/ux/properties/property-configuration/PropertyConfigurationV2.d.ts +32 -15
  19. package/internal-do-not-import-from-here/ux/spacingpicker/SpacingPicker2.d.ts +2 -2
  20. package/package.json +2 -2
@@ -78,4 +78,4 @@ export type { FocusOption, ClickOutOption, ScrollOption, LinkHandlerOptions, } f
78
78
  export { FocusDirective, ClickOutDirective, ScrollDirective, LinkHandlerDirective, } from "./directives";
79
79
  export { VueComponentBase, getVuetifyAppClasses, VueComponentConnect, } from "./VueComponentBase";
80
80
  export type { VueComponentBaseProps, VueComponentBaseEvents, } from "./VueComponentBase";
81
- export { defineVueComponent, definePropFunctionType, definePropObjectType, defineVue, createVueNode, getElementName, isElement } from "./InternalDefineWebComponent";
81
+ export { defineVueComponent, definePropFunctionType, definePropObjectType, defineVue, createVueNode, getElementName, isElement } from "./InternalDefineComponent";
@@ -47,8 +47,10 @@ type ExtractPropModels<T> = {
47
47
  -readonly [K in keyof T as K extends `v-model:${infer N}` ? N : K extends "v-model" ? "modelValue" : never]: T[K];
48
48
  };
49
49
  type ExtractPropSlots<T> = T extends {
50
- ["v-slots"]?: any;
51
- } ? T["v-slots"] : {
50
+ "v-slots"?: any;
51
+ } ? T["v-slots"] & {
52
+ default?: Slot;
53
+ } : {
52
54
  default?: Slot;
53
55
  };
54
56
  type RequiredKeys<T> = {
@@ -105,7 +107,8 @@ type UseState = <T>(state?: T) => {
105
107
  state: T;
106
108
  setState(state: T): void;
107
109
  };
108
- type SetupContext<Props, E = EmitsOptions> = E extends any ? {
110
+ type SetupContext<ExtractedPropsType, Props, E = EmitsOptions> = E extends any ? {
111
+ props: ExtractedPropsType;
109
112
  attrs: Data;
110
113
  slots: ExtractPropSlots<Props>;
111
114
  models?: Required<ExtractPropModels<Props>>;
@@ -121,14 +124,14 @@ type SetupContext<Props, E = EmitsOptions> = E extends any ? {
121
124
  subscriber: SubscriptionHandler;
122
125
  } : never;
123
126
  interface ComponentOptionsBaseExtends<Props, RawBindings, D, C extends ComputedOptions, M extends MethodOptions, Mixin extends ComponentOptionsMixin, Extends extends ComponentOptionsMixin, E extends EmitsOptions, EE extends string = string, Defaults = {}, I extends ComponentInjectOptions = {}, II extends string = string> extends ComponentOptionsBase<ExcludeJsxPropKeys<Props>, RawBindings, D, C, M, Mixin, Extends, E, EE, Defaults, I, II> {
124
- setup?: (this: void, props: LooseRequired<ExcludeJsxPropKeys<Props> & Prettify<UnwrapMixinsType<IntersectionMixin<Mixin> & IntersectionMixin<Extends>, "P">>>, ctx: SetupContext<Props, E>) => Promise<RawBindings> | RawBindings | RenderFunction | void;
127
+ setup?: (this: void, ctx: SetupContext<LooseRequired<ExcludeJsxPropKeys<Props> & Prettify<UnwrapMixinsType<IntersectionMixin<Mixin> & IntersectionMixin<Extends>, "P">>>, Props, E>) => Promise<RawBindings> | RawBindings | RenderFunction | void;
125
128
  }
126
- export declare function defineVueComponent<Props extends Record<string, any>, E extends EmitsOptions = {}, EE extends string = string, S extends SlotsType = {}>(setup: (props: Props, ctx: SetupContext<E, S>) => RenderFunction | Promise<RenderFunction>, options?: Pick<ComponentOptions, "name" | "inheritAttrs"> & {
129
+ export declare function defineVueComponent<Props extends Record<string, any>, E extends EmitsOptions = {}, EE extends string = string, S extends SlotsType = {}>(setup: (ctx: SetupContext<Props, E, S>) => RenderFunction | Promise<RenderFunction>, options?: Pick<ComponentOptions, "name" | "inheritAttrs"> & {
127
130
  props?: (keyof Props)[];
128
131
  emits?: E | EE[];
129
132
  slots?: S;
130
133
  }, register?: (manifest: ComponentBundleManifest, component: TsxComponentV3<Props, {}, {}, {}, {}, {}, {}, E, EE>) => void): TsxComponentV3<Props, {}, {}, {}, {}, {}, {}, E, EE>;
131
- export declare function defineVueComponent<Props extends Record<string, any>, E extends EmitsOptions = {}, EE extends string = string, S extends SlotsType = {}>(setup: (props: Props, ctx: SetupContext<E, S>) => RenderFunction | Promise<RenderFunction>, options?: Pick<ComponentOptions, "name" | "inheritAttrs"> & {
134
+ export declare function defineVueComponent<Props extends Record<string, any>, E extends EmitsOptions = {}, EE extends string = string, S extends SlotsType = {}>(setup: (ctx: SetupContext<Props, E, S>) => RenderFunction | Promise<RenderFunction>, options?: Pick<ComponentOptions, "name" | "inheritAttrs"> & {
132
135
  props?: ComponentObjectPropsOptions<Props>;
133
136
  emits?: E | EE[];
134
137
  slots?: S;
@@ -109,6 +109,7 @@ declare const _default: {
109
109
  }>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
110
110
  [key: string]: any;
111
111
  }>) => void)[];
112
+ readonly disabled?: boolean;
112
113
  readonly modelValue?: EnterprisePropertyItemSettings;
113
114
  readonly "v-model"?: EnterprisePropertyItemSettings;
114
115
  readonly "onUpdate:modelValue"?: (value: EnterprisePropertyItemSettings) => any;
@@ -132,6 +133,11 @@ declare const _default: {
132
133
  type: import("vue").PropType<object>;
133
134
  required: false;
134
135
  };
136
+ disabled: {
137
+ type: import("vue").PropType<boolean>;
138
+ } & {
139
+ type: import("vue").PropType<boolean>;
140
+ };
135
141
  "onUpdate:modelValue": {
136
142
  type: import("vue").PropType<(value: EnterprisePropertyItemSettings) => any>;
137
143
  };
@@ -223,6 +229,11 @@ declare const _default: {
223
229
  type: import("vue").PropType<object>;
224
230
  required: false;
225
231
  };
232
+ disabled: {
233
+ type: import("vue").PropType<boolean>;
234
+ } & {
235
+ type: import("vue").PropType<boolean>;
236
+ };
226
237
  "onUpdate:modelValue": {
227
238
  type: import("vue").PropType<(value: EnterprisePropertyItemSettings) => any>;
228
239
  };
@@ -298,6 +309,11 @@ declare const _default: {
298
309
  type: import("vue").PropType<object>;
299
310
  required: false;
300
311
  };
312
+ disabled: {
313
+ type: import("vue").PropType<boolean>;
314
+ } & {
315
+ type: import("vue").PropType<boolean>;
316
+ };
301
317
  "onUpdate:modelValue": {
302
318
  type: import("vue").PropType<(value: EnterprisePropertyItemSettings) => any>;
303
319
  };
@@ -427,6 +443,7 @@ declare const _default: {
427
443
  };
428
444
  }>;
429
445
  };
446
+ disabled?: boolean;
430
447
  modelValue?: EnterprisePropertyItemSettings;
431
448
  "v-model"?: EnterprisePropertyItemSettings;
432
449
  "onUpdate:modelValue"?: (value: EnterprisePropertyItemSettings) => any;
@@ -89,7 +89,7 @@ declare const _default: {
89
89
  }>> & {
90
90
  onHandleFeatureAction?: (action: string, featureId: GuidValue) => any;
91
91
  }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
92
- handleFeatureAction: (action: string, featureId: GuidValue) => boolean;
92
+ handleFeatureAction: (action: string, featureId: GuidValue) => true;
93
93
  }, string, {}, {}, string, {}> & {
94
94
  beforeCreate?: (() => void) | (() => void)[];
95
95
  created?: (() => void) | (() => void)[];
@@ -145,7 +145,7 @@ declare const _default: {
145
145
  }>> & {
146
146
  onHandleFeatureAction?: (action: string, featureId: GuidValue) => any;
147
147
  }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
148
- handleFeatureAction: (action: string, featureId: GuidValue) => boolean;
148
+ handleFeatureAction: (action: string, featureId: GuidValue) => true;
149
149
  }, string, {}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
150
150
  propsDefinition: Omit<Readonly<{} & {
151
151
  appInstanceId?: unknown;
@@ -3,7 +3,6 @@ declare const _default: {
3
3
  $: import("vue").ComponentInternalInstance;
4
4
  $data: {};
5
5
  $props: {
6
- readonly html?: string;
7
6
  style?: unknown;
8
7
  class?: unknown;
9
8
  key?: string | number | symbol;
@@ -62,13 +61,9 @@ declare const _default: {
62
61
  $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>;
63
62
  $emit: (event: string, ...args: any[]) => void;
64
63
  $el: any;
65
- $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
66
- html: {
67
- type: import("vue").PropType<string>;
68
- } & {
69
- type: import("vue").PropType<string>;
70
- };
71
- }>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}> & {
64
+ $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{}>>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
65
+ [key: string]: any;
66
+ }>[], {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}> & {
72
67
  beforeCreate?: (() => void) | (() => void)[];
73
68
  created?: (() => void) | (() => void)[];
74
69
  beforeMount?: (() => void) | (() => void)[];
@@ -88,25 +83,15 @@ declare const _default: {
88
83
  $forceUpdate: () => void;
89
84
  $nextTick: typeof import("vue").nextTick;
90
85
  $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;
91
- } & Readonly<import("vue").ExtractPropTypes<{
92
- html: {
93
- type: import("vue").PropType<string>;
94
- } & {
95
- type: import("vue").PropType<string>;
96
- };
97
- }>> & import("vue").ShallowUnwrapRef<() => JSX.Element> & {} & import("vue").ComponentCustomProperties & {};
86
+ } & Readonly<import("vue").ExtractPropTypes<{}>> & import("vue").ShallowUnwrapRef<() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
87
+ [key: string]: any;
88
+ }>[]> & {} & import("vue").ComponentCustomProperties & {};
98
89
  __isFragment?: never;
99
90
  __isTeleport?: never;
100
91
  __isSuspense?: never;
101
- } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
102
- html: {
103
- type: import("vue").PropType<string>;
104
- } & {
105
- type: import("vue").PropType<string>;
106
- };
107
- }>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
108
- propsDefinition: Omit<Readonly<{} & {
109
- html?: string;
110
- }>, never>;
92
+ } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{}>>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
93
+ [key: string]: any;
94
+ }>[], {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
95
+ propsDefinition: Omit<Readonly<{} & {}>, never>;
111
96
  };
112
97
  export default _default;
@@ -226,9 +226,9 @@ declare const _default: {
226
226
  "onUpdate:add"?: (value: any) => any;
227
227
  "onUpdate:delete"?: (value: any) => any;
228
228
  }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
229
- "update:modelValue": (value: any) => boolean;
230
- "update:add": (value: any) => boolean;
231
- "update:delete": (value: any) => boolean;
229
+ "update:modelValue": (value: any) => true;
230
+ "update:add": (value: any) => true;
231
+ "update:delete": (value: any) => true;
232
232
  }, string, {
233
233
  container?: any;
234
234
  blueprint?: any;
@@ -440,9 +440,9 @@ declare const _default: {
440
440
  "onUpdate:add"?: (value: any) => any;
441
441
  "onUpdate:delete"?: (value: any) => any;
442
442
  }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
443
- "update:modelValue": (value: any) => boolean;
444
- "update:add": (value: any) => boolean;
445
- "update:delete": (value: any) => boolean;
443
+ "update:modelValue": (value: any) => true;
444
+ "update:add": (value: any) => true;
445
+ "update:delete": (value: any) => true;
446
446
  }, string, {
447
447
  container?: any;
448
448
  blueprint?: any;
@@ -119,7 +119,7 @@ declare const _default: {
119
119
  }>> & {
120
120
  onCanvasInitialized?: (imageEditor: ImageEditor) => any;
121
121
  }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
122
- canvasInitialized: (imageEditor: ImageEditor) => boolean;
122
+ canvasInitialized: (imageEditor: ImageEditor) => true;
123
123
  }, string, {}, {}, string, {}> & {
124
124
  beforeCreate?: (() => void) | (() => void)[];
125
125
  created?: (() => void) | (() => void)[];
@@ -229,7 +229,7 @@ declare const _default: {
229
229
  }>> & {
230
230
  onCanvasInitialized?: (imageEditor: ImageEditor) => any;
231
231
  }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
232
- canvasInitialized: (imageEditor: ImageEditor) => boolean;
232
+ canvasInitialized: (imageEditor: ImageEditor) => true;
233
233
  }, string, {}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
234
234
  propsDefinition: Omit<Readonly<{} & {
235
235
  maxHeight?: number;
@@ -66,7 +66,7 @@ declare const _default: {
66
66
  $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{}>> & {
67
67
  onChanged?: (currentTransformationResult: MediaPickerImageTransformationResult) => any;
68
68
  }, () => JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
69
- changed: (currentTransformationResult: MediaPickerImageTransformationResult) => boolean;
69
+ changed: (currentTransformationResult: MediaPickerImageTransformationResult) => true;
70
70
  }, string, {}, {}, string, {}> & {
71
71
  beforeCreate?: (() => void) | (() => void)[];
72
72
  created?: (() => void) | (() => void)[];
@@ -96,7 +96,7 @@ declare const _default: {
96
96
  } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{}>> & {
97
97
  onChanged?: (currentTransformationResult: MediaPickerImageTransformationResult) => any;
98
98
  }, () => JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
99
- changed: (currentTransformationResult: MediaPickerImageTransformationResult) => boolean;
99
+ changed: (currentTransformationResult: MediaPickerImageTransformationResult) => true;
100
100
  }, string, {}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
101
101
  propsDefinition: Omit<Readonly<{} & {}>, "onChanged"> & {
102
102
  onChanged?: (currentTransformationResult: MediaPickerImageTransformationResult) => any;
@@ -84,7 +84,7 @@ declare const _default: {
84
84
  }>> & {
85
85
  onClick?: () => any;
86
86
  }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
87
- click: () => boolean;
87
+ click: () => true;
88
88
  }, string, {
89
89
  container?: any;
90
90
  blueprint?: any;
@@ -142,7 +142,7 @@ declare const _default: {
142
142
  }>> & {
143
143
  onClick?: () => any;
144
144
  }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
145
- click: () => boolean;
145
+ click: () => true;
146
146
  }, string, {
147
147
  container?: any;
148
148
  blueprint?: any;
@@ -175,7 +175,10 @@ declare const _default: {
175
175
  blueprintType?: any;
176
176
  blueprint?: any;
177
177
  }>> & import("vue").ShallowUnwrapRef<() => JSX.Element> & {} & import("vue").ComponentCustomProperties & {};
178
- __isFragment?: never;
178
+ __isFragment?: never; /**
179
+ * Creates the element
180
+ * @param h
181
+ */
179
182
  __isTeleport?: never;
180
183
  __isSuspense?: never;
181
184
  } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{