@omnia/fx 8.0.23-vnext → 8.0.25-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 (53) hide show
  1. package/internal-do-not-import-from-here/ux/ComponentTypings.d.ts +25 -1
  2. package/internal-do-not-import-from-here/ux/layoutcanvas/editor/layoutItemselector/LayoutItemSelection.css.d.ts +0 -1
  3. package/internal-do-not-import-from-here/ux/models/DataTable.d.ts +16 -0
  4. package/internal-do-not-import-from-here/ux/models/index.d.ts +1 -0
  5. package/internal-do-not-import-from-here/ux/oxide/btn/Button.d.ts +17 -0
  6. package/internal-do-not-import-from-here/ux/oxide/datatable/DataTable.d.ts +260 -0
  7. package/internal-do-not-import-from-here/ux/oxide/datatable/DataTableServer.d.ts +277 -0
  8. package/internal-do-not-import-from-here/ux/oxide/datatable/DataTableVirtual.d.ts +593 -0
  9. package/internal-do-not-import-from-here/ux/oxide/panel/Panel.css.d.ts +1 -1
  10. package/internal-do-not-import-from-here/ux/oxide/panel/Panel.d.ts +26 -0
  11. package/internal-do-not-import-from-here/ux/oxide/panel/docs/BasicPanelTypes.d.ts +46 -0
  12. package/internal-do-not-import-from-here/ux/oxide/panel/docs/PanelAlignment.d.ts +46 -0
  13. package/internal-do-not-import-from-here/ux/oxide/panel/docs/PanelVariants.d.ts +46 -0
  14. package/internal-do-not-import-from-here/ux/oxide/panel/docs/Scrolling.d.ts +46 -0
  15. package/internal-do-not-import-from-here/ux/oxide/panel/docs/SettingsPanel.d.ts +46 -0
  16. package/internal-do-not-import-from-here/ux/oxide/text/Text.d.ts +14 -9
  17. package/internal-do-not-import-from-here/ux/oxide/textfield/TextField.d.ts +21 -0
  18. package/internal-do-not-import-from-here/ux/oxide/toolbar/Toolbar.css.d.ts +1 -0
  19. package/internal-do-not-import-from-here/ux/oxide/toolbar/Toolbar.d.ts +75 -39
  20. package/internal-do-not-import-from-here/ux/oxide/toolbar/docs/ToolbarExamples.d.ts +1 -0
  21. package/internal-do-not-import-from-here/ux/oxide/toolbar/docs/ToolbarIntro.d.ts +46 -0
  22. package/internal-do-not-import-from-here/ux/oxide/toolbar/docs/index.d.ts +1 -0
  23. package/internal-do-not-import-from-here/ux/oxide/treeview/Treeview.d.ts +243 -0
  24. package/internal-do-not-import-from-here/ux/theming-v2/themedefinitionpicker/ThemeDefinitionPicker.css.d.ts +1 -1
  25. package/internal-do-not-import-from-here/ux/theming-v2/themedefinitionpicker/ThemeDefinitionPicker.d.ts +21 -0
  26. package/internal-do-not-import-from-here/ux/theming-v2/themeeditor/components/blueprints/BluePrintSelector.css.d.ts +1 -1
  27. package/internal-do-not-import-from-here/ux/use/UseColorSchemaSetup.d.ts +70 -1
  28. package/internal-do-not-import-from-here/ux/velcron/core/models/VelcronDefinitions.d.ts +13 -14
  29. package/internal-do-not-import-from-here/ux/velcron/core/models/VelcronDescriptors.d.ts +2 -3
  30. package/internal-do-not-import-from-here/ux/velcron/core/parser/VelcronConstants.d.ts +1 -2
  31. package/internal-do-not-import-from-here/ux/velcron/core/parser/VelcronRenderers.d.ts +62 -6
  32. package/internal-do-not-import-from-here/ux/velcron/core/parser/VelcronStyles.d.ts +2 -2
  33. package/internal-do-not-import-from-here/ux/velcron/core/stores/VelcronColorSchema.d.ts +42 -0
  34. package/internal-do-not-import-from-here/ux/velcron/core/stores/index.d.ts +1 -0
  35. package/internal-do-not-import-from-here/ux/velcron/editor/components/AddComponent.css.d.ts +4 -0
  36. package/internal-do-not-import-from-here/ux/velcron/editor/models/BuiltInDescriptors.d.ts +0 -1
  37. package/internal-do-not-import-from-here/ux/velcron/editor/stores/VelcronEditorStore.d.ts +5 -5
  38. package/internal-do-not-import-from-here/ux/velcron/renderer/components/App.d.ts +6 -6
  39. package/internal-do-not-import-from-here/ux/velcron/renderer/components/Button.d.ts +6 -6
  40. package/internal-do-not-import-from-here/ux/velcron/renderer/components/Card.d.ts +6 -6
  41. package/internal-do-not-import-from-here/ux/velcron/renderer/components/Chip.d.ts +6 -6
  42. package/internal-do-not-import-from-here/ux/velcron/renderer/components/Custom.d.ts +6 -6
  43. package/internal-do-not-import-from-here/ux/velcron/renderer/components/Dialog.d.ts +6 -6
  44. package/internal-do-not-import-from-here/ux/velcron/renderer/components/FlexView.d.ts +0 -62
  45. package/internal-do-not-import-from-here/ux/velcron/renderer/components/Icon.d.ts +6 -6
  46. package/internal-do-not-import-from-here/ux/velcron/renderer/components/Image.d.ts +6 -6
  47. package/internal-do-not-import-from-here/ux/velcron/renderer/components/ProgressCircle.d.ts +6 -6
  48. package/internal-do-not-import-from-here/ux/velcron/renderer/components/Text.d.ts +6 -6
  49. package/internal-do-not-import-from-here/ux/velcron/renderer/components/TextInput.d.ts +6 -6
  50. package/internal-do-not-import-from-here/ux/velcron/renderer/components/View.d.ts +6 -6
  51. package/internal-do-not-import-from-here/ux/velcron/renderer/components/WebView.d.ts +6 -6
  52. package/internal-do-not-import-from-here/wctypings.d.ts +6 -0
  53. package/package.json +2 -2
