@volverjs/ui-vue 0.0.10-beta.58 → 0.0.10-beta.59

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.
Files changed (88) hide show
  1. package/dist/components/VvAccordion/VvAccordion.vue.d.ts +2 -2
  2. package/dist/components/VvAccordion/index.d.ts +2 -2
  3. package/dist/components/VvAccordionGroup/VvAccordionGroup.es.js +10 -10
  4. package/dist/components/VvAccordionGroup/VvAccordionGroup.umd.js +1 -1
  5. package/dist/components/VvAccordionGroup/VvAccordionGroup.vue.d.ts +14 -14
  6. package/dist/components/VvAccordionGroup/index.d.ts +5 -5
  7. package/dist/components/VvAction/VvAction.vue.d.ts +2 -2
  8. package/dist/components/VvAction/index.d.ts +1 -1
  9. package/dist/components/VvAlert/VvAlert.vue.d.ts +8 -8
  10. package/dist/components/VvAlert/index.d.ts +3 -4
  11. package/dist/components/VvAlertGroup/VvAlertGroup.vue.d.ts +11 -11
  12. package/dist/components/VvAlertGroup/index.d.ts +5 -5
  13. package/dist/components/VvAvatar/VvAvatar.vue.d.ts +2 -2
  14. package/dist/components/VvAvatar/index.d.ts +1 -1
  15. package/dist/components/VvAvatarGroup/VvAvatarGroup.vue.d.ts +6 -6
  16. package/dist/components/VvAvatarGroup/index.d.ts +3 -3
  17. package/dist/components/VvBadge/VvBadge.vue.d.ts +2 -2
  18. package/dist/components/VvBadge/index.d.ts +1 -1
  19. package/dist/components/VvBreadcrumb/VvBreadcrumb.vue.d.ts +15 -15
  20. package/dist/components/VvBreadcrumb/index.d.ts +2 -2
  21. package/dist/components/VvButton/VvButton.vue.d.ts +8 -8
  22. package/dist/components/VvButton/index.d.ts +2 -2
  23. package/dist/components/VvButtonGroup/VvButtonGroup.vue.d.ts +6 -6
  24. package/dist/components/VvButtonGroup/index.d.ts +3 -3
  25. package/dist/components/VvCard/VvCard.vue.d.ts +2 -2
  26. package/dist/components/VvCard/index.d.ts +1 -1
  27. package/dist/components/VvCheckbox/VvCheckbox.vue.d.ts +3 -3
  28. package/dist/components/VvCheckbox/index.d.ts +1 -1
  29. package/dist/components/VvCheckboxGroup/VvCheckboxGroup.vue.d.ts +6 -6
  30. package/dist/components/VvCheckboxGroup/index.d.ts +2 -2
  31. package/dist/components/VvCombobox/VvCombobox.vue.d.ts +560 -219
  32. package/dist/components/VvCombobox/index.d.ts +241 -21
  33. package/dist/components/VvDialog/VvDialog.vue.d.ts +2 -2
  34. package/dist/components/VvDialog/index.d.ts +1 -1
  35. package/dist/components/VvDropdown/VvDropdown.vue.d.ts +272 -37
  36. package/dist/components/VvDropdown/VvDropdownAction.vue.d.ts +8 -16
  37. package/dist/components/VvDropdown/VvDropdownOption.vue.d.ts +2 -2
  38. package/dist/components/VvDropdown/index.d.ts +117 -9
  39. package/dist/components/VvIcon/VvIcon.vue.d.ts +1 -1
  40. package/dist/components/VvInputFile/VvInputFile.vue.d.ts +19 -19
  41. package/dist/components/VvInputFile/index.d.ts +8 -8
  42. package/dist/components/VvInputText/VvInputClearAction.d.ts +3 -3
  43. package/dist/components/VvInputText/VvInputPasswordAction.d.ts +5 -5
  44. package/dist/components/VvInputText/VvInputStepAction.d.ts +1 -1
  45. package/dist/components/VvInputText/VvInputText.es.js +16 -16
  46. package/dist/components/VvInputText/VvInputText.umd.js +1 -1
  47. package/dist/components/VvInputText/VvInputText.vue.d.ts +21 -21
  48. package/dist/components/VvInputText/index.d.ts +24 -7
  49. package/dist/components/VvNav/VvNav.vue.d.ts +13 -13
  50. package/dist/components/VvNav/index.d.ts +2 -2
  51. package/dist/components/VvProgress/VvProgress.vue.d.ts +2 -2
  52. package/dist/components/VvProgress/index.d.ts +1 -1
  53. package/dist/components/VvRadio/VvRadio.vue.d.ts +3 -3
  54. package/dist/components/VvRadio/index.d.ts +1 -1
  55. package/dist/components/VvRadioGroup/VvRadioGroup.vue.d.ts +6 -6
  56. package/dist/components/VvRadioGroup/index.d.ts +2 -2
  57. package/dist/components/VvSelect/VvSelect.vue.d.ts +183 -62
  58. package/dist/components/VvSelect/index.d.ts +8 -8
  59. package/dist/components/VvTab/VvTab.vue.d.ts +15 -15
  60. package/dist/components/VvTab/index.d.ts +3 -3
  61. package/dist/components/VvTextarea/VvTextarea.es.js +10 -10
  62. package/dist/components/VvTextarea/VvTextarea.umd.js +1 -1
  63. package/dist/components/VvTextarea/VvTextarea.vue.d.ts +11 -11
  64. package/dist/components/VvTextarea/index.d.ts +9 -6
  65. package/dist/components/VvTooltip/VvTooltip.vue.d.ts +4 -4
  66. package/dist/components/VvTooltip/index.d.ts +1 -1
  67. package/dist/components/index.es.js +16 -16
  68. package/dist/components/index.umd.js +1 -1
  69. package/dist/composables/alert/useAlert.d.ts +12 -12
  70. package/dist/composables/dropdown/useDropdownContextmenu.d.ts +1 -1
  71. package/dist/composables/dropdown/useDropdownVirtualElement.d.ts +1 -1
  72. package/dist/composables/group/useGroupStateInject.d.ts +1 -1
  73. package/dist/composables/useBlurhash.d.ts +1 -1
  74. package/dist/composables/useOptions.d.ts +3 -3
  75. package/dist/composables/usePersistence.d.ts +1 -1
  76. package/dist/icons.es.js +3 -3
  77. package/dist/icons.umd.js +1 -1
  78. package/dist/props/index.d.ts +121 -14
  79. package/dist/stories/AccordionGroup/AccordionGroupSlots.stories.d.ts +362 -298
  80. package/dist/test/expect.d.ts +1 -0
  81. package/dist/utils/DateUtilities.d.ts +9 -0
  82. package/dist/utils/ObjectUtilities.d.ts +1 -1
  83. package/package.json +30 -30
  84. package/src/assets/icons/detailed.json +1 -1
  85. package/src/assets/icons/normal.json +1 -1
  86. package/src/assets/icons/simple.json +1 -1
  87. package/src/composables/usePersistence.ts +13 -12
  88. package/src/utils/DateUtilities.ts +24 -7
