efficient-shell 13.6.1 → 13.7.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.
@@ -1,6 +1,6 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import { ReactNode } from 'react';
3
- import { e as TimelineTrackKind, k as TimelineGlyphName } from '../TimelineTrack-DfU_9eo6.js';
3
+ import { e as TimelineTrackKind, k as TimelineGlyphName } from '../TimelineTrack-DCTqfW6Z.js';
4
4
 
5
5
  /**
6
6
  * Visual category for a milestone. Drives shape + colour so the user can tell
@@ -1,2 +1,2 @@
1
1
  "use client";
2
- export{MilestoneTimeline as default}from"../chunk-7K73G35Z.js";import"../chunk-S4Z657L6.js";import"../chunk-BRZ55H2G.js";import"../chunk-GXVWI3U5.js";import"../chunk-ZPJTLNKU.js";import"../chunk-36BRD5J3.js";import"../chunk-JRQMX4PK.js";import"../chunk-LF27WIN2.js";import"../chunk-465RRWBY.js";import"../chunk-GLUJS42B.js";import"../chunk-D65T4H6J.js";import"../chunk-TWVUQUUD.js";import"../chunk-DEJIH3ZQ.js";import"../chunk-C3QOHMR6.js";
2
+ export{MilestoneTimeline as default}from"../chunk-I3MSKHJD.js";import"../chunk-S4Z657L6.js";import"../chunk-ZJZHUPUH.js";import"../chunk-GXVWI3U5.js";import"../chunk-ZPJTLNKU.js";import"../chunk-36BRD5J3.js";import"../chunk-JRQMX4PK.js";import"../chunk-LF27WIN2.js";import"../chunk-465RRWBY.js";import"../chunk-GLUJS42B.js";import"../chunk-D65T4H6J.js";import"../chunk-TWVUQUUD.js";import"../chunk-DEJIH3ZQ.js";import"../chunk-C3QOHMR6.js";
@@ -1,7 +1,7 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import { ReactNode } from 'react';
3
- import { T as TimelineMarker, b as TimelineScrubProgress, i as TimelineTrackProps } from '../TimelineTrack-DfU_9eo6.js';
4
- export { a as TimelineMarkerKind } from '../TimelineTrack-DfU_9eo6.js';
3
+ import { T as TimelineMarker, b as TimelineScrubProgress, i as TimelineTrackProps } from '../TimelineTrack-DCTqfW6Z.js';
4
+ export { a as TimelineMarkerKind } from '../TimelineTrack-DCTqfW6Z.js';
5
5
 
6
6
  /** Statuses where the PO has moved past active production. Used to decide
7
7
  * whether the timeline's right edge should extend to "today" (still active)
@@ -113,6 +113,16 @@ interface ProductionTimelineSnapshot {
113
113
  /** Set the slider position (clamped only at render time, not here, so the
114
114
  * caller can drag past the edges briefly). */
115
115
  setScrubMs: (ms: number) => void;
116
+ /** Where the slider rests, clamped — `scrubMs` without a hover preview. While
117
+ * the pointer previews a day (`previewing`) the bar draws this as the faint
118
+ * fill so the reader can see where they will come back to. */
119
+ committedScrubMs?: number;
120
+ /** A day the pointer is hovering, shown in place of the resting value until
121
+ * it moves off (`null`). Everything the snapshot derives — `scrubMs`,
122
+ * `displayed`, `prevReport` — follows it; nothing is committed. */
123
+ setPreviewMs?: (ms: number | null) => void;
124
+ /** True while a hover preview is shown. */
125
+ previewing?: boolean;
116
126
  /** Reset the slider to the date of the report identified by
117
127
  * `currentReportId` (if any). Also stops playback. */
118
128
  resetToCurrent: () => void;
