@aleph-alpha/ui-library 6.3.3 → 6.4.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 (105) hide show
  1. package/config.js +2 -1
  2. package/dist/system/components/UiDropdownMenu/UiDropdownMenuSubContent.vue.d.ts +102 -2
  3. package/dist/system/components/UiDropdownMenu/UiDropdownMenuViewport.vue.d.ts +23 -0
  4. package/dist/system/components/UiDropdownMenu/menu-metrics.d.ts +4 -0
  5. package/dist/system/components/UiDropdownMenu/placeMobileSubmenu.d.ts +55 -0
  6. package/dist/system/components/UiDropdownMenu/types.d.ts +3 -0
  7. package/dist/system/components/UiDropdownMenu/useMobileSubmenuPlacement.d.ts +18 -0
  8. package/dist/system/components/UiFileUploadBox/UiFileUploadBox.vue.d.ts +2 -2
  9. package/dist/system/components/UiFileUploadBox/types.d.ts +8 -5
  10. package/dist/system/components/UiResizable/UiResizablePanel.vue.d.ts +2 -2
  11. package/dist/system/components/UiStepper/context.d.ts +8 -0
  12. package/dist/system/components/UiToggle/UiToggle.vue.d.ts +2 -1
  13. package/dist/system/components/UiToggle/types.d.ts +10 -2
  14. package/dist/system/components/UiToggleGroup/UiToggleGroupItem.vue.d.ts +5 -1
  15. package/dist/system/components/UiToggleGroup/types.d.ts +12 -2
  16. package/dist/system/components/core/dropdown-menu/DropdownMenuSubContent.vue.d.ts +2 -6
  17. package/dist/system/components/core/range-calendar/RangeCalendar.vue.d.ts +24 -24
  18. package/dist/system/components/core/resizable/ResizablePanel.vue.d.ts +2 -2
  19. package/dist/system/components/core/toggle/Toggle.vue.d.ts +3 -1
  20. package/dist/system/components/core/toggle/index.d.ts +47 -2
  21. package/dist/system/components/core/toggle-group/ToggleGroup.vue.d.ts +3 -1
  22. package/dist/system/components/core/toggle-group/ToggleGroupItem.vue.d.ts +11 -1
  23. package/dist/system/components/core/toggle-group/context.d.ts +1 -0
  24. package/dist/system/components/core/toggle-group/index.d.ts +10 -2
  25. package/dist/system/icons/story-sidebar-icons.json +7 -0
  26. package/dist/system/lib.js +14114 -13755
  27. package/dist/system/patterns/UiFileUpload/UiFileUpload.vue.d.ts +2 -2
  28. package/dist/system/patterns/UiLayout/layout-shell.d.ts +379 -8
  29. package/dist/system/patterns/UiProfileCard/profile-card.d.ts +51 -1
  30. package/dist/system/patterns/UiTopBar/accessory-dropdown.d.ts +232 -0
  31. package/dist/system/story-sidebar-icons.json +7 -0
  32. package/package.json +2 -2
  33. package/src/components/UiAccordion/UiAccordion.stories.ts +1079 -0
  34. package/src/components/UiCalendar/UiCalendar.stories.ts +734 -0
  35. package/src/components/UiCalendar/__tests__/UiCalendar.test.ts +8 -5
  36. package/src/components/UiDropdownMenu/UiDropdownMenu.stories.ts +819 -31
  37. package/src/components/UiDropdownMenu/UiDropdownMenuContent.vue +4 -1
  38. package/src/components/UiDropdownMenu/UiDropdownMenuSubContent.vue +142 -1
  39. package/src/components/UiDropdownMenu/UiDropdownMenuSubTrigger.vue +28 -0
  40. package/src/components/UiDropdownMenu/UiDropdownMenuTrigger.vue +3 -1
  41. package/src/components/UiDropdownMenu/UiDropdownMenuViewport.vue +171 -0
  42. package/src/components/UiDropdownMenu/__tests__/UiDropdownMenu.test.ts +326 -0
  43. package/src/components/UiDropdownMenu/__tests__/placeMobileSubmenu.test.ts +128 -0
  44. package/src/components/UiDropdownMenu/menu-metrics.ts +5 -0
  45. package/src/components/UiDropdownMenu/placeMobileSubmenu.ts +96 -0
  46. package/src/components/UiDropdownMenu/types.ts +3 -0
  47. package/src/components/UiDropdownMenu/useMobileSubmenuPlacement.ts +163 -0
  48. package/src/components/UiFileUploadBox/UiFileUploadBox.stories.ts +389 -3
  49. package/src/components/UiFileUploadBox/UiFileUploadBox.vue +55 -75
  50. package/src/components/UiFileUploadBox/__tests__/UiFileUploadBox.test.ts +44 -0
  51. package/src/components/UiFileUploadBox/types.ts +8 -5
  52. package/src/components/UiNavigationMenu/UiNavigationMenu.stories.ts +723 -0
  53. package/src/components/UiRangeCalendar/UiRangeCalendar.stories.ts +819 -7
  54. package/src/components/UiRangeCalendar/__tests__/UiRangeCalendar.test.ts +8 -3
  55. package/src/components/UiResizable/UiResizable.stories.ts +1215 -5
  56. package/src/components/UiSnackbar/UiSnackbar.stories.ts +1089 -4
  57. package/src/components/UiSnackbar/UiSnackbar.vue +3 -2
  58. package/src/components/UiSnackbar/UiSnackbarContent.vue +1 -1
  59. package/src/components/UiSnackbar/__tests__/UiSnackbar.test.ts +3 -1
  60. package/src/components/UiStepper/UiStepper.stories.ts +566 -2
  61. package/src/components/UiStepper/UiStepper.vue +14 -1
  62. package/src/components/UiStepper/UiStepperItem.vue +22 -4
  63. package/src/components/UiStepper/__tests__/UiStepper.test.ts +66 -0
  64. package/src/components/UiStepper/context.ts +10 -0
  65. package/src/components/UiToggle/UiToggle.stories.ts +386 -261
  66. package/src/components/UiToggle/UiToggle.vue +2 -0
  67. package/src/components/UiToggle/__tests__/UiToggle.test.ts +63 -10
  68. package/src/components/UiToggle/types.ts +10 -2
  69. package/src/components/UiToggleGroup/UiToggleGroup.stories.ts +765 -30
  70. package/src/components/UiToggleGroup/UiToggleGroup.vue +2 -0
  71. package/src/components/UiToggleGroup/UiToggleGroupItem.vue +10 -1
  72. package/src/components/UiToggleGroup/__tests__/UiToggleGroup.test.ts +83 -4
  73. package/src/components/UiToggleGroup/types.ts +12 -2
  74. package/src/components/core/calendar/Calendar.vue +234 -2
  75. package/src/components/core/calendar/CalendarCellTrigger.vue +1 -1
  76. package/src/components/core/dropdown-menu/DropdownMenuContent.vue +1 -1
  77. package/src/components/core/dropdown-menu/DropdownMenuItem.vue +1 -1
  78. package/src/components/core/dropdown-menu/DropdownMenuSubContent.vue +31 -20
  79. package/src/components/core/navigation-menu/NavigationMenuList.vue +1 -1
  80. package/src/components/core/range-calendar/RangeCalendar.vue +254 -6
  81. package/src/components/core/range-calendar/RangeCalendarCellTrigger.vue +1 -1
  82. package/src/components/core/toggle/Toggle.vue +12 -5
  83. package/src/components/core/toggle/index.ts +47 -19
  84. package/src/components/core/toggle-group/ToggleGroup.vue +20 -4
  85. package/src/components/core/toggle-group/ToggleGroupItem.vue +36 -8
  86. package/src/components/core/toggle-group/context.ts +1 -0
  87. package/src/components/core/toggle-group/index.ts +10 -24
  88. package/src/patterns/UiDataTable/UiDataTableColumnFilter.vue +1 -1
  89. package/src/patterns/UiDataTable/UiDataTableFilterMenu.vue +1 -1
  90. package/src/patterns/UiDatePicker/UiDatePicker.stories.ts +846 -17
  91. package/src/patterns/UiDatePicker/UiDatePicker.vue +9 -0
  92. package/src/patterns/UiDatePicker/__tests__/UiDatePicker.test.ts +13 -8
  93. package/src/patterns/UiFileUpload/UiFileItem.stories.ts +23 -17
  94. package/src/patterns/UiFileUpload/UiFileUpload.stories.ts +138 -113
  95. package/src/patterns/UiFileUpload/UiFileUpload.vue +1 -1
  96. package/src/patterns/UiFileUpload/__tests__/UiFileUpload.test.ts +2 -2
  97. package/src/patterns/UiLayout/UiLayout.stories.ts +25 -0
  98. package/src/patterns/UiLayout/UiLayoutContent.stories.ts +359 -0
  99. package/src/patterns/UiLayout/UiLayoutContent.vue +45 -23
  100. package/src/patterns/UiLayout/UiLayoutMobile.stories.ts +13 -0
  101. package/src/patterns/UiLayout/layout-shell.ts +159 -13
  102. package/src/patterns/UiProfileCard/UiProfileCard.stories.ts +13 -6
  103. package/src/patterns/UiTopBar/UiTopBar.stories.ts +245 -36
  104. package/src/patterns/UiTopBar/UiTopBar.vue +4 -2
  105. package/src/patterns/UiTopBar/accessory-dropdown.ts +99 -0
