@e-xode/vui 0.6.9 → 0.7.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/doc/assets/{alert-Dv5B896E.js → alert-BBjxjIYQ.js} +1 -1
- package/dist/doc/assets/{alert-CjYfnkgY.js → alert-Ci9G_Xbl.js} +1 -1
- package/dist/doc/assets/{button-BiUDTpHI.js → button-AZkGiKJz.js} +1 -1
- package/dist/doc/assets/{button-0GcTFHSi.js → button-aM2Ty17x.js} +1 -1
- package/dist/doc/assets/{card-BSHBp5H2.js → card-Dro-2qhH.js} +1 -1
- package/dist/doc/assets/{card-Chf4PL7v.js → card-GjtJuIhZ.js} +1 -1
- package/dist/doc/assets/{checkbox-DqWZaBiH.js → checkbox-BkHRvdA5.js} +1 -1
- package/dist/doc/assets/{checkbox-CndsCrpw.js → checkbox-Cp-lK14-.js} +1 -1
- package/dist/doc/assets/{component-CRjEDIeL.js → component-zSZRDW19.js} +1 -1
- package/dist/doc/assets/{default-BGdD15yH.js → default-CLRvx0EM.js} +1 -1
- package/dist/doc/assets/{demonstrable-DoDjrIlv.js → demonstrable-CBEr3Dc5.js} +1 -1
- package/dist/doc/assets/dropdown-7vzcI5o3.js +1 -0
- package/dist/doc/assets/{dropdown-DE0RkMrn.js → dropdown-CLYASRzv.js} +1 -1
- package/dist/doc/assets/{footer-ZKa9EX9c.js → footer-0Nol1lGe.js} +1 -1
- package/dist/doc/assets/{footer-QuG2cPMr.js → footer-OlxZPCKE.js} +1 -1
- package/dist/doc/assets/{form-BQktZa2P.js → form-BSKjRhoj.js} +1 -1
- package/dist/doc/assets/{form-BufwdW7J.js → form-D_Xvpl1o.js} +1 -1
- package/dist/doc/assets/{grid-BPofjRVD.js → grid-9ZYvD8cA.js} +1 -1
- package/dist/doc/assets/{grid-Bb5Dvs-l.js → grid-uMlfJ0Zu.js} +1 -1
- package/dist/doc/assets/{header-D3RtYpzx.js → header-DEW5JrUy.js} +1 -1
- package/dist/doc/assets/{header-BIii_sel.js → header-DkZ7LnIZ.js} +1 -1
- package/dist/doc/assets/{index-BTkXFI8q.js → index-CXVfKCPR.js} +3 -3
- package/dist/doc/assets/{index-B9J_Vhzy.js → index-DGUT4ewl.js} +1 -1
- package/dist/doc/assets/{input-CIyXwPJo.js → input-D_kP_2ML.js} +1 -1
- package/dist/doc/assets/{input-DhEvJPvY.js → input-VSM7Q0kg.js} +1 -1
- package/dist/doc/assets/{list-6T_m0poQ.js → list-BZb1aorL.js} +1 -1
- package/dist/doc/assets/{list-CM39BhXG.js → list-Leh1yQmW.js} +1 -1
- package/dist/doc/assets/{loader-C9zMMltn.js → loader-D6DkOZ8i.js} +1 -1
- package/dist/doc/assets/{loader-Cq-sKRvC.js → loader-j01qSV40.js} +1 -1
- package/dist/doc/assets/{modal-C53ocn5e.js → modal-FMP_4drO.js} +1 -1
- package/dist/doc/assets/{modal-GnTlL4YH.js → modal-lErEuEzO.js} +1 -1
- package/dist/doc/assets/{nav-BpjBJvti.js → nav-CKk3_ruI.js} +1 -1
- package/dist/doc/assets/{nav-zPqs5uBf.js → nav-EucFvkvm.js} +1 -1
- package/dist/doc/assets/{page-SGBLPlKo.js → page-9v9_Ju9t.js} +1 -1
- package/dist/doc/assets/{page-TW0mWSQ1.js → page-Dhr7CkBW.js} +1 -1
- package/dist/doc/assets/{pager-Bg7nlzpl.js → pager-B_pu0IcC.js} +1 -1
- package/dist/doc/assets/{pager-RDLltlHx.js → pager-CtDr-L4M.js} +1 -1
- package/dist/doc/assets/{progress-CLQ57-Rn.js → progress-BF_CMK-L.js} +1 -1
- package/dist/doc/assets/{progress-B17kvYeL.js → progress-COHwzKtv.js} +1 -1
- package/dist/doc/assets/{radio-BhS7ejUd.js → radio-BFPB0B01.js} +1 -1
- package/dist/doc/assets/{radio-BYvvsNUN.js → radio-PxaxW9tr.js} +1 -1
- package/dist/doc/assets/{start-BV6lGp3K.js → start-BZc0IFKA.js} +1 -1
- package/dist/doc/assets/{table-BiNwpYJv.js → table-BUyAHD0I.js} +1 -1
- package/dist/doc/assets/{table-iZQFAIYB.js → table-ByuJglma.js} +1 -1
- package/dist/doc/assets/{tabs-CDrn7gwB.js → tabs-CjjUUmcy.js} +1 -1
- package/dist/doc/assets/{tabs-D5P3KDps.js → tabs-DhIeu4y7.js} +1 -1
- package/dist/doc/assets/{tag-C8ZH7AA8.js → tag-CBpmR7kD.js} +1 -1
- package/dist/doc/assets/{tag-Dtea5pEP.js → tag-SxchRyNr.js} +1 -1
- package/dist/doc/assets/{toggle-B9UDc3mD.js → toggle-BPh2pNn-.js} +1 -1
- package/dist/doc/assets/{toggle-DdZEGhQq.js → toggle-csRvSqaz.js} +1 -1
- package/dist/doc/assets/{tooltip-DpfGqhtH.js → tooltip-2A9ZTIcv.js} +1 -1
- package/dist/doc/assets/{tooltip-e4tMYlM-.js → tooltip-_ZLfyOrN.js} +1 -1
- package/dist/doc/assets/{translatable-C-odWYJj.js → translatable-BfRM2PCZ.js} +1 -1
- package/dist/doc/assets/{unit-Nmo6cT5V.js → unit-Dp7j4N4e.js} +1 -1
- package/dist/doc/assets/{unit-DLLXuLch.js → unit-zA8UNlD5.js} +1 -1
- package/dist/doc/index.html +1 -1
- package/dist/{dropdown-DRWYotec.js → dropdown-DQFoAGhr.js} +54 -39
- package/dist/dropdown-DvmYWd27.js +1 -0
- package/dist/vui.esm.js +1 -1
- package/dist/vui.js +1 -1
- package/dist/vui.umd.js +1 -1
- package/package.json +1 -1
- package/dist/doc/assets/dropdown-BdQMe_FS.js +0 -1
- package/dist/dropdown-BYoP3RV5.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{d as f}from"./demonstrable-
|
|
1
|
+
import{d as f}from"./demonstrable-CBEr3Dc5.js";import{t as h}from"./translatable-BfRM2PCZ.js";import v from"./alert-Ci9G_Xbl.js";import{_,a as r,b as o,w as n,r as s,o as a,F as l,g as x,h as y,e as b,t as p,f as w,m as k,i as B,d as c}from"./index-CXVfKCPR.js";import"./composable-CshUTKfl.js";const S={"page.component.alert.default":"Default alert","page.component.alert.error":"Error custom alert","page.component.alert.success":"Success custom alert","page.component.alert.warning":"Warning custom alert","page.component.alert.text-2":"Advanced alert","page.component.alert.doc.prop.disabled":"Binds the disabled state","page.component.alert.doc.prop.icon":"Class name of the icon to prepend","page.component.alert.doc.prop.loading":"Binds the loading state","page.component.alert.doc.prop.text":"Text content of the alert","page.component.alert.doc.prop.layout":"The alert layout: [error, success, warning]","page.component.card.doc.slot.default":"Default slot content"},$={},V={en:S,fr:$},i={examples:[{markup:`
|
|
2
2
|
<vui-alert
|
|
3
3
|
icon="fa-solid fa-warning"
|
|
4
4
|
>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as n}from"./composable-CshUTKfl.js";import{t as r}from"./translatable-
|
|
1
|
+
import{c as n}from"./composable-CshUTKfl.js";import{t as r}from"./translatable-BfRM2PCZ.js";import{_ as i,a as o,j as s,n as t,o as a,f as l,e as p,t as c}from"./index-CXVfKCPR.js";const d={},m={},u={en:d,fr:m},f={icon:{type:String},text:{type:String}},$={name:"VuiAlert",mixins:[n],props:f,created(){r(u)}},y=["id"];function g(e,v,S,V,k,b){return a(),o("div",{id:e.componentId,class:t(["vui-alert",`vui-alert--${e.layout}`,e.$props.class])},[s(e.$slots,"prepend"),s(e.$slots,"icon",{},()=>[e.icon?(a(),o("i",{key:0,class:t(["vui-alert-icon",e.icon])},null,2)):l("",!0)]),s(e.$slots,"default",{},()=>[p(c(e.text),1)]),s(e.$slots,"append")],10,y)}const C=i($,[["render",g]]);export{C as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{d as h}from"./demonstrable-
|
|
1
|
+
import{d as h}from"./demonstrable-CBEr3Dc5.js";import{t as v}from"./translatable-BfRM2PCZ.js";import _ from"./button-aM2Ty17x.js";import{_ as y,a as i,b as a,w as r,r as d,o as s,F as l,g as x,h as k,e as w,t as c,f as B,m as C,i as D,d as b}from"./index-CXVfKCPR.js";import"./animable-S5zFcxd4.js";import"./composable-CshUTKfl.js";const S={"page.component.button.default":"Default button","page.component.button.error":"Error submit button","page.component.button.disabled":"Disabled button","page.component.button.success":"Success submit button","page.component.button.warning":"Warning submit button","page.component.button.doc.prop.disabled":"Binds the disabled state","page.component.button.doc.prop.icon":"Class name of the icon to prepend","page.component.button.doc.prop.loading":"Binds the loading state","page.component.button.doc.prop.type":"Type of button: submit or button","page.component.button.doc.slot.default":"Default slot for button content"},V={},$={en:S,fr:V},p={attrs:[],examples:[{markup:`
|
|
2
2
|
<vui-button
|
|
3
3
|
type="button"
|
|
4
4
|
>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as d}from"./animable-S5zFcxd4.js";import{c as r}from"./composable-CshUTKfl.js";import{_ as b,a as i,j as o,d as l,n,f as p,k as m,o as a,e as c,t as f}from"./index-
|
|
1
|
+
import{a as d}from"./animable-S5zFcxd4.js";import{c as r}from"./composable-CshUTKfl.js";import{_ as b,a as i,j as o,d as l,n,f as p,k as m,o as a,e as c,t as f}from"./index-CXVfKCPR.js";import{t as h}from"./translatable-BfRM2PCZ.js";const g={},v={},y={en:g,fr:v},k={icon:{type:String},route:{type:Object},text:{type:String},type:{type:String,default:"button"}},$={name:"VuiButton",mixins:[d,r],props:k,computed:{hasLabel(){var t;return((t=this.text)==null?void 0:t.length)>0||this.$slots.default}},created(){h(y)},methods:{onClick(){this.disabled||(this.onAnimate(),this.route&&this.$router.push(this.route))}}},C=["id"],B=["disabled","type"],S=l("div",{class:"vui-button-loader"},null,-1);function V(t,s,w,N,j,e){return a(),i("div",{id:t.componentId,class:n(["vui-button",`vui-button--${t.layout}`,{"vui-button--flat":t.hasAttribute("flat")},{"vui-button--with-label":e.hasLabel},{"vui-button--with-icon":t.icon},{"vui-button--toggled":t.toggled},{"vui-button--animating":!t.disabled&&t.animating},{"vui-button--loading":!t.disabled&&t.loading},{"vui-button--disabled":t.disabled},t.$props.class]),onClick:s[0]||(s[0]=m((...u)=>e.onClick&&e.onClick(...u),["stop"]))},[o(t.$slots,"prepend"),l("button",{class:"vui-button-holder",disabled:t.disabled,type:t.type},[t.icon?(a(),i("i",{key:0,class:n(["vui-button-icon",t.icon])},null,2)):p("",!0),o(t.$slots,"default",{},()=>[c(f(t.text),1)])],8,B),S,o(t.$slots,"append")],10,C)}const E=b($,[["render",V]]);export{E as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{d as f}from"./demonstrable-
|
|
1
|
+
import{d as f}from"./demonstrable-CBEr3Dc5.js";import{t as b}from"./translatable-BfRM2PCZ.js";import _ from"./card-GjtJuIhZ.js";import{_ as v,a as p,b as t,w as a,r as n,o as s,F as i,g as x,m as k,l as S,e as l,t as r,d}from"./index-CXVfKCPR.js";import"./index-7pe20t8n.js";import"./composable-CshUTKfl.js";const u={attrs:[{name:"flat",text:"page.component.card.doc.attr.flat"}],examples:[{markup:`
|
|
2
2
|
<vui-card
|
|
3
3
|
layout="warning"
|
|
4
4
|
>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{l as t}from"./index-7pe20t8n.js";import{c as d}from"./composable-CshUTKfl.js";import{t as l}from"./translatable-
|
|
1
|
+
import{l as t}from"./index-7pe20t8n.js";import{c as d}from"./composable-CshUTKfl.js";import{t as l}from"./translatable-BfRM2PCZ.js";import{_ as i,a as e,j as o,f as r,n,o as a}from"./index-CXVfKCPR.js";const p={name:"VuiCard",mixins:[d],created(){l(t)}},u=["id"],c={key:0,class:"vui-card-header"},f={key:1,class:"vui-card-body"},m={key:2,class:"vui-card-footer"};function $(s,v,h,y,b,k){return a(),e("div",{id:s.componentId,class:n(["vui-card",`vui-card--${s.layout}`,{"vui-card--flat":s.hasAttribute("flat")},s.$props.class])},[o(s.$slots,"prepend"),s.$slots.header?(a(),e("div",c,[o(s.$slots,"header")])):r("",!0),s.$slots.body||s.$slots.default?(a(),e("div",f,[o(s.$slots,"body"),o(s.$slots,"default")])):r("",!0),s.$slots.footer?(a(),e("div",m,[o(s.$slots,"footer")])):r("",!0),o(s.$slots,"append")],10,u)}const g=i(p,[["render",$]]);export{g as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as u}from"./composable-CshUTKfl.js";import{t as c}from"./translatable-
|
|
1
|
+
import{c as u}from"./composable-CshUTKfl.js";import{t as c}from"./translatable-BfRM2PCZ.js";import{_ as h,a,j as s,n as i,f as d,d as r,o as l,e as f,t as k}from"./index-CXVfKCPR.js";const g={},b={},m={en:g,fr:b},p={checked:{default:void 0,type:Boolean},checkedValue:{default:void 0,types:[Boolean,String,Number,null]},icon:{type:String,default:"fa-square"},iconChecked:{type:String,default:"fa-square-check"},modelValue:{default:void 0,types:[Boolean,String,Number,null]},name:{default:void 0,type:String},text:{default:void 0,type:String},uncheckedValue:{default:void 0,types:[Boolean,String,Number,null]},value:{default:void 0,types:[Boolean,String,Number,null]}},v={name:"VuiCheckbox",mixins:[u],props:p,emits:["update:model-value"],data(){return{toggled:!1}},computed:{hasLabel(){return this.$slots.default||this.text},isChecked(){return this.hasProp("checked")?this.checked:this.hasProp("checkedValue")?this.toggled===this.checkedValue:this.toggled}},watch:{modelValue(e){this.toggled=e},value(e){this.toggled=e}},created(){c(m),this.hasModelValue?this.toggled=this.modelValue:this.hasValue&&(this.toggled=this.value)},methods:{onToggle(){this.disabled||(this.hasProp("checkedValue")?this.toggled=this.isChecked?this.uncheckedValue:this.checkedValue:this.toggled=!this.isChecked,this.$emit("update:model-value",this.toggled))}}},V=["id"],y=["name","disabled","required"],C=["for"];function S(e,o,B,N,q,t){return l(),a("div",{id:e.componentId,class:i(["vui-checkbox",`vui-checkbox--${e.layout}`,{"vui-checkbox--flat":e.hasAttribute("flat")},{"vui-checkbox--with-label":t.hasLabel},{"vui-checkbox--with-icon":e.icon},{"vui-checkbox--checked":t.isChecked},{"vui-checkbox--disabled":e.disabled},{"vui-checkbox--loading":!e.disabled&&e.loading},e.$props.class]),onClick:o[0]||(o[0]=(...n)=>t.onToggle&&t.onToggle(...n))},[s(e.$slots,"prepend"),e.icon&&!t.isChecked?(l(),a("i",{key:0,class:i(["vui-checkbox-icon",e.icon])},null,2)):d("",!0),e.iconChecked&&t.isChecked?(l(),a("i",{key:1,class:i(["vui-checkbox-icon",e.iconChecked])},null,2)):d("",!0),r("input",{name:e.name,disabled:e.disabled,required:e.hasAttribute("required"),type:"checkbox"},null,8,y),t.hasLabel?(l(),a("label",{key:2,class:"vui-checkbox-label",for:e.name},[s(e.$slots,"default",{},()=>[f(k(e.text),1)])],8,C)):d("",!0),s(e.$slots,"append")],10,V)}const L=h(v,[["render",S]]);export{L as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{d as S}from"./demonstrable-
|
|
1
|
+
import{d as S}from"./demonstrable-CBEr3Dc5.js";import{t as V}from"./translatable-BfRM2PCZ.js";import w from"./checkbox-BkHRvdA5.js";import{_ as N,a as c,b as p,w as n,r as l,o as t,F as s,g as C,h,e as u,t as a,f as r,m as g,i as v,d as i}from"./index-CXVfKCPR.js";import"./composable-CshUTKfl.js";const D={"page.component.checkbox.default":"Default checkbox","page.component.checkbox.binded":"Binded checkbox","page.component.checkbox.success":"Success checkbox","page.component.checkbox.error":"Error checkbox","page.component.checkbox.warning":"Warning checkbox","page.component.checkbox.label":"Checked","page.component.checkbox.doc.prop.checked":"Binds the conditions of checked state","page.component.checkbox.doc.prop.checked-value":"Checked value of the checkbox","page.component.checkbox.doc.prop.disabled":"Binds the disabled state of the checkbox","page.component.checkbox.doc.prop.layout":"Defines the layout of component [default, error, success, warning]","page.component.checkbox.doc.prop.loading":"Boolean to enable the loading style for component","page.component.checkbox.doc.prop.text":"Text used as label for the component","page.component.checkbox.doc.prop.unchecked-value":"Unchecked value of the checkbox","page.component.checkbox.doc.prop.value":"Value of the checkbox","page.component.checkbox.doc.prop.v-model":"Binds the model value of checkbox","page.component.checkbox.doc.slot.default":"Default slot for label content","page.component.checkbox.doc.slot.prepend":"Slot used to insert custom content at the beginning of component","page.component.checkbox.doc.slot.append":"Slot used to insert custom content et the end of component"},$={},E={en:D,fr:$},m={examples:[{markup:`
|
|
2
2
|
<vui-checkbox
|
|
3
3
|
v-model="mycheckboxmodel"
|
|
4
4
|
:layout="default"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as u}from"./translatable-
|
|
1
|
+
import{t as u}from"./translatable-BfRM2PCZ.js";import{_,c as a,a as s,b as p,d as c,e as g,t as m,f as v,r,o as l}from"./index-CXVfKCPR.js";const h={"page.component.nav.start":"Get started","page.component.h1":"component","page.component.h2.api":"API options","page.component.h2.attrs":"Attributes","page.component.h2.slots":"Slots","page.component.doc.attr.name":"Name","page.component.doc.attr.text":"Description","page.component.doc.prop.tag":"Prop","page.component.doc.prop.type":"Values","page.component.doc.prop.text":"Description","page.component.doc.slot.name":"Name","page.component.doc.slot.text":"Description"},f={},b={en:h,fr:f},V={name:"ViewComponent",computed:{component(){const{$route:e}=this;return a.find(({doc:o})=>o.name===e.name)},components(){return a}},created(){u(b)},methods:{onRoute(e){const o=e==="ViewStart"?{doc:{name:e}}:a.find(({name:n})=>n===n);this.$router.push(o.doc)}}},w={class:"view-component"},N={class:"h1"},x=c("i",{class:"fa-brands fa-vuejs"},null,-1),D={key:0,class:"view-component-name"};function S(e,o,n,k,y,t){const d=r("vui-nav"),i=r("router-view");return l(),s("div",w,[p(d,{flat:"","item-label":"label","item-value":"name",items:[{label:e.$t("page.component.nav.start"),name:"ViewStart"},{label:t.component.label,name:t.component.name}],value:t.component,"onUpdate:modelValue":t.onRoute},null,8,["items","value","onUpdate:modelValue"]),c("div",N,[c("h1",null,[x,g(" "+m(e.$t("page.component.h1"))+" ",1),t.component?(l(),s("span",D,m(t.component.label),1)):v("",!0)])]),p(i)])}const A=_(V,[["render",S]]);export{A as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{_ as b,c as s,r as n,o as y,h as V,w as a,b as l,e as c,t as p,d as u}from"./index-
|
|
1
|
+
import{_ as b,c as s,r as n,o as y,h as V,w as a,b as l,e as c,t as p,d as u}from"./index-CXVfKCPR.js";const $={name:"LayoutDefault",data(){return{component:null}},computed:{components(){const t=s.reduce((e,o)=>(e[o.type].push(o),e),{html:[],layout:[],ui:[]});return Object.keys(t).map(e=>({label:this.$t(`component.header.dropdown.components.${e}`),value:t[e].map(o=>({...o,label:o.name,value:o.name,route:{name:o.doc.name}}))}))}},watch:{$route({name:t}){this.component=null;const e=s.find(({doc:o})=>o.name===t);e&&(this.component={label:e.name,value:e.name})}}},g={class:"copyright"},x=u("a",{href:"https://www.e-xode.net"}," www.e-xode.net ",-1);function k(t,e,o,B,r,m){const d=n("router-link"),_=n("vui-dropdown"),i=n("vui-header"),h=n("router-view"),f=n("vui-footer"),v=n("vui-page");return y(),V(v,{class:"layout-default"},{header:a(()=>[l(i,null,{default:a(()=>[l(d,{class:"home",to:{name:"ViewIndex"}},{default:a(()=>[c(p(t.$t("component.header.home")),1)]),_:1}),l(_,{modelValue:r.component,"onUpdate:modelValue":e[0]||(e[0]=w=>r.component=w),items:m.components,"item-label":"label","item-value":"value",placeholder:t.$t("component.header.dropdown.components")},null,8,["modelValue","items","placeholder"])]),_:1})]),body:a(()=>[l(h)]),footer:a(()=>[l(f,null,{default:a(()=>[u("span",g,[c(p(t.$t("component.footer.copyright"))+" ",1),x])]),_:1})]),_:1})}const C=b($,[["render",k]]);export{C as default};
|