@omnia/fx 8.0.136-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/enterpriseglossary/componentbase/EnterpriseGlossaryTermComponentBase.d.ts +113 -41
- 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/appbar/Appbar.d.ts +9 -9
- package/internal-do-not-import-from-here/ux/oxide/chip/Chip.d.ts +10 -0
- package/internal-do-not-import-from-here/ux/oxide/datatable/DataTable.css.d.ts +34 -68
- package/internal-do-not-import-from-here/ux/oxide/datatable/DataTable.d.ts +68 -136
- package/internal-do-not-import-from-here/ux/oxide/select/Select.d.ts +68 -136
- 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/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 +32 -32
- package/internal-do-not-import-from-here/ux/theming-v2/store/ChromeBlueprintStore.d.ts +34 -68
- package/internal-do-not-import-from-here/ux/theming-v2/store/ColorSchemaDefinitionStore.d.ts +12 -10
- package/internal-do-not-import-from-here/ux/theming-v2/store/ColorSchemaStore.d.ts +34 -68
- package/internal-do-not-import-from-here/ux/theming-v2/store/SpacingBlueprintStore.d.ts +34 -68
- package/internal-do-not-import-from-here/ux/theming-v2/store/ThemeDefinitionStoreV2.d.ts +15 -5
- 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 +34 -68
- package/internal-do-not-import-from-here/ux/theming-v2/store/tmpUseIndexDb.d.ts +69 -0
- package/internal-do-not-import-from-here/ux/use/UseColorSchemaSetup.d.ts +34 -68
- 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
@@ -341,12 +341,10 @@ export declare const useColorSchemaStore: () => {
|
|
341
341
|
colorToned: string;
|
342
342
|
};
|
343
343
|
id: {
|
344
|
-
|
344
|
+
toString: () => string;
|
345
|
+
equals?: {
|
345
346
|
guid: (value: import("@omnia/fx-models").GuidValue) => boolean;
|
346
347
|
};
|
347
|
-
toString: () => string;
|
348
|
-
toJSON: () => string;
|
349
|
-
valueOf: () => string;
|
350
348
|
};
|
351
349
|
};
|
352
350
|
secondary: {
|
@@ -372,12 +370,10 @@ export declare const useColorSchemaStore: () => {
|
|
372
370
|
colorToned: string;
|
373
371
|
};
|
374
372
|
id: {
|
375
|
-
|
373
|
+
toString: () => string;
|
374
|
+
equals?: {
|
376
375
|
guid: (value: import("@omnia/fx-models").GuidValue) => boolean;
|
377
376
|
};
|
378
|
-
toString: () => string;
|
379
|
-
toJSON: () => string;
|
380
|
-
valueOf: () => string;
|
381
377
|
};
|
382
378
|
};
|
383
379
|
accent1: {
|
@@ -403,12 +399,10 @@ export declare const useColorSchemaStore: () => {
|
|
403
399
|
colorToned: string;
|
404
400
|
};
|
405
401
|
id: {
|
406
|
-
|
402
|
+
toString: () => string;
|
403
|
+
equals?: {
|
407
404
|
guid: (value: import("@omnia/fx-models").GuidValue) => boolean;
|
408
405
|
};
|
409
|
-
toString: () => string;
|
410
|
-
toJSON: () => string;
|
411
|
-
valueOf: () => string;
|
412
406
|
};
|
413
407
|
};
|
414
408
|
accent2: {
|
@@ -434,12 +428,10 @@ export declare const useColorSchemaStore: () => {
|
|
434
428
|
colorToned: string;
|
435
429
|
};
|
436
430
|
id: {
|
437
|
-
|
431
|
+
toString: () => string;
|
432
|
+
equals?: {
|
438
433
|
guid: (value: import("@omnia/fx-models").GuidValue) => boolean;
|
439
434
|
};
|
440
|
-
toString: () => string;
|
441
|
-
toJSON: () => string;
|
442
|
-
valueOf: () => string;
|
443
435
|
};
|
444
436
|
};
|
445
437
|
accent3: {
|
@@ -465,12 +457,10 @@ export declare const useColorSchemaStore: () => {
|
|
465
457
|
colorToned: string;
|
466
458
|
};
|
467
459
|
id: {
|
468
|
-
|
460
|
+
toString: () => string;
|
461
|
+
equals?: {
|
469
462
|
guid: (value: import("@omnia/fx-models").GuidValue) => boolean;
|
470
463
|
};
|
471
|
-
toString: () => string;
|
472
|
-
toJSON: () => string;
|
473
|
-
valueOf: () => string;
|
474
464
|
};
|
475
465
|
};
|
476
466
|
neutral: {
|
@@ -496,12 +486,10 @@ export declare const useColorSchemaStore: () => {
|
|
496
486
|
colorToned: string;
|
497
487
|
};
|
498
488
|
id: {
|
499
|
-
|
489
|
+
toString: () => string;
|
490
|
+
equals?: {
|
500
491
|
guid: (value: import("@omnia/fx-models").GuidValue) => boolean;
|
501
492
|
};
|
502
|
-
toString: () => string;
|
503
|
-
toJSON: () => string;
|
504
|
-
valueOf: () => string;
|
505
493
|
};
|
506
494
|
};
|
507
495
|
background: {
|
@@ -527,12 +515,10 @@ export declare const useColorSchemaStore: () => {
|
|
527
515
|
colorToned: string;
|
528
516
|
};
|
529
517
|
id: {
|
530
|
-
|
518
|
+
toString: () => string;
|
519
|
+
equals?: {
|
531
520
|
guid: (value: import("@omnia/fx-models").GuidValue) => boolean;
|
532
521
|
};
|
533
|
-
toString: () => string;
|
534
|
-
toJSON: () => string;
|
535
|
-
valueOf: () => string;
|
536
522
|
};
|
537
523
|
};
|
538
524
|
error: {
|
@@ -558,12 +544,10 @@ export declare const useColorSchemaStore: () => {
|
|
558
544
|
colorToned: string;
|
559
545
|
};
|
560
546
|
id: {
|
561
|
-
|
547
|
+
toString: () => string;
|
548
|
+
equals?: {
|
562
549
|
guid: (value: import("@omnia/fx-models").GuidValue) => boolean;
|
563
550
|
};
|
564
|
-
toString: () => string;
|
565
|
-
toJSON: () => string;
|
566
|
-
valueOf: () => string;
|
567
551
|
};
|
568
552
|
};
|
569
553
|
info: {
|
@@ -589,12 +573,10 @@ export declare const useColorSchemaStore: () => {
|
|
589
573
|
colorToned: string;
|
590
574
|
};
|
591
575
|
id: {
|
592
|
-
|
576
|
+
toString: () => string;
|
577
|
+
equals?: {
|
593
578
|
guid: (value: import("@omnia/fx-models").GuidValue) => boolean;
|
594
579
|
};
|
595
|
-
toString: () => string;
|
596
|
-
toJSON: () => string;
|
597
|
-
valueOf: () => string;
|
598
580
|
};
|
599
581
|
};
|
600
582
|
warning: {
|
@@ -620,12 +602,10 @@ export declare const useColorSchemaStore: () => {
|
|
620
602
|
colorToned: string;
|
621
603
|
};
|
622
604
|
id: {
|
623
|
-
|
605
|
+
toString: () => string;
|
606
|
+
equals?: {
|
624
607
|
guid: (value: import("@omnia/fx-models").GuidValue) => boolean;
|
625
608
|
};
|
626
|
-
toString: () => string;
|
627
|
-
toJSON: () => string;
|
628
|
-
valueOf: () => string;
|
629
609
|
};
|
630
610
|
};
|
631
611
|
notification: {
|
@@ -651,12 +631,10 @@ export declare const useColorSchemaStore: () => {
|
|
651
631
|
colorToned: string;
|
652
632
|
};
|
653
633
|
id: {
|
654
|
-
|
634
|
+
toString: () => string;
|
635
|
+
equals?: {
|
655
636
|
guid: (value: import("@omnia/fx-models").GuidValue) => boolean;
|
656
637
|
};
|
657
|
-
toString: () => string;
|
658
|
-
toJSON: () => string;
|
659
|
-
valueOf: () => string;
|
660
638
|
};
|
661
639
|
};
|
662
640
|
};
|
@@ -665,12 +643,10 @@ export declare const useColorSchemaStore: () => {
|
|
665
643
|
name: string;
|
666
644
|
font?: {
|
667
645
|
id: {
|
668
|
-
|
646
|
+
toString: () => string;
|
647
|
+
equals?: {
|
669
648
|
guid: (value: import("@omnia/fx-models").GuidValue) => boolean;
|
670
649
|
};
|
671
|
-
toString: () => string;
|
672
|
-
toJSON: () => string;
|
673
|
-
valueOf: () => string;
|
674
650
|
};
|
675
651
|
family: string;
|
676
652
|
cdn?: string;
|
@@ -902,12 +878,10 @@ export declare const useColorSchemaStore: () => {
|
|
902
878
|
};
|
903
879
|
name?: string;
|
904
880
|
id: {
|
905
|
-
|
881
|
+
toString: () => string;
|
882
|
+
equals?: {
|
906
883
|
guid: (value: import("@omnia/fx-models").GuidValue) => boolean;
|
907
884
|
};
|
908
|
-
toString: () => string;
|
909
|
-
toJSON: () => string;
|
910
|
-
valueOf: () => string;
|
911
885
|
};
|
912
886
|
};
|
913
887
|
spacing: {
|
@@ -931,12 +905,10 @@ export declare const useColorSchemaStore: () => {
|
|
931
905
|
};
|
932
906
|
name?: string;
|
933
907
|
id: {
|
934
|
-
|
908
|
+
toString: () => string;
|
909
|
+
equals?: {
|
935
910
|
guid: (value: import("@omnia/fx-models").GuidValue) => boolean;
|
936
911
|
};
|
937
|
-
toString: () => string;
|
938
|
-
toJSON: () => string;
|
939
|
-
valueOf: () => string;
|
940
912
|
};
|
941
913
|
};
|
942
914
|
components: {
|
@@ -5011,31 +4983,25 @@ export declare const useColorSchemaStore: () => {
|
|
5011
4983
|
};
|
5012
4984
|
name?: string;
|
5013
4985
|
id: {
|
5014
|
-
|
4986
|
+
toString: () => string;
|
4987
|
+
equals?: {
|
5015
4988
|
guid: (value: import("@omnia/fx-models").GuidValue) => boolean;
|
5016
4989
|
};
|
5017
|
-
toString: () => string;
|
5018
|
-
toJSON: () => string;
|
5019
|
-
valueOf: () => string;
|
5020
4990
|
};
|
5021
4991
|
};
|
5022
4992
|
name?: string;
|
5023
4993
|
id: {
|
5024
|
-
|
4994
|
+
toString: () => string;
|
4995
|
+
equals?: {
|
5025
4996
|
guid: (value: import("@omnia/fx-models").GuidValue) => boolean;
|
5026
4997
|
};
|
5027
|
-
toString: () => string;
|
5028
|
-
toJSON: () => string;
|
5029
|
-
valueOf: () => string;
|
5030
4998
|
};
|
5031
4999
|
};
|
5032
5000
|
id: {
|
5033
|
-
|
5001
|
+
toString: () => string;
|
5002
|
+
equals?: {
|
5034
5003
|
guid: (value: import("@omnia/fx-models").GuidValue) => boolean;
|
5035
5004
|
};
|
5036
|
-
toString: () => string;
|
5037
|
-
toJSON: () => string;
|
5038
|
-
valueOf: () => string;
|
5039
5005
|
};
|
5040
5006
|
name?: string;
|
5041
5007
|
};
|
@@ -311,12 +311,10 @@ export declare const useSpacingBlueprintStore: () => {
|
|
311
311
|
colorToned: string;
|
312
312
|
};
|
313
313
|
id: {
|
314
|
-
|
314
|
+
toString: () => string;
|
315
|
+
equals?: {
|
315
316
|
guid: (value: import("@omnia/fx-models").GuidValue) => boolean;
|
316
317
|
};
|
317
|
-
toString: () => string;
|
318
|
-
toJSON: () => string;
|
319
|
-
valueOf: () => string;
|
320
318
|
};
|
321
319
|
};
|
322
320
|
secondary: {
|
@@ -342,12 +340,10 @@ export declare const useSpacingBlueprintStore: () => {
|
|
342
340
|
colorToned: string;
|
343
341
|
};
|
344
342
|
id: {
|
345
|
-
|
343
|
+
toString: () => string;
|
344
|
+
equals?: {
|
346
345
|
guid: (value: import("@omnia/fx-models").GuidValue) => boolean;
|
347
346
|
};
|
348
|
-
toString: () => string;
|
349
|
-
toJSON: () => string;
|
350
|
-
valueOf: () => string;
|
351
347
|
};
|
352
348
|
};
|
353
349
|
accent1: {
|
@@ -373,12 +369,10 @@ export declare const useSpacingBlueprintStore: () => {
|
|
373
369
|
colorToned: string;
|
374
370
|
};
|
375
371
|
id: {
|
376
|
-
|
372
|
+
toString: () => string;
|
373
|
+
equals?: {
|
377
374
|
guid: (value: import("@omnia/fx-models").GuidValue) => boolean;
|
378
375
|
};
|
379
|
-
toString: () => string;
|
380
|
-
toJSON: () => string;
|
381
|
-
valueOf: () => string;
|
382
376
|
};
|
383
377
|
};
|
384
378
|
accent2: {
|
@@ -404,12 +398,10 @@ export declare const useSpacingBlueprintStore: () => {
|
|
404
398
|
colorToned: string;
|
405
399
|
};
|
406
400
|
id: {
|
407
|
-
|
401
|
+
toString: () => string;
|
402
|
+
equals?: {
|
408
403
|
guid: (value: import("@omnia/fx-models").GuidValue) => boolean;
|
409
404
|
};
|
410
|
-
toString: () => string;
|
411
|
-
toJSON: () => string;
|
412
|
-
valueOf: () => string;
|
413
405
|
};
|
414
406
|
};
|
415
407
|
accent3: {
|
@@ -435,12 +427,10 @@ export declare const useSpacingBlueprintStore: () => {
|
|
435
427
|
colorToned: string;
|
436
428
|
};
|
437
429
|
id: {
|
438
|
-
|
430
|
+
toString: () => string;
|
431
|
+
equals?: {
|
439
432
|
guid: (value: import("@omnia/fx-models").GuidValue) => boolean;
|
440
433
|
};
|
441
|
-
toString: () => string;
|
442
|
-
toJSON: () => string;
|
443
|
-
valueOf: () => string;
|
444
434
|
};
|
445
435
|
};
|
446
436
|
neutral: {
|
@@ -466,12 +456,10 @@ export declare const useSpacingBlueprintStore: () => {
|
|
466
456
|
colorToned: string;
|
467
457
|
};
|
468
458
|
id: {
|
469
|
-
|
459
|
+
toString: () => string;
|
460
|
+
equals?: {
|
470
461
|
guid: (value: import("@omnia/fx-models").GuidValue) => boolean;
|
471
462
|
};
|
472
|
-
toString: () => string;
|
473
|
-
toJSON: () => string;
|
474
|
-
valueOf: () => string;
|
475
463
|
};
|
476
464
|
};
|
477
465
|
background: {
|
@@ -497,12 +485,10 @@ export declare const useSpacingBlueprintStore: () => {
|
|
497
485
|
colorToned: string;
|
498
486
|
};
|
499
487
|
id: {
|
500
|
-
|
488
|
+
toString: () => string;
|
489
|
+
equals?: {
|
501
490
|
guid: (value: import("@omnia/fx-models").GuidValue) => boolean;
|
502
491
|
};
|
503
|
-
toString: () => string;
|
504
|
-
toJSON: () => string;
|
505
|
-
valueOf: () => string;
|
506
492
|
};
|
507
493
|
};
|
508
494
|
error: {
|
@@ -528,12 +514,10 @@ export declare const useSpacingBlueprintStore: () => {
|
|
528
514
|
colorToned: string;
|
529
515
|
};
|
530
516
|
id: {
|
531
|
-
|
517
|
+
toString: () => string;
|
518
|
+
equals?: {
|
532
519
|
guid: (value: import("@omnia/fx-models").GuidValue) => boolean;
|
533
520
|
};
|
534
|
-
toString: () => string;
|
535
|
-
toJSON: () => string;
|
536
|
-
valueOf: () => string;
|
537
521
|
};
|
538
522
|
};
|
539
523
|
info: {
|
@@ -559,12 +543,10 @@ export declare const useSpacingBlueprintStore: () => {
|
|
559
543
|
colorToned: string;
|
560
544
|
};
|
561
545
|
id: {
|
562
|
-
|
546
|
+
toString: () => string;
|
547
|
+
equals?: {
|
563
548
|
guid: (value: import("@omnia/fx-models").GuidValue) => boolean;
|
564
549
|
};
|
565
|
-
toString: () => string;
|
566
|
-
toJSON: () => string;
|
567
|
-
valueOf: () => string;
|
568
550
|
};
|
569
551
|
};
|
570
552
|
warning: {
|
@@ -590,12 +572,10 @@ export declare const useSpacingBlueprintStore: () => {
|
|
590
572
|
colorToned: string;
|
591
573
|
};
|
592
574
|
id: {
|
593
|
-
|
575
|
+
toString: () => string;
|
576
|
+
equals?: {
|
594
577
|
guid: (value: import("@omnia/fx-models").GuidValue) => boolean;
|
595
578
|
};
|
596
|
-
toString: () => string;
|
597
|
-
toJSON: () => string;
|
598
|
-
valueOf: () => string;
|
599
579
|
};
|
600
580
|
};
|
601
581
|
notification: {
|
@@ -621,12 +601,10 @@ export declare const useSpacingBlueprintStore: () => {
|
|
621
601
|
colorToned: string;
|
622
602
|
};
|
623
603
|
id: {
|
624
|
-
|
604
|
+
toString: () => string;
|
605
|
+
equals?: {
|
625
606
|
guid: (value: import("@omnia/fx-models").GuidValue) => boolean;
|
626
607
|
};
|
627
|
-
toString: () => string;
|
628
|
-
toJSON: () => string;
|
629
|
-
valueOf: () => string;
|
630
608
|
};
|
631
609
|
};
|
632
610
|
};
|
@@ -635,12 +613,10 @@ export declare const useSpacingBlueprintStore: () => {
|
|
635
613
|
name: string;
|
636
614
|
font?: {
|
637
615
|
id: {
|
638
|
-
|
616
|
+
toString: () => string;
|
617
|
+
equals?: {
|
639
618
|
guid: (value: import("@omnia/fx-models").GuidValue) => boolean;
|
640
619
|
};
|
641
|
-
toString: () => string;
|
642
|
-
toJSON: () => string;
|
643
|
-
valueOf: () => string;
|
644
620
|
};
|
645
621
|
family: string;
|
646
622
|
cdn?: string;
|
@@ -872,12 +848,10 @@ export declare const useSpacingBlueprintStore: () => {
|
|
872
848
|
};
|
873
849
|
name?: string;
|
874
850
|
id: {
|
875
|
-
|
851
|
+
toString: () => string;
|
852
|
+
equals?: {
|
876
853
|
guid: (value: import("@omnia/fx-models").GuidValue) => boolean;
|
877
854
|
};
|
878
|
-
toString: () => string;
|
879
|
-
toJSON: () => string;
|
880
|
-
valueOf: () => string;
|
881
855
|
};
|
882
856
|
};
|
883
857
|
spacing: {
|
@@ -901,12 +875,10 @@ export declare const useSpacingBlueprintStore: () => {
|
|
901
875
|
};
|
902
876
|
name?: string;
|
903
877
|
id: {
|
904
|
-
|
878
|
+
toString: () => string;
|
879
|
+
equals?: {
|
905
880
|
guid: (value: import("@omnia/fx-models").GuidValue) => boolean;
|
906
881
|
};
|
907
|
-
toString: () => string;
|
908
|
-
toJSON: () => string;
|
909
|
-
valueOf: () => string;
|
910
882
|
};
|
911
883
|
};
|
912
884
|
components: {
|
@@ -4981,31 +4953,25 @@ export declare const useSpacingBlueprintStore: () => {
|
|
4981
4953
|
};
|
4982
4954
|
name?: string;
|
4983
4955
|
id: {
|
4984
|
-
|
4956
|
+
toString: () => string;
|
4957
|
+
equals?: {
|
4985
4958
|
guid: (value: import("@omnia/fx-models").GuidValue) => boolean;
|
4986
4959
|
};
|
4987
|
-
toString: () => string;
|
4988
|
-
toJSON: () => string;
|
4989
|
-
valueOf: () => string;
|
4990
4960
|
};
|
4991
4961
|
};
|
4992
4962
|
name?: string;
|
4993
4963
|
id: {
|
4994
|
-
|
4964
|
+
toString: () => string;
|
4965
|
+
equals?: {
|
4995
4966
|
guid: (value: import("@omnia/fx-models").GuidValue) => boolean;
|
4996
4967
|
};
|
4997
|
-
toString: () => string;
|
4998
|
-
toJSON: () => string;
|
4999
|
-
valueOf: () => string;
|
5000
4968
|
};
|
5001
4969
|
};
|
5002
4970
|
id: {
|
5003
|
-
|
4971
|
+
toString: () => string;
|
4972
|
+
equals?: {
|
5004
4973
|
guid: (value: import("@omnia/fx-models").GuidValue) => boolean;
|
5005
4974
|
};
|
5006
|
-
toString: () => string;
|
5007
|
-
toJSON: () => string;
|
5008
|
-
valueOf: () => string;
|
5009
4975
|
};
|
5010
4976
|
name?: string;
|
5011
4977
|
};
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { Guid, ITemplateRegistration, ThemeDefinitionV2 } from "@omnia/fx-models";
|
1
|
+
import { Guid, GuidValue, ITemplateRegistration, ThemeDefinitionV2 } from "@omnia/fx-models";
|
2
2
|
export declare const useThemeDefinitionStore: () => {
|
3
3
|
state: {
|
4
4
|
definitions: ITemplateRegistration<ThemeDefinitionV2>[];
|
@@ -13,39 +13,49 @@ export declare const useThemeDefinitionStore: () => {
|
|
13
13
|
load: {
|
14
14
|
subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
15
15
|
};
|
16
|
+
updateBlueprintReferencesForThemes: {
|
17
|
+
subscribe(fn: (id: GuidValue) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
18
|
+
};
|
16
19
|
upsertDefinition: {
|
17
20
|
subscribe(fn: (definition: ITemplateRegistration<ThemeDefinitionV2>) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
18
21
|
};
|
19
22
|
deleteDefinition: {
|
20
|
-
subscribe(fn: (registrationId:
|
23
|
+
subscribe(fn: (registrationId: GuidValue) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
21
24
|
};
|
22
25
|
};
|
23
26
|
onDispatched: {
|
24
27
|
load: {
|
25
28
|
subscribe(fn: (result: unknown) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
26
29
|
};
|
30
|
+
updateBlueprintReferencesForThemes: {
|
31
|
+
subscribe(fn: (result: void, id: GuidValue) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
32
|
+
};
|
27
33
|
upsertDefinition: {
|
28
34
|
subscribe(fn: (result: void, definition: ITemplateRegistration<ThemeDefinitionV2>) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
29
35
|
};
|
30
36
|
deleteDefinition: {
|
31
|
-
subscribe(fn: (result: boolean, registrationId:
|
37
|
+
subscribe(fn: (result: boolean, registrationId: GuidValue) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
32
38
|
};
|
33
39
|
};
|
34
40
|
onFailure: {
|
35
41
|
load: {
|
36
42
|
subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
37
43
|
};
|
44
|
+
updateBlueprintReferencesForThemes: {
|
45
|
+
subscribe(fn: (failureReason: any, id: GuidValue) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
46
|
+
};
|
38
47
|
upsertDefinition: {
|
39
48
|
subscribe(fn: (failureReason: any, definition: ITemplateRegistration<ThemeDefinitionV2>) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
40
49
|
};
|
41
50
|
deleteDefinition: {
|
42
|
-
subscribe(fn: (failureReason: any, registrationId:
|
51
|
+
subscribe(fn: (failureReason: any, registrationId: GuidValue) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
43
52
|
};
|
44
53
|
};
|
45
54
|
} & {
|
46
55
|
load(): Promise<unknown>;
|
56
|
+
updateBlueprintReferencesForThemes(id: GuidValue): Promise<void>;
|
47
57
|
upsertDefinition(definition: ITemplateRegistration<ThemeDefinitionV2>): Promise<void>;
|
48
|
-
deleteDefinition(registrationId:
|
58
|
+
deleteDefinition(registrationId: GuidValue): Promise<boolean>;
|
49
59
|
};
|
50
60
|
get: {
|
51
61
|
byId(id: Guid): ITemplateRegistration<ThemeDefinitionV2>;
|
@@ -0,0 +1,45 @@
|
|
1
|
+
import { ButtonBlueprint, ChromeBlueprint, ColorSchema, ComponentBlueprints, GuidValue, ITemplateRegistration, SpacingBlueprints, TabsBlueprint, ThemeDefinitionV2, TypographyBlueprints } from "@omnia/fx-models";
|
2
|
+
export declare const useThemingService: () => {
|
3
|
+
buttons: () => {
|
4
|
+
upsert: (item: ITemplateRegistration<ButtonBlueprint>) => Promise<unknown>;
|
5
|
+
delete: (id: GuidValue) => Promise<unknown>;
|
6
|
+
getAll: () => Promise<ITemplateRegistration<ButtonBlueprint>[]>;
|
7
|
+
};
|
8
|
+
chrome: () => {
|
9
|
+
upsert: (item: ITemplateRegistration<ChromeBlueprint>) => Promise<unknown>;
|
10
|
+
delete: (id: GuidValue) => Promise<unknown>;
|
11
|
+
getAll: () => Promise<ITemplateRegistration<ChromeBlueprint>[]>;
|
12
|
+
};
|
13
|
+
colorSchema: () => {
|
14
|
+
upsert: (item: ITemplateRegistration<ColorSchema>) => Promise<unknown>;
|
15
|
+
delete: (id: GuidValue) => Promise<unknown>;
|
16
|
+
getAll: () => Promise<ITemplateRegistration<ColorSchema>[]>;
|
17
|
+
};
|
18
|
+
components: () => {
|
19
|
+
upsert: (item: ITemplateRegistration<ComponentBlueprints>) => Promise<unknown>;
|
20
|
+
delete: (id: GuidValue) => Promise<unknown>;
|
21
|
+
getAll: () => Promise<ITemplateRegistration<ComponentBlueprints>[]>;
|
22
|
+
};
|
23
|
+
spacings: () => {
|
24
|
+
upsert: (item: ITemplateRegistration<SpacingBlueprints>) => Promise<unknown>;
|
25
|
+
delete: (id: GuidValue) => Promise<unknown>;
|
26
|
+
getAll: () => Promise<ITemplateRegistration<SpacingBlueprints>[]>;
|
27
|
+
};
|
28
|
+
tabs: () => {
|
29
|
+
upsert: (item: ITemplateRegistration<TabsBlueprint>) => Promise<unknown>;
|
30
|
+
delete: (id: GuidValue) => Promise<unknown>;
|
31
|
+
getAll: () => Promise<ITemplateRegistration<TabsBlueprint>[]>;
|
32
|
+
};
|
33
|
+
themes: () => {
|
34
|
+
upsert: (item: ITemplateRegistration<ThemeDefinitionV2>) => Promise<unknown>;
|
35
|
+
delete: (id: GuidValue) => Promise<unknown>;
|
36
|
+
getAll: () => Promise<ITemplateRegistration<ThemeDefinitionV2>[]>;
|
37
|
+
saveTheme: (key: string, theme: ThemeDefinitionV2) => void;
|
38
|
+
loadTheme: (key: string) => ThemeDefinitionV2;
|
39
|
+
};
|
40
|
+
typography: () => {
|
41
|
+
upsert: (item: ITemplateRegistration<TypographyBlueprints>) => Promise<unknown>;
|
42
|
+
delete: (id: GuidValue) => Promise<unknown>;
|
43
|
+
getAll: () => Promise<ITemplateRegistration<TypographyBlueprints>[]>;
|
44
|
+
};
|
45
|
+
};
|