efficient-shell 15.5.0 → 15.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +11 -5
- package/dist/{Browser-AW3JESXA.js → Browser-5QLDJ74Z.js} +11 -11
- package/dist/Calculator-6WNTZLWL.js +29 -0
- package/dist/{CurrencyConverter-H34LZQBN.js → CurrencyConverter-C4KCZWUM.js} +10 -10
- package/dist/{Files-MUH6WMVG.js → Files-VFRXPQLV.js} +23 -23
- package/dist/Notepad-S5JMXH2O.js +24 -0
- package/dist/PomodoroTimer-BGTCWT53.js +91 -0
- package/dist/{Preview-II3EEMFX.js → Preview-HTFTEL7K.js} +22 -22
- package/dist/{Stock-R5A7NOZT.js → Stock-LIOPTQG5.js} +6 -6
- package/dist/{Weather-U2LR5SRL.js → Weather-K3BVAFRV.js} +20 -20
- package/dist/{WorldClock-HGGHJ5SX.js → WorldClock-RHAHXLW4.js} +6 -6
- package/dist/apps/ImageAnnotator.js +1 -1
- package/dist/apps/index.js +1 -1
- package/dist/bin/browser-check.js +1 -1
- package/dist/bin/media-host-check.js +1 -1
- package/dist/bin/ui-check.js +1 -1
- package/dist/brand.css +1 -1
- package/dist/chunk-3AUPCKBR.js +1 -0
- package/dist/chunk-6FOLK4HD.js +1 -0
- package/dist/{chunk-3BILUDDY.js → chunk-EA423N2F.js} +3 -3
- package/dist/{chunk-F4DVE2J2.js → chunk-FQ3SYDKI.js} +1 -1
- package/dist/chunk-FUUUPTVN.js +18 -0
- package/dist/chunk-GD5NGS6D.js +89 -0
- package/dist/chunk-GZ4AMXEU.js +1 -0
- package/dist/{chunk-WDVQXZ5F.js → chunk-QJ3X2PHY.js} +1 -1
- package/dist/{chunk-HB2PSIVY.js → chunk-RRWQBWLW.js} +1 -1
- package/dist/chunk-WGDVYCQX.js +69 -0
- package/dist/{chunk-L7EQ2DJV.js → chunk-XZKVGJIB.js} +1 -1
- package/dist/{chunk-TAU7GC7W.js → chunk-YFVQKS5U.js} +1 -1
- package/dist/chunk-ZLB5GRL6.js +1 -0
- package/dist/format/index.d.ts +15 -1
- package/dist/format/index.js +1 -1
- package/dist/hooks/index.d.ts +42 -1
- package/dist/hooks/index.js +1 -1
- package/dist/index.d.ts +121 -75
- package/dist/index.js +662 -662
- package/dist/motion.css +9 -4
- package/dist/routine-index.json +1 -1
- package/dist/shell/SidebarLayout.d.ts +11 -1
- package/dist/shell/SidebarLayout.js +1 -1
- package/dist/telemetry/index.js +1 -1
- package/dist/templates/ChatTemplate.js +1 -1
- package/dist/templates/EmailTemplate.js +1 -1
- package/dist/ui/index.js +1 -1
- package/dist/value-index.json +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/dist/Calculator-HHAC23S4.js +0 -29
- package/dist/Notepad-PYOQ3WJS.js +0 -24
- package/dist/PomodoroTimer-GZZD7LPW.js +0 -91
- package/dist/chunk-GG2UON56.js +0 -1
- package/dist/chunk-KFVGNKKJ.js +0 -92
- package/dist/chunk-POMRPKZO.js +0 -16
- package/dist/chunk-TDUOBP55.js +0 -69
|
@@ -78,7 +78,17 @@ interface SidebarLayoutProps {
|
|
|
78
78
|
sidebarClassName?: string;
|
|
79
79
|
/** Classes for the main content pane. Defaults to a white background. */
|
|
80
80
|
contentClassName?: string;
|
|
81
|
+
/** The name drawn beside the window's buttons, in the clear strip they
|
|
82
|
+
* float over at the top of the sidebar. By default it is the window's own
|
|
83
|
+
* title: a window over a sidebar draws no title row, so this is the one
|
|
84
|
+
* place its name shows (Victor Mau, 2026-11-24, harness UI-60). Pass a
|
|
85
|
+
* shorter name to draw instead (the admin's System Configuration window
|
|
86
|
+
* says "Settings"), or `false` to draw none. Drawn only on that strip:
|
|
87
|
+
* beside a rail, in a window that keeps its title row, or on a phone it is
|
|
88
|
+
* left out. The window's own title still names it for screen readers and
|
|
89
|
+
* the taskbar. */
|
|
90
|
+
title?: string | false;
|
|
81
91
|
}
|
|
82
|
-
declare function SidebarLayout({ sidebar, sidebarTop, sidebarBottom, rail, railClassName, children, side, storageKey, defaultWidth, minWidth, maxWidth, className, sidebarClassName, contentClassName, }: SidebarLayoutProps): react_jsx_runtime.JSX.Element;
|
|
92
|
+
declare function SidebarLayout({ sidebar, sidebarTop, sidebarBottom, rail, railClassName, children, side, storageKey, defaultWidth, minWidth, maxWidth, className, sidebarClassName, contentClassName, title, }: SidebarLayoutProps): react_jsx_runtime.JSX.Element;
|
|
83
93
|
|
|
84
94
|
export { type SidebarLayoutProps, SidebarLayout as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
export{SidebarLayout as default}from"../chunk-
|
|
2
|
+
export{SidebarLayout as default}from"../chunk-FUUUPTVN.js";import"../chunk-QWK6DRSN.js";import"../chunk-WNHDYTTI.js";import"../chunk-YI4T5I5D.js";import"../chunk-UGTRSRIW.js";import"../chunk-ISVODSRP.js";import"../chunk-J75ZT2JQ.js";import"../chunk-BWJZTHZ6.js";import"../chunk-CIZAUBWA.js";import"../chunk-PGN5ME7B.js";import"../chunk-5QRHQCRG.js";import"../chunk-62LW225J.js";import"../chunk-TAHHZGRH.js";import"../chunk-KEFNQEXZ.js";import"../chunk-PU2GJVMG.js";import"../chunk-3FININUU.js";import"../chunk-TWVUQUUD.js";import"../chunk-5FYDNH4Y.js";import"../chunk-LNXBTK7Q.js";import"../chunk-NRHG4R2Q.js";import"../chunk-C3QOHMR6.js";
|
package/dist/telemetry/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{startClientTelemetry}from"../chunk-
|
|
1
|
+
export{startClientTelemetry}from"../chunk-YFVQKS5U.js";import"../chunk-KNUR2UEG.js";import"../chunk-6FOLK4HD.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
export{ChatTemplate as default}from"../chunk-
|
|
2
|
+
export{ChatTemplate as default}from"../chunk-FQ3SYDKI.js";import"../chunk-FUUUPTVN.js";import"../chunk-QWK6DRSN.js";import"../chunk-WNHDYTTI.js";import"../chunk-SCNQK5NF.js";import"../chunk-D7MRZZVV.js";import"../chunk-AYZY3YNC.js";import"../chunk-YI4T5I5D.js";import"../chunk-UGTRSRIW.js";import"../chunk-NJY4HPNB.js";import"../chunk-PM6HY5BH.js";import"../chunk-DWGYC7OD.js";import"../chunk-APFDZ2HG.js";import"../chunk-P56YLT73.js";import"../chunk-URHGHXDN.js";import"../chunk-5QFPTDQF.js";import"../chunk-A4ROXNUF.js";import"../chunk-TSZPGDU3.js";import"../chunk-ISVODSRP.js";import"../chunk-J75ZT2JQ.js";import"../chunk-R2VKEMZH.js";import"../chunk-BWJZTHZ6.js";import"../chunk-CIZAUBWA.js";import"../chunk-PGN5ME7B.js";import"../chunk-5QRHQCRG.js";import"../chunk-62LW225J.js";import"../chunk-TAHHZGRH.js";import"../chunk-KEFNQEXZ.js";import"../chunk-PU2GJVMG.js";import"../chunk-3FININUU.js";import"../chunk-UQYNPYF4.js";import"../chunk-MRJKZWWV.js";import"../chunk-TWVUQUUD.js";import"../chunk-5FYDNH4Y.js";import"../chunk-LNXBTK7Q.js";import"../chunk-NRHG4R2Q.js";import"../chunk-C3QOHMR6.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
export{EmailTemplate as default}from"../chunk-
|
|
2
|
+
export{EmailTemplate as default}from"../chunk-QJ3X2PHY.js";import"../chunk-FUUUPTVN.js";import"../chunk-QWK6DRSN.js";import"../chunk-WNHDYTTI.js";import"../chunk-SCNQK5NF.js";import"../chunk-YI4T5I5D.js";import"../chunk-PO2KNVCC.js";import"../chunk-UGTRSRIW.js";import"../chunk-A4ROXNUF.js";import"../chunk-TSZPGDU3.js";import"../chunk-ISVODSRP.js";import"../chunk-J75ZT2JQ.js";import"../chunk-R2VKEMZH.js";import"../chunk-BWJZTHZ6.js";import"../chunk-CIZAUBWA.js";import"../chunk-PGN5ME7B.js";import"../chunk-5QRHQCRG.js";import"../chunk-62LW225J.js";import"../chunk-TAHHZGRH.js";import"../chunk-KEFNQEXZ.js";import"../chunk-PU2GJVMG.js";import"../chunk-3FININUU.js";import"../chunk-UQYNPYF4.js";import"../chunk-MRJKZWWV.js";import"../chunk-TWVUQUUD.js";import"../chunk-5FYDNH4Y.js";import"../chunk-LNXBTK7Q.js";import"../chunk-NRHG4R2Q.js";import"../chunk-C3QOHMR6.js";
|
package/dist/ui/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import"../chunk-SSAYFELC.js";export{FormLayoutPage}from"../chunk-KTI4ZJVX.js";export{GalleryTemplate}from"../chunk-5OXQ5M5S.js";export{ACCENT_ROLES,COLOUR_ROLES,FLAT_STATUS_ROLES,IDENTITY_ROLES,NEUTRAL_ROLES,SCRIM_ROLES,STATUS_GROUPS,STATUS_ROLES}from"../chunk-VVJIKS47.js";export{ELEVATION_LEVELS,RADIUS_ROLES}from"../chunk-4MVRSCQE.js";export{AuthScreen}from"../chunk-YXMXATYP.js";export{ChatTemplate}from"../chunk-F4DVE2J2.js";export{CheckoutTemplate}from"../chunk-A3RD7AQ2.js";export{DashboardTemplate}from"../chunk-62UNBUTU.js";export{DataTablePage}from"../chunk-ZVKUOJNS.js";export{EmailTemplate}from"../chunk-WDVQXZ5F.js";export{ErrorBoundary}from"../chunk-ASNRA3ZL.js";export{ErrorPage}from"../chunk-6NXPOZ6X.js";export{useTransferProgress}from"../chunk-QHOEMRR7.js";export{Tabs,tabButtonId,tabPanelId}from"../chunk-EJMCK7E3.js";export{Paragraph,Text,Title}from"../chunk-366URRSE.js";export{TimeAgo}from"../chunk-DV6TUXCZ.js";export{TopNav}from"../chunk-FHTL7ZZR.js";export{Skeleton}from"../chunk-4Z62SEA5.js";export{ListRow,SortableList}from"../chunk-5LG6TOV6.js";export{Grid,Inline,Stack}from"../chunk-3RPER7VH.js";export{Statistic}from"../chunk-R3BSWWGB.js";export{Stepper}from"../chunk-KTO427N3.js";export{SettingReset}from"../chunk-INQQUAIO.js";export{SettingRow}from"../chunk-LRMDLZMM.js";export{SidebarActionButton}from"../chunk-KMTCYDJH.js";export{SidebarLayout}from"../chunk-POMRPKZO.js";export{SidebarGroupLabel,SidebarNavGroup,SidebarNavItem,SidebarSection}from"../chunk-JIHDUZJZ.js";import"../chunk-QWK6DRSN.js";export{MetricBar}from"../chunk-PLESHI3E.js";export{isSeverityTone,severityOf}from"../chunk-TZFNWAED.js";export{MetricBarLegend}from"../chunk-VTCMO3K7.js";import"../chunk-URBCGEXG.js";export{MilestoneTimeline}from"../chunk-E57C7NBA.js";export{PageHeader}from"../chunk-3EYJ4G7L.js";export{POST_PRODUCTION_STATUSES,ProductionTimeline,STAGES,calcOverall,calcReportOverall,useProductionTimeline}from"../chunk-KE7P74XM.js";import"../chunk-S4Z657L6.js";export{TimelineTrack}from"../chunk-Q7FPGOUY.js";export{fmtSliderDate,toDayMs}from"../chunk-5CFERCYW.js";export{ResizeHandle}from"../chunk-WNHDYTTI.js";export{HelpCenter}from"../chunk-U7PA4KNZ.js";export{IconRail,IconRailButton}from"../chunk-SJUEGYT2.js";import"../chunk-FQEALPZJ.js";export{LanguagePanel,LanguageSelect,languageSelectWidth}from"../chunk-CHWZGSYG.js";export{EditableGrid}from"../chunk-YGNJIOOH.js";export{EmptyValue}from"../chunk-HNQPF5QZ.js";export{FloatingBar}from"../chunk-WSQ73CRR.js";export{GlobalSearch,openGlobalSearch}from"../chunk-HU5FTTW2.js";export{pushRecent as pushRecentSearch,sanitizeRecent as sanitizeRecentSearches}from"../chunk-HGOWQO63.js";export{ContainerFillChart}from"../chunk-BL347U3N.js";export{CountBadge}from"../chunk-PFOTEDSQ.js";export{ENGLISH,SHELL_LANGUAGE_STORAGE_KEY,ShellLanguageProvider,matchShellLanguage,readSavedShellLanguage,resolveShellLanguage,saveShellLanguage,useShellLanguage}from"../chunk-GKYGPCGL.js";export{Accordion,AccordionBody,AccordionHeading}from"../chunk-3BQMICGG.js";export{APP_UPDATE_POLL_MS,AppUpdateBanner,useAppUpdate}from"../chunk-QSFQTMWV.js";export{BudgetBar,budgetState}from"../chunk-7B6JPNOD.js";export{Card,StatCard}from"../chunk-RKSCB5BJ.js";export{ICON_NAMES,isIconName}from"../chunk-3C7JKJGL.js";export{CORNERS,CORNERS_FOR_THEME,applyCorners,applyIconSet,applyThemePrefs,cornersFor,resolveCorners,resolveTheme,useTheme}from"../chunk-4K32E3AO.js";export{ICON_SET_FOR_THEME,THEME_ICON_SETS,iconSetFor,loadIconSet}from"../chunk-VQCKMT5F.js";export{BRAND_ICON_NAMES,isBrandIconName}from"../chunk-RQGLDRRF.js";export{BRAND_MAX_HEIGHT,BRAND_MIN_HEIGHT_PX,brandBox}from"../chunk-64ACCUNN.js";export{useDebouncedValue}from"../chunk-SLGT5WPJ.js";export{useRootIsDark}from"../chunk-UPXDDO3U.js";export{WidthsBar}from"../chunk-KIIZNION.js";export{COLUMN_COUNT_MAX,COLUMN_COUNT_WIDTHS,COLUMN_SHARES_EQUAL,COLUMN_SHARE_MIN,columnSharesWidths,resolveColumnShares,resolveColumnWidths}from"../chunk-PLGJOHEG.js";export{Snippet}from"../chunk-QSOBETAI.js";export{SplitButton_default as SplitButton}from"../chunk-R6YVKP6D.js";export{Switch_default as Switch}from"../chunk-M3R4C3A6.js";export{TagInput}from"../chunk-B36ZROD7.js";export{TextToolbar,textToolbarRows,textToolbarWindowColumns}from"../chunk-QXEZBS3H.js";export{TEXT_ALIGNS,TEXT_ALIGN_FIT,TEXT_ALIGN_ICONS,textAlignFit,textAlignOptions,textAlignWords}from"../chunk-72UHB4JU.js";export{Textarea_default as Textarea}from"../chunk-PB7G6CJ7.js";export{TileButton_default as TileButton}from"../chunk-H2R4SNNO.js";export{TimePicker_default as TimePicker}from"../chunk-ZRWZHWKI.js";export{RadioGroup}from"../chunk-32VV2J22.js";export{SearchInput_default as SearchInput}from"../chunk-AKEED2BC.js";export{ShowWhen}from"../chunk-YEM4KYCW.js";export{SidesEachToggle,SidesInput,sidesStartEach}from"../chunk-V62FEHS4.js";export{Slider,SliderGroup}from"../chunk-RIA6KKIB.js";export{MEDIA_FILES_DRAG_TYPE,MEDIA_FILE_DRAG_TYPE,MEDIA_FOLDER_DRAG_TYPE,MediaLibrary,readMediaFileDrag}from"../chunk-E4WVF6AS.js";export{Tree,TreeEmptySlot,TreeGroup,TreeGroupLabel,TreeRow,TreeSeam}from"../chunk-BTMZ5MUY.js";import"../chunk-5B7CLXHC.js";export{ImageLightbox,lightboxKind}from"../chunk-MQNSKFZY.js";export{LIGHTBOX_PICTURE_FIT,ZoomableImage}from"../chunk-CGUMJZUB.js";export{MarqueeBox}from"../chunk-IC72MGON.js";export{Drawer}from"../chunk-DEV3ZHPP.js";export{EmptyState}from"../chunk-W3454ZES.js";export{DescriptionList}from"../chunk-SACUSHVN.js";export{Breadcrumbs}from"../chunk-WREUA43Q.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-UFJR63AO.js";export{mediaMoveItems,mediaMoveSubmenu,useMediaMoveItems}from"../chunk-GRAFJD3L.js";export{RenameField}from"../chunk-OK2J6WSC.js";export{FULL_BADGE_TILE_PX,MediaUploadGrid}from"../chunk-B4Y5NGHR.js";export{MediaUsedInList}from"../chunk-EULBBS5L.js";export{NumericKeypad}from"../chunk-KERCZSIA.js";export{MAX_FRACTION_DIGITS,appendKey,backspace}from"../chunk-VEPVOHCV.js";export{PICTURE_TILES_COLUMNS_VAR,PictureTiles}from"../chunk-OHWP24DL.js";export{PositionInput}from"../chunk-YEDAXZYO.js";export{Radio_default as Radio}from"../chunk-NI5FXWK5.js";export{LinkPicker,TextLinkField}from"../chunk-OHPDB4UN.js";export{SearchableSelect}from"../chunk-DVKOVZJ2.js";export{NativeSelect,Select_default as Select}from"../chunk-W7HTHKN2.js";import"../chunk-EO5RLFRX.js";import"../chunk-GML6FVPA.js";export{Label,labelClasses}from"../chunk-EQKUFYX6.js";export{CornersInput}from"../chunk-GUOAPXUY.js";export{DatePicker_default as DatePicker}from"../chunk-GGNQEZ2D.js";export{DateRangePicker,toISODate}from"../chunk-S6C7X6CR.js";export{DateTimePicker_default as DateTimePicker}from"../chunk-ROYHU3E5.js";export{DisplayChips}from"../chunk-52RSW6TO.js";export{FilePicker_default as FilePicker}from"../chunk-QE2F4YQQ.js";export{FormErrorSummary}from"../chunk-UDJPSHVI.js";export{AlignmentGrid}from"../chunk-VB4ZPIZF.js";export{BorderInput,borderSides,borderStartEach}from"../chunk-4NTAZLT3.js";export{IconPicker}from"../chunk-QYOIS4BN.js";export{BrandAssetEditor}from"../chunk-VHBRVW5O.js";export{MediaUploadField}from"../chunk-KJ4CHRRC.js";export{ImageFocusPoint}from"../chunk-CUJ537IY.js";export{FormField}from"../chunk-6KBDNYRW.js";export{BrandMark,resolveBrandMarkTreatment}from"../chunk-MI67DI3H.js";export{Calendar}from"../chunk-PPHGBEJA.js";export{ColorPicker,ColorPickerPanel,ColorSwatch,HexInput,colorFill,colorSwatchClasses}from"../chunk-PCNFY6EK.js";export{Popover}from"../chunk-345FP3IX.js";export{InputNumber_default as InputNumber}from"../chunk-TEYG2W7A.js";export{UnitMenu}from"../chunk-4MDSZSLC.js";export{WidestLabel}from"../chunk-X3LMTOMA.js";export{useSettingAuto,useSettingRowName}from"../chunk-2NMW66P5.js";export{statusColumn}from"../chunk-QLK2NCXK.js";export{BORDER_WIDTHS,FONT_WEIGHTS,MOTION_DURATIONS,TYPE_SCALE}from"../chunk-LH7IKIGE.js";import"../chunk-UVCMV2TL.js";export{useSort}from"../chunk-22SVN2ZM.js";export{slugify}from"../chunk-24AL3CDS.js";export{ENTRANCE_ATTR,ENTRANCE_FROM,ENTRANCE_FROM_ATTR,ENTRANCE_FROM_DEFAULT,ENTRANCE_KINDS,ENTRANCE_KINDS_WITH_FROM,ENTRANCE_STATE_ATTR,armEntrance,entranceAttrs,playEntrance,readEntrance}from"../chunk-YYGA4Y6E.js";export{HOVER_MOTION,MOTION_EASING,MOTION_GROUPS,MOTION_TIMING,motionSeconds,rotateDegrees}from"../chunk-AIJ3G6BD.js";export{hexWithAlpha,mixHex,rgbToHex}from"../chunk-CJSZW3OS.js";export{addShowWhenFacts,isShown,lazyShowWhenContext,showWhenFactReaders,showWhenFactsContext,showWhenOf,shownForOption,truthy,withRowRules,withRowsShownWhen,withShowWhen,withShowWhenFacts}from"../chunk-HCP7WOAL.js";export{gridColumnCount}from"../chunk-VNNVG4NR.js";export{BORDER_LINE_STYLES}from"../chunk-NOMWJTN2.js";export{FOCAL_DEFAULT,FOCAL_NUDGE_COARSE,FOCAL_NUDGE_STEP,focalFromRect,formatFocal,nudgeFocal,parseFocal}from"../chunk-25RR3GQW.js";export{contrastRatio,hexToHsv,hexToRgb,hsvToHex,parseHexColor,readableInk,relativeLuminance}from"../chunk-S6OB6HJB.js";export{DataTable}from"../chunk-5Y2JZL3I.js";export{EntityList}from"../chunk-NM7U42KL.js";import"../chunk-XYVFJLAU.js";export{ResizableTable}from"../chunk-TXGVSWH6.js";export{useClickOutside}from"../chunk-SI26KESU.js";export{useColumnConfig}from"../chunk-XGEN76DG.js";import"../chunk-ULJQYXHB.js";export{useTableNav}from"../chunk-ATMJ5ZPK.js";export{escapeHtml}from"../chunk-G6DKCCWH.js";export{Checkbox_default as Checkbox}from"../chunk-CGZBDI6C.js";export{Gantt}from"../chunk-JGN27L4Q.js";export{Segmented}from"../chunk-TALQMTCE.js";import"../chunk-EFKJLUYP.js";export{Kanban}from"../chunk-MXRF5YVN.js";export{ListFooter}from"../chunk-U73K3ICC.js";export{ListLoadError}from"../chunk-LGVVXYW7.js";export{ListToolbar}from"../chunk-C75ICYHF.js";export{Pagination}from"../chunk-Q2RNFBYS.js";export{PortalBrandingProvider,resolvePortalBrandAsset,usePortalBranding}from"../chunk-ACYYVK6G.js";export{TreemapChart}from"../chunk-PRN2QDX6.js";export{squarify}from"../chunk-46BYGPGD.js";export{WaterfallChart}from"../chunk-WCAABJEV.js";export{RangeChart}from"../chunk-Q7CM4UDG.js";export{RankedBars}from"../chunk-53HHYEN4.js";export{SankeyChart}from"../chunk-R72SBGYR.js";export{SCATTER_SERIES_CAP,ScatterChart}from"../chunk-PPI4WJ3V.js";export{StatTile}from"../chunk-XX34ZFYB.js";export{Sparkline}from"../chunk-CKCDGSTC.js";export{SunburstChart}from"../chunk-3H476JWK.js";export{FunnelChart}from"../chunk-QZ2XRFDP.js";export{HeatmapChart}from"../chunk-FBI3XJWH.js";export{HistogramChart}from"../chunk-N64YAF5N.js";export{Meter}from"../chunk-MMA3WTF2.js";export{PieChart}from"../chunk-6EGZ4PV4.js";export{RADAR_SERIES_CAP,RadarChart}from"../chunk-FGP2IOFN.js";export{RadialBarChart}from"../chunk-OOND66P2.js";export{ChordChart}from"../chunk-35Q7ZMQD.js";import"../chunk-RTZFWH5U.js";export{StepChain,StepChainItem}from"../chunk-Z2Z653OO.js";export{Markdown,Markdown as MarkdownLite,plainCell,tableToCsv}from"../chunk-3AVXNZY5.js";export{Divider}from"../chunk-DFOFEBYX.js";export{Avatar,AvatarGroup}from"../chunk-SCNQK5NF.js";export{ContextMenu,useContextMenu}from"../chunk-MF7OELXP.js";export{Banner}from"../chunk-OSMRYND3.js";import"../chunk-UJUTS6LJ.js";export{isSafeLinkHref}from"../chunk-Z5TE3MEG.js";export{AttachButton,AttachmentDropZone,AttachmentList,ComposerAttachments,PaperclipGlyph}from"../chunk-UYM7562M.js";export{Input_default as Input}from"../chunk-D7MRZZVV.js";export{mediaFileName}from"../chunk-TAIH2VIW.js";export{TransferProgress}from"../chunk-TAB3K2WF.js";export{INPUT_BASE,INPUT_SIZES,PLACEHOLDER_INK,inputClasses}from"../chunk-AYZY3YNC.js";export{FileIntakeAlert,acceptsFile,useFileIntake}from"../chunk-TNGIXSTM.js";export{CHART_SPEC_LIMITS,parseChartSpec}from"../chunk-CR7T435F.js";export{SpecChart}from"../chunk-CMEPDSYB.js";export{currencyDecimals,currencySymbol,formatBytes,formatMoney,setCurrencyFormats,timeAgo}from"../chunk-OJI4ROSD.js";export{DATE_FORMAT_OPTIONS,TZ_AUTO,dayKeyInZone,firstDayOfWeek,formatDate,formatDateTime,formatTime,getUserDateFormat,getUserTimezone,instantOnDayKey,knownZone,setUserDateFormat,setUserTimezone,syncTimezoneFromProfile,userToday,userZone}from"../chunk-NHKT5IH6.js";export{EMPTY_VALUE}from"../chunk-36BRD5J3.js";export{DAY_MS,fromDateKey,toDateKey}from"../chunk-JRQMX4PK.js";import"../chunk-LF27WIN2.js";export{TimeSeriesChart}from"../chunk-P5TSGXL4.js";export{DEFAULT_FLOW_CHART_LABELS,FlowChart}from"../chunk-LFUXWZV7.js";export{FLOW_LAYOUT,FLOW_SPEC_LIMITS,layoutFlow,parseFlowSpec}from"../chunk-FAERBT6Y.js";export{ChartBrush}from"../chunk-SAMPXZF3.js";export{ChartDot}from"../chunk-CK2YOGUS.js";export{ChartFrame}from"../chunk-A6TOHNJY.js";export{arcPath,areaBetween,areaFrom,bumpPath,curvePath,linearPath,monotonePath,polygonPoints,splinePath,stepPath}from"../chunk-VFC6QUEN.js";export{ColumnChart}from"../chunk-AQVPWUJ3.js";export{ChartDefs,MOTION,dashFor,fillFor,fillId,glowId,groundId,maskId,stagger}from"../chunk-465RRWBY.js";export{ChartSkeleton}from"../chunk-MEFB2KGF.js";export{ChartHighlightProvider,autoHighlightIndex,highlightOpacity,useHighlight}from"../chunk-CNYAHYE6.js";export{ImageAnnotator_default as ImageAnnotator}from"../chunk-TDUOBP55.js";import"../chunk-KNUR2UEG.js";export{NEXT_CHUNK_PATH_PREFIX,STALE_CHUNK_RELOAD_COOLDOWN_MS,STALE_CHUNK_RELOAD_KEY,VITE_PRELOAD_ERROR_EVENT,installStaleChunkReload,isStaleChunkError}from"../chunk-JDCM2VHG.js";export{Result}from"../chunk-PSVGB7KT.js";import"../chunk-YI4T5I5D.js";export{ALT,ALT_SHIFT_D,ALT_SHIFT_E,ALT_SHIFT_N,CMD_A,CMD_DOT,CMD_ENTER,CMD_K,CMD_S,ENTER,Kbd,MOD,SHIFT,isMac}from"../chunk-TTD2M6RF.js";import"../chunk-5A7MWTXX.js";export{ConfirmProvider,confirm,confirmDestructive,prompt,useConfirm}from"../chunk-JRKD7SD3.js";export{Dialog}from"../chunk-5RCKE4X2.js";import"../chunk-EIFNESXS.js";export{ItemCount}from"../chunk-PO2KNVCC.js";import"../chunk-CJ4OEY3T.js";import"../chunk-5QHNDAZ6.js";import"../chunk-TEQ5ZPAL.js";import"../chunk-VWGWZY7A.js";import"../chunk-DBQNYJZ6.js";export{ColoredBadge}from"../chunk-L2WQOJ3T.js";export{CONTROL_HEIGHTS,ROW_HEIGHTS,SPACING_ROLES,SPACING_SCALE,isSpacingStep}from"../chunk-5VJVEKVM.js";export{parseOption}from"../chunk-YPXONNBV.js";import"../chunk-4PJFL26P.js";import"../chunk-2QY5BJLA.js";export{useIsMobile}from"../chunk-UGTRSRIW.js";export{ShellPrefsProvider,useLocalStoragePrefs,useShellPrefs}from"../chunk-POBVGDZP.js";import"../chunk-F3ZOO23R.js";export{VERSION}from"../chunk-GG2UON56.js";export{DropdownMenu}from"../chunk-NJY4HPNB.js";import"../chunk-PM6HY5BH.js";export{useFocusTrap,useScrollLock}from"../chunk-DWGYC7OD.js";export{IconButton_default as IconButton}from"../chunk-APFDZ2HG.js";export{GROUP_COLORS,GROUP_COLORS_SOLID,StatusBadge,StatusBadgeProvider,groupColors,statusLabel,useStatusLabel}from"../chunk-ABIWAS5K.js";export{PopupMenu,PopupMenuDivider,PopupMenuItem,PopupMenuLabel,PopupSubmenu}from"../chunk-P56YLT73.js";import"../chunk-URHGHXDN.js";export{MENU_ON_MEDIA_ATTR,leavesContextMenuAlone}from"../chunk-5QFPTDQF.js";export{Button_default as Button}from"../chunk-A4ROXNUF.js";import"../chunk-TSZPGDU3.js";export{Icon}from"../chunk-ISVODSRP.js";export{activeIconSet,iconSets,iconsVersion,registerIconSet,registerIcons,resolveIcon,setDefaultIconSet,setIconSet,subscribeIcons}from"../chunk-J75ZT2JQ.js";export{LoadingSpinner,SpinnerRing}from"../chunk-R2VKEMZH.js";import"../chunk-BWJZTHZ6.js";import"../chunk-FAPZFMS3.js";export{Tooltip}from"../chunk-CIZAUBWA.js";export{OVERLAY_OPEN_EVENT,dismissPopups}from"../chunk-PGN5ME7B.js";import"../chunk-5QRHQCRG.js";export{Z_LAYERS}from"../chunk-62LW225J.js";export{MENU_MAX_HEIGHT,POPUP_MAX_WIDTH,placeMenu,popupBounds,useDropdownPosition}from"../chunk-TAHHZGRH.js";import"../chunk-KEFNQEXZ.js";import"../chunk-PU2GJVMG.js";import"../chunk-3FININUU.js";export{setShellApiClient}from"../chunk-STKJA4PV.js";export{FitFrame,fitBoxScale,fitFrameStyle,fitScale}from"../chunk-M6UKCZHT.js";export{UNDOABLE_MS,toast_default as toast}from"../chunk-I2NVBDKH.js";export{buttonClasses,iconButtonClasses}from"../chunk-UQYNPYF4.js";import"../chunk-MRJKZWWV.js";export{BoxPlotChart}from"../chunk-P234FPKJ.js";export{CandlestickChart}from"../chunk-BEXFMSNK.js";export{CartesianPlot}from"../chunk-S4RD6UJU.js";import"../chunk-LLSGIMLG.js";export{angleScale,bandScale,binValues,ladderScale,linearScale,logScale,niceAxis,niceMax,radiusScale}from"../chunk-2JWPNR2U.js";export{ChartTooltip}from"../chunk-WDQI3FV6.js";export{CHART_INK,SERIES_SLOT_COUNT,SERIES_VARS,STATUS_VARS,assignSeriesSlots,resolveSeriesColor,resolveSeriesColorWithin,seriesColor,toggleSeriesSlot}from"../chunk-TZFACUMR.js";export{registerModalEscapeInterceptor}from"../chunk-TWVUQUUD.js";export{GLASS_DIVIDER,glassStyle,solidSurfaceStyle}from"../chunk-5FYDNH4Y.js";import"../chunk-LNXBTK7Q.js";export{usePlotWidth}from"../chunk-MAFUXCPZ.js";export{DEFAULT_SHELL_STRINGS,ShellStringsProvider,useShellLocale,useShellStrings}from"../chunk-NRHG4R2Q.js";import"../chunk-C3QOHMR6.js";
|
|
2
|
+
import"../chunk-SSAYFELC.js";export{FormLayoutPage}from"../chunk-KTI4ZJVX.js";export{GalleryTemplate}from"../chunk-5OXQ5M5S.js";export{ACCENT_ROLES,COLOUR_ROLES,FLAT_STATUS_ROLES,IDENTITY_ROLES,NEUTRAL_ROLES,SCRIM_ROLES,STATUS_GROUPS,STATUS_ROLES}from"../chunk-VVJIKS47.js";export{ELEVATION_LEVELS,RADIUS_ROLES}from"../chunk-4MVRSCQE.js";export{AuthScreen}from"../chunk-YXMXATYP.js";export{ChatTemplate}from"../chunk-FQ3SYDKI.js";export{CheckoutTemplate}from"../chunk-A3RD7AQ2.js";export{DashboardTemplate}from"../chunk-62UNBUTU.js";export{DataTablePage}from"../chunk-ZVKUOJNS.js";export{EmailTemplate}from"../chunk-QJ3X2PHY.js";export{ErrorBoundary}from"../chunk-ASNRA3ZL.js";export{ErrorPage}from"../chunk-6NXPOZ6X.js";export{useTransferProgress}from"../chunk-QHOEMRR7.js";export{Tabs,tabButtonId,tabPanelId}from"../chunk-EJMCK7E3.js";export{Paragraph,Text,Title}from"../chunk-366URRSE.js";export{TimeAgo}from"../chunk-DV6TUXCZ.js";export{TopNav}from"../chunk-FHTL7ZZR.js";export{Skeleton}from"../chunk-4Z62SEA5.js";export{ListRow,SortableList}from"../chunk-5LG6TOV6.js";export{Grid,Inline,Stack}from"../chunk-3RPER7VH.js";export{Statistic}from"../chunk-R3BSWWGB.js";export{Stepper}from"../chunk-KTO427N3.js";export{SettingReset}from"../chunk-INQQUAIO.js";export{SettingRow}from"../chunk-LRMDLZMM.js";export{SidebarActionButton}from"../chunk-KMTCYDJH.js";export{SidebarLayout}from"../chunk-FUUUPTVN.js";export{SidebarGroupLabel,SidebarNavGroup,SidebarNavItem,SidebarSection}from"../chunk-JIHDUZJZ.js";import"../chunk-QWK6DRSN.js";export{MetricBar}from"../chunk-PLESHI3E.js";export{isSeverityTone,severityOf}from"../chunk-TZFNWAED.js";export{MetricBarLegend}from"../chunk-VTCMO3K7.js";import"../chunk-URBCGEXG.js";export{MilestoneTimeline}from"../chunk-E57C7NBA.js";export{PageHeader}from"../chunk-3EYJ4G7L.js";export{POST_PRODUCTION_STATUSES,ProductionTimeline,STAGES,calcOverall,calcReportOverall,useProductionTimeline}from"../chunk-KE7P74XM.js";import"../chunk-S4Z657L6.js";export{TimelineTrack}from"../chunk-Q7FPGOUY.js";export{fmtSliderDate,toDayMs}from"../chunk-5CFERCYW.js";export{ResizeHandle}from"../chunk-WNHDYTTI.js";export{HelpCenter}from"../chunk-U7PA4KNZ.js";export{IconRail,IconRailButton}from"../chunk-SJUEGYT2.js";import"../chunk-FQEALPZJ.js";export{ALT,ALT_SHIFT_D,ALT_SHIFT_E,ALT_SHIFT_N,CMD_A,CMD_DOT,CMD_ENTER,CMD_K,CMD_S,ENTER,Kbd,MOD,SHIFT,isMac}from"../chunk-TTD2M6RF.js";export{LanguagePanel,LanguageSelect,languageSelectWidth}from"../chunk-CHWZGSYG.js";export{EditableGrid}from"../chunk-YGNJIOOH.js";export{EmptyValue}from"../chunk-HNQPF5QZ.js";export{FloatingBar}from"../chunk-WSQ73CRR.js";export{GlobalSearch,openGlobalSearch}from"../chunk-HU5FTTW2.js";export{pushRecent as pushRecentSearch,sanitizeRecent as sanitizeRecentSearches}from"../chunk-HGOWQO63.js";export{ContainerFillChart}from"../chunk-BL347U3N.js";export{CountBadge}from"../chunk-PFOTEDSQ.js";export{Accordion,AccordionBody,AccordionHeading}from"../chunk-3BQMICGG.js";export{APP_UPDATE_POLL_MS,AppUpdateBanner,useAppUpdate}from"../chunk-QSFQTMWV.js";export{BudgetBar,budgetState}from"../chunk-7B6JPNOD.js";export{Card,StatCard}from"../chunk-RKSCB5BJ.js";export{ENGLISH,SHELL_LANGUAGE_STORAGE_KEY,ShellLanguageProvider,matchShellLanguage,readSavedShellLanguage,resolveShellLanguage,saveShellLanguage,useShellLanguage}from"../chunk-GKYGPCGL.js";export{ICON_NAMES,isIconName}from"../chunk-3C7JKJGL.js";export{CORNERS,CORNERS_FOR_THEME,applyCorners,applyIconSet,applyThemePrefs,cornersFor,resolveCorners,resolveTheme,useTheme}from"../chunk-4K32E3AO.js";export{ICON_SET_FOR_THEME,THEME_ICON_SETS,iconSetFor,loadIconSet}from"../chunk-VQCKMT5F.js";export{BRAND_ICON_NAMES,isBrandIconName}from"../chunk-RQGLDRRF.js";export{BRAND_MAX_HEIGHT,BRAND_MIN_HEIGHT_PX,brandBox}from"../chunk-64ACCUNN.js";export{useDebouncedValue}from"../chunk-SLGT5WPJ.js";export{useRootIsDark}from"../chunk-UPXDDO3U.js";export{WidthsBar}from"../chunk-KIIZNION.js";export{COLUMN_COUNT_MAX,COLUMN_COUNT_WIDTHS,COLUMN_SHARES_EQUAL,COLUMN_SHARE_MIN,columnSharesWidths,resolveColumnShares,resolveColumnWidths}from"../chunk-PLGJOHEG.js";export{Snippet}from"../chunk-QSOBETAI.js";export{SplitButton_default as SplitButton}from"../chunk-R6YVKP6D.js";export{Switch_default as Switch}from"../chunk-M3R4C3A6.js";export{TagInput}from"../chunk-B36ZROD7.js";export{TextToolbar,textToolbarRows,textToolbarWindowColumns}from"../chunk-QXEZBS3H.js";export{TEXT_ALIGNS,TEXT_ALIGN_FIT,TEXT_ALIGN_ICONS,textAlignFit,textAlignOptions,textAlignWords}from"../chunk-72UHB4JU.js";export{Textarea_default as Textarea}from"../chunk-PB7G6CJ7.js";export{TileButton_default as TileButton}from"../chunk-H2R4SNNO.js";export{TimePicker_default as TimePicker}from"../chunk-ZRWZHWKI.js";export{RadioGroup}from"../chunk-32VV2J22.js";export{SearchInput_default as SearchInput}from"../chunk-AKEED2BC.js";export{ShowWhen}from"../chunk-YEM4KYCW.js";export{SidesEachToggle,SidesInput,sidesStartEach}from"../chunk-V62FEHS4.js";export{Slider,SliderGroup}from"../chunk-RIA6KKIB.js";export{MEDIA_FILES_DRAG_TYPE,MEDIA_FILE_DRAG_TYPE,MEDIA_FOLDER_DRAG_TYPE,MediaLibrary,readMediaFileDrag}from"../chunk-E4WVF6AS.js";export{Tree,TreeEmptySlot,TreeGroup,TreeGroupLabel,TreeRow,TreeSeam}from"../chunk-BTMZ5MUY.js";import"../chunk-5B7CLXHC.js";export{ImageLightbox,lightboxKind}from"../chunk-MQNSKFZY.js";export{LIGHTBOX_PICTURE_FIT,ZoomableImage}from"../chunk-CGUMJZUB.js";export{MarqueeBox}from"../chunk-IC72MGON.js";export{Drawer}from"../chunk-DEV3ZHPP.js";export{EmptyState}from"../chunk-W3454ZES.js";export{DescriptionList}from"../chunk-SACUSHVN.js";export{Breadcrumbs}from"../chunk-WREUA43Q.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-UFJR63AO.js";export{mediaMoveItems,mediaMoveSubmenu,useMediaMoveItems}from"../chunk-GRAFJD3L.js";export{RenameField}from"../chunk-OK2J6WSC.js";export{FULL_BADGE_TILE_PX,MediaUploadGrid}from"../chunk-B4Y5NGHR.js";export{MediaUsedInList}from"../chunk-EULBBS5L.js";export{NumericKeypad}from"../chunk-KERCZSIA.js";export{MAX_FRACTION_DIGITS,appendKey,backspace}from"../chunk-VEPVOHCV.js";export{PICTURE_TILES_COLUMNS_VAR,PictureTiles}from"../chunk-OHWP24DL.js";export{PositionInput}from"../chunk-YEDAXZYO.js";export{Radio_default as Radio}from"../chunk-NI5FXWK5.js";export{LinkPicker,TextLinkField}from"../chunk-OHPDB4UN.js";export{SearchableSelect}from"../chunk-DVKOVZJ2.js";export{NativeSelect,Select_default as Select}from"../chunk-W7HTHKN2.js";import"../chunk-EO5RLFRX.js";import"../chunk-GML6FVPA.js";export{Label,labelClasses}from"../chunk-EQKUFYX6.js";export{CornersInput}from"../chunk-GUOAPXUY.js";export{DatePicker_default as DatePicker}from"../chunk-GGNQEZ2D.js";export{DateRangePicker,toISODate}from"../chunk-S6C7X6CR.js";export{DateTimePicker_default as DateTimePicker}from"../chunk-ROYHU3E5.js";export{DisplayChips}from"../chunk-52RSW6TO.js";export{FilePicker_default as FilePicker}from"../chunk-QE2F4YQQ.js";export{FormErrorSummary}from"../chunk-UDJPSHVI.js";export{AlignmentGrid}from"../chunk-VB4ZPIZF.js";export{BorderInput,borderSides,borderStartEach}from"../chunk-4NTAZLT3.js";export{IconPicker}from"../chunk-QYOIS4BN.js";export{BrandAssetEditor}from"../chunk-VHBRVW5O.js";export{MediaUploadField}from"../chunk-KJ4CHRRC.js";export{ImageFocusPoint}from"../chunk-CUJ537IY.js";export{FormField}from"../chunk-6KBDNYRW.js";export{BrandMark,resolveBrandMarkTreatment}from"../chunk-MI67DI3H.js";export{Calendar}from"../chunk-PPHGBEJA.js";export{ColorPicker,ColorPickerPanel,ColorSwatch,HexInput,colorFill,colorSwatchClasses}from"../chunk-PCNFY6EK.js";export{Popover}from"../chunk-345FP3IX.js";export{InputNumber_default as InputNumber}from"../chunk-TEYG2W7A.js";export{UnitMenu}from"../chunk-4MDSZSLC.js";export{WidestLabel}from"../chunk-X3LMTOMA.js";export{useSettingAuto,useSettingRowName}from"../chunk-2NMW66P5.js";export{statusColumn}from"../chunk-QLK2NCXK.js";export{BORDER_WIDTHS,FONT_WEIGHTS,MOTION_DURATIONS,TYPE_SCALE}from"../chunk-LH7IKIGE.js";import"../chunk-UVCMV2TL.js";export{useSort}from"../chunk-22SVN2ZM.js";export{slugify}from"../chunk-24AL3CDS.js";export{ENTRANCE_ATTR,ENTRANCE_FROM,ENTRANCE_FROM_ATTR,ENTRANCE_FROM_DEFAULT,ENTRANCE_KINDS,ENTRANCE_KINDS_WITH_FROM,ENTRANCE_STATE_ATTR,armEntrance,entranceAttrs,playEntrance,readEntrance}from"../chunk-YYGA4Y6E.js";export{HOVER_MOTION,MOTION_EASING,MOTION_GROUPS,MOTION_TIMING,motionSeconds,rotateDegrees}from"../chunk-AIJ3G6BD.js";export{hexWithAlpha,mixHex,rgbToHex}from"../chunk-CJSZW3OS.js";export{addShowWhenFacts,isShown,lazyShowWhenContext,showWhenFactReaders,showWhenFactsContext,showWhenOf,shownForOption,truthy,withRowRules,withRowsShownWhen,withShowWhen,withShowWhenFacts}from"../chunk-HCP7WOAL.js";export{gridColumnCount}from"../chunk-VNNVG4NR.js";export{BORDER_LINE_STYLES}from"../chunk-NOMWJTN2.js";export{FOCAL_DEFAULT,FOCAL_NUDGE_COARSE,FOCAL_NUDGE_STEP,focalFromRect,formatFocal,nudgeFocal,parseFocal}from"../chunk-25RR3GQW.js";export{contrastRatio,hexToHsv,hexToRgb,hsvToHex,parseHexColor,readableInk,relativeLuminance}from"../chunk-S6OB6HJB.js";export{DataTable}from"../chunk-5Y2JZL3I.js";export{EntityList}from"../chunk-NM7U42KL.js";import"../chunk-XYVFJLAU.js";export{ResizableTable}from"../chunk-TXGVSWH6.js";export{useClickOutside}from"../chunk-SI26KESU.js";export{useColumnConfig}from"../chunk-XGEN76DG.js";import"../chunk-ULJQYXHB.js";export{useTableNav}from"../chunk-ATMJ5ZPK.js";export{escapeHtml}from"../chunk-G6DKCCWH.js";export{Checkbox_default as Checkbox}from"../chunk-CGZBDI6C.js";export{Gantt}from"../chunk-JGN27L4Q.js";export{Segmented}from"../chunk-TALQMTCE.js";import"../chunk-EFKJLUYP.js";export{Kanban}from"../chunk-MXRF5YVN.js";export{ListFooter}from"../chunk-U73K3ICC.js";export{ListLoadError}from"../chunk-LGVVXYW7.js";export{ListToolbar}from"../chunk-C75ICYHF.js";export{Pagination}from"../chunk-Q2RNFBYS.js";export{PortalBrandingProvider,resolvePortalBrandAsset,usePortalBranding}from"../chunk-ACYYVK6G.js";export{TreemapChart}from"../chunk-PRN2QDX6.js";export{squarify}from"../chunk-46BYGPGD.js";export{WaterfallChart}from"../chunk-WCAABJEV.js";export{RangeChart}from"../chunk-Q7CM4UDG.js";export{RankedBars}from"../chunk-53HHYEN4.js";export{SankeyChart}from"../chunk-R72SBGYR.js";export{SCATTER_SERIES_CAP,ScatterChart}from"../chunk-PPI4WJ3V.js";export{StatTile}from"../chunk-XX34ZFYB.js";export{Sparkline}from"../chunk-CKCDGSTC.js";export{SunburstChart}from"../chunk-3H476JWK.js";export{FunnelChart}from"../chunk-QZ2XRFDP.js";export{HeatmapChart}from"../chunk-FBI3XJWH.js";export{HistogramChart}from"../chunk-N64YAF5N.js";export{Meter}from"../chunk-MMA3WTF2.js";export{PieChart}from"../chunk-6EGZ4PV4.js";export{RADAR_SERIES_CAP,RadarChart}from"../chunk-FGP2IOFN.js";export{RadialBarChart}from"../chunk-OOND66P2.js";export{ChordChart}from"../chunk-35Q7ZMQD.js";import"../chunk-RTZFWH5U.js";export{StepChain,StepChainItem}from"../chunk-Z2Z653OO.js";export{Markdown,Markdown as MarkdownLite,plainCell,tableToCsv}from"../chunk-3AVXNZY5.js";export{Divider}from"../chunk-DFOFEBYX.js";export{Avatar,AvatarGroup}from"../chunk-SCNQK5NF.js";export{ContextMenu,useContextMenu}from"../chunk-MF7OELXP.js";export{Banner}from"../chunk-OSMRYND3.js";import"../chunk-UJUTS6LJ.js";export{isSafeLinkHref}from"../chunk-Z5TE3MEG.js";export{AttachButton,AttachmentDropZone,AttachmentList,ComposerAttachments,PaperclipGlyph}from"../chunk-UYM7562M.js";export{Input_default as Input}from"../chunk-D7MRZZVV.js";export{mediaFileName}from"../chunk-TAIH2VIW.js";export{TransferProgress}from"../chunk-TAB3K2WF.js";export{INPUT_BASE,INPUT_SIZES,PLACEHOLDER_INK,inputClasses}from"../chunk-AYZY3YNC.js";export{FileIntakeAlert,acceptsFile,useFileIntake}from"../chunk-TNGIXSTM.js";export{CHART_SPEC_LIMITS,parseChartSpec}from"../chunk-CR7T435F.js";export{SpecChart}from"../chunk-CMEPDSYB.js";export{currencyDecimals,currencySymbol,formatBytes,formatMoney,setCurrencyFormats,timeAgo}from"../chunk-OJI4ROSD.js";export{DATE_FORMAT_OPTIONS,TZ_AUTO,dayKeyInZone,firstDayOfWeek,formatDate,formatDateTime,formatTime,getUserDateFormat,getUserTimezone,instantOnDayKey,knownZone,setUserDateFormat,setUserTimezone,syncTimezoneFromProfile,userToday,userZone}from"../chunk-NHKT5IH6.js";export{EMPTY_VALUE}from"../chunk-36BRD5J3.js";export{DAY_MS,fromDateKey,toDateKey}from"../chunk-JRQMX4PK.js";import"../chunk-LF27WIN2.js";export{TimeSeriesChart}from"../chunk-P5TSGXL4.js";export{DEFAULT_FLOW_CHART_LABELS,FlowChart}from"../chunk-LFUXWZV7.js";export{FLOW_LAYOUT,FLOW_SPEC_LIMITS,layoutFlow,parseFlowSpec}from"../chunk-FAERBT6Y.js";export{ChartBrush}from"../chunk-SAMPXZF3.js";export{ChartDot}from"../chunk-CK2YOGUS.js";export{ChartFrame}from"../chunk-A6TOHNJY.js";export{arcPath,areaBetween,areaFrom,bumpPath,curvePath,linearPath,monotonePath,polygonPoints,splinePath,stepPath}from"../chunk-VFC6QUEN.js";export{ColumnChart}from"../chunk-AQVPWUJ3.js";export{ChartDefs,MOTION,dashFor,fillFor,fillId,glowId,groundId,maskId,stagger}from"../chunk-465RRWBY.js";export{ChartSkeleton}from"../chunk-MEFB2KGF.js";export{ChartHighlightProvider,autoHighlightIndex,highlightOpacity,useHighlight}from"../chunk-CNYAHYE6.js";export{ImageAnnotator_default as ImageAnnotator}from"../chunk-WGDVYCQX.js";import"../chunk-KNUR2UEG.js";export{NEXT_CHUNK_PATH_PREFIX,STALE_CHUNK_RELOAD_COOLDOWN_MS,STALE_CHUNK_RELOAD_KEY,VITE_PRELOAD_ERROR_EVENT,installStaleChunkReload,isStaleChunkError}from"../chunk-JDCM2VHG.js";export{Result}from"../chunk-PSVGB7KT.js";import"../chunk-YI4T5I5D.js";import"../chunk-5A7MWTXX.js";export{ConfirmProvider,confirm,confirmDestructive,prompt,useConfirm}from"../chunk-JRKD7SD3.js";export{Dialog}from"../chunk-5RCKE4X2.js";import"../chunk-EIFNESXS.js";export{ItemCount}from"../chunk-PO2KNVCC.js";import"../chunk-CJ4OEY3T.js";import"../chunk-5QHNDAZ6.js";import"../chunk-TEQ5ZPAL.js";import"../chunk-VWGWZY7A.js";import"../chunk-DBQNYJZ6.js";export{ColoredBadge}from"../chunk-L2WQOJ3T.js";export{CONTROL_HEIGHTS,ROW_HEIGHTS,SPACING_ROLES,SPACING_SCALE,isSpacingStep}from"../chunk-5VJVEKVM.js";export{parseOption}from"../chunk-YPXONNBV.js";import"../chunk-4PJFL26P.js";import"../chunk-2QY5BJLA.js";export{useIsMobile}from"../chunk-UGTRSRIW.js";export{ShellPrefsProvider,useLocalStoragePrefs,useShellPrefs}from"../chunk-POBVGDZP.js";import"../chunk-F3ZOO23R.js";export{VERSION}from"../chunk-6FOLK4HD.js";export{DropdownMenu}from"../chunk-NJY4HPNB.js";import"../chunk-PM6HY5BH.js";export{useFocusTrap,useScrollLock}from"../chunk-DWGYC7OD.js";export{IconButton_default as IconButton}from"../chunk-APFDZ2HG.js";export{GROUP_COLORS,GROUP_COLORS_SOLID,StatusBadge,StatusBadgeProvider,groupColors,statusLabel,useStatusLabel}from"../chunk-ABIWAS5K.js";export{PopupMenu,PopupMenuDivider,PopupMenuItem,PopupMenuLabel,PopupSubmenu}from"../chunk-P56YLT73.js";import"../chunk-URHGHXDN.js";export{MENU_ON_MEDIA_ATTR,leavesContextMenuAlone}from"../chunk-5QFPTDQF.js";export{Button_default as Button}from"../chunk-A4ROXNUF.js";import"../chunk-TSZPGDU3.js";export{Icon}from"../chunk-ISVODSRP.js";export{activeIconSet,iconSets,iconsVersion,registerIconSet,registerIcons,resolveIcon,setDefaultIconSet,setIconSet,subscribeIcons}from"../chunk-J75ZT2JQ.js";export{LoadingSpinner,SpinnerRing}from"../chunk-R2VKEMZH.js";import"../chunk-BWJZTHZ6.js";import"../chunk-FAPZFMS3.js";export{Tooltip}from"../chunk-CIZAUBWA.js";export{OVERLAY_OPEN_EVENT,dismissPopups}from"../chunk-PGN5ME7B.js";import"../chunk-5QRHQCRG.js";export{Z_LAYERS}from"../chunk-62LW225J.js";export{MENU_MAX_HEIGHT,POPUP_MAX_WIDTH,placeMenu,popupBounds,useDropdownPosition}from"../chunk-TAHHZGRH.js";import"../chunk-KEFNQEXZ.js";import"../chunk-PU2GJVMG.js";import"../chunk-3FININUU.js";export{setShellApiClient}from"../chunk-STKJA4PV.js";import"../chunk-GZ4AMXEU.js";export{FitFrame,fitBoxScale,fitFrameStyle,fitScale}from"../chunk-M6UKCZHT.js";import"../chunk-3AUPCKBR.js";export{UNDOABLE_MS,toast_default as toast}from"../chunk-I2NVBDKH.js";export{buttonClasses,iconButtonClasses}from"../chunk-UQYNPYF4.js";import"../chunk-MRJKZWWV.js";export{BoxPlotChart}from"../chunk-P234FPKJ.js";export{CandlestickChart}from"../chunk-BEXFMSNK.js";export{CartesianPlot}from"../chunk-S4RD6UJU.js";import"../chunk-LLSGIMLG.js";export{angleScale,bandScale,binValues,ladderScale,linearScale,logScale,niceAxis,niceMax,radiusScale}from"../chunk-2JWPNR2U.js";export{ChartTooltip}from"../chunk-WDQI3FV6.js";export{CHART_INK,SERIES_SLOT_COUNT,SERIES_VARS,STATUS_VARS,assignSeriesSlots,resolveSeriesColor,resolveSeriesColorWithin,seriesColor,toggleSeriesSlot}from"../chunk-TZFACUMR.js";export{registerModalEscapeInterceptor}from"../chunk-TWVUQUUD.js";export{GLASS_DIVIDER,glassStyle,solidSurfaceStyle}from"../chunk-5FYDNH4Y.js";import"../chunk-LNXBTK7Q.js";export{usePlotWidth}from"../chunk-MAFUXCPZ.js";export{DEFAULT_SHELL_STRINGS,ShellStringsProvider,useShellLocale,useShellStrings}from"../chunk-NRHG4R2Q.js";import"../chunk-C3QOHMR6.js";
|
package/dist/value-index.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"schema":1,"package":"efficient-shell","version":"15.
|
|
1
|
+
{"schema":1,"package":"efficient-shell","version":"15.8.0","entries":[{"entry":"efficient-shell","name":"ACCENT_ROLES","hash":"bd7fd9e5b26249a998b2"},{"entry":"efficient-shell","name":"BORDER_WIDTHS","hash":"78a506e44a654d5b22dd"},{"entry":"efficient-shell","name":"BRAND_ICON_NAMES","hash":"9f47dc20f8029a420b70"},{"entry":"efficient-shell","name":"CHART_INK","hash":"3f4d30da8161976c516b"},{"entry":"efficient-shell","name":"CHART_SPEC_LIMITS","hash":"301b29dfb507675e845d"},{"entry":"efficient-shell","name":"COLUMN_COUNT_WIDTHS","hash":"287a95f277695d0635fe"},{"entry":"efficient-shell","name":"COLUMN_SHARES_EQUAL","hash":"79cad7d332efce44435c"},{"entry":"efficient-shell","name":"CONTROL_HEIGHTS","hash":"26fdd7e9bd83bfe00f5e"},{"entry":"efficient-shell","name":"DATE_FORMAT_OPTIONS","hash":"25598ad7ed2742e39f98"},{"entry":"efficient-shell","name":"DEFAULT_FLOW_CHART_LABELS","hash":"56e77e95b8c1a6839984"},{"entry":"efficient-shell","name":"DEV_BANNER_TEXT","hash":"6f7e89424a7f413a139f"},{"entry":"efficient-shell","name":"ENGLISH","hash":"121b17f8146326744275"},{"entry":"efficient-shell","name":"ENTRANCE_ATTR","hash":"fc79fde5667e4be907a6"},{"entry":"efficient-shell","name":"ENTRANCE_FROM_ATTR","hash":"e5753ff44b8f14537d40"},{"entry":"efficient-shell","name":"ENTRANCE_STATE_ATTR","hash":"6feecdb8e8c4d673cd25"},{"entry":"efficient-shell","name":"FLAT_STATUS_ROLES","hash":"38f538e0036062cc3f1b"},{"entry":"efficient-shell","name":"FLOW_LAYOUT","hash":"6355c496cbbe32189091"},{"entry":"efficient-shell","name":"FLOW_SPEC_LIMITS","hash":"31add05b65bd74b7d006"},{"entry":"efficient-shell","name":"FONT_WEIGHTS","hash":"52b4a2a4070f79ac24c3"},{"entry":"efficient-shell","name":"GLASS_DIVIDER","hash":"4abe484f8492531e6e01"},{"entry":"efficient-shell","name":"GLASS_INPUT_BG","hash":"2cc213cc21bdcbe5ee79"},{"entry":"efficient-shell","name":"GROUP_COLORS","hash":"7aabea256a050c690c98"},{"entry":"efficient-shell","name":"GROUP_COLORS_SOLID","hash":"a620712d032b782085db"},{"entry":"efficient-shell","name":"HOVER_MOTION","hash":"af0a80b3c85e3fbf85d8"},{"entry":"efficient-shell","name":"ICON_NAMES","hash":"cfa9f4558fa1a147302b"},{"entry":"efficient-shell","name":"ICON_SET_FOR_THEME","hash":"8103453b2b0aa00255a3"},{"entry":"efficient-shell","name":"IDENTITY_ROLES","hash":"21f80df1c4baff623350"},{"entry":"efficient-shell","name":"INPUT_SIZES","hash":"c5d43314d24fd6735f5c"},{"entry":"efficient-shell","name":"LIGHTBOX_PICTURE_FIT","hash":"a93a7592a4af090e56b8"},{"entry":"efficient-shell","name":"MARQUEE_IGNORE","hash":"f8ed1942eb85570db2f0"},{"entry":"efficient-shell","name":"MEDIA_FILES_DRAG_TYPE","hash":"724ea23a8bdd3e839308"},{"entry":"efficient-shell","name":"MEDIA_FILE_DRAG_TYPE","hash":"4c811c3891dfb852805d"},{"entry":"efficient-shell","name":"MEDIA_FOLDER_DRAG_TYPE","hash":"3bb01ff9a70c4d5f7393"},{"entry":"efficient-shell","name":"MENU_ON_MEDIA_ATTR","hash":"8920dd2122ac10c310af"},{"entry":"efficient-shell","name":"MODAL_SUBMIT_SELECTOR","hash":"d84bdbfd01a8805d95b7"},{"entry":"efficient-shell","name":"MOTION","hash":"afb7e9a03604f388b85d"},{"entry":"efficient-shell","name":"MOTION_EASING","hash":"4789d99f72a99fc71931"},{"entry":"efficient-shell","name":"MOTION_GROUPS","hash":"72eccd969d7845e62f7c"},{"entry":"efficient-shell","name":"NATIVE_MENU_ATTR","hash":"005131ab6b8f236a967e"},{"entry":"efficient-shell","name":"NEUTRAL_ROLES","hash":"e0ffa42a68fdebbc6f4a"},{"entry":"efficient-shell","name":"NEXT_CHUNK_PATH_PREFIX","hash":"09c4a7664b671338c222"},{"entry":"efficient-shell","name":"OVERLAY_OPEN_EVENT","hash":"5029df721a453803dc12"},{"entry":"efficient-shell","name":"PICTURE_TILES_COLUMNS_VAR","hash":"8ff0bf10875ffde65e40"},{"entry":"efficient-shell","name":"PLACEHOLDER_INK","hash":"2df66d0d39e28d3b53e7"},{"entry":"efficient-shell","name":"ROW_HEIGHTS","hash":"ab50f79f754505120192"},{"entry":"efficient-shell","name":"SCRIM_ROLES","hash":"eb89174bfef99154962d"},{"entry":"efficient-shell","name":"SERIES_VARS","hash":"6fb1755e5ee724888d5b"},{"entry":"efficient-shell","name":"SHELL_LANGUAGE_STORAGE_KEY","hash":"6e4367376ca83b903d75"},{"entry":"efficient-shell","name":"SPACING_ROLES","hash":"6a56d2441721d205e749"},{"entry":"efficient-shell","name":"STAGES","hash":"9632e5aae395880146f2"},{"entry":"efficient-shell","name":"STALE_CHUNK_RELOAD_KEY","hash":"68a7205bd9736805ac7f"},{"entry":"efficient-shell","name":"STATUS_VARS","hash":"4f9dd4373172ce6a7d64"},{"entry":"efficient-shell","name":"TEXT_ALIGN_ICONS","hash":"c1a50003c898d5dc6cc7"},{"entry":"efficient-shell","name":"THEME_ICON_SETS","hash":"c04ed577f1f8de5ea01e"},{"entry":"efficient-shell","name":"VITE_PRELOAD_ERROR_EVENT","hash":"dfad33b292b16949faf1"},{"entry":"efficient-shell","name":"Z_LAYERS","hash":"0b590a52752106009d6a"},{"entry":"efficient-shell/ai","name":"DEFAULT_ASSISTANT_CHAT_LABELS","hash":"e021be115baf6c56c0ca"},{"entry":"efficient-shell/ai","name":"ROW_EXTRA_LABELS","hash":"3c2a34facf25ae548f39"},{"entry":"efficient-shell/apps","name":"FILES_OFFICE_EXTENSIONS","hash":"ec322d0793d079446bd9"},{"entry":"efficient-shell/apps","name":"FILES_ROLE_LABELS","hash":"2de2334df77090846b67"},{"entry":"efficient-shell/apps","name":"SPREADSHEET_PREVIEW_UPDATE_EVENT","hash":"834ba753658d2c8d0a31"},{"entry":"efficient-shell/format","name":"ENTRANCE_DELAY_VAR","hash":"8a2f4a1e751ec138bbbf"},{"entry":"efficient-shell/format","name":"ENTRANCE_DURATION_VAR","hash":"ed9dff0a293be26a023e"},{"entry":"efficient-shell/format","name":"HOVER_KINDS","hash":"e2c76e5db09742cb68d9"},{"entry":"efficient-shell/format","name":"PIN_ABOVE_ATTR","hash":"1cd4918b109d8fb8a75a"},{"entry":"efficient-shell/format","name":"PIN_ABOVE_Z_VAR","hash":"da1d8d7520816a38349f"},{"entry":"efficient-shell/format","name":"PIN_ATTR","hash":"90fa72a3274aefa2672f"},{"entry":"efficient-shell/format","name":"PIN_FRAME_ATTR","hash":"7762b6fd5c2094673b82"},{"entry":"efficient-shell/format","name":"PIN_LENGTH_VAR","hash":"0fcd5a46096644382ba1"},{"entry":"efficient-shell/format","name":"PIN_ON_VAR","hash":"727387fbc36cde299ff1"},{"entry":"efficient-shell/format","name":"PIN_OVER_VAR","hash":"ebbc56ad7131eeb2120a"},{"entry":"efficient-shell/format","name":"PIN_POSITION_VAR","hash":"6c45b2190b5524b1b15f"},{"entry":"efficient-shell/format","name":"PIN_STICK_VAR","hash":"b3d4702280b41f24617f"},{"entry":"efficient-shell/format","name":"PIN_TOP_VAR","hash":"093101ff1937dabe4daa"},{"entry":"efficient-shell/format","name":"PIN_TRACK_POSITION_VAR","hash":"1f9df4b27f9f5421fbea"},{"entry":"efficient-shell/format","name":"SCROLL_ATTR","hash":"6f55192d6271f711b399"},{"entry":"efficient-shell/format","name":"SCROLL_EFFECTS","hash":"158d40bf267a46b5a92b"},{"entry":"efficient-shell/format","name":"SCROLL_END_VAR","hash":"c0c679414eb0277fbf63"},{"entry":"efficient-shell/format","name":"SCROLL_ORIGIN_VAR","hash":"0098429747fe503a2242"},{"entry":"efficient-shell/format","name":"SCROLL_PROGRESS_VAR","hash":"72041dc916102bdcc9d8"},{"entry":"efficient-shell/format","name":"SCROLL_START_VAR","hash":"7b65b18fff5c610b4bab"},{"entry":"efficient-shell/format","name":"SCROLL_ZOOM_VAR","hash":"0d8ae643ee6e1790db87"},{"entry":"efficient-shell/icons/efficient","name":"efficientIconMeanings","hash":"8a08f4c0030f8f952668"},{"entry":"efficient-shell/icons/sets","name":"efficientLookNames","hash":"eb8a3af463df1f310f4c"},{"entry":"efficient-shell/map","name":"COMPACT_SHOW","hash":"8e104672613835524e35"},{"entry":"efficient-shell/map","name":"MAPLIBRE_WORKER_FILE","hash":"ea4884f1e1bd66e2cc4e"},{"entry":"efficient-shell/map","name":"MAP_CATEGORIES","hash":"9c7650509b67d02224e3"},{"entry":"efficient-shell/map","name":"MAP_TILE_ORIGIN","hash":"2becdbb36cdfe9f5ef24"},{"entry":"efficient-shell/markup","name":"COLOR_SLOTS","hash":"546d8695bfd3a4168b36"},{"entry":"efficient-shell/markup","name":"MARKUP_TOOLS","hash":"c00656098e6c6de33881"},{"entry":"efficient-shell/markup","name":"MARK_NAMES","hash":"d44aa3e35fd85db3d037"},{"entry":"efficient-shell/markup","name":"STANDARD_MARKUP","hash":"dfb86d96534febeba3e0"},{"entry":"efficient-shell/model-viewer","name":"MODEL_VIEWER_DECODER_ORIGIN","hash":"dee20e1d75b05718f79c"}]}
|
package/dist/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{APP_VERSION,VERSION}from"./chunk-
|
|
1
|
+
export{APP_VERSION,VERSION}from"./chunk-6FOLK4HD.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "efficient-shell",
|
|
3
|
-
"version": "15.
|
|
3
|
+
"version": "15.8.0",
|
|
4
4
|
"description": "Desktop-style React UI shell — windows, taskbar, start menu, sticky notes, frosted glass theming, and bundled apps.",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"author": "Efficient Pty Ltd",
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import{loadAppearance as t,WidgetSettingsModal as e}from"./chunk-HB2PSIVY.js";import{useWidgetSettings as n}from"./chunk-KFVGNKKJ.js";import"./chunk-4LXCCZDM.js";import"./chunk-KNUR2UEG.js";import"./chunk-JDCM2VHG.js";import"./chunk-PSVGB7KT.js";import"./chunk-YI4T5I5D.js";import"./chunk-TTD2M6RF.js";import"./chunk-5A7MWTXX.js";import"./chunk-TJ5YMXVB.js";import"./chunk-JRKD7SD3.js";import"./chunk-5RCKE4X2.js";import"./chunk-EIFNESXS.js";import"./chunk-PO2KNVCC.js";import"./chunk-CJ4OEY3T.js";import"./chunk-5QHNDAZ6.js";import"./chunk-TEQ5ZPAL.js";import"./chunk-VWGWZY7A.js";import"./chunk-DBQNYJZ6.js";import"./chunk-L2WQOJ3T.js";import"./chunk-5VJVEKVM.js";import"./chunk-YPXONNBV.js";import"./chunk-4PJFL26P.js";import"./chunk-2QY5BJLA.js";import"./chunk-UGTRSRIW.js";import"./chunk-POBVGDZP.js";import"./chunk-F3ZOO23R.js";import"./chunk-NJY4HPNB.js";import"./chunk-PM6HY5BH.js";import"./chunk-DWGYC7OD.js";import"./chunk-APFDZ2HG.js";import"./chunk-ABIWAS5K.js";import"./chunk-P56YLT73.js";import"./chunk-URHGHXDN.js";import"./chunk-5QFPTDQF.js";import"./chunk-A4ROXNUF.js";import"./chunk-TSZPGDU3.js";import{Icon as r}from"./chunk-ISVODSRP.js";import"./chunk-J75ZT2JQ.js";import"./chunk-R2VKEMZH.js";import"./chunk-BWJZTHZ6.js";import"./chunk-FAPZFMS3.js";import"./chunk-CIZAUBWA.js";import"./chunk-PGN5ME7B.js";import"./chunk-5QRHQCRG.js";import"./chunk-62LW225J.js";import"./chunk-TAHHZGRH.js";import"./chunk-KEFNQEXZ.js";import"./chunk-PU2GJVMG.js";import"./chunk-3FININUU.js";import"./chunk-STKJA4PV.js";import"./chunk-M6UKCZHT.js";import"./chunk-UQYNPYF4.js";import"./chunk-MRJKZWWV.js";import"./chunk-TWVUQUUD.js";import"./chunk-5FYDNH4Y.js";import"./chunk-LNXBTK7Q.js";import"./chunk-MAFUXCPZ.js";import"./chunk-NRHG4R2Q.js";import"./chunk-C3QOHMR6.js";import{useState as c,useRef as i,useCallback as o,useEffect as s}from"react";import{jsxs as l,Fragment as a,jsx as u}from"react/jsx-runtime";var h="calc_appearance";function m(){const[m,k]=c("0"),[p,d]=c(null),[j,b]=c(null),[g,N]=c(!1),[y,C]=c(""),[x,f]=c([]),[v,T]=c(!1),[$,P]=c(()=>t(h)),[E,F]=c(!1),[D,S]=c($),Z=i(null);n(o(()=>{S({...$}),F(!0)},[$]));const A=o(t=>{C(""),k(e=>g||"0"===e?(N(!1),"."===t?"0.":t):"."===t&&e.includes(".")?e:e+t)},[g]),H=o(()=>{k("0"),d(null),b(null),N(!1)},[]),J=o((t,e,n)=>{switch(n){case"+":return t+e;case"-":return t-e;case"×":return t*e;case"÷":return 0===e?0:t/e;default:return e}},[]),R=o(t=>{const e=parseFloat(m);if(null!==p&&j&&!g){const t=J(p,e,j);k(String(t)),d(t),f(n=>[`${p} ${j} ${e} = ${t}`,...n].slice(0,20))}else d(e);b(t),N(!0)},[m,p,j,g,J]),V=o(()=>{if(null===p||!j)return;const t=parseFloat(m),e=J(p,t,j),n=`${p} ${j} ${t} =`;f(t=>[`${n} ${e}`,...t].slice(0,20)),C(n),k(String(e)),d(null),b(null),N(!0)},[m,p,j,J]),W=o(()=>{k(t=>String(parseFloat(t)/100))},[]),B=o(()=>{k(t=>t.startsWith("-")?t.slice(1):"0"===t?t:"-"+t)},[]);s(()=>{const t=t=>{const e=t.target.tagName;"INPUT"!==e&&"TEXTAREA"!==e&&"SELECT"!==e&&(t.key>="0"&&t.key<="9"?A(t.key):"."===t.key?A("."):"+"===t.key?R("+"):"-"===t.key?R("-"):"*"===t.key?R("×"):"/"===t.key?(t.preventDefault(),R("÷")):"Enter"===t.key||"="===t.key?("Enter"===t.key&&t.target instanceof Node&&Z.current?.contains(t.target)&&t.preventDefault(),V()):"Escape"===t.key?H():"Backspace"===t.key?k(t=>t.length>1?t.slice(0,-1):"0"):"%"===t.key&&W())};return window.addEventListener("keydown",t),()=>window.removeEventListener("keydown",t)},[A,R,V,H,W]);const G="flex items-center justify-center rounded-lg text-sm font-medium transition-colors",U=`${G} bg-white border border-gray-200 text-gray-900 hover:bg-gray-50 active:bg-gray-100`,K=`${G} bg-blue-50 border border-blue-200 text-blue-700 hover:bg-blue-100 active:bg-blue-200`,M=`${G} bg-gray-100 border border-gray-200 text-gray-600 hover:bg-gray-200 active:bg-gray-300`,Q=`${G} bg-blue-600 text-white hover:bg-blue-700 active:bg-blue-800`;/* @__PURE__ */
|
|
2
|
-
return l(a,{children:[
|
|
3
|
-
/* @__PURE__ */l("div",{ref:Z,className:"flex flex-col h-full",style:{opacity:$.activeOpacity/100,backdropFilter:$.activeBlur>0?`blur(${$.activeBlur}px)`:void 0},children:[
|
|
4
|
-
/* @__PURE__ */l("div",{className:"bg-slate-200 rounded-t-lg px-4 py-2 group/display relative flex flex-col justify-end min-h-[120px] border-b border-slate-300",children:[
|
|
5
|
-
/* @__PURE__ */u("div",{className:"flex flex-col justify-end flex-1 overflow-hidden",children:x.slice(0,3).reverse().map((t,e)=>/* @__PURE__ */u("div",{className:"text-2xs text-slate-400 text-right font-mono truncate",children:t},e))}),(y||j&&null!==p)&&/* @__PURE__ */u("div",{className:"text-base text-slate-600 text-right font-mono",children:y||`${p} ${j} ${g?"":m}`}),
|
|
6
|
-
/* @__PURE__ */l("div",{className:"flex items-center gap-2",children:[
|
|
7
|
-
/* @__PURE__ */u("button",{onClick:()=>{navigator.clipboard.writeText(m),T(!0),setTimeout(()=>T(!1),1200)},title:"Copy result",className:"shrink-0 text-slate-300 hover:text-slate-500 transition-colors opacity-0 group-hover/display:opacity-100",children:/* @__PURE__ */u(r,v?{name:"check",className:"h-5 w-5 text-green-500",strokeWidth:2}:{name:"copy",className:"h-5 w-5",strokeWidth:2})}),
|
|
8
|
-
/* @__PURE__ */u("div",{className:"text-right text-4xl font-mono font-bold text-slate-800 truncate flex-1",children:(t=>{const e=parseFloat(t);return isNaN(e)||t.endsWith(".")||t.endsWith(".0")||Math.abs(e)<1e15&&t.length<16?t:e.toExponential(6)})(m)})]})]}),
|
|
9
|
-
/* @__PURE__ */l("div",{className:"grid grid-cols-4 grid-rows-5 gap-2 flex-1 min-h-0 p-2",children:[
|
|
10
|
-
/* @__PURE__ */u("button",{onClick:H,className:M,children:"AC"}),
|
|
11
|
-
/* @__PURE__ */u("button",{onClick:B,className:M,children:"+/−"}),
|
|
12
|
-
/* @__PURE__ */u("button",{onClick:W,className:M,children:"%"}),
|
|
13
|
-
/* @__PURE__ */u("button",{onClick:()=>R("÷"),className:`${K} ${"÷"===j?"ring-2 ring-blue-400":""}`,children:"÷"}),
|
|
14
|
-
/* @__PURE__ */u("button",{onClick:()=>A("7"),className:U,children:"7"}),
|
|
15
|
-
/* @__PURE__ */u("button",{onClick:()=>A("8"),className:U,children:"8"}),
|
|
16
|
-
/* @__PURE__ */u("button",{onClick:()=>A("9"),className:U,children:"9"}),
|
|
17
|
-
/* @__PURE__ */u("button",{onClick:()=>R("×"),className:`${K} ${"×"===j?"ring-2 ring-blue-400":""}`,children:"×"}),
|
|
18
|
-
/* @__PURE__ */u("button",{onClick:()=>A("4"),className:U,children:"4"}),
|
|
19
|
-
/* @__PURE__ */u("button",{onClick:()=>A("5"),className:U,children:"5"}),
|
|
20
|
-
/* @__PURE__ */u("button",{onClick:()=>A("6"),className:U,children:"6"}),
|
|
21
|
-
/* @__PURE__ */u("button",{onClick:()=>R("-"),className:`${K} ${"-"===j?"ring-2 ring-blue-400":""}`,children:"−"}),
|
|
22
|
-
/* @__PURE__ */u("button",{onClick:()=>A("1"),className:U,children:"1"}),
|
|
23
|
-
/* @__PURE__ */u("button",{onClick:()=>A("2"),className:U,children:"2"}),
|
|
24
|
-
/* @__PURE__ */u("button",{onClick:()=>A("3"),className:U,children:"3"}),
|
|
25
|
-
/* @__PURE__ */u("button",{onClick:()=>R("+"),className:`${K} ${"+"===j?"ring-2 ring-blue-400":""}`,children:"+"}),
|
|
26
|
-
/* @__PURE__ */u("button",{onClick:()=>A("0"),className:`${U} col-span-2`,children:"0"}),
|
|
27
|
-
/* @__PURE__ */u("button",{onClick:()=>A("."),className:U,children:"."}),
|
|
28
|
-
/* @__PURE__ */u("button",{onClick:V,className:Q,children:"="})]})]}),
|
|
29
|
-
/* @__PURE__ */u(e,{open:E,onClose:()=>F(!1),title:"Calculator Settings",appearance:D,onAppearanceChange:S,onSave:()=>{P(D),localStorage.setItem(h,JSON.stringify(D)),F(!1)}})]})}export{m as default};
|
package/dist/Notepad-PYOQ3WJS.js
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import{getNumberingConfigs as e}from"./chunk-L7EQ2DJV.js";import{SidebarLayout as t}from"./chunk-POMRPKZO.js";import"./chunk-QWK6DRSN.js";import"./chunk-WNHDYTTI.js";import{timeAgo as r}from"./chunk-OJI4ROSD.js";import"./chunk-NHKT5IH6.js";import"./chunk-36BRD5J3.js";import"./chunk-JRQMX4PK.js";import"./chunk-LF27WIN2.js";import{AboutApp as n}from"./chunk-3BILUDDY.js";import{useWindowManager as o,client_default as i}from"./chunk-KFVGNKKJ.js";import"./chunk-4LXCCZDM.js";import"./chunk-KNUR2UEG.js";import"./chunk-JDCM2VHG.js";import"./chunk-PSVGB7KT.js";import"./chunk-YI4T5I5D.js";import"./chunk-TTD2M6RF.js";import"./chunk-5A7MWTXX.js";import"./chunk-TJ5YMXVB.js";import"./chunk-JRKD7SD3.js";import"./chunk-5RCKE4X2.js";import"./chunk-EIFNESXS.js";import"./chunk-PO2KNVCC.js";import"./chunk-CJ4OEY3T.js";import"./chunk-5QHNDAZ6.js";import"./chunk-TEQ5ZPAL.js";import"./chunk-VWGWZY7A.js";import"./chunk-DBQNYJZ6.js";import"./chunk-L2WQOJ3T.js";import"./chunk-5VJVEKVM.js";import"./chunk-YPXONNBV.js";import"./chunk-4PJFL26P.js";import"./chunk-2QY5BJLA.js";import"./chunk-UGTRSRIW.js";import{useShellPrefs as c}from"./chunk-POBVGDZP.js";import"./chunk-F3ZOO23R.js";import"./chunk-GG2UON56.js";import"./chunk-NJY4HPNB.js";import"./chunk-PM6HY5BH.js";import"./chunk-DWGYC7OD.js";import"./chunk-APFDZ2HG.js";import"./chunk-ABIWAS5K.js";import"./chunk-P56YLT73.js";import"./chunk-URHGHXDN.js";import"./chunk-5QFPTDQF.js";import"./chunk-A4ROXNUF.js";import"./chunk-TSZPGDU3.js";import{Icon as s}from"./chunk-ISVODSRP.js";import"./chunk-J75ZT2JQ.js";import"./chunk-R2VKEMZH.js";import"./chunk-BWJZTHZ6.js";import"./chunk-FAPZFMS3.js";import"./chunk-CIZAUBWA.js";import"./chunk-PGN5ME7B.js";import"./chunk-5QRHQCRG.js";import"./chunk-62LW225J.js";import"./chunk-TAHHZGRH.js";import"./chunk-KEFNQEXZ.js";import"./chunk-PU2GJVMG.js";import"./chunk-3FININUU.js";import"./chunk-STKJA4PV.js";import"./chunk-M6UKCZHT.js";import{toast_default as l}from"./chunk-I2NVBDKH.js";import"./chunk-UQYNPYF4.js";import"./chunk-MRJKZWWV.js";import"./chunk-TWVUQUUD.js";import"./chunk-5FYDNH4Y.js";import"./chunk-LNXBTK7Q.js";import"./chunk-MAFUXCPZ.js";import"./chunk-NRHG4R2Q.js";import"./chunk-C3QOHMR6.js";import{useRef as a,useEffect as p,useState as d,useCallback as m}from"react";import{useQuery as u}from"@tanstack/react-query";import{jsxs as h,Fragment as k,jsx as g}from"react/jsx-runtime";var x=[{key:"yellow",bg:"bg-yellow-100",border:"border-yellow-300",text:"text-yellow-900",dot:"bg-yellow-400"},{key:"blue",bg:"bg-blue-100",border:"border-blue-300",text:"text-blue-900",dot:"bg-blue-400"},{key:"green",bg:"bg-green-100",border:"border-green-300",text:"text-green-900",dot:"bg-green-400"},{key:"pink",bg:"bg-pink-100",border:"border-pink-300",text:"text-pink-900",dot:"bg-pink-400"},{key:"purple",bg:"bg-purple-100",border:"border-purple-300",text:"text-purple-900",dot:"bg-purple-400"},{key:"orange",bg:"bg-orange-100",border:"border-orange-300",text:"text-orange-900",dot:"bg-orange-400"},{key:"white",bg:"bg-white",border:"border-gray-300",text:"text-gray-900",dot:"bg-gray-300"}];var y={sales_order:{entityType:"order",endpoint:"/orders/sales-orders/"},purchase_order:{entityType:"purchase_order",endpoint:"/purchase-orders/"},invoice:{entityType:"invoice",endpoint:"/invoicing/invoices/"},vendor_invoice:{entityType:"vendor_invoice",endpoint:"/invoicing/vendor-invoices/"},shipment:{entityType:"shipment",endpoint:"/shipments/delivery-notes/"},receipt:{entityType:"payment",endpoint:"/invoicing/payments/"},vendor_payment:{entityType:"vendor_payment",endpoint:"/invoicing/vendor-payments/"},vendor_price_sheet:{entityType:"vendor_price_sheet",endpoint:"/pricing/manufacturer-price-sheets/"},client_price_sheet:{entityType:"price_sheet",endpoint:"/pricing/price-sheets/"},qc_report:{entityType:"qc_report",endpoint:"/qc-reports/"},warranty_claim:{entityType:"warranty_claim",endpoint:"/warranty-claims/claims/"},vendor_shipment:{entityType:"vendor_shipment",endpoint:"/shipments/goods-receipts/"}},b=/\[([ xX]?)\]/g;function f(){const{openEntity:f}=o(),{prefs:j,save:N}=c(),{data:v}=u({queryKey:["numbering-configs"],queryFn:()=>e(),retry:!1}),T=a({});p(()=>{if(!v)return;const e={};for(const t of v){const r=y[t.entity_type];if(!r)continue;const n=(t.prefix||"").replace("#","").toUpperCase();if(n&&(e[n]={...r,prefix:t.prefix}),t.alt_prefix){const n=t.alt_prefix.replace("#","").toUpperCase();n&&(e[n]={...r,prefix:t.alt_prefix})}}T.current=e},[v]);const w=j.notepad_notes||[],[D,_]=d(null),[C,P]=d(""),[S,W]=d(""),[K,R]=d("yellow"),[H,J]=d(!1),[O,Z]=d(!1),U=a(null),I=a();p(()=>{if(!D&&w.length>0){const e=w[0];_(e.id),P(e.title),W(e.content),R(e.color)}},[w.length]);const V=m(e=>{N({notepad_notes:e})},[N]),X=m(()=>{if(!D||!H)return;const e=w.map(e=>e.id===D?{...e,title:C,content:S,color:K,updated_at:/* @__PURE__ */(new Date).toISOString()}:e);V(e),J(!1)},[D,H,C,S,K,w,V]);p(()=>{if(H)return I.current&&clearTimeout(I.current),I.current=setTimeout(X,800),()=>{I.current&&clearTimeout(I.current)}},[H,X]),p(()=>()=>{H&&X()},[]);const F=e=>{H&&X(),_(e.id),P(e.title),W(e.content),R(e.color),J(!1),Z(!1)},G=e=>{const t=S.slice(0,e),r=S.slice(e).match(/^\[([ xX]?)\]/);if(!r)return;const n="x"===r[1]||"X"===r[1]?"[ ]":"[x]",o=S.slice(e+r[0].length);W(t+n+o),J(!0)},Q=async(e,t)=>{const r=T.current[e];if(!r)return;const n=`${e}#${t}`;try{const{data:e}=await i.get(r.endpoint,{params:{search:n,page_size:1}}),t=(e?.results??e??[])[0];t?f(r.entityType,t.id,t,n):l.error(`${n} not found`)}catch{l.error(`Failed to look up ${n}`)}},$="Start writing...\n\nTips:\n [] Type [] for a checkbox, click to toggle\n SO#35001 Type XX#NNNNN to link entities (SO, PO, CI, VI, PL, etc.)",M=/* @__PURE__ */h(k,{children:[
|
|
2
|
-
/* @__PURE__ */g("div",{className:"p-2 border-b border-gray-200",children:/* @__PURE__ */h("button",{onClick:()=>{H&&X();const e={id:`note-${Date.now()}-${Math.random().toString(36).slice(2,6)}`,title:"",content:"",color:"yellow",updated_at:/* @__PURE__ */(new Date).toISOString()},t=[e,...w];V(t),_(e.id),P(""),W(""),R("yellow"),J(!1),Z(!0),setTimeout(()=>U.current?.focus(),50)},className:"w-full flex items-center justify-center gap-2 rounded-lg bg-accent-fill text-on-accent px-3 min-h-8 py-1 text-sm font-medium hover:bg-accent-fill-hover transition-colors",children:[
|
|
3
|
-
/* @__PURE__ */g(s,{name:"add",className:"h-4 w-4",strokeWidth:2}),"New Note"]})}),
|
|
4
|
-
/* @__PURE__ */g("div",{className:"flex-1 overflow-y-auto",children:0===w.length?/* @__PURE__ */g("p",{className:"text-sm text-gray-400 text-center py-8 px-4",children:"No notes yet. Create one to get started."}):w.map(e=>{const t=(n=e.color,x.find(e=>e.key===n)||x[0]);var n;/* @__PURE__ */
|
|
5
|
-
return h("button",{onClick:()=>F(e),className:"w-full text-left px-3 py-3 border-b border-line-subtle transition-colors "+(D===e.id?"bg-accent-tint":"hover:bg-row-hover"),children:[
|
|
6
|
-
/* @__PURE__ */h("div",{className:"flex items-center gap-2",children:[
|
|
7
|
-
/* @__PURE__ */g("div",{className:`w-3 h-3 rounded-full shrink-0 ${t.dot}`}),
|
|
8
|
-
/* @__PURE__ */g("span",{className:"text-sm font-medium text-gray-900 truncate flex-1",children:e.title||"Untitled"})]}),
|
|
9
|
-
/* @__PURE__ */g("p",{className:"text-xs text-ink-faintest mt-0.5 truncate ml-5",children:e.content.replace(/\[[ xX]?\]/g,"").slice(0,60)||"Empty note"}),
|
|
10
|
-
/* @__PURE__ */g("p",{className:"text-2xs text-gray-300 mt-0.5 ml-5",children:r(e.updated_at)})]},e.id)})})]});/* @__PURE__ */
|
|
11
|
-
return h("div",{className:"h-full",children:[
|
|
12
|
-
/* @__PURE__ */g(n,{app:"notepad"}),
|
|
13
|
-
/* @__PURE__ */g(t,{sidebar:M,storageKey:"notepad.sidebarWidth",defaultWidth:224,minWidth:180,maxWidth:360,children:D?/* @__PURE__ */h("div",{className:"flex-1 flex flex-col min-w-0",children:[
|
|
14
|
-
/* @__PURE__ */h("div",{className:"flex items-center gap-2 px-4 py-2 border-b border-gray-200",children:[
|
|
15
|
-
/* @__PURE__ */g("input",{value:C,onChange:e=>{P(e.target.value),J(!0)},placeholder:"Note title...",className:"flex-1 text-lg font-semibold text-gray-900 outline-none bg-transparent placeholder:text-gray-300"}),
|
|
16
|
-
/* @__PURE__ */g("div",{className:"flex gap-1",children:x.map(e=>/* @__PURE__ */g("button",{onClick:()=>{R(e.key),J(!0)},className:`w-5 h-5 rounded-full border-2 transition-all ${e.dot} ${K===e.key?"border-gray-600 scale-110":"border-transparent hover:border-gray-400"}`,title:e.key},e.key))}),
|
|
17
|
-
/* @__PURE__ */g("button",{onClick:()=>(e=>{const t=w.filter(t=>t.id!==e);if(V(t),D===e){const e=t[0];e?F(e):(_(null),P(""),W(""))}})(D),title:"Delete note",className:"p-1 rounded text-gray-300 hover:text-red-500 transition-colors",children:/* @__PURE__ */g(s,{name:"trash",className:"h-4 w-4",strokeWidth:1.5})})]}),O?/* @__PURE__ */g("textarea",{ref:U,value:S,onChange:e=>{W(e.target.value),J(!0)},onBlur:()=>{Z(!1),H&&X()},placeholder:$,className:"flex-1 p-4 text-sm text-gray-700 outline-none resize-none bg-transparent leading-relaxed placeholder:text-gray-300 font-mono"}):/* @__PURE__ */g("div",{onClick:()=>{Z(!0),setTimeout(()=>U.current?.focus(),50)},className:"flex-1 p-4 text-sm text-gray-700 overflow-y-auto leading-relaxed cursor-text",children:S?(e=>{if(!e)return[];const t=e.split("\n");return t.map((e,r)=>{const n=[];let o=0;const i=[],c=/([A-Z]{2,4})#(\d{4,6})/g;let l;for(;null!==(l=c.exec(e));){const e=l[1],t=l[2];if(T.current[e]){const n=l.index,o=l[0];i.push({idx:n,len:o.length,render:()=>/* @__PURE__ */g("button",{onClick:()=>Q(e,t),className:"text-blue-600 hover:text-blue-800 hover:underline font-medium cursor-pointer",children:o},`ref-${r}-${n}`)})}}b.lastIndex=0;let a=0;for(let e=0;e<r;e++)a+=t[e].length+1;for(;null!==(l=b.exec(e));){const e="x"===l[1]||"X"===l[1],t=l.index,n=a+t;i.push({idx:t,len:l[0].length,render:()=>/* @__PURE__ */g("button",{onClick:()=>G(n),className:`inline-flex items-center justify-center w-4 h-4 rounded border ${e?"bg-blue-500 border-blue-500 text-white":"border-gray-400 bg-white hover:border-blue-400"} cursor-pointer align-text-bottom mr-0.5`,children:e&&/* @__PURE__ */g(s,{name:"check",className:"w-3 h-3",strokeWidth:3})},`cb-${r}-${t}`)})}i.sort((e,t)=>e.idx-t.idx);for(const t of i)t.idx>o&&n.push(/* @__PURE__ */g("span",{children:e.slice(o,t.idx)},`t-${r}-${o}`)),n.push(t.render()),o=t.idx+t.len;o<e.length&&n.push(/* @__PURE__ */g("span",{children:e.slice(o)},`t-${r}-${o}`)),0===n.length&&n.push(/* @__PURE__ */g("span",{children:""},`empty-${r}`));const p=/^\[x\]/i.test(e.trimStart());/* @__PURE__ */
|
|
18
|
-
return g("div",{className:p?"line-through text-gray-400":"",children:n},r)})})(S):/* @__PURE__ */g("p",{className:"text-gray-300 whitespace-pre-line",children:$})}),
|
|
19
|
-
/* @__PURE__ */h("div",{className:"px-4 min-h-8 py-1 border-t border-line-subtle flex items-center gap-4 text-2xs text-ink-faintest",children:[
|
|
20
|
-
/* @__PURE__ */g("span",{children:"[] checkbox"}),
|
|
21
|
-
/* @__PURE__ */g("span",{children:"SO#35001 entity link"}),
|
|
22
|
-
/* @__PURE__ */g("span",{className:"ml-auto",children:O?"Editing":"Click to edit"})]})]}):/* @__PURE__ */g("div",{className:"flex-1 flex items-center justify-center",children:/* @__PURE__ */h("div",{className:"text-center text-gray-400",children:[
|
|
23
|
-
/* @__PURE__ */g(s,{name:"page",className:"h-12 w-12 mx-auto mb-3 text-gray-300",strokeWidth:1}),
|
|
24
|
-
/* @__PURE__ */g("p",{className:"text-sm",children:"Select a note or create a new one"})]})})})]})}export{f as default};
|
|
@@ -1,91 +0,0 @@
|
|
|
1
|
-
import{loadAppearance as e,WidgetSettingsModal as t}from"./chunk-HB2PSIVY.js";import{subscribePomo as o,getPomoSnapshot as n,setPomoDurations as a,setPomoAlarm as r,setPomoAlarmConfig as s,setPomoBehaviour as i,setPomoFocusSound as l,useTodoTasks as c,pomodoroToday as u,migratePomodoroTasksOnce as m,pomoSwitchMode as d,pomoPause as h,pomoStart as p,ALARM_OPTIONS as g,playAlarm as k,FOCUS_SOUND_OPTIONS as f,previewFocusSound as b}from"./chunk-GUUBFQ6L.js";import{PLACEHOLDER_INK as x}from"./chunk-AYZY3YNC.js";import{formatTime as v}from"./chunk-NHKT5IH6.js";import"./chunk-36BRD5J3.js";import"./chunk-JRQMX4PK.js";import{pad2 as y}from"./chunk-LF27WIN2.js";import{useWidgetSettings as N}from"./chunk-KFVGNKKJ.js";import"./chunk-4LXCCZDM.js";import"./chunk-KNUR2UEG.js";import"./chunk-JDCM2VHG.js";import"./chunk-PSVGB7KT.js";import"./chunk-YI4T5I5D.js";import"./chunk-TTD2M6RF.js";import"./chunk-5A7MWTXX.js";import"./chunk-TJ5YMXVB.js";import"./chunk-JRKD7SD3.js";import"./chunk-5RCKE4X2.js";import"./chunk-EIFNESXS.js";import"./chunk-PO2KNVCC.js";import"./chunk-CJ4OEY3T.js";import"./chunk-5QHNDAZ6.js";import"./chunk-TEQ5ZPAL.js";import"./chunk-VWGWZY7A.js";import"./chunk-DBQNYJZ6.js";import"./chunk-L2WQOJ3T.js";import"./chunk-5VJVEKVM.js";import"./chunk-YPXONNBV.js";import"./chunk-4PJFL26P.js";import"./chunk-2QY5BJLA.js";import"./chunk-UGTRSRIW.js";import{useShellPrefs as j}from"./chunk-POBVGDZP.js";import"./chunk-F3ZOO23R.js";import"./chunk-NJY4HPNB.js";import"./chunk-PM6HY5BH.js";import"./chunk-DWGYC7OD.js";import"./chunk-APFDZ2HG.js";import"./chunk-ABIWAS5K.js";import"./chunk-P56YLT73.js";import"./chunk-URHGHXDN.js";import"./chunk-5QFPTDQF.js";import"./chunk-A4ROXNUF.js";import"./chunk-TSZPGDU3.js";import{Icon as C}from"./chunk-ISVODSRP.js";import"./chunk-J75ZT2JQ.js";import"./chunk-R2VKEMZH.js";import"./chunk-BWJZTHZ6.js";import"./chunk-FAPZFMS3.js";import"./chunk-CIZAUBWA.js";import"./chunk-PGN5ME7B.js";import"./chunk-5QRHQCRG.js";import"./chunk-62LW225J.js";import"./chunk-TAHHZGRH.js";import"./chunk-KEFNQEXZ.js";import"./chunk-PU2GJVMG.js";import"./chunk-3FININUU.js";import"./chunk-STKJA4PV.js";import"./chunk-M6UKCZHT.js";import"./chunk-I2NVBDKH.js";import"./chunk-UQYNPYF4.js";import"./chunk-MRJKZWWV.js";import"./chunk-TWVUQUUD.js";import"./chunk-5FYDNH4Y.js";import"./chunk-LNXBTK7Q.js";import"./chunk-MAFUXCPZ.js";import"./chunk-NRHG4R2Q.js";import"./chunk-C3QOHMR6.js";import{useSyncExternalStore as S,useEffect as w,useMemo as B,useState as M,useRef as T,useCallback as P}from"react";import{jsxs as I,Fragment as A,jsx as V}from"react/jsx-runtime";var D="pomodoro_appearance",R="pomodoro_active_task_id",F={focus:"Pomodoro",short:"Short Break",long:"Long Break"},L={focus:"#0f172a",short:"#508a52",long:"#5b7898"};var H=25,J=5,K=15,W=!1,Z=!1,$=4,U=!0,Y=!0,E="bell",G=100,Q=1,O="none",X=50,_=(e,t,o,n)=>"number"==typeof e&&isFinite(e)?Math.max(t,Math.min(o,Math.round(e))):n;function z(){const t=S(o,n,n),{prefs:k,save:b}=j(),x=function(e){const t=e&&"object"==typeof e?e:{};return{focusMinutes:_(t.focusMinutes,1,120,H),shortBreakMinutes:_(t.shortBreakMinutes,1,120,J),longBreakMinutes:_(t.longBreakMinutes,1,120,K),autoStartBreaks:"boolean"==typeof t.autoStartBreaks?t.autoStartBreaks:W,autoStartPomodoros:"boolean"==typeof t.autoStartPomodoros?t.autoStartPomodoros:Z,longBreakInterval:_(t.longBreakInterval,1,20,$),autoCheckTasks:"boolean"==typeof t.autoCheckTasks?t.autoCheckTasks:U,checkToBottom:"boolean"==typeof t.checkToBottom?t.checkToBottom:Y,alarmSound:g.some(e=>e.id===t.alarmSound)?t.alarmSound:E,alarmVolume:_(t.alarmVolume,0,100,G),alarmRepeat:_(t.alarmRepeat,1,5,Q),focusSound:f.some(e=>e.id===t.focusSound)?t.focusSound:O,focusVolume:_(t.focusVolume,0,100,X)}}(k.pomodoro_settings);w(()=>{a({focus:60*x.focusMinutes,short:60*x.shortBreakMinutes,long:60*x.longBreakMinutes})},[x.focusMinutes,x.shortBreakMinutes,x.longBreakMinutes]),w(()=>{r(x.alarmSound),s(x.alarmVolume,x.alarmRepeat)},[x.alarmSound,x.alarmVolume,x.alarmRepeat]),w(()=>{i({autoStartBreaks:x.autoStartBreaks,autoStartPomodoros:x.autoStartPomodoros,longBreakInterval:x.longBreakInterval})},[x.autoStartBreaks,x.autoStartPomodoros,x.longBreakInterval]),w(()=>{l(x.focusSound,x.focusVolume)},[x.focusSound,x.focusVolume]),w(()=>{if("undefined"!=typeof Notification&&"default"===Notification.permission)try{Notification.requestPermission()}catch{}},[]);const z=c(),ee=z.tasks,te=B(()=>u(),[]),oe=function(e,t){return B(()=>t?(e=>{const t=[],o=[];for(const n of e)(n.done?o:t).push(n);return[...t,...o]})(e):e,[e,t])}(B(()=>ee.filter(e=>!!e.dueDate&&(e.dueDate===te||e.dueDate<te&&!e.done)),[ee,te]),x.checkToBottom),[ne,ae]=M(()=>localStorage.getItem(R)),[re,se]=M(!1),[ie,le]=M(null),ce=T(!1);w(()=>{ce.current||(ce.current=!0,m(ee,z.setAllTasks))},[]),w(()=>{try{ne?localStorage.setItem(R,ne):localStorage.removeItem(R)}catch{}},[ne]),w(()=>{if(!ie)return;const e=()=>le(null),t=setTimeout(()=>document.addEventListener("click",e),0);return()=>{clearTimeout(t),document.removeEventListener("click",e)}},[ie]);const ue=T(t.streak);w(()=>{if(t.streak>ue.current&&ne){const e=ee.find(e=>e.id===ne);if(e){const t=(e.completed??0)+1,o=e.estimated??0,n=x.autoCheckTasks&&o>0&&t>=o;z.updateTask(ne,{completed:t,done:e.done||n})}}ue.current=t.streak},[t.streak,ne,x.autoCheckTasks,ee,z]);const de=oe.reduce((e,t)=>e+(t.completed??0),0),he=oe.reduce((e,t)=>e+Math.max(t.estimated??0,t.completed??0),0),pe=oe.reduce((e,t)=>t.done?e:e+Math.max(0,(t.estimated??0)-(t.completed??0)),0),ge=t.running&&"focus"===t.mode?t.remaining:0,ke=pe*x.focusMinutes*60+ge,fe=new Date(Date.now()+1e3*ke),be=v(fe.toISOString(),{clock:{hour:"2-digit",minute:"2-digit",hourCycle:"h23"}}),xe=(ke/3600).toFixed(1),ve=ne?ee.find(e=>e.id===ne)??null:null,ye=y(Math.floor(t.remaining/60)),Ne=y(t.remaining%60),[je,Ce]=M(()=>e(D)),[Se,we]=M(!1),[Be,Me]=M(je),[Te,Pe]=M(x);N(P(()=>{Me({...je}),Pe({...x}),we(!0)},[je,x]));const Ie="focus"!==t.mode,Ae=L[t.mode],Ve=Ie?(De=Ae,Re=je.activeOpacity/100,`rgba(${parseInt(De.slice(1,3),16)}, ${parseInt(De.slice(3,5),16)}, ${parseInt(De.slice(5,7),16)}, ${Re})`):`rgb(var(--taskbar-bg-rgb, 243 244 246) / ${je.activeOpacity/100})`;var De,Re;const Fe={primary:Ie?"text-white":"text-gray-900",secondary:Ie?"text-white/85":"text-gray-700",muted:Ie?"text-white/65":"text-gray-500",tabActive:Ie?"bg-white/15 text-white":"bg-gray-200 text-gray-900",tabInactive:Ie?"text-white/75 hover:bg-white/10":"text-gray-500 hover:bg-gray-200",divider:Ie?"border-white/30":"border-gray-200",softDivider:Ie?"border-white/20":"border-gray-200",iconBtn:Ie?"bg-black/15 hover:bg-black/25 text-white/85":"bg-gray-200 hover:bg-gray-300 text-gray-600",addTaskBtn:Ie?"border-white/45 text-white/90 hover:bg-white/[0.06]":"border-gray-300 text-gray-500 hover:bg-gray-200/50"},Le=Ie?Ae:"#0f172a";/* @__PURE__ */
|
|
2
|
-
return I(A,{children:[
|
|
3
|
-
/* @__PURE__ */I("div",{className:`flex flex-col h-full select-none transition-colors duration-300 ${Fe.primary}`,style:{backgroundColor:Ve,backdropFilter:je.activeBlur>0?`blur(${je.activeBlur}px)`:void 0},children:[
|
|
4
|
-
/* @__PURE__ */V("div",{className:"px-3 pt-3 flex justify-center gap-2",children:["focus","short","long"].map(e=>/* @__PURE__ */V("button",{onClick:()=>d(e),className:`px-3 py-1 text-sm font-bold rounded transition-colors ${t.mode===e?Fe.tabActive:Fe.tabInactive}`,children:F[e]},e))}),
|
|
5
|
-
/* @__PURE__ */I("div",{className:"text-center font-bold tabular-nums leading-none tracking-tight mt-3",style:{fontSize:"4.5rem"},children:[ye,":",Ne]}),
|
|
6
|
-
/* @__PURE__ */V("div",{className:"flex justify-center mt-3 mb-2",children:/* @__PURE__ */V("button",{onClick:()=>t.running?h():p(),className:"bg-surface px-12 py-3 rounded-md font-bold text-base shadow-[0_4px_0_rgba(0,0,0,0.12)] hover:shadow-[0_3px_0_rgba(0,0,0,0.12)] active:translate-y-1 active:shadow-none transition-all",style:{color:Le,letterSpacing:"0.08em"},children:t.running?"PAUSE":"START"})}),
|
|
7
|
-
/* @__PURE__ */V("div",{className:"px-3 py-3 text-center",children:ve?/* @__PURE__ */I(A,{children:[
|
|
8
|
-
/* @__PURE__ */I("div",{className:`text-xs leading-tight ${Fe.muted}`,children:["#",(ve.completed??0)+1]}),
|
|
9
|
-
/* @__PURE__ */V("div",{className:`text-base font-medium leading-tight truncate mt-0.5 ${Fe.primary}`,children:ve.name})]}):/* @__PURE__ */V("div",{className:`text-xs italic ${Fe.muted}`,children:"No task selected"})}),
|
|
10
|
-
/* @__PURE__ */I("div",{className:"px-3 mt-1 flex items-center justify-between",children:[
|
|
11
|
-
/* @__PURE__ */V("h3",{className:`text-base font-bold tracking-tight ${Fe.primary}`,children:"Tasks"}),
|
|
12
|
-
/* @__PURE__ */V("button",{className:`rounded p-1 transition-colors ${Fe.iconBtn}`,"aria-label":"Tasks menu",tabIndex:-1,children:/* @__PURE__ */V(C,{name:"more-vertical",look:"solid",className:"h-4 w-4"})})]}),
|
|
13
|
-
/* @__PURE__ */V("div",{className:`border-t mx-3 mt-2 ${Fe.divider}`}),
|
|
14
|
-
/* @__PURE__ */I("div",{className:"flex-1 px-3 py-3 space-y-2 overflow-y-auto",children:[oe.map(e=>{const t=e.id===ne;/* @__PURE__ */
|
|
15
|
-
return I("div",{onClick:()=>ae(e.id),className:"bg-surface text-ink-strong rounded-md flex items-center pr-2 py-3 shadow-sm cursor-pointer transition-shadow hover:shadow-(--elevation-panel) "+(t?"border-l-4 border-gray-700 pl-2":"pl-3 border-l-4 border-transparent"),children:[
|
|
16
|
-
/* @__PURE__ */V("button",{onClick:t=>{var o;t.stopPropagation(),o=e.id,z.toggleDone(o)},className:"shrink-0",children:e.done?/* @__PURE__ */V("svg",{className:"h-5 w-5",fill:"currentColor",viewBox:"0 0 20 20",style:{color:Le},children:/* @__PURE__ */V("path",{d:"M10 0a10 10 0 100 20 10 10 0 000-20zm-1 14.5l-4.5-4.5 1.4-1.4 3.1 3.1 6.1-6.1 1.4 1.4z"})}):/* @__PURE__ */V("svg",{className:"h-5 w-5 text-gray-300",fill:"none",stroke:"currentColor",strokeWidth:2,viewBox:"0 0 24 24",children:/* @__PURE__ */V("circle",{cx:"12",cy:"12",r:"10"})})}),
|
|
17
|
-
/* @__PURE__ */V("span",{className:"ml-3 flex-1 font-semibold truncate "+(e.done?"line-through text-gray-400":"text-gray-800"),children:e.name}),
|
|
18
|
-
/* @__PURE__ */I("span",{className:"text-sm tabular-nums mr-2 shrink-0",children:[
|
|
19
|
-
/* @__PURE__ */V("span",{className:"font-bold text-gray-500",children:e.completed??0}),
|
|
20
|
-
/* @__PURE__ */V("span",{className:"text-gray-400",children:" / "}),
|
|
21
|
-
/* @__PURE__ */V("span",{className:"text-gray-400",children:e.estimated??"–"})]}),
|
|
22
|
-
/* @__PURE__ */I("div",{className:"relative",children:[
|
|
23
|
-
/* @__PURE__ */V("button",{onClick:t=>{t.stopPropagation(),le(ie===e.id?null:e.id)},className:"rounded p-1 bg-gray-100 hover:bg-gray-200",children:/* @__PURE__ */V(C,{name:"more-vertical",look:"solid",className:"h-4 w-4 text-ink-faint"})}),ie===e.id&&/* @__PURE__ */V("div",{className:"absolute right-0 top-full mt-1 bg-white text-gray-800 rounded shadow-lg border border-gray-200 z-10 min-w-[110px] overflow-hidden",onClick:e=>e.stopPropagation(),children:/* @__PURE__ */V("button",{onClick:t=>{var o;t.stopPropagation(),o=e.id,z.removeTask(o),ne===o&&ae(null),le(null)},className:"block w-full px-3 h-8 text-sm text-left hover:bg-red-50 text-red-600",children:"Delete"})})]})]},e.id)}),re?/* @__PURE__ */V(me,{onSubmit:(e,t)=>{const o=e.trim();if(!o)return;const n=z.addTask({name:o,estimated:t,completed:0,dueDate:te});ne||ae(n),se(!1)},onCancel:()=>se(!1),accentColor:Le}):/* @__PURE__ */I("button",{onClick:()=>se(!0),className:`w-full border-2 border-dashed rounded-md py-3 font-semibold flex items-center justify-center gap-2 transition-colors ${Fe.addTaskBtn}`,children:[
|
|
24
|
-
/* @__PURE__ */V(C,{name:"add-circle",className:"h-5 w-5",strokeWidth:2}),"Add Task"]})]}),
|
|
25
|
-
/* @__PURE__ */I("div",{className:`border-t px-3 py-3 flex items-center justify-center gap-5 text-sm ${Fe.softDivider}`,children:[
|
|
26
|
-
/* @__PURE__ */I("span",{className:Fe.secondary,children:["Pomos: ",
|
|
27
|
-
/* @__PURE__ */V("span",{className:`font-bold ${Fe.primary}`,children:de}),
|
|
28
|
-
/* @__PURE__ */V("span",{className:Fe.muted,children:" / "}),
|
|
29
|
-
/* @__PURE__ */V("span",{className:`font-bold ${Fe.primary}`,children:he})]}),ke>0&&/* @__PURE__ */I("span",{className:Fe.secondary,children:["Finish At: ",
|
|
30
|
-
/* @__PURE__ */V("span",{className:`font-bold ${Fe.primary}`,children:be}),
|
|
31
|
-
/* @__PURE__ */I("span",{className:Fe.muted,children:[" (",xe,"h)"]})]})]})]}),
|
|
32
|
-
/* @__PURE__ */V(q,{open:Se,onClose:()=>we(!1),onSave:()=>{Ce(Be),localStorage.setItem(D,JSON.stringify(Be)),b({pomodoro_settings:Te}),we(!1)},configAppearance:Be,setConfigAppearance:Me,configPrefs:Te,setConfigPrefs:Pe})]})}function q({open:e,onClose:o,onSave:n,configAppearance:a,setConfigAppearance:r,configPrefs:s,setConfigPrefs:i}){const l=(e,t)=>i(o=>({...o,[e]:t}));/* @__PURE__ */
|
|
33
|
-
return I(t,{open:e,onClose:o,title:"Pomodoro Settings",appearance:a,onAppearanceChange:r,onSave:n,children:[
|
|
34
|
-
/* @__PURE__ */I(ee,{icon:/* @__PURE__ */V(le,{}),label:"TIMER",children:[
|
|
35
|
-
/* @__PURE__ */I("div",{children:[
|
|
36
|
-
/* @__PURE__ */V("p",{className:"text-sm font-bold text-gray-800 mb-2",children:"Time (minutes)"}),
|
|
37
|
-
/* @__PURE__ */I("div",{className:"grid grid-cols-3 gap-3",children:[
|
|
38
|
-
/* @__PURE__ */V(ne,{label:"Pomodoro",value:s.focusMinutes,onChange:e=>l("focusMinutes",e),max:120}),
|
|
39
|
-
/* @__PURE__ */V(ne,{label:"Short Break",value:s.shortBreakMinutes,onChange:e=>l("shortBreakMinutes",e),max:120}),
|
|
40
|
-
/* @__PURE__ */V(ne,{label:"Long Break",value:s.longBreakMinutes,onChange:e=>l("longBreakMinutes",e),max:120})]})]}),
|
|
41
|
-
/* @__PURE__ */V(te,{label:"Auto Start Breaks",children:/* @__PURE__ */V(se,{checked:s.autoStartBreaks,onChange:e=>l("autoStartBreaks",e)})}),
|
|
42
|
-
/* @__PURE__ */V(te,{label:"Auto Start Pomodoros",children:/* @__PURE__ */V(se,{checked:s.autoStartPomodoros,onChange:e=>l("autoStartPomodoros",e)})}),
|
|
43
|
-
/* @__PURE__ */V(te,{label:"Long Break interval",children:/* @__PURE__ */V(ae,{value:s.longBreakInterval,onChange:e=>l("longBreakInterval",e),min:1,max:20,className:"w-14 text-center"})})]}),
|
|
44
|
-
/* @__PURE__ */I(ee,{icon:/* @__PURE__ */V(ce,{}),label:"TASK",children:[
|
|
45
|
-
/* @__PURE__ */V(te,{label:"Auto Check Tasks",info:'If you enable "Auto Check Tasks", the active task will be automatically checked when the actual pomodoro count reaches the estimated count.',children:/* @__PURE__ */V(se,{checked:s.autoCheckTasks,onChange:e=>l("autoCheckTasks",e)})}),
|
|
46
|
-
/* @__PURE__ */V(te,{label:"Check to Bottom",info:'If you enable "Check to Bottom", the checked task will be automatically moved to the bottom of the task list.',children:/* @__PURE__ */V(se,{checked:s.checkToBottom,onChange:e=>l("checkToBottom",e)})})]}),
|
|
47
|
-
/* @__PURE__ */I(ee,{icon:/* @__PURE__ */V(ue,{}),label:"SOUND",children:[
|
|
48
|
-
/* @__PURE__ */V(te,{label:"Alarm Sound",children:/* @__PURE__ */I("div",{className:"flex items-center gap-2",children:[
|
|
49
|
-
/* @__PURE__ */V(re,{value:s.alarmSound,onChange:e=>l("alarmSound",e),options:g.map(e=>({id:e.id,label:e.label}))}),"off"!==s.alarmSound&&/* @__PURE__ */V("button",{type:"button",onClick:()=>k(s.alarmSound,{volume:s.alarmVolume,repeat:1}),className:"px-2 py-1 text-2xs rounded border border-line-strong text-gray-600 hover:bg-gray-100",children:"Play"})]})}),
|
|
50
|
-
/* @__PURE__ */V(oe,{value:s.alarmVolume,onChange:e=>l("alarmVolume",e)}),
|
|
51
|
-
/* @__PURE__ */V(te,{label:"repeat",children:/* @__PURE__ */V(ae,{value:s.alarmRepeat,onChange:e=>l("alarmRepeat",e),min:1,max:5,className:"w-14 text-center"})}),
|
|
52
|
-
/* @__PURE__ */V(te,{label:"Focus Sound",children:/* @__PURE__ */I("div",{className:"flex items-center gap-2",children:[
|
|
53
|
-
/* @__PURE__ */V(re,{value:s.focusSound,onChange:e=>l("focusSound",e),options:f}),"none"!==s.focusSound&&/* @__PURE__ */V("button",{type:"button",onClick:()=>b(s.focusSound,s.focusVolume),className:"px-2 py-1 text-2xs rounded border border-line-strong text-gray-600 hover:bg-gray-100",children:"Play"})]})}),
|
|
54
|
-
/* @__PURE__ */V(oe,{value:s.focusVolume,onChange:e=>l("focusVolume",e)})]})]})}function ee({icon:e,label:t,children:o}){/* @__PURE__ */
|
|
55
|
-
return I("div",{className:"border-t border-gray-200 pt-3 first:border-0 first:pt-0",children:[
|
|
56
|
-
/* @__PURE__ */I("div",{className:"flex items-center gap-2 mb-3 text-ink-faintest",children:[e,
|
|
57
|
-
/* @__PURE__ */V("span",{className:"text-xs font-bold tracking-[0.15em]",children:t})]}),
|
|
58
|
-
/* @__PURE__ */V("div",{className:"space-y-3",children:o})]})}function te({label:e,info:t,children:o}){/* @__PURE__ */
|
|
59
|
-
return I("div",{className:"flex items-center justify-between gap-3",children:[
|
|
60
|
-
/* @__PURE__ */I("div",{className:"flex items-center gap-2 min-w-0",children:[
|
|
61
|
-
/* @__PURE__ */V("span",{className:"text-sm font-semibold text-gray-800",children:e}),t&&/* @__PURE__ */V(ie,{title:t})]}),
|
|
62
|
-
/* @__PURE__ */V("div",{className:"shrink-0",children:o})]})}function oe({value:e,onChange:t}){/* @__PURE__ */
|
|
63
|
-
return I("div",{className:"flex items-center justify-end gap-3",children:[
|
|
64
|
-
/* @__PURE__ */V("span",{className:"text-xs text-gray-400 w-7 text-right tabular-nums",children:e}),
|
|
65
|
-
/* @__PURE__ */V("input",{type:"range",min:0,max:100,value:e,onChange:e=>t(parseInt(e.target.value,10)),className:"w-40 accent-blue-500"})]})}function ne({label:e,value:t,onChange:o,min:n=1,max:a=99}){/* @__PURE__ */
|
|
66
|
-
return I("label",{className:"flex flex-col",children:[
|
|
67
|
-
/* @__PURE__ */V("span",{className:"text-xs font-semibold text-gray-500 mb-1",children:e}),
|
|
68
|
-
/* @__PURE__ */V(ae,{value:t,onChange:o,min:n,max:a})]})}function ae({value:e,onChange:t,min:o=1,max:n=99,className:a=""}){/* @__PURE__ */
|
|
69
|
-
return V("input",{type:"number",min:o,max:n,value:e,onChange:e=>t(Math.max(o,Math.min(n,parseInt(e.target.value,10)||o))),className:`bg-gray-100 border-0 rounded-md px-2 h-8 text-sm font-medium text-ink-strong focus:outline-none focus:ring-2 focus:ring-blue-500 w-full ${a}`})}function re({value:e,onChange:t,options:o}){/* @__PURE__ */
|
|
70
|
-
return I("div",{className:"relative",children:[
|
|
71
|
-
/* @__PURE__ */V("select",{value:e,onChange:e=>t(e.target.value),className:"appearance-none bg-gray-100 border-0 rounded-md pl-3 pr-8 h-8 text-sm font-medium text-ink-strong focus:outline-none focus:ring-2 focus:ring-blue-500 cursor-pointer",children:o.map(e=>/* @__PURE__ */V("option",{value:e.id,children:e.label},e.id))}),
|
|
72
|
-
/* @__PURE__ */V(C,{name:"chevron-down",className:`absolute right-2 top-1/2 -translate-y-1/2 h-3.5 w-3.5 pointer-events-none ${x}`,strokeWidth:2.5})]})}function se({checked:e,onChange:t}){/* @__PURE__ */
|
|
73
|
-
return V("button",{type:"button",role:"switch","aria-checked":e,onClick:()=>t(!e),className:"relative inline-flex h-6 w-11 items-center rounded-full transition-colors "+(e?"bg-emerald-500":"bg-gray-300"),children:/* @__PURE__ */V("span",{className:"absolute h-5 w-5 rounded-full bg-white shadow transition-transform "+(e?"translate-x-[22px]":"translate-x-0.5")})})}function ie({title:e}){/* @__PURE__ */
|
|
74
|
-
return V("span",{title:e,className:"inline-flex items-center justify-center w-4 h-4 rounded-full bg-gray-300 text-on-accent text-3xs font-bold cursor-help",children:"i"})}function le(){/* @__PURE__ */
|
|
75
|
-
return I("svg",{className:"h-3.5 w-3.5",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,children:[
|
|
76
|
-
/* @__PURE__ */V("circle",{cx:"12",cy:"12",r:"9"}),
|
|
77
|
-
/* @__PURE__ */V("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 7v5l3 2"})]})}function ce(){/* @__PURE__ */
|
|
78
|
-
return I("svg",{className:"h-3.5 w-3.5",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,children:[
|
|
79
|
-
/* @__PURE__ */V("rect",{x:"4",y:"4",width:"16",height:"16",rx:"2"}),
|
|
80
|
-
/* @__PURE__ */V("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 12l2 2 4-4"})]})}function ue(){/* @__PURE__ */
|
|
81
|
-
return I("svg",{className:"h-3.5 w-3.5",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,children:[
|
|
82
|
-
/* @__PURE__ */V("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M11 5L6 9H2v6h4l5 4V5z"}),
|
|
83
|
-
/* @__PURE__ */V("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15.5 8.5a5 5 0 010 7M19 5a9 9 0 010 14"})]})}function me({onSubmit:e,onCancel:t,accentColor:o}){const[n,a]=M(""),[r,s]=M(1),i=()=>e(n,r);/* @__PURE__ */
|
|
84
|
-
return I("div",{className:"bg-surface text-ink-strong rounded-md p-3 shadow-(--elevation-panel)",children:[
|
|
85
|
-
/* @__PURE__ */V("input",{autoFocus:!0,value:n,onChange:e=>a(e.target.value),placeholder:"What are you working on?",onKeyDown:e=>{"Enter"===e.key&&i(),"Escape"===e.key&&t()},className:"w-full text-base font-medium bg-transparent border-0 outline-none placeholder-gray-400"}),
|
|
86
|
-
/* @__PURE__ */I("div",{className:"flex items-center justify-between mt-2",children:[
|
|
87
|
-
/* @__PURE__ */V("span",{className:"text-xs font-semibold text-gray-500",children:"Est Pomodoros"}),
|
|
88
|
-
/* @__PURE__ */V("input",{type:"number",min:1,max:20,value:r,onChange:e=>s(Math.max(1,Math.min(20,parseInt(e.target.value,10)||1))),className:"w-16 bg-gray-100 rounded px-2 py-1 text-sm text-right border-0 focus:outline-none focus:ring-2 focus:ring-blue-500"})]}),
|
|
89
|
-
/* @__PURE__ */I("div",{className:"flex gap-2 mt-3 justify-end",children:[
|
|
90
|
-
/* @__PURE__ */V("button",{onClick:t,className:"px-3 py-1 text-sm text-gray-500 hover:bg-gray-100 rounded",children:"Cancel"}),
|
|
91
|
-
/* @__PURE__ */V("button",{onClick:i,className:"px-4 py-1 text-sm font-semibold text-white rounded shadow-sm",style:{backgroundColor:o},children:"Save"})]})]})}export{z as default};
|
package/dist/chunk-GG2UON56.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var r="15.5.0",a=r;export{a as APP_VERSION,r as VERSION};
|