lew-ui 2.7.3 → 2.7.5

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 (148) hide show
  1. package/LICENSE +21 -21
  2. package/README.md +1 -3
  3. package/dist/components/action-box/src/LewActionBox.vue.d.ts +2 -2
  4. package/dist/components/action-box/src/props.d.ts +1 -2
  5. package/dist/components/alert/src/LewAlert.vue.d.ts +11 -5
  6. package/dist/components/alert/src/props.d.ts +1 -2
  7. package/dist/components/avatar/src/LewAvatar.vue.d.ts +1 -1
  8. package/dist/components/avatar/src/props.d.ts +1 -2
  9. package/dist/components/back-top/src/LewBackTop.vue.d.ts +9 -3
  10. package/dist/components/back-top/src/props.d.ts +0 -1
  11. package/dist/components/badge/src/LewBadge.vue.d.ts +10 -4
  12. package/dist/components/badge/src/props.d.ts +0 -1
  13. package/dist/components/breadcrumb/src/LewBreadcrumb.vue.d.ts +1 -1
  14. package/dist/components/breadcrumb/src/props.d.ts +0 -1
  15. package/dist/components/button/src/LewButton.vue.d.ts +17 -6
  16. package/dist/components/button/src/props.d.ts +1 -2
  17. package/dist/components/cascader/src/LewCascader.vue.d.ts +420 -13
  18. package/dist/components/cascader/src/props.d.ts +3 -4
  19. package/dist/components/checkbox/src/LewCheckbox.vue.d.ts +11 -5
  20. package/dist/components/checkbox/src/LewCheckboxGroup.vue.d.ts +13 -12
  21. package/dist/components/checkbox/src/props.d.ts +3 -4
  22. package/dist/components/collapse/src/LewCollapse.vue.d.ts +21 -7
  23. package/dist/components/collapse/src/LewCollapseItem.vue.d.ts +28 -14
  24. package/dist/components/collapse/src/props.d.ts +0 -1
  25. package/dist/components/color-picker/src/LewColorPicker.vue.d.ts +13 -5
  26. package/dist/components/color-picker/src/props.d.ts +0 -1
  27. package/dist/components/date-picker/src/LewDate.vue.d.ts +11 -4
  28. package/dist/components/date-picker/src/LewDatePicker.vue.d.ts +254 -7
  29. package/dist/components/date-picker/src/date.d.ts +3 -3
  30. package/dist/components/date-picker/src/props.d.ts +3 -4
  31. package/dist/components/date-range-picker/src/LewDateRange.vue.d.ts +19 -8
  32. package/dist/components/date-range-picker/src/LewDateRangePicker.vue.d.ts +296 -8
  33. package/dist/components/date-range-picker/src/props.d.ts +1 -2
  34. package/dist/components/desc/src/LewDesc.vue.d.ts +48 -3
  35. package/dist/components/desc/src/LewDescItem.vue.d.ts +5 -4
  36. package/dist/components/desc/src/props.d.ts +3 -4
  37. package/dist/components/drawer/src/LewDrawer.vue.d.ts +25 -9
  38. package/dist/components/drawer/src/props.d.ts +0 -1
  39. package/dist/components/dropdown/src/LewDropdown.vue.d.ts +407 -7
  40. package/dist/components/dropdown/src/props.d.ts +1 -2
  41. package/dist/components/empty/src/LewEmpty.vue.d.ts +8 -8
  42. package/dist/components/empty/src/props.d.ts +0 -1
  43. package/dist/components/expand/src/LewExpand.vue.d.ts +13 -3
  44. package/dist/components/expand/src/props.d.ts +0 -1
  45. package/dist/components/flex/src/LewFlex.vue.d.ts +10 -4
  46. package/dist/components/flex/src/props.d.ts +0 -1
  47. package/dist/components/form/src/LewForm.vue.d.ts +60 -11
  48. package/dist/components/form/src/LewFormItem.vue.d.ts +20 -9
  49. package/dist/components/form/src/LewGetLabelWidth.vue.d.ts +5 -3
  50. package/dist/components/form/src/RequiredIcon.vue.d.ts +1 -1
  51. package/dist/components/form/src/props.d.ts +2 -3
  52. package/dist/components/image/src/LewImage.vue.d.ts +10 -4
  53. package/dist/components/image/src/props.d.ts +0 -1
  54. package/dist/components/index.d.ts +35 -35
  55. package/dist/components/input/src/LewInput.vue.d.ts +33 -16
  56. package/dist/components/input/src/props.d.ts +1 -2
  57. package/dist/components/input-number/src/LewInputNumber.vue.d.ts +18 -12
  58. package/dist/components/input-number/src/props.d.ts +1 -2
  59. package/dist/components/input-table/src/FormModal.vue.d.ts +220 -5
  60. package/dist/components/input-table/src/LewInputTable.vue.d.ts +563 -12
  61. package/dist/components/input-table/src/props.d.ts +3 -4
  62. package/dist/components/input-tag/src/LewInputTag.vue.d.ts +359 -5
  63. package/dist/components/input-tag/src/props.d.ts +0 -1
  64. package/dist/components/input-tree/src/LewInputTree.vue.d.ts +38 -0
  65. package/dist/components/mark/src/LewMark.vue.d.ts +19 -13
  66. package/dist/components/mark/src/props.d.ts +0 -1
  67. package/dist/components/menu/src/LewMenu.vue.d.ts +9 -4
  68. package/dist/components/menu/src/props.d.ts +3 -4
  69. package/dist/components/menu-tree/src/LewMenuTree.vue.d.ts +26 -9
  70. package/dist/components/menu-tree/src/LewMenuTreeItem.vue.d.ts +28 -22
  71. package/dist/components/menu-tree/src/props.d.ts +3 -4
  72. package/dist/components/modal/src/LewModal.vue.d.ts +27 -11
  73. package/dist/components/modal/src/props.d.ts +0 -1
  74. package/dist/components/pagination/src/LewPagination.vue.d.ts +30 -10
  75. package/dist/components/pagination/src/props.d.ts +1 -2
  76. package/dist/components/popok/src/LewPopok.vue.d.ts +853 -6
  77. package/dist/components/popok/src/props.d.ts +0 -1
  78. package/dist/components/popover/src/LewPopover.vue.d.ts +29 -14
  79. package/dist/components/popover/src/props.d.ts +0 -1
  80. package/dist/components/radio/src/LewRadio.vue.d.ts +3 -3
  81. package/dist/components/radio/src/LewRadioGroup.vue.d.ts +11 -6
  82. package/dist/components/radio/src/props.d.ts +1 -2
  83. package/dist/components/rate/src/LewRate.vue.d.ts +12 -4
  84. package/dist/components/rate/src/props.d.ts +1 -2
  85. package/dist/components/select/src/LewSelect.vue.d.ts +1004 -19
  86. package/dist/components/select/src/props.d.ts +5 -6
  87. package/dist/components/select/src/util.d.ts +3 -4
  88. package/dist/components/select-multiple/src/LewSelectMultiple.vue.d.ts +1395 -20
  89. package/dist/components/select-multiple/src/props.d.ts +7 -8
  90. package/dist/components/slider/src/LewSlider.vue.d.ts +14 -5
  91. package/dist/components/slider/src/props.d.ts +3 -4
  92. package/dist/components/slider-range/src/LewSliderRange.vue.d.ts +14 -4
  93. package/dist/components/slider-range/src/props.d.ts +3 -4
  94. package/dist/components/steps/src/LewSteps.vue.d.ts +14 -6
  95. package/dist/components/steps/src/props.d.ts +2 -3
  96. package/dist/components/switch/src/LewSwitch.vue.d.ts +9 -3
  97. package/dist/components/switch/src/props.d.ts +1 -2
  98. package/dist/components/table/src/LewTable.vue.d.ts +53 -25
  99. package/dist/components/table/src/props.d.ts +1 -2
  100. package/dist/components/tabs/src/LewTabs.vue.d.ts +15 -12
  101. package/dist/components/tabs/src/props.d.ts +2 -3
  102. package/dist/components/tag/src/LewTag.vue.d.ts +11 -5
  103. package/dist/components/tag/src/props.d.ts +1 -2
  104. package/dist/components/text-trim/src/LewTextTrim.vue.d.ts +18 -5
  105. package/dist/components/text-trim/src/props.d.ts +0 -1
  106. package/dist/components/text-trim/src/text-trim.d.ts +3 -3
  107. package/dist/components/textarea/src/LewTextarea.vue.d.ts +19 -9
  108. package/dist/components/textarea/src/props.d.ts +1 -2
  109. package/dist/components/title/src/LewTitle.vue.d.ts +9 -3
  110. package/dist/components/title/src/props.d.ts +0 -1
  111. package/dist/components/tree/src/LewTree.vue.d.ts +32 -13
  112. package/dist/components/tree/src/LewTreeItem.vue.d.ts +21 -15
  113. package/dist/components/tree/src/props.d.ts +2 -3
  114. package/dist/components/tree/src/transformTree.d.ts +6 -17
  115. package/dist/components/tree-select/src/LewTreeSelect.vue.d.ts +1027 -21
  116. package/dist/components/tree-select/src/props.d.ts +5 -6
  117. package/dist/components/upload/src/LewUpload.vue.d.ts +169 -8
  118. package/dist/components/upload/src/LewUploadByCard.vue.d.ts +9 -4
  119. package/dist/components/upload/src/LewUploadByList.vue.d.ts +9 -4
  120. package/dist/components/upload/src/props.d.ts +4 -5
  121. package/dist/constants/index.d.ts +0 -1
  122. package/dist/directives/backtop/src/index.d.ts +0 -1
  123. package/dist/directives/context-menu/index.d.ts +1 -1
  124. package/dist/directives/context-menu/src/LewContextMenu.vue.d.ts +2 -3
  125. package/dist/directives/context-menu/src/index.d.ts +28 -29
  126. package/dist/directives/hover-menu/src/index.d.ts +15 -2
  127. package/dist/directives/index.d.ts +2 -2
  128. package/dist/directives/loading/src/index.d.ts +0 -1
  129. package/dist/directives/tooltip/src/index.d.ts +0 -1
  130. package/dist/index.css +1 -0
  131. package/dist/index.d.ts +3 -3
  132. package/dist/{index.mjs → index.js} +23976 -23831
  133. package/dist/index.umd.cjs +40 -0
  134. package/dist/locals/index.d.ts +9 -10
  135. package/dist/methods/dialog/src/LewDialog.vue.d.ts +464 -6
  136. package/dist/methods/dialog/src/index.d.ts +4 -4
  137. package/dist/methods/dialog/src/props.d.ts +0 -1
  138. package/dist/methods/index.d.ts +1 -1
  139. package/dist/methods/message/src/index.d.ts +0 -1
  140. package/dist/methods/notification/src/components/NotificationContainer.vue.d.ts +5 -3
  141. package/dist/methods/notification/src/components/NotificationItem.vue.d.ts +6 -21
  142. package/dist/methods/notification/src/index.d.ts +4 -4
  143. package/dist/utils/index.d.ts +27 -115
  144. package/package.json +43 -70
  145. package/README.zh-CN.md +0 -48
  146. package/dist/components/button/__test__/button.test.d.ts +0 -1
  147. package/dist/index.umd.js +0 -46
  148. package/dist/style.css +0 -1
