efficient-shell 13.14.0 → 13.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -1
- package/dist/{Browser-FJSOZLWR.js → Browser-KHMTFVKZ.js} +18 -18
- package/dist/Calculator-OKVS4UOJ.js +29 -0
- package/dist/CurrencyConverter-ZA2NGJWI.js +21 -0
- package/dist/{Files-XLDCJ7DO.js → Files-EN4DDZYV.js} +78 -78
- package/dist/Notepad-PHQNEUKW.js +24 -0
- package/dist/{PomodoroTimer-XKSYNHS7.js → PomodoroTimer-PW7BRZUJ.js} +6 -6
- package/dist/{Preview-24XTJDIR.js → Preview-OSQHIS3Z.js} +31 -31
- package/dist/Stock-2P4NWUNB.js +16 -0
- package/dist/{Weather-IWM5XTE5.js → Weather-7LIQ4POB.js} +20 -20
- package/dist/{WorldClock-35TNXAJM.js → WorldClock-KHBYIJQZ.js} +6 -6
- package/dist/ai/index.js +43 -43
- package/dist/apps/index.js +1 -1
- package/dist/bin/browser-check.js +1 -1
- package/dist/bin/media-host-check.js +1 -1
- package/dist/bin/ui-check.js +1 -1
- package/dist/brand.css +1 -1
- package/dist/charts/ChartFrame.js +1 -1
- package/dist/charts/PieChart.js +1 -1
- package/dist/charts/RadarChart.js +1 -1
- package/dist/charts/RadialBarChart.js +1 -1
- package/dist/charts/SpecChart.js +1 -1
- package/dist/charts/TimeSeriesChart.js +1 -1
- package/dist/{chunk-UGEA3C5C.js → chunk-23LK4PLJ.js} +5 -5
- package/dist/{chunk-SNHBDP4X.js → chunk-3J4SFHC7.js} +5 -5
- package/dist/{chunk-RT77WNRB.js → chunk-3OUG6QAD.js} +1 -1
- package/dist/{chunk-775K6APE.js → chunk-3QNZ7YGZ.js} +1 -1
- package/dist/chunk-42RCQEEJ.js +14 -0
- package/dist/{chunk-36UB4MJX.js → chunk-4OBSVO6U.js} +1 -1
- package/dist/{chunk-64PPKUJG.js → chunk-5HBAJ2UA.js} +1 -1
- package/dist/{chunk-GTT7LIWK.js → chunk-7JG64RQW.js} +1 -1
- package/dist/{chunk-QNQLKGBC.js → chunk-A4WNUFLT.js} +1 -1
- package/dist/{chunk-A7ZYFJ6V.js → chunk-AOLJKOO6.js} +23 -23
- package/dist/chunk-BWJZTHZ6.js +1 -0
- package/dist/{chunk-2GMYO6ET.js → chunk-BWLC56GZ.js} +1 -1
- package/dist/chunk-CBUBDXJ2.js +1 -0
- package/dist/{chunk-JWLOERV5.js → chunk-CGKY4ZRA.js} +2 -2
- package/dist/{chunk-OYXA7SWV.js → chunk-D3T3JCUC.js} +1 -1
- package/dist/chunk-G5UGCAWN.js +17 -0
- package/dist/{chunk-HTANBHNV.js → chunk-GKNF53YM.js} +1 -1
- package/dist/chunk-GSLZ46DJ.js +24 -0
- package/dist/chunk-HNPJ3V3I.js +6 -0
- package/dist/{chunk-JPKNVTTK.js → chunk-I6JTDAOB.js} +1 -1
- package/dist/{chunk-YY7OFUT2.js → chunk-JFRBUVHX.js} +2 -2
- package/dist/chunk-KXPXLUNM.js +4 -0
- package/dist/{chunk-KBQNMQCK.js → chunk-LLYMOV4S.js} +1 -1
- package/dist/{chunk-WIFK6TLB.js → chunk-NYKOATR5.js} +1 -1
- package/dist/chunk-O2PVZC5D.js +8 -0
- package/dist/{chunk-FMERX3PG.js → chunk-OLSA36VX.js} +2 -2
- package/dist/{chunk-FUP2J2OX.js → chunk-QQK7HKNK.js} +1 -1
- package/dist/{chunk-RZJ63ZM4.js → chunk-QVQO3EFL.js} +9 -9
- package/dist/{chunk-ZDYIVU5R.js → chunk-RZ3OQFOD.js} +6 -6
- package/dist/chunk-S25KELFW.js +11 -0
- package/dist/{chunk-YBYJUBWE.js → chunk-TTLVTJR6.js} +1 -1
- package/dist/{chunk-EHM3ZVVT.js → chunk-UC5IC3AM.js} +4 -4
- package/dist/{chunk-YUDBB7VC.js → chunk-UGEX7SVM.js} +3 -3
- package/dist/{chunk-G3MJO3A6.js → chunk-W6NGPSMM.js} +13 -13
- package/dist/{chunk-ALHYNNE2.js → chunk-WJ7U6TGK.js} +6 -6
- package/dist/{chunk-YNVH2EIE.js → chunk-ZNKZ6J65.js} +3 -3
- package/dist/chunk-ZOCE74ED.js +2 -0
- package/dist/data/EntityList.js +1 -1
- package/dist/data/ResizableTable.js +1 -1
- package/dist/forms/BorderInput.js +1 -1
- package/dist/forms/BrandAssetEditor.js +1 -1
- package/dist/forms/ColorPicker.js +1 -1
- package/dist/forms/IconPicker.js +1 -1
- package/dist/forms/MediaLibrary.js +1 -1
- package/dist/forms/MediaUploadField.js +1 -1
- package/dist/icons/index.js +1 -1
- package/dist/index.js +515 -515
- package/dist/page-tabs/index.js +5 -5
- package/dist/shell/Card.js +1 -1
- package/dist/shell/ConfirmDialog.js +1 -1
- package/dist/shell/Dialog.d.ts +14 -4
- package/dist/shell/Dialog.js +1 -1
- package/dist/shell/Drawer.js +1 -1
- package/dist/shell/LanguageSelect.js +1 -1
- package/dist/shell/Popover.js +1 -1
- package/dist/shell/SettingRow.js +1 -1
- package/dist/shell/SidebarLayout.js +1 -1
- package/dist/shell/discardGuard.js +1 -1
- package/dist/telemetry/index.js +1 -1
- package/dist/templates/AuthScreen.js +1 -1
- package/dist/templates/ChatTemplate.js +1 -1
- package/dist/templates/CheckoutTemplate.js +1 -1
- package/dist/templates/DashboardTemplate.js +1 -1
- package/dist/templates/DataTablePage.js +1 -1
- package/dist/templates/EmailTemplate.js +1 -1
- package/dist/templates/FormLayoutPage.js +1 -1
- package/dist/templates/GalleryTemplate.js +1 -1
- package/dist/ui/index.js +1 -1
- package/dist/ui.css +4 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/dist/Calculator-ZHINQHFI.js +0 -29
- package/dist/CurrencyConverter-AAXS7RPC.js +0 -21
- package/dist/Notepad-NENKOSXJ.js +0 -24
- package/dist/Stock-TCQSVSSY.js +0 -16
- package/dist/chunk-4S3E3VJH.js +0 -11
- package/dist/chunk-64RHGJXK.js +0 -4
- package/dist/chunk-6AUQWWUA.js +0 -17
- package/dist/chunk-FQD6P6EZ.js +0 -4
- package/dist/chunk-IQDHVQAQ.js +0 -14
- package/dist/chunk-JGKDWDVM.js +0 -27
- package/dist/chunk-KY3KGRGC.js +0 -1
- package/dist/chunk-RIG5FEVS.js +0 -1
- package/dist/chunk-XSHDPG45.js +0 -9
- /package/dist/{chunk-JR2HHKVP.js → chunk-HOHHRNCB.js} +0 -0
package/dist/page-tabs/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import{TabStrip as e}from"../chunk-YM2Z4LZ2.js";import{useShellLanguage as t}from"../chunk-IOLUF3UL.js";import"../chunk-BG3C4ALM.js";import{confirm as n}from"../chunk-
|
|
3
|
-
return b(j.Provider,{value:ce,children:e})}var w=c.Activity,S=Boolean(w);function
|
|
4
|
-
return b("div",{ref:y,role:s?"tabpanel":void 0,id:s,"aria-labelledby":l,hidden:!t,style:t?void 0:{display:"none"},className:c,"data-page-tab":e,children:/* @__PURE__ */b(F.Provider,{value:k,children:/* @__PURE__ */b(
|
|
5
|
-
return b("div",{className:t,children:e(r)},
|
|
6
|
-
return b(e,{tabs:l.map(e=>({key:e.key,title:e.title,pinned:e.pinned,dirty:a.dirty.includes(e.key),copy:c.copies[e.key],icon:p(
|
|
2
|
+
import{TabStrip as e}from"../chunk-YM2Z4LZ2.js";import{useShellLanguage as t}from"../chunk-IOLUF3UL.js";import"../chunk-BG3C4ALM.js";import{confirm as n}from"../chunk-GSLZ46DJ.js";import"../chunk-HNPJ3V3I.js";import"../chunk-FTKLODQK.js";import"../chunk-ZOCE74ED.js";import"../chunk-HOHHRNCB.js";import"../chunk-VWGWZY7A.js";import"../chunk-7QSDPSXP.js";import"../chunk-F3ZOO23R.js";import"../chunk-DWGYC7OD.js";import"../chunk-GOAFMGUI.js";import"../chunk-URHGHXDN.js";import"../chunk-5QFPTDQF.js";import"../chunk-ISVODSRP.js";import"../chunk-J75ZT2JQ.js";import"../chunk-BWJZTHZ6.js";import"../chunk-SOZCWT6I.js";import"../chunk-PGN5ME7B.js";import"../chunk-62LW225J.js";import"../chunk-GLUJS42B.js";import{useBrowserLayoutEffect as r}from"../chunk-D65T4H6J.js";import"../chunk-UQYNPYF4.js";import"../chunk-TWVUQUUD.js";import"../chunk-5FYDNH4Y.js";import"../chunk-LNXBTK7Q.js";import{useShellStrings as i}from"../chunk-IUVGHHR3.js";import"../chunk-C3QOHMR6.js";import*as c from"react";import{createContext as s,memo as l,useRef as a,useEffect as o,useMemo as u,useId as y,useCallback as d,useReducer as p,useState as k,useContext as f}from"react";import{useLocation as m,useNavigate as h}from"react-router-dom";import{jsx as b,Fragment as v,jsxs as g}from"react/jsx-runtime";var j=s(null),F=s(null),K=12;var T=(e,t)=>e.filter(e=>e!==t);function N(e,t){return[...t.map(t=>e.find(e=>e.key===t)).filter(e=>Boolean(e)),...e.filter(e=>!t.includes(e.key))]}function O(e,t,n=12){const r=e.clock+1;let i;i=e.tabs.find(e=>e.key===t.key)?e.tabs.map(e=>e.key===t.key?{...e,path:t.path,title:"page"===e.titleFrom?e.title:t.title||e.title,lastActive:r}:e):[...e.tabs,{key:t.key,path:t.path,title:t.title,titleFrom:"route",pinned:!1,lastActive:r}];let c={...e,tabs:i,activeKey:t.key,mounted:(s=e.mounted,l=t.key,s.includes(l)?s:[...s,l]),clock:r};var s,l;return c.closing&&c.closing!==t.key?c=L(c,c.closing):c.closing===t.key&&(c={...c,closing:null}),function(e,t){let n=e;for(;n.tabs.length>t;){const e=n.tabs.filter(e=>!e.pinned&&e.key!==n.activeKey&&!n.dirty.includes(e.key)&&e.key!==n.closing).sort((e,t)=>e.lastActive-t.lastActive);if(0===e.length)break;n=L(n,e[0].key)}return n}(c,n)}function I(e){let t={...e,activeKey:null};return t.closing&&(t=L(t,t.closing)),t}function L(e,t){return{...e,tabs:e.tabs.filter(e=>e.key!==t),mounted:T(e.mounted,t),dirty:T(e.dirty,t),activeKey:e.activeKey===t?null:e.activeKey,closing:e.closing===t?null:e.closing}}function C(e,t){switch(t.type){case"visit":return O(e,t.entry,t.maxTabs);case"transient":return I(e);case"close":{let n=e;for(const e of t.keys)n=L(n,e);return t.closing?function(e,t){return{...e,closing:t}}(n,t.closing):n}case"title":return function(e,t,n){const r=e.tabs.find(e=>e.key===t);return!r||!n||r.title===n&&"page"===r.titleFrom?e:{...e,tabs:e.tabs.map(e=>e.key===t?{...e,title:n,titleFrom:"page"}:e)}}(e,t.key,t.title);case"dirty":return function(e,t,n){return n===e.dirty.includes(t)?e:{...e,dirty:n?[...e.dirty,t]:T(e.dirty,t)}}(e,t.key,t.dirty)}}var D=e=>`${e.pathname}${e.search}`;function M(e){const t=e.indexOf("#"),n=t>=0?e.slice(t):"",r=t>=0?e.slice(0,t):e,i=r.indexOf("?");return{pathname:i>=0?r.slice(0,i):r,search:i>=0?r.slice(i):"",hash:n}}function A({children:e,resolve:c,pinned:s=[],storageKey:l,maxTabs:f=12,enabled:v=!0,confirmDiscard:g}){const F=m(),K=h(),T=i().pageTabs,L=y(),A=a(c);A.current=c;const w=d(e=>{const t=A.current(e);return t?{key:t.key??e.pathname,path:D(e),title:t.title}:null},[]),{language:S}=t(),[H,x]=p(C,void 0,()=>{const e=function(e,t,n){if(!e)return[];let r;try{r=JSON.parse(e)}catch{return[]}const i=r;if(!i||1!==i.v||!Array.isArray(i.tabs))return[];const c=Boolean(n&&"string"==typeof i.lang&&i.lang!==n),s=[];for(const e of i.tabs){if(!e||"string"!=typeof e.path||!e.path.startsWith("/")||e.path.startsWith("//"))continue;const n=e.path.indexOf("#"),r=n>=0?e.path.slice(0,n):e.path,i=t(r);if(!i||s.some(e=>e.key===i.key))continue;const l=!c&&"page"===e.titleFrom&&"string"==typeof e.title&&e.title;s.push({key:i.key,path:r,title:l||i.title,titleFrom:l?"page":"route",pinned:!1,lastActive:0})}return s}(function(e){if(!e)return null;try{return localStorage.getItem(e)}catch{return null}}(l),e=>w(M(e)),S);let t=function(e,t){const n=t.map(e=>e.key);let r=e.tabs.map(e=>({...e,pinned:n.includes(e.key)}));for(const e of t)r.some(t=>t.key===e.key)||(r=[...r,{key:e.key,path:e.path,title:e.title,titleFrom:"route",pinned:!0,lastActive:0}]);return{...e,tabs:N(r,n)}}({tabs:[],activeKey:null,mounted:[],dirty:[],closing:null,clock:0,tabs:e},s.map(e=>w(M(e))).filter(e=>Boolean(e)));const n=v?w(F):null;return t=n?O(t,n,f):I(t),t}),B=a(H);B.current=H;const G=a(/* @__PURE__ */new Map),J=v?w(F):null,R=J?.key??null;r(()=>{if(!v)return;const e=w(F);e?(G.current.set(e.key,F),x({type:"visit",entry:e,maxTabs:f})):x({type:"transient"})},[F,v,f,w]),o(()=>{const e=new Set(H.tabs.map(e=>e.key));for(const t of G.current.keys())e.has(t)||G.current.delete(t)},[H.tabs]);const U=u(()=>function(e,t){const n={v:1,...t?{lang:t}:{},tabs:e.tabs.filter(t=>t.key!==e.closing).map(({key:e,path:t,title:n,titleFrom:r})=>({key:e,path:t,title:n,titleFrom:r}))};return JSON.stringify(n)}(H,S),[H,S]);o(()=>{if(l)try{localStorage.setItem(l,U)}catch{}},[U,l]);const Z=H.dirty.length>0;o(()=>{if(!Z)return;const e=e=>{e.preventDefault(),e.returnValue=""};return window.addEventListener("beforeunload",e),()=>window.removeEventListener("beforeunload",e)},[Z]);const P=a(/* @__PURE__ */new Map),Q=d((e,t)=>{let n=P.current.get(e);return void 0===n&&(n=P.current.size,P.current.set(e,n)),`${L}-page-${t}-${n}`},[L]),W=d(e=>g?g(e):n({title:T.discardTitle,message:1===e.length?T.discardOne:T.discardCount?.(e.length)??`${e.length} ${T.discardMany}`,confirmLabel:T.discardConfirm,cancelLabel:T.keepEditing,variant:"warning"}),[g,T]),E=d(()=>{const e=B.current;return e.tabs.find(e=>e.pinned)?.path??"/"},[]),Y=d((e,t,n)=>{const r=B.current,i=r.activeKey;if(!i||!e.includes(i))return void x({type:"close",keys:e,closing:null});let c=t;if(!c){const t={...r,tabs:r.tabs.filter(t=>t.key===i||!e.includes(t.key))},s=n?r.tabs.find(t=>t.key===n&&!e.includes(t.key)):void 0;c=(s??function(e,t){const n=e.tabs.filter(n=>n.key!==e.closing||n.key===t),r=n.findIndex(e=>e.key===t);return r<0?null:n[r+1]??n[r-1]??null}(t,i))?.path??E()}x({type:"close",keys:e.filter(e=>e!==i),closing:i}),K(c)},[K,E]),$=d(async(e,t={})=>{const n=B.current.tabs.find(t=>t.key===e);return!n||n.pinned?(t.to&&K(t.to),!1):!(!t.force&&B.current.dirty.includes(e)&&!await W([n]))&&(!!B.current.tabs.some(t=>t.key===e)&&(Y([e],t.to),!0))},[W,Y,K]),V=d(async(e,t)=>{let n=function(e,t,n){const r=e.tabs.filter(e=>!e.pinned);if("all"===t)return r.map(e=>e.key);if("others"===t)return r.filter(e=>e.key!==n).map(e=>e.key);const i=e.tabs.findIndex(e=>e.key===n);return i<0?[]:e.tabs.slice(i+1).filter(e=>!e.pinned).map(e=>e.key)}(B.current,e,t);const r=B.current.tabs.filter(e=>n.includes(e.key)&&B.current.dirty.includes(e.key));r.length&&!await W(r)&&(n=n.filter(e=>!r.some(t=>t.key===e)));const i=new Set(B.current.tabs.map(e=>e.key));n=n.filter(e=>i.has(e)),n.length&&Y(n,void 0,"all"===e?null:t)},[W,Y]),X=d(e=>{const t=B.current.tabs.find(t=>t.key===e);t&&e!==B.current.activeKey&&K(t.path)},[K]),z=d((e,t)=>x({type:"title",key:e,title:t}),[]),q=d((e,t)=>x({type:"dirty",key:e,dirty:t}),[]),[_,ee]=k({}),te=d((e,t)=>{ee(n=>{if((n[e]??null)===t)return n;const r={...n};return t?r[e]=t:delete r[e],r})},[]),ne=d(e=>w(e)?.key??null,[w]),re=d(e=>G.current.get(e),[]),ie=u(()=>v?H.tabs.filter(e=>e.key!==H.closing):[],[v,H.tabs,H.closing]),ce=u(()=>({enabled:v,state:H,currentKey:R,resolve:c,keyFor:ne,locationFor:re,idFor:Q,activate:X,close:$,closeMany:V,setTitle:z,setDirty:q,copies:_,setCopy:te,visibleTabs:ie}),[v,H,R,c,ne,re,Q,X,$,V,z,q,_,te,ie]);/* @__PURE__ */
|
|
3
|
+
return b(j.Provider,{value:ce,children:e})}var w=c.Activity,S=Boolean(w);function H({active:e,children:t}){return w?/* @__PURE__ */b(w,{mode:e?"visible":"hidden",children:t}):/* @__PURE__ */b(v,{children:t})}var x=l(function({tabKey:e,active:t,location:n,render:i,className:c,panelId:s,tabId:l}){const y=a(null),d=a(t),p=a(/* @__PURE__ */new Map);r(()=>{const e=d.current;if(d.current=t,t&&!e)for(const[e,[t,n]]of p.current)e.isConnected?(e.scrollTop=t,e.scrollLeft=n):p.current.delete(e)},[t]),o(()=>{const e=y.current;if(!e)return;const t=e=>{if(!d.current)return;const t=e.target;t&&"number"==typeof t.scrollTop&&p.current.set(t,[t.scrollTop,t.scrollLeft])};return e.addEventListener("scroll",t,!0),()=>e.removeEventListener("scroll",t,!0)},[]);const k=u(()=>({key:e,activeRef:d}),[e]);/* @__PURE__ */
|
|
4
|
+
return b("div",{ref:y,role:s?"tabpanel":void 0,id:s,"aria-labelledby":l,hidden:!t,style:t?void 0:{display:"none"},className:c,"data-page-tab":e,children:/* @__PURE__ */b(F.Provider,{value:k,children:/* @__PURE__ */b(H,{active:t,children:i(n)})})})},(e,t)=>e.active===t.active&&e.location===t.location&&e.className===t.className&&e.panelId===t.panelId&&e.tabId===t.tabId&&(!t.active||e.render===t.render)),B="\0transient";function G({children:e,frameClassName:t}){const n=f(j),r=m();if(!n||!n.enabled)/* @__PURE__ */
|
|
5
|
+
return b("div",{className:t,children:e(r)},B);const{state:i,currentKey:c,locationFor:s,idFor:l}=n,a=i.tabs.filter(e=>i.mounted.includes(e.key)).map(e=>e.key);return c&&!a.includes(c)&&a.push(c),/* @__PURE__ */g(v,{children:[a.map(n=>{const i=n===c,a=i?r:s(n);return a?/* @__PURE__ */b(x,{tabKey:n,active:i,location:a,render:e,className:t,panelId:l(n,"panel"),tabId:l(n,"tab")},n):null}),!c&&/* @__PURE__ */b(x,{tabKey:B,active:!0,location:r,render:e,className:t},B)]})}function J({className:t,activeClassName:n,end:r}){const c=f(j),s=i().pageTabs;if(!c||!c.enabled)return null;const{visibleTabs:l,state:a,idFor:o,activate:u,close:y,closeMany:d,resolve:p}=c;/* @__PURE__ */
|
|
6
|
+
return b(e,{tabs:l.map(e=>({key:e.key,title:e.title,pinned:e.pinned,dirty:a.dirty.includes(e.key),copy:c.copies[e.key],icon:p(M(e.path))?.icon})),activeKey:c.currentKey??null,idFor:o,panelMounted:e=>a.mounted.includes(e),onActivate:u,onClose:e=>{y(e)},onCloseMany:(e,t)=>{d(e,t)},label:s.label,className:t,activeClassName:n,end:r})}var R={enabled:!1,tabs:[],activeKey:null,activate:()=>{},close:async()=>!1,closeOthers:async()=>{},closeRight:async()=>{},closeAll:async()=>{}};function U(){const e=f(j);return e&&e.enabled?{enabled:!0,tabs:e.visibleTabs,activeKey:e.currentKey,activate:e.activate,close:e.close,closeOthers:t=>e.closeMany("others",t),closeRight:t=>e.closeMany("right",t),closeAll:()=>e.closeMany("all",null)}:R}function Z(){const e=f(j),t=f(F),n=h();return{key:e?.enabled&&t?t.key:null,close:d(async(r={})=>e?.enabled&&t&&e.state.tabs.some(e=>e.key===t.key)?e.close(t.key,r):(r.to&&n(r.to),!1),[e,t,n])}}function P(e){const t=f(j),n=f(F),r=t?.enabled?t.setTitle:void 0,i=n?.key;o(()=>{r&&i&&e&&r(i,e)},[r,i,e])}function Q(e){const t=f(j),n=f(F),r=t?.enabled?t.setCopy:void 0,i=n?.key;o(()=>{if(r&&i)return r(i,e||null),()=>r(i,null)},[r,i,e])}function W(e){const t=f(j),n=f(F),r=t?.enabled?t.setDirty:void 0;o(()=>{if(r&&n)return r(n.key,e),()=>{n.activeRef.current&&r(n.key,!1)}},[r,n,e])}export{K as DEFAULT_MAX_TABS,S as PAGE_TABS_PAUSE_HIDDEN,J as PageTabBar,G as PageTabsOutlet,A as PageTabsProvider,M as parseTabPath,Z as usePageTab,Q as usePageTabCopy,W as usePageTabDirty,P as usePageTabTitle,U as usePageTabs};
|
package/dist/shell/Card.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
export{StatCard,Card as default}from"../chunk-
|
|
2
|
+
export{StatCard,Card as default}from"../chunk-S25KELFW.js";import"../chunk-BWJZTHZ6.js";import"../chunk-IUVGHHR3.js";import"../chunk-C3QOHMR6.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
export{ConfirmProvider,confirm,confirmDestructive,prompt,useConfirm}from"../chunk-
|
|
2
|
+
export{ConfirmProvider,confirm,confirmDestructive,prompt,useConfirm}from"../chunk-GSLZ46DJ.js";import"../chunk-HNPJ3V3I.js";import"../chunk-ZOCE74ED.js";import"../chunk-HOHHRNCB.js";import"../chunk-VWGWZY7A.js";import"../chunk-7QSDPSXP.js";import"../chunk-F3ZOO23R.js";import"../chunk-DWGYC7OD.js";import"../chunk-ISVODSRP.js";import"../chunk-J75ZT2JQ.js";import"../chunk-BWJZTHZ6.js";import"../chunk-PGN5ME7B.js";import"../chunk-62LW225J.js";import"../chunk-D65T4H6J.js";import"../chunk-UQYNPYF4.js";import"../chunk-TWVUQUUD.js";import"../chunk-IUVGHHR3.js";import"../chunk-C3QOHMR6.js";
|
package/dist/shell/Dialog.d.ts
CHANGED
|
@@ -7,10 +7,14 @@ import { DialogDirty } from './discardGuard.js';
|
|
|
7
7
|
* `xl` is for something to READ inside the dialog — a document in
|
|
8
8
|
* `PdfViewer`, a page of text — where 32rem shows an A4 page at under half
|
|
9
9
|
* its size. `2xl` is for a big CHOOSER, such as the editors' media library
|
|
10
|
-
* (harness UI-20), where the grid needs the room.
|
|
11
|
-
*
|
|
10
|
+
* (harness UI-20), where the grid needs the room. `full` is for a chooser
|
|
11
|
+
* laid out like a window — a head bar, a list down the left edge, a main
|
|
12
|
+
* area that scrolls (the website editor's Add page window): the whole layer
|
|
13
|
+
* inside its gutter, the popup corner, no padding of its own, the title in a head bar with a
|
|
14
|
+
* line under it, and a body that fills the rest and scrolls inside itself.
|
|
15
|
+
* On a phone every size is the screen's width less the gutter.
|
|
12
16
|
*/
|
|
13
|
-
type DialogSize = 'sm' | 'md' | 'lg' | 'xl' | '2xl';
|
|
17
|
+
type DialogSize = 'sm' | 'md' | 'lg' | 'xl' | '2xl' | 'full';
|
|
14
18
|
interface DialogProps {
|
|
15
19
|
open: boolean;
|
|
16
20
|
/**
|
|
@@ -46,6 +50,12 @@ interface DialogProps {
|
|
|
46
50
|
children?: ReactNode;
|
|
47
51
|
/** Action row, right-aligned below the body. */
|
|
48
52
|
footer?: ReactNode;
|
|
53
|
+
/**
|
|
54
|
+
* Buttons in the head's row, left of the close cross — a help button, a
|
|
55
|
+
* view switch. Drawn at any size. They come after the body in the DOM, with
|
|
56
|
+
* the cross, so the first tab stop is still the dialog's own content.
|
|
57
|
+
*/
|
|
58
|
+
headerActions?: ReactNode;
|
|
49
59
|
/**
|
|
50
60
|
* Escape and backdrop clicks do nothing — the only way out is an action in
|
|
51
61
|
* the footer. For a state the user must actually resolve rather than dismiss,
|
|
@@ -93,6 +103,6 @@ interface DialogProps {
|
|
|
93
103
|
'aria-describedby'?: string;
|
|
94
104
|
className?: string;
|
|
95
105
|
}
|
|
96
|
-
declare function Dialog({ open, onClose, title, description, role, children, footer, blocking, size, aside, dirty, initialFocus, 'aria-label': ariaLabel, 'aria-labelledby': labelledBy, 'aria-describedby': describedBy, className, }: DialogProps): react_jsx_runtime.JSX.Element | null;
|
|
106
|
+
declare function Dialog({ open, onClose, title, description, role, children, footer, headerActions, blocking, size, aside, dirty, initialFocus, 'aria-label': ariaLabel, 'aria-labelledby': labelledBy, 'aria-describedby': describedBy, className, }: DialogProps): react_jsx_runtime.JSX.Element | null;
|
|
97
107
|
|
|
98
108
|
export { type DialogProps, type DialogSize, Dialog as default };
|
package/dist/shell/Dialog.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
export{Dialog as default}from"../chunk-
|
|
2
|
+
export{Dialog as default}from"../chunk-HNPJ3V3I.js";import"../chunk-ZOCE74ED.js";import"../chunk-HOHHRNCB.js";import"../chunk-VWGWZY7A.js";import"../chunk-7QSDPSXP.js";import"../chunk-F3ZOO23R.js";import"../chunk-DWGYC7OD.js";import"../chunk-ISVODSRP.js";import"../chunk-J75ZT2JQ.js";import"../chunk-BWJZTHZ6.js";import"../chunk-PGN5ME7B.js";import"../chunk-62LW225J.js";import"../chunk-D65T4H6J.js";import"../chunk-TWVUQUUD.js";import"../chunk-IUVGHHR3.js";import"../chunk-C3QOHMR6.js";
|
package/dist/shell/Drawer.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
export{Drawer as default}from"../chunk-
|
|
2
|
+
export{Drawer as default}from"../chunk-O2PVZC5D.js";import"../chunk-ZOCE74ED.js";import"../chunk-HOHHRNCB.js";import"../chunk-VWGWZY7A.js";import"../chunk-7QSDPSXP.js";import"../chunk-F3ZOO23R.js";import"../chunk-DWGYC7OD.js";import"../chunk-ISVODSRP.js";import"../chunk-J75ZT2JQ.js";import"../chunk-BWJZTHZ6.js";import"../chunk-PGN5ME7B.js";import"../chunk-62LW225J.js";import"../chunk-D65T4H6J.js";import"../chunk-TWVUQUUD.js";import"../chunk-IUVGHHR3.js";import"../chunk-C3QOHMR6.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
export{LanguagePanel,LanguageSelect,languageSelectWidth}from"../chunk-4F3SUYN5.js";import"../chunk-IOLUF3UL.js";import"../chunk-3C7JKJGL.js";import"../chunk-
|
|
2
|
+
export{LanguagePanel,LanguageSelect,languageSelectWidth}from"../chunk-4F3SUYN5.js";import"../chunk-IOLUF3UL.js";import"../chunk-3C7JKJGL.js";import"../chunk-VQCKMT5F.js";import"../chunk-RQGLDRRF.js";import"../chunk-64ACCUNN.js";import"../chunk-32VV2J22.js";import"../chunk-NI5FXWK5.js";import"../chunk-DEYVAMJQ.js";import"../chunk-EO5RLFRX.js";import"../chunk-K5YT5PMJ.js";import"../chunk-2NMW66P5.js";import"../chunk-6KBDNYRW.js";import"../chunk-CGZBDI6C.js";import"../chunk-AYZY3YNC.js";import"../chunk-UGTRSRIW.js";import"../chunk-URHGHXDN.js";import"../chunk-ISVODSRP.js";import"../chunk-J75ZT2JQ.js";import"../chunk-PGN5ME7B.js";import"../chunk-62LW225J.js";import"../chunk-GLUJS42B.js";import"../chunk-D65T4H6J.js";import"../chunk-TWVUQUUD.js";import"../chunk-5FYDNH4Y.js";import"../chunk-LNXBTK7Q.js";import"../chunk-IUVGHHR3.js";import"../chunk-C3QOHMR6.js";
|
package/dist/shell/Popover.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
export{Popover as default}from"../chunk-
|
|
2
|
+
export{Popover as default}from"../chunk-KXPXLUNM.js";import"../chunk-DWGYC7OD.js";import"../chunk-BWJZTHZ6.js";import"../chunk-PGN5ME7B.js";import"../chunk-62LW225J.js";import"../chunk-GLUJS42B.js";import"../chunk-D65T4H6J.js";import"../chunk-UQYNPYF4.js";import"../chunk-TWVUQUUD.js";
|
package/dist/shell/SettingRow.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
export{SettingRow as default}from"../chunk-
|
|
2
|
+
export{SettingRow as default}from"../chunk-UC5IC3AM.js";import"../chunk-5HFKVEWW.js";import"../chunk-HCP7WOAL.js";import"../chunk-2NMW66P5.js";import"../chunk-IUVGHHR3.js";import"../chunk-C3QOHMR6.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
export{SidebarLayout as default}from"../chunk-
|
|
2
|
+
export{SidebarLayout as default}from"../chunk-42RCQEEJ.js";import"../chunk-LXPDURUL.js";import"../chunk-QWK6DRSN.js";import"../chunk-UGTRSRIW.js";import"../chunk-ISVODSRP.js";import"../chunk-J75ZT2JQ.js";import"../chunk-BWJZTHZ6.js";import"../chunk-SOZCWT6I.js";import"../chunk-PGN5ME7B.js";import"../chunk-62LW225J.js";import"../chunk-GLUJS42B.js";import"../chunk-D65T4H6J.js";import"../chunk-TWVUQUUD.js";import"../chunk-5FYDNH4Y.js";import"../chunk-LNXBTK7Q.js";import"../chunk-IUVGHHR3.js";import"../chunk-C3QOHMR6.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
export{useDiscardGuard}from"../chunk-
|
|
2
|
+
export{useDiscardGuard}from"../chunk-HOHHRNCB.js";import"../chunk-IUVGHHR3.js";import"../chunk-C3QOHMR6.js";
|
package/dist/telemetry/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{startClientTelemetry}from"../chunk-
|
|
1
|
+
export{startClientTelemetry}from"../chunk-A4WNUFLT.js";import"../chunk-KNUR2UEG.js";import"../chunk-CBUBDXJ2.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
export{AuthScreen as default}from"../chunk-
|
|
2
|
+
export{AuthScreen as default}from"../chunk-BWLC56GZ.js";import"../chunk-S25KELFW.js";import"../chunk-6KBDNYRW.js";import"../chunk-CGZBDI6C.js";import"../chunk-PT4GMPUB.js";import"../chunk-3DSGJIC7.js";import"../chunk-UZFFSZFI.js";import"../chunk-SV5RRBVA.js";import"../chunk-AYZY3YNC.js";import"../chunk-DWGYC7OD.js";import"../chunk-GOAFMGUI.js";import"../chunk-URHGHXDN.js";import"../chunk-5QFPTDQF.js";import"../chunk-EVYD6UFQ.js";import"../chunk-M5K4AX4E.js";import"../chunk-ISVODSRP.js";import"../chunk-J75ZT2JQ.js";import"../chunk-R2VKEMZH.js";import"../chunk-BWJZTHZ6.js";import"../chunk-SOZCWT6I.js";import"../chunk-PGN5ME7B.js";import"../chunk-62LW225J.js";import"../chunk-GLUJS42B.js";import"../chunk-D65T4H6J.js";import"../chunk-UQYNPYF4.js";import"../chunk-MRJKZWWV.js";import"../chunk-TWVUQUUD.js";import"../chunk-5FYDNH4Y.js";import"../chunk-LNXBTK7Q.js";import"../chunk-IUVGHHR3.js";import"../chunk-C3QOHMR6.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
export{ChatTemplate as default}from"../chunk-
|
|
2
|
+
export{ChatTemplate as default}from"../chunk-QQK7HKNK.js";import"../chunk-42RCQEEJ.js";import"../chunk-LXPDURUL.js";import"../chunk-QWK6DRSN.js";import"../chunk-W2TPXKCV.js";import"../chunk-PT4GMPUB.js";import"../chunk-3DSGJIC7.js";import"../chunk-UZFFSZFI.js";import"../chunk-SV5RRBVA.js";import"../chunk-AYZY3YNC.js";import"../chunk-UGTRSRIW.js";import"../chunk-DWGYC7OD.js";import"../chunk-GOAFMGUI.js";import"../chunk-URHGHXDN.js";import"../chunk-5QFPTDQF.js";import"../chunk-EVYD6UFQ.js";import"../chunk-M5K4AX4E.js";import"../chunk-ISVODSRP.js";import"../chunk-J75ZT2JQ.js";import"../chunk-R2VKEMZH.js";import"../chunk-BWJZTHZ6.js";import"../chunk-SOZCWT6I.js";import"../chunk-PGN5ME7B.js";import"../chunk-62LW225J.js";import"../chunk-GLUJS42B.js";import"../chunk-D65T4H6J.js";import"../chunk-UQYNPYF4.js";import"../chunk-MRJKZWWV.js";import"../chunk-TWVUQUUD.js";import"../chunk-5FYDNH4Y.js";import"../chunk-LNXBTK7Q.js";import"../chunk-IUVGHHR3.js";import"../chunk-C3QOHMR6.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
export{CheckoutTemplate as default}from"../chunk-
|
|
2
|
+
export{CheckoutTemplate as default}from"../chunk-NYKOATR5.js";import"../chunk-S25KELFW.js";import"../chunk-DEYVAMJQ.js";import"../chunk-EO5RLFRX.js";import"../chunk-K5YT5PMJ.js";import"../chunk-2NMW66P5.js";import"../chunk-6KBDNYRW.js";import"../chunk-CGZBDI6C.js";import"../chunk-XWJT6TFU.js";import"../chunk-PT4GMPUB.js";import"../chunk-3DSGJIC7.js";import"../chunk-UZFFSZFI.js";import"../chunk-SV5RRBVA.js";import"../chunk-AYZY3YNC.js";import"../chunk-UGTRSRIW.js";import"../chunk-DWGYC7OD.js";import"../chunk-GOAFMGUI.js";import"../chunk-URHGHXDN.js";import"../chunk-5QFPTDQF.js";import"../chunk-EVYD6UFQ.js";import"../chunk-M5K4AX4E.js";import"../chunk-ISVODSRP.js";import"../chunk-J75ZT2JQ.js";import"../chunk-R2VKEMZH.js";import"../chunk-BWJZTHZ6.js";import"../chunk-SOZCWT6I.js";import"../chunk-PGN5ME7B.js";import"../chunk-62LW225J.js";import"../chunk-GLUJS42B.js";import"../chunk-D65T4H6J.js";import"../chunk-UQYNPYF4.js";import"../chunk-MRJKZWWV.js";import"../chunk-TWVUQUUD.js";import"../chunk-5FYDNH4Y.js";import"../chunk-LNXBTK7Q.js";import"../chunk-IUVGHHR3.js";import"../chunk-C3QOHMR6.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{DashboardTemplate as default}from"../chunk-
|
|
1
|
+
export{DashboardTemplate as default}from"../chunk-3OUG6QAD.js";import"../chunk-S25KELFW.js";import"../chunk-CKCDGSTC.js";import"../chunk-OLSA36VX.js";import"../chunk-W2TPXKCV.js";import"../chunk-VFC6QUEN.js";import"../chunk-YDFDTRZF.js";import"../chunk-465RRWBY.js";import"../chunk-ZNV75GAG.js";import"../chunk-CNYAHYE6.js";import"../chunk-WU2ZA6J2.js";import"../chunk-EVYD6UFQ.js";import"../chunk-M5K4AX4E.js";import"../chunk-R2VKEMZH.js";import"../chunk-BWJZTHZ6.js";import"../chunk-G67CJAQ2.js";import"../chunk-SOZCWT6I.js";import"../chunk-PGN5ME7B.js";import"../chunk-62LW225J.js";import"../chunk-GLUJS42B.js";import"../chunk-D65T4H6J.js";import"../chunk-UQYNPYF4.js";import"../chunk-MRJKZWWV.js";import"../chunk-J6QC45OS.js";import"../chunk-KNZ7YTFH.js";import"../chunk-MAFUXCPZ.js";import"../chunk-2JWPNR2U.js";import"../chunk-WDQI3FV6.js";import"../chunk-TZFACUMR.js";import"../chunk-TWVUQUUD.js";import"../chunk-5FYDNH4Y.js";import"../chunk-LNXBTK7Q.js";import"../chunk-IUVGHHR3.js";import"../chunk-C3QOHMR6.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
export{DataTablePage as default}from"../chunk-
|
|
2
|
+
export{DataTablePage as default}from"../chunk-LLYMOV4S.js";import"../chunk-S25KELFW.js";import"../chunk-DEYVAMJQ.js";import"../chunk-EO5RLFRX.js";import"../chunk-K5YT5PMJ.js";import"../chunk-2NMW66P5.js";import"../chunk-223XYIIH.js";import"../chunk-PT4GMPUB.js";import"../chunk-3DSGJIC7.js";import"../chunk-UZFFSZFI.js";import"../chunk-SV5RRBVA.js";import"../chunk-AYZY3YNC.js";import"../chunk-UGTRSRIW.js";import"../chunk-DWGYC7OD.js";import"../chunk-WU2ZA6J2.js";import"../chunk-GOAFMGUI.js";import"../chunk-URHGHXDN.js";import"../chunk-5QFPTDQF.js";import"../chunk-EVYD6UFQ.js";import"../chunk-M5K4AX4E.js";import"../chunk-ISVODSRP.js";import"../chunk-J75ZT2JQ.js";import"../chunk-R2VKEMZH.js";import"../chunk-BWJZTHZ6.js";import"../chunk-G67CJAQ2.js";import"../chunk-SOZCWT6I.js";import"../chunk-PGN5ME7B.js";import"../chunk-62LW225J.js";import"../chunk-GLUJS42B.js";import"../chunk-D65T4H6J.js";import"../chunk-UQYNPYF4.js";import"../chunk-MRJKZWWV.js";import"../chunk-TWVUQUUD.js";import"../chunk-5FYDNH4Y.js";import"../chunk-LNXBTK7Q.js";import"../chunk-IUVGHHR3.js";import"../chunk-C3QOHMR6.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
export{EmailTemplate as default}from"../chunk-
|
|
2
|
+
export{EmailTemplate as default}from"../chunk-GKNF53YM.js";import"../chunk-42RCQEEJ.js";import"../chunk-LXPDURUL.js";import"../chunk-QWK6DRSN.js";import"../chunk-W2TPXKCV.js";import"../chunk-FTKLODQK.js";import"../chunk-UGTRSRIW.js";import"../chunk-EVYD6UFQ.js";import"../chunk-M5K4AX4E.js";import"../chunk-ISVODSRP.js";import"../chunk-J75ZT2JQ.js";import"../chunk-R2VKEMZH.js";import"../chunk-BWJZTHZ6.js";import"../chunk-SOZCWT6I.js";import"../chunk-PGN5ME7B.js";import"../chunk-62LW225J.js";import"../chunk-GLUJS42B.js";import"../chunk-D65T4H6J.js";import"../chunk-UQYNPYF4.js";import"../chunk-MRJKZWWV.js";import"../chunk-TWVUQUUD.js";import"../chunk-5FYDNH4Y.js";import"../chunk-LNXBTK7Q.js";import"../chunk-IUVGHHR3.js";import"../chunk-C3QOHMR6.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
export{FormLayoutPage as default}from"../chunk-
|
|
2
|
+
export{FormLayoutPage as default}from"../chunk-I6JTDAOB.js";import"../chunk-S25KELFW.js";import"../chunk-PB7G6CJ7.js";import"../chunk-NI5FXWK5.js";import"../chunk-DEYVAMJQ.js";import"../chunk-EO5RLFRX.js";import"../chunk-K5YT5PMJ.js";import"../chunk-2NMW66P5.js";import"../chunk-6KBDNYRW.js";import"../chunk-CGZBDI6C.js";import"../chunk-PT4GMPUB.js";import"../chunk-3DSGJIC7.js";import"../chunk-UZFFSZFI.js";import"../chunk-SV5RRBVA.js";import"../chunk-AYZY3YNC.js";import"../chunk-UGTRSRIW.js";import"../chunk-DWGYC7OD.js";import"../chunk-GOAFMGUI.js";import"../chunk-URHGHXDN.js";import"../chunk-5QFPTDQF.js";import"../chunk-EVYD6UFQ.js";import"../chunk-M5K4AX4E.js";import"../chunk-ISVODSRP.js";import"../chunk-J75ZT2JQ.js";import"../chunk-R2VKEMZH.js";import"../chunk-BWJZTHZ6.js";import"../chunk-SOZCWT6I.js";import"../chunk-PGN5ME7B.js";import"../chunk-62LW225J.js";import"../chunk-GLUJS42B.js";import"../chunk-D65T4H6J.js";import"../chunk-UQYNPYF4.js";import"../chunk-MRJKZWWV.js";import"../chunk-TWVUQUUD.js";import"../chunk-5FYDNH4Y.js";import"../chunk-LNXBTK7Q.js";import"../chunk-IUVGHHR3.js";import"../chunk-C3QOHMR6.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
export{GalleryTemplate as default}from"../chunk-
|
|
2
|
+
export{GalleryTemplate as default}from"../chunk-4OBSVO6U.js";import"../chunk-I5EVMLPB.js";import"../chunk-FQEALPZJ.js";import"../chunk-S25KELFW.js";import"../chunk-EFKJLUYP.js";import"../chunk-WU2ZA6J2.js";import"../chunk-EVYD6UFQ.js";import"../chunk-M5K4AX4E.js";import"../chunk-R2VKEMZH.js";import"../chunk-BWJZTHZ6.js";import"../chunk-G67CJAQ2.js";import"../chunk-SOZCWT6I.js";import"../chunk-PGN5ME7B.js";import"../chunk-62LW225J.js";import"../chunk-GLUJS42B.js";import"../chunk-D65T4H6J.js";import"../chunk-UQYNPYF4.js";import"../chunk-MRJKZWWV.js";import"../chunk-TWVUQUUD.js";import"../chunk-5FYDNH4Y.js";import"../chunk-LNXBTK7Q.js";import"../chunk-IUVGHHR3.js";import"../chunk-C3QOHMR6.js";
|
package/dist/ui/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import"../chunk-VG6BT2UG.js";export{ErrorBoundary}from"../chunk-2YK6ZB7C.js";export{ErrorPage}from"../chunk-QNWC3RWK.js";export{FormLayoutPage}from"../chunk-JPKNVTTK.js";export{GalleryTemplate}from"../chunk-36UB4MJX.js";export{ACCENT_ROLES,COLOUR_ROLES,FLAT_STATUS_ROLES,IDENTITY_ROLES,NEUTRAL_ROLES,SCRIM_ROLES,STATUS_GROUPS,STATUS_ROLES}from"../chunk-VVJIKS47.js";export{ELEVATION_LEVELS,RADIUS_ROLES}from"../chunk-4MVRSCQE.js";export{AuthScreen}from"../chunk-2GMYO6ET.js";export{ChatTemplate}from"../chunk-FUP2J2OX.js";export{CheckoutTemplate}from"../chunk-WIFK6TLB.js";export{DashboardTemplate}from"../chunk-RT77WNRB.js";export{DataTablePage}from"../chunk-KBQNMQCK.js";export{EmailTemplate}from"../chunk-HTANBHNV.js";export{useTransferProgress}from"../chunk-QHOEMRR7.js";export{Stepper}from"../chunk-KTO427N3.js";export{Tabs,tabButtonId,tabPanelId}from"../chunk-I5EVMLPB.js";export{Paragraph,Text,Title}from"../chunk-5KUE6IHF.js";export{TimeAgo}from"../chunk-WJMPTW3G.js";export{TopNav}from"../chunk-N2FX4O3H.js";export{SidebarGroupLabel,SidebarNavGroup,SidebarNavItem,SidebarSection}from"../chunk-G4D2WM3J.js";export{Skeleton}from"../chunk-4Z62SEA5.js";export{ListRow,SortableList}from"../chunk-KLUCEASW.js";export{Grid,Inline,Stack}from"../chunk-3RPER7VH.js";export{Statistic}from"../chunk-IE6TRMIW.js";export{SettingReset}from"../chunk-XEPA5J6K.js";export{SettingRow}from"../chunk-EHM3ZVVT.js";export{SidebarActionButton}from"../chunk-KMTCYDJH.js";export{SidebarLayout}from"../chunk-IQDHVQAQ.js";export{ResizeHandle}from"../chunk-LXPDURUL.js";import"../chunk-QWK6DRSN.js";export{MetricBar}from"../chunk-FBS55WOX.js";export{isSeverityTone,severityOf}from"../chunk-TZFNWAED.js";export{MetricBarLegend}from"../chunk-KEVJBI5Q.js";import"../chunk-URBCGEXG.js";export{MilestoneTimeline}from"../chunk-RDGXSAOD.js";export{PageHeader}from"../chunk-NILGK2KJ.js";export{POST_PRODUCTION_STATUSES,ProductionTimeline,STAGES,calcOverall,calcReportOverall,useProductionTimeline}from"../chunk-G53Y6EPJ.js";import"../chunk-S4Z657L6.js";export{TimelineTrack}from"../chunk-PALWXHBQ.js";export{fmtSliderDate,toDayMs}from"../chunk-5CFERCYW.js";export{GlobalSearch,openGlobalSearch}from"../chunk-JNSRDEB6.js";export{pushRecent as pushRecentSearch,sanitizeRecent as sanitizeRecentSearches}from"../chunk-HGOWQO63.js";export{HelpCenter}from"../chunk-M7W63T6H.js";export{IconRail,IconRailButton}from"../chunk-UXGNF3OG.js";import"../chunk-FQEALPZJ.js";export{LanguagePanel,LanguageSelect,languageSelectWidth}from"../chunk-4F3SUYN5.js";export{EditableGrid}from"../chunk-F6UJLCMI.js";export{EmptyValue}from"../chunk-HNQPF5QZ.js";export{FloatingBar}from"../chunk-7KWYVQMX.js";export{BudgetBar,budgetState}from"../chunk-KYQKMBSY.js";export{Card,StatCard}from"../chunk-4S3E3VJH.js";export{ContainerFillChart}from"../chunk-HOROMBJB.js";export{CountBadge}from"../chunk-5HFKVEWW.js";export{ENGLISH,SHELL_LANGUAGE_STORAGE_KEY,ShellLanguageProvider,matchShellLanguage,readSavedShellLanguage,resolveShellLanguage,saveShellLanguage,useShellLanguage}from"../chunk-IOLUF3UL.js";export{Accordion,AccordionBody,AccordionHeading}from"../chunk-FDDM7VMQ.js";export{APP_UPDATE_POLL_MS,AppUpdateBanner,useAppUpdate}from"../chunk-DVVB2CY5.js";export{ICON_NAMES,isIconName}from"../chunk-3C7JKJGL.js";export{BRAND_ICON_NAMES,isBrandIconName}from"../chunk-RQGLDRRF.js";export{BRAND_MAX_HEIGHT,BRAND_MIN_HEIGHT_PX,brandBox}from"../chunk-64ACCUNN.js";export{TileButton_default as TileButton}from"../chunk-H2R4SNNO.js";export{TimePicker_default as TimePicker}from"../chunk-ORV2AVIJ.js";export{WidthsBar}from"../chunk-YDQBELHJ.js";export{COLUMN_COUNT_MAX,COLUMN_COUNT_WIDTHS,COLUMN_SHARES_EQUAL,COLUMN_SHARE_MIN,columnSharesWidths,resolveColumnShares,resolveColumnWidths}from"../chunk-PLGJOHEG.js";export{SidesEachToggle,SidesInput,sidesStartEach}from"../chunk-GO2TZ35U.js";export{Slider,SliderGroup}from"../chunk-VADWTS7H.js";export{Snippet}from"../chunk-4Q2CZ4US.js";export{SplitButton_default as SplitButton}from"../chunk-ASDYAASN.js";export{Switch_default as Switch}from"../chunk-M3R4C3A6.js";export{TagInput}from"../chunk-DVHRL3G6.js";export{TextToolbar,textToolbarRows,textToolbarWindowColumns}from"../chunk-7RGHV3J5.js";export{TEXT_ALIGNS,TEXT_ALIGN_FIT,TEXT_ALIGN_ICONS,textAlignFit,textAlignOptions,textAlignWords}from"../chunk-F4VILY3O.js";export{Textarea_default as Textarea}from"../chunk-PB7G6CJ7.js";export{PICTURE_TILES_COLUMNS_VAR,PictureTiles}from"../chunk-OBZZLLMQ.js";export{PositionInput}from"../chunk-XOQGBU25.js";export{RadioGroup}from"../chunk-32VV2J22.js";export{Radio_default as Radio}from"../chunk-NI5FXWK5.js";export{ShowWhen}from"../chunk-YEM4KYCW.js";export{LinkPicker,TextLinkField}from"../chunk-WWCAVO3R.js";export{SearchableSelect}from"../chunk-XMFJDT6Y.js";export{Label,labelClasses}from"../chunk-EQKUFYX6.js";export{MEDIA_FILES_DRAG_TYPE,MEDIA_FILE_DRAG_TYPE,MEDIA_FOLDER_DRAG_TYPE,MediaLibrary,readMediaFileDrag}from"../chunk-A7ZYFJ6V.js";export{Tree,TreeEmptySlot,TreeGroup,TreeGroupLabel,TreeRow,TreeSeam}from"../chunk-HVHIXX6O.js";import"../chunk-WF4A2HSB.js";export{MarqueeBox}from"../chunk-IC72MGON.js";export{ImageLightbox,lightboxKind}from"../chunk-AWWNMSDN.js";export{LIGHTBOX_PICTURE_FIT,ZoomableImage}from"../chunk-CGUMJZUB.js";export{Drawer}from"../chunk-XSHDPG45.js";export{EmptyState}from"../chunk-VXSYHTBP.js";export{DescriptionList}from"../chunk-SACUSHVN.js";export{Breadcrumbs}from"../chunk-OZ4R6U2M.js";export{mediaLibraryMenu}from"../chunk-L2WBCXG7.js";export{mediaMoveItems,mediaMoveSubmenu,useMediaMoveItems}from"../chunk-ZCGT5YNR.js";export{RenameField}from"../chunk-QIPO4EVJ.js";export{NativeSelect,Select_default as Select}from"../chunk-DEYVAMJQ.js";import"../chunk-EO5RLFRX.js";import"../chunk-K5YT5PMJ.js";export{FULL_BADGE_TILE_PX,MediaUploadGrid}from"../chunk-6CDWPEND.js";export{MediaUsedInList}from"../chunk-GURY4WS5.js";export{NumericKeypad}from"../chunk-4IYHQNKZ.js";export{MAX_FRACTION_DIGITS,appendKey,backspace}from"../chunk-VEPVOHCV.js";export{DisplayChips}from"../chunk-HZ7TUMNL.js";export{FilePicker_default as FilePicker}from"../chunk-S6YEPA4I.js";export{FormErrorSummary}from"../chunk-CWVQH2SP.js";export{CornersInput}from"../chunk-22N3KA7A.js";export{DatePicker_default as DatePicker}from"../chunk-JPCPO4MX.js";export{DateRangePicker,toISODate}from"../chunk-47UTEV3P.js";export{Calendar}from"../chunk-YMHCLK3F.js";export{DateTimePicker_default as DateTimePicker}from"../chunk-QBMMORYP.js";export{MARQUEE_IGNORE,marqueeHits,rectsIntersect,useMarquee}from"../chunk-OLFYNMTD.js";export{edgeScrollDelta,getScrollParent,scrollBoundsOf}from"../chunk-LACL4MAR.js";export{useRootIsDark}from"../chunk-UPXDDO3U.js";export{CORNERS,CORNERS_FOR_THEME,applyCorners,applyIconSet,applyThemePrefs,cornersFor,resolveCorners,resolveTheme,useTheme}from"../chunk-CUZQVBPC.js";export{ICON_SET_FOR_THEME,THEME_ICON_SETS,iconSetFor,loadIconSet}from"../chunk-VQCKMT5F.js";export{AlignmentGrid}from"../chunk-3DWVSQIJ.js";export{BorderInput,borderSides,borderStartEach}from"../chunk-YY7OFUT2.js";export{IconPicker}from"../chunk-YNVH2EIE.js";export{ColorPicker,ColorPickerPanel,ColorSwatch,HexInput,colorFill,colorSwatchClasses}from"../chunk-RZJ63ZM4.js";export{Popover}from"../chunk-64RHGJXK.js";export{InputNumber_default as InputNumber}from"../chunk-F5B5WOQ7.js";export{UnitMenu}from"../chunk-QOYKBINM.js";export{useSettingAuto,useSettingRowName}from"../chunk-2NMW66P5.js";export{BrandAssetEditor}from"../chunk-ALHYNNE2.js";export{MediaUploadField}from"../chunk-YUDBB7VC.js";export{FormField}from"../chunk-6KBDNYRW.js";export{ImageFocusPoint}from"../chunk-5POQCJL6.js";export{BrandMark,resolveBrandMarkTreatment}from"../chunk-MI67DI3H.js";export{useSort}from"../chunk-E6FDUFPH.js";export{slugify}from"../chunk-24AL3CDS.js";export{ENTRANCE_ATTR,ENTRANCE_FROM,ENTRANCE_FROM_ATTR,ENTRANCE_FROM_DEFAULT,ENTRANCE_KINDS,ENTRANCE_KINDS_WITH_FROM,ENTRANCE_STATE_ATTR,armEntrance,entranceAttrs,playEntrance,readEntrance}from"../chunk-ZSEB7XW4.js";export{HOVER_MOTION,MOTION_EASING,MOTION_GROUPS,MOTION_TIMING,motionSeconds,rotateDegrees}from"../chunk-AIJ3G6BD.js";export{hexWithAlpha,mixHex,rgbToHex}from"../chunk-CJSZW3OS.js";export{addShowWhenFacts,isShown,lazyShowWhenContext,showWhenFactReaders,showWhenFactsContext,showWhenOf,shownForOption,truthy,withRowRules,withRowsShownWhen,withShowWhen,withShowWhenFacts}from"../chunk-HCP7WOAL.js";export{gridColumnCount}from"../chunk-VNNVG4NR.js";export{BORDER_LINE_STYLES}from"../chunk-NOMWJTN2.js";export{contrastRatio,hexToHsv,hexToRgb,hsvToHex,parseHexColor,readableInk,relativeLuminance}from"../chunk-S6OB6HJB.js";export{FOCAL_DEFAULT,FOCAL_NUDGE_COARSE,FOCAL_NUDGE_STEP,focalFromRect,formatFocal,nudgeFocal,parseFocal}from"../chunk-25RR3GQW.js";export{useDebouncedValue}from"../chunk-SLGT5WPJ.js";export{useGridSelection}from"../chunk-VLKDWKVR.js";export{Gantt}from"../chunk-I6QVXM2M.js";export{Segmented}from"../chunk-HNIIDDLJ.js";import"../chunk-EFKJLUYP.js";export{Kanban}from"../chunk-6HYO2W3O.js";export{statusColumn}from"../chunk-LHHJHTWP.js";export{BORDER_WIDTHS,FONT_WEIGHTS,MOTION_DURATIONS,TYPE_SCALE}from"../chunk-LH7IKIGE.js";import"../chunk-UVCMV2TL.js";export{DataTable}from"../chunk-MEF4JVXP.js";export{Pagination}from"../chunk-223XYIIH.js";export{EntityList}from"../chunk-ZDYIVU5R.js";import"../chunk-UFX7F3KG.js";export{useTableNav}from"../chunk-ATMJ5ZPK.js";export{escapeHtml}from"../chunk-G6DKCCWH.js";export{ListFooter}from"../chunk-DO3DSSAW.js";export{ListLoadError}from"../chunk-VCR3RADH.js";export{ResizableTable}from"../chunk-64PPKUJG.js";export{useColumnConfig}from"../chunk-U6DRRCCG.js";import"../chunk-ULJQYXHB.js";export{useClickOutside}from"../chunk-SI26KESU.js";export{Checkbox_default as Checkbox}from"../chunk-CGZBDI6C.js";export{SunburstChart}from"../chunk-MHCNQKEK.js";export{TreemapChart}from"../chunk-QTVE3OSD.js";export{squarify}from"../chunk-46BYGPGD.js";export{WaterfallChart}from"../chunk-XHD6Q6JV.js";export{RadialBarChart}from"../chunk-UGEA3C5C.js";export{RangeChart}from"../chunk-P5C7DI5A.js";export{RankedBars}from"../chunk-NA4XPE7S.js";export{SankeyChart}from"../chunk-DQTYV6AC.js";export{SCATTER_SERIES_CAP,ScatterChart}from"../chunk-OWAYSIQH.js";export{StatTile}from"../chunk-ELPW25CA.js";export{Sparkline}from"../chunk-CKCDGSTC.js";export{FunnelChart}from"../chunk-VYHVIKP6.js";export{HeatmapChart}from"../chunk-7TJZ5AJE.js";export{HistogramChart}from"../chunk-IJNQ2BUY.js";export{Meter}from"../chunk-U2ZTHOQL.js";export{PieChart}from"../chunk-FMERX3PG.js";export{RADAR_SERIES_CAP,RadarChart}from"../chunk-SNHBDP4X.js";export{CandlestickChart}from"../chunk-OEPQIIYL.js";export{ChordChart}from"../chunk-65FZQ572.js";import"../chunk-HY6CBG4M.js";export{StepChain,StepChainItem}from"../chunk-Z2Z653OO.js";export{Markdown,Markdown as MarkdownLite,plainCell,tableToCsv}from"../chunk-ZYU5HAIC.js";export{Divider}from"../chunk-DFOFEBYX.js";export{Avatar,AvatarGroup}from"../chunk-W2TPXKCV.js";import"../chunk-UJUTS6LJ.js";export{isSafeLinkHref}from"../chunk-Z5TE3MEG.js";export{ContextMenu,useContextMenu}from"../chunk-QMBMK6PP.js";export{Banner}from"../chunk-XWJT6TFU.js";export{AttachButton,AttachmentDropZone,AttachmentList,ComposerAttachments,PaperclipGlyph}from"../chunk-WP43XYL6.js";export{Input_default as Input}from"../chunk-PT4GMPUB.js";export{DropdownMenu}from"../chunk-3DSGJIC7.js";import"../chunk-UZFFSZFI.js";export{IconButton_default as IconButton}from"../chunk-SV5RRBVA.js";export{INPUT_BASE,INPUT_SIZES,PLACEHOLDER_INK,inputClasses}from"../chunk-AYZY3YNC.js";export{mediaFileName}from"../chunk-G4PPHQ23.js";export{TransferProgress}from"../chunk-6LS6Q77E.js";export{FileIntakeAlert,acceptsFile,useFileIntake}from"../chunk-VFSAJMNX.js";export{CHART_SPEC_LIMITS,parseChartSpec}from"../chunk-CR7T435F.js";export{SpecChart}from"../chunk-JWLOERV5.js";export{currencyDecimals,currencySymbol,formatBytes,formatMoney,setCurrencyFormats,timeAgo}from"../chunk-OJI4ROSD.js";export{DATE_FORMAT_OPTIONS,TZ_AUTO,dayKeyInZone,firstDayOfWeek,formatDate,formatDateTime,formatTime,getUserDateFormat,getUserTimezone,instantOnDayKey,knownZone,setUserDateFormat,setUserTimezone,syncTimezoneFromProfile,userToday,userZone}from"../chunk-NHKT5IH6.js";export{EMPTY_VALUE}from"../chunk-36BRD5J3.js";export{DAY_MS,fromDateKey,toDateKey}from"../chunk-JRQMX4PK.js";import"../chunk-LF27WIN2.js";export{TimeSeriesChart}from"../chunk-G3MJO3A6.js";export{ColumnChart}from"../chunk-YDFDTRZF.js";export{DEFAULT_FLOW_CHART_LABELS,FlowChart}from"../chunk-7NO4IENQ.js";export{FLOW_LAYOUT,FLOW_SPEC_LIMITS,layoutFlow,parseFlowSpec}from"../chunk-FAERBT6Y.js";export{ChartDefs,MOTION,dashFor,fillFor,fillId,glowId,groundId,maskId,stagger}from"../chunk-465RRWBY.js";export{ChartBrush}from"../chunk-MOKABQCY.js";export{ChartDot}from"../chunk-CK2YOGUS.js";export{ChartFrame}from"../chunk-6AUQWWUA.js";export{ChartSkeleton}from"../chunk-ZNV75GAG.js";export{arcPath,areaBetween,areaFrom,bumpPath,curvePath,linearPath,monotonePath,polygonPoints,splinePath,stepPath}from"../chunk-VFC6QUEN.js";export{ChartHighlightProvider,autoHighlightIndex,highlightOpacity,useHighlight}from"../chunk-CNYAHYE6.js";export{ImageAnnotator_default as ImageAnnotator}from"../chunk-6QKTQOEV.js";import"../chunk-KNUR2UEG.js";export{NEXT_CHUNK_PATH_PREFIX,STALE_CHUNK_RELOAD_COOLDOWN_MS,STALE_CHUNK_RELOAD_KEY,VITE_PRELOAD_ERROR_EVENT,installStaleChunkReload,isStaleChunkError}from"../chunk-JDCM2VHG.js";export{Result}from"../chunk-M2TQOJ3G.js";import"../chunk-5A7MWTXX.js";export{ALT,ALT_SHIFT_D,ALT_SHIFT_E,ALT_SHIFT_N,CMD_A,CMD_DOT,CMD_ENTER,CMD_K,CMD_S,ENTER,Kbd,MOD,SHIFT,isMac}from"../chunk-ZDMZM7HD.js";export{ConfirmProvider,confirm,confirmDestructive,prompt,useConfirm}from"../chunk-JGKDWDVM.js";export{Dialog}from"../chunk-FQD6P6EZ.js";import"../chunk-EIFNESXS.js";export{ItemCount}from"../chunk-FTKLODQK.js";import"../chunk-RIG5FEVS.js";import"../chunk-JR2HHKVP.js";import"../chunk-VWGWZY7A.js";import"../chunk-7QSDPSXP.js";export{ColoredBadge}from"../chunk-WLG7BE55.js";export{CONTROL_HEIGHTS,ROW_HEIGHTS,SPACING_ROLES,SPACING_SCALE,isSpacingStep}from"../chunk-AW7TOB6N.js";import"../chunk-4U5M37SF.js";import"../chunk-F3ZOO23R.js";import"../chunk-2QY5BJLA.js";export{useIsMobile}from"../chunk-UGTRSRIW.js";export{ShellPrefsProvider,useLocalStoragePrefs,useShellPrefs}from"../chunk-KC3EX26K.js";export{VERSION}from"../chunk-KY3KGRGC.js";export{useFocusTrap,useScrollLock}from"../chunk-DWGYC7OD.js";export{GROUP_COLORS,GROUP_COLORS_SOLID,StatusBadge,StatusBadgeProvider,groupColors,statusLabel,useStatusLabel}from"../chunk-WU2ZA6J2.js";export{PopupMenu,PopupMenuDivider,PopupMenuItem,PopupMenuLabel,PopupSubmenu}from"../chunk-GOAFMGUI.js";import"../chunk-URHGHXDN.js";export{MENU_ON_MEDIA_ATTR,leavesContextMenuAlone}from"../chunk-5QFPTDQF.js";export{Button_default as Button}from"../chunk-EVYD6UFQ.js";import"../chunk-M5K4AX4E.js";export{Icon}from"../chunk-ISVODSRP.js";export{activeIconSet,iconSets,iconsVersion,registerIconSet,registerIcons,resolveIcon,setDefaultIconSet,setIconSet,subscribeIcons}from"../chunk-J75ZT2JQ.js";export{LoadingSpinner,SpinnerRing}from"../chunk-R2VKEMZH.js";import"../chunk-G67CJAQ2.js";export{Tooltip}from"../chunk-SOZCWT6I.js";export{OVERLAY_OPEN_EVENT,dismissPopups}from"../chunk-PGN5ME7B.js";export{Z_LAYERS}from"../chunk-62LW225J.js";export{MENU_MAX_HEIGHT,POPUP_MAX_WIDTH,placeMenu,popupBounds,useDropdownPosition}from"../chunk-GLUJS42B.js";import"../chunk-D65T4H6J.js";export{setShellApiClient}from"../chunk-STKJA4PV.js";export{UNDOABLE_MS,toast_default as toast}from"../chunk-VQ35LXDC.js";export{buttonClasses,iconButtonClasses}from"../chunk-UQYNPYF4.js";import"../chunk-MRJKZWWV.js";export{PortalBrandingProvider,resolvePortalBrandAsset,usePortalBranding}from"../chunk-ACYYVK6G.js";export{BoxPlotChart}from"../chunk-CKTFXTJL.js";export{CartesianPlot}from"../chunk-J6QC45OS.js";import"../chunk-KNZ7YTFH.js";export{usePlotWidth}from"../chunk-MAFUXCPZ.js";export{angleScale,bandScale,binValues,ladderScale,linearScale,logScale,niceAxis,niceMax,radiusScale}from"../chunk-2JWPNR2U.js";export{ChartTooltip}from"../chunk-WDQI3FV6.js";export{CHART_INK,SERIES_SLOT_COUNT,SERIES_VARS,STATUS_VARS,assignSeriesSlots,resolveSeriesColor,resolveSeriesColorWithin,seriesColor,toggleSeriesSlot}from"../chunk-TZFACUMR.js";export{registerModalEscapeInterceptor}from"../chunk-TWVUQUUD.js";export{GLASS_DIVIDER,glassStyle,solidSurfaceStyle}from"../chunk-5FYDNH4Y.js";import"../chunk-LNXBTK7Q.js";export{DEFAULT_SHELL_STRINGS,ShellStringsProvider,useShellLocale,useShellStrings}from"../chunk-IUVGHHR3.js";import"../chunk-C3QOHMR6.js";
|
|
2
|
+
import"../chunk-VG6BT2UG.js";export{ErrorBoundary}from"../chunk-2YK6ZB7C.js";export{ErrorPage}from"../chunk-QNWC3RWK.js";export{FormLayoutPage}from"../chunk-I6JTDAOB.js";export{GalleryTemplate}from"../chunk-4OBSVO6U.js";export{ACCENT_ROLES,COLOUR_ROLES,FLAT_STATUS_ROLES,IDENTITY_ROLES,NEUTRAL_ROLES,SCRIM_ROLES,STATUS_GROUPS,STATUS_ROLES}from"../chunk-VVJIKS47.js";export{ELEVATION_LEVELS,RADIUS_ROLES}from"../chunk-4MVRSCQE.js";export{AuthScreen}from"../chunk-BWLC56GZ.js";export{ChatTemplate}from"../chunk-QQK7HKNK.js";export{CheckoutTemplate}from"../chunk-NYKOATR5.js";export{DashboardTemplate}from"../chunk-3OUG6QAD.js";export{DataTablePage}from"../chunk-LLYMOV4S.js";export{EmailTemplate}from"../chunk-GKNF53YM.js";export{useTransferProgress}from"../chunk-QHOEMRR7.js";export{Stepper}from"../chunk-KTO427N3.js";export{Tabs,tabButtonId,tabPanelId}from"../chunk-I5EVMLPB.js";export{Paragraph,Text,Title}from"../chunk-5KUE6IHF.js";export{TimeAgo}from"../chunk-WJMPTW3G.js";export{TopNav}from"../chunk-N2FX4O3H.js";export{SidebarGroupLabel,SidebarNavGroup,SidebarNavItem,SidebarSection}from"../chunk-G4D2WM3J.js";export{Skeleton}from"../chunk-4Z62SEA5.js";export{ListRow,SortableList}from"../chunk-KLUCEASW.js";export{Grid,Inline,Stack}from"../chunk-3RPER7VH.js";export{Statistic}from"../chunk-IE6TRMIW.js";export{SettingReset}from"../chunk-XEPA5J6K.js";export{SettingRow}from"../chunk-UC5IC3AM.js";export{SidebarActionButton}from"../chunk-KMTCYDJH.js";export{SidebarLayout}from"../chunk-42RCQEEJ.js";export{ResizeHandle}from"../chunk-LXPDURUL.js";import"../chunk-QWK6DRSN.js";export{MetricBar}from"../chunk-FBS55WOX.js";export{isSeverityTone,severityOf}from"../chunk-TZFNWAED.js";export{MetricBarLegend}from"../chunk-KEVJBI5Q.js";import"../chunk-URBCGEXG.js";export{MilestoneTimeline}from"../chunk-RDGXSAOD.js";export{PageHeader}from"../chunk-NILGK2KJ.js";export{POST_PRODUCTION_STATUSES,ProductionTimeline,STAGES,calcOverall,calcReportOverall,useProductionTimeline}from"../chunk-G53Y6EPJ.js";import"../chunk-S4Z657L6.js";export{TimelineTrack}from"../chunk-PALWXHBQ.js";export{fmtSliderDate,toDayMs}from"../chunk-5CFERCYW.js";export{GlobalSearch,openGlobalSearch}from"../chunk-JNSRDEB6.js";export{pushRecent as pushRecentSearch,sanitizeRecent as sanitizeRecentSearches}from"../chunk-HGOWQO63.js";export{HelpCenter}from"../chunk-M7W63T6H.js";export{IconRail,IconRailButton}from"../chunk-UXGNF3OG.js";import"../chunk-FQEALPZJ.js";export{LanguagePanel,LanguageSelect,languageSelectWidth}from"../chunk-4F3SUYN5.js";export{EditableGrid}from"../chunk-F6UJLCMI.js";export{EmptyValue}from"../chunk-HNQPF5QZ.js";export{FloatingBar}from"../chunk-7KWYVQMX.js";export{BudgetBar,budgetState}from"../chunk-KYQKMBSY.js";export{Card,StatCard}from"../chunk-S25KELFW.js";export{ContainerFillChart}from"../chunk-HOROMBJB.js";export{CountBadge}from"../chunk-5HFKVEWW.js";export{ENGLISH,SHELL_LANGUAGE_STORAGE_KEY,ShellLanguageProvider,matchShellLanguage,readSavedShellLanguage,resolveShellLanguage,saveShellLanguage,useShellLanguage}from"../chunk-IOLUF3UL.js";export{Accordion,AccordionBody,AccordionHeading}from"../chunk-FDDM7VMQ.js";export{APP_UPDATE_POLL_MS,AppUpdateBanner,useAppUpdate}from"../chunk-DVVB2CY5.js";export{ICON_NAMES,isIconName}from"../chunk-3C7JKJGL.js";export{useRootIsDark}from"../chunk-UPXDDO3U.js";export{CORNERS,CORNERS_FOR_THEME,applyCorners,applyIconSet,applyThemePrefs,cornersFor,resolveCorners,resolveTheme,useTheme}from"../chunk-CUZQVBPC.js";export{ICON_SET_FOR_THEME,THEME_ICON_SETS,iconSetFor,loadIconSet}from"../chunk-VQCKMT5F.js";export{BRAND_ICON_NAMES,isBrandIconName}from"../chunk-RQGLDRRF.js";export{BRAND_MAX_HEIGHT,BRAND_MIN_HEIGHT_PX,brandBox}from"../chunk-64ACCUNN.js";export{useDebouncedValue}from"../chunk-SLGT5WPJ.js";export{TextToolbar,textToolbarRows,textToolbarWindowColumns}from"../chunk-7RGHV3J5.js";export{TEXT_ALIGNS,TEXT_ALIGN_FIT,TEXT_ALIGN_ICONS,textAlignFit,textAlignOptions,textAlignWords}from"../chunk-F4VILY3O.js";export{Textarea_default as Textarea}from"../chunk-PB7G6CJ7.js";export{TileButton_default as TileButton}from"../chunk-H2R4SNNO.js";export{TimePicker_default as TimePicker}from"../chunk-ORV2AVIJ.js";export{WidthsBar}from"../chunk-YDQBELHJ.js";export{COLUMN_COUNT_MAX,COLUMN_COUNT_WIDTHS,COLUMN_SHARES_EQUAL,COLUMN_SHARE_MIN,columnSharesWidths,resolveColumnShares,resolveColumnWidths}from"../chunk-PLGJOHEG.js";export{ShowWhen}from"../chunk-YEM4KYCW.js";export{SidesEachToggle,SidesInput,sidesStartEach}from"../chunk-GO2TZ35U.js";export{Slider,SliderGroup}from"../chunk-VADWTS7H.js";export{Snippet}from"../chunk-4Q2CZ4US.js";export{SplitButton_default as SplitButton}from"../chunk-ASDYAASN.js";export{Switch_default as Switch}from"../chunk-M3R4C3A6.js";export{TagInput}from"../chunk-DVHRL3G6.js";export{NumericKeypad}from"../chunk-4IYHQNKZ.js";export{MAX_FRACTION_DIGITS,appendKey,backspace}from"../chunk-VEPVOHCV.js";export{PICTURE_TILES_COLUMNS_VAR,PictureTiles}from"../chunk-OBZZLLMQ.js";export{PositionInput}from"../chunk-XOQGBU25.js";export{RadioGroup}from"../chunk-32VV2J22.js";export{Radio_default as Radio}from"../chunk-NI5FXWK5.js";export{LinkPicker,TextLinkField}from"../chunk-WWCAVO3R.js";export{SearchableSelect}from"../chunk-XMFJDT6Y.js";export{Label,labelClasses}from"../chunk-EQKUFYX6.js";export{MEDIA_FILES_DRAG_TYPE,MEDIA_FILE_DRAG_TYPE,MEDIA_FOLDER_DRAG_TYPE,MediaLibrary,readMediaFileDrag}from"../chunk-AOLJKOO6.js";export{Tree,TreeEmptySlot,TreeGroup,TreeGroupLabel,TreeRow,TreeSeam}from"../chunk-HVHIXX6O.js";import"../chunk-WF4A2HSB.js";export{MarqueeBox}from"../chunk-IC72MGON.js";export{ImageLightbox,lightboxKind}from"../chunk-AWWNMSDN.js";export{LIGHTBOX_PICTURE_FIT,ZoomableImage}from"../chunk-CGUMJZUB.js";export{Drawer}from"../chunk-O2PVZC5D.js";export{EmptyState}from"../chunk-VXSYHTBP.js";export{DescriptionList}from"../chunk-SACUSHVN.js";export{Breadcrumbs}from"../chunk-OZ4R6U2M.js";export{MARQUEE_IGNORE,marqueeHits,rectsIntersect,useMarquee}from"../chunk-OLFYNMTD.js";export{edgeScrollDelta,getScrollParent,scrollBoundsOf}from"../chunk-LACL4MAR.js";export{useGridSelection}from"../chunk-VLKDWKVR.js";export{mediaLibraryMenu}from"../chunk-L2WBCXG7.js";export{mediaMoveItems,mediaMoveSubmenu,useMediaMoveItems}from"../chunk-ZCGT5YNR.js";export{MediaUsedInList}from"../chunk-GURY4WS5.js";export{RenameField}from"../chunk-QIPO4EVJ.js";export{NativeSelect,Select_default as Select}from"../chunk-DEYVAMJQ.js";import"../chunk-EO5RLFRX.js";import"../chunk-K5YT5PMJ.js";export{FULL_BADGE_TILE_PX,MediaUploadGrid}from"../chunk-6CDWPEND.js";export{DateRangePicker,toISODate}from"../chunk-47UTEV3P.js";export{DateTimePicker_default as DateTimePicker}from"../chunk-QBMMORYP.js";export{DisplayChips}from"../chunk-HZ7TUMNL.js";export{FilePicker_default as FilePicker}from"../chunk-S6YEPA4I.js";export{FormErrorSummary}from"../chunk-CWVQH2SP.js";export{CornersInput}from"../chunk-22N3KA7A.js";export{DatePicker_default as DatePicker}from"../chunk-JPCPO4MX.js";export{Calendar}from"../chunk-YMHCLK3F.js";export{useSort}from"../chunk-E6FDUFPH.js";export{slugify}from"../chunk-24AL3CDS.js";export{ENTRANCE_ATTR,ENTRANCE_FROM,ENTRANCE_FROM_ATTR,ENTRANCE_FROM_DEFAULT,ENTRANCE_KINDS,ENTRANCE_KINDS_WITH_FROM,ENTRANCE_STATE_ATTR,armEntrance,entranceAttrs,playEntrance,readEntrance}from"../chunk-ZSEB7XW4.js";export{HOVER_MOTION,MOTION_EASING,MOTION_GROUPS,MOTION_TIMING,motionSeconds,rotateDegrees}from"../chunk-AIJ3G6BD.js";export{hexWithAlpha,mixHex,rgbToHex}from"../chunk-CJSZW3OS.js";export{addShowWhenFacts,isShown,lazyShowWhenContext,showWhenFactReaders,showWhenFactsContext,showWhenOf,shownForOption,truthy,withRowRules,withRowsShownWhen,withShowWhen,withShowWhenFacts}from"../chunk-HCP7WOAL.js";export{gridColumnCount}from"../chunk-VNNVG4NR.js";export{AlignmentGrid}from"../chunk-3DWVSQIJ.js";export{BorderInput,borderSides,borderStartEach}from"../chunk-JFRBUVHX.js";export{IconPicker}from"../chunk-ZNKZ6J65.js";export{ColorPicker,ColorPickerPanel,ColorSwatch,HexInput,colorFill,colorSwatchClasses}from"../chunk-QVQO3EFL.js";export{Popover}from"../chunk-KXPXLUNM.js";export{InputNumber_default as InputNumber}from"../chunk-F5B5WOQ7.js";export{UnitMenu}from"../chunk-QOYKBINM.js";export{useSettingAuto,useSettingRowName}from"../chunk-2NMW66P5.js";export{BORDER_LINE_STYLES}from"../chunk-NOMWJTN2.js";export{contrastRatio,hexToHsv,hexToRgb,hsvToHex,parseHexColor,readableInk,relativeLuminance}from"../chunk-S6OB6HJB.js";export{BrandAssetEditor}from"../chunk-WJ7U6TGK.js";export{MediaUploadField}from"../chunk-UGEX7SVM.js";export{ImageFocusPoint}from"../chunk-5POQCJL6.js";export{FormField}from"../chunk-6KBDNYRW.js";export{BrandMark,resolveBrandMarkTreatment}from"../chunk-MI67DI3H.js";export{FOCAL_DEFAULT,FOCAL_NUDGE_COARSE,FOCAL_NUDGE_STEP,focalFromRect,formatFocal,nudgeFocal,parseFocal}from"../chunk-25RR3GQW.js";export{Gantt}from"../chunk-I6QVXM2M.js";export{Segmented}from"../chunk-HNIIDDLJ.js";import"../chunk-EFKJLUYP.js";export{Kanban}from"../chunk-6HYO2W3O.js";export{statusColumn}from"../chunk-LHHJHTWP.js";export{BORDER_WIDTHS,FONT_WEIGHTS,MOTION_DURATIONS,TYPE_SCALE}from"../chunk-LH7IKIGE.js";import"../chunk-UVCMV2TL.js";export{PortalBrandingProvider,resolvePortalBrandAsset,usePortalBranding}from"../chunk-ACYYVK6G.js";export{DataTable}from"../chunk-MEF4JVXP.js";export{Pagination}from"../chunk-223XYIIH.js";export{EntityList}from"../chunk-RZ3OQFOD.js";import"../chunk-UFX7F3KG.js";export{useTableNav}from"../chunk-ATMJ5ZPK.js";export{escapeHtml}from"../chunk-G6DKCCWH.js";export{ListFooter}from"../chunk-DO3DSSAW.js";export{ListLoadError}from"../chunk-VCR3RADH.js";export{ResizableTable}from"../chunk-5HBAJ2UA.js";export{useClickOutside}from"../chunk-SI26KESU.js";export{useColumnConfig}from"../chunk-U6DRRCCG.js";import"../chunk-ULJQYXHB.js";export{Checkbox_default as Checkbox}from"../chunk-CGZBDI6C.js";export{TreemapChart}from"../chunk-QTVE3OSD.js";export{squarify}from"../chunk-46BYGPGD.js";export{WaterfallChart}from"../chunk-XHD6Q6JV.js";export{RangeChart}from"../chunk-P5C7DI5A.js";export{RankedBars}from"../chunk-NA4XPE7S.js";export{SankeyChart}from"../chunk-DQTYV6AC.js";export{SCATTER_SERIES_CAP,ScatterChart}from"../chunk-OWAYSIQH.js";export{StatTile}from"../chunk-ELPW25CA.js";export{Sparkline}from"../chunk-CKCDGSTC.js";export{SunburstChart}from"../chunk-MHCNQKEK.js";export{FunnelChart}from"../chunk-VYHVIKP6.js";export{HeatmapChart}from"../chunk-7TJZ5AJE.js";export{HistogramChart}from"../chunk-IJNQ2BUY.js";export{Meter}from"../chunk-U2ZTHOQL.js";export{PieChart}from"../chunk-OLSA36VX.js";export{RADAR_SERIES_CAP,RadarChart}from"../chunk-3J4SFHC7.js";export{RadialBarChart}from"../chunk-23LK4PLJ.js";export{ChordChart}from"../chunk-65FZQ572.js";import"../chunk-HY6CBG4M.js";export{StepChain,StepChainItem}from"../chunk-Z2Z653OO.js";export{Markdown,Markdown as MarkdownLite,plainCell,tableToCsv}from"../chunk-ZYU5HAIC.js";export{Divider}from"../chunk-DFOFEBYX.js";export{Avatar,AvatarGroup}from"../chunk-W2TPXKCV.js";import"../chunk-UJUTS6LJ.js";export{isSafeLinkHref}from"../chunk-Z5TE3MEG.js";export{ContextMenu,useContextMenu}from"../chunk-QMBMK6PP.js";export{Banner}from"../chunk-XWJT6TFU.js";export{Input_default as Input}from"../chunk-PT4GMPUB.js";export{AttachButton,AttachmentDropZone,AttachmentList,ComposerAttachments,PaperclipGlyph}from"../chunk-WP43XYL6.js";export{DropdownMenu}from"../chunk-3DSGJIC7.js";import"../chunk-UZFFSZFI.js";export{IconButton_default as IconButton}from"../chunk-SV5RRBVA.js";export{INPUT_BASE,INPUT_SIZES,PLACEHOLDER_INK,inputClasses}from"../chunk-AYZY3YNC.js";export{mediaFileName}from"../chunk-G4PPHQ23.js";export{TransferProgress}from"../chunk-6LS6Q77E.js";export{FileIntakeAlert,acceptsFile,useFileIntake}from"../chunk-VFSAJMNX.js";export{CHART_SPEC_LIMITS,parseChartSpec}from"../chunk-CR7T435F.js";export{SpecChart}from"../chunk-CGKY4ZRA.js";export{currencyDecimals,currencySymbol,formatBytes,formatMoney,setCurrencyFormats,timeAgo}from"../chunk-OJI4ROSD.js";export{DATE_FORMAT_OPTIONS,TZ_AUTO,dayKeyInZone,firstDayOfWeek,formatDate,formatDateTime,formatTime,getUserDateFormat,getUserTimezone,instantOnDayKey,knownZone,setUserDateFormat,setUserTimezone,syncTimezoneFromProfile,userToday,userZone}from"../chunk-NHKT5IH6.js";export{EMPTY_VALUE}from"../chunk-36BRD5J3.js";export{DAY_MS,fromDateKey,toDateKey}from"../chunk-JRQMX4PK.js";import"../chunk-LF27WIN2.js";export{TimeSeriesChart}from"../chunk-W6NGPSMM.js";export{DEFAULT_FLOW_CHART_LABELS,FlowChart}from"../chunk-7NO4IENQ.js";export{FLOW_LAYOUT,FLOW_SPEC_LIMITS,layoutFlow,parseFlowSpec}from"../chunk-FAERBT6Y.js";export{ChartBrush}from"../chunk-MOKABQCY.js";export{ChartDot}from"../chunk-CK2YOGUS.js";export{ChartFrame}from"../chunk-G5UGCAWN.js";export{arcPath,areaBetween,areaFrom,bumpPath,curvePath,linearPath,monotonePath,polygonPoints,splinePath,stepPath}from"../chunk-VFC6QUEN.js";export{ColumnChart}from"../chunk-YDFDTRZF.js";export{ChartDefs,MOTION,dashFor,fillFor,fillId,glowId,groundId,maskId,stagger}from"../chunk-465RRWBY.js";export{ChartSkeleton}from"../chunk-ZNV75GAG.js";export{ChartHighlightProvider,autoHighlightIndex,highlightOpacity,useHighlight}from"../chunk-CNYAHYE6.js";export{ImageAnnotator_default as ImageAnnotator}from"../chunk-6QKTQOEV.js";import"../chunk-KNUR2UEG.js";export{NEXT_CHUNK_PATH_PREFIX,STALE_CHUNK_RELOAD_COOLDOWN_MS,STALE_CHUNK_RELOAD_KEY,VITE_PRELOAD_ERROR_EVENT,installStaleChunkReload,isStaleChunkError}from"../chunk-JDCM2VHG.js";export{Result}from"../chunk-M2TQOJ3G.js";import"../chunk-5A7MWTXX.js";export{ALT,ALT_SHIFT_D,ALT_SHIFT_E,ALT_SHIFT_N,CMD_A,CMD_DOT,CMD_ENTER,CMD_K,CMD_S,ENTER,Kbd,MOD,SHIFT,isMac}from"../chunk-ZDMZM7HD.js";export{ConfirmProvider,confirm,confirmDestructive,prompt,useConfirm}from"../chunk-GSLZ46DJ.js";export{Dialog}from"../chunk-HNPJ3V3I.js";import"../chunk-EIFNESXS.js";export{ItemCount}from"../chunk-FTKLODQK.js";import"../chunk-ZOCE74ED.js";import"../chunk-HOHHRNCB.js";import"../chunk-VWGWZY7A.js";import"../chunk-7QSDPSXP.js";export{ColoredBadge}from"../chunk-WLG7BE55.js";export{CONTROL_HEIGHTS,ROW_HEIGHTS,SPACING_ROLES,SPACING_SCALE,isSpacingStep}from"../chunk-AW7TOB6N.js";import"../chunk-4U5M37SF.js";import"../chunk-F3ZOO23R.js";import"../chunk-2QY5BJLA.js";export{useIsMobile}from"../chunk-UGTRSRIW.js";export{ShellPrefsProvider,useLocalStoragePrefs,useShellPrefs}from"../chunk-KC3EX26K.js";export{VERSION}from"../chunk-CBUBDXJ2.js";export{useFocusTrap,useScrollLock}from"../chunk-DWGYC7OD.js";export{GROUP_COLORS,GROUP_COLORS_SOLID,StatusBadge,StatusBadgeProvider,groupColors,statusLabel,useStatusLabel}from"../chunk-WU2ZA6J2.js";export{PopupMenu,PopupMenuDivider,PopupMenuItem,PopupMenuLabel,PopupSubmenu}from"../chunk-GOAFMGUI.js";import"../chunk-URHGHXDN.js";export{MENU_ON_MEDIA_ATTR,leavesContextMenuAlone}from"../chunk-5QFPTDQF.js";export{Button_default as Button}from"../chunk-EVYD6UFQ.js";import"../chunk-M5K4AX4E.js";export{Icon}from"../chunk-ISVODSRP.js";export{activeIconSet,iconSets,iconsVersion,registerIconSet,registerIcons,resolveIcon,setDefaultIconSet,setIconSet,subscribeIcons}from"../chunk-J75ZT2JQ.js";export{LoadingSpinner,SpinnerRing}from"../chunk-R2VKEMZH.js";import"../chunk-BWJZTHZ6.js";import"../chunk-G67CJAQ2.js";export{Tooltip}from"../chunk-SOZCWT6I.js";export{OVERLAY_OPEN_EVENT,dismissPopups}from"../chunk-PGN5ME7B.js";export{Z_LAYERS}from"../chunk-62LW225J.js";export{MENU_MAX_HEIGHT,POPUP_MAX_WIDTH,placeMenu,popupBounds,useDropdownPosition}from"../chunk-GLUJS42B.js";import"../chunk-D65T4H6J.js";export{setShellApiClient}from"../chunk-STKJA4PV.js";export{UNDOABLE_MS,toast_default as toast}from"../chunk-VQ35LXDC.js";export{buttonClasses,iconButtonClasses}from"../chunk-UQYNPYF4.js";import"../chunk-MRJKZWWV.js";export{BoxPlotChart}from"../chunk-CKTFXTJL.js";export{CandlestickChart}from"../chunk-OEPQIIYL.js";export{CartesianPlot}from"../chunk-J6QC45OS.js";import"../chunk-KNZ7YTFH.js";export{usePlotWidth}from"../chunk-MAFUXCPZ.js";export{angleScale,bandScale,binValues,ladderScale,linearScale,logScale,niceAxis,niceMax,radiusScale}from"../chunk-2JWPNR2U.js";export{ChartTooltip}from"../chunk-WDQI3FV6.js";export{CHART_INK,SERIES_SLOT_COUNT,SERIES_VARS,STATUS_VARS,assignSeriesSlots,resolveSeriesColor,resolveSeriesColorWithin,seriesColor,toggleSeriesSlot}from"../chunk-TZFACUMR.js";export{registerModalEscapeInterceptor}from"../chunk-TWVUQUUD.js";export{GLASS_DIVIDER,glassStyle,solidSurfaceStyle}from"../chunk-5FYDNH4Y.js";import"../chunk-LNXBTK7Q.js";export{DEFAULT_SHELL_STRINGS,ShellStringsProvider,useShellLocale,useShellStrings}from"../chunk-IUVGHHR3.js";import"../chunk-C3QOHMR6.js";
|
package/dist/ui.css
CHANGED
|
@@ -1403,9 +1403,12 @@ button.es-group-sub {
|
|
|
1403
1403
|
/* Dark: popup is lg's shape at the 0.5 black the `.shadow-lg` dark remap
|
|
1404
1404
|
already paints, so a popup reading the property and one wearing the utility
|
|
1405
1405
|
match (GG for Lewis, 2026-10-13). At 0.1 it could not be seen. AFTER the
|
|
1406
|
-
`:root` block above: the two have the same specificity, so the later wins.
|
|
1406
|
+
`:root` block above: the two have the same specificity, so the later wins.
|
|
1407
|
+
Dialog is xl's shape at the 0.5 black the `.shadow-xl` dark remap paints,
|
|
1408
|
+
for the same reason: a dialog surface reads the property, not the utility. */
|
|
1407
1409
|
:is([data-theme="dark"], .dark) {
|
|
1408
1410
|
--elevation-popup: 0 10px 15px -3px rgb(0 0 0 / 0.5), 0 4px 6px -4px rgb(0 0 0 / 0.5);
|
|
1411
|
+
--elevation-dialog: 0 20px 25px -5px rgb(0 0 0 / 0.5), 0 8px 10px -6px rgb(0 0 0 / 0.5);
|
|
1409
1412
|
}
|
|
1410
1413
|
|
|
1411
1414
|
/* ── The submit affordance ──────────────────────────────────────────────────
|
package/dist/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{APP_VERSION,VERSION}from"./chunk-
|
|
1
|
+
export{APP_VERSION,VERSION}from"./chunk-CBUBDXJ2.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "efficient-shell",
|
|
3
|
-
"version": "13.
|
|
3
|
+
"version": "13.15.0",
|
|
4
4
|
"description": "Desktop-style React UI shell — windows, taskbar, start menu, sticky notes, frosted glass theming, and bundled apps.",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"author": "Efficient Pty Ltd",
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import{loadAppearance as e,WidgetSettingsModal as t}from"./chunk-GTT7LIWK.js";import{useWidgetSettings as n}from"./chunk-775K6APE.js";import"./chunk-4LXCCZDM.js";import"./chunk-KNUR2UEG.js";import"./chunk-JDCM2VHG.js";import"./chunk-M2TQOJ3G.js";import"./chunk-5A7MWTXX.js";import"./chunk-ZDMZM7HD.js";import"./chunk-BG3C4ALM.js";import"./chunk-JGKDWDVM.js";import"./chunk-FQD6P6EZ.js";import"./chunk-EIFNESXS.js";import"./chunk-FTKLODQK.js";import"./chunk-RIG5FEVS.js";import"./chunk-JR2HHKVP.js";import"./chunk-VWGWZY7A.js";import"./chunk-7QSDPSXP.js";import"./chunk-WLG7BE55.js";import"./chunk-AW7TOB6N.js";import"./chunk-4U5M37SF.js";import"./chunk-F3ZOO23R.js";import"./chunk-2QY5BJLA.js";import"./chunk-UGTRSRIW.js";import"./chunk-KC3EX26K.js";import"./chunk-DWGYC7OD.js";import"./chunk-WU2ZA6J2.js";import"./chunk-GOAFMGUI.js";import"./chunk-URHGHXDN.js";import"./chunk-5QFPTDQF.js";import"./chunk-EVYD6UFQ.js";import"./chunk-M5K4AX4E.js";import{Icon as r}from"./chunk-ISVODSRP.js";import"./chunk-J75ZT2JQ.js";import"./chunk-R2VKEMZH.js";import"./chunk-G67CJAQ2.js";import"./chunk-SOZCWT6I.js";import"./chunk-PGN5ME7B.js";import"./chunk-62LW225J.js";import"./chunk-GLUJS42B.js";import"./chunk-D65T4H6J.js";import"./chunk-STKJA4PV.js";import"./chunk-UQYNPYF4.js";import"./chunk-MRJKZWWV.js";import"./chunk-TWVUQUUD.js";import"./chunk-5FYDNH4Y.js";import"./chunk-LNXBTK7Q.js";import"./chunk-IUVGHHR3.js";import"./chunk-C3QOHMR6.js";import{useState as c,useRef as i,useCallback as o,useEffect as s}from"react";import{jsxs as l,Fragment as a,jsx as u}from"react/jsx-runtime";var h="calc_appearance";function m(){const[m,k]=c("0"),[p,d]=c(null),[b,g]=c(null),[j,N]=c(!1),[y,x]=c(""),[f,C]=c([]),[v,$]=c(!1),[E,D]=c(()=>e(h)),[S,T]=c(!1),[W,G]=c(E),F=i(null);n(o(()=>{G({...E}),T(!0)},[E]));const M=o(e=>{x(""),k(t=>j||"0"===t?(N(!1),"."===e?"0.":e):"."===e&&t.includes(".")?t:t+e)},[j]),A=o(()=>{k("0"),d(null),g(null),N(!1)},[]),J=o((e,t,n)=>{switch(n){case"+":return e+t;case"-":return e-t;case"×":return e*t;case"÷":return 0===t?0:e/t;default:return t}},[]),U=o(e=>{const t=parseFloat(m);if(null!==p&&b&&!j){const e=J(p,t,b);k(String(e)),d(e),C(n=>[`${p} ${b} ${t} = ${e}`,...n].slice(0,20))}else d(t);g(e),N(!0)},[m,p,b,j,J]),w=o(()=>{if(null===p||!b)return;const e=parseFloat(m),t=J(p,e,b),n=`${p} ${b} ${e} =`;C(e=>[`${n} ${t}`,...e].slice(0,20)),x(n),k(String(t)),d(null),g(null),N(!0)},[m,p,b,J]),K=o(()=>{k(e=>String(parseFloat(e)/100))},[]),Q=o(()=>{k(e=>e.startsWith("-")?e.slice(1):"0"===e?e:"-"+e)},[]);s(()=>{const e=e=>{const t=e.target.tagName;"INPUT"!==t&&"TEXTAREA"!==t&&"SELECT"!==t&&(e.key>="0"&&e.key<="9"?M(e.key):"."===e.key?M("."):"+"===e.key?U("+"):"-"===e.key?U("-"):"*"===e.key?U("×"):"/"===e.key?(e.preventDefault(),U("÷")):"Enter"===e.key||"="===e.key?("Enter"===e.key&&e.target instanceof Node&&F.current?.contains(e.target)&&e.preventDefault(),w()):"Escape"===e.key?A():"Backspace"===e.key?k(e=>e.length>1?e.slice(0,-1):"0"):"%"===e.key&&K())};return window.addEventListener("keydown",e),()=>window.removeEventListener("keydown",e)},[M,U,w,A,K]);const R="flex items-center justify-center rounded-lg text-sm font-medium transition-colors",H=`${R} bg-white border border-gray-200 text-gray-900 hover:bg-gray-50 active:bg-gray-100`,L=`${R} bg-blue-50 border border-blue-200 text-blue-700 hover:bg-blue-100 active:bg-blue-200`,O=`${R} bg-gray-100 border border-gray-200 text-gray-600 hover:bg-gray-200 active:bg-gray-300`,V=`${R} bg-blue-600 text-white hover:bg-blue-700 active:bg-blue-800`;/* @__PURE__ */
|
|
2
|
-
return l(a,{children:[
|
|
3
|
-
/* @__PURE__ */l("div",{ref:F,className:"flex flex-col h-full",style:{opacity:E.activeOpacity/100,backdropFilter:E.activeBlur>0?`blur(${E.activeBlur}px)`:void 0},children:[
|
|
4
|
-
/* @__PURE__ */l("div",{className:"bg-slate-200 rounded-t-lg px-4 py-2 group/display relative flex flex-col justify-end min-h-[120px] border-b border-slate-300",children:[
|
|
5
|
-
/* @__PURE__ */u("div",{className:"flex flex-col justify-end flex-1 overflow-hidden",children:f.slice(0,3).reverse().map((e,t)=>/* @__PURE__ */u("div",{className:"text-2xs text-slate-400 text-right font-mono truncate",children:e},t))}),(y||b&&null!==p)&&/* @__PURE__ */u("div",{className:"text-base text-slate-600 text-right font-mono",children:y||`${p} ${b} ${j?"":m}`}),
|
|
6
|
-
/* @__PURE__ */l("div",{className:"flex items-center gap-2",children:[
|
|
7
|
-
/* @__PURE__ */u("button",{onClick:()=>{navigator.clipboard.writeText(m),$(!0),setTimeout(()=>$(!1),1200)},title:"Copy result",className:"shrink-0 text-slate-300 hover:text-slate-500 transition-colors opacity-0 group-hover/display:opacity-100",children:/* @__PURE__ */u(r,v?{name:"check",className:"h-5 w-5 text-green-500",strokeWidth:2}:{name:"copy",className:"h-5 w-5",strokeWidth:2})}),
|
|
8
|
-
/* @__PURE__ */u("div",{className:"text-right text-4xl font-mono font-bold text-slate-800 truncate flex-1",children:(e=>{const t=parseFloat(e);return isNaN(t)||e.endsWith(".")||e.endsWith(".0")||Math.abs(t)<1e15&&e.length<16?e:t.toExponential(6)})(m)})]})]}),
|
|
9
|
-
/* @__PURE__ */l("div",{className:"grid grid-cols-4 grid-rows-5 gap-2 flex-1 min-h-0 p-2",children:[
|
|
10
|
-
/* @__PURE__ */u("button",{onClick:A,className:O,children:"AC"}),
|
|
11
|
-
/* @__PURE__ */u("button",{onClick:Q,className:O,children:"+/−"}),
|
|
12
|
-
/* @__PURE__ */u("button",{onClick:K,className:O,children:"%"}),
|
|
13
|
-
/* @__PURE__ */u("button",{onClick:()=>U("÷"),className:`${L} ${"÷"===b?"ring-2 ring-blue-400":""}`,children:"÷"}),
|
|
14
|
-
/* @__PURE__ */u("button",{onClick:()=>M("7"),className:H,children:"7"}),
|
|
15
|
-
/* @__PURE__ */u("button",{onClick:()=>M("8"),className:H,children:"8"}),
|
|
16
|
-
/* @__PURE__ */u("button",{onClick:()=>M("9"),className:H,children:"9"}),
|
|
17
|
-
/* @__PURE__ */u("button",{onClick:()=>U("×"),className:`${L} ${"×"===b?"ring-2 ring-blue-400":""}`,children:"×"}),
|
|
18
|
-
/* @__PURE__ */u("button",{onClick:()=>M("4"),className:H,children:"4"}),
|
|
19
|
-
/* @__PURE__ */u("button",{onClick:()=>M("5"),className:H,children:"5"}),
|
|
20
|
-
/* @__PURE__ */u("button",{onClick:()=>M("6"),className:H,children:"6"}),
|
|
21
|
-
/* @__PURE__ */u("button",{onClick:()=>U("-"),className:`${L} ${"-"===b?"ring-2 ring-blue-400":""}`,children:"−"}),
|
|
22
|
-
/* @__PURE__ */u("button",{onClick:()=>M("1"),className:H,children:"1"}),
|
|
23
|
-
/* @__PURE__ */u("button",{onClick:()=>M("2"),className:H,children:"2"}),
|
|
24
|
-
/* @__PURE__ */u("button",{onClick:()=>M("3"),className:H,children:"3"}),
|
|
25
|
-
/* @__PURE__ */u("button",{onClick:()=>U("+"),className:`${L} ${"+"===b?"ring-2 ring-blue-400":""}`,children:"+"}),
|
|
26
|
-
/* @__PURE__ */u("button",{onClick:()=>M("0"),className:`${H} col-span-2`,children:"0"}),
|
|
27
|
-
/* @__PURE__ */u("button",{onClick:()=>M("."),className:H,children:"."}),
|
|
28
|
-
/* @__PURE__ */u("button",{onClick:w,className:V,children:"="})]})]}),
|
|
29
|
-
/* @__PURE__ */u(t,{open:S,onClose:()=>T(!1),title:"Calculator Settings",appearance:W,onAppearanceChange:G,onSave:()=>{D(W),localStorage.setItem(h,JSON.stringify(W)),T(!1)}})]})}export{m as default};
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import{loadAppearance as t,WidgetSettingsModal as e}from"./chunk-GTT7LIWK.js";import{useWidgetSettings as r}from"./chunk-775K6APE.js";import"./chunk-4LXCCZDM.js";import"./chunk-KNUR2UEG.js";import"./chunk-JDCM2VHG.js";import"./chunk-M2TQOJ3G.js";import"./chunk-5A7MWTXX.js";import"./chunk-ZDMZM7HD.js";import"./chunk-BG3C4ALM.js";import"./chunk-JGKDWDVM.js";import"./chunk-FQD6P6EZ.js";import"./chunk-EIFNESXS.js";import"./chunk-FTKLODQK.js";import"./chunk-RIG5FEVS.js";import"./chunk-JR2HHKVP.js";import"./chunk-VWGWZY7A.js";import"./chunk-7QSDPSXP.js";import"./chunk-WLG7BE55.js";import"./chunk-AW7TOB6N.js";import"./chunk-4U5M37SF.js";import"./chunk-F3ZOO23R.js";import"./chunk-2QY5BJLA.js";import"./chunk-UGTRSRIW.js";import"./chunk-KC3EX26K.js";import"./chunk-DWGYC7OD.js";import"./chunk-WU2ZA6J2.js";import"./chunk-GOAFMGUI.js";import"./chunk-URHGHXDN.js";import"./chunk-5QFPTDQF.js";import"./chunk-EVYD6UFQ.js";import"./chunk-M5K4AX4E.js";import"./chunk-ISVODSRP.js";import"./chunk-J75ZT2JQ.js";import{LoadingSpinner as n}from"./chunk-R2VKEMZH.js";import"./chunk-G67CJAQ2.js";import"./chunk-SOZCWT6I.js";import"./chunk-PGN5ME7B.js";import"./chunk-62LW225J.js";import"./chunk-GLUJS42B.js";import"./chunk-D65T4H6J.js";import"./chunk-STKJA4PV.js";import"./chunk-UQYNPYF4.js";import"./chunk-MRJKZWWV.js";import"./chunk-TWVUQUUD.js";import"./chunk-5FYDNH4Y.js";import"./chunk-LNXBTK7Q.js";import"./chunk-IUVGHHR3.js";import"./chunk-C3QOHMR6.js";import{useState as s,useCallback as o,useEffect as c}from"react";import{jsxs as i,Fragment as a,jsx as m}from"react/jsx-runtime";var l=["USD","CNY","AUD","GBP","EUR","JPY","CAD","THB","NZD","SGD","HKD","CHF","KRW","INR","MXN","BRL"],u=[["USD","CNY"],["USD","AUD"],["GBP","USD"],["USD","JPY"]],p="currency_pairs",h="currency_appearance",d="currency_rates_cache";function k(t){try{const e=JSON.parse(localStorage.getItem(d)||"{}")[t];if(e&&Date.now()-e.timestamp<36e5)return e.rates}catch{}return null}function g(t,e){try{const r=JSON.parse(localStorage.getItem(d)||"{}");r[t]={rates:e,timestamp:Date.now()},localStorage.setItem(d,JSON.stringify(r))}catch{}}function j(){try{const t=JSON.parse(localStorage.getItem(p)||"");if(Array.isArray(t)&&t.length)return t.slice(0,4)}catch{}return u}var f={USD:"🇺🇸",CNY:"🇨🇳",AUD:"🇦🇺",GBP:"🇬🇧",JPY:"🇯🇵",CAD:"🇨🇦",EUR:"🇪🇺",THB:"🇹🇭",NZD:"🇳🇿",SGD:"🇸🇬",HKD:"🇭🇰",CHF:"🇨🇭",KRW:"🇰🇷",INR:"🇮🇳",MXN:"🇲🇽",BRL:"🇧🇷"};function N(){const[u,d]=s(j),[N,x]=s(()=>t(h)),[y,D]=s({}),[b,S]=s(!1),[v,C]=s(!1),[U,J]=s([]),[G,A]=s(N),[R,M]=s("USD"),[H,K]=s("CNY");r(o(()=>{J([...u]),A({...N}),C(!0)},[u,N])),c(()=>{const t=[...new Set(u.map(([t])=>t))];let e=!0;return async function(){S(!0);const r={};for(const e of t){const t=k(e);if(t)r[e]=t;else try{const t=await fetch(`https://open.er-api.com/v6/latest/${e}`),n=await t.json();n.rates&&(r[e]=n.rates,g(e,n.rates))}catch{}}e&&(D(r),S(!1))}(),()=>{e=!1}},[u]);/* @__PURE__ */
|
|
2
|
-
return i(a,{children:[
|
|
3
|
-
/* @__PURE__ */m("div",{style:{backgroundColor:`rgb(var(--taskbar-bg-rgb, 243 244 246) / ${N.activeOpacity/100})`,backdropFilter:N.activeBlur>0?`blur(${N.activeBlur}px)`:void 0},children:/* @__PURE__ */i("div",{className:"px-4 py-3 space-y-1",children:[b&&/* @__PURE__ */m(n,{size:"sm",padding:"py-4",label:"Loading rates"}),u.map(([t,e],r)=>{const n=y[t]?.[e];/* @__PURE__ */
|
|
4
|
-
return i("button",{onClick:()=>{const t=u.map((t,e)=>e===r?[t[1],t[0]]:t);d(t),localStorage.setItem(p,JSON.stringify(t))},className:"flex items-center justify-between px-2 py-2 border-b border-gray-200 last:border-0 w-full hover:bg-gray-100 rounded transition-colors cursor-pointer",children:[
|
|
5
|
-
/* @__PURE__ */i("div",{className:"flex items-center gap-2",children:[
|
|
6
|
-
/* @__PURE__ */m("span",{className:"text-base",children:f[t]||""}),
|
|
7
|
-
/* @__PURE__ */m("span",{className:"text-sm font-semibold text-gray-700",children:t}),
|
|
8
|
-
/* @__PURE__ */m("svg",{className:"h-3 w-3 text-gray-400",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:2,children:/* @__PURE__ */m("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M7 16V4m0 0L3 8m4-4l4 4m6 0v12m0 0l4-4m-4 4l-4-4"})}),
|
|
9
|
-
/* @__PURE__ */m("span",{className:"text-base",children:f[e]||""}),
|
|
10
|
-
/* @__PURE__ */m("span",{className:"text-sm font-semibold text-gray-700",children:e})]}),
|
|
11
|
-
/* @__PURE__ */m("div",{className:"text-base font-mono font-semibold text-gray-900 tabular-nums",children:null!=n?n.toLocaleString(void 0,{minimumFractionDigits:2,maximumFractionDigits:4}):"—"})]},`${t}-${e}-${r}`)})]})}),
|
|
12
|
-
/* @__PURE__ */m(e,{open:v,onClose:()=>C(!1),title:"Currency Settings",appearance:G,onAppearanceChange:A,onSave:()=>{if(0===U.length)return;const t=U.slice(0,4);d(t),x(G),localStorage.setItem(p,JSON.stringify(t)),localStorage.setItem(h,JSON.stringify(G)),C(!1)},children:/* @__PURE__ */i("div",{children:[
|
|
13
|
-
/* @__PURE__ */i("h3",{className:"text-sm font-semibold text-ink mb-2",children:["Currency Pairs ",
|
|
14
|
-
/* @__PURE__ */i("span",{className:"text-2xs font-normal text-ink-faintest",children:["(",U.length,"/",4,")"]})]}),
|
|
15
|
-
/* @__PURE__ */m("div",{className:"space-y-1 mb-2",children:U.map(([t,e],r)=>/* @__PURE__ */i("div",{className:"flex items-center justify-between py-1 px-2 bg-gray-50 rounded",children:[
|
|
16
|
-
/* @__PURE__ */i("span",{className:"text-sm",children:[f[t]||""," ",t," → ",f[e]||""," ",e]}),
|
|
17
|
-
/* @__PURE__ */m("button",{onClick:()=>J(t=>t.filter((t,e)=>e!==r)),className:"text-red-400 hover:text-red-600",children:"×"})]},r))}),U.length<4?/* @__PURE__ */i("div",{className:"flex items-center gap-2",children:[
|
|
18
|
-
/* @__PURE__ */m("select",{value:R,onChange:t=>M(t.target.value),className:"bg-gray-50 border border-gray-200 rounded px-2 py-1 text-sm focus:outline-none focus:ring-1 focus:ring-blue-500",children:l.map(t=>/* @__PURE__ */m("option",{children:t},t))}),
|
|
19
|
-
/* @__PURE__ */m("span",{className:"text-gray-400",children:"→"}),
|
|
20
|
-
/* @__PURE__ */m("select",{value:H,onChange:t=>K(t.target.value),className:"bg-gray-50 border border-gray-200 rounded px-2 py-1 text-sm focus:outline-none focus:ring-1 focus:ring-blue-500",children:l.map(t=>/* @__PURE__ */m("option",{children:t},t))}),
|
|
21
|
-
/* @__PURE__ */m("button",{onClick:()=>{R!==H&&U.length<4&&J(t=>[...t,[R,H]])},className:"text-sm font-medium text-blue-600 hover:text-blue-800 px-2",children:"+ Add"})]}):/* @__PURE__ */i("p",{className:"text-2xs text-ink-faintest italic",children:["Max ",4," pairs — remove one to add another."]})]})})]})}export{N as default};
|
package/dist/Notepad-NENKOSXJ.js
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import{getNumberingConfigs as e}from"./chunk-OYXA7SWV.js";import{SidebarLayout as t}from"./chunk-IQDHVQAQ.js";import"./chunk-LXPDURUL.js";import"./chunk-QWK6DRSN.js";import{timeAgo as r}from"./chunk-OJI4ROSD.js";import"./chunk-NHKT5IH6.js";import"./chunk-36BRD5J3.js";import"./chunk-JRQMX4PK.js";import"./chunk-LF27WIN2.js";import{AboutApp as n}from"./chunk-YBYJUBWE.js";import{useWindowManager as o,client_default as i}from"./chunk-775K6APE.js";import"./chunk-4LXCCZDM.js";import"./chunk-KNUR2UEG.js";import"./chunk-JDCM2VHG.js";import"./chunk-M2TQOJ3G.js";import"./chunk-5A7MWTXX.js";import"./chunk-ZDMZM7HD.js";import"./chunk-BG3C4ALM.js";import"./chunk-JGKDWDVM.js";import"./chunk-FQD6P6EZ.js";import"./chunk-EIFNESXS.js";import"./chunk-FTKLODQK.js";import"./chunk-RIG5FEVS.js";import"./chunk-JR2HHKVP.js";import"./chunk-VWGWZY7A.js";import"./chunk-7QSDPSXP.js";import"./chunk-WLG7BE55.js";import"./chunk-AW7TOB6N.js";import"./chunk-4U5M37SF.js";import"./chunk-F3ZOO23R.js";import"./chunk-2QY5BJLA.js";import"./chunk-UGTRSRIW.js";import{useShellPrefs as c}from"./chunk-KC3EX26K.js";import"./chunk-KY3KGRGC.js";import"./chunk-DWGYC7OD.js";import"./chunk-WU2ZA6J2.js";import"./chunk-GOAFMGUI.js";import"./chunk-URHGHXDN.js";import"./chunk-5QFPTDQF.js";import"./chunk-EVYD6UFQ.js";import"./chunk-M5K4AX4E.js";import{Icon as s}from"./chunk-ISVODSRP.js";import"./chunk-J75ZT2JQ.js";import"./chunk-R2VKEMZH.js";import"./chunk-G67CJAQ2.js";import"./chunk-SOZCWT6I.js";import"./chunk-PGN5ME7B.js";import"./chunk-62LW225J.js";import"./chunk-GLUJS42B.js";import"./chunk-D65T4H6J.js";import"./chunk-STKJA4PV.js";import{toast_default as l}from"./chunk-VQ35LXDC.js";import"./chunk-UQYNPYF4.js";import"./chunk-MRJKZWWV.js";import"./chunk-TWVUQUUD.js";import"./chunk-5FYDNH4Y.js";import"./chunk-LNXBTK7Q.js";import"./chunk-IUVGHHR3.js";import"./chunk-C3QOHMR6.js";import{useRef as a,useEffect as p,useState as d,useCallback as m}from"react";import{useQuery as u}from"@tanstack/react-query";import{jsxs as h,Fragment as g,jsx as x}from"react/jsx-runtime";var y=[{key:"yellow",bg:"bg-yellow-100",border:"border-yellow-300",text:"text-yellow-900",dot:"bg-yellow-400"},{key:"blue",bg:"bg-blue-100",border:"border-blue-300",text:"text-blue-900",dot:"bg-blue-400"},{key:"green",bg:"bg-green-100",border:"border-green-300",text:"text-green-900",dot:"bg-green-400"},{key:"pink",bg:"bg-pink-100",border:"border-pink-300",text:"text-pink-900",dot:"bg-pink-400"},{key:"purple",bg:"bg-purple-100",border:"border-purple-300",text:"text-purple-900",dot:"bg-purple-400"},{key:"orange",bg:"bg-orange-100",border:"border-orange-300",text:"text-orange-900",dot:"bg-orange-400"},{key:"white",bg:"bg-white",border:"border-gray-300",text:"text-gray-900",dot:"bg-gray-300"}];var k={sales_order:{entityType:"order",endpoint:"/orders/sales-orders/"},purchase_order:{entityType:"purchase_order",endpoint:"/purchase-orders/"},invoice:{entityType:"invoice",endpoint:"/invoicing/invoices/"},vendor_invoice:{entityType:"vendor_invoice",endpoint:"/invoicing/vendor-invoices/"},shipment:{entityType:"shipment",endpoint:"/shipments/delivery-notes/"},receipt:{entityType:"payment",endpoint:"/invoicing/payments/"},vendor_payment:{entityType:"vendor_payment",endpoint:"/invoicing/vendor-payments/"},vendor_price_sheet:{entityType:"vendor_price_sheet",endpoint:"/pricing/manufacturer-price-sheets/"},client_price_sheet:{entityType:"price_sheet",endpoint:"/pricing/price-sheets/"},qc_report:{entityType:"qc_report",endpoint:"/qc-reports/"},warranty_claim:{entityType:"warranty_claim",endpoint:"/warranty-claims/claims/"},vendor_shipment:{entityType:"vendor_shipment",endpoint:"/shipments/goods-receipts/"}},b=/\[([ xX]?)\]/g;function f(){const{openEntity:f}=o(),{prefs:j,save:v}=c(),{data:N}=u({queryKey:["numbering-configs"],queryFn:()=>e(),retry:!1}),w=a({});p(()=>{if(!N)return;const e={};for(const t of N){const r=k[t.entity_type];if(!r)continue;const n=(t.prefix||"").replace("#","").toUpperCase();if(n&&(e[n]={...r,prefix:t.prefix}),t.alt_prefix){const n=t.alt_prefix.replace("#","").toUpperCase();n&&(e[n]={...r,prefix:t.alt_prefix})}}w.current=e},[N]);const T=j.notepad_notes||[],[_,D]=d(null),[S,W]=d(""),[C,K]=d(""),[Q,U]=d("yellow"),[X,G]=d(!1),[O,$]=d(!1),J=a(null),R=a();p(()=>{if(!_&&T.length>0){const e=T[0];D(e.id),W(e.title),K(e.content),U(e.color)}},[T.length]);const M=m(e=>{v({notepad_notes:e})},[v]),E=m(()=>{if(!_||!X)return;const e=T.map(e=>e.id===_?{...e,title:S,content:C,color:Q,updated_at:/* @__PURE__ */(new Date).toISOString()}:e);M(e),G(!1)},[_,X,S,C,Q,T,M]);p(()=>{if(X)return R.current&&clearTimeout(R.current),R.current=setTimeout(E,800),()=>{R.current&&clearTimeout(R.current)}},[X,E]),p(()=>()=>{X&&E()},[]);const I=e=>{X&&E(),D(e.id),W(e.title),K(e.content),U(e.color),G(!1),$(!1)},V=e=>{const t=C.slice(0,e),r=C.slice(e).match(/^\[([ xX]?)\]/);if(!r)return;const n="x"===r[1]||"X"===r[1]?"[ ]":"[x]",o=C.slice(e+r[0].length);K(t+n+o),G(!0)},F=async(e,t)=>{const r=w.current[e];if(!r)return;const n=`${e}#${t}`;try{const{data:e}=await i.get(r.endpoint,{params:{search:n,page_size:1}}),t=(e?.results??e??[])[0];t?f(r.entityType,t.id,t,n):l.error(`${n} not found`)}catch{l.error(`Failed to look up ${n}`)}},H="Start writing...\n\nTips:\n [] Type [] for a checkbox, click to toggle\n SO#35001 Type XX#NNNNN to link entities (SO, PO, CI, VI, PL, etc.)",A=/* @__PURE__ */h(g,{children:[
|
|
2
|
-
/* @__PURE__ */x("div",{className:"p-2 border-b border-gray-200",children:/* @__PURE__ */h("button",{onClick:()=>{X&&E();const e={id:`note-${Date.now()}-${Math.random().toString(36).slice(2,6)}`,title:"",content:"",color:"yellow",updated_at:/* @__PURE__ */(new Date).toISOString()},t=[e,...T];M(t),D(e.id),W(""),K(""),U("yellow"),G(!1),$(!0),setTimeout(()=>J.current?.focus(),50)},className:"w-full flex items-center justify-center gap-2 rounded-lg bg-accent-fill text-on-accent px-3 min-h-8 py-1 text-sm font-medium hover:bg-accent-fill-hover transition-colors",children:[
|
|
3
|
-
/* @__PURE__ */x(s,{name:"add",className:"h-4 w-4",strokeWidth:2}),"New Note"]})}),
|
|
4
|
-
/* @__PURE__ */x("div",{className:"flex-1 overflow-y-auto",children:0===T.length?/* @__PURE__ */x("p",{className:"text-sm text-gray-400 text-center py-8 px-4",children:"No notes yet. Create one to get started."}):T.map(e=>{const t=(n=e.color,y.find(e=>e.key===n)||y[0]);var n;/* @__PURE__ */
|
|
5
|
-
return h("button",{onClick:()=>I(e),className:"w-full text-left px-3 py-3 border-b border-line-subtle transition-colors "+(_===e.id?"bg-accent-tint":"hover:bg-row-hover"),children:[
|
|
6
|
-
/* @__PURE__ */h("div",{className:"flex items-center gap-2",children:[
|
|
7
|
-
/* @__PURE__ */x("div",{className:`w-3 h-3 rounded-full shrink-0 ${t.dot}`}),
|
|
8
|
-
/* @__PURE__ */x("span",{className:"text-sm font-medium text-gray-900 truncate flex-1",children:e.title||"Untitled"})]}),
|
|
9
|
-
/* @__PURE__ */x("p",{className:"text-xs text-ink-faintest mt-0.5 truncate ml-5",children:e.content.replace(/\[[ xX]?\]/g,"").slice(0,60)||"Empty note"}),
|
|
10
|
-
/* @__PURE__ */x("p",{className:"text-2xs text-gray-300 mt-0.5 ml-5",children:r(e.updated_at)})]},e.id)})})]});/* @__PURE__ */
|
|
11
|
-
return h("div",{className:"h-full",children:[
|
|
12
|
-
/* @__PURE__ */x(n,{app:"notepad"}),
|
|
13
|
-
/* @__PURE__ */x(t,{sidebar:A,storageKey:"notepad.sidebarWidth",defaultWidth:224,minWidth:180,maxWidth:360,children:_?/* @__PURE__ */h("div",{className:"flex-1 flex flex-col min-w-0",children:[
|
|
14
|
-
/* @__PURE__ */h("div",{className:"flex items-center gap-2 px-4 py-2 border-b border-gray-200",children:[
|
|
15
|
-
/* @__PURE__ */x("input",{value:S,onChange:e=>{W(e.target.value),G(!0)},placeholder:"Note title...",className:"flex-1 text-lg font-semibold text-gray-900 outline-none bg-transparent placeholder:text-gray-300"}),
|
|
16
|
-
/* @__PURE__ */x("div",{className:"flex gap-1",children:y.map(e=>/* @__PURE__ */x("button",{onClick:()=>{U(e.key),G(!0)},className:`w-5 h-5 rounded-full border-2 transition-all ${e.dot} ${Q===e.key?"border-gray-600 scale-110":"border-transparent hover:border-gray-400"}`,title:e.key},e.key))}),
|
|
17
|
-
/* @__PURE__ */x("button",{onClick:()=>(e=>{const t=T.filter(t=>t.id!==e);if(M(t),_===e){const e=t[0];e?I(e):(D(null),W(""),K(""))}})(_),title:"Delete note",className:"p-1 rounded text-gray-300 hover:text-red-500 transition-colors",children:/* @__PURE__ */x(s,{name:"trash",className:"h-4 w-4",strokeWidth:1.5})})]}),O?/* @__PURE__ */x("textarea",{ref:J,value:C,onChange:e=>{K(e.target.value),G(!0)},onBlur:()=>{$(!1),X&&E()},placeholder:H,className:"flex-1 p-4 text-sm text-gray-700 outline-none resize-none bg-transparent leading-relaxed placeholder:text-gray-300 font-mono"}):/* @__PURE__ */x("div",{onClick:()=>{$(!0),setTimeout(()=>J.current?.focus(),50)},className:"flex-1 p-4 text-sm text-gray-700 overflow-y-auto leading-relaxed cursor-text",children:C?(e=>{if(!e)return[];const t=e.split("\n");return t.map((e,r)=>{const n=[];let o=0;const i=[],c=/([A-Z]{2,4})#(\d{4,6})/g;let l;for(;null!==(l=c.exec(e));){const e=l[1],t=l[2];if(w.current[e]){const n=l.index,o=l[0];i.push({idx:n,len:o.length,render:()=>/* @__PURE__ */x("button",{onClick:()=>F(e,t),className:"text-blue-600 hover:text-blue-800 hover:underline font-medium cursor-pointer",children:o},`ref-${r}-${n}`)})}}b.lastIndex=0;let a=0;for(let e=0;e<r;e++)a+=t[e].length+1;for(;null!==(l=b.exec(e));){const e="x"===l[1]||"X"===l[1],t=l.index,n=a+t;i.push({idx:t,len:l[0].length,render:()=>/* @__PURE__ */x("button",{onClick:()=>V(n),className:`inline-flex items-center justify-center w-4 h-4 rounded border ${e?"bg-blue-500 border-blue-500 text-white":"border-gray-400 bg-white hover:border-blue-400"} cursor-pointer align-text-bottom mr-0.5`,children:e&&/* @__PURE__ */x(s,{name:"check",className:"w-3 h-3",strokeWidth:3})},`cb-${r}-${t}`)})}i.sort((e,t)=>e.idx-t.idx);for(const t of i)t.idx>o&&n.push(/* @__PURE__ */x("span",{children:e.slice(o,t.idx)},`t-${r}-${o}`)),n.push(t.render()),o=t.idx+t.len;o<e.length&&n.push(/* @__PURE__ */x("span",{children:e.slice(o)},`t-${r}-${o}`)),0===n.length&&n.push(/* @__PURE__ */x("span",{children:""},`empty-${r}`));const p=/^\[x\]/i.test(e.trimStart());/* @__PURE__ */
|
|
18
|
-
return x("div",{className:p?"line-through text-gray-400":"",children:n},r)})})(C):/* @__PURE__ */x("p",{className:"text-gray-300 whitespace-pre-line",children:H})}),
|
|
19
|
-
/* @__PURE__ */h("div",{className:"px-4 min-h-8 py-1 border-t border-line-subtle flex items-center gap-4 text-2xs text-ink-faintest",children:[
|
|
20
|
-
/* @__PURE__ */x("span",{children:"[] checkbox"}),
|
|
21
|
-
/* @__PURE__ */x("span",{children:"SO#35001 entity link"}),
|
|
22
|
-
/* @__PURE__ */x("span",{className:"ml-auto",children:O?"Editing":"Click to edit"})]})]}):/* @__PURE__ */x("div",{className:"flex-1 flex items-center justify-center",children:/* @__PURE__ */h("div",{className:"text-center text-gray-400",children:[
|
|
23
|
-
/* @__PURE__ */x(s,{name:"page",className:"h-12 w-12 mx-auto mb-3 text-gray-300",strokeWidth:1}),
|
|
24
|
-
/* @__PURE__ */x("p",{className:"text-sm",children:"Select a note or create a new one"})]})})})]})}export{f as default};
|
package/dist/Stock-TCQSVSSY.js
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import{loadAppearance as e,WidgetSettingsModal as t}from"./chunk-GTT7LIWK.js";import{useWidgetSettings as n}from"./chunk-775K6APE.js";import"./chunk-4LXCCZDM.js";import"./chunk-KNUR2UEG.js";import"./chunk-JDCM2VHG.js";import"./chunk-M2TQOJ3G.js";import"./chunk-5A7MWTXX.js";import"./chunk-ZDMZM7HD.js";import"./chunk-BG3C4ALM.js";import"./chunk-JGKDWDVM.js";import"./chunk-FQD6P6EZ.js";import"./chunk-EIFNESXS.js";import"./chunk-FTKLODQK.js";import"./chunk-RIG5FEVS.js";import"./chunk-JR2HHKVP.js";import"./chunk-VWGWZY7A.js";import"./chunk-7QSDPSXP.js";import"./chunk-WLG7BE55.js";import"./chunk-AW7TOB6N.js";import"./chunk-4U5M37SF.js";import"./chunk-F3ZOO23R.js";import"./chunk-2QY5BJLA.js";import"./chunk-UGTRSRIW.js";import"./chunk-KC3EX26K.js";import"./chunk-DWGYC7OD.js";import"./chunk-WU2ZA6J2.js";import"./chunk-GOAFMGUI.js";import"./chunk-URHGHXDN.js";import"./chunk-5QFPTDQF.js";import"./chunk-EVYD6UFQ.js";import"./chunk-M5K4AX4E.js";import"./chunk-ISVODSRP.js";import"./chunk-J75ZT2JQ.js";import"./chunk-R2VKEMZH.js";import"./chunk-G67CJAQ2.js";import"./chunk-SOZCWT6I.js";import"./chunk-PGN5ME7B.js";import"./chunk-62LW225J.js";import"./chunk-GLUJS42B.js";import"./chunk-D65T4H6J.js";import"./chunk-STKJA4PV.js";import"./chunk-UQYNPYF4.js";import"./chunk-MRJKZWWV.js";import"./chunk-TWVUQUUD.js";import"./chunk-5FYDNH4Y.js";import"./chunk-LNXBTK7Q.js";import"./chunk-IUVGHHR3.js";import"./chunk-C3QOHMR6.js";import{useState as r,useCallback as c}from"react";import{jsxs as s,Fragment as i,jsx as a}from"react/jsx-runtime";var o=["AAPL","MSFT","GOOGL","TSLA","NVDA"],m="stock_symbols",l="stock_appearance",h={AAPL:{price:229.87,change:1.42,changePct:.62},MSFT:{price:451.16,change:-2.31,changePct:-.51},GOOGL:{price:178.34,change:.89,changePct:.5},AMZN:{price:201.45,change:-1.08,changePct:-.53},TSLA:{price:248.92,change:6.74,changePct:2.78},NVDA:{price:134.81,change:-3.12,changePct:-2.26},META:{price:563.27,change:4.55,changePct:.81}},p=Object.keys(h);function u(){try{const e=JSON.parse(localStorage.getItem(m)||"");if(Array.isArray(e)&&e.length)return e.slice(0,8)}catch{}return o}var d=e=>`${e>=0?"+":""}${e.toFixed(2)}`;function g(){const[o,g]=r(u),[k,x]=r(()=>e(l)),[j,b]=r(!1),[f,y]=r([]),[N,v]=r(k),[S,A]=r(""),D=c(()=>{y([...o]),v({...k}),A(""),b(!0)},[o,k]);n(D);const G=()=>{const e=S.trim().toUpperCase();!e||f.includes(e)||f.length>=8||(y(t=>[...t,e]),A(""))},M=p.filter(e=>!f.includes(e));/* @__PURE__ */
|
|
2
|
-
return s(i,{children:[
|
|
3
|
-
/* @__PURE__ */a("div",{style:{backgroundColor:`rgb(var(--taskbar-bg-rgb, 243 244 246) / ${k.activeOpacity/100})`,backdropFilter:k.activeBlur>0?`blur(${k.activeBlur}px)`:void 0},children:/* @__PURE__ */a("div",{className:"px-4 py-3",children:0===o.length?/* @__PURE__ */a("div",{className:"text-xs text-gray-500 text-center py-6",children:"No symbols yet — add some in settings."}):/* @__PURE__ */a("div",{className:"space-y-0.5",children:o.map(e=>{const t=h[e],n=(t?.change??0)>=0,r=t?t.change>0?"text-green-600":t.change<0?"text-red-600":"text-gray-500":"text-gray-400";/* @__PURE__ */
|
|
4
|
-
return s("div",{className:"flex items-center justify-between px-2 py-2 border-b border-gray-200 last:border-0",children:[
|
|
5
|
-
/* @__PURE__ */a("span",{className:"text-sm font-bold text-gray-800 tracking-tight",children:e}),t?/* @__PURE__ */s("div",{className:"flex flex-col items-end leading-tight",children:[
|
|
6
|
-
/* @__PURE__ */a("span",{className:"text-sm font-mono font-semibold text-gray-900 tabular-nums",children:(c=t.price,`$${c.toLocaleString(void 0,{minimumFractionDigits:2,maximumFractionDigits:2})}`)}),
|
|
7
|
-
/* @__PURE__ */s("span",{className:`text-2xs font-medium tabular-nums ${r}`,children:[n?"▲":"▼"," ",d(t.change)," (",d(t.changePct),"%)"]})]}):/* @__PURE__ */a("span",{className:"text-sm font-mono text-gray-400 tabular-nums",children:"—"})]},e);var c})})})}),
|
|
8
|
-
/* @__PURE__ */a(t,{open:j,onClose:()=>b(!1),title:"Stock Settings",appearance:N,onAppearanceChange:v,onSave:()=>{const e=f.map(e=>e.toUpperCase()).slice(0,8);g(e),x(N),localStorage.setItem(m,JSON.stringify(e)),localStorage.setItem(l,JSON.stringify(N)),b(!1)},children:/* @__PURE__ */s("div",{children:[
|
|
9
|
-
/* @__PURE__ */s("h3",{className:"text-sm font-semibold text-ink mb-2",children:["Symbols ",
|
|
10
|
-
/* @__PURE__ */s("span",{className:"text-2xs font-normal text-ink-faintest",children:["(",f.length,"/",8,")"]})]}),
|
|
11
|
-
/* @__PURE__ */s("div",{className:"space-y-1 mb-2",children:[f.map((e,t)=>/* @__PURE__ */s("div",{className:"flex items-center justify-between py-1 px-2 bg-gray-50 rounded",children:[
|
|
12
|
-
/* @__PURE__ */a("span",{className:"text-sm font-semibold text-gray-700",children:e}),
|
|
13
|
-
/* @__PURE__ */a("button",{onClick:()=>y(e=>e.filter((e,n)=>n!==t)),className:"text-red-400 hover:text-red-600",children:"×"})]},t)),0===f.length&&/* @__PURE__ */a("p",{className:"text-2xs text-ink-faintest italic",children:"No symbols — add a ticker below."})]}),f.length<8?/* @__PURE__ */s("div",{className:"flex items-center gap-2",children:[
|
|
14
|
-
/* @__PURE__ */a("input",{value:S,onChange:e=>A(e.target.value),onKeyDown:e=>{"Enter"===e.key&&G()},placeholder:"e.g. NVDA",className:"flex-1 bg-gray-50 border border-gray-200 rounded px-2 py-1 text-sm uppercase focus:outline-none focus:ring-1 focus:ring-blue-500"}),
|
|
15
|
-
/* @__PURE__ */a("button",{onClick:G,className:"text-sm font-medium text-blue-600 hover:text-blue-800 px-2",children:"+ Add"})]}):/* @__PURE__ */s("p",{className:"text-2xs text-ink-faintest italic",children:["Max ",8," symbols — remove one to add another."]}),M.length>0&&f.length<8&&/* @__PURE__ */a("div",{className:"flex flex-wrap gap-2 mt-2",children:M.map(e=>/* @__PURE__ */a("button",{onClick:()=>y(t=>t.length<8?[...t,e]:t),className:"text-2xs font-medium text-gray-600 bg-gray-100 hover:bg-gray-200 rounded px-2 py-0.5 transition-colors",children:e},e))}),
|
|
16
|
-
/* @__PURE__ */a("p",{className:"text-2xs text-ink-faintest mt-2",children:"Demo prices — static sample data, no live feed."})]})})]})}export{g as default};
|