@omnia/fx 8.0.384-dev → 8.0.385-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.
@@ -1,5 +1,5 @@
1
1
  import { defineFactory, MessageBusExposeOnlySubscription, SetupFactoryContext } from "../core";
2
- import { IMessageBusSubscriptionHandler, IMessageBusTopicPublishSubscriber } from "@omnia/fx-models";
2
+ import { IMessageBusSubscriptionHandler, IMessageBusTopicPublishSubscriber, InstanceLifetimes } from "@omnia/fx-models";
3
3
  type MutateFn<T> = (value: T | ((prev: T) => T)) => void;
4
4
  export type StoreEvents<TState extends object, TEvents extends Record<string, IMessageBusTopicPublishSubscriber<any>> = {}> = {
5
5
  [K in keyof TState as `onMutated${Capitalize<string & K>}`]: MessageBusExposeOnlySubscription<TState[K]>;
@@ -49,20 +49,20 @@ export interface IReturnSetupStore<TState, TGetters, TActions extends {
49
49
  }
50
50
  export declare function defineStore<TState extends object, TGetters extends object, TActions extends {
51
51
  [key: string]: any;
52
- }, TEvents extends Record<string, MessageBusExposeOnlySubscription<any>>, InferReturnSetup extends IReturnSetupStore<TState, TGetters, TActions, TEvents>>(name: string, setup: (ctx: SetupStoreContext) => InferReturnSetup): ReturnType<typeof defineFactory<InferReturnSetup>>;
52
+ }, TEvents extends Record<string, MessageBusExposeOnlySubscription<any>>, InferReturnSetup extends IReturnSetupStore<TState, TGetters, TActions, TEvents>>(name: string, setup: (ctx: SetupStoreContext) => InferReturnSetup, lifetime?: InstanceLifetimes): ReturnType<typeof defineFactory<InferReturnSetup>>;
53
53
  export declare function defineStore<TState extends object, TGetters extends object, TActions extends {
54
54
  [key: string]: any;
55
- }, TEvents extends Record<string, MessageBusExposeOnlySubscription<any>>, InferReturnSetup extends IReturnSetupStore<TState, TGetters, TActions, TEvents>, T1>(name: string, setup: (ctx: SetupStoreContext, param1: T1) => InferReturnSetup): ReturnType<typeof defineFactory<InferReturnSetup, T1>>;
55
+ }, TEvents extends Record<string, MessageBusExposeOnlySubscription<any>>, InferReturnSetup extends IReturnSetupStore<TState, TGetters, TActions, TEvents>, T1>(name: string, setup: (ctx: SetupStoreContext, param1: T1) => InferReturnSetup, lifetime?: InstanceLifetimes): ReturnType<typeof defineFactory<InferReturnSetup, T1>>;
56
56
  export declare function defineStore<TState extends object, TGetters extends object, TActions extends {
57
57
  [key: string]: any;
58
- }, TEvents extends Record<string, MessageBusExposeOnlySubscription<any>>, InferReturnSetup extends IReturnSetupStore<TState, TGetters, TActions, TEvents>, T1, T2>(name: string, setup: (ctx: SetupStoreContext, param1: T1, param2: T2) => InferReturnSetup): ReturnType<typeof defineFactory<InferReturnSetup, T1, T2>>;
58
+ }, TEvents extends Record<string, MessageBusExposeOnlySubscription<any>>, InferReturnSetup extends IReturnSetupStore<TState, TGetters, TActions, TEvents>, T1, T2>(name: string, setup: (ctx: SetupStoreContext, param1: T1, param2: T2) => InferReturnSetup, lifetime?: InstanceLifetimes): ReturnType<typeof defineFactory<InferReturnSetup, T1, T2>>;
59
59
  export declare function defineStore<TState extends object, TGetters extends object, TActions extends {
60
60
  [key: string]: any;
61
- }, TEvents extends Record<string, MessageBusExposeOnlySubscription<any>>, InferReturnSetup extends IReturnSetupStore<TState, TGetters, TActions, TEvents>, T1, T2, T3>(name: string, setup: (ctx: SetupStoreContext, param1: T1, param2: T2, param3: T3) => InferReturnSetup): ReturnType<typeof defineFactory<InferReturnSetup, T1, T2, T3>>;
61
+ }, TEvents extends Record<string, MessageBusExposeOnlySubscription<any>>, InferReturnSetup extends IReturnSetupStore<TState, TGetters, TActions, TEvents>, T1, T2, T3>(name: string, setup: (ctx: SetupStoreContext, param1: T1, param2: T2, param3: T3, lifetime?: InstanceLifetimes) => InferReturnSetup): ReturnType<typeof defineFactory<InferReturnSetup, T1, T2, T3>>;
62
62
  export declare function defineStore<TState extends object, TGetters extends object, TActions extends {
63
63
  [key: string]: any;
64
- }, TEvents extends Record<string, MessageBusExposeOnlySubscription<any>>, InferReturnSetup extends IReturnSetupStore<TState, TGetters, TActions, TEvents>, T1, T2, T3, T4>(name: string, setup: (ctx: SetupStoreContext, param1: T1, param2: T2, param3: T3, param4: T4) => InferReturnSetup): ReturnType<typeof defineFactory<InferReturnSetup, T1, T2, T3, T4>>;
64
+ }, TEvents extends Record<string, MessageBusExposeOnlySubscription<any>>, InferReturnSetup extends IReturnSetupStore<TState, TGetters, TActions, TEvents>, T1, T2, T3, T4>(name: string, setup: (ctx: SetupStoreContext, param1: T1, param2: T2, param3: T3, param4: T4, lifetime?: InstanceLifetimes) => InferReturnSetup): ReturnType<typeof defineFactory<InferReturnSetup, T1, T2, T3, T4>>;
65
65
  export declare function defineStore<TState extends object, TGetters extends object, TActions extends {
66
66
  [key: string]: any;
67
- }, TEvents extends Record<string, MessageBusExposeOnlySubscription<any>>, InferReturnSetup extends IReturnSetupStore<TState, TGetters, TActions, TEvents>, T1, T2, T3, T4, T5>(name: string, setup: (ctx: SetupStoreContext, param1: T1, param2: T2, param3: T3, param4: T4, param5: T5) => InferReturnSetup): ReturnType<typeof defineFactory<InferReturnSetup, T1, T2, T3, T4, T5>>;
67
+ }, TEvents extends Record<string, MessageBusExposeOnlySubscription<any>>, InferReturnSetup extends IReturnSetupStore<TState, TGetters, TActions, TEvents>, T1, T2, T3, T4, T5>(name: string, setup: (ctx: SetupStoreContext, param1: T1, param2: T2, param3: T3, param4: T4, param5: T5) => InferReturnSetup, lifetime?: InstanceLifetimes): ReturnType<typeof defineFactory<InferReturnSetup, T1, T2, T3, T4, T5>>;
68
68
  export {};
@@ -646,6 +646,7 @@ export interface OmniaUxLocalization {
646
646
  ShowTitle: string;
647
647
  };
648
648
  OmniaAdmin: {
649
+ Title: string;
649
650
  Close: string;
650
651
  Administration: string;
651
652
  };
@@ -1,5 +1,5 @@
1
1
  import { AffixDefinition, EnterprisePropertyDefinition, guid } from "@omnia/fx-models";
