@omnia/fx 8.0.135-dev → 8.0.137-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.
- package/internal-do-not-import-from-here/manifests/omnia.fx.manifest.json +1 -1
- package/internal-do-not-import-from-here/manifests/omnia.fx.ux.manifest.json +1 -1
- package/internal-do-not-import-from-here/stores/DefineStore.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/colorpickerV2/ColorPicker.css.d.ts +2 -1
- package/internal-do-not-import-from-here/ux/colorpickerV2/ColorPicker.d.ts +29 -0
- package/internal-do-not-import-from-here/ux/colorschemapicker/ColorSchemaPicker.d.ts +29 -0
- package/internal-do-not-import-from-here/ux/enterpriseglossary/componentbase/EnterpriseGlossaryTermComponentBase.d.ts +113 -41
- package/internal-do-not-import-from-here/ux/journey/JourneyPlaceHolder.d.ts +3 -38
- package/internal-do-not-import-from-here/ux/journey/JourneyRouter.d.ts +8 -0
- package/internal-do-not-import-from-here/ux/journey/stores/JourneyRouterStore.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/journey/stores/index.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/oxide/chip/Chip.d.ts +10 -0
- package/internal-do-not-import-from-here/ux/oxide/colorpicker/ColorPicker.d.ts +29 -0
- package/internal-do-not-import-from-here/ux/oxide/datatable/DataTable.css.d.ts +253 -72
- package/internal-do-not-import-from-here/ux/oxide/datatable/DataTable.d.ts +506 -144
- package/internal-do-not-import-from-here/ux/oxide/menu/Menu.d.ts +29 -0
- package/internal-do-not-import-from-here/ux/oxide/select/Select.d.ts +506 -144
- package/internal-do-not-import-from-here/ux/theming-v2/admin/blades/blueprints/typography/store/TypographyEditorStore.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/theming-v2/admin/blades/themes/store/ThemeEditorStore.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/theming-v2/designkits/core/DefinitionsChrome.d.ts +10 -10
- package/internal-do-not-import-from-here/ux/theming-v2/designkits/documentation/themes/BlueprintsTypography.d.ts +3 -3
- package/internal-do-not-import-from-here/ux/theming-v2/designkits/editor/themes/BlueprintsTypography.d.ts +4 -4
- package/internal-do-not-import-from-here/ux/theming-v2/designkits/shared/BlueprintsTemplates.d.ts +8 -8
- package/internal-do-not-import-from-here/ux/theming-v2/designkits/shared/ThemeDefinitionInstance.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/theming-v2/designkits/shared/TypographyBlueprints.d.ts +5 -5
- package/internal-do-not-import-from-here/ux/theming-v2/store/BlueprintTemplatesStore.d.ts +38 -28
- package/internal-do-not-import-from-here/ux/theming-v2/store/ChromeBlueprintStore.d.ts +210 -72
- package/internal-do-not-import-from-here/ux/theming-v2/store/ColorSchemaDefinitionStore.d.ts +20 -8
- package/internal-do-not-import-from-here/ux/theming-v2/store/ColorSchemaStore.d.ts +210 -72
- package/internal-do-not-import-from-here/ux/theming-v2/store/ComponentBlueprintStore.d.ts +13 -4897
- package/internal-do-not-import-from-here/ux/theming-v2/store/SpacingBlueprintStore.d.ts +210 -72
- package/internal-do-not-import-from-here/ux/theming-v2/store/ThemeContextStore.d.ts +406 -0
- package/internal-do-not-import-from-here/ux/theming-v2/store/ThemeDefinitionStoreV2.d.ts +17 -7
- package/internal-do-not-import-from-here/ux/theming-v2/store/ThemeStoreV2.d.ts +43 -0
- package/internal-do-not-import-from-here/ux/theming-v2/store/ThemingService.d.ts +45 -0
- package/internal-do-not-import-from-here/ux/theming-v2/store/TypographyBlueprintStore.d.ts +210 -72
- package/internal-do-not-import-from-here/ux/theming-v2/store/tmpUseIndexDb.d.ts +69 -0
- package/internal-do-not-import-from-here/ux/theming-v2/themeprovider/ThemeProvider.d.ts +0 -8
- package/internal-do-not-import-from-here/ux/use/UseColorSchemaSetup.d.ts +253 -72
- package/internal-do-not-import-from-here/ux/use/UseWebNotification.d.ts +4 -4
- package/internal-do-not-import-from-here/ux/use/index.d.ts +0 -1
- package/internal-do-not-import-from-here/ux/velcron/core/events/CreateEventHook.d.ts +5 -0
- package/internal-do-not-import-from-here/ux/velcron/core/events/index.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/velcron/core/index.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/velcron/core/models/VelcronDefinitions.d.ts +5 -2
- package/internal-do-not-import-from-here/ux/versionedlayout/blade/VersionedLayoutBladeBuilder.d.ts +11 -3
- package/internal-do-not-import-from-here/wctypings.d.ts +41 -0
- package/package.json +3 -3
- package/internal-do-not-import-from-here/ux/enterpriseglossary/componentbase/index.d.ts +0 -2
- package/internal-do-not-import-from-here/ux/use/UseEventHook.d.ts +0 -14
@@ -44,6 +44,49 @@ export declare const useTypographyBlueprintStore: () => {
|
|
44
44
|
setTheme(themeDefinition: import("@omnia/fx-models").ThemeDefinitionV2): void;
|
45
45
|
};
|
46
46
|
get: {
|
47
|
+
componentBlueprintStore(): {
|
48
|
+
state: {
|
49
|
+
blueprints: import("@omnia/fx-models").ComponentBlueprints;
|
50
|
+
};
|
51
|
+
events: {
|
52
|
+
onMutatedBlueprints: import("@omnia/fx").MessageBusExposeOnlySubscription<import("@omnia/fx-models").ComponentBlueprints>;
|
53
|
+
} & Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>;
|
54
|
+
actions: {
|
55
|
+
onDispatching: {
|
56
|
+
setBlueprint: {
|
57
|
+
subscribe(fn: (type: "default") => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
58
|
+
};
|
59
|
+
setBluePrints: {
|
60
|
+
subscribe(fn: (componentBlueprints: import("@omnia/fx-models").ComponentBlueprints) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
61
|
+
};
|
62
|
+
};
|
63
|
+
onDispatched: {
|
64
|
+
setBlueprint: {
|
65
|
+
subscribe(fn: (result: void, type: "default") => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
66
|
+
};
|
67
|
+
setBluePrints: {
|
68
|
+
subscribe(fn: (result: void, componentBlueprints: import("@omnia/fx-models").ComponentBlueprints) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
69
|
+
};
|
70
|
+
};
|
71
|
+
onFailure: {
|
72
|
+
setBlueprint: {
|
73
|
+
subscribe(fn: (failureReason: any, type: "default") => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
74
|
+
};
|
75
|
+
setBluePrints: {
|
76
|
+
subscribe(fn: (failureReason: any, componentBlueprints: import("@omnia/fx-models").ComponentBlueprints) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
77
|
+
};
|
78
|
+
};
|
79
|
+
} & {
|
80
|
+
setBlueprint(type: "default"): void;
|
81
|
+
setBluePrints(componentBlueprints: import("@omnia/fx-models").ComponentBlueprints): void;
|
82
|
+
};
|
83
|
+
get: {
|
84
|
+
byType<TType extends import("@omnia/fx-models").Blueprint>(type: import("@omnia/fx-models").WebBlueprintItemDefintionType): any;
|
85
|
+
readonly blueprints: import("@omnia/fx-models").ComponentBlueprints;
|
86
|
+
buttonBlueprint(type: import("@omnia/fx-models").ButtonBlueprintType, buttonType: import("@omnia/fx-models").ButtonTypes): import("@omnia/fx-models").ButtonBlueprint;
|
87
|
+
};
|
88
|
+
deactivated(): void;
|
89
|
+
};
|
47
90
|
colorSchema(colorSchemaType: "info" | "error" | "primary" | "secondary" | import("@omnia/fx-models").ColorSchemaTypes | "accent1" | "accent2" | "accent3" | "neutral" | "warning" | "notification" | "background" | "dynamic"): import("@omnia/fx-models").ColorSchema;
|
48
91
|
typography(): import("@omnia/fx-models").TypographyBlueprints;
|
49
92
|
spacing(): import("@omnia/fx-models").SpacingBlueprints;
|
@@ -90,6 +133,49 @@ export declare const useTypographyBlueprintStore: () => {
|
|
90
133
|
setTheme(themeDefinition: import("@omnia/fx-models").ThemeDefinitionV2): void;
|
91
134
|
};
|
92
135
|
get: {
|
136
|
+
componentBlueprintStore(): {
|
137
|
+
state: {
|
138
|
+
blueprints: import("@omnia/fx-models").ComponentBlueprints;
|
139
|
+
};
|
140
|
+
events: {
|
141
|
+
onMutatedBlueprints: import("@omnia/fx").MessageBusExposeOnlySubscription<import("@omnia/fx-models").ComponentBlueprints>;
|
142
|
+
} & Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>;
|
143
|
+
actions: {
|
144
|
+
onDispatching: {
|
145
|
+
setBlueprint: {
|
146
|
+
subscribe(fn: (type: "default") => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
147
|
+
};
|
148
|
+
setBluePrints: {
|
149
|
+
subscribe(fn: (componentBlueprints: import("@omnia/fx-models").ComponentBlueprints) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
150
|
+
};
|
151
|
+
};
|
152
|
+
onDispatched: {
|
153
|
+
setBlueprint: {
|
154
|
+
subscribe(fn: (result: void, type: "default") => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
155
|
+
};
|
156
|
+
setBluePrints: {
|
157
|
+
subscribe(fn: (result: void, componentBlueprints: import("@omnia/fx-models").ComponentBlueprints) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
158
|
+
};
|
159
|
+
};
|
160
|
+
onFailure: {
|
161
|
+
setBlueprint: {
|
162
|
+
subscribe(fn: (failureReason: any, type: "default") => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
163
|
+
};
|
164
|
+
setBluePrints: {
|
165
|
+
subscribe(fn: (failureReason: any, componentBlueprints: import("@omnia/fx-models").ComponentBlueprints) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
166
|
+
};
|
167
|
+
};
|
168
|
+
} & {
|
169
|
+
setBlueprint(type: "default"): void;
|
170
|
+
setBluePrints(componentBlueprints: import("@omnia/fx-models").ComponentBlueprints): void;
|
171
|
+
};
|
172
|
+
get: {
|
173
|
+
byType<TType extends import("@omnia/fx-models").Blueprint>(type: import("@omnia/fx-models").WebBlueprintItemDefintionType): any;
|
174
|
+
readonly blueprints: import("@omnia/fx-models").ComponentBlueprints;
|
175
|
+
buttonBlueprint(type: import("@omnia/fx-models").ButtonBlueprintType, buttonType: import("@omnia/fx-models").ButtonTypes): import("@omnia/fx-models").ButtonBlueprint;
|
176
|
+
};
|
177
|
+
deactivated(): void;
|
178
|
+
};
|
93
179
|
colorSchema(colorSchemaType: "info" | "error" | "primary" | "secondary" | import("@omnia/fx-models").ColorSchemaTypes | "accent1" | "accent2" | "accent3" | "neutral" | "warning" | "notification" | "background" | "dynamic"): import("@omnia/fx-models").ColorSchema;
|
94
180
|
typography(): import("@omnia/fx-models").TypographyBlueprints;
|
95
181
|
spacing(): import("@omnia/fx-models").SpacingBlueprints;
|
@@ -136,6 +222,49 @@ export declare const useTypographyBlueprintStore: () => {
|
|
136
222
|
setTheme(themeDefinition: import("@omnia/fx-models").ThemeDefinitionV2): void;
|
137
223
|
};
|
138
224
|
get: {
|
225
|
+
componentBlueprintStore(): {
|
226
|
+
state: {
|
227
|
+
blueprints: import("@omnia/fx-models").ComponentBlueprints;
|
228
|
+
};
|
229
|
+
events: {
|
230
|
+
onMutatedBlueprints: import("@omnia/fx").MessageBusExposeOnlySubscription<import("@omnia/fx-models").ComponentBlueprints>;
|
231
|
+
} & Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>;
|
232
|
+
actions: {
|
233
|
+
onDispatching: {
|
234
|
+
setBlueprint: {
|
235
|
+
subscribe(fn: (type: "default") => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
236
|
+
};
|
237
|
+
setBluePrints: {
|
238
|
+
subscribe(fn: (componentBlueprints: import("@omnia/fx-models").ComponentBlueprints) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
239
|
+
};
|
240
|
+
};
|
241
|
+
onDispatched: {
|
242
|
+
setBlueprint: {
|
243
|
+
subscribe(fn: (result: void, type: "default") => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
244
|
+
};
|
245
|
+
setBluePrints: {
|
246
|
+
subscribe(fn: (result: void, componentBlueprints: import("@omnia/fx-models").ComponentBlueprints) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
247
|
+
};
|
248
|
+
};
|
249
|
+
onFailure: {
|
250
|
+
setBlueprint: {
|
251
|
+
subscribe(fn: (failureReason: any, type: "default") => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
252
|
+
};
|
253
|
+
setBluePrints: {
|
254
|
+
subscribe(fn: (failureReason: any, componentBlueprints: import("@omnia/fx-models").ComponentBlueprints) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
255
|
+
};
|
256
|
+
};
|
257
|
+
} & {
|
258
|
+
setBlueprint(type: "default"): void;
|
259
|
+
setBluePrints(componentBlueprints: import("@omnia/fx-models").ComponentBlueprints): void;
|
260
|
+
};
|
261
|
+
get: {
|
262
|
+
byType<TType extends import("@omnia/fx-models").Blueprint>(type: import("@omnia/fx-models").WebBlueprintItemDefintionType): any;
|
263
|
+
readonly blueprints: import("@omnia/fx-models").ComponentBlueprints;
|
264
|
+
buttonBlueprint(type: import("@omnia/fx-models").ButtonBlueprintType, buttonType: import("@omnia/fx-models").ButtonTypes): import("@omnia/fx-models").ButtonBlueprint;
|
265
|
+
};
|
266
|
+
deactivated(): void;
|
267
|
+
};
|
139
268
|
colorSchema(colorSchemaType: "info" | "error" | "primary" | "secondary" | import("@omnia/fx-models").ColorSchemaTypes | "accent1" | "accent2" | "accent3" | "neutral" | "warning" | "notification" | "background" | "dynamic"): import("@omnia/fx-models").ColorSchema;
|
140
269
|
typography(): import("@omnia/fx-models").TypographyBlueprints;
|
141
270
|
spacing(): import("@omnia/fx-models").SpacingBlueprints;
|
@@ -182,12 +311,10 @@ export declare const useTypographyBlueprintStore: () => {
|
|
182
311
|
colorToned: string;
|
183
312
|
};
|
184
313
|
id: {
|
185
|
-
|
314
|
+
toString: () => string;
|
315
|
+
equals?: {
|
186
316
|
guid: (value: import("@omnia/fx-models").GuidValue) => boolean;
|
187
317
|
};
|
188
|
-
toString: () => string;
|
189
|
-
toJSON: () => string;
|
190
|
-
valueOf: () => string;
|
191
318
|
};
|
192
319
|
};
|
193
320
|
secondary: {
|
@@ -213,12 +340,10 @@ export declare const useTypographyBlueprintStore: () => {
|
|
213
340
|
colorToned: string;
|
214
341
|
};
|
215
342
|
id: {
|
216
|
-
|
343
|
+
toString: () => string;
|
344
|
+
equals?: {
|
217
345
|
guid: (value: import("@omnia/fx-models").GuidValue) => boolean;
|
218
346
|
};
|
219
|
-
toString: () => string;
|
220
|
-
toJSON: () => string;
|
221
|
-
valueOf: () => string;
|
222
347
|
};
|
223
348
|
};
|
224
349
|
accent1: {
|
@@ -244,12 +369,10 @@ export declare const useTypographyBlueprintStore: () => {
|
|
244
369
|
colorToned: string;
|
245
370
|
};
|
246
371
|
id: {
|
247
|
-
|
372
|
+
toString: () => string;
|
373
|
+
equals?: {
|
248
374
|
guid: (value: import("@omnia/fx-models").GuidValue) => boolean;
|
249
375
|
};
|
250
|
-
toString: () => string;
|
251
|
-
toJSON: () => string;
|
252
|
-
valueOf: () => string;
|
253
376
|
};
|
254
377
|
};
|
255
378
|
accent2: {
|
@@ -275,12 +398,10 @@ export declare const useTypographyBlueprintStore: () => {
|
|
275
398
|
colorToned: string;
|
276
399
|
};
|
277
400
|
id: {
|
278
|
-
|
401
|
+
toString: () => string;
|
402
|
+
equals?: {
|
279
403
|
guid: (value: import("@omnia/fx-models").GuidValue) => boolean;
|
280
404
|
};
|
281
|
-
toString: () => string;
|
282
|
-
toJSON: () => string;
|
283
|
-
valueOf: () => string;
|
284
405
|
};
|
285
406
|
};
|
286
407
|
accent3: {
|
@@ -306,12 +427,10 @@ export declare const useTypographyBlueprintStore: () => {
|
|
306
427
|
colorToned: string;
|
307
428
|
};
|
308
429
|
id: {
|
309
|
-
|
430
|
+
toString: () => string;
|
431
|
+
equals?: {
|
310
432
|
guid: (value: import("@omnia/fx-models").GuidValue) => boolean;
|
311
433
|
};
|
312
|
-
toString: () => string;
|
313
|
-
toJSON: () => string;
|
314
|
-
valueOf: () => string;
|
315
434
|
};
|
316
435
|
};
|
317
436
|
neutral: {
|
@@ -337,12 +456,10 @@ export declare const useTypographyBlueprintStore: () => {
|
|
337
456
|
colorToned: string;
|
338
457
|
};
|
339
458
|
id: {
|
340
|
-
|
459
|
+
toString: () => string;
|
460
|
+
equals?: {
|
341
461
|
guid: (value: import("@omnia/fx-models").GuidValue) => boolean;
|
342
462
|
};
|
343
|
-
toString: () => string;
|
344
|
-
toJSON: () => string;
|
345
|
-
valueOf: () => string;
|
346
463
|
};
|
347
464
|
};
|
348
465
|
background: {
|
@@ -368,12 +485,10 @@ export declare const useTypographyBlueprintStore: () => {
|
|
368
485
|
colorToned: string;
|
369
486
|
};
|
370
487
|
id: {
|
371
|
-
|
488
|
+
toString: () => string;
|
489
|
+
equals?: {
|
372
490
|
guid: (value: import("@omnia/fx-models").GuidValue) => boolean;
|
373
491
|
};
|
374
|
-
toString: () => string;
|
375
|
-
toJSON: () => string;
|
376
|
-
valueOf: () => string;
|
377
492
|
};
|
378
493
|
};
|
379
494
|
error: {
|
@@ -399,12 +514,10 @@ export declare const useTypographyBlueprintStore: () => {
|
|
399
514
|
colorToned: string;
|
400
515
|
};
|
401
516
|
id: {
|
402
|
-
|
517
|
+
toString: () => string;
|
518
|
+
equals?: {
|
403
519
|
guid: (value: import("@omnia/fx-models").GuidValue) => boolean;
|
404
520
|
};
|
405
|
-
toString: () => string;
|
406
|
-
toJSON: () => string;
|
407
|
-
valueOf: () => string;
|
408
521
|
};
|
409
522
|
};
|
410
523
|
info: {
|
@@ -430,12 +543,10 @@ export declare const useTypographyBlueprintStore: () => {
|
|
430
543
|
colorToned: string;
|
431
544
|
};
|
432
545
|
id: {
|
433
|
-
|
546
|
+
toString: () => string;
|
547
|
+
equals?: {
|
434
548
|
guid: (value: import("@omnia/fx-models").GuidValue) => boolean;
|
435
549
|
};
|
436
|
-
toString: () => string;
|
437
|
-
toJSON: () => string;
|
438
|
-
valueOf: () => string;
|
439
550
|
};
|
440
551
|
};
|
441
552
|
warning: {
|
@@ -461,12 +572,10 @@ export declare const useTypographyBlueprintStore: () => {
|
|
461
572
|
colorToned: string;
|
462
573
|
};
|
463
574
|
id: {
|
464
|
-
|
575
|
+
toString: () => string;
|
576
|
+
equals?: {
|
465
577
|
guid: (value: import("@omnia/fx-models").GuidValue) => boolean;
|
466
578
|
};
|
467
|
-
toString: () => string;
|
468
|
-
toJSON: () => string;
|
469
|
-
valueOf: () => string;
|
470
579
|
};
|
471
580
|
};
|
472
581
|
notification: {
|
@@ -492,12 +601,10 @@ export declare const useTypographyBlueprintStore: () => {
|
|
492
601
|
colorToned: string;
|
493
602
|
};
|
494
603
|
id: {
|
495
|
-
|
604
|
+
toString: () => string;
|
605
|
+
equals?: {
|
496
606
|
guid: (value: import("@omnia/fx-models").GuidValue) => boolean;
|
497
607
|
};
|
498
|
-
toString: () => string;
|
499
|
-
toJSON: () => string;
|
500
|
-
valueOf: () => string;
|
501
608
|
};
|
502
609
|
};
|
503
610
|
};
|
@@ -506,12 +613,10 @@ export declare const useTypographyBlueprintStore: () => {
|
|
506
613
|
name: string;
|
507
614
|
font?: {
|
508
615
|
id: {
|
509
|
-
|
616
|
+
toString: () => string;
|
617
|
+
equals?: {
|
510
618
|
guid: (value: import("@omnia/fx-models").GuidValue) => boolean;
|
511
619
|
};
|
512
|
-
toString: () => string;
|
513
|
-
toJSON: () => string;
|
514
|
-
valueOf: () => string;
|
515
620
|
};
|
516
621
|
family: string;
|
517
622
|
cdn?: string;
|
@@ -743,12 +848,10 @@ export declare const useTypographyBlueprintStore: () => {
|
|
743
848
|
};
|
744
849
|
name?: string;
|
745
850
|
id: {
|
746
|
-
|
851
|
+
toString: () => string;
|
852
|
+
equals?: {
|
747
853
|
guid: (value: import("@omnia/fx-models").GuidValue) => boolean;
|
748
854
|
};
|
749
|
-
toString: () => string;
|
750
|
-
toJSON: () => string;
|
751
|
-
valueOf: () => string;
|
752
855
|
};
|
753
856
|
};
|
754
857
|
spacing: {
|
@@ -772,12 +875,10 @@ export declare const useTypographyBlueprintStore: () => {
|
|
772
875
|
};
|
773
876
|
name?: string;
|
774
877
|
id: {
|
775
|
-
|
878
|
+
toString: () => string;
|
879
|
+
equals?: {
|
776
880
|
guid: (value: import("@omnia/fx-models").GuidValue) => boolean;
|
777
881
|
};
|
778
|
-
toString: () => string;
|
779
|
-
toJSON: () => string;
|
780
|
-
valueOf: () => string;
|
781
882
|
};
|
782
883
|
};
|
783
884
|
components: {
|
@@ -4098,7 +4199,7 @@ export declare const useTypographyBlueprintStore: () => {
|
|
4098
4199
|
events?: {
|
4099
4200
|
onLoaded?: string[];
|
4100
4201
|
onEditMode?: string[];
|
4101
|
-
|
4202
|
+
onSaving?: string[];
|
4102
4203
|
};
|
4103
4204
|
actions?: {
|
4104
4205
|
[name: string]: string[];
|
@@ -4299,7 +4400,7 @@ export declare const useTypographyBlueprintStore: () => {
|
|
4299
4400
|
events?: {
|
4300
4401
|
onLoaded?: string[];
|
4301
4402
|
onEditMode?: string[];
|
4302
|
-
|
4403
|
+
onSaving?: string[];
|
4303
4404
|
};
|
4304
4405
|
actions?: {
|
4305
4406
|
[name: string]: string[];
|
@@ -4500,7 +4601,7 @@ export declare const useTypographyBlueprintStore: () => {
|
|
4500
4601
|
events?: {
|
4501
4602
|
onLoaded?: string[];
|
4502
4603
|
onEditMode?: string[];
|
4503
|
-
|
4604
|
+
onSaving?: string[];
|
4504
4605
|
};
|
4505
4606
|
actions?: {
|
4506
4607
|
[name: string]: string[];
|
@@ -4701,7 +4802,7 @@ export declare const useTypographyBlueprintStore: () => {
|
|
4701
4802
|
events?: {
|
4702
4803
|
onLoaded?: string[];
|
4703
4804
|
onEditMode?: string[];
|
4704
|
-
|
4805
|
+
onSaving?: string[];
|
4705
4806
|
};
|
4706
4807
|
actions?: {
|
4707
4808
|
[name: string]: string[];
|
@@ -4852,31 +4953,25 @@ export declare const useTypographyBlueprintStore: () => {
|
|
4852
4953
|
};
|
4853
4954
|
name?: string;
|
4854
4955
|
id: {
|
4855
|
-
|
4956
|
+
toString: () => string;
|
4957
|
+
equals?: {
|
4856
4958
|
guid: (value: import("@omnia/fx-models").GuidValue) => boolean;
|
4857
4959
|
};
|
4858
|
-
toString: () => string;
|
4859
|
-
toJSON: () => string;
|
4860
|
-
valueOf: () => string;
|
4861
4960
|
};
|
4862
4961
|
};
|
4863
4962
|
name?: string;
|
4864
4963
|
id: {
|
4865
|
-
|
4964
|
+
toString: () => string;
|
4965
|
+
equals?: {
|
4866
4966
|
guid: (value: import("@omnia/fx-models").GuidValue) => boolean;
|
4867
4967
|
};
|
4868
|
-
toString: () => string;
|
4869
|
-
toJSON: () => string;
|
4870
|
-
valueOf: () => string;
|
4871
4968
|
};
|
4872
4969
|
};
|
4873
4970
|
id: {
|
4874
|
-
|
4971
|
+
toString: () => string;
|
4972
|
+
equals?: {
|
4875
4973
|
guid: (value: import("@omnia/fx-models").GuidValue) => boolean;
|
4876
4974
|
};
|
4877
|
-
toString: () => string;
|
4878
|
-
toJSON: () => string;
|
4879
|
-
valueOf: () => string;
|
4880
4975
|
};
|
4881
4976
|
name?: string;
|
4882
4977
|
};
|
@@ -4909,6 +5004,49 @@ export declare const useTypographyBlueprintStore: () => {
|
|
4909
5004
|
setTheme: (themeDefinition: import("@omnia/fx-models").ThemeDefinitionV2) => void;
|
4910
5005
|
};
|
4911
5006
|
get: {
|
5007
|
+
componentBlueprintStore: () => {
|
5008
|
+
state: {
|
5009
|
+
blueprints: import("@omnia/fx-models").ComponentBlueprints;
|
5010
|
+
};
|
5011
|
+
events: {
|
5012
|
+
onMutatedBlueprints: import("@omnia/fx").MessageBusExposeOnlySubscription<import("@omnia/fx-models").ComponentBlueprints>;
|
5013
|
+
} & Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>;
|
5014
|
+
actions: {
|
5015
|
+
onDispatching: {
|
5016
|
+
setBlueprint: {
|
5017
|
+
subscribe(fn: (type: "default") => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
5018
|
+
};
|
5019
|
+
setBluePrints: {
|
5020
|
+
subscribe(fn: (componentBlueprints: import("@omnia/fx-models").ComponentBlueprints) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
5021
|
+
};
|
5022
|
+
};
|
5023
|
+
onDispatched: {
|
5024
|
+
setBlueprint: {
|
5025
|
+
subscribe(fn: (result: void, type: "default") => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
5026
|
+
};
|
5027
|
+
setBluePrints: {
|
5028
|
+
subscribe(fn: (result: void, componentBlueprints: import("@omnia/fx-models").ComponentBlueprints) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
5029
|
+
};
|
5030
|
+
};
|
5031
|
+
onFailure: {
|
5032
|
+
setBlueprint: {
|
5033
|
+
subscribe(fn: (failureReason: any, type: "default") => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
5034
|
+
};
|
5035
|
+
setBluePrints: {
|
5036
|
+
subscribe(fn: (failureReason: any, componentBlueprints: import("@omnia/fx-models").ComponentBlueprints) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
5037
|
+
};
|
5038
|
+
};
|
5039
|
+
} & {
|
5040
|
+
setBlueprint(type: "default"): void;
|
5041
|
+
setBluePrints(componentBlueprints: import("@omnia/fx-models").ComponentBlueprints): void;
|
5042
|
+
};
|
5043
|
+
get: {
|
5044
|
+
byType<TType extends import("@omnia/fx-models").Blueprint>(type: import("@omnia/fx-models").WebBlueprintItemDefintionType): any;
|
5045
|
+
readonly blueprints: import("@omnia/fx-models").ComponentBlueprints;
|
5046
|
+
buttonBlueprint(type: import("@omnia/fx-models").ButtonBlueprintType, buttonType: import("@omnia/fx-models").ButtonTypes): import("@omnia/fx-models").ButtonBlueprint;
|
5047
|
+
};
|
5048
|
+
deactivated(): void;
|
5049
|
+
};
|
4912
5050
|
colorSchema: (colorSchemaType: "info" | "error" | "primary" | "secondary" | import("@omnia/fx-models").ColorSchemaTypes | "accent1" | "accent2" | "accent3" | "neutral" | "warning" | "notification" | "background" | "dynamic") => import("@omnia/fx-models").ColorSchema;
|
4913
5051
|
typography: () => import("@omnia/fx-models").TypographyBlueprints;
|
4914
5052
|
spacing: () => import("@omnia/fx-models").SpacingBlueprints;
|
@@ -0,0 +1,69 @@
|
|
1
|
+
import { Future } from "@omnia/fx-models";
|
2
|
+
import { Ref } from "vue";
|
3
|
+
/**
|
4
|
+
* Async api for working with indexedDB. Remember to await the useIndexedDb since its async
|
5
|
+
* @export
|
6
|
+
* @param {string} name
|
7
|
+
* @param {string} table
|
8
|
+
* @return {*} {Future<IndexedDbApi>}
|
9
|
+
*/
|
10
|
+
export declare function useIndexedDb(name: string, table: string): Future<IndexedDbApi>;
|
11
|
+
/**
|
12
|
+
*
|
13
|
+
*
|
14
|
+
* @export
|
15
|
+
* @interface IndexedDbApi
|
16
|
+
*/
|
17
|
+
export interface IndexedDbApi {
|
18
|
+
/**
|
19
|
+
* Current database instance
|
20
|
+
* @type {(IDBDatabase | null)}
|
21
|
+
* @memberof IndexedDbApi
|
22
|
+
*/
|
23
|
+
currentDb: IDBDatabase | null;
|
24
|
+
/**
|
25
|
+
* Current database name
|
26
|
+
* @type {Ref<string>}
|
27
|
+
* @memberof IndexedDbApi
|
28
|
+
*/
|
29
|
+
currentDbName: Ref<string>;
|
30
|
+
/**
|
31
|
+
* Current database version
|
32
|
+
* @type {Ref<number>}
|
33
|
+
* @memberof IndexedDbApi
|
34
|
+
*/
|
35
|
+
currentDbVersion: Ref<number>;
|
36
|
+
/**
|
37
|
+
* Gets the data by key from the database
|
38
|
+
* @memberof IndexedDbApi
|
39
|
+
*/
|
40
|
+
get: <T>(key: IDBValidKey) => Promise<T>;
|
41
|
+
/**
|
42
|
+
* Gets all the data from the database
|
43
|
+
* @memberof IndexedDbApi
|
44
|
+
*/
|
45
|
+
getAll: <T>() => Promise<Map<IDBValidKey, T>>;
|
46
|
+
/**
|
47
|
+
* Adds the key to the database if the key exists it will throw exception
|
48
|
+
* use upsert for add or update operations
|
49
|
+
* @memberof IndexedDbApi
|
50
|
+
*/
|
51
|
+
add: <T>(key: IDBValidKey, data: T) => Promise<unknown>;
|
52
|
+
/**
|
53
|
+
* Does an add or update depending on if the key exists
|
54
|
+
* @memberof IndexedDbApi
|
55
|
+
*/
|
56
|
+
upsert: <T>(key: IDBValidKey, data: T) => Promise<unknown>;
|
57
|
+
/**
|
58
|
+
* Removes the key from the database
|
59
|
+
* @memberof IndexedDbApi
|
60
|
+
*/
|
61
|
+
remove: (key: IDBValidKey) => Promise<unknown>;
|
62
|
+
/**
|
63
|
+
* Closes the database connection and dispsoses the instance from the cache
|
64
|
+
* Note if you have multiple tables opened on the same database it will close all instances
|
65
|
+
* this means you have to call useIndexedDb again after this
|
66
|
+
* @memberof IndexedDbApi
|
67
|
+
*/
|
68
|
+
close: () => void;
|
69
|
+
}
|
@@ -1,6 +1,5 @@
|
|
1
1
|
import { useThemeStoreV2, useColorSchemaStore, useTypographyBlueprintStore, useSpacingBlueprintStore, useChromeBlueprintStore } from "@omnia/fx/ux";
|
2
2
|
import { ColorSchemaTypes, ThemeDefinitionV2 } from "@omnia/fx-models";
|
3
|
-
import { useComponentBlueprintStore } from "@omnia/fx/ux";
|
4
3
|
type themeType = "default" | "admin" | "preview" | "color-context";
|
5
4
|
declare const _default: {
|
6
5
|
new (...args: any[]): import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
|
@@ -29,7 +28,6 @@ declare const _default: {
|
|
29
28
|
typography: ReturnType<typeof useTypographyBlueprintStore>;
|
30
29
|
spacing: ReturnType<typeof useSpacingBlueprintStore>;
|
31
30
|
chrome: ReturnType<typeof useChromeBlueprintStore>;
|
32
|
-
components: ReturnType<typeof useComponentBlueprintStore>;
|
33
31
|
}) => any;
|
34
32
|
}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
35
33
|
[key: string]: any;
|
@@ -40,7 +38,6 @@ declare const _default: {
|
|
40
38
|
typography: ReturnType<typeof useTypographyBlueprintStore>;
|
41
39
|
spacing: ReturnType<typeof useSpacingBlueprintStore>;
|
42
40
|
chrome: ReturnType<typeof useChromeBlueprintStore>;
|
43
|
-
components: ReturnType<typeof useComponentBlueprintStore>;
|
44
41
|
}) => any;
|
45
42
|
}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
|
46
43
|
"color-schema-type": {
|
@@ -68,7 +65,6 @@ declare const _default: {
|
|
68
65
|
typography: ReturnType<typeof useTypographyBlueprintStore>;
|
69
66
|
spacing: ReturnType<typeof useSpacingBlueprintStore>;
|
70
67
|
chrome: ReturnType<typeof useChromeBlueprintStore>;
|
71
|
-
components: ReturnType<typeof useComponentBlueprintStore>;
|
72
68
|
}) => any;
|
73
69
|
}, {}, true, {}, {}, {
|
74
70
|
P: {};
|
@@ -103,7 +99,6 @@ declare const _default: {
|
|
103
99
|
typography: ReturnType<typeof useTypographyBlueprintStore>;
|
104
100
|
spacing: ReturnType<typeof useSpacingBlueprintStore>;
|
105
101
|
chrome: ReturnType<typeof useChromeBlueprintStore>;
|
106
|
-
components: ReturnType<typeof useComponentBlueprintStore>;
|
107
102
|
}) => any;
|
108
103
|
}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
109
104
|
[key: string]: any;
|
@@ -137,7 +132,6 @@ declare const _default: {
|
|
137
132
|
typography: ReturnType<typeof useTypographyBlueprintStore>;
|
138
133
|
spacing: ReturnType<typeof useSpacingBlueprintStore>;
|
139
134
|
chrome: ReturnType<typeof useChromeBlueprintStore>;
|
140
|
-
components: ReturnType<typeof useComponentBlueprintStore>;
|
141
135
|
}) => any;
|
142
136
|
}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
143
137
|
[key: string]: any;
|
@@ -148,7 +142,6 @@ declare const _default: {
|
|
148
142
|
typography: ReturnType<typeof useTypographyBlueprintStore>;
|
149
143
|
spacing: ReturnType<typeof useSpacingBlueprintStore>;
|
150
144
|
chrome: ReturnType<typeof useChromeBlueprintStore>;
|
151
|
-
components: ReturnType<typeof useComponentBlueprintStore>;
|
152
145
|
}) => any;
|
153
146
|
}, string, {}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
|
154
147
|
propsDefinition: Omit<Readonly<{} & {
|
@@ -165,7 +158,6 @@ declare const _default: {
|
|
165
158
|
typography: ReturnType<typeof useTypographyBlueprintStore>;
|
166
159
|
spacing: ReturnType<typeof useSpacingBlueprintStore>;
|
167
160
|
chrome: ReturnType<typeof useChromeBlueprintStore>;
|
168
|
-
components: ReturnType<typeof useComponentBlueprintStore>;
|
169
161
|
}) => any;
|
170
162
|
};
|
171
163
|
};
|