@kingsimba/nc-ui 0.1.43 → 0.1.44

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.
@@ -1,2 +1 @@
1
1
  "use strict";const n=require("react/jsx-runtime");function s({size:o=24,color:r="currentColor",strokeWidth:e=2,className:t,style:i}){return n.jsxs("svg",{width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:r,strokeWidth:e,strokeLinecap:"round",strokeLinejoin:"round",className:t,style:i,children:[n.jsx("line",{x1:"20",y1:"4",x2:"4",y2:"20"}),n.jsx("line",{x1:"4",y1:"4",x2:"20",y2:"20"})]})}function c({size:o=24,className:r,style:e}){return n.jsxs("svg",{width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",className:r,style:e,children:[n.jsx("path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h8"}),n.jsx("polyline",{points:"17 4 20 4 20 7"}),n.jsx("line",{x1:"13",y1:"11",x2:"20",y2:"4"})]})}function h({size:o=24,className:r,style:e}){return n.jsxs("svg",{width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round",className:r,style:e,children:[n.jsx("rect",{x:"3",y:"4",width:"18",height:"14",rx:"2"}),n.jsx("line",{x1:"8",y1:"21",x2:"16",y2:"21"}),n.jsx("line",{x1:"12",y1:"18",x2:"12",y2:"21"}),n.jsx("line",{x1:"7",y1:"11",x2:"17",y2:"11"})]})}function x({size:o=24,className:r,style:e}){return n.jsxs("svg",{width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",className:r,style:e,children:[n.jsx("path",{d:"M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z"}),n.jsx("circle",{cx:"12",cy:"12",r:"3"})]})}function l({size:o=24,className:r,style:e}){return n.jsxs("svg",{width:o,height:o,viewBox:"-2 -2 28 28",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",className:r,style:e,children:[n.jsx("path",{d:"M1.5 9a15.5 15.5 0 0 1 21 0"}),n.jsx("path",{d:"M5 12.5a10 10 0 0 1 14 0"}),n.jsx("path",{d:"M8.5 16a5 5 0 0 1 7 0"}),n.jsx("circle",{cx:"12",cy:"20",r:"1.5",fill:"currentColor"})]})}function d({size:o=24,className:r,style:e}){return n.jsxs("svg",{width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",className:r,style:e,children:[n.jsx("rect",{x:"5",y:"11",width:"14",height:"10",rx:"2"}),n.jsx("path",{d:"M8 11V7a4 4 0 0 1 8 0v4"})]})}function u({size:o=24,className:r,style:e}){return n.jsxs("svg",{width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",className:r,style:e,children:[n.jsx("rect",{x:"5",y:"11",width:"14",height:"10",rx:"2"}),n.jsx("path",{d:"M8 11V7a4 4 0 0 1 7.83-1"})]})}function j({size:o=24,className:r,style:e}){return n.jsx("svg",{width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",className:r,style:e,children:n.jsx("polyline",{points:"9 18 15 12 9 6"})})}function a({size:o=24,className:r,style:e}){return n.jsx("svg",{width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",className:r,style:e,children:n.jsx("polyline",{points:"15 18 9 12 15 6"})})}function k({size:o=24,className:r,style:e}){return n.jsx("svg",{width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",className:r,style:e,children:n.jsx("polyline",{points:"6 9 12 15 18 9"})})}function v({size:o=24,className:r,style:e}){return n.jsxs("svg",{width:o,height:o,viewBox:"-2 -2 28 28",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",className:r,style:e,children:[n.jsx("path",{d:"M21 2v6h-6"}),n.jsx("path",{d:"M3 12a9 9 0 0 1 15-6.7L21 8"}),n.jsx("path",{d:"M3 22v-6h6"}),n.jsx("path",{d:"M21 12a9 9 0 0 1-15 6.7L3 16"})]})}function p({size:o=24,className:r,style:e}){return n.jsxs("svg",{width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",className:r,style:e,children:[n.jsx("path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8"}),n.jsx("path",{d:"M3 3v5h5"})]})}function f({size:o=24,className:r,style:e}){return n.jsxs("svg",{width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",className:r,style:e,children:[n.jsx("path",{d:"M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7"}),n.jsx("path",{d:"M18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z"})]})}function w({size:o=24,className:r,style:e}){return n.jsxs("svg",{width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",className:r,style:e,children:[n.jsx("polyline",{points:"3 6 5 6 21 6"}),n.jsx("path",{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6m3 0V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2"}),n.jsx("line",{x1:"10",y1:"11",x2:"10",y2:"17"}),n.jsx("line",{x1:"14",y1:"11",x2:"14",y2:"17"})]})}function y({size:o=24,className:r,style:e}){return n.jsxs("svg",{width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round",className:r,style:e,children:[n.jsx("path",{d:"M4 4h5l2 2h9a1 1 0 0 1 1 1v2H3V5a1 1 0 0 1 1-1z"}),n.jsx("path",{d:"M2 9h20l-2 11H4L2 9z"}),n.jsx("path",{d:"M8 14h8",strokeDasharray:"2 2",opacity:"0.5"})]})}function L({size:o=24,className:r,style:e}){return n.jsxs("svg",{width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",className:r,style:e,children:[n.jsx("circle",{cx:"12",cy:"12",r:"10"}),n.jsx("line",{x1:"12",y1:"16",x2:"12",y2:"12"}),n.jsx("line",{x1:"12",y1:"8",x2:"12.01",y2:"8"})]})}function g({size:o=24,className:r,style:e}){return n.jsxs("svg",{width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",className:r,style:e,children:[n.jsx("path",{d:"M21.21 15.89A10 10 0 1 1 8 2.83"}),n.jsx("path",{d:"M22 12A10 10 0 0 0 12 2v10z"})]})}function I({size:o=24,className:r,style:e}){return n.jsxs("svg",{width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",className:r,style:e,children:[n.jsx("path",{d:"M12 2v10"}),n.jsx("path",{d:"M18.4 6.6a9 9 0 1 1-12.77.04"})]})}function C({size:o=24,className:r,style:e}){return n.jsxs("svg",{width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",className:r,style:e,children:[n.jsx("path",{d:"M23 19a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h4l2-3h6l2 3h4a2 2 0 0 1 2 2z"}),n.jsx("circle",{cx:"12",cy:"13",r:"4"})]})}function M({size:o=24,className:r,style:e}){return n.jsxs("svg",{width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",className:r,style:e,children:[n.jsx("line",{x1:"12",y1:"5",x2:"12",y2:"19"}),n.jsx("line",{x1:"5",y1:"12",x2:"19",y2:"12"})]})}function B({size:o=24,className:r,style:e}){return n.jsx("svg",{width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",className:r,style:e,children:n.jsx("line",{x1:"5",y1:"12",x2:"19",y2:"12"})})}function W({size:o=24,className:r,style:e}){return n.jsxs("svg",{width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round",className:r,style:e,children:[n.jsx("circle",{cx:"9.5",cy:"4",r:"2",opacity:"0.5"}),n.jsx("circle",{cx:"9.5",cy:"4",r:"3.5",opacity:"0.3"}),n.jsx("path",{d:"M8 13V5.5a1.5 1.5 0 0 1 3 0V12"}),n.jsx("path",{d:"M11 11.5v-2a1.5 1.5 0 0 1 3 0v2.5"}),n.jsx("path",{d:"M14 10.5a1.5 1.5 0 0 1 3 0v1.5"}),n.jsx("path",{d:"M17 11.5a1.5 1.5 0 0 1 3 0v4.5a6 6 0 0 1-6 6h-2h.2a6 6 0 0 1-5-2.7l-.2-.3c-.3-.5-1.4-2.4-3.2-6.3l-.5-.8a.6.6 0 0 1 .5-.8h2.5"})]})}function H({size:o=24,className:r,style:e}){return n.jsxs("svg",{width:o,height:o,viewBox:"0 0 24 24",fill:"currentColor",className:r,style:e,children:[n.jsx("circle",{cx:"12",cy:"5",r:"2"}),n.jsx("circle",{cx:"12",cy:"12",r:"2"}),n.jsx("circle",{cx:"12",cy:"19",r:"2"})]})}function V({size:o=24,className:r,style:e}){return n.jsxs("svg",{width:o,height:o,viewBox:"0 0 24 24",fill:"currentColor",className:r,style:e,children:[n.jsx("circle",{cx:"5",cy:"12",r:"2"}),n.jsx("circle",{cx:"12",cy:"12",r:"2"}),n.jsx("circle",{cx:"19",cy:"12",r:"2"})]})}function E({size:o=24,className:r,style:e}){return n.jsxs("svg",{width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",className:r,style:e,children:[n.jsx("path",{d:"M17.94 17.94A10.07 10.07 0 0 1 12 20c-7 0-11-8-11-8a18.45 18.45 0 0 1 5.06-5.94M9.9 4.24A9.12 9.12 0 0 1 12 4c7 0 11 8 11 8a18.5 18.5 0 0 1-2.16 3.19m-6.72-1.07a3 3 0 1 1-4.24-4.24"}),n.jsx("line",{x1:"1",y1:"1",x2:"23",y2:"23"})]})}function m({size:o=24,className:r,style:e}){return n.jsxs("svg",{width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",className:r,style:e,children:[n.jsx("circle",{cx:"11",cy:"11",r:"8"}),n.jsx("line",{x1:"21",y1:"21",x2:"16.65",y2:"16.65"})]})}exports.CameraIcon=C;exports.ChevronDownIcon=k;exports.ChevronLeftIcon=a;exports.ChevronRightIcon=j;exports.CloseIcon=s;exports.DoubleClickIcon=W;exports.EditIcon=f;exports.EmptyFolderIcon=y;exports.ExternalLinkIcon=c;exports.EyeHiddenIcon=E;exports.HideAppsIcon=h;exports.InfoIcon=L;exports.LockIcon=d;exports.MinusIcon=B;exports.MoreHorizontalIcon=V;exports.MoreIcon=H;exports.PieChartIcon=g;exports.PlusIcon=M;exports.PowerIcon=I;exports.RefreshIcon=v;exports.RevertIcon=p;exports.SearchIcon=m;exports.TrashIcon=w;exports.UnlockIcon=u;exports.ViewIcon=x;exports.WifiIcon=l;
2
- //# sourceMappingURL=GeneratedIcons-CGjL38ny.cjs.map
@@ -570,4 +570,3 @@ export {
570
570
  j as k,
571
571
  g as l
572
572
  };
573
- //# sourceMappingURL=GeneratedIcons-HFZmBTBT.js.map
@@ -1,2 +1 @@
1
1
  "use strict";function i(r){var f,n,t="";if(typeof r=="string"||typeof r=="number")t+=r;else if(typeof r=="object")if(Array.isArray(r)){var s=r.length;for(f=0;f<s;f++)r[f]&&(n=i(r[f]))&&(t&&(t+=" "),t+=n)}else for(n in r)r[n]&&(t&&(t+=" "),t+=n);return t}function o(){for(var r,f,n=0,t="",s=arguments.length;n<s;n++)(r=arguments[n])&&(f=i(r))&&(t&&(t+=" "),t+=f);return t}exports.clsx=o;
2
- //# sourceMappingURL=clsx-C11secjj.cjs.map
@@ -14,4 +14,3 @@ function i() {
14
14
  export {
15
15
  i as c
16
16
  };
17
- //# sourceMappingURL=clsx-OuTLNxxd.js.map
@@ -33,4 +33,3 @@
33
33
  white-space: inherit;
34
34
  }
