@dronico/droni-kit 1.8.3 → 1.8.4
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/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
## [1.8.4](https://github.com/Droni-app/droni-kit/compare/v1.8.3...v1.8.4) (2025-05-20)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* support to number in input ([6aec6d3](https://github.com/Droni-app/droni-kit/commit/6aec6d32647fb6678e387e1221ae90df720d8343))
|
|
7
|
+
|
|
1
8
|
## [1.8.3](https://github.com/Droni-app/droni-kit/compare/v1.8.2...v1.8.3) (2025-05-14)
|
|
2
9
|
|
|
3
10
|
|
package/dist/droni-kit.cjs.js
CHANGED
|
@@ -153,7 +153,7 @@
|
|
|
153
153
|
dk:text-amber-600
|
|
154
154
|
dk:hover:bg-amber-50
|
|
155
155
|
dk:dark:text-amber-100
|
|
156
|
-
dk:dark:hover:bg-amber-800`}},n=e.computed(()=>{var a;const o=(((a=k[r.variant])==null?void 0:a[r.color])||"")+" "+k[r.variant].base,c=d[r.size]||"",b=r.block?"dk:w-full":"",p=s[r.rounded]||"";return[v,o,c,b,p].join(" ")});return(o,c)=>(e.openBlock(),e.createElementBlock("button",{type:r.type,class:e.normalizeClass(n.value),title:r.title,disabled:r.disabled||r.loading},[r.loading?(e.openBlock(),e.createElementBlock("span",h,"Cargando...")):e.renderSlot(o.$slots,"default",{key:0})],10,x))}}),z=["for"],f={key:0,class:"dk:text-rose-500"},S=["type","value","disabled","placeholder","required","name","id","pattern","readonly","aria-label","aria-disabled","aria-required"],_=`
|
|
156
|
+
dk:dark:hover:bg-amber-800`}},n=e.computed(()=>{var a;const o=(((a=k[r.variant])==null?void 0:a[r.color])||"")+" "+k[r.variant].base,c=d[r.size]||"",b=r.block?"dk:w-full":"",p=s[r.rounded]||"";return[v,o,c,b,p].join(" ")});return(o,c)=>(e.openBlock(),e.createElementBlock("button",{type:r.type,class:e.normalizeClass(n.value),title:r.title,disabled:r.disabled||r.loading},[r.loading?(e.openBlock(),e.createElementBlock("span",h,"Cargando...")):e.renderSlot(o.$slots,"default",{key:0})],10,x))}}),z=["for"],f={key:0,class:"dk:text-rose-500"},S=["type","value","disabled","placeholder","required","name","id","pattern","readonly","min","max","step","aria-label","aria-disabled","aria-required"],_=`
|
|
157
157
|
dk:border-b
|
|
158
158
|
dk:border-zinc-300
|
|
159
159
|
dk:bg-zinc-50
|
|
@@ -165,7 +165,7 @@
|
|
|
165
165
|
dk:dark:bg-zinc-800
|
|
166
166
|
dk:dark:text-zinc-100
|
|
167
167
|
dk:dark:focus:bg-zinc-700
|
|
168
|
-
dk:dark:[color-scheme:dark]`,B=e.defineComponent({__name:"DuiInput",props:{modelValue:{type:String,default:""},type:{type:String,default:"text"},size:{type:String,default:"md"},block:{type:Boolean,default:!0},disabled:{type:Boolean,default:!1},placeholder:{type:String,default:void 0},name:{type:String,default:void 0},id:{type:String,default:void 0},required:{type:Boolean,default:!1},label:{type:String,default:void 0},pattern:{type:String,default:void 0},readonly:{type:Boolean,default:!1},rounded:{type:String,default:"all"}},emits:["update:modelValue"],setup(l,{emit:r}){const d=l,s=r;function k(a){const i=a.target;s("update:modelValue",i.value)}const n={sm:"dk:text-sm dk:px-3 dk:py-1.5",md:"dk:text-base dk:px-4 dk:py-2",lg:"dk:text-lg dk:px-5 dk:py-3"},o={all:"dk:rounded",top:"dk:rounded-t",bottom:"dk:rounded-b",left:"dk:rounded-l",right:"dk:rounded-r",none:"dk:rounded-none"},c={sm:"dk:text-sm dk:pb-0.5",md:"dk:text-base dk:pb-1",lg:"dk:text-lg dk:pb-2"},b=e.computed(()=>{const a=n[d.size]||"",i=d.block?"dk:w-full":"",t=o[d.rounded]||"";return[_,a,i,t].join(" ")}),p=e.computed(()=>{const a=c[d.size]||"",i=d.block?"dk:w-full":"";return[a,i].join(" ")});return(a,i)=>(e.openBlock(),e.createElementBlock("div",null,[d.label?(e.openBlock(),e.createElementBlock("label",{key:0,for:d.id,class:e.normalizeClass([p.value,"dk:text-start dk:block dk:text-zinc-700 dk:dark:text-zinc-200 dk:px-0"])},[e.createTextVNode(e.toDisplayString(d.label)+" ",1),d.required?(e.openBlock(),e.createElementBlock("span",f,"*")):e.createCommentVNode("",!0)],10,z)):e.createCommentVNode("",!0),e.createElementVNode("input",{type:d.type,class:e.normalizeClass(b.value),value:l.modelValue,disabled:d.disabled,placeholder:d.placeholder,required:d.required,name:d.name,id:d.id,pattern:d.pattern,readonly:d.readonly,"aria-label":d.placeholder,"aria-disabled":d.disabled,"aria-required":d.required,onInput:k},null,42,S)]))}}),C=["for"],w={key:0,class:"dk:text-rose-500"},V=["value","disabled","placeholder","required","name","id","readonly","aria-label","aria-disabled","aria-required"],E=`
|
|
168
|
+
dk:dark:[color-scheme:dark]`,B=e.defineComponent({__name:"DuiInput",props:{modelValue:{type:[String,Number],default:""},type:{type:String,default:"text"},size:{type:String,default:"md"},block:{type:Boolean,default:!0},disabled:{type:Boolean,default:!1},placeholder:{type:String,default:void 0},name:{type:String,default:void 0},id:{type:String,default:void 0},required:{type:Boolean,default:!1},label:{type:String,default:void 0},pattern:{type:String,default:void 0},readonly:{type:Boolean,default:!1},rounded:{type:String,default:"all"},min:{type:[String,Number],default:void 0},max:{type:[String,Number],default:void 0},step:{type:[String,Number],default:void 0},autocomplete:{type:String,default:void 0}},emits:["update:modelValue"],setup(l,{emit:r}){const d=l,s=r;function k(a){const i=a.target;s("update:modelValue",i.value)}const n={sm:"dk:text-sm dk:px-3 dk:py-1.5",md:"dk:text-base dk:px-4 dk:py-2",lg:"dk:text-lg dk:px-5 dk:py-3"},o={all:"dk:rounded",top:"dk:rounded-t",bottom:"dk:rounded-b",left:"dk:rounded-l",right:"dk:rounded-r",none:"dk:rounded-none"},c={sm:"dk:text-sm dk:pb-0.5",md:"dk:text-base dk:pb-1",lg:"dk:text-lg dk:pb-2"},b=e.computed(()=>{const a=n[d.size]||"",i=d.block?"dk:w-full":"",t=o[d.rounded]||"";return[_,a,i,t].join(" ")}),p=e.computed(()=>{const a=c[d.size]||"",i=d.block?"dk:w-full":"";return[a,i].join(" ")});return(a,i)=>(e.openBlock(),e.createElementBlock("div",null,[d.label?(e.openBlock(),e.createElementBlock("label",{key:0,for:d.id,class:e.normalizeClass([p.value,"dk:text-start dk:block dk:text-zinc-700 dk:dark:text-zinc-200 dk:px-0"])},[e.createTextVNode(e.toDisplayString(d.label)+" ",1),d.required?(e.openBlock(),e.createElementBlock("span",f,"*")):e.createCommentVNode("",!0)],10,z)):e.createCommentVNode("",!0),e.createElementVNode("input",{type:d.type,class:e.normalizeClass(b.value),value:l.modelValue,disabled:d.disabled,placeholder:d.placeholder,required:d.required,name:d.name,id:d.id,pattern:d.pattern,readonly:d.readonly,min:d.min,max:d.max,step:d.step,"aria-label":d.placeholder,"aria-disabled":d.disabled,"aria-required":d.required,onInput:k},null,42,S)]))}}),C=["for"],w={key:0,class:"dk:text-rose-500"},V=["value","disabled","placeholder","required","name","id","readonly","aria-label","aria-disabled","aria-required"],E=`
|
|
169
169
|
dk:border-b
|
|
170
170
|
dk:border-zinc-300
|
|
171
171
|
dk:bg-zinc-50
|
package/dist/droni-kit.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as z, computed as m, createElementBlock as r, openBlock as t, normalizeClass as g, renderSlot as
|
|
1
|
+
import { defineComponent as z, computed as m, createElementBlock as r, openBlock as t, normalizeClass as g, renderSlot as _, createCommentVNode as v, createElementVNode as h, createTextVNode as w, toDisplayString as y, Fragment as f, renderList as S, mergeProps as q } from "vue";
|
|
2
2
|
const B = ["type", "title", "disabled"], V = { key: 1 }, D = `
|
|
3
3
|
dk:transition
|
|
4
4
|
dk:text-center
|
|
@@ -245,13 +245,13 @@ const B = ["type", "title", "disabled"], V = { key: 1 }, D = `
|
|
|
245
245
|
title: d.title,
|
|
246
246
|
disabled: d.disabled || d.loading
|
|
247
247
|
}, [
|
|
248
|
-
d.loading ? (t(), r("span", V, "Cargando...")) :
|
|
248
|
+
d.loading ? (t(), r("span", V, "Cargando...")) : _(l.$slots, "default", { key: 0 })
|
|
249
249
|
], 10, B));
|
|
250
250
|
}
|
|
251
|
-
}),
|
|
251
|
+
}), N = ["for"], j = {
|
|
252
252
|
key: 0,
|
|
253
253
|
class: "dk:text-rose-500"
|
|
254
|
-
},
|
|
254
|
+
}, L = ["type", "value", "disabled", "placeholder", "required", "name", "id", "pattern", "readonly", "min", "max", "step", "aria-label", "aria-disabled", "aria-required"], A = `
|
|
255
255
|
dk:border-b
|
|
256
256
|
dk:border-zinc-300
|
|
257
257
|
dk:bg-zinc-50
|
|
@@ -267,7 +267,7 @@ const B = ["type", "title", "disabled"], V = { key: 1 }, D = `
|
|
|
267
267
|
__name: "DuiInput",
|
|
268
268
|
props: {
|
|
269
269
|
modelValue: {
|
|
270
|
-
type: String,
|
|
270
|
+
type: [String, Number],
|
|
271
271
|
default: ""
|
|
272
272
|
},
|
|
273
273
|
type: {
|
|
@@ -317,6 +317,22 @@ const B = ["type", "title", "disabled"], V = { key: 1 }, D = `
|
|
|
317
317
|
rounded: {
|
|
318
318
|
type: String,
|
|
319
319
|
default: "all"
|
|
320
|
+
},
|
|
321
|
+
min: {
|
|
322
|
+
type: [String, Number],
|
|
323
|
+
default: void 0
|
|
324
|
+
},
|
|
325
|
+
max: {
|
|
326
|
+
type: [String, Number],
|
|
327
|
+
default: void 0
|
|
328
|
+
},
|
|
329
|
+
step: {
|
|
330
|
+
type: [String, Number],
|
|
331
|
+
default: void 0
|
|
332
|
+
},
|
|
333
|
+
autocomplete: {
|
|
334
|
+
type: String,
|
|
335
|
+
default: void 0
|
|
320
336
|
}
|
|
321
337
|
},
|
|
322
338
|
emits: ["update:modelValue"],
|
|
@@ -343,7 +359,7 @@ const B = ["type", "title", "disabled"], V = { key: 1 }, D = `
|
|
|
343
359
|
lg: "dk:text-lg dk:pb-2"
|
|
344
360
|
}, u = m(() => {
|
|
345
361
|
const k = s[e.size] || "", b = e.block ? "dk:w-full" : "", a = l[e.rounded] || "";
|
|
346
|
-
return [
|
|
362
|
+
return [A, k, b, a].join(" ");
|
|
347
363
|
}), x = m(() => {
|
|
348
364
|
const k = c[e.size] || "", b = e.block ? "dk:w-full" : "";
|
|
349
365
|
return [k, b].join(" ");
|
|
@@ -355,8 +371,8 @@ const B = ["type", "title", "disabled"], V = { key: 1 }, D = `
|
|
|
355
371
|
class: g([x.value, "dk:text-start dk:block dk:text-zinc-700 dk:dark:text-zinc-200 dk:px-0"])
|
|
356
372
|
}, [
|
|
357
373
|
w(y(e.label) + " ", 1),
|
|
358
|
-
e.required ? (t(), r("span",
|
|
359
|
-
], 10,
|
|
374
|
+
e.required ? (t(), r("span", j, "*")) : v("", !0)
|
|
375
|
+
], 10, N)) : v("", !0),
|
|
360
376
|
h("input", {
|
|
361
377
|
type: e.type,
|
|
362
378
|
class: g(u.value),
|
|
@@ -368,11 +384,14 @@ const B = ["type", "title", "disabled"], V = { key: 1 }, D = `
|
|
|
368
384
|
id: e.id,
|
|
369
385
|
pattern: e.pattern,
|
|
370
386
|
readonly: e.readonly,
|
|
387
|
+
min: e.min,
|
|
388
|
+
max: e.max,
|
|
389
|
+
step: e.step,
|
|
371
390
|
"aria-label": e.placeholder,
|
|
372
391
|
"aria-disabled": e.disabled,
|
|
373
392
|
"aria-required": e.required,
|
|
374
393
|
onInput: o
|
|
375
|
-
}, null, 42,
|
|
394
|
+
}, null, 42, L)
|
|
376
395
|
]));
|
|
377
396
|
}
|
|
378
397
|
}), T = ["for"], I = {
|
|
@@ -743,7 +762,7 @@ const B = ["type", "title", "disabled"], V = { key: 1 }, D = `
|
|
|
743
762
|
class: g(s.value),
|
|
744
763
|
title: d.title
|
|
745
764
|
}, [
|
|
746
|
-
d.loading ? (t(), r("span", P, "Cargando...")) :
|
|
765
|
+
d.loading ? (t(), r("span", P, "Cargando...")) : _(l.$slots, "default", { key: 0 })
|
|
747
766
|
], 10, H));
|
|
748
767
|
}
|
|
749
768
|
}), G = ["for"], J = {
|
|
@@ -878,7 +897,7 @@ const B = ["type", "title", "disabled"], V = { key: 1 }, D = `
|
|
|
878
897
|
onChange: o
|
|
879
898
|
}, [
|
|
880
899
|
e.placeholder ? (t(), r("option", M, y(e.placeholder), 1)) : v("", !0),
|
|
881
|
-
(t(!0), r(f, null,
|
|
900
|
+
(t(!0), r(f, null, S(e.options, (a, p) => (t(), r("option", {
|
|
882
901
|
key: p,
|
|
883
902
|
value: a[e.itemValue] ?? "",
|
|
884
903
|
selected: a[e.itemValue] == e.modelValue
|
|
@@ -953,7 +972,7 @@ const B = ["type", "title", "disabled"], V = { key: 1 }, D = `
|
|
|
953
972
|
class: g(o.value),
|
|
954
973
|
role: "alert"
|
|
955
974
|
}, [
|
|
956
|
-
|
|
975
|
+
_(s.$slots, "default")
|
|
957
976
|
], 2));
|
|
958
977
|
}
|
|
959
978
|
}), W = { class: "dk:relative dk:overflow-x-auto dk:shadow-md dk:sm:rounded-lg" }, X = { class: "dk:w-full dk:text-sm dk:text-left dk:text-gray-700 dk:dark:text-gray-300" }, Y = { class: "dk:text-xs dk:uppercase dk:bg-gray-100 dk:dark:bg-gray-700 dk:dark:text-gray-200" }, oe = /* @__PURE__ */ z({
|
|
@@ -974,22 +993,22 @@ const B = ["type", "title", "disabled"], V = { key: 1 }, D = `
|
|
|
974
993
|
h("table", X, [
|
|
975
994
|
h("thead", Y, [
|
|
976
995
|
h("tr", null, [
|
|
977
|
-
(t(!0), r(f, null,
|
|
996
|
+
(t(!0), r(f, null, S(d.columns, (o) => (t(), r("th", {
|
|
978
997
|
key: o.name,
|
|
979
998
|
class: g(["dk:px-6 dk:py-3", o.classes])
|
|
980
999
|
}, y(o.label), 3))), 128))
|
|
981
1000
|
])
|
|
982
1001
|
]),
|
|
983
1002
|
h("tbody", null, [
|
|
984
|
-
(t(!0), r(f, null,
|
|
1003
|
+
(t(!0), r(f, null, S(d.rows, (o, s) => (t(), r("tr", {
|
|
985
1004
|
key: s,
|
|
986
1005
|
class: "dk:bg-white dk:border-b dk:border-gray-200 dk:dark:bg-gray-800 dk:dark:border-gray-700 dk:hover:bg-gray-50 dk:dark:hover:bg-gray-600 dk:transition-colors"
|
|
987
1006
|
}, [
|
|
988
|
-
(t(!0), r(f, null,
|
|
1007
|
+
(t(!0), r(f, null, S(d.columns, (l) => (t(), r("td", {
|
|
989
1008
|
key: l.name,
|
|
990
1009
|
class: "dk:px-6 dk:py-4 dk:text-gray-900 dk:dark:text-gray-100"
|
|
991
1010
|
}, [
|
|
992
|
-
|
|
1011
|
+
_(e.$slots, l.name, q({ ref_for: !0 }, o), () => [
|
|
993
1012
|
w(y(o[l.name]), 1)
|
|
994
1013
|
])
|
|
995
1014
|
]))), 128))
|
|
@@ -3,11 +3,11 @@ declare const meta: {
|
|
|
3
3
|
title: string;
|
|
4
4
|
component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
5
5
|
modelValue: {
|
|
6
|
-
type: StringConstructor;
|
|
6
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
7
7
|
default: string;
|
|
8
8
|
};
|
|
9
9
|
type: {
|
|
10
|
-
type: () => "text" | "email" | "password" | "tel" | "url" | "search" | "date" | "datetime-local" | "month" | "week" | "time";
|
|
10
|
+
type: () => "text" | "email" | "password" | "tel" | "url" | "search" | "date" | "datetime-local" | "month" | "week" | "time" | "number";
|
|
11
11
|
default: string;
|
|
12
12
|
};
|
|
13
13
|
size: {
|
|
@@ -54,15 +54,31 @@ declare const meta: {
|
|
|
54
54
|
type: () => "all" | "top" | "bottom" | "left" | "right" | "none";
|
|
55
55
|
default: string;
|
|
56
56
|
};
|
|
57
|
+
min: {
|
|
58
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
59
|
+
default: undefined;
|
|
60
|
+
};
|
|
61
|
+
max: {
|
|
62
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
63
|
+
default: undefined;
|
|
64
|
+
};
|
|
65
|
+
step: {
|
|
66
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
67
|
+
default: undefined;
|
|
68
|
+
};
|
|
69
|
+
autocomplete: {
|
|
70
|
+
type: StringConstructor;
|
|
71
|
+
default: undefined;
|
|
72
|
+
};
|
|
57
73
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
58
74
|
"update:modelValue": (value: string) => any;
|
|
59
75
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
60
76
|
modelValue: {
|
|
61
|
-
type: StringConstructor;
|
|
77
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
62
78
|
default: string;
|
|
63
79
|
};
|
|
64
80
|
type: {
|
|
65
|
-
type: () => "text" | "email" | "password" | "tel" | "url" | "search" | "date" | "datetime-local" | "month" | "week" | "time";
|
|
81
|
+
type: () => "text" | "email" | "password" | "tel" | "url" | "search" | "date" | "datetime-local" | "month" | "week" | "time" | "number";
|
|
66
82
|
default: string;
|
|
67
83
|
};
|
|
68
84
|
size: {
|
|
@@ -109,22 +125,42 @@ declare const meta: {
|
|
|
109
125
|
type: () => "all" | "top" | "bottom" | "left" | "right" | "none";
|
|
110
126
|
default: string;
|
|
111
127
|
};
|
|
128
|
+
min: {
|
|
129
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
130
|
+
default: undefined;
|
|
131
|
+
};
|
|
132
|
+
max: {
|
|
133
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
134
|
+
default: undefined;
|
|
135
|
+
};
|
|
136
|
+
step: {
|
|
137
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
138
|
+
default: undefined;
|
|
139
|
+
};
|
|
140
|
+
autocomplete: {
|
|
141
|
+
type: StringConstructor;
|
|
142
|
+
default: undefined;
|
|
143
|
+
};
|
|
112
144
|
}>> & Readonly<{
|
|
113
145
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
114
146
|
}>, {
|
|
115
147
|
size: "sm" | "md" | "lg";
|
|
116
|
-
type: "time" | "text" | "email" | "password" | "tel" | "url" | "search" | "date" | "datetime-local" | "month" | "week";
|
|
148
|
+
type: "number" | "time" | "text" | "email" | "password" | "tel" | "url" | "search" | "date" | "datetime-local" | "month" | "week";
|
|
117
149
|
disabled: boolean;
|
|
118
150
|
block: boolean;
|
|
119
151
|
rounded: "all" | "top" | "bottom" | "left" | "right" | "none";
|
|
120
152
|
label: string;
|
|
121
153
|
pattern: string;
|
|
122
|
-
modelValue: string;
|
|
154
|
+
modelValue: string | number;
|
|
123
155
|
placeholder: string;
|
|
124
156
|
name: string;
|
|
125
157
|
id: string;
|
|
126
158
|
required: boolean;
|
|
127
159
|
readonly: boolean;
|
|
160
|
+
min: string | number;
|
|
161
|
+
max: string | number;
|
|
162
|
+
step: string | number;
|
|
163
|
+
autocomplete: string;
|
|
128
164
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
129
165
|
tags: string[];
|
|
130
166
|
argTypes: {
|
|
@@ -197,6 +233,24 @@ declare const meta: {
|
|
|
197
233
|
};
|
|
198
234
|
defaultValue: boolean;
|
|
199
235
|
};
|
|
236
|
+
min: {
|
|
237
|
+
control: {
|
|
238
|
+
type: "text";
|
|
239
|
+
};
|
|
240
|
+
defaultValue: undefined;
|
|
241
|
+
};
|
|
242
|
+
max: {
|
|
243
|
+
control: {
|
|
244
|
+
type: "text";
|
|
245
|
+
};
|
|
246
|
+
defaultValue: undefined;
|
|
247
|
+
};
|
|
248
|
+
step: {
|
|
249
|
+
control: {
|
|
250
|
+
type: "text";
|
|
251
|
+
};
|
|
252
|
+
defaultValue: undefined;
|
|
253
|
+
};
|
|
200
254
|
};
|
|
201
255
|
};
|
|
202
256
|
export default meta;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
2
|
modelValue: {
|
|
3
|
-
type: StringConstructor;
|
|
3
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
4
4
|
default: string;
|
|
5
5
|
};
|
|
6
6
|
type: {
|
|
7
|
-
type: () => "text" | "email" | "password" | "tel" | "url" | "search" | "date" | "datetime-local" | "month" | "week" | "time";
|
|
7
|
+
type: () => "text" | "email" | "password" | "tel" | "url" | "search" | "date" | "datetime-local" | "month" | "week" | "time" | "number";
|
|
8
8
|
default: string;
|
|
9
9
|
};
|
|
10
10
|
size: {
|
|
@@ -51,15 +51,31 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
51
51
|
type: () => "all" | "top" | "bottom" | "left" | "right" | "none";
|
|
52
52
|
default: string;
|
|
53
53
|
};
|
|
54
|
+
min: {
|
|
55
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
56
|
+
default: undefined;
|
|
57
|
+
};
|
|
58
|
+
max: {
|
|
59
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
60
|
+
default: undefined;
|
|
61
|
+
};
|
|
62
|
+
step: {
|
|
63
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
64
|
+
default: undefined;
|
|
65
|
+
};
|
|
66
|
+
autocomplete: {
|
|
67
|
+
type: StringConstructor;
|
|
68
|
+
default: undefined;
|
|
69
|
+
};
|
|
54
70
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
55
71
|
"update:modelValue": (value: string) => any;
|
|
56
72
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
57
73
|
modelValue: {
|
|
58
|
-
type: StringConstructor;
|
|
74
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
59
75
|
default: string;
|
|
60
76
|
};
|
|
61
77
|
type: {
|
|
62
|
-
type: () => "text" | "email" | "password" | "tel" | "url" | "search" | "date" | "datetime-local" | "month" | "week" | "time";
|
|
78
|
+
type: () => "text" | "email" | "password" | "tel" | "url" | "search" | "date" | "datetime-local" | "month" | "week" | "time" | "number";
|
|
63
79
|
default: string;
|
|
64
80
|
};
|
|
65
81
|
size: {
|
|
@@ -106,21 +122,41 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
106
122
|
type: () => "all" | "top" | "bottom" | "left" | "right" | "none";
|
|
107
123
|
default: string;
|
|
108
124
|
};
|
|
125
|
+
min: {
|
|
126
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
127
|
+
default: undefined;
|
|
128
|
+
};
|
|
129
|
+
max: {
|
|
130
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
131
|
+
default: undefined;
|
|
132
|
+
};
|
|
133
|
+
step: {
|
|
134
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
135
|
+
default: undefined;
|
|
136
|
+
};
|
|
137
|
+
autocomplete: {
|
|
138
|
+
type: StringConstructor;
|
|
139
|
+
default: undefined;
|
|
140
|
+
};
|
|
109
141
|
}>> & Readonly<{
|
|
110
142
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
111
143
|
}>, {
|
|
112
144
|
size: "sm" | "md" | "lg";
|
|
113
|
-
type: "time" | "text" | "email" | "password" | "tel" | "url" | "search" | "date" | "datetime-local" | "month" | "week";
|
|
145
|
+
type: "number" | "time" | "text" | "email" | "password" | "tel" | "url" | "search" | "date" | "datetime-local" | "month" | "week";
|
|
114
146
|
disabled: boolean;
|
|
115
147
|
block: boolean;
|
|
116
148
|
rounded: "all" | "top" | "bottom" | "left" | "right" | "none";
|
|
117
149
|
label: string;
|
|
118
150
|
pattern: string;
|
|
119
|
-
modelValue: string;
|
|
151
|
+
modelValue: string | number;
|
|
120
152
|
placeholder: string;
|
|
121
153
|
name: string;
|
|
122
154
|
id: string;
|
|
123
155
|
required: boolean;
|
|
124
156
|
readonly: boolean;
|
|
157
|
+
min: string | number;
|
|
158
|
+
max: string | number;
|
|
159
|
+
step: string | number;
|
|
160
|
+
autocomplete: string;
|
|
125
161
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
126
162
|
export default _default;
|