@@ -26,6 +26,55 @@ declare const _default: {
26
26
  items: {
27
27
  type: import("vue").PropType<TreeViewItem<any>[]>;
28
28
  };
29
+ "v-model": {
30
+ type: import("vue").PropType<TreeViewItem<any>[]>;
31
+ required: false;
32
+ };
33
+ modelValue: {
34
+ type: import("vue").PropType<TreeViewItem<any>[]>;
35
+ required: false;
36
+ };
37
+ name: <TName extends string>(n?: TName) => { [key in import("../../DefineVueTypings").VModelKeyNameInJsxElement<TName>]: {
38
+ type: import("vue").PropType<TreeViewItem<any>[]>;
39
+ required: false;
40
+ }; } & { [key_1 in import("../../DefineVueTypings").VModelKeyNameInProps<TName>]: {
41
+ type: import("vue").PropType<TreeViewItem<any>[]>;
42
+ required: false;
43
+ }; } & {
44
+ require(): import("../../DefineVueTypings").DefinePropModelRequire<TName, TreeViewItem<any>[], {
45
+ "v-model": {
46
+ type: import("vue").PropType<TreeViewItem<any>[]>;
47
+ required: false;
48
+ };
49
+ } & {
50
+ modelValue: {
51
+ type: import("vue").PropType<TreeViewItem<any>[]>;
52
+ required: false;
53
+ };
54
+ }>;
55
+ defaultValue(value?: TreeViewItem<any>[]): import("../../DefineVueTypings").DefinePropModelDefaultValue<TName, TreeViewItem<any>[], {
56
+ "v-model": {
57
+ type: import("vue").PropType<TreeViewItem<any>[]>;
58
+ required: false;
59
+ };
60
+ } & {
61
+ modelValue: {
62
+ type: import("vue").PropType<TreeViewItem<any>[]>;
63
+ required: false;
64
+ };
65
+ }, false>;
66
+ doc$(description?: string): import("../../DefineVueTypings").DefinePropModelDoc<TName, TreeViewItem<any>[], {
67
+ "v-model": {
68
+ type: import("vue").PropType<TreeViewItem<any>[]>;
69
+ required: false;
70
+ };
71
+ } & {
72
+ modelValue: {
73
+ type: import("vue").PropType<TreeViewItem<any>[]>;
74
+ required: false;
75
+ };
76
+ }>;
77
+ };
29
78
  colorSchemaType?: any;
30
79
  container?: any;
31
80
  colors?: any;
@@ -60,6 +109,55 @@ declare const _default: {
60
109
  items: {
61
110
  type: import("vue").PropType<TreeViewItem<any>[]>;
62
111
  };
112
+ "v-model": {
113
+ type: import("vue").PropType<TreeViewItem<any>[]>;
114
+ required: false;
115
+ };
116
+ modelValue: {
117
+ type: import("vue").PropType<TreeViewItem<any>[]>;
118
+ required: false;
119
+ };
120
+ name: <TName extends string>(n?: TName) => { [key in import("../../DefineVueTypings").VModelKeyNameInJsxElement<TName>]: {
121
+ type: import("vue").PropType<TreeViewItem<any>[]>;
122
+ required: false;
123
+ }; } & { [key_1 in import("../../DefineVueTypings").VModelKeyNameInProps<TName>]: {
124
+ type: import("vue").PropType<TreeViewItem<any>[]>;
125
+ required: false;
126
+ }; } & {
127
+ require(): import("../../DefineVueTypings").DefinePropModelRequire<TName, TreeViewItem<any>[], {
128
+ "v-model": {
129
+ type: import("vue").PropType<TreeViewItem<any>[]>;
130
+ required: false;
131
+ };
132
+ } & {
133
+ modelValue: {
134
+ type: import("vue").PropType<TreeViewItem<any>[]>;
135
+ required: false;
136
+ };
137
+ }>;
138
+ defaultValue(value?: TreeViewItem<any>[]): import("../../DefineVueTypings").DefinePropModelDefaultValue<TName, TreeViewItem<any>[], {
139
+ "v-model": {
140
+ type: import("vue").PropType<TreeViewItem<any>[]>;
141
+ required: false;
142
+ };
143
+ } & {
144
+ modelValue: {
145
+ type: import("vue").PropType<TreeViewItem<any>[]>;
146
+ required: false;
147
+ };
148
+ }, false>;
149
+ doc$(description?: string): import("../../DefineVueTypings").DefinePropModelDoc<TName, TreeViewItem<any>[], {
150
+ "v-model": {
151
+ type: import("vue").PropType<TreeViewItem<any>[]>;
152
+ required: false;
153
+ };
154
+ } & {
155
+ modelValue: {
156
+ type: import("vue").PropType<TreeViewItem<any>[]>;
157
+ required: false;
158
+ };
159
+ }>;
160
+ };
63
161
  colorSchemaType?: any;
64
162
  container?: any;
65
163
  colors?: any;
@@ -106,6 +204,55 @@ declare const _default: {
106
204
  items: {
107
205
  type: import("vue").PropType<TreeViewItem<any>[]>;
108
206
  };
207
+ "v-model": {
208
+ type: import("vue").PropType<TreeViewItem<any>[]>;
209
+ required: false;
210
+ };
211
+ modelValue: {
212
+ type: import("vue").PropType<TreeViewItem<any>[]>;
213
+ required: false;
214
+ };
215
+ name: <TName extends string>(n?: TName) => { [key in import("../../DefineVueTypings").VModelKeyNameInJsxElement<TName>]: {
216
+ type: import("vue").PropType<TreeViewItem<any>[]>;
217
+ required: false;
218
+ }; } & { [key_1 in import("../../DefineVueTypings").VModelKeyNameInProps<TName>]: {
219
+ type: import("vue").PropType<TreeViewItem<any>[]>;
220
+ required: false;
221
+ }; } & {
222
+ require(): import("../../DefineVueTypings").DefinePropModelRequire<TName, TreeViewItem<any>[], {
223
+ "v-model": {
224
+ type: import("vue").PropType<TreeViewItem<any>[]>;
225
+ required: false;
226
+ };
227
+ } & {
228
+ modelValue: {
229
+ type: import("vue").PropType<TreeViewItem<any>[]>;
230
+ required: false;
231
+ };
232
+ }>;
233
+ defaultValue(value?: TreeViewItem<any>[]): import("../../DefineVueTypings").DefinePropModelDefaultValue<TName, TreeViewItem<any>[], {
234
+ "v-model": {
235
+ type: import("vue").PropType<TreeViewItem<any>[]>;
236
+ required: false;
237
+ };
238
+ } & {
239
+ modelValue: {
240
+ type: import("vue").PropType<TreeViewItem<any>[]>;
241
+ required: false;
242
+ };
243
+ }, false>;
244
+ doc$(description?: string): import("../../DefineVueTypings").DefinePropModelDoc<TName, TreeViewItem<any>[], {
245
+ "v-model": {
246
+ type: import("vue").PropType<TreeViewItem<any>[]>;
247
+ required: false;
248
+ };
249
+ } & {
250
+ modelValue: {
251
+ type: import("vue").PropType<TreeViewItem<any>[]>;
252
+ required: false;
253
+ };
254
+ }>;
255
+ };
109
256
  colorSchemaType?: any;
110
257
  container?: any;
111
258
  colors?: any;
@@ -130,6 +277,55 @@ declare const _default: {
130
277
  items: {
131
278
  type: import("vue").PropType<TreeViewItem<any>[]>;
132
279
  };
280
+ "v-model": {
281
+ type: import("vue").PropType<TreeViewItem<any>[]>;
282
+ required: false;
283
+ };
284
+ modelValue: {
285
+ type: import("vue").PropType<TreeViewItem<any>[]>;
286
+ required: false;
287
+ };
288
+ name: <TName extends string>(n?: TName) => { [key in import("../../DefineVueTypings").VModelKeyNameInJsxElement<TName>]: {
289
+ type: import("vue").PropType<TreeViewItem<any>[]>;
290
+ required: false;
291
+ }; } & { [key_1 in import("../../DefineVueTypings").VModelKeyNameInProps<TName>]: {
292
+ type: import("vue").PropType<TreeViewItem<any>[]>;
293
+ required: false;
294
+ }; } & {
295
+ require(): import("../../DefineVueTypings").DefinePropModelRequire<TName, TreeViewItem<any>[], {
296
+ "v-model": {
297
+ type: import("vue").PropType<TreeViewItem<any>[]>;
298
+ required: false;
299
+ };
300
+ } & {
301
+ modelValue: {
302
+ type: import("vue").PropType<TreeViewItem<any>[]>;
303
+ required: false;
304
+ };
305
+ }>;
306
+ defaultValue(value?: TreeViewItem<any>[]): import("../../DefineVueTypings").DefinePropModelDefaultValue<TName, TreeViewItem<any>[], {
307
+ "v-model": {
308
+ type: import("vue").PropType<TreeViewItem<any>[]>;
309
+ required: false;
310
+ };
311
+ } & {
312
+ modelValue: {
313
+ type: import("vue").PropType<TreeViewItem<any>[]>;
314
+ required: false;
315
+ };
316
+ }, false>;
317
+ doc$(description?: string): import("../../DefineVueTypings").DefinePropModelDoc<TName, TreeViewItem<any>[], {
318
+ "v-model": {
319
+ type: import("vue").PropType<TreeViewItem<any>[]>;
320
+ required: false;
321
+ };
322
+ } & {
323
+ modelValue: {
324
+ type: import("vue").PropType<TreeViewItem<any>[]>;
325
+ required: false;
326
+ };
327
+ }>;
328
+ };
133
329
  colorSchemaType?: any;
134
330
  container?: any;
135
331
  colors?: any;
@@ -147,7 +343,54 @@ declare const _default: {
147
343
  colorSchemaType?: any;
148
344
  colors?: any;
149
345
  } & {
346
+ name?: {
347
+ [x: `v-model:${string}`]: {
348
+ type: import("vue").PropType<TreeViewItem<any>[]>;
349
+ required: false;
350
+ };
351
+ } & {
352
+ [x: string]: {
353
+ type: import("vue").PropType<TreeViewItem<any>[]>;
354
+ required: false;
355
+ };
356
+ } & {
357
+ require(): import("../../DefineVueTypings").DefinePropModelRequire<string, TreeViewItem<any>[], {
358
+ "v-model": {
359
+ type: import("vue").PropType<TreeViewItem<any>[]>;
360
+ required: false;
361
+ };
362
+ } & {
363
+ modelValue: {
364
+ type: import("vue").PropType<TreeViewItem<any>[]>;
365
+ required: false;
366
+ };
367
+ }>;
368
+ defaultValue(value?: TreeViewItem<any>[]): import("../../DefineVueTypings").DefinePropModelDefaultValue<string, TreeViewItem<any>[], {
369
+ "v-model": {
370
+ type: import("vue").PropType<TreeViewItem<any>[]>;
371
+ required: false;
372
+ };
373
+ } & {
374
+ modelValue: {
375
+ type: import("vue").PropType<TreeViewItem<any>[]>;
376
+ required: false;
377
+ };
378
+ }, false>;
379
+ doc$(description?: string): import("../../DefineVueTypings").DefinePropModelDoc<string, TreeViewItem<any>[], {
380
+ "v-model": {
381
+ type: import("vue").PropType<TreeViewItem<any>[]>;
382
+ required: false;
383
+ };
384
+ } & {
385
+ modelValue: {
386
+ type: import("vue").PropType<TreeViewItem<any>[]>;
387
+ required: false;
388
+ };
389
+ }>;
390
+ };
150
391
  multiple?: boolean;
392
+ "v-model"?: TreeViewItem<any>[];
393
+ modelValue?: TreeViewItem<any>[];
151
394
  "v-slots"?: {
152
395
  default?: import("@omnia/fx-models").Func<[VNodeChild]>;
153
396
  } & {
@@ -1,6 +1,6 @@
1
1
  import { ColorSchema, ThemeDefinitionV2 } from "@omnia/fx-models";
2
2
  export declare const ThemeDefinitionPickerStyles: {
3
- menuContainer: (definition: ThemeDefinitionV2) => string;
3
+ menuContainer: (backgroundColor: string) => string;
4
4
  itemContainer: (definition: ThemeDefinitionV2) => string;
5
5
  IconColumn: string;
6
6
  titleColumn: string;
@@ -8,6 +8,11 @@ declare const _default: {
8
8
  colorSchemaType?: any;
9
9
  colors?: any;
10
10
  }> & Omit<Readonly<import("vue").ExtractPropTypes<{
11
+ toned: {
12
+ type: import("vue").PropType<string>;
13
+ } & {
14
+ type: import("vue").PropType<string>;
15
+ };
11
16
  "v-model": {
12
17
  type: import("vue").PropType<Guid>;
13
18
  required: false;
@@ -77,6 +82,11 @@ declare const _default: {
77
82
  $emit: (event: "update:modelValue", theme: ThemeDefinitionV2) => void;
78
83
  $el: any;
79
84
  $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
85
+ toned: {
86
+ type: import("vue").PropType<string>;
87
+ } & {
88
+ type: import("vue").PropType<string>;
89
+ };
80
90
  "v-model": {
81
91
  type: import("vue").PropType<Guid>;
82
92
  required: false;
@@ -158,6 +168,11 @@ declare const _default: {
158
168
  $nextTick: typeof import("vue").nextTick;
159
169
  $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;
160
170
  } & Readonly<import("vue").ExtractPropTypes<{
171
+ toned: {
172
+ type: import("vue").PropType<string>;
173
+ } & {
174
+ type: import("vue").PropType<string>;
175
+ };
161
176
  "v-model": {
162
177
  type: import("vue").PropType<Guid>;
163
178
  required: false;
@@ -217,6 +232,11 @@ declare const _default: {
217
232
  __isTeleport?: never;
218
233
  __isSuspense?: never;
219
234
  } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
235
+ toned: {
236
+ type: import("vue").PropType<string>;
237
+ } & {
238
+ type: import("vue").PropType<string>;
239
+ };
220
240
  "v-model": {
221
241
  type: import("vue").PropType<Guid>;
222
242
  required: false;
@@ -330,6 +350,7 @@ declare const _default: {
330
350
  };
331
351
  "v-model"?: Guid;
332
352
  modelValue?: Guid;
353
+ toned?: string;
333
354
  }> & {
334
355
  "onUpdate:modelValue"?: (theme: ThemeDefinitionV2) => any;
335
356
  };
@@ -1,5 +1,5 @@
1
1
  import { ColorSchema } from "@omnia/fx-models";
2
- export declare const BluePrintSelectorStyles: {
2
+ export declare const BlueprintSelectorStyles: {
3
3
  titleColumn: string;
4
4
  colorPreview: (color: string) => string;
5
5
  itemContainer: (colorSchema: ColorSchema) => string;
@@ -1 +1,70 @@
1
- export declare const useColorSchemaSetup: (props: object) => any;
1
+ export declare const useColorSchemaSetup: (props: object) => {
2
+ state: {
3
+ base: import("@omnia/fx-models").ColorDefinition;
4
+ onBase: import("@omnia/fx-models").ColorDefinition;
5
+ container: import("@omnia/fx-models").ColorDefinition;
6
+ onContainer: import("@omnia/fx-models").ColorDefinition;
7
+ isContainer: boolean;
8
+ name: string;
9
+ colorSchemaType: import("@omnia/fx-models").ColorSchemaType | import("@omnia/fx-models").ColorSchemaTypes;
10
+ };
11
+ get: {
12
+ readonly colorSchema: import("@omnia/fx-models").ColorSchema;
13
+ readonly base: import("@omnia/fx-models").ColorDefinition;
14
+ readonly onBase: import("@omnia/fx-models").ColorDefinition;
15
+ readonly container: import("@omnia/fx-models").ColorDefinition;
16
+ readonly onContainer: import("@omnia/fx-models").ColorDefinition;
17
+ dynamic: (isContainer: boolean) => {
18
+ readonly base: import("@omnia/fx-models").ColorDefinition;
19
+ readonly onBase: import("@omnia/fx-models").ColorDefinition;
20
+ readonly container: import("@omnia/fx-models").ColorDefinition;
21
+ readonly onContainer: import("@omnia/fx-models").ColorDefinition;
22
+ };
23
+ };
24
+ actions: {
25
+ setColorSchema: (colorSchemaType: import("@omnia/fx-models").ColorSchemaType | import("@omnia/fx-models").ColorSchemaTypes, container?: boolean) => void;
26
+ setThemeStore: (themeStoreInstance: {
27
+ state: {
28
+ currentTheme: import("../theming-v2").ThemeDefinitionInstance;
29
+ };
30
+ get: {
31
+ colorSchema: (colorSchemaType: import("@omnia/fx-models").ColorSchemaType | import("@omnia/fx-models").ColorSchemaTypes) => import("@omnia/fx-models").ColorSchema;
32
+ typography: (typographyType: import("@omnia/fx-models").TypographyType | import("@omnia/fx-models").TypographyTypes) => import("@omnia/fx-models").TypographyTypeDefinition;
33
+ color: (colorSchemaType: import("@omnia/fx-models").ColorSchemaType | import("@omnia/fx-models").ColorSchemaTypes, colorType: import("@omnia/fx-models").ColorType | import("@omnia/fx-models").ColorTypes) => string;
34
+ colorDefinition: (colorSchemaType: import("@omnia/fx-models").ColorSchemaType | import("@omnia/fx-models").ColorSchemaTypes, colorType: import("@omnia/fx-models").ColorType | import("@omnia/fx-models").ColorTypes) => import("@omnia/fx-models").ColorDefinition;
35
+ complementaryColorType: (colorType: import("@omnia/fx-models").ColorType | import("@omnia/fx-models").ColorTypes) => import("@omnia/fx-models").ColorTypes;
36
+ complementaryColor: (colorSchemaType: import("@omnia/fx-models").ColorSchemaType | import("@omnia/fx-models").ColorSchemaTypes, colorType: import("@omnia/fx-models").ColorType | import("@omnia/fx-models").ColorTypes) => string;
37
+ complementaryColorDefinition: (colorSchemaType: import("@omnia/fx-models").ColorSchemaType | import("@omnia/fx-models").ColorSchemaTypes, colorType: import("@omnia/fx-models").ColorType | import("@omnia/fx-models").ColorTypes) => import("@omnia/fx-models").ColorDefinition;
38
+ currentTheme: () => import("@omnia/fx-models").ThemeDefinitionV2;
39
+ blueprint: (blueprintType: import("@omnia/fx-models").BlueprintType | import("@omnia/fx-models").BlueprintTypes) => import("../../shared/models/theming/BlueprintDefinition").BlueprintDefinition;
40
+ };
41
+ actions: {
42
+ setTheme: (themeDefinition: import("@omnia/fx-models").ThemeDefinitionV2) => void;
43
+ };
44
+ events: {
45
+ onMutatingCurrentTheme: import("@omnia/fx").EventHook<import("../theming-v2").ThemeDefinitionInstance>;
46
+ onMutatedCurrentTheme: import("@omnia/fx").EventHook<import("../theming-v2").ThemeDefinitionInstance>;
47
+ };
48
+ activated: void;
49
+ }) => void;
50
+ setCustomColorSchema: (colorSchema: import("@omnia/fx-models").ColorSchema, container?: boolean) => void;
51
+ setColor: (colorDefinition: import("@omnia/fx-models").ColorDefinition, colorType: import("@omnia/fx-models").ColorTypes) => void;
52
+ };
53
+ events: {
54
+ onMutatingBase: import("@omnia/fx").EventHook<import("@omnia/fx-models").ColorDefinition>;
55
+ onMutatedBase: import("@omnia/fx").EventHook<import("@omnia/fx-models").ColorDefinition>;
56
+ onMutatingOnBase: import("@omnia/fx").EventHook<import("@omnia/fx-models").ColorDefinition>;
57
+ onMutatedOnBase: import("@omnia/fx").EventHook<import("@omnia/fx-models").ColorDefinition>;
58
+ onMutatingContainer: import("@omnia/fx").EventHook<import("@omnia/fx-models").ColorDefinition>;
59
+ onMutatedContainer: import("@omnia/fx").EventHook<import("@omnia/fx-models").ColorDefinition>;
60
+ onMutatingOnContainer: import("@omnia/fx").EventHook<import("@omnia/fx-models").ColorDefinition>;
61
+ onMutatedOnContainer: import("@omnia/fx").EventHook<import("@omnia/fx-models").ColorDefinition>;
62
+ onMutatingIsContainer: import("@omnia/fx").EventHook<boolean>;
63
+ onMutatedIsContainer: import("@omnia/fx").EventHook<boolean>;
64
+ onMutatingName: import("@omnia/fx").EventHook<string>;
65
+ onMutatedName: import("@omnia/fx").EventHook<string>;
66
+ onMutatingColorSchemaType: import("@omnia/fx").EventHook<import("@omnia/fx-models").ColorSchemaType | import("@omnia/fx-models").ColorSchemaTypes>;
67
+ onMutatedColorSchemaType: import("@omnia/fx").EventHook<import("@omnia/fx-models").ColorSchemaType | import("@omnia/fx-models").ColorSchemaTypes>;
68
+ };
69
+ activated: void;
70
+ };
@@ -2,7 +2,8 @@ import { VelcronComponentDescriptor } from "./VelcronDescriptors";
2
2
  import { VelcronEvent, VelcronOnChangedEvent, VelcronOnClosedEvent, VelcronOnCloseRequestedEvent, VelcronOnLoadEvent, VelcronOnPressEvent } from "./VelcronEvents";
3
3
  import { VelcroncomponentArrayType, VelcronPrimitiveType } from "./VelcronTypes";
4
4
  import { AssignOperators, VelcronHorizontalAlignments, VelcronIconTypes, VelcronActionTypes, VerticalAlignments } from "./Enums";
5
- import { ColorSchema, ColorSchemaType, ColorSchemaTypes, useVelcronThemingStore } from "..";
5
+ import { useVelcronThemingStore } from "..";
6
+ import { useVelcronColorSchemaStore } from "../stores/VelcronColorSchema";
6
7
  export interface ResolvedComponentRenderer {
7
8
  component: unknown;
8
9
  definition: VelcronDefinition;
@@ -19,7 +20,6 @@ export interface BuiltInComponentRenderers {
19
20
  "WebView": unknown;
20
21
  "CustomComponent": unknown;
21
22
  "Dialog": unknown;
22
- "FlexView": unknown;
23
23
  "Icon": unknown;
24
24
  "Chip": unknown;
25
25
  }
@@ -41,8 +41,7 @@ export interface VelcronRenderContext {
41
41
  rootContext: VelcronState;
42
42
  currentContext: VelcronState;
43
43
  theming?: ReturnType<typeof useVelcronThemingStore>;
44
- colorSchemaType?: ColorSchemaTypes | ColorSchemaType;
45
- colorSchema?: ColorSchema;
44
+ colors?: ReturnType<typeof useVelcronColorSchemaStore>;
46
45
  actions?: {
47
46
  [name: string]: [];
48
47
  };
@@ -108,10 +107,12 @@ export interface VelcronDefinitionBase {
108
107
  */
109
108
  key?: string;
110
109
  }
111
- export interface VelcronCustomThemeSettings {
112
- colorSchema?: string;
110
+ export interface VelcronColorStyling {
111
+ colorSchemaType?: string;
113
112
  color?: string;
114
- opacity?: number;
113
+ filled?: boolean;
114
+ container?: boolean;
115
+ toned?: boolean;
115
116
  }
116
117
  export interface VelcronDefinition extends VelcronDefinitionBase {
117
118
  body?: Array<VelcronDefinition>;
@@ -170,7 +171,7 @@ export interface VelcronViewDefinition extends VelcronDefinition {
170
171
  style?: VelcronStyling;
171
172
  events?: VelcronOnPressEvent;
172
173
  }
173
- export interface VelcronCardDefinition extends VelcronDefinition, VelcronCustomThemeSettings {
174
+ export interface VelcronCardDefinition extends VelcronDefinition, VelcronColorStyling {
174
175
  type: "Card";
175
176
  style?: VelcronCardStyling;
176
177
  footer?: Array<VelcronDefinition>;
@@ -196,10 +197,9 @@ export interface VelcronImageDefinition extends VelcronDefinition {
196
197
  borderRadius?: VelcronDimensions;
197
198
  events?: VelcronOnPressEvent;
198
199
  }
199
- export interface VelcronButtonDefinition extends VelcronDefinition {
200
+ export interface VelcronButtonDefinition extends VelcronDefinition, VelcronColorStyling {
200
201
  type: "Button";
201
202
  text: string;
202
- color: string;
203
203
  icon?: VelcronIcon;
204
204
  disabled?: boolean;
205
205
  events?: VelcronOnPressEvent;
@@ -225,14 +225,13 @@ export interface VelcronDialogDefinition extends VelcronDefinition {
225
225
  visible: string;
226
226
  events?: VelcronOnCloseRequestedEvent & VelcronOnClosedEvent;
227
227
  }
228
- export interface VelcronIconDefinition extends VelcronDefinition, VelcronCustomThemeSettings {
228
+ export interface VelcronIconDefinition extends VelcronDefinition, VelcronColorStyling {
229
229
  type: "Icon";
230
230
  icon: string;
231
- background?: boolean;
232
231
  size?: number;
233
232
  events?: VelcronOnPressEvent;
234
233
  }
235
- export interface VelcronFlexViewDefinition extends VelcronDefinition, VelcronCustomThemeSettings {
234
+ export interface VelcronFlexViewDefinition extends VelcronDefinition, VelcronColorStyling {
236
235
  type: "FlexView";
237
236
  column?: boolean;
238
237
  body: Array<VelcronDefinition>;
@@ -253,7 +252,7 @@ export interface VelcronDimensions {
253
252
  export interface VelcronBorder extends VelcronDimensions {
254
253
  color: string;
255
254
  }
256
- export interface VelcronChipDefinition extends VelcronDefinition, VelcronCustomThemeSettings {
255
+ export interface VelcronChipDefinition extends VelcronDefinition, VelcronColorStyling {
257
256
  type: "Chip";
258
257
  text: string;
259
258
  icon?: VelcronIcon;
@@ -1,20 +1,19 @@
1
+ import { FontAwesomeIcon, MaterialIcon } from "@omnia/fx-models";
1
2
  import { VelcronComponentPropertyEditors, VelcronDescriptorTypes, VelcronDataTypes } from "./Enums";
2
3
  import { VelcroncomponentArrayType, VelcronPrimitiveType } from "./VelcronTypes";
3
4
  export interface VelcronDescriptor {
4
5
  descriptorType: VelcronDescriptorTypes;
5
- icon: string;
6
+ icon: FontAwesomeIcon | MaterialIcon;
6
7
  }
7
8
  export interface VelcronComponentDescriptor extends VelcronDescriptor {
8
9
  descriptorType: VelcronDescriptorTypes.component;
9
10
  type: string;
10
- icon: string;
11
11
  properties?: Array<VelcronComponentPropertyDescriptor | VelcronComponentArrayPropertyDescriptor>;
12
12
  events?: Array<VelcronComponentEventDescriptor>;
13
13
  }
14
14
  export interface VelcronSubComponentDescriptor extends VelcronDescriptor {
15
15
  descriptorType: VelcronDescriptorTypes.subComponent;
16
16
  type: string;
17
- icon: string;
18
17
  properties?: Array<VelcronComponentPropertyDescriptor | VelcronComponentArrayPropertyDescriptor>;
19
18
  events?: Array<VelcronComponentEventDescriptor>;
20
19
  }
@@ -7,10 +7,9 @@ export declare const VelcronConstants: {
7
7
  image: string;
8
8
  button: string;
9
9
  textInput: string;
10
- progressCircle: string;
10
+ progress: string;
11
11
  webView: string;
12
12
  dialog: string;
13
- flexView: string;
14
13
  icon: string;
15
14
  chip: string;
16
15
  };
@@ -1,5 +1,4 @@
1
1
  import { BuiltInComponentRenderers, VelcronState, ResolvedComponentRenderer, VelcronCustomComponentDefinition, VelcronDefinition, VelcronRenderContext } from "../models";
2
- import { ColorSchemaType } from "..";
3
2
  export declare class VelcronRenderers {
4
3
  private static components;
5
4
  static registerComponent(type: string, component: any): void;
@@ -15,13 +14,13 @@ export declare class VelcronRenderers {
15
14
  currentTheme: import("..").ThemeDefinitionV2;
16
15
  };
17
16
  get: {
18
- colorSchema: (colorSchemaType: ColorSchemaType | import("..").ColorSchemaTypes) => import("..").ColorSchema;
17
+ colorSchema: (colorSchemaType: import("..").ColorSchemaType | import("..").ColorSchemaTypes) => import("..").ColorSchema;
19
18
  typography: (typographyType: import("..").TypographyType | import("..").TypographyTypes) => import("..").TypographyTypeDefinition;
20
- color: (colorSchemaType: ColorSchemaType | import("..").ColorSchemaTypes, colorType: import("..").ColorType | import("..").ColorTypes) => string;
21
- colorDefinition: (colorSchemaType: ColorSchemaType | import("..").ColorSchemaTypes, colorType: import("..").ColorType | import("..").ColorTypes) => import("..").ColorDefinition;
19
+ color: (colorSchemaType: import("..").ColorSchemaType | import("..").ColorSchemaTypes, colorType: import("..").ColorType | import("..").ColorTypes) => string;
20
+ colorDefinition: (colorSchemaType: import("..").ColorSchemaType | import("..").ColorSchemaTypes, colorType: import("..").ColorType | import("..").ColorTypes) => import("..").ColorDefinition;
22
21
  complementaryColorType: (colorType: import("..").ColorType | import("..").ColorTypes) => import("..").ColorTypes;
23
- complementaryColor: (colorSchemaType: ColorSchemaType | import("..").ColorSchemaTypes, colorType: import("..").ColorType | import("..").ColorTypes) => string;
24
- complementaryColorDefinition: (colorSchemaType: ColorSchemaType | import("..").ColorSchemaTypes, colorType: import("..").ColorType | import("..").ColorTypes) => import("..").ColorDefinition;
22
+ complementaryColor: (colorSchemaType: import("..").ColorSchemaType | import("..").ColorSchemaTypes, colorType: import("..").ColorType | import("..").ColorTypes) => string;
23
+ complementaryColorDefinition: (colorSchemaType: import("..").ColorSchemaType | import("..").ColorSchemaTypes, colorType: import("..").ColorType | import("..").ColorTypes) => import("..").ColorDefinition;
25
24
  currentTheme: () => import("..").ThemeDefinitionV2;
26
25
  };
27
26
  actions: {
@@ -37,6 +36,63 @@ export declare class VelcronRenderers {
37
36
  computed: {
38
37
  [name: string]: [];
39
38
  };
39
+ colors: {
40
+ state: {
41
+ base: import("..").ColorDefinition;
42
+ onBase: import("..").ColorDefinition;
43
+ container: import("..").ColorDefinition;
44
+ onContainer: import("..").ColorDefinition;
45
+ isContainer: boolean;
46
+ name: string;
47
+ colorSchemaType: import("..").ColorSchemaType | import("..").ColorSchemaTypes;
48
+ themeStore: {
49
+ state: {
50
+ currentTheme: import("..").ThemeDefinitionV2;
51
+ };
52
+ get: {
53
+ colorSchema: (colorSchemaType: import("..").ColorSchemaType | import("..").ColorSchemaTypes) => import("..").ColorSchema;
54
+ typography: (typographyType: import("..").TypographyType | import("..").TypographyTypes) => import("..").TypographyTypeDefinition;
55
+ color: (colorSchemaType: import("..").ColorSchemaType | import("..").ColorSchemaTypes, colorType: import("..").ColorType | import("..").ColorTypes) => string;
56
+ colorDefinition: (colorSchemaType: import("..").ColorSchemaType | import("..").ColorSchemaTypes, colorType: import("..").ColorType | import("..").ColorTypes) => import("..").ColorDefinition;
57
+ complementaryColorType: (colorType: import("..").ColorType | import("..").ColorTypes) => import("..").ColorTypes;
58
+ complementaryColor: (colorSchemaType: import("..").ColorSchemaType | import("..").ColorSchemaTypes, colorType: import("..").ColorType | import("..").ColorTypes) => string;
59
+ complementaryColorDefinition: (colorSchemaType: import("..").ColorSchemaType | import("..").ColorSchemaTypes, colorType: import("..").ColorType | import("..").ColorTypes) => import("..").ColorDefinition;
60
+ currentTheme: () => import("..").ThemeDefinitionV2;
61
+ };
62
+ actions: {
63
+ setTheme(newTheme: import("..").ThemeDefinitionV2): void;
64
+ };
65
+ };
66
+ };
67
+ get: {
68
+ readonly colorSchema: import("..").ColorSchema;
69
+ readonly base: import("..").ColorDefinition;
70
+ readonly onBase: import("..").ColorDefinition;
71
+ readonly container: import("..").ColorDefinition;
72
+ readonly onContainer: import("..").ColorDefinition;
73
+ };
74
+ actions: {
75
+ setThemeStore: (themeStoreInstance: {
76
+ state: {
77
+ currentTheme: import("..").ThemeDefinitionV2;
78
+ };
79
+ get: {
80
+ colorSchema: (colorSchemaType: import("..").ColorSchemaType | import("..").ColorSchemaTypes) => import("..").ColorSchema;
81
+ typography: (typographyType: import("..").TypographyType | import("..").TypographyTypes) => import("..").TypographyTypeDefinition;
82
+ color: (colorSchemaType: import("..").ColorSchemaType | import("..").ColorSchemaTypes, colorType: import("..").ColorType | import("..").ColorTypes) => string;
83
+ colorDefinition: (colorSchemaType: import("..").ColorSchemaType | import("..").ColorSchemaTypes, colorType: import("..").ColorType | import("..").ColorTypes) => import("..").ColorDefinition;
84
+ complementaryColorType: (colorType: import("..").ColorType | import("..").ColorTypes) => import("..").ColorTypes;
85
+ complementaryColor: (colorSchemaType: import("..").ColorSchemaType | import("..").ColorSchemaTypes, colorType: import("..").ColorType | import("..").ColorTypes) => string;
86
+ complementaryColorDefinition: (colorSchemaType: import("..").ColorSchemaType | import("..").ColorSchemaTypes, colorType: import("..").ColorType | import("..").ColorTypes) => import("..").ColorDefinition;
87
+ currentTheme: () => import("..").ThemeDefinitionV2;
88
+ };
89
+ actions: {
90
+ setTheme(newTheme: import("..").ThemeDefinitionV2): void;
91
+ };
92
+ }, colorSchemaType?: import("..").ColorSchemaType | import("..").ColorSchemaTypes) => void;
93
+ setColorSchema: (colorSchemaType: import("..").ColorSchemaType, container?: boolean) => void;
94
+ };
95
+ };
40
96
  };
41
97
  static ensureRenderContext(rendererInfo: ResolvedComponentRenderer, definition: VelcronDefinition, currentRenderCtx: VelcronRenderContext, newViewModel?: VelcronState): VelcronRenderContext;
42
98
  }
@@ -1,10 +1,10 @@
1
- import { VelcronBorder, VelcronCustomThemeSettings, VelcronDefinition, VelcronDimensions, VelcronRenderContext } from "../models";
1
+ import { VelcronBorder, VelcronColorStyling, VelcronDefinition, VelcronDimensions, VelcronRenderContext } from "../models";
2
2
  import { VelcronUnitProvider } from "../models/VelcronUnitProvider";
3
3
  export declare class VelcronStyles {
4
4
  static styleProvider: (baseStyles: object, definition: VelcronDefinition, renderCtx: VelcronRenderContext) => any;
5
5
  static unitProvider: VelcronUnitProvider;
6
6
  static registerStyleProvider(fn: (styleBase: object, definition: VelcronDefinition, renderCtx: VelcronRenderContext) => object | string, unitProvider: VelcronUnitProvider): void;
7
- static insertBackgroundColor(styleBase: any, definition: VelcronCustomThemeSettings, renderCtx: VelcronRenderContext): void;
7
+ static insertBackgroundColor(styleBase: any, definition: VelcronColorStyling, renderCtx: VelcronRenderContext): void;
8
8
  static insertBorderRadiusStyles(styleBase: any, settings: VelcronDimensions): void;
9
9
  static insertBorderStyles(styleBase: any, borderSettings: VelcronBorder, renderCtx: VelcronRenderContext): void;
10
10
  static create(definition: VelcronDefinition, renderCtx: VelcronRenderContext): object | string;