35
35
  `}),e.jsxs("div",{className:"nc-code-editor-container",style:{border:"1px solid var(--nc-border)",background:t?"var(--nc-bg-secondary)":"var(--nc-bg-tertiary)",minHeight:r,maxHeight:x,display:"flex"},children:[d&&e.jsx("div",{ref:f,style:{padding:"10px 8px",paddingRight:12,background:"var(--nc-bg-tertiary)",borderRight:"1px solid var(--nc-border)",color:"var(--nc-text-weak)",fontFamily:'Consolas, Monaco, "Courier New", monospace',fontSize:13,lineHeight:"1.5",textAlign:"right",userSelect:"none",whiteSpace:"pre",minWidth:40,overflow:"hidden"},children:z}),e.jsx("div",{ref:g,className:`code-editor-container${t?" read-only":""}`,style:{flex:1,overflowX:"auto",overflowY:"auto",color:"var(--nc-text)"},onScroll:_,children:e.jsx(m._default,{value:n,onValueChange:a,highlight:T,padding:10,readOnly:t,style:{fontFamily:'Consolas, Monaco, "Courier New", monospace',fontSize:13,lineHeight:"1.5",minHeight:Math.max(r-2,0),background:"transparent",color:"var(--nc-text)",whiteSpace:"pre",minWidth:"max-content",tabSize:h},textareaClassName:"code-editor-textarea"})})]})]})}exports.CodeEditor=S;exports.default=S;exports.detectLanguage=H;
36
- //# sourceMappingURL=code-editor.cjs.map
@@ -263,4 +263,3 @@ export {
263
263
  Q as default,
264
264
  K as detectLanguage
265
265
  };
266
- //# sourceMappingURL=code-editor.js.map
package/dist/icons.cjs CHANGED
@@ -1,2 +1 @@
1
1
  "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./GeneratedIcons-CGjL38ny.cjs");exports.CameraIcon=o.CameraIcon;exports.ChevronDownIcon=o.ChevronDownIcon;exports.ChevronLeftIcon=o.ChevronLeftIcon;exports.ChevronRightIcon=o.ChevronRightIcon;exports.CloseIcon=o.CloseIcon;exports.DoubleClickIcon=o.DoubleClickIcon;exports.EditIcon=o.EditIcon;exports.EmptyFolderIcon=o.EmptyFolderIcon;exports.ExternalLinkIcon=o.ExternalLinkIcon;exports.EyeHiddenIcon=o.EyeHiddenIcon;exports.HideAppsIcon=o.HideAppsIcon;exports.InfoIcon=o.InfoIcon;exports.LockIcon=o.LockIcon;exports.MinusIcon=o.MinusIcon;exports.MoreHorizontalIcon=o.MoreHorizontalIcon;exports.MoreIcon=o.MoreIcon;exports.PieChartIcon=o.PieChartIcon;exports.PlusIcon=o.PlusIcon;exports.PowerIcon=o.PowerIcon;exports.RefreshIcon=o.RefreshIcon;exports.RevertIcon=o.RevertIcon;exports.SearchIcon=o.SearchIcon;exports.TrashIcon=o.TrashIcon;exports.UnlockIcon=o.UnlockIcon;exports.ViewIcon=o.ViewIcon;exports.WifiIcon=o.WifiIcon;
2
- //# sourceMappingURL=icons.cjs.map
package/dist/icons.js CHANGED
@@ -27,4 +27,3 @@ export {
27
27
  w as ViewIcon,
28
28
  D as WifiIcon
29
29
  };
30
- //# sourceMappingURL=icons.js.map
@@ -3086,4 +3086,3 @@ export {
3086
3086
  fn as _,
3087
3087
  ht as t
3088
3088
  };
3089
- //# sourceMappingURL=index-BZJJwrMY.js.map
@@ -44,4 +44,3 @@ prismjs/prism.js:
44
44
  * @public
45
45
  *)
46
46
  */exports.Highlight2=pn;exports.Prism=o;exports._default=st;exports.themes_exports=Ke;
47
- //# sourceMappingURL=index-Isl3QL-U.cjs.map
package/dist/index.cjs CHANGED
@@ -5,4 +5,3 @@
5
5
  `).length,[t]),v=()=>{const m=[];for(let h=1;h<=x;h++)m.push(n.jsx("div",{className:`nc-csv-line-number ${d===h?"nc-csv-highlight":""}`,children:h},h));return n.jsx("div",{className:"nc-csv-gutter",ref:u,children:m})},y=m=>m?m.split(`
6
6
  `).map((g,N)=>{const A=g.split(" ");return n.jsxs("div",{className:`nc-csv-line ${d===N+1?"nc-csv-highlight":""}`,children:[A.map(($,L)=>n.jsxs("span",{children:[L>0&&n.jsx("span",{className:"nc-csv-tab-char",children:" "}),n.jsx("span",{style:{color:Oe[L%Oe.length]},children:$})]},L)),g===""&&`
7
7
  `]},N)}):null;return n.jsxs("div",{className:`nc-csv-textarea-container ${a?"nc-csv-with-gutter":""} ${o??""}`,style:i,children:[a&&v(),n.jsxs("div",{className:"nc-csv-textarea-editor",children:[n.jsx("div",{className:"nc-csv-textarea-backdrop",ref:w,children:n.jsx("pre",{className:"nc-csv-textarea-highlights",children:y(t)})}),n.jsx("textarea",{ref:f,className:"nc-csv-textarea-input",value:t,onChange:m=>{r(m.target.value),requestAnimationFrame(b)},onScroll:k,onSelect:b,onKeyUp:b,onClick:b,placeholder:s,spellCheck:!1,autoComplete:"off",autoCorrect:"off"})]})]})});let ae={notifications:[]};const Ne=new Set,Ge=new Map;function Se(){const e=ae.notifications.slice();for(const t of Array.from(Ne))try{t(e)}catch{}}function Qt(e){Ne.add(e);try{e(ae.notifications.slice())}catch{}return()=>{Ne.delete(e)}}function Zt(e){const t=`notification-${Date.now()}-${Math.random()}`,{duration:r,type:s,...o}=e,i={id:t,dismissible:!0,...o,type:s==="error"?"danger":s??"info",duration:r??5e3};return ae.notifications=[i,...ae.notifications],Se(),i.duration&&i.duration>0&&setTimeout(()=>{Je(t)},i.duration),t}function Je(e){const t=ae.notifications.find(s=>s.id===e);if(!t)return;t.isRemoving=!0,Se();const r=window.setTimeout(()=>{ae.notifications=ae.notifications.filter(s=>s.id!==e),Se(),Ge.delete(e)},300);Ge.set(e,r)}function en({type:e}){switch(e){case"success":return n.jsx("svg",{viewBox:"0 0 20 20",fill:"none","aria-hidden":"true",children:n.jsx("path",{d:"M5 10.5l3.1 3.1L15 6.8",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})});case"danger":return n.jsxs("svg",{viewBox:"0 0 20 20",fill:"none","aria-hidden":"true",children:[n.jsx("circle",{cx:"10",cy:"10",r:"7",stroke:"currentColor",strokeWidth:"2"}),n.jsx("path",{d:"M10 6.5v4.25",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round"}),n.jsx("circle",{cx:"10",cy:"13.75",r:"1",fill:"currentColor"})]});case"warning":return n.jsxs("svg",{viewBox:"0 0 20 20",fill:"none","aria-hidden":"true",children:[n.jsx("path",{d:"M10 3.5 16 15H4L10 3.5Z",stroke:"currentColor",strokeWidth:"2",strokeLinejoin:"round"}),n.jsx("path",{d:"M10 7.5v3.5",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round"}),n.jsx("circle",{cx:"10",cy:"13.25",r:"1",fill:"currentColor"})]});default:return n.jsxs("svg",{viewBox:"0 0 20 20",fill:"none","aria-hidden":"true",children:[n.jsx("circle",{cx:"10",cy:"10",r:"7",stroke:"currentColor",strokeWidth:"2"}),n.jsx("path",{d:"M10 9v4",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round"}),n.jsx("circle",{cx:"10",cy:"6.5",r:"1",fill:"currentColor"})]})}}function Qe({notification:e}){const{t}=te.useTranslation(),r=e.type||"info",s=()=>{if(e.title)return e.title;switch(r){case"success":return t("common.success");case"danger":return t("common.error");case"warning":return t("common.warning");default:return t("common.info")}},o=()=>{Je(e.id)};return n.jsx("div",{className:`nc-notification nc-notification-${r}`,children:n.jsxs("div",{className:"nc-notification-content",children:[n.jsx("div",{className:`nc-notification-icon nc-notification-icon-${r}`,children:n.jsx(en,{type:r})}),n.jsxs("div",{className:"nc-notification-body",children:[n.jsx("div",{className:"nc-notification-title",children:s()}),n.jsx("div",{className:"nc-notification-message",children:e.message})]}),e.dismissible&&n.jsx("button",{className:"nc-notification-dismiss",onClick:o,"aria-label":t("common.close"),children:n.jsx(X.CloseIcon,{size:16})})]})})}function tn(){const[e,t]=l.useState([]),[r,s]=l.useState(new Map),[o,i]=l.useState(new Set),a=l.useRef(null),c=l.useRef([]);return l.useEffect(()=>Qt(p=>{const f=new Set(c.current.map(u=>u.id)),w=p.filter(u=>!f.has(u.id)).map(u=>u.id);w.length>0?(t(p),i(new Set(w)),requestAnimationFrame(()=>{requestAnimationFrame(()=>{i(new Set)})})):t(p),c.current=p}),[]),l.useEffect(()=>{if(!a.current)return;const d=new Map;let p=0;const f=a.current.children;e.forEach((w,u)=>{if(d.set(w.id,p),f[u]){const b=f[u].offsetHeight;w.isRemoving||(p+=b+12)}}),s(d)},[e]),n.jsx("div",{style:{position:"fixed",top:"24px",left:"24px",zIndex:9999,pointerEvents:"none",width:"min(340px, calc(100vw - 32px))"},children:n.jsx("div",{ref:a,style:{pointerEvents:"auto",position:"relative",width:"100%"},children:e.map(d=>{const p=o.has(d.id),f=d.isRemoving,w=r.get(d.id)||0;return n.jsx("div",{style:{position:"absolute",top:0,left:0,transform:p?`translate3d(-40px, ${w}px, 0)`:`translate3d(0, ${w}px, 0)`,transition:f?"opacity 300ms ease-out":"transform 300ms ease-out, opacity 300ms ease-out",opacity:f?0:1,width:"100%"},children:n.jsx(Qe,{notification:d})},d.id)})})})}function Ze(e){return Zt(e)}const nn={show:e=>Ze(e)};function rn(e){const t=ht.createInstance(),r={};for(const o in e)r[o]={translation:e[o]};const s=typeof document<"u"&&document.documentElement.lang||"en";return t.init({resources:r,lng:s,fallbackLng:"en",interpolation:{escapeValue:!1}}),typeof MutationObserver<"u"&&typeof document<"u"&&new MutationObserver(i=>{for(const a of i)if(a.type==="attributes"&&a.attributeName==="lang"){const c=document.documentElement.lang||"en";t.changeLanguage(c)}}).observe(document.documentElement,{attributes:!0}),t}class sn{constructor(){ne(this,"apps",new Map)}register(t){this.apps.has(t.id)&&console.warn(`App "${t.id}" is already registered. Overwriting.`),this.apps.set(t.id,{...t,width:t.width??400,padding:t.padding??0})}unregister(t){this.apps.delete(t)}get(t){return this.apps.get(t)}list(){return Array.from(this.apps.values())}has(t){return this.apps.has(t)}}const le=new sn,Ye="nc-ui-app-state";class on{constructor(){ne(this,"state");ne(this,"listeners",new Map);this.state=this.loadState()}loadState(){try{const t=localStorage.getItem(Ye);if(t)return JSON.parse(t)}catch{}return{activeAppId:null}}saveState(){try{localStorage.setItem(Ye,JSON.stringify(this.state))}catch{}}getActiveAppId(){return this.state.activeAppId}_setActiveAppId(t){this.state.activeAppId!==t&&(this.state.activeAppId=t,this.saveState(),this.notify("activeAppId",t))}subscribe(t,r){return this.listeners.has(t)||this.listeners.set(t,new Set),this.listeners.get(t).add(r),()=>{var s;(s=this.listeners.get(t))==null||s.delete(r)}}notify(t,r){var s;(s=this.listeners.get(t))==null||s.forEach(o=>o(r))}}const Q=new on;class cn{constructor(){ne(this,"apps",[]);ne(this,"activeAppId",null);ne(this,"listeners",new Set);ne(this,"refReadyResolvers",new Map)}async launchApp(t,r){const{launchInBackground:s=!1}=r||{};if(!le.has(t))return console.error(`Cannot launch app "${t}": not registered`),null;const o=this.apps.find(a=>a.appId===t);if(o)return s||(this.setActiveApp(t),Q._setActiveAppId(t)),o.ref?o:this.waitForRef(t);const i={appId:t,launchedAt:Date.now()};return this.apps.push(i),s||(this.activeAppId=t,Q._setActiveAppId(t)),this.notify(),this.waitForRef(t)}waitForRef(t){return new Promise(r=>{const s=this.refReadyResolvers.get(t)||[];s.push(r),this.refReadyResolvers.set(t,s)})}setAppRef(t,r){const s=this.apps.find(i=>i.appId===t);if(!s){console.warn(`Cannot set ref for app "${t}": not running`);return}s.ref=r;const o=this.refReadyResolvers.get(t);o&&(o.forEach(i=>i(s)),this.refReadyResolvers.delete(t))}getApp(t){return this.apps.find(r=>r.appId===t)}closeApp(t){const r=this.apps.findIndex(o=>o.appId===t);if(r===-1)return;const s=this.apps[r];if(s.ref&&(s.ref=void 0),this.apps.splice(r,1),this.activeAppId===t){const o=window.innerWidth>=768;this.activeAppId=o&&this.apps.length>0?this.apps[this.apps.length-1].appId:null,Q._setActiveAppId(this.activeAppId)}this.notify()}setActiveApp(t){if(t!==null&&!this.apps.find(r=>r.appId===t)){console.warn(`Cannot activate app "${t}": not running`);return}this.activeAppId!==t&&(this.activeAppId=t,this.notify(),Q._setActiveAppId(t))}toggleApp(t){this.activeAppId===t?this.setActiveApp(null):this.launchApp(t)}getActiveAppId(){return this.activeAppId}getActiveApp(){return this.activeAppId?le.get(this.activeAppId)??null:null}getRunningApps(){return[...this.apps]}isRunning(t){return this.apps.some(r=>r.appId===t)}subscribe(t){return this.listeners.add(t),()=>{this.listeners.delete(t)}}notify(){this.listeners.forEach(t=>t())}}const q=new cn,Me=l.createContext(null);function et(){const e=l.useContext(Me);if(!e)throw new Error("useApp must be used inside an App");return e}function an({size:e=16}){return n.jsxs("svg",{width:e,height:e,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",children:[n.jsx("path",{d:"M19 12H5"}),n.jsx("path",{d:"M12 19l-7-7 7-7"})]})}function tt({title:e,onClose:t,onBack:r,toolbar:s,hideBackButton:o}){const i=r&&!o;return n.jsxs("div",{className:"nc-app-title-bar",children:[n.jsxs("div",{className:"nc-app-title-bar-left",children:[i&&n.jsx("button",{className:"nc-app-title-bar-back",onClick:r,title:"Back","aria-label":"Go back",children:n.jsx(an,{size:16})}),n.jsx("span",{className:"nc-app-title-bar-title",children:e})]}),n.jsxs("div",{className:"nc-app-title-bar-right",children:[s&&n.jsx("div",{className:"nc-app-title-bar-toolbar",children:s}),n.jsx(Re,{onClick:t,"aria-label":"Close application"})]})]})}class ln extends l.Component{constructor(t){super(t),this.state={hasError:!1}}static getDerivedStateFromError(t){return{hasError:!0,error:t}}componentDidCatch(t,r){console.error(`Error loading app ${this.props.appId}:`,t,r)}render(){return this.state.hasError?n.jsxs("div",{className:"nc-app-error",children:[n.jsx("div",{children:"Failed to load app"}),this.state.error&&n.jsx("div",{style:{fontSize:"12px",opacity:.7},children:this.state.error.message})]}):this.props.children}}function Ie({appId:e,isActive:t,onClose:r}){const{t:s}=te.useTranslation(),o=le.get(e),[i,a]=l.useState(""),[c,d]=l.useState(null),[p,f]=l.useState(null),[w,u]=l.useState(!1),[b,k]=l.useState(!1);l.useEffect(()=>{o!=null&&o.titleKey&&a(s(o.titleKey))},[o,s]);const x=l.useCallback(S=>{a(S)},[]),v=l.useCallback(S=>{d(()=>S)},[]),y=l.useCallback(()=>{d(null)},[]),m=l.useCallback(S=>{f(S)},[]),h=l.useCallback(()=>{f(null)},[]),g=l.useCallback(S=>{u(S)},[]),N=l.useCallback(S=>{k(S)},[]),A=l.useMemo(()=>({setTitle:x,setBackHandler:v,clearBackHandler:y,setToolbar:m,clearToolbar:h,setHideBackButton:g,setHideTitleBar:N,close:r}),[x,v,y,m,h,g,N,r]);if(!o)return null;const $=o.component,L=!o.hideTitleBar&&!b;return n.jsxs("div",{className:`nc-app-container${t?"":" nc-hidden"}`,children:[L&&n.jsx(tt,{title:i,onClose:r,onBack:c??void 0,toolbar:p,hideBackButton:w}),n.jsx("div",{className:"nc-app-content-wrapper",style:{padding:o.padding,overflowY:L?"auto":void 0},children:n.jsx(Me.Provider,{value:A,children:n.jsx(ln,{appId:e,children:n.jsx(l.Suspense,{fallback:n.jsx("div",{className:"nc-app-loading",children:n.jsx(Ce,{})}),children:n.jsx($,{})})})})})]})}const ye=768,je=1024,nt={isMobile:!1,isTablet:!1,isDesktop:!0,width:typeof window<"u"?window.innerWidth:1024,height:typeof window<"u"?window.innerHeight:768},rt=l.createContext(nt);function dn({children:e}){const[t,r]=l.useState(()=>{if(typeof window>"u")return nt;const s=window.innerWidth,o=window.innerHeight;return{isMobile:s<ye,isTablet:s>=ye&&s<je,isDesktop:s>=je,width:s,height:o}});return l.useEffect(()=>{const s=()=>{const o=window.innerWidth,i=window.innerHeight;r({isMobile:o<ye,isTablet:o>=ye&&o<je,isDesktop:o>=je,width:o,height:i})};return window.addEventListener("resize",s),()=>window.removeEventListener("resize",s)},[]),n.jsx(rt.Provider,{value:t,children:e})}function Ee(){return l.useContext(rt)}const $e="-",un=e=>{const t=fn(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:s}=e;return{getClassGroupId:a=>{const c=a.split($e);return c[0]===""&&c.length!==1&&c.shift(),st(c,t)||pn(a)},getConflictingClassGroupIds:(a,c)=>{const d=r[a]||[];return c&&s[a]?[...d,...s[a]]:d}}},st=(e,t)=>{var a;if(e.length===0)return t.classGroupId;const r=e[0],s=t.nextPart.get(r),o=s?st(e.slice(1),s):void 0;if(o)return o;if(t.validators.length===0)return;const i=e.join($e);return(a=t.validators.find(({validator:c})=>c(i)))==null?void 0:a.classGroupId},Ke=/^\[(.+)\]$/,pn=e=>{if(Ke.test(e)){const t=Ke.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},fn=e=>{const{theme:t,prefix:r}=e,s={nextPart:new Map,validators:[]};return mn(Object.entries(e.classGroups),r).forEach(([i,a])=>{Ae(a,s,i,t)}),s},Ae=(e,t,r,s)=>{e.forEach(o=>{if(typeof o=="string"){const i=o===""?t:_e(t,o);i.classGroupId=r;return}if(typeof o=="function"){if(hn(o)){Ae(o(s),t,r,s);return}t.validators.push({validator:o,classGroupId:r});return}Object.entries(o).forEach(([i,a])=>{Ae(a,_e(t,i),r,s)})})},_e=(e,t)=>{let r=e;return t.split($e).forEach(s=>{r.nextPart.has(s)||r.nextPart.set(s,{nextPart:new Map,validators:[]}),r=r.nextPart.get(s)}),r},hn=e=>e.isThemeGetter,mn=(e,t)=>t?e.map(([r,s])=>{const o=s.map(i=>typeof i=="string"?t+i:typeof i=="object"?Object.fromEntries(Object.entries(i).map(([a,c])=>[t+a,c])):i);return[r,o]}):e,gn=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,s=new Map;const o=(i,a)=>{r.set(i,a),t++,t>e&&(t=0,s=r,r=new Map)};return{get(i){let a=r.get(i);if(a!==void 0)return a;if((a=s.get(i))!==void 0)return o(i,a),a},set(i,a){r.has(i)?r.set(i,a):o(i,a)}}},ot="!",bn=e=>{const{separator:t,experimentalParseClassName:r}=e,s=t.length===1,o=t[0],i=t.length,a=c=>{const d=[];let p=0,f=0,w;for(let v=0;v<c.length;v++){let y=c[v];if(p===0){if(y===o&&(s||c.slice(v,v+i)===t)){d.push(c.slice(f,v)),f=v+i;continue}if(y==="/"){w=v;continue}}y==="["?p++:y==="]"&&p--}const u=d.length===0?c:c.substring(f),b=u.startsWith(ot),k=b?u.substring(1):u,x=w&&w>f?w-f:void 0;return{modifiers:d,hasImportantModifier:b,baseClassName:k,maybePostfixModifierPosition:x}};return r?c=>r({className:c,parseClassName:a}):a},xn=e=>{if(e.length<=1)return e;const t=[];let r=[];return e.forEach(s=>{s[0]==="["?(t.push(...r.sort(),s),r=[]):r.push(s)}),t.push(...r.sort()),t},vn=e=>({cache:gn(e.cacheSize),parseClassName:bn(e),...un(e)}),wn=/\s+/,yn=(e,t)=>{const{parseClassName:r,getClassGroupId:s,getConflictingClassGroupIds:o}=t,i=[],a=e.trim().split(wn);let c="";for(let d=a.length-1;d>=0;d-=1){const p=a[d],{modifiers:f,hasImportantModifier:w,baseClassName:u,maybePostfixModifierPosition:b}=r(p);let k=!!b,x=s(k?u.substring(0,b):u);if(!x){if(!k){c=p+(c.length>0?" "+c:c);continue}if(x=s(u),!x){c=p+(c.length>0?" "+c:c);continue}k=!1}const v=xn(f).join(":"),y=w?v+ot:v,m=y+x;if(i.includes(m))continue;i.push(m);const h=o(x,k);for(let g=0;g<h.length;++g){const N=h[g];i.push(y+N)}c=p+(c.length>0?" "+c:c)}return c};function jn(){let e=0,t,r,s="";for(;e<arguments.length;)(t=arguments[e++])&&(r=it(t))&&(s&&(s+=" "),s+=r);return s}const it=e=>{if(typeof e=="string")return e;let t,r="";for(let s=0;s<e.length;s++)e[s]&&(t=it(e[s]))&&(r&&(r+=" "),r+=t);return r};function kn(e,...t){let r,s,o,i=a;function a(d){const p=t.reduce((f,w)=>w(f),e());return r=vn(p),s=r.cache.get,o=r.cache.set,i=c,c(d)}function c(d){const p=s(d);if(p)return p;const f=yn(d,r);return o(d,f),f}return function(){return i(jn.apply(null,arguments))}}const O=e=>{const t=r=>r[e]||[];return t.isThemeGetter=!0,t},ct=/^\[(?:([a-z-]+):)?(.+)\]$/i,Nn=/^\d+\/\d+$/,Sn=new Set(["px","full","screen"]),An=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Cn=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Rn=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,Mn=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,In=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,ee=e=>ue(e)||Sn.has(e)||Nn.test(e),re=e=>pe(e,"length",Dn),ue=e=>!!e&&!Number.isNaN(Number(e)),ke=e=>pe(e,"number",ue),ge=e=>!!e&&Number.isInteger(Number(e)),En=e=>e.endsWith("%")&&ue(e.slice(0,-1)),R=e=>ct.test(e),se=e=>An.test(e),$n=new Set(["length","size","percentage"]),Tn=e=>pe(e,$n,at),Pn=e=>pe(e,"position",at),Ln=new Set(["image","url"]),Bn=e=>pe(e,Ln,Wn),zn=e=>pe(e,"",Vn),be=()=>!0,pe=(e,t,r)=>{const s=ct.exec(e);return s?s[1]?typeof t=="string"?s[1]===t:t.has(s[1]):r(s[2]):!1},Dn=e=>Cn.test(e)&&!Rn.test(e),at=()=>!1,Vn=e=>Mn.test(e),Wn=e=>In.test(e),Hn=()=>{const e=O("colors"),t=O("spacing"),r=O("blur"),s=O("brightness"),o=O("borderColor"),i=O("borderRadius"),a=O("borderSpacing"),c=O("borderWidth"),d=O("contrast"),p=O("grayscale"),f=O("hueRotate"),w=O("invert"),u=O("gap"),b=O("gradientColorStops"),k=O("gradientColorStopPositions"),x=O("inset"),v=O("margin"),y=O("opacity"),m=O("padding"),h=O("saturate"),g=O("scale"),N=O("sepia"),A=O("skew"),$=O("space"),L=O("translate"),S=()=>["auto","contain","none"],T=()=>["auto","hidden","clip","visible","scroll"],j=()=>["auto",R,t],C=()=>[R,t],P=()=>["",ee,re],V=()=>["auto",ue,R],M=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],E=()=>["solid","dashed","dotted","double","none"],D=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],K=()=>["start","end","center","between","around","evenly","stretch"],W=()=>["","0",R],G=()=>["auto","avoid","all","avoid-page","page","left","right","column"],B=()=>[ue,R];return{cacheSize:500,separator:":",theme:{colors:[be],spacing:[ee,re],blur:["none","",se,R],brightness:B(),borderColor:[e],borderRadius:["none","","full",se,R],borderSpacing:C(),borderWidth:P(),contrast:B(),grayscale:W(),hueRotate:B(),invert:W(),gap:C(),gradientColorStops:[e],gradientColorStopPositions:[En,re],inset:j(),margin:j(),opacity:B(),padding:C(),saturate:B(),scale:B(),sepia:W(),skew:B(),space:C(),translate:C()},classGroups:{aspect:[{aspect:["auto","square","video",R]}],container:["container"],columns:[{columns:[se]}],"break-after":[{"break-after":G()}],"break-before":[{"break-before":G()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...M(),R]}],overflow:[{overflow:T()}],"overflow-x":[{"overflow-x":T()}],"overflow-y":[{"overflow-y":T()}],overscroll:[{overscroll:S()}],"overscroll-x":[{"overscroll-x":S()}],"overscroll-y":[{"overscroll-y":S()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[x]}],"inset-x":[{"inset-x":[x]}],"inset-y":[{"inset-y":[x]}],start:[{start:[x]}],end:[{end:[x]}],top:[{top:[x]}],right:[{right:[x]}],bottom:[{bottom:[x]}],left:[{left:[x]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",ge,R]}],basis:[{basis:j()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",R]}],grow:[{grow:W()}],shrink:[{shrink:W()}],order:[{order:["first","last","none",ge,R]}],"grid-cols":[{"grid-cols":[be]}],"col-start-end":[{col:["auto",{span:["full",ge,R]},R]}],"col-start":[{"col-start":V()}],"col-end":[{"col-end":V()}],"grid-rows":[{"grid-rows":[be]}],"row-start-end":[{row:["auto",{span:[ge,R]},R]}],"row-start":[{"row-start":V()}],"row-end":[{"row-end":V()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",R]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",R]}],gap:[{gap:[u]}],"gap-x":[{"gap-x":[u]}],"gap-y":[{"gap-y":[u]}],"justify-content":[{justify:["normal",...K()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...K(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...K(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[m]}],px:[{px:[m]}],py:[{py:[m]}],ps:[{ps:[m]}],pe:[{pe:[m]}],pt:[{pt:[m]}],pr:[{pr:[m]}],pb:[{pb:[m]}],pl:[{pl:[m]}],m:[{m:[v]}],mx:[{mx:[v]}],my:[{my:[v]}],ms:[{ms:[v]}],me:[{me:[v]}],mt:[{mt:[v]}],mr:[{mr:[v]}],mb:[{mb:[v]}],ml:[{ml:[v]}],"space-x":[{"space-x":[$]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[$]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",R,t]}],"min-w":[{"min-w":[R,t,"min","max","fit"]}],"max-w":[{"max-w":[R,t,"none","full","min","max","fit","prose",{screen:[se]},se]}],h:[{h:[R,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[R,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[R,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[R,t,"auto","min","max","fit"]}],"font-size":[{text:["base",se,re]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",ke]}],"font-family":[{font:[be]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",R]}],"line-clamp":[{"line-clamp":["none",ue,ke]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",ee,R]}],"list-image":[{"list-image":["none",R]}],"list-style-type":[{list:["none","disc","decimal",R]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[y]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[y]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...E(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",ee,re]}],"underline-offset":[{"underline-offset":["auto",ee,R]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:C()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",R]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",R]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[y]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...M(),Pn]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Tn]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Bn]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[k]}],"gradient-via-pos":[{via:[k]}],"gradient-to-pos":[{to:[k]}],"gradient-from":[{from:[b]}],"gradient-via":[{via:[b]}],"gradient-to":[{to:[b]}],rounded:[{rounded:[i]}],"rounded-s":[{"rounded-s":[i]}],"rounded-e":[{"rounded-e":[i]}],"rounded-t":[{"rounded-t":[i]}],"rounded-r":[{"rounded-r":[i]}],"rounded-b":[{"rounded-b":[i]}],"rounded-l":[{"rounded-l":[i]}],"rounded-ss":[{"rounded-ss":[i]}],"rounded-se":[{"rounded-se":[i]}],"rounded-ee":[{"rounded-ee":[i]}],"rounded-es":[{"rounded-es":[i]}],"rounded-tl":[{"rounded-tl":[i]}],"rounded-tr":[{"rounded-tr":[i]}],"rounded-br":[{"rounded-br":[i]}],"rounded-bl":[{"rounded-bl":[i]}],"border-w":[{border:[c]}],"border-w-x":[{"border-x":[c]}],"border-w-y":[{"border-y":[c]}],"border-w-s":[{"border-s":[c]}],"border-w-e":[{"border-e":[c]}],"border-w-t":[{"border-t":[c]}],"border-w-r":[{"border-r":[c]}],"border-w-b":[{"border-b":[c]}],"border-w-l":[{"border-l":[c]}],"border-opacity":[{"border-opacity":[y]}],"border-style":[{border:[...E(),"hidden"]}],"divide-x":[{"divide-x":[c]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[c]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[y]}],"divide-style":[{divide:E()}],"border-color":[{border:[o]}],"border-color-x":[{"border-x":[o]}],"border-color-y":[{"border-y":[o]}],"border-color-s":[{"border-s":[o]}],"border-color-e":[{"border-e":[o]}],"border-color-t":[{"border-t":[o]}],"border-color-r":[{"border-r":[o]}],"border-color-b":[{"border-b":[o]}],"border-color-l":[{"border-l":[o]}],"divide-color":[{divide:[o]}],"outline-style":[{outline:["",...E()]}],"outline-offset":[{"outline-offset":[ee,R]}],"outline-w":[{outline:[ee,re]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:P()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[y]}],"ring-offset-w":[{"ring-offset":[ee,re]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",se,zn]}],"shadow-color":[{shadow:[be]}],opacity:[{opacity:[y]}],"mix-blend":[{"mix-blend":[...D(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":D()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[s]}],contrast:[{contrast:[d]}],"drop-shadow":[{"drop-shadow":["","none",se,R]}],grayscale:[{grayscale:[p]}],"hue-rotate":[{"hue-rotate":[f]}],invert:[{invert:[w]}],saturate:[{saturate:[h]}],sepia:[{sepia:[N]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[s]}],"backdrop-contrast":[{"backdrop-contrast":[d]}],"backdrop-grayscale":[{"backdrop-grayscale":[p]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[f]}],"backdrop-invert":[{"backdrop-invert":[w]}],"backdrop-opacity":[{"backdrop-opacity":[y]}],"backdrop-saturate":[{"backdrop-saturate":[h]}],"backdrop-sepia":[{"backdrop-sepia":[N]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[a]}],"border-spacing-x":[{"border-spacing-x":[a]}],"border-spacing-y":[{"border-spacing-y":[a]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",R]}],duration:[{duration:B()}],ease:[{ease:["linear","in","out","in-out",R]}],delay:[{delay:B()}],animate:[{animate:["none","spin","ping","pulse","bounce",R]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[g]}],"scale-x":[{"scale-x":[g]}],"scale-y":[{"scale-y":[g]}],rotate:[{rotate:[ge,R]}],"translate-x":[{"translate-x":[L]}],"translate-y":[{"translate-y":[L]}],"skew-x":[{"skew-x":[A]}],"skew-y":[{"skew-y":[A]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",R]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",R]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":C()}],"scroll-mx":[{"scroll-mx":C()}],"scroll-my":[{"scroll-my":C()}],"scroll-ms":[{"scroll-ms":C()}],"scroll-me":[{"scroll-me":C()}],"scroll-mt":[{"scroll-mt":C()}],"scroll-mr":[{"scroll-mr":C()}],"scroll-mb":[{"scroll-mb":C()}],"scroll-ml":[{"scroll-ml":C()}],"scroll-p":[{"scroll-p":C()}],"scroll-px":[{"scroll-px":C()}],"scroll-py":[{"scroll-py":C()}],"scroll-ps":[{"scroll-ps":C()}],"scroll-pe":[{"scroll-pe":C()}],"scroll-pt":[{"scroll-pt":C()}],"scroll-pr":[{"scroll-pr":C()}],"scroll-pb":[{"scroll-pb":C()}],"scroll-pl":[{"scroll-pl":C()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",R]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[ee,re,ke]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}},Fn=kn(Hn);function lt(...e){return Fn(mt.clsx(e))}function On({autoWidth:e=!0,className:t,style:r}){const[s,o]=l.useState(()=>Q.getActiveAppId()),[i,a]=l.useState(()=>q.getRunningApps()),{isMobile:c}=Ee();l.useEffect(()=>{const v=Q.subscribe("activeAppId",y=>{o(y)});return()=>{v()}},[]),l.useEffect(()=>q.subscribe(()=>{a(q.getRunningApps())}),[]),l.useEffect(()=>{if(!new URLSearchParams(window.location.search).has("app")){const m=Q.getActiveAppId();m&&!q.isRunning(m)&&q.launchApp(m)}},[]);const d=v=>{q.closeApp(v)},p=s?le.get(s):null,w=(p==null?void 0:p.width)??400,u=s!==null,x={...{overflow:"hidden",display:u?"flex":"none",flexDirection:"column",flexShrink:0,...e&&u?{width:c?"100%":w}:{}},...r};return n.jsx("div",{className:lt("nc-app-panel",t),style:x,children:i.map(v=>n.jsx(Ie,{appId:v.appId,isActive:s===v.appId,onClose:()=>d(v.appId)},v.appId))})}function Gn({pinnedAppIds:e,className:t="",showIndicators:r=!0,side:s="left",getBadge:o}){const{t:i}=te.useTranslation(),{isMobile:a}=Ee(),[c,d]=l.useState(()=>Q.getActiveAppId()),[p,f]=l.useState(()=>q.getRunningApps());l.useEffect(()=>{const h=Q.subscribe("activeAppId",g=>{d(g)});return()=>{h()}},[]),l.useEffect(()=>q.subscribe(()=>{f(q.getRunningApps())}),[]);const w=h=>{c===h?q.setActiveApp(null):q.launchApp(h)},u=e.map(h=>le.get(h)).filter(h=>!!h),b=p.filter(h=>!e.includes(h.appId)).map(h=>({running:h,def:le.get(h.appId)})).filter(h=>!!h.def),k=h=>p.some(g=>g.appId===h),x=h=>h.titleKey?String(i(h.titleKey)):h.id,v=h=>typeof h=="number"&&h>99?"99+":h,y=(h,g)=>{const N=o==null?void 0:o(h,g);return N?n.jsx("span",{className:`nc-app-taskbar-badge nc-${N.tone??"default"}`,"aria-label":N.ariaLabel,children:v(N.content)}):null},m=a?24:28;return n.jsxs("div",{className:`nc-app-taskbar ${a?"nc-mobile":"nc-desktop"} nc-${s} ${t}`,children:[u.map(h=>{const g=h.icon,N=c===h.id,A=k(h.id),$={isActive:N,isRunning:A,isPinned:!0};return n.jsxs("button",{className:`nc-app-taskbar-button ${N?"nc-active":""} ${A?"nc-running":""}`,onClick:()=>w(h.id),title:x(h),children:[n.jsx(g,{size:m}),y(h,$),r&&A&&n.jsx("span",{className:"nc-app-taskbar-indicator"})]},h.id)}),b.length>0&&n.jsx("div",{className:"nc-app-taskbar-separator"}),b.map(({running:h,def:g})=>{const N=g.icon,A=c===h.appId,$={isActive:A,isRunning:!0,isPinned:!1};return n.jsxs("button",{className:`nc-app-taskbar-button ${A?"nc-active":""} nc-running`,onClick:()=>w(h.appId),title:x(g),children:[n.jsx(N,{size:m}),y(g,$),r&&n.jsx("span",{className:"nc-app-taskbar-indicator"})]},h.appId)})]})}function Yn({appId:e,open:t,onClose:r,closeOnBackdrop:s=!1,className:o="",style:i}){const a=d=>{s&&d.target===d.currentTarget&&r()};if(!t)return null;const c=n.jsx("div",{className:"nc-dialog-overlay nc-fullscreen",onClick:a,children:n.jsx("div",{className:`nc-app-dialog-container ${o}`,style:i,onClick:d=>d.stopPropagation(),children:n.jsx(Ie,{appId:e,isActive:!0,onClose:r})})});return ve.createPortal(c,document.body)}const Te=l.createContext(null),dt=l.createContext(null);function Kn(){const e=l.useContext(Te);if(!e)throw new Error("useNavStack must be used within a NavStackProvider");return e}function _n(){const e=l.useContext(dt);if(!e)throw new Error("useNavView must be used within NavStack");return e}const Pe=l.createContext(null);function Un({rootView:e,children:t}){const{t:r}=te.useTranslation(),s=et(),[o,i]=l.useState([e]),[a,c]=l.useState([null]),d=l.useCallback((g,N)=>{c(A=>{const $=[...A];return $[g]=N,$})},[]),p=l.useCallback(g=>{c(N=>{const A=[...N];return A[g]=null,A})},[]),f=l.useCallback(g=>{i(N=>[...N,g]),c(N=>[...N,null])},[]),w=l.useCallback(()=>{i(g=>g.length<=1?g:g.slice(0,-1)),c(g=>g.slice(0,-1))},[]),u=l.useCallback(()=>{i([e]),c([null])},[e]),b=o.length,k=b>1,x=o.length-1,v=o[o.length-1],y=v!=null&&v.titleKey?r(v.titleKey):(v==null?void 0:v.title)??"";l.useEffect(()=>{s.setTitle(y)},[y,s]),l.useEffect(()=>{k?s.setBackHandler(w):s.clearBackHandler()},[k,w,s]),l.useEffect(()=>{const g=a[a.length-1];g?s.setToolbar(g):s.clearToolbar()},[a,s]);const m={push:f,pop:w,reset:u,depth:b,canGoBack:k,currentTitle:y},h={stack:o,toolbarStack:a,updateToolbar:d,clearToolbarAt:p,topIndex:x};return n.jsx(Te.Provider,{value:m,children:n.jsx(Pe.Provider,{value:h,children:t})})}function qn({index:e,children:t}){const r=l.useContext(Pe);if(!r)throw new Error("NavViewProvider must be used within NavStackProvider");const{updateToolbar:s,clearToolbarAt:o,topIndex:i}=r,a=l.useCallback(p=>{e===i&&s(e,p)},[e,i,s]),c=l.useCallback(()=>{e===i&&o(e)},[e,i,o]),d={setToolbar:a,clearToolbar:c};return n.jsx(dt.Provider,{value:d,children:t})}function Xn(){const e=l.useContext(Te),t=l.useContext(Pe);if(!e||!t)throw new Error("NavStackContainer must be used within a NavStackProvider");const{stack:r}=t;return n.jsx("div",{className:"nav-stack-container",children:n.jsx("div",{className:"nav-stack-content",children:r.map((s,o)=>{const i=o===r.length-1;return n.jsx(qn,{index:o,children:n.jsx("div",{style:{display:i?"flex":"none",flexDirection:"column",height:"100%"},children:s.component})},s.id)})})})}exports.ActivityIndicator=Ce;exports.Alert=bt;exports.AppContainer=Ie;exports.AppContext=Me;exports.AppDialog=Yn;exports.AppPanel=On;exports.AppTaskbar=Gn;exports.AppTitleBar=tt;exports.Battery=xt;exports.Button=J;exports.ButtonGroup=vt;exports.Checkbox=yt;exports.CloseButton=Re;exports.ComboBox=At;exports.ContextMenu=Et;exports.CsvTextArea=Jt;exports.Dialog=$t;exports.DialogClose=ce;exports.EditButton=Rt;exports.Hyperlink=It;exports.Input=Lt;exports.ListGroup=zt;exports.ListGroupItem=Bt;exports.MonthRangePicker=Vt;exports.MultiSelect=Dt;exports.NavStackContainer=Xn;exports.NavStackProvider=Un;exports.Notification=Qe;exports.NotificationContainer=tn;exports.NumberInput=Ft;exports.RefreshButton=Ct;exports.Slider=Ot;exports.TabPanel=Xe;exports.TabPanels=Yt;exports.Tabs=Kt;exports.Toggle=_t;exports.TrashButton=Mt;exports.ViewportProvider=dn;exports.appRegistry=le;exports.appStateStore=Q;exports.cn=lt;exports.createAppI18nFactory=rn;exports.notificationManager=nn;exports.runningAppsStore=q;exports.showNotification=Ze;exports.useApp=et;exports.useDialog=qe;exports.useNavStack=Kn;exports.useNavView=_n;exports.useViewport=Ee;
8
- //# sourceMappingURL=index.cjs.map
package/dist/index.js CHANGED
@@ -4871,4 +4871,3 @@ export {
4871
4871
  Ar as useNavView,
4872
4872
  it as useViewport
4873
4873
  };
4874
- //# sourceMappingURL=index.js.map
package/dist/yaml.cjs CHANGED
@@ -153,4 +153,3 @@ ${t.comment}`:t.comment}this.doc.range[2]=t.offset;break}default:this.errors.pus
153
153
  color: var(--nc-text-weak) !important;
154
154
  }
155
155
  `}),q.jsxs("div",{className:`nc-yaml-textarea-container${f?" error":""}`,style:{border:`1px solid ${f?"var(--nc-danger)":"var(--nc-border)"}`,background:s?"var(--nc-bg-secondary)":"var(--nc-bg-tertiary)",minHeight:i,maxHeight:r},children:[q.jsx("div",{ref:D,style:{padding:"10px 8px",paddingRight:12,background:"var(--nc-bg-tertiary)",borderRight:"1px solid var(--nc-border)",color:"var(--nc-text-weak)",fontFamily:'Consolas, Monaco, "Courier New", monospace',fontSize:13,lineHeight:"1.5",textAlign:"right",userSelect:"none",whiteSpace:"pre",minWidth:40,overflow:"hidden"},children:N}),q.jsx("div",{ref:_,className:`yaml-editor-container${s?" read-only":""}`,style:{flex:1,overflowX:"auto",overflowY:"auto",color:"var(--nc-text)"},onScroll:R,children:q.jsx(ce._default,{value:n,onValueChange:b,highlight:E,padding:10,readOnly:s,style:{fontFamily:'Consolas, Monaco, "Courier New", monospace',fontSize:13,lineHeight:"1.5",minHeight:Math.max(i-2,0),background:"transparent",color:"var(--nc-text)",whiteSpace:"pre",minWidth:"max-content"},textareaClassName:"yaml-editor-textarea"})})]}),f&&q.jsxs("div",{style:{color:"var(--nc-danger)",fontSize:12,padding:"4px 8px",background:"color-mix(in srgb, var(--nc-danger) 10%, transparent)",borderRadius:4},children:["Line ",f.line,": ",f.message]})]})}exports.YamlTextArea=Ts;exports.default=Ts;
