efficient-shell 12.36.0 → 12.37.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (56) hide show
  1. package/dist/{Browser-4BAVQQHN.js → Browser-L6R53COY.js} +14 -14
  2. package/dist/{Files-VCSKZF33.js → Files-5EL5Q4B7.js} +129 -129
  3. package/dist/{Notepad-SAQQNLZD.js → Notepad-FIHNDNX3.js} +8 -8
  4. package/dist/{Preview-TJZNAOJP.js → Preview-BUCAP4O7.js} +12 -12
  5. package/dist/ai/index.js +1 -1
  6. package/dist/apps/index.js +1 -1
  7. package/dist/bin/media-host-check.js +1 -1
  8. package/dist/bin/ui-check.js +1 -1
  9. package/dist/charts/PieChart.js +1 -1
  10. package/dist/charts/RadarChart.js +1 -1
  11. package/dist/charts/RadialBarChart.js +1 -1
  12. package/dist/charts/SpecChart.js +1 -1
  13. package/dist/charts/TimeSeriesChart.js +1 -1
  14. package/dist/chunk-3HU63I3K.js +1 -0
  15. package/dist/{chunk-OMD5FXGO.js → chunk-3W3FXX42.js} +1 -1
  16. package/dist/chunk-BXZTH7RX.js +1 -0
  17. package/dist/{chunk-DYOFTZOC.js → chunk-CUJA3HBZ.js} +2 -2
  18. package/dist/chunk-IGBFTBKL.js +14 -0
  19. package/dist/{chunk-NGG6DYNN.js → chunk-OFHJXWMZ.js} +1 -1
  20. package/dist/{chunk-DGFFDZCY.js → chunk-OZV5P5A7.js} +5 -5
  21. package/dist/{chunk-33IQLCGK.js → chunk-PK4R5S7U.js} +1 -1
  22. package/dist/chunk-RXRF2327.js +23 -0
  23. package/dist/{chunk-KZQRUVII.js → chunk-TZBNN6HD.js} +5 -5
  24. package/dist/{chunk-EEFUXXYJ.js → chunk-UF76AFFY.js} +13 -13
  25. package/dist/{chunk-7VIRSTRC.js → chunk-VYDZ5PQS.js} +8 -8
  26. package/dist/{chunk-LPAOHDUE.js → chunk-WAKWESOR.js} +1 -1
  27. package/dist/{chunk-AW6TAXX7.js → chunk-YFOSWCXT.js} +1 -1
  28. package/dist/{chunk-APGIPXR7.js → chunk-YHABPVWU.js} +2 -2
  29. package/dist/data/Gantt.js +1 -1
  30. package/dist/format/index.js +1 -1
  31. package/dist/forms/Calendar.js +1 -1
  32. package/dist/forms/DatePicker.js +1 -1
  33. package/dist/forms/DateRangePicker.d.ts +1 -0
  34. package/dist/forms/DateRangePicker.js +1 -1
  35. package/dist/forms/DateTimePicker.js +1 -1
  36. package/dist/forms/WidthsBar.d.ts +2 -2
  37. package/dist/icons/glyphs/SpinnerIcon.d.ts +1 -1
  38. package/dist/index.d.ts +4 -3
  39. package/dist/index.js +26 -26
  40. package/dist/shell/Dialog.d.ts +1 -1
  41. package/dist/shell/EmptyState.d.ts +2 -2
  42. package/dist/shell/PageHeader.d.ts +1 -1
  43. package/dist/shell/SidebarActionButton.d.ts +1 -0
  44. package/dist/shell/SortableList.d.ts +1 -1
  45. package/dist/shell/strings.d.ts +4 -4
  46. package/dist/telemetry/index.js +1 -1
  47. package/dist/templates/DashboardTemplate.js +1 -1
  48. package/dist/ui/index.js +1 -1
  49. package/dist/utils/dateKey.d.ts +8 -1
  50. package/dist/utils/dateKey.js +1 -1
  51. package/dist/version.js +1 -1
  52. package/package.json +1 -1
  53. package/dist/chunk-2HMNOLKX.js +0 -1
  54. package/dist/chunk-A6KFGANR.js +0 -23
  55. package/dist/chunk-W5HT23P7.js +0 -14
  56. package/dist/chunk-WFFON2EC.js +0 -1
