@pungfe/element 0.0.1-alpha.18 → 0.0.1-alpha.21

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 (190) hide show
  1. package/LICENSE +21 -21
  2. package/README.md +20 -1
  3. package/dist/cjs/Button-Dkqk8lXH.cjs +2 -0
  4. package/dist/cjs/Button-Dkqk8lXH.cjs.map +1 -0
  5. package/dist/cjs/Button.cjs +1 -0
  6. package/dist/cjs/ButtonPopconfirm.cjs +1 -0
  7. package/dist/cjs/ConfigProvider-lII820wO.cjs +2 -0
  8. package/dist/cjs/ConfigProvider-lII820wO.cjs.map +1 -0
  9. package/dist/cjs/ConfigProvider.cjs +1 -0
  10. package/dist/cjs/DatePicker-DvW11A5y.cjs +2 -0
  11. package/dist/cjs/DatePicker-DvW11A5y.cjs.map +1 -0
  12. package/dist/cjs/DatePicker.cjs +1 -0
  13. package/dist/cjs/Dialog-C3uo50Lk.cjs +2 -0
  14. package/dist/cjs/Dialog-C3uo50Lk.cjs.map +1 -0
  15. package/dist/cjs/Dialog.cjs +1 -0
  16. package/dist/cjs/Form-269B6UNo.cjs +2 -0
  17. package/dist/cjs/Form-269B6UNo.cjs.map +1 -0
  18. package/dist/cjs/Form.cjs +1 -0
  19. package/dist/cjs/FormItem-Dr0G-5Q4.cjs +2 -0
  20. package/dist/cjs/FormItem-Dr0G-5Q4.cjs.map +1 -0
  21. package/dist/cjs/FormItem.cjs +1 -0
  22. package/dist/cjs/Input-DuZALrON.cjs +2 -0
  23. package/dist/cjs/Input-DuZALrON.cjs.map +1 -0
  24. package/dist/cjs/Input.cjs +1 -0
  25. package/dist/cjs/InputNumber-DPd4h9mJ.cjs +2 -0
  26. package/dist/cjs/InputNumber-DPd4h9mJ.cjs.map +1 -0
  27. package/dist/cjs/InputNumber.cjs +1 -0
  28. package/dist/cjs/Pagination-C6JSioze.cjs +2 -0
  29. package/dist/cjs/Pagination-C6JSioze.cjs.map +1 -0
  30. package/dist/cjs/Pagination.cjs +1 -0
  31. package/dist/cjs/Select-C-b-Biw3.cjs +2 -0
  32. package/dist/cjs/Select-C-b-Biw3.cjs.map +1 -0
  33. package/dist/cjs/Select.cjs +1 -0
  34. package/dist/cjs/TabPane-6xH7oG0B.cjs +2 -0
  35. package/dist/cjs/TabPane-6xH7oG0B.cjs.map +1 -0
  36. package/dist/cjs/TabPane.cjs +1 -0
  37. package/dist/cjs/Table-DpQglHP2.cjs +2 -0
  38. package/dist/cjs/Table-DpQglHP2.cjs.map +1 -0
  39. package/dist/cjs/Table.cjs +1 -0
  40. package/dist/cjs/Tabs-BjfrK6HM.cjs +2 -0
  41. package/dist/cjs/Tabs-BjfrK6HM.cjs.map +1 -0
  42. package/dist/cjs/Tabs.cjs +1 -0
  43. package/dist/cjs/Upload-CXRSAOCS.cjs +2 -0
  44. package/dist/cjs/Upload-CXRSAOCS.cjs.map +1 -0
  45. package/dist/cjs/Upload.cjs +1 -0
  46. package/dist/cjs/components-Xete52W-.cjs +2 -0
  47. package/dist/cjs/components-Xete52W-.cjs.map +1 -0
  48. package/dist/cjs/constants-C1UtNKNR.cjs +2 -0
  49. package/dist/cjs/constants-C1UtNKNR.cjs.map +1 -0
  50. package/dist/cjs/dist-jkU1Ff2x.cjs +2 -0
  51. package/dist/cjs/dist-jkU1Ff2x.cjs.map +1 -0
  52. package/dist/cjs/en-B0d-nlXX.cjs +2 -0
  53. package/dist/cjs/en-B0d-nlXX.cjs.map +1 -0
  54. package/dist/cjs/en.cjs +1 -0
  55. package/dist/cjs/index.cjs +2 -0
  56. package/dist/cjs/index.cjs.map +1 -0
  57. package/dist/cjs/index2.cjs +1 -0
  58. package/dist/cjs/resolver.cjs +2 -0
  59. package/dist/cjs/resolver.cjs.map +1 -0
  60. package/dist/cjs/zh-cn-DsaoBOfv.cjs +2 -0
  61. package/dist/cjs/zh-cn-DsaoBOfv.cjs.map +1 -0
  62. package/dist/cjs/zh-cn.cjs +1 -0
  63. package/dist/es/Button-BgxatYKq.js +37 -0
  64. package/dist/es/Button-BgxatYKq.js.map +1 -0
  65. package/dist/es/Button.js +2 -0
  66. package/dist/es/ButtonPopconfirm.js +18 -0
  67. package/dist/es/ConfigProvider-BlRc251T.js +16 -0
  68. package/dist/es/ConfigProvider-BlRc251T.js.map +1 -0
  69. package/dist/es/ConfigProvider.js +4 -0
  70. package/dist/es/DatePicker-BDjnMA3B.js +69 -0
  71. package/dist/es/DatePicker-BDjnMA3B.js.map +1 -0
  72. package/dist/es/DatePicker.js +2 -0
  73. package/dist/es/Dialog-BahbAebJ.js +54 -0
  74. package/dist/es/Dialog-BahbAebJ.js.map +1 -0
  75. package/dist/es/Dialog.js +2 -0
  76. package/dist/es/Form-wBMmnwZj.js +44 -0
  77. package/dist/es/Form-wBMmnwZj.js.map +1 -0
  78. package/dist/es/Form.js +2 -0
  79. package/dist/es/FormItem--C1bP0wY.js +37 -0
  80. package/dist/es/FormItem--C1bP0wY.js.map +1 -0
  81. package/dist/es/FormItem.js +2 -0
  82. package/dist/es/Input-JT0g3gkf.js +86 -0
  83. package/dist/es/Input-JT0g3gkf.js.map +1 -0
  84. package/dist/es/Input.js +2 -0
  85. package/dist/es/InputNumber-CFTLdulD.js +70 -0
  86. package/dist/es/InputNumber-CFTLdulD.js.map +1 -0
  87. package/dist/es/InputNumber.js +2 -0
  88. package/dist/es/Pagination-CGeelxQR.js +44 -0
  89. package/dist/es/Pagination-CGeelxQR.js.map +1 -0
  90. package/dist/es/Pagination.js +2 -0
  91. package/dist/es/Select-BKdDBeJC.js +110 -0
  92. package/dist/es/Select-BKdDBeJC.js.map +1 -0
  93. package/dist/es/Select.js +2 -0
  94. package/dist/es/TabPane-CzInYf67.js +34 -0
  95. package/dist/es/TabPane-CzInYf67.js.map +1 -0
  96. package/dist/es/TabPane.js +2 -0
  97. package/dist/es/Table-Cm_Dki-c.js +104 -0
  98. package/dist/es/Table-Cm_Dki-c.js.map +1 -0
  99. package/dist/es/Table.js +2 -0
  100. package/dist/es/Tabs-CKIkuQ81.js +40 -0
  101. package/dist/es/Tabs-CKIkuQ81.js.map +1 -0
  102. package/dist/es/Tabs.js +2 -0
  103. package/dist/es/Upload-DCnEcRkL.js +52 -0
  104. package/dist/es/Upload-DCnEcRkL.js.map +1 -0
  105. package/dist/es/Upload.js +2 -0
  106. package/dist/es/components-DKoUIsFy.js +91 -0
  107. package/dist/es/components-DKoUIsFy.js.map +1 -0
  108. package/dist/es/constants-TVJ7auaC.js +6 -0
  109. package/dist/es/constants-TVJ7auaC.js.map +1 -0
  110. package/dist/es/dist-BPi3_vgC.js +30 -0
  111. package/dist/es/dist-BPi3_vgC.js.map +1 -0
  112. package/dist/es/en-BAY1fB2Q.js +197 -0
  113. package/dist/es/en-BAY1fB2Q.js.map +1 -0
  114. package/dist/es/en.js +2 -0
  115. package/dist/es/index.js +28 -0
  116. package/dist/es/index.js.map +1 -0
  117. package/dist/es/index2.js +3 -0
  118. package/dist/es/resolver.js +39 -0
  119. package/dist/es/resolver.js.map +1 -0
  120. package/dist/es/zh-cn-UaM4b5St.js +197 -0
  121. package/dist/es/zh-cn-UaM4b5St.js.map +1 -0
  122. package/dist/es/zh-cn.js +2 -0
  123. package/dist/{basic/XButton.vue.d.ts → types/components/Button.vue.d.ts} +10 -5
  124. package/dist/{basic/XReconfirm.vue.d.ts → types/components/ButtonPopconfirm.vue.d.ts} +4 -3
  125. package/dist/types/components/ConfigProvider.vue.d.ts +21 -0
  126. package/dist/{basic/XDatePicker.vue.d.ts → types/components/DatePicker.vue.d.ts} +13 -5
  127. package/dist/{basic/XDialog.vue.d.ts → types/components/Dialog.vue.d.ts} +17 -9
  128. package/dist/types/components/Form.vue.d.ts +29 -0
  129. package/dist/types/components/FormItem.vue.d.ts +33 -0
  130. package/dist/types/components/Input.vue.d.ts +44 -0
  131. package/dist/types/components/InputNumber.vue.d.ts +48 -0
  132. package/dist/types/components/Pagination.vue.d.ts +40 -0
  133. package/dist/types/components/Select.vue.d.ts +45 -0
  134. package/dist/types/components/TabPane.vue.d.ts +32 -0
  135. package/dist/types/components/Table.vue.d.ts +89 -0
  136. package/dist/{basic/XTabs.vue.d.ts → types/components/Tabs.vue.d.ts} +4 -12
  137. package/dist/types/components/Upload.vue.d.ts +40 -0
  138. package/dist/types/components/index.d.ts +50 -0
  139. package/dist/types/constants/index.d.ts +15 -0
  140. package/dist/types/index.d.ts +5 -0
  141. package/dist/types/install.d.ts +2 -0
  142. package/dist/types/locales/en.d.ts +2 -0
  143. package/dist/types/locales/index.d.ts +2 -0
  144. package/dist/types/locales/zh-cn.d.ts +2 -0
  145. package/dist/{resolver.d.ts → types/resolver.d.ts} +1 -1
  146. package/dist/types/src/components/Button.vue.d.ts +31 -0
  147. package/dist/types/src/components/ButtonPopconfirm.vue.d.ts +27 -0
  148. package/dist/types/src/components/ConfigProvider.vue.d.ts +21 -0
  149. package/dist/types/src/components/DatePicker.vue.d.ts +34 -0
  150. package/dist/types/src/components/Dialog.vue.d.ts +44 -0
  151. package/dist/{basic/XForm.vue.d.ts → types/src/components/Form.vue.d.ts} +9 -27
  152. package/dist/types/src/components/FormItem.vue.d.ts +33 -0
  153. package/dist/types/src/components/Input.vue.d.ts +44 -0
  154. package/dist/types/src/components/InputNumber.vue.d.ts +48 -0
  155. package/dist/types/src/components/Pagination.vue.d.ts +40 -0
  156. package/dist/{basic/XSelect.vue.d.ts → types/src/components/Select.vue.d.ts} +19 -5
  157. package/dist/types/src/components/TabPane.vue.d.ts +32 -0
  158. package/dist/types/src/components/Table.vue.d.ts +89 -0
  159. package/dist/types/src/components/Tabs.vue.d.ts +26 -0
  160. package/dist/types/src/components/Upload.vue.d.ts +27 -0
  161. package/dist/types/src/components/index.d.ts +15 -0
  162. package/dist/types/src/constants/index.d.ts +15 -0
  163. package/dist/types/src/index.d.ts +2 -0
  164. package/dist/types/src/locales/en.d.ts +2 -0
  165. package/dist/types/src/locales/index.d.ts +2 -0
  166. package/dist/types/src/locales/zh-cn.d.ts +2 -0
  167. package/dist/types/src/resolver.d.ts +3 -0
  168. package/dist/types/test/table.test.d.ts +1 -0
  169. package/package.json +32 -26
  170. package/dist/basic/XCascader.vue.d.ts +0 -26
  171. package/dist/basic/XCheckbox.vue.d.ts +0 -28
  172. package/dist/basic/XColorPicker.vue.d.ts +0 -21
  173. package/dist/basic/XDivider.vue.d.ts +0 -20
  174. package/dist/basic/XImage.vue.d.ts +0 -5
  175. package/dist/basic/XInput.vue.d.ts +0 -30
  176. package/dist/basic/XInputNumber.vue.d.ts +0 -38
  177. package/dist/basic/XPagination.vue.d.ts +0 -21
  178. package/dist/basic/XRate.vue.d.ts +0 -20
  179. package/dist/basic/XScrollbar.vue.d.ts +0 -553
  180. package/dist/basic/XSpace.vue.d.ts +0 -20
  181. package/dist/basic/XTable.vue.d.ts +0 -57
  182. package/dist/basic/XTag.vue.d.ts +0 -28
  183. package/dist/basic/XText.vue.d.ts +0 -23
  184. package/dist/basic/XUpload.vue.d.ts +0 -41
  185. package/dist/components.d.ts +0 -43
  186. package/dist/constants.d.ts +0 -12
  187. package/dist/index.d.ts +0 -7
  188. package/dist/index.mjs +0 -1297
  189. package/dist/resolver.mjs +0 -42
  190. package/dist/vendor-pRyQDb6F.js +0 -102
