x-next 0.0.0-alpha.70 → 0.0.0-alpha.72

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 (55) hide show
  1. package/README.md +74 -70
  2. package/dist/_hooks/_types.d.ts +3 -0
  3. package/dist/_hooks/use-scrollbar.d.ts +1 -1
  4. package/dist/_utils/array.d.ts +2 -0
  5. package/dist/components/_components/auto-tooltip/auto-tooltip.d.ts +10 -0
  6. package/dist/components/_components/auto-tooltip/style/index.d.ts +0 -0
  7. package/dist/components/form-select/index.d.ts +40 -39
  8. package/dist/components/index.d.ts +2 -0
  9. package/dist/components/menu/Menu.d.ts +2 -2
  10. package/dist/components/pagination/Pagination.d.ts +351 -0
  11. package/dist/components/pagination/index.d.ts +297 -0
  12. package/dist/components/pagination/interface.d.ts +26 -0
  13. package/dist/components/pagination/page-item-ellipsis.vue.d.ts +91 -0
  14. package/dist/components/pagination/page-item-step.vue.d.ts +160 -0
  15. package/dist/components/pagination/page-item.vue.d.ts +53 -0
  16. package/dist/components/pagination/page-jumper.vue.d.ts +346 -0
  17. package/dist/components/pagination/page-options.vue.d.ts +2032 -0
  18. package/dist/components/pagination/utils.d.ts +4 -0
  19. package/dist/components/scrollbar-v2/index.d.ts +15 -14
  20. package/dist/components/table/Table.d.ts +931 -0
  21. package/dist/components/table/TableColumn.d.ts +292 -0
  22. package/dist/components/table/context.d.ts +29 -0
  23. package/dist/components/table/hooks/use-column-filter.d.ts +18 -0
  24. package/dist/components/table/hooks/use-column-resize.d.ts +10 -0
  25. package/dist/components/table/hooks/use-column-sorter.d.ts +14 -0
  26. package/dist/components/table/hooks/use-drag.d.ts +18 -0
  27. package/dist/components/table/hooks/use-expand.d.ts +20 -0
  28. package/dist/components/table/hooks/use-filter.d.ts +11 -0
  29. package/dist/components/table/hooks/use-pagination.d.ts +7 -0
  30. package/dist/components/table/hooks/use-row-selection.d.ts +26 -0
  31. package/dist/components/table/hooks/use-sorter.d.ts +17 -0
  32. package/dist/components/table/hooks/use-span.d.ts +18 -0
  33. package/dist/components/table/index.d.ts +952 -0
  34. package/dist/components/table/interface.d.ts +467 -0
  35. package/dist/components/table/table-col-group.vue.d.ts +38 -0
  36. package/dist/components/table/table-operation-td.d.ts +573 -0
  37. package/dist/components/table/table-operation-th.d.ts +41 -0
  38. package/dist/components/table/table-tbody.d.ts +4 -0
  39. package/dist/components/table/table-td.d.ts +124 -0
  40. package/dist/components/table/table-th.d.ts +39 -0
  41. package/dist/components/table/table-thead.d.ts +4 -0
  42. package/dist/components/table/table-tr.d.ts +41 -0
  43. package/dist/components/table/utils.d.ts +38 -0
  44. package/dist/components/trigger/index.d.ts +1 -0
  45. package/dist/components/trigger-v2/index.d.ts +1 -0
  46. package/dist/components/virtual-list-v2/interface.d.ts +1 -1
  47. package/dist/icons/index.d.ts +2 -2
  48. package/dist/index.es.js +11590 -7940
  49. package/dist/index.umd.js +2 -2
  50. package/dist/style.css +1 -1
  51. package/dist/types.d.ts +3 -0
  52. package/package.json +1 -1
  53. package/volar.d.ts +75 -72
  54. package/dist/icons/default/left.d.ts +0 -50
  55. package/dist/icons/default/right.d.ts +0 -50
