efficient-shell 15.4.0 → 15.6.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.
Files changed (45) hide show
  1. package/dist/{Browser-NXQ4MAJT.js → Browser-MBT76EKF.js} +13 -13
  2. package/dist/{Calculator-HHAC23S4.js → Calculator-PAMITD4N.js} +22 -22
  3. package/dist/{CurrencyConverter-H34LZQBN.js → CurrencyConverter-UAZYLLHT.js} +7 -7
  4. package/dist/{Files-SEN6BFX5.js → Files-G5VBN3GD.js} +46 -46
  5. package/dist/{Notepad-4LKFIPTY.js → Notepad-23YBRLDH.js} +9 -9
  6. package/dist/{PomodoroTimer-GZZD7LPW.js → PomodoroTimer-QFF2FTAG.js} +7 -7
  7. package/dist/{Preview-PCIWBI7G.js → Preview-4VKAQ4TY.js} +12 -12
  8. package/dist/{Stock-R5A7NOZT.js → Stock-6YYK6VWP.js} +1 -1
  9. package/dist/{Weather-U2LR5SRL.js → Weather-2OU3LEWQ.js} +14 -14
  10. package/dist/{WorldClock-HGGHJ5SX.js → WorldClock-PYJ4762U.js} +6 -6
  11. package/dist/ai/index.js +8 -8
  12. package/dist/apps/index.js +1 -1
  13. package/dist/bin/browser-check.js +1 -1
  14. package/dist/bin/media-host-check.js +1 -1
  15. package/dist/bin/ui-check.js +1 -1
  16. package/dist/brand.css +1 -1
  17. package/dist/{chunk-HB2PSIVY.js → chunk-3C2VY2VF.js} +1 -1
  18. package/dist/{chunk-E4WVF6AS.js → chunk-6ZNJ6JU5.js} +6 -6
  19. package/dist/{chunk-CGX2IGQO.js → chunk-FQ3SYDKI.js} +1 -1
  20. package/dist/chunk-FUUUPTVN.js +18 -0
  21. package/dist/chunk-IN36HWJK.js +1 -0
  22. package/dist/{chunk-OHPDB4UN.js → chunk-N3T5BE2T.js} +4 -4
  23. package/dist/{chunk-MBWAXS6S.js → chunk-NICH2O4C.js} +1 -1
  24. package/dist/{chunk-PSJLYNBG.js → chunk-OQAGCYR7.js} +3 -3
  25. package/dist/{chunk-L7EQ2DJV.js → chunk-OZNCUWYB.js} +1 -1
  26. package/dist/{chunk-JWS77LQE.js → chunk-QJ3X2PHY.js} +1 -1
  27. package/dist/{chunk-KFVGNKKJ.js → chunk-XRWUNOI3.js} +1 -1
  28. package/dist/forms/LinkPicker.js +1 -1
  29. package/dist/forms/MediaLibrary.js +1 -1
  30. package/dist/icons/index.js +1 -1
  31. package/dist/index.d.ts +43 -2
  32. package/dist/index.js +149 -149
  33. package/dist/routine-index.json +1 -1
  34. package/dist/shell/LanguageSelect.js +1 -1
  35. package/dist/shell/SidebarLayout.d.ts +11 -1
  36. package/dist/shell/SidebarLayout.js +1 -1
  37. package/dist/telemetry/index.js +1 -1
  38. package/dist/templates/ChatTemplate.js +1 -1
  39. package/dist/templates/EmailTemplate.js +1 -1
  40. package/dist/ui/index.js +1 -1
  41. package/dist/value-index.json +1 -1
  42. package/dist/version.js +1 -1
  43. package/package.json +1 -1
  44. package/dist/chunk-JJV7F66E.js +0 -1
  45. package/dist/chunk-TMXMIRWG.js +0 -16
@@ -1,2 +1,2 @@
1
1
  "use client";