@@ -1,30 +0,0 @@
1
- import { InputProps } from 'element-plus';
2
- export interface XInputProps {
3
- clearable?: boolean;
4
- placeholder?: string;
5
- disabled?: boolean;
6
- size?: InputProps['size'];
7
- type?: InputProps['type'];
8
- showPassword?: boolean;
9
- autocomplete?: 'username' | 'current-password';
10
- autosize?: InputProps['autosize'];
11
- }
12
- declare const _default: <V extends string>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
13
- props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
14
- readonly "onUpdate:modelValue"?: ((value: V) => any) | undefined;
15
- readonly onBlur?: (() => any) | undefined;
16
- readonly onChange?: ((value: V) => any) | undefined;
17
- } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "onUpdate:modelValue" | "onBlur" | "onChange"> & ({
18
- modelValue?: V;
19
- } & XInputProps) & Partial<{}>> & import('vue').PublicProps;
20
- expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
21
- attrs: any;
22
- slots: {};
23
- emit: (((evt: "blur") => void) & ((evt: "change", value: V) => void)) & ((evt: "update:modelValue", value: V) => void);
24
- }>) => import('vue').VNode & {
25
- __ctx?: Awaited<typeof __VLS_setup>;
26
- };
27
- export default _default;
28
- type __VLS_PrettifyLocal<T> = {
29
- [K in keyof T]: T[K];
30
- } & {};
@@ -1,38 +0,0 @@
1
- import { InputNumberProps } from 'element-plus';
2
- import { Component } from 'vue';
3
- export interface XInputNumberProps {
4
- placeholder?: string;
5
- disabled?: boolean;
6
- align?: InputNumberProps['align'];
7
- size?: InputNumberProps['size'];
8
- step?: number;
9
- max?: number;
10
- min?: number;
11
- controls?: boolean;
12
- precision?: number;
13
- stepStrictly?: boolean;
14
- }
15
- declare const _default: <V extends number>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
16
- props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
17
- readonly "onUpdate:modelValue"?: ((value: V) => any) | undefined;
18
- readonly onBlur?: (() => any) | undefined;
19
- } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "onUpdate:modelValue" | "onBlur"> & ({
20
- modelValue?: V;
21
- } & XInputNumberProps) & Partial<{}>> & import('vue').PublicProps;
22
- expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
23
- attrs: any;
24
- slots: Readonly<{
25
- prefix?: Component;
26
- suffix?: Component;
27
- }> & {
28
- prefix?: Component;
29
- suffix?: Component;
30
- };
31
- emit: ((evt: "blur") => void) & ((evt: "update:modelValue", value: V) => void);
32
- }>) => import('vue').VNode & {
33
- __ctx?: Awaited<typeof __VLS_setup>;
34
- };
35
- export default _default;
36
- type __VLS_PrettifyLocal<T> = {
37
- [K in keyof T]: T[K];
38
- } & {};
@@ -1,21 +0,0 @@
1
- import { PaginationProps } from 'element-plus';
2
- export interface XPaginationProps extends Partial<Omit<PaginationProps, 'pageSizes'>> {
3
- sizes?: number[];
4
- }
5
- type __VLS_Props = XPaginationProps;
6
- type __VLS_PublicProps = {
7
- 'size'?: number;
8
- 'current'?: number;
9
- } & __VLS_Props;
10
- declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
11
- sizeChange: (size: number) => any;
12
- currentChange: (current: number) => any;
13
- "update:size": (value: number) => any;
14
- "update:current": (value: number) => any;
15
- }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
16
- onSizeChange?: ((size: number) => any) | undefined;
17
- onCurrentChange?: ((current: number) => any) | undefined;
18
- "onUpdate:size"?: ((value: number) => any) | undefined;
19
- "onUpdate:current"?: ((value: number) => any) | undefined;
20
- }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
21
- export default _default;
@@ -1,20 +0,0 @@
1
- import { RateProps } from 'element-plus';
2
- export interface XRateProps extends Partial<Omit<RateProps, 'modelValue'>> {
3
- }
4
- declare const _default: <V extends number>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
5
- props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
6
- readonly "onUpdate:modelValue"?: ((value: V) => any) | undefined;
7
- } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "onUpdate:modelValue"> & ({
8
- modelValue?: V;
9
- } & XRateProps) & Partial<{}>> & import('vue').PublicProps;
10
- expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
11
- attrs: any;
12
- slots: {};
13
- emit: (evt: "update:modelValue", value: V) => void;
14
- }>) => import('vue').VNode & {
15
- __ctx?: Awaited<typeof __VLS_setup>;
16
- };
17
- export default _default;
18
- type __VLS_PrettifyLocal<T> = {
19
- [K in keyof T]: T[K];
20
- } & {};
@@ -1,553 +0,0 @@
1
- import { ScrollbarProps } from 'element-plus';
2
- export interface XScrollbarProps extends Partial<ScrollbarProps> {
3
- }
4
- declare function __VLS_template(): {
5
- attrs: Partial<{}>;
6
- slots: {
7
- default?(_: {}): any;
8
- };
9
- refs: {
10
- scrollbar: ({
11
- $: import('vue').ComponentInternalInstance;
12
- $data: {};
13
- $props: Partial<{
14
- tabindex: number | string;
15
- height: number | string;
16
- maxHeight: number | string;
17
- tag: keyof HTMLElementTagNameMap | (string & {});
18
- minSize: number;
19
- distance: number;
20
- wrapStyle: string | false | import('vue').CSSProperties | import('vue').StyleValue[] | null;
21
- wrapClass: string | string[];
22
- viewClass: string | string[];
23
- viewStyle: string | false | import('vue').CSSProperties | import('vue').StyleValue[] | null;
24
- }> & Omit<{
25
- readonly tag: keyof HTMLElementTagNameMap | (string & {});
26
- readonly distance: number;
27
- readonly height: number | string;
28
- readonly maxHeight: number | string;
29
- readonly wrapStyle: string | false | import('vue').CSSProperties | import('vue').StyleValue[] | null;
30
- readonly wrapClass: string | string[];
31
- readonly viewClass: string | string[];
32
- readonly viewStyle: string | false | import('vue').CSSProperties | import('vue').StyleValue[] | null;
33
- readonly minSize: number;
34
- readonly id?: string | undefined;
35
- readonly tabindex?: number | string | undefined;
36
- readonly ariaLabel?: string | undefined;
37
- readonly native?: boolean | undefined;
38
- readonly noresize?: boolean | undefined;
39
- readonly always?: boolean | undefined;
40
- readonly role?: string | undefined;
41
- readonly ariaOrientation?: "horizontal" | "vertical" | "undefined" | undefined;
42
- onScroll?: ((args_0: {
43
- scrollTop: number;
44
- scrollLeft: number;
45
- }) => any) | undefined | undefined;
46
- "onEnd-reached"?: ((direction: import('element-plus').ScrollbarDirection) => any) | undefined | undefined;
47
- } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "tag" | "tabindex" | "distance" | "height" | "maxHeight" | "wrapStyle" | "wrapClass" | "viewClass" | "viewStyle" | "minSize">;
48
- $attrs: {
49
- [x: string]: unknown;
50
- };
51
- $refs: {
52
- [x: string]: unknown;
53
- };
54
- $slots: Readonly<{
55
- [name: string]: import('vue').Slot<any> | undefined;
56
- }>;
57
- $root: import('vue').ComponentPublicInstance | null;
58
- $parent: import('vue').ComponentPublicInstance | null;
59
- $host: Element | null;
60
- $emit: ((event: "scroll", args_0: {
61
- scrollTop: number;
62
- scrollLeft: number;
63
- }) => void) & ((event: "end-reached", direction: import('element-plus').ScrollbarDirection) => void);
64
- $el: any;
65
- $options: import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
66
- tag: {
67
- type: import('vue').PropType<(string & {}) | keyof HTMLElementTagNameMap>;
68
- default: string;
69
- };
70
- id: {
71
- type: import('vue').PropType<string>;
72
- };
73
- tabindex: {
74
- type: import('vue').PropType<string | number>;
75
- default: undefined;
76
- };
77
- ariaLabel: {
78
- type: import('vue').PropType<string>;
79
- };
80
- distance: {
81
- type: import('vue').PropType<number>;
82
- default: number;
83
- };
84
- height: {
85
- type: import('vue').PropType<string | number>;
86
- default: string;
87
- };
88
- maxHeight: {
89
- type: import('vue').PropType<string | number>;
90
- default: string;
91
- };
92
- native: {
93
- type: import('vue').PropType<boolean>;
94
- };
95
- wrapStyle: {
96
- type: import('vue').PropType<string | false | import('vue').CSSProperties | import('vue').StyleValue[] | null>;
97
- default: string;
98
- };
99
- wrapClass: {
100
- type: import('vue').PropType<string | string[]>;
101
- default: string;
102
- };
103
- viewClass: {
104
- type: import('vue').PropType<string | string[]>;
105
- default: string;
106
- };
107
- viewStyle: {
108
- type: import('vue').PropType<string | false | import('vue').CSSProperties | import('vue').StyleValue[] | null>;
109
- default: string;
110
- };
111
- noresize: {
112
- type: import('vue').PropType<boolean>;
113
- };
114
- always: {
115
- type: import('vue').PropType<boolean>;
116
- };
117
- minSize: {
118
- type: import('vue').PropType<number>;
119
- default: number;
120
- };
121
- role: {
122
- type: import('vue').PropType<string>;
123
- };
124
- ariaOrientation: {
125
- type: import('vue').PropType<"undefined" | "horizontal" | "vertical">;
126
- };
127
- }>> & {
128
- onScroll?: ((args_0: {
129
- scrollTop: number;
130
- scrollLeft: number;
131
- }) => any) | undefined;
132
- "onEnd-reached"?: ((direction: import('element-plus').ScrollbarDirection) => any) | undefined;
133
- }, {
134
- wrapRef: import('vue').Ref<HTMLDivElement | undefined>;
135
- update: () => void;
136
- scrollTo: {
137
- (xCord: number, yCord?: number): void;
138
- (options: ScrollToOptions): void;
139
- };
140
- setScrollTop: (value: number) => void;
141
- setScrollLeft: (value: number) => void;
142
- handleScroll: () => void;
143
- }, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
144
- scroll: (args_0: {
145
- scrollTop: number;
146
- scrollLeft: number;
147
- }) => void;
148
- "end-reached": (direction: import('element-plus').ScrollbarDirection) => void;
149
- }, string, {
150
- tabindex: number | string;
151
- height: number | string;
152
- maxHeight: number | string;
153
- tag: keyof HTMLElementTagNameMap | (string & {});
154
- minSize: number;
155
- distance: number;
156
- wrapStyle: string | false | import('vue').CSSProperties | import('vue').StyleValue[] | null;
157
- wrapClass: string | string[];
158
- viewClass: string | string[];
159
- viewStyle: string | false | import('vue').CSSProperties | import('vue').StyleValue[] | null;
160
- }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
161
- beforeCreate?: (() => void) | (() => void)[];
162
- created?: (() => void) | (() => void)[];
163
- beforeMount?: (() => void) | (() => void)[];
164
- mounted?: (() => void) | (() => void)[];
165
- beforeUpdate?: (() => void) | (() => void)[];
166
- updated?: (() => void) | (() => void)[];
167
- activated?: (() => void) | (() => void)[];
168
- deactivated?: (() => void) | (() => void)[];
169
- beforeDestroy?: (() => void) | (() => void)[];
170
- beforeUnmount?: (() => void) | (() => void)[];
171
- destroyed?: (() => void) | (() => void)[];
172
- unmounted?: (() => void) | (() => void)[];
173
- renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
174
- renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
175
- errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
176
- };
177
- $forceUpdate: () => void;
178
- $nextTick: typeof import('vue').nextTick;
179
- $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;
180
- } & Readonly<{
181
- tabindex: number | string;
182
- height: number | string;
183
- maxHeight: number | string;
184
- tag: keyof HTMLElementTagNameMap | (string & {});
185
- minSize: number;
186
- distance: number;
187
- wrapStyle: string | false | import('vue').CSSProperties | import('vue').StyleValue[] | null;
188
- wrapClass: string | string[];
189
- viewClass: string | string[];
190
- viewStyle: string | false | import('vue').CSSProperties | import('vue').StyleValue[] | null;
191
- }> & Omit<Readonly<import('vue').ExtractPropTypes<{
192
- tag: {
193
- type: import('vue').PropType<(string & {}) | keyof HTMLElementTagNameMap>;
194
- default: string;
195
- };
196
- id: {
197
- type: import('vue').PropType<string>;
198
- };
199
- tabindex: {
200
- type: import('vue').PropType<string | number>;
201
- default: undefined;
202
- };
203
- ariaLabel: {
204
- type: import('vue').PropType<string>;
205
- };
206
- distance: {
207
- type: import('vue').PropType<number>;
208
- default: number;
209
- };
210
- height: {
211
- type: import('vue').PropType<string | number>;
212
- default: string;
213
- };
214
- maxHeight: {
215
- type: import('vue').PropType<string | number>;
216
- default: string;
217
- };
218
- native: {
219
- type: import('vue').PropType<boolean>;
220
- };
221
- wrapStyle: {
222
- type: import('vue').PropType<string | false | import('vue').CSSProperties | import('vue').StyleValue[] | null>;
223
- default: string;
224
- };
225
- wrapClass: {
226
- type: import('vue').PropType<string | string[]>;
227
- default: string;
228
- };
229
- viewClass: {
230
- type: import('vue').PropType<string | string[]>;
231
- default: string;
232
- };
233
- viewStyle: {
234
- type: import('vue').PropType<string | false | import('vue').CSSProperties | import('vue').StyleValue[] | null>;
235
- default: string;
236
- };
237
- noresize: {
238
- type: import('vue').PropType<boolean>;
239
- };
240
- always: {
241
- type: import('vue').PropType<boolean>;
242
- };
243
- minSize: {
244
- type: import('vue').PropType<number>;
245
- default: number;
246
- };
247
- role: {
248
- type: import('vue').PropType<string>;
249
- };
250
- ariaOrientation: {
251
- type: import('vue').PropType<"undefined" | "horizontal" | "vertical">;
252
- };
253
- }>> & {
254
- onScroll?: ((args_0: {
255
- scrollTop: number;
256
- scrollLeft: number;
257
- }) => any) | undefined;
258
- "onEnd-reached"?: ((direction: import('element-plus').ScrollbarDirection) => any) | undefined;
259
- }, "tag" | "tabindex" | "distance" | "height" | "maxHeight" | "wrapStyle" | "wrapClass" | "viewClass" | "viewStyle" | "minSize" | "wrapRef" | "update" | "scrollTo" | "setScrollTop" | "setScrollLeft" | "handleScroll"> & import('vue').ShallowUnwrapRef<{
260
- wrapRef: import('vue').Ref<HTMLDivElement | undefined>;
261
- update: () => void;
262
- scrollTo: {
263
- (xCord: number, yCord?: number): void;
264
- (options: ScrollToOptions): void;
265
- };
266
- setScrollTop: (value: number) => void;
267
- setScrollLeft: (value: number) => void;
268
- handleScroll: () => void;
269
- }> & {} & import('vue').ComponentCustomProperties & {} & {
270
- $slots: {
271
- default?: (props: {}) => any;
272
- };
273
- }) | null;
274
- };
275
- rootEl: any;
276
- };
277
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
278
- declare const __VLS_component: import('vue').DefineComponent<XScrollbarProps, {
279
- wrapRef: import('vue').ComputedRef<HTMLDivElement | undefined>;
280
- viewRef: import('vue').ComputedRef<Element | null | undefined>;
281
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<XScrollbarProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
282
- scrollbar: ({
283
- $: import('vue').ComponentInternalInstance;
284
- $data: {};
285
- $props: Partial<{
286
- tabindex: number | string;
287
- height: number | string;
288
- maxHeight: number | string;
289
- tag: keyof HTMLElementTagNameMap | (string & {});
290
- minSize: number;
291
- distance: number;
292
- wrapStyle: string | false | import('vue').CSSProperties | import('vue').StyleValue[] | null;
293
- wrapClass: string | string[];
294
- viewClass: string | string[];
295
- viewStyle: string | false | import('vue').CSSProperties | import('vue').StyleValue[] | null;
296
- }> & Omit<{
297
- readonly tag: keyof HTMLElementTagNameMap | (string & {});
298
- readonly distance: number;
299
- readonly height: number | string;
300
- readonly maxHeight: number | string;
301
- readonly wrapStyle: string | false | import('vue').CSSProperties | import('vue').StyleValue[] | null;
302
- readonly wrapClass: string | string[];
303
- readonly viewClass: string | string[];
304
- readonly viewStyle: string | false | import('vue').CSSProperties | import('vue').StyleValue[] | null;
305
- readonly minSize: number;
306
- readonly id?: string | undefined;
307
- readonly tabindex?: number | string | undefined;
308
- readonly ariaLabel?: string | undefined;
309
- readonly native?: boolean | undefined;
310
- readonly noresize?: boolean | undefined;
311
- readonly always?: boolean | undefined;
312
- readonly role?: string | undefined;
313
- readonly ariaOrientation?: "horizontal" | "vertical" | "undefined" | undefined;
314
- onScroll?: ((args_0: {
315
- scrollTop: number;
316
- scrollLeft: number;
317
- }) => any) | undefined | undefined;
318
- "onEnd-reached"?: ((direction: import('element-plus').ScrollbarDirection) => any) | undefined | undefined;
319
- } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "tag" | "tabindex" | "distance" | "height" | "maxHeight" | "wrapStyle" | "wrapClass" | "viewClass" | "viewStyle" | "minSize">;
320
- $attrs: {
321
- [x: string]: unknown;
322
- };
323
- $refs: {
324
- [x: string]: unknown;
325
- };
326
- $slots: Readonly<{
327
- [name: string]: import('vue').Slot<any> | undefined;
328
- }>;
329
- $root: import('vue').ComponentPublicInstance | null;
330
- $parent: import('vue').ComponentPublicInstance | null;
331
- $host: Element | null;
332
- $emit: ((event: "scroll", args_0: {
333
- scrollTop: number;
334
- scrollLeft: number;
335
- }) => void) & ((event: "end-reached", direction: import('element-plus').ScrollbarDirection) => void);
336
- $el: any;
337
- $options: import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
338
- tag: {
339
- type: import('vue').PropType<(string & {}) | keyof HTMLElementTagNameMap>;
340
- default: string;
341
- };
342
- id: {
343
- type: import('vue').PropType<string>;
344
- };
345
- tabindex: {
346
- type: import('vue').PropType<string | number>;
347
- default: undefined;
348
- };
349
- ariaLabel: {
350
- type: import('vue').PropType<string>;
351
- };
352
- distance: {
353
- type: import('vue').PropType<number>;
354
- default: number;
355
- };
356
- height: {
357
- type: import('vue').PropType<string | number>;
358
- default: string;
359
- };
360
- maxHeight: {
361
- type: import('vue').PropType<string | number>;
362
- default: string;
363
- };
364
- native: {
365
- type: import('vue').PropType<boolean>;
366
- };
367
- wrapStyle: {
368
- type: import('vue').PropType<string | false | import('vue').CSSProperties | import('vue').StyleValue[] | null>;
369
- default: string;
370
- };
371
- wrapClass: {
372
- type: import('vue').PropType<string | string[]>;
373
- default: string;
374
- };
375
- viewClass: {
376
- type: import('vue').PropType<string | string[]>;
377
- default: string;
378
- };
379
- viewStyle: {
380
- type: import('vue').PropType<string | false | import('vue').CSSProperties | import('vue').StyleValue[] | null>;
381
- default: string;
382
- };
383
- noresize: {
384
- type: import('vue').PropType<boolean>;
385
- };
386
- always: {
387
- type: import('vue').PropType<boolean>;
388
- };
389
- minSize: {
390
- type: import('vue').PropType<number>;
391
- default: number;
392
- };
393
- role: {
394
- type: import('vue').PropType<string>;
395
- };
396
- ariaOrientation: {
397
- type: import('vue').PropType<"undefined" | "horizontal" | "vertical">;
398
- };
399
- }>> & {
400
- onScroll?: ((args_0: {
401
- scrollTop: number;
402
- scrollLeft: number;
403
- }) => any) | undefined;
404
- "onEnd-reached"?: ((direction: import('element-plus').ScrollbarDirection) => any) | undefined;
405
- }, {
406
- wrapRef: import('vue').Ref<HTMLDivElement | undefined>;
407
- update: () => void;
408
- scrollTo: {
409
- (xCord: number, yCord?: number): void;
410
- (options: ScrollToOptions): void;
411
- };
412
- setScrollTop: (value: number) => void;
413
- setScrollLeft: (value: number) => void;
414
- handleScroll: () => void;
415
- }, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
416
- scroll: (args_0: {
417
- scrollTop: number;
418
- scrollLeft: number;
419
- }) => void;
420
- "end-reached": (direction: import('element-plus').ScrollbarDirection) => void;
421
- }, string, {
422
- tabindex: number | string;
423
- height: number | string;
424
- maxHeight: number | string;
425
- tag: keyof HTMLElementTagNameMap | (string & {});
426
- minSize: number;
427
- distance: number;
428
- wrapStyle: string | false | import('vue').CSSProperties | import('vue').StyleValue[] | null;
429
- wrapClass: string | string[];
430
- viewClass: string | string[];
431
- viewStyle: string | false | import('vue').CSSProperties | import('vue').StyleValue[] | null;
432
- }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
433
- beforeCreate?: (() => void) | (() => void)[];
434
- created?: (() => void) | (() => void)[];
435
- beforeMount?: (() => void) | (() => void)[];
436
- mounted?: (() => void) | (() => void)[];
437
- beforeUpdate?: (() => void) | (() => void)[];
438
- updated?: (() => void) | (() => void)[];
439
- activated?: (() => void) | (() => void)[];
440
- deactivated?: (() => void) | (() => void)[];
441
- beforeDestroy?: (() => void) | (() => void)[];
442
- beforeUnmount?: (() => void) | (() => void)[];
443
- destroyed?: (() => void) | (() => void)[];
444
- unmounted?: (() => void) | (() => void)[];
445
- renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
446
- renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
447
- errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
448
- };
449
- $forceUpdate: () => void;
450
- $nextTick: typeof import('vue').nextTick;
451
- $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;
452
- } & Readonly<{
453
- tabindex: number | string;
454
- height: number | string;
455
- maxHeight: number | string;
456
- tag: keyof HTMLElementTagNameMap | (string & {});
457
- minSize: number;
458
- distance: number;
459
- wrapStyle: string | false | import('vue').CSSProperties | import('vue').StyleValue[] | null;
460
- wrapClass: string | string[];
461
- viewClass: string | string[];
462
- viewStyle: string | false | import('vue').CSSProperties | import('vue').StyleValue[] | null;
463
- }> & Omit<Readonly<import('vue').ExtractPropTypes<{
464
- tag: {
465
- type: import('vue').PropType<(string & {}) | keyof HTMLElementTagNameMap>;
466
- default: string;
467
- };
468
- id: {
469
- type: import('vue').PropType<string>;
470
- };
471
- tabindex: {
472
- type: import('vue').PropType<string | number>;
473
- default: undefined;
474
- };
475
- ariaLabel: {
476
- type: import('vue').PropType<string>;
477
- };
478
- distance: {
479
- type: import('vue').PropType<number>;
480
- default: number;
481
- };
482
- height: {
483
- type: import('vue').PropType<string | number>;
484
- default: string;
485
- };
486
- maxHeight: {
487
- type: import('vue').PropType<string | number>;
488
- default: string;
489
- };
490
- native: {
491
- type: import('vue').PropType<boolean>;
492
- };
493
- wrapStyle: {
494
- type: import('vue').PropType<string | false | import('vue').CSSProperties | import('vue').StyleValue[] | null>;
495
- default: string;
496
- };
497
- wrapClass: {
498
- type: import('vue').PropType<string | string[]>;
499
- default: string;
500
- };
501
- viewClass: {
502
- type: import('vue').PropType<string | string[]>;
503
- default: string;
504
- };
505
- viewStyle: {
506
- type: import('vue').PropType<string | false | import('vue').CSSProperties | import('vue').StyleValue[] | null>;
507
- default: string;
508
- };
509
- noresize: {
510
- type: import('vue').PropType<boolean>;
511
- };
512
- always: {
513
- type: import('vue').PropType<boolean>;
514
- };
515
- minSize: {
516
- type: import('vue').PropType<number>;
517
- default: number;
518
- };
519
- role: {
520
- type: import('vue').PropType<string>;
521
- };
522
- ariaOrientation: {
523
- type: import('vue').PropType<"undefined" | "horizontal" | "vertical">;
524
- };
525
- }>> & {
526
- onScroll?: ((args_0: {
527
- scrollTop: number;
528
- scrollLeft: number;
529
- }) => any) | undefined;
530
- "onEnd-reached"?: ((direction: import('element-plus').ScrollbarDirection) => any) | undefined;
531
- }, "tag" | "tabindex" | "distance" | "height" | "maxHeight" | "wrapStyle" | "wrapClass" | "viewClass" | "viewStyle" | "minSize" | "wrapRef" | "update" | "scrollTo" | "setScrollTop" | "setScrollLeft" | "handleScroll"> & import('vue').ShallowUnwrapRef<{
532
- wrapRef: import('vue').Ref<HTMLDivElement | undefined>;
533
- update: () => void;
534
- scrollTo: {
535
- (xCord: number, yCord?: number): void;
536
- (options: ScrollToOptions): void;
537
- };
538
- setScrollTop: (value: number) => void;
539
- setScrollLeft: (value: number) => void;
540
- handleScroll: () => void;
541
- }> & {} & import('vue').ComponentCustomProperties & {} & {
542
- $slots: {
543
- default?: (props: {}) => any;
544
- };
545
- }) | null;
546
- }, any>;
547
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
548
- export default _default;
549
- type __VLS_WithTemplateSlots<T, S> = T & {
550
- new (): {
551
- $slots: S;
552
- };
553
- };