@prosync_solutions/ui 0.1.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.docx +0 -0
- package/README.md +129 -0
- package/dist/chunks/ProSidebarItem-CNJJi_zd.js +4 -0
- package/dist/chunks/ProSidebarItem-W3KGbpUN.js +1 -0
- package/dist/chunks/ProSpinner.vue_vue_type_script_setup_true_lang-C3WfTGch.js +661 -0
- package/dist/chunks/ProSpinner.vue_vue_type_script_setup_true_lang-g-x6G5qO.js +1 -0
- package/dist/components/ProAvatar/ProAvatar.vue.d.ts +14 -0
- package/dist/components/ProAvatar/index.d.ts +1 -0
- package/dist/components/ProBanner/ProBanner.vue.d.ts +40 -0
- package/dist/components/ProBanner/index.d.ts +1 -0
- package/dist/components/ProBreadcrumbs/ProBreadcrumbs.vue.d.ts +10 -0
- package/dist/components/ProBreadcrumbs/index.d.ts +1 -0
- package/dist/components/ProButton/ProButton.vue.d.ts +32 -0
- package/dist/components/ProButton/index.d.ts +1 -0
- package/dist/components/ProCard/ProCard.vue.d.ts +25 -0
- package/dist/components/ProCard/index.d.ts +1 -0
- package/dist/components/ProDivider/ProDivider.vue.d.ts +20 -0
- package/dist/components/ProDivider/index.d.ts +1 -0
- package/dist/components/ProDrawer/ProDrawer.vue.d.ts +33 -0
- package/dist/components/ProDrawer/index.d.ts +1 -0
- package/dist/components/ProEmpty/ProEmpty.vue.d.ts +25 -0
- package/dist/components/ProEmpty/index.d.ts +1 -0
- package/dist/components/ProFormField/ProFormField.vue.d.ts +19 -0
- package/dist/components/ProFormField/index.d.ts +1 -0
- package/dist/components/ProInput/ProInput.vue.d.ts +31 -0
- package/dist/components/ProInput/index.d.ts +1 -0
- package/dist/components/ProMenu/ProMenu.vue.d.ts +44 -0
- package/dist/components/ProMenu/index.d.ts +1 -0
- package/dist/components/ProModal/ProModal.vue.d.ts +33 -0
- package/dist/components/ProModal/index.d.ts +1 -0
- package/dist/components/ProPageHeader/ProPageHeader.vue.d.ts +26 -0
- package/dist/components/ProPageHeader/index.d.ts +1 -0
- package/dist/components/ProPagination/ProPagination.vue.d.ts +13 -0
- package/dist/components/ProPagination/index.d.ts +1 -0
- package/dist/components/ProSelect/ProSelect.vue.d.ts +22 -0
- package/dist/components/ProSelect/index.d.ts +1 -0
- package/dist/components/ProSidebar/ProSidebar.vue.d.ts +33 -0
- package/dist/components/ProSidebar/index.d.ts +1 -0
- package/dist/components/ProSidebarItem/ProSidebarItem.vue.d.ts +7 -0
- package/dist/components/ProSidebarItem/index.d.ts +1 -0
- package/dist/components/ProSkeleton/ProSkeleton.vue.d.ts +22 -0
- package/dist/components/ProSkeleton/index.d.ts +1 -0
- package/dist/components/ProSpinner/ProSpinner.vue.d.ts +10 -0
- package/dist/components/ProSpinner/index.d.ts +1 -0
- package/dist/components/ProStatisticCard/ProStatisticCard.vue.d.ts +17 -0
- package/dist/components/ProStatisticCard/index.d.ts +1 -0
- package/dist/components/ProStatusBadge/ProStatusBadge.vue.d.ts +6 -0
- package/dist/components/ProStatusBadge/index.d.ts +1 -0
- package/dist/components/ProTable/ProTable.vue.d.ts +19 -0
- package/dist/components/ProTable/index.d.ts +1 -0
- package/dist/components/ProTableCell/ProTableCell.vue.d.ts +16 -0
- package/dist/components/ProTableCell/index.d.ts +1 -0
- package/dist/components/ProTableRow/ProTableRow.vue.d.ts +29 -0
- package/dist/components/ProTableRow/index.d.ts +1 -0
- package/dist/components/ProTabs/ProTabs.vue.d.ts +27 -0
- package/dist/components/ProTabs/index.d.ts +1 -0
- package/dist/components/ProTag/ProTag.vue.d.ts +28 -0
- package/dist/components/ProTag/index.d.ts +1 -0
- package/dist/components/ProTextarea/ProTextarea.vue.d.ts +21 -0
- package/dist/components/ProTextarea/index.d.ts +1 -0
- package/dist/components/ProToast/ProToast.vue.d.ts +18 -0
- package/dist/components/ProToast/index.d.ts +1 -0
- package/dist/components/ProTooltip/ProTooltip.vue.d.ts +21 -0
- package/dist/components/ProTooltip/index.d.ts +1 -0
- package/dist/components/ProTopbar/ProTopbar.vue.d.ts +27 -0
- package/dist/components/ProTopbar/index.d.ts +1 -0
- package/dist/components/index.d.ts +30 -0
- package/dist/components/tier1/index.d.ts +12 -0
- package/dist/index.d.ts +6 -0
- package/dist/prosync-ui-tier1.js +36 -0
- package/dist/prosync-ui-tier1.umd.cjs +1 -0
- package/dist/prosync-ui.js +1034 -0
- package/dist/prosync-ui.umd.cjs +1 -0
- package/dist/tier1.d.ts +17 -0
- package/dist/types/index.d.ts +62 -0
- package/dist/ui.css +1 -0
- package/package.json +75 -0
- package/src/styles/tokens-tier1.css +80 -0
- package/src/styles/tokens.json +673 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const e=require("vue"),d=require("@phosphor-icons/vue"),x=["disabled"],p={key:0,class:"inline-flex items-center mr-2"},y={key:1,class:"inline-flex items-center mr-2"},g={key:2,class:"inline-flex items-center ml-2"},h=e.defineComponent({__name:"ProButton",props:{variant:{default:"primary"},size:{default:"md"},disabled:{type:Boolean,default:!1},loading:{type:Boolean,default:!1}},emits:["click"],setup(t){const l=t,a=e.computed(()=>{const r="rounded-button font-medium transition-all duration-200 focus:outline-none focus:ring-2 focus:ring-offset-1 inline-flex items-center justify-center cursor-pointer",o={sm:"px-3 py-1.5 text-body-sm",md:"px-4 py-2 text-body-sm",lg:"px-6 py-3 text-body"},n={primary:"bg-brand-primary text-text-on-primary hover:bg-brand-primary-strong focus:ring-brand-primary disabled:bg-surface-disabled disabled:text-text-disabled disabled:cursor-not-allowed",secondary:"bg-surface-gray-bg text-text-body hover:bg-surface-gray-bg-strong border border-border-border focus:ring-brand-primary disabled:bg-surface-disabled disabled:text-text-disabled disabled:cursor-not-allowed",plain:"bg-transparent text-text-body hover:bg-surface-gray-bg border border-border-border focus:ring-brand-primary disabled:text-text-disabled disabled:cursor-not-allowed disabled:border-border-border",danger:"bg-surface-error text-text-error hover:opacity-90 border border-border-error focus:ring-brand-primary disabled:bg-surface-disabled disabled:text-text-disabled disabled:cursor-not-allowed",ghost:"bg-transparent text-brand-primary hover:bg-surface-gray-bg focus:ring-brand-primary disabled:text-text-disabled disabled:cursor-not-allowed"};return`${r} ${o[l.size]} ${n[l.variant]}`});return(r,o)=>(e.openBlock(),e.createElementBlock("button",{class:e.normalizeClass(a.value),disabled:t.disabled||t.loading,onClick:o[0]||(o[0]=n=>r.$emit("click",n))},[t.loading?(e.openBlock(),e.createElementBlock("span",p,[...o[1]||(o[1]=[e.createElementVNode("svg",{class:"animate-spin h-4 w-4 text-current",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},[e.createElementVNode("circle",{class:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor","stroke-width":"4"}),e.createElementVNode("path",{class:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})],-1)])])):e.createCommentVNode("",!0),r.$slots.iconLeft&&!t.loading?(e.openBlock(),e.createElementBlock("span",y,[e.renderSlot(r.$slots,"iconLeft")])):e.createCommentVNode("",!0),e.renderSlot(r.$slots,"default"),r.$slots.iconRight?(e.openBlock(),e.createElementBlock("span",g,[e.renderSlot(r.$slots,"iconRight")])):e.createCommentVNode("",!0)],10,x))}}),k={key:0,class:"flex items-center justify-between border-b border-border-border px-6 py-4"},v={key:0,class:"flex items-center space-x-2"},B={key:1,class:"text-body-bold text-text-heading"},C=e.defineComponent({__name:"ProCard",props:{title:{},iconComponent:{},padding:{default:"md"},shadow:{type:Boolean,default:!0}},setup(t){const l=t,a=e.computed(()=>{const o="bg-surface-sub-bg border border-border-border rounded-card flex flex-col",n=l.shadow?"shadow-xs":"";return`${o} ${n}`}),r=e.computed(()=>({none:"",sm:"p-3",md:"p-6",lg:"p-8"})[l.padding]);return(o,n)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(a.value)},[t.title||t.iconComponent||o.$slots.header?(e.openBlock(),e.createElementBlock("div",k,[t.title||t.iconComponent?(e.openBlock(),e.createElementBlock("div",v,[t.iconComponent?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.iconComponent),{key:0,size:24,class:"text-icon-default-soft"})):e.createCommentVNode("",!0),t.title?(e.openBlock(),e.createElementBlock("p",B,e.toDisplayString(t.title),1)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),e.renderSlot(o.$slots,"header")])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(r.value)},[e.renderSlot(o.$slots,"default")],2)],2))}}),w={class:"flex flex-col gap-1.5"},$={key:0,class:"flex items-center gap-1"},V=["for"],z={key:0,class:"text-text-error"},E={key:0,class:"group relative flex items-center"},N={class:"absolute bottom-full left-1/2 -translate-x-1/2 mb-2 px-2 py-1 bg-surface-dark-bg text-text-inverse text-xs rounded opacity-0 group-hover:opacity-100 transition-opacity whitespace-nowrap pointer-events-none z-10"},S={key:1,class:"flex items-center",title:"Extracted by AI"},u=e.defineComponent({__name:"ProFormField",props:{label:{},required:{type:Boolean},infoText:{},isAiExtracted:{type:Boolean},inputId:{}},setup(t){return(l,a)=>(e.openBlock(),e.createElementBlock("div",w,[t.label?(e.openBlock(),e.createElementBlock("div",$,[e.createElementVNode("label",{for:t.inputId,class:"text-caption text-text-body font-medium"},[e.createTextVNode(e.toDisplayString(t.label)+" ",1),t.required?(e.openBlock(),e.createElementBlock("span",z,"*")):e.createCommentVNode("",!0)],8,V),t.infoText?(e.openBlock(),e.createElementBlock("div",E,[e.createVNode(e.unref(d.PhQuestion),{size:14,class:"text-icon-default-soft cursor-help"}),e.createElementVNode("div",N,[e.createTextVNode(e.toDisplayString(t.infoText)+" ",1),a[0]||(a[0]=e.createElementVNode("div",{class:"absolute top-full left-1/2 -translate-x-1/2 border-4 border-transparent border-t-surface-dark-bg"},null,-1))])])):e.createCommentVNode("",!0),t.isAiExtracted?(e.openBlock(),e.createElementBlock("div",S,[e.createVNode(e.unref(d.PhSparkle),{size:14,class:"text-icon-info",weight:"fill"})])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),e.renderSlot(l.$slots,"default")]))}}),P={class:"relative"},q=["id","type","value","placeholder","required"],T={key:0,class:"absolute left-3 top-1/2 -translate-y-1/2 text-icon-default-soft"},D=e.defineComponent({inheritAttrs:!1,__name:"ProInput",props:{modelValue:{default:""},label:{},placeholder:{},type:{default:"text"},required:{type:Boolean,default:!1},infoText:{},isAiExtracted:{type:Boolean,default:!1},id:{}},emits:["update:modelValue"],setup(t){const l=t,a=e.computed(()=>l.id||`input-${Math.random().toString(36).substr(2,9)}`);return(r,o)=>(e.openBlock(),e.createBlock(u,{label:t.label,required:t.required,"info-text":t.infoText,"is-ai-extracted":t.isAiExtracted,"input-id":a.value},{default:e.withCtx(()=>[e.createElementVNode("div",P,[e.createElementVNode("input",e.mergeProps(r.$attrs,{id:a.value,type:t.type,value:t.modelValue,onInput:o[0]||(o[0]=n=>r.$emit("update:modelValue",n.target.value)),placeholder:t.placeholder,required:t.required,class:["w-full px-3 py-1.5 border border-border-border rounded-lg bg-surface-sub-bg text-body text-text-body placeholder:text-text-disabled focus:ring-2 focus:ring-brand-primary focus:border-transparent outline-none transition-all disabled:bg-surface-gray-bg disabled:text-text-disabled disabled:cursor-not-allowed",[{"pl-9":r.$slots.prefix},r.$attrs.readonly!==void 0&&r.$attrs.readonly!==!1&&t.modelValue?"!bg-surface-disabled":""]]}),null,16,q),r.$slots.prefix?(e.openBlock(),e.createElementBlock("div",T,[e.renderSlot(r.$slots,"prefix")])):e.createCommentVNode("",!0)])]),_:3},8,["label","required","info-text","is-ai-extracted","input-id"]))}}),A={class:"relative"},I=["id","value","required"],j={key:0,value:"",disabled:"",selected:""},L=["value"],M={class:"absolute right-3 top-1/2 -translate-y-1/2 pointer-events-none text-icon-default-soft"},O=e.defineComponent({inheritAttrs:!1,__name:"ProSelect",props:{modelValue:{default:""},options:{default:()=>[]},label:{},placeholder:{},required:{type:Boolean,default:!1},infoText:{},isAiExtracted:{type:Boolean,default:!1},id:{}},emits:["update:modelValue"],setup(t){const l=t,a=e.computed(()=>l.id||`select-${Math.random().toString(36).substr(2,9)}`),r=e.computed(()=>l.options.map(o=>typeof o=="string"?{label:o,value:o}:o));return(o,n)=>(e.openBlock(),e.createBlock(u,{label:t.label,required:t.required,"info-text":t.infoText,"is-ai-extracted":t.isAiExtracted,"input-id":a.value},{default:e.withCtx(()=>[e.createElementVNode("div",A,[e.createElementVNode("select",e.mergeProps(o.$attrs,{id:a.value,value:t.modelValue,onChange:n[0]||(n[0]=s=>o.$emit("update:modelValue",s.target.value)),required:t.required,class:["w-full px-3 py-1.5 border border-border-border rounded-lg bg-surface-sub-bg text-body focus:ring-2 focus:ring-brand-primary focus:border-transparent outline-none transition-all appearance-none disabled:bg-surface-gray-bg disabled:text-text-disabled disabled:cursor-not-allowed",[t.modelValue?"text-text-body":"text-text-placeholder"]]}),[t.placeholder?(e.openBlock(),e.createElementBlock("option",j,e.toDisplayString(t.placeholder),1)):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(r.value,s=>(e.openBlock(),e.createElementBlock("option",{key:s.value,value:s.value},e.toDisplayString(s.label),9,L))),128))],16,I),e.createElementVNode("div",M,[e.createVNode(e.unref(d.PhCaretDown),{size:16})])])]),_:1},8,["label","required","info-text","is-ai-extracted","input-id"]))}}),R={class:"whitespace-nowrap"},F=e.defineComponent({__name:"ProTag",props:{variant:{default:"secondary"},label:{default:""},iconLeft:{default:null},iconRight:{default:null}},setup(t){const l=t,a=e.computed(()=>({secondary:"bg-surface-gray-bg border-border-secondary text-text-body",success:"bg-surface-success border-border-success text-text-success",info:"bg-surface-info border-border-info text-text-info",warn:"bg-surface-warn border-border-warn text-text-warn",error:"bg-surface-error border-border-error text-text-error",attention:"bg-surface-attention border-border-attention text-text-attention"})[l.variant]);return(r,o)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["inline-flex items-center justify-center gap-1 border border-solid px-1.5 py-0.5 rounded-[6px] text-tag transition-colors",a.value])},[e.renderSlot(r.$slots,"icon-left",{},()=>[t.iconLeft?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.iconLeft),{key:0,size:12,class:"shrink-0"})):e.createCommentVNode("",!0)]),e.createElementVNode("span",R,[e.renderSlot(r.$slots,"default",{},()=>[e.createTextVNode(e.toDisplayString(t.label),1)])]),e.renderSlot(r.$slots,"icon-right",{},()=>[t.iconRight?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.iconRight),{key:0,size:12,class:"shrink-0"})):e.createCommentVNode("",!0)])],2))}}),X=e.defineComponent({__name:"ProToast",props:{type:{default:"information"},message:{},modelValue:{type:Boolean},autoDismiss:{type:Boolean,default:!0},duration:{default:3e3}},emits:["update:modelValue"],setup(t,{emit:l}){const a=t,r=l;let o=null;const n=e.computed(()=>({information:"border-border-info",success:"border-border-success",warn:"border-border-warn",error:"border-border-error"})[a.type]),s=e.computed(()=>({information:"bg-surface-info",success:"bg-surface-success",warn:"bg-surface-warn",error:"bg-surface-error"})[a.type]),i=e.computed(()=>({information:"text-icon-info",success:"text-icon-success",warn:"text-icon-warn",error:"text-icon-error"})[a.type]),m=e.computed(()=>({information:"text-text-info",success:"text-text-success",warn:"text-text-warn",error:"text-text-error"})[a.type]),b=()=>{o&&(clearTimeout(o),o=null),r("update:modelValue",!1)};return e.watch(()=>a.modelValue,c=>{c&&a.autoDismiss&&(o&&clearTimeout(o),o=setTimeout(()=>{r("update:modelValue",!1),o=null},a.duration))},{immediate:!0}),e.onUnmounted(()=>{o&&clearTimeout(o)}),(c,re)=>(e.openBlock(),e.createBlock(e.Transition,{name:"slide-fade"},{default:e.withCtx(()=>[t.modelValue?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass([n.value,"fixed top-4 right-4 z-[100] w-[320px] backdrop-blur-md bg-white/50 border rounded-xl p-4 flex items-center gap-2.5 shadow-xl"])},[e.createElementVNode("div",{class:e.normalizeClass([s.value,"w-9 h-9 rounded-lg flex items-center justify-center shrink-0"])},[t.type==="information"?(e.openBlock(),e.createBlock(e.unref(d.PhInfo),{key:0,size:20,weight:"regular",class:e.normalizeClass(i.value)},null,8,["class"])):t.type==="success"?(e.openBlock(),e.createBlock(e.unref(d.PhCheckCircle),{key:1,size:20,weight:"light",class:e.normalizeClass(i.value)},null,8,["class"])):t.type==="warn"?(e.openBlock(),e.createBlock(e.unref(d.PhWarning),{key:2,size:20,weight:"light",class:e.normalizeClass(i.value)},null,8,["class"])):t.type==="error"?(e.openBlock(),e.createBlock(e.unref(d.PhX),{key:3,size:20,weight:"light",class:e.normalizeClass(i.value)},null,8,["class"])):e.createCommentVNode("",!0)],2),e.createElementVNode("p",{class:e.normalizeClass([m.value,"flex-1 text-body-sm-bold text-left break-words"])},e.toDisplayString(t.message),3),e.createElementVNode("button",{onClick:b,class:"w-8 h-8 rounded-md flex items-center justify-center shrink-0 hover:bg-black/5 transition-colors","aria-label":"Close notification"},[e.createVNode(e.unref(d.PhX),{size:16,class:"text-icon-default"})])],2)):e.createCommentVNode("",!0)]),_:1}))}}),f=(t,l)=>{const a=t.__vccOpts||t;for(const[r,o]of l)a[r]=o;return a},H=f(X,[["__scopeId","data-v-9b57d7a3"]]),U={key:0,class:"flex items-center justify-between border-b border-border-border px-6 py-4"},Q={class:"text-body-bold text-text-heading"},W={class:"flex-1 overflow-y-auto px-6 py-4"},G={key:1,class:"border-t border-border-border px-6 py-4"},J=e.defineComponent({__name:"ProModal",props:{modelValue:{type:Boolean},title:{default:""},size:{default:"md"},showClose:{type:Boolean,default:!0},closeOnOverlay:{type:Boolean,default:!0}},emits:["update:modelValue"],setup(t,{emit:l}){const a=t,r=l,o={sm:"w-full max-w-sm max-h-[80vh]",md:"w-full max-w-lg max-h-[80vh]",lg:"w-full max-w-2xl max-h-[85vh]",xl:"w-full max-w-4xl max-h-[90vh]",full:"w-[95vw] h-[95vh]"};function n(){r("update:modelValue",!1)}function s(){a.closeOnOverlay&&n()}return(i,m)=>(e.openBlock(),e.createBlock(e.Transition,{name:"modal"},{default:e.withCtx(()=>[t.modelValue?(e.openBlock(),e.createElementBlock("div",{key:0,class:"fixed inset-0 bg-surface-dark-bg/60 flex items-center justify-center z-50",onClick:e.withModifiers(s,["self"])},[e.createVNode(e.Transition,{name:"modal-panel"},{default:e.withCtx(()=>[t.modelValue?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["bg-surface-sub-bg rounded-card shadow-xl relative flex flex-col",o])},[t.title||i.$slots.header||t.showClose?(e.openBlock(),e.createElementBlock("div",U,[e.renderSlot(i.$slots,"header",{},()=>[e.createElementVNode("p",Q,e.toDisplayString(t.title),1)]),t.showClose?(e.openBlock(),e.createElementBlock("button",{key:0,onClick:n,class:"text-icon-default-soft hover:text-icon-default transition-colors p-1 rounded-md hover:bg-surface-gray-bg","aria-label":"Close"},[e.createVNode(e.unref(d.PhX),{size:20})])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),e.createElementVNode("div",W,[e.renderSlot(i.$slots,"default")]),i.$slots.footer?(e.openBlock(),e.createElementBlock("div",G,[e.renderSlot(i.$slots,"footer")])):e.createCommentVNode("",!0)],2)):e.createCommentVNode("",!0)]),_:3})])):e.createCommentVNode("",!0)]),_:3}))}}),K=["id","value","placeholder","required","rows"],Y=e.defineComponent({inheritAttrs:!1,__name:"ProTextarea",props:{modelValue:{default:""},label:{},placeholder:{},required:{type:Boolean,default:!1},infoText:{},isAiExtracted:{type:Boolean,default:!1},id:{},rows:{default:4}},emits:["update:modelValue"],setup(t){const l=t,a=e.computed(()=>l.id||`textarea-${Math.random().toString(36).substr(2,9)}`);return(r,o)=>(e.openBlock(),e.createBlock(u,{label:t.label,required:t.required,"info-text":t.infoText,"is-ai-extracted":t.isAiExtracted,"input-id":a.value},{default:e.withCtx(()=>[e.createElementVNode("textarea",e.mergeProps(r.$attrs,{id:a.value,value:t.modelValue,onInput:o[0]||(o[0]=n=>r.$emit("update:modelValue",n.target.value)),placeholder:t.placeholder,required:t.required,rows:t.rows,class:["w-full px-3 py-2 border border-border-border rounded-lg bg-surface-sub-bg text-body text-text-body placeholder:text-text-disabled focus:ring-2 focus:ring-brand-primary focus:border-transparent outline-none transition-all resize-y disabled:bg-surface-gray-bg disabled:text-text-disabled disabled:cursor-not-allowed",[r.$attrs.readonly!==void 0&&r.$attrs.readonly!==!1&&t.modelValue?"!bg-surface-disabled":""]]}),null,16,K)]),_:1},8,["label","required","info-text","is-ai-extracted","input-id"]))}}),Z=["src","alt"],_=e.defineComponent({__name:"ProAvatar",props:{src:{default:""},alt:{default:"Avatar"},name:{default:""},size:{default:"md"}},setup(t){const l=t,a=e.computed(()=>l.name?l.name.split(" ").map(s=>s.charAt(0)).join("").toUpperCase().slice(0,2):"?"),r=e.computed(()=>({xs:"w-6 h-6",sm:"w-8 h-8",md:"w-10 h-10",lg:"w-12 h-12",xl:"w-16 h-16"})[l.size]),o=e.computed(()=>({xs:"text-[10px]",sm:"text-caption",md:"text-body-sm",lg:"text-body",xl:"text-h3"})[l.size]),n=e.computed(()=>l.src?"bg-surface-gray-bg":"bg-brand-primary");return(s,i)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["rounded-full overflow-hidden inline-flex items-center justify-center shrink-0 border border-border-border",r.value,n.value])},[t.src?(e.openBlock(),e.createElementBlock("img",{key:0,src:t.src,alt:t.alt,class:"w-full h-full object-cover"},null,8,Z)):(e.openBlock(),e.createElementBlock("span",{key:1,class:e.normalizeClass(["font-semibold text-text-on-primary",o.value])},e.toDisplayString(a.value),3))],2))}}),ee=e.defineComponent({__name:"ProDivider",props:{direction:{default:"horizontal"},text:{default:""}},setup(t){return(l,a)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass([t.direction==="horizontal"?"flex items-center w-full my-4":"inline-flex flex-col items-center h-full mx-4"]),role:"separator"},[e.createElementVNode("div",{class:e.normalizeClass(["bg-border-border",t.direction==="horizontal"?"flex-1 h-px":"flex-1 w-px"])},null,2),l.$slots.default||t.text?(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass(["text-caption text-text-disabled",t.direction==="horizontal"?"px-3":"py-2"])},[e.renderSlot(l.$slots,"default",{},()=>[e.createTextVNode(e.toDisplayString(t.text),1)])],2)):e.createCommentVNode("",!0),l.$slots.default||t.text?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(["bg-border-border",t.direction==="horizontal"?"flex-1 h-px":"flex-1 w-px"])},null,2)):e.createCommentVNode("",!0)],2))}}),te={key:0,class:"ml-2 text-body-sm text-text-subtitle"},oe=e.defineComponent({__name:"ProSpinner",props:{size:{default:"md"},text:{default:""}},setup(t){const l=t,a=e.computed(()=>({sm:"",md:"",lg:""})[l.size]),r=e.computed(()=>({sm:"h-4 w-4",md:"h-6 w-6",lg:"h-8 w-8"})[l.size]);return(o,n)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["inline-flex items-center justify-center",a.value]),role:"status","aria-label":"Loading"},[(e.openBlock(),e.createElementBlock("svg",{class:e.normalizeClass(["animate-spin text-brand-primary",r.value]),xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},[...n[0]||(n[0]=[e.createElementVNode("circle",{class:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor","stroke-width":"4"},null,-1),e.createElementVNode("path",{class:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"},null,-1)])],2)),t.text?(e.openBlock(),e.createElementBlock("span",te,e.toDisplayString(t.text),1)):e.createCommentVNode("",!0)],2))}});exports.ProToast=H;exports._export_sfc=f;exports._sfc_main=h;exports._sfc_main$1=F;exports._sfc_main$10=Y;exports._sfc_main$2=_;exports._sfc_main$3=C;exports._sfc_main$4=ee;exports._sfc_main$5=u;exports._sfc_main$6=D;exports._sfc_main$7=J;exports._sfc_main$8=O;exports._sfc_main$9=oe;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { AvatarSize } from '../../types';
|
|
2
|
+
interface Props {
|
|
3
|
+
src?: string;
|
|
4
|
+
alt?: string;
|
|
5
|
+
name?: string;
|
|
6
|
+
size?: AvatarSize;
|
|
7
|
+
}
|
|
8
|
+
declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
9
|
+
size: AvatarSize;
|
|
10
|
+
name: string;
|
|
11
|
+
src: string;
|
|
12
|
+
alt: string;
|
|
13
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
14
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as ProAvatar } from './ProAvatar.vue';
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import type { BannerVariant } from '../../types';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
variant?: BannerVariant;
|
|
4
|
+
title?: string;
|
|
5
|
+
subtitle?: string;
|
|
6
|
+
showAction?: boolean;
|
|
7
|
+
actionLabel?: string;
|
|
8
|
+
showClose?: boolean;
|
|
9
|
+
};
|
|
10
|
+
declare var __VLS_1: {}, __VLS_7: {}, __VLS_9: {}, __VLS_11: {};
|
|
11
|
+
type __VLS_Slots = {} & {
|
|
12
|
+
icon?: (props: typeof __VLS_1) => any;
|
|
13
|
+
} & {
|
|
14
|
+
title?: (props: typeof __VLS_7) => any;
|
|
15
|
+
} & {
|
|
16
|
+
default?: (props: typeof __VLS_9) => any;
|
|
17
|
+
} & {
|
|
18
|
+
action?: (props: typeof __VLS_11) => any;
|
|
19
|
+
};
|
|
20
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
21
|
+
close: () => any;
|
|
22
|
+
action: () => any;
|
|
23
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
24
|
+
onClose?: (() => any) | undefined;
|
|
25
|
+
onAction?: (() => any) | undefined;
|
|
26
|
+
}>, {
|
|
27
|
+
variant: BannerVariant;
|
|
28
|
+
title: string;
|
|
29
|
+
subtitle: string;
|
|
30
|
+
showAction: boolean;
|
|
31
|
+
actionLabel: string;
|
|
32
|
+
showClose: boolean;
|
|
33
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
34
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
35
|
+
export default _default;
|
|
36
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
37
|
+
new (): {
|
|
38
|
+
$slots: S;
|
|
39
|
+
};
|
|
40
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as ProBanner } from './ProBanner.vue';
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { BreadcrumbItem } from '../../types';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
items: BreadcrumbItem[];
|
|
4
|
+
};
|
|
5
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
6
|
+
back: () => any;
|
|
7
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
8
|
+
onBack?: (() => any) | undefined;
|
|
9
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
10
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as ProBreadcrumbs } from './ProBreadcrumbs.vue';
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import type { ButtonVariant, ButtonSize } from '../../types';
|
|
2
|
+
interface Props {
|
|
3
|
+
variant?: ButtonVariant;
|
|
4
|
+
size?: ButtonSize;
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
loading?: boolean;
|
|
7
|
+
}
|
|
8
|
+
declare var __VLS_1: {}, __VLS_3: {}, __VLS_5: {};
|
|
9
|
+
type __VLS_Slots = {} & {
|
|
10
|
+
iconLeft?: (props: typeof __VLS_1) => any;
|
|
11
|
+
} & {
|
|
12
|
+
default?: (props: typeof __VLS_3) => any;
|
|
13
|
+
} & {
|
|
14
|
+
iconRight?: (props: typeof __VLS_5) => any;
|
|
15
|
+
};
|
|
16
|
+
declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
17
|
+
click: (event: MouseEvent) => any;
|
|
18
|
+
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
19
|
+
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
20
|
+
}>, {
|
|
21
|
+
variant: ButtonVariant;
|
|
22
|
+
size: ButtonSize;
|
|
23
|
+
disabled: boolean;
|
|
24
|
+
loading: boolean;
|
|
25
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
26
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
27
|
+
export default _default;
|
|
28
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
29
|
+
new (): {
|
|
30
|
+
$slots: S;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as ProButton } from './ProButton.vue';
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import type { Component } from 'vue';
|
|
2
|
+
import type { PaddingSize } from '../../types';
|
|
3
|
+
interface Props {
|
|
4
|
+
title?: string;
|
|
5
|
+
iconComponent?: Component;
|
|
6
|
+
padding?: PaddingSize;
|
|
7
|
+
shadow?: boolean;
|
|
8
|
+
}
|
|
9
|
+
declare var __VLS_5: {}, __VLS_7: {};
|
|
10
|
+
type __VLS_Slots = {} & {
|
|
11
|
+
header?: (props: typeof __VLS_5) => any;
|
|
12
|
+
} & {
|
|
13
|
+
default?: (props: typeof __VLS_7) => any;
|
|
14
|
+
};
|
|
15
|
+
declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
16
|
+
padding: PaddingSize;
|
|
17
|
+
shadow: boolean;
|
|
18
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
19
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
20
|
+
export default _default;
|
|
21
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
22
|
+
new (): {
|
|
23
|
+
$slots: S;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as ProCard } from './ProCard.vue';
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { DividerDirection } from '../../types';
|
|
2
|
+
interface Props {
|
|
3
|
+
direction?: DividerDirection;
|
|
4
|
+
text?: string;
|
|
5
|
+
}
|
|
6
|
+
declare var __VLS_1: {};
|
|
7
|
+
type __VLS_Slots = {} & {
|
|
8
|
+
default?: (props: typeof __VLS_1) => any;
|
|
9
|
+
};
|
|
10
|
+
declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
11
|
+
text: string;
|
|
12
|
+
direction: DividerDirection;
|
|
13
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
14
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
15
|
+
export default _default;
|
|
16
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
17
|
+
new (): {
|
|
18
|
+
$slots: S;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as ProDivider } from './ProDivider.vue';
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import type { OverlaySize, DrawerPlacement } from '../../types';
|
|
2
|
+
interface Props {
|
|
3
|
+
modelValue: boolean;
|
|
4
|
+
title?: string;
|
|
5
|
+
placement?: DrawerPlacement;
|
|
6
|
+
size?: OverlaySize;
|
|
7
|
+
closeOnOverlay?: boolean;
|
|
8
|
+
}
|
|
9
|
+
declare var __VLS_9: {}, __VLS_15: {}, __VLS_17: {};
|
|
10
|
+
type __VLS_Slots = {} & {
|
|
11
|
+
header?: (props: typeof __VLS_9) => any;
|
|
12
|
+
} & {
|
|
13
|
+
default?: (props: typeof __VLS_15) => any;
|
|
14
|
+
} & {
|
|
15
|
+
footer?: (props: typeof __VLS_17) => any;
|
|
16
|
+
};
|
|
17
|
+
declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
18
|
+
"update:modelValue": (value: boolean) => any;
|
|
19
|
+
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
20
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
21
|
+
}>, {
|
|
22
|
+
size: OverlaySize;
|
|
23
|
+
title: string;
|
|
24
|
+
closeOnOverlay: boolean;
|
|
25
|
+
placement: DrawerPlacement;
|
|
26
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
27
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
28
|
+
export default _default;
|
|
29
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
30
|
+
new (): {
|
|
31
|
+
$slots: S;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as ProDrawer } from './ProDrawer.vue';
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
interface Props {
|
|
2
|
+
title?: string;
|
|
3
|
+
description?: string;
|
|
4
|
+
}
|
|
5
|
+
declare var __VLS_1: {}, __VLS_7: {}, __VLS_9: {}, __VLS_11: {};
|
|
6
|
+
type __VLS_Slots = {} & {
|
|
7
|
+
icon?: (props: typeof __VLS_1) => any;
|
|
8
|
+
} & {
|
|
9
|
+
title?: (props: typeof __VLS_7) => any;
|
|
10
|
+
} & {
|
|
11
|
+
description?: (props: typeof __VLS_9) => any;
|
|
12
|
+
} & {
|
|
13
|
+
action?: (props: typeof __VLS_11) => any;
|
|
14
|
+
};
|
|
15
|
+
declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
16
|
+
title: string;
|
|
17
|
+
description: string;
|
|
18
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
19
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
20
|
+
export default _default;
|
|
21
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
22
|
+
new (): {
|
|
23
|
+
$slots: S;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as ProEmpty } from './ProEmpty.vue';
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
interface Props {
|
|
2
|
+
label?: string;
|
|
3
|
+
required?: boolean;
|
|
4
|
+
infoText?: string;
|
|
5
|
+
isAiExtracted?: boolean;
|
|
6
|
+
inputId?: string;
|
|
7
|
+
}
|
|
8
|
+
declare var __VLS_9: {};
|
|
9
|
+
type __VLS_Slots = {} & {
|
|
10
|
+
default?: (props: typeof __VLS_9) => any;
|
|
11
|
+
};
|
|
12
|
+
declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
13
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
14
|
+
export default _default;
|
|
15
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
16
|
+
new (): {
|
|
17
|
+
$slots: S;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as ProFormField } from './ProFormField.vue';
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
interface Props {
|
|
2
|
+
modelValue: string | number;
|
|
3
|
+
label?: string;
|
|
4
|
+
placeholder?: string;
|
|
5
|
+
type?: string;
|
|
6
|
+
required?: boolean;
|
|
7
|
+
infoText?: string;
|
|
8
|
+
isAiExtracted?: boolean;
|
|
9
|
+
id?: string;
|
|
10
|
+
}
|
|
11
|
+
declare var __VLS_5: {};
|
|
12
|
+
type __VLS_Slots = {} & {
|
|
13
|
+
prefix?: (props: typeof __VLS_5) => any;
|
|
14
|
+
};
|
|
15
|
+
declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
16
|
+
"update:modelValue": (...args: any[]) => void;
|
|
17
|
+
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
18
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
19
|
+
}>, {
|
|
20
|
+
type: string;
|
|
21
|
+
required: boolean;
|
|
22
|
+
isAiExtracted: boolean;
|
|
23
|
+
modelValue: string | number;
|
|
24
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
25
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
26
|
+
export default _default;
|
|
27
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
28
|
+
new (): {
|
|
29
|
+
$slots: S;
|
|
30
|
+
};
|
|
31
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as ProInput } from './ProInput.vue';
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
declare function closeMenu(): void;
|
|
2
|
+
declare var __VLS_1: {
|
|
3
|
+
isOpen: boolean;
|
|
4
|
+
}, __VLS_7: {
|
|
5
|
+
close: typeof closeMenu;
|
|
6
|
+
};
|
|
7
|
+
type __VLS_Slots = {} & {
|
|
8
|
+
trigger?: (props: typeof __VLS_1) => any;
|
|
9
|
+
} & {
|
|
10
|
+
items?: (props: typeof __VLS_7) => any;
|
|
11
|
+
};
|
|
12
|
+
declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
13
|
+
align: {
|
|
14
|
+
type: StringConstructor;
|
|
15
|
+
default: string;
|
|
16
|
+
validator: (value: string) => boolean;
|
|
17
|
+
};
|
|
18
|
+
width: {
|
|
19
|
+
type: StringConstructor;
|
|
20
|
+
default: string;
|
|
21
|
+
};
|
|
22
|
+
}>, {
|
|
23
|
+
close: typeof closeMenu;
|
|
24
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
25
|
+
align: {
|
|
26
|
+
type: StringConstructor;
|
|
27
|
+
default: string;
|
|
28
|
+
validator: (value: string) => boolean;
|
|
29
|
+
};
|
|
30
|
+
width: {
|
|
31
|
+
type: StringConstructor;
|
|
32
|
+
default: string;
|
|
33
|
+
};
|
|
34
|
+
}>> & Readonly<{}>, {
|
|
35
|
+
align: string;
|
|
36
|
+
width: string;
|
|
37
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
38
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
39
|
+
export default _default;
|
|
40
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
41
|
+
new (): {
|
|
42
|
+
$slots: S;
|
|
43
|
+
};
|
|
44
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as ProMenu } from './ProMenu.vue';
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import type { OverlaySize } from '../../types';
|
|
2
|
+
interface Props {
|
|
3
|
+
modelValue: boolean;
|
|
4
|
+
title?: string;
|
|
5
|
+
size?: OverlaySize;
|
|
6
|
+
showClose?: boolean;
|
|
7
|
+
closeOnOverlay?: boolean;
|
|
8
|
+
}
|
|
9
|
+
declare var __VLS_9: {}, __VLS_15: {}, __VLS_17: {};
|
|
10
|
+
type __VLS_Slots = {} & {
|
|
11
|
+
header?: (props: typeof __VLS_9) => any;
|
|
12
|
+
} & {
|
|
13
|
+
default?: (props: typeof __VLS_15) => any;
|
|
14
|
+
} & {
|
|
15
|
+
footer?: (props: typeof __VLS_17) => any;
|
|
16
|
+
};
|
|
17
|
+
declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
18
|
+
"update:modelValue": (value: boolean) => any;
|
|
19
|
+
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
20
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
21
|
+
}>, {
|
|
22
|
+
size: OverlaySize;
|
|
23
|
+
title: string;
|
|
24
|
+
showClose: boolean;
|
|
25
|
+
closeOnOverlay: boolean;
|
|
26
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
27
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
28
|
+
export default _default;
|
|
29
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
30
|
+
new (): {
|
|
31
|
+
$slots: S;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as ProModal } from './ProModal.vue';
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type { BreadcrumbItem } from '../../types';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
title: string;
|
|
4
|
+
subtitle?: string;
|
|
5
|
+
actionText?: string;
|
|
6
|
+
showPlusIcon?: boolean;
|
|
7
|
+
breadcrumbs?: BreadcrumbItem[];
|
|
8
|
+
};
|
|
9
|
+
declare var __VLS_4: {}, __VLS_6: {};
|
|
10
|
+
type __VLS_Slots = {} & {
|
|
11
|
+
'title-suffix'?: (props: typeof __VLS_4) => any;
|
|
12
|
+
} & {
|
|
13
|
+
actions?: (props: typeof __VLS_6) => any;
|
|
14
|
+
};
|
|
15
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
16
|
+
action: () => any;
|
|
17
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
18
|
+
onAction?: (() => any) | undefined;
|
|
19
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
20
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
21
|
+
export default _default;
|
|
22
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
23
|
+
new (): {
|
|
24
|
+
$slots: S;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as ProPageHeader } from './ProPageHeader.vue';
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
interface Props {
|
|
2
|
+
modelValue: number;
|
|
3
|
+
totalPages: number;
|
|
4
|
+
maxVisible?: number;
|
|
5
|
+
}
|
|
6
|
+
declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
7
|
+
"update:modelValue": (page: number) => any;
|
|
8
|
+
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
9
|
+
"onUpdate:modelValue"?: ((page: number) => any) | undefined;
|
|
10
|
+
}>, {
|
|
11
|
+
maxVisible: number;
|
|
12
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
13
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as ProPagination } from './ProPagination.vue';
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type { SelectOption } from '../../types';
|
|
2
|
+
interface Props {
|
|
3
|
+
modelValue: string | number;
|
|
4
|
+
options: (string | SelectOption)[];
|
|
5
|
+
label?: string;
|
|
6
|
+
placeholder?: string;
|
|
7
|
+
required?: boolean;
|
|
8
|
+
infoText?: string;
|
|
9
|
+
isAiExtracted?: boolean;
|
|
10
|
+
id?: string;
|
|
11
|
+
}
|
|
12
|
+
declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
13
|
+
"update:modelValue": (...args: any[]) => void;
|
|
14
|
+
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
15
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
16
|
+
}>, {
|
|
17
|
+
required: boolean;
|
|
18
|
+
isAiExtracted: boolean;
|
|
19
|
+
modelValue: string | number;
|
|
20
|
+
options: (string | SelectOption)[];
|
|
21
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
22
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as ProSelect } from './ProSelect.vue';
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import type { NavItem } from '../../types';
|
|
2
|
+
interface Props {
|
|
3
|
+
navItems: NavItem[];
|
|
4
|
+
defaultExpanded?: boolean;
|
|
5
|
+
persistState?: boolean;
|
|
6
|
+
storageKey?: string;
|
|
7
|
+
}
|
|
8
|
+
declare var __VLS_1: {
|
|
9
|
+
isExpanded: boolean;
|
|
10
|
+
}, __VLS_14: {
|
|
11
|
+
isExpanded: boolean;
|
|
12
|
+
};
|
|
13
|
+
type __VLS_Slots = {} & {
|
|
14
|
+
logo?: (props: typeof __VLS_1) => any;
|
|
15
|
+
} & {
|
|
16
|
+
footer?: (props: typeof __VLS_14) => any;
|
|
17
|
+
};
|
|
18
|
+
declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
19
|
+
"update:expanded": (value: boolean) => any;
|
|
20
|
+
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
21
|
+
"onUpdate:expanded"?: ((value: boolean) => any) | undefined;
|
|
22
|
+
}>, {
|
|
23
|
+
defaultExpanded: boolean;
|
|
24
|
+
persistState: boolean;
|
|
25
|
+
storageKey: string;
|
|
26
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
27
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
28
|
+
export default _default;
|
|
29
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
30
|
+
new (): {
|
|
31
|
+
$slots: S;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as ProSidebar } from './ProSidebar.vue';
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { NavItem } from '../../types';
|
|
2
|
+
interface Props {
|
|
3
|
+
item: NavItem;
|
|
4
|
+
isExpanded: boolean;
|
|
5
|
+
}
|
|
6
|
+
declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
7
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as ProSidebarItem } from './ProSidebarItem.vue';
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type { SkeletonShape } from '../../types';
|
|
2
|
+
interface Props {
|
|
3
|
+
shape?: SkeletonShape;
|
|
4
|
+
width?: string;
|
|
5
|
+
height?: string;
|
|
6
|
+
}
|
|
7
|
+
declare var __VLS_1: {};
|
|
8
|
+
type __VLS_Slots = {} & {
|
|
9
|
+
default?: (props: typeof __VLS_1) => any;
|
|
10
|
+
};
|
|
11
|
+
declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
12
|
+
width: string;
|
|
13
|
+
height: string;
|
|
14
|
+
shape: SkeletonShape;
|
|
15
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
16
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
17
|
+
export default _default;
|
|
18
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
19
|
+
new (): {
|
|
20
|
+
$slots: S;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as ProSkeleton } from './ProSkeleton.vue';
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { ButtonSize } from '../../types';
|
|
2
|
+
interface Props {
|
|
3
|
+
size?: ButtonSize;
|
|
4
|
+
text?: string;
|
|
5
|
+
}
|
|
6
|
+
declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
7
|
+
text: string;
|
|
8
|
+
size: ButtonSize;
|
|
9
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
10
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as ProSpinner } from './ProSpinner.vue';
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { Component } from 'vue';
|
|
2
|
+
import type { TrendData } from '../../types';
|
|
3
|
+
interface Props {
|
|
4
|
+
label: string;
|
|
5
|
+
value: string | number;
|
|
6
|
+
subtitle: string;
|
|
7
|
+
subtitleValue?: string;
|
|
8
|
+
icon: Component;
|
|
9
|
+
iconBg?: string;
|
|
10
|
+
trend?: TrendData;
|
|
11
|
+
}
|
|
12
|
+
declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
13
|
+
subtitleValue: string;
|
|
14
|
+
iconBg: string;
|
|
15
|
+
trend: TrendData;
|
|
16
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
17
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as ProStatisticCard } from './ProStatisticCard.vue';
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
interface Props {
|
|
2
|
+
status: string;
|
|
3
|
+
dueDate?: string;
|
|
4
|
+
}
|
|
5
|
+
declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
6
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as ProStatusBadge } from './ProStatusBadge.vue';
|