@omnia/fx 8.0.130-dev → 8.0.132-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/services/identities/GroupService.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/blueprintpickers/backgroundstyle/BackgroundStyleEditor.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/blueprintpickers/blueprintTemplate/BlueprintsTemplatePicker.d.ts +98 -98
- package/internal-do-not-import-from-here/ux/blueprintpickers/chrome/ChromeBlueprintsViewer.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/blueprintpickers/chrome/ChromePicker.d.ts +10 -10
- package/internal-do-not-import-from-here/ux/blueprintpickers/iconstylepicker/IconStylePicker.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/blueprintpickers/stylepicker/StylePicker.d.ts +10 -10
- package/internal-do-not-import-from-here/ux/blueprintpickers/textstylepicker/TextStylePicker.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/borderpicker/BorderPicker.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/colorpickerV2/ColorPicker.d.ts +10 -10
- package/internal-do-not-import-from-here/ux/colorschemapicker/ColorSchemaPicker.d.ts +101 -101
- package/internal-do-not-import-from-here/ux/colorschemapicker/ColorSchemaViewer.css.d.ts +3 -0
- package/internal-do-not-import-from-here/ux/colorschemapicker/ColorSchemaViewer.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/confirmdialog/ConfirmDialog.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/datetimepicker/DateTimePicker.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/datetimezonepicker/DateTimeZonePicker.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/dialog/Dialog.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/enterpriseproperties/edit/datafield/DataFieldEdit.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/enterpriseproperties/picker/EnterprisePropertyPicker.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/fileuploader/FileUploader.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/fillpicker/FillPicker.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/filterpicker/FilterPicker.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/iconpicker/IconPicker.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/identitypicker/IdentityPicker.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/identitypicker/IdentityPickerButton.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/identitypicker/IdentityPickerDialog.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/identitypicker/IdentityPickerField.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/identitypicker/IdentityPickerInlineField.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/journey/JourneyBlade.d.ts +10 -10
- package/internal-do-not-import-from-here/ux/journey/models/Constants.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/journey/use/UseBlade.d.ts +10 -10
- package/internal-do-not-import-from-here/ux/jsonexportimport/ExportImport.d.ts +7 -3
- package/internal-do-not-import-from-here/ux/languagepicker/LanguagePicker.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/multilingualinput/MultilingualInput.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/multitextinput/MultiTextInput.d.ts +3 -3
- package/internal-do-not-import-from-here/ux/oxide/alert/Alert.d.ts +9 -9
- package/internal-do-not-import-from-here/ux/oxide/appbar/Appbar.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/oxide/btn/Button.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/oxide/checkbox/Checkbox.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/oxide/chip/Chip.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/oxide/datatable/DataTable.css.d.ts +3598 -2676
- package/internal-do-not-import-from-here/ux/oxide/datatable/DataTable.d.ts +7292 -5448
- package/internal-do-not-import-from-here/ux/oxide/datepicker/DatePicker.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/oxide/icon/Icon.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/oxide/list/ListItem.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/oxide/main/Main.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/oxide/pagination/Pagination.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/oxide/radio/RadioGroup.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/oxide/rating/Rating.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/oxide/select/Select.d.ts +7295 -5451
- package/internal-do-not-import-from-here/ux/oxide/switch/Switch.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/oxide/tab/Tab.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/oxide/text/Text.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/oxide/textarea/TextArea.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/oxide/textfield/TextField.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/permissioninput/PermissionInput.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/permissioninput/TenantAdminPermissionInput.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/properties/property-picker/PropertyInput.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/properties/property-picker/PropertyPicker.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/richtexteditor/RichTextEditor.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/social/PeopleTagging.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/theming-v2/admin/blades/blueprints/components/store/ChromeEditorStore.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/theming-v2/admin/blades/blueprints/spacing/store/SpacingEditorStore.d.ts +38 -18
- package/internal-do-not-import-from-here/ux/theming-v2/admin/blades/blueprints/typography/store/TypographyEditorStore.d.ts +36 -14
- package/internal-do-not-import-from-here/ux/theming-v2/admin/blades/colorschemas/store/ColorSchemaEditorStore.d.ts +27 -17
- package/internal-do-not-import-from-here/ux/theming-v2/admin/blades/templates/TemplatesJourney.d.ts +22 -0
- package/internal-do-not-import-from-here/ux/theming-v2/admin/blades/templates/blades/ButtonTemplateEdit.d.ts +16 -0
- package/internal-do-not-import-from-here/ux/theming-v2/admin/blades/templates/blades/ButtonTemplates.d.ts +22 -0
- package/internal-do-not-import-from-here/ux/theming-v2/admin/blades/templates/blades/ChromeTemplateEdit.d.ts +16 -0
- package/internal-do-not-import-from-here/ux/theming-v2/admin/blades/templates/blades/ChromeTemplates.d.ts +22 -0
- package/internal-do-not-import-from-here/ux/theming-v2/admin/blades/templates/blades/TabTemplateEdit.d.ts +16 -0
- package/internal-do-not-import-from-here/ux/theming-v2/admin/blades/templates/blades/TabTemplates.d.ts +22 -0
- package/internal-do-not-import-from-here/ux/theming-v2/admin/blades/templates/store/TemplateEditorStore.d.ts +156 -0
- package/internal-do-not-import-from-here/ux/theming-v2/admin/blades/themes/blades/EditThemeBlade.d.ts +4 -83
- package/internal-do-not-import-from-here/ux/theming-v2/admin/blades/themes/blades/ViewThemeBlade.d.ts +16 -0
- package/internal-do-not-import-from-here/ux/theming-v2/admin/blades/themes/store/ThemeEditorStore.d.ts +55 -0
- package/internal-do-not-import-from-here/ux/theming-v2/designkits/default/themes/ThemeDefinitions.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/theming-v2/designkits/documentation/themes/BlueprintsTypography.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/theming-v2/designkits/documentation/themes/ThemeDefinitions.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/theming-v2/designkits/editor/shared.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/theming-v2/designkits/editor/themes/BlueprintsTypography.d.ts +3 -2
- package/internal-do-not-import-from-here/ux/theming-v2/designkits/editor/themes/ThemeDefinitions.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/theming-v2/designkits/index.d.ts +2 -0
- package/internal-do-not-import-from-here/ux/theming-v2/designkits/{core → shared}/BlueprintsTemplates.d.ts +21 -6
- package/internal-do-not-import-from-here/ux/theming-v2/designkits/{core → shared}/ThemeDefinitionInstance.d.ts +11 -5
- package/internal-do-not-import-from-here/ux/theming-v2/designkits/{core → shared}/TypographyBlueprints.d.ts +0 -4
- package/internal-do-not-import-from-here/ux/theming-v2/designkits/{core → shared}/index.d.ts +4 -6
- package/internal-do-not-import-from-here/ux/theming-v2/store/BlueprintTemplatesStore.d.ts +125 -92
- package/internal-do-not-import-from-here/ux/theming-v2/store/ChromeBlueprintStore.d.ts +3611 -2695
- package/internal-do-not-import-from-here/ux/theming-v2/store/ColorSchemaDefinitionStore.d.ts +20 -10
- package/internal-do-not-import-from-here/ux/theming-v2/store/ColorSchemaStore.d.ts +3586 -2670
- package/internal-do-not-import-from-here/ux/theming-v2/store/ComponentBlueprintStore.d.ts +3611 -2695
- package/internal-do-not-import-from-here/ux/theming-v2/store/SpacingBlueprintStore.d.ts +3611 -2695
- package/internal-do-not-import-from-here/ux/theming-v2/store/ThemeContextStore.d.ts +102 -48
- package/internal-do-not-import-from-here/ux/theming-v2/store/ThemeDefinitionStoreV2.d.ts +12 -9
- package/internal-do-not-import-from-here/ux/theming-v2/store/ThemeStoreV2.d.ts +10 -4
- package/internal-do-not-import-from-here/ux/theming-v2/store/TypographyBlueprintStore.d.ts +3619 -2703
- package/internal-do-not-import-from-here/ux/theming-v2/styling/UseStyling.d.ts +11 -41617
- package/internal-do-not-import-from-here/ux/theming-v2/styling/styles/Blueprints.d.ts +12 -12
- package/internal-do-not-import-from-here/ux/theming-v2/styling/styles/Typography.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/theming-v2/styling/styles/index.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/theming-v2/themepicker/ThemeEditor.d.ts +7 -3
- package/internal-do-not-import-from-here/ux/theming-v2/themeprovider/ThemeProvider.d.ts +11 -11
- package/internal-do-not-import-from-here/ux/timeperiodpicker/TimePeriodPicker.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/urlinput/UrlInputLegacy.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/use/UseColorSchemaSetup.d.ts +3598 -2676
- package/internal-do-not-import-from-here/ux/use/UseIcon.d.ts +2 -0
- package/internal-do-not-import-from-here/ux/velcron/core/stores/VelcronColorSchema.d.ts +9 -6
- package/internal-do-not-import-from-here/ux/velcron/core/stores/VelcronTheming.d.ts +4 -1
- package/internal-do-not-import-from-here/ux/velcron/renderer/VelcronRenderer.d.ts +5 -5
- package/internal-do-not-import-from-here/ux/velcron/renderer/propertyeditors/ColorSchemaEditor.d.ts +95 -95
- package/internal-do-not-import-from-here/ux/versionedlayout/blade/VersionedLayoutBladeBuilder.d.ts +7 -20
- package/internal-do-not-import-from-here/wctypings.d.ts +13 -0
- package/package.json +4 -4
- package/internal-do-not-import-from-here/ux/theming-v2/admin/blades/blueprints/typography/blades/TypographyDefinitionBlade.css.d.ts +0 -4
- package/internal-do-not-import-from-here/ux/theming-v2/designkits/core/ColorManager.d.ts +0 -7
- package/internal-do-not-import-from-here/ux/theming-v2/designkits/core/ColorSchemaManager.d.ts +0 -12
- /package/internal-do-not-import-from-here/ux/theming-v2/admin/blades/blueprints/spacing/blades/{SpacingBlueprintBlade.d.ts → EditSpacingBlueprintBlade.d.ts} +0 -0
- /package/internal-do-not-import-from-here/ux/theming-v2/admin/blades/blueprints/typography/blades/{TypographyDefinitionBlade.d.ts → EditTypographyBlueprintBlade.d.ts} +0 -0
- /package/internal-do-not-import-from-here/ux/theming-v2/admin/blades/blueprints/typography/blades/{TypographySettingsBlade.d.ts → EditTypographyDefinitionBlade.d.ts} +0 -0
- /package/internal-do-not-import-from-here/ux/theming-v2/designkits/{core → shared}/ButtonStyleBlueprints.d.ts +0 -0
- /package/internal-do-not-import-from-here/ux/theming-v2/designkits/{core → shared}/ChromeStyleBlueprints.d.ts +0 -0
- /package/internal-do-not-import-from-here/ux/theming-v2/designkits/{core → shared}/Colors.d.ts +0 -0
- /package/internal-do-not-import-from-here/ux/theming-v2/designkits/{core → shared}/SpacingBlueprint.d.ts +0 -0
- /package/internal-do-not-import-from-here/ux/theming-v2/designkits/{core → shared}/TabsStyleBlueprints.d.ts +0 -0
@@ -0,0 +1,156 @@
|
|
1
|
+
import { ButtonBlueprint, ChromeBlueprint, Guid, ITemplateRegistration, TabsBlueprint } from "@omnia/fx-models";
|
2
|
+
export declare const useTemplateEditorStore: () => {
|
3
|
+
state: {
|
4
|
+
editingButton: ITemplateRegistration<ButtonBlueprint>;
|
5
|
+
editingTabs: ITemplateRegistration<TabsBlueprint>;
|
6
|
+
editingChrome: ITemplateRegistration<ChromeBlueprint>;
|
7
|
+
editMode: boolean;
|
8
|
+
};
|
9
|
+
events: {
|
10
|
+
onMutatedEditingButton: import("@omnia/fx").MessageBusExposeOnlySubscription<ITemplateRegistration<ButtonBlueprint>>;
|
11
|
+
onMutatedEditingTabs: import("@omnia/fx").MessageBusExposeOnlySubscription<ITemplateRegistration<TabsBlueprint>>;
|
12
|
+
onMutatedEditingChrome: import("@omnia/fx").MessageBusExposeOnlySubscription<ITemplateRegistration<ChromeBlueprint>>;
|
13
|
+
onMutatedEditMode: import("@omnia/fx").MessageBusExposeOnlySubscription<boolean>;
|
14
|
+
} & Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>;
|
15
|
+
actions: {
|
16
|
+
onDispatching: {
|
17
|
+
newButtonBlueprint: {
|
18
|
+
subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
19
|
+
};
|
20
|
+
editButtonBlueprint: {
|
21
|
+
subscribe(fn: (blueprint: ITemplateRegistration<ButtonBlueprint>) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
22
|
+
};
|
23
|
+
saveButtonBlueprint: {
|
24
|
+
subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
25
|
+
};
|
26
|
+
deleteButtonBlueprint: {
|
27
|
+
subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
28
|
+
};
|
29
|
+
newTabsBlueprint: {
|
30
|
+
subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
31
|
+
};
|
32
|
+
editTabsBlueprint: {
|
33
|
+
subscribe(fn: (blueprint: ITemplateRegistration<TabsBlueprint>) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
34
|
+
};
|
35
|
+
saveTabsBlueprint: {
|
36
|
+
subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
37
|
+
};
|
38
|
+
deleteTabsBlueprint: {
|
39
|
+
subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
40
|
+
};
|
41
|
+
newChromeBlueprint: {
|
42
|
+
subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
43
|
+
};
|
44
|
+
editChromeBlueprint: {
|
45
|
+
subscribe(fn: (blueprint: ITemplateRegistration<ChromeBlueprint>) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
46
|
+
};
|
47
|
+
saveChromeBlueprint: {
|
48
|
+
subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
49
|
+
};
|
50
|
+
deleteChromeBlueprint: {
|
51
|
+
subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
52
|
+
};
|
53
|
+
};
|
54
|
+
onDispatched: {
|
55
|
+
newButtonBlueprint: {
|
56
|
+
subscribe(fn: (result: void) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
57
|
+
};
|
58
|
+
editButtonBlueprint: {
|
59
|
+
subscribe(fn: (result: void, blueprint: ITemplateRegistration<ButtonBlueprint>) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
60
|
+
};
|
61
|
+
saveButtonBlueprint: {
|
62
|
+
subscribe(fn: (result: boolean) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
63
|
+
};
|
64
|
+
deleteButtonBlueprint: {
|
65
|
+
subscribe(fn: (result: boolean) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
66
|
+
};
|
67
|
+
newTabsBlueprint: {
|
68
|
+
subscribe(fn: (result: void) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
69
|
+
};
|
70
|
+
editTabsBlueprint: {
|
71
|
+
subscribe(fn: (result: void, blueprint: ITemplateRegistration<TabsBlueprint>) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
72
|
+
};
|
73
|
+
saveTabsBlueprint: {
|
74
|
+
subscribe(fn: (result: boolean) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
75
|
+
};
|
76
|
+
deleteTabsBlueprint: {
|
77
|
+
subscribe(fn: (result: boolean) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
78
|
+
};
|
79
|
+
newChromeBlueprint: {
|
80
|
+
subscribe(fn: (result: void) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
81
|
+
};
|
82
|
+
editChromeBlueprint: {
|
83
|
+
subscribe(fn: (result: void, blueprint: ITemplateRegistration<ChromeBlueprint>) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
84
|
+
};
|
85
|
+
saveChromeBlueprint: {
|
86
|
+
subscribe(fn: (result: boolean) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
87
|
+
};
|
88
|
+
deleteChromeBlueprint: {
|
89
|
+
subscribe(fn: (result: boolean) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
90
|
+
};
|
91
|
+
};
|
92
|
+
onFailure: {
|
93
|
+
newButtonBlueprint: {
|
94
|
+
subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
95
|
+
};
|
96
|
+
editButtonBlueprint: {
|
97
|
+
subscribe(fn: (failureReason: any, blueprint: ITemplateRegistration<ButtonBlueprint>) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
98
|
+
};
|
99
|
+
saveButtonBlueprint: {
|
100
|
+
subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
101
|
+
};
|
102
|
+
deleteButtonBlueprint: {
|
103
|
+
subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
104
|
+
};
|
105
|
+
newTabsBlueprint: {
|
106
|
+
subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
107
|
+
};
|
108
|
+
editTabsBlueprint: {
|
109
|
+
subscribe(fn: (failureReason: any, blueprint: ITemplateRegistration<TabsBlueprint>) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
110
|
+
};
|
111
|
+
saveTabsBlueprint: {
|
112
|
+
subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
113
|
+
};
|
114
|
+
deleteTabsBlueprint: {
|
115
|
+
subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
116
|
+
};
|
117
|
+
newChromeBlueprint: {
|
118
|
+
subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
119
|
+
};
|
120
|
+
editChromeBlueprint: {
|
121
|
+
subscribe(fn: (failureReason: any, blueprint: ITemplateRegistration<ChromeBlueprint>) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
122
|
+
};
|
123
|
+
saveChromeBlueprint: {
|
124
|
+
subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
125
|
+
};
|
126
|
+
deleteChromeBlueprint: {
|
127
|
+
subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
128
|
+
};
|
129
|
+
};
|
130
|
+
} & {
|
131
|
+
/**Buttons */
|
132
|
+
newButtonBlueprint(): void;
|
133
|
+
editButtonBlueprint(blueprint: ITemplateRegistration<ButtonBlueprint>): void;
|
134
|
+
saveButtonBlueprint(): Promise<boolean>;
|
135
|
+
deleteButtonBlueprint(): Promise<boolean>;
|
136
|
+
/**Tabs */
|
137
|
+
newTabsBlueprint(): void;
|
138
|
+
editTabsBlueprint(blueprint: ITemplateRegistration<TabsBlueprint>): void;
|
139
|
+
saveTabsBlueprint(): Promise<boolean>;
|
140
|
+
deleteTabsBlueprint(): Promise<boolean>;
|
141
|
+
/**Chrome */
|
142
|
+
newChromeBlueprint(): void;
|
143
|
+
editChromeBlueprint(blueprint: ITemplateRegistration<ChromeBlueprint>): void;
|
144
|
+
saveChromeBlueprint(): Promise<boolean>;
|
145
|
+
deleteChromeBlueprint(): Promise<boolean>;
|
146
|
+
};
|
147
|
+
get: {};
|
148
|
+
bladeId: {
|
149
|
+
buttonEdit: Guid;
|
150
|
+
buttons: Guid;
|
151
|
+
tabs: Guid;
|
152
|
+
tabsEdit: Guid;
|
153
|
+
chrome: Guid;
|
154
|
+
chromeEdit: Guid;
|
155
|
+
};
|
156
|
+
};
|
@@ -1,95 +1,16 @@
|
|
1
|
-
import { Guid } from "@omnia/fx-models";
|
2
1
|
declare const _default: {
|
3
|
-
new (...args: any[]): import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
|
4
|
-
"blade-id": {
|
5
|
-
type: import("vue").PropType<Guid>;
|
6
|
-
};
|
7
|
-
bladeId: {
|
8
|
-
type: import("vue").PropType<Guid>;
|
9
|
-
};
|
10
|
-
"theme-id": {
|
11
|
-
type: import("vue").PropType<Guid>;
|
12
|
-
};
|
13
|
-
themeId: {
|
14
|
-
type: import("vue").PropType<Guid>;
|
15
|
-
};
|
16
|
-
edit: {
|
17
|
-
type: import("vue").PropType<boolean>;
|
18
|
-
} & {
|
19
|
-
type: import("vue").PropType<boolean>;
|
20
|
-
};
|
21
|
-
}>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
|
22
|
-
"blade-id": {
|
23
|
-
type: import("vue").PropType<Guid>;
|
24
|
-
};
|
25
|
-
bladeId: {
|
26
|
-
type: import("vue").PropType<Guid>;
|
27
|
-
};
|
28
|
-
"theme-id": {
|
29
|
-
type: import("vue").PropType<Guid>;
|
30
|
-
};
|
31
|
-
themeId: {
|
32
|
-
type: import("vue").PropType<Guid>;
|
33
|
-
};
|
34
|
-
edit: {
|
35
|
-
type: import("vue").PropType<boolean>;
|
36
|
-
} & {
|
37
|
-
type: import("vue").PropType<boolean>;
|
38
|
-
};
|
39
|
-
}>>, {}, true, {}, {}, {
|
2
|
+
new (...args: any[]): import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{}>>, () => JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{}>>, {}, true, {}, {}, {
|
40
3
|
P: {};
|
41
4
|
B: {};
|
42
5
|
D: {};
|
43
6
|
C: {};
|
44
7
|
M: {};
|
45
8
|
Defaults: {};
|
46
|
-
}, Readonly<import("vue").ExtractPropTypes<{
|
47
|
-
"blade-id": {
|
48
|
-
type: import("vue").PropType<Guid>;
|
49
|
-
};
|
50
|
-
bladeId: {
|
51
|
-
type: import("vue").PropType<Guid>;
|
52
|
-
};
|
53
|
-
"theme-id": {
|
54
|
-
type: import("vue").PropType<Guid>;
|
55
|
-
};
|
56
|
-
themeId: {
|
57
|
-
type: import("vue").PropType<Guid>;
|
58
|
-
};
|
59
|
-
edit: {
|
60
|
-
type: import("vue").PropType<boolean>;
|
61
|
-
} & {
|
62
|
-
type: import("vue").PropType<boolean>;
|
63
|
-
};
|
64
|
-
}>>, () => JSX.Element, {}, {}, {}, {}>;
|
9
|
+
}, Readonly<import("vue").ExtractPropTypes<{}>>, () => JSX.Element, {}, {}, {}, {}>;
|
65
10
|
__isFragment?: never;
|
66
11
|
__isTeleport?: never;
|
67
12
|
__isSuspense?: never;
|
68
|
-
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
69
|
-
|
70
|
-
type: import("vue").PropType<Guid>;
|
71
|
-
};
|
72
|
-
bladeId: {
|
73
|
-
type: import("vue").PropType<Guid>;
|
74
|
-
};
|
75
|
-
"theme-id": {
|
76
|
-
type: import("vue").PropType<Guid>;
|
77
|
-
};
|
78
|
-
themeId: {
|
79
|
-
type: import("vue").PropType<Guid>;
|
80
|
-
};
|
81
|
-
edit: {
|
82
|
-
type: import("vue").PropType<boolean>;
|
83
|
-
} & {
|
84
|
-
type: import("vue").PropType<boolean>;
|
85
|
-
};
|
86
|
-
}>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
|
87
|
-
propsDefinition: Omit<Readonly<{} & {
|
88
|
-
edit?: boolean;
|
89
|
-
bladeId?: Guid;
|
90
|
-
themeId?: Guid;
|
91
|
-
"theme-id"?: Guid;
|
92
|
-
"blade-id"?: Guid;
|
93
|
-
}>, never>;
|
13
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{}>>, () => JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
|
14
|
+
propsDefinition: Omit<Readonly<{} & {}>, never>;
|
94
15
|
};
|
95
16
|
export default _default;
|
@@ -0,0 +1,16 @@
|
|
1
|
+
declare const _default: {
|
2
|
+
new (...args: any[]): import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{}>>, () => JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{}>>, {}, true, {}, {}, {
|
3
|
+
P: {};
|
4
|
+
B: {};
|
5
|
+
D: {};
|
6
|
+
C: {};
|
7
|
+
M: {};
|
8
|
+
Defaults: {};
|
9
|
+
}, Readonly<import("vue").ExtractPropTypes<{}>>, () => JSX.Element, {}, {}, {}, {}>;
|
10
|
+
__isFragment?: never;
|
11
|
+
__isTeleport?: never;
|
12
|
+
__isSuspense?: never;
|
13
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{}>>, () => JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
|
14
|
+
propsDefinition: Omit<Readonly<{} & {}>, never>;
|
15
|
+
};
|
16
|
+
export default _default;
|
@@ -0,0 +1,55 @@
|
|
1
|
+
import { Guid, ThemeDefinitionV2 } from "@omnia/fx-models";
|
2
|
+
export declare const useThemeEditorStore: () => {
|
3
|
+
state: {
|
4
|
+
definition: ThemeDefinitionV2;
|
5
|
+
editMode: boolean;
|
6
|
+
};
|
7
|
+
events: {
|
8
|
+
onMutatedDefinition: import("@omnia/fx").MessageBusExposeOnlySubscription<ThemeDefinitionV2>;
|
9
|
+
onMutatedEditMode: import("@omnia/fx").MessageBusExposeOnlySubscription<boolean>;
|
10
|
+
} & Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>;
|
11
|
+
actions: {
|
12
|
+
onDispatching: {
|
13
|
+
editThemeDefinition: {
|
14
|
+
subscribe(fn: (definition: ThemeDefinitionV2) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
15
|
+
};
|
16
|
+
addThemeDefinition: {
|
17
|
+
subscribe(fn: (definition: ThemeDefinitionV2) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
18
|
+
};
|
19
|
+
save: {
|
20
|
+
subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
21
|
+
};
|
22
|
+
};
|
23
|
+
onDispatched: {
|
24
|
+
editThemeDefinition: {
|
25
|
+
subscribe(fn: (result: void, definition: ThemeDefinitionV2) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
26
|
+
};
|
27
|
+
addThemeDefinition: {
|
28
|
+
subscribe(fn: (result: void, definition: ThemeDefinitionV2) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
29
|
+
};
|
30
|
+
save: {
|
31
|
+
subscribe(fn: (result: void) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
32
|
+
};
|
33
|
+
};
|
34
|
+
onFailure: {
|
35
|
+
editThemeDefinition: {
|
36
|
+
subscribe(fn: (failureReason: any, definition: ThemeDefinitionV2) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
37
|
+
};
|
38
|
+
addThemeDefinition: {
|
39
|
+
subscribe(fn: (failureReason: any, definition: ThemeDefinitionV2) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
40
|
+
};
|
41
|
+
save: {
|
42
|
+
subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
43
|
+
};
|
44
|
+
};
|
45
|
+
} & {
|
46
|
+
editThemeDefinition(definition: ThemeDefinitionV2): void;
|
47
|
+
addThemeDefinition(definition: ThemeDefinitionV2): void;
|
48
|
+
save(): void;
|
49
|
+
};
|
50
|
+
get: {};
|
51
|
+
bladeId: {
|
52
|
+
editBlade: Guid;
|
53
|
+
viewBladeId: Guid;
|
54
|
+
};
|
55
|
+
};
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { ThemeDefinitionV2 } from "@omnia/fx-models";
|
2
|
-
import { ThemeDefinitionInstance } from "../../
|
2
|
+
import { ThemeDefinitionInstance } from "../../shared";
|
3
3
|
export declare function useDefaultThemeDefinitions(): {
|
4
4
|
readonly darkKnight: ThemeDefinitionV2;
|
5
5
|
readonly black: ThemeDefinitionV2;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { Guid, TypographyBlueprint, TypographyBlueprints } from "@omnia/fx-models";
|
2
2
|
export declare class DefaultDocTypographyBlueprints implements TypographyBlueprints {
|
3
|
-
|
3
|
+
id: Guid;
|
4
4
|
name: string;
|
5
5
|
primary: DocumentationTypography;
|
6
6
|
constructor();
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { ThemeDefinitionV2 } from "@omnia/fx-models";
|
2
|
-
import { ThemeDefinitionInstance } from "../../
|
2
|
+
import { ThemeDefinitionInstance } from "../../shared";
|
3
3
|
export declare function useDocumentationThemeDefinitions(): {
|
4
4
|
readonly dark: ThemeDefinitionV2;
|
5
5
|
};
|
@@ -0,0 +1 @@
|
|
1
|
+
export { DefaultEditorTypographyBlueprints } from "./themes/BlueprintsTypography";
|
@@ -1,12 +1,13 @@
|
|
1
1
|
import { Guid, TypographyBlueprint, TypographyBlueprints } from "@omnia/fx-models";
|
2
2
|
export declare class DefaultEditorTypographyBlueprints implements TypographyBlueprints {
|
3
|
-
|
3
|
+
id: Guid;
|
4
4
|
name: string;
|
5
5
|
primary: EditorTypography;
|
6
6
|
constructor();
|
7
7
|
}
|
8
8
|
export declare class EditorTypography implements TypographyBlueprint {
|
9
|
-
name:
|
9
|
+
name: string;
|
10
|
+
id: Guid;
|
10
11
|
font: {
|
11
12
|
id: Guid;
|
12
13
|
family: string;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { ThemeDefinitionV2 } from "@omnia/fx-models";
|
2
|
-
import { ThemeDefinitionInstance } from "../../
|
2
|
+
import { ThemeDefinitionInstance } from "../../shared";
|
3
3
|
export declare function useEditorThemeDefinitions(): {
|
4
4
|
readonly dark: ThemeDefinitionV2;
|
5
5
|
readonly light: ThemeDefinitionV2;
|
@@ -1,15 +1,16 @@
|
|
1
|
-
import { ChromeBlueprints, ComponentBlueprints, SpacingBlueprints, TypographyBlueprints } from "@omnia/fx-models";
|
1
|
+
import { ChromeBlueprints, ComponentBlueprints, Guid, SpacingBlueprints, TypographyBlueprints } from "@omnia/fx-models";
|
2
2
|
import { DefaultInnerSpacing, DefaultLayoutSpacing, PreviewInnerSpacing } from "./SpacingBlueprint";
|
3
3
|
import { DefaultTypography, FunkyTypography, PreviewMiniTypography, PreviewTypography } from "./TypographyBlueprints";
|
4
4
|
declare class ChromeBlueprintsTemplate implements ChromeBlueprints {
|
5
5
|
name: any;
|
6
|
+
id: any;
|
6
7
|
primary: any;
|
7
8
|
variant1: any;
|
8
9
|
variant2: any;
|
9
10
|
variant3: any;
|
10
|
-
constructor();
|
11
11
|
}
|
12
12
|
export declare class DefaultSpacingBlueprintTemplate implements SpacingBlueprints {
|
13
|
+
id: Guid;
|
13
14
|
name: string;
|
14
15
|
primary: {
|
15
16
|
layout: DefaultLayoutSpacing;
|
@@ -19,6 +20,7 @@ export declare class DefaultSpacingBlueprintTemplate implements SpacingBlueprint
|
|
19
20
|
}
|
20
21
|
export declare class PreviewSpacingBlueprintTemplate implements SpacingBlueprints {
|
21
22
|
name: string;
|
23
|
+
id: Guid;
|
22
24
|
primary: {
|
23
25
|
layout: PreviewInnerSpacing;
|
24
26
|
inner: PreviewInnerSpacing;
|
@@ -26,6 +28,7 @@ export declare class PreviewSpacingBlueprintTemplate implements SpacingBlueprint
|
|
26
28
|
constructor();
|
27
29
|
}
|
28
30
|
declare class ComponentBlueprintsTemplate implements ComponentBlueprints {
|
31
|
+
id: any;
|
29
32
|
name: any;
|
30
33
|
buttons: {
|
31
34
|
text: {
|
@@ -33,16 +36,22 @@ declare class ComponentBlueprintsTemplate implements ComponentBlueprints {
|
|
33
36
|
basic: any;
|
34
37
|
accent1: any;
|
35
38
|
warn: any;
|
36
|
-
disabled: any;
|
37
39
|
link: any;
|
40
|
+
variant1: any;
|
41
|
+
variant2: any;
|
42
|
+
variant3: any;
|
43
|
+
variant4: any;
|
38
44
|
};
|
39
45
|
icon: {
|
40
46
|
primary: any;
|
41
47
|
basic: any;
|
42
48
|
accent1: any;
|
43
49
|
warn: any;
|
44
|
-
disabled: any;
|
45
50
|
link: any;
|
51
|
+
variant1: any;
|
52
|
+
variant2: any;
|
53
|
+
variant3: any;
|
54
|
+
variant4: any;
|
46
55
|
};
|
47
56
|
};
|
48
57
|
tabs: {
|
@@ -52,14 +61,16 @@ declare class ComponentBlueprintsTemplate implements ComponentBlueprints {
|
|
52
61
|
variant3: any;
|
53
62
|
};
|
54
63
|
blocks: ChromeBlueprintsTemplate;
|
55
|
-
constructor();
|
64
|
+
constructor(id: Guid, name: string);
|
56
65
|
}
|
57
66
|
export declare class DefaultTypographyBlueprint implements TypographyBlueprints {
|
67
|
+
id: Guid;
|
58
68
|
name: string;
|
59
69
|
primary: DefaultTypography;
|
60
70
|
constructor();
|
61
71
|
}
|
62
72
|
export declare class FunkyTypographyBlueprint implements TypographyBlueprints {
|
73
|
+
id: Guid;
|
63
74
|
name: string;
|
64
75
|
primary: FunkyTypography;
|
65
76
|
constructor();
|
@@ -68,18 +79,22 @@ export declare class PreviewTypographyBlueprint implements TypographyBlueprints
|
|
68
79
|
name: string;
|
69
80
|
primary: PreviewTypography;
|
70
81
|
constructor();
|
82
|
+
id: Guid;
|
71
83
|
}
|
72
84
|
export declare class PreviewMiniTypographyBlueprint implements TypographyBlueprints {
|
73
85
|
name: string;
|
74
86
|
primary: PreviewMiniTypography;
|
75
87
|
constructor();
|
88
|
+
id: Guid;
|
76
89
|
}
|
77
90
|
export declare const BlueprintsTemplates: {
|
78
91
|
chrome: {
|
79
92
|
default: () => ChromeBlueprintsTemplate;
|
80
93
|
};
|
81
94
|
component: {
|
82
|
-
|
95
|
+
variant1: () => ComponentBlueprintsTemplate;
|
96
|
+
variant2: () => ComponentBlueprintsTemplate;
|
97
|
+
variant3: () => ComponentBlueprintsTemplate;
|
83
98
|
};
|
84
99
|
spacing: {
|
85
100
|
default: () => DefaultSpacingBlueprintTemplate;
|
@@ -1,13 +1,19 @@
|
|
1
|
-
import {
|
2
|
-
export
|
1
|
+
import { ColorSchema, ColorSchemas, ComponentBlueprints, Guid, SpacingBlueprints, ThemeDefinitionV2, TypographyBlueprints } from "@omnia/fx-models";
|
2
|
+
export interface FastLoadingThemeDefinition {
|
3
|
+
typography: TypographyBlueprints;
|
4
|
+
spacing: SpacingBlueprints;
|
5
|
+
components: ComponentBlueprints;
|
6
|
+
}
|
7
|
+
export declare class ThemeDefinitionInstance implements ThemeDefinitionV2, FastLoadingThemeDefinition {
|
3
8
|
id: Guid;
|
4
9
|
colors: ColorSchemas;
|
5
|
-
blueprints: Blueprints[];
|
6
10
|
dark: boolean;
|
7
11
|
name: string;
|
12
|
+
typographyId: Guid;
|
13
|
+
spacingId: Guid;
|
14
|
+
componentId: Guid;
|
8
15
|
typography: TypographyBlueprints;
|
9
16
|
spacing: SpacingBlueprints;
|
10
|
-
chrome: ChromeBlueprints;
|
11
17
|
components: ComponentBlueprints;
|
12
18
|
constructor(colors: {
|
13
19
|
primary: string | ColorSchema;
|
@@ -20,10 +26,10 @@ export declare class ThemeDefinitionInstance implements ThemeDefinitionV2 {
|
|
20
26
|
info: string | ColorSchema;
|
21
27
|
error: string | ColorSchema;
|
22
28
|
warning: string | ColorSchema;
|
29
|
+
notification: string | ColorSchema;
|
23
30
|
}, name: string, id: Guid, blueprints: {
|
24
31
|
typography: TypographyBlueprints;
|
25
32
|
spacing: SpacingBlueprints;
|
26
|
-
chrome: ChromeBlueprints;
|
27
33
|
components: ComponentBlueprints;
|
28
34
|
});
|
29
35
|
}
|
@@ -1,7 +1,6 @@
|
|
1
1
|
import { Guid, TypographyBlueprint } from "@omnia/fx-models";
|
2
2
|
export declare class FunkyTypography implements TypographyBlueprint {
|
3
3
|
name: string;
|
4
|
-
type: "typography";
|
5
4
|
font: {
|
6
5
|
id: Guid;
|
7
6
|
family: string;
|
@@ -103,7 +102,6 @@ export declare class FunkyTypography implements TypographyBlueprint {
|
|
103
102
|
}
|
104
103
|
export declare class DefaultTypography implements TypographyBlueprint {
|
105
104
|
name: string;
|
106
|
-
type: "typography";
|
107
105
|
font: {
|
108
106
|
id: Guid;
|
109
107
|
family: string;
|
@@ -205,7 +203,6 @@ export declare class DefaultTypography implements TypographyBlueprint {
|
|
205
203
|
export declare class PreviewTypography implements TypographyBlueprint {
|
206
204
|
id: Guid;
|
207
205
|
name: string;
|
208
|
-
type: "typography";
|
209
206
|
title: {
|
210
207
|
xl: {
|
211
208
|
lg: {
|
@@ -305,7 +302,6 @@ export declare class PreviewTypography implements TypographyBlueprint {
|
|
305
302
|
export declare class PreviewMiniTypography implements TypographyBlueprint {
|
306
303
|
name: string;
|
307
304
|
id: Guid;
|
308
|
-
type: "typography";
|
309
305
|
title: {
|
310
306
|
xl: {
|
311
307
|
lg: {
|
package/internal-do-not-import-from-here/ux/theming-v2/designkits/{core → shared}/index.d.ts
RENAMED
@@ -1,10 +1,8 @@
|
|
1
|
-
export * from "./Colors";
|
2
1
|
export * from "./ThemeDefinitionInstance";
|
3
|
-
export * from "./
|
4
|
-
export * from "./FillStyleDefinitions";
|
5
|
-
export * from "./BorderStyleDefinitions";
|
2
|
+
export * from "./BlueprintsTemplates";
|
6
3
|
export * from "./ButtonStyleBlueprints";
|
7
|
-
export * from "./TabsStyleBlueprints";
|
8
4
|
export * from "./ChromeStyleBlueprints";
|
9
|
-
export * from "./BlueprintsTemplates";
|
10
5
|
export * from "./SpacingBlueprint";
|
6
|
+
export * from "./TabsStyleBlueprints";
|
7
|
+
export * from "./TypographyBlueprints";
|
8
|
+
export * from "./Colors";
|