2
- export{MEDIA_FILES_DRAG_TYPE,MEDIA_FILE_DRAG_TYPE,MEDIA_FOLDER_DRAG_TYPE,MediaLibrary as default,readMediaFileDrag}from"../chunk-E4WVF6AS.js";import"../chunk-BTMZ5MUY.js";import"../chunk-5B7CLXHC.js";import"../chunk-MQNSKFZY.js";import"../chunk-CGUMJZUB.js";import"../chunk-IC72MGON.js";import"../chunk-DEV3ZHPP.js";import"../chunk-W3454ZES.js";import"../chunk-SACUSHVN.js";import"../chunk-WREUA43Q.js";import"../chunk-VLKDWKVR.js";import"../chunk-OLFYNMTD.js";import"../chunk-LACL4MAR.js";import"../chunk-UFJR63AO.js";import"../chunk-GRAFJD3L.js";import"../chunk-OK2J6WSC.js";import"../chunk-B4Y5NGHR.js";import"../chunk-EULBBS5L.js";import"../chunk-W7HTHKN2.js";import"../chunk-EO5RLFRX.js";import"../chunk-GML6FVPA.js";import"../chunk-6KBDNYRW.js";import"../chunk-2NMW66P5.js";import"../chunk-XYVFJLAU.js";import"../chunk-CGZBDI6C.js";import"../chunk-TALQMTCE.js";import"../chunk-EFKJLUYP.js";import"../chunk-MF7OELXP.js";import"../chunk-OSMRYND3.js";import"../chunk-D7MRZZVV.js";import"../chunk-TAIH2VIW.js";import"../chunk-TAB3K2WF.js";import"../chunk-AYZY3YNC.js";import"../chunk-TNGIXSTM.js";import"../chunk-EIFNESXS.js";import"../chunk-PO2KNVCC.js";import"../chunk-CJ4OEY3T.js";import"../chunk-5QHNDAZ6.js";import"../chunk-TEQ5ZPAL.js";import"../chunk-VWGWZY7A.js";import"../chunk-DBQNYJZ6.js";import"../chunk-L2WQOJ3T.js";import"../chunk-UGTRSRIW.js";import"../chunk-F3ZOO23R.js";import"../chunk-NJY4HPNB.js";import"../chunk-PM6HY5BH.js";import"../chunk-DWGYC7OD.js";import"../chunk-APFDZ2HG.js";import"../chunk-ABIWAS5K.js";import"../chunk-P56YLT73.js";import"../chunk-URHGHXDN.js";import"../chunk-5QFPTDQF.js";import"../chunk-A4ROXNUF.js";import"../chunk-TSZPGDU3.js";import"../chunk-ISVODSRP.js";import"../chunk-J75ZT2JQ.js";import"../chunk-R2VKEMZH.js";import"../chunk-BWJZTHZ6.js";import"../chunk-FAPZFMS3.js";import"../chunk-CIZAUBWA.js";import"../chunk-PGN5ME7B.js";import"../chunk-5QRHQCRG.js";import"../chunk-62LW225J.js";import"../chunk-TAHHZGRH.js";import"../chunk-KEFNQEXZ.js";import"../chunk-PU2GJVMG.js";import"../chunk-3FININUU.js";import"../chunk-I2NVBDKH.js";import"../chunk-UQYNPYF4.js";import"../chunk-MRJKZWWV.js";import"../chunk-TWVUQUUD.js";import"../chunk-5FYDNH4Y.js";import"../chunk-LNXBTK7Q.js";import"../chunk-MAFUXCPZ.js";import"../chunk-NRHG4R2Q.js";import"../chunk-C3QOHMR6.js";
2
+ export{MEDIA_FILES_DRAG_TYPE,MEDIA_FILE_DRAG_TYPE,MEDIA_FOLDER_DRAG_TYPE,MediaLibrary as default,readMediaFileDrag}from"../chunk-6ZNJ6JU5.js";import"../chunk-BTMZ5MUY.js";import"../chunk-5B7CLXHC.js";import"../chunk-MQNSKFZY.js";import"../chunk-CGUMJZUB.js";import"../chunk-IC72MGON.js";import"../chunk-DEV3ZHPP.js";import"../chunk-W3454ZES.js";import"../chunk-SACUSHVN.js";import"../chunk-WREUA43Q.js";import"../chunk-UFJR63AO.js";import"../chunk-GRAFJD3L.js";import"../chunk-OK2J6WSC.js";import"../chunk-B4Y5NGHR.js";import"../chunk-EULBBS5L.js";import"../chunk-W7HTHKN2.js";import"../chunk-EO5RLFRX.js";import"../chunk-GML6FVPA.js";import"../chunk-6KBDNYRW.js";import"../chunk-2NMW66P5.js";import"../chunk-VLKDWKVR.js";import"../chunk-OLFYNMTD.js";import"../chunk-LACL4MAR.js";import"../chunk-XYVFJLAU.js";import"../chunk-CGZBDI6C.js";import"../chunk-TALQMTCE.js";import"../chunk-EFKJLUYP.js";import"../chunk-MF7OELXP.js";import"../chunk-OSMRYND3.js";import"../chunk-D7MRZZVV.js";import"../chunk-AYZY3YNC.js";import"../chunk-TAIH2VIW.js";import"../chunk-TAB3K2WF.js";import"../chunk-TNGIXSTM.js";import"../chunk-EIFNESXS.js";import"../chunk-PO2KNVCC.js";import"../chunk-CJ4OEY3T.js";import"../chunk-5QHNDAZ6.js";import"../chunk-TEQ5ZPAL.js";import"../chunk-VWGWZY7A.js";import"../chunk-DBQNYJZ6.js";import"../chunk-L2WQOJ3T.js";import"../chunk-UGTRSRIW.js";import"../chunk-F3ZOO23R.js";import"../chunk-NJY4HPNB.js";import"../chunk-PM6HY5BH.js";import"../chunk-DWGYC7OD.js";import"../chunk-APFDZ2HG.js";import"../chunk-ABIWAS5K.js";import"../chunk-P56YLT73.js";import"../chunk-URHGHXDN.js";import"../chunk-5QFPTDQF.js";import"../chunk-A4ROXNUF.js";import"../chunk-TSZPGDU3.js";import"../chunk-ISVODSRP.js";import"../chunk-J75ZT2JQ.js";import"../chunk-R2VKEMZH.js";import"../chunk-BWJZTHZ6.js";import"../chunk-FAPZFMS3.js";import"../chunk-CIZAUBWA.js";import"../chunk-PGN5ME7B.js";import"../chunk-5QRHQCRG.js";import"../chunk-62LW225J.js";import"../chunk-TAHHZGRH.js";import"../chunk-KEFNQEXZ.js";import"../chunk-PU2GJVMG.js";import"../chunk-3FININUU.js";import"../chunk-I2NVBDKH.js";import"../chunk-UQYNPYF4.js";import"../chunk-MRJKZWWV.js";import"../chunk-TWVUQUUD.js";import"../chunk-5FYDNH4Y.js";import"../chunk-LNXBTK7Q.js";import"../chunk-MAFUXCPZ.js";import"../chunk-NRHG4R2Q.js";import"../chunk-C3QOHMR6.js";
@@ -1,2 +1,2 @@
1
1
  "use client";
