react-os-shell 3.15.0 → 3.16.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/dist/Browser-AE2WHAYI.js +7 -0
- package/dist/{Browser-MGPP32VZ.js.map → Browser-AE2WHAYI.js.map} +1 -1
- package/dist/{Calculator-V7OU5TSD.js → Calculator-H4KYTCO5.js} +4 -4
- package/dist/{Calculator-V7OU5TSD.js.map → Calculator-H4KYTCO5.js.map} +1 -1
- package/dist/{CurrencyConverter-SUSY6HRW.js → CurrencyConverter-P3EJI7TF.js} +4 -4
- package/dist/{CurrencyConverter-SUSY6HRW.js.map → CurrencyConverter-P3EJI7TF.js.map} +1 -1
- package/dist/{Documents-GUAZ2I6C.js → Documents-GGHKOFB4.js} +4 -4
- package/dist/{Documents-GUAZ2I6C.js.map → Documents-GGHKOFB4.js.map} +1 -1
- package/dist/Files-4CZWNM2F.js +12 -0
- package/dist/{Files-4OWK6XKC.js.map → Files-4CZWNM2F.js.map} +1 -1
- package/dist/{Notepad-DTOSYSHN.js → Notepad-5JWZD3N7.js} +4 -4
- package/dist/{Notepad-DTOSYSHN.js.map → Notepad-5JWZD3N7.js.map} +1 -1
- package/dist/{PomodoroTimer-KCKA254T.js → PomodoroTimer-LIY2CGDW.js} +5 -5
- package/dist/{PomodoroTimer-KCKA254T.js.map → PomodoroTimer-LIY2CGDW.js.map} +1 -1
- package/dist/Preview-HERAKHAA.js +8 -0
- package/dist/{Preview-XSJH2DJX.js.map → Preview-HERAKHAA.js.map} +1 -1
- package/dist/Spreadsheet-QPR7ILT3.js +7 -0
- package/dist/{Spreadsheet-M552BN3Q.js.map → Spreadsheet-QPR7ILT3.js.map} +1 -1
- package/dist/{Stock-YRQMQXTG.js → Stock-JGDOQ5EN.js} +4 -4
- package/dist/{Stock-YRQMQXTG.js.map → Stock-JGDOQ5EN.js.map} +1 -1
- package/dist/{Weather-RWEAJS36.js → Weather-6TODHHAE.js} +4 -4
- package/dist/{Weather-RWEAJS36.js.map → Weather-6TODHHAE.js.map} +1 -1
- package/dist/{WorldClock-E6MSOW5A.js → WorldClock-UOIFY5IB.js} +4 -4
- package/dist/{WorldClock-E6MSOW5A.js.map → WorldClock-UOIFY5IB.js.map} +1 -1
- package/dist/apps/index.d.ts +14 -13
- package/dist/apps/index.js +19 -19
- package/dist/{chunk-H564CUGN.js → chunk-2BGWCS3L.js} +3 -3
- package/dist/{chunk-H564CUGN.js.map → chunk-2BGWCS3L.js.map} +1 -1
- package/dist/{chunk-ZGLERMDX.js → chunk-5Z57WKMX.js} +16 -14
- package/dist/chunk-5Z57WKMX.js.map +1 -0
- package/dist/{chunk-72RLGQXP.js → chunk-64CGRR3M.js} +4 -4
- package/dist/{chunk-72RLGQXP.js.map → chunk-64CGRR3M.js.map} +1 -1
- package/dist/{chunk-Q2T2FDU3.js → chunk-DAODUEDD.js} +4 -4
- package/dist/{chunk-Q2T2FDU3.js.map → chunk-DAODUEDD.js.map} +1 -1
- package/dist/{chunk-CTEIE7ZI.js → chunk-DDE3E4KL.js} +4 -4
- package/dist/{chunk-CTEIE7ZI.js.map → chunk-DDE3E4KL.js.map} +1 -1
- package/dist/{chunk-BK3ZZRRD.js → chunk-MMDTMBXD.js} +4 -4
- package/dist/{chunk-BK3ZZRRD.js.map → chunk-MMDTMBXD.js.map} +1 -1
- package/dist/{chunk-KHKPAF5R.js → chunk-OLOSK32J.js} +3 -3
- package/dist/{chunk-KHKPAF5R.js.map → chunk-OLOSK32J.js.map} +1 -1
- package/dist/{chunk-F4YQYEJQ.js → chunk-POTG7N3E.js} +4 -4
- package/dist/{chunk-F4YQYEJQ.js.map → chunk-POTG7N3E.js.map} +1 -1
- package/dist/{chunk-DARFRWON.js → chunk-WCFUBMAG.js} +5 -5
- package/dist/{chunk-DARFRWON.js.map → chunk-WCFUBMAG.js.map} +1 -1
- package/dist/index.d.ts +88 -85
- package/dist/index.js +27 -18
- package/dist/index.js.map +1 -1
- package/dist/{types-CVECHskm.d.ts → types-BHVq95fp.d.ts} +1 -1
- package/package.json +1 -1
- package/dist/Browser-MGPP32VZ.js +0 -7
- package/dist/Files-4OWK6XKC.js +0 -12
- package/dist/Preview-XSJH2DJX.js +0 -8
- package/dist/Spreadsheet-M552BN3Q.js +0 -7
- package/dist/chunk-ZGLERMDX.js.map +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { W as WindowRegistry } from './types-
|
|
2
|
-
export { M as ModalRegistryEntry, P as PageRegistryEntry, a as WindowRegistryEntry, i as isEntityEntry, b as isPageEntry, s as setShellWindowRegistry } from './types-
|
|
1
|
+
import { W as WindowRegistry } from './types-BHVq95fp.js';
|
|
2
|
+
export { M as ModalRegistryEntry, P as PageRegistryEntry, a as WindowRegistryEntry, i as isEntityEntry, b as isPageEntry, s as setShellWindowRegistry } from './types-BHVq95fp.js';
|
|
3
3
|
import * as react from 'react';
|
|
4
4
|
import react__default, { ReactNode, Component, ErrorInfo, CSSProperties, Dispatch, SetStateAction, RefObject, ButtonHTMLAttributes, InputHTMLAttributes, TextareaHTMLAttributes, SelectHTMLAttributes, LabelHTMLAttributes } from 'react';
|
|
5
|
-
import * as
|
|
5
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
6
|
+
import * as _tanstack_query_core from '@tanstack/query-core';
|
|
6
7
|
import { AxiosInstance } from 'axios';
|
|
7
8
|
|
|
8
9
|
/**
|
|
@@ -89,7 +90,7 @@ declare function useWindowMenuItem(label: string, onClick: () => void, icon?: Re
|
|
|
89
90
|
* than React Context, which has separate instances in each bundle). */
|
|
90
91
|
declare function WindowTitle({ title }: {
|
|
91
92
|
title: string;
|
|
92
|
-
}):
|
|
93
|
+
}): react_jsx_runtime.JSX.Element;
|
|
93
94
|
/** @deprecated Use <WindowTitle> instead — the hook variant doesn't work
|
|
94
95
|
* across bundle boundaries (apps barrel has its own ModalIdContext). */
|
|
95
96
|
declare function useWindowTitle(_title: string): void;
|
|
@@ -99,7 +100,7 @@ declare function useWindowTitle(_title: string): void;
|
|
|
99
100
|
*/
|
|
100
101
|
declare function CopyButton({ text }: {
|
|
101
102
|
text: string;
|
|
102
|
-
}):
|
|
103
|
+
}): react_jsx_runtime.JSX.Element;
|
|
103
104
|
/** Hook to check if the current modal is active (frontmost) */
|
|
104
105
|
declare function useModalActive(): boolean;
|
|
105
106
|
declare function ModalActions({ children, position }: {
|
|
@@ -114,7 +115,7 @@ declare function CancelButton({ onClick, children, className }: {
|
|
|
114
115
|
onClick: () => void;
|
|
115
116
|
children?: React.ReactNode;
|
|
116
117
|
className?: string;
|
|
117
|
-
}):
|
|
118
|
+
}): react_jsx_runtime.JSX.Element;
|
|
118
119
|
/**
|
|
119
120
|
* Seed an initial position for a window — applied only when no saved
|
|
120
121
|
* position already exists for the given key. Use this from the consumer
|
|
@@ -246,7 +247,7 @@ declare function Modal({ open, onClose, title, icon, copyText, size, dirty, onNe
|
|
|
246
247
|
declare function WindowCrashedFallback({ error, onReload }: {
|
|
247
248
|
error: Error;
|
|
248
249
|
onReload: () => void;
|
|
249
|
-
}):
|
|
250
|
+
}): react_jsx_runtime.JSX.Element;
|
|
250
251
|
interface WindowErrorBoundaryProps {
|
|
251
252
|
children: ReactNode;
|
|
252
253
|
/** Replaces the default inline {@link WindowCrashedFallback}. `reset`
|
|
@@ -273,12 +274,12 @@ declare class WindowErrorBoundary extends Component<WindowErrorBoundaryProps, {
|
|
|
273
274
|
};
|
|
274
275
|
componentDidCatch(error: Error, info: ErrorInfo): void;
|
|
275
276
|
reset: () => void;
|
|
276
|
-
render(): string | number | boolean | Iterable<ReactNode> |
|
|
277
|
+
render(): string | number | boolean | Iterable<ReactNode> | react_jsx_runtime.JSX.Element | null | undefined;
|
|
277
278
|
}
|
|
278
279
|
|
|
279
280
|
/**
|
|
280
281
|
* Unified popup menu component — used for all context menus, dropdowns, and flyouts.
|
|
281
|
-
* Reads --menu-density CSS variable: 'tight'
|
|
282
|
+
* Reads --menu-density CSS variable: 'tight', 'normal' (default), or 'large'.
|
|
282
283
|
*/
|
|
283
284
|
interface PopupMenuProps {
|
|
284
285
|
children: ReactNode;
|
|
@@ -295,7 +296,7 @@ interface PopupMenuProps {
|
|
|
295
296
|
portal?: boolean;
|
|
296
297
|
}
|
|
297
298
|
/** Container for a popup menu — auto-clamps to stay within viewport */
|
|
298
|
-
declare function PopupMenu({ children, style, className, onClose, minWidth, portal }: PopupMenuProps):
|
|
299
|
+
declare function PopupMenu({ children, style, className, onClose, minWidth, portal }: PopupMenuProps): react_jsx_runtime.JSX.Element;
|
|
299
300
|
/** A clickable menu item */
|
|
300
301
|
declare function PopupMenuItem({ onClick, children, className, danger, disabled }: {
|
|
301
302
|
onClick?: () => void;
|
|
@@ -303,13 +304,13 @@ declare function PopupMenuItem({ onClick, children, className, danger, disabled
|
|
|
303
304
|
className?: string;
|
|
304
305
|
danger?: boolean;
|
|
305
306
|
disabled?: boolean;
|
|
306
|
-
}):
|
|
307
|
+
}): react_jsx_runtime.JSX.Element;
|
|
307
308
|
/** A divider line between menu items */
|
|
308
|
-
declare function PopupMenuDivider():
|
|
309
|
+
declare function PopupMenuDivider(): react_jsx_runtime.JSX.Element;
|
|
309
310
|
/** A section header label */
|
|
310
311
|
declare function PopupMenuLabel({ children }: {
|
|
311
312
|
children: ReactNode;
|
|
312
|
-
}):
|
|
313
|
+
}): react_jsx_runtime.JSX.Element;
|
|
313
314
|
|
|
314
315
|
interface ConfirmOptions {
|
|
315
316
|
title?: string;
|
|
@@ -338,7 +339,7 @@ interface PromptOptions {
|
|
|
338
339
|
declare const prompt: (opts: PromptOptions | string) => Promise<string | null>;
|
|
339
340
|
declare function ConfirmProvider({ children }: {
|
|
340
341
|
children: React.ReactNode;
|
|
341
|
-
}):
|
|
342
|
+
}): react_jsx_runtime.JSX.Element;
|
|
342
343
|
|
|
343
344
|
interface SearchResult {
|
|
344
345
|
/** Category label, e.g. "Sales Order". */
|
|
@@ -364,9 +365,9 @@ interface SearchConfig {
|
|
|
364
365
|
}
|
|
365
366
|
interface GlobalSearchProps extends Partial<SearchConfig> {
|
|
366
367
|
}
|
|
367
|
-
declare function GlobalSearch({ providers, typeIcons, placeholder }?: GlobalSearchProps):
|
|
368
|
+
declare function GlobalSearch({ providers, typeIcons, placeholder }?: GlobalSearchProps): react_jsx_runtime.JSX.Element | null;
|
|
368
369
|
|
|
369
|
-
declare function ShortcutHelp():
|
|
370
|
+
declare function ShortcutHelp(): react_jsx_runtime.JSX.Element;
|
|
370
371
|
|
|
371
372
|
/**
|
|
372
373
|
* One help article. Generic shape — the consuming portal maps its own
|
|
@@ -411,13 +412,13 @@ interface HelpCenterProps {
|
|
|
411
412
|
* Search is client-side: a case-insensitive substring match over title, body
|
|
412
413
|
* and category label. While searching, matching groups auto-expand.
|
|
413
414
|
*/
|
|
414
|
-
declare function HelpCenter({ docs, loading, categoryOrder, canEdit, onNew, onEdit, renderBody, emptyMessage, }: HelpCenterProps):
|
|
415
|
+
declare function HelpCenter({ docs, loading, categoryOrder, canEdit, onNew, onEdit, renderBody, emptyMessage, }: HelpCenterProps): react_jsx_runtime.JSX.Element;
|
|
415
416
|
|
|
416
417
|
interface MarkdownProps {
|
|
417
418
|
children: string;
|
|
418
419
|
className?: string;
|
|
419
420
|
}
|
|
420
|
-
declare function Markdown({ children, className }: MarkdownProps):
|
|
421
|
+
declare function Markdown({ children, className }: MarkdownProps): react_jsx_runtime.JSX.Element;
|
|
421
422
|
|
|
422
423
|
declare const isMac: boolean;
|
|
423
424
|
/** Platform-aware modifier symbols */
|
|
@@ -506,7 +507,7 @@ interface EditableGridProps {
|
|
|
506
507
|
* - Multi-cell paste from spreadsheets (Ctrl+V)
|
|
507
508
|
* - Tab/Enter/Arrow keyboard navigation
|
|
508
509
|
*/
|
|
509
|
-
declare function EditableGrid({ columns, data, onChange, onColumnsChange, fixedRows, minRows, maxHeight, cellStyles, onFocusChange, onSelectionChange }: EditableGridProps):
|
|
510
|
+
declare function EditableGrid({ columns, data, onChange, onColumnsChange, fixedRows, minRows, maxHeight, cellStyles, onFocusChange, onSelectionChange }: EditableGridProps): react_jsx_runtime.JSX.Element;
|
|
510
511
|
|
|
511
512
|
/**
|
|
512
513
|
* Two-pane layout with a drag-to-resize sidebar (left or right).
|
|
@@ -559,7 +560,7 @@ interface SidebarLayoutProps {
|
|
|
559
560
|
/** Classes for the main content pane. Defaults to a white background. */
|
|
560
561
|
contentClassName?: string;
|
|
561
562
|
}
|
|
562
|
-
declare function SidebarLayout({ sidebar, sidebarTop, sidebarBottom, children, side, storageKey, defaultWidth, minWidth, maxWidth, className, sidebarClassName, contentClassName, }: SidebarLayoutProps):
|
|
563
|
+
declare function SidebarLayout({ sidebar, sidebarTop, sidebarBottom, children, side, storageKey, defaultWidth, minWidth, maxWidth, className, sidebarClassName, contentClassName, }: SidebarLayoutProps): react_jsx_runtime.JSX.Element;
|
|
563
564
|
|
|
564
565
|
/**
|
|
565
566
|
* Full-width action button for the `SidebarLayout` `sidebarTop` / `sidebarBottom`
|
|
@@ -589,7 +590,7 @@ interface SidebarActionButtonProps {
|
|
|
589
590
|
/** Extra classes appended after the variant styles (escape hatch). */
|
|
590
591
|
className?: string;
|
|
591
592
|
}
|
|
592
|
-
declare function SidebarActionButton({ children, onClick, variant, hotkey, disabled, type, title, className, }: SidebarActionButtonProps):
|
|
593
|
+
declare function SidebarActionButton({ children, onClick, variant, hotkey, disabled, type, title, className, }: SidebarActionButtonProps): react_jsx_runtime.JSX.Element;
|
|
593
594
|
|
|
594
595
|
interface SearchableOption {
|
|
595
596
|
value: string;
|
|
@@ -631,7 +632,7 @@ interface SearchableSelectProps {
|
|
|
631
632
|
* Hidden while the user is typing so the search text stays legible. */
|
|
632
633
|
rightAdornment?: ReactNode;
|
|
633
634
|
}
|
|
634
|
-
declare function SearchableSelect({ value, onChange, options, placeholder, emptyOptionLabel, className, disabled, id, allowFreeText, onSearchChange, rightAdornment, }: SearchableSelectProps):
|
|
635
|
+
declare function SearchableSelect({ value, onChange, options, placeholder, emptyOptionLabel, className, disabled, id, allowFreeText, onSearchChange, rightAdornment, }: SearchableSelectProps): react_jsx_runtime.JSX.Element;
|
|
635
636
|
|
|
636
637
|
/**
|
|
637
638
|
* Generic top navigation bar. A horizontal row of tab-style links with an
|
|
@@ -663,7 +664,7 @@ interface TopNavProps {
|
|
|
663
664
|
actions?: ReactNode;
|
|
664
665
|
className?: string;
|
|
665
666
|
}
|
|
666
|
-
declare function TopNav({ items, activeKey, onSelect, brand, actions, className }: TopNavProps):
|
|
667
|
+
declare function TopNav({ items, activeKey, onSelect, brand, actions, className }: TopNavProps): react_jsx_runtime.JSX.Element;
|
|
667
668
|
|
|
668
669
|
/**
|
|
669
670
|
* Generic breadcrumb trail. Self-contained and styled with the same Tailwind
|
|
@@ -692,7 +693,7 @@ interface BreadcrumbsProps {
|
|
|
692
693
|
maxItems?: number;
|
|
693
694
|
className?: string;
|
|
694
695
|
}
|
|
695
|
-
declare function Breadcrumbs({ items, separator, maxItems, className }: BreadcrumbsProps):
|
|
696
|
+
declare function Breadcrumbs({ items, separator, maxItems, className }: BreadcrumbsProps): react_jsx_runtime.JSX.Element | null;
|
|
696
697
|
|
|
697
698
|
/** Generic notification shape consumed by the shell. Consumer-specific
|
|
698
699
|
* fields live on `extra` (or just on additional properties — TS structural
|
|
@@ -732,17 +733,17 @@ interface NotificationsConfig {
|
|
|
732
733
|
interface NotificationBellProps extends NotificationsConfig {
|
|
733
734
|
popDirection?: 'left' | 'right';
|
|
734
735
|
}
|
|
735
|
-
declare function NotificationBell({ useUnreadCount, list, markRead, markAllRead, onItemClick, onViewAll, popDirection, }: NotificationBellProps):
|
|
736
|
+
declare function NotificationBell({ useUnreadCount, list, markRead, markAllRead, onItemClick, onViewAll, popDirection, }: NotificationBellProps): react_jsx_runtime.JSX.Element;
|
|
736
737
|
|
|
737
738
|
type SemanticGroup = 'success' | 'active' | 'queued' | 'info' | 'pending' | 'warning' | 'danger' | 'draft' | 'neutral';
|
|
738
739
|
declare function StatusBadgeProvider({ groups, children, }: {
|
|
739
740
|
groups: Record<string, SemanticGroup>;
|
|
740
741
|
children: ReactNode;
|
|
741
|
-
}):
|
|
742
|
+
}): react_jsx_runtime.JSX.Element;
|
|
742
743
|
interface StatusBadgeProps {
|
|
743
744
|
status: string;
|
|
744
745
|
}
|
|
745
|
-
declare function StatusBadge({ status }: StatusBadgeProps):
|
|
746
|
+
declare function StatusBadge({ status }: StatusBadgeProps): react_jsx_runtime.JSX.Element;
|
|
746
747
|
|
|
747
748
|
/**
|
|
748
749
|
* System-tray badge shown only when the app is served from a developer's own
|
|
@@ -750,7 +751,7 @@ declare function StatusBadge({ status }: StatusBadgeProps): react.JSX.Element;
|
|
|
750
751
|
* slot — it renders nothing off-localhost, so it's safe to leave wired on every
|
|
751
752
|
* build. Visibility is gated on the runtime hostname; see utils/env.ts.
|
|
752
753
|
*/
|
|
753
|
-
declare function DevIndicator():
|
|
754
|
+
declare function DevIndicator(): react_jsx_runtime.JSX.Element | null;
|
|
754
755
|
|
|
755
756
|
/**
|
|
756
757
|
* Dev-environment detection + browser chrome.
|
|
@@ -829,7 +830,7 @@ declare function DocFavStar({ entityType, entityId, label }: {
|
|
|
829
830
|
entityType: string;
|
|
830
831
|
entityId: string;
|
|
831
832
|
label: string;
|
|
832
|
-
}):
|
|
833
|
+
}): react_jsx_runtime.JSX.Element;
|
|
833
834
|
/** Public, framework-free helper: route ('/orders', '/qc-reports', …)
|
|
834
835
|
* of the window the user is currently focused on. Returns undefined
|
|
835
836
|
* when no app window is active (start menu / dashboard with nothing
|
|
@@ -839,7 +840,7 @@ declare function DocFavStar({ entityType, entityId, label }: {
|
|
|
839
840
|
declare function getActiveWindowRoute(): string | undefined;
|
|
840
841
|
declare function WindowManagerProvider({ children }: {
|
|
841
842
|
children: ReactNode;
|
|
842
|
-
}):
|
|
843
|
+
}): react_jsx_runtime.JSX.Element;
|
|
843
844
|
|
|
844
845
|
/**
|
|
845
846
|
* INTERNAL stub — Desktop's About modal references the consumer-side
|
|
@@ -932,11 +933,11 @@ interface DesktopHostConfig {
|
|
|
932
933
|
declare function DesktopHostProvider({ value, children }: {
|
|
933
934
|
value: DesktopHostConfig;
|
|
934
935
|
children: ReactNode;
|
|
935
|
-
}):
|
|
936
|
+
}): react_jsx_runtime.JSX.Element;
|
|
936
937
|
declare function useDesktopHost(): DesktopHostConfig;
|
|
937
938
|
declare function Desktop({ profile }: {
|
|
938
939
|
profile: any;
|
|
939
|
-
}):
|
|
940
|
+
}): react_jsx_runtime.JSX.Element;
|
|
940
941
|
|
|
941
942
|
interface LayoutProps {
|
|
942
943
|
/** Brand label rendered on the start-menu button. */
|
|
@@ -986,7 +987,7 @@ interface ClockCalendarConfig {
|
|
|
986
987
|
close: () => void;
|
|
987
988
|
}) => ReactNode;
|
|
988
989
|
}
|
|
989
|
-
declare function Layout({ productName, productIcon, wallpapers, navSections, navIcons, sectionIcons, categories, notifications, search, taskbarTrayLeft, clockCalendar, }?: LayoutProps):
|
|
990
|
+
declare function Layout({ productName, productIcon, wallpapers, navSections, navIcons, sectionIcons, categories, notifications, search, taskbarTrayLeft, clockCalendar, }?: LayoutProps): react_jsx_runtime.JSX.Element;
|
|
990
991
|
|
|
991
992
|
interface StartMenuProps {
|
|
992
993
|
open: boolean;
|
|
@@ -1003,6 +1004,8 @@ interface StartMenuProps {
|
|
|
1003
1004
|
taskbarPosition: 'top' | 'bottom' | 'left' | 'right';
|
|
1004
1005
|
taskbarH: number;
|
|
1005
1006
|
taskbarW?: number;
|
|
1007
|
+
/** Gap (px) between the menu and the taskbar edge; set per taskbar size by Layout. */
|
|
1008
|
+
taskbarGap?: number;
|
|
1006
1009
|
size?: 'small' | 'medium' | 'large';
|
|
1007
1010
|
/** Override the default nav sections (sections + top-level items). */
|
|
1008
1011
|
navSections?: (NavSection | NavItem)[];
|
|
@@ -1013,7 +1016,7 @@ interface StartMenuProps {
|
|
|
1013
1016
|
/** Section grouping + virtual flyouts (Utilities-style trays). */
|
|
1014
1017
|
categories?: StartMenuCategories;
|
|
1015
1018
|
}
|
|
1016
|
-
declare function StartMenu({ open, onClose, openPage, profile, user, onLogout, taskbarPosition, taskbarH, taskbarW, size, navSections, navIcons, sectionIcons, categories, }: StartMenuProps):
|
|
1019
|
+
declare function StartMenu({ open, onClose, openPage, profile, user, onLogout, taskbarPosition, taskbarH, taskbarW, taskbarGap, size, navSections, navIcons, sectionIcons, categories, }: StartMenuProps): react_jsx_runtime.JSX.Element | null;
|
|
1017
1020
|
|
|
1018
1021
|
/**
|
|
1019
1022
|
* Widget gallery — the "manage widgets on the desktop" surface.
|
|
@@ -1033,7 +1036,7 @@ declare function StartMenu({ open, onClose, openPage, profile, user, onLogout, t
|
|
|
1033
1036
|
declare function WidgetManager({ open, onClose }: {
|
|
1034
1037
|
open: boolean;
|
|
1035
1038
|
onClose: () => void;
|
|
1036
|
-
}):
|
|
1039
|
+
}): react_jsx_runtime.JSX.Element | null;
|
|
1037
1040
|
|
|
1038
1041
|
/** Sections that can be omitted from the inline Customization page when the
|
|
1039
1042
|
* consumer renders them elsewhere (e.g. as separate entries in SystemPreferences). */
|
|
@@ -1047,7 +1050,7 @@ interface CustomizationProps {
|
|
|
1047
1050
|
/** Render only one logical group of settings. Omit to render everything. */
|
|
1048
1051
|
section?: CustomizationSection;
|
|
1049
1052
|
}
|
|
1050
|
-
declare function Customization({ omit, section }?: CustomizationProps):
|
|
1053
|
+
declare function Customization({ omit, section }?: CustomizationProps): react_jsx_runtime.JSX.Element;
|
|
1051
1054
|
|
|
1052
1055
|
/**
|
|
1053
1056
|
* Standalone Behavior settings panel — window position, double-click,
|
|
@@ -1057,7 +1060,7 @@ declare function Customization({ omit, section }?: CustomizationProps): react.JS
|
|
|
1057
1060
|
* Reads/writes shell prefs via `useShellPrefs()`. Suitable for use as a
|
|
1058
1061
|
* section in `SystemPreferences` or rendered standalone.
|
|
1059
1062
|
*/
|
|
1060
|
-
declare function BehaviorPanel():
|
|
1063
|
+
declare function BehaviorPanel(): react_jsx_runtime.JSX.Element;
|
|
1061
1064
|
|
|
1062
1065
|
/**
|
|
1063
1066
|
* Standalone Sounds settings panel — sound effects toggle + per-event
|
|
@@ -1066,7 +1069,7 @@ declare function BehaviorPanel(): react.JSX.Element;
|
|
|
1066
1069
|
* picked. Suitable as a section in `SystemPreferences` or rendered
|
|
1067
1070
|
* standalone.
|
|
1068
1071
|
*/
|
|
1069
|
-
declare function SoundsPanel():
|
|
1072
|
+
declare function SoundsPanel(): react_jsx_runtime.JSX.Element;
|
|
1070
1073
|
|
|
1071
1074
|
/** One section in the SystemPreferences sidebar. */
|
|
1072
1075
|
interface SystemPreferencesSection {
|
|
@@ -1113,7 +1116,7 @@ interface SystemPreferencesProps {
|
|
|
1113
1116
|
* ]} />
|
|
1114
1117
|
* ```
|
|
1115
1118
|
*/
|
|
1116
|
-
declare function SystemPreferences({ sections, defaultSelected, className, }: SystemPreferencesProps):
|
|
1119
|
+
declare function SystemPreferences({ sections, defaultSelected, className, }: SystemPreferencesProps): react_jsx_runtime.JSX.Element;
|
|
1117
1120
|
|
|
1118
1121
|
interface ImageAnnotatorHandle {
|
|
1119
1122
|
copy: () => Promise<void>;
|
|
@@ -1219,7 +1222,7 @@ interface EntityListProps<T> {
|
|
|
1219
1222
|
* emptyState={<EmptyState message="No suppliers yet." />}
|
|
1220
1223
|
* />
|
|
1221
1224
|
*/
|
|
1222
|
-
declare function EntityList<T>(props: EntityListProps<T>):
|
|
1225
|
+
declare function EntityList<T>(props: EntityListProps<T>): react_jsx_runtime.JSX.Element;
|
|
1223
1226
|
|
|
1224
1227
|
/**
|
|
1225
1228
|
* Generic, drag-and-drop Kanban board. Self-contained (native HTML5 DnD, no
|
|
@@ -1281,7 +1284,7 @@ interface KanbanProps<T> {
|
|
|
1281
1284
|
/** Label for the per-column add button. */
|
|
1282
1285
|
addItemText?: string;
|
|
1283
1286
|
}
|
|
1284
|
-
declare function Kanban<T>({ items, columns, columnOf, getId, onMove, renderCard, onCardClick, sortInColumn, isLoading, loadingText, emptyState, columnEmptyText, onAddItem, addItemText, }: KanbanProps<T>):
|
|
1287
|
+
declare function Kanban<T>({ items, columns, columnOf, getId, onMove, renderCard, onCardClick, sortInColumn, isLoading, loadingText, emptyState, columnEmptyText, onAddItem, addItemText, }: KanbanProps<T>): react_jsx_runtime.JSX.Element;
|
|
1285
1288
|
|
|
1286
1289
|
interface PaginatedResponse<T> {
|
|
1287
1290
|
count: number;
|
|
@@ -1330,7 +1333,7 @@ interface ResizableTableProps {
|
|
|
1330
1333
|
* - per-user persistence (via the shell-registered apiClient)
|
|
1331
1334
|
* - mobile-aware selection mode toggle
|
|
1332
1335
|
*/
|
|
1333
|
-
declare function ResizableTable({ tableId, columns, sort, onSort, footer, afterBody, saveDefaultPerms, children, }: ResizableTableProps):
|
|
1336
|
+
declare function ResizableTable({ tableId, columns, sort, onSort, footer, afterBody, saveDefaultPerms, children, }: ResizableTableProps): react_jsx_runtime.JSX.Element;
|
|
1334
1337
|
|
|
1335
1338
|
interface ListFooterProps {
|
|
1336
1339
|
selectedCount: number;
|
|
@@ -1346,7 +1349,7 @@ interface ListFooterProps {
|
|
|
1346
1349
|
* "Y of Z records · Loading more..."
|
|
1347
1350
|
* "All N records loaded"
|
|
1348
1351
|
*/
|
|
1349
|
-
declare function ListFooter({ selectedCount, loadedCount, totalCount, label, isFetchingMore, extra, }: ListFooterProps):
|
|
1352
|
+
declare function ListFooter({ selectedCount, loadedCount, totalCount, label, isFetchingMore, extra, }: ListFooterProps): react_jsx_runtime.JSX.Element;
|
|
1350
1353
|
|
|
1351
1354
|
/**
|
|
1352
1355
|
* Keyboard + shift-click navigation for table rows.
|
|
@@ -1424,7 +1427,7 @@ declare function useInfiniteScroll<T>({ queryKey, fetchFn, extraParams, pageSize
|
|
|
1424
1427
|
isFetchingNextPage: boolean;
|
|
1425
1428
|
hasNextPage: boolean;
|
|
1426
1429
|
sentinelRef: react.RefObject<HTMLDivElement>;
|
|
1427
|
-
refetch: (options?:
|
|
1430
|
+
refetch: (options?: _tanstack_query_core.RefetchOptions) => Promise<_tanstack_query_core.QueryObserverResult<_tanstack_query_core.InfiniteData<PaginatedResponse<T>, unknown>, Error>>;
|
|
1428
1431
|
};
|
|
1429
1432
|
|
|
1430
1433
|
/**
|
|
@@ -1457,7 +1460,7 @@ interface PaginationProps {
|
|
|
1457
1460
|
showEdges?: boolean;
|
|
1458
1461
|
className?: string;
|
|
1459
1462
|
}
|
|
1460
|
-
declare function Pagination({ page, pageCount, onPageChange, siblingCount, showEdges, className, }: PaginationProps):
|
|
1463
|
+
declare function Pagination({ page, pageCount, onPageChange, siblingCount, showEdges, className, }: PaginationProps): react_jsx_runtime.JSX.Element | null;
|
|
1461
1464
|
|
|
1462
1465
|
type ButtonVariant = 'primary' | 'secondary' | 'ghost' | 'danger';
|
|
1463
1466
|
type ButtonSize = 'sm' | 'md';
|
|
@@ -1544,13 +1547,13 @@ interface FormFieldProps {
|
|
|
1544
1547
|
className?: string;
|
|
1545
1548
|
children: ReactNode;
|
|
1546
1549
|
}
|
|
1547
|
-
declare function FormField({ label, htmlFor, labelId, hint, error, required, className, children, }: FormFieldProps):
|
|
1550
|
+
declare function FormField({ label, htmlFor, labelId, hint, error, required, className, children, }: FormFieldProps): react_jsx_runtime.JSX.Element;
|
|
1548
1551
|
|
|
1549
1552
|
interface LabelProps extends LabelHTMLAttributes<HTMLLabelElement> {
|
|
1550
1553
|
/** Append a red asterisk. */
|
|
1551
1554
|
required?: boolean;
|
|
1552
1555
|
}
|
|
1553
|
-
declare function Label({ required, children, className, ...rest }: LabelProps):
|
|
1556
|
+
declare function Label({ required, children, className, ...rest }: LabelProps): react_jsx_runtime.JSX.Element;
|
|
1554
1557
|
|
|
1555
1558
|
/**
|
|
1556
1559
|
* Internal helpers shared by the media-upload primitives (`MediaUploadField`
|
|
@@ -1622,7 +1625,7 @@ interface MediaUploadFieldProps {
|
|
|
1622
1625
|
disabled?: boolean;
|
|
1623
1626
|
}
|
|
1624
1627
|
|
|
1625
|
-
declare function MediaUploadField({ value, onChange, onPick, label, hint, error, required, className, accept, fit, height, placeholder, cta, acceptHint, showFilename, allowReplace, allowRemove, replaceLabel, removeLabel, busy, busyLabel, disabled, }: MediaUploadFieldProps):
|
|
1628
|
+
declare function MediaUploadField({ value, onChange, onPick, label, hint, error, required, className, accept, fit, height, placeholder, cta, acceptHint, showFilename, allowReplace, allowRemove, replaceLabel, removeLabel, busy, busyLabel, disabled, }: MediaUploadFieldProps): react_jsx_runtime.JSX.Element;
|
|
1626
1629
|
|
|
1627
1630
|
interface MediaUploadGridItem {
|
|
1628
1631
|
/** Stable key — used for React keys, remove, and reorder. */
|
|
@@ -1683,7 +1686,7 @@ interface MediaUploadGridProps {
|
|
|
1683
1686
|
/** View only — thumbnails without Add / remove / reorder affordances. */
|
|
1684
1687
|
readOnly?: boolean;
|
|
1685
1688
|
}
|
|
1686
|
-
declare function MediaUploadGrid({ items, onPick, onRemove, onReorder, label, hint, error, required, className, accept, fit, thumbSize, placeholder, cta, acceptHint, showCover, coverLabel, busy, busyLabel, disabled, readOnly, }: MediaUploadGridProps):
|
|
1689
|
+
declare function MediaUploadGrid({ items, onPick, onRemove, onReorder, label, hint, error, required, className, accept, fit, thumbSize, placeholder, cta, acceptHint, showCover, coverLabel, busy, busyLabel, disabled, readOnly, }: MediaUploadGridProps): react_jsx_runtime.JSX.Element;
|
|
1687
1690
|
|
|
1688
1691
|
/**
|
|
1689
1692
|
* Shared form-control styling — the single source of truth for the kit's
|
|
@@ -1714,7 +1717,7 @@ interface CardProps {
|
|
|
1714
1717
|
padded?: boolean;
|
|
1715
1718
|
className?: string;
|
|
1716
1719
|
}
|
|
1717
|
-
declare function Card({ children, header, footer, padded, className }: CardProps):
|
|
1720
|
+
declare function Card({ children, header, footer, padded, className }: CardProps): react_jsx_runtime.JSX.Element;
|
|
1718
1721
|
interface StatCardProps {
|
|
1719
1722
|
label: ReactNode;
|
|
1720
1723
|
value: ReactNode;
|
|
@@ -1726,7 +1729,7 @@ interface StatCardProps {
|
|
|
1726
1729
|
};
|
|
1727
1730
|
className?: string;
|
|
1728
1731
|
}
|
|
1729
|
-
declare function StatCard({ label, value, icon, delta, className }: StatCardProps):
|
|
1732
|
+
declare function StatCard({ label, value, icon, delta, className }: StatCardProps): react_jsx_runtime.JSX.Element;
|
|
1730
1733
|
|
|
1731
1734
|
type AvatarSize = 'xs' | 'sm' | 'md' | 'lg';
|
|
1732
1735
|
type AvatarStatus = 'online' | 'offline' | 'busy' | 'away';
|
|
@@ -1738,7 +1741,7 @@ interface AvatarProps {
|
|
|
1738
1741
|
status?: AvatarStatus;
|
|
1739
1742
|
className?: string;
|
|
1740
1743
|
}
|
|
1741
|
-
declare function Avatar({ src, name, size, status, className }: AvatarProps):
|
|
1744
|
+
declare function Avatar({ src, name, size, status, className }: AvatarProps): react_jsx_runtime.JSX.Element;
|
|
1742
1745
|
interface AvatarGroupProps {
|
|
1743
1746
|
children: ReactNode;
|
|
1744
1747
|
/** Show at most this many avatars; the rest collapse into a +N chip. */
|
|
@@ -1748,7 +1751,7 @@ interface AvatarGroupProps {
|
|
|
1748
1751
|
size?: AvatarSize;
|
|
1749
1752
|
className?: string;
|
|
1750
1753
|
}
|
|
1751
|
-
declare function AvatarGroup({ children, max, size, className }: AvatarGroupProps):
|
|
1754
|
+
declare function AvatarGroup({ children, max, size, className }: AvatarGroupProps): react_jsx_runtime.JSX.Element;
|
|
1752
1755
|
|
|
1753
1756
|
type BannerTone = 'info' | 'success' | 'warning' | 'danger';
|
|
1754
1757
|
interface BannerProps {
|
|
@@ -1761,7 +1764,7 @@ interface BannerProps {
|
|
|
1761
1764
|
onDismiss?: () => void;
|
|
1762
1765
|
className?: string;
|
|
1763
1766
|
}
|
|
1764
|
-
declare function Banner({ tone, title, children, icon, onDismiss, className }: BannerProps):
|
|
1767
|
+
declare function Banner({ tone, title, children, icon, onDismiss, className }: BannerProps): react_jsx_runtime.JSX.Element;
|
|
1765
1768
|
|
|
1766
1769
|
interface TabItem {
|
|
1767
1770
|
id: string;
|
|
@@ -1776,7 +1779,7 @@ interface TabsProps {
|
|
|
1776
1779
|
variant?: 'underline' | 'pill';
|
|
1777
1780
|
className?: string;
|
|
1778
1781
|
}
|
|
1779
|
-
declare function Tabs({ items, value, onChange, variant, className }: TabsProps):
|
|
1782
|
+
declare function Tabs({ items, value, onChange, variant, className }: TabsProps): react_jsx_runtime.JSX.Element;
|
|
1780
1783
|
|
|
1781
1784
|
interface AccordionItem {
|
|
1782
1785
|
id: string;
|
|
@@ -1793,7 +1796,7 @@ interface AccordionProps {
|
|
|
1793
1796
|
allowMultiple?: boolean;
|
|
1794
1797
|
className?: string;
|
|
1795
1798
|
}
|
|
1796
|
-
declare function Accordion({ items, defaultOpenIds, openIds, onOpenChange, allowMultiple, className, }: AccordionProps):
|
|
1799
|
+
declare function Accordion({ items, defaultOpenIds, openIds, onOpenChange, allowMultiple, className, }: AccordionProps): react_jsx_runtime.JSX.Element;
|
|
1797
1800
|
|
|
1798
1801
|
interface TooltipProps {
|
|
1799
1802
|
content: ReactNode;
|
|
@@ -1802,7 +1805,7 @@ interface TooltipProps {
|
|
|
1802
1805
|
delay?: number;
|
|
1803
1806
|
children: ReactNode;
|
|
1804
1807
|
}
|
|
1805
|
-
declare function Tooltip({ content, side, delay, children }: TooltipProps):
|
|
1808
|
+
declare function Tooltip({ content, side, delay, children }: TooltipProps): react_jsx_runtime.JSX.Element;
|
|
1806
1809
|
|
|
1807
1810
|
interface ColoredBadgeProps {
|
|
1808
1811
|
/** Tailwind classes for the badge color, e.g. `bg-green-100 text-green-800`.
|
|
@@ -1821,7 +1824,7 @@ interface ColoredBadgeProps {
|
|
|
1821
1824
|
* Tailwind class string. Generic counterpart to StatusBadge (which maps status
|
|
1822
1825
|
* strings to semantic groups); use this when the caller already knows the color.
|
|
1823
1826
|
*/
|
|
1824
|
-
declare function ColoredBadge({ colorClass, children, size, capitalize }: ColoredBadgeProps):
|
|
1827
|
+
declare function ColoredBadge({ colorClass, children, size, capitalize }: ColoredBadgeProps): react_jsx_runtime.JSX.Element;
|
|
1825
1828
|
|
|
1826
1829
|
interface EmptyStateProps {
|
|
1827
1830
|
/** Bold heading, e.g. "No invoices yet". */
|
|
@@ -1848,7 +1851,7 @@ interface EmptyStateProps {
|
|
|
1848
1851
|
* copies: accepts both the `title`/`description` and `message`/`hint`/`frameless`
|
|
1849
1852
|
* prop shapes, with a single unified look.
|
|
1850
1853
|
*/
|
|
1851
|
-
declare function EmptyState({ title, message, description, hint, variant, frameless, icon, children, }: EmptyStateProps):
|
|
1854
|
+
declare function EmptyState({ title, message, description, hint, variant, frameless, icon, children, }: EmptyStateProps): react_jsx_runtime.JSX.Element;
|
|
1852
1855
|
|
|
1853
1856
|
interface PageHeaderProps {
|
|
1854
1857
|
title: string;
|
|
@@ -1865,7 +1868,7 @@ interface PageHeaderProps {
|
|
|
1865
1868
|
* right-aligned actions slot. Accepts both the `description`/`actions` and the
|
|
1866
1869
|
* `subtitle`/`children` prop shapes the portals previously used locally.
|
|
1867
1870
|
*/
|
|
1868
|
-
declare function PageHeader({ title, description, subtitle, actions, children }: PageHeaderProps):
|
|
1871
|
+
declare function PageHeader({ title, description, subtitle, actions, children }: PageHeaderProps): react_jsx_runtime.JSX.Element;
|
|
1869
1872
|
|
|
1870
1873
|
interface LoadingSpinnerProps {
|
|
1871
1874
|
/** Ring diameter: `sm` = 20px, `md` = 32px (default), `lg` = 48px. */
|
|
@@ -1879,7 +1882,7 @@ interface LoadingSpinnerProps {
|
|
|
1879
1882
|
* LoadingSpinner — a centered animated ring for pending/loading regions.
|
|
1880
1883
|
* (Distinct from the shell's internal "Loading…" text used inside data grids.)
|
|
1881
1884
|
*/
|
|
1882
|
-
declare function LoadingSpinner({ size, padding, className }: LoadingSpinnerProps):
|
|
1885
|
+
declare function LoadingSpinner({ size, padding, className }: LoadingSpinnerProps): react_jsx_runtime.JSX.Element;
|
|
1883
1886
|
|
|
1884
1887
|
interface FilterOption {
|
|
1885
1888
|
label: string;
|
|
@@ -1902,7 +1905,7 @@ interface FilterBarProps {
|
|
|
1902
1905
|
* `<select>` or, for long lists, a glass-styled searchable dropdown; a "Clear
|
|
1903
1906
|
* filters" button appears when any filter is active. Pair with `useFilters`.
|
|
1904
1907
|
*/
|
|
1905
|
-
declare function FilterBar({ filters, values, onChange, onClear, children }: FilterBarProps):
|
|
1908
|
+
declare function FilterBar({ filters, values, onChange, onClear, children }: FilterBarProps): react_jsx_runtime.JSX.Element;
|
|
1906
1909
|
/** Local filter-state helper: tracks active filter values + derived params. */
|
|
1907
1910
|
declare function useFilters(): {
|
|
1908
1911
|
filterValues: Record<string, string>;
|
|
@@ -1918,13 +1921,13 @@ declare function useFilters(): {
|
|
|
1918
1921
|
*/
|
|
1919
1922
|
declare function SidebarGroupLabel({ children }: {
|
|
1920
1923
|
children: ReactNode;
|
|
1921
|
-
}):
|
|
1924
|
+
}): react_jsx_runtime.JSX.Element;
|
|
1922
1925
|
declare function SidebarNavItem({ label, count, active, onClick }: {
|
|
1923
1926
|
label: string;
|
|
1924
1927
|
count?: number;
|
|
1925
1928
|
active: boolean;
|
|
1926
1929
|
onClick: () => void;
|
|
1927
|
-
}):
|
|
1930
|
+
}): react_jsx_runtime.JSX.Element;
|
|
1928
1931
|
|
|
1929
1932
|
/**
|
|
1930
1933
|
* Semantic role of a column, used to auto-map CSV columns to fields and to
|
|
@@ -1976,7 +1979,7 @@ interface BulkImportGridProps {
|
|
|
1976
1979
|
* column's `kind` (`price`/`qty`) to opt it into CSV auto-detection and the
|
|
1977
1980
|
* totals strip.
|
|
1978
1981
|
*/
|
|
1979
|
-
declare function BulkImportGrid({ columns, onImport, description, mergeDuplicates }: BulkImportGridProps):
|
|
1982
|
+
declare function BulkImportGrid({ columns, onImport, description, mergeDuplicates }: BulkImportGridProps): react_jsx_runtime.JSX.Element;
|
|
1980
1983
|
|
|
1981
1984
|
/**
|
|
1982
1985
|
* Pure helpers for reconciling a bulk-import grid (rows of string cells) against
|
|
@@ -2083,7 +2086,7 @@ interface ContainerFillChartProps<T = ContainerFillItem> {
|
|
|
2083
2086
|
* `getVolume` to inject per-unit volumes; the chart owns the container math and
|
|
2084
2087
|
* the instruction-vs-loaded dual-bar rendering.
|
|
2085
2088
|
*/
|
|
2086
|
-
declare function ContainerFillChart<T = ContainerFillItem>({ items, getVolume, qtyField, showNewIndicator, getInstructionQty, getActualQty, isFilled, isNew, className, style, }: ContainerFillChartProps<T>):
|
|
2089
|
+
declare function ContainerFillChart<T = ContainerFillItem>({ items, getVolume, qtyField, showNewIndicator, getInstructionQty, getActualQty, isFilled, isNew, className, style, }: ContainerFillChartProps<T>): react_jsx_runtime.JSX.Element | null;
|
|
2087
2090
|
|
|
2088
2091
|
/** Result of a single health poll. `latencyMs` is optional; when omitted on
|
|
2089
2092
|
* an ok result the indicator simply shows no latency for that poll. */
|
|
@@ -2128,7 +2131,7 @@ interface ServerStatusIndicatorProps {
|
|
|
2128
2131
|
* notification bell; supply `healthCheck` (or `healthUrl`), `user`, and
|
|
2129
2132
|
* `version` via a thin per-app wrapper.
|
|
2130
2133
|
*/
|
|
2131
|
-
declare function ServerStatusIndicator({ healthCheck, healthUrl, pollMs, requestTimeoutMs, user, version, }: ServerStatusIndicatorProps):
|
|
2134
|
+
declare function ServerStatusIndicator({ healthCheck, healthUrl, pollMs, requestTimeoutMs, user, version, }: ServerStatusIndicatorProps): react_jsx_runtime.JSX.Element;
|
|
2132
2135
|
|
|
2133
2136
|
interface ChangePasswordFormProps {
|
|
2134
2137
|
/**
|
|
@@ -2155,7 +2158,7 @@ interface ChangePasswordFormProps {
|
|
|
2155
2158
|
* Product-agnostic change-password form. The host supplies `onSubmit` to do the
|
|
2156
2159
|
* actual change (e.g. call an API then re-authenticate).
|
|
2157
2160
|
*/
|
|
2158
|
-
declare function ChangePasswordForm({ onSubmit, onSuccess, confirmOnSuccess, minLength, submitLabel, doneLabel, }: ChangePasswordFormProps):
|
|
2161
|
+
declare function ChangePasswordForm({ onSubmit, onSuccess, confirmOnSuccess, minLength, submitLabel, doneLabel, }: ChangePasswordFormProps): react_jsx_runtime.JSX.Element;
|
|
2159
2162
|
|
|
2160
2163
|
interface PdfActionButtonProps {
|
|
2161
2164
|
/**
|
|
@@ -2201,7 +2204,7 @@ interface PdfActionButtonProps {
|
|
|
2201
2204
|
* recent-documents logging) are lifted to the optional `onEmail` /
|
|
2202
2205
|
* `onPreviewOpened` callbacks.
|
|
2203
2206
|
*/
|
|
2204
|
-
declare function PdfActionButton({ fetchPdf, filename, label, className, disabled, onEmail, onPreviewOpened, icon, }: PdfActionButtonProps):
|
|
2207
|
+
declare function PdfActionButton({ fetchPdf, filename, label, className, disabled, onEmail, onPreviewOpened, icon, }: PdfActionButtonProps): react_jsx_runtime.JSX.Element;
|
|
2205
2208
|
|
|
2206
2209
|
/** Visual category for a milestone. Drives shape + colour so the user can
|
|
2207
2210
|
* tell different milestone types apart at a glance. */
|
|
@@ -2261,7 +2264,7 @@ interface MilestoneTimelineProps {
|
|
|
2261
2264
|
* Product-agnostic: it takes generic `Milestone` data as props. Map your
|
|
2262
2265
|
* domain records to the `Milestone` shape in a thin wrapper at the call site.
|
|
2263
2266
|
*/
|
|
2264
|
-
declare function MilestoneTimeline({ title, milestones, summary, endDate, phaseLabels }: MilestoneTimelineProps):
|
|
2267
|
+
declare function MilestoneTimeline({ title, milestones, summary, endDate, phaseLabels }: MilestoneTimelineProps): react_jsx_runtime.JSX.Element;
|
|
2265
2268
|
|
|
2266
2269
|
/**
|
|
2267
2270
|
* Shared chart types. The charts are dependency-free inline SVG/CSS — color
|
|
@@ -2314,35 +2317,35 @@ interface DonutChartProps {
|
|
|
2314
2317
|
style?: CSSProperties;
|
|
2315
2318
|
}
|
|
2316
2319
|
|
|
2317
|
-
declare function Sparkline({ data, width, height, stroke, fill, strokeWidth, showDots, className, style, }: SparklineProps):
|
|
2320
|
+
declare function Sparkline({ data, width, height, stroke, fill, strokeWidth, showDots, className, style, }: SparklineProps): react_jsx_runtime.JSX.Element | null;
|
|
2318
2321
|
|
|
2319
|
-
declare function BarChart({ data, labels, height, color, colors, max, gap, className, style, }: BarChartProps):
|
|
2322
|
+
declare function BarChart({ data, labels, height, color, colors, max, gap, className, style, }: BarChartProps): react_jsx_runtime.JSX.Element | null;
|
|
2320
2323
|
|
|
2321
|
-
declare function DonutChart({ segments, size, thickness, centerLabel, className, style }: DonutChartProps):
|
|
2324
|
+
declare function DonutChart({ segments, size, thickness, centerLabel, className, style }: DonutChartProps): react_jsx_runtime.JSX.Element;
|
|
2322
2325
|
|
|
2323
|
-
declare function DashboardTemplate():
|
|
2326
|
+
declare function DashboardTemplate(): react_jsx_runtime.JSX.Element;
|
|
2324
2327
|
|
|
2325
|
-
declare function DataTablePage():
|
|
2328
|
+
declare function DataTablePage(): react_jsx_runtime.JSX.Element;
|
|
2326
2329
|
|
|
2327
|
-
declare function FormLayoutPage():
|
|
2330
|
+
declare function FormLayoutPage(): react_jsx_runtime.JSX.Element;
|
|
2328
2331
|
|
|
2329
|
-
declare function CheckoutTemplate():
|
|
2332
|
+
declare function CheckoutTemplate(): react_jsx_runtime.JSX.Element;
|
|
2330
2333
|
|
|
2331
|
-
declare function EmailTemplate():
|
|
2334
|
+
declare function EmailTemplate(): react_jsx_runtime.JSX.Element;
|
|
2332
2335
|
|
|
2333
|
-
declare function ChatTemplate():
|
|
2336
|
+
declare function ChatTemplate(): react_jsx_runtime.JSX.Element;
|
|
2334
2337
|
|
|
2335
|
-
declare function GalleryTemplate():
|
|
2338
|
+
declare function GalleryTemplate(): react_jsx_runtime.JSX.Element;
|
|
2336
2339
|
|
|
2337
2340
|
interface AuthScreenProps {
|
|
2338
2341
|
mode?: 'login' | 'register' | 'forgot';
|
|
2339
2342
|
}
|
|
2340
|
-
declare function AuthScreen({ mode }: AuthScreenProps):
|
|
2343
|
+
declare function AuthScreen({ mode }: AuthScreenProps): react_jsx_runtime.JSX.Element;
|
|
2341
2344
|
|
|
2342
2345
|
interface ErrorPageProps {
|
|
2343
2346
|
code?: 403 | 404 | 500;
|
|
2344
2347
|
}
|
|
2345
|
-
declare function ErrorPage({ code }: ErrorPageProps):
|
|
2348
|
+
declare function ErrorPage({ code }: ErrorPageProps): react_jsx_runtime.JSX.Element;
|
|
2346
2349
|
|
|
2347
2350
|
/** Package version, injected by tsup at build time. Stays as an empty
|
|
2348
2351
|
* string when the source is consumed without a build (e.g. tests). */
|
|
@@ -2355,7 +2358,7 @@ interface ShellAuth {
|
|
|
2355
2358
|
declare function ShellAuthProvider({ value, children }: {
|
|
2356
2359
|
value: ShellAuth;
|
|
2357
2360
|
children: ReactNode;
|
|
2358
|
-
}):
|
|
2361
|
+
}): react_jsx_runtime.JSX.Element;
|
|
2359
2362
|
declare function useShellAuth(): ShellAuth;
|
|
2360
2363
|
|
|
2361
2364
|
interface ShellPrefsAdapter {
|
|
@@ -2368,7 +2371,7 @@ interface ShellPrefsAdapter {
|
|
|
2368
2371
|
declare function ShellPrefsProvider({ value, children, }: {
|
|
2369
2372
|
value: ShellPrefsAdapter;
|
|
2370
2373
|
children: ReactNode;
|
|
2371
|
-
}):
|
|
2374
|
+
}): react_jsx_runtime.JSX.Element;
|
|
2372
2375
|
/** Default localStorage-backed adapter — useful when the consumer doesn't
|
|
2373
2376
|
* ship a backend. Pass the result into <ShellPrefsProvider value={…}>.
|
|
2374
2377
|
*
|
|
@@ -2385,7 +2388,7 @@ type EntityFetcher = (endpoint: string, id: string) => Promise<any>;
|
|
|
2385
2388
|
declare function ShellEntityFetcherProvider({ value, children, }: {
|
|
2386
2389
|
value: EntityFetcher;
|
|
2387
2390
|
children: ReactNode;
|
|
2388
|
-
}):
|
|
2391
|
+
}): react_jsx_runtime.JSX.Element;
|
|
2389
2392
|
/** Returns the consumer-supplied entity fetcher, or a stub that throws
|
|
2390
2393
|
* on call. Components that fetch entities call this hook eagerly so any
|
|
2391
2394
|
* misconfiguration surfaces synchronously rather than at click-time. */
|