@omnia/fx 8.0.93-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 (33) 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/VueComponentBase.d.ts +3 -3
  3. package/internal-do-not-import-from-here/ux/filterpicker/FilterPicker.css.d.ts +3 -0
  4. package/internal-do-not-import-from-here/ux/filterpicker/FilterPicker.d.ts +80 -32
  5. package/internal-do-not-import-from-here/ux/languagepicker/ILanguagePicker.d.ts +1 -14
  6. package/internal-do-not-import-from-here/ux/languagepicker/LanguagePicker.d.ts +648 -42
  7. package/internal-do-not-import-from-here/ux/oxide/btn/Button.css.d.ts +1 -1
  8. package/internal-do-not-import-from-here/ux/oxide/btn/Button.d.ts +17 -6
  9. package/internal-do-not-import-from-here/ux/oxide/expansionpanel/ExpansionPanels.css.d.ts +1 -0
  10. package/internal-do-not-import-from-here/ux/oxide/expansionpanel/ExpansionPanels.d.ts +5 -5
  11. package/internal-do-not-import-from-here/ux/oxide/hostprovider/HostProvider.d.ts +10 -10
  12. package/internal-do-not-import-from-here/ux/oxide/panel/Panel.css.d.ts +3 -3
  13. package/internal-do-not-import-from-here/ux/oxide/panel/Panel.d.ts +22 -0
  14. package/internal-do-not-import-from-here/ux/oxide/panel/docs/ShowHide.d.ts +91 -0
  15. package/internal-do-not-import-from-here/ux/oxide/toolbar/Toolbar.d.ts +5 -5
  16. package/internal-do-not-import-from-here/ux/properties/block/components/PropertySettings.css.d.ts +0 -0
  17. package/internal-do-not-import-from-here/ux/properties/block/components/PropertySettings.d.ts +426 -0
  18. package/internal-do-not-import-from-here/ux/properties/block/shared/PropertyBlockModels.d.ts +2 -5
  19. package/internal-do-not-import-from-here/ux/properties/property-renderer/PropertyValueRenderer.d.ts +45 -1
  20. package/internal-do-not-import-from-here/ux/typographypicker/TypographyPicker.d.ts +9 -9
  21. package/internal-do-not-import-from-here/ux/use/UseIcon.d.ts +3 -1
  22. package/internal-do-not-import-from-here/ux/velcron/components/propertieseditor/VelcronPropertiesEditor.d.ts +8 -8
  23. package/internal-do-not-import-from-here/ux/velcron/core/models/VelcronDefinitions.d.ts +3 -3
  24. package/internal-do-not-import-from-here/ux/velcron/core/models/VelcronPropertyEditorDefinitions.d.ts +10 -1
  25. package/internal-do-not-import-from-here/ux/velcron/core/parser/VelcronConstants.d.ts +7 -3
  26. package/internal-do-not-import-from-here/ux/velcron/core/templatebuilder/editor/VelcronEditorBuilder.d.ts +3 -0
  27. package/internal-do-not-import-from-here/ux/velcron/core/templatebuilder/editor/VelcronPropertyMappingEditorBuilder.d.ts +9 -0
  28. package/internal-do-not-import-from-here/ux/velcron/core/templatebuilder/state/VelcronPropertyMappingStateBuilder.d.ts +11 -0
  29. package/internal-do-not-import-from-here/ux/velcron/core/templatebuilder/state/VelcronStateBuilder.d.ts +3 -0
  30. package/internal-do-not-import-from-here/ux/velcron/renderer/propertyeditors/ImageEditor.d.ts +450 -0
  31. package/internal-do-not-import-from-here/ux/velcron/renderer/propertyeditors/TypographyEditor.d.ts +455 -0
  32. package/internal-do-not-import-from-here/wctypings.d.ts +14 -0
  33. package/package.json +2 -2
@@ -1,6 +1,6 @@
1
1
  declare const HostTypeDefinitions: readonly ["admin", "editor", "docs"];
