@aplus-frontend/ui 0.4.19 → 0.4.20

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 (235) hide show
  1. package/es/src/ap-action/item/index.vue.d.ts +2 -1
  2. package/es/src/ap-action/item-dropdown/index.vue.d.ts +2 -1
  3. package/es/src/ap-action/item-modal/index.vue.d.ts +2 -1
  4. package/es/src/ap-action/item-popconfirm/index.vue.d.ts +2 -1
  5. package/es/src/ap-button/ap-action-button.vue.d.ts +2 -1
  6. package/es/src/ap-button/ap-button.vue.d.ts +2 -1
  7. package/es/src/ap-descriptions/ap-descriptions.vue.d.ts +3 -2
  8. package/es/src/ap-descriptions/help-message/index.vue.d.ts +3 -5
  9. package/es/src/ap-download/ap-download.vue.d.ts +5 -3
  10. package/es/src/ap-field/date/index.vue.d.ts +2 -1
  11. package/es/src/ap-field/date-range/index.vue.d.ts +2 -1
  12. package/es/src/ap-field/number/index.vue.d.ts +324 -2
  13. package/es/src/ap-field/radio/index.vue.d.ts +98 -2
  14. package/es/src/ap-field/rate/index.vue.d.ts +84 -2
  15. package/es/src/ap-field/segmented/index.vue.d.ts +2 -1
  16. package/es/src/ap-field/select/index.vue.d.ts +409 -2
  17. package/es/src/ap-field/select/index.vue.mjs +7 -6
  18. package/es/src/ap-field/slider/index.vue.d.ts +259 -2
  19. package/es/src/ap-field/switch/index.vue.d.ts +2 -1
  20. package/es/src/ap-field/text/index.vue.d.ts +2 -1
  21. package/es/src/ap-field/text/password.vue.d.ts +2 -1
  22. package/es/src/ap-field/text-area/index.vue.d.ts +267 -2
  23. package/es/src/ap-form/ap-form.vue.d.ts +638 -2
  24. package/es/src/ap-form/dependency/index.vue.d.ts +2 -1
  25. package/es/src/ap-form/drawer-form/index.vue.d.ts +1458 -6
  26. package/es/src/ap-form/item/index.vue.d.ts +779 -2
  27. package/es/src/ap-form/item-group/index.vue.d.ts +2 -1
  28. package/es/src/ap-form/items/checkbox/index.vue.d.ts +2 -1
  29. package/es/src/ap-form/items/date/index.vue.d.ts +2 -1
  30. package/es/src/ap-form/items/date-range/index.vue.d.ts +2 -1
  31. package/es/src/ap-form/items/number/index.vue.d.ts +785 -3
  32. package/es/src/ap-form/items/radio/index.vue.d.ts +223 -4
  33. package/es/src/ap-form/items/select/index.vue.d.ts +2 -1
  34. package/es/src/ap-form/items/switch/index.vue.d.ts +2 -1
  35. package/es/src/ap-form/items/text/group.vue.d.ts +2 -1
  36. package/es/src/ap-form/items/text/index.vue.d.ts +141 -3
  37. package/es/src/ap-form/items/text/password.vue.d.ts +150 -2
  38. package/es/src/ap-form/items/text-area/index.vue.d.ts +568 -4
  39. package/es/src/ap-form/list/index.vue.d.ts +2 -1
  40. package/es/src/ap-form/modal-form/index.vue.d.ts +1458 -7
  41. package/es/src/ap-form/provider/index.vue.d.ts +2 -1
  42. package/es/src/ap-form/render/control.vue.d.ts +2 -1
  43. package/es/src/ap-form/render/item.vue.d.ts +2 -1
  44. package/es/src/ap-form/search-form/index.vue.d.ts +1458 -5
  45. package/es/src/ap-form/set/index.vue.d.ts +2 -1
  46. package/es/src/ap-info-layout/ApInfoLayout.vue.d.ts +3 -2
  47. package/es/src/ap-info-layout/ap-info-layout-admin/ApInfoLayoutAdmin.vue.d.ts +6 -2
  48. package/es/src/ap-info-layout/ap-info-layout-aplus/ap-info-layout.vue.d.ts +3 -2
  49. package/es/src/ap-list/index.vue.d.ts +1 -1
  50. package/es/src/ap-table/ap-table.vue.d.ts +1 -1
  51. package/es/src/ap-table/components/index/index.vue.d.ts +1 -1
  52. package/es/src/ap-table/components/paragraph-ellipsis/index.vue.d.ts +1 -1
  53. package/es/src/ap-table/components/setting/modal/index.vue.d.ts +2 -1
  54. package/es/src/ap-table/components/setting/select-group/index.vue.d.ts +1 -1
  55. package/es/src/ap-table/components/setting/sortable/index.vue.d.ts +1 -1
  56. package/es/src/ap-table/components/setting/sortable/item.vue.d.ts +1 -1
  57. package/es/src/ap-table/components/setting/sorter/index.vue.d.ts +1 -1
  58. package/es/src/ap-table/components/setting/tree-select/index.vue.d.ts +1 -1
  59. package/es/src/ap-table/constants.d.ts +2264 -14
  60. package/es/src/ap-table/utils.d.ts +1180 -8
  61. package/es/src/ap-tag/ap-tag-group.vue.d.ts +5 -2
  62. package/es/src/ap-tag/ap-tag.vue.d.ts +1 -1
  63. package/es/src/ap-upload/apUpload.vue.d.ts +5 -2
  64. package/es/src/ap-upload/components/MultipleFile.vue.d.ts +453 -2
  65. package/es/src/ap-upload/components/Picture.vue.d.ts +5 -2
  66. package/es/src/ap-upload/components/SingleFile.vue.d.ts +3 -1
  67. package/es/src/business/ap-appendix/ap-appendix.vue.d.ts +5 -3
  68. package/es/src/business/ap-appendix/icons/file-icon.vue.d.ts +1 -1
  69. package/es/src/business/ap-appendix/index.d.ts +1 -1
  70. package/es/src/business/ap-batch-action/ApBatchAction.vue.d.ts +5 -2
  71. package/es/src/business/ap-batch-action/index.d.ts +3 -1
  72. package/es/src/business/ap-batch-action-group/ApBatchActionGroup.vue.d.ts +2 -1
  73. package/es/src/business/ap-batch-action-group/MenuItemGroup.vue.d.ts +3 -4
  74. package/es/src/business/ap-batch-action-group/index.d.ts +887 -5
  75. package/es/src/business/ap-card/ApCard.vue.d.ts +3 -2
  76. package/es/src/business/ap-card/index.d.ts +1 -1
  77. package/es/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +1 -1
  78. package/es/src/business/ap-group-search/ap-group-search.vue.d.ts +5 -2
  79. package/es/src/business/ap-group-search/ap-group-search.vue2.mjs +9 -8
  80. package/es/src/business/ap-group-search/extension-select/index.vue.d.ts +10 -346
  81. package/es/src/business/ap-group-search/extension-select/index.vue2.mjs +8 -7
  82. package/es/src/business/ap-group-search/images/icon-down.vue.d.ts +1 -1
  83. package/es/src/business/ap-group-search/images/icon-line-select.vue.d.ts +1 -1
  84. package/es/src/business/ap-group-search/index.d.ts +418 -4
  85. package/es/src/business/ap-group-search/popover-select/index.vue.d.ts +412 -340
  86. package/es/src/business/ap-group-search/popover-select/index.vue2.mjs +15 -14
  87. package/es/src/business/ap-image/ApImage.vue.d.ts +2 -1
  88. package/es/src/business/ap-input-radio/ApInputRadio.vue.d.ts +1 -1
  89. package/es/src/business/ap-input-radio/index.d.ts +1 -1
  90. package/es/src/business/ap-ladder/ApLadder.vue.d.ts +6 -2
  91. package/es/src/business/ap-ladder/HelpMessageIcon.vue.d.ts +1 -1
  92. package/es/src/business/ap-ladder/index.d.ts +4 -1
  93. package/es/src/business/ap-select-layout/select-layout.vue.d.ts +1 -1
  94. package/es/src/business/ap-table-modal/index.d.ts +27 -2
  95. package/es/src/business/ap-table-modal/modal-title.vue.d.ts +3 -2
  96. package/es/src/business/ap-table-modal/table-layout/index.vue.d.ts +8 -8
  97. package/es/src/business/ap-table-modal/table-modal.vue.d.ts +30 -4
  98. package/es/src/business/ap-title/ApTitle.vue.d.ts +3 -2
  99. package/es/src/business/ap-title/index.d.ts +1 -1
  100. package/es/src/business/ap-upload-file/ap-upload-single/ap-upload-single.vue.d.ts +5 -3
  101. package/es/src/business/ap-upload-file/icon/delete-icon.vue.d.ts +1 -1
  102. package/es/src/business/ap-upload-file/icon/file-icon.vue.d.ts +1 -1
  103. package/es/src/business/batch-input-group/index.vue.d.ts +146 -3
  104. package/es/src/business/batch-input-group/popover-input/index.vue.d.ts +267 -2
  105. package/es/src/business/hooks/useTableRefresh.mjs +34 -20
  106. package/es/src/check-card/group.vue.d.ts +2 -1
  107. package/es/src/check-card/index.vue.d.ts +3 -2
  108. package/es/src/editable-table/form-item.vue.d.ts +1 -1
  109. package/es/src/editable-table/index.vue.d.ts +1 -1
  110. package/es/src/full-screen/index.vue.d.ts +6 -2
  111. package/es/src/portal/index.vue.d.ts +2 -1
  112. package/es/src/resize-observer/index.vue.d.ts +2 -1
  113. package/es/src/scroll-bar/index.vue.d.ts +42 -3
  114. package/es/src/scroll-bar/internal.vue.d.ts +5 -1
  115. package/es/src/scroll-bar/internal.vue.mjs +11 -10
  116. package/es/src/scroll-view/index.vue.d.ts +92 -4
  117. package/es/src/work-order-modal/work-order-modal.vue.d.ts +828 -2
  118. package/lib/src/ap-action/item/index.vue.d.ts +2 -1
  119. package/lib/src/ap-action/item-dropdown/index.vue.d.ts +2 -1
  120. package/lib/src/ap-action/item-modal/index.vue.d.ts +2 -1
  121. package/lib/src/ap-action/item-popconfirm/index.vue.d.ts +2 -1
  122. package/lib/src/ap-button/ap-action-button.vue.d.ts +2 -1
  123. package/lib/src/ap-button/ap-button.vue.d.ts +2 -1
  124. package/lib/src/ap-descriptions/ap-descriptions.vue.d.ts +3 -2
  125. package/lib/src/ap-descriptions/help-message/index.vue.d.ts +3 -5
  126. package/lib/src/ap-download/ap-download.vue.d.ts +5 -3
  127. package/lib/src/ap-field/date/index.vue.d.ts +2 -1
  128. package/lib/src/ap-field/date-range/index.vue.d.ts +2 -1
  129. package/lib/src/ap-field/number/index.vue.d.ts +324 -2
  130. package/lib/src/ap-field/radio/index.vue.d.ts +98 -2
  131. package/lib/src/ap-field/rate/index.vue.d.ts +84 -2
  132. package/lib/src/ap-field/segmented/index.vue.d.ts +2 -1
  133. package/lib/src/ap-field/select/index.vue.d.ts +409 -2
  134. package/lib/src/ap-field/select/index.vue.js +1 -1
  135. package/lib/src/ap-field/slider/index.vue.d.ts +259 -2
  136. package/lib/src/ap-field/switch/index.vue.d.ts +2 -1
  137. package/lib/src/ap-field/text/index.vue.d.ts +2 -1
  138. package/lib/src/ap-field/text/password.vue.d.ts +2 -1
  139. package/lib/src/ap-field/text-area/index.vue.d.ts +267 -2
  140. package/lib/src/ap-form/ap-form.vue.d.ts +638 -2
  141. package/lib/src/ap-form/dependency/index.vue.d.ts +2 -1
  142. package/lib/src/ap-form/drawer-form/index.vue.d.ts +1458 -6
  143. package/lib/src/ap-form/item/index.vue.d.ts +779 -2
  144. package/lib/src/ap-form/item-group/index.vue.d.ts +2 -1
  145. package/lib/src/ap-form/items/checkbox/index.vue.d.ts +2 -1
  146. package/lib/src/ap-form/items/date/index.vue.d.ts +2 -1
  147. package/lib/src/ap-form/items/date-range/index.vue.d.ts +2 -1
  148. package/lib/src/ap-form/items/number/index.vue.d.ts +785 -3
  149. package/lib/src/ap-form/items/radio/index.vue.d.ts +223 -4
  150. package/lib/src/ap-form/items/select/index.vue.d.ts +2 -1
  151. package/lib/src/ap-form/items/switch/index.vue.d.ts +2 -1
  152. package/lib/src/ap-form/items/text/group.vue.d.ts +2 -1
  153. package/lib/src/ap-form/items/text/index.vue.d.ts +141 -3
  154. package/lib/src/ap-form/items/text/password.vue.d.ts +150 -2
  155. package/lib/src/ap-form/items/text-area/index.vue.d.ts +568 -4
  156. package/lib/src/ap-form/list/index.vue.d.ts +2 -1
  157. package/lib/src/ap-form/modal-form/index.vue.d.ts +1458 -7
  158. package/lib/src/ap-form/provider/index.vue.d.ts +2 -1
  159. package/lib/src/ap-form/render/control.vue.d.ts +2 -1
  160. package/lib/src/ap-form/render/item.vue.d.ts +2 -1
  161. package/lib/src/ap-form/search-form/index.vue.d.ts +1458 -5
  162. package/lib/src/ap-form/set/index.vue.d.ts +2 -1
  163. package/lib/src/ap-info-layout/ApInfoLayout.vue.d.ts +3 -2
  164. package/lib/src/ap-info-layout/ap-info-layout-admin/ApInfoLayoutAdmin.vue.d.ts +6 -2
  165. package/lib/src/ap-info-layout/ap-info-layout-aplus/ap-info-layout.vue.d.ts +3 -2
  166. package/lib/src/ap-list/index.vue.d.ts +1 -1
  167. package/lib/src/ap-table/ap-table.vue.d.ts +1 -1
  168. package/lib/src/ap-table/components/index/index.vue.d.ts +1 -1
  169. package/lib/src/ap-table/components/paragraph-ellipsis/index.vue.d.ts +1 -1
  170. package/lib/src/ap-table/components/setting/modal/index.vue.d.ts +2 -1
  171. package/lib/src/ap-table/components/setting/select-group/index.vue.d.ts +1 -1
  172. package/lib/src/ap-table/components/setting/sortable/index.vue.d.ts +1 -1
  173. package/lib/src/ap-table/components/setting/sortable/item.vue.d.ts +1 -1
  174. package/lib/src/ap-table/components/setting/sorter/index.vue.d.ts +1 -1
  175. package/lib/src/ap-table/components/setting/tree-select/index.vue.d.ts +1 -1
  176. package/lib/src/ap-table/constants.d.ts +2264 -14
  177. package/lib/src/ap-table/utils.d.ts +1180 -8
  178. package/lib/src/ap-tag/ap-tag-group.vue.d.ts +5 -2
  179. package/lib/src/ap-tag/ap-tag.vue.d.ts +1 -1
  180. package/lib/src/ap-upload/apUpload.vue.d.ts +5 -2
  181. package/lib/src/ap-upload/components/MultipleFile.vue.d.ts +453 -2
  182. package/lib/src/ap-upload/components/Picture.vue.d.ts +5 -2
  183. package/lib/src/ap-upload/components/SingleFile.vue.d.ts +3 -1
  184. package/lib/src/business/ap-appendix/ap-appendix.vue.d.ts +5 -3
  185. package/lib/src/business/ap-appendix/icons/file-icon.vue.d.ts +1 -1
  186. package/lib/src/business/ap-appendix/index.d.ts +1 -1
  187. package/lib/src/business/ap-batch-action/ApBatchAction.vue.d.ts +5 -2
  188. package/lib/src/business/ap-batch-action/index.d.ts +3 -1
  189. package/lib/src/business/ap-batch-action-group/ApBatchActionGroup.vue.d.ts +2 -1
  190. package/lib/src/business/ap-batch-action-group/MenuItemGroup.vue.d.ts +3 -4
  191. package/lib/src/business/ap-batch-action-group/index.d.ts +887 -5
  192. package/lib/src/business/ap-card/ApCard.vue.d.ts +3 -2
  193. package/lib/src/business/ap-card/index.d.ts +1 -1
  194. package/lib/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +1 -1
  195. package/lib/src/business/ap-group-search/ap-group-search.vue.d.ts +5 -2
  196. package/lib/src/business/ap-group-search/ap-group-search.vue2.js +1 -1
  197. package/lib/src/business/ap-group-search/extension-select/index.vue.d.ts +10 -346
  198. package/lib/src/business/ap-group-search/extension-select/index.vue2.js +1 -1
  199. package/lib/src/business/ap-group-search/images/icon-down.vue.d.ts +1 -1
  200. package/lib/src/business/ap-group-search/images/icon-line-select.vue.d.ts +1 -1
  201. package/lib/src/business/ap-group-search/index.d.ts +418 -4
  202. package/lib/src/business/ap-group-search/popover-select/index.vue.d.ts +412 -340
  203. package/lib/src/business/ap-group-search/popover-select/index.vue2.js +2 -2
  204. package/lib/src/business/ap-image/ApImage.vue.d.ts +2 -1
  205. package/lib/src/business/ap-input-radio/ApInputRadio.vue.d.ts +1 -1
  206. package/lib/src/business/ap-input-radio/index.d.ts +1 -1
  207. package/lib/src/business/ap-ladder/ApLadder.vue.d.ts +6 -2
  208. package/lib/src/business/ap-ladder/HelpMessageIcon.vue.d.ts +1 -1
  209. package/lib/src/business/ap-ladder/index.d.ts +4 -1
  210. package/lib/src/business/ap-select-layout/select-layout.vue.d.ts +1 -1
  211. package/lib/src/business/ap-table-modal/index.d.ts +27 -2
  212. package/lib/src/business/ap-table-modal/modal-title.vue.d.ts +3 -2
  213. package/lib/src/business/ap-table-modal/table-layout/index.vue.d.ts +8 -8
  214. package/lib/src/business/ap-table-modal/table-modal.vue.d.ts +30 -4
  215. package/lib/src/business/ap-title/ApTitle.vue.d.ts +3 -2
  216. package/lib/src/business/ap-title/index.d.ts +1 -1
  217. package/lib/src/business/ap-upload-file/ap-upload-single/ap-upload-single.vue.d.ts +5 -3
  218. package/lib/src/business/ap-upload-file/icon/delete-icon.vue.d.ts +1 -1
  219. package/lib/src/business/ap-upload-file/icon/file-icon.vue.d.ts +1 -1
  220. package/lib/src/business/batch-input-group/index.vue.d.ts +146 -3
  221. package/lib/src/business/batch-input-group/popover-input/index.vue.d.ts +267 -2
  222. package/lib/src/business/hooks/useTableRefresh.js +1 -1
  223. package/lib/src/check-card/group.vue.d.ts +2 -1
  224. package/lib/src/check-card/index.vue.d.ts +3 -2
  225. package/lib/src/editable-table/form-item.vue.d.ts +1 -1
  226. package/lib/src/editable-table/index.vue.d.ts +1 -1
  227. package/lib/src/full-screen/index.vue.d.ts +6 -2
  228. package/lib/src/portal/index.vue.d.ts +2 -1
  229. package/lib/src/resize-observer/index.vue.d.ts +2 -1
  230. package/lib/src/scroll-bar/index.vue.d.ts +42 -3
  231. package/lib/src/scroll-bar/internal.vue.d.ts +5 -1
  232. package/lib/src/scroll-bar/internal.vue.js +1 -1
  233. package/lib/src/scroll-view/index.vue.d.ts +92 -4
  234. package/lib/src/work-order-modal/work-order-modal.vue.d.ts +828 -2
  235. package/package.json +1 -1