2
- import { IDataTableRowRenderer } from "@omnia/fx/ux";
2
+ import { IDataTableRow } from "@omnia/fx/ux";
3
3
  export interface AffixRowConfigurationData {
4
4
  availablePropertyTitleAsDict: {
5
5
  [internalName: string]: EnterprisePropertyDefinition;
@@ -36,12 +36,12 @@ export interface AffixRowProps {
36
36
  data: AffixRowConfigurationData;
37
37
  editingAffix: EditAffixDefinition;
38
38
  isPrefix: boolean;
39
- row: IDataTableRowRenderer<AffixDefinition>;
39
+ row: IDataTableRow<AffixDefinition>;
40
40
  onSaveAll: () => void;
41
41
  onDelete: (affix: AffixDefinition) => void;
42
42
  }
43
43
  export declare function useAffixRow(props: AffixRowProps): {
44
- renderEditAffix: () => IDataTableRowRenderer<AffixDefinition>;
45
- renderAffix: () => IDataTableRowRenderer<AffixDefinition>;
44
+ renderEditAffix: () => import("vue/jsx-runtime").JSX.Element;
45
+ renderAffix: () => import("vue/jsx-runtime").JSX.Element;
46
46
  };
47
47
  export {};
@@ -40,7 +40,7 @@ declare const _default: {
40
40
  type: import("vue").PropType<boolean>;
41
41
  };
42
42
  variant: {
43
- type: import("vue").PropType<"dropdown" | "journey">;
43
+ type: import("vue").PropType<"dropdown" | "journey" | "virtual-list">;
44
44
  };
45
45
  "onUpdate:modelValue": {
46
46
  type: import("vue").PropType<(value: ColorValue) => any | void>;
@@ -171,7 +171,7 @@ declare const _default: {
171
171
  type: import("vue").PropType<boolean>;
172
172
  };
173
173
  variant: {
174
- type: import("vue").PropType<"dropdown" | "journey">;
174
+ type: import("vue").PropType<"dropdown" | "journey" | "virtual-list">;
175
175
  };
176
176
  "onUpdate:modelValue": {
177
177
  type: import("vue").PropType<(value: ColorValue) => any | void>;
@@ -297,7 +297,7 @@ declare const _default: {
297
297
  type: import("vue").PropType<boolean>;
298
298
  };
299
299
  variant: {
300
- type: import("vue").PropType<"dropdown" | "journey">;
300
+ type: import("vue").PropType<"dropdown" | "journey" | "virtual-list">;
301
301
  };
302
302
  "onUpdate:modelValue": {
303
303
  type: import("vue").PropType<(value: ColorValue) => any | void>;
@@ -449,7 +449,7 @@ declare const _default: {
449
449
  };
450
450
  container?: boolean;
451
451
  opacity?: boolean;
452
- variant?: "dropdown" | "journey";
452
+ variant?: "dropdown" | "journey" | "virtual-list";
453
453
  label?: string;
454
454
  disabled?: boolean;
455
455
  colorSchemaType?: "background" | "primary" | "secondary" | "accent1" | "accent2" | "accent3" | "accent4" | "accent5" | "accent6" | "accent7" | "accent8" | "accent9" | "neutral" | "warning" | "notification" | "error" | "info" | "success" | "dynamic" | import("@omnia/fx-models").ColorSchemaTypes;
@@ -0,0 +1,475 @@
1
+ import { ColorSchemaType, ColorValue, ThemeContextType } from "@omnia/fx-models";
2
+ import { VNodeChild } from "vue";
3
+ export type ColorPickerType = "default" | "base" | "onBase";
4
+ declare const _default: {
5
+ new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
6
+ "v-slots": import("vue").Prop<{
7
+ default?: import("../../../DefineVueTypings").Slot;
8
+ } & {
9
+ activator?: () => VNodeChild;
10
+ }>;
11
+ disabled: {
12
+ type: import("vue").PropType<boolean>;
13
+ required: false;
14
+ };
15
+ themeType: {
16
+ type: import("vue").PropType<ThemeContextType>;
17
+ };
18
+ label: {
19
+ type: import("vue").PropType<string>;
20
+ };
21
+ switchableColorSchema: {
22
+ type: import("vue").PropType<boolean>;
23
+ };
24
+ opacity: {
25
+ type: import("vue").PropType<boolean>;
26
+ };
27
+ customColor: {
28
+ type: import("vue").PropType<boolean>;
29
+ };
30
+ enableDynamicColor: {
31
+ type: import("vue").PropType<boolean>;
32
+ };
33
+ defaultColorSchemaType: {
34
+ type: import("vue").PropType<"background" | "primary" | "secondary" | "accent1" | "accent2" | "accent3" | "accent4" | "accent5" | "accent6" | "accent7" | "accent8" | "accent9" | "neutral" | "warning" | "notification" | "error" | "info" | "success" | "dynamic">;
35
+ };
36
+ type: {
37
+ type: import("vue").PropType<ColorPickerType>;
38
+ };
39
+ toned: {
40
+ type: import("vue").PropType<boolean>;
41
+ };
42
+ variant: {
43
+ type: import("vue").PropType<"dropdown" | "journey">;
44
+ };
45
+ "onUpdate:modelValue": {
46
+ type: import("vue").PropType<(value: ColorValue) => any | void>;
47
+ };
48
+ "v-model": {
49
+ type: import("vue").PropType<ColorValue>;
50
+ required: false;
51
+ };
52
+ modelValue: {
53
+ type: import("vue").PropType<ColorValue>;
54
+ required: false;
55
+ };
56
+ name: <TName extends string>(n?: TName) => { [key in import("../../../DefineVueTypings").VModelEmitsInJsxElement<TName>]: {
57
+ type: import("vue").PropType<(value: ColorValue) => any | void>;
58
+ }; } & { [key_1 in import("../../../DefineVueTypings").VModelKeyNameInJsxElement<TName>]: {
59
+ type: import("vue").PropType<ColorValue>;
60
+ required: false;
61
+ }; } & { [key_2 in import("../../../DefineVueTypings").VModelKeyNameInProps<TName>]: {
62
+ type: import("vue").PropType<ColorValue>;
63
+ required: false;
64
+ }; } & {
65
+ require(): import("../../../DefineVueTypings").DefinePropModelRequire<TName, ColorValue, {
66
+ "onUpdate:modelValue": {
67
+ type: import("vue").PropType<(value: ColorValue) => any | void>;
68
+ };
69
+ } & {
70
+ "v-model": {
71
+ type: import("vue").PropType<ColorValue>;
72
+ required: false;
73
+ };
74
+ } & {
75
+ modelValue: {
76
+ type: import("vue").PropType<ColorValue>;
77
+ required: false;
78
+ };
79
+ }>;
80
+ defaultValue(value?: ColorValue): import("../../../DefineVueTypings").DefinePropModelDefaultValue<TName, ColorValue, {
81
+ "onUpdate:modelValue": {
82
+ type: import("vue").PropType<(value: ColorValue) => any | void>;
83
+ };
84
+ } & {
85
+ "v-model": {
86
+ type: import("vue").PropType<ColorValue>;
87
+ required: false;
88
+ };
89
+ } & {
90
+ modelValue: {
91
+ type: import("vue").PropType<ColorValue>;
92
+ required: false;
93
+ };
94
+ }, false>;
95
+ doc$(description?: string): import("../../../DefineVueTypings").DefinePropModelDoc<TName, ColorValue, {
96
+ "onUpdate:modelValue": {
97
+ type: import("vue").PropType<(value: ColorValue) => any | void>;
98
+ };
99
+ } & {
100
+ "v-model": {
101
+ type: import("vue").PropType<ColorValue>;
102
+ required: false;
103
+ };
104
+ } & {
105
+ modelValue: {
106
+ type: import("vue").PropType<ColorValue>;
107
+ required: false;
108
+ };
109
+ }>;
110
+ };
111
+ colorSchemaType: {
112
+ type: import("vue").PropType<import("@omnia/fx-models").ColorSchemaTypes | ColorSchemaType>;
113
+ required: boolean;
114
+ };
115
+ container: {
116
+ type: BooleanConstructor;
117
+ required: boolean;
118
+ };
119
+ colors: {
120
+ type: import("vue").PropType<import("@omnia/fx/ux").ColorSchemaStoreType>;
121
+ required: boolean;
122
+ };
123
+ }>> & {
124
+ "onUpdate:modelValue"?: (value: ColorValue) => any;
125
+ }, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
126
+ "update:modelValue": (value: ColorValue) => any;
127
+ }, import("vue").PublicProps, {
128
+ container: boolean;
129
+ }, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
130
+ P: {};
131
+ B: {};
132
+ D: {};
133
+ C: {};
134
+ M: {};
135
+ Defaults: {};
136
+ }, Readonly<import("vue").ExtractPropTypes<{
137
+ "v-slots": import("vue").Prop<{
138
+ default?: import("../../../DefineVueTypings").Slot;
139
+ } & {
140
+ activator?: () => VNodeChild;
141
+ }>;
142
+ disabled: {
143
+ type: import("vue").PropType<boolean>;
144
+ required: false;
145
+ };
146
+ themeType: {
147
+ type: import("vue").PropType<ThemeContextType>;
148
+ };
149
+ label: {
150
+ type: import("vue").PropType<string>;
151
+ };
152
+ switchableColorSchema: {
153
+ type: import("vue").PropType<boolean>;
154
+ };
155
+ opacity: {
156
+ type: import("vue").PropType<boolean>;
157
+ };
158
+ customColor: {
159
+ type: import("vue").PropType<boolean>;
160
+ };
161
+ enableDynamicColor: {
162
+ type: import("vue").PropType<boolean>;
163
+ };
164
+ defaultColorSchemaType: {
165
+ type: import("vue").PropType<"background" | "primary" | "secondary" | "accent1" | "accent2" | "accent3" | "accent4" | "accent5" | "accent6" | "accent7" | "accent8" | "accent9" | "neutral" | "warning" | "notification" | "error" | "info" | "success" | "dynamic">;
166
+ };
167
+ type: {
168
+ type: import("vue").PropType<ColorPickerType>;
169
+ };
170
+ toned: {
171
+ type: import("vue").PropType<boolean>;
172
+ };
173
+ variant: {
174
+ type: import("vue").PropType<"dropdown" | "journey">;
175
+ };
176
+ "onUpdate:modelValue": {
177
+ type: import("vue").PropType<(value: ColorValue) => any | void>;
178
+ };
179
+ "v-model": {
180
+ type: import("vue").PropType<ColorValue>;
181
+ required: false;
182
+ };
183
+ modelValue: {
184
+ type: import("vue").PropType<ColorValue>;
185
+ required: false;
186
+ };
187
+ name: <TName extends string>(n?: TName) => { [key in import("../../../DefineVueTypings").VModelEmitsInJsxElement<TName>]: {
188
+ type: import("vue").PropType<(value: ColorValue) => any | void>;
189
+ }; } & { [key_1 in import("../../../DefineVueTypings").VModelKeyNameInJsxElement<TName>]: {
190
+ type: import("vue").PropType<ColorValue>;
191
+ required: false;
192
+ }; } & { [key_2 in import("../../../DefineVueTypings").VModelKeyNameInProps<TName>]: {
193
+ type: import("vue").PropType<ColorValue>;
194
+ required: false;
195
+ }; } & {
196
+ require(): import("../../../DefineVueTypings").DefinePropModelRequire<TName, ColorValue, {
197
+ "onUpdate:modelValue": {
198
+ type: import("vue").PropType<(value: ColorValue) => any | void>;
199
+ };
200
+ } & {
201
+ "v-model": {
202
+ type: import("vue").PropType<ColorValue>;
203
+ required: false;
204
+ };
205
+ } & {
206
+ modelValue: {
207
+ type: import("vue").PropType<ColorValue>;
208
+ required: false;
209
+ };
210
+ }>;
211
+ defaultValue(value?: ColorValue): import("../../../DefineVueTypings").DefinePropModelDefaultValue<TName, ColorValue, {
212
+ "onUpdate:modelValue": {
213
+ type: import("vue").PropType<(value: ColorValue) => any | void>;
214
+ };
215
+ } & {
216
+ "v-model": {
217
+ type: import("vue").PropType<ColorValue>;
218
+ required: false;
219
+ };
220
+ } & {
221
+ modelValue: {
222
+ type: import("vue").PropType<ColorValue>;
223
+ required: false;
224
+ };
225
+ }, false>;
226
+ doc$(description?: string): import("../../../DefineVueTypings").DefinePropModelDoc<TName, ColorValue, {
227
+ "onUpdate:modelValue": {
228
+ type: import("vue").PropType<(value: ColorValue) => any | void>;
229
+ };
230
+ } & {
231
+ "v-model": {
232
+ type: import("vue").PropType<ColorValue>;
233
+ required: false;
234
+ };
235
+ } & {
236
+ modelValue: {
237
+ type: import("vue").PropType<ColorValue>;
238
+ required: false;
239
+ };
240
+ }>;
241
+ };
242
+ colorSchemaType: {
243
+ type: import("vue").PropType<import("@omnia/fx-models").ColorSchemaTypes | ColorSchemaType>;
244
+ required: boolean;
245
+ };
246
+ container: {
247
+ type: BooleanConstructor;
248
+ required: boolean;
249
+ };
250
+ colors: {
251
+ type: import("vue").PropType<import("@omnia/fx/ux").ColorSchemaStoreType>;
252
+ required: boolean;
253
+ };
254
+ }>> & {
255
+ "onUpdate:modelValue"?: (value: ColorValue) => any;
256
+ }, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, {
257
+ container: boolean;
258
+ }>;
259
+ __isFragment?: never;
260
+ __isTeleport?: never;
261
+ __isSuspense?: never;
262
+ } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
263
+ "v-slots": import("vue").Prop<{
264
+ default?: import("../../../DefineVueTypings").Slot;
265
+ } & {
266
+ activator?: () => VNodeChild;
267
+ }>;
268
+ disabled: {
269
+ type: import("vue").PropType<boolean>;
270
+ required: false;
271
+ };
272
+ themeType: {
273
+ type: import("vue").PropType<ThemeContextType>;
274
+ };
275
+ label: {
276
+ type: import("vue").PropType<string>;
277
+ };
278
+ switchableColorSchema: {
279
+ type: import("vue").PropType<boolean>;
280
+ };
281
+ opacity: {
282
+ type: import("vue").PropType<boolean>;
283
+ };
284
+ customColor: {
285
+ type: import("vue").PropType<boolean>;
286
+ };
287
+ enableDynamicColor: {
288
+ type: import("vue").PropType<boolean>;
289
+ };
290
+ defaultColorSchemaType: {
291
+ type: import("vue").PropType<"background" | "primary" | "secondary" | "accent1" | "accent2" | "accent3" | "accent4" | "accent5" | "accent6" | "accent7" | "accent8" | "accent9" | "neutral" | "warning" | "notification" | "error" | "info" | "success" | "dynamic">;
292
+ };
293
+ type: {
294
+ type: import("vue").PropType<ColorPickerType>;
295
+ };
296
+ toned: {
297
+ type: import("vue").PropType<boolean>;
298
+ };
299
+ variant: {
300
+ type: import("vue").PropType<"dropdown" | "journey">;
301
+ };
302
+ "onUpdate:modelValue": {
303
+ type: import("vue").PropType<(value: ColorValue) => any | void>;
304
+ };
305
+ "v-model": {
306
+ type: import("vue").PropType<ColorValue>;
307
+ required: false;
308
+ };
309
+ modelValue: {
310
+ type: import("vue").PropType<ColorValue>;
311
+ required: false;
312
+ };
313
+ name: <TName extends string>(n?: TName) => { [key in import("../../../DefineVueTypings").VModelEmitsInJsxElement<TName>]: {
314
+ type: import("vue").PropType<(value: ColorValue) => any | void>;
315
+ }; } & { [key_1 in import("../../../DefineVueTypings").VModelKeyNameInJsxElement<TName>]: {
316
+ type: import("vue").PropType<ColorValue>;
317
+ required: false;
318
+ }; } & { [key_2 in import("../../../DefineVueTypings").VModelKeyNameInProps<TName>]: {
319
+ type: import("vue").PropType<ColorValue>;
320
+ required: false;
321
+ }; } & {
322
+ require(): import("../../../DefineVueTypings").DefinePropModelRequire<TName, ColorValue, {
323
+ "onUpdate:modelValue": {
324
+ type: import("vue").PropType<(value: ColorValue) => any | void>;
325
+ };
326
+ } & {
327
+ "v-model": {
328
+ type: import("vue").PropType<ColorValue>;
329
+ required: false;
330
+ };
331
+ } & {
332
+ modelValue: {
333
+ type: import("vue").PropType<ColorValue>;
334
+ required: false;
335
+ };
336
+ }>;
337
+ defaultValue(value?: ColorValue): import("../../../DefineVueTypings").DefinePropModelDefaultValue<TName, ColorValue, {
338
+ "onUpdate:modelValue": {
339
+ type: import("vue").PropType<(value: ColorValue) => any | void>;
340
+ };
341
+ } & {
342
+ "v-model": {
343
+ type: import("vue").PropType<ColorValue>;
344
+ required: false;
345
+ };
346
+ } & {
347
+ modelValue: {
348
+ type: import("vue").PropType<ColorValue>;
349
+ required: false;
350
+ };
351
+ }, false>;
352
+ doc$(description?: string): import("../../../DefineVueTypings").DefinePropModelDoc<TName, ColorValue, {
353
+ "onUpdate:modelValue": {
354
+ type: import("vue").PropType<(value: ColorValue) => any | void>;
355
+ };
356
+ } & {
357
+ "v-model": {
358
+ type: import("vue").PropType<ColorValue>;
359
+ required: false;
360
+ };
361
+ } & {
362
+ modelValue: {
363
+ type: import("vue").PropType<ColorValue>;
364
+ required: false;
365
+ };
366
+ }>;
367
+ };
368
+ colorSchemaType: {
369
+ type: import("vue").PropType<import("@omnia/fx-models").ColorSchemaTypes | ColorSchemaType>;
370
+ required: boolean;
371
+ };
372
+ container: {
373
+ type: BooleanConstructor;
374
+ required: boolean;
375
+ };
376
+ colors: {
377
+ type: import("vue").PropType<import("@omnia/fx/ux").ColorSchemaStoreType>;
378
+ required: boolean;
379
+ };
380
+ }>> & {
381
+ "onUpdate:modelValue"?: (value: ColorValue) => any;
382
+ }, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
383
+ "update:modelValue": (value: ColorValue) => any;
384
+ }, string, {
385
+ container: boolean;
386
+ }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
387
+ propsDefinition: Omit<Readonly<{} & {
388
+ type?: ColorPickerType;
389
+ name?: {
390
+ [x: `onUpdate:${string}`]: {
391
+ type: import("vue").PropType<(value: ColorValue) => any | void>;
392
+ };
393
+ } & {
394
+ [x: `v-model:${string}`]: {
395
+ type: import("vue").PropType<ColorValue>;
396
+ required: false;
397
+ };
398
+ } & {
399
+ [x: string]: {
400
+ type: import("vue").PropType<ColorValue>;
401
+ required: false;
402
+ };
403
+ } & {
404
+ require(): import("../../../DefineVueTypings").DefinePropModelRequire<string, ColorValue, {
405
+ "onUpdate:modelValue": {
406
+ type: import("vue").PropType<(value: ColorValue) => any | void>;
407
+ };
408
+ } & {
409
+ "v-model": {
410
+ type: import("vue").PropType<ColorValue>;
411
+ required: false;
412
+ };
413
+ } & {
414
+ modelValue: {
415
+ type: import("vue").PropType<ColorValue>;
416
+ required: false;
417
+ };
418
+ }>;
419
+ defaultValue(value?: ColorValue): import("../../../DefineVueTypings").DefinePropModelDefaultValue<string, ColorValue, {
420
+ "onUpdate:modelValue": {
421
+ type: import("vue").PropType<(value: ColorValue) => any | void>;
422
+ };
423
+ } & {
424
+ "v-model": {
425
+ type: import("vue").PropType<ColorValue>;
426
+ required: false;
427
+ };
428
+ } & {
429
+ modelValue: {
430
+ type: import("vue").PropType<ColorValue>;
431
+ required: false;
432
+ };
433
+ }, false>;
434
+ doc$(description?: string): import("../../../DefineVueTypings").DefinePropModelDoc<string, ColorValue, {
435
+ "onUpdate:modelValue": {
436
+ type: import("vue").PropType<(value: ColorValue) => any | void>;
437
+ };
438
+ } & {
439
+ "v-model": {
440
+ type: import("vue").PropType<ColorValue>;
441
+ required: false;
442
+ };
443
+ } & {
444
+ modelValue: {
445
+ type: import("vue").PropType<ColorValue>;
446
+ required: false;
447
+ };
448
+ }>;
449
+ };
450
+ container?: boolean;
451
+ opacity?: boolean;
452
+ variant?: "dropdown" | "journey";
453
+ label?: string;
454
+ disabled?: boolean;
455
+ colorSchemaType?: "background" | "primary" | "secondary" | "accent1" | "accent2" | "accent3" | "accent4" | "accent5" | "accent6" | "accent7" | "accent8" | "accent9" | "neutral" | "warning" | "notification" | "error" | "info" | "success" | "dynamic" | import("@omnia/fx-models").ColorSchemaTypes;
456
+ modelValue?: ColorValue;
457
+ "v-slots"?: {
458
+ default?: import("../../../DefineVueTypings").Slot;
459
+ } & {
460
+ activator?: () => VNodeChild;
461
+ };
462
+ "onUpdate:modelValue"?: (value: ColorValue) => any | void;
463
+ colors?: import("@omnia/fx/ux").ColorSchemaStoreType;
464
+ "v-model"?: ColorValue;
465
+ toned?: boolean;
466
+ themeType?: ThemeContextType;
467
+ defaultColorSchemaType?: "background" | "primary" | "secondary" | "accent1" | "accent2" | "accent3" | "accent4" | "accent5" | "accent6" | "accent7" | "accent8" | "accent9" | "neutral" | "warning" | "notification" | "error" | "info" | "success" | "dynamic";
468
+ enableDynamicColor?: boolean;
469
+ customColor?: boolean;
470
+ switchableColorSchema?: boolean;
471
+ }>, "onUpdate:modelValue"> & {
472
+ "onUpdate:modelValue"?: (value: ColorValue) => any;
473
+ };
474
+ };
475
+ export default _default;
@@ -0,0 +1,47 @@
1
+ import { ColorValue } from "@omnia/fx-models";
2
+ export type ColorPickerType = "default" | "base" | "onBase";
3
+ declare const _default: {
4
+ new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
5
+ disabled: {
6
+ type: import("vue").PropType<boolean>;
7
+ required: false;
8
+ };
9
+ }>> & {
10
+ onSelect?: (value: ColorValue) => any;
11
+ }, () => import("vue/jsx-runtime").JSX.Element | import("vue/jsx-runtime").JSX.Element[], unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
12
+ select: (value: ColorValue) => any;
13
+ }, import("vue").PublicProps, {}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
14
+ P: {};
15
+ B: {};
16
+ D: {};
17
+ C: {};
18
+ M: {};
19
+ Defaults: {};
20
+ }, Readonly<import("vue").ExtractPropTypes<{
21
+ disabled: {
22
+ type: import("vue").PropType<boolean>;
23
+ required: false;
24
+ };
25
+ }>> & {
26
+ onSelect?: (value: ColorValue) => any;
27
+ }, () => import("vue/jsx-runtime").JSX.Element | import("vue/jsx-runtime").JSX.Element[], {}, {}, {}, {}>;
28
+ __isFragment?: never;
29
+ __isTeleport?: never;
30
+ __isSuspense?: never;
31
+ } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
32
+ disabled: {
33
+ type: import("vue").PropType<boolean>;
34
+ required: false;
35
+ };
36
+ }>> & {
37
+ onSelect?: (value: ColorValue) => any;
38
+ }, () => import("vue/jsx-runtime").JSX.Element | import("vue/jsx-runtime").JSX.Element[], unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
39
+ select: (value: ColorValue) => any;
40
+ }, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
41
+ propsDefinition: Omit<Readonly<{} & {
42
+ disabled?: boolean;
43
+ }>, "onSelect"> & {
44
+ onSelect?: (value: ColorValue) => any;
45
+ };
46
+ };
47
+ export default _default;
@@ -0,0 +1,48 @@
1
+ import { ColorSchemaType, ColorValue, ThemeContextType, ThemedColorValue } from "@omnia/fx-models";
2
+ export interface swatch {
3
+ color: ColorValue;
4
+ colorString: string;
5
+ }
6
+ export declare const useColorPickerStore: () => {
7
+ get: {
8
+ swatches: {
9
+ baseColor: (swatchSchema: swatch[], toned: boolean) => string;
10
+ onBaseColor: (swatchSchema: swatch[], toned: boolean) => string;
11
+ colorSchemaName: (swatchSchema: swatch[]) => string;
12
+ };
13
+ };
14
+ state: {
15
+ currentSelection: ColorValue;
16
+ themedColorValue: ThemedColorValue;
17
+ prevSelectedColorSchemaType: any;
18
+ customColor: string;
19
+ opacity: number;
20
+ dynamicColor: boolean;
21
+ showColorPicker: boolean;
22
+ showDialog: boolean;
23
+ swatches: {
24
+ dynamic: swatch[];
25
+ schemas: swatch[][];
26
+ };
27
+ };
28
+ actions: import("@omnia/fx/stores").StoreReturnDefineAction<{
29
+ toggleColorPicker: () => void;
30
+ selectColor: (value: ColorValue) => void;
31
+ selectCustomColor: (color: string) => void;
32
+ deleteColor: () => void;
33
+ setOpacity: (opacity: number) => void;
34
+ initState: (model: ColorValue, themeContextType: ThemeContextType, defaultColorSchemaType: ColorSchemaType, switchableColorSchema: boolean) => void;
35
+ }>;
36
+ rules: {
37
+ selection: {
38
+ isCustomColor: () => boolean;
39
+ isCurrentValue: (value: ColorValue) => boolean;
40
+ };
41
+ swatches: {
42
+ isDynamicColorSchema: (swatchSchema: swatch[]) => boolean;
43
+ isIncludedInRender: (index: number) => boolean;
44
+ };
45
+ };
46
+ } & {
47
+ dispose?: () => void;
48
+ };
@@ -0,0 +1,33 @@
1
+ import { ColorSchemaType, ColorValue, FillDefinition, FillDefinitionValue, FilterPickerFilter } from "@omnia/fx-models";
2
+ export declare enum ColorMode {
3
+ colorOnly = "color",
4
+ linearGradient = "linear",
5
+ radialGradient = "radial"
6
+ }
7
+ export declare const useFillPickerStore: () => {
8
+ state: {
9
+ internalModel: FillDefinition;
10
+ colors: any[];
11
+ selectedGradient: any[];
12
+ colorMode: ColorMode;
13
+ showSettings: boolean;
14
+ fillOpacity: any;
15
+ linearGradient: number;
16
+ radialGradient: number;
17
+ };
18
+ actions: import("@omnia/fx/stores").StoreReturnDefineAction<{
19
+ changeColor: (index: number, color: ColorValue) => void;
20
+ addColor: (colorType: string, defaultColorSchemaType: ColorSchemaType, dynamicColor: boolean) => void;
21
+ removeColor: (index: number) => void;
22
+ changeGradientMode: (newVal: any) => void;
23
+ initState: (fill: FillDefinitionValue) => void;
24
+ }>;
25
+ rules: {
26
+ hasFillOneColor: () => boolean;
27
+ };
28
+ dataTypes: {
29
+ gradients: FilterPickerFilter[];
30
+ };
31
+ } & {
32
+ dispose?: () => void;
33
+ };
@@ -1,5 +1,4 @@
1
- import { IIcon } from "@omnia/fx-models";
2
- import { TdHTMLAttributes, VNodeChild } from "vue";
1
+ import { TdHTMLAttributes } from "vue";
3
2
  import { ConstructComponentProps } from "@omnia/fx/ux";