2
2
  export type HostTypes = typeof HostTypeDefinitions[number];
3
- declare const ComponentHostTypeDefinitions: readonly ["dialog", "drawer", "expansion-panel", "blade", "app", "table", "appbar", "toolbar", "tab", "tab-vertical", "panel", "omfx"];
3
+ declare const ComponentHostTypeDefinitions: readonly ["dialog", "drawer", "expansion-panel", "blade", "app", "table", "appbar", "toolbar", "tab", "tab-vertical", "panel", "omfx", "menu"];
4
4
  export type ComponentHostTypes = typeof ComponentHostTypeDefinitions[number];
5
5
  declare const ComponentVariantDefinitions: readonly ["footer", "content", "navigation", "header", "settings", "info-section", "default", "section"];
6
6
  export type ComponentVariants = typeof ComponentVariantDefinitions[number];
@@ -14,7 +14,7 @@ export interface NewHostSettings {
14
14
  export declare const useCompontentHostStore: (newInstanceWithName?: string) => {
15
15
  state: {
16
16
  host: "admin" | "editor" | "docs";
17
- componentHost: "dialog" | "table" | "toolbar" | "tab" | "blade" | "app" | "drawer" | "expansion-panel" | "appbar" | "tab-vertical" | "panel" | "omfx";
17
+ componentHost: "dialog" | "menu" | "table" | "toolbar" | "tab" | "blade" | "app" | "drawer" | "expansion-panel" | "appbar" | "tab-vertical" | "panel" | "omfx";
18
18
  componentVariant: "section" | "navigation" | "default" | "footer" | "header" | "content" | "settings" | "info-section";
19
19
  appliedComponents: string[];
20
20
  force: boolean;
@@ -22,7 +22,7 @@ export declare const useCompontentHostStore: (newInstanceWithName?: string) => {
22
22
  get: {
23
23
  canApplyOn: (hostType: ComponentHostTypes | HostTypes, variant?: any) => boolean;
24
24
  readonly host: "admin" | "editor" | "docs";
25
- readonly componentHost: "dialog" | "table" | "toolbar" | "tab" | "blade" | "app" | "drawer" | "expansion-panel" | "appbar" | "tab-vertical" | "panel" | "omfx";
25
+ readonly componentHost: "dialog" | "menu" | "table" | "toolbar" | "tab" | "blade" | "app" | "drawer" | "expansion-panel" | "appbar" | "tab-vertical" | "panel" | "omfx";
26
26
  readonly componentVariant: "section" | "navigation" | "default" | "footer" | "header" | "content" | "settings" | "info-section";
27
27
  readonly force: boolean;
28
28
  appliedComponents(host: string): boolean;
@@ -38,8 +38,8 @@ export declare const useCompontentHostStore: (newInstanceWithName?: string) => {
38
38
  events: {
39
39
  onMutatingHost: import("@omnia/fx").EventHook<"admin" | "editor" | "docs">;
40
40
  onMutatedHost: import("@omnia/fx").EventHook<"admin" | "editor" | "docs">;
41
- onMutatingComponentHost: import("@omnia/fx").EventHook<"dialog" | "table" | "toolbar" | "tab" | "blade" | "app" | "drawer" | "expansion-panel" | "appbar" | "tab-vertical" | "panel" | "omfx">;
42
- onMutatedComponentHost: import("@omnia/fx").EventHook<"dialog" | "table" | "toolbar" | "tab" | "blade" | "app" | "drawer" | "expansion-panel" | "appbar" | "tab-vertical" | "panel" | "omfx">;
41
+ onMutatingComponentHost: import("@omnia/fx").EventHook<"dialog" | "menu" | "table" | "toolbar" | "tab" | "blade" | "app" | "drawer" | "expansion-panel" | "appbar" | "tab-vertical" | "panel" | "omfx">;
42
+ onMutatedComponentHost: import("@omnia/fx").EventHook<"dialog" | "menu" | "table" | "toolbar" | "tab" | "blade" | "app" | "drawer" | "expansion-panel" | "appbar" | "tab-vertical" | "panel" | "omfx">;
43
43
  onMutatingComponentVariant: import("@omnia/fx").EventHook<"section" | "navigation" | "default" | "footer" | "header" | "content" | "settings" | "info-section">;
44
44
  onMutatedComponentVariant: import("@omnia/fx").EventHook<"section" | "navigation" | "default" | "footer" | "header" | "content" | "settings" | "info-section">;
45
45
  onMutatingAppliedComponents: import("@omnia/fx").EventHook<string[]>;
@@ -1,4 +1,4 @@
1
- import { VNode, VNodeProps, HTMLAttributes, VNodeArrayChildren, Events } from "vue";
1
+ import { VNode, VNodeProps, HTMLAttributes, VNodeArrayChildren, Events, VNodeRef } from "vue";
2
2
  import { Vue } from "./decorators";
3
3
  import { ConfirmDialogResponse, ConfirmDialogOptions } from "./confirmdialog/IVueConfirmDialog";
4
4
  import { ITheming } from "./theming";
@@ -125,7 +125,7 @@ export type VueComponentBaseProps = Pick<HTMLAttributes, "id" | "class" | "style
125
125
  color?: string;
126
126
  key?: string | number | symbol | GuidValue;
127
127
  $children?: any;
128
- ref?: string;
128
+ ref?: VNodeRef | string;
129
129
  slot?: string;
130
130
  };
131
131
  export interface VueComponentBaseEvents {
@@ -169,7 +169,7 @@ export declare const VueComponentConnect: {
169
169
  class?: unknown;
170
170
  key?: string | number | symbol;
171
171
  readonly content?: () => JSX.Element;
172
- ref?: import("vue").VNodeRef;
172
+ ref?: VNodeRef;
173
173
  ref_for?: boolean;
174
174
  ref_key?: string;
175
175
  onVnodeBeforeMount?: ((vnode: VNode<import("vue").RendererNode, import("vue").RendererElement, {
@@ -4,5 +4,8 @@ export type FilterSizes = typeof FilterSizeDefinitions[number];
4
4
  export declare const FilterSizesName = "FilterSizes";
5
5
  export declare const FilterPickerStyles: {
6
6
  lastItem: string;
7
+ actionIcon: (size: FilterSizes) => string;
8
+ sortButton: string;
9
+ icon: (size: FilterSizes) => string;
7
10
  wrapper: (base: ColorDefinition, onBase: ColorDefinition, selected: boolean, size: FilterSizes, grow: boolean) => string;
8
11
  };
@@ -1,7 +1,5 @@
1
- export interface FilterPickerValue {
2
- text: string;
3
- id: any;
4
- }
1
+ import { VNodeChild } from "vue";
2
+ import { FilterPickerFilter } from "@omnia/fx-models";
5
3
  declare const _default: {
6
4
  new (...args: any[]): {
7
5
  $: import("vue").ComponentInternalInstance;
@@ -15,7 +13,7 @@ declare const _default: {
15
13
  style?: unknown;
16
14
  class?: String | String[];
17
15
  key?: string | number | symbol;
18
- readonly filters: FilterPickerValue[];
16
+ readonly filters: FilterPickerFilter[];
19
17
  readonly size?: "small" | "default" | "x-small";
20
18
  ref?: import("vue").VNodeRef;
21
19
  ref_for?: boolean;
@@ -58,11 +56,19 @@ declare const _default: {
58
56
  }>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
59
57
  [key: string]: any;
60
58
  }>) => void)[];
61
- readonly modelValue?: FilterPickerValue[];
62
- "onUpdate:modelValue"?: ((value: FilterPickerValue[]) => any) & ((value: FilterPickerValue[]) => any);
63
- readonly "v-model"?: FilterPickerValue[];
59
+ readonly "v-slots"?: {
60
+ default?: import("../DefineVueTypings").Slot<any[]>;
61
+ } & {
62
+ itemRendering?: (element: VNodeChild, item: FilterPickerFilter) => VNodeChild;
63
+ };
64
+ readonly modelValue?: FilterPickerFilter[];
65
+ "onUpdate:modelValue"?: ((value: FilterPickerFilter[]) => any) & ((value: FilterPickerFilter[]) => any);
66
+ readonly "v-model"?: FilterPickerFilter[];
64
67
  readonly grow?: boolean;
68
+ readonly sortable?: boolean;
65
69
  readonly singleSelect?: "small" | "default" | "x-small";
70
+ "onItem:removed"?: (value: FilterPickerFilter) => any;
71
+ "onItem:sorted"?: (value: FilterPickerFilter[]) => any;
66
72
  };
67
73
  $attrs: {
68
74
  [x: string]: unknown;
@@ -75,9 +81,17 @@ declare const _default: {
75
81
  }>;
76
82
  $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>;
77
83
  $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>;
78
- $emit: (event: "update:modelValue", value: FilterPickerValue[]) => void;
84
+ $emit: ((event: "update:modelValue", value: FilterPickerFilter[]) => void) & ((event: "item:removed", value: FilterPickerFilter) => void) & ((event: "item:sorted", value: FilterPickerFilter[]) => void);
79
85
  $el: any;
80
86
  $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
87
+ "v-slots": import("vue").Prop<{
88
+ default?: import("../DefineVueTypings").Slot<any[]>;
89
+ } & {
90
+ itemRendering?: (element: VNodeChild, item: FilterPickerFilter) => VNodeChild;
91
+ }>;
92
+ sortable: {
93
+ type: import("vue").PropType<boolean>;
94
+ };
81
95
  grow: {
82
96
  type: import("vue").PropType<boolean>;
83
97
  };
@@ -88,18 +102,18 @@ declare const _default: {
88
102
  type: import("vue").PropType<"small" | "default" | "x-small">;
89
103
  };
90
104
  filters: {
91
- type: import("vue").PropType<FilterPickerValue[]>;
105
+ type: import("vue").PropType<FilterPickerFilter[]>;
92
106
  required: true;
93
107
  };
94
108
  "onUpdate:modelValue": {
95
- type: import("vue").PropType<(value: FilterPickerValue[]) => any>;
109
+ type: import("vue").PropType<(value: FilterPickerFilter[]) => any>;
96
110
  };
97
111
  "v-model": {
98
- type: import("vue").PropType<FilterPickerValue[]>;
112
+ type: import("vue").PropType<FilterPickerFilter[]>;
99
113
  required: false;
100
114
  };
101
115
  modelValue: {
102
- type: import("vue").PropType<FilterPickerValue[]>;
116
+ type: import("vue").PropType<FilterPickerFilter[]>;
103
117
  required: false;
104
118
  };
105
119
  class: {
@@ -112,9 +126,13 @@ declare const _default: {
112
126
  blueprintType?: any;
113
127
  blueprint?: any;
114
128
  }>> & {
115
- "onUpdate:modelValue"?: (value: FilterPickerValue[]) => any;
129
+ "onUpdate:modelValue"?: (value: FilterPickerFilter[]) => any;
130
+ "onItem:removed"?: (value: FilterPickerFilter) => any;
131
+ "onItem:sorted"?: (value: FilterPickerFilter[]) => any;
116
132
  }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
117
- "update:modelValue": (value: FilterPickerValue[]) => any;
133
+ "update:modelValue": (value: FilterPickerFilter[]) => any;
134
+ "item:removed": (value: FilterPickerFilter) => any;
135
+ "item:sorted": (value: FilterPickerFilter[]) => any;
118
136
  }, string, {
119
137
  container?: any;
120
138
  blueprint?: any;
@@ -142,6 +160,14 @@ declare const _default: {
142
160
  $nextTick: typeof import("vue").nextTick;
143
161
  $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;
144
162
  } & Readonly<import("vue").ExtractPropTypes<{
163
+ "v-slots": import("vue").Prop<{
164
+ default?: import("../DefineVueTypings").Slot<any[]>;
165
+ } & {
166
+ itemRendering?: (element: VNodeChild, item: FilterPickerFilter) => VNodeChild;
167
+ }>;
168
+ sortable: {
169
+ type: import("vue").PropType<boolean>;
170
+ };
145
171
  grow: {
146
172
  type: import("vue").PropType<boolean>;
147
173
  };
@@ -152,18 +178,18 @@ declare const _default: {
152
178
  type: import("vue").PropType<"small" | "default" | "x-small">;
153
179
  };
154
180
  filters: {
155
- type: import("vue").PropType<FilterPickerValue[]>;
181
+ type: import("vue").PropType<FilterPickerFilter[]>;
156
182
  required: true;
157
183
  };
158
184
  "onUpdate:modelValue": {
159
- type: import("vue").PropType<(value: FilterPickerValue[]) => any>;
185
+ type: import("vue").PropType<(value: FilterPickerFilter[]) => any>;
160
186
  };
161
187
  "v-model": {
162
- type: import("vue").PropType<FilterPickerValue[]>;
188
+ type: import("vue").PropType<FilterPickerFilter[]>;
163
189
  required: false;
164
190
  };
165
191
  modelValue: {
166
- type: import("vue").PropType<FilterPickerValue[]>;
192
+ type: import("vue").PropType<FilterPickerFilter[]>;
167
193
  required: false;
168
194
  };
169
195
  class: {
@@ -176,12 +202,22 @@ declare const _default: {
176
202
  blueprintType?: any;
177
203
  blueprint?: any;
178
204
  }>> & {
179
- "onUpdate:modelValue"?: (value: FilterPickerValue[]) => any;
205
+ "onUpdate:modelValue"?: (value: FilterPickerFilter[]) => any;
206
+ "onItem:removed"?: (value: FilterPickerFilter) => any;
207
+ "onItem:sorted"?: (value: FilterPickerFilter[]) => any;
180
208
  } & import("vue").ShallowUnwrapRef<() => JSX.Element> & {} & import("vue").ComponentCustomProperties & {};
181
209
  __isFragment?: never;
182
210
  __isTeleport?: never;
183
211
  __isSuspense?: never;
184
212
  } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
213
+ "v-slots": import("vue").Prop<{
214
+ default?: import("../DefineVueTypings").Slot<any[]>;
215
+ } & {
216
+ itemRendering?: (element: VNodeChild, item: FilterPickerFilter) => VNodeChild;
217
+ }>;
218
+ sortable: {
219
+ type: import("vue").PropType<boolean>;
220
+ };
185
221
  grow: {
186
222
  type: import("vue").PropType<boolean>;
187
223
  };
@@ -192,18 +228,18 @@ declare const _default: {
192
228
  type: import("vue").PropType<"small" | "default" | "x-small">;
193
229
  };
194
230
  filters: {
195
- type: import("vue").PropType<FilterPickerValue[]>;
231
+ type: import("vue").PropType<FilterPickerFilter[]>;
196
232
  required: true;
197
233
  };
198
234
  "onUpdate:modelValue": {
199
- type: import("vue").PropType<(value: FilterPickerValue[]) => any>;
235
+ type: import("vue").PropType<(value: FilterPickerFilter[]) => any>;
200
236
  };
201
237
  "v-model": {
202
- type: import("vue").PropType<FilterPickerValue[]>;
238
+ type: import("vue").PropType<FilterPickerFilter[]>;
203
239
  required: false;
204
240
  };
205
241
  modelValue: {
206
- type: import("vue").PropType<FilterPickerValue[]>;
242
+ type: import("vue").PropType<FilterPickerFilter[]>;
207
243
  required: false;
208
244
  };
209
245
  class: {
@@ -216,9 +252,13 @@ declare const _default: {
216
252
  blueprintType?: any;
217
253
  blueprint?: any;
218
254
  }>> & {
219
- "onUpdate:modelValue"?: (value: FilterPickerValue[]) => any;
255
+ "onUpdate:modelValue"?: (value: FilterPickerFilter[]) => any;
256
+ "onItem:removed"?: (value: FilterPickerFilter) => any;
257
+ "onItem:sorted"?: (value: FilterPickerFilter[]) => any;
220
258
  }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
221
- "update:modelValue": (value: FilterPickerValue[]) => any;
259
+ "update:modelValue": (value: FilterPickerFilter[]) => any;
260
+ "item:removed": (value: FilterPickerFilter) => any;
261
+ "item:sorted": (value: FilterPickerFilter[]) => any;
222
262
  }, string, {
223
263
  container?: any;
224
264
  blueprint?: any;
@@ -228,7 +268,7 @@ declare const _default: {
228
268
  }, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
229
269
  propsDefinition: Omit<Readonly<{
230
270
  container?: any;
231
- filters: FilterPickerValue[];
271
+ filters: FilterPickerFilter[];
232
272
  blueprint?: any;
233
273
  colorSchemaType?: any;
234
274
  blueprintType?: any;
@@ -236,13 +276,21 @@ declare const _default: {
236
276
  } & {
237
277
  class?: String | String[];
238
278
  size?: "small" | "default" | "x-small";
239
- modelValue?: FilterPickerValue[];
240
- "onUpdate:modelValue"?: (value: FilterPickerValue[]) => any;
241
- "v-model"?: FilterPickerValue[];
279
+ "v-slots"?: {
280
+ default?: import("../DefineVueTypings").Slot<any[]>;
281
+ } & {
282
+ itemRendering?: (element: VNodeChild, item: FilterPickerFilter) => VNodeChild;
283
+ };
284
+ modelValue?: FilterPickerFilter[];
285
+ "onUpdate:modelValue"?: (value: FilterPickerFilter[]) => any;
286
+ "v-model"?: FilterPickerFilter[];
242
287
  grow?: boolean;
288
+ sortable?: boolean;
243
289
  singleSelect?: "small" | "default" | "x-small";
244
- }>, "onUpdate:modelValue"> & {
245
- "onUpdate:modelValue"?: (value: FilterPickerValue[]) => any;
290
+ }>, "onUpdate:modelValue" | "onItem:removed" | "onItem:sorted"> & {
291
+ "onUpdate:modelValue"?: (value: FilterPickerFilter[]) => any;
292
+ "onItem:removed"?: (value: FilterPickerFilter) => any;
293
+ "onItem:sorted"?: (value: FilterPickerFilter[]) => any;
246
294
  };
247
295
  };
248
296
  export default _default;
@@ -1,4 +1,4 @@
1
- import { TsxAllowUnknowProperties, ScopedSlots, LanguagePickerStyles } from "..";
1
+ import { ScopedSlots, LanguagePickerStyles } from "..";
2
2
  import { IVSelectScopedSlots } from "../vuetify";
3
3
  import { Language } from "../../models";
4
4
  /**Language Picker*/
@@ -31,16 +31,3 @@ export interface ILanguagePicker {
31
31
  /**On load language */
32
32
  loadLanguage?: () => Promise<Array<Language>>;
33
33
  }
34
- declare global {
35
- namespace JSX {
36
- interface Element {
37
- }
38
- interface ElementClass {
39
- }
40
- interface ElementAttributesProperty {
41
- }
42
- interface IntrinsicElements {
43
- "omfx-language-picker": TsxAllowUnknowProperties<ILanguagePicker>;
44
- }
45
- }
46
- }