@solibo/solibo-ui 2.1.2 → 2.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/Degular.woff2 +0 -0
- package/dist/assets/Geist.woff2 +0 -0
- package/dist/assets/index.css +1 -1
- package/dist/assets/index10.css +1 -1
- package/dist/assets/index11.css +1 -1
- package/dist/assets/index12.css +1 -1
- package/dist/assets/index13.css +1 -1
- package/dist/assets/index14.css +1 -1
- package/dist/assets/index15.css +1 -1
- package/dist/assets/index16.css +1 -1
- package/dist/assets/index17.css +1 -1
- package/dist/assets/index18.css +1 -1
- package/dist/assets/index19.css +1 -1
- package/dist/assets/index2.css +1 -1
- package/dist/assets/index20.css +1 -0
- package/dist/assets/index21.css +1 -1
- package/dist/assets/index22.css +1 -1
- package/dist/assets/index23.css +1 -1
- package/dist/assets/index26.css +1 -1
- package/dist/assets/index27.css +1 -1
- package/dist/assets/index28.css +1 -1
- package/dist/assets/index3.css +1 -1
- package/dist/assets/index31.css +1 -1
- package/dist/assets/index32.css +1 -1
- package/dist/assets/index33.css +1 -1
- package/dist/assets/index34.css +1 -1
- package/dist/assets/index38.css +1 -1
- package/dist/assets/index39.css +1 -1
- package/dist/assets/index41.css +1 -1
- package/dist/assets/index43.css +1 -1
- package/dist/assets/index46.css +1 -1
- package/dist/assets/index48.css +1 -1
- package/dist/assets/index49.css +1 -1
- package/dist/assets/index50.css +1 -1
- package/dist/assets/index51.css +1 -1
- package/dist/assets/index52.css +1 -1
- package/dist/assets/index53.css +1 -1
- package/dist/assets/index54.css +1 -1
- package/dist/assets/index55.css +1 -1
- package/dist/assets/index56.css +1 -0
- package/dist/assets/index6.css +1 -1
- package/dist/assets/index8.css +1 -1
- package/dist/assets/index9.css +1 -1
- package/dist/assets/menu-popover.css +1 -1
- package/dist/components/app-link/index.cjs +1 -1
- package/dist/components/app-link/index.js +1 -1
- package/dist/components/app-shell/index.cjs +1 -1
- package/dist/components/app-shell/index.js +3 -3
- package/dist/components/aside/index.cjs +1 -1
- package/dist/components/aside/index.js +5 -5
- package/dist/components/avatar/index.cjs +1 -1
- package/dist/components/avatar/index.js +30 -30
- package/dist/components/badge/index.cjs +1 -1
- package/dist/components/badge/index.js +41 -39
- package/dist/components/banner/index.cjs +1 -1
- package/dist/components/banner/index.js +4 -4
- package/dist/components/branding/index.cjs +1 -1
- package/dist/components/branding/index.js +2 -2
- package/dist/components/button/index.cjs +1 -1
- package/dist/components/button/index.js +29 -29
- package/dist/components/card/index.cjs +1 -1
- package/dist/components/card/index.js +57 -49
- package/dist/components/checkbox/index.cjs +1 -1
- package/dist/components/checkbox/index.js +5 -5
- package/dist/components/chip/index.cjs +1 -1
- package/dist/components/chip/index.js +25 -25
- package/dist/components/collapsible/index.cjs +1 -1
- package/dist/components/collapsible/index.js +34 -18
- package/dist/components/controls/index.cjs +2 -2
- package/dist/components/controls/index.js +11 -11
- package/dist/components/croppable/index.cjs +1 -1
- package/dist/components/croppable/index.js +269 -233
- package/dist/components/dialog/index.cjs +1 -1
- package/dist/components/dialog/index.js +38 -38
- package/dist/components/divider/index.cjs +1 -1
- package/dist/components/divider/index.js +3 -3
- package/dist/components/dropdown/index.cjs +1 -1
- package/dist/components/dropdown/index.js +90 -90
- package/dist/components/dropzone/index.cjs +1 -1
- package/dist/components/dropzone/index.js +11 -11
- package/dist/components/editor/index.cjs +1 -55
- package/dist/components/editor/index.js +403 -16299
- package/dist/components/fieldset/index.cjs +1 -1
- package/dist/components/fieldset/index.js +3 -3
- package/dist/components/figure/index.cjs +1 -1
- package/dist/components/figure/index.js +14 -12
- package/dist/components/file/index.cjs +1 -1
- package/dist/components/file/index.js +1 -1
- package/dist/components/footer/index.cjs +1 -1
- package/dist/components/footer/index.js +12 -8
- package/dist/components/form/index.cjs +1 -1
- package/dist/components/form/index.js +9 -9
- package/dist/components/graph/index.cjs +1 -1
- package/dist/components/graph/index.js +12 -12
- package/dist/components/group/index.cjs +1 -1
- package/dist/components/group/index.js +38 -11
- package/dist/components/header/index.cjs +1 -1
- package/dist/components/header/index.js +49 -32
- package/dist/components/icon/index.cjs +1 -1
- package/dist/components/icon/index.js +7 -7
- package/dist/components/iframe/index.cjs +1 -1
- package/dist/components/iframe/index.js +71 -66
- package/dist/components/image/index.cjs +1 -1
- package/dist/components/image/index.js +1 -1
- package/dist/components/input/index.cjs +1 -1
- package/dist/components/input/index.js +3 -3
- package/dist/components/link/index.cjs +1 -1
- package/dist/components/link/index.js +27 -14
- package/dist/components/list/index.cjs +1 -1
- package/dist/components/list/index.js +62 -58
- package/dist/components/loading/index.cjs +1 -1
- package/dist/components/loading/index.js +5 -5
- package/dist/components/menu/index.cjs +1 -1
- package/dist/components/menu/index.js +1 -1
- package/dist/components/message/index.cjs +1 -1
- package/dist/components/message/index.js +2 -2
- package/dist/components/messages/index.cjs +1 -1
- package/dist/components/messages/index.js +6 -6
- package/dist/components/nav/index.cjs +1 -1
- package/dist/components/nav/index.js +31 -29
- package/dist/components/object/index.cjs +1 -1
- package/dist/components/object/index.js +1 -1
- package/dist/components/page-layout/index.cjs +1 -1
- package/dist/components/page-layout/index.js +33 -20
- package/dist/components/panel/index.cjs +2 -0
- package/dist/components/panel/index.js +25 -0
- package/dist/components/popover/index.cjs +1 -1
- package/dist/components/popover/index.js +35 -35
- package/dist/components/portal/index.cjs +1 -1
- package/dist/components/portal/index.js +22 -22
- package/dist/components/search/index.cjs +1 -1
- package/dist/components/search/index.js +50 -50
- package/dist/components/select/index.cjs +1 -1
- package/dist/components/select/index.js +3 -3
- package/dist/components/sortable/index.cjs +1 -1
- package/dist/components/sortable/index.js +49 -49
- package/dist/components/textarea/index.cjs +1 -1
- package/dist/components/textarea/index.js +29 -27
- package/dist/components/toast/index.cjs +1 -1
- package/dist/components/toast/index.js +1 -1
- package/dist/components/toggle/index.cjs +1 -1
- package/dist/components/toggle/index.js +10 -10
- package/dist/components/toolbar/index.cjs +1 -1
- package/dist/components/toolbar/index.js +3 -3
- package/dist/components/tooltip/index.cjs +1 -1
- package/dist/components/tooltip/index.js +2 -2
- package/dist/components/widget/index.cjs +1 -1
- package/dist/components/widget/index.js +22 -13
- package/dist/icons-BIdcCH-v.cjs +2 -0
- package/dist/{icons-CTtWkF6z.js → icons-DVeBguFb.js} +6 -3
- package/dist/index-7blZaPiA.cjs +2 -0
- package/dist/{index-CMPTHneU.js → index-Dd20d_9U.js} +9 -9
- package/dist/{index-BIpgkB-u.js → index-Dx-KtGBg.js} +12 -12
- package/dist/index-VLDsM9it.cjs +2 -0
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +391 -17
- package/dist/index.js +59 -56
- package/dist/menu-popover-Ceb_9V67.js +77 -0
- package/dist/menu-popover-bqblnK6P.cjs +2 -0
- package/dist/styles/fonts.css +11 -0
- package/dist/tokens.json +1 -1
- package/package.json +15 -8
- package/dist/classix-5H4IWnMA.cjs +0 -2
- package/dist/classix-5H4IWnMA.cjs.map +0 -1
- package/dist/classix-DG18itHa.js +0 -9
- package/dist/classix-DG18itHa.js.map +0 -1
- package/dist/components/app-link/index.cjs.map +0 -1
- package/dist/components/app-link/index.js.map +0 -1
- package/dist/components/app-shell/index.cjs.map +0 -1
- package/dist/components/app-shell/index.js.map +0 -1
- package/dist/components/aside/index.cjs.map +0 -1
- package/dist/components/aside/index.js.map +0 -1
- package/dist/components/avatar/index.cjs.map +0 -1
- package/dist/components/avatar/index.js.map +0 -1
- package/dist/components/badge/index.cjs.map +0 -1
- package/dist/components/badge/index.js.map +0 -1
- package/dist/components/banner/index.cjs.map +0 -1
- package/dist/components/banner/index.js.map +0 -1
- package/dist/components/branding/index.cjs.map +0 -1
- package/dist/components/branding/index.js.map +0 -1
- package/dist/components/button/index.cjs.map +0 -1
- package/dist/components/button/index.js.map +0 -1
- package/dist/components/card/index.cjs.map +0 -1
- package/dist/components/card/index.js.map +0 -1
- package/dist/components/checkbox/index.cjs.map +0 -1
- package/dist/components/checkbox/index.js.map +0 -1
- package/dist/components/chip/index.cjs.map +0 -1
- package/dist/components/chip/index.js.map +0 -1
- package/dist/components/clipboard/index.cjs.map +0 -1
- package/dist/components/clipboard/index.js.map +0 -1
- package/dist/components/collapsible/index.cjs.map +0 -1
- package/dist/components/collapsible/index.js.map +0 -1
- package/dist/components/controls/index.cjs.map +0 -1
- package/dist/components/controls/index.js.map +0 -1
- package/dist/components/croppable/index.cjs.map +0 -1
- package/dist/components/croppable/index.js.map +0 -1
- package/dist/components/dialog/index.cjs.map +0 -1
- package/dist/components/dialog/index.js.map +0 -1
- package/dist/components/divider/index.cjs.map +0 -1
- package/dist/components/divider/index.js.map +0 -1
- package/dist/components/dropdown/index.cjs.map +0 -1
- package/dist/components/dropdown/index.js.map +0 -1
- package/dist/components/dropzone/index.cjs.map +0 -1
- package/dist/components/dropzone/index.js.map +0 -1
- package/dist/components/editor/index.cjs.map +0 -1
- package/dist/components/editor/index.js.map +0 -1
- package/dist/components/empty-state/index.cjs.map +0 -1
- package/dist/components/empty-state/index.js.map +0 -1
- package/dist/components/fieldset/index.cjs.map +0 -1
- package/dist/components/fieldset/index.js.map +0 -1
- package/dist/components/figure/index.cjs.map +0 -1
- package/dist/components/figure/index.js.map +0 -1
- package/dist/components/file/index.cjs.map +0 -1
- package/dist/components/file/index.js.map +0 -1
- package/dist/components/footer/index.cjs.map +0 -1
- package/dist/components/footer/index.js.map +0 -1
- package/dist/components/form/index.cjs.map +0 -1
- package/dist/components/form/index.js.map +0 -1
- package/dist/components/graph/index.cjs.map +0 -1
- package/dist/components/graph/index.js.map +0 -1
- package/dist/components/group/index.cjs.map +0 -1
- package/dist/components/group/index.js.map +0 -1
- package/dist/components/header/index.cjs.map +0 -1
- package/dist/components/header/index.js.map +0 -1
- package/dist/components/icon/index.cjs.map +0 -1
- package/dist/components/icon/index.js.map +0 -1
- package/dist/components/iframe/index.cjs.map +0 -1
- package/dist/components/iframe/index.js.map +0 -1
- package/dist/components/image/index.cjs.map +0 -1
- package/dist/components/image/index.js.map +0 -1
- package/dist/components/input/index.cjs.map +0 -1
- package/dist/components/input/index.js.map +0 -1
- package/dist/components/link/index.cjs.map +0 -1
- package/dist/components/link/index.js.map +0 -1
- package/dist/components/list/index.cjs.map +0 -1
- package/dist/components/list/index.js.map +0 -1
- package/dist/components/loading/index.cjs.map +0 -1
- package/dist/components/loading/index.js.map +0 -1
- package/dist/components/menu/index.cjs.map +0 -1
- package/dist/components/menu/index.js.map +0 -1
- package/dist/components/message/index.cjs.map +0 -1
- package/dist/components/message/index.js.map +0 -1
- package/dist/components/messages/index.cjs.map +0 -1
- package/dist/components/messages/index.js.map +0 -1
- package/dist/components/nav/index.cjs.map +0 -1
- package/dist/components/nav/index.js.map +0 -1
- package/dist/components/object/index.cjs.map +0 -1
- package/dist/components/object/index.js.map +0 -1
- package/dist/components/page-layout/index.cjs.map +0 -1
- package/dist/components/page-layout/index.js.map +0 -1
- package/dist/components/popover/index.cjs.map +0 -1
- package/dist/components/popover/index.js.map +0 -1
- package/dist/components/portal/index.cjs.map +0 -1
- package/dist/components/portal/index.js.map +0 -1
- package/dist/components/search/index.cjs.map +0 -1
- package/dist/components/search/index.js.map +0 -1
- package/dist/components/select/index.cjs.map +0 -1
- package/dist/components/select/index.js.map +0 -1
- package/dist/components/sortable/index.cjs.map +0 -1
- package/dist/components/sortable/index.js.map +0 -1
- package/dist/components/table/index.cjs.map +0 -1
- package/dist/components/table/index.js.map +0 -1
- package/dist/components/textarea/index.cjs.map +0 -1
- package/dist/components/textarea/index.js.map +0 -1
- package/dist/components/toast/index.cjs.map +0 -1
- package/dist/components/toast/index.js.map +0 -1
- package/dist/components/toasts/index.cjs.map +0 -1
- package/dist/components/toasts/index.js.map +0 -1
- package/dist/components/toggle/index.cjs.map +0 -1
- package/dist/components/toggle/index.js.map +0 -1
- package/dist/components/toolbar/index.cjs.map +0 -1
- package/dist/components/toolbar/index.js.map +0 -1
- package/dist/components/tooltip/index.cjs.map +0 -1
- package/dist/components/tooltip/index.js.map +0 -1
- package/dist/components/widget/index.cjs.map +0 -1
- package/dist/components/widget/index.js.map +0 -1
- package/dist/icons-B3hIY9Bm.cjs +0 -2
- package/dist/icons-B3hIY9Bm.cjs.map +0 -1
- package/dist/icons-CTtWkF6z.js.map +0 -1
- package/dist/index-BIpgkB-u.js.map +0 -1
- package/dist/index-Bbauu1No.cjs +0 -2
- package/dist/index-Bbauu1No.cjs.map +0 -1
- package/dist/index-CMPTHneU.js.map +0 -1
- package/dist/index-DAjU2bTe.cjs +0 -2
- package/dist/index-DAjU2bTe.cjs.map +0 -1
- package/dist/index.cjs.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/menu-popover-BV7nUXlb.js +0 -77
- package/dist/menu-popover-BV7nUXlb.js.map +0 -1
- package/dist/menu-popover-fGpFDJTo.cjs +0 -2
- package/dist/menu-popover-fGpFDJTo.cjs.map +0 -1
- package/dist/use-touched-B999bBr8.js.map +0 -1
- package/dist/use-touched-Bq5Gjbpz.cjs.map +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
|
-
import "
|
|
3
|
-
import "../../icons-
|
|
4
|
-
import { S as e } from "../../index-
|
|
2
|
+
import "classix";
|
|
3
|
+
import "../../icons-DVeBguFb.js";
|
|
4
|
+
import { S as e } from "../../index-Dx-KtGBg.js";
|
|
5
5
|
import "../../use-touched-B999bBr8.js";
|
|
6
6
|
export {
|
|
7
7
|
e as Select
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/index8.css');const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/index8.css');const q=require("react/jsx-runtime"),X=require("classix"),s=require("react"),Z=require("../list/index.cjs"),G="_sortable_1h6pg_1",J="_dragging_1h6pg_13",K="_columns_1h6pg_36",Q="_pseudo_1h6pg_45",b={sortable:G,dragging:J,columns:K,pseudo:Q,"target-above":"_target-above_1h6pg_60","target-below":"_target-below_1h6pg_61"},k=s.createContext(null);function tt(){return s.useContext(k)}const h=a=>Number.parseFloat(a)||0,et=a=>{const w=a.firstElementChild,i=a.getBoundingClientRect();if(w){const y=w.getBoundingClientRect();return{borderRadius:window.getComputedStyle(w).borderRadius,height:y.height,width:y.width,wrapperHeight:i.height}}const u=window.getComputedStyle(a),A=h(u.borderLeftWidth)+h(u.borderRightWidth)+h(u.paddingLeft)+h(u.paddingRight),T=h(u.borderBottomWidth)+h(u.borderTopWidth)+h(u.paddingBottom)+h(u.paddingTop);return{borderRadius:u.borderRadius,height:Math.max(0,i.height-T),width:Math.max(0,i.width-A),wrapperHeight:i.height}};function nt({children:a,className:w,columns:i=1,isRearranging:u=!1,onChangeOrder:A,...T}){const y=Number.isFinite(i)?Math.max(1,Math.floor(i)):1,R=s.useMemo(()=>s.Children.toArray(a),[a]),l=s.useRef(-1),L=s.useMemo(()=>typeof window<"u"&&(navigator.maxTouchPoints>0||window.matchMedia("(pointer: coarse)").matches),[]),p=s.useRef(!1),_=s.useRef(null),v=s.useRef(null),x=s.useRef(null),I=s.useRef(0),C=s.useRef(null),g=s.useRef(null),E=s.useRef(o=>o.preventDefault()).current,[M,O]=s.useState({borderRadius:"0px",height:0,width:0,wrapperHeight:0}),[m,S]=s.useState(null),W={...T.style,"--sortable-placeholder-height":`${M.height}px`,"--sortable-placeholder-radius":M.borderRadius,"--sortable-placeholder-width":`${M.width}px`},H=(o,t)=>{if(t<0||t>=R.length||o===t)return;const c=R.slice(),[e]=c.splice(o,1);c.splice(t,0,e),A(c.map((n,r)=>({id:String(s.isValidElement(n)?n.props["data-id"]??`idx-${r}`:`idx-${r}`),weight:c.length-1-r})))},D=()=>{v.current!==null&&(clearTimeout(v.current),v.current=null)},B=()=>{g.current!==null&&(cancelAnimationFrame(g.current),g.current=null)},$=o=>{let t=(o==null?void 0:o.parentElement)??null;for(;t;){const{overflowY:c}=window.getComputedStyle(t);if(/(auto|scroll|overlay)/.test(c)&&t.scrollHeight>t.clientHeight)return t;t=t.parentElement}return document.scrollingElement instanceof HTMLElement?document.scrollingElement:null},P=(o=!1)=>{D(),B(),window.removeEventListener("touchmove",E),C.current=null,p.current=!1,_.current=null,x.current=null,I.current=o?Date.now()+500:0,l.current=-1,S(null)},N=(o,t)=>{l.current=o,O(et(t)),S(o)},U=o=>o instanceof Element&&!!o.closest('button, a, input, textarea, select, option, [role="button"], [contenteditable="true"]'),Y=(o,t,c)=>{const e=l.current;if(!Number.isInteger(t)||e<0||t===e)return null;const n=o.getBoundingClientRect(),r=t===e+1?M.wrapperHeight:n.height,d=c>n.top+r/2?t+1:t;return d>e?d-1:d},j=(o,t)=>{var n;const c=(n=document.elementFromPoint(o,t))==null?void 0:n.closest("[data-sortable-index]");if(!c)return;const e=Y(c,Number(c.dataset.sortableIndex),t);e!==null&&(_.current=e,S(e))},V=o=>{const t=$(o);if(!t)return;const c=72,e=18,n=()=>{if(!p.current){g.current=null;return}const r=C.current;if(!r){g.current=requestAnimationFrame(n);return}const f=t===document.scrollingElement?{top:0,bottom:window.innerHeight}:t.getBoundingClientRect();let d=0;if(r.y<f.top+c){const F=Math.max(0,r.y-f.top);d=-e*(1-F/c)}else if(r.y>f.bottom-c){const F=Math.max(0,f.bottom-r.y);d=e*(1-F/c)}d!==0&&(t.scrollBy({top:d,behavior:"auto"}),j(r.x,r.y)),g.current=requestAnimationFrame(n)};B(),g.current=requestAnimationFrame(n)},z=()=>{l.current=-1,S(null)};return s.useEffect(()=>()=>{D(),B(),window.removeEventListener("touchmove",E)},[E]),q.jsx(Z.List,{className:X(w,b.sortable,y>1&&b.columns),columns:i,ordered:!0,style:W,...T,"data-component":"sortable",children:R.map((o,t)=>{const c=s.isValidElement(o)?o.key:null;return q.jsx("li",{"data-sortable-index":t,onClickCapture:e=>{I.current<=Date.now()||(e.preventDefault(),e.stopPropagation(),I.current=0)},className:X(m!==null&&m>t-10&&m<t+10&&b.pseudo,m===t&&l.current<t&&b["target-below"],m===t&&l.current>t&&b["target-above"],l.current===t&&b.dragging),onContextMenu:e=>{(p.current||v.current!==null)&&e.preventDefault()},onTouchStart:e=>{if(u||U(e.target))return;I.current=0;const n=e.touches[0];if(!n)return;const r=e.currentTarget;x.current={x:n.clientX,y:n.clientY},D(),v.current=setTimeout(()=>{N(t,r),p.current=!0,_.current=t,C.current={x:n.clientX,y:n.clientY},window.addEventListener("touchmove",E,{passive:!1}),V(r)},350)},onTouchMove:e=>{const n=e.touches[0];if(n){if(C.current={x:n.clientX,y:n.clientY},!p.current){const r=x.current;if(!r)return;Math.hypot(n.clientX-r.x,n.clientY-r.y)>8&&(D(),x.current=null);return}j(n.clientX,n.clientY)}},onTouchEnd:e=>{if(D(),!p.current){x.current=null;return}e.preventDefault();const n=l.current,r=_.current;n>=0&&r!==null&&n!==r&&H(n,r),P(!0)},onTouchCancel:()=>P(),draggable:!u&&!L,onDragEnd:()=>z(),onDragOver:e=>{e.preventDefault(),e.dataTransfer.dropEffect="move";const n=Y(e.currentTarget,t,e.clientY);n!==null&&S(n)},onDragStart:e=>{if(L){e.preventDefault();return}N(t,e.currentTarget),e.dataTransfer.setData("text/plain",""),e.dataTransfer.effectAllowed="move"},onDrop:e=>{e.preventDefault();const n=l.current,r=m;n<0||r===null||n===r||(H(n,r),z())},"data-component":"sortable",children:q.jsx(k.Provider,{value:{canMoveDown:t<R.length-1,canMoveUp:t>0,index:t,moveDown:()=>H(t,t+1),moveUp:()=>H(t,t-1)},children:o})},c??t)})})}exports.Sortable=nt;exports.useOptionalSortableItem=tt;
|
|
2
2
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import { jsx as L } from "react/jsx-runtime";
|
|
2
|
+
import $ from "classix";
|
|
3
|
+
import N, { createContext as K, useMemo as q, useRef as u, useState as U, useEffect as Q, useContext as tt } from "react";
|
|
4
4
|
import { List as et } from "../list/index.js";
|
|
5
|
-
import '../../assets/index8.css';const nt = "
|
|
5
|
+
import '../../assets/index8.css';const nt = "_sortable_1h6pg_1", rt = "_dragging_1h6pg_13", ot = "_columns_1h6pg_36", ct = "_pseudo_1h6pg_45", b = {
|
|
6
6
|
sortable: nt,
|
|
7
7
|
dragging: rt,
|
|
8
8
|
columns: ot,
|
|
9
9
|
pseudo: ct,
|
|
10
|
-
"target-above": "_target-
|
|
11
|
-
"target-below": "_target-
|
|
12
|
-
},
|
|
10
|
+
"target-above": "_target-above_1h6pg_60",
|
|
11
|
+
"target-below": "_target-below_1h6pg_61"
|
|
12
|
+
}, V = K(null);
|
|
13
13
|
function dt() {
|
|
14
|
-
return tt(
|
|
14
|
+
return tt(V);
|
|
15
15
|
}
|
|
16
16
|
const h = (s) => Number.parseFloat(s) || 0, lt = (s) => {
|
|
17
|
-
const
|
|
18
|
-
if (
|
|
19
|
-
const y =
|
|
17
|
+
const w = s.firstElementChild, i = s.getBoundingClientRect();
|
|
18
|
+
if (w) {
|
|
19
|
+
const y = w.getBoundingClientRect();
|
|
20
20
|
return {
|
|
21
|
-
borderRadius: window.getComputedStyle(
|
|
21
|
+
borderRadius: window.getComputedStyle(w).borderRadius,
|
|
22
22
|
height: y.height,
|
|
23
23
|
width: y.width,
|
|
24
24
|
wrapperHeight: i.height
|
|
@@ -34,18 +34,18 @@ const h = (s) => Number.parseFloat(s) || 0, lt = (s) => {
|
|
|
34
34
|
};
|
|
35
35
|
function ht({
|
|
36
36
|
children: s,
|
|
37
|
-
className:
|
|
37
|
+
className: w,
|
|
38
38
|
columns: i = 1,
|
|
39
39
|
isRearranging: l = !1,
|
|
40
40
|
onChangeOrder: A,
|
|
41
41
|
...S
|
|
42
42
|
}) {
|
|
43
|
-
const y = Number.isFinite(i) ? Math.max(1, Math.floor(i)) : 1, C =
|
|
43
|
+
const y = Number.isFinite(i) ? Math.max(1, Math.floor(i)) : 1, C = q(() => N.Children.toArray(s), [s]), a = u(-1), P = q(() => typeof window < "u" && (navigator.maxTouchPoints > 0 || window.matchMedia("(pointer: coarse)").matches), []), g = u(!1), I = u(null), v = u(null), x = u(null), _ = u(0), E = u(null), p = u(null), M = u((o) => o.preventDefault()).current, [R, O] = U({
|
|
44
44
|
borderRadius: "0px",
|
|
45
45
|
height: 0,
|
|
46
46
|
width: 0,
|
|
47
47
|
wrapperHeight: 0
|
|
48
|
-
}), [
|
|
48
|
+
}), [m, D] = U(null), j = {
|
|
49
49
|
...S.style,
|
|
50
50
|
"--sortable-placeholder-height": `${R.height}px`,
|
|
51
51
|
"--sortable-placeholder-radius": R.borderRadius,
|
|
@@ -54,13 +54,13 @@ function ht({
|
|
|
54
54
|
if (t < 0 || t >= C.length || o === t) return;
|
|
55
55
|
const c = C.slice(), [e] = c.splice(o, 1);
|
|
56
56
|
c.splice(t, 0, e), A(c.map((n, r) => ({
|
|
57
|
-
id: String(
|
|
57
|
+
id: String(N.isValidElement(n) ? n.props["data-id"] ?? `idx-${r}` : `idx-${r}`),
|
|
58
58
|
weight: c.length - 1 - r
|
|
59
59
|
})));
|
|
60
60
|
}, T = () => {
|
|
61
|
-
|
|
61
|
+
v.current !== null && (clearTimeout(v.current), v.current = null);
|
|
62
62
|
}, B = () => {
|
|
63
|
-
|
|
63
|
+
p.current !== null && (cancelAnimationFrame(p.current), p.current = null);
|
|
64
64
|
}, Z = (o) => {
|
|
65
65
|
let t = (o == null ? void 0 : o.parentElement) ?? null;
|
|
66
66
|
for (; t; ) {
|
|
@@ -71,32 +71,32 @@ function ht({
|
|
|
71
71
|
t = t.parentElement;
|
|
72
72
|
}
|
|
73
73
|
return document.scrollingElement instanceof HTMLElement ? document.scrollingElement : null;
|
|
74
|
-
},
|
|
75
|
-
T(), B(), window.removeEventListener("touchmove", M), E.current = null,
|
|
76
|
-
},
|
|
77
|
-
a.current = o,
|
|
78
|
-
}, G = (o) => o instanceof Element && !!o.closest('button, a, input, textarea, select, option, [role="button"], [contenteditable="true"]'),
|
|
74
|
+
}, Y = (o = !1) => {
|
|
75
|
+
T(), B(), window.removeEventListener("touchmove", M), E.current = null, g.current = !1, I.current = null, x.current = null, _.current = o ? Date.now() + 500 : 0, a.current = -1, D(null);
|
|
76
|
+
}, z = (o, t) => {
|
|
77
|
+
a.current = o, O(lt(t)), D(o);
|
|
78
|
+
}, G = (o) => o instanceof Element && !!o.closest('button, a, input, textarea, select, option, [role="button"], [contenteditable="true"]'), X = (o, t, c) => {
|
|
79
79
|
const e = a.current;
|
|
80
80
|
if (!Number.isInteger(t) || e < 0 || t === e) return null;
|
|
81
81
|
const n = o.getBoundingClientRect(), r = t === e + 1 ? R.wrapperHeight : n.height, d = c > n.top + r / 2 ? t + 1 : t;
|
|
82
82
|
return d > e ? d - 1 : d;
|
|
83
|
-
},
|
|
83
|
+
}, k = (o, t) => {
|
|
84
84
|
var n;
|
|
85
85
|
const c = (n = document.elementFromPoint(o, t)) == null ? void 0 : n.closest("[data-sortable-index]");
|
|
86
86
|
if (!c) return;
|
|
87
|
-
const e =
|
|
87
|
+
const e = X(c, Number(c.dataset.sortableIndex), t);
|
|
88
88
|
e !== null && (I.current = e, D(e));
|
|
89
89
|
}, J = (o) => {
|
|
90
90
|
const t = Z(o);
|
|
91
91
|
if (!t) return;
|
|
92
92
|
const c = 72, e = 18, n = () => {
|
|
93
|
-
if (!
|
|
94
|
-
|
|
93
|
+
if (!g.current) {
|
|
94
|
+
p.current = null;
|
|
95
95
|
return;
|
|
96
96
|
}
|
|
97
97
|
const r = E.current;
|
|
98
98
|
if (!r) {
|
|
99
|
-
|
|
99
|
+
p.current = requestAnimationFrame(n);
|
|
100
100
|
return;
|
|
101
101
|
}
|
|
102
102
|
const f = t === document.scrollingElement ? {
|
|
@@ -114,20 +114,20 @@ function ht({
|
|
|
114
114
|
d !== 0 && (t.scrollBy({
|
|
115
115
|
top: d,
|
|
116
116
|
behavior: "auto"
|
|
117
|
-
}),
|
|
117
|
+
}), k(r.x, r.y)), p.current = requestAnimationFrame(n);
|
|
118
118
|
};
|
|
119
|
-
B(),
|
|
120
|
-
},
|
|
119
|
+
B(), p.current = requestAnimationFrame(n);
|
|
120
|
+
}, W = () => {
|
|
121
121
|
a.current = -1, D(null);
|
|
122
122
|
};
|
|
123
123
|
return Q(() => () => {
|
|
124
124
|
T(), B(), window.removeEventListener("touchmove", M);
|
|
125
|
-
}, [M]), /* @__PURE__ */
|
|
126
|
-
const c =
|
|
127
|
-
return /* @__PURE__ */
|
|
125
|
+
}, [M]), /* @__PURE__ */ L(et, { className: $(w, b.sortable, y > 1 && b.columns), columns: i, ordered: !0, style: j, ...S, "data-component": "sortable", children: C.map((o, t) => {
|
|
126
|
+
const c = N.isValidElement(o) ? o.key : null;
|
|
127
|
+
return /* @__PURE__ */ L("li", { "data-sortable-index": t, onClickCapture: (e) => {
|
|
128
128
|
_.current <= Date.now() || (e.preventDefault(), e.stopPropagation(), _.current = 0);
|
|
129
|
-
}, className:
|
|
130
|
-
(
|
|
129
|
+
}, className: $(m !== null && m > t - 10 && m < t + 10 && b.pseudo, m === t && a.current < t && b["target-below"], m === t && a.current > t && b["target-above"], a.current === t && b.dragging), onContextMenu: (e) => {
|
|
130
|
+
(g.current || v.current !== null) && e.preventDefault();
|
|
131
131
|
}, onTouchStart: (e) => {
|
|
132
132
|
if (l || G(e.target)) return;
|
|
133
133
|
_.current = 0;
|
|
@@ -137,8 +137,8 @@ function ht({
|
|
|
137
137
|
x.current = {
|
|
138
138
|
x: n.clientX,
|
|
139
139
|
y: n.clientY
|
|
140
|
-
}, T(),
|
|
141
|
-
|
|
140
|
+
}, T(), v.current = setTimeout(() => {
|
|
141
|
+
z(t, r), g.current = !0, I.current = t, E.current = {
|
|
142
142
|
x: n.clientX,
|
|
143
143
|
y: n.clientY
|
|
144
144
|
}, window.addEventListener("touchmove", M, {
|
|
@@ -151,37 +151,37 @@ function ht({
|
|
|
151
151
|
if (E.current = {
|
|
152
152
|
x: n.clientX,
|
|
153
153
|
y: n.clientY
|
|
154
|
-
}, !
|
|
154
|
+
}, !g.current) {
|
|
155
155
|
const r = x.current;
|
|
156
156
|
if (!r) return;
|
|
157
157
|
Math.hypot(n.clientX - r.x, n.clientY - r.y) > 8 && (T(), x.current = null);
|
|
158
158
|
return;
|
|
159
159
|
}
|
|
160
|
-
|
|
160
|
+
k(n.clientX, n.clientY);
|
|
161
161
|
}
|
|
162
162
|
}, onTouchEnd: (e) => {
|
|
163
|
-
if (T(), !
|
|
163
|
+
if (T(), !g.current) {
|
|
164
164
|
x.current = null;
|
|
165
165
|
return;
|
|
166
166
|
}
|
|
167
167
|
e.preventDefault();
|
|
168
168
|
const n = a.current, r = I.current;
|
|
169
|
-
n >= 0 && r !== null && n !== r && H(n, r),
|
|
170
|
-
}, onTouchCancel: () =>
|
|
169
|
+
n >= 0 && r !== null && n !== r && H(n, r), Y(!0);
|
|
170
|
+
}, onTouchCancel: () => Y(), draggable: !l && !P, onDragEnd: () => W(), onDragOver: (e) => {
|
|
171
171
|
e.preventDefault(), e.dataTransfer.dropEffect = "move";
|
|
172
|
-
const n =
|
|
172
|
+
const n = X(e.currentTarget, t, e.clientY);
|
|
173
173
|
n !== null && D(n);
|
|
174
174
|
}, onDragStart: (e) => {
|
|
175
|
-
if (
|
|
175
|
+
if (P) {
|
|
176
176
|
e.preventDefault();
|
|
177
177
|
return;
|
|
178
178
|
}
|
|
179
|
-
|
|
179
|
+
z(t, e.currentTarget), e.dataTransfer.setData("text/plain", ""), e.dataTransfer.effectAllowed = "move";
|
|
180
180
|
}, onDrop: (e) => {
|
|
181
181
|
e.preventDefault();
|
|
182
|
-
const n = a.current, r =
|
|
183
|
-
n < 0 || r === null || n === r || (H(n, r),
|
|
184
|
-
}, "data-component": "sortable", children: /* @__PURE__ */
|
|
182
|
+
const n = a.current, r = m;
|
|
183
|
+
n < 0 || r === null || n === r || (H(n, r), W());
|
|
184
|
+
}, "data-component": "sortable", children: /* @__PURE__ */ L(V.Provider, { value: {
|
|
185
185
|
canMoveDown: t < C.length - 1,
|
|
186
186
|
canMoveUp: t > 0,
|
|
187
187
|
index: t,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/index6.css');const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/index6.css');const t=require("react/jsx-runtime"),x=require("classix"),s=require("../../use-touched-Bq5Gjbpz.cjs"),_="_label_mghuw_3",p="_caption_mghuw_7",g="_control_mghuw_12",w="_textarea_mghuw_22",b="_touched_mghuw_46",e={label:_,caption:p,control:g,textarea:w,touched:b},j=({className:n,label:o,maxRows:r=12,minRows:l=3,onBlur:u,required:a,style:d,value:c,...i})=>{const{touched:h,onBlur:m}=s.useTouched(c==="");return t.jsxs("label",{className:e.label,"data-component":"textarea",children:[o&&t.jsx("span",{className:e.caption,"data-required":a||void 0,children:o}),t.jsx("span",{className:e.control,children:t.jsx("textarea",{...i,className:x(e.textarea,n,h&&e.touched),onBlur:s.composeEventHandlers(m,u),required:a,style:{...d,"--min-rows":l,"--max-rows":r},value:c})})]})};exports.Textarea=j;
|
|
2
2
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1,35 +1,37 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import
|
|
3
|
-
import { u as
|
|
4
|
-
import '../../assets/index6.css';const b = "
|
|
5
|
-
label:
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
1
|
+
import { jsxs as d, jsx as o } from "react/jsx-runtime";
|
|
2
|
+
import i from "classix";
|
|
3
|
+
import { u as p, c as x } from "../../use-touched-B999bBr8.js";
|
|
4
|
+
import '../../assets/index6.css';const w = "_label_mghuw_3", g = "_caption_mghuw_7", b = "_control_mghuw_12", N = "_textarea_mghuw_22", f = "_touched_mghuw_46", t = {
|
|
5
|
+
label: w,
|
|
6
|
+
caption: g,
|
|
7
|
+
control: b,
|
|
8
|
+
textarea: N,
|
|
9
|
+
touched: f
|
|
10
|
+
}, T = ({
|
|
9
11
|
className: s,
|
|
10
|
-
label:
|
|
11
|
-
maxRows:
|
|
12
|
-
minRows:
|
|
13
|
-
onBlur:
|
|
14
|
-
required:
|
|
15
|
-
style:
|
|
16
|
-
value:
|
|
17
|
-
...
|
|
12
|
+
label: a,
|
|
13
|
+
maxRows: n = 12,
|
|
14
|
+
minRows: r = 3,
|
|
15
|
+
onBlur: l,
|
|
16
|
+
required: e,
|
|
17
|
+
style: m,
|
|
18
|
+
value: c,
|
|
19
|
+
...u
|
|
18
20
|
}) => {
|
|
19
21
|
const {
|
|
20
|
-
touched:
|
|
21
|
-
onBlur:
|
|
22
|
-
} =
|
|
23
|
-
return /* @__PURE__ */
|
|
24
|
-
|
|
25
|
-
/* @__PURE__ */
|
|
26
|
-
...
|
|
27
|
-
"--min-rows":
|
|
28
|
-
"--max-rows":
|
|
29
|
-
}, value:
|
|
22
|
+
touched: _,
|
|
23
|
+
onBlur: h
|
|
24
|
+
} = p(c === "");
|
|
25
|
+
return /* @__PURE__ */ d("label", { className: t.label, "data-component": "textarea", children: [
|
|
26
|
+
a && /* @__PURE__ */ o("span", { className: t.caption, "data-required": e || void 0, children: a }),
|
|
27
|
+
/* @__PURE__ */ o("span", { className: t.control, children: /* @__PURE__ */ o("textarea", { ...u, className: i(t.textarea, s, _ && t.touched), onBlur: x(h, l), required: e, style: {
|
|
28
|
+
...m,
|
|
29
|
+
"--min-rows": r,
|
|
30
|
+
"--max-rows": n
|
|
31
|
+
}, value: c }) })
|
|
30
32
|
] });
|
|
31
33
|
};
|
|
32
34
|
export {
|
|
33
|
-
|
|
35
|
+
T as Textarea
|
|
34
36
|
};
|
|
35
37
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/index5.css');const n=require("react/jsx-runtime"),l=require("
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/index5.css');const n=require("react/jsx-runtime"),l=require("classix"),o=require("react"),q=require("../icon/index.cjs"),d="_toast_12yql_1",f="_active_12yql_21",m="_error_12yql_27",y="_success_12yql_36",c={toast:d,active:f,error:m,success:y},v=({label:i,type:e="success",onClick:u,onExitComplete:s,open:t=!0})=>{const[_,a]=o.useState(!1);return o.useEffect(()=>{if(!t)return a(!1);const r=requestAnimationFrame(()=>a(!0));return()=>cancelAnimationFrame(r)},[t]),n.jsxs("div",{"aria-live":e==="error"?"assertive":"polite",className:l(c.toast,c[e],_&&c.active),onClick:u,onTransitionEnd:r=>{t||r.propertyName!=="opacity"||r.currentTarget!==r.target||s==null||s()},"data-component":"toast",children:[n.jsx(q.Icon,{name:e==="error"?"Warning":"CheckCircle"}),i]})};exports.Toast=v;
|
|
2
2
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as u, jsx as m } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
2
|
+
import _ from "classix";
|
|
3
3
|
import { useState as f, useEffect as l } from "react";
|
|
4
4
|
import { Icon as q } from "../icon/index.js";
|
|
5
5
|
import '../../assets/index5.css';const v = "_toast_12yql_1", y = "_active_12yql_21", d = "_error_12yql_27", h = "_success_12yql_36", a = {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/index3.css');const t=require("react/jsx-runtime"),g=require("../loading/index.cjs"),i="
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/index3.css');const t=require("react/jsx-runtime"),g=require("../loading/index.cjs"),i="_toggle_1frmq_3",d="_thumb_1frmq_12",m="_track_1frmq_23",e={toggle:i,thumb:d,track:m},u=({checked:s,disabled:c,isLoading:o,label:n,onChange:a})=>{const l=s!==void 0&&a===void 0;return t.jsxs("label",{className:e.toggle,onClick:r=>r.stopPropagation(),"data-component":"toggle",children:[t.jsx("input",{checked:s,disabled:c||o,onChange:a,readOnly:l,type:"checkbox"}),t.jsx("span",{"aria-hidden":"true",className:e.track,children:o?t.jsx(g.Loading,{}):t.jsx("span",{className:e.thumb})}),n&&t.jsx("span",{className:"toggle",children:n})]})};exports.Toggle=u;
|
|
2
2
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import { jsxs as
|
|
1
|
+
import { jsxs as m, jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import { Loading as g } from "../loading/index.js";
|
|
3
|
-
import '../../assets/index3.css';const i = "
|
|
3
|
+
import '../../assets/index3.css';const i = "_toggle_1frmq_3", d = "_thumb_1frmq_12", p = "_track_1frmq_23", o = {
|
|
4
4
|
toggle: i,
|
|
5
|
-
thumb:
|
|
6
|
-
track:
|
|
7
|
-
},
|
|
5
|
+
thumb: d,
|
|
6
|
+
track: p
|
|
7
|
+
}, u = ({
|
|
8
8
|
checked: s,
|
|
9
9
|
disabled: c,
|
|
10
10
|
isLoading: a,
|
|
11
11
|
label: e,
|
|
12
|
-
onChange:
|
|
12
|
+
onChange: r
|
|
13
13
|
}) => {
|
|
14
|
-
const
|
|
15
|
-
return /* @__PURE__ */
|
|
16
|
-
/* @__PURE__ */ t("input", { checked: s, disabled: c || a, onChange:
|
|
14
|
+
const l = s !== void 0 && r === void 0;
|
|
15
|
+
return /* @__PURE__ */ m("label", { className: o.toggle, onClick: (n) => n.stopPropagation(), "data-component": "toggle", children: [
|
|
16
|
+
/* @__PURE__ */ t("input", { checked: s, disabled: c || a, onChange: r, readOnly: l, type: "checkbox" }),
|
|
17
17
|
/* @__PURE__ */ t("span", { "aria-hidden": "true", className: o.track, children: a ? /* @__PURE__ */ t(g, {}) : /* @__PURE__ */ t("span", { className: o.thumb }) }),
|
|
18
18
|
e && /* @__PURE__ */ t("span", { className: "toggle", children: e })
|
|
19
19
|
] });
|
|
20
20
|
};
|
|
21
21
|
export {
|
|
22
|
-
|
|
22
|
+
u as Toggle
|
|
23
23
|
};
|
|
24
24
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/index56.css');const a=require("react/jsx-runtime"),l=require("classix"),s="_toolbar_11xk1_1",n="_editor_11xk1_34",o={toolbar:s,default:"_default_11xk1_28",editor:n},c=({children:t,variant:e="default"})=>a.jsx("div",{className:l(o.toolbar,o[e]),onClick:r=>r.stopPropagation(),"data-component":"toolbar",children:t});exports.Toolbar=c;
|
|
2
2
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as l } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
3
|
-
import '../../assets/
|
|
2
|
+
import e from "classix";
|
|
3
|
+
import '../../assets/index56.css';const s = "_toolbar_11xk1_1", n = "_editor_11xk1_34", o = {
|
|
4
4
|
toolbar: s,
|
|
5
|
-
default: "
|
|
5
|
+
default: "_default_11xk1_28",
|
|
6
6
|
editor: n
|
|
7
7
|
}, d = ({
|
|
8
8
|
children: t,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/index16.css');const o=require("react/jsx-runtime"),c=require("classix"),a=require("../icon/index.cjs"),t={static:"_static_r8l1k_1"},r={default:t.default,static:t.static},l=({variant:s="default",children:i,iconName:e,...n})=>o.jsxs("div",{className:c(t.tooltip,r[s]),...n,"data-component":"tooltip",children:[e&&o.jsx(a.Icon,{gap:"right",name:e}),i]});exports.Tooltip=l;
|
|
2
2
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as r, jsx as c } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
2
|
+
import l from "classix";
|
|
3
3
|
import { Icon as e } from "../icon/index.js";
|
|
4
|
-
import '../../assets/
|
|
4
|
+
import '../../assets/index16.css';const t = {
|
|
5
5
|
static: "_static_r8l1k_1"
|
|
6
6
|
}, n = {
|
|
7
7
|
default: t.default,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/index2.css');const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/index2.css');const c=require("react/jsx-runtime"),i=require("classix"),l=require("../card/index.cjs"),a="_widget_4ck4n_1",d="_color1_4ck4n_26",_="_color2_4ck4n_30",u="_metric_4ck4n_55",g="_value_4ck4n_70",s={widget:a,color1:d,color2:_,metric:u,value:g},m=({children:o,className:t,color:n,metric:e,...r})=>c.jsx("div",{className:i(s.widget,t,n&&s[`color${n}`]),...r,"data-component":"widget",children:c.jsxs(l.Card,{children:[o,e&&c.jsxs("div",{className:s.metric,"aria-busy":e.busy,children:[c.jsx("span",{className:s.value,children:e.value}),e.children]})]})});exports.Widget=m;
|
|
2
2
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1,17 +1,26 @@
|
|
|
1
|
-
import { jsx as t } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
3
|
-
import { Card as
|
|
4
|
-
import '../../assets/index2.css';const
|
|
5
|
-
widget:
|
|
6
|
-
color1:
|
|
7
|
-
color2:
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
1
|
+
import { jsx as r, jsxs as t } from "react/jsx-runtime";
|
|
2
|
+
import i from "classix";
|
|
3
|
+
import { Card as a } from "../card/index.js";
|
|
4
|
+
import '../../assets/index2.css';const d = "_widget_4ck4n_1", _ = "_color1_4ck4n_26", m = "_color2_4ck4n_30", u = "_metric_4ck4n_55", v = "_value_4ck4n_70", o = {
|
|
5
|
+
widget: d,
|
|
6
|
+
color1: _,
|
|
7
|
+
color2: m,
|
|
8
|
+
metric: u,
|
|
9
|
+
value: v
|
|
10
|
+
}, k = ({
|
|
11
|
+
children: n,
|
|
12
|
+
className: s,
|
|
13
|
+
color: e,
|
|
14
|
+
metric: c,
|
|
12
15
|
...l
|
|
13
|
-
}) => /* @__PURE__ */
|
|
16
|
+
}) => /* @__PURE__ */ r("div", { className: i(o.widget, s, e && o[`color${e}`]), ...l, "data-component": "widget", children: /* @__PURE__ */ t(a, { children: [
|
|
17
|
+
n,
|
|
18
|
+
c && /* @__PURE__ */ t("div", { className: o.metric, "aria-busy": c.busy, children: [
|
|
19
|
+
/* @__PURE__ */ r("span", { className: o.value, children: c.value }),
|
|
20
|
+
c.children
|
|
21
|
+
] })
|
|
22
|
+
] }) });
|
|
14
23
|
export {
|
|
15
|
-
|
|
24
|
+
k as Widget
|
|
16
25
|
};
|
|
17
26
|
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";const h={ArrowBendUpLeft:{regular:'<path d="M232,200a8,8,0,0,1-16,0,88.1,88.1,0,0,0-88-88H51.31l34.35,34.34a8,8,0,0,1-11.32,11.32l-48-48a8,8,0,0,1,0-11.32l48-48A8,8,0,0,1,85.66,61.66L51.31,96H128A104.11,104.11,0,0,1,232,200Z"/>'},ArrowDown:{regular:'<path d="M205.66,149.66l-72,72a8,8,0,0,1-11.32,0l-72-72a8,8,0,0,1,11.32-11.32L120,196.69V40a8,8,0,0,1,16,0V196.69l58.34-58.35a8,8,0,0,1,11.32,11.32Z"/>'},ArrowRight:{regular:'<path d="M221.66,133.66l-72,72a8,8,0,0,1-11.32-11.32L196.69,136H40a8,8,0,0,1,0-16H196.69L138.34,61.66a8,8,0,0,1,11.32-11.32l72,72A8,8,0,0,1,221.66,133.66Z"/>'},ArrowsClockwise:{regular:'<path d="M224,48V96a8,8,0,0,1-8,8H168a8,8,0,0,1,0-16h28.69L182.06,73.37a79.56,79.56,0,0,0-56.13-23.43h-.45A79.52,79.52,0,0,0,69.59,72.71,8,8,0,0,1,58.41,61.27a96,96,0,0,1,135,.79L208,76.69V48a8,8,0,0,1,16,0ZM186.41,183.29a80,80,0,0,1-112.47-.66L59.31,168H88a8,8,0,0,0,0-16H40a8,8,0,0,0-8,8v48a8,8,0,0,0,16,0V179.31l14.63,14.63A95.43,95.43,0,0,0,130,222.06h.53a95.36,95.36,0,0,0,67.07-27.33,8,8,0,0,0-11.18-11.44Z"/>'},ArrowsDownUp:{regular:'<path d="M117.66,170.34a8,8,0,0,1,0,11.32l-32,32a8,8,0,0,1-11.32,0l-32-32a8,8,0,0,1,11.32-11.32L72,188.69V48a8,8,0,0,1,16,0V188.69l18.34-18.35A8,8,0,0,1,117.66,170.34Zm96-96-32-32a8,8,0,0,0-11.32,0l-32,32a8,8,0,0,0,11.32,11.32L168,67.31V208a8,8,0,0,0,16,0V67.31l18.34,18.35a8,8,0,0,0,11.32-11.32Z"/>'},ArrowSquareOut:{regular:'<path d="M224,104a8,8,0,0,1-16,0V59.32l-66.33,66.34a8,8,0,0,1-11.32-11.32L196.68,48H152a8,8,0,0,1,0-16h64a8,8,0,0,1,8,8Zm-40,24a8,8,0,0,0-8,8v72H48V80h72a8,8,0,0,0,0-16H48A16,16,0,0,0,32,80V208a16,16,0,0,0,16,16H176a16,16,0,0,0,16-16V136A8,8,0,0,0,184,128Z"/>'},ArrowUp:{regular:'<path d="M205.66,117.66a8,8,0,0,1-11.32,0L136,59.31V216a8,8,0,0,1-16,0V59.31L61.66,117.66a8,8,0,0,1-11.32-11.32l72-72a8,8,0,0,1,11.32,0l72,72A8,8,0,0,1,205.66,117.66Z"/>'},Bell:{regular:'<path d="M221.8,175.94C216.25,166.38,208,139.33,208,104a80,80,0,1,0-160,0c0,35.34-8.26,62.38-13.81,71.94A16,16,0,0,0,48,200H88.81a40,40,0,0,0,78.38,0H208a16,16,0,0,0,13.8-24.06ZM128,216a24,24,0,0,1-22.62-16h45.24A24,24,0,0,1,128,216ZM48,184c7.7-13.24,16-43.92,16-80a64,64,0,1,1,128,0c0,36.05,8.28,66.73,16,80Z"/>',fill:'<path d="M221.8,175.94C216.25,166.38,208,139.33,208,104a80,80,0,1,0-160,0c0,35.34-8.26,62.38-13.81,71.94A16,16,0,0,0,48,200H88.81a40,40,0,0,0,78.38,0H208a16,16,0,0,0,13.8-24.06ZM128,216a24,24,0,0,1-22.62-16h45.24A24,24,0,0,1,128,216Z"/>'},BuildingApartment:{fill:'<path d="M240,208h-8V72a8,8,0,0,0-8-8H184V40a8,8,0,0,0-8-8H80a8,8,0,0,0-8,8V96H32a8,8,0,0,0-8,8V208H16a8,8,0,0,0,0,16H240a8,8,0,0,0,0-16ZM80,176H64a8,8,0,0,1,0-16H80a8,8,0,0,1,0,16Zm0-32H64a8,8,0,0,1,0-16H80a8,8,0,0,1,0,16Zm64,64H112V168h32Zm-8-64H120a8,8,0,0,1,0-16h16a8,8,0,0,1,0,16Zm0-32H120a8,8,0,0,1,0-16h16a8,8,0,0,1,0,16Zm0-32H120a8,8,0,0,1,0-16h16a8,8,0,0,1,0,16Zm56,96H176a8,8,0,0,1,0-16h16a8,8,0,0,1,0,16Zm0-32H176a8,8,0,0,1,0-16h16a8,8,0,0,1,0,16Zm0-32H176a8,8,0,0,1,0-16h16a8,8,0,0,1,0,16Z"/>',regular:'<path d="M240,208h-8V72a8,8,0,0,0-8-8H184V40a8,8,0,0,0-8-8H80a8,8,0,0,0-8,8V96H32a8,8,0,0,0-8,8V208H16a8,8,0,0,0,0,16H240a8,8,0,0,0,0-16ZM40,112H80a8,8,0,0,0,8-8V48h80V72a8,8,0,0,0,8,8h40V208H152V168a8,8,0,0,0-8-8H112a8,8,0,0,0-8,8v40H40Zm96,96H120V176h16ZM112,72a8,8,0,0,1,8-8h16a8,8,0,0,1,0,16H120A8,8,0,0,1,112,72Zm0,32a8,8,0,0,1,8-8h16a8,8,0,0,1,0,16H120A8,8,0,0,1,112,104Zm56,0a8,8,0,0,1,8-8h16a8,8,0,0,1,0,16H176A8,8,0,0,1,168,104ZM88,136a8,8,0,0,1-8,8H64a8,8,0,0,1,0-16H80A8,8,0,0,1,88,136Zm0,32a8,8,0,0,1-8,8H64a8,8,0,0,1,0-16H80A8,8,0,0,1,88,168Zm24-32a8,8,0,0,1,8-8h16a8,8,0,0,1,0,16H120A8,8,0,0,1,112,136Zm56,0a8,8,0,0,1,8-8h16a8,8,0,0,1,0,16H176A8,8,0,0,1,168,136Zm0,32a8,8,0,0,1,8-8h16a8,8,0,0,1,0,16H176A8,8,0,0,1,168,168Z"/>'},CaretDown:{regular:'<path d="M213.66,101.66l-80,80a8,8,0,0,1-11.32,0l-80-80A8,8,0,0,1,53.66,90.34L128,164.69l74.34-74.35a8,8,0,0,1,11.32,11.32Z"/>'},CaretLeft:{regular:'<path d="M165.66,202.34a8,8,0,0,1-11.32,11.32l-80-80a8,8,0,0,1,0-11.32l80-80a8,8,0,0,1,11.32,11.32L91.31,128Z"/>'},CaretRight:{regular:'<path d="M181.66,133.66l-80,80a8,8,0,0,1-11.32-11.32L164.69,128,90.34,53.66a8,8,0,0,1,11.32-11.32l80,80A8,8,0,0,1,181.66,133.66Z"/>'},CaretUp:{regular:'<path d="M213.66,165.66a8,8,0,0,1-11.32,0L128,91.31,53.66,165.66a8,8,0,0,1-11.32-11.32l80-80a8,8,0,0,1,11.32,0l80,80A8,8,0,0,1,213.66,165.66Z"/>'},CaretUpDown:{regular:'<path d="M181.66,170.34a8,8,0,0,1,0,11.32l-48,48a8,8,0,0,1-11.32,0l-48-48a8,8,0,0,1,11.32-11.32L128,212.69l42.34-42.35A8,8,0,0,1,181.66,170.34Zm-96-84.68L128,43.31l42.34,42.35a8,8,0,0,0,11.32-11.32l-48-48a8,8,0,0,0-11.32,0l-48,48A8,8,0,0,0,85.66,85.66Z"/>'},ChatsCircle:{fill:'<path d="M232.07,186.76a80,80,0,0,0-62.5-114.17A80,80,0,1,0,23.93,138.76l-7.27,24.71a16,16,0,0,0,19.87,19.87l24.71-7.27a80.39,80.39,0,0,0,25.18,7.35,80,80,0,0,0,108.34,40.65l24.71,7.27a16,16,0,0,0,19.87-19.86Zm-16.25,1.47L224,216l-27.76-8.17a8,8,0,0,0-6,.63,64.05,64.05,0,0,1-85.87-24.88A79.93,79.93,0,0,0,174.7,89.71a64,64,0,0,1,41.75,92.48A8,8,0,0,0,215.82,188.23Z"/>'},Check:{regular:'<path d="M229.66,77.66l-128,128a8,8,0,0,1-11.32,0l-56-56a8,8,0,0,1,11.32-11.32L96,188.69,218.34,66.34a8,8,0,0,1,11.32,11.32Z"/>'},CheckCircle:{fill:'<path d="M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm45.66,85.66-56,56a8,8,0,0,1-11.32,0l-24-24a8,8,0,0,1,11.32-11.32L112,148.69l50.34-50.35a8,8,0,0,1,11.32,11.32Z"/>'},ClipboardText:{fill:'<path d="M200,32H163.74a47.92,47.92,0,0,0-71.48,0H56A16,16,0,0,0,40,48V216a16,16,0,0,0,16,16H200a16,16,0,0,0,16-16V48A16,16,0,0,0,200,32Zm-72,0a32,32,0,0,1,32,32H96A32,32,0,0,1,128,32Zm32,128H96a8,8,0,0,1,0-16h64a8,8,0,0,1,0,16Zm0-32H96a8,8,0,0,1,0-16h64a8,8,0,0,1,0,16Z"/>',regular:'<path d="M168,152a8,8,0,0,1-8,8H96a8,8,0,0,1,0-16h64A8,8,0,0,1,168,152Zm-8-40H96a8,8,0,0,0,0,16h64a8,8,0,0,0,0-16Zm56-64V216a16,16,0,0,1-16,16H56a16,16,0,0,1-16-16V48A16,16,0,0,1,56,32H92.26a47.92,47.92,0,0,1,71.48,0H200A16,16,0,0,1,216,48ZM96,64h64a32,32,0,0,0-64,0ZM200,48H173.25A47.93,47.93,0,0,1,176,64v8a8,8,0,0,1-8,8H88a8,8,0,0,1-8-8V64a47.93,47.93,0,0,1,2.75-16H56V216H200Z"/>'},Clock:{fill:'<path d="M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm56,112H128a8,8,0,0,1-8-8V72a8,8,0,0,1,16,0v48h48a8,8,0,0,1,0,16Z"/>'},Confetti:{fill:'<path d="M111.49,52.63a15.8,15.8,0,0,0-26,5.77L33,202.78A15.83,15.83,0,0,0,47.76,224a16,16,0,0,0,5.46-1l144.37-52.5a15.8,15.8,0,0,0,5.78-26ZM65.14,161.13l19.2-52.79,63.32,63.32-52.8,19.2ZM160,72a37.8,37.8,0,0,1,3.84-15.58C169.14,45.83,179.14,40,192,40c6.7,0,11-2.29,13.65-7.21A22,22,0,0,0,208,23.94,8,8,0,0,1,224,24c0,12.86-8.52,32-32,32-6.7,0-11,2.29-13.65,7.21A22,22,0,0,0,176,72.06,8,8,0,0,1,160,72ZM136,40V16a8,8,0,0,1,16,0V40a8,8,0,0,1-16,0Zm101.66,82.34a8,8,0,1,1-11.32,11.31l-16-16a8,8,0,0,1,11.32-11.32Zm4.87-42.75-24,8a8,8,0,0,1-5.06-15.18l24-8a8,8,0,0,1,5.06,15.18Z"/>'},Copy:{fill:'<path d="M216,32H88a8,8,0,0,0-8,8V80H40a8,8,0,0,0-8,8V216a8,8,0,0,0,8,8H168a8,8,0,0,0,8-8V176h40a8,8,0,0,0,8-8V40A8,8,0,0,0,216,32Zm-8,128H176V88a8,8,0,0,0-8-8H96V48H208Z"/>',regular:'<path d="M216,32H88a8,8,0,0,0-8,8V80H40a8,8,0,0,0-8,8V216a8,8,0,0,0,8,8H168a8,8,0,0,0,8-8V176h40a8,8,0,0,0,8-8V40A8,8,0,0,0,216,32ZM160,208H48V96H160Zm48-48H176V88a8,8,0,0,0-8-8H96V48H208Z"/>'},DotsThreeVertical:{regular:'<path d="M140,128a12,12,0,1,1-12-12A12,12,0,0,1,140,128ZM128,72a12,12,0,1,0-12-12A12,12,0,0,0,128,72Zm0,112a12,12,0,1,0,12,12A12,12,0,0,0,128,184Z"/>'},DownloadSimple:{regular:'<path d="M224,144v64a8,8,0,0,1-8,8H40a8,8,0,0,1-8-8V144a8,8,0,0,1,16,0v56H208V144a8,8,0,0,1,16,0Zm-101.66,5.66a8,8,0,0,0,11.32,0l40-40a8,8,0,0,0-11.32-11.32L136,124.69V32a8,8,0,0,0-16,0v92.69L93.66,98.34a8,8,0,0,0-11.32,11.32Z"/>'},Envelope:{fill:'<path d="M224,48H32a8,8,0,0,0-8,8V192a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A8,8,0,0,0,224,48ZM98.71,128,40,181.81V74.19Zm11.84,10.85,12,11.05a8,8,0,0,0,10.82,0l12-11.05,58,53.15H52.57ZM157.29,128,216,74.18V181.82Z"/>'},FileDoc:{fill:'<path d="M44,120H212.07a4,4,0,0,0,4-4V88a8,8,0,0,0-2.34-5.66l-56-56A8,8,0,0,0,152.05,24H56A16,16,0,0,0,40,40v76A4,4,0,0,0,44,120Zm108-76,44,44h-44ZM52,144H36a8,8,0,0,0-8,8v56a8,8,0,0,0,8,8H51.33C71,216,87.55,200.52,88,180.87A36,36,0,0,0,52,144Zm-.49,56H44V160h8a20,20,0,0,1,20,20.77C71.59,191.59,62.35,200,51.52,200Zm170.67-4.28a8.26,8.26,0,0,1-.73,11.09,30,30,0,0,1-21.4,9.19c-17.65,0-32-16.15-32-36s14.36-36,32-36a30,30,0,0,1,21.4,9.19,8.26,8.26,0,0,1,.73,11.09,8,8,0,0,1-11.9.38A14.21,14.21,0,0,0,200.06,160c-8.82,0-16,9-16,20s7.18,20,16,20a14.25,14.25,0,0,0,10.23-4.66A8,8,0,0,1,222.19,195.72ZM128,144c-17.65,0-32,16.15-32,36s14.37,36,32,36,32-16.15,32-36S145.69,144,128,144Zm0,56c-8.83,0-16-9-16-20s7.18-20,16-20,16,9,16,20S136.86,200,128,200Z"/>'},FilePdf:{fill:'<path d="M44,120H212a4,4,0,0,0,4-4V88a8,8,0,0,0-2.34-5.66l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40v76A4,4,0,0,0,44,120ZM152,44l44,44H152Zm72,108.53a8.18,8.18,0,0,1-8.25,7.47H192v16h15.73a8.17,8.17,0,0,1,8.25,7.47,8,8,0,0,1-8,8.53H192v15.73a8.17,8.17,0,0,1-7.47,8.25,8,8,0,0,1-8.53-8V152a8,8,0,0,1,8-8h32A8,8,0,0,1,224,152.53ZM64,144H48a8,8,0,0,0-8,8v55.73A8.17,8.17,0,0,0,47.47,216,8,8,0,0,0,56,208v-8h7.4c15.24,0,28.14-11.92,28.59-27.15A28,28,0,0,0,64,144Zm-.35,40H56V160h8a12,12,0,0,1,12,13.16A12.25,12.25,0,0,1,63.65,184ZM128,144H112a8,8,0,0,0-8,8v56a8,8,0,0,0,8,8h15.32c19.66,0,36.21-15.48,36.67-35.13A36,36,0,0,0,128,144Zm-.49,56H120V160h8a20,20,0,0,1,20,20.77C147.58,191.59,138.34,200,127.51,200Z"/>'},FilePlus:{fill:'<path d="M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40V216a16,16,0,0,0,16,16H200a16,16,0,0,0,16-16V88A8,8,0,0,0,213.66,82.34ZM152,160H136v16a8,8,0,0,1-16,0V160H104a8,8,0,0,1,0-16h16V128a8,8,0,0,1,16,0v16h16a8,8,0,0,1,0,16Zm0-72V43.31L196.69,88Z"/>'},FilePpt:{fill:'<path d="M224,152.53a8.17,8.17,0,0,1-8.25,7.47H204v47.73a8.17,8.17,0,0,1-7.47,8.25,8,8,0,0,1-8.53-8V160H176.27a8.17,8.17,0,0,1-8.25-7.47,8,8,0,0,1,8-8.53h40A8,8,0,0,1,224,152.53ZM92,172.85C91.54,188.08,78.64,200,63.4,200H56v7.73A8.17,8.17,0,0,1,48.53,216,8,8,0,0,1,40,208V152a8,8,0,0,1,8-8H64A28,28,0,0,1,92,172.85Zm-16-2A12.25,12.25,0,0,0,63.65,160H56v24h8A12,12,0,0,0,76,170.84Zm84,2C159.54,188.08,146.64,200,131.4,200H124v7.73a8.17,8.17,0,0,1-7.47,8.25,8,8,0,0,1-8.53-8V152a8,8,0,0,1,8-8h16A28,28,0,0,1,160,172.85Zm-16-2A12.25,12.25,0,0,0,131.65,160H124v24h8A12,12,0,0,0,144,170.84ZM40,116V40A16,16,0,0,1,56,24h96a8,8,0,0,1,5.66,2.34l56,56A8,8,0,0,1,216,88v28a4,4,0,0,1-4,4H44A4,4,0,0,1,40,116ZM152,88h44L152,44Z"/>'},FileText:{fill:'<path d="M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40V216a16,16,0,0,0,16,16H200a16,16,0,0,0,16-16V88A8,8,0,0,0,213.66,82.34ZM160,176H96a8,8,0,0,1,0-16h64a8,8,0,0,1,0,16Zm0-32H96a8,8,0,0,1,0-16h64a8,8,0,0,1,0,16Zm-8-56V44l44,44Z"/>'},FileXls:{fill:'<path d="M44,120H212a4,4,0,0,0,4-4V88a8,8,0,0,0-2.34-5.66l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40v76A4,4,0,0,0,44,120ZM152,44l44,44H152Zm4,164.53a8.18,8.18,0,0,1-8.25,7.47H120a8,8,0,0,1-8-8V152.27a8.18,8.18,0,0,1,7.47-8.25,8,8,0,0,1,8.53,8v48h20A8,8,0,0,1,156,208.53ZM94.51,156.65,77.83,180l16.68,23.35a8,8,0,0,1-13,9.3L68,193.76,54.51,212.65a8,8,0,1,1-13-9.3L58.17,180,41.49,156.65a8,8,0,0,1,2.3-11.46,8.19,8.19,0,0,1,10.88,2.38L68,166.24l13.49-18.89a8,8,0,0,1,13,9.3Zm121.28,39.66a20.81,20.81,0,0,1-9.18,15.23C201.42,215,194.94,216,189.12,216a60.63,60.63,0,0,1-15.19-2,8,8,0,0,1,4.31-15.41c4.38,1.21,14.94,2.71,19.54-.35.89-.6,1.84-1.52,2.15-3.93.34-2.67-.72-4.1-12.78-7.59-9.35-2.7-25-7.23-23-23.12a20.58,20.58,0,0,1,8.95-14.94c11.84-8,30.72-3.31,32.83-2.76a8,8,0,0,1-4.07,15.48c-4.48-1.17-15.22-2.56-19.82.56a4.54,4.54,0,0,0-2,3.67c-.11.9-.13,1.08,1.12,1.9,2.31,1.49,6.45,2.68,10.45,3.84C201.48,174.17,218,179,215.79,196.31Z"/>'},Flag:{fill:'<path d="M232,56V176a8,8,0,0,1-2.76,6c-15.28,13.23-29.89,18-43.82,18-18.91,0-36.57-8.74-53-16.85C105.87,170,82.79,158.61,56,179.77V224a8,8,0,0,1-16,0V56a8,8,0,0,1,2.77-6h0c36-31.18,68.31-15.21,96.79-1.12C167,62.46,190.79,74.2,218.76,50A8,8,0,0,1,232,56Z"/>'},FloppyDisk:{regular:'<path d="M219.31,72,184,36.69A15.86,15.86,0,0,0,172.69,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V83.31A15.86,15.86,0,0,0,219.31,72ZM168,208H88V152h80Zm40,0H184V152a16,16,0,0,0-16-16H88a16,16,0,0,0-16,16v56H48V48H172.69L208,83.31ZM160,72a8,8,0,0,1-8,8H96a8,8,0,0,1,0-16h56A8,8,0,0,1,160,72Z"/>'},Folder:{fill:'<path d="M216,72H131.31L104,44.69A15.88,15.88,0,0,0,92.69,40H40A16,16,0,0,0,24,56V200.62A15.41,15.41,0,0,0,39.39,216h177.5A15.13,15.13,0,0,0,232,200.89V88A16,16,0,0,0,216,72ZM40,56H92.69l16,16H40Z"/>'},FolderOpen:{fill:'<path d="M245,110.64A16,16,0,0,0,232,104H216V88a16,16,0,0,0-16-16H130.67L102.94,51.2a16.14,16.14,0,0,0-9.6-3.2H40A16,16,0,0,0,24,64V208h0a8,8,0,0,0,8,8H211.1a8,8,0,0,0,7.59-5.47l28.49-85.47A16.05,16.05,0,0,0,245,110.64ZM93.34,64,123.2,86.4A8,8,0,0,0,128,88h72v16H69.77a16,16,0,0,0-15.18,10.94L40,158.7V64Z"/>'},Funnel:{fill:'<path d="M227.81,66.76l-.08.09L160,139.17v55.49A16,16,0,0,1,152.87,208l-32,21.34A16,16,0,0,1,96,216V139.17L28.27,66.85l-.08-.09A16,16,0,0,1,40,40H216a16,16,0,0,1,11.84,26.76Z"/>'},Gear:{fill:'<path d="M216,130.16q.06-2.16,0-4.32l14.92-18.64a8,8,0,0,0,1.48-7.06,107.6,107.6,0,0,0-10.88-26.25,8,8,0,0,0-6-3.93l-23.72-2.64q-1.48-1.56-3-3L186,40.54a8,8,0,0,0-3.94-6,107.29,107.29,0,0,0-26.25-10.86,8,8,0,0,0-7.06,1.48L130.16,40Q128,40,125.84,40L107.2,25.11a8,8,0,0,0-7.06-1.48A107.6,107.6,0,0,0,73.89,34.51a8,8,0,0,0-3.93,6L67.32,64.27q-1.56,1.49-3,3L40.54,70a8,8,0,0,0-6,3.94,107.71,107.71,0,0,0-10.87,26.25,8,8,0,0,0,1.49,7.06L40,125.84Q40,128,40,130.16L25.11,148.8a8,8,0,0,0-1.48,7.06,107.6,107.6,0,0,0,10.88,26.25,8,8,0,0,0,6,3.93l23.72,2.64q1.49,1.56,3,3L70,215.46a8,8,0,0,0,3.94,6,107.71,107.71,0,0,0,26.25,10.87,8,8,0,0,0,7.06-1.49L125.84,216q2.16.06,4.32,0l18.64,14.92a8,8,0,0,0,7.06,1.48,107.21,107.21,0,0,0,26.25-10.88,8,8,0,0,0,3.93-6l2.64-23.72q1.56-1.48,3-3L215.46,186a8,8,0,0,0,6-3.94,107.71,107.71,0,0,0,10.87-26.25,8,8,0,0,0-1.49-7.06ZM128,168a40,40,0,1,1,40-40A40,40,0,0,1,128,168Z"/>',regular:'<path d="M128,80a48,48,0,1,0,48,48A48.05,48.05,0,0,0,128,80Zm0,80a32,32,0,1,1,32-32A32,32,0,0,1,128,160Zm88-29.84q.06-2.16,0-4.32l14.92-18.64a8,8,0,0,0,1.48-7.06,107.21,107.21,0,0,0-10.88-26.25,8,8,0,0,0-6-3.93l-23.72-2.64q-1.48-1.56-3-3L186,40.54a8,8,0,0,0-3.94-6,107.71,107.71,0,0,0-26.25-10.87,8,8,0,0,0-7.06,1.49L130.16,40Q128,40,125.84,40L107.2,25.11a8,8,0,0,0-7.06-1.48A107.6,107.6,0,0,0,73.89,34.51a8,8,0,0,0-3.93,6L67.32,64.27q-1.56,1.49-3,3L40.54,70a8,8,0,0,0-6,3.94,107.71,107.71,0,0,0-10.87,26.25,8,8,0,0,0,1.49,7.06L40,125.84Q40,128,40,130.16L25.11,148.8a8,8,0,0,0-1.48,7.06,107.21,107.21,0,0,0,10.88,26.25,8,8,0,0,0,6,3.93l23.72,2.64q1.49,1.56,3,3L70,215.46a8,8,0,0,0,3.94,6,107.71,107.71,0,0,0,26.25,10.87,8,8,0,0,0,7.06-1.49L125.84,216q2.16.06,4.32,0l18.64,14.92a8,8,0,0,0,7.06,1.48,107.21,107.21,0,0,0,26.25-10.88,8,8,0,0,0,3.93-6l2.64-23.72q1.56-1.48,3-3L215.46,186a8,8,0,0,0,6-3.94,107.71,107.71,0,0,0,10.87-26.25,8,8,0,0,0-1.49-7.06Zm-16.1-6.5a73.93,73.93,0,0,1,0,8.68,8,8,0,0,0,1.74,5.48l14.19,17.73a91.57,91.57,0,0,1-6.23,15L187,173.11a8,8,0,0,0-5.1,2.64,74.11,74.11,0,0,1-6.14,6.14,8,8,0,0,0-2.64,5.1l-2.51,22.58a91.32,91.32,0,0,1-15,6.23l-17.74-14.19a8,8,0,0,0-5-1.75h-.48a73.93,73.93,0,0,1-8.68,0,8,8,0,0,0-5.48,1.74L100.45,215.8a91.57,91.57,0,0,1-15-6.23L82.89,187a8,8,0,0,0-2.64-5.1,74.11,74.11,0,0,1-6.14-6.14,8,8,0,0,0-5.1-2.64L46.43,170.6a91.32,91.32,0,0,1-6.23-15l14.19-17.74a8,8,0,0,0,1.74-5.48,73.93,73.93,0,0,1,0-8.68,8,8,0,0,0-1.74-5.48L40.2,100.45a91.57,91.57,0,0,1,6.23-15L69,82.89a8,8,0,0,0,5.1-2.64,74.11,74.11,0,0,1,6.14-6.14A8,8,0,0,0,82.89,69L85.4,46.43a91.32,91.32,0,0,1,15-6.23l17.74,14.19a8,8,0,0,0,5.48,1.74,73.93,73.93,0,0,1,8.68,0,8,8,0,0,0,5.48-1.74L155.55,40.2a91.57,91.57,0,0,1,15,6.23L173.11,69a8,8,0,0,0,2.64,5.1,74.11,74.11,0,0,1,6.14,6.14,8,8,0,0,0,5.1,2.64l22.58,2.51a91.32,91.32,0,0,1,6.23,15l-14.19,17.74A8,8,0,0,0,199.87,123.66Z"/>'},HandCoins:{fill:'<path d="M128.09,57.38a36,36,0,0,1,55.17-27.82,4,4,0,0,1-.56,7A52.06,52.06,0,0,0,152,84c0,1.17,0,2.34.12,3.49a4,4,0,0,1-6,3.76A36,36,0,0,1,128.09,57.38ZM240,160.61a24.47,24.47,0,0,1-13.6,22l-.44.2-38.83,16.54a6.94,6.94,0,0,1-1.19.4l-64,16A7.93,7.93,0,0,1,120,216H16A16,16,0,0,1,0,200V160a16,16,0,0,1,16-16H44.69l22.62-22.63A31.82,31.82,0,0,1,89.94,112H140a28,28,0,0,1,27.25,34.45l41.84-9.62A24.61,24.61,0,0,1,240,160.61Zm-16,0a8.61,8.61,0,0,0-10.87-8.3l-.31.08-67,15.41a8.32,8.32,0,0,1-1.79.2H112a8,8,0,0,1,0-16h28a12,12,0,0,0,0-24H89.94a15.86,15.86,0,0,0-11.31,4.69L56,155.31V200h63l62.43-15.61,38-16.18A8.56,8.56,0,0,0,224,160.61ZM168,84a36,36,0,1,0,36-36A36,36,0,0,0,168,84Z"/>'},House:{fill:'<path d="M224,120v96a8,8,0,0,1-8,8H160a8,8,0,0,1-8-8V164a4,4,0,0,0-4-4H108a4,4,0,0,0-4,4v52a8,8,0,0,1-8,8H40a8,8,0,0,1-8-8V120a16,16,0,0,1,4.69-11.31l80-80a16,16,0,0,1,22.62,0l80,80A16,16,0,0,1,224,120Z"/>',regular:'<path d="M219.31,108.68l-80-80a16,16,0,0,0-22.62,0l-80,80A15.87,15.87,0,0,0,32,120v96a8,8,0,0,0,8,8h64a8,8,0,0,0,8-8V160h32v56a8,8,0,0,0,8,8h64a8,8,0,0,0,8-8V120A15.87,15.87,0,0,0,219.31,108.68ZM208,208H160V152a8,8,0,0,0-8-8H104a8,8,0,0,0-8,8v56H48V120l80-80,80,80Z"/>'},Image:{fill:'<path d="M216,40H40A16,16,0,0,0,24,56V200a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40ZM156,88a12,12,0,1,1-12,12A12,12,0,0,1,156,88Zm60,112H40V160.69l46.34-46.35a8,8,0,0,1,11.32,0h0L165,181.66a8,8,0,0,0,11.32-11.32l-17.66-17.65L173,138.34a8,8,0,0,1,11.31,0L216,170.07V200Z"/>'},Info:{fill:'<path d="M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm-4,48a12,12,0,1,1-12,12A12,12,0,0,1,124,72Zm12,112a16,16,0,0,1-16-16V128a8,8,0,0,1,0-16,16,16,0,0,1,16,16v40a8,8,0,0,1,0,16Z"/>'},Link:{regular:'<path d="M240,88.23a54.43,54.43,0,0,1-16,37L189.25,160a54.27,54.27,0,0,1-38.63,16h-.05A54.63,54.63,0,0,1,96,119.84a8,8,0,0,1,16,.45A38.62,38.62,0,0,0,150.58,160h0a38.39,38.39,0,0,0,27.31-11.31l34.75-34.75a38.63,38.63,0,0,0-54.63-54.63l-11,11A8,8,0,0,1,135.7,59l11-11A54.65,54.65,0,0,1,224,48,54.86,54.86,0,0,1,240,88.23ZM109,185.66l-11,11A38.41,38.41,0,0,1,70.6,208h0a38.63,38.63,0,0,1-27.29-65.94L78,107.31A38.63,38.63,0,0,1,144,135.71a8,8,0,0,0,16,.45A54.86,54.86,0,0,0,144,96a54.65,54.65,0,0,0-77.27,0L32,130.75A54.62,54.62,0,0,0,70.56,224h0a54.28,54.28,0,0,0,38.64-16l11-11A8,8,0,0,0,109,185.66Z"/>'},LinkBreak:{regular:'<path d="M198.63,57.37a32,32,0,0,0-45.19-.06L141.79,69.52a8,8,0,0,1-11.58-11l11.72-12.29a1.59,1.59,0,0,1,.13-.13,48,48,0,0,1,67.88,67.88,1.59,1.59,0,0,1-.13.13l-12.29,11.72a8,8,0,0,1-11-11.58l12.21-11.65A32,32,0,0,0,198.63,57.37ZM114.21,186.48l-11.65,12.21a32,32,0,0,1-45.25-45.25l12.21-11.65a8,8,0,0,0-11-11.58L46.19,141.93a1.59,1.59,0,0,0-.13.13,48,48,0,0,0,67.88,67.88,1.59,1.59,0,0,0,.13-.13l11.72-12.29a8,8,0,1,0-11.58-11ZM216,152H192a8,8,0,0,0,0,16h24a8,8,0,0,0,0-16ZM40,104H64a8,8,0,0,0,0-16H40a8,8,0,0,0,0,16Zm120,80a8,8,0,0,0-8,8v24a8,8,0,0,0,16,0V192A8,8,0,0,0,160,184ZM96,72a8,8,0,0,0,8-8V40a8,8,0,0,0-16,0V64A8,8,0,0,0,96,72Z"/>'},List:{regular:'<path d="M224,128a8,8,0,0,1-8,8H40a8,8,0,0,1,0-16H216A8,8,0,0,1,224,128ZM40,72H216a8,8,0,0,0,0-16H40a8,8,0,0,0,0,16ZM216,184H40a8,8,0,0,0,0,16H216a8,8,0,0,0,0-16Z"/>'},ListBullets:{regular:'<path d="M80,64a8,8,0,0,1,8-8H216a8,8,0,0,1,0,16H88A8,8,0,0,1,80,64Zm136,56H88a8,8,0,0,0,0,16H216a8,8,0,0,0,0-16Zm0,64H88a8,8,0,0,0,0,16H216a8,8,0,0,0,0-16ZM44,52A12,12,0,1,0,56,64,12,12,0,0,0,44,52Zm0,64a12,12,0,1,0,12,12A12,12,0,0,0,44,116Zm0,64a12,12,0,1,0,12,12A12,12,0,0,0,44,180Z"/>'},LockKey:{fill:'<path d="M208,80H176V56a48,48,0,0,0-96,0V80H48A16,16,0,0,0,32,96V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V96A16,16,0,0,0,208,80Zm-72,78.63V184a8,8,0,0,1-16,0V158.63a24,24,0,1,1,16,0ZM160,80H96V56a32,32,0,0,1,64,0Z"/>'},MagnifyingGlass:{regular:'<path d="M229.66,218.34l-50.07-50.06a88.11,88.11,0,1,0-11.31,11.31l50.06,50.07a8,8,0,0,0,11.32-11.32ZM40,112a72,72,0,1,1,72,72A72.08,72.08,0,0,1,40,112Z"/>'},MapPin:{fill:'<path d="M128,16a88.1,88.1,0,0,0-88,88c0,75.3,80,132.17,83.41,134.55a8,8,0,0,0,9.18,0C136,236.17,216,179.3,216,104A88.1,88.1,0,0,0,128,16Zm0,56a32,32,0,1,1-32,32A32,32,0,0,1,128,72Z"/>'},Megaphone:{fill:'<path d="M200,72H160.2c-2.91-.17-53.62-3.74-101.91-44.24A16,16,0,0,0,32,40V200a16,16,0,0,0,26.29,12.25c37.77-31.68,77-40.76,93.71-43.3v31.72A16,16,0,0,0,159.12,214l11,7.33A16,16,0,0,0,194.5,212l11.77-44.36A48,48,0,0,0,200,72ZM179,207.89l0,.11-11-7.33V168h21.6ZM200,152H168V88h32a32,32,0,1,1,0,64Z"/>',regular:'<path d="M248,120a48.05,48.05,0,0,0-48-48H160.2c-2.91-.17-53.62-3.74-101.91-44.24A16,16,0,0,0,32,40V200a16,16,0,0,0,26.29,12.25c37.77-31.68,77-40.76,93.71-43.3v31.72A16,16,0,0,0,159.12,214l11,7.33A16,16,0,0,0,194.5,212l11.77-44.36A48.07,48.07,0,0,0,248,120ZM48,199.93V40h0c42.81,35.91,86.63,45,104,47.24v65.48C134.65,155,90.84,164.07,48,199.93Zm131,8,0,.11-11-7.33V168h21.6ZM200,152H168V88h32a32,32,0,1,1,0,64Z"/>'},NotePencil:{fill:'<path d="M224,128v80a16,16,0,0,1-16,16H48a16,16,0,0,1-16-16V48A16,16,0,0,1,48,32h80a8,8,0,0,1,0,16H48V208H208V128a8,8,0,0,1,16,0Zm5.66-58.34-96,96A8,8,0,0,1,128,168H96a8,8,0,0,1-8-8V128a8,8,0,0,1,2.34-5.66l96-96a8,8,0,0,1,11.32,0l32,32A8,8,0,0,1,229.66,69.66Zm-17-5.66L192,43.31,179.31,56,200,76.69Z"/>'},Paperclip:{regular:'<path d="M209.66,122.34a8,8,0,0,1,0,11.32l-82.05,82a56,56,0,0,1-79.2-79.21L147.67,35.73a40,40,0,1,1,56.61,56.55L105,193A24,24,0,1,1,71,159L154.3,74.38A8,8,0,1,1,165.7,85.6L82.39,170.31a8,8,0,1,0,11.27,11.36L192.93,81A24,24,0,1,0,159,47L59.76,147.68a40,40,0,1,0,56.53,56.62l82.06-82A8,8,0,0,1,209.66,122.34Z"/>'},PaperPlaneTilt:{fill:'<path d="M231.4,44.34s0,.1,0,.15l-58.2,191.94a15.88,15.88,0,0,1-14,11.51q-.69.06-1.38.06a15.86,15.86,0,0,1-14.42-9.15L107,164.15a4,4,0,0,1,.77-4.58l57.92-57.92a8,8,0,0,0-11.31-11.31L96.43,148.26a4,4,0,0,1-4.58.77L17.08,112.64a16,16,0,0,1,2.49-29.8l191.94-58.2.15,0A16,16,0,0,1,231.4,44.34Z"/>'},Pencil:{fill:'<path d="M227.31,73.37,182.63,28.68a16,16,0,0,0-22.63,0L36.69,152A15.86,15.86,0,0,0,32,163.31V208a16,16,0,0,0,16,16H92.69A15.86,15.86,0,0,0,104,219.31L227.31,96a16,16,0,0,0,0-22.63ZM51.31,160l90.35-90.35,16.68,16.69L68,176.68ZM48,179.31,76.69,208H48Zm48,25.38L79.31,188l90.35-90.35h0l16.68,16.69Z"/>'},PenNib:{fill:'<path d="M243.31,81.36,174.63,12.68a16,16,0,0,0-22.63,0L123.56,41.12l-58,21.76A16,16,0,0,0,55.36,75.23L34.59,199.83a4,4,0,0,0,6.77,3.49l57-57a23.85,23.85,0,0,1-2.29-12.08,24,24,0,1,1,13.6,23.4l-57,57a4,4,0,0,0,3.49,6.77l124.61-20.77a16,16,0,0,0,12.35-10.16l21.77-58.07L243.31,104a16,16,0,0,0,0-22.63ZM208,116.68,139.32,48l24-24L232,92.68Z"/>'},Phone:{fill:'<path d="M231.88,175.08A56.26,56.26,0,0,1,176,224C96.6,224,32,159.4,32,80A56.26,56.26,0,0,1,80.92,24.12a16,16,0,0,1,16.62,9.52l21.12,47.15,0,.12A16,16,0,0,1,117.39,96c-.18.27-.37.52-.57.77L96,121.45c7.49,15.22,23.41,31,38.83,38.51l24.34-20.71a8.12,8.12,0,0,1,.75-.56,16,16,0,0,1,15.17-1.4l.13.06,47.11,21.11A16,16,0,0,1,231.88,175.08Z"/>',regular:'<path d="M222.37,158.46l-47.11-21.11-.13-.06a16,16,0,0,0-15.17,1.4,8.12,8.12,0,0,0-.75.56L134.87,160c-15.42-7.49-31.34-23.29-38.83-38.51l20.78-24.71c.2-.25.39-.5.57-.77a16,16,0,0,0,1.32-15.06l0-.12L97.54,33.64a16,16,0,0,0-16.62-9.52A56.26,56.26,0,0,0,32,80c0,79.4,64.6,144,144,144a56.26,56.26,0,0,0,55.88-48.92A16,16,0,0,0,222.37,158.46ZM176,208A128.14,128.14,0,0,1,48,80,40.2,40.2,0,0,1,82.87,40a.61.61,0,0,0,0,.12l21,47L83.2,111.86a6.13,6.13,0,0,0-.57.77,16,16,0,0,0-1,15.7c9.06,18.53,27.73,37.06,46.46,46.11a16,16,0,0,0,15.75-1.14,8.44,8.44,0,0,0,.74-.56L168.89,152l47,21.05h0s.08,0,.11,0A40.21,40.21,0,0,1,176,208Z"/>'},Plus:{regular:'<path d="M224,128a8,8,0,0,1-8,8H136v80a8,8,0,0,1-16,0V136H40a8,8,0,0,1,0-16h80V40a8,8,0,0,1,16,0v80h80A8,8,0,0,1,224,128Z"/>'},PushPin:{fill:'<path d="M235.33,104l-53.47,53.65c4.56,12.67,6.45,33.89-13.19,60A15.93,15.93,0,0,1,157,224c-.38,0-.75,0-1.13,0a16,16,0,0,1-11.32-4.69L96.29,171,53.66,213.66a8,8,0,0,1-11.32-11.32L85,159.71l-48.3-48.3A16,16,0,0,1,38,87.63c25.42-20.51,49.75-16.48,60.4-13.14L152,20.7a16,16,0,0,1,22.63,0l60.69,60.68A16,16,0,0,1,235.33,104Z"/>'},PushPinSimpleSlash:{fill:'<path d="M79.25,38.69a4,4,0,0,1,3-6.69H192a8,8,0,0,1,8,8.53A8.17,8.17,0,0,1,191.73,48h-6.19L206.7,167.91a4,4,0,0,1-6.9,3.39ZM213.92,210.62l-160-176A8,8,0,1,0,42.08,45.38L66.24,72,49.29,168H40a8,8,0,0,0,0,16h80v56a8,8,0,0,0,16,0V184h32.1l34,37.38a8,8,0,1,0,11.84-10.76Z"/>'},SidebarSimple:{fill:'<path d="M216,40H40A16,16,0,0,0,24,56V200a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40Zm0,160H88V56H216V200Z"/>',regular:'<path d="M216,40H40A16,16,0,0,0,24,56V200a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40ZM40,56H80V200H40ZM216,200H96V56H216V200Z"/>'},Signature:{regular:'<path d="M232,168H63.86c2.66-5.24,5.33-10.63,8-16.11,15,1.65,32.58-8.78,52.66-31.14,5,13.46,14.45,30.93,30.58,31.25,9.06.18,18.11-5.2,27.42-16.37C189.31,143.75,203.3,152,232,152a8,8,0,0,0,0-16c-30.43,0-39.43-10.45-40-16.11a7.67,7.67,0,0,0-5.46-7.75,8.14,8.14,0,0,0-9.25,3.49c-12.07,18.54-19.38,20.43-21.92,20.37-8.26-.16-16.66-19.52-19.54-33.42a8,8,0,0,0-14.09-3.37C101.54,124.55,88,133.08,79.57,135.29,88.06,116.42,94.4,99.85,98.46,85.9c6.82-23.44,7.32-39.83,1.51-50.1-3-5.38-9.34-11.8-22.06-11.8C61.85,24,49.18,39.18,43.14,65.65c-3.59,15.71-4.18,33.21-1.62,48s7.87,25.55,15.59,31.94c-3.73,7.72-7.53,15.26-11.23,22.41H24a8,8,0,0,0,0,16H37.41c-11.32,21-20.12,35.64-20.26,35.88a8,8,0,1,0,13.71,8.24c.15-.26,11.27-18.79,24.7-44.12H232a8,8,0,0,0,0-16ZM58.74,69.21C62.72,51.74,70.43,40,77.91,40c5.33,0,7.1,1.86,8.13,3.67,3,5.33,6.52,24.19-21.66,86.39C56.12,118.78,53.31,93,58.74,69.21Z"/>'},SlidersHorizontal:{fill:'<path d="M32,80a8,8,0,0,1,8-8H77.17a28,28,0,0,1,53.66,0H216a8,8,0,0,1,0,16H130.83a28,28,0,0,1-53.66,0H40A8,8,0,0,1,32,80Zm184,88H194.83a28,28,0,0,0-53.66,0H40a8,8,0,0,0,0,16H141.17a28,28,0,0,0,53.66,0H216a8,8,0,0,0,0-16Z"/>'},Tag:{fill:'<path d="M243.31,136,144,36.69A15.86,15.86,0,0,0,132.69,32H40a8,8,0,0,0-8,8v92.69A15.86,15.86,0,0,0,36.69,144L136,243.31a16,16,0,0,0,22.63,0l84.68-84.68a16,16,0,0,0,0-22.63ZM84,96A12,12,0,1,1,96,84,12,12,0,0,1,84,96Z"/>'},TextB:{regular:'<path d="M178.48,115.7A44,44,0,0,0,148,40H80a8,8,0,0,0-8,8V200a8,8,0,0,0,8,8h80a48,48,0,0,0,18.48-92.3ZM88,56h60a28,28,0,0,1,0,56H88Zm72,136H88V128h72a32,32,0,0,1,0,64Z"/>'},TextItalic:{regular:'<path d="M200,56a8,8,0,0,1-8,8H157.77L115.1,192H144a8,8,0,0,1,0,16H64a8,8,0,0,1,0-16H98.23L140.9,64H112a8,8,0,0,1,0-16h80A8,8,0,0,1,200,56Z"/>'},TextUnderline:{regular:'<path d="M200,224a8,8,0,0,1-8,8H64a8,8,0,0,1,0-16H192A8,8,0,0,1,200,224Zm-72-24a64.07,64.07,0,0,0,64-64V56a8,8,0,0,0-16,0v80a48,48,0,0,1-96,0V56a8,8,0,0,0-16,0v80A64.07,64.07,0,0,0,128,200Z"/>'},ThumbsUp:{regular:'<path d="M234,80.12A24,24,0,0,0,216,72H160V56a40,40,0,0,0-40-40,8,8,0,0,0-7.16,4.42L75.06,96H32a16,16,0,0,0-16,16v88a16,16,0,0,0,16,16H204a24,24,0,0,0,23.82-21l12-96A24,24,0,0,0,234,80.12ZM32,112H72v88H32ZM223.94,97l-12,96a8,8,0,0,1-7.94,7H88V105.89l36.71-73.43A24,24,0,0,1,144,56V80a8,8,0,0,0,8,8h64a8,8,0,0,1,7.94,9Z"/>',fill:'<path d="M234,80.12A24,24,0,0,0,216,72H160V56a40,40,0,0,0-40-40,8,8,0,0,0-7.16,4.42L75.06,96H32a16,16,0,0,0-16,16v88a16,16,0,0,0,16,16H204a24,24,0,0,0,23.82-21l12-96A24,24,0,0,0,234,80.12ZM32,112H72v88H32Z"/>'},Trash:{fill:'<path d="M216,48H176V40a24,24,0,0,0-24-24H104A24,24,0,0,0,80,40v8H40a8,8,0,0,0,0,16h8V208a16,16,0,0,0,16,16H192a16,16,0,0,0,16-16V64h8a8,8,0,0,0,0-16ZM112,168a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Zm48,0a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Zm0-120H96V40a8,8,0,0,1,8-8h48a8,8,0,0,1,8,8Z"/>'},UploadSimple:{regular:'<path d="M224,144v64a8,8,0,0,1-8,8H40a8,8,0,0,1-8-8V144a8,8,0,0,1,16,0v56H208V144a8,8,0,0,1,16,0ZM93.66,77.66,120,51.31V144a8,8,0,0,0,16,0V51.31l26.34,26.35a8,8,0,0,0,11.32-11.32l-40-40a8,8,0,0,0-11.32,0l-40,40A8,8,0,0,0,93.66,77.66Z"/>'},User:{fill:'<path d="M230.93,220a8,8,0,0,1-6.93,4H32a8,8,0,0,1-6.92-12c15.23-26.33,38.7-45.21,66.09-54.16a72,72,0,1,1,73.66,0c27.39,8.95,50.86,27.83,66.09,54.16A8,8,0,0,1,230.93,220Z"/>',regular:'<path d="M230.92,212c-15.23-26.33-38.7-45.21-66.09-54.16a72,72,0,1,0-73.66,0C63.78,166.78,40.31,185.66,25.08,212a8,8,0,1,0,13.85,8c18.84-32.56,52.14-52,89.07-52s70.23,19.44,89.07,52a8,8,0,1,0,13.85-8ZM72,96a56,56,0,1,1,56,56A56.06,56.06,0,0,1,72,96Z"/>'},UserMinus:{fill:'<path d="M198.13,194.85A8,8,0,0,1,192,208H24a8,8,0,0,1-6.12-13.15c14.94-17.78,33.52-30.41,54.17-37.17a68,68,0,1,1,71.9,0C164.6,164.44,183.18,177.07,198.13,194.85ZM248,128H200a8,8,0,0,0,0,16h48a8,8,0,0,0,0-16Z"/>'},UserPlus:{fill:'<path d="M256,136a8,8,0,0,1-8,8H232v16a8,8,0,0,1-16,0V144H200a8,8,0,0,1,0-16h16V112a8,8,0,0,1,16,0v16h16A8,8,0,0,1,256,136ZM144,157.68a68,68,0,1,0-71.9,0c-20.65,6.76-39.23,19.39-54.17,37.17A8,8,0,0,0,24,208H192a8,8,0,0,0,6.13-13.15C183.18,177.07,164.6,164.44,144,157.68Z"/>'},Users:{fill:'<path d="M164.47,195.63a8,8,0,0,1-6.7,12.37H10.23a8,8,0,0,1-6.7-12.37,95.83,95.83,0,0,1,47.22-37.71,60,60,0,1,1,66.5,0A95.83,95.83,0,0,1,164.47,195.63Zm87.91-.15a95.87,95.87,0,0,0-47.13-37.56A60,60,0,0,0,144.7,54.59a4,4,0,0,0-1.33,6A75.83,75.83,0,0,1,147,150.53a4,4,0,0,0,1.07,5.53,112.32,112.32,0,0,1,29.85,30.83,23.92,23.92,0,0,1,3.65,16.47,4,4,0,0,0,3.95,4.64h60.3a8,8,0,0,0,7.73-5.93A8.22,8.22,0,0,0,252.38,195.48Z"/>',regular:'<path d="M117.25,157.92a60,60,0,1,0-66.5,0A95.83,95.83,0,0,0,3.53,195.63a8,8,0,1,0,13.4,8.74,80,80,0,0,1,134.14,0,8,8,0,0,0,13.4-8.74A95.83,95.83,0,0,0,117.25,157.92ZM40,108a44,44,0,1,1,44,44A44.05,44.05,0,0,1,40,108Zm210.14,98.7a8,8,0,0,1-11.07-2.33A79.83,79.83,0,0,0,172,168a8,8,0,0,1,0-16,44,44,0,1,0-16.34-84.87,8,8,0,1,1-5.94-14.85,60,60,0,0,1,55.53,105.64,95.83,95.83,0,0,1,47.22,37.71A8,8,0,0,1,250.14,206.7Z"/>'},Warning:{fill:'<path d="M236.8,188.09,149.35,36.22h0a24.76,24.76,0,0,0-42.7,0L19.2,188.09a23.51,23.51,0,0,0,0,23.72A24.35,24.35,0,0,0,40.55,224h174.9a24.35,24.35,0,0,0,21.33-12.19A23.51,23.51,0,0,0,236.8,188.09ZM120,104a8,8,0,0,1,16,0v40a8,8,0,0,1-16,0Zm8,88a12,12,0,1,1,12-12A12,12,0,0,1,128,192Z"/>'},X:{regular:'<path d="M205.66,194.34a8,8,0,0,1-11.32,11.32L128,139.31,61.66,205.66a8,8,0,0,1-11.32-11.32L116.69,128,50.34,61.66A8,8,0,0,1,61.66,50.34L128,116.69l66.34-66.35a8,8,0,0,1,11.32,11.32L139.31,128Z"/>'}};Object.freeze(Object.keys(h));function r(a){return a.replace(/&/gu,"&").replace(/"/gu,""").replace(/'/gu,"'").replace(/</gu,"<").replace(/>/gu,">")}function A(a,l="currentColor"){const H=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="${r(l)}">${a}</svg>`;return`url("data:image/svg+xml,${encodeURIComponent(H)}")`}function t(a,l,H){const Z=h[a];if(!Z)return A(String(Z),l);const V=Object.values(Z)[0],M=H&&Z[H]||V;return A(M,l)}exports.iconSVG=t;
|
|
2
|
+
//# sourceMappingURL=icons-BIdcCH-v.cjs.map
|
|
@@ -96,6 +96,9 @@ const h = {
|
|
|
96
96
|
Flag: {
|
|
97
97
|
fill: '<path d="M232,56V176a8,8,0,0,1-2.76,6c-15.28,13.23-29.89,18-43.82,18-18.91,0-36.57-8.74-53-16.85C105.87,170,82.79,158.61,56,179.77V224a8,8,0,0,1-16,0V56a8,8,0,0,1,2.77-6h0c36-31.18,68.31-15.21,96.79-1.12C167,62.46,190.79,74.2,218.76,50A8,8,0,0,1,232,56Z"/>'
|
|
98
98
|
},
|
|
99
|
+
FloppyDisk: {
|
|
100
|
+
regular: '<path d="M219.31,72,184,36.69A15.86,15.86,0,0,0,172.69,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V83.31A15.86,15.86,0,0,0,219.31,72ZM168,208H88V152h80Zm40,0H184V152a16,16,0,0,0-16-16H88a16,16,0,0,0-16,16v56H48V48H172.69L208,83.31ZM160,72a8,8,0,0,1-8,8H96a8,8,0,0,1,0-16h56A8,8,0,0,1,160,72Z"/>'
|
|
101
|
+
},
|
|
99
102
|
Folder: {
|
|
100
103
|
fill: '<path d="M216,72H131.31L104,44.69A15.88,15.88,0,0,0,92.69,40H40A16,16,0,0,0,24,56V200.62A15.41,15.41,0,0,0,39.39,216h177.5A15.13,15.13,0,0,0,232,200.89V88A16,16,0,0,0,216,72ZM40,56H92.69l16,16H40Z"/>'
|
|
101
104
|
},
|
|
@@ -240,10 +243,10 @@ function t(a, l, H) {
|
|
|
240
243
|
const Z = h[a];
|
|
241
244
|
if (!Z)
|
|
242
245
|
return A(String(Z), l);
|
|
243
|
-
const
|
|
244
|
-
return A(
|
|
246
|
+
const V = Object.values(Z)[0], M = H && Z[H] || V;
|
|
247
|
+
return A(M, l);
|
|
245
248
|
}
|
|
246
249
|
export {
|
|
247
250
|
t as i
|
|
248
251
|
};
|
|
249
|
-
//# sourceMappingURL=icons-
|
|
252
|
+
//# sourceMappingURL=icons-DVeBguFb.js.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";require('./assets/index50.css');const e=require("react/jsx-runtime"),m=require("classix"),r=require("react"),U=require("./icons-BIdcCH-v.cjs"),F=require("./use-touched-Bq5Gjbpz.cjs");function W(t){return t&&`${t[0].toLocaleUpperCase()}${t.slice(1)}`}function P(t){const o=W(t);return o&&!o.endsWith(":")?`${o}:`:o}const k="_field_w1cmd_3",A="_input_w1cmd_8",D="_touched_w1cmd_48",J="_label_w1cmd_57",K="_inline_w1cmd_78",O="_error_w1cmd_99",Q="_code_w1cmd_106",n={field:k,input:A,touched:D,label:J,inline:K,error:O,code:Q};function X({className:t,defaultCountryCode:o="+47",disabled:a=!1,errorMessage:j,icon:g,invalid:_=!1,label:f,onBlur:R,placeholder:I,ref:w,required:p,style:B,type:i="text",variant:v="default",...s}){const V=r.useId(),[x,L]=r.useState(""),[l,N]=r.useState(""),{name:q,onChange:u,pattern:y,value:d,...z}=s,{touched:E,onBlur:G}=F.useTouched(d===""),h=g&&i!=="radio"&&i!=="datetime-local"?g:void 0,C=f&&v==="inline"?P(f):f,b=_&&j?V:void 0,S=[s["aria-describedby"],b].filter(Boolean).join(" ")||void 0,T=h?{...B,"--icon-svg":U.iconSVG(h)}:B,$=F.composeEventHandlers(G,R);r.useEffect(()=>{if(u&&i==="tel"){const c={name:q,value:l?(x||o).split(" ").join("")+l.split(" ").join(""):void 0};u({target:c,currentTarget:c})}},[x,o,q,u,l,i]),r.useEffect(()=>{i==="tel"&&!d&&(N(""),L(""))},[i,d]);const H=e.jsxs(e.Fragment,{children:[e.jsx("input",{disabled:a,hidden:!0,onChange:u,pattern:void 0,placeholder:I,ref:w,type:i,value:d}),e.jsx("input",{type:"text",className:m(n.code,n.input),disabled:a,maxLength:5,onChange:c=>L(c.target.value),placeholder:o,value:x}),e.jsx("input",{...z,"aria-describedby":S,"aria-invalid":_?!0:s["aria-invalid"],type:"tel",className:m(n.input,t,E&&n.touched),"data-icon":h?"true":void 0,disabled:a,maxLength:14,name:void 0,onChange:c=>N(c.target.value),onBlur:$,pattern:y,required:p,style:T,value:l})]});return e.jsxs("div",{className:n.field,"data-component":"input",children:[e.jsxs("label",{className:m(n.label,v==="inline"&&n.inline),children:[C&&e.jsx("span",{"data-required":p&&v!=="inline"?!0:void 0,children:C}),i==="tel"?H:e.jsx("input",{...s,"aria-describedby":S,"aria-invalid":_?!0:s["aria-invalid"],ref:w,className:m(n.input,t,E&&n.touched),"data-icon":h?"true":void 0,disabled:a,onBlur:$,placeholder:I,required:p,style:T,type:i})]}),b&&e.jsx("span",{className:n.error,id:b,role:"alert",children:j})]})}exports.Input=X;exports.formatInlineLabel=P;
|
|
2
|
+
//# sourceMappingURL=index-7blZaPiA.cjs.map
|