4
3
  import { PublicDataTableRowProps } from "../oxide/datatable/RowRenderer";
5
4
  export type SelectItemKey = boolean | string | (string | number)[] | ((item: Record<string, any>, fallback?: any) => any);
@@ -20,17 +19,6 @@ export type DataTableHeader = {
20
19
  };
21
20
  export declare const RowVariant: readonly ["navigation", "default"];
22
21
  export type RowVariantType = typeof RowVariant[number];
23
- export interface IDataTableRowRenderer<T = any> {
24
- value: T;
25
- index: number;
26
- classes(classes: string): Omit<IDataTableRowRenderer, "classes">;
27
- disableNavigation(): any;
28
- select(selected: boolean): Omit<IDataTableRowRenderer, "select">;
29
- onClick(callback: () => void): Omit<IDataTableRowRenderer, "onClick">;
30
- addCell(node: VNodeChild, colSpan?: number, classes?: string, styles?: string): Pick<IDataTableRowRenderer, "addCell" | "addAction">;
31
- addAction(node: VNodeChild): Pick<IDataTableRowRenderer, "addCell" | "addAction">;
32
- addIcon(icon: IIcon): any;
33
- }
34
22
  export interface IDataTableRow<T = any> {
35
23
  value: T;
36
24
  index: number;
@@ -6,7 +6,7 @@ export declare enum ColorType {
6
6
  CorporateColor = 3,
7
7
  CustomColor = 4
8
8
  }
9
- type ColorPickerVariant = "default" | "blade";
9
+ type ColorPickerVariant = "default" | "blade" | "virtual-list";
10
10
  type ColorPickerProps = DefinePropTheming & DefineProp<"class", String | String[]> & DefineProp<"toned", boolean, false, false, "Toned color picker."> & DefineVModel<"", string, false, null, false, "The v-model of the component."> & DefineProp<"variant", ColorPickerVariant, false, null, "The variant of the color picker."> & DefineProp<"label", string, false, null, "Specifies the label to display on the component."> & DefineProp<"labelColor", string, false, null, "Specifies the color of the label."> & DefineProp<"selectedColorAsLabel", boolean, false, false, "Displays the selected color on the label."> & DefineProp<"show", boolean, false, false, "Control show/hide of the color picker."> & DefineProp<"disabled", boolean, false, false, "Removed the ability to interact with the component."> & DefineSlot<"activator", () => VNodeChild>;
11
11
  declare const _default: (props: import("@omnia/fx/ux").ExtractProps<ColorPickerProps> & {
12
12
  "onUpdate:modelValue"?: (value: string) => any;
@@ -0,0 +1,8 @@
1
+ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
2
+ columnName?: string;
3
+ }> & {} & {
4
+ "v-slots"?: {} & Omit<{
5
+ default?: import("vue").Slot;
6
+ }, never>;
7
+ } & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "columnName"> & import("@omnia/fx/ux").VNodeEvents) => any;
8
+ export default _default;
@@ -1,11 +1,11 @@
1
- import { DataTableHeader, DefineEmit, DefineProp, DefinePropTheming, DefineSlot, DefineType, DefineVModel, ExtractProps, IDataTableRow, IDataTableRowRenderer, ItemValueType, SelectItemKey, SortItem } from "@omnia/fx/ux";
1
+ import { DataTableHeader, DefineEmit, DefineProp, DefinePropTheming, DefineSlot, DefineType, DefineVModel, ExtractProps, IDataTableRow, ItemValueType, SelectItemKey, SortItem } from "@omnia/fx/ux";
2
2
  import { VNodeChild } from "vue";
3
3
  export type DataTableOptions = {
4
4
  page: number;
5
5
  itemsPerPage: number;
6
6
  sortBy: SortItem[];
7
7
  };
8
- export type DataTablePropsBase<T> = DefinePropTheming & DefineProp<"class", String | String[]> & DefineVModel<"expanded", Array<string>, false, null, true, "Whether the item is expanded or not."> & DefineVModel<"sortBy", SortItem[], false, null, true, "Changes which item property (or properties) should be used for sort order."> & DefineProp<"mustSort", boolean, false, false, "If true then one can not disable sorting, it will always switch between ascending and descending."> & DefineProp<"showSelect", boolean, false, false, "Shows a checkbox for each row."> & DefineProp<"itemSelectable", SelectItemKey<T>, false, false, "SProperty on supplied items that indicates whether the item is selectable."> & DefineProp<"height", string | number, false, null, "Sets and explicit height of the tablet."> & DefineProp<"noDataText", string, false, null, "Text shown when no items are provided to the component."> & DefineProp<"itemValue", ItemValueType<T>, false, null, "Property on supplied items that contains its value."> & DefineProp<"loading", boolean, false, false, "Displays linear progress bar."> & DefineProp<"drag", boolean, false, false, "Enable draggable row."> & DefineProp<"hover", boolean, false, false, "Property on supplied items that contains its value."> & DefineProp<"search", string, false, null, "Text input used to filter items."> & DefineProp<"searchBy", (keyof T)[] | ((item: T) => string[]), false, null, "Property on supplied items that contains its value to search."> & DefineProp<"showExpand", boolean, false, false, "Shows the expand toggle in default rows."> & DefineProp<"headers", DataTableHeader[], false, typeof defaultHeaders, "An array of objects that each describe a header column."> & DefineVModel<"items", T[], false, typeof emptyArray, true, "An array of strings or objects used for automatically generating children components."> & DefineVModel<"", Array<any>, false, typeof emptyArray, true, "The v-model value of the component. If component supports the multiple prop, this defaults to an empty array."> & DefineEmit<"update:expanded", (expanded: string[]) => void, "Emits when the expanded property of the options prop is updated."> & DefineEmit<"update:sortBy", (sort: SortItem[]) => void, "Emits when the sortBy property of the options prop is updated."> & DefineEmit<"update:options", (options: DataTableOptions) => void, "Emits when one of the options properties is updated."> & DefineEmit<"update:page", (page: number) => void, "Emits when the page property of the options prop is updated."> & DefineEmit<"update:itemsPerPage", (value: number) => void, "Emits when the items-per-page property of the options prop is updated."> & DefineEmit<"click:loadMore", () => void> & DefineSlot<"item", (row: IDataTableRowRenderer<T>) => void, "Deprecated, Use slot row instead."> & DefineSlot<"row", (row: IDataTableRow<T>) => VNodeChild> & DefineSlot<"top", () => VNodeChild> & DefineSlot<"expanded-row", (e: {
8
+ export type DataTablePropsBase<T> = DefinePropTheming & DefineProp<"class", String | String[]> & DefineVModel<"expanded", Array<string>, false, null, true, "Whether the item is expanded or not."> & DefineVModel<"sortBy", SortItem[], false, null, true, "Changes which item property (or properties) should be used for sort order."> & DefineProp<"mustSort", boolean, false, false, "If true then one can not disable sorting, it will always switch between ascending and descending."> & DefineProp<"showSelect", boolean, false, false, "Shows a checkbox for each row."> & DefineProp<"itemSelectable", SelectItemKey<T>, false, false, "SProperty on supplied items that indicates whether the item is selectable."> & DefineProp<"height", string | number, false, null, "Sets and explicit height of the tablet."> & DefineProp<"noDataText", string, false, null, "Text shown when no items are provided to the component."> & DefineProp<"itemValue", ItemValueType<T>, false, null, "Property on supplied items that contains its value."> & DefineProp<"loading", boolean, false, false, "Displays linear progress bar."> & DefineProp<"drag", boolean, false, false, "Enable draggable row."> & DefineProp<"hover", boolean, false, false, "Property on supplied items that contains its value."> & DefineProp<"search", string, false, null, "Text input used to filter items."> & DefineProp<"searchBy", (keyof T)[] | ((item: T) => string[]), false, null, "Property on supplied items that contains its value to search."> & DefineProp<"showExpand", boolean, false, false, "Shows the expand toggle in default rows."> & DefineProp<"headers", DataTableHeader[], false, typeof defaultHeaders, "An array of objects that each describe a header column."> & DefineVModel<"items", T[], false, typeof emptyArray, true, "An array of strings or objects used for automatically generating children components."> & DefineVModel<"", Array<any>, false, typeof emptyArray, true, "The v-model value of the component. If component supports the multiple prop, this defaults to an empty array."> & DefineEmit<"update:expanded", (expanded: string[]) => void, "Emits when the expanded property of the options prop is updated."> & DefineEmit<"update:sortBy", (sort: SortItem[]) => void, "Emits when the sortBy property of the options prop is updated."> & DefineEmit<"update:options", (options: DataTableOptions) => void, "Emits when one of the options properties is updated."> & DefineEmit<"update:page", (page: number) => void, "Emits when the page property of the options prop is updated."> & DefineEmit<"update:itemsPerPage", (value: number) => void, "Emits when the items-per-page property of the options prop is updated."> & DefineEmit<"click:loadMore", () => void> & DefineSlot<"row", (row: IDataTableRow<T>) => VNodeChild> & DefineSlot<"top", () => VNodeChild> & DefineSlot<"expanded-row", (e: {
9
9
  item: T;
10
10
  }) => VNodeChild> & DefineSlot<`header.${string}`, (header: DataTableHeader) => void> & DefineSlot<`item.${string}`, (e: {
11
11
  item: T;
@@ -27,7 +27,7 @@ declare const _default: <TItem extends unknown, TVariant extends "default" | "cl
27
27
  "v-slots"?: (DataTableProps<TItem, TVariant> extends infer T_3 ? { [K_3 in keyof T_3 as K_3 extends `slot:${infer N_1}` ? N_1 : never]: DataTableProps<TItem, TVariant>[K_3]; } : never) & Omit<{
28
28
  default?: import("vue").Slot;
29
29
  }, keyof (DataTableProps<TItem, TVariant> extends infer T_4 ? { [K_3 in keyof T_4 as K_3 extends `slot:${infer N_1}` ? N_1 : never]: DataTableProps<TItem, TVariant>[K_3]; } : never)>;
30
- } & (DataTableProps<TItem, TVariant> extends infer T_5 ? { [K_4 in keyof T_5 as K_4 extends "ref" ? "ref" : never]: import("vue").Ref<DataTableProps<TItem, TVariant>[K_4], DataTableProps<TItem, TVariant>[K_4]> | ((ref: DataTableProps<TItem, TVariant>[K_4]) => void); } : never) & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "headers" | "search" | "height" | "variant" | "drag" | "class" | "expanded" | "colorSchemaType" | "modelValue" | "items" | "loading" | "hover" | "colors" | "v-model" | "emit:update:modelValue" | "itemValue" | "slot:item" | "emit:update:expanded" | "v-model:expanded" | "sortBy" | "emit:update:sortBy" | "v-model:sortBy" | "mustSort" | "showSelect" | "itemSelectable" | "noDataText" | "searchBy" | "showExpand" | "emit:update:items" | "v-model:items" | "emit:update:options" | "emit:update:page" | "emit:update:itemsPerPage" | "emit:click:loadMore" | "slot:row" | "slot:top" | "slot:expanded-row" | `slot:header.${string}` | `slot:item.${string}` | keyof (TVariant extends "client-pagination-scroll" ? {
30
+ } & (DataTableProps<TItem, TVariant> extends infer T_5 ? { [K_4 in keyof T_5 as K_4 extends "ref" ? "ref" : never]: import("vue").Ref<DataTableProps<TItem, TVariant>[K_4], DataTableProps<TItem, TVariant>[K_4]> | ((ref: DataTableProps<TItem, TVariant>[K_4]) => void); } : never) & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "headers" | "search" | "height" | "variant" | "drag" | "class" | "expanded" | "colorSchemaType" | "modelValue" | "items" | "loading" | "hover" | "colors" | "v-model" | "emit:update:modelValue" | "itemValue" | "emit:update:expanded" | "v-model:expanded" | "sortBy" | "emit:update:sortBy" | "v-model:sortBy" | "mustSort" | "showSelect" | "itemSelectable" | "noDataText" | "searchBy" | "showExpand" | "emit:update:items" | "v-model:items" | "emit:update:options" | "emit:update:page" | "emit:update:itemsPerPage" | "emit:click:loadMore" | "slot:row" | "slot:top" | "slot:expanded-row" | `slot:header.${string}` | `slot:item.${string}` | keyof (TVariant extends "client-pagination-scroll" ? {
31
31
  itemHeight?: string | number;
32
32
  } : TVariant extends "client-pagination-page" ? ClientPaginationPageProps<TItem_1> : TVariant extends "server-pagination-page" ? ServerPaginationPageProps : TVariant extends "server-pagination-scroll" ? ServerPaginationScrollProps<TItem> : DefaultProps)> & import("@omnia/fx/ux").VNodeEvents) => any;
33
33
  export default _default;
@@ -1,30 +1,6 @@
1
1
  import { IIcon } from "@omnia/fx-models";
2
- import { DefineEmit, DefineProp, DefineSlot, IDataTableRowRenderer } from "@omnia/fx/ux";
2
+ import { DataTableHeader, DefineEmit, DefineProp, DefineSlot } from "@omnia/fx/ux";
3
3
  import { VNodeChild } from "vue";
4
- export declare class DataTableRowRenderer implements IDataTableRowRenderer {
5
- value: any;
6
- index: any;
7
- cells: Array<{
8
- node: VNodeChild;
9
- colSpan: number;
10
- classes?: string;
11
- styles?: string;
12
- }>;
13
- icon: IIcon;
14
- actions: Array<VNodeChild>;
15
- click: () => void;
16
- preselect: any;
17
- navigation: boolean;
18
- cssRowClasses: string;
19
- constructor(value: any, index: any);
20
- select(selected: boolean): this;
21
- classes(classes: string): this;
22
- onClick(callback: () => void): this;
23
- disableNavigation(): this;
24
- addCell(node: VNodeChild, colSpan?: number, classes?: string, styles?: string): Pick<IDataTableRowRenderer, "addCell" | "addAction">;
25
- addIcon(icon: IIcon): void;
26
- addAction(node: VNodeChild): Pick<IDataTableRowRenderer, "addCell" | "addAction">;
27
- }
28
4
  export type PublicDataTableRowProps = DefineProp<"active", boolean, false, false> & DefineProp<"remove", boolean, false, false> & DefineProp<"icon", IIcon> & DefineSlot<"actions", () => VNodeChild> & DefineEmit<"update:mouseOver", () => void, "Emits when moving the mouse pointer onto a row."> & DefineEmit<"update:mouseOut", () => void, "Emits when moving the mouse pointer out of a row.">;
29
5
  declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
30
6
  active?: boolean;
@@ -34,6 +10,8 @@ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
34
10
  icon?: IIcon;
35
11
  } & DefineSlot<"actions", () => VNodeChild> & DefineEmit<"update:mouseOver", () => void, "Emits when moving the mouse pointer onto a row."> & DefineEmit<"update:mouseOut", () => void, "Emits when moving the mouse pointer out of a row."> & DefineEmit<"click:navigation", (e: MouseEvent) => void> & {
36
12
  drag?: boolean;
13
+ } & {
14
+ headers?: DataTableHeader[];
37
15
  } & {
38
16
  draggableIcon?: () => VNodeChild;
39
17
  }> & {
@@ -46,5 +24,5 @@ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
46
24
  } & Omit<{
47
25
  default?: import("vue").Slot;
48
26
  }, "actions">;
49
- } & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "icon" | "active" | "drag" | "remove" | "slot:actions" | "emit:update:mouseOver" | "emit:update:mouseOut" | "emit:click:navigation" | "draggableIcon"> & import("@omnia/fx/ux").VNodeEvents) => any;
27
+ } & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "headers" | "icon" | "active" | "drag" | "remove" | "slot:actions" | "emit:update:mouseOver" | "emit:update:mouseOut" | "emit:click:navigation" | "draggableIcon"> & import("@omnia/fx/ux").VNodeEvents) => any;
50
28
  export default _default;
