tinci-data-ui 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1 @@
1
+ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("vue")):"function"==typeof define&&define.amd?define(["exports","vue"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).tinciDataUI={},e.Vue)}(this,(function(e,t){"use strict";var n;const o="undefined"!=typeof window,r=e=>"string"==typeof e,a=()=>{};function l(e){return"function"==typeof e?e():t.unref(e)}function u(e){return!!t.getCurrentScope()&&(t.onScopeDispose(e),!0)}function i(e){var t;const n=l(e);return null!=(t=null==n?void 0:n.$el)?t:n}o&&(null==(n=null==window?void 0:window.navigator)?void 0:n.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);const s=o?window:void 0;function c(...e){let n,o,c,p;if(r(e[0])||Array.isArray(e[0])?([o,c,p]=e,n=s):[n,o,c,p]=e,!n)return a;Array.isArray(o)||(o=[o]),Array.isArray(c)||(c=[c]);const d=[],f=()=>{d.forEach((e=>e())),d.length=0},m=t.watch((()=>[i(n),l(p)]),(([e,t])=>{f(),e&&d.push(...o.flatMap((n=>c.map((o=>((e,t,n,o)=>(e.addEventListener(t,n,o),()=>e.removeEventListener(t,n,o)))(e,n,o,t))))))}),{immediate:!0,flush:"post"}),v=()=>{m(),f()};return u(v),v}function p(e,n=!1){const o=t.ref(),r=()=>o.value=Boolean(e());return r(),function(e,n=!0){t.getCurrentInstance()?t.onMounted(e):n?e():t.nextTick(e)}(r,n),o}const d="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},f="__vueuse_ssr_handlers__";d[f]=d[f]||{};var m,v,h=Object.getOwnPropertySymbols,y=Object.prototype.hasOwnProperty,g=Object.prototype.propertyIsEnumerable;function b(e,n,o={}){const r=o,{window:a=s}=r,l=((e,t)=>{var n={};for(var o in e)y.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&h)for(var o of h(e))t.indexOf(o)<0&&g.call(e,o)&&(n[o]=e[o]);return n})(r,["window"]);let c;const d=p((()=>a&&"ResizeObserver"in a)),f=()=>{c&&(c.disconnect(),c=void 0)},m=t.watch((()=>i(e)),(e=>{f(),d.value&&a&&e&&(c=new ResizeObserver(n),c.observe(e,l))}),{immediate:!0,flush:"post"}),v=()=>{f(),m()};return u(v),{isSupported:d,stop:v}}(v=m||(m={})).UP="UP",v.RIGHT="RIGHT",v.DOWN="DOWN",v.LEFT="LEFT",v.NONE="NONE";var x=Object.defineProperty,w=Object.getOwnPropertySymbols,C=Object.prototype.hasOwnProperty,_=Object.prototype.propertyIsEnumerable,k=(e,t,n)=>t in e?x(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;((e,t)=>{for(var n in t||(t={}))C.call(t,n)&&k(e,n,t[n]);if(w)for(var n of w(t))_.call(t,n)&&k(e,n,t[n])})({linear:function(e){return e}},{easeInSine:[.12,0,.39,0],easeOutSine:[.61,1,.88,1],easeInOutSine:[.37,0,.63,1],easeInQuad:[.11,0,.5,0],easeOutQuad:[.5,1,.89,1],easeInOutQuad:[.45,0,.55,1],easeInCubic:[.32,0,.67,0],easeOutCubic:[.33,1,.68,1],easeInOutCubic:[.65,0,.35,1],easeInQuart:[.5,0,.75,0],easeOutQuart:[.25,1,.5,1],easeInOutQuart:[.76,0,.24,1],easeInQuint:[.64,0,.78,0],easeOutQuint:[.22,1,.36,1],easeInOutQuint:[.83,0,.17,1],easeInExpo:[.7,0,.84,0],easeOutExpo:[.16,1,.3,1],easeInOutExpo:[.87,0,.13,1],easeInCirc:[.55,0,1,.45],easeOutCirc:[0,.55,.45,1],easeInOutCirc:[.85,0,.15,1],easeInBack:[.36,0,.66,-.56],easeOutBack:[.34,1.56,.64,1],easeInOutBack:[.68,-.6,.32,1.6]});"production"===process.env.NODE_ENV||Object.freeze({}),"production"===process.env.NODE_ENV||Object.freeze([]);const S=()=>{},E=Object.prototype.hasOwnProperty,O=(e,t)=>E.call(e,t),I=e=>"function"==typeof e,B=e=>"string"==typeof e,z=e=>null!==e&&"object"==typeof e;var N="object"==typeof global&&global&&global.Object===Object&&global,j="object"==typeof self&&self&&self.Object===Object&&self,V=N||j||Function("return this")(),$=V.Symbol,P=Object.prototype,M=P.hasOwnProperty,F=P.toString,A=$?$.toStringTag:void 0;var T=Object.prototype.toString;var L="[object Null]",R="[object Undefined]",D=$?$.toStringTag:void 0;function H(e){return null==e?void 0===e?R:L:D&&D in Object(e)?function(e){var t=M.call(e,A),n=e[A];try{e[A]=void 0;var o=!0}catch(a){}var r=F.call(e);return o&&(t?e[A]=n:delete e[A]),r}(e):function(e){return T.call(e)}(e)}function K(e){return null!=e&&"object"==typeof e}var Q="[object Symbol]";function U(e){return"symbol"==typeof e||K(e)&&H(e)==Q}var W=Array.isArray,q=1/0,Z=$?$.prototype:void 0,G=Z?Z.toString:void 0;function J(e){if("string"==typeof e)return e;if(W(e))return function(e,t){for(var n=-1,o=null==e?0:e.length,r=Array(o);++n<o;)r[n]=t(e[n],n,e);return r}(e,J)+"";if(U(e))return G?G.call(e):"";var t=e+"";return"0"==t&&1/e==-q?"-0":t}function Y(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}var X="[object AsyncFunction]",ee="[object Function]",te="[object GeneratorFunction]",ne="[object Proxy]";var oe,re=V["__core-js_shared__"],ae=(oe=/[^.]+$/.exec(re&&re.keys&&re.keys.IE_PROTO||""))?"Symbol(src)_1."+oe:"";var le=Function.prototype.toString;var ue=/^\[object .+?Constructor\]$/,ie=Function.prototype,se=Object.prototype,ce=ie.toString,pe=se.hasOwnProperty,de=RegExp("^"+ce.call(pe).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function fe(e){if(!Y(e)||(t=e,ae&&ae in t))return!1;var t,n=function(e){if(!Y(e))return!1;var t=H(e);return t==ee||t==te||t==X||t==ne}(e)?de:ue;return n.test(function(e){if(null!=e){try{return le.call(e)}catch(t){}try{return e+""}catch(t){}}return""}(e))}function me(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return fe(n)?n:void 0}var ve=Date.now;var he,ye,ge,be=function(){try{var e=me(Object,"defineProperty");return e({},"",{}),e}catch(t){}}(),xe=be?function(e,t){return be(e,"toString",{configurable:!0,enumerable:!1,value:(n=t,function(){return n}),writable:!0});var n}:function(e){return e},we=(he=xe,ye=0,ge=0,function(){var e=ve(),t=16-(e-ge);if(ge=e,t>0){if(++ye>=800)return arguments[0]}else ye=0;return he.apply(void 0,arguments)}),Ce=9007199254740991,_e=/^(?:0|[1-9]\d*)$/;function ke(e,t){var n=typeof e;return!!(t=null==t?Ce:t)&&("number"==n||"symbol"!=n&&_e.test(e))&&e>-1&&e%1==0&&e<t}function Se(e,t){return e===t||e!=e&&t!=t}var Ee=Object.prototype.hasOwnProperty;function Oe(e,t,n){var o=e[t];Ee.call(e,t)&&Se(o,n)&&(void 0!==n||t in e)||function(e,t,n){"__proto__"==t&&be?be(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}(e,t,n)}var Ie=Math.max;var Be=9007199254740991;function ze(e){return K(e)&&"[object Arguments]"==H(e)}var Ne=Object.prototype,je=Ne.hasOwnProperty,Ve=Ne.propertyIsEnumerable,$e=ze(function(){return arguments}())?ze:function(e){return K(e)&&je.call(e,"callee")&&!Ve.call(e,"callee")},Pe=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Me=/^\w*$/;var Fe=me(Object,"create");var Ae=Object.prototype.hasOwnProperty;var Te=Object.prototype.hasOwnProperty;function Le(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var o=e[t];this.set(o[0],o[1])}}function Re(e,t){for(var n=e.length;n--;)if(Se(e[n][0],t))return n;return-1}Le.prototype.clear=function(){this.__data__=Fe?Fe(null):{},this.size=0},Le.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},Le.prototype.get=function(e){var t=this.__data__;if(Fe){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return Ae.call(t,e)?t[e]:void 0},Le.prototype.has=function(e){var t=this.__data__;return Fe?void 0!==t[e]:Te.call(t,e)},Le.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=Fe&&void 0===t?"__lodash_hash_undefined__":t,this};var De=Array.prototype.splice;function He(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var o=e[t];this.set(o[0],o[1])}}He.prototype.clear=function(){this.__data__=[],this.size=0},He.prototype.delete=function(e){var t=this.__data__,n=Re(t,e);return!(n<0)&&(n==t.length-1?t.pop():De.call(t,n,1),--this.size,!0)},He.prototype.get=function(e){var t=this.__data__,n=Re(t,e);return n<0?void 0:t[n][1]},He.prototype.has=function(e){return Re(this.__data__,e)>-1},He.prototype.set=function(e,t){var n=this.__data__,o=Re(n,e);return o<0?(++this.size,n.push([e,t])):n[o][1]=t,this};var Ke=me(V,"Map");function Qe(e,t){var n,o,r=e.__data__;return("string"==(o=typeof(n=t))||"number"==o||"symbol"==o||"boolean"==o?"__proto__"!==n:null===n)?r["string"==typeof t?"string":"hash"]:r.map}function Ue(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var o=e[t];this.set(o[0],o[1])}}Ue.prototype.clear=function(){this.size=0,this.__data__={hash:new Le,map:new(Ke||He),string:new Le}},Ue.prototype.delete=function(e){var t=Qe(this,e).delete(e);return this.size-=t?1:0,t},Ue.prototype.get=function(e){return Qe(this,e).get(e)},Ue.prototype.has=function(e){return Qe(this,e).has(e)},Ue.prototype.set=function(e,t){var n=Qe(this,e),o=n.size;return n.set(e,t),this.size+=n.size==o?0:1,this};var We="Expected a function";function qe(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError(We);var n=function(){var o=arguments,r=t?t.apply(this,o):o[0],a=n.cache;if(a.has(r))return a.get(r);var l=e.apply(this,o);return n.cache=a.set(r,l)||a,l};return n.cache=new(qe.Cache||Ue),n}qe.Cache=Ue;var Ze=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Ge=/\\(\\)?/g,Je=function(e){var t=qe(e,(function(e){return 500===n.size&&n.clear(),e})),n=t.cache;return t}((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(Ze,(function(e,n,o,r){t.push(o?r.replace(Ge,"$1"):n||e)})),t}));function Ye(e,t){return W(e)?e:function(e,t){if(W(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!U(e))||Me.test(e)||!Pe.test(e)||null!=t&&e in Object(t)}(e,t)?[e]:Je(function(e){return null==e?"":J(e)}(e))}var Xe=1/0;function et(e){if("string"==typeof e||U(e))return e;var t=e+"";return"0"==t&&1/e==-Xe?"-0":t}function tt(e,t){for(var n=0,o=(t=Ye(t,e)).length;null!=e&&n<o;)e=e[et(t[n++])];return n&&n==o?e:void 0}function nt(e,t){for(var n=-1,o=t.length,r=e.length;++n<o;)e[r+n]=t[n];return e}var ot=$?$.isConcatSpreadable:void 0;function rt(e){return W(e)||$e(e)||!!(ot&&e&&e[ot])}function at(e){return(null==e?0:e.length)?function(e,t,n,o,r){var a=-1,l=e.length;for(n||(n=rt),r||(r=[]);++a<l;){var u=e[a];n(u)?nt(r,u):r[r.length]=u}return r}(e):[]}function lt(e,t){return null!=e&&t in Object(e)}function ut(e,t,n){for(var o,r=-1,a=(t=Ye(t,e)).length,l=!1;++r<a;){var u=et(t[r]);if(!(l=null!=e&&n(e,u)))break;e=e[u]}return l||++r!=a?l:!!(a=null==e?0:e.length)&&("number"==typeof(o=a)&&o>-1&&o%1==0&&o<=Be)&&ke(u,a)&&(W(e)||$e(e))}function it(e){for(var t=-1,n=null==e?0:e.length,o={};++t<n;){var r=e[t];o[r[0]]=r[1]}return o}function st(e,t,n,o){if(!Y(e))return e;for(var r=-1,a=(t=Ye(t,e)).length,l=a-1,u=e;null!=u&&++r<a;){var i=et(t[r]),s=n;if("__proto__"===i||"constructor"===i||"prototype"===i)return e;if(r!=l){var c=u[i];void 0===(s=void 0)&&(s=Y(c)?c:ke(t[r+1])?[]:{})}Oe(u,i,s),u=u[i]}return e}function ct(e,t){return function(e,t,n){for(var o=-1,r=t.length,a={};++o<r;){var l=t[o],u=tt(e,l);n(u,l)&&st(a,Ye(l,e),u)}return a}(e,t,(function(t,n){return function(e,t){return null!=e&&ut(e,t,lt)}(e,n)}))}var pt=function(e){return we(function(e,t,n){return t=Ie(void 0===t?e.length-1:t,0),function(){for(var o=arguments,r=-1,a=Ie(o.length-t,0),l=Array(a);++r<a;)l[r]=o[t+r];r=-1;for(var u=Array(t+1);++r<t;)u[r]=o[r];return u[t]=n(l),function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}(e,this,u)}}(e,void 0,at),e+"")}((function(e,t){return null==e?{}:ct(e,t)}));const dt=e=>"number"==typeof e;class ft extends Error{constructor(e){super(e),this.name="ElementPlusError"}}function mt(e,t){if("production"!==process.env.NODE_ENV){B(e)&&new ft(`[${e}] ${t}`)}}function vt(e,t="px"){return e?dt(e)||B(n=e)&&!Number.isNaN(Number(n))?`${e}${t}`:B(e)?e:void mt("utils/dom/style","binding value must be a string or number"):"";var n}var ht=t.defineComponent({name:"CircleCheck",__name:"circle-check",setup:e=>(e,n)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"}),t.createElementVNode("path",{fill:"currentColor",d:"M745.344 361.344a32 32 0 0 1 45.312 45.312l-288 288a32 32 0 0 1-45.312 0l-160-160a32 32 0 1 1 45.312-45.312L480 626.752l265.344-265.408z"})]))}),yt=t.defineComponent({name:"CircleClose",__name:"circle-close",setup:e=>(e,n)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"m466.752 512-90.496-90.496a32 32 0 0 1 45.248-45.248L512 466.752l90.496-90.496a32 32 0 1 1 45.248 45.248L557.248 512l90.496 90.496a32 32 0 1 1-45.248 45.248L512 557.248l-90.496 90.496a32 32 0 0 1-45.248-45.248z"}),t.createElementVNode("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"})]))}),gt=t.defineComponent({name:"Hide",__name:"hide",setup:e=>(e,n)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M876.8 156.8c0-9.6-3.2-16-9.6-22.4-6.4-6.4-12.8-9.6-22.4-9.6-9.6 0-16 3.2-22.4 9.6L736 220.8c-64-32-137.6-51.2-224-60.8-160 16-288 73.6-377.6 176C44.8 438.4 0 496 0 512s48 73.6 134.4 176c22.4 25.6 44.8 48 73.6 67.2l-86.4 89.6c-6.4 6.4-9.6 12.8-9.6 22.4 0 9.6 3.2 16 9.6 22.4 6.4 6.4 12.8 9.6 22.4 9.6 9.6 0 16-3.2 22.4-9.6l704-710.4c3.2-6.4 6.4-12.8 6.4-22.4Zm-646.4 528c-76.8-70.4-128-128-153.6-172.8 28.8-48 80-105.6 153.6-172.8C304 272 400 230.4 512 224c64 3.2 124.8 19.2 176 44.8l-54.4 54.4C598.4 300.8 560 288 512 288c-64 0-115.2 22.4-160 64s-64 96-64 160c0 48 12.8 89.6 35.2 124.8L256 707.2c-9.6-6.4-19.2-16-25.6-22.4Zm140.8-96c-12.8-22.4-19.2-48-19.2-76.8 0-44.8 16-83.2 48-112 32-28.8 67.2-48 112-48 28.8 0 54.4 6.4 73.6 19.2zM889.599 336c-12.8-16-28.8-28.8-41.6-41.6l-48 48c73.6 67.2 124.8 124.8 150.4 169.6-28.8 48-80 105.6-153.6 172.8-73.6 67.2-172.8 108.8-284.8 115.2-51.2-3.2-99.2-12.8-140.8-28.8l-48 48c57.6 22.4 118.4 38.4 188.8 44.8 160-16 288-73.6 377.6-176C979.199 585.6 1024 528 1024 512s-48.001-73.6-134.401-176Z"}),t.createElementVNode("path",{fill:"currentColor",d:"M511.998 672c-12.8 0-25.6-3.2-38.4-6.4l-51.2 51.2c28.8 12.8 57.6 19.2 89.6 19.2 64 0 115.2-22.4 160-64 41.6-41.6 64-96 64-160 0-32-6.4-64-19.2-89.6l-51.2 51.2c3.2 12.8 6.4 25.6 6.4 38.4 0 44.8-16 83.2-48 112-32 28.8-67.2 48-112 48Z"})]))}),bt=t.defineComponent({name:"Loading",__name:"loading",setup:e=>(e,n)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M512 64a32 32 0 0 1 32 32v192a32 32 0 0 1-64 0V96a32 32 0 0 1 32-32m0 640a32 32 0 0 1 32 32v192a32 32 0 1 1-64 0V736a32 32 0 0 1 32-32m448-192a32 32 0 0 1-32 32H736a32 32 0 1 1 0-64h192a32 32 0 0 1 32 32m-640 0a32 32 0 0 1-32 32H96a32 32 0 0 1 0-64h192a32 32 0 0 1 32 32M195.2 195.2a32 32 0 0 1 45.248 0L376.32 331.008a32 32 0 0 1-45.248 45.248L195.2 240.448a32 32 0 0 1 0-45.248zm452.544 452.544a32 32 0 0 1 45.248 0L828.8 783.552a32 32 0 0 1-45.248 45.248L647.744 692.992a32 32 0 0 1 0-45.248zM828.8 195.264a32 32 0 0 1 0 45.184L692.992 376.32a32 32 0 0 1-45.248-45.248l135.808-135.808a32 32 0 0 1 45.248 0m-452.544 452.48a32 32 0 0 1 0 45.248L240.448 828.8a32 32 0 0 1-45.248-45.248l135.808-135.808a32 32 0 0 1 45.248 0z"})]))}),xt=t.defineComponent({name:"View",__name:"view",setup:e=>(e,n)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M512 160c320 0 512 352 512 352S832 864 512 864 0 512 0 512s192-352 512-352m0 64c-225.28 0-384.128 208.064-436.8 288 52.608 79.872 211.456 288 436.8 288 225.28 0 384.128-208.064 436.8-288-52.608-79.872-211.456-288-436.8-288zm0 64a224 224 0 1 1 0 448 224 224 0 0 1 0-448m0 64a160.192 160.192 0 0 0-160 160c0 88.192 71.744 160 160 160s160-71.808 160-160-71.744-160-160-160"})]))});const wt="__epPropKey",Ct=(e,n)=>{if(!z(e)||z(o=e)&&o[wt])return e;var o;const{values:r,required:a,default:l,type:u,validator:i}=e,s=r||i?o=>{let a=!1,u=[];if(r&&(u=Array.from(r),O(e,"default")&&u.push(l),a||(a=u.includes(o))),i&&(a||(a=i(o))),!a&&u.length>0){const e=[...new Set(u)].map((e=>JSON.stringify(e))).join(", ");t.warn(`Invalid prop: validation failed${n?` for prop "${n}"`:""}. Expected one of [${e}], got value ${JSON.stringify(o)}.`)}return a}:void 0,c={type:u,required:!!a,validator:s,[wt]:!0};return O(e,"default")&&(c.default=l),c},_t=e=>it(Object.entries(e).map((([e,t])=>[e,Ct(t,e)]))),kt=[String,Object,Function],St={validating:bt,success:ht,error:yt},Et=(e,t)=>(e.install=t=>{for(const n of[e,...Object.values({})])t.component(n.name,n)},e),Ot="update:modelValue",It=["class","style"],Bt=/^on[A-Z]/,zt="el",Nt=(e,t,n,o,r)=>{let a=`${e}-${t}`;return n&&(a+=`-${n}`),o&&(a+=`__${o}`),r&&(a+=`--${r}`),a},jt=Symbol("namespaceContextKey"),Vt=e=>{const n=t.getCurrentInstance()?t.inject(jt,t.ref(zt)):t.ref(zt);return t.computed((()=>t.unref(n)||zt))},$t=(e,t)=>{const n=Vt();return{namespace:n,b:(t="")=>Nt(n.value,e,t,"",""),e:t=>t?Nt(n.value,e,"",t,""):"",m:t=>t?Nt(n.value,e,"","",t):"",be:(t,o)=>t&&o?Nt(n.value,e,t,o,""):"",em:(t,o)=>t&&o?Nt(n.value,e,"",t,o):"",bm:(t,o)=>t&&o?Nt(n.value,e,t,"",o):"",bem:(t,o,r)=>t&&o&&r?Nt(n.value,e,t,o,r):"",is:(e,...t)=>{const n=!(t.length>=1)||t[0];return e&&n?`is-${e}`:""},cssVar:e=>{const t={};for(const o in e)e[o]&&(t[`--${n.value}-${o}`]=e[o]);return t},cssVarName:e=>`--${n.value}-${e}`,cssVarBlock:t=>{const o={};for(const r in t)t[r]&&(o[`--${n.value}-${e}-${r}`]=t[r]);return o},cssVarBlockName:t=>`--${n.value}-${e}-${t}`}},Pt=e=>{const n=t.getCurrentInstance();return t.computed((()=>{var t,o;return null==(o=null==(t=null==n?void 0:n.proxy)?void 0:t.$props)?void 0:o[e]}))},Mt={prefix:Math.floor(1e4*Math.random()),current:0},Ft=Symbol("elIdInjection"),At=e=>{const n=t.getCurrentInstance()?t.inject(Ft,Mt):Mt;o||n!==Mt||mt("IdInjection","Looks like you are using server rendering, you must provide a id provider to ensure the hydration process to be succeed\nusage: app.provide(ID_INJECTION_KEY, {\n prefix: number,\n current: number,\n})");const r=Vt();return t.computed((()=>t.unref(e)||`${r.value}-id-${n.prefix}-${n.current++}`))};const Tt=Ct({type:String,values:["","default","small","large"],required:!1}),Lt=Symbol("size");function Rt(e,{beforeFocus:n,afterFocus:o,beforeBlur:r,afterBlur:a}={}){const l=t.getCurrentInstance(),{emit:u}=l,i=t.shallowRef(),s=t.ref(!1),p=e=>{!!I(n)&&n(e)||s.value||(s.value=!0,u("focus",e),null==o||o())},d=e=>{var t;!!I(r)&&r(e)||e.relatedTarget&&(null==(t=i.value)?void 0:t.contains(e.relatedTarget))||(s.value=!1,u("blur",e),null==a||a())};return t.watch(i,(e=>{e&&e.setAttribute("tabindex","-1")})),c(i,"focus",p,!0),c(i,"blur",d,!0),c(i,"click",(()=>{var t,n;(null==(t=i.value)?void 0:t.contains(document.activeElement))&&i.value!==document.activeElement||null==(n=e.value)||n.focus()}),!0),"test"===process.env.NODE_ENV&&t.onMounted((()=>{const t=(n=e.value,"undefined"!=typeof Element&&n instanceof Element?e.value:document.querySelector("input,textarea"));var n;t&&(c(t,"focus",p,!0),c(t,"blur",d,!0))})),{isFocused:s,wrapperRef:i,handleFocus:p,handleBlur:d}}const Dt=_t({ariaLabel:String,ariaOrientation:{type:String,values:["horizontal","vertical","undefined"]},ariaControls:String});var Ht=(e,t)=>{const n=e.__vccOpts||e;for(const[o,r]of t)n[o]=r;return n};const Kt=_t({size:{type:[Number,String]},color:{type:String}}),Qt=t.defineComponent({name:"ElIcon",inheritAttrs:!1});const Ut=Et(Ht(t.defineComponent({...Qt,props:Kt,setup(e){const n=e,o=$t("icon"),r=t.computed((()=>{const{size:e,color:t}=n;return e||t?{fontSize:(o=e,void 0===o?void 0:vt(e)),"--color":t}:{};var o}));return(e,n)=>(t.openBlock(),t.createElementBlock("i",t.mergeProps({class:t.unref(o).b(),style:t.unref(r)},e.$attrs),[t.renderSlot(e.$slots,"default")],16))}}),[["__file","icon.vue"]])),Wt=Symbol("formContextKey"),qt=Symbol("formItemContextKey"),Zt=(e,n={})=>{const o=t.ref(void 0),r=n.prop?o:Pt("size"),a=n.global?o:(()=>{const e=t.inject(Lt,{});return t.computed((()=>t.unref(e.size)||""))})(),l=n.form?{size:void 0}:t.inject(Wt,void 0),u=n.formItem?{size:void 0}:t.inject(qt,void 0);return t.computed((()=>r.value||t.unref(e)||(null==u?void 0:u.size)||(null==l?void 0:l.size)||a.value||""))};let Gt;const Jt=`\n height:0 !important;\n visibility:hidden !important;\n ${o&&/firefox/i.test(window.navigator.userAgent)?"":"overflow:hidden !important;"}\n position:absolute !important;\n z-index:-1000 !important;\n top:0 !important;\n right:0 !important;\n`,Yt=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing"];function Xt(e,t=1,n){var o;Gt||(Gt=document.createElement("textarea"),document.body.appendChild(Gt));const{paddingSize:r,borderSize:a,boxSizing:l,contextStyle:u}=function(e){const t=window.getComputedStyle(e),n=t.getPropertyValue("box-sizing"),o=Number.parseFloat(t.getPropertyValue("padding-bottom"))+Number.parseFloat(t.getPropertyValue("padding-top")),r=Number.parseFloat(t.getPropertyValue("border-bottom-width"))+Number.parseFloat(t.getPropertyValue("border-top-width"));return{contextStyle:Yt.map((e=>`${e}:${t.getPropertyValue(e)}`)).join(";"),paddingSize:o,borderSize:r,boxSizing:n}}(e);Gt.setAttribute("style",`${u};${Jt}`),Gt.value=e.value||e.placeholder||"";let i=Gt.scrollHeight;const s={};"border-box"===l?i+=a:"content-box"===l&&(i-=r),Gt.value="";const c=Gt.scrollHeight-r;if(dt(t)){let e=c*t;"border-box"===l&&(e=e+r+a),i=Math.max(e,i),s.minHeight=`${e}px`}if(dt(n)){let e=c*n;"border-box"===l&&(e=e+r+a),i=Math.min(e,i)}return s.height=`${i}px`,null==(o=Gt.parentNode)||o.removeChild(Gt),Gt=void 0,s}const en=_t({id:{type:String,default:void 0},size:Tt,disabled:Boolean,modelValue:{type:[String,Number,Object],default:""},maxlength:{type:[String,Number]},minlength:{type:[String,Number]},type:{type:String,default:"text"},resize:{type:String,values:["none","both","horizontal","vertical"]},autosize:{type:[Boolean,Object],default:!1},autocomplete:{type:String,default:"off"},formatter:{type:Function},parser:{type:Function},placeholder:{type:String},form:{type:String},readonly:Boolean,clearable:Boolean,showPassword:Boolean,showWordLimit:Boolean,suffixIcon:{type:kt},prefixIcon:{type:kt},containerRole:{type:String,default:void 0},tabindex:{type:[String,Number],default:0},validateEvent:{type:Boolean,default:!0},inputStyle:{type:[Object,Array,String],default:()=>({})},autofocus:Boolean,rows:{type:Number,default:2},...(tn=["ariaLabel"],pt(Dt,tn))});var tn;const nn={[Ot]:e=>B(e),input:e=>B(e),change:e=>B(e),focus:e=>e instanceof FocusEvent,blur:e=>e instanceof FocusEvent,clear:()=>!0,mouseleave:e=>e instanceof MouseEvent,mouseenter:e=>e instanceof MouseEvent,keydown:e=>e instanceof Event,compositionstart:e=>e instanceof CompositionEvent,compositionupdate:e=>e instanceof CompositionEvent,compositionend:e=>e instanceof CompositionEvent},on=t.defineComponent({name:"ElInput",inheritAttrs:!1});const rn=Et(Ht(t.defineComponent({...on,props:en,emits:nn,setup(e,{expose:n,emit:r}){const a=e,l=t.useAttrs(),u=t.useSlots(),i=t.computed((()=>{const e={};return"combobox"===a.containerRole&&(e["aria-haspopup"]=l["aria-haspopup"],e["aria-owns"]=l["aria-owns"],e["aria-expanded"]=l["aria-expanded"]),e})),s=t.computed((()=>["textarea"===a.type?g.b():y.b(),y.m(v.value),y.is("disabled",h.value),y.is("exceed",K.value),{[y.b("group")]:u.prepend||u.append,[y.m("prefix")]:u.prefix||a.prefixIcon,[y.m("suffix")]:u.suffix||a.suffixIcon||a.clearable||a.showPassword,[y.bm("suffix","password-clear")]:L.value&&R.value,[y.b("hidden")]:"hidden"===a.type},l.class])),c=t.computed((()=>[y.e("wrapper"),y.is("focus",B.value)])),p=((e={})=>{const{excludeListeners:n=!1,excludeKeys:o}=e,r=t.computed((()=>((null==o?void 0:o.value)||[]).concat(It))),a=t.getCurrentInstance();return a?t.computed((()=>{var e;return it(Object.entries(null==(e=a.proxy)?void 0:e.$attrs).filter((([e])=>!(r.value.includes(e)||n&&Bt.test(e)))))})):(mt("use-attrs","getCurrentInstance() returned null. useAttrs() must be called at the top of a setup function"),t.computed((()=>({}))))})({excludeKeys:t.computed((()=>Object.keys(i.value)))}),{form:d,formItem:f}={form:t.inject(Wt,void 0),formItem:t.inject(qt,void 0)},{inputId:m}=((e,{formItemContext:n,disableIdGeneration:o,disableIdManagement:r})=>{o||(o=t.ref(!1)),r||(r=t.ref(!1));const a=t.ref();let l;const u=t.computed((()=>{var t;return!!(!e.label&&!e.ariaLabel&&n&&n.inputIds&&(null==(t=n.inputIds)?void 0:t.length)<=1)}));return t.onMounted((()=>{l=t.watch([t.toRef(e,"id"),o],(([e,t])=>{const o=null!=e?e:t?void 0:At().value;o!==a.value&&((null==n?void 0:n.removeInputId)&&(a.value&&n.removeInputId(a.value),(null==r?void 0:r.value)||t||!o||n.addInputId(o)),a.value=o)}),{immediate:!0})})),t.onUnmounted((()=>{l&&l(),(null==n?void 0:n.removeInputId)&&a.value&&n.removeInputId(a.value)})),{isLabeledByFormItem:u,inputId:a}})(a,{formItemContext:f}),v=Zt(),h=(e=>{const n=Pt("disabled"),o=t.inject(Wt,void 0);return t.computed((()=>n.value||t.unref(e)||(null==o?void 0:o.disabled)||!1))})(),y=$t("input"),g=$t("textarea"),x=t.shallowRef(),w=t.shallowRef(),C=t.ref(!1),_=t.ref(!1),k=t.ref(),E=t.shallowRef(a.inputStyle),O=t.computed((()=>x.value||w.value)),{wrapperRef:I,isFocused:B,handleFocus:N,handleBlur:j}=Rt(O,{afterBlur(){var e;a.validateEvent&&(null==(e=null==f?void 0:f.validate)||e.call(f,"blur").catch((e=>mt(e))))}}),V=t.computed((()=>{var e;return null!=(e=null==d?void 0:d.statusIcon)&&e})),$=t.computed((()=>(null==f?void 0:f.validateState)||"")),P=t.computed((()=>$.value&&St[$.value])),M=t.computed((()=>_.value?xt:gt)),F=t.computed((()=>[l.style])),A=t.computed((()=>[a.inputStyle,E.value,{resize:a.resize}])),T=t.computed((()=>null==a.modelValue?"":String(a.modelValue))),L=t.computed((()=>a.clearable&&!h.value&&!a.readonly&&!!T.value&&(B.value||C.value))),R=t.computed((()=>a.showPassword&&!h.value&&!a.readonly&&!!T.value&&(!!T.value||B.value))),D=t.computed((()=>a.showWordLimit&&!!a.maxlength&&("text"===a.type||"textarea"===a.type)&&!h.value&&!a.readonly&&!a.showPassword)),H=t.computed((()=>T.value.length)),K=t.computed((()=>!!D.value&&H.value>Number(a.maxlength))),Q=t.computed((()=>!!u.suffix||!!a.suffixIcon||L.value||a.showPassword||D.value||!!$.value&&V.value)),[U,W]=function(e){let t;return[function(){if(null==e.value)return;const{selectionStart:n,selectionEnd:o,value:r}=e.value;if(null==n||null==o)return;const a=r.slice(0,Math.max(0,n)),l=r.slice(Math.max(0,o));t={selectionStart:n,selectionEnd:o,value:r,beforeTxt:a,afterTxt:l}},function(){if(null==e.value||null==t)return;const{value:n}=e.value,{beforeTxt:o,afterTxt:r,selectionStart:a}=t;if(null==o||null==r||null==a)return;let l=n.length;if(n.endsWith(r))l=n.length-r.length;else if(n.startsWith(o))l=o.length;else{const e=o[a-1],t=n.indexOf(e,a-1);-1!==t&&(l=t+1)}e.value.setSelectionRange(l,l)}]}(x);b(w,(e=>{if(Z(),!D.value||"both"!==a.resize)return;const t=e[0],{width:n}=t.contentRect;k.value={right:`calc(100% - ${n+15+6}px)`}}));const q=()=>{const{type:e,autosize:n}=a;if(o&&"textarea"===e&&w.value)if(n){const e=z(n)?n.minRows:void 0,o=z(n)?n.maxRows:void 0,r=Xt(w.value,e,o);E.value={overflowY:"hidden",...r},t.nextTick((()=>{w.value.offsetHeight,E.value=r}))}else E.value={minHeight:Xt(w.value).minHeight}},Z=(e=>{let t=!1;return()=>{var n;if(t||!a.autosize)return;null===(null==(n=w.value)?void 0:n.offsetParent)||(e(),t=!0)}})(q),G=()=>{const e=O.value,t=a.formatter?a.formatter(T.value):T.value;e&&e.value!==t&&(e.value=t)},J=async e=>{U();let{value:n}=e.target;a.formatter&&(n=a.parser?a.parser(n):n),X.value||(n!==T.value?(r(Ot,n),r("input",n),await t.nextTick(),G(),W()):G())},Y=e=>{r("change",e.target.value)},{isComposing:X,handleCompositionStart:ee,handleCompositionUpdate:te,handleCompositionEnd:ne}=function({afterComposition:e,emit:n}){const o=t.ref(!1),r=e=>{var t;null==n||n("compositionupdate",e);const r=null==(t=e.target)?void 0:t.value,a=r[r.length-1]||"";o.value=!(e=>/([\uAC00-\uD7AF\u3130-\u318F])+/gi.test(e))(a)},a=r=>{null==n||n("compositionend",r),o.value&&(o.value=!1,t.nextTick((()=>e(r))))};return{isComposing:o,handleComposition:e=>{"compositionend"===e.type?a(e):r(e)},handleCompositionStart:e=>{null==n||n("compositionstart",e),o.value=!0},handleCompositionUpdate:r,handleCompositionEnd:a}}({emit:r,afterComposition:J}),oe=()=>{_.value=!_.value,re()},re=async()=>{var e;await t.nextTick(),null==(e=O.value)||e.focus()},ae=e=>{C.value=!1,r("mouseleave",e)},le=e=>{C.value=!0,r("mouseenter",e)},ue=e=>{r("keydown",e)},ie=()=>{r(Ot,""),r("change",""),r("clear"),r("input","")};return t.watch((()=>a.modelValue),(()=>{var e;t.nextTick((()=>q())),a.validateEvent&&(null==(e=null==f?void 0:f.validate)||e.call(f,"change").catch((e=>mt(e))))})),t.watch(T,(()=>G())),t.watch((()=>a.type),(async()=>{await t.nextTick(),G(),q()})),t.onMounted((()=>{!a.formatter&&a.parser&&mt("ElInput","If you set the parser, you also need to set the formatter."),G(),t.nextTick(q)})),n({input:x,textarea:w,ref:O,textareaStyle:A,autosize:t.toRef(a,"autosize"),isComposing:X,focus:re,blur:()=>{var e;return null==(e=O.value)?void 0:e.blur()},select:()=>{var e;null==(e=O.value)||e.select()},clear:ie,resizeTextarea:q}),(e,n)=>(t.openBlock(),t.createElementBlock("div",t.mergeProps(t.unref(i),{class:[t.unref(s),{[t.unref(y).bm("group","append")]:e.$slots.append,[t.unref(y).bm("group","prepend")]:e.$slots.prepend}],style:t.unref(F),role:e.containerRole,onMouseenter:le,onMouseleave:ae}),[t.createCommentVNode(" input "),"textarea"!==e.type?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createCommentVNode(" prepend slot "),e.$slots.prepend?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(t.unref(y).be("group","prepend"))},[t.renderSlot(e.$slots,"prepend")],2)):t.createCommentVNode("v-if",!0),t.createElementVNode("div",{ref_key:"wrapperRef",ref:I,class:t.normalizeClass(t.unref(c))},[t.createCommentVNode(" prefix slot "),e.$slots.prefix||e.prefixIcon?(t.openBlock(),t.createElementBlock("span",{key:0,class:t.normalizeClass(t.unref(y).e("prefix"))},[t.createElementVNode("span",{class:t.normalizeClass(t.unref(y).e("prefix-inner"))},[t.renderSlot(e.$slots,"prefix"),e.prefixIcon?(t.openBlock(),t.createBlock(t.unref(Ut),{key:0,class:t.normalizeClass(t.unref(y).e("icon"))},{default:t.withCtx((()=>[(t.openBlock(),t.createBlock(t.resolveDynamicComponent(e.prefixIcon)))])),_:1},8,["class"])):t.createCommentVNode("v-if",!0)],2)],2)):t.createCommentVNode("v-if",!0),t.createElementVNode("input",t.mergeProps({id:t.unref(m),ref_key:"input",ref:x,class:t.unref(y).e("inner")},t.unref(p),{minlength:e.minlength,maxlength:e.maxlength,type:e.showPassword?_.value?"text":"password":e.type,disabled:t.unref(h),readonly:e.readonly,autocomplete:e.autocomplete,tabindex:e.tabindex,"aria-label":e.ariaLabel,placeholder:e.placeholder,style:e.inputStyle,form:e.form,autofocus:e.autofocus,onCompositionstart:t.unref(ee),onCompositionupdate:t.unref(te),onCompositionend:t.unref(ne),onInput:J,onChange:Y,onKeydown:ue}),null,16,["id","minlength","maxlength","type","disabled","readonly","autocomplete","tabindex","aria-label","placeholder","form","autofocus","onCompositionstart","onCompositionupdate","onCompositionend"]),t.createCommentVNode(" suffix slot "),t.unref(Q)?(t.openBlock(),t.createElementBlock("span",{key:1,class:t.normalizeClass(t.unref(y).e("suffix"))},[t.createElementVNode("span",{class:t.normalizeClass(t.unref(y).e("suffix-inner"))},[t.unref(L)&&t.unref(R)&&t.unref(D)?t.createCommentVNode("v-if",!0):(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.renderSlot(e.$slots,"suffix"),e.suffixIcon?(t.openBlock(),t.createBlock(t.unref(Ut),{key:0,class:t.normalizeClass(t.unref(y).e("icon"))},{default:t.withCtx((()=>[(t.openBlock(),t.createBlock(t.resolveDynamicComponent(e.suffixIcon)))])),_:1},8,["class"])):t.createCommentVNode("v-if",!0)],64)),t.unref(L)?(t.openBlock(),t.createBlock(t.unref(Ut),{key:1,class:t.normalizeClass([t.unref(y).e("icon"),t.unref(y).e("clear")]),onMousedown:t.withModifiers(t.unref(S),["prevent"]),onClick:ie},{default:t.withCtx((()=>[t.createVNode(t.unref(yt))])),_:1},8,["class","onMousedown"])):t.createCommentVNode("v-if",!0),t.unref(R)?(t.openBlock(),t.createBlock(t.unref(Ut),{key:2,class:t.normalizeClass([t.unref(y).e("icon"),t.unref(y).e("password")]),onClick:oe},{default:t.withCtx((()=>[(t.openBlock(),t.createBlock(t.resolveDynamicComponent(t.unref(M))))])),_:1},8,["class"])):t.createCommentVNode("v-if",!0),t.unref(D)?(t.openBlock(),t.createElementBlock("span",{key:3,class:t.normalizeClass(t.unref(y).e("count"))},[t.createElementVNode("span",{class:t.normalizeClass(t.unref(y).e("count-inner"))},t.toDisplayString(t.unref(H))+" / "+t.toDisplayString(e.maxlength),3)],2)):t.createCommentVNode("v-if",!0),t.unref($)&&t.unref(P)&&t.unref(V)?(t.openBlock(),t.createBlock(t.unref(Ut),{key:4,class:t.normalizeClass([t.unref(y).e("icon"),t.unref(y).e("validateIcon"),t.unref(y).is("loading","validating"===t.unref($))])},{default:t.withCtx((()=>[(t.openBlock(),t.createBlock(t.resolveDynamicComponent(t.unref(P))))])),_:1},8,["class"])):t.createCommentVNode("v-if",!0)],2)],2)):t.createCommentVNode("v-if",!0)],2),t.createCommentVNode(" append slot "),e.$slots.append?(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(t.unref(y).be("group","append"))},[t.renderSlot(e.$slots,"append")],2)):t.createCommentVNode("v-if",!0)],64)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createCommentVNode(" textarea "),t.createElementVNode("textarea",t.mergeProps({id:t.unref(m),ref_key:"textarea",ref:w,class:[t.unref(g).e("inner"),t.unref(y).is("focus",t.unref(B))]},t.unref(p),{minlength:e.minlength,maxlength:e.maxlength,tabindex:e.tabindex,disabled:t.unref(h),readonly:e.readonly,autocomplete:e.autocomplete,style:t.unref(A),"aria-label":e.ariaLabel,placeholder:e.placeholder,form:e.form,autofocus:e.autofocus,rows:e.rows,onCompositionstart:t.unref(ee),onCompositionupdate:t.unref(te),onCompositionend:t.unref(ne),onInput:J,onFocus:t.unref(N),onBlur:t.unref(j),onChange:Y,onKeydown:ue}),null,16,["id","minlength","maxlength","tabindex","disabled","readonly","autocomplete","aria-label","placeholder","form","autofocus","rows","onCompositionstart","onCompositionupdate","onCompositionend","onFocus","onBlur"]),t.unref(D)?(t.openBlock(),t.createElementBlock("span",{key:0,style:t.normalizeStyle(k.value),class:t.normalizeClass(t.unref(y).e("count"))},t.toDisplayString(t.unref(H))+" / "+t.toDisplayString(e.maxlength),7)):t.createCommentVNode("v-if",!0)],64))],16,["role"]))}}),[["__file","input.vue"]])),an=t.defineComponent({__name:"h-input",props:{modelValue:{type:[String,Array,Object,Number],default:""}},emits:["update:modelValue"],setup(e,{emit:n}){const o=n,r=t.ref();let a=e;function l(){o("update:modelValue",r.value)}return t.watch((()=>a.modelValue),(e=>{r.value=e}),{immediate:!0}),(e,n)=>{const o=rn;return t.openBlock(),t.createBlock(o,{modelValue:r.value,"onUpdate:modelValue":n[0]||(n[0]=e=>r.value=e),onInput:l},null,8,["modelValue"])}}});an.install=e=>{e.component(an.__name,an)};const ln=[an],un={install:e=>{ln.forEach((t=>e.component(t.__name,t)))}};e.HInput=an,e.default=un,Object.defineProperties(e,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})}));
package/dist/vite.svg ADDED
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" class="iconify iconify--logos" width="31.88" height="32" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 257"><defs><linearGradient id="IconifyId1813088fe1fbc01fb466" x1="-.828%" x2="57.636%" y1="7.652%" y2="78.411%"><stop offset="0%" stop-color="#41D1FF"></stop><stop offset="100%" stop-color="#BD34FE"></stop></linearGradient><linearGradient id="IconifyId1813088fe1fbc01fb467" x1="43.376%" x2="50.316%" y1="2.242%" y2="89.03%"><stop offset="0%" stop-color="#FFEA83"></stop><stop offset="8.333%" stop-color="#FFDD35"></stop><stop offset="100%" stop-color="#FFA800"></stop></linearGradient></defs><path fill="url(#IconifyId1813088fe1fbc01fb466)" d="M255.153 37.938L134.897 252.976c-2.483 4.44-8.862 4.466-11.382.048L.875 37.958c-2.746-4.814 1.371-10.646 6.827-9.67l120.385 21.517a6.537 6.537 0 0 0 2.322-.004l117.867-21.483c5.438-.991 9.574 4.796 6.877 9.62Z"></path><path fill="url(#IconifyId1813088fe1fbc01fb467)" d="M185.432.063L96.44 17.501a3.268 3.268 0 0 0-2.634 3.014l-5.474 92.456a3.268 3.268 0 0 0 3.997 3.378l24.777-5.718c2.318-.535 4.413 1.507 3.936 3.838l-7.361 36.047c-.495 2.426 1.782 4.5 4.151 3.78l15.304-4.649c2.372-.72 4.652 1.36 4.15 3.788l-11.698 56.621c-.732 3.542 3.979 5.473 5.943 2.437l1.313-2.028l72.516-144.72c1.215-2.423-.88-5.186-3.54-4.672l-25.505 4.922c-2.396.462-4.435-1.77-3.759-4.114l16.646-57.705c.677-2.35-1.37-4.583-3.769-4.113Z"></path></svg>
package/package.json ADDED
@@ -0,0 +1,41 @@
1
+ {
2
+ "name": "tinci-data-ui",
3
+ "private": false,
4
+ "version": "0.0.1",
5
+ "author": "MO",
6
+ "description": "tinci组件",
7
+ "type": "module",
8
+ "license": "MIT",
9
+ "files": [
10
+ "dist"
11
+ ],
12
+ "main": "./dist/tinci-data-ui.umd.cjs",
13
+ "module": "./dist/tinci-data-ui.js",
14
+ "exports": {
15
+ "./dist/style.css": "./dist/style.css",
16
+ "./css": "./dist/style.css",
17
+ ".": {
18
+ "import": "./dist/tinci-data-ui.js",
19
+ "require": "./dist/tinci-data-ui.cjs"
20
+ }
21
+ },
22
+ "scripts": {
23
+ "dev": "vite",
24
+ "build": "vue-tsc -b && vite build",
25
+ "preview": "vite preview"
26
+ },
27
+ "dependencies": {
28
+ "element-plus": "^2.8.1",
29
+ "vue": "^3.4.37"
30
+ },
31
+ "devDependencies": {
32
+ "@types/node": "^22.5.2",
33
+ "@vitejs/plugin-vue": "^5.1.2",
34
+ "terser": "^5.31.6",
35
+ "typescript": "^5.5.3",
36
+ "unplugin-auto-import": "^0.18.2",
37
+ "unplugin-vue-components": "^0.27.4",
38
+ "vite": "^5.4.1",
39
+ "vue-tsc": "^2.0.29"
40
+ }
41
+ }