@ansh-ui/vue 0.2.0 → 0.3.0
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-B6OXKW5Q.js → chunk-AL4PPK25.js} +5 -2
- package/dist/chunk-AL4PPK25.js.map +1 -0
- package/dist/{chunk-5BQEZYG6.cjs → chunk-FK536ZUI.cjs} +15 -15
- package/dist/{chunk-5BQEZYG6.cjs.map → chunk-FK536ZUI.cjs.map} +1 -1
- package/dist/{chunk-TMG3M6TK.js → chunk-G2OX2NH2.js} +3 -3
- package/dist/chunk-G2OX2NH2.js.map +1 -0
- package/dist/{chunk-2VSROZ2N.js → chunk-HIVA75XC.js} +3 -3
- package/dist/{chunk-2VSROZ2N.js.map → chunk-HIVA75XC.js.map} +1 -1
- package/dist/{chunk-KCA7RNJ4.cjs → chunk-IHH6KMBY.cjs} +239 -5
- package/dist/chunk-IHH6KMBY.cjs.map +1 -0
- package/dist/{chunk-IOXGBPOV.cjs → chunk-IK3E4MPB.cjs} +3 -3
- package/dist/chunk-IK3E4MPB.cjs.map +1 -0
- package/dist/{chunk-SOYRICHU.js → chunk-LRTNIUAG.js} +3 -3
- package/dist/chunk-LRTNIUAG.js.map +1 -0
- package/dist/{chunk-EISHOEB6.cjs → chunk-MWGVDY6K.cjs} +3 -3
- package/dist/chunk-MWGVDY6K.cjs.map +1 -0
- package/dist/{chunk-T425FIC7.js → chunk-NKRPZTQA.js} +238 -5
- package/dist/chunk-NKRPZTQA.js.map +1 -0
- package/dist/{chunk-JQ4YLXXM.cjs → chunk-PNR4RQ4T.cjs} +5 -2
- package/dist/chunk-PNR4RQ4T.cjs.map +1 -0
- package/dist/data.d.cts +15 -14
- package/dist/data.d.ts +15 -14
- package/dist/form.cjs +36 -36
- package/dist/form.d.cts +32 -31
- package/dist/form.d.ts +32 -31
- package/dist/form.js +1 -1
- package/dist/index.cjs +159 -131
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +33 -8
- package/dist/index.d.ts +33 -8
- package/dist/index.js +27 -11
- package/dist/index.js.map +1 -1
- package/dist/layout.cjs +13 -13
- package/dist/layout.d.cts +24 -15
- package/dist/layout.d.ts +24 -15
- package/dist/layout.js +1 -1
- package/dist/motion.d.cts +14 -13
- package/dist/motion.d.ts +14 -13
- package/dist/navigation.cjs +13 -9
- package/dist/navigation.d.cts +124 -3
- package/dist/navigation.d.ts +124 -3
- package/dist/navigation.js +2 -2
- package/dist/overlay.cjs +14 -14
- package/dist/overlay.d.cts +9 -8
- package/dist/overlay.d.ts +9 -8
- package/dist/overlay.js +2 -2
- package/dist/{position-Cn7qP1pn.d.cts → position-CiY171HP.d.cts} +2 -1
- package/dist/{position-Cn7qP1pn.d.ts → position-CiY171HP.d.ts} +2 -1
- package/dist/primitives.cjs +6 -6
- package/dist/primitives.d.cts +6 -5
- package/dist/primitives.d.ts +6 -5
- package/dist/primitives.js +1 -1
- package/dist/{sidebar-CTZ-Ckko.d.ts → sidebar-B9zDHMbn.d.cts} +5 -4
- package/dist/{sidebar-CQqEmpid.d.cts → sidebar-DMrKHqZ5.d.ts} +5 -4
- package/dist/styles.css +464 -0
- package/dist/{utils-IKPG3zcC.d.cts → utils-D4XwXDeX.d.cts} +2 -1
- package/dist/{utils-IKPG3zcC.d.ts → utils-D4XwXDeX.d.ts} +2 -1
- package/package.json +3 -3
- package/dist/chunk-B6OXKW5Q.js.map +0 -1
- package/dist/chunk-EISHOEB6.cjs.map +0 -1
- package/dist/chunk-IOXGBPOV.cjs.map +0 -1
- package/dist/chunk-JQ4YLXXM.cjs.map +0 -1
- package/dist/chunk-KCA7RNJ4.cjs.map +0 -1
- package/dist/chunk-SOYRICHU.js.map +0 -1
- package/dist/chunk-T425FIC7.js.map +0 -1
- package/dist/chunk-TMG3M6TK.js.map +0 -1
package/dist/form.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as vue from 'vue';
|
|
2
2
|
import { PropType, ComputedRef } from 'vue';
|
|
3
|
-
import {
|
|
3
|
+
import { SlotContent } from './index.cjs';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* The label / description / error scaffolding every form control shares — the Vue counterpart of
|
|
@@ -114,11 +114,11 @@ declare const Field: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
114
114
|
default: string;
|
|
115
115
|
};
|
|
116
116
|
}>> & Readonly<{}>, {
|
|
117
|
-
description: SlotContent;
|
|
118
117
|
error: SlotContent;
|
|
119
118
|
label: SlotContent;
|
|
120
|
-
disabled: boolean;
|
|
121
119
|
required: boolean;
|
|
120
|
+
description: SlotContent;
|
|
121
|
+
disabled: boolean;
|
|
122
122
|
orientation: "horizontal" | "vertical";
|
|
123
123
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
124
124
|
declare const Fieldset: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
@@ -220,7 +220,7 @@ declare const Input: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
220
220
|
};
|
|
221
221
|
}>, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
222
222
|
[key: string]: any;
|
|
223
|
-
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, ("
|
|
223
|
+
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, ("change" | "input" | "update:modelValue" | "clear")[], "change" | "input" | "update:modelValue" | "clear", vue.PublicProps, Readonly<vue.ExtractPropTypes<{
|
|
224
224
|
modelValue: {
|
|
225
225
|
type: StringConstructor;
|
|
226
226
|
default: undefined;
|
|
@@ -269,11 +269,11 @@ declare const Input: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
269
269
|
}>> & Readonly<{
|
|
270
270
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
271
271
|
onInput?: ((...args: any[]) => any) | undefined;
|
|
272
|
-
onClear?: ((...args: any[]) => any) | undefined;
|
|
273
272
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
273
|
+
onClear?: ((...args: any[]) => any) | undefined;
|
|
274
274
|
}>, {
|
|
275
|
-
size: InputSize;
|
|
276
275
|
invalid: boolean;
|
|
276
|
+
size: InputSize;
|
|
277
277
|
disabled: boolean;
|
|
278
278
|
modelValue: string;
|
|
279
279
|
defaultValue: string;
|
|
@@ -458,10 +458,10 @@ declare const NumberInput: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
458
458
|
}>, {
|
|
459
459
|
size: InputSize;
|
|
460
460
|
disabled: boolean;
|
|
461
|
-
max: number;
|
|
462
461
|
modelValue: number;
|
|
463
462
|
defaultValue: number;
|
|
464
463
|
min: number;
|
|
464
|
+
max: number;
|
|
465
465
|
step: number;
|
|
466
466
|
precision: number;
|
|
467
467
|
unit: SlotContent;
|
|
@@ -560,10 +560,10 @@ declare const Checkbox: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
560
560
|
}>> & Readonly<{
|
|
561
561
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
562
562
|
}>, {
|
|
563
|
-
size: ChoiceSize;
|
|
564
|
-
description: SlotContent;
|
|
565
563
|
invalid: boolean;
|
|
566
564
|
label: SlotContent;
|
|
565
|
+
size: ChoiceSize;
|
|
566
|
+
description: SlotContent;
|
|
567
567
|
disabled: boolean;
|
|
568
568
|
modelValue: boolean;
|
|
569
569
|
defaultValue: boolean;
|
|
@@ -643,9 +643,9 @@ declare const Switch: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
643
643
|
}>> & Readonly<{
|
|
644
644
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
645
645
|
}>, {
|
|
646
|
+
label: SlotContent;
|
|
646
647
|
size: ChoiceSize;
|
|
647
648
|
description: SlotContent;
|
|
648
|
-
label: SlotContent;
|
|
649
649
|
disabled: boolean;
|
|
650
650
|
modelValue: boolean;
|
|
651
651
|
defaultValue: boolean;
|
|
@@ -774,9 +774,9 @@ declare const Radio: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
774
774
|
default: boolean;
|
|
775
775
|
};
|
|
776
776
|
}>> & Readonly<{}>, {
|
|
777
|
+
label: SlotContent;
|
|
777
778
|
size: ChoiceSize;
|
|
778
779
|
description: SlotContent;
|
|
779
|
-
label: SlotContent;
|
|
780
780
|
disabled: boolean;
|
|
781
781
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
782
782
|
/**
|
|
@@ -839,9 +839,9 @@ declare const ChoiceCard: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
839
839
|
default: boolean;
|
|
840
840
|
};
|
|
841
841
|
}>> & Readonly<{}>, {
|
|
842
|
+
label: SlotContent;
|
|
842
843
|
size: ChoiceSize;
|
|
843
844
|
description: SlotContent;
|
|
844
|
-
label: SlotContent;
|
|
845
845
|
disabled: boolean;
|
|
846
846
|
icon: SlotContent;
|
|
847
847
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
@@ -1116,17 +1116,17 @@ declare const Select: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
1116
1116
|
}>> & Readonly<{
|
|
1117
1117
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
1118
1118
|
}>, {
|
|
1119
|
-
size: "sm" | "md" | "lg";
|
|
1120
1119
|
name: string;
|
|
1121
1120
|
invalid: boolean;
|
|
1122
1121
|
label: string;
|
|
1122
|
+
size: "sm" | "md" | "lg";
|
|
1123
1123
|
disabled: boolean;
|
|
1124
|
-
maxHeight: string;
|
|
1125
1124
|
modelValue: string | null;
|
|
1126
1125
|
defaultValue: string | null;
|
|
1127
1126
|
clearable: boolean;
|
|
1128
1127
|
emptyMessage: SlotContent;
|
|
1129
1128
|
placeholder: string;
|
|
1129
|
+
maxHeight: string;
|
|
1130
1130
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
1131
1131
|
|
|
1132
1132
|
/**
|
|
@@ -1296,17 +1296,17 @@ declare const Combobox: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
1296
1296
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
1297
1297
|
onSearch?: ((...args: any[]) => any) | undefined;
|
|
1298
1298
|
}>, {
|
|
1299
|
-
size: "sm" | "md" | "lg";
|
|
1300
1299
|
filter: boolean;
|
|
1301
1300
|
invalid: boolean;
|
|
1302
1301
|
label: string;
|
|
1302
|
+
size: "sm" | "md" | "lg";
|
|
1303
1303
|
disabled: boolean;
|
|
1304
|
-
maxHeight: string;
|
|
1305
1304
|
modelValue: readonly string[];
|
|
1306
1305
|
defaultValue: readonly string[];
|
|
1307
1306
|
multiple: boolean;
|
|
1308
1307
|
emptyMessage: SlotContent;
|
|
1309
1308
|
placeholder: string;
|
|
1309
|
+
maxHeight: string;
|
|
1310
1310
|
onCreate: (label: string) => string;
|
|
1311
1311
|
createLabel: (query: string) => string;
|
|
1312
1312
|
maxVisibleChips: number;
|
|
@@ -1453,11 +1453,11 @@ declare const Slider: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
1453
1453
|
name: string;
|
|
1454
1454
|
label: string;
|
|
1455
1455
|
disabled: boolean;
|
|
1456
|
-
max: number;
|
|
1457
1456
|
orientation: "horizontal" | "vertical";
|
|
1458
1457
|
modelValue: number;
|
|
1459
1458
|
defaultValue: number;
|
|
1460
1459
|
min: number;
|
|
1460
|
+
max: number;
|
|
1461
1461
|
step: number;
|
|
1462
1462
|
marks: readonly SliderMark[];
|
|
1463
1463
|
showValue: boolean | "always";
|
|
@@ -1576,10 +1576,10 @@ declare const RangeSlider: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
1576
1576
|
}>, {
|
|
1577
1577
|
label: string;
|
|
1578
1578
|
disabled: boolean;
|
|
1579
|
-
max: number;
|
|
1580
1579
|
modelValue: readonly [number, number];
|
|
1581
1580
|
defaultValue: readonly [number, number];
|
|
1582
1581
|
min: number;
|
|
1582
|
+
max: number;
|
|
1583
1583
|
step: number;
|
|
1584
1584
|
marks: readonly SliderMark[];
|
|
1585
1585
|
showValue: boolean | "always";
|
|
@@ -1691,12 +1691,12 @@ declare const PinInput: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
1691
1691
|
onComplete?: ((...args: any[]) => any) | undefined;
|
|
1692
1692
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
1693
1693
|
}>, {
|
|
1694
|
-
length: number;
|
|
1695
1694
|
type: "numeric" | "alphanumeric";
|
|
1695
|
+
length: number;
|
|
1696
1696
|
invalid: boolean;
|
|
1697
1697
|
label: string;
|
|
1698
|
-
disabled: boolean;
|
|
1699
1698
|
mask: boolean;
|
|
1699
|
+
disabled: boolean;
|
|
1700
1700
|
modelValue: string;
|
|
1701
1701
|
defaultValue: string;
|
|
1702
1702
|
autofocus: boolean;
|
|
@@ -1811,9 +1811,9 @@ declare const TagsInput: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
1811
1811
|
invalid: boolean;
|
|
1812
1812
|
label: string;
|
|
1813
1813
|
disabled: boolean;
|
|
1814
|
-
max: number;
|
|
1815
1814
|
modelValue: readonly string[];
|
|
1816
1815
|
defaultValue: readonly string[];
|
|
1816
|
+
max: number;
|
|
1817
1817
|
delimiters: readonly string[];
|
|
1818
1818
|
placeholder: string;
|
|
1819
1819
|
validate: (value: string) => string | null;
|
|
@@ -1928,14 +1928,14 @@ declare const Rating: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
1928
1928
|
}>> & Readonly<{
|
|
1929
1929
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
1930
1930
|
}>, {
|
|
1931
|
-
size: RatingSize;
|
|
1932
1931
|
name: string;
|
|
1933
1932
|
label: string;
|
|
1933
|
+
size: RatingSize;
|
|
1934
1934
|
disabled: boolean;
|
|
1935
|
-
max: number;
|
|
1936
1935
|
modelValue: number;
|
|
1937
1936
|
defaultValue: number;
|
|
1938
1937
|
readonly: boolean;
|
|
1938
|
+
max: number;
|
|
1939
1939
|
icon: SlotContent;
|
|
1940
1940
|
allowHalf: boolean;
|
|
1941
1941
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
@@ -2048,8 +2048,8 @@ declare const Dropzone: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
2048
2048
|
onFiles?: ((...args: any[]) => any) | undefined;
|
|
2049
2049
|
}>, {
|
|
2050
2050
|
label: SlotContent;
|
|
2051
|
-
disabled: boolean;
|
|
2052
2051
|
maxSize: number;
|
|
2052
|
+
disabled: boolean;
|
|
2053
2053
|
multiple: boolean;
|
|
2054
2054
|
accept: string;
|
|
2055
2055
|
maxFiles: number;
|
|
@@ -2301,12 +2301,12 @@ declare const Calendar: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
2301
2301
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
2302
2302
|
}>, {
|
|
2303
2303
|
mode: "range" | "single";
|
|
2304
|
-
max: Date;
|
|
2305
2304
|
modelValue: Date | DateRange | null;
|
|
2306
2305
|
defaultValue: Date | DateRange | null;
|
|
2307
2306
|
min: Date;
|
|
2307
|
+
max: Date;
|
|
2308
2308
|
isDateDisabled: (date: Date) => boolean;
|
|
2309
|
-
weekStartsOn: 0 |
|
|
2309
|
+
weekStartsOn: 0 | 2 | 3 | 1 | 4 | 5 | 6;
|
|
2310
2310
|
locale: string;
|
|
2311
2311
|
months: number;
|
|
2312
2312
|
showWeekNumbers: boolean;
|
|
@@ -2484,15 +2484,15 @@ declare const DatePicker: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
2484
2484
|
invalid: boolean;
|
|
2485
2485
|
label: string;
|
|
2486
2486
|
disabled: boolean;
|
|
2487
|
-
max: Date;
|
|
2488
2487
|
modelValue: Date | null;
|
|
2489
2488
|
defaultValue: Date | null;
|
|
2490
2489
|
clearable: boolean;
|
|
2491
2490
|
min: Date;
|
|
2491
|
+
max: Date;
|
|
2492
2492
|
placeholder: string;
|
|
2493
2493
|
format: (date: Date) => string;
|
|
2494
2494
|
isDateDisabled: (date: Date) => boolean;
|
|
2495
|
-
weekStartsOn: 0 |
|
|
2495
|
+
weekStartsOn: 0 | 2 | 3 | 1 | 4 | 5 | 6;
|
|
2496
2496
|
locale: string;
|
|
2497
2497
|
months: number;
|
|
2498
2498
|
showWeekNumbers: boolean;
|
|
@@ -2625,15 +2625,16 @@ declare const DateRangePicker: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
2625
2625
|
invalid: boolean;
|
|
2626
2626
|
label: string;
|
|
2627
2627
|
disabled: boolean;
|
|
2628
|
-
max: Date;
|
|
2629
2628
|
modelValue: DateRange;
|
|
2630
2629
|
defaultValue: DateRange;
|
|
2631
2630
|
min: Date;
|
|
2631
|
+
max: Date;
|
|
2632
2632
|
isDateDisabled: (date: Date) => boolean;
|
|
2633
|
-
weekStartsOn: 0 |
|
|
2633
|
+
weekStartsOn: 0 | 2 | 3 | 1 | 4 | 5 | 6;
|
|
2634
2634
|
locale: string;
|
|
2635
2635
|
months: number;
|
|
2636
2636
|
showWeekNumbers: boolean;
|
|
2637
2637
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
2638
2638
|
|
|
2639
|
-
export { Calendar,
|
|
2639
|
+
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 };
|
|
2640
|
+
export type { CalendarProps, ColorPickerProps, DatePickerProps, DateRange, DateRangePickerProps, DropzoneFile, FieldContextValue, FieldControlAttrs, InputSize, OptionListProps, RadioGroupProps, RatingSize, SelectOption, SliderMark };
|
package/dist/form.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as vue from 'vue';
|
|
2
2
|
import { PropType, ComputedRef } from 'vue';
|
|
3
|
-
import {
|
|
3
|
+
import { SlotContent } from './index.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* The label / description / error scaffolding every form control shares — the Vue counterpart of
|
|
@@ -114,11 +114,11 @@ declare const Field: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
114
114
|
default: string;
|
|
115
115
|
};
|
|
116
116
|
}>> & Readonly<{}>, {
|
|
117
|
-
description: SlotContent;
|
|
118
117
|
error: SlotContent;
|
|
119
118
|
label: SlotContent;
|
|
120
|
-
disabled: boolean;
|
|
121
119
|
required: boolean;
|
|
120
|
+
description: SlotContent;
|
|
121
|
+
disabled: boolean;
|
|
122
122
|
orientation: "horizontal" | "vertical";
|
|
123
123
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
124
124
|
declare const Fieldset: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
@@ -220,7 +220,7 @@ declare const Input: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
220
220
|
};
|
|
221
221
|
}>, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
222
222
|
[key: string]: any;
|
|
223
|
-
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, ("
|
|
223
|
+
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, ("change" | "input" | "update:modelValue" | "clear")[], "change" | "input" | "update:modelValue" | "clear", vue.PublicProps, Readonly<vue.ExtractPropTypes<{
|
|
224
224
|
modelValue: {
|
|
225
225
|
type: StringConstructor;
|
|
226
226
|
default: undefined;
|
|
@@ -269,11 +269,11 @@ declare const Input: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
269
269
|
}>> & Readonly<{
|
|
270
270
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
271
271
|
onInput?: ((...args: any[]) => any) | undefined;
|
|
272
|
-
onClear?: ((...args: any[]) => any) | undefined;
|
|
273
272
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
273
|
+
onClear?: ((...args: any[]) => any) | undefined;
|
|
274
274
|
}>, {
|
|
275
|
-
size: InputSize;
|
|
276
275
|
invalid: boolean;
|
|
276
|
+
size: InputSize;
|
|
277
277
|
disabled: boolean;
|
|
278
278
|
modelValue: string;
|
|
279
279
|
defaultValue: string;
|
|
@@ -458,10 +458,10 @@ declare const NumberInput: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
458
458
|
}>, {
|
|
459
459
|
size: InputSize;
|
|
460
460
|
disabled: boolean;
|
|
461
|
-
max: number;
|
|
462
461
|
modelValue: number;
|
|
463
462
|
defaultValue: number;
|
|
464
463
|
min: number;
|
|
464
|
+
max: number;
|
|
465
465
|
step: number;
|
|
466
466
|
precision: number;
|
|
467
467
|
unit: SlotContent;
|
|
@@ -560,10 +560,10 @@ declare const Checkbox: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
560
560
|
}>> & Readonly<{
|
|
561
561
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
562
562
|
}>, {
|
|
563
|
-
size: ChoiceSize;
|
|
564
|
-
description: SlotContent;
|
|
565
563
|
invalid: boolean;
|
|
566
564
|
label: SlotContent;
|
|
565
|
+
size: ChoiceSize;
|
|
566
|
+
description: SlotContent;
|
|
567
567
|
disabled: boolean;
|
|
568
568
|
modelValue: boolean;
|
|
569
569
|
defaultValue: boolean;
|
|
@@ -643,9 +643,9 @@ declare const Switch: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
643
643
|
}>> & Readonly<{
|
|
644
644
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
645
645
|
}>, {
|
|
646
|
+
label: SlotContent;
|
|
646
647
|
size: ChoiceSize;
|
|
647
648
|
description: SlotContent;
|
|
648
|
-
label: SlotContent;
|
|
649
649
|
disabled: boolean;
|
|
650
650
|
modelValue: boolean;
|
|
651
651
|
defaultValue: boolean;
|
|
@@ -774,9 +774,9 @@ declare const Radio: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
774
774
|
default: boolean;
|
|
775
775
|
};
|
|
776
776
|
}>> & Readonly<{}>, {
|
|
777
|
+
label: SlotContent;
|
|
777
778
|
size: ChoiceSize;
|
|
778
779
|
description: SlotContent;
|
|
779
|
-
label: SlotContent;
|
|
780
780
|
disabled: boolean;
|
|
781
781
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
782
782
|
/**
|
|
@@ -839,9 +839,9 @@ declare const ChoiceCard: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
839
839
|
default: boolean;
|
|
840
840
|
};
|
|
841
841
|
}>> & Readonly<{}>, {
|
|
842
|
+
label: SlotContent;
|
|
842
843
|
size: ChoiceSize;
|
|
843
844
|
description: SlotContent;
|
|
844
|
-
label: SlotContent;
|
|
845
845
|
disabled: boolean;
|
|
846
846
|
icon: SlotContent;
|
|
847
847
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
@@ -1116,17 +1116,17 @@ declare const Select: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
1116
1116
|
}>> & Readonly<{
|
|
1117
1117
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
1118
1118
|
}>, {
|
|
1119
|
-
size: "sm" | "md" | "lg";
|
|
1120
1119
|
name: string;
|
|
1121
1120
|
invalid: boolean;
|
|
1122
1121
|
label: string;
|
|
1122
|
+
size: "sm" | "md" | "lg";
|
|
1123
1123
|
disabled: boolean;
|
|
1124
|
-
maxHeight: string;
|
|
1125
1124
|
modelValue: string | null;
|
|
1126
1125
|
defaultValue: string | null;
|
|
1127
1126
|
clearable: boolean;
|
|
1128
1127
|
emptyMessage: SlotContent;
|
|
1129
1128
|
placeholder: string;
|
|
1129
|
+
maxHeight: string;
|
|
1130
1130
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
1131
1131
|
|
|
1132
1132
|
/**
|
|
@@ -1296,17 +1296,17 @@ declare const Combobox: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
1296
1296
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
1297
1297
|
onSearch?: ((...args: any[]) => any) | undefined;
|
|
1298
1298
|
}>, {
|
|
1299
|
-
size: "sm" | "md" | "lg";
|
|
1300
1299
|
filter: boolean;
|
|
1301
1300
|
invalid: boolean;
|
|
1302
1301
|
label: string;
|
|
1302
|
+
size: "sm" | "md" | "lg";
|
|
1303
1303
|
disabled: boolean;
|
|
1304
|
-
maxHeight: string;
|
|
1305
1304
|
modelValue: readonly string[];
|
|
1306
1305
|
defaultValue: readonly string[];
|
|
1307
1306
|
multiple: boolean;
|
|
1308
1307
|
emptyMessage: SlotContent;
|
|
1309
1308
|
placeholder: string;
|
|
1309
|
+
maxHeight: string;
|
|
1310
1310
|
onCreate: (label: string) => string;
|
|
1311
1311
|
createLabel: (query: string) => string;
|
|
1312
1312
|
maxVisibleChips: number;
|
|
@@ -1453,11 +1453,11 @@ declare const Slider: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
1453
1453
|
name: string;
|
|
1454
1454
|
label: string;
|
|
1455
1455
|
disabled: boolean;
|
|
1456
|
-
max: number;
|
|
1457
1456
|
orientation: "horizontal" | "vertical";
|
|
1458
1457
|
modelValue: number;
|
|
1459
1458
|
defaultValue: number;
|
|
1460
1459
|
min: number;
|
|
1460
|
+
max: number;
|
|
1461
1461
|
step: number;
|
|
1462
1462
|
marks: readonly SliderMark[];
|
|
1463
1463
|
showValue: boolean | "always";
|
|
@@ -1576,10 +1576,10 @@ declare const RangeSlider: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
1576
1576
|
}>, {
|
|
1577
1577
|
label: string;
|
|
1578
1578
|
disabled: boolean;
|
|
1579
|
-
max: number;
|
|
1580
1579
|
modelValue: readonly [number, number];
|
|
1581
1580
|
defaultValue: readonly [number, number];
|
|
1582
1581
|
min: number;
|
|
1582
|
+
max: number;
|
|
1583
1583
|
step: number;
|
|
1584
1584
|
marks: readonly SliderMark[];
|
|
1585
1585
|
showValue: boolean | "always";
|
|
@@ -1691,12 +1691,12 @@ declare const PinInput: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
1691
1691
|
onComplete?: ((...args: any[]) => any) | undefined;
|
|
1692
1692
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
1693
1693
|
}>, {
|
|
1694
|
-
length: number;
|
|
1695
1694
|
type: "numeric" | "alphanumeric";
|
|
1695
|
+
length: number;
|
|
1696
1696
|
invalid: boolean;
|
|
1697
1697
|
label: string;
|
|
1698
|
-
disabled: boolean;
|
|
1699
1698
|
mask: boolean;
|
|
1699
|
+
disabled: boolean;
|
|
1700
1700
|
modelValue: string;
|
|
1701
1701
|
defaultValue: string;
|
|
1702
1702
|
autofocus: boolean;
|
|
@@ -1811,9 +1811,9 @@ declare const TagsInput: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
1811
1811
|
invalid: boolean;
|
|
1812
1812
|
label: string;
|
|
1813
1813
|
disabled: boolean;
|
|
1814
|
-
max: number;
|
|
1815
1814
|
modelValue: readonly string[];
|
|
1816
1815
|
defaultValue: readonly string[];
|
|
1816
|
+
max: number;
|
|
1817
1817
|
delimiters: readonly string[];
|
|
1818
1818
|
placeholder: string;
|
|
1819
1819
|
validate: (value: string) => string | null;
|
|
@@ -1928,14 +1928,14 @@ declare const Rating: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
1928
1928
|
}>> & Readonly<{
|
|
1929
1929
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
1930
1930
|
}>, {
|
|
1931
|
-
size: RatingSize;
|
|
1932
1931
|
name: string;
|
|
1933
1932
|
label: string;
|
|
1933
|
+
size: RatingSize;
|
|
1934
1934
|
disabled: boolean;
|
|
1935
|
-
max: number;
|
|
1936
1935
|
modelValue: number;
|
|
1937
1936
|
defaultValue: number;
|
|
1938
1937
|
readonly: boolean;
|
|
1938
|
+
max: number;
|
|
1939
1939
|
icon: SlotContent;
|
|
1940
1940
|
allowHalf: boolean;
|
|
1941
1941
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
@@ -2048,8 +2048,8 @@ declare const Dropzone: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
2048
2048
|
onFiles?: ((...args: any[]) => any) | undefined;
|
|
2049
2049
|
}>, {
|
|
2050
2050
|
label: SlotContent;
|
|
2051
|
-
disabled: boolean;
|
|
2052
2051
|
maxSize: number;
|
|
2052
|
+
disabled: boolean;
|
|
2053
2053
|
multiple: boolean;
|
|
2054
2054
|
accept: string;
|
|
2055
2055
|
maxFiles: number;
|
|
@@ -2301,12 +2301,12 @@ declare const Calendar: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
2301
2301
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
2302
2302
|
}>, {
|
|
2303
2303
|
mode: "range" | "single";
|
|
2304
|
-
max: Date;
|
|
2305
2304
|
modelValue: Date | DateRange | null;
|
|
2306
2305
|
defaultValue: Date | DateRange | null;
|
|
2307
2306
|
min: Date;
|
|
2307
|
+
max: Date;
|
|
2308
2308
|
isDateDisabled: (date: Date) => boolean;
|
|
2309
|
-
weekStartsOn: 0 |
|
|
2309
|
+
weekStartsOn: 0 | 2 | 3 | 1 | 4 | 5 | 6;
|
|
2310
2310
|
locale: string;
|
|
2311
2311
|
months: number;
|
|
2312
2312
|
showWeekNumbers: boolean;
|
|
@@ -2484,15 +2484,15 @@ declare const DatePicker: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
2484
2484
|
invalid: boolean;
|
|
2485
2485
|
label: string;
|
|
2486
2486
|
disabled: boolean;
|
|
2487
|
-
max: Date;
|
|
2488
2487
|
modelValue: Date | null;
|
|
2489
2488
|
defaultValue: Date | null;
|
|
2490
2489
|
clearable: boolean;
|
|
2491
2490
|
min: Date;
|
|
2491
|
+
max: Date;
|
|
2492
2492
|
placeholder: string;
|
|
2493
2493
|
format: (date: Date) => string;
|
|
2494
2494
|
isDateDisabled: (date: Date) => boolean;
|
|
2495
|
-
weekStartsOn: 0 |
|
|
2495
|
+
weekStartsOn: 0 | 2 | 3 | 1 | 4 | 5 | 6;
|
|
2496
2496
|
locale: string;
|
|
2497
2497
|
months: number;
|
|
2498
2498
|
showWeekNumbers: boolean;
|
|
@@ -2625,15 +2625,16 @@ declare const DateRangePicker: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
2625
2625
|
invalid: boolean;
|
|
2626
2626
|
label: string;
|
|
2627
2627
|
disabled: boolean;
|
|
2628
|
-
max: Date;
|
|
2629
2628
|
modelValue: DateRange;
|
|
2630
2629
|
defaultValue: DateRange;
|
|
2631
2630
|
min: Date;
|
|
2631
|
+
max: Date;
|
|
2632
2632
|
isDateDisabled: (date: Date) => boolean;
|
|
2633
|
-
weekStartsOn: 0 |
|
|
2633
|
+
weekStartsOn: 0 | 2 | 3 | 1 | 4 | 5 | 6;
|
|
2634
2634
|
locale: string;
|
|
2635
2635
|
months: number;
|
|
2636
2636
|
showWeekNumbers: boolean;
|
|
2637
2637
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
2638
2638
|
|
|
2639
|
-
export { Calendar,
|
|
2639
|
+
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 };
|
|
2640
|
+
export type { CalendarProps, ColorPickerProps, DatePickerProps, DateRange, DateRangePickerProps, DropzoneFile, FieldContextValue, FieldControlAttrs, InputSize, OptionListProps, RadioGroupProps, RatingSize, SelectOption, SliderMark };
|
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-LRTNIUAG.js';
|
|
2
2
|
import './chunk-XZ5ZFLZM.js';
|
|
3
3
|
import './chunk-OAQ7MDYX.js';
|
|
4
4
|
import './chunk-NJDDNO4C.js';
|