@edrlab/thorium-web 1.5.7 → 1.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 (66) hide show
  1. package/dist/{ThPreferencesAdapter-GepvYoaL.d.mts → ThPreferencesAdapter-B39cxwAo.d.mts} +4 -22
  2. package/dist/{ThSettingsWrapper-DyYC678Q.d.mts → ThSettingsWrapper-DBrfTO6I.d.mts} +1 -1
  3. package/dist/{actions-CTg9C4C-.d.mts → actions-CN51OeyO.d.mts} +29 -6
  4. package/dist/{actionsReducer-Cnd7Cdh9.d.mts → actionsReducer-D3Ujx25n.d.mts} +5 -13
  5. package/dist/{chunk-C6LWEQL2.mjs → chunk-7X5KT42Z.mjs} +336 -310
  6. package/dist/chunk-7X5KT42Z.mjs.map +1 -0
  7. package/dist/{chunk-I765HTBI.mjs → chunk-GC7ENGE2.mjs} +49 -76
  8. package/dist/chunk-GC7ENGE2.mjs.map +1 -0
  9. package/dist/{chunk-MBWYHA4U.mjs → chunk-GGNTMKHK.mjs} +8 -8
  10. package/dist/chunk-GGNTMKHK.mjs.map +1 -0
  11. package/dist/{chunk-TNXLY2ZQ.mjs → chunk-GWL53CI4.mjs} +9 -9
  12. package/dist/chunk-GWL53CI4.mjs.map +1 -0
  13. package/dist/{chunk-JXHRUQKP.mjs → chunk-OOAZZ3IZ.mjs} +9 -9
  14. package/dist/chunk-OOAZZ3IZ.mjs.map +1 -0
  15. package/dist/{chunk-2YS5JTIR.mjs → chunk-QME5CNAT.mjs} +5 -5
  16. package/dist/{chunk-2YS5JTIR.mjs.map → chunk-QME5CNAT.mjs.map} +1 -1
  17. package/dist/{chunk-6DR4EAK3.mjs → chunk-WA35SQJK.mjs} +2 -2
  18. package/dist/chunk-WA35SQJK.mjs.map +1 -0
  19. package/dist/components/Audio/index.css +1 -1
  20. package/dist/components/Audio/index.css.map +1 -1
  21. package/dist/components/Audio/index.d.mts +9 -9
  22. package/dist/components/Audio/index.mjs +4 -4
  23. package/dist/components/Epub/index.css +1 -1
  24. package/dist/components/Epub/index.css.map +1 -1
  25. package/dist/components/Epub/index.d.mts +9 -9
  26. package/dist/components/Epub/index.mjs +5 -5
  27. package/dist/components/Reader/index.css +1 -1
  28. package/dist/components/Reader/index.css.map +1 -1
  29. package/dist/components/Reader/index.d.mts +8 -8
  30. package/dist/components/Reader/index.mjs +9 -9
  31. package/dist/components/WebPub/index.css +1 -1
  32. package/dist/components/WebPub/index.css.map +1 -1
  33. package/dist/components/WebPub/index.d.mts +9 -9
  34. package/dist/components/WebPub/index.mjs +5 -5
  35. package/dist/core/Components/index.d.mts +5 -5
  36. package/dist/core/Hooks/index.d.mts +4 -4
  37. package/dist/lib/index.d.mts +7 -7
  38. package/dist/lib/index.mjs +1 -1
  39. package/dist/locales/ar/thorium-shared.json +109 -14
  40. package/dist/locales/ar/thorium-web.json +67 -7
  41. package/dist/locales/en/thorium-shared.json +3 -0
  42. package/dist/locales/en/thorium-web.json +1 -2
  43. package/dist/locales/es/thorium-shared.json +2 -2
  44. package/dist/locales/es/thorium-web.json +1 -1
  45. package/dist/locales/et/thorium-shared.json +3 -0
  46. package/dist/locales/fi/thorium-shared.json +3 -0
  47. package/dist/locales/fr/thorium-shared.json +1 -1
  48. package/dist/locales/it/thorium-shared.json +3 -0
  49. package/dist/locales/lt/thorium-shared.json +6 -3
  50. package/dist/locales/pl/thorium-shared.json +6 -0
  51. package/dist/locales/sl/thorium-shared.json +380 -0
  52. package/dist/locales/sv/thorium-shared.json +6 -0
  53. package/dist/locales/sv/thorium-web.json +2 -2
  54. package/dist/preferences/index.d.mts +8 -8
  55. package/dist/preferences/index.mjs +1 -1
  56. package/dist/{settingsReducer-DRWEq8Cm.d.mts → settingsReducer-flD_zs4E.d.mts} +1 -1
  57. package/dist/{useContrast-Unp3534Z.d.mts → useContrast-BJlYqbPP.d.mts} +1 -1
  58. package/dist/{usePreferences-Bi-ptif0.d.mts → usePreferences-DZX-xVu2.d.mts} +4 -4
  59. package/dist/{useReaderTransitions-B9fOF61y.d.mts → useReaderTransitions-CIbMYwzs.d.mts} +7 -7
  60. package/package.json +3 -3
  61. package/dist/chunk-6DR4EAK3.mjs.map +0 -1
  62. package/dist/chunk-C6LWEQL2.mjs.map +0 -1
  63. package/dist/chunk-I765HTBI.mjs.map +0 -1
  64. package/dist/chunk-JXHRUQKP.mjs.map +0 -1
  65. package/dist/chunk-MBWYHA4U.mjs.map +0 -1
  66. package/dist/chunk-TNXLY2ZQ.mjs.map +0 -1
