@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
@@ -1,4 +1,5 @@
1
1
  type __VLS_Props = {
2
+ anchor?: HTMLElement | null;
2
3
  side?: 'top' | 'right' | 'bottom' | 'left';
3
4
  align?: 'start' | 'center' | 'end';
4
5
  sideOffset?: number;
@@ -6,17 +7,16 @@ type __VLS_Props = {
6
7
  closeDelay?: number;
7
8
  padded?: boolean;
8
9
  class?: string;
10
+ positionerClass?: string;
11
+ };
12
+ type __VLS_Slots = {
13
+ default?(): unknown;
14
+ content?(): unknown;
9
15
  };
10
16
  type __VLS_ModelProps = {
11
17
  'open'?: boolean;
12
18
  };
13
19
  type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
14
- declare var __VLS_14: {}, __VLS_34: {};
15
- type __VLS_Slots = {} & {
16
- default?: (props: typeof __VLS_14) => any;
17
- } & {
18
- content?: (props: typeof __VLS_34) => any;
19
- };
20
20
  declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
21
21
  "update:open": (value: boolean | undefined) => any;
22
22
  }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
@@ -26,8 +26,8 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {
26
26
  align: "start" | "center" | "end";
27
27
  sideOffset: number;
28
28
  padded: boolean;
29
- openDelay: number;
30
29
  closeDelay: number;
30
+ openDelay: number;
31
31
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
32
32
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
33
33
  declare const _default: typeof __VLS_export;
@@ -1 +1 @@
1
- {"version":3,"file":"HoverCard.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/hover-card/HoverCard.vue"],"names":[],"mappings":"AA8DE,KAAK,WA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VLS_1: {
8
+ reference: HTMLElement | {
9
+ getBoundingClientRect: () => DOMRect;
10
+ contextElement: HTMLElement;
11
+ } | undefined;
12
+ contentRef: (value: Element | import("vue").ComponentPublicInstance | null) => void;
13
+ present: boolean;
14
+ };
15
+ type __VLS_Slots = {} & {
16
+ default?: (props: typeof __VLS_1) => 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=HoverCardAnchor.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"HoverCardAnchor.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/hover-card/HoverCardAnchor.vue"],"names":[],"mappings":"AAsBE,KAAK,WAAW,GAAG;IACjB,MAAM,CAAC,EAAE,WAAW,GAAG,IAAI,CAAA;IAC3B,QAAQ,EAAE,OAAO,CAAA;IACjB,UAAU,EAAE,MAAM,CAAA;IAClB,eAAe,CAAC,EAAE,MAAM,CAAA;CACzB,CAAC;AA6BJ,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;AAG/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,17 @@
1
+ import { type ComponentPublicInstance } from 'vue';
2
+ interface HoverCardAnchorOptions {
3
+ anchor?: HTMLElement | null;
4
+ external: boolean;
5
+ closeDelay: number;
6
+ positionerClass?: string;
7
+ }
8
+ export declare function useHoverCardAnchor(props: HoverCardAnchorOptions): {
9
+ reference: import("vue").ComputedRef<HTMLElement | {
10
+ getBoundingClientRect: () => DOMRect;
11
+ contextElement: HTMLElement;
12
+ } | undefined>;
13
+ contentRef: (value: Element | ComponentPublicInstance | null) => void;
14
+ present: import("vue").ComputedRef<boolean>;
15
+ };
16
+ export {};
17
+ //# sourceMappingURL=useHoverCardAnchor.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useHoverCardAnchor.d.ts","sourceRoot":"","sources":["../../../../../src/components/hover-card/composables/useHoverCardAnchor.ts"],"names":[],"mappings":"AAAA,OAAO,EAA+C,KAAK,uBAAuB,EAAE,MAAM,KAAK,CAAA;AAO/F,UAAU,sBAAsB;IAC9B,MAAM,CAAC,EAAE,WAAW,GAAG,IAAI,CAAA;IAC3B,QAAQ,EAAE,OAAO,CAAA;IACjB,UAAU,EAAE,MAAM,CAAA;IAClB,eAAe,CAAC,EAAE,MAAM,CAAA;CACzB;AAED,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,sBAAsB;;+BAWrC,MAAM,OAAO;wBACpB,WAAW;;wBA+HF,OAAO,GAAG,uBAAuB,GAAG,IAAI;;EAMpE"}
@@ -1,4 +1,5 @@
1
1
  import { type StyleValue } from 'vue';
2
+ import type { LightboxItem } from '../lightbox/types';
2
3
  import { type ImageVariants } from './image.variants';
