@dronico/droni-kit 1.7.6 → 1.7.7
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 +7 -0
- package/dist/droni-kit.cjs.js +6 -6
- package/dist/droni-kit.es.js +12 -2
- package/dist/stories/Forms/DuiInput.stories.d.ts +15 -0
- package/dist/stories/Forms/DuiInput.vue.d.ts +9 -0
- package/dist/stories/Forms/DuiSelect.stories.d.ts +15 -0
- package/dist/stories/Forms/DuiSelect.vue.d.ts +9 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
## [1.7.7](https://github.com/Droni-app/droni-kit/compare/v1.7.6...v1.7.7) (2025-05-09)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* readonly on inputs ([dbe7c11](https://github.com/Droni-app/droni-kit/commit/dbe7c11b48e48ad1f6678391c0582afd314265dc))
|
|
7
|
+
|
|
1
8
|
## [1.7.6](https://github.com/Droni-app/droni-kit/compare/v1.7.5...v1.7.6) (2025-04-24)
|
|
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`}},s=e.computed(()=>{var t;const
|
|
156
|
+
dk:dark:hover:bg-amber-800`}},s=e.computed(()=>{var t;const k=(((t=n[r.variant])==null?void 0:t[r.color])||"")+" "+n[r.variant].base,i=d[r.size]||"",c=r.block?"dk:w-full":"",u=b[r.rounded]||"";return[v,k,i,c,u].join(" ")});return(k,i)=>(e.openBlock(),e.createElementBlock("button",{type:r.type,class:e.normalizeClass(s.value),title:r.title,disabled:r.disabled||r.loading},[r.loading?(e.openBlock(),e.createElementBlock("span",h,"Cargando...")):e.renderSlot(k.$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"],C=`
|
|
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]`,_=e.defineComponent({__name:"DuiInput",props:{modelValue:{type:String,default:""},type:{type:String,default:"text"},size:{type:String,default:"md"},block:{type:Boolean,default:!1},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},rounded:{type:String,default:"all"}},emits:["update:modelValue"],setup(l,{emit:r}){const d=l,b=r;function n(t){const o=t.target;b("update:modelValue",o.value)}const s={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"},
|
|
168
|
+
dk:dark:[color-scheme:dark]`,_=e.defineComponent({__name:"DuiInput",props:{modelValue:{type:String,default:""},type:{type:String,default:"text"},size:{type:String,default:"md"},block:{type:Boolean,default:!1},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,b=r;function n(t){const o=t.target;b("update:modelValue",o.value)}const s={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"},k={all:"dk:rounded",top:"dk:rounded-t",bottom:"dk:rounded-b",left:"dk:rounded-l",right:"dk:rounded-r",none:"dk:rounded-none"},i={sm:"dk:text-sm dk:pb-0.5",md:"dk:text-base dk:pb-1",lg:"dk:text-lg dk:pb-2"},c=e.computed(()=>{const t=s[d.size]||"",o=d.block?"dk:w-full":"",a=k[d.rounded]||"";return[C,t,o,a].join(" ")}),u=e.computed(()=>{const t=i[d.size]||"",o=d.block?"dk:w-full":"";return[t,o].join(" ")});return(t,o)=>(e.openBlock(),e.createElementBlock("div",null,[d.label?(e.openBlock(),e.createElementBlock("label",{key:0,for:d.id,class:e.normalizeClass([u.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(c.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:n},null,42,S)]))}}),B=["for"],w={key:0,class:"dk:text-rose-500"},V=["value","disabled","placeholder","required","name","id","aria-label","aria-disabled","aria-required"],q=`
|
|
169
169
|
dk:border-b
|
|
170
170
|
dk:border-zinc-300
|
|
171
171
|
dk:bg-zinc-50
|
|
@@ -177,7 +177,7 @@
|
|
|
177
177
|
dk:dark:bg-zinc-800
|
|
178
178
|
dk:dark:text-zinc-100
|
|
179
179
|
dk:dark:focus:bg-zinc-700
|
|
180
|
-
dk:dark:[color-scheme:dark]`,$=e.defineComponent({__name:"DuiTextarea",props:{modelValue:{type:String,default:""},size:{type:String,default:"md"},block:{type:Boolean,default:!1},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},rounded:{type:String,default:"all"},autoheight:{type:Boolean,default:!0},resize:{type:String,default:"none"}},emits:["update:modelValue"],setup(l,{emit:r}){const d=l,b=r;function n(
|
|
180
|
+
dk:dark:[color-scheme:dark]`,$=e.defineComponent({__name:"DuiTextarea",props:{modelValue:{type:String,default:""},size:{type:String,default:"md"},block:{type:Boolean,default:!1},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},rounded:{type:String,default:"all"},autoheight:{type:Boolean,default:!0},resize:{type:String,default:"none"}},emits:["update:modelValue"],setup(l,{emit:r}){const d=l,b=r;function n(a){const p=a.target;d.autoheight&&o(p),b("update:modelValue",p.value)}const s={sm:"dk:text-sm dk:px-3 dk:py-1.5",md:"dk:text-base dk:px-3 dk:py-2",lg:"dk:text-lg dk:px-5 dk:py-3"},k={all:"dk:rounded",top:"dk:rounded-t",bottom:"dk:rounded-b",left:"dk:rounded-l",right:"dk:rounded-r",none:"dk:rounded-none"},i={sm:"dk:text-sm dk:pb-0.5",md:"dk:text-base dk:pb-1",lg:"dk:text-lg dk:pb-2"},c={none:"dk:resize-none",both:"dk:resize",horizontal:"dk:resize-x",vertical:"dk:resize-y"},u=e.computed(()=>{const a=s[d.size]||"",p=d.block?"dk:w-full":"",m=k[d.rounded]||"",g=c[d.resize]||"";return[q,a,p,m,g].join(" ")}),t=e.computed(()=>{const a=i[d.size]||"",p=d.block?"dk:w-full":"";return[a,p].join(" ")}),o=a=>{a.style.height="auto",a.style.height=`${a.scrollHeight+5}px`};return(a,p)=>(e.openBlock(),e.createElementBlock("div",null,[d.label?(e.openBlock(),e.createElementBlock("label",{key:0,for:d.id,class:e.normalizeClass([t.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",w,"*")):e.createCommentVNode("",!0)],10,B)):e.createCommentVNode("",!0),e.createElementVNode("textarea",{class:e.normalizeClass(u.value),value:l.modelValue,disabled:d.disabled,placeholder:d.placeholder,required:d.required,name:d.name,id:d.id,"aria-label":d.placeholder,"aria-disabled":d.disabled,"aria-required":d.required,onInput:n},null,42,V)]))}}),E=["title"],D={key:1},N=`
|
|
181
181
|
dk:transition
|
|
182
182
|
dk:text-center
|
|
183
183
|
dk:disabled:opacity-50
|
|
@@ -332,7 +332,7 @@
|
|
|
332
332
|
dk:text-amber-600
|
|
333
333
|
dk:hover:bg-amber-50
|
|
334
334
|
dk:dark:text-amber-100
|
|
335
|
-
dk:dark:hover:bg-amber-800`}},s=e.computed(()=>{var t;const
|
|
335
|
+
dk:dark:hover:bg-amber-800`}},s=e.computed(()=>{var t;const k=(((t=n[r.variant])==null?void 0:t[r.color])||"")+" "+n[r.variant].base,i=d[r.size]||"",c=r.block?"dk:block":"dk:inline-block",u=b[r.rounded]||"";return[N,k,i,c,u].join(" ")});return(k,i)=>(e.openBlock(),e.createElementBlock("span",{class:e.normalizeClass(s.value),title:r.title},[r.loading?(e.openBlock(),e.createElementBlock("span",D,"Cargando...")):e.renderSlot(k.$slots,"default",{key:0})],10,E))}}),L=["for"],T={key:0,class:"dk:text-rose-500"},A=["id","name","disabled","required","readonly","aria-label","aria-disabled","aria-required"],I={key:0,disabled:"",selected:"",hidden:""},F=["value","selected"],H=`
|
|
336
336
|
dk:border-b
|
|
337
337
|
dk:border-zinc-300
|
|
338
338
|
dk:bg-zinc-50
|
|
@@ -345,10 +345,10 @@
|
|
|
345
345
|
dk:dark:text-zinc-100
|
|
346
346
|
dk:dark:focus:bg-zinc-700
|
|
347
347
|
dk:dark:[color-scheme:dark]
|
|
348
|
-
`,M=e.defineComponent({__name:"DuiSelect",props:{modelValue:{type:String,default:""},options:{type:Array,default:()=>[]},size:{type:String,default:"md"},block:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},name:{type:String,default:void 0},id:{type:String,default:void 0},required:{type:Boolean,default:!1},label:{type:String,default:void 0},placeholder:{type:String,default:void 0},rounded:{type:String,default:"all"},itemLabel:{type:String,default:"label"},itemValue:{type:String,default:"value"}},emits:["update:modelValue"],setup(l,{emit:r}){const d=l,b=r;function n(t){const o=t.target;b("update:modelValue",o.value)}const s={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"},
|
|
348
|
+
`,M=e.defineComponent({__name:"DuiSelect",props:{modelValue:{type:String,default:""},options:{type:Array,default:()=>[]},size:{type:String,default:"md"},block:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},name:{type:String,default:void 0},id:{type:String,default:void 0},required:{type:Boolean,default:!1},label:{type:String,default:void 0},placeholder:{type:String,default:void 0},readonly:{type:Boolean,default:!1},rounded:{type:String,default:"all"},itemLabel:{type:String,default:"label"},itemValue:{type:String,default:"value"}},emits:["update:modelValue"],setup(l,{emit:r}){const d=l,b=r;function n(t){const o=t.target;b("update:modelValue",o.value)}const s={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"},k={all:"dk:rounded",top:"dk:rounded-t",bottom:"dk:rounded-b",left:"dk:rounded-l",right:"dk:rounded-r",none:"dk:rounded-none"},i={sm:"dk:text-sm dk:pb-0.5",md:"dk:text-base dk:pb-1",lg:"dk:text-lg dk:pb-2"},c=e.computed(()=>{const t=s[d.size]||"",o=d.block?"dk:w-full":"",a=k[d.rounded]||"";return[H,t,o,a].join(" ")}),u=e.computed(()=>{const t=i[d.size]||"",o=d.block?"dk:w-full":"";return[t,o].join(" ")});return(t,o)=>(e.openBlock(),e.createElementBlock("div",null,[d.label?(e.openBlock(),e.createElementBlock("label",{key:0,for:d.id,class:e.normalizeClass([u.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",T,"*")):e.createCommentVNode("",!0)],10,L)):e.createCommentVNode("",!0),e.createElementVNode("select",{id:d.id,name:d.name,disabled:d.disabled,required:d.required,class:e.normalizeClass(c.value),readonly:d.readonly,"aria-label":d.label||"select input","aria-disabled":d.disabled,"aria-required":d.required,onChange:n},[d.placeholder?(e.openBlock(),e.createElementBlock("option",I,e.toDisplayString(d.placeholder),1)):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(d.options,(a,p)=>(e.openBlock(),e.createElementBlock("option",{key:p,value:a[d.itemValue]??"",selected:a[d.itemValue]==d.modelValue},e.toDisplayString(a[d.itemLabel]??""),9,F))),128))],42,A)]))}}),O=`
|
|
349
349
|
dk:px-4
|
|
350
350
|
dk:py-3
|
|
351
351
|
dk:text-sm
|
|
352
352
|
dk:leading-relaxed
|
|
353
353
|
dk:max-w-full
|
|
354
|
-
`,P=e.defineComponent({__name:"DuiAlert",props:{variant:{type:String,default:"solid"},color:{type:String,default:"neutral"},rounded:{type:String,default:"all"}},setup(l){const r=l,d={all:"dk:rounded",top:"dk:rounded-t",bottom:"dk:rounded-b",left:"dk:rounded-l",right:"dk:rounded-r",none:"dk:rounded-none"},b={solid:{base:"",neutral:"dk:bg-zinc-200 dk:text-zinc-800 dk:dark:bg-zinc-700 dk:dark:text-zinc-100",primary:"dk:bg-slate-200 dk:text-slate-800 dk:dark:bg-slate-700 dk:dark:text-slate-100",secondary:"dk:bg-pink-200 dk:text-pink-800 dk:dark:bg-pink-700 dk:dark:text-pink-100",success:"dk:bg-emerald-200 dk:text-emerald-800 dk:dark:bg-emerald-700 dk:dark:text-emerald-100",warning:"dk:bg-amber-200 dk:text-amber-800 dk:dark:bg-amber-700 dk:dark:text-amber-100",danger:"dk:bg-rose-200 dk:text-rose-800 dk:dark:bg-rose-700 dk:dark:text-rose-100"},outline:{base:"dk:border",neutral:"dk:border-zinc-400 dk:text-zinc-700 dk:dark:border-zinc-500 dk:dark:text-zinc-200",primary:"dk:border-slate-400 dk:text-slate-700 dk:dark:border-slate-500 dk:dark:text-slate-200",secondary:"dk:border-pink-400 dk:text-pink-700 dk:dark:border-pink-500 dk:dark:text-pink-200",success:"dk:border-green-400 dk:text-green-700 dk:dark:border-green-500 dk:dark:text-green-200",warning:"dk:border-yellow-400 dk:text-yellow-700 dk:dark:border-yellow-500 dk:dark:text-yellow-200",danger:"dk:border-red-400 dk:text-red-700 dk:dark:border-red-500 dk:dark:text-red-200"},ghost:{base:"",neutral:"dk:text-zinc-700 dk:dark:text-zinc-200 dk:bg-zinc-50 dk:dark:bg-zinc-800",primary:"dk:text-slate-700 dk:dark:text-slate-200 dk:bg-slate-50 dk:dark:bg-slate-800",secondary:"dk:text-pink-700 dk:dark:text-pink-200 dk:bg-pink-50 dk:dark:bg-pink-800",success:"dk:text-emerald-700 dk:dark:text-emerald-200 dk:bg-emerald-50 dk:dark:bg-emerald-800",warning:"dk:text-amber-700 dk:dark:text-amber-200 dk:bg-amber-50 dk:dark:bg-amber-800",danger:"dk:text-rose-700 dk:dark:text-rose-200 dk:bg-rose-50 dk:dark:bg-rose-800"}},n=e.computed(()=>{var c;const s=((c=b[r.variant])==null?void 0:c[r.color])||"",
|
|
354
|
+
`,P=e.defineComponent({__name:"DuiAlert",props:{variant:{type:String,default:"solid"},color:{type:String,default:"neutral"},rounded:{type:String,default:"all"}},setup(l){const r=l,d={all:"dk:rounded",top:"dk:rounded-t",bottom:"dk:rounded-b",left:"dk:rounded-l",right:"dk:rounded-r",none:"dk:rounded-none"},b={solid:{base:"",neutral:"dk:bg-zinc-200 dk:text-zinc-800 dk:dark:bg-zinc-700 dk:dark:text-zinc-100",primary:"dk:bg-slate-200 dk:text-slate-800 dk:dark:bg-slate-700 dk:dark:text-slate-100",secondary:"dk:bg-pink-200 dk:text-pink-800 dk:dark:bg-pink-700 dk:dark:text-pink-100",success:"dk:bg-emerald-200 dk:text-emerald-800 dk:dark:bg-emerald-700 dk:dark:text-emerald-100",warning:"dk:bg-amber-200 dk:text-amber-800 dk:dark:bg-amber-700 dk:dark:text-amber-100",danger:"dk:bg-rose-200 dk:text-rose-800 dk:dark:bg-rose-700 dk:dark:text-rose-100"},outline:{base:"dk:border",neutral:"dk:border-zinc-400 dk:text-zinc-700 dk:dark:border-zinc-500 dk:dark:text-zinc-200",primary:"dk:border-slate-400 dk:text-slate-700 dk:dark:border-slate-500 dk:dark:text-slate-200",secondary:"dk:border-pink-400 dk:text-pink-700 dk:dark:border-pink-500 dk:dark:text-pink-200",success:"dk:border-green-400 dk:text-green-700 dk:dark:border-green-500 dk:dark:text-green-200",warning:"dk:border-yellow-400 dk:text-yellow-700 dk:dark:border-yellow-500 dk:dark:text-yellow-200",danger:"dk:border-red-400 dk:text-red-700 dk:dark:border-red-500 dk:dark:text-red-200"},ghost:{base:"",neutral:"dk:text-zinc-700 dk:dark:text-zinc-200 dk:bg-zinc-50 dk:dark:bg-zinc-800",primary:"dk:text-slate-700 dk:dark:text-slate-200 dk:bg-slate-50 dk:dark:bg-slate-800",secondary:"dk:text-pink-700 dk:dark:text-pink-200 dk:bg-pink-50 dk:dark:bg-pink-800",success:"dk:text-emerald-700 dk:dark:text-emerald-200 dk:bg-emerald-50 dk:dark:bg-emerald-800",warning:"dk:text-amber-700 dk:dark:text-amber-200 dk:bg-amber-50 dk:dark:bg-amber-800",danger:"dk:text-rose-700 dk:dark:text-rose-200 dk:bg-rose-50 dk:dark:bg-rose-800"}},n=e.computed(()=>{var c;const s=((c=b[r.variant])==null?void 0:c[r.color])||"",k=b[r.variant].base||"",i=d[r.rounded]||"";return[O,k,s,i].join(" ")});return(s,k)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(n.value),role:"alert"},[e.renderSlot(s.$slots,"default")],2))}});exports.DuiAction=j;exports.DuiAlert=P;exports.DuiButton=y;exports.DuiInput=_;exports.DuiSelect=M;exports.DuiTextarea=$;
|
package/dist/droni-kit.es.js
CHANGED
|
@@ -251,7 +251,7 @@ const $ = ["type", "title", "disabled"], B = { key: 1 }, V = `
|
|
|
251
251
|
}), D = ["for"], j = {
|
|
252
252
|
key: 0,
|
|
253
253
|
class: "dk:text-rose-500"
|
|
254
|
-
}, L = ["type", "value", "disabled", "placeholder", "required", "name", "id", "pattern", "aria-label", "aria-disabled", "aria-required"], A = `
|
|
254
|
+
}, L = ["type", "value", "disabled", "placeholder", "required", "name", "id", "pattern", "readonly", "aria-label", "aria-disabled", "aria-required"], A = `
|
|
255
255
|
dk:border-b
|
|
256
256
|
dk:border-zinc-300
|
|
257
257
|
dk:bg-zinc-50
|
|
@@ -310,6 +310,10 @@ const $ = ["type", "title", "disabled"], B = { key: 1 }, V = `
|
|
|
310
310
|
type: String,
|
|
311
311
|
default: void 0
|
|
312
312
|
},
|
|
313
|
+
readonly: {
|
|
314
|
+
type: Boolean,
|
|
315
|
+
default: !1
|
|
316
|
+
},
|
|
313
317
|
rounded: {
|
|
314
318
|
type: String,
|
|
315
319
|
default: "all"
|
|
@@ -363,6 +367,7 @@ const $ = ["type", "title", "disabled"], B = { key: 1 }, V = `
|
|
|
363
367
|
name: e.name,
|
|
364
368
|
id: e.id,
|
|
365
369
|
pattern: e.pattern,
|
|
370
|
+
readonly: e.readonly,
|
|
366
371
|
"aria-label": e.placeholder,
|
|
367
372
|
"aria-disabled": e.disabled,
|
|
368
373
|
"aria-required": e.required,
|
|
@@ -739,7 +744,7 @@ const $ = ["type", "title", "disabled"], B = { key: 1 }, V = `
|
|
|
739
744
|
}), G = ["for"], J = {
|
|
740
745
|
key: 0,
|
|
741
746
|
class: "dk:text-rose-500"
|
|
742
|
-
}, K = ["id", "name", "disabled", "required", "aria-label", "aria-disabled", "aria-required"], M = {
|
|
747
|
+
}, K = ["id", "name", "disabled", "required", "readonly", "aria-label", "aria-disabled", "aria-required"], M = {
|
|
743
748
|
key: 0,
|
|
744
749
|
disabled: "",
|
|
745
750
|
selected: "",
|
|
@@ -800,6 +805,10 @@ const $ = ["type", "title", "disabled"], B = { key: 1 }, V = `
|
|
|
800
805
|
type: String,
|
|
801
806
|
default: void 0
|
|
802
807
|
},
|
|
808
|
+
readonly: {
|
|
809
|
+
type: Boolean,
|
|
810
|
+
default: !1
|
|
811
|
+
},
|
|
803
812
|
rounded: {
|
|
804
813
|
type: String,
|
|
805
814
|
default: "all"
|
|
@@ -857,6 +866,7 @@ const $ = ["type", "title", "disabled"], B = { key: 1 }, V = `
|
|
|
857
866
|
disabled: e.disabled,
|
|
858
867
|
required: e.required,
|
|
859
868
|
class: m(u.value),
|
|
869
|
+
readonly: e.readonly,
|
|
860
870
|
"aria-label": e.label || "select input",
|
|
861
871
|
"aria-disabled": e.disabled,
|
|
862
872
|
"aria-required": e.required,
|
|
@@ -46,6 +46,10 @@ declare const meta: {
|
|
|
46
46
|
type: StringConstructor;
|
|
47
47
|
default: undefined;
|
|
48
48
|
};
|
|
49
|
+
readonly: {
|
|
50
|
+
type: BooleanConstructor;
|
|
51
|
+
default: boolean;
|
|
52
|
+
};
|
|
49
53
|
rounded: {
|
|
50
54
|
type: () => "all" | "top" | "bottom" | "left" | "right" | "none";
|
|
51
55
|
default: string;
|
|
@@ -97,6 +101,10 @@ declare const meta: {
|
|
|
97
101
|
type: StringConstructor;
|
|
98
102
|
default: undefined;
|
|
99
103
|
};
|
|
104
|
+
readonly: {
|
|
105
|
+
type: BooleanConstructor;
|
|
106
|
+
default: boolean;
|
|
107
|
+
};
|
|
100
108
|
rounded: {
|
|
101
109
|
type: () => "all" | "top" | "bottom" | "left" | "right" | "none";
|
|
102
110
|
default: string;
|
|
@@ -116,6 +124,7 @@ declare const meta: {
|
|
|
116
124
|
name: string;
|
|
117
125
|
id: string;
|
|
118
126
|
required: boolean;
|
|
127
|
+
readonly: boolean;
|
|
119
128
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
120
129
|
tags: string[];
|
|
121
130
|
argTypes: {
|
|
@@ -182,6 +191,12 @@ declare const meta: {
|
|
|
182
191
|
options: string[];
|
|
183
192
|
defaultValue: string;
|
|
184
193
|
};
|
|
194
|
+
readonly: {
|
|
195
|
+
control: {
|
|
196
|
+
type: "boolean";
|
|
197
|
+
};
|
|
198
|
+
defaultValue: boolean;
|
|
199
|
+
};
|
|
185
200
|
};
|
|
186
201
|
};
|
|
187
202
|
export default meta;
|
|
@@ -43,6 +43,10 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
43
43
|
type: StringConstructor;
|
|
44
44
|
default: undefined;
|
|
45
45
|
};
|
|
46
|
+
readonly: {
|
|
47
|
+
type: BooleanConstructor;
|
|
48
|
+
default: boolean;
|
|
49
|
+
};
|
|
46
50
|
rounded: {
|
|
47
51
|
type: () => "all" | "top" | "bottom" | "left" | "right" | "none";
|
|
48
52
|
default: string;
|
|
@@ -94,6 +98,10 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
94
98
|
type: StringConstructor;
|
|
95
99
|
default: undefined;
|
|
96
100
|
};
|
|
101
|
+
readonly: {
|
|
102
|
+
type: BooleanConstructor;
|
|
103
|
+
default: boolean;
|
|
104
|
+
};
|
|
97
105
|
rounded: {
|
|
98
106
|
type: () => "all" | "top" | "bottom" | "left" | "right" | "none";
|
|
99
107
|
default: string;
|
|
@@ -113,5 +121,6 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
113
121
|
name: string;
|
|
114
122
|
id: string;
|
|
115
123
|
required: boolean;
|
|
124
|
+
readonly: boolean;
|
|
116
125
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
117
126
|
export default _default;
|
|
@@ -42,6 +42,10 @@ declare const meta: {
|
|
|
42
42
|
type: StringConstructor;
|
|
43
43
|
default: undefined;
|
|
44
44
|
};
|
|
45
|
+
readonly: {
|
|
46
|
+
type: BooleanConstructor;
|
|
47
|
+
default: boolean;
|
|
48
|
+
};
|
|
45
49
|
rounded: {
|
|
46
50
|
type: () => "all" | "top" | "bottom" | "left" | "right" | "none";
|
|
47
51
|
default: string;
|
|
@@ -97,6 +101,10 @@ declare const meta: {
|
|
|
97
101
|
type: StringConstructor;
|
|
98
102
|
default: undefined;
|
|
99
103
|
};
|
|
104
|
+
readonly: {
|
|
105
|
+
type: BooleanConstructor;
|
|
106
|
+
default: boolean;
|
|
107
|
+
};
|
|
100
108
|
rounded: {
|
|
101
109
|
type: () => "all" | "top" | "bottom" | "left" | "right" | "none";
|
|
102
110
|
default: string;
|
|
@@ -122,6 +130,7 @@ declare const meta: {
|
|
|
122
130
|
name: string;
|
|
123
131
|
id: string;
|
|
124
132
|
required: boolean;
|
|
133
|
+
readonly: boolean;
|
|
125
134
|
options: Record<string, any>[];
|
|
126
135
|
itemLabel: string;
|
|
127
136
|
itemValue: string;
|
|
@@ -187,6 +196,12 @@ declare const meta: {
|
|
|
187
196
|
value: string;
|
|
188
197
|
}[];
|
|
189
198
|
};
|
|
199
|
+
readonly: {
|
|
200
|
+
control: {
|
|
201
|
+
type: "boolean";
|
|
202
|
+
};
|
|
203
|
+
defaultValue: boolean;
|
|
204
|
+
};
|
|
190
205
|
};
|
|
191
206
|
};
|
|
192
207
|
export default meta;
|
|
@@ -39,6 +39,10 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
39
39
|
type: StringConstructor;
|
|
40
40
|
default: undefined;
|
|
41
41
|
};
|
|
42
|
+
readonly: {
|
|
43
|
+
type: BooleanConstructor;
|
|
44
|
+
default: boolean;
|
|
45
|
+
};
|
|
42
46
|
rounded: {
|
|
43
47
|
type: () => "all" | "top" | "bottom" | "left" | "right" | "none";
|
|
44
48
|
default: string;
|
|
@@ -94,6 +98,10 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
94
98
|
type: StringConstructor;
|
|
95
99
|
default: undefined;
|
|
96
100
|
};
|
|
101
|
+
readonly: {
|
|
102
|
+
type: BooleanConstructor;
|
|
103
|
+
default: boolean;
|
|
104
|
+
};
|
|
97
105
|
rounded: {
|
|
98
106
|
type: () => "all" | "top" | "bottom" | "left" | "right" | "none";
|
|
99
107
|
default: string;
|
|
@@ -119,6 +127,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
119
127
|
name: string;
|
|
120
128
|
id: string;
|
|
121
129
|
required: boolean;
|
|
130
|
+
readonly: boolean;
|
|
122
131
|
options: Record<string, any>[];
|
|
123
132
|
itemLabel: string;
|
|
124
133
|
itemValue: string;
|