@manohub/ui 1.1.5 → 1.2.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 (38) hide show
  1. package/dist/components/button/index.d.ts +12 -12
  2. package/dist/components/capsule/index.d.ts +1 -1
  3. package/dist/components/code-block/index.d.ts +5 -5
  4. package/dist/components/date-picker/date-panel.d.ts +1 -1
  5. package/dist/components/date-picker/index.d.ts +6 -6
  6. package/dist/components/dialog/index.d.ts +2 -12
  7. package/dist/components/dialog/index.js +8 -7
  8. package/dist/components/drawer/index.js +7 -1
  9. package/dist/components/filter/index.d.ts +2 -2
  10. package/dist/components/form/index.d.ts +4 -4
  11. package/dist/components/input/index.d.ts +10 -10
  12. package/dist/components/input/number-input.d.ts +2 -2
  13. package/dist/components/list/list.d.ts +1 -1
  14. package/dist/components/list/tree.d.ts +1 -1
  15. package/dist/components/list-view/index.d.ts +2 -2
  16. package/dist/components/notice/index.d.ts +2 -2
  17. package/dist/components/notification/index.d.ts +1 -1
  18. package/dist/components/page/index.d.ts +2 -4
  19. package/dist/components/page/index.js +9 -2
  20. package/dist/components/panel/index.d.ts +2 -2
  21. package/dist/components/panel/index.js +10 -3
  22. package/dist/components/query-state/index.d.ts +1 -3
  23. package/dist/components/radio/index.d.ts +7 -7
  24. package/dist/components/scrollbar/index.d.ts +50 -0
  25. package/dist/components/scrollbar/index.js +187 -0
  26. package/dist/components/select/select-list.d.ts +1 -3
  27. package/dist/components/tabbar/index.d.ts +1 -1
  28. package/dist/components/table/index.js +10 -3
  29. package/dist/components/tabs/index.d.ts +3 -3
  30. package/dist/components/toast/index.d.ts +4 -4
  31. package/dist/styles/components/dialog.css +21 -6
  32. package/dist/styles/components/drawer.css +18 -5
  33. package/dist/styles/components/page.css +20 -3
  34. package/dist/styles/components/panel.css +17 -0
  35. package/dist/styles/components/scrollbar.css +63 -0
  36. package/dist/styles/components/table.css +33 -4
  37. package/dist/styles/index.css +1 -0
  38. package/package.json +2 -2