3
4
  type __VLS_Props = {
4
5
  src?: string;
@@ -11,6 +12,7 @@ type __VLS_Props = {
11
12
  skeleton?: boolean;
12
13
  eager?: boolean;
13
14
  preview?: boolean | string;
15
+ previewSize?: LightboxItem['previewSize'];
14
16
  draggable?: boolean;
15
17
  class?: string;
16
18
  style?: StyleValue;
@@ -42,9 +44,9 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {},
42
44
  lazy: boolean;
43
45
  fit: "fill" | "none" | "cover" | "contain" | "scale-down";
44
46
  alt: string;
47
+ eager: boolean;
45
48
  rootMargin: string;
46
49
  skeleton: boolean;
47
- eager: boolean;
48
50
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
49
51
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
50
52
  declare const _default: typeof __VLS_export;
@@ -1 +1 @@
1
- {"version":3,"file":"Image.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/image/Image.vue"],"names":[],"mappings":"AA0IE,OAAO,EAAuD,KAAK,UAAU,EAAE,MAAM,KAAK,CAAA;AAO1F,OAAO,EAAoB,KAAK,aAAa,EAAE,MAAM,kBAAkB,CAAA;AAOvE,KAAK,WAAW,GAAG;IACf,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,GAAG,CAAC,EAAE,aAAa,CAAC,KAAK,CAAC,CAAA;IAC1B,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,OAAO,CAAC,EAAE,OAAO,GAAG,MAAM,CAAA;IAC1B,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,KAAK,CAAC,EAAE,UAAU,CAAA;IAClB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,UAAU,CAAC,EAAE,UAAU,CAAA;CACxB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ChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"useImageGroupState.d.ts","sourceRoot":"","sources":["../../../../../src/components/image/composables/useImageGroupState.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;AAGxD,wBAAgB,kBAAkB;;;;EA8BjC"}
1
+ {"version":3,"file":"useImageGroupState.d.ts","sourceRoot":"","sources":["../../../../../src/components/image/composables/useImageGroupState.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;AAGxD,wBAAgB,kBAAkB;;;;EAsCjC"}
@@ -3,7 +3,7 @@ export declare const imageRoot: import("tailwind-variants").TVReturnType<{
3
3
  preview: {
4
4
  true: "hn-focus-ring cursor-zoom-in";
5
5
  };
6
- }, undefined, "relative block w-full overflow-hidden", {
6
+ }, undefined, "relative isolate block w-full overflow-hidden", {
7
7
  preview: {
8
8
  true: "hn-focus-ring cursor-zoom-in";
9
9
  };
@@ -1 +1 @@
1
- {"version":3,"file":"Lightbox.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/lightbox/Lightbox.vue"],"names":[],"mappings":"AAiRE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AAI3C,KAAK,WAAW,GAAG;IACjB,KAAK,EAAE,YAAY,EAAE,CAAA;IACrB,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,CAAC;AA4JJ,KAAK,gBAAgB,GAAG;IACxB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAMF,KAAK,iBAAiB,GAAG,WAAW,GAAG,gBAAgB,CAAC;AAoTxD,QAAA,MAAM,YAAY;;;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
1
+ {"version":3,"file":"Lightbox.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/lightbox/Lightbox.vue"],"names":[],"mappings":"AAwRE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AAI3C,KAAK,WAAW,GAAG;IACjB,KAAK,EAAE,YAAY,EAAE,CAAA;IACrB,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,CAAC;AAmKJ,KAAK,gBAAgB,GAAG;IACxB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAMF,KAAK,iBAAiB,GAAG,WAAW,GAAG,gBAAgB,CAAC;AA+TxD,QAAA,MAAM,YAAY;;;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -4,6 +4,8 @@ type __VLS_Props = {
4
4
  items: LightboxItem[];
5
5
  index: number;
6
6
  zoomed: boolean;
7
+ canZoomIn: boolean;
8
+ atOriginal: boolean;
7
9
  waiting: boolean;
8
10
  loop: boolean;
9
11
  presence: MotionValue<number>;
@@ -21,6 +23,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {
21
23
  zoomOut: () => any;
22
24
  download: () => any;
23
25
  reset: () => any;
26
+ original: () => any;
24
27
  }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
25
28
  onRotate?: (() => any) | undefined;
26
29
  onSelect?: ((index: number) => any) | undefined;
@@ -30,6 +33,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {
30
33
  onZoomOut?: (() => any) | undefined;
31
34
  onDownload?: (() => any) | undefined;
32
35
  onReset?: (() => any) | undefined;
36
+ onOriginal?: (() => any) | undefined;
33
37
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
34
38
  declare const _default: typeof __VLS_export;
35
39
  export default _default;
@@ -1 +1 @@
1
- {"version":3,"file":"LightboxChrome.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/lightbox/LightboxChrome.vue"],"names":[],"mappings":"AAqHE,OAAO,EAAU,KAAK,WAAW,EAAE,MAAM,UAAU,CAAA;AAQnD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AAI3C,KAAK,WAAW,GAAG;IACjB,KAAK,EAAE,YAAY,EAAE,CAAA;IACrB,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,EAAE,OAAO,CAAA;IACf,OAAO,EAAE,OAAO,CAAA;IAChB,IAAI,EAAE,OAAO,CAAA;IACb,QAAQ,EAAE,WAAW,CAAC,MAAM,CAAC,CAAA;IAC7B,IAAI,EAAE;QAAE,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;QAAC,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAA;KAAE,CAAA;CACzD,CAAC;AA2YJ,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
1
+ {"version":3,"file":"LightboxChrome.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/lightbox/LightboxChrome.vue"],"names":[],"mappings":"AA2HE,OAAO,EAAU,KAAK,WAAW,EAAE,MAAM,UAAU,CAAA;AAQnD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AAI3C,KAAK,WAAW,GAAG;IACjB,KAAK,EAAE,YAAY,EAAE,CAAA;IACrB,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,EAAE,OAAO,CAAA;IACf,SAAS,EAAE,OAAO,CAAA;IAClB,UAAU,EAAE,OAAO,CAAA;IACnB,OAAO,EAAE,OAAO,CAAA;IAChB,IAAI,EAAE,OAAO,CAAA;IACb,QAAQ,EAAE,WAAW,CAAC,MAAM,CAAC,CAAA;IAC7B,IAAI,EAAE;QAAE,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;QAAC,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAA;KAAE,CAAA;CACzD,CAAC;AA4ZJ,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -3,6 +3,8 @@ type __VLS_Props = {
3
3
  items: LightboxItem[];
4
4
  index: number;
5
5
  zoomed: boolean;
6
+ canZoomIn: boolean;
7
+ atOriginal: boolean;
6
8
  };
7
9
  declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
8
10
  rotate: () => any;
@@ -11,6 +13,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {
11
13
  zoomOut: () => any;
12
14
  download: () => any;
13
15
  reset: () => any;
16
+ original: () => any;
14
17
  }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
15
18
  onRotate?: (() => any) | undefined;
16
19
  onSelect?: ((index: number) => any) | undefined;
@@ -18,6 +21,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {
18
21
  onZoomOut?: (() => any) | undefined;
19
22
  onDownload?: (() => any) | undefined;
20
23
  onReset?: (() => any) | undefined;
24
+ onOriginal?: (() => any) | undefined;
21
25
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
22
26
  declare const _default: typeof __VLS_export;
23
27
  export default _default;
@@ -1 +1 @@
1
- {"version":3,"file":"LightboxToolbar.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/lightbox/LightboxToolbar.vue"],"names":[],"mappings":"AAgFE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AAI3C,KAAK,WAAW,GAAG;IACjB,KAAK,EAAE,YAAY,EAAE,CAAA;IACrB,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,EAAE,OAAO,CAAA;CAChB,CAAC;AAsRJ,QAAA,MAAM,YAAY;;;;;;;;;;;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
1
+ {"version":3,"file":"LightboxToolbar.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/lightbox/LightboxToolbar.vue"],"names":[],"mappings":"AA8FE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AAI3C,KAAK,WAAW,GAAG;IACjB,KAAK,EAAE,YAAY,EAAE,CAAA;IACrB,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,EAAE,OAAO,CAAA;IACf,SAAS,EAAE,OAAO,CAAA;IAClB,UAAU,EAAE,OAAO,CAAA;CACpB,CAAC;AAkUJ,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -3,10 +3,13 @@ import { type Rect } from '../utils/pose';
3
3
  import type { Size } from '../utils/zoom';
4
4
  export declare function useLightboxFrames(items: () => LightboxItem[]): {
5
5
  stage: import("vue").ShallowRef<Size, Size>;
6
+ area: import("vue").ShallowRef<Rect, Rect>;
6
7
  measure: (el: HTMLElement | undefined) => void;
7
- read: () => void;
8
+ read: (current?: () => LightboxItem | undefined) => Promise<void> | undefined;
8
9
  learn: (id: string, img: HTMLImageElement) => void;
10
+ learnPreview: (item: LightboxItem | undefined, img: HTMLImageElement | undefined) => void;
9
11
  naturalOf: (item: LightboxItem | undefined) => Size | undefined;
12
+ displayOf: (item: LightboxItem | undefined) => Size | undefined;
10
13
  frameOf: (item: LightboxItem | undefined) => Rect;
11
14
  };
12
15
  //# sourceMappingURL=useLightboxFrames.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useLightboxFrames.d.ts","sourceRoot":"","sources":["../../../../../src/components/lightbox/composables/useLightboxFrames.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,UAAU,CAAA;AAC5C,OAAO,EAAW,KAAK,IAAI,EAAE,MAAM,eAAe,CAAA;AAClD,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,eAAe,CAAA;AAEzC,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,MAAM,YAAY,EAAE;;kBAItC,WAAW,GAAG,SAAS;;gBAazB,MAAM,OAAO,gBAAgB;sBAKvB,YAAY,GAAG,SAAS,KAAG,IAAI,GAAG,SAAS;oBAI7C,YAAY,GAAG,SAAS,KAAG,IAAI;EAMvD"}
1
+ {"version":3,"file":"useLightboxFrames.d.ts","sourceRoot":"","sources":["../../../../../src/components/lightbox/composables/useLightboxFrames.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,UAAU,CAAA;AAC5C,OAAO,EAAW,KAAK,IAAI,EAAE,MAAM,eAAe,CAAA;AAClD,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,eAAe,CAAA;AAczC,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,MAAM,YAAY,EAAE;;;kBAOtC,WAAW,GAAG,SAAS;qBAuBpB,MAAM,YAAY,GAAG,SAAS,KAAG,OAAO,CAAC,IAAI,CAAC,GAAG,SAAS;gBAkC/D,MAAM,OAAO,gBAAgB;yBAoBpB,YAAY,GAAG,SAAS,OAAO,gBAAgB,GAAG,SAAS;sBAN9D,YAAY,GAAG,SAAS,KAAG,IAAI,GAAG,SAAS;sBAmB3C,YAAY,GAAG,SAAS,KAAG,IAAI,GAAG,SAAS;oBAQ7C,YAAY,GAAG,SAAS,KAAG,IAAI;EAWvD"}
@@ -4,5 +4,6 @@ export declare function useLightboxLarge(item: () => LightboxItem | undefined, a
4
4
  src: import("vue").ShallowRef<string | undefined, string | undefined>;
5
5
  ready: import("vue").ShallowRef<boolean, boolean>;
6
6
  waiting: import("vue").ShallowRef<boolean, boolean>;
7
+ image: import("vue").ShallowRef<HTMLImageElement | undefined, HTMLImageElement | undefined>;
7
8
  };
8
9
  //# sourceMappingURL=useLightboxLarge.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useLightboxLarge.d.ts","sourceRoot":"","sources":["../../../../../src/components/lightbox/composables/useLightboxLarge.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,UAAU,CAAA;AAE5C,eAAO,MAAM,mBAAmB,MAAM,CAAA;AAEtC,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,MAAM,YAAY,GAAG,SAAS,EAAE,MAAM,EAAE,MAAM,OAAO;;;;EAwD3F"}
1
+ {"version":3,"file":"useLightboxLarge.d.ts","sourceRoot":"","sources":["../../../../../src/components/lightbox/composables/useLightboxLarge.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,UAAU,CAAA;AAE5C,eAAO,MAAM,mBAAmB,MAAM,CAAA;AAEtC,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,MAAM,YAAY,GAAG,SAAS,EAAE,MAAM,EAAE,MAAM,OAAO;;;;;EA2D3F"}
@@ -0,0 +1,17 @@
1
+ import type { LightboxItem } from '../types';
2
+ import type { useLightboxFrames } from './useLightboxFrames';
3
+ import type { useLightboxLarge } from './useLightboxLarge';
4
+ import type { useLightboxPhase } from './useLightboxPhase';
5
+ import type { useLightboxZoom } from './useLightboxZoom';
6
+ export declare function useLightboxLayout(options: {
7
+ stage: () => HTMLElement | undefined;
8
+ current: () => LightboxItem | undefined;
9
+ frames: ReturnType<typeof useLightboxFrames>;
10
+ large: ReturnType<typeof useLightboxLarge>;
11
+ phase: ReturnType<typeof useLightboxPhase>;
12
+ zoom: ReturnType<typeof useLightboxZoom>;
13
+ measure: () => void;
14
+ }): {
15
+ learn: (id: string, img: HTMLImageElement) => void;
16
+ };
17
+ //# sourceMappingURL=useLightboxLayout.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useLightboxLayout.d.ts","sourceRoot":"","sources":["../../../../../src/components/lightbox/composables/useLightboxLayout.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,UAAU,CAAA;AAC5C,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAA;AAC5D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAA;AAC1D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAA;AAC1D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;AAExD,wBAAgB,iBAAiB,CAAC,OAAO,EAAE;IACzC,KAAK,EAAE,MAAM,WAAW,GAAG,SAAS,CAAA;IACpC,OAAO,EAAE,MAAM,YAAY,GAAG,SAAS,CAAA;IACvC,MAAM,EAAE,UAAU,CAAC,OAAO,iBAAiB,CAAC,CAAA;IAC5C,KAAK,EAAE,UAAU,CAAC,OAAO,gBAAgB,CAAC,CAAA;IAC1C,KAAK,EAAE,UAAU,CAAC,OAAO,gBAAgB,CAAC,CAAA;IAC1C,IAAI,EAAE,UAAU,CAAC,OAAO,eAAe,CAAC,CAAA;IACxC,OAAO,EAAE,MAAM,IAAI,CAAA;CACpB;gBASoB,MAAM,OAAO,gBAAgB;EAkBjD"}
@@ -8,7 +8,7 @@ export declare function useLightboxPhase(options: {
8
8
  locked: Ref<boolean>;
9
9
  motion: ReturnType<typeof useLightboxMotion>;
10
10
  pose: () => Pose | null;
11
- prepare: () => void;
11
+ prepare: () => void | Promise<void>;
12
12
  layout: () => void;
13
13
  }): {
14
14
  current: () => LightboxPhase;
@@ -1 +1 @@
1
- {"version":3,"file":"useLightboxPhase.d.ts","sourceRoot":"","sources":["../../../../../src/components/lightbox/composables/useLightboxPhase.ts"],"names":[],"mappings":"AAAA,OAAO,EAAwB,KAAK,GAAG,EAAE,MAAM,KAAK,CAAA;AACpD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAA;AAC5D,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,eAAe,CAAA;AAEzC,MAAM,MAAM,aAAa,GAAG,QAAQ,GAAG,UAAU,GAAG,MAAM,GAAG,SAAS,CAAA;AAEtE,wBAAgB,gBAAgB,CAAC,OAAO,EAAE;IACxC,IAAI,EAAE,GAAG,CAAC,OAAO,CAAC,CAAA;IAClB,OAAO,EAAE,GAAG,CAAC,OAAO,CAAC,CAAA;IACrB,MAAM,EAAE,GAAG,CAAC,OAAO,CAAC,CAAA;IACpB,MAAM,EAAE,UAAU,CAAC,OAAO,iBAAiB,CAAC,CAAA;IAC5C,IAAI,EAAE,MAAM,IAAI,GAAG,IAAI,CAAA;IACvB,OAAO,EAAE,MAAM,IAAI,CAAA;IACnB,MAAM,EAAE,MAAM,IAAI,CAAA;CACnB;;;;;;EA4CA"}
1
+ {"version":3,"file":"useLightboxPhase.d.ts","sourceRoot":"","sources":["../../../../../src/components/lightbox/composables/useLightboxPhase.ts"],"names":[],"mappings":"AAAA,OAAO,EAAwC,KAAK,GAAG,EAAE,MAAM,KAAK,CAAA;AACpE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAA;AAC5D,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,eAAe,CAAA;AAEzC,MAAM,MAAM,aAAa,GAAG,QAAQ,GAAG,UAAU,GAAG,MAAM,GAAG,SAAS,CAAA;AAEtE,wBAAgB,gBAAgB,CAAC,OAAO,EAAE;IACxC,IAAI,EAAE,GAAG,CAAC,OAAO,CAAC,CAAA;IAClB,OAAO,EAAE,GAAG,CAAC,OAAO,CAAC,CAAA;IACrB,MAAM,EAAE,GAAG,CAAC,OAAO,CAAC,CAAA;IACpB,MAAM,EAAE,UAAU,CAAC,OAAO,iBAAiB,CAAC,CAAA;IAC5C,IAAI,EAAE,MAAM,IAAI,GAAG,IAAI,CAAA;IACvB,OAAO,EAAE,MAAM,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAA;IACnC,MAAM,EAAE,MAAM,IAAI,CAAA;CACnB;;;;;;EAoDA"}
@@ -1 +1 @@
1
- {"version":3,"file":"useLightboxPose.d.ts","sourceRoot":"","sources":["../../../../../src/components/lightbox/composables/useLightboxPose.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAA;AAC5D,OAAO,EAAY,KAAK,IAAI,EAAa,MAAM,eAAe,CAAA;AAE9D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,UAAU,CAAA;AAE5C,wBAAgB,eAAe,CAC7B,MAAM,EAAE,UAAU,CAAC,OAAO,iBAAiB,CAAC,EAC5C,OAAO,EAAE,MAAM,YAAY,GAAG,SAAS;sBAmBhB,IAAI,GAAG,IAAI;EAWnC"}
1
+ {"version":3,"file":"useLightboxPose.d.ts","sourceRoot":"","sources":["../../../../../src/components/lightbox/composables/useLightboxPose.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAA;AAC5D,OAAO,EAAY,KAAK,IAAI,EAAE,MAAM,eAAe,CAAA;AAGnD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,UAAU,CAAA;AAE5C,wBAAgB,eAAe,CAC7B,MAAM,EAAE,UAAU,CAAC,OAAO,iBAAiB,CAAC,EAC5C,OAAO,EAAE,MAAM,YAAY,GAAG,SAAS;sBAEhB,IAAI,GAAG,IAAI;EAyBnC"}
@@ -4,11 +4,15 @@ export declare function useLightboxRotation(frames: ReturnType<typeof useLightbo
4
4
  rotationOf: (item: LightboxItem | undefined) => number;
5
5
  baseOf: (item: LightboxItem | undefined) => number;
6
6
  geometry: () => {
7
+ original: number;
8
+ secondary: number;
9
+ max: number;
7
10
  fit: {
8
11
  width: number;
9
12
  height: number;
10
13
  };
11
- stage: import("../utils/zoom").Size;
14
+ frame: import("../utils/pose").Rect;
15
+ stage: import("../utils/pose").Rect;
12
16
  base: number;
13
17
  };
14
18
  clear: () => void;
@@ -1 +1 @@
1
- {"version":3,"file":"useLightboxRotation.d.ts","sourceRoot":"","sources":["../../../../../src/components/lightbox/composables/useLightboxRotation.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAA;AAG5D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,UAAU,CAAA;AAE5C,wBAAgB,mBAAmB,CACjC,MAAM,EAAE,UAAU,CAAC,OAAO,iBAAiB,CAAC,EAC5C,OAAO,EAAE,MAAM,YAAY,GAAG,SAAS;uBAIb,YAAY,GAAG,SAAS,KAAG,MAAM;mBAIrC,YAAY,GAAG,SAAS,KAAG,MAAM;;;;;;;;;;mBAmBnC,MAAM;iBAON,YAAY,GAAG,SAAS;EAK7C"}
1
+ {"version":3,"file":"useLightboxRotation.d.ts","sourceRoot":"","sources":["../../../../../src/components/lightbox/composables/useLightboxRotation.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAA;AAG5D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,UAAU,CAAA;AAE5C,wBAAgB,mBAAmB,CACjC,MAAM,EAAE,UAAU,CAAC,OAAO,iBAAiB,CAAC,EAC5C,OAAO,EAAE,MAAM,YAAY,GAAG,SAAS;uBAIb,YAAY,GAAG,SAAS,KAAG,MAAM;mBAIrC,YAAY,GAAG,SAAS,KAAG,MAAM;;;;;;;;;;;;;;mBA6BnC,MAAM;iBAON,YAAY,GAAG,SAAS;EAK7C"}
@@ -9,10 +9,19 @@ export interface PinchStart {
9
9
  }
10
10
  export declare function useLightboxZoom(motion: ReturnType<typeof useLightboxMotion>, geometry: () => {
11
11
  fit: Size;
12
+ frame: Size;
12
13
  stage: Size;
13
14
  base: number;
15
+ original: number;
16
+ secondary: number;
17
+ max: number;
14
18
  }): {
15
- zoomed: import("vue").ShallowRef<boolean, boolean>;
19
+ zoomed: import("vue").ComputedRef<boolean>;
20
+ canZoomIn: import("vue").ComputedRef<boolean>;
21
+ canToggle: import("vue").ComputedRef<boolean>;
22
+ atOriginal: import("vue").ComputedRef<boolean>;
23
+ original: () => void;
24
+ reflow: (update: () => void) => void;
16
25
  zoom: () => number;
17
26
  isZoomed: () => boolean;
18
27
  zoomTo: (level: number, focal: Point, name?: TransitionName) => void;
@@ -1 +1 @@
1
- {"version":3,"file":"useLightboxZoom.d.ts","sourceRoot":"","sources":["../../../../../src/components/lightbox/composables/useLightboxZoom.ts"],"names":[],"mappings":"AAEA,OAAO,EAAwB,KAAK,cAAc,EAAE,MAAM,iBAAiB,CAAA;AAC3E,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAA;AAE5D,OAAO,EAcL,KAAK,KAAK,EACV,KAAK,IAAI,EACV,MAAM,eAAe,CAAA;AAEtB,MAAM,WAAW,UAAU;IACzB,QAAQ,EAAE,MAAM,CAAA;IAChB,IAAI,EAAE,MAAM,CAAA;IACZ,GAAG,EAAE,KAAK,CAAA;IACV,MAAM,EAAE,KAAK,CAAA;CACd;AAED,wBAAgB,eAAe,CAC7B,MAAM,EAAE,UAAU,CAAC,OAAO,iBAAiB,CAAC,EAC5C,QAAQ,EAAE,MAAM;IAAE,GAAG,EAAE,IAAI,CAAC;IAAC,KAAK,EAAE,IAAI,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAE;;;;oBAmCjC,MAAM,SAAS,KAAK,SAAQ,cAAc;sBAQxC,CAAC,GAAG,CAAC,CAAC;;mBAQT,MAAM,SAAS,KAAK,YAAY,OAAO;uBAMnC,KAAK;mBAIT,UAAU,OAAO,KAAK,SAAS,MAAM;oBAMpC,KAAK;kBAIP,KAAK,SAAS,KAAK;;EA4CzC"}
1
+ {"version":3,"file":"useLightboxZoom.d.ts","sourceRoot":"","sources":["../../../../../src/components/lightbox/composables/useLightboxZoom.ts"],"names":[],"mappings":"AAEA,OAAO,EAAwB,KAAK,cAAc,EAAE,MAAM,iBAAiB,CAAA;AAC3E,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAA;AAE5D,OAAO,EAeL,KAAK,KAAK,EACV,KAAK,IAAI,EACV,MAAM,eAAe,CAAA;AAEtB,MAAM,WAAW,UAAU;IACzB,QAAQ,EAAE,MAAM,CAAA;IAChB,IAAI,EAAE,MAAM,CAAA;IACZ,GAAG,EAAE,KAAK,CAAA;IACV,MAAM,EAAE,KAAK,CAAA;CACd;AAED,wBAAgB,eAAe,CAC7B,MAAM,EAAE,UAAU,CAAC,OAAO,iBAAiB,CAAC,EAC5C,QAAQ,EAAE,MAAM;IACd,GAAG,EAAE,IAAI,CAAA;IACT,KAAK,EAAE,IAAI,CAAA;IACX,KAAK,EAAE,IAAI,CAAA;IACX,IAAI,EAAE,MAAM,CAAA;IACZ,QAAQ,EAAE,MAAM,CAAA;IAChB,SAAS,EAAE,MAAM,CAAA;IACjB,GAAG,EAAE,MAAM,CAAA;CACZ;;;;;;qBA2EuB,MAAM,IAAI;;;oBApCX,MAAM,SAAS,KAAK,SAAQ,cAAc;sBAQxC,CAAC,GAAG,CAAC,CAAC;;mBAQT,MAAM,SAAS,KAAK,YAAY,OAAO;uBAMnC,KAAK;mBAIT,UAAU,OAAO,KAAK,SAAS,MAAM;oBAMpC,KAAK;kBA4BP,KAAK,SAAS,KAAK;;EAiDzC"}
@@ -0,0 +1,2 @@
1
+ export declare const lightboxStage: import("tailwind-variants").TVReturnType<{} | {} | {}, undefined, "dark fixed inset-0 z-(--hn-z-overlay) touch-none p-4 outline-none select-none sm:p-6", {} | {}, undefined, import("tailwind-variants").TVReturnTypeLike<unknown, undefined>>;
2
+ //# sourceMappingURL=lightbox.variants.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"lightbox.variants.d.ts","sourceRoot":"","sources":["../../../../src/components/lightbox/lightbox.variants.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,aAAa,iPAExB,CAAA"}
@@ -1,10 +1,16 @@
1
1
  import type { ImageVariants } from '../image/image.variants';
2
+ import type { Rect } from './utils/pose';
3
+ export type LightboxSource = HTMLImageElement | Rect;
2
4
  export interface LightboxItem {
3
5
  id: string;
4
6
  src: string;
5
7
  preview?: string;
8
+ previewSize?: {
9
+ width: number;
10
+ height: number;
11
+ };
6
12
  alt: string;
7
13
  fit?: ImageVariants['fit'];
8
- source?: () => HTMLImageElement | null | undefined;
14
+ source?: () => LightboxSource | null | undefined;
9
15
  }
10
16
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/lightbox/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAA;AAE5D,MAAM,WAAW,YAAY;IAC3B,EAAE,EAAE,MAAM,CAAA;IACV,GAAG,EAAE,MAAM,CAAA;IACX,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,GAAG,EAAE,MAAM,CAAA;IACX,GAAG,CAAC,EAAE,aAAa,CAAC,KAAK,CAAC,CAAA;IAC1B,MAAM,CAAC,EAAE,MAAM,gBAAgB,GAAG,IAAI,GAAG,SAAS,CAAA;CACnD"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/lightbox/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAA;AAC5D,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,cAAc,CAAA;AAExC,MAAM,MAAM,cAAc,GAAG,gBAAgB,GAAG,IAAI,CAAA;AAEpD,MAAM,WAAW,YAAY;IAC3B,EAAE,EAAE,MAAM,CAAA;IACV,GAAG,EAAE,MAAM,CAAA;IACX,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,WAAW,CAAC,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE,CAAA;IAC/C,GAAG,EAAE,MAAM,CAAA;IACX,GAAG,CAAC,EAAE,aAAa,CAAC,KAAK,CAAC,CAAA;IAC1B,MAAM,CAAC,EAAE,MAAM,cAAc,GAAG,IAAI,GAAG,SAAS,CAAA;CACjD"}
@@ -29,10 +29,10 @@ export declare const DISMISS_SCALE = 0.7;
29
29
  export declare const DISMISS_TRAVEL = 0.3;
30
30
  export declare const DISMISS_COMMIT = 0.5;
31
31
  export declare const DISMISS_VELOCITY = 600;
32
- export declare function fitRect(natural: Size, stage: Size, rotation?: number): Rect;
32
+ export declare function fitRect(natural: Size, stage: Size & Partial<Pick<Rect, 'x' | 'y'>>, rotation?: number): Rect;
33
33
  export declare function renderedRect(box: Rect, natural: Size, fit?: ImageVariants['fit']): Rect;
34
34
  export declare function openPose(frame: Rect, box: Rect, natural: Size, fit?: ImageVariants['fit'], radius?: number | Corners, clipBox?: Rect): Pose;
35
- export declare function baseScale(frame: Size, stage: Size, rotation: number): number;
35
+ export declare function baseScale(frame: Size, stage: Size, rotation: number, natural: Size): number;
36
36
  export declare function dismissProgress(offsetY: number, stageHeight: number): number;
37
37
  export declare function shouldDismiss(offsetY: number, velocityY: number, stageHeight: number): boolean;
38
38
  //# sourceMappingURL=pose.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"pose.d.ts","sourceRoot":"","sources":["../../../../../src/components/lightbox/utils/pose.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAA;AAC/D,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,QAAQ,CAAA;AACrC,OAAO,EAAwB,KAAK,IAAI,EAAE,MAAM,QAAQ,CAAA;AAExD,MAAM,WAAW,IAAI;IACnB,CAAC,EAAE,MAAM,CAAA;IACT,CAAC,EAAE,MAAM,CAAA;IACT,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,EAAE,MAAM,CAAA;CACf;AAED,MAAM,WAAW,IAAI;IACnB,CAAC,EAAE,MAAM,CAAA;IACT,CAAC,EAAE,MAAM,CAAA;IACT,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,EAAE,MAAM,CAAA;IACd,QAAQ,EAAE,MAAM,CAAA;CACjB;AAED,eA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E,QAAQ,EAAE,MAAM,EAAE,OAAO,EAAE,IAAI,GAAG,MAAM,CAQ3F;AAED,wBAAgB,eAAe,CAAC,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,GAAG,MAAM,CAG5E;AAED,wBAAgB,aAAa,CAAC,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,GAAG,OAAO,CAG9F"}
@@ -0,0 +1,4 @@
1
+ import type { LightboxSource } from '../types';
2
+ import type { Rect } from './pose';
3
+ export declare function sourceRect(source: LightboxSource | null | undefined): Rect | null;
4
+ //# sourceMappingURL=source.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"source.d.ts","sourceRoot":"","sources":["../../../../../src/components/lightbox/utils/source.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,UAAU,CAAA;AAC9C,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAA;AAElC,wBAAgB,UAAU,CAAC,MAAM,EAAE,cAAc,GAAG,IAAI,GAAG,SAAS,GAAG,IAAI,GAAG,IAAI,CAajF"}
@@ -13,8 +13,7 @@ export interface Bounds {
13
13
  maxY: number;
14
14
  }
15
15
  export declare const ZOOM_MIN = 1;
16
- export declare const ZOOM_MAX = 6;
17
- export declare const ZOOM_DOUBLE_TAP = 2.5;
16
+ export declare const ZOOM_MAX = 2;
18
17
  export declare const ZOOM_STEP = 1.5;
19
18
  export declare const OVERSHOOT = 0.55;
20
19
  export declare const WHEEL_INTENSITY = 0.002;
@@ -31,6 +30,11 @@ export declare function clampZoom(zoom: number, min?: number, max?: number): num
31
30
  export declare function elasticZoom(zoom: number, min?: number, max?: number): number;
32
31
  export declare function pinchZoom(startZoom: number, startDistance: number, distance: number): number;
33
32
  export declare function wheelZoom(zoom: number, deltaY: number, intensity?: number): number;
34
- export declare function doubleTapZoom(zoom: number): number;
35
- export declare function stepZoom(zoom: number, direction: 1 | -1): number;
33
+ export declare function zoomLevels(natural: Size, fit: Size, stage: Size): {
34
+ original: number;
35
+ secondary: number;
36
+ max: number;
37
+ };
38
+ export declare function doubleTapZoom(zoom: number, secondary: number): number;
39
+ export declare function stepZoom(zoom: number, direction: 1 | -1, max?: number): number;
36
40
  //# sourceMappingURL=zoom.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"zoom.d.ts","sourceRoot":"","sources":["../../../../../src/components/lightbox/utils/zoom.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,IAAI;IACnB,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,EAAE,MAAM,CAAA;CACf;AAED,MAAM,WAAW,KAAK;IACpB,CAAC,EAAE,MAAM,CAAA;IACT,CAAC,EAAE,MAAM,CAAA;CACV;AAED,MAAM,WAAW,MAAM;IACrB,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,MAAM,CAAA;CACb;AAED,eAAO,MAAM,QAAQ,IAAI,CAAA;AACzB,eAAO,MAAM,QAAQ,IAAI,CAAA;AACzB,eAAO,MAAM,eAAe,MAAM,CAAA;AAClC,eAAO,MAAM,SAAS,MAAM,CAAA;AAC5B,eAAO,MAAM,SAAS,OAAO,CAAA;AAC7B,eAAO,MAAM,eAAe,QAAQ,CAAA;AAEpC,eAAO,MAAM,YAAY,QAAQ,CAAA;AAEjC,wBAAgB,QAAQ,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAE9C;AAED,wBAAgB,WAAW,CAAC,IAAI,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,GAAG,IAAI,CAG9D;AAED,wBAAgB,OAAO,CAAC,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,QAAQ,SAAI,GAAG,IAAI,CAKtE;AAED,wBAAgB,SAAS,CAAC,SAAS,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,GAAG,MAAM,CAI9D;AAED,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M,EAAE,MAAM,EAAE,KAAK,EAAE,IAAI,GAAG,KAAK,CAK/E;AAED,wBAAgB,SAAS,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,SAAW,EAAE,GAAG,SAAW,GAAG,MAAM,CAE9E;AAED,wBAAgB,WAAW,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,SAAW,EAAE,GAAG,SAAW,GAAG,MAAM,CAIhF;AAED,wBAAgB,SAAS,CAAC,SAAS,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,MAAM,CAG5F;AAED,wBAAgB,SAAS,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,SAAS,SAAkB,GAAG,MAAM,CAE3F;AAED,wBAAgB,UAAU,CAAC,OAAO,EAAE,IAAI,EAAE,GAAG,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI;;;;EAa/D;AAED,wBAAgB,aAAa,CAAC,IAAI,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,GAAG,MAAM,CAErE;AAED,wBAAgB,QAAQ,CAAC,IAAI,EAAE,MAAM,EAAE,SAAS,EAAE,CAAC,GAAG,CAAC,CAAC,EAAE,GAAG,SAAW,GAAG,MAAM,CAEhF"}
@@ -0,0 +1,59 @@
1
+ import type { PaginationChange, PaginationState } from './types';
2
+ type __VLS_Props = {
3
+ total: number;
4
+ itemCount?: number;
5
+ siblingCount?: number;
6
+ showEdges?: boolean;
7
+ showFirstLast?: boolean;
8
+ showInfo?: boolean;
9
+ showJump?: boolean;
10
+ hideSinglePage?: boolean;
11
+ pageSizeOptions?: number[];
12
+ pending?: boolean;
13
+ align?: 'start' | 'center' | 'end' | 'between';
14
+ size?: 'sm' | 'md' | 'lg';
15
+ disabled?: boolean;
16
+ dir?: 'ltr' | 'rtl';
17
+ label?: string;
18
+ class?: string;
19
+ };
20
+ type __VLS_Slots = {
21
+ default?(state: PaginationState): unknown;
22
+ list?(state: PaginationState): unknown;
23
+ page?(props: {
24
+ page: number;
25
+ selected: boolean;
26
+ }): unknown;
27
+ ellipsis?(props: {
28
+ side: 'prev' | 'next';
29
+ expanded: boolean;
30
+ }): unknown;
31
+ };
32
+ type __VLS_ModelProps = {
33
+ modelValue?: number;
34
+ 'pageSize'?: number;
35
+ };
36
+ type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
37
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
38
+ change: (value: PaginationChange) => any;
39
+ "update:modelValue": (value: number) => any;
40
+ "update:pageSize": (value: number) => any;
41
+ }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
42
+ onChange?: ((value: PaginationChange) => any) | undefined;
43
+ "onUpdate:modelValue"?: ((value: number) => any) | undefined;
44
+ "onUpdate:pageSize"?: ((value: number) => any) | undefined;
45
+ }>, {
46
+ size: "sm" | "md" | "lg";
47
+ align: "start" | "center" | "end" | "between";
48
+ siblingCount: number;
49
+ showEdges: boolean;
50
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
51
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
52
+ declare const _default: typeof __VLS_export;
53
+ export default _default;
54
+ type __VLS_WithSlots<T, S> = T & {
55
+ new (): {
56
+ $slots: S;
57
+ };
58
+ };
59
+ //# sourceMappingURL=Pagination.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Pagination.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/pagination/Pagination.vue"],"names":[],"mappings":"AAsIE,OAAO,KAAK,EAAE,gBAAgB,EAAE,eAAe,EAAE,MAAM,SAAS,CAAA;AAGhE,KAAK,WAAW,GAAG;IACf,KAAK,EAAE,MAAM,CAAA;IACb,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,SAAS,CA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G,KAAK,GAAG,SAAS;kBAR/B,MAAM;eACT,OAAO;6EAkPvB,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AAWzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
@@ -0,0 +1,23 @@
1
+ type __VLS_Props = {
2
+ class?: string;
3
+ };
4
+ type __VLS_Slots = {
5
+ page?(props: {
6
+ page: number;
7
+ selected: boolean;
8
+ }): unknown;
9
+ ellipsis?(props: {
10
+ side: 'prev' | 'next';
11
+ expanded: boolean;
12
+ }): unknown;
13
+ };
14
+ 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>;
15
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
16
+ declare const _default: typeof __VLS_export;
17
+ export default _default;
18
+ type __VLS_WithSlots<T, S> = T & {
19
+ new (): {
20
+ $slots: S;
21
+ };
22
+ };
23
+ //# sourceMappingURL=PaginationContent.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PaginationContent.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/pagination/PaginationContent.vue"],"names":[],"mappings":"AAsCE,KAAK,WAAW,GAAG;IAAE,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC;AAEtC,KAAK,WAAW,GAAG;IACjB,IAAI,CAAC,CAAC,KAAK,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,QAAQ,EAAE,OAAO,CAAA;KAAE,GAAG,OAAO,CAAA;IAC1D,QAAQ,CAAC,CAAC,KAAK,EAAE;QAAE,IAAI,EAAE,MAAM,GAAG,MAAM,CAAC;QAAC,QAAQ,EAAE,OAAO,CAAA;KAAE,GAAG,OAAO,CAAA;CACxE,CAAC;AA0FJ,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,10 @@
1
+ import type { ButtonVariants } from '../button/button.variants';
2
+ type __VLS_Props = {
3
+ action: 'first' | 'prev' | 'next' | 'last';
4
+ size?: ButtonVariants['size'];
5
+ dir: 'ltr' | 'rtl';
6
+ };
7
+ 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>;
8
+ declare const _default: typeof __VLS_export;
9
+ export default _default;
10
+ //# sourceMappingURL=PaginationControl.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PaginationControl.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/pagination/PaginationControl.vue"],"names":[],"mappings":"AAiDE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAA;AAK/D,KAAK,WAAW,GAAG;IACjB,MAAM,EAAE,OAAO,GAAG,MAAM,GAAG,MAAM,GAAG,MAAM,CAAA;IAC1C,IAAI,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,CAAA;IAC7B,GAAG,EAAE,KAAK,GAAG,KAAK,CAAA;CACnB,CAAC;AA8EJ,QAAA,MAAM,YAAY,kSAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -0,0 +1,23 @@
1
+ import type { PaginationRange } from './types';
2
+ import type { PaginationEllipsisController } from './composables/usePaginationEllipsis';
3
+ type __VLS_Props = {
4
+ range: PaginationRange;
5
+ controller: PaginationEllipsisController;
6
+ };
7
+ declare var __VLS_15: {
8
+ side: import("./types").PaginationSide;
9
+ expanded: boolean;
10
+ };
11
+ type __VLS_Slots = {} & {
12
+ default?: (props: typeof __VLS_15) => any;
13
+ };
14
+ 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>;
15
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
16
+ declare const _default: typeof __VLS_export;
17
+ export default _default;
18
+ type __VLS_WithSlots<T, S> = T & {
19
+ new (): {
20
+ $slots: S;
21
+ };
22
+ };
23
+ //# sourceMappingURL=PaginationEllipsis.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PaginationEllipsis.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/pagination/PaginationEllipsis.vue"],"names":[],"mappings":"AA4EE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAA;AAC9C,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,qCAAqC,CAAA;AAEvF,KAAK,WAAW,GAAG;IAAE,KAAK,EAAE,eAAe,CAAC;IAAC,UAAU,EAAE,4BAA4B,CAAA;CAAE,CAAC;AAuL1F,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;AAKhD,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"}