efficient-shell 4.173.0 → 4.177.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 +84 -2
- package/dist/{Browser-X7UTQJOX.js → Browser-MFFTBGEB.js} +14 -14
- package/dist/Calculator-AGQQYMMZ.js +29 -0
- package/dist/ConfirmDialog-6PVUVYXZ.js +1 -0
- package/dist/{CurrencyConverter-RODHLQMG.js → CurrencyConverter-KZPE7ZCC.js} +5 -5
- package/dist/{Documents-BJFZHHBZ.js → Documents-ZD227WZC.js} +14 -14
- package/dist/{Files-PL5NE4PQ.js → Files-BLGT4RLF.js} +24 -24
- package/dist/{Notepad-52LDWEK2.js → Notepad-LUK2IFHD.js} +8 -8
- package/dist/PdfViewer-RKRGO7Q2.js +1 -0
- package/dist/{PomodoroTimer-C3KCTCMB.js → PomodoroTimer-LHPV6QXG.js} +24 -24
- package/dist/{Preview-O3N26GG6.js → Preview-5CALO6PW.js} +18 -18
- package/dist/{Sidebar-QNGQA6J5.js → Sidebar-4GIZSTD5.js} +23 -23
- package/dist/{Spreadsheet-HVKVNQN6.js → Spreadsheet-F3VBCPHF.js} +14 -14
- package/dist/{Stock-YOGVYL6F.js → Stock-XSDFN7U2.js} +4 -4
- package/dist/{Weather-4OQOBM4C.js → Weather-7YDUDMCO.js} +17 -17
- package/dist/{WorldClock-K5KLOOD7.js → WorldClock-Q2JHBKLS.js} +4 -4
- package/dist/apps/index.js +1 -1
- package/dist/bin/ui-check.js +1 -1
- package/dist/{chunk-S5QF4VFG.js → chunk-3YTHR7IC.js} +1 -1
- package/dist/{chunk-XHWT4DH2.js → chunk-4PCIZFDR.js} +1 -1
- package/dist/{chunk-TLYGAHZN.js → chunk-54OP3M3K.js} +1 -1
- package/dist/chunk-7H6Q5TNN.js +27 -0
- package/dist/{chunk-PGVUO7GB.js → chunk-AA4TMQOS.js} +3 -3
- package/dist/{chunk-MVUYJAZT.js → chunk-AI6HQ55O.js} +1 -1
- package/dist/chunk-AZO5NPB4.js +1003 -0
- package/dist/{chunk-MYNLN25H.js → chunk-E2D54MVV.js} +2 -2
- package/dist/chunk-KDHXRJIX.js +2 -0
- package/dist/{chunk-UOZMVS4Y.js → chunk-KS7OSQ3Y.js} +9 -9
- package/dist/{chunk-OZMDKNVR.js → chunk-L3U2R7DH.js} +1 -1
- package/dist/{chunk-U6IUYOYS.js → chunk-LCTSBQBJ.js} +1 -1
- package/dist/chunk-MFXG5BWL.js +1 -0
- package/dist/{chunk-MFR4GZSB.js → chunk-N6BJG6AL.js} +8 -8
- package/dist/{chunk-EXXHI5DO.js → chunk-OGXU7QFW.js} +2 -2
- package/dist/{chunk-Z3JO7MDE.js → chunk-PE6MTNFO.js} +4 -4
- package/dist/{chunk-U2SEGSNG.js → chunk-Q7UGGJ5X.js} +1 -1
- package/dist/{chunk-SXRJYJ7M.js → chunk-REXHKIIJ.js} +1 -1
- package/dist/{chunk-ZDCOC4IH.js → chunk-RKR5V4QR.js} +8 -8
- package/dist/{chunk-X5LH3UOJ.js → chunk-TZ2BPFCT.js} +111 -111
- package/dist/{chunk-AYZ4LP2A.js → chunk-VIIBZ6DE.js} +3 -3
- package/dist/{chunk-FIGVDYJR.js → chunk-XJYXKO7K.js} +15 -15
- package/dist/{chunk-CQN5CFKA.js → chunk-YJRC6IKD.js} +4 -4
- package/dist/{chunk-6TDPY7WG.js → chunk-ZOPYAOUP.js} +1 -1
- package/dist/file-intake/index.js +1 -1
- package/dist/i18n/index.d.ts +78 -0
- package/dist/i18n/index.js +2 -0
- package/dist/{index-Dod08dsC.d.ts → index-BS_HzJCc.d.ts} +42 -915
- package/dist/index.d.ts +3 -2
- package/dist/index.js +656 -650
- package/dist/map/index.js +3 -3
- package/dist/page-tabs/index.js +5 -5
- package/dist/pdf/index.js +1 -1
- package/dist/strings-C3kt6WTH.d.ts +924 -0
- package/dist/ui/index.d.ts +2 -1
- package/dist/ui/index.js +1 -1
- package/package.json +16 -1
- package/dist/Calculator-IAJLLX67.js +0 -29
- package/dist/ConfirmDialog-EBZ5LHVS.js +0 -1
- package/dist/PdfViewer-IIXXT7SF.js +0 -1
- package/dist/chunk-A6ZY4XSQ.js +0 -27
- package/dist/chunk-RN5V7MDO.js +0 -995
- package/dist/chunk-XJX3NA37.js +0 -1
package/dist/ui/index.d.ts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
export { A as ALT, b as ALT_SHIFT_D, c as ALT_SHIFT_E, d as ALT_SHIFT_N, e as APP_UPDATE_POLL_MS, f as Accordion, g as AccordionItem, h as AccordionProps, i as Align, j as AngleScale, k as AppUpdateBanner, l as AppUpdateBannerProps, m as AttachButton, n as AttachButtonProps, o as AttachmentDropZone, p as AttachmentDropZoneProps, q as AttachmentList, r as AttachmentListProps, s as AuthScreen, t as AuthScreenProps, u as Avatar, v as AvatarGroup, w as AvatarGroupProps, x as AvatarProps, y as AvatarSize, z as AvatarStatus, B as BackgroundVariant, D as BandScale, E as Banner, F as BannerEmphasis, G as BannerProps, H as BannerTone, I as BarChart, J as BarChartProps, K as BoxPlotBox, L as BoxPlotChart, M as BoxPlotChartProps, N as BrandAssetEditor, O as BrandAssetEditorProps, Q as BrandAssetPreview, R as BrandMark, T as BrandMarkProps, U as BrandMarkSlot, V as BrandMarkSurface, W as BrandMarkTreatment, X as BreadcrumbItem, Y as Breadcrumbs, Z as BreadcrumbsProps, _ as BudgetBar, $ as BudgetBarProps, a0 as BudgetState, a1 as Button, a2 as ButtonClassesOptions, a3 as ButtonProps, a4 as ButtonSize, a5 as ButtonVariant, a6 as CHART_INK, a7 as CMD_A, a8 as CMD_DOT, a9 as CMD_ENTER, aa as CMD_K, ab as CMD_S, ac as CORNERS, ad as Calendar, ae as CalendarMode, af as CalendarProps, ag as Candle, ah as CandlestickChart, ai as CandlestickChartProps, aj as Card, ak as CardPadding, al as CardProps, am as CartesianPlot, an as CartesianPlotProps, ao as CellStyle, ap as ChartBackgroundVariant, aq as ChartBrush, ar as ChartBrushProps, as as ChartCurve, at as ChartDefs, au as ChartDefsProps, av as ChartDot, aw as ChartDotProps, ax as ChartDotVariant, ay as ChartFillVariant, az as ChartFrame, aA as ChartFrameProps, aB as ChartHighlightProvider, aC as ChartLegendEntry, aD as ChartLegendSwatch, aE as ChartRange, aF as ChartReferenceLine, aG as ChartRevealDirection, aH as ChartSkeleton, aI as ChartSkeletonProps, aJ as ChartStatusTone, aK as ChartStrokeVariant, aL as ChartTooltip, aM as ChartTooltipProps, aN as ChartTooltipRow, aO as ChatTemplate, aP as Checkbox, aQ as CheckboxProps, aR as CheckoutTemplate, aS as ChordChart, aT as ChordChartProps, aU as ColorPicker, aV as ColorPickerPanel, aW as ColorPickerPanelProps, aX as ColorPickerProps, aY as ColorPreset, aZ as ColorSwatch, a_ as ColorSwatchProps, a$ as ColorSwatchSize, b0 as ColoredBadge, b1 as ColoredBadgeProps, b2 as ColumnChart, b3 as ColumnChartProps, C as ColumnDef, b4 as ColumnSeries, b5 as ComposerAttachments, b6 as ComposerAttachmentsProps, b7 as ConfirmProvider, b8 as ContainerFillChart, b9 as ContainerFillChartProps, ba as ContainerFillItem, bb as ContextMenu, bc as ContextMenuPoint, bd as ContextMenuProps, be as ContextMenuState, bf as Corners, bg as CountBadge, bh as CountBadgeProps, bi as CountBadgeTone, bj as Curve, bk as DAY_MS, bl as DEFAULT_SHELL_STRINGS, bm as DashboardTemplate, bn as DataTable, bo as DataTableColumn, bp as DataTableColumnGroup, bq as DataTableHeader, br as DataTablePage, bs as DataTableProps, bt as DataTableRowLink, bu as DataTableRowProps, bv as DatePicker, bw as DatePickerProps, bx as DateRangePicker, by as DateRangePickerProps, bz as DateTimePicker, bA as DateTimePickerProps, bB as DescriptionColumns, bC as DescriptionItem, bD as DescriptionList, bE as DescriptionListProps, bF as Dialog, bG as DialogProps, bH as DialogSize, bI as Divider, bJ as DividerProps, bK as DividerSpacing, bL as DonutChart, bM as DonutChartProps, bN as DonutSegment, bO as Drawer, bP as DrawerProps, bQ as DrawerSide, bR as DrawerSize, bS as DropdownMenu, bT as DropdownMenuAlign, bU as DropdownMenuCheckboxItem, bV as DropdownMenuDividerItem, bW as DropdownMenuEntry, bX as DropdownMenuItem, bY as DropdownMenuLabelItem, bZ as DropdownMenuLinkItem, b_ as DropdownMenuProps, b$ as DropdownMenuRadioItem, c0 as DropdownMenuSide, c1 as DropdownPositionOptions, c2 as ENGLISH, c3 as ENTER, c4 as EditableGrid, c5 as EditableGridProps, c6 as EmailTemplate, c7 as EmptyState, c8 as EmptyStateProps, c9 as EmptyValue, ca as EmptyValueProps, cb as ErrorBoundary, cc as ErrorBoundaryProps, cd as ErrorPage, ce as ErrorPageProps, cf as FileIntake, cg as FilePicker, ch as FilePickerProps, ci as FillVariant, cj as FormError, ck as FormErrorSummary, cl as FormErrorSummaryProps, cm as FormField, cn as FormFieldProps, co as FormLayoutPage, cp as FunnelChart, cq as FunnelChartProps, cr as FunnelStage, cs as GLASS_DIVIDER, cu as GROUP_COLORS, cv as GROUP_COLORS_SOLID, cw as GalleryTemplate, cx as Gap, cy as GlassOptions, cz as GlobalSearch, cA as GlobalSearchProps, cB as Grid, cC as GridCols, cD as GridColumn, cE as GridProps, cF as HeatmapChart, cG as HeatmapChartProps, cH as HelpCenter, cI as HelpCenterDoc, cJ as HelpCenterProps, cK as HexInput, cL as HistogramBin, cM as HistogramChart, cN as HistogramChartProps, cO as Hsv, cP as INPUT_BASE, cQ as INPUT_SIZES, cR as IconButton, cS as IconButtonClassesOptions, cT as IconButtonProps, cU as IconRail, cV as IconRailButton, cW as IconRailButtonProps, cX as IconRailLabels, cY as IconRailLabelsShown, cZ as IconRailOrientation, c_ as IconRailProps, c$ as Inline, d0 as InlineProps, d1 as Input, d2 as InputNumber, d3 as InputNumberProps, d4 as InputProps, d5 as InputSize, d6 as Justify, d7 as Kanban, d8 as KanbanColumn, d9 as KanbanProps, da as Kbd, db as KbdProps, dc as KbdSize, dd as Label, de as LabelClassesOptions, df as LabelProps, dg as LadderScale, dh as LineChart, di as LineChartProps, dj as LineChartSeries, dk as LinearScale, dl as ListDrop, dm as ListFooter, dn as ListLoadError, dp as ListLoadErrorProps, dq as ListMove, dr as ListRow, ds as ListRowProps, dt as LoadingSpinner, du as LoadingSpinnerProps, dv as MAX_FRACTION_DIGITS, dw as MENU_MAX_HEIGHT, dx as MOD, dy as MOTION, dz as Markdown, dz as MarkdownLite, dA as MarkdownLiteProps, dA as MarkdownProps, dB as MediaUploadField, dC as MediaUploadFieldProps, dD as MediaUploadGrid, dE as MediaUploadGridItem, dF as MediaUploadGridProps, dG as MenuPos, dH as Meter, dI as MeterProps, dJ as MetricBar, dK as MetricBarProps, dL as Milestone, dM as MilestoneKind, dN as MilestoneTimeline, dO as MilestoneTimelineProps, dQ as NEXT_CHUNK_PATH_PREFIX, dR as NativeSelect, dS as NumericKeypad, dT as NumericKeypadProps, dU as OVERLAY_OPEN_EVENT, dV as POPUP_MAX_WIDTH, dW as POST_PRODUCTION_STATUSES, dX as PageHeader, dY as PageHeaderProps, P as PaginatedResponse, dZ as Pagination, d_ as PaginationProps, d$ as PaperclipGlyph, e0 as Paragraph, e1 as ParagraphProps, e2 as PieChart, e3 as PieChartProps, e4 as PieSegment, e5 as PlotGeometry, e6 as Point, e7 as Popover, e8 as PopoverAlign, e9 as PopoverProps, ea as PopoverRenderProps, eb as PopoverSide, ec as PopupMenu, ed as PopupMenuDivider, ee as PopupMenuItem, ef as PopupMenuItemProps, eg as PopupMenuLabel, eh as PopupMenuProps, ei as PopupSubmenu, ej as PopupSubmenuProps, ek as PortalBrandingContextValue, el as PortalBrandingProvider, em as PortalBrandingProviderProps, en as ProductionTimeline, eo as ProductionTimelineProps, ep as ProductionTimelineSnapshot, eq as ProgressItem, er as PublicPortal, es as PublicPortalBranding, et as RADAR_SERIES_CAP, eu as RadarAxis, ev as RadarChart, ew as RadarChartProps, ex as RadarSeries, ey as RadialBarChart, ez as RadialBarChartProps, eA as RadialBarRow, eB as Radio, eC as RadioGroup, eD as RadioGroupOption, eE as RadioGroupOrientation, eF as RadioGroupProps, eG as RadioProps, eH as Range, eI as RangeChart, eJ as RangeChartProps, eK as RangeRow, eL as RankedBars, eM as RankedBarsProps, eN as RankedBarsRow, eO as ResizeHandle, eP as ResizeHandleProps, eQ as ResizeHandleSide, eR as ResolvedPortalBrandAsset, eS as Result, eT as ResultProps, eU as ResultStatus, eV as RevealDirection, eW as SCATTER_SERIES_CAP, eX as SERIES_SLOT_COUNT, eY as SERIES_VARS, eZ as SHELL_LANGUAGE_STORAGE_KEY, e_ as SHIFT, e$ as STAGES, f0 as STALE_CHUNK_RELOAD_COOLDOWN_MS, f1 as STALE_CHUNK_RELOAD_KEY, f2 as STATUS_VARS, f3 as SankeyChart, f4 as SankeyChartProps, f5 as SankeyLink, f6 as SankeyNode, f7 as ScatterChart, f8 as ScatterChartProps, f9 as ScatterPoint, fa as ScatterSeries, S as SearchConfig, fb as SearchListRoute, fc as SearchProvider, fd as SearchQuickAction, fe as SearchResponse, ff as SearchResult, fg as SearchableItem, fh as SearchableOption, fi as SearchableOptionGroup, fj as SearchableSelect, fk as SearchableSelectBaseProps, fl as SearchableSelectMultipleProps, fm as SearchableSelectProps, fn as Segmented, fo as SegmentedOption, fp as SegmentedProps, fq as SegmentedSize, fr as Select, fs as SelectBaseProps, ft as SelectItem, fu as SelectMultipleProps, fv as SelectOption, fw as SelectOptionGroup, fx as SelectProps, fy as SemanticGroup, fz as SettingRow, fA as SettingRowProps, fB as SeverityTone, fE as ShellLanguage, fF as ShellLanguageProvider, fG as ShellLanguageState, fH as ShellPrefsAdapter, fI as ShellPrefsProvider, fJ as ShellStrings, fK as ShellStringsOverride, fL as ShellStringsProvider, fM as SidebarActionButton, fN as SidebarActionButtonProps, fO as SidebarGroupLabel, fP as SidebarGroupLabelProps, fQ as SidebarLayout, fR as SidebarLayoutProps, fS as SidebarNavGroup, fT as SidebarNavGroupProps, fU as SidebarNavItem, fV as SidebarNavItemProps, fW as Skeleton, fX as SkeletonProps, fY as SkeletonVariant, fZ as Slider, f_ as SliderProps, f$ as SliderSize, g0 as Snippet, g1 as SnippetProps, g2 as SnippetSize, g3 as SnippetVariant, a as SortState, g4 as SortableList, g5 as SortableListProps, g6 as SortableListSpacing, g7 as Sparkline, g8 as SparklineProps, g9 as Stack, ga as StackProps, gb as StaleChunkReloadOptions, gc as StatCard, gd as StatCardProps, ge as StatTile, gf as StatTileProps, gg as Statistic, gh as StatisticProps, gi as StatisticSize, gj as StatisticTone, gk as StatusBadge, gl as StatusBadgeProvider, gm as StatusEmphasis, gn as StepItem, go as Stepper, gp as StepperProps, gq as StrokeVariant, gr as SunburstChart, gs as SunburstChartProps, gt as SunburstNode, gu as Switch, gv as SwitchProps, gw as SwitchSize, gx as TabItem, gy as Tabs, gz as TabsProps, gA as TagInput, gB as TagInputOption, gC as TagInputProps, gD as Text, gE as TextProps, gF as TextSize, gG as TextTone, gH as TextWeight, gI as Textarea, gJ as TextareaProps, gK as Theme, gL as TileButton, gM as TileButtonProps, gN as TileSize, gO as TimeAgo, gP as TimeAgoProps, gQ as TimePicker, gR as TimePickerProps, gS as TimeSeriesChart, gT as TimeSeriesChartProps, gU as TimeSeriesSeries, gV as TimelineMarker, gW as TimelineMarkerKind, gX as TimelineReport, gY as TimelineScrubProgress, gZ as TimelineTrack, g_ as TimelineTrackItem, g$ as TimelineTrackKind, h0 as TimelineTrackPending, h1 as TimelineTrackPhase, h2 as TimelineTrackPlayback, h3 as TimelineTrackProps, h4 as TimelineTrackThumb, h5 as Title, h6 as TitleLevel, h7 as TitleProps, h8 as ToastOptions, h9 as ToastPlacement, ha as Tooltip, hb as TooltipProps, hc as TopNav, hd as TopNavItem, he as TopNavProps, hf as Tree, hg as TreeDrop, hh as TreeEmptySlot, hi as TreeEmptySlotProps, hj as TreeGroup, hk as TreeGroupLabel, hl as TreeGroupProps, hm as TreeMove, hn as TreeProps, ho as TreeRow, hp as TreeRowProps, hq as TreeSeam, hr as TreeSeamProps, hs as TreemapChart, ht as TreemapChartProps, hu as TreemapItem, hv as TreemapTile, hw as UseAppUpdateOptions, hx as UseContextMenu, hy as UseProductionTimelineOpts, hz as VERSION, hA as VITE_PRELOAD_ERROR_EVENT, hB as WaterfallChart, hC as WaterfallChartProps, hD as WaterfallStep, hE as ZLayer, hF as Z_LAYERS, hG as angleScale, hH as appendKey, hI as applyCorners, hJ as applyIconSet, hK as applyThemePrefs, hL as arcPath, hM as areaBetween, hN as areaFrom, hO as autoHighlightIndex, hP as backspace, hQ as bandScale, hR as binValues, hS as budgetState, hT as bumpPath, hU as buttonClasses, hV as calcOverall, hW as calcReportOverall, hX as colorFill, hY as colorSwatchClasses, hZ as confirm, h_ as confirmDestructive, h$ as curvePath, i0 as dashFor, i2 as dismissPopups, i3 as fillFor, i4 as fillId, i5 as fmtSliderDate, i6 as fromDateKey, i7 as glassStyle, i8 as glowId, i9 as groundId, ia as groupColors, ib as hexToHsv, ic as highlightOpacity, id as hsvToHex, ie as iconButtonClasses, ig as inputClasses, ih as installStaleChunkReload, ii as isMac, ij as isSeverityTone, ik as isStaleChunkError, im as labelClasses, io as ladderScale, ip as leavesContextMenuAlone, iq as linearPath, ir as linearScale, is as logScale, it as maskId, iu as matchShellLanguage, iv as mediaFileName, iw as monotonePath, ix as niceMax, iy as openGlobalSearch, iz as parseHexColor, iA as polygonPoints, iB as popupBounds, iC as prompt, iD as pushRecentSearch, iE as radiusScale, iF as readSavedShellLanguage, iG as registerModalEscapeInterceptor, iH as resolveBrandMarkTreatment, iI as resolveCorners, iJ as resolvePortalBrandAsset, iK as resolveSeriesColor, iL as resolveShellLanguage, iM as resolveTheme, iN as sanitizeRecentSearches, iO as saveShellLanguage, iP as seriesColor, iQ as severityOf, iR as splinePath, iS as squarify, iT as stagger, iU as stepPath, iV as tabButtonId, iW as tabPanelId, iX as toDateKey, iY as toDayMs, iZ as toISODate, i_ as toast, i$ as useAppUpdate, j0 as useClickOutside, j1 as useConfirm, j2 as useContextMenu, j3 as useDebouncedValue, j4 as useDropdownPosition, j5 as useFocusTrap, j6 as useHighlight, j7 as useIsMobile, j8 as useLocalStoragePrefs, j9 as usePlotWidth, ja as usePortalBranding, jb as useProductionTimeline, jc as useScrollLock, jd as useShellLanguage, je as useShellLocale, jf as useShellPrefs, jg as useShellStrings, jh as useStatusLabel, ji as useTheme } from '../index-Dod08dsC.js';
|
|
1
|
+
export { A as ALT, b as ALT_SHIFT_D, c as ALT_SHIFT_E, d as ALT_SHIFT_N, e as APP_UPDATE_POLL_MS, f as Accordion, g as AccordionItem, h as AccordionProps, i as Align, j as AngleScale, k as AppUpdateBanner, l as AppUpdateBannerProps, m as AttachButton, n as AttachButtonProps, o as AttachmentDropZone, p as AttachmentDropZoneProps, q as AttachmentList, r as AttachmentListProps, s as AuthScreen, t as AuthScreenProps, u as Avatar, v as AvatarGroup, w as AvatarGroupProps, x as AvatarProps, y as AvatarSize, z as AvatarStatus, B as BackgroundVariant, D as BandScale, E as Banner, F as BannerEmphasis, G as BannerProps, H as BannerTone, I as BarChart, J as BarChartProps, K as BoxPlotBox, L as BoxPlotChart, M as BoxPlotChartProps, N as BrandAssetEditor, O as BrandAssetEditorProps, Q as BrandAssetPreview, R as BrandMark, T as BrandMarkProps, U as BrandMarkSlot, V as BrandMarkSurface, W as BrandMarkTreatment, X as BreadcrumbItem, Y as Breadcrumbs, Z as BreadcrumbsProps, _ as BudgetBar, $ as BudgetBarProps, a0 as BudgetState, a1 as Button, a2 as ButtonClassesOptions, a3 as ButtonProps, a4 as ButtonSize, a5 as ButtonVariant, a6 as CHART_INK, a7 as CMD_A, a8 as CMD_DOT, a9 as CMD_ENTER, aa as CMD_K, ab as CMD_S, ac as CORNERS, ad as Calendar, ae as CalendarMode, af as CalendarProps, ag as Candle, ah as CandlestickChart, ai as CandlestickChartProps, aj as Card, ak as CardPadding, al as CardProps, am as CartesianPlot, an as CartesianPlotProps, ao as CellStyle, ap as ChartBackgroundVariant, aq as ChartBrush, ar as ChartBrushProps, as as ChartCurve, at as ChartDefs, au as ChartDefsProps, av as ChartDot, aw as ChartDotProps, ax as ChartDotVariant, ay as ChartFillVariant, az as ChartFrame, aA as ChartFrameProps, aB as ChartHighlightProvider, aC as ChartLegendEntry, aD as ChartLegendSwatch, aE as ChartRange, aF as ChartReferenceLine, aG as ChartRevealDirection, aH as ChartSkeleton, aI as ChartSkeletonProps, aJ as ChartStatusTone, aK as ChartStrokeVariant, aL as ChartTooltip, aM as ChartTooltipProps, aN as ChartTooltipRow, aO as ChatTemplate, aP as Checkbox, aQ as CheckboxProps, aR as CheckoutTemplate, aS as ChordChart, aT as ChordChartProps, aU as ColorPicker, aV as ColorPickerPanel, aW as ColorPickerPanelProps, aX as ColorPickerProps, aY as ColorPreset, aZ as ColorSwatch, a_ as ColorSwatchProps, a$ as ColorSwatchSize, b0 as ColoredBadge, b1 as ColoredBadgeProps, b2 as ColumnChart, b3 as ColumnChartProps, C as ColumnDef, b4 as ColumnSeries, b5 as ComposerAttachments, b6 as ComposerAttachmentsProps, b7 as ConfirmProvider, b8 as ContainerFillChart, b9 as ContainerFillChartProps, ba as ContainerFillItem, bb as ContextMenu, bc as ContextMenuPoint, bd as ContextMenuProps, be as ContextMenuState, bf as Corners, bg as CountBadge, bh as CountBadgeProps, bi as CountBadgeTone, bj as Curve, bk as DAY_MS, bl as DashboardTemplate, bm as DataTable, bn as DataTableColumn, bo as DataTableColumnGroup, bp as DataTableHeader, bq as DataTablePage, br as DataTableProps, bs as DataTableRowLink, bt as DataTableRowProps, bu as DatePicker, bv as DatePickerProps, bw as DateRangePicker, bx as DateRangePickerProps, by as DateTimePicker, bz as DateTimePickerProps, bA as DescriptionColumns, bB as DescriptionItem, bC as DescriptionList, bD as DescriptionListProps, bE as Dialog, bF as DialogProps, bG as DialogSize, bH as Divider, bI as DividerProps, bJ as DividerSpacing, bK as DonutChart, bL as DonutChartProps, bM as DonutSegment, bN as Drawer, bO as DrawerProps, bP as DrawerSide, bQ as DrawerSize, bR as DropdownMenu, bS as DropdownMenuAlign, bT as DropdownMenuCheckboxItem, bU as DropdownMenuDividerItem, bV as DropdownMenuEntry, bW as DropdownMenuItem, bX as DropdownMenuLabelItem, bY as DropdownMenuLinkItem, bZ as DropdownMenuProps, b_ as DropdownMenuRadioItem, b$ as DropdownMenuSide, c0 as DropdownPositionOptions, c1 as ENGLISH, c2 as ENTER, c3 as EditableGrid, c4 as EditableGridProps, c5 as EmailTemplate, c6 as EmptyState, c7 as EmptyStateProps, c8 as EmptyValue, c9 as EmptyValueProps, ca as ErrorBoundary, cb as ErrorBoundaryProps, cc as ErrorPage, cd as ErrorPageProps, ce as FileIntake, cf as FilePicker, cg as FilePickerProps, ch as FillVariant, ci as FormError, cj as FormErrorSummary, ck as FormErrorSummaryProps, cl as FormField, cm as FormFieldProps, cn as FormLayoutPage, co as FunnelChart, cp as FunnelChartProps, cq as FunnelStage, cr as GLASS_DIVIDER, ct as GROUP_COLORS, cu as GROUP_COLORS_SOLID, cv as GalleryTemplate, cw as Gap, cx as GlassOptions, cy as GlobalSearch, cz as GlobalSearchProps, cA as Grid, cB as GridCols, cC as GridColumn, cD as GridProps, cE as HeatmapChart, cF as HeatmapChartProps, cG as HelpCenter, cH as HelpCenterDoc, cI as HelpCenterProps, cJ as HexInput, cK as HistogramBin, cL as HistogramChart, cM as HistogramChartProps, cN as Hsv, cO as INPUT_BASE, cP as INPUT_SIZES, cQ as IconButton, cR as IconButtonClassesOptions, cS as IconButtonProps, cT as IconRail, cU as IconRailButton, cV as IconRailButtonProps, cW as IconRailLabels, cX as IconRailLabelsShown, cY as IconRailOrientation, cZ as IconRailProps, c_ as Inline, c$ as InlineProps, d0 as Input, d1 as InputNumber, d2 as InputNumberProps, d3 as InputProps, d4 as InputSize, d5 as Justify, d6 as Kanban, d7 as KanbanColumn, d8 as KanbanProps, d9 as Kbd, da as KbdProps, db as KbdSize, dc as Label, dd as LabelClassesOptions, de as LabelProps, df as LadderScale, dg as LanguagePanel, dh as LanguagePanelProps, di as LanguageSelect, dj as LanguageSelectProps, dk as LineChart, dl as LineChartProps, dm as LineChartSeries, dn as LinearScale, dp as ListDrop, dq as ListFooter, dr as ListLoadError, ds as ListLoadErrorProps, dt as ListMove, du as ListRow, dv as ListRowProps, dw as LoadingSpinner, dx as LoadingSpinnerProps, dy as MAX_FRACTION_DIGITS, dz as MENU_MAX_HEIGHT, dA as MOD, dB as MOTION, dC as Markdown, dC as MarkdownLite, dD as MarkdownLiteProps, dD as MarkdownProps, dE as MediaUploadField, dF as MediaUploadFieldProps, dG as MediaUploadGrid, dH as MediaUploadGridItem, dI as MediaUploadGridProps, dJ as MenuPos, dK as Meter, dL as MeterProps, dM as MetricBar, dN as MetricBarProps, dO as Milestone, dP as MilestoneKind, dQ as MilestoneTimeline, dR as MilestoneTimelineProps, dT as NEXT_CHUNK_PATH_PREFIX, dU as NativeSelect, dV as NumericKeypad, dW as NumericKeypadProps, dX as OVERLAY_OPEN_EVENT, dY as POPUP_MAX_WIDTH, dZ as POST_PRODUCTION_STATUSES, d_ as PageHeader, d$ as PageHeaderProps, P as PaginatedResponse, e0 as Pagination, e1 as PaginationProps, e2 as PaperclipGlyph, e3 as Paragraph, e4 as ParagraphProps, e5 as PieChart, e6 as PieChartProps, e7 as PieSegment, e8 as PlotGeometry, e9 as Point, ea as Popover, eb as PopoverAlign, ec as PopoverProps, ed as PopoverRenderProps, ee as PopoverSide, ef as PopupMenu, eg as PopupMenuDivider, eh as PopupMenuItem, ei as PopupMenuItemProps, ej as PopupMenuLabel, ek as PopupMenuProps, el as PopupSubmenu, em as PopupSubmenuProps, en as PortalBrandingContextValue, eo as PortalBrandingProvider, ep as PortalBrandingProviderProps, eq as ProductionTimeline, er as ProductionTimelineProps, es as ProductionTimelineSnapshot, et as ProgressItem, eu as PublicPortal, ev as PublicPortalBranding, ew as RADAR_SERIES_CAP, ex as RadarAxis, ey as RadarChart, ez as RadarChartProps, eA as RadarSeries, eB as RadialBarChart, eC as RadialBarChartProps, eD as RadialBarRow, eE as Radio, eF as RadioGroup, eG as RadioGroupOption, eH as RadioGroupOrientation, eI as RadioGroupProps, eJ as RadioProps, eK as Range, eL as RangeChart, eM as RangeChartProps, eN as RangeRow, eO as RankedBars, eP as RankedBarsProps, eQ as RankedBarsRow, eR as ResizeHandle, eS as ResizeHandleProps, eT as ResizeHandleSide, eU as ResolvedPortalBrandAsset, eV as Result, eW as ResultProps, eX as ResultStatus, eY as RevealDirection, eZ as SCATTER_SERIES_CAP, e_ as SERIES_SLOT_COUNT, e$ as SERIES_VARS, f0 as SHELL_LANGUAGE_STORAGE_KEY, f1 as SHIFT, f2 as STAGES, f3 as STALE_CHUNK_RELOAD_COOLDOWN_MS, f4 as STALE_CHUNK_RELOAD_KEY, f5 as STATUS_VARS, f6 as SankeyChart, f7 as SankeyChartProps, f8 as SankeyLink, f9 as SankeyNode, fa as ScatterChart, fb as ScatterChartProps, fc as ScatterPoint, fd as ScatterSeries, S as SearchConfig, fe as SearchListRoute, ff as SearchProvider, fg as SearchQuickAction, fh as SearchResponse, fi as SearchResult, fj as SearchableItem, fk as SearchableOption, fl as SearchableOptionGroup, fm as SearchableSelect, fn as SearchableSelectBaseProps, fo as SearchableSelectMultipleProps, fp as SearchableSelectProps, fq as Segmented, fr as SegmentedOption, fs as SegmentedProps, ft as SegmentedSize, fu as Select, fv as SelectBaseProps, fw as SelectItem, fx as SelectMultipleProps, fy as SelectOption, fz as SelectOptionGroup, fA as SelectProps, fB as SemanticGroup, fC as SettingRow, fD as SettingRowProps, fE as SeverityTone, fH as ShellLanguage, fI as ShellLanguageProvider, fJ as ShellLanguageState, fK as ShellPrefsAdapter, fL as ShellPrefsProvider, fM as SidebarActionButton, fN as SidebarActionButtonProps, fO as SidebarGroupLabel, fP as SidebarGroupLabelProps, fQ as SidebarLayout, fR as SidebarLayoutProps, fS as SidebarNavGroup, fT as SidebarNavGroupProps, fU as SidebarNavItem, fV as SidebarNavItemProps, fW as Skeleton, fX as SkeletonProps, fY as SkeletonVariant, fZ as Slider, f_ as SliderProps, f$ as SliderSize, g0 as Snippet, g1 as SnippetProps, g2 as SnippetSize, g3 as SnippetVariant, a as SortState, g4 as SortableList, g5 as SortableListProps, g6 as SortableListSpacing, g7 as Sparkline, g8 as SparklineProps, g9 as Stack, ga as StackProps, gb as StaleChunkReloadOptions, gc as StatCard, gd as StatCardProps, ge as StatTile, gf as StatTileProps, gg as Statistic, gh as StatisticProps, gi as StatisticSize, gj as StatisticTone, gk as StatusBadge, gl as StatusBadgeProvider, gm as StatusEmphasis, gn as StepItem, go as Stepper, gp as StepperProps, gq as StrokeVariant, gr as SunburstChart, gs as SunburstChartProps, gt as SunburstNode, gu as Switch, gv as SwitchProps, gw as SwitchSize, gx as TabItem, gy as Tabs, gz as TabsProps, gA as TagInput, gB as TagInputOption, gC as TagInputProps, gD as Text, gE as TextProps, gF as TextSize, gG as TextTone, gH as TextWeight, gI as Textarea, gJ as TextareaProps, gK as Theme, gL as TileButton, gM as TileButtonProps, gN as TileSize, gO as TimeAgo, gP as TimeAgoProps, gQ as TimePicker, gR as TimePickerProps, gS as TimeSeriesChart, gT as TimeSeriesChartProps, gU as TimeSeriesSeries, gV as TimelineMarker, gW as TimelineMarkerKind, gX as TimelineReport, gY as TimelineScrubProgress, gZ as TimelineTrack, g_ as TimelineTrackItem, g$ as TimelineTrackKind, h0 as TimelineTrackPending, h1 as TimelineTrackPhase, h2 as TimelineTrackPlayback, h3 as TimelineTrackProps, h4 as TimelineTrackThumb, h5 as Title, h6 as TitleLevel, h7 as TitleProps, h8 as ToastOptions, h9 as ToastPlacement, ha as Tooltip, hb as TooltipProps, hc as TopNav, hd as TopNavItem, he as TopNavProps, hf as Tree, hg as TreeDrop, hh as TreeEmptySlot, hi as TreeEmptySlotProps, hj as TreeGroup, hk as TreeGroupLabel, hl as TreeGroupProps, hm as TreeMove, hn as TreeProps, ho as TreeRow, hp as TreeRowProps, hq as TreeSeam, hr as TreeSeamProps, hs as TreemapChart, ht as TreemapChartProps, hu as TreemapItem, hv as TreemapTile, hw as UseAppUpdateOptions, hx as UseContextMenu, hy as UseProductionTimelineOpts, hz as VERSION, hA as VITE_PRELOAD_ERROR_EVENT, hB as WaterfallChart, hC as WaterfallChartProps, hD as WaterfallStep, hE as ZLayer, hF as Z_LAYERS, hG as angleScale, hH as appendKey, hI as applyCorners, hJ as applyIconSet, hK as applyThemePrefs, hL as arcPath, hM as areaBetween, hN as areaFrom, hO as autoHighlightIndex, hP as backspace, hQ as bandScale, hR as binValues, hS as budgetState, hT as bumpPath, hU as buttonClasses, hV as calcOverall, hW as calcReportOverall, hX as colorFill, hY as colorSwatchClasses, hZ as confirm, h_ as confirmDestructive, h$ as curvePath, i0 as dashFor, i2 as dismissPopups, i3 as fillFor, i4 as fillId, i5 as fmtSliderDate, i6 as fromDateKey, i7 as glassStyle, i8 as glowId, i9 as groundId, ia as groupColors, ib as hexToHsv, ic as highlightOpacity, id as hsvToHex, ie as iconButtonClasses, ig as inputClasses, ih as installStaleChunkReload, ii as isMac, ij as isSeverityTone, ik as isStaleChunkError, im as labelClasses, io as ladderScale, ip as leavesContextMenuAlone, iq as linearPath, ir as linearScale, is as logScale, it as maskId, iu as matchShellLanguage, iv as mediaFileName, iw as monotonePath, ix as niceMax, iy as openGlobalSearch, iz as parseHexColor, iA as polygonPoints, iB as popupBounds, iC as prompt, iD as pushRecentSearch, iE as radiusScale, iF as readSavedShellLanguage, iG as registerModalEscapeInterceptor, iH as resolveBrandMarkTreatment, iI as resolveCorners, iJ as resolvePortalBrandAsset, iK as resolveSeriesColor, iL as resolveShellLanguage, iM as resolveTheme, iN as sanitizeRecentSearches, iO as saveShellLanguage, iP as seriesColor, iQ as severityOf, iR as splinePath, iS as squarify, iT as stagger, iU as stepPath, iV as tabButtonId, iW as tabPanelId, iX as toDateKey, iY as toDayMs, iZ as toISODate, i_ as toast, i$ as useAppUpdate, j0 as useClickOutside, j1 as useConfirm, j2 as useContextMenu, j3 as useDebouncedValue, j4 as useDropdownPosition, j5 as useFocusTrap, j6 as useHighlight, j7 as useIsMobile, j8 as useLocalStoragePrefs, j9 as usePlotWidth, ja as usePortalBranding, jb as useProductionTimeline, jc as useScrollLock, jd as useShellLanguage, je as useShellPrefs, jf as useStatusLabel, jg as useTheme } from '../index-BS_HzJCc.js';
|
|
2
2
|
export { FileIntakeAlert, FileIntakeLimits, FileIntakeOptions, FileRejection, FileRejectionReason, acceptsFile, useFileIntake } from '../file-intake/index.js';
|
|
3
3
|
export { ICON_NAMES, Icon, IconName, IconProps, IconTone, isIconName } from '../icons/index.js';
|
|
4
4
|
export { a as IconDrawing, I as IconSet, b as activeIconSet, i as iconSets, c as iconsVersion, r as registerIconSet, d as registerIcons, e as resolveIcon, s as setDefaultIconSet, f as setIconSet, g as subscribeIcons } from '../registry-FHdUeVww.js';
|
|
5
|
+
export { D as DEFAULT_SHELL_STRINGS, a as ShellStrings, S as ShellStringsOverride, b as ShellStringsProvider, u as useShellLocale, c as useShellStrings } from '../strings-C3kt6WTH.js';
|
|
5
6
|
export { C as CurrencyFormat, D as DATE_FORMAT_OPTIONS, a as DateFormatKey, E as EMPTY_VALUE, F as FormatDateOptions, b as FormatMoneyOptions, T as TZ_AUTO, c as TimeAgoOptions, d as currencyDecimals, e as currencySymbol, f as firstDayOfWeek, g as formatBytes, h as formatDate, i as formatDateTime, j as formatMoney, k as formatTime, l as getUserDateFormat, m as getUserTimezone, s as setCurrencyFormats, n as setUserDateFormat, o as setUserTimezone, p as syncTimezoneFromProfile, t as timeAgo } from '../index-DpUDK9zG.js';
|
|
6
7
|
import 'react';
|
|
7
8
|
import 'react/jsx-runtime';
|
package/dist/ui/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
export{APP_UPDATE_POLL_MS,Accordion,AppUpdateBanner,AttachButton,AttachmentDropZone,AttachmentList,AuthScreen,Avatar,AvatarGroup,Banner,BarChart,BoxPlotChart,BrandAssetEditor,BudgetBar,CHART_INK,CORNERS,Calendar,CandlestickChart,Card,CartesianPlot,ChartBrush,ChartDefs,ChartDot,ChartFrame,ChartHighlightProvider,ChartSkeleton,ChartTooltip,ChatTemplate,Checkbox_default as Checkbox,CheckoutTemplate,ChordChart,ColorPicker,ColorPickerPanel,ColorSwatch,ColoredBadge,ColumnChart,ComposerAttachments,ContainerFillChart,ContextMenu,CountBadge,DAY_MS,DashboardTemplate,DataTable,DataTablePage,DatePicker_default as DatePicker,DateRangePicker,DateTimePicker_default as DateTimePicker,DescriptionList,Divider,DonutChart,Drawer,DropdownMenu,
|
|
2
|
+
export{APP_UPDATE_POLL_MS,Accordion,AppUpdateBanner,AttachButton,AttachmentDropZone,AttachmentList,AuthScreen,Avatar,AvatarGroup,Banner,BarChart,BoxPlotChart,BrandAssetEditor,BudgetBar,CHART_INK,CORNERS,Calendar,CandlestickChart,Card,CartesianPlot,ChartBrush,ChartDefs,ChartDot,ChartFrame,ChartHighlightProvider,ChartSkeleton,ChartTooltip,ChatTemplate,Checkbox_default as Checkbox,CheckoutTemplate,ChordChart,ColorPicker,ColorPickerPanel,ColorSwatch,ColoredBadge,ColumnChart,ComposerAttachments,ContainerFillChart,ContextMenu,CountBadge,DAY_MS,DashboardTemplate,DataTable,DataTablePage,DatePicker_default as DatePicker,DateRangePicker,DateTimePicker_default as DateTimePicker,DescriptionList,Divider,DonutChart,Drawer,DropdownMenu,EmailTemplate,EmptyState,EmptyValue,ErrorBoundary,ErrorPage,FilePicker_default as FilePicker,FormErrorSummary,FormField,FormLayoutPage,FunnelChart,GROUP_COLORS,GROUP_COLORS_SOLID,GalleryTemplate,Grid,HeatmapChart,HelpCenter,HexInput,HistogramChart,INPUT_BASE,INPUT_SIZES,IconButton_default as IconButton,IconRail,IconRailButton,Inline,Input_default as Input,InputNumber_default as InputNumber,Kanban,Label,LanguagePanel,LanguageSelect,LineChart,ListFooter,ListLoadError,ListRow,MAX_FRACTION_DIGITS,MOTION,Markdown,Markdown as MarkdownLite,MediaUploadField,MediaUploadGrid,Meter,MetricBar,MilestoneTimeline,NativeSelect,NumericKeypad,POST_PRODUCTION_STATUSES,PageHeader,Pagination,PaperclipGlyph,Paragraph,PieChart,Popover,PortalBrandingProvider,ProductionTimeline,RADAR_SERIES_CAP,RadarChart,RadialBarChart,Radio_default as Radio,RadioGroup,RangeChart,RankedBars,SCATTER_SERIES_CAP,SERIES_SLOT_COUNT,SERIES_VARS,STAGES,STATUS_VARS,SankeyChart,ScatterChart,SearchableSelect,Segmented,Select_default as Select,SettingRow,SidebarActionButton,SidebarGroupLabel,SidebarNavGroup,SidebarNavItem,Skeleton,Slider,Snippet,SortableList,Sparkline,Stack,StatCard,StatTile,Statistic,StatusBadge,StatusBadgeProvider,Stepper,SunburstChart,Switch_default as Switch,Tabs,TagInput,Text,Textarea_default as Textarea,TileButton_default as TileButton,TimeAgo,TimePicker_default as TimePicker,TimeSeriesChart,TimelineTrack,Title,TopNav,Tree,TreeEmptySlot,TreeGroup,TreeGroupLabel,TreeRow,TreeSeam,TreemapChart,WaterfallChart,angleScale,appendKey,applyCorners,applyIconSet,applyThemePrefs,arcPath,areaBetween,areaFrom,autoHighlightIndex,backspace,bandScale,binValues,budgetState,bumpPath,calcOverall,calcReportOverall,colorFill,colorSwatchClasses,curvePath,dashFor,fillFor,fillId,fmtSliderDate,fromKey as fromDateKey,glowId,groundId,groupColors,hexToHsv,highlightOpacity,hsvToHex,inputClasses,isSeverityTone,labelClasses,ladderScale,linearPath,linearScale,logScale,maskId,mediaFileName,monotonePath,niceMax,parseHexColor,polygonPoints,radiusScale,resolveCorners,resolvePortalBrandAsset,resolveSeriesColor,resolveTheme,seriesColor,severityOf,splinePath,squarify,stagger,stepPath,tabButtonId,tabPanelId,toKey as toDateKey,toDayMs,toISODate,useAppUpdate,useClickOutside,useContextMenu,useDebouncedValue,useHighlight,usePlotWidth,usePortalBranding,useProductionTimeline,useStatusLabel,useTheme}from"../chunk-AZO5NPB4.js";export{Breadcrumbs}from"../chunk-LCTSBQBJ.js";export{BrandMark,GlobalSearch,openGlobalSearch,pushRecent as pushRecentSearch,resolveBrandMarkTreatment,sanitizeRecent as sanitizeRecentSearches}from"../chunk-7H6Q5TNN.js";export{EditableGrid}from"../chunk-RKR5V4QR.js";import"../chunk-BR22X7E5.js";export{ResizeHandle,SidebarLayout}from"../chunk-PE6MTNFO.js";export{ENGLISH,SHELL_LANGUAGE_STORAGE_KEY,ShellLanguageProvider,matchShellLanguage,readSavedShellLanguage,resolveShellLanguage,saveShellLanguage,useShellLanguage}from"../chunk-KDHXRJIX.js";export{VERSION}from"../chunk-MFXG5BWL.js";export{toast_default as toast}from"../chunk-L3U2R7DH.js";export{ALT,ALT_SHIFT_D,ALT_SHIFT_E,ALT_SHIFT_N,CMD_A,CMD_DOT,CMD_ENTER,CMD_K,CMD_S,ENTER,Kbd,LoadingSpinner,MOD,NEXT_CHUNK_PATH_PREFIX,Result,SHIFT,STALE_CHUNK_RELOAD_COOLDOWN_MS,STALE_CHUNK_RELOAD_KEY,ShellPrefsProvider,VITE_PRELOAD_ERROR_EVENT,installStaleChunkReload,isMac,isStaleChunkError,useIsMobile,useLocalStoragePrefs,useShellPrefs}from"../chunk-YJRC6IKD.js";import"../chunk-5A7MWTXX.js";export{Button_default as Button,MENU_MAX_HEIGHT,POPUP_MAX_WIDTH,Tooltip,buttonClasses,iconButtonClasses,popupBounds,useDropdownPosition}from"../chunk-OGXU7QFW.js";export{ConfirmProvider,Dialog,confirm,confirmDestructive,prompt,useConfirm,useFocusTrap,useScrollLock}from"../chunk-XJYXKO7K.js";export{PopupMenu,PopupMenuDivider,PopupMenuItem,PopupMenuLabel,PopupSubmenu,leavesContextMenuAlone}from"../chunk-AA4TMQOS.js";import"../chunk-AFYQTVZO.js";export{GLASS_DIVIDER,glassStyle}from"../chunk-HZZNJHRH.js";export{OVERLAY_OPEN_EVENT,Z_LAYERS,dismissPopups,registerModalEscapeInterceptor}from"../chunk-X4FJ54PP.js";import"../chunk-D65T4H6J.js";export{FileIntakeAlert,acceptsFile,useFileIntake}from"../chunk-REXHKIIJ.js";export{DEFAULT_SHELL_STRINGS,ShellStringsProvider,useShellLocale,useShellStrings}from"../chunk-3YTHR7IC.js";export{DATE_FORMAT_OPTIONS,EMPTY_VALUE,TZ_AUTO,currencyDecimals,currencySymbol,firstDayOfWeek,formatBytes,formatDate,formatDateTime,formatMoney,formatTime,getUserDateFormat,getUserTimezone,setCurrencyFormats,setUserDateFormat,setUserTimezone,syncTimezoneFromProfile,timeAgo}from"../chunk-W32SKK3D.js";export{ICON_NAMES,isIconName}from"../chunk-FWOPZB6I.js";export{Icon,activeIconSet,iconSets,iconsVersion,registerIconSet,registerIcons,resolveIcon,setDefaultIconSet,setIconSet,subscribeIcons}from"../chunk-YKZHOXI4.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "efficient-shell",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.177.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",
|
|
@@ -68,6 +68,11 @@
|
|
|
68
68
|
"import": "./dist/ui/index.js",
|
|
69
69
|
"default": "./dist/ui/index.js"
|
|
70
70
|
},
|
|
71
|
+
"./i18n": {
|
|
72
|
+
"types": "./dist/i18n/index.d.ts",
|
|
73
|
+
"import": "./dist/i18n/index.js",
|
|
74
|
+
"default": "./dist/i18n/index.js"
|
|
75
|
+
},
|
|
71
76
|
"./icons": {
|
|
72
77
|
"types": "./dist/icons/index.d.ts",
|
|
73
78
|
"import": "./dist/icons/index.js",
|
|
@@ -105,6 +110,7 @@
|
|
|
105
110
|
"@tanstack/react-query": ">=5",
|
|
106
111
|
"axios": ">=1.6",
|
|
107
112
|
"dxf-viewer": "*",
|
|
113
|
+
"i18next": ">=26",
|
|
108
114
|
"lucide-react": ">=0.577",
|
|
109
115
|
"mammoth": "*",
|
|
110
116
|
"maplibre-gl": ">=6",
|
|
@@ -113,6 +119,7 @@
|
|
|
113
119
|
"react": ">=18",
|
|
114
120
|
"react-dom": ">=18",
|
|
115
121
|
"react-hook-form": ">=7",
|
|
122
|
+
"react-i18next": ">=17",
|
|
116
123
|
"react-markdown": ">=10",
|
|
117
124
|
"react-router-dom": ">=6",
|
|
118
125
|
"remark-breaks": ">=4",
|
|
@@ -133,6 +140,7 @@
|
|
|
133
140
|
"axios": "^1.15.2",
|
|
134
141
|
"dxf-viewer": "^1.0.47",
|
|
135
142
|
"esbuild": "^0.27.0",
|
|
143
|
+
"i18next": "^26.4.3",
|
|
136
144
|
"jsdom": "^26.1.0",
|
|
137
145
|
"lucide-react": "^1.55.0",
|
|
138
146
|
"mammoth": "^1.8.0",
|
|
@@ -143,6 +151,7 @@
|
|
|
143
151
|
"react": "^18.2.0",
|
|
144
152
|
"react-dom": "^18.2.0",
|
|
145
153
|
"react-hook-form": "^7.74.0",
|
|
154
|
+
"react-i18next": "^17.0.16",
|
|
146
155
|
"react-markdown": "^10.1.0",
|
|
147
156
|
"react-router-dom": "^7.14.2",
|
|
148
157
|
"remark-breaks": "^4.0.0",
|
|
@@ -192,6 +201,9 @@
|
|
|
192
201
|
"dxf-viewer": {
|
|
193
202
|
"optional": true
|
|
194
203
|
},
|
|
204
|
+
"i18next": {
|
|
205
|
+
"optional": true
|
|
206
|
+
},
|
|
195
207
|
"lucide-react": {
|
|
196
208
|
"optional": true
|
|
197
209
|
},
|
|
@@ -210,6 +222,9 @@
|
|
|
210
222
|
"react-hook-form": {
|
|
211
223
|
"optional": true
|
|
212
224
|
},
|
|
225
|
+
"react-i18next": {
|
|
226
|
+
"optional": true
|
|
227
|
+
},
|
|
213
228
|
"react-markdown": {
|
|
214
229
|
"optional": true
|
|
215
230
|
},
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import{loadAppearance as e,WidgetSettingsModal as t}from"./chunk-MVUYJAZT.js";import{useWidgetSettings as n}from"./chunk-X5LH3UOJ.js";import"./chunk-DSSLOQDW.js";import"./chunk-6TDPY7WG.js";import"./chunk-CQN5CFKA.js";import"./chunk-5A7MWTXX.js";import"./chunk-EXXHI5DO.js";import"./chunk-PGVUO7GB.js";import"./chunk-HZZNJHRH.js";import"./chunk-D65T4H6J.js";import"./chunk-FIGVDYJR.js";import"./chunk-AFYQTVZO.js";import"./chunk-X4FJ54PP.js";import"./chunk-S5QF4VFG.js";import"./chunk-YKZHOXI4.js";import{useState as r,useRef as l,useCallback as o,useEffect as i}from"react";import{jsxs as a,Fragment as c,jsx as s}from"react/jsx-runtime";var u="calc_appearance";function d(){const[d,h]=r("0"),[m,k]=r(null),[b,p]=r(null),[g,v]=r(!1),[x,y]=r(""),[N,f]=r([]),[C,$]=r(!1),[j,w]=r(()=>e(u)),[E,F]=r(!1),[S,T]=r(j),L=l(null);n(o(()=>{T({...j}),F(!0)},[j]));const A=o(e=>{y(""),h(t=>g||"0"===t?(v(!1),"."===e?"0.":e):"."===e&&t.includes(".")?t:t+e)},[g]),D=o(()=>{h("0"),k(null),p(null),v(!1)},[]),H=o((e,t,n)=>{switch(n){case"+":return e+t;case"-":return e-t;case"×":return e*t;case"÷":return 0===t?0:e/t;default:return t}},[]),O=o(e=>{const t=parseFloat(d);if(null!==m&&b&&!g){const e=H(m,t,b);h(String(e)),k(e),f(n=>[`${m} ${b} ${t} = ${e}`,...n].slice(0,20))}else k(t);p(e),v(!0)},[d,m,b,g,H]),W=o(()=>{if(null===m||!b)return;const e=parseFloat(d),t=H(m,e,b),n=`${m} ${b} ${e} =`;f(e=>[`${n} ${t}`,...e].slice(0,20)),y(n),h(String(t)),k(null),p(null),v(!0)},[d,m,b,H]),X=o(()=>{h(e=>String(parseFloat(e)/100))},[]),J=o(()=>{h(e=>e.startsWith("-")?e.slice(1):"0"===e?e:"-"+e)},[]);i(()=>{const e=e=>{const t=e.target.tagName;"INPUT"!==t&&"TEXTAREA"!==t&&"SELECT"!==t&&(e.key>="0"&&e.key<="9"?A(e.key):"."===e.key?A("."):"+"===e.key?O("+"):"-"===e.key?O("-"):"*"===e.key?O("×"):"/"===e.key?(e.preventDefault(),O("÷")):"Enter"===e.key||"="===e.key?("Enter"===e.key&&e.target instanceof Node&&L.current?.contains(e.target)&&e.preventDefault(),W()):"Escape"===e.key?D():"Backspace"===e.key?h(e=>e.length>1?e.slice(0,-1):"0"):"%"===e.key&&X())};return window.addEventListener("keydown",e),()=>window.removeEventListener("keydown",e)},[A,O,W,D,X]);const B="flex items-center justify-center rounded-lg text-sm font-medium transition-colors",V=`${B} bg-white border border-gray-200 text-gray-900 hover:bg-gray-50 active:bg-gray-100`,G=`${B} bg-blue-50 border border-blue-200 text-blue-700 hover:bg-blue-100 active:bg-blue-200`,I=`${B} bg-gray-100 border border-gray-200 text-gray-600 hover:bg-gray-200 active:bg-gray-300`,M=`${B} bg-blue-600 text-white hover:bg-blue-700 active:bg-blue-800`;/* @__PURE__ */
|
|
2
|
-
return a(c,{children:[
|
|
3
|
-
/* @__PURE__ */a("div",{ref:L,className:"flex flex-col h-full",style:{opacity:j.activeOpacity/100,backdropFilter:j.activeBlur>0?`blur(${j.activeBlur}px)`:void 0},children:[
|
|
4
|
-
/* @__PURE__ */a("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__ */s("div",{className:"flex flex-col justify-end flex-1 overflow-hidden",children:N.slice(0,3).reverse().map((e,t)=>/* @__PURE__ */s("div",{className:"text-[11px] text-slate-400 text-right font-mono truncate",children:e},t))}),(x||b&&null!==m)&&/* @__PURE__ */s("div",{className:"text-base text-slate-600 text-right font-mono",children:x||`${m} ${b} ${g?"":d}`}),
|
|
6
|
-
/* @__PURE__ */a("div",{className:"flex items-center gap-2",children:[
|
|
7
|
-
/* @__PURE__ */s("button",{onClick:()=>{navigator.clipboard.writeText(d),$(!0),setTimeout(()=>$(!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__ */s("svg",C?{className:"h-5 w-5 text-green-500",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:2,children:/* @__PURE__ */s("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M5 13l4 4L19 7"})}:{className:"h-5 w-5",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:2,children:/* @__PURE__ */s("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8 16H6a2 2 0 01-2-2V6a2 2 0 012-2h8a2 2 0 012 2v2m-6 12h8a2 2 0 002-2v-8a2 2 0 00-2-2h-8a2 2 0 00-2 2v8a2 2 0 002 2z"})})}),
|
|
8
|
-
/* @__PURE__ */s("div",{className:"text-right text-4xl font-mono font-bold text-slate-800 truncate flex-1",children:(e=>{const t=parseFloat(e);return isNaN(t)||e.endsWith(".")||e.endsWith(".0")||Math.abs(t)<1e15&&e.length<16?e:t.toExponential(6)})(d)})]})]}),
|
|
9
|
-
/* @__PURE__ */a("div",{className:"grid grid-cols-4 grid-rows-5 gap-1.5 flex-1 min-h-0 p-2",children:[
|
|
10
|
-
/* @__PURE__ */s("button",{onClick:D,className:I,children:"AC"}),
|
|
11
|
-
/* @__PURE__ */s("button",{onClick:J,className:I,children:"+/−"}),
|
|
12
|
-
/* @__PURE__ */s("button",{onClick:X,className:I,children:"%"}),
|
|
13
|
-
/* @__PURE__ */s("button",{onClick:()=>O("÷"),className:`${G} ${"÷"===b?"ring-2 ring-blue-400":""}`,children:"÷"}),
|
|
14
|
-
/* @__PURE__ */s("button",{onClick:()=>A("7"),className:V,children:"7"}),
|
|
15
|
-
/* @__PURE__ */s("button",{onClick:()=>A("8"),className:V,children:"8"}),
|
|
16
|
-
/* @__PURE__ */s("button",{onClick:()=>A("9"),className:V,children:"9"}),
|
|
17
|
-
/* @__PURE__ */s("button",{onClick:()=>O("×"),className:`${G} ${"×"===b?"ring-2 ring-blue-400":""}`,children:"×"}),
|
|
18
|
-
/* @__PURE__ */s("button",{onClick:()=>A("4"),className:V,children:"4"}),
|
|
19
|
-
/* @__PURE__ */s("button",{onClick:()=>A("5"),className:V,children:"5"}),
|
|
20
|
-
/* @__PURE__ */s("button",{onClick:()=>A("6"),className:V,children:"6"}),
|
|
21
|
-
/* @__PURE__ */s("button",{onClick:()=>O("-"),className:`${G} ${"-"===b?"ring-2 ring-blue-400":""}`,children:"−"}),
|
|
22
|
-
/* @__PURE__ */s("button",{onClick:()=>A("1"),className:V,children:"1"}),
|
|
23
|
-
/* @__PURE__ */s("button",{onClick:()=>A("2"),className:V,children:"2"}),
|
|
24
|
-
/* @__PURE__ */s("button",{onClick:()=>A("3"),className:V,children:"3"}),
|
|
25
|
-
/* @__PURE__ */s("button",{onClick:()=>O("+"),className:`${G} ${"+"===b?"ring-2 ring-blue-400":""}`,children:"+"}),
|
|
26
|
-
/* @__PURE__ */s("button",{onClick:()=>A("0"),className:`${V} col-span-2`,children:"0"}),
|
|
27
|
-
/* @__PURE__ */s("button",{onClick:()=>A("."),className:V,children:"."}),
|
|
28
|
-
/* @__PURE__ */s("button",{onClick:W,className:M,children:"="})]})]}),
|
|
29
|
-
/* @__PURE__ */s(t,{open:E,onClose:()=>F(!1),title:"Calculator Settings",appearance:S,onAppearanceChange:T,onSave:()=>{w(S),localStorage.setItem(u,JSON.stringify(S)),F(!1)}})]})}export{d as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export{ConfirmProvider,confirm,confirmDestructive,prompt,useConfirm}from"./chunk-FIGVDYJR.js";import"./chunk-AFYQTVZO.js";import"./chunk-X4FJ54PP.js";import"./chunk-S5QF4VFG.js";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export{PdfViewer as default,fitScale,pdfWasmParams}from"./chunk-UOZMVS4Y.js";import"./chunk-OZMDKNVR.js";import"./chunk-S5QF4VFG.js";
|
package/dist/chunk-A6ZY4XSQ.js
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import{navVisible as e,isReachable as t,visibleChildren as n,isSection as r}from"./chunk-5A7MWTXX.js";import{glassStyle as a}from"./chunk-HZZNJHRH.js";import{useDismissPopupsOnOpen as l}from"./chunk-AFYQTVZO.js";import{Z_LAYERS as o}from"./chunk-X4FJ54PP.js";import{useShellStrings as s}from"./chunk-S5QF4VFG.js";import{useState as i,useEffect as c,useRef as d,useMemo as u,useId as p,useCallback as y}from"react";import{jsx as f,jsxs as m}from"react/jsx-runtime";import{createPortal as h}from"react-dom";var b={favicon:"h-8 w-8",compact:"h-10 w-10",wordmark:"h-10 w-40"};function g(e){return e.trim().charAt(0).toLocaleUpperCase()||"·"}function x(e,t,n){return!1===e?"framed":null==e||null==t?"plate-light":t?"light"===n?"plate-dark":"bare":"dark"===n?"plate-light":"bare"}var v={"plate-light":"bg-white shadow-[0_2px_12px_var(--rosh-mark-plate-shadow)]","plate-dark":"bg-neutral-900 shadow-[0_2px_12px_var(--rosh-mark-plate-shadow-strong)]",framed:"border border-black/10 shadow-[0_2px_12px_var(--rosh-mark-plate-shadow)]",bare:""};function k(e,t,n){return"bare"===e?{}:"framed"===e?{borderRadius:t}:{borderRadius:t,padding:n}}function w({src:e,fallbackSrc:t,fallbackHasAlpha:n=null,fallbackIsLight:r=null,fallbackAdaptive:a,alt:l,slot:o="compact",surface:s="light",size:d,width:u,height:p,decorative:y=!1,fallbackMode:m="monogram",adaptive:h=!1,hasAlpha:w=null,isLight:N=null,treatmentPadding:_=4,treatmentRadius:A=8,className:L="",style:C}){const[$,T]=i(e||t||"");c(()=>{T(e||t||"")},[e,t]);const E=Boolean(t&&$===t&&$!==e),I=(E?a??h:h)?x(E?n:w,E?r:N,s):"bare",j=["inline-flex shrink-0 items-center justify-center overflow-hidden",null==d&&null==u&&null==p?b[o]:"","dark"===s?"text-white":"text-gray-700",v[I],L].filter(Boolean).join(" "),S={...k(I,A,_),...null==d?{width:u,height:p}:{width:d,height:d},...C};return $?/* @__PURE__ */f("span",{className:j,"data-brand-treatment":I,style:S,children:/* @__PURE__ */f("img",{src:$,alt:y?"":l,"data-brand-slot":o,className:"block max-h-full max-w-full",style:{objectFit:"contain"},onError:()=>T(e=>t&&e!==t?t:"")})}):"none"===m?null:/* @__PURE__ */f("span",{"data-brand-fallback":!0,"data-brand-slot":o,"aria-label":y?void 0:l,"aria-hidden":y||void 0,role:y?void 0:"img",className:`${j} rounded-md bg-gray-100 font-semibold`,style:S,children:y?null:g(l)})}function N(n,r){return e(n,r)?n.items.filter(n=>e(n,r)&&t(n,r)):[]}function _(e,r){return n(e,r).filter(e=>t(e,r))}function A(n,a,l){const o=new Set(a.erp),s=new Set(a.system),i=new Set(a.footer??[]),c=n.filter(r),d=e=>c.filter(t=>e.has(t.label)&&N(t,l).length>0);return{topItems:n.filter(e=>!r(e)).filter(n=>e(n,l)&&t(n,l)),erpSections:d(o),systemSections:d(s),virtualSections:(a.virtual??[]).filter(e=>e.items.length>0),footerSections:d(i),footerItems:(a.footerItems??[]).filter(n=>e(n,l)&&t(n,l))}}function L(e,t,n){return!!t&&e.some(e=>e.to===t||L(_(e,n),t,n))}var C="__page__";function $(e){const t=e.indexOf("?");if(t<0)return{path:e,search:""};const n=new URLSearchParams(e.slice(t+1));return{path:e.slice(0,t),search:n.get("search")??""}}function T(e,t,n){const r=function(e,t){const n=[],r=e=>{const a=_(e,t);0===a.length?n.push(e):a.forEach(r)};e.topItems.forEach(r);for(const n of[...e.erpSections,...e.systemSections,...e.footerSections])N(n,t).forEach(r);for(const t of e.virtualSections)t.items.forEach(r);return e.footerItems.forEach(r),n}(e,t);return Object.assign(async e=>{const t=e.trim().toLowerCase();if(!t)return[];const a=/* @__PURE__ */new Set,l=[];for(const e of r){const r=e.menuLabel??e.label;a.has(e.to)||!e.label.toLowerCase().includes(t)&&!r.toLowerCase().includes(t)||(a.add(e.to),l.push({type:n,label:e.label,entity_type:C,entity_id:e.to}))}return l.slice(0,8)},{destinations:r})}function E(e,t){if(!Array.isArray(e))return[];const n=[];for(const r of e){if(!r||"string"!=typeof r.entityType||"string"!=typeof r.entityId||"string"!=typeof r.label)continue;if("preview-file"===r.entityType)continue;const e="page"===r.entityType;n.push({type:e?t:"",label:r.label,entity_type:e?C:r.entityType,entity_id:r.entityId})}return n}var I="M21 21l-5.197-5.197m0 0A7.5 7.5 0 105.196 5.196a7.5 7.5 0 0010.607 10.607z";function j(e,t,n){return 0===n.length?null:{key:e,title:t,rows:n.map((e,t)=>({kind:"action",key:`action:${t}:${e.label}`,label:e.label,icon:e.icon,action:e})),count:n.length}}function S(e,t,n,r){return{type:e,label:t,entity_type:C,entity_id:`${n}?search=${encodeURIComponent(r.trim())}`}}function M(e,t,n,r,a){const l=function(e){const t=/* @__PURE__ */new Map;for(const n of e){const e=t.get(n.type);e?e.push(n):t.set(n.type,[n])}return Array.from(t,([e,t])=>({type:e,results:t}))}(e).map(e=>{const t=e.results.map((t,n)=>({kind:"result",key:`result:${e.type}:${t.entity_type}:${t.entity_id}:${n}`,label:t.label,sub:t.sub,result:t})),r=!!a?.truncatedTypes?.includes(e.type),l=r?a?.listRoutes?.[e.type]:void 0;if(a&&l){const r=a.seeAllLabel(l.label);t.push({kind:"seeAll",key:`seeall:${e.type}`,label:r,result:S(e.type,r,l.path,n)})}return{key:`type:${e.type}`,title:e.type,rows:t,count:e.results.length,truncated:r}}),o=j("actions",r,function(e,t){const n=t.trim().toLowerCase();return e&&n?e.filter(e=>e.label.toLowerCase().includes(n)||(e.keywords??[]).some(e=>e.toLowerCase().includes(n))):[]}(t,n));return o?[...l,o]:l}function R(e,t,n){return 0===n?0:Math.min(Math.max(e+t,0),n-1)}var D=(e,t)=>e.entity_type===t.entity_type&&e.entity_id===t.entity_id;function P(e,t,n=8){return[t,...e.filter(e=>!D(e,t))].slice(0,n)}function F(e){if(!Array.isArray(e))return[];const t=[];for(const n of e){if(!n||"object"!=typeof n)continue;const e=n;if("string"!=typeof e.type||"string"!=typeof e.label||"string"!=typeof e.entity_type||"string"!=typeof e.entity_id)continue;const r={type:e.type,label:e.label,entity_type:e.entity_type,entity_id:e.entity_id};"string"==typeof e.sub&&(r.sub=e.sub),t.some(e=>D(e,r))||t.push(r)}return t.slice(0,8)}function H(e){if(Array.isArray(e))return{results:e,truncatedTypes:[]};if(e&&"object"==typeof e&&Array.isArray(e.results)){const{results:t,truncatedTypes:n}=e;return{results:t,truncatedTypes:Array.isArray(n)?n:[]}}return{results:[],truncatedTypes:[]}}var K=[];function B(e,t,n){const[r,a]=i([]),[l,o]=i(K),[s,u]=i(!1),[p,f]=i("none"),m=d(function(){let e=0,t=null;const n=()=>{e+=1,t?.abort(),t=null};return{begin:()=>{n();const r=e,a=new AbortController;return t=a,{signal:a.signal,isCurrent:()=>r===e}},cancel:n}}());c(()=>{const r=m.current;if(e.length<n||!t||0===t.length)return r.cancel(),a(e=>0===e.length?e:[]),o(K),f("none"),void u(!1);u(!0);const l=setTimeout(async()=>{const n=r.begin(),l=await async function(e,t,n){const r=await Promise.all(e.map(async e=>{try{return{failed:!1,...H(await e(t,{signal:n}))}}catch(e){const t=n.aborted||function(e){if(!e||"object"!=typeof e)return!1;const{name:t,code:n}=e;return"AbortError"===t||"CanceledError"===t||"ERR_CANCELED"===n}(e);return{failed:!t,results:[],truncatedTypes:[]}}}));return{results:r.flatMap(e=>e.results),truncatedTypes:Array.from(new Set(r.flatMap(e=>e.truncatedTypes))),failed:r.filter(e=>e.failed).length}}(t,e,n.signal);n.isCurrent()&&(a(l.results),o(l.truncatedTypes),f(0===l.failed?"none":l.failed>=t.length?"all":"some"),u(!1))},250);return()=>{clearTimeout(l),r.cancel()}},[e,t,n]);return{results:r,truncatedTypes:l,loading:s,failure:p,reset:y(()=>{m.current.cancel(),a(e=>0===e.length?e:[]),o(K),f("none"),u(!1)},[])}}var z=(e,t)=>`${e}-opt-${t}`;function U(e,t){return"seeAll"===e.kind?"M13.5 4.5L21 12m0 0l-7.5 7.5M21 12H3":"action"===e.kind?e.icon??I:e.icon?e.icon:t?.[e.result.type]?t[e.result.type]:I}function O({sections:e,activeIdx:t,listId:n,label:r,typeIcons:a,groupCount:l,groupLabel:o,onHover:s,onPick:i}){let c=0;/* @__PURE__ */
|
|
2
|
-
return f("div",{id:n,role:"listbox","aria-label":r,className:"py-1",children:e.map(e=>/* @__PURE__ */m("div",{role:"group","aria-label":o(e.title,e.count,!!e.truncated),children:[
|
|
3
|
-
/* @__PURE__ */m("div",{"aria-hidden":"true",className:"flex items-center justify-between px-4 pt-2 pb-1 text-[11px] font-semibold uppercase tracking-wide text-gray-400",children:[
|
|
4
|
-
/* @__PURE__ */f("span",{children:e.title}),
|
|
5
|
-
/* @__PURE__ */f("span",{className:"font-medium normal-case tracking-normal",children:l(e.count,!!e.truncated)})]}),e.rows.map(e=>{const r=c++,l=r===t,o="action"===e.kind||"seeAll"===e.kind?void 0:e.badge,d="action"===e.kind||"seeAll"===e.kind?void 0:e.sub,u="seeAll"===e.kind;/* @__PURE__ */
|
|
6
|
-
return m("div",{id:z(n,r),role:"option","aria-selected":l,className:"flex items-center gap-3 w-full px-4 py-2.5 text-left cursor-pointer transition-colors "+(l?"bg-blue-50":"hover:bg-gray-50"),onMouseDown:e=>e.preventDefault(),onClick:()=>i(e),onMouseEnter:()=>s(r),children:[
|
|
7
|
-
/* @__PURE__ */f("svg",{className:"h-4 w-4 text-gray-400 shrink-0",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:1.5,"aria-hidden":"true",children:/* @__PURE__ */f("path",{strokeLinecap:"round",strokeLinejoin:"round",d:U(e,a)})}),
|
|
8
|
-
/* @__PURE__ */m("div",{className:"flex-1 min-w-0",children:[
|
|
9
|
-
/* @__PURE__ */f("p",{className:"text-sm font-medium truncate "+(u?"text-blue-600":"text-gray-900"),children:e.label}),d&&/* @__PURE__ */f("p",{className:"text-xs text-gray-400 truncate",children:d})]}),o&&/* @__PURE__ */f("span",{className:"shrink-0 rounded-full bg-gray-100 px-2 py-0.5 text-[10px] font-medium text-gray-500",children:o})]},e.key)})]},e.key))})}var V="react-os-shell:open-global-search";function W(){"undefined"!=typeof window&&window.dispatchEvent(new CustomEvent(V))}function X({providers:e,typeIcons:t,listRoutes:n,placeholder:r,quickActions:b,onSelect:g,recent:x,onRecord:v,favorites:k}={}){const w=s().search,N=r??w.placeholder,[_,A]=i(!1),[L,C]=i(""),[$,T]=i(0),E=d(null),{results:S,truncatedTypes:D,loading:P,failure:F,reset:H}=B(L,e,2);c(()=>{const e=e=>{(e.ctrlKey||e.metaKey)&&"k"===e.key&&(e.preventDefault(),A(e=>!e)),"Escape"===e.key&&_&&A(!1)},t=()=>A(!0);return window.addEventListener("keydown",e),window.addEventListener(V,t),()=>{window.removeEventListener("keydown",e),window.removeEventListener(V,t)}},[_]),l(_);const[K,U]=i(!1);_!==K&&(U(_),_&&(C(""),T(0),H())),c(()=>{_?setTimeout(()=>E.current?.focus(),50):C("")},[_]),c(()=>{T(0)},[S]);const W=L.length>=2,X=u(()=>W?M(S,b,L,w.actions,{truncatedTypes:D,listRoutes:n,seeAllLabel:w.seeAll}):function(e,t){const n=[];e.recent?.length&&n.push({key:"recent",title:t.recent,rows:e.recent.map((e,t)=>({kind:"recent",key:`recent:${e.entity_type}:${e.entity_id}:${t}`,label:e.label,sub:e.sub,badge:e.type,result:e})),count:e.recent.length}),e.favorites?.length&&n.push({key:"favorites",title:t.favorites,rows:e.favorites.map((e,t)=>({kind:"favorite",key:`favorite:${e.entity_type}:${e.entity_id}:${t}`,label:e.label,sub:e.sub,badge:e.type||void 0,icon:"M11.48 3.499a.562.562 0 011.04 0l2.125 5.111a.563.563 0 00.475.345l5.518.442c.499.04.701.663.321.988l-4.204 3.602a.563.563 0 00-.182.557l1.285 5.385a.562.562 0 01-.84.61l-4.725-2.885a.563.563 0 00-.586 0L6.982 20.54a.562.562 0 01-.84-.61l1.285-5.386a.562.562 0 00-.182-.557l-4.204-3.602a.563.563 0 01.321-.988l5.518-.442a.563.563 0 00.475-.345L11.48 3.5z",result:e})),count:e.favorites.length});const r=j("actions",t.actions,e.actions??[]);return r&&n.push(r),n}({recent:x,favorites:k,actions:b},w),[W,S,D,n,b,L,x,k,w]),Z=u(()=>function(e){return e.flatMap(e=>e.rows)}(X),[X]),G=Math.min($,Math.max(Z.length-1,0)),J=p(),Q=Z.length>0;c(()=>{_&&0!==Z.length&&document.getElementById(z(J,G))?.scrollIntoView?.({block:"nearest"})},[_,G,Z.length,J]);const q=y(e=>{A(!1),"action"!==e.kind?("result"!==e.kind&&"recent"!==e.kind||v?.(e.result),g?.(e.result)):e.action.onSelect()},[g,v]);return _?h(
|
|
10
|
-
/* @__PURE__ */m("div",{"data-global-search":"",className:"fixed inset-0 flex items-start justify-center pt-[15vh]",style:{zIndex:o.overlay},onClick:()=>A(!1),children:[
|
|
11
|
-
/* @__PURE__ */f("div",{"data-global-search-backdrop":"",className:"absolute inset-0 bg-black/50 backdrop-blur-sm"}),
|
|
12
|
-
/* @__PURE__ */m("div",{className:"relative z-10 w-full max-w-xl rounded-(--radius-popup) overflow-hidden",onClick:e=>e.stopPropagation(),style:a(),children:[
|
|
13
|
-
/* @__PURE__ */m("div",{className:"flex items-center gap-3 px-4 py-3 border-b border-gray-200",children:[
|
|
14
|
-
/* @__PURE__ */f("svg",{className:"h-5 w-5 text-gray-400 shrink-0",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:2,children:/* @__PURE__ */f("path",{strokeLinecap:"round",strokeLinejoin:"round",d:I})}),
|
|
15
|
-
/* @__PURE__ */f("input",{ref:E,type:"text",value:L,onChange:e=>{C(e.target.value),T(0)},onKeyDown:e=>{"ArrowDown"===e.key?(e.preventDefault(),T(R(G,1,Z.length))):"ArrowUp"===e.key?(e.preventDefault(),T(R(G,-1,Z.length))):"Tab"===e.key&&Z.length>0?(e.preventDefault(),T(function(e,t,n){const r=e.length;if(0===r)return 0;const a=[];let l=0;for(const t of e)a.push(l),l+=t;let o=0;for(let e=0;e<r;e++)t>=a[e]&&(o=e);return a[(o+n+r)%r]}(X.map(e=>e.rows.length),G,e.shiftKey?-1:1))):"Enter"===e.key&&Z[G]&&q(Z[G])},placeholder:N,role:"combobox","aria-expanded":Q,"aria-controls":Q?J:void 0,"aria-activedescendant":Q?z(J,G):void 0,"aria-autocomplete":"list",className:"flex-1 text-sm bg-transparent border-0 rosh-focus-ring placeholder-gray-400"}),P&&/* @__PURE__ */f("span",{"data-global-search-spinner":"",role:"status","aria-label":w.searching,className:"h-4 w-4 shrink-0 animate-spin rounded-full border-2 border-gray-300 border-t-gray-500"}),
|
|
16
|
-
/* @__PURE__ */f("kbd",{className:"hidden sm:inline-flex items-center rounded border border-gray-300 px-1.5 py-0.5 text-[10px] font-medium text-gray-400",children:w.escBadge})]}),
|
|
17
|
-
/* @__PURE__ */m("div",{className:"max-h-[50vh] overflow-y-auto",children:[P&&0===Z.length&&/* @__PURE__ */f("div",{className:"px-4 py-6 text-center text-sm text-gray-400",children:w.searching}),!P&&"all"===F&&W&&/* @__PURE__ */f("div",{role:"alert",className:"px-4 py-3 text-center text-sm text-red-600",children:w.searchFailed}),!P&&W&&0===Z.length&&"all"!==F&&/* @__PURE__ */f("div",{className:"px-4 py-6 text-center text-sm text-gray-400",children:w.noResults}),Q&&/* @__PURE__ */f(O,{sections:X,activeIdx:G,listId:J,label:w.listLabel,typeIcons:t,groupCount:w.groupCount,groupLabel:w.groupLabel,onHover:T,onPick:q}),!P&&"some"===F&&W&&/* @__PURE__ */f("div",{role:"status",className:"px-4 py-2 text-xs text-amber-600",children:w.partialFailure}),!P&&!W&&0===Z.length&&/* @__PURE__ */f("div",{className:"px-4 py-6 text-center text-sm text-gray-400",children:w.minChars(2)})]}),
|
|
18
|
-
/* @__PURE__ */m("div",{className:"flex items-center justify-between px-4 py-2 border-t border-gray-100 bg-gray-50 text-[11px] text-gray-400",children:[
|
|
19
|
-
/* @__PURE__ */m("div",{className:"flex items-center gap-3",children:[
|
|
20
|
-
/* @__PURE__ */m("span",{className:"flex items-center gap-1",children:[
|
|
21
|
-
/* @__PURE__ */f("kbd",{className:"rounded border border-gray-300 px-1 py-0.5 font-medium",children:"↑"}),
|
|
22
|
-
/* @__PURE__ */f("kbd",{className:"rounded border border-gray-300 px-1 py-0.5 font-medium",children:"↓"}),` ${w.navigate}`]}),
|
|
23
|
-
/* @__PURE__ */m("span",{className:"flex items-center gap-1",children:[
|
|
24
|
-
/* @__PURE__ */f("kbd",{className:"rounded border border-gray-300 px-1 py-0.5 font-medium",children:w.enterKey}),` ${w.open}`]}),X.length>1&&/* @__PURE__ */m("span",{className:"flex items-center gap-1",children:[
|
|
25
|
-
/* @__PURE__ */f("kbd",{className:"rounded border border-gray-300 px-1 py-0.5 font-medium",children:w.tabKey}),` ${w.nextGroup}`]})]}),
|
|
26
|
-
/* @__PURE__ */m("span",{className:"flex items-center gap-1",children:[
|
|
27
|
-
/* @__PURE__ */f("kbd",{className:"rounded border border-gray-300 px-1 py-0.5 font-medium",children:w.escKey}),` ${w.close}`]})]})]})]}),document.body):null}export{w as BrandMark,X as GlobalSearch,C as PAGE_RESULT_ENTITY,E as favoritesToResults,T as navPagesProvider,W as openGlobalSearch,$ as parsePageResultTarget,A as partitionNav,P as pushRecent,x as resolveBrandMarkTreatment,L as rowsContainRoute,F as sanitizeRecent,_ as visibleNavChildren,N as visibleSectionItems};
|