efficient-shell 10.6.0 → 10.13.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 +27 -2
- package/dist/{Browser-4ONXYI26.js → Browser-36HIDVL6.js} +13 -13
- package/dist/{Calculator-T35PX2QS.js → Calculator-ZFMTTDQ6.js} +23 -23
- package/dist/{CurrencyConverter-IQCGNNYA.js → CurrencyConverter-577XB7A3.js} +6 -6
- package/dist/{Documents-6H3UDVIU.js → Documents-ZS4M5I3S.js} +3 -3
- package/dist/Files-7XO7A4YT.js +88 -0
- package/dist/Notepad-6CFMSQCK.js +24 -0
- package/dist/PomodoroTimer-CXJVY7U3.js +91 -0
- package/dist/{Preview-D6MAGBWE.js → Preview-HV2KB3IU.js} +22 -22
- package/dist/Sidebar-7RR5WNIF.js +44 -0
- package/dist/{Spreadsheet-RXZR3OSI.js → Spreadsheet-J5AGNSGN.js} +13 -13
- package/dist/{Stock-XAZUTWT6.js → Stock-M4TDRNCI.js} +3 -3
- package/dist/{Weather-MLRF4QNB.js → Weather-K634BVDX.js} +41 -41
- package/dist/{WorldClock-IWRZVM4L.js → WorldClock-56CYOGR2.js} +6 -6
- package/dist/ai/index.d.ts +5 -2
- package/dist/ai/index.js +40 -39
- package/dist/ai.css +1 -1
- package/dist/apps/index.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/SpecChart.js +1 -1
- package/dist/chunk-2HMNOLKX.js +1 -0
- package/dist/{chunk-OTGQYHVC.js → chunk-3BYLHJLC.js} +7 -7
- package/dist/chunk-3GL4OVBB.js +1 -0
- package/dist/chunk-3RVLLU2A.js +5 -0
- package/dist/chunk-44QWF5X2.js +2 -0
- package/dist/chunk-45VOQS5V.js +4 -0
- package/dist/{chunk-5S3YYN7M.js → chunk-47EYPWCB.js} +2 -2
- package/dist/chunk-5RE6R3XC.js +2 -0
- package/dist/chunk-5X4DBMS6.js +2 -0
- package/dist/{chunk-YCOYCPAH.js → chunk-7PUVPDUZ.js} +3 -3
- package/dist/chunk-7QSDPSXP.js +1 -0
- package/dist/{chunk-YDEIXM2A.js → chunk-7TC3LJQM.js} +1 -1
- package/dist/chunk-A4TFCYWN.js +2 -0
- package/dist/chunk-A5SPSAWW.js +2 -0
- package/dist/{chunk-ZUS7FXKE.js → chunk-AGG4RFXR.js} +11 -11
- package/dist/chunk-APLKFBJH.js +2 -0
- package/dist/{chunk-GNHLVGG5.js → chunk-AZ3AR7U7.js} +2 -2
- package/dist/chunk-BJXDOM2N.js +2 -0
- package/dist/{chunk-UNOQ46YW.js → chunk-BS7IPLRR.js} +1 -1
- package/dist/{chunk-3CPB3WP2.js → chunk-CKKUFDZ3.js} +39 -39
- package/dist/chunk-COJYPNKF.js +2 -0
- package/dist/chunk-EDKRGYZX.js +9 -0
- package/dist/{chunk-IOIDZC2M.js → chunk-F2MWLDN2.js} +1 -1
- package/dist/{chunk-7X3XNVES.js → chunk-F6JDUMM7.js} +1 -1
- package/dist/chunk-FIZKXNCZ.js +2 -0
- package/dist/{chunk-QWWJUYZI.js → chunk-GBCH3UHD.js} +16 -16
- package/dist/{chunk-X2S2XDZI.js → chunk-GEYM4WN3.js} +1 -1
- package/dist/chunk-H64JJSXC.js +4 -0
- package/dist/chunk-I5VYOWIX.js +2 -0
- package/dist/chunk-IABSP2GJ.js +2 -0
- package/dist/chunk-IKMWKOT5.js +1 -0
- package/dist/{chunk-IPFWXM2Y.js → chunk-ISJPW2FZ.js} +11 -11
- package/dist/chunk-IXZGA4MS.js +2 -0
- package/dist/{chunk-DLNIRZNR.js → chunk-JBOMPD3V.js} +1 -1
- package/dist/chunk-JGFY54A4.js +3 -0
- package/dist/chunk-KLHUKAD3.js +2 -0
- package/dist/chunk-KOBYM5JV.js +14 -0
- package/dist/chunk-KZMJE24J.js +5 -0
- package/dist/{chunk-XKDBYJHF.js → chunk-KZX25YEW.js} +1 -1
- package/dist/{chunk-QQPIQCT7.js → chunk-L3QNKCXH.js} +8 -8
- package/dist/chunk-LF27WIN2.js +1 -0
- package/dist/chunk-LYJBMVUE.js +4 -0
- package/dist/{chunk-O45WQK57.js → chunk-M3OYHYIS.js} +1 -1
- package/dist/chunk-MIOL4CDN.js +2 -0
- package/dist/{chunk-A224Q5ZC.js → chunk-NPK2TLIU.js} +1 -1
- package/dist/{chunk-WN5HHHLO.js → chunk-OOLPDASG.js} +1 -1
- package/dist/chunk-PGKNWSSC.js +2 -0
- package/dist/chunk-PJW3BL27.js +2 -0
- package/dist/{chunk-35DG7Y4M.js → chunk-QDQ347RL.js} +1 -1
- package/dist/chunk-QHUGCISZ.js +2 -0
- package/dist/chunk-QKWYCOMM.js +23 -0
- package/dist/{chunk-SF654IHN.js → chunk-QNK2I4IH.js} +12 -12
- package/dist/{chunk-GTNJAKFO.js → chunk-R7APUBZB.js} +13 -13
- package/dist/chunk-RRVBOD2U.js +2 -0
- package/dist/{chunk-6PFZK6ED.js → chunk-SCPCZCYQ.js} +1 -1
- package/dist/{chunk-LHYVPDCP.js → chunk-SMUH7NAN.js} +1 -1
- package/dist/chunk-STAVWXWV.js +1 -0
- package/dist/chunk-SVUOPZCB.js +2 -0
- package/dist/chunk-TNPGO42S.js +4 -0
- package/dist/chunk-UCWJA6LT.js +2 -0
- package/dist/{chunk-RZGYD2PM.js → chunk-UNRPRMQO.js} +41 -41
- package/dist/chunk-UWK5Q3R4.js +19 -0
- package/dist/{chunk-PXDDCD5X.js → chunk-VZ4PBHFN.js} +1 -1
- package/dist/chunk-WH6NPZ6B.js +2 -0
- package/dist/{chunk-G5NQOV7L.js → chunk-XBB6LSSB.js} +5 -5
- package/dist/chunk-XGAXRNZS.js +2 -0
- package/dist/chunk-XMTGZI2O.js +2 -0
- package/dist/chunk-Y3JW2GW5.js +1 -0
- package/dist/chunk-Z6KYMY3R.js +5 -0
- package/dist/chunk-Z7TJ5Y7T.js +2 -0
- package/dist/chunk-ZE5FN26Z.js +5 -0
- package/dist/chunk-ZTPMMNAZ.js +1 -0
- package/dist/format/index.d.ts +1 -0
- package/dist/format/index.js +1 -1
- package/dist/forms/BorderInput.js +1 -1
- package/dist/forms/Calendar.d.ts +1 -5
- package/dist/forms/Calendar.js +1 -1
- package/dist/forms/ColorPicker.js +1 -1
- package/dist/forms/CornersInput.js +1 -1
- package/dist/forms/DatePicker.js +1 -1
- package/dist/forms/DateRangePicker.d.ts +9 -7
- package/dist/forms/DateRangePicker.js +1 -1
- package/dist/forms/DateTimePicker.js +1 -1
- package/dist/forms/InputNumber.js +1 -1
- package/dist/forms/LinkPicker.js +1 -1
- package/dist/forms/MediaLibrary.js +1 -1
- package/dist/forms/PositionInput.js +1 -1
- package/dist/forms/Select.d.ts +1 -1
- package/dist/forms/Select.js +1 -1
- package/dist/forms/SidesInput.js +1 -1
- package/dist/forms/Slider.js +1 -1
- package/dist/forms/TextToolbar.d.ts +1 -1
- package/dist/forms/TimePicker.js +1 -1
- package/dist/forms/WidthsBar.js +1 -1
- package/dist/forms/textAlign.d.ts +1 -1
- package/dist/icons/efficient-glyphs.d.ts +11 -0
- package/dist/icons/efficient-glyphs.js +1 -1
- package/dist/icons/efficient-looks.d.ts +16 -0
- package/dist/icons/efficient-looks.js +1 -1
- package/dist/icons/efficient-meanings.d.ts +11 -0
- package/dist/icons/efficient-meanings.js +1 -1
- package/dist/icons/efficient.d.ts +11 -0
- package/dist/icons/efficient.js +1 -1
- package/dist/icons/glyphs/BrandAlipayIcon.d.ts +11 -0
- package/dist/icons/glyphs/BrandAlipayIcon.js +1 -0
- package/dist/icons/glyphs/BrandDinersclubIcon.d.ts +11 -0
- package/dist/icons/glyphs/BrandDinersclubIcon.js +1 -0
- package/dist/icons/glyphs/BrandJcbIcon.d.ts +11 -0
- package/dist/icons/glyphs/BrandJcbIcon.js +1 -0
- package/dist/icons/glyphs/CountUpIcon.d.ts +8 -0
- package/dist/icons/glyphs/CountUpIcon.js +1 -0
- package/dist/icons/glyphs/DurationIcon.d.ts +8 -0
- package/dist/icons/glyphs/DurationIcon.js +1 -0
- package/dist/icons/glyphs/HoverLiftIcon.d.ts +8 -0
- package/dist/icons/glyphs/HoverLiftIcon.js +1 -0
- package/dist/icons/glyphs/HoverNextImageIcon.d.ts +8 -0
- package/dist/icons/glyphs/HoverNextImageIcon.js +1 -0
- package/dist/icons/glyphs/HoverNoneIcon.d.ts +8 -0
- package/dist/icons/glyphs/HoverNoneIcon.js +1 -0
- package/dist/icons/glyphs/HoverRotateIcon.d.ts +8 -0
- package/dist/icons/glyphs/HoverRotateIcon.js +1 -0
- package/dist/icons/glyphs/HoverZoomIcon.d.ts +8 -0
- package/dist/icons/glyphs/HoverZoomIcon.js +1 -0
- package/dist/icons/glyphs/LoopIcon.d.ts +8 -0
- package/dist/icons/glyphs/LoopIcon.js +1 -0
- package/dist/icons/index.d.ts +2 -2
- package/dist/icons/index.js +1 -1
- package/dist/icons/looks/CountUpMiniIcon.d.ts +8 -0
- package/dist/icons/looks/CountUpMiniIcon.js +1 -0
- package/dist/icons/looks/CountUpSolidIcon.d.ts +8 -0
- package/dist/icons/looks/CountUpSolidIcon.js +1 -0
- package/dist/icons/looks/DurationMiniIcon.d.ts +8 -0
- package/dist/icons/looks/DurationMiniIcon.js +1 -0
- package/dist/icons/looks/DurationSolidIcon.d.ts +8 -0
- package/dist/icons/looks/DurationSolidIcon.js +1 -0
- package/dist/icons/looks/HoverLiftMiniIcon.d.ts +8 -0
- package/dist/icons/looks/HoverLiftMiniIcon.js +1 -0
- package/dist/icons/looks/HoverLiftSolidIcon.d.ts +8 -0
- package/dist/icons/looks/HoverLiftSolidIcon.js +1 -0
- package/dist/icons/looks/HoverNextImageMiniIcon.d.ts +8 -0
- package/dist/icons/looks/HoverNextImageMiniIcon.js +1 -0
- package/dist/icons/looks/HoverNextImageSolidIcon.d.ts +8 -0
- package/dist/icons/looks/HoverNextImageSolidIcon.js +1 -0
- package/dist/icons/looks/HoverNoneMiniIcon.d.ts +8 -0
- package/dist/icons/looks/HoverNoneMiniIcon.js +1 -0
- package/dist/icons/looks/HoverNoneSolidIcon.d.ts +8 -0
- package/dist/icons/looks/HoverNoneSolidIcon.js +1 -0
- package/dist/icons/looks/HoverRotateMiniIcon.d.ts +8 -0
- package/dist/icons/looks/HoverRotateMiniIcon.js +1 -0
- package/dist/icons/looks/HoverRotateSolidIcon.d.ts +8 -0
- package/dist/icons/looks/HoverRotateSolidIcon.js +1 -0
- package/dist/icons/looks/HoverZoomMiniIcon.d.ts +8 -0
- package/dist/icons/looks/HoverZoomMiniIcon.js +1 -0
- package/dist/icons/looks/HoverZoomSolidIcon.d.ts +8 -0
- package/dist/icons/looks/HoverZoomSolidIcon.js +1 -0
- package/dist/icons/looks/LoopMiniIcon.d.ts +8 -0
- package/dist/icons/looks/LoopMiniIcon.js +1 -0
- package/dist/icons/looks/LoopSolidIcon.d.ts +8 -0
- package/dist/icons/looks/LoopSolidIcon.js +1 -0
- package/dist/icons/looks/map.js +1 -1
- package/dist/icons/payment.d.ts +46 -0
- package/dist/icons/payment.js +4 -0
- package/dist/icons/sets.js +1 -1
- package/dist/index.d.ts +43 -4
- package/dist/index.js +694 -694
- package/dist/names-CwzeaUf6.d.ts +23 -0
- package/dist/page-tabs/index.js +5 -5
- package/dist/shell/ConfirmDialog.js +1 -1
- package/dist/shell/Dialog.js +1 -1
- package/dist/shell/Drawer.js +1 -1
- package/dist/shell/GlobalSearch.js +1 -1
- package/dist/shell/ImageLightbox.js +1 -1
- package/dist/shell/LanguageSelect.js +1 -1
- package/dist/shell/Markdown.d.ts +1 -1
- package/dist/shell/MilestoneTimeline.js +1 -1
- package/dist/shell/ProductionTimeline.js +1 -1
- package/dist/shell/TimeAgo.js +1 -1
- package/dist/shell/TimelineTrack.js +1 -1
- package/dist/shell/discardGuard.js +1 -1
- package/dist/shell/timelineDates.js +1 -1
- package/dist/telemetry/index.js +1 -1
- package/dist/templates/CheckoutTemplate.js +1 -1
- package/dist/templates/DataTablePage.js +1 -1
- package/dist/templates/FormLayoutPage.js +1 -1
- package/dist/ui/index.d.ts +3 -2
- package/dist/ui/index.js +1 -1
- package/dist/utils/date.js +1 -1
- package/dist/utils/dateKey.d.ts +25 -0
- package/dist/utils/dateKey.js +1 -0
- package/dist/utils/format.js +1 -1
- package/dist/version.js +1 -1
- package/package.json +6 -1
- package/dist/Files-3OOVEIKW.js +0 -88
- package/dist/Notepad-IPTDLXZZ.js +0 -24
- package/dist/PomodoroTimer-YF5AN5RX.js +0 -91
- package/dist/Sidebar-QCUDD4OU.js +0 -44
- package/dist/chunk-4BYJQU37.js +0 -2
- package/dist/chunk-5OTS2G3M.js +0 -1
- package/dist/chunk-632N62BY.js +0 -9
- package/dist/chunk-7Z4PTLDL.js +0 -4
- package/dist/chunk-AM2F5ZXH.js +0 -2
- package/dist/chunk-E5MVH3SH.js +0 -14
- package/dist/chunk-LNWQBSYD.js +0 -5
- package/dist/chunk-LPSFFJFK.js +0 -1
- package/dist/chunk-MNXRAZJV.js +0 -23
- package/dist/chunk-N4DI5F74.js +0 -19
- package/dist/chunk-O2GPQ2MX.js +0 -1
- package/dist/chunk-PKXQDCNR.js +0 -1
- package/dist/chunk-QEKOEIOQ.js +0 -3
- package/dist/chunk-TFUIOEBX.js +0 -1
- package/dist/chunk-XO7URRTM.js +0 -2
- package/dist/chunk-YJFB6CCJ.js +0 -1
- package/dist/names-CyfXNkce.d.ts +0 -23
- /package/dist/{chunk-DSIDJYH7.js → chunk-744BFBBV.js} +0 -0
- /package/dist/{chunk-EHPZIBOL.js → chunk-NOKZ54GD.js} +0 -0
- /package/dist/{chunk-OW7MLJ3Y.js → chunk-S2P74CBN.js} +0 -0
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* GENERATED FILE. Do not edit by hand.
|
|
3
|
+
* Source: ./efficient.json. Regenerate: node scripts/icons/generate.mjs
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* Every meaning the one set draws. `<Icon name>` takes exactly these.
|
|
7
|
+
*/
|
|
8
|
+
declare const ICON_NAMES: readonly ["academic-cap", "accent", "account", "account-circle", "add", "add-circle", "add-person", "adjust", "align-center", "align-justify", "align-left", "align-right", "align-separate", "alignment", "anchor", "animation", "apps", "archive-box", "arrow", "arrow-down", "arrow-left", "arrow-left-end-on-rectangle", "arrow-long-right", "arrow-right", "arrow-trending-down", "arrow-trending-up", "arrow-up", "arrow-up-right", "at-symbol", "attach", "background", "bag", "bank", "bars-3-bottom-left", "battery", "beaker", "bell", "bell-alert", "bell-plus", "billing", "black-and-white", "block-badge", "block-banner", "block-box", "block-button", "block-column", "block-coupon", "block-divider", "block-footer", "block-heading", "block-image", "block-included-list", "block-layered-images", "block-product", "block-product-title", "block-section", "block-social", "block-spacer", "block-text", "block-video", "blog-post", "bold", "bolt", "book-open", "bookmark", "bookmark-square", "border-all", "border-bottom", "border-left", "border-right", "border-top", "braces", "brand-1password", "brand-adyen", "brand-afterpay", "brand-aircall", "brand-alipay", "brand-amd", "brand-americanexpress", "brand-anthropic", "brand-apple", "brand-applepay", "brand-aws", "brand-bigcommerce", "brand-brevo", "brand-calendly", "brand-campaignmonitor", "brand-cloudflare", "brand-dell", "brand-dhl", "brand-dinersclub", "brand-dropbox", "brand-ebay", "brand-etsy", "brand-facebook", "brand-fedex", "brand-github", "brand-gmail", "brand-googleads", "brand-googleanalytics", "brand-googlecalendar", "brand-googledrive", "brand-googlepay", "brand-googlesheets", "brand-hubspot", "brand-instagram", "brand-intel", "brand-intercom", "brand-jcb", "brand-klarna", "brand-line", "brand-linkedin", "brand-mailchimp", "brand-mailgun", "brand-make", "brand-mastercard", "brand-messenger", "brand-meta", "brand-myob", "brand-notion", "brand-nvidia", "brand-paypal", "brand-pinterest", "brand-quickbooks", "brand-sage", "brand-samsung", "brand-shopify", "brand-square", "brand-squarespace", "brand-stripe", "brand-telegram", "brand-tiktok", "brand-trello", "brand-ups", "brand-visa", "brand-vonage", "brand-wechat", "brand-whatsapp", "brand-wise", "brand-wix", "brand-woocommerce", "brand-x", "brand-xero", "brand-youtube", "brand-zapier", "brand-zendesk", "brand-zoom", "breadcrumb", "briefcase", "bug", "bug-ant", "building-library", "building-office-2", "button", "button-arrow", "button-icon", "calculator", "calendar", "calendar-check", "camera", "caption", "car", "card-payment", "caret", "cart", "case", "case-capitalized", "case-lower", "case-normal", "case-upper", "category", "chart", "chart-bar", "chart-bar-square", "chart-line", "chat", "chat-bubble-left-right", "chat-bubble-oval-left-ellipsis", "check", "check-circle", "checkbox", "chevron", "chevron-double", "chevron-double-left", "chevron-double-right", "chevron-down", "chevron-left", "chevron-right", "chevron-up", "chevron-up-down", "circle-stack", "clear-marks", "clipboard", "clipboard-check", "clipboard-document-list", "clipboard-list", "clock", "close", "close-circle", "cloud", "cloud-alert", "cloud-arrow-up", "cloud-check", "cloud-download", "cloud-pause", "cloud-slash", "code", "code-bracket", "collapse", "collapse-all", "column-gap", "column-widths", "columns", "company", "compose", "contrast", "cookie", "copied", "copy", "copy-style", "copy-to-page", "corner", "count-up", "crop", "crop-bottom", "crop-left", "crop-left-right", "crop-right", "crop-top", "crop-y", "cube-transparent", "cursor", "cursor-arrow-rays", "cursor-click", "dashboard", "date", "desktop", "detach", "diagram", "direction", "direction-down", "direction-left", "direction-right", "direction-up", "document", "document-check", "document-magnifying-glass", "dollar", "dot", "download", "drag", "drop", "duplicate", "duration", "edit", "email", "emphasis", "eraser", "error", "expand", "external", "eye", "eye-off", "face-smile", "filter", "finish", "fire", "flag", "flag-au", "flag-ca", "flag-eu", "flag-gb", "flag-nz", "flag-us", "folder", "folder-open", "folder-plus", "forward", "full-width", "gap", "gem", "gift", "globe", "grid", "ground", "hand", "hand-thumb-up", "hash", "headquarters", "heart", "height", "help", "help-off", "hexagon", "home", "hover", "hover-lift", "hover-next-image", "hover-none", "hover-rotate", "hover-zoom", "icon-after-text", "icon-at-end", "icon-before-text", "identification", "image", "image-off", "images", "inbox", "info", "italic", "key", "layers", "layout", "letter-spacing", "lightbulb", "line-between", "line-dashed", "line-dotted", "line-solid", "line-spacing", "line-style", "link", "link-slash", "list", "list-format", "list-none", "location", "lock", "logo", "logout", "loop", "map", "media", "media-layout-big-two", "media-layout-inset", "media-layout-side-by-side", "media-layout-stacked", "megaphone", "menu", "meta", "microphone", "money", "moon", "more", "more-vertical", "move-down", "move-up", "newspaper", "no-symbol", "note", "nudge", "nudge-x", "nudge-y", "numbered-list", "opacity", "own-text", "package", "package-open", "padding-all", "padding-bottom", "padding-left", "padding-left-right", "padding-right", "padding-top", "padding-x", "padding-y", "page", "paint-brush", "palette", "panel-left", "panel-right", "paragraph-spacing", "parcel", "paste", "paste-style", "pause", "pen", "people", "percent", "phone", "phone-hidden", "placement", "play", "plus-minus", "power", "presentation-chart-bar", "print", "product", "product-field", "product-size", "progress", "quote", "radio-dot", "radius", "receipt", "receipt-percent", "receipt-refund", "rectangle-group", "redo", "refresh", "remove", "remove-circle", "rename", "reply", "reply-all", "revert", "robot", "rotate", "scale", "scroll-point", "scroll-text", "search", "select-all", "send", "server", "settings", "shadow", "shape-ellipse", "shape-rect", "share", "shared", "shield-check", "shield-exclamation", "sides-each", "signal", "signal-slash", "sitemap", "slide-arrows-bare", "slide-arrows-round", "slide-arrows-square", "slide-picker-bar", "slide-picker-cards", "slide-picker-dots", "slide-picker-numbers", "slide-picker-squares", "sort", "sparkles", "speaker", "speaker-wave", "spec-table", "spinner", "split", "square", "star", "state", "status-circle", "status-dot", "sticky", "stop-circle", "store", "strike", "styles", "subscript", "success-burst", "sun", "superscript", "swap", "swatch", "table", "tablet", "tabs", "tag", "target", "team", "telephone", "template", "text-color", "text-lines", "text-size", "text-small", "text-value", "texture", "theme", "ticket", "title", "trash", "trigger", "truck", "tv", "type", "tyre", "underline", "undo", "upload", "v-align", "verified", "video-off", "view-columns", "wallet", "warning", "weight", "wheel", "widgets", "width", "window", "windows", "words-from", "wrap", "wrench", "wrench-screwdriver", "zoom-in"];
|
|
9
|
+
type IconName = (typeof ICON_NAMES)[number];
|
|
10
|
+
/** Whether `value` is a meaning the set draws. */
|
|
11
|
+
declare const isIconName: (value: unknown) => value is IconName;
|
|
12
|
+
/**
|
|
13
|
+
* The brand marks among them (./brands.json): vendor logos, filled in one
|
|
14
|
+
* colour, sized by area (`brandBox`), and never redrawn by a theme's set.
|
|
15
|
+
* The social marks also carry the footer's two looks, `outline` and
|
|
16
|
+
* `solid`, drawn square at `size`.
|
|
17
|
+
*/
|
|
18
|
+
declare const BRAND_ICON_NAMES: readonly ["brand-1password", "brand-adyen", "brand-afterpay", "brand-aircall", "brand-alipay", "brand-amd", "brand-americanexpress", "brand-anthropic", "brand-apple", "brand-applepay", "brand-aws", "brand-bigcommerce", "brand-brevo", "brand-calendly", "brand-campaignmonitor", "brand-cloudflare", "brand-dell", "brand-dhl", "brand-dinersclub", "brand-dropbox", "brand-ebay", "brand-etsy", "brand-facebook", "brand-fedex", "brand-github", "brand-gmail", "brand-googleads", "brand-googleanalytics", "brand-googlecalendar", "brand-googledrive", "brand-googlepay", "brand-googlesheets", "brand-hubspot", "brand-instagram", "brand-intel", "brand-intercom", "brand-jcb", "brand-klarna", "brand-line", "brand-linkedin", "brand-mailchimp", "brand-mailgun", "brand-make", "brand-mastercard", "brand-messenger", "brand-meta", "brand-myob", "brand-notion", "brand-nvidia", "brand-paypal", "brand-pinterest", "brand-quickbooks", "brand-sage", "brand-samsung", "brand-shopify", "brand-square", "brand-squarespace", "brand-stripe", "brand-telegram", "brand-tiktok", "brand-trello", "brand-ups", "brand-visa", "brand-vonage", "brand-wechat", "brand-whatsapp", "brand-wise", "brand-wix", "brand-woocommerce", "brand-x", "brand-xero", "brand-youtube", "brand-zapier", "brand-zendesk", "brand-zoom"];
|
|
19
|
+
type BrandIconName = (typeof BRAND_ICON_NAMES)[number];
|
|
20
|
+
/** Whether `value` is a brand mark. */
|
|
21
|
+
declare const isBrandIconName: (value: unknown) => value is BrandIconName;
|
|
22
|
+
|
|
23
|
+
export { BRAND_ICON_NAMES as B, ICON_NAMES as I, type BrandIconName as a, type IconName as b, isIconName as c, isBrandIconName as i };
|
package/dist/page-tabs/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import{TabStrip as e}from"../chunk-ZZOBG6GP.js";import{useShellLanguage as t}from"../chunk-UPQW4GCT.js";import"../chunk-RBQWIHYD.js";import{confirm as n}from"../chunk-
|
|
3
|
-
return b(j.Provider,{value:ce,children:e})}var
|
|
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(K.Provider,{value:f,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-ZZOBG6GP.js";import{useShellLanguage as t}from"../chunk-UPQW4GCT.js";import"../chunk-RBQWIHYD.js";import{confirm as n}from"../chunk-GBCH3UHD.js";import"../chunk-KZMJE24J.js";import"../chunk-QHOBK35Y.js";import"../chunk-3DVNXNTF.js";import"../chunk-S2P74CBN.js";import"../chunk-VWGWZY7A.js";import"../chunk-7QSDPSXP.js";import"../chunk-CDAJKLGL.js";import"../chunk-37U326EL.js";import"../chunk-URHGHXDN.js";import"../chunk-5QFPTDQF.js";import"../chunk-UQYNPYF4.js";import"../chunk-KKSVRIMP.js";import"../chunk-J75ZT2JQ.js";import"../chunk-6XBWM453.js";import"../chunk-PGN5ME7B.js";import"../chunk-62LW225J.js";import"../chunk-GLUJS42B.js";import{useBrowserLayoutEffect as r}from"../chunk-D65T4H6J.js";import"../chunk-F27JJHNJ.js";import"../chunk-TWVUQUUD.js";import{useShellStrings as i}from"../chunk-4PAWQEXM.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 f,useContext as k}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),K=s(null),F=12;var N=(e,t)=>e.filter(e=>e!==t);function T(e,t){return[...t.map(t=>e.find(e=>e.key===t)).filter(e=>Boolean(e)),...e.filter(e=>!t.includes(e.key))]}function M(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=C(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=C(n,e[0].key)}return n}(c,n)}function A(e){let t={...e,activeKey:null};return t.closing&&(t=C(t,t.closing)),t}function C(e,t){return{...e,tabs:e.tabs.filter(e=>e.key!==t),mounted:N(e.mounted,t),dirty:N(e.dirty,t),activeKey:e.activeKey===t?null:e.activeKey,closing:e.closing===t?null:e.closing}}function I(e,t){switch(t.type){case"visit":return M(e,t.entry,t.maxTabs);case"transient":return A(e);case"close":{let n=e;for(const e of t.keys)n=C(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]:N(e.dirty,t)}}(e,t.key,t.dirty)}}var w=e=>`${e.pathname}${e.search}`;function D(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 J({children:e,resolve:c,pinned:s=[],storageKey:l,maxTabs:k=12,enabled:v=!0,confirmDiscard:g}){const K=m(),F=h(),N=i().pageTabs,C=y(),J=a(c);J.current=c;const L=d(e=>{const t=J.current(e);return t?{key:t.key??e.pathname,path:w(e),title:t.title}:null},[]),{language:B}=t(),[P,O]=p(I,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=>L(D(e)),B);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:T(r,n)}}({tabs:[],activeKey:null,mounted:[],dirty:[],closing:null,clock:0,tabs:e},s.map(e=>L(D(e))).filter(e=>Boolean(e)));const n=v?L(K):null;return t=n?M(t,n,k):A(t),t}),Q=a(P);Q.current=P;const S=a(/* @__PURE__ */new Map),x=v?L(K):null,W=x?.key??null;r(()=>{if(!v)return;const e=L(K);e?(S.current.set(e.key,K),O({type:"visit",entry:e,maxTabs:k})):O({type:"transient"})},[K,v,k,L]),o(()=>{const e=new Set(P.tabs.map(e=>e.key));for(const t of S.current.keys())e.has(t)||S.current.delete(t)},[P.tabs]);const E=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)}(P,B),[P,B]);o(()=>{if(l)try{localStorage.setItem(l,E)}catch{}},[E,l]);const G=P.dirty.length>0;o(()=>{if(!G)return;const e=e=>{e.preventDefault(),e.returnValue=""};return window.addEventListener("beforeunload",e),()=>window.removeEventListener("beforeunload",e)},[G]);const H=a(/* @__PURE__ */new Map),U=d((e,t)=>{let n=H.current.get(e);return void 0===n&&(n=H.current.size,H.current.set(e,n)),`${C}-page-${t}-${n}`},[C]),R=d(e=>g?g(e):n({title:N.discardTitle,message:1===e.length?N.discardOne:N.discardCount?.(e.length)??`${e.length} ${N.discardMany}`,confirmLabel:N.discardConfirm,cancelLabel:N.keepEditing,variant:"warning"}),[g,N]),$=d(()=>{const e=Q.current;return e.tabs.find(e=>e.pinned)?.path??"/"},[]),V=d((e,t,n)=>{const r=Q.current,i=r.activeKey;if(!i||!e.includes(i))return void O({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??$()}O({type:"close",keys:e.filter(e=>e!==i),closing:i}),F(c)},[F,$]),X=d(async(e,t={})=>{const n=Q.current.tabs.find(t=>t.key===e);return!n||n.pinned?(t.to&&F(t.to),!1):!(!t.force&&Q.current.dirty.includes(e)&&!await R([n]))&&(!!Q.current.tabs.some(t=>t.key===e)&&(V([e],t.to),!0))},[R,V,F]),Y=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)}(Q.current,e,t);const r=Q.current.tabs.filter(e=>n.includes(e.key)&&Q.current.dirty.includes(e.key));r.length&&!await R(r)&&(n=n.filter(e=>!r.some(t=>t.key===e)));const i=new Set(Q.current.tabs.map(e=>e.key));n=n.filter(e=>i.has(e)),n.length&&V(n,void 0,"all"===e?null:t)},[R,V]),Z=d(e=>{const t=Q.current.tabs.find(t=>t.key===e);t&&e!==Q.current.activeKey&&F(t.path)},[F]),z=d((e,t)=>O({type:"title",key:e,title:t}),[]),q=d((e,t)=>O({type:"dirty",key:e,dirty:t}),[]),[_,ee]=f({}),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=>L(e)?.key??null,[L]),re=d(e=>S.current.get(e),[]),ie=u(()=>v?P.tabs.filter(e=>e.key!==P.closing):[],[v,P.tabs,P.closing]),ce=u(()=>({enabled:v,state:P,currentKey:W,resolve:c,keyFor:ne,locationFor:re,idFor:U,activate:Z,close:X,closeMany:Y,setTitle:z,setDirty:q,copies:_,setCopy:te,visibleTabs:ie}),[v,P,W,c,ne,re,U,Z,X,Y,z,q,_,te,ie]);/* @__PURE__ */
|
|
3
|
+
return b(j.Provider,{value:ce,children:e})}var L=c.Activity,B=Boolean(L);function P({active:e,children:t}){return L?/* @__PURE__ */b(L,{mode:e?"visible":"hidden",children:t}):/* @__PURE__ */b(v,{children:t})}var O=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 f=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(K.Provider,{value:f,children:/* @__PURE__ */b(P,{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)),Q="\0transient";function S({children:e,frameClassName:t}){const n=k(j),r=m();if(!n||!n.enabled)/* @__PURE__ */
|
|
5
|
+
return b("div",{className:t,children:e(r)},Q);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(O,{tabKey:n,active:i,location:a,render:e,className:t,panelId:l(n,"panel"),tabId:l(n,"tab")},n):null}),!c&&/* @__PURE__ */b(O,{tabKey:Q,active:!0,location:r,render:e,className:t},Q)]})}function x({className:t,activeClassName:n,end:r}){const c=k(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(D(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 W={enabled:!1,tabs:[],activeKey:null,activate:()=>{},close:async()=>!1,closeOthers:async()=>{},closeRight:async()=>{},closeAll:async()=>{}};function E(){const e=k(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)}:W}function G(){const e=k(j),t=k(K),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 H(e){const t=k(j),n=k(K),r=t?.enabled?t.setTitle:void 0,i=n?.key;o(()=>{r&&i&&e&&r(i,e)},[r,i,e])}function U(e){const t=k(j),n=k(K),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 R(e){const t=k(j),n=k(K),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{F as DEFAULT_MAX_TABS,B as PAGE_TABS_PAUSE_HIDDEN,x as PageTabBar,S as PageTabsOutlet,J as PageTabsProvider,D as parseTabPath,G as usePageTab,U as usePageTabCopy,R as usePageTabDirty,H as usePageTabTitle,E as usePageTabs};
|
|
@@ -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-GBCH3UHD.js";import"../chunk-KZMJE24J.js";import"../chunk-3DVNXNTF.js";import"../chunk-S2P74CBN.js";import"../chunk-VWGWZY7A.js";import"../chunk-7QSDPSXP.js";import"../chunk-CDAJKLGL.js";import"../chunk-UQYNPYF4.js";import"../chunk-KKSVRIMP.js";import"../chunk-J75ZT2JQ.js";import"../chunk-PGN5ME7B.js";import"../chunk-62LW225J.js";import"../chunk-D65T4H6J.js";import"../chunk-TWVUQUUD.js";import"../chunk-4PAWQEXM.js";import"../chunk-C3QOHMR6.js";
|
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-KZMJE24J.js";import"../chunk-3DVNXNTF.js";import"../chunk-S2P74CBN.js";import"../chunk-VWGWZY7A.js";import"../chunk-7QSDPSXP.js";import"../chunk-CDAJKLGL.js";import"../chunk-KKSVRIMP.js";import"../chunk-J75ZT2JQ.js";import"../chunk-PGN5ME7B.js";import"../chunk-62LW225J.js";import"../chunk-D65T4H6J.js";import"../chunk-TWVUQUUD.js";import"../chunk-4PAWQEXM.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-3BYLHJLC.js";import"../chunk-3DVNXNTF.js";import"../chunk-S2P74CBN.js";import"../chunk-VWGWZY7A.js";import"../chunk-7QSDPSXP.js";import"../chunk-CDAJKLGL.js";import"../chunk-KKSVRIMP.js";import"../chunk-J75ZT2JQ.js";import"../chunk-PGN5ME7B.js";import"../chunk-62LW225J.js";import"../chunk-D65T4H6J.js";import"../chunk-TWVUQUUD.js";import"../chunk-4PAWQEXM.js";import"../chunk-C3QOHMR6.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
export{GlobalSearch as default,openGlobalSearch}from"../chunk-
|
|
2
|
+
export{GlobalSearch as default,openGlobalSearch}from"../chunk-ISJPW2FZ.js";import"../chunk-WGRS6QBT.js";import"../chunk-5A7MWTXX.js";import"../chunk-7QSDPSXP.js";import"../chunk-R2VKEMZH.js";import"../chunk-MRJKZWWV.js";import"../chunk-PGN5ME7B.js";import"../chunk-62LW225J.js";import"../chunk-D65T4H6J.js";import"../chunk-F27JJHNJ.js";import"../chunk-4PAWQEXM.js";import"../chunk-C3QOHMR6.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
export{ImageLightbox as default,lightboxKind}from"../chunk-
|
|
2
|
+
export{ImageLightbox as default,lightboxKind}from"../chunk-L3QNKCXH.js";import"../chunk-CGUMJZUB.js";import"../chunk-67JCJ2MG.js";import"../chunk-UYRITNQW.js";import"../chunk-VWGWZY7A.js";import"../chunk-7QSDPSXP.js";import"../chunk-CDAJKLGL.js";import"../chunk-TXDA7TTP.js";import"../chunk-I4VIEGCX.js";import"../chunk-UQYNPYF4.js";import"../chunk-34URULVW.js";import"../chunk-KKSVRIMP.js";import"../chunk-J75ZT2JQ.js";import"../chunk-R2VKEMZH.js";import"../chunk-MRJKZWWV.js";import"../chunk-MVZRZTQP.js";import"../chunk-6XBWM453.js";import"../chunk-PGN5ME7B.js";import"../chunk-62LW225J.js";import"../chunk-GLUJS42B.js";import"../chunk-D65T4H6J.js";import"../chunk-F27JJHNJ.js";import"../chunk-TWVUQUUD.js";import"../chunk-4PAWQEXM.js";import"../chunk-C3QOHMR6.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
export{LanguagePanel,LanguageSelect,languageSelectWidth}from"../chunk-
|
|
2
|
+
export{LanguagePanel,LanguageSelect,languageSelectWidth}from"../chunk-VZ4PBHFN.js";import"../chunk-UPQW4GCT.js";import"../chunk-3GL4OVBB.js";import"../chunk-VQCKMT5F.js";import"../chunk-64ACCUNN.js";import"../chunk-32VV2J22.js";import"../chunk-NI5FXWK5.js";import"../chunk-UWK5Q3R4.js";import"../chunk-EO5RLFRX.js";import"../chunk-QODTON7V.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-KKSVRIMP.js";import"../chunk-J75ZT2JQ.js";import"../chunk-PGN5ME7B.js";import"../chunk-62LW225J.js";import"../chunk-GLUJS42B.js";import"../chunk-D65T4H6J.js";import"../chunk-F27JJHNJ.js";import"../chunk-TWVUQUUD.js";import"../chunk-4PAWQEXM.js";import"../chunk-C3QOHMR6.js";
|
package/dist/shell/Markdown.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import { ReactNode } from 'react';
|
|
3
|
-
import { b as IconName } from '../names-
|
|
3
|
+
import { b as IconName } from '../names-CwzeaUf6.js';
|
|
4
4
|
|
|
5
5
|
/** A host's say over a link's plain click: `true` when it opened the link
|
|
6
6
|
* itself (a record in a window), so the browser does not navigate. */
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
export{MilestoneTimeline as default}from"../chunk-
|
|
2
|
+
export{MilestoneTimeline as default}from"../chunk-COJYPNKF.js";import"../chunk-S4Z657L6.js";import"../chunk-CKKUFDZ3.js";import"../chunk-7TC3LJQM.js";import"../chunk-Y3JW2GW5.js";import"../chunk-36BRD5J3.js";import"../chunk-LF27WIN2.js";import"../chunk-465RRWBY.js";import"../chunk-GLUJS42B.js";import"../chunk-D65T4H6J.js";import"../chunk-TWVUQUUD.js";import"../chunk-4PAWQEXM.js";import"../chunk-C3QOHMR6.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
export{POST_PRODUCTION_STATUSES,STAGES,calcOverall,calcReportOverall,ProductionTimeline as default,useProductionTimeline}from"../chunk-
|
|
2
|
+
export{POST_PRODUCTION_STATUSES,STAGES,calcOverall,calcReportOverall,ProductionTimeline as default,useProductionTimeline}from"../chunk-AGG4RFXR.js";import"../chunk-S4Z657L6.js";import"../chunk-CKKUFDZ3.js";import"../chunk-7TC3LJQM.js";import"../chunk-Y3JW2GW5.js";import"../chunk-36BRD5J3.js";import"../chunk-LF27WIN2.js";import"../chunk-465RRWBY.js";import"../chunk-KKSVRIMP.js";import"../chunk-J75ZT2JQ.js";import"../chunk-GLUJS42B.js";import"../chunk-D65T4H6J.js";import"../chunk-TWVUQUUD.js";import"../chunk-4PAWQEXM.js";import"../chunk-C3QOHMR6.js";
|
package/dist/shell/TimeAgo.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{TimeAgo as default}from"../chunk-
|
|
1
|
+
export{TimeAgo as default}from"../chunk-OOLPDASG.js";import"../chunk-HNQPF5QZ.js";import"../chunk-GEYM4WN3.js";import"../chunk-Y3JW2GW5.js";import"../chunk-36BRD5J3.js";import"../chunk-LF27WIN2.js";import"../chunk-4PAWQEXM.js";import"../chunk-C3QOHMR6.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
export{TimelineTrack as default}from"../chunk-
|
|
2
|
+
export{TimelineTrack as default}from"../chunk-CKKUFDZ3.js";import"../chunk-7TC3LJQM.js";import"../chunk-Y3JW2GW5.js";import"../chunk-36BRD5J3.js";import"../chunk-LF27WIN2.js";import"../chunk-465RRWBY.js";import"../chunk-GLUJS42B.js";import"../chunk-D65T4H6J.js";import"../chunk-TWVUQUUD.js";import"../chunk-4PAWQEXM.js";import"../chunk-C3QOHMR6.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
export{useDiscardGuard}from"../chunk-
|
|
2
|
+
export{useDiscardGuard}from"../chunk-S2P74CBN.js";import"../chunk-4PAWQEXM.js";import"../chunk-C3QOHMR6.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{DAY_MS,fmtSliderDate,toDayMs}from"../chunk-
|
|
1
|
+
export{DAY_MS,fmtSliderDate,toDayMs}from"../chunk-7TC3LJQM.js";import"../chunk-Y3JW2GW5.js";import"../chunk-36BRD5J3.js";import"../chunk-LF27WIN2.js";
|
package/dist/telemetry/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{startClientTelemetry}from"../chunk-
|
|
1
|
+
export{startClientTelemetry}from"../chunk-F2MWLDN2.js";import"../chunk-KNUR2UEG.js";import"../chunk-STAVWXWV.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
export{CheckoutTemplate as default}from"../chunk-
|
|
2
|
+
export{CheckoutTemplate as default}from"../chunk-M3OYHYIS.js";import"../chunk-TOVKWNI2.js";import"../chunk-UWK5Q3R4.js";import"../chunk-EO5RLFRX.js";import"../chunk-QODTON7V.js";import"../chunk-2NMW66P5.js";import"../chunk-6KBDNYRW.js";import"../chunk-CGZBDI6C.js";import"../chunk-GSKLHUQ6.js";import"../chunk-MAMWQCJ6.js";import"../chunk-AYZY3YNC.js";import"../chunk-UGTRSRIW.js";import"../chunk-URHGHXDN.js";import"../chunk-I4VIEGCX.js";import"../chunk-UQYNPYF4.js";import"../chunk-34URULVW.js";import"../chunk-KKSVRIMP.js";import"../chunk-J75ZT2JQ.js";import"../chunk-R2VKEMZH.js";import"../chunk-MRJKZWWV.js";import"../chunk-6XBWM453.js";import"../chunk-PGN5ME7B.js";import"../chunk-62LW225J.js";import"../chunk-GLUJS42B.js";import"../chunk-D65T4H6J.js";import"../chunk-F27JJHNJ.js";import"../chunk-TWVUQUUD.js";import"../chunk-4PAWQEXM.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-JBOMPD3V.js";import"../chunk-TOVKWNI2.js";import"../chunk-UWK5Q3R4.js";import"../chunk-EO5RLFRX.js";import"../chunk-QODTON7V.js";import"../chunk-2NMW66P5.js";import"../chunk-ULAGXDOL.js";import"../chunk-MAMWQCJ6.js";import"../chunk-AYZY3YNC.js";import"../chunk-UGTRSRIW.js";import"../chunk-URHGHXDN.js";import"../chunk-TXDA7TTP.js";import"../chunk-I4VIEGCX.js";import"../chunk-UQYNPYF4.js";import"../chunk-34URULVW.js";import"../chunk-KKSVRIMP.js";import"../chunk-J75ZT2JQ.js";import"../chunk-R2VKEMZH.js";import"../chunk-MRJKZWWV.js";import"../chunk-MVZRZTQP.js";import"../chunk-6XBWM453.js";import"../chunk-PGN5ME7B.js";import"../chunk-62LW225J.js";import"../chunk-GLUJS42B.js";import"../chunk-D65T4H6J.js";import"../chunk-F27JJHNJ.js";import"../chunk-TWVUQUUD.js";import"../chunk-4PAWQEXM.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-KZX25YEW.js";import"../chunk-TOVKWNI2.js";import"../chunk-NI5FXWK5.js";import"../chunk-UWK5Q3R4.js";import"../chunk-EO5RLFRX.js";import"../chunk-QODTON7V.js";import"../chunk-2NMW66P5.js";import"../chunk-6KBDNYRW.js";import"../chunk-CGZBDI6C.js";import"../chunk-PB7G6CJ7.js";import"../chunk-MAMWQCJ6.js";import"../chunk-AYZY3YNC.js";import"../chunk-UGTRSRIW.js";import"../chunk-URHGHXDN.js";import"../chunk-I4VIEGCX.js";import"../chunk-UQYNPYF4.js";import"../chunk-34URULVW.js";import"../chunk-KKSVRIMP.js";import"../chunk-J75ZT2JQ.js";import"../chunk-R2VKEMZH.js";import"../chunk-MRJKZWWV.js";import"../chunk-6XBWM453.js";import"../chunk-PGN5ME7B.js";import"../chunk-62LW225J.js";import"../chunk-GLUJS42B.js";import"../chunk-D65T4H6J.js";import"../chunk-F27JJHNJ.js";import"../chunk-TWVUQUUD.js";import"../chunk-4PAWQEXM.js";import"../chunk-C3QOHMR6.js";
|
package/dist/ui/index.d.ts
CHANGED
|
@@ -27,7 +27,8 @@ export { MediaMoveItemsOptions, MediaMoveTarget, mediaMoveItems, mediaMoveSubmen
|
|
|
27
27
|
export { MEDIA_FILES_DRAG_TYPE, MEDIA_FILE_DRAG_TYPE, MEDIA_FOLDER_DRAG_TYPE, default as MediaLibrary, MediaLibraryDragFile, MediaLibraryDragOut, MediaLibraryExtraFilter, MediaLibraryFile, MediaLibraryFilters, MediaLibraryFolder, MediaLibraryLocation, MediaLibraryProductNode, MediaLibraryProps, readMediaFileDrag } from '../forms/MediaLibrary.js';
|
|
28
28
|
export { MediaLibraryAction, MediaLibraryMenuContext, MediaLibraryMoving, MediaLibraryTarget, mediaLibraryMenu } from '../forms/mediaLibraryMenu.js';
|
|
29
29
|
export { default as DateRangePicker, DateRangePickerProps, toISODate } from '../forms/DateRangePicker.js';
|
|
30
|
-
export { default as Calendar, CalendarMode, CalendarProps
|
|
30
|
+
export { default as Calendar, CalendarMode, CalendarProps } from '../forms/Calendar.js';
|
|
31
|
+
export { fromDateKey, toDateKey } from '../utils/dateKey.js';
|
|
31
32
|
export { default as TimePicker, TimePickerProps } from '../forms/TimePicker.js';
|
|
32
33
|
export { default as DatePicker, DatePickerProps } from '../forms/DatePicker.js';
|
|
33
34
|
export { default as DateTimePicker, DateTimePickerProps } from '../forms/DateTimePicker.js';
|
|
@@ -155,7 +156,7 @@ export { default as AuthScreen, AuthScreenProps } from '../templates/AuthScreen.
|
|
|
155
156
|
export { default as ErrorBoundary, ErrorBoundaryProps } from '../templates/ErrorBoundary.js';
|
|
156
157
|
export { default as ErrorPage, ErrorPageProps } from '../templates/ErrorPage.js';
|
|
157
158
|
export { BRAND_MAX_HEIGHT, BRAND_MIN_HEIGHT_PX, BrandBox, ICON_SET_FOR_THEME, Icon, IconProps, IconTone, THEME_ICON_SETS, ThemeIconSet, brandBox, iconSetFor, loadIconSet } from '../icons/index.js';
|
|
158
|
-
export { B as BRAND_ICON_NAMES, a as BrandIconName, I as ICON_NAMES, b as IconName, i as isBrandIconName, c as isIconName } from '../names-
|
|
159
|
+
export { B as BRAND_ICON_NAMES, a as BrandIconName, I as ICON_NAMES, b as IconName, i as isBrandIconName, c as isIconName } from '../names-CwzeaUf6.js';
|
|
159
160
|
export { I as IconDrawing, a as IconSet, b as activeIconSet, i as iconSets, c as iconsVersion, r as registerIconSet, d as registerIcons, e as resolveIcon, s as setDefaultIconSet, f as setIconSet, g as subscribeIcons } from '../registry-5Oj4TUjn.js';
|
|
160
161
|
export { CORNERS, CORNERS_FOR_THEME, Corners, Theme, applyCorners, applyIconSet, applyThemePrefs, cornersFor, resolveCorners, resolveTheme, useTheme } from '../hooks/useTheme.js';
|
|
161
162
|
export { ShellPrefsAdapter, ShellPrefsProvider, useLocalStoragePrefs, useShellPrefs } from '../shell/ShellPrefs.js';
|
package/dist/ui/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import"../chunk-DSIDJYH7.js";export{ELEVATION_LEVELS,RADIUS_ROLES}from"../chunk-4MVRSCQE.js";export{BORDER_WIDTHS,FONT_WEIGHTS,MOTION_DURATIONS,TYPE_SCALE}from"../chunk-LH7IKIGE.js";export{DashboardTemplate}from"../chunk-UDRMZ22J.js";export{DataTablePage}from"../chunk-DLNIRZNR.js";export{EmailTemplate}from"../chunk-FFIQPFUR.js";export{ErrorBoundary}from"../chunk-CPZ42W2B.js";export{ErrorPage}from"../chunk-7SMV6G4Z.js";export{FormLayoutPage}from"../chunk-XKDBYJHF.js";export{GalleryTemplate}from"../chunk-WINNA7LS.js";export{ACCENT_ROLES,COLOUR_ROLES,FLAT_STATUS_ROLES,IDENTITY_ROLES,NEUTRAL_ROLES,SCRIM_ROLES,STATUS_GROUPS,STATUS_ROLES}from"../chunk-VVJIKS47.js";export{useTransferProgress}from"../chunk-QHOEMRR7.js";export{AuthScreen}from"../chunk-7X5FABQS.js";export{ChatTemplate}from"../chunk-YJLLLO5R.js";export{CheckoutTemplate}from"../chunk-O45WQK57.js";export{TopNav}from"../chunk-2K2W6VIR.js";export{Statistic}from"../chunk-GGK27H67.js";export{Stepper}from"../chunk-XNKIDGZW.js";export{Tabs,tabButtonId,tabPanelId}from"../chunk-3NW5LD7D.js";export{Paragraph,Text,Title}from"../chunk-5KUE6IHF.js";export{TimeAgo}from"../chunk-WN5HHHLO.js";export{SidebarActionButton}from"../chunk-KMTCYDJH.js";export{SidebarLayout}from"../chunk-A4HJDSRA.js";export{SidebarGroupLabel,SidebarNavGroup,SidebarNavItem,SidebarSection}from"../chunk-SOECV4V5.js";import"../chunk-QWK6DRSN.js";export{Skeleton}from"../chunk-4Z62SEA5.js";export{ListRow,SortableList}from"../chunk-ZNAVCHBV.js";export{Grid,Inline,Stack}from"../chunk-3RPER7VH.js";export{POST_PRODUCTION_STATUSES,ProductionTimeline,STAGES,calcOverall,calcReportOverall,useProductionTimeline}from"../chunk-ZUS7FXKE.js";export{ResizeHandle}from"../chunk-DRDYZ633.js";export{SettingReset}from"../chunk-SO6X4CII.js";export{SettingRow}from"../chunk-ULXCDM7Y.js";export{LanguagePanel,LanguageSelect,languageSelectWidth}from"../chunk-PXDDCD5X.js";export{MetricBar}from"../chunk-IOJNSX4N.js";export{isSeverityTone,severityOf}from"../chunk-TZFNWAED.js";export{MetricBarLegend}from"../chunk-KJ4CBZEQ.js";import"../chunk-URBCGEXG.js";export{MilestoneTimeline}from"../chunk-AM2F5ZXH.js";import"../chunk-S4Z657L6.js";export{TimelineTrack}from"../chunk-3CPB3WP2.js";export{DAY_MS,fmtSliderDate,toDayMs}from"../chunk-YDEIXM2A.js";export{PageHeader}from"../chunk-OZBM2XFQ.js";export{EmptyValue}from"../chunk-HNQPF5QZ.js";export{FloatingBar}from"../chunk-N67QX3WW.js";export{GlobalSearch,openGlobalSearch}from"../chunk-IPFWXM2Y.js";export{pushRecent as pushRecentSearch,sanitizeRecent as sanitizeRecentSearches}from"../chunk-WGRS6QBT.js";export{HelpCenter}from"../chunk-LTKXAHS3.js";export{IconRail,IconRailButton}from"../chunk-D7F442OZ.js";import"../chunk-FQEALPZJ.js";export{CountBadge}from"../chunk-LEDUD23S.js";export{EditableGrid}from"../chunk-SDQIXE5M.js";export{Avatar,AvatarGroup}from"../chunk-DKGZPVLL.js";export{BudgetBar,budgetState}from"../chunk-UTWJKSET.js";export{Card,StatCard}from"../chunk-TOVKWNI2.js";export{ContainerFillChart}from"../chunk-ON67HF5K.js";export{ENGLISH,SHELL_LANGUAGE_STORAGE_KEY,ShellLanguageProvider,matchShellLanguage,readSavedShellLanguage,resolveShellLanguage,saveShellLanguage,useShellLanguage}from"../chunk-UPQW4GCT.js";export{Accordion,AccordionBody,AccordionHeading}from"../chunk-H4HB5OET.js";export{APP_UPDATE_POLL_MS,AppUpdateBanner,useAppUpdate}from"../chunk-CAVADOJK.js";export{BRAND_ICON_NAMES,ICON_NAMES,isBrandIconName,isIconName}from"../chunk-TFUIOEBX.js";export{useDebouncedValue}from"../chunk-SLGT5WPJ.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_MAX_HEIGHT,BRAND_MIN_HEIGHT_PX,brandBox}from"../chunk-64ACCUNN.js";export{useClickOutside}from"../chunk-SI26KESU.js";export{WidthsBar}from"../chunk-G5NQOV7L.js";export{COLUMN_COUNT_MAX,COLUMN_COUNT_WIDTHS,COLUMN_SHARES_EQUAL,COLUMN_SHARE_MIN,columnSharesWidths,resolveColumnShares,resolveColumnWidths}from"../chunk-PLGJOHEG.js";export{Snippet}from"../chunk-MXH3UPCH.js";export{SplitButton_default as SplitButton}from"../chunk-WTTSB4SV.js";export{Switch_default as Switch}from"../chunk-M3R4C3A6.js";export{TagInput}from"../chunk-CGQAKGPT.js";export{TextToolbar,textToolbarRows,textToolbarWindowColumns}from"../chunk-UBOP6HFI.js";export{TEXT_ALIGNS,TEXT_ALIGN_FIT,TEXT_ALIGN_ICONS,textAlignFit,textAlignOptions,textAlignWords}from"../chunk-CHBRMAJV.js";export{TileButton_default as TileButton}from"../chunk-H2R4SNNO.js";export{TimePicker_default as TimePicker}from"../chunk-4BYJQU37.js";export{PositionInput}from"../chunk-6PFZK6ED.js";export{RadioGroup}from"../chunk-32VV2J22.js";export{Radio_default as Radio}from"../chunk-NI5FXWK5.js";export{ShowWhen}from"../chunk-YEM4KYCW.js";export{SidesEachToggle,SidesInput,sidesStartEach}from"../chunk-7X3XNVES.js";export{Slider,SliderGroup}from"../chunk-7Z4PTLDL.js";export{LinkPicker,TextLinkField}from"../chunk-5S3YYN7M.js";export{SearchableSelect}from"../chunk-SWN3LSQX.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-GTNJAKFO.js";export{Tree,TreeEmptySlot,TreeGroup,TreeGroupLabel,TreeRow,TreeSeam}from"../chunk-KP2THXEI.js";import"../chunk-I2XGPTCN.js";export{MarqueeBox}from"../chunk-IC72MGON.js";export{EmptyState}from"../chunk-63L5ORRZ.js";export{ImageLightbox,lightboxKind}from"../chunk-QQPIQCT7.js";export{LIGHTBOX_PICTURE_FIT,ZoomableImage}from"../chunk-CGUMJZUB.js";export{DescriptionList}from"../chunk-SACUSHVN.js";export{Drawer}from"../chunk-OTGQYHVC.js";export{Breadcrumbs}from"../chunk-O4V5PEA3.js";export{useGridSelection}from"../chunk-VLKDWKVR.js";export{MARQUEE_IGNORE,marqueeHits,rectsIntersect,useMarquee}from"../chunk-OLFYNMTD.js";export{edgeScrollDelta,getScrollParent,scrollBoundsOf}from"../chunk-LACL4MAR.js";export{mediaLibraryMenu}from"../chunk-7YOQS3C6.js";export{mediaMoveItems,mediaMoveSubmenu,useMediaMoveItems}from"../chunk-ZURB2DCM.js";import"../chunk-MQU3PZUS.js";export{DropdownMenu}from"../chunk-A5BV6NFA.js";export{NativeSelect,Select_default as Select}from"../chunk-N4DI5F74.js";import"../chunk-EO5RLFRX.js";import"../chunk-QODTON7V.js";export{FULL_BADGE_TILE_PX,MediaUploadGrid}from"../chunk-2VTO64YC.js";export{MediaUsedInList}from"../chunk-PBWUEBJ5.js";export{NumericKeypad}from"../chunk-UWIZX3RK.js";export{MAX_FRACTION_DIGITS,appendKey,backspace}from"../chunk-VEPVOHCV.js";export{PictureTiles}from"../chunk-GISDIVFK.js";export{FilePicker_default as FilePicker}from"../chunk-LOFYSLC7.js";export{FormErrorSummary}from"../chunk-QYRMFGES.js";export{IconPicker}from"../chunk-YWDEFPSW.js";export{CornersInput}from"../chunk-YCOYCPAH.js";export{DatePicker_default as DatePicker}from"../chunk-632N62BY.js";export{DateRangePicker,toISODate}from"../chunk-MNXRAZJV.js";export{DateTimePicker_default as DateTimePicker}from"../chunk-XO7URRTM.js";export{DisplayChips}from"../chunk-ORIGX2H5.js";export{slugify}from"../chunk-24AL3CDS.js";export{escapeHtml}from"../chunk-G6DKCCWH.js";export{addShowWhenFacts,isShown,lazyShowWhenContext,showWhenFactReaders,showWhenFactsContext,showWhenOf,shownForOption,truthy,withRowRules,withRowsShownWhen,withShowWhen,withShowWhenFacts}from"../chunk-HCP7WOAL.js";export{AlignmentGrid}from"../chunk-O6JJIR4H.js";export{BORDER_LINE_STYLES,BorderInput,borderSides,borderStartEach}from"../chunk-GNHLVGG5.js";export{ColorPicker,ColorPickerPanel,ColorSwatch,HexInput,colorFill,colorSwatchClasses}from"../chunk-SF654IHN.js";export{Popover}from"../chunk-7JGR7WPD.js";export{InputNumber_default as InputNumber}from"../chunk-QEKOEIOQ.js";export{useSettingAuto,useSettingRowName}from"../chunk-2NMW66P5.js";export{contrastRatio,hexToHsv,hexToRgb,hsvToHex,parseHexColor,readableInk,relativeLuminance}from"../chunk-S6OB6HJB.js";export{BrandAssetEditor}from"../chunk-JRZ7PPVJ.js";export{MediaUploadField}from"../chunk-YGSU5KCP.js";export{FormField}from"../chunk-6KBDNYRW.js";export{ImageFocusPoint}from"../chunk-VKKK4WLS.js";export{FOCAL_DEFAULT,FOCAL_NUDGE_COARSE,FOCAL_NUDGE_STEP,focalFromRect,formatFocal,nudgeFocal,parseFocal}from"../chunk-25RR3GQW.js";export{Segmented}from"../chunk-3ELLBQPS.js";import"../chunk-JDQGHQ2C.js";export{BrandMark,resolveBrandMarkTreatment}from"../chunk-MI67DI3H.js";export{Calendar,fromKey as fromDateKey,toKey as toDateKey}from"../chunk-E5MVH3SH.js";export{DataTable}from"../chunk-W6URVLQF.js";export{Checkbox_default as Checkbox}from"../chunk-CGZBDI6C.js";export{Kanban}from"../chunk-LDE5IV2M.js";export{ListFooter}from"../chunk-EZEYKCI6.js";export{ListLoadError}from"../chunk-3RORPK2J.js";export{Pagination}from"../chunk-ULAGXDOL.js";export{WaterfallChart}from"../chunk-2SY76NFO.js";export{SankeyChart}from"../chunk-TMNAHOJ7.js";export{SCATTER_SERIES_CAP,ScatterChart}from"../chunk-W35N7SL3.js";export{StatTile}from"../chunk-HNBGLF4B.js";export{Sparkline}from"../chunk-CKCDGSTC.js";export{SunburstChart}from"../chunk-RCPFUDPS.js";export{TreemapChart}from"../chunk-JSGQWVYH.js";export{squarify}from"../chunk-46BYGPGD.js";export{HeatmapChart}from"../chunk-PJQGYKN6.js";export{HistogramChart}from"../chunk-ZZVE64OI.js";export{Meter}from"../chunk-AUWTGM65.js";export{PieChart}from"../chunk-LCJRTJXT.js";export{RADAR_SERIES_CAP,RadarChart}from"../chunk-Y3R267FV.js";export{RadialBarChart}from"../chunk-IKNG7EFQ.js";export{RangeChart}from"../chunk-RPYFOQM2.js";export{RankedBars}from"../chunk-KEPJWZJZ.js";export{ChordChart}from"../chunk-PN65IIYN.js";import"../chunk-TKJBZIHT.js";export{FunnelChart}from"../chunk-EU3JZGV2.js";export{StepChain,StepChainItem}from"../chunk-P5YFQ4IQ.js";export{Markdown,Markdown as MarkdownLite,plainCell,tableToCsv}from"../chunk-MBXLROCD.js";export{Divider}from"../chunk-DFOFEBYX.js";export{Textarea_default as Textarea}from"../chunk-PB7G6CJ7.js";import"../chunk-UJUTS6LJ.js";export{isSafeLinkHref}from"../chunk-PJPK2ADX.js";export{ContextMenu,useContextMenu}from"../chunk-W6SC3ZNO.js";export{Banner}from"../chunk-GSKLHUQ6.js";import"../chunk-DDCMMOB4.js";export{Input_default as Input}from"../chunk-MAMWQCJ6.js";export{AttachButton,AttachmentDropZone,AttachmentList,ComposerAttachments,PaperclipGlyph}from"../chunk-EYZZW6SO.js";export{IconButton_default as IconButton}from"../chunk-PUF75SMJ.js";export{INPUT_BASE,INPUT_SIZES,PLACEHOLDER_INK,inputClasses}from"../chunk-AYZY3YNC.js";export{mediaFileName}from"../chunk-67JCJ2MG.js";export{TransferProgress}from"../chunk-UYRITNQW.js";export{FileIntakeAlert,acceptsFile,useFileIntake}from"../chunk-6RX4PVBU.js";export{CHART_SPEC_LIMITS,parseChartSpec}from"../chunk-CR7T435F.js";export{SpecChart}from"../chunk-35DG7Y4M.js";export{currencyDecimals,currencySymbol,formatBytes,formatMoney,setCurrencyFormats,timeAgo}from"../chunk-X2S2XDZI.js";export{DATE_FORMAT_OPTIONS,TZ_AUTO,firstDayOfWeek,formatDate,formatDateTime,formatTime,getUserDateFormat,getUserTimezone,setUserDateFormat,setUserTimezone,syncTimezoneFromProfile}from"../chunk-5OTS2G3M.js";export{EMPTY_VALUE}from"../chunk-36BRD5J3.js";export{TimeSeriesChart}from"../chunk-WMEYNKXZ.js";export{ChartBrush}from"../chunk-INNIWRVU.js";export{ChartDot}from"../chunk-CK2YOGUS.js";export{ChartFrame}from"../chunk-W5CJD54C.js";export{arcPath,areaBetween,areaFrom,bumpPath,curvePath,linearPath,monotonePath,polygonPoints,splinePath,stepPath}from"../chunk-VFC6QUEN.js";export{ColumnChart}from"../chunk-CBEKJTXU.js";export{ChartDefs,MOTION,dashFor,fillFor,fillId,glowId,groundId,maskId,stagger}from"../chunk-465RRWBY.js";export{ChartSkeleton}from"../chunk-M22B3Y5Y.js";export{ChartHighlightProvider,autoHighlightIndex,highlightOpacity,useHighlight}from"../chunk-CNYAHYE6.js";export{CONTROL_HEIGHTS,ROW_HEIGHTS,SPACING_ROLES,SPACING_SCALE,isSpacingStep}from"../chunk-AW7TOB6N.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-URERZUX5.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";import"../chunk-5A7MWTXX.js";export{ConfirmProvider,confirm,confirmDestructive,prompt,useConfirm}from"../chunk-QWWJUYZI.js";export{Dialog}from"../chunk-LNWQBSYD.js";export{ShellPrefsProvider,useLocalStoragePrefs,useShellPrefs}from"../chunk-KC3EX26K.js";export{ItemCount}from"../chunk-QHOBK35Y.js";import"../chunk-3DVNXNTF.js";import"../chunk-OW7MLJ3Y.js";import"../chunk-VWGWZY7A.js";import"../chunk-PKXQDCNR.js";export{UNDOABLE_MS,toast_default as toast}from"../chunk-AKM6JBMD.js";export{useIsMobile}from"../chunk-UGTRSRIW.js";export{ColoredBadge}from"../chunk-PXQG5EIH.js";export{useFocusTrap,useScrollLock}from"../chunk-CDAJKLGL.js";export{VERSION}from"../chunk-YJFB6CCJ.js";export{PopupMenu,PopupMenuDivider,PopupMenuItem,PopupMenuLabel,PopupSubmenu}from"../chunk-37U326EL.js";import"../chunk-URHGHXDN.js";export{MENU_ON_MEDIA_ATTR,leavesContextMenuAlone}from"../chunk-5QFPTDQF.js";export{GROUP_COLORS,GROUP_COLORS_SOLID,StatusBadge,StatusBadgeProvider,groupColors,useStatusLabel}from"../chunk-TXDA7TTP.js";export{Button_default as Button}from"../chunk-I4VIEGCX.js";export{buttonClasses,iconButtonClasses}from"../chunk-UQYNPYF4.js";import"../chunk-34URULVW.js";export{Icon}from"../chunk-KKSVRIMP.js";export{activeIconSet,iconSets,iconsVersion,registerIconSet,registerIcons,resolveIcon,setDefaultIconSet,setIconSet,subscribeIcons}from"../chunk-J75ZT2JQ.js";export{LoadingSpinner,SpinnerRing}from"../chunk-R2VKEMZH.js";import"../chunk-MRJKZWWV.js";import"../chunk-MVZRZTQP.js";export{Tooltip}from"../chunk-6XBWM453.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{PortalBrandingProvider,resolvePortalBrandAsset,usePortalBranding}from"../chunk-ACYYVK6G.js";export{BoxPlotChart}from"../chunk-AJO72CPB.js";export{CandlestickChart}from"../chunk-VTFZ6W2D.js";export{ChartTooltip}from"../chunk-G4GVLK44.js";export{GLASS_DIVIDER,glassStyle,solidSurfaceStyle}from"../chunk-F27JJHNJ.js";export{CartesianPlot}from"../chunk-2JG5JU4M.js";import"../chunk-QP4UPCXQ.js";export{angleScale,bandScale,binValues,ladderScale,linearScale,logScale,niceAxis,niceMax,radiusScale}from"../chunk-2JWPNR2U.js";export{usePlotWidth}from"../chunk-MAFUXCPZ.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{DEFAULT_SHELL_STRINGS,ShellStringsProvider,useShellLocale,useShellStrings}from"../chunk-4PAWQEXM.js";import"../chunk-C3QOHMR6.js";
|
|
2
|
+
import"../chunk-NOKZ54GD.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{BORDER_WIDTHS,FONT_WEIGHTS,MOTION_DURATIONS,TYPE_SCALE}from"../chunk-LH7IKIGE.js";export{CheckoutTemplate}from"../chunk-M3OYHYIS.js";export{DashboardTemplate}from"../chunk-UDRMZ22J.js";export{DataTablePage}from"../chunk-JBOMPD3V.js";export{EmailTemplate}from"../chunk-FFIQPFUR.js";export{ErrorBoundary}from"../chunk-CPZ42W2B.js";export{ErrorPage}from"../chunk-7SMV6G4Z.js";export{FormLayoutPage}from"../chunk-KZX25YEW.js";export{GalleryTemplate}from"../chunk-WINNA7LS.js";export{useTransferProgress}from"../chunk-QHOEMRR7.js";export{AuthScreen}from"../chunk-7X5FABQS.js";export{ChatTemplate}from"../chunk-YJLLLO5R.js";export{TopNav}from"../chunk-2K2W6VIR.js";export{Grid,Inline,Stack}from"../chunk-3RPER7VH.js";export{Statistic}from"../chunk-GGK27H67.js";export{Stepper}from"../chunk-XNKIDGZW.js";export{Tabs,tabButtonId,tabPanelId}from"../chunk-3NW5LD7D.js";export{Paragraph,Text,Title}from"../chunk-5KUE6IHF.js";export{TimeAgo}from"../chunk-OOLPDASG.js";export{SettingRow}from"../chunk-ULXCDM7Y.js";export{SidebarActionButton}from"../chunk-KMTCYDJH.js";export{SidebarLayout}from"../chunk-A4HJDSRA.js";export{SidebarGroupLabel,SidebarNavGroup,SidebarNavItem,SidebarSection}from"../chunk-SOECV4V5.js";import"../chunk-QWK6DRSN.js";export{Skeleton}from"../chunk-4Z62SEA5.js";export{ListRow,SortableList}from"../chunk-ZNAVCHBV.js";export{PageHeader}from"../chunk-OZBM2XFQ.js";export{POST_PRODUCTION_STATUSES,ProductionTimeline,STAGES,calcOverall,calcReportOverall,useProductionTimeline}from"../chunk-AGG4RFXR.js";export{ResizeHandle}from"../chunk-DRDYZ633.js";export{SettingReset}from"../chunk-SO6X4CII.js";export{LanguagePanel,LanguageSelect,languageSelectWidth}from"../chunk-VZ4PBHFN.js";export{MetricBar}from"../chunk-IOJNSX4N.js";export{isSeverityTone,severityOf}from"../chunk-TZFNWAED.js";export{MetricBarLegend}from"../chunk-KJ4CBZEQ.js";import"../chunk-URBCGEXG.js";export{MilestoneTimeline}from"../chunk-COJYPNKF.js";import"../chunk-S4Z657L6.js";export{TimelineTrack}from"../chunk-CKKUFDZ3.js";export{DAY_MS,fmtSliderDate,toDayMs}from"../chunk-7TC3LJQM.js";export{EditableGrid}from"../chunk-SDQIXE5M.js";export{EmptyValue}from"../chunk-HNQPF5QZ.js";export{FloatingBar}from"../chunk-N67QX3WW.js";export{GlobalSearch,openGlobalSearch}from"../chunk-ISJPW2FZ.js";export{pushRecent as pushRecentSearch,sanitizeRecent as sanitizeRecentSearches}from"../chunk-WGRS6QBT.js";export{HelpCenter}from"../chunk-LTKXAHS3.js";export{IconRail,IconRailButton}from"../chunk-D7F442OZ.js";import"../chunk-FQEALPZJ.js";export{ContainerFillChart}from"../chunk-ON67HF5K.js";export{CountBadge}from"../chunk-LEDUD23S.js";export{APP_UPDATE_POLL_MS,AppUpdateBanner,useAppUpdate}from"../chunk-CAVADOJK.js";export{Avatar,AvatarGroup}from"../chunk-DKGZPVLL.js";export{BudgetBar,budgetState}from"../chunk-UTWJKSET.js";export{Card,StatCard}from"../chunk-TOVKWNI2.js";export{ENGLISH,SHELL_LANGUAGE_STORAGE_KEY,ShellLanguageProvider,matchShellLanguage,readSavedShellLanguage,resolveShellLanguage,saveShellLanguage,useShellLanguage}from"../chunk-UPQW4GCT.js";export{Accordion,AccordionBody,AccordionHeading}from"../chunk-H4HB5OET.js";export{BRAND_ICON_NAMES,ICON_NAMES,isBrandIconName,isIconName}from"../chunk-3GL4OVBB.js";export{useDebouncedValue}from"../chunk-SLGT5WPJ.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_MAX_HEIGHT,BRAND_MIN_HEIGHT_PX,brandBox}from"../chunk-64ACCUNN.js";export{useClickOutside}from"../chunk-SI26KESU.js";export{WidthsBar}from"../chunk-XBB6LSSB.js";export{COLUMN_COUNT_MAX,COLUMN_COUNT_WIDTHS,COLUMN_SHARES_EQUAL,COLUMN_SHARE_MIN,columnSharesWidths,resolveColumnShares,resolveColumnWidths}from"../chunk-PLGJOHEG.js";export{Snippet}from"../chunk-MXH3UPCH.js";export{SplitButton_default as SplitButton}from"../chunk-WTTSB4SV.js";export{Switch_default as Switch}from"../chunk-M3R4C3A6.js";export{TagInput}from"../chunk-CGQAKGPT.js";export{TextToolbar,textToolbarRows,textToolbarWindowColumns}from"../chunk-UBOP6HFI.js";export{TEXT_ALIGNS,TEXT_ALIGN_FIT,TEXT_ALIGN_ICONS,textAlignFit,textAlignOptions,textAlignWords}from"../chunk-CHBRMAJV.js";export{TileButton_default as TileButton}from"../chunk-H2R4SNNO.js";export{TimePicker_default as TimePicker}from"../chunk-BJXDOM2N.js";export{PositionInput}from"../chunk-SCPCZCYQ.js";export{RadioGroup}from"../chunk-32VV2J22.js";export{Radio_default as Radio}from"../chunk-NI5FXWK5.js";export{ShowWhen}from"../chunk-YEM4KYCW.js";export{SidesEachToggle,SidesInput,sidesStartEach}from"../chunk-F6JDUMM7.js";export{Slider,SliderGroup}from"../chunk-H64JJSXC.js";export{LinkPicker,TextLinkField}from"../chunk-47EYPWCB.js";export{SearchableSelect}from"../chunk-SWN3LSQX.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-R7APUBZB.js";export{Tree,TreeEmptySlot,TreeGroup,TreeGroupLabel,TreeRow,TreeSeam}from"../chunk-KP2THXEI.js";import"../chunk-I2XGPTCN.js";export{MarqueeBox}from"../chunk-IC72MGON.js";export{EmptyState}from"../chunk-63L5ORRZ.js";export{ImageLightbox,lightboxKind}from"../chunk-L3QNKCXH.js";export{LIGHTBOX_PICTURE_FIT,ZoomableImage}from"../chunk-CGUMJZUB.js";export{DescriptionList}from"../chunk-SACUSHVN.js";export{Drawer}from"../chunk-3BYLHJLC.js";export{Breadcrumbs}from"../chunk-O4V5PEA3.js";export{useGridSelection}from"../chunk-VLKDWKVR.js";export{MARQUEE_IGNORE,marqueeHits,rectsIntersect,useMarquee}from"../chunk-OLFYNMTD.js";export{edgeScrollDelta,getScrollParent,scrollBoundsOf}from"../chunk-LACL4MAR.js";export{mediaLibraryMenu}from"../chunk-7YOQS3C6.js";export{mediaMoveItems,mediaMoveSubmenu,useMediaMoveItems}from"../chunk-ZURB2DCM.js";import"../chunk-MQU3PZUS.js";export{DropdownMenu}from"../chunk-A5BV6NFA.js";export{NativeSelect,Select_default as Select}from"../chunk-UWK5Q3R4.js";import"../chunk-EO5RLFRX.js";import"../chunk-QODTON7V.js";export{FULL_BADGE_TILE_PX,MediaUploadGrid}from"../chunk-2VTO64YC.js";export{MediaUsedInList}from"../chunk-PBWUEBJ5.js";export{NumericKeypad}from"../chunk-UWIZX3RK.js";export{MAX_FRACTION_DIGITS,appendKey,backspace}from"../chunk-VEPVOHCV.js";export{PictureTiles}from"../chunk-GISDIVFK.js";export{FilePicker_default as FilePicker}from"../chunk-LOFYSLC7.js";export{FormErrorSummary}from"../chunk-QYRMFGES.js";export{IconPicker}from"../chunk-YWDEFPSW.js";export{CornersInput}from"../chunk-7PUVPDUZ.js";export{DatePicker_default as DatePicker}from"../chunk-EDKRGYZX.js";export{DateRangePicker,toISODate}from"../chunk-QKWYCOMM.js";export{DateTimePicker_default as DateTimePicker}from"../chunk-5RE6R3XC.js";export{DisplayChips}from"../chunk-ORIGX2H5.js";export{slugify}from"../chunk-24AL3CDS.js";export{escapeHtml}from"../chunk-G6DKCCWH.js";export{addShowWhenFacts,isShown,lazyShowWhenContext,showWhenFactReaders,showWhenFactsContext,showWhenOf,shownForOption,truthy,withRowRules,withRowsShownWhen,withShowWhen,withShowWhenFacts}from"../chunk-HCP7WOAL.js";export{AlignmentGrid}from"../chunk-O6JJIR4H.js";export{BORDER_LINE_STYLES,BorderInput,borderSides,borderStartEach}from"../chunk-AZ3AR7U7.js";export{ColorPicker,ColorPickerPanel,ColorSwatch,HexInput,colorFill,colorSwatchClasses}from"../chunk-QNK2I4IH.js";export{Popover}from"../chunk-7JGR7WPD.js";export{InputNumber_default as InputNumber}from"../chunk-JGFY54A4.js";export{useSettingAuto,useSettingRowName}from"../chunk-2NMW66P5.js";export{contrastRatio,hexToHsv,hexToRgb,hsvToHex,parseHexColor,readableInk,relativeLuminance}from"../chunk-S6OB6HJB.js";export{BrandAssetEditor}from"../chunk-JRZ7PPVJ.js";export{MediaUploadField}from"../chunk-YGSU5KCP.js";export{FormField}from"../chunk-6KBDNYRW.js";export{ImageFocusPoint}from"../chunk-VKKK4WLS.js";export{FOCAL_DEFAULT,FOCAL_NUDGE_COARSE,FOCAL_NUDGE_STEP,focalFromRect,formatFocal,nudgeFocal,parseFocal}from"../chunk-25RR3GQW.js";export{Segmented}from"../chunk-3ELLBQPS.js";import"../chunk-JDQGHQ2C.js";export{BrandMark,resolveBrandMarkTreatment}from"../chunk-MI67DI3H.js";export{Calendar}from"../chunk-KOBYM5JV.js";export{fromDateKey,toDateKey}from"../chunk-2HMNOLKX.js";export{DataTable}from"../chunk-W6URVLQF.js";export{Checkbox_default as Checkbox}from"../chunk-CGZBDI6C.js";export{Kanban}from"../chunk-LDE5IV2M.js";export{ListFooter}from"../chunk-EZEYKCI6.js";export{ListLoadError}from"../chunk-3RORPK2J.js";export{Pagination}from"../chunk-ULAGXDOL.js";export{WaterfallChart}from"../chunk-2SY76NFO.js";export{SankeyChart}from"../chunk-TMNAHOJ7.js";export{SCATTER_SERIES_CAP,ScatterChart}from"../chunk-W35N7SL3.js";export{StatTile}from"../chunk-HNBGLF4B.js";export{Sparkline}from"../chunk-CKCDGSTC.js";export{SunburstChart}from"../chunk-RCPFUDPS.js";export{TreemapChart}from"../chunk-JSGQWVYH.js";export{squarify}from"../chunk-46BYGPGD.js";export{HeatmapChart}from"../chunk-PJQGYKN6.js";export{HistogramChart}from"../chunk-ZZVE64OI.js";export{Meter}from"../chunk-AUWTGM65.js";export{PieChart}from"../chunk-LCJRTJXT.js";export{RADAR_SERIES_CAP,RadarChart}from"../chunk-Y3R267FV.js";export{RadialBarChart}from"../chunk-IKNG7EFQ.js";export{RangeChart}from"../chunk-RPYFOQM2.js";export{RankedBars}from"../chunk-KEPJWZJZ.js";export{ChordChart}from"../chunk-PN65IIYN.js";import"../chunk-TKJBZIHT.js";export{FunnelChart}from"../chunk-EU3JZGV2.js";export{StepChain,StepChainItem}from"../chunk-P5YFQ4IQ.js";export{Markdown,Markdown as MarkdownLite,plainCell,tableToCsv}from"../chunk-MBXLROCD.js";export{Divider}from"../chunk-DFOFEBYX.js";export{Textarea_default as Textarea}from"../chunk-PB7G6CJ7.js";import"../chunk-UJUTS6LJ.js";export{isSafeLinkHref}from"../chunk-PJPK2ADX.js";export{ContextMenu,useContextMenu}from"../chunk-W6SC3ZNO.js";export{Banner}from"../chunk-GSKLHUQ6.js";import"../chunk-DDCMMOB4.js";export{Input_default as Input}from"../chunk-MAMWQCJ6.js";export{AttachButton,AttachmentDropZone,AttachmentList,ComposerAttachments,PaperclipGlyph}from"../chunk-EYZZW6SO.js";export{IconButton_default as IconButton}from"../chunk-PUF75SMJ.js";export{INPUT_BASE,INPUT_SIZES,PLACEHOLDER_INK,inputClasses}from"../chunk-AYZY3YNC.js";export{mediaFileName}from"../chunk-67JCJ2MG.js";export{TransferProgress}from"../chunk-UYRITNQW.js";export{FileIntakeAlert,acceptsFile,useFileIntake}from"../chunk-6RX4PVBU.js";export{CHART_SPEC_LIMITS,parseChartSpec}from"../chunk-CR7T435F.js";export{SpecChart}from"../chunk-QDQ347RL.js";export{currencyDecimals,currencySymbol,formatBytes,formatMoney,setCurrencyFormats,timeAgo}from"../chunk-GEYM4WN3.js";export{DATE_FORMAT_OPTIONS,TZ_AUTO,firstDayOfWeek,formatDate,formatDateTime,formatTime,getUserDateFormat,getUserTimezone,setUserDateFormat,setUserTimezone,syncTimezoneFromProfile}from"../chunk-Y3JW2GW5.js";export{EMPTY_VALUE}from"../chunk-36BRD5J3.js";import"../chunk-LF27WIN2.js";export{TimeSeriesChart}from"../chunk-WMEYNKXZ.js";export{ChartBrush}from"../chunk-INNIWRVU.js";export{ChartDot}from"../chunk-CK2YOGUS.js";export{ChartFrame}from"../chunk-W5CJD54C.js";export{arcPath,areaBetween,areaFrom,bumpPath,curvePath,linearPath,monotonePath,polygonPoints,splinePath,stepPath}from"../chunk-VFC6QUEN.js";export{ColumnChart}from"../chunk-CBEKJTXU.js";export{ChartDefs,MOTION,dashFor,fillFor,fillId,glowId,groundId,maskId,stagger}from"../chunk-465RRWBY.js";export{ChartSkeleton}from"../chunk-M22B3Y5Y.js";export{ChartHighlightProvider,autoHighlightIndex,highlightOpacity,useHighlight}from"../chunk-CNYAHYE6.js";export{CONTROL_HEIGHTS,ROW_HEIGHTS,SPACING_ROLES,SPACING_SCALE,isSpacingStep}from"../chunk-AW7TOB6N.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-URERZUX5.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";import"../chunk-5A7MWTXX.js";export{ConfirmProvider,confirm,confirmDestructive,prompt,useConfirm}from"../chunk-GBCH3UHD.js";export{Dialog}from"../chunk-KZMJE24J.js";export{ShellPrefsProvider,useLocalStoragePrefs,useShellPrefs}from"../chunk-KC3EX26K.js";export{ItemCount}from"../chunk-QHOBK35Y.js";import"../chunk-3DVNXNTF.js";import"../chunk-S2P74CBN.js";import"../chunk-VWGWZY7A.js";import"../chunk-7QSDPSXP.js";export{UNDOABLE_MS,toast_default as toast}from"../chunk-AKM6JBMD.js";export{useIsMobile}from"../chunk-UGTRSRIW.js";export{ColoredBadge}from"../chunk-PXQG5EIH.js";export{useFocusTrap,useScrollLock}from"../chunk-CDAJKLGL.js";export{VERSION}from"../chunk-STAVWXWV.js";export{PopupMenu,PopupMenuDivider,PopupMenuItem,PopupMenuLabel,PopupSubmenu}from"../chunk-37U326EL.js";import"../chunk-URHGHXDN.js";export{MENU_ON_MEDIA_ATTR,leavesContextMenuAlone}from"../chunk-5QFPTDQF.js";export{GROUP_COLORS,GROUP_COLORS_SOLID,StatusBadge,StatusBadgeProvider,groupColors,useStatusLabel}from"../chunk-TXDA7TTP.js";export{Button_default as Button}from"../chunk-I4VIEGCX.js";export{buttonClasses,iconButtonClasses}from"../chunk-UQYNPYF4.js";import"../chunk-34URULVW.js";export{Icon}from"../chunk-KKSVRIMP.js";export{activeIconSet,iconSets,iconsVersion,registerIconSet,registerIcons,resolveIcon,setDefaultIconSet,setIconSet,subscribeIcons}from"../chunk-J75ZT2JQ.js";export{LoadingSpinner,SpinnerRing}from"../chunk-R2VKEMZH.js";import"../chunk-MRJKZWWV.js";import"../chunk-MVZRZTQP.js";export{Tooltip}from"../chunk-6XBWM453.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{PortalBrandingProvider,resolvePortalBrandAsset,usePortalBranding}from"../chunk-ACYYVK6G.js";export{BoxPlotChart}from"../chunk-AJO72CPB.js";export{CandlestickChart}from"../chunk-VTFZ6W2D.js";export{ChartTooltip}from"../chunk-G4GVLK44.js";export{GLASS_DIVIDER,glassStyle,solidSurfaceStyle}from"../chunk-F27JJHNJ.js";export{CartesianPlot}from"../chunk-2JG5JU4M.js";import"../chunk-QP4UPCXQ.js";export{angleScale,bandScale,binValues,ladderScale,linearScale,logScale,niceAxis,niceMax,radiusScale}from"../chunk-2JWPNR2U.js";export{usePlotWidth}from"../chunk-MAFUXCPZ.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{DEFAULT_SHELL_STRINGS,ShellStringsProvider,useShellLocale,useShellStrings}from"../chunk-4PAWQEXM.js";import"../chunk-C3QOHMR6.js";
|
package/dist/utils/date.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{DATE_FORMAT_OPTIONS,TZ_AUTO,calendarNames,firstDayOfWeek,formatDate,formatDateTime,formatTime,getUserDateFormat,getUserTimezone,setUserDateFormat,setUserTimezone,syncTimezoneFromProfile}from"../chunk-
|
|
1
|
+
export{DATE_FORMAT_OPTIONS,TZ_AUTO,calendarNames,firstDayOfWeek,formatDate,formatDateTime,formatTime,getUserDateFormat,getUserTimezone,setUserDateFormat,setUserTimezone,syncTimezoneFromProfile}from"../chunk-Y3JW2GW5.js";import"../chunk-36BRD5J3.js";import"../chunk-LF27WIN2.js";
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* ONE calendar day as `YYYY-MM-DD`, read and written from the LOCAL fields.
|
|
3
|
+
*
|
|
4
|
+
* A day is not an instant: local midnight falls in the previous UTC day for
|
|
5
|
+
* every zone east of Greenwich, so a `toISOString()` round-trip moves the day.
|
|
6
|
+
* The Calendar, the date picker and the range picker store and compare days
|
|
7
|
+
* through this pair (and the month key below), and `efficient-shell/format` exports it for code that may
|
|
8
|
+
* not take the kit (a published page asking "is it that day where the visitor
|
|
9
|
+
* is"). Pure: no React, no DOM.
|
|
10
|
+
*/
|
|
11
|
+
/** `YYYY-MM-DD` from a Date's local calendar fields — never `toISOString()`. */
|
|
12
|
+
declare function toDateKey(d: Date): string;
|
|
13
|
+
/**
|
|
14
|
+
* The local midnight of a `YYYY-MM-DD`, or `null` for anything else. Built from
|
|
15
|
+
* the parts, never `new Date(string)`, and a day that does not exist
|
|
16
|
+
* (`2026-02-31`, which the constructor rolls into March) is `null`.
|
|
17
|
+
*/
|
|
18
|
+
declare function fromDateKey(key: string | null | undefined): Date | null;
|
|
19
|
+
/** `YYYY-MM`, the month a Date's local fields fall in: the key a calendar's
|
|
20
|
+
* page and a range picker's opening month are compared by. */
|
|
21
|
+
declare function toMonthKey(d: Date): string;
|
|
22
|
+
/** The local midnight of the first day of a `YYYY-MM`, or `null`. */
|
|
23
|
+
declare function fromMonthKey(key: string | null | undefined): Date | null;
|
|
24
|
+
|
|
25
|
+
export { fromDateKey, fromMonthKey, toDateKey, toMonthKey };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{fromDateKey,fromMonthKey,toDateKey,toMonthKey}from"../chunk-2HMNOLKX.js";import"../chunk-LF27WIN2.js";
|
package/dist/utils/format.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{currencyDecimals,currencySymbol,formatBytes,formatMoney,setCurrencyFormats,timeAgo,toInstant}from"../chunk-
|
|
1
|
+
export{currencyDecimals,currencySymbol,formatBytes,formatMoney,setCurrencyFormats,timeAgo,toInstant}from"../chunk-GEYM4WN3.js";import"../chunk-Y3JW2GW5.js";export{EMPTY_VALUE}from"../chunk-36BRD5J3.js";import"../chunk-LF27WIN2.js";
|
package/dist/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{APP_VERSION,VERSION}from"./chunk-
|
|
1
|
+
export{APP_VERSION,VERSION}from"./chunk-STAVWXWV.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "efficient-shell",
|
|
3
|
-
"version": "10.
|
|
3
|
+
"version": "10.13.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",
|
|
@@ -123,6 +123,11 @@
|
|
|
123
123
|
"import": "./dist/icons/efficient-looks.js",
|
|
124
124
|
"default": "./dist/icons/efficient-looks.js"
|
|
125
125
|
},
|
|
126
|
+
"./icons/payment": {
|
|
127
|
+
"types": "./dist/icons/payment.d.ts",
|
|
128
|
+
"import": "./dist/icons/payment.js",
|
|
129
|
+
"default": "./dist/icons/payment.js"
|
|
130
|
+
},
|
|
126
131
|
"./icons/phosphor": {
|
|
127
132
|
"types": "./dist/icons/phosphor.d.ts",
|
|
128
133
|
"import": "./dist/icons/phosphor.js",
|
package/dist/Files-3OOVEIKW.js
DELETED
|
@@ -1,88 +0,0 @@
|
|
|
1
|
-
import{openPreviewFile as e}from"./chunk-MCDM2G4W.js";import{SidebarLayout as t}from"./chunk-A4HJDSRA.js";import"./chunk-QWK6DRSN.js";import"./chunk-DRDYZ633.js";import{Breadcrumbs as a}from"./chunk-O4V5PEA3.js";import{formatBytes as n}from"./chunk-X2S2XDZI.js";import"./chunk-5OTS2G3M.js";import"./chunk-36BRD5J3.js";import{getFilesDemoTree as r}from"./chunk-MUMQ6PW7.js";import{AboutApp as i}from"./chunk-A224Q5ZC.js";import{peekFilesViewRequest as s,consumeFilesViewRequest as o,FILES_SHOW_TRASH_EVENT as l,FILES_OPEN_DESKTOP_FOLDER_EVENT as c,subscribeDesktopFolders as d,getDesktopFoldersSnapshot as m,FolderGlyph as h,DesktopItemMiniIcon as p,desktopItemTypeLabel as u}from"./chunk-XAROKI7X.js";import"./chunk-ESL5TDNA.js";import"./chunk-VTVSMRFX.js";import{useWindowManager as f,WindowTitle as x}from"./chunk-RZGYD2PM.js";import"./chunk-CY5N5OA3.js";import"./chunk-AW7TOB6N.js";import"./chunk-KNUR2UEG.js";import"./chunk-JDCM2VHG.js";import"./chunk-URERZUX5.js";import"./chunk-ZDMZM7HD.js";import"./chunk-5A7MWTXX.js";import"./chunk-RBQWIHYD.js";import{confirm as g,prompt as k}from"./chunk-QWWJUYZI.js";import"./chunk-LNWQBSYD.js";import"./chunk-KC3EX26K.js";import{ItemCount as b}from"./chunk-QHOBK35Y.js";import"./chunk-3DVNXNTF.js";import"./chunk-OW7MLJ3Y.js";import"./chunk-VWGWZY7A.js";import"./chunk-PKXQDCNR.js";import{toast_default as y}from"./chunk-AKM6JBMD.js";import"./chunk-UGTRSRIW.js";import"./chunk-PXQG5EIH.js";import"./chunk-CDAJKLGL.js";import"./chunk-YJFB6CCJ.js";import"./chunk-37U326EL.js";import"./chunk-URHGHXDN.js";import"./chunk-5QFPTDQF.js";import"./chunk-TXDA7TTP.js";import"./chunk-I4VIEGCX.js";import"./chunk-UQYNPYF4.js";import"./chunk-34URULVW.js";import{Icon as N}from"./chunk-KKSVRIMP.js";import"./chunk-J75ZT2JQ.js";import{LoadingSpinner as w}from"./chunk-R2VKEMZH.js";import"./chunk-MRJKZWWV.js";import{TH_ONE_LINE as v}from"./chunk-MVZRZTQP.js";import"./chunk-6XBWM453.js";import"./chunk-PGN5ME7B.js";import"./chunk-62LW225J.js";import"./chunk-GLUJS42B.js";import"./chunk-D65T4H6J.js";import"./chunk-F27JJHNJ.js";import"./chunk-TWVUQUUD.js";import"./chunk-4PAWQEXM.js";import"./chunk-C3QOHMR6.js";import{useState as j,useEffect as $,useSyncExternalStore as D,useRef as C,useCallback as R}from"react";import{jsxs as T,jsx as L,Fragment as E}from"react/jsx-runtime";var W="undefined"!=typeof window&&window.__REACT_OS_SHELL_FILE_SERVER__||"http://localhost:4000",M={pdf:"pdf",dxf:"dxf",csv:"csv",jpg:"image",jpeg:"image",png:"image",gif:"image",webp:"image",svg:"image",avif:"image",bmp:"image",stp:"3d",step:"3d",stl:"3d",obj:"3d",gltf:"3d",glb:"3d","3mf":"3d",iges:"3d",igs:"3d",ply:"3d",fbx:"3d"};function P(e,t){return"/"===e||""===e?"/"+t:e.replace(/\/$/,"")+"/"+t}function U(e){if(!e)return"—";try{const t=new Date(e);return isNaN(t.getTime())?"—":t.toLocaleString(void 0,{dateStyle:"short",timeStyle:"short"})}catch{return e}}function S(){const S=W.replace(/\/$/,""),A=null!==r(),[I,F]=j("/"),[O,J]=j([]),[V,Q]=j([]),[X,B]=j(null),[H,K]=j(!0),[Z,G]=j(!1),[Y,z]=j(null),[_,q]=j(!1),[ee,te]=j(()=>{const e=s();return"trash"===e?"trash":e?{desktopFolderId:e.folderId}:"files"});$(()=>{o()},[]);const[ae,ne]=j([]);$(()=>{const e=()=>{o(),te("trash")},t=e=>{o();const t=e.detail?.folderId;t&&te({desktopFolderId:t})};return window.addEventListener(l,e),window.addEventListener(c,t),()=>{window.removeEventListener(l,e),window.removeEventListener(c,t)}},[]);const re=D(d,m,m),ie="object"==typeof ee?ee.desktopFolderId:null,se=ie?re?.folders.find(e=>e.id===ie)??null:null,oe=ie&&re?.itemsByFolder[ie]||[];$(()=>{ie&&re&&!re.folders.some(e=>e.id===ie)&&te("files")},[ie,re]);const le=C(0),ce=C(null),{openPage:de,openEntity:me}=f(),he=t=>{"preview-file"===t.entityType&&t.filePath&&t.fileKind?e({filePath:t.filePath,filename:t.label,kind:t.fileKind,onStaged:e=>de(e)}):"page"===t.entityType?de(t.entityId):me(t.entityType,t.entityId,null,t.label)},pe=R((e,t={})=>fetch(e,{...t,credentials:"include"}),[]),ue=R(async()=>{try{const e=await pe(`${S}/api/quota`);if(e.ok){const t=await e.json();z({used:t.used,limit:t.limit})}}catch{}},[pe,S]),fe=R(async e=>{if(B(null),A){const t=function(e){const t=r();if(!t)return[];let a=t;for(const t of e.split("/").filter(Boolean)){const e=a.find(e=>"folder"===e.kind&&e.name===t);if(!e||!e.children)return[];a=e.children}return a.map(e=>({name:e.name,kind:e.kind,size:e.size??0,modifiedAt:e.modifiedAt??""}))}(e);return J(t),F(e),G(!1),K(!1),void("/"===e&&Q(t.filter(e=>"folder"===e.kind).map(e=>e.name)))}K(!0);try{const t=await pe(`${S}/api/files?path=${encodeURIComponent(e)}`);if(!t.ok){const e=await t.json().catch(()=>({}));return void y.error(e.error||`Failed to list (${t.status})`)}const a=await t.json(),n=a.entries||[];J(n),F(a.path||e),G(!1),"/"===(a.path||e)&&Q(n.filter(e=>"folder"===e.kind).map(e=>e.name))}catch(e){G(!0)}finally{K(!1)}ue()},[pe,S,ue,A]),xe=R(async()=>{if(A)return ne([]),void K(!1);K(!0),B(null);try{const e=await pe(`${S}/api/trash`);if(!e.ok){const t=await e.json().catch(()=>({}));return void y.error(t.error||`Failed to list trash (${e.status})`)}const t=await e.json();ne(t.entries||[]),G(!1)}catch{G(!0)}finally{K(!1)}ue()},[pe,S,ue,A]);$(()=>{"files"===ee?fe(I):"trash"===ee&&xe()},[I,ee]);const ge=async e=>{const t=P(I,e.name);try{const a=await pe(`${S}/api/file?path=${encodeURIComponent(t)}`);if(!a.ok)return void y.error(`Download failed (${a.status})`);const n=await a.blob(),r=URL.createObjectURL(n),i=document.createElement("a");i.href=r,i.download=e.name,i.click(),setTimeout(()=>URL.revokeObjectURL(r),1e3)}catch(e){y.error(e?.message||"Download failed")}},ke=async e=>{const t=Array.from(e);for(const e of t){const t=new FormData;t.append("file",e);try{const a=await pe(`${S}/api/upload?path=${encodeURIComponent(I)}`,{method:"POST",body:t});if(!a.ok){const t=await a.json().catch(()=>({}));if(413===a.status){const a=Math.max(0,(t.limit||0)-(t.used||0));y.error(`Quota exceeded — ${n(a)} free, ${e.name} is ${n(t.attempted||e.size)}`)}else y.error(`Upload ${e.name}: ${t.error||a.status}`)}}catch(t){y.error(`Upload ${e.name}: ${t?.message||"failed"}`)}}fe(I)},be=()=>{le.current=0,q(!1)};if($(()=>{const e=()=>be();return window.addEventListener("dragend",e),window.addEventListener("drop",e),()=>{window.removeEventListener("dragend",e),window.removeEventListener("drop",e)}},[]),Z)/* @__PURE__ */
|
|
2
|
-
return T("div",{className:"flex flex-col h-full bg-white",children:[
|
|
3
|
-
/* @__PURE__ */L(x,{title:"Files - offline"}),
|
|
4
|
-
/* @__PURE__ */L("div",{className:"flex-1 flex items-center justify-center p-8 text-center",children:/* @__PURE__ */T("div",{className:"max-w-md",children:[
|
|
5
|
-
/* @__PURE__ */L(N,{name:"close-circle",className:"h-12 w-12 mx-auto text-gray-300 mb-3",strokeWidth:1.4}),
|
|
6
|
-
/* @__PURE__ */L("h3",{className:"text-base font-semibold text-gray-800 mb-1",children:"Can't reach the file server"}),
|
|
7
|
-
/* @__PURE__ */T("p",{className:"text-sm text-gray-500 mb-3",children:["No response from ",
|
|
8
|
-
/* @__PURE__ */L("span",{className:"font-mono",children:S}),". Make sure the server is running — see ",
|
|
9
|
-
/* @__PURE__ */L("span",{className:"font-mono",children:"examples/file-server/README.md"}),"."]}),
|
|
10
|
-
/* @__PURE__ */L("button",{onClick:()=>fe(I),className:"px-3 h-8 text-sm bg-blue-500 text-on-accent rounded hover:bg-blue-600",children:"Retry"})]})})]});const ye="/"===I?[]:I.split("/").filter(Boolean),Ne=Y&&Y.limit>0?Math.min(100,Math.round(Y.used/Y.limit*100)):0,we=Ne>90?"bg-red-500":Ne>75?"bg-amber-500":"bg-blue-500",ve=[{label:"My files",onClick:()=>F("/")},...ye.map((e,t)=>({label:e,onClick:()=>F("/"+ye.slice(0,t+1).join("/"))}))],je=e=>"flex w-full items-center gap-2 rounded-md px-3 min-h-(--row-height-menu) py-2 text-left text-sm transition-colors "+(e?"bg-blue-50 font-medium text-blue-700":"text-gray-700 hover:bg-gray-100"),$e=e=>/* @__PURE__ */L("svg",{className:"h-4 w-4 shrink-0 text-gray-400",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:1.6,children:/* @__PURE__ */L("path",{strokeLinecap:"round",strokeLinejoin:"round",d:e})}),De=/* @__PURE__ */T("nav",{className:"p-2",children:[
|
|
11
|
-
/* @__PURE__ */L("div",{className:"px-2 py-2 text-2xs font-semibold uppercase tracking-wide text-ink-faintest",children:"Locations"}),
|
|
12
|
-
/* @__PURE__ */T("button",{onClick:()=>{te("files"),F("/")},className:je("files"===ee&&"/"===I),children:[$e("M2.25 12l8.954-8.955a1.5 1.5 0 012.122 0L21.75 12M4.5 9.75v9.75a.75.75 0 00.75.75H9V15a.75.75 0 01.75-.75h4.5A.75.75 0 0115 15v5.25h3.75a.75.75 0 00.75-.75V9.75"),"My files"]}),V.map(e=>/* @__PURE__ */T("button",{onClick:()=>{te("files"),F("/"+e)},className:je("files"===ee&&I==="/"+e),children:[$e("M2.25 12.75V12A2.25 2.25 0 014.5 9.75h15A2.25 2.25 0 0121.75 12v.75m-8.69-6.44l-2.12-2.12a1.5 1.5 0 00-1.061-.44H4.5A2.25 2.25 0 002.25 6v12a2.25 2.25 0 002.25 2.25h15A2.25 2.25 0 0021.75 18V9a2.25 2.25 0 00-2.25-2.25h-5.379a1.5 1.5 0 01-1.06-.44z"),
|
|
13
|
-
/* @__PURE__ */L("span",{className:"truncate",children:e})]},e)),!A&&/* @__PURE__ */T("button",{onClick:()=>te("trash"),className:je("trash"===ee),children:[$e("M14.74 9l-.346 9m-4.788 0L9.26 9m9.968-3.21c.342.052.682.107 1.022.166m-1.022-.165L18.16 19.673a2.25 2.25 0 01-2.244 2.077H8.084a2.25 2.25 0 01-2.244-2.077L4.772 5.79"),"Trash"]}),re&&re.folders.length>0&&/* @__PURE__ */T(E,{children:[
|
|
14
|
-
/* @__PURE__ */L("div",{className:"px-2 pt-3 pb-2 text-2xs font-semibold uppercase tracking-wide text-ink-faintest",children:"Desktop"}),re.folders.map(e=>/* @__PURE__ */T("button",{onClick:()=>te({desktopFolderId:e.id}),className:je(ie===e.id),children:[
|
|
15
|
-
/* @__PURE__ */L(h,{className:"h-4 w-4 shrink-0 text-amber-500"}),
|
|
16
|
-
/* @__PURE__ */L("span",{className:"truncate",children:e.name}),
|
|
17
|
-
/* @__PURE__ */L(b,{count:e.itemCount,active:ie===e.id,className:"ml-auto"})]},e.id))]})]});/* @__PURE__ */
|
|
18
|
-
return T("div",{className:"relative flex flex-col h-full bg-white",onDragEnter:e=>{A||"object"==typeof ee||e.dataTransfer?.types?.includes?.("Files")&&(e.preventDefault(),le.current++,_||q(!0))},onDragOver:e=>{e.dataTransfer?.types?.includes?.("Files")&&e.preventDefault()},onDragLeave:()=>{le.current>0&&le.current--,0===le.current&&q(!1)},onDrop:e=>{e.preventDefault(),be(),A||"object"==typeof ee||e.dataTransfer.files?.length&&ke(e.dataTransfer.files)},children:[
|
|
19
|
-
/* @__PURE__ */L(x,{title:se?`Files - ${se.name}`:"Files"+("/"===I?"":" - "+I)}),
|
|
20
|
-
/* @__PURE__ */L(i,{app:"files"}),
|
|
21
|
-
/* @__PURE__ */L("input",{ref:ce,type:"file",multiple:!0,className:"hidden",onChange:e=>{e.target.files?.length&&ke(e.target.files),ce.current&&(ce.current.value="")}}),
|
|
22
|
-
/* @__PURE__ */L("div",{className:"flex-1 min-h-0",children:/* @__PURE__ */L(t,{sidebar:De,storageKey:"files.sidebarWidth",defaultWidth:200,minWidth:150,maxWidth:320,children:/* @__PURE__ */T("div",{className:"flex h-full min-w-0 flex-col",children:[
|
|
23
|
-
/* @__PURE__ */T("div",{className:"flex items-center gap-1 px-2 py-2 border-b border-line bg-surface-sunken shrink-0 text-xs",children:[/* @__PURE__ */T(E,"files"===ee?{children:[
|
|
24
|
-
/* @__PURE__ */L("button",{onClick:()=>F(function(e){if("/"===e||""===e)return"/";const t=e.replace(/\/$/,""),a=t.lastIndexOf("/");return a<=0?"/":t.slice(0,a)}(I)),disabled:"/"===I,className:"px-2 py-1 rounded hover:bg-gray-200 disabled:opacity-30 text-gray-600",title:"Parent folder",children:/* @__PURE__ */L(N,{name:"arrow-left",className:"h-3.5 w-3.5",strokeWidth:2})}),
|
|
25
|
-
/* @__PURE__ */L("div",{className:"flex-1 min-w-0",children:/* @__PURE__ */L(a,{items:ve,maxItems:5})}),
|
|
26
|
-
/* @__PURE__ */L("button",{onClick:()=>fe(I),className:"px-2 py-1 rounded hover:bg-gray-200 text-gray-600",title:"Refresh",children:/* @__PURE__ */L(N,{name:"refresh",className:"h-3.5 w-3.5",strokeWidth:1.8})}),!A&&/* @__PURE__ */T(E,{children:[
|
|
27
|
-
/* @__PURE__ */T("button",{onClick:()=>te("trash"),className:"px-2 py-1 rounded hover:bg-gray-200 text-gray-600 flex items-center gap-1",title:"Open trash",children:[
|
|
28
|
-
/* @__PURE__ */L(N,{name:"trash",className:"h-3.5 w-3.5",strokeWidth:1.5}),"Trash"]}),
|
|
29
|
-
/* @__PURE__ */T("button",{onClick:async()=>{const e=await k({title:"New folder",placeholder:"Folder name",confirmLabel:"Create"});if(!e)return;if(/[\\/]/.test(e))return void y.error("Folder names cannot contain slashes");const t=P(I,e),a=await pe(`${S}/api/folder`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({path:t})});if(!a.ok){const e=await a.json().catch(()=>({}));return void y.error(e.error||`Create folder failed (${a.status})`)}fe(I)},className:"px-2 py-1 rounded hover:bg-gray-200 text-gray-600 flex items-center gap-1",children:[
|
|
30
|
-
/* @__PURE__ */L(N,{name:"folder-plus",className:"h-3.5 w-3.5",strokeWidth:1.5}),"New Folder"]}),
|
|
31
|
-
/* @__PURE__ */T("button",{onClick:()=>ce.current?.click(),className:"px-2 py-1 rounded bg-blue-500 text-white hover:bg-blue-600 flex items-center gap-1",children:[
|
|
32
|
-
/* @__PURE__ */L(N,{name:"upload",className:"h-3.5 w-3.5",strokeWidth:1.8}),"Upload"]})]})]}:"trash"===ee?{children:[
|
|
33
|
-
/* @__PURE__ */L("button",{onClick:()=>te("files"),className:"px-2 py-1 rounded hover:bg-gray-200 text-gray-600",title:"Back to files",children:/* @__PURE__ */L(N,{name:"arrow-left",className:"h-3.5 w-3.5",strokeWidth:2})}),
|
|
34
|
-
/* @__PURE__ */L("span",{className:"flex-1 text-gray-700 font-medium px-2",children:"Trash"}),
|
|
35
|
-
/* @__PURE__ */L("button",{onClick:xe,className:"px-2 py-1 rounded hover:bg-gray-200 text-gray-600",title:"Refresh",children:/* @__PURE__ */L(N,{name:"refresh",className:"h-3.5 w-3.5",strokeWidth:1.8})}),
|
|
36
|
-
/* @__PURE__ */L("button",{onClick:async()=>{if(0===ae.length)return;if(!await g({title:"Empty trash",message:`${ae.length} item${1===ae.length?"":"s"} will be permanently removed. This can't be undone.`,confirmLabel:"Empty trash",variant:"danger"}))return;const e=await pe(`${S}/api/trash`,{method:"DELETE"});if(!e.ok){const t=await e.json().catch(()=>({}));return void y.error(t.error||`Empty trash failed (${e.status})`)}xe()},disabled:0===ae.length,className:"px-2 py-1 rounded text-red-600 hover:bg-red-50 disabled:opacity-30 flex items-center gap-1",children:"Empty trash"})]}:{children:[
|
|
37
|
-
/* @__PURE__ */L("button",{onClick:()=>te("files"),className:"px-2 py-1 rounded hover:bg-gray-200 text-gray-600",title:"Back to files",children:/* @__PURE__ */L(N,{name:"arrow-left",className:"h-3.5 w-3.5",strokeWidth:2})}),
|
|
38
|
-
/* @__PURE__ */L(h,{className:"h-4 w-4 text-amber-500 ml-1"}),
|
|
39
|
-
/* @__PURE__ */L("span",{className:"flex-1 text-gray-700 font-medium px-1 truncate",children:se?.name??"Desktop folder"}),
|
|
40
|
-
/* @__PURE__ */L("span",{className:"text-2xs text-ink-faintest px-2",children:"Desktop shortcuts"})]}),Y&&/* @__PURE__ */T(E,{children:[
|
|
41
|
-
/* @__PURE__ */L("div",{className:"h-4 w-px bg-gray-300 mx-1"}),
|
|
42
|
-
/* @__PURE__ */T("div",{className:"flex items-center gap-2",title:`${n(Y.used)} of ${n(Y.limit)} used`,children:[
|
|
43
|
-
/* @__PURE__ */L("div",{className:"w-20 h-1.5 rounded-full bg-gray-200 overflow-hidden",children:/* @__PURE__ */L("div",{className:`h-full ${we} transition-all`,style:{width:`${Ne}%`}})}),
|
|
44
|
-
/* @__PURE__ */T("span",{className:"text-2xs text-ink-faint tabular-nums whitespace-nowrap",children:[n(Y.used)," / ",n(Y.limit)]})]})]})]}),
|
|
45
|
-
/* @__PURE__ */L("div",{className:"flex-1 overflow-auto",children:"object"==typeof ee?0===oe.length?/* @__PURE__ */L("div",{className:"p-10 text-center text-sm text-gray-400",children:"This desktop folder is empty. Drag shortcuts onto it on the desktop."}):/* @__PURE__ */T("table",{className:"w-full text-sm",children:[
|
|
46
|
-
/* @__PURE__ */L("thead",{className:"bg-surface-sunken text-2xs uppercase tracking-wide text-ink-faint",children:/* @__PURE__ */T("tr",{children:[
|
|
47
|
-
/* @__PURE__ */L("th",{className:`${v} text-left font-medium px-3 h-8`,children:"Name"}),
|
|
48
|
-
/* @__PURE__ */L("th",{className:`${v} text-left font-medium px-3 h-8 w-28`,children:"Type"}),
|
|
49
|
-
/* @__PURE__ */L("th",{className:`${v} w-56`})]})}),
|
|
50
|
-
/* @__PURE__ */L("tbody",{children:oe.map(e=>{const t=`${e.entityType}|${e.entityId}`;/* @__PURE__ */
|
|
51
|
-
return T("tr",{onClick:()=>B(t),onDoubleClick:()=>he(e),className:"cursor-default border-b border-gray-100 "+(X===t?"bg-blue-50":"hover:bg-gray-50"),children:[
|
|
52
|
-
/* @__PURE__ */T("td",{className:"px-3 h-8 flex items-center gap-2",children:[
|
|
53
|
-
/* @__PURE__ */L(p,{item:e}),
|
|
54
|
-
/* @__PURE__ */L("span",{className:"truncate",title:e.label,children:e.label})]}),
|
|
55
|
-
/* @__PURE__ */L("td",{className:"px-3 h-8 text-xs text-ink-faint",children:u(e)}),
|
|
56
|
-
/* @__PURE__ */T("td",{className:"px-3 h-8 text-right whitespace-nowrap",children:[
|
|
57
|
-
/* @__PURE__ */L("button",{onClick:t=>{t.stopPropagation(),he(e)},className:"px-2 py-0.5 rounded hover:bg-gray-200 text-blue-600 text-2xs",children:"Open"}),
|
|
58
|
-
/* @__PURE__ */L("button",{onClick:t=>{t.stopPropagation(),re?.moveToDesktop([e])},className:"px-2 py-0.5 rounded hover:bg-gray-200 text-ink-faint text-2xs ml-1",children:"Move to desktop"}),
|
|
59
|
-
/* @__PURE__ */L("button",{onClick:t=>{t.stopPropagation(),re?.removeShortcuts([e])},className:"px-2 py-0.5 rounded hover:bg-red-100 text-red-600 text-2xs ml-1",children:"Remove"})]})]},t)})})]}):"trash"===ee?H&&0===ae.length?/* @__PURE__ */L(w,{size:"sm",padding:"p-6",label:"Loading"}):0===ae.length?/* @__PURE__ */L("div",{className:"p-10 text-center text-sm text-gray-400",children:"Trash is empty."}):/* @__PURE__ */T("table",{className:"w-full text-sm",children:[
|
|
60
|
-
/* @__PURE__ */L("thead",{className:"bg-surface-sunken text-2xs uppercase tracking-wide text-ink-faint",children:/* @__PURE__ */T("tr",{children:[
|
|
61
|
-
/* @__PURE__ */L("th",{className:`${v} text-left font-medium px-3 h-8`,children:"Name"}),
|
|
62
|
-
/* @__PURE__ */L("th",{className:`${v} text-left font-medium px-3 h-8`,children:"Original location"}),
|
|
63
|
-
/* @__PURE__ */L("th",{className:`${v} text-right font-medium px-3 h-8 w-24`,children:"Size"}),
|
|
64
|
-
/* @__PURE__ */L("th",{className:`${v} text-right font-medium px-3 h-8 w-40`,children:"Deleted"}),
|
|
65
|
-
/* @__PURE__ */L("th",{className:`${v} w-44`})]})}),
|
|
66
|
-
/* @__PURE__ */L("tbody",{children:ae.map(e=>/* @__PURE__ */T("tr",{className:"border-b border-gray-100 hover:bg-gray-50",children:[
|
|
67
|
-
/* @__PURE__ */T("td",{className:"px-3 h-8 flex items-center gap-2",children:["folder"===e.kind?/* @__PURE__ */L(N,{name:"folder",look:"solid",className:"h-4 w-4 text-amber-500 shrink-0"}):/* @__PURE__ */L(N,{name:"page",className:"h-4 w-4 text-ink-faintest shrink-0",strokeWidth:1.5}),
|
|
68
|
-
/* @__PURE__ */L("span",{className:"truncate",title:e.name,children:e.name})]}),
|
|
69
|
-
/* @__PURE__ */L("td",{className:"px-3 h-8 text-ink-faint text-xs font-mono truncate",title:e.originalPath,children:e.originalPath||"—"}),
|
|
70
|
-
/* @__PURE__ */L("td",{className:"px-3 h-8 text-right tabular-nums text-ink-faint",children:n(e.size)}),
|
|
71
|
-
/* @__PURE__ */L("td",{className:"px-3 h-8 text-right text-ink-faint tabular-nums",children:e.deletedAt?U(e.deletedAt):"—"}),
|
|
72
|
-
/* @__PURE__ */T("td",{className:"px-3 h-8 text-right whitespace-nowrap",children:[
|
|
73
|
-
/* @__PURE__ */L("button",{onClick:()=>(async e=>{const t=await pe(`${S}/api/trash/restore`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({id:e.id})});if(!t.ok){const e=await t.json().catch(()=>({}));return void y.error(e.error||`Restore failed (${t.status})`)}y.success(`Restored "${e.name}"`),xe()})(e),className:"px-2 py-0.5 rounded hover:bg-gray-200 text-blue-600 text-2xs",children:"Restore"}),
|
|
74
|
-
/* @__PURE__ */L("button",{onClick:()=>(async e=>{if(!await g({title:"Permanently delete",message:`"${e.name}" will be permanently removed. This can't be undone.`,confirmLabel:"Delete forever",variant:"danger"}))return;const t=await pe(`${S}/api/trash/${encodeURIComponent(e.id)}`,{method:"DELETE"});if(!t.ok){const e=await t.json().catch(()=>({}));return void y.error(e.error||`Delete failed (${t.status})`)}xe()})(e),className:"px-2 py-0.5 rounded hover:bg-red-100 text-red-600 text-2xs ml-1",children:"Delete forever"})]})]},e.id))})]}):H&&0===O.length?/* @__PURE__ */L(w,{size:"sm",padding:"p-6",label:"Loading"}):0===O.length?/* @__PURE__ */T("div",{className:"p-10 text-center text-sm text-gray-400",children:["Empty folder.",!A&&/* @__PURE__ */T(E,{children:[" Drop files here or click ",
|
|
75
|
-
/* @__PURE__ */L("span",{className:"font-medium",children:"Upload"}),"."]})]}):/* @__PURE__ */T("table",{className:"w-full text-sm",children:[
|
|
76
|
-
/* @__PURE__ */L("thead",{className:"bg-surface-sunken text-2xs uppercase tracking-wide text-ink-faint",children:/* @__PURE__ */T("tr",{children:[
|
|
77
|
-
/* @__PURE__ */L("th",{className:`${v} text-left font-medium px-3 h-8`,children:"Name"}),
|
|
78
|
-
/* @__PURE__ */L("th",{className:`${v} text-right font-medium px-3 h-8 w-24`,children:"Size"}),
|
|
79
|
-
/* @__PURE__ */L("th",{className:`${v} text-right font-medium px-3 h-8 w-40`,children:"Modified"}),
|
|
80
|
-
/* @__PURE__ */L("th",{className:`${v} w-32`})]})}),
|
|
81
|
-
/* @__PURE__ */L("tbody",{children:O.map(t=>/* @__PURE__ */T("tr",{onClick:()=>B(t.name),onDoubleClick:()=>{"folder"===t.kind?F(P(I,t.name)):(async t=>{if(A)return;const a=P(I,t.name),n=(t.name.split(".").pop()||"").toLowerCase(),r=M[n];r?await e({filePath:a,filename:t.name,kind:r,onStaged:e=>de(e)}):ge(t)})(t)},className:"cursor-default border-b border-gray-100 "+(X===t.name?"bg-blue-50":"hover:bg-gray-50"),children:[
|
|
82
|
-
/* @__PURE__ */T("td",{className:"px-3 h-8 flex items-center gap-2",children:["folder"===t.kind?/* @__PURE__ */L(N,{name:"folder",look:"solid",className:"h-4 w-4 text-amber-500 shrink-0"}):/* @__PURE__ */L(N,{name:"page",className:"h-4 w-4 text-ink-faintest shrink-0",strokeWidth:1.5}),
|
|
83
|
-
/* @__PURE__ */L("span",{className:"truncate",title:t.name,children:t.name})]}),
|
|
84
|
-
/* @__PURE__ */L("td",{className:"px-3 h-8 text-right tabular-nums text-ink-faint",children:"folder"===t.kind?"—":n(t.size)}),
|
|
85
|
-
/* @__PURE__ */L("td",{className:"px-3 h-8 text-right text-ink-faint tabular-nums",children:U(t.modifiedAt)}),
|
|
86
|
-
/* @__PURE__ */L("td",{className:"px-3 h-8 text-right whitespace-nowrap",children:!A&&/* @__PURE__ */T(E,{children:["file"===t.kind&&/* @__PURE__ */L("button",{onClick:e=>{e.stopPropagation(),ge(t)},className:"px-2 py-0.5 rounded hover:bg-gray-200 text-ink-faint text-2xs",children:"Download"}),
|
|
87
|
-
/* @__PURE__ */L("button",{onClick:e=>{e.stopPropagation(),(async e=>{const t=await k({title:`Rename ${e.kind}`,defaultValue:e.name,confirmLabel:"Rename"});if(!t||t===e.name)return;if(/[\\/]/.test(t))return void y.error("Names cannot contain slashes");const a=P(I,e.name),n=P(I,t),r=await pe(`${S}/api/rename`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({from:a,to:n})});if(!r.ok){const e=await r.json().catch(()=>({}));return void y.error(e.error||`Rename failed (${r.status})`)}fe(I)})(t)},className:"px-2 py-0.5 rounded hover:bg-gray-200 text-ink-faint text-2xs ml-1",children:"Rename"}),
|
|
88
|
-
/* @__PURE__ */L("button",{onClick:e=>{e.stopPropagation(),(async e=>{if(!await g({title:`Delete ${e.kind}`,message:`"${e.name}"${"folder"===e.kind?" and everything inside":""} will be permanently removed.`,confirmLabel:"Delete",variant:"danger"}))return;const t=P(I,e.name),a=await pe(`${S}/api/files?path=${encodeURIComponent(t)}`,{method:"DELETE"});if(!a.ok){const e=await a.json().catch(()=>({}));return void y.error(e.error||`Delete failed (${a.status})`)}fe(I)})(t)},className:"px-2 py-0.5 rounded hover:bg-red-100 text-red-600 text-2xs ml-1",children:"Delete"})]})})]},t.name))})]})})]})})}),_&&/* @__PURE__ */L("div",{className:"absolute inset-0 bg-blue-500/15 border-4 border-dashed border-blue-500 pointer-events-none flex items-center justify-center z-20",children:/* @__PURE__ */L("div",{className:"px-4 py-2 rounded-md bg-blue-600 text-white text-sm font-medium shadow-lg",children:"Drop to upload"})})]})}export{S as default};
|