@hina-ui/vue 1.3.1 → 1.4.0

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 (185) hide show
  1. package/dist/index.js +3990 -2016
  2. package/dist/index.js.map +1 -1
  3. package/dist/types/components/hover-card/HoverCard.vue.d.ts +7 -7
  4. package/dist/types/components/hover-card/HoverCard.vue.d.ts.map +1 -1
  5. package/dist/types/components/hover-card/HoverCardAnchor.vue.d.ts +27 -0
  6. package/dist/types/components/hover-card/HoverCardAnchor.vue.d.ts.map +1 -0
  7. package/dist/types/components/hover-card/composables/useHoverCardAnchor.d.ts +17 -0
  8. package/dist/types/components/hover-card/composables/useHoverCardAnchor.d.ts.map +1 -0
  9. package/dist/types/components/image/Image.vue.d.ts +3 -1
  10. package/dist/types/components/image/Image.vue.d.ts.map +1 -1
  11. package/dist/types/components/image/composables/useImageGroupState.d.ts.map +1 -1
  12. package/dist/types/components/image/image.variants.d.ts +1 -1
  13. package/dist/types/components/lightbox/Lightbox.vue.d.ts.map +1 -1
  14. package/dist/types/components/lightbox/LightboxChrome.vue.d.ts +4 -0
  15. package/dist/types/components/lightbox/LightboxChrome.vue.d.ts.map +1 -1
  16. package/dist/types/components/lightbox/LightboxToolbar.vue.d.ts +4 -0
  17. package/dist/types/components/lightbox/LightboxToolbar.vue.d.ts.map +1 -1
  18. package/dist/types/components/lightbox/composables/useLightboxFrames.d.ts +4 -1
  19. package/dist/types/components/lightbox/composables/useLightboxFrames.d.ts.map +1 -1
  20. package/dist/types/components/lightbox/composables/useLightboxLarge.d.ts +1 -0
  21. package/dist/types/components/lightbox/composables/useLightboxLarge.d.ts.map +1 -1
  22. package/dist/types/components/lightbox/composables/useLightboxLayout.d.ts +17 -0
  23. package/dist/types/components/lightbox/composables/useLightboxLayout.d.ts.map +1 -0
  24. package/dist/types/components/lightbox/composables/useLightboxPhase.d.ts +1 -1
  25. package/dist/types/components/lightbox/composables/useLightboxPhase.d.ts.map +1 -1
  26. package/dist/types/components/lightbox/composables/useLightboxPose.d.ts.map +1 -1
  27. package/dist/types/components/lightbox/composables/useLightboxRotation.d.ts +5 -1
  28. package/dist/types/components/lightbox/composables/useLightboxRotation.d.ts.map +1 -1
  29. package/dist/types/components/lightbox/composables/useLightboxZoom.d.ts +10 -1
  30. package/dist/types/components/lightbox/composables/useLightboxZoom.d.ts.map +1 -1
  31. package/dist/types/components/lightbox/lightbox.variants.d.ts +2 -0
  32. package/dist/types/components/lightbox/lightbox.variants.d.ts.map +1 -0
  33. package/dist/types/components/lightbox/types.d.ts +7 -1
  34. package/dist/types/components/lightbox/types.d.ts.map +1 -1
  35. package/dist/types/components/lightbox/utils/pose.d.ts +2 -2
  36. package/dist/types/components/lightbox/utils/pose.d.ts.map +1 -1
  37. package/dist/types/components/lightbox/utils/source.d.ts +4 -0
  38. package/dist/types/components/lightbox/utils/source.d.ts.map +1 -0
  39. package/dist/types/components/lightbox/utils/zoom.d.ts +8 -4
  40. package/dist/types/components/lightbox/utils/zoom.d.ts.map +1 -1
  41. package/dist/types/components/pagination/Pagination.vue.d.ts +59 -0
  42. package/dist/types/components/pagination/Pagination.vue.d.ts.map +1 -0
  43. package/dist/types/components/pagination/PaginationContent.vue.d.ts +23 -0
  44. package/dist/types/components/pagination/PaginationContent.vue.d.ts.map +1 -0
  45. package/dist/types/components/pagination/PaginationControl.vue.d.ts +10 -0
  46. package/dist/types/components/pagination/PaginationControl.vue.d.ts.map +1 -0
  47. package/dist/types/components/pagination/PaginationEllipsis.vue.d.ts +23 -0
  48. package/dist/types/components/pagination/PaginationEllipsis.vue.d.ts.map +1 -0
  49. package/dist/types/components/pagination/PaginationInfo.vue.d.ts +24 -0
  50. package/dist/types/components/pagination/PaginationInfo.vue.d.ts.map +1 -0
  51. package/dist/types/components/pagination/PaginationJump.vue.d.ts +7 -0
  52. package/dist/types/components/pagination/PaginationJump.vue.d.ts.map +1 -0
  53. package/dist/types/components/pagination/PaginationPage.vue.d.ts +20 -0
  54. package/dist/types/components/pagination/PaginationPage.vue.d.ts.map +1 -0
  55. package/dist/types/components/pagination/PaginationPages.vue.d.ts +27 -0
  56. package/dist/types/components/pagination/PaginationPages.vue.d.ts.map +1 -0
  57. package/dist/types/components/pagination/PaginationPopup.vue.d.ts +8 -0
  58. package/dist/types/components/pagination/PaginationPopup.vue.d.ts.map +1 -0
  59. package/dist/types/components/pagination/PaginationSize.vue.d.ts +7 -0
  60. package/dist/types/components/pagination/PaginationSize.vue.d.ts.map +1 -0
  61. package/dist/types/components/pagination/composables/usePagination.d.ts +25 -0
  62. package/dist/types/components/pagination/composables/usePagination.d.ts.map +1 -0
  63. package/dist/types/components/pagination/composables/usePaginationEllipsis.d.ts +34 -0
  64. package/dist/types/components/pagination/composables/usePaginationEllipsis.d.ts.map +1 -0
  65. package/dist/types/components/pagination/composables/usePaginationJump.d.ts +8 -0
  66. package/dist/types/components/pagination/composables/usePaginationJump.d.ts.map +1 -0
  67. package/dist/types/components/pagination/composables/usePaginationPageTooltip.d.ts +3 -0
  68. package/dist/types/components/pagination/composables/usePaginationPageTooltip.d.ts.map +1 -0
  69. package/dist/types/components/pagination/composables/usePaginationWindow.d.ts +188 -0
  70. package/dist/types/components/pagination/composables/usePaginationWindow.d.ts.map +1 -0
  71. package/dist/types/components/pagination/context.d.ts +19 -0
  72. package/dist/types/components/pagination/context.d.ts.map +1 -0
  73. package/dist/types/components/pagination/pagination.variants.d.ts +68 -0
  74. package/dist/types/components/pagination/pagination.variants.d.ts.map +1 -0
  75. package/dist/types/components/pagination/types.d.ts +23 -0
  76. package/dist/types/components/pagination/types.d.ts.map +1 -0
  77. package/dist/types/components/pagination/utils/ranges.d.ts +3 -0
  78. package/dist/types/components/pagination/utils/ranges.d.ts.map +1 -0
  79. package/dist/types/components/range-slider/RangeSlider.vue.d.ts +1 -0
  80. package/dist/types/components/range-slider/RangeSlider.vue.d.ts.map +1 -1
  81. package/dist/types/components/slider/Slider.vue.d.ts +1 -0
  82. package/dist/types/components/slider/Slider.vue.d.ts.map +1 -1
  83. package/dist/types/components/slider/slider.variants.d.ts.map +1 -1
  84. package/dist/types/components/tooltip/Tooltip.vue.d.ts +4 -15
  85. package/dist/types/components/tooltip/Tooltip.vue.d.ts.map +1 -1
  86. package/dist/types/components/tooltip/TooltipBubble.vue.d.ts +20 -0
  87. package/dist/types/components/tooltip/TooltipBubble.vue.d.ts.map +1 -0
  88. package/dist/types/components/tooltip/TooltipDirectiveRoot.d.ts +33 -0
  89. package/dist/types/components/tooltip/TooltipDirectiveRoot.d.ts.map +1 -0
  90. package/dist/types/components/tooltip/composables/useTooltipTarget.d.ts +2 -0
  91. package/dist/types/components/tooltip/composables/useTooltipTarget.d.ts.map +1 -0
  92. package/dist/types/components/tooltip/directive.d.ts +4 -0
  93. package/dist/types/components/tooltip/directive.d.ts.map +1 -0
  94. package/dist/types/components/tooltip/types.d.ts +14 -0
  95. package/dist/types/components/tooltip/types.d.ts.map +1 -0
  96. package/dist/types/components/tooltip/utils/directiveContext.d.ts +10 -0
  97. package/dist/types/components/tooltip/utils/directiveContext.d.ts.map +1 -0
  98. package/dist/types/components/tree-select/TreeSelect.vue.d.ts +6 -1
  99. package/dist/types/components/tree-select/TreeSelect.vue.d.ts.map +1 -1
  100. package/dist/types/components/tree-select/TreeSelectSearch.vue.d.ts +22 -0
  101. package/dist/types/components/tree-select/TreeSelectSearch.vue.d.ts.map +1 -0
  102. package/dist/types/components/tree-select/composables/useTreeSelect.d.ts +35 -0
  103. package/dist/types/components/tree-select/composables/useTreeSelect.d.ts.map +1 -0
  104. package/dist/types/components/tree-select/tree-select.variants.d.ts +1 -1
  105. package/dist/types/components/tree-select/tree-select.variants.d.ts.map +1 -1
  106. package/dist/types/components/tree-select/utils/filterTree.d.ts +7 -0
  107. package/dist/types/components/tree-select/utils/filterTree.d.ts.map +1 -0
  108. package/dist/types/index.d.ts +9 -1
  109. package/dist/types/index.d.ts.map +1 -1
  110. package/dist/types/lib/overlay-positioner.d.ts +3 -0
  111. package/dist/types/lib/overlay-positioner.d.ts.map +1 -0
  112. package/dist/types/lib/pointer-corridor.d.ts +7 -0
  113. package/dist/types/lib/pointer-corridor.d.ts.map +1 -0
  114. package/dist/types/lib/useDirection.d.ts +7 -0
  115. package/dist/types/lib/useDirection.d.ts.map +1 -0
  116. package/dist/types/locale/en-US.d.ts.map +1 -1
  117. package/dist/types/locale/index.d.ts.map +1 -1
  118. package/dist/types/locale/types.d.ts +13 -0
  119. package/dist/types/locale/types.d.ts.map +1 -1
  120. package/dist/types/locale/zh-CN.d.ts.map +1 -1
  121. package/package.json +1 -1
  122. package/src/components/badge/badge.variants.ts +1 -1
  123. package/src/components/hover-card/HoverCard.vue +34 -16
  124. package/src/components/hover-card/HoverCardAnchor.vue +16 -0
  125. package/src/components/hover-card/composables/useHoverCardAnchor.ts +160 -0
  126. package/src/components/image/Image.vue +2 -0
  127. package/src/components/image/composables/useImageGroupState.ts +9 -1
  128. package/src/components/image/image.variants.ts +1 -1
  129. package/src/components/lightbox/Lightbox.vue +23 -17
  130. package/src/components/lightbox/LightboxChrome.vue +7 -1
  131. package/src/components/lightbox/LightboxToolbar.vue +16 -2
  132. package/src/components/lightbox/composables/useLightboxFrames.ts +108 -12
  133. package/src/components/lightbox/composables/useLightboxLarge.ts +4 -1
  134. package/src/components/lightbox/composables/useLightboxLayout.ts +44 -0
  135. package/src/components/lightbox/composables/useLightboxPhase.ts +12 -4
  136. package/src/components/lightbox/composables/useLightboxPose.ts +17 -19
  137. package/src/components/lightbox/composables/useLightboxRotation.ts +14 -4
  138. package/src/components/lightbox/composables/useLightboxZoom.ts +51 -9
  139. package/src/components/lightbox/lightbox.variants.ts +5 -0
  140. package/src/components/lightbox/types.ts +5 -1
  141. package/src/components/lightbox/utils/pose.ts +13 -6
  142. package/src/components/lightbox/utils/source.ts +17 -0
  143. package/src/components/lightbox/utils/zoom.ts +21 -7
  144. package/src/components/pagination/Pagination.vue +118 -0
  145. package/src/components/pagination/PaginationContent.vue +29 -0
  146. package/src/components/pagination/PaginationControl.vue +42 -0
  147. package/src/components/pagination/PaginationEllipsis.vue +67 -0
  148. package/src/components/pagination/PaginationInfo.vue +18 -0
  149. package/src/components/pagination/PaginationJump.vue +32 -0
  150. package/src/components/pagination/PaginationPage.vue +34 -0
  151. package/src/components/pagination/PaginationPages.vue +43 -0
  152. package/src/components/pagination/PaginationPopup.vue +92 -0
  153. package/src/components/pagination/PaginationSize.vue +30 -0
  154. package/src/components/pagination/composables/usePagination.ts +76 -0
  155. package/src/components/pagination/composables/usePaginationEllipsis.ts +269 -0
  156. package/src/components/pagination/composables/usePaginationJump.ts +23 -0
  157. package/src/components/pagination/composables/usePaginationPageTooltip.ts +23 -0
  158. package/src/components/pagination/composables/usePaginationWindow.ts +116 -0
  159. package/src/components/pagination/context.ts +23 -0
  160. package/src/components/pagination/pagination.variants.ts +32 -0
  161. package/src/components/pagination/types.ts +19 -0
  162. package/src/components/pagination/utils/ranges.ts +12 -0
  163. package/src/components/range-slider/RangeSlider.vue +6 -0
  164. package/src/components/slider/Slider.vue +6 -0
  165. package/src/components/slider/slider.variants.ts +1 -0
  166. package/src/components/tooltip/Tooltip.vue +10 -33
  167. package/src/components/tooltip/TooltipBubble.vue +36 -0
  168. package/src/components/tooltip/TooltipDirectiveRoot.ts +61 -0
  169. package/src/components/tooltip/composables/useTooltipTarget.ts +56 -0
  170. package/src/components/tooltip/directive.ts +54 -0
  171. package/src/components/tooltip/types.ts +15 -0
  172. package/src/components/tooltip/utils/directiveContext.ts +32 -0
  173. package/src/components/tree-select/TreeSelect.vue +90 -61
  174. package/src/components/tree-select/TreeSelectSearch.vue +48 -0
  175. package/src/components/tree-select/composables/useTreeSelect.ts +130 -0
  176. package/src/components/tree-select/tree-select.variants.ts +2 -2
  177. package/src/components/tree-select/utils/filterTree.ts +19 -0
  178. package/src/index.ts +9 -1
  179. package/src/lib/overlay-positioner.ts +25 -0
  180. package/src/lib/pointer-corridor.ts +26 -0
  181. package/src/lib/useDirection.ts +31 -0
  182. package/src/locale/en-US.ts +15 -1
  183. package/src/locale/index.ts +1 -0
  184. package/src/locale/types.ts +13 -0
  185. package/src/locale/zh-CN.ts +15 -1