@@ -1,8 +1,273 @@
1
1
  import { BatchInputGroupPopoverInputProps } from '../interface';
2
- import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, CreateComponentPublicInstanceWithMixins, ExtractPropTypes, PropType, GlobalComponents, GlobalDirectives } from 'vue';
3
+ import { AutoSizeType } from '@aplus-frontend/antdv/es/input/inputProps';
4
+ import { CompositionEventHandler, FocusEventHandler, ChangeEventHandler, KeyboardEventHandler, MouseEventHandler } from '@aplus-frontend/antdv/es/_util/EventInterface';
5
+ import { SizeType } from '@aplus-frontend/antdv/es/button';
6
+ import { ShowCountProps } from '@aplus-frontend/antdv/es/vc-input/inputProps';
7
+ import { VueTypeValidableDef } from '../../../../node_modules/vue-types';
8
+ import { VueNode } from '@aplus-frontend/antdv/es/_util/type';
3
9
  declare const _default: DefineComponent<BatchInputGroupPopoverInputProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
4
10
  "update:value": (...args: any[]) => void;
5
11
  }, string, PublicProps, Readonly<BatchInputGroupPopoverInputProps> & Readonly<{
6
12
  "onUpdate:value"?: ((...args: any[]) => any) | undefined;
7
- }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
13
+ }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
14
+ textAreaRef: CreateComponentPublicInstanceWithMixins<Readonly< ExtractPropTypes<{
15
+ rows: NumberConstructor;
16
+ autosize: {
17
+ type: PropType<boolean | AutoSizeType>;
18
+ default: any;
19
+ };
20
+ autoSize: {
21
+ type: PropType<boolean | AutoSizeType>;
22
+ default: any;
23
+ };
24
+ onResize: {
25
+ type: PropType<(size: {
26
+ width: number;
27
+ height: number;
28
+ }) => void>;
29
+ };
30
+ onCompositionstart: {
31
+ type: PropType< CompositionEventHandler | CompositionEventHandler[]>;
32
+ };
33
+ onCompositionend: {
34
+ type: PropType< CompositionEventHandler | CompositionEventHandler[]>;
35
+ };
36
+ valueModifiers: ObjectConstructor;
37
+ size: {
38
+ type: PropType<SizeType>;
39
+ };
40
+ value: {
41
+ type: PropType<string | number>;
42
+ default: any;
43
+ };
44
+ name: StringConstructor;
45
+ type: {
46
+ type: PropType<"number" | "reset" | "submit" | "button" | "time" | "image" | "text" | "search" | "hidden" | "color" | "checkbox" | "radio" | "range" | "date" | "url" | "email" | "week" | "month" | "datetime-local" | "file" | "password" | "tel">;
47
+ default: "number" | "reset" | "submit" | "button" | "time" | "image" | "text" | "search" | "hidden" | "color" | "checkbox" | "radio" | "range" | "date" | "url" | "email" | "week" | "month" | "datetime-local" | "file" | "password" | "tel";
48
+ };
49
+ onFocus: PropType<FocusEventHandler>;
50
+ onBlur: PropType<FocusEventHandler>;
51
+ onChange: PropType<ChangeEventHandler>;
52
+ onInput: PropType<ChangeEventHandler>;
53
+ onKeydown: PropType<KeyboardEventHandler>;
54
+ onKeyup: PropType<KeyboardEventHandler>;
55
+ onMousedown: {
56
+ type: PropType<MouseEventHandler>;
57
+ default: any;
58
+ };
59
+ focused: {
60
+ type: BooleanConstructor;
61
+ default: any;
62
+ };
63
+ hidden: {
64
+ type: BooleanConstructor;
65
+ default: any;
66
+ };
67
+ disabled: {
68
+ type: BooleanConstructor;
69
+ default: any;
70
+ };
71
+ prefixCls: StringConstructor;
72
+ id: StringConstructor;
73
+ autofocus: {
74
+ type: BooleanConstructor;
75
+ default: any;
76
+ };
77
+ autocomplete: StringConstructor;
78
+ readonly: {
79
+ type: BooleanConstructor;
80
+ default: any;
81
+ };
82
+ status: PropType<"" | "error" | "warning">;
83
+ defaultValue: {
84
+ type: PropType<string | number>;
85
+ default: any;
86
+ };
87
+ 'onUpdate:value': PropType<(val: string) => void>;
88
+ loading: {
89
+ type: BooleanConstructor;
90
+ default: any;
91
+ };
92
+ placeholder: {
93
+ type: PropType<string | number>;
94
+ };
95
+ lazy: {
96
+ type: BooleanConstructor;
97
+ default: boolean;
98
+ };
99
+ maxlength: NumberConstructor;
100
+ bordered: {
101
+ type: BooleanConstructor;
102
+ default: any;
103
+ };
104
+ showCount: {
105
+ type: PropType<boolean | ShowCountProps>;
106
+ };
107
+ htmlSize: NumberConstructor;
108
+ onPressEnter: PropType<KeyboardEventHandler>;
109
+ onMouseUp: {
110
+ type: PropType<MouseEventHandler>;
111
+ default: any;
112
+ };
113
+ onRawInput: PropType<ChangeEventHandler>;
114
+ inputElement: VueTypeValidableDef<any>;
115
+ triggerFocus: PropType<() => void>;
116
+ handleReset: PropType<MouseEventHandler>;
117
+ clearIcon: VueTypeValidableDef<any>;
118
+ allowClear: {
119
+ type: BooleanConstructor;
120
+ default: any;
121
+ };
122
+ }>> & Readonly<{}>, () => VueNode, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {
123
+ value: string | number;
124
+ type: "number" | "reset" | "submit" | "button" | "time" | "image" | "text" | "search" | "hidden" | "color" | "checkbox" | "radio" | "range" | "date" | "url" | "email" | "week" | "month" | "datetime-local" | "file" | "password" | "tel";
125
+ onMousedown: MouseEventHandler;
126
+ focused: boolean;
127
+ hidden: boolean;
128
+ disabled: boolean;
129
+ autofocus: boolean;
130
+ readonly: boolean;
131
+ defaultValue: string | number;
132
+ loading: boolean;
133
+ lazy: boolean;
134
+ bordered: boolean;
135
+ onMouseUp: MouseEventHandler;
136
+ allowClear: boolean;
137
+ autosize: any;
138
+ autoSize: any;
139
+ }, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
140
+ P: {};
141
+ B: {};
142
+ D: {};
143
+ C: {};
144
+ M: {};
145
+ Defaults: {};
146
+ }, Readonly< ExtractPropTypes<{
147
+ rows: NumberConstructor;
148
+ autosize: {
149
+ type: PropType<boolean | AutoSizeType>;
150
+ default: any;
151
+ };
152
+ autoSize: {
153
+ type: PropType<boolean | AutoSizeType>;
154
+ default: any;
155
+ };
156
+ onResize: {
157
+ type: PropType<(size: {
158
+ width: number;
159
+ height: number;
160
+ }) => void>;
161
+ };
162
+ onCompositionstart: {
163
+ type: PropType< CompositionEventHandler | CompositionEventHandler[]>;
164
+ };
165
+ onCompositionend: {
166
+ type: PropType< CompositionEventHandler | CompositionEventHandler[]>;
167
+ };
168
+ valueModifiers: ObjectConstructor;
169
+ size: {
170
+ type: PropType<SizeType>;
171
+ };
172
+ value: {
173
+ type: PropType<string | number>;
174
+ default: any;
175
+ };
176
+ name: StringConstructor;
177
+ type: {
178
+ type: PropType<"number" | "reset" | "submit" | "button" | "time" | "image" | "text" | "search" | "hidden" | "color" | "checkbox" | "radio" | "range" | "date" | "url" | "email" | "week" | "month" | "datetime-local" | "file" | "password" | "tel">;
179
+ default: "number" | "reset" | "submit" | "button" | "time" | "image" | "text" | "search" | "hidden" | "color" | "checkbox" | "radio" | "range" | "date" | "url" | "email" | "week" | "month" | "datetime-local" | "file" | "password" | "tel";
180
+ };
181
+ onFocus: PropType<FocusEventHandler>;
182
+ onBlur: PropType<FocusEventHandler>;
183
+ onChange: PropType<ChangeEventHandler>;
184
+ onInput: PropType<ChangeEventHandler>;
185
+ onKeydown: PropType<KeyboardEventHandler>;
186
+ onKeyup: PropType<KeyboardEventHandler>;
187
+ onMousedown: {
188
+ type: PropType<MouseEventHandler>;
189
+ default: any;
190
+ };
191
+ focused: {
192
+ type: BooleanConstructor;
193
+ default: any;
194
+ };
195
+ hidden: {
196
+ type: BooleanConstructor;
197
+ default: any;
198
+ };
199
+ disabled: {
200
+ type: BooleanConstructor;
201
+ default: any;
202
+ };
203
+ prefixCls: StringConstructor;
204
+ id: StringConstructor;
205
+ autofocus: {
206
+ type: BooleanConstructor;
207
+ default: any;
208
+ };
209
+ autocomplete: StringConstructor;
210
+ readonly: {
211
+ type: BooleanConstructor;
212
+ default: any;
213
+ };
214
+ status: PropType<"" | "error" | "warning">;
215
+ defaultValue: {
216
+ type: PropType<string | number>;
217
+ default: any;
218
+ };
219
+ 'onUpdate:value': PropType<(val: string) => void>;
220
+ loading: {
221
+ type: BooleanConstructor;
222
+ default: any;
223
+ };
224
+ placeholder: {
225
+ type: PropType<string | number>;
226
+ };
227
+ lazy: {
228
+ type: BooleanConstructor;
229
+ default: boolean;
230
+ };
231
+ maxlength: NumberConstructor;
232
+ bordered: {
233
+ type: BooleanConstructor;
234
+ default: any;
235
+ };
236
+ showCount: {
237
+ type: PropType<boolean | ShowCountProps>;
238
+ };
239
+ htmlSize: NumberConstructor;
240
+ onPressEnter: PropType<KeyboardEventHandler>;
241
+ onMouseUp: {
242
+ type: PropType<MouseEventHandler>;
243
+ default: any;
244
+ };
245
+ onRawInput: PropType<ChangeEventHandler>;
246
+ inputElement: VueTypeValidableDef<any>;
247
+ triggerFocus: PropType<() => void>;
248
+ handleReset: PropType<MouseEventHandler>;
249
+ clearIcon: VueTypeValidableDef<any>;
250
+ allowClear: {
251
+ type: BooleanConstructor;
252
+ default: any;
253
+ };
254
+ }>> & Readonly<{}>, () => VueNode, {}, {}, {}, {
255
+ value: string | number;
256
+ type: "number" | "reset" | "submit" | "button" | "time" | "image" | "text" | "search" | "hidden" | "color" | "checkbox" | "radio" | "range" | "date" | "url" | "email" | "week" | "month" | "datetime-local" | "file" | "password" | "tel";
257
+ onMousedown: MouseEventHandler;
258
+ focused: boolean;
259
+ hidden: boolean;
260
+ disabled: boolean;
261
+ autofocus: boolean;
262
+ readonly: boolean;
263
+ defaultValue: string | number;
264
+ loading: boolean;
265
+ lazy: boolean;
266
+ bordered: boolean;
267
+ onMouseUp: MouseEventHandler;
268
+ allowClear: boolean;
269
+ autosize: any;
270
+ autoSize: any;
271
+ }> | null;
272
+ }, HTMLDivElement>;
8
273
  export default _default;