2
- export{ICON_NAMES,isIconName}from"../chunk-3C7JKJGL.js";export{ICON_SET_FOR_THEME,THEME_ICON_SETS,iconSetFor,loadIconSet}from"../chunk-VQCKMT5F.js";export{BRAND_ICON_NAMES,isBrandIconName}from"../chunk-RQGLDRRF.js";export{BRAND_MAX_HEIGHT,BRAND_MIN_HEIGHT_PX,brandBox}from"../chunk-64ACCUNN.js";export{Icon}from"../chunk-ISVODSRP.js";export{activeIconSet,iconSets,iconsVersion,registerIconSet,registerIcons,resolveIcon,setDefaultIconSet,setIconSet,subscribeIcons}from"../chunk-J75ZT2JQ.js";
2
+ export{ICON_NAMES,isIconName}from"../chunk-3C7JKJGL.js";export{BRAND_ICON_NAMES,isBrandIconName}from"../chunk-RQGLDRRF.js";export{BRAND_MAX_HEIGHT,BRAND_MIN_HEIGHT_PX,brandBox}from"../chunk-64ACCUNN.js";export{ICON_SET_FOR_THEME,THEME_ICON_SETS,iconSetFor,loadIconSet}from"../chunk-VQCKMT5F.js";export{Icon}from"../chunk-ISVODSRP.js";export{activeIconSet,iconSets,iconsVersion,registerIconSet,registerIcons,resolveIcon,setDefaultIconSet,setIconSet,subscribeIcons}from"../chunk-J75ZT2JQ.js";
package/dist/index.d.ts CHANGED
@@ -241,7 +241,7 @@ export { VERSION } from './version.js';
241
241
  import { W as WindowRegistry, E as EditState } from './types-DWIjEVSy.js';