@@ -1,9 +1,9 @@
1
1
  import { DefineProp } from "@omnia/fx/ux";
2
- import { OPageDividerTypes, TypographySize, TypographySizes, TypographyType, TypographyTypes } from "@omnia/fx-models";
3
- type DividerProps = DefineProp<"class", String | String[]> & DefineProp<"variant", OPageDividerTypes, false, null> & DefineProp<"label", string, false, null> & DefineProp<"vertical", boolean, false, false> & DefineProp<"toned", boolean, false, false> & DefineProp<"labelSize", TypographySize | TypographySizes, false, null, "Specifies the title typography size. Should be used only if the variants size does not match the context."> & DefineProp<"labelType", TypographyType | TypographyTypes, false, null, "Specifies the typography type. Should be used only if the variants size does not match the context.">;
2
+ import { IIcon, OPageDividerTypes, TypographySize, TypographySizes, TypographyType, TypographyTypes } from "@omnia/fx-models";
3
+ type DividerProps = DefineProp<"class", String | String[]> & DefineProp<"variant", OPageDividerTypes, false, null> & DefineProp<"icon", IIcon, false, null, "The icon to be displayed."> & DefineProp<"label", string, false, null> & DefineProp<"vertical", boolean, false, false> & DefineProp<"toned", boolean, false, false> & DefineProp<"labelSize", TypographySize | TypographySizes, false, null, "Specifies the title typography size. Should be used only if the variants size does not match the context."> & DefineProp<"labelType", TypographyType | TypographyTypes, false, null, "Specifies the typography type. Should be used only if the variants size does not match the context.">;
4
4
  declare const _default: (props: import("@omnia/fx/ux").ExtractProps<DividerProps> & {} & {
5
5
  "v-slots"?: {} & Omit<{
6
6
  default?: import("vue").Slot;
7
7
  }, never>;
8
- } & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "variant" | "vertical" | "class" | "label" | "toned" | "labelSize" | "labelType"> & import("@omnia/fx/ux").VNodeEvents) => any;
8
+ } & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "icon" | "variant" | "vertical" | "class" | "label" | "toned" | "labelSize" | "labelType"> & import("@omnia/fx/ux").VNodeEvents) => any;
9
9
  export default _default;
