abrplus-ui-kit 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.
Files changed (55) hide show
  1. package/dist/antOverrides.cjs.js +1 -127
  2. package/dist/antOverrides.es.js +70 -98
  3. package/dist/atoms.cjs.js +1 -391
  4. package/dist/atoms.es.js +252 -306
  5. package/dist/colors-BDQwGpaB.cjs +5 -0
  6. package/dist/{colors-CztsZ6e_.js → colors-BW-NR0oP.js} +30 -34
  7. package/dist/deepMerge-2zqLIrFM.cjs +1 -0
  8. package/dist/deepMerge-Dm_AZi0Z.js +14 -0
  9. package/dist/index-B1HRk2-g.cjs +1 -0
  10. package/dist/index-BCH1vT85.js +8 -0
  11. package/dist/index-BJmt8SSx.cjs +1 -0
  12. package/dist/index-BPqX2Hsu.js +75 -0
  13. package/dist/{index-B02Mlfa4.js → index-BRLLsEKX.js} +19905 -19821
  14. package/dist/index-BeP9-mrf.js +200 -0
  15. package/dist/index-Bpx-uyOR.cjs +1 -0
  16. package/dist/index-CpGdrWps.js +19 -0
  17. package/dist/index-CwKyw6uN.cjs +1 -0
  18. package/dist/index-CzPs2mPX.js +478 -0
  19. package/dist/index-QraJKad8.cjs +1 -0
  20. package/dist/index-R9oQ5kp6.js +1569 -0
  21. package/dist/index-bNh4-ggT.cjs +1 -0
  22. package/dist/index-lDQ4dr86.cjs +1 -0
  23. package/dist/index.cjs.js +1 -109
  24. package/dist/index.css +1 -1519
  25. package/dist/index.es.js +5 -5
  26. package/dist/index2.css +1 -3
  27. package/dist/molecules.cjs.js +8 -7826
  28. package/dist/molecules.es.js +4270 -6306
  29. package/dist/organisms.cjs.js +1 -940
  30. package/dist/organisms.es.js +651 -758
  31. package/dist/provider.cjs.js +1 -48
  32. package/dist/provider.es.js +29 -34
  33. package/dist/sortable.esm-BSCvBWLi.js +2943 -0
  34. package/dist/sortable.esm-CA8VbUF-.cjs +5 -0
  35. package/dist/theme.css +1 -102
  36. package/dist/types/components/atoms/icon/constants/iconNames.d.ts +1 -1
  37. package/package.json +4 -4
  38. package/dist/colors-TPZkyKI4.cjs +0 -2212
  39. package/dist/deepMerge-CG1he8ZD.js +0 -20
  40. package/dist/deepMerge-Cn27K7-s.cjs +0 -19
  41. package/dist/index-B1Z0XlNV.cjs +0 -542
  42. package/dist/index-CCvWoynu.cjs +0 -12
  43. package/dist/index-CVNEow23.js +0 -543
  44. package/dist/index-Cbtrrxcv.js +0 -90
  45. package/dist/index-CiSH4Pqy.js +0 -266
  46. package/dist/index-Crz4ws0L.js +0 -1630
  47. package/dist/index-D-q_-bu0.cjs +0 -1629
  48. package/dist/index-DLUd_0LP.js +0 -13
  49. package/dist/index-DM-zAoQS.cjs +0 -89
  50. package/dist/index-DPvG_H_Y.cjs +0 -27
  51. package/dist/index-DdzyIn4u.js +0 -28
  52. package/dist/index-DsPAgC23.cjs +0 -37937
  53. package/dist/index-PyheoujP.cjs +0 -265
  54. package/dist/sortable.esm-BPjdpL-J.cjs +0 -3872
  55. package/dist/sortable.esm-C7oRJuPU.js +0 -3873