242
242
  export { M as ModalRegistryEntry, P as PageRegistryEntry, a as WindowRegistryEntry, i as isEntityEntry, b as isPageEntry, s as setShellWindowRegistry } from './types-DWIjEVSy.js';
243
243
  import * as react from 'react';
244
- import { ReactNode, Component, ErrorInfo } from 'react';
244
+ import { ReactNode, RefObject, Component, ErrorInfo } from 'react';
245
245
  import * as react_jsx_runtime from 'react/jsx-runtime';
246
246
  import * as _tanstack_query_core from '@tanstack/query-core';
247
247
  export { A as AnonymousClientTelemetryConfig, C as ClientTelemetry, a as ClientTelemetryConfig, S as SignedInClientTelemetryConfig, s as startClientTelemetry } from './client-DZeDEyG1.js';
@@ -715,6 +715,47 @@ interface TitleParts {
715
715
  type TitleRole = 'badge';
716
716
  declare function splitTitle(title: ReactNode): TitleParts;
717
717
 
718
+ /**
719
+ * Let a body element share the window's top row with the window controls.
720
+ *
721
+ * A desktop window has no title bar: its close, minimise and maximise buttons
722
+ * sit at its top-left corner (see `windowInset.ts`). `SidebarLayout` claims
723
+ * that corner for its left sidebar; this hook is the same claim for any other
724
+ * element that starts flush in the window's top-left corner — a list pane
725
+ * whose sidebar is hidden, say — so it can put its own heading on the row the
726
+ * buttons sit on instead of under a row of their own.
727
+ *
728
+ * While `over` is true the window draws no top row of its own, the buttons
729
+ * float over the claimed element, and the element is expected to keep its
730
+ * first row `rowClass` tall with `controlsWidth` pixels clear at its left.
731
+ * Anywhere else in the body (inside a tab, under a toolbar) the claim is
732
+ * refused, `over` stays false and the window keeps its top row.
733
+ */
734
+
735
+ interface WindowControlsInset {
736
+ /** The window accepted the claim (it may still keep its own row; see `over`). */
737
+ claimed: boolean;
738
+ /** The window controls sit over the claimed element right now. */
739
+ over: boolean;
740
+ /** The window draws the small (compact / app-style) row. */
741
+ compact: boolean;
742
+ /** Height class for the row the controls sit on. */
743
+ rowClass: string;
744
+ /** Width in px of the floating controls, 0 while they are not over the element. */
745
+ controlsWidth: number;
746
+ /** The window's name as plain text, to draw beside the controls. */
747
+ title?: string;
748
+ /** The window is the active one. */
749
+ active?: boolean;
750
+ }
751
+ /**
752
+ * Claim the window controls for `ref`'s element while `enabled`. The claim is
753
+ * made once per enable: the window's answer (`over`) can change while it is
754
+ * open (a window that gains buttons of its own keeps its row for them), and
755
+ * that must not release and re-claim.
756
+ */
757
+ declare function useWindowControlsInset(ref: RefObject<HTMLElement | null>, enabled?: boolean): WindowControlsInset;
758
+
718
759
  /**
719
760
  * A target as the window receives it: what was asked for, plus the stamp that
720
761
  * makes THIS staging distinct from the last one.
@@ -2709,4 +2750,4 @@ declare function useUndoable<T>(value: T, apply: (next: T) => void, opts: Undoab
2709
2750
  */
2710
2751
  declare function useUndoableState<T>(initial: T | (() => T), opts: UndoableOptions): [T, React.Dispatch<React.SetStateAction<T>>];
2711
2752
 
2712
- export { type ActivityKind, type AsyncEnvironment, BLOCKED_PCT_CPU, type BatteryInfo, BehaviorPanel, type BottleneckKind, type BulkColumn, type BulkColumnKind, BulkImportGrid, type BulkImportGridProps, type BulkRow, CancelButton, ChangePasswordForm, type ChangePasswordFormProps, type ChangelogEntry, type ClockCalendarConfig, CopyButton, Customization, type CustomizationOmitSection, type CustomizationProps, type CustomizationSection, DEV_BANNER_TEXT, Desktop, type DesktopContextMenuItem, type DesktopHostConfig, DesktopHostProvider, DevIndicator, DocFavStar, DropdownMenuEntry, type DuplicateGroup, EditState, type EntityFetcher, type EntityRefetchIntervalOption, type EntityRefetchOnWindowFocusOption, EntityWindowFallback, type EntityWindowFallbackProps, EntityWindowLoading, EntityWindowState, type EntityWindowStateProps, FilterBar, type FilterOption, type FpsGroup, type HealthCheckResult, IN_BROWSER, LOG_CAP, Layout, type LayoutMode, type LayoutProps, type LogSummary, MIN_EVENT_SAMPLES, MIN_GROUP_SAMPLES, MODAL_SUBMIT_SELECTOR, type MenuLayer, type MergeBulkOptions, type MergeBulkResult, type MobileAppConfig, Modal, ModalActions, type ModalEdit, ModalMoreActions, NotificationBell, type NotificationsConfig, type OpenPageOptions, PaginatedResponse, PdfActionButton, type PdfActionButtonProps, type PerfEnvironment, type PerfLogRecord, type PerfReading, type PerfReport, PerfStats, type PerfStatsProps, type PlatformHints, SMOOTH_FPS, SearchConfig, ServerStatusIndicator, type ServerStatusIndicatorProps, type ServerStatusUser, type ShellAuth, ShellAuthProvider, type ShellBranding, ShellContextMenu, type ShellContextMenuProps, ShellEntityFetcherProvider, type ShellNotification, ShortcutHelp, SoundsPanel, type StagedTarget, StartMenu, type StickyEntityRef, type StickyResolver, SystemPreferences, type SystemPreferencesProps, type SystemPreferencesSection, type TitleParts, type TitleRole, type TodoProvider, type TodoTask, UndoControls, type UndoControlsApi, type UndoControlsProps, UndoProvider, type UndoProviderProps, type UndoSnapshot, type UndoState, type UndoStep, type UndoableOptions, type Verdict, WidgetManager, WindowCrashedFallback, WindowEditSlot, WindowErrorBoundary, WindowManagerProvider, WindowRegistry, type WindowTarget, type WindowTargetOptions, WindowTitle, activateWindowById, appendRecord as appendPerfRecord, applyDevTitle, beginWindowGesture, classifyActivity, classify as classifyPerf, commitExposeHighlight, copyToClipboard, createWindowRegistry, createWindowTarget, describeMachine, describePerfReport, exitExposeMode, findDuplicateKeys, getActiveWindowRoute, getExposeHighlight, getWindowPosition, installThemeIconSets, isDevEnv, isInteracting, layoutModeOf, markMenuOpen, mergeBulkItems, notificationRowParts, toCsv as perfLogToCsv, perfReportFile, readEnvironment as readPerfEnvironment, requestAsyncEnvironment, requestWindowFront, setExposeHighlight, setShellAuthBridge, setShellNavIcons, setShellTodoProvider, setWindowDefaultPosition, setWindowPosition, splitTitle, subscribeExposeHighlight, summariseFrames, summariseLog as summarisePerfLog, toggleExposeMode, useCurrentTabKey, useDesktopHost, useEditHotkey, useEnclosingModalId, useFilters, useInfiniteScroll, useIsActiveWindow, useModalActive, useModalDuplicate, useModalSave, useNewHotkey, usePageSearch, useSetLayoutMode, useShellAuth, useShellEntityFetcher, useUndo, useUndoCanEdit, useUndoable, useUndoableState, useWidgetSettings, useWindowDirty, useWindowManager, useWindowMenuItem, useWindowTarget, useWindowTitle };
2753
+ export { type ActivityKind, type AsyncEnvironment, BLOCKED_PCT_CPU, type BatteryInfo, BehaviorPanel, type BottleneckKind, type BulkColumn, type BulkColumnKind, BulkImportGrid, type BulkImportGridProps, type BulkRow, CancelButton, ChangePasswordForm, type ChangePasswordFormProps, type ChangelogEntry, type ClockCalendarConfig, CopyButton, Customization, type CustomizationOmitSection, type CustomizationProps, type CustomizationSection, DEV_BANNER_TEXT, Desktop, type DesktopContextMenuItem, type DesktopHostConfig, DesktopHostProvider, DevIndicator, DocFavStar, DropdownMenuEntry, type DuplicateGroup, EditState, type EntityFetcher, type EntityRefetchIntervalOption, type EntityRefetchOnWindowFocusOption, EntityWindowFallback, type EntityWindowFallbackProps, EntityWindowLoading, EntityWindowState, type EntityWindowStateProps, FilterBar, type FilterOption, type FpsGroup, type HealthCheckResult, IN_BROWSER, LOG_CAP, Layout, type LayoutMode, type LayoutProps, type LogSummary, MIN_EVENT_SAMPLES, MIN_GROUP_SAMPLES, MODAL_SUBMIT_SELECTOR, type MenuLayer, type MergeBulkOptions, type MergeBulkResult, type MobileAppConfig, Modal, ModalActions, type ModalEdit, ModalMoreActions, NotificationBell, type NotificationsConfig, type OpenPageOptions, PaginatedResponse, PdfActionButton, type PdfActionButtonProps, type PerfEnvironment, type PerfLogRecord, type PerfReading, type PerfReport, PerfStats, type PerfStatsProps, type PlatformHints, SMOOTH_FPS, SearchConfig, ServerStatusIndicator, type ServerStatusIndicatorProps, type ServerStatusUser, type ShellAuth, ShellAuthProvider, type ShellBranding, ShellContextMenu, type ShellContextMenuProps, ShellEntityFetcherProvider, type ShellNotification, ShortcutHelp, SoundsPanel, type StagedTarget, StartMenu, type StickyEntityRef, type StickyResolver, SystemPreferences, type SystemPreferencesProps, type SystemPreferencesSection, type TitleParts, type TitleRole, type TodoProvider, type TodoTask, UndoControls, type UndoControlsApi, type UndoControlsProps, UndoProvider, type UndoProviderProps, type UndoSnapshot, type UndoState, type UndoStep, type UndoableOptions, type Verdict, WidgetManager, type WindowControlsInset, WindowCrashedFallback, WindowEditSlot, WindowErrorBoundary, WindowManagerProvider, WindowRegistry, type WindowTarget, type WindowTargetOptions, WindowTitle, activateWindowById, appendRecord as appendPerfRecord, applyDevTitle, beginWindowGesture, classifyActivity, classify as classifyPerf, commitExposeHighlight, copyToClipboard, createWindowRegistry, createWindowTarget, describeMachine, describePerfReport, exitExposeMode, findDuplicateKeys, getActiveWindowRoute, getExposeHighlight, getWindowPosition, installThemeIconSets, isDevEnv, isInteracting, layoutModeOf, markMenuOpen, mergeBulkItems, notificationRowParts, toCsv as perfLogToCsv, perfReportFile, readEnvironment as readPerfEnvironment, requestAsyncEnvironment, requestWindowFront, setExposeHighlight, setShellAuthBridge, setShellNavIcons, setShellTodoProvider, setWindowDefaultPosition, setWindowPosition, splitTitle, subscribeExposeHighlight, summariseFrames, summariseLog as summarisePerfLog, toggleExposeMode, useCurrentTabKey, useDesktopHost, useEditHotkey, useEnclosingModalId, useFilters, useInfiniteScroll, useIsActiveWindow, useModalActive, useModalDuplicate, useModalSave, useNewHotkey, usePageSearch, useSetLayoutMode, useShellAuth, useShellEntityFetcher, useUndo, useUndoCanEdit, useUndoable, useUndoableState, useWidgetSettings, useWindowControlsInset, useWindowDirty, useWindowManager, useWindowMenuItem, useWindowTarget, useWindowTitle };