@@ -1,27 +1,9 @@
1
1
  import { S as ShortcutRepresentation } from './keyboardUtilities-BCP3UcLb.mjs';
2
2
  import { B as BreakpointsMap, e as ThBreakpoints, f as ThBreakpointsObject, g as ThDocumentTitleFormat, a as ThBackLinkPref, h as ThFormatPref, i as ThRunningHeadFormat, j as ThProgressionFormat, k as ThLayoutUI, l as ThScrollAffordance, m as ThPaginatedAffordancePref } from './ui-DHQ_zvWn.mjs';
3
- import { e as ThColorScheme, f as ThContrast, g as ThSettingsKeys, h as ThTextSettingsKeys, b as ThSpacingSettingsKeys, d as ThSettingsRangePrefRequired, i as ThSettingsRadioPref, T as ThLineHeightOptions, j as ThSettingsGroupPref, a as ThSpacingPresetKeys } from './useContrast-Unp3534Z.mjs';
4
- import { I as I18nValue, e as ThSheetTypes, g as ThActionsKeys, d as ThCollapsibility, c as ThActionsTokens, f as ThDockingPref, T as ThDockingKeys } from './actions-CTg9C4C-.mjs';
3
+ import { I as I18nValue, C as CSSColor, f as ThDockingSizeValue, e as ThSheetTypes, h as ThActionsKeys, d as ThCollapsibility, c as ThActionsTokens, g as ThDockingPref, T as ThDockingKeys } from './actions-CN51OeyO.mjs';
4
+ import { e as ThColorScheme, f as ThContrast, g as ThSettingsKeys, h as ThTextSettingsKeys, b as ThSpacingSettingsKeys, d as ThSettingsRangePrefRequired, i as ThSettingsRadioPref, T as ThLineHeightOptions, j as ThSettingsGroupPref, a as ThSpacingPresetKeys } from './useContrast-BJlYqbPP.mjs';
5
5
  import { IContentProtectionConfig, IAudioContentProtectionConfig, ExperimentKey } from '@readium/navigator';
6
6
 