156
- //# sourceMappingURL=yaml.cjs.map
package/dist/yaml.js CHANGED
@@ -4785,4 +4785,3 @@ export {
4785
4785
  Xn as YamlTextArea,
4786
4786
  Xn as default
4787
4787
  };
4788
- //# sourceMappingURL=yaml.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kingsimba/nc-ui",
3
- "version": "0.1.43",
3
+ "version": "0.1.44",
4
4
  "type": "module",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.js",
@@ -1 +0,0 @@
1
- {"version":3,"file":"GeneratedIcons-CGjL38ny.cjs","sources":["../src/components/icons/GeneratedIcons.tsx"],"sourcesContent":["/**\n * Auto-generated and custom icons for the application.\n */\n\nimport React from 'react';\n\ninterface IconProps {\n size?: number;\n className?: string;\n style?: React.CSSProperties;\n color?: string;\n strokeWidth?: number;\n}\n\n/**\n * Close icon - X symbol for closing dialogs, modals, or dismissing content.\n */\nexport function CloseIcon({ size = 24, color = 'currentColor', strokeWidth = 2, className, style }: IconProps & { color?: string; strokeWidth?: number }) {\n return (\n <svg\n width={size}\n height={size}\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke={color}\n strokeWidth={strokeWidth}\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n className={className}\n style={style}\n >\n <line x1=\"20\" y1=\"4\" x2=\"4\" y2=\"20\" />\n <line x1=\"4\" y1=\"4\" x2=\"20\" y2=\"20\" />\n </svg>\n );\n}\n\n/**\n * External Link icon - \"box with arrow\" icon for opening external links.\n */\nexport function ExternalLinkIcon({ size = 24, className, style }: IconProps) {\n return (\n <svg\n width={size}\n height={size}\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"currentColor\"\n strokeWidth={2}\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n className={className}\n style={style}\n >\n <path d=\"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h8\" />\n <polyline points=\"17 4 20 4 20 7\" />\n <line x1=\"13\" y1=\"11\" x2=\"20\" y2=\"4\" />\n </svg>\n );\n}\n\n/**\n * HideApps icon - \"Show Desktop\" style icon to collapse the right toolbar panel.\n * Similar to Windows \"Show Desktop\" button.\n */\nexport function HideAppsIcon({ size = 24, className, style }: IconProps) {\n return (\n <svg\n width={size}\n height={size}\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"currentColor\"\n strokeWidth={1.5}\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n className={className}\n style={style}\n >\n {/* Desktop/window frame */}\n <rect x=\"3\" y=\"4\" width=\"18\" height=\"14\" rx=\"2\" />\n {/* Desktop stand */}\n <line x1=\"8\" y1=\"21\" x2=\"16\" y2=\"21\" />\n <line x1=\"12\" y1=\"18\" x2=\"12\" y2=\"21\" />\n {/* Minimize indicator lines */}\n <line x1=\"7\" y1=\"11\" x2=\"17\" y2=\"11\" />\n </svg>\n );\n}\n\n/**\n * View icon - \"eye\" icon for viewing content.\n */\nexport function ViewIcon({ size = 24, className, style }: IconProps) {\n return (\n <svg\n width={size}\n height={size}\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"currentColor\"\n strokeWidth={2}\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n className={className}\n style={style}\n >\n {/* Eye outline */}\n <path d=\"M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z\" />\n {/* Pupil */}\n <circle cx=\"12\" cy=\"12\" r=\"3\" />\n </svg>\n );\n}\n\n/**\n * WiFi icon for the WiFi Setup app.\n * Shows signal arcs indicating wireless connectivity.\n */\nexport function WifiIcon({ size = 24, className, style }: IconProps) {\n return (\n <svg\n width={size}\n height={size}\n viewBox=\"-2 -2 28 28\"\n fill=\"none\"\n stroke=\"currentColor\"\n strokeWidth={2}\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n className={className}\n style={style}\n >\n {/* Outer arc */}\n <path d=\"M1.5 9a15.5 15.5 0 0 1 21 0\" />\n {/* Middle arc */}\n <path d=\"M5 12.5a10 10 0 0 1 14 0\" />\n {/* Inner arc */}\n <path d=\"M8.5 16a5 5 0 0 1 7 0\" />\n {/* Center dot */}\n <circle cx=\"12\" cy=\"20\" r=\"1.5\" fill=\"currentColor\" />\n </svg>\n );\n}\n\n/**\n * Lock icon for secured WiFi networks.\n */\nexport function LockIcon({ size = 24, className, style }: IconProps) {\n return (\n <svg\n width={size}\n height={size}\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"currentColor\"\n strokeWidth={2}\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n className={className}\n style={style}\n >\n <rect x=\"5\" y=\"11\" width=\"14\" height=\"10\" rx=\"2\" />\n <path d=\"M8 11V7a4 4 0 0 1 8 0v4\" />\n </svg>\n );\n}\n\n/**\n * Unlock icon for open WiFi networks (no security).\n */\nexport function UnlockIcon({ size = 24, className, style }: IconProps) {\n return (\n <svg\n width={size}\n height={size}\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"currentColor\"\n strokeWidth={2}\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n className={className}\n style={style}\n >\n <rect x=\"5\" y=\"11\" width=\"14\" height=\"10\" rx=\"2\" />\n <path d=\"M8 11V7a4 4 0 0 1 7.83-1\" />\n </svg>\n );\n}\n\n/**\n * Chevron right icon for navigation items.\n */\nexport function ChevronRightIcon({ size = 24, className, style }: IconProps) {\n return (\n <svg\n width={size}\n height={size}\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"currentColor\"\n strokeWidth={2}\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n className={className}\n style={style}\n >\n <polyline points=\"9 18 15 12 9 6\" />\n </svg>\n );\n}\n\n/**\n * Chevron left icon for navigation items.\n */\nexport function ChevronLeftIcon({ size = 24, className, style }: IconProps) {\n return (\n <svg\n width={size}\n height={size}\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"currentColor\"\n strokeWidth={2}\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n className={className}\n style={style}\n >\n <polyline points=\"15 18 9 12 15 6\" />\n </svg>\n );\n}\n\n/**\n * Chevron down icon for expandable sections.\n */\nexport function ChevronDownIcon({ size = 24, className, style }: IconProps) {\n return (\n <svg\n width={size}\n height={size}\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"currentColor\"\n strokeWidth={2}\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n className={className}\n style={style}\n >\n <polyline points=\"6 9 12 15 18 9\" />\n </svg>\n );\n}\n\n/**\n * Refresh icon for scanning networks.\n */\nexport function RefreshIcon({ size = 24, className, style }: IconProps) {\n return (\n <svg\n width={size}\n height={size}\n viewBox=\"-2 -2 28 28\"\n fill=\"none\"\n stroke=\"currentColor\"\n strokeWidth={2}\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n className={className}\n style={style}\n >\n <path d=\"M21 2v6h-6\" />\n <path d=\"M3 12a9 9 0 0 1 15-6.7L21 8\" />\n <path d=\"M3 22v-6h6\" />\n <path d=\"M21 12a9 9 0 0 1-15 6.7L3 16\" />\n </svg>\n );\n}\n\n/**\n * Revert icon - undo/revert action icon with counter-clockwise arrow.\n */\nexport function RevertIcon({ size = 24, className, style }: IconProps) {\n return (\n <svg\n width={size}\n height={size}\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"currentColor\"\n strokeWidth={2}\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n className={className}\n style={style}\n >\n <path d=\"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8\" />\n <path d=\"M3 3v5h5\" />\n </svg>\n );\n}\n\n/**\n * Edit icon - Pencil for editing mode.\n */\nexport function EditIcon({ size = 24, className, style }: IconProps) {\n return (\n <svg\n width={size}\n height={size}\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"currentColor\"\n strokeWidth={2}\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n className={className}\n style={style}\n >\n <path d=\"M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7\" />\n <path d=\"M18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z\" />\n </svg>\n );\n}\n\n/**\n * Trash icon for deleting items.\n */\nexport function TrashIcon({ size = 24, className, style }: IconProps) {\n return (\n <svg\n width={size}\n height={size}\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"currentColor\"\n strokeWidth={2}\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n className={className}\n style={style}\n >\n <polyline points=\"3 6 5 6 21 6\" />\n <path d=\"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6m3 0V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2\" />\n <line x1=\"10\" y1=\"11\" x2=\"10\" y2=\"17\" />\n <line x1=\"14\" y1=\"11\" x2=\"14\" y2=\"17\" />\n </svg>\n );\n}\n\n\n\n/**\n * Empty folder icon - an open empty folder for empty state display.\n */\nexport function EmptyFolderIcon({ size = 24, className, style }: IconProps) {\n return (\n <svg\n width={size}\n height={size}\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"currentColor\"\n strokeWidth={1.5}\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n className={className}\n style={style}\n >\n {/* Open folder back */}\n <path d=\"M4 4h5l2 2h9a1 1 0 0 1 1 1v2H3V5a1 1 0 0 1 1-1z\" />\n {/* Open folder front (angled to show empty interior) */}\n <path d=\"M2 9h20l-2 11H4L2 9z\" />\n {/* Empty indicator - dashed line inside */}\n <path d=\"M8 14h8\" strokeDasharray=\"2 2\" opacity=\"0.5\" />\n </svg>\n );\n}\n\n/**\n * Info icon - circle with \"i\" for information.\n */\nexport function InfoIcon({ size = 24, className, style }: IconProps) {\n return (\n <svg\n width={size}\n height={size}\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"currentColor\"\n strokeWidth={2}\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n className={className}\n style={style}\n >\n <circle cx=\"12\" cy=\"12\" r=\"10\" />\n <line x1=\"12\" y1=\"16\" x2=\"12\" y2=\"12\" />\n <line x1=\"12\" y1=\"8\" x2=\"12.01\" y2=\"8\" />\n </svg>\n );\n}\n\n/**\n * PieChart icon for statistics/analytics.\n */\nexport function PieChartIcon({ size = 24, className, style }: IconProps) {\n return (\n <svg\n width={size}\n height={size}\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"currentColor\"\n strokeWidth={2}\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n className={className}\n style={style}\n >\n <path d=\"M21.21 15.89A10 10 0 1 1 8 2.83\" />\n <path d=\"M22 12A10 10 0 0 0 12 2v10z\" />\n </svg>\n );\n}\n\n/**\n * Power icon for system power management.\n */\nexport function PowerIcon({ size = 24, className, style }: IconProps) {\n return (\n <svg\n width={size}\n height={size}\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"currentColor\"\n strokeWidth={2}\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n className={className}\n style={style}\n >\n <path d=\"M12 2v10\" />\n <path d=\"M18.4 6.6a9 9 0 1 1-12.77.04\" />\n </svg>\n );\n}\n\n/**\n * Camera icon for video/image capture functionality.\n */\nexport function CameraIcon({ size = 24, className, style }: IconProps) {\n return (\n <svg\n width={size}\n height={size}\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"currentColor\"\n strokeWidth={2}\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n className={className}\n style={style}\n >\n <path d=\"M23 19a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h4l2-3h6l2 3h4a2 2 0 0 1 2 2z\" />\n <circle cx=\"12\" cy=\"13\" r=\"4\" />\n </svg>\n );\n}\n\n/**\n * Plus icon for zoom in functionality.\n */\nexport function PlusIcon({ size = 24, className, style }: IconProps) {\n return (\n <svg\n width={size}\n height={size}\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"currentColor\"\n strokeWidth={2}\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n className={className}\n style={style}\n >\n <line x1=\"12\" y1=\"5\" x2=\"12\" y2=\"19\" />\n <line x1=\"5\" y1=\"12\" x2=\"19\" y2=\"12\" />\n </svg>\n );\n}\n\n/**\n * Minus icon for zoom out functionality.\n */\nexport function MinusIcon({ size = 24, className, style }: IconProps) {\n return (\n <svg\n width={size}\n height={size}\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"currentColor\"\n strokeWidth={2}\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n className={className}\n style={style}\n >\n <line x1=\"5\" y1=\"12\" x2=\"19\" y2=\"12\" />\n </svg>\n );\n}\n\n/**\n * DoubleClick icon - Mouse cursor with double-click indicators and movement arrow.\n * Used to enable/disable double-click to move robot feature.\n */\nexport function DoubleClickIcon({ size = 24, className, style }: IconProps) {\n return (\n <svg\n width={size}\n height={size}\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"currentColor\"\n strokeWidth={1.5}\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n className={className}\n style={style}\n >\n {/* Ripples */}\n <circle cx=\"9.5\" cy=\"4\" r=\"2\" opacity=\"0.5\" />\n <circle cx=\"9.5\" cy=\"4\" r=\"3.5\" opacity=\"0.3\" />\n\n {/* Hand */}\n <path d=\"M8 13V5.5a1.5 1.5 0 0 1 3 0V12\" />\n <path d=\"M11 11.5v-2a1.5 1.5 0 0 1 3 0v2.5\" />\n <path d=\"M14 10.5a1.5 1.5 0 0 1 3 0v1.5\" />\n <path d=\"M17 11.5a1.5 1.5 0 0 1 3 0v4.5a6 6 0 0 1-6 6h-2h.2a6 6 0 0 1-5-2.7l-.2-.3c-.3-.5-1.4-2.4-3.2-6.3l-.5-.8a.6.6 0 0 1 .5-.8h2.5\" />\n </svg>\n );\n}\n\n/**\n * More icon - Vertical three dots for menu/options.\n * Used to show additional actions or menu.\n */\nexport function MoreIcon({ size = 24, className, style }: IconProps) {\n return (\n <svg\n width={size}\n height={size}\n viewBox=\"0 0 24 24\"\n fill=\"currentColor\"\n className={className}\n style={style}\n >\n <circle cx=\"12\" cy=\"5\" r=\"2\" />\n <circle cx=\"12\" cy=\"12\" r=\"2\" />\n <circle cx=\"12\" cy=\"19\" r=\"2\" />\n </svg>\n );\n}\n\n/**\n * More Horizontal icon - Horizontal three dots for menu/options.\n */\nexport function MoreHorizontalIcon({ size = 24, className, style }: IconProps) {\n return (\n <svg\n width={size}\n height={size}\n viewBox=\"0 0 24 24\"\n fill=\"currentColor\"\n className={className}\n style={style}\n >\n <circle cx=\"5\" cy=\"12\" r=\"2\" />\n <circle cx=\"12\" cy=\"12\" r=\"2\" />\n <circle cx=\"19\" cy=\"12\" r=\"2\" />\n </svg>\n );\n}\n\n/**\n * Eye Hidden icon - \"eye with slash\" icon for hiding passwords.\n */\nexport function EyeHiddenIcon({ size = 24, className, style }: IconProps) {\n return (\n <svg\n width={size}\n height={size}\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"currentColor\"\n strokeWidth={2}\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n className={className}\n style={style}\n >\n {/* Eye outline */}\n <path d=\"M17.94 17.94A10.07 10.07 0 0 1 12 20c-7 0-11-8-11-8a18.45 18.45 0 0 1 5.06-5.94M9.9 4.24A9.12 9.12 0 0 1 12 4c7 0 11 8 11 8a18.5 18.5 0 0 1-2.16 3.19m-6.72-1.07a3 3 0 1 1-4.24-4.24\" />\n {/* Slash line */}\n <line x1=\"1\" y1=\"1\" x2=\"23\" y2=\"23\" />\n </svg>\n );\n}\n\n/**\n * Search icon - Magnifying glass icon for search functionality.\n */\nexport function SearchIcon({ size = 24, className, style }: IconProps) {\n return (\n <svg\n width={size}\n height={size}\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"currentColor\"\n strokeWidth={2}\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n className={className}\n style={style}\n >\n <circle cx=\"11\" cy=\"11\" r=\"8\" />\n <line x1=\"21\" y1=\"21\" x2=\"16.65\" y2=\"16.65\" />\n </svg>\n );\n}"],"names":["CloseIcon","size","color","strokeWidth","className","style","jsxs","jsx","ExternalLinkIcon","HideAppsIcon","ViewIcon","WifiIcon","LockIcon","UnlockIcon","ChevronRightIcon","ChevronLeftIcon","ChevronDownIcon","RefreshIcon","RevertIcon","EditIcon","TrashIcon","EmptyFolderIcon","InfoIcon","PieChartIcon","PowerIcon","CameraIcon","PlusIcon","MinusIcon","DoubleClickIcon","MoreIcon","MoreHorizontalIcon","EyeHiddenIcon","SearchIcon"],"mappings":"kDAiBO,SAASA,EAAU,CAAE,KAAAC,EAAO,GAAI,MAAAC,EAAQ,eAAgB,YAAAC,EAAc,EAAG,UAAAC,EAAW,MAAAC,GAA+D,CACxJ,OACEC,EAAAA,KAAC,MAAA,CACC,MAAOL,EACP,OAAQA,EACR,QAAQ,YACR,KAAK,OACL,OAAQC,EACR,YAAAC,EACA,cAAc,QACd,eAAe,QACf,UAAAC,EACA,MAAAC,EAEA,SAAA,CAAAE,EAAAA,IAAC,OAAA,CAAK,GAAG,KAAK,GAAG,IAAI,GAAG,IAAI,GAAG,IAAA,CAAK,EACpCA,EAAAA,IAAC,QAAK,GAAG,IAAI,GAAG,IAAI,GAAG,KAAK,GAAG,IA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AAA,CAAK,CAAA,CAAA,CAAA,CAG1C,CAKO,SAASyB,EAAW,CAAE,KAAA/B,EAAO,GAAI,UAAAG,EAAW,MAAAC,GAAoB,CACrE,OACEC,EAAAA,KAAC,MAAA,CACC,MAAOL,EACP,OAAQA,EACR,QAAQ,YACR,KAAK,OACL,OAAO,eACP,YAAa,EACb,cAAc,QACd,eAAe,QACf,UAAAG,EACA,MAAAC,EAEA,SAAA,CAAAE,MAAC,UAAO,GAAG,KAAK,GAAG,KAAK,EAAE,IAAI,EAC9BA,EAAAA,IAAC,QAAK,GAAG,KAAK,GAAG,KAAK,GAAG,QAAQ,GAAG,OAAA,CAAQ,CAAA,CAAA,CAAA,CAGlD"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"GeneratedIcons-HFZmBTBT.js","sources":["../src/components/icons/GeneratedIcons.tsx"],"sourcesContent":["/**\n * Auto-generated and custom icons for the application.\n */\n\nimport React from 'react';\n\ninterface IconProps {\n size?: number;\n className?: string;\n style?: React.CSSProperties;\n color?: string;\n strokeWidth?: number;\n}\n\n/**\n * Close icon - X symbol for closing dialogs, modals, or dismissing content.\n */\nexport function CloseIcon({ size = 24, color = 'currentColor', strokeWidth = 2, className, style }: IconProps & { color?: string; strokeWidth?: number }) {\n return (\n <svg\n width={size}\n height={size}\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke={color}\n strokeWidth={strokeWidth}\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n className={className}\n style={style}\n >\n <line x1=\"20\" y1=\"4\" x2=\"4\" y2=\"20\" />\n <line x1=\"4\" y1=\"4\" x2=\"20\" y2=\"20\" />\n </svg>\n );\n}\n\n/**\n * External Link icon - \"box with arrow\" icon for opening external links.\n */\nexport function ExternalLinkIcon({ size = 24, className, style }: IconProps) {\n return (\n <svg\n width={size}\n height={size}\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"currentColor\"\n strokeWidth={2}\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n className={className}\n style={style}\n >\n <path d=\"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h8\" />\n <polyline points=\"17 4 20 4 20 7\" />\n <line x1=\"13\" y1=\"11\" x2=\"20\" y2=\"4\" />\n </svg>\n );\n}\n\n/**\n * HideApps icon - \"Show Desktop\" style icon to collapse the right toolbar panel.\n * Similar to Windows \"Show Desktop\" button.\n */\nexport function HideAppsIcon({ size = 24, className, style }: IconProps) {\n return (\n <svg\n width={size}\n height={size}\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"currentColor\"\n strokeWidth={1.5}\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n className={className}\n style={style}\n >\n {/* Desktop/window frame */}\n <rect x=\"3\" y=\"4\" width=\"18\" height=\"14\" rx=\"2\" />\n {/* Desktop stand */}\n <line x1=\"8\" y1=\"21\" x2=\"16\" y2=\"21\" />\n <line x1=\"12\" y1=\"18\" x2=\"12\" y2=\"21\" />\n {/* Minimize indicator lines */}\n <line x1=\"7\" y1=\"11\" x2=\"17\" y2=\"11\" />\n </svg>\n );\n}\n\n/**\n * View icon - \"eye\" icon for viewing content.\n */\nexport function ViewIcon({ size = 24, className, style }: IconProps) {\n return (\n <svg\n width={size}\n height={size}\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"currentColor\"\n strokeWidth={2}\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n className={className}\n style={style}\n >\n {/* Eye outline */}\n <path d=\"M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z\" />\n {/* Pupil */}\n <circle cx=\"12\" cy=\"12\" r=\"3\" />\n </svg>\n );\n}\n\n/**\n * WiFi icon for the WiFi Setup app.\n * Shows signal arcs indicating wireless connectivity.\n */\nexport function WifiIcon({ size = 24, className, style }: IconProps) {\n return (\n <svg\n width={size}\n height={size}\n viewBox=\"-2 -2 28 28\"\n fill=\"none\"\n stroke=\"currentColor\"\n strokeWidth={2}\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n className={className}\n style={style}\n >\n {/* Outer arc */}\n <path d=\"M1.5 9a15.5 15.5 0 0 1 21 0\" />\n {/* Middle arc */}\n <path d=\"M5 12.5a10 10 0 0 1 14 0\" />\n {/* Inner arc */}\n <path d=\"M8.5 16a5 5 0 0 1 7 0\" />\n {/* Center dot */}\n <circle cx=\"12\" cy=\"20\" r=\"1.5\" fill=\"currentColor\" />\n </svg>\n );\n}\n\n/**\n * Lock icon for secured WiFi networks.\n */\nexport function LockIcon({ size = 24, className, style }: IconProps) {\n return (\n <svg\n width={size}\n height={size}\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"currentColor\"\n strokeWidth={2}\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n className={className}\n style={style}\n >\n <rect x=\"5\" y=\"11\" width=\"14\" height=\"10\" rx=\"2\" />\n <path d=\"M8 11V7a4 4 0 0 1 8 0v4\" />\n </svg>\n );\n}\n\n/**\n * Unlock icon for open WiFi networks (no security).\n */\nexport function UnlockIcon({ size = 24, className, style }: IconProps) {\n return (\n <svg\n width={size}\n height={size}\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"currentColor\"\n strokeWidth={2}\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n className={className}\n style={style}\n >\n <rect x=\"5\" y=\"11\" width=\"14\" height=\"10\" rx=\"2\" />\n <path d=\"M8 11V7a4 4 0 0 1 7.83-1\" />\n </svg>\n );\n}\n\n/**\n * Chevron right icon for navigation items.\n */\nexport function ChevronRightIcon({ size = 24, className, style }: IconProps) {\n return (\n <svg\n width={size}\n height={size}\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"currentColor\"\n strokeWidth={2}\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n className={className}\n style={style}\n >\n <polyline points=\"9 18 15 12 9 6\" />\n </svg>\n );\n}\n\n/**\n * Chevron left icon for navigation items.\n */\nexport function ChevronLeftIcon({ size = 24, className, style }: IconProps) {\n return (\n <svg\n width={size}\n height={size}\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"currentColor\"\n strokeWidth={2}\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n className={className}\n style={style}\n >\n <polyline points=\"15 18 9 12 15 6\" />\n </svg>\n );\n}\n\n/**\n * Chevron down icon for expandable sections.\n */\nexport function ChevronDownIcon({ size = 24, className, style }: IconProps) {\n return (\n <svg\n width={size}\n height={size}\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"currentColor\"\n strokeWidth={2}\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n className={className}\n style={style}\n >\n <polyline points=\"6 9 12 15 18 9\" />\n </svg>\n );\n}\n\n/**\n * Refresh icon for scanning networks.\n */\nexport function RefreshIcon({ size = 24, className, style }: IconProps) {\n return (\n <svg\n width={size}\n height={size}\n viewBox=\"-2 -2 28 28\"\n fill=\"none\"\n stroke=\"currentColor\"\n strokeWidth={2}\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n className={className}\n style={style}\n >\n <path d=\"M21 2v6h-6\" />\n <path d=\"M3 12a9 9 0 0 1 15-6.7L21 8\" />\n <path d=\"M3 22v-6h6\" />\n <path d=\"M21 12a9 9 0 0 1-15 6.7L3 16\" />\n </svg>\n );\n}\n\n/**\n * Revert icon - undo/revert action icon with counter-clockwise arrow.\n */\nexport function RevertIcon({ size = 24, className, style }: IconProps) {\n return (\n <svg\n width={size}\n height={size}\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"currentColor\"\n strokeWidth={2}\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n className={className}\n style={style}\n >\n <path d=\"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8\" />\n <path d=\"M3 3v5h5\" />\n </svg>\n );\n}\n\n/**\n * Edit icon - Pencil for editing mode.\n */\nexport function EditIcon({ size = 24, className, style }: IconProps) {\n return (\n <svg\n width={size}\n height={size}\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"currentColor\"\n strokeWidth={2}\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n className={className}\n style={style}\n >\n <path d=\"M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7\" />\n <path d=\"M18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z\" />\n </svg>\n );\n}\n\n/**\n * Trash icon for deleting items.\n */\nexport function TrashIcon({ size = 24, className, style }: IconProps) {\n return (\n <svg\n width={size}\n height={size}\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"currentColor\"\n strokeWidth={2}\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n className={className}\n style={style}\n >\n <polyline points=\"3 6 5 6 21 6\" />\n <path d=\"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6m3 0V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2\" />\n <line x1=\"10\" y1=\"11\" x2=\"10\" y2=\"17\" />\n <line x1=\"14\" y1=\"11\" x2=\"14\" y2=\"17\" />\n </svg>\n );\n}\n\n\n\n/**\n * Empty folder icon - an open empty folder for empty state display.\n */\nexport function EmptyFolderIcon({ size = 24, className, style }: IconProps) {\n return (\n <svg\n width={size}\n height={size}\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"currentColor\"\n strokeWidth={1.5}\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n className={className}\n style={style}\n >\n {/* Open folder back */}\n <path d=\"M4 4h5l2 2h9a1 1 0 0 1 1 1v2H3V5a1 1 0 0 1 1-1z\" />\n {/* Open folder front (angled to show empty interior) */}\n <path d=\"M2 9h20l-2 11H4L2 9z\" />\n {/* Empty indicator - dashed line inside */}\n <path d=\"M8 14h8\" strokeDasharray=\"2 2\" opacity=\"0.5\" />\n </svg>\n );\n}\n\n/**\n * Info icon - circle with \"i\" for information.\n */\nexport function InfoIcon({ size = 24, className, style }: IconProps) {\n return (\n <svg\n width={size}\n height={size}\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"currentColor\"\n strokeWidth={2}\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n className={className}\n style={style}\n >\n <circle cx=\"12\" cy=\"12\" r=\"10\" />\n <line x1=\"12\" y1=\"16\" x2=\"12\" y2=\"12\" />\n <line x1=\"12\" y1=\"8\" x2=\"12.01\" y2=\"8\" />\n </svg>\n );\n}\n\n/**\n * PieChart icon for statistics/analytics.\n */\nexport function PieChartIcon({ size = 24, className, style }: IconProps) {\n return (\n <svg\n width={size}\n height={size}\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"currentColor\"\n strokeWidth={2}\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n className={className}\n style={style}\n >\n <path d=\"M21.21 15.89A10 10 0 1 1 8 2.83\" />\n <path d=\"M22 12A10 10 0 0 0 12 2v10z\" />\n </svg>\n );\n}\n\n/**\n * Power icon for system power management.\n */\nexport function PowerIcon({ size = 24, className, style }: IconProps) {\n return (\n <svg\n width={size}\n height={size}\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"currentColor\"\n strokeWidth={2}\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n className={className}\n style={style}\n >\n <path d=\"M12 2v10\" />\n <path d=\"M18.4 6.6a9 9 0 1 1-12.77.04\" />\n </svg>\n );\n}\n\n/**\n * Camera icon for video/image capture functionality.\n */\nexport function CameraIcon({ size = 24, className, style }: IconProps) {\n return (\n <svg\n width={size}\n height={size}\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"currentColor\"\n strokeWidth={2}\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n className={className}\n style={style}\n >\n <path d=\"M23 19a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h4l2-3h6l2 3h4a2 2 0 0 1 2 2z\" />\n <circle cx=\"12\" cy=\"13\" r=\"4\" />\n </svg>\n );\n}\n\n/**\n * Plus icon for zoom in functionality.\n */\nexport function PlusIcon({ size = 24, className, style }: IconProps) {\n return (\n <svg\n width={size}\n height={size}\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"currentColor\"\n strokeWidth={2}\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n className={className}\n style={style}\n >\n <line x1=\"12\" y1=\"5\" x2=\"12\" y2=\"19\" />\n <line x1=\"5\" y1=\"12\" x2=\"19\" y2=\"12\" />\n </svg>\n );\n}\n\n/**\n * Minus icon for zoom out functionality.\n */\nexport function MinusIcon({ size = 24, className, style }: IconProps) {\n return (\n <svg\n width={size}\n height={size}\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"currentColor\"\n strokeWidth={2}\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n className={className}\n style={style}\n >\n <line x1=\"5\" y1=\"12\" x2=\"19\" y2=\"12\" />\n </svg>\n );\n}\n\n/**\n * DoubleClick icon - Mouse cursor with double-click indicators and movement arrow.\n * Used to enable/disable double-click to move robot feature.\n */\nexport function DoubleClickIcon({ size = 24, className, style }: IconProps) {\n return (\n <svg\n width={size}\n height={size}\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"currentColor\"\n strokeWidth={1.5}\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n className={className}\n style={style}\n >\n {/* Ripples */}\n <circle cx=\"9.5\" cy=\"4\" r=\"2\" opacity=\"0.5\" />\n <circle cx=\"9.5\" cy=\"4\" r=\"3.5\" opacity=\"0.3\" />\n\n {/* Hand */}\n <path d=\"M8 13V5.5a1.5 1.5 0 0 1 3 0V12\" />\n <path d=\"M11 11.5v-2a1.5 1.5 0 0 1 3 0v2.5\" />\n <path d=\"M14 10.5a1.5 1.5 0 0 1 3 0v1.5\" />\n <path d=\"M17 11.5a1.5 1.5 0 0 1 3 0v4.5a6 6 0 0 1-6 6h-2h.2a6 6 0 0 1-5-2.7l-.2-.3c-.3-.5-1.4-2.4-3.2-6.3l-.5-.8a.6.6 0 0 1 .5-.8h2.5\" />\n </svg>\n );\n}\n\n/**\n * More icon - Vertical three dots for menu/options.\n * Used to show additional actions or menu.\n */\nexport function MoreIcon({ size = 24, className, style }: IconProps) {\n return (\n <svg\n width={size}\n height={size}\n viewBox=\"0 0 24 24\"\n fill=\"currentColor\"\n className={className}\n style={style}\n >\n <circle cx=\"12\" cy=\"5\" r=\"2\" />\n <circle cx=\"12\" cy=\"12\" r=\"2\" />\n <circle cx=\"12\" cy=\"19\" r=\"2\" />\n </svg>\n );\n}\n\n/**\n * More Horizontal icon - Horizontal three dots for menu/options.\n */\nexport function MoreHorizontalIcon({ size = 24, className, style }: IconProps) {\n return (\n <svg\n width={size}\n height={size}\n viewBox=\"0 0 24 24\"\n fill=\"currentColor\"\n className={className}\n style={style}\n >\n <circle cx=\"5\" cy=\"12\" r=\"2\" />\n <circle cx=\"12\" cy=\"12\" r=\"2\" />\n <circle cx=\"19\" cy=\"12\" r=\"2\" />\n </svg>\n );\n}\n\n/**\n * Eye Hidden icon - \"eye with slash\" icon for hiding passwords.\n */\nexport function EyeHiddenIcon({ size = 24, className, style }: IconProps) {\n return (\n <svg\n width={size}\n height={size}\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"currentColor\"\n strokeWidth={2}\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n className={className}\n style={style}\n >\n {/* Eye outline */}\n <path d=\"M17.94 17.94A10.07 10.07 0 0 1 12 20c-7 0-11-8-11-8a18.45 18.45 0 0 1 5.06-5.94M9.9 4.24A9.12 9.12 0 0 1 12 4c7 0 11 8 11 8a18.5 18.5 0 0 1-2.16 3.19m-6.72-1.07a3 3 0 1 1-4.24-4.24\" />\n {/* Slash line */}\n <line x1=\"1\" y1=\"1\" x2=\"23\" y2=\"23\" />\n </svg>\n );\n}\n\n/**\n * Search icon - Magnifying glass icon for search functionality.\n */\nexport function SearchIcon({ size = 24, className, style }: IconProps) {\n return (\n <svg\n width={size}\n height={size}\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"currentColor\"\n strokeWidth={2}\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n className={className}\n style={style}\n >\n <circle cx=\"11\" cy=\"11\" r=\"8\" />\n <line x1=\"21\" y1=\"21\" x2=\"16.65\" y2=\"16.65\" />\n </svg>\n );\n}"],"names":["CloseIcon","size","color","strokeWidth","className","style","jsxs","jsx","ExternalLinkIcon","HideAppsIcon","ViewIcon","WifiIcon","LockIcon","UnlockIcon","ChevronRightIcon","ChevronLeftIcon","ChevronDownIcon","RefreshIcon","RevertIcon","EditIcon","TrashIcon","EmptyFolderIcon","InfoIcon","PieChartIcon","PowerIcon","CameraIcon","PlusIcon","MinusIcon","DoubleClickIcon","MoreIcon","MoreHorizontalIcon","EyeHiddenIcon","SearchIcon"],"mappings":";AAiBO,SAASA,EAAU,EAAE,MAAAC,IAAO,IAAI,OAAAC,IAAQ,gBAAgB,aAAAC,IAAc,GAAG,WAAAC,GAAW,OAAAC,KAA+D;AACxJ,SACE,gBAAAC;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,OAAOL;AAAA,MACP,QAAQA;AAAA,MACR,SAAQ;AAAA,MACR,MAAK;AAAA,MACL,QAAQC;AAAA,MACR,aAAAC;AAAA,MACA,eAAc;AAAA,MACd,gBAAe;AAAA,MACf,WAAAC;AAAA,MACA,OAAAC;AAAA,MAEA,UAAA;AAAA,QAAA,gBAAAE,EAAC,QAAA,EAAK,IAAG,MAAK,IAAG,KAAI,IAAG,KAAI,IAAG,KAAA,CAAK;AAAA,QACpC,gBAAAA,EAAC,UAAK,IAAG,KAAI,IAAG,KAAI,IAAG,MAAK,IAAG,KAAA,CAAK;AAAA,MAAA;AAAA,IAAA;AAAA,EAAA;AAG1C;AAKO,SAASC,EAAiB,EAAE,MAAAP,IAAO,IAAI,WAAAG,GAAW,O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AAAA,EAAC,UAAK,IAAG,KAAI,IAAG,KAAI,IAAG,MAAK,IAAG,KAAA,CAAK;AAAA,MAAA;AAAA,IAAA;AAAA,EAAA;AAG1C;AAKO,SAASyB,EAAW,EAAE,MAAA/B,IAAO,IAAI,WAAAG,GAAW,OAAAC,KAAoB;AACrE,SACE,gBAAAC;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,OAAOL;AAAA,MACP,QAAQA;AAAA,MACR,SAAQ;AAAA,MACR,MAAK;AAAA,MACL,QAAO;AAAA,MACP,aAAa;AAAA,MACb,eAAc;AAAA,MACd,gBAAe;AAAA,MACf,WAAAG;AAAA,MACA,OAAAC;AAAA,MAEA,UAAA;AAAA,QAAA,gBAAAE,EAAC,YAAO,IAAG,MAAK,IAAG,MAAK,GAAE,KAAI;AAAA,QAC9B,gBAAAA,EAAC,UAAK,IAAG,MAAK,IAAG,MAAK,IAAG,SAAQ,IAAG,QAAA,CAAQ;AAAA,MAAA;AAAA,IAAA;AAAA,EAAA;AAGlD;"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"clsx-C11secjj.cjs","sources":["../node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs"],"sourcesContent":["function r(e){var t,f,n=\"\";if(\"string\"==typeof e||\"number\"==typeof e)n+=e;else if(\"object\"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(f=r(e[t]))&&(n&&(n+=\" \"),n+=f)}else for(f in e)e[f]&&(n&&(n+=\" \"),n+=f);return n}export function clsx(){for(var e,t,f=0,n=\"\",o=arguments.length;f<o;f++)(e=arguments[f])&&(t=r(e))&&(n&&(n+=\" \"),n+=t);return n}export default clsx;"],"names":["r","e","t","f","n","o","clsx"],"mappings":"aAAA,SAASA,EAAEC,EAAE,CAAC,IAAIC,EAAEC,EAAEC,EAAE,GAAG,GAAa,OAAOH,GAAjB,UAA8B,OAAOA,GAAjB,SAAmBG,GAAGH,UAAoB,OAAOA,GAAjB,SAAmB,GAAG,MAAM,QAAQA,CAAC,EAAE,CAAC,IAAII,EAAEJ,EAAE,OAAO,IAAIC,EAAE,EAAEA,EAAEG,EAAEH,IAAID,EAAEC,CAAC,IAAIC,EAAEH,EAAEC,EAAEC,CAAC,CAAC,KAAKE,IAAIA,GAAG,KAAKA,GAAGD,EAAE,KAAM,KAAIA,KAAKF,EAAEA,EAAEE,CAAC,IAAIC,IAAIA,GAAG,KAAKA,GAAGD,GAAG,OAAOC,CAAC,CAAQ,SAASE,GAAM,CAAC,QAAQL,EAAEC,EAAEC,EAAE,EAAEC,EAAE,GAAGC,EAAE,UAAU,OAAOF,EAAEE,EAAEF,KAAKF,EAAE,UAAUE,CAAC,KAAKD,EAAEF,EAAEC,CAAC,KAAKG,IAAIA,GAAG,KAAKA,GAAGF,GAAG,OAAOE,CAAC","x_google_ignoreList":[0]}
@@ -1 +0,0 @@
1
- {"version":3,"file":"clsx-OuTLNxxd.js","sources":["../node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs"],"sourcesContent":["function r(e){var t,f,n=\"\";if(\"string\"==typeof e||\"number\"==typeof e)n+=e;else if(\"object\"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(f=r(e[t]))&&(n&&(n+=\" \"),n+=f)}else for(f in e)e[f]&&(n&&(n+=\" \"),n+=f);return n}export function clsx(){for(var e,t,f=0,n=\"\",o=arguments.length;f<o;f++)(e=arguments[f])&&(t=r(e))&&(n&&(n+=\" \"),n+=t);return n}export default clsx;"],"names":["r","e","t","f","n","clsx"],"mappings":"AAAA,SAASA,EAAEC,GAAE;AAAC,MAAIC,GAAEC,GAAEC,IAAE;AAAG,MAAa,OAAOH,KAAjB,YAA8B,OAAOA,KAAjB,SAAmB,CAAAG,KAAGH;AAAA,WAAoB,OAAOA,KAAjB,SAAmB,KAAG,MAAM,QAAQA,CAAC,GAAE;AAAC,QAAI,IAAEA,EAAE;AAAO,SAAIC,IAAE,GAAEA,IAAE,GAAEA,IAAI,CAAAD,EAAEC,CAAC,MAAIC,IAAEH,EAAEC,EAAEC,CAAC,CAAC,OAAKE,MAAIA,KAAG,MAAKA,KAAGD;AAAA,EAAE,MAAM,MAAIA,KAAKF,EAAE,CAAAA,EAAEE,CAAC,MAAIC,MAAIA,KAAG,MAAKA,KAAGD;AAAG,SAAOC;AAAC;AAAQ,SAASC,IAAM;AAAC,WAAQJ,GAAEC,GAAEC,IAAE,GAAEC,IAAE,IAAG,IAAE,UAAU,QAAOD,IAAE,GAAEA,IAAI,EAACF,IAAE,UAAUE,CAAC,OAAKD,IAAEF,EAAEC,CAAC,OAAKG,MAAIA,KAAG,MAAKA,KAAGF;AAAG,SAAOE;AAAC;","x_google_ignoreList":[0]}
@@ -1 +0,0 @@
1
- {"version":3,"file":"code-editor.cjs","sources":["../src/components/CodeEditor.tsx"],"sourcesContent":["import React, { useCallback, useEffect, useRef, useMemo, useState } from 'react';\nimport Editor from 'react-simple-code-editor';\nimport { Highlight, themes } from 'prism-react-renderer';\n\nexport interface CodeEditorProps {\n value: string;\n onChange: (value: string) => void;\n /** Prism language name (e.g. 'javascript', 'python', 'yaml'). Omit for plain text. */\n language?: string;\n readOnly?: boolean;\n minHeight?: number;\n maxHeight?: number;\n /** Show line numbers gutter. Default: true. */\n lineNumbers?: boolean;\n /** Show markers for spaces, tabs, and line endings. Default: false. */\n showWhitespace?: boolean;\n /** Number of columns occupied by a tab. Default: 8. */\n tabSize?: number;\n /** Prism color theme. Defaults to automatic document theme detection. */\n colorTheme?: 'light' | 'dark' | 'auto';\n className?: string;\n style?: React.CSSProperties;\n}\n\ninterface RenderedToken {\n content: React.ReactNode;\n column: number;\n}\n\nfunction renderTokenContent(content: string, showWhitespace: boolean, tabSize: number, startColumn: number): RenderedToken {\n if (!showWhitespace) {\n return { content, column: startColumn + content.length };\n }\n\n let column = startColumn;\n const rendered = Array.from(content, (character, index) => {\n if (character === ' ') {\n column++;\n return <span key={index} className=\"nc-code-editor-whitespace\" aria-hidden=\"true\">·</span>;\n }\n if (character === '\\t') {\n const width = tabSize - (column % tabSize);\n column += width;\n return (\n <span\n key={index}\n className=\"nc-code-editor-whitespace nc-code-editor-tab\"\n style={{ width: `${width}ch` }}\n aria-hidden=\"true\"\n >\n →\n </span>\n );\n }\n column++;\n return character;\n });\n\n return { content: rendered, column };\n}\n\n/**\n * Map a filename (or file extension) to a Prism language name.\n * Returns undefined if the language is not recognized.\n */\nexport function detectLanguage(filename: string): string | undefined {\n const ext = filename.split('.').pop()?.toLowerCase();\n if (!ext) return undefined;\n\n const extMap: Record<string, string> = {\n ts: 'typescript',\n tsx: 'tsx',\n js: 'javascript',\n jsx: 'jsx',\n json: 'json',\n yaml: 'yaml',\n yml: 'yaml',\n py: 'python',\n rb: 'ruby',\n rs: 'rust',\n go: 'go',\n java: 'java',\n c: 'c',\n cpp: 'cpp',\n h: 'c',\n hpp: 'cpp',\n cs: 'csharp',\n sh: 'bash',\n bash: 'bash',\n zsh: 'bash',\n fish: 'bash',\n md: 'markdown',\n markdown: 'markdown',\n html: 'html',\n htm: 'html',\n css: 'css',\n scss: 'scss',\n sql: 'sql',\n xml: 'xml',\n svg: 'xml',\n toml: 'toml',\n ini: 'ini',\n cfg: 'ini',\n conf: 'ini',\n properties: 'properties',\n env: 'properties',\n nginx: 'nginx',\n dockerfile: 'docker',\n makefile: 'makefile',\n cmake: 'cmake',\n lua: 'lua',\n php: 'php',\n pl: 'perl',\n pm: 'perl',\n r: 'r',\n swift: 'swift',\n kt: 'kotlin',\n scala: 'scala',\n dart: 'dart',\n graphql: 'graphql',\n proto: 'protobuf',\n };\n\n // Check by extension first, then by full filename for special files\n if (extMap[ext]) return extMap[ext];\n\n const baseName = filename.toLowerCase();\n if (extMap[baseName]) return extMap[baseName];\n\n return undefined;\n}\n\nfunction CodeEditor({\n value,\n onChange,\n language,\n readOnly = false,\n minHeight = 100,\n maxHeight,\n lineNumbers: showLineNumbers = true,\n showWhitespace = false,\n tabSize = 8,\n colorTheme = 'auto',\n className = '',\n style = {},\n}: CodeEditorProps) {\n const normalizedTabSize = Number.isFinite(tabSize) ? Math.max(1, Math.floor(tabSize)) : 8;\n\n // Count lines for line numbers\n const lineCount = useMemo(() => {\n return value.split('\\n').length;\n }, [value]);\n\n // Generate line numbers\n const lineNumbers = useMemo(() => {\n return Array.from({ length: lineCount }, (_, i) => i + 1).join('\\n');\n }, [lineCount]);\n\n // Determine if we're in dark mode\n const [isDark, setIsDark] = useState(false);\n useEffect(() => {\n const checkDark = () => {\n const bg = getComputedStyle(document.documentElement).getPropertyValue('--nc-bg').trim();\n setIsDark(bg.startsWith('#0') || bg.startsWith('#1') || bg.startsWith('#2') || bg.startsWith('#3'));\n };\n checkDark();\n const observer = new MutationObserver(checkDark);\n observer.observe(document.documentElement, { attributes: true, attributeFilter: ['class', 'data-theme'] });\n return () => observer.disconnect();\n }, []);\n\n const theme = (colorTheme === 'dark' || (colorTheme === 'auto' && isDark)) ? themes.vsDark : themes.vsLight;\n\n // Highlight function\n const highlightWithTheme = useCallback(\n (code: string) => {\n const highlightLanguage = language || 'text';\n return (\n <Highlight theme={theme} code={code} language={highlightLanguage}>\n {({ tokens, getLineProps, getTokenProps }) => (\n <>\n {tokens.map((line, i) => {\n let column = 0;\n return (\n <div key={i} {...getLineProps({ line })}>\n {line.map((token, key) => {\n const props = getTokenProps({ token });\n const renderedToken = renderTokenContent(\n token.content,\n showWhitespace,\n normalizedTabSize,\n column,\n );\n column = renderedToken.column;\n return (\n <span\n key={key}\n {...props}\n style={{\n ...props.style,\n opacity: readOnly ? 0.7 : undefined,\n }}\n >\n {renderedToken.content}\n </span>\n );\n })}\n {showWhitespace && i < tokens.length - 1 && (\n <span className=\"nc-code-editor-line-ending\" aria-hidden=\"true\">↵</span>\n )}\n </div>\n );\n })}\n </>\n )}\n </Highlight>\n );\n },\n [theme, language, normalizedTabSize, readOnly, showWhitespace]\n );\n\n const editorContainerRef = useRef<HTMLDivElement>(null);\n const lineNumbersRef = useRef<HTMLDivElement>(null);\n\n const handleEditorScroll = () => {\n if (editorContainerRef.current && lineNumbersRef.current) {\n lineNumbersRef.current.scrollTop = editorContainerRef.current.scrollTop;\n }\n };\n\n return (\n <div\n className={`nc-code-editor ${className}`.trim()}\n style={{ display: 'flex', flexDirection: 'column', gap: 4, ...style }}\n >\n <style>{`\n .code-editor-container,\n .code-editor-container * {\n white-space: pre !important;\n overflow-wrap: normal !important;\n word-wrap: normal !important;\n word-break: keep-all !important;\n }\n .code-editor-container textarea,\n .code-editor-container pre {\n white-space: pre !important;\n overflow-wrap: normal !important;\n word-wrap: normal !important;\n word-break: keep-all !important;\n overflow-x: visible !important;\n resize: none !important;\n }\n .code-editor-container.read-only textarea {\n caret-color: transparent !important;\n color: var(--nc-text-weak) !important;\n }\n .nc-code-editor .token.tag {\n display: inline;\n padding: 0;\n border: 0;\n border-radius: 0;\n background: transparent;\n color: inherit;\n font-size: inherit;\n font-weight: inherit;\n white-space: inherit;\n }\n `}</style>\n <div\n className=\"nc-code-editor-container\"\n style={{\n border: '1px solid var(--nc-border)',\n background: readOnly ? 'var(--nc-bg-secondary)' : 'var(--nc-bg-tertiary)',\n minHeight,\n maxHeight,\n display: 'flex',\n }}\n >\n {/* Line numbers gutter */}\n {showLineNumbers && (\n <div\n ref={lineNumbersRef}\n style={{\n padding: '10px 8px',\n paddingRight: 12,\n background: 'var(--nc-bg-tertiary)',\n borderRight: '1px solid var(--nc-border)',\n color: 'var(--nc-text-weak)',\n fontFamily: 'Consolas, Monaco, \"Courier New\", monospace',\n fontSize: 13,\n lineHeight: '1.5',\n textAlign: 'right',\n userSelect: 'none',\n whiteSpace: 'pre',\n minWidth: 40,\n overflow: 'hidden',\n }}\n >\n {lineNumbers}\n </div>\n )}\n\n {/* Editor */}\n <div\n ref={editorContainerRef}\n className={`code-editor-container${readOnly ? ' read-only' : ''}`}\n style={{\n flex: 1,\n overflowX: 'auto',\n overflowY: 'auto',\n color: 'var(--nc-text)',\n }}\n onScroll={handleEditorScroll}\n >\n <Editor\n value={value}\n onValueChange={onChange}\n highlight={highlightWithTheme}\n padding={10}\n readOnly={readOnly}\n style={{\n fontFamily: 'Consolas, Monaco, \"Courier New\", monospace',\n fontSize: 13,\n lineHeight: '1.5',\n minHeight: Math.max(minHeight - 2, 0),\n background: 'transparent',\n color: 'var(--nc-text)',\n whiteSpace: 'pre',\n minWidth: 'max-content',\n tabSize: normalizedTabSize,\n }}\n textareaClassName=\"code-editor-textarea\"\n />\n </div>\n </div>\n </div>\n );\n}\n\nexport { CodeEditor };\nexport default CodeEditor;\n"],"names":["renderTokenContent","content","showWhitespace","tabSize","startColumn","column","character","index","width","jsx","detectLanguage","filename","ext","_a","extMap","baseName","CodeEditor","value","onChange","language","readOnly","minHeight","maxHeight","showLineNumbers","colorTheme","className","style","normalizedTabSize","lineCount","useMemo","lineNumbers","_","i","isDark","setIsDark","useState","useEffect","checkDark","bg","observer","theme","themes","highlightWithTheme","useCallback","code","highlightLanguage","Highlight","tokens","getLineProps","getTokenProps","Fragment","line","token","key","props","renderedToken","editorContainerRef","useRef","lineNumbersRef","handleEditorScroll","jsxs","Editor"],"mappings":"sMA6BA,SAASA,EAAmBC,EAAiBC,EAAyBC,EAAiBC,EAAoC,CACzH,GAAI,CAACF,EACH,MAAO,CAAE,QAAAD,EAAS,OAAQG,EAAcH,EAAQ,MAAA,EAGlD,IAAII,EAASD,EAwBb,MAAO,CAAE,QAvBQ,MAAM,KAAKH,EAAS,CAACK,EAAWC,IAAU,CACzD,GAAID,IAAc,IAChB,OAAAD,UACQ,OAAA,CAAiB,UAAU,4BAA4B,cAAY,OAAO,cAAhEE,CAAiE,EAErF,GAAID,IAAc,IAAM,CACtB,MAAME,EAAQL,EAAWE,EAASF,EAClC,OAAAE,GAAUG,EAERC,EAAAA,IAAC,OAAA,CAEC,UAAU,+CACV,MAAO,CAAE,MAAO,GAAGD,CAAK,IAAA,EACxB,cAAY,OACb,SAAA,GAAA,EAJMD,CAAA,CAQX,CACA,OAAAF,IACOC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CAAAC,GACCd,EAAAA,IAAC,MAAA,CACC,IAAKiD,EACL,MAAO,CACL,QAAS,WACT,aAAc,GACd,WAAY,wBACZ,YAAa,6BACb,MAAO,sBACP,WAAY,6CACZ,SAAU,GACV,WAAY,MACZ,UAAW,QACX,WAAY,OACZ,WAAY,MACZ,SAAU,GACV,SAAU,QAAA,EAGX,SAAA5B,CAAA,CAAA,EAKLrB,EAAAA,IAAC,MAAA,CACC,IAAK+C,EACL,UAAW,wBAAwBpC,EAAW,aAAe,EAAE,GAC/D,MAAO,CACL,KAAM,EACN,UAAW,OACX,UAAW,OACX,MAAO,gBAAA,EAET,SAAUuC,EAEV,SAAAlD,EAAAA,IAACoD,EAAAA,SAAA,CACC,MAAA5C,EACA,cAAeC,EACf,UAAWwB,EACX,QAAS,GACT,SAAAtB,EACA,MAAO,CACL,WAAY,6CACZ,SAAU,GACV,WAAY,MACZ,UAAW,KAAK,IAAIC,EAAY,EAAG,CAAC,EACpC,WAAY,cACZ,MAAO,iBACP,WAAY,MACZ,SAAU,cACV,QAASM,CAAA,EAEX,kBAAkB,sBAAA,CAAA,CACpB,CAAA,CACF,CAAA,CAAA,CACF,CAAA,CAAA,CAGN"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"code-editor.js","sources":["../src/components/CodeEditor.tsx"],"sourcesContent":["import React, { useCallback, useEffect, useRef, useMemo, useState } from 'react';\nimport Editor from 'react-simple-code-editor';\nimport { Highlight, themes } from 'prism-react-renderer';\n\nexport interface CodeEditorProps {\n value: string;\n onChange: (value: string) => void;\n /** Prism language name (e.g. 'javascript', 'python', 'yaml'). Omit for plain text. */\n language?: string;\n readOnly?: boolean;\n minHeight?: number;\n maxHeight?: number;\n /** Show line numbers gutter. Default: true. */\n lineNumbers?: boolean;\n /** Show markers for spaces, tabs, and line endings. Default: false. */\n showWhitespace?: boolean;\n /** Number of columns occupied by a tab. Default: 8. */\n tabSize?: number;\n /** Prism color theme. Defaults to automatic document theme detection. */\n colorTheme?: 'light' | 'dark' | 'auto';\n className?: string;\n style?: React.CSSProperties;\n}\n\ninterface RenderedToken {\n content: React.ReactNode;\n column: number;\n}\n\nfunction renderTokenContent(content: string, showWhitespace: boolean, tabSize: number, startColumn: number): RenderedToken {\n if (!showWhitespace) {\n return { content, column: startColumn + content.length };\n }\n\n let column = startColumn;\n const rendered = Array.from(content, (character, index) => {\n if (character === ' ') {\n column++;\n return <span key={index} className=\"nc-code-editor-whitespace\" aria-hidden=\"true\">·</span>;\n }\n if (character === '\\t') {\n const width = tabSize - (column % tabSize);\n column += width;\n return (\n <span\n key={index}\n className=\"nc-code-editor-whitespace nc-code-editor-tab\"\n style={{ width: `${width}ch` }}\n aria-hidden=\"true\"\n >\n →\n </span>\n );\n }\n column++;\n return character;\n });\n\n return { content: rendered, column };\n}\n\n/**\n * Map a filename (or file extension) to a Prism language name.\n * Returns undefined if the language is not recognized.\n */\nexport function detectLanguage(filename: string): string | undefined {\n const ext = filename.split('.').pop()?.toLowerCase();\n if (!ext) return undefined;\n\n const extMap: Record<string, string> = {\n ts: 'typescript',\n tsx: 'tsx',\n js: 'javascript',\n jsx: 'jsx',\n json: 'json',\n yaml: 'yaml',\n yml: 'yaml',\n py: 'python',\n rb: 'ruby',\n rs: 'rust',\n go: 'go',\n java: 'java',\n c: 'c',\n cpp: 'cpp',\n h: 'c',\n hpp: 'cpp',\n cs: 'csharp',\n sh: 'bash',\n bash: 'bash',\n zsh: 'bash',\n fish: 'bash',\n md: 'markdown',\n markdown: 'markdown',\n html: 'html',\n htm: 'html',\n css: 'css',\n scss: 'scss',\n sql: 'sql',\n xml: 'xml',\n svg: 'xml',\n toml: 'toml',\n ini: 'ini',\n cfg: 'ini',\n conf: 'ini',\n properties: 'properties',\n env: 'properties',\n nginx: 'nginx',\n dockerfile: 'docker',\n makefile: 'makefile',\n cmake: 'cmake',\n lua: 'lua',\n php: 'php',\n pl: 'perl',\n pm: 'perl',\n r: 'r',\n swift: 'swift',\n kt: 'kotlin',\n scala: 'scala',\n dart: 'dart',\n graphql: 'graphql',\n proto: 'protobuf',\n };\n\n // Check by extension first, then by full filename for special files\n if (extMap[ext]) return extMap[ext];\n\n const baseName = filename.toLowerCase();\n if (extMap[baseName]) return extMap[baseName];\n\n return undefined;\n}\n\nfunction CodeEditor({\n value,\n onChange,\n language,\n readOnly = false,\n minHeight = 100,\n maxHeight,\n lineNumbers: showLineNumbers = true,\n showWhitespace = false,\n tabSize = 8,\n colorTheme = 'auto',\n className = '',\n style = {},\n}: CodeEditorProps) {\n const normalizedTabSize = Number.isFinite(tabSize) ? Math.max(1, Math.floor(tabSize)) : 8;\n\n // Count lines for line numbers\n const lineCount = useMemo(() => {\n return value.split('\\n').length;\n }, [value]);\n\n // Generate line numbers\n const lineNumbers = useMemo(() => {\n return Array.from({ length: lineCount }, (_, i) => i + 1).join('\\n');\n }, [lineCount]);\n\n // Determine if we're in dark mode\n const [isDark, setIsDark] = useState(false);\n useEffect(() => {\n const checkDark = () => {\n const bg = getComputedStyle(document.documentElement).getPropertyValue('--nc-bg').trim();\n setIsDark(bg.startsWith('#0') || bg.startsWith('#1') || bg.startsWith('#2') || bg.startsWith('#3'));\n };\n checkDark();\n const observer = new MutationObserver(checkDark);\n observer.observe(document.documentElement, { attributes: true, attributeFilter: ['class', 'data-theme'] });\n return () => observer.disconnect();\n }, []);\n\n const theme = (colorTheme === 'dark' || (colorTheme === 'auto' && isDark)) ? themes.vsDark : themes.vsLight;\n\n // Highlight function\n const highlightWithTheme = useCallback(\n (code: string) => {\n const highlightLanguage = language || 'text';\n return (\n <Highlight theme={theme} code={code} language={highlightLanguage}>\n {({ tokens, getLineProps, getTokenProps }) => (\n <>\n {tokens.map((line, i) => {\n let column = 0;\n return (\n <div key={i} {...getLineProps({ line })}>\n {line.map((token, key) => {\n const props = getTokenProps({ token });\n const renderedToken = renderTokenContent(\n token.content,\n showWhitespace,\n normalizedTabSize,\n column,\n );\n column = renderedToken.column;\n return (\n <span\n key={key}\n {...props}\n style={{\n ...props.style,\n opacity: readOnly ? 0.7 : undefined,\n }}\n >\n {renderedToken.content}\n </span>\n );\n })}\n {showWhitespace && i < tokens.length - 1 && (\n <span className=\"nc-code-editor-line-ending\" aria-hidden=\"true\">↵</span>\n )}\n </div>\n );\n })}\n </>\n )}\n </Highlight>\n );\n },\n [theme, language, normalizedTabSize, readOnly, showWhitespace]\n );\n\n const editorContainerRef = useRef<HTMLDivElement>(null);\n const lineNumbersRef = useRef<HTMLDivElement>(null);\n\n const handleEditorScroll = () => {\n if (editorContainerRef.current && lineNumbersRef.current) {\n lineNumbersRef.current.scrollTop = editorContainerRef.current.scrollTop;\n }\n };\n\n return (\n <div\n className={`nc-code-editor ${className}`.trim()}\n style={{ display: 'flex', flexDirection: 'column', gap: 4, ...style }}\n >\n <style>{`\n .code-editor-container,\n .code-editor-container * {\n white-space: pre !important;\n overflow-wrap: normal !important;\n word-wrap: normal !important;\n word-break: keep-all !important;\n }\n .code-editor-container textarea,\n .code-editor-container pre {\n white-space: pre !important;\n overflow-wrap: normal !important;\n word-wrap: normal !important;\n word-break: keep-all !important;\n overflow-x: visible !important;\n resize: none !important;\n }\n .code-editor-container.read-only textarea {\n caret-color: transparent !important;\n color: var(--nc-text-weak) !important;\n }\n .nc-code-editor .token.tag {\n display: inline;\n padding: 0;\n border: 0;\n border-radius: 0;\n background: transparent;\n color: inherit;\n font-size: inherit;\n font-weight: inherit;\n white-space: inherit;\n }\n `}</style>\n <div\n className=\"nc-code-editor-container\"\n style={{\n border: '1px solid var(--nc-border)',\n background: readOnly ? 'var(--nc-bg-secondary)' : 'var(--nc-bg-tertiary)',\n minHeight,\n maxHeight,\n display: 'flex',\n }}\n >\n {/* Line numbers gutter */}\n {showLineNumbers && (\n <div\n ref={lineNumbersRef}\n style={{\n padding: '10px 8px',\n paddingRight: 12,\n background: 'var(--nc-bg-tertiary)',\n borderRight: '1px solid var(--nc-border)',\n color: 'var(--nc-text-weak)',\n fontFamily: 'Consolas, Monaco, \"Courier New\", monospace',\n fontSize: 13,\n lineHeight: '1.5',\n textAlign: 'right',\n userSelect: 'none',\n whiteSpace: 'pre',\n minWidth: 40,\n overflow: 'hidden',\n }}\n >\n {lineNumbers}\n </div>\n )}\n\n {/* Editor */}\n <div\n ref={editorContainerRef}\n className={`code-editor-container${readOnly ? ' read-only' : ''}`}\n style={{\n flex: 1,\n overflowX: 'auto',\n overflowY: 'auto',\n color: 'var(--nc-text)',\n }}\n onScroll={handleEditorScroll}\n >\n <Editor\n value={value}\n onValueChange={onChange}\n highlight={highlightWithTheme}\n padding={10}\n readOnly={readOnly}\n style={{\n fontFamily: 'Consolas, Monaco, \"Courier New\", monospace',\n fontSize: 13,\n lineHeight: '1.5',\n minHeight: Math.max(minHeight - 2, 0),\n background: 'transparent',\n color: 'var(--nc-text)',\n whiteSpace: 'pre',\n minWidth: 'max-content',\n tabSize: normalizedTabSize,\n }}\n textareaClassName=\"code-editor-textarea\"\n />\n </div>\n </div>\n </div>\n );\n}\n\nexport { CodeEditor };\nexport default CodeEditor;\n"],"names":["renderTokenContent","content","showWhitespace","tabSize","startColumn","column","character","index","width","jsx","detectLanguage","filename","ext","_a","extMap","baseName","CodeEditor","value","onChange","language","readOnly","minHeight","maxHeight","showLineNumbers","colorTheme","className","style","normalizedTabSize","lineCount","useMemo","lineNumbers","_","i","isDark","setIsDark","useState","useEffect","checkDark","bg","observer","theme","themes","highlightWithTheme","useCallback","code","Highlight","tokens","getLineProps","getTokenProps","Fragment","line","token","key","props","renderedToken","editorContainerRef","useRef","lineNumbersRef","handleEditorScroll","jsxs","Editor"],"mappings":";;;AA6BA,SAASA,EAAmBC,GAAiBC,GAAyBC,GAAiBC,GAAoC;AACzH,MAAI,CAACF;AACH,WAAO,EAAE,SAAAD,GAAS,QAAQG,IAAcH,EAAQ,OAAA;AAGlD,MAAII,IAASD;AAwBb,SAAO,EAAE,SAvBQ,MAAM,KAAKH,GAAS,CAACK,GAAWC,MAAU;AACzD,QAAID,MAAc;AAChB,aAAAD,uBACQ,QAAA,EA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BACZ,UAAU;AAAA,oBACV,UAAU;AAAA,kBAAA;AAAA,kBAGX,UAAA3B;AAAA,gBAAA;AAAA,cAAA;AAAA,cAKL,gBAAArB;AAAA,gBAAC;AAAA,gBAAA;AAAA,kBACC,KAAK8C;AAAA,kBACL,WAAW,wBAAwBnC,IAAW,eAAe,EAAE;AAAA,kBAC/D,OAAO;AAAA,oBACL,MAAM;AAAA,oBACN,WAAW;AAAA,oBACX,WAAW;AAAA,oBACX,OAAO;AAAA,kBAAA;AAAA,kBAET,UAAUsC;AAAA,kBAEV,UAAA,gBAAAjD;AAAA,oBAACmD;AAAAA,oBAAA;AAAA,sBACC,OAAA3C;AAAA,sBACA,eAAeC;AAAA,sBACf,WAAWwB;AAAA,sBACX,SAAS;AAAA,sBACT,UAAAtB;AAAA,sBACA,OAAO;AAAA,wBACL,YAAY;AAAA,wBACZ,UAAU;AAAA,wBACV,YAAY;AAAA,wBACZ,WAAW,KAAK,IAAIC,IAAY,GAAG,CAAC;AAAA,wBACpC,YAAY;AAAA,wBACZ,OAAO;AAAA,wBACP,YAAY;AAAA,wBACZ,UAAU;AAAA,wBACV,SAASM;AAAA,sBAAA;AAAA,sBAEX,mBAAkB;AAAA,oBAAA;AAAA,kBAAA;AAAA,gBACpB;AAAA,cAAA;AAAA,YACF;AAAA,UAAA;AAAA,QAAA;AAAA,MACF;AAAA,IAAA;AAAA,EAAA;AAGN;"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"icons.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}
package/dist/icons.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"icons.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}