@@ -2,7 +2,6 @@ import { ColorDefinition } from "../../velcron/core";
2
2
  import { OPanelVariants, OPaddingCombination } from "@omnia/fx-models";
3
3
  export declare const PanelStyles: {
4
4
  tabSettingsPadding: Readonly<import("@omnia/fx/ux").StylexValue>;
5
- templateTitle: (variant: OPanelVariants, titelOnTopDivider: boolean, color: string, spacelessTop: boolean, spacelessBottom: boolean, paddings: OPaddingCombination) => Readonly<import("@omnia/fx/ux").StylexValue>;
6
5
  dividerOnTitle: Readonly<import("@omnia/fx/ux").StylexValue>;
7
6
  panelHoverBackground: (color: ColorDefinition) => Readonly<import("@omnia/fx/ux").StylexValue>;
8
7
  panelWrapper: (hide: boolean, variant: OPanelVariants, grouped: boolean, spacelessTop: boolean, spacelessBottom: boolean, hasLeftDivider: any, hasRightDivider: any, dark: boolean, paddings: OPaddingCombination) => Readonly<import("@omnia/fx/ux").StylexValue>;
@@ -3,7 +3,7 @@ import { InputBlueprint, MenuState } from "@omnia/fx/models";
3
3
  import { VNodeChild } from "vue";
4
4
  import { PickerVariant } from "./models/SharedSettings";
5
5
  import { usePickerStore } from "./stores/PickerStore";
6
- type PickerProps = DefineVModel<"", MenuState> & DefineProp<"getApi", (store: ReturnType<typeof usePickerStore>) => void, false, null, "callback to get a reference to the store"> & DefineProp<"class", String | String[]> & DefineProp<"variant", PickerVariant> & DefineProp<"label", string, false, null, "Sets the label of the component."> & DefineProp<"text", string, false, null, "Sets the text of the component."> & DefineProp<"blueprint", InputBlueprint, false, null, "Sets a custom blueprint for the control."> & DefineProp<"disabled", boolean, false, null, "Sets the component to disabled"> & DefineProp<"toned", boolean, false, null, "Sets the component to disabled"> & DefineProp<"visibleOnContentClick", boolean, false, null, "Sets the component to disabled"> & DefineProp<"grid", boolean, false, null, "Sets the component to disabled"> & DefineProp<"disabled", boolean, false, null, "Sets the component to disabled"> & DefineProp<"clearable", boolean, false, null, "If a clear icon can be shown"> & DefineProp<"searchable", boolean, null, null, "A search box is displayed with the text value"> & DefineProp<"isLoading", boolean, false, null, "Displays a loading indicator"> & DefineProp<"hasSelection", boolean | any, false, null, "If the component has selection or not. If true it will render the selection slot"> & DefineProp<"placeholder", string, false, null, "Sets the placeholder of the component. The placeholder is shown if there is no selection and displays select if empty"> & DefineProp<"toned", boolean, false, null, "Sets the component to disabled"> & DefineEmit<"search", (searchText: string) => true> & DefineEmit<"click:clear", () => void> & DefineSlot<"activator", () => VNodeChild> & DefineSlot<"selectedItemRenderer", () => VNodeChild>;
6
+ type PickerProps = DefineVModel<"", MenuState> & DefineProp<"getApi", (store: ReturnType<typeof usePickerStore>) => void, false, null, "callback to get a reference to the store"> & DefineProp<"class", String | String[]> & DefineProp<"variant", PickerVariant, false, "dropdown"> & DefineProp<"label", string, false, null, "Sets the label of the component."> & DefineProp<"text", string, false, null, "Sets the text of the component."> & DefineProp<"blueprint", InputBlueprint, false, null, "Sets a custom blueprint for the control."> & DefineProp<"disabled", boolean, false, null, "Sets the component to disabled"> & DefineProp<"toned", boolean, false, null, "Sets the component to disabled"> & DefineProp<"visibleOnContentClick", boolean, false, null, "Sets the component to disabled"> & DefineProp<"grid", boolean, false, null, "Sets the component to disabled"> & DefineProp<"disabled", boolean, false, null, "Sets the component to disabled"> & DefineProp<"clearable", boolean, false, null, "If a clear icon can be shown"> & DefineProp<"searchable", boolean, null, null, "A search box is displayed with the text value"> & DefineProp<"isLoading", boolean, false, null, "Displays a loading indicator"> & DefineProp<"hasSelection", boolean | any, false, null, "If the component has selection or not. If true it will render the selection slot"> & DefineProp<"placeholder", string, false, null, "Sets the placeholder of the component. The placeholder is shown if there is no selection and displays select if empty"> & DefineProp<"toned", boolean, false, null, "Sets the component to disabled"> & DefineEmit<"search", (searchText: string) => true> & DefineEmit<"click:clear", () => void> & DefineSlot<"activator", () => VNodeChild> & DefineSlot<"selectedItemRenderer", () => VNodeChild>;
7
7
  declare const _default: (props: import("@omnia/fx/ux").ExtractProps<PickerProps> & {
8
8
  "onUpdate:modelValue"?: (value: MenuState) => any;
9
9
  "onClick:clear"?: () => any;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@omnia/fx",
3
3
  "license": "MIT",
4
- "version": "8.0.384-dev",
4
+ "version": "8.0.385-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": "Omnia Digital Workplace AB",
22
22
  "dependencies": {
23
- "@omnia/fx-models": "8.0.384-dev",
23
+ "@omnia/fx-models": "8.0.385-dev",
24
24
  "@microsoft/signalr": "6.0.1",
25
25
  "broadcast-channel": "4.8.0",
26
26
  "dayjs": "1.11.7",