@omnia/fx 8.0.161-dev → 8.0.163-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/stores/mediapicker/ImageTransformerStore.d.ts +13 -0
- package/internal-do-not-import-from-here/stores/oxide/ComponentHostStore.d.ts +12 -12
- package/internal-do-not-import-from-here/ux/ComponentTypings.d.ts +4 -0
- package/internal-do-not-import-from-here/ux/app/management/tabs/shared/addbutton/AddButton.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/appprovisioning/appimageinput/AppImageInput.d.ts +10 -10
- package/internal-do-not-import-from-here/ux/appprovisioning/apppropertiesinput/AppPropertiesInput.d.ts +9 -9
- package/internal-do-not-import-from-here/ux/appprovisioning/components/AppInstanceEnterprisePropertiesVueComponent.d.ts +9 -9
- package/internal-do-not-import-from-here/ux/aurora/admin/blades/blueprints/components/store/ChromeEditorStore.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/aurora/admin/blades/blueprints/components/store/ComponentEditorStore.d.ts +4 -4
- package/internal-do-not-import-from-here/ux/aurora/admin/blades/blueprints/components/store/ContainersEditorStore.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/aurora/admin/blades/blueprints/typography/store/TypographyEditorStore.d.ts +5 -5
- package/internal-do-not-import-from-here/ux/aurora/components/backgroundstyle/BackgroundStyleEditor.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/aurora/components/borderpicker/BorderPicker.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/aurora/components/chrome/ChromeBlueprintsViewer.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/aurora/components/chrome/ChromePicker.d.ts +10 -10
- package/internal-do-not-import-from-here/ux/aurora/components/colorpickerV2/ColorPicker.d.ts +10 -10
- package/internal-do-not-import-from-here/ux/aurora/components/colorschemapicker/ColorSchemaPicker.d.ts +101 -101
- package/internal-do-not-import-from-here/ux/aurora/components/containerpicker/ContainerBlueprintsViewer.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/aurora/components/containerpicker/ContainerPicker.d.ts +10 -10
- package/internal-do-not-import-from-here/ux/aurora/components/fillpicker/FillPicker.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/aurora/components/iconstylepicker/IconStyleEditor.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/aurora/components/iconstylepicker/IconStylePicker.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/aurora/components/stylepicker/StylePicker.d.ts +10 -10
- package/internal-do-not-import-from-here/ux/aurora/components/textstylepicker/TextStylePicker.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/aurora/components/typography/TypographyBlueprintsViewer.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/aurora/store/ColorSchemaStore.d.ts +404 -400
- package/internal-do-not-import-from-here/ux/aurora/store/SpacingBlueprintStore.d.ts +399 -395
- package/internal-do-not-import-from-here/ux/aurora/store/ThemeContextStore.d.ts +60 -60
- package/internal-do-not-import-from-here/ux/aurora/store/TypographyBlueprintStore.d.ts +399 -395
- package/internal-do-not-import-from-here/ux/aurora/themeprovider/ThemeProvider.d.ts +10 -10
- package/internal-do-not-import-from-here/ux/datetimepicker/IDateTimePicker.d.ts +2 -1
- package/internal-do-not-import-from-here/ux/{velcron/editor/components/AddComponent.d.ts → datetimepicker/docs/DateTimePickerExample.d.ts} +8 -4
- package/internal-do-not-import-from-here/ux/datetimepicker/docs/ExampleComponents.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/datetimepicker/docs/index.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/editorchrome/chrome/EditorChrome.d.ts +22 -1
- package/internal-do-not-import-from-here/ux/identities/IdentityRenderer.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/identitypicker/IdentityPickerDialog.d.ts +9 -9
- package/internal-do-not-import-from-here/ux/journey/JourneyBlade.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/journey/JourneyMenu.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/layoutcanvas/editor/blockplaceholder/BlockPlaceholder.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/markdown/MarkdownEditor.d.ts +9 -9
- package/internal-do-not-import-from-here/ux/markdown/MarkdownRenderer.d.ts +9 -9
- package/internal-do-not-import-from-here/ux/monaco/MonacoEditor.d.ts +6 -6
- 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 +22 -1
- package/internal-do-not-import-from-here/ux/oxide/badge/Badge.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/oxide/btn/Button.d.ts +10 -10
- package/internal-do-not-import-from-here/ux/oxide/column/Column.d.ts +10 -10
- package/internal-do-not-import-from-here/ux/oxide/column/ColumnGrid.d.ts +64 -64
- package/internal-do-not-import-from-here/ux/oxide/datatable/DataTable.css.d.ts +410 -406
- package/internal-do-not-import-from-here/ux/oxide/datatable/DataTable.d.ts +822 -814
- package/internal-do-not-import-from-here/ux/oxide/datepicker/DatePicker.d.ts +21 -0
- package/internal-do-not-import-from-here/ux/oxide/dialog/Dialog.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/oxide/divider/Divider.d.ts +10 -10
- package/internal-do-not-import-from-here/ux/oxide/expansionpanel/ExpansionPanel.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/oxide/expansionpanel/ExpansionPanels.d.ts +9 -9
- package/internal-do-not-import-from-here/ux/oxide/flex/Row.d.ts +20 -20
- package/internal-do-not-import-from-here/ux/oxide/hostprovider/HostProvider.d.ts +19 -19
- package/internal-do-not-import-from-here/ux/oxide/link/Link.d.ts +9 -9
- package/internal-do-not-import-from-here/ux/oxide/list/ListItem.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/oxide/menu/Menu.d.ts +9 -9
- package/internal-do-not-import-from-here/ux/oxide/panel/Panel.d.ts +9 -9
- package/internal-do-not-import-from-here/ux/oxide/radio/RadioGroup.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/oxide/select/Select.d.ts +822 -814
- package/internal-do-not-import-from-here/ux/oxide/stepper/StepperStep.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/tab/Tabs.d.ts +10 -10
- package/internal-do-not-import-from-here/ux/oxide/text/Text.d.ts +9 -9
- package/internal-do-not-import-from-here/ux/oxide/timepicker/TimePicker.d.ts +65 -0
- package/internal-do-not-import-from-here/ux/oxide/timepicker/docs/ExampleComponents.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/oxide/timepicker/docs/SampleComponent.d.ts +55 -0
- package/internal-do-not-import-from-here/ux/oxide/timepicker/docs/index.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/oxide/toolbar/Toolbar.d.ts +10 -10
- package/internal-do-not-import-from-here/ux/post/templates/PostCardDisplay.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/properties/block/components/PropertySettings.d.ts +91 -91
- package/internal-do-not-import-from-here/ux/richtexteditorrenderer/RichTextEditorRendererSignIn.d.ts +39 -0
- package/internal-do-not-import-from-here/ux/rollupfilter/RollupFilter.d.ts +2 -1
- package/internal-do-not-import-from-here/ux/use/UseColorSchemaSetup.d.ts +410 -406
- package/internal-do-not-import-from-here/ux/use/UseIcon.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew/VelcronContentEditor.css.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew/VelcronContentEditor.d.ts +80 -0
- package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew/components/DefinitionToolbar.css.d.ts +3 -0
- package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew/components/DefinitionToolbar.d.ts +60 -0
- package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew/editorHooks/ContentEditorHooks.css.d.ts +2 -1
- package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew/models/EditorRenderingHooks.d.ts +3 -2
- package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew/stores/ContentEditorStore.d.ts +16 -0
- package/internal-do-not-import-from-here/ux/velcron/components/definitionpicker/VelcronDefinitionPicker.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/velcron/components/propertieseditor/VelcronPropertiesEditor.d.ts +11 -11
- package/internal-do-not-import-from-here/ux/velcron/core/models/VelcronDefinitions.d.ts +4 -4
- package/internal-do-not-import-from-here/ux/velcron/core/models/VelcronPropertyEditorDefinitions.d.ts +16 -212
- package/internal-do-not-import-from-here/ux/velcron/core/models/VelcronState.d.ts +201 -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/core/parser/VelcronData.d.ts +6 -6
- package/internal-do-not-import-from-here/ux/velcron/core/stores/VelcronColorSchema.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/velcron/core/templatebuilder/{editor/VelcronEditorBuilder2.d.ts → VelcronEditorBuilder.d.ts} +10 -10
- package/internal-do-not-import-from-here/ux/velcron/core/templatebuilder/{editor → old/editor}/VelcronColorSchemaEditor.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/velcron/core/templatebuilder/{editor → old/editor}/VelcronContentEditor.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/velcron/core/templatebuilder/{editor → old/editor}/VelcronEditorBuilder.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/velcron/core/templatebuilder/{editor → old/editor}/VelcronEditorBuilderBase.d.ts +3 -3
- package/internal-do-not-import-from-here/ux/velcron/core/templatebuilder/{editor → old/editor}/VelcronImageEditor.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/velcron/core/templatebuilder/{editor → old/editor}/VelcronPropertyMappingEditorBuilder.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/velcron/core/templatebuilder/useVelcronEditorBuilder.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/velcron/core/templatebuilder/useVelcronTemplateBuilder.d.ts +3 -3
- package/internal-do-not-import-from-here/ux/velcron/editor/components/{AddComponent.css.d.ts → AddItem.css.d.ts} +1 -1
- package/internal-do-not-import-from-here/ux/velcron/editor/components/AddItem.d.ts +56 -0
- package/internal-do-not-import-from-here/ux/velcron/editor/components/panels/edit-data/EditDataMemberPanel.d.ts +3 -3
- package/internal-do-not-import-from-here/ux/velcron/editor/models/Enums.d.ts +2 -0
- package/internal-do-not-import-from-here/ux/velcron/editor/models/Shared.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/velcron/editor/models/VelcronDescriptors.d.ts +3 -3
- package/internal-do-not-import-from-here/ux/velcron/editor/stores/VelcronEditorStore.d.ts +5 -5
- package/internal-do-not-import-from-here/ux/velcron/editor/templates/EditorTemplates.d.ts +5 -0
- 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/components/Editor.d.ts +6 -6
- package/internal-do-not-import-from-here/ux/velcron/renderer/editors/ColorSchemaEditor.d.ts +95 -95
- package/internal-do-not-import-from-here/ux/velcron/renderer/editors/PropertyEditorCreator.d.ts +10 -10
- package/internal-do-not-import-from-here/ux/versionedlayout/blade/VersionedLayoutBladeBuilder.d.ts +6 -4
- package/internal-do-not-import-from-here/ux/versionedlayout/editor/VersionedLayoutDefinitionEditorItem.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/versionedlayout/editor/VersionedLayoutEditor.d.ts +6 -4
- package/internal-do-not-import-from-here/wctypings.d.ts +27 -14
- package/package.json +2 -2
- package/internal-do-not-import-from-here/ux/oxide/datepicker/DateTimePicker.d.ts +0 -138
- package/internal-do-not-import-from-here/ux/versionedlayout/blade/VersionedLayoutStyle.css.d.ts +0 -3
- /package/internal-do-not-import-from-here/ux/velcron/core/templatebuilder/{state → old/state}/VelcronBlockHeaderStateBuilder.d.ts +0 -0
- /package/internal-do-not-import-from-here/ux/velcron/core/templatebuilder/{state → old/state}/VelcronColorSchemaBuilder.d.ts +0 -0
- /package/internal-do-not-import-from-here/ux/velcron/core/templatebuilder/{state → old/state}/VelcronContentStateBuilder.d.ts +0 -0
- /package/internal-do-not-import-from-here/ux/velcron/core/templatebuilder/{state → old/state}/VelcronImageStateBuilder.d.ts +0 -0
- /package/internal-do-not-import-from-here/ux/velcron/core/templatebuilder/{state → old/state}/VelcronPropertyMappingStateBuilder.d.ts +0 -0
- /package/internal-do-not-import-from-here/ux/velcron/core/templatebuilder/{state → old/state}/VelcronStateBuilder.d.ts +0 -0
- /package/internal-do-not-import-from-here/ux/velcron/core/templatebuilder/{state → old/state}/VelcronStateBuilderBase.d.ts +0 -0
- /package/internal-do-not-import-from-here/ux/velcron/core/templatebuilder/{state → old/state}/VelcronTextContentBuilder.d.ts +0 -0
@@ -1,7 +1,6 @@
|
|
1
|
-
import { BuiltInPropertyEditorType,
|
2
|
-
import { VelcronImageRatios } from "./VelcronDefinitions";
|
1
|
+
import { BuiltInPropertyEditorType, TypographyType, VelcronEditor } from "@omnia/fx-models/internal-do-not-import-from-here/shared/models";
|
3
2
|
export interface ResolvedPropertyEditor {
|
4
|
-
editor:
|
3
|
+
editor: VelcronEditor;
|
5
4
|
}
|
6
5
|
export type BuiltInPropertyEditorMap = {
|
7
6
|
[key in BuiltInPropertyEditorType]: unknown;
|
@@ -24,240 +23,45 @@ export interface VelcronTextEditorSettings {
|
|
24
23
|
type: TypographyType;
|
25
24
|
placeholder: string;
|
26
25
|
}
|
27
|
-
export interface VelcronSliderPropertyEditor extends
|
26
|
+
export interface VelcronSliderPropertyEditor extends VelcronEditor<VelcronSliderPropertyEditorSettings> {
|
28
27
|
type: "slider";
|
29
28
|
}
|
30
|
-
export interface VelcronTextPropertyEditor extends
|
29
|
+
export interface VelcronTextPropertyEditor extends VelcronEditor<VelcronTextEditorSettings> {
|
31
30
|
type: "text";
|
32
31
|
}
|
33
|
-
export interface VelcronEnterprisePropertyEditor extends
|
32
|
+
export interface VelcronEnterprisePropertyEditor extends VelcronEditor<any> {
|
34
33
|
type: "enterprise-property";
|
35
34
|
}
|
36
|
-
export interface VelcronTypographyPropertyEditor extends
|
35
|
+
export interface VelcronTypographyPropertyEditor extends VelcronEditor<VelcronTypographyEditorSettings> {
|
37
36
|
type: "typography";
|
38
37
|
}
|
39
|
-
export interface VelcronContainerPropertyEditor extends
|
38
|
+
export interface VelcronContainerPropertyEditor extends VelcronEditor<any> {
|
40
39
|
type: "container";
|
41
40
|
}
|
42
|
-
export interface VelcronSwitchPropertyEditor extends
|
41
|
+
export interface VelcronSwitchPropertyEditor extends VelcronEditor<any> {
|
43
42
|
type: "switch";
|
44
43
|
}
|
45
|
-
export interface VelcronAlignmentPropertyEditor extends
|
44
|
+
export interface VelcronAlignmentPropertyEditor extends VelcronEditor<any> {
|
46
45
|
type: "alignment";
|
47
46
|
}
|
48
|
-
export interface VelcronColorPropertyEditor extends
|
47
|
+
export interface VelcronColorPropertyEditor extends VelcronEditor<any> {
|
49
48
|
type: "color";
|
50
49
|
}
|
51
|
-
export interface VelcronColorSchemaPropertyEditor extends
|
50
|
+
export interface VelcronColorSchemaPropertyEditor extends VelcronEditor<any> {
|
52
51
|
type: "color-schema-type";
|
53
52
|
}
|
54
|
-
export interface VelcronIconPropertyEditor extends
|
53
|
+
export interface VelcronIconPropertyEditor extends VelcronEditor<any> {
|
55
54
|
type: "icon";
|
56
55
|
}
|
57
|
-
export interface VelcronMarkdownPropertyEditor extends
|
56
|
+
export interface VelcronMarkdownPropertyEditor extends VelcronEditor<VelcronMarkdownEditorSettings> {
|
58
57
|
type: "markdown";
|
59
58
|
}
|
60
|
-
export interface VelcronImagePropertyEditor extends
|
59
|
+
export interface VelcronImagePropertyEditor extends VelcronEditor<any> {
|
61
60
|
type: "image";
|
62
61
|
}
|
63
|
-
export interface VelcronSpacingPropertyEditor extends
|
62
|
+
export interface VelcronSpacingPropertyEditor extends VelcronEditor<VelcronSpacingEditorSettings> {
|
64
63
|
type: "spacing";
|
65
64
|
}
|
66
|
-
export interface VelcronReferencePropertyEditor extends
|
65
|
+
export interface VelcronReferencePropertyEditor extends VelcronEditor<any> {
|
67
66
|
type: "reference";
|
68
67
|
}
|
69
|
-
export interface VelcronState {
|
70
|
-
images?: VelcronImagesState;
|
71
|
-
styling?: VelcronStylingState;
|
72
|
-
colorSchemas?: VelcronColorSchemasState;
|
73
|
-
content?: VelcronContentState;
|
74
|
-
header?: VelcronHeaderState;
|
75
|
-
properties?: VelcronPropertiesState;
|
76
|
-
spacing?: VelcronSpacingState;
|
77
|
-
}
|
78
|
-
export interface VelcronSpacingState {
|
79
|
-
chrome?: VelcronSpacing;
|
80
|
-
}
|
81
|
-
export interface VelcronHeaderState {
|
82
|
-
title?: VelcronTextState;
|
83
|
-
icon?: string;
|
84
|
-
}
|
85
|
-
export interface VelcronTextState {
|
86
|
-
text?: string;
|
87
|
-
placeholder?: string;
|
88
|
-
typography?: VelcronTypographyState;
|
89
|
-
}
|
90
|
-
export interface VelcronTypographyState {
|
91
|
-
type?: TypographyType;
|
92
|
-
size?: TypographySize;
|
93
|
-
toned?: boolean;
|
94
|
-
}
|
95
|
-
export interface VelcronContentState {
|
96
|
-
caption?: VelcronTextState;
|
97
|
-
main?: VelcronTextState;
|
98
|
-
title?: VelcronTextState;
|
99
|
-
summary?: VelcronTextState;
|
100
|
-
}
|
101
|
-
export interface VelcronPropertiesState {
|
102
|
-
user: any;
|
103
|
-
mappings: Array<any>;
|
104
|
-
}
|
105
|
-
export interface VelcronImagesState {
|
106
|
-
main?: VelcronImageState;
|
107
|
-
alt1?: VelcronImageState;
|
108
|
-
alt2?: VelcronImageState;
|
109
|
-
}
|
110
|
-
export interface VelcronImageState {
|
111
|
-
url?: string;
|
112
|
-
ratio?: VelcronImageRatios;
|
113
|
-
caption?: VelcronTextState;
|
114
|
-
width?: number;
|
115
|
-
height?: number;
|
116
|
-
}
|
117
|
-
export interface VelcronStylingState {
|
118
|
-
}
|
119
|
-
export interface VelcronColorSchemasState {
|
120
|
-
main: string;
|
121
|
-
}
|
122
|
-
export declare const VelcronImagesStateBinding: {
|
123
|
-
main: {
|
124
|
-
editor: string;
|
125
|
-
url: string;
|
126
|
-
ratio: string;
|
127
|
-
caption: string;
|
128
|
-
width: string;
|
129
|
-
height: string;
|
130
|
-
};
|
131
|
-
alt1: {
|
132
|
-
editor: string;
|
133
|
-
url: string;
|
134
|
-
ratio: string;
|
135
|
-
caption: string;
|
136
|
-
width: string;
|
137
|
-
height: string;
|
138
|
-
};
|
139
|
-
alt2: {
|
140
|
-
editor: string;
|
141
|
-
url: string;
|
142
|
-
ratio: string;
|
143
|
-
caption: string;
|
144
|
-
width: string;
|
145
|
-
height: string;
|
146
|
-
};
|
147
|
-
};
|
148
|
-
export declare const VelcronHeaderStateBinding: {
|
149
|
-
title: {
|
150
|
-
text: string;
|
151
|
-
placeholder: string;
|
152
|
-
blueprint: import("@omnia/fx-models/internal-do-not-import-from-here/shared/models").VelcronBindableProp<TextBlueprint>;
|
153
|
-
};
|
154
|
-
icon: string;
|
155
|
-
};
|
156
|
-
export declare const VelcronContentStateBinding: {
|
157
|
-
title: {
|
158
|
-
text: string;
|
159
|
-
placeholder: string;
|
160
|
-
blueprint: import("@omnia/fx-models/internal-do-not-import-from-here/shared/models").VelcronBindableProp<TextBlueprint>;
|
161
|
-
};
|
162
|
-
main: {
|
163
|
-
text: string;
|
164
|
-
placeholder: string;
|
165
|
-
blueprint: import("@omnia/fx-models/internal-do-not-import-from-here/shared/models").VelcronBindableProp<TextBlueprint>;
|
166
|
-
};
|
167
|
-
caption: {
|
168
|
-
text: string;
|
169
|
-
placeholder: string;
|
170
|
-
blueprint: import("@omnia/fx-models/internal-do-not-import-from-here/shared/models").VelcronBindableProp<TextBlueprint>;
|
171
|
-
};
|
172
|
-
summary: {
|
173
|
-
text: string;
|
174
|
-
placeholder: string;
|
175
|
-
blueprint: import("@omnia/fx-models/internal-do-not-import-from-here/shared/models").VelcronBindableProp<TextBlueprint>;
|
176
|
-
};
|
177
|
-
};
|
178
|
-
export declare const VelcronColorSchemasStateBinding: {
|
179
|
-
main: {
|
180
|
-
type: string;
|
181
|
-
filled: string;
|
182
|
-
};
|
183
|
-
};
|
184
|
-
export declare const VelcronSpacingStateBinding: {
|
185
|
-
chrome: {
|
186
|
-
top: string;
|
187
|
-
right: string;
|
188
|
-
bottom: string;
|
189
|
-
left: string;
|
190
|
-
};
|
191
|
-
};
|
192
|
-
export declare const VelcronStateBinding: {
|
193
|
-
colorSchemas: {
|
194
|
-
main: {
|
195
|
-
type: string;
|
196
|
-
filled: string;
|
197
|
-
};
|
198
|
-
};
|
199
|
-
images: {
|
200
|
-
main: {
|
201
|
-
editor: string;
|
202
|
-
url: string;
|
203
|
-
ratio: string;
|
204
|
-
caption: string;
|
205
|
-
width: string;
|
206
|
-
height: string;
|
207
|
-
};
|
208
|
-
alt1: {
|
209
|
-
editor: string;
|
210
|
-
url: string;
|
211
|
-
ratio: string;
|
212
|
-
caption: string;
|
213
|
-
width: string;
|
214
|
-
height: string;
|
215
|
-
};
|
216
|
-
alt2: {
|
217
|
-
editor: string;
|
218
|
-
url: string;
|
219
|
-
ratio: string;
|
220
|
-
caption: string;
|
221
|
-
width: string;
|
222
|
-
height: string;
|
223
|
-
};
|
224
|
-
};
|
225
|
-
content: {
|
226
|
-
title: {
|
227
|
-
text: string;
|
228
|
-
placeholder: string;
|
229
|
-
blueprint: import("@omnia/fx-models/internal-do-not-import-from-here/shared/models").VelcronBindableProp<TextBlueprint>;
|
230
|
-
};
|
231
|
-
main: {
|
232
|
-
text: string;
|
233
|
-
placeholder: string;
|
234
|
-
blueprint: import("@omnia/fx-models/internal-do-not-import-from-here/shared/models").VelcronBindableProp<TextBlueprint>;
|
235
|
-
};
|
236
|
-
caption: {
|
237
|
-
text: string;
|
238
|
-
placeholder: string;
|
239
|
-
blueprint: import("@omnia/fx-models/internal-do-not-import-from-here/shared/models").VelcronBindableProp<TextBlueprint>;
|
240
|
-
};
|
241
|
-
summary: {
|
242
|
-
text: string;
|
243
|
-
placeholder: string;
|
244
|
-
blueprint: import("@omnia/fx-models/internal-do-not-import-from-here/shared/models").VelcronBindableProp<TextBlueprint>;
|
245
|
-
};
|
246
|
-
};
|
247
|
-
header: {
|
248
|
-
title: {
|
249
|
-
text: string;
|
250
|
-
placeholder: string;
|
251
|
-
blueprint: import("@omnia/fx-models/internal-do-not-import-from-here/shared/models").VelcronBindableProp<TextBlueprint>;
|
252
|
-
};
|
253
|
-
icon: string;
|
254
|
-
};
|
255
|
-
spacing: {
|
256
|
-
chrome: {
|
257
|
-
top: string;
|
258
|
-
right: string;
|
259
|
-
bottom: string;
|
260
|
-
left: string;
|
261
|
-
};
|
262
|
-
};
|
263
|
-
};
|
@@ -0,0 +1,201 @@
|
|
1
|
+
import { TextBlueprint, TypographySize, TypographyType, VelcronSpacing } from "@omnia/fx-models/internal-do-not-import-from-here/shared/models";
|
2
|
+
import { VelcronImageRatios } from "./VelcronDefinitions";
|
3
|
+
export interface VelcronState {
|
4
|
+
images?: VelcronImagesState;
|
5
|
+
styling?: VelcronStylingState;
|
6
|
+
colorSchemas?: VelcronColorSchemasState;
|
7
|
+
content?: VelcronContentState;
|
8
|
+
header?: VelcronHeaderState;
|
9
|
+
properties?: VelcronPropertiesState;
|
10
|
+
spacing?: VelcronSpacingState;
|
11
|
+
}
|
12
|
+
export interface VelcronSpacingState {
|
13
|
+
container?: VelcronSpacing;
|
14
|
+
}
|
15
|
+
export interface VelcronHeaderState {
|
16
|
+
title?: VelcronTextState;
|
17
|
+
icon?: string;
|
18
|
+
}
|
19
|
+
export interface VelcronTextState {
|
20
|
+
text?: string;
|
21
|
+
placeholder?: string;
|
22
|
+
typography?: VelcronTypographyState;
|
23
|
+
}
|
24
|
+
export interface VelcronTypographyState {
|
25
|
+
type?: TypographyType;
|
26
|
+
size?: TypographySize;
|
27
|
+
toned?: boolean;
|
28
|
+
}
|
29
|
+
export interface VelcronContentState {
|
30
|
+
caption?: VelcronTextState;
|
31
|
+
main?: VelcronTextState;
|
32
|
+
title?: VelcronTextState;
|
33
|
+
summary?: VelcronTextState;
|
34
|
+
}
|
35
|
+
export interface VelcronPropertiesState {
|
36
|
+
user: any;
|
37
|
+
mappings: Array<any>;
|
38
|
+
}
|
39
|
+
export interface VelcronImagesState {
|
40
|
+
main?: VelcronImageState;
|
41
|
+
alt1?: VelcronImageState;
|
42
|
+
alt2?: VelcronImageState;
|
43
|
+
}
|
44
|
+
export interface VelcronImageState {
|
45
|
+
url?: string;
|
46
|
+
ratio?: VelcronImageRatios;
|
47
|
+
caption?: VelcronTextState;
|
48
|
+
width?: number;
|
49
|
+
height?: number;
|
50
|
+
}
|
51
|
+
export interface VelcronStylingState {
|
52
|
+
}
|
53
|
+
export interface VelcronColorSchemasState {
|
54
|
+
main: string;
|
55
|
+
}
|
56
|
+
export declare const VelcronImagesStateBinding: {
|
57
|
+
main: {
|
58
|
+
editor: string;
|
59
|
+
url: string;
|
60
|
+
ratio: string;
|
61
|
+
caption: string;
|
62
|
+
width: string;
|
63
|
+
height: string;
|
64
|
+
};
|
65
|
+
alt1: {
|
66
|
+
editor: string;
|
67
|
+
url: string;
|
68
|
+
ratio: string;
|
69
|
+
caption: string;
|
70
|
+
width: string;
|
71
|
+
height: string;
|
72
|
+
};
|
73
|
+
alt2: {
|
74
|
+
editor: string;
|
75
|
+
url: string;
|
76
|
+
ratio: string;
|
77
|
+
caption: string;
|
78
|
+
width: string;
|
79
|
+
height: string;
|
80
|
+
};
|
81
|
+
};
|
82
|
+
export declare const VelcronHeaderStateBinding: {
|
83
|
+
title: {
|
84
|
+
text: string;
|
85
|
+
placeholder: string;
|
86
|
+
blueprint: import("@omnia/fx-models/internal-do-not-import-from-here/shared/models").VelcronBindableProp<TextBlueprint>;
|
87
|
+
};
|
88
|
+
icon: string;
|
89
|
+
};
|
90
|
+
export declare const VelcronContentStateBinding: {
|
91
|
+
title: {
|
92
|
+
text: string;
|
93
|
+
placeholder: string;
|
94
|
+
blueprint: import("@omnia/fx-models/internal-do-not-import-from-here/shared/models").VelcronBindableProp<TextBlueprint>;
|
95
|
+
};
|
96
|
+
main: {
|
97
|
+
text: string;
|
98
|
+
placeholder: string;
|
99
|
+
blueprint: import("@omnia/fx-models/internal-do-not-import-from-here/shared/models").VelcronBindableProp<TextBlueprint>;
|
100
|
+
};
|
101
|
+
caption: {
|
102
|
+
text: string;
|
103
|
+
placeholder: string;
|
104
|
+
blueprint: import("@omnia/fx-models/internal-do-not-import-from-here/shared/models").VelcronBindableProp<TextBlueprint>;
|
105
|
+
};
|
106
|
+
summary: {
|
107
|
+
text: string;
|
108
|
+
placeholder: string;
|
109
|
+
blueprint: import("@omnia/fx-models/internal-do-not-import-from-here/shared/models").VelcronBindableProp<TextBlueprint>;
|
110
|
+
};
|
111
|
+
};
|
112
|
+
export declare const VelcronColorSchemasStateBinding: {
|
113
|
+
main: {
|
114
|
+
value: string;
|
115
|
+
type: string;
|
116
|
+
filled: string;
|
117
|
+
};
|
118
|
+
};
|
119
|
+
export declare const VelcronSpacingStateBinding: {
|
120
|
+
container: {
|
121
|
+
value: string;
|
122
|
+
top: string;
|
123
|
+
right: string;
|
124
|
+
bottom: string;
|
125
|
+
left: string;
|
126
|
+
};
|
127
|
+
};
|
128
|
+
export declare const VelcronStateBinding: {
|
129
|
+
colorSchemas: {
|
130
|
+
main: {
|
131
|
+
value: string;
|
132
|
+
type: string;
|
133
|
+
filled: string;
|
134
|
+
};
|
135
|
+
};
|
136
|
+
images: {
|
137
|
+
main: {
|
138
|
+
editor: string;
|
139
|
+
url: string;
|
140
|
+
ratio: string;
|
141
|
+
caption: string;
|
142
|
+
width: string;
|
143
|
+
height: string;
|
144
|
+
};
|
145
|
+
alt1: {
|
146
|
+
editor: string;
|
147
|
+
url: string;
|
148
|
+
ratio: string;
|
149
|
+
caption: string;
|
150
|
+
width: string;
|
151
|
+
height: string;
|
152
|
+
};
|
153
|
+
alt2: {
|
154
|
+
editor: string;
|
155
|
+
url: string;
|
156
|
+
ratio: string;
|
157
|
+
caption: string;
|
158
|
+
width: string;
|
159
|
+
height: string;
|
160
|
+
};
|
161
|
+
};
|
162
|
+
content: {
|
163
|
+
title: {
|
164
|
+
text: string;
|
165
|
+
placeholder: string;
|
166
|
+
blueprint: import("@omnia/fx-models/internal-do-not-import-from-here/shared/models").VelcronBindableProp<TextBlueprint>;
|
167
|
+
};
|
168
|
+
main: {
|
169
|
+
text: string;
|
170
|
+
placeholder: string;
|
171
|
+
blueprint: import("@omnia/fx-models/internal-do-not-import-from-here/shared/models").VelcronBindableProp<TextBlueprint>;
|
172
|
+
};
|
173
|
+
caption: {
|
174
|
+
text: string;
|
175
|
+
placeholder: string;
|
176
|
+
blueprint: import("@omnia/fx-models/internal-do-not-import-from-here/shared/models").VelcronBindableProp<TextBlueprint>;
|
177
|
+
};
|
178
|
+
summary: {
|
179
|
+
text: string;
|
180
|
+
placeholder: string;
|
181
|
+
blueprint: import("@omnia/fx-models/internal-do-not-import-from-here/shared/models").VelcronBindableProp<TextBlueprint>;
|
182
|
+
};
|
183
|
+
};
|
184
|
+
header: {
|
185
|
+
title: {
|
186
|
+
text: string;
|
187
|
+
placeholder: string;
|
188
|
+
blueprint: import("@omnia/fx-models/internal-do-not-import-from-here/shared/models").VelcronBindableProp<TextBlueprint>;
|
189
|
+
};
|
190
|
+
icon: string;
|
191
|
+
};
|
192
|
+
spacing: {
|
193
|
+
container: {
|
194
|
+
value: string;
|
195
|
+
top: string;
|
196
|
+
right: string;
|
197
|
+
bottom: string;
|
198
|
+
left: string;
|
199
|
+
};
|
200
|
+
};
|
201
|
+
};
|
@@ -5,8 +5,8 @@ export interface ParseResult<T> {
|
|
5
5
|
value: T;
|
6
6
|
}
|
7
7
|
export declare class VelcronData {
|
8
|
-
static dataBind<T = string>(renderContext: VelcronRenderContext,
|
9
|
-
static
|
8
|
+
static dataBind<T = string>(renderContext: VelcronRenderContext, bindTo: VelcronBindableProp<any>): T;
|
9
|
+
static isBindable<T = string>(bindable: VelcronBindableProp<T>): boolean;
|
10
10
|
static getBindPath(text: string): string;
|
11
11
|
static addCtxToVariableNames(template: string, skipIfNameStartsWith?: string, skipIfNameMatches?: Array<string>, overridePrefixWhenNameMatches?: {
|
12
12
|
[name: string]: string;
|
@@ -20,12 +20,12 @@ export declare class VelcronData {
|
|
20
20
|
static evaluateArray(template: string, renderContext: VelcronRenderContext): Array<any> | null;
|
21
21
|
static evaluateBoolean(template: string | Boolean, renderContext: VelcronRenderContext): boolean | null;
|
22
22
|
static tryParseBoolean(bool: any): ParseResult<boolean | null>;
|
23
|
-
static isString(text: any):
|
24
|
-
static isBoolean(value: any): boolean;
|
25
|
-
static isNumber(value: any):
|
23
|
+
static isString(text: any): text is string;
|
24
|
+
static isBoolean(value: any): value is boolean;
|
25
|
+
static isNumber(value: any): value is number;
|
26
26
|
static isUndefined(value: any): boolean;
|
27
27
|
static isArray(obj: any): obj is ExtendArray;
|
28
|
-
static isObject(value: any):
|
28
|
+
static isObject(value: any): value is object;
|
29
29
|
static extendObject(obj: any): any;
|
30
30
|
static propertyPathExists(obj: object, path: string): boolean;
|
31
31
|
static getOrSetObjectByPath<T>(object: Object, path: string, value?: any): T | null;
|
@@ -8,7 +8,7 @@ export declare const useVelcronColorSchemaStore: (newStateWithName?: string) =>
|
|
8
8
|
onContainer: ColorDefinition;
|
9
9
|
isContainer: boolean;
|
10
10
|
name: string;
|
11
|
-
colorSchemaType: "
|
11
|
+
colorSchemaType: "primary" | "secondary" | ColorSchemaTypes | "accent1" | "accent2" | "accent3" | "neutral" | "warning" | "notification" | "background" | "error" | "info" | "dynamic";
|
12
12
|
id: import("@omnia/fx-models").GuidValue;
|
13
13
|
};
|
14
14
|
get: {
|
@@ -1,15 +1,15 @@
|
|
1
|
-
import { TypographyType,
|
2
|
-
export declare class
|
1
|
+
import { TypographyType, VelcronEditor, VelcronTypographyEditorSettings } from "@omnia/fx-models";
|
2
|
+
export declare class VelcronEditorBuilder {
|
3
3
|
private editors;
|
4
4
|
private formatStateMapping;
|
5
5
|
add(): {
|
6
|
-
spacingEditor: (name: string, stateMapping: string, individualSelection?: boolean) =>
|
7
|
-
imageEditor: (name: string, stateMapping: string) =>
|
8
|
-
colorSchemaEditor: (name: string, stateMapping: string) =>
|
9
|
-
markdownEditor: (name: string, stateMapping: string, placeholder?: string) =>
|
10
|
-
textEditor: (name: string, stateMapping: string, typographyType: TypographyType, placeholder?: string) =>
|
11
|
-
blockHeaderEditor: () =>
|
12
|
-
typographyEditor: (stateMapping: string, settings: VelcronTypographyEditorSettings) =>
|
6
|
+
spacingEditor: (name: string, stateMapping: string, individualSelection?: boolean) => VelcronEditorBuilder;
|
7
|
+
imageEditor: (name: string, stateMapping: string) => VelcronEditorBuilder;
|
8
|
+
colorSchemaEditor: (name: string, stateMapping: string) => VelcronEditorBuilder;
|
9
|
+
markdownEditor: (name: string, stateMapping: string, placeholder?: string) => VelcronEditorBuilder;
|
10
|
+
textEditor: (name: string, stateMapping: string, typographyType: TypographyType, placeholder?: string) => VelcronEditorBuilder;
|
11
|
+
blockHeaderEditor: () => VelcronEditorBuilder;
|
12
|
+
typographyEditor: (stateMapping: string, settings: VelcronTypographyEditorSettings) => VelcronEditorBuilder;
|
13
13
|
};
|
14
|
-
build():
|
14
|
+
build(): VelcronEditor<any>[];
|
15
15
|
}
|
@@ -1,9 +1,9 @@
|
|
1
|
-
import {
|
1
|
+
import { VelcronEditor } from "@omnia/fx-models";
|
2
2
|
import { VelcronEditorBuilder } from "./VelcronEditorBuilder";
|
3
3
|
import { VelcronEditorBuilderBase } from "./VelcronEditorBuilderBase";
|
4
4
|
export declare class VelcronColorSchemaEditorBuilder extends VelcronEditorBuilderBase {
|
5
5
|
private editor;
|
6
6
|
constructor(builder: any);
|
7
7
|
add(): VelcronEditorBuilder;
|
8
|
-
protected internalBuild():
|
8
|
+
protected internalBuild(): VelcronEditor<any>[];
|
9
9
|
}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import {
|
1
|
+
import { VelcronEditor } from "@omnia/fx-models";
|
2
2
|
import { VelcronEditorBuilderBase } from "./VelcronEditorBuilderBase";
|
3
3
|
export declare class VelcronContentEditorBuilder extends VelcronEditorBuilderBase {
|
4
4
|
private mainEditor;
|
@@ -34,5 +34,5 @@ export declare class VelcronContentEditorBuilder extends VelcronEditorBuilderBas
|
|
34
34
|
addPropertyMappingEditor: (title?: string) => VelcronContentEditorBuilder;
|
35
35
|
addTypographyEditor: (title?: string, type?: "text" | "title") => VelcronContentEditorBuilder;
|
36
36
|
};
|
37
|
-
protected internalBuild():
|
37
|
+
protected internalBuild(): VelcronEditor<any>[];
|
38
38
|
}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import {
|
1
|
+
import { VelcronEditor } from "@omnia/fx-models";
|
2
2
|
import { VelcronContentEditorBuilder } from "./VelcronContentEditor";
|
3
3
|
import { VelcronColorSchemaEditorBuilder } from "./VelcronColorSchemaEditor";
|
4
4
|
import { VelcronImageEditorBuilder } from "./VelcronImageEditor";
|
@@ -12,5 +12,5 @@ export declare class VelcronEditorBuilder {
|
|
12
12
|
colorSchemaType(): VelcronColorSchemaEditorBuilder;
|
13
13
|
image(): VelcronImageEditorBuilder;
|
14
14
|
properties(): VelcronPropertyMappingEditorBuilder;
|
15
|
-
build():
|
15
|
+
build(): VelcronEditor<any>[];
|
16
16
|
}
|
@@ -1,9 +1,9 @@
|
|
1
|
-
import {
|
1
|
+
import { VelcronEditor } from "@omnia/fx-models";
|
2
2
|
import { VelcronEditorBuilder } from "./VelcronEditorBuilder";
|
3
3
|
export declare abstract class VelcronEditorBuilderBase {
|
4
4
|
protected builder: VelcronEditorBuilder;
|
5
5
|
constructor(builder: VelcronEditorBuilder);
|
6
6
|
done(): VelcronEditorBuilder;
|
7
|
-
build():
|
8
|
-
protected abstract internalBuild(): Array<
|
7
|
+
build(): VelcronEditor<any>[];
|
8
|
+
protected abstract internalBuild(): Array<VelcronEditor>;
|
9
9
|
}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import {
|
1
|
+
import { VelcronEditor } from "@omnia/fx-models";
|
2
2
|
import { VelcronEditorBuilder } from "./VelcronEditorBuilder";
|
3
3
|
import { VelcronEditorBuilderBase } from "./VelcronEditorBuilderBase";
|
4
4
|
export declare class VelcronImageEditorBuilder extends VelcronEditorBuilderBase {
|
@@ -7,5 +7,5 @@ export declare class VelcronImageEditorBuilder extends VelcronEditorBuilderBase
|
|
7
7
|
main: {
|
8
8
|
add: () => VelcronEditorBuilder;
|
9
9
|
};
|
10
|
-
protected internalBuild():
|
10
|
+
protected internalBuild(): VelcronEditor<any>[];
|
11
11
|
}
|
@@ -1,9 +1,9 @@
|
|
1
|
-
import {
|
1
|
+
import { VelcronEditor } from "@omnia/fx-models";
|
2
2
|
import { VelcronEditorBuilder } from "./VelcronEditorBuilder";
|
3
3
|
import { VelcronEditorBuilderBase } from "./VelcronEditorBuilderBase";
|
4
4
|
export declare class VelcronPropertyMappingEditorBuilder extends VelcronEditorBuilderBase {
|
5
5
|
private editor;
|
6
6
|
constructor(builder: any);
|
7
7
|
add(): VelcronEditorBuilder;
|
8
|
-
protected internalBuild():
|
8
|
+
protected internalBuild(): VelcronEditor<any>[];
|
9
9
|
}
|
@@ -1,2 +1,2 @@
|
|
1
|
-
import {
|
2
|
-
export declare function useVelcronEditorBuilder():
|
1
|
+
import { VelcronEditorBuilder } from "./VelcronEditorBuilder";
|
2
|
+
export declare function useVelcronEditorBuilder(): VelcronEditorBuilder;
|
@@ -1,6 +1,6 @@
|
|
1
|
-
import { VelcronEditorBuilder } from "./editor/VelcronEditorBuilder";
|
2
|
-
import { VelcronStateBuilder } from "./state/VelcronStateBuilder";
|
3
|
-
export declare function
|
1
|
+
import { VelcronEditorBuilder } from "./old/editor/VelcronEditorBuilder";
|
2
|
+
import { VelcronStateBuilder } from "./old/state/VelcronStateBuilder";
|
3
|
+
export declare function useOldVelcronTemplateBuilder(): {
|
4
4
|
state: VelcronStateBuilder;
|
5
5
|
editor: VelcronEditorBuilder;
|
6
6
|
};
|