@@ -0,0 +1,4 @@
1
+ export declare const getLegalPage: (page: number, { min, max }: {
2
+ min: number;
3
+ max: number;
4
+ }) => number;
@@ -1,3 +1,4 @@
1
+ export type { ScrollbarProps } from './interface.ts';
1
2
  export declare const Scrollbar: {
2
3
  new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
3
4
  type: {
@@ -34,8 +35,8 @@ export declare const Scrollbar: {
34
35
  containerRef: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
35
36
  horizontalThumbRef: import('vue').Ref<any, any>;
36
37
  verticalThumbRef: import('vue').Ref<any, any>;
37
- horizontalData: import('vue').Ref<import('./interface').ThumbData | undefined, import('./interface').ThumbData | undefined>;
38
- verticalData: import('vue').Ref<import('./interface').ThumbData | undefined, import('./interface').ThumbData | undefined>;
38
+ horizontalData: import('vue').Ref<import('./interface.ts').ThumbData | undefined, import('./interface.ts').ThumbData | undefined>;
39
+ verticalData: import('vue').Ref<import('./interface.ts').ThumbData | undefined, import('./interface.ts').ThumbData | undefined>;
39
40
  isBoth: import('vue').Ref<boolean, boolean>;
40
41
  hasHorizontalScrollbar: import('vue').ComputedRef<boolean>;
41
42
  hasVerticalScrollbar: import('vue').ComputedRef<boolean>;
@@ -71,10 +72,10 @@ export declare const Scrollbar: {
71
72
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
72
73
  Thumb: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
73
74
  data: {
74
- type: import('vue').PropType<import('./interface').ThumbData>;
75
+ type: import('vue').PropType<import('./interface.ts').ThumbData>;
75
76
  };
76
77
  direction: {
77
- type: import('vue').PropType<import('../../_utils/constant').Direction>;
78
+ type: import('vue').PropType<import('../../_utils/constant.ts').Direction>;
78
79
  default: string;
79
80
  };
80
81
  alwaysShow: {
@@ -106,10 +107,10 @@ export declare const Scrollbar: {
106
107
  setOffset: (_offset: number) => void;
107
108
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "scroll"[], "scroll", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
108
109
  data: {
109
- type: import('vue').PropType<import('./interface').ThumbData>;
110
+ type: import('vue').PropType<import('./interface.ts').ThumbData>;
110
111
  };
111
112
  direction: {
112
- type: import('vue').PropType<import('../../_utils/constant').Direction>;
113
+ type: import('vue').PropType<import('../../_utils/constant.ts').Direction>;
113
114
  default: string;
114
115
  };
115
116
  alwaysShow: {
@@ -169,8 +170,8 @@ export declare const Scrollbar: {
169
170
  containerRef: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
170
171
  horizontalThumbRef: import('vue').Ref<any, any>;
171
172
  verticalThumbRef: import('vue').Ref<any, any>;
172
- horizontalData: import('vue').Ref<import('./interface').ThumbData | undefined, import('./interface').ThumbData | undefined>;
173
- verticalData: import('vue').Ref<import('./interface').ThumbData | undefined, import('./interface').ThumbData | undefined>;
173
+ horizontalData: import('vue').Ref<import('./interface.ts').ThumbData | undefined, import('./interface.ts').ThumbData | undefined>;
174
+ verticalData: import('vue').Ref<import('./interface.ts').ThumbData | undefined, import('./interface.ts').ThumbData | undefined>;
174
175
  isBoth: import('vue').Ref<boolean, boolean>;
175
176
  hasHorizontalScrollbar: import('vue').ComputedRef<boolean>;
176
177
  hasVerticalScrollbar: import('vue').ComputedRef<boolean>;
@@ -229,8 +230,8 @@ export declare const Scrollbar: {
229
230
  containerRef: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
230
231
  horizontalThumbRef: import('vue').Ref<any, any>;
231
232
  verticalThumbRef: import('vue').Ref<any, any>;
232
- horizontalData: import('vue').Ref<import('./interface').ThumbData | undefined, import('./interface').ThumbData | undefined>;
233
- verticalData: import('vue').Ref<import('./interface').ThumbData | undefined, import('./interface').ThumbData | undefined>;
233
+ horizontalData: import('vue').Ref<import('./interface.ts').ThumbData | undefined, import('./interface.ts').ThumbData | undefined>;
234
+ verticalData: import('vue').Ref<import('./interface.ts').ThumbData | undefined, import('./interface.ts').ThumbData | undefined>;
234
235
  isBoth: import('vue').Ref<boolean, boolean>;
235
236
  hasHorizontalScrollbar: import('vue').ComputedRef<boolean>;
236
237
  hasVerticalScrollbar: import('vue').ComputedRef<boolean>;
@@ -266,10 +267,10 @@ export declare const Scrollbar: {
266
267
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
267
268
  Thumb: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
268
269
  data: {
269
- type: import('vue').PropType<import('./interface').ThumbData>;
270
+ type: import('vue').PropType<import('./interface.ts').ThumbData>;
270
271
  };
271
272
  direction: {
272
- type: import('vue').PropType<import('../../_utils/constant').Direction>;
273
+ type: import('vue').PropType<import('../../_utils/constant.ts').Direction>;
273
274
  default: string;
274
275
  };
275
276
  alwaysShow: {
@@ -301,10 +302,10 @@ export declare const Scrollbar: {
301
302
  setOffset: (_offset: number) => void;
302
303
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "scroll"[], "scroll", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
303
304
  data: {
304
- type: import('vue').PropType<import('./interface').ThumbData>;
305
+ type: import('vue').PropType<import('./interface.ts').ThumbData>;
305
306
  };
306
307
  direction: {
307
- type: import('vue').PropType<import('../../_utils/constant').Direction>;
308
+ type: import('vue').PropType<import('../../_utils/constant.ts').Direction>;
308
309
  default: string;
309
310
  };
310
311
  alwaysShow: {