@omnia/fx 8.0.263-dev → 8.0.265-dev
Sign up to get free protection for your applications and to get access to all the features.
- package/internal-do-not-import-from-here/manifests/omnia.fx.manifest.json +1 -1
- package/internal-do-not-import-from-here/stores/{markdown/MarkdownPluginStore.d.ts → floweditor/FlowEditorPluginStore.d.ts} +11 -11
- package/internal-do-not-import-from-here/stores/{markdown/MarkdownToolbarStateStore.d.ts → floweditor/FlowEditorToolbarStateStore.d.ts} +1 -1
- package/internal-do-not-import-from-here/stores/floweditor/index.d.ts +2 -0
- package/internal-do-not-import-from-here/stores/index.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/aurora/admin/blades/blueprints/typography/components/FontPicker.css.d.ts +4 -1
- package/internal-do-not-import-from-here/ux/aurora/admin/blades/blueprints/typography/components/FontPicker.d.ts +12 -8
- package/internal-do-not-import-from-here/ux/aurora/admin/blades/blueprints/typography/components/FontRegistration.d.ts +6 -0
- package/internal-do-not-import-from-here/ux/aurora/admin/blades/blueprints/typography/store/TypographyEditorStore.d.ts +41 -16
- package/internal-do-not-import-from-here/ux/aurora/admin/blades/fontsmanager/FontManager.d.ts +2 -0
- package/internal-do-not-import-from-here/ux/aurora/admin/blades/fontsmanager/blade/FontDefinitionBlade.d.ts +6 -0
- package/internal-do-not-import-from-here/ux/aurora/admin/blades/fontsmanager/store/FontManagerStore.d.ts +75 -0
- package/internal-do-not-import-from-here/ux/aurora/store/FontStore.d.ts +77 -0
- package/internal-do-not-import-from-here/ux/aurora/store/SpacingBlueprintStore.d.ts +114 -10
- package/internal-do-not-import-from-here/ux/aurora/store/TypographyBlueprintStore.d.ts +117 -11
- package/internal-do-not-import-from-here/ux/aurora/store/index.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/features/FeatureActivation.d.ts +2 -13
- package/internal-do-not-import-from-here/ux/features/models/FeatureAction.d.ts +3 -0
- package/internal-do-not-import-from-here/ux/features/models/VDataGridItemScopedSlot.d.ts +13 -0
- package/internal-do-not-import-from-here/ux/features/models/index.d.ts +2 -0
- package/internal-do-not-import-from-here/ux/features/shared/FeatureActions.d.ts +2 -0
- package/internal-do-not-import-from-here/ux/features/shared/index.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/features/stores/FeatureJourneyStore.d.ts +2 -3
- package/internal-do-not-import-from-here/ux/{markdown2/MarkdownEditorFuture.d.ts → floweditor/FlowEditor.d.ts} +4 -4
- package/internal-do-not-import-from-here/ux/floweditor/FlowEditorToolbar.css.d.ts +6 -0
- package/internal-do-not-import-from-here/ux/floweditor/commands/EditorCommands.d.ts +53 -0
- package/internal-do-not-import-from-here/ux/floweditor/commands/helpers/EditorNodeHelper.d.ts +5 -0
- package/internal-do-not-import-from-here/ux/floweditor/commands/helpers/HtmlNodehelper.d.ts +9 -0
- package/internal-do-not-import-from-here/ux/floweditor/models/EditorModels.d.ts +21 -0
- package/internal-do-not-import-from-here/ux/floweditor/models/EditorPlugin.d.ts +30 -0
- package/internal-do-not-import-from-here/ux/floweditor/parsers/HtmlParser.d.ts +8 -0
- package/internal-do-not-import-from-here/ux/floweditor/parsers/JSONParser.d.ts +8 -0
- package/internal-do-not-import-from-here/ux/{markdown2 → floweditor}/plugins/DefineEditorPlugin.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/{markdown2 → floweditor}/plugins/bold/BoldPlugin.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/{markdown2 → floweditor}/plugins/colorstyle/ColorButton.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/{markdown2 → floweditor}/plugins/colorstyle/ColorStylePlugin.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/{markdown2 → floweditor}/plugins/italic/ItalicPlugin.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/{markdown2 → floweditor}/plugins/sourceeditor/SourceEditorPlugin.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/{markdown2 → floweditor}/plugins/testdata/TestDataPlugin.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/floweditor/plugins/text/TextPlugin.d.ts +3 -0
- package/internal-do-not-import-from-here/ux/{markdown2 → floweditor}/plugins/typography/TypographyButton.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/{markdown2 → floweditor}/plugins/typography/TypographyPlugin.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/{markdown2 → floweditor}/plugins/velcron/VelcronPlugin.d.ts +3 -3
- package/internal-do-not-import-from-here/ux/{markdown2/stores/MarkdownStore.d.ts → floweditor/stores/FlowEditorStore.d.ts} +41 -32
- package/internal-do-not-import-from-here/ux/{markdown2/stores/MarkdownToolbarStore.d.ts → floweditor/stores/FlowEditorToolbarStore.d.ts} +214 -147
- package/internal-do-not-import-from-here/ux/markdown/stores/MarkdownEditorStore.d.ts +7 -7
- package/internal-do-not-import-from-here/ux/oxide/checkbox/Checkbox.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/properties/builtins/identity/IdentityDisplay.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/properties/builtins/tags/TagsDisplay.d.ts +4 -1
- package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew/stores/ContentEditorStore.d.ts +3 -3
- package/internal-do-not-import-from-here/ux/velcron/core/models/VelcronDefinitions.d.ts +5 -1
- package/internal-do-not-import-from-here/ux/velcron/core/models/VelcronPropertyEditorDefinitions.d.ts +10 -1
- package/internal-do-not-import-from-here/ux/velcron/core/templatebuilder/VelcronEditorBuilder.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/velcron/editor/models/VelcronEditorDescriptors.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/velcron/editor/templates/EditorTemplates.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/velcron/renderer/components/Property.d.ts +5 -5
- package/internal-do-not-import-from-here/ux/velcron/renderer/editors/PropertyResolverEditor.d.ts +13 -0
- package/internal-do-not-import-from-here/ux/versionedlayout/blade/VersionedLayoutBladeBuilder.d.ts +1 -1
- package/internal-do-not-import-from-here/wctypings.d.ts +30 -16
- package/package.json +2 -2
- package/internal-do-not-import-from-here/stores/markdown/index.d.ts +0 -2
- package/internal-do-not-import-from-here/ux/markdown2/MarkdownToolbar.css.d.ts +0 -5
- package/internal-do-not-import-from-here/ux/markdown2/commands/EditorCommands.d.ts +0 -60
- package/internal-do-not-import-from-here/ux/markdown2/commands/helpers/EditorNodeHelper.d.ts +0 -12
- package/internal-do-not-import-from-here/ux/markdown2/commands/helpers/HtmlNodehelper.d.ts +0 -9
- package/internal-do-not-import-from-here/ux/markdown2/markdowntester/MarkdownTester.css.d.ts +0 -6
- package/internal-do-not-import-from-here/ux/markdown2/markdowntester/MarkdownTester.d.ts +0 -16
- package/internal-do-not-import-from-here/ux/markdown2/models/EditorModels.d.ts +0 -17
- package/internal-do-not-import-from-here/ux/markdown2/models/EditorPlugin.d.ts +0 -16
- package/internal-do-not-import-from-here/ux/markdown2/parsers/HtmlParser.d.ts +0 -8
- package/internal-do-not-import-from-here/ux/markdown2/parsers/JSONParser.d.ts +0 -8
- package/internal-do-not-import-from-here/ux/markdown2/parsers/markdownparser_old/MarkdownParser.d.ts +0 -0
- package/internal-do-not-import-from-here/ux/markdown2/parsers/markdownparser_old/MarkdownParser_engine.d.ts +0 -0
- package/internal-do-not-import-from-here/ux/markdown2/parsers/markdownparser_old/component.d.ts +0 -0
- package/internal-do-not-import-from-here/ux/markdown2/parsers/markdownparser_old/tags.d.ts +0 -0
- package/internal-do-not-import-from-here/ux/markdown2/parsers/markdownparser_old/textParser.d.ts +0 -0
- package/internal-do-not-import-from-here/ux/markdown2/plugins/text/TextPlugin.d.ts +0 -7
- /package/internal-do-not-import-from-here/ux/{markdown2/MarkdownEditorFuture.css.d.ts → floweditor/FlowEditor.css.d.ts} +0 -0
- /package/internal-do-not-import-from-here/ux/{markdown2/MarkdownToolbar.d.ts → floweditor/FlowEditorToolbar.d.ts} +0 -0
- /package/internal-do-not-import-from-here/ux/{markdown2 → floweditor}/PluginRegistrationHandler.d.ts +0 -0
- /package/internal-do-not-import-from-here/ux/{markdown2 → floweditor}/commands/ClipboardCommands.d.ts +0 -0
- /package/internal-do-not-import-from-here/ux/{markdown2 → floweditor}/commands/helpers/Editorhelper.d.ts +0 -0
- /package/internal-do-not-import-from-here/ux/{markdown2 → floweditor}/plugins/registrations/PluginRegistrations.d.ts +0 -0
- /package/internal-do-not-import-from-here/ux/{markdown2 → floweditor}/plugins/sourceeditor/SourceEditorButton.d.ts +0 -0
@@ -1,15 +1,17 @@
|
|
1
|
-
import { guid, TypographySize, TypographySizes, TypographyType, TypographyDefinition, TypographyTypes, BlueprintVariant, TypographyBlueprint } from "@omnia/fx-models";
|
1
|
+
import { guid, TypographySize, TypographySizes, TypographyType, TypographyDefinition, TypographyTypes, BlueprintVariant, TypographyBlueprint, TypographyFontDefinition } from "@omnia/fx-models";
|
2
2
|
import { useThemeStoreV2 } from "./ThemeStoreV2";
|
3
3
|
export declare const useTypographyBlueprintStore: () => {
|
4
4
|
state: {
|
5
5
|
blueprint: TypographyBlueprint;
|
6
6
|
blueprintType: BlueprintVariant;
|
7
7
|
id: guid;
|
8
|
+
availableFonts: TypographyFontDefinition[];
|
8
9
|
};
|
9
10
|
events: {
|
10
11
|
onMutatedBlueprint: import("@omnia/fx").MessageBusExposeOnlySubscription<TypographyBlueprint>;
|
11
12
|
onMutatedBlueprintType: import("@omnia/fx").MessageBusExposeOnlySubscription<BlueprintVariant>;
|
12
13
|
onMutatedId: import("@omnia/fx").MessageBusExposeOnlySubscription<guid>;
|
14
|
+
onMutatedAvailableFonts: import("@omnia/fx").MessageBusExposeOnlySubscription<TypographyFontDefinition[]>;
|
13
15
|
} & Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>;
|
14
16
|
actions: {
|
15
17
|
onDispatching: {
|
@@ -692,9 +694,7 @@ export declare const useTypographyBlueprintStore: () => {
|
|
692
694
|
primary: {
|
693
695
|
name: string;
|
694
696
|
font?: {
|
695
|
-
id: guid;
|
696
697
|
family: string;
|
697
|
-
cdn?: string;
|
698
698
|
};
|
699
699
|
fills?: {
|
700
700
|
variant1?: {
|
@@ -767,6 +767,9 @@ export declare const useTypographyBlueprintStore: () => {
|
|
767
767
|
size: number;
|
768
768
|
lineHeight: number;
|
769
769
|
};
|
770
|
+
font?: {
|
771
|
+
family: string;
|
772
|
+
};
|
770
773
|
};
|
771
774
|
l: {
|
772
775
|
decoration?: string;
|
@@ -785,6 +788,9 @@ export declare const useTypographyBlueprintStore: () => {
|
|
785
788
|
size: number;
|
786
789
|
lineHeight: number;
|
787
790
|
};
|
791
|
+
font?: {
|
792
|
+
family: string;
|
793
|
+
};
|
788
794
|
};
|
789
795
|
m: {
|
790
796
|
decoration?: string;
|
@@ -803,6 +809,9 @@ export declare const useTypographyBlueprintStore: () => {
|
|
803
809
|
size: number;
|
804
810
|
lineHeight: number;
|
805
811
|
};
|
812
|
+
font?: {
|
813
|
+
family: string;
|
814
|
+
};
|
806
815
|
};
|
807
816
|
s: {
|
808
817
|
decoration?: string;
|
@@ -821,6 +830,9 @@ export declare const useTypographyBlueprintStore: () => {
|
|
821
830
|
size: number;
|
822
831
|
lineHeight: number;
|
823
832
|
};
|
833
|
+
font?: {
|
834
|
+
family: string;
|
835
|
+
};
|
824
836
|
};
|
825
837
|
xs: {
|
826
838
|
decoration?: string;
|
@@ -839,11 +851,12 @@ export declare const useTypographyBlueprintStore: () => {
|
|
839
851
|
size: number;
|
840
852
|
lineHeight: number;
|
841
853
|
};
|
854
|
+
font?: {
|
855
|
+
family: string;
|
856
|
+
};
|
842
857
|
};
|
843
858
|
font?: {
|
844
|
-
id: guid;
|
845
859
|
family: string;
|
846
|
-
cdn?: string;
|
847
860
|
};
|
848
861
|
};
|
849
862
|
text: {
|
@@ -864,6 +877,9 @@ export declare const useTypographyBlueprintStore: () => {
|
|
864
877
|
size: number;
|
865
878
|
lineHeight: number;
|
866
879
|
};
|
880
|
+
font?: {
|
881
|
+
family: string;
|
882
|
+
};
|
867
883
|
};
|
868
884
|
m: {
|
869
885
|
decoration?: string;
|
@@ -882,6 +898,9 @@ export declare const useTypographyBlueprintStore: () => {
|
|
882
898
|
size: number;
|
883
899
|
lineHeight: number;
|
884
900
|
};
|
901
|
+
font?: {
|
902
|
+
family: string;
|
903
|
+
};
|
885
904
|
};
|
886
905
|
s: {
|
887
906
|
decoration?: string;
|
@@ -900,6 +919,9 @@ export declare const useTypographyBlueprintStore: () => {
|
|
900
919
|
size: number;
|
901
920
|
lineHeight: number;
|
902
921
|
};
|
922
|
+
font?: {
|
923
|
+
family: string;
|
924
|
+
};
|
903
925
|
};
|
904
926
|
xs: {
|
905
927
|
decoration?: string;
|
@@ -918,11 +940,12 @@ export declare const useTypographyBlueprintStore: () => {
|
|
918
940
|
size: number;
|
919
941
|
lineHeight: number;
|
920
942
|
};
|
943
|
+
font?: {
|
944
|
+
family: string;
|
945
|
+
};
|
921
946
|
};
|
922
947
|
font?: {
|
923
|
-
id: guid;
|
924
948
|
family: string;
|
925
|
-
cdn?: string;
|
926
949
|
};
|
927
950
|
};
|
928
951
|
navigation: {
|
@@ -943,6 +966,9 @@ export declare const useTypographyBlueprintStore: () => {
|
|
943
966
|
size: number;
|
944
967
|
lineHeight: number;
|
945
968
|
};
|
969
|
+
font?: {
|
970
|
+
family: string;
|
971
|
+
};
|
946
972
|
};
|
947
973
|
m: {
|
948
974
|
decoration?: string;
|
@@ -961,11 +987,12 @@ export declare const useTypographyBlueprintStore: () => {
|
|
961
987
|
size: number;
|
962
988
|
lineHeight: number;
|
963
989
|
};
|
990
|
+
font?: {
|
991
|
+
family: string;
|
992
|
+
};
|
964
993
|
};
|
965
994
|
font?: {
|
966
|
-
id: guid;
|
967
995
|
family: string;
|
968
|
-
cdn?: string;
|
969
996
|
};
|
970
997
|
};
|
971
998
|
link: {
|
@@ -986,11 +1013,12 @@ export declare const useTypographyBlueprintStore: () => {
|
|
986
1013
|
size: number;
|
987
1014
|
lineHeight: number;
|
988
1015
|
};
|
1016
|
+
font?: {
|
1017
|
+
family: string;
|
1018
|
+
};
|
989
1019
|
};
|
990
1020
|
font?: {
|
991
|
-
id: guid;
|
992
1021
|
family: string;
|
993
|
-
cdn?: string;
|
994
1022
|
};
|
995
1023
|
};
|
996
1024
|
};
|
@@ -1131,6 +1159,9 @@ export declare const useTypographyBlueprintStore: () => {
|
|
1131
1159
|
size: number;
|
1132
1160
|
lineHeight: number;
|
1133
1161
|
};
|
1162
|
+
font?: {
|
1163
|
+
family: string;
|
1164
|
+
};
|
1134
1165
|
} | {
|
1135
1166
|
type: TypographyType;
|
1136
1167
|
size: TypographySize;
|
@@ -1275,6 +1306,9 @@ export declare const useTypographyBlueprintStore: () => {
|
|
1275
1306
|
size: number;
|
1276
1307
|
lineHeight: number;
|
1277
1308
|
};
|
1309
|
+
font?: {
|
1310
|
+
family: string;
|
1311
|
+
};
|
1278
1312
|
} | {
|
1279
1313
|
type: TypographyType;
|
1280
1314
|
size: TypographySize;
|
@@ -1419,6 +1453,9 @@ export declare const useTypographyBlueprintStore: () => {
|
|
1419
1453
|
size: number;
|
1420
1454
|
lineHeight: number;
|
1421
1455
|
};
|
1456
|
+
font?: {
|
1457
|
+
family: string;
|
1458
|
+
};
|
1422
1459
|
} | {
|
1423
1460
|
type: TypographyType;
|
1424
1461
|
size: TypographySize;
|
@@ -1563,6 +1600,9 @@ export declare const useTypographyBlueprintStore: () => {
|
|
1563
1600
|
size: number;
|
1564
1601
|
lineHeight: number;
|
1565
1602
|
};
|
1603
|
+
font?: {
|
1604
|
+
family: string;
|
1605
|
+
};
|
1566
1606
|
} | {
|
1567
1607
|
type: TypographyType;
|
1568
1608
|
size: TypographySize;
|
@@ -1707,6 +1747,9 @@ export declare const useTypographyBlueprintStore: () => {
|
|
1707
1747
|
size: number;
|
1708
1748
|
lineHeight: number;
|
1709
1749
|
};
|
1750
|
+
font?: {
|
1751
|
+
family: string;
|
1752
|
+
};
|
1710
1753
|
} | {
|
1711
1754
|
type: TypographyType;
|
1712
1755
|
size: TypographySize;
|
@@ -1851,6 +1894,9 @@ export declare const useTypographyBlueprintStore: () => {
|
|
1851
1894
|
size: number;
|
1852
1895
|
lineHeight: number;
|
1853
1896
|
};
|
1897
|
+
font?: {
|
1898
|
+
family: string;
|
1899
|
+
};
|
1854
1900
|
} | {
|
1855
1901
|
type: TypographyType;
|
1856
1902
|
size: TypographySize;
|
@@ -1995,6 +2041,9 @@ export declare const useTypographyBlueprintStore: () => {
|
|
1995
2041
|
size: number;
|
1996
2042
|
lineHeight: number;
|
1997
2043
|
};
|
2044
|
+
font?: {
|
2045
|
+
family: string;
|
2046
|
+
};
|
1998
2047
|
} | {
|
1999
2048
|
type: TypographyType;
|
2000
2049
|
size: TypographySize;
|
@@ -2139,6 +2188,9 @@ export declare const useTypographyBlueprintStore: () => {
|
|
2139
2188
|
size: number;
|
2140
2189
|
lineHeight: number;
|
2141
2190
|
};
|
2191
|
+
font?: {
|
2192
|
+
family: string;
|
2193
|
+
};
|
2142
2194
|
} | {
|
2143
2195
|
type: TypographyType;
|
2144
2196
|
size: TypographySize;
|
@@ -2283,6 +2335,9 @@ export declare const useTypographyBlueprintStore: () => {
|
|
2283
2335
|
size: number;
|
2284
2336
|
lineHeight: number;
|
2285
2337
|
};
|
2338
|
+
font?: {
|
2339
|
+
family: string;
|
2340
|
+
};
|
2286
2341
|
} | {
|
2287
2342
|
type: TypographyType;
|
2288
2343
|
size: TypographySize;
|
@@ -2429,6 +2484,9 @@ export declare const useTypographyBlueprintStore: () => {
|
|
2429
2484
|
size: number;
|
2430
2485
|
lineHeight: number;
|
2431
2486
|
};
|
2487
|
+
font?: {
|
2488
|
+
family: string;
|
2489
|
+
};
|
2432
2490
|
} | {
|
2433
2491
|
type: TypographyType;
|
2434
2492
|
size: TypographySize;
|
@@ -2573,6 +2631,9 @@ export declare const useTypographyBlueprintStore: () => {
|
|
2573
2631
|
size: number;
|
2574
2632
|
lineHeight: number;
|
2575
2633
|
};
|
2634
|
+
font?: {
|
2635
|
+
family: string;
|
2636
|
+
};
|
2576
2637
|
} | {
|
2577
2638
|
type: TypographyType;
|
2578
2639
|
size: TypographySize;
|
@@ -2717,6 +2778,9 @@ export declare const useTypographyBlueprintStore: () => {
|
|
2717
2778
|
size: number;
|
2718
2779
|
lineHeight: number;
|
2719
2780
|
};
|
2781
|
+
font?: {
|
2782
|
+
family: string;
|
2783
|
+
};
|
2720
2784
|
} | {
|
2721
2785
|
type: TypographyType;
|
2722
2786
|
size: TypographySize;
|
@@ -2861,6 +2925,9 @@ export declare const useTypographyBlueprintStore: () => {
|
|
2861
2925
|
size: number;
|
2862
2926
|
lineHeight: number;
|
2863
2927
|
};
|
2928
|
+
font?: {
|
2929
|
+
family: string;
|
2930
|
+
};
|
2864
2931
|
} | {
|
2865
2932
|
type: TypographyType;
|
2866
2933
|
size: TypographySize;
|
@@ -3005,6 +3072,9 @@ export declare const useTypographyBlueprintStore: () => {
|
|
3005
3072
|
size: number;
|
3006
3073
|
lineHeight: number;
|
3007
3074
|
};
|
3075
|
+
font?: {
|
3076
|
+
family: string;
|
3077
|
+
};
|
3008
3078
|
} | {
|
3009
3079
|
type: TypographyType;
|
3010
3080
|
size: TypographySize;
|
@@ -3149,6 +3219,9 @@ export declare const useTypographyBlueprintStore: () => {
|
|
3149
3219
|
size: number;
|
3150
3220
|
lineHeight: number;
|
3151
3221
|
};
|
3222
|
+
font?: {
|
3223
|
+
family: string;
|
3224
|
+
};
|
3152
3225
|
} | {
|
3153
3226
|
type: TypographyType;
|
3154
3227
|
size: TypographySize;
|
@@ -3293,6 +3366,9 @@ export declare const useTypographyBlueprintStore: () => {
|
|
3293
3366
|
size: number;
|
3294
3367
|
lineHeight: number;
|
3295
3368
|
};
|
3369
|
+
font?: {
|
3370
|
+
family: string;
|
3371
|
+
};
|
3296
3372
|
} | {
|
3297
3373
|
type: TypographyType;
|
3298
3374
|
size: TypographySize;
|
@@ -3437,6 +3513,9 @@ export declare const useTypographyBlueprintStore: () => {
|
|
3437
3513
|
size: number;
|
3438
3514
|
lineHeight: number;
|
3439
3515
|
};
|
3516
|
+
font?: {
|
3517
|
+
family: string;
|
3518
|
+
};
|
3440
3519
|
} | {
|
3441
3520
|
type: TypographyType;
|
3442
3521
|
size: TypographySize;
|
@@ -3581,6 +3660,9 @@ export declare const useTypographyBlueprintStore: () => {
|
|
3581
3660
|
size: number;
|
3582
3661
|
lineHeight: number;
|
3583
3662
|
};
|
3663
|
+
font?: {
|
3664
|
+
family: string;
|
3665
|
+
};
|
3584
3666
|
} | {
|
3585
3667
|
type: TypographyType;
|
3586
3668
|
size: TypographySize;
|
@@ -3747,6 +3829,9 @@ export declare const useTypographyBlueprintStore: () => {
|
|
3747
3829
|
size: number;
|
3748
3830
|
lineHeight: number;
|
3749
3831
|
};
|
3832
|
+
font?: {
|
3833
|
+
family: string;
|
3834
|
+
};
|
3750
3835
|
} | {
|
3751
3836
|
type: TypographyType;
|
3752
3837
|
size: TypographySize;
|
@@ -3885,6 +3970,9 @@ export declare const useTypographyBlueprintStore: () => {
|
|
3885
3970
|
size: number;
|
3886
3971
|
lineHeight: number;
|
3887
3972
|
};
|
3973
|
+
font?: {
|
3974
|
+
family: string;
|
3975
|
+
};
|
3888
3976
|
} | {
|
3889
3977
|
type: TypographyType;
|
3890
3978
|
size: TypographySize;
|
@@ -4107,6 +4195,9 @@ export declare const useTypographyBlueprintStore: () => {
|
|
4107
4195
|
size: number;
|
4108
4196
|
lineHeight: number;
|
4109
4197
|
};
|
4198
|
+
font?: {
|
4199
|
+
family: string;
|
4200
|
+
};
|
4110
4201
|
} | {
|
4111
4202
|
type: TypographyType;
|
4112
4203
|
size: TypographySize;
|
@@ -4245,6 +4336,9 @@ export declare const useTypographyBlueprintStore: () => {
|
|
4245
4336
|
size: number;
|
4246
4337
|
lineHeight: number;
|
4247
4338
|
};
|
4339
|
+
font?: {
|
4340
|
+
family: string;
|
4341
|
+
};
|
4248
4342
|
} | {
|
4249
4343
|
type: TypographyType;
|
4250
4344
|
size: TypographySize;
|
@@ -4467,6 +4561,9 @@ export declare const useTypographyBlueprintStore: () => {
|
|
4467
4561
|
size: number;
|
4468
4562
|
lineHeight: number;
|
4469
4563
|
};
|
4564
|
+
font?: {
|
4565
|
+
family: string;
|
4566
|
+
};
|
4470
4567
|
} | {
|
4471
4568
|
type: TypographyType;
|
4472
4569
|
size: TypographySize;
|
@@ -4605,6 +4702,9 @@ export declare const useTypographyBlueprintStore: () => {
|
|
4605
4702
|
size: number;
|
4606
4703
|
lineHeight: number;
|
4607
4704
|
};
|
4705
|
+
font?: {
|
4706
|
+
family: string;
|
4707
|
+
};
|
4608
4708
|
} | {
|
4609
4709
|
type: TypographyType;
|
4610
4710
|
size: TypographySize;
|
@@ -4827,6 +4927,9 @@ export declare const useTypographyBlueprintStore: () => {
|
|
4827
4927
|
size: number;
|
4828
4928
|
lineHeight: number;
|
4829
4929
|
};
|
4930
|
+
font?: {
|
4931
|
+
family: string;
|
4932
|
+
};
|
4830
4933
|
} | {
|
4831
4934
|
type: TypographyType;
|
4832
4935
|
size: TypographySize;
|
@@ -4965,6 +5068,9 @@ export declare const useTypographyBlueprintStore: () => {
|
|
4965
5068
|
size: number;
|
4966
5069
|
lineHeight: number;
|
4967
5070
|
};
|
5071
|
+
font?: {
|
5072
|
+
family: string;
|
5073
|
+
};
|
4968
5074
|
} | {
|
4969
5075
|
type: TypographyType;
|
4970
5076
|
size: TypographySize;
|
@@ -5,19 +5,6 @@ export interface VDataGridHeader {
|
|
5
5
|
text: string;
|
6
6
|
align: string;
|
7
7
|
}
|
8
|
-
export interface VDataGridItemScopedSlot<TItem> {
|
9
|
-
item?: TItem;
|
10
|
-
selected?: boolean;
|
11
|
-
isGroupHeader?: boolean;
|
12
|
-
title?: string;
|
13
|
-
description?: string;
|
14
|
-
consentInformation?: string;
|
15
|
-
category?: string;
|
16
|
-
needConsent?: boolean;
|
17
|
-
isBusy?: boolean;
|
18
|
-
hasError?: boolean;
|
19
|
-
errorMsg?: string;
|
20
|
-
}
|
21
8
|
export interface IFeatureActivationProps {
|
22
9
|
appInstanceId?: guid;
|
23
10
|
handleClose: () => void;
|
@@ -26,6 +13,8 @@ export interface IFeatureActivationProps {
|
|
26
13
|
}
|
27
14
|
declare const _default: (props: import("@omnia/fx/ux").ConstructComponentProps<{
|
28
15
|
appInstanceId?: guid;
|
16
|
+
} & {
|
17
|
+
idTeleport?: guid;
|
29
18
|
} & {
|
30
19
|
targetResolverType?: string;
|
31
20
|
} & DefineEmit<"handleFeatureAction", (action: string, featureId: guid) => true> & DefineEmit<"openConsentUrl", () => void>>) => any;
|
@@ -0,0 +1,13 @@
|
|
1
|
+
export interface VDataGridItemScopedSlot<TItem> {
|
2
|
+
item?: TItem;
|
3
|
+
selected?: boolean;
|
4
|
+
isGroupHeader?: boolean;
|
5
|
+
title?: string;
|
6
|
+
description?: string;
|
7
|
+
consentInformation?: string;
|
8
|
+
category?: string;
|
9
|
+
needConsent?: boolean;
|
10
|
+
isBusy?: boolean;
|
11
|
+
hasError?: boolean;
|
12
|
+
errorMsg?: string;
|
13
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
export * from "./FeatureActions";
|
@@ -1,6 +1,5 @@
|
|
1
1
|
import { AppInstance, AppTemplate, AzurePermissionResource, FeatureInstance, guid, TargetResolverTypes } from "@omnia/fx-models";
|
2
|
-
import { FeatureInstanceDetails, RequiredAzureAdPermission } from "..";
|
3
|
-
import { VDataGridItemScopedSlot } from "../FeatureActivation";
|
2
|
+
import { FeatureInstanceDetails, RequiredAzureAdPermission, VDataGridItemScopedSlot } from "..";
|
4
3
|
export declare const useFeatureJourneyStore: () => {
|
5
4
|
state: {
|
6
5
|
targetResolverType: TargetResolverTypes;
|
@@ -156,7 +155,7 @@ export declare const useFeatureJourneyStore: () => {
|
|
156
155
|
isLastRequiredPermissionFeature: (featureDeactivated: VDataGridItemScopedSlot<FeatureInstance>) => void;
|
157
156
|
};
|
158
157
|
get: {
|
159
|
-
isLoading
|
158
|
+
isLoading(): boolean;
|
160
159
|
getFeaturesByCategory(category: string): FeatureInstanceDetails<FeatureInstance>[];
|
161
160
|
getConsentUrl(): string;
|
162
161
|
};
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { DefineEmit } from "@omnia/fx/ux";
|
2
|
-
import {
|
3
|
-
import {
|
2
|
+
import { FlowEditorPluginSettings } from "@omnia/fx-models";
|
3
|
+
import { useFlowEditorStore } from "./stores/FlowEditorStore";
|
4
4
|
declare const _default: (props: import("@omnia/fx/ux").ConstructComponentProps<{
|
5
5
|
"emit:update:modelValue": (value: string) => void;
|
6
6
|
} & {
|
@@ -16,8 +16,8 @@ declare const _default: (props: import("@omnia/fx/ux").ConstructComponentProps<{
|
|
16
16
|
} & {
|
17
17
|
edit?: boolean;
|
18
18
|
} & {
|
19
|
-
getApi?: (store: ReturnType<typeof
|
19
|
+
getApi?: (store: ReturnType<typeof useFlowEditorStore>) => void;
|
20
20
|
} & {
|
21
|
-
plugins?:
|
21
|
+
plugins?: FlowEditorPluginSettings[];
|
22
22
|
} & DefineEmit<"update:modelValue", (value: string) => true>>) => any;
|
23
23
|
export default _default;
|
@@ -0,0 +1,53 @@
|
|
1
|
+
import { FlowContent, NodeSelection } from "../models/EditorModels";
|
2
|
+
export type builtIndataTypes = "text" | "formatting";
|
3
|
+
export declare function useEditorCommands(state: {
|
4
|
+
editor: HTMLDivElement;
|
5
|
+
selectedRange: Range;
|
6
|
+
maxNodeId: number;
|
7
|
+
editorContent: FlowContent;
|
8
|
+
nodeSelection: NodeSelection;
|
9
|
+
}): {
|
10
|
+
selection: {
|
11
|
+
get: {
|
12
|
+
byDataType: (dataType: string) => import("../models/EditorModels").FlowNodeReference[];
|
13
|
+
};
|
14
|
+
};
|
15
|
+
actions: {
|
16
|
+
setSelection: () => void;
|
17
|
+
};
|
18
|
+
evenhandlers: {
|
19
|
+
backspace: () => void;
|
20
|
+
enter: () => void;
|
21
|
+
};
|
22
|
+
formatting: {
|
23
|
+
add: (element: HTMLElement) => void;
|
24
|
+
remove: (dataType: string | HTMLElement) => void;
|
25
|
+
has: (dataType: string | HTMLElement) => boolean;
|
26
|
+
};
|
27
|
+
element: {
|
28
|
+
add: (element: HTMLElement) => void;
|
29
|
+
create: (tagName: string, dataType: builtIndataTypes | string) => HTMLElement;
|
30
|
+
createText: () => HTMLParagraphElement;
|
31
|
+
createTextNode: (data: any) => Text;
|
32
|
+
createComponent: (componentName: string) => HTMLDivElement;
|
33
|
+
};
|
34
|
+
helpers: {
|
35
|
+
editor: {
|
36
|
+
storeCursorPosition: (state: {
|
37
|
+
selectedRange: Range;
|
38
|
+
}) => void;
|
39
|
+
ensureSelectionIsInEditor: (range: Range) => void;
|
40
|
+
};
|
41
|
+
editorNode: {
|
42
|
+
getTopNodeElementInEditor: (element: HTMLElement) => HTMLElement;
|
43
|
+
getNodesInArrayByDataType: (nodes: Array<import("../models/EditorModels").FlowNodeReference>, dataType: string) => Array<import("../models/EditorModels").FlowNodeReference>;
|
44
|
+
};
|
45
|
+
htmlNode: {
|
46
|
+
getNodeSelectionForRange: (range: Range) => NodeSelection;
|
47
|
+
removeNodes: (nodes2Remove: Array<import("../models/EditorModels").FlowNodeReference>, editor: HTMLElement) => void;
|
48
|
+
getHtmlElementInStructureById: (id: number, currentElement: HTMLElement) => HTMLElement;
|
49
|
+
surroundSelectionWithElement: (element: HTMLElement, range: Range) => void;
|
50
|
+
surroundContents: (element: HTMLElement, range: Range) => void;
|
51
|
+
};
|
52
|
+
};
|
53
|
+
};
|
@@ -0,0 +1,5 @@
|
|
1
|
+
import { FlowNodeReference } from "../../models/EditorModels";
|
2
|
+
export declare function useEditorNodeHelper(): {
|
3
|
+
getTopNodeElementInEditor: (element: HTMLElement) => HTMLElement;
|
4
|
+
getNodesInArrayByDataType: (nodes: Array<FlowNodeReference>, dataType: string) => Array<FlowNodeReference>;
|
5
|
+
};
|
@@ -0,0 +1,9 @@
|
|
1
|
+
import { FlowNodeReference, NodeSelection } from "../../models/EditorModels";
|
2
|
+
export type builtIndataTypes = "text" | "formatting";
|
3
|
+
export declare function useHtmlNodeHelper(): {
|
4
|
+
getNodeSelectionForRange: (range: Range) => NodeSelection;
|
5
|
+
removeNodes: (nodes2Remove: Array<FlowNodeReference>, editor: HTMLElement) => void;
|
6
|
+
getHtmlElementInStructureById: (id: number, currentElement: HTMLElement) => HTMLElement;
|
7
|
+
surroundSelectionWithElement: (element: HTMLElement, range: Range) => void;
|
8
|
+
surroundContents: (element: HTMLElement, range: Range) => void;
|
9
|
+
};
|
@@ -0,0 +1,21 @@
|
|
1
|
+
export interface FlowContent {
|
2
|
+
version: string;
|
3
|
+
nodes: FlowNode[];
|
4
|
+
}
|
5
|
+
export interface FlowNode {
|
6
|
+
type: string;
|
7
|
+
children?: FlowNode[];
|
8
|
+
}
|
9
|
+
export interface FlowTextNode extends FlowNode {
|
10
|
+
value?: string;
|
11
|
+
}
|
12
|
+
export interface FlowNodeReference {
|
13
|
+
type: string;
|
14
|
+
id: number;
|
15
|
+
element: HTMLElement;
|
16
|
+
}
|
17
|
+
export interface NodeSelection {
|
18
|
+
commonAncestorContainer: FlowNodeReference;
|
19
|
+
formatters: FlowNodeReference[];
|
20
|
+
nodes: FlowNodeReference[];
|
21
|
+
}
|
@@ -0,0 +1,30 @@
|
|
1
|
+
import { FlowEditorActionRegistration } from "@omnia/fx-models";
|
2
|
+
import { FlowNode } from "./EditorModels";
|
3
|
+
import { useFlowEditorStore } from "../stores/FlowEditorStore";
|
4
|
+
import { useFlowEditorToolbarStore } from "../stores/FlowEditorToolbarStore";
|
5
|
+
export interface FlowEditorPlugin {
|
6
|
+
name: string;
|
7
|
+
commands?: object;
|
8
|
+
actions?: Array<FlowEditorActionRegistration>;
|
9
|
+
}
|
10
|
+
export interface FlowRenderingContext {
|
11
|
+
parentElement: HTMLElement;
|
12
|
+
}
|
13
|
+
export interface FlowToHtmlContext {
|
14
|
+
node: FlowNode;
|
15
|
+
pluginContext: FlowEditorPluginContext;
|
16
|
+
renderingContext: FlowRenderingContext;
|
17
|
+
}
|
18
|
+
export interface FlowToJsonContext {
|
19
|
+
element: HTMLElement;
|
20
|
+
parent: FlowNode;
|
21
|
+
}
|
22
|
+
export interface FlowEditorContentPlugin extends FlowEditorPlugin {
|
23
|
+
toJSON: (context: FlowToJsonContext) => FlowNode;
|
24
|
+
toHtml: (context: FlowToHtmlContext) => HTMLElement;
|
25
|
+
}
|
26
|
+
export interface FlowEditorPluginContext {
|
27
|
+
componentCreator?: (componentDef: any, props: {}, el: HTMLElement) => void;
|
28
|
+
editorStore: ReturnType<typeof useFlowEditorStore>;
|
29
|
+
toolbarStore: ReturnType<typeof useFlowEditorToolbarStore>;
|
30
|
+
}
|