@milaboratories/uikit 2.2.54 → 2.2.55
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/CHANGELOG.md +6 -0
- package/dist/pl-uikit.js +124 -120
- package/dist/pl-uikit.js.map +1 -1
- package/dist/pl-uikit.umd.cjs +1 -1
- package/dist/pl-uikit.umd.cjs.map +1 -1
- package/dist/src/generated/icons-16.d.ts +1 -1
- package/dist/src/generated/icons-24.d.ts +1 -1
- package/dist/src/index.d.ts +2 -0
- package/dist/style.css +1 -1
- package/dist/tsconfig.lib.tsbuildinfo +1 -1
- package/package.json +3 -3
- package/src/assets/icons/icon-assets/16_cell-type-subset.svg +3 -0
- package/src/assets/icons/icon-assets/24_cell-type-subset.svg +3 -0
- package/src/assets/icons/icon-assets-min/16_cell-type-subset.svg +1 -0
- package/src/assets/icons/icon-assets-min/24_cell-type-subset.svg +1 -0
- package/src/assets/icons/icons-16-generated.json +1 -0
- package/src/assets/icons/icons-16-generated.scss +1 -0
- package/src/assets/icons/icons-24-generated.json +1 -0
- package/src/assets/icons/icons-24-generated.scss +1 -0
- package/src/generated/icons-16.ts +1 -0
- package/src/generated/icons-24.ts +1 -0
package/dist/pl-uikit.umd.cjs
CHANGED
|
@@ -22,5 +22,5 @@ x1: ${p.x1}`)},d=function(f){a.style("top",f.pageY-10+"px").style("left",f.pageX
|
|
|
22
22
|
black ${m}px,
|
|
23
23
|
black ${y}px,
|
|
24
24
|
transparent 100%
|
|
25
|
-
)`}function l(){const a=n.value;if(!a)return;const c=[r(a),s(a)].filter(d=>d!==null);a.style.setProperty("-webkit-mask-image",c.join(",")),a.style.setProperty("mask-image",c.join(",")),c.length>1&&(a.style.setProperty("-webkit-mask-composite","source-in"),a.style.setProperty("mask-composite","source-in"))}const i=On(l);e.onMounted(l),q(window,"scroll",i,!0),q(window,"resize",i,!0)}function gl(n,t){_r(()=>{G(e.unref(n),o=>{kr(o,()=>t(o))})}),e.onUnmounted(()=>{G(e.unref(n),o=>{wr(o)})})}const Fe={item:"sortable__item",animate:"sortable__animate"},Lt=n=>n.getBoundingClientRect().y,yl=n=>{const{y:t,height:o}=n.getBoundingClientRect();return t+Math.ceil(o/2)},Hy=n=>{const{y:t,height:o}=n.getBoundingClientRect();return t+o};function jy(n,t){const o={item:void 0,options(){var m;return[...((m=n.value)==null?void 0:m.children)??[]]}},r=e.computed(()=>o.options()),s=t.shakeBuffer??10,l=t.reorderDelay??100;function i(m){const y=t.handle?this.querySelector(t.handle):null;y&&(y&&!y.contains(m.target)||(this.classList.remove(Fe.animate),this.classList.add(Fe.item),o.item={el:this,y:m.y,dy:0,orderChanged:!1}))}function a(m){const y=o.options();return y.slice(0,y.indexOf(m))}function c(m){const y=o.options();return y.slice(y.indexOf(m)+1)}function d(m,y){const k=o.options().filter(S=>S!==y),b=k.indexOf(m);return k.splice(b,0,y),k}function u(m,y){const k=o.options().filter(S=>S!==y),b=k.indexOf(m);return k.splice(b+1,0,y),k}function f(m,y){m.dy=y-m.y,m.el.style.setProperty("transform",`translateY(${m.dy}px)`)}function p(m){var g;if(!o.item)return;const{el:y}=o.item;if(!y.isConnected){o.item=void 0;return}const k=m.map(h=>Lt(h)),b=Lt(y);(g=n.value)==null||g.replaceChildren(...m);const S=Lt(y),F=m.map(h=>Lt(h)),B=[];for(let h=0;h<F.length;h++){const w=m[h];if(w===o.item.el)continue;const $=F[h],N=k[h]-$;w.style.transform=`translateY(${N}px)`,B.push(w)}const T=S-b;o.item.y=o.item.y+T,o.item.dy=o.item.dy-T,o.item.orderChanged=!0,o.item.el.style.setProperty("transform",`translateY(${o.item.dy}px)`),B.forEach(h=>h.classList.remove(Fe.animate)),requestAnimationFrame(function(){B.forEach(h=>{h.classList.add(Fe.animate),h.style.transform="",h.addEventListener("transitionend",()=>{h.classList.remove(Fe.animate)})})})}q(window,"mousemove",m=>{if(!o.item)return;const{el:y}=o.item;f(o.item,m.y);const k=Lt(o.item.el),b=Hy(o.item.el),S=a(y),F=c(y);S.forEach(B=>{const T=yl(B);k+s<T&&p(d(B,y))}),F.forEach(B=>{const T=yl(B);b-s>T&&p(u(B,y))})}),q(window,"mouseup",()=>{if(!o.item)return;const{el:m,orderChanged:y}=o.item;m.classList.add(Fe.animate),m.style.removeProperty("transform"),m.addEventListener("transitionend",()=>{m.classList.remove(Fe.animate,Fe.item)}),setTimeout(()=>{if(!y)return;const k=o.options().map(S=>Number(S.getAttribute("data-index"))),b=n.value;if(b){for(const S of o.options())b.removeChild(S);r.value.forEach(S=>{b.appendChild(S)})}t.onChange(k)},l),o.item=void 0}),e.watchEffect(()=>{r.value.forEach((m,y)=>{m.removeEventListener("mousedown",i),m.addEventListener("mousedown",i),m.setAttribute("data-index",String(y))})})}const ze={item:"sortable__item",animate:"sortable__animate"},Ht=n=>n.getBoundingClientRect().y,_l=n=>{const{y:t,height:o}=n.getBoundingClientRect();return t+Math.ceil(o/2)},Zy=n=>{const{y:t,height:o}=n.getBoundingClientRect();return t+o};function Uy(n,t){const o={item:void 0,options(){var y;return[...((y=n.value)==null?void 0:y.children)??[]]}};let r=0;e.watch(()=>n.value,()=>{setTimeout(()=>{n.value&&(n.value.scrollTop=r)},0)});const s=e.computed(()=>o.options()),l=t.shakeBuffer??10,i=t.reorderDelay??100;function a(y){var b;const k=t.handle?this.querySelector(t.handle):null;k&&(k&&!k.contains(y.target)||(this.classList.remove(ze.animate),this.classList.add(ze.item),o.item={el:this,y:y.y,dy:0,initialScrollTop:((b=n.value)==null?void 0:b.scrollTop)||0,orderChanged:!1}))}function c(y){const k=o.options();return k.slice(0,k.indexOf(y))}function d(y){const k=o.options();return k.slice(k.indexOf(y)+1)}function u(y,k){const b=o.options().filter(F=>F!==k),S=b.indexOf(y);return b.splice(S,0,k),b}function f(y,k){const b=o.options().filter(F=>F!==k),S=b.indexOf(y);return b.splice(S+1,0,k),b}function p(y,k){var F;const S=(((F=n.value)==null?void 0:F.scrollTop)||0)-(y.initialScrollTop||0);y.dy=k-y.y+S,y.el.style.setProperty("transform",`translateY(${y.dy}px)`)}function m(y){var h;if(!o.item)return;const{el:k}=o.item;if(!k.isConnected){o.item=void 0;return}const b=y.map(w=>Ht(w)),S=Ht(k);(h=n.value)==null||h.replaceChildren(...y);const F=Ht(k),B=y.map(w=>Ht(w)),T=[];for(let w=0;w<B.length;w++){const $=y[w];if($===o.item.el)continue;const A=B[w],C=b[w]-A;$.style.transform=`translateY(${C}px)`,T.push($)}const g=F-S;o.item.y=o.item.y+g,o.item.dy=o.item.dy-g,o.item.orderChanged=!0,o.item.el.style.setProperty("transform",`translateY(${o.item.dy}px)`),T.forEach(w=>w.classList.remove(ze.animate)),requestAnimationFrame(function(){T.forEach(w=>{w.classList.add(ze.animate),w.style.transform="",w.addEventListener("transitionend",()=>{w.classList.remove(ze.animate)})})})}q(window,"mousemove",y=>{if(!o.item)return;const{el:k}=o.item;p(o.item,y.y);const b=Ht(o.item.el),S=Zy(o.item.el),F=c(k),B=d(k);if(F.forEach(T=>{const g=_l(T);b+l<g&&m(u(T,k))}),B.forEach(T=>{const g=_l(T);S-l>g&&m(f(T,k))}),n.value){const T=n.value.getBoundingClientRect(),g=T.top+k.getBoundingClientRect().height/2;y.clientY<g&&(n.value.scrollTop+=y.clientY-g);const h=T.bottom-k.getBoundingClientRect().height/2;y.clientY>h&&(n.value.scrollTop+=y.clientY-h)}}),q(window,"mouseup",()=>{var b;if(!o.item)return;r=((b=n.value)==null?void 0:b.scrollTop)||0;const{el:y,orderChanged:k}=o.item;y.classList.add(ze.animate),y.style.removeProperty("transform"),y.addEventListener("transitionend",()=>{y.classList.remove(ze.animate,ze.item)}),setTimeout(()=>{if(!k)return;const S=o.options().map(B=>Number(B.getAttribute("data-index"))),F=n.value;if(F){for(const B of o.options())F.removeChild(B);s.value.forEach(B=>{F.appendChild(B)})}t.onChange(S)},i),o.item=void 0}),e.watchEffect(()=>{s.value.forEach((y,k)=>{y.removeEventListener("mousedown",a),y.addEventListener("mousedown",a),y.setAttribute("data-index",String(k))})})}function qy(n,t){let o;e.onMounted(()=>{o=setInterval(n,t)}),e.onUnmounted(()=>clearInterval(o))}function Wy(n,t,o){const r=e.reactive({data:Mn.deepClone(t(n.value)),changed:!1});return e.watch(()=>r.data,s=>{r.changed?o(Mn.deepClone(s)):r.changed=!0},{deep:!0}),e.watch(n,s=>{Object.assign(r,{data:Mn.deepClone(t(s)),changed:!1})},{deep:!0,immediate:!0}),r}function Ky(n){const t=e.reactive({isLoading:!1,result:void 0,error:void 0,async run(...o){this.isLoading=!0,this.error=void 0;try{this.result=await n(...o)}catch(r){this.error=r}finally{this.isLoading=!1}},debounce(o,r=1e3){return Go(()=>{const s=o();this.run(...s).catch(console.error)},r)}});return t.run=t.run.bind(t),t}function Yy(n,t){function o(i,a){const c=e.unref(n);if(!c)return;const d=`translate(${a.x-i.x}px, ${a.y-i.y}px)`;c.style.setProperty("transform",d),t(a)}function r(i){const a=c=>o(i,c);document.addEventListener("mousemove",a),document.addEventListener("mouseup",()=>{const c=e.unref(n);document.removeEventListener("mousemove",a),c&&(c.style.setProperty("transition","all .3s ease-in-out"),c.style.removeProperty("transform"),c.addEventListener("transitionend",()=>{c.style.removeProperty("transition")}))},{once:!0})}function s(){var i;(i=e.unref(n))==null||i.addEventListener("mousedown",r)}function l(){var i;(i=e.unref(n))==null||i.removeEventListener("mousedown",r)}e.onMounted(s),e.onUnmounted(l)}function Xy(n){return e.computed(n)}const Gy={class:"ui-slider__wrapper"},Jy={class:"ui-slider__label-section"},Qy={key:0,class:"text-s"},e0={class:"ui-slider__base"},t0={class:"ui-slider__container"},n0={class:"ui-slider__container ui-slider__container-thumb"},o0=["data-percent"],r0=["data-percent"],s0=["data-percent"],l0={key:0,class:"ui-slider__error"},i0=e.defineComponent({__name:"SliderRangeTriple",props:{modelValue:{},min:{default:0},max:{},step:{default:1},label:{default:void 0},helper:{default:void 0},error:{default:void 0},mode:{default:"text"},measure:{default:"%"},breakpoints:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},emits:["update:modelValue"],setup(n,{emit:t}){const o=e.useSlots(),r=t,s=n,l=e.reactive({deltaValue1:0,deltaValue2:0,deltaValue3:0}),i=e.ref(),a=e.ref(),c=e.ref(),d=e.ref(),u=e.computed(()=>s.max-s.min),f=e.computed(()=>s),p=Zo(f),m=e.computed(()=>ee((s.modelValue[0]??0)+l.deltaValue1,s.min,s.max)),y=e.computed(()=>ee((s.modelValue[1]??0)+l.deltaValue2,s.min,s.max)),k=e.computed(()=>ee((s.modelValue[2]??0)+l.deltaValue3,s.min,s.max)),b=e.computed(()=>{const v=s.modelValue;if(!(Array.isArray(v)&&v.length===3&&v.every(Z=>Number.isFinite(Z))))return"Expected model [number, number, number]";const H=[];return[...s.modelValue].forEach(Z=>{Z>s.max&&H.push(`Max model value must be lower than max props ${s.max}.`),Z<s.min&&H.push("Min model value must be greater than max props.")}),H.length>0?H.join(" "):s.error}),S=e.computed(()=>(m.value-s.min)/u.value),F=e.computed(()=>(y.value-s.min)/u.value),B=e.computed(()=>(k.value-s.min)/u.value),T=e.computed(()=>N()),g=e.computed(()=>({right:T.value[0]+"%",left:100-T.value[2]+"%"})),h=e.computed(()=>({right:Math.ceil((1-S.value)*100)+"%"})),w=e.computed(()=>({right:Math.ceil((1-F.value)*100)+"%"})),$=e.computed(()=>({right:Math.ceil((1-B.value)*100)+"%"}));Ee(a,v=>{var D;G((D=e.unref(i))==null?void 0:D.getBoundingClientRect(),H=>{const{dx:Z}=v;l.deltaValue1=Z/H.width*u.value,a.value&&A(a.value,s.modelValue[0],l.deltaValue1),v.stop&&(E([C(m.value),C(y.value),C(k.value)]),l.deltaValue1=0)})}),Ee(c,v=>{var D;G((D=e.unref(i))==null?void 0:D.getBoundingClientRect(),H=>{const{dx:Z}=v;l.deltaValue2=Z/H.width*u.value,c.value&&A(c.value,s.modelValue[1],l.deltaValue2),v.stop&&(E([C(m.value),C(y.value),C(k.value)]),l.deltaValue2=0)})}),Ee(d,v=>{var D;G((D=e.unref(i))==null?void 0:D.getBoundingClientRect(),H=>{const{dx:Z}=v;l.deltaValue3=Z/H.width*u.value,d.value&&A(d.value,s.modelValue[2],l.deltaValue3),v.stop&&(E([C(m.value),C(y.value),C(k.value)]),l.deltaValue3=0)})});function A(v,D,H){const Z=C(ee((D??0)+H,s.min,s.max));v.dataset.percent=`${Z}${s.measure}`,_()}function N(){const v=Math.ceil((1-S.value)*100),D=Math.ceil((1-F.value)*100),H=Math.ceil((1-B.value)*100);return[v,D,H].sort((Z,J)=>Z-J)}function C(v){const D=ee(v,s.min,s.max);return Math.round((D+Number.EPSILON)*(1/s.step))/(1/s.step)}function E(v){r("update:modelValue",v)}function _(){const v=Number(h.value.right.substring(0,h.value.right.length-1)),D=Number(w.value.right.substring(0,w.value.right.length-1)),H=Number($.value.right.substring(0,$.value.right.length-1)),Z=[{r:v,th:a},{r:D,th:c},{r:H,th:d}].sort((J,at)=>J.r-at.r);Z[0].th.value&&(Z[0].th.value.dataset.hint="high"),Z[1].th.value&&(Z[1].th.value.dataset.hint="mid"),Z[2].th.value&&(Z[2].th.value.dataset.hint="low")}function x(v,D){["ArrowDown","ArrowUp","ArrowRight","ArrowLeft","Enter"].includes(v.code)&&v.preventDefault();const H=v.code==="ArrowUp"||v.code==="ArrowRight"?s.step*1:v.code==="ArrowDown"||v.code==="ArrowLeft"?s.step*-1:0,Z=[...s.modelValue];Z[D]=ee(Z[D]+H,s.min,s.max),E(Z),_()}return e.onMounted(()=>{_()}),(v,D)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass([s.disabled?"ui-slider__disabled":void 0,"ui-slider__envelope ui-slider__triple"])},[e.createElementVNode("div",{class:e.normalizeClass([`ui-slider__mode-${s.mode}`,"ui-slider"])},[e.createElementVNode("div",Gy,[e.createElementVNode("div",Jy,[v.label?(e.openBlock(),e.createElementBlock("label",Qy,[e.createElementVNode("span",null,e.toDisplayString(v.label),1),D[3]||(D[3]=e.createTextVNode()),e.unref(o).tooltip?(e.openBlock(),e.createBlock(e.unref(X),{key:0,class:"info",position:"top"},{tooltip:e.withCtx(()=>[e.renderSlot(v.$slots,"tooltip")]),_:3})):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)]),D[11]||(D[11]=e.createTextVNode()),e.createElementVNode("div",e0,[e.createElementVNode("div",t0,[e.createElementVNode("div",{ref_key:"barRef",ref:i,class:"ui-slider__bar"},[e.createElementVNode("div",{class:"ui-slider__progress",style:e.normalizeStyle(g.value)},null,4)],512)]),D[10]||(D[10]=e.createTextVNode()),e.createElementVNode("div",n0,[s.breakpoints?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(e.unref(p),(H,Z)=>(e.openBlock(),e.createElementBlock("div",{key:Z,style:e.normalizeStyle({right:`${H}%`}),class:"ui-slider__thumb-step"},null,4))),128)):e.createCommentVNode("",!0),D[7]||(D[7]=e.createTextVNode()),e.createElementVNode("div",{ref_key:"thumbRef1",ref:a,style:e.normalizeStyle(h.value),"data-percent":s.modelValue[0]+"%",class:"ui-slider__thumb ui-slider__triple-thumb",r1:"",tabindex:"0",onKeydown:D[0]||(D[0]=H=>x(H,0))},D[4]||(D[4]=[e.createElementVNode("div",{class:"ui-slider__thumb-focused-contour"},null,-1)]),44,o0),D[8]||(D[8]=e.createTextVNode()),e.createElementVNode("div",{ref_key:"thumbRef2",ref:c,style:e.normalizeStyle(w.value),"data-percent":s.modelValue[1]+"%",class:"ui-slider__thumb ui-slider__triple-thumb",r2:"",tabindex:"0",onKeydown:D[1]||(D[1]=H=>x(H,1))},D[5]||(D[5]=[e.createElementVNode("div",{class:"ui-slider__thumb-focused-contour"},null,-1)]),44,r0),D[9]||(D[9]=e.createTextVNode()),e.createElementVNode("div",{ref_key:"thumbRef3",ref:d,style:e.normalizeStyle($.value),"data-percent":s.modelValue[2]+"%",class:"ui-slider__thumb ui-slider__triple-thumb",r3:"",tabindex:"0",onKeydown:D[2]||(D[2]=H=>x(H,2))},D[6]||(D[6]=[e.createElementVNode("div",{class:"ui-slider__thumb-focused-contour"},null,-1)]),44,s0)])])]),D[12]||(D[12]=e.createTextVNode()),D[13]||(D[13]=e.createElementVNode("div",{class:"ui-slider__input-wrapper d-flex"},null,-1))],2),D[14]||(D[14]=e.createTextVNode()),b.value?(e.openBlock(),e.createElementBlock("div",l0,e.toDisplayString(b.value),1)):e.createCommentVNode("",!0)],2))}}),a0={class:"ui-input-range__separator"},c0=e.defineComponent({__name:"InputRange",props:{modelValue:{},separator:{default:"-"}},emits:["update:modelValue","change"],setup(n,{emit:t}){const o=n,r=t,s=e.reactive({left:o.modelValue[0],right:o.modelValue[1]}),l=e.ref(!1),i=e.computed(()=>(l.value,"ui-input-range-focused")),a=e.computed({get(){return{left:Math.min(...o.modelValue),right:Math.max(...o.modelValue)}},set(){}});e.watch(()=>a.value,u=>(s.left=u.left)&&(s.right=u.right));function c(){r("update:modelValue",[+s.left,+s.right]),r("change",[+s.left,+s.right])}function d(u,f){const p=f.target.value;/^[0-9]{0,2}$/.test(p)?u?s.left=+p:s.right=+p:u?s.left=+p.slice(0,p.length-1):s.right=+p.slice(0,p.length-1)}return(u,f)=>(e.openBlock(),e.createElementBlock("div",e.mergeProps({class:[i.value,"ui-input-range"]},u.$attrs),[e.withDirectives(e.createElementVNode("input",{"onUpdate:modelValue":f[0]||(f[0]=p=>a.value.left=p),class:"text-s",type:"text",onChange:c,onFocus:f[1]||(f[1]=p=>l.value=!0),onFocusout:f[2]||(f[2]=p=>l.value=!1),onInput:f[3]||(f[3]=p=>d(!0,p))},null,544),[[e.vModelText,a.value.left]]),f[8]||(f[8]=e.createTextVNode()),e.createElementVNode("div",a0,e.toDisplayString(o.separator),1),f[9]||(f[9]=e.createTextVNode()),e.withDirectives(e.createElementVNode("input",{"onUpdate:modelValue":f[4]||(f[4]=p=>a.value.right=p),class:"text-s",type:"text",onChange:c,onFocus:f[5]||(f[5]=p=>l.value=!0),onFocusout:f[6]||(f[6]=p=>l.value=!1),onInput:f[7]||(f[7]=p=>d(!1,p))},null,544),[[e.vModelText,a.value.right]])],16))}}),d0={class:"ui-slider__wrapper"},u0={class:"ui-slider__label-section"},f0={key:0,class:"text-s"},p0={key:1,class:"ui-slider__value-static text-s"},m0={class:"ui-slider__base"},h0={class:"ui-slider__container"},g0={class:"ui-slider__container ui-slider__container-thumb"},y0={class:"ui-slider__input-wrapper d-flex"},_0={key:0,class:"ui-slider__error"},k0=e.defineComponent({__name:"SliderRange",props:{modelValue:{},min:{default:0},max:{},step:{default:1},label:{default:void 0},helper:{default:void 0},error:{default:void 0},mode:{default:"text"},measure:{default:""},breakpoints:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},emits:["update:modelValue"],setup(n,{emit:t}){const o=e.useSlots(),r=t,s=n,l=e.reactive({deltaValue1:0,deltaValue2:0}),i=e.ref(),a=e.ref(),c=e.ref(),d=e.ref(s.modelValue),u=e.ref(s.modelValue[0]),f=e.ref(s.modelValue[1]),p=e.computed(()=>s),m=Zo(p),y=e.computed(()=>[u.value,f.value].sort((_,x)=>_-x).join("-")),k=e.computed(()=>s.max-s.min),b=e.computed(()=>ee((s.modelValue[0]??0)+l.deltaValue1,s.min,s.max)),S=e.computed(()=>ee((s.modelValue[1]??0)+l.deltaValue2,s.min,s.max)),F=e.computed(()=>{const _=s.modelValue;return Array.isArray(_)&&_.length===2&&_.every(v=>Number.isFinite(v))?s.error:"Expected model [number, number]"}),B=e.computed(()=>(b.value-s.min)/k.value),T=e.computed(()=>(S.value-s.min)/k.value),g=e.computed(()=>A()),h=e.computed(()=>({right:g.value[0]+"%",left:100-g.value[1]+"%"})),w=e.computed(()=>({right:Math.ceil((1-B.value)*100)+"%"})),$=e.computed(()=>({right:Math.ceil((1-T.value)*100)+"%"}));e.watch(()=>s.modelValue,_=>{d.value=_,u.value=+_[0],f.value=+_[1]},{immediate:!0}),Ee(a,_=>{var x;G((x=e.unref(i))==null?void 0:x.getBoundingClientRect(),v=>{const{dx:D}=_;l.deltaValue1=D/v.width*k.value,u.value=N(ee((s.modelValue[0]??0)+l.deltaValue1,s.min,s.max)),d.value=[u.value,f.value].sort((H,Z)=>H-Z),_.stop&&(C([N(b.value),N(S.value)]),l.deltaValue1=0)})}),Ee(c,_=>{var x;G((x=e.unref(i))==null?void 0:x.getBoundingClientRect(),v=>{const{dx:D}=_;l.deltaValue2=D/v.width*k.value,f.value=N(ee((s.modelValue[1]??0)+l.deltaValue2,s.min,s.max)),d.value=[u.value,f.value].sort((H,Z)=>H-Z),_.stop&&(C([N(b.value),N(S.value)]),l.deltaValue2=0)})});function A(){const _=Math.ceil((1-B.value)*100),x=Math.ceil((1-T.value)*100);return[_,x].sort((v,D)=>v-D)}function N(_){const x=ee(_,s.min,s.max);return Math.round((x+Number.EPSILON)*(1/s.step))/(1/s.step)}function C(_){r("update:modelValue",_)}function E(_,x){["ArrowDown","ArrowUp","ArrowRight","ArrowLeft","Enter"].includes(_.code)&&_.preventDefault();const v=_.code==="ArrowUp"||_.code==="ArrowRight"?s.step*1:_.code==="ArrowDown"||_.code==="ArrowLeft"?s.step*-1:0,D=[...s.modelValue];D[x]=ee(D[x]+v,s.min,s.max),C(D)}return(_,x)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass([s.disabled?"ui-slider__disabled":void 0,"ui-slider__envelope"])},[e.createElementVNode("div",{class:e.normalizeClass([`ui-slider__mode-${s.mode}`,"ui-slider"])},[e.createElementVNode("div",d0,[e.createElementVNode("div",u0,[_.label?(e.openBlock(),e.createElementBlock("label",f0,[e.createElementVNode("span",null,e.toDisplayString(_.label),1),x[3]||(x[3]=e.createTextVNode()),e.unref(o).tooltip?(e.openBlock(),e.createBlock(e.unref(X),{key:0,class:"info",position:"top"},{tooltip:e.withCtx(()=>[e.renderSlot(_.$slots,"tooltip")]),_:3})):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),x[4]||(x[4]=e.createTextVNode()),s.mode==="text"?(e.openBlock(),e.createElementBlock("div",p0,e.toDisplayString(y.value),1)):e.createCommentVNode("",!0)]),x[10]||(x[10]=e.createTextVNode()),e.createElementVNode("div",m0,[e.createElementVNode("div",h0,[e.createElementVNode("div",{ref_key:"barRef",ref:i,class:"ui-slider__bar"},[e.createElementVNode("div",{class:"ui-slider__progress",style:e.normalizeStyle(h.value)},null,4)],512)]),x[9]||(x[9]=e.createTextVNode()),e.createElementVNode("div",g0,[s.breakpoints?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(e.unref(m),(v,D)=>(e.openBlock(),e.createElementBlock("div",{key:D,style:e.normalizeStyle({right:`${v}%`}),class:"ui-slider__thumb-step"},null,4))),128)):e.createCommentVNode("",!0),x[7]||(x[7]=e.createTextVNode()),e.createElementVNode("div",{ref_key:"thumbRef1",ref:a,style:e.normalizeStyle(w.value),class:"ui-slider__thumb",tabindex:"0",onKeydown:x[0]||(x[0]=v=>E(v,0))},x[5]||(x[5]=[e.createElementVNode("div",{class:"ui-slider__thumb-focused-contour"},null,-1)]),36),x[8]||(x[8]=e.createTextVNode()),e.createElementVNode("div",{ref_key:"thumbRef2",ref:c,style:e.normalizeStyle($.value),class:"ui-slider__thumb",tabindex:"0",onKeydown:x[1]||(x[1]=v=>E(v,1))},x[6]||(x[6]=[e.createElementVNode("div",{class:"ui-slider__thumb-focused-contour"},null,-1)]),36)])])]),x[11]||(x[11]=e.createTextVNode()),e.createElementVNode("div",y0,[s.mode==="input"?(e.openBlock(),e.createBlock(c0,{key:0,modelValue:d.value,"onUpdate:modelValue":x[2]||(x[2]=v=>d.value=v),class:"ui-focused-border",onChange:C},null,8,["modelValue"])):e.createCommentVNode("",!0)])],2),x[12]||(x[12]=e.createTextVNode()),F.value?(e.openBlock(),e.createElementBlock("div",_0,e.toDisplayString(F.value),1)):e.createCommentVNode("",!0)],2))}}),w0=e.defineComponent({__name:"VScroll",props:{scrollTop:{},clientHeight:{},scrollHeight:{}},emits:["update:scrollTop"],setup(n,{emit:t}){const o=t,r=n,s=e.ref(),l=e.computed(()=>r.clientHeight/(r.scrollHeight||1)),i=e.computed(()=>l.value<1),a=e.computed(()=>{const c=e.unref(l);return{top:r.scrollTop*c+"px",height:Math.floor(r.clientHeight*c)+"px"}});return q(s,"pointerdown",c=>{const d={clientY:c.clientY},f=Kn(document,"mousemove",p=>{const m=(p.clientY-d.clientY)/l.value;o("update:scrollTop",r.scrollTop+m),d.clientY=p.clientY});["mouseup","pointercancel"].forEach(p=>{document.addEventListener(p,f,{once:!0})})}),(c,d)=>i.value?(e.openBlock(),e.createElementBlock("div",{key:0,ref_key:"scrollRef",ref:s,class:"v-scroll"},[e.createElementVNode("div",{class:"v-scroll__scrollbar",style:e.normalizeStyle(a.value)},null,4)],512)):e.createCommentVNode("",!0)}}),b0=e.defineComponent({__name:"HScroll",props:{scrollLeft:{},clientWidth:{},scrollWidth:{}},emits:["update:scrollLeft"],setup(n,{emit:t}){const o=t,r=n,s=e.ref(),l=e.computed(()=>r.clientWidth/(r.scrollWidth||1)),i=e.computed(()=>l.value<1),a=e.computed(()=>{const c=e.unref(l);return{left:r.scrollLeft*c+"px",width:Math.floor(r.clientWidth*c)+"px"}});return q(s,"pointerdown",c=>{const d={clientX:c.clientX},f=Kn(document,"mousemove",p=>{const m=(p.clientX-d.clientX)/l.value;o("update:scrollLeft",r.scrollLeft+m),d.clientX=p.clientX});["mouseup","pointercancel"].forEach(p=>{document.addEventListener(p,f,{once:!0})})}),(c,d)=>i.value?(e.openBlock(),e.createElementBlock("div",{key:0,ref_key:"scrollRef",ref:s,class:"h-scroll"},[e.createElementVNode("div",{class:"h-scroll__scrollbar",style:e.normalizeStyle(a.value)},null,4)],512)):e.createCommentVNode("",!0)}}),x0={class:"ui-scrollable"},V0=e.defineComponent({__name:"Scrollable",setup(n){const t=e.ref(),o=e.reactive({scrollTop:0,scrollLeft:0,clientHeight:0,clientWidth:0,scrollHeight:0,scrollWidth:0});function r(a){La(o,a,"scrollTop","scrollLeft","clientHeight","clientWidth","scrollHeight","scrollWidth")}const s=a=>{a.preventDefault();const c=a.currentTarget;c.scrollTop+=a.deltaY,c.scrollLeft+=a.deltaX,r(c)};function l(a){G(e.unref(t),c=>{c.scrollTop=a,r(c)})}function i(a){G(e.unref(t),c=>{c.scrollLeft=a,r(c)})}return gl(t,a=>{G(a,c=>r(c))}),e.onMounted(()=>{G(e.unref(t),a=>{r(a),a.addEventListener("wheel",s)})}),e.onUnmounted(()=>{G(e.unref(t),a=>a.removeEventListener("wheel",s))}),(a,c)=>(e.openBlock(),e.createElementBlock("div",x0,[e.createElementVNode("div",{ref_key:"containerRef",ref:t,class:"ui-scrollable__container",onWheel:s},[e.renderSlot(a.$slots,"default")],544),c[2]||(c[2]=e.createTextVNode()),e.createVNode(w0,{"scroll-top":o.scrollTop,"client-height":o.clientHeight,"scroll-height":o.scrollHeight,onWheel:c[0]||(c[0]=e.withModifiers(()=>{},["stop"])),"onUpdate:scrollTop":l},null,8,["scroll-top","client-height","scroll-height"]),c[3]||(c[3]=e.createTextVNode()),e.createVNode(b0,{"scroll-left":o.scrollLeft,"client-width":o.clientWidth,"scroll-width":o.scrollWidth,onWheel:c[1]||(c[1]=e.withModifiers(()=>{},["stop"])),"onUpdate:scrollLeft":i},null,8,["scroll-left","client-width","scroll-width"])]))}}),B0={add:"add.svg","arrow-down":"arrow-down.svg","arrow-left":"arrow-left.svg","arrow-link":"arrow-link.svg","arrow-right":"arrow-right.svg","arrow-up":"arrow-up.svg",box:"box.svg",calendar:"calendar.svg","caret-down":"caret-down.svg","caret-left":"caret-left.svg","caret-right":"caret-right.svg","caret-up":"caret-up.svg","cell-type-num":"cell-type-num.svg","cell-type-txt":"cell-type-txt.svg",checkmark:"checkmark.svg","chevron-down":"chevron-down.svg","chevron-first":"chevron-first.svg","chevron-last":"chevron-last.svg","chevron-left":"chevron-left.svg","chevron-right":"chevron-right.svg","chevron-up":"chevron-up.svg","clipboard-copied":"clipboard-copied.svg",clipboard:"clipboard.svg",close:"close.svg",copy:"copy.svg","data-dimentions":"data-dimentions.svg","delete-bin":"delete-bin.svg","delete-circle":"delete-circle.svg","delete-clear":"delete-clear.svg",download:"download.svg","drag-dots":"drag-dots.svg",duplicate:"duplicate.svg",edit:"edit.svg",error:"error.svg",export:"export.svg","filter-on":"filter-on.svg",filter:"filter.svg","help-outline":"help-outline.svg",help:"help.svg","info-outline":"info-outline.svg",info:"info.svg","jump-link":"jump-link.svg",link:"link.svg",loading:"loading.svg",lock:"lock.svg",maximize:"maximize.svg",minimize:"minimize.svg",minus:"minus.svg",more:"more.svg",open:"open.svg","paper-clip":"paper-clip.svg",pause:"pause.svg",play:"play.svg",renew:"renew.svg",restart:"restart.svg",reverse:"reverse.svg",settings:"settings.svg",sort:"sort.svg",stop:"stop.svg",success:"success.svg",time:"time.svg",tune:"tune.svg",warning:"warning.svg","x-axis":"x-axis.svg","y-axis":"y-axis.svg",zip:"zip.svg"},C0={"add-layer":"add-layer.svg",add:"add.svg","align-center":"align-center.svg","align-left":"align-left.svg","align-right":"align-right.svg",annotate:"annotate.svg",annotation:"annotation.svg",area:"area.svg","arrow-down":"arrow-down.svg","arrow-left":"arrow-left.svg","arrow-link":"arrow-link.svg","arrow-right":"arrow-right.svg","arrow-up":"arrow-up.svg",axes:"axes.svg","bar-cross":"bar-cross.svg","bar-error":"bar-error.svg","bar-stacked":"bar-stacked.svg","bar-trend":"bar-trend.svg",bar:"bar.svg",bindot:"bindot.svg",box:"box.svg","boxplot-binned":"boxplot-binned.svg","boxplot-jitter":"boxplot-jitter.svg","boxplot-notched":"boxplot-notched.svg",boxplot:"boxplot.svg",bubble:"bubble.svg",calendar:"calendar.svg",canvas:"canvas.svg","cell-type-num":"cell-type-num.svg","cell-type-txt":"cell-type-txt.svg","checkbox-checked":"checkbox-checked.svg","checkbox-intermediate":"checkbox-intermediate.svg",checkbox:"checkbox.svg",checkmark:"checkmark.svg","chevron-down":"chevron-down.svg","chevron-first":"chevron-first.svg","chevron-last":"chevron-last.svg","chevron-left":"chevron-left.svg","chevron-right":"chevron-right.svg","chevron-sort":"chevron-sort.svg","chevron-up":"chevron-up.svg","clipboard-copied":"clipboard-copied.svg",clipboard:"clipboard.svg",close:"close.svg","cloud-download":"cloud-download.svg","cloud-offline":"cloud-offline.svg","cloud-online":"cloud-online.svg","cloud-upload":"cloud-upload.svg",cluster:"cluster.svg",code:"code.svg","color-fill":"color-fill.svg","color-none":"color-none.svg","color-stroke":"color-stroke.svg",color:"color.svg",columns:"columns.svg","connected-points":"connected-points.svg",container:"container.svg",cookie:"cookie.svg",copy:"copy.svg",cpu:"cpu.svg","data-dimentions":"data-dimentions.svg",debug:"debug.svg","delete-bin":"delete-bin.svg","delete-circle":"delete-circle.svg","delete-clear":"delete-clear.svg","dendrogram-X-line":"dendrogram-X-line.svg","dendrogram-X":"dendrogram-X.svg","dendrogram-Y-line":"dendrogram-Y-line.svg","dendrogram-Y":"dendrogram-Y.svg","dna-add":"dna-add.svg","dna-import":"dna-import.svg",dna:"dna.svg",download:"download.svg","drag-dots":"drag-dots.svg","drag-horizontal":"drag-horizontal.svg","drag-vertical":"drag-vertical.svg",duplicate:"duplicate.svg",edit:"edit.svg","error-bar":"error-bar.svg",error:"error.svg","expand-left":"expand-left.svg","expand-right":"expand-right.svg",export:"export.svg","file-doc-add":"file-doc-add.svg","file-doc-download":"file-doc-download.svg","file-doc-import":"file-doc-import.svg","file-doc":"file-doc.svg","filter-on":"filter-on.svg",filter:"filter.svg","fire-tips":"fire-tips.svg","folder-parent":"folder-parent.svg","frame-type-all":"frame-type-all.svg","frame-type-bottom":"frame-type-bottom.svg","frame-type-left-bottom":"frame-type-left-bottom.svg","frame-type-left":"frame-type-left.svg","frame-type-none":"frame-type-none.svg",generate:"generate.svg",graph:"graph.svg",heatmap:"heatmap.svg","help-outline":"help-outline.svg",help:"help.svg","info-outline":"info-outline.svg",info:"info.svg",jitter:"jitter.svg","jump-link":"jump-link.svg",lasso:"lasso.svg",layers:"layers.svg",learn:"learn.svg","legend-box-dot":"legend-box-dot.svg","legend-box":"legend-box.svg",legend:"legend.svg","line-binned":"line-binned.svg","line-error":"line-error.svg","line-jitter":"line-jitter.svg",line:"line.svg","linetype-dashed":"linetype-dashed.svg","linetype-dotdash":"linetype-dotdash.svg","linetype-dotted":"linetype-dotted.svg","linetype-longdash":"linetype-longdash.svg","linetype-solid":"linetype-solid.svg","linetype-twodash":"linetype-twodash.svg","link-disabled":"link-disabled.svg",link:"link.svg",loading:"loading.svg",lock:"lock.svg",maximize:"maximize.svg",menu:"menu.svg",minimize:"minimize.svg",minus:"minus.svg",more:"more.svg","paper-clip":"paper-clip.svg",pause:"pause.svg",pin:"pin.svg",play:"play.svg","position-bottom-annotation":"position-bottom-annotation.svg","position-bottom":"position-bottom.svg","position-left-annotation":"position-left-annotation.svg","position-left":"position-left.svg","position-right-annotation":"position-right-annotation.svg","position-right":"position-right.svg","position-top-annotation":"position-top-annotation.svg","position-top":"position-top.svg",product:"product.svg",publications:"publications.svg","radio-button-checked":"radio-button-checked.svg","radio-button":"radio-button.svg",renew:"renew.svg",restart:"restart.svg",reverse:"reverse.svg","rotation-0":"rotation-0.svg","rotation-45":"rotation-45.svg","rotation-90":"rotation-90.svg",search:"search.svg","server-on":"server-on.svg",server:"server.svg",settings:"settings.svg",sina:"sina.svg",skatterplot:"skatterplot.svg",slice:"slice.svg","social-github":"social-github.svg","social-linkedin":"social-linkedin.svg","social-twitter-X":"social-twitter-X.svg","social-twitter-bird":"social-twitter-bird.svg","social-youtube":"social-youtube.svg","sort-list-down":"sort-list-down.svg","sort-list-up":"sort-list-up.svg",sort:"sort.svg",statistics:"statistics.svg",stop:"stop.svg","strip-plot":"strip-plot.svg",success:"success.svg","table-add":"table-add.svg","table-alias":"table-alias.svg","table-import":"table-import.svg",table:"table.svg",template:"template.svg",terminal:"terminal.svg","text-align-center":"text-align-center.svg","text-align-left":"text-align-left.svg","text-align-right":"text-align-right.svg","theme-dark":"theme-dark.svg","theme-light":"theme-light.svg",time:"time.svg",tune:"tune.svg",venn:"venn.svg","view-hide":"view-hide.svg","view-show":"view-show.svg","violin-binned":"violin-binned.svg","violin-jitter":"violin-jitter.svg",violin:"violin.svg",warning:"warning.svg",wetlab:"wetlab.svg","windows-collapse":"windows-collapse.svg","windows-expand":"windows-expand.svg","x-axis":"x-axis.svg","y-axis":"y-axis.svg",zip:"zip.svg","zoom-in":"zoom-in.svg","zoom-out":"zoom-out.svg"};function $0(){return{txtSec:{title:"Text",data:{"--txt-00":{light:[!1,!1],value:["#FFFFFF","#FFFFFF"],description:"Text on the colored elements"},"--txt-01":{light:[!0,!1],value:["#110529","#FFFFFF"],description:"Primary text layer"},"--txt-02":{light:[!0,!1],value:["#231842","#ADAEB8"],description:"Secondary text layer - large arrays of text"},"--txt-03":{light:[!0,!0],value:["#9D9EAE","#60616B"],description:"Tetritary text layer - hints and descriptions"},"--txt-mask":{light:[!1,!0],value:["#CFD1DB","#3D3D42"],description:"Text mask in inputs, icons, etc."},"--txt-focus":{light:[!0,!0],value:["#07AD3E","#87E087"],description:"Colored text in active/focus elements"},"--txt-error":{light:[!0,!0],value:["#F1222F","#FF5C5C"],description:"Colored text in error elements"},"--txt-link":{light:[!0,!0],value:["#5F31CC","#9470FF"],description:"Colored text in links"}}},iconSec:{title:"Icon",data:{"--ic-00":{light:[!1,!1],value:["#FFFFFF","#FFFFFF"],description:"Icons on colored elements"},"--ic-01":{light:[!0,!1],value:["#110529","#FFFFFF"],description:"Primary elements"},"--ic-02":{light:[!1,!0],value:["#CFD1DB","#60616B"],description:"Secondary & tetritary elements"},"--ic-accent":{light:[!0,!1],value:["#07AD3E","#87E087"],description:"Focus/active elements"}}},borderSec:{title:"Border",data:{"--border-color-default":{light:[!0,!0],value:["#110529","#60616B"],description:"Main border for components"},"--border-color-hover":{light:[!0,!0],value:["#231842","#ADAEB8"],description:"Hover on main border"},"--border-color-focus":{light:[!1,!1],value:["#49CC49","#49CC49"],description:"Active border for components"},"--border-color-error":{light:[!1,!1],value:["#FF5C5C","#FF5C5C"],description:"Error border for components"},"--border-color-div-grey":{light:[!1,!0],value:["#E1E3EB","#232329"],description:"Divider lines low contrast"},"--border-color-div-bw":{light:[!1,!0],value:["#FFFFFF","#000000"],description:"Divider lines hight contrast"}}},btnSec:{title:"Button",data:{"--btn-accent-default":{light:[!0,!0],value:["#845CFF"," #5F31CC"],description:"Accent coloured button"},"--btn-accent-hover":{light:[!0,!0],value:["#9470FF"," #5F31CC"],description:"Hover on accent coloured button"},"--btn-accent-press":{light:[!0,!0],value:["#6F4DD6","#5F31CC"],description:"Pressed on accent coloured button"},"--btn-primary-default":{light:[!0,!0],value:["#110529","#5F31CC"],description:"Primary button"},"--btn-primary-hover":{light:[!0,!0],value:["#231842","#6D3DDB"],description:"Hover on primary button"},"--btn-primary-press":{light:[!0,!0],value:["#080214","#5328B8"],description:"Hover on primary button"},"--btn-sec-hover-white":{light:[!1,!0],value:["rgba(255, 255, 255, 0.50)","rgba(131, 131, 163, 0.16)"],description:"Hover background on transparent button"},"--btn-sec-hover-grey":{light:[!1,!0],value:["rgba(155, 171, 204, 0.16)","rgba(131, 131, 163, 0.16)"],description:"Hover background on ghost button & icons"},"--btn-sec-press-grey":{light:[!1,!0],value:["rgba(155, 171, 204, 0.24)","rgba(131, 131, 163, 0.24)"],description:"Hover background on ghost button & icons"},"--btn-active-select":{light:[!1,!0],value:["rgba(99, 224, 36, 0.24)","rgba(99, 224, 36, 0.24)"],description:"Fill on selected elements"},"--btn-switcher":{light:[!1,!0],value:["linear-gradient(180deg, #A1E59C 0%, #D0F5B0 100%)","#5E5E70"],description:"Gradient on active controll/switcher element"}}},disSec:{title:"Disable",data:{"--dis-00":{light:[!1,!0],value:["#FFFFFF","#65656B"],description:"Elements on dis-01, labels, texts, icons"},"--dis-01":{light:[!1,!0],value:["#CFD1DB","#3D3D42"],description:"Buttons, borders, labels, texts, icons"}}},bgSec:{title:"Background",data:{"--bg-base-dark":{light:[!0,!0],value:["#110529","#0D0D0F"],description:"Default dark block background"},"--bg-base-light":{light:[!1,!0],value:["#F7F8FA","#0D0D0F"],description:"Default light block background"},"--bg-elevated-01":{light:[!1,!0],value:["#FFFFFF","#1B1B1F"],description:"Default block background"},"--bg-elevated-02":{light:[!1,!0],value:["#E1E3EB","#2D2D33"],description:"Secondary block background"}}},filledSec:{title:"Filled",data:{"--filled-V-BG":{light:[!1,!0],value:["#D0F0C0","rgba(66, 184, 66, 0.40)"],description:"Text background selection on V-read"},"--filled-D-BG":{light:[!1,!0],value:["#FFCECC","rgba(229, 83, 229, 0.40)"],description:"Text background selection on D-read"},"--filled-N-BG":{light:[!1,!0],value:["#FAF5AA","rgba(83, 82, 102, 0.40)"],description:"Text background selection on C/N-read"},"--filled-J-BG":{light:[!1,!0],value:["#DEDBFF","rgba(132, 92, 255, 0.40)"],description:"Text background selection on J-read"}}},notificationSec:{title:"Notification",data:{"--notification-neutral":{light:[!1,!0],value:["linear-gradient(90deg, #D6D9FF 0%, #FFF 100%)","linear-gradient(90deg, #4D4D8F 0%, #292933 100%)"],description:"Background on neutral blocks"},"--notification-success":{light:[!1,!0],value:["linear-gradient(90deg, #C9F0B6 0%, #FFF 100%)","linear-gradient(90deg, #305C3E 0%, #292933 100%)"],description:"Background on success blocks"},"--notification-warning":{light:[!1,!0],value:["linear-gradient(90deg, #FEE0A3 0%, #FFF 100%)","linear-gradient(90deg, #754F2D 0%, #292933 100%)"],description:"Background on warning blocks"},"--notification-error":{light:[!1,!0],value:["linear-gradient(90deg, #FFB8B8 0%, #FFF 100%)","linear-gradient(90deg, #8F3343 0%, #292933 100%)"],description:"Background on error blocks"}}},gradientSec:{title:"Gradient",data:{"--gradient-blue-green":{light:[!0,!0],value:["linear-gradient(0deg, #478063 0%, #2E4652 45.93%, #24223D 91.63%)","linear-gradient(0deg, #478063 0%, #2E4652 45.93%, #24223D 91.63%)"],description:"Main brand dark gradient"},"--gradient-green-lime":{light:[!1,!0],value:["linear-gradient(180deg, #A1E59C 0%, #D0F5B0 100%)","linear-gradient(0deg, #478063 0%, #2E4652 45.93%, #24223D 91.63%)"],description:"Main brand light gradient"},"--gradient-blue-violet":{light:[!1,!0],value:["linear-gradient(180deg, #ADB8FF 0%, #D6E9FF 100%)","linear-gradient(0deg, #478063 0%, #2E4652 45.93%, #24223D 91.63%)"],description:"Main brand light gradient"},"--gradient-blue-clear":{light:[!1,!0],value:["linear-gradient(180deg, #85BEFF 0%, #CEF 100%)","linear-gradient(0deg, #478063 0%, #2E4652 45.93%, #24223D 91.63%)"],description:"Additional brand gradient"},"--gradient-orange":{light:[!1,!0],value:["linear-gradient(180deg, #FFB766 0%, #FFEAA3 100%)","linear-gradient(0deg, #478063 0%, #2E4652 45.93%, #24223D 91.63%)"],description:"Additional brand gradient"},"--gradient-mint":{light:[!1,!0],value:["linear-gradient(180deg, #7DD1D1 0%, #C8FAE9 100%)","linear-gradient(0deg, #478063 0%, #2E4652 45.93%, #24223D 91.63%)"],description:"Additional brand gradient"},"--gradient-lime":{light:[!1,!0],value:["linear-gradient(180deg, #BFE062 0%, #E4FFAD 100%)","linear-gradient(0deg, #478063 0%, #2E4652 45.93%, #24223D 91.63%)"],description:"Additional brand gradient"},"--gradient-rose":{light:[!1,!0],value:["linear-gradient(0deg, #FFDDD6 0%, #FF99C9 100%)","linear-gradient(0deg, #478063 0%, #2E4652 45.93%, #24223D 91.63%)"],description:"Additional brand gradient"},"--gradient-red":{light:[!1,!0],value:["linear-gradient(0deg, #FFD5CC 0%, #FF9494 100%)","linear-gradient(0deg, #478063 0%, #2E4652 45.93%, #24223D 91.63%)"],description:"Additional brand gradient"},"--gradient-violet":{light:[!1,!0],value:["linear-gradient(180deg, #BCA3FF 0%, #E5E5FF 100%)","linear-gradient(0deg, #478063 0%, #2E4652 45.93%, #24223D 91.63%)"],description:"Additional brand gradient"}}}}}const E0=["add","arrow-down","arrow-left","arrow-link","arrow-right","arrow-up","box","calendar","caret-down","caret-left","caret-right","caret-up","cell-type-num","cell-type-txt","checkmark","chevron-down","chevron-first","chevron-last","chevron-left","chevron-right","chevron-up","clipboard-copied","clipboard","close","copy","data-dimentions","delete-bin","delete-circle","delete-clear","download","drag-dots","duplicate","edit","error","export","filter-on","filter","help-outline","help","info-outline","info","jump-link","link","loading","lock","maximize","minimize","minus","more","open","paper-clip","pause","play","renew","restart","reverse","settings","sort","stop","success","time","tune","warning","x-axis","y-axis","zip"],N0=["add-layer","add","align-center","align-left","align-right","annotate","annotation","area","arrow-down","arrow-left","arrow-link","arrow-right","arrow-up","axes","bar-cross","bar-error","bar-stacked","bar-trend","bar","bindot","box","boxplot-binned","boxplot-jitter","boxplot-notched","boxplot","bubble","calendar","canvas","cell-type-num","cell-type-txt","checkbox-checked","checkbox-intermediate","checkbox","checkmark","chevron-down","chevron-first","chevron-last","chevron-left","chevron-right","chevron-sort","chevron-up","clipboard-copied","clipboard","close","cloud-download","cloud-offline","cloud-online","cloud-upload","cluster","code","color-fill","color-none","color-stroke","color","columns","connected-points","container","cookie","copy","cpu","data-dimentions","debug","delete-bin","delete-circle","delete-clear","dendrogram-X-line","dendrogram-X","dendrogram-Y-line","dendrogram-Y","dna-add","dna-import","dna","download","drag-dots","drag-horizontal","drag-vertical","duplicate","edit","error-bar","error","expand-left","expand-right","export","file-doc-add","file-doc-download","file-doc-import","file-doc","filter-on","filter","fire-tips","folder-parent","frame-type-all","frame-type-bottom","frame-type-left-bottom","frame-type-left","frame-type-none","generate","graph","heatmap","help-outline","help","info-outline","info","jitter","jump-link","lasso","layers","learn","legend-box-dot","legend-box","legend","line-binned","line-error","line-jitter","line","linetype-dashed","linetype-dotdash","linetype-dotted","linetype-longdash","linetype-solid","linetype-twodash","link-disabled","link","loading","lock","maximize","menu","minimize","minus","more","paper-clip","pause","pin","play","position-bottom-annotation","position-bottom","position-left-annotation","position-left","position-right-annotation","position-right","position-top-annotation","position-top","product","publications","radio-button-checked","radio-button","renew","restart","reverse","rotation-0","rotation-45","rotation-90","search","server-on","server","settings","sina","skatterplot","slice","social-github","social-linkedin","social-twitter-X","social-twitter-bird","social-youtube","sort-list-down","sort-list-up","sort","statistics","stop","strip-plot","success","table-add","table-alias","table-import","table","template","terminal","text-align-center","text-align-left","text-align-right","theme-dark","theme-light","time","tune","venn","view-hide","view-show","violin-binned","violin-jitter","violin","warning","wetlab","windows-collapse","windows-expand","x-axis","y-axis","zip","zoom-in","zoom-out"],S0={allCssVariables:$0(),icons16:B0,icons24:C0};V.Color=le,V.ContextProvider=Sy,V.DataTable=Ii,V.DemoData=S0,V.DropdownListItem=We,V.DropdownOverlay=Yn,V.Gradient=Ny,V.LongText=Wn,V.PlAccordion=Bu,V.PlAccordionSection=$u,V.PlAlert=ma,V.PlBlockPage=Qi,V.PlBtnAccent=Aa,V.PlBtnDanger=Da,V.PlBtnGhost=In,V.PlBtnGroup=yr,V.PlBtnLink=Ra,V.PlBtnPrimary=hr,V.PlBtnSecondary=gr,V.PlBtnSplit=Ea,V.PlChartHistogram=Ey,V.PlChartStackedBar=gp,V.PlChartStackedBarCompact=kp,V.PlCheckbox=Zd,V.PlCheckboxGroup=Kd,V.PlChip=Gn,V.PlCloseModalBtn=Nr,V.PlContainer=ta,V.PlDialogModal=Sr,V.PlDropdown=Xn,V.PlDropdownLegacy=yd,V.PlDropdownLine=od,V.PlDropdownMulti=Er,V.PlDropdownMultiRef=Hd,V.PlDropdownRef=Uc,V.PlEditableTitle=sc,V.PlFileDialog=Rr,V.PlFileInput=lp,V.PlGrid=aa,V.PlIcon16=Pe,V.PlIcon24=Un,V.PlLoaderCircular=vr,V.PlLogView=wu,V.PlMaskIcon16=Ke,V.PlMaskIcon24=oe,V.PlNotificationAlert=up,V.PlNumberField=Ed,V.PlProgressBar=xd,V.PlProgressCell=zu,V.PlRow=oa,V.PlSearchField=Vr,V.PlSectionSeparator=Ar,V.PlSlideModal=lu,V.PlSpacer=la,V.PlSplash=Mu,V.PlStatusTag=Eu,V.PlTabs=Vu,V.PlTextArea=Sc,V.PlTextField=kc,V.PlToggleSwitch=cu,V.PlTooltip=X,V.Scrollable=V0,V.Slider=Iy,V.SliderRange=k0,V.SliderRangeTriple=i0,V.ThemeSwitcher=qi,V.animate=fr,V.animateInfinite=Ba,V.call=ir,V.categoricalColors=pl,V.delay=ar,V.detectOutside=Tc,V.eventListener=Kn,V.getElementScrollPosition=$r,V.interpolateColor=ml,V.isElementVisible=Cr,V.listToOptions=Ca,V.magma=ul,V.makeEaseInOut=Va,V.makeEaseOut=ur,V.maskIcons16=E0,V.maskIcons24=N0,V.normalizeGradient=hl,V.normalizeListOptions=Ne,V.palettes=fl,V.randomInt=dr,V.randomString=xa,V.requestTick=On,V.scrollIntoView=Gt,V.showContextMenu=vn,V.throttle=pr,V.timeout=cr,V.useClickOutside=Xt,V.useComponentProp=Xy,V.useDraggable=Yy,V.useEventListener=q,V.useFormState=Wy,V.useHover=nr,V.useInterval=qy,V.useLabelNotch=be,V.useLocalStorage=rr,V.useMouse=tr,V.useMouseCapture=Ee,V.usePosition=ft,V.useQuery=Ky,V.useResizeObserver=gl,V.useScroll=Ly,V.useSortable=jy,V.useSortable2=Uy,V.useTheme=lr,V.viridis=dl,Object.defineProperty(V,Symbol.toStringTag,{value:"Module"})});
|
|
25
|
+
)`}function l(){const a=n.value;if(!a)return;const c=[r(a),s(a)].filter(d=>d!==null);a.style.setProperty("-webkit-mask-image",c.join(",")),a.style.setProperty("mask-image",c.join(",")),c.length>1&&(a.style.setProperty("-webkit-mask-composite","source-in"),a.style.setProperty("mask-composite","source-in"))}const i=On(l);e.onMounted(l),q(window,"scroll",i,!0),q(window,"resize",i,!0)}function gl(n,t){_r(()=>{G(e.unref(n),o=>{kr(o,()=>t(o))})}),e.onUnmounted(()=>{G(e.unref(n),o=>{wr(o)})})}const Fe={item:"sortable__item",animate:"sortable__animate"},Lt=n=>n.getBoundingClientRect().y,yl=n=>{const{y:t,height:o}=n.getBoundingClientRect();return t+Math.ceil(o/2)},Hy=n=>{const{y:t,height:o}=n.getBoundingClientRect();return t+o};function jy(n,t){const o={item:void 0,options(){var m;return[...((m=n.value)==null?void 0:m.children)??[]]}},r=e.computed(()=>o.options()),s=t.shakeBuffer??10,l=t.reorderDelay??100;function i(m){const y=t.handle?this.querySelector(t.handle):null;y&&(y&&!y.contains(m.target)||(this.classList.remove(Fe.animate),this.classList.add(Fe.item),o.item={el:this,y:m.y,dy:0,orderChanged:!1}))}function a(m){const y=o.options();return y.slice(0,y.indexOf(m))}function c(m){const y=o.options();return y.slice(y.indexOf(m)+1)}function d(m,y){const k=o.options().filter(S=>S!==y),b=k.indexOf(m);return k.splice(b,0,y),k}function u(m,y){const k=o.options().filter(S=>S!==y),b=k.indexOf(m);return k.splice(b+1,0,y),k}function f(m,y){m.dy=y-m.y,m.el.style.setProperty("transform",`translateY(${m.dy}px)`)}function p(m){var g;if(!o.item)return;const{el:y}=o.item;if(!y.isConnected){o.item=void 0;return}const k=m.map(h=>Lt(h)),b=Lt(y);(g=n.value)==null||g.replaceChildren(...m);const S=Lt(y),F=m.map(h=>Lt(h)),B=[];for(let h=0;h<F.length;h++){const w=m[h];if(w===o.item.el)continue;const $=F[h],N=k[h]-$;w.style.transform=`translateY(${N}px)`,B.push(w)}const T=S-b;o.item.y=o.item.y+T,o.item.dy=o.item.dy-T,o.item.orderChanged=!0,o.item.el.style.setProperty("transform",`translateY(${o.item.dy}px)`),B.forEach(h=>h.classList.remove(Fe.animate)),requestAnimationFrame(function(){B.forEach(h=>{h.classList.add(Fe.animate),h.style.transform="",h.addEventListener("transitionend",()=>{h.classList.remove(Fe.animate)})})})}q(window,"mousemove",m=>{if(!o.item)return;const{el:y}=o.item;f(o.item,m.y);const k=Lt(o.item.el),b=Hy(o.item.el),S=a(y),F=c(y);S.forEach(B=>{const T=yl(B);k+s<T&&p(d(B,y))}),F.forEach(B=>{const T=yl(B);b-s>T&&p(u(B,y))})}),q(window,"mouseup",()=>{if(!o.item)return;const{el:m,orderChanged:y}=o.item;m.classList.add(Fe.animate),m.style.removeProperty("transform"),m.addEventListener("transitionend",()=>{m.classList.remove(Fe.animate,Fe.item)}),setTimeout(()=>{if(!y)return;const k=o.options().map(S=>Number(S.getAttribute("data-index"))),b=n.value;if(b){for(const S of o.options())b.removeChild(S);r.value.forEach(S=>{b.appendChild(S)})}t.onChange(k)},l),o.item=void 0}),e.watchEffect(()=>{r.value.forEach((m,y)=>{m.removeEventListener("mousedown",i),m.addEventListener("mousedown",i),m.setAttribute("data-index",String(y))})})}const ze={item:"sortable__item",animate:"sortable__animate"},Ht=n=>n.getBoundingClientRect().y,_l=n=>{const{y:t,height:o}=n.getBoundingClientRect();return t+Math.ceil(o/2)},Zy=n=>{const{y:t,height:o}=n.getBoundingClientRect();return t+o};function Uy(n,t){const o={item:void 0,options(){var y;return[...((y=n.value)==null?void 0:y.children)??[]]}};let r=0;e.watch(()=>n.value,()=>{setTimeout(()=>{n.value&&(n.value.scrollTop=r)},0)});const s=e.computed(()=>o.options()),l=t.shakeBuffer??10,i=t.reorderDelay??100;function a(y){var b;const k=t.handle?this.querySelector(t.handle):null;k&&(k&&!k.contains(y.target)||(this.classList.remove(ze.animate),this.classList.add(ze.item),o.item={el:this,y:y.y,dy:0,initialScrollTop:((b=n.value)==null?void 0:b.scrollTop)||0,orderChanged:!1}))}function c(y){const k=o.options();return k.slice(0,k.indexOf(y))}function d(y){const k=o.options();return k.slice(k.indexOf(y)+1)}function u(y,k){const b=o.options().filter(F=>F!==k),S=b.indexOf(y);return b.splice(S,0,k),b}function f(y,k){const b=o.options().filter(F=>F!==k),S=b.indexOf(y);return b.splice(S+1,0,k),b}function p(y,k){var F;const S=(((F=n.value)==null?void 0:F.scrollTop)||0)-(y.initialScrollTop||0);y.dy=k-y.y+S,y.el.style.setProperty("transform",`translateY(${y.dy}px)`)}function m(y){var h;if(!o.item)return;const{el:k}=o.item;if(!k.isConnected){o.item=void 0;return}const b=y.map(w=>Ht(w)),S=Ht(k);(h=n.value)==null||h.replaceChildren(...y);const F=Ht(k),B=y.map(w=>Ht(w)),T=[];for(let w=0;w<B.length;w++){const $=y[w];if($===o.item.el)continue;const A=B[w],C=b[w]-A;$.style.transform=`translateY(${C}px)`,T.push($)}const g=F-S;o.item.y=o.item.y+g,o.item.dy=o.item.dy-g,o.item.orderChanged=!0,o.item.el.style.setProperty("transform",`translateY(${o.item.dy}px)`),T.forEach(w=>w.classList.remove(ze.animate)),requestAnimationFrame(function(){T.forEach(w=>{w.classList.add(ze.animate),w.style.transform="",w.addEventListener("transitionend",()=>{w.classList.remove(ze.animate)})})})}q(window,"mousemove",y=>{if(!o.item)return;const{el:k}=o.item;p(o.item,y.y);const b=Ht(o.item.el),S=Zy(o.item.el),F=c(k),B=d(k);if(F.forEach(T=>{const g=_l(T);b+l<g&&m(u(T,k))}),B.forEach(T=>{const g=_l(T);S-l>g&&m(f(T,k))}),n.value){const T=n.value.getBoundingClientRect(),g=T.top+k.getBoundingClientRect().height/2;y.clientY<g&&(n.value.scrollTop+=y.clientY-g);const h=T.bottom-k.getBoundingClientRect().height/2;y.clientY>h&&(n.value.scrollTop+=y.clientY-h)}}),q(window,"mouseup",()=>{var b;if(!o.item)return;r=((b=n.value)==null?void 0:b.scrollTop)||0;const{el:y,orderChanged:k}=o.item;y.classList.add(ze.animate),y.style.removeProperty("transform"),y.addEventListener("transitionend",()=>{y.classList.remove(ze.animate,ze.item)}),setTimeout(()=>{if(!k)return;const S=o.options().map(B=>Number(B.getAttribute("data-index"))),F=n.value;if(F){for(const B of o.options())F.removeChild(B);s.value.forEach(B=>{F.appendChild(B)})}t.onChange(S)},i),o.item=void 0}),e.watchEffect(()=>{s.value.forEach((y,k)=>{y.removeEventListener("mousedown",a),y.addEventListener("mousedown",a),y.setAttribute("data-index",String(k))})})}function qy(n,t){let o;e.onMounted(()=>{o=setInterval(n,t)}),e.onUnmounted(()=>clearInterval(o))}function Wy(n,t,o){const r=e.reactive({data:Mn.deepClone(t(n.value)),changed:!1});return e.watch(()=>r.data,s=>{r.changed?o(Mn.deepClone(s)):r.changed=!0},{deep:!0}),e.watch(n,s=>{Object.assign(r,{data:Mn.deepClone(t(s)),changed:!1})},{deep:!0,immediate:!0}),r}function Ky(n){const t=e.reactive({isLoading:!1,result:void 0,error:void 0,async run(...o){this.isLoading=!0,this.error=void 0;try{this.result=await n(...o)}catch(r){this.error=r}finally{this.isLoading=!1}},debounce(o,r=1e3){return Go(()=>{const s=o();this.run(...s).catch(console.error)},r)}});return t.run=t.run.bind(t),t}function Yy(n,t){function o(i,a){const c=e.unref(n);if(!c)return;const d=`translate(${a.x-i.x}px, ${a.y-i.y}px)`;c.style.setProperty("transform",d),t(a)}function r(i){const a=c=>o(i,c);document.addEventListener("mousemove",a),document.addEventListener("mouseup",()=>{const c=e.unref(n);document.removeEventListener("mousemove",a),c&&(c.style.setProperty("transition","all .3s ease-in-out"),c.style.removeProperty("transform"),c.addEventListener("transitionend",()=>{c.style.removeProperty("transition")}))},{once:!0})}function s(){var i;(i=e.unref(n))==null||i.addEventListener("mousedown",r)}function l(){var i;(i=e.unref(n))==null||i.removeEventListener("mousedown",r)}e.onMounted(s),e.onUnmounted(l)}function Xy(n){return e.computed(n)}const Gy={class:"ui-slider__wrapper"},Jy={class:"ui-slider__label-section"},Qy={key:0,class:"text-s"},e0={class:"ui-slider__base"},t0={class:"ui-slider__container"},n0={class:"ui-slider__container ui-slider__container-thumb"},o0=["data-percent"],r0=["data-percent"],s0=["data-percent"],l0={key:0,class:"ui-slider__error"},i0=e.defineComponent({__name:"SliderRangeTriple",props:{modelValue:{},min:{default:0},max:{},step:{default:1},label:{default:void 0},helper:{default:void 0},error:{default:void 0},mode:{default:"text"},measure:{default:"%"},breakpoints:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},emits:["update:modelValue"],setup(n,{emit:t}){const o=e.useSlots(),r=t,s=n,l=e.reactive({deltaValue1:0,deltaValue2:0,deltaValue3:0}),i=e.ref(),a=e.ref(),c=e.ref(),d=e.ref(),u=e.computed(()=>s.max-s.min),f=e.computed(()=>s),p=Zo(f),m=e.computed(()=>ee((s.modelValue[0]??0)+l.deltaValue1,s.min,s.max)),y=e.computed(()=>ee((s.modelValue[1]??0)+l.deltaValue2,s.min,s.max)),k=e.computed(()=>ee((s.modelValue[2]??0)+l.deltaValue3,s.min,s.max)),b=e.computed(()=>{const v=s.modelValue;if(!(Array.isArray(v)&&v.length===3&&v.every(Z=>Number.isFinite(Z))))return"Expected model [number, number, number]";const H=[];return[...s.modelValue].forEach(Z=>{Z>s.max&&H.push(`Max model value must be lower than max props ${s.max}.`),Z<s.min&&H.push("Min model value must be greater than max props.")}),H.length>0?H.join(" "):s.error}),S=e.computed(()=>(m.value-s.min)/u.value),F=e.computed(()=>(y.value-s.min)/u.value),B=e.computed(()=>(k.value-s.min)/u.value),T=e.computed(()=>N()),g=e.computed(()=>({right:T.value[0]+"%",left:100-T.value[2]+"%"})),h=e.computed(()=>({right:Math.ceil((1-S.value)*100)+"%"})),w=e.computed(()=>({right:Math.ceil((1-F.value)*100)+"%"})),$=e.computed(()=>({right:Math.ceil((1-B.value)*100)+"%"}));Ee(a,v=>{var D;G((D=e.unref(i))==null?void 0:D.getBoundingClientRect(),H=>{const{dx:Z}=v;l.deltaValue1=Z/H.width*u.value,a.value&&A(a.value,s.modelValue[0],l.deltaValue1),v.stop&&(E([C(m.value),C(y.value),C(k.value)]),l.deltaValue1=0)})}),Ee(c,v=>{var D;G((D=e.unref(i))==null?void 0:D.getBoundingClientRect(),H=>{const{dx:Z}=v;l.deltaValue2=Z/H.width*u.value,c.value&&A(c.value,s.modelValue[1],l.deltaValue2),v.stop&&(E([C(m.value),C(y.value),C(k.value)]),l.deltaValue2=0)})}),Ee(d,v=>{var D;G((D=e.unref(i))==null?void 0:D.getBoundingClientRect(),H=>{const{dx:Z}=v;l.deltaValue3=Z/H.width*u.value,d.value&&A(d.value,s.modelValue[2],l.deltaValue3),v.stop&&(E([C(m.value),C(y.value),C(k.value)]),l.deltaValue3=0)})});function A(v,D,H){const Z=C(ee((D??0)+H,s.min,s.max));v.dataset.percent=`${Z}${s.measure}`,_()}function N(){const v=Math.ceil((1-S.value)*100),D=Math.ceil((1-F.value)*100),H=Math.ceil((1-B.value)*100);return[v,D,H].sort((Z,J)=>Z-J)}function C(v){const D=ee(v,s.min,s.max);return Math.round((D+Number.EPSILON)*(1/s.step))/(1/s.step)}function E(v){r("update:modelValue",v)}function _(){const v=Number(h.value.right.substring(0,h.value.right.length-1)),D=Number(w.value.right.substring(0,w.value.right.length-1)),H=Number($.value.right.substring(0,$.value.right.length-1)),Z=[{r:v,th:a},{r:D,th:c},{r:H,th:d}].sort((J,at)=>J.r-at.r);Z[0].th.value&&(Z[0].th.value.dataset.hint="high"),Z[1].th.value&&(Z[1].th.value.dataset.hint="mid"),Z[2].th.value&&(Z[2].th.value.dataset.hint="low")}function x(v,D){["ArrowDown","ArrowUp","ArrowRight","ArrowLeft","Enter"].includes(v.code)&&v.preventDefault();const H=v.code==="ArrowUp"||v.code==="ArrowRight"?s.step*1:v.code==="ArrowDown"||v.code==="ArrowLeft"?s.step*-1:0,Z=[...s.modelValue];Z[D]=ee(Z[D]+H,s.min,s.max),E(Z),_()}return e.onMounted(()=>{_()}),(v,D)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass([s.disabled?"ui-slider__disabled":void 0,"ui-slider__envelope ui-slider__triple"])},[e.createElementVNode("div",{class:e.normalizeClass([`ui-slider__mode-${s.mode}`,"ui-slider"])},[e.createElementVNode("div",Gy,[e.createElementVNode("div",Jy,[v.label?(e.openBlock(),e.createElementBlock("label",Qy,[e.createElementVNode("span",null,e.toDisplayString(v.label),1),D[3]||(D[3]=e.createTextVNode()),e.unref(o).tooltip?(e.openBlock(),e.createBlock(e.unref(X),{key:0,class:"info",position:"top"},{tooltip:e.withCtx(()=>[e.renderSlot(v.$slots,"tooltip")]),_:3})):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)]),D[11]||(D[11]=e.createTextVNode()),e.createElementVNode("div",e0,[e.createElementVNode("div",t0,[e.createElementVNode("div",{ref_key:"barRef",ref:i,class:"ui-slider__bar"},[e.createElementVNode("div",{class:"ui-slider__progress",style:e.normalizeStyle(g.value)},null,4)],512)]),D[10]||(D[10]=e.createTextVNode()),e.createElementVNode("div",n0,[s.breakpoints?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(e.unref(p),(H,Z)=>(e.openBlock(),e.createElementBlock("div",{key:Z,style:e.normalizeStyle({right:`${H}%`}),class:"ui-slider__thumb-step"},null,4))),128)):e.createCommentVNode("",!0),D[7]||(D[7]=e.createTextVNode()),e.createElementVNode("div",{ref_key:"thumbRef1",ref:a,style:e.normalizeStyle(h.value),"data-percent":s.modelValue[0]+"%",class:"ui-slider__thumb ui-slider__triple-thumb",r1:"",tabindex:"0",onKeydown:D[0]||(D[0]=H=>x(H,0))},D[4]||(D[4]=[e.createElementVNode("div",{class:"ui-slider__thumb-focused-contour"},null,-1)]),44,o0),D[8]||(D[8]=e.createTextVNode()),e.createElementVNode("div",{ref_key:"thumbRef2",ref:c,style:e.normalizeStyle(w.value),"data-percent":s.modelValue[1]+"%",class:"ui-slider__thumb ui-slider__triple-thumb",r2:"",tabindex:"0",onKeydown:D[1]||(D[1]=H=>x(H,1))},D[5]||(D[5]=[e.createElementVNode("div",{class:"ui-slider__thumb-focused-contour"},null,-1)]),44,r0),D[9]||(D[9]=e.createTextVNode()),e.createElementVNode("div",{ref_key:"thumbRef3",ref:d,style:e.normalizeStyle($.value),"data-percent":s.modelValue[2]+"%",class:"ui-slider__thumb ui-slider__triple-thumb",r3:"",tabindex:"0",onKeydown:D[2]||(D[2]=H=>x(H,2))},D[6]||(D[6]=[e.createElementVNode("div",{class:"ui-slider__thumb-focused-contour"},null,-1)]),44,s0)])])]),D[12]||(D[12]=e.createTextVNode()),D[13]||(D[13]=e.createElementVNode("div",{class:"ui-slider__input-wrapper d-flex"},null,-1))],2),D[14]||(D[14]=e.createTextVNode()),b.value?(e.openBlock(),e.createElementBlock("div",l0,e.toDisplayString(b.value),1)):e.createCommentVNode("",!0)],2))}}),a0={class:"ui-input-range__separator"},c0=e.defineComponent({__name:"InputRange",props:{modelValue:{},separator:{default:"-"}},emits:["update:modelValue","change"],setup(n,{emit:t}){const o=n,r=t,s=e.reactive({left:o.modelValue[0],right:o.modelValue[1]}),l=e.ref(!1),i=e.computed(()=>(l.value,"ui-input-range-focused")),a=e.computed({get(){return{left:Math.min(...o.modelValue),right:Math.max(...o.modelValue)}},set(){}});e.watch(()=>a.value,u=>(s.left=u.left)&&(s.right=u.right));function c(){r("update:modelValue",[+s.left,+s.right]),r("change",[+s.left,+s.right])}function d(u,f){const p=f.target.value;/^[0-9]{0,2}$/.test(p)?u?s.left=+p:s.right=+p:u?s.left=+p.slice(0,p.length-1):s.right=+p.slice(0,p.length-1)}return(u,f)=>(e.openBlock(),e.createElementBlock("div",e.mergeProps({class:[i.value,"ui-input-range"]},u.$attrs),[e.withDirectives(e.createElementVNode("input",{"onUpdate:modelValue":f[0]||(f[0]=p=>a.value.left=p),class:"text-s",type:"text",onChange:c,onFocus:f[1]||(f[1]=p=>l.value=!0),onFocusout:f[2]||(f[2]=p=>l.value=!1),onInput:f[3]||(f[3]=p=>d(!0,p))},null,544),[[e.vModelText,a.value.left]]),f[8]||(f[8]=e.createTextVNode()),e.createElementVNode("div",a0,e.toDisplayString(o.separator),1),f[9]||(f[9]=e.createTextVNode()),e.withDirectives(e.createElementVNode("input",{"onUpdate:modelValue":f[4]||(f[4]=p=>a.value.right=p),class:"text-s",type:"text",onChange:c,onFocus:f[5]||(f[5]=p=>l.value=!0),onFocusout:f[6]||(f[6]=p=>l.value=!1),onInput:f[7]||(f[7]=p=>d(!1,p))},null,544),[[e.vModelText,a.value.right]])],16))}}),d0={class:"ui-slider__wrapper"},u0={class:"ui-slider__label-section"},f0={key:0,class:"text-s"},p0={key:1,class:"ui-slider__value-static text-s"},m0={class:"ui-slider__base"},h0={class:"ui-slider__container"},g0={class:"ui-slider__container ui-slider__container-thumb"},y0={class:"ui-slider__input-wrapper d-flex"},_0={key:0,class:"ui-slider__error"},k0=e.defineComponent({__name:"SliderRange",props:{modelValue:{},min:{default:0},max:{},step:{default:1},label:{default:void 0},helper:{default:void 0},error:{default:void 0},mode:{default:"text"},measure:{default:""},breakpoints:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},emits:["update:modelValue"],setup(n,{emit:t}){const o=e.useSlots(),r=t,s=n,l=e.reactive({deltaValue1:0,deltaValue2:0}),i=e.ref(),a=e.ref(),c=e.ref(),d=e.ref(s.modelValue),u=e.ref(s.modelValue[0]),f=e.ref(s.modelValue[1]),p=e.computed(()=>s),m=Zo(p),y=e.computed(()=>[u.value,f.value].sort((_,x)=>_-x).join("-")),k=e.computed(()=>s.max-s.min),b=e.computed(()=>ee((s.modelValue[0]??0)+l.deltaValue1,s.min,s.max)),S=e.computed(()=>ee((s.modelValue[1]??0)+l.deltaValue2,s.min,s.max)),F=e.computed(()=>{const _=s.modelValue;return Array.isArray(_)&&_.length===2&&_.every(v=>Number.isFinite(v))?s.error:"Expected model [number, number]"}),B=e.computed(()=>(b.value-s.min)/k.value),T=e.computed(()=>(S.value-s.min)/k.value),g=e.computed(()=>A()),h=e.computed(()=>({right:g.value[0]+"%",left:100-g.value[1]+"%"})),w=e.computed(()=>({right:Math.ceil((1-B.value)*100)+"%"})),$=e.computed(()=>({right:Math.ceil((1-T.value)*100)+"%"}));e.watch(()=>s.modelValue,_=>{d.value=_,u.value=+_[0],f.value=+_[1]},{immediate:!0}),Ee(a,_=>{var x;G((x=e.unref(i))==null?void 0:x.getBoundingClientRect(),v=>{const{dx:D}=_;l.deltaValue1=D/v.width*k.value,u.value=N(ee((s.modelValue[0]??0)+l.deltaValue1,s.min,s.max)),d.value=[u.value,f.value].sort((H,Z)=>H-Z),_.stop&&(C([N(b.value),N(S.value)]),l.deltaValue1=0)})}),Ee(c,_=>{var x;G((x=e.unref(i))==null?void 0:x.getBoundingClientRect(),v=>{const{dx:D}=_;l.deltaValue2=D/v.width*k.value,f.value=N(ee((s.modelValue[1]??0)+l.deltaValue2,s.min,s.max)),d.value=[u.value,f.value].sort((H,Z)=>H-Z),_.stop&&(C([N(b.value),N(S.value)]),l.deltaValue2=0)})});function A(){const _=Math.ceil((1-B.value)*100),x=Math.ceil((1-T.value)*100);return[_,x].sort((v,D)=>v-D)}function N(_){const x=ee(_,s.min,s.max);return Math.round((x+Number.EPSILON)*(1/s.step))/(1/s.step)}function C(_){r("update:modelValue",_)}function E(_,x){["ArrowDown","ArrowUp","ArrowRight","ArrowLeft","Enter"].includes(_.code)&&_.preventDefault();const v=_.code==="ArrowUp"||_.code==="ArrowRight"?s.step*1:_.code==="ArrowDown"||_.code==="ArrowLeft"?s.step*-1:0,D=[...s.modelValue];D[x]=ee(D[x]+v,s.min,s.max),C(D)}return(_,x)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass([s.disabled?"ui-slider__disabled":void 0,"ui-slider__envelope"])},[e.createElementVNode("div",{class:e.normalizeClass([`ui-slider__mode-${s.mode}`,"ui-slider"])},[e.createElementVNode("div",d0,[e.createElementVNode("div",u0,[_.label?(e.openBlock(),e.createElementBlock("label",f0,[e.createElementVNode("span",null,e.toDisplayString(_.label),1),x[3]||(x[3]=e.createTextVNode()),e.unref(o).tooltip?(e.openBlock(),e.createBlock(e.unref(X),{key:0,class:"info",position:"top"},{tooltip:e.withCtx(()=>[e.renderSlot(_.$slots,"tooltip")]),_:3})):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),x[4]||(x[4]=e.createTextVNode()),s.mode==="text"?(e.openBlock(),e.createElementBlock("div",p0,e.toDisplayString(y.value),1)):e.createCommentVNode("",!0)]),x[10]||(x[10]=e.createTextVNode()),e.createElementVNode("div",m0,[e.createElementVNode("div",h0,[e.createElementVNode("div",{ref_key:"barRef",ref:i,class:"ui-slider__bar"},[e.createElementVNode("div",{class:"ui-slider__progress",style:e.normalizeStyle(h.value)},null,4)],512)]),x[9]||(x[9]=e.createTextVNode()),e.createElementVNode("div",g0,[s.breakpoints?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(e.unref(m),(v,D)=>(e.openBlock(),e.createElementBlock("div",{key:D,style:e.normalizeStyle({right:`${v}%`}),class:"ui-slider__thumb-step"},null,4))),128)):e.createCommentVNode("",!0),x[7]||(x[7]=e.createTextVNode()),e.createElementVNode("div",{ref_key:"thumbRef1",ref:a,style:e.normalizeStyle(w.value),class:"ui-slider__thumb",tabindex:"0",onKeydown:x[0]||(x[0]=v=>E(v,0))},x[5]||(x[5]=[e.createElementVNode("div",{class:"ui-slider__thumb-focused-contour"},null,-1)]),36),x[8]||(x[8]=e.createTextVNode()),e.createElementVNode("div",{ref_key:"thumbRef2",ref:c,style:e.normalizeStyle($.value),class:"ui-slider__thumb",tabindex:"0",onKeydown:x[1]||(x[1]=v=>E(v,1))},x[6]||(x[6]=[e.createElementVNode("div",{class:"ui-slider__thumb-focused-contour"},null,-1)]),36)])])]),x[11]||(x[11]=e.createTextVNode()),e.createElementVNode("div",y0,[s.mode==="input"?(e.openBlock(),e.createBlock(c0,{key:0,modelValue:d.value,"onUpdate:modelValue":x[2]||(x[2]=v=>d.value=v),class:"ui-focused-border",onChange:C},null,8,["modelValue"])):e.createCommentVNode("",!0)])],2),x[12]||(x[12]=e.createTextVNode()),F.value?(e.openBlock(),e.createElementBlock("div",_0,e.toDisplayString(F.value),1)):e.createCommentVNode("",!0)],2))}}),w0=e.defineComponent({__name:"VScroll",props:{scrollTop:{},clientHeight:{},scrollHeight:{}},emits:["update:scrollTop"],setup(n,{emit:t}){const o=t,r=n,s=e.ref(),l=e.computed(()=>r.clientHeight/(r.scrollHeight||1)),i=e.computed(()=>l.value<1),a=e.computed(()=>{const c=e.unref(l);return{top:r.scrollTop*c+"px",height:Math.floor(r.clientHeight*c)+"px"}});return q(s,"pointerdown",c=>{const d={clientY:c.clientY},f=Kn(document,"mousemove",p=>{const m=(p.clientY-d.clientY)/l.value;o("update:scrollTop",r.scrollTop+m),d.clientY=p.clientY});["mouseup","pointercancel"].forEach(p=>{document.addEventListener(p,f,{once:!0})})}),(c,d)=>i.value?(e.openBlock(),e.createElementBlock("div",{key:0,ref_key:"scrollRef",ref:s,class:"v-scroll"},[e.createElementVNode("div",{class:"v-scroll__scrollbar",style:e.normalizeStyle(a.value)},null,4)],512)):e.createCommentVNode("",!0)}}),b0=e.defineComponent({__name:"HScroll",props:{scrollLeft:{},clientWidth:{},scrollWidth:{}},emits:["update:scrollLeft"],setup(n,{emit:t}){const o=t,r=n,s=e.ref(),l=e.computed(()=>r.clientWidth/(r.scrollWidth||1)),i=e.computed(()=>l.value<1),a=e.computed(()=>{const c=e.unref(l);return{left:r.scrollLeft*c+"px",width:Math.floor(r.clientWidth*c)+"px"}});return q(s,"pointerdown",c=>{const d={clientX:c.clientX},f=Kn(document,"mousemove",p=>{const m=(p.clientX-d.clientX)/l.value;o("update:scrollLeft",r.scrollLeft+m),d.clientX=p.clientX});["mouseup","pointercancel"].forEach(p=>{document.addEventListener(p,f,{once:!0})})}),(c,d)=>i.value?(e.openBlock(),e.createElementBlock("div",{key:0,ref_key:"scrollRef",ref:s,class:"h-scroll"},[e.createElementVNode("div",{class:"h-scroll__scrollbar",style:e.normalizeStyle(a.value)},null,4)],512)):e.createCommentVNode("",!0)}}),x0={class:"ui-scrollable"},V0=e.defineComponent({__name:"Scrollable",setup(n){const t=e.ref(),o=e.reactive({scrollTop:0,scrollLeft:0,clientHeight:0,clientWidth:0,scrollHeight:0,scrollWidth:0});function r(a){La(o,a,"scrollTop","scrollLeft","clientHeight","clientWidth","scrollHeight","scrollWidth")}const s=a=>{a.preventDefault();const c=a.currentTarget;c.scrollTop+=a.deltaY,c.scrollLeft+=a.deltaX,r(c)};function l(a){G(e.unref(t),c=>{c.scrollTop=a,r(c)})}function i(a){G(e.unref(t),c=>{c.scrollLeft=a,r(c)})}return gl(t,a=>{G(a,c=>r(c))}),e.onMounted(()=>{G(e.unref(t),a=>{r(a),a.addEventListener("wheel",s)})}),e.onUnmounted(()=>{G(e.unref(t),a=>a.removeEventListener("wheel",s))}),(a,c)=>(e.openBlock(),e.createElementBlock("div",x0,[e.createElementVNode("div",{ref_key:"containerRef",ref:t,class:"ui-scrollable__container",onWheel:s},[e.renderSlot(a.$slots,"default")],544),c[2]||(c[2]=e.createTextVNode()),e.createVNode(w0,{"scroll-top":o.scrollTop,"client-height":o.clientHeight,"scroll-height":o.scrollHeight,onWheel:c[0]||(c[0]=e.withModifiers(()=>{},["stop"])),"onUpdate:scrollTop":l},null,8,["scroll-top","client-height","scroll-height"]),c[3]||(c[3]=e.createTextVNode()),e.createVNode(b0,{"scroll-left":o.scrollLeft,"client-width":o.clientWidth,"scroll-width":o.scrollWidth,onWheel:c[1]||(c[1]=e.withModifiers(()=>{},["stop"])),"onUpdate:scrollLeft":i},null,8,["scroll-left","client-width","scroll-width"])]))}}),B0={add:"add.svg","arrow-down":"arrow-down.svg","arrow-left":"arrow-left.svg","arrow-link":"arrow-link.svg","arrow-right":"arrow-right.svg","arrow-up":"arrow-up.svg",box:"box.svg",calendar:"calendar.svg","caret-down":"caret-down.svg","caret-left":"caret-left.svg","caret-right":"caret-right.svg","caret-up":"caret-up.svg","cell-type-num":"cell-type-num.svg","cell-type-subset":"cell-type-subset.svg","cell-type-txt":"cell-type-txt.svg",checkmark:"checkmark.svg","chevron-down":"chevron-down.svg","chevron-first":"chevron-first.svg","chevron-last":"chevron-last.svg","chevron-left":"chevron-left.svg","chevron-right":"chevron-right.svg","chevron-up":"chevron-up.svg","clipboard-copied":"clipboard-copied.svg",clipboard:"clipboard.svg",close:"close.svg",copy:"copy.svg","data-dimentions":"data-dimentions.svg","delete-bin":"delete-bin.svg","delete-circle":"delete-circle.svg","delete-clear":"delete-clear.svg",download:"download.svg","drag-dots":"drag-dots.svg",duplicate:"duplicate.svg",edit:"edit.svg",error:"error.svg",export:"export.svg","filter-on":"filter-on.svg",filter:"filter.svg","help-outline":"help-outline.svg",help:"help.svg","info-outline":"info-outline.svg",info:"info.svg","jump-link":"jump-link.svg",link:"link.svg",loading:"loading.svg",lock:"lock.svg",maximize:"maximize.svg",minimize:"minimize.svg",minus:"minus.svg",more:"more.svg",open:"open.svg","paper-clip":"paper-clip.svg",pause:"pause.svg",play:"play.svg",renew:"renew.svg",restart:"restart.svg",reverse:"reverse.svg",settings:"settings.svg",sort:"sort.svg",stop:"stop.svg",success:"success.svg",time:"time.svg",tune:"tune.svg",warning:"warning.svg","x-axis":"x-axis.svg","y-axis":"y-axis.svg",zip:"zip.svg"},C0={"add-layer":"add-layer.svg",add:"add.svg","align-center":"align-center.svg","align-left":"align-left.svg","align-right":"align-right.svg",annotate:"annotate.svg",annotation:"annotation.svg",area:"area.svg","arrow-down":"arrow-down.svg","arrow-left":"arrow-left.svg","arrow-link":"arrow-link.svg","arrow-right":"arrow-right.svg","arrow-up":"arrow-up.svg",axes:"axes.svg","bar-cross":"bar-cross.svg","bar-error":"bar-error.svg","bar-stacked":"bar-stacked.svg","bar-trend":"bar-trend.svg",bar:"bar.svg",bindot:"bindot.svg",box:"box.svg","boxplot-binned":"boxplot-binned.svg","boxplot-jitter":"boxplot-jitter.svg","boxplot-notched":"boxplot-notched.svg",boxplot:"boxplot.svg",bubble:"bubble.svg",calendar:"calendar.svg",canvas:"canvas.svg","cell-type-num":"cell-type-num.svg","cell-type-subset":"cell-type-subset.svg","cell-type-txt":"cell-type-txt.svg","checkbox-checked":"checkbox-checked.svg","checkbox-intermediate":"checkbox-intermediate.svg",checkbox:"checkbox.svg",checkmark:"checkmark.svg","chevron-down":"chevron-down.svg","chevron-first":"chevron-first.svg","chevron-last":"chevron-last.svg","chevron-left":"chevron-left.svg","chevron-right":"chevron-right.svg","chevron-sort":"chevron-sort.svg","chevron-up":"chevron-up.svg","clipboard-copied":"clipboard-copied.svg",clipboard:"clipboard.svg",close:"close.svg","cloud-download":"cloud-download.svg","cloud-offline":"cloud-offline.svg","cloud-online":"cloud-online.svg","cloud-upload":"cloud-upload.svg",cluster:"cluster.svg",code:"code.svg","color-fill":"color-fill.svg","color-none":"color-none.svg","color-stroke":"color-stroke.svg",color:"color.svg",columns:"columns.svg","connected-points":"connected-points.svg",container:"container.svg",cookie:"cookie.svg",copy:"copy.svg",cpu:"cpu.svg","data-dimentions":"data-dimentions.svg",debug:"debug.svg","delete-bin":"delete-bin.svg","delete-circle":"delete-circle.svg","delete-clear":"delete-clear.svg","dendrogram-X-line":"dendrogram-X-line.svg","dendrogram-X":"dendrogram-X.svg","dendrogram-Y-line":"dendrogram-Y-line.svg","dendrogram-Y":"dendrogram-Y.svg","dna-add":"dna-add.svg","dna-import":"dna-import.svg",dna:"dna.svg",download:"download.svg","drag-dots":"drag-dots.svg","drag-horizontal":"drag-horizontal.svg","drag-vertical":"drag-vertical.svg",duplicate:"duplicate.svg",edit:"edit.svg","error-bar":"error-bar.svg",error:"error.svg","expand-left":"expand-left.svg","expand-right":"expand-right.svg",export:"export.svg","file-doc-add":"file-doc-add.svg","file-doc-download":"file-doc-download.svg","file-doc-import":"file-doc-import.svg","file-doc":"file-doc.svg","filter-on":"filter-on.svg",filter:"filter.svg","fire-tips":"fire-tips.svg","folder-parent":"folder-parent.svg","frame-type-all":"frame-type-all.svg","frame-type-bottom":"frame-type-bottom.svg","frame-type-left-bottom":"frame-type-left-bottom.svg","frame-type-left":"frame-type-left.svg","frame-type-none":"frame-type-none.svg",generate:"generate.svg",graph:"graph.svg",heatmap:"heatmap.svg","help-outline":"help-outline.svg",help:"help.svg","info-outline":"info-outline.svg",info:"info.svg",jitter:"jitter.svg","jump-link":"jump-link.svg",lasso:"lasso.svg",layers:"layers.svg",learn:"learn.svg","legend-box-dot":"legend-box-dot.svg","legend-box":"legend-box.svg",legend:"legend.svg","line-binned":"line-binned.svg","line-error":"line-error.svg","line-jitter":"line-jitter.svg",line:"line.svg","linetype-dashed":"linetype-dashed.svg","linetype-dotdash":"linetype-dotdash.svg","linetype-dotted":"linetype-dotted.svg","linetype-longdash":"linetype-longdash.svg","linetype-solid":"linetype-solid.svg","linetype-twodash":"linetype-twodash.svg","link-disabled":"link-disabled.svg",link:"link.svg",loading:"loading.svg",lock:"lock.svg",maximize:"maximize.svg",menu:"menu.svg",minimize:"minimize.svg",minus:"minus.svg",more:"more.svg","paper-clip":"paper-clip.svg",pause:"pause.svg",pin:"pin.svg",play:"play.svg","position-bottom-annotation":"position-bottom-annotation.svg","position-bottom":"position-bottom.svg","position-left-annotation":"position-left-annotation.svg","position-left":"position-left.svg","position-right-annotation":"position-right-annotation.svg","position-right":"position-right.svg","position-top-annotation":"position-top-annotation.svg","position-top":"position-top.svg",product:"product.svg",publications:"publications.svg","radio-button-checked":"radio-button-checked.svg","radio-button":"radio-button.svg",renew:"renew.svg",restart:"restart.svg",reverse:"reverse.svg","rotation-0":"rotation-0.svg","rotation-45":"rotation-45.svg","rotation-90":"rotation-90.svg",search:"search.svg","server-on":"server-on.svg",server:"server.svg",settings:"settings.svg",sina:"sina.svg",skatterplot:"skatterplot.svg",slice:"slice.svg","social-github":"social-github.svg","social-linkedin":"social-linkedin.svg","social-twitter-X":"social-twitter-X.svg","social-twitter-bird":"social-twitter-bird.svg","social-youtube":"social-youtube.svg","sort-list-down":"sort-list-down.svg","sort-list-up":"sort-list-up.svg",sort:"sort.svg",statistics:"statistics.svg",stop:"stop.svg","strip-plot":"strip-plot.svg",success:"success.svg","table-add":"table-add.svg","table-alias":"table-alias.svg","table-import":"table-import.svg",table:"table.svg",template:"template.svg",terminal:"terminal.svg","text-align-center":"text-align-center.svg","text-align-left":"text-align-left.svg","text-align-right":"text-align-right.svg","theme-dark":"theme-dark.svg","theme-light":"theme-light.svg",time:"time.svg",tune:"tune.svg",venn:"venn.svg","view-hide":"view-hide.svg","view-show":"view-show.svg","violin-binned":"violin-binned.svg","violin-jitter":"violin-jitter.svg",violin:"violin.svg",warning:"warning.svg",wetlab:"wetlab.svg","windows-collapse":"windows-collapse.svg","windows-expand":"windows-expand.svg","x-axis":"x-axis.svg","y-axis":"y-axis.svg",zip:"zip.svg","zoom-in":"zoom-in.svg","zoom-out":"zoom-out.svg"};function $0(){return{txtSec:{title:"Text",data:{"--txt-00":{light:[!1,!1],value:["#FFFFFF","#FFFFFF"],description:"Text on the colored elements"},"--txt-01":{light:[!0,!1],value:["#110529","#FFFFFF"],description:"Primary text layer"},"--txt-02":{light:[!0,!1],value:["#231842","#ADAEB8"],description:"Secondary text layer - large arrays of text"},"--txt-03":{light:[!0,!0],value:["#9D9EAE","#60616B"],description:"Tetritary text layer - hints and descriptions"},"--txt-mask":{light:[!1,!0],value:["#CFD1DB","#3D3D42"],description:"Text mask in inputs, icons, etc."},"--txt-focus":{light:[!0,!0],value:["#07AD3E","#87E087"],description:"Colored text in active/focus elements"},"--txt-error":{light:[!0,!0],value:["#F1222F","#FF5C5C"],description:"Colored text in error elements"},"--txt-link":{light:[!0,!0],value:["#5F31CC","#9470FF"],description:"Colored text in links"}}},iconSec:{title:"Icon",data:{"--ic-00":{light:[!1,!1],value:["#FFFFFF","#FFFFFF"],description:"Icons on colored elements"},"--ic-01":{light:[!0,!1],value:["#110529","#FFFFFF"],description:"Primary elements"},"--ic-02":{light:[!1,!0],value:["#CFD1DB","#60616B"],description:"Secondary & tetritary elements"},"--ic-accent":{light:[!0,!1],value:["#07AD3E","#87E087"],description:"Focus/active elements"}}},borderSec:{title:"Border",data:{"--border-color-default":{light:[!0,!0],value:["#110529","#60616B"],description:"Main border for components"},"--border-color-hover":{light:[!0,!0],value:["#231842","#ADAEB8"],description:"Hover on main border"},"--border-color-focus":{light:[!1,!1],value:["#49CC49","#49CC49"],description:"Active border for components"},"--border-color-error":{light:[!1,!1],value:["#FF5C5C","#FF5C5C"],description:"Error border for components"},"--border-color-div-grey":{light:[!1,!0],value:["#E1E3EB","#232329"],description:"Divider lines low contrast"},"--border-color-div-bw":{light:[!1,!0],value:["#FFFFFF","#000000"],description:"Divider lines hight contrast"}}},btnSec:{title:"Button",data:{"--btn-accent-default":{light:[!0,!0],value:["#845CFF"," #5F31CC"],description:"Accent coloured button"},"--btn-accent-hover":{light:[!0,!0],value:["#9470FF"," #5F31CC"],description:"Hover on accent coloured button"},"--btn-accent-press":{light:[!0,!0],value:["#6F4DD6","#5F31CC"],description:"Pressed on accent coloured button"},"--btn-primary-default":{light:[!0,!0],value:["#110529","#5F31CC"],description:"Primary button"},"--btn-primary-hover":{light:[!0,!0],value:["#231842","#6D3DDB"],description:"Hover on primary button"},"--btn-primary-press":{light:[!0,!0],value:["#080214","#5328B8"],description:"Hover on primary button"},"--btn-sec-hover-white":{light:[!1,!0],value:["rgba(255, 255, 255, 0.50)","rgba(131, 131, 163, 0.16)"],description:"Hover background on transparent button"},"--btn-sec-hover-grey":{light:[!1,!0],value:["rgba(155, 171, 204, 0.16)","rgba(131, 131, 163, 0.16)"],description:"Hover background on ghost button & icons"},"--btn-sec-press-grey":{light:[!1,!0],value:["rgba(155, 171, 204, 0.24)","rgba(131, 131, 163, 0.24)"],description:"Hover background on ghost button & icons"},"--btn-active-select":{light:[!1,!0],value:["rgba(99, 224, 36, 0.24)","rgba(99, 224, 36, 0.24)"],description:"Fill on selected elements"},"--btn-switcher":{light:[!1,!0],value:["linear-gradient(180deg, #A1E59C 0%, #D0F5B0 100%)","#5E5E70"],description:"Gradient on active controll/switcher element"}}},disSec:{title:"Disable",data:{"--dis-00":{light:[!1,!0],value:["#FFFFFF","#65656B"],description:"Elements on dis-01, labels, texts, icons"},"--dis-01":{light:[!1,!0],value:["#CFD1DB","#3D3D42"],description:"Buttons, borders, labels, texts, icons"}}},bgSec:{title:"Background",data:{"--bg-base-dark":{light:[!0,!0],value:["#110529","#0D0D0F"],description:"Default dark block background"},"--bg-base-light":{light:[!1,!0],value:["#F7F8FA","#0D0D0F"],description:"Default light block background"},"--bg-elevated-01":{light:[!1,!0],value:["#FFFFFF","#1B1B1F"],description:"Default block background"},"--bg-elevated-02":{light:[!1,!0],value:["#E1E3EB","#2D2D33"],description:"Secondary block background"}}},filledSec:{title:"Filled",data:{"--filled-V-BG":{light:[!1,!0],value:["#D0F0C0","rgba(66, 184, 66, 0.40)"],description:"Text background selection on V-read"},"--filled-D-BG":{light:[!1,!0],value:["#FFCECC","rgba(229, 83, 229, 0.40)"],description:"Text background selection on D-read"},"--filled-N-BG":{light:[!1,!0],value:["#FAF5AA","rgba(83, 82, 102, 0.40)"],description:"Text background selection on C/N-read"},"--filled-J-BG":{light:[!1,!0],value:["#DEDBFF","rgba(132, 92, 255, 0.40)"],description:"Text background selection on J-read"}}},notificationSec:{title:"Notification",data:{"--notification-neutral":{light:[!1,!0],value:["linear-gradient(90deg, #D6D9FF 0%, #FFF 100%)","linear-gradient(90deg, #4D4D8F 0%, #292933 100%)"],description:"Background on neutral blocks"},"--notification-success":{light:[!1,!0],value:["linear-gradient(90deg, #C9F0B6 0%, #FFF 100%)","linear-gradient(90deg, #305C3E 0%, #292933 100%)"],description:"Background on success blocks"},"--notification-warning":{light:[!1,!0],value:["linear-gradient(90deg, #FEE0A3 0%, #FFF 100%)","linear-gradient(90deg, #754F2D 0%, #292933 100%)"],description:"Background on warning blocks"},"--notification-error":{light:[!1,!0],value:["linear-gradient(90deg, #FFB8B8 0%, #FFF 100%)","linear-gradient(90deg, #8F3343 0%, #292933 100%)"],description:"Background on error blocks"}}},gradientSec:{title:"Gradient",data:{"--gradient-blue-green":{light:[!0,!0],value:["linear-gradient(0deg, #478063 0%, #2E4652 45.93%, #24223D 91.63%)","linear-gradient(0deg, #478063 0%, #2E4652 45.93%, #24223D 91.63%)"],description:"Main brand dark gradient"},"--gradient-green-lime":{light:[!1,!0],value:["linear-gradient(180deg, #A1E59C 0%, #D0F5B0 100%)","linear-gradient(0deg, #478063 0%, #2E4652 45.93%, #24223D 91.63%)"],description:"Main brand light gradient"},"--gradient-blue-violet":{light:[!1,!0],value:["linear-gradient(180deg, #ADB8FF 0%, #D6E9FF 100%)","linear-gradient(0deg, #478063 0%, #2E4652 45.93%, #24223D 91.63%)"],description:"Main brand light gradient"},"--gradient-blue-clear":{light:[!1,!0],value:["linear-gradient(180deg, #85BEFF 0%, #CEF 100%)","linear-gradient(0deg, #478063 0%, #2E4652 45.93%, #24223D 91.63%)"],description:"Additional brand gradient"},"--gradient-orange":{light:[!1,!0],value:["linear-gradient(180deg, #FFB766 0%, #FFEAA3 100%)","linear-gradient(0deg, #478063 0%, #2E4652 45.93%, #24223D 91.63%)"],description:"Additional brand gradient"},"--gradient-mint":{light:[!1,!0],value:["linear-gradient(180deg, #7DD1D1 0%, #C8FAE9 100%)","linear-gradient(0deg, #478063 0%, #2E4652 45.93%, #24223D 91.63%)"],description:"Additional brand gradient"},"--gradient-lime":{light:[!1,!0],value:["linear-gradient(180deg, #BFE062 0%, #E4FFAD 100%)","linear-gradient(0deg, #478063 0%, #2E4652 45.93%, #24223D 91.63%)"],description:"Additional brand gradient"},"--gradient-rose":{light:[!1,!0],value:["linear-gradient(0deg, #FFDDD6 0%, #FF99C9 100%)","linear-gradient(0deg, #478063 0%, #2E4652 45.93%, #24223D 91.63%)"],description:"Additional brand gradient"},"--gradient-red":{light:[!1,!0],value:["linear-gradient(0deg, #FFD5CC 0%, #FF9494 100%)","linear-gradient(0deg, #478063 0%, #2E4652 45.93%, #24223D 91.63%)"],description:"Additional brand gradient"},"--gradient-violet":{light:[!1,!0],value:["linear-gradient(180deg, #BCA3FF 0%, #E5E5FF 100%)","linear-gradient(0deg, #478063 0%, #2E4652 45.93%, #24223D 91.63%)"],description:"Additional brand gradient"}}}}}const E0=["add","arrow-down","arrow-left","arrow-link","arrow-right","arrow-up","box","calendar","caret-down","caret-left","caret-right","caret-up","cell-type-num","cell-type-subset","cell-type-txt","checkmark","chevron-down","chevron-first","chevron-last","chevron-left","chevron-right","chevron-up","clipboard-copied","clipboard","close","copy","data-dimentions","delete-bin","delete-circle","delete-clear","download","drag-dots","duplicate","edit","error","export","filter-on","filter","help-outline","help","info-outline","info","jump-link","link","loading","lock","maximize","minimize","minus","more","open","paper-clip","pause","play","renew","restart","reverse","settings","sort","stop","success","time","tune","warning","x-axis","y-axis","zip"],N0=["add-layer","add","align-center","align-left","align-right","annotate","annotation","area","arrow-down","arrow-left","arrow-link","arrow-right","arrow-up","axes","bar-cross","bar-error","bar-stacked","bar-trend","bar","bindot","box","boxplot-binned","boxplot-jitter","boxplot-notched","boxplot","bubble","calendar","canvas","cell-type-num","cell-type-subset","cell-type-txt","checkbox-checked","checkbox-intermediate","checkbox","checkmark","chevron-down","chevron-first","chevron-last","chevron-left","chevron-right","chevron-sort","chevron-up","clipboard-copied","clipboard","close","cloud-download","cloud-offline","cloud-online","cloud-upload","cluster","code","color-fill","color-none","color-stroke","color","columns","connected-points","container","cookie","copy","cpu","data-dimentions","debug","delete-bin","delete-circle","delete-clear","dendrogram-X-line","dendrogram-X","dendrogram-Y-line","dendrogram-Y","dna-add","dna-import","dna","download","drag-dots","drag-horizontal","drag-vertical","duplicate","edit","error-bar","error","expand-left","expand-right","export","file-doc-add","file-doc-download","file-doc-import","file-doc","filter-on","filter","fire-tips","folder-parent","frame-type-all","frame-type-bottom","frame-type-left-bottom","frame-type-left","frame-type-none","generate","graph","heatmap","help-outline","help","info-outline","info","jitter","jump-link","lasso","layers","learn","legend-box-dot","legend-box","legend","line-binned","line-error","line-jitter","line","linetype-dashed","linetype-dotdash","linetype-dotted","linetype-longdash","linetype-solid","linetype-twodash","link-disabled","link","loading","lock","maximize","menu","minimize","minus","more","paper-clip","pause","pin","play","position-bottom-annotation","position-bottom","position-left-annotation","position-left","position-right-annotation","position-right","position-top-annotation","position-top","product","publications","radio-button-checked","radio-button","renew","restart","reverse","rotation-0","rotation-45","rotation-90","search","server-on","server","settings","sina","skatterplot","slice","social-github","social-linkedin","social-twitter-X","social-twitter-bird","social-youtube","sort-list-down","sort-list-up","sort","statistics","stop","strip-plot","success","table-add","table-alias","table-import","table","template","terminal","text-align-center","text-align-left","text-align-right","theme-dark","theme-light","time","tune","venn","view-hide","view-show","violin-binned","violin-jitter","violin","warning","wetlab","windows-collapse","windows-expand","x-axis","y-axis","zip","zoom-in","zoom-out"],S0={allCssVariables:$0(),icons16:B0,icons24:C0};V.Color=le,V.ContextProvider=Sy,V.DataTable=Ii,V.DemoData=S0,V.DropdownListItem=We,V.DropdownOverlay=Yn,V.Gradient=Ny,V.LongText=Wn,V.PlAccordion=Bu,V.PlAccordionSection=$u,V.PlAlert=ma,V.PlBlockPage=Qi,V.PlBtnAccent=Aa,V.PlBtnDanger=Da,V.PlBtnGhost=In,V.PlBtnGroup=yr,V.PlBtnLink=Ra,V.PlBtnPrimary=hr,V.PlBtnSecondary=gr,V.PlBtnSplit=Ea,V.PlChartHistogram=Ey,V.PlChartStackedBar=gp,V.PlChartStackedBarCompact=kp,V.PlCheckbox=Zd,V.PlCheckboxGroup=Kd,V.PlChip=Gn,V.PlCloseModalBtn=Nr,V.PlContainer=ta,V.PlDialogModal=Sr,V.PlDropdown=Xn,V.PlDropdownLegacy=yd,V.PlDropdownLine=od,V.PlDropdownMulti=Er,V.PlDropdownMultiRef=Hd,V.PlDropdownRef=Uc,V.PlEditableTitle=sc,V.PlFileDialog=Rr,V.PlFileInput=lp,V.PlGrid=aa,V.PlIcon16=Pe,V.PlIcon24=Un,V.PlLoaderCircular=vr,V.PlLogView=wu,V.PlMaskIcon16=Ke,V.PlMaskIcon24=oe,V.PlNotificationAlert=up,V.PlNumberField=Ed,V.PlProgressBar=xd,V.PlProgressCell=zu,V.PlRow=oa,V.PlSearchField=Vr,V.PlSectionSeparator=Ar,V.PlSlideModal=lu,V.PlSpacer=la,V.PlSplash=Mu,V.PlStatusTag=Eu,V.PlTabs=Vu,V.PlTextArea=Sc,V.PlTextField=kc,V.PlToggleSwitch=cu,V.PlTooltip=X,V.Scrollable=V0,V.Slider=Iy,V.SliderRange=k0,V.SliderRangeTriple=i0,V.ThemeSwitcher=qi,V.animate=fr,V.animateInfinite=Ba,V.call=ir,V.categoricalColors=pl,V.delay=ar,V.detectOutside=Tc,V.eventListener=Kn,V.getElementScrollPosition=$r,V.interpolateColor=ml,V.isElementVisible=Cr,V.listToOptions=Ca,V.magma=ul,V.makeEaseInOut=Va,V.makeEaseOut=ur,V.maskIcons16=E0,V.maskIcons24=N0,V.normalizeGradient=hl,V.normalizeListOptions=Ne,V.palettes=fl,V.randomInt=dr,V.randomString=xa,V.requestTick=On,V.scrollIntoView=Gt,V.showContextMenu=vn,V.throttle=pr,V.timeout=cr,V.useClickOutside=Xt,V.useComponentProp=Xy,V.useDraggable=Yy,V.useEventListener=q,V.useFormState=Wy,V.useHover=nr,V.useInterval=qy,V.useLabelNotch=be,V.useLocalStorage=rr,V.useMouse=tr,V.useMouseCapture=Ee,V.usePosition=ft,V.useQuery=Ky,V.useResizeObserver=gl,V.useScroll=Ly,V.useSortable=jy,V.useSortable2=Uy,V.useTheme=lr,V.viridis=dl,Object.defineProperty(V,Symbol.toStringTag,{value:"Module"})});
|
|
26
26
|
//# sourceMappingURL=pl-uikit.umd.cjs.map
|