react-os-shell 3.3.0 → 3.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{Browser-ZNEYNG2T.js → Browser-3TDBBBTF.js} +4 -4
- package/dist/{Browser-ZNEYNG2T.js.map → Browser-3TDBBBTF.js.map} +1 -1
- package/dist/{Documents-JLFY2LT2.js → Documents-DM6ZYYUB.js} +3 -3
- package/dist/{Documents-JLFY2LT2.js.map → Documents-DM6ZYYUB.js.map} +1 -1
- package/dist/Files-2YM4DKVF.js +12 -0
- package/dist/{Files-PX52MFPM.js.map → Files-2YM4DKVF.js.map} +1 -1
- package/dist/{Notepad-XA45TQKF.js → Notepad-ELFOY4IA.js} +3 -3
- package/dist/{Notepad-XA45TQKF.js.map → Notepad-ELFOY4IA.js.map} +1 -1
- package/dist/Preview-VXSDJJFO.js +8 -0
- package/dist/{Preview-V4D7KDJW.js.map → Preview-VXSDJJFO.js.map} +1 -1
- package/dist/{Spreadsheet-DFOEXXRX.js → Spreadsheet-UDEIXK2I.js} +4 -4
- package/dist/{Spreadsheet-DFOEXXRX.js.map → Spreadsheet-UDEIXK2I.js.map} +1 -1
- package/dist/apps/index.d.ts +14 -13
- package/dist/apps/index.js +12 -12
- package/dist/{chunk-XM647QLH.js → chunk-7LF52UBQ.js} +3 -3
- package/dist/{chunk-XM647QLH.js.map → chunk-7LF52UBQ.js.map} +1 -1
- package/dist/{chunk-GM3VN2NL.js → chunk-ADTYTGFC.js} +4 -4
- package/dist/{chunk-GM3VN2NL.js.map → chunk-ADTYTGFC.js.map} +1 -1
- package/dist/{chunk-WZIH7WZM.js → chunk-DWGH2TFI.js} +3 -3
- package/dist/{chunk-WZIH7WZM.js.map → chunk-DWGH2TFI.js.map} +1 -1
- package/dist/{chunk-4WUEFQWP.js → chunk-HEY3SYFZ.js} +3 -3
- package/dist/{chunk-4WUEFQWP.js.map → chunk-HEY3SYFZ.js.map} +1 -1
- package/dist/{chunk-F25NBUMJ.js → chunk-NKNLIJA7.js} +3 -3
- package/dist/{chunk-F25NBUMJ.js.map → chunk-NKNLIJA7.js.map} +1 -1
- package/dist/{chunk-WKJ4YVF5.js → chunk-TEEFE7IV.js} +4 -4
- package/dist/{chunk-WKJ4YVF5.js.map → chunk-TEEFE7IV.js.map} +1 -1
- package/dist/index.d.ts +46 -45
- package/dist/index.js +6 -6
- package/dist/{types-CXBKusuC.d.ts → types-CTPtgkiG.d.ts} +1 -1
- package/package.json +1 -1
- package/dist/Files-PX52MFPM.js +0 -12
- package/dist/Preview-V4D7KDJW.js +0 -8
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-CTPtgkiG.js';
|
|
2
|
+
export { M as ModalRegistryEntry, P as PageRegistryEntry, a as WindowRegistryEntry, i as isEntityEntry, b as isPageEntry, s as setShellWindowRegistry } from './types-CTPtgkiG.js';
|
|
3
3
|
import * as react from 'react';
|
|
4
4
|
import react__default, { ReactNode, Component, ErrorInfo, CSSProperties, Dispatch, SetStateAction, RefObject } 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,7 +274,7 @@ 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
|
/**
|
|
@@ -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).
|
|
@@ -549,7 +550,7 @@ interface SidebarLayoutProps {
|
|
|
549
550
|
/** Classes for the main content pane. Defaults to a white background. */
|
|
550
551
|
contentClassName?: string;
|
|
551
552
|
}
|
|
552
|
-
declare function SidebarLayout({ sidebar, children, side, storageKey, defaultWidth, minWidth, maxWidth, className, sidebarClassName, contentClassName, }: SidebarLayoutProps):
|
|
553
|
+
declare function SidebarLayout({ sidebar, children, side, storageKey, defaultWidth, minWidth, maxWidth, className, sidebarClassName, contentClassName, }: SidebarLayoutProps): react_jsx_runtime.JSX.Element;
|
|
553
554
|
|
|
554
555
|
interface SearchableOption {
|
|
555
556
|
value: string;
|
|
@@ -591,7 +592,7 @@ interface SearchableSelectProps {
|
|
|
591
592
|
* Hidden while the user is typing so the search text stays legible. */
|
|
592
593
|
rightAdornment?: ReactNode;
|
|
593
594
|
}
|
|
594
|
-
declare function SearchableSelect({ value, onChange, options, placeholder, emptyOptionLabel, className, disabled, id, allowFreeText, onSearchChange, rightAdornment, }: SearchableSelectProps):
|
|
595
|
+
declare function SearchableSelect({ value, onChange, options, placeholder, emptyOptionLabel, className, disabled, id, allowFreeText, onSearchChange, rightAdornment, }: SearchableSelectProps): react_jsx_runtime.JSX.Element;
|
|
595
596
|
|
|
596
597
|
/**
|
|
597
598
|
* Generic top navigation bar. A horizontal row of tab-style links with an
|
|
@@ -623,7 +624,7 @@ interface TopNavProps {
|
|
|
623
624
|
actions?: ReactNode;
|
|
624
625
|
className?: string;
|
|
625
626
|
}
|
|
626
|
-
declare function TopNav({ items, activeKey, onSelect, brand, actions, className }: TopNavProps):
|
|
627
|
+
declare function TopNav({ items, activeKey, onSelect, brand, actions, className }: TopNavProps): react_jsx_runtime.JSX.Element;
|
|
627
628
|
|
|
628
629
|
/**
|
|
629
630
|
* Generic breadcrumb trail. Self-contained and styled with the same Tailwind
|
|
@@ -652,7 +653,7 @@ interface BreadcrumbsProps {
|
|
|
652
653
|
maxItems?: number;
|
|
653
654
|
className?: string;
|
|
654
655
|
}
|
|
655
|
-
declare function Breadcrumbs({ items, separator, maxItems, className }: BreadcrumbsProps):
|
|
656
|
+
declare function Breadcrumbs({ items, separator, maxItems, className }: BreadcrumbsProps): react_jsx_runtime.JSX.Element | null;
|
|
656
657
|
|
|
657
658
|
/** Generic notification shape consumed by the shell. Consumer-specific
|
|
658
659
|
* fields live on `extra` (or just on additional properties — TS structural
|
|
@@ -692,17 +693,17 @@ interface NotificationsConfig {
|
|
|
692
693
|
interface NotificationBellProps extends NotificationsConfig {
|
|
693
694
|
popDirection?: 'left' | 'right';
|
|
694
695
|
}
|
|
695
|
-
declare function NotificationBell({ useUnreadCount, list, markRead, markAllRead, onItemClick, onViewAll, popDirection, }: NotificationBellProps):
|
|
696
|
+
declare function NotificationBell({ useUnreadCount, list, markRead, markAllRead, onItemClick, onViewAll, popDirection, }: NotificationBellProps): react_jsx_runtime.JSX.Element;
|
|
696
697
|
|
|
697
698
|
type SemanticGroup = 'success' | 'active' | 'queued' | 'info' | 'pending' | 'warning' | 'danger' | 'draft' | 'neutral';
|
|
698
699
|
declare function StatusBadgeProvider({ groups, children, }: {
|
|
699
700
|
groups: Record<string, SemanticGroup>;
|
|
700
701
|
children: ReactNode;
|
|
701
|
-
}):
|
|
702
|
+
}): react_jsx_runtime.JSX.Element;
|
|
702
703
|
interface StatusBadgeProps {
|
|
703
704
|
status: string;
|
|
704
705
|
}
|
|
705
|
-
declare function StatusBadge({ status }: StatusBadgeProps):
|
|
706
|
+
declare function StatusBadge({ status }: StatusBadgeProps): react_jsx_runtime.JSX.Element;
|
|
706
707
|
|
|
707
708
|
/**
|
|
708
709
|
* System-tray badge shown only when the app is served from a developer's own
|
|
@@ -710,7 +711,7 @@ declare function StatusBadge({ status }: StatusBadgeProps): react.JSX.Element;
|
|
|
710
711
|
* slot — it renders nothing off-localhost, so it's safe to leave wired on every
|
|
711
712
|
* build. Visibility is gated on the runtime hostname; see utils/env.ts.
|
|
712
713
|
*/
|
|
713
|
-
declare function DevIndicator():
|
|
714
|
+
declare function DevIndicator(): react_jsx_runtime.JSX.Element | null;
|
|
714
715
|
|
|
715
716
|
/**
|
|
716
717
|
* Dev-environment detection + browser chrome.
|
|
@@ -789,7 +790,7 @@ declare function DocFavStar({ entityType, entityId, label }: {
|
|
|
789
790
|
entityType: string;
|
|
790
791
|
entityId: string;
|
|
791
792
|
label: string;
|
|
792
|
-
}):
|
|
793
|
+
}): react_jsx_runtime.JSX.Element;
|
|
793
794
|
/** Public, framework-free helper: route ('/orders', '/qc-reports', …)
|
|
794
795
|
* of the window the user is currently focused on. Returns undefined
|
|
795
796
|
* when no app window is active (start menu / dashboard with nothing
|
|
@@ -799,7 +800,7 @@ declare function DocFavStar({ entityType, entityId, label }: {
|
|
|
799
800
|
declare function getActiveWindowRoute(): string | undefined;
|
|
800
801
|
declare function WindowManagerProvider({ children }: {
|
|
801
802
|
children: ReactNode;
|
|
802
|
-
}):
|
|
803
|
+
}): react_jsx_runtime.JSX.Element;
|
|
803
804
|
|
|
804
805
|
/**
|
|
805
806
|
* INTERNAL stub — Desktop's About modal references the consumer-side
|
|
@@ -892,11 +893,11 @@ interface DesktopHostConfig {
|
|
|
892
893
|
declare function DesktopHostProvider({ value, children }: {
|
|
893
894
|
value: DesktopHostConfig;
|
|
894
895
|
children: ReactNode;
|
|
895
|
-
}):
|
|
896
|
+
}): react_jsx_runtime.JSX.Element;
|
|
896
897
|
declare function useDesktopHost(): DesktopHostConfig;
|
|
897
898
|
declare function Desktop({ profile }: {
|
|
898
899
|
profile: any;
|
|
899
|
-
}):
|
|
900
|
+
}): react_jsx_runtime.JSX.Element;
|
|
900
901
|
|
|
901
902
|
interface LayoutProps {
|
|
902
903
|
/** Brand label rendered on the start-menu button. */
|
|
@@ -945,7 +946,7 @@ interface ClockCalendarConfig {
|
|
|
945
946
|
close: () => void;
|
|
946
947
|
}) => ReactNode;
|
|
947
948
|
}
|
|
948
|
-
declare function Layout({ productName, productIcon, wallpapers, navSections, navIcons, sectionIcons, categories, notifications, search, taskbarTrayLeft, clockCalendar, }?: LayoutProps):
|
|
949
|
+
declare function Layout({ productName, productIcon, wallpapers, navSections, navIcons, sectionIcons, categories, notifications, search, taskbarTrayLeft, clockCalendar, }?: LayoutProps): react_jsx_runtime.JSX.Element;
|
|
949
950
|
|
|
950
951
|
interface StartMenuProps {
|
|
951
952
|
open: boolean;
|
|
@@ -972,7 +973,7 @@ interface StartMenuProps {
|
|
|
972
973
|
/** Section grouping + virtual flyouts (Utilities-style trays). */
|
|
973
974
|
categories?: StartMenuCategories;
|
|
974
975
|
}
|
|
975
|
-
declare function StartMenu({ open, onClose, openPage, profile, user, onLogout, taskbarPosition, taskbarH, taskbarW, size, navSections, navIcons, sectionIcons, categories, }: StartMenuProps):
|
|
976
|
+
declare function StartMenu({ open, onClose, openPage, profile, user, onLogout, taskbarPosition, taskbarH, taskbarW, size, navSections, navIcons, sectionIcons, categories, }: StartMenuProps): react_jsx_runtime.JSX.Element | null;
|
|
976
977
|
|
|
977
978
|
/**
|
|
978
979
|
* Widget gallery — the "manage widgets on the desktop" surface.
|
|
@@ -992,7 +993,7 @@ declare function StartMenu({ open, onClose, openPage, profile, user, onLogout, t
|
|
|
992
993
|
declare function WidgetManager({ open, onClose }: {
|
|
993
994
|
open: boolean;
|
|
994
995
|
onClose: () => void;
|
|
995
|
-
}):
|
|
996
|
+
}): react_jsx_runtime.JSX.Element | null;
|
|
996
997
|
|
|
997
998
|
/** Sections that can be omitted from the inline Customization page when the
|
|
998
999
|
* consumer renders them elsewhere (e.g. as separate entries in SystemPreferences). */
|
|
@@ -1006,7 +1007,7 @@ interface CustomizationProps {
|
|
|
1006
1007
|
/** Render only one logical group of settings. Omit to render everything. */
|
|
1007
1008
|
section?: CustomizationSection;
|
|
1008
1009
|
}
|
|
1009
|
-
declare function Customization({ omit, section }?: CustomizationProps):
|
|
1010
|
+
declare function Customization({ omit, section }?: CustomizationProps): react_jsx_runtime.JSX.Element;
|
|
1010
1011
|
|
|
1011
1012
|
/**
|
|
1012
1013
|
* Standalone Behavior settings panel — window position, double-click,
|
|
@@ -1016,7 +1017,7 @@ declare function Customization({ omit, section }?: CustomizationProps): react.JS
|
|
|
1016
1017
|
* Reads/writes shell prefs via `useShellPrefs()`. Suitable for use as a
|
|
1017
1018
|
* section in `SystemPreferences` or rendered standalone.
|
|
1018
1019
|
*/
|
|
1019
|
-
declare function BehaviorPanel():
|
|
1020
|
+
declare function BehaviorPanel(): react_jsx_runtime.JSX.Element;
|
|
1020
1021
|
|
|
1021
1022
|
/**
|
|
1022
1023
|
* Standalone Sounds settings panel — sound effects toggle + per-event
|
|
@@ -1025,7 +1026,7 @@ declare function BehaviorPanel(): react.JSX.Element;
|
|
|
1025
1026
|
* picked. Suitable as a section in `SystemPreferences` or rendered
|
|
1026
1027
|
* standalone.
|
|
1027
1028
|
*/
|
|
1028
|
-
declare function SoundsPanel():
|
|
1029
|
+
declare function SoundsPanel(): react_jsx_runtime.JSX.Element;
|
|
1029
1030
|
|
|
1030
1031
|
/** One section in the SystemPreferences sidebar. */
|
|
1031
1032
|
interface SystemPreferencesSection {
|
|
@@ -1072,7 +1073,7 @@ interface SystemPreferencesProps {
|
|
|
1072
1073
|
* ]} />
|
|
1073
1074
|
* ```
|
|
1074
1075
|
*/
|
|
1075
|
-
declare function SystemPreferences({ sections, defaultSelected, className, }: SystemPreferencesProps):
|
|
1076
|
+
declare function SystemPreferences({ sections, defaultSelected, className, }: SystemPreferencesProps): react_jsx_runtime.JSX.Element;
|
|
1076
1077
|
|
|
1077
1078
|
interface ImageAnnotatorHandle {
|
|
1078
1079
|
copy: () => Promise<void>;
|
|
@@ -1157,7 +1158,7 @@ interface EntityListProps<T> {
|
|
|
1157
1158
|
* emptyState={<EmptyState message="No suppliers yet." />}
|
|
1158
1159
|
* />
|
|
1159
1160
|
*/
|
|
1160
|
-
declare function EntityList<T>(props: EntityListProps<T>):
|
|
1161
|
+
declare function EntityList<T>(props: EntityListProps<T>): react_jsx_runtime.JSX.Element;
|
|
1161
1162
|
|
|
1162
1163
|
/**
|
|
1163
1164
|
* Generic, drag-and-drop Kanban board. Self-contained (native HTML5 DnD, no
|
|
@@ -1219,7 +1220,7 @@ interface KanbanProps<T> {
|
|
|
1219
1220
|
/** Label for the per-column add button. */
|
|
1220
1221
|
addItemText?: string;
|
|
1221
1222
|
}
|
|
1222
|
-
declare function Kanban<T>({ items, columns, columnOf, getId, onMove, renderCard, onCardClick, sortInColumn, isLoading, loadingText, emptyState, columnEmptyText, onAddItem, addItemText, }: KanbanProps<T>):
|
|
1223
|
+
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;
|
|
1223
1224
|
|
|
1224
1225
|
interface PaginatedResponse<T> {
|
|
1225
1226
|
count: number;
|
|
@@ -1268,7 +1269,7 @@ interface ResizableTableProps {
|
|
|
1268
1269
|
* - per-user persistence (via the shell-registered apiClient)
|
|
1269
1270
|
* - mobile-aware selection mode toggle
|
|
1270
1271
|
*/
|
|
1271
|
-
declare function ResizableTable({ tableId, columns, sort, onSort, footer, afterBody, saveDefaultPerms, children, }: ResizableTableProps):
|
|
1272
|
+
declare function ResizableTable({ tableId, columns, sort, onSort, footer, afterBody, saveDefaultPerms, children, }: ResizableTableProps): react_jsx_runtime.JSX.Element;
|
|
1272
1273
|
|
|
1273
1274
|
interface ListFooterProps {
|
|
1274
1275
|
selectedCount: number;
|
|
@@ -1284,7 +1285,7 @@ interface ListFooterProps {
|
|
|
1284
1285
|
* "Y of Z records · Loading more..."
|
|
1285
1286
|
* "All N records loaded"
|
|
1286
1287
|
*/
|
|
1287
|
-
declare function ListFooter({ selectedCount, loadedCount, totalCount, label, isFetchingMore, extra, }: ListFooterProps):
|
|
1288
|
+
declare function ListFooter({ selectedCount, loadedCount, totalCount, label, isFetchingMore, extra, }: ListFooterProps): react_jsx_runtime.JSX.Element;
|
|
1288
1289
|
|
|
1289
1290
|
/**
|
|
1290
1291
|
* Keyboard + shift-click navigation for table rows.
|
|
@@ -1362,7 +1363,7 @@ declare function useInfiniteScroll<T>({ queryKey, fetchFn, extraParams, pageSize
|
|
|
1362
1363
|
isFetchingNextPage: boolean;
|
|
1363
1364
|
hasNextPage: boolean;
|
|
1364
1365
|
sentinelRef: react.RefObject<HTMLDivElement>;
|
|
1365
|
-
refetch: (options?:
|
|
1366
|
+
refetch: (options?: _tanstack_query_core.RefetchOptions) => Promise<_tanstack_query_core.QueryObserverResult<_tanstack_query_core.InfiniteData<PaginatedResponse<T>, unknown>, Error>>;
|
|
1366
1367
|
};
|
|
1367
1368
|
|
|
1368
1369
|
/**
|
|
@@ -1389,7 +1390,7 @@ interface ShellAuth {
|
|
|
1389
1390
|
declare function ShellAuthProvider({ value, children }: {
|
|
1390
1391
|
value: ShellAuth;
|
|
1391
1392
|
children: ReactNode;
|
|
1392
|
-
}):
|
|
1393
|
+
}): react_jsx_runtime.JSX.Element;
|
|
1393
1394
|
declare function useShellAuth(): ShellAuth;
|
|
1394
1395
|
|
|
1395
1396
|
interface ShellPrefsAdapter {
|
|
@@ -1402,7 +1403,7 @@ interface ShellPrefsAdapter {
|
|
|
1402
1403
|
declare function ShellPrefsProvider({ value, children, }: {
|
|
1403
1404
|
value: ShellPrefsAdapter;
|
|
1404
1405
|
children: ReactNode;
|
|
1405
|
-
}):
|
|
1406
|
+
}): react_jsx_runtime.JSX.Element;
|
|
1406
1407
|
/** Default localStorage-backed adapter — useful when the consumer doesn't
|
|
1407
1408
|
* ship a backend. Pass the result into <ShellPrefsProvider value={…}>.
|
|
1408
1409
|
*
|
|
@@ -1419,7 +1420,7 @@ type EntityFetcher = (endpoint: string, id: string) => Promise<any>;
|
|
|
1419
1420
|
declare function ShellEntityFetcherProvider({ value, children, }: {
|
|
1420
1421
|
value: EntityFetcher;
|
|
1421
1422
|
children: ReactNode;
|
|
1422
|
-
}):
|
|
1423
|
+
}): react_jsx_runtime.JSX.Element;
|
|
1423
1424
|
/** Returns the consumer-supplied entity fetcher, or a stub that throws
|
|
1424
1425
|
* on call. Components that fetch entities call this hook eagerly so any
|
|
1425
1426
|
* misconfiguration surfaces synchronously rather than at click-time. */
|
package/dist/index.js
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { subscribePomo, getPomoSnapshot } from './chunk-6VMTAVUD.js';
|
|
2
2
|
export { setShellTodoProvider } from './chunk-6VMTAVUD.js';
|
|
3
|
-
import { PREVIEW_OPENED_EVENT, publishDesktopFolders, requestFilesTrashView, FolderGlyph, openPreviewFile, requestFilesDesktopFolderView, FileIconTile, hashGradient } from './chunk-
|
|
4
|
-
export { Breadcrumbs } from './chunk-
|
|
3
|
+
import { PREVIEW_OPENED_EVENT, publishDesktopFolders, requestFilesTrashView, FolderGlyph, openPreviewFile, requestFilesDesktopFolderView, FileIconTile, hashGradient } from './chunk-ADTYTGFC.js';
|
|
4
|
+
export { Breadcrumbs } from './chunk-ADTYTGFC.js';
|
|
5
5
|
import { SidebarLayout } from './chunk-VGTEM5RZ.js';
|
|
6
6
|
export { SidebarLayout } from './chunk-VGTEM5RZ.js';
|
|
7
7
|
import { playNotification, playStartup, soundsEnabled, getSoundConfig, SOUND_PACK_KEYS, SOUND_PACKS, SOUND_TYPES, SOUND_TYPE_LABELS, setSoundForType, previewSound, setAllSounds, playLogout } from './chunk-D7PYW2QS.js';
|
|
8
|
-
export { ImageAnnotator_default as ImageAnnotator } from './chunk-
|
|
8
|
+
export { ImageAnnotator_default as ImageAnnotator } from './chunk-HEY3SYFZ.js';
|
|
9
9
|
import { toast_default } from './chunk-VENYVK3L.js';
|
|
10
10
|
export { toast_default as toast } from './chunk-VENYVK3L.js';
|
|
11
|
-
export { EditableGrid } from './chunk-
|
|
11
|
+
export { EditableGrid } from './chunk-DWGH2TFI.js';
|
|
12
12
|
import { useAuth, useShellAuth } from './chunk-ADJ3CERD.js';
|
|
13
13
|
export { ShellAuthProvider, setShellAuthBridge, useShellAuth } from './chunk-ADJ3CERD.js';
|
|
14
|
-
import { APP_VERSION } from './chunk-
|
|
15
|
-
export { VERSION } from './chunk-
|
|
14
|
+
import { APP_VERSION } from './chunk-7LF52UBQ.js';
|
|
15
|
+
export { VERSION } from './chunk-7LF52UBQ.js';
|
|
16
16
|
import { useWindowManager, PopupMenu, PopupMenuLabel, PopupMenuDivider, PopupMenuItem, WINDOW_REGISTRY, isPageEntry, Modal, useShellPrefs, useIsMobile, ModalActions, useModalActive, client_default, LoadingSpinner, setWindowPosition, ThumbCard, activateModal } from './chunk-6OWYD4O6.js';
|
|
17
17
|
export { CancelButton, CopyButton, DocFavStar, Modal, ModalActions, PopupMenu, PopupMenuDivider, PopupMenuItem, PopupMenuLabel, ShellPrefsProvider, WindowCrashedFallback, WindowErrorBoundary, WindowManagerProvider, WindowTitle, commitExposeHighlight, exitExposeMode, getActiveWindowRoute, getExposeHighlight, getWindowPosition, isEntityEntry, isPageEntry, registerModalEscapeInterceptor, setExposeHighlight, setShellApiClient, setShellWindowRegistry, setWindowDefaultPosition, setWindowPosition, subscribeExposeHighlight, toggleExposeMode, useLocalStoragePrefs, useModalActive, useShellPrefs, useWidgetSettings, useWindowManager, useWindowMenuItem, useWindowTitle } from './chunk-6OWYD4O6.js';
|
|
18
18
|
export { ConfirmProvider, confirm, confirmDestructive, prompt } from './chunk-UBN4IUDE.js';
|
package/package.json
CHANGED
package/dist/Files-PX52MFPM.js
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
export { Files as default, openFilesInTrashMode, setFilesDemoTree } from './chunk-WKJ4YVF5.js';
|
|
2
|
-
import './chunk-GM3VN2NL.js';
|
|
3
|
-
import './chunk-VGTEM5RZ.js';
|
|
4
|
-
import './chunk-4WUEFQWP.js';
|
|
5
|
-
import './chunk-VENYVK3L.js';
|
|
6
|
-
import './chunk-WZIH7WZM.js';
|
|
7
|
-
import './chunk-XM647QLH.js';
|
|
8
|
-
import './chunk-6OWYD4O6.js';
|
|
9
|
-
import './chunk-UBN4IUDE.js';
|
|
10
|
-
import './chunk-ZF6AYO4G.js';
|
|
11
|
-
//# sourceMappingURL=Files-PX52MFPM.js.map
|
|
12
|
-
//# sourceMappingURL=Files-PX52MFPM.js.map
|
package/dist/Preview-V4D7KDJW.js
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export { Preview as default, setPdfPreview } from './chunk-4WUEFQWP.js';
|
|
2
|
-
import './chunk-VENYVK3L.js';
|
|
3
|
-
import './chunk-XM647QLH.js';
|
|
4
|
-
import './chunk-6OWYD4O6.js';
|
|
5
|
-
import './chunk-UBN4IUDE.js';
|
|
6
|
-
import './chunk-ZF6AYO4G.js';
|
|
7
|
-
//# sourceMappingURL=Preview-V4D7KDJW.js.map
|
|
8
|
-
//# sourceMappingURL=Preview-V4D7KDJW.js.map
|