@@ -64,7 +64,7 @@ interface DialogProps {
64
64
  * @deprecated No host uses it since the media popup became the Media
65
65
  * Library window: a window that holds a `MediaLibrary` steps aside
66
66
  * by itself while a file is dragged out of it (`Modal`, `windowDragAside`).
67
- * Removed in the next major.
67
+ * Delete by 2026-12-31.
68
68
  */
69
69
  aside?: boolean;
70
70
  /**
@@ -9,12 +9,12 @@ interface EmptyStateProps {
9
9
  message?: string;
10
10
  /** Secondary muted line. (`hint` is an accepted alias.) */
11
11
  description?: string;
12
- /** @deprecated alias for `description`. */
12
+ /** @deprecated alias for `description`. Delete by 2027-02-26, after admin-portal moves to `description`. */
13
13
  hint?: string;
14
14
  /** Frame around the content: `dashed` (default), `card` (bordered surface),
15
15
  * or `none`. */
16
16
  variant?: 'dashed' | 'card' | 'none';
17
- /** @deprecated set `variant="none"` instead. */
17
+ /** @deprecated set `variant="none"` instead. Delete by 2027-02-26, after admin-portal moves to `variant`. */
18
18
  frameless?: boolean;
19
19
  /**
20
20
  * `true`/omitted shows the placeholder inbox, `false` shows nothing, and an
@@ -6,7 +6,7 @@ interface PageHeaderProps {
6
6
  title: string;
7
7
  /** Muted line under the title. (`subtitle` is an accepted alias.) */
8
8
  description?: string;
9
- /** @deprecated alias for `description`. */
9
+ /** @deprecated alias for `description`. Delete by 2026-12-31. */
10
10
  subtitle?: string;
11
11
  /** Right-aligned actions. (`children` is also accepted.) */
12
12
  actions?: ReactNode;
@@ -25,6 +25,7 @@ interface SidebarActionButtonProps {
25
25
  /**
26
26
  * @deprecated Ignored. It drew a trailing shortcut chip (`ALT_SHIFT_N`);
27
27
  * controls no longer show their shortcuts. Kept so call sites compile.
28
+ * Delete by 2027-02-26, after admin-portal stops passing it.
28
29
  */
29
30
  hotkey?: string;
30
31
  disabled?: boolean;
@@ -50,7 +50,7 @@ interface ListRowProps {
50
50
  * the drag is the host's (`rowProps`). */
51
51
  draggable?: boolean;
52
52
  /** @deprecated No longer drawn: the list has no grip (Lewis, 2026-09-29).
53
- * Kept so a host that passes it still compiles. */
53
+ * Kept so a host that passes it still compiles. Delete by 2026-12-31. */
54
54
  dragHint?: string;
55
55
  /** This row is being dragged. */
56
56
  dragging?: boolean;
@@ -765,8 +765,8 @@ interface ShellStrings {
765
765
  * `detail`): "back to equal widths". */
766
766
  equal: string;
767
767
  /** @deprecated Not read: the bar's own "Reset to equal" ↺ is gone (the
768
- * row's `SettingReset` is named after the row). Delete at the next
769
- * shell major. */
768
+ * row's `SettingReset` is named after the row). Delete by
769
+ * 2026-12-31. */
770
770
  reset?: string;
771
771
  };
772
772
  /** `ColorPicker`, `ColorPickerPanel` and `ColorSwatch`. The label arrives
@@ -1293,7 +1293,7 @@ interface ShellStrings {
1293
1293
  newPassword: string;
1294
1294
  confirm: string;
1295
1295
  submit: string;
1296
- /** The submit button while the change is in flight. @deprecated No longer shown: the button keeps its name and shows the shell's loading state (owner ruling, 2026-10-14). Kept so an override still type-checks; removed in the next major. */
1296
+ /** The submit button while the change is in flight. @deprecated No longer shown: the button keeps its name and shows the shell's loading state (owner ruling, 2026-10-14). Kept so an override still type-checks. Delete by 2026-12-31. */
1297
1297
  submitting: string;
1298
1298
  /** The button under the confirmation. */
1299
1299
  done: string;
@@ -1308,7 +1308,7 @@ interface ShellStrings {
1308
1308
  * window while the document is on its way (its `label` wins). */
1309
1309
  pdfAction: {
1310
1310
  label: string;
1311
- /** The button while a document is being fetched. @deprecated No longer shown: the button keeps its name and shows the shell's loading state (owner ruling, 2026-10-14). Kept so an override still type-checks; removed in the next major. */
1311
+ /** The button while a document is being fetched. @deprecated No longer shown: the button keeps its name and shows the shell's loading state (owner ruling, 2026-10-14). Kept so an override still type-checks. Delete by 2026-12-31. */
1312
1312
  loading: string;
1313
1313
  preview: string;
1314
1314
  download: string;
@@ -1 +1 @@
1
- export{startClientTelemetry}from"../chunk-33IQLCGK.js";import"../chunk-KNUR2UEG.js";import"../chunk-WFFON2EC.js";
1
+ export{startClientTelemetry}from"../chunk-PK4R5S7U.js";import"../chunk-KNUR2UEG.js";import"../chunk-BXZTH7RX.js";
@@ -1 +1 @@
1
- export{DashboardTemplate as default}from"../chunk-LPAOHDUE.js";import"../chunk-CVXJKHPD.js";import"../chunk-CKCDGSTC.js";import"../chunk-DYOFTZOC.js";import"../chunk-YAM3L5N4.js";import"../chunk-VFC6QUEN.js";import"../chunk-PA3OU3Y7.js";import"../chunk-465RRWBY.js";import"../chunk-NLHGFQ54.js";import"../chunk-CNYAHYE6.js";import"../chunk-JMGDGNM7.js";import"../chunk-EVYD6UFQ.js";import"../chunk-M5K4AX4E.js";import"../chunk-R2VKEMZH.js";import"../chunk-G67CJAQ2.js";import"../chunk-SOZCWT6I.js";import"../chunk-PGN5ME7B.js";import"../chunk-62LW225J.js";import"../chunk-GLUJS42B.js";import"../chunk-D65T4H6J.js";import"../chunk-UQYNPYF4.js";import"../chunk-MRJKZWWV.js";import"../chunk-D53FU245.js";import"../chunk-2UBR4YUF.js";import"../chunk-MAFUXCPZ.js";import"../chunk-2JWPNR2U.js";import"../chunk-WDQI3FV6.js";import"../chunk-TZFACUMR.js";import"../chunk-TWVUQUUD.js";import"../chunk-5FYDNH4Y.js";import"../chunk-LNXBTK7Q.js";import"../chunk-DEJIH3ZQ.js";import"../chunk-C3QOHMR6.js";
1
+ export{DashboardTemplate as default}from"../chunk-WAKWESOR.js";import"../chunk-CVXJKHPD.js";import"../chunk-CKCDGSTC.js";import"../chunk-CUJA3HBZ.js";import"../chunk-YAM3L5N4.js";import"../chunk-PA3OU3Y7.js";import"../chunk-465RRWBY.js";import"../chunk-NLHGFQ54.js";import"../chunk-VFC6QUEN.js";import"../chunk-CNYAHYE6.js";import"../chunk-JMGDGNM7.js";import"../chunk-EVYD6UFQ.js";import"../chunk-M5K4AX4E.js";import"../chunk-R2VKEMZH.js";import"../chunk-G67CJAQ2.js";import"../chunk-SOZCWT6I.js";import"../chunk-PGN5ME7B.js";import"../chunk-62LW225J.js";import"../chunk-GLUJS42B.js";import"../chunk-D65T4H6J.js";import"../chunk-UQYNPYF4.js";import"../chunk-MRJKZWWV.js";import"../chunk-D53FU245.js";import"../chunk-2UBR4YUF.js";import"../chunk-MAFUXCPZ.js";import"../chunk-2JWPNR2U.js";import"../chunk-WDQI3FV6.js";import"../chunk-TZFACUMR.js";import"../chunk-TWVUQUUD.js";import"../chunk-5FYDNH4Y.js";import"../chunk-LNXBTK7Q.js";import"../chunk-DEJIH3ZQ.js";import"../chunk-C3QOHMR6.js";
package/dist/ui/index.js CHANGED
@@ -1,2 +1,2 @@
1
1
  "use client";
2
- import"../chunk-KH3253OM.js";export{GalleryTemplate}from"../chunk-BRFUQAVC.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{ChatTemplate}from"../chunk-ROPVIMIR.js";export{CheckoutTemplate}from"../chunk-PGATHOTX.js";export{DashboardTemplate}from"../chunk-LPAOHDUE.js";export{DataTablePage}from"../chunk-QDEQHT2T.js";export{EmailTemplate}from"../chunk-YW6BODBX.js";export{ErrorBoundary}from"../chunk-H4GOJ26X.js";export{ErrorPage}from"../chunk-AEMTJGD4.js";export{FormLayoutPage}from"../chunk-BSEQJM7X.js";export{useTransferProgress}from"../chunk-QHOEMRR7.js";export{AuthScreen}from"../chunk-7WMFHPKS.js";export{TimeAgo}from"../chunk-3U4IIEEY.js";export{TopNav}from"../chunk-N2FX4O3H.js";export{Grid,Inline,Stack}from"../chunk-3RPER7VH.js";export{Statistic}from"../chunk-6SOS6OBB.js";export{Stepper}from"../chunk-KTO427N3.js";export{Tabs,tabButtonId,tabPanelId}from"../chunk-I5EVMLPB.js";export{Paragraph,Text,Title}from"../chunk-5KUE6IHF.js";export{SettingReset}from"../chunk-4HJX2M4W.js";export{SettingRow}from"../chunk-O5UD3ZWM.js";export{SidebarActionButton}from"../chunk-KMTCYDJH.js";export{SidebarLayout}from"../chunk-6D6Q3ZCG.js";export{SidebarGroupLabel,SidebarNavGroup,SidebarNavItem,SidebarSection}from"../chunk-VUM6BYAX.js";import"../chunk-QWK6DRSN.js";export{Skeleton}from"../chunk-4Z62SEA5.js";export{ListRow,SortableList}from"../chunk-R5TSUJTK.js";export{MilestoneTimeline}from"../chunk-RTGGGZ2R.js";export{PageHeader}from"../chunk-AKKDFFUO.js";export{POST_PRODUCTION_STATUSES,ProductionTimeline,STAGES,calcOverall,calcReportOverall,useProductionTimeline}from"../chunk-KRCWLZV7.js";import"../chunk-S4Z657L6.js";export{TimelineTrack}from"../chunk-S26FG4RF.js";export{DAY_MS,fmtSliderDate,toDayMs}from"../chunk-7TC3LJQM.js";export{ResizeHandle}from"../chunk-PC3MYH2K.js";export{LanguagePanel,LanguageSelect,languageSelectWidth}from"../chunk-65JCQLM4.js";export{MetricBar}from"../chunk-AJ5GLMGD.js";export{isSeverityTone,severityOf}from"../chunk-TZFNWAED.js";export{MetricBarLegend}from"../chunk-DU7TJVX5.js";import"../chunk-URBCGEXG.js";export{EditableGrid}from"../chunk-6XPS3H5Z.js";export{EmptyValue}from"../chunk-HNQPF5QZ.js";export{FloatingBar}from"../chunk-7KWYVQMX.js";export{GlobalSearch,openGlobalSearch}from"../chunk-PZNF2TEB.js";export{pushRecent as pushRecentSearch,sanitizeRecent as sanitizeRecentSearches}from"../chunk-HGOWQO63.js";export{HelpCenter}from"../chunk-IRCASURW.js";export{IconRail,IconRailButton}from"../chunk-Q6GECV4J.js";import"../chunk-FQEALPZJ.js";export{ContainerFillChart}from"../chunk-X22SFR5F.js";export{CountBadge}from"../chunk-F3MO56N4.js";export{Accordion,AccordionBody,AccordionHeading}from"../chunk-TDG5WGLR.js";export{APP_UPDATE_POLL_MS,AppUpdateBanner,useAppUpdate}from"../chunk-4RSBPRCQ.js";export{BudgetBar,budgetState}from"../chunk-3DV5YLAI.js";export{Card,StatCard}from"../chunk-CVXJKHPD.js";export{ENGLISH,SHELL_LANGUAGE_STORAGE_KEY,ShellLanguageProvider,matchShellLanguage,readSavedShellLanguage,resolveShellLanguage,saveShellLanguage,useShellLanguage}from"../chunk-NUDL6UO3.js";export{BRAND_ICON_NAMES,ICON_NAMES,isBrandIconName,isIconName}from"../chunk-HNBMBC77.js";export{useRootIsDark}from"../chunk-UPXDDO3U.js";export{CORNERS,CORNERS_FOR_THEME,applyCorners,applyIconSet,applyThemePrefs,cornersFor,resolveCorners,resolveTheme,useTheme}from"../chunk-CUZQVBPC.js";export{ICON_SET_FOR_THEME,THEME_ICON_SETS,iconSetFor,loadIconSet}from"../chunk-VQCKMT5F.js";export{BRAND_MAX_HEIGHT,BRAND_MIN_HEIGHT_PX,brandBox}from"../chunk-64ACCUNN.js";export{useDebouncedValue}from"../chunk-SLGT5WPJ.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-FVORTWUY.js";export{WidthsBar}from"../chunk-VMKTA5HL.js";export{COLUMN_COUNT_MAX,COLUMN_COUNT_WIDTHS,COLUMN_SHARES_EQUAL,COLUMN_SHARE_MIN,columnSharesWidths,resolveColumnShares,resolveColumnWidths}from"../chunk-PLGJOHEG.js";export{ShowWhen}from"../chunk-YEM4KYCW.js";export{SidesEachToggle,SidesInput,sidesStartEach}from"../chunk-4YWQE67T.js";export{Slider,SliderGroup}from"../chunk-2LRSUDGN.js";export{Snippet}from"../chunk-B3KQELHS.js";export{SplitButton_default as SplitButton}from"../chunk-ASDYAASN.js";export{Switch_default as Switch}from"../chunk-M3R4C3A6.js";export{TagInput}from"../chunk-V3KQIY6T.js";export{TextToolbar,textToolbarRows,textToolbarWindowColumns}from"../chunk-2FQBY4ED.js";export{TEXT_ALIGNS,TEXT_ALIGN_FIT,TEXT_ALIGN_ICONS,textAlignFit,textAlignOptions,textAlignWords}from"../chunk-4HJNHI4A.js";export{NumericKeypad}from"../chunk-TAEO2JC6.js";export{MAX_FRACTION_DIGITS,appendKey,backspace}from"../chunk-VEPVOHCV.js";export{PICTURE_TILES_COLUMNS_VAR,PictureTiles}from"../chunk-WW5AXVBX.js";export{PositionInput}from"../chunk-BLXHT72M.js";export{RadioGroup}from"../chunk-32VV2J22.js";export{Radio_default as Radio}from"../chunk-NI5FXWK5.js";export{LinkPicker,TextLinkField}from"../chunk-WUEH6DLJ.js";export{SearchableSelect}from"../chunk-P62QGXRW.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-JZY2RBPX.js";export{Tree,TreeEmptySlot,TreeGroup,TreeGroupLabel,TreeRow,TreeSeam}from"../chunk-FCWBO7I3.js";import"../chunk-FXG7TOZN.js";export{ImageLightbox,lightboxKind}from"../chunk-HWJQLLJA.js";export{LIGHTBOX_PICTURE_FIT,ZoomableImage}from"../chunk-CGUMJZUB.js";export{MarqueeBox}from"../chunk-IC72MGON.js";export{EmptyState}from"../chunk-3TCGXYUC.js";export{DescriptionList}from"../chunk-SACUSHVN.js";export{Drawer}from"../chunk-3RX5KCUH.js";export{Breadcrumbs}from"../chunk-YM7AWNMY.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-3YCU6V3U.js";export{mediaMoveItems,mediaMoveSubmenu,useMediaMoveItems}from"../chunk-JWUNK2PW.js";export{RenameField}from"../chunk-QIPO4EVJ.js";export{NativeSelect,Select_default as Select}from"../chunk-KITSIQCV.js";import"../chunk-EO5RLFRX.js";import"../chunk-K5YT5PMJ.js";export{FULL_BADGE_TILE_PX,MediaUploadGrid}from"../chunk-BNPJHOAC.js";export{MediaUsedInList}from"../chunk-ZDDMFFQK.js";export{DateTimePicker_default as DateTimePicker}from"../chunk-NGG6DYNN.js";export{DisplayChips}from"../chunk-XCY7A5UM.js";export{FilePicker_default as FilePicker}from"../chunk-JOYGSKWG.js";export{FormErrorSummary}from"../chunk-BXZLSY2S.js";export{CornersInput}from"../chunk-R5SVNFUG.js";export{DatePicker_default as DatePicker}from"../chunk-7VIRSTRC.js";export{DateRangePicker,toISODate}from"../chunk-A6KFGANR.js";export{Calendar}from"../chunk-W5HT23P7.js";export{useSort}from"../chunk-E6FDUFPH.js";export{slugify}from"../chunk-24AL3CDS.js";export{ENTRANCE_ATTR,ENTRANCE_FROM,ENTRANCE_FROM_ATTR,ENTRANCE_FROM_DEFAULT,ENTRANCE_KINDS,ENTRANCE_KINDS_WITH_FROM,ENTRANCE_STATE_ATTR,armEntrance,entranceAttrs,playEntrance,readEntrance}from"../chunk-ZSEB7XW4.js";export{HOVER_MOTION,MOTION_EASING,MOTION_GROUPS,MOTION_TIMING,motionSeconds,rotateDegrees}from"../chunk-AIJ3G6BD.js";export{hexWithAlpha,mixHex,rgbToHex}from"../chunk-CJSZW3OS.js";export{addShowWhenFacts,isShown,lazyShowWhenContext,showWhenFactReaders,showWhenFactsContext,showWhenOf,shownForOption,truthy,withRowRules,withRowsShownWhen,withShowWhen,withShowWhenFacts}from"../chunk-HCP7WOAL.js";export{AlignmentGrid}from"../chunk-3DWVSQIJ.js";export{BorderInput,borderSides,borderStartEach}from"../chunk-CBXEMPZL.js";export{IconPicker}from"../chunk-FUNGLFQE.js";export{ColorPicker,ColorPickerPanel,ColorSwatch,HexInput,colorFill,colorSwatchClasses}from"../chunk-Y43S6YS5.js";export{Popover}from"../chunk-64RHGJXK.js";export{InputNumber_default as InputNumber}from"../chunk-ZDCCYRFF.js";export{UnitMenu}from"../chunk-QOYKBINM.js";export{useSettingAuto,useSettingRowName}from"../chunk-2NMW66P5.js";export{BORDER_LINE_STYLES}from"../chunk-NOMWJTN2.js";export{contrastRatio,hexToHsv,hexToRgb,hsvToHex,parseHexColor,readableInk,relativeLuminance}from"../chunk-S6OB6HJB.js";export{BrandAssetEditor}from"../chunk-QO7UHTUE.js";export{MediaUploadField}from"../chunk-UHQBHSWL.js";export{FormField}from"../chunk-6KBDNYRW.js";export{ImageFocusPoint}from"../chunk-YMUHIJDJ.js";export{FOCAL_DEFAULT,FOCAL_NUDGE_COARSE,FOCAL_NUDGE_STEP,focalFromRect,formatFocal,nudgeFocal,parseFocal}from"../chunk-25RR3GQW.js";export{BrandMark,resolveBrandMarkTreatment}from"../chunk-MI67DI3H.js";export{Gantt}from"../chunk-OMD5FXGO.js";export{fromDateKey,toDateKey}from"../chunk-2HMNOLKX.js";export{Segmented}from"../chunk-HNIIDDLJ.js";import"../chunk-EFKJLUYP.js";export{Kanban}from"../chunk-RJ24VXBZ.js";export{PortalBrandingProvider,resolvePortalBrandAsset,usePortalBranding}from"../chunk-ACYYVK6G.js";export{DataTable}from"../chunk-ZHR2HNT2.js";export{Pagination}from"../chunk-MZCYB2MW.js";export{EntityList}from"../chunk-FOE2QHDE.js";import"../chunk-HTHNDX32.js";export{useTableNav}from"../chunk-ATMJ5ZPK.js";export{escapeHtml}from"../chunk-G6DKCCWH.js";export{ListFooter}from"../chunk-IODIQ77P.js";export{ListLoadError}from"../chunk-IYTOOV7Q.js";export{ResizableTable}from"../chunk-5UPLN44S.js";export{useClickOutside}from"../chunk-SI26KESU.js";export{useColumnConfig}from"../chunk-UKBXQXDZ.js";import"../chunk-ULJQYXHB.js";export{Checkbox_default as Checkbox}from"../chunk-CGZBDI6C.js";export{TreemapChart}from"../chunk-V5VAKDLS.js";export{squarify}from"../chunk-46BYGPGD.js";export{WaterfallChart}from"../chunk-YEEMRWBS.js";export{RangeChart}from"../chunk-G5U7IRH4.js";export{RankedBars}from"../chunk-ARBS2EZ6.js";export{SankeyChart}from"../chunk-HTHD7STJ.js";export{SCATTER_SERIES_CAP,ScatterChart}from"../chunk-RMEYKJEH.js";export{StatTile}from"../chunk-75TPMXA7.js";export{Sparkline}from"../chunk-CKCDGSTC.js";export{SunburstChart}from"../chunk-VVXBBU6R.js";export{FunnelChart}from"../chunk-WEZ2RO72.js";export{HeatmapChart}from"../chunk-FBMYLCCE.js";export{HistogramChart}from"../chunk-QXXMRV4E.js";export{Meter}from"../chunk-IEW5JTIR.js";export{PieChart}from"../chunk-DYOFTZOC.js";export{RADAR_SERIES_CAP,RadarChart}from"../chunk-DGFFDZCY.js";export{RadialBarChart}from"../chunk-KZQRUVII.js";export{ChordChart}from"../chunk-BLXEDMZM.js";import"../chunk-HY6CBG4M.js";export{StepChain,StepChainItem}from"../chunk-Z2Z653OO.js";export{Markdown,Markdown as MarkdownLite,plainCell,tableToCsv}from"../chunk-E44RNULN.js";export{Divider}from"../chunk-DFOFEBYX.js";export{Avatar,AvatarGroup}from"../chunk-YAM3L5N4.js";import"../chunk-UJUTS6LJ.js";export{isSafeLinkHref}from"../chunk-Z5TE3MEG.js";export{ContextMenu,useContextMenu}from"../chunk-QMBMK6PP.js";export{Banner}from"../chunk-ID35S5Y6.js";export{AttachButton,AttachmentDropZone,AttachmentList,ComposerAttachments,PaperclipGlyph}from"../chunk-DFOKJAIS.js";export{Input_default as Input}from"../chunk-PT4GMPUB.js";export{DropdownMenu}from"../chunk-3DSGJIC7.js";import"../chunk-UZFFSZFI.js";export{IconButton_default as IconButton}from"../chunk-SV5RRBVA.js";export{INPUT_BASE,INPUT_SIZES,PLACEHOLDER_INK,inputClasses}from"../chunk-AYZY3YNC.js";export{mediaFileName}from"../chunk-CCPUNN4F.js";export{TransferProgress}from"../chunk-ROKUEMAK.js";export{FileIntakeAlert,acceptsFile,useFileIntake}from"../chunk-ITEOA45V.js";export{CHART_SPEC_LIMITS,parseChartSpec}from"../chunk-CR7T435F.js";export{SpecChart}from"../chunk-APGIPXR7.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-EEFUXXYJ.js";export{DEFAULT_FLOW_CHART_LABELS,FlowChart}from"../chunk-7NO4IENQ.js";export{FLOW_LAYOUT,FLOW_SPEC_LIMITS,layoutFlow,parseFlowSpec}from"../chunk-FAERBT6Y.js";export{ChartBrush}from"../chunk-FEQQMRHJ.js";export{ChartDot}from"../chunk-CK2YOGUS.js";export{ChartFrame}from"../chunk-VWYICGVA.js";export{arcPath,areaBetween,areaFrom,bumpPath,curvePath,linearPath,monotonePath,polygonPoints,splinePath,stepPath}from"../chunk-VFC6QUEN.js";export{ColumnChart}from"../chunk-PA3OU3Y7.js";export{ChartDefs,MOTION,dashFor,fillFor,fillId,glowId,groundId,maskId,stagger}from"../chunk-465RRWBY.js";export{ChartSkeleton}from"../chunk-NLHGFQ54.js";export{ChartHighlightProvider,autoHighlightIndex,highlightOpacity,useHighlight}from"../chunk-CNYAHYE6.js";export{ImageAnnotator_default as ImageAnnotator}from"../chunk-EQFWFQOZ.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-DASRJ26L.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-KV6XCHAG.js";export{Dialog}from"../chunk-B447IHIL.js";import"../chunk-EIFNESXS.js";export{ItemCount}from"../chunk-PR6FNBKR.js";import"../chunk-RIG5FEVS.js";import"../chunk-NDWX5Z4D.js";import"../chunk-VWGWZY7A.js";import"../chunk-7QSDPSXP.js";export{ColoredBadge}from"../chunk-ZGIAMYTI.js";import"../chunk-5LHEPE4B.js";import"../chunk-F3ZOO23R.js";import"../chunk-2QY5BJLA.js";export{useIsMobile}from"../chunk-UGTRSRIW.js";export{ShellPrefsProvider,useLocalStoragePrefs,useShellPrefs}from"../chunk-KC3EX26K.js";export{VERSION}from"../chunk-WFFON2EC.js";export{useFocusTrap,useScrollLock}from"../chunk-DWGYC7OD.js";export{GROUP_COLORS,GROUP_COLORS_SOLID,StatusBadge,StatusBadgeProvider,groupColors,useStatusLabel}from"../chunk-JMGDGNM7.js";export{PopupMenu,PopupMenuDivider,PopupMenuItem,PopupMenuLabel,PopupSubmenu}from"../chunk-GOAFMGUI.js";import"../chunk-URHGHXDN.js";export{MENU_ON_MEDIA_ATTR,leavesContextMenuAlone}from"../chunk-5QFPTDQF.js";export{Button_default as Button}from"../chunk-EVYD6UFQ.js";import"../chunk-M5K4AX4E.js";export{Icon}from"../chunk-ISVODSRP.js";export{activeIconSet,iconSets,iconsVersion,registerIconSet,registerIcons,resolveIcon,setDefaultIconSet,setIconSet,subscribeIcons}from"../chunk-J75ZT2JQ.js";export{LoadingSpinner,SpinnerRing}from"../chunk-R2VKEMZH.js";import"../chunk-G67CJAQ2.js";export{Tooltip}from"../chunk-SOZCWT6I.js";export{OVERLAY_OPEN_EVENT,dismissPopups}from"../chunk-PGN5ME7B.js";export{Z_LAYERS}from"../chunk-62LW225J.js";export{MENU_MAX_HEIGHT,POPUP_MAX_WIDTH,placeMenu,popupBounds,useDropdownPosition}from"../chunk-GLUJS42B.js";import"../chunk-D65T4H6J.js";export{setShellApiClient}from"../chunk-STKJA4PV.js";export{UNDOABLE_MS,toast_default as toast}from"../chunk-TMSSR5UH.js";export{buttonClasses,iconButtonClasses}from"../chunk-UQYNPYF4.js";import"../chunk-MRJKZWWV.js";export{BoxPlotChart}from"../chunk-GAGCE2ML.js";export{CandlestickChart}from"../chunk-XPSWZQR4.js";export{CartesianPlot}from"../chunk-D53FU245.js";import"../chunk-2UBR4YUF.js";export{usePlotWidth}from"../chunk-MAFUXCPZ.js";export{angleScale,bandScale,binValues,ladderScale,linearScale,logScale,niceAxis,niceMax,radiusScale}from"../chunk-2JWPNR2U.js";export{ChartTooltip}from"../chunk-WDQI3FV6.js";export{CHART_INK,SERIES_SLOT_COUNT,SERIES_VARS,STATUS_VARS,assignSeriesSlots,resolveSeriesColor,resolveSeriesColorWithin,seriesColor,toggleSeriesSlot}from"../chunk-TZFACUMR.js";export{registerModalEscapeInterceptor}from"../chunk-TWVUQUUD.js";export{GLASS_DIVIDER,glassStyle,solidSurfaceStyle}from"../chunk-5FYDNH4Y.js";import"../chunk-LNXBTK7Q.js";export{DEFAULT_SHELL_STRINGS,ShellStringsProvider,useShellLocale,useShellStrings}from"../chunk-DEJIH3ZQ.js";import"../chunk-C3QOHMR6.js";
2
+ import"../chunk-KH3253OM.js";export{GalleryTemplate}from"../chunk-BRFUQAVC.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{ChatTemplate}from"../chunk-ROPVIMIR.js";export{CheckoutTemplate}from"../chunk-PGATHOTX.js";export{DashboardTemplate}from"../chunk-WAKWESOR.js";export{DataTablePage}from"../chunk-QDEQHT2T.js";export{EmailTemplate}from"../chunk-YW6BODBX.js";export{ErrorBoundary}from"../chunk-H4GOJ26X.js";export{ErrorPage}from"../chunk-AEMTJGD4.js";export{FormLayoutPage}from"../chunk-BSEQJM7X.js";export{useTransferProgress}from"../chunk-QHOEMRR7.js";export{AuthScreen}from"../chunk-7WMFHPKS.js";export{TimeAgo}from"../chunk-3U4IIEEY.js";export{TopNav}from"../chunk-N2FX4O3H.js";export{Grid,Inline,Stack}from"../chunk-3RPER7VH.js";export{Statistic}from"../chunk-6SOS6OBB.js";export{Stepper}from"../chunk-KTO427N3.js";export{Tabs,tabButtonId,tabPanelId}from"../chunk-I5EVMLPB.js";export{Paragraph,Text,Title}from"../chunk-5KUE6IHF.js";export{SettingReset}from"../chunk-4HJX2M4W.js";export{SettingRow}from"../chunk-O5UD3ZWM.js";export{SidebarActionButton}from"../chunk-KMTCYDJH.js";export{SidebarLayout}from"../chunk-6D6Q3ZCG.js";export{SidebarGroupLabel,SidebarNavGroup,SidebarNavItem,SidebarSection}from"../chunk-VUM6BYAX.js";import"../chunk-QWK6DRSN.js";export{Skeleton}from"../chunk-4Z62SEA5.js";export{ListRow,SortableList}from"../chunk-R5TSUJTK.js";export{MilestoneTimeline}from"../chunk-RTGGGZ2R.js";export{PageHeader}from"../chunk-AKKDFFUO.js";export{POST_PRODUCTION_STATUSES,ProductionTimeline,STAGES,calcOverall,calcReportOverall,useProductionTimeline}from"../chunk-KRCWLZV7.js";import"../chunk-S4Z657L6.js";export{TimelineTrack}from"../chunk-S26FG4RF.js";export{DAY_MS,fmtSliderDate,toDayMs}from"../chunk-7TC3LJQM.js";export{ResizeHandle}from"../chunk-PC3MYH2K.js";export{LanguagePanel,LanguageSelect,languageSelectWidth}from"../chunk-65JCQLM4.js";export{MetricBar}from"../chunk-AJ5GLMGD.js";export{isSeverityTone,severityOf}from"../chunk-TZFNWAED.js";export{MetricBarLegend}from"../chunk-DU7TJVX5.js";import"../chunk-URBCGEXG.js";export{EditableGrid}from"../chunk-6XPS3H5Z.js";export{EmptyValue}from"../chunk-HNQPF5QZ.js";export{FloatingBar}from"../chunk-7KWYVQMX.js";export{GlobalSearch,openGlobalSearch}from"../chunk-PZNF2TEB.js";export{pushRecent as pushRecentSearch,sanitizeRecent as sanitizeRecentSearches}from"../chunk-HGOWQO63.js";export{HelpCenter}from"../chunk-IRCASURW.js";export{IconRail,IconRailButton}from"../chunk-Q6GECV4J.js";import"../chunk-FQEALPZJ.js";export{ContainerFillChart}from"../chunk-X22SFR5F.js";export{CountBadge}from"../chunk-F3MO56N4.js";export{Accordion,AccordionBody,AccordionHeading}from"../chunk-TDG5WGLR.js";export{APP_UPDATE_POLL_MS,AppUpdateBanner,useAppUpdate}from"../chunk-4RSBPRCQ.js";export{BudgetBar,budgetState}from"../chunk-3DV5YLAI.js";export{Card,StatCard}from"../chunk-CVXJKHPD.js";export{ENGLISH,SHELL_LANGUAGE_STORAGE_KEY,ShellLanguageProvider,matchShellLanguage,readSavedShellLanguage,resolveShellLanguage,saveShellLanguage,useShellLanguage}from"../chunk-NUDL6UO3.js";export{BRAND_ICON_NAMES,ICON_NAMES,isBrandIconName,isIconName}from"../chunk-HNBMBC77.js";export{useRootIsDark}from"../chunk-UPXDDO3U.js";export{CORNERS,CORNERS_FOR_THEME,applyCorners,applyIconSet,applyThemePrefs,cornersFor,resolveCorners,resolveTheme,useTheme}from"../chunk-CUZQVBPC.js";export{ICON_SET_FOR_THEME,THEME_ICON_SETS,iconSetFor,loadIconSet}from"../chunk-VQCKMT5F.js";export{BRAND_MAX_HEIGHT,BRAND_MIN_HEIGHT_PX,brandBox}from"../chunk-64ACCUNN.js";export{useDebouncedValue}from"../chunk-SLGT5WPJ.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-FVORTWUY.js";export{WidthsBar}from"../chunk-VMKTA5HL.js";export{COLUMN_COUNT_MAX,COLUMN_COUNT_WIDTHS,COLUMN_SHARES_EQUAL,COLUMN_SHARE_MIN,columnSharesWidths,resolveColumnShares,resolveColumnWidths}from"../chunk-PLGJOHEG.js";export{ShowWhen}from"../chunk-YEM4KYCW.js";export{SidesEachToggle,SidesInput,sidesStartEach}from"../chunk-4YWQE67T.js";export{Slider,SliderGroup}from"../chunk-2LRSUDGN.js";export{Snippet}from"../chunk-B3KQELHS.js";export{SplitButton_default as SplitButton}from"../chunk-ASDYAASN.js";export{Switch_default as Switch}from"../chunk-M3R4C3A6.js";export{TagInput}from"../chunk-V3KQIY6T.js";export{TextToolbar,textToolbarRows,textToolbarWindowColumns}from"../chunk-2FQBY4ED.js";export{TEXT_ALIGNS,TEXT_ALIGN_FIT,TEXT_ALIGN_ICONS,textAlignFit,textAlignOptions,textAlignWords}from"../chunk-4HJNHI4A.js";export{NumericKeypad}from"../chunk-TAEO2JC6.js";export{MAX_FRACTION_DIGITS,appendKey,backspace}from"../chunk-VEPVOHCV.js";export{PICTURE_TILES_COLUMNS_VAR,PictureTiles}from"../chunk-WW5AXVBX.js";export{PositionInput}from"../chunk-BLXHT72M.js";export{RadioGroup}from"../chunk-32VV2J22.js";export{Radio_default as Radio}from"../chunk-NI5FXWK5.js";export{LinkPicker,TextLinkField}from"../chunk-WUEH6DLJ.js";export{SearchableSelect}from"../chunk-P62QGXRW.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-JZY2RBPX.js";export{Tree,TreeEmptySlot,TreeGroup,TreeGroupLabel,TreeRow,TreeSeam}from"../chunk-FCWBO7I3.js";import"../chunk-FXG7TOZN.js";export{ImageLightbox,lightboxKind}from"../chunk-HWJQLLJA.js";export{LIGHTBOX_PICTURE_FIT,ZoomableImage}from"../chunk-CGUMJZUB.js";export{MarqueeBox}from"../chunk-IC72MGON.js";export{EmptyState}from"../chunk-3TCGXYUC.js";export{DescriptionList}from"../chunk-SACUSHVN.js";export{Drawer}from"../chunk-3RX5KCUH.js";export{Breadcrumbs}from"../chunk-YM7AWNMY.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-3YCU6V3U.js";export{mediaMoveItems,mediaMoveSubmenu,useMediaMoveItems}from"../chunk-JWUNK2PW.js";export{RenameField}from"../chunk-QIPO4EVJ.js";export{NativeSelect,Select_default as Select}from"../chunk-KITSIQCV.js";import"../chunk-EO5RLFRX.js";import"../chunk-K5YT5PMJ.js";export{FULL_BADGE_TILE_PX,MediaUploadGrid}from"../chunk-BNPJHOAC.js";export{MediaUsedInList}from"../chunk-ZDDMFFQK.js";export{DateTimePicker_default as DateTimePicker}from"../chunk-OFHJXWMZ.js";export{DisplayChips}from"../chunk-XCY7A5UM.js";export{FilePicker_default as FilePicker}from"../chunk-JOYGSKWG.js";export{FormErrorSummary}from"../chunk-BXZLSY2S.js";export{CornersInput}from"../chunk-R5SVNFUG.js";export{DatePicker_default as DatePicker}from"../chunk-VYDZ5PQS.js";export{DateRangePicker,toISODate}from"../chunk-RXRF2327.js";export{Calendar}from"../chunk-IGBFTBKL.js";export{useSort}from"../chunk-E6FDUFPH.js";export{slugify}from"../chunk-24AL3CDS.js";export{ENTRANCE_ATTR,ENTRANCE_FROM,ENTRANCE_FROM_ATTR,ENTRANCE_FROM_DEFAULT,ENTRANCE_KINDS,ENTRANCE_KINDS_WITH_FROM,ENTRANCE_STATE_ATTR,armEntrance,entranceAttrs,playEntrance,readEntrance}from"../chunk-ZSEB7XW4.js";export{HOVER_MOTION,MOTION_EASING,MOTION_GROUPS,MOTION_TIMING,motionSeconds,rotateDegrees}from"../chunk-AIJ3G6BD.js";export{hexWithAlpha,mixHex,rgbToHex}from"../chunk-CJSZW3OS.js";export{addShowWhenFacts,isShown,lazyShowWhenContext,showWhenFactReaders,showWhenFactsContext,showWhenOf,shownForOption,truthy,withRowRules,withRowsShownWhen,withShowWhen,withShowWhenFacts}from"../chunk-HCP7WOAL.js";export{AlignmentGrid}from"../chunk-3DWVSQIJ.js";export{BorderInput,borderSides,borderStartEach}from"../chunk-CBXEMPZL.js";export{IconPicker}from"../chunk-FUNGLFQE.js";export{ColorPicker,ColorPickerPanel,ColorSwatch,HexInput,colorFill,colorSwatchClasses}from"../chunk-Y43S6YS5.js";export{Popover}from"../chunk-64RHGJXK.js";export{InputNumber_default as InputNumber}from"../chunk-ZDCCYRFF.js";export{UnitMenu}from"../chunk-QOYKBINM.js";export{useSettingAuto,useSettingRowName}from"../chunk-2NMW66P5.js";export{BORDER_LINE_STYLES}from"../chunk-NOMWJTN2.js";export{contrastRatio,hexToHsv,hexToRgb,hsvToHex,parseHexColor,readableInk,relativeLuminance}from"../chunk-S6OB6HJB.js";export{BrandAssetEditor}from"../chunk-QO7UHTUE.js";export{MediaUploadField}from"../chunk-UHQBHSWL.js";export{FormField}from"../chunk-6KBDNYRW.js";export{ImageFocusPoint}from"../chunk-YMUHIJDJ.js";export{FOCAL_DEFAULT,FOCAL_NUDGE_COARSE,FOCAL_NUDGE_STEP,focalFromRect,formatFocal,nudgeFocal,parseFocal}from"../chunk-25RR3GQW.js";export{BrandMark,resolveBrandMarkTreatment}from"../chunk-MI67DI3H.js";export{Gantt}from"../chunk-3W3FXX42.js";export{fromDateKey,toDateKey}from"../chunk-3HU63I3K.js";export{Segmented}from"../chunk-HNIIDDLJ.js";import"../chunk-EFKJLUYP.js";export{Kanban}from"../chunk-RJ24VXBZ.js";export{DataTable}from"../chunk-ZHR2HNT2.js";export{Pagination}from"../chunk-MZCYB2MW.js";export{EntityList}from"../chunk-FOE2QHDE.js";import"../chunk-HTHNDX32.js";export{useTableNav}from"../chunk-ATMJ5ZPK.js";export{escapeHtml}from"../chunk-G6DKCCWH.js";export{ListFooter}from"../chunk-IODIQ77P.js";export{ListLoadError}from"../chunk-IYTOOV7Q.js";export{ResizableTable}from"../chunk-5UPLN44S.js";export{useClickOutside}from"../chunk-SI26KESU.js";export{useColumnConfig}from"../chunk-UKBXQXDZ.js";import"../chunk-ULJQYXHB.js";export{Checkbox_default as Checkbox}from"../chunk-CGZBDI6C.js";export{SunburstChart}from"../chunk-VVXBBU6R.js";export{TreemapChart}from"../chunk-V5VAKDLS.js";export{squarify}from"../chunk-46BYGPGD.js";export{WaterfallChart}from"../chunk-YEEMRWBS.js";export{RadialBarChart}from"../chunk-TZBNN6HD.js";export{RangeChart}from"../chunk-G5U7IRH4.js";export{RankedBars}from"../chunk-ARBS2EZ6.js";export{SankeyChart}from"../chunk-HTHD7STJ.js";export{SCATTER_SERIES_CAP,ScatterChart}from"../chunk-RMEYKJEH.js";export{StatTile}from"../chunk-75TPMXA7.js";export{Sparkline}from"../chunk-CKCDGSTC.js";export{FunnelChart}from"../chunk-WEZ2RO72.js";export{HeatmapChart}from"../chunk-FBMYLCCE.js";export{HistogramChart}from"../chunk-QXXMRV4E.js";export{Meter}from"../chunk-IEW5JTIR.js";export{PieChart}from"../chunk-CUJA3HBZ.js";export{RADAR_SERIES_CAP,RadarChart}from"../chunk-OZV5P5A7.js";export{CandlestickChart}from"../chunk-XPSWZQR4.js";export{ChordChart}from"../chunk-BLXEDMZM.js";import"../chunk-HY6CBG4M.js";export{StepChain,StepChainItem}from"../chunk-Z2Z653OO.js";export{Markdown,Markdown as MarkdownLite,plainCell,tableToCsv}from"../chunk-E44RNULN.js";export{Divider}from"../chunk-DFOFEBYX.js";export{Avatar,AvatarGroup}from"../chunk-YAM3L5N4.js";import"../chunk-UJUTS6LJ.js";export{isSafeLinkHref}from"../chunk-Z5TE3MEG.js";export{ContextMenu,useContextMenu}from"../chunk-QMBMK6PP.js";export{Banner}from"../chunk-ID35S5Y6.js";export{AttachButton,AttachmentDropZone,AttachmentList,ComposerAttachments,PaperclipGlyph}from"../chunk-DFOKJAIS.js";export{Input_default as Input}from"../chunk-PT4GMPUB.js";export{DropdownMenu}from"../chunk-3DSGJIC7.js";import"../chunk-UZFFSZFI.js";export{IconButton_default as IconButton}from"../chunk-SV5RRBVA.js";export{INPUT_BASE,INPUT_SIZES,PLACEHOLDER_INK,inputClasses}from"../chunk-AYZY3YNC.js";export{mediaFileName}from"../chunk-CCPUNN4F.js";export{TransferProgress}from"../chunk-ROKUEMAK.js";export{FileIntakeAlert,acceptsFile,useFileIntake}from"../chunk-ITEOA45V.js";export{CHART_SPEC_LIMITS,parseChartSpec}from"../chunk-CR7T435F.js";export{SpecChart}from"../chunk-YHABPVWU.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-UF76AFFY.js";export{ColumnChart}from"../chunk-PA3OU3Y7.js";export{DEFAULT_FLOW_CHART_LABELS,FlowChart}from"../chunk-7NO4IENQ.js";export{FLOW_LAYOUT,FLOW_SPEC_LIMITS,layoutFlow,parseFlowSpec}from"../chunk-FAERBT6Y.js";export{ChartDefs,MOTION,dashFor,fillFor,fillId,glowId,groundId,maskId,stagger}from"../chunk-465RRWBY.js";export{ChartBrush}from"../chunk-FEQQMRHJ.js";export{ChartDot}from"../chunk-CK2YOGUS.js";export{ChartFrame}from"../chunk-VWYICGVA.js";export{ChartSkeleton}from"../chunk-NLHGFQ54.js";export{arcPath,areaBetween,areaFrom,bumpPath,curvePath,linearPath,monotonePath,polygonPoints,splinePath,stepPath}from"../chunk-VFC6QUEN.js";export{ChartHighlightProvider,autoHighlightIndex,highlightOpacity,useHighlight}from"../chunk-CNYAHYE6.js";export{ImageAnnotator_default as ImageAnnotator}from"../chunk-EQFWFQOZ.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-DASRJ26L.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-KV6XCHAG.js";export{Dialog}from"../chunk-B447IHIL.js";import"../chunk-EIFNESXS.js";export{ItemCount}from"../chunk-PR6FNBKR.js";import"../chunk-RIG5FEVS.js";import"../chunk-NDWX5Z4D.js";import"../chunk-VWGWZY7A.js";import"../chunk-7QSDPSXP.js";export{ColoredBadge}from"../chunk-ZGIAMYTI.js";import"../chunk-5LHEPE4B.js";import"../chunk-F3ZOO23R.js";import"../chunk-2QY5BJLA.js";export{useIsMobile}from"../chunk-UGTRSRIW.js";export{ShellPrefsProvider,useLocalStoragePrefs,useShellPrefs}from"../chunk-KC3EX26K.js";export{VERSION}from"../chunk-BXZTH7RX.js";export{useFocusTrap,useScrollLock}from"../chunk-DWGYC7OD.js";export{GROUP_COLORS,GROUP_COLORS_SOLID,StatusBadge,StatusBadgeProvider,groupColors,useStatusLabel}from"../chunk-JMGDGNM7.js";export{PopupMenu,PopupMenuDivider,PopupMenuItem,PopupMenuLabel,PopupSubmenu}from"../chunk-GOAFMGUI.js";import"../chunk-URHGHXDN.js";export{MENU_ON_MEDIA_ATTR,leavesContextMenuAlone}from"../chunk-5QFPTDQF.js";export{Button_default as Button}from"../chunk-EVYD6UFQ.js";import"../chunk-M5K4AX4E.js";export{Icon}from"../chunk-ISVODSRP.js";export{activeIconSet,iconSets,iconsVersion,registerIconSet,registerIcons,resolveIcon,setDefaultIconSet,setIconSet,subscribeIcons}from"../chunk-J75ZT2JQ.js";export{LoadingSpinner,SpinnerRing}from"../chunk-R2VKEMZH.js";import"../chunk-G67CJAQ2.js";export{Tooltip}from"../chunk-SOZCWT6I.js";export{OVERLAY_OPEN_EVENT,dismissPopups}from"../chunk-PGN5ME7B.js";export{Z_LAYERS}from"../chunk-62LW225J.js";export{MENU_MAX_HEIGHT,POPUP_MAX_WIDTH,placeMenu,popupBounds,useDropdownPosition}from"../chunk-GLUJS42B.js";import"../chunk-D65T4H6J.js";export{setShellApiClient}from"../chunk-STKJA4PV.js";export{UNDOABLE_MS,toast_default as toast}from"../chunk-TMSSR5UH.js";export{buttonClasses,iconButtonClasses}from"../chunk-UQYNPYF4.js";import"../chunk-MRJKZWWV.js";export{PortalBrandingProvider,resolvePortalBrandAsset,usePortalBranding}from"../chunk-ACYYVK6G.js";export{BoxPlotChart}from"../chunk-GAGCE2ML.js";export{CartesianPlot}from"../chunk-D53FU245.js";import"../chunk-2UBR4YUF.js";export{usePlotWidth}from"../chunk-MAFUXCPZ.js";export{angleScale,bandScale,binValues,ladderScale,linearScale,logScale,niceAxis,niceMax,radiusScale}from"../chunk-2JWPNR2U.js";export{ChartTooltip}from"../chunk-WDQI3FV6.js";export{CHART_INK,SERIES_SLOT_COUNT,SERIES_VARS,STATUS_VARS,assignSeriesSlots,resolveSeriesColor,resolveSeriesColorWithin,seriesColor,toggleSeriesSlot}from"../chunk-TZFACUMR.js";export{registerModalEscapeInterceptor}from"../chunk-TWVUQUUD.js";export{GLASS_DIVIDER,glassStyle,solidSurfaceStyle}from"../chunk-5FYDNH4Y.js";import"../chunk-LNXBTK7Q.js";export{DEFAULT_SHELL_STRINGS,ShellStringsProvider,useShellLocale,useShellStrings}from"../chunk-DEJIH3ZQ.js";import"../chunk-C3QOHMR6.js";
@@ -21,5 +21,12 @@ declare function fromDateKey(key: string | null | undefined): Date | null;
21
21
  declare function toMonthKey(d: Date): string;
22
22
  /** The local midnight of the first day of a `YYYY-MM`, or `null`. */
23
23
  declare function fromMonthKey(key: string | null | undefined): Date | null;
24
+ /**
25
+ * The same day `n` months on (or back), from a Date's local fields. Stepping
26
+ * from the 31st into a 30-day month lands on its last day, not a roll into the
27
+ * month after, which is what a naive `setMonth` does (2026-08-31 + 6 is
28
+ * 2027-02-28). Built through the local constructor, so DST never shifts it.
29
+ */
30
+ declare function addMonths(d: Date, n: number): Date;
24
31
 
25
- export { fromDateKey, fromMonthKey, toDateKey, toMonthKey };
32
+ export { addMonths, fromDateKey, fromMonthKey, toDateKey, toMonthKey };
@@ -1 +1 @@
1
- export{fromDateKey,fromMonthKey,toDateKey,toMonthKey}from"../chunk-2HMNOLKX.js";import"../chunk-LF27WIN2.js";
1
+ export{addMonths,fromDateKey,fromMonthKey,toDateKey,toMonthKey}from"../chunk-3HU63I3K.js";import"../chunk-LF27WIN2.js";
package/dist/version.js CHANGED
@@ -1 +1 @@
1
- export{APP_VERSION,VERSION}from"./chunk-WFFON2EC.js";
1
+ export{APP_VERSION,VERSION}from"./chunk-BXZTH7RX.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "efficient-shell",
3
- "version": "12.36.0",
3
+ "version": "12.37.1",
4
4
  "description": "Desktop-style React UI shell — windows, taskbar, start menu, sticky notes, frosted glass theming, and bundled apps.",
5
5
  "license": "UNLICENSED",
6
6
  "author": "Efficient Pty Ltd",
@@ -1 +0,0 @@
1
- import{pad2 as n}from"./chunk-LF27WIN2.js";var e=/^(\d{4})-(\d{2})-(\d{2})$/,t=/^(\d{4})-(\d{2})$/;function r(e){return`${l(e)}-${n(e.getDate())}`}function u(n){const t="string"==typeof n?e.exec(n):null;if(!t)return null;const u=new Date(Number(t[1]),Number(t[2])-1,Number(t[3]));return r(u)===n?u:null}function l(e){return`${e.getFullYear()}-${n(e.getMonth()+1)}`}function o(n){const e="string"==typeof n?t.exec(n):null;if(!e)return null;const r=new Date(Number(e[1]),Number(e[2])-1,1);return l(r)===n?r:null}export{u as fromDateKey,o as fromMonthKey,r as toDateKey,l as toMonthKey};
@@ -1,23 +0,0 @@
1
- import{Calendar as e}from"./chunk-W5HT23P7.js";import{toDateKey as t,fromDateKey as r,toMonthKey as n}from"./chunk-2HMNOLKX.js";import{END_ACTIONS_PAD as a,InputEndActionSlot as o,InputEndActionButton as l}from"./chunk-PT4GMPUB.js";import{FILTER_ON as i,FILTER_ON_INK as s,FILTER_OFF as c}from"./chunk-AYZY3YNC.js";import{calendarNames as d}from"./chunk-Y3JW2GW5.js";import{pad2 as m}from"./chunk-LF27WIN2.js";import{Icon as u}from"./chunk-ISVODSRP.js";import{onOverlayOpen as h}from"./chunk-PGN5ME7B.js";import{Z_LAYERS as p}from"./chunk-62LW225J.js";import{useDropdownPosition as f}from"./chunk-GLUJS42B.js";import{useBrowserLayoutEffect as g}from"./chunk-D65T4H6J.js";import{buttonClasses as b}from"./chunk-UQYNPYF4.js";import{glassStyle as x}from"./chunk-5FYDNH4Y.js";import{useShellStrings as v,useShellLocale as y}from"./chunk-DEJIH3ZQ.js";import{useState as w,useRef as k,useId as N,useEffect as C}from"react";import{createPortal as M}from"react-dom";import{jsxs as D,Fragment as W,jsx as j}from"react/jsx-runtime";var $=["last2Weeks","lastMonth","last3Months","last6Months","last12Months"],Y=t;function F(e,r){const n=r.getFullYear(),a=r.getMonth(),o=new Date(n,a,r.getDate()),l=new Date(n,a,0),i=e=>new Date(n,a-e,1);switch(e){case"last2Weeks":return{from:t(new Date(n,a,r.getDate()-14)),to:t(o)};case"lastMonth":return{from:t(i(1)),to:t(l)};case"last3Months":return{from:t(i(3)),to:t(l)};case"last6Months":return{from:t(i(6)),to:t(l)};case"last12Months":return{from:t(i(12)),to:t(l)}}}function S(e,t,r){const a=n(e);return t&&a<t.slice(0,7)?t.slice(0,7):r&&a>r.slice(0,7)?r.slice(0,7):a}function H(e){const t=r(e);return t?`${m(t.getDate())}/${m(t.getMonth()+1)}/${t.getFullYear()}`:e}var O=/* @__PURE__ */new Map;function L({from:t,to:n,onChange:m,formatDisplay:Y,clearable:L,required:T=!1,name:B,id:P,"aria-labelledby":E,"aria-label":G,weekStartsOn:I,placeholder:J,fullWidth:R=!1,min:U,max:q,disabled:A=!1,allowOpenEnd:Z=!1}){const Q=v().dateRange,V=y(),z=Y??(V?function(e){let t=O.get(e);t||(t=new Intl.DateTimeFormat(e,{year:"numeric",month:"2-digit",day:"2-digit",timeZone:"UTC",calendar:"gregory"}),O.set(e,t));const n=t;return e=>{const t=r(e);return t?n.format(new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate()))):e}}(V):H),K=J??Q.placeholder,X=L??!T,[_,ee]=w(!1),[te,re]=w(t),[ne,ae]=w(n),[oe,le]=w(null),[ie,se]=w("from"),ce=k(null),de=k(null),me=k(null),ue=N(),he=N(),pe=N(),[fe,ge]=w(!1),be=f(ce,_,{preferredMaxWidth:520,preferredMaxHeight:fe?720:560,popupRef:me}),xe=k(null),ve=k(null),[ye,we]=w(!0);g(()=>{const e=ve.current;if(!_||!fe||!e)return;const t=getComputedStyle(e).gridTemplateColumns.split(" ").filter(Boolean).length||1,r=parseFloat(getComputedStyle(e).columnGap)||0,n=(e.clientWidth-r*(t-1))/t,a=Math.max(...Array.from(e.querySelectorAll("[data-preset-measure]"),e=>e.offsetWidth))+24+2<=n+.5;a!==ye&&we(a)});const ke=k(null);g(()=>{const e=me.current;if(!_||!be||!e)return;const t=getComputedStyle(e),r=be.maxWidth-(e.offsetWidth-e.clientWidth)-parseFloat(t.paddingLeft)-parseFloat(t.paddingRight);if(fe)null!==ke.current&&ke.current<=r&&ge(!1);else{const e=xe.current?.offsetWidth??0;if(0===e)return;ke.current=e,e>r+.5&&ge(!0)}});const[Ne,Ce]=w(!1);g(()=>{const e=!!P&&(de.current?.labels?.length??0)>0;e!==Ne&&Ce(e)});const Me=!!G||!!E||Ne,De=/* @__PURE__ */new Date,[We,je]=w(()=>t?t.slice(0,7):S(De,U,q)),$e=$.filter(e=>((e,t,r)=>(!t||e.from>=t)&&(!r||e.to<=r))(F(e,De),U,q)),Ye=e=>e?z(e):"";C(()=>{if(!_)return;const e=e=>{const t=e.target;ce.current?.contains(t)||me.current?.contains(t)||ee(!1)};document.addEventListener("mousedown",e);const t=h(()=>ee(!1));return()=>{document.removeEventListener("mousedown",e),t()}},[_]),C(()=>{A&&ee(!1)},[A]);const Fe=()=>{m("",""),ee(!1)},Se=X&&!A&&Boolean(t||n),He=t&&n?`${Ye(t)} — ${Ye(n)}`:t?Q.fromOnly(Ye(t)):n?Q.toOnly(Ye(n)):"",Oe=d(V),Le=e=>{const t=r(e);return t?Oe.longDate(t.getFullYear(),t.getMonth(),t.getDate()):e},Te=t&&n?Q.range(Le(t),Le(n)):t?Q.fromOnly(Le(t)):n?Q.toOnly(Le(n)):K,Be=e=>fe?"h-8 w-full min-w-0 truncate rounded-(--radius-control) border px-3 text-sm transition-colors "+(oe===e?"border-blue-300 bg-accent-tint text-blue-700 font-medium":"border-line text-ink hover:bg-row-hover"):"h-8 text-left px-3 text-sm rounded-(--radius-control) transition-colors "+(oe===e?"bg-accent-tint text-blue-700 font-medium":"text-ink hover:bg-row-hover"),Pe=/* @__PURE__ */D(W,{children:[$e.map(e=>/* @__PURE__ */j("button",{type:"button",onClick:()=>(e=>{if("Custom"===e)return;const t=F(e,De);re(t.from),ae(t.to),le(e),je(t.from.slice(0,7))})(e),className:Be(e),"aria-label":fe?Q[e]:void 0,children:fe?ye?Q[e]:Q[`${e}Short`]:Q[e]},e)),
2
- /* @__PURE__ */j("button",{type:"button",onClick:()=>le("Custom"),className:Be("Custom"),children:Q.custom})]}),Ee=(e,t)=>Z?/* @__PURE__ */j("button",{type:"button","data-range-end":e,"aria-pressed":ie===e,onClick:()=>se(e),className:"flex items-center gap-2 whitespace-nowrap rounded rosh-focus-ring",children:t}):/* @__PURE__ */j("div",{className:"flex items-center gap-2 whitespace-nowrap",children:t}),Ge=e=>Z&&ie===e?" ring-1 ring-blue-400":"",Ie=
3
- /* @__PURE__ */j(e,{mode:"range",min:U,max:q,value:te||null,endValue:ne||null,month:We,onMonthChange:je,onSelect:e=>{le("Custom"),Z?"from"===ie?(ne&&e>ne?(re(ne),ae(e)):re(e),se("to")):te&&e<te?(ae(te),re(e)):ae(e):!te||te&&ne?(re(e),ae("")):e<te?(ae(te),re(e)):ae(e)},weekStartsOn:I,"aria-label":Q.dialog});/* @__PURE__ */
4
- return D("div",{className:"relative"+(R?" w-full":""),ref:ce,children:[
5
- /* @__PURE__ */D("div",{className:`relative ${R?"flex w-full":"inline-flex"} h-8 items-center gap-2 border rounded-lg px-3 ${Se?a[1]:""} text-sm focus-within:border-blue-500 has-focus-visible:ring-1 has-focus-visible:ring-[color:var(--rosh-focus-ring-deep)] ${t||n?`${i} ${s}`:c}${A?" cursor-not-allowed opacity-60":""}`,children:[
6
- /* @__PURE__ */D("button",{ref:de,type:"button",onClick:()=>{A||(re(t),ae(n),le(null),se(t&&!n?"to":"from"),je(t?t.slice(0,7):S(De,U,q)),ee(!0))},"aria-haspopup":"dialog","aria-expanded":_,id:P,disabled:A||void 0,"aria-label":G,"aria-labelledby":E,"aria-describedby":[Me?he:void 0,T?pe:void 0].filter(Boolean).join(" ")||void 0,"aria-controls":_?ue:void 0,className:"inline-flex items-center gap-2 rosh-focus-ring"+(R?" min-w-0 flex-1 justify-start":""),children:[
7
- /* @__PURE__ */j(u,{name:"date",className:"w-4 h-4 shrink-0",strokeWidth:"2","aria-hidden":"true"}),
8
- /* @__PURE__ */j("span",{className:"truncate",children:He||K})]}),Se&&/* @__PURE__ */j(o,{children:/* @__PURE__ */j(l,{action:{label:Q.clearRange,icon:/* @__PURE__ */j(u,{name:"close"}),onClick:Fe}})})]}),Me&&/* @__PURE__ */j("span",{id:he,className:"sr-only",children:Te}),T&&/* @__PURE__ */j("span",{id:pe,className:"sr-only",children:Q.required}),B&&/* @__PURE__ */D(W,{children:[
9
- /* @__PURE__ */j("input",{type:"hidden",name:B.from,value:t,disabled:A||void 0}),
10
- /* @__PURE__ */j("input",{type:"hidden",name:B.to,value:n,disabled:A||void 0})]}),_&&M(
11
- /* @__PURE__ */D("div",{ref:me,id:ue,role:"dialog","aria-label":Q.dialog,"data-layout":fe?"stacked":"side",className:"fixed rounded-(--radius-popup) p-4",style:{zIndex:p.popup,left:be?.left,right:be?.right,top:be?.top,bottom:be?.bottom,width:fe&&be?be.maxWidth:"max-content",maxWidth:be?.maxWidth,maxHeight:be?.maxHeight,overflowY:"auto",visibility:be?void 0:"hidden",...x()},children:[
12
- /* @__PURE__ */D("div",{className:fe?"mb-3 flex flex-wrap items-center gap-x-4 gap-y-2":"flex items-center gap-3 mb-3",children:[Ee("from",/* @__PURE__ */D(W,{children:[
13
- /* @__PURE__ */j("span",{className:"text-xs font-medium text-gray-500",children:Q.from}),
14
- /* @__PURE__ */j("span",{className:`text-sm px-2 py-1 rounded border min-w-[90px] ${te?"border-blue-300 bg-accent-tint text-blue-700":"border-line bg-surface-sunken text-ink-faintest"}${Ge("from")}`,children:te?Ye(te):Q.start})]})),!fe&&/* @__PURE__ */j("span",{className:"text-gray-300",children:"—"}),Ee("to",/* @__PURE__ */D(W,{children:[
15
- /* @__PURE__ */j("span",{className:"text-xs font-medium text-gray-500",children:Q.to}),
16
- /* @__PURE__ */j("span",{className:`text-sm px-2 py-1 rounded border min-w-[90px] ${ne?"border-blue-300 bg-accent-tint text-blue-700":"border-line bg-surface-sunken text-ink-faintest"}${Ge("to")}`,children:ne?Ye(ne):Q.end})]}))]}),fe?/* @__PURE__ */D(W,{children:[$e.length>0&&/* @__PURE__ */D("div",{className:"mb-3 @container",children:[!ye&&/* @__PURE__ */j("p",{"aria-hidden":"true",className:"mb-1 text-xs font-medium text-ink-faint",children:Q.lastHeading}),
17
- /* @__PURE__ */D("div",{ref:ve,className:"relative grid grid-cols-2 gap-2 @min-[320px]:grid-cols-3",children:[Pe,$e.map(e=>/* @__PURE__ */j("span",{"data-preset-measure":"","aria-hidden":"true",className:"invisible absolute left-0 top-0 whitespace-nowrap text-sm",children:Q[e]},e))]})]}),
18
- /* @__PURE__ */j("div",{className:"w-full",children:Ie})]}):
19
- /* @__PURE__ */D("div",{ref:xe,className:"flex w-max gap-4",children:[
20
- /* @__PURE__ */j("div",{className:"w-64",children:Ie}),$e.length>0&&/* @__PURE__ */j("div",{className:"border-l border-gray-200 pl-4 flex flex-col gap-1 min-w-[130px]",children:Pe})]}),
21
- /* @__PURE__ */D("div",{className:"flex flex-wrap justify-end gap-2 mt-4 pt-3 border-t border-gray-200",children:[X&&/* @__PURE__ */j("button",{type:"button",onClick:Fe,className:b({variant:"ghost"}),children:Q.clear}),
22
- /* @__PURE__ */j("button",{type:"button",onClick:()=>ee(!1),className:b({variant:"secondary"}),children:Q.cancel}),
23
- /* @__PURE__ */j("button",{type:"button",onClick:()=>{m(te,ne),ee(!1)},disabled:Z?!te&&!ne:!te||!ne,className:b({variant:"primary"}),children:Q.apply})]})]}),document.body)]})}export{L as DateRangePicker,F as presetRange,Y as toISODate};
@@ -1,14 +0,0 @@
1
- import{fromDateKey as e,toMonthKey as t,toDateKey as r,fromMonthKey as a}from"./chunk-2HMNOLKX.js";import{calendarNames as n,firstDayOfWeek as o}from"./chunk-Y3JW2GW5.js";import{Icon as l}from"./chunk-ISVODSRP.js";import{useBrowserValue as i}from"./chunk-D65T4H6J.js";import{useShellStrings as s,useShellLocale as c}from"./chunk-DEJIH3ZQ.js";import{useMemo as g,useState as u,useRef as d,useEffect as h}from"react";import{jsxs as m,jsx as f,Fragment as b}from"react/jsx-runtime";var y="grid grid-cols-[repeat(7,minmax(0,40px))] sm:grid-cols-[repeat(7,minmax(0,32px))] justify-center gap-1";var v=()=>r(/* @__PURE__ */new Date);var p=(e,t)=>new Date(e.getFullYear(),e.getMonth(),e.getDate()+t),x=(e,t)=>{const r=new Date(e.getFullYear(),e.getMonth()+t,1),a=new Date(r.getFullYear(),r.getMonth()+1,0).getDate();return new Date(r.getFullYear(),r.getMonth(),Math.min(e.getDate(),a))};function w({value:w,endValue:D,mode:M="single",onSelect:N,min:Y,max:k,month:F,defaultMonth:j,onMonthChange:A,weekStartsOn:C,quickJump:S=!0,markedDates:P,readOnly:q=!1,"aria-label":H,className:J=""}){const K=g(()=>new Set(P??[]),[P]),O=e(w),W=i(v,null),E=e(W),I=s().calendar,$=c(),L=n($),R=i(()=>o($),0),U=C??R,V=()=>{if(!E)return null;const e=t(E);return Y&&e<Y.slice(0,7)?Y.slice(0,7):k&&e>k.slice(0,7)?k.slice(0,7):e},[B,G]=u(()=>j||(O?t(O):V())),Q=F??B??V(),T=null===Q?null:function(e,t){return a(e)??t}(Q,E),[X,Z]=u(()=>w??W),z=d(null),_=d(!1),[ee,te]=u("days"),re=g(()=>T?function(e,t){const r=new Date(e.getFullYear(),e.getMonth(),1),a=(r.getDay()-t+7)%7,n=new Date(r.getFullYear(),r.getMonth(),1-a);return Array.from({length:42},(e,t)=>new Date(n.getFullYear(),n.getMonth(),n.getDate()+t))}(T,U):[],[Q,U]),ae=e=>!!Y&&e<Y||!!k&&e>k,ne=X??W,oe=re.some(e=>r(e)===ne),le=T?re.find(e=>e.getMonth()===T.getMonth())??re[0]:null,ie=oe&&ne?ne:le?r(le):"";if(h(()=>{_.current&&(_.current=!1,z.current?.querySelector('[data-active="true"]')?.focus())},[ie,Q]),!T)/* @__PURE__ */
2
- return m("div",{className:J,"aria-hidden":"true","data-calendar-pending":"",children:[
3
- /* @__PURE__ */f("div",{className:"mb-2 h-6"}),
4
- /* @__PURE__ */f("div",{className:"space-y-1",children:Array.from({length:7},(e,t)=>/* @__PURE__ */f("div",0===t?{className:"py-1 text-xs",children:" "}:{className:y,children:/* @__PURE__ */f("span",{className:"aspect-square"})},t))})]});const se=e=>"years"===ee?new Date(T.getFullYear()+12*e,T.getMonth(),1):"months"===ee?new Date(T.getFullYear()+e,T.getMonth(),1):x(T,e),ce=e=>{const r=t(e);void 0===F&&G(r),A?.(r)},ge=H??L.monthYear(T.getFullYear(),T.getMonth());/* @__PURE__ */
5
- return m("div",{className:J,children:[
6
- /* @__PURE__ */m("div",{className:"mb-2 flex items-center justify-between px-1",children:[
7
- /* @__PURE__ */f("button",{type:"button","aria-label":"years"===ee?I.previousYears:"months"===ee?I.previousYear:I.previousMonth,onClick:()=>ce(se(-1)),className:"rounded-full p-1 text-gray-600 hover:bg-gray-100 rosh-focus-ring focus-visible:ring-2 focus-visible:ring-[color:var(--rosh-focus-ring-solid)]",children:/* @__PURE__ */f(l,{name:"chevron-left",className:"h-4 w-4",strokeWidth:"2","aria-hidden":"true"})}),
8
- /* @__PURE__ */f("div",{"aria-live":"polite",className:"flex items-center gap-1 text-sm font-semibold text-gray-800",children:S?/* @__PURE__ */m(b,{children:["years"!==ee&&/* @__PURE__ */f("button",{type:"button","aria-label":I.chooseMonth(L.months[T.getMonth()]),onClick:()=>te(e=>"months"===e?"days":"months"),className:"rounded-md px-2 py-0.5 transition-colors hover:bg-gray-100 rosh-focus-ring focus-visible:ring-2 focus-visible:ring-[color:var(--rosh-focus-ring-solid)]",children:L.months[T.getMonth()]}),
9
- /* @__PURE__ */f("button",{type:"button","aria-label":I.chooseYear(T.getFullYear()),onClick:()=>te(e=>"years"===e?"days":"years"),className:"rounded-md px-2 py-0.5 transition-colors hover:bg-gray-100 rosh-focus-ring focus-visible:ring-2 focus-visible:ring-[color:var(--rosh-focus-ring-solid)]",children:T.getFullYear()})]}):/* @__PURE__ */f("span",{children:L.monthYear(T.getFullYear(),T.getMonth())})}),
10
- /* @__PURE__ */f("button",{type:"button","aria-label":"years"===ee?I.nextYears:"months"===ee?I.nextYear:I.nextMonth,onClick:()=>ce(se(1)),className:"rounded-full p-1 text-gray-600 hover:bg-gray-100 rosh-focus-ring focus-visible:ring-2 focus-visible:ring-[color:var(--rosh-focus-ring-solid)]",children:/* @__PURE__ */f(l,{name:"chevron-right",className:"h-4 w-4",strokeWidth:"2","aria-hidden":"true"})})]}),"months"===ee&&/* @__PURE__ */f("div",{role:"group","aria-label":I.monthPanel,className:"grid grid-cols-3 gap-1 text-center text-sm",children:L.monthsShort.map((e,t)=>/* @__PURE__ */f("button",{type:"button","aria-pressed":t===T.getMonth(),onClick:()=>{ce(new Date(T.getFullYear(),t,1)),te("days")},className:["rounded-md py-4 transition-colors rosh-focus-ring focus-visible:ring-2 focus-visible:ring-[color:var(--rosh-focus-ring-solid)]",t===T.getMonth()?"bg-blue-600 font-semibold text-white":E&&t===E.getMonth()&&T.getFullYear()===E.getFullYear()?"font-medium text-blue-600 hover:bg-gray-100":"text-gray-700 hover:bg-gray-100"].join(" "),children:e},e))}),"years"===ee&&/* @__PURE__ */f("div",{role:"group","aria-label":I.yearPanel,className:"grid grid-cols-3 gap-1 text-center text-sm",children:Array.from({length:12},(e,t)=>{return r=T.getFullYear(),12*Math.floor(r/12)+t;var r}).map(e=>/* @__PURE__ */f("button",{type:"button","aria-pressed":e===T.getFullYear(),onClick:()=>{ce(new Date(e,T.getMonth(),1)),te("months")},className:["rounded-md py-4 transition-colors rosh-focus-ring focus-visible:ring-2 focus-visible:ring-[color:var(--rosh-focus-ring-solid)]",e===T.getFullYear()?"bg-blue-600 font-semibold text-white":e===E?.getFullYear()?"font-medium text-blue-600 hover:bg-gray-100":"text-gray-700 hover:bg-gray-100"].join(" "),children:e},e))}),
11
- /* @__PURE__ */m("div",{ref:z,role:"grid","aria-label":ge,className:"space-y-1","aria-readonly":q||void 0,onKeyDown:a=>{const n=e(ie)??E??T,o={ArrowLeft:()=>p(n,-1),ArrowRight:()=>p(n,1),ArrowUp:()=>p(n,-7),ArrowDown:()=>p(n,7),Home:()=>p(n,-(n.getDay()-U+7)%7),End:()=>p(n,6-(n.getDay()-U+7)%7),PageUp:()=>x(n,a.shiftKey?-12:-1),PageDown:()=>x(n,a.shiftKey?12:1)};if(o[a.key])return a.preventDefault(),l=o[a.key](),_.current=!0,Z(r(l)),void(t(l)!==Q&&ce(l));var l;"Enter"!==a.key&&" "!==a.key||(a.preventDefault(),q||ae(ie)||N(ie))},hidden:"days"!==ee,children:[
12
- /* @__PURE__ */f("div",{role:"row",className:`${y} text-center text-xs font-medium text-ink-faint`,children:Array.from({length:7},(e,t)=>(t+U)%7).map(e=>
13
- /* @__PURE__ */f("div",{role:"columnheader","aria-label":L.weekdays[e],className:"py-1",children:/* @__PURE__ */f("abbr",{title:L.weekdays[e],className:"no-underline",children:L.weekdaysShort[e]})},e))}),Array.from({length:6},(e,t)=>/* @__PURE__ */f("div",{role:"row",className:`${y} text-center text-sm`,children:re.slice(7*t,7*t+7).map(e=>{const t=r(e),a=e.getMonth()!==T.getMonth(),n=t===w||"range"===M&&t===D,o=(e=>!("range"!==M||!w||!D)&&e>w&&e<D)(t),l=ae(t),i=L.longDate(e.getFullYear(),e.getMonth(),e.getDate()),s=e=>["relative w-full aspect-square rounded-md transition-colors",e?"rosh-focus-ring focus-visible:ring-2 focus-visible:ring-[color:var(--rosh-focus-ring-solid)]":"",l?"cursor-not-allowed text-gray-300":n?"bg-accent-fill font-semibold text-on-accent":o?"bg-accent-tint-strong text-blue-800":a?"text-ink-faint"+(e?" hover:bg-gray-100":""):"text-ink"+(e?" hover:bg-gray-100":""),t!==W||n?"":"font-semibold text-blue-600"].filter(Boolean).join(" "),c=K.has(t)&&/* @__PURE__ */f("span",{"data-marked":"","aria-hidden":"true",className:"absolute bottom-1 left-1/2 h-1 w-1 -translate-x-1/2 rounded-full "+(n?"bg-surface":a?"bg-gray-400":"bg-blue-500")});/* @__PURE__ */
14
- return f("div",{role:"gridcell","aria-selected":n,"aria-label":q?i:void 0,children:q?/* @__PURE__ */m("span",{"aria-hidden":"true",className:`grid place-items-center ${s(!1)}`,children:[e.getDate(),c]}):/* @__PURE__ */m("button",{type:"button","data-active":t===ie,tabIndex:t===ie?0:-1,disabled:l,"aria-label":i,"aria-current":t===W?"date":void 0,onClick:()=>{Z(t),N(t)},className:s(!0),children:[e.getDate(),c]})},t)})},t))]})]})}export{w as Calendar};
@@ -1 +0,0 @@
1
- var r="12.36.0",a=r;export{a as APP_VERSION,r as VERSION};