@omnia/fx 8.0.176-dev → 8.0.177-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/components/colorpickerV2/ColorPicker.css.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/aurora/components/containerpicker/ContainerPicker.d.ts +15 -15
- package/internal-do-not-import-from-here/ux/aurora/store/SpacingBlueprintStore.d.ts +0 -136
- package/internal-do-not-import-from-here/ux/aurora/store/TypographyBlueprintStore.d.ts +0 -136
- package/internal-do-not-import-from-here/ux/oxide/inputfield/InputField.d.ts +3 -3
- package/internal-do-not-import-from-here/ux/velcron/blocks/content/ContentBlock.d.ts +3 -9
- package/internal-do-not-import-from-here/ux/velcron/components/contenteditor/VelcronContentEditor.d.ts +181 -181
- package/internal-do-not-import-from-here/ux/velcron/components/contenteditor/models/ContentDefinitionRegistration.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/velcron/components/contenteditor/stores/ContentEditorStore.d.ts +37 -37
- package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew/VelcronContentEditor.d.ts +311 -257
- package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew/components/ActionMenu.d.ts +7 -7
- package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew/components/BorderSelector.d.ts +7 -7
- package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew/components/DefinitionToolbar.d.ts +7 -7
- package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew/definitions/index.d.ts +1 -2
- package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew/models/EditorRenderingHooks.d.ts +6 -7
- package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew/models/index.d.ts +1 -2
- package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew/stores/ContentEditorStore.d.ts +63 -53
- package/internal-do-not-import-from-here/ux/velcron/core/models/VelcronDefinitions.d.ts +6 -4
- package/internal-do-not-import-from-here/ux/velcron/core/parser/VelcronStyles.d.ts +4 -1
- package/package.json +4 -4
- package/internal-do-not-import-from-here/ux/velcron/blocks/content/components/ContentViewer.css.d.ts +0 -6
- package/internal-do-not-import-from-here/ux/velcron/blocks/content/components/ContentViewer.d.ts +0 -78
- package/internal-do-not-import-from-here/ux/velcron/blocks/content/components/DefinitionPickerPanel.css.d.ts +0 -6
- package/internal-do-not-import-from-here/ux/velcron/blocks/content/components/DefinitionPickerPanel.d.ts +0 -97
- package/internal-do-not-import-from-here/ux/velcron/blocks/content/model/ContentDefinitionRegistration.d.ts +0 -6
- package/internal-do-not-import-from-here/ux/velcron/blocks/content/store/ContentBlockStore.d.ts +0 -113
- package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew/definitions/content/Image.d.ts +0 -2
- package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew/definitions/content/ImageText.d.ts +0 -3
- package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew/definitions/content/Quote.d.ts +0 -2
- package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew/definitions/content/Text.d.ts +0 -2
- package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew/definitions/content/index.d.ts +0 -4
- package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew/definitions/social/Image.d.ts +0 -2
- package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew/definitions/social/MicroBlog.d.ts +0 -3
- package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew/definitions/social/MicroBlog2.d.ts +0 -3
- package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew/definitions/social/Praise.d.ts +0 -2
- package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew/definitions/social/SocialText.d.ts +0 -2
- package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew/definitions/social/index.d.ts +0 -4
- package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew/models/ContentDefinitionRegistration.d.ts +0 -10
- package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew/models/VelcronDefinitionIds.d.ts +0 -15
- /package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew/{DefinitionRegistrations.d.ts → definitions/DefinitionRegistrations.d.ts} +0 -0
@@ -1,10 +1,10 @@
|
|
1
|
-
import {
|
1
|
+
import { VelcronSectionInstance } from "@omnia/fx-models";
|
2
2
|
declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
|
3
|
-
"v-model"?:
|
3
|
+
"v-model"?: VelcronSectionInstance;
|
4
4
|
} & {
|
5
|
-
"onUpdate:modelValue"?: (value:
|
5
|
+
"onUpdate:modelValue"?: (value: VelcronSectionInstance) => void;
|
6
6
|
} & {
|
7
|
-
modelValue?:
|
7
|
+
modelValue?: VelcronSectionInstance;
|
8
8
|
}> & Omit<{}, "v-model" | "onUpdate:modelValue" | "modelValue"> & {
|
9
9
|
"v-slots"?: {
|
10
10
|
default?: import("vue").Slot;
|
@@ -48,11 +48,11 @@ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
|
|
48
48
|
$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;
|
49
49
|
} & Omit<{}, never> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {} & {
|
50
50
|
propsDefinition: import("@omnia/fx/ux").ExtractProps<{
|
51
|
-
"v-model"?:
|
51
|
+
"v-model"?: VelcronSectionInstance;
|
52
52
|
} & {
|
53
|
-
"onUpdate:modelValue"?: (value:
|
53
|
+
"onUpdate:modelValue"?: (value: VelcronSectionInstance) => void;
|
54
54
|
} & {
|
55
|
-
modelValue?:
|
55
|
+
modelValue?: VelcronSectionInstance;
|
56
56
|
}> & {
|
57
57
|
"v-slots"?: {
|
58
58
|
default?: import("vue").Slot;
|
@@ -1,10 +1,10 @@
|
|
1
|
-
import {
|
1
|
+
import { VelcronSectionInstance } from "@omnia/fx-models";
|
2
2
|
declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
|
3
|
-
"v-model"?:
|
3
|
+
"v-model"?: VelcronSectionInstance;
|
4
4
|
} & {
|
5
|
-
"onUpdate:modelValue"?: (value:
|
5
|
+
"onUpdate:modelValue"?: (value: VelcronSectionInstance) => void;
|
6
6
|
} & {
|
7
|
-
modelValue?:
|
7
|
+
modelValue?: VelcronSectionInstance;
|
8
8
|
}> & Omit<{}, "v-model" | "onUpdate:modelValue" | "modelValue"> & {
|
9
9
|
"v-slots"?: {
|
10
10
|
default?: import("vue").Slot;
|
@@ -48,11 +48,11 @@ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
|
|
48
48
|
$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;
|
49
49
|
} & Omit<{}, never> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {} & {
|
50
50
|
propsDefinition: import("@omnia/fx/ux").ExtractProps<{
|
51
|
-
"v-model"?:
|
51
|
+
"v-model"?: VelcronSectionInstance;
|
52
52
|
} & {
|
53
|
-
"onUpdate:modelValue"?: (value:
|
53
|
+
"onUpdate:modelValue"?: (value: VelcronSectionInstance) => void;
|
54
54
|
} & {
|
55
|
-
modelValue?:
|
55
|
+
modelValue?: VelcronSectionInstance;
|
56
56
|
}> & {
|
57
57
|
"v-slots"?: {
|
58
58
|
default?: import("vue").Slot;
|
@@ -1,11 +1,11 @@
|
|
1
|
-
import {
|
1
|
+
import { VelcronSectionInstance } from "@omnia/fx-models";
|
2
2
|
type ToolbarVariant = "default" | "reference";
|
3
3
|
declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
|
4
|
-
"v-model"?:
|
4
|
+
"v-model"?: VelcronSectionInstance;
|
5
5
|
} & {
|
6
|
-
"onUpdate:modelValue"?: (value:
|
6
|
+
"onUpdate:modelValue"?: (value: VelcronSectionInstance) => void;
|
7
7
|
} & {
|
8
|
-
modelValue?:
|
8
|
+
modelValue?: VelcronSectionInstance;
|
9
9
|
} & {
|
10
10
|
variant?: ToolbarVariant;
|
11
11
|
}> & Omit<{}, "v-model" | "onUpdate:modelValue" | "modelValue" | "variant"> & {
|
@@ -51,11 +51,11 @@ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
|
|
51
51
|
$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;
|
52
52
|
} & Omit<{}, never> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {} & {
|
53
53
|
propsDefinition: import("@omnia/fx/ux").ExtractProps<{
|
54
|
-
"v-model"?:
|
54
|
+
"v-model"?: VelcronSectionInstance;
|
55
55
|
} & {
|
56
|
-
"onUpdate:modelValue"?: (value:
|
56
|
+
"onUpdate:modelValue"?: (value: VelcronSectionInstance) => void;
|
57
57
|
} & {
|
58
|
-
modelValue?:
|
58
|
+
modelValue?: VelcronSectionInstance;
|
59
59
|
} & {
|
60
60
|
variant?: ToolbarVariant;
|
61
61
|
}> & {
|
@@ -1,2 +1 @@
|
|
1
|
-
export * from "./
|
2
|
-
export * from "./social";
|
1
|
+
export * from "./DefinitionRegistrations";
|
@@ -1,14 +1,13 @@
|
|
1
1
|
import { VNodeChild } from "vue";
|
2
|
-
import {
|
3
|
-
import { VelcronDefinition, VelcronRenderContext } from "@omnia/fx-models";
|
2
|
+
import { VelcronDefinition, VelcronRenderContext, VelcronSectionInstance } from "@omnia/fx-models";
|
4
3
|
export interface EditorRenderingHooks {
|
5
4
|
styles?: {
|
6
|
-
activeItem?: (item:
|
7
|
-
hover?: (item:
|
5
|
+
activeItem?: (item: VelcronSectionInstance) => string;
|
6
|
+
hover?: (item: VelcronSectionInstance) => string;
|
8
7
|
};
|
9
|
-
renderBorderSelectors?: (item:
|
10
|
-
renderActionMenu?: (item:
|
11
|
-
renderDefinitionToolbar?: (item:
|
8
|
+
renderBorderSelectors?: (item: VelcronSectionInstance) => VNodeChild;
|
9
|
+
renderActionMenu?: (item: VelcronSectionInstance) => VNodeChild;
|
10
|
+
renderDefinitionToolbar?: (item: VelcronSectionInstance) => VNodeChild;
|
12
11
|
renderEmptyEditor?: () => VNodeChild;
|
13
12
|
definition?: {
|
14
13
|
wrapperStyleExtensions?: ((item: VelcronDefinition, renderContext: VelcronRenderContext) => string);
|
package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew/models/index.d.ts
CHANGED
@@ -1,2 +1 @@
|
|
1
|
-
export * from "./
|
2
|
-
export * from "./VelcronDefinitionIds";
|
1
|
+
export * from "./EditorRenderingHooks";
|
@@ -1,16 +1,16 @@
|
|
1
|
-
import { GuidValue, VelcronAppDefinition, VelcronDefinition, VelcronDefinitionRegistration, ContainerBlueprint, ContainerVariant } from "@omnia/fx-models";
|
2
|
-
import { VelcronContentInstance } from "../models";
|
1
|
+
import { GuidValue, VelcronAppDefinition, VelcronDefinition, VelcronDefinitionRegistration, ContainerBlueprint, ContainerVariant, VelcronSectionInstance } from "@omnia/fx-models";
|
3
2
|
type insertMode = "add" | "change";
|
4
3
|
export declare const useVelcronContentEditorStore: () => {
|
5
4
|
get: {
|
6
|
-
|
5
|
+
contentAsVelcron: () => VelcronAppDefinition<object>[];
|
6
|
+
contentAsSections: () => VelcronSectionInstance[];
|
7
7
|
};
|
8
8
|
state: {
|
9
|
-
definitions:
|
10
|
-
activeDefinition:
|
9
|
+
definitions: VelcronSectionInstance[];
|
10
|
+
activeDefinition: VelcronSectionInstance;
|
11
11
|
definitionInFocus: boolean;
|
12
12
|
showEditorToolbar: boolean;
|
13
|
-
selectedDefinition:
|
13
|
+
selectedDefinition: VelcronSectionInstance;
|
14
14
|
toggleColorSchemaPreview: string;
|
15
15
|
toggleContainerBlueprintPreview: ContainerVariant | ContainerBlueprint;
|
16
16
|
toggleDefinitionPreview: VelcronDefinition;
|
@@ -27,11 +27,11 @@ export declare const useVelcronContentEditorStore: () => {
|
|
27
27
|
};
|
28
28
|
};
|
29
29
|
events: {
|
30
|
-
onMutatedDefinitions: import("@omnia/fx").MessageBusExposeOnlySubscription<
|
31
|
-
onMutatedActiveDefinition: import("@omnia/fx").MessageBusExposeOnlySubscription<
|
30
|
+
onMutatedDefinitions: import("@omnia/fx").MessageBusExposeOnlySubscription<VelcronSectionInstance[]>;
|
31
|
+
onMutatedActiveDefinition: import("@omnia/fx").MessageBusExposeOnlySubscription<VelcronSectionInstance>;
|
32
32
|
onMutatedDefinitionInFocus: import("@omnia/fx").MessageBusExposeOnlySubscription<boolean>;
|
33
33
|
onMutatedShowEditorToolbar: import("@omnia/fx").MessageBusExposeOnlySubscription<boolean>;
|
34
|
-
onMutatedSelectedDefinition: import("@omnia/fx").MessageBusExposeOnlySubscription<
|
34
|
+
onMutatedSelectedDefinition: import("@omnia/fx").MessageBusExposeOnlySubscription<VelcronSectionInstance>;
|
35
35
|
onMutatedToggleColorSchemaPreview: import("@omnia/fx").MessageBusExposeOnlySubscription<string>;
|
36
36
|
onMutatedToggleContainerBlueprintPreview: import("@omnia/fx").MessageBusExposeOnlySubscription<ContainerVariant | ContainerBlueprint>;
|
37
37
|
onMutatedToggleDefinitionPreview: import("@omnia/fx").MessageBusExposeOnlySubscription<VelcronDefinition>;
|
@@ -55,23 +55,26 @@ export declare const useVelcronContentEditorStore: () => {
|
|
55
55
|
toggleEditorToolbar: {
|
56
56
|
subscribe(fn: (forceHide?: boolean) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
57
57
|
};
|
58
|
-
|
58
|
+
addByRegistration: {
|
59
59
|
subscribe(fn: (definition: VelcronDefinitionRegistration<object>, setAsActive?: boolean) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
60
60
|
};
|
61
|
+
addBySection: {
|
62
|
+
subscribe(fn: (definitions: VelcronSectionInstance[]) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
63
|
+
};
|
61
64
|
setActiveDefinition: {
|
62
|
-
subscribe(fn: (definition:
|
65
|
+
subscribe(fn: (definition: VelcronSectionInstance) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
63
66
|
};
|
64
67
|
deleteDefinition: {
|
65
|
-
subscribe(fn: (definition:
|
68
|
+
subscribe(fn: (definition: VelcronSectionInstance) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
66
69
|
};
|
67
70
|
deleteReferenceDefinition: {
|
68
|
-
subscribe(fn: (definition:
|
71
|
+
subscribe(fn: (definition: VelcronSectionInstance) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
69
72
|
};
|
70
73
|
removeActiveDefinition: {
|
71
74
|
subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
72
75
|
};
|
73
76
|
setSelectedDefinition: {
|
74
|
-
subscribe(fn: (definition:
|
77
|
+
subscribe(fn: (definition: VelcronSectionInstance) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
75
78
|
};
|
76
79
|
removeSelectedDefinition: {
|
77
80
|
subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
@@ -80,22 +83,22 @@ export declare const useVelcronContentEditorStore: () => {
|
|
80
83
|
subscribe(fn: (onGoingDragging: boolean) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
81
84
|
};
|
82
85
|
updateColorSchema: {
|
83
|
-
subscribe(fn: (definitionRegistration:
|
86
|
+
subscribe(fn: (definitionRegistration: VelcronSectionInstance, colorSchemaType: string) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
84
87
|
};
|
85
88
|
previewContainerBlueprint: {
|
86
|
-
subscribe(fn: (definitionRegistration:
|
89
|
+
subscribe(fn: (definitionRegistration: VelcronSectionInstance, containerVariant: ContainerVariant | ContainerBlueprint, cancelPreview: boolean) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
87
90
|
};
|
88
91
|
previewColorSchema: {
|
89
|
-
subscribe(fn: (definitionRegistration:
|
92
|
+
subscribe(fn: (definitionRegistration: VelcronSectionInstance, colorSchemaType: string, cancelPreview: boolean) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
90
93
|
};
|
91
94
|
previewDefinition: {
|
92
|
-
subscribe(fn: (definitionRegistration:
|
95
|
+
subscribe(fn: (definitionRegistration: VelcronSectionInstance, newDefinitionId: GuidValue, cancelPreview: boolean) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
93
96
|
};
|
94
97
|
changeDefinition: {
|
95
|
-
subscribe(fn: (definitionRegistration:
|
98
|
+
subscribe(fn: (definitionRegistration: VelcronSectionInstance, newDefinitionId: GuidValue, toggle?: boolean) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
96
99
|
};
|
97
100
|
updateDefinition: {
|
98
|
-
subscribe(fn: (definition:
|
101
|
+
subscribe(fn: (definition: VelcronSectionInstance, velcronDefinition: VelcronAppDefinition<object>) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
99
102
|
};
|
100
103
|
};
|
101
104
|
onDispatched: {
|
@@ -105,23 +108,26 @@ export declare const useVelcronContentEditorStore: () => {
|
|
105
108
|
toggleEditorToolbar: {
|
106
109
|
subscribe(fn: (result: void, forceHide?: boolean) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
107
110
|
};
|
108
|
-
|
111
|
+
addByRegistration: {
|
109
112
|
subscribe(fn: (result: void, definition: VelcronDefinitionRegistration<object>, setAsActive?: boolean) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
110
113
|
};
|
114
|
+
addBySection: {
|
115
|
+
subscribe(fn: (result: void, definitions: VelcronSectionInstance[]) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
116
|
+
};
|
111
117
|
setActiveDefinition: {
|
112
|
-
subscribe(fn: (result: void, definition:
|
118
|
+
subscribe(fn: (result: void, definition: VelcronSectionInstance) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
113
119
|
};
|
114
120
|
deleteDefinition: {
|
115
|
-
subscribe(fn: (result: void, definition:
|
121
|
+
subscribe(fn: (result: void, definition: VelcronSectionInstance) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
116
122
|
};
|
117
123
|
deleteReferenceDefinition: {
|
118
|
-
subscribe(fn: (result: any, definition:
|
124
|
+
subscribe(fn: (result: any, definition: VelcronSectionInstance) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
119
125
|
};
|
120
126
|
removeActiveDefinition: {
|
121
127
|
subscribe(fn: (result: void) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
122
128
|
};
|
123
129
|
setSelectedDefinition: {
|
124
|
-
subscribe(fn: (result: void, definition:
|
130
|
+
subscribe(fn: (result: void, definition: VelcronSectionInstance) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
125
131
|
};
|
126
132
|
removeSelectedDefinition: {
|
127
133
|
subscribe(fn: (result: void) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
@@ -130,22 +136,22 @@ export declare const useVelcronContentEditorStore: () => {
|
|
130
136
|
subscribe(fn: (result: void, onGoingDragging: boolean) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
131
137
|
};
|
132
138
|
updateColorSchema: {
|
133
|
-
subscribe(fn: (result: void, definitionRegistration:
|
139
|
+
subscribe(fn: (result: void, definitionRegistration: VelcronSectionInstance, colorSchemaType: string) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
134
140
|
};
|
135
141
|
previewContainerBlueprint: {
|
136
|
-
subscribe(fn: (result: void, definitionRegistration:
|
142
|
+
subscribe(fn: (result: void, definitionRegistration: VelcronSectionInstance, containerVariant: ContainerVariant | ContainerBlueprint, cancelPreview: boolean) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
137
143
|
};
|
138
144
|
previewColorSchema: {
|
139
|
-
subscribe(fn: (result: void, definitionRegistration:
|
145
|
+
subscribe(fn: (result: void, definitionRegistration: VelcronSectionInstance, colorSchemaType: string, cancelPreview: boolean) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
140
146
|
};
|
141
147
|
previewDefinition: {
|
142
|
-
subscribe(fn: (result: void, definitionRegistration:
|
148
|
+
subscribe(fn: (result: void, definitionRegistration: VelcronSectionInstance, newDefinitionId: GuidValue, cancelPreview: boolean) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
143
149
|
};
|
144
150
|
changeDefinition: {
|
145
|
-
subscribe(fn: (result: void, definitionRegistration:
|
151
|
+
subscribe(fn: (result: void, definitionRegistration: VelcronSectionInstance, newDefinitionId: GuidValue, toggle?: boolean) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
146
152
|
};
|
147
153
|
updateDefinition: {
|
148
|
-
subscribe(fn: (result: void, definition:
|
154
|
+
subscribe(fn: (result: void, definition: VelcronSectionInstance, velcronDefinition: VelcronAppDefinition<object>) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
149
155
|
};
|
150
156
|
};
|
151
157
|
onFailure: {
|
@@ -155,23 +161,26 @@ export declare const useVelcronContentEditorStore: () => {
|
|
155
161
|
toggleEditorToolbar: {
|
156
162
|
subscribe(fn: (failureReason: any, forceHide?: boolean) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
157
163
|
};
|
158
|
-
|
164
|
+
addByRegistration: {
|
159
165
|
subscribe(fn: (failureReason: any, definition: VelcronDefinitionRegistration<object>, setAsActive?: boolean) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
160
166
|
};
|
167
|
+
addBySection: {
|
168
|
+
subscribe(fn: (failureReason: any, definitions: VelcronSectionInstance[]) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
169
|
+
};
|
161
170
|
setActiveDefinition: {
|
162
|
-
subscribe(fn: (failureReason: any, definition:
|
171
|
+
subscribe(fn: (failureReason: any, definition: VelcronSectionInstance) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
163
172
|
};
|
164
173
|
deleteDefinition: {
|
165
|
-
subscribe(fn: (failureReason: any, definition:
|
174
|
+
subscribe(fn: (failureReason: any, definition: VelcronSectionInstance) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
166
175
|
};
|
167
176
|
deleteReferenceDefinition: {
|
168
|
-
subscribe(fn: (failureReason: any, definition:
|
177
|
+
subscribe(fn: (failureReason: any, definition: VelcronSectionInstance) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
169
178
|
};
|
170
179
|
removeActiveDefinition: {
|
171
180
|
subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
172
181
|
};
|
173
182
|
setSelectedDefinition: {
|
174
|
-
subscribe(fn: (failureReason: any, definition:
|
183
|
+
subscribe(fn: (failureReason: any, definition: VelcronSectionInstance) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
175
184
|
};
|
176
185
|
removeSelectedDefinition: {
|
177
186
|
subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
@@ -180,41 +189,42 @@ export declare const useVelcronContentEditorStore: () => {
|
|
180
189
|
subscribe(fn: (failureReason: any, onGoingDragging: boolean) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
181
190
|
};
|
182
191
|
updateColorSchema: {
|
183
|
-
subscribe(fn: (failureReason: any, definitionRegistration:
|
192
|
+
subscribe(fn: (failureReason: any, definitionRegistration: VelcronSectionInstance, colorSchemaType: string) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
184
193
|
};
|
185
194
|
previewContainerBlueprint: {
|
186
|
-
subscribe(fn: (failureReason: any, definitionRegistration:
|
195
|
+
subscribe(fn: (failureReason: any, definitionRegistration: VelcronSectionInstance, containerVariant: ContainerVariant | ContainerBlueprint, cancelPreview: boolean) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
187
196
|
};
|
188
197
|
previewColorSchema: {
|
189
|
-
subscribe(fn: (failureReason: any, definitionRegistration:
|
198
|
+
subscribe(fn: (failureReason: any, definitionRegistration: VelcronSectionInstance, colorSchemaType: string, cancelPreview: boolean) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
190
199
|
};
|
191
200
|
previewDefinition: {
|
192
|
-
subscribe(fn: (failureReason: any, definitionRegistration:
|
201
|
+
subscribe(fn: (failureReason: any, definitionRegistration: VelcronSectionInstance, newDefinitionId: GuidValue, cancelPreview: boolean) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
193
202
|
};
|
194
203
|
changeDefinition: {
|
195
|
-
subscribe(fn: (failureReason: any, definitionRegistration:
|
204
|
+
subscribe(fn: (failureReason: any, definitionRegistration: VelcronSectionInstance, newDefinitionId: GuidValue, toggle?: boolean) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
196
205
|
};
|
197
206
|
updateDefinition: {
|
198
|
-
subscribe(fn: (failureReason: any, definition:
|
207
|
+
subscribe(fn: (failureReason: any, definition: VelcronSectionInstance, velcronDefinition: VelcronAppDefinition<object>) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
199
208
|
};
|
200
209
|
};
|
201
210
|
} & {
|
202
211
|
showDefinitionSelector(preInsert: boolean, insertRelativeToActive?: boolean, changeDefinition?: boolean): void;
|
203
212
|
toggleEditorToolbar(forceHide?: boolean): void;
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
213
|
+
addByRegistration(definition: VelcronDefinitionRegistration, setAsActive?: boolean): void;
|
214
|
+
addBySection(definitions: Array<VelcronSectionInstance>): void;
|
215
|
+
setActiveDefinition(definition: VelcronSectionInstance): void;
|
216
|
+
deleteDefinition(definition: VelcronSectionInstance): void;
|
217
|
+
deleteReferenceDefinition(definition: VelcronSectionInstance): any;
|
208
218
|
removeActiveDefinition(): void;
|
209
|
-
setSelectedDefinition(definition:
|
219
|
+
setSelectedDefinition(definition: VelcronSectionInstance): void;
|
210
220
|
removeSelectedDefinition(): void;
|
211
221
|
setDragDropState(onGoingDragging: boolean): void;
|
212
|
-
updateColorSchema(definitionRegistration:
|
213
|
-
previewContainerBlueprint: (definitionRegistration:
|
214
|
-
previewColorSchema: (definitionRegistration:
|
215
|
-
previewDefinition: (definitionRegistration:
|
216
|
-
changeDefinition(definitionRegistration:
|
217
|
-
updateDefinition(definition:
|
222
|
+
updateColorSchema(definitionRegistration: VelcronSectionInstance, colorSchemaType: string): void;
|
223
|
+
previewContainerBlueprint: (definitionRegistration: VelcronSectionInstance, containerVariant: ContainerBlueprint | ContainerVariant, cancelPreview: boolean) => void;
|
224
|
+
previewColorSchema: (definitionRegistration: VelcronSectionInstance, colorSchemaType: string, cancelPreview: boolean) => void;
|
225
|
+
previewDefinition: (definitionRegistration: VelcronSectionInstance, newDefinitionId: GuidValue, cancelPreview: boolean) => void;
|
226
|
+
changeDefinition(definitionRegistration: VelcronSectionInstance, newDefinitionId: GuidValue, toggle?: boolean): void;
|
227
|
+
updateDefinition(definition: VelcronSectionInstance, velcronDefinition: VelcronAppDefinition): void;
|
218
228
|
};
|
219
229
|
};
|
220
230
|
export {};
|
@@ -151,6 +151,9 @@ export interface VelcronRenderProp {
|
|
151
151
|
required?: boolean;
|
152
152
|
defaultValue?: any;
|
153
153
|
}
|
154
|
+
export interface VelcronDefinitionHasEffects {
|
155
|
+
effects?: VelcronEffects;
|
156
|
+
}
|
154
157
|
/*** Built-in Components *********************************************************************/
|
155
158
|
export interface VelcronFlexDefinition extends VelcronDefinition, VelcronColorStyling {
|
156
159
|
type: "flex";
|
@@ -158,7 +161,7 @@ export interface VelcronFlexDefinition extends VelcronDefinition, VelcronColorSt
|
|
158
161
|
border?: VelcronBorder;
|
159
162
|
borderRadius?: VelcronDimensions;
|
160
163
|
}
|
161
|
-
export interface VelcronFlexRowDefinition extends VelcronDefinition, VelcronColorStyling {
|
164
|
+
export interface VelcronFlexRowDefinition extends VelcronDefinition, VelcronColorStyling, VelcronDefinitionHasEffects {
|
162
165
|
type: "row";
|
163
166
|
events?: VelcronOnPressEvent;
|
164
167
|
direction?: VelcronBindableProp<"row" | "row-reverse">;
|
@@ -176,9 +179,8 @@ export interface VelcronFlexRowDefinition extends VelcronDefinition, VelcronColo
|
|
176
179
|
minWidth?: number | string;
|
177
180
|
height?: number | string;
|
178
181
|
minHeight?: number | string;
|
179
|
-
effects?: VelcronEffects;
|
180
182
|
}
|
181
|
-
export interface VelcronFlexColumnDefinition extends VelcronDefinition, VelcronColorStyling {
|
183
|
+
export interface VelcronFlexColumnDefinition extends VelcronDefinition, VelcronColorStyling, VelcronDefinitionHasEffects {
|
182
184
|
type: "column";
|
183
185
|
events?: VelcronOnPressEvent;
|
184
186
|
grow?: number;
|
@@ -193,7 +195,7 @@ export interface VelcronCardDefinition extends VelcronDefinition, VelcronColorSt
|
|
193
195
|
footer?: Array<VelcronDefinition>;
|
194
196
|
events?: VelcronOnPressEvent;
|
195
197
|
}
|
196
|
-
export interface VelcronTextDefinition extends VelcronDefinition, VelcronColorStyling, VelcronTextStyling {
|
198
|
+
export interface VelcronTextDefinition extends VelcronDefinition, VelcronColorStyling, VelcronDefinitionHasEffects, VelcronTextStyling {
|
197
199
|
type: "text";
|
198
200
|
value?: VelcronBindableProp;
|
199
201
|
placeholder?: VelcronBindableProp;
|
@@ -1,10 +1,13 @@
|
|
1
|
-
import { VelcronBorder, VelcronColorStyling, VelcronDimensions, VelcronRenderContext } from "../models";
|
1
|
+
import { VelcronBorder, VelcronColorStyling, VelcronDefinitionHasEffects, VelcronDimensions, VelcronEffects, VelcronRenderContext } from "../models";
|
2
2
|
import { VelcronUnitProvider } from "../models/VelcronUnitProvider";
|
3
3
|
import { VelcronDefinition } from "..";
|
4
4
|
export declare class VelcronStyles {
|
5
5
|
static styleProvider: (baseStyles: object, definition: VelcronDefinition, renderCtx: VelcronRenderContext) => any;
|
6
|
+
static effectsProvider: (effects: VelcronEffects, renderCtx: VelcronRenderContext) => VelcronEffects;
|
6
7
|
static unitProvider: VelcronUnitProvider;
|
7
8
|
static registerStyleProvider(fn: (styleBase: object, definition: VelcronDefinition, renderCtx: VelcronRenderContext) => object | string, unitProvider: VelcronUnitProvider): void;
|
9
|
+
static registerEffectsProvider(fn: (effects: VelcronEffects, renderCtx: VelcronRenderContext) => VelcronEffects): void;
|
10
|
+
static applyEffects(definition: VelcronDefinitionHasEffects, renderCtx: VelcronRenderContext, applyTo: (effects: VelcronEffects) => any): any;
|
8
11
|
static insertBackgroundColor(styleBase: any, color: VelcronColorStyling, renderCtx: VelcronRenderContext): void;
|
9
12
|
static insertBorderRadiusStyles(styleBase: any, settings: VelcronDimensions): void;
|
10
13
|
static insertBorderStyles(styleBase: any, borderSettings: VelcronBorder, renderCtx: VelcronRenderContext): void;
|
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "@omnia/fx",
|
3
3
|
"license": "MIT",
|
4
|
-
"version": "8.0.
|
4
|
+
"version": "8.0.177-dev",
|
5
5
|
"description": "Provide Omnia Fx typings and tooling for clientside Omnia development.",
|
6
6
|
"scripts": {
|
7
7
|
"test": "echo \"Error: no test specified\" && exit 1",
|
@@ -20,13 +20,13 @@
|
|
20
20
|
],
|
21
21
|
"author": "Precio Fishbone",
|
22
22
|
"dependencies": {
|
23
|
-
"@omnia/fx-models": "8.0.
|
23
|
+
"@omnia/fx-models": "8.0.177-dev",
|
24
24
|
"@microsoft/signalr": "6.0.1",
|
25
25
|
"broadcast-channel": "4.8.0",
|
26
26
|
"dayjs": "1.11.7",
|
27
27
|
"splitpanes": "3.1.5",
|
28
|
-
"vuetify": "3.5.
|
29
|
-
"vue": "3.4.
|
28
|
+
"vuetify": "3.5.16",
|
29
|
+
"vue": "3.4.23",
|
30
30
|
"tslib": "2.6.2",
|
31
31
|
"typescript": "5.3.3",
|
32
32
|
"@tiptap/vue-3": "2.1.13",
|
package/internal-do-not-import-from-here/ux/velcron/blocks/content/components/ContentViewer.d.ts
DELETED
@@ -1,78 +0,0 @@
|
|
1
|
-
declare const _default: {
|
2
|
-
new (...args: any[]): import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
|
3
|
-
colorSchemaType: {
|
4
|
-
type: import("vue").PropType<"background" | "primary" | "secondary" | import("@omnia/fx-models").ColorSchemaTypes | "accent1" | "accent2" | "accent3" | "neutral" | "warning" | "notification" | "error" | "info" | "dynamic">;
|
5
|
-
required: boolean;
|
6
|
-
};
|
7
|
-
container: {
|
8
|
-
type: BooleanConstructor;
|
9
|
-
required: boolean;
|
10
|
-
};
|
11
|
-
colors: {
|
12
|
-
type: import("vue").PropType<import("@omnia/fx/ux").ColorSchemaStoreType>;
|
13
|
-
required: boolean;
|
14
|
-
};
|
15
|
-
}>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
|
16
|
-
colorSchemaType: {
|
17
|
-
type: import("vue").PropType<"background" | "primary" | "secondary" | import("@omnia/fx-models").ColorSchemaTypes | "accent1" | "accent2" | "accent3" | "neutral" | "warning" | "notification" | "error" | "info" | "dynamic">;
|
18
|
-
required: boolean;
|
19
|
-
};
|
20
|
-
container: {
|
21
|
-
type: BooleanConstructor;
|
22
|
-
required: boolean;
|
23
|
-
};
|
24
|
-
colors: {
|
25
|
-
type: import("vue").PropType<import("@omnia/fx/ux").ColorSchemaStoreType>;
|
26
|
-
required: boolean;
|
27
|
-
};
|
28
|
-
}>>, {
|
29
|
-
container: boolean;
|
30
|
-
}, true, {}, {}, {
|
31
|
-
P: {};
|
32
|
-
B: {};
|
33
|
-
D: {};
|
34
|
-
C: {};
|
35
|
-
M: {};
|
36
|
-
Defaults: {};
|
37
|
-
}, Readonly<import("vue").ExtractPropTypes<{
|
38
|
-
colorSchemaType: {
|
39
|
-
type: import("vue").PropType<"background" | "primary" | "secondary" | import("@omnia/fx-models").ColorSchemaTypes | "accent1" | "accent2" | "accent3" | "neutral" | "warning" | "notification" | "error" | "info" | "dynamic">;
|
40
|
-
required: boolean;
|
41
|
-
};
|
42
|
-
container: {
|
43
|
-
type: BooleanConstructor;
|
44
|
-
required: boolean;
|
45
|
-
};
|
46
|
-
colors: {
|
47
|
-
type: import("vue").PropType<import("@omnia/fx/ux").ColorSchemaStoreType>;
|
48
|
-
required: boolean;
|
49
|
-
};
|
50
|
-
}>>, () => JSX.Element, {}, {}, {}, {
|
51
|
-
container: boolean;
|
52
|
-
}>;
|
53
|
-
__isFragment?: never;
|
54
|
-
__isTeleport?: never;
|
55
|
-
__isSuspense?: never;
|
56
|
-
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
57
|
-
colorSchemaType: {
|
58
|
-
type: import("vue").PropType<"background" | "primary" | "secondary" | import("@omnia/fx-models").ColorSchemaTypes | "accent1" | "accent2" | "accent3" | "neutral" | "warning" | "notification" | "error" | "info" | "dynamic">;
|
59
|
-
required: boolean;
|
60
|
-
};
|
61
|
-
container: {
|
62
|
-
type: BooleanConstructor;
|
63
|
-
required: boolean;
|
64
|
-
};
|
65
|
-
colors: {
|
66
|
-
type: import("vue").PropType<import("@omnia/fx/ux").ColorSchemaStoreType>;
|
67
|
-
required: boolean;
|
68
|
-
};
|
69
|
-
}>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
70
|
-
container: boolean;
|
71
|
-
}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
|
72
|
-
propsDefinition: Omit<Readonly<{} & {
|
73
|
-
container?: boolean;
|
74
|
-
colorSchemaType?: "background" | "primary" | "secondary" | import("@omnia/fx-models").ColorSchemaTypes | "accent1" | "accent2" | "accent3" | "neutral" | "warning" | "notification" | "error" | "info" | "dynamic";
|
75
|
-
colors?: import("@omnia/fx/ux").ColorSchemaStoreType;
|
76
|
-
}>, never>;
|
77
|
-
};
|
78
|
-
export default _default;
|