pxd 0.0.39 → 0.0.41

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 (240) hide show
  1. package/README.md +9 -3
  2. package/dist/components/active-graph/index.vue +10 -5
  3. package/dist/components/backtop/index.vue +75 -0
  4. package/dist/components/badge/index.vue +9 -7
  5. package/dist/components/book/index.vue +3 -3
  6. package/dist/components/browser/index.vue +2 -2
  7. package/dist/components/checkbox/index.vue +4 -3
  8. package/dist/components/checkbox-group/index.vue +1 -1
  9. package/dist/components/choicebox-group/index.vue +1 -1
  10. package/dist/components/command-menu/index.vue +124 -0
  11. package/dist/components/command-menu-group/index.vue +18 -0
  12. package/dist/components/command-menu-item/index.vue +13 -0
  13. package/dist/components/countdown/index.vue +2 -1
  14. package/dist/components/drawer/index.vue +26 -26
  15. package/dist/components/error/index.vue +2 -2
  16. package/dist/components/fader/index.vue +31 -17
  17. package/dist/components/grid/index.vue +2 -2
  18. package/dist/components/grid-item/index.vue +2 -2
  19. package/dist/components/hold-button/index.vue +1 -1
  20. package/dist/components/index.d.ts +7 -0
  21. package/dist/components/index.js +7 -0
  22. package/dist/components/input/index.vue +18 -10
  23. package/dist/components/intersection-observer/index.vue +5 -5
  24. package/dist/components/kbd/index.vue +21 -8
  25. package/dist/components/{intersection-observer/content.vue → keep-alive-container/index.vue} +3 -1
  26. package/dist/components/list/index.vue +100 -92
  27. package/dist/components/list-item/index.vue +35 -33
  28. package/dist/components/loading-bar/index.vue +149 -0
  29. package/dist/components/material/index.vue +8 -8
  30. package/dist/components/menu/index.vue +26 -16
  31. package/dist/components/message/index.vue +28 -18
  32. package/dist/components/modal/index.vue +32 -36
  33. package/dist/components/note/index.vue +1 -1
  34. package/dist/components/overlay/index.vue +77 -24
  35. package/dist/components/pagination/index.vue +2 -2
  36. package/dist/components/placeholder/index.vue +13 -6
  37. package/dist/components/popover/index.vue +97 -87
  38. package/dist/components/progress/index.vue +1 -1
  39. package/dist/components/radio/index.vue +4 -3
  40. package/dist/components/radio-group/index.vue +1 -1
  41. package/dist/components/scrollable/index.vue +161 -94
  42. package/dist/components/slider/index.vue +7 -7
  43. package/dist/components/stack/index.vue +4 -4
  44. package/dist/components/switch/index.vue +1 -1
  45. package/dist/components/text/index.vue +1 -1
  46. package/dist/components/theme-switcher/index.vue +6 -2
  47. package/dist/components/time-picker/index.vue +281 -0
  48. package/dist/components/tooltip/index.vue +7 -7
  49. package/dist/composables/index.d.ts +1 -0
  50. package/dist/composables/index.js +1 -0
  51. package/dist/composables/use-browser-observer.d.ts +5 -5
  52. package/dist/composables/use-color-scheme.d.ts +5 -1
  53. package/dist/composables/use-color-scheme.js +20 -1
  54. package/dist/composables/use-config-provider-context.d.ts +1 -1
  55. package/dist/composables/use-countdown.d.ts +6 -0
  56. package/dist/composables/use-countdown.js +21 -7
  57. package/dist/composables/use-delay-destroy.d.ts +4 -4
  58. package/dist/composables/use-delay-destroy.js +15 -11
  59. package/dist/composables/use-focus-trap.d.ts +2 -2
  60. package/dist/composables/use-focus-trap.js +6 -6
  61. package/dist/composables/use-loading-bar.d.ts +25 -0
  62. package/dist/composables/use-loading-bar.js +27 -0
  63. package/dist/composables/use-media-query.js +1 -1
  64. package/dist/composables/use-message.d.ts +4 -1
  65. package/dist/composables/use-message.js +18 -0
  66. package/dist/composables/use-pointer-gesture.d.ts +2 -2
  67. package/dist/composables/use-pointer-gesture.js +3 -3
  68. package/dist/composables/use-repeat-action.d.ts +2 -2
  69. package/dist/composables/use-repeat-action.js +5 -5
  70. package/dist/composables/use-virtual-list.d.ts +1 -1
  71. package/dist/contexts/avatar.d.ts +1 -1
  72. package/dist/contexts/carousel.d.ts +1 -1
  73. package/dist/contexts/checkbox.d.ts +1 -1
  74. package/dist/contexts/choicebox.d.ts +2 -2
  75. package/dist/contexts/collapse.d.ts +1 -1
  76. package/dist/contexts/list.d.ts +5 -6
  77. package/dist/contexts/list.js +3 -3
  78. package/dist/contexts/radio.d.ts +1 -1
  79. package/dist/contexts/resizable.d.ts +1 -1
  80. package/dist/contexts/switch.d.ts +2 -2
  81. package/dist/{components/carousel → dist/components/keep-alive-container}/index.vue.d.ts +1 -1
  82. package/dist/index.d.ts +1 -1
  83. package/dist/index.js +1 -1
  84. package/dist/locales/en-us.d.ts +15 -7
  85. package/dist/locales/en-us.js +17 -9
  86. package/dist/locales/zh-cn.d.ts +15 -7
  87. package/dist/locales/zh-cn.js +17 -9
  88. package/dist/{components → src/components}/active-graph/index.vue.d.ts +7 -5
  89. package/dist/{components → src/components}/avatar-group/index.vue.d.ts +1 -1
  90. package/dist/src/components/backtop/index.vue.d.ts +20 -0
  91. package/dist/{components → src/components}/badge/index.vue.d.ts +2 -1
  92. package/dist/{components → src/components}/book/index.vue.d.ts +1 -1
  93. package/dist/{components → src/components}/browser/index.vue.d.ts +1 -1
  94. package/dist/{components → src/components}/button/index.vue.d.ts +1 -1
  95. package/dist/{components/intersection-observer/content.vue.d.ts → src/components/carousel/index.vue.d.ts} +1 -1
  96. package/dist/{components → src/components}/carousel-group/index.vue.d.ts +1 -1
  97. package/dist/{components → src/components}/chip/index.vue.d.ts +1 -1
  98. package/dist/{components → src/components}/choicebox/index.vue.d.ts +1 -1
  99. package/dist/{components → src/components}/choicebox-group/index.vue.d.ts +1 -1
  100. package/dist/{components → src/components}/collapse/index.vue.d.ts +1 -1
  101. package/dist/{components → src/components}/collapse-group/index.vue.d.ts +1 -1
  102. package/dist/src/components/command-menu/index.vue.d.ts +39 -0
  103. package/dist/src/components/command-menu-group/index.vue.d.ts +16 -0
  104. package/dist/src/components/command-menu-item/index.vue.d.ts +12 -0
  105. package/dist/{components → src/components}/config-provider/index.vue.d.ts +1 -1
  106. package/dist/{components → src/components}/description/index.vue.d.ts +1 -1
  107. package/dist/{components → src/components}/drawer/index.vue.d.ts +19 -14
  108. package/dist/{components → src/components}/empty-state/index.vue.d.ts +1 -1
  109. package/dist/{components → src/components}/error/index.vue.d.ts +1 -1
  110. package/dist/src/components/fader/index.vue.d.ts +11 -0
  111. package/dist/{components → src/components}/gauge/index.vue.d.ts +1 -1
  112. package/dist/{components → src/components}/grid/index.vue.d.ts +1 -1
  113. package/dist/{components → src/components}/grid-item/index.vue.d.ts +1 -1
  114. package/dist/{components → src/components}/hold-button/index.vue.d.ts +1 -1
  115. package/dist/{components → src/components}/input/index.vue.d.ts +9 -4
  116. package/dist/{components → src/components}/intersection-observer/index.vue.d.ts +3 -3
  117. package/dist/{components → src/components}/kbd/index.vue.d.ts +8 -5
  118. package/dist/src/components/keep-alive-container/index.vue.d.ts +12 -0
  119. package/dist/{components → src/components}/link-button/index.vue.d.ts +1 -1
  120. package/dist/src/components/list/index.vue.d.ts +40 -0
  121. package/dist/{components → src/components}/list-item/index.vue.d.ts +4 -4
  122. package/dist/src/components/loading-bar/index.vue.d.ts +14 -0
  123. package/dist/{components → src/components}/loading-dots/index.vue.d.ts +1 -1
  124. package/dist/{components → src/components}/material/index.vue.d.ts +1 -1
  125. package/dist/{components → src/components}/menu/index.vue.d.ts +11 -7
  126. package/dist/{components → src/components}/message/index.vue.d.ts +13 -13
  127. package/dist/{components → src/components}/modal/index.vue.d.ts +19 -14
  128. package/dist/{components → src/components}/more-button/index.vue.d.ts +1 -1
  129. package/dist/{components → src/components}/note/index.vue.d.ts +1 -1
  130. package/dist/{components → src/components}/number-input/index.vue.d.ts +1 -1
  131. package/dist/{components → src/components}/overlay/index.vue.d.ts +3 -4
  132. package/dist/{components → src/components}/pagination/index.vue.d.ts +1 -1
  133. package/dist/{components → src/components}/pin-input/index.vue.d.ts +1 -1
  134. package/dist/src/components/placeholder/index.vue.d.ts +9 -0
  135. package/dist/{components → src/components}/popover/index.vue.d.ts +10 -8
  136. package/dist/{components → src/components}/progress/index.vue.d.ts +1 -1
  137. package/dist/{components → src/components}/radio/index.vue.d.ts +1 -1
  138. package/dist/{components → src/components}/radio-group/index.vue.d.ts +1 -1
  139. package/dist/{components → src/components}/resizable/index.vue.d.ts +1 -1
  140. package/dist/src/components/resizable-handle/index.vue.d.ts +2 -0
  141. package/dist/{components → src/components}/resizable-panel/index.vue.d.ts +1 -1
  142. package/dist/{components → src/components}/skeleton/index.vue.d.ts +1 -1
  143. package/dist/{components → src/components}/slider/index.vue.d.ts +1 -1
  144. package/dist/{components → src/components}/snippet/index.vue.d.ts +1 -1
  145. package/dist/src/components/spinner/index.vue.d.ts +2 -0
  146. package/dist/{components → src/components}/stack/index.vue.d.ts +1 -1
  147. package/dist/{components → src/components}/status-dot/index.vue.d.ts +1 -1
  148. package/dist/{components → src/components}/switch/index.vue.d.ts +1 -1
  149. package/dist/{components → src/components}/switch-group/index.vue.d.ts +1 -1
  150. package/dist/{components → src/components}/teleport/index.vue.d.ts +1 -1
  151. package/dist/{components → src/components}/text/index.vue.d.ts +1 -1
  152. package/dist/{components → src/components}/textarea/index.vue.d.ts +1 -1
  153. package/dist/{components → src/components}/theme-switcher/index.vue.d.ts +1 -1
  154. package/dist/src/components/time-picker/index.vue.d.ts +25 -0
  155. package/dist/{components → src/components}/toggle/index.vue.d.ts +1 -1
  156. package/dist/{components → src/components}/tooltip/index.vue.d.ts +3 -5
  157. package/dist/{components → src/components}/virtual-list/index.vue.d.ts +1 -1
  158. package/dist/src/composables/use-browser-observer.d.ts +12 -0
  159. package/dist/src/composables/use-color-scheme.d.ts +11 -0
  160. package/dist/src/composables/use-config-provider-context.d.ts +7 -0
  161. package/dist/src/composables/use-copy-click.d.ts +4 -0
  162. package/dist/src/composables/use-countdown.d.ts +60 -0
  163. package/dist/src/composables/use-delay-change.d.ts +7 -0
  164. package/dist/src/composables/use-delay-destroy.d.ts +13 -0
  165. package/dist/src/composables/use-focus-trap.d.ts +4 -0
  166. package/dist/src/composables/use-loading-bar.d.ts +25 -0
  167. package/dist/src/composables/use-media-query.d.ts +15 -0
  168. package/dist/src/composables/use-message.d.ts +33 -0
  169. package/dist/src/composables/use-model-value.d.ts +11 -0
  170. package/dist/src/composables/use-pointer-gesture.d.ts +180 -0
  171. package/dist/src/composables/use-repeat-action.d.ts +16 -0
  172. package/dist/src/composables/use-unique-id-context.d.ts +2 -0
  173. package/dist/src/composables/use-virtual-list.d.ts +16 -0
  174. package/dist/src/contexts/avatar.d.ts +2 -0
  175. package/dist/src/contexts/carousel.d.ts +13 -0
  176. package/dist/src/contexts/checkbox.d.ts +2 -0
  177. package/dist/src/contexts/choicebox.d.ts +4 -0
  178. package/dist/src/contexts/collapse.d.ts +8 -0
  179. package/dist/src/contexts/list.d.ts +8 -0
  180. package/dist/src/contexts/radio.d.ts +2 -0
  181. package/dist/src/contexts/resizable.d.ts +35 -0
  182. package/dist/src/contexts/switch.d.ts +4 -0
  183. package/dist/src/locales/en-us.d.ts +42 -0
  184. package/dist/src/plugins/dayjs-millisecond-token.d.ts +3 -0
  185. package/dist/src/types/components/time-picker.d.ts +4 -0
  186. package/dist/src/utils/context.d.ts +17 -0
  187. package/dist/src/utils/date.d.ts +26 -0
  188. package/dist/src/utils/debounce/index.d.ts +73 -0
  189. package/dist/src/utils/debounce.d.ts +1 -0
  190. package/dist/src/utils/dom.d.ts +40 -0
  191. package/dist/{utils/events.d.ts → src/utils/event.d.ts} +1 -0
  192. package/dist/src/utils/format.d.ts +25 -0
  193. package/dist/src/utils/get.d.ts +11 -0
  194. package/dist/src/utils/is.d.ts +4 -0
  195. package/dist/src/utils/ref.d.ts +5 -0
  196. package/dist/src/utils/regexp.d.ts +8 -0
  197. package/dist/src/utils/responsive.d.ts +3 -0
  198. package/dist/src/utils/throttle/index.d.ts +53 -0
  199. package/dist/src/utils/throttle.d.ts +1 -0
  200. package/dist/src/utils/uid.d.ts +1 -0
  201. package/dist/styles/styles.css +2 -2
  202. package/dist/styles/tw.css +18 -1
  203. package/dist/types/components/list.d.ts +4 -3
  204. package/dist/types/components/time-picker.d.ts +4 -0
  205. package/dist/types/components/time-picker.js +0 -0
  206. package/dist/types/shared/utils.d.ts +5 -2
  207. package/dist/utils/date.d.ts +3 -3
  208. package/dist/utils/debounce/compat.d.ts +143 -0
  209. package/dist/utils/debounce/compat.js +47 -0
  210. package/dist/utils/debounce/index.d.ts +73 -0
  211. package/dist/utils/debounce/index.js +60 -0
  212. package/dist/utils/debounce.d.ts +1 -73
  213. package/dist/utils/debounce.js +1 -60
  214. package/dist/utils/event.d.ts +9 -0
  215. package/dist/utils/{events.js → event.js} +3 -0
  216. package/dist/utils/format.d.ts +4 -1
  217. package/dist/utils/format.js +6 -0
  218. package/dist/utils/ref.d.ts +2 -5
  219. package/dist/utils/regexp.d.ts +4 -0
  220. package/dist/utils/regexp.js +4 -0
  221. package/dist/utils/responsive.d.ts +2 -1
  222. package/dist/utils/responsive.js +4 -1
  223. package/dist/utils/throttle/compat.d.ts +79 -0
  224. package/dist/utils/throttle/compat.js +9 -0
  225. package/dist/utils/throttle/index.d.ts +53 -0
  226. package/dist/utils/throttle/index.js +34 -0
  227. package/dist/utils/throttle.d.ts +1 -53
  228. package/dist/utils/throttle.js +1 -34
  229. package/dist/utils/uid.js +1 -1
  230. package/package.json +11 -11
  231. package/volar.d.ts +7 -0
  232. package/dist/components/fader/index.vue.d.ts +0 -11
  233. package/dist/components/list/index.vue.d.ts +0 -29
  234. package/dist/components/placeholder/index.vue.d.ts +0 -8
  235. package/dist/components/resizable-handle/index.vue.d.ts +0 -2
  236. package/dist/components/spinner/index.vue.d.ts +0 -2
  237. /package/dist/{components → src/components}/avatar/index.vue.d.ts +0 -0
  238. /package/dist/{components → src/components}/checkbox/index.vue.d.ts +0 -0
  239. /package/dist/{components → src/components}/checkbox-group/index.vue.d.ts +0 -0
  240. /package/dist/{components → src/components}/countdown/index.vue.d.ts +0 -0
