@omnia/fx 8.0.383-dev → 8.0.385-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/services/SecurityService.d.ts +2 -1
- package/internal-do-not-import-from-here/stores/DefineStore.d.ts +7 -7
- package/internal-do-not-import-from-here/ux/InternalDefineComponent.d.ts +2 -1
- package/internal-do-not-import-from-here/ux/UxModels.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/admin/system/submenu/customemail/loc/localize.d.ts +4 -0
- package/internal-do-not-import-from-here/ux/app/management/tabs/namingpolicies/AffixRow.d.ts +4 -4
- package/internal-do-not-import-from-here/ux/aurora/admin/blades/blueprints/components/store/ButtonsEditorStore.d.ts +4 -4
- package/internal-do-not-import-from-here/ux/aurora/admin/blades/blueprints/components/store/ComponentEditorStore.d.ts +3 -3
- package/internal-do-not-import-from-here/ux/aurora/components/buttonstyle/ButtonStylePicker.d.ts +3 -1
- package/internal-do-not-import-from-here/ux/aurora/components/colorpickerV2/ColorPicker.d.ts +4 -4
- package/internal-do-not-import-from-here/ux/aurora/components/colorpickerV2/ColorPicker_old.d.ts +475 -0
- package/internal-do-not-import-from-here/ux/aurora/components/colorpickerV2/renderers/SwatchRenderer.d.ts +47 -0
- package/internal-do-not-import-from-here/ux/aurora/components/colorpickerV2/stores/ColorPickerStore.d.ts +48 -0
- package/internal-do-not-import-from-here/ux/aurora/components/fillpicker/store/FillPickerStore.d.ts +33 -0
- package/internal-do-not-import-from-here/ux/fileuploader/FileUploader.d.ts +31 -0
- package/internal-do-not-import-from-here/ux/inputtoken/InputToken.d.ts +23 -30
- package/internal-do-not-import-from-here/ux/journey/JourneyBlade.css.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/journey/JourneyBlade.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/journey/SettingsJourneyMenu.d.ts +4 -3
- package/internal-do-not-import-from-here/ux/journey/models/SettingsBladeRegistration.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/journey/stores/JourneyStore.d.ts +58 -1
- package/internal-do-not-import-from-here/ux/models/DataTable.d.ts +1 -13
- package/internal-do-not-import-from-here/ux/optionpicker/OptionPicker.d.ts +27 -79
- package/internal-do-not-import-from-here/ux/oxide/btn/Button.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/oxide/colorpicker/ColorPicker.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/oxide/datatable/CellRenderer.d.ts +8 -0
- package/internal-do-not-import-from-here/ux/oxide/datatable/DataTable.d.ts +3 -3
- package/internal-do-not-import-from-here/ux/oxide/datatable/RowRenderer.d.ts +4 -26
- package/internal-do-not-import-from-here/ux/oxide/dialog/Dialog.d.ts +4 -3
- package/internal-do-not-import-from-here/ux/oxide/divider/Divider.d.ts +3 -3
- package/internal-do-not-import-from-here/ux/oxide/panel/Panel.stylex.d.ts +0 -1
- package/internal-do-not-import-from-here/ux/oxide/picker/Picker.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/oxide/scrollcontainer/ScrollContainer.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/selection/SelectionComponent.d.ts +21 -21
- package/internal-do-not-import-from-here/ux/sitelogoicon/SiteLogoIcon.d.ts +9 -12
- package/internal-do-not-import-from-here/wctypings.d.ts +28 -0
- package/package.json +3 -3
package/internal-do-not-import-from-here/ux/aurora/components/colorpickerV2/ColorPicker_old.d.ts
ADDED
@@ -0,0 +1,475 @@
|
|
1
|
+
import { ColorSchemaType, ColorValue, ThemeContextType } from "@omnia/fx-models";
|
2
|
+
import { VNodeChild } from "vue";
|
3
|
+
export type ColorPickerType = "default" | "base" | "onBase";
|
4
|
+
declare const _default: {
|
5
|
+
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
|
6
|
+
"v-slots": import("vue").Prop<{
|
7
|
+
default?: import("../../../DefineVueTypings").Slot;
|
8
|
+
} & {
|
9
|
+
activator?: () => VNodeChild;
|
10
|
+
}>;
|
11
|
+
disabled: {
|
12
|
+
type: import("vue").PropType<boolean>;
|
13
|
+
required: false;
|
14
|
+
};
|
15
|
+
themeType: {
|
16
|
+
type: import("vue").PropType<ThemeContextType>;
|
17
|
+
};
|
18
|
+
label: {
|
19
|
+
type: import("vue").PropType<string>;
|
20
|
+
};
|
21
|
+
switchableColorSchema: {
|
22
|
+
type: import("vue").PropType<boolean>;
|
23
|
+
};
|
24
|
+
opacity: {
|
25
|
+
type: import("vue").PropType<boolean>;
|
26
|
+
};
|
27
|
+
customColor: {
|
28
|
+
type: import("vue").PropType<boolean>;
|
29
|
+
};
|
30
|
+
enableDynamicColor: {
|
31
|
+
type: import("vue").PropType<boolean>;
|
32
|
+
};
|
33
|
+
defaultColorSchemaType: {
|
34
|
+
type: import("vue").PropType<"background" | "primary" | "secondary" | "accent1" | "accent2" | "accent3" | "accent4" | "accent5" | "accent6" | "accent7" | "accent8" | "accent9" | "neutral" | "warning" | "notification" | "error" | "info" | "success" | "dynamic">;
|
35
|
+
};
|
36
|
+
type: {
|
37
|
+
type: import("vue").PropType<ColorPickerType>;
|
38
|
+
};
|
39
|
+
toned: {
|
40
|
+
type: import("vue").PropType<boolean>;
|
41
|
+
};
|
42
|
+
variant: {
|
43
|
+
type: import("vue").PropType<"dropdown" | "journey">;
|
44
|
+
};
|
45
|
+
"onUpdate:modelValue": {
|
46
|
+
type: import("vue").PropType<(value: ColorValue) => any | void>;
|
47
|
+
};
|
48
|
+
"v-model": {
|
49
|
+
type: import("vue").PropType<ColorValue>;
|
50
|
+
required: false;
|
51
|
+
};
|
52
|
+
modelValue: {
|
53
|
+
type: import("vue").PropType<ColorValue>;
|
54
|
+
required: false;
|
55
|
+
};
|
56
|
+
name: <TName extends string>(n?: TName) => { [key in import("../../../DefineVueTypings").VModelEmitsInJsxElement<TName>]: {
|
57
|
+
type: import("vue").PropType<(value: ColorValue) => any | void>;
|
58
|
+
}; } & { [key_1 in import("../../../DefineVueTypings").VModelKeyNameInJsxElement<TName>]: {
|
59
|
+
type: import("vue").PropType<ColorValue>;
|
60
|
+
required: false;
|
61
|
+
}; } & { [key_2 in import("../../../DefineVueTypings").VModelKeyNameInProps<TName>]: {
|
62
|
+
type: import("vue").PropType<ColorValue>;
|
63
|
+
required: false;
|
64
|
+
}; } & {
|
65
|
+
require(): import("../../../DefineVueTypings").DefinePropModelRequire<TName, ColorValue, {
|
66
|
+
"onUpdate:modelValue": {
|
67
|
+
type: import("vue").PropType<(value: ColorValue) => any | void>;
|
68
|
+
};
|
69
|
+
} & {
|
70
|
+
"v-model": {
|
71
|
+
type: import("vue").PropType<ColorValue>;
|
72
|
+
required: false;
|
73
|
+
};
|
74
|
+
} & {
|
75
|
+
modelValue: {
|
76
|
+
type: import("vue").PropType<ColorValue>;
|
77
|
+
required: false;
|
78
|
+
};
|
79
|
+
}>;
|
80
|
+
defaultValue(value?: ColorValue): import("../../../DefineVueTypings").DefinePropModelDefaultValue<TName, ColorValue, {
|
81
|
+
"onUpdate:modelValue": {
|
82
|
+
type: import("vue").PropType<(value: ColorValue) => any | void>;
|
83
|
+
};
|
84
|
+
} & {
|
85
|
+
"v-model": {
|
86
|
+
type: import("vue").PropType<ColorValue>;
|
87
|
+
required: false;
|
88
|
+
};
|
89
|
+
} & {
|
90
|
+
modelValue: {
|
91
|
+
type: import("vue").PropType<ColorValue>;
|
92
|
+
required: false;
|
93
|
+
};
|
94
|
+
}, false>;
|
95
|
+
doc$(description?: string): import("../../../DefineVueTypings").DefinePropModelDoc<TName, ColorValue, {
|
96
|
+
"onUpdate:modelValue": {
|
97
|
+
type: import("vue").PropType<(value: ColorValue) => any | void>;
|
98
|
+
};
|
99
|
+
} & {
|
100
|
+
"v-model": {
|
101
|
+
type: import("vue").PropType<ColorValue>;
|
102
|
+
required: false;
|
103
|
+
};
|
104
|
+
} & {
|
105
|
+
modelValue: {
|
106
|
+
type: import("vue").PropType<ColorValue>;
|
107
|
+
required: false;
|
108
|
+
};
|
109
|
+
}>;
|
110
|
+
};
|
111
|
+
colorSchemaType: {
|
112
|
+
type: import("vue").PropType<import("@omnia/fx-models").ColorSchemaTypes | ColorSchemaType>;
|
113
|
+
required: boolean;
|
114
|
+
};
|
115
|
+
container: {
|
116
|
+
type: BooleanConstructor;
|
117
|
+
required: boolean;
|
118
|
+
};
|
119
|
+
colors: {
|
120
|
+
type: import("vue").PropType<import("@omnia/fx/ux").ColorSchemaStoreType>;
|
121
|
+
required: boolean;
|
122
|
+
};
|
123
|
+
}>> & {
|
124
|
+
"onUpdate:modelValue"?: (value: ColorValue) => any;
|
125
|
+
}, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
126
|
+
"update:modelValue": (value: ColorValue) => any;
|
127
|
+
}, import("vue").PublicProps, {
|
128
|
+
container: boolean;
|
129
|
+
}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
130
|
+
P: {};
|
131
|
+
B: {};
|
132
|
+
D: {};
|
133
|
+
C: {};
|
134
|
+
M: {};
|
135
|
+
Defaults: {};
|
136
|
+
}, Readonly<import("vue").ExtractPropTypes<{
|
137
|
+
"v-slots": import("vue").Prop<{
|
138
|
+
default?: import("../../../DefineVueTypings").Slot;
|
139
|
+
} & {
|
140
|
+
activator?: () => VNodeChild;
|
141
|
+
}>;
|
142
|
+
disabled: {
|
143
|
+
type: import("vue").PropType<boolean>;
|
144
|
+
required: false;
|
145
|
+
};
|
146
|
+
themeType: {
|
147
|
+
type: import("vue").PropType<ThemeContextType>;
|
148
|
+
};
|
149
|
+
label: {
|
150
|
+
type: import("vue").PropType<string>;
|
151
|
+
};
|
152
|
+
switchableColorSchema: {
|
153
|
+
type: import("vue").PropType<boolean>;
|
154
|
+
};
|
155
|
+
opacity: {
|
156
|
+
type: import("vue").PropType<boolean>;
|
157
|
+
};
|
158
|
+
customColor: {
|
159
|
+
type: import("vue").PropType<boolean>;
|
160
|
+
};
|
161
|
+
enableDynamicColor: {
|
162
|
+
type: import("vue").PropType<boolean>;
|
163
|
+
};
|
164
|
+
defaultColorSchemaType: {
|
165
|
+
type: import("vue").PropType<"background" | "primary" | "secondary" | "accent1" | "accent2" | "accent3" | "accent4" | "accent5" | "accent6" | "accent7" | "accent8" | "accent9" | "neutral" | "warning" | "notification" | "error" | "info" | "success" | "dynamic">;
|
166
|
+
};
|
167
|
+
type: {
|
168
|
+
type: import("vue").PropType<ColorPickerType>;
|
169
|
+
};
|
170
|
+
toned: {
|
171
|
+
type: import("vue").PropType<boolean>;
|
172
|
+
};
|
173
|
+
variant: {
|
174
|
+
type: import("vue").PropType<"dropdown" | "journey">;
|
175
|
+
};
|
176
|
+
"onUpdate:modelValue": {
|
177
|
+
type: import("vue").PropType<(value: ColorValue) => any | void>;
|
178
|
+
};
|
179
|
+
"v-model": {
|
180
|
+
type: import("vue").PropType<ColorValue>;
|
181
|
+
required: false;
|
182
|
+
};
|
183
|
+
modelValue: {
|
184
|
+
type: import("vue").PropType<ColorValue>;
|
185
|
+
required: false;
|
186
|
+
};
|
187
|
+
name: <TName extends string>(n?: TName) => { [key in import("../../../DefineVueTypings").VModelEmitsInJsxElement<TName>]: {
|
188
|
+
type: import("vue").PropType<(value: ColorValue) => any | void>;
|
189
|
+
}; } & { [key_1 in import("../../../DefineVueTypings").VModelKeyNameInJsxElement<TName>]: {
|
190
|
+
type: import("vue").PropType<ColorValue>;
|
191
|
+
required: false;
|
192
|
+
}; } & { [key_2 in import("../../../DefineVueTypings").VModelKeyNameInProps<TName>]: {
|
193
|
+
type: import("vue").PropType<ColorValue>;
|
194
|
+
required: false;
|
195
|
+
}; } & {
|
196
|
+
require(): import("../../../DefineVueTypings").DefinePropModelRequire<TName, ColorValue, {
|
197
|
+
"onUpdate:modelValue": {
|
198
|
+
type: import("vue").PropType<(value: ColorValue) => any | void>;
|
199
|
+
};
|
200
|
+
} & {
|
201
|
+
"v-model": {
|
202
|
+
type: import("vue").PropType<ColorValue>;
|
203
|
+
required: false;
|
204
|
+
};
|
205
|
+
} & {
|
206
|
+
modelValue: {
|
207
|
+
type: import("vue").PropType<ColorValue>;
|
208
|
+
required: false;
|
209
|
+
};
|
210
|
+
}>;
|
211
|
+
defaultValue(value?: ColorValue): import("../../../DefineVueTypings").DefinePropModelDefaultValue<TName, ColorValue, {
|
212
|
+
"onUpdate:modelValue": {
|
213
|
+
type: import("vue").PropType<(value: ColorValue) => any | void>;
|
214
|
+
};
|
215
|
+
} & {
|
216
|
+
"v-model": {
|
217
|
+
type: import("vue").PropType<ColorValue>;
|
218
|
+
required: false;
|
219
|
+
};
|
220
|
+
} & {
|
221
|
+
modelValue: {
|
222
|
+
type: import("vue").PropType<ColorValue>;
|
223
|
+
required: false;
|
224
|
+
};
|
225
|
+
}, false>;
|
226
|
+
doc$(description?: string): import("../../../DefineVueTypings").DefinePropModelDoc<TName, ColorValue, {
|
227
|
+
"onUpdate:modelValue": {
|
228
|
+
type: import("vue").PropType<(value: ColorValue) => any | void>;
|
229
|
+
};
|
230
|
+
} & {
|
231
|
+
"v-model": {
|
232
|
+
type: import("vue").PropType<ColorValue>;
|
233
|
+
required: false;
|
234
|
+
};
|
235
|
+
} & {
|
236
|
+
modelValue: {
|
237
|
+
type: import("vue").PropType<ColorValue>;
|
238
|
+
required: false;
|
239
|
+
};
|
240
|
+
}>;
|
241
|
+
};
|
242
|
+
colorSchemaType: {
|
243
|
+
type: import("vue").PropType<import("@omnia/fx-models").ColorSchemaTypes | ColorSchemaType>;
|
244
|
+
required: boolean;
|
245
|
+
};
|
246
|
+
container: {
|
247
|
+
type: BooleanConstructor;
|
248
|
+
required: boolean;
|
249
|
+
};
|
250
|
+
colors: {
|
251
|
+
type: import("vue").PropType<import("@omnia/fx/ux").ColorSchemaStoreType>;
|
252
|
+
required: boolean;
|
253
|
+
};
|
254
|
+
}>> & {
|
255
|
+
"onUpdate:modelValue"?: (value: ColorValue) => any;
|
256
|
+
}, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, {
|
257
|
+
container: boolean;
|
258
|
+
}>;
|
259
|
+
__isFragment?: never;
|
260
|
+
__isTeleport?: never;
|
261
|
+
__isSuspense?: never;
|
262
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
263
|
+
"v-slots": import("vue").Prop<{
|
264
|
+
default?: import("../../../DefineVueTypings").Slot;
|
265
|
+
} & {
|
266
|
+
activator?: () => VNodeChild;
|
267
|
+
}>;
|
268
|
+
disabled: {
|
269
|
+
type: import("vue").PropType<boolean>;
|
270
|
+
required: false;
|
271
|
+
};
|
272
|
+
themeType: {
|
273
|
+
type: import("vue").PropType<ThemeContextType>;
|
274
|
+
};
|
275
|
+
label: {
|
276
|
+
type: import("vue").PropType<string>;
|
277
|
+
};
|
278
|
+
switchableColorSchema: {
|
279
|
+
type: import("vue").PropType<boolean>;
|
280
|
+
};
|
281
|
+
opacity: {
|
282
|
+
type: import("vue").PropType<boolean>;
|
283
|
+
};
|
284
|
+
customColor: {
|
285
|
+
type: import("vue").PropType<boolean>;
|
286
|
+
};
|
287
|
+
enableDynamicColor: {
|
288
|
+
type: import("vue").PropType<boolean>;
|
289
|
+
};
|
290
|
+
defaultColorSchemaType: {
|
291
|
+
type: import("vue").PropType<"background" | "primary" | "secondary" | "accent1" | "accent2" | "accent3" | "accent4" | "accent5" | "accent6" | "accent7" | "accent8" | "accent9" | "neutral" | "warning" | "notification" | "error" | "info" | "success" | "dynamic">;
|
292
|
+
};
|
293
|
+
type: {
|
294
|
+
type: import("vue").PropType<ColorPickerType>;
|
295
|
+
};
|
296
|
+
toned: {
|
297
|
+
type: import("vue").PropType<boolean>;
|
298
|
+
};
|
299
|
+
variant: {
|
300
|
+
type: import("vue").PropType<"dropdown" | "journey">;
|
301
|
+
};
|
302
|
+
"onUpdate:modelValue": {
|
303
|
+
type: import("vue").PropType<(value: ColorValue) => any | void>;
|
304
|
+
};
|
305
|
+
"v-model": {
|
306
|
+
type: import("vue").PropType<ColorValue>;
|
307
|
+
required: false;
|
308
|
+
};
|
309
|
+
modelValue: {
|
310
|
+
type: import("vue").PropType<ColorValue>;
|
311
|
+
required: false;
|
312
|
+
};
|
313
|
+
name: <TName extends string>(n?: TName) => { [key in import("../../../DefineVueTypings").VModelEmitsInJsxElement<TName>]: {
|
314
|
+
type: import("vue").PropType<(value: ColorValue) => any | void>;
|
315
|
+
}; } & { [key_1 in import("../../../DefineVueTypings").VModelKeyNameInJsxElement<TName>]: {
|
316
|
+
type: import("vue").PropType<ColorValue>;
|
317
|
+
required: false;
|
318
|
+
}; } & { [key_2 in import("../../../DefineVueTypings").VModelKeyNameInProps<TName>]: {
|
319
|
+
type: import("vue").PropType<ColorValue>;
|
320
|
+
required: false;
|
321
|
+
}; } & {
|
322
|
+
require(): import("../../../DefineVueTypings").DefinePropModelRequire<TName, ColorValue, {
|
323
|
+
"onUpdate:modelValue": {
|
324
|
+
type: import("vue").PropType<(value: ColorValue) => any | void>;
|
325
|
+
};
|
326
|
+
} & {
|
327
|
+
"v-model": {
|
328
|
+
type: import("vue").PropType<ColorValue>;
|
329
|
+
required: false;
|
330
|
+
};
|
331
|
+
} & {
|
332
|
+
modelValue: {
|
333
|
+
type: import("vue").PropType<ColorValue>;
|
334
|
+
required: false;
|
335
|
+
};
|
336
|
+
}>;
|
337
|
+
defaultValue(value?: ColorValue): import("../../../DefineVueTypings").DefinePropModelDefaultValue<TName, ColorValue, {
|
338
|
+
"onUpdate:modelValue": {
|
339
|
+
type: import("vue").PropType<(value: ColorValue) => any | void>;
|
340
|
+
};
|
341
|
+
} & {
|
342
|
+
"v-model": {
|
343
|
+
type: import("vue").PropType<ColorValue>;
|
344
|
+
required: false;
|
345
|
+
};
|
346
|
+
} & {
|
347
|
+
modelValue: {
|
348
|
+
type: import("vue").PropType<ColorValue>;
|
349
|
+
required: false;
|
350
|
+
};
|
351
|
+
}, false>;
|
352
|
+
doc$(description?: string): import("../../../DefineVueTypings").DefinePropModelDoc<TName, ColorValue, {
|
353
|
+
"onUpdate:modelValue": {
|
354
|
+
type: import("vue").PropType<(value: ColorValue) => any | void>;
|
355
|
+
};
|
356
|
+
} & {
|
357
|
+
"v-model": {
|
358
|
+
type: import("vue").PropType<ColorValue>;
|
359
|
+
required: false;
|
360
|
+
};
|
361
|
+
} & {
|
362
|
+
modelValue: {
|
363
|
+
type: import("vue").PropType<ColorValue>;
|
364
|
+
required: false;
|
365
|
+
};
|
366
|
+
}>;
|
367
|
+
};
|
368
|
+
colorSchemaType: {
|
369
|
+
type: import("vue").PropType<import("@omnia/fx-models").ColorSchemaTypes | ColorSchemaType>;
|
370
|
+
required: boolean;
|
371
|
+
};
|
372
|
+
container: {
|
373
|
+
type: BooleanConstructor;
|
374
|
+
required: boolean;
|
375
|
+
};
|
376
|
+
colors: {
|
377
|
+
type: import("vue").PropType<import("@omnia/fx/ux").ColorSchemaStoreType>;
|
378
|
+
required: boolean;
|
379
|
+
};
|
380
|
+
}>> & {
|
381
|
+
"onUpdate:modelValue"?: (value: ColorValue) => any;
|
382
|
+
}, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
383
|
+
"update:modelValue": (value: ColorValue) => any;
|
384
|
+
}, string, {
|
385
|
+
container: boolean;
|
386
|
+
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
|
387
|
+
propsDefinition: Omit<Readonly<{} & {
|
388
|
+
type?: ColorPickerType;
|
389
|
+
name?: {
|
390
|
+
[x: `onUpdate:${string}`]: {
|
391
|
+
type: import("vue").PropType<(value: ColorValue) => any | void>;
|
392
|
+
};
|
393
|
+
} & {
|
394
|
+
[x: `v-model:${string}`]: {
|
395
|
+
type: import("vue").PropType<ColorValue>;
|
396
|
+
required: false;
|
397
|
+
};
|
398
|
+
} & {
|
399
|
+
[x: string]: {
|
400
|
+
type: import("vue").PropType<ColorValue>;
|
401
|
+
required: false;
|
402
|
+
};
|
403
|
+
} & {
|
404
|
+
require(): import("../../../DefineVueTypings").DefinePropModelRequire<string, ColorValue, {
|
405
|
+
"onUpdate:modelValue": {
|
406
|
+
type: import("vue").PropType<(value: ColorValue) => any | void>;
|
407
|
+
};
|
408
|
+
} & {
|
409
|
+
"v-model": {
|
410
|
+
type: import("vue").PropType<ColorValue>;
|
411
|
+
required: false;
|
412
|
+
};
|
413
|
+
} & {
|
414
|
+
modelValue: {
|
415
|
+
type: import("vue").PropType<ColorValue>;
|
416
|
+
required: false;
|
417
|
+
};
|
418
|
+
}>;
|
419
|
+
defaultValue(value?: ColorValue): import("../../../DefineVueTypings").DefinePropModelDefaultValue<string, ColorValue, {
|
420
|
+
"onUpdate:modelValue": {
|
421
|
+
type: import("vue").PropType<(value: ColorValue) => any | void>;
|
422
|
+
};
|
423
|
+
} & {
|
424
|
+
"v-model": {
|
425
|
+
type: import("vue").PropType<ColorValue>;
|
426
|
+
required: false;
|
427
|
+
};
|
428
|
+
} & {
|
429
|
+
modelValue: {
|
430
|
+
type: import("vue").PropType<ColorValue>;
|
431
|
+
required: false;
|
432
|
+
};
|
433
|
+
}, false>;
|
434
|
+
doc$(description?: string): import("../../../DefineVueTypings").DefinePropModelDoc<string, ColorValue, {
|
435
|
+
"onUpdate:modelValue": {
|
436
|
+
type: import("vue").PropType<(value: ColorValue) => any | void>;
|
437
|
+
};
|
438
|
+
} & {
|
439
|
+
"v-model": {
|
440
|
+
type: import("vue").PropType<ColorValue>;
|
441
|
+
required: false;
|
442
|
+
};
|
443
|
+
} & {
|
444
|
+
modelValue: {
|
445
|
+
type: import("vue").PropType<ColorValue>;
|
446
|
+
required: false;
|
447
|
+
};
|
448
|
+
}>;
|
449
|
+
};
|
450
|
+
container?: boolean;
|
451
|
+
opacity?: boolean;
|
452
|
+
variant?: "dropdown" | "journey";
|
453
|
+
label?: string;
|
454
|
+
disabled?: boolean;
|
455
|
+
colorSchemaType?: "background" | "primary" | "secondary" | "accent1" | "accent2" | "accent3" | "accent4" | "accent5" | "accent6" | "accent7" | "accent8" | "accent9" | "neutral" | "warning" | "notification" | "error" | "info" | "success" | "dynamic" | import("@omnia/fx-models").ColorSchemaTypes;
|
456
|
+
modelValue?: ColorValue;
|
457
|
+
"v-slots"?: {
|
458
|
+
default?: import("../../../DefineVueTypings").Slot;
|
459
|
+
} & {
|
460
|
+
activator?: () => VNodeChild;
|
461
|
+
};
|
462
|
+
"onUpdate:modelValue"?: (value: ColorValue) => any | void;
|
463
|
+
colors?: import("@omnia/fx/ux").ColorSchemaStoreType;
|
464
|
+
"v-model"?: ColorValue;
|
465
|
+
toned?: boolean;
|
466
|
+
themeType?: ThemeContextType;
|
467
|
+
defaultColorSchemaType?: "background" | "primary" | "secondary" | "accent1" | "accent2" | "accent3" | "accent4" | "accent5" | "accent6" | "accent7" | "accent8" | "accent9" | "neutral" | "warning" | "notification" | "error" | "info" | "success" | "dynamic";
|
468
|
+
enableDynamicColor?: boolean;
|
469
|
+
customColor?: boolean;
|
470
|
+
switchableColorSchema?: boolean;
|
471
|
+
}>, "onUpdate:modelValue"> & {
|
472
|
+
"onUpdate:modelValue"?: (value: ColorValue) => any;
|
473
|
+
};
|
474
|
+
};
|
475
|
+
export default _default;
|
@@ -0,0 +1,47 @@
|
|
1
|
+
import { ColorValue } from "@omnia/fx-models";
|
2
|
+
export type ColorPickerType = "default" | "base" | "onBase";
|
3
|
+
declare const _default: {
|
4
|
+
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
|
5
|
+
disabled: {
|
6
|
+
type: import("vue").PropType<boolean>;
|
7
|
+
required: false;
|
8
|
+
};
|
9
|
+
}>> & {
|
10
|
+
onSelect?: (value: ColorValue) => any;
|
11
|
+
}, () => import("vue/jsx-runtime").JSX.Element | import("vue/jsx-runtime").JSX.Element[], unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
12
|
+
select: (value: ColorValue) => any;
|
13
|
+
}, import("vue").PublicProps, {}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
14
|
+
P: {};
|
15
|
+
B: {};
|
16
|
+
D: {};
|
17
|
+
C: {};
|
18
|
+
M: {};
|
19
|
+
Defaults: {};
|
20
|
+
}, Readonly<import("vue").ExtractPropTypes<{
|
21
|
+
disabled: {
|
22
|
+
type: import("vue").PropType<boolean>;
|
23
|
+
required: false;
|
24
|
+
};
|
25
|
+
}>> & {
|
26
|
+
onSelect?: (value: ColorValue) => any;
|
27
|
+
}, () => import("vue/jsx-runtime").JSX.Element | import("vue/jsx-runtime").JSX.Element[], {}, {}, {}, {}>;
|
28
|
+
__isFragment?: never;
|
29
|
+
__isTeleport?: never;
|
30
|
+
__isSuspense?: never;
|
31
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
32
|
+
disabled: {
|
33
|
+
type: import("vue").PropType<boolean>;
|
34
|
+
required: false;
|
35
|
+
};
|
36
|
+
}>> & {
|
37
|
+
onSelect?: (value: ColorValue) => any;
|
38
|
+
}, () => import("vue/jsx-runtime").JSX.Element | import("vue/jsx-runtime").JSX.Element[], unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
39
|
+
select: (value: ColorValue) => any;
|
40
|
+
}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
|
41
|
+
propsDefinition: Omit<Readonly<{} & {
|
42
|
+
disabled?: boolean;
|
43
|
+
}>, "onSelect"> & {
|
44
|
+
onSelect?: (value: ColorValue) => any;
|
45
|
+
};
|
46
|
+
};
|
47
|
+
export default _default;
|
@@ -0,0 +1,48 @@
|
|
1
|
+
import { ColorSchemaType, ColorValue, ThemeContextType, ThemedColorValue } from "@omnia/fx-models";
|
2
|
+
export interface swatch {
|
3
|
+
color: ColorValue;
|
4
|
+
colorString: string;
|
5
|
+
}
|
6
|
+
export declare const useColorPickerStore: () => {
|
7
|
+
get: {
|
8
|
+
swatches: {
|
9
|
+
baseColor: (swatchSchema: swatch[], toned: boolean) => string;
|
10
|
+
onBaseColor: (swatchSchema: swatch[], toned: boolean) => string;
|
11
|
+
colorSchemaName: (swatchSchema: swatch[]) => string;
|
12
|
+
};
|
13
|
+
};
|
14
|
+
state: {
|
15
|
+
currentSelection: ColorValue;
|
16
|
+
themedColorValue: ThemedColorValue;
|
17
|
+
prevSelectedColorSchemaType: any;
|
18
|
+
customColor: string;
|
19
|
+
opacity: number;
|
20
|
+
dynamicColor: boolean;
|
21
|
+
showColorPicker: boolean;
|
22
|
+
showDialog: boolean;
|
23
|
+
swatches: {
|
24
|
+
dynamic: swatch[];
|
25
|
+
schemas: swatch[][];
|
26
|
+
};
|
27
|
+
};
|
28
|
+
actions: import("@omnia/fx/stores").StoreReturnDefineAction<{
|
29
|
+
toggleColorPicker: () => void;
|
30
|
+
selectColor: (value: ColorValue) => void;
|
31
|
+
selectCustomColor: (color: string) => void;
|
32
|
+
deleteColor: () => void;
|
33
|
+
setOpacity: (opacity: number) => void;
|
34
|
+
initState: (model: ColorValue, themeContextType: ThemeContextType, defaultColorSchemaType: ColorSchemaType, switchableColorSchema: boolean) => void;
|
35
|
+
}>;
|
36
|
+
rules: {
|
37
|
+
selection: {
|
38
|
+
isCustomColor: () => boolean;
|
39
|
+
isCurrentValue: (value: ColorValue) => boolean;
|
40
|
+
};
|
41
|
+
swatches: {
|
42
|
+
isDynamicColorSchema: (swatchSchema: swatch[]) => boolean;
|
43
|
+
isIncludedInRender: (index: number) => boolean;
|
44
|
+
};
|
45
|
+
};
|
46
|
+
} & {
|
47
|
+
dispose?: () => void;
|
48
|
+
};
|
package/internal-do-not-import-from-here/ux/aurora/components/fillpicker/store/FillPickerStore.d.ts
ADDED
@@ -0,0 +1,33 @@
|
|
1
|
+
import { ColorSchemaType, ColorValue, FillDefinition, FillDefinitionValue, FilterPickerFilter } from "@omnia/fx-models";
|
2
|
+
export declare enum ColorMode {
|
3
|
+
colorOnly = "color",
|
4
|
+
linearGradient = "linear",
|
5
|
+
radialGradient = "radial"
|
6
|
+
}
|
7
|
+
export declare const useFillPickerStore: () => {
|
8
|
+
state: {
|
9
|
+
internalModel: FillDefinition;
|
10
|
+
colors: any[];
|
11
|
+
selectedGradient: any[];
|
12
|
+
colorMode: ColorMode;
|
13
|
+
showSettings: boolean;
|
14
|
+
fillOpacity: any;
|
15
|
+
linearGradient: number;
|
16
|
+
radialGradient: number;
|
17
|
+
};
|
18
|
+
actions: import("@omnia/fx/stores").StoreReturnDefineAction<{
|
19
|
+
changeColor: (index: number, color: ColorValue) => void;
|
20
|
+
addColor: (colorType: string, defaultColorSchemaType: ColorSchemaType, dynamicColor: boolean) => void;
|
21
|
+
removeColor: (index: number) => void;
|
22
|
+
changeGradientMode: (newVal: any) => void;
|
23
|
+
initState: (fill: FillDefinitionValue) => void;
|
24
|
+
}>;
|
25
|
+
rules: {
|
26
|
+
hasFillOneColor: () => boolean;
|
27
|
+
};
|
28
|
+
dataTypes: {
|
29
|
+
gradients: FilterPickerFilter[];
|
30
|
+
};
|
31
|
+
} & {
|
32
|
+
dispose?: () => void;
|
33
|
+
};
|
@@ -29,6 +29,15 @@ declare const _default: {
|
|
29
29
|
disabled: {
|
30
30
|
type: import("vue").PropType<boolean>;
|
31
31
|
};
|
32
|
+
style: {
|
33
|
+
type: import("vue").PropType<{
|
34
|
+
[key: string]: string;
|
35
|
+
}>;
|
36
|
+
};
|
37
|
+
class: {
|
38
|
+
type: import("vue").PropType<String | String[]>;
|
39
|
+
required: boolean;
|
40
|
+
};
|
32
41
|
}>> & {
|
33
42
|
onDoc$?: (description?: string) => any;
|
34
43
|
onFileChanged?: (allFiles: FileUploaderItemHandler[]) => any;
|
@@ -71,6 +80,15 @@ declare const _default: {
|
|
71
80
|
disabled: {
|
72
81
|
type: import("vue").PropType<boolean>;
|
73
82
|
};
|
83
|
+
style: {
|
84
|
+
type: import("vue").PropType<{
|
85
|
+
[key: string]: string;
|
86
|
+
}>;
|
87
|
+
};
|
88
|
+
class: {
|
89
|
+
type: import("vue").PropType<String | String[]>;
|
90
|
+
required: boolean;
|
91
|
+
};
|
74
92
|
}>> & {
|
75
93
|
onDoc$?: (description?: string) => any;
|
76
94
|
onFileChanged?: (allFiles: FileUploaderItemHandler[]) => any;
|
@@ -105,6 +123,15 @@ declare const _default: {
|
|
105
123
|
disabled: {
|
106
124
|
type: import("vue").PropType<boolean>;
|
107
125
|
};
|
126
|
+
style: {
|
127
|
+
type: import("vue").PropType<{
|
128
|
+
[key: string]: string;
|
129
|
+
}>;
|
130
|
+
};
|
131
|
+
class: {
|
132
|
+
type: import("vue").PropType<String | String[]>;
|
133
|
+
required: boolean;
|
134
|
+
};
|
108
135
|
}>> & {
|
109
136
|
onDoc$?: (description?: string) => any;
|
110
137
|
onFileChanged?: (allFiles: FileUploaderItemHandler[]) => any;
|
@@ -115,6 +142,10 @@ declare const _default: {
|
|
115
142
|
};
|
116
143
|
}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
|
117
144
|
propsDefinition: Omit<Readonly<{} & {
|
145
|
+
style?: {
|
146
|
+
[key: string]: string;
|
147
|
+
};
|
148
|
+
class?: String | String[];
|
118
149
|
multiple?: boolean;
|
119
150
|
disabled?: boolean;
|
120
151
|
"v-slots"?: {
|