@@ -9,7 +9,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<gl
9
9
  disabled: BooleanConstructor;
10
10
  not: BooleanConstructor;
11
11
  modifiers: {
12
- type: PropType<string | string[]>;
12
+ type: globalThis.PropType<string | string[]>;
13
13
  default: undefined;
14
14
  };
15
15
  }>, {
@@ -29,7 +29,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<gl
29
29
  disabled: BooleanConstructor;
30
30
  not: BooleanConstructor;
31
31
  modifiers: {
32
- type: PropType<string | string[]>;
32
+ type: globalThis.PropType<string | string[]>;
33
33
  default: undefined;
34
34
  };
35
35
  }>> & Readonly<{}>, {
@@ -29,7 +29,7 @@ export declare const VvAccordionProps: {
29
29
  */
30
30
  not: BooleanConstructor;
31
31
  modifiers: {
32
- type: PropType<string | string[]>;
32
+ type: globalThis.PropType<string | string[]>;
33
33
  default: undefined;
34
34
  };
35
35
  };
@@ -43,5 +43,5 @@ export declare function useGroupProps(props: VvAccordionPropsTypes): {
43
43
  group: AccordionGroupState | undefined;
44
44
  modifiers: globalThis.ComputedRef<string[]>;
45
45
  disabled: globalThis.ComputedRef<boolean>;
46
- bus: import("mitt").Emitter<import("../..").AccordionGroupBusEvents> | undefined;
46
+ bus: import("mitt").Emitter<import("../../types/group").AccordionGroupBusEvents> | undefined;
47
47
  };
@@ -622,6 +622,9 @@ function usePersistence(storageKey, storageType = StorageType.local, defaultValu
622
622
  (storageValue == null ? void 0 : storageValue.value) ?? localValue.value,
623
623
  storage
624
624
  );
625
+ if (storageValue.value) {
626
+ localValue.value = storageValue.value;
627
+ }
625
628
  return;
626
629
  }
627
630
  storageValue = void 0;
@@ -650,18 +653,15 @@ function usePersistence(storageKey, storageType = StorageType.local, defaultValu
650
653
  });
651
654
  }
652
655
  });
