@enos5/enos-vue-default 1.8.0 → 1.8.3
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/README.md +4 -0
- package/dist/components/ColorPicker.vue.d.ts +18 -0
- package/dist/components/ConfirmationModal.vue.d.ts +1 -1
- package/dist/components/DateInput.vue.d.ts +9 -0
- package/dist/components/DateRangeInput.vue.d.ts +1 -1
- package/dist/components/DialogModal.vue.d.ts +1 -1
- package/dist/components/InputGroup.vue.d.ts +19 -1
- package/dist/components/Modal.vue.d.ts +1 -1
- package/dist/index.js +21 -21
- package/dist/index.node.js +21 -21
- package/dist/{plugin-ODQo1Iv8.js → plugin-Ccj_nvDC.js} +878 -246
- package/dist/plugin-Ccj_nvDC.js.map +1 -0
- package/dist/styles.css +195 -45
- package/package.json +1 -1
- package/dist/plugin-ODQo1Iv8.js.map +0 -1
package/README.md
CHANGED
|
@@ -54,6 +54,10 @@ Or import individual components:
|
|
|
54
54
|
import { Button, ColorPicker, TextInput } from '@enos5/enos-vue-default'
|
|
55
55
|
```
|
|
56
56
|
|
|
57
|
+
`ColorPicker` resolves its built-in UI labels through `vue-i18n` using the English copy as keys. If your app wants localized picker chrome, define translations for keys such as `Color`, `Selected color`, `Pick color from screen`, `Hue`, `Opacity`, `Hex value`, `Saturation and brightness for {color}`, and `Rainbow color area for {color}`.
|
|
58
|
+
|
|
59
|
+
`DateInput` and `DateRangeInput` default to English locale behavior. Pass `locale` to override that, and for native browser date fields remember the final picker UI is still browser-controlled, with `lang` used as the locale hint.
|
|
60
|
+
|
|
57
61
|
Styles are loaded automatically when you import the package entrypoint, so consumers do not have to remember a separate CSS import.
|
|
58
62
|
|
|
59
63
|
If a consuming app wants earlier stylesheet loading during `npm run dev`, it can opt into the stable stylesheet entry explicitly:
|
|
@@ -13,6 +13,14 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
13
13
|
type: StringConstructor;
|
|
14
14
|
default: string;
|
|
15
15
|
};
|
|
16
|
+
allowAlpha: {
|
|
17
|
+
type: BooleanConstructor;
|
|
18
|
+
default: boolean;
|
|
19
|
+
};
|
|
20
|
+
variant: {
|
|
21
|
+
type: StringConstructor;
|
|
22
|
+
default: string;
|
|
23
|
+
};
|
|
16
24
|
}>, {
|
|
17
25
|
focus: () => any;
|
|
18
26
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
@@ -31,11 +39,21 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
31
39
|
type: StringConstructor;
|
|
32
40
|
default: string;
|
|
33
41
|
};
|
|
42
|
+
allowAlpha: {
|
|
43
|
+
type: BooleanConstructor;
|
|
44
|
+
default: boolean;
|
|
45
|
+
};
|
|
46
|
+
variant: {
|
|
47
|
+
type: StringConstructor;
|
|
48
|
+
default: string;
|
|
49
|
+
};
|
|
34
50
|
}>> & Readonly<{
|
|
35
51
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
36
52
|
onBlur?: ((...args: any[]) => any) | undefined;
|
|
37
53
|
}>, {
|
|
38
54
|
disabled: boolean;
|
|
55
|
+
variant: string;
|
|
39
56
|
modelValue: string | null;
|
|
40
57
|
disabledClass: string;
|
|
58
|
+
allowAlpha: boolean;
|
|
41
59
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -46,8 +46,8 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
46
46
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
47
47
|
}>, {
|
|
48
48
|
position: string;
|
|
49
|
-
show: boolean;
|
|
50
49
|
maxWidth: string;
|
|
50
|
+
show: boolean;
|
|
51
51
|
closeable: boolean;
|
|
52
52
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
53
53
|
type __VLS_Slots = {
|
|
@@ -5,6 +5,10 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
5
5
|
type: (StringConstructor | NumberConstructor | null)[];
|
|
6
6
|
default: string;
|
|
7
7
|
};
|
|
8
|
+
locale: {
|
|
9
|
+
type: StringConstructor;
|
|
10
|
+
default: string;
|
|
11
|
+
};
|
|
8
12
|
withTimestamp: {
|
|
9
13
|
type: BooleanConstructor;
|
|
10
14
|
default: boolean;
|
|
@@ -26,6 +30,10 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
26
30
|
type: (StringConstructor | NumberConstructor | null)[];
|
|
27
31
|
default: string;
|
|
28
32
|
};
|
|
33
|
+
locale: {
|
|
34
|
+
type: StringConstructor;
|
|
35
|
+
default: string;
|
|
36
|
+
};
|
|
29
37
|
withTimestamp: {
|
|
30
38
|
type: BooleanConstructor;
|
|
31
39
|
default: boolean;
|
|
@@ -44,5 +52,6 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
44
52
|
disabled: boolean;
|
|
45
53
|
modelValue: string | number | null;
|
|
46
54
|
disabledClass: string;
|
|
55
|
+
locale: string;
|
|
47
56
|
withTimestamp: boolean;
|
|
48
57
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -98,9 +98,9 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
98
98
|
modelValue: Record<string, any>;
|
|
99
99
|
disabledClass: string;
|
|
100
100
|
placeholder: string;
|
|
101
|
+
locale: string;
|
|
101
102
|
max: string;
|
|
102
103
|
min: string;
|
|
103
104
|
minDays: number;
|
|
104
105
|
maxDays: number;
|
|
105
|
-
locale: string;
|
|
106
106
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -35,8 +35,8 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
35
35
|
}>> & Readonly<{
|
|
36
36
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
37
37
|
}>, {
|
|
38
|
-
show: boolean;
|
|
39
38
|
maxWidth: string;
|
|
39
|
+
show: boolean;
|
|
40
40
|
closeable: boolean;
|
|
41
41
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
42
42
|
type __VLS_Slots = {
|
|
@@ -177,6 +177,14 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
177
177
|
type: StringConstructor;
|
|
178
178
|
default: string;
|
|
179
179
|
};
|
|
180
|
+
allowAlpha: {
|
|
181
|
+
type: BooleanConstructor;
|
|
182
|
+
default: boolean;
|
|
183
|
+
};
|
|
184
|
+
variant: {
|
|
185
|
+
type: StringConstructor;
|
|
186
|
+
default: string;
|
|
187
|
+
};
|
|
180
188
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
181
189
|
"update:modelValue": (...args: any[]) => void;
|
|
182
190
|
blur: (...args: any[]) => void;
|
|
@@ -353,6 +361,14 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
353
361
|
type: StringConstructor;
|
|
354
362
|
default: string;
|
|
355
363
|
};
|
|
364
|
+
allowAlpha: {
|
|
365
|
+
type: BooleanConstructor;
|
|
366
|
+
default: boolean;
|
|
367
|
+
};
|
|
368
|
+
variant: {
|
|
369
|
+
type: StringConstructor;
|
|
370
|
+
default: string;
|
|
371
|
+
};
|
|
356
372
|
}>> & Readonly<{
|
|
357
373
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
358
374
|
onBlur?: ((...args: any[]) => any) | undefined;
|
|
@@ -360,6 +376,7 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
360
376
|
label: string;
|
|
361
377
|
name: string;
|
|
362
378
|
disabled: boolean;
|
|
379
|
+
variant: string;
|
|
363
380
|
modelValue: string | number | boolean | unknown[] | null;
|
|
364
381
|
disabledClass: string;
|
|
365
382
|
modelModifiers: Record<string, any>;
|
|
@@ -378,12 +395,12 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
378
395
|
optionClass: string | unknown[] | Record<string, any>;
|
|
379
396
|
deletedOptionClass: string | unknown[] | Record<string, any>;
|
|
380
397
|
placeholderClass: string | unknown[] | Record<string, any>;
|
|
398
|
+
locale: string;
|
|
381
399
|
withTimestamp: boolean;
|
|
382
400
|
max: string;
|
|
383
401
|
min: string;
|
|
384
402
|
minDays: number;
|
|
385
403
|
maxDays: number;
|
|
386
|
-
locale: string;
|
|
387
404
|
currentImageUrl: string;
|
|
388
405
|
accept: string;
|
|
389
406
|
currentLabel: string;
|
|
@@ -399,6 +416,7 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
399
416
|
outputFormat: string;
|
|
400
417
|
startLabel: string;
|
|
401
418
|
endLabel: string;
|
|
419
|
+
allowAlpha: boolean;
|
|
402
420
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
403
421
|
type __VLS_Slots = {
|
|
404
422
|
'unsupported-type'?: ((props: {
|
|
@@ -46,8 +46,8 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
46
46
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
47
47
|
}>, {
|
|
48
48
|
position: string;
|
|
49
|
-
show: boolean;
|
|
50
49
|
maxWidth: string;
|
|
50
|
+
show: boolean;
|
|
51
51
|
closeable: boolean;
|
|
52
52
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
53
53
|
type __VLS_Slots = {
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import './styles.css';
|
|
2
|
-
import { _, a, b, c, d, e, f, g, h, i, j, k,
|
|
2
|
+
import { _, a, b, c, d, e, f, g, h, i, C, j, k, D, l, m, n, o, p, q, r, s, t, u, v, w, x, y, z, A, B, S, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, T, U, V, W, X, Y, Z, $, a0, a1, a2, a3 } from "./plugin-Ccj_nvDC.js";
|
|
3
3
|
export {
|
|
4
4
|
_ as ActionCard,
|
|
5
5
|
a as ActionMessage,
|
|
@@ -11,27 +11,27 @@ export {
|
|
|
11
11
|
g as Checkbox,
|
|
12
12
|
h as CheckboxInput,
|
|
13
13
|
i as CheckboxMultipleInput,
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
14
|
+
C as ColorPicker,
|
|
15
|
+
j as ConfirmationModal,
|
|
16
|
+
k as CustomSelect,
|
|
17
17
|
D as DateInput,
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
18
|
+
l as DateRangeInput,
|
|
19
|
+
m as DialogModal,
|
|
20
|
+
n as Divider,
|
|
21
|
+
o as Dropdown,
|
|
22
|
+
p as DropdownLink,
|
|
23
|
+
q as EnosVueDefault,
|
|
24
|
+
r as FormSection,
|
|
25
|
+
s as ImageInput,
|
|
26
|
+
t as InputError,
|
|
27
|
+
u as InputGroup,
|
|
28
|
+
v as InputLabel,
|
|
29
|
+
w as LinkButton,
|
|
30
|
+
x as Modal,
|
|
31
|
+
y as NotationInput,
|
|
32
|
+
z as RadioInput,
|
|
33
|
+
A as RadioMultipleInput,
|
|
34
|
+
B as SectionBorder,
|
|
35
35
|
S as SectionTitle,
|
|
36
36
|
E as SelectInput,
|
|
37
37
|
F as Sidebar,
|
package/dist/index.node.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _, a, b, c, d, e, f, g, h, i, j, k,
|
|
1
|
+
import { _, a, b, c, d, e, f, g, h, i, C, j, k, D, l, m, n, o, p, q, r, s, t, u, v, w, x, y, z, A, B, S, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, T, U, V, W, X, Y, Z, $, a0, a1, a2, a3 } from "./plugin-Ccj_nvDC.js";
|
|
2
2
|
export {
|
|
3
3
|
_ as ActionCard,
|
|
4
4
|
a as ActionMessage,
|
|
@@ -10,27 +10,27 @@ export {
|
|
|
10
10
|
g as Checkbox,
|
|
11
11
|
h as CheckboxInput,
|
|
12
12
|
i as CheckboxMultipleInput,
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
C as ColorPicker,
|
|
14
|
+
j as ConfirmationModal,
|
|
15
|
+
k as CustomSelect,
|
|
16
16
|
D as DateInput,
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
17
|
+
l as DateRangeInput,
|
|
18
|
+
m as DialogModal,
|
|
19
|
+
n as Divider,
|
|
20
|
+
o as Dropdown,
|
|
21
|
+
p as DropdownLink,
|
|
22
|
+
q as EnosVueDefault,
|
|
23
|
+
r as FormSection,
|
|
24
|
+
s as ImageInput,
|
|
25
|
+
t as InputError,
|
|
26
|
+
u as InputGroup,
|
|
27
|
+
v as InputLabel,
|
|
28
|
+
w as LinkButton,
|
|
29
|
+
x as Modal,
|
|
30
|
+
y as NotationInput,
|
|
31
|
+
z as RadioInput,
|
|
32
|
+
A as RadioMultipleInput,
|
|
33
|
+
B as SectionBorder,
|
|
34
34
|
S as SectionTitle,
|
|
35
35
|
E as SelectInput,
|
|
36
36
|
F as Sidebar,
|