@@ -1,37 +1,51 @@
1
- import { ref as S, onMounted as R, nextTick as h, onActivated as x, onDeactivated as y } from "vue";
1
+ import { ref as h, onMounted as R, nextTick as g, onActivated as x, onDeactivated as y } from "vue";
2
2
  import "../../index.mjs";
3
3
  import { useGlobalConfig as D } from "../../config-provider/hooks/use-global-config.mjs";
4
- function d(e = "") {
4
+ function v(e) {
5
5
  return document.querySelector(e);
6
6
  }
7
- function g(e = "") {
8
- const l = d(e);
7
+ function q(e = ".demo") {
8
+ const l = v(e);
9
9
  return l == null ? void 0 : l.scrollTop;
10
10
  }
11
- function q(e, l = "") {
12
- const r = d(l);
13
- r && (r.scrollTop = e);
11
+ function A(e, l = ".demo") {
12
+ const s = v(l);
13
+ s && (s.scrollTop = e);
14
14
  }
15
- function A(e) {
16
- const l = D("scrollYDomName"), r = S(0), t = S(0), Y = (["reset", "submit", void 0].includes(e == null ? void 0 : e.refreshType) ? e == null ? void 0 : e.refreshType : "submit") ?? "submit", m = (e == null ? void 0 : e.refreshBefore) ?? (() => !0);
17
- let T = !0;
15
+ function N(e) {
16
+ const l = D("scrollYDomName");
17
+ let s = !0;
18
+ const d = h(0), f = h(0), o = (["reset", "submit", void 0].includes(e == null ? void 0 : e.refreshType) ? e == null ? void 0 : e.refreshType : "submit") ?? "submit", T = (e == null ? void 0 : e.refreshBefore) ?? (() => !0);
19
+ let b = !0;
20
+ const n = (c) => {
21
+ if (s === !1) return;
22
+ const r = c.target;
23
+ f.value = r.scrollTop;
24
+ };
18
25
  return R(() => {
19
- h(() => {
20
- T = !1;
26
+ g(() => {
27
+ b = !1;
21
28
  });
22
29
  }), x(() => {
23
- T || m != null && m() && setTimeout(() => {
24
- var u, c, s, a, b, f, v;
25
- (c = (u = e == null ? void 0 : e.apTableRef) == null ? void 0 : u.value) == null || c[Y](), (v = (f = (b = (a = (s = e == null ? void 0 : e.apTableRef) == null ? void 0 : s.value) == null ? void 0 : a.scrollBar) == null ? void 0 : b.x) == null ? void 0 : f.scroll) == null || v.call(f, r.value), q(t.value, l.value);
30
+ setTimeout(() => {
31
+ const r = v(l.value);
32
+ r && r.addEventListener("scroll", n);
33
+ });
34
+ const c = T == null ? void 0 : T();
35
+ b || c && setTimeout(() => {
36
+ var r, a, u, t, S, m, Y;
37
+ s = !0, (a = (r = e == null ? void 0 : e.apTableRef) == null ? void 0 : r.value) == null || a[o](), (Y = (m = (S = (t = (u = e == null ? void 0 : e.apTableRef) == null ? void 0 : u.value) == null ? void 0 : t.scrollBar) == null ? void 0 : S.x) == null ? void 0 : m.scroll) == null || Y.call(m, d.value), A(f.value, l.value);
26
38
  });
27
39
  }), y(() => {
28
- var u, c, s, a;
29
- T || (r.value = ((a = (s = (c = (u = e == null ? void 0 : e.apTableRef) == null ? void 0 : u.value) == null ? void 0 : c.scrollBar) == null ? void 0 : s.x) == null ? void 0 : a.currentScroll) ?? 0, t.value = g(l.value) ?? 0);
40
+ var r, a, u, t;
41
+ s = !1, d.value = ((t = (u = (a = (r = e == null ? void 0 : e.apTableRef) == null ? void 0 : r.value) == null ? void 0 : a.scrollBar) == null ? void 0 : u.x) == null ? void 0 : t.currentScroll) ?? 0, f.value = q(l.value) ?? 0;
42
+ const c = v(l.value);
43
+ c && c.removeEventListener("scroll", n);
30
44
  }), {
31
- tableScrollX: r,
32
- tableScrollY: t
45
+ tableScrollX: d,
46
+ tableScrollY: f
33
47
  };
34
48
  }
35
49
  export {
36
- A as useTableRefresh
50
+ N as useTableRefresh
37
51
  };
@@ -1,11 +1,12 @@
1
1
  import { CheckCardGroupProps, CheckCardValueType } from './interface';
2
2
  import { DefineComponent, ComponentOptionsMixin, PublicProps, CSSProperties, ComponentProvideOptions } from 'vue';
3
3
  declare function __VLS_template(): {
4
+ attrs: Partial<{}>;
4
5
  slots: {
5
6
  default?(_: {}): any;
6
7
  };
7
8
  refs: {};
8
- attrs: Partial<{}>;
9
+ rootEl: any;
9
10
  };
10
11
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
11
12
  declare const __VLS_component: DefineComponent<CheckCardGroupProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
@@ -6,9 +6,10 @@ type CheckCardSlots = {
6
6
  }): void;
7
7
  };
8
8
  declare function __VLS_template(): {
9
+ attrs: Partial<{}>;
9
10
  slots: Readonly<CheckCardSlots> & CheckCardSlots;
10
11
  refs: {};
11
- attrs: Partial<{}>;
12
+ rootEl: HTMLDivElement;
12
13
  };
13
14
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
14
15
  declare const __VLS_component: DefineComponent<CheckCardProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
@@ -22,7 +23,7 @@ declare const __VLS_component: DefineComponent<CheckCardProps, {}, {}, {}, {}, C
22
23
  checked: boolean;
23
24
  stopPropagation: boolean | ((event: MouseEvent) => boolean);
24
25
  indicatorSize: number;
25
- }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
26
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
26
27
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
27
28
  export default _default;
28
29
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -3,7 +3,7 @@ import { StandardBehaviorOptions } from '../../node_modules/scroll-into-view-if-
3
3
  import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode, RendererNode, RendererElement } from 'vue';
4
4
  import { UnwrapRefSimple } from '@vue/reactivity';
5
5
  declare const _default: <RecordType = any>(__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<{
6
- props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, never> & EditableTableFormItemProps<RecordType>> & PublicProps;
6
+ props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, never> & EditableTableFormItemProps<RecordType> & Partial<{}>> & PublicProps;
7
7
  expose(exposed: ShallowUnwrapRef<{
8
8
  add: (defaultValue?: any, insertIndex?: number) => void;
9
9
  remove: (index: number | number[]) => void;
@@ -6,7 +6,7 @@ import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, S
6
6
  declare const _default: <RecordType extends Recordable = any>(__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<{
7
7
  props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
8
8
  readonly "onUpdate:value"?: ((...args: any[]) => any) | undefined;
9
- } & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, "onUpdate:value"> & EditableTableProps<RecordType>> & PublicProps;
9
+ } & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, "onUpdate:value"> & EditableTableProps<RecordType> & Partial<{}>> & PublicProps;
10
10
  expose(exposed: ShallowUnwrapRef<{
11
11
  resetFields: () => void;
12
12
  validateFields: (nameList?: NamePath[] | string, options?: ValidateOptions) => Promise<any>;
@@ -4,6 +4,7 @@ declare function enter(mode: FullScreenMode, force?: boolean): Promise<void>;
4
4
  declare function exit(force?: boolean): Promise<void>;
5
5
  declare function toggle(mode: FullScreenMode, force?: boolean): Promise<void>;
6
6
  declare function __VLS_template(): {
7
+ attrs: Partial<{}>;
7
8
  slots: {
8
9
  default?(_: {
9
10
  full: boolean;
@@ -18,7 +19,7 @@ declare function __VLS_template(): {
18
19
  target: unknown;
19
20
  portalRootRef: HTMLDivElement;
20
21
  };
21
- attrs: Partial<{}>;
22
+ rootEl: any;
22
23
  };
23
24
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
24
25
  declare const __VLS_component: DefineComponent<FullScreenProps, {
@@ -29,7 +30,10 @@ declare const __VLS_component: DefineComponent<FullScreenProps, {
29
30
  enter: typeof enter;
30
31
  exit: typeof exit;
31
32
  toggle: typeof toggle;
32
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<FullScreenProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
33
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<FullScreenProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
34
+ target: unknown;
35
+ portalRootRef: HTMLDivElement;
36
+ }, any>;
33
37
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
34
38
  export default _default;
35
39
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -1,10 +1,11 @@
1
1
  import { DefineComponent, TeleportProps, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
2
  declare function __VLS_template(): {
3
+ attrs: Partial<{}>;
3
4
  slots: {
4
5
  default?(_: {}): any;
5
6
  };
6
7
  refs: {};
7
- attrs: Partial<{}>;
8
+ rootEl: any;
8
9
  };
9
10
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
10
11
  declare const __VLS_component: DefineComponent<Partial< TeleportProps>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Partial< TeleportProps>> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
@@ -3,11 +3,12 @@ import { DefineComponent, ComputedRef, ComponentOptionsMixin, PublicProps, Compo
3
3
  declare function observe(): void;
4
4
  declare function unobserve(): void;
5
5
  declare function __VLS_template(): {
6
+ attrs: Partial<{}>;
6
7
  slots: {
7
8
  default?(_: {}): any;
8
9
  };
9
10
  refs: {};
10
- attrs: Partial<{}>;
11
+ rootEl: any;
11
12
  };
12
13
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
13
14
  declare const __VLS_component: DefineComponent<ResizeObserverProps, {
@@ -1,5 +1,5 @@
1
- import { ScrollBarProps, ScrollBarDirection } from './interface';
2
- import { DefineComponent, ComputedRef, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
1
+ import { ScrollBarProps, ScrollBarDirection, InternalScrollBarProps } from './interface';
2
+ import { DefineComponent, ComputedRef, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, CreateComponentPublicInstanceWithMixins, Ref, GlobalComponents, GlobalDirectives } from 'vue';
3
3
  declare const _default: DefineComponent<ScrollBarProps, {
4
4
  currentScroll: ComputedRef<number | undefined>;
5
5
  scroll: (percent: number) => void | undefined;
@@ -12,5 +12,44 @@ declare const _default: DefineComponent<ScrollBarProps, {
12
12
  trackSpeed: number;
13
13
  barLength: number;
14
14
  showTrack: boolean;
15
- }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
15
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {
16
+ barRef: CreateComponentPublicInstanceWithMixins<Readonly< InternalScrollBarProps> & Readonly<{}>, {
17
+ currentScroll: Ref<number, number>;
18
+ container: Ref<HTMLElement | undefined, HTMLElement | undefined>;
19
+ bar: Ref<HTMLElement | undefined, HTMLElement | undefined>;
20
+ track: Ref<HTMLElement | undefined, HTMLElement | undefined>;
21
+ scroll: (percent: number) => void;
22
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {
23
+ scroll: number;
24
+ disabled: boolean;
25
+ direction: ScrollBarDirection;
26
+ trackSpeed: number;
27
+ barLength: number;
28
+ showTrack: boolean;
29
+ }, false, {}, {}, GlobalComponents, GlobalDirectives, string, {
30
+ container: HTMLDivElement;
31
+ track: HTMLDivElement;
32
+ bar: HTMLDivElement;
33
+ }, HTMLDivElement, ComponentProvideOptions, {
34
+ P: {};
35
+ B: {};
36
+ D: {};
37
+ C: {};
38
+ M: {};
39
+ Defaults: {};
40
+ }, Readonly< InternalScrollBarProps> & Readonly<{}>, {
41
+ currentScroll: Ref<number, number>;
42
+ container: Ref<HTMLElement | undefined, HTMLElement | undefined>;
43
+ bar: Ref<HTMLElement | undefined, HTMLElement | undefined>;
44
+ track: Ref<HTMLElement | undefined, HTMLElement | undefined>;
45
+ scroll: (percent: number) => void;
46
+ }, {}, {}, {}, {
47
+ scroll: number;
48
+ disabled: boolean;
49
+ direction: ScrollBarDirection;
50
+ trackSpeed: number;
51
+ barLength: number;
52
+ showTrack: boolean;
53
+ }> | null;
54
+ }, any>;
16
55
  export default _default;
@@ -14,5 +14,9 @@ declare const _default: DefineComponent<InternalScrollBarProps, {
14
14
  trackSpeed: number;
15
15
  barLength: number;
16
16
  showTrack: boolean;
17
- }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
17
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {
18
+ container: HTMLDivElement;
19
+ track: HTMLDivElement;
20
+ bar: HTMLDivElement;
21
+ }, HTMLDivElement>;
18
22
  export default _default;
@@ -21,7 +21,7 @@ const I = /* @__PURE__ */ V({
21
21
  onScrollEnd: {}
22
22
  },
23
23
  setup(D, { expose: M }) {
24
- const t = D, k = f(), c = f(), l = f(), { b: B, e: v, m: P, em: d, cssVar: R } = Y("scroll-bar"), r = f(t.scroll), { handleMouseDown: p } = X({
24
+ const t = D, k = f(), c = f(), l = f(), { b: B, e: v, m: P, em: d, cssVar: R } = Y("scroll-bar"), r = f(t.scroll), { handleMouseDown: g } = X({
25
25
  currentScroll: r,
26
26
  track: c,
27
27
  bar: l,
@@ -60,11 +60,11 @@ const I = /* @__PURE__ */ V({
60
60
  const n = o(c), i = o(l);
61
61
  if (!n || !i)
62
62
  return;
63
- document.addEventListener("pointermove", g), document.addEventListener("pointerup", S);
63
+ document.addEventListener("pointermove", S), document.addEventListener("pointerup", w);
64
64
  const a = n.getBoundingClientRect(), y = i.getBoundingClientRect();
65
65
  t.direction === "vertical" ? (b = a.height, s = y.top - a.top, u = e.clientY) : (b = a.width, s = y.left - a.left, u = e.clientX), (E = t.onScrollStart) == null || E.call(t, o(r));
66
66
  }
67
- function g(e) {
67
+ function S(e) {
68
68
  var a;
69
69
  e.stopPropagation(), e.preventDefault();
70
70
  let n;
@@ -72,15 +72,16 @@ const I = /* @__PURE__ */ V({
72
72
  const i = n / b / (100 - t.barLength) * 1e4;
73
73
  r.value = C(i), (a = t.onScroll) == null || a.call(t, o(r));
74
74
  }
75
- function S(e) {
75
+ function w(e) {
76
76
  var n;
77
- e.preventDefault(), document.removeEventListener("pointermove", g), document.removeEventListener("pointerup", S), (n = t.onScrollEnd) == null || n.call(t, o(r));
77
+ e.preventDefault(), document.removeEventListener("pointermove", S), document.removeEventListener("pointerup", w), (n = t.onScrollEnd) == null || n.call(t, o(r));
78
78
  }
79
- function w(e) {
79
+ function p(e) {
80
80
  e.cancelable && (e.stopPropagation(), e.preventDefault());
81
81
  }
82
82
  function $(e) {
83
- Math.abs(o(r) - e) <= 1e-3 || (r.value = C(e));
83
+ var n;
84
+ Math.abs(o(r) - e) <= 1e-3 || (r.value = C(e), (n = t.onScroll) == null || n.call(t, e));
84
85
  }
85
86
  return M({
86
87
  currentScroll: r,
@@ -110,8 +111,8 @@ const I = /* @__PURE__ */ V({
110
111
  e.showTrack ? null : o(d)("track", "hidden")
111
112
  ]),
112
113
  onPointerdown: n[0] || (n[0] = //@ts-ignore
113
- (...i) => o(p) && o(p)(...i)),
114
- onTouchstart: w
114
+ (...i) => o(g) && o(g)(...i)),
115
+ onTouchstart: p
115
116
  }, null, 34),
116
117
  L("div", {
117
118
  ref_key: "bar",
@@ -122,7 +123,7 @@ const I = /* @__PURE__ */ V({
122
123
  e.disabled ? o(d)("bar", "disabled") : null
123
124
  ]),
124
125
  onPointerdown: T,
125
- onTouchstart: w
126
+ onTouchstart: p
126
127
  }, null, 34)
127
128
  ], 6));
128
129
  }