@@ -0,0 +1,5 @@
1
+ "use strict";const z=require("react/jsx-runtime"),s=require("react"),Te=require("tailwind-merge"),xn=require("./index-BJmt8SSx.cjs"),Q=require("./index-B1HRk2-g.cjs"),Dn=require("./index-CwKyw6uN.cjs"),Ne=require("react-dom");class Sn extends Error{constructor(t,n,r){super(t),this.message=t,this.status=n,this.response=r}isApiException=!0;static isRequestError(t){return t.isApiException}}var Yt=(e=>(e.User="User",e.SecurityGroup="SecurityGroup",e.Department="Department",e.Office="Office",e.Position="Position",e.SecurityCustomer="SecurityCustomer",e.SecurityAgent="SecurityAgent",e.SecurityOperator="SecurityOperator",e))(Yt||{});const Cn={User:z.jsx(Q.Icon,{name:"User"}),SecurityGroup:z.jsx(Q.Icon,{name:"User_Group"}),Position:z.jsx(Q.Icon,{name:"User"}),Department:z.jsx(Q.Icon,{name:"User"}),Office:z.jsx(Q.Icon,{name:"User"}),SecurityAgent:z.jsx(Q.Icon,{name:"User"}),SecurityCustomer:z.jsx(Q.Icon,{name:"User"}),SecurityOperator:z.jsx(Q.Icon,{name:"User"})},Rn=({style:e,shape:t,className:n,toolTipTitle:r,imageSrc:o,iconName:i,badgeStatus:a="default",badgePosition:c="left",badgeColor:l,badged:u,hasAnimation:d=!1,iconSize:f=24,isFullSizeLogo:v=!1,onClick:h,...x})=>{const g={default:"bg-onsurface-disabled",error:"bg-negative",success:"bg-primary",warn:"bg-warn"},p=x.hasToolTip&&r?({children:b})=>z.jsx(xn.Tooltip,{className:Te.twMerge(!x.hasToolTip&&"pointer-events-none"),variant:"default",title:r,placement:"top",...x.tooltipProps,children:b}):s.Fragment;return z.jsx(z.Fragment,{children:z.jsx(p,{children:z.jsxs(Q.Flex,{onClick:h,className:Te.twMerge(v&&"!h-full !w-full","relative"),children:[z.jsx(Dn.Avatar,{shape:t||"circle",style:e,size:f,className:Te.twMerge(d&&"border-2 transition-all hover:z-50 hover:scale-125 hover:border-black/60",n),...o?{src:o}:{icon:Cn[i??Yt.User],className:Te.twMerge(v&&"!w-full !h-full")}}),z.jsx(Q.Render,{when:u,children:z.jsx("div",{style:{backgroundColor:l},className:Te.twMerge("outline-surface absolute bottom-0 h-2 w-2 rounded-full outline outline-1",c==="left"?"left-0":"right-0",g[a])})})]})})})};function En(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return s.useMemo(()=>r=>{t.forEach(o=>o(r))},t)}const tt=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function ye(e){const t=Object.prototype.toString.call(e);return t==="[object Window]"||t==="[object global]"}function pt(e){return"nodeType"in e}function B(e){var t,n;return e?ye(e)?e:pt(e)&&(t=(n=e.ownerDocument)==null?void 0:n.defaultView)!=null?t:window:window}function bt(e){const{Document:t}=B(e);return e instanceof t}function $e(e){return ye(e)?!1:e instanceof B(e).HTMLElement}function qt(e){return e instanceof B(e).SVGElement}function xe(e){return e?ye(e)?e.document:pt(e)?bt(e)?e:$e(e)||qt(e)?e.ownerDocument:document:document:document}const Z=tt?s.useLayoutEffect:s.useEffect;function mt(e){const t=s.useRef(e);return Z(()=>{t.current=e}),s.useCallback(function(){for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return t.current==null?void 0:t.current(...r)},[])}function Mn(){const e=s.useRef(null),t=s.useCallback((r,o)=>{e.current=setInterval(r,o)},[]),n=s.useCallback(()=>{e.current!==null&&(clearInterval(e.current),e.current=null)},[]);return[t,n]}function Pe(e,t){t===void 0&&(t=[e]);const n=s.useRef(e);return Z(()=>{n.current!==e&&(n.current=e)},t),n}function Fe(e,t){const n=s.useRef();return s.useMemo(()=>{const r=e(n.current);return n.current=r,r},[...t])}function _e(e){const t=mt(e),n=s.useRef(null),r=s.useCallback(o=>{o!==n.current&&t?.(o,n.current),n.current=o},[]);return[n,r]}function dt(e){const t=s.useRef();return s.useEffect(()=>{t.current=e},[e]),t.current}let at={};function Ue(e,t){return s.useMemo(()=>{if(t)return t;const n=at[e]==null?0:at[e]+1;return at[e]=n,e+"-"+n},[e,t])}function Wt(e){return function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return r.reduce((i,a)=>{const c=Object.entries(a);for(const[l,u]of c){const d=i[l];d!=null&&(i[l]=d+e*u)}return i},{...t})}}const we=Wt(1),Qe=Wt(-1);function In(e){return"clientX"in e&&"clientY"in e}function wt(e){if(!e)return!1;const{KeyboardEvent:t}=B(e.target);return t&&e instanceof t}function An(e){if(!e)return!1;const{TouchEvent:t}=B(e.target);return t&&e instanceof t}function ft(e){if(An(e)){if(e.touches&&e.touches.length){const{clientX:t,clientY:n}=e.touches[0];return{x:t,y:n}}else if(e.changedTouches&&e.changedTouches.length){const{clientX:t,clientY:n}=e.changedTouches[0];return{x:t,y:n}}}return In(e)?{x:e.clientX,y:e.clientY}:null}const Be=Object.freeze({Translate:{toString(e){if(!e)return;const{x:t,y:n}=e;return"translate3d("+(t?Math.round(t):0)+"px, "+(n?Math.round(n):0)+"px, 0)"}},Scale:{toString(e){if(!e)return;const{scaleX:t,scaleY:n}=e;return"scaleX("+t+") scaleY("+n+")"}},Transform:{toString(e){if(e)return[Be.Translate.toString(e),Be.Scale.toString(e)].join(" ")}},Transition:{toString(e){let{property:t,duration:n,easing:r}=e;return t+" "+n+"ms "+r}}}),Nt="a,frame,iframe,input:not([type=hidden]):not(:disabled),select:not(:disabled),textarea:not(:disabled),button:not(:disabled),*[tabindex]";function On(e){return e.matches(Nt)?e:e.querySelector(Nt)}const Tn={display:"none"};function Nn(e){let{id:t,value:n}=e;return s.createElement("div",{id:t,style:Tn},n)}function Ln(e){let{id:t,announcement:n,ariaLiveType:r="assertive"}=e;const o={position:"fixed",top:0,left:0,width:1,height:1,margin:-1,border:0,padding:0,overflow:"hidden",clip:"rect(0 0 0 0)",clipPath:"inset(100%)",whiteSpace:"nowrap"};return s.createElement("div",{id:t,style:o,role:"status","aria-live":r,"aria-atomic":!0},n)}function kn(){const[e,t]=s.useState("");return{announce:s.useCallback(r=>{r!=null&&t(r)},[]),announcement:e}}const Ht=s.createContext(null);function zn(e){const t=s.useContext(Ht);s.useEffect(()=>{if(!t)throw new Error("useDndMonitor must be used within a children of <DndContext>");return t(e)},[e,t])}function Pn(){const[e]=s.useState(()=>new Set),t=s.useCallback(r=>(e.add(r),()=>e.delete(r)),[e]);return[s.useCallback(r=>{let{type:o,event:i}=r;e.forEach(a=>{var c;return(c=a[o])==null?void 0:c.call(a,i)})},[e]),t]}const Bn={draggable:`
2
+ To pick up a draggable item, press the space bar.
3
+ While dragging, use the arrow keys to move the item.
4
+ Press space again to drop the item in its new position, or press escape to cancel.
5
+ `},jn={onDragStart(e){let{active:t}=e;return"Picked up draggable item "+t.id+"."},onDragOver(e){let{active:t,over:n}=e;return n?"Draggable item "+t.id+" was moved over droppable area "+n.id+".":"Draggable item "+t.id+" is no longer over a droppable area."},onDragEnd(e){let{active:t,over:n}=e;return n?"Draggable item "+t.id+" was dropped over droppable area "+n.id:"Draggable item "+t.id+" was dropped."},onDragCancel(e){let{active:t}=e;return"Dragging was cancelled. Draggable item "+t.id+" was dropped."}};function $n(e){let{announcements:t=jn,container:n,hiddenTextDescribedById:r,screenReaderInstructions:o=Bn}=e;const{announce:i,announcement:a}=kn(),c=Ue("DndLiveRegion"),[l,u]=s.useState(!1);if(s.useEffect(()=>{u(!0)},[]),zn(s.useMemo(()=>({onDragStart(f){let{active:v}=f;i(t.onDragStart({active:v}))},onDragMove(f){let{active:v,over:h}=f;t.onDragMove&&i(t.onDragMove({active:v,over:h}))},onDragOver(f){let{active:v,over:h}=f;i(t.onDragOver({active:v,over:h}))},onDragEnd(f){let{active:v,over:h}=f;i(t.onDragEnd({active:v,over:h}))},onDragCancel(f){let{active:v,over:h}=f;i(t.onDragCancel({active:v,over:h}))}}),[i,t])),!l)return null;const d=s.createElement(s.Fragment,null,s.createElement(Nn,{id:r,value:o.draggable}),s.createElement(Ln,{id:c,announcement:a}));return n?Ne.createPortal(d,n):d}var O;(function(e){e.DragStart="dragStart",e.DragMove="dragMove",e.DragEnd="dragEnd",e.DragCancel="dragCancel",e.DragOver="dragOver",e.RegisterDroppable="registerDroppable",e.SetDroppableDisabled="setDroppableDisabled",e.UnregisterDroppable="unregisterDroppable"})(O||(O={}));function Ze(){}function Fn(e,t){return s.useMemo(()=>({sensor:e,options:t??{}}),[e,t])}function Un(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return s.useMemo(()=>[...t].filter(r=>r!=null),[...t])}const K=Object.freeze({x:0,y:0});function Xn(e,t){let{data:{value:n}}=e,{data:{value:r}}=t;return r-n}function Yn(e,t){if(!e||e.length===0)return null;const[n]=e;return n[t]}function qn(e,t){const n=Math.max(t.top,e.top),r=Math.max(t.left,e.left),o=Math.min(t.left+t.width,e.left+e.width),i=Math.min(t.top+t.height,e.top+e.height),a=o-r,c=i-n;if(r<o&&n<i){const l=t.width*t.height,u=e.width*e.height,d=a*c,f=d/(l+u-d);return Number(f.toFixed(4))}return 0}const Wn=e=>{let{collisionRect:t,droppableRects:n,droppableContainers:r}=e;const o=[];for(const i of r){const{id:a}=i,c=n.get(a);if(c){const l=qn(c,t);l>0&&o.push({id:a,data:{droppableContainer:i,value:l}})}}return o.sort(Xn)};function Hn(e,t,n){return{...e,scaleX:t&&n?t.width/n.width:1,scaleY:t&&n?t.height/n.height:1}}function Kt(e,t){return e&&t?{x:e.left-t.left,y:e.top-t.top}:K}function Kn(e){return function(n){for(var r=arguments.length,o=new Array(r>1?r-1:0),i=1;i<r;i++)o[i-1]=arguments[i];return o.reduce((a,c)=>({...a,top:a.top+e*c.y,bottom:a.bottom+e*c.y,left:a.left+e*c.x,right:a.right+e*c.x}),{...n})}}const Gn=Kn(1);function Vn(e){if(e.startsWith("matrix3d(")){const t=e.slice(9,-1).split(/, /);return{x:+t[12],y:+t[13],scaleX:+t[0],scaleY:+t[5]}}else if(e.startsWith("matrix(")){const t=e.slice(7,-1).split(/, /);return{x:+t[4],y:+t[5],scaleX:+t[0],scaleY:+t[3]}}return null}function Jn(e,t,n){const r=Vn(t);if(!r)return e;const{scaleX:o,scaleY:i,x:a,y:c}=r,l=e.left-a-(1-o)*parseFloat(n),u=e.top-c-(1-i)*parseFloat(n.slice(n.indexOf(" ")+1)),d=o?e.width/o:e.width,f=i?e.height/i:e.height;return{width:d,height:f,top:u,right:l+d,bottom:u+f,left:l}}const _n={ignoreTransform:!1};function De(e,t){t===void 0&&(t=_n);let n=e.getBoundingClientRect();if(t.ignoreTransform){const{transform:u,transformOrigin:d}=B(e).getComputedStyle(e);u&&(n=Jn(n,u,d))}const{top:r,left:o,width:i,height:a,bottom:c,right:l}=n;return{top:r,left:o,width:i,height:a,bottom:c,right:l}}function Lt(e){return De(e,{ignoreTransform:!0})}function Qn(e){const t=e.innerWidth,n=e.innerHeight;return{top:0,left:0,right:t,bottom:n,width:t,height:n}}function Zn(e,t){return t===void 0&&(t=B(e).getComputedStyle(e)),t.position==="fixed"}function er(e,t){t===void 0&&(t=B(e).getComputedStyle(e));const n=/(auto|scroll|overlay)/;return["overflow","overflowX","overflowY"].some(o=>{const i=t[o];return typeof i=="string"?n.test(i):!1})}function yt(e,t){const n=[];function r(o){if(t!=null&&n.length>=t||!o)return n;if(bt(o)&&o.scrollingElement!=null&&!n.includes(o.scrollingElement))return n.push(o.scrollingElement),n;if(!$e(o)||qt(o)||n.includes(o))return n;const i=B(e).getComputedStyle(o);return o!==e&&er(o,i)&&n.push(o),Zn(o,i)?n:r(o.parentNode)}return e?r(e):n}function Gt(e){const[t]=yt(e,1);return t??null}function ct(e){return!tt||!e?null:ye(e)?e:pt(e)?bt(e)||e===xe(e).scrollingElement?window:$e(e)?e:null:null}function Vt(e){return ye(e)?e.scrollX:e.scrollLeft}function Jt(e){return ye(e)?e.scrollY:e.scrollTop}function ht(e){return{x:Vt(e),y:Jt(e)}}var N;(function(e){e[e.Forward=1]="Forward",e[e.Backward=-1]="Backward"})(N||(N={}));function _t(e){return!tt||!e?!1:e===document.scrollingElement}function Qt(e){const t={x:0,y:0},n=_t(e)?{height:window.innerHeight,width:window.innerWidth}:{height:e.clientHeight,width:e.clientWidth},r={x:e.scrollWidth-n.width,y:e.scrollHeight-n.height},o=e.scrollTop<=t.y,i=e.scrollLeft<=t.x,a=e.scrollTop>=r.y,c=e.scrollLeft>=r.x;return{isTop:o,isLeft:i,isBottom:a,isRight:c,maxScroll:r,minScroll:t}}const tr={x:.2,y:.2};function nr(e,t,n,r,o){let{top:i,left:a,right:c,bottom:l}=n;r===void 0&&(r=10),o===void 0&&(o=tr);const{isTop:u,isBottom:d,isLeft:f,isRight:v}=Qt(e),h={x:0,y:0},x={x:0,y:0},g={height:t.height*o.y,width:t.width*o.x};return!u&&i<=t.top+g.height?(h.y=N.Backward,x.y=r*Math.abs((t.top+g.height-i)/g.height)):!d&&l>=t.bottom-g.height&&(h.y=N.Forward,x.y=r*Math.abs((t.bottom-g.height-l)/g.height)),!v&&c>=t.right-g.width?(h.x=N.Forward,x.x=r*Math.abs((t.right-g.width-c)/g.width)):!f&&a<=t.left+g.width&&(h.x=N.Backward,x.x=r*Math.abs((t.left+g.width-a)/g.width)),{direction:h,speed:x}}function rr(e){if(e===document.scrollingElement){const{innerWidth:i,innerHeight:a}=window;return{top:0,left:0,right:i,bottom:a,width:i,height:a}}const{top:t,left:n,right:r,bottom:o}=e.getBoundingClientRect();return{top:t,left:n,right:r,bottom:o,width:e.clientWidth,height:e.clientHeight}}function Zt(e){return e.reduce((t,n)=>we(t,ht(n)),K)}function or(e){return e.reduce((t,n)=>t+Vt(n),0)}function ir(e){return e.reduce((t,n)=>t+Jt(n),0)}function sr(e,t){if(t===void 0&&(t=De),!e)return;const{top:n,left:r,bottom:o,right:i}=t(e);Gt(e)&&(o<=0||i<=0||n>=window.innerHeight||r>=window.innerWidth)&&e.scrollIntoView({block:"center",inline:"center"})}const ar=[["x",["left","right"],or],["y",["top","bottom"],ir]];class xt{constructor(t,n){this.rect=void 0,this.width=void 0,this.height=void 0,this.top=void 0,this.bottom=void 0,this.right=void 0,this.left=void 0;const r=yt(n),o=Zt(r);this.rect={...t},this.width=t.width,this.height=t.height;for(const[i,a,c]of ar)for(const l of a)Object.defineProperty(this,l,{get:()=>{const u=c(r),d=o[i]-u;return this.rect[l]+d},enumerable:!0});Object.defineProperty(this,"rect",{enumerable:!1})}}class Le{constructor(t){this.target=void 0,this.listeners=[],this.removeAll=()=>{this.listeners.forEach(n=>{var r;return(r=this.target)==null?void 0:r.removeEventListener(...n)})},this.target=t}add(t,n,r){var o;(o=this.target)==null||o.addEventListener(t,n,r),this.listeners.push([t,n,r])}}function cr(e){const{EventTarget:t}=B(e);return e instanceof t?e:xe(e)}function lt(e,t){const n=Math.abs(e.x),r=Math.abs(e.y);return typeof t=="number"?Math.sqrt(n**2+r**2)>t:"x"in t&&"y"in t?n>t.x&&r>t.y:"x"in t?n>t.x:"y"in t?r>t.y:!1}var q;(function(e){e.Click="click",e.DragStart="dragstart",e.Keydown="keydown",e.ContextMenu="contextmenu",e.Resize="resize",e.SelectionChange="selectionchange",e.VisibilityChange="visibilitychange"})(q||(q={}));function kt(e){e.preventDefault()}function lr(e){e.stopPropagation()}var S;(function(e){e.Space="Space",e.Down="ArrowDown",e.Right="ArrowRight",e.Left="ArrowLeft",e.Up="ArrowUp",e.Esc="Escape",e.Enter="Enter",e.Tab="Tab"})(S||(S={}));const en={start:[S.Space,S.Enter],cancel:[S.Esc],end:[S.Space,S.Enter,S.Tab]},ur=(e,t)=>{let{currentCoordinates:n}=t;switch(e.code){case S.Right:return{...n,x:n.x+25};case S.Left:return{...n,x:n.x-25};case S.Down:return{...n,y:n.y+25};case S.Up:return{...n,y:n.y-25}}};class tn{constructor(t){this.props=void 0,this.autoScrollEnabled=!1,this.referenceCoordinates=void 0,this.listeners=void 0,this.windowListeners=void 0,this.props=t;const{event:{target:n}}=t;this.props=t,this.listeners=new Le(xe(n)),this.windowListeners=new Le(B(n)),this.handleKeyDown=this.handleKeyDown.bind(this),this.handleCancel=this.handleCancel.bind(this),this.attach()}attach(){this.handleStart(),this.windowListeners.add(q.Resize,this.handleCancel),this.windowListeners.add(q.VisibilityChange,this.handleCancel),setTimeout(()=>this.listeners.add(q.Keydown,this.handleKeyDown))}handleStart(){const{activeNode:t,onStart:n}=this.props,r=t.node.current;r&&sr(r),n(K)}handleKeyDown(t){if(wt(t)){const{active:n,context:r,options:o}=this.props,{keyboardCodes:i=en,coordinateGetter:a=ur,scrollBehavior:c="smooth"}=o,{code:l}=t;if(i.end.includes(l)){this.handleEnd(t);return}if(i.cancel.includes(l)){this.handleCancel(t);return}const{collisionRect:u}=r.current,d=u?{x:u.left,y:u.top}:K;this.referenceCoordinates||(this.referenceCoordinates=d);const f=a(t,{active:n,context:r.current,currentCoordinates:d});if(f){const v=Qe(f,d),h={x:0,y:0},{scrollableAncestors:x}=r.current;for(const g of x){const p=t.code,{isTop:b,isRight:D,isLeft:m,isBottom:C,maxScroll:R,minScroll:E}=Qt(g),y=rr(g),w={x:Math.min(p===S.Right?y.right-y.width/2:y.right,Math.max(p===S.Right?y.left:y.left+y.width/2,f.x)),y:Math.min(p===S.Down?y.bottom-y.height/2:y.bottom,Math.max(p===S.Down?y.top:y.top+y.height/2,f.y))},A=p===S.Right&&!D||p===S.Left&&!m,T=p===S.Down&&!C||p===S.Up&&!b;if(A&&w.x!==f.x){const I=g.scrollLeft+v.x,W=p===S.Right&&I<=R.x||p===S.Left&&I>=E.x;if(W&&!v.y){g.scrollTo({left:I,behavior:c});return}W?h.x=g.scrollLeft-I:h.x=p===S.Right?g.scrollLeft-R.x:g.scrollLeft-E.x,h.x&&g.scrollBy({left:-h.x,behavior:c});break}else if(T&&w.y!==f.y){const I=g.scrollTop+v.y,W=p===S.Down&&I<=R.y||p===S.Up&&I>=E.y;if(W&&!v.x){g.scrollTo({top:I,behavior:c});return}W?h.y=g.scrollTop-I:h.y=p===S.Down?g.scrollTop-R.y:g.scrollTop-E.y,h.y&&g.scrollBy({top:-h.y,behavior:c});break}}this.handleMove(t,we(Qe(f,this.referenceCoordinates),h))}}}handleMove(t,n){const{onMove:r}=this.props;t.preventDefault(),r(n)}handleEnd(t){const{onEnd:n}=this.props;t.preventDefault(),this.detach(),n()}handleCancel(t){const{onCancel:n}=this.props;t.preventDefault(),this.detach(),n()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll()}}tn.activators=[{eventName:"onKeyDown",handler:(e,t,n)=>{let{keyboardCodes:r=en,onActivation:o}=t,{active:i}=n;const{code:a}=e.nativeEvent;if(r.start.includes(a)){const c=i.activatorNode.current;return c&&e.target!==c?!1:(e.preventDefault(),o?.({event:e.nativeEvent}),!0)}return!1}}];function zt(e){return!!(e&&"distance"in e)}function Pt(e){return!!(e&&"delay"in e)}class Dt{constructor(t,n,r){var o;r===void 0&&(r=cr(t.event.target)),this.props=void 0,this.events=void 0,this.autoScrollEnabled=!0,this.document=void 0,this.activated=!1,this.initialCoordinates=void 0,this.timeoutId=null,this.listeners=void 0,this.documentListeners=void 0,this.windowListeners=void 0,this.props=t,this.events=n;const{event:i}=t,{target:a}=i;this.props=t,this.events=n,this.document=xe(a),this.documentListeners=new Le(this.document),this.listeners=new Le(r),this.windowListeners=new Le(B(a)),this.initialCoordinates=(o=ft(i))!=null?o:K,this.handleStart=this.handleStart.bind(this),this.handleMove=this.handleMove.bind(this),this.handleEnd=this.handleEnd.bind(this),this.handleCancel=this.handleCancel.bind(this),this.handleKeydown=this.handleKeydown.bind(this),this.removeTextSelection=this.removeTextSelection.bind(this),this.attach()}attach(){const{events:t,props:{options:{activationConstraint:n,bypassActivationConstraint:r}}}=this;if(this.listeners.add(t.move.name,this.handleMove,{passive:!1}),this.listeners.add(t.end.name,this.handleEnd),t.cancel&&this.listeners.add(t.cancel.name,this.handleCancel),this.windowListeners.add(q.Resize,this.handleCancel),this.windowListeners.add(q.DragStart,kt),this.windowListeners.add(q.VisibilityChange,this.handleCancel),this.windowListeners.add(q.ContextMenu,kt),this.documentListeners.add(q.Keydown,this.handleKeydown),n){if(r!=null&&r({event:this.props.event,activeNode:this.props.activeNode,options:this.props.options}))return this.handleStart();if(Pt(n)){this.timeoutId=setTimeout(this.handleStart,n.delay),this.handlePending(n);return}if(zt(n)){this.handlePending(n);return}}this.handleStart()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll(),setTimeout(this.documentListeners.removeAll,50),this.timeoutId!==null&&(clearTimeout(this.timeoutId),this.timeoutId=null)}handlePending(t,n){const{active:r,onPending:o}=this.props;o(r,t,this.initialCoordinates,n)}handleStart(){const{initialCoordinates:t}=this,{onStart:n}=this.props;t&&(this.activated=!0,this.documentListeners.add(q.Click,lr,{capture:!0}),this.removeTextSelection(),this.documentListeners.add(q.SelectionChange,this.removeTextSelection),n(t))}handleMove(t){var n;const{activated:r,initialCoordinates:o,props:i}=this,{onMove:a,options:{activationConstraint:c}}=i;if(!o)return;const l=(n=ft(t))!=null?n:K,u=Qe(o,l);if(!r&&c){if(zt(c)){if(c.tolerance!=null&&lt(u,c.tolerance))return this.handleCancel();if(lt(u,c.distance))return this.handleStart()}if(Pt(c)&&lt(u,c.tolerance))return this.handleCancel();this.handlePending(c,u);return}t.cancelable&&t.preventDefault(),a(l)}handleEnd(){const{onAbort:t,onEnd:n}=this.props;this.detach(),this.activated||t(this.props.active),n()}handleCancel(){const{onAbort:t,onCancel:n}=this.props;this.detach(),this.activated||t(this.props.active),n()}handleKeydown(t){t.code===S.Esc&&this.handleCancel()}removeTextSelection(){var t;(t=this.document.getSelection())==null||t.removeAllRanges()}}const dr={cancel:{name:"pointercancel"},move:{name:"pointermove"},end:{name:"pointerup"}};class nn extends Dt{constructor(t){const{event:n}=t,r=xe(n.target);super(t,dr,r)}}nn.activators=[{eventName:"onPointerDown",handler:(e,t)=>{let{nativeEvent:n}=e,{onActivation:r}=t;return!n.isPrimary||n.button!==0?!1:(r?.({event:n}),!0)}}];const fr={move:{name:"mousemove"},end:{name:"mouseup"}};var gt;(function(e){e[e.RightClick=2]="RightClick"})(gt||(gt={}));class rn extends Dt{constructor(t){super(t,fr,xe(t.event.target))}}rn.activators=[{eventName:"onMouseDown",handler:(e,t)=>{let{nativeEvent:n}=e,{onActivation:r}=t;return n.button===gt.RightClick?!1:(r?.({event:n}),!0)}}];const ut={cancel:{name:"touchcancel"},move:{name:"touchmove"},end:{name:"touchend"}};class hr extends Dt{constructor(t){super(t,ut)}static setup(){return window.addEventListener(ut.move.name,t,{capture:!1,passive:!1}),function(){window.removeEventListener(ut.move.name,t)};function t(){}}}hr.activators=[{eventName:"onTouchStart",handler:(e,t)=>{let{nativeEvent:n}=e,{onActivation:r}=t;const{touches:o}=n;return o.length>1?!1:(r?.({event:n}),!0)}}];var ke;(function(e){e[e.Pointer=0]="Pointer",e[e.DraggableRect=1]="DraggableRect"})(ke||(ke={}));var et;(function(e){e[e.TreeOrder=0]="TreeOrder",e[e.ReversedTreeOrder=1]="ReversedTreeOrder"})(et||(et={}));function gr(e){let{acceleration:t,activator:n=ke.Pointer,canScroll:r,draggingRect:o,enabled:i,interval:a=5,order:c=et.TreeOrder,pointerCoordinates:l,scrollableAncestors:u,scrollableAncestorRects:d,delta:f,threshold:v}=e;const h=pr({delta:f,disabled:!i}),[x,g]=Mn(),p=s.useRef({x:0,y:0}),b=s.useRef({x:0,y:0}),D=s.useMemo(()=>{switch(n){case ke.Pointer:return l?{top:l.y,bottom:l.y,left:l.x,right:l.x}:null;case ke.DraggableRect:return o}},[n,o,l]),m=s.useRef(null),C=s.useCallback(()=>{const E=m.current;if(!E)return;const y=p.current.x*b.current.x,w=p.current.y*b.current.y;E.scrollBy(y,w)},[]),R=s.useMemo(()=>c===et.TreeOrder?[...u].reverse():u,[c,u]);s.useEffect(()=>{if(!i||!u.length||!D){g();return}for(const E of R){if(r?.(E)===!1)continue;const y=u.indexOf(E),w=d[y];if(!w)continue;const{direction:A,speed:T}=nr(E,w,D,t,v);for(const I of["x","y"])h[I][A[I]]||(T[I]=0,A[I]=0);if(T.x>0||T.y>0){g(),m.current=E,x(C,a),p.current=T,b.current=A;return}}p.current={x:0,y:0},b.current={x:0,y:0},g()},[t,C,r,g,i,a,JSON.stringify(D),JSON.stringify(h),x,u,R,d,JSON.stringify(v)])}const vr={x:{[N.Backward]:!1,[N.Forward]:!1},y:{[N.Backward]:!1,[N.Forward]:!1}};function pr(e){let{delta:t,disabled:n}=e;const r=dt(t);return Fe(o=>{if(n||!r||!o)return vr;const i={x:Math.sign(t.x-r.x),y:Math.sign(t.y-r.y)};return{x:{[N.Backward]:o.x[N.Backward]||i.x===-1,[N.Forward]:o.x[N.Forward]||i.x===1},y:{[N.Backward]:o.y[N.Backward]||i.y===-1,[N.Forward]:o.y[N.Forward]||i.y===1}}},[n,t,r])}function br(e,t){const n=t!=null?e.get(t):void 0,r=n?n.node.current:null;return Fe(o=>{var i;return t==null?null:(i=r??o)!=null?i:null},[r,t])}function mr(e,t){return s.useMemo(()=>e.reduce((n,r)=>{const{sensor:o}=r,i=o.activators.map(a=>({eventName:a.eventName,handler:t(a.handler,r)}));return[...n,...i]},[]),[e,t])}var je;(function(e){e[e.Always=0]="Always",e[e.BeforeDragging=1]="BeforeDragging",e[e.WhileDragging=2]="WhileDragging"})(je||(je={}));var vt;(function(e){e.Optimized="optimized"})(vt||(vt={}));const Bt=new Map;function wr(e,t){let{dragging:n,dependencies:r,config:o}=t;const[i,a]=s.useState(null),{frequency:c,measure:l,strategy:u}=o,d=s.useRef(e),f=p(),v=Pe(f),h=s.useCallback(function(b){b===void 0&&(b=[]),!v.current&&a(D=>D===null?b:D.concat(b.filter(m=>!D.includes(m))))},[v]),x=s.useRef(null),g=Fe(b=>{if(f&&!n)return Bt;if(!b||b===Bt||d.current!==e||i!=null){const D=new Map;for(let m of e){if(!m)continue;if(i&&i.length>0&&!i.includes(m.id)&&m.rect.current){D.set(m.id,m.rect.current);continue}const C=m.node.current,R=C?new xt(l(C),C):null;m.rect.current=R,R&&D.set(m.id,R)}return D}return b},[e,i,n,f,l]);return s.useEffect(()=>{d.current=e},[e]),s.useEffect(()=>{f||h()},[n,f]),s.useEffect(()=>{i&&i.length>0&&a(null)},[JSON.stringify(i)]),s.useEffect(()=>{f||typeof c!="number"||x.current!==null||(x.current=setTimeout(()=>{h(),x.current=null},c))},[c,f,h,...r]),{droppableRects:g,measureDroppableContainers:h,measuringScheduled:i!=null};function p(){switch(u){case je.Always:return!1;case je.BeforeDragging:return n;default:return!n}}}function on(e,t){return Fe(n=>e?n||(typeof t=="function"?t(e):e):null,[t,e])}function yr(e,t){return on(e,t)}function xr(e){let{callback:t,disabled:n}=e;const r=mt(t),o=s.useMemo(()=>{if(n||typeof window>"u"||typeof window.MutationObserver>"u")return;const{MutationObserver:i}=window;return new i(r)},[r,n]);return s.useEffect(()=>()=>o?.disconnect(),[o]),o}function nt(e){let{callback:t,disabled:n}=e;const r=mt(t),o=s.useMemo(()=>{if(n||typeof window>"u"||typeof window.ResizeObserver>"u")return;const{ResizeObserver:i}=window;return new i(r)},[n]);return s.useEffect(()=>()=>o?.disconnect(),[o]),o}function Dr(e){return new xt(De(e),e)}function jt(e,t,n){t===void 0&&(t=Dr);const[r,o]=s.useState(null);function i(){o(l=>{if(!e)return null;if(e.isConnected===!1){var u;return(u=l??n)!=null?u:null}const d=t(e);return JSON.stringify(l)===JSON.stringify(d)?l:d})}const a=xr({callback(l){if(e)for(const u of l){const{type:d,target:f}=u;if(d==="childList"&&f instanceof HTMLElement&&f.contains(e)){i();break}}}}),c=nt({callback:i});return Z(()=>{i(),e?(c?.observe(e),a?.observe(document.body,{childList:!0,subtree:!0})):(c?.disconnect(),a?.disconnect())},[e]),r}function Sr(e){const t=on(e);return Kt(e,t)}const $t=[];function Cr(e){const t=s.useRef(e),n=Fe(r=>e?r&&r!==$t&&e&&t.current&&e.parentNode===t.current.parentNode?r:yt(e):$t,[e]);return s.useEffect(()=>{t.current=e},[e]),n}function Rr(e){const[t,n]=s.useState(null),r=s.useRef(e),o=s.useCallback(i=>{const a=ct(i.target);a&&n(c=>c?(c.set(a,ht(a)),new Map(c)):null)},[]);return s.useEffect(()=>{const i=r.current;if(e!==i){a(i);const c=e.map(l=>{const u=ct(l);return u?(u.addEventListener("scroll",o,{passive:!0}),[u,ht(u)]):null}).filter(l=>l!=null);n(c.length?new Map(c):null),r.current=e}return()=>{a(e),a(i)};function a(c){c.forEach(l=>{const u=ct(l);u?.removeEventListener("scroll",o)})}},[o,e]),s.useMemo(()=>e.length?t?Array.from(t.values()).reduce((i,a)=>we(i,a),K):Zt(e):K,[e,t])}function Ft(e,t){t===void 0&&(t=[]);const n=s.useRef(null);return s.useEffect(()=>{n.current=null},t),s.useEffect(()=>{const r=e!==K;r&&!n.current&&(n.current=e),!r&&n.current&&(n.current=null)},[e]),n.current?Qe(e,n.current):K}function Er(e){s.useEffect(()=>{if(!tt)return;const t=e.map(n=>{let{sensor:r}=n;return r.setup==null?void 0:r.setup()});return()=>{for(const n of t)n?.()}},e.map(t=>{let{sensor:n}=t;return n}))}function Mr(e,t){return s.useMemo(()=>e.reduce((n,r)=>{let{eventName:o,handler:i}=r;return n[o]=a=>{i(a,t)},n},{}),[e,t])}function sn(e){return s.useMemo(()=>e?Qn(e):null,[e])}const Ut=[];function Ir(e,t){t===void 0&&(t=De);const[n]=e,r=sn(n?B(n):null),[o,i]=s.useState(Ut);function a(){i(()=>e.length?e.map(l=>_t(l)?r:new xt(t(l),l)):Ut)}const c=nt({callback:a});return Z(()=>{c?.disconnect(),a(),e.forEach(l=>c?.observe(l))},[e]),o}function Ar(e){if(!e)return null;if(e.children.length>1)return e;const t=e.children[0];return $e(t)?t:e}function Or(e){let{measure:t}=e;const[n,r]=s.useState(null),o=s.useCallback(u=>{for(const{target:d}of u)if($e(d)){r(f=>{const v=t(d);return f?{...f,width:v.width,height:v.height}:v});break}},[t]),i=nt({callback:o}),a=s.useCallback(u=>{const d=Ar(u);i?.disconnect(),d&&i?.observe(d),r(d?t(d):null)},[t,i]),[c,l]=_e(a);return s.useMemo(()=>({nodeRef:c,rect:n,setRef:l}),[n,c,l])}const Tr=[{sensor:nn,options:{}},{sensor:tn,options:{}}],Nr={current:{}},Je={draggable:{measure:Lt},droppable:{measure:Lt,strategy:je.WhileDragging,frequency:vt.Optimized},dragOverlay:{measure:De}};class ze extends Map{get(t){var n;return t!=null&&(n=super.get(t))!=null?n:void 0}toArray(){return Array.from(this.values())}getEnabled(){return this.toArray().filter(t=>{let{disabled:n}=t;return!n})}getNodeFor(t){var n,r;return(n=(r=this.get(t))==null?void 0:r.node.current)!=null?n:void 0}}const Lr={activatorEvent:null,active:null,activeNode:null,activeNodeRect:null,collisions:null,containerNodeRect:null,draggableNodes:new Map,droppableRects:new Map,droppableContainers:new ze,over:null,dragOverlay:{nodeRef:{current:null},rect:null,setRef:Ze},scrollableAncestors:[],scrollableAncestorRects:[],measuringConfiguration:Je,measureDroppableContainers:Ze,windowRect:null,measuringScheduled:!1},kr={activatorEvent:null,activators:[],active:null,activeNodeRect:null,ariaDescribedById:{draggable:""},dispatch:Ze,draggableNodes:new Map,over:null,measureDroppableContainers:Ze},rt=s.createContext(kr),an=s.createContext(Lr);function zr(){return{draggable:{active:null,initialCoordinates:{x:0,y:0},nodes:new Map,translate:{x:0,y:0}},droppable:{containers:new ze}}}function Pr(e,t){switch(t.type){case O.DragStart:return{...e,draggable:{...e.draggable,initialCoordinates:t.initialCoordinates,active:t.active}};case O.DragMove:return e.draggable.active==null?e:{...e,draggable:{...e.draggable,translate:{x:t.coordinates.x-e.draggable.initialCoordinates.x,y:t.coordinates.y-e.draggable.initialCoordinates.y}}};case O.DragEnd:case O.DragCancel:return{...e,draggable:{...e.draggable,active:null,initialCoordinates:{x:0,y:0},translate:{x:0,y:0}}};case O.RegisterDroppable:{const{element:n}=t,{id:r}=n,o=new ze(e.droppable.containers);return o.set(r,n),{...e,droppable:{...e.droppable,containers:o}}}case O.SetDroppableDisabled:{const{id:n,key:r,disabled:o}=t,i=e.droppable.containers.get(n);if(!i||r!==i.key)return e;const a=new ze(e.droppable.containers);return a.set(n,{...i,disabled:o}),{...e,droppable:{...e.droppable,containers:a}}}case O.UnregisterDroppable:{const{id:n,key:r}=t,o=e.droppable.containers.get(n);if(!o||r!==o.key)return e;const i=new ze(e.droppable.containers);return i.delete(n),{...e,droppable:{...e.droppable,containers:i}}}default:return e}}function Br(e){let{disabled:t}=e;const{active:n,activatorEvent:r,draggableNodes:o}=s.useContext(rt),i=dt(r),a=dt(n?.id);return s.useEffect(()=>{if(!t&&!r&&i&&a!=null){if(!wt(i)||document.activeElement===i.target)return;const c=o.get(a);if(!c)return;const{activatorNode:l,node:u}=c;if(!l.current&&!u.current)return;requestAnimationFrame(()=>{for(const d of[l.current,u.current]){if(!d)continue;const f=On(d);if(f){f.focus();break}}})}},[r,t,o,a,i]),null}function jr(e,t){let{transform:n,...r}=t;return e!=null&&e.length?e.reduce((o,i)=>i({transform:o,...r}),n):n}function $r(e){return s.useMemo(()=>({draggable:{...Je.draggable,...e?.draggable},droppable:{...Je.droppable,...e?.droppable},dragOverlay:{...Je.dragOverlay,...e?.dragOverlay}}),[e?.draggable,e?.droppable,e?.dragOverlay])}function Fr(e){let{activeNode:t,measure:n,initialRect:r,config:o=!0}=e;const i=s.useRef(!1),{x:a,y:c}=typeof o=="boolean"?{x:o,y:o}:o;Z(()=>{if(!a&&!c||!t){i.current=!1;return}if(i.current||!r)return;const u=t?.node.current;if(!u||u.isConnected===!1)return;const d=n(u),f=Kt(d,r);if(a||(f.x=0),c||(f.y=0),i.current=!0,Math.abs(f.x)>0||Math.abs(f.y)>0){const v=Gt(u);v&&v.scrollBy({top:f.y,left:f.x})}},[t,a,c,r,n])}const cn=s.createContext({...K,scaleX:1,scaleY:1});var de;(function(e){e[e.Uninitialized=0]="Uninitialized",e[e.Initializing=1]="Initializing",e[e.Initialized=2]="Initialized"})(de||(de={}));const Ur=s.memo(function(t){var n,r,o,i;let{id:a,accessibility:c,autoScroll:l=!0,children:u,sensors:d=Tr,collisionDetection:f=Wn,measuring:v,modifiers:h,...x}=t;const g=s.useReducer(Pr,void 0,zr),[p,b]=g,[D,m]=Pn(),[C,R]=s.useState(de.Uninitialized),E=C===de.Initialized,{draggable:{active:y,nodes:w,translate:A},droppable:{containers:T}}=p,I=y!=null?w.get(y):null,W=s.useRef({initial:null,translated:null}),H=s.useMemo(()=>{var k;return y!=null?{id:y,data:(k=I?.data)!=null?k:Nr,rect:W}:null},[y,I]),G=s.useRef(null),[Se,Xe]=s.useState(null),[j,Ye]=s.useState(null),ee=Pe(x,Object.values(x)),Ce=Ue("DndDescribedBy",a),qe=s.useMemo(()=>T.getEnabled(),[T]),P=$r(v),{droppableRects:te,measureDroppableContainers:fe,measuringScheduled:Re}=wr(qe,{dragging:E,dependencies:[A.x,A.y],config:P.droppable}),X=br(w,y),We=s.useMemo(()=>j?ft(j):null,[j]),ie=yn(),ne=yr(X,P.draggable.measure);Fr({activeNode:y!=null?w.get(y):null,config:ie.layoutShiftCompensation,initialRect:ne,measure:P.draggable.measure});const M=jt(X,P.draggable.measure,ne),Ee=jt(X?X.parentElement:null),V=s.useRef({activatorEvent:null,active:null,activeNode:X,collisionRect:null,collisions:null,droppableRects:te,draggableNodes:w,draggingNode:null,draggingNodeRect:null,droppableContainers:T,over:null,scrollableAncestors:[],scrollAdjustedTranslate:null}),he=T.getNodeFor((n=V.current.over)==null?void 0:n.id),re=Or({measure:P.dragOverlay.measure}),ge=(r=re.nodeRef.current)!=null?r:X,ve=E?(o=re.rect)!=null?o:M:null,Ct=!!(re.nodeRef.current&&re.rect),Rt=Sr(Ct?null:M),ot=sn(ge?B(ge):null),se=Cr(E?he??X:null),He=Ir(se),Ke=jr(h,{transform:{x:A.x-Rt.x,y:A.y-Rt.y,scaleX:1,scaleY:1},activatorEvent:j,active:H,activeNodeRect:M,containerNodeRect:Ee,draggingNodeRect:ve,over:V.current.over,overlayNodeRect:re.rect,scrollableAncestors:se,scrollableAncestorRects:He,windowRect:ot}),Et=We?we(We,A):null,Mt=Rr(se),hn=Ft(Mt),gn=Ft(Mt,[M]),pe=we(Ke,hn),be=ve?Gn(ve,Ke):null,Me=H&&be?f({active:H,collisionRect:be,droppableRects:te,droppableContainers:qe,pointerCoordinates:Et}):null,It=Yn(Me,"id"),[ae,At]=s.useState(null),vn=Ct?Ke:we(Ke,gn),pn=Hn(vn,(i=ae?.rect)!=null?i:null,M),it=s.useRef(null),Ot=s.useCallback((k,$)=>{let{sensor:F,options:ce}=$;if(G.current==null)return;const Y=w.get(G.current);if(!Y)return;const U=k.nativeEvent,J=new F({active:G.current,activeNode:Y,event:U,options:ce,context:V,onAbort(L){if(!w.get(L))return;const{onDragAbort:_}=ee.current,oe={id:L};_?.(oe),D({type:"onDragAbort",event:oe})},onPending(L,le,_,oe){if(!w.get(L))return;const{onDragPending:Ae}=ee.current,ue={id:L,constraint:le,initialCoordinates:_,offset:oe};Ae?.(ue),D({type:"onDragPending",event:ue})},onStart(L){const le=G.current;if(le==null)return;const _=w.get(le);if(!_)return;const{onDragStart:oe}=ee.current,Ie={activatorEvent:U,active:{id:le,data:_.data,rect:W}};Ne.unstable_batchedUpdates(()=>{oe?.(Ie),R(de.Initializing),b({type:O.DragStart,initialCoordinates:L,active:le}),D({type:"onDragStart",event:Ie}),Xe(it.current),Ye(U)})},onMove(L){b({type:O.DragMove,coordinates:L})},onEnd:me(O.DragEnd),onCancel:me(O.DragCancel)});it.current=J;function me(L){return async function(){const{active:_,collisions:oe,over:Ie,scrollAdjustedTranslate:Ae}=V.current;let ue=null;if(_&&Ae){const{cancelDrop:Oe}=ee.current;ue={activatorEvent:U,active:_,collisions:oe,delta:Ae,over:Ie},L===O.DragEnd&&typeof Oe=="function"&&await Promise.resolve(Oe(ue))&&(L=O.DragCancel)}G.current=null,Ne.unstable_batchedUpdates(()=>{b({type:L}),R(de.Uninitialized),At(null),Xe(null),Ye(null),it.current=null;const Oe=L===O.DragEnd?"onDragEnd":"onDragCancel";if(ue){const st=ee.current[Oe];st?.(ue),D({type:Oe,event:ue})}})}}},[w]),bn=s.useCallback((k,$)=>(F,ce)=>{const Y=F.nativeEvent,U=w.get(ce);if(G.current!==null||!U||Y.dndKit||Y.defaultPrevented)return;const J={active:U};k(F,$.options,J)===!0&&(Y.dndKit={capturedBy:$.sensor},G.current=ce,Ot(F,$))},[w,Ot]),Tt=mr(d,bn);Er(d),Z(()=>{M&&C===de.Initializing&&R(de.Initialized)},[M,C]),s.useEffect(()=>{const{onDragMove:k}=ee.current,{active:$,activatorEvent:F,collisions:ce,over:Y}=V.current;if(!$||!F)return;const U={active:$,activatorEvent:F,collisions:ce,delta:{x:pe.x,y:pe.y},over:Y};Ne.unstable_batchedUpdates(()=>{k?.(U),D({type:"onDragMove",event:U})})},[pe.x,pe.y]),s.useEffect(()=>{const{active:k,activatorEvent:$,collisions:F,droppableContainers:ce,scrollAdjustedTranslate:Y}=V.current;if(!k||G.current==null||!$||!Y)return;const{onDragOver:U}=ee.current,J=ce.get(It),me=J&&J.rect.current?{id:J.id,rect:J.rect.current,data:J.data,disabled:J.disabled}:null,L={active:k,activatorEvent:$,collisions:F,delta:{x:Y.x,y:Y.y},over:me};Ne.unstable_batchedUpdates(()=>{At(me),U?.(L),D({type:"onDragOver",event:L})})},[It]),Z(()=>{V.current={activatorEvent:j,active:H,activeNode:X,collisionRect:be,collisions:Me,droppableRects:te,draggableNodes:w,draggingNode:ge,draggingNodeRect:ve,droppableContainers:T,over:ae,scrollableAncestors:se,scrollAdjustedTranslate:pe},W.current={initial:ve,translated:be}},[H,X,Me,be,w,ge,ve,te,T,ae,se,pe]),gr({...ie,delta:A,draggingRect:be,pointerCoordinates:Et,scrollableAncestors:se,scrollableAncestorRects:He});const mn=s.useMemo(()=>({active:H,activeNode:X,activeNodeRect:M,activatorEvent:j,collisions:Me,containerNodeRect:Ee,dragOverlay:re,draggableNodes:w,droppableContainers:T,droppableRects:te,over:ae,measureDroppableContainers:fe,scrollableAncestors:se,scrollableAncestorRects:He,measuringConfiguration:P,measuringScheduled:Re,windowRect:ot}),[H,X,M,j,Me,Ee,re,w,T,te,ae,fe,se,He,P,Re,ot]),wn=s.useMemo(()=>({activatorEvent:j,activators:Tt,active:H,activeNodeRect:M,ariaDescribedById:{draggable:Ce},dispatch:b,draggableNodes:w,over:ae,measureDroppableContainers:fe}),[j,Tt,H,M,b,Ce,w,ae,fe]);return s.createElement(Ht.Provider,{value:m},s.createElement(rt.Provider,{value:wn},s.createElement(an.Provider,{value:mn},s.createElement(cn.Provider,{value:pn},u)),s.createElement(Br,{disabled:c?.restoreFocus===!1})),s.createElement($n,{...c,hiddenTextDescribedById:Ce}));function yn(){const k=Se?.autoScrollEnabled===!1,$=typeof l=="object"?l.enabled===!1:l===!1,F=E&&!k&&!$;return typeof l=="object"?{...l,enabled:F}:{enabled:F}}}),Xr=s.createContext(null),Xt="button",Yr="Draggable";function qr(e){let{id:t,data:n,disabled:r=!1,attributes:o}=e;const i=Ue(Yr),{activators:a,activatorEvent:c,active:l,activeNodeRect:u,ariaDescribedById:d,draggableNodes:f,over:v}=s.useContext(rt),{role:h=Xt,roleDescription:x="draggable",tabIndex:g=0}=o??{},p=l?.id===t,b=s.useContext(p?cn:Xr),[D,m]=_e(),[C,R]=_e(),E=Mr(a,t),y=Pe(n);Z(()=>(f.set(t,{id:t,key:i,node:D,activatorNode:C,data:y}),()=>{const A=f.get(t);A&&A.key===i&&f.delete(t)}),[f,t]);const w=s.useMemo(()=>({role:h,tabIndex:g,"aria-disabled":r,"aria-pressed":p&&h===Xt?!0:void 0,"aria-roledescription":x,"aria-describedby":d.draggable}),[r,h,g,p,x,d.draggable]);return{active:l,activatorEvent:c,activeNodeRect:u,attributes:w,isDragging:p,listeners:r?void 0:E,node:D,over:v,setNodeRef:m,setActivatorNodeRef:R,transform:b}}function Wr(){return s.useContext(an)}const Hr="Droppable",Kr={timeout:25};function Gr(e){let{data:t,disabled:n=!1,id:r,resizeObserverConfig:o}=e;const i=Ue(Hr),{active:a,dispatch:c,over:l,measureDroppableContainers:u}=s.useContext(rt),d=s.useRef({disabled:n}),f=s.useRef(!1),v=s.useRef(null),h=s.useRef(null),{disabled:x,updateMeasurementsFor:g,timeout:p}={...Kr,...o},b=Pe(g??r),D=s.useCallback(()=>{if(!f.current){f.current=!0;return}h.current!=null&&clearTimeout(h.current),h.current=setTimeout(()=>{u(Array.isArray(b.current)?b.current:[b.current]),h.current=null},p)},[p]),m=nt({callback:D,disabled:x||!a}),C=s.useCallback((w,A)=>{m&&(A&&(m.unobserve(A),f.current=!1),w&&m.observe(w))},[m]),[R,E]=_e(C),y=Pe(t);return s.useEffect(()=>{!m||!R.current||(m.disconnect(),f.current=!1,m.observe(R.current))},[R,m]),s.useEffect(()=>(c({type:O.RegisterDroppable,element:{id:r,key:i,disabled:n,node:R,rect:v,data:y}}),()=>c({type:O.UnregisterDroppable,key:i,id:r})),[r]),s.useEffect(()=>{n!==d.current.disabled&&(c({type:O.SetDroppableDisabled,id:r,key:i,disabled:n}),d.current.disabled=n)},[r,i,n,c]),{active:a,rect:v,isOver:l?.id===r,node:R,over:l,setNodeRef:E}}function St(e,t,n){const r=e.slice();return r.splice(n<0?r.length+n:n,0,r.splice(t,1)[0]),r}function Vr(e,t){return e.reduce((n,r,o)=>{const i=t.get(r);return i&&(n[o]=i),n},Array(e.length))}function Ge(e){return e!==null&&e>=0}function Jr(e,t){if(e===t)return!0;if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}function _r(e){return typeof e=="boolean"?{draggable:e,droppable:e}:e}const ln=e=>{let{rects:t,activeIndex:n,overIndex:r,index:o}=e;const i=St(t,r,n),a=t[o],c=i[o];return!c||!a?null:{x:c.left-a.left,y:c.top-a.top,scaleX:c.width/a.width,scaleY:c.height/a.height}},Ve={scaleX:1,scaleY:1},Qr=e=>{var t;let{activeIndex:n,activeNodeRect:r,index:o,rects:i,overIndex:a}=e;const c=(t=i[n])!=null?t:r;if(!c)return null;if(o===n){const u=i[a];return u?{x:0,y:n<a?u.top+u.height-(c.top+c.height):u.top-c.top,...Ve}:null}const l=Zr(i,o,n);return o>n&&o<=a?{x:0,y:-c.height-l,...Ve}:o<n&&o>=a?{x:0,y:c.height+l,...Ve}:{x:0,y:0,...Ve}};function Zr(e,t,n){const r=e[t],o=e[t-1],i=e[t+1];return r?n<t?o?r.top-(o.top+o.height):i?i.top-(r.top+r.height):0:i?i.top-(r.top+r.height):o?r.top-(o.top+o.height):0:0}const un="Sortable",dn=s.createContext({activeIndex:-1,containerId:un,disableTransforms:!1,items:[],overIndex:-1,useDragOverlay:!1,sortedRects:[],strategy:ln,disabled:{draggable:!1,droppable:!1}});function eo(e){let{children:t,id:n,items:r,strategy:o=ln,disabled:i=!1}=e;const{active:a,dragOverlay:c,droppableRects:l,over:u,measureDroppableContainers:d}=Wr(),f=Ue(un,n),v=c.rect!==null,h=s.useMemo(()=>r.map(E=>typeof E=="object"&&"id"in E?E.id:E),[r]),x=a!=null,g=a?h.indexOf(a.id):-1,p=u?h.indexOf(u.id):-1,b=s.useRef(h),D=!Jr(h,b.current),m=p!==-1&&g===-1||D,C=_r(i);Z(()=>{D&&x&&d(h)},[D,h,x,d]),s.useEffect(()=>{b.current=h},[h]);const R=s.useMemo(()=>({activeIndex:g,containerId:f,disabled:C,disableTransforms:m,items:h,overIndex:p,useDragOverlay:v,sortedRects:Vr(h,l),strategy:o}),[g,f,C.draggable,C.droppable,m,h,p,l,v,o]);return s.createElement(dn.Provider,{value:R},t)}const to=e=>{let{id:t,items:n,activeIndex:r,overIndex:o}=e;return St(n,r,o).indexOf(t)},no=e=>{let{containerId:t,isSorting:n,wasDragging:r,index:o,items:i,newIndex:a,previousItems:c,previousContainerId:l,transition:u}=e;return!u||!r||c!==i&&o===a?!1:n?!0:a!==o&&t===l},ro={duration:200,easing:"ease"},fn="transform",oo=Be.Transition.toString({property:fn,duration:0,easing:"linear"}),io={roleDescription:"sortable"};function so(e){let{disabled:t,index:n,node:r,rect:o}=e;const[i,a]=s.useState(null),c=s.useRef(n);return Z(()=>{if(!t&&n!==c.current&&r.current){const l=o.current;if(l){const u=De(r.current,{ignoreTransform:!0}),d={x:l.left-u.left,y:l.top-u.top,scaleX:l.width/u.width,scaleY:l.height/u.height};(d.x||d.y)&&a(d)}}n!==c.current&&(c.current=n)},[t,n,r,o]),s.useEffect(()=>{i&&a(null)},[i]),i}function ao(e){let{animateLayoutChanges:t=no,attributes:n,disabled:r,data:o,getNewIndex:i=to,id:a,strategy:c,resizeObserverConfig:l,transition:u=ro}=e;const{items:d,containerId:f,activeIndex:v,disabled:h,disableTransforms:x,sortedRects:g,overIndex:p,useDragOverlay:b,strategy:D}=s.useContext(dn),m=co(r,h),C=d.indexOf(a),R=s.useMemo(()=>({sortable:{containerId:f,index:C,items:d},...o}),[f,o,C,d]),E=s.useMemo(()=>d.slice(d.indexOf(a)),[d,a]),{rect:y,node:w,isOver:A,setNodeRef:T}=Gr({id:a,data:R,disabled:m.droppable,resizeObserverConfig:{updateMeasurementsFor:E,...l}}),{active:I,activatorEvent:W,activeNodeRect:H,attributes:G,setNodeRef:Se,listeners:Xe,isDragging:j,over:Ye,setActivatorNodeRef:ee,transform:Ce}=qr({id:a,data:R,attributes:{...io,...n},disabled:m.draggable}),qe=En(T,Se),P=!!I,te=P&&!x&&Ge(v)&&Ge(p),fe=!b&&j,Re=fe&&te?Ce:null,We=te?Re??(c??D)({rects:g,activeNodeRect:H,activeIndex:v,overIndex:p,index:C}):null,ie=Ge(v)&&Ge(p)?i({id:a,items:d,activeIndex:v,overIndex:p}):C,ne=I?.id,M=s.useRef({activeId:ne,items:d,newIndex:ie,containerId:f}),Ee=d!==M.current.items,V=t({active:I,containerId:f,isDragging:j,isSorting:P,id:a,index:C,items:d,newIndex:M.current.newIndex,previousItems:M.current.items,previousContainerId:M.current.containerId,transition:u,wasDragging:M.current.activeId!=null}),he=so({disabled:!V,index:C,node:w,rect:y});return s.useEffect(()=>{P&&M.current.newIndex!==ie&&(M.current.newIndex=ie),f!==M.current.containerId&&(M.current.containerId=f),d!==M.current.items&&(M.current.items=d)},[P,ie,f,d]),s.useEffect(()=>{if(ne===M.current.activeId)return;if(ne!=null&&M.current.activeId==null){M.current.activeId=ne;return}const ge=setTimeout(()=>{M.current.activeId=ne},50);return()=>clearTimeout(ge)},[ne]),{active:I,activeIndex:v,attributes:G,data:R,rect:y,index:C,newIndex:ie,items:d,isOver:A,isSorting:P,isDragging:j,listeners:Xe,node:w,overIndex:p,over:Ye,setNodeRef:qe,setActivatorNodeRef:ee,setDroppableNodeRef:T,setDraggableNodeRef:Se,transform:he??We,transition:re()};function re(){if(he||Ee&&M.current.newIndex===C)return oo;if(!(fe&&!wt(W)||!u)&&(P||V))return Be.Transition.toString({...u,property:fn})}}function co(e,t){var n,r;return typeof e=="boolean"?{draggable:e,droppable:!1}:{draggable:(n=e?.draggable)!=null?n:t.draggable,droppable:(r=e?.droppable)!=null?r:t.droppable}}S.Down,S.Right,S.Up,S.Left;exports.CSS=Be;exports.DndContext=Ur;exports.InternalRequestError=Sn;exports.Logo=Rn;exports.MouseSensor=rn;exports.SortableContext=eo;exports.arrayMove=St;exports.useSensor=Fn;exports.useSensors=Un;exports.useSortable=ao;exports.verticalListSortingStrategy=Qr;
package/dist/theme.css CHANGED
@@ -1,102 +1 @@
1
- /* Auto-Generated for Tailwind V4 */
2
-
3
- @theme {
4
- /* -------------------- */
5
- /* Fonts */
6
- /* -------------------- */
7
- --font-yekan-normal: YekanBakhFaRegular;
8
- --font-yekan-medium: YekanBakhFaMedium;
9
- --font-yekan-light: YekanBakhFaLight;
10
- --font-yekan-bold: YekanBakhFaBold;
11
- --font-roboto-normal: RobotoRegular;
12
- --font-roboto-light: RobotoLight;
13
- --font-roboto-medium: RobotoMedium;
14
- --font-roboto-bold: RobotoBold;
15
-
16
- /* -------------------- */
17
- /* Colors */
18
- /* -------------------- */
19
- --color-white-ff: #ffffff;
20
- --color-white-ff-10: #ffffff10;
21
- --color-white-ff-15: #ffffff15;
22
- --color-white-ff-20: #ffffff20;
23
- --color-white-ff-35: #ffffff35;
24
- --color-light-1: #f8f9fb;
25
- --color-light-2: #f1f3f8;
26
- --color-light-3: #f9fbff;
27
- --color-light-4: #f7fafe;
28
- --color-light-5: #ebf3ff;
29
- --color-light-6: #eaeff5;
30
- --color-light-7: #d9e1ea;
31
- --color-primary: #435879;
32
- --color-primary-dark-1: #2b4063;
33
- --color-primary-dark-2: #192540;
34
- --color-primary-light-1: #516b93;
35
- --color-primary-light-2: #91a8c3;
36
- --color-primary-light-3: #b8c7d8;
37
- --color-secondary: #1e51c1;
38
- --color-secondary-dark-1: #163b8e;
39
- --color-secondary-light-1: #2159d4;
40
- --color-secondary-light-2: #386de0;
41
- --color-tertiary: #1ba9c7;
42
- --color-tertiary-dark-1: #489fb5;
43
- --color-negative: #c9252d;
44
- --color-negative-dark-1: #bb121a;
45
- --color-negative-light-1: #d7373f;
46
- --color-negative-light-2: #e34850;
47
- --color-negative-light-3: #f6d8da;
48
- --color-negative-light-4: #f9e3e4;
49
- --color-negative-light-5: #fdf3f3;
50
- --color-positive: #268e6c;
51
- --color-positive-dark-1: #12805c;
52
- --color-positive-dark-2: #107154;
53
- --color-positive-light-2: #2d9d78;
54
- --color-positive-light-3: #eefaf6;
55
- --color-sales-action: #ec6c2c;
56
- --color-black: #000000;
57
- --color-transparent: transparent;
58
- --color-sales-action-dark-1: #bc5624;
59
- --color-sales-action-light-1: #ff8136;
60
- --color-sales-action-light-2: #ff973e;
61
- --color-sales-action-light-3: #ffac48;
62
- --color-call-action: #8345c9;
63
- --color-call-action-dark-1: #6837a0;
64
- --color-call-action-light-1: #9d52f1;
65
- --color-call-action-light-2: #b760ff;
66
- --color-call-action-light-3: #d16eff;
67
- --color-marketing-action: #2962ff;
68
- --color-marketing-action-dark-1: #1043ce;
69
- --color-marketing-action-light-1: #3175ff;
70
- --color-marketing-action-light-2: #3d8cff;
71
- --color-marketing-action-light-3: #4ea3ff;
72
- --color-club-action: #d21369;
73
- --color-club-action-dark-1: #a80f54;
74
- --color-club-action-light-1: #fc167e;
75
- --color-club-action-light-2: #ff1a93;
76
- --color-club-action-light-3: #ff27ab;
77
- --color-team-action: #b5179e;
78
- --color-team-action-dark-1: #9e218c;
79
- --color-team-action-light-1: #d834c0;
80
- --color-team-action-light-2: #f841dd;
81
- --color-team-action-light-3: #ff56e6;
82
- --color-desk-action: #50c877;
83
- --color-desk-action-dark-1: #3b965b;
84
- --color-desk-action-light-1: #60d38f;
85
- --color-desk-action-light-2: #6bdba2;
86
- --color-desk-action-light-3: #80e9bf;
87
- --color-form-action: #00bfa5;
88
- --color-form-action-dark-1: #00927e;
89
- --color-form-action-light-1: #00ccb7;
90
- --color-form-action-light-2: #03d5c4;
91
- --color-form-action-light-3: #05e4db;
92
- --color-task-action: #5066d4;
93
- --color-task-action-dark-1: #3c4c9f;
94
- --color-task-action-light-1: #617add;
95
- --color-task-action-light-2: #6d8ae3;
96
- --color-task-action-light-3: #81a2ee;
97
- --color-rayan-action: #5066d4;
98
- --color-rayan-action-dark-1: #3c4c9f;
99
- --color-rayan-action-light-1: #617add;
100
- --color-rayan-action-light-2: #6d8ae3;
101
- --color-rayan-action-light-3: #81a2ee;
102
- }
1
+ @theme{ --font-yekan-normal: YekanBakhFaRegular; --font-yekan-medium: YekanBakhFaMedium; --font-yekan-light: YekanBakhFaLight; --font-yekan-bold: YekanBakhFaBold; --font-roboto-normal: RobotoRegular; --font-roboto-light: RobotoLight; --font-roboto-medium: RobotoMedium; --font-roboto-bold: RobotoBold; --color-white-ff: #ffffff; --color-white-ff-10: #ffffff10; --color-white-ff-15: #ffffff15; --color-white-ff-20: #ffffff20; --color-white-ff-35: #ffffff35; --color-light-1: #f8f9fb; --color-light-2: #f1f3f8; --color-light-3: #f9fbff; --color-light-4: #f7fafe; --color-light-5: #ebf3ff; --color-light-6: #eaeff5; --color-light-7: #d9e1ea; --color-primary: #435879; --color-primary-dark-1: #2b4063; --color-primary-dark-2: #192540; --color-primary-light-1: #516b93; --color-primary-light-2: #91a8c3; --color-primary-light-3: #b8c7d8; --color-secondary: #1e51c1; --color-secondary-dark-1: #163b8e; --color-secondary-light-1: #2159d4; --color-secondary-light-2: #386de0; --color-tertiary: #1ba9c7; --color-tertiary-dark-1: #489fb5; --color-negative: #c9252d; --color-negative-dark-1: #bb121a; --color-negative-light-1: #d7373f; --color-negative-light-2: #e34850; --color-negative-light-3: #f6d8da; --color-negative-light-4: #f9e3e4; --color-negative-light-5: #fdf3f3; --color-positive: #268e6c; --color-positive-dark-1: #12805c; --color-positive-dark-2: #107154; --color-positive-light-2: #2d9d78; --color-positive-light-3: #eefaf6; --color-sales-action: #ec6c2c; --color-black: #000000; --color-transparent: transparent; --color-sales-action-dark-1: #bc5624; --color-sales-action-light-1: #ff8136; --color-sales-action-light-2: #ff973e; --color-sales-action-light-3: #ffac48; --color-call-action: #8345c9; --color-call-action-dark-1: #6837a0; --color-call-action-light-1: #9d52f1; --color-call-action-light-2: #b760ff; --color-call-action-light-3: #d16eff; --color-marketing-action: #2962ff; --color-marketing-action-dark-1: #1043ce; --color-marketing-action-light-1: #3175ff; --color-marketing-action-light-2: #3d8cff; --color-marketing-action-light-3: #4ea3ff; --color-club-action: #d21369; --color-club-action-dark-1: #a80f54; --color-club-action-light-1: #fc167e; --color-club-action-light-2: #ff1a93; --color-club-action-light-3: #ff27ab; --color-team-action: #b5179e; --color-team-action-dark-1: #9e218c; --color-team-action-light-1: #d834c0; --color-team-action-light-2: #f841dd; --color-team-action-light-3: #ff56e6; --color-desk-action: #50c877; --color-desk-action-dark-1: #3b965b; --color-desk-action-light-1: #60d38f; --color-desk-action-light-2: #6bdba2; --color-desk-action-light-3: #80e9bf; --color-form-action: #00bfa5; --color-form-action-dark-1: #00927e; --color-form-action-light-1: #00ccb7; --color-form-action-light-2: #03d5c4; --color-form-action-light-3: #05e4db; --color-task-action: #5066d4; --color-task-action-dark-1: #3c4c9f; --color-task-action-light-1: #617add; --color-task-action-light-2: #6d8ae3; --color-task-action-light-3: #81a2ee; --color-rayan-action: #5066d4; --color-rayan-action-dark-1: #3c4c9f; --color-rayan-action-light-1: #617add; --color-rayan-action-light-2: #6d8ae3; --color-rayan-action-light-3: #81a2ee; }
@@ -1 +1 @@
1
- export type IconsNames = "Accidental" | "account" | "account_circle_fill" | "account-box-fill" | "account-box-line" | "Actitvity" | "add" | "add_circle" | "add_circle_line" | "Add_header" | "Add_photo" | "add_square" | "add_user_outline" | "add-line-outlined" | "Additional-info" | "address-duotone" | "admin_line" | "advance" | "advance-filter" | "alarm_fill" | "alarm-outlined" | "Alert" | "alert_circle" | "alert_circle_outline" | "alert-line" | "all-works-duotone" | "Anonymous-audience-duotone" | "api-app-outlined" | "app_added" | "apply_filter" | "appointment" | "Appointment" | "appointment_repeat" | "appointments-duotone" | "Apps" | "apps_line" | "apps_selected" | "archive" | "arrow_left_fill" | "arrow-autofit-height-collapse-outlined" | "arrow-autofit-height-expand-outlined" | "arrow-forward-up-outlined" | "arrow-right-fill" | "Ascending" | "Assign" | "Asterisk" | "at_fill" | "at_line" | "attachment" | "attachment_fill" | "attachment_line" | "authentication-code" | "Automatic-response" | "award" | "award_fill" | "award-credit-outlined" | "award-outlined" | "Back" | "bar_chart" | "basic-flow-settings-duotone" | "Bell" | "Billable_Object_State_Changed" | "bornze-star-filled" | "Box" | "Box_fill" | "box-seam-outlined" | "branches" | "branches-and-departments-duotone" | "bubble_chart" | "building_fill" | "building-bank-outlined" | "building-outlined" | "building-warehouse-outlined" | "Bulk-Calls-outlined" | "Buy" | "buy-2" | "buy-invoice-duotone" | "calculator" | "caleander3-outlined" | "calendar_check_fill" | "calendar_event_fill" | "calendar_event_line" | "calendar_fill" | "calendar_header" | "calendar_todo_fill" | "calendar-duotone" | "calendar-time-outlined" | "call" | "call_dashboard" | "call-Cancel-outlined" | "call-Cancel-outlined-1" | "call-center-monitorting-outlined" | "call-center-outlined" | "call-graphic" | "call-graphic-design-outlined" | "call-monitor" | "call-overview" | "call-overview-outlined" | "call-receve-outlined" | "call-report-outlined" | "call-request" | "call-request-outlined" | "call-system" | "callcenter" | "calls" | "camera_line" | "card" | "card_fill" | "Card_issuance" | "cash-outlined" | "category-outlined" | "charkhe_check" | "charkhe_close" | "chart-pie-outlined" | "chat-smile-2-outlined" | "check-double" | "check-outlined" | "checkbox_indeterminate_line" | "checkbox_line" | "checkbox_multiple_blank_fill" | "checkbox_multiple_blank_line" | "checkbox_multiple_fill" | "checkbox_multiple_line" | "Checkmark" | "Checkmark_Circle" | "Checkmark_Circle_outline" | "checks-outlined" | "Chevron_Down" | "chevron_duo_down" | "chevron_duo_up" | "Chevron_Left" | "Chevron_Right" | "Chevron_Up" | "circle-check-filled" | "classification" | "clipboard-plus-outlined" | "clipboard-text-outlined" | "clock-hour-9-outlined" | "clock-outlined" | "Close" | "Close_Circle" | "Close_Circle_fill" | "cloud_download_fill" | "cloud_download_outline" | "club-registration-duotone" | "club-settings-duotone" | "coins-outlined" | "collapse" | "collapse-outlined" | "Color-Management-duotone" | "communication-duotone" | "company_personal" | "company_personal-outlined" | "Competition" | "Complementary-Bank" | "completed_task" | "connect-app" | "connection-outlined" | "contact-outlined" | "contact-settings-duotone" | "contacts" | "contacts_book_fill" | "contacts_fill" | "Contract" | "Contract_fill" | "contract-list-duotone" | "Contracts" | "contracts-duotone" | "Conversation" | "Conversation_fill" | "convert" | "copy-content-outlined" | "country-state-duotone" | "credit-card-outlined" | "Crm-history" | "crop_fill" | "crop_line" | "currency-duotone" | "current-location-outlined" | "customer-card-duotone" | "customer-classification-duotone" | "customer-club" | "dashboard" | "dashboard_fill" | "dashboard-layout-outlined" | "dashboard-outlined" | "dashboards-outlined" | "database" | "Default-category-duotone" | "default-lines-duotone" | "Delete" | "Delete_fill" | "delete-back-outlined" | "Department" | "department-management-duotone" | "Descending" | "desktop-wallpaper-outlined" | "details" | "Details" | "dialpad-Filled" | "discord-Filled" | "discuss-fill" | "discuss-line" | "Double_Left" | "Double_Right" | "Double_Right-outlined" | "download_fill" | "download2-outlined" | "drag_and_drop" | "duc_history" | "duc_history_line" | "Edit" | "edit_box_fill" | "Edit_fill" | "edit_history" | "edit-charkhe" | "edit-phrase-duotone" | "editor" | "email" | "email_dashboard" | "email_fill" | "email-duotone" | "email2-outlined" | "Evaluation-Forms-duotone" | "Event" | "event-list-duotone" | "Excel" | "Executed-programs" | "expand" | "expand-layout-outlined" | "Export" | "eye_fill" | "eye_off_fill" | "fax" | "fax_fill" | "fax-duotone" | "file" | "file_copy_fill" | "file_copy_line" | "file_excel_ill" | "file_excel_line" | "file_fill" | "file_list_fill" | "file_word" | "file-certificate-outlined" | "File-download-Filled" | "file-Filled" | "file-outlined" | "file-phone-management-outlined" | "files-duotone" | "Filter" | "filter_line" | "Filtered" | "Financial" | "Financial_fill" | "financial-accounts-duotone" | "floor-outlined" | "Flow_up" | "flow-design-duotone" | "folder_fill" | "folder_line" | "folder-add-line" | "folder-folders-Filled" | "folder-reduce-line" | "folder-transfer-line" | "folder-user-line" | "folders-Filled" | "folders-outlined" | "forget-pass" | "Form" | "form-category-settings-duotone" | "forms_fill" | "forms-duotone" | "forward" | "Forward" | "funds-line" | "gauge-outlined" | "general_notification" | "general_notification_fill" | "general-notify-duotone" | "Get_money" | "git-merge-outlined" | "git-merge-outlined1" | "gold-star-filled" | "grip-vertical-outlined" | "group_fill" | "group_fill-1" | "group_line" | "Group-138566" | "Group-138599" | "Group-251575" | "Group-251798" | "Group-253622" | "Group-254011" | "group-and-users-duotone" | "Group-send" | "headphones-outlined" | "health-outlined" | "heatmap-outlined" | "Help_fill" | "Help_header" | "history" | "history-outlined" | "history-tree" | "holiday-and-occasion-duotone" | "home" | "home_fill" | "icon_Link_page" | "icon_Visibility" | "icon-apps-filled" | "icon-apps-plus-filled" | "identities-duotone" | "iframe-duotone" | "Image" | "image_add_line" | "image_line" | "Import" | "important" | "Important-days" | "important-list-duotone" | "inbox" | "inbox_fill" | "incoming" | "indeterminate_circle_line" | "Info_fill" | "info-octagon-outlined" | "information" | "instagram" | "Integrated-bank" | "internal-call" | "Internal-phone-report-outlined" | "inventory" | "inventory_fill" | "inventory_management" | "inventory-settings-duotone" | "invite" | "Invite-Trades" | "invoice" | "invoice_fill" | "invoices" | "invoices_fill" | "item-phone-call-duotone" | "Jobs" | "journey-outlined" | "Kanban_View" | "keyboard_fill" | "keyboard_outline" | "language-management-duotone" | "layout-board-outlined" | "layout-grid-outlined" | "layout-management-duotone" | "lead" | "License" | "License_fill" | "line_chart" | "link" | "linkedin" | "List_View" | "list_with_possible_workers_to_choose_svgrepo_com" | "list-check" | "loader-2-line" | "localize" | "localize_fill" | "lock" | "lock-1" | "login_box_fill" | "login-outlined" | "logout_box_fill" | "logout-outlined" | "M_account" | "M_advertising" | "M_automation-marketing" | "M_buy-and-sell" | "M_call-event" | "M_calls" | "M_campaign" | "M_campaign-managment" | "M_catalog_products" | "M_chatplus" | "M_connections" | "M_contacts" | "M_contracts" | "M_customer-journey" | "M_dashboard" | "M_digital-marketing" | "M_documents" | "M_email" | "M_event-managment" | "M_fax" | "M_finance" | "M_financial" | "M_followup" | "M_form" | "M_inbox" | "M_inventory" | "M_invoice" | "M_invoice-buy" | "M_invoice-sell" | "M_lead" | "M_opportunity" | "M_orders" | "M_payment" | "M_payment-link" | "M_person" | "M_points" | "M_price-list" | "M_print" | "M_products" | "M_products-item" | "M_qout" | "M_qout-buy" | "M_qout-sell" | "M_receive" | "M_remind" | "M_remind-all" | "M_remind-calls" | "M_reports" | "M_requests" | "M_return-invoice" | "M_sell" | "M_services" | "M_sms" | "M_sms-managment" | "M_social-media" | "M_target-group" | "M_visitor" | "M_warehouses" | "M_warranty" | "mail_send_fill" | "mail_send_line" | "mail-center-send" | "mail-close" | "mail-pending" | "mail-received" | "mail-refresh" | "mail-send" | "manage-user-accounts-duotone" | "Manual-insertion" | "map" | "map-fill" | "map-pin-filled" | "map-pin-outlined" | "map-pin-outlined1" | "map-pin-plus-outlined" | "marketing-duotone" | "meet-Filled" | "meeting_dashboard" | "meeting-room-outlined" | "message_fill" | "message_sms" | "message-2-outlined" | "message-2-plus-outlined" | "messages-outlined" | "microphone-off2-outlined" | "microphone-outlined" | "missed" | "mobile" | "mobile_fill" | "moon" | "more_alt" | "more_line" | "more_line-1" | "more_pic" | "more_vertical" | "mouse_fill" | "mouse_outline" | "Move" | "my_dashboard" | "my-activities-duotone" | "my-work-list-duotone" | "new-pass" | "Newsletters" | "node-tree" | "Not-shipped" | "note" | "note_fill" | "notes-duotone" | "Notification_header" | "Number" | "numbering-patterns-duotone" | "operator-management-duotone" | "Opportunities" | "opportunities-duotone" | "Opportunity" | "Opportunity_fill" | "order" | "order_fill" | "order_fill-1" | "order-1" | "outcoming" | "overview" | "Overview-outlined" | "Owner" | "paperclip-outlined" | "pause" | "pause_fill" | "pay_money" | "payam-gostar-paid-duotone" | "payamgostar" | "Payment" | "payment_link" | "payment-card-duotone" | "Payment-Policies-duotone" | "paymentreceipt" | "paymentreceipt_fill" | "payments-duotone" | "performance-duotone" | "permission" | "personal" | "Personal-communication" | "personnel-orders-duotone" | "phone_fill" | "phone-call-outlined" | "phone-hold-outlined" | "phone-icoming-outlined" | "phone-incoming-outlined" | "phone-off-outlined" | "phone-on-hold-outlined" | "phone-outgoing-outlined" | "phone-outgoing-outlined1" | "phone-outlined" | "phone-place-holder-Filled" | "phone-x-outlined" | "photo-outlined" | "pie_chart" | "pin_fill" | "pin_outline" | "pin-outlined" | "planed" | "planned" | "planning-list-duotone" | "play" | "play_fill" | "play-back-next" | "play-back-outlined" | "play-circle-filled" | "play-outlined" | "play2-outlined" | "player-pause-outlined" | "player-pause2-outlined1" | "poker-face-outlined" | "Postal-areas" | "Posted" | "posts" | "power-bi" | "powerbi" | "pre-purchase-invoices-duotone" | "presentation-outlined" | "preview" | "price_list" | "price_list_fill" | "price-list-duotone" | "Price-List-duotone" | "pricing-inventory" | "pricing-inventory-duotone" | "printer-duotone" | "process-list-duotone" | "product_group" | "product-1" | "product-authenticity-duotone" | "product-box-duotone" | "Product-category-duotone" | "product-management-duotone" | "profile_fill" | "profile_history" | "profile_line" | "profile-manegment-duotone" | "project-management-duotone" | "Purchase-Invoice" | "purchase-invoices-duotone" | "Purchase-return-invoice" | "purchase-return-invoice-duotone" | "purchase-return-invoices-duotone" | "PurchaseQuote" | "puse-circle-filled" | "qoute" | "qoute_fill" | "Quality-Control-Dashboard-outlined" | "Quality-Control-Scenario-duotone" | "queue-overview" | "queue-overview-outlined" | "quick_send" | "Quote" | "radio_button" | "radio_button_fill" | "rayan-badge-outlined" | "rayan-logo-outlined" | "receipt-buy-outlined" | "receipt-outlined" | "receipt-sell-outlined" | "Receive" | "receive-duotone" | "receive-duotone1" | "receiving-payment" | "record1-outlined" | "Reference" | "Remove_Circle" | "remove_select" | "remove-line-outlined" | "reply" | "reply1" | "report" | "Report" | "report_fill" | "report-analytics-outlined" | "report-duotone" | "report-voice-outlined" | "reports" | "reports_fill" | "request-outlined" | "reset-outlined" | "Resive-email" | "Return_invoice" | "Return_invoice_fill" | "return-invoices-from-sales-duotone" | "rhythm-line-outlined" | "room-duotone" | "rotate-clockwise-outlined" | "S_address" | "S_calender" | "S_call" | "S_celebrate" | "S_classification" | "S_club" | "S_color" | "S_country" | "S_crm-object" | "S_event" | "S_flow" | "S_inventory" | "S_language" | "S_money" | "S_number-pattern" | "S_product" | "S_room" | "S_sms" | "S_sync" | "S_system" | "S_system-item" | "S_tag" | "S_user" | "sale-2" | "Sales-Invoice" | "sales-invoice-duotone" | "sales-Invoices-duotone" | "sales-pre-invoice-duotone" | "Sales-Program-duotone" | "Sales-return-invoice" | "sales-returne-invoice-duotone" | "sales-settings-duotone" | "save" | "save_fill" | "score-outlined" | "Scoring" | "Scoring_fill" | "scoring-duotone" | "screen-share-outlined" | "screenshot" | "screenshot_fill" | "Search_fail" | "search_fill" | "Search_header" | "security-duotone" | "select" | "select_all" | "Select_Box" | "Select_Color" | "Send-email" | "send-outlined" | "send-sms" | "Server-Settings-duotone" | "settings_fill" | "settings_header" | "settings-search-duotone" | "share_box_fill" | "share_dashboard" | "share_fill" | "share_line" | "share-box-line" | "shield-check-outlined" | "shield-checkered-filled" | "shield-pause-outlined" | "sign_out" | "sign_out_fill" | "sign_out_fill-1" | "sign_out-1" | "silver-star-filled" | "sip_fill" | "skype-Filled" | "smile-outlined" | "smile-outlined1" | "sms_dashboard" | "sms-duotone" | "sms-receive" | "sms-send" | "snooze_header" | "social_media" | "social-network-messages-duotone" | "sound-outlined" | "speaker" | "sping-speed-outlined" | "star-filed" | "star-outlined" | "stop" | "stop_fill" | "stop-rexord-outlined" | "subtask" | "sunny" | "Survey" | "switch_person" | "Sync" | "System-items-duotone" | "system-logs-duotone" | "System-Messages-duotone" | "system-settings-duotone" | "table" | "table-line" | "tag" | "tag_fill" | "taget-blanl-outlined" | "Tags" | "Tags_fill" | "target-arrow-outlined" | "target-duotone" | "Target-group" | "task" | "task_assigned" | "task-board-duotone" | "task-list-duotone" | "task-list-outlined" | "Team_dashboard" | "team_fill" | "team_line" | "telefax" | "telefax-receive" | "telefax-send" | "telefax1" | "telegram" | "telegram-Filled" | "telephone-system-outlined" | "telephone-systems-management-duotone" | "template-messages-duotone" | "Text-list-check-outlined" | "Text-list-numbers-outlined" | "ticket" | "Ticket" | "ticket_fill" | "tickets-duotone" | "time" | "time_fill" | "time_line" | "timeline-event-minus-outlined" | "timer_fill" | "timer_line" | "timer-duotone" | "Timing" | "todo_line" | "toggle_fill" | "toggle_line" | "trash-x-outlined" | "tree_view_arrow_down" | "tree_view_arrow_left" | "tree_view_arrow_right" | "tree_view_arrow_up" | "trumpet-outlined" | "Unit-Measurement-Categories-duotone" | "update-information-duotone" | "update-place-holder-Filled" | "update-telephone-line-duotone" | "upload" | "upload_cloud_fill" | "upload_cloud_line" | "upset-outlined" | "User" | "user_add_fill" | "User_dashboard" | "user_fill" | "user_follow_fill" | "User_Group" | "user_received_fill" | "user_received_line" | "user_search" | "user_search_fill" | "user_shared_fill" | "user_shared_line" | "user_unfollow_fill" | "user_unfollow_line" | "user-analitics-outlined" | "user-avatar-outlined" | "user-award-add-outlined" | "user-managment-outlined" | "user-star-outlined" | "user-view-outlined" | "users-group-outlined" | "users-outlined" | "users-plus-outlined" | "video" | "video_fill" | "video-incoming-filled" | "video-off2-outlined" | "video-outconming-filled" | "video-outlined" | "Visibility_Off" | "volume-outlined" | "waiting-inventory" | "waiting-inventory-duotone" | "waiting-item" | "waiting-item-duotone" | "Warehouse-duotone" | "warehouse-transactions-duotone" | "Web_frame" | "Web_frame_fill" | "website" | "website_fill" | "whatsapp" | "whatsapp-Filled" | "Work-flow" | "working-hours-duotone" | "zoom_in" | "zoom_in_fill" | "zoom_out" | "zoom_out-fill";
1
+ export type IconsNames = "Accidental" | "account" | "account_circle_fill" | "account-box-fill" | "account-box-line" | "Actitvity" | "add" | "add_circle" | "add_circle_line" | "Add_header" | "Add_photo" | "add_square" | "add_user_outline" | "add-line-outlined" | "Additional-info" | "address-duotone" | "admin_line" | "advance" | "advance-filter" | "alarm_fill" | "alarm-outlined" | "Alert" | "alert_circle" | "alert_circle_outline" | "alert-line" | "all-works-duotone" | "Anonymous-audience-duotone" | "api-app-outlined" | "app_added" | "apply_filter" | "appointment" | "Appointment" | "appointment_repeat" | "appointments-duotone" | "Apps" | "apps_line" | "apps_selected" | "archive" | "arrow_left_fill" | "arrow-autofit-height-collapse-outlined" | "arrow-autofit-height-expand-outlined" | "arrow-forward-up-outlined" | "arrow-right-fill" | "Ascending" | "Assign" | "Asterisk" | "at_fill" | "at_line" | "attachment" | "attachment_fill" | "attachment_line" | "authentication-code" | "Automatic-response" | "award" | "award_fill" | "award-credit-outlined" | "award-outlined" | "Back" | "bar_chart" | "basic-flow-settings-duotone" | "Bell" | "Billable_Object_State_Changed" | "bornze-star-filled" | "Box" | "Box_fill" | "box-seam-outlined" | "branches" | "branches-and-departments-duotone" | "bubble_chart" | "building_fill" | "building-bank-outlined" | "building-outlined" | "building-warehouse-outlined" | "Bulk-Calls-outlined" | "Buy" | "buy-2" | "buy-invoice-duotone" | "calculator" | "caleander3-outlined" | "calendar_check_fill" | "calendar_event_fill" | "calendar_event_line" | "calendar_fill" | "calendar_header" | "calendar_todo_fill" | "calendar-duotone" | "calendar-time-outlined" | "call" | "call_dashboard" | "call-Cancel-outlined" | "call-Cancel-outlined-1" | "call-center-monitorting-outlined" | "call-center-outlined" | "call-graphic" | "call-graphic-design-outlined" | "call-monitor" | "call-overview" | "call-overview-outlined" | "call-receve-outlined" | "call-report-outlined" | "call-request" | "call-request-outlined" | "call-system" | "callcenter" | "calls" | "camera_line" | "card" | "card_fill" | "Card_issuance" | "cash-banknote-outlined" | "cash-outlined" | "category-outlined" | "charkhe_check" | "charkhe_close" | "chart-pie-outlined" | "chat-smile-2-outlined" | "check-double" | "check-outlined" | "checkbox_indeterminate_line" | "checkbox_line" | "checkbox_multiple_blank_fill" | "checkbox_multiple_blank_line" | "checkbox_multiple_fill" | "checkbox_multiple_line" | "Checkmark" | "Checkmark_Circle" | "Checkmark_Circle_outline" | "checks-outlined" | "Chevron_Down" | "chevron_duo_down" | "chevron_duo_up" | "Chevron_Left" | "Chevron_Right" | "Chevron_Up" | "circle-check-filled" | "classification" | "clipboard-plus-outlined" | "clipboard-text-outlined" | "clock-hour-9-outlined" | "clock-outlined" | "Close" | "Close_Circle" | "Close_Circle_fill" | "cloud_download_fill" | "cloud_download_outline" | "club-registration-duotone" | "club-settings-duotone" | "coins-outlined" | "collapse" | "collapse-outlined" | "Color-Management-duotone" | "communication-duotone" | "company_personal" | "company_personal-outlined" | "Competition" | "Complementary-Bank" | "completed_task" | "connect-app" | "connection-outlined" | "contact-outlined" | "contact-settings-duotone" | "contacts" | "contacts_book_fill" | "contacts_fill" | "Contract" | "Contract_fill" | "contract-list-duotone" | "Contracts" | "contracts-duotone" | "Conversation" | "Conversation_fill" | "convert" | "copy-content-outlined" | "country-state-duotone" | "credit-card-outlined" | "Crm-history" | "crop_fill" | "crop_line" | "currency-duotone" | "currency-rate-filled" | "current-location-outlined" | "customer-card-duotone" | "customer-classification-duotone" | "customer-club" | "dashboard" | "dashboard_fill" | "dashboard-layout-outlined" | "dashboard-outlined" | "dashboards-outlined" | "database" | "Default-category-duotone" | "default-lines-duotone" | "Delete" | "Delete_fill" | "delete-back-outlined" | "Department" | "department-management-duotone" | "Descending" | "desktop-wallpaper-outlined" | "details" | "Details" | "dialpad-Filled" | "discord-Filled" | "discuss-fill" | "discuss-line" | "Double_Left" | "Double_Right" | "Double_Right-outlined" | "download_fill" | "download2-outlined" | "drag_and_drop" | "duc_history" | "duc_history_line" | "Edit" | "edit_box_fill" | "Edit_fill" | "edit_history" | "edit-charkhe" | "edit-phrase-duotone" | "editor" | "email" | "email_dashboard" | "email_fill" | "email-duotone" | "email2-outlined" | "Evaluation-Forms-duotone" | "Event" | "event-list-duotone" | "Excel" | "Executed-programs" | "expand" | "expand-layout-outlined" | "Export" | "eye_fill" | "eye_off_fill" | "fax" | "fax_fill" | "fax-duotone" | "file" | "file_copy_fill" | "file_copy_line" | "file_excel_ill" | "file_excel_line" | "file_fill" | "file_list_fill" | "file_word" | "file-certificate-outlined" | "File-download-Filled" | "file-Filled" | "file-outlined" | "file-phone-management-outlined" | "files-duotone" | "Filter" | "filter_line" | "Filtered" | "Financial" | "Financial_fill" | "financial-accounts-duotone" | "floor-outlined" | "Flow_up" | "flow-design-duotone" | "folder_fill" | "folder_line" | "folder-add-line" | "folder-folders-Filled" | "folder-reduce-line" | "folder-transfer-line" | "folder-user-line" | "folders-Filled" | "folders-outlined" | "forget-pass" | "Form" | "form-category-settings-duotone" | "forms_fill" | "forms-duotone" | "forward" | "Forward" | "funds-line" | "gauge-outlined" | "general_notification" | "general_notification_fill" | "general-notify-duotone" | "Get_money" | "git-merge-outlined" | "git-merge-outlined1" | "gold-star-filled" | "grip-vertical-outlined" | "group_fill" | "group_fill-1" | "group_line" | "Group-138566" | "Group-138599" | "Group-251575" | "Group-251798" | "Group-253622" | "Group-254011" | "group-and-users-duotone" | "Group-send" | "headphones-outlined" | "health-outlined" | "heatmap-outlined" | "Help_fill" | "Help_header" | "history" | "history-outlined" | "history-tree" | "holiday-and-occasion-duotone" | "home" | "home_fill" | "icon_Link_page" | "icon_Visibility" | "icon-apps-filled" | "icon-apps-plus-filled" | "identities-duotone" | "iframe-duotone" | "Image" | "image_add_line" | "image_line" | "Import" | "important" | "Important-days" | "important-list-duotone" | "inbox" | "inbox_fill" | "incoming" | "indeterminate_circle_line" | "Info_fill" | "info-octagon-outlined" | "information" | "instagram" | "Integrated-bank" | "internal-call" | "Internal-phone-report-outlined" | "inventory" | "inventory_fill" | "inventory_management" | "inventory-settings-duotone" | "invite" | "Invite-Trades" | "invoice" | "invoice_fill" | "invoices" | "invoices_fill" | "item-phone-call-duotone" | "Jobs" | "journey-outlined" | "Kanban_View" | "keyboard_fill" | "keyboard_outline" | "language-management-duotone" | "layout-board-outlined" | "layout-grid-outlined" | "layout-management-duotone" | "lead" | "License" | "License_fill" | "line_chart" | "liner-chart-filled" | "link" | "linkedin" | "List_View" | "list_with_possible_workers_to_choose_svgrepo_com" | "list-check" | "loader-2-line" | "localize" | "localize_fill" | "lock" | "lock-1" | "login_box_fill" | "login-outlined" | "logout_box_fill" | "logout-outlined" | "M_account" | "M_advertising" | "M_automation-marketing" | "M_buy-and-sell" | "M_call-event" | "M_calls" | "M_campaign" | "M_campaign-managment" | "M_catalog_products" | "M_chatplus" | "M_connections" | "M_contacts" | "M_contracts" | "M_customer-journey" | "M_dashboard" | "M_digital-marketing" | "M_documents" | "M_email" | "M_event-managment" | "M_fax" | "M_finance" | "M_financial" | "M_followup" | "M_form" | "M_inbox" | "M_inventory" | "M_invoice" | "M_invoice-buy" | "M_invoice-sell" | "M_lead" | "M_opportunity" | "M_orders" | "M_payment" | "M_payment-link" | "M_person" | "M_points" | "M_price-list" | "M_print" | "M_products" | "M_products-item" | "M_qout" | "M_qout-buy" | "M_qout-sell" | "M_receive" | "M_remind" | "M_remind-all" | "M_remind-calls" | "M_reports" | "M_requests" | "M_return-invoice" | "M_sell" | "M_services" | "M_sms" | "M_sms-managment" | "M_social-media" | "M_target-group" | "M_visitor" | "M_warehouses" | "M_warranty" | "mail_send_fill" | "mail_send_line" | "mail-center-send" | "mail-close" | "mail-pending" | "mail-received" | "mail-refresh" | "mail-send" | "manage-user-accounts-duotone" | "Manual-insertion" | "map" | "map-fill" | "map-pin-filled" | "map-pin-outlined" | "map-pin-outlined1" | "map-pin-plus-outlined" | "marketing-duotone" | "meet-Filled" | "meeting_dashboard" | "meeting-room-outlined" | "message_fill" | "message_sms" | "message-2-outlined" | "message-2-plus-outlined" | "messages-outlined" | "microphone-off2-outlined" | "microphone-outlined" | "missed" | "mobile" | "mobile_fill" | "moon" | "more_alt" | "more_line" | "more_line-1" | "more_pic" | "more_vertical" | "mouse_fill" | "mouse_outline" | "Move" | "my_dashboard" | "my-activities-duotone" | "my-work-list-duotone" | "new-pass" | "Newsletters" | "node-tree" | "Not-shipped" | "note" | "note_fill" | "notes-duotone" | "Notification_header" | "Number" | "numbering-patterns-duotone" | "operator-management-duotone" | "Opportunities" | "opportunities-duotone" | "Opportunity" | "Opportunity_fill" | "order" | "order_fill" | "order_fill-1" | "order-1" | "outcoming" | "overview" | "Overview-outlined" | "Owner" | "paperclip-outlined" | "pause" | "pause_fill" | "pay_money" | "payam-gostar-paid-duotone" | "payamgostar" | "Payment" | "payment_link" | "payment-card-duotone" | "Payment-Policies-duotone" | "paymentreceipt" | "paymentreceipt_fill" | "payments-duotone" | "performance-duotone" | "permission" | "personal" | "Personal-communication" | "personnel-orders-duotone" | "phone_fill" | "phone-call-outlined" | "phone-hold-outlined" | "phone-icoming-outlined" | "phone-incoming-outlined" | "phone-off-outlined" | "phone-on-hold-outlined" | "phone-outgoing-outlined" | "phone-outgoing-outlined1" | "phone-outlined" | "phone-place-holder-Filled" | "phone-x-outlined" | "photo-outlined" | "pie_chart" | "pin_fill" | "pin_outline" | "pin-outlined" | "planed" | "planned" | "planning-list-duotone" | "play" | "play_fill" | "play-back-next" | "play-back-outlined" | "play-circle-filled" | "play-outlined" | "play2-outlined" | "player-pause-outlined" | "player-pause2-outlined1" | "poker-face-outlined" | "Postal-areas" | "Posted" | "posts" | "power-bi" | "powerbi" | "pre-purchase-invoices-duotone" | "presentation-outlined" | "preview" | "price_list" | "price_list_fill" | "price-list-duotone" | "Price-List-duotone" | "pricing-inventory" | "pricing-inventory-duotone" | "printer-duotone" | "process-list-duotone" | "product_group" | "product-1" | "product-authenticity-duotone" | "product-box-duotone" | "Product-category-duotone" | "product-management-duotone" | "profile_fill" | "profile_history" | "profile_line" | "profile-manegment-duotone" | "project-management-duotone" | "Purchase-Invoice" | "purchase-invoices-duotone" | "Purchase-return-invoice" | "purchase-return-invoice-duotone" | "purchase-return-invoices-duotone" | "PurchaseQuote" | "puse-circle-filled" | "qoute" | "qoute_fill" | "Quality-Control-Dashboard-outlined" | "Quality-Control-Scenario-duotone" | "queue-overview" | "queue-overview-outlined" | "quick_send" | "Quote" | "radio_button" | "radio_button_fill" | "rayan-badge-duotone" | "rayan-logo-duotone" | "receipt-buy-outlined" | "receipt-outlined" | "receipt-sell-outlined" | "Receive" | "receive-duotone" | "receive-duotone1" | "receiving-payment" | "record1-outlined" | "Reference" | "Remove_Circle" | "remove_select" | "remove-line-outlined" | "reply" | "reply1" | "report" | "Report" | "report_fill" | "report-analytics-outlined" | "report-duotone" | "report-voice-outlined" | "reports" | "reports_fill" | "request-outlined" | "reset-outlined" | "Resive-email" | "Return_invoice" | "Return_invoice_fill" | "return-invoices-from-sales-duotone" | "rhythm-line-outlined" | "room-duotone" | "rotate-clockwise-outlined" | "S_address" | "S_calender" | "S_call" | "S_celebrate" | "S_classification" | "S_club" | "S_color" | "S_country" | "S_crm-object" | "S_event" | "S_flow" | "S_inventory" | "S_language" | "S_money" | "S_number-pattern" | "S_product" | "S_room" | "S_sms" | "S_sync" | "S_system" | "S_system-item" | "S_tag" | "S_user" | "sale-2" | "Sales-Invoice" | "sales-invoice-duotone" | "sales-Invoices-duotone" | "sales-pre-invoice-duotone" | "Sales-Program-duotone" | "Sales-return-invoice" | "sales-returne-invoice-duotone" | "sales-settings-duotone" | "save" | "save_fill" | "score-outlined" | "Scoring" | "Scoring_fill" | "scoring-duotone" | "screen-share-outlined" | "screenshot" | "screenshot_fill" | "Search_fail" | "search_fill" | "Search_header" | "security-duotone" | "select" | "select_all" | "Select_Box" | "Select_Color" | "Send-email" | "send-outlined" | "send-sms" | "Server-Settings-duotone" | "settings_fill" | "settings_header" | "settings-search-duotone" | "share_box_fill" | "share_dashboard" | "share_fill" | "share_line" | "share-box-line" | "shield-check-outlined" | "shield-checkered-filled" | "shield-pause-outlined" | "sign_out" | "sign_out_fill" | "sign_out_fill-1" | "sign_out-1" | "silver-star-filled" | "sip_fill" | "skype-Filled" | "smile-outlined" | "smile-outlined1" | "sms_dashboard" | "sms-duotone" | "sms-receive" | "sms-send" | "snooze_header" | "social_media" | "social-network-messages-duotone" | "sound-outlined" | "speaker" | "sping-speed-outlined" | "star-filed" | "star-outlined" | "stop" | "stop_fill" | "stop-rexord-outlined" | "subtask" | "sunny" | "Survey" | "switch_person" | "Sync" | "System-items-duotone" | "system-logs-duotone" | "System-Messages-duotone" | "system-settings-duotone" | "table" | "table-line" | "tag" | "tag_fill" | "taget-blanl-outlined" | "Tags" | "Tags_fill" | "target-arrow-outlined" | "target-duotone" | "Target-group" | "task" | "task_assigned" | "task-board-duotone" | "task-list-duotone" | "task-list-outlined" | "Team_dashboard" | "team_fill" | "team_line" | "telefax" | "telefax-receive" | "telefax-send" | "telefax1" | "telegram" | "telegram-Filled" | "telephone-system-outlined" | "telephone-systems-management-duotone" | "template-messages-duotone" | "Text-list-check-outlined" | "Text-list-numbers-outlined" | "ticket" | "Ticket" | "ticket_fill" | "tickets-duotone" | "time" | "time_fill" | "time_line" | "timeline-event-minus-outlined" | "timer_fill" | "timer_line" | "timer-duotone" | "Timing" | "todo_line" | "toggle_fill" | "toggle_line" | "trash-x-outlined" | "tree_view_arrow_down" | "tree_view_arrow_left" | "tree_view_arrow_right" | "tree_view_arrow_up" | "trumpet-outlined" | "Unit-Measurement-Categories-duotone" | "update-information-duotone" | "update-place-holder-Filled" | "update-telephone-line-duotone" | "upload" | "upload_cloud_fill" | "upload_cloud_line" | "upset-outlined" | "User" | "user_add_fill" | "User_dashboard" | "user_fill" | "user_follow_fill" | "User_Group" | "user_received_fill" | "user_received_line" | "user_search" | "user_search_fill" | "user_shared_fill" | "user_shared_line" | "user_unfollow_fill" | "user_unfollow_line" | "user-analitics-outlined" | "user-avatar-outlined" | "user-award-add-outlined" | "user-managment-outlined" | "user-star-outlined" | "user-view-outlined" | "users-group-outlined" | "users-outlined" | "users-plus-outlined" | "video" | "video_fill" | "video-incoming-filled" | "video-off2-outlined" | "video-outconming-filled" | "video-outlined" | "Visibility_Off" | "volume-outlined" | "waiting-inventory" | "waiting-inventory-duotone" | "waiting-item" | "waiting-item-duotone" | "Warehouse-duotone" | "warehouse-transactions-duotone" | "Web_frame" | "Web_frame_fill" | "website" | "website_fill" | "whatsapp" | "whatsapp-Filled" | "Work-flow" | "working-hours-duotone" | "zoom_in" | "zoom_in_fill" | "zoom_out" | "zoom_out-fill";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "abrplus-ui-kit",
3
- "version": "1.0.7",
3
+ "version": "1.0.8",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs.js",
@@ -55,14 +55,14 @@
55
55
  "preview": "vite preview",
56
56
  "compile": "tsc --excludeFiles vite.config.ts",
57
57
  "storybook": "storybook dev -p 6006",
58
- "storybook:build": "storybook build",
58
+ "storybook:build": "pnpm gen:icon && storybook build",
59
59
  "test": "vitest",
60
60
  "test:watch": "vitest --watch",
61
61
  "test:ui": "vitest --ui",
62
62
  "test:coverage": "vitest run --coverage",
63
- "gen:icon": "cross-env SKIP_HUSKY_TASKS=true tsx scripts/icon.ts --commit",
63
+ "gen:icon": "cross-env SKIP_HUSKY_TASKS=true tsx scripts/icon.ts",
64
64
  "gen:tw": "tsx scripts/tailwind-config.ts",
65
- "build": "pnpm gen:icon && vite build",
65
+ "build": "pnpm gen:icon --commit && vite build",
66
66
  "release": "cross-env SKIP_HUSKY_TASKS=true semantic-release",
67
67
  "prepare": "husky"
68
68
  },