@@ -128,6 +138,11 @@ interface ProductionTimelineSnapshot {
128
138
  /** True when the slider is strictly between two real reports (so the
129
139
  * displayed values are interpolated estimates rather than facts). */
130
140
  isInterpolated: boolean;
141
+ /** True when the slider is past the last report and before the estimated
142
+ * completion: the displayed values are projected from that report towards
143
+ * the whole order on the estimated completion date (Victor Mau,
144
+ * 2026-11-15). `isInterpolated` stays false there. */
145
+ isProjected?: boolean;
131
146
  playing: boolean;
132
147
  startPlay: () => void;
133
148
  stopPlay: () => void;
@@ -155,13 +170,12 @@ interface ProductionTimelineSnapshot {
155
170
  * state. A hook gives the parent direct access; a render-prop would force
156
171
  * awkward inversion.
157
172
  *
158
- * NOTE — `isInterpolated`, the lerped `displayed` snapshot it produces, and
159
- * the continuous `startPlay` sweep are no longer reachable from this package.
160
- * `ProductionTimeline` moves the slider only to dates a report was actually
161
- * filed on, so the anchors are always a report and never a pair straddling
162
- * one, and playback steps stop to stop. They stay exported and working for a
163
- * caller that drives the hook itself and wants an estimate for a day in
164
- * between; nothing the kit renders asks for one. */
173
+ * The slider rests on ANY day (Victor Mau, 2026-11-15): on a report's day the
174
+ * snapshot is that report; between two reports it is the straight line
175
+ * between them (`isInterpolated`); past the last report it is projected
176
+ * towards the whole order on the estimated completion (`isProjected`). A
177
+ * hover preview (`setPreviewMs`) shows a day without committing it.
178
+ * Playback still steps report to report. */
165
179
  declare function useProductionTimeline(opts: UseProductionTimelineOpts): ProductionTimelineSnapshot;
166
180
  interface ProductionTimelineProps {
167
181
  /** State from `useProductionTimeline`. Lifting state into the parent lets
@@ -1,2 +1,2 @@
1
1
  "use client";
2
- export{POST_PRODUCTION_STATUSES,STAGES,calcOverall,calcReportOverall,ProductionTimeline as default,useProductionTimeline}from"../chunk-R3BLTWKE.js";import"../chunk-S4Z657L6.js";import"../chunk-BRZ55H2G.js";import"../chunk-GXVWI3U5.js";import"../chunk-ZPJTLNKU.js";import"../chunk-36BRD5J3.js";import"../chunk-JRQMX4PK.js";import"../chunk-LF27WIN2.js";import"../chunk-465RRWBY.js";import"../chunk-ISVODSRP.js";import"../chunk-J75ZT2JQ.js";import"../chunk-GLUJS42B.js";import"../chunk-D65T4H6J.js";import"../chunk-TWVUQUUD.js";import"../chunk-DEJIH3ZQ.js";import"../chunk-C3QOHMR6.js";
2
+ export{POST_PRODUCTION_STATUSES,STAGES,calcOverall,calcReportOverall,ProductionTimeline as default,useProductionTimeline}from"../chunk-4C7YUXDI.js";import"../chunk-S4Z657L6.js";import"../chunk-ZJZHUPUH.js";import"../chunk-GXVWI3U5.js";import"../chunk-ZPJTLNKU.js";import"../chunk-36BRD5J3.js";import"../chunk-JRQMX4PK.js";import"../chunk-LF27WIN2.js";import"../chunk-465RRWBY.js";import"../chunk-ISVODSRP.js";import"../chunk-J75ZT2JQ.js";import"../chunk-GLUJS42B.js";import"../chunk-D65T4H6J.js";import"../chunk-TWVUQUUD.js";import"../chunk-DEJIH3ZQ.js";import"../chunk-C3QOHMR6.js";
@@ -1,3 +1,3 @@
1
1
  import 'react/jsx-runtime';
2
2
  import 'react';
3
- export { T as TimelineMarker, a as TimelineMarkerKind, b as TimelineScrubProgress, l as TimelineTrackEndMark, d as TimelineTrackItem, e as TimelineTrackKind, f as TimelineTrackPending, g as TimelineTrackPhase, h as TimelineTrackPlayback, i as TimelineTrackProps, j as TimelineTrackThumb, c as default } from '../TimelineTrack-DfU_9eo6.js';
3
+ export { T as TimelineMarker, a as TimelineMarkerKind, b as TimelineScrubProgress, l as TimelineTrackEndMark, d as TimelineTrackItem, e as TimelineTrackKind, f as TimelineTrackPending, g as TimelineTrackPhase, h as TimelineTrackPlayback, i as TimelineTrackProps, j as TimelineTrackThumb, c as default } from '../TimelineTrack-DCTqfW6Z.js';
@@ -1,2 +1,2 @@
1
1
  "use client";
2
- export{TimelineTrack as default}from"../chunk-BRZ55H2G.js";import"../chunk-GXVWI3U5.js";import"../chunk-ZPJTLNKU.js";import"../chunk-36BRD5J3.js";import"../chunk-JRQMX4PK.js";import"../chunk-LF27WIN2.js";import"../chunk-465RRWBY.js";import"../chunk-GLUJS42B.js";import"../chunk-D65T4H6J.js";import"../chunk-TWVUQUUD.js";import"../chunk-DEJIH3ZQ.js";import"../chunk-C3QOHMR6.js";
2
+ export{TimelineTrack as default}from"../chunk-ZJZHUPUH.js";import"../chunk-GXVWI3U5.js";import"../chunk-ZPJTLNKU.js";import"../chunk-36BRD5J3.js";import"../chunk-JRQMX4PK.js";import"../chunk-LF27WIN2.js";import"../chunk-465RRWBY.js";import"../chunk-GLUJS42B.js";import"../chunk-D65T4H6J.js";import"../chunk-TWVUQUUD.js";import"../chunk-DEJIH3ZQ.js";import"../chunk-C3QOHMR6.js";
@@ -1 +1 @@
1
- export{startClientTelemetry}from"../chunk-X4EJUQ6I.js";import"../chunk-KNUR2UEG.js";import"../chunk-ECTLJTOE.js";
1
+ export{startClientTelemetry}from"../chunk-UD2C3PJE.js";import"../chunk-KNUR2UEG.js";import"../chunk-XNGQHEGB.js";
@@ -106,7 +106,7 @@ export { default as LoadingSpinner, LoadingSpinnerProps, SpinnerRing, SpinnerRin
106
106
  export { default as MetricBar, MetricBarProps } from '../shell/MetricBar.js';
107
107
  export { default as MetricBarLegend, MetricBarLegendLink, MetricBarLegendProps } from '../shell/MetricBarLegend.js';
108
108
  export { default as BudgetBar, BudgetBarProps, BudgetState, budgetState } from '../shell/BudgetBar.js';
109
- export { T as TimelineMarker, a as TimelineMarkerKind, b as TimelineScrubProgress, c as TimelineTrack, d as TimelineTrackItem, e as TimelineTrackKind, f as TimelineTrackPending, g as TimelineTrackPhase, h as TimelineTrackPlayback, i as TimelineTrackProps, j as TimelineTrackThumb } from '../TimelineTrack-DfU_9eo6.js';
109
+ export { T as TimelineMarker, a as TimelineMarkerKind, b as TimelineScrubProgress, c as TimelineTrack, d as TimelineTrackItem, e as TimelineTrackKind, f as TimelineTrackPending, g as TimelineTrackPhase, h as TimelineTrackPlayback, i as TimelineTrackProps, j as TimelineTrackThumb } from '../TimelineTrack-DCTqfW6Z.js';
110
110
  export { Milestone, MilestoneKind, default as MilestoneTimeline, MilestoneTimelineProps } from '../shell/MilestoneTimeline.js';
111
111
  export { POST_PRODUCTION_STATUSES, default as ProductionTimeline, ProductionTimelineProps, ProductionTimelineSnapshot, ProgressItem, STAGES, TimelineReport, UseProductionTimelineOpts, calcOverall, calcReportOverall, useProductionTimeline } from '../shell/ProductionTimeline.js';
112
112
  export { fmtSliderDate, toDayMs } from '../shell/timelineDates.js';
package/dist/ui/index.js CHANGED
@@ -1,2 +1,2 @@
1
1
  "use client";
2
- import"../chunk-CLEMKDRO.js";export{FormLayoutPage}from"../chunk-BSEQJM7X.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{AuthScreen}from"../chunk-7WMFHPKS.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{useTransferProgress}from"../chunk-QHOEMRR7.js";export{Tabs,tabButtonId,tabPanelId}from"../chunk-I5EVMLPB.js";export{Paragraph,Text,Title}from"../chunk-5KUE6IHF.js";export{TimeAgo}from"../chunk-RI5QSLX3.js";export{TopNav}from"../chunk-N2FX4O3H.js";export{Skeleton}from"../chunk-4Z62SEA5.js";export{ListRow,SortableList}from"../chunk-R5TSUJTK.js";export{Grid,Inline,Stack}from"../chunk-3RPER7VH.js";export{Statistic}from"../chunk-6SOS6OBB.js";export{Stepper}from"../chunk-KTO427N3.js";export{SettingReset}from"../chunk-4HJX2M4W.js";export{SettingRow}from"../chunk-E6PDAYBR.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{MetricBar}from"../chunk-AJ5GLMGD.js";export{isSeverityTone,severityOf}from"../chunk-TZFNWAED.js";export{MetricBarLegend}from"../chunk-DU7TJVX5.js";import"../chunk-URBCGEXG.js";export{MilestoneTimeline}from"../chunk-7K73G35Z.js";export{PageHeader}from"../chunk-AKKDFFUO.js";export{POST_PRODUCTION_STATUSES,ProductionTimeline,STAGES,calcOverall,calcReportOverall,useProductionTimeline}from"../chunk-R3BLTWKE.js";import"../chunk-S4Z657L6.js";export{TimelineTrack}from"../chunk-BRZ55H2G.js";export{fmtSliderDate,toDayMs}from"../chunk-GXVWI3U5.js";export{ResizeHandle}from"../chunk-PC3MYH2K.js";export{HelpCenter}from"../chunk-IRCASURW.js";export{IconRail,IconRailButton}from"../chunk-Q6GECV4J.js";import"../chunk-FQEALPZJ.js";export{LanguagePanel,LanguageSelect,languageSelectWidth}from"../chunk-65JCQLM4.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{Card,StatCard}from"../chunk-CVXJKHPD.js";export{ContainerFillChart}from"../chunk-X22SFR5F.js";export{CountBadge}from"../chunk-F3MO56N4.js";export{ENGLISH,SHELL_LANGUAGE_STORAGE_KEY,ShellLanguageProvider,matchShellLanguage,readSavedShellLanguage,resolveShellLanguage,saveShellLanguage,useShellLanguage}from"../chunk-NUDL6UO3.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{ICON_NAMES,isIconName}from"../chunk-PLD54WSR.js";export{BRAND_ICON_NAMES,isBrandIconName}from"../chunk-RQGLDRRF.js";export{BRAND_MAX_HEIGHT,BRAND_MIN_HEIGHT_PX,brandBox}from"../chunk-64ACCUNN.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{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{Textarea_default as Textarea}from"../chunk-PB7G6CJ7.js";export{TileButton_default as TileButton}from"../chunk-H2R4SNNO.js";export{PositionInput}from"../chunk-BLXHT72M.js";export{RadioGroup}from"../chunk-32VV2J22.js";export{Radio_default as Radio}from"../chunk-NI5FXWK5.js";export{ShowWhen}from"../chunk-YEM4KYCW.js";export{SidesEachToggle,SidesInput,sidesStartEach}from"../chunk-4YWQE67T.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-767USLF5.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{Drawer}from"../chunk-3RX5KCUH.js";export{EmptyState}from"../chunk-3TCGXYUC.js";export{DescriptionList}from"../chunk-SACUSHVN.js";export{Breadcrumbs}from"../chunk-YM7AWNMY.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{NumericKeypad}from"../chunk-TAEO2JC6.js";export{MAX_FRACTION_DIGITS,appendKey,backspace}from"../chunk-VEPVOHCV.js";export{PICTURE_TILES_COLUMNS_VAR,PictureTiles}from"../chunk-OBZZLLMQ.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-3MIIXPV6.js";export{DateRangePicker,toISODate}from"../chunk-PDIGCTZD.js";export{DateTimePicker_default as DateTimePicker}from"../chunk-NZKR3JPM.js";export{DisplayChips}from"../chunk-XCY7A5UM.js";export{useRootIsDark}from"../chunk-UPXDDO3U.js";export{CORNERS,CORNERS_FOR_THEME,applyCorners,applyIconSet,applyThemePrefs,cornersFor,resolveCorners,resolveTheme,useTheme}from"../chunk-CUZQVBPC.js";export{ICON_SET_FOR_THEME,THEME_ICON_SETS,iconSetFor,loadIconSet}from"../chunk-VQCKMT5F.js";export{AlignmentGrid}from"../chunk-3DWVSQIJ.js";export{BorderInput,borderSides,borderStartEach}from"../chunk-O32GIVYD.js";export{IconPicker}from"../chunk-KGBB6REQ.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{BrandAssetEditor}from"../chunk-QO7UHTUE.js";export{MediaUploadField}from"../chunk-UHQBHSWL.js";export{FormField}from"../chunk-6KBDNYRW.js";export{ImageFocusPoint}from"../chunk-YMUHIJDJ.js";export{BrandMark,resolveBrandMarkTreatment}from"../chunk-MI67DI3H.js";export{Calendar}from"../chunk-H22D2PYM.js";export{useSort}from"../chunk-E6FDUFPH.js";export{slugify}from"../chunk-24AL3CDS.js";export{ENTRANCE_ATTR,ENTRANCE_FROM,ENTRANCE_FROM_ATTR,ENTRANCE_FROM_DEFAULT,ENTRANCE_KINDS,ENTRANCE_KINDS_WITH_FROM,ENTRANCE_STATE_ATTR,armEntrance,entranceAttrs,playEntrance,readEntrance}from"../chunk-ZSEB7XW4.js";export{HOVER_MOTION,MOTION_EASING,MOTION_GROUPS,MOTION_TIMING,motionSeconds,rotateDegrees}from"../chunk-AIJ3G6BD.js";export{hexWithAlpha,mixHex,rgbToHex}from"../chunk-CJSZW3OS.js";export{addShowWhenFacts,isShown,lazyShowWhenContext,showWhenFactReaders,showWhenFactsContext,showWhenOf,shownForOption,truthy,withRowRules,withRowsShownWhen,withShowWhen,withShowWhenFacts}from"../chunk-HCP7WOAL.js";export{gridColumnCount}from"../chunk-VNNVG4NR.js";export{BORDER_LINE_STYLES}from"../chunk-NOMWJTN2.js";export{contrastRatio,hexToHsv,hexToRgb,hsvToHex,parseHexColor,readableInk,relativeLuminance}from"../chunk-S6OB6HJB.js";export{FOCAL_DEFAULT,FOCAL_NUDGE_COARSE,FOCAL_NUDGE_STEP,focalFromRect,formatFocal,nudgeFocal,parseFocal}from"../chunk-25RR3GQW.js";export{useDebouncedValue}from"../chunk-SLGT5WPJ.js";export{useGridSelection}from"../chunk-VLKDWKVR.js";export{MARQUEE_IGNORE,marqueeHits,rectsIntersect,useMarquee}from"../chunk-OLFYNMTD.js";export{edgeScrollDelta,getScrollParent,scrollBoundsOf}from"../chunk-LACL4MAR.js";export{Gantt}from"../chunk-ENCZRE3H.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-77HMTXDR.js";export{currencyDecimals,currencySymbol,formatBytes,formatMoney,setCurrencyFormats,timeAgo}from"../chunk-S6UJKSF3.js";export{DATE_FORMAT_OPTIONS,TZ_AUTO,dayKeyInZone,firstDayOfWeek,formatDate,formatDateTime,formatTime,getUserDateFormat,getUserTimezone,instantOnDayKey,setUserDateFormat,setUserTimezone,syncTimezoneFromProfile,userToday}from"../chunk-ZPJTLNKU.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-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-ECTLJTOE.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-CLEMKDRO.js";export{FormLayoutPage}from"../chunk-BSEQJM7X.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{AuthScreen}from"../chunk-7WMFHPKS.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{useTransferProgress}from"../chunk-QHOEMRR7.js";export{Tabs,tabButtonId,tabPanelId}from"../chunk-I5EVMLPB.js";export{Paragraph,Text,Title}from"../chunk-5KUE6IHF.js";export{TimeAgo}from"../chunk-RI5QSLX3.js";export{TopNav}from"../chunk-N2FX4O3H.js";export{Skeleton}from"../chunk-4Z62SEA5.js";export{ListRow,SortableList}from"../chunk-R5TSUJTK.js";export{Grid,Inline,Stack}from"../chunk-3RPER7VH.js";export{Statistic}from"../chunk-6SOS6OBB.js";export{Stepper}from"../chunk-KTO427N3.js";export{SettingReset}from"../chunk-4HJX2M4W.js";export{SettingRow}from"../chunk-E6PDAYBR.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{MetricBar}from"../chunk-AJ5GLMGD.js";export{isSeverityTone,severityOf}from"../chunk-TZFNWAED.js";export{MetricBarLegend}from"../chunk-DU7TJVX5.js";import"../chunk-URBCGEXG.js";export{MilestoneTimeline}from"../chunk-I3MSKHJD.js";export{PageHeader}from"../chunk-AKKDFFUO.js";export{POST_PRODUCTION_STATUSES,ProductionTimeline,STAGES,calcOverall,calcReportOverall,useProductionTimeline}from"../chunk-4C7YUXDI.js";import"../chunk-S4Z657L6.js";export{TimelineTrack}from"../chunk-ZJZHUPUH.js";export{fmtSliderDate,toDayMs}from"../chunk-GXVWI3U5.js";export{ResizeHandle}from"../chunk-PC3MYH2K.js";export{HelpCenter}from"../chunk-IRCASURW.js";export{IconRail,IconRailButton}from"../chunk-Q6GECV4J.js";import"../chunk-FQEALPZJ.js";export{LanguagePanel,LanguageSelect,languageSelectWidth}from"../chunk-65JCQLM4.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{Card,StatCard}from"../chunk-CVXJKHPD.js";export{ContainerFillChart}from"../chunk-X22SFR5F.js";export{CountBadge}from"../chunk-F3MO56N4.js";export{ENGLISH,SHELL_LANGUAGE_STORAGE_KEY,ShellLanguageProvider,matchShellLanguage,readSavedShellLanguage,resolveShellLanguage,saveShellLanguage,useShellLanguage}from"../chunk-NUDL6UO3.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{ICON_NAMES,isIconName}from"../chunk-PLD54WSR.js";export{BRAND_ICON_NAMES,isBrandIconName}from"../chunk-RQGLDRRF.js";export{BRAND_MAX_HEIGHT,BRAND_MIN_HEIGHT_PX,brandBox}from"../chunk-64ACCUNN.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{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{Textarea_default as Textarea}from"../chunk-PB7G6CJ7.js";export{TileButton_default as TileButton}from"../chunk-H2R4SNNO.js";export{PositionInput}from"../chunk-BLXHT72M.js";export{RadioGroup}from"../chunk-32VV2J22.js";export{Radio_default as Radio}from"../chunk-NI5FXWK5.js";export{ShowWhen}from"../chunk-YEM4KYCW.js";export{SidesEachToggle,SidesInput,sidesStartEach}from"../chunk-4YWQE67T.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-767USLF5.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{Drawer}from"../chunk-3RX5KCUH.js";export{EmptyState}from"../chunk-3TCGXYUC.js";export{DescriptionList}from"../chunk-SACUSHVN.js";export{Breadcrumbs}from"../chunk-YM7AWNMY.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{NumericKeypad}from"../chunk-TAEO2JC6.js";export{MAX_FRACTION_DIGITS,appendKey,backspace}from"../chunk-VEPVOHCV.js";export{PICTURE_TILES_COLUMNS_VAR,PictureTiles}from"../chunk-OBZZLLMQ.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-3MIIXPV6.js";export{DateRangePicker,toISODate}from"../chunk-PDIGCTZD.js";export{DateTimePicker_default as DateTimePicker}from"../chunk-NZKR3JPM.js";export{DisplayChips}from"../chunk-XCY7A5UM.js";export{useRootIsDark}from"../chunk-UPXDDO3U.js";export{CORNERS,CORNERS_FOR_THEME,applyCorners,applyIconSet,applyThemePrefs,cornersFor,resolveCorners,resolveTheme,useTheme}from"../chunk-CUZQVBPC.js";export{ICON_SET_FOR_THEME,THEME_ICON_SETS,iconSetFor,loadIconSet}from"../chunk-VQCKMT5F.js";export{AlignmentGrid}from"../chunk-3DWVSQIJ.js";export{BorderInput,borderSides,borderStartEach}from"../chunk-O32GIVYD.js";export{IconPicker}from"../chunk-KGBB6REQ.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{BrandAssetEditor}from"../chunk-QO7UHTUE.js";export{MediaUploadField}from"../chunk-UHQBHSWL.js";export{FormField}from"../chunk-6KBDNYRW.js";export{ImageFocusPoint}from"../chunk-YMUHIJDJ.js";export{BrandMark,resolveBrandMarkTreatment}from"../chunk-MI67DI3H.js";export{Calendar}from"../chunk-H22D2PYM.js";export{useSort}from"../chunk-E6FDUFPH.js";export{slugify}from"../chunk-24AL3CDS.js";export{ENTRANCE_ATTR,ENTRANCE_FROM,ENTRANCE_FROM_ATTR,ENTRANCE_FROM_DEFAULT,ENTRANCE_KINDS,ENTRANCE_KINDS_WITH_FROM,ENTRANCE_STATE_ATTR,armEntrance,entranceAttrs,playEntrance,readEntrance}from"../chunk-ZSEB7XW4.js";export{HOVER_MOTION,MOTION_EASING,MOTION_GROUPS,MOTION_TIMING,motionSeconds,rotateDegrees}from"../chunk-AIJ3G6BD.js";export{hexWithAlpha,mixHex,rgbToHex}from"../chunk-CJSZW3OS.js";export{addShowWhenFacts,isShown,lazyShowWhenContext,showWhenFactReaders,showWhenFactsContext,showWhenOf,shownForOption,truthy,withRowRules,withRowsShownWhen,withShowWhen,withShowWhenFacts}from"../chunk-HCP7WOAL.js";export{gridColumnCount}from"../chunk-VNNVG4NR.js";export{BORDER_LINE_STYLES}from"../chunk-NOMWJTN2.js";export{contrastRatio,hexToHsv,hexToRgb,hsvToHex,parseHexColor,readableInk,relativeLuminance}from"../chunk-S6OB6HJB.js";export{FOCAL_DEFAULT,FOCAL_NUDGE_COARSE,FOCAL_NUDGE_STEP,focalFromRect,formatFocal,nudgeFocal,parseFocal}from"../chunk-25RR3GQW.js";export{useDebouncedValue}from"../chunk-SLGT5WPJ.js";export{useGridSelection}from"../chunk-VLKDWKVR.js";export{MARQUEE_IGNORE,marqueeHits,rectsIntersect,useMarquee}from"../chunk-OLFYNMTD.js";export{edgeScrollDelta,getScrollParent,scrollBoundsOf}from"../chunk-LACL4MAR.js";export{Gantt}from"../chunk-ENCZRE3H.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-77HMTXDR.js";export{currencyDecimals,currencySymbol,formatBytes,formatMoney,setCurrencyFormats,timeAgo}from"../chunk-S6UJKSF3.js";export{DATE_FORMAT_OPTIONS,TZ_AUTO,dayKeyInZone,firstDayOfWeek,formatDate,formatDateTime,formatTime,getUserDateFormat,getUserTimezone,instantOnDayKey,setUserDateFormat,setUserTimezone,syncTimezoneFromProfile,userToday}from"../chunk-ZPJTLNKU.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-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-XNGQHEGB.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";
package/dist/version.js CHANGED
@@ -1 +1 @@
1
- export{APP_VERSION,VERSION}from"./chunk-ECTLJTOE.js";
1
+ export{APP_VERSION,VERSION}from"./chunk-XNGQHEGB.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "efficient-shell",
3
- "version": "13.6.1",
3
+ "version": "13.7.0",
4
4
  "description": "Desktop-style React UI shell — windows, taskbar, start menu, sticky notes, frosted glass theming, and bundled apps.",
5
5
  "license": "UNLICENSED",
6
6
  "author": "Efficient Pty Ltd",
@@ -1,2 +0,0 @@
1
- import{TimelineCard as e}from"./chunk-S4Z657L6.js";import{TimelineTrack as n,TimelineMilestoneIcon as s}from"./chunk-BRZ55H2G.js";import{toDayMs as i,fmtSliderDate as t}from"./chunk-GXVWI3U5.js";import{DAY_MS as a}from"./chunk-JRQMX4PK.js";import{useBrowserValueOnce as l}from"./chunk-D65T4H6J.js";import{useShellStrings as o,useShellLocale as r}from"./chunk-DEJIH3ZQ.js";import{jsx as h}from"react/jsx-runtime";function m({title:m,heading:d,subject:c,milestones:p,summary:u,endDate:g,phaseLabels:k,variant:v="card",edgeCaptions:f,highlightKeys:y=null,onHoverChange:b}){const j=l(Date.now,null),M=[],x=[],C=o().timeline,H=r();for(const e of p){const n=i(e.date??null);null===n?x.push({key:e.key,label:e.label,kind:e.kind}):M.push({...e,ms:n})}M.sort((e,n)=>e.ms-n.ms);const D=i(g??null);let w,J,K=!0;0===M.length?(J=D??j??0,w=J-30*a,K=null!==D||null!==j):(w=M[0].ms,J=D??M[M.length-1].ms,J-w<a&&(J=w+a));const L=M.length>0?Math.max(0,Math.round((J-w)/a)):0,N=u??(L>0?C.duration(L):void 0),O=[M.length>0?C.started(t(M[0].ms,H)):void 0,N,x.length>0?C.reached(M.length,p.length):void 0],Z=M.map(e=>{return{key:e.key,ms:e.ms,kind:e.kind,label:e.label,detail:e.detail,preview:e.preview,glyph:e.glyph,onClick:e.onClick,onOpen:e.onOpen,priority:(n=e.kind,"dfm"===n?1:0),caption:e.caption,provisional:e.provisional};var n}),G={};for(const e of M)e.phase&&(G[e.phase]=G[e.phase]||[]).push(e.ms);const I=Object.entries(G).filter(([,e])=>e.length>=2).map(([e,n])=>({key:e,label:k?.[e]??e,minMs:Math.min(...n),maxMs:Math.max(...n)})),Q="rail"===v,R=K&&/* @__PURE__ */h("div",{className:"select-none",children:/* @__PURE__ */h(n,{axis:Q?"spread":"compressed",labels:Q?"none":"lanes",items:Z,pending:x,phases:I,startMs:w,endMs:J,todayMs:j??void 0,edgeCaptions:f,highlightKeys:y,onHoverChange:b,ariaLabel:C.milestones(m)})});/* @__PURE__ */
2
- return h("div",Q?{className:"shrink-0","data-timeline-variant":"rail",children:R}:{className:"shrink-0",children:/* @__PURE__ */h(e,{icon:/* @__PURE__ */h(s,{}),heading:d??m,subject:c,meta:O,children:R})})}export{m as MilestoneTimeline};
@@ -1 +0,0 @@
1
- var r="13.6.1",a=r;export{a as APP_VERSION,r as VERSION};
@@ -1,15 +0,0 @@
1
- import{TimelineCard as e}from"./chunk-S4Z657L6.js";import{TimelineGlyph as t,TimelineProgressIcon as r,TimelineTrack as n}from"./chunk-BRZ55H2G.js";import{toDayMs as a,fmtSliderDate as o}from"./chunk-GXVWI3U5.js";import{DAY_MS as i}from"./chunk-JRQMX4PK.js";import{Icon as s}from"./chunk-ISVODSRP.js";import{useBrowserValueOnce as l}from"./chunk-D65T4H6J.js";import{useShellStrings as c,useShellLocale as d,splitAround as p}from"./chunk-DEJIH3ZQ.js";import{useState as u,useEffect as m,useRef as g}from"react";import{jsxs as h,jsx as b,Fragment as y}from"react/jsx-runtime";var k=/* @__PURE__ */new Set(["finished","partial_shipped","shipped","completed","cancelled"]),f=[{key:"casting",label:"Casting",weight:.2},{key:"cnc",label:"CNC",weight:.2},{key:"painting",label:"Painting",weight:.5},{key:"packing",label:"Packing",weight:.1},{key:"finished_goods",label:"FG",weight:0},{key:"stock_qty",label:"Stock",weight:0}];function _(e){if(e.order_qty<=0)return 0;let t=0;for(const r of f)if(r.weight>0){t+=Math.min((e[r.key]||0)/e.order_qty,1)*r.weight}return 100*t}function v(e){const t=e?.items??[];return 0===t.length?0:t.reduce((e,t)=>e+_(t),0)/t.length}function M(e){const{reports:t,poProductionStartDate:r,poEstCompletionDate:n,poStatus:o,poNumber:s="",currentReportId:d,currentReportDate:p,msPerDayOfPlayback:h=500,markers:b=[]}=e,[y,f]=u(null),_=c().production;m(()=>{p?f(new Date(p).getTime()):t.length>0&&f(new Date(t[0].date).getTime())},[d]);const[v,M]=u(!1),w=g(null),N=()=>{null!=w.current&&(cancelAnimationFrame(w.current),w.current=null),M(!1)};m(()=>()=>N(),[]),m(()=>{N()},[d]);const S=t.map(e=>a(e.date)).filter(e=>null!=e),x=l(Date.now,null)??Math.max(0,...S,...b.map(e=>a(e.date)??0),a(r??null)??0,a(n??null)??0),P=S.length?Math.min(...S):x,D=S.length?Math.max(...S):x,R=a(r??null)??P,C=a(n??null)??0,O=k.has((o||"").toLowerCase()),q=b.reduce((e,t)=>{const r=a(t.date);return null!=r&&r>e?r:e},0),I=(()=>{const e=[C,D,q,R+i];return O||e.push(x),Math.max(...e)})(),T=Math.max(1,Math.round((I-R)/i)),j=a(p??null)??D??R,A=Math.min(Math.max(y??j,R),I),L=t.find(e=>{const t=a(e.date);return null!=t&&t<=A})??null;let $=null;for(let e=t.length-1;e>=0;e--){const r=a(t[e].date);if(null!=r&&r>A){$=t[e];break}}const F=(()=>{if(L||!$||0===t.length)return null;const e=(t[t.length-1].items??[]).map((e,t)=>({id:`zero-${e.part_number}-${t}`,part_number:e.part_number,description:e.description??"",order_qty:Number(e.order_qty||0),casting:0,cnc:0,painting:0,packing:0,finished_goods:0,stock_qty:0}));return{id:`zero-${s}`,progress_number:_.start,date:r||new Date(R).toISOString().slice(0,10),items:e,est_completion_date:n??null,created_by_name:"",notes:""}})(),G=L??F,H=L?a(L.date):F?R:null,J=$?a($.date):null,Z=!!(G&&$&&null!=H&&null!=J&&A>H&&A<J);let z,B;if(Z&&null!=H&&null!=J){const e=(A-H)/Math.max(J-H,1),t=(t,r)=>Math.round(t+(r-t)*e),r={};for(const e of G?.items??[])r[e.part_number]=e;const n={};for(const e of $?.items??[])n[e.part_number]=e;const o=Array.from(/* @__PURE__ */new Set([...Object.keys(r),...Object.keys(n)])).map((e,a)=>{const o=r[e]??{},i=n[e]??{},s=e=>Number(e)||0;return{id:`interp-${e}-${a}`,part_number:e,description:o.description??i.description??"",order_qty:s(o.order_qty??i.order_qty??0),casting:t(s(o.casting),s(i.casting)),cnc:t(s(o.cnc),s(i.cnc)),painting:t(s(o.painting),s(i.painting)),packing:t(s(o.packing),s(i.packing)),finished_goods:t(s(o.finished_goods),s(i.finished_goods)),stock_qty:t(s(o.stock_qty),s(i.stock_qty))}}),i=a(G?.est_completion_date),s=a($?.est_completion_date);let l;l=null!=i&&null!=s?new Date(Math.round(i+(s-i)*e)).toISOString().slice(0,10):G?.est_completion_date||$?.est_completion_date||null,z={id:`interp-${A}`,progress_number:_.estimated,date:new Date(A).toISOString().slice(0,10),created_by_name:"",est_completion_date:l,items:o,notes:""},B=G}else if(z=G??t[t.length-1]??null,z){const e=t.findIndex(e=>e.id===z.id);B=e>=0&&e<t.length-1?t[e+1]:null}else B=null;const E={};for(const e of B?.items??[])E[e.part_number]=e;const K=!(!d||z?.id===d),Q=d?Math.min(a(p??null)??I,I):I,V=d?t.find(e=>e.id===d)?.progress_number:void 0;return{startMs:R,endMs:I,totalLeadDays:T,scrubMs:A,setScrubMs:e=>{N(),f(e)},resetToCurrent:()=>{N(),p&&f(new Date(p).getTime())},scrubbedAway:K,beforeAnchor:G,nextAfter:$,displayed:z,prevReport:B,prevByPN:E,isInterpolated:Z,playing:v,startPlay:()=>{if(v)return void N();if(Q<=R)return void f(Q);M(!0),f(R);let e=performance.now(),t=R;const r=n=>{const a=n-e;if(e=n,t+=a/h*i,t>=Q)return f(Q),w.current=null,void M(!1);f(t),w.current=requestAnimationFrame(r)};w.current=requestAnimationFrame(r)},stopPlay:N,reports:t,markers:b,poNumber:s,currentReportId:d,currentReportProgressNumber:V,estCompletionMs:a(n??null)}}function w({startMs:e,endMs:t,reports:r,markers:a,valueMs:i,activeId:s,onChange:l,onPickReport:p,onOpenReport:u,onOpenMarker:m,onDragStart:g,renderReportPreview:h,reportLabel:y,playback:k,edgeCaptions:f,bare:_=!1,endMark:v=null}){const M=c().production,w=d(),N=r.map(e=>({report:e,ms:new Date(e.date).getTime()})).filter(({ms:e})=>Number.isFinite(e)).sort((e,t)=>e.ms-t.ms),S=N.map(({report:e,ms:t})=>({key:e.id,ms:t,kind:"report",label:y(e),preview:e.preview??h?.(e),onOpen:u?()=>u(e.id):void 0})),x=new Map(N.map(({report:e,ms:t})=>[e.id,t])),P=N.map(({ms:e})=>e),D=m?a.map(e=>({...e,onOpen:m})):a;/* @__PURE__ */
2
- return b("div",{className:"select-none",children:/* @__PURE__ */b(n,{axis:_?"spread":"linear",labels:_?"none":"active",endMark:_?v:null,items:S,markers:D,startMs:e,endMs:t,activeKey:s,onActivate:e=>{const t=x.get(e);null!=t&&l(t),p(e)},playback:k,edgeCaptions:f,thumb:{valueMs:i,onChange:l,onDragStart:g,stops:P,ariaLabel:M.scrub,valueText:e=>{const t=(e=>N.find(t=>t.ms===e)?.report)(e);return t?`${y(t)} · ${o(e,w)}`:o(e,w)}},ariaLabel:M.label(o(e,w),o(t,w))})})}function N({snapshot:n,onPickReport:i,onOpenReport:l,onOpenMarker:m,renderReportPreview:k,onScrubProgress:f,heading:_,edgeCaptions:M,reportLabel:N=e=>e.progress_number,resetLabel:S,variant:x="card",onPlayStart:P}){const{reports:D,markers:R,poNumber:C,startMs:O,endMs:q,totalLeadDays:I,scrubMs:T,setScrubMs:j,displayed:A,scrubbedAway:L,resetToCurrent:$,currentReportId:F,currentReportProgressNumber:G,estCompletionMs:H}=n,J=function(e,t,r){const[n,a]=u(!1),o=g(!1);return{playing:n,toggle:()=>{n?a(!1):0!==e.length&&(r?.(),o.current||(o.current=!0,t(e[0])),a(!0))},stop:()=>{o.current=!1,a(!1)}}}(D.map(e=>a(e.date)).filter(e=>null!=e).sort((e,t)=>e-t),j,P),Z=c().production,z=d(),B=_??Z.heading,E=e=>o(e,z);if(0===D.length&&0===R.length)return null;const K=R.filter(e=>"shipment"===e.kind),Q=R.filter(e=>"inspection"===e.kind),V=R.filter(e=>"invoice"===e.kind),X=(A?.items??[]).reduce((e,t)=>e+(Number(t.stock_qty)||0),0),U=A?v(A):0,W=D.find(e=>e.id===F),Y=W?N(W):G,ee=
3
- /* @__PURE__ */h("button",{type:"button",onClick:J.toggle,"aria-pressed":J.playing,title:J.playing?Z.pause:Z.playTitle,className:"rosh-tl-play text-gray-700 border-gray-300 hover:text-blue-600 hover:border-blue-600",children:[J.playing?/* @__PURE__ */b(s,{name:"pause","aria-hidden":"true"}):/* @__PURE__ */b(s,{name:"play","aria-hidden":"true"}),
4
- /* @__PURE__ */b("span",{children:J.playing?Z.pause:Z.play})]}),te=L&&(S??Y)?/* @__PURE__ */b("button",{type:"button",onClick:()=>{J.stop(),$()},className:"text-xs text-blue-600 underline-offset-4 hover:underline font-medium",children:S??Z.backTo(String(Y))}):null,[re,ne]=p(Z.showing),ae=e=>/* @__PURE__ */b("p",{className:"rosh-tl-status text-gray-800",children:A?/* @__PURE__ */h(y,{children:[e&&re,
5
- /* @__PURE__ */b("b",{className:"font-medium",children:N(A)}),e&&ne,
6
- /* @__PURE__ */h("span",{className:"text-gray-500",children:[" · ",E(new Date(A.date).getTime())," · ",Z.overall(Math.round(U))," · ",Z.inStock(X)]})]}):/* @__PURE__ */b("span",{className:"text-gray-500",children:Z.noReport})});if("rail"===x){const e=null!=H&&H>=q&&q>O,t=e?{key:"__estimate__",label:Z.estimatedCompletion,dateText:E(H)}:null;/* @__PURE__ */
7
- return h("div",{className:"shrink-0","data-timeline-variant":"rail",children:[
8
- /* @__PURE__ */b(w,{bare:!0,endMark:t,startMs:O,endMs:q,reports:D,markers:R,valueMs:T,activeId:A?.id??"",onChange:j,onPickReport:i,onOpenReport:l,onOpenMarker:m,renderReportPreview:k,reportLabel:N,edgeCaptions:{start:M?.start??Z.start,end:M?.end??(e?Z.estDone:void 0)},onDragStart:J.stop,playback:{playing:J.playing,onArrive:(e,t)=>j(t),onProgress:f,onStop:J.stop}}),
9
- /* @__PURE__ */h("div",{className:"rosh-tl-railrow","data-timeline-part":"rail-row",children:[ee,te,ae(!1)]})]})}/* @__PURE__ */
10
- return b("div",{className:"shrink-0",children:/* @__PURE__ */b(e,{icon:/* @__PURE__ */b(r,{}),heading:B,subject:C,meta:[`${E(O)} → ${E(q)}`,Z.leadTime(I)],actions:/* @__PURE__ */h(y,{children:[te,ee]}),footer:/* @__PURE__ */h(y,{children:[ae(!0),
11
- /* @__PURE__ */h("div",{className:"rosh-tl-legend",children:[D.length>0&&/* @__PURE__ */h("span",{className:"border-gray-200 text-gray-500",children:[
12
- /* @__PURE__ */b("i",{"aria-hidden":"true",className:"rosh-tl-glyph is-ring border-blue-600"}),Z.report]}),K.length>0&&/* @__PURE__ */h("span",{className:"border-gray-200 text-gray-500",children:[
13
- /* @__PURE__ */b("i",{"aria-hidden":"true",className:"rosh-tl-glyph is-diamond",style:{background:"var(--tl-shipment)",color:"var(--tl-on-kind)"},children:/* @__PURE__ */b(t,{name:"truck"})}),Z.shipment]}),Q.length>0&&/* @__PURE__ */h("span",{className:"border-gray-200 text-gray-500",children:[
14
- /* @__PURE__ */b("i",{"aria-hidden":"true",className:"rosh-tl-glyph is-disc",style:{background:"var(--tl-inspection)",color:"var(--tl-on-kind)"},children:/* @__PURE__ */b(t,{name:"flask"})}),Z.inspection]}),V.length>0&&/* @__PURE__ */h("span",{className:"border-gray-200 text-gray-500",children:[
15
- /* @__PURE__ */b("i",{"aria-hidden":"true",className:"rosh-tl-glyph is-disc",style:{background:"var(--tl-invoice)",color:"var(--tl-on-kind)"},children:/* @__PURE__ */b(t,{name:"receipt"})}),Z.invoice]})]})]}),children:/* @__PURE__ */b(w,{startMs:O,endMs:q,reports:D,markers:R,valueMs:T,activeId:A?.id??"",onChange:j,onPickReport:i,onOpenReport:l,onOpenMarker:m,renderReportPreview:k,reportLabel:N,edgeCaptions:M,onDragStart:J.stop,playback:{playing:J.playing,onArrive:(e,t)=>j(t),onProgress:f,onStop:J.stop}})})})}export{k as POST_PRODUCTION_STATUSES,N as ProductionTimeline,f as STAGES,_ as calcOverall,v as calcReportOverall,M as useProductionTimeline};