@omnia/fx 8.0.60-vnext → 8.0.62-vnext
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/internal-do-not-import-from-here/manifests/omnia.fx.core.manifest.json +1 -1
- package/internal-do-not-import-from-here/shared/http/Bring.d.ts +1 -1
- package/internal-do-not-import-from-here/shared/models/Guid.d.ts +1 -0
- package/internal-do-not-import-from-here/shared/models/Guid.js +4 -3
- package/internal-do-not-import-from-here/shared/models/theming/SharedBlueprintMethods.js +6 -1
- package/internal-do-not-import-from-here/ux/ComponentTypings.d.ts +10 -1
- package/internal-do-not-import-from-here/ux/alignmentpicker/AlignmentPicker.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/app/management/components/TabsManagement.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/compositiontests/OptionsBlockCurrent.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/dialog/Dialog.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/filterengine/components/renderer/person/PersonPropertyChipItem.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/filterpicker/FilterPicker.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/hub/HubChat.css.d.ts +4 -0
- package/internal-do-not-import-from-here/ux/hub/HubChat.d.ts +104 -0
- package/internal-do-not-import-from-here/ux/identities/IdentityRenderer.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/identitypicker/IdentityPicker.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/identitypicker/IdentityPickerDialog.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/identitypicker/IdentityPickerField.d.ts +6 -6
- package/internal-do-not-import-from-here/ux/identitypicker/IdentityPickerInlineField.d.ts +6 -6
- package/internal-do-not-import-from-here/ux/image/scalingsettings/ScalingSettings.d.ts +4 -4
- package/internal-do-not-import-from-here/ux/journey/v2/JourneyBlade.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/layoutcanvas/editor/settings/ColorSettings.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/layoutcanvas/editor/settings/blocktitle/BlockTitle.css.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/layoutcanvas/index.d.ts +0 -1
- package/internal-do-not-import-from-here/ux/layoutcanvas/stores/index.d.ts +0 -1
- package/internal-do-not-import-from-here/ux/markdown/MarkdownEditor.d.ts +59 -2
- package/internal-do-not-import-from-here/ux/markdown/MarkdownRenderer.css.d.ts +4 -0
- package/internal-do-not-import-from-here/ux/markdown/MarkdownRenderer.d.ts +42 -2
- package/internal-do-not-import-from-here/ux/markdown/plugins/MarkdownPluginContext.d.ts +3 -0
- package/internal-do-not-import-from-here/ux/markdown/plugins/VelcronMarkdownRenderer.d.ts +3 -0
- package/internal-do-not-import-from-here/ux/models/DataTable.d.ts +0 -1
- package/internal-do-not-import-from-here/ux/models/Validation.d.ts +3 -0
- package/internal-do-not-import-from-here/ux/monaco/MonacoEditor.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/oxide/appbar/Appbar.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/oxide/btngroup/ButtonGroup.d.ts +6 -6
- package/internal-do-not-import-from-here/ux/oxide/checkbox/Checkbox.d.ts +17 -3
- package/internal-do-not-import-from-here/ux/oxide/datatable/DataTable.d.ts +15 -18
- package/internal-do-not-import-from-here/ux/oxide/dialog/Dialog.d.ts +13 -13
- package/internal-do-not-import-from-here/ux/oxide/expansionpanel/ExpansionPanels.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/oxide/list/ListItem.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/oxide/menu/Menu.d.ts +4 -4
- package/internal-do-not-import-from-here/ux/oxide/navigationdrawer/NavigationDrawer.d.ts +4 -4
- package/internal-do-not-import-from-here/ux/oxide/panel/Panel.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/oxide/radio/RadioGroup.d.ts +17 -2
- package/internal-do-not-import-from-here/ux/oxide/select/Select.d.ts +23 -8
- package/internal-do-not-import-from-here/ux/oxide/slider/Slider.d.ts +6 -6
- package/internal-do-not-import-from-here/ux/oxide/snackbar/Snackbar.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/oxide/stepper/Stepper.d.ts +11 -11
- package/internal-do-not-import-from-here/ux/oxide/switch/Switch.d.ts +17 -2
- package/internal-do-not-import-from-here/ux/oxide/tab/Tab.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/oxide/tab/Tabs.d.ts +13 -13
- package/internal-do-not-import-from-here/ux/oxide/textarea/TextArea.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/oxide/textfield/TextField.d.ts +11 -11
- package/internal-do-not-import-from-here/ux/oxide/toolbar/Toolbar.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/oxide/treeview/Treeview.d.ts +4 -4
- package/internal-do-not-import-from-here/ux/oxide/validation/Validation.d.ts +7 -12
- package/internal-do-not-import-from-here/ux/oxide/validation/docs/AdvanceExample.d.ts +91 -0
- package/internal-do-not-import-from-here/ux/oxide/validation/docs/ExampleComponents.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/oxide/validation/docs/SimpleExample.d.ts +91 -0
- package/internal-do-not-import-from-here/ux/oxide/validation/docs/index.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/permissioninput/IPermissionInput.d.ts +0 -28
- package/internal-do-not-import-from-here/ux/permissioninput/PermissionInput.d.ts +291 -43
- package/internal-do-not-import-from-here/ux/settings/SettingsPane.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/spacingpicker/SpacingPicker2.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/spacingpicker/SpacingPicker3.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/theming/components/ThemeDefinitionEditor.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/theming-v2/blueprintpicker/BlueprintPicker.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/theming-v2/colorschemadefinitionpicker/ColorSchemaDefinitionPicker.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/theming-v2/colorschemapicker/ColorSchemaPicker.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/theming-v2/index.d.ts +2 -1
- package/internal-do-not-import-from-here/ux/theming-v2/{themes → skins/core}/Colors.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/theming-v2/skins/core/ThemeDefinitionInstance.d.ts +9 -0
- package/internal-do-not-import-from-here/ux/theming-v2/skins/core/index.d.ts +3 -0
- package/internal-do-not-import-from-here/ux/theming-v2/skins/core/useVelcronState.d.ts +50 -0
- package/internal-do-not-import-from-here/ux/{layoutcanvas/velcron_definitions/cards/Image_top.d.ts → theming-v2/skins/default/definitions/cards/BannerImageTop.d.ts} +1 -1
- package/internal-do-not-import-from-here/ux/theming-v2/skins/default/definitions/cards/RollupAvatar.d.ts +2 -0
- package/internal-do-not-import-from-here/ux/{layoutcanvas/velcron_definitions/content/Image.d.ts → theming-v2/skins/default/definitions/cards/RollupImageLarge.d.ts} +1 -1
- package/internal-do-not-import-from-here/ux/theming-v2/skins/default/definitions/cards/RollupImageSmall.d.ts +4 -0
- package/internal-do-not-import-from-here/ux/theming-v2/skins/default/definitions/cards/RollupImageTop.d.ts +2 -0
- package/internal-do-not-import-from-here/ux/theming-v2/skins/default/definitions/cards/RollupImageTopAvatar.d.ts +2 -0
- package/internal-do-not-import-from-here/ux/theming-v2/skins/default/definitions/cards/index.d.ts +6 -0
- package/internal-do-not-import-from-here/ux/theming-v2/skins/default/definitions/content/Image.d.ts +2 -0
- package/internal-do-not-import-from-here/ux/theming-v2/skins/default/definitions/content/ImageText.d.ts +3 -0
- package/internal-do-not-import-from-here/ux/theming-v2/skins/default/definitions/content/Quote.d.ts +2 -0
- package/internal-do-not-import-from-here/ux/theming-v2/skins/default/definitions/content/Text.d.ts +2 -0
- package/internal-do-not-import-from-here/ux/theming-v2/skins/default/definitions/content/index.d.ts +4 -0
- package/internal-do-not-import-from-here/ux/theming-v2/skins/default/definitions/headers/BlockTextIcon.d.ts +3 -0
- package/internal-do-not-import-from-here/ux/theming-v2/skins/default/definitions/headers/Pageheader.d.ts +2 -0
- package/internal-do-not-import-from-here/ux/{layoutcanvas/velcron_definitions → theming-v2/skins/default/definitions}/headers/index.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/theming-v2/skins/default/definitions/index.d.ts +3 -0
- package/internal-do-not-import-from-here/ux/theming-v2/skins/default/index.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/theming-v2/skins/default/themes/Blueprints.d.ts +21 -0
- package/internal-do-not-import-from-here/ux/theming-v2/skins/default/themes/ThemeDefinitions.d.ts +23 -0
- package/internal-do-not-import-from-here/ux/theming-v2/{themes → skins/default/themes}/TypographyTypes.d.ts +0 -96
- package/internal-do-not-import-from-here/ux/theming-v2/skins/default/themes/index.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/theming-v2/skins/default/useDefaultSkin.d.ts +48 -0
- package/internal-do-not-import-from-here/ux/theming-v2/skins/documentation/index.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/theming-v2/skins/documentation/themes/Blueprints.d.ts +6 -0
- package/internal-do-not-import-from-here/ux/theming-v2/skins/documentation/themes/SpacingTypes.d.ts +17 -0
- package/internal-do-not-import-from-here/ux/theming-v2/skins/documentation/themes/ThemeDefinitions.d.ts +6 -0
- package/internal-do-not-import-from-here/ux/theming-v2/skins/documentation/themes/TypographyTypes.d.ts +97 -0
- package/internal-do-not-import-from-here/ux/theming-v2/skins/documentation/themes/index.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/theming-v2/skins/documentation/useDocumentationSkin.d.ts +6 -0
- package/internal-do-not-import-from-here/ux/theming-v2/skins/editor/index.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/theming-v2/{themes → skins/editor/themes}/Blueprints.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/theming-v2/skins/editor/themes/SpacingTypes.d.ts +17 -0
- package/internal-do-not-import-from-here/ux/theming-v2/skins/editor/themes/ThemeDefinitions.d.ts +8 -0
- package/internal-do-not-import-from-here/ux/theming-v2/skins/editor/themes/TypographyTypes.d.ts +97 -0
- package/internal-do-not-import-from-here/ux/theming-v2/skins/editor/themes/index.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/theming-v2/skins/editor/useEditorSkin.d.ts +7 -0
- package/internal-do-not-import-from-here/ux/theming-v2/skins/index.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/theming-v2/skins/useSkins.d.ts +63 -0
- package/internal-do-not-import-from-here/ux/theming-v2/themedefinitionpicker/ThemeDefinitionPicker.d.ts +4 -4
- package/internal-do-not-import-from-here/ux/use/UseValidation.d.ts +3 -11
- package/internal-do-not-import-from-here/ux/userpresence/UserPresence.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/velcron/blocks/velcron/VelcronBlockSettings.d.ts +2 -7
- package/internal-do-not-import-from-here/ux/velcron/components/{properties/VelcronProperties.d.ts → propertieseditor/VelcronPropertiesEditor.d.ts} +23 -17
- package/internal-do-not-import-from-here/ux/velcron/components/{properties → propertieseditor}/editors/alignment/AlignmentEditor.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/velcron/components/propertieseditor/editors/color/ColorEditor.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/velcron/components/{properties → propertieseditor}/editors/index.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/velcron/components/propertieseditor/editors/markdown/MarkdownEditor.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/velcron/components/propertieseditor/editors/slider/SliderEditor.d.ts +2 -0
- package/internal-do-not-import-from-here/ux/velcron/components/propertieseditor/editors/switch/SwitchEditor.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/velcron/components/propertieseditor/editors/text/TextEditor.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/velcron/components/{properties → propertieseditor}/models/DefineVelcronPropertyEditor.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/velcron/components/propertieseditor/models/DefineVelcronPropertyEditorProps.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/velcron/core/models/VelcronDefinitions.d.ts +40 -35
- package/internal-do-not-import-from-here/ux/velcron/core/models/VelcronPropertyEditorDefinitions.d.ts +57 -0
- package/internal-do-not-import-from-here/ux/velcron/core/models/index.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/velcron/editor/VelcronEditor.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/velcron/editor/models/VelcronDescriptors.d.ts +1 -15
- package/internal-do-not-import-from-here/wctypings.d.ts +6 -2
- package/package.json +3 -3
- package/internal-do-not-import-from-here/ux/layoutcanvas/velcron_definitions/cards/Image_top_blog.d.ts +0 -2
- package/internal-do-not-import-from-here/ux/layoutcanvas/velcron_definitions/cards/News_Image_Small.d.ts +0 -3
- package/internal-do-not-import-from-here/ux/layoutcanvas/velcron_definitions/cards/News_Image_Top.d.ts +0 -2
- package/internal-do-not-import-from-here/ux/layoutcanvas/velcron_definitions/cards/index.d.ts +0 -3
- package/internal-do-not-import-from-here/ux/layoutcanvas/velcron_definitions/content/Image_text.d.ts +0 -3
- package/internal-do-not-import-from-here/ux/layoutcanvas/velcron_definitions/content/Text_Quote.d.ts +0 -2
- package/internal-do-not-import-from-here/ux/layoutcanvas/velcron_definitions/content/Text_only.d.ts +0 -2
- package/internal-do-not-import-from-here/ux/layoutcanvas/velcron_definitions/content/index.d.ts +0 -4
- package/internal-do-not-import-from-here/ux/layoutcanvas/velcron_definitions/headers/Pageheader.d.ts +0 -2
- package/internal-do-not-import-from-here/ux/layoutcanvas/velcron_definitions/index.d.ts +0 -1
- package/internal-do-not-import-from-here/ux/layoutcanvas/velcron_definitions/useVelcronDefinitionTemplates.d.ts +0 -28
- package/internal-do-not-import-from-here/ux/theming-v2/themes/ThemeDefinitions.d.ts +0 -41
- package/internal-do-not-import-from-here/ux/theming-v2/themes/index.d.ts +0 -4
- package/internal-do-not-import-from-here/ux/velcron/components/properties/editors/color/ColorEditor.d.ts +0 -1
- package/internal-do-not-import-from-here/ux/velcron/components/properties/editors/slider/SliderEditor.d.ts +0 -6
- package/internal-do-not-import-from-here/ux/velcron/components/properties/editors/switch/SwitchEditor.d.ts +0 -1
- package/internal-do-not-import-from-here/ux/velcron/components/properties/editors/text/TextEditor.d.ts +0 -1
- package/internal-do-not-import-from-here/ux/velcron/components/properties/models/DefineVelcronPropertyEditorProps.d.ts +0 -86
- /package/internal-do-not-import-from-here/ux/{layoutcanvas/stores → theming-v2}/VelcronDefinitionStore.d.ts +0 -0
- /package/internal-do-not-import-from-here/ux/{layoutcanvas/velcron_definitions → theming-v2/skins/default/definitions}/content/Contentblocks.d.ts +0 -0
- /package/internal-do-not-import-from-here/ux/{layoutcanvas/velcron_definitions → theming-v2/skins/default/definitions}/headers/Blockheaders.d.ts +0 -0
- /package/internal-do-not-import-from-here/ux/theming-v2/{themes → skins/default/themes}/SpacingTypes.d.ts +0 -0
- /package/internal-do-not-import-from-here/ux/velcron/components/{properties → propertieseditor}/index.d.ts +0 -0
- /package/internal-do-not-import-from-here/ux/velcron/components/{properties → propertieseditor}/models/index.d.ts +0 -0
@@ -2,7 +2,7 @@ import { BlueprintDefinition, BlueprintItemDefinition, Guid } from "@omnia/fx-mo
|
|
2
2
|
export declare class MD1Blueprint implements BlueprintDefinition {
|
3
3
|
id: Guid;
|
4
4
|
definitions: Array<BlueprintItemDefinition>;
|
5
|
-
constructor(
|
5
|
+
constructor();
|
6
6
|
}
|
7
7
|
export declare class MD2Blueprint implements BlueprintDefinition {
|
8
8
|
id: Guid;
|
@@ -0,0 +1,17 @@
|
|
1
|
+
import { Guid, SpacingDefinition } from "@omnia/fx-models";
|
2
|
+
export declare class DefaultLayoutSpacing implements SpacingDefinition {
|
3
|
+
id: Guid;
|
4
|
+
xs: number;
|
5
|
+
s: number;
|
6
|
+
m: number;
|
7
|
+
l: number;
|
8
|
+
xl: number;
|
9
|
+
}
|
10
|
+
export declare class DefaultInnerSpacing implements SpacingDefinition {
|
11
|
+
id: Guid;
|
12
|
+
xs: number;
|
13
|
+
s: number;
|
14
|
+
m: number;
|
15
|
+
l: number;
|
16
|
+
xl: number;
|
17
|
+
}
|
package/internal-do-not-import-from-here/ux/theming-v2/skins/editor/themes/ThemeDefinitions.d.ts
ADDED
@@ -0,0 +1,8 @@
|
|
1
|
+
import { ThemeDefinitionV2 } from "@omnia/fx-models";
|
2
|
+
import { ThemeDefinitionInstance } from "../../core";
|
3
|
+
export declare function useEditorThemeDefinitions(): {
|
4
|
+
readonly dark: ThemeDefinitionV2;
|
5
|
+
readonly light: ThemeDefinitionV2;
|
6
|
+
};
|
7
|
+
export declare function darkEditorDefinition(): ThemeDefinitionInstance;
|
8
|
+
export declare function lightEditorDefinition(): ThemeDefinitionInstance;
|
package/internal-do-not-import-from-here/ux/theming-v2/skins/editor/themes/TypographyTypes.d.ts
ADDED
@@ -0,0 +1,97 @@
|
|
1
|
+
import { Guid, TypographyDefinition } from "@omnia/fx-models";
|
2
|
+
export declare class EditorTypography implements TypographyDefinition {
|
3
|
+
id: Guid;
|
4
|
+
title: {
|
5
|
+
xl: {
|
6
|
+
large: {
|
7
|
+
size: number;
|
8
|
+
lineHeight: number;
|
9
|
+
weight: number;
|
10
|
+
};
|
11
|
+
};
|
12
|
+
l: {
|
13
|
+
large: {
|
14
|
+
size: number;
|
15
|
+
lineHeight: number;
|
16
|
+
weight: number;
|
17
|
+
};
|
18
|
+
};
|
19
|
+
m: {
|
20
|
+
large: {
|
21
|
+
size: number;
|
22
|
+
lineHeight: number;
|
23
|
+
weight: number;
|
24
|
+
};
|
25
|
+
};
|
26
|
+
s: {
|
27
|
+
large: {
|
28
|
+
size: number;
|
29
|
+
lineHeight: number;
|
30
|
+
weight: number;
|
31
|
+
};
|
32
|
+
};
|
33
|
+
xs: {
|
34
|
+
large: {
|
35
|
+
size: number;
|
36
|
+
lineHeight: number;
|
37
|
+
weight: number;
|
38
|
+
};
|
39
|
+
};
|
40
|
+
};
|
41
|
+
text: {
|
42
|
+
l: {
|
43
|
+
large: {
|
44
|
+
size: number;
|
45
|
+
lineHeight: number;
|
46
|
+
weight: number;
|
47
|
+
};
|
48
|
+
};
|
49
|
+
m: {
|
50
|
+
large: {
|
51
|
+
size: number;
|
52
|
+
lineHeight: number;
|
53
|
+
weight: number;
|
54
|
+
};
|
55
|
+
};
|
56
|
+
s: {
|
57
|
+
large: {
|
58
|
+
size: number;
|
59
|
+
lineHeight: number;
|
60
|
+
weight: number;
|
61
|
+
};
|
62
|
+
};
|
63
|
+
xs: {
|
64
|
+
large: {
|
65
|
+
size: number;
|
66
|
+
lineHeight: number;
|
67
|
+
weight: number;
|
68
|
+
};
|
69
|
+
};
|
70
|
+
};
|
71
|
+
navigation: {
|
72
|
+
l: {
|
73
|
+
large: {
|
74
|
+
size: number;
|
75
|
+
lineHeight: number;
|
76
|
+
weight: number;
|
77
|
+
};
|
78
|
+
};
|
79
|
+
m: {
|
80
|
+
large: {
|
81
|
+
size: number;
|
82
|
+
lineHeight: number;
|
83
|
+
weight: number;
|
84
|
+
};
|
85
|
+
};
|
86
|
+
};
|
87
|
+
link: {
|
88
|
+
m: {
|
89
|
+
decoration: string;
|
90
|
+
large: {
|
91
|
+
size: number;
|
92
|
+
lineHeight: number;
|
93
|
+
weight: number;
|
94
|
+
};
|
95
|
+
};
|
96
|
+
};
|
97
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
export * from "./ThemeDefinitions";
|
@@ -0,0 +1 @@
|
|
1
|
+
export * from "./useSkins";
|
@@ -0,0 +1,63 @@
|
|
1
|
+
export declare function useSkins(): {
|
2
|
+
default: {
|
3
|
+
readonly themes: {
|
4
|
+
readonly darkKnight: import("@omnia/fx-models").ThemeDefinitionV2;
|
5
|
+
readonly black: import("@omnia/fx-models").ThemeDefinitionV2;
|
6
|
+
readonly bumbleBee: import("@omnia/fx-models").ThemeDefinitionV2;
|
7
|
+
readonly cyberPunk: import("@omnia/fx-models").ThemeDefinitionV2;
|
8
|
+
readonly coffe: import("@omnia/fx-models").ThemeDefinitionV2;
|
9
|
+
readonly light: import("@omnia/fx-models").ThemeDefinitionV2;
|
10
|
+
readonly dark: import("@omnia/fx-models").ThemeDefinitionV2;
|
11
|
+
preview: {
|
12
|
+
readonly dark: import("@omnia/fx-models").ThemeDefinitionV2;
|
13
|
+
readonly darkMini: import("@omnia/fx-models").ThemeDefinitionV2;
|
14
|
+
};
|
15
|
+
};
|
16
|
+
readonly velcronTemplates: {
|
17
|
+
readonly headers: {
|
18
|
+
readonly block: {
|
19
|
+
iconLeft: import("@omnia/fx-models").VelcronDefinitionRegistration<object>;
|
20
|
+
iconRight: import("@omnia/fx-models").VelcronDefinitionRegistration<object>;
|
21
|
+
};
|
22
|
+
page: {
|
23
|
+
large: import("@omnia/fx-models").VelcronDefinitionRegistration<object>;
|
24
|
+
};
|
25
|
+
};
|
26
|
+
readonly content: {
|
27
|
+
text: import("@omnia/fx-models").VelcronDefinitionRegistration<object>;
|
28
|
+
textQuote: import("@omnia/fx-models").VelcronDefinitionRegistration<object>;
|
29
|
+
imageLeft: import("@omnia/fx-models").VelcronDefinitionRegistration<object>;
|
30
|
+
imageRight: import("@omnia/fx-models").VelcronDefinitionRegistration<object>;
|
31
|
+
imageWithCaption: import("@omnia/fx-models").VelcronDefinitionRegistration<object>;
|
32
|
+
};
|
33
|
+
general: {};
|
34
|
+
readonly cards: {
|
35
|
+
banner: {
|
36
|
+
imageTop: import("@omnia/fx-models").VelcronDefinitionRegistration<object>;
|
37
|
+
};
|
38
|
+
readonly rollup: {
|
39
|
+
imageLeftSmall: import("@omnia/fx-models").VelcronDefinitionRegistration<object>;
|
40
|
+
imageRightSmall: import("@omnia/fx-models").VelcronDefinitionRegistration<object>;
|
41
|
+
imagePromotedSmall: import("@omnia/fx-models").VelcronDefinitionRegistration<object>;
|
42
|
+
imageTop: import("@omnia/fx-models").VelcronDefinitionRegistration<object>;
|
43
|
+
imageTopAvatar: import("@omnia/fx-models").VelcronDefinitionRegistration<object>;
|
44
|
+
imageRightLarge: import("@omnia/fx-models").VelcronDefinitionRegistration<object>;
|
45
|
+
avatar: import("@omnia/fx-models").VelcronDefinitionRegistration<object>;
|
46
|
+
};
|
47
|
+
};
|
48
|
+
};
|
49
|
+
};
|
50
|
+
documentation: {
|
51
|
+
themes: {
|
52
|
+
readonly dark: import("@omnia/fx-models").ThemeDefinitionV2;
|
53
|
+
};
|
54
|
+
velcronTemplates: {};
|
55
|
+
};
|
56
|
+
editor: {
|
57
|
+
themes: {
|
58
|
+
readonly dark: import("@omnia/fx-models").ThemeDefinitionV2;
|
59
|
+
readonly light: import("@omnia/fx-models").ThemeDefinitionV2;
|
60
|
+
};
|
61
|
+
velcronTemplates: {};
|
62
|
+
};
|
63
|
+
};
|
@@ -114,10 +114,10 @@ declare const _default: {
|
|
114
114
|
}>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
115
115
|
[key: string]: any;
|
116
116
|
}>) => void)[];
|
117
|
-
"onUpdate:modelValue"?: ((value: Guid) => any) & ((theme: ThemeDefinitionV2) => any);
|
118
117
|
readonly modelValue?: Guid;
|
119
|
-
|
118
|
+
"onUpdate:modelValue"?: ((value: Guid) => any) & ((theme: ThemeDefinitionV2) => any);
|
120
119
|
readonly "v-model"?: Guid;
|
120
|
+
readonly toned?: string;
|
121
121
|
};
|
122
122
|
$attrs: {
|
123
123
|
[x: string]: unknown;
|
@@ -478,10 +478,10 @@ declare const _default: {
|
|
478
478
|
};
|
479
479
|
}>;
|
480
480
|
};
|
481
|
-
"onUpdate:modelValue"?: (value: Guid) => any;
|
482
481
|
modelValue?: Guid;
|
483
|
-
|
482
|
+
"onUpdate:modelValue"?: (value: Guid) => any;
|
484
483
|
"v-model"?: Guid;
|
484
|
+
toned?: string;
|
485
485
|
}>, "onUpdate:modelValue"> & {
|
486
486
|
"onUpdate:modelValue"?: (theme: ThemeDefinitionV2) => any;
|
487
487
|
};
|
@@ -1,14 +1,6 @@
|
|
1
|
-
import { IInternalValidator,
|
2
|
-
export declare function createValidator():
|
3
|
-
destroy: () => void;
|
4
|
-
createRules: () => IValidationRuleBuilder;
|
5
|
-
overrideValidate: (func: () => Promise<boolean>) => void;
|
6
|
-
register: (validation: IValidationScope) => void;
|
7
|
-
unregister: (validation: IValidationScope) => void;
|
8
|
-
validate: () => Promise<boolean>;
|
9
|
-
resetValidation: () => void;
|
10
|
-
};
|
1
|
+
import { IInternalValidator, IValidator } from "../models/Validation";
|
2
|
+
export declare function createValidator(): IValidator;
|
11
3
|
export declare function useInternalValidator(): {
|
12
|
-
setValidator: (validator:
|
4
|
+
setValidator: (validator: IValidator) => void;
|
13
5
|
validator: IInternalValidator;
|
14
6
|
};
|
@@ -110,8 +110,8 @@ declare const _default: {
|
|
110
110
|
[key: string]: any;
|
111
111
|
}>) => void)[];
|
112
112
|
readonly styles?: unknown;
|
113
|
-
readonly "onUpdate:modelValue"?: (value: UserIdentity) => any;
|
114
113
|
readonly modelValue?: UserIdentity;
|
114
|
+
readonly "onUpdate:modelValue"?: (value: UserIdentity) => any;
|
115
115
|
readonly "v-model"?: UserIdentity;
|
116
116
|
readonly offsetX?: number;
|
117
117
|
readonly offsetY?: number;
|
@@ -469,8 +469,8 @@ declare const _default: {
|
|
469
469
|
}>;
|
470
470
|
};
|
471
471
|
styles?: unknown;
|
472
|
-
"onUpdate:modelValue"?: (value: UserIdentity) => any;
|
473
472
|
modelValue?: UserIdentity;
|
473
|
+
"onUpdate:modelValue"?: (value: UserIdentity) => any;
|
474
474
|
"v-model"?: UserIdentity;
|
475
475
|
offsetX?: number;
|
476
476
|
offsetY?: number;
|
package/internal-do-not-import-from-here/ux/velcron/blocks/velcron/VelcronBlockSettings.d.ts
CHANGED
@@ -1,11 +1,6 @@
|
|
1
|
-
import {
|
2
|
-
interface VelcronColorSchema {
|
3
|
-
colorSchemas: {
|
4
|
-
[key: string]: ColorSchemaReference;
|
5
|
-
};
|
6
|
-
}
|
1
|
+
import { VelcronAppDefinition } from "@omnia/fx/models";
|
7
2
|
export interface VelcronBlockBlockSettings {
|
8
|
-
definition: VelcronAppDefinition<
|
3
|
+
definition: VelcronAppDefinition<any>;
|
9
4
|
}
|
10
5
|
declare const _default: {
|
11
6
|
new (...args: any[]): {
|
@@ -1,5 +1,4 @@
|
|
1
|
-
import { VelcronAppDefinition } from "
|
2
|
-
import { VelcronDefinitionEditableProperty } from "../../editor/models";
|
1
|
+
import { VelcronAppDefinition, VelcronPropertyEditor } from "@omnia/fx-models";
|
3
2
|
declare const _default: {
|
4
3
|
new (...args: any[]): {
|
5
4
|
$: import("vue").ComponentInternalInstance;
|
@@ -110,10 +109,11 @@ declare const _default: {
|
|
110
109
|
}>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
111
110
|
[key: string]: any;
|
112
111
|
}>) => void)[];
|
113
|
-
"onUpdate:modelValue"?: ((value: VelcronAppDefinition<object>) => any) & ((value: VelcronAppDefinition<object>) => any);
|
114
112
|
readonly modelValue?: VelcronAppDefinition<object>;
|
115
|
-
|
113
|
+
"onUpdate:modelValue"?: ((value: VelcronAppDefinition<object>) => any) & ((value: VelcronAppDefinition<object>) => any);
|
116
114
|
readonly "v-model"?: VelcronAppDefinition<object>;
|
115
|
+
readonly propertyEditors?: VelcronPropertyEditor<any>[];
|
116
|
+
readonly "property-editors"?: VelcronPropertyEditor<any>[];
|
117
117
|
};
|
118
118
|
$attrs: {
|
119
119
|
[x: string]: unknown;
|
@@ -129,9 +129,11 @@ declare const _default: {
|
|
129
129
|
$emit: (event: "update:modelValue", value: VelcronAppDefinition<object>) => void;
|
130
130
|
$el: any;
|
131
131
|
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
132
|
-
|
133
|
-
type: import("vue").PropType<
|
134
|
-
|
132
|
+
"property-editors": {
|
133
|
+
type: import("vue").PropType<VelcronPropertyEditor<any>[]>;
|
134
|
+
};
|
135
|
+
propertyEditors: {
|
136
|
+
type: import("vue").PropType<VelcronPropertyEditor<any>[]>;
|
135
137
|
};
|
136
138
|
"onUpdate:modelValue": {
|
137
139
|
type: import("vue").PropType<(value: VelcronAppDefinition<object>) => any>;
|
@@ -224,9 +226,11 @@ declare const _default: {
|
|
224
226
|
$nextTick: typeof import("vue").nextTick;
|
225
227
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
|
226
228
|
} & Readonly<import("vue").ExtractPropTypes<{
|
227
|
-
|
228
|
-
type: import("vue").PropType<
|
229
|
-
|
229
|
+
"property-editors": {
|
230
|
+
type: import("vue").PropType<VelcronPropertyEditor<any>[]>;
|
231
|
+
};
|
232
|
+
propertyEditors: {
|
233
|
+
type: import("vue").PropType<VelcronPropertyEditor<any>[]>;
|
230
234
|
};
|
231
235
|
"onUpdate:modelValue": {
|
232
236
|
type: import("vue").PropType<(value: VelcronAppDefinition<object>) => any>;
|
@@ -301,9 +305,11 @@ declare const _default: {
|
|
301
305
|
__isTeleport?: never;
|
302
306
|
__isSuspense?: never;
|
303
307
|
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
304
|
-
|
305
|
-
type: import("vue").PropType<
|
306
|
-
|
308
|
+
"property-editors": {
|
309
|
+
type: import("vue").PropType<VelcronPropertyEditor<any>[]>;
|
310
|
+
};
|
311
|
+
propertyEditors: {
|
312
|
+
type: import("vue").PropType<VelcronPropertyEditor<any>[]>;
|
307
313
|
};
|
308
314
|
"onUpdate:modelValue": {
|
309
315
|
type: import("vue").PropType<(value: VelcronAppDefinition<object>) => any>;
|
@@ -376,9 +382,7 @@ declare const _default: {
|
|
376
382
|
}, () => JSX.Element[], unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
377
383
|
"update:modelValue": (value: VelcronAppDefinition) => true;
|
378
384
|
}, string, {}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
|
379
|
-
propsDefinition: Omit<Readonly<{
|
380
|
-
properties: VelcronDefinitionEditableProperty[];
|
381
|
-
} & {
|
385
|
+
propsDefinition: Omit<Readonly<{} & {
|
382
386
|
name?: {
|
383
387
|
[x: `onUpdate:${string}`]: {
|
384
388
|
type: import("vue").PropType<(value: VelcronAppDefinition<object>) => any>;
|
@@ -440,9 +444,11 @@ declare const _default: {
|
|
440
444
|
};
|
441
445
|
}>;
|
442
446
|
};
|
443
|
-
"onUpdate:modelValue"?: (value: VelcronAppDefinition<object>) => any;
|
444
447
|
modelValue?: VelcronAppDefinition<object>;
|
448
|
+
"onUpdate:modelValue"?: (value: VelcronAppDefinition<object>) => any;
|
445
449
|
"v-model"?: VelcronAppDefinition<object>;
|
450
|
+
propertyEditors?: VelcronPropertyEditor<any>[];
|
451
|
+
"property-editors"?: VelcronPropertyEditor<any>[];
|
446
452
|
}>, "onUpdate:modelValue"> & {
|
447
453
|
"onUpdate:modelValue"?: (value: VelcronAppDefinition<object>) => any;
|
448
454
|
};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
export interface VelcronAlignmentPropertyEditorSettings {
|
2
2
|
vertical: boolean;
|
3
3
|
}
|
4
|
-
export declare const useVelcronAlignmentPropertyEditor: (settings?: VelcronAlignmentPropertyEditorSettings) => import("
|
4
|
+
export declare const useVelcronAlignmentPropertyEditor: (settings?: VelcronAlignmentPropertyEditorSettings) => import("@omnia/fx-models").VelcronPropertyEditor<any>;
|
@@ -0,0 +1 @@
|
|
1
|
+
export declare const useVelcronColorPropertyEditor: (settings?: undefined) => import("@omnia/fx-models").VelcronPropertyEditor<any>;
|
@@ -0,0 +1 @@
|
|
1
|
+
export declare const useVelcronMarkdownPropertyEditor: (settings?: undefined) => import("@omnia/fx-models").VelcronPropertyEditor<any>;
|
@@ -0,0 +1 @@
|
|
1
|
+
export declare const useVelcronSwitchPropertyEditor: (settings?: undefined) => import("@omnia/fx-models").VelcronPropertyEditor<any>;
|
@@ -0,0 +1 @@
|
|
1
|
+
export declare const useVelcronTextPropertyEditor: (settings?: undefined) => import("@omnia/fx-models").VelcronPropertyEditor<any>;
|
@@ -1,2 +1,2 @@
|
|
1
|
-
import { VelcronPropertyEditor } from "
|
1
|
+
import { VelcronPropertyEditor } from "@omnia/fx-models";
|
2
2
|
export declare function defineVelcronPropertyEditor<TSettings = undefined>(name: string, component: unknown): (settings?: TSettings) => VelcronPropertyEditor;
|
@@ -0,0 +1 @@
|
|
1
|
+
export {};
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { VelcronEvent, VelcronOnUpdatedEvent, VelcronOnClosedEvent, VelcronOnCloseRequestedEvent, VelcronOnEditModeEvent, VelcronOnLoadEvent, VelcronOnPressEvent } from "./VelcronEvents";
|
2
2
|
import { VelcroncomponentArrayType, VelcronPrimitiveType } from "./VelcronTypes";
|
3
3
|
import { AssignOperators, VelcronHorizontalAlignments, VelcronIconTypes, VelcronActionTypes, VelcronVerticalAlignments } from "./Enums";
|
4
|
-
import { useVelcronThemingStore } from "..";
|
4
|
+
import { VelcronPropertyEditor, useVelcronThemingStore } from "..";
|
5
5
|
import { useVelcronColorSchemaStore } from "../stores/VelcronColorSchema";
|
6
6
|
import { useVelcronBlueprintStore } from "../stores/VelcronBlueprint";
|
7
7
|
export interface ResolvedComponentRenderer {
|
@@ -10,19 +10,19 @@ export interface ResolvedComponentRenderer {
|
|
10
10
|
customComponent: boolean;
|
11
11
|
}
|
12
12
|
export interface BuiltInComponentRenderers {
|
13
|
-
"
|
14
|
-
"
|
15
|
-
"
|
16
|
-
"
|
17
|
-
"
|
18
|
-
"
|
19
|
-
"
|
20
|
-
"
|
21
|
-
"
|
22
|
-
"
|
23
|
-
"
|
24
|
-
"
|
25
|
-
"
|
13
|
+
"view": unknown;
|
14
|
+
"card": unknown;
|
15
|
+
"text": unknown;
|
16
|
+
"image": unknown;
|
17
|
+
"button": unknown;
|
18
|
+
"text-input": unknown;
|
19
|
+
"progress-circle": unknown;
|
20
|
+
"web-view": unknown;
|
21
|
+
"custom-component": unknown;
|
22
|
+
"dialog": unknown;
|
23
|
+
"icon": unknown;
|
24
|
+
"chip": unknown;
|
25
|
+
"markdown": unknown;
|
26
26
|
}
|
27
27
|
export interface ColorSchemaReference {
|
28
28
|
name: string;
|
@@ -162,7 +162,7 @@ export interface VelcronIcon {
|
|
162
162
|
name: string;
|
163
163
|
}
|
164
164
|
export interface VelcronAppDefinition<TState extends DynamicState = DynamicState> extends VelcronDefinitionBase {
|
165
|
-
type: "
|
165
|
+
type: "velcron";
|
166
166
|
version: string;
|
167
167
|
name: string;
|
168
168
|
body?: Array<VelcronDefinition>;
|
@@ -171,6 +171,7 @@ export interface VelcronAppDefinition<TState extends DynamicState = DynamicState
|
|
171
171
|
[name: string]: [];
|
172
172
|
};
|
173
173
|
components?: Array<VelcronCustomComponentDefinition>;
|
174
|
+
propEditors?: Array<VelcronPropertyEditor>;
|
174
175
|
state?: TState;
|
175
176
|
computed?: {
|
176
177
|
[name: string]: [];
|
@@ -184,91 +185,95 @@ export interface VelcronComponentDefinition extends VelcronDefinition {
|
|
184
185
|
}
|
185
186
|
/*** Built-in Components *********************************************************************/
|
186
187
|
export interface VelcronViewDefinition extends VelcronDefinition, VelcronColorStyling {
|
187
|
-
type: "
|
188
|
+
type: "view";
|
188
189
|
events?: VelcronOnPressEvent;
|
189
190
|
direction?: "row" | "column" | "row-reverse" | "column-reverse" | string;
|
190
191
|
columnStyle?: object;
|
191
192
|
horizontalAlignment?: VelcronHorizontalAlignments;
|
192
193
|
verticalAlignment?: VelcronVerticalAlignments;
|
193
194
|
grow?: number;
|
195
|
+
absolute?: VelcronSpacing;
|
194
196
|
border?: VelcronBorder;
|
195
197
|
borderRadius?: VelcronDimensions;
|
196
|
-
width?: number;
|
198
|
+
width?: number | string;
|
199
|
+
minWidth?: number | string;
|
200
|
+
height?: number | string;
|
201
|
+
minHeight?: number | string;
|
197
202
|
}
|
198
203
|
export interface VelcronCardDefinition extends VelcronDefinition, VelcronColorStyling {
|
199
|
-
type: "
|
204
|
+
type: "card";
|
200
205
|
style?: VelcronCardStyling;
|
201
206
|
footer?: Array<VelcronDefinition>;
|
202
207
|
events?: VelcronOnPressEvent;
|
203
208
|
}
|
204
209
|
export interface VelcronTextDefinition extends VelcronDefinitionWithEditMode, VelcronColorStyling, VelcronTextStyling {
|
205
|
-
type: "
|
210
|
+
type: "text";
|
206
211
|
editLabel?: VelcronBindableProp;
|
207
212
|
lineClamp?: number;
|
208
213
|
noWrap?: boolean;
|
209
214
|
events?: VelcronOnPressEvent & VelcronOnUpdatedEvent;
|
210
215
|
}
|
211
216
|
export declare enum VelcronImageRatios {
|
212
|
-
square =
|
213
|
-
landscape =
|
217
|
+
square = "square",
|
218
|
+
landscape = "landscapre"
|
214
219
|
}
|
215
220
|
export interface VelcronImageDefinition extends VelcronDefinition {
|
216
|
-
type: "
|
221
|
+
type: "image";
|
217
222
|
source: string;
|
218
|
-
ratio: VelcronImageRatios;
|
223
|
+
ratio: VelcronImageRatios | string;
|
219
224
|
cover?: VelcronBindableProp<boolean>;
|
220
225
|
borderRadius?: VelcronDimensions;
|
221
226
|
events?: VelcronOnPressEvent;
|
222
227
|
}
|
223
228
|
export interface VelcronButtonDefinition extends VelcronDefinition {
|
224
|
-
type: "
|
229
|
+
type: "button";
|
225
230
|
text: string;
|
226
231
|
icon?: VelcronIcon;
|
227
232
|
disabled?: boolean;
|
228
233
|
events?: VelcronOnPressEvent;
|
229
234
|
}
|
230
235
|
export interface VelcronTextInputDefinition extends VelcronDefinition {
|
231
|
-
type: "
|
236
|
+
type: "text-input";
|
232
237
|
label?: string;
|
233
238
|
bind: string;
|
234
239
|
initialValue?: string;
|
235
240
|
events: VelcronOnUpdatedEvent;
|
236
241
|
}
|
237
242
|
export interface VelcronProgressCircleDefinition extends VelcronDefinition {
|
238
|
-
type: "
|
243
|
+
type: "progress-circle";
|
239
244
|
events?: VelcronOnPressEvent;
|
240
245
|
}
|
241
246
|
export interface VelcronWebViewDefinition extends VelcronDefinition {
|
242
|
-
type: "
|
247
|
+
type: "web-view";
|
243
248
|
source: string;
|
244
249
|
}
|
245
250
|
export interface VelcronDialogDefinition extends VelcronDefinition {
|
246
|
-
type: "
|
251
|
+
type: "dialog";
|
247
252
|
title: string;
|
248
253
|
visible: string;
|
249
254
|
events?: VelcronOnCloseRequestedEvent & VelcronOnClosedEvent;
|
250
255
|
}
|
251
256
|
export interface VelcronIconDefinition extends VelcronDefinition, VelcronColorStyling {
|
252
|
-
type: "
|
257
|
+
type: "icon";
|
253
258
|
icon: string;
|
254
259
|
size?: VelcronBindableProp<number>;
|
255
260
|
events?: VelcronOnPressEvent;
|
256
261
|
}
|
257
262
|
export interface VelcronMarkdownDefinition extends VelcronDefinitionWithEditMode, VelcronColorStyling, VelcronTextStyling {
|
258
|
-
type: "
|
263
|
+
type: "markdown";
|
259
264
|
events: VelcronOnUpdatedEvent;
|
260
265
|
}
|
261
266
|
export interface VelcronDimensions {
|
262
|
-
top: number;
|
263
|
-
right: number;
|
264
|
-
bottom: number;
|
265
|
-
left: number;
|
267
|
+
top: number | string;
|
268
|
+
right: number | string;
|
269
|
+
bottom: number | string;
|
270
|
+
left: number | string;
|
266
271
|
}
|
267
272
|
export interface VelcronBorder extends VelcronDimensions {
|
268
273
|
color: string;
|
269
274
|
}
|
270
275
|
export interface VelcronChipDefinition extends VelcronDefinition {
|
271
|
-
type: "
|
276
|
+
type: "chip";
|
272
277
|
text: string;
|
273
278
|
icon?: VelcronIcon;
|
274
279
|
disabled?: boolean;
|
@@ -0,0 +1,57 @@
|
|
1
|
+
import { VelcronDataTypes, VelcronImageRatios } from "@omnia/fx-models";
|
2
|
+
export interface VelcronPropertyEditor<TSettings = any> {
|
3
|
+
name?: string;
|
4
|
+
type: BuiltInPropertyEditorType | string;
|
5
|
+
settings?: TSettings;
|
6
|
+
mapToStateProperty: string;
|
7
|
+
dataType?: VelcronDataTypes;
|
8
|
+
component?: unknown;
|
9
|
+
}
|
10
|
+
export type BuiltInPropertyEditorType = "text" | "slider" | "switch" | "alignment" | "color" | "markdown" | "icon" | "image";
|
11
|
+
export declare enum BuiltInPropertyEditorTypes {
|
12
|
+
text = "text",
|
13
|
+
slider = "slider",
|
14
|
+
switch = "switch",
|
15
|
+
alignment = "alignment",
|
16
|
+
color = "color",
|
17
|
+
markdown = "markdown",
|
18
|
+
icon = "icon",
|
19
|
+
image = "image"
|
20
|
+
}
|
21
|
+
export interface VelcronSliderPropertyEditorSettings {
|
22
|
+
min: number;
|
23
|
+
max: number;
|
24
|
+
step: number;
|
25
|
+
}
|
26
|
+
export interface VelcronSliderPropertyEditor extends VelcronPropertyEditor<VelcronSliderPropertyEditorSettings> {
|
27
|
+
type: "slider";
|
28
|
+
}
|
29
|
+
export interface VelcronTextPropertyEditor extends VelcronPropertyEditor<any> {
|
30
|
+
type: "text";
|
31
|
+
}
|
32
|
+
export interface VelcronSwitchPropertyEditor extends VelcronPropertyEditor<any> {
|
33
|
+
type: "switch";
|
34
|
+
}
|
35
|
+
export interface VelcronAlignmentPropertyEditor extends VelcronPropertyEditor<any> {
|
36
|
+
type: "alignment";
|
37
|
+
}
|
38
|
+
export interface VelcronColorPropertyEditor extends VelcronPropertyEditor<any> {
|
39
|
+
type: "color";
|
40
|
+
}
|
41
|
+
export interface VelcronIconPropertyEditor extends VelcronPropertyEditor<any> {
|
42
|
+
type: "icon";
|
43
|
+
}
|
44
|
+
export interface VelcronMarkdownPropertyEditor extends VelcronPropertyEditor<any> {
|
45
|
+
type: "markdown";
|
46
|
+
}
|
47
|
+
export interface VelcronImagePropertyEditor extends VelcronPropertyEditor<any> {
|
48
|
+
type: "image";
|
49
|
+
}
|
50
|
+
export interface VelcronContentState {
|
51
|
+
caption: string;
|
52
|
+
main: string;
|
53
|
+
}
|
54
|
+
export interface VelcronImageState {
|
55
|
+
url: string;
|
56
|
+
ratio: VelcronImageRatios;
|
57
|
+
}
|