tkbt-fox-erp-ui-package 1.0.3 → 1.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/f-erp-ui-package.cjs.js +1 -1
- package/dist/f-erp-ui-package.es.js +160 -157
- package/dist/f-erp-ui-package.umd.js +2 -2
- package/dist/index.css +1 -1
- package/dist/src/components/containment/FERPButton.vue.d.ts +2 -3
- package/dist/src/components/containment/FERPButtonIcon.vue.d.ts +2 -3
- package/dist/src/components/containment/FERPCard.vue.d.ts +19 -4
- package/dist/src/components/containment/FERPDialog.vue.d.ts +20 -5
- package/dist/src/components/feedback/FERPPopup.vue.d.ts +5 -4
- package/dist/src/components/forminputs/FERPTextField.vue.d.ts +2 -3
- package/dist/src/index.d.ts +0 -1
- package/dist/src/plugins/vuetify/themes/DarkTheme.d.ts +2 -2
- package/dist/src/plugins/vuetify/themes/LightTheme.d.ts +0 -2
- package/dist/vite.config.d.ts +1 -1
- package/package.json +26 -26
- package/dist/src/components/containment/FERPChip.vue.d.ts +0 -3
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
(function(
|
|
2
|
-
/*$vite$:1*/`,document.head.appendChild(g);var r=typeof document<"u"?document.currentScript:null;const p=e.defineComponent({__name:"FERPButton",props:{color:{default:"primary"},variant:{default:"flat"},text:{},loading:{type:Boolean,default:!1},prependIcon:{},appendIcon:{},disabled:{type:Boolean,default:!1}},setup(t){const l=t;return(i,n)=>(e.openBlock(),e.createBlock(e.unref(a.VBtn),{class:"text-none f-erp-button",rounded:"lg",variant:l.variant,color:l.color,loading:l.loading,"prepend-icon":l.prependIcon,"append-icon":l.appendIcon,disabled:l.loading==!0||l.disabled==!0},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(l.text),1)]),_:1},8,["variant","color","loading","prepend-icon","append-icon","disabled"]))}}),u=e.defineComponent({__name:"FERPButtonIcon",props:{icon:{},density:{default:"default"},size:{},color:{},variant:{default:"text"}},setup(t){const l=t;return(i,n)=>(e.openBlock(),e.createBlock(e.unref(a.VBtn),{icon:l.icon,density:l.density,size:l.size,elevation:"0",color:l.color,variant:l.variant},null,8,["icon","density","size","color","variant"]))}}),B={key:0,class:"f-erp-card-title-prepend-icon"},b={class:"f-erp-card-title-content"},V={class:"f-erp-card-title-text"},k={key:0,class:"f-erp-card-sub-title-text"},E={key:1,class:"f-erp-card-sub-title-content"},D={key:0,class:"pa-4"},L=e.defineComponent({__name:"FERPCard",props:{prependIcon:{},title:{},subTitle:{},content:{},contentProps:{}},setup(t){const l=t;return(i,n)=>(e.openBlock(),e.createBlock(e.unref(a.VCard),{elevation:"2",rounded:"lg",flat:""},{default:e.withCtx(()=>[e.createVNode(e.unref(a.VCardTitle),{class:"f-erp-card-title"},{default:e.withCtx(()=>[t.prependIcon?.length>0?(e.openBlock(),e.createElementBlock("div",B,[e.createVNode(e.unref(a.VIcon),{icon:t.prependIcon},null,8,["icon"])])):e.createCommentVNode("",!0),e.createElementVNode("div",b,[e.createElementVNode("div",V,[e.createElementVNode("span",null,e.toDisplayString(l.title),1)]),typeof l.subTitle=="string"?(e.openBlock(),e.createElementBlock("div",k,[e.createElementVNode("span",null,e.toDisplayString(l.subTitle),1)])):(e.openBlock(),e.createElementBlock("div",E,[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(l.subTitle)))]))])]),_:1}),e.createVNode(e.unref(a.VDivider)),e.createVNode(e.unref(a.VCardText),{class:"pa-0"},{default:e.withCtx(()=>[typeof l.content=="string"?(e.openBlock(),e.createElementBlock("div",D,[e.createElementVNode("span",null,e.toDisplayString(l.content),1)])):(e.openBlock(),e.createBlock(e.resolveDynamicComponent(l.content),e.normalizeProps(e.mergeProps({key:1},l.contentProps)),null,16))]),_:1})]),_:1}))}}),P={key:0,class:"f-erp-card-title-prepend-icon"},M={class:"f-erp-card-title-content"},N={key:0,class:"f-erp-card-title-text"},R={key:1,class:"f-erp-card-sub-title-text"},T={key:2,class:"f-erp-card-sub-title-content"},S={key:0},y=e.defineComponent({__name:"FERPDialog",props:{icon:{},title:{},subTitle:{},content:{},contentProps:{},show:{type:Boolean,default:!1},submitVisible:{type:Boolean,default:!1},submitText:{default:"Cập nhật"},submitLoading:{type:Boolean,default:!1},cancelVisible:{type:Boolean,default:!1},cancelIconVisible:{type:Boolean,default:!1},fullscreen:{type:Boolean,default:!1},width:{},maxwidth:{type:[Boolean,String],default:!1},persistent:{type:Boolean,default:!1}},emits:["update:show","close","submit"],setup(t,{emit:l}){const i=e.ref(!1),n=t,c=e.computed(()=>{switch(n.maxwidth){case!1:return null;case"extra-large":return"var(--f-erp-max-width-extra-large)";case"large":return"var(--f-erp-max-width-large)";case"medium":return"var(--f-erp-max-width-medium)";case"small":return"var(--f-erp-max-width-small)";case"extra-small":return"var(--f-erp-max-width-extra-small)"}}),d=l;e.watch(()=>n.show,f=>{i.value=f});const C=()=>{i.value=!1,d("update:show",!1),d("close")},F=()=>{d("submit")},h=()=>{i.value==!1&&C()};return(f,s)=>(e.openBlock(),e.createBlock(e.unref(a.VDialog),{modelValue:i.value,"onUpdate:modelValue":[s[0]||(s[0]=m=>i.value=m),s[1]||(s[1]=m=>h())],persistent:t.persistent,"max-width":c.value,width:t.width,scrollable:!0},{default:e.withCtx(()=>[e.createVNode(e.unref(a.VCard),{elevation:"2",rounded:"lg",flat:""},{default:e.withCtx(()=>[e.createVNode(e.unref(a.VCardTitle),{class:"f-erp-card-title"},{default:e.withCtx(()=>[t.icon?.length>0?(e.openBlock(),e.createElementBlock("div",P,[e.createVNode(e.unref(a.VIcon),{icon:t.icon},null,8,["icon"])])):e.createCommentVNode("",!0),e.createElementVNode("div",M,[t.title?.length>0?(e.openBlock(),e.createElementBlock("div",N,[e.createElementVNode("span",null,e.toDisplayString(n.title),1)])):e.createCommentVNode("",!0),typeof n.subTitle=="string"?(e.openBlock(),e.createElementBlock("div",R,[e.createElementVNode("span",null,e.toDisplayString(n.subTitle),1)])):(e.openBlock(),e.createElementBlock("div",T,[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(n.subTitle)))]))]),e.withDirectives(e.createVNode(u,{icon:"mdi-close",onClick:C,color:"surface",variant:"flat",size:"small",density:"compact"},null,512),[[e.vShow,t.cancelIconVisible]])]),_:1}),e.createVNode(e.unref(a.VDivider)),e.createVNode(e.unref(a.VCardText),{class:"pa-4"},{default:e.withCtx(()=>[typeof n.content=="string"?(e.openBlock(),e.createElementBlock("div",S,[e.createElementVNode("span",null,e.toDisplayString(n.content),1)])):(e.openBlock(),e.createBlock(e.resolveDynamicComponent(n.content),e.normalizeProps(e.mergeProps({key:1},n.contentProps)),null,16))]),_:1}),e.createVNode(e.unref(a.VDivider)),e.withDirectives(e.createVNode(e.unref(a.VCardActions),null,{default:e.withCtx(()=>[e.withDirectives(e.createVNode(p,{text:"Cập nhật",onClick:F,loading:n.submitLoading},null,8,["loading"]),[[e.vShow,t.submitVisible]]),e.withDirectives(e.createVNode(p,{text:"Hủy",variant:"outlined",onClick:C},null,512),[[e.vShow,t.cancelVisible]])]),_:1},512),[[e.vShow,t.submitVisible||t.cancelVisible]])]),_:1})]),_:1},8,["modelValue","persistent","max-width","width"]))}}),w=e.defineComponent({__name:"FERPTextField",props:{label:{},placeholder:{},persistentPlaceholder:{type:Boolean,default:!1},variant:{default:"solo-outlined"},clearable:{type:Boolean},persistentClear:{type:Boolean,default:!1},density:{default:"comfortable"},value:{},loading:{type:Boolean},loadingColor:{default:"primary"},hint:{},persistentHint:{type:Boolean,default:!1},counter:{type:[String,Number,Boolean],default:!1},persistentCounter:{type:Boolean,default:!1}},setup(t){const l=t;return(i,n)=>{const c=e.resolveComponent("v-progress-linear");return e.openBlock(),e.createBlock(e.unref(a.VTextField),{modelValue:l.value,"onUpdate:modelValue":n[0]||(n[0]=d=>l.value=d),class:e.normalizeClass({"ferp-field--variant-solo-outlined":l.variant=="solo-outlined"}),variant:t.variant=="solo-outlined"?"solo":t.variant,label:t.label,clearable:t.clearable,"persistent-clear":t.persistentClear,placeholder:t.placeholder,density:t.density,loading:t.loading,hint:t.hint,"persistent-hint":t.persistentHint,"hide-details":"auto",counter:t.counter,"persistent-counter":t.persistentCounter},{loader:e.withCtx(()=>[e.createVNode(c,{active:t.loading,color:t.loadingColor,indeterminate:""},null,8,["active","color"])]),_:1},8,["modelValue","class","variant","label","clearable","persistent-clear","placeholder","density","loading","hint","persistent-hint","counter","persistent-counter"])}}}),_=new URL("data:image/svg+xml,%3csvg%20width='94'%20height='62'%20viewBox='0%200%2094%2062'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M42.7438%2055.0234C33.6159%2055.0234%2027.2571%2054.43%2023.4315%2053.9084C20.0088%2053.4418%2017.3694%2050.7843%2016.8785%2047.2809C16.3795%2043.7199%2015.8329%2038.0984%2015.8329%2030.559C15.8329%2023.0196%2016.3795%2017.3981%2016.8785%2013.8371C17.3694%2010.3337%2020.0088%207.67617%2023.4315%207.20956C27.2571%206.68803%2033.6159%206.09459%2042.7438%206.09459C51.8717%206.09459%2058.2304%206.68803%2062.0561%207.20956C65.4788%207.67617%2068.1182%2010.3337%2068.6092%2013.8371C69.1081%2017.3981%2069.6546%2023.0196%2069.6546%2030.559C69.6546%2038.0984%2069.1081%2043.7199%2068.6092%2047.2809C68.1182%2050.7843%2065.4788%2053.4418%2062.0561%2053.9084C58.2304%2054.43%2051.8717%2055.0234%2042.7438%2055.0234Z'%20fill='%238FFA93'/%3e%3cpath%20d='M54.1061%2015.9019C53.5036%2015.9019%2052.9735%2015.8852%2052.5078%2015.8572C49.7933%2015.6942%2048.2654%2013.4079%2048.1808%2011.065C48.1496%2010.198%2048.1259%209.14698%2048.1259%207.95093C48.1259%206.75486%2048.1496%205.70386%2048.1808%204.83681C48.2654%202.49395%2049.7933%200.20769%2052.5078%200.0445741C52.9735%200.0165869%2053.5036%200%2054.1061%200C54.7087%200%2055.2388%200.0165869%2055.7045%200.0445741C58.4189%200.20769%2059.9469%202.49395%2060.0314%204.83681C60.0626%205.70386%2060.0863%206.75486%2060.0863%207.95093C60.0863%209.14698%2060.0626%2010.198%2060.0314%2011.065C59.9469%2013.4079%2058.4189%2015.6942%2055.7045%2015.8572C55.2388%2015.8852%2054.7087%2015.9019%2054.1061%2015.9019Z'%20fill='%2336BF00'/%3e%3cpath%20d='M31.3814%2015.9019C30.7789%2015.9019%2030.2488%2015.8852%2029.783%2015.8572C27.0686%2015.6942%2025.5407%2013.4079%2025.4562%2011.065C25.4249%2010.198%2025.4012%209.14698%2025.4012%207.95093C25.4012%206.75486%2025.4249%205.70386%2025.4562%204.83681C25.5407%202.49395%2027.0686%200.20769%2029.783%200.0445741C30.2488%200.0165869%2030.7789%200%2031.3814%200C31.984%200%2032.5141%200.0165869%2032.9798%200.0445741C35.6942%200.20769%2037.2222%202.49395%2037.3067%204.83681C37.3379%205.70386%2037.3616%206.75486%2037.3616%207.95093C37.3616%209.14698%2037.3379%2010.198%2037.3067%2011.065C37.2222%2013.4079%2035.6942%2015.6942%2032.9798%2015.8572C32.5141%2015.8852%2031.984%2015.9019%2031.3814%2015.9019Z'%20fill='%2336BF00'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M55.1561%2027.2921C56.3644%2025.6857%2056.0705%2023.3817%2054.4998%2022.146C52.9291%2020.9104%2050.6763%2021.2109%2049.468%2022.8172L40.9522%2034.1395L35.7454%2028.6742C34.3624%2027.2227%2032.0908%2027.1924%2030.6715%2028.6068C29.2521%2030.0213%2029.2227%2032.3445%2030.6056%2033.7961L38.7018%2042.2942C39.428%2043.0565%2040.4421%2043.4588%2041.481%2043.3967C42.5199%2043.3347%2043.4813%2042.8143%2044.1158%2041.9708L55.1561%2027.2921Z'%20fill='%2336BF00'/%3e%3cpath%20d='M2.89313%204.98774L3.34351%201.06671L6.00668%203.97224L9.92366%204.41022L7.02217%207.08579L6.58015%2010.9904L3.90862%208.10129L0%207.64686L2.89313%204.98774Z'%20fill='%23FFD12C'/%3e%3cpath%20d='M2.49217%2023.7697L2.77227%2021.3312L4.42852%2023.1381L6.86454%2023.4105L5.06007%2025.0745L4.78517%2027.5028L3.12372%2025.706L0.692901%2025.4234L2.49217%2023.7697Z'%20fill='%23FFD12C'/%3e%3cpath%20d='M81.8276%2044.2862L75.5984%2041.2362L81.9754%2038.5329L85.0024%2032.303L87.7287%2038.6806L93.9356%2041.707L87.581%2044.4339L84.5316%2050.6402L81.8276%2044.2862Z'%20fill='%23FFD12C'/%3e%3cpath%20d='M74.6832%2058.4285L72.5762%2056.5252L75.3907%2056.1812L77.285%2054.0715L77.6379%2056.8888L79.7387%2058.7803L76.9304%2059.136L75.0299%2061.234L74.6832%2058.4285Z'%20fill='%23FFD12C'/%3e%3c/svg%3e",typeof document>"u"&&typeof location>"u"?require("url").pathToFileURL(__filename).href:typeof document>"u"?location.href:r&&r.tagName.toUpperCase()==="SCRIPT"&&r.src||new URL("f-erp-ui-package.umd.js",document.baseURI).href).href,Z=new URL("data:image/svg+xml,%3csvg%20width='94'%20height='62'%20viewBox='0%200%2094%2062'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M42.7438%2055.0234C33.6159%2055.0234%2027.2571%2054.43%2023.4315%2053.9084C20.0088%2053.4418%2017.3694%2050.7843%2016.8785%2047.2809C16.3795%2043.7198%2015.8329%2038.0984%2015.8329%2030.559C15.8329%2023.0196%2016.3795%2017.3981%2016.8785%2013.8371C17.3694%2010.3337%2020.0088%207.67617%2023.4315%207.20956C27.2571%206.68803%2033.6159%206.09459%2042.7438%206.09459C51.8717%206.09459%2058.2304%206.68803%2062.0561%207.20956C65.4788%207.67617%2068.1182%2010.3337%2068.6092%2013.8371C69.1081%2017.3981%2069.6546%2023.0196%2069.6546%2030.559C69.6546%2038.0984%2069.1081%2043.7198%2068.6092%2047.2809C68.1182%2050.7843%2065.4788%2053.4418%2062.0561%2053.9084C58.2304%2054.43%2051.8717%2055.0234%2042.7438%2055.0234Z'%20fill='%23F6C5C3'/%3e%3cpath%20d='M54.1061%2015.9019C53.5036%2015.9019%2052.9735%2015.8852%2052.5078%2015.8572C49.7933%2015.6942%2048.2654%2013.4079%2048.1808%2011.065C48.1496%2010.198%2048.1259%209.14698%2048.1259%207.95093C48.1259%206.75486%2048.1496%205.70386%2048.1808%204.83681C48.2654%202.49395%2049.7933%200.20769%2052.5078%200.0445741C52.9735%200.0165869%2053.5036%200%2054.1061%200C54.7087%200%2055.2388%200.0165869%2055.7045%200.0445741C58.4189%200.20769%2059.9469%202.49395%2060.0314%204.83681C60.0626%205.70386%2060.0863%206.75486%2060.0863%207.95093C60.0863%209.14698%2060.0626%2010.198%2060.0314%2011.065C59.9469%2013.4079%2058.4189%2015.6942%2055.7045%2015.8572C55.2388%2015.8852%2054.7087%2015.9019%2054.1061%2015.9019Z'%20fill='%23FF5F57'/%3e%3cpath%20d='M31.3814%2015.9019C30.7789%2015.9019%2030.2488%2015.8852%2029.783%2015.8572C27.0686%2015.6942%2025.5407%2013.4079%2025.4562%2011.065C25.4249%2010.198%2025.4012%209.14698%2025.4012%207.95093C25.4012%206.75486%2025.4249%205.70386%2025.4562%204.83681C25.5407%202.49395%2027.0686%200.20769%2029.783%200.0445741C30.2488%200.0165869%2030.7789%200%2031.3814%200C31.984%200%2032.5141%200.0165869%2032.9798%200.0445741C35.6942%200.20769%2037.2222%202.49395%2037.3067%204.83681C37.3379%205.70386%2037.3616%206.75486%2037.3616%207.95093C37.3616%209.14698%2037.3379%2010.198%2037.3067%2011.065C37.2222%2013.4079%2035.6942%2015.6942%2032.9798%2015.8572C32.5141%2015.8852%2031.984%2015.9019%2031.3814%2015.9019Z'%20fill='%23FF5F57'/%3e%3cpath%20d='M33.5532%2023.3152C35.1153%2021.7531%2037.6484%2021.7531%2039.2105%2023.3152L43.5806%2027.6854L47.8228%2023.4432C49.3849%2021.8811%2051.9179%2021.8811%2053.48%2023.4432C55.0421%2025.0053%2055.0421%2027.5383%2053.48%2029.1004L49.2378%2033.3426L53.3521%2037.4568C54.9142%2039.0189%2054.9142%2041.552%2053.3521%2043.1141C51.79%2044.6762%2049.2569%2044.6762%2047.6948%2043.1141L43.5806%2038.9998L39.3384%2043.242C37.7763%2044.8041%2035.2433%2044.8041%2033.6812%2043.242C32.1191%2041.6799%2032.1191%2039.1469%2033.6812%2037.5848L37.9234%2033.3426L33.5532%2028.9725C31.9911%2027.4104%2031.9911%2024.8773%2033.5532%2023.3152Z'%20fill='%23FF5F57'/%3e%3cpath%20d='M2.89313%204.98774L3.34351%201.06671L6.00668%203.97224L9.92366%204.41022L7.02217%207.08579L6.58015%2010.9904L3.90862%208.10129L0%207.64686L2.89313%204.98774Z'%20fill='%23FFD12C'/%3e%3cpath%20d='M2.49217%2023.7697L2.77227%2021.3312L4.42852%2023.1381L6.86454%2023.4105L5.06007%2025.0745L4.78517%2027.5028L3.12372%2025.706L0.692901%2025.4234L2.49217%2023.7697Z'%20fill='%23FFD12C'/%3e%3cpath%20d='M81.8276%2044.2862L75.5984%2041.2362L81.9754%2038.5329L85.0024%2032.303L87.7287%2038.6806L93.9356%2041.707L87.581%2044.4339L84.5316%2050.6402L81.8276%2044.2862Z'%20fill='%23FFD12C'/%3e%3cpath%20d='M74.6832%2058.4285L72.5762%2056.5252L75.3907%2056.1812L77.285%2054.0715L77.6379%2056.8888L79.7387%2058.7803L76.9304%2059.136L75.0299%2061.234L74.6832%2058.4285Z'%20fill='%23FFD12C'/%3e%3c/svg%3e",typeof document>"u"&&typeof location>"u"?require("url").pathToFileURL(__filename).href:typeof document>"u"?location.href:r&&r.tagName.toUpperCase()==="SCRIPT"&&r.src||new URL("f-erp-ui-package.umd.js",document.baseURI).href).href,U=new URL("data:image/svg+xml,%3csvg%20width='94'%20height='62'%20viewBox='0%200%2094%2062'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M42.7438%2055.0234C33.6159%2055.0234%2027.2571%2054.43%2023.4315%2053.9084C20.0088%2053.4418%2017.3694%2050.7843%2016.8785%2047.2809C16.3795%2043.7199%2015.8329%2038.0984%2015.8329%2030.559C15.8329%2023.0196%2016.3795%2017.3981%2016.8785%2013.8371C17.3694%2010.3337%2020.0088%207.67617%2023.4315%207.20956C27.2571%206.68803%2033.6159%206.09459%2042.7438%206.09459C51.8717%206.09459%2058.2304%206.68803%2062.0561%207.20956C65.4788%207.67617%2068.1182%2010.3337%2068.6092%2013.8371C69.1081%2017.3981%2069.6546%2023.0196%2069.6546%2030.559C69.6546%2038.0984%2069.1081%2043.7199%2068.6092%2047.2809C68.1182%2050.7843%2065.4788%2053.4418%2062.0561%2053.9084C58.2304%2054.43%2051.8717%2055.0234%2042.7438%2055.0234Z'%20fill='%238FBFFA'/%3e%3cpath%20d='M54.1061%2015.9019C53.5036%2015.9019%2052.9735%2015.8852%2052.5078%2015.8572C49.7933%2015.6942%2048.2654%2013.4079%2048.1808%2011.065C48.1496%2010.198%2048.1259%209.14698%2048.1259%207.95093C48.1259%206.75486%2048.1496%205.70386%2048.1808%204.83681C48.2654%202.49395%2049.7933%200.20769%2052.5078%200.0445741C52.9735%200.0165869%2053.5036%200%2054.1061%200C54.7087%200%2055.2388%200.0165869%2055.7045%200.0445741C58.4189%200.20769%2059.9469%202.49395%2060.0314%204.83681C60.0626%205.70386%2060.0863%206.75486%2060.0863%207.95093C60.0863%209.14698%2060.0626%2010.198%2060.0314%2011.065C59.9469%2013.4079%2058.4189%2015.6942%2055.7045%2015.8572C55.2388%2015.8852%2054.7087%2015.9019%2054.1061%2015.9019Z'%20fill='%232859C5'/%3e%3cpath%20d='M31.3814%2015.9019C30.7789%2015.9019%2030.2488%2015.8852%2029.783%2015.8572C27.0686%2015.6942%2025.5407%2013.4079%2025.4562%2011.065C25.4249%2010.198%2025.4012%209.14698%2025.4012%207.95093C25.4012%206.75486%2025.4249%205.70386%2025.4562%204.83681C25.5407%202.49395%2027.0686%200.20769%2029.783%200.0445741C30.2488%200.0165869%2030.7789%200%2031.3814%200C31.984%200%2032.5141%200.0165869%2032.9798%200.0445741C35.6942%200.20769%2037.2222%202.49395%2037.3067%204.83681C37.3379%205.70386%2037.3616%206.75486%2037.3616%207.95093C37.3616%209.14698%2037.3379%2010.198%2037.3067%2011.065C37.2222%2013.4079%2035.6942%2015.6942%2032.9798%2015.8572C32.5141%2015.8852%2031.984%2015.9019%2031.3814%2015.9019Z'%20fill='%232859C5'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M40.6975%2020.2816C41.1824%2020.1984%2041.7439%2020.1437%2042.3817%2020.1437C43.0194%2020.1437%2043.5808%2020.1984%2044.0658%2020.2816C45.739%2020.5687%2046.5044%2022.2996%2046.3657%2023.9264C46.19%2025.9868%2045.9092%2028.949%2045.6016%2030.879C45.4284%2031.9666%2044.7293%2032.9311%2043.6097%2033.0728C43.2705%2033.1157%2042.8643%2033.1437%2042.3817%2033.1437C41.8989%2033.1437%2041.4928%2033.1157%2041.1536%2033.0728C40.034%2032.9311%2039.3349%2031.9666%2039.1616%2030.879C38.8541%2028.949%2038.5733%2025.9868%2038.3976%2023.9264C38.2589%2022.2996%2039.0242%2020.5687%2040.6975%2020.2816ZM38.6698%2040.1437C38.6698%2037.9346%2040.3318%2036.1437%2042.3818%2036.1437C44.4318%2036.1437%2046.0937%2037.9346%2046.0937%2040.1437C46.0937%2042.3528%2044.4318%2044.1437%2042.3818%2044.1437C40.3318%2044.1437%2038.6698%2042.3528%2038.6698%2040.1437Z'%20fill='%232859C5'/%3e%3cpath%20d='M2.89313%204.98774L3.34351%201.06671L6.00668%203.97224L9.92366%204.41022L7.02217%207.08579L6.58015%2010.9904L3.90862%208.10129L0%207.64686L2.89313%204.98774Z'%20fill='%23FFD12C'/%3e%3cpath%20d='M2.49217%2023.7697L2.77227%2021.3312L4.42852%2023.1381L6.86454%2023.4105L5.06007%2025.0745L4.78517%2027.5028L3.12372%2025.706L0.692901%2025.4234L2.49217%2023.7697Z'%20fill='%23FFD12C'/%3e%3cpath%20d='M81.8276%2044.2862L75.5984%2041.2362L81.9754%2038.5329L85.0024%2032.303L87.7287%2038.6806L93.9356%2041.707L87.581%2044.4339L84.5316%2050.6402L81.8276%2044.2862Z'%20fill='%23FFD12C'/%3e%3cpath%20d='M74.6832%2058.4285L72.5762%2056.5252L75.3907%2056.1812L77.285%2054.0715L77.6379%2056.8888L79.7387%2058.7803L76.9304%2059.136L75.0299%2061.234L74.6832%2058.4285Z'%20fill='%23FFD12C'/%3e%3c/svg%3e",typeof document>"u"&&typeof location>"u"?require("url").pathToFileURL(__filename).href:typeof document>"u"?location.href:r&&r.tagName.toUpperCase()==="SCRIPT"&&r.src||new URL("f-erp-ui-package.umd.js",document.baseURI).href).href,I=new URL("data:image/svg+xml,%3csvg%20width='79'%20height='57'%20viewBox='0%200%2079%2057'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M11.3319%2029.9482C15.0605%2028.6492%2017.7147%2027.8568%2019.3983%2027.3964C21.0823%2026.936%2022.8144%2027.6992%2023.5291%2029.2804C24.1432%2030.6388%2025.0025%2032.7127%2026.0235%2035.6431C27.0445%2038.5736%2027.6599%2040.7325%2028.0229%2042.1784C28.4454%2043.8613%2027.5625%2045.5357%2025.9569%2046.2213C25.2608%2046.5186%2024.3829%2046.8803%2023.3077%2047.3007L24.0848%2049.531C24.4528%2050.5872%2023.3895%2051.5966%2022.3333%2051.1938L17.603%2049.3898C14.109%2050.597%2011.6002%2051.3443%209.98485%2051.786C8.3009%2052.2465%206.56868%2051.4832%205.85398%2049.9021C5.23996%2048.5437%204.38061%2046.4698%203.35963%2043.5393C2.33865%2040.6089%201.72327%2038.45%201.36026%2037.0041C0.937768%2035.3212%201.82067%2033.6468%203.42618%2032.9612C5.03131%2032.2757%207.60328%2031.2473%2011.3319%2029.9482Z'%20fill='%238FBFFA'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M12.1164%2034.0198C12.3299%2033.8963%2012.5846%2033.7746%2012.8852%2033.6681C13.1857%2033.5616%2013.4602%2033.4958%2013.7038%2033.4573C14.5444%2033.3245%2015.2182%2034.0804%2015.4471%2034.9341C15.737%2036.0154%2016.1406%2037.5747%2016.3448%2038.6114C16.4599%2039.1957%2016.3049%2039.8048%2015.8029%2040.0642C15.6508%2040.1427%2015.4644%2040.2248%2015.237%2040.3054C15.0094%2040.386%2014.813%2040.4396%2014.6453%2040.4743C14.092%2040.5889%2013.5881%2040.2132%2013.3097%2039.6869C12.8156%2038.7528%2012.1474%2037.2873%2011.6918%2036.2647C11.3322%2035.4573%2011.3797%2034.4458%2012.1164%2034.0198ZM14.7539%2044.4992C14.3543%2043.3713%2014.8136%2042.1794%2015.7797%2041.8371C16.7459%2041.4948%2017.8531%2042.1316%2018.2528%2043.2595C18.6524%2044.3874%2018.1931%2045.5793%2017.227%2045.9216C16.2608%2046.2639%2015.1536%2045.6271%2014.7539%2044.4992Z'%20fill='%232859C5'/%3e%3cpath%20d='M60.5213%208.14933C54.6244%205.46791%2050.4053%203.77879%2047.7223%202.77757C45.0386%201.77609%2042.078%202.79898%2040.6517%205.32261C39.4262%207.4908%2037.6832%2010.812%2035.5369%2015.5321C33.3905%2020.2522%2032.0333%2023.7489%2031.2049%2026.0976C30.2406%2028.8313%2031.4158%2031.7349%2033.9346%2033.099C35.0266%2033.6905%2036.406%2034.4146%2038.0991%2035.2637L36.4656%2038.8561C35.6919%2040.5574%2037.2701%2042.3825%2039.0653%2041.8627L47.1048%2039.5348C52.6322%2042.0308%2056.6205%2043.6246%2059.1947%2044.5853C61.8784%2045.5868%2064.839%2044.5639%2066.2654%2042.0403C67.4908%2039.8721%2069.2339%2036.5509%2071.3802%2031.8308C73.5265%2027.1107%2074.8837%2023.614%2075.7122%2021.2653C76.6764%2018.5315%2075.5012%2015.628%2072.9825%2014.2639C70.4644%2012.9%2066.4181%2010.8307%2060.5213%208.14933Z'%20fill='%238FBFFA'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M56.5676%2013.2131C57.014%2013.3361%2057.5158%2013.5116%2058.0632%2013.7605C58.6106%2014.0094%2059.0726%2014.2722%2059.4588%2014.5277C60.791%2015.4095%2060.821%2017.0868%2060.1127%2018.3285C59.2156%2019.901%2057.9017%2022.1509%2056.9387%2023.5681C56.3961%2024.3668%2055.4467%2024.8622%2054.4344%2024.5381C54.1277%2024.4399%2053.769%2024.3037%2053.3547%2024.1153C52.9404%2023.9269%2052.6019%2023.746%2052.3263%2023.5795C51.4166%2023.0296%2051.1659%2021.9885%2051.4111%2021.0546C51.8462%2019.3973%2052.678%2016.9283%2053.2735%2015.2186C53.7437%2013.8686%2055.0274%2012.7887%2056.5676%2013.2131ZM47.6334%2028.2422C48.4335%2026.4826%2050.5086%2025.7047%2052.2682%2026.5049C54.0278%2027.305%2054.8056%2029.3801%2054.0055%2031.1397C53.2054%2032.8993%2051.1303%2033.6771%2049.3707%2032.877C47.6111%2032.0769%2046.8332%2030.0018%2047.6334%2028.2422Z'%20fill='%232859C5'/%3e%3c/svg%3e",typeof document>"u"&&typeof location>"u"?require("url").pathToFileURL(__filename).href:typeof document>"u"?location.href:r&&r.tagName.toUpperCase()==="SCRIPT"&&r.src||new URL("f-erp-ui-package.umd.js",document.baseURI).href).href,v=new URL("data:image/svg+xml,%3csvg%20width='94'%20height='62'%20viewBox='0%200%2094%2062'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M42.7438%2055.0234C33.6159%2055.0234%2027.2571%2054.43%2023.4315%2053.9084C20.0088%2053.4418%2017.3694%2050.7843%2016.8785%2047.2809C16.3795%2043.7199%2015.8329%2038.0984%2015.8329%2030.559C15.8329%2023.0196%2016.3795%2017.3981%2016.8785%2013.8371C17.3694%2010.3337%2020.0088%207.67617%2023.4315%207.20956C27.2571%206.68803%2033.6159%206.09459%2042.7438%206.09459C51.8717%206.09459%2058.2304%206.68803%2062.0561%207.20956C65.4788%207.67617%2068.1182%2010.3337%2068.6092%2013.8371C69.1081%2017.3981%2069.6546%2023.0196%2069.6546%2030.559C69.6546%2038.0984%2069.1081%2043.7199%2068.6092%2047.2809C68.1182%2050.7843%2065.4788%2053.4418%2062.0561%2053.9084C58.2304%2054.43%2051.8717%2055.0234%2042.7438%2055.0234Z'%20fill='%23FEE089'/%3e%3cpath%20d='M54.1061%2015.9019C53.5036%2015.9019%2052.9735%2015.8852%2052.5078%2015.8572C49.7933%2015.6942%2048.2654%2013.4079%2048.1808%2011.065C48.1496%2010.198%2048.1259%209.14698%2048.1259%207.95093C48.1259%206.75486%2048.1496%205.70386%2048.1808%204.83681C48.2654%202.49395%2049.7933%200.20769%2052.5078%200.0445741C52.9735%200.0165869%2053.5036%200%2054.1061%200C54.7087%200%2055.2388%200.0165869%2055.7045%200.0445741C58.4189%200.20769%2059.9469%202.49395%2060.0314%204.83681C60.0626%205.70386%2060.0863%206.75486%2060.0863%207.95093C60.0863%209.14698%2060.0626%2010.198%2060.0314%2011.065C59.9469%2013.4079%2058.4189%2015.6942%2055.7045%2015.8572C55.2388%2015.8852%2054.7087%2015.9019%2054.1061%2015.9019Z'%20fill='%23D89C2B'/%3e%3cpath%20d='M31.3814%2015.9019C30.7789%2015.9019%2030.2488%2015.8852%2029.783%2015.8572C27.0686%2015.6942%2025.5407%2013.4079%2025.4562%2011.065C25.4249%2010.198%2025.4012%209.14698%2025.4012%207.95093C25.4012%206.75486%2025.4249%205.70386%2025.4562%204.83681C25.5407%202.49395%2027.0686%200.20769%2029.783%200.0445741C30.2488%200.0165869%2030.7789%200%2031.3814%200C31.984%200%2032.5141%200.0165869%2032.9798%200.0445741C35.6942%200.20769%2037.2222%202.49395%2037.3067%204.83681C37.3379%205.70386%2037.3616%206.75486%2037.3616%207.95093C37.3616%209.14698%2037.3379%2010.198%2037.3067%2011.065C37.2222%2013.4079%2035.6942%2015.6942%2032.9798%2015.8572C32.5141%2015.8852%2031.984%2015.9019%2031.3814%2015.9019Z'%20fill='%23D89C2B'/%3e%3cpath%20d='M2.89313%204.98774L3.34351%201.06671L6.00668%203.97224L9.92366%204.41022L7.02217%207.08579L6.58015%2010.9904L3.90862%208.10129L0%207.64686L2.89313%204.98774Z'%20fill='%23FFD12C'/%3e%3cpath%20d='M2.49217%2023.7697L2.77227%2021.3312L4.42852%2023.1381L6.86454%2023.4105L5.06007%2025.0745L4.78517%2027.5028L3.12372%2025.706L0.692901%2025.4234L2.49217%2023.7697Z'%20fill='%23FFD12C'/%3e%3cpath%20d='M81.8276%2044.2862L75.5984%2041.2362L81.9754%2038.5329L85.0024%2032.303L87.7287%2038.6806L93.9356%2041.707L87.581%2044.4339L84.5316%2050.6402L81.8276%2044.2862Z'%20fill='%23FFD12C'/%3e%3cpath%20d='M74.6832%2058.4285L72.5762%2056.5252L75.3907%2056.1812L77.285%2054.0715L77.6379%2056.8888L79.7387%2058.7803L76.9304%2059.136L75.0299%2061.234L74.6832%2058.4285Z'%20fill='%23FFD12C'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M38.51%2022.1009C40.06%2019.4912%2043.8378%2019.4913%2045.3879%2022.1009L53.9494%2036.5169C55.5328%2039.1832%2053.611%2042.5598%2050.51%2042.5598H33.3879C30.2869%2042.5597%2028.3651%2039.1832%2029.9485%2036.5169L38.51%2022.1009ZM41.9494%2033.9768C40.9245%2033.9768%2040.0931%2034.9463%2040.093%2036.1429C40.093%2037.3395%2040.9244%2038.3098%2041.9494%2038.3098C42.9743%2038.3096%2043.8049%2037.3393%2043.8049%2036.1429C43.8048%2034.9465%2042.9742%2033.9771%2041.9494%2033.9768ZM41.9494%2025.3098C41.6305%2025.3098%2041.3491%2025.339%2041.1067%2025.3841C40.2702%2025.5397%2039.8879%2026.4776%2039.9572%2027.3587C40.0451%2028.4746%2040.1853%2030.0789%2040.3391%2031.1243C40.4257%2031.7134%2040.7754%2032.236%2041.3352%2032.3128C41.5047%2032.336%2041.7081%2032.3518%2041.9494%2032.3518C42.1904%2032.3518%2042.3933%2032.336%2042.5627%2032.3128C43.1225%2032.236%2043.4722%2031.7134%2043.5588%2031.1243C43.7126%2030.0789%2043.8528%2028.4746%2043.9406%2027.3587C44.01%2026.4775%2043.6278%2025.5396%2042.7912%2025.3841C42.5489%2025.339%2042.2681%2025.3099%2041.9494%2025.3098Z'%20fill='%23D89C2B'/%3e%3c/svg%3e",typeof document>"u"&&typeof location>"u"?require("url").pathToFileURL(__filename).href:typeof document>"u"?location.href:r&&r.tagName.toUpperCase()==="SCRIPT"&&r.src||new URL("f-erp-ui-package.umd.js",document.baseURI).href).href,z={class:"f-erp-popup-message-title"},A={key:0,class:"f-erp-popup-message-text"},x=e.defineComponent({__name:"FERPPopup",props:{visible:{type:Boolean},severity:{},title:{},content:{type:[Object,Function,String]},contentProps:{},options:{}},emits:["update:visible","close","submit"],setup(t,{emit:l}){const i=l,n=e.ref(!1),c=t,d=e.computed(()=>{switch(c.severity){case"normal":return{ImageSrc:I,CssClass:"f-erp-popup-message--v-severity-normal",Title:"Thông tin"};case"info":return{ImageSrc:U,CssClass:"f-erp-popup-message--v-severity-info",Title:"Thông báo"};case"success":return{ImageSrc:_,CssClass:"f-erp-popup-message--v-severity-success",Title:"Thành công"};case"warning":return{ImageSrc:v,CssClass:"f-erp-popup-message--v-severity-warning",Title:"Cảnh báo"};case"error":return{ImageSrc:Z,CssClass:"f-erp-popup-message--v-severity-error",Title:"Lỗi"}}});e.watch(()=>c.visible,f=>{n.value=f});const C=()=>{n.value=!1,i("update:visible",!1),i("close")},F=()=>{i("submit")},h=()=>{n.value==!1&&C()};return(f,s)=>(e.openBlock(),e.createBlock(e.unref(a.VDialog),{modelValue:n.value,"onUpdate:modelValue":[s[0]||(s[0]=m=>n.value=m),s[1]||(s[1]=m=>h())],"max-width":"var(--f-erp-max-width-small)",scrollable:!0},{default:e.withCtx(()=>[e.createVNode(e.unref(a.VCard),{elevation:"2",rounded:"lg",flat:""},{default:e.withCtx(()=>[e.createVNode(e.unref(a.VCardTitle),{class:"f-erp-card-title"},{default:e.withCtx(()=>[s[2]||(s[2]=e.createElementVNode("div",{class:"f-erp-card-title-content"},null,-1)),e.createVNode(u,{icon:"mdi-close",onClick:C,color:"surface",variant:"flat",size:"small",density:"compact"})]),_:1}),e.createVNode(e.unref(a.VDivider)),e.createVNode(e.unref(a.VCardText),{class:"pa-4"},{default:e.withCtx(()=>[e.createElementVNode("div",{class:e.normalizeClass([{"f-erp-popup-message-content":!0},d.value.CssClass])},[e.createElementVNode("span",z,e.toDisplayString(t.title?.length>0?t.title:d.value.Title),1),typeof c.content=="string"?(e.openBlock(),e.createElementBlock("span",A,e.toDisplayString(c.content),1)):(e.openBlock(),e.createBlock(e.resolveDynamicComponent(c.content),e.normalizeProps(e.mergeProps({key:1},t.contentProps)),null,16)),e.createVNode(e.unref(a.VImg),{"aspect-ratio":"1/1",cover:"",src:d.value.ImageSrc,width:"6rem"},null,8,["src"])],2)]),_:1}),e.createVNode(e.unref(a.VDivider)),t.options=="confrim"?(e.openBlock(),e.createBlock(e.unref(a.VCardActions),{key:0},{default:e.withCtx(()=>[e.createVNode(p,{text:"Xác nhận",onClick:F}),e.createVNode(p,{text:"Hủy",variant:"outlined",onClick:C})]),_:1})):e.createCommentVNode("",!0)]),_:1})]),_:1},8,["modelValue"]))}}),O=Object.freeze(Object.defineProperty({__proto__:null,FERPButton:p,FERPButtonIcon:u,FERPCard:L,FERPDialog:y,FERPPopup:x,FERPTextField:w},Symbol.toStringTag,{value:"Module"})),j={dark:!1,colors:{primary:"#0051B6","on-primary":"#FFFFFF",secondary:"#42CAF7","on-secondary":"#FFFFFF",tertiary:"#FF742E","on-tertiary":"#FFFFFF",danger:"#F44829","on-danger":"#FFFFFF",delay:"#FCBF3C","on-delay":"#FFFFFF",success:"#76DD30","on-success":"#FFFFFF",background:"#ECEFF1","on-background":"#263238",surface:"#FFFFFF","on-surface":"#263238"},variables:{"neutral-18":"#CFCFCF","gray-02":"#D5DEE9","success-darken-001":"#58BE23","success-light-001":"#A0EA60"}},q={dark:!0,colors:{primary:"#0051B6","on-primary":"#FFFFFF",secondary:"#42CAF7","on-secondary":"#FFFFFF",tertiary:"#FF742E","on-tertiary":"#FFFFFF",danger:"#F44829","on-danger":"#FFFFFF",delay:"#FCBF3C","on-delay":"#FFFFFF",success:"#76DD30","on-success":"#FFFFFF",background:"#263238","on-background":"#FFFFFF",surface:"#192124","on-surface":"#FFFFFF"},variables:{"neutral-18":"#CFCFCF","gray-02":"#D5DEE9","success-darken-001":"#58BE23","success-light-001":"#A0EA60"}},G={install(t){for(const[l,i]of Object.entries(O)){const n=i.default||i;t.component(l,n)}}};o.DarkTheme=q,o.FERPButton=p,o.FERPButtonIcon=u,o.FERPCard=L,o.FERPDialog=y,o.FERPPopup=x,o.FERPTextField=w,o.LightTheme=j,o.default=G,Object.defineProperties(o,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})}));
|
|
1
|
+
(function(r,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("vue"),require("vuetify/components")):typeof define=="function"&&define.amd?define(["exports","vue","vuetify/components"],e):(r=typeof globalThis<"u"?globalThis:r||self,e(r["f-fox-erp-ui-package"]={},r.Vue,r.VuetifyComponents))})(this,(function(r,e,a){"use strict";var g=document.createElement("style");g.textContent=`@import"https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&display=swap";:root{--f-erp-width: .390625vw;--f-erp-font-family: "Manrope", sans-serif;--f-erp-font-size: calc(9pt * var(--f-erp-width))}body,*{font-family:var(--f-erp-font-family)!important;font-size:var(--f-erp-font-size)}.f-erp-button{--v-btn-height: 2.6rem}.f-erp-button-loading{gap:.4em;display:flex;align-items:center}:root{--f-erp-max-width-extra-large: 90vw;--f-erp-max-width-large: 75vw;--f-erp-max-width-medium: 50vw;--f-erp-max-width-small: 25vw;--f-erp-max-width-extra-small: 20vw}.f-erp-card-title{display:flex;align-items:center;gap:.6em;padding:.4em .8em}.f-erp-card-title-prepend-icon{display:flex;border:1px solid rgb(var(--v-theme-neutral-18));align-items:center;justify-content:center;border-radius:.4em;padding:.2em;font-size:1rem}.f-erp-card-title-content{display:flex;flex-direction:column;gap:.2em;flex:1 0 0}.f-erp-card-title-text{font-size:1rem;font-weight:700;line-height:1.1rem}.f-erp-card-sub-title-text{font-size:.825rem;font-weight:400}.ferp-field--variant-solo-outlined .v-input__control .v-field--variant-solo{border:.1em solid rgb(var(--v-theme-gray-02));box-shadow:none;border-radius:.6em}.f-erp-popup-message-content{display:flex;flex-direction:column;gap:1em;justify-content:center;align-items:center}.f-erp-popup-message-title{font-size:1rem;font-weight:700;text-align:center}.f-erp-popup-message-text{font-weight:400;text-align:center;font-size:.875rem}.f-erp-popup-message--v-severity-normal .f-erp-popup-message-title{color:rgba(var(--v-theme-on-surface),.9)}.f-erp-popup-message--v-severity-info .f-erp-popup-message-title{color:rgba(var(--v-theme-info),1)}.f-erp-popup-message--v-severity-success .f-erp-popup-message-title{color:rgb(var(--v-theme-success-darken-001))}.f-erp-popup-message--v-severity-error .f-erp-popup-message-title{color:rgba(var(--v-theme-error),1)}
|
|
2
|
+
/*$vite$:1*/`,document.head.appendChild(g);var i=typeof document<"u"?document.currentScript:null;const f=e.defineComponent({__name:"FERPButton",props:{color:{default:"primary"},variant:{default:"flat"},text:{},loading:{type:Boolean,default:!1},prependIcon:{},appendIcon:{},disabled:{type:Boolean,default:!1}},setup(t){const l=t;return(o,n)=>(e.openBlock(),e.createBlock(e.unref(a.VBtn),{class:"text-none f-erp-button",rounded:"lg",variant:l.variant,color:l.color,loading:l.loading,"prepend-icon":l.prependIcon,"append-icon":l.appendIcon,disabled:l.loading==!0||l.disabled==!0},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(l.text),1)]),_:1},8,["variant","color","loading","prepend-icon","append-icon","disabled"]))}}),F=e.defineComponent({__name:"FERPButtonIcon",props:{icon:{},density:{default:"default"},size:{},color:{},variant:{default:"text"}},setup(t){const l=t;return(o,n)=>(e.openBlock(),e.createBlock(e.unref(a.VBtn),{icon:l.icon,density:l.density,size:l.size,elevation:"0",color:l.color,variant:l.variant},null,8,["icon","density","size","color","variant"]))}}),B={key:0,class:"f-erp-card-title-prepend-icon"},b={class:"f-erp-card-title-content"},V={class:"f-erp-card-title-text"},x={key:0,class:"f-erp-card-sub-title-text"},E={key:1,class:"f-erp-card-sub-title-content"},D={key:0},L=e.defineComponent({__name:"FERPCard",props:{prependIcon:{},title:{},subTitle:{},content:{},contentProps:{}},setup(t){const l=t;return(o,n)=>(e.openBlock(),e.createBlock(e.unref(a.VCard),{elevation:"2",rounded:"lg",flat:""},{default:e.withCtx(()=>[e.createVNode(e.unref(a.VCardTitle),{class:"f-erp-card-title"},{default:e.withCtx(()=>[t.prependIcon?.length>0?(e.openBlock(),e.createElementBlock("div",B,[e.createVNode(e.unref(a.VIcon),{icon:t.prependIcon},null,8,["icon"])])):e.createCommentVNode("",!0),e.createElementVNode("div",b,[e.createElementVNode("div",V,[e.createElementVNode("span",null,e.toDisplayString(l.title),1)]),o.$slots.subTitle?e.renderSlot(o.$slots,"subTitle",{key:0}):l.subTitle?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[typeof l.subTitle=="string"?(e.openBlock(),e.createElementBlock("div",x,[e.createElementVNode("span",null,e.toDisplayString(l.subTitle),1)])):(e.openBlock(),e.createElementBlock("div",E,[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(l.subTitle)))]))],64)):e.createCommentVNode("",!0)])]),_:3}),e.createVNode(e.unref(a.VDivider)),e.createVNode(e.unref(a.VCardText),{class:"pa-4"},{default:e.withCtx(()=>[o.$slots.content?e.renderSlot(o.$slots,"content",{key:0}):l.content?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[typeof l.content=="string"?(e.openBlock(),e.createElementBlock("div",D,[e.createElementVNode("span",null,e.toDisplayString(l.content),1)])):(e.openBlock(),e.createBlock(e.resolveDynamicComponent(l.content),e.normalizeProps(e.mergeProps({key:1},l.contentProps)),null,16))],64)):e.createCommentVNode("",!0)]),_:3})]),_:3}))}}),P={key:0,class:"f-erp-card-title-prepend-icon"},N={class:"f-erp-card-title-content"},T={key:0,class:"f-erp-card-title-text"},M={key:0,class:"f-erp-card-sub-title-text"},S={key:1,class:"f-erp-card-sub-title-content"},R={key:0},y=e.defineComponent({__name:"FERPDialog",props:{icon:{},title:{},subTitle:{},content:{},contentProps:{},show:{type:Boolean,default:!1},submitVisible:{type:Boolean,default:!1},submitText:{default:"Cập nhật"},submitLoading:{type:Boolean,default:!1},cancelVisible:{type:Boolean,default:!1},cancelIconVisible:{type:Boolean,default:!1},fullscreen:{type:Boolean,default:!1},width:{},maxwidth:{type:[Boolean,String],default:!1},persistent:{type:Boolean,default:!1}},emits:["update:show","close","submit"],setup(t,{emit:l}){const o=e.ref(!1),n=t,c=e.computed(()=>{switch(n.maxwidth){case!1:return null;case"extra-large":return"var(--f-erp-max-width-extra-large)";case"large":return"var(--f-erp-max-width-large)";case"medium":return"var(--f-erp-max-width-medium)";case"small":return"var(--f-erp-max-width-small)";case"extra-small":return"var(--f-erp-max-width-extra-small)"}}),d=l;e.watch(()=>n.show,C=>{o.value=C});const p=()=>{o.value=!1,d("update:show",!1),d("close")},h=()=>{d("submit")},u=()=>{o.value==!1&&p()};return(C,s)=>(e.openBlock(),e.createBlock(e.unref(a.VDialog),{modelValue:o.value,"onUpdate:modelValue":[s[0]||(s[0]=m=>o.value=m),s[1]||(s[1]=m=>u())],persistent:t.persistent,"max-width":c.value,width:t.width,scrollable:!0},{default:e.withCtx(()=>[e.createVNode(e.unref(a.VCard),{elevation:"2",rounded:"lg",flat:""},{default:e.withCtx(()=>[e.createVNode(e.unref(a.VCardTitle),{class:"f-erp-card-title"},{default:e.withCtx(()=>[t.icon?.length>0?(e.openBlock(),e.createElementBlock("div",P,[e.createVNode(e.unref(a.VIcon),{icon:t.icon},null,8,["icon"])])):e.createCommentVNode("",!0),e.createElementVNode("div",N,[t.title?.length>0?(e.openBlock(),e.createElementBlock("div",T,[e.createElementVNode("span",null,e.toDisplayString(n.title),1)])):e.createCommentVNode("",!0),C.$slots.subTitle?e.renderSlot(C.$slots,"subTitle",{key:1}):n.subTitle?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[typeof n.subTitle=="string"?(e.openBlock(),e.createElementBlock("div",M,[e.createElementVNode("span",null,e.toDisplayString(n.subTitle),1)])):(e.openBlock(),e.createElementBlock("div",S,[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(n.subTitle)))]))],64)):e.createCommentVNode("",!0)]),e.withDirectives(e.createVNode(F,{icon:"mdi-close",onClick:p,color:"surface",variant:"flat",size:"small",density:"compact"},null,512),[[e.vShow,t.cancelIconVisible]])]),_:3}),e.createVNode(e.unref(a.VDivider)),e.createVNode(e.unref(a.VCardText),{class:"pa-4"},{default:e.withCtx(()=>[C.$slots.content?e.renderSlot(C.$slots,"content",{key:0}):n.content?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[typeof n.content=="string"?(e.openBlock(),e.createElementBlock("div",R,[e.createElementVNode("span",null,e.toDisplayString(n.content),1)])):(e.openBlock(),e.createBlock(e.resolveDynamicComponent(n.content),e.normalizeProps(e.mergeProps({key:1},n.contentProps)),null,16))],64)):e.createCommentVNode("",!0)]),_:3}),e.createVNode(e.unref(a.VDivider)),e.withDirectives(e.createVNode(e.unref(a.VCardActions),null,{default:e.withCtx(()=>[e.withDirectives(e.createVNode(f,{text:"Cập nhật",onClick:h,loading:n.submitLoading},null,8,["loading"]),[[e.vShow,t.submitVisible]]),e.withDirectives(e.createVNode(f,{text:"Hủy",variant:"outlined",onClick:p},null,512),[[e.vShow,t.cancelVisible]])]),_:1},512),[[e.vShow,t.submitVisible||t.cancelVisible]])]),_:3})]),_:3},8,["modelValue","persistent","max-width","width"]))}}),w=e.defineComponent({__name:"FERPTextField",props:{label:{},placeholder:{},persistentPlaceholder:{type:Boolean,default:!1},variant:{default:"solo-outlined"},clearable:{type:Boolean},persistentClear:{type:Boolean,default:!1},density:{default:"comfortable"},value:{},loading:{type:Boolean},loadingColor:{default:"primary"},hint:{},persistentHint:{type:Boolean,default:!1},counter:{type:[String,Number,Boolean],default:!1},persistentCounter:{type:Boolean,default:!1}},setup(t){const l=t;return(o,n)=>{const c=e.resolveComponent("v-progress-linear");return e.openBlock(),e.createBlock(e.unref(a.VTextField),{modelValue:l.value,"onUpdate:modelValue":n[0]||(n[0]=d=>l.value=d),class:e.normalizeClass({"ferp-field--variant-solo-outlined":l.variant=="solo-outlined"}),variant:t.variant=="solo-outlined"?"solo":t.variant,label:t.label,clearable:t.clearable,"persistent-clear":t.persistentClear,placeholder:t.placeholder,density:t.density,loading:t.loading,hint:t.hint,"persistent-hint":t.persistentHint,"hide-details":"auto",counter:t.counter,"persistent-counter":t.persistentCounter},{loader:e.withCtx(()=>[e.createVNode(c,{active:t.loading,color:t.loadingColor,indeterminate:""},null,8,["active","color"])]),_:1},8,["modelValue","class","variant","label","clearable","persistent-clear","placeholder","density","loading","hint","persistent-hint","counter","persistent-counter"])}}}),Z=new URL("data:image/svg+xml,%3csvg%20width='94'%20height='62'%20viewBox='0%200%2094%2062'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M42.7438%2055.0234C33.6159%2055.0234%2027.2571%2054.43%2023.4315%2053.9084C20.0088%2053.4418%2017.3694%2050.7843%2016.8785%2047.2809C16.3795%2043.7199%2015.8329%2038.0984%2015.8329%2030.559C15.8329%2023.0196%2016.3795%2017.3981%2016.8785%2013.8371C17.3694%2010.3337%2020.0088%207.67617%2023.4315%207.20956C27.2571%206.68803%2033.6159%206.09459%2042.7438%206.09459C51.8717%206.09459%2058.2304%206.68803%2062.0561%207.20956C65.4788%207.67617%2068.1182%2010.3337%2068.6092%2013.8371C69.1081%2017.3981%2069.6546%2023.0196%2069.6546%2030.559C69.6546%2038.0984%2069.1081%2043.7199%2068.6092%2047.2809C68.1182%2050.7843%2065.4788%2053.4418%2062.0561%2053.9084C58.2304%2054.43%2051.8717%2055.0234%2042.7438%2055.0234Z'%20fill='%238FFA93'/%3e%3cpath%20d='M54.1061%2015.9019C53.5036%2015.9019%2052.9735%2015.8852%2052.5078%2015.8572C49.7933%2015.6942%2048.2654%2013.4079%2048.1808%2011.065C48.1496%2010.198%2048.1259%209.14698%2048.1259%207.95093C48.1259%206.75486%2048.1496%205.70386%2048.1808%204.83681C48.2654%202.49395%2049.7933%200.20769%2052.5078%200.0445741C52.9735%200.0165869%2053.5036%200%2054.1061%200C54.7087%200%2055.2388%200.0165869%2055.7045%200.0445741C58.4189%200.20769%2059.9469%202.49395%2060.0314%204.83681C60.0626%205.70386%2060.0863%206.75486%2060.0863%207.95093C60.0863%209.14698%2060.0626%2010.198%2060.0314%2011.065C59.9469%2013.4079%2058.4189%2015.6942%2055.7045%2015.8572C55.2388%2015.8852%2054.7087%2015.9019%2054.1061%2015.9019Z'%20fill='%2336BF00'/%3e%3cpath%20d='M31.3814%2015.9019C30.7789%2015.9019%2030.2488%2015.8852%2029.783%2015.8572C27.0686%2015.6942%2025.5407%2013.4079%2025.4562%2011.065C25.4249%2010.198%2025.4012%209.14698%2025.4012%207.95093C25.4012%206.75486%2025.4249%205.70386%2025.4562%204.83681C25.5407%202.49395%2027.0686%200.20769%2029.783%200.0445741C30.2488%200.0165869%2030.7789%200%2031.3814%200C31.984%200%2032.5141%200.0165869%2032.9798%200.0445741C35.6942%200.20769%2037.2222%202.49395%2037.3067%204.83681C37.3379%205.70386%2037.3616%206.75486%2037.3616%207.95093C37.3616%209.14698%2037.3379%2010.198%2037.3067%2011.065C37.2222%2013.4079%2035.6942%2015.6942%2032.9798%2015.8572C32.5141%2015.8852%2031.984%2015.9019%2031.3814%2015.9019Z'%20fill='%2336BF00'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M55.1561%2027.2921C56.3644%2025.6857%2056.0705%2023.3817%2054.4998%2022.146C52.9291%2020.9104%2050.6763%2021.2109%2049.468%2022.8172L40.9522%2034.1395L35.7454%2028.6742C34.3624%2027.2227%2032.0908%2027.1924%2030.6715%2028.6068C29.2521%2030.0213%2029.2227%2032.3445%2030.6056%2033.7961L38.7018%2042.2942C39.428%2043.0565%2040.4421%2043.4588%2041.481%2043.3967C42.5199%2043.3347%2043.4813%2042.8143%2044.1158%2041.9708L55.1561%2027.2921Z'%20fill='%2336BF00'/%3e%3cpath%20d='M2.89313%204.98774L3.34351%201.06671L6.00668%203.97224L9.92366%204.41022L7.02217%207.08579L6.58015%2010.9904L3.90862%208.10129L0%207.64686L2.89313%204.98774Z'%20fill='%23FFD12C'/%3e%3cpath%20d='M2.49217%2023.7697L2.77227%2021.3312L4.42852%2023.1381L6.86454%2023.4105L5.06007%2025.0745L4.78517%2027.5028L3.12372%2025.706L0.692901%2025.4234L2.49217%2023.7697Z'%20fill='%23FFD12C'/%3e%3cpath%20d='M81.8276%2044.2862L75.5984%2041.2362L81.9754%2038.5329L85.0024%2032.303L87.7287%2038.6806L93.9356%2041.707L87.581%2044.4339L84.5316%2050.6402L81.8276%2044.2862Z'%20fill='%23FFD12C'/%3e%3cpath%20d='M74.6832%2058.4285L72.5762%2056.5252L75.3907%2056.1812L77.285%2054.0715L77.6379%2056.8888L79.7387%2058.7803L76.9304%2059.136L75.0299%2061.234L74.6832%2058.4285Z'%20fill='%23FFD12C'/%3e%3c/svg%3e",typeof document>"u"&&typeof location>"u"?require("url").pathToFileURL(__filename).href:typeof document>"u"?location.href:i&&i.tagName.toUpperCase()==="SCRIPT"&&i.src||new URL("f-erp-ui-package.umd.js",document.baseURI).href).href,_=new URL("data:image/svg+xml,%3csvg%20width='94'%20height='62'%20viewBox='0%200%2094%2062'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M42.7438%2055.0234C33.6159%2055.0234%2027.2571%2054.43%2023.4315%2053.9084C20.0088%2053.4418%2017.3694%2050.7843%2016.8785%2047.2809C16.3795%2043.7198%2015.8329%2038.0984%2015.8329%2030.559C15.8329%2023.0196%2016.3795%2017.3981%2016.8785%2013.8371C17.3694%2010.3337%2020.0088%207.67617%2023.4315%207.20956C27.2571%206.68803%2033.6159%206.09459%2042.7438%206.09459C51.8717%206.09459%2058.2304%206.68803%2062.0561%207.20956C65.4788%207.67617%2068.1182%2010.3337%2068.6092%2013.8371C69.1081%2017.3981%2069.6546%2023.0196%2069.6546%2030.559C69.6546%2038.0984%2069.1081%2043.7198%2068.6092%2047.2809C68.1182%2050.7843%2065.4788%2053.4418%2062.0561%2053.9084C58.2304%2054.43%2051.8717%2055.0234%2042.7438%2055.0234Z'%20fill='%23F6C5C3'/%3e%3cpath%20d='M54.1061%2015.9019C53.5036%2015.9019%2052.9735%2015.8852%2052.5078%2015.8572C49.7933%2015.6942%2048.2654%2013.4079%2048.1808%2011.065C48.1496%2010.198%2048.1259%209.14698%2048.1259%207.95093C48.1259%206.75486%2048.1496%205.70386%2048.1808%204.83681C48.2654%202.49395%2049.7933%200.20769%2052.5078%200.0445741C52.9735%200.0165869%2053.5036%200%2054.1061%200C54.7087%200%2055.2388%200.0165869%2055.7045%200.0445741C58.4189%200.20769%2059.9469%202.49395%2060.0314%204.83681C60.0626%205.70386%2060.0863%206.75486%2060.0863%207.95093C60.0863%209.14698%2060.0626%2010.198%2060.0314%2011.065C59.9469%2013.4079%2058.4189%2015.6942%2055.7045%2015.8572C55.2388%2015.8852%2054.7087%2015.9019%2054.1061%2015.9019Z'%20fill='%23FF5F57'/%3e%3cpath%20d='M31.3814%2015.9019C30.7789%2015.9019%2030.2488%2015.8852%2029.783%2015.8572C27.0686%2015.6942%2025.5407%2013.4079%2025.4562%2011.065C25.4249%2010.198%2025.4012%209.14698%2025.4012%207.95093C25.4012%206.75486%2025.4249%205.70386%2025.4562%204.83681C25.5407%202.49395%2027.0686%200.20769%2029.783%200.0445741C30.2488%200.0165869%2030.7789%200%2031.3814%200C31.984%200%2032.5141%200.0165869%2032.9798%200.0445741C35.6942%200.20769%2037.2222%202.49395%2037.3067%204.83681C37.3379%205.70386%2037.3616%206.75486%2037.3616%207.95093C37.3616%209.14698%2037.3379%2010.198%2037.3067%2011.065C37.2222%2013.4079%2035.6942%2015.6942%2032.9798%2015.8572C32.5141%2015.8852%2031.984%2015.9019%2031.3814%2015.9019Z'%20fill='%23FF5F57'/%3e%3cpath%20d='M33.5532%2023.3152C35.1153%2021.7531%2037.6484%2021.7531%2039.2105%2023.3152L43.5806%2027.6854L47.8228%2023.4432C49.3849%2021.8811%2051.9179%2021.8811%2053.48%2023.4432C55.0421%2025.0053%2055.0421%2027.5383%2053.48%2029.1004L49.2378%2033.3426L53.3521%2037.4568C54.9142%2039.0189%2054.9142%2041.552%2053.3521%2043.1141C51.79%2044.6762%2049.2569%2044.6762%2047.6948%2043.1141L43.5806%2038.9998L39.3384%2043.242C37.7763%2044.8041%2035.2433%2044.8041%2033.6812%2043.242C32.1191%2041.6799%2032.1191%2039.1469%2033.6812%2037.5848L37.9234%2033.3426L33.5532%2028.9725C31.9911%2027.4104%2031.9911%2024.8773%2033.5532%2023.3152Z'%20fill='%23FF5F57'/%3e%3cpath%20d='M2.89313%204.98774L3.34351%201.06671L6.00668%203.97224L9.92366%204.41022L7.02217%207.08579L6.58015%2010.9904L3.90862%208.10129L0%207.64686L2.89313%204.98774Z'%20fill='%23FFD12C'/%3e%3cpath%20d='M2.49217%2023.7697L2.77227%2021.3312L4.42852%2023.1381L6.86454%2023.4105L5.06007%2025.0745L4.78517%2027.5028L3.12372%2025.706L0.692901%2025.4234L2.49217%2023.7697Z'%20fill='%23FFD12C'/%3e%3cpath%20d='M81.8276%2044.2862L75.5984%2041.2362L81.9754%2038.5329L85.0024%2032.303L87.7287%2038.6806L93.9356%2041.707L87.581%2044.4339L84.5316%2050.6402L81.8276%2044.2862Z'%20fill='%23FFD12C'/%3e%3cpath%20d='M74.6832%2058.4285L72.5762%2056.5252L75.3907%2056.1812L77.285%2054.0715L77.6379%2056.8888L79.7387%2058.7803L76.9304%2059.136L75.0299%2061.234L74.6832%2058.4285Z'%20fill='%23FFD12C'/%3e%3c/svg%3e",typeof document>"u"&&typeof location>"u"?require("url").pathToFileURL(__filename).href:typeof document>"u"?location.href:i&&i.tagName.toUpperCase()==="SCRIPT"&&i.src||new URL("f-erp-ui-package.umd.js",document.baseURI).href).href,U=new URL("data:image/svg+xml,%3csvg%20width='94'%20height='62'%20viewBox='0%200%2094%2062'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M42.7438%2055.0234C33.6159%2055.0234%2027.2571%2054.43%2023.4315%2053.9084C20.0088%2053.4418%2017.3694%2050.7843%2016.8785%2047.2809C16.3795%2043.7199%2015.8329%2038.0984%2015.8329%2030.559C15.8329%2023.0196%2016.3795%2017.3981%2016.8785%2013.8371C17.3694%2010.3337%2020.0088%207.67617%2023.4315%207.20956C27.2571%206.68803%2033.6159%206.09459%2042.7438%206.09459C51.8717%206.09459%2058.2304%206.68803%2062.0561%207.20956C65.4788%207.67617%2068.1182%2010.3337%2068.6092%2013.8371C69.1081%2017.3981%2069.6546%2023.0196%2069.6546%2030.559C69.6546%2038.0984%2069.1081%2043.7199%2068.6092%2047.2809C68.1182%2050.7843%2065.4788%2053.4418%2062.0561%2053.9084C58.2304%2054.43%2051.8717%2055.0234%2042.7438%2055.0234Z'%20fill='%238FBFFA'/%3e%3cpath%20d='M54.1061%2015.9019C53.5036%2015.9019%2052.9735%2015.8852%2052.5078%2015.8572C49.7933%2015.6942%2048.2654%2013.4079%2048.1808%2011.065C48.1496%2010.198%2048.1259%209.14698%2048.1259%207.95093C48.1259%206.75486%2048.1496%205.70386%2048.1808%204.83681C48.2654%202.49395%2049.7933%200.20769%2052.5078%200.0445741C52.9735%200.0165869%2053.5036%200%2054.1061%200C54.7087%200%2055.2388%200.0165869%2055.7045%200.0445741C58.4189%200.20769%2059.9469%202.49395%2060.0314%204.83681C60.0626%205.70386%2060.0863%206.75486%2060.0863%207.95093C60.0863%209.14698%2060.0626%2010.198%2060.0314%2011.065C59.9469%2013.4079%2058.4189%2015.6942%2055.7045%2015.8572C55.2388%2015.8852%2054.7087%2015.9019%2054.1061%2015.9019Z'%20fill='%232859C5'/%3e%3cpath%20d='M31.3814%2015.9019C30.7789%2015.9019%2030.2488%2015.8852%2029.783%2015.8572C27.0686%2015.6942%2025.5407%2013.4079%2025.4562%2011.065C25.4249%2010.198%2025.4012%209.14698%2025.4012%207.95093C25.4012%206.75486%2025.4249%205.70386%2025.4562%204.83681C25.5407%202.49395%2027.0686%200.20769%2029.783%200.0445741C30.2488%200.0165869%2030.7789%200%2031.3814%200C31.984%200%2032.5141%200.0165869%2032.9798%200.0445741C35.6942%200.20769%2037.2222%202.49395%2037.3067%204.83681C37.3379%205.70386%2037.3616%206.75486%2037.3616%207.95093C37.3616%209.14698%2037.3379%2010.198%2037.3067%2011.065C37.2222%2013.4079%2035.6942%2015.6942%2032.9798%2015.8572C32.5141%2015.8852%2031.984%2015.9019%2031.3814%2015.9019Z'%20fill='%232859C5'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M40.6975%2020.2816C41.1824%2020.1984%2041.7439%2020.1437%2042.3817%2020.1437C43.0194%2020.1437%2043.5808%2020.1984%2044.0658%2020.2816C45.739%2020.5687%2046.5044%2022.2996%2046.3657%2023.9264C46.19%2025.9868%2045.9092%2028.949%2045.6016%2030.879C45.4284%2031.9666%2044.7293%2032.9311%2043.6097%2033.0728C43.2705%2033.1157%2042.8643%2033.1437%2042.3817%2033.1437C41.8989%2033.1437%2041.4928%2033.1157%2041.1536%2033.0728C40.034%2032.9311%2039.3349%2031.9666%2039.1616%2030.879C38.8541%2028.949%2038.5733%2025.9868%2038.3976%2023.9264C38.2589%2022.2996%2039.0242%2020.5687%2040.6975%2020.2816ZM38.6698%2040.1437C38.6698%2037.9346%2040.3318%2036.1437%2042.3818%2036.1437C44.4318%2036.1437%2046.0937%2037.9346%2046.0937%2040.1437C46.0937%2042.3528%2044.4318%2044.1437%2042.3818%2044.1437C40.3318%2044.1437%2038.6698%2042.3528%2038.6698%2040.1437Z'%20fill='%232859C5'/%3e%3cpath%20d='M2.89313%204.98774L3.34351%201.06671L6.00668%203.97224L9.92366%204.41022L7.02217%207.08579L6.58015%2010.9904L3.90862%208.10129L0%207.64686L2.89313%204.98774Z'%20fill='%23FFD12C'/%3e%3cpath%20d='M2.49217%2023.7697L2.77227%2021.3312L4.42852%2023.1381L6.86454%2023.4105L5.06007%2025.0745L4.78517%2027.5028L3.12372%2025.706L0.692901%2025.4234L2.49217%2023.7697Z'%20fill='%23FFD12C'/%3e%3cpath%20d='M81.8276%2044.2862L75.5984%2041.2362L81.9754%2038.5329L85.0024%2032.303L87.7287%2038.6806L93.9356%2041.707L87.581%2044.4339L84.5316%2050.6402L81.8276%2044.2862Z'%20fill='%23FFD12C'/%3e%3cpath%20d='M74.6832%2058.4285L72.5762%2056.5252L75.3907%2056.1812L77.285%2054.0715L77.6379%2056.8888L79.7387%2058.7803L76.9304%2059.136L75.0299%2061.234L74.6832%2058.4285Z'%20fill='%23FFD12C'/%3e%3c/svg%3e",typeof document>"u"&&typeof location>"u"?require("url").pathToFileURL(__filename).href:typeof document>"u"?location.href:i&&i.tagName.toUpperCase()==="SCRIPT"&&i.src||new URL("f-erp-ui-package.umd.js",document.baseURI).href).href,I=new URL("data:image/svg+xml,%3csvg%20width='79'%20height='57'%20viewBox='0%200%2079%2057'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M11.3319%2029.9482C15.0605%2028.6492%2017.7147%2027.8568%2019.3983%2027.3964C21.0823%2026.936%2022.8144%2027.6992%2023.5291%2029.2804C24.1432%2030.6388%2025.0025%2032.7127%2026.0235%2035.6431C27.0445%2038.5736%2027.6599%2040.7325%2028.0229%2042.1784C28.4454%2043.8613%2027.5625%2045.5357%2025.9569%2046.2213C25.2608%2046.5186%2024.3829%2046.8803%2023.3077%2047.3007L24.0848%2049.531C24.4528%2050.5872%2023.3895%2051.5966%2022.3333%2051.1938L17.603%2049.3898C14.109%2050.597%2011.6002%2051.3443%209.98485%2051.786C8.3009%2052.2465%206.56868%2051.4832%205.85398%2049.9021C5.23996%2048.5437%204.38061%2046.4698%203.35963%2043.5393C2.33865%2040.6089%201.72327%2038.45%201.36026%2037.0041C0.937768%2035.3212%201.82067%2033.6468%203.42618%2032.9612C5.03131%2032.2757%207.60328%2031.2473%2011.3319%2029.9482Z'%20fill='%238FBFFA'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M12.1164%2034.0198C12.3299%2033.8963%2012.5846%2033.7746%2012.8852%2033.6681C13.1857%2033.5616%2013.4602%2033.4958%2013.7038%2033.4573C14.5444%2033.3245%2015.2182%2034.0804%2015.4471%2034.9341C15.737%2036.0154%2016.1406%2037.5747%2016.3448%2038.6114C16.4599%2039.1957%2016.3049%2039.8048%2015.8029%2040.0642C15.6508%2040.1427%2015.4644%2040.2248%2015.237%2040.3054C15.0094%2040.386%2014.813%2040.4396%2014.6453%2040.4743C14.092%2040.5889%2013.5881%2040.2132%2013.3097%2039.6869C12.8156%2038.7528%2012.1474%2037.2873%2011.6918%2036.2647C11.3322%2035.4573%2011.3797%2034.4458%2012.1164%2034.0198ZM14.7539%2044.4992C14.3543%2043.3713%2014.8136%2042.1794%2015.7797%2041.8371C16.7459%2041.4948%2017.8531%2042.1316%2018.2528%2043.2595C18.6524%2044.3874%2018.1931%2045.5793%2017.227%2045.9216C16.2608%2046.2639%2015.1536%2045.6271%2014.7539%2044.4992Z'%20fill='%232859C5'/%3e%3cpath%20d='M60.5213%208.14933C54.6244%205.46791%2050.4053%203.77879%2047.7223%202.77757C45.0386%201.77609%2042.078%202.79898%2040.6517%205.32261C39.4262%207.4908%2037.6832%2010.812%2035.5369%2015.5321C33.3905%2020.2522%2032.0333%2023.7489%2031.2049%2026.0976C30.2406%2028.8313%2031.4158%2031.7349%2033.9346%2033.099C35.0266%2033.6905%2036.406%2034.4146%2038.0991%2035.2637L36.4656%2038.8561C35.6919%2040.5574%2037.2701%2042.3825%2039.0653%2041.8627L47.1048%2039.5348C52.6322%2042.0308%2056.6205%2043.6246%2059.1947%2044.5853C61.8784%2045.5868%2064.839%2044.5639%2066.2654%2042.0403C67.4908%2039.8721%2069.2339%2036.5509%2071.3802%2031.8308C73.5265%2027.1107%2074.8837%2023.614%2075.7122%2021.2653C76.6764%2018.5315%2075.5012%2015.628%2072.9825%2014.2639C70.4644%2012.9%2066.4181%2010.8307%2060.5213%208.14933Z'%20fill='%238FBFFA'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M56.5676%2013.2131C57.014%2013.3361%2057.5158%2013.5116%2058.0632%2013.7605C58.6106%2014.0094%2059.0726%2014.2722%2059.4588%2014.5277C60.791%2015.4095%2060.821%2017.0868%2060.1127%2018.3285C59.2156%2019.901%2057.9017%2022.1509%2056.9387%2023.5681C56.3961%2024.3668%2055.4467%2024.8622%2054.4344%2024.5381C54.1277%2024.4399%2053.769%2024.3037%2053.3547%2024.1153C52.9404%2023.9269%2052.6019%2023.746%2052.3263%2023.5795C51.4166%2023.0296%2051.1659%2021.9885%2051.4111%2021.0546C51.8462%2019.3973%2052.678%2016.9283%2053.2735%2015.2186C53.7437%2013.8686%2055.0274%2012.7887%2056.5676%2013.2131ZM47.6334%2028.2422C48.4335%2026.4826%2050.5086%2025.7047%2052.2682%2026.5049C54.0278%2027.305%2054.8056%2029.3801%2054.0055%2031.1397C53.2054%2032.8993%2051.1303%2033.6771%2049.3707%2032.877C47.6111%2032.0769%2046.8332%2030.0018%2047.6334%2028.2422Z'%20fill='%232859C5'/%3e%3c/svg%3e",typeof document>"u"&&typeof location>"u"?require("url").pathToFileURL(__filename).href:typeof document>"u"?location.href:i&&i.tagName.toUpperCase()==="SCRIPT"&&i.src||new URL("f-erp-ui-package.umd.js",document.baseURI).href).href,z=new URL("data:image/svg+xml,%3csvg%20width='94'%20height='62'%20viewBox='0%200%2094%2062'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M42.7438%2055.0234C33.6159%2055.0234%2027.2571%2054.43%2023.4315%2053.9084C20.0088%2053.4418%2017.3694%2050.7843%2016.8785%2047.2809C16.3795%2043.7199%2015.8329%2038.0984%2015.8329%2030.559C15.8329%2023.0196%2016.3795%2017.3981%2016.8785%2013.8371C17.3694%2010.3337%2020.0088%207.67617%2023.4315%207.20956C27.2571%206.68803%2033.6159%206.09459%2042.7438%206.09459C51.8717%206.09459%2058.2304%206.68803%2062.0561%207.20956C65.4788%207.67617%2068.1182%2010.3337%2068.6092%2013.8371C69.1081%2017.3981%2069.6546%2023.0196%2069.6546%2030.559C69.6546%2038.0984%2069.1081%2043.7199%2068.6092%2047.2809C68.1182%2050.7843%2065.4788%2053.4418%2062.0561%2053.9084C58.2304%2054.43%2051.8717%2055.0234%2042.7438%2055.0234Z'%20fill='%23FEE089'/%3e%3cpath%20d='M54.1061%2015.9019C53.5036%2015.9019%2052.9735%2015.8852%2052.5078%2015.8572C49.7933%2015.6942%2048.2654%2013.4079%2048.1808%2011.065C48.1496%2010.198%2048.1259%209.14698%2048.1259%207.95093C48.1259%206.75486%2048.1496%205.70386%2048.1808%204.83681C48.2654%202.49395%2049.7933%200.20769%2052.5078%200.0445741C52.9735%200.0165869%2053.5036%200%2054.1061%200C54.7087%200%2055.2388%200.0165869%2055.7045%200.0445741C58.4189%200.20769%2059.9469%202.49395%2060.0314%204.83681C60.0626%205.70386%2060.0863%206.75486%2060.0863%207.95093C60.0863%209.14698%2060.0626%2010.198%2060.0314%2011.065C59.9469%2013.4079%2058.4189%2015.6942%2055.7045%2015.8572C55.2388%2015.8852%2054.7087%2015.9019%2054.1061%2015.9019Z'%20fill='%23D89C2B'/%3e%3cpath%20d='M31.3814%2015.9019C30.7789%2015.9019%2030.2488%2015.8852%2029.783%2015.8572C27.0686%2015.6942%2025.5407%2013.4079%2025.4562%2011.065C25.4249%2010.198%2025.4012%209.14698%2025.4012%207.95093C25.4012%206.75486%2025.4249%205.70386%2025.4562%204.83681C25.5407%202.49395%2027.0686%200.20769%2029.783%200.0445741C30.2488%200.0165869%2030.7789%200%2031.3814%200C31.984%200%2032.5141%200.0165869%2032.9798%200.0445741C35.6942%200.20769%2037.2222%202.49395%2037.3067%204.83681C37.3379%205.70386%2037.3616%206.75486%2037.3616%207.95093C37.3616%209.14698%2037.3379%2010.198%2037.3067%2011.065C37.2222%2013.4079%2035.6942%2015.6942%2032.9798%2015.8572C32.5141%2015.8852%2031.984%2015.9019%2031.3814%2015.9019Z'%20fill='%23D89C2B'/%3e%3cpath%20d='M2.89313%204.98774L3.34351%201.06671L6.00668%203.97224L9.92366%204.41022L7.02217%207.08579L6.58015%2010.9904L3.90862%208.10129L0%207.64686L2.89313%204.98774Z'%20fill='%23FFD12C'/%3e%3cpath%20d='M2.49217%2023.7697L2.77227%2021.3312L4.42852%2023.1381L6.86454%2023.4105L5.06007%2025.0745L4.78517%2027.5028L3.12372%2025.706L0.692901%2025.4234L2.49217%2023.7697Z'%20fill='%23FFD12C'/%3e%3cpath%20d='M81.8276%2044.2862L75.5984%2041.2362L81.9754%2038.5329L85.0024%2032.303L87.7287%2038.6806L93.9356%2041.707L87.581%2044.4339L84.5316%2050.6402L81.8276%2044.2862Z'%20fill='%23FFD12C'/%3e%3cpath%20d='M74.6832%2058.4285L72.5762%2056.5252L75.3907%2056.1812L77.285%2054.0715L77.6379%2056.8888L79.7387%2058.7803L76.9304%2059.136L75.0299%2061.234L74.6832%2058.4285Z'%20fill='%23FFD12C'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M38.51%2022.1009C40.06%2019.4912%2043.8378%2019.4913%2045.3879%2022.1009L53.9494%2036.5169C55.5328%2039.1832%2053.611%2042.5598%2050.51%2042.5598H33.3879C30.2869%2042.5597%2028.3651%2039.1832%2029.9485%2036.5169L38.51%2022.1009ZM41.9494%2033.9768C40.9245%2033.9768%2040.0931%2034.9463%2040.093%2036.1429C40.093%2037.3395%2040.9244%2038.3098%2041.9494%2038.3098C42.9743%2038.3096%2043.8049%2037.3393%2043.8049%2036.1429C43.8048%2034.9465%2042.9742%2033.9771%2041.9494%2033.9768ZM41.9494%2025.3098C41.6305%2025.3098%2041.3491%2025.339%2041.1067%2025.3841C40.2702%2025.5397%2039.8879%2026.4776%2039.9572%2027.3587C40.0451%2028.4746%2040.1853%2030.0789%2040.3391%2031.1243C40.4257%2031.7134%2040.7754%2032.236%2041.3352%2032.3128C41.5047%2032.336%2041.7081%2032.3518%2041.9494%2032.3518C42.1904%2032.3518%2042.3933%2032.336%2042.5627%2032.3128C43.1225%2032.236%2043.4722%2031.7134%2043.5588%2031.1243C43.7126%2030.0789%2043.8528%2028.4746%2043.9406%2027.3587C44.01%2026.4775%2043.6278%2025.5396%2042.7912%2025.3841C42.5489%2025.339%2042.2681%2025.3099%2041.9494%2025.3098Z'%20fill='%23D89C2B'/%3e%3c/svg%3e",typeof document>"u"&&typeof location>"u"?require("url").pathToFileURL(__filename).href:typeof document>"u"?location.href:i&&i.tagName.toUpperCase()==="SCRIPT"&&i.src||new URL("f-erp-ui-package.umd.js",document.baseURI).href).href,A={class:"f-erp-popup-message-title"},O={key:0,class:"f-erp-popup-message-text"},k=e.defineComponent({__name:"FERPPopup",props:{visible:{type:Boolean},severity:{default:"normal"},title:{},content:{},contentProps:{},options:{}},emits:["update:visible","close","submit"],setup(t,{emit:l}){const o=l,n=e.ref(!1),c=t,d=e.computed(()=>{switch(c.severity){case"normal":return{ImageSrc:I,CssClass:"f-erp-popup-message--v-severity-normal",Title:"Thông tin"};case"info":return{ImageSrc:U,CssClass:"f-erp-popup-message--v-severity-info",Title:"Thông báo"};case"success":return{ImageSrc:Z,CssClass:"f-erp-popup-message--v-severity-success",Title:"Thành công"};case"warning":return{ImageSrc:z,CssClass:"f-erp-popup-message--v-severity-warning",Title:"Cảnh báo"};case"error":return{ImageSrc:_,CssClass:"f-erp-popup-message--v-severity-error",Title:"Lỗi"}}});e.watch(()=>c.visible,C=>{n.value=C});const p=()=>{n.value=!1,o("update:visible",!1),o("close")},h=()=>{o("submit")},u=()=>{n.value==!1&&p()};return(C,s)=>(e.openBlock(),e.createBlock(e.unref(a.VDialog),{modelValue:n.value,"onUpdate:modelValue":[s[0]||(s[0]=m=>n.value=m),s[1]||(s[1]=m=>u())],"max-width":"var(--f-erp-max-width-small)",scrollable:!0},{default:e.withCtx(()=>[e.createVNode(e.unref(a.VCard),{elevation:"2",rounded:"lg",flat:""},{default:e.withCtx(()=>[e.createVNode(e.unref(a.VCardTitle),{class:"f-erp-card-title"},{default:e.withCtx(()=>[s[2]||(s[2]=e.createElementVNode("div",{class:"f-erp-card-title-content"},null,-1)),e.createVNode(F,{icon:"mdi-close",onClick:p,color:"surface",variant:"flat",size:"small",density:"compact"})]),_:1}),e.createVNode(e.unref(a.VDivider)),e.createVNode(e.unref(a.VCardText),{class:"pa-4"},{default:e.withCtx(()=>[e.createElementVNode("div",{class:e.normalizeClass([{"f-erp-popup-message-content":!0},d.value.CssClass])},[e.createElementVNode("span",A,e.toDisplayString(t.title?.length>0?t.title:d.value.Title),1),typeof c.content=="string"?(e.openBlock(),e.createElementBlock("span",O,e.toDisplayString(c.content),1)):(e.openBlock(),e.createBlock(e.resolveDynamicComponent(c.content),e.normalizeProps(e.mergeProps({key:1},t.contentProps)),null,16)),e.createVNode(e.unref(a.VImg),{"aspect-ratio":"1/1",cover:"",src:d.value.ImageSrc,width:"6rem"},null,8,["src"])],2)]),_:1}),e.createVNode(e.unref(a.VDivider)),t.options=="confrim"?(e.openBlock(),e.createBlock(e.unref(a.VCardActions),{key:0},{default:e.withCtx(()=>[e.createVNode(f,{text:"Xác nhận",onClick:h}),e.createVNode(f,{text:"Hủy",variant:"outlined",onClick:p})]),_:1})):e.createCommentVNode("",!0)]),_:1})]),_:1},8,["modelValue"]))}}),j=Object.freeze(Object.defineProperty({__proto__:null,FERPButton:f,FERPButtonIcon:F,FERPCard:L,FERPDialog:y,FERPPopup:k,FERPTextField:w},Symbol.toStringTag,{value:"Module"})),q={dark:!1,colors:{primary:"#0051B6","on-primary":"#FFFFFF",secondary:"#42CAF7","on-secondary":"#FFFFFF",tertiary:"#FF742E","on-tertiary":"#FFFFFF",danger:"#F44829","on-danger":"#FFFFFF",delay:"#FCBF3C","on-delay":"#FFFFFF",success:"#76DD30","on-success":"#FFFFFF",background:"#ECEFF1","on-background":"#263238",surface:"#FFFFFF","on-surface":"#263238","neutral-18":"#CFCFCF","gray-02":"#D5DEE9","success-darken-001":"#58BE23","success-light-001":"#A0EA60"}},G={dark:!0,colors:{primary:"#0051B6","on-primary":"#FFFFFF",secondary:"#42CAF7","on-secondary":"#FFFFFF",tertiary:"#FF742E","on-tertiary":"#FFFFFF",danger:"#F44829","on-danger":"#FFFFFF",delay:"#FCBF3C","on-delay":"#FFFFFF",success:"#76DD30","on-success":"#FFFFFF",background:"#263238","on-background":"#FFFFFF",surface:"#192124","on-surface":"#FFFFFF","neutral-18":"#CFCFCF","gray-02":"#D5DEE9","success-darken-001":"#58BE23","success-light-001":"#A0EA60",border:"#CFCFCF","border-opacity":.12}},H={install(t){for(const[l,o]of Object.entries(j)){const n=o.default||o;t.component(l,n)}}};r.DarkTheme=G,r.FERPButton=f,r.FERPButtonIcon=F,r.FERPCard=L,r.FERPDialog=y,r.FERPPopup=k,r.FERPTextField=w,r.LightTheme=q,r.default=H,Object.defineProperties(r,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})}));
|
package/dist/index.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
@import"https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&display=swap";:root{--f-erp-width: .390625vw;--f-erp-font-family: "Manrope", sans-serif;--f-erp-font-size: calc(9pt * var(--f-erp-width))}body,*{font-family:var(--f-erp-font-family)!important;font-size:var(--f-erp-font-size)}.f-erp-button{--v-btn-height: 2.6rem}.f-erp-button-loading{gap:.4em;display:flex;align-items:center}:root{--f-erp-max-width-extra-large: 90vw;--f-erp-max-width-large: 75vw;--f-erp-max-width-medium: 50vw;--f-erp-max-width-small: 25vw;--f-erp-max-width-extra-small: 20vw}.f-erp-card-title{display:flex;align-items:center;gap:.6em;padding:.4em .8em}.f-erp-card-title-prepend-icon{display:flex;border:1px solid rgb(var(--v-neutral-18));align-items:center;justify-content:center;border-radius:.4em;padding:.2em;font-size:1rem}.f-erp-card-title-content{display:flex;flex-direction:column;gap:.2em;flex:1 0 0}.f-erp-card-title-text{font-size:1rem;font-weight:700;line-height:1.1rem}.f-erp-card-sub-title-text{font-size:.825rem;font-weight:400}.ferp-field--variant-solo-outlined .v-input__control .v-field--variant-solo{border:.1em solid rgb(var(--v-gray-02));box-shadow:none;border-radius:.6em}.f-erp-popup-message-content{display:flex;flex-direction:column;gap:1em;justify-content:center;align-items:center}.f-erp-popup-message-title{font-size:1rem;font-weight:700;text-align:center}.f-erp-popup-message-text{font-weight:400;text-align:center;font-size:.875rem}.f-erp-popup-message--v-severity-normal .f-erp-popup-message-title{color:rgba(var(--v-theme-on-surface),.9)}.f-erp-popup-message--v-severity-info .f-erp-popup-message-title{color:rgba(var(--v-theme-info),1)}.f-erp-popup-message--v-severity-success .f-erp-popup-message-title{color:rgb(var(--v-success-darken-001))}.f-erp-popup-message--v-severity-error .f-erp-popup-message-title{color:rgba(var(--v-theme-error),1)}
|
|
1
|
+
@import"https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&display=swap";:root{--f-erp-width: .390625vw;--f-erp-font-family: "Manrope", sans-serif;--f-erp-font-size: calc(9pt * var(--f-erp-width))}body,*{font-family:var(--f-erp-font-family)!important;font-size:var(--f-erp-font-size)}.f-erp-button{--v-btn-height: 2.6rem}.f-erp-button-loading{gap:.4em;display:flex;align-items:center}:root{--f-erp-max-width-extra-large: 90vw;--f-erp-max-width-large: 75vw;--f-erp-max-width-medium: 50vw;--f-erp-max-width-small: 25vw;--f-erp-max-width-extra-small: 20vw}.f-erp-card-title{display:flex;align-items:center;gap:.6em;padding:.4em .8em}.f-erp-card-title-prepend-icon{display:flex;border:1px solid rgb(var(--v-theme-neutral-18));align-items:center;justify-content:center;border-radius:.4em;padding:.2em;font-size:1rem}.f-erp-card-title-content{display:flex;flex-direction:column;gap:.2em;flex:1 0 0}.f-erp-card-title-text{font-size:1rem;font-weight:700;line-height:1.1rem}.f-erp-card-sub-title-text{font-size:.825rem;font-weight:400}.ferp-field--variant-solo-outlined .v-input__control .v-field--variant-solo{border:.1em solid rgb(var(--v-theme-gray-02));box-shadow:none;border-radius:.6em}.f-erp-popup-message-content{display:flex;flex-direction:column;gap:1em;justify-content:center;align-items:center}.f-erp-popup-message-title{font-size:1rem;font-weight:700;text-align:center}.f-erp-popup-message-text{font-weight:400;text-align:center;font-size:.875rem}.f-erp-popup-message--v-severity-normal .f-erp-popup-message-title{color:rgba(var(--v-theme-on-surface),.9)}.f-erp-popup-message--v-severity-info .f-erp-popup-message-title{color:rgba(var(--v-theme-info),1)}.f-erp-popup-message--v-severity-success .f-erp-popup-message-title{color:rgb(var(--v-theme-success-darken-001))}.f-erp-popup-message--v-severity-error .f-erp-popup-message-title{color:rgba(var(--v-theme-error),1)}
|
|
@@ -31,11 +31,10 @@ type __VLS_Props = {
|
|
|
31
31
|
*/
|
|
32
32
|
disabled?: boolean;
|
|
33
33
|
};
|
|
34
|
-
declare const
|
|
34
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
35
35
|
color: string;
|
|
36
36
|
variant: "text" | "flat" | "elevated" | "outlined" | "plain" | "tonal";
|
|
37
37
|
loading: boolean;
|
|
38
38
|
disabled: boolean;
|
|
39
|
-
}, {}, {}, {}, string, import(
|
|
40
|
-
declare const _default: typeof __VLS_export;
|
|
39
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
41
40
|
export default _default;
|
|
@@ -22,9 +22,8 @@ type __VLS_Props = {
|
|
|
22
22
|
*/
|
|
23
23
|
variant?: "text" | "flat" | "elevated" | "outlined" | "plain" | "tonal";
|
|
24
24
|
};
|
|
25
|
-
declare const
|
|
25
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
26
26
|
variant: "text" | "flat" | "elevated" | "outlined" | "plain" | "tonal";
|
|
27
27
|
density: "default" | "compact" | "comfortable";
|
|
28
|
-
}, {}, {}, {}, string, import(
|
|
29
|
-
declare const _default: typeof __VLS_export;
|
|
28
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
30
29
|
export default _default;
|
|
@@ -10,18 +10,33 @@ type __VLS_Props = {
|
|
|
10
10
|
*/
|
|
11
11
|
title: string;
|
|
12
12
|
/**
|
|
13
|
-
*
|
|
13
|
+
* Tiêu đề phụ (có thể là string hoặc component)
|
|
14
14
|
*/
|
|
15
15
|
subTitle?: DynamicComponent;
|
|
16
16
|
/**
|
|
17
17
|
* Nội dung của card (html, template,...)
|
|
18
18
|
*/
|
|
19
|
-
content
|
|
19
|
+
content?: DynamicComponent;
|
|
20
20
|
/**
|
|
21
21
|
* Biến của content
|
|
22
22
|
*/
|
|
23
23
|
contentProps?: Record<string, any>;
|
|
24
24
|
};
|
|
25
|
-
declare
|
|
26
|
-
|
|
25
|
+
declare function __VLS_template(): {
|
|
26
|
+
attrs: Partial<{}>;
|
|
27
|
+
slots: {
|
|
28
|
+
subTitle?(_: {}): any;
|
|
29
|
+
content?(_: {}): any;
|
|
30
|
+
};
|
|
31
|
+
refs: {};
|
|
32
|
+
rootEl: any;
|
|
33
|
+
};
|
|
34
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
35
|
+
declare const __VLS_component: DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
36
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
27
37
|
export default _default;
|
|
38
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
39
|
+
new (): {
|
|
40
|
+
$slots: S;
|
|
41
|
+
};
|
|
42
|
+
};
|
|
@@ -16,7 +16,7 @@ type __VLS_Props = {
|
|
|
16
16
|
/**
|
|
17
17
|
* Nội dung của dialog (html, template,...)
|
|
18
18
|
*/
|
|
19
|
-
content
|
|
19
|
+
content?: DynamicComponent;
|
|
20
20
|
/**
|
|
21
21
|
* Biến của content
|
|
22
22
|
*/
|
|
@@ -63,11 +63,21 @@ type __VLS_Props = {
|
|
|
63
63
|
*/
|
|
64
64
|
persistent?: boolean;
|
|
65
65
|
};
|
|
66
|
-
declare
|
|
66
|
+
declare function __VLS_template(): {
|
|
67
|
+
attrs: Partial<{}>;
|
|
68
|
+
slots: {
|
|
69
|
+
subTitle?(_: {}): any;
|
|
70
|
+
content?(_: {}): any;
|
|
71
|
+
};
|
|
72
|
+
refs: {};
|
|
73
|
+
rootEl: any;
|
|
74
|
+
};
|
|
75
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
76
|
+
declare const __VLS_component: DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
67
77
|
"update:show": (...args: any[]) => void;
|
|
68
78
|
close: (...args: any[]) => void;
|
|
69
79
|
submit: (...args: any[]) => void;
|
|
70
|
-
}, string, import(
|
|
80
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
71
81
|
"onUpdate:show"?: (...args: any[]) => any;
|
|
72
82
|
onClose?: (...args: any[]) => any;
|
|
73
83
|
onSubmit?: (...args: any[]) => any;
|
|
@@ -81,6 +91,11 @@ declare const __VLS_export: DefineComponent<__VLS_Props, {}, {}, {}, {}, import(
|
|
|
81
91
|
fullscreen: boolean;
|
|
82
92
|
maxwidth: false | "extra-large" | "large" | "medium" | "small" | "extra-small";
|
|
83
93
|
persistent: boolean;
|
|
84
|
-
}, {}, {}, {}, string, import(
|
|
85
|
-
declare const _default: typeof
|
|
94
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
95
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
86
96
|
export default _default;
|
|
97
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
98
|
+
new (): {
|
|
99
|
+
$slots: S;
|
|
100
|
+
};
|
|
101
|
+
};
|
|
@@ -22,14 +22,15 @@ type __VLS_Props = {
|
|
|
22
22
|
*/
|
|
23
23
|
options?: 'message' | 'confrim';
|
|
24
24
|
};
|
|
25
|
-
declare const
|
|
25
|
+
declare const _default: DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
26
26
|
close: (...args: any[]) => void;
|
|
27
27
|
submit: (...args: any[]) => void;
|
|
28
28
|
"update:visible": (...args: any[]) => void;
|
|
29
|
-
}, string, import(
|
|
29
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
30
30
|
onClose?: (...args: any[]) => any;
|
|
31
31
|
onSubmit?: (...args: any[]) => any;
|
|
32
32
|
"onUpdate:visible"?: (...args: any[]) => any;
|
|
33
|
-
}>, {
|
|
34
|
-
|
|
33
|
+
}>, {
|
|
34
|
+
severity: "normal" | "info" | "success" | "warning" | "error";
|
|
35
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
35
36
|
export default _default;
|
|
@@ -53,7 +53,7 @@ type __VLS_Props = {
|
|
|
53
53
|
counter?: string | number | boolean;
|
|
54
54
|
persistentCounter?: boolean;
|
|
55
55
|
};
|
|
56
|
-
declare const
|
|
56
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
57
57
|
variant: "solo" | "filled" | "outlined" | "plain" | "underlined" | "solo-outlined";
|
|
58
58
|
density: "default" | "comfortable" | "compact";
|
|
59
59
|
persistentPlaceholder: boolean;
|
|
@@ -62,6 +62,5 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {
|
|
|
62
62
|
persistentHint: boolean;
|
|
63
63
|
counter: string | number | boolean;
|
|
64
64
|
persistentCounter: boolean;
|
|
65
|
-
}, {}, {}, {}, string, import(
|
|
66
|
-
declare const _default: typeof __VLS_export;
|
|
65
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
67
66
|
export default _default;
|
package/dist/src/index.d.ts
CHANGED
|
@@ -17,11 +17,11 @@ export declare const DarkTheme: {
|
|
|
17
17
|
'on-background': string;
|
|
18
18
|
surface: string;
|
|
19
19
|
'on-surface': string;
|
|
20
|
-
};
|
|
21
|
-
variables: {
|
|
22
20
|
'neutral-18': string;
|
|
23
21
|
'gray-02': string;
|
|
24
22
|
'success-darken-001': string;
|
|
25
23
|
'success-light-001': string;
|
|
24
|
+
border: string;
|
|
25
|
+
'border-opacity': number;
|
|
26
26
|
};
|
|
27
27
|
};
|
package/dist/vite.config.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: import(
|
|
1
|
+
declare const _default: import('vite').UserConfig;
|
|
2
2
|
export default _default;
|
package/package.json
CHANGED
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tkbt-fox-erp-ui-package",
|
|
3
|
-
"
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
"
|
|
7
|
-
"
|
|
8
|
-
"exports": {
|
|
9
|
-
".": {
|
|
10
|
-
"types": "./dist/index.d.ts",
|
|
11
|
-
"import": "./dist/f-erp-ui-package.es.js",
|
|
12
|
-
"require": "./dist/f-erp-ui-package.cjs.js"
|
|
13
|
-
},
|
|
14
|
-
"./style.css": "./dist/style.css",
|
|
15
|
-
"./index.css": "./dist/index.css"
|
|
16
|
-
},
|
|
3
|
+
"private": false,
|
|
4
|
+
"version": "1.0.4",
|
|
5
|
+
"main": "dist/index.umd.js",
|
|
6
|
+
"module": "dist/index.js",
|
|
7
|
+
"types": "dist/index.d.ts",
|
|
17
8
|
"files": [
|
|
18
9
|
"dist"
|
|
19
10
|
],
|
|
11
|
+
"exports": {
|
|
12
|
+
".": {
|
|
13
|
+
"import": "./dist/index.js",
|
|
14
|
+
"require": "./dist/index.umd.js",
|
|
15
|
+
"types": "./dist/index.d.ts"
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
"type": "module",
|
|
20
19
|
"scripts": {
|
|
21
|
-
"build": "
|
|
20
|
+
"build": "vue-tsc -b && vite build",
|
|
21
|
+
"dev": "vite",
|
|
22
|
+
"preview": "vite preview",
|
|
23
|
+
"docs:dev": "docsify serve docs",
|
|
24
|
+
"docs:preview": "docsify serve docs --port 3100"
|
|
22
25
|
},
|
|
23
26
|
"repository": {
|
|
24
27
|
"type": "git",
|
|
25
28
|
"url": "https://git.fpt.net/isc/inside/trien-khai-bao-tri/tkbt-fox-erp-ui-package.git#v1.0.2"
|
|
26
29
|
},
|
|
27
|
-
"
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
"peerDependencies": {
|
|
32
|
-
"vue": "^3.5.25",
|
|
33
|
-
"vuetify": "^3.7.1"
|
|
30
|
+
"dependencies": {
|
|
31
|
+
"@mdi/font": "^7.4.47",
|
|
32
|
+
"vue": "^3.5.24",
|
|
33
|
+
"vuetify": "^3.11.1"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
36
|
"@types/node": "^24.10.1",
|
|
@@ -38,8 +38,8 @@
|
|
|
38
38
|
"sass": "^1.94.2",
|
|
39
39
|
"typescript": "^5.9.3",
|
|
40
40
|
"vite": "^7.2.4",
|
|
41
|
-
"vite-plugin-dts": "^
|
|
42
|
-
"
|
|
43
|
-
"vue-tsc": "^3.1.
|
|
41
|
+
"vite-plugin-dts": "^1.7.3",
|
|
42
|
+
"vite-plugin-vuetify": "^2.1.2",
|
|
43
|
+
"vue-tsc": "^3.1.4"
|
|
44
44
|
}
|
|
45
|
-
}
|
|
45
|
+
}
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
-
declare const _default: typeof __VLS_export;
|
|
3
|
-
export default _default;
|