@codemonster-ru/vueforge 0.3.4 → 0.5.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/README.md +83 -1
- package/dist/index.css +1 -1
- package/dist/index.d.ts +5 -1
- package/dist/index.ts.mjs +1279 -652
- package/dist/index.ts.umd.js +3 -6
- package/dist/package/components/button.vue.d.ts +6 -0
- package/dist/package/components/checkbox.vue.d.ts +32 -0
- package/dist/package/components/input.vue.d.ts +49 -0
- package/dist/package/components/link.vue.d.ts +11 -1
- package/dist/package/components/logo.vue.d.ts +4 -0
- package/dist/package/components/menu.vue.d.ts +59 -2
- package/dist/package/components/popover.vue.d.ts +5 -0
- package/dist/package/components/select.vue.d.ts +39 -0
- package/dist/package/components/switch.vue.d.ts +32 -0
- package/dist/package/config/index.d.ts +19 -1
- package/dist/package/themes/default/components/checkbox.d.ts +13 -0
- package/dist/package/themes/default/components/input.d.ts +20 -0
- package/dist/package/themes/default/components/select.d.ts +25 -0
- package/dist/package/themes/default/components/switch.d.ts +12 -0
- package/dist/package/themes/default/index.d.ts +66 -0
- package/package.json +12 -6
package/dist/index.ts.umd.js
CHANGED
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
(function(i,o){typeof exports=="object"&&typeof module<"u"?o(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],o):(i=typeof globalThis<"u"?globalThis:i||self,o(i.index={},i.Vue))})(this,function(i,o){"use strict";var C=document.createElement("style");C.textContent=`.vf-layout{display:flex;flex-direction:column;height:100vh}.vf-left-sidebar-flexbox{width:100%;display:flex;flex-wrap:wrap}.vf-left-sidebar{width:250px;margin-right:48px}.vf-main-content{width:calc(100% - 298px)}.vf-demo{display:flex;align-items:center;justify-content:center;padding:24px;border-radius:6px;margin-bottom:12px;background-color:var(--vf-bg-soft-color)}.vf-link{color:inherit;cursor:pointer;text-decoration:none}.vf-link:hover{color:var(--vf-link-hover-color)}.vf-link:active{color:var(--vf-link-active-color)}.vf-link.vf-link_disabled{cursor:not-allowed}.vf-link_active,.vf-link_partially-active{color:var(--vf-link-active-color)}.vf-card{border:1px solid var(--vf-card-border-color);border-radius:var(--vf-card-border-radius)}.vf-card__default{padding:var(--vf-card-padding)}.vf-logo{position:relative}.cm-icon_animations_spin[data-v-e8b1cecb]{animation-name:cm-spin-e8b1cecb;animation-delay:0s;animation-duration:2s;animation-direction:normal;animation-iteration-count:infinite;animation-timing-function:linear}@keyframes cm-spin-e8b1cecb{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.vf-menu{display:flex}.vf-menu_horizontal>.vf-menu__list{flex-direction:row}.vf-menu_horizontal>.vf-menu__list>.vf-menu__item{align-items:center}.vf-menu_horizontal>.vf-menu__list>.vf-menu__item:not(:first-child){margin-left:var(--vf-menu-item-margin-left)}.vf-menu_horizontal>.vf-menu__list>.vf-menu__item:not(:last-child){margin-right:var(--vf-menu-item-margin-right)}.vf-menu_horizontal>.vf-menu__list>.vf-menu__item>.vf-menu__separator{height:1rem;border-top:none;border-right:none;border-left:1px solid var(--vf-menu-separator-color);border-bottom:none}.vf-menu_vertical>.vf-menu__list{width:100%;flex-direction:column}.vf-menu_vertical>.vf-menu__list>.vf-menu__item{flex-direction:column}.vf-menu_vertical>.vf-menu__list>.vf-menu__item:not(:first-child){margin-top:var(--vf-menu-item-margin-top)}.vf-menu_vertical>.vf-menu__list>.vf-menu__item:not(:last-child){margin-bottom:var(--vf-menu-item-margin-bottom)}.vf-menu_vertical>.vf-menu__list>.vf-menu__item>.vf-menu{overflow:hidden}.vf-menu__list{margin:0;padding:0;display:flex;list-style:none}.vf-menu__item{display:flex;font-weight:500}.vf-menu__link{display:flex;align-items:center;text-decoration:none}.vf-menu__link:hover{color:var(--vf-menu-link-hover-color)}.vf-menu__parent{cursor:pointer;display:flex;align-items:center;justify-content:space-between}.vf-menu__parent:hover{color:var(--vf-menu-parent-hover-color)}.vf-menu__icon{margin-right:6px}.vf-menu__submenu.vf-menu__submenu_visible{margin-top:12px;margin-left:12px}.vf-menu__submenu:not(.vf-menu__submenu_visible){height:0}.vf-header{height:var(--vf-header-height);display:flex;padding-top:var(--vf-header-padding);border-bottom:var(--vf-header-border-bottom);margin-bottom:var(--vf-header-margin-bottom);padding-bottom:var(--vf-header-padding);background-color:var(--vf-header-background-color)}.vf-footer{flex:0 0 auto;color:var(--vf-footer-color);margin-top:var(--vf-footer-margin-top);border-top:var(--vf-footer-border-top);padding-top:var(--vf-footer-padding);padding-bottom:var(--vf-footer-padding);background-color:var(--vf-footer-background-color)}.vf-button{display:inline-flex;position:relative;cursor:pointer;-webkit-user-select:none;user-select:none;align-items:center;justify-content:center;padding:var(--vf-button-padding);font-size:1rem;font-family:inherit;border-radius:var(--vf-button-border-radius);overflow:hidden}.vf-button_text{border:1px solid transparent;background-color:transparent}.vf-button_outlined{background-color:transparent}.vf-button_primary.vf-button_text{color:var(--vf-button-text-primary-color)}.vf-button_primary.vf-button_text:not(.vf-button_disabled):hover{background-color:var(--vf-button-text-primary-hover-background-color)}.vf-button_primary.vf-button_outlined{color:var(--vf-button-outlined-primary-color);border:1px solid var(--vf-button-outlined-primary-border-color)}.vf-button_primary.vf-button_outlined:not(.vf-button_disabled):hover{background-color:var(--vf-button-outlined-primary-hover-background-color)}.vf-button_primary:not(.vf-button_text):not(.vf-button_outlined){color:var(--vf-button-primary-color);border:1px solid var(--vf-button-primary-border-color);background-color:var(--vf-button-primary-background-color)}.vf-button_primary:not(.vf-button_text):not(.vf-button_outlined):not(.vf-button_disabled):hover{color:var(--vf-button-primary-hover-color);border:1px solid var(--vf-button-primary-hover-border-color);background-color:var(--vf-button-primary-hover-background-color)}.vf-button_primary:not(.vf-button_text):not(.vf-button_outlined):not(.vf-button_disabled):active{color:var(--vf-button-primary-active-color);border:1px solid var(--vf-button-primary-active-border-color);background-color:var(var(--vf-button-primary-active-border-color))}.vf-button_secondary.vf-button_text{color:var(--vf-button-text-secondary-color)}.vf-button_secondary.vf-button_text:not(.vf-button_disabled):hover{background-color:var(--vf-button-text-secondary-hover-background-color)}.vf-button_secondary.vf-button_outlined{color:var(--vf-button-outlined-secondary-color);border:1px solid var(--vf-button-outlined-secondary-border-color)}.vf-button_secondary.vf-button_outlined:not(.vf-button_disabled):hover{background-color:var(--vf-button-outlined-secondary-hover-background-color)}.vf-button_secondary:not(.vf-button_text):not(.vf-button_outlined){color:var(--vf-button-secondary-color);border:1px solid var(--vf-button-secondary-border-color);background-color:var(--vf-button-secondary-background-color)}.vf-button_secondary:not(.vf-button_text):not(.vf-button_outlined):not(.vf-button_disabled):hover{color:var(--vf-button-secondary-hover-color);border:1px solid var(--vf-button-secondary-hover-border-color);background-color:var(--vf-button-secondary-hover-background-color)}.vf-button_secondary:not(.vf-button_text):not(.vf-button_outlined):not(.vf-button_disabled):active{color:var(--vf-button-secondary-active-color);border:1px solid var(--vf-button-secondary-active-border-color);background-color:var(--vf-button-secondary-active-background-color)}.vf-button_success.vf-button_text{color:var(--vf-button-text-success-color)}.vf-button_success.vf-button_text:not(.vf-button_disabled):hover{background-color:var(--vf-button-text-success-hover-background-color)}.vf-button_success.vf-button_outlined{color:var(--vf-button-outlined-success-color);border:1px solid var(--vf-button-outlined-success-border-color)}.vf-button_success.vf-button_outlined:not(.vf-button_disabled):hover{background-color:var(--vf-button-outlined-success-hover-background-color)}.vf-button_success:not(.vf-button_text):not(.vf-button_outlined){color:var(--vf-button-success-color);border:1px solid var(--vf-button-success-border-color);background-color:var(--vf-button-success-background-color)}.vf-button_success:not(.vf-button_text):not(.vf-button_outlined):not(.vf-button_disabled):hover{color:var(--vf-button-success-hover-color);border:1px solid var(--vf-button-success-hover-border-color);background-color:var(--vf-button-success-hover-background-color)}.vf-button_success:not(.vf-button_text):not(.vf-button_outlined):not(.vf-button_disabled):active{color:var(--vf-button-success-active-color);border:1px solid var(--vf-button-success-active-border-color);background-color:var(--vf-button-success-active-background-color)}.vf-button_info.vf-button_text{color:var(--vf-button-text-info-color)}.vf-button_info.vf-button_text:not(.vf-button_disabled):hover{background-color:var(--vf-button-text-info-hover-background-color)}.vf-button_info.vf-button_outlined{color:var(--vf-button-outlined-info-color);border:1px solid var(--vf-button-outlined-info-border-color)}.vf-button_info.vf-button_outlined:not(.vf-button_disabled):hover{background-color:var(--vf-button-outlined-info-hover-background-color)}.vf-button_info:not(.vf-button_text):not(.vf-button_outlined){color:var(--vf-button-info-color);border:1px solid var(--vf-button-info-border-color);background-color:var(--vf-button-info-background-color)}.vf-button_info:not(.vf-button_text):not(.vf-button_outlined):not(.vf-button_disabled):hover{color:var(--vf-button-info-hover-color);border:1px solid var(--vf-button-info-hover-border-color);background-color:var(--vf-button-info-hover-background-color)}.vf-button_info:not(.vf-button_text):not(.vf-button_outlined):not(.vf-button_disabled):active{color:var(--vf-button-info-active-color);border:1px solid var(--vf-button-info-active-border-color);background-color:var(--vf-button-info-active-background-color)}.vf-button_warning.vf-button_text{color:var(--vf-button-text-warning-color)}.vf-button_warning.vf-button_text:not(.vf-button_disabled):hover{background-color:var(--vf-button-text-warning-hover-background-color)}.vf-button_warning.vf-button_outlined{color:var(--vf-button-outlined-warning-color);border:1px solid var(--vf-button-outlined-warning-border-color)}.vf-button_warning.vf-button_outlined:not(.vf-button_disabled):hover{background-color:var(--vf-button-outlined-warning-hover-background-color)}.vf-button_warning:not(.vf-button_text):not(.vf-button_outlined){color:var(--vf-button-warning-color);border:1px solid var(--vf-button-warning-border-color);background-color:var(--vf-button-warning-background-color)}.vf-button_warning:not(.vf-button_text):not(.vf-button_outlined):not(.vf-button_disabled):hover{color:var(--vf-button-warning-hover-color);border:1px solid var(--vf-button-warning-hover-border-color);background-color:var(--vf-button-warning-hover-background-color)}.vf-button_warning:not(.vf-button_text):not(.vf-button_outlined):not(.vf-button_disabled):active{color:var(--vf-button-warning-active-color);border:1px solid var(--vf-button-warning-active-border-color);background-color:var(--vf-button-warning-active-background-color)}.vf-button_danger.vf-button_text{color:var(--vf-button-text-danger-color)}.vf-button_danger.vf-button_text:not(.vf-button_disabled):hover{background-color:var(--vf-button-text-danger-hover-background-color)}.vf-button_danger.vf-button_outlined{color:var(--vf-button-outlined-danger-color);border:1px solid var(--vf-button-outlined-danger-border-color)}.vf-button_danger.vf-button_outlined:not(.vf-button_disabled):hover{background-color:var(--vf-button-outlined-danger-hover-background-color)}.vf-button_danger:not(.vf-button_text):not(.vf-button_outlined){color:var(--vf-button-danger-color);border:1px solid var(--vf-button-danger-border-color);background-color:var(--vf-button-danger-background-color)}.vf-button_danger:not(.vf-button_text):not(.vf-button_outlined):not(.vf-button_disabled):hover{color:var(--vf-button-danger-hover-color);border:1px solid var(--vf-button-danger-hover-border-color);background-color:var(--vf-button-danger-hover-background-color)}.vf-button_danger:not(.vf-button_text):not(.vf-button_outlined):not(.vf-button_disabled):active{color:var(--vf-button-danger-active-color);border:1px solid var(--vf-button-danger-active-border-color);background-color:var(--vf-button-danger-active-background-color)}.vf-button_vertical{flex-direction:column}.vf-button__icon{display:inline-block}.vf-button__icon_top+.vf-button__label{margin-top:6px}.vf-button__icon_right{order:1}.vf-button__icon_right+.vf-button__label{margin-right:6px}.vf-button__icon_bottom{order:1}.vf-button__icon_bottom+.vf-button__label{margin-bottom:6px}.vf-button__icon_left+.vf-button__label{margin-left:6px}.vf-button_disabled{opacity:.6;cursor:default}.vf-button_rounded{border-radius:var(--vf-button-rounded-border-radius)}.vf-button_small{font-size:var(--vf-button-small-font-size);padding:var(--vf-button-small-padding)}.vf-button_large{font-size:var(--vf-button-large-font-size);padding:var(--vf-button-large-padding)}.vf-content{flex:1;display:flex}.vf-popover{position:relative}.vf-popover__button{cursor:pointer;-webkit-user-select:none;user-select:none}.vf-popover__wrapper{position:absolute;background-color:var(--vf-popover-background-color)}.vf-container{width:100%;display:flex;margin-right:auto;margin-left:auto;padding-right:var(--vf-container-padding);padding-left:var(--vf-container-padding)}@media (min-width: 640px){.vf-container{max-width:calc(640px - var(--vf-container-padding) * 2)}}@media (min-width: 768px){.vf-container{max-width:calc(768px - var(--vf-container-padding) * 2)}}@media (min-width: 1024px){.vf-container{max-width:calc(1024px - var(--vf-container-padding) * 2)}}@media (min-width: 1280px){.vf-container{max-width:calc(1280px - var(--vf-container-padding) * 2)}}@media (min-width: 1536px){.vf-container{max-width:calc(1536px - var(--vf-container-padding) * 2)}}
|
|
2
|
-
/*$vite$:1*/`,document.head.appendChild(C);const P={class:"vf-layout"},M=o.defineComponent({__name:"defaultLayout",setup(t){return(e,a)=>(o.openBlock(),o.createElementBlock("div",P,[o.createVNode(o.unref(S),null,{default:o.withCtx(()=>[o.renderSlot(e.$slots,"header")]),_:3}),o.createVNode(o.unref(V),null,{default:o.withCtx(()=>[o.renderSlot(e.$slots,"content")]),_:3}),o.createVNode(o.unref(E),null,{default:o.withCtx(()=>[o.renderSlot(e.$slots,"footer")]),_:3})]))}}),p=(t,e)=>{const a=t.__vccOpts||t;for(const[r,l]of e)a[r]=l;return a},T={},L={class:"vf-left-sidebar-flexbox"},D={class:"vf-left-sidebar"},R={class:"vf-main-content"};function Z(t,e){const a=o.resolveComponent("router-view");return o.openBlock(),o.createElementBlock("div",L,[o.createElementVNode("div",D,[o.renderSlot(t.$slots,"leftSidebar")]),o.createElementVNode("div",R,[o.createVNode(a)])])}const A=p(T,[["render",Z]]),H={},I={class:"vf-demo"};function U(t,e){return o.openBlock(),o.createElementBlock("div",I,[o.renderSlot(t.$slots,"default")])}const q=p(H,[["render",U]]);/*!
|
|
3
|
-
|
|
4
|
-
* (c) 2024 Eduardo San Martin Morote
|
|
5
|
-
* @license MIT
|
|
6
|
-
*/var w;(function(t){t.pop="pop",t.push="push"})(w||(w={}));var B;(function(t){t.back="back",t.forward="forward",t.unknown=""})(B||(B={})),Symbol(process.env.NODE_ENV!=="production"?"navigation failure":"");var x;(function(t){t[t.aborted=4]="aborted",t[t.cancelled=8]="cancelled",t[t.duplicated=16]="duplicated"})(x||(x={})),Symbol(process.env.NODE_ENV!=="production"?"router view location matched":""),Symbol(process.env.NODE_ENV!=="production"?"router view depth":""),Symbol(process.env.NODE_ENV!=="production"?"router":"");const K=Symbol(process.env.NODE_ENV!=="production"?"route location":"");Symbol(process.env.NODE_ENV!=="production"?"router view location":"");function G(t){return o.inject(K)}const W=["href"],h=o.defineComponent({__name:"link",props:{to:{default:""},url:{default:void 0},type:{default:"a"},label:{default:""},active:{type:Boolean},disabled:{type:Boolean}},emits:["onActive"],setup(t,{emit:e}){const a=e,r=t,l=G(),n=o.ref(null),u=o.computed(()=>(r.type==="router-link"&&l.matched.some(({name:f})=>r.to.name===f)&&a("onActive"),r.active));return(f,d)=>{const s=o.resolveComponent("router-link");return f.type==="a"?(o.openBlock(),o.createElementBlock("a",{key:0,href:f.url,class:o.normalizeClass(["vf-link",{"vf-link_active":f.active,"vf-link_disabled":f.disabled}])},[f.$slots.default?o.renderSlot(f.$slots,"default",{key:0}):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.createTextVNode(o.toDisplayString(f.label),1)],64))],10,W)):(o.openBlock(),o.createBlock(s,{key:1,ref_key:"link",ref:n,to:f.to,class:o.normalizeClass(["vf-link",{"vf-link_active":u.value}]),disabled:f.disabled,"active-class":"vf-link_partially-active","exact-active-class":"vf-link_active"},{default:o.withCtx(()=>[f.$slots.default?o.renderSlot(f.$slots,"default",{key:0}):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.createTextVNode(o.toDisplayString(f.label),1)],64))]),_:3},8,["to","class","disabled"]))}}}),J={},Q={class:"vf-card"},X={key:0,class:"vf-card__default"},Y={key:1,class:"vf-card__header"},oo={key:2,class:"vf-card__body"},eo={key:3,class:"vf-card__footer"};function to(t,e){return o.openBlock(),o.createElementBlock("div",Q,[t.$slots.default?(o.openBlock(),o.createElementBlock("div",X,[o.renderSlot(t.$slots,"default")])):o.createCommentVNode("",!0),t.$slots.header?(o.openBlock(),o.createElementBlock("div",Y,[o.renderSlot(t.$slots,"header")])):o.createCommentVNode("",!0),t.$slots.body?(o.openBlock(),o.createElementBlock("div",oo,[o.renderSlot(t.$slots,"body")])):o.createCommentVNode("",!0),t.$slots.footer?(o.openBlock(),o.createElementBlock("div",eo,[o.renderSlot(t.$slots,"footer")])):o.createCommentVNode("",!0)])}const F=p(J,[["render",to]]),ro={class:"vf-logo"},no=["src","width","height","alt"],lo=["src","width","height","alt"],ao=o.defineComponent({__name:"logo",props:{to:{default:void 0},url:{default:void 0},src:{},alt:{default:void 0},type:{default:""},dark:{type:Boolean},width:{default:void 0},height:{default:void 0}},setup(t){const e=t,a=o.computed(()=>Array.isArray(e.src)?e.dark?e.src[1]:e.src[0]:e.src);return(r,l)=>(o.openBlock(),o.createElementBlock("div",ro,[r.type.length?(o.openBlock(),o.createBlock(o.unref(h),{key:0,type:r.type,to:r.to,url:r.url},{default:o.withCtx(()=>[o.createElementVNode("img",{src:a.value,width:r.width,height:r.height,alt:r.alt},null,8,no)]),_:1},8,["type","to","url"])):(o.openBlock(),o.createElementBlock("img",{key:1,src:a.value,width:r.width,height:r.height,alt:r.alt},null,8,lo))]))}}),v=(t,e)=>{const a=t.__vccOpts||t;for(const[r,l]of e)a[r]=l;return a},co={},io={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",fill:"none",width:"16",height:"16"};function so(t,e){return o.openBlock(),o.createElementBlock("svg",io,e[0]||(e[0]=[o.createStaticVNode('<circle fill="currentColor" cx="256" cy="256" r="128"></circle><rect fill="currentColor" y="240.03" width="96" height="31.94"></rect><rect fill="currentColor" x="416" y="240.03" width="96" height="31.94"></rect><rect fill="currentColor" x="239.95" width="32.1" height="96"></rect><polygon fill="currentColor" points="240 416 272 416 272 512 240.06 512 240 416"></polygon><rect fill="currentColor" x="93.09" y="60.96" width="31.94" height="96" transform="translate(-45.1 109.03) rotate(-45)"></rect><rect fill="currentColor" x="355.02" y="92.75" width="96" height="32.1" transform="translate(41.11 316.85) rotate(-45)"></rect><polygon fill="currentColor" points="357.08 380.39 379.71 357.76 447.59 425.65 425 448.23 357.08 380.39"></polygon><polygon fill="currentColor" points="131.75 357.04 154.37 379.67 86.49 447.55 63.9 424.96 131.75 357.04"></polygon>',9)]))}const fo=v(co,[["render",so]]),vo=Object.freeze(Object.defineProperty({__proto__:null,default:fo},Symbol.toStringTag,{value:"Module"})),uo={},bo={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",fill:"none",width:"16",height:"16"};function po(t,e){return o.openBlock(),o.createElementBlock("svg",bo,e[0]||(e[0]=[o.createElementVNode("path",{fill:"currentColor",d:"m352,448c-123.71,0-224-100.29-224-224,0-107.81,76.16-197.81,177.61-219.18-16.05-3.15-32.64-4.82-49.61-4.82C114.62,0,0,114.62,0,256s114.62,256,256,256c75.54,0,143.44-32.73,190.3-84.77-28.66,13.32-60.61,20.77-94.3,20.77Z"},null,-1)]))}const mo=v(uo,[["render",po]]),go=Object.freeze(Object.defineProperty({__proto__:null,default:mo},Symbol.toStringTag,{value:"Module"})),_o={},ho={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",fill:"none",width:"16",height:"16"};function ko(t,e){return o.openBlock(),o.createElementBlock("svg",ho,e[0]||(e[0]=[o.createElementVNode("path",{fill:"currentColor",d:"M32,160h448c32.5,0,31.5-32,31.5-32s0-32-31.5-32H32c-32.5,0-31.5,32-31.5,32S-0.5,160,32,160z"},null,-1),o.createElementVNode("path",{fill:"currentColor",d:"M32,288h448c32.5,0,31.5-32,31.5-32s0-32-31.5-32H32c-32.5,0-31.5,32-31.5,32S-0.5,288,32,288z"},null,-1),o.createElementVNode("path",{fill:"currentColor",d:"M32,415.5h448c32.5,0,31.5-32,31.5-32s0-32-31.5-32H32c-32.5,0-31.5,32-31.5,32S-0.5,415.5,32,415.5z"},null,-1)]))}const yo=v(_o,[["render",ko]]),Co=Object.freeze(Object.defineProperty({__proto__:null,default:yo},Symbol.toStringTag,{value:"Module"})),wo={},Bo={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",fill:"none",width:"16",height:"16"};function xo(t,e){return o.openBlock(),o.createElementBlock("svg",Bo,e[0]||(e[0]=[o.createElementVNode("path",{fill:"currentColor",d:"m33,512h447c21.33,1,32-10.67,32-35,0-128-106.67-189-192-189h-128C106.67,288,0,352,0,480c-.11,21.99,11.33,32.21,33,32Z"},null,-1),o.createElementVNode("circle",{fill:"currentColor",cx:"256",cy:"127",r:"127"},null,-1)]))}const Fo=v(wo,[["render",xo]]),$o=Object.freeze(Object.defineProperty({__proto__:null,default:Fo},Symbol.toStringTag,{value:"Module"})),So={},Eo={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",fill:"none",width:"16",height:"16"};function Vo(t,e){return o.openBlock(),o.createElementBlock("svg",Eo,e[0]||(e[0]=[o.createElementVNode("path",{fill:"currentColor",d:"m220.45,16.12c18.29-17.75,38.39-24.95,64,0l208.5,192.5c20.88,21.19,15,47-17,47l-31.5.5v224c.04,21.44-10.88,32.07-32.32,32.32h-63.85c-21.36-.51-31.86-11.38-32.07-32.07v-128.25c.21-21.63-10.58-32.08-31.88-31.88h-63.88c-21.48-.1-32.04,10.63-31.94,31.94v127.94c-.11,21.25-10.59,31.95-31.77,31.77h-64c-22.05.21-32.5-10.69-32.03-32.03v-223.74l-31.76-.5c-33,0-37-26.88-16-47L220.45,16.12Z"},null,-1)]))}const No=v(So,[["render",Vo]]),Oo=Object.freeze(Object.defineProperty({__proto__:null,default:No},Symbol.toStringTag,{value:"Module"})),zo={},jo={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",fill:"none",width:"16",height:"16"};function Po(t,e){return o.openBlock(),o.createElementBlock("svg",jo,e[0]||(e[0]=[o.createElementVNode("path",{fill:"currentColor",d:"m496.36,59.31c15.08-15.08,15.08-32.92,0-48s-24.92-15.08-40,0L192.33,275.63,56.57,139.87c-15.08-15.08-30.17-15.09-45.25,0-15.08,15.08-15.09,30.17,0,45.25l158.39,158.39c15.08,15.08,30.17,15.09,45.25,0L496.36,59.31Z"},null,-1)]))}const Mo=v(zo,[["render",Po]]),To=Object.freeze(Object.defineProperty({__proto__:null,default:Mo},Symbol.toStringTag,{value:"Module"})),Lo={},Do={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",fill:"none",width:"16",height:"16"};function Ro(t,e){return o.openBlock(),o.createElementBlock("svg",Do,e[0]||(e[0]=[o.createElementVNode("g",null,[o.createElementVNode("path",{d:"m256,507c-67.04,0-130.08-26.11-177.48-73.52S5,323.04,5,256,31.11,125.92,78.52,78.52,188.96,5,256,5s130.08,26.11,177.48,73.52,73.52,110.44,73.52,177.48-26.11,130.08-73.52,177.48-110.44,73.52-177.48,73.52Z"}),o.createElementVNode("path",{fill:"currentColor",d:"m256,10c33.21,0,65.43,6.5,95.75,19.33,29.29,12.39,55.6,30.13,78.2,52.72s40.33,48.9,52.72,78.2c12.82,30.32,19.33,62.54,19.33,95.75s-6.5,65.43-19.33,95.75c-12.39,29.29-30.13,55.6-52.72,78.2s-48.9,40.33-78.2,52.72c-30.32,12.82-62.54,19.33-95.75,19.33s-65.43-6.5-95.75-19.33c-29.29-12.39-55.6-30.13-78.2-52.72s-40.33-48.9-52.72-78.2c-12.82-30.32-19.33-62.54-19.33-95.75s6.5-65.43,19.33-95.75c12.39-29.29,30.13-55.6,52.72-78.2s48.9-40.33,78.2-52.72c30.32-12.82,62.54-19.33,95.75-19.33m0-10C114.62,0,0,114.62,0,256s114.62,256,256,256,256-114.62,256-256S397.38,0,256,0h0Z"})],-1),o.createElementVNode("path",{fill:"currentColor",d:"m257.5,9.5v495C102.44,488.3,21.16,410.81,8.5,248.5,16.5,128.5,98.26,27.89,257.5,9.5Z"},null,-1)]))}const Zo=v(Lo,[["render",Ro]]),Ao=Object.freeze(Object.defineProperty({__proto__:null,default:Zo},Symbol.toStringTag,{value:"Module"})),Ho={},Io={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",fill:"none",width:"16",height:"16"};function Uo(t,e){return o.openBlock(),o.createElementBlock("svg",Io,e[0]||(e[0]=[o.createElementVNode("path",{fill:"currentColor",d:"m256,480c-119.85,0-217.71-94.12-223.71-212.48C25.72,137.84,131.42,29.08,261.23,32.06c58.54,1.34,111.52,25.16,150.69,63.15.02.02.06.02.08,0l22.54-22.54s.02-.06,0-.08C384.4,23.77,314.35-4.69,237.7.64,111.85,9.39,10.68,109.56.81,235.33c-11.82,150.71,106.97,276.67,255.19,276.67,94.72,0,197.27-90.53,208-112,8-16-16-24-24.17-16-17.03,16.67-107.72,96-183.83,96Z"},null,-1),o.createElementVNode("path",{fill:"currentColor",d:"m487,139.34V43.37c0-10.38-12.55-15.58-19.9-8.24l-95.97,95.97c-7.34,7.34-2.14,19.9,8.24,19.9h95.97c6.44,0,11.66-5.22,11.66-11.66Z"},null,-1)]))}const qo=v(Ho,[["render",Uo]]),Ko=Object.freeze(Object.defineProperty({__proto__:null,default:qo},Symbol.toStringTag,{value:"Module"})),Go={},Wo={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",fill:"none",width:"16",height:"16"};function Jo(t,e){return o.openBlock(),o.createElementBlock("svg",Wo,e[0]||(e[0]=[o.createElementVNode("path",{fill:"currentColor",d:"M279.6 158.3l168.1 168.1c16.1 16.1-.1 32.5-.1 32.5s-16 15.4-31.9-.5L256.1 198.8l-160 160c-16 16-31.5-.5-31.5-.5s-16.5-15.5-.5-31.5l168.5-168.5c16-16 31-16 47 0z"},null,-1)]))}const Qo=v(Go,[["render",Jo]]),Xo=Object.freeze(Object.defineProperty({__proto__:null,default:Qo},Symbol.toStringTag,{value:"Module"})),Yo={},oe={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",fill:"none",width:"16",height:"16"};function ee(t,e){return o.openBlock(),o.createElementBlock("svg",oe,e[0]||(e[0]=[o.createElementVNode("path",{fill:"currentColor",d:"M232.4,353.7L64.3,185.6c-16.1-16.1,0.1-32.5,0.1-32.5s16-15.4,31.9,0.5l159.6,159.6l160-160 c16-16,31.5,0.5,31.5,0.5s16.5,15.5,0.5,31.5c-13,13-168.5,168.5-168.5,168.5C263.4,369.7,248.4,369.7,232.4,353.7z"},null,-1)]))}const te=v(Yo,[["render",ee]]),re=Object.freeze(Object.defineProperty({__proto__:null,default:te},Symbol.toStringTag,{value:"Module"})),ne={},le={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",fill:"none",width:"16",height:"16"};function ae(t,e){return o.openBlock(),o.createElementBlock("svg",le,e[0]||(e[0]=[o.createElementVNode("path",{fill:"currentColor",d:"M158.3,232.4L326.4,64.3c16.1-16.1,32.5,0.1,32.5,0.1s15.4,16-0.5,31.9L198.8,255.9l160,160 c16,16-0.5,31.5-0.5,31.5s-15.5,16.5-31.5,0.5c-13-13-168.5-168.5-168.5-168.5C142.3,263.4,142.3,248.4,158.3,232.4z"},null,-1)]))}const ce=v(ne,[["render",ae]]),ie=Object.freeze(Object.defineProperty({__proto__:null,default:ce},Symbol.toStringTag,{value:"Module"})),de={},se={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",fill:"none",width:"16",height:"16"};function fe(t,e){return o.openBlock(),o.createElementBlock("svg",se,e[0]||(e[0]=[o.createElementVNode("path",{fill:"currentColor",d:"M353.7,279.6L185.6,447.7c-16.1,16.1-32.5-0.1-32.5-0.1s-15.4-16,0.5-31.9l159.6-159.6l-160-160 c-16-16,0.5-31.5,0.5-31.5s15.5-16.5,31.5-0.5c13,13,168.5,168.5,168.5,168.5C369.7,248.6,369.7,263.6,353.7,279.6z"},null,-1)]))}const ve=v(de,[["render",fe]]),ue=Object.freeze(Object.defineProperty({__proto__:null,default:ve},Symbol.toStringTag,{value:"Module"})),be={},pe={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",fill:"none",width:"16",height:"16"};function me(t,e){return o.openBlock(),o.createElementBlock("svg",pe,e[0]||(e[0]=[o.createElementVNode("path",{fill:"currentColor",d:"m484,508c5.66,5.66,18.34,5.66,24,0,5.66-5.66,5.66-18.34,0-24l-171.29-168.5-22.63,22.63,169.91,169.87Z"},null,-1),o.createElementVNode("path",{fill:"currentColor",d:"m327.76,56.24c-74.98-74.98-196.55-74.98-271.53,0s-74.98,196.55,0,271.53c74.98,74.98,196.55,74.98,271.53,0,74.98-74.98,74.98-196.55,0-271.53Zm-22.63,248.9c-62.48,62.48-163.79,62.48-226.27,0s-62.48-163.79,0-226.27,163.79-62.48,226.27,0,62.48,163.79,0,226.27Z"},null,-1)]))}const ge=v(be,[["render",me]]),_e=Object.freeze(Object.defineProperty({__proto__:null,default:ge},Symbol.toStringTag,{value:"Module"})),he={},ke={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",fill:"none",width:"16",height:"16"};function ye(t,e){return o.openBlock(),o.createElementBlock("svg",ke,e[0]||(e[0]=[o.createElementVNode("path",{fill:"currentColor",d:"m345.37.69c-5.57-1.85-11.6,1.15-13.47,6.72l-3.4,10.11c-1.88,5.58,1.12,11.63,6.71,13.51l-.46-.15c84.86,31.87,145.26,113.74,145.26,209.74,0,123.71-100.29,224-224,224S32,364.33,32,240.62c0-96.23,60.69-178.26,145.87-209.97l-.94.3c5.6-1.82,8.67-7.84,6.85-13.44l-3.3-10.14c-1.81-5.56-7.74-8.61-13.31-6.88C69.58,36.6,0,130.47,0,240.62c0,141.38,114.62,256,256,256s256-114.62,256-256c0-109.94-69.32-203.66-166.63-239.92Z"},null,-1)]))}const Ce=v(he,[["render",ye]]),we=Object.freeze(Object.defineProperty({__proto__:null,default:Ce},Symbol.toStringTag,{value:"Module"})),Be=(t,e,a)=>{const r=t[e];return r?typeof r=="function"?r():Promise.resolve(r):new Promise((l,n)=>{(typeof queueMicrotask=="function"?queueMicrotask:setTimeout)(n.bind(null,new Error("Unknown variable dynamic import: "+e+(e.split("/").length!==a?". Note that variables only represent file names one level deep.":""))))})},xe=["bars","check","chevronDown","chevronLeft","chevronRight","chevronUp","circleHalf","circleNotch","house","magnifyingGlass","moon","rotateRight","sun","user"],Fe={list:xe},$e=o.defineComponent({__name:"icon",props:{icon:{type:String,default:"moon",validator:t=>Fe.list.indexOf(t)>-1},spin:{type:Boolean,default:!1}},setup(t){const e=t,a=o.computed(()=>{const l=e.icon;return o.defineAsyncComponent(()=>Be(Object.assign({"./bars.vue":()=>Promise.resolve().then(()=>Co),"./check.vue":()=>Promise.resolve().then(()=>To),"./chevronDown.vue":()=>Promise.resolve().then(()=>re),"./chevronLeft.vue":()=>Promise.resolve().then(()=>ie),"./chevronRight.vue":()=>Promise.resolve().then(()=>ue),"./chevronUp.vue":()=>Promise.resolve().then(()=>Xo),"./circleHalf.vue":()=>Promise.resolve().then(()=>Ao),"./circleNotch.vue":()=>Promise.resolve().then(()=>we),"./house.vue":()=>Promise.resolve().then(()=>Oo),"./icon.vue":()=>Promise.resolve().then(()=>Se),"./magnifyingGlass.vue":()=>Promise.resolve().then(()=>_e),"./moon.vue":()=>Promise.resolve().then(()=>go),"./rotateRight.vue":()=>Promise.resolve().then(()=>Ko),"./sun.vue":()=>Promise.resolve().then(()=>vo),"./user.vue":()=>Promise.resolve().then(()=>$o)}),`./${l}.vue`,2))}),r=o.computed(()=>{let l=["cm-icon"];return e.spin&&l.push("cm-icon_animations_spin"),l});return(l,n)=>(o.openBlock(),o.createBlock(o.resolveDynamicComponent(a.value),{class:o.normalizeClass(r.value)},null,8,["class"]))}}),m=v($e,[["__scopeId","data-v-e8b1cecb"]]),Se=Object.freeze(Object.defineProperty({__proto__:null,default:m},Symbol.toStringTag,{value:"Module"})),Ee={class:"vf-menu__list"},Ve={key:1,class:"vf-menu__separator"},Ne=["onClick"],$=o.defineComponent({__name:"menu",props:{items:{},orientation:{default:"vertical"}},emits:["onActive"],setup(t,{emit:e}){const a=e,r=t,l=(d,s)=>`${d.label}_${s.toString()}`,n=d=>Object.prototype.hasOwnProperty.call(d,"to")?"router-link":"a",u=d=>{Object.prototype.hasOwnProperty.call(d,"items")?(r.items.map(s=>{s!==d&&(s.subMenuVisible=!1)}),d.subMenuVisible=!d.subMenuVisible):Object.prototype.hasOwnProperty.call(d,"command")&&d.command()},f=d=>{var s;for(const c in r.items){const b=r.items[c];Object.prototype.hasOwnProperty.call(b,"items")&&((s=b.items)!=null&&s.some(k=>k===d)?(b.active=!0,b.subMenuVisible=!0):(b.active=!1,b.subMenuVisible=!1))}a("onActive",d)};return(d,s)=>(o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass(["vf-menu",`vf-menu_${d.orientation}`])},[o.createElementVNode("ul",Ee,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(d.items,(c,b)=>(o.openBlock(),o.createElementBlock("li",{key:l(c,b),class:"vf-menu__item"},[d.$slots[l(c,b)]?o.renderSlot(d.$slots,l(c,b),{key:0,item:{...c,class:"vf-menu__link"}}):c.separator?(o.openBlock(),o.createElementBlock("hr",Ve)):c.hasOwnProperty("items")?(o.openBlock(),o.createElementBlock(o.Fragment,{key:2},[o.createElementVNode("div",{class:o.normalizeClass(["vf-menu__parent",{"vf-menu__parent_active":c.active}]),onClick:k=>u(c)},[c.icon?(o.openBlock(),o.createBlock(o.unref(m),{key:0,icon:c.icon,class:"vf-menu__icon"},null,8,["icon"])):o.createCommentVNode("",!0),o.createTextVNode(" "+o.toDisplayString(c.label)+" ",1),o.createVNode(o.unref(m),{icon:"chevronDown"})],10,Ne),c.items?(o.openBlock(),o.createBlock(o.unref($),{key:0,items:c.items,class:o.normalizeClass(["vf-menu__submenu",{"vf-menu__submenu_visible":c.subMenuVisible}]),onOnActive:f},null,8,["items","class"])):o.createCommentVNode("",!0)],64)):(o.openBlock(),o.createBlock(o.unref(h),{key:3,to:c.to,url:c.url,type:n(c),class:"vf-menu__link",active:c.active,disabled:c.disabled,onClick:k=>u(c),onOnActive:k=>f(c)},{default:o.withCtx(()=>[c.icon?(o.openBlock(),o.createBlock(o.unref(m),{key:0,icon:c.icon,class:"vf-menu__icon"},null,8,["icon"])):o.createCommentVNode("",!0),o.createTextVNode(" "+o.toDisplayString(c.label),1)]),_:2},1032,["to","url","type","active","disabled","onClick","onOnActive"]))]))),128))])],2))}}),Oe={},ze={class:"vf-header"};function je(t,e){return o.openBlock(),o.createElementBlock("header",ze,[o.renderSlot(t.$slots,"default")])}const S=p(Oe,[["render",je]]),Pe={},Me={class:"vf-footer"};function Te(t,e){return o.openBlock(),o.createElementBlock("footer",Me,[o.renderSlot(t.$slots,"default")])}const E=p(Pe,[["render",Te]]),Le=["disabled"],De=o.defineComponent({__name:"button",props:{to:{default:void 0},icon:{default:void 0},type:{default:"button"},size:{default:"normal"},label:{default:""},loading:{type:Boolean,default:!1},rounded:{type:Boolean,default:!1},iconPos:{default:"left"},variant:{default:void 0},severity:{default:"primary"},disabled:{type:Boolean,default:!1}},setup(t){const e=t,a=o.computed(()=>{let n=["vf-button",`vf-button_${e.severity}`];return["top","bottom"].includes(e.iconPos)&&n.push("vf-button_vertical"),e.variant==="text"&&n.push("vf-button_text"),e.variant==="outlined"&&n.push("vf-button_outlined"),["small","large"].indexOf(e.size)>-1&&n.push(`vf-button_${e.size}`),(e.loading||e.disabled)&&n.push("vf-button_disabled"),e.rounded&&n.push("vf-button_rounded"),n}),r=o.computed(()=>["vf-button__icon",`vf-button__icon_${e.iconPos}`]),l=o.computed(()=>["vf-button__label"]);return(n,u)=>e.type==="button"?(o.openBlock(),o.createElementBlock("button",{key:0,class:o.normalizeClass(a.value),disabled:e.loading||e.disabled},[e.icon&&!e.loading?(o.openBlock(),o.createBlock(o.unref(m),{key:0,icon:e.icon,class:o.normalizeClass(r.value)},null,8,["icon","class"])):o.createCommentVNode("",!0),e.loading?(o.openBlock(),o.createBlock(o.unref(m),{key:1,icon:"circleNotch",class:o.normalizeClass(r.value),spin:""},null,8,["class"])):o.createCommentVNode("",!0),n.$slots.default?(o.openBlock(),o.createElementBlock("span",{key:2,class:o.normalizeClass(l.value)},[o.renderSlot(n.$slots,"default")],2)):n.label?(o.openBlock(),o.createElementBlock("span",{key:3,class:o.normalizeClass(l.value)},o.toDisplayString(n.label),3)):o.createCommentVNode("",!0)],10,Le)):(o.openBlock(),o.createBlock(o.unref(h),{key:1,to:e.to,type:e.type,class:o.normalizeClass(a.value),disabled:e.loading||e.disabled},{default:o.withCtx(()=>[e.icon?(o.openBlock(),o.createBlock(o.unref(m),{key:0,icon:e.icon,class:o.normalizeClass(r.value)},null,8,["icon","class"])):o.createCommentVNode("",!0),n.$slots.default?(o.openBlock(),o.createElementBlock("span",{key:1,class:o.normalizeClass(l.value)},[o.renderSlot(n.$slots,"default")],2)):n.label?(o.openBlock(),o.createElementBlock("span",{key:2,class:o.normalizeClass(l.value)},o.toDisplayString(n.label),3)):o.createCommentVNode("",!0)]),_:3},8,["to","type","class","disabled"]))}}),Re={},Ze={class:"vf-content"};function Ae(t,e){return o.openBlock(),o.createElementBlock("div",Ze,[o.renderSlot(t.$slots,"default")])}const V=p(Re,[["render",Ae]]),He={class:"vf-popover"},Ie=o.defineComponent({__name:"popover",emits:["onClick"],setup(t,{expose:e,emit:a}){const r=a,l=o.reactive({visible:!1}),n=()=>l.visible=!0,u=()=>l.visible=!1,f=()=>l.visible=!l.visible,d=()=>r("onClick");return e({show:n,hide:u,toggle:f}),(s,c)=>(o.openBlock(),o.createElementBlock("div",He,[o.createElementVNode("div",{class:"vf-popover__button",onClick:d},[o.renderSlot(s.$slots,"button")]),o.withDirectives(o.createVNode(o.unref(F),{class:"vf-popover__wrapper"},o.createSlots({default:o.withCtx(()=>[c[0]||(c[0]=o.createElementVNode("div",{class:"vf-popover__arrow"},null,-1))]),_:2},[s.$slots.default?{name:"default",fn:o.withCtx(()=>[o.renderSlot(s.$slots,"default")]),key:"0"}:void 0,s.$slots.popoverHeader?{name:"header",fn:o.withCtx(()=>[o.renderSlot(s.$slots,"popoverHeader")]),key:"1"}:void 0,s.$slots.popoverBody?{name:"body",fn:o.withCtx(()=>[o.renderSlot(s.$slots,"popoverBody")]),key:"2"}:void 0,s.$slots.popoverFooter?{name:"footer",fn:o.withCtx(()=>[o.renderSlot(s.$slots,"popoverFooter")]),key:"3"}:void 0]),1536),[[o.vShow,l.visible]])]))}}),Ue={},qe={class:"vf-container"};function Ke(t,e){return o.openBlock(),o.createElementBlock("div",qe,[o.renderSlot(t.$slots,"default")])}const Ge=p(Ue,[["render",Ke]]),N=(t,e)=>"#"+t.replace(/^#/,"").replace(/../g,a=>("0"+Math.min(255,Math.max(0,parseInt(a,16)+e)).toString(16)).slice(-2)),We=(t,e)=>N(t,16*e),Je=(t,e)=>N(t,-16*e),O=t=>{const e=parseInt(t.replace("#",""),16),a=e>>16&255,r=e>>8&255,l=e&255;return`${a}, ${r}, ${l}`},Qe=t=>{const e=t.replace(/([A-Z])/g,"-$1");return e.charAt(0).toUpperCase()+e.slice(1)},_=t=>t.filter(e=>!Xe.includes(e)).map(e=>Qe(e)).join("-").toLowerCase(),Xe=["dark","light","theme","preset","colors","components","colorScheme"],g=[],y=[],z=(t,e=[])=>{for(const a in t){const r=t[a],l=e.concat([a]);if(typeof r=="object")z(r,l);else if(l.some(n=>n==="theme")&&l.some(n=>n==="preset")){if(l.some(n=>n==="colorScheme")&&l.some(n=>n==="dark"))y.push(`--vf-${_(l)}: ${r}`);else if(g.push(`--vf-${_(l)}: ${r}`),l.some(n=>n==="colors")&&(g.push(`--vf-${_(l)}-rgb: ${O(r)}`),a!=="white"))for(let n=1;n<10;++n){let u;n<5?u=We(r,5-n):u=Je(r,n-5),g.push(`--vf-${_(l)}-${n}00: ${u}`),g.push(`--vf-${_(l)}-${n}00-rgb: ${O(u)}`)}}}},Ye={install(t,e){z(e),g.length&&document.styleSheets[0].insertRule(`:root { ${g.join(";")} }`),y.length&&document.styleSheets[0].insertRule(`:root[data-theme=dark] { ${y.join(";")} }`)}},j={colors:{white:"#ffffff",green:"#0cbc87",red:"#d6293e",yellow:"#f7c32e",sky:"#0ea5e9",blue:"#007bff",purple:"#6f42c1",gray:"#adb5bd"},colorScheme:{light:{bgColor:"#ffffff",bgSoftColor:"#f9f9f9",textColor:"rgba(60, 60, 67)",secondaryTextColor:"rgba(60, 60, 67, .78)",borderColor:"#c2c2c4",gutterColor:"#e2e2e3",dividerColor:"#e2e2e3"},dark:{bgColor:"#1a1a1a",bgSoftColor:"#242424",textColor:"rgba(255, 255, 255, .87)",secondaryTextColor:"rgba(235, 235, 235, .6)",borderColor:"#3c3f44",gutterColor:"#000000",dividerColor:"#2e2e32"}}},ot={...j,components:{base:j,button:{padding:"6px 10px",borderRadius:"6px",roundedBorderRadius:"2rem",small:{fontSize:"0.875rem",padding:"4px 8px"},large:{fontSize:"1.125rem",padding:"4px 8px"},colorScheme:{light:{primary:{color:"#FFFFFF",hoverColor:"#FFFFFF",borderColor:"var(--vf-blue)",activeColor:"#FFFFFF",backgroundColor:"var(--vf-blue)",hoverBorderColor:"var(--vf-blue-600)",activeBorderColor:"var(--vf-blue-700)",hoverBackgroundColor:"var(--vf-blue-600)",activeBackgroundColor:"var(--vf-blue-700)"},secondary:{color:"#FFFFFF",hoverColor:"#FFFFFF",borderColor:"var(--vf-gray)",activeColor:"#FFFFFF",backgroundColor:"var(--vf-gray)",hoverBorderColor:"var(--vf-gray-600)",activeBorderColor:"var(--vf-gray-700)",hoverBackgroundColor:"var(--vf-gray-600)",activeBackgroundColor:"var(--vf-gray-700)"},success:{color:"#FFFFFF",hoverColor:"#FFFFFF",borderColor:"var(--vf-green)",activeColor:"#FFFFFF",backgroundColor:"var(--vf-green)",hoverBorderColor:"var(--vf-green-600)",activeBorderColor:"var(--vf-green-700)",hoverBackgroundColor:"var(--vf-green-600)",activeBackgroundColor:"var(--vf-green-700)"},danger:{color:"#FFFFFF",hoverColor:"#FFFFFF",borderColor:"var(--vf-red)",activeColor:"#FFFFFF",backgroundColor:"var(--vf-red)",hoverBorderColor:"var(--vf-red-600)",activeBorderColor:"var(--vf-red-700)",hoverBackgroundColor:"var(--vf-red-600)",activeBackgroundColor:"var(--vf-red-700)"},warning:{color:"#FFFFFF",hoverColor:"#FFFFFF",borderColor:"var(--vf-yellow)",activeColor:"#FFFFFF",backgroundColor:"var(--vf-yellow)",hoverBorderColor:"var(--vf-yellow-600)",activeBorderColor:"var(--vf-yellow-700)",hoverBackgroundColor:"var(--vf-yellow-600)",activeBackgroundColor:"var(--vf-yellow-700)"},info:{color:"#FFFFFF",hoverColor:"#FFFFFF",borderColor:"var(--vf-sky)",activeColor:"#FFFFFF",backgroundColor:"var(--vf-sky)",hoverBorderColor:"var(--vf-sky-600)",activeBorderColor:"var(--vf-sky-700)",hoverBackgroundColor:"var(--vf-sky-600)",activeBackgroundColor:"var(--vf-sky-700)"},text:{primary:{color:"var(--vf-blue)",hoverBackgroundColor:"rgba(var(--vf-blue-600-rgb), .1)"},secondary:{color:"var(--vf-gray)",hoverBackgroundColor:"rgba(var(--vf-gray-600-rgb), .1)"},success:{color:"var(--vf-green)",hoverBackgroundColor:"rgba(var(--vf-green-600-rgb), .1)"},danger:{color:"var(--vf-red)",hoverBackgroundColor:"rgba(var(--vf-red-600-rgb), .1)"},warning:{color:"var(--vf-yellow)",hoverBackgroundColor:"rgba(var(--vf-yellow-600-rgb), .1)"},info:{color:"var(--vf-sky)",hoverBackgroundColor:"rgba(var(--vf-sky-600-rgb), .1)"}},outlined:{primary:{color:"var(--vf-blue)",borderColor:"rgba(var(--vf-blue-rgb), .4)",hoverBackgroundColor:"rgba(var(--vf-blue-600-rgb), .1)"},secondary:{color:"var(--vf-gray)",borderColor:"rgba(var(--vf-gray-rgb), .4)",hoverBackgroundColor:"rgba(var(--vf-gray-600-rgb), .1)"},success:{color:"var(--vf-green)",borderColor:"rgba(var(--vf-green-rgb), .4)",hoverBackgroundColor:"rgba(var(--vf-green-600-rgb), .1)"},danger:{color:"var(--vf-red)",borderColor:"rgba(var(--vf-red-rgb), .4)",hoverBackgroundColor:"rgba(var(--vf-red-600-rgb), .1)"},warning:{color:"var(--vf-yellow)",borderColor:"rgba(var(--vf-yellow-rgb), .4)",hoverBackgroundColor:"rgba(var(--vf-yellow-600-rgb), .1)"},info:{color:"var(--vf-sky)",borderColor:"rgba(var(--vf-sky-rgb), .4)",hoverBackgroundColor:"rgba(var(--vf-sky-600-rgb), .1)"}}}}},card:{padding:"12px",borderColor:"var(--vf-border-color)",borderRadius:"6px"},codeBlock:{},container:{padding:"12px"},content:{},demo:{},footer:{color:"var(--vf-secondary-text-color)",padding:"12px",marginTop:"24px",borderTop:"1px solid var(--vf-footer-border-color)",borderColor:"var(--vf-border-color)",backgroundColor:"var(--vf-bg-color)"},header:{height:"55px",padding:"0",borderColor:"var(--vf-border-color)",borderBottom:"1px solid var(--vf-header-border-color)",marginBottom:"24px",backgroundColor:"var(--vf-bg-color)"},link:{hoverColor:"var(--vf-blue)",activeColor:"var(--vf-blue)"},logo:{},menu:{separatorColor:"var(--vf-border-color)",link:{hoverColor:"var(--vf-blue)",activeColor:"var(--vf-blue)"},parent:{hoverColor:"var(--vf-secondary-text-color)",activeColor:"var(--vf-blue)"},item:{marginTop:"0.5rem",marginRight:"0.5rem",marginBottom:"0.5rem",marginLeft:"0.5rem"}},popover:{backgroundColor:"var(--vf-bg-color)"}}};i.Button=De,i.Card=F,i.Container=Ge,i.Content=V,i.DefaultLayout=M,i.DefaultTheme=ot,i.Demo=q,i.Footer=E,i.Header=S,i.LeftSidebarLayout=A,i.Link=h,i.Logo=ao,i.Menu=$,i.Popover=Ie,i.VueForge=Ye,Object.defineProperty(i,Symbol.toStringTag,{value:"Module"})});
|
|
1
|
+
(function(m,o){typeof exports=="object"&&typeof module<"u"?o(exports,require("vue"),require("vue-router"),require("@codemonster-ru/vueiconify")):typeof define=="function"&&define.amd?define(["exports","vue","vue-router","@codemonster-ru/vueiconify"],o):(m=typeof globalThis<"u"?globalThis:m||self,o(m.index={},m.Vue,m.VueRouter,m.index))})(this,function(m,o,Z,D){"use strict";var J=document.createElement("style");J.textContent=`.vf-header{height:var(--vf-header-height);display:flex;padding-top:var(--vf-header-padding);border-bottom:var(--vf-header-border-bottom);margin-bottom:var(--vf-header-margin-bottom);padding-bottom:var(--vf-header-padding);background-color:var(--vf-header-background-color)}.vf-content{flex:1;display:flex}.vf-footer{flex:0 0 auto;color:var(--vf-footer-color);margin-top:var(--vf-footer-margin-top);border-top:var(--vf-footer-border-top);padding-top:var(--vf-footer-padding);padding-bottom:var(--vf-footer-padding);background-color:var(--vf-footer-background-color)}.vf-layout{display:flex;flex-direction:column;height:100vh}.vf-left-sidebar-flexbox{width:100%;display:flex;flex-wrap:wrap}.vf-left-sidebar{width:250px;margin-right:48px}.vf-main-content{width:calc(100% - 298px)}.vf-demo{display:flex;align-items:center;justify-content:center;padding:24px;border-radius:6px;margin-bottom:12px;background-color:var(--vf-bg-soft-color)}.vf-link{color:inherit;cursor:pointer;text-decoration:none}.vf-link:hover{color:var(--vf-link-hover-color)}.vf-link:active{color:var(--vf-link-active-color)}.vf-link.vf-link_disabled{cursor:not-allowed}.vf-link_active,.vf-link_partially-active{color:var(--vf-link-active-color)}.vf-card{border:1px solid var(--vf-card-border-color);border-radius:var(--vf-card-border-radius)}.vf-card__default{padding:var(--vf-card-padding)}.vf-logo{position:relative}.vf-menu{display:flex}.vf-menu_horizontal>.vf-menu__list{flex-direction:row}.vf-menu_horizontal>.vf-menu__list>.vf-menu__item{align-items:center}.vf-menu_horizontal>.vf-menu__list>.vf-menu__item:not(:first-child){margin-left:var(--vf-menu-item-margin-left)}.vf-menu_horizontal>.vf-menu__list>.vf-menu__item:not(:last-child){margin-right:var(--vf-menu-item-margin-right)}.vf-menu_horizontal>.vf-menu__list>.vf-menu__item>.vf-menu__separator{height:1rem;border-top:none;border-right:none;border-left:1px solid var(--vf-menu-separator-color);border-bottom:none}.vf-menu_vertical>.vf-menu__list{width:100%;flex-direction:column}.vf-menu_vertical>.vf-menu__list>.vf-menu__item{flex-direction:column}.vf-menu_vertical>.vf-menu__list>.vf-menu__item:not(:first-child){margin-top:var(--vf-menu-item-margin-top)}.vf-menu_vertical>.vf-menu__list>.vf-menu__item:not(:last-child){margin-bottom:var(--vf-menu-item-margin-bottom)}.vf-menu_vertical>.vf-menu__list>.vf-menu__item>.vf-menu{overflow:hidden}.vf-menu__list{margin:0;padding:0;display:flex;list-style:none}.vf-menu__separator{width:100%;height:1px;border:none;margin:0;background-color:var(--vf-menu-separator-color)}.vf-menu__item{display:flex;font-weight:500}.vf-menu__link{display:flex;align-items:center;text-decoration:none}.vf-menu__link:hover{color:var(--vf-menu-link-hover-color)}.vf-menu__parent{cursor:pointer;display:flex;align-items:center;justify-content:space-between}.vf-menu__parent:hover{color:var(--vf-menu-parent-hover-color)}.vf-menu__icon{margin-right:6px}.vf-menu__submenu.vf-menu__submenu_visible{margin-top:12px;margin-left:12px}.vf-menu__submenu:not(.vf-menu__submenu_visible){height:0}.vf-button{display:inline-flex;position:relative;cursor:pointer;-webkit-user-select:none;user-select:none;align-items:center;justify-content:center;padding:var(--vf-button-padding);font-size:1rem;font-family:inherit;border-radius:var(--vf-button-border-radius);overflow:hidden}.vf-button_text{border:1px solid transparent;background-color:transparent}.vf-button_outlined{background-color:transparent}.vf-button_primary.vf-button_text{color:var(--vf-button-text-primary-color)}.vf-button_primary.vf-button_text:not(.vf-button_disabled):hover{background-color:var(--vf-button-text-primary-hover-background-color)}.vf-button_primary.vf-button_outlined{color:var(--vf-button-outlined-primary-color);border:1px solid var(--vf-button-outlined-primary-border-color)}.vf-button_primary.vf-button_outlined:not(.vf-button_disabled):hover{background-color:var(--vf-button-outlined-primary-hover-background-color)}.vf-button_primary:not(.vf-button_text):not(.vf-button_outlined){color:var(--vf-button-primary-color);border:1px solid var(--vf-button-primary-border-color);background-color:var(--vf-button-primary-background-color)}.vf-button_primary:not(.vf-button_text):not(.vf-button_outlined):not(.vf-button_disabled):hover{color:var(--vf-button-primary-hover-color);border:1px solid var(--vf-button-primary-hover-border-color);background-color:var(--vf-button-primary-hover-background-color)}.vf-button_primary:not(.vf-button_text):not(.vf-button_outlined):not(.vf-button_disabled):active{color:var(--vf-button-primary-active-color);border:1px solid var(--vf-button-primary-active-border-color);background-color:var(--vf-button-primary-active-background-color)}.vf-button_secondary.vf-button_text{color:var(--vf-button-text-secondary-color)}.vf-button_secondary.vf-button_text:not(.vf-button_disabled):hover{background-color:var(--vf-button-text-secondary-hover-background-color)}.vf-button_secondary.vf-button_outlined{color:var(--vf-button-outlined-secondary-color);border:1px solid var(--vf-button-outlined-secondary-border-color)}.vf-button_secondary.vf-button_outlined:not(.vf-button_disabled):hover{background-color:var(--vf-button-outlined-secondary-hover-background-color)}.vf-button_secondary:not(.vf-button_text):not(.vf-button_outlined){color:var(--vf-button-secondary-color);border:1px solid var(--vf-button-secondary-border-color);background-color:var(--vf-button-secondary-background-color)}.vf-button_secondary:not(.vf-button_text):not(.vf-button_outlined):not(.vf-button_disabled):hover{color:var(--vf-button-secondary-hover-color);border:1px solid var(--vf-button-secondary-hover-border-color);background-color:var(--vf-button-secondary-hover-background-color)}.vf-button_secondary:not(.vf-button_text):not(.vf-button_outlined):not(.vf-button_disabled):active{color:var(--vf-button-secondary-active-color);border:1px solid var(--vf-button-secondary-active-border-color);background-color:var(--vf-button-secondary-active-background-color)}.vf-button_success.vf-button_text{color:var(--vf-button-text-success-color)}.vf-button_success.vf-button_text:not(.vf-button_disabled):hover{background-color:var(--vf-button-text-success-hover-background-color)}.vf-button_success.vf-button_outlined{color:var(--vf-button-outlined-success-color);border:1px solid var(--vf-button-outlined-success-border-color)}.vf-button_success.vf-button_outlined:not(.vf-button_disabled):hover{background-color:var(--vf-button-outlined-success-hover-background-color)}.vf-button_success:not(.vf-button_text):not(.vf-button_outlined){color:var(--vf-button-success-color);border:1px solid var(--vf-button-success-border-color);background-color:var(--vf-button-success-background-color)}.vf-button_success:not(.vf-button_text):not(.vf-button_outlined):not(.vf-button_disabled):hover{color:var(--vf-button-success-hover-color);border:1px solid var(--vf-button-success-hover-border-color);background-color:var(--vf-button-success-hover-background-color)}.vf-button_success:not(.vf-button_text):not(.vf-button_outlined):not(.vf-button_disabled):active{color:var(--vf-button-success-active-color);border:1px solid var(--vf-button-success-active-border-color);background-color:var(--vf-button-success-active-background-color)}.vf-button_info.vf-button_text{color:var(--vf-button-text-info-color)}.vf-button_info.vf-button_text:not(.vf-button_disabled):hover{background-color:var(--vf-button-text-info-hover-background-color)}.vf-button_info.vf-button_outlined{color:var(--vf-button-outlined-info-color);border:1px solid var(--vf-button-outlined-info-border-color)}.vf-button_info.vf-button_outlined:not(.vf-button_disabled):hover{background-color:var(--vf-button-outlined-info-hover-background-color)}.vf-button_info:not(.vf-button_text):not(.vf-button_outlined){color:var(--vf-button-info-color);border:1px solid var(--vf-button-info-border-color);background-color:var(--vf-button-info-background-color)}.vf-button_info:not(.vf-button_text):not(.vf-button_outlined):not(.vf-button_disabled):hover{color:var(--vf-button-info-hover-color);border:1px solid var(--vf-button-info-hover-border-color);background-color:var(--vf-button-info-hover-background-color)}.vf-button_info:not(.vf-button_text):not(.vf-button_outlined):not(.vf-button_disabled):active{color:var(--vf-button-info-active-color);border:1px solid var(--vf-button-info-active-border-color);background-color:var(--vf-button-info-active-background-color)}.vf-button_warning.vf-button_text{color:var(--vf-button-text-warning-color)}.vf-button_warning.vf-button_text:not(.vf-button_disabled):hover{background-color:var(--vf-button-text-warning-hover-background-color)}.vf-button_warning.vf-button_outlined{color:var(--vf-button-outlined-warning-color);border:1px solid var(--vf-button-outlined-warning-border-color)}.vf-button_warning.vf-button_outlined:not(.vf-button_disabled):hover{background-color:var(--vf-button-outlined-warning-hover-background-color)}.vf-button_warning:not(.vf-button_text):not(.vf-button_outlined){color:var(--vf-button-warning-color);border:1px solid var(--vf-button-warning-border-color);background-color:var(--vf-button-warning-background-color)}.vf-button_warning:not(.vf-button_text):not(.vf-button_outlined):not(.vf-button_disabled):hover{color:var(--vf-button-warning-hover-color);border:1px solid var(--vf-button-warning-hover-border-color);background-color:var(--vf-button-warning-hover-background-color)}.vf-button_warning:not(.vf-button_text):not(.vf-button_outlined):not(.vf-button_disabled):active{color:var(--vf-button-warning-active-color);border:1px solid var(--vf-button-warning-active-border-color);background-color:var(--vf-button-warning-active-background-color)}.vf-button_danger.vf-button_text{color:var(--vf-button-text-danger-color)}.vf-button_danger.vf-button_text:not(.vf-button_disabled):hover{background-color:var(--vf-button-text-danger-hover-background-color)}.vf-button_danger.vf-button_outlined{color:var(--vf-button-outlined-danger-color);border:1px solid var(--vf-button-outlined-danger-border-color)}.vf-button_danger.vf-button_outlined:not(.vf-button_disabled):hover{background-color:var(--vf-button-outlined-danger-hover-background-color)}.vf-button_danger:not(.vf-button_text):not(.vf-button_outlined){color:var(--vf-button-danger-color);border:1px solid var(--vf-button-danger-border-color);background-color:var(--vf-button-danger-background-color)}.vf-button_danger:not(.vf-button_text):not(.vf-button_outlined):not(.vf-button_disabled):hover{color:var(--vf-button-danger-hover-color);border:1px solid var(--vf-button-danger-hover-border-color);background-color:var(--vf-button-danger-hover-background-color)}.vf-button_danger:not(.vf-button_text):not(.vf-button_outlined):not(.vf-button_disabled):active{color:var(--vf-button-danger-active-color);border:1px solid var(--vf-button-danger-active-border-color);background-color:var(--vf-button-danger-active-background-color)}.vf-button_vertical{flex-direction:column}.vf-button__icon{display:inline-block}.vf-button__icon_top+.vf-button__label{margin-top:6px}.vf-button__icon_right{order:1}.vf-button__icon_right+.vf-button__label{margin-right:6px}.vf-button__icon_bottom{order:1}.vf-button__icon_bottom+.vf-button__label{margin-bottom:6px}.vf-button__icon_left+.vf-button__label{margin-left:6px}.vf-button_disabled{opacity:.6;cursor:default}.vf-button_rounded{border-radius:var(--vf-button-rounded-border-radius)}.vf-button_small{font-size:var(--vf-button-small-font-size);padding:var(--vf-button-small-padding)}.vf-button_large{font-size:var(--vf-button-large-font-size);padding:var(--vf-button-large-padding)}.vf-input{display:flex;align-items:center;gap:.5rem;padding:var(--vf-input-padding);border-radius:var(--vf-input-border-radius);border:1px solid var(--vf-input-border-color);background-color:var(--vf-input-background-color);color:var(--vf-input-text-color);transition:border-color .2s ease}.vf-input__control{flex:1;border:none;background:transparent;color:inherit;font-size:1rem;outline:none}.vf-input__control::placeholder{color:var(--vf-input-placeholder-color)}.vf-input:hover:not(.vf-input_disabled){border-color:var(--vf-input-hover-border-color)}.vf-input:focus-within:not(.vf-input_disabled){border-color:var(--vf-input-focus-border-color)}.vf-input_outlined{background-color:transparent}.vf-input_small{padding:var(--vf-input-small-padding)}.vf-input_small .vf-input__control{font-size:var(--vf-input-small-font-size)}.vf-input_large{padding:var(--vf-input-large-padding)}.vf-input_large .vf-input__control{font-size:var(--vf-input-large-font-size)}.vf-input_disabled{opacity:var(--vf-input-disabled-opacity);cursor:not-allowed}.vf-select{position:relative;display:inline-block;min-width:12rem;border-radius:var(--vf-select-border-radius);border:1px solid var(--vf-select-border-color);background-color:var(--vf-select-background-color);color:var(--vf-select-text-color);transition:border-color .2s ease,box-shadow .2s ease}.vf-select__control{width:100%;padding:var(--vf-select-padding);border:none;background:transparent;color:inherit;font-size:1rem;outline:none;display:inline-flex;align-items:center;justify-content:space-between;gap:.75rem;cursor:pointer}.vf-select__label{text-align:left}.vf-select__label_placeholder{color:var(--vf-secondary-text-color)}.vf-select__chevron{font-size:.9em;opacity:.7}.vf-select__panel{position:fixed;z-index:50;padding:.35rem;max-height:16rem;overflow:auto;border-radius:calc(var(--vf-select-border-radius) + 2px);border:1px solid var(--vf-select-panel-border-color);background-color:var(--vf-select-panel-background-color);box-shadow:var(--vf-select-panel-shadow);color:var(--vf-select-text-color)}.vf-select__option{width:100%;text-align:left;border:none;background:transparent;padding:.5rem .6rem;border-radius:6px;color:inherit;cursor:pointer}.vf-select__option:hover:not(.is-disabled),.vf-select__option:focus-visible:not(.is-disabled){background-color:var(--vf-select-option-hover-background-color);outline:none}.vf-select__option.is-active{background-color:var(--vf-select-option-active-background-color);color:var(--vf-select-option-active-text-color)}.vf-select__option.is-disabled{opacity:.6;cursor:not-allowed}.vf-select_open{border-color:var(--vf-select-focus-border-color);box-shadow:0 0 0 3px rgba(var(--vf-blue-600-rgb),.12)}.vf-select:hover:not(.vf-select_disabled){border-color:var(--vf-select-hover-border-color)}.vf-select:focus-within:not(.vf-select_disabled){border-color:var(--vf-select-focus-border-color)}.vf-select_small .vf-select__control{padding:var(--vf-select-small-padding);font-size:var(--vf-select-small-font-size)}.vf-select_large .vf-select__control{padding:var(--vf-select-large-padding);font-size:var(--vf-select-large-font-size)}.vf-select_disabled{opacity:var(--vf-select-disabled-opacity);cursor:not-allowed}.vf-select_disabled .vf-select__control{cursor:not-allowed}.vf-checkbox{display:inline-flex;align-items:center;gap:var(--vf-checkbox-gap);cursor:pointer;color:var(--vf-checkbox-text-color)}.vf-checkbox__control{position:absolute;opacity:0;pointer-events:none}.vf-checkbox__box{width:var(--vf-checkbox-size);height:var(--vf-checkbox-size);border:1px solid var(--vf-checkbox-border-color);border-radius:var(--vf-checkbox-border-radius);background-color:var(--vf-checkbox-background-color);display:inline-flex;align-items:center;justify-content:center;transition:background-color .2s ease,border-color .2s ease}.vf-checkbox__control:checked+.vf-checkbox__box{background-color:var(--vf-checkbox-checked-background-color);border-color:var(--vf-checkbox-checked-border-color)}.vf-checkbox__control:checked+.vf-checkbox__box:after{content:"";width:calc(var(--vf-checkbox-size) / 2);height:calc(var(--vf-checkbox-size) / 2);background-color:var(--vf-checkbox-check-color);border-radius:2px}.vf-checkbox_disabled{opacity:var(--vf-checkbox-disabled-opacity);cursor:not-allowed}.vf-switch{display:inline-flex;align-items:center;gap:var(--vf-switch-gap);cursor:pointer;color:var(--vf-switch-text-color)}.vf-switch__control{position:absolute;opacity:0;pointer-events:none}.vf-switch__track{position:relative;width:var(--vf-switch-width);height:var(--vf-switch-height);border-radius:var(--vf-switch-height);background-color:var(--vf-switch-background-color);transition:background-color .2s ease}.vf-switch__thumb{position:absolute;top:50%;left:2px;width:var(--vf-switch-thumb-size);height:var(--vf-switch-thumb-size);border-radius:50%;background-color:var(--vf-switch-thumb-color);transform:translateY(-50%);transition:transform .2s ease}.vf-switch__control:checked+.vf-switch__track{background-color:var(--vf-switch-checked-background-color)}.vf-switch__control:checked+.vf-switch__track .vf-switch__thumb{transform:translate(calc(var(--vf-switch-width) - var(--vf-switch-thumb-size) - 4px),-50%)}.vf-switch_disabled{opacity:var(--vf-switch-disabled-opacity);cursor:not-allowed}.vf-popover{position:relative}.vf-popover__button{cursor:pointer;-webkit-user-select:none;user-select:none}.vf-popover__wrapper{position:absolute;background-color:var(--vf-popover-background-color)}.vf-container{width:100%;display:flex;margin-right:auto;margin-left:auto;padding-right:var(--vf-container-padding);padding-left:var(--vf-container-padding)}@media (min-width: 640px){.vf-container{max-width:calc(640px - var(--vf-container-padding) * 2)}}@media (min-width: 768px){.vf-container{max-width:calc(768px - var(--vf-container-padding) * 2)}}@media (min-width: 1024px){.vf-container{max-width:calc(1024px - var(--vf-container-padding) * 2)}}@media (min-width: 1280px){.vf-container{max-width:calc(1280px - var(--vf-container-padding) * 2)}}@media (min-width: 1536px){.vf-container{max-width:calc(1536px - var(--vf-container-padding) * 2)}}
|
|
2
|
+
/*$vite$:1*/`,document.head.appendChild(J);const W=(t,e)=>{const n=t.__vccOpts||t;for(const[r,l]of e)n[r]=l;return n},de={},fe={class:"vf-header"};function ue(t,e){return o.openBlock(),o.createElementBlock("header",fe,[o.renderSlot(t.$slots,"default")])}const Q=W(de,[["render",ue]]),ve={},be={class:"vf-content"};function pe(t,e){return o.openBlock(),o.createElementBlock("div",be,[o.renderSlot(t.$slots,"default")])}const ee=W(ve,[["render",pe]]),me={},ge={class:"vf-footer"};function he(t,e){return o.openBlock(),o.createElementBlock("footer",ge,[o.renderSlot(t.$slots,"default")])}const oe=W(me,[["render",he]]),_e={class:"vf-layout"},ke=o.defineComponent({__name:"defaultLayout",setup(t){return(e,n)=>(o.openBlock(),o.createElementBlock("div",_e,[o.createVNode(Q,null,{default:o.withCtx(()=>[o.renderSlot(e.$slots,"header")]),_:3}),o.createVNode(ee,null,{default:o.withCtx(()=>[o.renderSlot(e.$slots,"content")]),_:3}),o.createVNode(oe,null,{default:o.withCtx(()=>[o.renderSlot(e.$slots,"footer")]),_:3})]))}}),ye={},we={class:"vf-left-sidebar-flexbox"},Ce={class:"vf-left-sidebar"},xe={class:"vf-main-content"};function Be(t,e){const n=o.resolveComponent("router-view");return o.openBlock(),o.createElementBlock("div",we,[o.createElementVNode("div",Ce,[o.renderSlot(t.$slots,"leftSidebar")]),o.createElementVNode("div",xe,[o.createVNode(n)])])}const $e=W(ye,[["render",Be]]),Fe={},Ve={class:"vf-demo"};function Se(t,e){return o.openBlock(),o.createElementBlock("div",Ve,[o.renderSlot(t.$slots,"default")])}const ze=W(Fe,[["render",Se]]),Ee=["href","aria-disabled","tabindex"],j=o.defineComponent({__name:"link",props:{to:{default:void 0},href:{default:void 0},url:{default:void 0},as:{default:void 0},type:{default:void 0},label:{default:""},active:{type:Boolean},disabled:{type:Boolean}},emits:["click","active","update:active","onActive"],setup(t,{emit:e}){const n=e,r=t,l=Z.useRoute(),f=Z.useRouter(),i=o.ref(null),d=o.computed(()=>r.href??r.url),a=o.computed(()=>r.as?r.as:r.type==="router-link"||r.type==="a"?r.type:r.to?"router-link":"a"),v=o.computed(()=>r.to?f.resolve(r.to):null),u=o.computed(()=>{if(a.value!=="router-link")return!1;const s=v.value;return s?s.name?l.matched.some(({name:g})=>g===s.name):s.fullPath?l.fullPath===s.fullPath:l.path===s.path:!1}),c=o.computed(()=>r.active===void 0?u.value:r.active),b=s=>{if(!r.disabled){n("click",s);return}s.preventDefault(),s.stopPropagation()};return o.watch(u,s=>{s&&(n("active"),n("onActive")),n("update:active",s)}),(s,g)=>{const _=o.resolveComponent("router-link");return a.value==="a"?(o.openBlock(),o.createElementBlock("a",{key:0,href:d.value,class:o.normalizeClass(["vf-link",{"vf-link_active":c.value,"vf-link_disabled":s.disabled}]),"aria-disabled":s.disabled,tabindex:s.disabled?-1:void 0,onClick:b},[s.$slots.default?o.renderSlot(s.$slots,"default",{key:0}):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.createTextVNode(o.toDisplayString(s.label),1)],64))],10,Ee)):(o.openBlock(),o.createBlock(_,{key:1,ref_key:"link",ref:i,to:s.to,class:o.normalizeClass(["vf-link",{"vf-link_active":c.value}]),"aria-disabled":s.disabled,tabindex:s.disabled?-1:void 0,"active-class":"vf-link_partially-active","exact-active-class":"vf-link_active",onClick:b},{default:o.withCtx(()=>[s.$slots.default?o.renderSlot(s.$slots,"default",{key:0}):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.createTextVNode(o.toDisplayString(s.label),1)],64))]),_:3},8,["to","class","aria-disabled","tabindex"]))}}}),Te={},Ne={class:"vf-card"},Le={key:0,class:"vf-card__default"},Re={key:1,class:"vf-card__header"},Me={key:2,class:"vf-card__body"},We={key:3,class:"vf-card__footer"};function De(t,e){return o.openBlock(),o.createElementBlock("div",Ne,[t.$slots.default?(o.openBlock(),o.createElementBlock("div",Le,[o.renderSlot(t.$slots,"default")])):o.createCommentVNode("",!0),t.$slots.header?(o.openBlock(),o.createElementBlock("div",Re,[o.renderSlot(t.$slots,"header")])):o.createCommentVNode("",!0),t.$slots.body?(o.openBlock(),o.createElementBlock("div",Me,[o.renderSlot(t.$slots,"body")])):o.createCommentVNode("",!0),t.$slots.footer?(o.openBlock(),o.createElementBlock("div",We,[o.renderSlot(t.$slots,"footer")])):o.createCommentVNode("",!0)])}const te=W(Te,[["render",De]]),He={class:"vf-logo"},Ae=["src","width","height","alt"],Pe=["src","width","height","alt"],Oe=o.defineComponent({__name:"logo",props:{to:{default:void 0},href:{default:void 0},url:{default:void 0},src:{},alt:{default:void 0},as:{default:void 0},type:{default:void 0},dark:{type:Boolean},width:{default:void 0},height:{default:void 0}},setup(t){const e=t,n=o.computed(()=>e.as?e.as:e.type==="router-link"||e.type==="a"?e.type:e.to?"router-link":e.href||e.url?"a":""),r=o.computed(()=>Array.isArray(e.src)?e.dark?e.src[1]:e.src[0]:e.src);return(l,f)=>(o.openBlock(),o.createElementBlock("div",He,[n.value?(o.openBlock(),o.createBlock(j,{key:0,as:n.value,to:l.to,href:l.href??l.url},{default:o.withCtx(()=>[o.createElementVNode("img",{src:r.value,width:l.width,height:l.height,alt:l.alt},null,8,Ae)]),_:1},8,["as","to","href"])):(o.openBlock(),o.createElementBlock("img",{key:1,src:r.value,width:l.width,height:l.height,alt:l.alt},null,8,Pe))]))}}),je={class:"vf-menu__list",role:"menu"},Ie={key:1,class:"vf-menu__separator",role:"separator"},Ke=["aria-expanded","onClick","onKeydown"],Ye=o.defineComponent({name:"VfMenu",__name:"menu",props:{items:{},orientation:{default:"vertical"}},emits:["active","onActive"],setup(t,{emit:e}){const n=e,r=t,l=o.ref([]),f=(u,c)=>`${u.label??u.to??u.href??u.url??"item"}_${c.toString()}`,i=u=>u.to?"router-link":"a",d=u=>u.map(c=>({...c,items:c.items?d(c.items):void 0})),a=u=>{u.items&&u.items.length?(l.value.map(c=>{c!==u&&(c.subMenuVisible=!1)}),u.subMenuVisible=!u.subMenuVisible):Object.prototype.hasOwnProperty.call(u,"command")&&typeof u.command=="function"&&u.command()},v=u=>{var c;for(const b in l.value){const s=l.value[b];Object.prototype.hasOwnProperty.call(s,"items")&&((c=s.items)!=null&&c.some(g=>g===u)?(s.active=!0,s.subMenuVisible=!0):(s.active=!1,s.subMenuVisible=!1))}n("active",u),n("onActive",u)};return o.watch(()=>r.items,u=>{l.value=d(u)},{deep:!0,immediate:!0}),(u,c)=>{const b=o.resolveComponent("VfMenu");return o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass(["vf-menu",`vf-menu_${u.orientation}`])},[o.createElementVNode("ul",je,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(l.value,(s,g)=>(o.openBlock(),o.createElementBlock("li",{key:f(s,g),class:"vf-menu__item",role:"none"},[u.$slots[f(s,g)]?o.renderSlot(u.$slots,f(s,g),{key:0,item:{...s,class:"vf-menu__link"}}):s.separator?(o.openBlock(),o.createElementBlock("hr",Ie)):s.items&&s.items.length?(o.openBlock(),o.createElementBlock(o.Fragment,{key:2},[o.createElementVNode("div",{class:o.normalizeClass(["vf-menu__parent",{"vf-menu__parent_active":s.active}]),role:"menuitem",tabindex:"0","aria-expanded":s.subMenuVisible?"true":"false",onClick:_=>a(s),onKeydown:[o.withKeys(o.withModifiers(_=>a(s),["prevent"]),["enter"]),o.withKeys(o.withModifiers(_=>a(s),["prevent"]),["space"])]},[s.icon?(o.openBlock(),o.createBlock(o.unref(D.CmIcon),{key:0,icon:s.icon,class:"vf-menu__icon"},null,8,["icon"])):o.createCommentVNode("",!0),o.createTextVNode(" "+o.toDisplayString(s.label)+" ",1),o.createVNode(o.unref(D.CmIcon),{icon:"chevronDown"})],42,Ke),s.items?(o.openBlock(),o.createBlock(b,{key:0,items:s.items,class:o.normalizeClass(["vf-menu__submenu",{"vf-menu__submenu_visible":s.subMenuVisible}]),onOnActive:v},null,8,["items","class"])):o.createCommentVNode("",!0)],64)):(o.openBlock(),o.createBlock(j,{key:3,to:s.to,href:s.href??s.url,as:i(s),class:"vf-menu__link",active:s.active,disabled:s.disabled,role:"menuitem","aria-disabled":s.disabled?"true":"false",onClick:_=>a(s),onActive:_=>v(s)},{default:o.withCtx(()=>[s.icon?(o.openBlock(),o.createBlock(o.unref(D.CmIcon),{key:0,icon:s.icon,class:"vf-menu__icon"},null,8,["icon"])):o.createCommentVNode("",!0),o.createTextVNode(" "+o.toDisplayString(s.label),1)]),_:2},1032,["to","href","as","active","disabled","aria-disabled","onClick","onActive"]))]))),128))])],2)}}}),Xe=["type","disabled"],qe=o.defineComponent({__name:"button",props:{to:{default:void 0},href:{default:void 0},url:{default:void 0},as:{default:void 0},icon:{default:void 0},type:{default:"button"},size:{default:"normal"},label:{default:""},loading:{type:Boolean,default:!1},rounded:{type:Boolean,default:!1},iconPos:{default:"left"},variant:{default:void 0},severity:{default:"primary"},disabled:{type:Boolean,default:!1}},setup(t){const e=t,n=["button","submit","reset"],r=u=>!!u&&n.includes(u),l=o.computed(()=>e.as?e.as==="button":!(e.to||e.href||e.url||e.type&&!r(e.type))),f=o.computed(()=>r(e.type)?e.type:"button"),i=o.computed(()=>e.as==="link"?e.to?"router-link":"a":e.type&&!r(e.type)?e.type==="router-link"&&e.to?"router-link":"a":e.to?"router-link":"a"),d=o.computed(()=>{let u=["vf-button",`vf-button_${e.severity}`];return["top","bottom"].includes(e.iconPos)&&u.push("vf-button_vertical"),e.variant==="text"&&u.push("vf-button_text"),e.variant==="outlined"&&u.push("vf-button_outlined"),["small","large"].indexOf(e.size)>-1&&u.push(`vf-button_${e.size}`),(e.loading||e.disabled)&&u.push("vf-button_disabled"),e.rounded&&u.push("vf-button_rounded"),u}),a=o.computed(()=>["vf-button__icon",`vf-button__icon_${e.iconPos}`]),v=o.computed(()=>["vf-button__label"]);return(u,c)=>l.value?(o.openBlock(),o.createElementBlock("button",{key:0,type:f.value,class:o.normalizeClass(d.value),disabled:e.loading||e.disabled},[e.icon&&!e.loading?(o.openBlock(),o.createBlock(o.unref(D.CmIcon),{key:0,icon:e.icon,class:o.normalizeClass(a.value)},null,8,["icon","class"])):o.createCommentVNode("",!0),e.loading?(o.openBlock(),o.createBlock(o.unref(D.CmIcon),{key:1,icon:"circleNotch",class:o.normalizeClass(a.value),spin:""},null,8,["class"])):o.createCommentVNode("",!0),u.$slots.default?(o.openBlock(),o.createElementBlock("span",{key:2,class:o.normalizeClass(v.value)},[o.renderSlot(u.$slots,"default")],2)):u.label?(o.openBlock(),o.createElementBlock("span",{key:3,class:o.normalizeClass(v.value)},o.toDisplayString(u.label),3)):o.createCommentVNode("",!0)],10,Xe)):(o.openBlock(),o.createBlock(j,{key:1,to:e.to,href:e.href??e.url,as:i.value,class:o.normalizeClass(d.value),disabled:e.loading||e.disabled},{default:o.withCtx(()=>[e.icon?(o.openBlock(),o.createBlock(o.unref(D.CmIcon),{key:0,icon:e.icon,class:o.normalizeClass(a.value)},null,8,["icon","class"])):o.createCommentVNode("",!0),u.$slots.default?(o.openBlock(),o.createElementBlock("span",{key:1,class:o.normalizeClass(v.value)},[o.renderSlot(u.$slots,"default")],2)):u.label?(o.openBlock(),o.createElementBlock("span",{key:2,class:o.normalizeClass(v.value)},o.toDisplayString(u.label),3)):o.createCommentVNode("",!0)]),_:3},8,["to","href","as","class","disabled"]))}}),Ue={key:0,class:"vf-input__prefix"},Ge=["type","value","placeholder","disabled","readonly"],Ze={key:1,class:"vf-input__suffix"},Je=o.defineComponent({__name:"input",props:{modelValue:{default:""},type:{default:"text"},placeholder:{default:""},disabled:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1},size:{default:"normal"},variant:{default:"filled"}},emits:["update:modelValue","input","change","focus","blur"],setup(t,{emit:e}){const n=e,r=t,l=o.computed(()=>{const v=["vf-input",`vf-input_${r.variant}`];return r.size!=="normal"&&v.push(`vf-input_${r.size}`),r.disabled&&v.push("vf-input_disabled"),v}),f=v=>{const u=v.target;n("update:modelValue",u.value),n("input",v)},i=v=>n("change",v),d=v=>n("focus",v),a=v=>n("blur",v);return(v,u)=>(o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass(l.value)},[v.$slots.prefix?(o.openBlock(),o.createElementBlock("span",Ue,[o.renderSlot(v.$slots,"prefix")])):o.createCommentVNode("",!0),o.createElementVNode("input",{class:"vf-input__control",type:v.type,value:v.modelValue,placeholder:v.placeholder,disabled:v.disabled,readonly:v.readonly,onInput:f,onChange:i,onFocus:d,onBlur:a},null,40,Ge),v.$slots.suffix?(o.openBlock(),o.createElementBlock("span",Ze,[o.renderSlot(v.$slots,"suffix")])):o.createCommentVNode("",!0)],2))}}),re=["top","top-start","top-end","right","right-start","right-end","bottom","bottom-start","bottom-end","left","left-start","left-end"],S=t=>{if(t==null||!(t instanceof HTMLElement))return null;if(typeof window<"u"){const e=window.getComputedStyle(t),n=`${e.overflowX}${e.overflowY}`;if(/(auto|scroll|overlay)/.test(n))return t}return t.scrollHeight>t.clientHeight||t.scrollWidth>t.clientWidth?t:S(t.parentNode)};function Qe(t){return typeof window>"u"?!1:window.getComputedStyle(t).position==="fixed"}const eo=(t,e)=>t.strategy?t.strategy:Qe(e)?"fixed":"absolute",N=(t,e)=>eo(t,e)==="fixed",C=(t,e,n={})=>{const r=t.getBoundingClientRect(),l=e?e.offsetParent:null,f=e?N(n,e):!1;if(l&&!f){const i=l.getBoundingClientRect(),d=l.scrollLeft,a=l.scrollTop;return{left:r.left-i.left+d,top:r.top-i.top+a,width:r.width,height:r.height}}return{left:r.left,top:r.top,width:r.width,height:r.height}},L=(t,e)=>{var n;return(n=t.middleware)==null?void 0:n.find(r=>r.name===e)},ne=(t,e)=>!!L(t,e),oo=t=>{const e=S(t);let n="";return e!==null&&((e.dataset.scrollTop===void 0||e.scrollTop===+e.dataset.scrollTop)&&(e.dataset.scrollTop="0"),(e.dataset.scrollLeft===void 0||e.scrollLeft===+e.dataset.scrollLeft)&&(e.dataset.scrollLeft="0"),e.scrollTop>+e.dataset.scrollTop?n="bottom":e.scrollTop<+e.dataset.scrollTop?n="top":e.scrollLeft>+e.dataset.scrollLeft?n="right":e.scrollLeft<+e.dataset.scrollLeft&&(n="left"),e.dataset.scrollTop=e.scrollTop<=0?"0":e.scrollTop.toString(),e.dataset.scrollLeft=e.scrollLeft<=0?"0":e.scrollLeft.toString()),n},to=t=>t.scrollLeft+t.clientWidth,ro=t=>t.scrollTop+t.clientHeight,$=(t,e,n=null,r={},l)=>{if(n===null&&typeof window<"u"&&N(r,e))return t;let f=0;if(n===null){const i=S(e);f=i?i.scrollTop:0}return t-f},F=(t,e,n=null,r={},l)=>{let f;if(n===null&&typeof window<"u"&&N(r,e))f=window.innerWidth;else if(n===null){const i=S(e);f=i?to(i):0}else f=n.getBoundingClientRect().width;return-(t+e.clientWidth-f)},z=(t,e,n=null,r={},l)=>{let f;if(n===null&&typeof window<"u"&&N(r,e))f=window.innerHeight;else if(n===null){const i=S(e);f=i?ro(i):0}else f=n.getBoundingClientRect().height;return-(t+e.clientHeight-f)},V=(t,e,n=null,r={},l)=>{if(n===null&&typeof window<"u"&&N(r,e))return t;let f=0;if(n===null){const i=S(e);f=i?i.scrollLeft:0}return t-f},le=({options:t,primaryX:e,primaryY:n,floating:r,placement:l,reference:f,scrollDirection:i})=>{const d=I(f,r,l,t),a=L(t,"offset");if(a){const v=a.fn({x:d.x,y:d.y,options:t,primaryX:e,primaryY:n,floating:r,placement:l,reference:f,scrollDirection:i});d.x=v.x,d.y=v.y}return xo(d,r,f,t)?{x:d.x,y:d.y,placement:l}:!1},no=t=>({name:"flip",params:t,fn:({x:e,y:n,options:r,primaryX:l,primaryY:f,floating:i,placement:d,reference:a,scrollDirection:v})=>{var u;const c={x:e,y:n,placement:d},b={...r,middleware:(u=r.middleware)==null?void 0:u.filter(w=>w.name!=="shift")},s=(t==null?void 0:t.placements)??re,g=!(t!=null&&t.placements),_=g?re:s;let h=!1;const P=w=>{if(h)return;const y=le({options:b,primaryX:l,primaryY:f,floating:i,placement:w,reference:a,scrollDirection:v});y&&(c.x=y.x,c.y=y.y,c.placement=y.placement,h=!0)},O=$o(a,i,b);if(!g&&s.includes(d)&&P(d),h||_.forEach(P),!h){const w=s.reduce((y,T)=>{const R=le({options:b,primaryX:l,primaryY:f,floating:i,placement:T,reference:a,scrollDirection:v});if(!R)return y;const B=A(T),M=O[B];return!y||M>y.space?{result:R,space:M}:y},null);w&&(c.x=w.result.x,c.y=w.result.y,c.placement=w.result.placement,h=!0)}if(!h&&s.length>0){const w=A(d);let y=w,T=O[w];s.forEach(H=>{const p=A(H),k=O[p];k>T&&(T=k,y=p)});const R=Bo(y,d,s),B=I(a,i,R,b),M=L(b,"offset");if(M){const H=M.fn({x:B.x,y:B.y,options:b,primaryX:l,primaryY:f,floating:i,placement:R,reference:a,scrollDirection:v});B.x=H.x,B.y=H.y}c.x=B.x,c.y=B.y,c.placement=B.placement}return c}}),lo=(t,e,n,r,l)=>{var f,i,d;let a=0;r.startsWith("right")?a=-2:r.startsWith("left")&&(a=t);const v=L(e,"arrow"),u=L(e,"shift");if(v){const c=((f=v.params)==null?void 0:f.arrow).getBoundingClientRect();r.startsWith("right")?a-=c.width/2:r.startsWith("left")&&(a+=c.width/2)}if(ne(e,"shift")&&v){let c=null,b=0;u&&(c=(i=u.params)==null?void 0:i.parent);const s=(d=v.params)==null?void 0:d.arrow;b=s.getBoundingClientRect().width/2,b+=io(s),b-=t,r.startsWith("right")?F(n-a,l,c,e)<=t?F(n,l,c,e)>0?a=t-F(n,l,c,e):a=t:V(n-a-b,l,c,e)<=t&&(V(n-a-b,l,c,e)>=0?(a=-2-(V(n-a-b,l,c,e)+t),c&&(a=-2)):a=-2):r.startsWith("left")?F(n-a+b,l,c,e)<=t?(a=t+F(n-b,l,c,e),a<=t&&(a=t)):V(n-a,l,c,e)<=t&&(a=-2+V(n,l,c,e),a<=-2&&(a=-2)):F(n-a,l,c,e)<=t?F(n-a,l,c,e)<=t&&F(n,l,c,e)>0?a=t-F(n,l,c,e):a=t:V(n-a,l,c,e)<=t&&(V(n-a,l,c,e)<=t&&V(n,l,c,e)>0?a=-(t-V(n,l,c,e)):a=-2)}return a},ao=(t,e,n,r,l)=>{var f,i,d;let a=0;r.startsWith("top")?a=t:r.startsWith("bottom")&&(a=-2);const v=L(e,"arrow"),u=L(e,"shift");if(v){const c=((f=v.params)==null?void 0:f.arrow).getBoundingClientRect();r.startsWith("top")?a+=c.height/2:r.startsWith("bottom")&&(a-=c.height/2)}if(ne(e,"shift")&&v){let c=null,b=0;u&&(c=(i=u.params)==null?void 0:i.parent);const s=(d=v.params)==null?void 0:d.arrow;b=s.getBoundingClientRect().height/2,b+=so(s),b-=t,r.startsWith("top")?$(n-a,l,c,e)<=t?$(n,l,c,e)>=0?a=-(t-$(n,l,c,e)):a=-2:z(n-a+b,l,c,e)<=t&&(a=t+z(n-b,l,c,e),a<=t&&(a=t)):r.startsWith("bottom")?$(n-a-b,l,c,e)<=t?$(n-a-b,l,c,e)>=0?(a=-2-($(n-a-b,l,c,e)+t),c&&(a=-2)):a=-2:z(n-a,l,c,e)<=t&&(z(n,l,c,e)>=0?a=t-z(n,l,c,e):a=t):$(n-a,l,c,e)<=t?$(n-a,l,c,e)>=0?a=-(t-$(n-a,l,c,e)):a=-2:z(n-a,l,c,e)<=t&&(z(n-a,l,c,e)>=0?a=t-z(n-a,l,c,e):a=t)}return a},co=t=>({name:"offset",params:{value:t},fn:({x:e,y:n,options:r,primaryX:l,primaryY:f,floating:i,placement:d})=>({x:e-lo(t,r,l,d,i),y:n-ao(t,r,f,d,i),placement:d})}),io=t=>t.getBoundingClientRect().width!==t.clientWidth?(t.getBoundingClientRect().width-t.clientWidth)/2:0,so=t=>t.getBoundingClientRect().height!==t.clientHeight?(t.getBoundingClientRect().height-t.clientHeight)/2:0,fo=(t,e)=>{const n=S(t),r=[];if(n!==null){const l=()=>e();n.addEventListener("scroll",l,!1),r.push(()=>n.removeEventListener("scroll",l,!1))}if(typeof window<"u"){const l=()=>e(),f=()=>e();window.addEventListener("scroll",l,!1),window.addEventListener("resize",f,!1),r.push(()=>window.removeEventListener("scroll",l,!1)),r.push(()=>window.removeEventListener("resize",f,!1))}if(typeof ResizeObserver<"u"&&t instanceof HTMLElement){const l=new ResizeObserver(()=>e());l.observe(t),r.push(()=>l.disconnect())}return()=>r.forEach(l=>l())},uo=(t,e,n={})=>{const r=C(t,e,n);return{x:r.left-e.getBoundingClientRect().width/2+r.width/2,y:r.top-e.getBoundingClientRect().height,placement:"top"}},vo=(t,e,n={})=>{const r=C(t,e,n);return{x:r.left,y:r.top-e.getBoundingClientRect().height,placement:"top-start"}},bo=(t,e,n={})=>{const r=C(t,e,n);return{x:r.left-e.getBoundingClientRect().width+r.width,y:r.top-e.getBoundingClientRect().height,placement:"top-end"}},po=(t,e,n={})=>{const r=C(t,e,n);return{x:r.left+r.width,y:r.top-e.getBoundingClientRect().height/2+r.height/2,placement:"right"}},mo=(t,e,n={})=>{const r=C(t,e,n);return{x:r.left+r.width,y:r.top,placement:"right-start"}},go=(t,e,n={})=>{const r=C(t,e,n);return{x:r.left+r.width,y:r.top+r.height-e.getBoundingClientRect().height,placement:"right-end"}},ho=(t,e,n={})=>{const r=C(t,e,n);return{x:r.left+r.width/2-e.getBoundingClientRect().width/2,y:r.top+r.height,placement:"bottom"}},_o=(t,e,n={})=>{const r=C(t,e,n);return{x:r.left,y:r.top+r.height,placement:"bottom-start"}},ko=(t,e,n={})=>{const r=C(t,e,n);return{x:r.left-e.getBoundingClientRect().width+r.width,y:r.top+r.height,placement:"bottom-end"}},yo=(t,e,n={})=>{const r=C(t,e,n);return{x:r.left-e.getBoundingClientRect().width,y:r.top+r.height/2-e.getBoundingClientRect().height/2,placement:"left"}},wo=(t,e,n={})=>{const r=C(t,e,n);return{x:r.left-e.getBoundingClientRect().width,y:r.top,placement:"left-start"}},Co=(t,e,n={})=>{const r=C(t,e,n);return{x:r.left-e.getBoundingClientRect().width,y:r.top+r.height-e.getBoundingClientRect().height,placement:"left-end"}},I=(t,e,n,r={})=>{switch(n){case"top":return uo(t,e,r);case"top-start":return vo(t,e,r);case"top-end":return bo(t,e,r);case"right":return po(t,e,r);case"right-start":return mo(t,e,r);case"right-end":return go(t,e,r);case"bottom":return ho(t,e,r);case"bottom-start":return _o(t,e,r);case"bottom-end":return ko(t,e,r);case"left":return yo(t,e,r);case"left-start":return wo(t,e,r);case"left-end":return Co(t,e,r);default:return{x:0,y:0,placement:""}}},xo=(t,e,n,r={})=>{if(N(r,e)){if(typeof window>"u")return!0;const c=t.x,b=t.y,s=c+e.clientWidth,g=b+e.clientHeight;return c>=0&&b>=0&&s<=window.innerWidth&&g<=window.innerHeight}if(S(n)!==null)return $(t.y,e,null,r)>0&&F(t.x,e,null,r)>0&&z(t.y,e,null,r)>0&&V(t.x,e,null,r)>0;if(typeof window>"u")return!0;const l=window.innerWidth,f=window.innerHeight,i=(n instanceof HTMLElement?n.offsetParent:null)||e.offsetParent;if(i){const c=i.getBoundingClientRect(),b=c.left+t.x,s=c.top+t.y,g=b+e.clientWidth,_=s+e.clientHeight;return b>=0&&s>=0&&g<=l&&_<=f}const d=t.x,a=t.y,v=d+e.clientWidth,u=a+e.clientHeight;return d>=0&&a>=0&&v<=l&&u<=f},A=t=>t.startsWith("right")?"right":t.startsWith("left")?"left":t.startsWith("top")?"top":"bottom",Bo=(t,e,n)=>A(e)===t&&n.includes(e)?e:n.find(r=>A(r)===t)??n[0],$o=(t,e,n={})=>{if(typeof window>"u")return{top:0,right:0,bottom:0,left:0};const r=N(n,e)?null:S(t),l=t.getBoundingClientRect(),f=r?r.getBoundingClientRect():{top:0,left:0,right:window.innerWidth,bottom:window.innerHeight};return{top:l.top-f.top,right:f.right-l.right,bottom:f.bottom-l.bottom,left:l.left-f.left}},Fo=(t,e,n={})=>new Promise(r=>{var l,f;const i=n.placement?n.placement:"bottom",d={x:0,y:0,placement:i,middlewareData:{}},a=I(t,e,i,n);d.x=a.x,d.y=a.y,d.placement=a.placement;const v=d.x,u=d.y,c=oo(t);(l=n.middleware)==null||l.forEach(_=>{const h=_.fn({x:d.x,y:d.y,options:n,primaryX:v,primaryY:u,floating:e,placement:d.placement,reference:t,scrollDirection:c});d.x=h.x,d.y=h.y,d.placement=h.placement,_.name==="arrow"&&(h.baseX=h.x,h.baseY=h.y,h.x=h.arrowX??h.x,h.y=h.arrowY??h.y),d.middlewareData[_.name]=h});const b=I(t,e,d.placement,n),s=L(n,"offset"),g=s?(f=s.params)==null?void 0:f.value:0;if(Number.isFinite(d.x)||(d.x=b.x),!Number.isFinite(d.y))if(N(n,e)){const _=t.getBoundingClientRect(),h=e.getBoundingClientRect().height;d.placement.startsWith("top")?d.y=_.top-h-g:d.placement.startsWith("bottom")?d.y=_.bottom+g:d.y=b.y}else d.y=b.y;r(d)}),Vo=["disabled","aria-expanded","onKeydown"],So=["data-placement"],zo=["disabled","aria-selected","onClick"],Eo=o.defineComponent({__name:"select",props:{modelValue:{default:void 0},options:{default:()=>[]},optionLabel:{default:"label"},optionValue:{default:"value"},placeholder:{default:""},disabled:{type:Boolean,default:!1},size:{default:"normal"}},emits:["update:modelValue","change","focus","blur"],setup(t,{emit:e}){let n=0;const r=e,l=t,f=o.ref(null),i=o.ref(null),d=o.ref(null),a=o.ref(!1),v=o.ref("bottom"),u=o.ref("bottom"),c=`vf-select-panel-${++n}`;let b=null;const s=o.computed(()=>l.options.map(p=>({label:p[l.optionLabel],value:p[l.optionValue],disabled:p.disabled}))),g=o.computed(()=>s.value.find(p=>p.value===l.modelValue)),_=o.computed(()=>{var p;return((p=g.value)==null?void 0:p.label)??""}),h=o.computed(()=>{const p=["vf-select",a.value?"vf-select_open":""];return l.size!=="normal"&&p.push(`vf-select_${l.size}`),l.disabled&&p.push("vf-select_disabled"),p.filter(Boolean)}),P=p=>p.value===l.modelValue,O=p=>{p.disabled||(r("update:modelValue",p.value),r("change",p.value),T())},w=p=>r("focus",p),y=p=>r("blur",p),T=()=>{a.value=!1,v.value="bottom",u.value="bottom"},R=()=>{l.disabled||(a.value=!a.value,a.value&&(v.value="bottom",u.value="bottom"))},B=async()=>{var p,k;a.value||(a.value=!0,await o.nextTick()),(k=(p=d.value)==null?void 0:p.querySelector(".vf-select__option:not(.is-disabled)"))==null||k.focus()},M=p=>{var x;if(!a.value||!f.value)return;const k=p.target;f.value.contains(k)||(x=d.value)!=null&&x.contains(k)||T()},H=()=>{if(!i.value||!d.value)return;const p=i.value,k=d.value,x=async()=>{const{x:st,y:dt,placement:ft}=await Fo(p,k,{placement:v.value,strategy:"fixed",middleware:[co(2),no({placements:["bottom","top"]})]});u.value=ft??v.value,k.style.minWidth=`${p.getBoundingClientRect().width}px`,k.style.left=`${st}px`,k.style.top=`${dt}px`},K=async()=>{await x()},it=fo(p,()=>{K()}),Y=()=>{K()};document.addEventListener("scroll",Y,!0),window.addEventListener("resize",Y,!1),b={update:K,destroy:()=>{it(),document.removeEventListener("scroll",Y,!0),window.removeEventListener("resize",Y,!1)}},b.update()};return o.watch(a,async p=>{if(!p){b&&(b.destroy(),b=null);return}await o.nextTick(),b||H(),b==null||b.update()}),o.watch(()=>l.options,()=>{b==null||b.update()},{deep:!0}),o.onMounted(()=>{document.addEventListener("click",M)}),o.onBeforeUnmount(()=>{document.removeEventListener("click",M),b==null||b.destroy(),b=null}),(p,k)=>(o.openBlock(),o.createElementBlock("div",{ref_key:"root",ref:f,class:o.normalizeClass(h.value)},[o.createElementVNode("button",{ref_key:"trigger",ref:i,class:"vf-select__control",type:"button",disabled:p.disabled,"aria-expanded":a.value,"aria-controls":c,"aria-haspopup":"listbox",onClick:R,onKeydown:[o.withKeys(o.withModifiers(B,["prevent"]),["down"]),o.withKeys(o.withModifiers(R,["prevent"]),["enter"]),o.withKeys(o.withModifiers(T,["prevent"]),["esc"])],onFocus:w,onBlur:y},[o.createElementVNode("span",{class:o.normalizeClass(["vf-select__label",{"vf-select__label_placeholder":!_.value}])},o.toDisplayString(_.value||p.placeholder),3),k[0]||(k[0]=o.createElementVNode("span",{class:"vf-select__chevron","aria-hidden":"true"},"▾",-1))],40,Vo),(o.openBlock(),o.createBlock(o.Teleport,{to:"body"},[o.withDirectives(o.createElementVNode("div",{id:c,ref_key:"panel",ref:d,class:"vf-select__panel",role:"listbox","data-placement":u.value},[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(s.value,x=>(o.openBlock(),o.createElementBlock("button",{key:x.value,class:o.normalizeClass(["vf-select__option",{"is-active":P(x),"is-disabled":x.disabled}]),type:"button",role:"option",disabled:x.disabled,"aria-selected":P(x),onClick:K=>O(x)},o.toDisplayString(x.label),11,zo))),128))],8,So),[[o.vShow,a.value]])]))],2))}}),To=["checked","disabled"],No={key:0,class:"vf-checkbox__label"},Lo=o.defineComponent({__name:"checkbox",props:{modelValue:{type:Boolean,default:!1},label:{default:""},disabled:{type:Boolean,default:!1}},emits:["update:modelValue","change"],setup(t,{emit:e}){const n=e,r=t,l=o.computed(()=>{const i=["vf-checkbox"];return r.disabled&&i.push("vf-checkbox_disabled"),i}),f=i=>{const d=i.target;n("update:modelValue",d.checked),n("change",i)};return(i,d)=>(o.openBlock(),o.createElementBlock("label",{class:o.normalizeClass(l.value)},[o.createElementVNode("input",{class:"vf-checkbox__control",type:"checkbox",checked:i.modelValue,disabled:i.disabled,onChange:f},null,40,To),d[0]||(d[0]=o.createElementVNode("span",{class:"vf-checkbox__box"},null,-1)),i.label||i.$slots.default?(o.openBlock(),o.createElementBlock("span",No,[o.renderSlot(i.$slots,"default",{},()=>[o.createTextVNode(o.toDisplayString(i.label),1)])])):o.createCommentVNode("",!0)],2))}}),Ro=["checked","disabled"],Mo={key:0,class:"vf-switch__label"},Wo=o.defineComponent({__name:"switch",props:{modelValue:{type:Boolean,default:!1},label:{default:""},disabled:{type:Boolean,default:!1}},emits:["update:modelValue","change"],setup(t,{emit:e}){const n=e,r=t,l=o.computed(()=>{const i=["vf-switch"];return r.disabled&&i.push("vf-switch_disabled"),i}),f=i=>{const d=i.target;n("update:modelValue",d.checked),n("change",i)};return(i,d)=>(o.openBlock(),o.createElementBlock("label",{class:o.normalizeClass(l.value)},[o.createElementVNode("input",{class:"vf-switch__control",type:"checkbox",checked:i.modelValue,disabled:i.disabled,onChange:f},null,40,Ro),d[0]||(d[0]=o.createElementVNode("span",{class:"vf-switch__track"},[o.createElementVNode("span",{class:"vf-switch__thumb"})],-1)),i.label||i.$slots.default?(o.openBlock(),o.createElementBlock("span",Mo,[o.renderSlot(i.$slots,"default",{},()=>[o.createTextVNode(o.toDisplayString(i.label),1)])])):o.createCommentVNode("",!0)],2))}}),Do={class:"vf-popover"},Ho=["aria-expanded","onKeydown"],Ao=o.defineComponent({__name:"popover",emits:["click","onClick"],setup(t,{expose:e,emit:n}){const r=n,l=o.reactive({visible:!1});let f=0;const i=`vf-popover-panel-${++f}`,d=()=>l.visible=!0,a=()=>l.visible=!1,v=()=>l.visible=!l.visible,u=()=>{v(),r("click"),r("onClick")};return e({show:d,hide:a,toggle:v}),(c,b)=>(o.openBlock(),o.createElementBlock("div",Do,[o.createElementVNode("div",{class:"vf-popover__button",role:"button",tabindex:"0","aria-haspopup":"dialog","aria-expanded":l.visible,"aria-controls":i,onClick:u,onKeydown:[o.withKeys(o.withModifiers(u,["prevent"]),["enter"]),o.withKeys(o.withModifiers(u,["prevent"]),["space"])]},[o.renderSlot(c.$slots,"button")],40,Ho),o.withDirectives(o.createVNode(te,{id:i,class:"vf-popover__wrapper"},o.createSlots({default:o.withCtx(()=>[b[0]||(b[0]=o.createElementVNode("div",{class:"vf-popover__arrow"},null,-1))]),_:2},[c.$slots.default?{name:"default",fn:o.withCtx(()=>[o.renderSlot(c.$slots,"default")]),key:"0"}:void 0,c.$slots.header||c.$slots.popoverHeader?{name:"header",fn:o.withCtx(()=>[o.renderSlot(c.$slots,"header"),c.$slots.header?o.createCommentVNode("",!0):o.renderSlot(c.$slots,"popoverHeader",{key:0})]),key:"1"}:void 0,c.$slots.body||c.$slots.popoverBody?{name:"body",fn:o.withCtx(()=>[o.renderSlot(c.$slots,"body"),c.$slots.body?o.createCommentVNode("",!0):o.renderSlot(c.$slots,"popoverBody",{key:0})]),key:"2"}:void 0,c.$slots.footer||c.$slots.popoverFooter?{name:"footer",fn:o.withCtx(()=>[o.renderSlot(c.$slots,"footer"),c.$slots.footer?o.createCommentVNode("",!0):o.renderSlot(c.$slots,"popoverFooter",{key:0})]),key:"3"}:void 0]),1536),[[o.vShow,l.visible]])]))}}),Po={},Oo={class:"vf-container"};function jo(t,e){return o.openBlock(),o.createElementBlock("div",Oo,[o.renderSlot(t.$slots,"default")])}const Io=W(Po,[["render",jo]]),Ko=["dark","light","theme","preset","colors","components","colorScheme"],Yo=t=>{const e=t.replace(/([A-Z])/g,"-$1");return e.charAt(0).toUpperCase()+e.slice(1)},Xo=t=>t.filter(e=>!Ko.includes(e)).map(e=>Yo(e)).join("-").toLowerCase(),qo=t=>/^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$/.test(t),X=t=>{if(!qo(t))return null;if(t.length===4){const e=t[1],n=t[2],r=t[3];return`#${e}${e}${n}${n}${r}${r}`}return t.toLowerCase()},ae=t=>{const e=X(t);if(!e)return[0,0,0];const n=parseInt(e.slice(1),16),r=n>>16&255,l=n>>8&255,f=n&255;return[r,l,f]},ce=t=>{const[e,n,r]=ae(t);return`${e}, ${n}, ${r}`},Uo=(t,e,n)=>{const r=t/255,l=e/255,f=n/255,i=Math.max(r,l,f),d=Math.min(r,l,f),a=i-d;let v=0,u=0;const c=(i+d)/2;if(a!==0){switch(u=a/(1-Math.abs(2*c-1)),i){case r:v=(l-f)/a%6;break;case l:v=(f-r)/a+2;break;case f:v=(r-l)/a+4;break}v*=60,v<0&&(v+=360)}return[v,u*100,c*100]},Go=(t,e,n)=>{const r=e/100,l=n/100,f=(1-Math.abs(2*l-1))*r,i=f*(1-Math.abs(t/60%2-1)),d=l-f/2;let a=0,v=0,u=0;t>=0&&t<60?(a=f,v=i,u=0):t>=60&&t<120?(a=i,v=f,u=0):t>=120&&t<180?(a=0,v=f,u=i):t>=180&&t<240?(a=0,v=i,u=f):t>=240&&t<300?(a=i,v=0,u=f):(a=f,v=0,u=i);const c=Math.round((a+d)*255),b=Math.round((v+d)*255),s=Math.round((u+d)*255);return[c,b,s]},Zo=(t,e,n)=>`#${[t,e,n].map(r=>r.toString(16).padStart(2,"0")).join("")}`,Jo=(t,e,n)=>Math.min(n,Math.max(e,t)),Qo=(t,e)=>{const n=X(t);if(!n)return t;const[r,l,f]=ae(n),[i,d,a]=Uo(r,l,f),u=(e-5)*7,c=Jo(a+u,0,100),[b,s,g]=Go(i,d,c);return Zo(b,s,g)},et=t=>{if(typeof document>"u")return null;const e=document.getElementById(t);if(e&&e.tagName.toLowerCase()==="style")return e;const n=document.createElement("style");return n.id=t,document.head.appendChild(n),n},q=t=>!!t&&typeof t=="object"&&!Array.isArray(t),U=(t,e)=>{if(!e)return{...t};const n={...t};for(const r in e){const l=e[r],f=t[r];q(f)&&q(l)?n[r]=U(f,l):n[r]=l}return n},ie=t=>{if(!t)return null;if(q(t)&&"preset"in t){const e=t;return{preset:e.preset??{},overrides:e.overrides,selector:e.selector,darkSelector:e.darkSelector}}return{preset:t}},ot=t=>{const e=[],n=[],r=(l,f)=>{if(!(!l||typeof l!="object"))for(const i in l){const d=l[i],a=f.concat([i]);if(d&&typeof d=="object"){r(d,a);continue}if(typeof d!="string")continue;const u=a.includes("colorScheme")&&a.includes("dark")?n:e,c=Xo(a);if(u.push(`--vf-${c}: ${d}`),a.includes("colors")){const b=X(d);if(!b)continue;if(u.push(`--vf-${c}-rgb: ${ce(b)}`),i!=="white")for(let s=1;s<10;++s){const g=Qo(b,s);u.push(`--vf-${c}-${s}00: ${g}`),u.push(`--vf-${c}-${s}00-rgb: ${ce(g)}`)}}}};return r(t,[]),{baseVars:e,darkVars:n}},tt=(t,e,n)=>{const{baseVars:r,darkVars:l}=ot(t),f=et("vueforge-theme");if(!f)return;const i=[];r.length&&i.push(`${e} { ${r.join(";")} }`),l.length&&i.push(`${n} { ${l.join(";")} }`),f.textContent=i.join(`
|
|
3
|
+
`)};let E=null;const rt=t=>({selector:t.selector??":root",darkSelector:t.darkSelector??":root[data-theme=dark]"}),G=t=>{const e=ie(t);if(!e)return;const n=U(e.preset,e.overrides),{selector:r,darkSelector:l}=rt(e);E={...e},tt(n,r,l)},nt=t=>{if(!E)return;const e=t.overrides===void 0?E.overrides:U(E.overrides??{},t.overrides??{}),n={preset:t.preset??E.preset,overrides:e,selector:t.selector??E.selector,darkSelector:t.darkSelector??E.darkSelector};G(n)},lt=()=>E?{...E}:null,at={install(t,e={}){const n=ie(e.theme);n&&G(n)}},se={colors:{white:"#ffffff",green:"#0cbc87",red:"#d6293e",yellow:"#f7c32e",sky:"#0ea5e9",blue:"#007bff",purple:"#6f42c1",gray:"#adb5bd"},colorScheme:{light:{bgColor:"#ffffff",bgSoftColor:"#f9f9f9",textColor:"rgba(60, 60, 67)",secondaryTextColor:"rgba(60, 60, 67, .78)",borderColor:"#c2c2c4",gutterColor:"#e2e2e3",dividerColor:"#e2e2e3"},dark:{bgColor:"#1a1a1a",bgSoftColor:"#242424",textColor:"rgba(255, 255, 255, .87)",secondaryTextColor:"rgba(235, 235, 235, .6)",borderColor:"#3c3f44",gutterColor:"#000000",dividerColor:"#2e2e32"}}},ct={...se,components:{base:se,button:{padding:"6px 10px",borderRadius:"6px",roundedBorderRadius:"2rem",small:{fontSize:"0.875rem",padding:"4px 8px"},large:{fontSize:"1.125rem",padding:"4px 8px"},colorScheme:{light:{primary:{color:"#FFFFFF",hoverColor:"#FFFFFF",borderColor:"var(--vf-blue)",activeColor:"#FFFFFF",backgroundColor:"var(--vf-blue)",hoverBorderColor:"var(--vf-blue-600)",activeBorderColor:"var(--vf-blue-700)",hoverBackgroundColor:"var(--vf-blue-600)",activeBackgroundColor:"var(--vf-blue-700)"},secondary:{color:"#FFFFFF",hoverColor:"#FFFFFF",borderColor:"var(--vf-gray)",activeColor:"#FFFFFF",backgroundColor:"var(--vf-gray)",hoverBorderColor:"var(--vf-gray-600)",activeBorderColor:"var(--vf-gray-700)",hoverBackgroundColor:"var(--vf-gray-600)",activeBackgroundColor:"var(--vf-gray-700)"},success:{color:"#FFFFFF",hoverColor:"#FFFFFF",borderColor:"var(--vf-green)",activeColor:"#FFFFFF",backgroundColor:"var(--vf-green)",hoverBorderColor:"var(--vf-green-600)",activeBorderColor:"var(--vf-green-700)",hoverBackgroundColor:"var(--vf-green-600)",activeBackgroundColor:"var(--vf-green-700)"},danger:{color:"#FFFFFF",hoverColor:"#FFFFFF",borderColor:"var(--vf-red)",activeColor:"#FFFFFF",backgroundColor:"var(--vf-red)",hoverBorderColor:"var(--vf-red-600)",activeBorderColor:"var(--vf-red-700)",hoverBackgroundColor:"var(--vf-red-600)",activeBackgroundColor:"var(--vf-red-700)"},warning:{color:"#FFFFFF",hoverColor:"#FFFFFF",borderColor:"var(--vf-yellow)",activeColor:"#FFFFFF",backgroundColor:"var(--vf-yellow)",hoverBorderColor:"var(--vf-yellow-600)",activeBorderColor:"var(--vf-yellow-700)",hoverBackgroundColor:"var(--vf-yellow-600)",activeBackgroundColor:"var(--vf-yellow-700)"},info:{color:"#FFFFFF",hoverColor:"#FFFFFF",borderColor:"var(--vf-sky)",activeColor:"#FFFFFF",backgroundColor:"var(--vf-sky)",hoverBorderColor:"var(--vf-sky-600)",activeBorderColor:"var(--vf-sky-700)",hoverBackgroundColor:"var(--vf-sky-600)",activeBackgroundColor:"var(--vf-sky-700)"},text:{primary:{color:"var(--vf-blue)",hoverBackgroundColor:"rgba(var(--vf-blue-600-rgb), .1)"},secondary:{color:"var(--vf-gray)",hoverBackgroundColor:"rgba(var(--vf-gray-600-rgb), .1)"},success:{color:"var(--vf-green)",hoverBackgroundColor:"rgba(var(--vf-green-600-rgb), .1)"},danger:{color:"var(--vf-red)",hoverBackgroundColor:"rgba(var(--vf-red-600-rgb), .1)"},warning:{color:"var(--vf-yellow)",hoverBackgroundColor:"rgba(var(--vf-yellow-600-rgb), .1)"},info:{color:"var(--vf-sky)",hoverBackgroundColor:"rgba(var(--vf-sky-600-rgb), .1)"}},outlined:{primary:{color:"var(--vf-blue)",borderColor:"rgba(var(--vf-blue-rgb), .4)",hoverBackgroundColor:"rgba(var(--vf-blue-600-rgb), .1)"},secondary:{color:"var(--vf-gray)",borderColor:"rgba(var(--vf-gray-rgb), .4)",hoverBackgroundColor:"rgba(var(--vf-gray-600-rgb), .1)"},success:{color:"var(--vf-green)",borderColor:"rgba(var(--vf-green-rgb), .4)",hoverBackgroundColor:"rgba(var(--vf-green-600-rgb), .1)"},danger:{color:"var(--vf-red)",borderColor:"rgba(var(--vf-red-rgb), .4)",hoverBackgroundColor:"rgba(var(--vf-red-600-rgb), .1)"},warning:{color:"var(--vf-yellow)",borderColor:"rgba(var(--vf-yellow-rgb), .4)",hoverBackgroundColor:"rgba(var(--vf-yellow-600-rgb), .1)"},info:{color:"var(--vf-sky)",borderColor:"rgba(var(--vf-sky-rgb), .4)",hoverBackgroundColor:"rgba(var(--vf-sky-600-rgb), .1)"}}}}},card:{padding:"12px",borderColor:"var(--vf-border-color)",borderRadius:"6px"},codeBlock:{},container:{padding:"12px"},content:{},demo:{},footer:{color:"var(--vf-secondary-text-color)",padding:"12px",marginTop:"24px",borderTop:"1px solid var(--vf-footer-border-color)",borderColor:"var(--vf-border-color)",backgroundColor:"var(--vf-bg-color)"},header:{height:"55px",padding:"0",borderColor:"var(--vf-border-color)",borderBottom:"1px solid var(--vf-header-border-color)",marginBottom:"24px",backgroundColor:"var(--vf-bg-color)"},input:{padding:"0.5rem 0.75rem",borderRadius:"6px",borderColor:"var(--vf-border-color)",backgroundColor:"var(--vf-bg-color)",textColor:"var(--vf-text-color)",placeholderColor:"var(--vf-secondary-text-color)",focusBorderColor:"var(--vf-blue-600)",hoverBorderColor:"var(--vf-blue-500)",disabledOpacity:"0.6",small:{padding:"0.375rem 0.5rem",fontSize:"0.875rem"},large:{padding:"0.625rem 0.875rem",fontSize:"1.125rem"}},link:{hoverColor:"var(--vf-blue)",activeColor:"var(--vf-blue)"},logo:{},menu:{separatorColor:"var(--vf-border-color)",link:{hoverColor:"var(--vf-blue)",activeColor:"var(--vf-blue)"},parent:{hoverColor:"var(--vf-secondary-text-color)",activeColor:"var(--vf-blue)"},item:{marginTop:"0.5rem",marginRight:"0.5rem",marginBottom:"0.5rem",marginLeft:"0.5rem"}},popover:{backgroundColor:"var(--vf-bg-color)"},select:{padding:"0.5rem 0.75rem",borderRadius:"6px",borderColor:"var(--vf-border-color)",backgroundColor:"var(--vf-bg-color)",textColor:"var(--vf-text-color)",focusBorderColor:"var(--vf-blue-600)",hoverBorderColor:"var(--vf-blue-500)",disabledOpacity:"0.6",panelBackgroundColor:"var(--vf-bg-color)",panelBorderColor:"var(--vf-border-color)",panelShadow:"0 10px 30px rgba(0, 0, 0, 0.12)",optionHoverBackgroundColor:"rgba(var(--vf-blue-600-rgb), 0.08)",optionActiveBackgroundColor:"rgba(var(--vf-blue-600-rgb), 0.14)",optionActiveTextColor:"var(--vf-text-color)",small:{padding:"0.375rem 0.5rem",fontSize:"0.875rem"},large:{padding:"0.625rem 0.875rem",fontSize:"1.125rem"}},checkbox:{size:"1rem",gap:"0.5rem",borderRadius:"4px",borderColor:"var(--vf-border-color)",backgroundColor:"var(--vf-bg-color)",checkedBackgroundColor:"var(--vf-blue)",checkedBorderColor:"var(--vf-blue)",checkColor:"#ffffff",textColor:"var(--vf-text-color)",disabledOpacity:"0.6"},switch:{width:"2.25rem",height:"1.25rem",thumbSize:"1rem",gap:"0.5rem",backgroundColor:"var(--vf-border-color)",checkedBackgroundColor:"var(--vf-blue)",thumbColor:"#ffffff",textColor:"var(--vf-text-color)",disabledOpacity:"0.6"}}};m.Button=qe,m.Card=te,m.Checkbox=Lo,m.Container=Io,m.Content=ee,m.DefaultLayout=ke,m.DefaultTheme=ct,m.Demo=ze,m.Footer=oe,m.Header=Q,m.Input=Je,m.LeftSidebarLayout=$e,m.Link=j,m.Logo=Oe,m.Menu=Ye,m.Popover=Ao,m.Select=Eo,m.Switch=Wo,m.VueForge=at,m.getTheme=lt,m.setTheme=G,m.updateTheme=nt,Object.defineProperty(m,Symbol.toStringTag,{value:"Module"})});
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
interface Props {
|
|
2
2
|
to?: string | object;
|
|
3
|
+
href?: string;
|
|
4
|
+
url?: string;
|
|
5
|
+
as?: 'button' | 'link';
|
|
3
6
|
icon?: string;
|
|
4
7
|
type?: string;
|
|
5
8
|
size?: string;
|
|
@@ -25,6 +28,9 @@ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {},
|
|
|
25
28
|
label: string;
|
|
26
29
|
type: string;
|
|
27
30
|
to: string | object;
|
|
31
|
+
href: string;
|
|
32
|
+
url: string;
|
|
33
|
+
as: "button" | "link";
|
|
28
34
|
disabled: boolean;
|
|
29
35
|
icon: string;
|
|
30
36
|
size: string;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
interface Props {
|
|
2
|
+
modelValue?: boolean;
|
|
3
|
+
label?: string;
|
|
4
|
+
disabled?: boolean;
|
|
5
|
+
}
|
|
6
|
+
declare function __VLS_template(): {
|
|
7
|
+
attrs: Partial<{}>;
|
|
8
|
+
slots: {
|
|
9
|
+
default?(_: {}): any;
|
|
10
|
+
};
|
|
11
|
+
refs: {};
|
|
12
|
+
rootEl: HTMLLabelElement;
|
|
13
|
+
};
|
|
14
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
15
|
+
declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
16
|
+
change: (...args: any[]) => void;
|
|
17
|
+
"update:modelValue": (...args: any[]) => void;
|
|
18
|
+
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
|
|
19
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
20
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
21
|
+
}>, {
|
|
22
|
+
label: string;
|
|
23
|
+
disabled: boolean;
|
|
24
|
+
modelValue: boolean;
|
|
25
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLLabelElement>;
|
|
26
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
27
|
+
export default _default;
|
|
28
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
29
|
+
new (): {
|
|
30
|
+
$slots: S;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
type Size = 'small' | 'normal' | 'large';
|
|
2
|
+
type Variant = 'filled' | 'outlined';
|
|
3
|
+
interface Props {
|
|
4
|
+
modelValue?: string | number;
|
|
5
|
+
type?: string;
|
|
6
|
+
placeholder?: string;
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
readonly?: boolean;
|
|
9
|
+
size?: Size;
|
|
10
|
+
variant?: Variant;
|
|
11
|
+
}
|
|
12
|
+
declare function __VLS_template(): {
|
|
13
|
+
attrs: Partial<{}>;
|
|
14
|
+
slots: {
|
|
15
|
+
prefix?(_: {}): any;
|
|
16
|
+
suffix?(_: {}): any;
|
|
17
|
+
};
|
|
18
|
+
refs: {};
|
|
19
|
+
rootEl: HTMLDivElement;
|
|
20
|
+
};
|
|
21
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
22
|
+
declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
23
|
+
blur: (...args: any[]) => void;
|
|
24
|
+
change: (...args: any[]) => void;
|
|
25
|
+
focus: (...args: any[]) => void;
|
|
26
|
+
input: (...args: any[]) => void;
|
|
27
|
+
"update:modelValue": (...args: any[]) => void;
|
|
28
|
+
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
|
|
29
|
+
onBlur?: ((...args: any[]) => any) | undefined;
|
|
30
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
31
|
+
onFocus?: ((...args: any[]) => any) | undefined;
|
|
32
|
+
onInput?: ((...args: any[]) => any) | undefined;
|
|
33
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
34
|
+
}>, {
|
|
35
|
+
type: string;
|
|
36
|
+
disabled: boolean;
|
|
37
|
+
size: Size;
|
|
38
|
+
variant: Variant;
|
|
39
|
+
modelValue: string | number;
|
|
40
|
+
placeholder: string;
|
|
41
|
+
readonly: boolean;
|
|
42
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
43
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
44
|
+
export default _default;
|
|
45
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
46
|
+
new (): {
|
|
47
|
+
$slots: S;
|
|
48
|
+
};
|
|
49
|
+
};
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import { RouteLocationAsRelativeGeneric, RouteLocationAsPathGeneric } from 'vue-router';
|
|
2
2
|
interface Props {
|
|
3
3
|
to?: string | RouteLocationAsRelativeGeneric | RouteLocationAsPathGeneric;
|
|
4
|
+
href?: string;
|
|
4
5
|
url?: string;
|
|
5
|
-
|
|
6
|
+
as?: 'a' | 'router-link';
|
|
7
|
+
type?: string;
|
|
6
8
|
label?: string;
|
|
7
9
|
active?: boolean;
|
|
8
10
|
disabled?: boolean;
|
|
@@ -20,14 +22,22 @@ declare function __VLS_template(): {
|
|
|
20
22
|
};
|
|
21
23
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
22
24
|
declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
25
|
+
click: (...args: any[]) => void;
|
|
26
|
+
active: (...args: any[]) => void;
|
|
27
|
+
"update:active": (...args: any[]) => void;
|
|
23
28
|
onActive: (...args: any[]) => void;
|
|
24
29
|
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
|
|
30
|
+
onClick?: ((...args: any[]) => any) | undefined;
|
|
31
|
+
onActive?: ((...args: any[]) => any) | undefined;
|
|
32
|
+
"onUpdate:active"?: ((...args: any[]) => any) | undefined;
|
|
25
33
|
onOnActive?: ((...args: any[]) => any) | undefined;
|
|
26
34
|
}>, {
|
|
27
35
|
label: string;
|
|
28
36
|
type: string;
|
|
29
37
|
to: string | RouteLocationAsRelativeGeneric | RouteLocationAsPathGeneric;
|
|
38
|
+
href: string;
|
|
30
39
|
url: string;
|
|
40
|
+
as: "a" | "router-link";
|
|
31
41
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
32
42
|
link: any;
|
|
33
43
|
}, any>;
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import { RouteLocationAsPathGeneric, RouteLocationAsRelativeGeneric } from 'vue-router';
|
|
2
2
|
interface Props {
|
|
3
3
|
to?: string | RouteLocationAsRelativeGeneric | RouteLocationAsPathGeneric;
|
|
4
|
+
href?: string;
|
|
4
5
|
url?: string;
|
|
5
6
|
src: string | Array<string>;
|
|
6
7
|
alt?: string;
|
|
8
|
+
as?: 'a' | 'router-link';
|
|
7
9
|
type?: string;
|
|
8
10
|
dark?: boolean;
|
|
9
11
|
width?: string;
|
|
@@ -12,7 +14,9 @@ interface Props {
|
|
|
12
14
|
declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
13
15
|
type: string;
|
|
14
16
|
to: string | RouteLocationAsRelativeGeneric | RouteLocationAsPathGeneric;
|
|
17
|
+
href: string;
|
|
15
18
|
url: string;
|
|
19
|
+
as: "a" | "router-link";
|
|
16
20
|
alt: string;
|
|
17
21
|
width: string;
|
|
18
22
|
height: string;
|
|
@@ -1,6 +1,63 @@
|
|
|
1
|
-
|
|
1
|
+
interface Item {
|
|
2
|
+
to?: string;
|
|
3
|
+
href?: string;
|
|
4
|
+
url?: string;
|
|
5
|
+
icon?: string;
|
|
6
|
+
items?: Array<Item>;
|
|
7
|
+
label?: string;
|
|
8
|
+
active?: boolean;
|
|
9
|
+
disabled?: boolean;
|
|
10
|
+
separator?: boolean;
|
|
11
|
+
subMenuVisible?: boolean;
|
|
12
|
+
command?: () => void;
|
|
13
|
+
}
|
|
14
|
+
interface Props {
|
|
15
|
+
items: Array<Item>;
|
|
16
|
+
orientation?: string;
|
|
17
|
+
}
|
|
18
|
+
declare function __VLS_template(): {
|
|
19
|
+
attrs: Partial<{}>;
|
|
20
|
+
slots: Partial<Record<string, (_: {
|
|
21
|
+
item: {
|
|
22
|
+
class: string;
|
|
23
|
+
to?: string | undefined;
|
|
24
|
+
href?: string | undefined;
|
|
25
|
+
url?: string | undefined;
|
|
26
|
+
icon?: string | undefined;
|
|
27
|
+
items?: {
|
|
28
|
+
to?: string | undefined;
|
|
29
|
+
href?: string | undefined;
|
|
30
|
+
url?: string | undefined;
|
|
31
|
+
icon?: string | undefined;
|
|
32
|
+
items?: /*elided*/ any[] | undefined;
|
|
33
|
+
label?: string | undefined;
|
|
34
|
+
active?: boolean | undefined;
|
|
35
|
+
disabled?: boolean | undefined;
|
|
36
|
+
separator?: boolean | undefined;
|
|
37
|
+
subMenuVisible?: boolean | undefined;
|
|
38
|
+
command?: (() => void) | undefined;
|
|
39
|
+
}[] | undefined;
|
|
40
|
+
label?: string | undefined;
|
|
41
|
+
active?: boolean | undefined;
|
|
42
|
+
disabled?: boolean | undefined;
|
|
43
|
+
separator?: boolean | undefined;
|
|
44
|
+
subMenuVisible?: boolean | undefined;
|
|
45
|
+
command?: (() => void) | undefined;
|
|
46
|
+
};
|
|
47
|
+
}) => any>>;
|
|
48
|
+
refs: {};
|
|
49
|
+
rootEl: HTMLDivElement;
|
|
50
|
+
};
|
|
2
51
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
3
|
-
declare const __VLS_component:
|
|
52
|
+
declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
53
|
+
active: (...args: any[]) => void;
|
|
54
|
+
onActive: (...args: any[]) => void;
|
|
55
|
+
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
|
|
56
|
+
onActive?: ((...args: any[]) => any) | undefined;
|
|
57
|
+
onOnActive?: ((...args: any[]) => any) | undefined;
|
|
58
|
+
}>, {
|
|
59
|
+
orientation: string;
|
|
60
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
4
61
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
5
62
|
export default _default;
|
|
6
63
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -3,8 +3,11 @@ declare function __VLS_template(): {
|
|
|
3
3
|
slots: {
|
|
4
4
|
button?(_: {}): any;
|
|
5
5
|
default?(_: {}): any;
|
|
6
|
+
header?(_: {}): any;
|
|
6
7
|
popoverHeader?(_: {}): any;
|
|
8
|
+
body?(_: {}): any;
|
|
7
9
|
popoverBody?(_: {}): any;
|
|
10
|
+
footer?(_: {}): any;
|
|
8
11
|
popoverFooter?(_: {}): any;
|
|
9
12
|
};
|
|
10
13
|
refs: {};
|
|
@@ -16,8 +19,10 @@ declare const __VLS_component: import('vue').DefineComponent<{}, {
|
|
|
16
19
|
hide: () => boolean;
|
|
17
20
|
toggle: () => boolean;
|
|
18
21
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
22
|
+
click: (...args: any[]) => void;
|
|
19
23
|
onClick: (...args: any[]) => void;
|
|
20
24
|
}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{
|
|
25
|
+
onClick?: ((...args: any[]) => any) | undefined;
|
|
21
26
|
onOnClick?: ((...args: any[]) => any) | undefined;
|
|
22
27
|
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
23
28
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
type Size = 'small' | 'normal' | 'large';
|
|
2
|
+
interface OptionItem {
|
|
3
|
+
label: string;
|
|
4
|
+
value: string | number;
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
}
|
|
7
|
+
interface Props {
|
|
8
|
+
modelValue?: string | number;
|
|
9
|
+
options?: Array<OptionItem>;
|
|
10
|
+
optionLabel?: string;
|
|
11
|
+
optionValue?: string;
|
|
12
|
+
placeholder?: string;
|
|
13
|
+
disabled?: boolean;
|
|
14
|
+
size?: Size;
|
|
15
|
+
}
|
|
16
|
+
declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
17
|
+
blur: (...args: any[]) => void;
|
|
18
|
+
change: (...args: any[]) => void;
|
|
19
|
+
focus: (...args: any[]) => void;
|
|
20
|
+
"update:modelValue": (...args: any[]) => void;
|
|
21
|
+
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
|
|
22
|
+
onBlur?: ((...args: any[]) => any) | undefined;
|
|
23
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
24
|
+
onFocus?: ((...args: any[]) => any) | undefined;
|
|
25
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
26
|
+
}>, {
|
|
27
|
+
disabled: boolean;
|
|
28
|
+
size: Size;
|
|
29
|
+
modelValue: string | number;
|
|
30
|
+
placeholder: string;
|
|
31
|
+
options: Array<OptionItem>;
|
|
32
|
+
optionLabel: string;
|
|
33
|
+
optionValue: string;
|
|
34
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
35
|
+
root: HTMLDivElement;
|
|
36
|
+
trigger: HTMLButtonElement;
|
|
37
|
+
panel: HTMLDivElement;
|
|
38
|
+
}, HTMLDivElement>;
|
|
39
|
+
export default _default;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
interface Props {
|
|
2
|
+
modelValue?: boolean;
|
|
3
|
+
label?: string;
|
|
4
|
+
disabled?: boolean;
|
|
5
|
+
}
|
|
6
|
+
declare function __VLS_template(): {
|
|
7
|
+
attrs: Partial<{}>;
|
|
8
|
+
slots: {
|
|
9
|
+
default?(_: {}): any;
|
|
10
|
+
};
|
|
11
|
+
refs: {};
|
|
12
|
+
rootEl: HTMLLabelElement;
|
|
13
|
+
};
|
|
14
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
15
|
+
declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
16
|
+
change: (...args: any[]) => void;
|
|
17
|
+
"update:modelValue": (...args: any[]) => void;
|
|
18
|
+
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
|
|
19
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
20
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
21
|
+
}>, {
|
|
22
|
+
label: string;
|
|
23
|
+
disabled: boolean;
|
|
24
|
+
modelValue: boolean;
|
|
25
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLLabelElement>;
|
|
26
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
27
|
+
export default _default;
|
|
28
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
29
|
+
new (): {
|
|
30
|
+
$slots: S;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
import { App } from 'vue';
|
|
2
|
+
type ThemePreset = Record<string, unknown>;
|
|
3
|
+
type ThemeOptions = {
|
|
4
|
+
preset: ThemePreset;
|
|
5
|
+
overrides?: ThemePreset;
|
|
6
|
+
selector?: string;
|
|
7
|
+
darkSelector?: string;
|
|
8
|
+
};
|
|
9
|
+
type VueForgeOptions = {
|
|
10
|
+
theme?: ThemeOptions | ThemePreset;
|
|
11
|
+
};
|
|
12
|
+
export declare const setTheme: (theme: ThemeOptions | ThemePreset) => void;
|
|
13
|
+
export declare const updateTheme: (partial: Partial<ThemeOptions>) => void;
|
|
14
|
+
export declare const getTheme: () => {
|
|
15
|
+
preset: ThemePreset;
|
|
16
|
+
overrides?: ThemePreset;
|
|
17
|
+
selector?: string;
|
|
18
|
+
darkSelector?: string;
|
|
19
|
+
} | null;
|
|
2
20
|
declare const _default: {
|
|
3
|
-
install(_app: App, options
|
|
21
|
+
install(_app: App, options?: VueForgeOptions): void;
|
|
4
22
|
};
|
|
5
23
|
export default _default;
|