@@ -203,18 +203,18 @@ export declare const Button: import("vue").DefineComponent<import("vue").Extract
203
203
  }>> & Readonly<{}>, {
204
204
  block: boolean;
205
205
  size: ControlSize;
206
- icon: "search" | "link" | "filter" | "copy" | "help" | "table" | "menu" | "delete" | "image" | "close" | "pause" | "play" | "key" | "application" | "client" | "service" | "schema" | "compose" | "log" | "mcp" | "agent" | "server" | "exposure" | "openapi" | "loading" | "info" | "alert" | "chevron-left" | "chevron-right" | "chevron-down" | "chevron-up" | "chevrons-left" | "chevrons-right" | "check" | "user" | "download" | "back" | "folder" | "folder-open" | "file" | "file-code" | "file-json" | "file-text" | "terminal" | "shield" | "tool" | "plus" | "notification" | "settings" | "logout" | "home" | "workbench" | "apps" | "favorite" | "page-title" | "favorite-filled" | "drag-handle" | "edit" | "refresh" | "upload" | "save" | "more" | "preview" | "external-link" | "minus" | "plus-circle" | "close-circle" | "info-circle" | "check-circle" | "alert-circle" | "play-filled" | "pause-filled" | "list" | "calendar" | "clock" | "lock" | "unlock" | "users" | "archive" | "package" | "plug" | "branch" | "tag" | "ai" | "shield-check" | "shield-alert" | "history";
206
+ icon: "search" | "link" | "filter" | "copy" | "help" | "table" | "menu" | "close" | "pause" | "play" | "image" | "delete" | "key" | "application" | "client" | "service" | "schema" | "compose" | "log" | "mcp" | "agent" | "server" | "exposure" | "openapi" | "loading" | "info" | "alert" | "chevron-left" | "chevron-right" | "chevron-down" | "chevron-up" | "chevrons-left" | "chevrons-right" | "check" | "user" | "download" | "back" | "folder" | "folder-open" | "file" | "file-code" | "file-json" | "file-text" | "terminal" | "shield" | "tool" | "plus" | "notification" | "settings" | "logout" | "home" | "workbench" | "apps" | "favorite" | "page-title" | "favorite-filled" | "drag-handle" | "edit" | "refresh" | "upload" | "save" | "more" | "preview" | "external-link" | "minus" | "plus-circle" | "close-circle" | "info-circle" | "check-circle" | "alert-circle" | "play-filled" | "pause-filled" | "list" | "calendar" | "clock" | "lock" | "unlock" | "users" | "archive" | "package" | "plug" | "branch" | "tag" | "ai" | "shield-check" | "shield-alert" | "history";
207
207
  menu: boolean;
208
208
  caret: boolean;
209
209
  disabled: boolean;
210
210
  title: string;
211
- type: "button" | "reset" | "submit";
212
211
  onClick: (e: MouseEvent) => void;
212
+ type: "button" | "reset" | "submit";
213
213
  loading: boolean;
214
214
  variant: ButtonVariant;
215
215
  shape: ButtonShape;
216
216
  danger: boolean;
217
- trailingIcon: "search" | "link" | "filter" | "copy" | "help" | "table" | "menu" | "delete" | "image" | "close" | "pause" | "play" | "key" | "application" | "client" | "service" | "schema" | "compose" | "log" | "mcp" | "agent" | "server" | "exposure" | "openapi" | "loading" | "info" | "alert" | "chevron-left" | "chevron-right" | "chevron-down" | "chevron-up" | "chevrons-left" | "chevrons-right" | "check" | "user" | "download" | "back" | "folder" | "folder-open" | "file" | "file-code" | "file-json" | "file-text" | "terminal" | "shield" | "tool" | "plus" | "notification" | "settings" | "logout" | "home" | "workbench" | "apps" | "favorite" | "page-title" | "favorite-filled" | "drag-handle" | "edit" | "refresh" | "upload" | "save" | "more" | "preview" | "external-link" | "minus" | "plus-circle" | "close-circle" | "info-circle" | "check-circle" | "alert-circle" | "play-filled" | "pause-filled" | "list" | "calendar" | "clock" | "lock" | "unlock" | "users" | "archive" | "package" | "plug" | "branch" | "tag" | "ai" | "shield-check" | "shield-alert" | "history";
217
+ trailingIcon: "search" | "link" | "filter" | "copy" | "help" | "table" | "menu" | "close" | "pause" | "play" | "image" | "delete" | "key" | "application" | "client" | "service" | "schema" | "compose" | "log" | "mcp" | "agent" | "server" | "exposure" | "openapi" | "loading" | "info" | "alert" | "chevron-left" | "chevron-right" | "chevron-down" | "chevron-up" | "chevrons-left" | "chevrons-right" | "check" | "user" | "download" | "back" | "folder" | "folder-open" | "file" | "file-code" | "file-json" | "file-text" | "terminal" | "shield" | "tool" | "plus" | "notification" | "settings" | "logout" | "home" | "workbench" | "apps" | "favorite" | "page-title" | "favorite-filled" | "drag-handle" | "edit" | "refresh" | "upload" | "save" | "more" | "preview" | "external-link" | "minus" | "plus-circle" | "close-circle" | "info-circle" | "check-circle" | "alert-circle" | "play-filled" | "pause-filled" | "list" | "calendar" | "clock" | "lock" | "unlock" | "users" | "archive" | "package" | "plug" | "branch" | "tag" | "ai" | "shield-check" | "shield-alert" | "history";
218
218
  href: string;
219
219
  target: string;
220
220
  popoverTarget: string;
@@ -358,18 +358,18 @@ export declare const ButtonCompound: {
358
358
  }>> & Readonly<{}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
359
359
  block: boolean;
360
360
  size: ControlSize;
361
- icon: "search" | "link" | "filter" | "copy" | "help" | "table" | "menu" | "delete" | "image" | "close" | "pause" | "play" | "key" | "application" | "client" | "service" | "schema" | "compose" | "log" | "mcp" | "agent" | "server" | "exposure" | "openapi" | "loading" | "info" | "alert" | "chevron-left" | "chevron-right" | "chevron-down" | "chevron-up" | "chevrons-left" | "chevrons-right" | "check" | "user" | "download" | "back" | "folder" | "folder-open" | "file" | "file-code" | "file-json" | "file-text" | "terminal" | "shield" | "tool" | "plus" | "notification" | "settings" | "logout" | "home" | "workbench" | "apps" | "favorite" | "page-title" | "favorite-filled" | "drag-handle" | "edit" | "refresh" | "upload" | "save" | "more" | "preview" | "external-link" | "minus" | "plus-circle" | "close-circle" | "info-circle" | "check-circle" | "alert-circle" | "play-filled" | "pause-filled" | "list" | "calendar" | "clock" | "lock" | "unlock" | "users" | "archive" | "package" | "plug" | "branch" | "tag" | "ai" | "shield-check" | "shield-alert" | "history";
361
+ icon: "search" | "link" | "filter" | "copy" | "help" | "table" | "menu" | "close" | "pause" | "play" | "image" | "delete" | "key" | "application" | "client" | "service" | "schema" | "compose" | "log" | "mcp" | "agent" | "server" | "exposure" | "openapi" | "loading" | "info" | "alert" | "chevron-left" | "chevron-right" | "chevron-down" | "chevron-up" | "chevrons-left" | "chevrons-right" | "check" | "user" | "download" | "back" | "folder" | "folder-open" | "file" | "file-code" | "file-json" | "file-text" | "terminal" | "shield" | "tool" | "plus" | "notification" | "settings" | "logout" | "home" | "workbench" | "apps" | "favorite" | "page-title" | "favorite-filled" | "drag-handle" | "edit" | "refresh" | "upload" | "save" | "more" | "preview" | "external-link" | "minus" | "plus-circle" | "close-circle" | "info-circle" | "check-circle" | "alert-circle" | "play-filled" | "pause-filled" | "list" | "calendar" | "clock" | "lock" | "unlock" | "users" | "archive" | "package" | "plug" | "branch" | "tag" | "ai" | "shield-check" | "shield-alert" | "history";
362
362
  menu: boolean;
363
363
  caret: boolean;
364
364
  disabled: boolean;
365
365
  title: string;
366
- type: "button" | "reset" | "submit";
367
366
  onClick: (e: MouseEvent) => void;
367
+ type: "button" | "reset" | "submit";
368
368
  loading: boolean;
369
369
  variant: ButtonVariant;
370
370
  shape: ButtonShape;
371
371
  danger: boolean;
372
- trailingIcon: "search" | "link" | "filter" | "copy" | "help" | "table" | "menu" | "delete" | "image" | "close" | "pause" | "play" | "key" | "application" | "client" | "service" | "schema" | "compose" | "log" | "mcp" | "agent" | "server" | "exposure" | "openapi" | "loading" | "info" | "alert" | "chevron-left" | "chevron-right" | "chevron-down" | "chevron-up" | "chevrons-left" | "chevrons-right" | "check" | "user" | "download" | "back" | "folder" | "folder-open" | "file" | "file-code" | "file-json" | "file-text" | "terminal" | "shield" | "tool" | "plus" | "notification" | "settings" | "logout" | "home" | "workbench" | "apps" | "favorite" | "page-title" | "favorite-filled" | "drag-handle" | "edit" | "refresh" | "upload" | "save" | "more" | "preview" | "external-link" | "minus" | "plus-circle" | "close-circle" | "info-circle" | "check-circle" | "alert-circle" | "play-filled" | "pause-filled" | "list" | "calendar" | "clock" | "lock" | "unlock" | "users" | "archive" | "package" | "plug" | "branch" | "tag" | "ai" | "shield-check" | "shield-alert" | "history";
372
+ trailingIcon: "search" | "link" | "filter" | "copy" | "help" | "table" | "menu" | "close" | "pause" | "play" | "image" | "delete" | "key" | "application" | "client" | "service" | "schema" | "compose" | "log" | "mcp" | "agent" | "server" | "exposure" | "openapi" | "loading" | "info" | "alert" | "chevron-left" | "chevron-right" | "chevron-down" | "chevron-up" | "chevrons-left" | "chevrons-right" | "check" | "user" | "download" | "back" | "folder" | "folder-open" | "file" | "file-code" | "file-json" | "file-text" | "terminal" | "shield" | "tool" | "plus" | "notification" | "settings" | "logout" | "home" | "workbench" | "apps" | "favorite" | "page-title" | "favorite-filled" | "drag-handle" | "edit" | "refresh" | "upload" | "save" | "more" | "preview" | "external-link" | "minus" | "plus-circle" | "close-circle" | "info-circle" | "check-circle" | "alert-circle" | "play-filled" | "pause-filled" | "list" | "calendar" | "clock" | "lock" | "unlock" | "users" | "archive" | "package" | "plug" | "branch" | "tag" | "ai" | "shield-check" | "shield-alert" | "history";
373
373
  href: string;
374
374
  target: string;
375
375
  popoverTarget: string;
@@ -470,18 +470,18 @@ export declare const ButtonCompound: {
470
470
  }>> & Readonly<{}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, {
471
471
  block: boolean;
472
472
  size: ControlSize;
473
- icon: "search" | "link" | "filter" | "copy" | "help" | "table" | "menu" | "delete" | "image" | "close" | "pause" | "play" | "key" | "application" | "client" | "service" | "schema" | "compose" | "log" | "mcp" | "agent" | "server" | "exposure" | "openapi" | "loading" | "info" | "alert" | "chevron-left" | "chevron-right" | "chevron-down" | "chevron-up" | "chevrons-left" | "chevrons-right" | "check" | "user" | "download" | "back" | "folder" | "folder-open" | "file" | "file-code" | "file-json" | "file-text" | "terminal" | "shield" | "tool" | "plus" | "notification" | "settings" | "logout" | "home" | "workbench" | "apps" | "favorite" | "page-title" | "favorite-filled" | "drag-handle" | "edit" | "refresh" | "upload" | "save" | "more" | "preview" | "external-link" | "minus" | "plus-circle" | "close-circle" | "info-circle" | "check-circle" | "alert-circle" | "play-filled" | "pause-filled" | "list" | "calendar" | "clock" | "lock" | "unlock" | "users" | "archive" | "package" | "plug" | "branch" | "tag" | "ai" | "shield-check" | "shield-alert" | "history";
473
+ icon: "search" | "link" | "filter" | "copy" | "help" | "table" | "menu" | "close" | "pause" | "play" | "image" | "delete" | "key" | "application" | "client" | "service" | "schema" | "compose" | "log" | "mcp" | "agent" | "server" | "exposure" | "openapi" | "loading" | "info" | "alert" | "chevron-left" | "chevron-right" | "chevron-down" | "chevron-up" | "chevrons-left" | "chevrons-right" | "check" | "user" | "download" | "back" | "folder" | "folder-open" | "file" | "file-code" | "file-json" | "file-text" | "terminal" | "shield" | "tool" | "plus" | "notification" | "settings" | "logout" | "home" | "workbench" | "apps" | "favorite" | "page-title" | "favorite-filled" | "drag-handle" | "edit" | "refresh" | "upload" | "save" | "more" | "preview" | "external-link" | "minus" | "plus-circle" | "close-circle" | "info-circle" | "check-circle" | "alert-circle" | "play-filled" | "pause-filled" | "list" | "calendar" | "clock" | "lock" | "unlock" | "users" | "archive" | "package" | "plug" | "branch" | "tag" | "ai" | "shield-check" | "shield-alert" | "history";
474
474
  menu: boolean;
475
475
  caret: boolean;
476
476
  disabled: boolean;
477
477
  title: string;
478
- type: "button" | "reset" | "submit";
479
478
  onClick: (e: MouseEvent) => void;
479
+ type: "button" | "reset" | "submit";
480
480
  loading: boolean;
481
481
  variant: ButtonVariant;
482
482
  shape: ButtonShape;
483
483
  danger: boolean;
484
- trailingIcon: "search" | "link" | "filter" | "copy" | "help" | "table" | "menu" | "delete" | "image" | "close" | "pause" | "play" | "key" | "application" | "client" | "service" | "schema" | "compose" | "log" | "mcp" | "agent" | "server" | "exposure" | "openapi" | "loading" | "info" | "alert" | "chevron-left" | "chevron-right" | "chevron-down" | "chevron-up" | "chevrons-left" | "chevrons-right" | "check" | "user" | "download" | "back" | "folder" | "folder-open" | "file" | "file-code" | "file-json" | "file-text" | "terminal" | "shield" | "tool" | "plus" | "notification" | "settings" | "logout" | "home" | "workbench" | "apps" | "favorite" | "page-title" | "favorite-filled" | "drag-handle" | "edit" | "refresh" | "upload" | "save" | "more" | "preview" | "external-link" | "minus" | "plus-circle" | "close-circle" | "info-circle" | "check-circle" | "alert-circle" | "play-filled" | "pause-filled" | "list" | "calendar" | "clock" | "lock" | "unlock" | "users" | "archive" | "package" | "plug" | "branch" | "tag" | "ai" | "shield-check" | "shield-alert" | "history";
484
+ trailingIcon: "search" | "link" | "filter" | "copy" | "help" | "table" | "menu" | "close" | "pause" | "play" | "image" | "delete" | "key" | "application" | "client" | "service" | "schema" | "compose" | "log" | "mcp" | "agent" | "server" | "exposure" | "openapi" | "loading" | "info" | "alert" | "chevron-left" | "chevron-right" | "chevron-down" | "chevron-up" | "chevrons-left" | "chevrons-right" | "check" | "user" | "download" | "back" | "folder" | "folder-open" | "file" | "file-code" | "file-json" | "file-text" | "terminal" | "shield" | "tool" | "plus" | "notification" | "settings" | "logout" | "home" | "workbench" | "apps" | "favorite" | "page-title" | "favorite-filled" | "drag-handle" | "edit" | "refresh" | "upload" | "save" | "more" | "preview" | "external-link" | "minus" | "plus-circle" | "close-circle" | "info-circle" | "check-circle" | "alert-circle" | "play-filled" | "pause-filled" | "list" | "calendar" | "clock" | "lock" | "unlock" | "users" | "archive" | "package" | "plug" | "branch" | "tag" | "ai" | "shield-check" | "shield-alert" | "history";
485
485
  href: string;
486
486
  target: string;
487
487
  popoverTarget: string;
@@ -576,18 +576,18 @@ export declare const ButtonCompound: {
576
576
  }>> & Readonly<{}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
577
577
  block: boolean;
578
578
  size: ControlSize;
579
- icon: "search" | "link" | "filter" | "copy" | "help" | "table" | "menu" | "delete" | "image" | "close" | "pause" | "play" | "key" | "application" | "client" | "service" | "schema" | "compose" | "log" | "mcp" | "agent" | "server" | "exposure" | "openapi" | "loading" | "info" | "alert" | "chevron-left" | "chevron-right" | "chevron-down" | "chevron-up" | "chevrons-left" | "chevrons-right" | "check" | "user" | "download" | "back" | "folder" | "folder-open" | "file" | "file-code" | "file-json" | "file-text" | "terminal" | "shield" | "tool" | "plus" | "notification" | "settings" | "logout" | "home" | "workbench" | "apps" | "favorite" | "page-title" | "favorite-filled" | "drag-handle" | "edit" | "refresh" | "upload" | "save" | "more" | "preview" | "external-link" | "minus" | "plus-circle" | "close-circle" | "info-circle" | "check-circle" | "alert-circle" | "play-filled" | "pause-filled" | "list" | "calendar" | "clock" | "lock" | "unlock" | "users" | "archive" | "package" | "plug" | "branch" | "tag" | "ai" | "shield-check" | "shield-alert" | "history";
579
+ icon: "search" | "link" | "filter" | "copy" | "help" | "table" | "menu" | "close" | "pause" | "play" | "image" | "delete" | "key" | "application" | "client" | "service" | "schema" | "compose" | "log" | "mcp" | "agent" | "server" | "exposure" | "openapi" | "loading" | "info" | "alert" | "chevron-left" | "chevron-right" | "chevron-down" | "chevron-up" | "chevrons-left" | "chevrons-right" | "check" | "user" | "download" | "back" | "folder" | "folder-open" | "file" | "file-code" | "file-json" | "file-text" | "terminal" | "shield" | "tool" | "plus" | "notification" | "settings" | "logout" | "home" | "workbench" | "apps" | "favorite" | "page-title" | "favorite-filled" | "drag-handle" | "edit" | "refresh" | "upload" | "save" | "more" | "preview" | "external-link" | "minus" | "plus-circle" | "close-circle" | "info-circle" | "check-circle" | "alert-circle" | "play-filled" | "pause-filled" | "list" | "calendar" | "clock" | "lock" | "unlock" | "users" | "archive" | "package" | "plug" | "branch" | "tag" | "ai" | "shield-check" | "shield-alert" | "history";
580
580
  menu: boolean;
581
581
  caret: boolean;
582
582
  disabled: boolean;
583
583
  title: string;
584
- type: "button" | "reset" | "submit";
585
584
  onClick: (e: MouseEvent) => void;
585
+ type: "button" | "reset" | "submit";
586
586
  loading: boolean;
587
587
  variant: ButtonVariant;
588
588
  shape: ButtonShape;
589
589
  danger: boolean;
590
- trailingIcon: "search" | "link" | "filter" | "copy" | "help" | "table" | "menu" | "delete" | "image" | "close" | "pause" | "play" | "key" | "application" | "client" | "service" | "schema" | "compose" | "log" | "mcp" | "agent" | "server" | "exposure" | "openapi" | "loading" | "info" | "alert" | "chevron-left" | "chevron-right" | "chevron-down" | "chevron-up" | "chevrons-left" | "chevrons-right" | "check" | "user" | "download" | "back" | "folder" | "folder-open" | "file" | "file-code" | "file-json" | "file-text" | "terminal" | "shield" | "tool" | "plus" | "notification" | "settings" | "logout" | "home" | "workbench" | "apps" | "favorite" | "page-title" | "favorite-filled" | "drag-handle" | "edit" | "refresh" | "upload" | "save" | "more" | "preview" | "external-link" | "minus" | "plus-circle" | "close-circle" | "info-circle" | "check-circle" | "alert-circle" | "play-filled" | "pause-filled" | "list" | "calendar" | "clock" | "lock" | "unlock" | "users" | "archive" | "package" | "plug" | "branch" | "tag" | "ai" | "shield-check" | "shield-alert" | "history";
590
+ trailingIcon: "search" | "link" | "filter" | "copy" | "help" | "table" | "menu" | "close" | "pause" | "play" | "image" | "delete" | "key" | "application" | "client" | "service" | "schema" | "compose" | "log" | "mcp" | "agent" | "server" | "exposure" | "openapi" | "loading" | "info" | "alert" | "chevron-left" | "chevron-right" | "chevron-down" | "chevron-up" | "chevrons-left" | "chevrons-right" | "check" | "user" | "download" | "back" | "folder" | "folder-open" | "file" | "file-code" | "file-json" | "file-text" | "terminal" | "shield" | "tool" | "plus" | "notification" | "settings" | "logout" | "home" | "workbench" | "apps" | "favorite" | "page-title" | "favorite-filled" | "drag-handle" | "edit" | "refresh" | "upload" | "save" | "more" | "preview" | "external-link" | "minus" | "plus-circle" | "close-circle" | "info-circle" | "check-circle" | "alert-circle" | "play-filled" | "pause-filled" | "list" | "calendar" | "clock" | "lock" | "unlock" | "users" | "archive" | "package" | "plug" | "branch" | "tag" | "ai" | "shield-check" | "shield-alert" | "history";
591
591
  href: string;
592
592
  target: string;
593
593
  popoverTarget: string;
@@ -137,8 +137,8 @@ export declare const Capsule: import("vue").DefineComponent<import("vue").Extrac
137
137
  block: boolean;
138
138
  size: ControlSize;
139
139
  disabled: boolean;
140
- name: string;
141
140
  onChange: (value: string | number) => void;
141
+ name: string;
142
142
  options: CapsuleOption[];
143
143
  defaultValue: string | number | undefined;
144
144
  shape: CapsuleShape;
@@ -108,9 +108,9 @@ export declare const CodeView: import("vue").DefineComponent<import("vue").Extra
108
108
  }>> & Readonly<{}>, {
109
109
  inline: boolean;
110
110
  wrap: boolean;
111
- plain: boolean;
112
111
  code: string;
113
112
  onCopy: (ok: boolean) => void;
113
+ plain: boolean;
114
114
  maxHeight: string | number;
115
115
  language: string;
116
116
  copyable: boolean;
@@ -356,10 +356,10 @@ export declare const CodeBlock: {
356
356
  inline: boolean;
357
357
  wrap: boolean;
358
358
  disabled: boolean;
359
- plain: boolean;
360
359
  code: string;
361
360
  onCopy: (ok: boolean) => void;
362
361
  onChange: (v: string) => void;
362
+ plain: boolean;
363
363
  defaultValue: string;
364
364
  placeholder: string;
365
365
  rows: number;
@@ -454,10 +454,10 @@ export declare const CodeBlock: {
454
454
  inline: boolean;
455
455
  wrap: boolean;
456
456
  disabled: boolean;
457
- plain: boolean;
458
457
  code: string;
459
458
  onCopy: (ok: boolean) => void;
460
459
  onChange: (v: string) => void;
460
+ plain: boolean;
461
461
  defaultValue: string;
462
462
  placeholder: string;
463
463
  rows: number;
@@ -549,10 +549,10 @@ export declare const CodeBlock: {
549
549
  inline: boolean;
550
550
  wrap: boolean;
551
551
  disabled: boolean;
552
- plain: boolean;
553
552
  code: string;
554
553
  onCopy: (ok: boolean) => void;
555
554
  onChange: (v: string) => void;
555
+ plain: boolean;
556
556
  defaultValue: string;
557
557
  placeholder: string;
558
558
  rows: number;
@@ -635,9 +635,9 @@ export declare const CodeBlock: {
635
635
  }>> & Readonly<{}>, {
636
636
  inline: boolean;
637
637
  wrap: boolean;
638
- plain: boolean;
639
638
  code: string;
640
639
  onCopy: (ok: boolean) => void;
640
+ plain: boolean;
641
641
  maxHeight: string | number;
642
642
  language: string;
643
643
  copyable: boolean;
@@ -286,10 +286,10 @@ export declare const DatePanel: import("vue").DefineComponent<import("vue").Extr
286
286
  };
287
287
  }>> & Readonly<{}>, {
288
288
  range: boolean;
289
+ onKeydown: (event: KeyboardEvent) => void;
289
290
  min: string;
290
291
  max: string;
291
292
  mode: "date" | "month";
292
- onKeydown: (event: KeyboardEvent) => void;
293
293
  preview: string;
294
294
  selected: string;
295
295
  precision: TimePrecision;
@@ -128,9 +128,9 @@ export declare const DatePicker: {
128
128
  }, import("vue").PublicProps, {
129
129
  size: ControlSize;
130
130
  disabled: boolean;
131
+ onChange: (value: string) => void;
131
132
  min: string;
132
133
  max: string;
133
- onChange: (value: string) => void;
134
134
  defaultValue: string;
135
135
  placeholder: string;
136
136
  modelValue: string;
@@ -218,9 +218,9 @@ export declare const DatePicker: {
218
218
  }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, {
219
219
  size: ControlSize;
220
220
  disabled: boolean;
221
+ onChange: (value: string) => void;
221
222
  min: string;
222
223
  max: string;
223
- onChange: (value: string) => void;
224
224
  defaultValue: string;
225
225
  placeholder: string;
226
226
  modelValue: string;
@@ -307,9 +307,9 @@ export declare const DatePicker: {
307
307
  }, string, {
308
308
  size: ControlSize;
309
309
  disabled: boolean;
310
+ onChange: (value: string) => void;
310
311
  min: string;
311
312
  max: string;
312
- onChange: (value: string) => void;
313
313
  defaultValue: string;
314
314
  placeholder: string;
315
315
  modelValue: string;
@@ -470,9 +470,9 @@ export declare const DatePicker: {
470
470
  size: ControlSize;
471
471
  separator: string;
472
472
  disabled: boolean;
473
+ onChange: (value: string[]) => void;
473
474
  min: string;
474
475
  max: string;
475
- onChange: (value: string[]) => void;
476
476
  defaultValue: string[];
477
477
  placeholder: string;
478
478
  modelValue: string[];
@@ -634,9 +634,9 @@ export declare const DateRangePicker: import("vue").DefineComponent<import("vue"
634
634
  size: ControlSize;
635
635
  separator: string;
636
636
  disabled: boolean;
637
+ onChange: (value: string[]) => void;
637
638
  min: string;
638
639
  max: string;
639
- onChange: (value: string[]) => void;
640
640
  defaultValue: string[];
641
641
  placeholder: string;
642
642
  modelValue: string[];
@@ -796,9 +796,9 @@ export declare const DateTimePicker: import("vue").DefineComponent<import("vue")
796
796
  }>, {
797
797
  size: ControlSize;
798
798
  disabled: boolean;
799
+ onChange: (value: string) => void;
799
800
  min: string;
800
801
  max: string;
801
- onChange: (value: string) => void;
802
802
  defaultValue: string;
803
803
  placeholder: string;
804
804
  modelValue: string;
@@ -58,12 +58,7 @@ export declare const Dialog: import("vue").DefineComponent<import("vue").Extract
58
58
  default: boolean;
59
59
  };
60
60
  /**
61
- * 点遮罩是否关闭(**默认开**,与主流组件形态一致)。
62
- *
63
- * 组件是「受控弹窗」,用户点遮罩想退出是最常见的心智;「防误关」只对**命令式确认框**成立
64
- * (那里一条误点就丢一次决策),故服务层的 `confirm()` / `alert()` 会**显式**传 `false` 把它关掉 ——
65
- * 与 Ant Design 的分工相同(`<Modal maskClosable>` 默认 `true`,`Modal.confirm` 默认 `false`)。
66
- * 表单类弹窗若怕手滑丢内容,自己显式传 `:close-on-backdrop="false"`。
61
+ * 点遮罩是否关闭(**默认开**)。
67
62
  */
68
63
  closeOnBackdrop: {
69
64
  type: BooleanConstructor;
@@ -165,12 +160,7 @@ export declare const Dialog: import("vue").DefineComponent<import("vue").Extract
165
160
  default: boolean;
166
161
  };
167
162
  /**
168
- * 点遮罩是否关闭(**默认开**,与主流组件形态一致)。
169
- *
170
- * 组件是「受控弹窗」,用户点遮罩想退出是最常见的心智;「防误关」只对**命令式确认框**成立
171
- * (那里一条误点就丢一次决策),故服务层的 `confirm()` / `alert()` 会**显式**传 `false` 把它关掉 ——
172
- * 与 Ant Design 的分工相同(`<Modal maskClosable>` 默认 `true`,`Modal.confirm` 默认 `false`)。
173
- * 表单类弹窗若怕手滑丢内容,自己显式传 `:close-on-backdrop="false"`。
163
+ * 点遮罩是否关闭(**默认开**)。
174
164
  */
175
165
  closeOnBackdrop: {
176
166
  type: BooleanConstructor;
@@ -1,6 +1,7 @@
1
1
  import { defineComponent, ref, watch, onMounted, onBeforeUnmount, computed, createVNode } from "vue";
2
2
  import { Icon } from "@manohub/icon";
3
3
  import { Button } from "../button/index.js";
4
+ import { useOverlayScrollbar } from "../scrollbar/index.js";
4
5
  const TONE_ICON = {
5
6
  info: "info-circle",
6
7
  success: "check-circle",
@@ -41,12 +42,7 @@ const Dialog = /* @__PURE__ */ defineComponent({
41
42
  default: true
42
43
  },
43
44
  /**
44
- * 点遮罩是否关闭(**默认开**,与主流组件形态一致)。
45
- *
46
- * 组件是「受控弹窗」,用户点遮罩想退出是最常见的心智;「防误关」只对**命令式确认框**成立
47
- * (那里一条误点就丢一次决策),故服务层的 `confirm()` / `alert()` 会**显式**传 `false` 把它关掉 ——
48
- * 与 Ant Design 的分工相同(`<Modal maskClosable>` 默认 `true`,`Modal.confirm` 默认 `false`)。
49
- * 表单类弹窗若怕手滑丢内容,自己显式传 `:close-on-backdrop="false"`。
45
+ * 点遮罩是否关闭(**默认开**)。
50
46
  */
51
47
  closeOnBackdrop: {
52
48
  type: Boolean,
@@ -126,6 +122,8 @@ const Dialog = /* @__PURE__ */ defineComponent({
126
122
  attrs
127
123
  }) {
128
124
  const dialogRef = ref(null);
125
+ const scrollRef = ref(null);
126
+ const scrollbar = useOverlayScrollbar(scrollRef);
129
127
  const innerLoading = ref(false);
130
128
  const requestClose = (kind = "close") => {
131
129
  if (kind === "cancel") props.onCancel?.();
@@ -208,7 +206,10 @@ const Dialog = /* @__PURE__ */ defineComponent({
208
206
  "size": 14
209
207
  }, null)]) : null]) : null, createVNode("div", {
210
208
  "class": "mh-dialog__body"
211
- }, [slots.default?.()]), slots.footer ? createVNode("div", {
209
+ }, [createVNode("div", {
210
+ "class": "mh-dialog__scroll",
211
+ "ref": scrollRef
212
+ }, [slots.default?.()]), scrollbar.render()]), slots.footer ? createVNode("div", {
212
213
  "class": "mh-dialog__footer"
213
214
  }, [slots.footer()]) : showBuiltinFooter.value ? createVNode("div", {
214
215
  "class": "mh-dialog__footer"
@@ -1,6 +1,7 @@
1
1
  import { defineComponent, ref, watch, onMounted, onBeforeUnmount, computed, createVNode } from "vue";
2
2
  import { Icon } from "@manohub/icon";
3
3
  import { Button } from "../button/index.js";
4
+ import { useOverlayScrollbar } from "../scrollbar/index.js";
4
5
  const Drawer = /* @__PURE__ */ defineComponent({
5
6
  name: "Drawer",
6
7
  inheritAttrs: false,
@@ -102,6 +103,8 @@ const Drawer = /* @__PURE__ */ defineComponent({
102
103
  attrs
103
104
  }) {
104
105
  const dialogRef = ref(null);
106
+ const scrollRef = ref(null);
107
+ const scrollbar = useOverlayScrollbar(scrollRef);
105
108
  const innerLoading = ref(false);
106
109
  const requestClose = (kind = "close") => {
107
110
  if (kind === "cancel") props.onCancel?.();
@@ -172,7 +175,10 @@ const Drawer = /* @__PURE__ */ defineComponent({
172
175
  "size": 14
173
176
  }, null)]) : null]) : null, createVNode("div", {
174
177
  "class": "mh-drawer__body"
175
- }, [slots.default?.()]), slots.footer ? createVNode("div", {
178
+ }, [createVNode("div", {
179
+ "class": "mh-drawer__scroll",
180
+ "ref": scrollRef
181
+ }, [slots.default?.()]), scrollbar.render()]), slots.footer ? createVNode("div", {
176
182
  "class": "mh-drawer__footer"
177
183
  }, [slots.footer()]) : showBuiltinFooter.value ? createVNode("div", {
178
184
  "class": "mh-drawer__footer"
@@ -130,8 +130,8 @@ export declare const FilterItem: import("vue").DefineComponent<import("vue").Ext
130
130
  default: string;
131
131
  };
132
132
  }>> & Readonly<{}>, {
133
- label: string;
134
133
  error: string;
134
+ label: string;
135
135
  required: boolean;
136
136
  hint: string;
137
137
  }, SlotsType<{
@@ -412,8 +412,8 @@ export declare const Filter: {
412
412
  default: string;
413
413
  };
414
414
  }>> & Readonly<{}>, {
415
- label: string;
416
415
  error: string;
416
+ label: string;
417
417
  required: boolean;
418
418
  hint: string;
419
419
  }, SlotsType<{
@@ -277,9 +277,9 @@ export declare const FormItem: import("vue").DefineComponent<import("vue").Extra
277
277
  default: undefined;
278
278
  };
279
279
  }>> & Readonly<{}>, {
280
- name: string;
281
- label: string;
282
280
  error: string;
281
+ label: string;
282
+ name: string;
283
283
  required: boolean;
284
284
  align: FormItemAlign;
285
285
  readonly: boolean;
@@ -721,9 +721,9 @@ export declare const Form: {
721
721
  default: undefined;
722
722
  };
723
723
  }>> & Readonly<{}>, {
724
- name: string;
725
- label: string;
726
724
  error: string;
725
+ label: string;
726
+ name: string;
727
727
  required: boolean;
728
728
  align: FormItemAlign;
729
729
  readonly: boolean;
@@ -291,9 +291,9 @@ declare const InputBase: import("vue").DefineComponent<import("vue").ExtractProp
291
291
  }>, {
292
292
  size: ControlSize;
293
293
  disabled: boolean;
294
- type: string;
295
- onChange: (v: string) => void;
296
294
  invalid: boolean;
295
+ onChange: (v: string) => void;
296
+ type: string;
297
297
  defaultValue: string;
298
298
  placeholder: string;
299
299
  autofocus: boolean;
@@ -502,8 +502,8 @@ export declare const Textarea: import("vue").DefineComponent<import("vue").Extra
502
502
  }>, {
503
503
  size: ControlSize;
504
504
  disabled: boolean;
505
- onChange: (v: string) => void;
506
505
  invalid: boolean;
506
+ onChange: (v: string) => void;
507
507
  defaultValue: string;
508
508
  placeholder: string;
509
509
  rows: number;
@@ -652,9 +652,9 @@ export declare const InputCompound: {
652
652
  }, import("vue").PublicProps, {
653
653
  size: ControlSize;
654
654
  disabled: boolean;
655
- type: string;
656
- onChange: (v: string) => void;
657
655
  invalid: boolean;
656
+ onChange: (v: string) => void;
657
+ type: string;
658
658
  defaultValue: string;
659
659
  placeholder: string;
660
660
  autofocus: boolean;
@@ -814,9 +814,9 @@ export declare const InputCompound: {
814
814
  }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, {
815
815
  size: ControlSize;
816
816
  disabled: boolean;
817
- type: string;
818
- onChange: (v: string) => void;
819
817
  invalid: boolean;
818
+ onChange: (v: string) => void;
819
+ type: string;
820
820
  defaultValue: string;
821
821
  placeholder: string;
822
822
  autofocus: boolean;
@@ -971,9 +971,9 @@ export declare const InputCompound: {
971
971
  }, string, {
972
972
  size: ControlSize;
973
973
  disabled: boolean;
974
- type: string;
975
- onChange: (v: string) => void;
976
974
  invalid: boolean;
975
+ onChange: (v: string) => void;
976
+ type: string;
977
977
  defaultValue: string;
978
978
  placeholder: string;
979
979
  autofocus: boolean;
@@ -1142,8 +1142,8 @@ export declare const InputCompound: {
1142
1142
  }>, {
1143
1143
  size: ControlSize;
1144
1144
  disabled: boolean;
1145
- onChange: (v: string) => void;
1146
1145
  invalid: boolean;
1146
+ onChange: (v: string) => void;
1147
1147
  defaultValue: string;
1148
1148
  placeholder: string;
1149
1149
  rows: number;
@@ -216,10 +216,10 @@ export declare const NumberInput: import("vue").DefineComponent<import("vue").Ex
216
216
  }>, {
217
217
  size: ControlSize;
218
218
  disabled: boolean;
219
+ invalid: boolean;
220
+ onChange: (v: number | null) => void;
219
221
  min: number;
220
222
  max: number;
221
- onChange: (v: number | null) => void;
222
- invalid: boolean;
223
223
  defaultValue: number | null;
224
224
  placeholder: string;
225
225
  modelValue: number | null;
@@ -201,8 +201,8 @@ export declare const List: import("vue").DefineComponent<import("vue").ExtractPr
201
201
  };
202
202
  }>> & Readonly<{}>, {
203
203
  size: "sm" | "md";
204
- onSelect: (node: ListNode) => void;
205
204
  error: any;
205
+ onSelect: (node: ListNode) => void;
206
206
  loading: boolean;
207
207
  selected: string;
208
208
  empty: string;
@@ -347,8 +347,8 @@ export declare const Tree: import("vue").DefineComponent<import("vue").ExtractPr
347
347
  };
348
348
  }>> & Readonly<{}>, {
349
349
  size: "sm" | "md";
350
- onSelect: (node: ListNode) => void;
351
350
  error: any;
351
+ onSelect: (node: ListNode) => void;
352
352
  loading: boolean;
353
353
  selected: string;
354
354
  empty: string;
@@ -181,9 +181,9 @@ export declare const ListViewCardItem: import("vue").DefineComponent<import("vue
181
181
  };
182
182
  }>> & Readonly<{}>, {
183
183
  icon: any;
184
- extra: any;
185
184
  footer: any;
186
185
  onClick: () => void;
186
+ extra: any;
187
187
  subtitle: string;
188
188
  actions: any;
189
189
  description: string;
@@ -512,9 +512,9 @@ export declare const ListView: {
512
512
  };
513
513
  }>> & Readonly<{}>, {
514
514
  icon: any;
515
- extra: any;
516
515
  footer: any;
517
516
  onClick: () => void;
517
+ extra: any;
518
518
  subtitle: string;
519
519
  actions: any;
520
520
  description: string;
@@ -116,9 +116,9 @@ export declare const Notice: import("vue").DefineComponent<import("vue").Extract
116
116
  default: undefined;
117
117
  };
118
118
  }>> & Readonly<{}>, {
119
- icon: boolean | "search" | "link" | "filter" | "copy" | "help" | "table" | "menu" | "delete" | "image" | "close" | "pause" | "play" | "key" | "application" | "client" | "service" | "schema" | "compose" | "log" | "mcp" | "agent" | "server" | "exposure" | "openapi" | "loading" | "info" | "alert" | "chevron-left" | "chevron-right" | "chevron-down" | "chevron-up" | "chevrons-left" | "chevrons-right" | "check" | "user" | "download" | "back" | "folder" | "folder-open" | "file" | "file-code" | "file-json" | "file-text" | "terminal" | "shield" | "tool" | "plus" | "notification" | "settings" | "logout" | "home" | "workbench" | "apps" | "favorite" | "page-title" | "favorite-filled" | "drag-handle" | "edit" | "refresh" | "upload" | "save" | "more" | "preview" | "external-link" | "minus" | "plus-circle" | "close-circle" | "info-circle" | "check-circle" | "alert-circle" | "play-filled" | "pause-filled" | "list" | "calendar" | "clock" | "lock" | "unlock" | "users" | "archive" | "package" | "plug" | "branch" | "tag" | "ai" | "shield-check" | "shield-alert" | "history";
120
- onClose: () => void;
119
+ icon: boolean | "search" | "link" | "filter" | "copy" | "help" | "table" | "menu" | "close" | "pause" | "play" | "image" | "delete" | "key" | "application" | "client" | "service" | "schema" | "compose" | "log" | "mcp" | "agent" | "server" | "exposure" | "openapi" | "loading" | "info" | "alert" | "chevron-left" | "chevron-right" | "chevron-down" | "chevron-up" | "chevrons-left" | "chevrons-right" | "check" | "user" | "download" | "back" | "folder" | "folder-open" | "file" | "file-code" | "file-json" | "file-text" | "terminal" | "shield" | "tool" | "plus" | "notification" | "settings" | "logout" | "home" | "workbench" | "apps" | "favorite" | "page-title" | "favorite-filled" | "drag-handle" | "edit" | "refresh" | "upload" | "save" | "more" | "preview" | "external-link" | "minus" | "plus-circle" | "close-circle" | "info-circle" | "check-circle" | "alert-circle" | "play-filled" | "pause-filled" | "list" | "calendar" | "clock" | "lock" | "unlock" | "users" | "archive" | "package" | "plug" | "branch" | "tag" | "ai" | "shield-check" | "shield-alert" | "history";
121
120
  message: string;
121
+ onClose: () => void;
122
122
  closable: boolean;
123
123
  description: string;
124
124
  tone: NoticeTone;
@@ -93,7 +93,7 @@ export declare const Notification: import("vue").DefineComponent<import("vue").E
93
93
  default: undefined;
94
94
  };
95
95
  }>> & Readonly<{}>, {
96
- icon: boolean | "search" | "link" | "filter" | "copy" | "help" | "table" | "menu" | "delete" | "image" | "close" | "pause" | "play" | "key" | "application" | "client" | "service" | "schema" | "compose" | "log" | "mcp" | "agent" | "server" | "exposure" | "openapi" | "loading" | "info" | "alert" | "chevron-left" | "chevron-right" | "chevron-down" | "chevron-up" | "chevrons-left" | "chevrons-right" | "check" | "user" | "download" | "back" | "folder" | "folder-open" | "file" | "file-code" | "file-json" | "file-text" | "terminal" | "shield" | "tool" | "plus" | "notification" | "settings" | "logout" | "home" | "workbench" | "apps" | "favorite" | "page-title" | "favorite-filled" | "drag-handle" | "edit" | "refresh" | "upload" | "save" | "more" | "preview" | "external-link" | "minus" | "plus-circle" | "close-circle" | "info-circle" | "check-circle" | "alert-circle" | "play-filled" | "pause-filled" | "list" | "calendar" | "clock" | "lock" | "unlock" | "users" | "archive" | "package" | "plug" | "branch" | "tag" | "ai" | "shield-check" | "shield-alert" | "history";
96
+ icon: boolean | "search" | "link" | "filter" | "copy" | "help" | "table" | "menu" | "close" | "pause" | "play" | "image" | "delete" | "key" | "application" | "client" | "service" | "schema" | "compose" | "log" | "mcp" | "agent" | "server" | "exposure" | "openapi" | "loading" | "info" | "alert" | "chevron-left" | "chevron-right" | "chevron-down" | "chevron-up" | "chevrons-left" | "chevrons-right" | "check" | "user" | "download" | "back" | "folder" | "folder-open" | "file" | "file-code" | "file-json" | "file-text" | "terminal" | "shield" | "tool" | "plus" | "notification" | "settings" | "logout" | "home" | "workbench" | "apps" | "favorite" | "page-title" | "favorite-filled" | "drag-handle" | "edit" | "refresh" | "upload" | "save" | "more" | "preview" | "external-link" | "minus" | "plus-circle" | "close-circle" | "info-circle" | "check-circle" | "alert-circle" | "play-filled" | "pause-filled" | "list" | "calendar" | "clock" | "lock" | "unlock" | "users" | "archive" | "package" | "plug" | "branch" | "tag" | "ai" | "shield-check" | "shield-alert" | "history";
97
97
  title: string;
98
98
  onClose: () => void;
99
99
  closable: boolean;
@@ -1,4 +1,4 @@
1
- import { type PropType, type SlotsType, type VNode, type VNodeChild } from 'vue';
1
+ import { type PropType, type SlotsType, type VNodeChild } from 'vue';
2
2
  import { type Padding } from '../part-padding';
3
3
  /**
4
4
  * 页面骨架复合件 —— 页面结构与滚动归属的统一契约。
@@ -131,9 +131,7 @@ export declare const Page: {
131
131
  type: PropType<PagePadding>;
132
132
  default: undefined;
133
133
  };
134
- }>, () => string | number | boolean | VNode<import("vue").RendererNode, import("vue").RendererElement, {
135
- [key: string]: any;
136
- }> | import("vue").VNodeArrayChildren | null, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
134
+ }>, () => string | number | boolean | import("vue").VNodeArrayChildren | import("vue/jsx-runtime").JSX.Element | null, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
137
135
  title: {
138
136
  type: StringConstructor;
139
137
  default: undefined;
@@ -1,6 +1,7 @@
1
1
  import { defineComponent, Comment, Text, h, createVNode, onBeforeUnmount, ref, watch, computed } from "vue";
2
2
  import { Icon } from "@manohub/icon";
3
3
  import { mergePartStyle, partPaddingStyle } from "../part-padding.js";
4
+ import { useOverlayScrollbar } from "../scrollbar/index.js";
4
5
  import { measureSidebarWidth, clampSplitWidth, projectSplitWidth } from "./split-resize.js";
5
6
  const DefaultHeaderIcon = () => createVNode(Icon, {
6
7
  "name": "page-title",
@@ -116,10 +117,16 @@ const PageBody = /* @__PURE__ */ defineComponent({
116
117
  slots,
117
118
  attrs
118
119
  }) {
120
+ const scrollRef = ref(null);
121
+ const scrollbar = useOverlayScrollbar(scrollRef);
119
122
  return () => createVNode("div", {
120
123
  "class": ["mh-page__body", `mh-page__body--${props.mode}`],
121
- "style": mergePartStyle(attrs.style, props.padding)
122
- }, [slots.default?.()]);
124
+ "style": attrs.style
125
+ }, [createVNode("div", {
126
+ "class": "mh-page__scroll",
127
+ "ref": scrollRef,
128
+ "style": partPaddingStyle(props.padding)
129
+ }, [slots.default?.()]), props.mode === "scroll" ? scrollbar.render() : null]);
123
130
  }
124
131
  });
125
132
  const PageFooter = /* @__PURE__ */ defineComponent({