@hina-ui/vue 1.3.1 → 1.5.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.
- package/dist/index.js +4336 -2180
- package/dist/index.js.map +1 -1
- package/dist/types/components/dialog/Dialog.vue.d.ts +3 -1
- package/dist/types/components/dialog/Dialog.vue.d.ts.map +1 -1
- package/dist/types/components/drawer/Drawer.vue.d.ts +21 -14
- package/dist/types/components/drawer/Drawer.vue.d.ts.map +1 -1
- package/dist/types/components/drawer/drawer.variants.d.ts +10 -1
- package/dist/types/components/drawer/drawer.variants.d.ts.map +1 -1
- package/dist/types/components/dropdown-menu/DropdownMenu.vue.d.ts +4 -1
- package/dist/types/components/dropdown-menu/DropdownMenu.vue.d.ts.map +1 -1
- package/dist/types/components/hover-card/HoverCard.vue.d.ts +10 -7
- package/dist/types/components/hover-card/HoverCard.vue.d.ts.map +1 -1
- package/dist/types/components/hover-card/HoverCardAnchor.vue.d.ts +29 -0
- package/dist/types/components/hover-card/HoverCardAnchor.vue.d.ts.map +1 -0
- package/dist/types/components/hover-card/composables/useHoverCardAnchor.d.ts +22 -0
- package/dist/types/components/hover-card/composables/useHoverCardAnchor.d.ts.map +1 -0
- package/dist/types/components/image/Image.vue.d.ts +3 -1
- package/dist/types/components/image/Image.vue.d.ts.map +1 -1
- package/dist/types/components/image/composables/useImageGroupState.d.ts.map +1 -1
- package/dist/types/components/image/image.variants.d.ts +1 -1
- package/dist/types/components/lightbox/Lightbox.vue.d.ts.map +1 -1
- package/dist/types/components/lightbox/LightboxChrome.vue.d.ts +4 -0
- package/dist/types/components/lightbox/LightboxChrome.vue.d.ts.map +1 -1
- package/dist/types/components/lightbox/LightboxToolbar.vue.d.ts +4 -0
- package/dist/types/components/lightbox/LightboxToolbar.vue.d.ts.map +1 -1
- package/dist/types/components/lightbox/composables/useLightboxFrames.d.ts +4 -1
- package/dist/types/components/lightbox/composables/useLightboxFrames.d.ts.map +1 -1
- package/dist/types/components/lightbox/composables/useLightboxLarge.d.ts +1 -0
- package/dist/types/components/lightbox/composables/useLightboxLarge.d.ts.map +1 -1
- package/dist/types/components/lightbox/composables/useLightboxLayout.d.ts +17 -0
- package/dist/types/components/lightbox/composables/useLightboxLayout.d.ts.map +1 -0
- package/dist/types/components/lightbox/composables/useLightboxPhase.d.ts +1 -1
- package/dist/types/components/lightbox/composables/useLightboxPhase.d.ts.map +1 -1
- package/dist/types/components/lightbox/composables/useLightboxPose.d.ts.map +1 -1
- package/dist/types/components/lightbox/composables/useLightboxRotation.d.ts +5 -1
- package/dist/types/components/lightbox/composables/useLightboxRotation.d.ts.map +1 -1
- package/dist/types/components/lightbox/composables/useLightboxZoom.d.ts +10 -1
- package/dist/types/components/lightbox/composables/useLightboxZoom.d.ts.map +1 -1
- package/dist/types/components/lightbox/lightbox.variants.d.ts +2 -0
- package/dist/types/components/lightbox/lightbox.variants.d.ts.map +1 -0
- package/dist/types/components/lightbox/types.d.ts +7 -1
- package/dist/types/components/lightbox/types.d.ts.map +1 -1
- package/dist/types/components/lightbox/utils/pose.d.ts +2 -2
- package/dist/types/components/lightbox/utils/pose.d.ts.map +1 -1
- package/dist/types/components/lightbox/utils/source.d.ts +4 -0
- package/dist/types/components/lightbox/utils/source.d.ts.map +1 -0
- package/dist/types/components/lightbox/utils/zoom.d.ts +8 -4
- package/dist/types/components/lightbox/utils/zoom.d.ts.map +1 -1
- package/dist/types/components/pagination/Pagination.vue.d.ts +59 -0
- package/dist/types/components/pagination/Pagination.vue.d.ts.map +1 -0
- package/dist/types/components/pagination/PaginationContent.vue.d.ts +23 -0
- package/dist/types/components/pagination/PaginationContent.vue.d.ts.map +1 -0
- package/dist/types/components/pagination/PaginationControl.vue.d.ts +10 -0
- package/dist/types/components/pagination/PaginationControl.vue.d.ts.map +1 -0
- package/dist/types/components/pagination/PaginationEllipsis.vue.d.ts +23 -0
- package/dist/types/components/pagination/PaginationEllipsis.vue.d.ts.map +1 -0
- package/dist/types/components/pagination/PaginationInfo.vue.d.ts +24 -0
- package/dist/types/components/pagination/PaginationInfo.vue.d.ts.map +1 -0
- package/dist/types/components/pagination/PaginationJump.vue.d.ts +7 -0
- package/dist/types/components/pagination/PaginationJump.vue.d.ts.map +1 -0
- package/dist/types/components/pagination/PaginationPage.vue.d.ts +20 -0
- package/dist/types/components/pagination/PaginationPage.vue.d.ts.map +1 -0
- package/dist/types/components/pagination/PaginationPages.vue.d.ts +27 -0
- package/dist/types/components/pagination/PaginationPages.vue.d.ts.map +1 -0
- package/dist/types/components/pagination/PaginationPopup.vue.d.ts +8 -0
- package/dist/types/components/pagination/PaginationPopup.vue.d.ts.map +1 -0
- package/dist/types/components/pagination/PaginationSize.vue.d.ts +7 -0
- package/dist/types/components/pagination/PaginationSize.vue.d.ts.map +1 -0
- package/dist/types/components/pagination/composables/usePagination.d.ts +25 -0
- package/dist/types/components/pagination/composables/usePagination.d.ts.map +1 -0
- package/dist/types/components/pagination/composables/usePaginationEllipsis.d.ts +34 -0
- package/dist/types/components/pagination/composables/usePaginationEllipsis.d.ts.map +1 -0
- package/dist/types/components/pagination/composables/usePaginationJump.d.ts +8 -0
- package/dist/types/components/pagination/composables/usePaginationJump.d.ts.map +1 -0
- package/dist/types/components/pagination/composables/usePaginationPageTooltip.d.ts +3 -0
- package/dist/types/components/pagination/composables/usePaginationPageTooltip.d.ts.map +1 -0
- package/dist/types/components/pagination/composables/usePaginationWindow.d.ts +188 -0
- package/dist/types/components/pagination/composables/usePaginationWindow.d.ts.map +1 -0
- package/dist/types/components/pagination/context.d.ts +19 -0
- package/dist/types/components/pagination/context.d.ts.map +1 -0
- package/dist/types/components/pagination/pagination.variants.d.ts +68 -0
- package/dist/types/components/pagination/pagination.variants.d.ts.map +1 -0
- package/dist/types/components/pagination/types.d.ts +23 -0
- package/dist/types/components/pagination/types.d.ts.map +1 -0
- package/dist/types/components/pagination/utils/ranges.d.ts +3 -0
- package/dist/types/components/pagination/utils/ranges.d.ts.map +1 -0
- package/dist/types/components/popover/Popover.vue.d.ts +4 -1
- package/dist/types/components/popover/Popover.vue.d.ts.map +1 -1
- package/dist/types/components/range-slider/RangeSlider.vue.d.ts +1 -0
- package/dist/types/components/range-slider/RangeSlider.vue.d.ts.map +1 -1
- package/dist/types/components/sheet/Sheet.vue.d.ts +21 -14
- package/dist/types/components/sheet/Sheet.vue.d.ts.map +1 -1
- package/dist/types/components/sheet/sheet.variants.d.ts +54 -3
- package/dist/types/components/sheet/sheet.variants.d.ts.map +1 -1
- package/dist/types/components/slider/Slider.vue.d.ts +1 -0
- package/dist/types/components/slider/Slider.vue.d.ts.map +1 -1
- package/dist/types/components/slider/slider.variants.d.ts.map +1 -1
- package/dist/types/components/tooltip/Tooltip.vue.d.ts +4 -15
- package/dist/types/components/tooltip/Tooltip.vue.d.ts.map +1 -1
- package/dist/types/components/tooltip/TooltipBubble.vue.d.ts +20 -0
- package/dist/types/components/tooltip/TooltipBubble.vue.d.ts.map +1 -0
- package/dist/types/components/tooltip/TooltipDirectiveRoot.d.ts +33 -0
- package/dist/types/components/tooltip/TooltipDirectiveRoot.d.ts.map +1 -0
- package/dist/types/components/tooltip/composables/useTooltipTarget.d.ts +2 -0
- package/dist/types/components/tooltip/composables/useTooltipTarget.d.ts.map +1 -0
- package/dist/types/components/tooltip/directive.d.ts +4 -0
- package/dist/types/components/tooltip/directive.d.ts.map +1 -0
- package/dist/types/components/tooltip/types.d.ts +14 -0
- package/dist/types/components/tooltip/types.d.ts.map +1 -0
- package/dist/types/components/tooltip/utils/directiveContext.d.ts +10 -0
- package/dist/types/components/tooltip/utils/directiveContext.d.ts.map +1 -0
- package/dist/types/components/tree-select/TreeSelect.vue.d.ts +6 -1
- package/dist/types/components/tree-select/TreeSelect.vue.d.ts.map +1 -1
- package/dist/types/components/tree-select/TreeSelectSearch.vue.d.ts +22 -0
- package/dist/types/components/tree-select/TreeSelectSearch.vue.d.ts.map +1 -0
- package/dist/types/components/tree-select/composables/useTreeSelect.d.ts +35 -0
- package/dist/types/components/tree-select/composables/useTreeSelect.d.ts.map +1 -0
- package/dist/types/components/tree-select/tree-select.variants.d.ts +1 -1
- package/dist/types/components/tree-select/tree-select.variants.d.ts.map +1 -1
- package/dist/types/components/tree-select/utils/filterTree.d.ts +7 -0
- package/dist/types/components/tree-select/utils/filterTree.d.ts.map +1 -0
- package/dist/types/index.d.ts +10 -1
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/lib/anchored-overlay.d.ts +12 -2
- package/dist/types/lib/anchored-overlay.d.ts.map +1 -1
- package/dist/types/lib/overlay-anchor.d.ts +16 -0
- package/dist/types/lib/overlay-anchor.d.ts.map +1 -0
- package/dist/types/lib/overlay-positioner.d.ts +3 -0
- package/dist/types/lib/overlay-positioner.d.ts.map +1 -0
- package/dist/types/lib/pointer-corridor.d.ts +7 -0
- package/dist/types/lib/pointer-corridor.d.ts.map +1 -0
- package/dist/types/lib/scroll-viewport.d.ts +9 -0
- package/dist/types/lib/scroll-viewport.d.ts.map +1 -0
- package/dist/types/lib/useDirection.d.ts +7 -0
- package/dist/types/lib/useDirection.d.ts.map +1 -0
- package/dist/types/locale/en-US.d.ts.map +1 -1
- package/dist/types/locale/index.d.ts.map +1 -1
- package/dist/types/locale/types.d.ts +13 -0
- package/dist/types/locale/types.d.ts.map +1 -1
- package/dist/types/locale/zh-CN.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/components/badge/badge.variants.ts +1 -1
- package/src/components/dialog/Dialog.vue +5 -1
- package/src/components/drawer/Drawer.vue +69 -32
- package/src/components/drawer/drawer.variants.ts +6 -2
- package/src/components/dropdown-menu/DropdownMenu.vue +18 -5
- package/src/components/hover-card/HoverCard.vue +39 -16
- package/src/components/hover-card/HoverCardAnchor.vue +18 -0
- package/src/components/hover-card/composables/useHoverCardAnchor.ts +151 -0
- package/src/components/image/Image.vue +2 -0
- package/src/components/image/composables/useImageGroupState.ts +9 -1
- package/src/components/image/image.variants.ts +1 -1
- package/src/components/lightbox/Lightbox.vue +23 -17
- package/src/components/lightbox/LightboxChrome.vue +7 -1
- package/src/components/lightbox/LightboxToolbar.vue +16 -2
- package/src/components/lightbox/composables/useLightboxFrames.ts +108 -12
- package/src/components/lightbox/composables/useLightboxLarge.ts +4 -1
- package/src/components/lightbox/composables/useLightboxLayout.ts +44 -0
- package/src/components/lightbox/composables/useLightboxPhase.ts +12 -4
- package/src/components/lightbox/composables/useLightboxPose.ts +17 -19
- package/src/components/lightbox/composables/useLightboxRotation.ts +14 -4
- package/src/components/lightbox/composables/useLightboxZoom.ts +51 -9
- package/src/components/lightbox/lightbox.variants.ts +5 -0
- package/src/components/lightbox/types.ts +5 -1
- package/src/components/lightbox/utils/pose.ts +13 -6
- package/src/components/lightbox/utils/source.ts +17 -0
- package/src/components/lightbox/utils/zoom.ts +21 -7
- package/src/components/pagination/Pagination.vue +118 -0
- package/src/components/pagination/PaginationContent.vue +29 -0
- package/src/components/pagination/PaginationControl.vue +42 -0
- package/src/components/pagination/PaginationEllipsis.vue +67 -0
- package/src/components/pagination/PaginationInfo.vue +18 -0
- package/src/components/pagination/PaginationJump.vue +32 -0
- package/src/components/pagination/PaginationPage.vue +34 -0
- package/src/components/pagination/PaginationPages.vue +43 -0
- package/src/components/pagination/PaginationPopup.vue +92 -0
- package/src/components/pagination/PaginationSize.vue +30 -0
- package/src/components/pagination/composables/usePagination.ts +76 -0
- package/src/components/pagination/composables/usePaginationEllipsis.ts +269 -0
- package/src/components/pagination/composables/usePaginationJump.ts +23 -0
- package/src/components/pagination/composables/usePaginationPageTooltip.ts +23 -0
- package/src/components/pagination/composables/usePaginationWindow.ts +116 -0
- package/src/components/pagination/context.ts +23 -0
- package/src/components/pagination/pagination.variants.ts +32 -0
- package/src/components/pagination/types.ts +19 -0
- package/src/components/pagination/utils/ranges.ts +12 -0
- package/src/components/popover/Popover.vue +17 -7
- package/src/components/range-slider/RangeSlider.vue +6 -0
- package/src/components/sheet/Sheet.vue +67 -24
- package/src/components/sheet/sheet.variants.ts +17 -4
- package/src/components/slider/Slider.vue +6 -0
- package/src/components/slider/slider.variants.ts +1 -0
- package/src/components/tooltip/Tooltip.vue +10 -33
- package/src/components/tooltip/TooltipBubble.vue +36 -0
- package/src/components/tooltip/TooltipDirectiveRoot.ts +61 -0
- package/src/components/tooltip/composables/useTooltipTarget.ts +56 -0
- package/src/components/tooltip/directive.ts +54 -0
- package/src/components/tooltip/types.ts +15 -0
- package/src/components/tooltip/utils/directiveContext.ts +32 -0
- package/src/components/tree-select/TreeSelect.vue +90 -61
- package/src/components/tree-select/TreeSelectSearch.vue +48 -0
- package/src/components/tree-select/composables/useTreeSelect.ts +130 -0
- package/src/components/tree-select/tree-select.variants.ts +2 -2
- package/src/components/tree-select/utils/filterTree.ts +19 -0
- package/src/index.ts +10 -1
- package/src/lib/anchored-overlay.ts +28 -19
- package/src/lib/overlay-anchor.ts +65 -0
- package/src/lib/overlay-positioner.ts +25 -0
- package/src/lib/pointer-corridor.ts +26 -0
- package/src/lib/scroll-viewport.ts +8 -0
- package/src/lib/useDirection.ts +31 -0
- package/src/locale/en-US.ts +15 -1
- package/src/locale/index.ts +1 -0
- package/src/locale/types.ts +13 -0
- package/src/locale/zh-CN.ts +15 -1
|
@@ -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 =
|
|
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
|
|
35
|
-
|
|
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,
|
|
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,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,wBAAgB,WAAW,CAAC,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,GAAG,KAAK,CAKhE;AAED,wBAAgB,SAAS,CAAC,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,KAAK,GAAG,KAAK,CAMxF;AAMD,wBAAgB,UAAU,CACxB,KAAK,EAAE,MAAM,EACb,GAAG,EAAE,MAAM,EACX,GAAG,EAAE,MAAM,EACX,IAAI,EAAE,MAAM,EACZ,WAAW,SAAY,GACtB,MAAM,CAKR;AAED,wBAAgB,aAAa,CAAC,MAAM,EAAE,KAAK,EAAE,MAAM,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,CAAC,EAAE,OAAO,CAAA;IACnB,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,cAAc,CAAC,EAAE,OAAO,CAAA;IACxB,eAAe,CAAC,EAAE,MAAM,EAAE,CAAA;IAC1B,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,KAAK,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,KAAK,GAAG,SAAS,CAAA;IAC9C,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAA;IACzB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,GAAG,CAAC,EAAE,KAAK,GAAG,KAAK,CAAA;IACnB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,CAAC;AASJ,KAAK,WAAW,GAAG;IACjB,OAAO,CAAC,CAAC,KAAK,EAAE,eAAe,GAAG,OAAO,CAAA;IACzC,IAAI,CAAC,CAAC,KAAK,EAAE,eAAe,GAAG,OAAO,CAAA;IACtC,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;AAyBJ,KAAK,gBAAgB,GAAG;IACxB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,UAAU,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC;AAOF,KAAK,iBAAiB,GAAG,WAAW,GAAG,gBAAgB,CAAC;AAgLxD,QAAA,MAAM,UAAU;;;;;;;;;UAtOH,IAAI,GAAG,IAAI,GAAG,IAAI;WADjB,OAAO,GAAG,QAAQ,GAAG,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"}
|
|
@@ -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 @@
|
|
|
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"}
|