7
- type CSSValueUnitless = `${number}`;
8
- type CSSValueWithUnit<Unit extends string> = `${number}${Unit}`;
9
- type CSSAbsoluteLength = CSSValueWithUnit<"cm" | "in" | "mm" | "pc" | "pt" | "px" | "Q">;
10
- type CSSAngle = CSSValueWithUnit<"deg" | "grad" | "rad" | "turn">;
11
- type CSSDefaultViewport = CSSValueWithUnit<"vb" | "vh" | "vi" | "vmax" | "vmin" | "vw">;
12
- type CSSDynamicViewport = CSSValueWithUnit<"dvb" | "dvh" | "dvi" | "dvmax" | "dvmin" | "dvw">;
13
- type CSSFrequency = CSSValueWithUnit<"Hz" | "kHz">;
14
- type CSSFontRelativeLength = CSSValueWithUnit<"cap" | "ch" | "em" | "ex" | "ic" | "lh">;
15
- type CSSLargeViewport = CSSValueWithUnit<"lvb" | "lvh" | "lvi" | "lvmax" | "lvmin" | "lvw">;
16
- type CSSPhysicalLength = CSSValueWithUnit<"cm" | "in" | "mm" | "pc" | "pt" | "Q">;
17
- type CSSRelativeLength = CSSFontRelativeLength | CSSValueWithUnit<"%"> | CSSRootFontRelativeLength;
18
- type CSSResolution = CSSValueWithUnit<"dpcm" | "dpi" | "dppx" | "x">;
19
- type CSSRootFontRelativeLength = CSSValueWithUnit<"rcap" | "rch" | "rem" | "rex" | "ric" | "rlh">;
20
- type CSSSmallViewport = CSSValueWithUnit<"svb" | "svh" | "svi" | "svmax" | "svmin" | "svw">;
21
- type CSSTime = CSSValueWithUnit<"ms" | "s">;
22
- type CSSViewport = CSSDefaultViewport | CSSDynamicViewport | CSSLargeViewport | CSSSmallViewport;
23
- type CSSColor = string | `#${string}` | `rgb(${string})` | `rgba(${string})` | `hsl(${string})` | `hsla(${string})` | `hwb(${string})` | `lab(${string})` | `lch(${string})` | `oklab(${string})` | `oklch(${string})` | `color(${string})` | `color-mix(${string})` | `light-dark(${string})`;
24
-
25
7
  interface SystemFontSource {
26
8
  type: "system";
27
9
  }
@@ -459,7 +441,7 @@ interface ThIconPref {
459
441
  tooltipDelay?: number;
460
442
  }
461
443
  interface ThLayoutDefaultsPref {
462
- dockingWidth: number;
444
+ dockingWidth: ThDockingSizeValue;
463
445
  scrim: string;
464
446
  }