@@ -0,0 +1,24 @@
1
+ type __VLS_Props = {
2
+ class?: string;
3
+ };
4
+ declare var __VLS_1: {
5
+ total: number;
6
+ pageCount: number;
7
+ from: number;
8
+ to: number;
9
+ page: number;
10
+ pageSize: number;
11
+ };
12
+ type __VLS_Slots = {} & {
13
+ default?: (props: typeof __VLS_1) => any;
14
+ };
15
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
16
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
17
+ declare const _default: typeof __VLS_export;
18
+ export default _default;
19
+ type __VLS_WithSlots<T, S> = T & {
20
+ new (): {
21
+ $slots: S;
22
+ };
23
+ };
24
+ //# sourceMappingURL=PaginationInfo.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PaginationInfo.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/pagination/PaginationInfo.vue"],"names":[],"mappings":"AAyBE,KAAK,WAAW,GAAG;IAAE,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC;AAkCxC,QAAA,IAAI,OAAO;;;;;;;CAAW,CAAE;AACxB,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAK/C,QAAA,MAAM,UAAU,kSAEd,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
@@ -0,0 +1,7 @@
1
+ type __VLS_Props = {
2
+ class?: string;
3
+ };
4
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
5
+ declare const _default: typeof __VLS_export;
6
+ export default _default;
7
+ //# sourceMappingURL=PaginationJump.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PaginationJump.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/pagination/PaginationJump.vue"],"names":[],"mappings":"AAwCE,KAAK,WAAW,GAAG;IAAE,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC;AA+ExC,QAAA,MAAM,YAAY,kSAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -0,0 +1,20 @@
1
+ type __VLS_Props = {
2
+ page: number;
3
+ };
4
+ declare var __VLS_14: {
5
+ page: number;
6
+ selected: boolean;
7
+ };
8
+ type __VLS_Slots = {} & {
9
+ default?: (props: typeof __VLS_14) => any;
10
+ };
11
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
12
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
13
+ declare const _default: typeof __VLS_export;
14
+ export default _default;
15
+ type __VLS_WithSlots<T, S> = T & {
16
+ new (): {
17
+ $slots: S;
18
+ };
19
+ };
20
+ //# sourceMappingURL=PaginationPage.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PaginationPage.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/pagination/PaginationPage.vue"],"names":[],"mappings":"AA+CE,KAAK,WAAW,GAAG;IAAE,IAAI,EAAE,MAAM,CAAA;CAAE,CAAC;AAgFtC,QAAA,IAAI,QAAQ;;;CAAY,CAAE;AAC1B,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,CAAC;AAOhD,QAAA,MAAM,UAAU,kSAEd,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
@@ -0,0 +1,27 @@
1
+ import type { PaginationEntry } from './types';
2
+ type __VLS_Props = {
3
+ items: PaginationEntry[];
4
+ host?: HTMLElement;
5
+ };
6
+ declare var __VLS_18: {
7
+ page: number;
8
+ selected: boolean;
9
+ }, __VLS_27: {
10
+ side: import("./types").PaginationSide;
11
+ expanded: boolean;
12
+ };
13
+ type __VLS_Slots = {} & {
14
+ page?: (props: typeof __VLS_18) => any;
15
+ } & {
16
+ ellipsis?: (props: typeof __VLS_27) => any;
17
+ };
18
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
19
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
20
+ declare const _default: typeof __VLS_export;
21
+ export default _default;
22
+ type __VLS_WithSlots<T, S> = T & {
23
+ new (): {
24
+ $slots: S;
25
+ };
26
+ };
27
+ //# sourceMappingURL=PaginationPages.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PaginationPages.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/pagination/PaginationPages.vue"],"names":[],"mappings":"AAqDE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAA;AAE9C,KAAK,WAAW,GAAG;IAAE,KAAK,EAAE,eAAe,EAAE,CAAC;IAAC,IAAI,CAAC,EAAE,WAAW,CAAA;CAAE,CAAC;AA2JtE,QAAA,IAAI,QAAQ;;;CAAW,EAAE,QAAQ;;;CAAY,CAAE;AAC/C,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,IAAI,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,GAC1C;IAAE,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,CAAC;AAGjD,QAAA,MAAM,UAAU,kSAEd,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
@@ -0,0 +1,8 @@
1
+ import type { PaginationEllipsisController } from './composables/usePaginationEllipsis';
2
+ type __VLS_Props = {
3
+ controller: PaginationEllipsisController;
4
+ };
5
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
6
+ declare const _default: typeof __VLS_export;
7
+ export default _default;
8
+ //# sourceMappingURL=PaginationPopup.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PaginationPopup.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/pagination/PaginationPopup.vue"],"names":[],"mappings":"AAyGE,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,qCAAqC,CAAA;AAEvF,KAAK,WAAW,GAAG;IAAE,UAAU,EAAE,4BAA4B,CAAA;CAAE,CAAC;AAmSlE,QAAA,MAAM,YAAY,kSAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -0,0 +1,7 @@
1
+ type __VLS_Props = {
2
+ class?: string;
3
+ };
4
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
5
+ declare const _default: typeof __VLS_export;
6
+ export default _default;
7
+ //# sourceMappingURL=PaginationSize.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PaginationSize.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/pagination/PaginationSize.vue"],"names":[],"mappings":"AAuCE,KAAK,WAAW,GAAG;IAAE,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC;AA8DxC,QAAA,MAAM,YAAY,kSAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -0,0 +1,25 @@
1
+ import { type Ref } from 'vue';
2
+ import type { PaginationChange, PaginationState } from '../types';
3
+ interface PaginationOptions {
4
+ total: number;
5
+ itemCount?: number;
6
+ siblingCount: number;
7
+ pageSizeOptions?: number[];
8
+ disabled?: boolean;
9
+ pending?: boolean;
10
+ }
11
+ export declare function paginationInteger(value: number, fallback: number, minimum: number): number;
12
+ export declare function usePagination(props: PaginationOptions, model: Ref<number>, sizeModel: Ref<number>, change: (value: PaginationChange) => void): {
13
+ total: import("vue").ComputedRef<number>;
14
+ pageSize: import("vue").ComputedRef<number>;
15
+ siblingCount: import("vue").ComputedRef<number>;
16
+ pageCount: import("vue").ComputedRef<number>;
17
+ page: import("vue").ComputedRef<number>;
18
+ state: import("vue").ComputedRef<PaginationState>;
19
+ blocked: import("vue").ComputedRef<boolean>;
20
+ sizes: import("vue").ComputedRef<number[]>;
21
+ update: (value: number) => void;
22
+ resize: (value: number) => void;
23
+ };
24
+ export {};
25
+ //# sourceMappingURL=usePagination.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"usePagination.d.ts","sourceRoot":"","sources":["../../../../../src/components/pagination/composables/usePagination.ts"],"names":[],"mappings":"AAAA,OAAO,EAAmB,KAAK,GAAG,EAAE,MAAM,KAAK,CAAA;AAC/C,OAAO,KAAK,EAAE,gBAAgB,EAAE,eAAe,EAAE,MAAM,UAAU,CAAA;AAEjE,UAAU,iBAAiB;IACzB,KAAK,EAAE,MAAM,CAAA;IACb,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,YAAY,EAAE,MAAM,CAAA;IACpB,eAAe,CAAC,EAAE,MAAM,EAAE,CAAA;IAC1B,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB;AAED,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,UAEjF;AAED,wBAAgB,aAAa,CAC3B,KAAK,EAAE,iBAAiB,EACxB,KAAK,EAAE,GAAG,CAAC,MAAM,CAAC,EAClB,SAAS,EAAE,GAAG,CAAC,MAAM,CAAC,EACtB,MAAM,EAAE,CAAC,KAAK,EAAE,gBAAgB,KAAK,IAAI;;;;;;;;;oBAuClB,MAAM;oBAON,MAAM;EAS9B"}
@@ -0,0 +1,34 @@
1
+ import { type ComponentPublicInstance, type Ref } from 'vue';
2
+ import type { PaginationEntry, PaginationRange, PaginationSide } from '../types';
3
+ export declare function usePaginationEllipsis(host: Ref<HTMLElement | undefined>, items: () => PaginationEntry[]): {
4
+ id: string;
5
+ open: Ref<boolean, boolean>;
6
+ active: Ref<PaginationSide | undefined, PaginationSide | undefined>;
7
+ displayRange: import("vue").ShallowRef<PaginationRange | undefined, PaginationRange | undefined>;
8
+ panel: import("vue").ShallowRef<HTMLElement | undefined, HTMLElement | undefined>;
9
+ reference: import("vue").ComputedRef<{
10
+ getBoundingClientRect: () => DOMRect;
11
+ contextElement: HTMLElement | undefined;
12
+ } | undefined>;
13
+ focusRequest: import("vue").ShallowRef<{
14
+ edge: "first" | "last";
15
+ } | undefined, {
16
+ edge: "first" | "last";
17
+ } | undefined>;
18
+ ranges: import("vue").ComputedRef<PaginationRange[]>;
19
+ enter: (side: PaginationSide, event: PointerEvent) => void;
20
+ focus: (side: PaginationSide) => void;
21
+ leave: (event: PointerEvent) => void;
22
+ keep: () => void;
23
+ click: (side: PaginationSide) => void;
24
+ pointerdown: (event: PointerEvent) => void;
25
+ keydown: (side: PaginationSide, event: KeyboardEvent) => void;
26
+ register: (side: PaginationSide, value: Element | ComponentPublicInstance | null) => void;
27
+ pick: (page: number) => void;
28
+ close: (returnFocus?: boolean) => void;
29
+ closeAutoFocus: (event: Event) => void;
30
+ outside: (event: Event) => void;
31
+ tab: (event: KeyboardEvent) => void;
32
+ };
33
+ export type PaginationEllipsisController = ReturnType<typeof usePaginationEllipsis>;
34
+ //# sourceMappingURL=usePaginationEllipsis.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"usePaginationEllipsis.d.ts","sourceRoot":"","sources":["../../../../../src/components/pagination/composables/usePaginationEllipsis.ts"],"names":[],"mappings":"AAAA,OAAO,EAQL,KAAK,uBAAuB,EAC5B,KAAK,GAAG,EACT,MAAM,KAAK,CAAA;AAKZ,OAAO,KAAK,EAAE,eAAe,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,UAAU,CAAA;AAEhF,wBAAgB,qBAAqB,CACnC,IAAI,EAAE,GAAG,CAAC,WAAW,GAAG,SAAS,CAAC,EAClC,KAAK,EAAE,MAAM,eAAe,EAAE;;;;;;;;;;;cAWU,OAAO,GAAG,MAAM;;cAAhB,OAAO,GAAG,MAAM;;;kBAkEnC,cAAc,SAAS,YAAY;kBASnC,cAAc;mBAMb,YAAY;;kBAoBb,cAAc;yBAJP,YAAY;oBAejB,cAAc,SAAS,aAAa;qBAQnC,cAAc,SAAS,OAAO,GAAG,uBAAuB,GAAG,IAAI;iBASnE,MAAM;;4BAMK,KAAK;qBA+BZ,KAAK;iBATT,aAAa;EA+ElC;AAED,MAAM,MAAM,4BAA4B,GAAG,UAAU,CAAC,OAAO,qBAAqB,CAAC,CAAA"}
@@ -0,0 +1,8 @@
1
+ export declare function usePaginationJump(): {
2
+ draft: import("vue").Ref<string, string>;
3
+ commit: () => void;
4
+ reset: () => void;
5
+ size: Readonly<import("vue").Ref<"md" | "sm" | "lg", "md" | "sm" | "lg">>;
6
+ blocked: Readonly<import("vue").Ref<boolean, boolean>>;
7
+ };
8
+ //# sourceMappingURL=usePaginationJump.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"usePaginationJump.d.ts","sourceRoot":"","sources":["../../../../../src/components/pagination/composables/usePaginationJump.ts"],"names":[],"mappings":"AAGA,wBAAgB,iBAAiB;;;;;;EAmBhC"}
@@ -0,0 +1,3 @@
1
+ import { type Ref } from 'vue';
2
+ export declare function usePaginationPageTooltip(label: Readonly<Ref<HTMLElement | null>>, blocked: Readonly<Ref<boolean>>): import("vue").ComputedRef<string | false>;
3
+ //# sourceMappingURL=usePaginationPageTooltip.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"usePaginationPageTooltip.d.ts","sourceRoot":"","sources":["../../../../../src/components/pagination/composables/usePaginationPageTooltip.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiB,KAAK,GAAG,EAAE,MAAM,KAAK,CAAA;AAG7C,wBAAgB,wBAAwB,CACtC,KAAK,EAAE,QAAQ,CAAC,GAAG,CAAC,WAAW,GAAG,IAAI,CAAC,CAAC,EACxC,OAAO,EAAE,QAAQ,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC,6CAiBhC"}
@@ -0,0 +1,188 @@
1
+ import { nextTick } from 'vue';
2
+ import type { PaginationEllipsisController } from './usePaginationEllipsis';
3
+ export declare function usePaginationWindow(controller: PaginationEllipsisController): {
4
+ scroll: import("vue").ShallowRef<({
5
+ $: import("vue").ComponentInternalInstance;
6
+ $data: {};
7
+ $props: {
8
+ readonly direction?: "vertical" | "horizontal" | "both" | undefined;
9
+ readonly autoHide?: "never" | "scroll" | "leave" | "move" | undefined;
10
+ readonly scrollbar?: boolean | undefined;
11
+ readonly wheelRedirect?: boolean | undefined;
12
+ readonly shadow?: boolean | undefined;
13
+ readonly focusable?: boolean | undefined;
14
+ readonly label?: string | undefined;
15
+ readonly class?: string | undefined;
16
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
17
+ $attrs: import("vue").Attrs;
18
+ $refs: {
19
+ [x: string]: unknown;
20
+ };
21
+ $slots: Readonly<{
22
+ [name: string]: import("vue").Slot<any> | undefined;
23
+ }>;
24
+ $root: import("vue").ComponentPublicInstance | null;
25
+ $parent: import("vue").ComponentPublicInstance | null;
26
+ $host: Element | null;
27
+ $emit: (event: string, ...args: any[]) => void;
28
+ $el: any;
29
+ $options: import("vue").ComponentOptionsBase<Readonly<{
30
+ direction?: "vertical" | "horizontal" | "both";
31
+ autoHide?: "never" | "scroll" | "leave" | "move";
32
+ scrollbar?: boolean;
33
+ wheelRedirect?: boolean;
34
+ shadow?: boolean;
35
+ focusable?: boolean;
36
+ label?: string;
37
+ class?: string;
38
+ }> & Readonly<{}>, {
39
+ viewport: import("vue").ShallowRef<HTMLElement | undefined, HTMLElement | undefined>;
40
+ instance: import("vue").ShallowRef<import("overlayscrollbars").OverlayScrollbars | undefined, import("overlayscrollbars").OverlayScrollbars | undefined>;
41
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
42
+ shadow: boolean;
43
+ direction: "vertical" | "horizontal" | "both";
44
+ focusable: boolean;
45
+ autoHide: "never" | "scroll" | "leave" | "move";
46
+ scrollbar: boolean;
47
+ wheelRedirect: boolean;
48
+ }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & {
49
+ beforeCreate?: (() => void) | (() => void)[];
50
+ created?: (() => void) | (() => void)[];
51
+ beforeMount?: (() => void) | (() => void)[];
52
+ mounted?: (() => void) | (() => void)[];
53
+ beforeUpdate?: (() => void) | (() => void)[];
54
+ updated?: (() => void) | (() => void)[];
55
+ activated?: (() => void) | (() => void)[];
56
+ deactivated?: (() => void) | (() => void)[];
57
+ beforeDestroy?: (() => void) | (() => void)[];
58
+ beforeUnmount?: (() => void) | (() => void)[];
59
+ destroyed?: (() => void) | (() => void)[];
60
+ unmounted?: (() => void) | (() => void)[];
61
+ renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
62
+ renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
63
+ errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void)[];
64
+ };
65
+ $forceUpdate: () => void;
66
+ $nextTick: typeof nextTick;
67
+ $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;
68
+ } & Readonly<{
69
+ shadow: boolean;
70
+ direction: "vertical" | "horizontal" | "both";
71
+ focusable: boolean;
72
+ autoHide: "never" | "scroll" | "leave" | "move";
73
+ scrollbar: boolean;
74
+ wheelRedirect: boolean;
75
+ }> & Omit<Readonly<{
76
+ direction?: "vertical" | "horizontal" | "both";
77
+ autoHide?: "never" | "scroll" | "leave" | "move";
78
+ scrollbar?: boolean;
79
+ wheelRedirect?: boolean;
80
+ shadow?: boolean;
81
+ focusable?: boolean;
82
+ label?: string;
83
+ class?: string;
84
+ }> & Readonly<{}>, "viewport" | "instance" | ("shadow" | "direction" | "focusable" | "autoHide" | "scrollbar" | "wheelRedirect")> & {
85
+ viewport: HTMLElement | undefined;
86
+ instance: import("overlayscrollbars").OverlayScrollbars | undefined;
87
+ } & {} & import("vue").ComponentCustomProperties & {} & {
88
+ $slots: {
89
+ default?: (props: {}) => any;
90
+ };
91
+ }) | undefined, ({
92
+ $: import("vue").ComponentInternalInstance;
93
+ $data: {};
94
+ $props: {
95
+ readonly direction?: "vertical" | "horizontal" | "both" | undefined;
96
+ readonly autoHide?: "never" | "scroll" | "leave" | "move" | undefined;
97
+ readonly scrollbar?: boolean | undefined;
98
+ readonly wheelRedirect?: boolean | undefined;
99
+ readonly shadow?: boolean | undefined;
100
+ readonly focusable?: boolean | undefined;
101
+ readonly label?: string | undefined;
102
+ readonly class?: string | undefined;
103
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
104
+ $attrs: import("vue").Attrs;
105
+ $refs: {
106
+ [x: string]: unknown;
107
+ };
108
+ $slots: Readonly<{
109
+ [name: string]: import("vue").Slot<any> | undefined;
110
+ }>;
111
+ $root: import("vue").ComponentPublicInstance | null;
112
+ $parent: import("vue").ComponentPublicInstance | null;
113
+ $host: Element | null;
114
+ $emit: (event: string, ...args: any[]) => void;
115
+ $el: any;
116
+ $options: import("vue").ComponentOptionsBase<Readonly<{
117
+ direction?: "vertical" | "horizontal" | "both";
118
+ autoHide?: "never" | "scroll" | "leave" | "move";
119
+ scrollbar?: boolean;
120
+ wheelRedirect?: boolean;
121
+ shadow?: boolean;
122
+ focusable?: boolean;
123
+ label?: string;
124
+ class?: string;
125
+ }> & Readonly<{}>, {
126
+ viewport: import("vue").ShallowRef<HTMLElement | undefined, HTMLElement | undefined>;
127
+ instance: import("vue").ShallowRef<import("overlayscrollbars").OverlayScrollbars | undefined, import("overlayscrollbars").OverlayScrollbars | undefined>;
128
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
129
+ shadow: boolean;
130
+ direction: "vertical" | "horizontal" | "both";
131
+ focusable: boolean;
132
+ autoHide: "never" | "scroll" | "leave" | "move";
133
+ scrollbar: boolean;
134
+ wheelRedirect: boolean;
135
+ }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & {
136
+ beforeCreate?: (() => void) | (() => void)[];
137
+ created?: (() => void) | (() => void)[];
138
+ beforeMount?: (() => void) | (() => void)[];
139
+ mounted?: (() => void) | (() => void)[];
140
+ beforeUpdate?: (() => void) | (() => void)[];
141
+ updated?: (() => void) | (() => void)[];
142
+ activated?: (() => void) | (() => void)[];
143
+ deactivated?: (() => void) | (() => void)[];
144
+ beforeDestroy?: (() => void) | (() => void)[];
145
+ beforeUnmount?: (() => void) | (() => void)[];
146
+ destroyed?: (() => void) | (() => void)[];
147
+ unmounted?: (() => void) | (() => void)[];
148
+ renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
149
+ renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
150
+ errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void)[];
151
+ };
152
+ $forceUpdate: () => void;
153
+ $nextTick: typeof nextTick;
154
+ $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;
155
+ } & Readonly<{
156
+ shadow: boolean;
157
+ direction: "vertical" | "horizontal" | "both";
158
+ focusable: boolean;
159
+ autoHide: "never" | "scroll" | "leave" | "move";
160
+ scrollbar: boolean;
161
+ wheelRedirect: boolean;
162
+ }> & Omit<Readonly<{
163
+ direction?: "vertical" | "horizontal" | "both";
164
+ autoHide?: "never" | "scroll" | "leave" | "move";
165
+ scrollbar?: boolean;
166
+ wheelRedirect?: boolean;
167
+ shadow?: boolean;
168
+ focusable?: boolean;
169
+ label?: string;
170
+ class?: string;
171
+ }> & Readonly<{}>, "viewport" | "instance" | ("shadow" | "direction" | "focusable" | "autoHide" | "scrollbar" | "wheelRedirect")> & {
172
+ viewport: HTMLElement | undefined;
173
+ instance: import("overlayscrollbars").OverlayScrollbars | undefined;
174
+ } & {} & import("vue").ComponentCustomProperties & {} & {
175
+ $slots: {
176
+ default?: (props: {}) => any;
177
+ };
178
+ }) | undefined>;
179
+ rowsHost: import("vue").ShallowRef<HTMLElement | undefined, HTMLElement | undefined>;
180
+ activePage: import("vue").Ref<number, number>;
181
+ extent: import("vue").ComputedRef<number>;
182
+ rows: import("vue").ComputedRef<{
183
+ page: number;
184
+ top: number;
185
+ }[]>;
186
+ keydown: (event: KeyboardEvent) => void;
187
+ };
188
+ //# sourceMappingURL=usePaginationWindow.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"usePaginationWindow.d.ts","sourceRoot":"","sources":["../../../../../src/components/pagination/composables/usePaginationWindow.ts"],"names":[],"mappings":"AAAA,OAAO,EAAY,QAAQ,EAA0B,MAAM,KAAK,CAAA;AAGhE,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,yBAAyB,CAAA;AAE3E,wBAAgB,mBAAmB,CAAC,UAAU,EAAE,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oCA+Gg7sB,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oCAAtH,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAvDxltB,aAAa;EAsDtC"}
@@ -0,0 +1,19 @@
1
+ import { type Ref } from 'vue';
2
+ import type { PaginationState } from './types';
3
+ export interface PaginationContext {
4
+ state: Readonly<Ref<PaginationState>>;
5
+ blocked: Readonly<Ref<boolean>>;
6
+ size: Readonly<Ref<'sm' | 'md' | 'lg'>>;
7
+ direction: Readonly<Ref<'ltr' | 'rtl'>>;
8
+ siblingCount: Readonly<Ref<number>>;
9
+ showFirstLast: Readonly<Ref<boolean>>;
10
+ options: Readonly<Ref<Array<{
11
+ value: number;
12
+ label: string;
13
+ }>>>;
14
+ update: (page: number) => void;
15
+ resize: (pageSize: number) => void;
16
+ }
17
+ export declare const providePagination: (context: PaginationContext) => void;
18
+ export declare function usePaginationContext(): PaginationContext;
19
+ //# sourceMappingURL=context.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../../../src/components/pagination/context.ts"],"names":[],"mappings":"AAAA,OAAO,EAAsC,KAAK,GAAG,EAAE,MAAM,KAAK,CAAA;AAClE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAA;AAE9C,MAAM,WAAW,iBAAiB;IAChC,KAAK,EAAE,QAAQ,CAAC,GAAG,CAAC,eAAe,CAAC,CAAC,CAAA;IACrC,OAAO,EAAE,QAAQ,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC,CAAA;IAC/B,IAAI,EAAE,QAAQ,CAAC,GAAG,CAAC,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC,CAAC,CAAA;IACvC,SAAS,EAAE,QAAQ,CAAC,GAAG,CAAC,KAAK,GAAG,KAAK,CAAC,CAAC,CAAA;IACvC,YAAY,EAAE,QAAQ,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC,CAAA;IACnC,aAAa,EAAE,QAAQ,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC,CAAA;IACrC,OAAO,EAAE,QAAQ,CAAC,GAAG,CAAC,KAAK,CAAC;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC,CAAC,CAAA;IAC/D,MAAM,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAA;IAC9B,MAAM,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAA;CACnC;AAID,eAAO,MAAM,iBAAiB,GAAI,SAAS,iBAAiB,SAA0B,CAAA;AACtF,wBAAgB,oBAAoB,sBAInC"}
@@ -0,0 +1,68 @@
1
+ export declare const pagination: import("tailwind-variants").TVReturnType<{
2
+ align: {
3
+ start: "justify-start";
4
+ center: "justify-center";
5
+ end: "justify-end";
6
+ between: "justify-between";
7
+ };
8
+ }, undefined, "flex w-full shrink-0 flex-wrap items-center gap-x-4 gap-y-3", {
9
+ align: {
10
+ start: "justify-start";
11
+ center: "justify-center";
12
+ end: "justify-end";
13
+ between: "justify-between";
14
+ };
15
+ }, undefined, import("tailwind-variants").TVReturnTypeLike<{
16
+ align: {
17
+ start: "justify-start";
18
+ center: "justify-center";
19
+ end: "justify-end";
20
+ between: "justify-between";
21
+ };
22
+ }, undefined>>;
23
+ export declare const paginationList: import("tailwind-variants").TVReturnType<{} | {} | {}, undefined, "relative isolate flex max-w-full flex-wrap items-center gap-1", {} | {}, undefined, import("tailwind-variants").TVReturnTypeLike<unknown, undefined>>;
24
+ export declare const paginationItem: import("tailwind-variants").TVReturnType<{
25
+ size: {
26
+ sm: "size-[var(--hn-control-h-sm)]";
27
+ md: "size-[var(--hn-control-h-md)]";
28
+ lg: "size-[var(--hn-control-h-lg)]";
29
+ };
30
+ selected: {
31
+ true: "bg-accent text-accent-on";
32
+ };
33
+ }, undefined, "min-w-0 px-0 tabular-nums [&>span]:min-w-0", {
34
+ size: {
35
+ sm: "size-[var(--hn-control-h-sm)]";
36
+ md: "size-[var(--hn-control-h-md)]";
37
+ lg: "size-[var(--hn-control-h-lg)]";
38
+ };
39
+ selected: {
40
+ true: "bg-accent text-accent-on";
41
+ };
42
+ }, undefined, import("tailwind-variants").TVReturnTypeLike<{
43
+ size: {
44
+ sm: "size-[var(--hn-control-h-sm)]";
45
+ md: "size-[var(--hn-control-h-md)]";
46
+ lg: "size-[var(--hn-control-h-lg)]";
47
+ };
48
+ selected: {
49
+ true: "bg-accent text-accent-on";
50
+ };
51
+ }, undefined>>;
52
+ export declare const paginationArrow: import("tailwind-variants").TVReturnType<{
53
+ dir: {
54
+ ltr: "";
55
+ rtl: "rotate-180";
56
+ };
57
+ }, undefined, undefined, {
58
+ dir: {
59
+ ltr: "";
60
+ rtl: "rotate-180";
61
+ };
62
+ }, undefined, import("tailwind-variants").TVReturnTypeLike<{
63
+ dir: {
64
+ ltr: "";
65
+ rtl: "rotate-180";
66
+ };
67
+ }, undefined>>;
68
+ //# sourceMappingURL=pagination.variants.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pagination.variants.d.ts","sourceRoot":"","sources":["../../../../src/components/pagination/pagination.variants.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;cAUrB,CAAA;AAEF,eAAO,MAAM,cAAc,0NAEzB,CAAA;AAEF,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;cAWzB,CAAA;AAEF,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;cAA4D,CAAA"}
@@ -0,0 +1,23 @@
1
+ export interface PaginationChange {
2
+ page: number;
3
+ pageSize: number;
4
+ }
5
+ export interface PaginationState extends PaginationChange {
6
+ total: number;
7
+ pageCount: number;
8
+ from: number;
9
+ to: number;
10
+ }
11
+ export type PaginationEntry = {
12
+ type: 'page';
13
+ value: number;
14
+ } | {
15
+ type: 'ellipsis';
16
+ };
17
+ export type PaginationSide = 'prev' | 'next';
18
+ export interface PaginationRange {
19
+ side: PaginationSide;
20
+ from: number;
21
+ to: number;
22
+ }
23
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/pagination/types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,gBAAgB;IAC/B,IAAI,EAAE,MAAM,CAAA;IACZ,QAAQ,EAAE,MAAM,CAAA;CACjB;AAED,MAAM,WAAW,eAAgB,SAAQ,gBAAgB;IACvD,KAAK,EAAE,MAAM,CAAA;IACb,SAAS,EAAE,MAAM,CAAA;IACjB,IAAI,EAAE,MAAM,CAAA;IACZ,EAAE,EAAE,MAAM,CAAA;CACX;AAED,MAAM,MAAM,eAAe,GAAG;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,GAAG;IAAE,IAAI,EAAE,UAAU,CAAA;CAAE,CAAA;AACpF,MAAM,MAAM,cAAc,GAAG,MAAM,GAAG,MAAM,CAAA;AAC5C,MAAM,WAAW,eAAe;IAC9B,IAAI,EAAE,cAAc,CAAA;IACpB,IAAI,EAAE,MAAM,CAAA;IACZ,EAAE,EAAE,MAAM,CAAA;CACX"}
@@ -0,0 +1,3 @@
1
+ import type { PaginationEntry, PaginationRange } from '../types';
2
+ export declare function paginationRanges(items: PaginationEntry[]): PaginationRange[];
3
+ //# sourceMappingURL=ranges.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ranges.d.ts","sourceRoot":"","sources":["../../../../../src/components/pagination/utils/ranges.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,eAAe,EAAE,MAAM,UAAU,CAAA;AAEhE,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,eAAe,EAAE,GAAG,eAAe,EAAE,CAS5E"}
@@ -3,6 +3,7 @@ type __VLS_Props = {
3
3
  min?: number;
4
4
  max?: number;
5
5
  step?: number;
6
+ dir?: 'ltr' | 'rtl';
6
7
  minSteps?: number;
7
8
  marks?: Array<{
8
9
  value: number;
@@ -1 +1 @@
1
- {"version":3,"file":"RangeSlider.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/range-slider/RangeSlider.vue"],"names":[],"mappings":"AA2IE,OAAO,EAKL,KAAK,cAAc,EACpB,MAAM,2BAA2B,CAAA;AAIlC,KAAK,WAAW,GAAG;IACf,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,KAAK,CAAC,EAAE,KAAK,CAAC;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,KAAK,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC,CAAA;IAChD,KAAK,CAAC,EAAE,MAAM,GAAG,QAAQ,GAAG,MAAM,CAAA;IAClC,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,MAAM,CAAA;IAClC,IAAI,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,CAAA;IAC7B,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,CAAC;AAsCN,KAAK,gBAAgB,GAAG;IACxB,UAAU,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CAC7B,CAAC;AAMF,KAAK,iBAAiB,GAAG,WAAW,GAAG,gBAAgB,CAAC;AAuLxD,QAAA,MAAM,YAAY;;;;;;;WA1OJ,MAAM,GAAG,QAAQ,GAAG,MAAM;SAJ5B,MAAM;SADN,MAAM;UAEL,MAAM;cACF,MAAM;6EAgPrB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
1
+ {"version":3,"file":"RangeSlider.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/range-slider/RangeSlider.vue"],"names":[],"mappings":"AAkJE,OAAO,EAKL,KAAK,cAAc,EACpB,MAAM,2BAA2B,CAAA;AAIlC,KAAK,WAAW,GAAG;IACf,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,GAAG,CAAC,EAAE,KAAK,GAAG,KAAK,CAAA;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,KAAK,CAAC,EAAE,KAAK,CAAC;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,KAAK,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC,CAAA;IAChD,KAAK,CAAC,EAAE,MAAM,GAAG,QAAQ,GAAG,MAAM,CAAA;IAClC,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,MAAM,CAAA;IAClC,IAAI,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,CAAA;IAC7B,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,CAAC;AAuCN,KAAK,gBAAgB,GAAG;IACxB,UAAU,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CAC7B,CAAC;AAMF,KAAK,iBAAiB,GAAG,WAAW,GAAG,gBAAgB,CAAC;AA+LxD,QAAA,MAAM,YAAY;;;;;;;WAnPJ,MAAM,GAAG,QAAQ,GAAG,MAAM;SAL5B,MAAM;SADN,MAAM;UAEL,MAAM;cAEF,MAAM;6EAyPrB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -3,6 +3,7 @@ type __VLS_Props = {
3
3
  min?: number;
4
4
  max?: number;
5
5
  step?: number;
6
+ dir?: 'ltr' | 'rtl';
6
7
  marks?: Array<{
7
8
  value: number;
8
9
  label?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"Slider.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/slider/Slider.vue"],"names":[],"mappings":"AAyHE,OAAO,EAKL,KAAK,cAAc,EACpB,MAAM,mBAAmB,CAAA;AAI1B,KAAK,WAAW,GAAG;IACf,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,KAAK,CAAC,EAAE,KAAK,CAAC;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,KAAK,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC,CAAA;IAChD,KAAK,CAAC,EAAE,MAAM,GAAG,QAAQ,GAAG,MAAM,CAAA;IAClC,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,MAAM,CAAA;IAClC,IAAI,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,CAAA;IAC7B,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,CAAC;AAiCN,KAAK,gBAAgB,GAAG;IACxB,UAAU,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC;AAMF,KAAK,iBAAiB,GAAG,WAAW,GAAG,gBAAgB,CAAC;AA+JxD,QAAA,MAAM,YAAY;;;;;;;WA7MJ,MAAM,GAAG,QAAQ,GAAG,MAAM;SAH5B,MAAM;SADN,MAAM;UAEL,MAAM;6EAmNjB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
1
+ {"version":3,"file":"Slider.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/slider/Slider.vue"],"names":[],"mappings":"AAgIE,OAAO,EAKL,KAAK,cAAc,EACpB,MAAM,mBAAmB,CAAA;AAI1B,KAAK,WAAW,GAAG;IACf,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,GAAG,CAAC,EAAE,KAAK,GAAG,KAAK,CAAA;IACnB,KAAK,CAAC,EAAE,KAAK,CAAC;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,KAAK,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC,CAAA;IAChD,KAAK,CAAC,EAAE,MAAM,GAAG,QAAQ,GAAG,MAAM,CAAA;IAClC,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,MAAM,CAAA;IAClC,IAAI,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,CAAA;IAC7B,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,CAAC;AAkCN,KAAK,gBAAgB,GAAG;IACxB,UAAU,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC;AAMF,KAAK,iBAAiB,GAAG,WAAW,GAAG,gBAAgB,CAAC;AAuKxD,QAAA,MAAM,YAAY;;;;;;;WAtNJ,MAAM,GAAG,QAAQ,GAAG,MAAM;SAJ5B,MAAM;SADN,MAAM;UAEL,MAAM;6EA6NjB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -1 +1 @@
1
- {"version":3,"file":"slider.variants.d.ts","sourceRoot":"","sources":["../../../../src/components/slider/slider.variants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAM,KAAK,YAAY,EAAE,MAAM,cAAc,CAAA;AAEpD,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;cAYjB,CAAA;AAEF,eAAO,MAAM,UAAU,mKAKrB,CAAA;AAEF,eAAO,MAAM,WAAW,0MAEtB,CAAA;AAEF,eAAO,MAAM,WAAW,mKAKtB,CAAA;AAEF,eAAO,MAAM,kBAAkB,mKAM7B,CAAA;AAEF,eAAO,MAAM,WAAW,mKAOtB,CAAA;AAEF,eAAO,MAAM,WAAW,sPAEtB,CAAA;AAEF,eAAO,MAAM,UAAU,sOAErB,CAAA;AAEF,eAAO,MAAM,gBAAgB,wOAE3B,CAAA;AAEF,MAAM,MAAM,cAAc,GAAG,YAAY,CAAC,OAAO,MAAM,CAAC,CAAA"}
1
+ {"version":3,"file":"slider.variants.d.ts","sourceRoot":"","sources":["../../../../src/components/slider/slider.variants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAM,KAAK,YAAY,EAAE,MAAM,cAAc,CAAA;AAEpD,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;cAYjB,CAAA;AAEF,eAAO,MAAM,UAAU,mKAMrB,CAAA;AAEF,eAAO,MAAM,WAAW,0MAEtB,CAAA;AAEF,eAAO,MAAM,WAAW,mKAKtB,CAAA;AAEF,eAAO,MAAM,kBAAkB,mKAM7B,CAAA;AAEF,eAAO,MAAM,WAAW,mKAOtB,CAAA;AAEF,eAAO,MAAM,WAAW,sPAEtB,CAAA;AAEF,eAAO,MAAM,UAAU,sOAErB,CAAA;AAEF,eAAO,MAAM,gBAAgB,wOAE3B,CAAA;AAEF,MAAM,MAAM,cAAc,GAAG,YAAY,CAAC,OAAO,MAAM,CAAC,CAAA"}
@@ -1,24 +1,13 @@
1
- type __VLS_Props = {
2
- content?: string;
3
- side?: 'top' | 'right' | 'bottom' | 'left';
4
- align?: 'start' | 'center' | 'end';
5
- sideOffset?: number;
6
- open?: boolean;
7
- disabled?: boolean;
8
- class?: string;
9
- };
10
- declare var __VLS_14: {}, __VLS_28: {};
1
+ import type { TooltipProps } from './types';
2
+ declare var __VLS_14: {}, __VLS_22: {};
11
3
  type __VLS_Slots = {} & {
12
4
  default?: (props: typeof __VLS_14) => any;
13
5
  } & {
14
- content?: (props: typeof __VLS_28) => any;
6
+ content?: (props: typeof __VLS_22) => any;
15
7
  };
16
- declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
8
+ declare const __VLS_base: import("vue").DefineComponent<TooltipProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<TooltipProps> & Readonly<{}>, {
17
9
  open: boolean;
18
10
  disabled: boolean;
19
- side: "top" | "right" | "bottom" | "left";
20
- align: "start" | "center" | "end";
21
- sideOffset: number;
22
11
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
23
12
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
24
13
  declare const _default: typeof __VLS_export;