@@ -7,7 +7,7 @@ declare var __VLS_1: {};
7
7
  type __VLS_Slots = {} & {
8
8
  default?: (props: typeof __VLS_1) => any;
9
9
  };
10
- declare const __VLS_component: import("vue").DefineComponent<Props, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
10
+ declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
11
11
  multiple: boolean;
12
12
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
13
13
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
@@ -0,0 +1,39 @@
1
+ import type { ListOptionSelected } from '../../types/components/list';
2
+ interface Props {
3
+ width?: string | number;
4
+ modelValue?: boolean;
5
+ placeholder?: string;
6
+ closeOnSelectItem?: boolean;
7
+ closeOnPressEscape?: boolean;
8
+ closeOnClickOverlay?: boolean;
9
+ }
10
+ declare var __VLS_27: {}, __VLS_29: {};
11
+ type __VLS_Slots = {} & {
12
+ default?: (props: typeof __VLS_27) => any;
13
+ } & {
14
+ footer?: (props: typeof __VLS_29) => any;
15
+ };
16
+ declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
17
+ hide: () => any;
18
+ show: () => any;
19
+ select: (args_0: MouseEvent, args_1: ListOptionSelected) => any;
20
+ "update:modelValue": (args_0: boolean) => any;
21
+ }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
22
+ onHide?: () => any;
23
+ onShow?: () => any;
24
+ onSelect?: (args_0: MouseEvent, args_1: ListOptionSelected) => any;
25
+ "onUpdate:modelValue"?: (args_0: boolean) => any;
26
+ }>, {
27
+ placeholder: string;
28
+ modelValue: boolean;
29
+ closeOnPressEscape: boolean;
30
+ closeOnClickOverlay: boolean;
31
+ closeOnSelectItem: boolean;
32
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
33
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
34
+ export default _default;
35
+ type __VLS_WithSlots<T, S> = T & {
36
+ new (): {
37
+ $slots: S;
38
+ };
39
+ };
@@ -0,0 +1,16 @@
1
+ import type { ComponentLabel } from '../../types/shared/props';
2
+ interface Props {
3
+ label?: ComponentLabel;
4
+ }
5
+ declare var __VLS_1: {};
6
+ type __VLS_Slots = {} & {
7
+ default?: (props: typeof __VLS_1) => any;
8
+ };
9
+ declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
10
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
11
+ export default _default;
12
+ type __VLS_WithSlots<T, S> = T & {
13
+ new (): {
14
+ $slots: S;
15
+ };
16
+ };
@@ -0,0 +1,12 @@
1
+ declare var __VLS_6: {};
2
+ type __VLS_Slots = {} & {
3
+ default?: (props: typeof __VLS_6) => any;
4
+ };
5
+ declare const __VLS_component: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
6
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
7
+ export default _default;
8
+ type __VLS_WithSlots<T, S> = T & {
9
+ new (): {
10
+ $slots: S;
11
+ };
12
+ };
@@ -7,7 +7,7 @@ declare var __VLS_7: {};
7
7
  type __VLS_Slots = {} & {
8
8
  default?: (props: typeof __VLS_7) => any;
9
9
  };
10
- declare const __VLS_component: import("vue").DefineComponent<Props, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
10
+ declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
11
11
  size: import("../../types/shared").ComponentSize;
12
12
  as: ComponentAs;
13
13
  locale: Record<string, any>;
@@ -9,7 +9,7 @@ type __VLS_Slots = {} & {
9
9
  } & {
10
10
  content?: (props: typeof __VLS_12) => any;
11
11
  };
12
- declare const __VLS_component: import("vue").DefineComponent<Props, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
12
+ declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
13
13
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
14
14
  export default _default;
15
15
  type __VLS_WithSlots<T, S> = T & {
@@ -9,35 +9,40 @@ interface Props {
9
9
  appendToBody?: boolean;
10
10
  headerStylize?: boolean;
11
11
  footerStylize?: boolean;
12
- drawerClass?: ComponentClass;
12
+ wrapperClass?: ComponentClass;
13
+ contentClass?: ComponentClass;
13
14
  closeOnPressEscape?: boolean;
14
15
  closeOnClickOverlay?: boolean;
15
16
  }
16
- declare var __VLS_15: {}, __VLS_17: {}, __VLS_23: {}, __VLS_25: {};
17
+ declare var __VLS_15: {}, __VLS_17: {}, __VLS_19: {}, __VLS_21: {}, __VLS_23: {};
17
18
  type __VLS_Slots = {} & {
18
- title?: (props: typeof __VLS_15) => any;
19
+ header?: (props: typeof __VLS_15) => any;
19
20
  } & {
20
- subtitle?: (props: typeof __VLS_17) => any;
21
+ title?: (props: typeof __VLS_17) => any;
21
22
  } & {
22
- default?: (props: typeof __VLS_23) => any;
23
+ subtitle?: (props: typeof __VLS_19) => any;
23
24
  } & {
24
- footer?: (props: typeof __VLS_25) => any;
25
+ default?: (props: typeof __VLS_21) => any;
26
+ } & {
27
+ footer?: (props: typeof __VLS_23) => any;
25
28
  };
26
- declare const __VLS_component: import("vue").DefineComponent<Props, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
27
- open: () => any;
28
- close: () => any;
29
+ declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
30
+ hide: () => any;
31
+ show: () => any;
29
32
  "update:modelValue": (args_0: boolean) => any;
30
- "click-outside": (args_0: MouseEvent) => any;
33
+ "visible-change": (args_0: boolean) => any;
34
+ "outside-click": (args_0: MouseEvent) => any;
31
35
  }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
32
- onOpen?: () => any;
33
- onClose?: () => any;
36
+ onHide?: () => any;
37
+ onShow?: () => any;
34
38
  "onUpdate:modelValue"?: (args_0: boolean) => any;
35
- "onClick-outside"?: (args_0: MouseEvent) => any;
39
+ "onVisible-change"?: (args_0: boolean) => any;
40
+ "onOutside-click"?: (args_0: MouseEvent) => any;
36
41
  }>, {
37
42
  position: BasePosition;
38
43
  modelValue: boolean;
39
- closeOnPressEscape: boolean;
40
44
  appendToBody: boolean;
45
+ closeOnPressEscape: boolean;
41
46
  closeOnClickOverlay: boolean;
42
47
  headerStylize: boolean;
43
48
  footerStylize: boolean;
@@ -12,7 +12,7 @@ type __VLS_Slots = {} & {
12
12
  } & {
13
13
  default?: (props: typeof __VLS_7) => any;
14
14
  };
15
- declare const __VLS_component: import("vue").DefineComponent<Props, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
15
+ declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
16
16
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
17
17
  export default _default;
18
18
  type __VLS_WithSlots<T, S> = T & {
@@ -9,7 +9,7 @@ declare var __VLS_6: {};
9
9
  type __VLS_Slots = {} & {
10
10
  default?: (props: typeof __VLS_6) => any;
11
11
  };
12
- declare const __VLS_component: import("vue").DefineComponent<Props, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
12
+ declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
13
13
  size: ComponentSizeWithXs;
14
14
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
15
15
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
@@ -0,0 +1,11 @@
1
+ import type { ComponentDirection } from '../../types/shared/props';
2
+ interface Props {
3
+ size?: number;
4
+ color?: string;
5
+ container?: string | HTMLElement;
6
+ direction?: ComponentDirection | 'both';
7
+ }
8
+ declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
9
+ direction: ComponentDirection | "both";
10
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
11
+ export default _default;
@@ -6,7 +6,7 @@ interface Props {
6
6
  size?: ComponentSizeWithXs;
7
7
  colors?: Record<string, string>;
8
8
  }
9
- declare const _default: import("vue").DefineComponent<Props, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
9
+ declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
10
10
  modelValue: number | null;
11
11
  showValue: boolean;
12
12
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -8,7 +8,7 @@ declare var __VLS_1: {};
8
8
  type __VLS_Slots = {} & {
9
9
  default?: (props: typeof __VLS_1) => any;
10
10
  };
11
- declare const __VLS_component: import("vue").DefineComponent<Props, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
11
+ declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
12
12
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
13
13
  export default _default;
14
14
  type __VLS_WithSlots<T, S> = T & {
@@ -7,7 +7,7 @@ declare var __VLS_1: {};
7
7
  type __VLS_Slots = {} & {
8
8
  default?: (props: typeof __VLS_1) => any;
9
9
  };
10
- declare const __VLS_component: import("vue").DefineComponent<Props, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
10
+ declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
11
11
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
12
12
  export default _default;
13
13
  type __VLS_WithSlots<T, S> = T & {
@@ -14,7 +14,7 @@ type __VLS_Slots = {} & {
14
14
  } & {
15
15
  suffix?: (props: typeof __VLS_17) => any;
16
16
  };
17
- declare const __VLS_component: import("vue").DefineComponent<Props, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
17
+ declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
18
18
  canceled: () => any;
19
19
  finished: (args_0: boolean) => any;
20
20
  pointerdown: (args_0: PointerEvent) => any;
@@ -1,4 +1,5 @@
1
1
  import type { InputProps } from '../../types/components/input';
2
+ declare function setNativeInputValue(value: any): void;
2
3
  declare function clearValue(): void;
3
4
  declare var __VLS_1: {}, __VLS_3: {}, __VLS_20: {};
4
5
  type __VLS_Slots = {} & {
@@ -13,10 +14,12 @@ declare const __VLS_component: import("vue").DefineComponent<InputProps, {
13
14
  focus: () => void;
14
15
  select: () => void;
15
16
  clear: typeof clearValue;
17
+ setInputValue: typeof setNativeInputValue;
16
18
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
17
- input: (args_0: import("../../types/shared").ComponentLabel) => any;
18
- change: (args_0: import("../../types/shared").ComponentLabel) => any;
19
+ input: (args_0: string) => any;
20
+ change: (args_0: string) => any;
19
21
  blur: (args_0: FocusEvent) => any;
22
+ click: (args_0: MouseEvent) => any;
20
23
  compositionend: (args_0: CompositionEvent) => any;
21
24
  compositionstart: (args_0: CompositionEvent) => any;
22
25
  compositionupdate: (args_0: CompositionEvent) => any;
@@ -24,9 +27,10 @@ declare const __VLS_component: import("vue").DefineComponent<InputProps, {
24
27
  keydown: (args_0: KeyboardEvent) => any;
25
28
  "update:modelValue": (args_0: string) => any;
26
29
  }, string, import("vue").PublicProps, Readonly<InputProps> & Readonly<{
27
- onInput?: (args_0: import("../../types/shared").ComponentLabel) => any;
28
- onChange?: (args_0: import("../../types/shared").ComponentLabel) => any;
30
+ onInput?: (args_0: string) => any;
31
+ onChange?: (args_0: string) => any;
29
32
  onBlur?: (args_0: FocusEvent) => any;
33
+ onClick?: (args_0: MouseEvent) => any;
30
34
  onCompositionend?: (args_0: CompositionEvent) => any;
31
35
  onCompositionstart?: (args_0: CompositionEvent) => any;
32
36
  onCompositionupdate?: (args_0: CompositionEvent) => any;
@@ -34,6 +38,7 @@ declare const __VLS_component: import("vue").DefineComponent<InputProps, {
34
38
  onKeydown?: (args_0: KeyboardEvent) => any;
35
39
  "onUpdate:modelValue"?: (args_0: string) => any;
36
40
  }>, {
41
+ placeholder: string;
37
42
  align: "left" | "center" | "right";
38
43
  modelValue: import("../../types/shared").ComponentLabel;
39
44
  prefixStyle: boolean;
@@ -12,16 +12,16 @@ type __VLS_Slots = {} & {
12
12
  } & {
13
13
  default?: (props: typeof __VLS_12) => any;
14
14
  };
15
- declare const __VLS_component: import("vue").DefineComponent<Props, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
15
+ declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
16
16
  hide: () => any;
17
17
  show: () => any;
18
- change: (visible: boolean) => any;
18
+ "visible-change": (args_0: boolean) => any;
19
19
  "before-show": () => any;
20
20
  "before-hide": () => any;
21
21
  }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
22
22
  onHide?: () => any;
23
23
  onShow?: () => any;
24
- onChange?: (visible: boolean) => any;
24
+ "onVisible-change"?: (args_0: boolean) => any;
25
25
  "onBefore-show"?: () => any;
26
26
  "onBefore-hide"?: () => any;
27
27
  }>, {
@@ -1,16 +1,19 @@
1
+ import type { ComponentLabel } from 'pxd';
2
+ import type { ComponentSize } from '../../types/shared';
1
3
  interface Props {
2
- meta?: boolean;
3
- shift?: boolean;
4
4
  alt?: boolean;
5
5
  ctrl?: boolean;
6
- small?: boolean;
7
- label?: string;
6
+ meta?: boolean;
7
+ enter?: boolean;
8
+ shift?: boolean;
9
+ label?: ComponentLabel;
10
+ size?: ComponentSize;
8
11
  }
9
12
  declare var __VLS_1: {};
10
13
  type __VLS_Slots = {} & {
11
14
  default?: (props: typeof __VLS_1) => any;
12
15
  };
13
- declare const __VLS_component: import("vue").DefineComponent<Props, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
16
+ declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
14
17
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
15
18
  export default _default;
16
19
  type __VLS_WithSlots<T, S> = T & {
@@ -0,0 +1,12 @@
1
+ declare var __VLS_1: {};
2
+ type __VLS_Slots = {} & {
3
+ default?: (props: typeof __VLS_1) => any;
4
+ };
5
+ declare const __VLS_component: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
6
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
7
+ export default _default;
8
+ type __VLS_WithSlots<T, S> = T & {
9
+ new (): {
10
+ $slots: S;
11
+ };
12
+ };
@@ -14,7 +14,7 @@ type __VLS_Slots = {} & {
14
14
  } & {
15
15
  suffix?: (props: typeof __VLS_15) => any;
16
16
  };
17
- declare const __VLS_component: import("vue").DefineComponent<Props, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
17
+ declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
18
18
  click: (args_0: MouseEvent) => any;
19
19
  }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
20
20
  onClick?: (args_0: MouseEvent) => any;
@@ -0,0 +1,40 @@
1
+ import type { ListOption, ListOptionSelected } from '../../types/components/list';
2
+ interface Props {
3
+ loop?: boolean;
4
+ width?: string | number;
5
+ options?: ListOption[];
6
+ keyListener?: boolean;
7
+ itemTransition?: boolean;
8
+ }
9
+ declare function updateListItem(): void;
10
+ declare function isNoVisibleItem(): boolean;
11
+ declare function setActiveValue(newValue?: string): void;
12
+ declare function setActiveValueToFirst(): void;
13
+ declare var __VLS_5: {};
14
+ type __VLS_Slots = {} & {
15
+ default?: (props: typeof __VLS_5) => any;
16
+ };
17
+ declare const __VLS_component: import("vue").DefineComponent<Props, {
18
+ setActiveValue: typeof setActiveValue;
19
+ updateListItem: typeof updateListItem;
20
+ isNoVisibleItem: typeof isNoVisibleItem;
21
+ setActiveValueToFirst: typeof setActiveValueToFirst;
22
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
23
+ toggle: () => any;
24
+ select: (args_0: MouseEvent, args_1: ListOptionSelected) => any;
25
+ }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
26
+ onToggle?: () => any;
27
+ onSelect?: (args_0: MouseEvent, args_1: ListOptionSelected) => any;
28
+ }>, {
29
+ options: ListOption[];
30
+ loop: boolean;
31
+ keyListener: boolean;
32
+ itemTransition: boolean;
33
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
34
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
35
+ export default _default;
36
+ type __VLS_WithSlots<T, S> = T & {
37
+ new (): {
38
+ $slots: S;
39
+ };
40
+ };
@@ -1,4 +1,4 @@
1
- import type { ListOption } from '../../types/components/list';
1
+ import type { ListOption, ListOptionSelected } from '../../types/components/list';
2
2
  interface Props {
3
3
  as?: ListOption['as'];
4
4
  type?: ListOption['type'];
@@ -10,10 +10,10 @@ declare var __VLS_11: {};
10
10
  type __VLS_Slots = {} & {
11
11
  default?: (props: typeof __VLS_11) => any;
12
12
  };
13
- declare const __VLS_component: import("vue").DefineComponent<Props, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
14
- click: (ev: MouseEvent, index: number) => any;
13
+ declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
14
+ click: (args_0: MouseEvent, args_1: ListOptionSelected) => any;
15
15
  }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
16
- onClick?: (ev: MouseEvent, index: number) => any;
16
+ onClick?: (args_0: MouseEvent, args_1: ListOptionSelected) => any;
17
17
  }>, {
18
18
  type: ListOption["type"];
19
19
  disabled: ListOption["disabled"];
@@ -0,0 +1,14 @@
1
+ interface Props {
2
+ to?: string | HTMLElement;
3
+ group?: string;
4
+ minimum?: number;
5
+ trickle?: boolean;
6
+ trickleThreshold?: number;
7
+ }
8
+ declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
9
+ group: string;
10
+ minimum: number;
11
+ trickle: boolean;
12
+ trickleThreshold: number;
13
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
14
+ export default _default;
@@ -4,7 +4,7 @@ type __VLS_Slots = {} & {
4
4
  } & {
5
5
  suffix?: (props: typeof __VLS_3) => any;
6
6
  };
7
- declare const __VLS_component: import("vue").DefineComponent<{}, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
7
+ declare const __VLS_component: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
8
8
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
9
9
  export default _default;
10
10
  type __VLS_WithSlots<T, S> = T & {
@@ -5,7 +5,7 @@ declare var __VLS_6: {};
5
5
  type __VLS_Slots = {} & {
6
6
  default?: (props: typeof __VLS_6) => any;
7
7
  };
8
- declare const __VLS_component: import("vue").DefineComponent<Props, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
8
+ declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
9
9
  variant: "default" | "small" | "medium" | "large" | "tooltip" | "menu" | "modal" | "fullscreen";
10
10
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
11
11
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
@@ -1,23 +1,27 @@
1
- import type { ListOption } from '../../types/components/list';
1
+ import type { ListOption, ListOptionSelected } from '../../types/components/list';
2
2
  import type { ComponentPosition } from '../../types/shared';
3
3
  interface Props {
4
4
  width?: string | number;
5
5
  options?: ListOption[];
6
6
  position?: ComponentPosition;
7
+ closeOnPressEscape?: boolean;
7
8
  }
8
- declare var __VLS_7: {}, __VLS_18: {};
9
+ declare var __VLS_10: {}, __VLS_20: {};
9
10
  type __VLS_Slots = {} & {
10
- default?: (props: typeof __VLS_7) => any;
11
+ default?: (props: typeof __VLS_10) => any;
11
12
  } & {
12
- items?: (props: typeof __VLS_18) => any;
13
+ items?: (props: typeof __VLS_20) => any;
13
14
  };
14
- declare const __VLS_component: import("vue").DefineComponent<Props, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
15
- selected: (ev: MouseEvent, index: number) => any;
15
+ declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
16
+ change: (visible: boolean) => any;
17
+ select: (args_0: MouseEvent, args_1: ListOptionSelected) => any;
16
18
  }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
17
- onSelected?: (ev: MouseEvent, index: number) => any;
19
+ onChange?: (visible: boolean) => any;
20
+ onSelect?: (args_0: MouseEvent, args_1: ListOptionSelected) => any;
18
21
  }>, {
19
22
  position: ComponentPosition;
20
23
  options: ListOption[];
24
+ closeOnPressEscape: boolean;
21
25
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
22
26
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
23
27
  export default _default;
@@ -6,14 +6,14 @@ interface Props {
6
6
  zIndex?: string | number;
7
7
  position?: ComponentPosition<'top' | 'bottom'>;
8
8
  }
9
- declare function getMessageByKey(key: string): {
9
+ declare function getMessageByKey(key: MessageItem['key']): {
10
10
  index: number;
11
11
  message: {
12
12
  message: string | import("vue").VNode;
13
13
  _timerId?: ReturnType<typeof setTimeout>;
14
14
  _remainingMs?: number;
15
15
  _startedAtMs?: number;
16
- key: string;
16
+ key: string | number;
17
17
  group: string;
18
18
  class: import("../../types/shared").ComponentClass;
19
19
  durations: number;
@@ -21,17 +21,17 @@ declare function getMessageByKey(key: string): {
21
21
  type?: "info" | "success" | "warning" | "error" | "loading" | "" | false | undefined;
22
22
  };
23
23
  };
24
- declare function pauseMessageByKey(key: string): void;
24
+ declare function pauseMessageByKey(key: MessageItem['key']): void;
25
25
  declare function resumeMessageByKey(key: string): void;
26
- declare function closeMessageByKey(key: string): void;
27
- declare function closeMessageByKeyAll(): void;
26
+ declare function closeMessageByKey(key: MessageItem['key']): void;
27
+ declare function clearMessage(): void;
28
28
  declare const _default: import("vue").DefineComponent<Props, {
29
29
  messages: import("vue").Ref<{
30
30
  message: string | import("vue").VNode;
31
31
  _timerId?: ReturnType<typeof setTimeout>;
32
32
  _remainingMs?: number;
33
33
  _startedAtMs?: number;
34
- key: string;
34
+ key: string | number;
35
35
  group: string;
36
36
  class: import("../../types/shared").ComponentClass;
37
37
  durations: number;
@@ -42,7 +42,7 @@ declare const _default: import("vue").DefineComponent<Props, {
42
42
  _timerId?: ReturnType<typeof setTimeout>;
43
43
  _remainingMs?: number;
44
44
  _startedAtMs?: number;
45
- key: string;
45
+ key: string | number;
46
46
  group: string;
47
47
  class: import("../../types/shared").ComponentClass;
48
48
  durations: number;
@@ -54,18 +54,18 @@ declare const _default: import("vue").DefineComponent<Props, {
54
54
  _timerId?: ReturnType<typeof setTimeout>;
55
55
  _remainingMs?: number;
56
56
  _startedAtMs?: number;
57
- key: string;
57
+ key: string | number;
58
58
  group: string;
59
59
  class: import("../../types/shared").ComponentClass;
60
60
  durations: number;
61
61
  closeable: boolean;
62
62
  type?: "info" | "success" | "warning" | "error" | "loading" | "" | false | undefined;
63
63
  }[]>;
64
- getMessage: typeof getMessageByKey;
65
- pauseMessage: typeof pauseMessageByKey;
66
- resumeMessage: typeof resumeMessageByKey;
67
- closeMessage: typeof closeMessageByKey;
68
- closeMessageAll: typeof closeMessageByKeyAll;
64
+ get: typeof getMessageByKey;
65
+ pause: typeof pauseMessageByKey;
66
+ resume: typeof resumeMessageByKey;
67
+ close: typeof closeMessageByKey;
68
+ clear: typeof clearMessage;
69
69
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
70
70
  max: number;
71
71
  position: ComponentPosition<"top" | "bottom">;
@@ -8,34 +8,39 @@ interface Props {
8
8
  appendToBody?: boolean;
9
9
  headerStylize?: boolean;
10
10
  footerStylize?: boolean;
11
- modalClass?: ComponentClass;
11
+ wrapperClass?: ComponentClass;
12
+ contentClass?: ComponentClass;
12
13
  closeOnPressEscape?: boolean;
13
14
  closeOnClickOverlay?: boolean;
14
15
  }
15
- declare var __VLS_15: {}, __VLS_17: {}, __VLS_23: {}, __VLS_25: {};
16
+ declare var __VLS_15: {}, __VLS_17: {}, __VLS_19: {}, __VLS_21: {}, __VLS_23: {};
16
17
  type __VLS_Slots = {} & {
17
- title?: (props: typeof __VLS_15) => any;
18
+ header?: (props: typeof __VLS_15) => any;
18
19
  } & {
19
- subtitle?: (props: typeof __VLS_17) => any;
20
+ title?: (props: typeof __VLS_17) => any;
20
21
  } & {
21
- default?: (props: typeof __VLS_23) => any;
22
+ subtitle?: (props: typeof __VLS_19) => any;
22
23
  } & {
23
- footer?: (props: typeof __VLS_25) => any;
24
+ default?: (props: typeof __VLS_21) => any;
25
+ } & {
26
+ footer?: (props: typeof __VLS_23) => any;
24
27
  };
25
- declare const __VLS_component: import("vue").DefineComponent<Props, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
26
- open: () => any;
27
- close: () => any;
28
+ declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
29
+ hide: () => any;
30
+ show: () => any;
28
31
  "update:modelValue": (args_0: boolean) => any;
29
- "click-outside": (args_0: MouseEvent) => any;
32
+ "visible-change": (args_0: boolean) => any;
33
+ "outside-click": (args_0: MouseEvent) => any;
30
34
  }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
31
- onOpen?: () => any;
32
- onClose?: () => any;
35
+ onHide?: () => any;
36
+ onShow?: () => any;
33
37
  "onUpdate:modelValue"?: (args_0: boolean) => any;
34
- "onClick-outside"?: (args_0: MouseEvent) => any;
38
+ "onVisible-change"?: (args_0: boolean) => any;
39
+ "onOutside-click"?: (args_0: MouseEvent) => any;
35
40
  }>, {
36
41
  modelValue: boolean;
37
- closeOnPressEscape: boolean;
38
42
  appendToBody: boolean;
43
+ closeOnPressEscape: boolean;
39
44
  closeOnClickOverlay: boolean;
40
45
  headerStylize: boolean;
41
46
  footerStylize: boolean;
@@ -4,7 +4,7 @@ interface Props extends ButtonProps {
4
4
  lessText?: string;
5
5
  modelValue?: boolean;
6
6
  }
7
- declare const _default: import("vue").DefineComponent<Props, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
7
+ declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
8
8
  "update:modelValue": (args_0: boolean) => any;
9
9
  }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
10
10
  "onUpdate:modelValue"?: (args_0: boolean) => any;