@omnia/fx 8.0.156-dev → 8.0.157-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/ux/aurora/store/ColorSchemaStore.d.ts +152 -0
- package/internal-do-not-import-from-here/ux/aurora/store/SpacingBlueprintStore.d.ts +152 -0
- package/internal-do-not-import-from-here/ux/aurora/store/TypographyBlueprintStore.d.ts +152 -0
- package/internal-do-not-import-from-here/ux/aurora/styling/UseStyling.d.ts +17 -39
- package/internal-do-not-import-from-here/ux/aurora/styling/styles/Blueprints.d.ts +26 -38
- package/internal-do-not-import-from-here/ux/aurora/styling/styles/Chrome.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/aurora/styling/styles/Colors.d.ts +23 -29
- package/internal-do-not-import-from-here/ux/aurora/styling/styles/General.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/aurora/styling/styles/Spacing.d.ts +8 -11
- package/internal-do-not-import-from-here/ux/aurora/styling/styles/Typography.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/aurora/styling/styles/index.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/journey/use/UseBlade.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/markdown/MarkdownEditor.d.ts +22 -1
- package/internal-do-not-import-from-here/ux/markdown/MarkdownRenderer.css.d.ts +3 -2
- package/internal-do-not-import-from-here/ux/markdown/MarkdownRenderer.d.ts +22 -1
- package/internal-do-not-import-from-here/ux/oxide/datatable/DataTable.css.d.ts +152 -0
- package/internal-do-not-import-from-here/ux/oxide/datatable/DataTable.d.ts +304 -0
- package/internal-do-not-import-from-here/ux/oxide/datepicker/DateTimePicker.d.ts +389 -10
- package/internal-do-not-import-from-here/ux/oxide/link/Link.d.ts +18 -49
- package/internal-do-not-import-from-here/ux/oxide/select/Select.d.ts +304 -0
- package/internal-do-not-import-from-here/ux/oxide/tab/Tab.d.ts +21 -0
- package/internal-do-not-import-from-here/ux/oxide/text/Text.css.d.ts +0 -2
- package/internal-do-not-import-from-here/ux/oxide/text/Text.d.ts +27 -53
- package/internal-do-not-import-from-here/ux/use/UseColorSchemaSetup.d.ts +152 -0
- package/internal-do-not-import-from-here/ux/velcron/components/contenteditor/VelcronContentEditor.d.ts +10 -10
- package/internal-do-not-import-from-here/ux/velcron/components/contenteditor/stores/ContentEditorStore.d.ts +3 -3
- package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew/DefinitionRegistrations.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew/VelcronContentEditor.css.d.ts +6 -0
- package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew/VelcronContentEditor.d.ts +875 -0
- package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew/definitions/content/Image.d.ts +2 -0
- package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew/definitions/content/ImageText.d.ts +3 -0
- package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew/definitions/content/Quote.d.ts +2 -0
- package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew/definitions/content/Text.d.ts +2 -0
- package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew/definitions/content/index.d.ts +4 -0
- package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew/definitions/index.d.ts +2 -0
- package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew/definitions/social/Image.d.ts +2 -0
- package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew/definitions/social/MicroBlog.d.ts +3 -0
- package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew/definitions/social/MicroBlog2.d.ts +3 -0
- package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew/definitions/social/Praise.d.ts +2 -0
- package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew/definitions/social/SocialText.d.ts +2 -0
- package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew/definitions/social/index.d.ts +4 -0
- package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew/models/ContentDefinitionRegistration.d.ts +9 -0
- package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew/models/VelcronDefinitionIds.d.ts +15 -0
- package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew/models/index.d.ts +2 -0
- package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew/stores/ContentEditorStore.d.ts +162 -0
- package/internal-do-not-import-from-here/ux/velcron/core/models/VelcronDefinitions.d.ts +3 -1
- package/internal-do-not-import-from-here/ux/velcron/core/models/VelcronPropertyEditorDefinitions.d.ts +12 -16
- package/internal-do-not-import-from-here/ux/velcron/core/stores/VelcronTheming.d.ts +2 -1
- package/internal-do-not-import-from-here/ux/velcron/editor/stores/VelcronEditorStore.d.ts +1 -10
- package/internal-do-not-import-from-here/ux/velcron/renderer/propertyeditors/IconEditor.d.ts +406 -0
- package/internal-do-not-import-from-here/ux/velcron/renderer/propertyeditors/TypographyEditor.d.ts +98 -102
- package/internal-do-not-import-from-here/wctypings.d.ts +14 -1
- package/package.json +2 -2
@@ -0,0 +1,9 @@
|
|
1
|
+
import { DynamicState, GuidValue, VelcronDefinitionRegistration } from "@omnia/fx-models";
|
2
|
+
export interface ContentBlockVelcronState extends DynamicState {
|
3
|
+
content: {
|
4
|
+
[id: string]: unknown;
|
5
|
+
};
|
6
|
+
}
|
7
|
+
export interface VelcronContentInstance extends VelcronDefinitionRegistration<ContentBlockVelcronState> {
|
8
|
+
contentId: GuidValue;
|
9
|
+
}
|
@@ -0,0 +1,15 @@
|
|
1
|
+
import { Guid } from "@omnia/fx/models";
|
2
|
+
export declare const VelcronDefinitionIds: {
|
3
|
+
content: {
|
4
|
+
image: Guid;
|
5
|
+
imageLeftText: Guid;
|
6
|
+
imageRightText: Guid;
|
7
|
+
quote: Guid;
|
8
|
+
text: Guid;
|
9
|
+
};
|
10
|
+
social: {
|
11
|
+
image: Guid;
|
12
|
+
text: Guid;
|
13
|
+
praise: Guid;
|
14
|
+
};
|
15
|
+
};
|
@@ -0,0 +1,162 @@
|
|
1
|
+
import { GuidValue, VelcronAppDefinition, VelcronDefinition, VelcronDefinitionRegistration } from "@omnia/fx-models";
|
2
|
+
import { VelcronContentInstance } from "../models";
|
3
|
+
export declare enum MenuTabs {
|
4
|
+
templates = 0,
|
5
|
+
content = 1
|
6
|
+
}
|
7
|
+
export declare const useVelcronContentEditorStore: () => {
|
8
|
+
get: {
|
9
|
+
content: () => VelcronAppDefinition<object>[];
|
10
|
+
};
|
11
|
+
state: {
|
12
|
+
definitions: VelcronContentInstance[];
|
13
|
+
activeDefinition: VelcronContentInstance;
|
14
|
+
selectedDefinition: VelcronContentInstance;
|
15
|
+
toggleColorSchemaPreview: string;
|
16
|
+
toggleDefinitionPreview: VelcronDefinition;
|
17
|
+
allowToggle: boolean;
|
18
|
+
onGoingDragging: boolean;
|
19
|
+
socialMode: boolean;
|
20
|
+
showLoading: boolean;
|
21
|
+
};
|
22
|
+
events: {
|
23
|
+
onMutatedDefinitions: import("@omnia/fx").MessageBusExposeOnlySubscription<VelcronContentInstance[]>;
|
24
|
+
onMutatedActiveDefinition: import("@omnia/fx").MessageBusExposeOnlySubscription<VelcronContentInstance>;
|
25
|
+
onMutatedSelectedDefinition: import("@omnia/fx").MessageBusExposeOnlySubscription<VelcronContentInstance>;
|
26
|
+
onMutatedToggleColorSchemaPreview: import("@omnia/fx").MessageBusExposeOnlySubscription<string>;
|
27
|
+
onMutatedToggleDefinitionPreview: import("@omnia/fx").MessageBusExposeOnlySubscription<VelcronDefinition>;
|
28
|
+
onMutatedAllowToggle: import("@omnia/fx").MessageBusExposeOnlySubscription<boolean>;
|
29
|
+
onMutatedOnGoingDragging: import("@omnia/fx").MessageBusExposeOnlySubscription<boolean>;
|
30
|
+
onMutatedSocialMode: import("@omnia/fx").MessageBusExposeOnlySubscription<boolean>;
|
31
|
+
onMutatedShowLoading: import("@omnia/fx").MessageBusExposeOnlySubscription<boolean>;
|
32
|
+
} & Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>;
|
33
|
+
actions: {
|
34
|
+
onDispatching: {
|
35
|
+
resetStore: {
|
36
|
+
subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
37
|
+
};
|
38
|
+
addDefinition: {
|
39
|
+
subscribe(fn: (definition: VelcronDefinitionRegistration<object>) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
40
|
+
};
|
41
|
+
setActiveDefinition: {
|
42
|
+
subscribe(fn: (definition: VelcronContentInstance) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
43
|
+
};
|
44
|
+
removeActiveDefinition: {
|
45
|
+
subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
46
|
+
};
|
47
|
+
setSelectedDefinition: {
|
48
|
+
subscribe(fn: (definition: VelcronContentInstance) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
49
|
+
};
|
50
|
+
removeSelectedDefinition: {
|
51
|
+
subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
52
|
+
};
|
53
|
+
setDragDropState: {
|
54
|
+
subscribe(fn: (onGoingDragging: boolean) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
55
|
+
};
|
56
|
+
updateColorSchema: {
|
57
|
+
subscribe(fn: (definitionRegistration: VelcronContentInstance, colorSchemaType: string) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
58
|
+
};
|
59
|
+
toggleColorSchemaPreview: {
|
60
|
+
subscribe(fn: (definitionRegistration: VelcronContentInstance, colorSchemaType: string) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
61
|
+
};
|
62
|
+
toggleDefinitionPreview: {
|
63
|
+
subscribe(fn: (definitionRegistration: VelcronContentInstance, newDefinitionId: GuidValue) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
64
|
+
};
|
65
|
+
changeDefinition: {
|
66
|
+
subscribe(fn: (definitionRegistration: VelcronContentInstance, newDefinitionId: GuidValue, toggle?: boolean) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
67
|
+
};
|
68
|
+
updateDefinition: {
|
69
|
+
subscribe(fn: (definition: VelcronContentInstance, velcronDefinition: VelcronAppDefinition<object>) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
70
|
+
};
|
71
|
+
};
|
72
|
+
onDispatched: {
|
73
|
+
resetStore: {
|
74
|
+
subscribe(fn: (result: void) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
75
|
+
};
|
76
|
+
addDefinition: {
|
77
|
+
subscribe(fn: (result: void, definition: VelcronDefinitionRegistration<object>) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
78
|
+
};
|
79
|
+
setActiveDefinition: {
|
80
|
+
subscribe(fn: (result: void, definition: VelcronContentInstance) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
81
|
+
};
|
82
|
+
removeActiveDefinition: {
|
83
|
+
subscribe(fn: (result: void) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
84
|
+
};
|
85
|
+
setSelectedDefinition: {
|
86
|
+
subscribe(fn: (result: void, definition: VelcronContentInstance) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
87
|
+
};
|
88
|
+
removeSelectedDefinition: {
|
89
|
+
subscribe(fn: (result: void) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
90
|
+
};
|
91
|
+
setDragDropState: {
|
92
|
+
subscribe(fn: (result: void, onGoingDragging: boolean) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
93
|
+
};
|
94
|
+
updateColorSchema: {
|
95
|
+
subscribe(fn: (result: void, definitionRegistration: VelcronContentInstance, colorSchemaType: string) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
96
|
+
};
|
97
|
+
toggleColorSchemaPreview: {
|
98
|
+
subscribe(fn: (result: void, definitionRegistration: VelcronContentInstance, colorSchemaType: string) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
99
|
+
};
|
100
|
+
toggleDefinitionPreview: {
|
101
|
+
subscribe(fn: (result: void, definitionRegistration: VelcronContentInstance, newDefinitionId: GuidValue) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
102
|
+
};
|
103
|
+
changeDefinition: {
|
104
|
+
subscribe(fn: (result: void, definitionRegistration: VelcronContentInstance, newDefinitionId: GuidValue, toggle?: boolean) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
105
|
+
};
|
106
|
+
updateDefinition: {
|
107
|
+
subscribe(fn: (result: void, definition: VelcronContentInstance, velcronDefinition: VelcronAppDefinition<object>) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
108
|
+
};
|
109
|
+
};
|
110
|
+
onFailure: {
|
111
|
+
resetStore: {
|
112
|
+
subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
113
|
+
};
|
114
|
+
addDefinition: {
|
115
|
+
subscribe(fn: (failureReason: any, definition: VelcronDefinitionRegistration<object>) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
116
|
+
};
|
117
|
+
setActiveDefinition: {
|
118
|
+
subscribe(fn: (failureReason: any, definition: VelcronContentInstance) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
119
|
+
};
|
120
|
+
removeActiveDefinition: {
|
121
|
+
subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
122
|
+
};
|
123
|
+
setSelectedDefinition: {
|
124
|
+
subscribe(fn: (failureReason: any, definition: VelcronContentInstance) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
125
|
+
};
|
126
|
+
removeSelectedDefinition: {
|
127
|
+
subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
128
|
+
};
|
129
|
+
setDragDropState: {
|
130
|
+
subscribe(fn: (failureReason: any, onGoingDragging: boolean) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
131
|
+
};
|
132
|
+
updateColorSchema: {
|
133
|
+
subscribe(fn: (failureReason: any, definitionRegistration: VelcronContentInstance, colorSchemaType: string) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
134
|
+
};
|
135
|
+
toggleColorSchemaPreview: {
|
136
|
+
subscribe(fn: (failureReason: any, definitionRegistration: VelcronContentInstance, colorSchemaType: string) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
137
|
+
};
|
138
|
+
toggleDefinitionPreview: {
|
139
|
+
subscribe(fn: (failureReason: any, definitionRegistration: VelcronContentInstance, newDefinitionId: GuidValue) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
140
|
+
};
|
141
|
+
changeDefinition: {
|
142
|
+
subscribe(fn: (failureReason: any, definitionRegistration: VelcronContentInstance, newDefinitionId: GuidValue, toggle?: boolean) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
143
|
+
};
|
144
|
+
updateDefinition: {
|
145
|
+
subscribe(fn: (failureReason: any, definition: VelcronContentInstance, velcronDefinition: VelcronAppDefinition<object>) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
146
|
+
};
|
147
|
+
};
|
148
|
+
} & {
|
149
|
+
resetStore(): void;
|
150
|
+
addDefinition(definition: VelcronDefinitionRegistration): void;
|
151
|
+
setActiveDefinition(definition: VelcronContentInstance): void;
|
152
|
+
removeActiveDefinition(): void;
|
153
|
+
setSelectedDefinition(definition: VelcronContentInstance): void;
|
154
|
+
removeSelectedDefinition(): void;
|
155
|
+
setDragDropState(onGoingDragging: boolean): void;
|
156
|
+
updateColorSchema(definitionRegistration: VelcronContentInstance, colorSchemaType: string): void;
|
157
|
+
toggleColorSchemaPreview(definitionRegistration: VelcronContentInstance, colorSchemaType: string): void;
|
158
|
+
toggleDefinitionPreview(definitionRegistration: VelcronContentInstance, newDefinitionId: GuidValue): void;
|
159
|
+
changeDefinition(definitionRegistration: VelcronContentInstance, newDefinitionId: GuidValue, toggle?: boolean): void;
|
160
|
+
updateDefinition(definition: VelcronContentInstance, velcronDefinition: VelcronAppDefinition): void;
|
161
|
+
};
|
162
|
+
};
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { VelcronOnUpdatedEvent, VelcronOnClosedEvent, VelcronOnCloseRequestedEvent, VelcronOnPressEvent, VelcronSpacing, VelcronStyling, VelcronCustomComponentDefinition, VelcronAppDefinition, VelcronRendererResolverReference, EventHook, Future, TextBlueprint, VelcronBindableProp, ContainerBlueprint } from "@omnia/fx-models/internal-do-not-import-from-here/shared/models";
|
1
|
+
import { VelcronOnUpdatedEvent, VelcronOnClosedEvent, VelcronOnCloseRequestedEvent, VelcronOnPressEvent, VelcronSpacing, VelcronStyling, VelcronCustomComponentDefinition, VelcronAppDefinition, VelcronRendererResolverReference, EventHook, Future, TextBlueprint, VelcronBindableProp, ContainerBlueprint, BackgroundDefinition } from "@omnia/fx-models/internal-do-not-import-from-here/shared/models";
|
2
2
|
import { VelcroncomponentArrayType, VelcronPrimitiveType } from "./VelcronTypes";
|
3
3
|
import { AssignOperators, VelcronHorizontalAlignments, VelcronIconTypes, VelcronActionTypes, VelcronVerticalAlignments } from "./Enums";
|
4
4
|
import { DynamicState, VelcronDefinition, useVelcronThemingStore } from "..";
|
@@ -160,6 +160,7 @@ export interface VelcronFlexRowDefinition extends VelcronDefinition, VelcronColo
|
|
160
160
|
direction?: VelcronBindableProp<"row" | "row-reverse">;
|
161
161
|
absolute?: VelcronSpacing;
|
162
162
|
blueprint?: ContainerBlueprint;
|
163
|
+
background?: BackgroundDefinition;
|
163
164
|
hideOverflow?: boolean;
|
164
165
|
wrap?: boolean;
|
165
166
|
gapX?: number | string;
|
@@ -194,6 +195,7 @@ export interface VelcronTextDefinition extends VelcronDefinition, VelcronColorSt
|
|
194
195
|
editLabel?: VelcronBindableProp;
|
195
196
|
lineClamp?: VelcronBindableProp<number>;
|
196
197
|
noWrap?: VelcronBindableProp<boolean>;
|
198
|
+
wordBreak?: VelcronBindableProp<"none">;
|
197
199
|
events?: VelcronOnPressEvent & VelcronOnUpdatedEvent;
|
198
200
|
blueprint?: VelcronBindableProp<TextBlueprint>;
|
199
201
|
}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { BuiltInPropertyEditorType, TextBlueprint, TypographySize, TypographyType, VelcronSpacing, VelcronStateEditor } from "@omnia/fx-models/internal-do-not-import-from-here/shared";
|
1
|
+
import { BuiltInPropertyEditorType, TextBlueprint, TypographySize, TypographyType, VelcronSpacing, VelcronStateEditor } from "@omnia/fx-models/internal-do-not-import-from-here/shared/models";
|
2
2
|
import { VelcronImageRatios } from "./VelcronDefinitions";
|
3
3
|
export interface ResolvedPropertyEditor {
|
4
4
|
editor: VelcronStateEditor;
|
@@ -117,11 +117,7 @@ export interface VelcronImageState {
|
|
117
117
|
export interface VelcronStylingState {
|
118
118
|
}
|
119
119
|
export interface VelcronColorSchemasState {
|
120
|
-
main:
|
121
|
-
}
|
122
|
-
export interface VelcronColorSchemaState {
|
123
|
-
type?: string;
|
124
|
-
filled?: boolean;
|
120
|
+
main: string;
|
125
121
|
}
|
126
122
|
export declare const VelcronImagesStateBinding: {
|
127
123
|
main: {
|
@@ -153,7 +149,7 @@ export declare const VelcronHeaderStateBinding: {
|
|
153
149
|
title: {
|
154
150
|
text: string;
|
155
151
|
placeholder: string;
|
156
|
-
blueprint: import("@omnia/fx-models/internal-do-not-import-from-here/shared").VelcronBindableProp<TextBlueprint>;
|
152
|
+
blueprint: import("@omnia/fx-models/internal-do-not-import-from-here/shared/models").VelcronBindableProp<TextBlueprint>;
|
157
153
|
};
|
158
154
|
icon: string;
|
159
155
|
};
|
@@ -161,22 +157,22 @@ export declare const VelcronContentStateBinding: {
|
|
161
157
|
title: {
|
162
158
|
text: string;
|
163
159
|
placeholder: string;
|
164
|
-
blueprint: import("@omnia/fx-models/internal-do-not-import-from-here/shared").VelcronBindableProp<TextBlueprint>;
|
160
|
+
blueprint: import("@omnia/fx-models/internal-do-not-import-from-here/shared/models").VelcronBindableProp<TextBlueprint>;
|
165
161
|
};
|
166
162
|
main: {
|
167
163
|
text: string;
|
168
164
|
placeholder: string;
|
169
|
-
blueprint: import("@omnia/fx-models/internal-do-not-import-from-here/shared").VelcronBindableProp<TextBlueprint>;
|
165
|
+
blueprint: import("@omnia/fx-models/internal-do-not-import-from-here/shared/models").VelcronBindableProp<TextBlueprint>;
|
170
166
|
};
|
171
167
|
caption: {
|
172
168
|
text: string;
|
173
169
|
placeholder: string;
|
174
|
-
blueprint: import("@omnia/fx-models/internal-do-not-import-from-here/shared").VelcronBindableProp<TextBlueprint>;
|
170
|
+
blueprint: import("@omnia/fx-models/internal-do-not-import-from-here/shared/models").VelcronBindableProp<TextBlueprint>;
|
175
171
|
};
|
176
172
|
summary: {
|
177
173
|
text: string;
|
178
174
|
placeholder: string;
|
179
|
-
blueprint: import("@omnia/fx-models/internal-do-not-import-from-here/shared").VelcronBindableProp<TextBlueprint>;
|
175
|
+
blueprint: import("@omnia/fx-models/internal-do-not-import-from-here/shared/models").VelcronBindableProp<TextBlueprint>;
|
180
176
|
};
|
181
177
|
};
|
182
178
|
export declare const VelcronColorSchemasStateBinding: {
|
@@ -230,29 +226,29 @@ export declare const VelcronStateBinding: {
|
|
230
226
|
title: {
|
231
227
|
text: string;
|
232
228
|
placeholder: string;
|
233
|
-
blueprint: import("@omnia/fx-models/internal-do-not-import-from-here/shared").VelcronBindableProp<TextBlueprint>;
|
229
|
+
blueprint: import("@omnia/fx-models/internal-do-not-import-from-here/shared/models").VelcronBindableProp<TextBlueprint>;
|
234
230
|
};
|
235
231
|
main: {
|
236
232
|
text: string;
|
237
233
|
placeholder: string;
|
238
|
-
blueprint: import("@omnia/fx-models/internal-do-not-import-from-here/shared").VelcronBindableProp<TextBlueprint>;
|
234
|
+
blueprint: import("@omnia/fx-models/internal-do-not-import-from-here/shared/models").VelcronBindableProp<TextBlueprint>;
|
239
235
|
};
|
240
236
|
caption: {
|
241
237
|
text: string;
|
242
238
|
placeholder: string;
|
243
|
-
blueprint: import("@omnia/fx-models/internal-do-not-import-from-here/shared").VelcronBindableProp<TextBlueprint>;
|
239
|
+
blueprint: import("@omnia/fx-models/internal-do-not-import-from-here/shared/models").VelcronBindableProp<TextBlueprint>;
|
244
240
|
};
|
245
241
|
summary: {
|
246
242
|
text: string;
|
247
243
|
placeholder: string;
|
248
|
-
blueprint: import("@omnia/fx-models/internal-do-not-import-from-here/shared").VelcronBindableProp<TextBlueprint>;
|
244
|
+
blueprint: import("@omnia/fx-models/internal-do-not-import-from-here/shared/models").VelcronBindableProp<TextBlueprint>;
|
249
245
|
};
|
250
246
|
};
|
251
247
|
header: {
|
252
248
|
title: {
|
253
249
|
text: string;
|
254
250
|
placeholder: string;
|
255
|
-
blueprint: import("@omnia/fx-models/internal-do-not-import-from-here/shared").VelcronBindableProp<TextBlueprint>;
|
251
|
+
blueprint: import("@omnia/fx-models/internal-do-not-import-from-here/shared/models").VelcronBindableProp<TextBlueprint>;
|
256
252
|
};
|
257
253
|
icon: string;
|
258
254
|
};
|
@@ -1,10 +1,11 @@
|
|
1
|
-
import { ColorSchemaType, ColorSchemaTypes, ColorType, ColorTypes, ThemeDefinitionV2, TypographySize, TypographySizes, TypographyType, TypographyTypes } from "..";
|
1
|
+
import { ColorSchemaType, ColorSchemaTypes, ColorType, ColorTypes, ContainerBlueprint, ContainerVariant, ThemeDefinitionV2, TypographySize, TypographySizes, TypographyType, TypographyTypes } from "..";
|
2
2
|
export declare const useVelcronThemingStore: (newStateWithName?: string) => {
|
3
3
|
state: {
|
4
4
|
currentTheme: ThemeDefinitionV2;
|
5
5
|
};
|
6
6
|
get: {
|
7
7
|
componentBlueprints: () => void;
|
8
|
+
containerBlueprint: (type: ContainerVariant | ContainerBlueprint | string) => any;
|
8
9
|
colorSchema: (colorSchemaType: ColorSchemaTypes | ColorSchemaType) => import("..").ColorSchema;
|
9
10
|
spacing: () => import("..").SpacingDefinition;
|
10
11
|
typography: (typographyType: TypographyTypes | TypographyType, size: TypographySizes | TypographySize) => any;
|
@@ -27,6 +27,7 @@ export declare const useVelcronEditorStore: () => {
|
|
27
27
|
};
|
28
28
|
getBodyTreeviewItem(): TreeViewItem<any>;
|
29
29
|
getStatePropertyPath(from: TreeViewItem<StatePropertyAppTreeItem>): string;
|
30
|
+
definition(asJson?: boolean): VelcronAppDefinition | string;
|
30
31
|
};
|
31
32
|
state: {
|
32
33
|
previewTheme: ThemeDefinitionV2;
|
@@ -77,9 +78,6 @@ export declare const useVelcronEditorStore: () => {
|
|
77
78
|
setEditorMode: {
|
78
79
|
subscribe(fn: (newState: editorModes) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
79
80
|
};
|
80
|
-
syncState: {
|
81
|
-
subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
82
|
-
};
|
83
81
|
setSelectedAppTreeItem: {
|
84
82
|
subscribe(fn: (key: string) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
85
83
|
};
|
@@ -163,9 +161,6 @@ export declare const useVelcronEditorStore: () => {
|
|
163
161
|
setEditorMode: {
|
164
162
|
subscribe(fn: (result: void, newState: editorModes) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
165
163
|
};
|
166
|
-
syncState: {
|
167
|
-
subscribe(fn: (result: void) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
168
|
-
};
|
169
164
|
setSelectedAppTreeItem: {
|
170
165
|
subscribe(fn: (result: void, key: string) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
171
166
|
};
|
@@ -249,9 +244,6 @@ export declare const useVelcronEditorStore: () => {
|
|
249
244
|
setEditorMode: {
|
250
245
|
subscribe(fn: (failureReason: any, newState: editorModes) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
251
246
|
};
|
252
|
-
syncState: {
|
253
|
-
subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
254
|
-
};
|
255
247
|
setSelectedAppTreeItem: {
|
256
248
|
subscribe(fn: (failureReason: any, key: string) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
257
249
|
};
|
@@ -319,7 +311,6 @@ export declare const useVelcronEditorStore: () => {
|
|
319
311
|
setAppValidation(newState: AppValidationState): void;
|
320
312
|
setCodeEditorTab(newState: codeEditorTabs): void;
|
321
313
|
setEditorMode(newState: editorModes): void;
|
322
|
-
syncState(): void;
|
323
314
|
setSelectedAppTreeItem(key: string): void;
|
324
315
|
showAddComponent(mode: AddVelcronComponentMode): void;
|
325
316
|
showShare(show: boolean): void;
|