@ansh-ui/vue 0.3.0 → 0.3.1
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/dist/{chunk-HIVA75XC.js → chunk-D3HH726R.js} +151 -143
- package/dist/chunk-D3HH726R.js.map +1 -0
- package/dist/{chunk-FK536ZUI.cjs → chunk-EDAF7RAN.cjs} +150 -142
- package/dist/chunk-EDAF7RAN.cjs.map +1 -0
- package/dist/{chunk-LRTNIUAG.js → chunk-G3EIU6VM.js} +13 -7
- package/dist/chunk-G3EIU6VM.js.map +1 -0
- package/dist/{chunk-J2LA4GRP.cjs → chunk-IO6WJEJI.cjs} +122 -120
- package/dist/chunk-IO6WJEJI.cjs.map +1 -0
- package/dist/{chunk-IK3E4MPB.cjs → chunk-JJBYF7AH.cjs} +13 -7
- package/dist/chunk-JJBYF7AH.cjs.map +1 -0
- package/dist/{chunk-Z7XOFKM4.cjs → chunk-KKCZ5RUE.cjs} +4 -2
- package/dist/chunk-KKCZ5RUE.cjs.map +1 -0
- package/dist/{chunk-6ABPGOJP.js → chunk-LFGAOD32.js} +4 -2
- package/dist/chunk-LFGAOD32.js.map +1 -0
- package/dist/{chunk-FVKLCGA4.js → chunk-NJMTWLT2.js} +123 -121
- package/dist/chunk-NJMTWLT2.js.map +1 -0
- package/dist/data.cjs +16 -16
- package/dist/data.d.cts +45 -44
- package/dist/data.d.ts +45 -44
- package/dist/data.js +1 -1
- package/dist/form.cjs +36 -36
- package/dist/form.d.cts +28 -21
- package/dist/form.d.ts +28 -21
- package/dist/form.js +1 -1
- package/dist/index.cjs +134 -134
- package/dist/index.js +8 -8
- package/dist/layout.d.cts +1 -1
- package/dist/layout.d.ts +1 -1
- package/dist/motion.cjs +11 -11
- package/dist/motion.d.cts +27 -24
- package/dist/motion.d.ts +27 -24
- package/dist/motion.js +1 -1
- package/dist/navigation.d.cts +1 -1
- package/dist/navigation.d.ts +1 -1
- package/dist/overlay.cjs +13 -13
- package/dist/overlay.d.cts +27 -25
- package/dist/overlay.d.ts +27 -25
- package/dist/overlay.js +1 -1
- package/package.json +3 -3
- package/dist/chunk-6ABPGOJP.js.map +0 -1
- package/dist/chunk-FK536ZUI.cjs.map +0 -1
- package/dist/chunk-FVKLCGA4.js.map +0 -1
- package/dist/chunk-HIVA75XC.js.map +0 -1
- package/dist/chunk-IK3E4MPB.cjs.map +0 -1
- package/dist/chunk-J2LA4GRP.cjs.map +0 -1
- package/dist/chunk-LRTNIUAG.js.map +0 -1
- package/dist/chunk-Z7XOFKM4.cjs.map +0 -1
package/dist/form.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkJJBYF7AH_cjs = require('./chunk-JJBYF7AH.cjs');
|
|
4
4
|
require('./chunk-XLLSS464.cjs');
|
|
5
5
|
require('./chunk-774WBLDR.cjs');
|
|
6
6
|
require('./chunk-6732H4BQ.cjs');
|
|
@@ -9,143 +9,143 @@ require('./chunk-6732H4BQ.cjs');
|
|
|
9
9
|
|
|
10
10
|
Object.defineProperty(exports, "Calendar", {
|
|
11
11
|
enumerable: true,
|
|
12
|
-
get: function () { return
|
|
12
|
+
get: function () { return chunkJJBYF7AH_cjs.Calendar; }
|
|
13
13
|
});
|
|
14
14
|
Object.defineProperty(exports, "Checkbox", {
|
|
15
15
|
enumerable: true,
|
|
16
|
-
get: function () { return
|
|
16
|
+
get: function () { return chunkJJBYF7AH_cjs.Checkbox; }
|
|
17
17
|
});
|
|
18
18
|
Object.defineProperty(exports, "ChoiceCard", {
|
|
19
19
|
enumerable: true,
|
|
20
|
-
get: function () { return
|
|
20
|
+
get: function () { return chunkJJBYF7AH_cjs.ChoiceCard; }
|
|
21
21
|
});
|
|
22
22
|
Object.defineProperty(exports, "ColorPicker", {
|
|
23
23
|
enumerable: true,
|
|
24
|
-
get: function () { return
|
|
24
|
+
get: function () { return chunkJJBYF7AH_cjs.ColorPicker; }
|
|
25
25
|
});
|
|
26
26
|
Object.defineProperty(exports, "Combobox", {
|
|
27
27
|
enumerable: true,
|
|
28
|
-
get: function () { return
|
|
28
|
+
get: function () { return chunkJJBYF7AH_cjs.Combobox; }
|
|
29
29
|
});
|
|
30
30
|
Object.defineProperty(exports, "DatePicker", {
|
|
31
31
|
enumerable: true,
|
|
32
|
-
get: function () { return
|
|
32
|
+
get: function () { return chunkJJBYF7AH_cjs.DatePicker; }
|
|
33
33
|
});
|
|
34
34
|
Object.defineProperty(exports, "DateRangePicker", {
|
|
35
35
|
enumerable: true,
|
|
36
|
-
get: function () { return
|
|
36
|
+
get: function () { return chunkJJBYF7AH_cjs.DateRangePicker; }
|
|
37
37
|
});
|
|
38
38
|
Object.defineProperty(exports, "Dropzone", {
|
|
39
39
|
enumerable: true,
|
|
40
|
-
get: function () { return
|
|
40
|
+
get: function () { return chunkJJBYF7AH_cjs.Dropzone; }
|
|
41
41
|
});
|
|
42
42
|
Object.defineProperty(exports, "Field", {
|
|
43
43
|
enumerable: true,
|
|
44
|
-
get: function () { return
|
|
44
|
+
get: function () { return chunkJJBYF7AH_cjs.Field; }
|
|
45
45
|
});
|
|
46
46
|
Object.defineProperty(exports, "Fieldset", {
|
|
47
47
|
enumerable: true,
|
|
48
|
-
get: function () { return
|
|
48
|
+
get: function () { return chunkJJBYF7AH_cjs.Fieldset; }
|
|
49
49
|
});
|
|
50
50
|
Object.defineProperty(exports, "Input", {
|
|
51
51
|
enumerable: true,
|
|
52
|
-
get: function () { return
|
|
52
|
+
get: function () { return chunkJJBYF7AH_cjs.Input; }
|
|
53
53
|
});
|
|
54
54
|
Object.defineProperty(exports, "NumberInput", {
|
|
55
55
|
enumerable: true,
|
|
56
|
-
get: function () { return
|
|
56
|
+
get: function () { return chunkJJBYF7AH_cjs.NumberInput; }
|
|
57
57
|
});
|
|
58
58
|
Object.defineProperty(exports, "OptionList", {
|
|
59
59
|
enumerable: true,
|
|
60
|
-
get: function () { return
|
|
60
|
+
get: function () { return chunkJJBYF7AH_cjs.OptionList; }
|
|
61
61
|
});
|
|
62
62
|
Object.defineProperty(exports, "PinInput", {
|
|
63
63
|
enumerable: true,
|
|
64
|
-
get: function () { return
|
|
64
|
+
get: function () { return chunkJJBYF7AH_cjs.PinInput; }
|
|
65
65
|
});
|
|
66
66
|
Object.defineProperty(exports, "Radio", {
|
|
67
67
|
enumerable: true,
|
|
68
|
-
get: function () { return
|
|
68
|
+
get: function () { return chunkJJBYF7AH_cjs.Radio; }
|
|
69
69
|
});
|
|
70
70
|
Object.defineProperty(exports, "RadioGroup", {
|
|
71
71
|
enumerable: true,
|
|
72
|
-
get: function () { return
|
|
72
|
+
get: function () { return chunkJJBYF7AH_cjs.RadioGroup; }
|
|
73
73
|
});
|
|
74
74
|
Object.defineProperty(exports, "RangeSlider", {
|
|
75
75
|
enumerable: true,
|
|
76
|
-
get: function () { return
|
|
76
|
+
get: function () { return chunkJJBYF7AH_cjs.RangeSlider; }
|
|
77
77
|
});
|
|
78
78
|
Object.defineProperty(exports, "Rating", {
|
|
79
79
|
enumerable: true,
|
|
80
|
-
get: function () { return
|
|
80
|
+
get: function () { return chunkJJBYF7AH_cjs.Rating; }
|
|
81
81
|
});
|
|
82
82
|
Object.defineProperty(exports, "Select", {
|
|
83
83
|
enumerable: true,
|
|
84
|
-
get: function () { return
|
|
84
|
+
get: function () { return chunkJJBYF7AH_cjs.Select; }
|
|
85
85
|
});
|
|
86
86
|
Object.defineProperty(exports, "Slider", {
|
|
87
87
|
enumerable: true,
|
|
88
|
-
get: function () { return
|
|
88
|
+
get: function () { return chunkJJBYF7AH_cjs.Slider; }
|
|
89
89
|
});
|
|
90
90
|
Object.defineProperty(exports, "Switch", {
|
|
91
91
|
enumerable: true,
|
|
92
|
-
get: function () { return
|
|
92
|
+
get: function () { return chunkJJBYF7AH_cjs.Switch; }
|
|
93
93
|
});
|
|
94
94
|
Object.defineProperty(exports, "TagsInput", {
|
|
95
95
|
enumerable: true,
|
|
96
|
-
get: function () { return
|
|
96
|
+
get: function () { return chunkJJBYF7AH_cjs.TagsInput; }
|
|
97
97
|
});
|
|
98
98
|
Object.defineProperty(exports, "Textarea", {
|
|
99
99
|
enumerable: true,
|
|
100
|
-
get: function () { return
|
|
100
|
+
get: function () { return chunkJJBYF7AH_cjs.Textarea; }
|
|
101
101
|
});
|
|
102
102
|
Object.defineProperty(exports, "VisuallyHidden", {
|
|
103
103
|
enumerable: true,
|
|
104
|
-
get: function () { return
|
|
104
|
+
get: function () { return chunkJJBYF7AH_cjs.VisuallyHidden; }
|
|
105
105
|
});
|
|
106
106
|
Object.defineProperty(exports, "addDays", {
|
|
107
107
|
enumerable: true,
|
|
108
|
-
get: function () { return
|
|
108
|
+
get: function () { return chunkJJBYF7AH_cjs.addDays; }
|
|
109
109
|
});
|
|
110
110
|
Object.defineProperty(exports, "addMonths", {
|
|
111
111
|
enumerable: true,
|
|
112
|
-
get: function () { return
|
|
112
|
+
get: function () { return chunkJJBYF7AH_cjs.addMonths; }
|
|
113
113
|
});
|
|
114
114
|
Object.defineProperty(exports, "filterOptions", {
|
|
115
115
|
enumerable: true,
|
|
116
|
-
get: function () { return
|
|
116
|
+
get: function () { return chunkJJBYF7AH_cjs.filterOptions; }
|
|
117
117
|
});
|
|
118
118
|
Object.defineProperty(exports, "firstEnabled", {
|
|
119
119
|
enumerable: true,
|
|
120
|
-
get: function () { return
|
|
120
|
+
get: function () { return chunkJJBYF7AH_cjs.firstEnabled; }
|
|
121
121
|
});
|
|
122
122
|
Object.defineProperty(exports, "isSameDay", {
|
|
123
123
|
enumerable: true,
|
|
124
|
-
get: function () { return
|
|
124
|
+
get: function () { return chunkJJBYF7AH_cjs.isSameDay; }
|
|
125
125
|
});
|
|
126
126
|
Object.defineProperty(exports, "scoreOption", {
|
|
127
127
|
enumerable: true,
|
|
128
|
-
get: function () { return
|
|
128
|
+
get: function () { return chunkJJBYF7AH_cjs.scoreOption; }
|
|
129
129
|
});
|
|
130
130
|
Object.defineProperty(exports, "startOfDay", {
|
|
131
131
|
enumerable: true,
|
|
132
|
-
get: function () { return
|
|
132
|
+
get: function () { return chunkJJBYF7AH_cjs.startOfDay; }
|
|
133
133
|
});
|
|
134
134
|
Object.defineProperty(exports, "stepActive", {
|
|
135
135
|
enumerable: true,
|
|
136
|
-
get: function () { return
|
|
136
|
+
get: function () { return chunkJJBYF7AH_cjs.stepActive; }
|
|
137
137
|
});
|
|
138
138
|
Object.defineProperty(exports, "useFieldContext", {
|
|
139
139
|
enumerable: true,
|
|
140
|
-
get: function () { return
|
|
140
|
+
get: function () { return chunkJJBYF7AH_cjs.useFieldContext; }
|
|
141
141
|
});
|
|
142
142
|
Object.defineProperty(exports, "useFieldControl", {
|
|
143
143
|
enumerable: true,
|
|
144
|
-
get: function () { return
|
|
144
|
+
get: function () { return chunkJJBYF7AH_cjs.useFieldControl; }
|
|
145
145
|
});
|
|
146
146
|
Object.defineProperty(exports, "useTypeahead", {
|
|
147
147
|
enumerable: true,
|
|
148
|
-
get: function () { return
|
|
148
|
+
get: function () { return chunkJJBYF7AH_cjs.useTypeahead; }
|
|
149
149
|
});
|
|
150
150
|
//# sourceMappingURL=form.cjs.map
|
|
151
151
|
//# sourceMappingURL=form.cjs.map
|
package/dist/form.d.cts
CHANGED
|
@@ -277,12 +277,13 @@ declare const Input: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
277
277
|
disabled: boolean;
|
|
278
278
|
modelValue: string;
|
|
279
279
|
defaultValue: string;
|
|
280
|
-
prefix: SlotContent;
|
|
281
|
-
suffix: SlotContent;
|
|
282
280
|
clearable: boolean;
|
|
283
281
|
readonly: boolean;
|
|
282
|
+
prefix: SlotContent;
|
|
283
|
+
suffix: SlotContent;
|
|
284
284
|
wrapperClassName: string;
|
|
285
285
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
286
|
+
|
|
286
287
|
/** A multi-line text input, optionally growing with its content. */
|
|
287
288
|
declare const Textarea: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
288
289
|
modelValue: {
|
|
@@ -354,6 +355,7 @@ declare const Textarea: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
354
355
|
maxRows: number;
|
|
355
356
|
showCount: boolean;
|
|
356
357
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
358
|
+
|
|
357
359
|
/**
|
|
358
360
|
* A numeric input with steppers — the Vue counterpart of `@ansh-ui/react`'s `NumberInput`.
|
|
359
361
|
*
|
|
@@ -460,8 +462,8 @@ declare const NumberInput: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
460
462
|
disabled: boolean;
|
|
461
463
|
modelValue: number;
|
|
462
464
|
defaultValue: number;
|
|
463
|
-
min: number;
|
|
464
465
|
max: number;
|
|
466
|
+
min: number;
|
|
465
467
|
step: number;
|
|
466
468
|
precision: number;
|
|
467
469
|
unit: SlotContent;
|
|
@@ -569,6 +571,7 @@ declare const Checkbox: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
569
571
|
defaultValue: boolean;
|
|
570
572
|
indeterminate: boolean;
|
|
571
573
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
574
|
+
|
|
572
575
|
/**
|
|
573
576
|
* An on/off toggle.
|
|
574
577
|
*
|
|
@@ -651,6 +654,7 @@ declare const Switch: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
651
654
|
defaultValue: boolean;
|
|
652
655
|
labelPosition: "start" | "end";
|
|
653
656
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
657
|
+
|
|
654
658
|
interface RadioGroupProps {
|
|
655
659
|
modelValue?: string;
|
|
656
660
|
defaultValue?: string;
|
|
@@ -779,6 +783,7 @@ declare const Radio: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
779
783
|
description: SlotContent;
|
|
780
784
|
disabled: boolean;
|
|
781
785
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
786
|
+
|
|
782
787
|
/**
|
|
783
788
|
* A radio rendered as a selectable card — plan pickers, onboarding branches.
|
|
784
789
|
*
|
|
@@ -1121,11 +1126,11 @@ declare const Select: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
1121
1126
|
label: string;
|
|
1122
1127
|
size: "sm" | "md" | "lg";
|
|
1123
1128
|
disabled: boolean;
|
|
1129
|
+
emptyMessage: SlotContent;
|
|
1124
1130
|
modelValue: string | null;
|
|
1125
1131
|
defaultValue: string | null;
|
|
1126
|
-
clearable: boolean;
|
|
1127
|
-
emptyMessage: SlotContent;
|
|
1128
1132
|
placeholder: string;
|
|
1133
|
+
clearable: boolean;
|
|
1129
1134
|
maxHeight: string;
|
|
1130
1135
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
1131
1136
|
|
|
@@ -1301,10 +1306,10 @@ declare const Combobox: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
1301
1306
|
label: string;
|
|
1302
1307
|
size: "sm" | "md" | "lg";
|
|
1303
1308
|
disabled: boolean;
|
|
1304
|
-
modelValue: readonly string[];
|
|
1305
|
-
defaultValue: readonly string[];
|
|
1306
1309
|
multiple: boolean;
|
|
1307
1310
|
emptyMessage: SlotContent;
|
|
1311
|
+
modelValue: readonly string[];
|
|
1312
|
+
defaultValue: readonly string[];
|
|
1308
1313
|
placeholder: string;
|
|
1309
1314
|
maxHeight: string;
|
|
1310
1315
|
onCreate: (label: string) => string;
|
|
@@ -1456,13 +1461,14 @@ declare const Slider: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
1456
1461
|
orientation: "horizontal" | "vertical";
|
|
1457
1462
|
modelValue: number;
|
|
1458
1463
|
defaultValue: number;
|
|
1459
|
-
min: number;
|
|
1460
1464
|
max: number;
|
|
1465
|
+
min: number;
|
|
1461
1466
|
step: number;
|
|
1462
|
-
marks: readonly SliderMark[];
|
|
1463
|
-
showValue: boolean | "always";
|
|
1464
1467
|
formatValue: (value: number) => string;
|
|
1468
|
+
showValue: boolean | "always";
|
|
1469
|
+
marks: readonly SliderMark[];
|
|
1465
1470
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
1471
|
+
|
|
1466
1472
|
/**
|
|
1467
1473
|
* A two-thumb range slider — the Vue counterpart of `@ansh-ui/react`'s `RangeSlider`. Price filters,
|
|
1468
1474
|
* date windows, numeric facets.
|
|
@@ -1578,12 +1584,12 @@ declare const RangeSlider: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
1578
1584
|
disabled: boolean;
|
|
1579
1585
|
modelValue: readonly [number, number];
|
|
1580
1586
|
defaultValue: readonly [number, number];
|
|
1581
|
-
min: number;
|
|
1582
1587
|
max: number;
|
|
1588
|
+
min: number;
|
|
1583
1589
|
step: number;
|
|
1584
|
-
marks: readonly SliderMark[];
|
|
1585
|
-
showValue: boolean | "always";
|
|
1586
1590
|
formatValue: (value: number) => string;
|
|
1591
|
+
showValue: boolean | "always";
|
|
1592
|
+
marks: readonly SliderMark[];
|
|
1587
1593
|
minDistance: number;
|
|
1588
1594
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
1589
1595
|
|
|
@@ -1813,9 +1819,9 @@ declare const TagsInput: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
1813
1819
|
disabled: boolean;
|
|
1814
1820
|
modelValue: readonly string[];
|
|
1815
1821
|
defaultValue: readonly string[];
|
|
1816
|
-
max: number;
|
|
1817
|
-
delimiters: readonly string[];
|
|
1818
1822
|
placeholder: string;
|
|
1823
|
+
delimiters: readonly string[];
|
|
1824
|
+
max: number;
|
|
1819
1825
|
validate: (value: string) => string | null;
|
|
1820
1826
|
dedupe: boolean;
|
|
1821
1827
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
@@ -1934,10 +1940,10 @@ declare const Rating: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
1934
1940
|
disabled: boolean;
|
|
1935
1941
|
modelValue: number;
|
|
1936
1942
|
defaultValue: number;
|
|
1937
|
-
readonly: boolean;
|
|
1938
|
-
max: number;
|
|
1939
1943
|
icon: SlotContent;
|
|
1944
|
+
max: number;
|
|
1940
1945
|
allowHalf: boolean;
|
|
1946
|
+
readonly: boolean;
|
|
1941
1947
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
1942
1948
|
|
|
1943
1949
|
interface DropzoneFile {
|
|
@@ -2303,8 +2309,8 @@ declare const Calendar: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
2303
2309
|
mode: "range" | "single";
|
|
2304
2310
|
modelValue: Date | DateRange | null;
|
|
2305
2311
|
defaultValue: Date | DateRange | null;
|
|
2306
|
-
min: Date;
|
|
2307
2312
|
max: Date;
|
|
2313
|
+
min: Date;
|
|
2308
2314
|
isDateDisabled: (date: Date) => boolean;
|
|
2309
2315
|
weekStartsOn: 0 | 2 | 3 | 1 | 4 | 5 | 6;
|
|
2310
2316
|
locale: string;
|
|
@@ -2486,17 +2492,18 @@ declare const DatePicker: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
2486
2492
|
disabled: boolean;
|
|
2487
2493
|
modelValue: Date | null;
|
|
2488
2494
|
defaultValue: Date | null;
|
|
2495
|
+
placeholder: string;
|
|
2489
2496
|
clearable: boolean;
|
|
2490
|
-
min: Date;
|
|
2491
2497
|
max: Date;
|
|
2492
|
-
placeholder: string;
|
|
2493
2498
|
format: (date: Date) => string;
|
|
2499
|
+
min: Date;
|
|
2494
2500
|
isDateDisabled: (date: Date) => boolean;
|
|
2495
2501
|
weekStartsOn: 0 | 2 | 3 | 1 | 4 | 5 | 6;
|
|
2496
2502
|
locale: string;
|
|
2497
2503
|
months: number;
|
|
2498
2504
|
showWeekNumbers: boolean;
|
|
2499
2505
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
2506
|
+
|
|
2500
2507
|
/** Documents the shape of `DateRangePicker`'s props. Not consumed by `defineComponent` directly. */
|
|
2501
2508
|
interface DateRangePickerProps {
|
|
2502
2509
|
modelValue?: DateRange;
|
|
@@ -2627,8 +2634,8 @@ declare const DateRangePicker: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
2627
2634
|
disabled: boolean;
|
|
2628
2635
|
modelValue: DateRange;
|
|
2629
2636
|
defaultValue: DateRange;
|
|
2630
|
-
min: Date;
|
|
2631
2637
|
max: Date;
|
|
2638
|
+
min: Date;
|
|
2632
2639
|
isDateDisabled: (date: Date) => boolean;
|
|
2633
2640
|
weekStartsOn: 0 | 2 | 3 | 1 | 4 | 5 | 6;
|
|
2634
2641
|
locale: string;
|
package/dist/form.d.ts
CHANGED
|
@@ -277,12 +277,13 @@ declare const Input: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
277
277
|
disabled: boolean;
|
|
278
278
|
modelValue: string;
|
|
279
279
|
defaultValue: string;
|
|
280
|
-
prefix: SlotContent;
|
|
281
|
-
suffix: SlotContent;
|
|
282
280
|
clearable: boolean;
|
|
283
281
|
readonly: boolean;
|
|
282
|
+
prefix: SlotContent;
|
|
283
|
+
suffix: SlotContent;
|
|
284
284
|
wrapperClassName: string;
|
|
285
285
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
286
|
+
|
|
286
287
|
/** A multi-line text input, optionally growing with its content. */
|
|
287
288
|
declare const Textarea: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
288
289
|
modelValue: {
|
|
@@ -354,6 +355,7 @@ declare const Textarea: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
354
355
|
maxRows: number;
|
|
355
356
|
showCount: boolean;
|
|
356
357
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
358
|
+
|
|
357
359
|
/**
|
|
358
360
|
* A numeric input with steppers — the Vue counterpart of `@ansh-ui/react`'s `NumberInput`.
|
|
359
361
|
*
|
|
@@ -460,8 +462,8 @@ declare const NumberInput: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
460
462
|
disabled: boolean;
|
|
461
463
|
modelValue: number;
|
|
462
464
|
defaultValue: number;
|
|
463
|
-
min: number;
|
|
464
465
|
max: number;
|
|
466
|
+
min: number;
|
|
465
467
|
step: number;
|
|
466
468
|
precision: number;
|
|
467
469
|
unit: SlotContent;
|
|
@@ -569,6 +571,7 @@ declare const Checkbox: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
569
571
|
defaultValue: boolean;
|
|
570
572
|
indeterminate: boolean;
|
|
571
573
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
574
|
+
|
|
572
575
|
/**
|
|
573
576
|
* An on/off toggle.
|
|
574
577
|
*
|
|
@@ -651,6 +654,7 @@ declare const Switch: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
651
654
|
defaultValue: boolean;
|
|
652
655
|
labelPosition: "start" | "end";
|
|
653
656
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
657
|
+
|
|
654
658
|
interface RadioGroupProps {
|
|
655
659
|
modelValue?: string;
|
|
656
660
|
defaultValue?: string;
|
|
@@ -779,6 +783,7 @@ declare const Radio: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
779
783
|
description: SlotContent;
|
|
780
784
|
disabled: boolean;
|
|
781
785
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
786
|
+
|
|
782
787
|
/**
|
|
783
788
|
* A radio rendered as a selectable card — plan pickers, onboarding branches.
|
|
784
789
|
*
|
|
@@ -1121,11 +1126,11 @@ declare const Select: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
1121
1126
|
label: string;
|
|
1122
1127
|
size: "sm" | "md" | "lg";
|
|
1123
1128
|
disabled: boolean;
|
|
1129
|
+
emptyMessage: SlotContent;
|
|
1124
1130
|
modelValue: string | null;
|
|
1125
1131
|
defaultValue: string | null;
|
|
1126
|
-
clearable: boolean;
|
|
1127
|
-
emptyMessage: SlotContent;
|
|
1128
1132
|
placeholder: string;
|
|
1133
|
+
clearable: boolean;
|
|
1129
1134
|
maxHeight: string;
|
|
1130
1135
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
1131
1136
|
|
|
@@ -1301,10 +1306,10 @@ declare const Combobox: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
1301
1306
|
label: string;
|
|
1302
1307
|
size: "sm" | "md" | "lg";
|
|
1303
1308
|
disabled: boolean;
|
|
1304
|
-
modelValue: readonly string[];
|
|
1305
|
-
defaultValue: readonly string[];
|
|
1306
1309
|
multiple: boolean;
|
|
1307
1310
|
emptyMessage: SlotContent;
|
|
1311
|
+
modelValue: readonly string[];
|
|
1312
|
+
defaultValue: readonly string[];
|
|
1308
1313
|
placeholder: string;
|
|
1309
1314
|
maxHeight: string;
|
|
1310
1315
|
onCreate: (label: string) => string;
|
|
@@ -1456,13 +1461,14 @@ declare const Slider: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
1456
1461
|
orientation: "horizontal" | "vertical";
|
|
1457
1462
|
modelValue: number;
|
|
1458
1463
|
defaultValue: number;
|
|
1459
|
-
min: number;
|
|
1460
1464
|
max: number;
|
|
1465
|
+
min: number;
|
|
1461
1466
|
step: number;
|
|
1462
|
-
marks: readonly SliderMark[];
|
|
1463
|
-
showValue: boolean | "always";
|
|
1464
1467
|
formatValue: (value: number) => string;
|
|
1468
|
+
showValue: boolean | "always";
|
|
1469
|
+
marks: readonly SliderMark[];
|
|
1465
1470
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
1471
|
+
|
|
1466
1472
|
/**
|
|
1467
1473
|
* A two-thumb range slider — the Vue counterpart of `@ansh-ui/react`'s `RangeSlider`. Price filters,
|
|
1468
1474
|
* date windows, numeric facets.
|
|
@@ -1578,12 +1584,12 @@ declare const RangeSlider: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
1578
1584
|
disabled: boolean;
|
|
1579
1585
|
modelValue: readonly [number, number];
|
|
1580
1586
|
defaultValue: readonly [number, number];
|
|
1581
|
-
min: number;
|
|
1582
1587
|
max: number;
|
|
1588
|
+
min: number;
|
|
1583
1589
|
step: number;
|
|
1584
|
-
marks: readonly SliderMark[];
|
|
1585
|
-
showValue: boolean | "always";
|
|
1586
1590
|
formatValue: (value: number) => string;
|
|
1591
|
+
showValue: boolean | "always";
|
|
1592
|
+
marks: readonly SliderMark[];
|
|
1587
1593
|
minDistance: number;
|
|
1588
1594
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
1589
1595
|
|
|
@@ -1813,9 +1819,9 @@ declare const TagsInput: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
1813
1819
|
disabled: boolean;
|
|
1814
1820
|
modelValue: readonly string[];
|
|
1815
1821
|
defaultValue: readonly string[];
|
|
1816
|
-
max: number;
|
|
1817
|
-
delimiters: readonly string[];
|
|
1818
1822
|
placeholder: string;
|
|
1823
|
+
delimiters: readonly string[];
|
|
1824
|
+
max: number;
|
|
1819
1825
|
validate: (value: string) => string | null;
|
|
1820
1826
|
dedupe: boolean;
|
|
1821
1827
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
@@ -1934,10 +1940,10 @@ declare const Rating: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
1934
1940
|
disabled: boolean;
|
|
1935
1941
|
modelValue: number;
|
|
1936
1942
|
defaultValue: number;
|
|
1937
|
-
readonly: boolean;
|
|
1938
|
-
max: number;
|
|
1939
1943
|
icon: SlotContent;
|
|
1944
|
+
max: number;
|
|
1940
1945
|
allowHalf: boolean;
|
|
1946
|
+
readonly: boolean;
|
|
1941
1947
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
1942
1948
|
|
|
1943
1949
|
interface DropzoneFile {
|
|
@@ -2303,8 +2309,8 @@ declare const Calendar: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
2303
2309
|
mode: "range" | "single";
|
|
2304
2310
|
modelValue: Date | DateRange | null;
|
|
2305
2311
|
defaultValue: Date | DateRange | null;
|
|
2306
|
-
min: Date;
|
|
2307
2312
|
max: Date;
|
|
2313
|
+
min: Date;
|
|
2308
2314
|
isDateDisabled: (date: Date) => boolean;
|
|
2309
2315
|
weekStartsOn: 0 | 2 | 3 | 1 | 4 | 5 | 6;
|
|
2310
2316
|
locale: string;
|
|
@@ -2486,17 +2492,18 @@ declare const DatePicker: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
2486
2492
|
disabled: boolean;
|
|
2487
2493
|
modelValue: Date | null;
|
|
2488
2494
|
defaultValue: Date | null;
|
|
2495
|
+
placeholder: string;
|
|
2489
2496
|
clearable: boolean;
|
|
2490
|
-
min: Date;
|
|
2491
2497
|
max: Date;
|
|
2492
|
-
placeholder: string;
|
|
2493
2498
|
format: (date: Date) => string;
|
|
2499
|
+
min: Date;
|
|
2494
2500
|
isDateDisabled: (date: Date) => boolean;
|
|
2495
2501
|
weekStartsOn: 0 | 2 | 3 | 1 | 4 | 5 | 6;
|
|
2496
2502
|
locale: string;
|
|
2497
2503
|
months: number;
|
|
2498
2504
|
showWeekNumbers: boolean;
|
|
2499
2505
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
2506
|
+
|
|
2500
2507
|
/** Documents the shape of `DateRangePicker`'s props. Not consumed by `defineComponent` directly. */
|
|
2501
2508
|
interface DateRangePickerProps {
|
|
2502
2509
|
modelValue?: DateRange;
|
|
@@ -2627,8 +2634,8 @@ declare const DateRangePicker: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
2627
2634
|
disabled: boolean;
|
|
2628
2635
|
modelValue: DateRange;
|
|
2629
2636
|
defaultValue: DateRange;
|
|
2630
|
-
min: Date;
|
|
2631
2637
|
max: Date;
|
|
2638
|
+
min: Date;
|
|
2632
2639
|
isDateDisabled: (date: Date) => boolean;
|
|
2633
2640
|
weekStartsOn: 0 | 2 | 3 | 1 | 4 | 5 | 6;
|
|
2634
2641
|
locale: string;
|
package/dist/form.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { Calendar, Checkbox, ChoiceCard, ColorPicker, Combobox, DatePicker, DateRangePicker, Dropzone, Field, Fieldset, Input, NumberInput, OptionList, PinInput, Radio, RadioGroup, RangeSlider, Rating, Select, Slider, Switch, TagsInput, Textarea, VisuallyHidden, addDays, addMonths, filterOptions, firstEnabled, isSameDay, scoreOption, startOfDay, stepActive, useFieldContext, useFieldControl, useTypeahead } from './chunk-
|
|
1
|
+
export { Calendar, Checkbox, ChoiceCard, ColorPicker, Combobox, DatePicker, DateRangePicker, Dropzone, Field, Fieldset, Input, NumberInput, OptionList, PinInput, Radio, RadioGroup, RangeSlider, Rating, Select, Slider, Switch, TagsInput, Textarea, VisuallyHidden, addDays, addMonths, filterOptions, firstEnabled, isSameDay, scoreOption, startOfDay, stepActive, useFieldContext, useFieldControl, useTypeahead } from './chunk-G3EIU6VM.js';
|
|
2
2
|
import './chunk-XZ5ZFLZM.js';
|
|
3
3
|
import './chunk-OAQ7MDYX.js';
|
|
4
4
|
import './chunk-NJDDNO4C.js';
|