465
447
  interface ThPreferences<K extends CustomizableKeys = {}> {
@@ -573,4 +555,4 @@ interface ThPreferencesAdapter<T extends CustomizableKeys = CustomizableKeys> {
573
555
  unsubscribe(callback: (prefs: ThPreferences<T>) => void): void;
574
556
  }
575
557
 
576
- export { type CSSColor as $, type ActionKey as A, type SpacingSettingsKeyType as B, type CustomizableKeys as C, type DefaultKeys as D, type useThemingProps as E, type FontCollection as F, type CSSValueUnitless as G, type CSSValueWithUnit as H, type CSSAbsoluteLength as I, type CSSAngle as J, type CSSDefaultViewport as K, type LocalStaticFontFile as L, type CSSDynamicViewport as M, type CSSFrequency as N, type CSSFontRelativeLength as O, type CSSLargeViewport as P, type CSSPhysicalLength as Q, type CSSRelativeLength as R, type SettingsKey as S, ThThemeKeys as T, type CSSResolution as U, type VariableFontRangeConfig as V, type WeightConfig as W, type CSSRootFontRelativeLength as X, type CSSSmallViewport as Y, type CSSTime as Z, type CSSViewport as _, type ThemeTokens as a, type SystemFontSource as a0, type BunnyFontSource as a1, type GoogleFontSource as a2, type LocalVariableFontFile as a3, type LocalStaticFontSource as a4, type LocalVariableFontSource as a5, type LocalFontSource as a6, type FontSource as a7, type FontSpec as a8, type ValidatedLanguageCollection as a9, type ThFontFamilyPref as aa, readiumCSSFontCollection as ab, defaultFontCollection as ac, tamilCollection as ad, arabicFarsiCollection as ae, hebrewCollection as af, chineseSimplifiedCollection as ag, chineseTraditionalCollection as ah, japaneseCollection as ai, japaneseVerticalCollection as aj, koreanCollection as ak, type CopyProtectionConfig as al, type PrintProtectionConfig as am, type ContentProtectionConfig as an, resolveContentProtectionConfig as ao, resolveAudioContentProtectionConfig as ap, defaultContentProtectionConfig as aq, defaultAudioContentProtectionConfig as ar, devContentProtectionConfig as as, lightTheme as at, darkTheme as au, paperTheme as av, sepiaTheme as aw, contrast1Theme as ax, contrast2Theme as ay, contrast3Theme as az, type AudioContentProtectionConfig as b, type ThShortcutsPref as c, type ThPreferencesAdapter as d, type ThPreferences as e, type ThGlobalPreferences as f, type ThGlobalPreferencesAdapter as g, type FontDefinition as h, type ThIconPref as i, type ThLayoutDefaultsPref as j, createGlobalPreferences as k, type ThemeKey as l, type TextSettingsKey as m, type SpacingSettingsKey as n, type ThSettingsSpacingPresets as o, type ThSpacingPreset as p, type ThActionsPref as q, type ThSettingsKeyTypes as r, type ThConstraintKeys as s, type ThShortcutsDisplayIn as t, useTheming as u, createPreferences as v, type ActionKeyType as w, type ThemeKeyType as x, type SettingsKeyType as y, type TextSettingsKeyType as z };
558
+ export { chineseSimplifiedCollection as $, type ActionKey as A, type SpacingSettingsKeyType as B, type CustomizableKeys as C, type DefaultKeys as D, type useThemingProps as E, type FontCollection as F, type SystemFontSource as G, type BunnyFontSource as H, type GoogleFontSource as I, type LocalVariableFontFile as J, type LocalStaticFontSource as K, type LocalStaticFontFile as L, type LocalVariableFontSource as M, type LocalFontSource as N, type FontSource as O, type FontSpec as P, type ValidatedLanguageCollection as Q, type ThFontFamilyPref as R, type SettingsKey as S, ThThemeKeys as T, readiumCSSFontCollection as U, type VariableFontRangeConfig as V, type WeightConfig as W, defaultFontCollection as X, tamilCollection as Y, arabicFarsiCollection as Z, hebrewCollection as _, type ThemeTokens as a, chineseTraditionalCollection as a0, japaneseCollection as a1, japaneseVerticalCollection as a2, koreanCollection as a3, type CopyProtectionConfig as a4, type PrintProtectionConfig as a5, type ContentProtectionConfig as a6, resolveContentProtectionConfig as a7, resolveAudioContentProtectionConfig as a8, defaultContentProtectionConfig as a9, defaultAudioContentProtectionConfig as aa, devContentProtectionConfig as ab, lightTheme as ac, darkTheme as ad, paperTheme as ae, sepiaTheme as af, contrast1Theme as ag, contrast2Theme as ah, contrast3Theme as ai, type AudioContentProtectionConfig as b, type ThShortcutsPref as c, type ThPreferencesAdapter as d, type ThPreferences as e, type ThGlobalPreferences as f, type ThGlobalPreferencesAdapter as g, type FontDefinition as h, type ThIconPref as i, type ThLayoutDefaultsPref as j, createGlobalPreferences as k, type ThemeKey as l, type TextSettingsKey as m, type SpacingSettingsKey as n, type ThSettingsSpacingPresets as o, type ThSpacingPreset as p, type ThActionsPref as q, type ThSettingsKeyTypes as r, type ThConstraintKeys as s, type ThShortcutsDisplayIn as t, useTheming as u, createPreferences as v, type ActionKeyType as w, type ThemeKeyType as x, type SettingsKeyType as y, type TextSettingsKeyType as z };
@@ -2,7 +2,7 @@ import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import React__default, { ComponentType, SVGProps } from 'react';
3
3
  import { TooltipTriggerProps, KeyboardProps } from 'react-aria';
4
4
  import { ButtonProps, TooltipProps, MenuItemProps, LabelProps, MenuProps, MenuTriggerProps, PopoverProps, NumberFieldProps, GroupProps, InputProps, RadioGroupProps, RadioProps, SliderProps, SliderOutputProps, SliderTrackProps, SliderThumbProps, SwitchProps, HeadingProps, SelectProps, Button, ListBoxProps, ListBox, ListBoxItemProps, Heading } from 'react-aria-components';
5
- import { h as ThActionEntry, i as ThActionsBarProps, C as CollapsiblePref } from './actions-CTg9C4C-.mjs';
5
+ import { i as ThActionEntry, j as ThActionsBarProps, k as CollapsiblePref } from './actions-CN51OeyO.mjs';
6
6
 
7
7
  interface HTMLAttributesWithRef<T> extends React.HTMLAttributes<T> {
8
8
  ref?: React.ForwardedRef<T>;
@@ -4,6 +4,24 @@ import { ToolbarProps } from 'react-aria-components';
4
4
  import { B as BreakpointsMap } from './ui-DHQ_zvWn.mjs';
5
5
  import { KeyCombo } from '@readium/navigator-html-injectables';
6
6
 
7
+ type CSSValueUnitless = `${number}`;
8
+ type CSSValueWithUnit<Unit extends string> = `${number}${Unit}`;
9
+ type CSSAbsoluteLength = CSSValueWithUnit<"cm" | "in" | "mm" | "pc" | "pt" | "px" | "Q">;
10
+ type CSSAngle = CSSValueWithUnit<"deg" | "grad" | "rad" | "turn">;
11
+ type CSSDefaultViewport = CSSValueWithUnit<"vb" | "vh" | "vi" | "vmax" | "vmin" | "vw">;
12
+ type CSSDynamicViewport = CSSValueWithUnit<"dvb" | "dvh" | "dvi" | "dvmax" | "dvmin" | "dvw">;
13
+ type CSSFrequency = CSSValueWithUnit<"Hz" | "kHz">;
14
+ type CSSFontRelativeLength = CSSValueWithUnit<"cap" | "ch" | "em" | "ex" | "ic" | "lh">;
15
+ type CSSLargeViewport = CSSValueWithUnit<"lvb" | "lvh" | "lvi" | "lvmax" | "lvmin" | "lvw">;
16
+ type CSSPhysicalLength = CSSValueWithUnit<"cm" | "in" | "mm" | "pc" | "pt" | "Q">;
17
+ type CSSRelativeLength = CSSFontRelativeLength | CSSValueWithUnit<"%"> | CSSRootFontRelativeLength;
18
+ type CSSResolution = CSSValueWithUnit<"dpcm" | "dpi" | "dppx" | "x">;
19
+ type CSSRootFontRelativeLength = CSSValueWithUnit<"rcap" | "rch" | "rem" | "rex" | "ric" | "rlh">;
20
+ type CSSSmallViewport = CSSValueWithUnit<"svb" | "svh" | "svi" | "svmax" | "svmin" | "svw">;
21
+ type CSSTime = CSSValueWithUnit<"ms" | "s">;
22
+ type CSSViewport = CSSDefaultViewport | CSSDynamicViewport | CSSLargeViewport | CSSSmallViewport;
23
+ type CSSColor = string | `#${string}` | `rgb(${string})` | `rgba(${string})` | `hsl(${string})` | `hsla(${string})` | `hwb(${string})` | `lab(${string})` | `lch(${string})` | `oklab(${string})` | `oklch(${string})` | `color(${string})` | `color-mix(${string})` | `light-dark(${string})`;
24
+
7
25
  declare enum ThActionsTriggerVariant {
8
26
  button = "iconButton",
9
27
  menu = "menuItem"
@@ -57,7 +75,8 @@ interface ThActionsTokens {
57
75
  visibility: ThCollapsibilityVisibility;
58
76
  shortcut: ThShortcutConfig | null;
59
77
  sheet?: {
60
- defaultSheet: Exclude<ThSheetTypes, ThSheetTypes.dockedStart | ThSheetTypes.dockedEnd | ThSheetTypes.compactPopover>;
78
+ defaultSheet: Exclude<ThSheetTypes, ThSheetTypes.compactPopover>;
79
+ fallbackSheet?: Exclude<ThSheetTypes, ThSheetTypes.dockedStart | ThSheetTypes.dockedEnd | ThSheetTypes.compactPopover>;
61
80
  breakpoints: BreakpointsMap<Exclude<ThSheetTypes, ThSheetTypes.compactPopover>>;
62
81
  };
63
82
  docked?: ThActionsDockedPref;
@@ -67,18 +86,22 @@ interface ThAudioActionsTokens {
67
86
  visibility: ThCollapsibilityVisibility;
68
87
  shortcut: ThShortcutConfig | null;
69
88
  sheet?: {
70
- defaultSheet: Exclude<ThSheetTypes, ThSheetTypes.dockedStart | ThSheetTypes.dockedEnd | ThSheetTypes.popover>;
89
+ defaultSheet: Exclude<ThSheetTypes, ThSheetTypes.popover>;
90
+ fallbackSheet?: Exclude<ThSheetTypes, ThSheetTypes.dockedStart | ThSheetTypes.dockedEnd | ThSheetTypes.popover>;
71
91
  breakpoints: BreakpointsMap<Exclude<ThSheetTypes, ThSheetTypes.popover>>;
72
92
  };
73
93
  docked?: ThActionsDockedPref;
74
94
  snapped?: ThActionsSnappedPref;
75
95
  }
96
+ type ThDockingSizeValue = number | CSSValueUnitless | CSSValueWithUnit<"px" | "%" | "em" | "rem" | "vh" | "vw">;
76
97
  interface ThActionsDockedPref {
77
98
  dockable: ThDockingTypes;
99
+ reserved?: boolean;
100
+ reopenOnLoad?: boolean;
78
101
  dragIndicator?: boolean;
79
- width?: number;
80
- minWidth?: number;
81
- maxWidth?: number;
102
+ width?: ThDockingSizeValue;
103
+ minWidth?: ThDockingSizeValue;
104
+ maxWidth?: ThDockingSizeValue;
82
105
  }
83
106
  interface ThActionsSnappedPref {
84
107
  scrim?: boolean | string;
@@ -131,4 +154,4 @@ declare const defaultFullscreenAction: ThActionsTokens;
131
154
  declare const defaultTocAction: ThActionsTokens;
132
155
  declare const defaultJumpToPositionAction: ThActionsTokens;
133
156
 
134
- export { type CollapsiblePref as C, type I18nValue as I, ThDockingKeys as T, ThSheetHeaderVariant as a, type ThAudioActionsTokens as b, type ThActionsTokens as c, type ThCollapsibility as d, ThSheetTypes as e, type ThDockingPref as f, ThActionsKeys as g, type ThActionEntry as h, type ThActionsBarProps as i, type ThShortcutConfig as j, TEXT_INPUT_SELECTORS as k, type ThBottomSheetDetent as l, type ThActionsDockedPref as m, type ThActionsSnappedPref as n, ThDockingTypes as o, defaultActionKeysObject as p, defaultSettingsAction as q, defaultFullscreenAction as r, defaultTocAction as s, defaultJumpToPositionAction as t, ThCollapsibilityVisibility as u, useCollapsibility as v, ThActionsTriggerVariant as w, ThActionsBar as x };
157
+ export { type CSSViewport as A, type ThShortcutConfig as B, type CSSColor as C, TEXT_INPUT_SELECTORS as D, type ThBottomSheetDetent as E, type ThActionsDockedPref as F, type ThActionsSnappedPref as G, ThDockingTypes as H, type I18nValue as I, defaultActionKeysObject as J, defaultSettingsAction as K, defaultFullscreenAction as L, defaultTocAction as M, defaultJumpToPositionAction as N, ThCollapsibilityVisibility as O, useCollapsibility as P, ThActionsTriggerVariant as Q, ThActionsBar as R, ThDockingKeys as T, ThSheetHeaderVariant as a, type ThAudioActionsTokens as b, type ThActionsTokens as c, type ThCollapsibility as d, ThSheetTypes as e, type ThDockingSizeValue as f, type ThDockingPref as g, ThActionsKeys as h, type ThActionEntry as i, type ThActionsBarProps as j, type CollapsiblePref as k, type CSSValueUnitless as l, type CSSValueWithUnit as m, type CSSAbsoluteLength as n, type CSSAngle as o, type CSSDefaultViewport as p, type CSSDynamicViewport as q, type CSSFrequency as r, type CSSFontRelativeLength as s, type CSSLargeViewport as t, type CSSPhysicalLength as u, type CSSRelativeLength as v, type CSSResolution as w, type CSSRootFontRelativeLength as x, type CSSSmallViewport as y, type CSSTime as z };
@@ -1,6 +1,6 @@
1
1
  import * as _reduxjs_toolkit from '@reduxjs/toolkit';
2
2
  import { W as WritableDraft } from './immer.d-CoRThNOF.mjs';
3
- import { T as ThDockingKeys } from './actions-CTg9C4C-.mjs';
3
+ import { T as ThDockingKeys } from './actions-CN51OeyO.mjs';
4
4
 
5
5
  type ActionsStateKeys = string;
6
6
  type OverflowStateKeys = string;
@@ -15,8 +15,8 @@ interface OverflowStateObject {
15
15
  interface DockStateObject {
16
16
  actionKey: ActionsStateKeys | null;
17
17
  active: boolean;
18
- collapsed: boolean;
19
18
  width?: number;
19
+ reserved?: boolean;
20
20
  }
21
21
  interface ActionStateDockPayload {
22
22
  type: string;
@@ -24,6 +24,7 @@ interface ActionStateDockPayload {
24
24
  key: ActionsStateKeys;
25
25
  dockingKey: ThDockingKeys;
26
26
  profile: string;
27
+ reserved?: boolean;
27
28
  };
28
29
  }
29
30
  interface ActionStateOpenPayload {
@@ -99,14 +100,13 @@ declare const actionsSlice: _reduxjs_toolkit.Slice<ActionsReducerState, {
99
100
  setOverflow: (state: WritableDraft<ActionsReducerState>, action: ActionOverflowOpenPayload) => void;
100
101
  activateDockPanel: (state: WritableDraft<ActionsReducerState>, action: ActionStateSlotPayloadWithProfile) => void;
101
102
  deactivateDockPanel: (state: WritableDraft<ActionsReducerState>, action: ActionStateSlotPayloadWithProfile) => void;
102
- collapseDockPanel: (state: WritableDraft<ActionsReducerState>, action: ActionStateSlotPayloadWithProfile) => void;
103
- expandDockPanel: (state: WritableDraft<ActionsReducerState>, action: ActionStateSlotPayloadWithProfile) => void;
104
103
  setDockPanelWidth: (state: WritableDraft<ActionsReducerState>, action: ActionStateSlotWidthPayload) => void;
105
104
  }, "actions", "actions", _reduxjs_toolkit.SliceSelectors<ActionsReducerState>>;
106
105
  declare const dockAction: _reduxjs_toolkit.ActionCreatorWithPayload<{
107
106
  key: ActionsStateKeys;
108
107
  dockingKey: ThDockingKeys;
109
108
  profile: string;
109
+ reserved?: boolean;
110
110
  }, "actions/dockAction">;
111
111
  declare const setActionOpen: _reduxjs_toolkit.ActionCreatorWithPayload<{
112
112
  key: ActionsStateKeys;
@@ -129,18 +129,10 @@ declare const deactivateDockPanel: _reduxjs_toolkit.ActionCreatorWithPayload<{
129
129
  slot: ThDockingKeys.start | ThDockingKeys.end;
130
130
  profile: string;
131
131
  }, "actions/deactivateDockPanel">;
132
- declare const collapseDockPanel: _reduxjs_toolkit.ActionCreatorWithPayload<{
133
- slot: ThDockingKeys.start | ThDockingKeys.end;
134
- profile: string;
135
- }, "actions/collapseDockPanel">;
136
- declare const expandDockPanel: _reduxjs_toolkit.ActionCreatorWithPayload<{
137
- slot: ThDockingKeys.start | ThDockingKeys.end;
138
- profile: string;
139
- }, "actions/expandDockPanel">;
140
132
  declare const setDockPanelWidth: _reduxjs_toolkit.ActionCreatorWithPayload<{
141
133
  key: ThDockingKeys.start | ThDockingKeys.end;
142
134
  width: number;
143
135
  profile: string;
144
136
  }, "actions/setDockPanelWidth">;
145
137
 
146
- export { type ActionsStateKeys as A, type DockStateObject as D, type OverflowStateKeys as O, type ActionStateObject as a, type OverflowStateObject as b, type ActionStateDockPayload as c, type ActionStateOpenPayload as d, type ActionStateTogglePayload as e, type ActionOverflowOpenPayload as f, type ActionStateDockedPayload as g, type ActionStateSlotPayload as h, type ActionStateSlotPayloadWithProfile as i, type ActionStateSlotWidthPayload as j, type DockState as k, type ActionKeysState as l, type ActionsReducerState as m, actionsSlice as n, dockAction as o, setOverflow as p, activateDockPanel as q, deactivateDockPanel as r, setActionOpen as s, toggleActionOpen as t, collapseDockPanel as u, expandDockPanel as v, setDockPanelWidth as w };
138
+ export { type ActionsStateKeys as A, type DockStateObject as D, type OverflowStateKeys as O, type ActionStateObject as a, type OverflowStateObject as b, type ActionStateDockPayload as c, type ActionStateOpenPayload as d, type ActionStateTogglePayload as e, type ActionOverflowOpenPayload as f, type ActionStateDockedPayload as g, type ActionStateSlotPayload as h, type ActionStateSlotPayloadWithProfile as i, type ActionStateSlotWidthPayload as j, type DockState as k, type ActionKeysState as l, type ActionsReducerState as m, actionsSlice as n, dockAction as o, setOverflow as p, activateDockPanel as q, deactivateDockPanel as r, setActionOpen as s, toggleActionOpen as t, setDockPanelWidth as u };