package/LICENSE CHANGED
@@ -1,21 +1,21 @@
1
- MIT License
2
-
3
- Copyright (c) 2023 lew
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
1
+ MIT License
2
+
3
+ Copyright (c) 2023 lew
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -2,8 +2,6 @@
2
2
 
3
3
  A Component Library for Vue3. Doc address: https://lew.kamtao.com
4
4
 
5
- English | [中文](./README.zh-CN.md)
6
-
7
5
  ## Install
8
6
 
9
7
  ```bash
@@ -24,7 +22,7 @@ import { LewButton } from 'lew-ui'
24
22
  </script>
25
23
 
26
24
  <template>
27
- <lew-button text="Submit" />
25
+ <LewButton text="Submit" />
28
26
  </template>
29
27
  ```
30
28
 
@@ -61,12 +61,12 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
61
61
  default: boolean;
62
62
  };
63
63
  }>> & Readonly<{}>, {
64
- x: import('../../..').FlexXAlignment;
65
64
  options: import('../../..').ActionBoxOption[];
65
+ x: import('../../..').FlexXAlignment;
66
66
  dropdownThreshold: string | number;
67
67
  dropdownLabel: any;
68
68
  dropdownIcon: any;
69
69
  divider: boolean;
70
70
  iconOnly: boolean;
71
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
71
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
72
72
  export default _default;
@@ -1,6 +1,5 @@
1
- import { ExtractPropTypes, PropType } from 'vue';
2
1
  import { FlexXAlignment } from '../../..';
3
-
2
+ import { ExtractPropTypes, PropType } from 'vue';
4
3
  export interface ActionBoxOption {
5
4
  label: string | (() => any);
6
5
  icon?: string | (() => any);
@@ -1,8 +1,14 @@
1
1
  declare function __VLS_template(): {
2
- title?(_: {}): any;
3
- content?(_: {}): any;
4
- footer?(_: {}): any;
2
+ attrs: Partial<{}>;
3
+ slots: {
4
+ title?(_: {}): any;
5
+ content?(_: {}): any;
6
+ footer?(_: {}): any;
7
+ };
8
+ refs: {};
9
+ rootEl: HTMLDivElement;
5
10
  };
11
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
6
12
  declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractPropTypes<{
7
13
  type: {
8
14
  type: StringConstructor;
@@ -73,8 +79,8 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
73
79
  title: string;
74
80
  content: string;
75
81
  closeable: boolean;
76
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
77
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
82
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
83
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
78
84
  export default _default;
79
85
  type __VLS_WithTemplateSlots<T, S> = T & {
80
86
  new (): {
@@ -1,6 +1,5 @@
1
- import { ExtractPropTypes } from 'vue';
2
1
  import { LewStatusColor } from '../../..';
3
-
2
+ import { ExtractPropTypes } from 'vue';
4
3
  export declare const alertProps: {
5
4
  type: {
6
5
  type: StringConstructor;
@@ -114,5 +114,5 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
114
114
  shape: "circle" | "square" | "sharp";
115
115
  status: ("online" | "processing" | "away" | "offline" | "busy") | undefined;
116
116
  statusPlacement: "top-left" | "top-right" | "bottom-left" | "bottom-right";
117
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
117
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
118
118
  export default _default;
@@ -1,6 +1,5 @@
1
- import { ExtractPropTypes, PropType } from 'vue';
2
1
  import { ObjectFit } from '../../image/src/props';
3
-
2
+ import { ExtractPropTypes, PropType } from 'vue';
4
3
  type AvatarPlacement = 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right';
5
4
  type AvatarStatus = 'online' | 'processing' | 'away' | 'offline' | 'busy';
6
5
  type AvatarShape = 'circle' | 'square' | 'sharp';
@@ -1,6 +1,12 @@
1
1
  declare function __VLS_template(): {
2
- default?(_: {}): any;
2
+ attrs: Partial<{}>;
3
+ slots: {
4
+ default?(_: {}): any;
5
+ };
6
+ refs: {};
7
+ rootEl: any;
3
8
  };
9
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
4
10
  declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractPropTypes<{
5
11
  right: {
6
12
  type: NumberConstructor;
@@ -56,12 +62,12 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
56
62
  }>> & Readonly<{
57
63
  onClick?: ((...args: any[]) => any) | undefined;
58
64
  }>, {
59
- bottom: number;
60
65
  right: number;
66
+ bottom: number;
61
67
  target: string;
62
68
  valveHeight: number;
63
69
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
64
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
70
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
65
71
  export default _default;
66
72
  type __VLS_WithTemplateSlots<T, S> = T & {
67
73
  new (): {
@@ -1,5 +1,4 @@
1
1
  import { ExtractPropTypes } from 'vue';
2
-
3
2
  export declare const backTopProps: {
4
3
  right: {
5
4
  type: NumberConstructor;
@@ -1,6 +1,12 @@
1
1
  declare function __VLS_template(): {
2
- default?(_: {}): any;
2
+ attrs: Partial<{}>;
3
+ slots: {
4
+ default?(_: {}): any;
5
+ };
6
+ refs: {};
7
+ rootEl: HTMLDivElement;
3
8
  };
9
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
4
10
  declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractPropTypes<{
5
11
  text: {
6
12
  type: StringConstructor;
@@ -73,11 +79,11 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
73
79
  color: string;
74
80
  value: string | number;
75
81
  max: string | number;
82
+ offset: unknown[];
76
83
  text: string;
77
84
  processing: boolean;
78
- offset: unknown[];
79
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
80
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
85
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
86
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
81
87
  export default _default;
82
88
  type __VLS_WithTemplateSlots<T, S> = T & {
83
89
  new (): {
@@ -1,5 +1,4 @@
1
1
  import { ExtractPropTypes } from 'vue';
2
-
3
2
  export type BadgeColor = 'red' | 'orange' | 'yellow' | 'green' | 'mint' | 'teal' | 'black' | 'cyan' | 'blue' | 'indigo' | 'purple' | 'pink' | 'gray' | 'brown' | 'success' | 'normal' | 'warning' | 'error' | 'info' | 'primary';
4
3
  export declare const badgeProps: {
5
4
  text: {
@@ -33,5 +33,5 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
33
33
  }>, {
34
34
  options: import('./props').BreadcrumbOption[];
35
35
  separator: string;
36
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
36
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
37
37
  export default _default;
@@ -1,5 +1,4 @@
1
1
  import { ExtractPropTypes, PropType } from 'vue';
2
-
3
2
  export interface BreadcrumbOption {
4
3
  label: string;
5
4
  value?: string | number;
@@ -1,6 +1,15 @@
1
+ declare function focus(): void;
1
2
  declare function __VLS_template(): {
2
- default?(_: {}): any;
3
+ attrs: Partial<{}>;
4
+ slots: {
5
+ default?(_: {}): any;
6
+ };
7
+ refs: {
8
+ buttonRef: HTMLButtonElement;
9
+ };
10
+ rootEl: HTMLButtonElement;
3
11
  };
12
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
4
13
  declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractPropTypes<{
5
14
  text: {
6
15
  type: StringConstructor;
@@ -62,7 +71,7 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
62
71
  description: string;
63
72
  };
64
73
  }>, {
65
- focus: () => void;
74
+ focus: typeof focus;
66
75
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
67
76
  click: (...args: any[]) => void;
68
77
  }, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
@@ -132,15 +141,17 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
132
141
  color: import('../../..').LewColor;
133
142
  size: import('./props').ButtonSize;
134
143
  loading: boolean;
135
- width: string | number;
136
144
  disabled: boolean;
145
+ width: string | number;
137
146
  text: string;
138
- singleIcon: boolean;
139
147
  round: boolean;
148
+ singleIcon: boolean;
140
149
  dashed: boolean;
141
150
  request: Function;
142
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
143
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
151
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
152
+ buttonRef: HTMLButtonElement;
153
+ }, HTMLButtonElement>;
154
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
144
155
  export default _default;
145
156
  type __VLS_WithTemplateSlots<T, S> = T & {
146
157
  new (): {
@@ -1,6 +1,5 @@
1
- import { ExtractPropTypes } from 'vue';
2
1
  import { LewColor, LewSize } from '../../..';
3
-
2
+ import { ExtractPropTypes } from 'vue';
4
3
  export type ButtonSize = 'mini' | LewSize;
5
4
  export type ButtonType = 'fill' | 'light' | 'ghost' | 'text';
6
5
  export type IconPosition = 'left' | 'right';