653
- return computed({
654
- get: () => {
655
- return (storageValue == null ? void 0 : storageValue.value) ?? localValue.value;
656
- },
657
- set: (value) => {
658
- if (storageValue) {
659
- storageValue.value = value;
660
- return;
661
- }
662
- localValue.value = value;
656
+ watch(localValue, (newValue) => {
657
+ if (storageValue) {
658
+ storageValue.value = newValue;
663
659
  }
660
+ }, {
661
+ deep: true,
662
+ immediate: true
664
663
  });
664
+ return localValue;
665
665
  }
666
666
  function useGroupStateProvide(key, groupState) {
667
667
  provide(key, groupState);
@@ -1 +1 @@
1
- !function(e,o){"object"==typeof exports&&"undefined"!=typeof module?module.exports=o(require("vue"),require("mitt"),require("@vueuse/core")):"function"==typeof define&&define.amd?define(["vue","mitt","@vueuse/core"],o):(e="undefined"!=typeof globalThis?globalThis:e||self).VvAccordionGroup=o(e.vue,e.mitt,e.core)}(this,(function(e,o,t){"use strict";var n=(e=>(e.local="local",e.session="session",e))(n||{}),a=(e=>(e.left="left",e.right="right",e.top="top",e.bottom="bottom",e))(a||{}),l=(e=>(e.before="before",e.after="after",e))(l||{}),r=(e=>(e.button="button",e.submit="submit",e.reset="reset",e))(r||{}),u=(e=>(e.nuxtLink="nuxt-link",e.routerLink="router-link",e.a="a",e.button="button",e))(u||{});const i=Symbol.for("accordionGroup"),s=(Boolean,Boolean,Boolean,Boolean,{modifiers:{type:[String,Array],default:void 0}});l.before,a.bottom,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,r.button,u.button;const d={storageType:{type:String,default:n.local,validator:e=>Object.values(n).includes(e)},storageKey:String},c={...s,...d,modelValue:{type:[String,Array],default:void 0},items:{type:Array,default:()=>[]},collapse:Boolean,itemModifiers:{type:[String,Array],default:""},disabled:Boolean,not:Boolean};const m={...s,name:String,title:String,content:String,modelValue:{type:Boolean,default:void 0},disabled:Boolean,not:Boolean};function v(o){const{group:t,isInGroup:n}=function(o){const t=e.inject(o,void 0),n=e.computed((()=>void 0!==t));return{group:t,isInGroup:n,getGroupOrLocalRef:function(o,n,a){const l=null==t?void 0:t[o];if(l)return e.computed({get:()=>l.value,set(e){l.value=e}});const r=e.toRef(n,o);return e.computed({get:()=>r.value,set(e){a&&a(`update:${o}`,e)}})}}}(i),a=e.computed((()=>Boolean(o.disabled||(null==t?void 0:t.disabled.value)))),l=e.computed((()=>{let e=o.modifiers,n=null==t?void 0:t.modifiers.value;const a=new Set;return e&&(Array.isArray(e)||(e=e.split(" ")),e.forEach((e=>a.add(e)))),n&&(Array.isArray(n)||(n=n.split(" ")),n.forEach((e=>a.add(e)))),Array.from(a)}));return{isInGroup:n,group:t,modifiers:l,disabled:a,bus:null==t?void 0:t.bus}}function p(o,t,n){return e.computed((()=>{const a={[o]:!0},l="string"==typeof(null==t?void 0:t.value)?t.value.split(" "):null==t?void 0:t.value;return l&&Array.isArray(l)&&l.forEach((e=>{e&&(a[`${o}--${e}`]=!0)})),n&&Object.keys(n.value).forEach((t=>{a[`${o}--${t}`]=e.unref(n.value[t])})),a}))}const f=["id","open"],g=["aria-controls","aria-expanded"],y=["aria-hidden"],b=e.defineComponent({name:"VvAccordion",props:m,emits:["update:modelValue"],setup(o,{expose:n,emit:a}){const l=o,r=a,u=e.useAttrs(),i=t.useVModel(l,"modelValue",r),s=e.computed((()=>l.name||(null==u?void 0:u.id)||e.useId())),{title:d,content:c,not:m}=e.toRefs(l),{isInGroup:b,modifiers:S,disabled:x,bus:A}=v(l),B=e.ref(!1);function h(){x.value||(b.value?null==A||A.emit("toggle",{name:s.value,value:!B.value}):B.value=!B.value)}function V(){B.value||h()}function w(){B.value&&h()}function k(e){A?A.emit("expand",{name:e}):console.warn(`[VvAccordion]: You are trying to expand accordion group of "${s.value}" but it is not in a group`)}function $(e){A?null==A||A.emit("collapse",{name:e}):console.warn(`[VvAccordion]: You are trying to collapse accordion group of "${s.value}" but it is not in a group`)}e.watch(i,(e=>{"boolean"==typeof e&&(B.value=m.value?!e:e)}),{immediate:!0}),e.watch(B,(e=>{i.value=m.value?!e:e})),null==A||A.on("toggle",(({name:e,value:o})=>{e===s.value&&(B.value=o)})),e.watch(s,((e,o)=>{A&&(o&&o!==e&&A.emit("unregister",{name:o}),A.emit("register",{name:e}))}),{immediate:!0}),e.onBeforeUnmount((()=>{A&&A.emit("unregister",{name:s.value})})),n({isExpanded:B,expand:V,collapse:w,groupExpand:k,groupCollapse:$});const E=p("vv-accordion",S,e.computed((()=>({disabled:x.value}))));return(o,t)=>(e.openBlock(),e.createElementBlock("details",{id:e.unref(s),class:e.normalizeClass(e.unref(E)),open:e.unref(B)},[e.createElementVNode("summary",{"aria-controls":e.unref(s),"aria-expanded":e.unref(B),class:"vv-accordion__summary",onClick:t[0]||(t[0]=e.withModifiers((e=>h()),["prevent"]))},[e.renderSlot(o.$slots,"summary",e.normalizeProps(e.guardReactiveProps({isExpanded:e.unref(B),expand:V,collapse:w,groupExpand:k,groupCollapse:$})),(()=>[e.createTextVNode(e.toDisplayString(e.unref(d)),1)]))],8,g),e.createElementVNode("div",{"aria-hidden":!e.unref(B),class:"vv-accordion__content"},[e.renderSlot(o.$slots,"default",e.normalizeProps(e.guardReactiveProps({isExpanded:e.unref(B),expand:V,collapse:w,groupExpand:k,groupCollapse:$})),(()=>[e.createTextVNode(e.toDisplayString(e.unref(c)),1)]))],8,y)],10,f))}});return e.defineComponent({name:"VvAccordionGroup",props:c,emits:["update:modelValue"],setup(a,{expose:l,emit:r}){const u=a,s=r,{disabled:d,modifiers:c,itemModifiers:m,items:v,storageKey:f,storageType:g}=e.toRefs(u);e.watchEffect((()=>{"string"==typeof u.modelValue&&u.collapse&&console.warn("[VvAccordionGroup]: modelValue is a string but collapse is true.")}));const y=e.reactive(new Set),S=function(o,a=n.local,l){const r=e.ref();let u;return l&&(r.value=l),e.onMounted((()=>{o&&e.watch(o,((o,l)=>{const i=e.unref(a)===n.session?sessionStorage:localStorage;l&&l!==o&&i.removeItem(l),u=o?t.useStorage(o,(null==u?void 0:u.value)??r.value,i):void 0}),{immediate:!0}),e.isRef(a)&&e.watch(a,((e,a)=>{if(null==o?void 0:o.value){if(e){const a=e===n.session?sessionStorage:localStorage;u=t.useStorage(o.value,(null==u?void 0:u.value)??r.value,a)}a&&a!==e&&(a===n.session?sessionStorage:localStorage).removeItem(o.value)}}))})),e.computed({get:()=>(null==u?void 0:u.value)??r.value,set:e=>{u?u.value=e:r.value=e}})}(f,g,[]),x=e.computed({get:()=>null!==u.modelValue&&void 0!==u.modelValue?u.modelValue:S.value,set:e=>{s("update:modelValue",e),S.value=e}}),A=e.computed({get:()=>{if(void 0===x.value)return new Set;let e=new Set;return u.not?"string"==typeof x.value?e=new Set([...y].filter((e=>e!==x.value))):Array.isArray(x.value)&&(e=new Set([...y].filter((e=>!x.value.includes(e))))):"string"==typeof x.value?e=new Set([x.value]):Array.isArray(x.value)&&(e=new Set(x.value)),e},set:e=>{u.not?x.value=[...y].filter((o=>!e.has(o))):u.collapse?x.value=[...e]:x.value=e.values().next().value}});e.onMounted((()=>{u.not&&void 0===x.value&&(x.value=u.collapse?[]:[...y.values()].splice(1,y.size)),e.nextTick((()=>{for(const e of y)B.emit("toggle",{name:e,value:A.value.has(e)})}))}));const B=o();var h,V;function w(e){if("string"!=typeof e)if(Array.isArray(e))for(const o of e)B.emit("toggle",{name:o,value:!0});else for(const o of y)B.emit("toggle",{name:o,value:!0});else B.emit("toggle",{name:e,value:!0})}function k(e){if("string"!=typeof e)if(Array.isArray(e))for(const o of e)B.emit("toggle",{name:o,value:!1});else for(const o of y)B.emit("toggle",{name:o,value:!1});else B.emit("toggle",{name:e,value:!1})}h=i,V={disabled:d,modifiers:m,bus:B},e.provide(h,V),B.on("register",(({name:e})=>{y.add(e)})),B.on("unregister",(({name:e})=>{y.delete(e)})),B.on("toggle",(({name:e,value:o})=>{const t=new Set(A.value);if(o){if(!u.collapse){for(const o of t)o!==e&&B.emit("toggle",{name:o,value:!1});t.clear()}return t.add(e),void(A.value=t)}t.delete(e),A.value=t})),B.on("expand",(({name:e})=>w(e))),B.on("collapse",(({name:e})=>k(e))),l({expandedAccordions:A,expand:w,collapse:k});const $=p("vv-accordion-group",c,e.computed((()=>({disabled:d.value}))));return(o,t)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref($))},[e.renderSlot(o.$slots,"default",e.normalizeProps(e.guardReactiveProps({expandedAccordions:e.unref(A),expand:w,collapse:k})),(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(v),(t=>(e.openBlock(),e.createBlock(b,e.mergeProps({key:t.title,ref_for:!0},{name:t.name,title:t.title,content:t.content}),e.createSlots({_:2},[o.$slots[`summary::${t.name}`]?{name:"summary",fn:e.withCtx((n=>[e.renderSlot(o.$slots,`summary::${t.name}`,e.mergeProps({ref_for:!0},n))])),key:"0"}:void 0,o.$slots[`content::${t.name}`]?{name:"default",fn:e.withCtx((n=>[e.renderSlot(o.$slots,`content::${t.name}`,e.mergeProps({ref_for:!0},n))])),key:"1"}:void 0]),1040)))),128))]))],2))}})}));
1
+ !function(e,o){"object"==typeof exports&&"undefined"!=typeof module?module.exports=o(require("vue"),require("mitt"),require("@vueuse/core")):"function"==typeof define&&define.amd?define(["vue","mitt","@vueuse/core"],o):(e="undefined"!=typeof globalThis?globalThis:e||self).VvAccordionGroup=o(e.vue,e.mitt,e.core)}(this,(function(e,o,t){"use strict";var a=(e=>(e.local="local",e.session="session",e))(a||{}),n=(e=>(e.left="left",e.right="right",e.top="top",e.bottom="bottom",e))(n||{}),l=(e=>(e.before="before",e.after="after",e))(l||{}),r=(e=>(e.button="button",e.submit="submit",e.reset="reset",e))(r||{}),u=(e=>(e.nuxtLink="nuxt-link",e.routerLink="router-link",e.a="a",e.button="button",e))(u||{});const i=Symbol.for("accordionGroup"),s=(Boolean,Boolean,Boolean,Boolean,{modifiers:{type:[String,Array],default:void 0}});l.before,n.bottom,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,r.button,u.button;const d={storageType:{type:String,default:a.local,validator:e=>Object.values(a).includes(e)},storageKey:String},c={...s,...d,modelValue:{type:[String,Array],default:void 0},items:{type:Array,default:()=>[]},collapse:Boolean,itemModifiers:{type:[String,Array],default:""},disabled:Boolean,not:Boolean};const m={...s,name:String,title:String,content:String,modelValue:{type:Boolean,default:void 0},disabled:Boolean,not:Boolean};function v(o){const{group:t,isInGroup:a}=function(o){const t=e.inject(o,void 0),a=e.computed((()=>void 0!==t));return{group:t,isInGroup:a,getGroupOrLocalRef:function(o,a,n){const l=null==t?void 0:t[o];if(l)return e.computed({get:()=>l.value,set(e){l.value=e}});const r=e.toRef(a,o);return e.computed({get:()=>r.value,set(e){n&&n(`update:${o}`,e)}})}}}(i),n=e.computed((()=>Boolean(o.disabled||(null==t?void 0:t.disabled.value)))),l=e.computed((()=>{let e=o.modifiers,a=null==t?void 0:t.modifiers.value;const n=new Set;return e&&(Array.isArray(e)||(e=e.split(" ")),e.forEach((e=>n.add(e)))),a&&(Array.isArray(a)||(a=a.split(" ")),a.forEach((e=>n.add(e)))),Array.from(n)}));return{isInGroup:a,group:t,modifiers:l,disabled:n,bus:null==t?void 0:t.bus}}function p(o,t,a){return e.computed((()=>{const n={[o]:!0},l="string"==typeof(null==t?void 0:t.value)?t.value.split(" "):null==t?void 0:t.value;return l&&Array.isArray(l)&&l.forEach((e=>{e&&(n[`${o}--${e}`]=!0)})),a&&Object.keys(a.value).forEach((t=>{n[`${o}--${t}`]=e.unref(a.value[t])})),n}))}const f=["id","open"],g=["aria-controls","aria-expanded"],y=["aria-hidden"],b=e.defineComponent({name:"VvAccordion",props:m,emits:["update:modelValue"],setup(o,{expose:a,emit:n}){const l=o,r=n,u=e.useAttrs(),i=t.useVModel(l,"modelValue",r),s=e.computed((()=>l.name||(null==u?void 0:u.id)||e.useId())),{title:d,content:c,not:m}=e.toRefs(l),{isInGroup:b,modifiers:S,disabled:x,bus:A}=v(l),B=e.ref(!1);function h(){x.value||(b.value?null==A||A.emit("toggle",{name:s.value,value:!B.value}):B.value=!B.value)}function w(){B.value||h()}function V(){B.value&&h()}function k(e){A?A.emit("expand",{name:e}):console.warn(`[VvAccordion]: You are trying to expand accordion group of "${s.value}" but it is not in a group`)}function $(e){A?null==A||A.emit("collapse",{name:e}):console.warn(`[VvAccordion]: You are trying to collapse accordion group of "${s.value}" but it is not in a group`)}e.watch(i,(e=>{"boolean"==typeof e&&(B.value=m.value?!e:e)}),{immediate:!0}),e.watch(B,(e=>{i.value=m.value?!e:e})),null==A||A.on("toggle",(({name:e,value:o})=>{e===s.value&&(B.value=o)})),e.watch(s,((e,o)=>{A&&(o&&o!==e&&A.emit("unregister",{name:o}),A.emit("register",{name:e}))}),{immediate:!0}),e.onBeforeUnmount((()=>{A&&A.emit("unregister",{name:s.value})})),a({isExpanded:B,expand:w,collapse:V,groupExpand:k,groupCollapse:$});const E=p("vv-accordion",S,e.computed((()=>({disabled:x.value}))));return(o,t)=>(e.openBlock(),e.createElementBlock("details",{id:e.unref(s),class:e.normalizeClass(e.unref(E)),open:e.unref(B)},[e.createElementVNode("summary",{"aria-controls":e.unref(s),"aria-expanded":e.unref(B),class:"vv-accordion__summary",onClick:t[0]||(t[0]=e.withModifiers((e=>h()),["prevent"]))},[e.renderSlot(o.$slots,"summary",e.normalizeProps(e.guardReactiveProps({isExpanded:e.unref(B),expand:w,collapse:V,groupExpand:k,groupCollapse:$})),(()=>[e.createTextVNode(e.toDisplayString(e.unref(d)),1)]))],8,g),e.createElementVNode("div",{"aria-hidden":!e.unref(B),class:"vv-accordion__content"},[e.renderSlot(o.$slots,"default",e.normalizeProps(e.guardReactiveProps({isExpanded:e.unref(B),expand:w,collapse:V,groupExpand:k,groupCollapse:$})),(()=>[e.createTextVNode(e.toDisplayString(e.unref(c)),1)]))],8,y)],10,f))}});return e.defineComponent({name:"VvAccordionGroup",props:c,emits:["update:modelValue"],setup(n,{expose:l,emit:r}){const u=n,s=r,{disabled:d,modifiers:c,itemModifiers:m,items:v,storageKey:f,storageType:g}=e.toRefs(u);e.watchEffect((()=>{"string"==typeof u.modelValue&&u.collapse&&console.warn("[VvAccordionGroup]: modelValue is a string but collapse is true.")}));const y=e.reactive(new Set),S=function(o,n=a.local,l){const r=e.ref();let u;return l&&(r.value=l),e.onMounted((()=>{o&&e.watch(o,((o,l)=>{const i=e.unref(n)===a.session?sessionStorage:localStorage;if(l&&l!==o&&i.removeItem(l),o)return u=t.useStorage(o,(null==u?void 0:u.value)??r.value,i),void(u.value&&(r.value=u.value));u=void 0}),{immediate:!0}),e.isRef(n)&&e.watch(n,((e,n)=>{if(null==o?void 0:o.value){if(e){const n=e===a.session?sessionStorage:localStorage;u=t.useStorage(o.value,(null==u?void 0:u.value)??r.value,n)}n&&n!==e&&(n===a.session?sessionStorage:localStorage).removeItem(o.value)}}))})),e.watch(r,(e=>{u&&(u.value=e)}),{deep:!0,immediate:!0}),r}(f,g,[]),x=e.computed({get:()=>null!==u.modelValue&&void 0!==u.modelValue?u.modelValue:S.value,set:e=>{s("update:modelValue",e),S.value=e}}),A=e.computed({get:()=>{if(void 0===x.value)return new Set;let e=new Set;return u.not?"string"==typeof x.value?e=new Set([...y].filter((e=>e!==x.value))):Array.isArray(x.value)&&(e=new Set([...y].filter((e=>!x.value.includes(e))))):"string"==typeof x.value?e=new Set([x.value]):Array.isArray(x.value)&&(e=new Set(x.value)),e},set:e=>{u.not?x.value=[...y].filter((o=>!e.has(o))):u.collapse?x.value=[...e]:x.value=e.values().next().value}});e.onMounted((()=>{u.not&&void 0===x.value&&(x.value=u.collapse?[]:[...y.values()].splice(1,y.size)),e.nextTick((()=>{for(const e of y)B.emit("toggle",{name:e,value:A.value.has(e)})}))}));const B=o();var h,w;function V(e){if("string"!=typeof e)if(Array.isArray(e))for(const o of e)B.emit("toggle",{name:o,value:!0});else for(const o of y)B.emit("toggle",{name:o,value:!0});else B.emit("toggle",{name:e,value:!0})}function k(e){if("string"!=typeof e)if(Array.isArray(e))for(const o of e)B.emit("toggle",{name:o,value:!1});else for(const o of y)B.emit("toggle",{name:o,value:!1});else B.emit("toggle",{name:e,value:!1})}h=i,w={disabled:d,modifiers:m,bus:B},e.provide(h,w),B.on("register",(({name:e})=>{y.add(e)})),B.on("unregister",(({name:e})=>{y.delete(e)})),B.on("toggle",(({name:e,value:o})=>{const t=new Set(A.value);if(o){if(!u.collapse){for(const o of t)o!==e&&B.emit("toggle",{name:o,value:!1});t.clear()}return t.add(e),void(A.value=t)}t.delete(e),A.value=t})),B.on("expand",(({name:e})=>V(e))),B.on("collapse",(({name:e})=>k(e))),l({expandedAccordions:A,expand:V,collapse:k});const $=p("vv-accordion-group",c,e.computed((()=>({disabled:d.value}))));return(o,t)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref($))},[e.renderSlot(o.$slots,"default",e.normalizeProps(e.guardReactiveProps({expandedAccordions:e.unref(A),expand:V,collapse:k})),(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(v),(t=>(e.openBlock(),e.createBlock(b,e.mergeProps({key:t.title,ref_for:!0},{name:t.name,title:t.title,content:t.content}),e.createSlots({_:2},[o.$slots[`summary::${t.name}`]?{name:"summary",fn:e.withCtx((a=>[e.renderSlot(o.$slots,`summary::${t.name}`,e.mergeProps({ref_for:!0},a))])),key:"0"}:void 0,o.$slots[`content::${t.name}`]?{name:"default",fn:e.withCtx((a=>[e.renderSlot(o.$slots,`content::${t.name}`,e.mergeProps({ref_for:!0},a))])),key:"1"}:void 0]),1040)))),128))]))],2))}})}));
@@ -1,27 +1,27 @@
1
1
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<globalThis.ExtractPropTypes<{
2
2
  modelValue: {
3
- type: PropType<string | string[] | undefined>;
3
+ type: globalThis.PropType<string | string[] | undefined>;
4
4
  default: undefined;
5
5
  };
6
6
  items: {
7
- type: PropType<import(".").VvAccordionGroupItem[]>;
7
+ type: globalThis.PropType<import(".").VvAccordionGroupItem[]>;
8
8
  default: () => never[];
9
9
  };
10
10
  collapse: BooleanConstructor;
11
11
  itemModifiers: {
12
- type: PropType<string | string[]>;
12
+ type: globalThis.PropType<string | string[]>;
13
13
  default: string;
14
14
  };
15
15
  disabled: BooleanConstructor;
16
16
  not: BooleanConstructor;
17
17
  storageType: {
18
- type: PropType<`${import("../../constants").StorageType}`>;
18
+ type: globalThis.PropType<"local" | "session">;
19
19
  default: import("../../constants").StorageType;
20
20
  validator: (value: import("../../constants").StorageType) => boolean;
21
21
  };
22
22
  storageKey: StringConstructor;
23
23
  modifiers: {
24
- type: PropType<string | string[]>;
24
+ type: globalThis.PropType<string | string[]>;
25
25
  default: undefined;
26
26
  };
27
27
  }>, {
@@ -30,28 +30,28 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<gl
30
30
  collapse: (name?: string | string[]) => void;
31
31
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
32
32
  modelValue: {
33
- type: PropType<string | string[] | undefined>;
33
+ type: globalThis.PropType<string | string[] | undefined>;
34
34
  default: undefined;
35
35
  };
36
36
  items: {
37
- type: PropType<import(".").VvAccordionGroupItem[]>;
37
+ type: globalThis.PropType<import(".").VvAccordionGroupItem[]>;
38
38
  default: () => never[];
39
39
  };
40
40
  collapse: BooleanConstructor;
41
41
  itemModifiers: {
42
- type: PropType<string | string[]>;
42
+ type: globalThis.PropType<string | string[]>;
43
43
  default: string;
44
44
  };
45
45
  disabled: BooleanConstructor;
46
46
  not: BooleanConstructor;
47
47
  storageType: {
48
- type: PropType<`${import("../../constants").StorageType}`>;
48
+ type: globalThis.PropType<"local" | "session">;
49
49
  default: import("../../constants").StorageType;
50
50
  validator: (value: import("../../constants").StorageType) => boolean;
51
51
  };
52
52
  storageKey: StringConstructor;
53
53
  modifiers: {
54
- type: PropType<string | string[]>;
54
+ type: globalThis.PropType<string | string[]>;
55
55
  default: undefined;
56
56
  };
57
57
  }>> & Readonly<{}>, {
@@ -67,14 +67,14 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<gl
67
67
  isExpanded: boolean;
68
68
  expand: () => void;
69
69
  collapse: () => void;
70
- groupExpand: (name?: string | string[]) => void;
71
- groupCollapse: (name?: string | string[]) => void;
70
+ groupExpand: (name?: string | string[] | undefined) => void;
71
+ groupCollapse: (name?: string | string[] | undefined) => void;
72
72
  }) => any>> & Partial<Record<`content::${string}`, (_: {
73
73
  isExpanded: boolean;
74
74
  expand: () => void;
75
75
  collapse: () => void;
76
- groupExpand: (name?: string | string[]) => void;
77
- groupCollapse: (name?: string | string[]) => void;
76
+ groupExpand: (name?: string | string[] | undefined) => void;
77
+ groupCollapse: (name?: string | string[] | undefined) => void;
78
78
  }) => any>> & {
79
79
  default?(_: {
80
80
  expandedAccordions: Set<string>;
@@ -10,7 +10,7 @@ export declare const VvAccordionGroupProps: {
10
10
  * VModel
11
11
  */
12
12
  modelValue: {
13
- type: PropType<string | string[] | undefined>;
13
+ type: globalThis.PropType<string | string[] | undefined>;
14
14
  default: undefined;
15
15
  };
16
16
  /**
@@ -18,7 +18,7 @@ export declare const VvAccordionGroupProps: {
18
18
  * @type VvAccordionGroupItem
19
19
  */
20
20
  items: {
21
- type: PropType<VvAccordionGroupItem[]>;
21
+ type: globalThis.PropType<VvAccordionGroupItem[]>;
22
22
  default: () => never[];
23
23
  };
24
24
  /**
@@ -29,7 +29,7 @@ export declare const VvAccordionGroupProps: {
29
29
  * String or String[] of css classes (modifiers) that will be concatenated to prefix 'vv-accordion--'
30
30
  */
31
31
  itemModifiers: {
32
- type: PropType<string | string[]>;
32
+ type: globalThis.PropType<string | string[]>;
33
33
  default: string;
34
34
  };
35
35
  /**
@@ -41,13 +41,13 @@ export declare const VvAccordionGroupProps: {
41
41
  */
42
42
  not: BooleanConstructor;
43
43
  storageType: {
44
- type: PropType<`${import("../../constants").StorageType}`>;
44
+ type: globalThis.PropType<"local" | "session">;
45
45
  default: import("../../constants").StorageType;
46
46
  validator: (value: import("../../constants").StorageType) => boolean;
47
47
  };
48
48
  storageKey: StringConstructor;
49
49
  modifiers: {
50
- type: PropType<string | string[]>;
50
+ type: globalThis.PropType<string | string[]>;
51
51
  default: undefined;
52
52
  };
53
53
  };
@@ -1,7 +1,7 @@
1
1
  import { ActionTag } from '../../constants';
2
2
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<globalThis.ExtractPropTypes<{
3
3
  type: {
4
- type: PropType<`${import("../../constants").ButtonType}`>;
4
+ type: globalThis.PropType<"button" | "submit" | "reset">;
5
5
  default: import("../../constants").ButtonType;
6
6
  validator: (value: import("../../constants").ButtonType) => boolean;
7
7
  };
@@ -46,7 +46,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<gl
46
46
  $el: globalThis.Ref<HTMLElement | null, HTMLElement | null>;
47
47
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
48
48
  type: {
49
- type: PropType<`${import("../../constants").ButtonType}`>;
49
+ type: globalThis.PropType<"button" | "submit" | "reset">;
50
50
  default: import("../../constants").ButtonType;
51
51
  validator: (value: import("../../constants").ButtonType) => boolean;
52
52
  };
@@ -1,7 +1,7 @@
1
1
  export declare const VvActionEvents: string[];
2
2
  export declare const VvActionProps: {
3
3
  type: {
4
- type: PropType<`${import("../../constants").ButtonType}`>;
4
+ type: globalThis.PropType<"button" | "submit" | "reset">;
5
5
  default: import("../../constants").ButtonType;
6
6
  validator: (value: import("../../constants").ButtonType) => boolean;
7
7
  };
@@ -1,6 +1,6 @@
1
1
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<globalThis.ExtractPropTypes<{
2
2
  modifiers: {
3
- type: PropType<import("../..").AlertModifier | import("../..").AlertModifier[]>;
3
+ type: globalThis.PropType<string | string[]>;
4
4
  default: undefined;
5
5
  };
6
6
  dismissable: {
@@ -28,15 +28,15 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<gl
28
28
  default: undefined;
29
29
  };
30
30
  role: {
31
- type: PropType<`${import("../../constants").AlertRole}`>;
31
+ type: globalThis.PropType<"alert" | "alertdialog">;
32
32
  default: import("../../constants").AlertRole;
33
33
  };
34
34
  icon: {
35
- type: PropType<string | import("../VvIcon").VvIconProps>;
35
+ type: globalThis.PropType<string | import("../VvIcon").VvIconProps>;
36
36
  default: undefined;
37
37
  };
38
38
  iconPosition: {
39
- type: PropType<`${import("../../constants").Position}`>;
39
+ type: globalThis.PropType<"before" | "after">;
40
40
  default: import("../../constants").Position;
41
41
  validation: (value: import("../../constants").Position) => boolean;
42
42
  };
@@ -45,7 +45,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<gl
45
45
  close: () => void;
46
46
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
47
47
  modifiers: {
48
- type: PropType<import("../..").AlertModifier | import("../..").AlertModifier[]>;
48
+ type: globalThis.PropType<string | string[]>;
49
49
  default: undefined;
50
50
  };
51
51
  dismissable: {
@@ -73,15 +73,15 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<gl
73
73
  default: undefined;
74
74
  };
75
75
  role: {
76
- type: PropType<`${import("../../constants").AlertRole}`>;
76
+ type: globalThis.PropType<"alert" | "alertdialog">;
77
77
  default: import("../../constants").AlertRole;
78
78
  };
79
79
  icon: {
80
- type: PropType<string | import("../VvIcon").VvIconProps>;
80
+ type: globalThis.PropType<string | import("../VvIcon").VvIconProps>;
81
81
  default: undefined;
82
82
  };
83
83
  iconPosition: {
84
- type: PropType<`${import("../../constants").Position}`>;
84
+ type: globalThis.PropType<"before" | "after">;
85
85
  default: import("../../constants").Position;
86
86
  validation: (value: import("../../constants").Position) => boolean;
87
87
  };
@@ -1,4 +1,3 @@
1
- import type { AlertModifier } from '@/types';
2
1
  import type { ExtractPropTypes, PropType } from 'vue';
3
2
  import { AlertRole } from '@/constants';
4
3
  export declare const VvAlertProps: {
@@ -6,7 +5,7 @@ export declare const VvAlertProps: {
6
5
  * Component BEM modifiers
7
6
  */
8
7
  modifiers: {
9
- type: PropType<AlertModifier | AlertModifier[]>;
8
+ type: PropType<string | string[]>;
10
9
  default: undefined;
11
10
  };
12
11
  /**
@@ -72,7 +71,7 @@ export declare const VvAlertProps: {
72
71
  * @see https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/Alertdialog_role
73
72
  */
74
73
  role: {
75
- type: PropType<`${AlertRole}`>;
74
+ type: PropType<"alert" | "alertdialog">;
76
75
  default: AlertRole;
77
76
  };
78
77
  icon: {
@@ -80,7 +79,7 @@ export declare const VvAlertProps: {
80
79
  default: undefined;
81
80
  };
82
81
  iconPosition: {
83
- type: PropType<`${import("@/constants").Position}`>;
82
+ type: PropType<"before" | "after">;
84
83
  default: import("@/constants").Position;
85
84
  validation: (value: import("@/constants").Position) => boolean;
86
85
  };
@@ -4,7 +4,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<gl
4
4
  required: boolean;
5
5
  };
6
6
  items: {
7
- type: PropType<import("../..").Alert[]>;
7
+ type: globalThis.PropType<import("../..").Alert[]>;
8
8
  default: () => never[];
9
9
  };
10
10
  stack: {
@@ -16,15 +16,15 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<gl
16
16
  default: boolean;
17
17
  };
18
18
  inline: {
19
- type: PropType<"start" | "middle" | "end">;
19
+ type: globalThis.PropType<"start" | "end" | "middle">;
20
20
  default: undefined;
21
21
  };
22
22
  block: {
23
- type: PropType<"top" | "center" | "bottom">;
23
+ type: globalThis.PropType<"top" | "bottom" | "center">;
24
24
  default: undefined;
25
25
  };
26
26
  position: {
27
- type: PropType<"absolute" | "fixed">;
27
+ type: globalThis.PropType<"absolute" | "fixed">;
28
28
  default: undefined;
29
29
  };
30
30
  transition: {
@@ -32,7 +32,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<gl
32
32
  default: undefined;
33
33
  };
34
34
  modifiers: {
35
- type: PropType<string | string[]>;
35
+ type: globalThis.PropType<string | string[]>;
36
36
  default: undefined;
37
37
  };
38
38
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
@@ -41,7 +41,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<gl
41
41
  required: boolean;
42
42
  };
43
43
  items: {
44
- type: PropType<import("../..").Alert[]>;
44
+ type: globalThis.PropType<import("../..").Alert[]>;
45
45
  default: () => never[];
46
46
  };
47
47
  stack: {
@@ -53,15 +53,15 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<gl
53
53
  default: boolean;
54
54
  };
55
55
  inline: {
56
- type: PropType<"start" | "middle" | "end">;
56
+ type: globalThis.PropType<"start" | "end" | "middle">;
57
57
  default: undefined;
58
58
  };
59
59
  block: {
60
- type: PropType<"top" | "center" | "bottom">;
60
+ type: globalThis.PropType<"top" | "bottom" | "center">;
61
61
  default: undefined;
62
62
  };
63
63
  position: {
64
- type: PropType<"absolute" | "fixed">;
64
+ type: globalThis.PropType<"absolute" | "fixed">;
65
65
  default: undefined;
66
66
  };
67
67
  transition: {
@@ -69,12 +69,12 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<gl
69
69
  default: undefined;
70
70
  };
71
71
  modifiers: {
72
- type: PropType<string | string[]>;
72
+ type: globalThis.PropType<string | string[]>;
73
73
  default: undefined;
74
74
  };
75
75
  }>> & Readonly<{}>, {
76
- reverse: boolean;
77
76
  modifiers: string | string[];
77
+ reverse: boolean;
78
78
  items: import("../..").Alert[];
79
79
  transition: string;
80
80
  inline: "start" | "end" | "middle";
@@ -6,7 +6,7 @@ export declare const VvAlertGroupProps: {
6
6
  required: boolean;
7
7
  };
8
8
  items: {
9
- type: PropType<Alert[]>;
9
+ type: globalThis.PropType<Alert[]>;
10
10
  default: () => never[];
11
11
  };
12
12
  stack: {
@@ -18,15 +18,15 @@ export declare const VvAlertGroupProps: {
18
18
  default: boolean;
19
19
  };
20
20
  inline: {
21
- type: PropType<"start" | "middle" | "end">;
21
+ type: globalThis.PropType<"start" | "end" | "middle">;
22
22
  default: undefined;
23
23
  };
24
24
  block: {
25
- type: PropType<"top" | "center" | "bottom">;
25
+ type: globalThis.PropType<"top" | "bottom" | "center">;
26
26
  default: undefined;
27
27
  };
28
28
  position: {
29
- type: PropType<"absolute" | "fixed">;
29
+ type: globalThis.PropType<"absolute" | "fixed">;
30
30
  default: undefined;
31
31
  };
32
32
  transition: {
@@ -34,7 +34,7 @@ export declare const VvAlertGroupProps: {
34
34
  default: undefined;
35
35
  };
36
36
  modifiers: {
37
- type: PropType<string | string[]>;
37
+ type: globalThis.PropType<string | string[]>;
38
38
  default: undefined;
39
39
  };
40
40
  };
@@ -1,13 +1,13 @@
1
1
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<globalThis.ExtractPropTypes<{
2
2
  imgSrc: StringConstructor;
3
3
  modifiers: {
4
- type: PropType<string | string[]>;
4
+ type: globalThis.PropType<string | string[]>;
5
5
  default: undefined;
6
6
  };
7
7
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
8
8
  imgSrc: StringConstructor;
9
9
  modifiers: {
10
- type: PropType<string | string[]>;
10
+ type: globalThis.PropType<string | string[]>;
11
11
  default: undefined;
12
12
  };
13
13
  }>> & Readonly<{}>, {
@@ -4,7 +4,7 @@ export declare const VvAvatarProps: {
4
4
  */
5
5
  imgSrc: StringConstructor;
6
6
  modifiers: {
7
- type: PropType<string | string[]>;
7
+ type: globalThis.PropType<string | string[]>;
8
8
  default: undefined;
9
9
  };
10
10
  };
@@ -1,6 +1,6 @@
1
1
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<globalThis.ExtractPropTypes<{
2
2
  items: {
3
- type: PropType<import("@/components/VvAvatarGroup").AvatarItem[]>;
3
+ type: globalThis.PropType<import("@/components/VvAvatarGroup").AvatarItem[]>;
4
4
  default: () => never[];
5
5
  required: boolean;
6
6
  };
@@ -11,14 +11,14 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<gl
11
11
  totalItems: {
12
12
  type: NumberConstructor;
13
13
  };
14
- avatarModifiers: PropType<string | string[]>;
14
+ avatarModifiers: globalThis.PropType<string | string[]>;
15
15
  modifiers: {
16
- type: PropType<string | string[]>;
16
+ type: globalThis.PropType<string | string[]>;
17
17
  default: undefined;
18
18
  };
19
19
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
20
20
  items: {
21
- type: PropType<import("@/components/VvAvatarGroup").AvatarItem[]>;
21
+ type: globalThis.PropType<import("@/components/VvAvatarGroup").AvatarItem[]>;
22
22
  default: () => never[];
23
23
  required: boolean;
24
24
  };
@@ -29,9 +29,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<gl
29
29
  totalItems: {
30
30
  type: NumberConstructor;
31
31
  };
32
- avatarModifiers: PropType<string | string[]>;
32
+ avatarModifiers: globalThis.PropType<string | string[]>;
33
33
  modifiers: {
34
- type: PropType<string | string[]>;
34
+ type: globalThis.PropType<string | string[]>;
35
35
  default: undefined;
36
36
  };
37
37
  }>> & Readonly<{}>, {
@@ -9,7 +9,7 @@ export declare const VvAvatarGroupProps: {
9
9
  * avatar items
10
10
  */
11
11
  items: {
12
- type: PropType<AvatarItem[]>;
12
+ type: globalThis.PropType<AvatarItem[]>;
13
13
  default: () => never[];
14
14
  required: boolean;
15
15
  };
@@ -20,9 +20,9 @@ export declare const VvAvatarGroupProps: {
20
20
  totalItems: {
21
21
  type: NumberConstructor;
22
22
  };
23
- avatarModifiers: PropType<string | string[]>;
23
+ avatarModifiers: globalThis.PropType<string | string[]>;
24
24
  modifiers: {
25
- type: PropType<string | string[]>;
25
+ type: globalThis.PropType<string | string[]>;
26
26
  default: undefined;
27
27
  };
28
28
  };
@@ -1,13 +1,13 @@
1
1
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<globalThis.ExtractPropTypes<{
2
2
  value: (StringConstructor | NumberConstructor)[];
3
3
  modifiers: {
4
- type: PropType<string | string[]>;
4
+ type: globalThis.PropType<string | string[]>;
5
5
  default: undefined;
6
6
  };
7
7
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
8
8
  value: (StringConstructor | NumberConstructor)[];
9
9
  modifiers: {
10
- type: PropType<string | string[]>;
10
+ type: globalThis.PropType<string | string[]>;
11
11
  default: undefined;
12
12
  };
13
13
  }>> & Readonly<{}>, {
@@ -1,7 +1,7 @@
1
1
  export declare const VvBadgeProps: {
2
2
  value: (StringConstructor | NumberConstructor)[];
3
3
  modifiers: {
4
- type: PropType<string | string[]>;
4
+ type: globalThis.PropType<string | string[]>;
5
5
  default: undefined;
6
6
  };
7
7
  };
@@ -1,13 +1,13 @@
1
1
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<globalThis.ExtractPropTypes<{
2
- routes: PropType<import("../..").NavItem[]>;
2
+ routes: globalThis.PropType<import("../..").NavItem[]>;
3
3
  modifiers: {
4
- type: PropType<string | string[]>;
4
+ type: globalThis.PropType<string | string[]>;
5
5
  default: undefined;
6
6
  };
7
7
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
8
- routes: PropType<import("../..").NavItem[]>;
8
+ routes: globalThis.PropType<import("../..").NavItem[]>;
9
9
  modifiers: {
10
- type: PropType<string | string[]>;
10
+ type: globalThis.PropType<string | string[]>;
11
11
  default: undefined;
12
12
  };
13
13
  }>> & Readonly<{}>, {
@@ -17,17 +17,17 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<gl
17
17
  index: number;
18
18
  label: string;
19
19
  isLast: boolean;
20
- ariaLabel?: string;
21
- title?: string;
22
- to?: string | Record<string, unknown>;
23
- href?: string;
24
- target?: string;
25
- rel?: string;
26
- disabled?: boolean;
27
- current?: boolean;
28
- class?: string | string[];
29
- on?: Record<"click" | string, () => void>;
30
- data?: Record<string, unknown>;
20
+ ariaLabel?: string | undefined;
21
+ title?: string | undefined;
22
+ to?: string | Record<string, unknown> | undefined;
23
+ href?: string | undefined;
24
+ target?: string | undefined;
25
+ rel?: string | undefined;
26
+ disabled?: boolean | undefined;
27
+ current?: boolean | undefined;
28
+ class?: string | string[] | undefined;
29
+ on?: Record<string, () => void> | undefined;
30
+ data?: Record<string, unknown> | undefined;
31
31
  }): any;
32
32
  }>;
33
33
  export default _default;