sunyard-szyy-ui 0.5.0 → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.full.js +1 -1
- package/dist/index.full.mjs +1 -1
- package/es/hooks/dist/index.mjs +1 -1
- package/es/index.mjs +1 -1
- package/es/make-installer.mjs +1 -1
- package/es/utils/dist/index.mjs +1 -1
- package/es/version.d.ts +1 -1
- package/es/version.mjs +2 -2
- package/lib/hooks/dist/index.js +1 -1
- package/lib/index.js +1 -1
- package/lib/make-installer.js +1 -1
- package/lib/utils/dist/index.js +1 -1
- package/lib/version.d.ts +1 -1
- package/lib/version.js +2 -2
- package/package.json +4 -4
- package/theme-chalk/alert.css +1 -0
- package/theme-chalk/backtop.css +1 -0
- package/theme-chalk/base.css +1 -0
- package/theme-chalk/button.css +1 -0
- package/theme-chalk/card.css +1 -0
- package/theme-chalk/cascader.css +1 -0
- package/theme-chalk/checkbox.css +1 -0
- package/theme-chalk/collapse.css +1 -0
- package/theme-chalk/container.css +1 -0
- package/theme-chalk/date-picker.css +1 -0
- package/theme-chalk/date-time-picker.css +1 -0
- package/theme-chalk/descriptions.css +1 -0
- package/theme-chalk/dialog.css +1 -0
- package/theme-chalk/divider.css +1 -0
- package/theme-chalk/drawer.css +1 -0
- package/theme-chalk/dropdown.css +1 -0
- package/theme-chalk/empty.css +1 -0
- package/theme-chalk/form.css +1 -0
- package/theme-chalk/image.css +1 -0
- package/theme-chalk/index.css +1 -0
- package/theme-chalk/input-number.css +1 -0
- package/theme-chalk/input.css +1 -0
- package/theme-chalk/layout.css +1 -0
- package/theme-chalk/link.css +1 -0
- package/theme-chalk/loading.css +1 -0
- package/theme-chalk/menu.css +1 -0
- package/theme-chalk/message-box.css +1 -0
- package/theme-chalk/message.css +1 -0
- package/theme-chalk/notification.css +1 -0
- package/theme-chalk/pagination.css +1 -0
- package/theme-chalk/popconfirm.css +1 -0
- package/theme-chalk/popover.css +1 -0
- package/theme-chalk/progress.css +1 -0
- package/theme-chalk/radio.css +1 -0
- package/theme-chalk/scrollbar.css +1 -0
- package/theme-chalk/search-bar.css +1 -0
- package/theme-chalk/select.css +1 -0
- package/theme-chalk/skeleton.css +1 -0
- package/theme-chalk/space.css +1 -0
- package/theme-chalk/src/var.scss +22 -0
- package/theme-chalk/steps.css +1 -0
- package/theme-chalk/switch.css +1 -0
- package/theme-chalk/table.css +1 -0
- package/theme-chalk/tabs.css +1 -0
- package/theme-chalk/tag.css +1 -0
- package/theme-chalk/text.css +1 -0
- package/theme-chalk/time-picker.css +1 -0
- package/theme-chalk/time-select.css +1 -0
- package/theme-chalk/tooltip.css +1 -0
- package/theme-chalk/tree.css +1 -0
- package/theme-chalk/upload.css +1 -0
- package/theme-chalk/var.scss +22 -0
package/dist/index.full.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
(function(i,t){typeof exports=="object"&&typeof module!="undefined"?t(exports,require("vue"),require("@sunyard-szyy-ui/hooks"),require("@sunyard-szyy-ui/utils"),require("@sunyard-szyy-ui/adapter")):typeof define=="function"&&define.amd?define(["exports","vue","@sunyard-szyy-ui/hooks","@sunyard-szyy-ui/utils","@sunyard-szyy-ui/adapter"],t):(i=typeof globalThis!="undefined"?globalThis:i||self,t(i.SunyardSzyyUI={},i.Vue,i.hooks,i.utils,i.adapter))})(this,function(i,t,p,f,c){"use strict";var Ce=Object.defineProperty,ge=Object.defineProperties;var be=Object.getOwnPropertyDescriptors;var G=Object.getOwnPropertySymbols;var we=Object.prototype.hasOwnProperty,Ie=Object.prototype.propertyIsEnumerable;var E=(i,t,p)=>t in i?Ce(i,t,{enumerable:!0,configurable:!0,writable:!0,value:p}):i[t]=p,A=(i,t)=>{for(var p in t||(t={}))we.call(t,p)&&E(i,p,t[p]);if(G)for(var p of G(t))Ie.call(t,p)&&E(i,p,t[p]);return i},C=(i,t)=>ge(i,be(t));/*!
|
|
2
|
-
* sunyard-szyy-ui v0.
|
|
2
|
+
* sunyard-szyy-ui v0.6.0
|
|
3
3
|
* (c) 2026 Sunyard SZYY Base Team
|
|
4
4
|
*/const K=t.defineComponent({name:"SyAlert",inheritAttrs:!1,setup(){const n=p.useNamespace("alert"),o=t.useAttrs(),r=t.useSlots();return()=>t.h(c.AdapterAlert,t.mergeProps({class:n.b()},o),r)}}),H=f.withInstall(K),j=t.defineComponent({name:"SyBacktop",inheritAttrs:!1,setup(){const n=p.useNamespace("backtop"),o=t.useAttrs(),r=t.useSlots();return()=>t.h(c.AdapterBacktop,t.mergeProps({class:n.b()},o),r)}}),U=f.withInstall(j),q=t.defineComponent({name:"SyButton",inheritAttrs:!1,setup(n,{expose:o}){const r=p.useNamespace("button"),S=t.useAttrs(),m=t.useSlots(),a=t.ref();return o({focus:()=>{var e,s;return(s=(e=a.value)==null?void 0:e.focus)==null?void 0:s.call(e)},blur:()=>{var e,s;return(s=(e=a.value)==null?void 0:e.blur)==null?void 0:s.call(e)}}),()=>t.h(c.AdapterButton,t.mergeProps({ref:a,class:r.b()},S),m)}}),L=f.withInstall(q),Y=t.defineComponent({name:"SyCard",inheritAttrs:!1,setup(){const n=p.useNamespace("card"),o=t.useAttrs(),r=t.useSlots();return()=>t.h(c.AdapterCard,t.mergeProps({class:n.b()},o),r)}}),x=f.withInstall(Y),J=t.defineComponent({name:"SyCascader",inheritAttrs:!1,setup(){const n=p.useNamespace("cascader"),o=t.useAttrs(),r=t.useSlots();return()=>t.h(c.AdapterCascader,t.mergeProps({class:n.b()},o),r)}}),Q=f.withInstall(J),W=t.defineComponent({name:"SyCheckbox",inheritAttrs:!1,setup(){const n=p.useNamespace("checkbox"),o=t.useAttrs(),r=t.useSlots();return()=>t.h(c.AdapterCheckbox,t.mergeProps({class:n.b()},o),r)}}),X=t.defineComponent({name:"SyCheckboxGroup",inheritAttrs:!1,setup(){const n=p.useNamespace("checkbox-group"),o=t.useAttrs(),r=t.useSlots();return()=>t.h(c.AdapterCheckboxGroup,t.mergeProps({class:n.b()},o),r)}}),Z=f.withInstall(W),v=f.withInstall(X),tt=t.defineComponent({name:"SyCheckboxButton",inheritAttrs:!1,setup(){const n=p.useNamespace("checkbox-button"),o=t.useAttrs(),r=t.useSlots();return()=>t.h(c.AdapterCheckboxButton,t.mergeProps({class:n.b()},o),r)}}),st=f.withInstall(tt),et=t.defineComponent({name:"SyCollapse",inheritAttrs:!1,setup(){const n=p.useNamespace("collapse"),o=t.useAttrs(),r=t.useSlots();return()=>t.h(c.AdapterCollapse,t.mergeProps({class:n.b()},o),r)}}),nt=t.defineComponent({name:"SyCollapseItem",inheritAttrs:!1,setup(){const n=p.useNamespace("collapse-item"),o=t.useAttrs(),r=t.useSlots();return()=>t.h(c.AdapterCollapseItem,t.mergeProps({class:n.b()},o),r)}}),ot=f.withInstall(et),rt=f.withInstall(nt),at=new Set(["SyHeader","SyFooter","ElHeader","ElFooter"]);function lt(n){return n.some(o=>{var S;const r=(S=o.type)==null?void 0:S.name;return!!r&&at.has(r)})}const ct=t.defineComponent({name:"SyContainer",inheritAttrs:!1,setup(){const n=p.useNamespace("container"),o=t.useAttrs(),r=t.useSlots();return()=>{const S={class:n.b()};if(!("direction"in o)&&r.default){const m=r.default();lt(m)&&(S.direction="vertical")}return t.h(c.AdapterContainer,t.mergeProps(S,o),r)}}}),it=t.defineComponent({name:"SyHeader",inheritAttrs:!1,setup(){const n=p.useNamespace("header"),o=t.useAttrs(),r=t.useSlots();return()=>t.h(c.AdapterHeader,t.mergeProps({class:n.b()},o),r)}}),pt=t.defineComponent({name:"SyAside",inheritAttrs:!1,setup(){const n=p.useNamespace("aside"),o=t.useAttrs(),r=t.useSlots();return()=>t.h(c.AdapterAside,t.mergeProps({class:n.b()},o),r)}}),mt=t.defineComponent({name:"SyMain",inheritAttrs:!1,setup(){const n=p.useNamespace("main"),o=t.useAttrs(),r=t.useSlots();return()=>t.h(c.AdapterMain,t.mergeProps({class:n.b()},o),r)}}),St=t.defineComponent({name:"SyFooter",inheritAttrs:!1,setup(){const n=p.useNamespace("footer"),o=t.useAttrs(),r=t.useSlots();return()=>t.h(c.AdapterFooter,t.mergeProps({class:n.b()},o),r)}}),ft=f.withInstall(ct),dt=f.withInstall(it),ut=f.withInstall(pt),yt=f.withInstall(mt),At=f.withInstall(St),ht=t.defineComponent({name:"SyDatePicker",inheritAttrs:!1,setup(n,{expose:o}){const r=p.useNamespace("date-picker"),S=t.useAttrs(),m=t.useSlots(),a=t.ref();return o({focus:()=>{var e,s;return(s=(e=a.value)==null?void 0:e.focus)==null?void 0:s.call(e)},blur:()=>{var e,s;return(s=(e=a.value)==null?void 0:e.blur)==null?void 0:s.call(e)},handleOpen:()=>{var e,s;return(s=(e=a.value)==null?void 0:e.handleOpen)==null?void 0:s.call(e)},handleClose:()=>{var e,s;return(s=(e=a.value)==null?void 0:e.handleClose)==null?void 0:s.call(e)}}),()=>t.h(c.AdapterDatePicker,t.mergeProps({ref:a,class:r.b()},S),m)}}),Ct=f.withInstall(ht),gt=t.defineComponent({name:"SyDateTimePicker",inheritAttrs:!1,setup(n,{expose:o}){const r=p.useNamespace("date-time-picker"),S=t.useAttrs(),m=t.useSlots(),a=t.ref();return o({focus:()=>{var e,s;return(s=(e=a.value)==null?void 0:e.focus)==null?void 0:s.call(e)},blur:()=>{var e,s;return(s=(e=a.value)==null?void 0:e.blur)==null?void 0:s.call(e)},handleOpen:()=>{var e,s;return(s=(e=a.value)==null?void 0:e.handleOpen)==null?void 0:s.call(e)},handleClose:()=>{var e,s;return(s=(e=a.value)==null?void 0:e.handleClose)==null?void 0:s.call(e)}}),()=>t.h(c.AdapterDatePicker,t.mergeProps({ref:a,class:r.b(),type:"datetime"},S),m)}}),bt=f.withInstall(gt),wt=t.defineComponent({name:"SyDescriptions",inheritAttrs:!1,setup(){const n=p.useNamespace("descriptions"),o=t.useAttrs(),r=t.useSlots();return()=>t.h(c.AdapterDescriptions,t.mergeProps({class:n.b()},o),r)}}),It=t.defineComponent({name:"ElDescriptionsItem",inheritAttrs:!1,setup(){const n=p.useNamespace("descriptions-item"),o=t.useAttrs(),r=t.useSlots();return()=>t.h(c.AdapterDescriptionsItem,t.mergeProps({class:n.b()},o),r)}}),Pt=f.withInstall(wt),Nt=f.withInstall(It,"SyDescriptionsItem"),Tt=t.defineComponent({name:"SyDialog",inheritAttrs:!1,setup(){const n=p.useNamespace("dialog"),o=t.useAttrs(),r=t.useSlots();return()=>t.h(c.AdapterDialog,t.mergeProps({class:n.b()},o),r)}}),Mt=f.withInstall(Tt),Rt=t.defineComponent({name:"SyDivider",inheritAttrs:!1,setup(){const n=p.useNamespace("divider"),o=t.useAttrs(),r=t.useSlots();return()=>t.h(c.AdapterDivider,t.mergeProps({class:n.b()},o),r)}}),Dt=f.withInstall(Rt),Bt=t.defineComponent({name:"SyDrawer",inheritAttrs:!1,setup(){const n=p.useNamespace("drawer"),o=t.useAttrs(),r=t.useSlots();return()=>t.h(c.AdapterDrawer,t.mergeProps({class:n.b()},o),r)}}),Ft=f.withInstall(Bt),_t=t.defineComponent({name:"SyDropdown",inheritAttrs:!1,setup(){const n=p.useNamespace("dropdown"),o=t.useAttrs(),r=t.useSlots();return()=>t.h(c.AdapterDropdown,t.mergeProps({class:n.b()},o),r)}}),$t=t.defineComponent({name:"SyDropdownMenu",inheritAttrs:!1,setup(){const n=p.useNamespace("dropdown-menu"),o=t.useAttrs(),r=t.useSlots();return()=>t.h(c.AdapterDropdownMenu,t.mergeProps({class:n.b()},o),r)}}),Lt=t.defineComponent({name:"SyDropdownItem",inheritAttrs:!1,setup(){const n=p.useNamespace("dropdown-item"),o=t.useAttrs(),r=t.useSlots();return()=>t.h(c.AdapterDropdownItem,t.mergeProps({class:n.b()},o),r)}}),kt=f.withInstall(_t),Ot=f.withInstall($t),zt=f.withInstall(Lt),Vt=t.defineComponent({name:"SyEmpty",inheritAttrs:!1,setup(){const n=p.useNamespace("empty"),o=t.useAttrs(),r=t.useSlots();return()=>t.h(c.AdapterEmpty,t.mergeProps({class:n.b()},o),r)}}),Gt=f.withInstall(Vt),Et=t.defineComponent({name:"SyForm",inheritAttrs:!1,setup(n,{expose:o}){const r=p.useNamespace("form"),S=t.useAttrs(),m=t.useSlots(),a=t.ref();return o({validate:(...e)=>{var s,l;return(l=(s=a.value)==null?void 0:s.validate)==null?void 0:l.call(s,...e)},validateField:(...e)=>{var s,l;return(l=(s=a.value)==null?void 0:s.validateField)==null?void 0:l.call(s,...e)},resetFields:(...e)=>{var s,l;return(l=(s=a.value)==null?void 0:s.resetFields)==null?void 0:l.call(s,...e)},scrollToField:(...e)=>{var s,l;return(l=(s=a.value)==null?void 0:s.scrollToField)==null?void 0:l.call(s,...e)},clearValidate:(...e)=>{var s,l;return(l=(s=a.value)==null?void 0:s.clearValidate)==null?void 0:l.call(s,...e)}}),()=>t.h(c.AdapterForm,t.mergeProps({ref:a,class:r.b()},S),m)}}),Kt=t.defineComponent({name:"SyFormItem",inheritAttrs:!1,setup(n,{expose:o}){const r=p.useNamespace("form-item"),S=t.useAttrs(),m=t.useSlots(),a=t.ref();return o({resetField:()=>{var e,s;return(s=(e=a.value)==null?void 0:e.resetField)==null?void 0:s.call(e)},clearValidate:()=>{var e,s;return(s=(e=a.value)==null?void 0:e.clearValidate)==null?void 0:s.call(e)}}),()=>t.h(c.AdapterFormItem,t.mergeProps({ref:a,class:r.b()},S),m)}}),Ht=f.withInstall(Et),jt=f.withInstall(Kt),Ut=t.defineComponent({name:"SyImage",inheritAttrs:!1,setup(n,{expose:o}){const r=p.useNamespace("image"),S=t.useAttrs(),m=t.useSlots(),a=t.ref();return o({showPreview:()=>{var e,s;return(s=(e=a.value)==null?void 0:e.showPreview)==null?void 0:s.call(e)}}),()=>t.h(c.AdapterImage,t.mergeProps({ref:a,class:r.b()},S),m)}}),qt=f.withInstall(Ut),Yt=t.defineComponent({name:"SyInput",inheritAttrs:!1,setup(n,{expose:o}){const r=p.useNamespace("input"),S=t.useAttrs(),m=t.useSlots(),a=t.ref();return o({focus:()=>{var e,s;return(s=(e=a.value)==null?void 0:e.focus)==null?void 0:s.call(e)},blur:()=>{var e,s;return(s=(e=a.value)==null?void 0:e.blur)==null?void 0:s.call(e)},clear:()=>{var e,s;return(s=(e=a.value)==null?void 0:e.clear)==null?void 0:s.call(e)},select:()=>{var e,s;return(s=(e=a.value)==null?void 0:e.select)==null?void 0:s.call(e)},resizeTextarea:()=>{var e,s;return(s=(e=a.value)==null?void 0:e.resizeTextarea)==null?void 0:s.call(e)}}),()=>t.h(c.AdapterInput,t.mergeProps({ref:a,class:r.b()},S),m)}}),k=f.withInstall(Yt),xt=t.defineComponent({name:"SyInputNumber",inheritAttrs:!1,setup(n,{expose:o}){const r=p.useNamespace("input-number"),S=t.useAttrs(),m=t.useSlots(),a=t.ref();return o({focus:()=>{var e,s;return(s=(e=a.value)==null?void 0:e.focus)==null?void 0:s.call(e)},blur:()=>{var e,s;return(s=(e=a.value)==null?void 0:e.blur)==null?void 0:s.call(e)}}),()=>t.h(c.AdapterInputNumber,t.mergeProps({ref:a,class:r.b()},S),m)}}),Jt=f.withInstall(xt),Qt=t.defineComponent({name:"SyRow",inheritAttrs:!1,setup(){const n=p.useNamespace("row"),o=t.useAttrs(),r=t.useSlots();return()=>t.h(c.AdapterRow,t.mergeProps({class:n.b()},o),r)}}),Wt=t.defineComponent({name:"SyCol",inheritAttrs:!1,setup(){const n=p.useNamespace("col"),o=t.useAttrs(),r=t.useSlots();return()=>t.h(c.AdapterCol,t.mergeProps({class:n.b()},o),r)}}),Xt=f.withInstall(Qt),Zt=f.withInstall(Wt),vt=t.defineComponent({name:"SyLink",inheritAttrs:!1,setup(){const n=p.useNamespace("link"),o=t.useAttrs(),r=t.useSlots();return()=>t.h(c.AdapterLink,t.mergeProps({class:n.b()},o),r)}}),ts=f.withInstall(vt),h="sy-loading",F="element-loading-custom-class";function ss(n){return n!==null&&typeof n=="object"&&!Array.isArray(n)}function es(n){if(n==null||n==="")return h;const o=String(t.unref(n));return o.includes(h)?o:`${h} ${o}`}function ns(n){if(n===void 0)return{customClass:h};const o=A({},n),r=o.customClass;return r===void 0?o.customClass=h:typeof r=="string"&&(o.customClass=`${h} ${r}`),o}function O(n,o){if(!o.value)return o;if(ss(o.value))return C(A({},o),{value:C(A({},o.value),{customClass:es(o.value.customClass)})});const r=n.getAttribute(F);return r?r.includes(h)||n.setAttribute(F,`${h} ${r}`):n.setAttribute(F,h),o}const y=c.AdapterLoadingDirective,N=(n,o)=>c.AdapterLoading.service(ns(n),o);Object.defineProperty(N,"_context",{get(){return c.AdapterLoading.service._context},set(n){c.AdapterLoading.service._context=n}});const T={mounted(n,o,r,S){var m;(m=y.mounted)==null||m.call(y,n,O(n,o),r,S)},updated(n,o,r,S){var m;(m=y.updated)==null||m.call(y,n,O(n,o),r,S)},unmounted(n,o,r,S){var m;(m=y.unmounted)==null||m.call(y,n,o,r,S)},get _context(){return y._context},set _context(n){y._context=n}},os={install(n){N._context=n._context,T._context=n._context,n.directive("loading",T),n.config.globalProperties.$loading=N},directive:T,service:N},rs=t.defineComponent({name:"SyMenu",inheritAttrs:!1,setup(){const n=p.useNamespace("menu"),o=t.useAttrs(),r=t.useSlots();return()=>t.h(c.AdapterMenu,t.mergeProps({class:n.b()},o),r)}}),as=t.defineComponent({name:"SySubMenu",inheritAttrs:!1,setup(){const n=p.useNamespace("sub-menu"),o=t.useAttrs(),r=t.useSlots();return()=>t.h(c.AdapterSubMenu,t.mergeProps({class:n.b()},o),r)}}),ls=t.defineComponent({name:"SyMenuItem",inheritAttrs:!1,setup(){const n=p.useNamespace("menu-item"),o=t.useAttrs(),r=t.useSlots();return()=>t.h(c.AdapterMenuItem,t.mergeProps({class:n.b()},o),r)}}),cs=t.defineComponent({name:"SyMenuItemGroup",inheritAttrs:!1,setup(){const n=p.useNamespace("menu-item-group"),o=t.useAttrs(),r=t.useSlots();return()=>t.h(c.AdapterMenuItemGroup,t.mergeProps({class:n.b()},o),r)}}),is=f.withInstall(rs),ps=f.withInstall(as),ms=f.withInstall(ls),Ss=f.withInstall(cs),M="sy-message";function w(n){if(n===void 0)return{customClass:M};if(typeof n!="object"||n.__v_isVNode===!0)return{message:n,customClass:M};const o=n;return C(A({},o),{customClass:o.customClass?`${M} ${o.customClass}`:M})}const _=(n,o)=>c.AdapterMessage(w(n),o);_.closeAll=n=>c.AdapterMessage.closeAll(n),_.closeAllByPlacement=n=>c.AdapterMessage.closeAllByPlacement(n);const g=_;g.success=(n,o)=>c.AdapterMessage.success(w(n),o),g.warning=(n,o)=>c.AdapterMessage.warning(w(n),o),g.info=(n,o)=>c.AdapterMessage.info(w(n),o),g.error=(n,o)=>c.AdapterMessage.error(w(n),o),Object.defineProperty(g,"_context",{get(){return c.AdapterMessage._context},set(n){c.AdapterMessage._context=n}});const $="sy-message-box";function R(n){return n?C(A({},n),{customClass:n.customClass?`${$} ${n.customClass}`:$}):{customClass:$}}const I=(n,o)=>c.AdapterMessageBox(R(n),o);I.alert=(...n)=>{const[o,r,S,m]=n;return c.AdapterMessageBox.alert(o,r,R(S),m)},I.confirm=(...n)=>{const[o,r,S,m]=n;return c.AdapterMessageBox.confirm(o,r,R(S),m)},I.prompt=(...n)=>{const[o,r,S,m]=n;return c.AdapterMessageBox.prompt(o,r,R(S),m)},I.close=()=>c.AdapterMessageBox.close();const z=I;Object.defineProperty(z,"_context",{get(){return c.AdapterMessageBox._context},set(n){c.AdapterMessageBox._context=n}});const D="sy-notification";function P(n){if(n===void 0)return{customClass:D};if(typeof n!="object"||n.__v_isVNode===!0)return{message:n,customClass:D};const o=n;return C(A({},o),{customClass:o.customClass?`${D} ${o.customClass}`:D})}const b=(n,o)=>c.AdapterNotification(P(n),o);b.success=(n,o)=>c.AdapterNotification.success(P(n),o),b.warning=(n,o)=>c.AdapterNotification.warning(P(n),o),b.info=(n,o)=>c.AdapterNotification.info(P(n),o),b.error=(n,o)=>c.AdapterNotification.error(P(n),o),b.closeAll=()=>c.AdapterNotification.closeAll();const V=b;Object.defineProperty(V,"_context",{get(){return c.AdapterNotification._context},set(n){c.AdapterNotification._context=n}});const fs=t.defineComponent({name:"SyPagination",inheritAttrs:!1,setup(){const n=p.useNamespace("pagination"),o=t.useAttrs(),r=t.useSlots();return()=>t.h(c.AdapterPagination,t.mergeProps({class:n.b()},o),r)}}),ds=f.withInstall(fs),us=t.defineComponent({name:"SyPopconfirm",inheritAttrs:!1,setup(){const n=p.useNamespace("popconfirm"),o=t.useAttrs(),r=t.useSlots();return()=>t.h(c.AdapterPopconfirm,t.mergeProps({class:n.b()},o),r)}}),ys=f.withInstall(us);function As(n,o){var e;const r=A({},n),S=r.class,m=(e=r.popperClass)!=null?e:r["popper-class"];delete r.class,delete r.popperClass,delete r["popper-class"];const a=[o,m,S].flat(10).filter(s=>typeof s=="string"&&s.length>0);return{rest:r,popperClass:a.length?a:[o]}}const hs=t.defineComponent({name:"SyPopover",inheritAttrs:!1,setup(){const n=p.useNamespace("popover"),o=t.useAttrs(),r=t.useSlots();return()=>{const{rest:S,popperClass:m}=As(o,n.b());return t.h(c.AdapterPopover,t.mergeProps(S,{popperClass:m}),r)}}}),Cs=f.withInstall(hs),gs=t.defineComponent({name:"SyProgress",inheritAttrs:!1,setup(){const n=p.useNamespace("progress"),o=t.useAttrs(),r=t.useSlots();return()=>t.h(c.AdapterProgress,t.mergeProps({class:n.b()},o),r)}}),bs=f.withInstall(gs),ws=t.defineComponent({name:"SyRadio",inheritAttrs:!1,setup(){const n=p.useNamespace("radio"),o=t.useAttrs(),r=t.useSlots();return()=>t.h(c.AdapterRadio,t.mergeProps({class:n.b()},o),r)}}),Is=t.defineComponent({name:"SyRadioGroup",inheritAttrs:!1,setup(){const n=p.useNamespace("radio-group"),o=t.useAttrs(),r=t.useSlots();return()=>t.h(c.AdapterRadioGroup,t.mergeProps({class:n.b()},o),r)}}),Ps=f.withInstall(ws),Ns=f.withInstall(Is),Ts=t.defineComponent({name:"SyRadioButton",inheritAttrs:!1,setup(){const n=p.useNamespace("radio-button"),o=t.useAttrs(),r=t.useSlots();return()=>t.h(c.AdapterRadioButton,t.mergeProps({class:n.b()},o),r)}}),Ms=f.withInstall(Ts),Rs=t.defineComponent({name:"SyScrollbar",inheritAttrs:!1,setup(n,{expose:o}){const r=p.useNamespace("scrollbar"),S=t.useAttrs(),m=t.useSlots(),a=t.ref();return o({handleScroll:()=>{var e,s;return(s=(e=a.value)==null?void 0:e.handleScroll)==null?void 0:s.call(e)},scrollTo:(...e)=>{var s,l;return(l=(s=a.value)==null?void 0:s.scrollTo)==null?void 0:l.call(s,...e)},setScrollTop:e=>{var s,l;return(l=(s=a.value)==null?void 0:s.setScrollTop)==null?void 0:l.call(s,e)},setScrollLeft:e=>{var s,l;return(l=(s=a.value)==null?void 0:s.setScrollLeft)==null?void 0:l.call(s,e)},update:()=>{var e,s;return(s=(e=a.value)==null?void 0:e.update)==null?void 0:s.call(e)},wrapRef:()=>{var e;return(e=a.value)==null?void 0:e.wrapRef}}),()=>t.h(c.AdapterScrollbar,t.mergeProps({ref:a,class:r.b()},S),m)}}),Ds=f.withInstall(Rs),Bs=t.defineComponent({name:"SySearchBar",__name:"SearchBar",props:{modelValue:{default:""},placeholder:{default:"请输入"},buttonText:{default:"搜索"},disabled:{type:Boolean,default:!1},clearable:{type:Boolean,default:!0},loading:{type:Boolean,default:!1},size:{default:"default"}},emits:["update:modelValue","search","clear","focus","blur"],setup(n,{expose:o,emit:r}){const S=n,m=r,a=p.useNamespace("search-bar"),e=t.ref(S.modelValue),s=t.ref();t.watch(()=>S.modelValue,d=>{d!==e.value&&(e.value=d)});function l(){m("search",e.value)}function Ae(d){e.value=d,m("update:modelValue",d)}function he(d){d.key==="Enter"&&l()}return o({focus:()=>{var d,u;return(u=(d=s.value)==null?void 0:d.focus)==null?void 0:u.call(d)},blur:()=>{var d,u;return(u=(d=s.value)==null?void 0:d.blur)==null?void 0:u.call(d)}}),(d,u)=>(t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(t.unref(a).b())},[t.createVNode(t.unref(k),{ref_key:"inputRef",ref:s,class:t.normalizeClass(t.unref(a).e("input")),"model-value":e.value,placeholder:n.placeholder,disabled:n.disabled,clearable:n.clearable,size:n.size,"onUpdate:modelValue":Ae,onKeydown:he,onClear:u[0]||(u[0]=B=>m("clear")),onFocus:u[1]||(u[1]=B=>m("focus",B)),onBlur:u[2]||(u[2]=B=>m("blur",B))},t.createSlots({_:2},[d.$slots.prefix?{name:"prefix",fn:t.withCtx(()=>[t.renderSlot(d.$slots,"prefix")]),key:"0"}:void 0,d.$slots.suffix?{name:"suffix",fn:t.withCtx(()=>[t.renderSlot(d.$slots,"suffix")]),key:"1"}:void 0,d.$slots.prepend?{name:"prepend",fn:t.withCtx(()=>[t.renderSlot(d.$slots,"prepend")]),key:"2"}:void 0,d.$slots.append?{name:"append",fn:t.withCtx(()=>[t.renderSlot(d.$slots,"append")]),key:"3"}:void 0]),1032,["class","model-value","placeholder","disabled","clearable","size"]),t.createVNode(t.unref(L),{class:t.normalizeClass(t.unref(a).e("button")),type:"primary",disabled:n.disabled,loading:n.loading,size:n.size,onClick:l},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(n.buttonText),1)]),_:1},8,["class","disabled","loading","size"])],2))}}),Fs=f.withInstall(Bs),_s=t.defineComponent({name:"SySelect",inheritAttrs:!1,setup(n,{expose:o}){const r=p.useNamespace("select"),S=t.useAttrs(),m=t.useSlots(),a=t.ref();return o({focus:()=>{var e,s;return(s=(e=a.value)==null?void 0:e.focus)==null?void 0:s.call(e)},blur:()=>{var e,s;return(s=(e=a.value)==null?void 0:e.blur)==null?void 0:s.call(e)}}),()=>t.h(c.AdapterSelect,t.mergeProps({ref:a,class:r.b()},S),m)}}),$s=t.defineComponent({name:"SyOption",inheritAttrs:!1,setup(){const n=p.useNamespace("option"),o=t.useAttrs(),r=t.useSlots();return()=>t.h(c.AdapterOption,t.mergeProps({class:n.b()},o),r)}}),Ls=f.withInstall(_s),ks=f.withInstall($s),Os=t.defineComponent({name:"SySkeleton",inheritAttrs:!1,setup(n,{expose:o}){const r=p.useNamespace("skeleton"),S=t.useAttrs(),m=t.useSlots(),a=t.ref();return o({get uiLoading(){var e;return(e=a.value)==null?void 0:e.uiLoading}}),()=>t.h(c.AdapterSkeleton,t.mergeProps({ref:a,class:r.b()},S),m)}}),zs=t.defineComponent({name:"SySkeletonItem",inheritAttrs:!1,setup(){const n=p.useNamespace("skeleton-item"),o=t.useAttrs(),r=t.useSlots();return()=>t.h(c.AdapterSkeletonItem,t.mergeProps({class:n.b()},o),r)}}),Vs=f.withInstall(Os),Gs=f.withInstall(zs),Es=t.defineComponent({name:"SySpace",inheritAttrs:!1,setup(){const n=p.useNamespace("space"),o=t.useAttrs(),r=t.useSlots();return()=>t.h(c.AdapterSpace,t.mergeProps({class:n.b()},o),r)}}),Ks=f.withInstall(Es),Hs=t.defineComponent({name:"SySteps",inheritAttrs:!1,setup(){const n=p.useNamespace("steps"),o=t.useAttrs(),r=t.useSlots();return()=>t.h(c.AdapterSteps,t.mergeProps({class:n.b()},o),r)}}),js=t.defineComponent({name:"SyStep",inheritAttrs:!1,setup(){const n=p.useNamespace("step"),o=t.useAttrs(),r=t.useSlots();return()=>t.h(c.AdapterStep,t.mergeProps({class:n.b()},o),r)}}),Us=f.withInstall(Hs),qs=f.withInstall(js),Ys=t.defineComponent({name:"SySwitch",inheritAttrs:!1,setup(n,{expose:o}){const r=p.useNamespace("switch"),S=t.useAttrs(),m=t.useSlots(),a=t.ref();return o({focus:()=>{var e,s;return(s=(e=a.value)==null?void 0:e.focus)==null?void 0:s.call(e)}}),()=>t.h(c.AdapterSwitch,t.mergeProps({ref:a,class:r.b()},S),m)}}),xs=f.withInstall(Ys),Js=t.defineComponent({name:"SyTable",inheritAttrs:!1,setup(n,{expose:o}){const r=p.useNamespace("table"),S=t.useAttrs(),m=t.useSlots(),a=t.ref();return o({clearSelection:()=>{var e,s;return(s=(e=a.value)==null?void 0:e.clearSelection)==null?void 0:s.call(e)},getSelectionRows:()=>{var e,s;return(s=(e=a.value)==null?void 0:e.getSelectionRows)==null?void 0:s.call(e)},toggleRowSelection:(...e)=>{var s,l;return(l=(s=a.value)==null?void 0:s.toggleRowSelection)==null?void 0:l.call(s,...e)},toggleAllSelection:()=>{var e,s;return(s=(e=a.value)==null?void 0:e.toggleAllSelection)==null?void 0:s.call(e)},toggleRowExpansion:(...e)=>{var s,l;return(l=(s=a.value)==null?void 0:s.toggleRowExpansion)==null?void 0:l.call(s,...e)},setCurrentRow:(...e)=>{var s,l;return(l=(s=a.value)==null?void 0:s.setCurrentRow)==null?void 0:l.call(s,...e)},clearSort:()=>{var e,s;return(s=(e=a.value)==null?void 0:e.clearSort)==null?void 0:s.call(e)},clearFilter:(...e)=>{var s,l;return(l=(s=a.value)==null?void 0:s.clearFilter)==null?void 0:l.call(s,...e)},doLayout:()=>{var e,s;return(s=(e=a.value)==null?void 0:e.doLayout)==null?void 0:s.call(e)},sort:(...e)=>{var s,l;return(l=(s=a.value)==null?void 0:s.sort)==null?void 0:l.call(s,...e)},scrollTo:(...e)=>{var s,l;return(l=(s=a.value)==null?void 0:s.scrollTo)==null?void 0:l.call(s,...e)},setScrollTop:(...e)=>{var s,l;return(l=(s=a.value)==null?void 0:s.setScrollTop)==null?void 0:l.call(s,...e)},setScrollLeft:(...e)=>{var s,l;return(l=(s=a.value)==null?void 0:s.setScrollLeft)==null?void 0:l.call(s,...e)}}),()=>t.h(c.AdapterTable,t.mergeProps({ref:a,class:r.b()},S),m)}}),Qs=t.defineComponent({name:"SyTableColumn",inheritAttrs:!1,setup(){const n=p.useNamespace("table-column"),o=t.useAttrs(),r=t.useSlots();return()=>{const S=r.default?C(A({},r),{default:(...m)=>{var a;return((a=r.default(...m))!=null?a:[]).map(e=>{var s;return((s=e==null?void 0:e.type)==null?void 0:s.name)==="SyTableColumn"?t.h(c.AdapterTableColumn,e.props,e.children):e})}}):r;return t.h(c.AdapterTableColumn,t.mergeProps({class:n.b()},o),S)}}}),Ws=f.withInstall(Js),Xs=f.withInstall(Qs),Zs=t.defineComponent({name:"SyTabs",inheritAttrs:!1,setup(n,{expose:o}){const r=p.useNamespace("tabs"),S=t.useAttrs(),m=t.useSlots(),a=t.ref();return o({get currentName(){var e;return(e=a.value)==null?void 0:e.currentName},get tabNavRef(){var e;return(e=a.value)==null?void 0:e.tabNavRef}}),()=>t.h(c.AdapterTabs,t.mergeProps({ref:a,class:r.b()},S),m)}}),vs=t.defineComponent({name:"SyTabPane",inheritAttrs:!1,setup(){const n=p.useNamespace("tab-pane"),o=t.useAttrs(),r=t.useSlots();return()=>t.h(c.AdapterTabPane,t.mergeProps({class:n.b()},o),r)}}),te=f.withInstall(Zs),se=f.withInstall(vs),ee=t.defineComponent({name:"SyTag",inheritAttrs:!1,setup(n,{expose:o}){const r=p.useNamespace("tag"),S=t.useAttrs(),m=t.useSlots(),a=t.ref();return o({ref:()=>a.value}),()=>t.h(c.AdapterTag,t.mergeProps({ref:a,class:r.b()},S),m)}}),ne=f.withInstall(ee),oe=t.defineComponent({name:"SyText",inheritAttrs:!1,setup(){const n=p.useNamespace("text"),o=t.useAttrs(),r=t.useSlots();return()=>t.h(c.AdapterText,t.mergeProps({class:n.b()},o),r)}}),re=f.withInstall(oe),ae=t.defineComponent({name:"SyTimePicker",inheritAttrs:!1,setup(n,{expose:o}){const r=p.useNamespace("time-picker"),S=t.useAttrs(),m=t.useSlots(),a=t.ref();return o({focus:()=>{var e,s;return(s=(e=a.value)==null?void 0:e.focus)==null?void 0:s.call(e)},blur:()=>{var e,s;return(s=(e=a.value)==null?void 0:e.blur)==null?void 0:s.call(e)},handleOpen:()=>{var e,s;return(s=(e=a.value)==null?void 0:e.handleOpen)==null?void 0:s.call(e)},handleClose:()=>{var e,s;return(s=(e=a.value)==null?void 0:e.handleClose)==null?void 0:s.call(e)}}),()=>t.h(c.AdapterTimePicker,t.mergeProps({ref:a,class:r.b()},S),m)}}),le=f.withInstall(ae),ce=t.defineComponent({name:"SyTimeSelect",inheritAttrs:!1,setup(n,{expose:o}){const r=p.useNamespace("time-select"),S=t.useAttrs(),m=t.useSlots(),a=t.ref();return o({focus:()=>{var e,s;return(s=(e=a.value)==null?void 0:e.focus)==null?void 0:s.call(e)},blur:()=>{var e,s;return(s=(e=a.value)==null?void 0:e.blur)==null?void 0:s.call(e)}}),()=>t.h(c.AdapterTimeSelect,t.mergeProps({ref:a,class:r.b()},S),m)}}),ie=f.withInstall(ce);function pe(n,o){var e;const r=A({},n),S=r.class,m=(e=r.popperClass)!=null?e:r["popper-class"];delete r.class,delete r.popperClass,delete r["popper-class"];const a=[o,m,S].flat(10).filter(s=>typeof s=="string"&&s.length>0);return{rest:r,popperClass:a.length?a:[o]}}const me=t.defineComponent({name:"SyTooltip",inheritAttrs:!1,setup(){const n=p.useNamespace("tooltip"),o=t.useAttrs(),r=t.useSlots();return()=>{const{rest:S,popperClass:m}=pe(o,n.b());return t.h(c.AdapterTooltip,t.mergeProps(S,{popperClass:m}),r)}}}),Se=f.withInstall(me),fe=t.defineComponent({name:"SyTree",inheritAttrs:!1,setup(n,{expose:o}){const r=p.useNamespace("tree"),S=t.useAttrs(),m=t.useSlots(),a=t.ref();return o({filter:(...e)=>{var s,l;return(l=(s=a.value)==null?void 0:s.filter)==null?void 0:l.call(s,...e)},updateKeyChildren:(...e)=>{var s,l;return(l=(s=a.value)==null?void 0:s.updateKeyChildren)==null?void 0:l.call(s,...e)},getCheckedNodes:(...e)=>{var s,l;return(l=(s=a.value)==null?void 0:s.getCheckedNodes)==null?void 0:l.call(s,...e)},getCheckedKeys:(...e)=>{var s,l;return(l=(s=a.value)==null?void 0:s.getCheckedKeys)==null?void 0:l.call(s,...e)},setCheckedNodes:(...e)=>{var s,l;return(l=(s=a.value)==null?void 0:s.setCheckedNodes)==null?void 0:l.call(s,...e)},setCheckedKeys:(...e)=>{var s,l;return(l=(s=a.value)==null?void 0:s.setCheckedKeys)==null?void 0:l.call(s,...e)},setChecked:(...e)=>{var s,l;return(l=(s=a.value)==null?void 0:s.setChecked)==null?void 0:l.call(s,...e)},getHalfCheckedNodes:(...e)=>{var s,l;return(l=(s=a.value)==null?void 0:s.getHalfCheckedNodes)==null?void 0:l.call(s,...e)},getHalfCheckedKeys:(...e)=>{var s,l;return(l=(s=a.value)==null?void 0:s.getHalfCheckedKeys)==null?void 0:l.call(s,...e)},getCurrentKey:(...e)=>{var s,l;return(l=(s=a.value)==null?void 0:s.getCurrentKey)==null?void 0:l.call(s,...e)},getCurrentNode:(...e)=>{var s,l;return(l=(s=a.value)==null?void 0:s.getCurrentNode)==null?void 0:l.call(s,...e)},setCurrentKey:(...e)=>{var s,l;return(l=(s=a.value)==null?void 0:s.setCurrentKey)==null?void 0:l.call(s,...e)},setCurrentNode:(...e)=>{var s,l;return(l=(s=a.value)==null?void 0:s.setCurrentNode)==null?void 0:l.call(s,...e)},getNode:(...e)=>{var s,l;return(l=(s=a.value)==null?void 0:s.getNode)==null?void 0:l.call(s,...e)},remove:(...e)=>{var s,l;return(l=(s=a.value)==null?void 0:s.remove)==null?void 0:l.call(s,...e)},append:(...e)=>{var s,l;return(l=(s=a.value)==null?void 0:s.append)==null?void 0:l.call(s,...e)},insertBefore:(...e)=>{var s,l;return(l=(s=a.value)==null?void 0:s.insertBefore)==null?void 0:l.call(s,...e)},insertAfter:(...e)=>{var s,l;return(l=(s=a.value)==null?void 0:s.insertAfter)==null?void 0:l.call(s,...e)}}),()=>t.h(c.AdapterTree,t.mergeProps({ref:a,class:r.b()},S),m)}}),de=f.withInstall(fe),ue=t.defineComponent({name:"SyUpload",inheritAttrs:!1,setup(n,{expose:o}){const r=p.useNamespace("upload"),S=t.useAttrs(),m=t.useSlots(),a=t.ref();return o({abort:e=>{var s,l;return(l=(s=a.value)==null?void 0:s.abort)==null?void 0:l.call(s,e)},submit:()=>{var e,s;return(s=(e=a.value)==null?void 0:e.submit)==null?void 0:s.call(e)},clearFiles:e=>{var s,l;return(l=(s=a.value)==null?void 0:s.clearFiles)==null?void 0:l.call(s,e)},handleStart:e=>{var s,l;return(l=(s=a.value)==null?void 0:s.handleStart)==null?void 0:l.call(s,e)},handleRemove:e=>{var s,l;return(l=(s=a.value)==null?void 0:s.handleRemove)==null?void 0:l.call(s,e)}}),()=>t.h(c.AdapterUpload,t.mergeProps({ref:a,class:r.b()},S),m)}}),ye=f.withInstall(ue);i.SyAlert=H,i.SyAside=ut,i.SyBacktop=U,i.SyButton=L,i.SyCard=x,i.SyCascader=Q,i.SyCheckbox=Z,i.SyCheckboxButton=st,i.SyCheckboxGroup=v,i.SyCol=Zt,i.SyCollapse=ot,i.SyCollapseItem=rt,i.SyContainer=ft,i.SyDatePicker=Ct,i.SyDateTimePicker=bt,i.SyDescriptions=Pt,i.SyDescriptionsItem=Nt,i.SyDialog=Mt,i.SyDivider=Dt,i.SyDrawer=Ft,i.SyDropdown=kt,i.SyDropdownItem=zt,i.SyDropdownMenu=Ot,i.SyEmpty=Gt,i.SyFooter=At,i.SyForm=Ht,i.SyFormItem=jt,i.SyHeader=dt,i.SyImage=qt,i.SyInput=k,i.SyInputNumber=Jt,i.SyLink=ts,i.SyLoading=os,i.SyLoadingDirective=T,i.SyMain=yt,i.SyMenu=is,i.SyMenuItem=ms,i.SyMenuItemGroup=Ss,i.SyMessage=g,i.SyMessageBox=z,i.SyNotification=V,i.SyOption=ks,i.SyPagination=ds,i.SyPopconfirm=ys,i.SyPopover=Cs,i.SyProgress=bs,i.SyRadio=Ps,i.SyRadioButton=Ms,i.SyRadioGroup=Ns,i.SyRow=Xt,i.SyScrollbar=Ds,i.SySearchBar=Fs,i.SySelect=Ls,i.SySkeleton=Vs,i.SySkeletonItem=Gs,i.SySpace=Ks,i.SyStep=qs,i.SySteps=Us,i.SySubMenu=ps,i.SySwitch=xs,i.SyTabPane=se,i.SyTable=Ws,i.SyTableColumn=Xs,i.SyTabs=te,i.SyTag=ne,i.SyText=re,i.SyTimePicker=le,i.SyTimeSelect=ie,i.SyTooltip=Se,i.SyTree=de,i.SyUpload=ye,Object.defineProperty(i,Symbol.toStringTag,{value:"Module"})});
|
package/dist/index.full.mjs
CHANGED
|
@@ -15,7 +15,7 @@ import { useNamespace as p } from "@sunyard-szyy-ui/hooks";
|
|
|
15
15
|
import { withInstall as d } from "@sunyard-szyy-ui/utils";
|
|
16
16
|
import { AdapterAlert as it, AdapterBacktop as pt, AdapterButton as dt, AdapterCard as ft, AdapterCascader as mt, AdapterCheckbox as St, AdapterCheckboxGroup as yt, AdapterCheckboxButton as bt, AdapterCollapse as At, AdapterCollapseItem as ht, AdapterAside as vt, AdapterContainer as Ct, AdapterFooter as gt, AdapterHeader as kt, AdapterMain as Tt, AdapterDatePicker as Q, AdapterDescriptions as wt, AdapterDescriptionsItem as xt, AdapterDialog as Rt, AdapterDivider as It, AdapterDrawer as Pt, AdapterDropdown as Dt, AdapterDropdownItem as Mt, AdapterDropdownMenu as _t, AdapterEmpty as Ft, AdapterForm as Bt, AdapterFormItem as Nt, AdapterImage as $t, AdapterInput as Lt, AdapterInputNumber as Ot, AdapterCol as Vt, AdapterRow as Et, AdapterLink as Gt, AdapterLoading as H, AdapterLoadingDirective as Kt, AdapterMenu as Ht, AdapterMenuItem as zt, AdapterMenuItemGroup as jt, AdapterSubMenu as Ut, AdapterMessage as g, AdapterMessageBox as w, AdapterNotification as k, AdapterPagination as Yt, AdapterPopconfirm as qt, AdapterPopover as Jt, AdapterProgress as Qt, AdapterRadio as Wt, AdapterRadioGroup as Xt, AdapterRadioButton as Zt, AdapterScrollbar as te, AdapterOption as ee, AdapterSelect as se, AdapterSkeleton as ne, AdapterSkeletonItem as oe, AdapterSpace as re, AdapterStep as ae, AdapterSteps as ce, AdapterSwitch as le, AdapterTable as ue, AdapterTableColumn as q, AdapterTabPane as ie, AdapterTabs as pe, AdapterTag as de, AdapterText as fe, AdapterTimePicker as me, AdapterTimeSelect as Se, AdapterTooltip as ye, AdapterTree as be, AdapterUpload as Ae } from "@sunyard-szyy-ui/adapter";
|
|
17
17
|
/*!
|
|
18
|
-
* sunyard-szyy-ui v0.
|
|
18
|
+
* sunyard-szyy-ui v0.6.0
|
|
19
19
|
* (c) 2026 Sunyard SZYY Base Team
|
|
20
20
|
*/
|
|
21
21
|
const he = i({
|
package/es/hooks/dist/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import{ref as c,watch as r}from"vue";import{debounce as s}from"../../utils/dist/index.mjs";/*!
|
|
2
|
-
* sunyard-szyy-ui v0.
|
|
2
|
+
* sunyard-szyy-ui v0.6.0
|
|
3
3
|
* (c) 2026 Sunyard SZYY Base Team
|
|
4
4
|
*/function d(o){const n=`sy-${o}`;return{namespace:n,b:()=>n,e:e=>`${n}__${e}`,m:e=>`${n}--${e}`,is:(e,t=!0)=>t?`is-${e}`:""}}function i(o,n=300){const e=c(o.value),t=s(u=>{e.value=u},n);return r(o,u=>{t(u)}),e}export{i as useDebounce,d as useNamespace};
|
package/es/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import{SyAlert as t,SyAside as n,SyBacktop as r,SyButton as a,SyCard as i,SyCascader as p,SyCheckbox as l,SyCheckboxButton as c,SyCheckboxGroup as m,SyCol as s,SyCollapse as u,SyCollapseItem as d,SyContainer as I,SyDatePicker as D,SyDateTimePicker as b,SyDescriptions as w,SyDescriptionsItem as k,SyDialog as T,SyDivider as f,SyDrawer as g,SyDropdown as C,SyDropdownItem as _,SyDropdownMenu as h,SyEmpty as P,SyFooter as x,SyForm as M,SyFormItem as B,SyHeader as R,SyImage as U,SyInput as Y,SyInputNumber as v,SyLink as L,SyMain as N,SyMenu as O,SyMenuItem as A,SyMenuItemGroup as G,SyOption as E,SyPagination as F,SyPopconfirm as Z,SyPopover as z,SyProgress as H,SyRadio as V,SyRadioButton as K,SyRadioGroup as $,SyRow as j,SyScrollbar as q,SySearchBar as J,SySelect as Q,SySkeleton as W,SySkeletonItem as X,SySpace as SS,SyStep as eS,SySteps as yS,SySubMenu as oS,SySwitch as tS,SyTable as nS,SyTableColumn as rS,SyTabPane as aS,SyTabs as iS,SyTag as pS,SyText as lS,SyTimePicker as cS,SyTimeSelect as mS,SyTooltip as sS,SyTree as uS,SyUpload as dS,SyLoading as IS}from"@sunyard-szyy-ui/components";import{SyAlert as gS,SyAside as CS,SyBacktop as _S,SyButton as hS,SyCard as PS,SyCascader as xS,SyCheckbox as MS,SyCheckboxButton as BS,SyCheckboxGroup as RS,SyCol as US,SyCollapse as YS,SyCollapseItem as vS,SyContainer as LS,SyDatePicker as NS,SyDateTimePicker as OS,SyDescriptions as AS,SyDescriptionsItem as GS,SyDialog as ES,SyDivider as FS,SyDrawer as ZS,SyDropdown as zS,SyDropdownItem as HS,SyDropdownMenu as VS,SyEmpty as KS,SyFooter as $S,SyForm as jS,SyFormItem as qS,SyHeader as JS,SyImage as QS,SyInput as WS,SyInputNumber as XS,SyLink as Se,SyLoading as ee,SyLoadingDirective as ye,SyMain as oe,SyMenu as te,SyMenuItem as ne,SyMenuItemGroup as re,SyMessage as ae,SyMessageBox as ie,SyNotification as pe,SyOption as le,SyPagination as ce,SyPopconfirm as me,SyPopover as se,SyProgress as ue,SyRadio as de,SyRadioButton as Ie,SyRadioGroup as De,SyRow as be,SyScrollbar as we,SySearchBar as ke,SySelect as Te,SySkeleton as fe,SySkeletonItem as ge,SySpace as Ce,SyStep as _e,SySteps as he,SySubMenu as Pe,SySwitch as xe,SyTabPane as Me,SyTable as Be,SyTableColumn as Re,SyTabs as Ue,SyTag as Ye,SyText as ve,SyTimePicker as Le,SyTimeSelect as Ne,SyTooltip as Oe,SyTree as Ae,SyUpload as Ge}from"@sunyard-szyy-ui/components";import{version as e}from"./version.mjs";import{useDebounce as Fe,useNamespace as Ze}from"./hooks/dist/index.mjs";import{SunyardSzyyUIResolver as He,debounce as Ve,deepClone as Ke,formatDate as $e,throttle as je,withInstall as qe}from"./utils/dist/index.mjs";import{makeInstaller as Qe}from"./make-installer.mjs";/*!
|
|
2
|
-
* sunyard-szyy-ui v0.
|
|
2
|
+
* sunyard-szyy-ui v0.6.0
|
|
3
3
|
* (c) 2026 Sunyard SZYY Base Team
|
|
4
4
|
*/const o=[t,n,r,a,i,p,l,c,m,s,u,d,I,D,b,w,k,T,f,g,C,_,h,P,x,M,B,R,U,Y,v,L,N,O,A,G,E,F,Z,z,H,V,K,$,j,q,J,Q,W,X,SS,eS,yS,oS,tS,nS,rS,aS,iS,pS,lS,cS,mS,sS,uS,dS],DS=y=>{if(typeof window!="undefined"&&(console.log(`%c[Sunyard SZYY UI]%c v${e} %cinstalled`,"color: #409eff; font-weight: bold","color: #67c23a","color: #909399"),window.__SUNYARD_SZYY_UI_VERSION__=e,window.__SUNYARD_SZYY_UI__={version:e,components:o.map(S=>S.name||"Unknown")}),o.forEach(S=>y.use(S)),y.use(IS),typeof window!="undefined"){const S=window.__VUE_DEVTOOLS_GLOBAL_HOOK__;S&&S.emit("app:init",y,e,{label:"Sunyard SZYY UI",packageName:"sunyard-szyy-ui",homepage:"https://github.com/your-org/sunyard-szyy-ui"})}},kS={version:e,install:DS};export{He as SunyardSzyyUIResolver,gS as SyAlert,CS as SyAside,_S as SyBacktop,hS as SyButton,PS as SyCard,xS as SyCascader,MS as SyCheckbox,BS as SyCheckboxButton,RS as SyCheckboxGroup,US as SyCol,YS as SyCollapse,vS as SyCollapseItem,LS as SyContainer,NS as SyDatePicker,OS as SyDateTimePicker,AS as SyDescriptions,GS as SyDescriptionsItem,ES as SyDialog,FS as SyDivider,ZS as SyDrawer,zS as SyDropdown,HS as SyDropdownItem,VS as SyDropdownMenu,KS as SyEmpty,$S as SyFooter,jS as SyForm,qS as SyFormItem,JS as SyHeader,QS as SyImage,WS as SyInput,XS as SyInputNumber,Se as SyLink,ee as SyLoading,ye as SyLoadingDirective,oe as SyMain,te as SyMenu,ne as SyMenuItem,re as SyMenuItemGroup,ae as SyMessage,ie as SyMessageBox,pe as SyNotification,le as SyOption,ce as SyPagination,me as SyPopconfirm,se as SyPopover,ue as SyProgress,de as SyRadio,Ie as SyRadioButton,De as SyRadioGroup,be as SyRow,we as SyScrollbar,ke as SySearchBar,Te as SySelect,fe as SySkeleton,ge as SySkeletonItem,Ce as SySpace,_e as SyStep,he as SySteps,Pe as SySubMenu,xe as SySwitch,Me as SyTabPane,Be as SyTable,Re as SyTableColumn,Ue as SyTabs,Ye as SyTag,ve as SyText,Le as SyTimePicker,Ne as SyTimeSelect,Oe as SyTooltip,Ae as SyTree,Ge as SyUpload,Ve as debounce,Ke as deepClone,kS as default,$e as formatDate,DS as install,Qe as makeInstaller,je as throttle,Fe as useDebounce,Ze as useNamespace,e as version,qe as withInstall};
|
package/es/make-installer.mjs
CHANGED
package/es/utils/dist/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* sunyard-szyy-ui v0.
|
|
2
|
+
* sunyard-szyy-ui v0.6.0
|
|
3
3
|
* (c) 2026 Sunyard SZYY Base Team
|
|
4
4
|
*/function P(e,n="Sy"){return e.slice(n.length).replace(/([A-Z])/g,"-$1").toLowerCase().slice(1)}var R={option:"select","table-column":"table","form-item":"form","checkbox-group":"checkbox","radio-group":"radio","tab-pane":"tabs","skeleton-item":"skeleton",row:"layout",col:"layout",header:"container",aside:"container",main:"container",footer:"container","dropdown-menu":"dropdown","dropdown-item":"dropdown","sub-menu":"menu","menu-item":"menu","menu-item-group":"menu",step:"steps","descriptions-item":"descriptions","collapse-item":"collapse"},w={Loading:{exportName:"SyLoadingDirective",dirName:"loading"}};function U(e={}){const{prefix:n="Sy",importStyle:t=!0,libraryName:o="sunyard-szyy-ui",styleLibraryName:i="sunyard-szyy-ui/theme-chalk",componentsLibraryName:S="@sunyard-szyy-ui/components",devMode:y=!1,importMetaUrl:l,fileURLToPath:u,dirResolver:h}=e;if(y&&!h&&(!l||!u))throw new Error(`[SunyardSzyyUIResolver] devMode 启用时必须提供 importMetaUrl 和 fileURLToPath 参数
|
|
5
5
|
示例:
|
package/es/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const version = "0.
|
|
1
|
+
export declare const version = "0.6.0";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/es/version.mjs
CHANGED
package/lib/hooks/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use strict";/*!
|
|
2
|
-
* sunyard-szyy-ui v0.
|
|
2
|
+
* sunyard-szyy-ui v0.6.0
|
|
3
3
|
* (c) 2026 Sunyard SZYY Base Team
|
|
4
4
|
*/Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("vue"),o=require("../../utils/dist/index.js");function r(n){const u=`sy-${n}`;return{namespace:u,b:()=>u,e:e=>`${u}__${e}`,m:e=>`${u}--${e}`,is:(e,c=!0)=>c?`is-${e}`:""}}function a(n,u=300){const e=t.ref(n.value),c=o.debounce(s=>{e.value=s},u);return t.watch(n,s=>{c(s)}),e}exports.useDebounce=a;exports.useNamespace=r;
|
package/lib/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use strict";/*!
|
|
2
|
-
* sunyard-szyy-ui v0.
|
|
2
|
+
* sunyard-szyy-ui v0.6.0
|
|
3
3
|
* (c) 2026 Sunyard SZYY Base Team
|
|
4
4
|
*/Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("@sunyard-szyy-ui/components"),r=require("./version.js"),S=require("./hooks/dist/index.js"),y=require("./utils/dist/index.js"),a=require("./make-installer.js"),o=[e.SyAlert,e.SyAside,e.SyBacktop,e.SyButton,e.SyCard,e.SyCascader,e.SyCheckbox,e.SyCheckboxButton,e.SyCheckboxGroup,e.SyCol,e.SyCollapse,e.SyCollapseItem,e.SyContainer,e.SyDatePicker,e.SyDateTimePicker,e.SyDescriptions,e.SyDescriptionsItem,e.SyDialog,e.SyDivider,e.SyDrawer,e.SyDropdown,e.SyDropdownItem,e.SyDropdownMenu,e.SyEmpty,e.SyFooter,e.SyForm,e.SyFormItem,e.SyHeader,e.SyImage,e.SyInput,e.SyInputNumber,e.SyLink,e.SyMain,e.SyMenu,e.SyMenuItem,e.SyMenuItemGroup,e.SyOption,e.SyPagination,e.SyPopconfirm,e.SyPopover,e.SyProgress,e.SyRadio,e.SyRadioButton,e.SyRadioGroup,e.SyRow,e.SyScrollbar,e.SySearchBar,e.SySelect,e.SySkeleton,e.SySkeletonItem,e.SySpace,e.SyStep,e.SySteps,e.SySubMenu,e.SySwitch,e.SyTable,e.SyTableColumn,e.SyTabPane,e.SyTabs,e.SyTag,e.SyText,e.SyTimePicker,e.SyTimeSelect,e.SyTooltip,e.SyTree,e.SyUpload],u=n=>{if(typeof window!="undefined"&&(console.log(`%c[Sunyard SZYY UI]%c v${r.version} %cinstalled`,"color: #409eff; font-weight: bold","color: #67c23a","color: #909399"),window.__SUNYARD_SZYY_UI_VERSION__=r.version,window.__SUNYARD_SZYY_UI__={version:r.version,components:o.map(t=>t.name||"Unknown")}),o.forEach(t=>n.use(t)),n.use(e.SyLoading),typeof window!="undefined"){const t=window.__VUE_DEVTOOLS_GLOBAL_HOOK__;t&&t.emit("app:init",n,r.version,{label:"Sunyard SZYY UI",packageName:"sunyard-szyy-ui",homepage:"https://github.com/your-org/sunyard-szyy-ui"})}},i={version:r.version,install:u};Object.defineProperty(exports,"SyAlert",{enumerable:!0,get:()=>e.SyAlert});Object.defineProperty(exports,"SyAside",{enumerable:!0,get:()=>e.SyAside});Object.defineProperty(exports,"SyBacktop",{enumerable:!0,get:()=>e.SyBacktop});Object.defineProperty(exports,"SyButton",{enumerable:!0,get:()=>e.SyButton});Object.defineProperty(exports,"SyCard",{enumerable:!0,get:()=>e.SyCard});Object.defineProperty(exports,"SyCascader",{enumerable:!0,get:()=>e.SyCascader});Object.defineProperty(exports,"SyCheckbox",{enumerable:!0,get:()=>e.SyCheckbox});Object.defineProperty(exports,"SyCheckboxButton",{enumerable:!0,get:()=>e.SyCheckboxButton});Object.defineProperty(exports,"SyCheckboxGroup",{enumerable:!0,get:()=>e.SyCheckboxGroup});Object.defineProperty(exports,"SyCol",{enumerable:!0,get:()=>e.SyCol});Object.defineProperty(exports,"SyCollapse",{enumerable:!0,get:()=>e.SyCollapse});Object.defineProperty(exports,"SyCollapseItem",{enumerable:!0,get:()=>e.SyCollapseItem});Object.defineProperty(exports,"SyContainer",{enumerable:!0,get:()=>e.SyContainer});Object.defineProperty(exports,"SyDatePicker",{enumerable:!0,get:()=>e.SyDatePicker});Object.defineProperty(exports,"SyDateTimePicker",{enumerable:!0,get:()=>e.SyDateTimePicker});Object.defineProperty(exports,"SyDescriptions",{enumerable:!0,get:()=>e.SyDescriptions});Object.defineProperty(exports,"SyDescriptionsItem",{enumerable:!0,get:()=>e.SyDescriptionsItem});Object.defineProperty(exports,"SyDialog",{enumerable:!0,get:()=>e.SyDialog});Object.defineProperty(exports,"SyDivider",{enumerable:!0,get:()=>e.SyDivider});Object.defineProperty(exports,"SyDrawer",{enumerable:!0,get:()=>e.SyDrawer});Object.defineProperty(exports,"SyDropdown",{enumerable:!0,get:()=>e.SyDropdown});Object.defineProperty(exports,"SyDropdownItem",{enumerable:!0,get:()=>e.SyDropdownItem});Object.defineProperty(exports,"SyDropdownMenu",{enumerable:!0,get:()=>e.SyDropdownMenu});Object.defineProperty(exports,"SyEmpty",{enumerable:!0,get:()=>e.SyEmpty});Object.defineProperty(exports,"SyFooter",{enumerable:!0,get:()=>e.SyFooter});Object.defineProperty(exports,"SyForm",{enumerable:!0,get:()=>e.SyForm});Object.defineProperty(exports,"SyFormItem",{enumerable:!0,get:()=>e.SyFormItem});Object.defineProperty(exports,"SyHeader",{enumerable:!0,get:()=>e.SyHeader});Object.defineProperty(exports,"SyImage",{enumerable:!0,get:()=>e.SyImage});Object.defineProperty(exports,"SyInput",{enumerable:!0,get:()=>e.SyInput});Object.defineProperty(exports,"SyInputNumber",{enumerable:!0,get:()=>e.SyInputNumber});Object.defineProperty(exports,"SyLink",{enumerable:!0,get:()=>e.SyLink});Object.defineProperty(exports,"SyLoading",{enumerable:!0,get:()=>e.SyLoading});Object.defineProperty(exports,"SyLoadingDirective",{enumerable:!0,get:()=>e.SyLoadingDirective});Object.defineProperty(exports,"SyMain",{enumerable:!0,get:()=>e.SyMain});Object.defineProperty(exports,"SyMenu",{enumerable:!0,get:()=>e.SyMenu});Object.defineProperty(exports,"SyMenuItem",{enumerable:!0,get:()=>e.SyMenuItem});Object.defineProperty(exports,"SyMenuItemGroup",{enumerable:!0,get:()=>e.SyMenuItemGroup});Object.defineProperty(exports,"SyMessage",{enumerable:!0,get:()=>e.SyMessage});Object.defineProperty(exports,"SyMessageBox",{enumerable:!0,get:()=>e.SyMessageBox});Object.defineProperty(exports,"SyNotification",{enumerable:!0,get:()=>e.SyNotification});Object.defineProperty(exports,"SyOption",{enumerable:!0,get:()=>e.SyOption});Object.defineProperty(exports,"SyPagination",{enumerable:!0,get:()=>e.SyPagination});Object.defineProperty(exports,"SyPopconfirm",{enumerable:!0,get:()=>e.SyPopconfirm});Object.defineProperty(exports,"SyPopover",{enumerable:!0,get:()=>e.SyPopover});Object.defineProperty(exports,"SyProgress",{enumerable:!0,get:()=>e.SyProgress});Object.defineProperty(exports,"SyRadio",{enumerable:!0,get:()=>e.SyRadio});Object.defineProperty(exports,"SyRadioButton",{enumerable:!0,get:()=>e.SyRadioButton});Object.defineProperty(exports,"SyRadioGroup",{enumerable:!0,get:()=>e.SyRadioGroup});Object.defineProperty(exports,"SyRow",{enumerable:!0,get:()=>e.SyRow});Object.defineProperty(exports,"SyScrollbar",{enumerable:!0,get:()=>e.SyScrollbar});Object.defineProperty(exports,"SySearchBar",{enumerable:!0,get:()=>e.SySearchBar});Object.defineProperty(exports,"SySelect",{enumerable:!0,get:()=>e.SySelect});Object.defineProperty(exports,"SySkeleton",{enumerable:!0,get:()=>e.SySkeleton});Object.defineProperty(exports,"SySkeletonItem",{enumerable:!0,get:()=>e.SySkeletonItem});Object.defineProperty(exports,"SySpace",{enumerable:!0,get:()=>e.SySpace});Object.defineProperty(exports,"SyStep",{enumerable:!0,get:()=>e.SyStep});Object.defineProperty(exports,"SySteps",{enumerable:!0,get:()=>e.SySteps});Object.defineProperty(exports,"SySubMenu",{enumerable:!0,get:()=>e.SySubMenu});Object.defineProperty(exports,"SySwitch",{enumerable:!0,get:()=>e.SySwitch});Object.defineProperty(exports,"SyTabPane",{enumerable:!0,get:()=>e.SyTabPane});Object.defineProperty(exports,"SyTable",{enumerable:!0,get:()=>e.SyTable});Object.defineProperty(exports,"SyTableColumn",{enumerable:!0,get:()=>e.SyTableColumn});Object.defineProperty(exports,"SyTabs",{enumerable:!0,get:()=>e.SyTabs});Object.defineProperty(exports,"SyTag",{enumerable:!0,get:()=>e.SyTag});Object.defineProperty(exports,"SyText",{enumerable:!0,get:()=>e.SyText});Object.defineProperty(exports,"SyTimePicker",{enumerable:!0,get:()=>e.SyTimePicker});Object.defineProperty(exports,"SyTimeSelect",{enumerable:!0,get:()=>e.SyTimeSelect});Object.defineProperty(exports,"SyTooltip",{enumerable:!0,get:()=>e.SyTooltip});Object.defineProperty(exports,"SyTree",{enumerable:!0,get:()=>e.SyTree});Object.defineProperty(exports,"SyUpload",{enumerable:!0,get:()=>e.SyUpload});exports.version=r.version;exports.useDebounce=S.useDebounce;exports.useNamespace=S.useNamespace;exports.SunyardSzyyUIResolver=y.SunyardSzyyUIResolver;exports.debounce=y.debounce;exports.deepClone=y.deepClone;exports.formatDate=y.formatDate;exports.throttle=y.throttle;exports.withInstall=y.withInstall;exports.makeInstaller=a.makeInstaller;exports.default=i;exports.install=u;
|
package/lib/make-installer.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use strict";/*!
|
|
2
|
-
* sunyard-szyy-ui v0.
|
|
2
|
+
* sunyard-szyy-ui v0.6.0
|
|
3
3
|
* (c) 2026 Sunyard SZYY Base Team
|
|
4
4
|
*/Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=Symbol("SUNYARD_SZYY_UI_INSTALLED"),s=(l=[],r="0.0.0")=>({version:r,install:t=>{t[e]||(t[e]=!0,l.forEach(n=>t.use(n)))}});exports.makeInstaller=s;
|
package/lib/utils/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";/*!
|
|
2
|
-
* sunyard-szyy-ui v0.
|
|
2
|
+
* sunyard-szyy-ui v0.6.0
|
|
3
3
|
* (c) 2026 Sunyard SZYY Base Team
|
|
4
4
|
*/Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function P(e,n="Sy"){return e.slice(n.length).replace(/([A-Z])/g,"-$1").toLowerCase().slice(1)}var R={option:"select","table-column":"table","form-item":"form","checkbox-group":"checkbox","radio-group":"radio","tab-pane":"tabs","skeleton-item":"skeleton",row:"layout",col:"layout",header:"container",aside:"container",main:"container",footer:"container","dropdown-menu":"dropdown","dropdown-item":"dropdown","sub-menu":"menu","menu-item":"menu","menu-item-group":"menu",step:"steps","descriptions-item":"descriptions","collapse-item":"collapse"},w={Loading:{exportName:"SyLoadingDirective",dirName:"loading"}};function D(e={}){const{prefix:n="Sy",importStyle:t=!0,libraryName:r="sunyard-szyy-ui",styleLibraryName:i="sunyard-szyy-ui/theme-chalk",componentsLibraryName:g="@sunyard-szyy-ui/components",devMode:y=!1,importMetaUrl:l,fileURLToPath:u,dirResolver:h}=e;if(y&&!h&&(!l||!u))throw new Error(`[SunyardSzyyUIResolver] devMode 启用时必须提供 importMetaUrl 和 fileURLToPath 参数
|
|
5
5
|
示例:
|
package/lib/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const version = "0.
|
|
1
|
+
export declare const version = "0.6.0";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/lib/version.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use strict";/*!
|
|
2
|
-
* sunyard-szyy-ui v0.
|
|
2
|
+
* sunyard-szyy-ui v0.6.0
|
|
3
3
|
* (c) 2026 Sunyard SZYY Base Team
|
|
4
|
-
*/Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e="0.
|
|
4
|
+
*/Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e="0.6.0";exports.version=e;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sunyard-szyy-ui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.6.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"module": "es/index.mjs",
|
|
@@ -83,9 +83,9 @@
|
|
|
83
83
|
"vue": "^3.0.0"
|
|
84
84
|
},
|
|
85
85
|
"dependencies": {
|
|
86
|
-
"@sunyard-szyy-ui/
|
|
87
|
-
"@sunyard-szyy-ui/
|
|
88
|
-
"@sunyard-szyy-ui/
|
|
86
|
+
"@sunyard-szyy-ui/components": "0.6.0",
|
|
87
|
+
"@sunyard-szyy-ui/hooks": "0.6.0",
|
|
88
|
+
"@sunyard-szyy-ui/utils": "0.6.0"
|
|
89
89
|
},
|
|
90
90
|
"publishConfig": {
|
|
91
91
|
"access": "public"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
*,*::before,*::after{box-sizing:border-box}:root{--el-color-primary: #6473ff !important;--el-color-primary-light-3: #939dff !important;--el-color-primary-light-5: #b2b9ff !important;--el-color-primary-light-7: #d1d5ff !important;--el-color-primary-light-8: #e0e3ff !important;--el-color-primary-light-9: #f0f1ff !important;--el-color-primary-dark-2: #505ccc !important;--el-color-success: #00be8c !important;--el-color-success-light-3: #4dd2af !important;--el-color-success-light-5: #80dfc6 !important;--el-color-success-light-7: #b3ecdd !important;--el-color-success-light-8: #ccf2e8 !important;--el-color-success-light-9: #e6f9f4 !important;--el-color-success-dark-2: #009870 !important;--el-color-warning: #fe9c48 !important;--el-color-warning-light-3: #feba7f !important;--el-color-warning-light-5: #ffcea4 !important;--el-color-warning-light-7: #ffe1c8 !important;--el-color-warning-light-8: #ffebda !important;--el-color-warning-light-9: #fff5ed !important;--el-color-warning-dark-2: #cb7d3a !important;--el-color-danger: #ff7272 !important;--el-color-danger-light-3: #ff9c9c !important;--el-color-danger-light-5: #ffb9b9 !important;--el-color-danger-light-7: #ffd5d5 !important;--el-color-danger-light-8: #ffe3e3 !important;--el-color-danger-light-9: #fff1f1 !important;--el-color-danger-dark-2: #cc5b5b !important;--el-color-error: #ff7272 !important;--el-color-error-light-3: #ff9c9c !important;--el-color-error-light-5: #ffb9b9 !important;--el-color-error-light-7: #ffd5d5 !important;--el-color-error-light-8: #ffe3e3 !important;--el-color-error-light-9: #fff1f1 !important;--el-color-error-dark-2: #cc5b5b !important;--el-color-info: #99a2b2 !important;--el-color-info-light-3: #b8bec9 !important;--el-color-info-light-5: #ccd1d9 !important;--el-color-info-light-7: #e0e3e8 !important;--el-color-info-light-8: #ebecf0 !important;--el-color-info-light-9: #f5f6f7 !important;--el-color-info-dark-2: #7a828e !important;--el-text-color-primary: #222222 !important;--el-text-color-regular: #4b505a !important;--el-text-color-secondary: #909399 !important;--el-text-color-placeholder: #c1cacf !important;--el-text-color-disabled: #c1cacf !important;--sy-color-primary: var(--el-color-primary);--sy-color-primary-light-3: var(--el-color-primary-light-3);--sy-color-primary-light-5: var(--el-color-primary-light-5);--sy-color-primary-light-7: var(--el-color-primary-light-7);--sy-color-primary-light-8: var(--el-color-primary-light-8);--sy-color-primary-light-9: var(--el-color-primary-light-9);--sy-color-primary-dark-2: var(--el-color-primary-dark-2);--sy-color-success: var(--el-color-success);--sy-color-success-light-3: var(--el-color-success-light-3);--sy-color-success-light-5: var(--el-color-success-light-5);--sy-color-success-light-7: var(--el-color-success-light-7);--sy-color-success-light-8: var(--el-color-success-light-8);--sy-color-success-light-9: var(--el-color-success-light-9);--sy-color-success-dark-2: var(--el-color-success-dark-2);--sy-color-warning: var(--el-color-warning);--sy-color-warning-light-3: var(--el-color-warning-light-3);--sy-color-warning-light-5: var(--el-color-warning-light-5);--sy-color-warning-light-7: var(--el-color-warning-light-7);--sy-color-warning-light-8: var(--el-color-warning-light-8);--sy-color-warning-light-9: var(--el-color-warning-light-9);--sy-color-warning-dark-2: var(--el-color-warning-dark-2);--sy-color-danger: var(--el-color-danger);--sy-color-danger-light-3: var(--el-color-danger-light-3);--sy-color-danger-light-5: var(--el-color-danger-light-5);--sy-color-danger-light-7: var(--el-color-danger-light-7);--sy-color-danger-light-8: var(--el-color-danger-light-8);--sy-color-danger-light-9: var(--el-color-danger-light-9);--sy-color-danger-dark-2: var(--el-color-danger-dark-2);--sy-color-info: var(--el-color-info);--sy-color-info-light-3: var(--el-color-info-light-3);--sy-color-info-light-5: var(--el-color-info-light-5);--sy-color-info-light-7: var(--el-color-info-light-7);--sy-color-info-light-8: var(--el-color-info-light-8);--sy-color-info-light-9: var(--el-color-info-light-9);--sy-color-info-dark-2: var(--el-color-info-dark-2);--sy-text-color-primary: var(--el-text-color-primary);--sy-text-color-regular: var(--el-text-color-regular);--sy-text-color-secondary: var(--el-text-color-secondary);--sy-text-color-placeholder: var(--el-text-color-placeholder)}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
*,*::before,*::after{box-sizing:border-box}:root{--el-color-primary: #6473ff !important;--el-color-primary-light-3: #939dff !important;--el-color-primary-light-5: #b2b9ff !important;--el-color-primary-light-7: #d1d5ff !important;--el-color-primary-light-8: #e0e3ff !important;--el-color-primary-light-9: #f0f1ff !important;--el-color-primary-dark-2: #505ccc !important;--el-color-success: #00be8c !important;--el-color-success-light-3: #4dd2af !important;--el-color-success-light-5: #80dfc6 !important;--el-color-success-light-7: #b3ecdd !important;--el-color-success-light-8: #ccf2e8 !important;--el-color-success-light-9: #e6f9f4 !important;--el-color-success-dark-2: #009870 !important;--el-color-warning: #fe9c48 !important;--el-color-warning-light-3: #feba7f !important;--el-color-warning-light-5: #ffcea4 !important;--el-color-warning-light-7: #ffe1c8 !important;--el-color-warning-light-8: #ffebda !important;--el-color-warning-light-9: #fff5ed !important;--el-color-warning-dark-2: #cb7d3a !important;--el-color-danger: #ff7272 !important;--el-color-danger-light-3: #ff9c9c !important;--el-color-danger-light-5: #ffb9b9 !important;--el-color-danger-light-7: #ffd5d5 !important;--el-color-danger-light-8: #ffe3e3 !important;--el-color-danger-light-9: #fff1f1 !important;--el-color-danger-dark-2: #cc5b5b !important;--el-color-error: #ff7272 !important;--el-color-error-light-3: #ff9c9c !important;--el-color-error-light-5: #ffb9b9 !important;--el-color-error-light-7: #ffd5d5 !important;--el-color-error-light-8: #ffe3e3 !important;--el-color-error-light-9: #fff1f1 !important;--el-color-error-dark-2: #cc5b5b !important;--el-color-info: #99a2b2 !important;--el-color-info-light-3: #b8bec9 !important;--el-color-info-light-5: #ccd1d9 !important;--el-color-info-light-7: #e0e3e8 !important;--el-color-info-light-8: #ebecf0 !important;--el-color-info-light-9: #f5f6f7 !important;--el-color-info-dark-2: #7a828e !important;--el-text-color-primary: #222222 !important;--el-text-color-regular: #4b505a !important;--el-text-color-secondary: #909399 !important;--el-text-color-placeholder: #c1cacf !important;--el-text-color-disabled: #c1cacf !important;--sy-color-primary: var(--el-color-primary);--sy-color-primary-light-3: var(--el-color-primary-light-3);--sy-color-primary-light-5: var(--el-color-primary-light-5);--sy-color-primary-light-7: var(--el-color-primary-light-7);--sy-color-primary-light-8: var(--el-color-primary-light-8);--sy-color-primary-light-9: var(--el-color-primary-light-9);--sy-color-primary-dark-2: var(--el-color-primary-dark-2);--sy-color-success: var(--el-color-success);--sy-color-success-light-3: var(--el-color-success-light-3);--sy-color-success-light-5: var(--el-color-success-light-5);--sy-color-success-light-7: var(--el-color-success-light-7);--sy-color-success-light-8: var(--el-color-success-light-8);--sy-color-success-light-9: var(--el-color-success-light-9);--sy-color-success-dark-2: var(--el-color-success-dark-2);--sy-color-warning: var(--el-color-warning);--sy-color-warning-light-3: var(--el-color-warning-light-3);--sy-color-warning-light-5: var(--el-color-warning-light-5);--sy-color-warning-light-7: var(--el-color-warning-light-7);--sy-color-warning-light-8: var(--el-color-warning-light-8);--sy-color-warning-light-9: var(--el-color-warning-light-9);--sy-color-warning-dark-2: var(--el-color-warning-dark-2);--sy-color-danger: var(--el-color-danger);--sy-color-danger-light-3: var(--el-color-danger-light-3);--sy-color-danger-light-5: var(--el-color-danger-light-5);--sy-color-danger-light-7: var(--el-color-danger-light-7);--sy-color-danger-light-8: var(--el-color-danger-light-8);--sy-color-danger-light-9: var(--el-color-danger-light-9);--sy-color-danger-dark-2: var(--el-color-danger-dark-2);--sy-color-info: var(--el-color-info);--sy-color-info-light-3: var(--el-color-info-light-3);--sy-color-info-light-5: var(--el-color-info-light-5);--sy-color-info-light-7: var(--el-color-info-light-7);--sy-color-info-light-8: var(--el-color-info-light-8);--sy-color-info-light-9: var(--el-color-info-light-9);--sy-color-info-dark-2: var(--el-color-info-dark-2);--sy-text-color-primary: var(--el-text-color-primary);--sy-text-color-regular: var(--el-text-color-regular);--sy-text-color-secondary: var(--el-text-color-secondary);--sy-text-color-placeholder: var(--el-text-color-placeholder)}.sy-search-bar{display:flex;gap:8px;align-items:center}.sy-search-bar__input{flex:1;min-width:0}.sy-search-bar__button{flex:none}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.sy-search-bar{display:flex;gap:8px;align-items:center}.sy-search-bar__input{flex:1;min-width:0}.sy-search-bar__button{flex:none}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
@forward 'element-plus/theme-chalk/src/common/var.scss' with (
|
|
2
|
+
$colors: (
|
|
3
|
+
'primary': (
|
|
4
|
+
'base': #6473ff
|
|
5
|
+
),
|
|
6
|
+
'success': (
|
|
7
|
+
'base': #00be8c
|
|
8
|
+
),
|
|
9
|
+
'warning': (
|
|
10
|
+
'base': #fe9c48
|
|
11
|
+
),
|
|
12
|
+
'danger': (
|
|
13
|
+
'base': #ff7272
|
|
14
|
+
),
|
|
15
|
+
'error': (
|
|
16
|
+
'base': #ff7272
|
|
17
|
+
),
|
|
18
|
+
'info': (
|
|
19
|
+
'base': #99a2b2
|
|
20
|
+
)
|
|
21
|
+
)
|
|
22
|
+
);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
@forward 'element-plus/theme-chalk/src/common/var.scss' with (
|
|
2
|
+
$colors: (
|
|
3
|
+
'primary': (
|
|
4
|
+
'base': #6473ff
|
|
5
|
+
),
|
|
6
|
+
'success': (
|
|
7
|
+
'base': #00be8c
|
|
8
|
+
),
|
|
9
|
+
'warning': (
|
|
10
|
+
'base': #fe9c48
|
|
11
|
+
),
|
|
12
|
+
'danger': (
|
|
13
|
+
'base': #ff7272
|
|
14
|
+
),
|
|
15
|
+
'error': (
|
|
16
|
+
'base': #ff7272
|
|
17
|
+
),
|
|
18
|
+
'info': (
|
|
19
|
+
'base': #99a2b2
|
|
20
|
+
)
|
|
21
|
+
)
|
|
22
|
+
);
|