efficient-shell 14.6.0 → 15.1.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 +3 -2
- package/dist/{Browser-A26CLQT2.js → Browser-MILMPZK2.js} +17 -17
- package/dist/{Calculator-TJDZOTG7.js → Calculator-MW7S4UKX.js} +22 -22
- package/dist/{CurrencyConverter-JL5JIVJG.js → CurrencyConverter-P3HQXUX2.js} +6 -6
- package/dist/{Files-FXPWV5HE.js → Files-QNAN5FCH.js} +78 -78
- package/dist/{Notepad-HNSKQGOJ.js → Notepad-VXENTPT2.js} +9 -9
- package/dist/{PomodoroTimer-7W5ZHKUL.js → PomodoroTimer-LJ6VBFGX.js} +4 -4
- package/dist/{Preview-NHFPMZDF.js → Preview-I35MWZBC.js} +14 -14
- package/dist/{Stock-S3LKKT3K.js → Stock-USRT7FDU.js} +4 -4
- package/dist/{Weather-KEOJ3BBV.js → Weather-CMA5QQYM.js} +17 -17
- package/dist/{WorldClock-GKMDG2KU.js → WorldClock-WQ3XGK2J.js} +6 -6
- package/dist/apps/index.js +1 -1
- package/dist/bin/browser-check.js +1 -1
- package/dist/bin/media-host-check.js +1 -1
- package/dist/bin/ui-check.js +1 -1
- package/dist/brand.css +1 -1
- package/dist/{chunk-KC4ZURGJ.js → chunk-2TNG32QT.js} +6 -6
- package/dist/{chunk-QGY3QVA5.js → chunk-4RF3C523.js} +1 -1
- package/dist/chunk-B34UWI47.js +1 -0
- package/dist/{chunk-727NHWCZ.js → chunk-F7J7XRVI.js} +1 -1
- package/dist/{chunk-HOPHOF2C.js → chunk-KETNB4NQ.js} +1 -1
- package/dist/{chunk-WBUAO7T7.js → chunk-O7A7PH3R.js} +1 -1
- package/dist/chunk-OJYEGB74.js +28 -0
- package/dist/chunk-SH7PJC4P.js +1 -0
- package/dist/{chunk-UZATF4OZ.js → chunk-SYUCEN76.js} +38 -38
- package/dist/{chunk-U5OSLUDU.js → chunk-ULSVYSVN.js} +1 -1
- package/dist/chunk-WBZO6WRU.js +8 -0
- package/dist/{chunk-7WN74O3J.js → chunk-XFN4DOXP.js} +2 -2
- package/dist/data/EntityList.js +1 -1
- package/dist/data/ListToolbar.js +1 -1
- package/dist/data/statusColumn.js +1 -1
- package/dist/forms/MediaLibrary.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +27 -27
- package/dist/routine-index.json +1 -1
- package/dist/shell/Drawer.d.ts +4 -5
- package/dist/shell/Drawer.js +1 -1
- package/dist/telemetry/index.js +1 -1
- package/dist/tokens/spacing.d.ts +4 -3
- package/dist/tokens/spacing.js +1 -1
- package/dist/ui/index.d.ts +1 -1
- package/dist/ui/index.js +1 -1
- package/dist/ui.css +17 -4
- package/dist/value-index.json +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-4Y3KQAAQ.js +0 -28
- package/dist/chunk-AW7TOB6N.js +0 -1
- package/dist/chunk-BNQ4BUPZ.js +0 -1
- package/dist/chunk-DTFX624I.js +0 -8
package/dist/shell/Drawer.d.ts
CHANGED
|
@@ -2,8 +2,8 @@ import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
|
2
2
|
import { ReactNode, RefObject } from 'react';
|
|
3
3
|
import { DialogDirty } from './discardGuard.js';
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
type
|
|
5
|
+
/** The one edge a drawer comes from. Left and right were removed in 15.0.0. */
|
|
6
|
+
type DrawerSide = 'bottom';
|
|
7
7
|
interface DrawerProps {
|
|
8
8
|
open: boolean;
|
|
9
9
|
/** Escape, the scrim and the cross — after the discard guard when `dirty`. */
|
|
@@ -11,7 +11,6 @@ interface DrawerProps {
|
|
|
11
11
|
/** Unsaved input the drawer holds; the same as `Dialog`'s `dirty`. */
|
|
12
12
|
dirty?: DialogDirty;
|
|
13
13
|
side?: DrawerSide;
|
|
14
|
-
size?: DrawerSize;
|
|
15
14
|
title?: ReactNode;
|
|
16
15
|
/**
|
|
17
16
|
* A line under the title — what the drawer is for, or whose it is — and what
|
|
@@ -48,6 +47,6 @@ interface DrawerProps {
|
|
|
48
47
|
'aria-describedby'?: string;
|
|
49
48
|
className?: string;
|
|
50
49
|
}
|
|
51
|
-
declare function Drawer({ open, onClose, side,
|
|
50
|
+
declare function Drawer({ open, onClose, side, title, description, footer, children, blocking, dirty, initialFocus, 'aria-label': ariaLabel, 'aria-labelledby': labelledBy, 'aria-describedby': describedBy, className, }: DrawerProps): react_jsx_runtime.JSX.Element | null;
|
|
52
51
|
|
|
53
|
-
export { type DrawerProps, type DrawerSide,
|
|
52
|
+
export { type DrawerProps, type DrawerSide, Drawer as default };
|
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-WBZO6WRU.js";import"../chunk-CJ4OEY3T.js";import"../chunk-AH5MLH54.js";import"../chunk-5YTZBYG4.js";import"../chunk-VWGWZY7A.js";import"../chunk-DBQNYJZ6.js";import"../chunk-F3ZOO23R.js";import"../chunk-DWGYC7OD.js";import"../chunk-MYH5H43C.js";import"../chunk-IVEM2BPC.js";import"../chunk-ISVODSRP.js";import"../chunk-J75ZT2JQ.js";import"../chunk-BWJZTHZ6.js";import"../chunk-AJPQJ7TC.js";import"../chunk-PGN5ME7B.js";import"../chunk-62LW225J.js";import"../chunk-TAHHZGRH.js";import"../chunk-KEFNQEXZ.js";import"../chunk-PU2GJVMG.js";import"../chunk-UQYNPYF4.js";import"../chunk-TWVUQUUD.js";import"../chunk-5FYDNH4Y.js";import"../chunk-LNXBTK7Q.js";import"../chunk-NRHG4R2Q.js";import"../chunk-C3QOHMR6.js";
|
package/dist/telemetry/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{startClientTelemetry}from"../chunk-
|
|
1
|
+
export{startClientTelemetry}from"../chunk-4RF3C523.js";import"../chunk-KNUR2UEG.js";import"../chunk-B34UWI47.js";
|
package/dist/tokens/spacing.d.ts
CHANGED
|
@@ -87,15 +87,16 @@ type ControlSize = keyof typeof CONTROL_HEIGHTS;
|
|
|
87
87
|
* to the control ladder for list and menu rows and for the window bar. A menu
|
|
88
88
|
* row, a start-menu row, a sidebar row, the sidebar search and a drop-down
|
|
89
89
|
* list's option row are 36 at the medium menu size. The main window bar (and
|
|
90
|
-
* the dialog-style bar, which is the same bar) is
|
|
91
|
-
*
|
|
90
|
+
* the dialog-style bar, which is the same bar) is 48, so a list toolbar's
|
|
91
|
+
* search and filters have room above and below (Victor Mau, 2026-11-22; it
|
|
92
|
+
* was 44, then 32 from 2026-10-18, then 40 from 2026-10-21). The compact
|
|
92
93
|
* app bar stays 32. Controls (buttons, fields, selects) stay on the ladder
|
|
93
94
|
* above. `--row-height-menu`,
|
|
94
95
|
* `--row-height-window-bar` and `--row-height-compact-bar` in `ui.css`.
|
|
95
96
|
*/
|
|
96
97
|
declare const ROW_HEIGHTS: {
|
|
97
98
|
readonly menu: 36;
|
|
98
|
-
readonly windowBar:
|
|
99
|
+
readonly windowBar: 48;
|
|
99
100
|
readonly compactBar: 32;
|
|
100
101
|
};
|
|
101
102
|
/**
|
package/dist/tokens/spacing.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{CONTROL_HEIGHTS,ROW_HEIGHTS,SPACING_ROLES,SPACING_SCALE,isSpacingStep}from"../chunk-
|
|
1
|
+
export{CONTROL_HEIGHTS,ROW_HEIGHTS,SPACING_ROLES,SPACING_SCALE,isSpacingStep}from"../chunk-SH7PJC4P.js";
|
package/dist/ui/index.d.ts
CHANGED
|
@@ -136,7 +136,7 @@ export { ToastAction, ToastCloseReason, ToastOptions, ToastPlacement, ToastUndoa
|
|
|
136
136
|
export { APP_UPDATE_POLL_MS, default as AppUpdateBanner, AppUpdateBannerProps, UseAppUpdateOptions, useAppUpdate } from '../shell/AppUpdateBanner.js';
|
|
137
137
|
export { default as Dialog, DialogProps, DialogSize } from '../shell/Dialog.js';
|
|
138
138
|
export { DialogDirty } from '../shell/discardGuard.js';
|
|
139
|
-
export { default as Drawer, DrawerProps, DrawerSide
|
|
139
|
+
export { default as Drawer, DrawerProps, DrawerSide } from '../shell/Drawer.js';
|
|
140
140
|
export { useFocusTrap, useScrollLock } from '../shell/focusTrap.js';
|
|
141
141
|
export { ConfirmProvider, confirm, confirmDestructive, prompt, useConfirm } from '../shell/ConfirmDialog.js';
|
|
142
142
|
export { default as GlobalSearch, GlobalSearchProps, SearchConfig, SearchListRoute, SearchProvider, SearchQuickAction, SearchResponse, SearchResult, openGlobalSearch } from '../shell/GlobalSearch.js';
|
package/dist/ui/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import"../chunk-SSAYFELC.js";export{FormLayoutPage}from"../chunk-6RU2PGQK.js";export{GalleryTemplate}from"../chunk-7D2QZ6JA.js";export{ACCENT_ROLES,COLOUR_ROLES,FLAT_STATUS_ROLES,IDENTITY_ROLES,NEUTRAL_ROLES,SCRIM_ROLES,STATUS_GROUPS,STATUS_ROLES}from"../chunk-VVJIKS47.js";export{ELEVATION_LEVELS,RADIUS_ROLES}from"../chunk-4MVRSCQE.js";export{AuthScreen}from"../chunk-47BGAQWD.js";export{ChatTemplate}from"../chunk-EHPY3BFC.js";export{CheckoutTemplate}from"../chunk-GY7MJTIZ.js";export{DashboardTemplate}from"../chunk-DO6P6LYU.js";export{DataTablePage}from"../chunk-UGA5NGW4.js";export{EmailTemplate}from"../chunk-RA5G4K3N.js";export{ErrorBoundary}from"../chunk-XJK6VNXV.js";export{ErrorPage}from"../chunk-6NXPOZ6X.js";export{useTransferProgress}from"../chunk-QHOEMRR7.js";export{Tabs,tabButtonId,tabPanelId}from"../chunk-NHALP3MW.js";export{Paragraph,Text,Title}from"../chunk-366URRSE.js";export{TimeAgo}from"../chunk-DV6TUXCZ.js";export{TopNav}from"../chunk-DBBOD5QW.js";export{Skeleton}from"../chunk-4Z62SEA5.js";export{ListRow,SortableList}from"../chunk-JPVD3VS7.js";export{Grid,Inline,Stack}from"../chunk-3RPER7VH.js";export{Statistic}from"../chunk-R3BSWWGB.js";export{Stepper}from"../chunk-KTO427N3.js";export{SettingReset}from"../chunk-HAEZUUDT.js";export{SettingRow}from"../chunk-LRMDLZMM.js";export{SidebarActionButton}from"../chunk-KMTCYDJH.js";export{SidebarLayout}from"../chunk-JU722M5V.js";export{SidebarGroupLabel,SidebarNavGroup,SidebarNavItem,SidebarSection}from"../chunk-QCLKRFL4.js";import"../chunk-QWK6DRSN.js";export{MetricBar}from"../chunk-PLESHI3E.js";export{isSeverityTone,severityOf}from"../chunk-TZFNWAED.js";export{MetricBarLegend}from"../chunk-VTCMO3K7.js";import"../chunk-URBCGEXG.js";export{MilestoneTimeline}from"../chunk-E57C7NBA.js";export{PageHeader}from"../chunk-3EYJ4G7L.js";export{POST_PRODUCTION_STATUSES,ProductionTimeline,STAGES,calcOverall,calcReportOverall,useProductionTimeline}from"../chunk-KE7P74XM.js";import"../chunk-S4Z657L6.js";export{TimelineTrack}from"../chunk-Q7FPGOUY.js";export{fmtSliderDate,toDayMs}from"../chunk-5CFERCYW.js";export{ResizeHandle}from"../chunk-5SQHRDFC.js";export{HelpCenter}from"../chunk-EHSK43WG.js";export{IconRail,IconRailButton}from"../chunk-XIX72C7K.js";import"../chunk-FQEALPZJ.js";export{LanguagePanel,LanguageSelect,languageSelectWidth}from"../chunk-EOYKUV2U.js";export{EditableGrid}from"../chunk-TFQC67XR.js";export{EmptyValue}from"../chunk-HNQPF5QZ.js";export{FloatingBar}from"../chunk-HX5QSQ2C.js";export{GlobalSearch,openGlobalSearch}from"../chunk-EHNW3UNC.js";export{pushRecent as pushRecentSearch,sanitizeRecent as sanitizeRecentSearches}from"../chunk-HGOWQO63.js";export{ContainerFillChart}from"../chunk-BL347U3N.js";export{CountBadge}from"../chunk-PFOTEDSQ.js";export{Accordion,AccordionBody,AccordionHeading}from"../chunk-3BQMICGG.js";export{APP_UPDATE_POLL_MS,AppUpdateBanner,useAppUpdate}from"../chunk-4BRVZAIW.js";export{BudgetBar,budgetState}from"../chunk-7B6JPNOD.js";export{Card,StatCard}from"../chunk-RKSCB5BJ.js";export{ENGLISH,SHELL_LANGUAGE_STORAGE_KEY,ShellLanguageProvider,matchShellLanguage,readSavedShellLanguage,resolveShellLanguage,saveShellLanguage,useShellLanguage}from"../chunk-GKYGPCGL.js";export{ICON_NAMES,isIconName}from"../chunk-3C7JKJGL.js";export{BRAND_ICON_NAMES,isBrandIconName}from"../chunk-RQGLDRRF.js";export{BRAND_MAX_HEIGHT,BRAND_MIN_HEIGHT_PX,brandBox}from"../chunk-64ACCUNN.js";export{WidthsBar}from"../chunk-ZA6ANC2D.js";export{COLUMN_COUNT_MAX,COLUMN_COUNT_WIDTHS,COLUMN_SHARES_EQUAL,COLUMN_SHARE_MIN,columnSharesWidths,resolveColumnShares,resolveColumnWidths}from"../chunk-PLGJOHEG.js";export{SplitButton_default as SplitButton}from"../chunk-FFPIT2LB.js";export{Switch_default as Switch}from"../chunk-M3R4C3A6.js";export{TagInput}from"../chunk-CHDGSJLV.js";export{TextToolbar,textToolbarRows,textToolbarWindowColumns}from"../chunk-DOJSWVBX.js";export{TEXT_ALIGNS,TEXT_ALIGN_FIT,TEXT_ALIGN_ICONS,textAlignFit,textAlignOptions,textAlignWords}from"../chunk-72UHB4JU.js";export{Textarea_default as Textarea}from"../chunk-PB7G6CJ7.js";export{TileButton_default as TileButton}from"../chunk-H2R4SNNO.js";export{TimePicker_default as TimePicker}from"../chunk-ZRWZHWKI.js";export{SearchInput_default as SearchInput}from"../chunk-TBDILJ6G.js";export{ShowWhen}from"../chunk-YEM4KYCW.js";export{SidesEachToggle,SidesInput,sidesStartEach}from"../chunk-P3XXFQG5.js";export{Slider,SliderGroup}from"../chunk-R36VZ35L.js";export{Snippet}from"../chunk-6AYAB5FN.js";export{NumericKeypad}from"../chunk-T46I4YOI.js";export{MAX_FRACTION_DIGITS,appendKey,backspace}from"../chunk-VEPVOHCV.js";export{PICTURE_TILES_COLUMNS_VAR,PictureTiles}from"../chunk-3L7BEEBW.js";export{PositionInput}from"../chunk-EN3GYSCE.js";export{RadioGroup}from"../chunk-32VV2J22.js";export{Radio_default as Radio}from"../chunk-NI5FXWK5.js";export{LinkPicker,TextLinkField}from"../chunk-YTLUSBDY.js";export{SearchableSelect}from"../chunk-Y7D2CZ4H.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-4Y3KQAAQ.js";export{Tree,TreeEmptySlot,TreeGroup,TreeGroupLabel,TreeRow,TreeSeam}from"../chunk-CXEELIRW.js";import"../chunk-P5J7G7OV.js";export{ImageLightbox,lightboxKind}from"../chunk-NDCS4COQ.js";export{LIGHTBOX_PICTURE_FIT,ZoomableImage}from"../chunk-CGUMJZUB.js";export{MarqueeBox}from"../chunk-IC72MGON.js";export{Drawer}from"../chunk-DTFX624I.js";export{EmptyState}from"../chunk-W3454ZES.js";export{DescriptionList}from"../chunk-SACUSHVN.js";export{Breadcrumbs}from"../chunk-WREUA43Q.js";export{mediaLibraryMenu}from"../chunk-UFJR63AO.js";export{mediaMoveItems,mediaMoveSubmenu,useMediaMoveItems}from"../chunk-GRAFJD3L.js";export{RenameField}from"../chunk-WYAKASF3.js";export{FULL_BADGE_TILE_PX,MediaUploadGrid}from"../chunk-Y5RTVKMB.js";export{MediaUsedInList}from"../chunk-U75MSD4F.js";export{NativeSelect,Select_default as Select}from"../chunk-EBODRYXS.js";import"../chunk-EO5RLFRX.js";import"../chunk-K5YT5PMJ.js";export{CornersInput}from"../chunk-2SOGTOUQ.js";export{DatePicker_default as DatePicker}from"../chunk-A3VLZZHJ.js";export{DateRangePicker,toISODate}from"../chunk-W4IH3BE3.js";export{DateTimePicker_default as DateTimePicker}from"../chunk-ROYHU3E5.js";export{DisplayChips}from"../chunk-NC5FIFAY.js";export{FilePicker_default as FilePicker}from"../chunk-YX3JD6PA.js";export{FormErrorSummary}from"../chunk-UDJPSHVI.js";export{BorderInput,borderSides,borderStartEach}from"../chunk-UYUNREAL.js";export{IconPicker}from"../chunk-3ZJAQSFS.js";export{BrandAssetEditor}from"../chunk-PTLVNC3V.js";export{MediaUploadField}from"../chunk-Y6FULJWJ.js";export{ImageFocusPoint}from"../chunk-CUJ537IY.js";export{FormField}from"../chunk-6KBDNYRW.js";export{BrandMark,resolveBrandMarkTreatment}from"../chunk-MI67DI3H.js";export{Calendar}from"../chunk-PPHGBEJA.js";export{ColorPicker,ColorPickerPanel,ColorSwatch,HexInput,colorFill,colorSwatchClasses}from"../chunk-EEAOFYW5.js";export{Popover}from"../chunk-VUBDHFG5.js";export{InputNumber_default as InputNumber}from"../chunk-I7WAOKU2.js";export{UnitMenu}from"../chunk-GVAVIYE6.js";export{WidestLabel}from"../chunk-X3LMTOMA.js";export{useSettingAuto,useSettingRowName}from"../chunk-2NMW66P5.js";export{useDebouncedValue}from"../chunk-SLGT5WPJ.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{useRootIsDark}from"../chunk-UPXDDO3U.js";export{CORNERS,CORNERS_FOR_THEME,applyCorners,applyIconSet,applyThemePrefs,cornersFor,resolveCorners,resolveTheme,useTheme}from"../chunk-4K32E3AO.js";export{ICON_SET_FOR_THEME,THEME_ICON_SETS,iconSetFor,loadIconSet}from"../chunk-VQCKMT5F.js";export{AlignmentGrid}from"../chunk-MKHOXO5O.js";export{statusColumn}from"../chunk-WBUAO7T7.js";export{BORDER_WIDTHS,FONT_WEIGHTS,MOTION_DURATIONS,TYPE_SCALE}from"../chunk-LH7IKIGE.js";import"../chunk-UVCMV2TL.js";export{useSort}from"../chunk-22SVN2ZM.js";export{slugify}from"../chunk-24AL3CDS.js";export{ENTRANCE_ATTR,ENTRANCE_FROM,ENTRANCE_FROM_ATTR,ENTRANCE_FROM_DEFAULT,ENTRANCE_KINDS,ENTRANCE_KINDS_WITH_FROM,ENTRANCE_STATE_ATTR,armEntrance,entranceAttrs,playEntrance,readEntrance}from"../chunk-YYGA4Y6E.js";export{HOVER_MOTION,MOTION_EASING,MOTION_GROUPS,MOTION_TIMING,motionSeconds,rotateDegrees}from"../chunk-AIJ3G6BD.js";export{hexWithAlpha,mixHex,rgbToHex}from"../chunk-CJSZW3OS.js";export{addShowWhenFacts,isShown,lazyShowWhenContext,showWhenFactReaders,showWhenFactsContext,showWhenOf,shownForOption,truthy,withRowRules,withRowsShownWhen,withShowWhen,withShowWhenFacts}from"../chunk-HCP7WOAL.js";export{gridColumnCount}from"../chunk-VNNVG4NR.js";export{BORDER_LINE_STYLES}from"../chunk-NOMWJTN2.js";export{FOCAL_DEFAULT,FOCAL_NUDGE_COARSE,FOCAL_NUDGE_STEP,focalFromRect,formatFocal,nudgeFocal,parseFocal}from"../chunk-25RR3GQW.js";export{contrastRatio,hexToHsv,hexToRgb,hsvToHex,parseHexColor,readableInk,relativeLuminance}from"../chunk-S6OB6HJB.js";export{DataTable}from"../chunk-2RLWGWOU.js";export{EntityList}from"../chunk-KC4ZURGJ.js";import"../chunk-XYVFJLAU.js";export{ResizableTable}from"../chunk-4SFWQPOB.js";export{useClickOutside}from"../chunk-SI26KESU.js";export{useColumnConfig}from"../chunk-XGEN76DG.js";import"../chunk-ULJQYXHB.js";export{useTableNav}from"../chunk-ATMJ5ZPK.js";export{escapeHtml}from"../chunk-G6DKCCWH.js";export{Checkbox_default as Checkbox}from"../chunk-CGZBDI6C.js";export{Gantt}from"../chunk-SP4S4HUJ.js";export{Segmented}from"../chunk-ALZHFQRX.js";import"../chunk-EFKJLUYP.js";export{Kanban}from"../chunk-MXRF5YVN.js";export{ListFooter}from"../chunk-U73K3ICC.js";export{ListLoadError}from"../chunk-7OVMWXFM.js";export{ListToolbar}from"../chunk-HOPHOF2C.js";export{Pagination}from"../chunk-Q2RNFBYS.js";export{PortalBrandingProvider,resolvePortalBrandAsset,usePortalBranding}from"../chunk-ACYYVK6G.js";export{TreemapChart}from"../chunk-4DNPUG3T.js";export{squarify}from"../chunk-46BYGPGD.js";export{WaterfallChart}from"../chunk-WCAABJEV.js";export{RangeChart}from"../chunk-Q7CM4UDG.js";export{RankedBars}from"../chunk-53HHYEN4.js";export{SankeyChart}from"../chunk-PWON7O3N.js";export{SCATTER_SERIES_CAP,ScatterChart}from"../chunk-PPI4WJ3V.js";export{StatTile}from"../chunk-XX34ZFYB.js";export{Sparkline}from"../chunk-CKCDGSTC.js";export{SunburstChart}from"../chunk-ZEGCKIAL.js";export{FunnelChart}from"../chunk-QZ2XRFDP.js";export{HeatmapChart}from"../chunk-FBI3XJWH.js";export{HistogramChart}from"../chunk-N64YAF5N.js";export{Meter}from"../chunk-MMA3WTF2.js";export{PieChart}from"../chunk-6EGZ4PV4.js";export{RADAR_SERIES_CAP,RadarChart}from"../chunk-MNZAAQLH.js";export{RadialBarChart}from"../chunk-OOND66P2.js";export{ChordChart}from"../chunk-HTBACICQ.js";import"../chunk-24BF22NF.js";export{StepChain,StepChainItem}from"../chunk-Z2Z653OO.js";export{Markdown,Markdown as MarkdownLite,plainCell,tableToCsv}from"../chunk-IZ6D4KGR.js";export{Divider}from"../chunk-DFOFEBYX.js";export{Avatar,AvatarGroup}from"../chunk-SCNQK5NF.js";import"../chunk-UJUTS6LJ.js";export{isSafeLinkHref}from"../chunk-Z5TE3MEG.js";export{ContextMenu,useContextMenu}from"../chunk-5O4HMXPQ.js";export{Banner}from"../chunk-OSMRYND3.js";export{Input_default as Input}from"../chunk-W6REY3SV.js";export{INPUT_BASE,INPUT_SIZES,PLACEHOLDER_INK,inputClasses}from"../chunk-AYZY3YNC.js";export{AttachButton,AttachmentDropZone,AttachmentList,ComposerAttachments,PaperclipGlyph}from"../chunk-RXCBSQA2.js";export{mediaFileName}from"../chunk-MPC3CHAO.js";export{TransferProgress}from"../chunk-ION3XGLN.js";export{FileIntakeAlert,acceptsFile,useFileIntake}from"../chunk-TNGIXSTM.js";export{CHART_SPEC_LIMITS,parseChartSpec}from"../chunk-CR7T435F.js";export{SpecChart}from"../chunk-DNPAYNNU.js";export{currencyDecimals,currencySymbol,formatBytes,formatMoney,setCurrencyFormats,timeAgo}from"../chunk-OJI4ROSD.js";export{DATE_FORMAT_OPTIONS,TZ_AUTO,dayKeyInZone,firstDayOfWeek,formatDate,formatDateTime,formatTime,getUserDateFormat,getUserTimezone,instantOnDayKey,knownZone,setUserDateFormat,setUserTimezone,syncTimezoneFromProfile,userToday,userZone}from"../chunk-NHKT5IH6.js";export{EMPTY_VALUE}from"../chunk-36BRD5J3.js";export{DAY_MS,fromDateKey,toDateKey}from"../chunk-JRQMX4PK.js";import"../chunk-LF27WIN2.js";export{TimeSeriesChart}from"../chunk-P5TSGXL4.js";export{DEFAULT_FLOW_CHART_LABELS,FlowChart}from"../chunk-OYQWBJ37.js";export{FLOW_LAYOUT,FLOW_SPEC_LIMITS,layoutFlow,parseFlowSpec}from"../chunk-FAERBT6Y.js";export{ChartBrush}from"../chunk-SAMPXZF3.js";export{ChartDot}from"../chunk-CK2YOGUS.js";export{ChartFrame}from"../chunk-A6TOHNJY.js";export{arcPath,areaBetween,areaFrom,bumpPath,curvePath,linearPath,monotonePath,polygonPoints,splinePath,stepPath}from"../chunk-VFC6QUEN.js";export{ColumnChart}from"../chunk-AQVPWUJ3.js";export{ChartDefs,MOTION,dashFor,fillFor,fillId,glowId,groundId,maskId,stagger}from"../chunk-465RRWBY.js";export{ChartSkeleton}from"../chunk-MEFB2KGF.js";export{ChartHighlightProvider,autoHighlightIndex,highlightOpacity,useHighlight}from"../chunk-CNYAHYE6.js";export{ImageAnnotator_default as ImageAnnotator}from"../chunk-TDUOBP55.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-PSVGB7KT.js";import"../chunk-YI4T5I5D.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-TTD2M6RF.js";import"../chunk-5A7MWTXX.js";export{ConfirmProvider,confirm,confirmDestructive,prompt,useConfirm}from"../chunk-2XDO7FZC.js";export{Dialog}from"../chunk-ZSVU44OB.js";import"../chunk-EIFNESXS.js";export{ItemCount}from"../chunk-7WF6LFOJ.js";import"../chunk-CJ4OEY3T.js";import"../chunk-AH5MLH54.js";import"../chunk-5YTZBYG4.js";import"../chunk-VWGWZY7A.js";import"../chunk-DBQNYJZ6.js";export{ColoredBadge}from"../chunk-6X32SWQI.js";export{CONTROL_HEIGHTS,ROW_HEIGHTS,SPACING_ROLES,SPACING_SCALE,isSpacingStep}from"../chunk-AW7TOB6N.js";export{parseOption}from"../chunk-YPXONNBV.js";import"../chunk-4PJFL26P.js";import"../chunk-2QY5BJLA.js";export{useIsMobile}from"../chunk-UGTRSRIW.js";export{ShellPrefsProvider,useLocalStoragePrefs,useShellPrefs}from"../chunk-POBVGDZP.js";import"../chunk-F3ZOO23R.js";export{VERSION}from"../chunk-BNQ4BUPZ.js";export{DropdownMenu}from"../chunk-M5IZ7QLQ.js";import"../chunk-XNKNX5L3.js";export{useFocusTrap,useScrollLock}from"../chunk-DWGYC7OD.js";export{IconButton_default as IconButton}from"../chunk-MYH5H43C.js";export{GROUP_COLORS,GROUP_COLORS_SOLID,StatusBadge,StatusBadgeProvider,groupColors,statusLabel,useStatusLabel}from"../chunk-EDRELF6L.js";export{PopupMenu,PopupMenuDivider,PopupMenuItem,PopupMenuLabel,PopupSubmenu}from"../chunk-RTK77DMP.js";import"../chunk-URHGHXDN.js";export{MENU_ON_MEDIA_ATTR,leavesContextMenuAlone}from"../chunk-5QFPTDQF.js";export{Button_default as Button}from"../chunk-MEP6CZJ3.js";import"../chunk-IVEM2BPC.js";export{Icon}from"../chunk-ISVODSRP.js";export{activeIconSet,iconSets,iconsVersion,registerIconSet,registerIcons,resolveIcon,setDefaultIconSet,setIconSet,subscribeIcons}from"../chunk-J75ZT2JQ.js";export{LoadingSpinner,SpinnerRing}from"../chunk-R2VKEMZH.js";import"../chunk-BWJZTHZ6.js";import"../chunk-G3TC2GIA.js";export{Tooltip}from"../chunk-AJPQJ7TC.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-TAHHZGRH.js";import"../chunk-KEFNQEXZ.js";import"../chunk-PU2GJVMG.js";export{setShellApiClient}from"../chunk-STKJA4PV.js";export{FitFrame,fitBoxScale,fitFrameStyle,fitScale}from"../chunk-M6UKCZHT.js";export{UNDOABLE_MS,toast_default as toast}from"../chunk-I2NVBDKH.js";export{buttonClasses,iconButtonClasses}from"../chunk-UQYNPYF4.js";import"../chunk-MRJKZWWV.js";export{BoxPlotChart}from"../chunk-P234FPKJ.js";export{CandlestickChart}from"../chunk-BEXFMSNK.js";export{CartesianPlot}from"../chunk-S4RD6UJU.js";import"../chunk-LLSGIMLG.js";export{angleScale,bandScale,binValues,ladderScale,linearScale,logScale,niceAxis,niceMax,radiusScale}from"../chunk-2JWPNR2U.js";export{ChartTooltip}from"../chunk-WDQI3FV6.js";export{CHART_INK,SERIES_SLOT_COUNT,SERIES_VARS,STATUS_VARS,assignSeriesSlots,resolveSeriesColor,resolveSeriesColorWithin,seriesColor,toggleSeriesSlot}from"../chunk-TZFACUMR.js";export{registerModalEscapeInterceptor}from"../chunk-TWVUQUUD.js";export{GLASS_DIVIDER,glassStyle,solidSurfaceStyle}from"../chunk-5FYDNH4Y.js";import"../chunk-LNXBTK7Q.js";export{usePlotWidth}from"../chunk-MAFUXCPZ.js";export{DEFAULT_SHELL_STRINGS,ShellStringsProvider,useShellLocale,useShellStrings}from"../chunk-NRHG4R2Q.js";import"../chunk-C3QOHMR6.js";
|
|
2
|
+
import"../chunk-SSAYFELC.js";export{FormLayoutPage}from"../chunk-6RU2PGQK.js";export{GalleryTemplate}from"../chunk-7D2QZ6JA.js";export{ACCENT_ROLES,COLOUR_ROLES,FLAT_STATUS_ROLES,IDENTITY_ROLES,NEUTRAL_ROLES,SCRIM_ROLES,STATUS_GROUPS,STATUS_ROLES}from"../chunk-VVJIKS47.js";export{ELEVATION_LEVELS,RADIUS_ROLES}from"../chunk-4MVRSCQE.js";export{AuthScreen}from"../chunk-47BGAQWD.js";export{ChatTemplate}from"../chunk-EHPY3BFC.js";export{CheckoutTemplate}from"../chunk-GY7MJTIZ.js";export{DashboardTemplate}from"../chunk-DO6P6LYU.js";export{DataTablePage}from"../chunk-UGA5NGW4.js";export{EmailTemplate}from"../chunk-RA5G4K3N.js";export{ErrorBoundary}from"../chunk-XJK6VNXV.js";export{ErrorPage}from"../chunk-6NXPOZ6X.js";export{useTransferProgress}from"../chunk-QHOEMRR7.js";export{Tabs,tabButtonId,tabPanelId}from"../chunk-NHALP3MW.js";export{Paragraph,Text,Title}from"../chunk-366URRSE.js";export{TimeAgo}from"../chunk-DV6TUXCZ.js";export{TopNav}from"../chunk-DBBOD5QW.js";export{Skeleton}from"../chunk-4Z62SEA5.js";export{ListRow,SortableList}from"../chunk-JPVD3VS7.js";export{Grid,Inline,Stack}from"../chunk-3RPER7VH.js";export{Statistic}from"../chunk-R3BSWWGB.js";export{Stepper}from"../chunk-KTO427N3.js";export{SettingReset}from"../chunk-HAEZUUDT.js";export{SettingRow}from"../chunk-LRMDLZMM.js";export{SidebarActionButton}from"../chunk-KMTCYDJH.js";export{SidebarLayout}from"../chunk-JU722M5V.js";export{SidebarGroupLabel,SidebarNavGroup,SidebarNavItem,SidebarSection}from"../chunk-QCLKRFL4.js";import"../chunk-QWK6DRSN.js";export{MetricBar}from"../chunk-PLESHI3E.js";export{isSeverityTone,severityOf}from"../chunk-TZFNWAED.js";export{MetricBarLegend}from"../chunk-VTCMO3K7.js";import"../chunk-URBCGEXG.js";export{MilestoneTimeline}from"../chunk-E57C7NBA.js";export{PageHeader}from"../chunk-3EYJ4G7L.js";export{POST_PRODUCTION_STATUSES,ProductionTimeline,STAGES,calcOverall,calcReportOverall,useProductionTimeline}from"../chunk-KE7P74XM.js";import"../chunk-S4Z657L6.js";export{TimelineTrack}from"../chunk-Q7FPGOUY.js";export{fmtSliderDate,toDayMs}from"../chunk-5CFERCYW.js";export{ResizeHandle}from"../chunk-5SQHRDFC.js";export{HelpCenter}from"../chunk-EHSK43WG.js";export{IconRail,IconRailButton}from"../chunk-XIX72C7K.js";import"../chunk-FQEALPZJ.js";export{LanguagePanel,LanguageSelect,languageSelectWidth}from"../chunk-EOYKUV2U.js";export{EditableGrid}from"../chunk-TFQC67XR.js";export{EmptyValue}from"../chunk-HNQPF5QZ.js";export{FloatingBar}from"../chunk-HX5QSQ2C.js";export{GlobalSearch,openGlobalSearch}from"../chunk-EHNW3UNC.js";export{pushRecent as pushRecentSearch,sanitizeRecent as sanitizeRecentSearches}from"../chunk-HGOWQO63.js";export{ContainerFillChart}from"../chunk-BL347U3N.js";export{CountBadge}from"../chunk-PFOTEDSQ.js";export{Accordion,AccordionBody,AccordionHeading}from"../chunk-3BQMICGG.js";export{APP_UPDATE_POLL_MS,AppUpdateBanner,useAppUpdate}from"../chunk-4BRVZAIW.js";export{BudgetBar,budgetState}from"../chunk-7B6JPNOD.js";export{Card,StatCard}from"../chunk-RKSCB5BJ.js";export{ENGLISH,SHELL_LANGUAGE_STORAGE_KEY,ShellLanguageProvider,matchShellLanguage,readSavedShellLanguage,resolveShellLanguage,saveShellLanguage,useShellLanguage}from"../chunk-GKYGPCGL.js";export{ICON_NAMES,isIconName}from"../chunk-3C7JKJGL.js";export{BRAND_ICON_NAMES,isBrandIconName}from"../chunk-RQGLDRRF.js";export{BRAND_MAX_HEIGHT,BRAND_MIN_HEIGHT_PX,brandBox}from"../chunk-64ACCUNN.js";export{WidthsBar}from"../chunk-ZA6ANC2D.js";export{COLUMN_COUNT_MAX,COLUMN_COUNT_WIDTHS,COLUMN_SHARES_EQUAL,COLUMN_SHARE_MIN,columnSharesWidths,resolveColumnShares,resolveColumnWidths}from"../chunk-PLGJOHEG.js";export{SplitButton_default as SplitButton}from"../chunk-FFPIT2LB.js";export{Switch_default as Switch}from"../chunk-M3R4C3A6.js";export{TagInput}from"../chunk-CHDGSJLV.js";export{TextToolbar,textToolbarRows,textToolbarWindowColumns}from"../chunk-DOJSWVBX.js";export{TEXT_ALIGNS,TEXT_ALIGN_FIT,TEXT_ALIGN_ICONS,textAlignFit,textAlignOptions,textAlignWords}from"../chunk-72UHB4JU.js";export{Textarea_default as Textarea}from"../chunk-PB7G6CJ7.js";export{TileButton_default as TileButton}from"../chunk-H2R4SNNO.js";export{TimePicker_default as TimePicker}from"../chunk-ZRWZHWKI.js";export{SearchInput_default as SearchInput}from"../chunk-TBDILJ6G.js";export{ShowWhen}from"../chunk-YEM4KYCW.js";export{SidesEachToggle,SidesInput,sidesStartEach}from"../chunk-P3XXFQG5.js";export{Slider,SliderGroup}from"../chunk-R36VZ35L.js";export{Snippet}from"../chunk-6AYAB5FN.js";export{NumericKeypad}from"../chunk-T46I4YOI.js";export{MAX_FRACTION_DIGITS,appendKey,backspace}from"../chunk-VEPVOHCV.js";export{PICTURE_TILES_COLUMNS_VAR,PictureTiles}from"../chunk-3L7BEEBW.js";export{PositionInput}from"../chunk-EN3GYSCE.js";export{RadioGroup}from"../chunk-32VV2J22.js";export{Radio_default as Radio}from"../chunk-NI5FXWK5.js";export{LinkPicker,TextLinkField}from"../chunk-YTLUSBDY.js";export{SearchableSelect}from"../chunk-Y7D2CZ4H.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-OJYEGB74.js";export{Tree,TreeEmptySlot,TreeGroup,TreeGroupLabel,TreeRow,TreeSeam}from"../chunk-CXEELIRW.js";import"../chunk-P5J7G7OV.js";export{ImageLightbox,lightboxKind}from"../chunk-NDCS4COQ.js";export{LIGHTBOX_PICTURE_FIT,ZoomableImage}from"../chunk-CGUMJZUB.js";export{MarqueeBox}from"../chunk-IC72MGON.js";export{Drawer}from"../chunk-WBZO6WRU.js";export{EmptyState}from"../chunk-W3454ZES.js";export{DescriptionList}from"../chunk-SACUSHVN.js";export{Breadcrumbs}from"../chunk-WREUA43Q.js";export{mediaLibraryMenu}from"../chunk-UFJR63AO.js";export{mediaMoveItems,mediaMoveSubmenu,useMediaMoveItems}from"../chunk-GRAFJD3L.js";export{RenameField}from"../chunk-WYAKASF3.js";export{FULL_BADGE_TILE_PX,MediaUploadGrid}from"../chunk-Y5RTVKMB.js";export{MediaUsedInList}from"../chunk-U75MSD4F.js";export{NativeSelect,Select_default as Select}from"../chunk-EBODRYXS.js";import"../chunk-EO5RLFRX.js";import"../chunk-K5YT5PMJ.js";export{CornersInput}from"../chunk-2SOGTOUQ.js";export{DatePicker_default as DatePicker}from"../chunk-A3VLZZHJ.js";export{DateRangePicker,toISODate}from"../chunk-W4IH3BE3.js";export{DateTimePicker_default as DateTimePicker}from"../chunk-ROYHU3E5.js";export{DisplayChips}from"../chunk-NC5FIFAY.js";export{FilePicker_default as FilePicker}from"../chunk-YX3JD6PA.js";export{FormErrorSummary}from"../chunk-UDJPSHVI.js";export{BorderInput,borderSides,borderStartEach}from"../chunk-UYUNREAL.js";export{IconPicker}from"../chunk-3ZJAQSFS.js";export{BrandAssetEditor}from"../chunk-PTLVNC3V.js";export{MediaUploadField}from"../chunk-Y6FULJWJ.js";export{ImageFocusPoint}from"../chunk-CUJ537IY.js";export{FormField}from"../chunk-6KBDNYRW.js";export{BrandMark,resolveBrandMarkTreatment}from"../chunk-MI67DI3H.js";export{Calendar}from"../chunk-PPHGBEJA.js";export{ColorPicker,ColorPickerPanel,ColorSwatch,HexInput,colorFill,colorSwatchClasses}from"../chunk-EEAOFYW5.js";export{Popover}from"../chunk-VUBDHFG5.js";export{InputNumber_default as InputNumber}from"../chunk-I7WAOKU2.js";export{UnitMenu}from"../chunk-GVAVIYE6.js";export{WidestLabel}from"../chunk-X3LMTOMA.js";export{useSettingAuto,useSettingRowName}from"../chunk-2NMW66P5.js";export{useDebouncedValue}from"../chunk-SLGT5WPJ.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{useRootIsDark}from"../chunk-UPXDDO3U.js";export{CORNERS,CORNERS_FOR_THEME,applyCorners,applyIconSet,applyThemePrefs,cornersFor,resolveCorners,resolveTheme,useTheme}from"../chunk-4K32E3AO.js";export{ICON_SET_FOR_THEME,THEME_ICON_SETS,iconSetFor,loadIconSet}from"../chunk-VQCKMT5F.js";export{AlignmentGrid}from"../chunk-MKHOXO5O.js";export{statusColumn}from"../chunk-O7A7PH3R.js";export{BORDER_WIDTHS,FONT_WEIGHTS,MOTION_DURATIONS,TYPE_SCALE}from"../chunk-LH7IKIGE.js";import"../chunk-UVCMV2TL.js";export{useSort}from"../chunk-22SVN2ZM.js";export{slugify}from"../chunk-24AL3CDS.js";export{ENTRANCE_ATTR,ENTRANCE_FROM,ENTRANCE_FROM_ATTR,ENTRANCE_FROM_DEFAULT,ENTRANCE_KINDS,ENTRANCE_KINDS_WITH_FROM,ENTRANCE_STATE_ATTR,armEntrance,entranceAttrs,playEntrance,readEntrance}from"../chunk-YYGA4Y6E.js";export{HOVER_MOTION,MOTION_EASING,MOTION_GROUPS,MOTION_TIMING,motionSeconds,rotateDegrees}from"../chunk-AIJ3G6BD.js";export{hexWithAlpha,mixHex,rgbToHex}from"../chunk-CJSZW3OS.js";export{addShowWhenFacts,isShown,lazyShowWhenContext,showWhenFactReaders,showWhenFactsContext,showWhenOf,shownForOption,truthy,withRowRules,withRowsShownWhen,withShowWhen,withShowWhenFacts}from"../chunk-HCP7WOAL.js";export{gridColumnCount}from"../chunk-VNNVG4NR.js";export{BORDER_LINE_STYLES}from"../chunk-NOMWJTN2.js";export{FOCAL_DEFAULT,FOCAL_NUDGE_COARSE,FOCAL_NUDGE_STEP,focalFromRect,formatFocal,nudgeFocal,parseFocal}from"../chunk-25RR3GQW.js";export{contrastRatio,hexToHsv,hexToRgb,hsvToHex,parseHexColor,readableInk,relativeLuminance}from"../chunk-S6OB6HJB.js";export{DataTable}from"../chunk-2RLWGWOU.js";export{EntityList}from"../chunk-2TNG32QT.js";import"../chunk-XYVFJLAU.js";export{ResizableTable}from"../chunk-4SFWQPOB.js";export{useClickOutside}from"../chunk-SI26KESU.js";export{useColumnConfig}from"../chunk-XGEN76DG.js";import"../chunk-ULJQYXHB.js";export{useTableNav}from"../chunk-ATMJ5ZPK.js";export{escapeHtml}from"../chunk-G6DKCCWH.js";export{Checkbox_default as Checkbox}from"../chunk-CGZBDI6C.js";export{Gantt}from"../chunk-SP4S4HUJ.js";export{Segmented}from"../chunk-ALZHFQRX.js";import"../chunk-EFKJLUYP.js";export{Kanban}from"../chunk-MXRF5YVN.js";export{ListFooter}from"../chunk-U73K3ICC.js";export{ListLoadError}from"../chunk-7OVMWXFM.js";export{ListToolbar}from"../chunk-KETNB4NQ.js";export{Pagination}from"../chunk-Q2RNFBYS.js";export{PortalBrandingProvider,resolvePortalBrandAsset,usePortalBranding}from"../chunk-ACYYVK6G.js";export{TreemapChart}from"../chunk-4DNPUG3T.js";export{squarify}from"../chunk-46BYGPGD.js";export{WaterfallChart}from"../chunk-WCAABJEV.js";export{RangeChart}from"../chunk-Q7CM4UDG.js";export{RankedBars}from"../chunk-53HHYEN4.js";export{SankeyChart}from"../chunk-PWON7O3N.js";export{SCATTER_SERIES_CAP,ScatterChart}from"../chunk-PPI4WJ3V.js";export{StatTile}from"../chunk-XX34ZFYB.js";export{Sparkline}from"../chunk-CKCDGSTC.js";export{SunburstChart}from"../chunk-ZEGCKIAL.js";export{FunnelChart}from"../chunk-QZ2XRFDP.js";export{HeatmapChart}from"../chunk-FBI3XJWH.js";export{HistogramChart}from"../chunk-N64YAF5N.js";export{Meter}from"../chunk-MMA3WTF2.js";export{PieChart}from"../chunk-6EGZ4PV4.js";export{RADAR_SERIES_CAP,RadarChart}from"../chunk-MNZAAQLH.js";export{RadialBarChart}from"../chunk-OOND66P2.js";export{ChordChart}from"../chunk-HTBACICQ.js";import"../chunk-24BF22NF.js";export{StepChain,StepChainItem}from"../chunk-Z2Z653OO.js";export{Markdown,Markdown as MarkdownLite,plainCell,tableToCsv}from"../chunk-IZ6D4KGR.js";export{Divider}from"../chunk-DFOFEBYX.js";export{Avatar,AvatarGroup}from"../chunk-SCNQK5NF.js";import"../chunk-UJUTS6LJ.js";export{isSafeLinkHref}from"../chunk-Z5TE3MEG.js";export{ContextMenu,useContextMenu}from"../chunk-5O4HMXPQ.js";export{Banner}from"../chunk-OSMRYND3.js";export{Input_default as Input}from"../chunk-W6REY3SV.js";export{INPUT_BASE,INPUT_SIZES,PLACEHOLDER_INK,inputClasses}from"../chunk-AYZY3YNC.js";export{AttachButton,AttachmentDropZone,AttachmentList,ComposerAttachments,PaperclipGlyph}from"../chunk-RXCBSQA2.js";export{mediaFileName}from"../chunk-MPC3CHAO.js";export{TransferProgress}from"../chunk-ION3XGLN.js";export{FileIntakeAlert,acceptsFile,useFileIntake}from"../chunk-TNGIXSTM.js";export{CHART_SPEC_LIMITS,parseChartSpec}from"../chunk-CR7T435F.js";export{SpecChart}from"../chunk-DNPAYNNU.js";export{currencyDecimals,currencySymbol,formatBytes,formatMoney,setCurrencyFormats,timeAgo}from"../chunk-OJI4ROSD.js";export{DATE_FORMAT_OPTIONS,TZ_AUTO,dayKeyInZone,firstDayOfWeek,formatDate,formatDateTime,formatTime,getUserDateFormat,getUserTimezone,instantOnDayKey,knownZone,setUserDateFormat,setUserTimezone,syncTimezoneFromProfile,userToday,userZone}from"../chunk-NHKT5IH6.js";export{EMPTY_VALUE}from"../chunk-36BRD5J3.js";export{DAY_MS,fromDateKey,toDateKey}from"../chunk-JRQMX4PK.js";import"../chunk-LF27WIN2.js";export{TimeSeriesChart}from"../chunk-P5TSGXL4.js";export{DEFAULT_FLOW_CHART_LABELS,FlowChart}from"../chunk-OYQWBJ37.js";export{FLOW_LAYOUT,FLOW_SPEC_LIMITS,layoutFlow,parseFlowSpec}from"../chunk-FAERBT6Y.js";export{ChartBrush}from"../chunk-SAMPXZF3.js";export{ChartDot}from"../chunk-CK2YOGUS.js";export{ChartFrame}from"../chunk-A6TOHNJY.js";export{arcPath,areaBetween,areaFrom,bumpPath,curvePath,linearPath,monotonePath,polygonPoints,splinePath,stepPath}from"../chunk-VFC6QUEN.js";export{ColumnChart}from"../chunk-AQVPWUJ3.js";export{ChartDefs,MOTION,dashFor,fillFor,fillId,glowId,groundId,maskId,stagger}from"../chunk-465RRWBY.js";export{ChartSkeleton}from"../chunk-MEFB2KGF.js";export{ChartHighlightProvider,autoHighlightIndex,highlightOpacity,useHighlight}from"../chunk-CNYAHYE6.js";export{ImageAnnotator_default as ImageAnnotator}from"../chunk-TDUOBP55.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-PSVGB7KT.js";import"../chunk-YI4T5I5D.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-TTD2M6RF.js";import"../chunk-5A7MWTXX.js";export{ConfirmProvider,confirm,confirmDestructive,prompt,useConfirm}from"../chunk-2XDO7FZC.js";export{Dialog}from"../chunk-ZSVU44OB.js";import"../chunk-EIFNESXS.js";export{ItemCount}from"../chunk-7WF6LFOJ.js";import"../chunk-CJ4OEY3T.js";import"../chunk-AH5MLH54.js";import"../chunk-5YTZBYG4.js";import"../chunk-VWGWZY7A.js";import"../chunk-DBQNYJZ6.js";export{ColoredBadge}from"../chunk-6X32SWQI.js";export{CONTROL_HEIGHTS,ROW_HEIGHTS,SPACING_ROLES,SPACING_SCALE,isSpacingStep}from"../chunk-SH7PJC4P.js";export{parseOption}from"../chunk-YPXONNBV.js";import"../chunk-4PJFL26P.js";import"../chunk-2QY5BJLA.js";export{useIsMobile}from"../chunk-UGTRSRIW.js";export{ShellPrefsProvider,useLocalStoragePrefs,useShellPrefs}from"../chunk-POBVGDZP.js";import"../chunk-F3ZOO23R.js";export{VERSION}from"../chunk-B34UWI47.js";export{DropdownMenu}from"../chunk-M5IZ7QLQ.js";import"../chunk-XNKNX5L3.js";export{useFocusTrap,useScrollLock}from"../chunk-DWGYC7OD.js";export{IconButton_default as IconButton}from"../chunk-MYH5H43C.js";export{GROUP_COLORS,GROUP_COLORS_SOLID,StatusBadge,StatusBadgeProvider,groupColors,statusLabel,useStatusLabel}from"../chunk-EDRELF6L.js";export{PopupMenu,PopupMenuDivider,PopupMenuItem,PopupMenuLabel,PopupSubmenu}from"../chunk-RTK77DMP.js";import"../chunk-URHGHXDN.js";export{MENU_ON_MEDIA_ATTR,leavesContextMenuAlone}from"../chunk-5QFPTDQF.js";export{Button_default as Button}from"../chunk-MEP6CZJ3.js";import"../chunk-IVEM2BPC.js";export{Icon}from"../chunk-ISVODSRP.js";export{activeIconSet,iconSets,iconsVersion,registerIconSet,registerIcons,resolveIcon,setDefaultIconSet,setIconSet,subscribeIcons}from"../chunk-J75ZT2JQ.js";export{LoadingSpinner,SpinnerRing}from"../chunk-R2VKEMZH.js";import"../chunk-BWJZTHZ6.js";import"../chunk-G3TC2GIA.js";export{Tooltip}from"../chunk-AJPQJ7TC.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-TAHHZGRH.js";import"../chunk-KEFNQEXZ.js";import"../chunk-PU2GJVMG.js";export{setShellApiClient}from"../chunk-STKJA4PV.js";export{FitFrame,fitBoxScale,fitFrameStyle,fitScale}from"../chunk-M6UKCZHT.js";export{UNDOABLE_MS,toast_default as toast}from"../chunk-I2NVBDKH.js";export{buttonClasses,iconButtonClasses}from"../chunk-UQYNPYF4.js";import"../chunk-MRJKZWWV.js";export{BoxPlotChart}from"../chunk-P234FPKJ.js";export{CandlestickChart}from"../chunk-BEXFMSNK.js";export{CartesianPlot}from"../chunk-S4RD6UJU.js";import"../chunk-LLSGIMLG.js";export{angleScale,bandScale,binValues,ladderScale,linearScale,logScale,niceAxis,niceMax,radiusScale}from"../chunk-2JWPNR2U.js";export{ChartTooltip}from"../chunk-WDQI3FV6.js";export{CHART_INK,SERIES_SLOT_COUNT,SERIES_VARS,STATUS_VARS,assignSeriesSlots,resolveSeriesColor,resolveSeriesColorWithin,seriesColor,toggleSeriesSlot}from"../chunk-TZFACUMR.js";export{registerModalEscapeInterceptor}from"../chunk-TWVUQUUD.js";export{GLASS_DIVIDER,glassStyle,solidSurfaceStyle}from"../chunk-5FYDNH4Y.js";import"../chunk-LNXBTK7Q.js";export{usePlotWidth}from"../chunk-MAFUXCPZ.js";export{DEFAULT_SHELL_STRINGS,ShellStringsProvider,useShellLocale,useShellStrings}from"../chunk-NRHG4R2Q.js";import"../chunk-C3QOHMR6.js";
|
package/dist/ui.css
CHANGED
|
@@ -260,11 +260,13 @@
|
|
|
260
260
|
|
|
261
261
|
/* Row heights (Lewis, 2026-10-13): menu, list and sidebar rows, and the
|
|
262
262
|
main window bar. The menu row is an exception to the control ladder;
|
|
263
|
-
controls stay on it. The main window bar is
|
|
264
|
-
|
|
265
|
-
|
|
263
|
+
controls stay on it. The main window bar is 48 (Victor Mau, 2026-11-22:
|
|
264
|
+
a list's search and filters needed room above and below; it was 40, the
|
|
265
|
+
large control height, from Lewis, 2026-10-21). The window's buttons and
|
|
266
|
+
the list toolbar beside them share it, so they stay level. The compact
|
|
267
|
+
app bar is a different, smaller bar Lewis did not pick: it stays 32. */
|
|
266
268
|
--row-height-menu: 2.25rem;
|
|
267
|
-
--row-height-window-bar:
|
|
269
|
+
--row-height-window-bar: 3rem;
|
|
268
270
|
--row-height-compact-bar: var(--control-height-md);
|
|
269
271
|
}
|
|
270
272
|
|
|
@@ -425,6 +427,14 @@ html.rosh-reduce-transparency *::after {
|
|
|
425
427
|
--ink-placeholder: var(--ink-faintest);
|
|
426
428
|
}
|
|
427
429
|
|
|
430
|
+
/* Every other row of a list (EntityList). Declared on each scope that sets a
|
|
431
|
+
theme's colours, so the mix is worked out where that theme's surface and
|
|
432
|
+
line-subtle are, not once at the root: #f6f7f8 on white, a step above the
|
|
433
|
+
surface in dark (Victor Mau, 2026-11-20, "make the gray lighter"). */
|
|
434
|
+
:root, [data-theme], :is([data-theme="dark"], .dark) {
|
|
435
|
+
--row-stripe: color-mix(in srgb, var(--line-subtle) 75%, var(--surface));
|
|
436
|
+
}
|
|
437
|
+
|
|
428
438
|
/* ═══════════════════════════════════════════════════
|
|
429
439
|
Colour roles — every colour a component asks for
|
|
430
440
|
═══════════════════════════════════════════════════ */
|
|
@@ -455,6 +465,8 @@ html.rosh-reduce-transparency *::after {
|
|
|
455
465
|
* --ink-on-inverse text-white on --surface-inverse
|
|
456
466
|
* --surface-inverse bg-gray-900 / bg-gray-700: a dark chip in a light UI
|
|
457
467
|
* --row-hover hover:bg-gray-50 on a list or table row
|
|
468
|
+
* --row-stripe every other row of a list: a slight tint, between
|
|
469
|
+
* the surface and --line-subtle (#f6f7f8 on white)
|
|
458
470
|
* --status-X-line border-red-200 and the like: a status box's border
|
|
459
471
|
* --scrim-* bg-black/30, /60, /80 over media
|
|
460
472
|
* --identity-1..8 avatar and tag hues; the chart series, never themed
|
|
@@ -570,6 +582,7 @@ html.rosh-reduce-transparency *::after {
|
|
|
570
582
|
--color-ink-disabled: var(--ink-disabled);
|
|
571
583
|
--color-ink-on-inverse: var(--ink-on-inverse);
|
|
572
584
|
--color-row-hover: var(--row-hover);
|
|
585
|
+
--color-row-stripe: var(--row-stripe);
|
|
573
586
|
|
|
574
587
|
--color-accent-fill: var(--accent-fill);
|
|
575
588
|
--color-accent-fill-hover: var(--accent-fill-hover);
|
package/dist/value-index.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"schema":1,"package":"efficient-shell","version":"
|
|
1
|
+
{"schema":1,"package":"efficient-shell","version":"15.1.0","entries":[{"entry":"efficient-shell","name":"ACCENT_ROLES","hash":"bd7fd9e5b26249a998b2"},{"entry":"efficient-shell","name":"BORDER_WIDTHS","hash":"78a506e44a654d5b22dd"},{"entry":"efficient-shell","name":"BRAND_ICON_NAMES","hash":"9f47dc20f8029a420b70"},{"entry":"efficient-shell","name":"CHART_INK","hash":"3f4d30da8161976c516b"},{"entry":"efficient-shell","name":"CHART_SPEC_LIMITS","hash":"301b29dfb507675e845d"},{"entry":"efficient-shell","name":"COLUMN_COUNT_WIDTHS","hash":"287a95f277695d0635fe"},{"entry":"efficient-shell","name":"COLUMN_SHARES_EQUAL","hash":"79cad7d332efce44435c"},{"entry":"efficient-shell","name":"CONTROL_HEIGHTS","hash":"26fdd7e9bd83bfe00f5e"},{"entry":"efficient-shell","name":"DATE_FORMAT_OPTIONS","hash":"25598ad7ed2742e39f98"},{"entry":"efficient-shell","name":"DEFAULT_FLOW_CHART_LABELS","hash":"56e77e95b8c1a6839984"},{"entry":"efficient-shell","name":"DEV_BANNER_TEXT","hash":"6f7e89424a7f413a139f"},{"entry":"efficient-shell","name":"ENGLISH","hash":"121b17f8146326744275"},{"entry":"efficient-shell","name":"ENTRANCE_ATTR","hash":"fc79fde5667e4be907a6"},{"entry":"efficient-shell","name":"ENTRANCE_FROM_ATTR","hash":"e5753ff44b8f14537d40"},{"entry":"efficient-shell","name":"ENTRANCE_STATE_ATTR","hash":"6feecdb8e8c4d673cd25"},{"entry":"efficient-shell","name":"FLAT_STATUS_ROLES","hash":"38f538e0036062cc3f1b"},{"entry":"efficient-shell","name":"FLOW_LAYOUT","hash":"6355c496cbbe32189091"},{"entry":"efficient-shell","name":"FLOW_SPEC_LIMITS","hash":"31add05b65bd74b7d006"},{"entry":"efficient-shell","name":"FONT_WEIGHTS","hash":"52b4a2a4070f79ac24c3"},{"entry":"efficient-shell","name":"GLASS_DIVIDER","hash":"4abe484f8492531e6e01"},{"entry":"efficient-shell","name":"GLASS_INPUT_BG","hash":"2cc213cc21bdcbe5ee79"},{"entry":"efficient-shell","name":"GROUP_COLORS","hash":"7aabea256a050c690c98"},{"entry":"efficient-shell","name":"GROUP_COLORS_SOLID","hash":"a620712d032b782085db"},{"entry":"efficient-shell","name":"HOVER_MOTION","hash":"af0a80b3c85e3fbf85d8"},{"entry":"efficient-shell","name":"ICON_NAMES","hash":"cfa9f4558fa1a147302b"},{"entry":"efficient-shell","name":"ICON_SET_FOR_THEME","hash":"8103453b2b0aa00255a3"},{"entry":"efficient-shell","name":"IDENTITY_ROLES","hash":"21f80df1c4baff623350"},{"entry":"efficient-shell","name":"INPUT_SIZES","hash":"c5d43314d24fd6735f5c"},{"entry":"efficient-shell","name":"LIGHTBOX_PICTURE_FIT","hash":"a93a7592a4af090e56b8"},{"entry":"efficient-shell","name":"MARQUEE_IGNORE","hash":"f8ed1942eb85570db2f0"},{"entry":"efficient-shell","name":"MEDIA_FILES_DRAG_TYPE","hash":"724ea23a8bdd3e839308"},{"entry":"efficient-shell","name":"MEDIA_FILE_DRAG_TYPE","hash":"4c811c3891dfb852805d"},{"entry":"efficient-shell","name":"MEDIA_FOLDER_DRAG_TYPE","hash":"3bb01ff9a70c4d5f7393"},{"entry":"efficient-shell","name":"MENU_ON_MEDIA_ATTR","hash":"8920dd2122ac10c310af"},{"entry":"efficient-shell","name":"MODAL_SUBMIT_SELECTOR","hash":"d84bdbfd01a8805d95b7"},{"entry":"efficient-shell","name":"MOTION","hash":"afb7e9a03604f388b85d"},{"entry":"efficient-shell","name":"MOTION_EASING","hash":"4789d99f72a99fc71931"},{"entry":"efficient-shell","name":"MOTION_GROUPS","hash":"72eccd969d7845e62f7c"},{"entry":"efficient-shell","name":"NATIVE_MENU_ATTR","hash":"005131ab6b8f236a967e"},{"entry":"efficient-shell","name":"NEUTRAL_ROLES","hash":"e0ffa42a68fdebbc6f4a"},{"entry":"efficient-shell","name":"NEXT_CHUNK_PATH_PREFIX","hash":"09c4a7664b671338c222"},{"entry":"efficient-shell","name":"OVERLAY_OPEN_EVENT","hash":"5029df721a453803dc12"},{"entry":"efficient-shell","name":"PICTURE_TILES_COLUMNS_VAR","hash":"8ff0bf10875ffde65e40"},{"entry":"efficient-shell","name":"PLACEHOLDER_INK","hash":"2df66d0d39e28d3b53e7"},{"entry":"efficient-shell","name":"ROW_HEIGHTS","hash":"6a3a5b66f2112d0e0c10"},{"entry":"efficient-shell","name":"SCRIM_ROLES","hash":"eb89174bfef99154962d"},{"entry":"efficient-shell","name":"SERIES_VARS","hash":"6fb1755e5ee724888d5b"},{"entry":"efficient-shell","name":"SHELL_LANGUAGE_STORAGE_KEY","hash":"6e4367376ca83b903d75"},{"entry":"efficient-shell","name":"SPACING_ROLES","hash":"6a56d2441721d205e749"},{"entry":"efficient-shell","name":"STAGES","hash":"9632e5aae395880146f2"},{"entry":"efficient-shell","name":"STALE_CHUNK_RELOAD_KEY","hash":"68a7205bd9736805ac7f"},{"entry":"efficient-shell","name":"STATUS_VARS","hash":"4f9dd4373172ce6a7d64"},{"entry":"efficient-shell","name":"TEXT_ALIGN_ICONS","hash":"c1a50003c898d5dc6cc7"},{"entry":"efficient-shell","name":"THEME_ICON_SETS","hash":"c04ed577f1f8de5ea01e"},{"entry":"efficient-shell","name":"VITE_PRELOAD_ERROR_EVENT","hash":"dfad33b292b16949faf1"},{"entry":"efficient-shell","name":"Z_LAYERS","hash":"0b590a52752106009d6a"},{"entry":"efficient-shell/ai","name":"DEFAULT_ASSISTANT_CHAT_LABELS","hash":"e021be115baf6c56c0ca"},{"entry":"efficient-shell/ai","name":"ROW_EXTRA_LABELS","hash":"3c2a34facf25ae548f39"},{"entry":"efficient-shell/apps","name":"FILES_OFFICE_EXTENSIONS","hash":"ec322d0793d079446bd9"},{"entry":"efficient-shell/apps","name":"FILES_ROLE_LABELS","hash":"2de2334df77090846b67"},{"entry":"efficient-shell/apps","name":"SPREADSHEET_PREVIEW_UPDATE_EVENT","hash":"834ba753658d2c8d0a31"},{"entry":"efficient-shell/format","name":"ENTRANCE_DELAY_VAR","hash":"8a2f4a1e751ec138bbbf"},{"entry":"efficient-shell/format","name":"ENTRANCE_DURATION_VAR","hash":"ed9dff0a293be26a023e"},{"entry":"efficient-shell/format","name":"HOVER_KINDS","hash":"e2c76e5db09742cb68d9"},{"entry":"efficient-shell/format","name":"PIN_ABOVE_ATTR","hash":"1cd4918b109d8fb8a75a"},{"entry":"efficient-shell/format","name":"PIN_ABOVE_Z_VAR","hash":"da1d8d7520816a38349f"},{"entry":"efficient-shell/format","name":"PIN_ATTR","hash":"90fa72a3274aefa2672f"},{"entry":"efficient-shell/format","name":"PIN_FRAME_ATTR","hash":"7762b6fd5c2094673b82"},{"entry":"efficient-shell/format","name":"PIN_LENGTH_VAR","hash":"0fcd5a46096644382ba1"},{"entry":"efficient-shell/format","name":"PIN_ON_VAR","hash":"727387fbc36cde299ff1"},{"entry":"efficient-shell/format","name":"PIN_POSITION_VAR","hash":"6c45b2190b5524b1b15f"},{"entry":"efficient-shell/format","name":"PIN_STICK_VAR","hash":"b3d4702280b41f24617f"},{"entry":"efficient-shell/format","name":"PIN_TOP_VAR","hash":"093101ff1937dabe4daa"},{"entry":"efficient-shell/format","name":"PIN_TRACK_POSITION_VAR","hash":"1f9df4b27f9f5421fbea"},{"entry":"efficient-shell/format","name":"SCROLL_ATTR","hash":"6f55192d6271f711b399"},{"entry":"efficient-shell/format","name":"SCROLL_EFFECTS","hash":"158d40bf267a46b5a92b"},{"entry":"efficient-shell/format","name":"SCROLL_END_VAR","hash":"c0c679414eb0277fbf63"},{"entry":"efficient-shell/format","name":"SCROLL_ORIGIN_VAR","hash":"0098429747fe503a2242"},{"entry":"efficient-shell/format","name":"SCROLL_PROGRESS_VAR","hash":"72041dc916102bdcc9d8"},{"entry":"efficient-shell/format","name":"SCROLL_START_VAR","hash":"7b65b18fff5c610b4bab"},{"entry":"efficient-shell/format","name":"SCROLL_ZOOM_VAR","hash":"0d8ae643ee6e1790db87"},{"entry":"efficient-shell/icons/efficient","name":"efficientIconMeanings","hash":"8a08f4c0030f8f952668"},{"entry":"efficient-shell/icons/sets","name":"efficientLookNames","hash":"eb8a3af463df1f310f4c"},{"entry":"efficient-shell/map","name":"COMPACT_SHOW","hash":"8e104672613835524e35"},{"entry":"efficient-shell/map","name":"MAPLIBRE_WORKER_FILE","hash":"ea4884f1e1bd66e2cc4e"},{"entry":"efficient-shell/map","name":"MAP_CATEGORIES","hash":"9c7650509b67d02224e3"},{"entry":"efficient-shell/map","name":"MAP_TILE_ORIGIN","hash":"2becdbb36cdfe9f5ef24"},{"entry":"efficient-shell/markup","name":"COLOR_SLOTS","hash":"546d8695bfd3a4168b36"},{"entry":"efficient-shell/markup","name":"MARKUP_TOOLS","hash":"c00656098e6c6de33881"},{"entry":"efficient-shell/markup","name":"MARK_NAMES","hash":"d44aa3e35fd85db3d037"},{"entry":"efficient-shell/markup","name":"STANDARD_MARKUP","hash":"dfb86d96534febeba3e0"},{"entry":"efficient-shell/model-viewer","name":"MODEL_VIEWER_DECODER_ORIGIN","hash":"dee20e1d75b05718f79c"}]}
|
package/dist/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{APP_VERSION,VERSION}from"./chunk-
|
|
1
|
+
export{APP_VERSION,VERSION}from"./chunk-B34UWI47.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "efficient-shell",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "15.1.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",
|
package/dist/chunk-4Y3KQAAQ.js
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import{Tree as e,TreeRow as n,TreeGroup as l}from"./chunk-CXEELIRW.js";import{ImageLightbox as r}from"./chunk-NDCS4COQ.js";import{MarqueeBox as a}from"./chunk-IC72MGON.js";import{Drawer as i}from"./chunk-DTFX624I.js";import{EmptyState as t}from"./chunk-W3454ZES.js";import{DescriptionList as o}from"./chunk-SACUSHVN.js";import{Breadcrumbs as d}from"./chunk-WREUA43Q.js";import{ROOT_KEY as s,mediaLibraryMenu as c}from"./chunk-UFJR63AO.js";import{useMediaMoveItems as u}from"./chunk-GRAFJD3L.js";import{RenameField as m}from"./chunk-WYAKASF3.js";import{MediaUploadGrid as p}from"./chunk-Y5RTVKMB.js";import{MediaUsedInList as h}from"./chunk-U75MSD4F.js";import{NativeSelect as f}from"./chunk-EBODRYXS.js";import{useGridSelection as g}from"./chunk-VLKDWKVR.js";import{useMarquee as v}from"./chunk-OLFYNMTD.js";import{copyToClipboard as k}from"./chunk-XYVFJLAU.js";import{Checkbox_default as y}from"./chunk-CGZBDI6C.js";import{Segmented as b}from"./chunk-ALZHFQRX.js";import{useContextMenu as w,ContextMenu as x}from"./chunk-5O4HMXPQ.js";import{Banner as C}from"./chunk-OSMRYND3.js";import{Input_default as N}from"./chunk-W6REY3SV.js";import{useFileIntake as I,FileIntakeAlert as D}from"./chunk-TNGIXSTM.js";import{setModalDragAside as S,modalIdHolding as j}from"./chunk-EIFNESXS.js";import{ColoredBadge as z}from"./chunk-6X32SWQI.js";import{DropdownMenu as F}from"./chunk-M5IZ7QLQ.js";import{IconButton_default as L}from"./chunk-MYH5H43C.js";import{Button_default as T}from"./chunk-MEP6CZJ3.js";import{Icon as E}from"./chunk-ISVODSRP.js";import{Tooltip as O}from"./chunk-AJPQJ7TC.js";import{buttonClasses as A}from"./chunk-UQYNPYF4.js";import{usePlotWidth as M}from"./chunk-MAFUXCPZ.js";import{useShellStrings as P}from"./chunk-NRHG4R2Q.js";import{useRef as R,useMemo as U,useCallback as K,useState as Q,useEffect as B}from"react";import{jsxs as J,Fragment as W,jsx as X}from"react/jsx-runtime";var Y="application/x-efficient-media-files",H="application/x-efficient-media-folder",V="application/x-efficient-media-file";function G(e){if(!e||!Array.from(e.types).includes(V))return null;try{const n=JSON.parse(e.getData(V));if(n&&"string"==typeof n.id&&"string"==typeof n.url&&"string"==typeof n.name&&("image"===n.kind||"video"===n.kind))return{id:n.id,url:n.url,kind:n.kind,name:n.name}}catch{}return null}var $={type:"all",use:"any",sort:"newest"},Z={lock:/* @__PURE__ */X(E,{name:"lock","aria-hidden":"true",className:"h-4 w-4"}),folder:/* @__PURE__ */X(E,{name:"folder","aria-hidden":"true",className:"h-4 w-4"}),folderOpen:/* @__PURE__ */X(E,{name:"folder-open","aria-hidden":"true",className:"h-4 w-4"}),folderPlus:/* @__PURE__ */X(E,{name:"folder-plus","aria-hidden":"true",className:"h-4 w-4"}),trash:/* @__PURE__ */X(E,{name:"trash","aria-hidden":"true",className:"h-4 w-4"}),upload:/* @__PURE__ */X(E,{name:"upload","aria-hidden":"true",className:"h-4 w-4"}),search:/* @__PURE__ */X(E,{name:"search","aria-hidden":"true",className:"h-4 w-4"}),grid:/* @__PURE__ */X(E,{name:"grid","aria-hidden":"true",className:"h-4 w-4"}),list:/* @__PURE__ */X(E,{name:"list","aria-hidden":"true",className:"h-4 w-4"}),more:/* @__PURE__ */X(E,{name:"more","aria-hidden":"true",className:"h-4 w-4"}),copy:/* @__PURE__ */X(E,{name:"copy","aria-hidden":"true",className:"h-4 w-4"}),edit:/* @__PURE__ */X(E,{name:"edit","aria-hidden":"true",className:"h-4 w-4"}),swap:/* @__PURE__ */X(E,{name:"swap","aria-hidden":"true",className:"h-4 w-4"}),crop:/* @__PURE__ */X(E,{name:"crop","aria-hidden":"true",className:"h-4 w-4"}),external:/* @__PURE__ */X(E,{name:"external","aria-hidden":"true",className:"h-4 w-4"}),undo:/* @__PURE__ */X(E,{name:"undo","aria-hidden":"true",className:"h-4 w-4"})},q={link:/* @__PURE__ */X(E,{name:"link","aria-hidden":"true",className:"h-3 w-3"}),email:/* @__PURE__ */X(E,{name:"email","aria-hidden":"true",className:"h-3 w-3"}),lock:/* @__PURE__ */X(E,{name:"lock","aria-hidden":"true",className:"h-3 w-3"}),clock:/* @__PURE__ */X(E,{name:"clock","aria-hidden":"true",className:"h-3 w-3"})};function _(E){const{mode:G="manage",layout:_="auto",location:ee,onLocationChange:ne,folders:le,products:re,allFilesCount:ae,trashCount:ie,files:te,query:oe,onQueryChange:de,filters:se=$,onFiltersChange:ce,extraFilters:ue,view:me="grid",onViewChange:pe,selectedIds:he,onSelectionChange:fe,usedIn:ge,denied:ve={},accept:ke="image/*,video/*",maxSizeBytes:ye,busy:be,progress:we,onUpload:xe,onNewFolder:Ce,onRename:Ne,onMove:Ie,onTrash:De,onDeleteFolder:Se,onRestore:je,onDeleteForever:ze,onEmptyTrash:Fe,onReplace:Le,onCropEdit:Te,onOpenInDesign:Ee,onChoose:Oe,onCancel:Ae,pickNote:Me,onDragOut:Pe,className:Re=""}=E,Ue=P().mediaLibrary,Ke=P().media,Qe="pick"===G,Be=!Qe,Je=R(null),We=M(Je,"phone"===_?343:1200),Xe="phone"===_||"auto"===_&&We<640,Ye=U(()=>function(e=[]){const n=/* @__PURE__ */new Map,l=(e,r)=>{for(const a of e){const e=[...r,a];n.set(a.id,{node:a,path:e}),a.children&&l(a.children,e)}};return l(e,[]),n}(re),[re]),He=U(()=>new Map(le.map(e=>[e.id,e])),[le]),Ve=U(()=>{const e=/* @__PURE__ */new Map;for(const n of le){const l=n.parentId&&He.has(n.parentId)?n.parentId:null;e.set(l,[...e.get(l)??[],n])}return e},[le,He]),Ge=K(e=>{const n=[];for(let l=e?He.get(e):void 0;l&&(n.unshift(l),!(n.length>le.length));l=l.parentId?He.get(l.parentId):void 0);return n},[He,le.length]),$e=K((e,n)=>Ge(e).some(e=>e.id===n),[Ge]),[Ze,qe]=Q(()=>/* @__PURE__ */new Set(["@files"])),_e=e=>qe(n=>{const l=new Set(n);return l.has(e)?l.delete(e):l.add(e),l}),en=K(e=>{qe(n=>e.every(e=>n.has(e))?n:/* @__PURE__ */new Set([...n,...e]))},[]),nn="files"===(ln=ee).place?`files:${ln.folderId??""}`:"products"===ln.place?`products:${ln.nodeId??""}`:"trash";var ln;B(()=>{if("files"===ee.place)en(["@files",...Ge(ee.folderId).slice(0,-1).map(e=>e.id)]);else if("products"===ee.place){const e=ee.nodeId?Ye.get(ee.nodeId)?.path??[]:[];en(["@products",...e.slice(0,-1).map(e=>`p:${e.id}`)])}},[nn]);const rn="products"===ee.place,an="trash"===ee.place,tn="files"===ee.place,on=tn?ee.folderId:null,dn=rn&&ee.nodeId?Ye.get(ee.nodeId)?.path[0]:void 0,sn=e=>e?.sharedFrom?`${Ue.readOnly} ${Ue.editedAtHq(e.sharedFrom)}`:Ue.readOnly,cn=U(()=>te.map(e=>e.id),[te]),un=U(()=>new Map(te.map(e=>[e.id,e])),[te]),mn=g(cn),pn=U(()=>cn.filter(e=>mn.selected.has(e)),[cn,mn.selected]),hn=1===pn.length?un.get(pn[0]):void 0,fn=R(!0);B(()=>{fn.current?fn.current=!1:mn.clear()},[nn]);const gn=he?.join("\0");B(()=>{he&&mn.setSelection(he)},[gn]);const vn=R(gn??""),kn=pn.join("\0");B(()=>{vn.current!==kn&&(vn.current=kn,fe?.(pn))},[kn]);const yn=(e,n={})=>{Qe?mn.select(e):mn.select(e,{ctrl:!(!n.ctrlKey&&!n.metaKey),shift:!!n.shiftKey})},[bn,wn]=Q(null),xn=e=>{const n=bn;if(wn(null),!n||null==e)return;e!==("folder"===n.kind?He.get(n.id)?.name:un.get(n.id)?.name)&&Ne?.(n,e)},Cn=async e=>{if(!Ce)return;const n=await Ce(e);en(["@files",...e?[e]:[]]),"string"==typeof n&&wn({kind:"folder",id:n})},Nn=K(e=>{const n=[],l=n=>{if("files"===e.kind)return n===on&&tn?Ue.alreadyHere:void 0;const l=He.get(e.id);return n===e.id||n&&$e(n,e.id)?Ue.notIntoItself:(l?.parentId??null)===n?Ue.folderAlreadyHere:void 0};n.push({key:s,label:Ue.allFiles,disabledReason:l(null)});const r=(e,a)=>{for(const i of Ve.get(e)??[])n.push({key:i.id,label:i.name,depth:a,disabledReason:l(i.id)}),r(i.id,a+1)};return r(null,1),n},[Ve,He,tn,$e,on,Ue]),In=K(e=>{const n=new Set(e.map(e=>un.get(e)?.kind??"image"));return 1===n.size?[...n][0]:"file"},[un]),[Dn,Sn]=Q(null),jn={words:Ue,media:Ke,denied:ve,moveTargets:Nn,kindOf:In,urlOf:e=>un.get(e)?.url,newSubfolder:Ce&&Be?e=>{Cn(e)}:void 0,rename:Ne&&Be?e=>{"file"!==e.kind||mn.isSelected(e.id)||mn.select(e.id),wn(e)}:void 0,move:Ie&&Be?Ie:void 0,trash:De&&Be?De:void 0,deleteFolder:Se&&Be?Se:void 0,folderNotEmpty:e=>!!He.get(e)?.notEmpty,replace:Le&&Be?Le:void 0,copyUrl:e=>{const n=un.get(e)?.url;n&&k(Ue.urlLabel,n)},openInDesign:Ee,restore:je,deleteForever:ze},zn=e=>c(e,jn),Fn=w(),Ln=(e,n)=>{Qe||(mn.isSelected(e)||mn.select(e),Fn.open(n,(e=>{const n=mn.isSelected(e)?pn:[e];return rn?{kind:"render",id:e}:an?{kind:"trashed",ids:n}:{kind:"files",ids:n}})(e)))},[Tn,En]=Q(null),[On,An]=Q(null),[Mn,Pn]=Q(null);B(()=>{if(!On&&!Tn)return;const e=()=>{An(null),En(null)};return window.addEventListener("dragend",e),window.addEventListener("drop",e),()=>{window.removeEventListener("dragend",e),window.removeEventListener("drop",e)}},[On,Tn]);const Rn=(e,n)=>Array.from(e.dataTransfer?.types??[]).includes(n),Un=(e,n)=>!(!Ie||ve.move||Qe)&&(!!Rn(e,Y)||!(!Rn(e,H)||!Mn)&&(n!==Mn&&!(n&&$e(n,Mn)))),Kn=(e,n)=>({onDragEnter:l=>{Un(l,n)&&(l.preventDefault(),En(e))},onDragOver:l=>{Un(l,n)&&(l.preventDefault(),l.dataTransfer.dropEffect="move",Tn!==e&&En(e))},onDragLeave:n=>{const l=n.relatedTarget;l&&n.currentTarget.contains(l)||En(n=>n===e?null:n)},onDrop:e=>{if(Un(e,n))if(e.preventDefault(),En(null),Rn(e,Y)){let l;try{l=JSON.parse(e.dataTransfer.getData(Y))}catch{l=null}Array.isArray(l)&&l.length&&Ie({kind:"files",ids:l.map(String)},n)}else Mn&&(Ie({kind:"folder",id:Mn},n),Pn(null))}}),Qn=e=>{const n=e=>Rn(e,Y)||Rn(e,H)||Rn(e,"Files");return{onDragEnter:l=>{n(l)&&An(e)},onDragOver:l=>{n(l)&&On!==e&&An(e)},onDragLeave:n=>{const l=n.relatedTarget;l&&n.currentTarget.contains(l)||An(n=>n===e?null:n)}}},Bn=(e,n,l)=>/* @__PURE__ */X(O,{side:"right",content:On===e?Ue.noDropProducts:sn(l),open:On===e||!On&&void 0,children:/* @__PURE__ */X("span",{children:n})}),Jn=e=>({onContextMenu:n=>{Fn.open(n,e)}}),Wn=(e,r,a)=>e.map(e=>{const i=`p:${e.id}`,t=a??e,o=Ze.has(i),d=e.children?.length?e.children:null;/* @__PURE__ */
|
|
2
|
-
return J("div",{role:"none",className:"contents",children:[
|
|
3
|
-
/* @__PURE__ */X(n,{label:Bn(i,e.name,t),level:r,icon:d&&o?Z.folderOpen:Z.folder,count:e.count,countLabel:null!=e.count?e.countLabel??Ue.fileCount(e.count):void 0,selected:rn&&ee.nodeId===e.id,expanded:d?o:void 0,onToggle:d?()=>_e(i):void 0,onSelect:()=>ne({place:"products",nodeId:e.id}),rowProps:{"data-media-row":i,...Qn(i),...Be?Jn({kind:"product-node",id:e.id}):{}}}),d&&o&&/* @__PURE__ */X(l,{children:Wn(d,r+1,t)})]},e.id)}),Xn=(e,r)=>(Ve.get(e)??[]).map(e=>{const a=Ve.get(e.id),i=Ze.has(e.id),t="folder"===bn?.kind&&bn.id===e.id,o=zn({kind:"folder",id:e.id});/* @__PURE__ */
|
|
4
|
-
return J("div",{role:"none",className:"contents",children:[
|
|
5
|
-
/* @__PURE__ */X(n,{label:e.name,level:r,icon:a&&i?Z.folderOpen:Z.folder,count:e.count,countLabel:null!=e.count?e.countLabel??Ue.fileCount(e.count):void 0,selected:t||tn&&ee.folderId===e.id,expanded:a?i:void 0,onToggle:a?()=>_e(e.id):void 0,onSelect:()=>ne({place:"files",folderId:e.id}),drop:Tn===e.id?"into":void 0,dragging:Mn===e.id,draggable:Be&&!!Ie&&!ve.move,rename:t?/* @__PURE__ */X(m,{value:e.name,label:Ue.folderName,onDone:xn}):void 0,actions:Be&&o.length?/* @__PURE__ */X(F,{align:"end","aria-label":Ue.folderActions,trigger:Z.more,items:o}):void 0,rowProps:{"data-media-row":e.id,...Kn(e.id,e.id),...Be?Jn({kind:"folder",id:e.id}):{},...Be&&Ie&&!ve.move?{draggable:!0,onDragStart:n=>{n.dataTransfer.effectAllowed="move",n.dataTransfer.setData(H,e.id),Pn(e.id)},onDragEnd:()=>{Pn(null),En(null)}}:{}}}),a&&i&&/* @__PURE__ */X(l,{children:Xn(e.id,r+1)})]},e.id)}),Yn=Ze.has("@files"),Hn=Ze.has("@products"),Vn=/* @__PURE__ */J(e,{"aria-label":Ue.folders,children:[re&&/* @__PURE__ */J(W,{children:[
|
|
6
|
-
/* @__PURE__ */X(n,{label:Bn("@products",Ue.products),level:1,icon:Z.lock,badge:{label:Ue.readOnlyBadge,tone:"neutral"},expanded:re.length?Hn:void 0,onToggle:()=>_e("@products"),selected:rn&&null==ee.nodeId,onSelect:()=>ne({place:"products",nodeId:null}),rowProps:{"data-media-row":"@products",...Qn("@products")}}),Hn&&re.length>0&&/* @__PURE__ */X(l,{children:Wn(re,2)})]}),
|
|
7
|
-
/* @__PURE__ */X(n,{label:Ue.allFiles,level:1,icon:Yn?Z.folderOpen:Z.folder,count:ae,countLabel:null!=ae?Ue.fileCount(ae):void 0,expanded:Ve.get(null)?.length?Yn:void 0,onToggle:()=>_e("@files"),selected:tn&&null==ee.folderId,onSelect:()=>ne({place:"files",folderId:null}),drop:"@files"===Tn?"into":void 0,rowProps:{"data-media-row":"@files",...Kn("@files",null)}}),Yn&&(Ve.get(null)?.length??0)>0&&/* @__PURE__ */X(l,{children:Xn(null,2)}),Be&&/* @__PURE__ */X(n,{label:Ue.trash,level:1,icon:Z.trash,count:ie,countLabel:null!=ie?Ue.fileCount(ie):void 0,selected:an,onSelect:()=>ne({place:"trash"}),rowProps:{"data-media-row":"@trash"}})]}),Gn=(()=>{if(an)return[{label:Ue.trash}];if(rn){const e=ee.nodeId?Ye.get(ee.nodeId)?.path??[]:[];return[{label:Ue.products,onClick:e.length?()=>ne({place:"products",nodeId:null}):void 0},...e.map((n,l)=>({label:n.name,onClick:l<e.length-1?()=>ne({place:"products",nodeId:n.id}):void 0}))]}const e=Ge(on);return[{label:Ue.allFiles,onClick:e.length?()=>ne({place:"files",folderId:null}):void 0},...e.map((n,l)=>({label:n.name,onClick:l<e.length-1?()=>ne({place:"files",folderId:n.id}):void 0}))]})(),$n=rn?Ue.readOnly:ve.upload,Zn=!!xe&&!an&&!$n,qn=I({accept:ke,maxSizeBytes:ye,multiple:!0,disabled:!Zn,onAccept:e=>xe?.(e,on)}),_n=rn?Ue.noProductFolder:ve.newFolder,el=e=>e?{"aria-disabled":!0,disabledReason:e}:{},nl=/* @__PURE__ */J("div",{className:"flex flex-wrap items-center gap-2",children:[Be&&Ce&&!an&&/* @__PURE__ */X(T,{variant:"secondary",size:"sm",leftIcon:Z.folderPlus,onClick:()=>{Cn(on)},...el(_n),children:Ue.newFolder}),xe&&!an&&/* @__PURE__ */X(T,{variant:"primary",size:"sm",leftIcon:Z.upload,onClick:()=>qn.open(),...el($n),children:Ue.upload}),Be&&an&&Fe&&te.length>0&&/* @__PURE__ */X(T,{variant:"danger",size:"sm",onClick:Fe,...el(ve.deleteForever),children:Ue.emptyTrash})]}),ll=(e,n,l,r,a)=>/* @__PURE__ */X("div",{style:{width:Xe?void 0:a,flex:Xe?"1 1 120px":"0 0 auto",minWidth:0},children:/* @__PURE__ */X(f,{size:"sm","aria-label":e,value:n,onChange:r,options:l})},e),rl=e=>n=>ce?.({...se,[e]:n}),al=/* @__PURE__ */J("div",{className:"flex flex-wrap items-center gap-2",children:[de&&/* @__PURE__ */X("div",{style:{flex:"1 1 200px",minWidth:0},children:/* @__PURE__ */X(N,{size:"sm",type:"search",leftIcon:Z.search,placeholder:rn?Ue.searchProducts:Ue.search,"aria-label":rn?Ue.searchProducts:Ue.search,value:oe??"",onChange:e=>de(e.target.value)})}),ce&&ll(Ue.mediaType,se.type,[{value:"all",label:Ue.allTypes},{value:"image",label:Ue.images},{value:"video",label:Ue.videos},{value:"svg",label:"SVG"},{value:"gif",label:"GIF"}],rl("type"),130),ce&&!rn&&!an&&ll(Ue.use,se.use,[{value:"any",label:Ue.anyUse},{value:"email",label:Ue.emailOnly},{value:"website",label:Ue.websiteOnly},{value:"unused",label:Ue.notUsed}],rl("use"),130),ce&&Be&&ll(Ue.sort,se.sort,[{value:"newest",label:Ue.newest},{value:"name",label:Ue.byName},{value:"size",label:Ue.bySize}],rl("sort"),110),ue?.map(e=>ll(e.label,e.value,e.options,e.onChange,120)),pe&&/* @__PURE__ */X(b,{size:"sm",label:Ue.view,value:me,onChange:pe,options:[{value:"grid",label:Ue.grid,icon:Z.grid},{value:"list",label:Ue.list,icon:Z.list}]})]}),il=e=>{const n=[];return null!=e.trashedDaysAgo&&n.push({key:"t",label:Ue.daysAgo(e.trashedDaysAgo),count:e.trashedDaysAgo,icon:q.clock,tone:"neutral"}),e.usedCount&&n.push({key:"u",label:Ue.used(e.usedCount),count:e.usedCount,icon:q.link,tone:"active"}),e.email&&n.push({key:"e",label:Ue.email,icon:q.email,tone:"queued"}),e.private&&n.push({key:"p",label:Ue.private,icon:q.lock,tone:"neutral"}),n},tl=e=>il(e).map(e=>/* @__PURE__ */X(z,{tone:e.tone,size:"xs",children:e.label},e.key)),ol=Be&&tn&&!!Ie&&!ve.move,dl=!!Pe&&!an,sl=R(""),cl=R(null),ul=()=>cl.current?.dropped?"dropped":"cancelled",ml=R(Pe);ml.current=Pe;const pl=K(e=>{const n=cl.current;n&&(cl.current=null,n.stop(),S(sl.current,!1),e&&ml.current?.(e))},[]),hl=K(e=>{pl(ul());const n=Je.current?.ownerDocument;if(!n)return;sl.current=j(Je.current);const l=Je.current?.closest("[data-modal-panel]"),r=e=>{sl.current&&!l?.contains(e.target)&&S(sl.current,!0)},a=()=>!!e&&!e.isConnected,i=()=>{const e=cl.current;if(e){if(a())return pl("dropped");e.dropped=!0,S(sl.current,!1)}},t=e=>{const n=e.dataTransfer?.dropEffect;pl(n&&"none"!==n?"dropped":a()?ul():"cancelled")},o=()=>{a()&&pl(ul())},d=["pointermove","pointerdown","mousemove","mousedown"];n.addEventListener("dragover",r,!0),n.addEventListener("drop",i,!0),n.addEventListener("dragend",t,!0);for(const e of d)n.addEventListener(e,o,!0);cl.current={dropped:!1,stop:()=>{n.removeEventListener("dragover",r,!0),n.removeEventListener("drop",i,!0),n.removeEventListener("dragend",t,!0);for(const e of d)n.removeEventListener(e,o,!0)}}},[pl]);B(()=>()=>pl(ul()),[pl]);const fl=(e,n,l)=>{if("start"!==e)return;const r=un.get(n);r&&gl(r)&&(hl(l??null),Pe(e))},gl=e=>!dl||e.private||e.pickDisabledReason?void 0:JSON.stringify({id:e.id,url:e.url,kind:"video"===e.kind?"video":"image",name:e.name}),vl=te.map(e=>({id:e.id,url:e.thumbUrl??e.url,name:e.name,kind:e.kind,caption:e.name,badges:il(e),dragData:ol?JSON.stringify(mn.isSelected(e.id)?pn:[e.id]):gl(e),...ol&&gl(e)?{dragAlso:{[V]:gl(e)}}:{}})),kl=Xe?Math.max(72,Math.floor((We-24-16-1)/3)):112,yl=R(null),bl=v({containerRef:yl,enabled:Be&&!Xe&&te.length>0,selected:mn.selected,setSelection:e=>mn.setSelection(e),clearSelection:mn.clear}),wl=e=>{if(Qe){const n=un.get(e);return void(!n||n.private||n.pickDisabledReason||Oe?.(n))}const n=cn.indexOf(e);n>=0&&Sn(n)},xl=te.length?null:oe?/* @__PURE__ */X(t,{variant:"dashed",title:Ue.noMatches}):rn?/* @__PURE__ */X(t,{variant:"dashed",title:Ue.emptyProducts,description:sn(dn)}):an?/* @__PURE__ */X(t,{variant:"dashed",title:Ue.trashEmpty}):!Zn||Qe?/* @__PURE__ */X(t,{variant:"dashed",title:Ue.emptyFolder}):null,Cl="list"===me&&te.length>0,Nl=xl??(Cl?/* @__PURE__ */X("ul",{role:"listbox","aria-multiselectable":Be||void 0,"aria-label":Ue.folders,className:"flex flex-col gap-1",children:te.map(e=>/* @__PURE__ */J("li",{role:"option","aria-selected":mn.isSelected(e.id),tabIndex:0,"data-grid-item":"","data-grid-id":e.id,onClick:n=>yn(e.id,n),onDoubleClick:()=>wl(e.id),onContextMenu:n=>Ln(e.id,n),draggable:!!gl(e)||void 0,onDragStart:gl(e)?n=>{n.dataTransfer.effectAllowed="link",n.dataTransfer.setData(V,gl(e)),fl("start",e.id,n.currentTarget)}:void 0,onKeyDown:n=>{"Enter"!==n.key&&" "!==n.key||(n.preventDefault(),yn(e.id,n))},className:"flex h-12 cursor-pointer items-center gap-3 rounded-md px-2 text-sm rosh-focus-ring focus-visible:ring-2 focus-visible:ring-[color:var(--rosh-focus-ring-solid)] "+(mn.isSelected(e.id)?"bg-accent-tint text-blue-700":"text-ink hover:bg-gray-100"),children:[
|
|
8
|
-
/* @__PURE__ */X("img",{src:e.thumbUrl??e.url,alt:"",className:"h-10 w-10 shrink-0 rounded bg-gray-100 object-contain"}),
|
|
9
|
-
/* @__PURE__ */X("span",{className:"min-w-0 flex-1 truncate",children:e.name}),
|
|
10
|
-
/* @__PURE__ */X("span",{className:"flex shrink-0 items-center gap-1",children:tl(e)}),e.sizeLabel&&/* @__PURE__ */X("span",{className:"w-16 shrink-0 text-right text-xs text-ink-faint",children:e.sizeLabel})]},e.id))}):/* @__PURE__ */X(p,{items:vl,readOnly:!Zn||Qe,onFiles:Zn&&!Qe?e=>xe(e,on):void 0,accept:ke,maxSizeBytes:ye,busy:be,progress:we,fit:"contain",thumbSize:kl,dragType:ol?Y:dl?V:void 0,onDragOutChange:dl?(e,n,l)=>fl(e,n,l):void 0,selected:mn.selected,onItemClick:yn,onItemDoubleClick:wl,onItemContextMenu:Be?Ln:void 0,menuOnMedia:Be})),Il=u({count:pn.length,kind:In(pn),targets:Nn({kind:"files",ids:pn}),onPick:e=>Ie?.({kind:"files",ids:pn},e.key===s?null:e.key)}),Dl=A({variant:"secondary",size:"sm"}),Sl=/* @__PURE__ */X(F,{align:"start",triggerClassName:Dl,trigger:/* @__PURE__ */J(W,{children:[Z.folder,Ue.moveTo]}),items:Il,disabled:!!ve.move}),jl=Be&&pn.length>1&&!rn?/* @__PURE__ */J("div",{"data-media-bulk":"",className:"flex flex-wrap items-center gap-2 rounded-lg border border-line px-3 py-2",children:[
|
|
11
|
-
/* @__PURE__ */X(y,{checked:pn.length===te.length,indeterminate:pn.length<te.length,onChange:e=>e?mn.selectAll():mn.clear(),label:Ue.selected(pn.length)}),/* @__PURE__ */J(W,an?{children:[je&&/* @__PURE__ */X(T,{variant:"secondary",size:"sm",leftIcon:Z.undo,onClick:()=>je(pn),...el(ve.restore),children:Ue.restore}),ze&&/* @__PURE__ */X(T,{variant:"secondary-danger",size:"sm",onClick:()=>ze(pn),...el(ve.deleteForever),children:Ue.deleteForever})]}:{children:[Ie&&Sl,Ne&&/* @__PURE__ */X(T,{variant:"secondary",size:"sm",leftIcon:Z.edit,disabled:!0,children:Ue.rename}),De&&/* @__PURE__ */X(T,{variant:"secondary",size:"sm",leftIcon:Z.trash,onClick:()=>De({kind:"files",ids:pn}),...el(ve.trash),children:Ue.moveFilesToTrash(pn.length)})]}),
|
|
12
|
-
/* @__PURE__ */X(T,{variant:"ghost",size:"sm",onClick:mn.clear,children:Ue.clearSelection})]}):null,zl=e=>{const n=[],l=(e,l,r)=>{null!=r&&""!==r&&n.push({key:e,label:l,value:r})},r="file"===bn?.kind&&bn.id===e.id;l("name",Ue.name,r?/* @__PURE__ */X(m,{value:e.name,label:Ue.fileName,onDone:xn}):e.name),l("type",Ue.type,e.typeLabel),l("size",Ue.size,e.sizeLabel),l("resolution",Ue.resolution,e.resolution),rn?(l("design",Ue.design,e.design),l("finish",Ue.finish,e.finish),l("angle",Ue.angleLug,e.angleLug),l("owner",Ue.owner,e.owner)):(l("added",Ue.addedBy,e.addedBy),l("folder",Ue.folder,e.folderPath)),l("used",Ue.usedIn,null!=e.usedCount?Ue.places(e.usedCount):void 0);const a=c({kind:"files",ids:[e.id]},jn).find(e=>"submenu"===e.type);/* @__PURE__ */
|
|
13
|
-
return J("div",{"data-media-details":"",className:"flex flex-col gap-3",children:[
|
|
14
|
-
/* @__PURE__ */X("img",{src:e.url,alt:e.name,className:"aspect-square w-full rounded-lg bg-gray-100 object-contain"}),rn&&/* @__PURE__ */X(C,{tone:"neutral",title:Ue.readOnlyBadge,children:sn(dn)}),
|
|
15
|
-
/* @__PURE__ */X(o,{size:"sm",columns:1,items:n}),!an&&/* @__PURE__ */J("div",{className:"flex gap-2",children:[
|
|
16
|
-
/* @__PURE__ */X("div",{style:{flex:"1 1 0",minWidth:0},children:/* @__PURE__ */X(N,{size:"sm",readOnly:!0,value:e.url,"aria-label":Ue.fileUrl,onFocus:e=>e.currentTarget.select()})}),
|
|
17
|
-
/* @__PURE__ */X(T,{variant:"secondary",size:"sm",leftIcon:Z.copy,onClick:()=>jn.copyUrl(e.id),children:Ue.copyUrl})]}),tn&&Be&&/* @__PURE__ */J("div",{className:"flex flex-wrap gap-2",children:[Le&&/* @__PURE__ */X(T,{variant:"secondary",size:"sm",leftIcon:Z.swap,onClick:()=>Le(e.id),...el(ve.replace),children:Ue.replace}),Te&&/* @__PURE__ */X(T,{variant:"secondary",size:"sm",leftIcon:Z.crop,onClick:()=>Te(e.id),children:Ue.cropEdit}),Ie&&"submenu"===a?.type&&/* @__PURE__ */X(F,{align:"start",triggerClassName:Dl,trigger:/* @__PURE__ */J(W,{children:[Z.folder,Ue.moveTo]}),items:a.items,disabled:!!ve.move}),Ne&&/* @__PURE__ */X(T,{variant:"secondary",size:"sm",leftIcon:Z.edit,onClick:()=>wn({kind:"file",id:e.id}),...el(ve.rename),children:Ue.rename}),De&&/* @__PURE__ */X(L,{"aria-label":Ue.moveToTrash,size:"sm",onClick:()=>De({kind:"files",ids:[e.id]}),disabledReason:ve.trash,"aria-disabled":!!ve.trash||void 0,children:Z.trash})]}),an&&Be&&/* @__PURE__ */J("div",{className:"flex flex-wrap gap-2",children:[je&&/* @__PURE__ */X(T,{variant:"primary",size:"sm",leftIcon:Z.undo,onClick:()=>je([e.id]),...el(ve.restore),children:Ue.restore}),ze&&/* @__PURE__ */X(T,{variant:"danger",size:"sm",onClick:()=>ze([e.id]),...el(ve.deleteForever),children:Ue.deleteForever})]}),rn&&Ee&&/* @__PURE__ */X(T,{variant:"secondary",size:"sm",leftIcon:Z.external,onClick:()=>Ee({kind:"render",id:e.id}),children:Ue.openInDesign}),ge&&/* @__PURE__ */X(h,{items:ge})]})},Fl=hn?hn.private?Ue.privateNoPick:hn.pickDisabledReason:void 0,Ll=Qe?/* @__PURE__ */J("div",{"data-media-picker-footer":"",className:"flex flex-wrap items-center justify-between gap-2 border-t border-line px-3 py-2",children:[
|
|
18
|
-
/* @__PURE__ */X("span",{className:"min-w-0 truncate text-sm text-ink-faint",children:hn?Ue.oneChosen(hn.name):Ue.noneChosen}),
|
|
19
|
-
/* @__PURE__ */J("div",{className:"flex gap-2",children:[Ae&&/* @__PURE__ */X(T,{variant:"secondary",size:"sm",onClick:Ae,children:Ue.cancel}),
|
|
20
|
-
/* @__PURE__ */X(T,{variant:"primary",size:"sm",disabled:!hn,...el(Fl),onClick:()=>{hn&&!Fl&&Oe?.(hn)},children:Ue.chooseImage})]})]}):null,Tl=Be&&!!hn,El=/* @__PURE__ */J("div",{className:"flex min-w-0 flex-col gap-3",children:[Me&&/* @__PURE__ */X(C,{tone:"neutral",children:Me}),
|
|
21
|
-
/* @__PURE__ */J("div",{className:"flex flex-wrap items-center justify-between gap-2",children:[
|
|
22
|
-
/* @__PURE__ */X(d,{items:Gn}),nl]}),al,jl,
|
|
23
|
-
/* @__PURE__ */J("div",{ref:yl,className:"relative",onPointerDown:bl.onPointerDown,onKeyDown:e=>{Be&&(e.ctrlKey||e.metaKey)&&"a"===e.key.toLowerCase()?(e.preventDefault(),mn.selectAll()):"Escape"===e.key&&mn.size&&mn.clear()},children:[Nl,
|
|
24
|
-
/* @__PURE__ */X(a,{rect:bl.rect})]}),Zn&&/* @__PURE__ */X("input",{...qn.inputProps}),
|
|
25
|
-
/* @__PURE__ */X(D,{rejections:qn.rejections})]});/* @__PURE__ */
|
|
26
|
-
return J("div",{ref:Je,"data-media-library":"","data-layout":Xe?"phone":"wide",className:`flex h-full min-h-0 min-w-0 flex-col ${Re}`.trim(),children:[/* @__PURE__ */J("div",Xe?{className:"flex flex-col gap-3 p-3",children:[Vn,El]}:{className:"flex min-h-0 min-w-0 flex-1",children:[
|
|
27
|
-
/* @__PURE__ */X("div",{className:"shrink-0 overflow-y-auto border-r border-line p-3",style:{width:280,"--rosh-tree-ground":"var(--surface)"},children:Vn}),
|
|
28
|
-
/* @__PURE__ */X("div",{className:"min-w-0 flex-1 overflow-y-auto p-3",children:El}),Tl&&/* @__PURE__ */X("div",{className:"shrink-0 overflow-y-auto border-l border-line p-3",style:{width:300},children:zl(hn)})]}),Ll,Xe&&/* @__PURE__ */X(i,{open:Tl,onClose:mn.clear,side:"bottom",title:hn?.name,children:hn&&zl(hn)}),Fn.state&&/* @__PURE__ */X(x,{...Fn.props,items:zn(Fn.state.data)}),null!=Dn&&te.length>0&&/* @__PURE__ */X(r,{images:te.map(e=>({url:e.url,caption:e.name})),startIndex:Math.min(Dn,te.length-1),onClose:()=>Sn(null)})]})}export{Y as MEDIA_FILES_DRAG_TYPE,V as MEDIA_FILE_DRAG_TYPE,H as MEDIA_FOLDER_DRAG_TYPE,_ as MediaLibrary,G as readMediaFileDrag};
|
package/dist/chunk-AW7TOB6N.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var n=[2,4,8,12,16,20,24,32,40,48],o={iconGap:8,iconGapSm:4,controlXSm:8,controlX:12,controlXLg:16,cellX:12,label:4,toolbar:8,formRow:12,card:16,block:16,gutter:16,panelGroup:2,panelSub:4,panelLayer:8,panelRow:12,panelPad:16,panelPadNarrow:12,panelSetting:32},r={sm:24,md:32,lg:40},a={menu:36,windowBar:r.lg,compactBar:32};function e(o){if("0"===o||"px"===o)return!0;const r=Number(o);return!!Number.isFinite(r)&&n.includes(4*r)}export{r as CONTROL_HEIGHTS,a as ROW_HEIGHTS,o as SPACING_ROLES,n as SPACING_SCALE,e as isSpacingStep};
|
package/dist/chunk-BNQ4BUPZ.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var r="14.6.0",a=r;export{a as APP_VERSION,r as VERSION};
|
package/dist/chunk-DTFX624I.js
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import{useOverlayTarget as e,usePopupAnchor as i,usePopupLevel as t,usePopupLevelBindings as r,windowScrimStyle as o,OverlayLayerProvider as n,scrimHasCorners as l,popupLayerStyle as d}from"./chunk-CJ4OEY3T.js";import{CloseButton as s}from"./chunk-AH5MLH54.js";import{useDiscardGuard as a}from"./chunk-5YTZBYG4.js";import{dialogA11y as m}from"./chunk-VWGWZY7A.js";import{useDismissPopupsOnOpen as c}from"./chunk-DBQNYJZ6.js";import{useFocusTrap as p,useScrollLock as h}from"./chunk-DWGYC7OD.js";import{HEADING_TEXT as u,DESCRIPTION_TEXT as f,PANEL_SURFACE as b}from"./chunk-BWJZTHZ6.js";import{useHydrated as y}from"./chunk-KEFNQEXZ.js";import{registerModalEscapeInterceptor as v}from"./chunk-TWVUQUUD.js";import{useRef as x,useId as w,useState as g,useEffect as k}from"react";import{createPortal as N}from"react-dom";import{jsxs as j,Fragment as C,jsx as W}from"react/jsx-runtime";var Y={sm:"sm:w-[320px]",md:"sm:w-[448px]",lg:"sm:w-[640px]"},Z={right:"inset-y-0 right-0",left:"inset-y-0 left-0",bottom:"inset-x-0 bottom-0"};function B(e,i){const t=window.innerHeight-(i.top+i.height);if("bottom"===e)return{left:i.left,width:i.width,bottom:t};const r={top:i.top,height:i.height};return"left"===e?{...r,left:i.left}:{...r,right:window.innerWidth-(i.left+i.width)}}function H({open:H,onClose:$,side:D="right",size:E="md",title:T,description:G,footer:J,children:Q,blocking:U=!1,dirty:z=!1,initialFocus:A,"aria-label":F,"aria-labelledby":O,"aria-describedby":V,className:I=""}){const K=x(null),L=w(),M=w(),X=w(),q=e(y()),[P,R]=g(null),S=a({open:H,dirty:z,onClose:$,title:T,layer:P}),_=x(null),ee=i(H&&null!==q,_),ie=t(H&&null!==q,_),te=r(ie,P),re=o(ie),oe=null!==ie.host;if(c(H),p(K,H&&null!==q,A,te),h(H),k(()=>{if(H)return v(()=>!te.current?.(document.activeElement)&&(U||S(),!0),()=>K.current)},[H,U,S,te]),!H||!q)return null;const ne="bottom"===D,le={...ne?{maxHeight:"85vh"}:{},...ee?B(D,ee):{}};/* @__PURE__ */
|
|
2
|
-
return j(C,{children:[/* @__PURE__ */W("span",{ref:_,hidden:!0,"data-popup-anchor":""}),N(
|
|
3
|
-
/* @__PURE__ */W(n,{value:P,children:/* @__PURE__ */j("div",{ref:R,className:oe?"fixed inset-0 pointer-events-none":"fixed inset-0",style:d(ie),role:"presentation","data-overlay-layer":"",children:[
|
|
4
|
-
/* @__PURE__ */W("div",{className:"fixed bg-black/30 backdrop-blur-sm "+(oe?"pointer-events-auto"+(l(ie)?" rounded-(--radius-window)":""):"inset-0"),style:re??void 0,hidden:oe&&!re,onClick:U?void 0:S,"aria-hidden":"true","data-popup-scrim":oe?"window":"system"}),
|
|
5
|
-
/* @__PURE__ */j("div",{ref:K,...m({modal:!0,titleId:T?X:void 0,labelledBy:O,label:F}),"aria-describedby":V??(G?M:Q?L:void 0),"data-drawer-side":D,"data-popup-panel":"",style:le,className:[`fixed flex flex-col ${b}`,oe?"pointer-events-auto":"",ne?"":`w-full max-w-full ${Y[E]}`,ee?"":Z[D],ne?"rounded-t-xl":"",I].filter(Boolean).join(" "),children:[T?/* @__PURE__ */j("div",{className:"flex shrink-0 items-center justify-between gap-4 border-b border-gray-100 px-4 py-3",children:[
|
|
6
|
-
/* @__PURE__ */j("div",{className:"min-w-0",children:[
|
|
7
|
-
/* @__PURE__ */W("h2",{id:X,className:u,children:T}),G&&/* @__PURE__ */W("p",{id:M,className:`mt-0.5 ${f}`,children:G})]}),!U&&/* @__PURE__ */W(s,{onClose:S})]}):!U&&/* @__PURE__ */W("div",{className:"absolute right-2 top-2 z-10",children:/* @__PURE__ */W(s,{onClose:S})}),
|
|
8
|
-
/* @__PURE__ */j("div",{id:L,className:"min-h-0 flex-1 overflow-y-auto px-4 py-4",children:[G&&!T&&/* @__PURE__ */W("p",{id:M,className:`mb-3 ${f} ${U?"":"pr-8"}`.trim(),children:G}),Q]}),J&&/* @__PURE__ */W("div",{className:"flex shrink-0 justify-end gap-3 border-t border-gray-100 px-4 py-3",children:J})]})]})}),q)]})}export{H as Drawer};
|