@omnia/fx 8.0.393-dev → 8.0.394-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/admin/settings/blades/mediapicker/store/SettingsBladeStore.d.ts +3 -0
- package/internal-do-not-import-from-here/ux/aurora/admin/blades/themes/blades/EditColorSchemasBlade.d.ts +16 -0
- package/internal-do-not-import-from-here/ux/aurora/admin/blades/themes/store/ThemeEditorStore.d.ts +12 -3
- package/internal-do-not-import-from-here/ux/aurora/components/colorschemapicker/ColorSchemaDefinitionPicker.d.ts +31 -326
- package/internal-do-not-import-from-here/ux/aurora/components/colorschemapicker/ColorSchemaViewer.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/aurora/components/colorschemapicker/store/ColorSchemaDefinitionPickerStore.d.ts +23 -0
- package/internal-do-not-import-from-here/ux/oxide/picker/PickerSelection.d.ts +4 -3
- package/internal-do-not-import-from-here/wctypings.d.ts +0 -8
- package/package.json +3 -3
- package/internal-do-not-import-from-here/ux/aurora/components/themepicker/ThemeEditor.d.ts +0 -27
- package/internal-do-not-import-from-here/ux/aurora/components/themepicker/store/ThemeEditorStore.d.ts +0 -26
|
@@ -4,6 +4,7 @@ export declare const SettingsBladeStore: () => {
|
|
|
4
4
|
currentRatio: {
|
|
5
5
|
adminRatioDefinition: AdminMediaPickerImageRatioDefinition;
|
|
6
6
|
isNew: boolean;
|
|
7
|
+
id?: number;
|
|
7
8
|
};
|
|
8
9
|
currentScaling: {
|
|
9
10
|
adminScalingDefinition: AdminMediaPickerImageScalingDefinition;
|
|
@@ -14,6 +15,7 @@ export declare const SettingsBladeStore: () => {
|
|
|
14
15
|
currentRatio: {
|
|
15
16
|
adminRatioDefinition: AdminMediaPickerImageRatioDefinition;
|
|
16
17
|
isNew: boolean;
|
|
18
|
+
id?: number;
|
|
17
19
|
};
|
|
18
20
|
currentScaling: {
|
|
19
21
|
adminScalingDefinition: AdminMediaPickerImageScalingDefinition;
|
|
@@ -30,6 +32,7 @@ export declare const SettingsBladeStore: () => {
|
|
|
30
32
|
currentRatio: () => {
|
|
31
33
|
adminRatioDefinition: AdminMediaPickerImageRatioDefinition;
|
|
32
34
|
isNew: boolean;
|
|
35
|
+
id?: number;
|
|
33
36
|
};
|
|
34
37
|
currentScaling: () => {
|
|
35
38
|
adminScalingDefinition: AdminMediaPickerImageScalingDefinition;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{}>>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
3
|
+
P: {};
|
|
4
|
+
B: {};
|
|
5
|
+
D: {};
|
|
6
|
+
C: {};
|
|
7
|
+
M: {};
|
|
8
|
+
Defaults: {};
|
|
9
|
+
}, Readonly<import("vue").ExtractPropTypes<{}>>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, {}>;
|
|
10
|
+
__isFragment?: never;
|
|
11
|
+
__isTeleport?: never;
|
|
12
|
+
__isSuspense?: never;
|
|
13
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{}>>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
|
|
14
|
+
propsDefinition: Omit<Readonly<{} & {}>, never>;
|
|
15
|
+
};
|
|
16
|
+
export default _default;
|
package/internal-do-not-import-from-here/ux/aurora/admin/blades/themes/store/ThemeEditorStore.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { guid, ITemplateRegistration, ResolvedThemeDefinition, TemplateRegistrationType, ColorSchema } from "@omnia/fx-models";
|
|
1
|
+
import { guid, ITemplateRegistration, ResolvedThemeDefinition, TemplateRegistrationType, ColorSchema, ColorSchemaType } from "@omnia/fx-models";
|
|
2
2
|
export declare const useThemeEditorStore: () => {
|
|
3
3
|
state: {
|
|
4
4
|
definition: ITemplateRegistration<ResolvedThemeDefinition>;
|
|
@@ -10,6 +10,11 @@ export declare const useThemeEditorStore: () => {
|
|
|
10
10
|
editMode: boolean;
|
|
11
11
|
enableDelete: boolean;
|
|
12
12
|
}, Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>>;
|
|
13
|
+
rules: {
|
|
14
|
+
colors: {
|
|
15
|
+
isBuiltIn: (colorSchema: ColorSchema) => boolean;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
13
18
|
actions: import("@omnia/fx/stores").StoreReturnDefineAction<{
|
|
14
19
|
addThemeDefinition(): void;
|
|
15
20
|
editThemeDefinition(definition: ITemplateRegistration<ResolvedThemeDefinition>): void;
|
|
@@ -18,7 +23,10 @@ export declare const useThemeEditorStore: () => {
|
|
|
18
23
|
delete(): Promise<boolean>;
|
|
19
24
|
}>;
|
|
20
25
|
get: {
|
|
21
|
-
|
|
26
|
+
colorSchema: {
|
|
27
|
+
readonly all: ColorSchema[];
|
|
28
|
+
byType: (colorSchema: ColorSchemaType) => any;
|
|
29
|
+
};
|
|
22
30
|
registrations: {
|
|
23
31
|
byType: (type: TemplateRegistrationType) => ITemplateRegistration<any, TemplateRegistrationType>[];
|
|
24
32
|
};
|
|
@@ -31,7 +39,8 @@ export declare const useThemeEditorStore: () => {
|
|
|
31
39
|
};
|
|
32
40
|
bladeId: {
|
|
33
41
|
editBlade: guid;
|
|
34
|
-
|
|
42
|
+
viewBlade: guid;
|
|
43
|
+
editColorSchemasBlade: guid;
|
|
35
44
|
};
|
|
36
45
|
} & {
|
|
37
46
|
dispose?: () => void;
|
|
@@ -1,328 +1,33 @@
|
|
|
1
|
+
import { DefineSlot } from "@omnia/fx/ux";
|
|
1
2
|
import { ColorSchema } from "@omnia/fx-models";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
type: import("vue").PropType<(value: ColorSchema) => any | void>;
|
|
33
|
-
};
|
|
34
|
-
} & {
|
|
35
|
-
"v-model": {
|
|
36
|
-
type: import("vue").PropType<ColorSchema>;
|
|
37
|
-
required: false;
|
|
38
|
-
};
|
|
39
|
-
} & {
|
|
40
|
-
modelValue: {
|
|
41
|
-
type: import("vue").PropType<ColorSchema>;
|
|
42
|
-
required: false;
|
|
43
|
-
};
|
|
44
|
-
}>;
|
|
45
|
-
defaultValue(value?: ColorSchema): import("../../../DefineVueTypings").DefinePropModelDefaultValue<TName, ColorSchema, {
|
|
46
|
-
"onUpdate:modelValue": {
|
|
47
|
-
type: import("vue").PropType<(value: ColorSchema) => any | void>;
|
|
48
|
-
};
|
|
49
|
-
} & {
|
|
50
|
-
"v-model": {
|
|
51
|
-
type: import("vue").PropType<ColorSchema>;
|
|
52
|
-
required: false;
|
|
53
|
-
};
|
|
54
|
-
} & {
|
|
55
|
-
modelValue: {
|
|
56
|
-
type: import("vue").PropType<ColorSchema>;
|
|
57
|
-
required: false;
|
|
58
|
-
};
|
|
59
|
-
}, false>;
|
|
60
|
-
doc$(description?: string): import("../../../DefineVueTypings").DefinePropModelDoc<TName, ColorSchema, {
|
|
61
|
-
"onUpdate:modelValue": {
|
|
62
|
-
type: import("vue").PropType<(value: ColorSchema) => any | void>;
|
|
63
|
-
};
|
|
64
|
-
} & {
|
|
65
|
-
"v-model": {
|
|
66
|
-
type: import("vue").PropType<ColorSchema>;
|
|
67
|
-
required: false;
|
|
68
|
-
};
|
|
69
|
-
} & {
|
|
70
|
-
modelValue: {
|
|
71
|
-
type: import("vue").PropType<ColorSchema>;
|
|
72
|
-
required: false;
|
|
73
|
-
};
|
|
74
|
-
}>;
|
|
75
|
-
};
|
|
76
|
-
class: {
|
|
77
|
-
type: import("vue").PropType<String | String[]>;
|
|
78
|
-
required: boolean;
|
|
79
|
-
};
|
|
80
|
-
}>> & {
|
|
81
|
-
"onUpdate:modelValue"?: (colorSchema: ColorSchema) => any;
|
|
82
|
-
}, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
83
|
-
"update:modelValue": (colorSchema: ColorSchema) => any;
|
|
84
|
-
}, import("vue").PublicProps, {}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
85
|
-
P: {};
|
|
86
|
-
B: {};
|
|
87
|
-
D: {};
|
|
88
|
-
C: {};
|
|
89
|
-
M: {};
|
|
90
|
-
Defaults: {};
|
|
91
|
-
}, Readonly<import("vue").ExtractPropTypes<{
|
|
92
|
-
label: {
|
|
93
|
-
type: import("vue").PropType<string>;
|
|
94
|
-
};
|
|
95
|
-
items: {
|
|
96
|
-
type: import("vue").PropType<ColorSchema[]>;
|
|
97
|
-
};
|
|
98
|
-
"onUpdate:modelValue": {
|
|
99
|
-
type: import("vue").PropType<(value: ColorSchema) => any | void>;
|
|
100
|
-
};
|
|
101
|
-
"v-model": {
|
|
102
|
-
type: import("vue").PropType<ColorSchema>;
|
|
103
|
-
required: false;
|
|
104
|
-
};
|
|
105
|
-
modelValue: {
|
|
106
|
-
type: import("vue").PropType<ColorSchema>;
|
|
107
|
-
required: false;
|
|
108
|
-
};
|
|
109
|
-
name: <TName extends string>(n?: TName) => { [key in import("../../../DefineVueTypings").VModelEmitsInJsxElement<TName>]: {
|
|
110
|
-
type: import("vue").PropType<(value: ColorSchema) => any | void>;
|
|
111
|
-
}; } & { [key_1 in import("../../../DefineVueTypings").VModelKeyNameInJsxElement<TName>]: {
|
|
112
|
-
type: import("vue").PropType<ColorSchema>;
|
|
113
|
-
required: false;
|
|
114
|
-
}; } & { [key_2 in import("../../../DefineVueTypings").VModelKeyNameInProps<TName>]: {
|
|
115
|
-
type: import("vue").PropType<ColorSchema>;
|
|
116
|
-
required: false;
|
|
117
|
-
}; } & {
|
|
118
|
-
require(): import("../../../DefineVueTypings").DefinePropModelRequire<TName, ColorSchema, {
|
|
119
|
-
"onUpdate:modelValue": {
|
|
120
|
-
type: import("vue").PropType<(value: ColorSchema) => any | void>;
|
|
121
|
-
};
|
|
122
|
-
} & {
|
|
123
|
-
"v-model": {
|
|
124
|
-
type: import("vue").PropType<ColorSchema>;
|
|
125
|
-
required: false;
|
|
126
|
-
};
|
|
127
|
-
} & {
|
|
128
|
-
modelValue: {
|
|
129
|
-
type: import("vue").PropType<ColorSchema>;
|
|
130
|
-
required: false;
|
|
131
|
-
};
|
|
132
|
-
}>;
|
|
133
|
-
defaultValue(value?: ColorSchema): import("../../../DefineVueTypings").DefinePropModelDefaultValue<TName, ColorSchema, {
|
|
134
|
-
"onUpdate:modelValue": {
|
|
135
|
-
type: import("vue").PropType<(value: ColorSchema) => any | void>;
|
|
136
|
-
};
|
|
137
|
-
} & {
|
|
138
|
-
"v-model": {
|
|
139
|
-
type: import("vue").PropType<ColorSchema>;
|
|
140
|
-
required: false;
|
|
141
|
-
};
|
|
142
|
-
} & {
|
|
143
|
-
modelValue: {
|
|
144
|
-
type: import("vue").PropType<ColorSchema>;
|
|
145
|
-
required: false;
|
|
146
|
-
};
|
|
147
|
-
}, false>;
|
|
148
|
-
doc$(description?: string): import("../../../DefineVueTypings").DefinePropModelDoc<TName, ColorSchema, {
|
|
149
|
-
"onUpdate:modelValue": {
|
|
150
|
-
type: import("vue").PropType<(value: ColorSchema) => any | void>;
|
|
151
|
-
};
|
|
152
|
-
} & {
|
|
153
|
-
"v-model": {
|
|
154
|
-
type: import("vue").PropType<ColorSchema>;
|
|
155
|
-
required: false;
|
|
156
|
-
};
|
|
157
|
-
} & {
|
|
158
|
-
modelValue: {
|
|
159
|
-
type: import("vue").PropType<ColorSchema>;
|
|
160
|
-
required: false;
|
|
161
|
-
};
|
|
162
|
-
}>;
|
|
163
|
-
};
|
|
164
|
-
class: {
|
|
165
|
-
type: import("vue").PropType<String | String[]>;
|
|
166
|
-
required: boolean;
|
|
167
|
-
};
|
|
168
|
-
}>> & {
|
|
169
|
-
"onUpdate:modelValue"?: (colorSchema: ColorSchema) => any;
|
|
170
|
-
}, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, {}>;
|
|
171
|
-
__isFragment?: never;
|
|
172
|
-
__isTeleport?: never;
|
|
173
|
-
__isSuspense?: never;
|
|
174
|
-
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
175
|
-
label: {
|
|
176
|
-
type: import("vue").PropType<string>;
|
|
177
|
-
};
|
|
178
|
-
items: {
|
|
179
|
-
type: import("vue").PropType<ColorSchema[]>;
|
|
180
|
-
};
|
|
181
|
-
"onUpdate:modelValue": {
|
|
182
|
-
type: import("vue").PropType<(value: ColorSchema) => any | void>;
|
|
183
|
-
};
|
|
184
|
-
"v-model": {
|
|
185
|
-
type: import("vue").PropType<ColorSchema>;
|
|
186
|
-
required: false;
|
|
187
|
-
};
|
|
188
|
-
modelValue: {
|
|
189
|
-
type: import("vue").PropType<ColorSchema>;
|
|
190
|
-
required: false;
|
|
191
|
-
};
|
|
192
|
-
name: <TName extends string>(n?: TName) => { [key in import("../../../DefineVueTypings").VModelEmitsInJsxElement<TName>]: {
|
|
193
|
-
type: import("vue").PropType<(value: ColorSchema) => any | void>;
|
|
194
|
-
}; } & { [key_1 in import("../../../DefineVueTypings").VModelKeyNameInJsxElement<TName>]: {
|
|
195
|
-
type: import("vue").PropType<ColorSchema>;
|
|
196
|
-
required: false;
|
|
197
|
-
}; } & { [key_2 in import("../../../DefineVueTypings").VModelKeyNameInProps<TName>]: {
|
|
198
|
-
type: import("vue").PropType<ColorSchema>;
|
|
199
|
-
required: false;
|
|
200
|
-
}; } & {
|
|
201
|
-
require(): import("../../../DefineVueTypings").DefinePropModelRequire<TName, ColorSchema, {
|
|
202
|
-
"onUpdate:modelValue": {
|
|
203
|
-
type: import("vue").PropType<(value: ColorSchema) => any | void>;
|
|
204
|
-
};
|
|
205
|
-
} & {
|
|
206
|
-
"v-model": {
|
|
207
|
-
type: import("vue").PropType<ColorSchema>;
|
|
208
|
-
required: false;
|
|
209
|
-
};
|
|
210
|
-
} & {
|
|
211
|
-
modelValue: {
|
|
212
|
-
type: import("vue").PropType<ColorSchema>;
|
|
213
|
-
required: false;
|
|
214
|
-
};
|
|
215
|
-
}>;
|
|
216
|
-
defaultValue(value?: ColorSchema): import("../../../DefineVueTypings").DefinePropModelDefaultValue<TName, ColorSchema, {
|
|
217
|
-
"onUpdate:modelValue": {
|
|
218
|
-
type: import("vue").PropType<(value: ColorSchema) => any | void>;
|
|
219
|
-
};
|
|
220
|
-
} & {
|
|
221
|
-
"v-model": {
|
|
222
|
-
type: import("vue").PropType<ColorSchema>;
|
|
223
|
-
required: false;
|
|
224
|
-
};
|
|
225
|
-
} & {
|
|
226
|
-
modelValue: {
|
|
227
|
-
type: import("vue").PropType<ColorSchema>;
|
|
228
|
-
required: false;
|
|
229
|
-
};
|
|
230
|
-
}, false>;
|
|
231
|
-
doc$(description?: string): import("../../../DefineVueTypings").DefinePropModelDoc<TName, ColorSchema, {
|
|
232
|
-
"onUpdate:modelValue": {
|
|
233
|
-
type: import("vue").PropType<(value: ColorSchema) => any | void>;
|
|
234
|
-
};
|
|
235
|
-
} & {
|
|
236
|
-
"v-model": {
|
|
237
|
-
type: import("vue").PropType<ColorSchema>;
|
|
238
|
-
required: false;
|
|
239
|
-
};
|
|
240
|
-
} & {
|
|
241
|
-
modelValue: {
|
|
242
|
-
type: import("vue").PropType<ColorSchema>;
|
|
243
|
-
required: false;
|
|
244
|
-
};
|
|
245
|
-
}>;
|
|
246
|
-
};
|
|
247
|
-
class: {
|
|
248
|
-
type: import("vue").PropType<String | String[]>;
|
|
249
|
-
required: boolean;
|
|
250
|
-
};
|
|
251
|
-
}>> & {
|
|
252
|
-
"onUpdate:modelValue"?: (colorSchema: ColorSchema) => any;
|
|
253
|
-
}, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
254
|
-
"update:modelValue": (colorSchema: ColorSchema) => any;
|
|
255
|
-
}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
|
|
256
|
-
propsDefinition: Omit<Readonly<{} & {
|
|
257
|
-
name?: {
|
|
258
|
-
[x: `onUpdate:${string}`]: {
|
|
259
|
-
type: import("vue").PropType<(value: ColorSchema) => any | void>;
|
|
260
|
-
};
|
|
261
|
-
} & {
|
|
262
|
-
[x: `v-model:${string}`]: {
|
|
263
|
-
type: import("vue").PropType<ColorSchema>;
|
|
264
|
-
required: false;
|
|
265
|
-
};
|
|
266
|
-
} & {
|
|
267
|
-
[x: string]: {
|
|
268
|
-
type: import("vue").PropType<ColorSchema>;
|
|
269
|
-
required: false;
|
|
270
|
-
};
|
|
271
|
-
} & {
|
|
272
|
-
require(): import("../../../DefineVueTypings").DefinePropModelRequire<string, ColorSchema, {
|
|
273
|
-
"onUpdate:modelValue": {
|
|
274
|
-
type: import("vue").PropType<(value: ColorSchema) => any | void>;
|
|
275
|
-
};
|
|
276
|
-
} & {
|
|
277
|
-
"v-model": {
|
|
278
|
-
type: import("vue").PropType<ColorSchema>;
|
|
279
|
-
required: false;
|
|
280
|
-
};
|
|
281
|
-
} & {
|
|
282
|
-
modelValue: {
|
|
283
|
-
type: import("vue").PropType<ColorSchema>;
|
|
284
|
-
required: false;
|
|
285
|
-
};
|
|
286
|
-
}>;
|
|
287
|
-
defaultValue(value?: ColorSchema): import("../../../DefineVueTypings").DefinePropModelDefaultValue<string, ColorSchema, {
|
|
288
|
-
"onUpdate:modelValue": {
|
|
289
|
-
type: import("vue").PropType<(value: ColorSchema) => any | void>;
|
|
290
|
-
};
|
|
291
|
-
} & {
|
|
292
|
-
"v-model": {
|
|
293
|
-
type: import("vue").PropType<ColorSchema>;
|
|
294
|
-
required: false;
|
|
295
|
-
};
|
|
296
|
-
} & {
|
|
297
|
-
modelValue: {
|
|
298
|
-
type: import("vue").PropType<ColorSchema>;
|
|
299
|
-
required: false;
|
|
300
|
-
};
|
|
301
|
-
}, false>;
|
|
302
|
-
doc$(description?: string): import("../../../DefineVueTypings").DefinePropModelDoc<string, ColorSchema, {
|
|
303
|
-
"onUpdate:modelValue": {
|
|
304
|
-
type: import("vue").PropType<(value: ColorSchema) => any | void>;
|
|
305
|
-
};
|
|
306
|
-
} & {
|
|
307
|
-
"v-model": {
|
|
308
|
-
type: import("vue").PropType<ColorSchema>;
|
|
309
|
-
required: false;
|
|
310
|
-
};
|
|
311
|
-
} & {
|
|
312
|
-
modelValue: {
|
|
313
|
-
type: import("vue").PropType<ColorSchema>;
|
|
314
|
-
required: false;
|
|
315
|
-
};
|
|
316
|
-
}>;
|
|
317
|
-
};
|
|
318
|
-
class?: String | String[];
|
|
319
|
-
label?: string;
|
|
320
|
-
modelValue?: ColorSchema;
|
|
321
|
-
items?: ColorSchema[];
|
|
322
|
-
"onUpdate:modelValue"?: (value: ColorSchema) => any | void;
|
|
323
|
-
"v-model"?: ColorSchema;
|
|
324
|
-
}>, "onUpdate:modelValue"> & {
|
|
325
|
-
"onUpdate:modelValue"?: (colorSchema: ColorSchema) => any;
|
|
326
|
-
};
|
|
327
|
-
};
|
|
3
|
+
import { VNode } from "vue";
|
|
4
|
+
declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
|
|
5
|
+
"emit:update:modelValue": (value: ColorSchema) => void;
|
|
6
|
+
} & {
|
|
7
|
+
"v-model"?: ColorSchema;
|
|
8
|
+
} & {
|
|
9
|
+
modelValue?: ColorSchema;
|
|
10
|
+
} & {
|
|
11
|
+
toned?: boolean;
|
|
12
|
+
} & {
|
|
13
|
+
items?: ColorSchema[];
|
|
14
|
+
} & {
|
|
15
|
+
variant?: "button" | "dialog" | "dropdown" | "journey";
|
|
16
|
+
} & {
|
|
17
|
+
fallbackColorType?: "background" | "primary" | "secondary" | "accent1" | "accent2" | "accent3" | "accent4" | "accent5" | "accent6" | "accent7" | "accent8" | "accent9" | "neutral" | "warning" | "notification" | "error" | "info" | "success" | "dynamic";
|
|
18
|
+
} & {
|
|
19
|
+
label?: string;
|
|
20
|
+
} & {
|
|
21
|
+
selectionLabel?: string;
|
|
22
|
+
} & {
|
|
23
|
+
placeholder?: string;
|
|
24
|
+
} & DefineSlot<"activator", () => VNode>> & {
|
|
25
|
+
"onUpdate:modelValue"?: (value: ColorSchema) => any;
|
|
26
|
+
} & {
|
|
27
|
+
"v-slots"?: {
|
|
28
|
+
activator?: () => VNode;
|
|
29
|
+
} & Omit<{
|
|
30
|
+
default?: import("vue").Slot;
|
|
31
|
+
}, "activator">;
|
|
32
|
+
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "variant" | "label" | "modelValue" | "items" | "v-model" | "toned" | "placeholder" | "emit:update:modelValue" | "slot:activator" | "fallbackColorType" | "selectionLabel"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
|
328
33
|
export default _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ColorSchema } from "@omnia/fx-models";
|
|
2
|
-
type Variant = "default" | "toolbar" | "palette" | "card-preview" | "button" | "swatch";
|
|
2
|
+
type Variant = "default" | "toolbar" | "palette" | "card-preview" | "button" | "swatch" | "placeholder";
|
|
3
3
|
declare const _default: {
|
|
4
4
|
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
|
|
5
5
|
class: {
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { ColorSchema, ColorSchemaType } from "@omnia/fx-models";
|
|
2
|
+
export declare const useColorSchemaDefinitionPickerStore: () => {
|
|
3
|
+
state: {
|
|
4
|
+
internalModel: ColorSchema;
|
|
5
|
+
colorSchemas: ColorSchema[];
|
|
6
|
+
};
|
|
7
|
+
actions: import("@omnia/fx/stores").StoreReturnDefineAction<{
|
|
8
|
+
colorSchemas: {
|
|
9
|
+
readonly all: ColorSchema[];
|
|
10
|
+
};
|
|
11
|
+
clear: () => void;
|
|
12
|
+
select: (model: ColorSchema) => void;
|
|
13
|
+
initState: (model: ColorSchema, colorSchemas: ColorSchema[]) => void;
|
|
14
|
+
}>;
|
|
15
|
+
get: {
|
|
16
|
+
fallBackColorSchema: (colorSchemaType: ColorSchemaType) => any;
|
|
17
|
+
};
|
|
18
|
+
rules: {
|
|
19
|
+
isSelected: (schema: ColorSchema) => boolean;
|
|
20
|
+
};
|
|
21
|
+
} & {
|
|
22
|
+
dispose?: () => void;
|
|
23
|
+
};
|
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
import { DefineEmit, DefineProp, DefinePropTheming, DefineSlot } from "@omnia/fx/ux";
|
|
2
2
|
import { VNodeChild } from "vue";
|
|
3
|
-
type PickerSelectionProps = DefinePropTheming & DefineProp<"text", string, false, null, "Sets the text of the component."> & DefineProp<"grid", boolean, false, null, "Sets the component to disabled"> & DefineProp<"disabled", boolean, false, null, "Sets the component to disabled"> & DefineProp<"clearable", boolean, false, null, "If a clear icon can be shown"> & DefineProp<"searchable", boolean, false, null, "A search box is displayed with the text value"> & DefineProp<"isLoading", boolean, false, null, "Displays a loading indicator"> & DefineProp<"hasSelection", boolean | any, false, null, "If the component has selection or not. If true it will render the selection slot and show clear icon"> & DefineProp<"placeholder", string, false, null, "Sets the placeholder of the component. The placeholder is shown if there is no selection and displays select if empty"> & DefineProp<"toned", boolean, false, null, "Sets the component to disabled"> & DefineEmit<"click:clear", () => void> & DefineEmit<"show:selection", () => void> & DefineEmit<"search", (text: string) => void> & DefineSlot<"selectedItemRenderer", () => VNodeChild>;
|
|
3
|
+
type PickerSelectionProps = DefinePropTheming & DefineProp<"text", string, false, null, "Sets the text of the component."> & DefineProp<"grid", boolean, false, null, "Sets the component to disabled"> & DefineProp<"disabled", boolean, false, null, "Sets the component to disabled"> & DefineProp<"clearable", boolean, false, null, "If a clear icon can be shown"> & DefineProp<"searchable", boolean, false, null, "A search box is displayed with the text value"> & DefineProp<"isLoading", boolean, false, null, "Displays a loading indicator"> & DefineProp<"hasSelection", boolean | any, false, null, "If the component has selection or not. If true it will render the selection slot and show clear icon"> & DefineProp<"placeholder", string, false, null, "Sets the placeholder of the component. The placeholder is shown if there is no selection and displays select if empty"> & DefineProp<"toned", boolean, false, null, "Sets the component to disabled"> & DefineEmit<"click:clear", () => void> & DefineEmit<"show:selection", () => void> & DefineEmit<"search", (text: string) => void> & DefineSlot<"placeholderRenderer", () => VNodeChild> & DefineSlot<"selectedItemRenderer", () => VNodeChild>;
|
|
4
4
|
declare const _default: (props: import("@omnia/fx/ux").ExtractProps<PickerSelectionProps> & {
|
|
5
5
|
"onClick:clear"?: () => any;
|
|
6
6
|
onSearch?: (text: string) => any;
|
|
7
7
|
"onShow:selection"?: () => any;
|
|
8
8
|
} & {
|
|
9
9
|
"v-slots"?: {
|
|
10
|
+
placeholderRenderer?: () => VNodeChild;
|
|
10
11
|
selectedItemRenderer?: () => VNodeChild;
|
|
11
12
|
} & Omit<{
|
|
12
13
|
default?: import("vue").Slot;
|
|
13
|
-
}, "selectedItemRenderer">;
|
|
14
|
-
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "text" | "grid" | "disabled" | "colorSchemaType" | "colors" | "toned" | "placeholder" | "searchable" | "emit:search" | "emit:click:clear" | "clearable" | "isLoading" | "slot:selectedItemRenderer" | "hasSelection" | "emit:show:selection"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
|
14
|
+
}, "selectedItemRenderer" | "placeholderRenderer">;
|
|
15
|
+
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "text" | "grid" | "disabled" | "colorSchemaType" | "colors" | "toned" | "placeholder" | "searchable" | "emit:search" | "emit:click:clear" | "clearable" | "isLoading" | "slot:selectedItemRenderer" | "hasSelection" | "emit:show:selection" | "slot:placeholderRenderer"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
|
15
16
|
export default _default;
|
|
@@ -422,7 +422,6 @@ import wc5ac01b439b7b494baf066921c2ae7f9a from './ux/aurora/components/textcolor
|
|
|
422
422
|
import wc5682a90ca29b443fa48b3b691b622e15 from './ux/aurora/components/textformatpicker/TextFormatPicker';
|
|
423
423
|
import wc287d666180644ba5ab5def0471a75a89 from './ux/aurora/components/textstylepicker/TextStylePicker';
|
|
424
424
|
import wc252ece0016594978b3ddfafdd59adda4 from './ux/aurora/components/themepicker/ThemePicker';
|
|
425
|
-
import wcb89e133162f54c1fb2cd6d03cc2e4fe2 from './ux/aurora/components/themepicker/ThemeEditor';
|
|
426
425
|
import wc73e1c232690249f78967e3e3f6d92bd7 from './ux/aurora/components/themepreview/ThemePreview';
|
|
427
426
|
import wcc6eec07d48af435ab0c75195d9c7dcfc from './ux/aurora/components/themepreview/ComponentPreview';
|
|
428
427
|
import wc99a73153b5c647da9d6de517f51e53f0 from './ux/aurora/components/typography/TypographyEditor';
|
|
@@ -2970,13 +2969,6 @@ declare global {
|
|
|
2970
2969
|
$props: TProp & Omit<VueComponentBaseProps, keyof TProp>;
|
|
2971
2970
|
};
|
|
2972
2971
|
} : typeof wc252ece0016594978b3ddfafdd59adda4;
|
|
2973
|
-
"editor": typeof wcb89e133162f54c1fb2cd6d03cc2e4fe2 extends {
|
|
2974
|
-
propsDefinition: infer TProp;
|
|
2975
|
-
} ? {
|
|
2976
|
-
new (...args: any[]): {
|
|
2977
|
-
$props: TProp & Omit<VueComponentBaseProps, keyof TProp>;
|
|
2978
|
-
};
|
|
2979
|
-
} : typeof wcb89e133162f54c1fb2cd6d03cc2e4fe2;
|
|
2980
2972
|
"viewer": typeof wc73e1c232690249f78967e3e3f6d92bd7 extends {
|
|
2981
2973
|
propsDefinition: infer TProp;
|
|
2982
2974
|
} ? {
|
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.394-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": "Omnia Digital Workplace AB",
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@omnia/fx-models": "8.0.
|
|
23
|
+
"@omnia/fx-models": "8.0.394-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
28
|
"vue": "3.5.13",
|
|
29
|
-
"vuetify": "3.7.
|
|
29
|
+
"vuetify": "3.7.14",
|
|
30
30
|
"tslib": "2.6.2",
|
|
31
31
|
"typescript": "5.7.2",
|
|
32
32
|
"@tiptap/vue-3": "2.1.13",
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { ResolvedThemeDefinition } from "@omnia/fx-models";
|
|
2
|
-
import { DefineEmit, DefineSlot } from "@omnia/fx/ux";
|
|
3
|
-
import { VNodeChild } from "vue";
|
|
4
|
-
type EditorVariant = "default" | "dialog";
|
|
5
|
-
declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
|
|
6
|
-
"emit:update:modelValue": (value: ResolvedThemeDefinition) => void;
|
|
7
|
-
} & {
|
|
8
|
-
"v-model"?: ResolvedThemeDefinition;
|
|
9
|
-
} & {
|
|
10
|
-
modelValue?: ResolvedThemeDefinition;
|
|
11
|
-
} & {
|
|
12
|
-
variant?: EditorVariant;
|
|
13
|
-
} & {
|
|
14
|
-
preview?: boolean;
|
|
15
|
-
} & {
|
|
16
|
-
toolbarCallback?: (value: () => VNodeChild) => void;
|
|
17
|
-
} & DefineEmit<"click:confirm", (value: ResolvedThemeDefinition) => void> & DefineSlot<"activator", () => VNodeChild>> & {
|
|
18
|
-
"onUpdate:modelValue"?: (value: ResolvedThemeDefinition) => any;
|
|
19
|
-
"onClick:confirm"?: (value: ResolvedThemeDefinition) => any;
|
|
20
|
-
} & {
|
|
21
|
-
"v-slots"?: {
|
|
22
|
-
activator?: () => VNodeChild;
|
|
23
|
-
} & Omit<{
|
|
24
|
-
default?: import("vue").Slot;
|
|
25
|
-
}, "activator">;
|
|
26
|
-
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "variant" | "preview" | "modelValue" | "v-model" | "emit:update:modelValue" | "slot:activator" | "emit:click:confirm" | "toolbarCallback"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
|
27
|
-
export default _default;
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { ColorSchema, ResolvedThemeDefinition, TemplateRegistrationType } from "@omnia/fx-models";
|
|
2
|
-
import { useThemeStore } from "@omnia/fx/ux";
|
|
3
|
-
export declare const useThemeEditorStore: () => {
|
|
4
|
-
state: {
|
|
5
|
-
internalModel: ResolvedThemeDefinition;
|
|
6
|
-
previewThemeStore: ReturnType<typeof useThemeStore>;
|
|
7
|
-
availableColorSchemas: ColorSchema[];
|
|
8
|
-
};
|
|
9
|
-
actions: import("@omnia/fx/stores").StoreReturnDefineAction<{
|
|
10
|
-
initState: (model: ResolvedThemeDefinition) => void;
|
|
11
|
-
}>;
|
|
12
|
-
get: {
|
|
13
|
-
registrations: {
|
|
14
|
-
byType: (type: TemplateRegistrationType) => import("@omnia/fx-models").ITemplateRegistration<any, TemplateRegistrationType>[];
|
|
15
|
-
};
|
|
16
|
-
templates: {
|
|
17
|
-
byType: (type: TemplateRegistrationType) => any[];
|
|
18
|
-
typography: () => any[];
|
|
19
|
-
spacing: () => any[];
|
|
20
|
-
blueprints: () => any[];
|
|
21
|
-
};
|
|
22
|
-
};
|
|
23
|
-
rules: {};
|
|
24
|
-
} & {
|
|
25
|
-
dispose?: () => void;
|
|
26
|
-
};
|