hcui-package 1.0.7 → 1.0.8
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/hcui-package.umd.js +1 -1
- package/dist/index.css +1 -1
- package/package.json +1 -1
package/dist/hcui-package.umd.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
(function(Ce,o){typeof exports=="object"&&typeof module<"u"?o(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],o):(Ce=typeof globalThis<"u"?globalThis:Ce||self,o(Ce["hcui-package"]={},Ce.Vue))})(this,function(Ce,o){"use strict";var To=document.createElement("style");To.textContent=`.input-tree-pop{display:flex;flex-direction:column;gap:10px;min-height:200px;max-height:300px;min-width:260px}.input-tree-pop .content{flex:1;overflow:auto}.input-tree-pop .footer{display:flex;gap:10px;justify-content:flex-end}
|
|
1
|
+
(function(Ce,o){typeof exports=="object"&&typeof module<"u"?o(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],o):(Ce=typeof globalThis<"u"?globalThis:Ce||self,o(Ce["hcui-package"]={},Ce.Vue))})(this,function(Ce,o){"use strict";var To=document.createElement("style");To.textContent=`.input-tree-pop{display:flex;flex-direction:column;gap:10px;min-height:200px;max-height:300px;min-width:260px;max-width:400px}.input-tree-pop .content{flex:1;overflow:auto}.input-tree-pop .footer{display:flex;gap:10px;justify-content:flex-end}
|
|
2
2
|
/*$vite$:1*/`,document.head.appendChild(To);function sl(e){let t=".",n="__",r="--",i;{let g=e.blockPrefix;g&&(t=g),g=e.elementPrefix,g&&(n=g),g=e.modifierPrefix,g&&(r=g)}const a={install(g){i=g.c;const w=g.context;w.bem={},w.bem.b=null,w.bem.els=null}};function l(g){let w,m;return{before(p){w=p.bem.b,m=p.bem.els,p.bem.els=null},after(p){p.bem.b=w,p.bem.els=m},$({context:p,props:T}){return g=typeof g=="string"?g:g({context:p,props:T}),p.bem.b=g,`${(T==null?void 0:T.bPrefix)||t}${p.bem.b}`}}}function s(g){let w;return{before(m){w=m.bem.els},after(m){m.bem.els=w},$({context:m,props:p}){return g=typeof g=="string"?g:g({context:m,props:p}),m.bem.els=g.split(",").map(T=>T.trim()),m.bem.els.map(T=>`${(p==null?void 0:p.bPrefix)||t}${m.bem.b}${n}${T}`).join(", ")}}}function d(g){return{$({context:w,props:m}){g=typeof g=="string"?g:g({context:w,props:m});const p=g.split(",").map(C=>C.trim());function T(C){return p.map(k=>`&${(m==null?void 0:m.bPrefix)||t}${w.bem.b}${C!==void 0?`${n}${C}`:""}${r}${k}`).join(", ")}const _=w.bem.els;if(_!==null){if(process.env.NODE_ENV!=="production"&&_.length>=2)throw Error(`[css-render/plugin-bem]: m(${g}) is invalid, using modifier inside multiple elements is not allowed`);return T(_[0])}else return T()}}}function c(g){return{$({context:w,props:m}){g=typeof g=="string"?g:g({context:w,props:m});const p=w.bem.els;if(process.env.NODE_ENV!=="production"&&p!==null&&p.length>=2)throw Error(`[css-render/plugin-bem]: notM(${g}) is invalid, using modifier inside multiple elements is not allowed`);return`&:not(${(m==null?void 0:m.bPrefix)||t}${w.bem.b}${p!==null&&p.length>0?`${n}${p[0]}`:""}${r}${g})`}}}return Object.assign(a,{cB:(...g)=>i(l(g[0]),g[1],g[2]),cE:(...g)=>i(s(g[0]),g[1],g[2]),cM:(...g)=>i(d(g[0]),g[1],g[2]),cNotM:(...g)=>i(c(g[0]),g[1],g[2])}),a}function dl(e){let t=0;for(let n=0;n<e.length;++n)e[n]==="&"&&++t;return t}const Ro=/\s*,(?![^(]*\))\s*/g,cl=/\s+/g;function ul(e,t){const n=[];return t.split(Ro).forEach(r=>{let i=dl(r);if(i){if(i===1){e.forEach(l=>{n.push(r.replace("&",l))});return}}else{e.forEach(l=>{n.push((l&&l+" ")+r)});return}let a=[r];for(;i--;){const l=[];a.forEach(s=>{e.forEach(d=>{l.push(s.replace("&",d))})}),a=l}a.forEach(l=>n.push(l))}),n}function fl(e,t){const n=[];return t.split(Ro).forEach(r=>{e.forEach(i=>{n.push((i&&i+" ")+r)})}),n}function hl(e){let t=[""];return e.forEach(n=>{n=n&&n.trim(),n&&(n.includes("&")?t=ul(t,n):t=fl(t,n))}),t.join(", ").replace(cl," ")}function Po(e){if(!e)return;const t=e.parentElement;t&&t.removeChild(e)}function Wn(e,t){return(t??document.head).querySelector(`style[cssr-id="${e}"]`)}function pl(e){const t=document.createElement("style");return t.setAttribute("cssr-id",e),t}function jn(e){return e?/^\s*@(s|m)/.test(e):!1}const gl=/[A-Z]/g;function Eo(e){return e.replace(gl,t=>"-"+t.toLowerCase())}function bl(e,t=" "){return typeof e=="object"&&e!==null?` {
|
|
3
3
|
`+Object.entries(e).map(n=>t+` ${Eo(n[0])}: ${n[1]};`).join(`
|
|
4
4
|
`)+`
|
package/dist/index.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.input-tree-pop{display:flex;flex-direction:column;gap:10px;min-height:200px;max-height:300px;min-width:260px}.input-tree-pop .content{flex:1;overflow:auto}.input-tree-pop .footer{display:flex;gap:10px;justify-content:flex-end}
|
|
1
|
+
.input-tree-pop{display:flex;flex-direction:column;gap:10px;min-height:200px;max-height:300px;min-width:260px;max-width:400px}.input-tree-pop .content{flex:1;overflow:auto}.input-tree-pop .footer{display:flex;gap:10px;justify-content:flex-end}
|