@@ -17,11 +17,11 @@ declare const __VLS_component: import('vue').DefineComponent<import('../../compo
17
17
  keydown: (event: KeyboardEvent) => any;
18
18
  error: (payload: import('../../components/UiFileUploadBox').UiFileUploadBoxErrorPayload) => any;
19
19
  change: (event: Event) => any;
20
- "update:files": (files: File[]) => any;
21
20
  dragenter: (event: DragEvent) => any;
22
21
  dragleave: (event: DragEvent) => any;
23
22
  dragover: (event: DragEvent) => any;
24
23
  drop: (event: DragEvent) => any;
24
+ "update:files": (files: File[]) => any;
25
25
  pickerOpen: () => any;
26
26
  }, string, import('vue').PublicProps, Readonly<import('../../components/UiFileUploadBox').UiFileUploadBoxProps> & Readonly<{
27
27
  onClick?: ((event: MouseEvent) => any) | undefined;
@@ -30,11 +30,11 @@ declare const __VLS_component: import('vue').DefineComponent<import('../../compo
30
30
  onKeydown?: ((event: KeyboardEvent) => any) | undefined;
31
31
  onError?: ((payload: import('../../components/UiFileUploadBox').UiFileUploadBoxErrorPayload) => any) | undefined;
32
32
  onChange?: ((event: Event) => any) | undefined;
33
- "onUpdate:files"?: ((files: File[]) => any) | undefined;
34
33
  onDragenter?: ((event: DragEvent) => any) | undefined;
35
34
  onDragleave?: ((event: DragEvent) => any) | undefined;
36
35
  onDragover?: ((event: DragEvent) => any) | undefined;
37
36
  onDrop?: ((event: DragEvent) => any) | undefined;
37
+ "onUpdate:files"?: ((files: File[]) => any) | undefined;
38
38
  onPickerOpen?: (() => any) | undefined;
39
39
  }>, {
40
40
  disabled: boolean;
@@ -1,9 +1,26 @@
1
1
  import { ComponentPublicInstance } from 'vue';
2
+ import { UiLayoutContentSidebarMode } from './types';
2
3
  /** A row in the sidebar navigation. */
3
4
  type NavItem = {
4
5
  /** Title shown on the row and echoed in the content column. */
5
6
  title: string;
6
7
  };
8
+ /**
9
+ * How the content area is arranged. `focus` is the plain twelve columns,
10
+ * `split` fills the `split` slot, and `sidebar` fills the `sidebar` slot at
11
+ * whichever `sidebarMode` is picked. Modals are not a slot mode — they are an
12
+ * overlay above `focus` — so they stay in their own stories.
13
+ */
14
+ export type ContentMode = 'focus' | 'split' | 'sidebar';
15
+ /**
16
+ * Id of the content region the bar's layout switch points at with
17
+ * `aria-controls`, so the relation between the two is programmatic rather than
18
+ * only visual. Any shell that renders the switch has to carry it on its
19
+ * content column, or the reference dangles.
20
+ */
21
+ export declare const CONTENT_REGION_ID = "layout-content";
22
+ /** How each sidebar mode reads in the switch and in the announcement. */
23
+ export declare const SIDEBAR_MODE_LABELS: Record<UiLayoutContentSidebarMode, string>;
7
24
  /**
8
25
  * Arranges the shell: a column holding the full-width bar, and a row beneath it
9
26
  * holding the sidebar and the content.
@@ -784,6 +801,65 @@ export declare function renderShell(defaultOpen?: boolean, rows?: number, histor
784
801
  default?(_: {}): any;
785
802
  };
786
803
  });
804
+ UiToggle: {
805
+ new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
806
+ modelValue?: boolean;
807
+ } & import('../..').UiToggleProps> & Readonly<{
808
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
809
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
810
+ "update:modelValue": (value: boolean) => any;
811
+ }, import('vue').PublicProps, {
812
+ disabled: boolean;
813
+ size: "default" | "sm" | "lg";
814
+ variant: "default" | "ghost" | "outline";
815
+ active: boolean;
816
+ soft: boolean;
817
+ leftIcon: string;
818
+ rightIcon: string;
819
+ }, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
820
+ P: {};
821
+ B: {};
822
+ D: {};
823
+ C: {};
824
+ M: {};
825
+ Defaults: {};
826
+ }, Readonly<{
827
+ modelValue?: boolean;
828
+ } & import('../..').UiToggleProps> & Readonly<{
829
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
830
+ }>, {}, {}, {}, {}, {
831
+ disabled: boolean;
832
+ size: "default" | "sm" | "lg";
833
+ variant: "default" | "ghost" | "outline";
834
+ active: boolean;
835
+ soft: boolean;
836
+ leftIcon: string;
837
+ rightIcon: string;
838
+ }>;
839
+ __isFragment?: never;
840
+ __isTeleport?: never;
841
+ __isSuspense?: never;
842
+ } & import('vue').ComponentOptionsBase<Readonly<{
843
+ modelValue?: boolean;
844
+ } & import('../..').UiToggleProps> & Readonly<{
845
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
846
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
847
+ "update:modelValue": (value: boolean) => any;
848
+ }, string, {
849
+ disabled: boolean;
850
+ size: "default" | "sm" | "lg";
851
+ variant: "default" | "ghost" | "outline";
852
+ active: boolean;
853
+ soft: boolean;
854
+ leftIcon: string;
855
+ rightIcon: string;
856
+ }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
857
+ $slots: {
858
+ 'left-icon'?(_: {}): any;
859
+ default?(_: {}): any;
860
+ 'right-icon'?(_: {}): any;
861
+ };
862
+ });
787
863
  UiDropdownMenuLabel: {
788
864
  new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('../..').UiDropdownMenuLabelProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
789
865
  inset: boolean;
@@ -882,7 +958,57 @@ export declare function renderShell(defaultOpen?: boolean, rows?: number, histor
882
958
  escapeKeyDown: (event: KeyboardEvent) => any;
883
959
  }, import('vue').PublicProps, {
884
960
  sideOffset: number;
885
- }, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
961
+ }, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
962
+ viewportRef: ({
963
+ $: import('vue').ComponentInternalInstance;
964
+ $data: {};
965
+ $props: Partial<{}> & Omit<{} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>;
966
+ $attrs: {
967
+ [x: string]: unknown;
968
+ };
969
+ $refs: {
970
+ [x: string]: unknown;
971
+ } & {
972
+ scrollEl: HTMLDivElement;
973
+ };
974
+ $slots: Readonly<{
975
+ [name: string]: import('vue').Slot<any> | undefined;
976
+ }>;
977
+ $root: ComponentPublicInstance | null;
978
+ $parent: ComponentPublicInstance | null;
979
+ $host: Element | null;
980
+ $emit: (event: string, ...args: any[]) => void;
981
+ $el: any;
982
+ $options: import('vue').ComponentOptionsBase<Readonly<{}> & Readonly<{}>, {
983
+ scrollEl: import('vue').Ref<HTMLElement | null, HTMLElement | null>;
984
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
985
+ beforeCreate?: (() => void) | (() => void)[];
986
+ created?: (() => void) | (() => void)[];
987
+ beforeMount?: (() => void) | (() => void)[];
988
+ mounted?: (() => void) | (() => void)[];
989
+ beforeUpdate?: (() => void) | (() => void)[];
990
+ updated?: (() => void) | (() => void)[];
991
+ activated?: (() => void) | (() => void)[];
992
+ deactivated?: (() => void) | (() => void)[];
993
+ beforeDestroy?: (() => void) | (() => void)[];
994
+ beforeUnmount?: (() => void) | (() => void)[];
995
+ destroyed?: (() => void) | (() => void)[];
996
+ unmounted?: (() => void) | (() => void)[];
997
+ renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
998
+ renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
999
+ errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
1000
+ };
1001
+ $forceUpdate: () => void;
1002
+ $nextTick: typeof import('vue').nextTick;
1003
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
1004
+ } & Readonly<{}> & Omit<Readonly<{}> & Readonly<{}>, "scrollEl"> & import('vue').ShallowUnwrapRef<{
1005
+ scrollEl: import('vue').Ref<HTMLElement | null, HTMLElement | null>;
1006
+ }> & {} & import('vue').ComponentCustomProperties & {} & {
1007
+ $slots: {
1008
+ default?(_: {}): any;
1009
+ };
1010
+ }) | null;
1011
+ }, any, import('vue').ComponentProvideOptions, {
886
1012
  P: {};
887
1013
  B: {};
888
1014
  D: {};
@@ -923,8 +1049,10 @@ export declare function renderShell(defaultOpen?: boolean, rows?: number, histor
923
1049
  title: string;
924
1050
  meta: string;
925
1051
  }[];
1052
+ contentRegionId: string;
926
1053
  isActive: (title: string) => boolean;
927
- layout: import('vue').Ref<string, string>;
1054
+ layout: import('vue').Ref<ContentMode, ContentMode>;
1055
+ layoutStatus: import('vue').ComputedRef<string>;
928
1056
  model: import('vue').Ref<string, string>;
929
1057
  models: string[];
930
1058
  mobileItems: {
@@ -932,6 +1060,8 @@ export declare function renderShell(defaultOpen?: boolean, rows?: number, histor
932
1060
  icon: string;
933
1061
  }[];
934
1062
  open: import('vue').Ref<boolean, boolean>;
1063
+ primaryColumnCount: import('vue').ComputedRef<number>;
1064
+ primaryGridClass: import('vue').ComputedRef<string>;
935
1065
  primaryItems: {
936
1066
  title: string;
937
1067
  icon: string;
@@ -945,7 +1075,11 @@ export declare function renderShell(defaultOpen?: boolean, rows?: number, histor
945
1075
  shellStyle: import('vue').ComputedRef<{
946
1076
  '--sidebar-offset-top': string;
947
1077
  }>;
1078
+ sidebarColumnCount: import('vue').ComputedRef<number>;
1079
+ sidebarGridClass: import('vue').ComputedRef<string>;
1080
+ sidebarMode: import('vue').Ref<UiLayoutContentSidebarMode, UiLayoutContentSidebarMode>;
948
1081
  topBarRef: import('vue').Ref<HTMLElement | ComponentPublicInstance | null, HTMLElement | ComponentPublicInstance | null>;
1082
+ accessoryOpen: import('vue').Ref<boolean, boolean>;
949
1083
  language: import('vue').Ref<string, string>;
950
1084
  };
951
1085
  template: string;
@@ -958,9 +1092,12 @@ export declare function renderShell(defaultOpen?: boolean, rows?: number, histor
958
1092
  * each, so there is no mode to change.
959
1093
  * @param contentTemplate Template string for the content column.
960
1094
  * @param extraComponents Components the content template uses.
1095
+ * @param layoutActions Whether the bar carries the layout switch. A template
1096
+ * that turns it on has to put `CONTENT_REGION_ID` on its content column, which
1097
+ * is what the switch's `aria-controls` points at.
961
1098
  * @returns Story render definition.
962
1099
  */
963
- export declare function renderShellWith(contentTemplate: string, extraComponents?: Record<string, unknown>): () => {
1100
+ export declare function renderShellWith(contentTemplate: string, extraComponents?: Record<string, unknown>, layoutActions?: boolean): () => {
964
1101
  components: {
965
1102
  UiAvatar: {
966
1103
  new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('../..').UiAvatarProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
@@ -1732,6 +1869,65 @@ export declare function renderShellWith(contentTemplate: string, extraComponents
1732
1869
  default?(_: {}): any;
1733
1870
  };
1734
1871
  });
1872
+ UiToggle: {
1873
+ new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
1874
+ modelValue?: boolean;
1875
+ } & import('../..').UiToggleProps> & Readonly<{
1876
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
1877
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
1878
+ "update:modelValue": (value: boolean) => any;
1879
+ }, import('vue').PublicProps, {
1880
+ disabled: boolean;
1881
+ size: "default" | "sm" | "lg";
1882
+ variant: "default" | "ghost" | "outline";
1883
+ active: boolean;
1884
+ soft: boolean;
1885
+ leftIcon: string;
1886
+ rightIcon: string;
1887
+ }, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
1888
+ P: {};
1889
+ B: {};
1890
+ D: {};
1891
+ C: {};
1892
+ M: {};
1893
+ Defaults: {};
1894
+ }, Readonly<{
1895
+ modelValue?: boolean;
1896
+ } & import('../..').UiToggleProps> & Readonly<{
1897
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
1898
+ }>, {}, {}, {}, {}, {
1899
+ disabled: boolean;
1900
+ size: "default" | "sm" | "lg";
1901
+ variant: "default" | "ghost" | "outline";
1902
+ active: boolean;
1903
+ soft: boolean;
1904
+ leftIcon: string;
1905
+ rightIcon: string;
1906
+ }>;
1907
+ __isFragment?: never;
1908
+ __isTeleport?: never;
1909
+ __isSuspense?: never;
1910
+ } & import('vue').ComponentOptionsBase<Readonly<{
1911
+ modelValue?: boolean;
1912
+ } & import('../..').UiToggleProps> & Readonly<{
1913
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
1914
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
1915
+ "update:modelValue": (value: boolean) => any;
1916
+ }, string, {
1917
+ disabled: boolean;
1918
+ size: "default" | "sm" | "lg";
1919
+ variant: "default" | "ghost" | "outline";
1920
+ active: boolean;
1921
+ soft: boolean;
1922
+ leftIcon: string;
1923
+ rightIcon: string;
1924
+ }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
1925
+ $slots: {
1926
+ 'left-icon'?(_: {}): any;
1927
+ default?(_: {}): any;
1928
+ 'right-icon'?(_: {}): any;
1929
+ };
1930
+ });
1735
1931
  UiDropdownMenuLabel: {
1736
1932
  new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('../..').UiDropdownMenuLabelProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
1737
1933
  inset: boolean;
@@ -1830,7 +2026,57 @@ export declare function renderShellWith(contentTemplate: string, extraComponents
1830
2026
  escapeKeyDown: (event: KeyboardEvent) => any;
1831
2027
  }, import('vue').PublicProps, {
1832
2028
  sideOffset: number;
1833
- }, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
2029
+ }, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
2030
+ viewportRef: ({
2031
+ $: import('vue').ComponentInternalInstance;
2032
+ $data: {};
2033
+ $props: Partial<{}> & Omit<{} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>;
2034
+ $attrs: {
2035
+ [x: string]: unknown;
2036
+ };
2037
+ $refs: {
2038
+ [x: string]: unknown;
2039
+ } & {
2040
+ scrollEl: HTMLDivElement;
2041
+ };
2042
+ $slots: Readonly<{
2043
+ [name: string]: import('vue').Slot<any> | undefined;
2044
+ }>;
2045
+ $root: ComponentPublicInstance | null;
2046
+ $parent: ComponentPublicInstance | null;
2047
+ $host: Element | null;
2048
+ $emit: (event: string, ...args: any[]) => void;
2049
+ $el: any;
2050
+ $options: import('vue').ComponentOptionsBase<Readonly<{}> & Readonly<{}>, {
2051
+ scrollEl: import('vue').Ref<HTMLElement | null, HTMLElement | null>;
2052
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
2053
+ beforeCreate?: (() => void) | (() => void)[];
2054
+ created?: (() => void) | (() => void)[];
2055
+ beforeMount?: (() => void) | (() => void)[];
2056
+ mounted?: (() => void) | (() => void)[];
2057
+ beforeUpdate?: (() => void) | (() => void)[];
2058
+ updated?: (() => void) | (() => void)[];
2059
+ activated?: (() => void) | (() => void)[];
2060
+ deactivated?: (() => void) | (() => void)[];
2061
+ beforeDestroy?: (() => void) | (() => void)[];
2062
+ beforeUnmount?: (() => void) | (() => void)[];
2063
+ destroyed?: (() => void) | (() => void)[];
2064
+ unmounted?: (() => void) | (() => void)[];
2065
+ renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
2066
+ renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
2067
+ errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
2068
+ };
2069
+ $forceUpdate: () => void;
2070
+ $nextTick: typeof import('vue').nextTick;
2071
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
2072
+ } & Readonly<{}> & Omit<Readonly<{}> & Readonly<{}>, "scrollEl"> & import('vue').ShallowUnwrapRef<{
2073
+ scrollEl: import('vue').Ref<HTMLElement | null, HTMLElement | null>;
2074
+ }> & {} & import('vue').ComponentCustomProperties & {} & {
2075
+ $slots: {
2076
+ default?(_: {}): any;
2077
+ };
2078
+ }) | null;
2079
+ }, any, import('vue').ComponentProvideOptions, {
1834
2080
  P: {};
1835
2081
  B: {};
1836
2082
  D: {};
@@ -1871,8 +2117,10 @@ export declare function renderShellWith(contentTemplate: string, extraComponents
1871
2117
  title: string;
1872
2118
  meta: string;
1873
2119
  }[];
2120
+ contentRegionId: string;
1874
2121
  isActive: (title: string) => boolean;
1875
- layout: import('vue').Ref<string, string>;
2122
+ layout: import('vue').Ref<ContentMode, ContentMode>;
2123
+ layoutStatus: import('vue').ComputedRef<string>;
1876
2124
  model: import('vue').Ref<string, string>;
1877
2125
  models: string[];
1878
2126
  mobileItems: {
@@ -1880,6 +2128,8 @@ export declare function renderShellWith(contentTemplate: string, extraComponents
1880
2128
  icon: string;
1881
2129
  }[];
1882
2130
  open: import('vue').Ref<boolean, boolean>;
2131
+ primaryColumnCount: import('vue').ComputedRef<number>;
2132
+ primaryGridClass: import('vue').ComputedRef<string>;
1883
2133
  primaryItems: {
1884
2134
  title: string;
1885
2135
  icon: string;
@@ -1893,7 +2143,11 @@ export declare function renderShellWith(contentTemplate: string, extraComponents
1893
2143
  shellStyle: import('vue').ComputedRef<{
1894
2144
  '--sidebar-offset-top': string;
1895
2145
  }>;
2146
+ sidebarColumnCount: import('vue').ComputedRef<number>;
2147
+ sidebarGridClass: import('vue').ComputedRef<string>;
2148
+ sidebarMode: import('vue').Ref<UiLayoutContentSidebarMode, UiLayoutContentSidebarMode>;
1896
2149
  topBarRef: import('vue').Ref<HTMLElement | ComponentPublicInstance | null, HTMLElement | ComponentPublicInstance | null>;
2150
+ accessoryOpen: import('vue').Ref<boolean, boolean>;
1897
2151
  language: import('vue').Ref<string, string>;
1898
2152
  };
1899
2153
  template: string;
@@ -2678,6 +2932,65 @@ export declare function renderMobileShell(defaultOpen?: boolean, rows?: number,
2678
2932
  default?(_: {}): any;
2679
2933
  };
2680
2934
  });
2935
+ UiToggle: {
2936
+ new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
2937
+ modelValue?: boolean;
2938
+ } & import('../..').UiToggleProps> & Readonly<{
2939
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
2940
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
2941
+ "update:modelValue": (value: boolean) => any;
2942
+ }, import('vue').PublicProps, {
2943
+ disabled: boolean;
2944
+ size: "default" | "sm" | "lg";
2945
+ variant: "default" | "ghost" | "outline";
2946
+ active: boolean;
2947
+ soft: boolean;
2948
+ leftIcon: string;
2949
+ rightIcon: string;
2950
+ }, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
2951
+ P: {};
2952
+ B: {};
2953
+ D: {};
2954
+ C: {};
2955
+ M: {};
2956
+ Defaults: {};
2957
+ }, Readonly<{
2958
+ modelValue?: boolean;
2959
+ } & import('../..').UiToggleProps> & Readonly<{
2960
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
2961
+ }>, {}, {}, {}, {}, {
2962
+ disabled: boolean;
2963
+ size: "default" | "sm" | "lg";
2964
+ variant: "default" | "ghost" | "outline";
2965
+ active: boolean;
2966
+ soft: boolean;
2967
+ leftIcon: string;
2968
+ rightIcon: string;
2969
+ }>;
2970
+ __isFragment?: never;
2971
+ __isTeleport?: never;
2972
+ __isSuspense?: never;
2973
+ } & import('vue').ComponentOptionsBase<Readonly<{
2974
+ modelValue?: boolean;
2975
+ } & import('../..').UiToggleProps> & Readonly<{
2976
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
2977
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
2978
+ "update:modelValue": (value: boolean) => any;
2979
+ }, string, {
2980
+ disabled: boolean;
2981
+ size: "default" | "sm" | "lg";
2982
+ variant: "default" | "ghost" | "outline";
2983
+ active: boolean;
2984
+ soft: boolean;
2985
+ leftIcon: string;
2986
+ rightIcon: string;
2987
+ }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
2988
+ $slots: {
2989
+ 'left-icon'?(_: {}): any;
2990
+ default?(_: {}): any;
2991
+ 'right-icon'?(_: {}): any;
2992
+ };
2993
+ });
2681
2994
  UiDropdownMenuLabel: {
2682
2995
  new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('../..').UiDropdownMenuLabelProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
2683
2996
  inset: boolean;
@@ -2776,7 +3089,57 @@ export declare function renderMobileShell(defaultOpen?: boolean, rows?: number,
2776
3089
  escapeKeyDown: (event: KeyboardEvent) => any;
2777
3090
  }, import('vue').PublicProps, {
2778
3091
  sideOffset: number;
2779
- }, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
3092
+ }, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
3093
+ viewportRef: ({
3094
+ $: import('vue').ComponentInternalInstance;
3095
+ $data: {};
3096
+ $props: Partial<{}> & Omit<{} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>;
3097
+ $attrs: {
3098
+ [x: string]: unknown;
3099
+ };
3100
+ $refs: {
3101
+ [x: string]: unknown;
3102
+ } & {
3103
+ scrollEl: HTMLDivElement;
3104
+ };
3105
+ $slots: Readonly<{
3106
+ [name: string]: import('vue').Slot<any> | undefined;
3107
+ }>;
3108
+ $root: ComponentPublicInstance | null;
3109
+ $parent: ComponentPublicInstance | null;
3110
+ $host: Element | null;
3111
+ $emit: (event: string, ...args: any[]) => void;
3112
+ $el: any;
3113
+ $options: import('vue').ComponentOptionsBase<Readonly<{}> & Readonly<{}>, {
3114
+ scrollEl: import('vue').Ref<HTMLElement | null, HTMLElement | null>;
3115
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
3116
+ beforeCreate?: (() => void) | (() => void)[];
3117
+ created?: (() => void) | (() => void)[];
3118
+ beforeMount?: (() => void) | (() => void)[];
3119
+ mounted?: (() => void) | (() => void)[];
3120
+ beforeUpdate?: (() => void) | (() => void)[];
3121
+ updated?: (() => void) | (() => void)[];
3122
+ activated?: (() => void) | (() => void)[];
3123
+ deactivated?: (() => void) | (() => void)[];
3124
+ beforeDestroy?: (() => void) | (() => void)[];
3125
+ beforeUnmount?: (() => void) | (() => void)[];
3126
+ destroyed?: (() => void) | (() => void)[];
3127
+ unmounted?: (() => void) | (() => void)[];
3128
+ renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
3129
+ renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
3130
+ errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
3131
+ };
3132
+ $forceUpdate: () => void;
3133
+ $nextTick: typeof import('vue').nextTick;
3134
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
3135
+ } & Readonly<{}> & Omit<Readonly<{}> & Readonly<{}>, "scrollEl"> & import('vue').ShallowUnwrapRef<{
3136
+ scrollEl: import('vue').Ref<HTMLElement | null, HTMLElement | null>;
3137
+ }> & {} & import('vue').ComponentCustomProperties & {} & {
3138
+ $slots: {
3139
+ default?(_: {}): any;
3140
+ };
3141
+ }) | null;
3142
+ }, any, import('vue').ComponentProvideOptions, {
2780
3143
  P: {};
2781
3144
  B: {};
2782
3145
  D: {};
@@ -2817,8 +3180,10 @@ export declare function renderMobileShell(defaultOpen?: boolean, rows?: number,
2817
3180
  title: string;
2818
3181
  meta: string;
2819
3182
  }[];
3183
+ contentRegionId: string;
2820
3184
  isActive: (title: string) => boolean;
2821
- layout: import('vue').Ref<string, string>;
3185
+ layout: import('vue').Ref<ContentMode, ContentMode>;
3186
+ layoutStatus: import('vue').ComputedRef<string>;
2822
3187
  model: import('vue').Ref<string, string>;
2823
3188
  models: string[];
2824
3189
  mobileItems: {
@@ -2826,6 +3191,8 @@ export declare function renderMobileShell(defaultOpen?: boolean, rows?: number,
2826
3191
  icon: string;
2827
3192
  }[];
2828
3193
  open: import('vue').Ref<boolean, boolean>;
3194
+ primaryColumnCount: import('vue').ComputedRef<number>;
3195
+ primaryGridClass: import('vue').ComputedRef<string>;
2829
3196
  primaryItems: {
2830
3197
  title: string;
2831
3198
  icon: string;
@@ -2839,13 +3206,17 @@ export declare function renderMobileShell(defaultOpen?: boolean, rows?: number,
2839
3206
  shellStyle: import('vue').ComputedRef<{
2840
3207
  '--sidebar-offset-top': string;
2841
3208
  }>;
3209
+ sidebarColumnCount: import('vue').ComputedRef<number>;
3210
+ sidebarGridClass: import('vue').ComputedRef<string>;
3211
+ sidebarMode: import('vue').Ref<UiLayoutContentSidebarMode, UiLayoutContentSidebarMode>;
2842
3212
  topBarRef: import('vue').Ref<HTMLElement | ComponentPublicInstance | null, HTMLElement | ComponentPublicInstance | null>;
3213
+ accessoryOpen: import('vue').Ref<boolean, boolean>;
2843
3214
  language: import('vue').Ref<string, string>;
2844
3215
  };
2845
3216
  template: string;
2846
3217
  };
2847
3218
  /** What the arrangement looks like in a product, with the scaffolding removed. */
2848
- export declare const templateSource = "<!-- one fade for the shell: the band spans both columns on the bottom edge -->\n<UiFadeMask\n position=\"bottom\"\n background=\"primary\"\n class=\"flex h-svh w-full flex-col overflow-hidden\"\n :style=\"shellStyle\"\n>\n <!-- full-width bar; its toggle drives the same ref the sidebar is bound to,\n which is what `v-model:open` on the trigger is for: the bar is the\n sidebar's sibling, so there is no context for it to reach. The bar only\n carries it while the sidebar is expanded \u2014 collapsed, the rail shows its\n own (see `start-action` below) -->\n <UiTopBar ref=\"topBarRef\" class=\"shrink-0\" leading-width=\"calc(var(--sidebar-width, 16rem) - 1rem)\">\n <template #logo><AppWordmark /></template>\n <template v-if=\"open\" #sidebar-toggle>\n <UiSidebarTrigger v-model:open=\"open\" tooltip=\"Toggle sidebar\" />\n </template>\n <!-- the avatar and the card it opens are Patterns/UiProfileCard -->\n <template #profile><ProfileCard /></template>\n </UiTopBar>\n\n <!-- the row beneath: sidebar column + content column -->\n <div class=\"flex min-h-0 w-full flex-1\">\n <!-- isolate: rows raise their own icons, which would otherwise escape the\n column and land over the shell's fade -->\n <UiSidebar v-model:open=\"open\" collapsible=\"icon\" class=\"isolate\" role=\"navigation\" aria-label=\"Main\">\n <!-- rendered only while the bound `open` is false: the collapsed rail\n carries the toggle the bar gave up, and inside the sidebar the\n trigger reads the context, so it takes no binding of its own -->\n <template #start-action>\n <UiSidebarMenu>\n <UiSidebarMenuItem>\n <UiSidebarTrigger tooltip=\"Toggle sidebar\" />\n </UiSidebarMenuItem>\n </UiSidebarMenu>\n </template>\n <UiSidebarContent>\u2026</UiSidebarContent>\n </UiSidebar>\n\n <main class=\"bg-background flex min-h-0 min-w-0 flex-1 flex-col overflow-hidden\">\n <PageHeading />\n <!-- bottom padding matches the fade band so the last row clears it -->\n <div class=\"min-h-0 flex-1 overflow-y-auto pb-16 md:pb-24\"><PageContent /></div>\n </main>\n </div>\n</UiFadeMask>";
3219
+ export declare const templateSource: string;
2849
3220
  /** The same shell on a phone: mobile bar slots, and a page that slides aside. */
2850
3221
  export declare const mobileTemplateSource = "<div class=\"relative h-svh w-full overflow-hidden\" :style=\"shellStyle\">\n <!-- the bar floats over both layers: mobile slots, no surface of its own -->\n <UiTopBar ref=\"topBarRef\" class=\"absolute inset-x-0 top-0 z-20 bg-transparent\">\n <template #logo><AppWordmark /></template>\n <template #mobile-logo><WorkspacePill /></template>\n <template #mobile-layout-actions>\n <MenuButton :aria-expanded=\"open\" @click=\"open = !open\" />\n </template>\n </UiTopBar>\n\n <!-- the base layer never moves, so it is a plain column, not the drawer; it\n starts below the bar, which is showing its controls -->\n <div class=\"absolute inset-0 isolate flex\" :style=\"{ paddingTop: 'var(--sidebar-offset-top, 3.75rem)' }\">\n <UiSidebar\n v-model:open=\"open\"\n collapsible=\"none\"\n class=\"h-full w-full\"\n role=\"navigation\"\n aria-label=\"Main\"\n :aria-hidden=\"open ? undefined : 'true'\"\n :inert=\"open ? undefined : true\"\n >\n <!-- the fade stays inside the scroll area here, so it dissolves the\n history above the profile row instead of over it -->\n <UiFadeMask position=\"bottom\" background=\"primary\" class=\"flex min-h-0 flex-1 flex-col overflow-hidden\">\n <UiSidebarContent>\u2026</UiSidebarContent>\n </UiFadeMask>\n <!-- the same card as on a wide screen, opening upwards from the row that\n replaces the avatar the bar gave up -->\n <UiSidebarFooter><ProfileCard /></UiSidebarFooter>\n </UiSidebar>\n </div>\n\n <!-- the sheet is what slides, revealing the layer it was covering; it runs\n the full height and fades at both ends, so the bar floats on the top one -->\n <main\n class=\"bg-background absolute inset-0 flex flex-col overflow-hidden transition-transform duration-200 ease-out\"\n :class=\"open ? 'translate-x-full' : 'translate-x-0'\"\n :inert=\"open || undefined\"\n >\n <!-- one mask, a band on each edge: the page fades under the bar and again\n at the bottom -->\n <UiFadeMask position=\"both\" background=\"secondary\" class=\"flex min-h-0 flex-1 flex-col overflow-hidden\">\n <!-- bottom padding matches the fade band so the last row clears it -->\n <div class=\"min-h-0 flex-1 overflow-y-auto pb-16 md:pb-24\" :style=\"{ paddingTop: 'var(--sidebar-offset-top, 3.75rem)' }\">\n <PageHeading />\n <PageContent />\n </div>\n </UiFadeMask>\n </main>\n</div>";
2851
3222
  export {};
@@ -288,7 +288,57 @@ export declare const PROFILE_CARD_COMPONENTS: {
288
288
  escapeKeyDown: (event: KeyboardEvent) => any;
289
289
  }, import('vue').PublicProps, {
290
290
  sideOffset: number;
291
- }, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
291
+ }, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
292
+ viewportRef: ({
293
+ $: import('vue').ComponentInternalInstance;
294
+ $data: {};
295
+ $props: Partial<{}> & Omit<{} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>;
296
+ $attrs: {
297
+ [x: string]: unknown;
298
+ };
299
+ $refs: {
300
+ [x: string]: unknown;
301
+ } & {
302
+ scrollEl: HTMLDivElement;
303
+ };
304
+ $slots: Readonly<{
305
+ [name: string]: import('vue').Slot<any> | undefined;
306
+ }>;
307
+ $root: import('vue').ComponentPublicInstance | null;
308
+ $parent: import('vue').ComponentPublicInstance | null;
309
+ $host: Element | null;
310
+ $emit: (event: string, ...args: any[]) => void;
311
+ $el: any;
312
+ $options: import('vue').ComponentOptionsBase<Readonly<{}> & Readonly<{}>, {
313
+ scrollEl: import('vue').Ref<HTMLElement | null, HTMLElement | null>;
314
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
315
+ beforeCreate?: (() => void) | (() => void)[];
316
+ created?: (() => void) | (() => void)[];
317
+ beforeMount?: (() => void) | (() => void)[];
318
+ mounted?: (() => void) | (() => void)[];
319
+ beforeUpdate?: (() => void) | (() => void)[];
320
+ updated?: (() => void) | (() => void)[];
321
+ activated?: (() => void) | (() => void)[];
322
+ deactivated?: (() => void) | (() => void)[];
323
+ beforeDestroy?: (() => void) | (() => void)[];
324
+ beforeUnmount?: (() => void) | (() => void)[];
325
+ destroyed?: (() => void) | (() => void)[];
326
+ unmounted?: (() => void) | (() => void)[];
327
+ renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
328
+ renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
329
+ errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
330
+ };
331
+ $forceUpdate: () => void;
332
+ $nextTick: typeof import('vue').nextTick;
333
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
334
+ } & Readonly<{}> & Omit<Readonly<{}> & Readonly<{}>, "scrollEl"> & import('vue').ShallowUnwrapRef<{
335
+ scrollEl: import('vue').Ref<HTMLElement | null, HTMLElement | null>;
336
+ }> & {} & import('vue').ComponentCustomProperties & {} & {
337
+ $slots: {
338
+ default?(_: {}): any;
339
+ };
340
+ }) | null;
341
+ }, any, import('vue').ComponentProvideOptions, {
292
342
  P: {};
293
343
  B: {};
294
344
  D: {};