atomicuilibrary 0.0.1
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/LICENSE +21 -0
- package/README.md +111 -0
- package/dist/cjs/category-section.cjs.entry.js +30 -0
- package/dist/cjs/component-size-DsYFUZcz.js +29 -0
- package/dist/cjs/dom-oP1E4Rd3.js +267 -0
- package/dist/cjs/event-bus-B6M2f8CQ.js +23 -0
- package/dist/cjs/exploration-project-tailwind.cjs.js +24 -0
- package/dist/cjs/focus-trap-i9T6oXLc.js +139 -0
- package/dist/cjs/index-ClkOYpT8.js +2275 -0
- package/dist/cjs/index.cjs.js +260 -0
- package/dist/cjs/layout-manager.cjs.entry.js +616 -0
- package/dist/cjs/library-card.cjs.entry.js +63 -0
- package/dist/cjs/lm-container_2.cjs.entry.js +79 -0
- package/dist/cjs/lm-panel_3.cjs.entry.js +108 -0
- package/dist/cjs/loader.cjs.js +12 -0
- package/dist/cjs/my-component.cjs.entry.js +33 -0
- package/dist/cjs/my-step.cjs.entry.js +29 -0
- package/dist/cjs/nav-bar.cjs.entry.js +247 -0
- package/dist/cjs/security-E1JcwxGc.js +1547 -0
- package/dist/cjs/smart-step.cjs.entry.js +47 -0
- package/dist/cjs/timeline-item.cjs.entry.js +29 -0
- package/dist/cjs/ui-accordion_10.cjs.entry.js +5733 -0
- package/dist/cjs/ui-advanced-data-table.cjs.entry.js +2684 -0
- package/dist/cjs/ui-anchor.cjs.entry.js +558 -0
- package/dist/cjs/ui-animate-on-scroll.cjs.entry.js +285 -0
- package/dist/cjs/ui-aside-panel.cjs.entry.js +638 -0
- package/dist/cjs/ui-avatar-group_3.cjs.entry.js +634 -0
- package/dist/cjs/ui-breadcrumb-item.cjs.entry.js +56 -0
- package/dist/cjs/ui-breadcrumb.cjs.entry.js +201 -0
- package/dist/cjs/ui-callout-banner.cjs.entry.js +291 -0
- package/dist/cjs/ui-card.cjs.entry.js +411 -0
- package/dist/cjs/ui-carousel.cjs.entry.js +547 -0
- package/dist/cjs/ui-checkbox-group.cjs.entry.js +330 -0
- package/dist/cjs/ui-checkbox.cjs.entry.js +260 -0
- package/dist/cjs/ui-code-editor.cjs.entry.js +961 -0
- package/dist/cjs/ui-code-preview.cjs.entry.js +315 -0
- package/dist/cjs/ui-color-controller.cjs.entry.js +150 -0
- package/dist/cjs/ui-color-picker.cjs.entry.js +658 -0
- package/dist/cjs/ui-command-palette.cjs.entry.js +178 -0
- package/dist/cjs/ui-dialog-box.cjs.entry.js +1808 -0
- package/dist/cjs/ui-dialog-content.cjs.entry.js +31 -0
- package/dist/cjs/ui-dialog-footer_2.cjs.entry.js +193 -0
- package/dist/cjs/ui-divider.cjs.entry.js +481 -0
- package/dist/cjs/ui-dock-host.cjs.entry.js +128 -0
- package/dist/cjs/ui-dock.cjs.entry.js +221 -0
- package/dist/cjs/ui-drag-drop.cjs.entry.js +172 -0
- package/dist/cjs/ui-dropdown_2.cjs.entry.js +1552 -0
- package/dist/cjs/ui-empty-state.cjs.entry.js +398 -0
- package/dist/cjs/ui-fab-item.cjs.entry.js +39 -0
- package/dist/cjs/ui-fab.cjs.entry.js +277 -0
- package/dist/cjs/ui-file-upload.cjs.entry.js +418 -0
- package/dist/cjs/ui-horizontal-nav.cjs.entry.js +135 -0
- package/dist/cjs/ui-image-button.cjs.entry.js +67 -0
- package/dist/cjs/ui-input-pair.cjs.entry.js +44 -0
- package/dist/cjs/ui-knob.cjs.entry.js +447 -0
- package/dist/cjs/ui-library.cjs.entry.js +134 -0
- package/dist/cjs/ui-list-group_2.cjs.entry.js +586 -0
- package/dist/cjs/ui-list.cjs.entry.js +732 -0
- package/dist/cjs/ui-masonry.cjs.entry.js +478 -0
- package/dist/cjs/ui-meter-group.cjs.entry.js +173 -0
- package/dist/cjs/ui-navigation-item.cjs.entry.js +104 -0
- package/dist/cjs/ui-number-input.cjs.entry.js +191 -0
- package/dist/cjs/ui-otp-input.cjs.entry.js +246 -0
- package/dist/cjs/ui-pagination_3.cjs.entry.js +1621 -0
- package/dist/cjs/ui-panel.cjs.entry.js +614 -0
- package/dist/cjs/ui-pattern-input.cjs.entry.js +278 -0
- package/dist/cjs/ui-popover.cjs.entry.js +517 -0
- package/dist/cjs/ui-progress.cjs.entry.js +516 -0
- package/dist/cjs/ui-radio-group.cjs.entry.js +205 -0
- package/dist/cjs/ui-radio.cjs.entry.js +206 -0
- package/dist/cjs/ui-range-slider.cjs.entry.js +637 -0
- package/dist/cjs/ui-resizable-panel.cjs.entry.js +484 -0
- package/dist/cjs/ui-scroll-top.cjs.entry.js +459 -0
- package/dist/cjs/ui-smart-context-menu.cjs.entry.js +376 -0
- package/dist/cjs/ui-smart-location-dropdown.cjs.entry.js +565 -0
- package/dist/cjs/ui-smart-stepper.cjs.entry.js +137 -0
- package/dist/cjs/ui-snackbar.cjs.entry.js +863 -0
- package/dist/cjs/ui-speed-dial.cjs.entry.js +520 -0
- package/dist/cjs/ui-speedometer.cjs.entry.js +428 -0
- package/dist/cjs/ui-splitter.cjs.entry.js +282 -0
- package/dist/cjs/ui-step.cjs.entry.js +30 -0
- package/dist/cjs/ui-stepper.cjs.entry.js +640 -0
- package/dist/cjs/ui-switch.cjs.entry.js +405 -0
- package/dist/cjs/ui-tabs.cjs.entry.js +703 -0
- package/dist/cjs/ui-tag.cjs.entry.js +299 -0
- package/dist/cjs/ui-timeline.cjs.entry.js +267 -0
- package/dist/cjs/ui-timer.cjs.entry.js +502 -0
- package/dist/cjs/ui-toolbar.cjs.entry.js +619 -0
- package/dist/cjs/ui-tooltip.cjs.entry.js +697 -0
- package/dist/cjs/ui-top-bar.cjs.entry.js +121 -0
- package/dist/cjs/ui-transfer-list.cjs.entry.js +592 -0
- package/dist/cjs/ui-tree.cjs.entry.js +874 -0
- package/dist/cjs/ui-workspace-manager.cjs.entry.js +1201 -0
- package/dist/cjs/utils-DVZ6gul6.js +26 -0
- package/dist/collection/assets/js/component-config.js +41 -0
- package/dist/collection/assets/js/demo-loader.js +147 -0
- package/dist/collection/assets/js/demo-nav.js +273 -0
- package/dist/collection/assets/js/demos/about-demo.js +60 -0
- package/dist/collection/assets/js/demos/accordion-demo.js +1954 -0
- package/dist/collection/assets/js/demos/advanced-data-table-demo.js +2952 -0
- package/dist/collection/assets/js/demos/anchor-demo.js +527 -0
- package/dist/collection/assets/js/demos/animate-on-scroll-demo.js +174 -0
- package/dist/collection/assets/js/demos/aside-panel-demo.js +1109 -0
- package/dist/collection/assets/js/demos/avatar-demo.js +508 -0
- package/dist/collection/assets/js/demos/badge-demo.js +620 -0
- package/dist/collection/assets/js/demos/breadcrumb-demo.js +365 -0
- package/dist/collection/assets/js/demos/button-demo.js +1223 -0
- package/dist/collection/assets/js/demos/button-toggle-demo.js +978 -0
- package/dist/collection/assets/js/demos/callout-banner-demo.js +366 -0
- package/dist/collection/assets/js/demos/card-demo.js +427 -0
- package/dist/collection/assets/js/demos/carousel-demo.js +360 -0
- package/dist/collection/assets/js/demos/checkbox-demo.js +489 -0
- package/dist/collection/assets/js/demos/code-preview-demo.js +216 -0
- package/dist/collection/assets/js/demos/color-picker-demo.js +117 -0
- package/dist/collection/assets/js/demos/command-palette-demo.js +105 -0
- package/dist/collection/assets/js/demos/complex-form-demo.js +45 -0
- package/dist/collection/assets/js/demos/context-menu-data.js +436 -0
- package/dist/collection/assets/js/demos/context-menu-demo.js +829 -0
- package/dist/collection/assets/js/demos/dashboard-demo.js +5 -0
- package/dist/collection/assets/js/demos/dialog-demo-temp.js +411 -0
- package/dist/collection/assets/js/demos/dialog-demo.js +2567 -0
- package/dist/collection/assets/js/demos/divider-demo.js +853 -0
- package/dist/collection/assets/js/demos/dock-demo.js +422 -0
- package/dist/collection/assets/js/demos/dock-host-init.js +117 -0
- package/dist/collection/assets/js/demos/dock-host-playground.js +59 -0
- package/dist/collection/assets/js/demos/documentation-demo.js +34 -0
- package/dist/collection/assets/js/demos/drag-drop-demo.js +132 -0
- package/dist/collection/assets/js/demos/dropdown-demo.js +1410 -0
- package/dist/collection/assets/js/demos/dropdown-subtitle-demo.js +18 -0
- package/dist/collection/assets/js/demos/empty-state-demo.js +580 -0
- package/dist/collection/assets/js/demos/fab-demo.js +374 -0
- package/dist/collection/assets/js/demos/file-upload-demo.js +171 -0
- package/dist/collection/assets/js/demos/home-components.js +750 -0
- package/dist/collection/assets/js/demos/home-demo.js +441 -0
- package/dist/collection/assets/js/demos/horizontal-nav-demo.js +277 -0
- package/dist/collection/assets/js/demos/icon-demo.js +380 -0
- package/dist/collection/assets/js/demos/input-demo.js +1932 -0
- package/dist/collection/assets/js/demos/knob-demo.js +570 -0
- package/dist/collection/assets/js/demos/layout-manager-demo.js +918 -0
- package/dist/collection/assets/js/demos/list-demo.js +1402 -0
- package/dist/collection/assets/js/demos/loader-demo.js +453 -0
- package/dist/collection/assets/js/demos/meter-group-demo.js +499 -0
- package/dist/collection/assets/js/demos/multi-level-context-menu-demo.js +924 -0
- package/dist/collection/assets/js/demos/my-profile-demo.js +237 -0
- package/dist/collection/assets/js/demos/nav-bar-demo.js +187 -0
- package/dist/collection/assets/js/demos/number-input-demo.js +242 -0
- package/dist/collection/assets/js/demos/overview-demo.js +11 -0
- package/dist/collection/assets/js/demos/pagination-demo.js +1042 -0
- package/dist/collection/assets/js/demos/panel-demo.js +789 -0
- package/dist/collection/assets/js/demos/pattern-input-demo.js +241 -0
- package/dist/collection/assets/js/demos/popover-demo.js +882 -0
- package/dist/collection/assets/js/demos/progress-demo.js +462 -0
- package/dist/collection/assets/js/demos/radio-demo.js +413 -0
- package/dist/collection/assets/js/demos/range-slider-demo.js +1217 -0
- package/dist/collection/assets/js/demos/rating-demo.js +383 -0
- package/dist/collection/assets/js/demos/scroll-top-demo.js +353 -0
- package/dist/collection/assets/js/demos/skeleton-demo.js +490 -0
- package/dist/collection/assets/js/demos/skeleton-performance-demo.js +26 -0
- package/dist/collection/assets/js/demos/smart-dialog-demo.js +552 -0
- package/dist/collection/assets/js/demos/smart-menu-demo.js +375 -0
- package/dist/collection/assets/js/demos/smart-stepper-demo.js +50 -0
- package/dist/collection/assets/js/demos/snackbar-demo.js +1040 -0
- package/dist/collection/assets/js/demos/speed-dial-demo.js +764 -0
- package/dist/collection/assets/js/demos/speedometer-demo.js +425 -0
- package/dist/collection/assets/js/demos/split-button-demo.js +201 -0
- package/dist/collection/assets/js/demos/stack-demo.js +228 -0
- package/dist/collection/assets/js/demos/stepper-demo.js +798 -0
- package/dist/collection/assets/js/demos/switch-demo.js +849 -0
- package/dist/collection/assets/js/demos/tabs-demo.js +1032 -0
- package/dist/collection/assets/js/demos/tag-demo.js +842 -0
- package/dist/collection/assets/js/demos/theme-selector-demo.js +466 -0
- package/dist/collection/assets/js/demos/timeline-demo.js +365 -0
- package/dist/collection/assets/js/demos/timeline-playground.js +59 -0
- package/dist/collection/assets/js/demos/timer-demo.js +313 -0
- package/dist/collection/assets/js/demos/toolbar-demo.js +643 -0
- package/dist/collection/assets/js/demos/tooltip-demo.js +730 -0
- package/dist/collection/assets/js/demos/top-bar-demo.js +417 -0
- package/dist/collection/assets/js/demos/transfer-list-demo.js +555 -0
- package/dist/collection/assets/js/demos/tree-demo.js +693 -0
- package/dist/collection/assets/js/demos/workspace-manager-demo.js +241 -0
- package/dist/collection/assets/js/index-boot.js +104 -0
- package/dist/collection/assets/js/nav-bar-demo.js +20 -0
- package/dist/collection/assets/js/nav-bar-init.js +119 -0
- package/dist/collection/assets/js/utils/layout-loader.js +80 -0
- package/dist/collection/collection-manifest.json +113 -0
- package/dist/collection/components/accordion/accordion.css +2090 -0
- package/dist/collection/components/accordion/accordion.js +2955 -0
- package/dist/collection/components/accordion/types.js +1 -0
- package/dist/collection/components/advanced-data-table/advanced-data-table.css +2606 -0
- package/dist/collection/components/advanced-data-table/advanced-data-table.js +5394 -0
- package/dist/collection/components/advanced-data-table/types.js +1 -0
- package/dist/collection/components/anchor/anchor.css +395 -0
- package/dist/collection/components/anchor/anchor.js +1404 -0
- package/dist/collection/components/anchor/types.js +1 -0
- package/dist/collection/components/animate-on-scroll/animate-on-scroll.css +804 -0
- package/dist/collection/components/animate-on-scroll/animate-on-scroll.js +696 -0
- package/dist/collection/components/aside-panel/aside-panel.css +472 -0
- package/dist/collection/components/aside-panel/aside-panel.js +1697 -0
- package/dist/collection/components/avatar/avatar.css +696 -0
- package/dist/collection/components/avatar/avatar.js +2007 -0
- package/dist/collection/components/avatar/types.js +1 -0
- package/dist/collection/components/avatar-group/avatar-group.css +253 -0
- package/dist/collection/components/avatar-group/avatar-group.js +405 -0
- package/dist/collection/components/avatar-group/types.js +1 -0
- package/dist/collection/components/badge/badge.css +580 -0
- package/dist/collection/components/badge/badge.js +723 -0
- package/dist/collection/components/badge/types.js +1 -0
- package/dist/collection/components/breadcrumb/breadcrumb-item.js +231 -0
- package/dist/collection/components/breadcrumb/breadcrumb.css +313 -0
- package/dist/collection/components/breadcrumb/breadcrumb.js +510 -0
- package/dist/collection/components/breadcrumb/types.js +1 -0
- package/dist/collection/components/button/button.css +1862 -0
- package/dist/collection/components/button/button.js +1380 -0
- package/dist/collection/components/button/types.js +1 -0
- package/dist/collection/components/button-toggle/button-toggle.css +97 -0
- package/dist/collection/components/button-toggle/button-toggle.js +620 -0
- package/dist/collection/components/button-toggle-group/button-toggle-group.css +401 -0
- package/dist/collection/components/button-toggle-group/button-toggle-group.js +1572 -0
- package/dist/collection/components/button-toggle-group/types.js +1 -0
- package/dist/collection/components/callout-banner/callout-banner.css +684 -0
- package/dist/collection/components/callout-banner/callout-banner.js +1076 -0
- package/dist/collection/components/callout-banner/types.js +1 -0
- package/dist/collection/components/card/card.css +663 -0
- package/dist/collection/components/card/card.js +1697 -0
- package/dist/collection/components/card/types.js +1 -0
- package/dist/collection/components/carousel/carousel.css +549 -0
- package/dist/collection/components/carousel/carousel.js +1512 -0
- package/dist/collection/components/carousel/types.js +1 -0
- package/dist/collection/components/checkbox/checkbox.css +863 -0
- package/dist/collection/components/checkbox/checkbox.js +1201 -0
- package/dist/collection/components/checkbox/types.js +1 -0
- package/dist/collection/components/checkbox-group/checkbox-group.css +223 -0
- package/dist/collection/components/checkbox-group/checkbox-group.js +1001 -0
- package/dist/collection/components/checkbox-group/types.js +1 -0
- package/dist/collection/components/code-editor/code-editor.css +1081 -0
- package/dist/collection/components/code-editor/code-editor.js +1211 -0
- package/dist/collection/components/code-editor/types.js +1 -0
- package/dist/collection/components/code-preview/types.js +1 -0
- package/dist/collection/components/code-preview/ui-code-preview.css +209 -0
- package/dist/collection/components/code-preview/ui-code-preview.js +548 -0
- package/dist/collection/components/color-controller/color-controller.css +108 -0
- package/dist/collection/components/color-controller/color-controller.js +224 -0
- package/dist/collection/components/color-picker/color-picker.css +323 -0
- package/dist/collection/components/color-picker/color-picker.js +1139 -0
- package/dist/collection/components/color-picker/types.js +1 -0
- package/dist/collection/components/command-palette/command-palette.css +260 -0
- package/dist/collection/components/command-palette/command-palette.js +429 -0
- package/dist/collection/components/command-palette/types.js +1 -0
- package/dist/collection/components/context-menu/context-menu.css +388 -0
- package/dist/collection/components/context-menu/context-menu.js +1412 -0
- package/dist/collection/components/context-menu/types.js +1 -0
- package/dist/collection/components/dialog-box/dialog-box.css +1261 -0
- package/dist/collection/components/dialog-box/dialog-box.js +4314 -0
- package/dist/collection/components/dialog-box/dialog-tray.css +268 -0
- package/dist/collection/components/dialog-box/types.js +1 -0
- package/dist/collection/components/dialog-content/dialog-content.css +83 -0
- package/dist/collection/components/dialog-content/dialog-content.js +96 -0
- package/dist/collection/components/dialog-footer/dialog-footer.css +89 -0
- package/dist/collection/components/dialog-footer/dialog-footer.js +94 -0
- package/dist/collection/components/dialog-footer/types.js +1 -0
- package/dist/collection/components/dialog-header/dialog-header.css +203 -0
- package/dist/collection/components/dialog-header/dialog-header.js +630 -0
- package/dist/collection/components/dialog-header/types.js +1 -0
- package/dist/collection/components/divider/divider.css +948 -0
- package/dist/collection/components/divider/divider.js +1612 -0
- package/dist/collection/components/divider/types.js +1 -0
- package/dist/collection/components/dock/dock.css +348 -0
- package/dist/collection/components/dock/dock.js +464 -0
- package/dist/collection/components/dock/types.js +1 -0
- package/dist/collection/components/dock-host/index.js +1 -0
- package/dist/collection/components/dock-host/types.js +1 -0
- package/dist/collection/components/dock-host/ui-dock-host.css +155 -0
- package/dist/collection/components/dock-host/ui-dock-host.js +226 -0
- package/dist/collection/components/drag-drop/drag-drop.css +103 -0
- package/dist/collection/components/drag-drop/drag-drop.js +385 -0
- package/dist/collection/components/drag-drop/types.js +1 -0
- package/dist/collection/components/dropdown/dropdown.css +1142 -0
- package/dist/collection/components/dropdown/dropdown.js +2033 -0
- package/dist/collection/components/dropdown/types.js +1 -0
- package/dist/collection/components/empty-state/empty-state.css +712 -0
- package/dist/collection/components/empty-state/empty-state.js +1256 -0
- package/dist/collection/components/empty-state/types.js +1 -0
- package/dist/collection/components/fab/fab.css +601 -0
- package/dist/collection/components/fab/fab.js +1124 -0
- package/dist/collection/components/fab-item/fab-item.css +107 -0
- package/dist/collection/components/fab-item/fab-item.js +177 -0
- package/dist/collection/components/fab-item/types.js +1 -0
- package/dist/collection/components/file-upload/file-upload.css +243 -0
- package/dist/collection/components/file-upload/file-upload.js +1022 -0
- package/dist/collection/components/file-upload/types.js +1 -0
- package/dist/collection/components/horizontal-nav/horizontal-nav.css +394 -0
- package/dist/collection/components/horizontal-nav/horizontal-nav.js +375 -0
- package/dist/collection/components/icon/icon.css +113 -0
- package/dist/collection/components/icon/icon.js +583 -0
- package/dist/collection/components/image-button/image-button.css +154 -0
- package/dist/collection/components/image-button/image-button.js +310 -0
- package/dist/collection/components/image-button/types.js +1 -0
- package/dist/collection/components/input/input.css +1544 -0
- package/dist/collection/components/input/input.js +3690 -0
- package/dist/collection/components/input/types.js +1 -0
- package/dist/collection/components/input-pair/input-pair.css +72 -0
- package/dist/collection/components/input-pair/input-pair.js +309 -0
- package/dist/collection/components/knob/knob.css +162 -0
- package/dist/collection/components/knob/knob.js +986 -0
- package/dist/collection/components/knob/types.js +1 -0
- package/dist/collection/components/layout-manager/layout-manager.css +41 -0
- package/dist/collection/components/layout-manager/layout-manager.js +525 -0
- package/dist/collection/components/layout-manager/lm-container/lm-container.css +117 -0
- package/dist/collection/components/layout-manager/lm-container/lm-container.js +110 -0
- package/dist/collection/components/layout-manager/lm-floating-window/lm-floating-window.css +0 -0
- package/dist/collection/components/layout-manager/lm-floating-window/lm-floating-window.js +49 -0
- package/dist/collection/components/layout-manager/lm-panel/lm-panel.css +97 -0
- package/dist/collection/components/layout-manager/lm-panel/lm-panel.js +58 -0
- package/dist/collection/components/layout-manager/lm-splitter/lm-splitter.css +57 -0
- package/dist/collection/components/layout-manager/lm-splitter/lm-splitter.js +120 -0
- package/dist/collection/components/layout-manager/lm-tabs/lm-tabs.css +149 -0
- package/dist/collection/components/layout-manager/lm-tabs/lm-tabs.js +130 -0
- package/dist/collection/components/layout-manager/types.js +1 -0
- package/dist/collection/components/library/category-section.css +147 -0
- package/dist/collection/components/library/category-section.js +139 -0
- package/dist/collection/components/library/data.js +74 -0
- package/dist/collection/components/library/library-card.css +181 -0
- package/dist/collection/components/library/library-card.js +203 -0
- package/dist/collection/components/library/library.css +358 -0
- package/dist/collection/components/library/library.js +91 -0
- package/dist/collection/components/list/list.css +1029 -0
- package/dist/collection/components/list/list.js +2167 -0
- package/dist/collection/components/list-group/list-group.css +275 -0
- package/dist/collection/components/list-group/list-group.js +356 -0
- package/dist/collection/components/list-item/list-item.css +1491 -0
- package/dist/collection/components/list-item/list-item.js +2184 -0
- package/dist/collection/components/masonry/masonry.css +414 -0
- package/dist/collection/components/masonry/masonry.js +1104 -0
- package/dist/collection/components/masonry/types.js +1 -0
- package/dist/collection/components/meter-group/meter-group.css +184 -0
- package/dist/collection/components/meter-group/meter-group.js +471 -0
- package/dist/collection/components/meter-group/types.js +1 -0
- package/dist/collection/components/my-component/my-component.css +27 -0
- package/dist/collection/components/my-component/my-component.js +95 -0
- package/dist/collection/components/my-step/my-step.css +25 -0
- package/dist/collection/components/my-step/my-step.js +237 -0
- package/dist/collection/components/nav-bar/nav-bar.css +448 -0
- package/dist/collection/components/nav-bar/nav-bar.js +608 -0
- package/dist/collection/components/number-input/number-input.css +200 -0
- package/dist/collection/components/number-input/number-input.js +695 -0
- package/dist/collection/components/otp-input/otp-input.css +243 -0
- package/dist/collection/components/otp-input/otp-input.js +761 -0
- package/dist/collection/components/otp-input/types.js +1 -0
- package/dist/collection/components/pagination/pagination.css +1399 -0
- package/dist/collection/components/pagination/pagination.js +2033 -0
- package/dist/collection/components/pagination/types.js +1 -0
- package/dist/collection/components/panel/panel.css +837 -0
- package/dist/collection/components/panel/panel.js +1842 -0
- package/dist/collection/components/panel/types.js +1 -0
- package/dist/collection/components/pattern-input/pattern-input.css +252 -0
- package/dist/collection/components/pattern-input/pattern-input.js +788 -0
- package/dist/collection/components/popover/popover.css +399 -0
- package/dist/collection/components/popover/popover.js +1449 -0
- package/dist/collection/components/popover/types.js +1 -0
- package/dist/collection/components/progress/progress.css +588 -0
- package/dist/collection/components/progress/progress.js +1414 -0
- package/dist/collection/components/progress/types.js +1 -0
- package/dist/collection/components/radio/radio.css +773 -0
- package/dist/collection/components/radio/radio.js +1059 -0
- package/dist/collection/components/radio/types.js +1 -0
- package/dist/collection/components/radio-group/radio-group.css +202 -0
- package/dist/collection/components/radio-group/radio-group.js +903 -0
- package/dist/collection/components/radio-group/types.js +1 -0
- package/dist/collection/components/range-slider/range-slider.css +602 -0
- package/dist/collection/components/range-slider/range-slider.js +1369 -0
- package/dist/collection/components/range-slider/types.js +1 -0
- package/dist/collection/components/rating/rating.css +768 -0
- package/dist/collection/components/rating/rating.js +1062 -0
- package/dist/collection/components/rating/types.js +1 -0
- package/dist/collection/components/resizable-panel/resizable-panel.css +247 -0
- package/dist/collection/components/resizable-panel/resizable-panel.js +874 -0
- package/dist/collection/components/resizable-panel/types.js +1 -0
- package/dist/collection/components/scroll-top/scroll-top.css +397 -0
- package/dist/collection/components/scroll-top/scroll-top.js +1178 -0
- package/dist/collection/components/scroll-top/types.js +1 -0
- package/dist/collection/components/skeleton/skeleton-loader.css +429 -0
- package/dist/collection/components/skeleton/skeleton-loader.js +1193 -0
- package/dist/collection/components/skeleton/types.js +1 -0
- package/dist/collection/components/smart-location-dropdown/smart-location-dropdown.css +357 -0
- package/dist/collection/components/smart-location-dropdown/smart-location-dropdown.js +1190 -0
- package/dist/collection/components/smart-location-dropdown/types.js +1 -0
- package/dist/collection/components/smart-menu/menu-item.interface.js +1 -0
- package/dist/collection/components/smart-menu/smart-menu.css +119 -0
- package/dist/collection/components/smart-menu/smart-menu.js +544 -0
- package/dist/collection/components/smart-stepper/smart-step.css +213 -0
- package/dist/collection/components/smart-stepper/smart-step.js +170 -0
- package/dist/collection/components/smart-stepper/smart-stepper.css +146 -0
- package/dist/collection/components/smart-stepper/smart-stepper.js +338 -0
- package/dist/collection/components/snackbar/snackbar.css +1480 -0
- package/dist/collection/components/snackbar/snackbar.js +1759 -0
- package/dist/collection/components/snackbar/types.js +1 -0
- package/dist/collection/components/speed-dial/speed-dial.css +478 -0
- package/dist/collection/components/speed-dial/speed-dial.js +1183 -0
- package/dist/collection/components/speed-dial/types.js +1 -0
- package/dist/collection/components/speedometer/speedometer.css +95 -0
- package/dist/collection/components/speedometer/speedometer.js +868 -0
- package/dist/collection/components/speedometer/types.js +1 -0
- package/dist/collection/components/splitter/splitter.css +269 -0
- package/dist/collection/components/splitter/splitter.js +713 -0
- package/dist/collection/components/splitter/types.js +1 -0
- package/dist/collection/components/stack/stack.css +269 -0
- package/dist/collection/components/stack/stack.js +297 -0
- package/dist/collection/components/stack/types.js +1 -0
- package/dist/collection/components/step/step.css +77 -0
- package/dist/collection/components/step/step.js +214 -0
- package/dist/collection/components/step/types.js +1 -0
- package/dist/collection/components/stepper/stepper.css +1079 -0
- package/dist/collection/components/stepper/stepper.js +1850 -0
- package/dist/collection/components/stepper/types.js +1 -0
- package/dist/collection/components/switch/switch.css +1099 -0
- package/dist/collection/components/switch/switch.js +1578 -0
- package/dist/collection/components/tabs/tabs.css +1355 -0
- package/dist/collection/components/tabs/tabs.js +1474 -0
- package/dist/collection/components/tabs/types.js +1 -0
- package/dist/collection/components/tag/tag.css +893 -0
- package/dist/collection/components/tag/tag.js +1119 -0
- package/dist/collection/components/tag/types.js +1 -0
- package/dist/collection/components/tag-group/tag-group.css +144 -0
- package/dist/collection/components/tag-group/tag-group.js +887 -0
- package/dist/collection/components/tag-group/types.js +1 -0
- package/dist/collection/components/timeline/timeline.css +1850 -0
- package/dist/collection/components/timeline/timeline.js +889 -0
- package/dist/collection/components/timeline/types.js +1 -0
- package/dist/collection/components/timeline/ui-timeline.stories.js +19 -0
- package/dist/collection/components/timeline-item/timeline-item.css +75 -0
- package/dist/collection/components/timeline-item/timeline-item.js +91 -0
- package/dist/collection/components/timer/timer.css +367 -0
- package/dist/collection/components/timer/timer.js +1292 -0
- package/dist/collection/components/timer/types.js +1 -0
- package/dist/collection/components/timer/ui-timer.stories.js +19 -0
- package/dist/collection/components/toggle-group/toggle-group.css +361 -0
- package/dist/collection/components/toggle-group/toggle-group.js +1212 -0
- package/dist/collection/components/toggle-group/types.js +1 -0
- package/dist/collection/components/toolbar/toolbar-types.js +1 -0
- package/dist/collection/components/toolbar/toolbar.css +1186 -0
- package/dist/collection/components/toolbar/toolbar.js +1635 -0
- package/dist/collection/components/tooltip/tooltip.css +609 -0
- package/dist/collection/components/tooltip/tooltip.js +1882 -0
- package/dist/collection/components/tooltip/types.js +1 -0
- package/dist/collection/components/top-bar/top-bar.css +274 -0
- package/dist/collection/components/top-bar/top-bar.js +383 -0
- package/dist/collection/components/transfer-list/transfer-list.css +520 -0
- package/dist/collection/components/transfer-list/transfer-list.js +1225 -0
- package/dist/collection/components/transfer-list/types.js +1 -0
- package/dist/collection/components/tree/tree.css +1197 -0
- package/dist/collection/components/tree/tree.js +2509 -0
- package/dist/collection/components/tree/types.js +1 -0
- package/dist/collection/components/ui-navigation-bar/navigation-bar/navigation-bar.css +830 -0
- package/dist/collection/components/ui-navigation-bar/navigation-bar/navigation-bar.js +1231 -0
- package/dist/collection/components/ui-navigation-bar/navigation-bar/navigation-types.js +1 -0
- package/dist/collection/components/ui-navigation-bar/navigation-item.css +679 -0
- package/dist/collection/components/ui-navigation-bar/navigation-item.js +385 -0
- package/dist/collection/components/ui-navigation-bar/navigation-types.js +1 -0
- package/dist/collection/components/workspace-manager/types.js +1 -0
- package/dist/collection/components/workspace-manager/workspace-manager.css +1094 -0
- package/dist/collection/components/workspace-manager/workspace-manager.js +1914 -0
- package/dist/collection/components.js +51 -0
- package/dist/collection/index.js +108 -0
- package/dist/collection/service/drag-manager.js +23 -0
- package/dist/collection/service/event-bus.js +19 -0
- package/dist/collection/service/serialization.js +8 -0
- package/dist/collection/service/state-engine.js +247 -0
- package/dist/collection/service/theme-switcher.js +146 -0
- package/dist/collection/stories/Button.stories.js +15 -0
- package/dist/collection/types/common.js +1 -0
- package/dist/collection/types/index.js +4 -0
- package/dist/collection/utils/aria-live.js +60 -0
- package/dist/collection/utils/component-size.js +25 -0
- package/dist/collection/utils/dom.js +260 -0
- package/dist/collection/utils/focus-trap.js +135 -0
- package/dist/collection/utils/security.js +10 -0
- package/dist/collection/utils/test/setup-component-test-env.js +92 -0
- package/dist/collection/utils/utils.js +21 -0
- package/dist/collection/utils/validation.js +74 -0
- package/dist/components/avatar-group.js +1 -0
- package/dist/components/avatar.js +1 -0
- package/dist/components/badge.js +1 -0
- package/dist/components/button-toggle.js +1 -0
- package/dist/components/category-section.d.ts +11 -0
- package/dist/components/category-section.js +1 -0
- package/dist/components/category-section2.js +1 -0
- package/dist/components/checkbox.js +1 -0
- package/dist/components/context-menu.js +1 -0
- package/dist/components/dialog-footer.js +1 -0
- package/dist/components/dialog-header.js +1 -0
- package/dist/components/dom.js +1 -0
- package/dist/components/dropdown.js +1 -0
- package/dist/components/event-bus.js +1 -0
- package/dist/components/focus-trap.js +1 -0
- package/dist/components/icon.js +2 -0
- package/dist/components/index.d.ts +35 -0
- package/dist/components/index.js +1 -0
- package/dist/components/input.js +1 -0
- package/dist/components/layout-manager.d.ts +11 -0
- package/dist/components/layout-manager.js +1 -0
- package/dist/components/library-card.d.ts +11 -0
- package/dist/components/library-card.js +1 -0
- package/dist/components/library-card2.js +1 -0
- package/dist/components/list-group.js +1 -0
- package/dist/components/list-item.js +1 -0
- package/dist/components/lm-container.d.ts +11 -0
- package/dist/components/lm-container.js +1 -0
- package/dist/components/lm-container2.js +1 -0
- package/dist/components/lm-floating-window.d.ts +11 -0
- package/dist/components/lm-floating-window.js +1 -0
- package/dist/components/lm-floating-window2.js +1 -0
- package/dist/components/lm-panel.d.ts +11 -0
- package/dist/components/lm-panel.js +1 -0
- package/dist/components/lm-panel2.js +1 -0
- package/dist/components/lm-splitter.d.ts +11 -0
- package/dist/components/lm-splitter.js +1 -0
- package/dist/components/lm-splitter2.js +1 -0
- package/dist/components/lm-tabs.d.ts +11 -0
- package/dist/components/lm-tabs.js +1 -0
- package/dist/components/lm-tabs2.js +1 -0
- package/dist/components/my-component.d.ts +11 -0
- package/dist/components/my-component.js +1 -0
- package/dist/components/my-step.d.ts +11 -0
- package/dist/components/my-step.js +1 -0
- package/dist/components/nav-bar.d.ts +11 -0
- package/dist/components/nav-bar.js +1 -0
- package/dist/components/pagination.js +1 -0
- package/dist/components/radio.js +1 -0
- package/dist/components/range-slider.js +1 -0
- package/dist/components/rating.js +1 -0
- package/dist/components/resizable-panel.js +1 -0
- package/dist/components/skeleton-loader.js +1 -0
- package/dist/components/smart-step.d.ts +11 -0
- package/dist/components/smart-step.js +1 -0
- package/dist/components/stack.js +1 -0
- package/dist/components/switch.js +1 -0
- package/dist/components/tag-group.js +1 -0
- package/dist/components/tag.js +1 -0
- package/dist/components/timeline-item.d.ts +11 -0
- package/dist/components/timeline-item.js +1 -0
- package/dist/components/toggle-group.js +1 -0
- package/dist/components/tooltip.js +1 -0
- package/dist/components/ui-accordion.d.ts +11 -0
- package/dist/components/ui-accordion.js +1 -0
- package/dist/components/ui-advanced-data-table.d.ts +11 -0
- package/dist/components/ui-advanced-data-table.js +1 -0
- package/dist/components/ui-anchor.d.ts +11 -0
- package/dist/components/ui-anchor.js +1 -0
- package/dist/components/ui-animate-on-scroll.d.ts +11 -0
- package/dist/components/ui-animate-on-scroll.js +1 -0
- package/dist/components/ui-aside-panel.d.ts +11 -0
- package/dist/components/ui-aside-panel.js +1 -0
- package/dist/components/ui-avatar-group.d.ts +11 -0
- package/dist/components/ui-avatar-group.js +1 -0
- package/dist/components/ui-avatar.d.ts +11 -0
- package/dist/components/ui-avatar.js +1 -0
- package/dist/components/ui-badge.d.ts +11 -0
- package/dist/components/ui-badge.js +1 -0
- package/dist/components/ui-breadcrumb-item.d.ts +11 -0
- package/dist/components/ui-breadcrumb-item.js +1 -0
- package/dist/components/ui-breadcrumb.d.ts +11 -0
- package/dist/components/ui-breadcrumb.js +1 -0
- package/dist/components/ui-button-toggle-group.d.ts +11 -0
- package/dist/components/ui-button-toggle-group.js +1 -0
- package/dist/components/ui-button-toggle.d.ts +11 -0
- package/dist/components/ui-button-toggle.js +1 -0
- package/dist/components/ui-button.d.ts +11 -0
- package/dist/components/ui-button.js +1 -0
- package/dist/components/ui-callout-banner.d.ts +11 -0
- package/dist/components/ui-callout-banner.js +1 -0
- package/dist/components/ui-card.d.ts +11 -0
- package/dist/components/ui-card.js +1 -0
- package/dist/components/ui-carousel.d.ts +11 -0
- package/dist/components/ui-carousel.js +1 -0
- package/dist/components/ui-checkbox-group.d.ts +11 -0
- package/dist/components/ui-checkbox-group.js +1 -0
- package/dist/components/ui-checkbox.d.ts +11 -0
- package/dist/components/ui-checkbox.js +1 -0
- package/dist/components/ui-code-editor.d.ts +11 -0
- package/dist/components/ui-code-editor.js +1 -0
- package/dist/components/ui-code-preview.d.ts +11 -0
- package/dist/components/ui-code-preview.js +1 -0
- package/dist/components/ui-color-controller.d.ts +11 -0
- package/dist/components/ui-color-controller.js +1 -0
- package/dist/components/ui-color-picker.d.ts +11 -0
- package/dist/components/ui-color-picker.js +1 -0
- package/dist/components/ui-command-palette.d.ts +11 -0
- package/dist/components/ui-command-palette.js +1 -0
- package/dist/components/ui-context-menu.d.ts +11 -0
- package/dist/components/ui-context-menu.js +1 -0
- package/dist/components/ui-dialog-box.d.ts +11 -0
- package/dist/components/ui-dialog-box.js +1 -0
- package/dist/components/ui-dialog-content.d.ts +11 -0
- package/dist/components/ui-dialog-content.js +1 -0
- package/dist/components/ui-dialog-footer.d.ts +11 -0
- package/dist/components/ui-dialog-footer.js +1 -0
- package/dist/components/ui-dialog-header.d.ts +11 -0
- package/dist/components/ui-dialog-header.js +1 -0
- package/dist/components/ui-divider.d.ts +11 -0
- package/dist/components/ui-divider.js +1 -0
- package/dist/components/ui-dock-host.d.ts +11 -0
- package/dist/components/ui-dock-host.js +1 -0
- package/dist/components/ui-dock.d.ts +11 -0
- package/dist/components/ui-dock.js +1 -0
- package/dist/components/ui-drag-drop.d.ts +11 -0
- package/dist/components/ui-drag-drop.js +1 -0
- package/dist/components/ui-dropdown.d.ts +11 -0
- package/dist/components/ui-dropdown.js +1 -0
- package/dist/components/ui-empty-state.d.ts +11 -0
- package/dist/components/ui-empty-state.js +1 -0
- package/dist/components/ui-fab-item.d.ts +11 -0
- package/dist/components/ui-fab-item.js +1 -0
- package/dist/components/ui-fab.d.ts +11 -0
- package/dist/components/ui-fab.js +1 -0
- package/dist/components/ui-file-upload.d.ts +11 -0
- package/dist/components/ui-file-upload.js +1 -0
- package/dist/components/ui-horizontal-nav.d.ts +11 -0
- package/dist/components/ui-horizontal-nav.js +1 -0
- package/dist/components/ui-icon.d.ts +11 -0
- package/dist/components/ui-icon.js +1 -0
- package/dist/components/ui-image-button.d.ts +11 -0
- package/dist/components/ui-image-button.js +1 -0
- package/dist/components/ui-input-pair.d.ts +11 -0
- package/dist/components/ui-input-pair.js +1 -0
- package/dist/components/ui-input.d.ts +11 -0
- package/dist/components/ui-input.js +1 -0
- package/dist/components/ui-knob.d.ts +11 -0
- package/dist/components/ui-knob.js +1 -0
- package/dist/components/ui-library.d.ts +11 -0
- package/dist/components/ui-library.js +1 -0
- package/dist/components/ui-list-group.d.ts +11 -0
- package/dist/components/ui-list-group.js +1 -0
- package/dist/components/ui-list-item.d.ts +11 -0
- package/dist/components/ui-list-item.js +1 -0
- package/dist/components/ui-list.d.ts +11 -0
- package/dist/components/ui-list.js +1 -0
- package/dist/components/ui-masonry.d.ts +11 -0
- package/dist/components/ui-masonry.js +1 -0
- package/dist/components/ui-meter-group.d.ts +11 -0
- package/dist/components/ui-meter-group.js +1 -0
- package/dist/components/ui-navigation-bar.d.ts +11 -0
- package/dist/components/ui-navigation-bar.js +1 -0
- package/dist/components/ui-navigation-item.d.ts +11 -0
- package/dist/components/ui-navigation-item.js +1 -0
- package/dist/components/ui-number-input.d.ts +11 -0
- package/dist/components/ui-number-input.js +1 -0
- package/dist/components/ui-otp-input.d.ts +11 -0
- package/dist/components/ui-otp-input.js +1 -0
- package/dist/components/ui-pagination.d.ts +11 -0
- package/dist/components/ui-pagination.js +1 -0
- package/dist/components/ui-panel.d.ts +11 -0
- package/dist/components/ui-panel.js +1 -0
- package/dist/components/ui-pattern-input.d.ts +11 -0
- package/dist/components/ui-pattern-input.js +1 -0
- package/dist/components/ui-popover.d.ts +11 -0
- package/dist/components/ui-popover.js +1 -0
- package/dist/components/ui-progress.d.ts +11 -0
- package/dist/components/ui-progress.js +1 -0
- package/dist/components/ui-radio-group.d.ts +11 -0
- package/dist/components/ui-radio-group.js +1 -0
- package/dist/components/ui-radio.d.ts +11 -0
- package/dist/components/ui-radio.js +1 -0
- package/dist/components/ui-range-slider.d.ts +11 -0
- package/dist/components/ui-range-slider.js +1 -0
- package/dist/components/ui-rating.d.ts +11 -0
- package/dist/components/ui-rating.js +1 -0
- package/dist/components/ui-resizable-panel.d.ts +11 -0
- package/dist/components/ui-resizable-panel.js +1 -0
- package/dist/components/ui-scroll-top.d.ts +11 -0
- package/dist/components/ui-scroll-top.js +1 -0
- package/dist/components/ui-skeleton.d.ts +11 -0
- package/dist/components/ui-skeleton.js +1 -0
- package/dist/components/ui-smart-context-menu.d.ts +11 -0
- package/dist/components/ui-smart-context-menu.js +1 -0
- package/dist/components/ui-smart-location-dropdown.d.ts +11 -0
- package/dist/components/ui-smart-location-dropdown.js +1 -0
- package/dist/components/ui-smart-stepper.d.ts +11 -0
- package/dist/components/ui-smart-stepper.js +1 -0
- package/dist/components/ui-snackbar.d.ts +11 -0
- package/dist/components/ui-snackbar.js +1 -0
- package/dist/components/ui-speed-dial.d.ts +11 -0
- package/dist/components/ui-speed-dial.js +1 -0
- package/dist/components/ui-speedometer.d.ts +11 -0
- package/dist/components/ui-speedometer.js +1 -0
- package/dist/components/ui-splitter.d.ts +11 -0
- package/dist/components/ui-splitter.js +1 -0
- package/dist/components/ui-stack.d.ts +11 -0
- package/dist/components/ui-stack.js +1 -0
- package/dist/components/ui-step.d.ts +11 -0
- package/dist/components/ui-step.js +1 -0
- package/dist/components/ui-stepper.d.ts +11 -0
- package/dist/components/ui-stepper.js +1 -0
- package/dist/components/ui-switch.d.ts +11 -0
- package/dist/components/ui-switch.js +1 -0
- package/dist/components/ui-tabs.d.ts +11 -0
- package/dist/components/ui-tabs.js +1 -0
- package/dist/components/ui-tag-group.d.ts +11 -0
- package/dist/components/ui-tag-group.js +1 -0
- package/dist/components/ui-tag.d.ts +11 -0
- package/dist/components/ui-tag.js +1 -0
- package/dist/components/ui-timeline.d.ts +11 -0
- package/dist/components/ui-timeline.js +1 -0
- package/dist/components/ui-timer.d.ts +11 -0
- package/dist/components/ui-timer.js +1 -0
- package/dist/components/ui-toggle-group.d.ts +11 -0
- package/dist/components/ui-toggle-group.js +1 -0
- package/dist/components/ui-toolbar.d.ts +11 -0
- package/dist/components/ui-toolbar.js +1 -0
- package/dist/components/ui-tooltip.d.ts +11 -0
- package/dist/components/ui-tooltip.js +1 -0
- package/dist/components/ui-top-bar.d.ts +11 -0
- package/dist/components/ui-top-bar.js +1 -0
- package/dist/components/ui-transfer-list.d.ts +11 -0
- package/dist/components/ui-transfer-list.js +1 -0
- package/dist/components/ui-tree.d.ts +11 -0
- package/dist/components/ui-tree.js +1 -0
- package/dist/components/ui-workspace-manager.d.ts +11 -0
- package/dist/components/ui-workspace-manager.js +1 -0
- package/dist/components/utils.js +1 -0
- package/dist/esm/category-section.entry.js +28 -0
- package/dist/esm/component-size-C7gf39HE.js +27 -0
- package/dist/esm/dom-BMFah5q3.js +262 -0
- package/dist/esm/event-bus-vwwmWKs9.js +21 -0
- package/dist/esm/exploration-project-tailwind.js +20 -0
- package/dist/esm/focus-trap-BSQ8klD4.js +137 -0
- package/dist/esm/index-DUsoYu9r.js +2264 -0
- package/dist/esm/index.js +256 -0
- package/dist/esm/layout-manager.entry.js +614 -0
- package/dist/esm/library-card.entry.js +61 -0
- package/dist/esm/lm-container_2.entry.js +76 -0
- package/dist/esm/lm-panel_3.entry.js +104 -0
- package/dist/esm/loader.js +10 -0
- package/dist/esm/my-component.entry.js +31 -0
- package/dist/esm/my-step.entry.js +27 -0
- package/dist/esm/nav-bar.entry.js +245 -0
- package/dist/esm/security-D2WzX6vR.js +1545 -0
- package/dist/esm/smart-step.entry.js +45 -0
- package/dist/esm/timeline-item.entry.js +27 -0
- package/dist/esm/ui-accordion_10.entry.js +5722 -0
- package/dist/esm/ui-advanced-data-table.entry.js +2682 -0
- package/dist/esm/ui-anchor.entry.js +556 -0
- package/dist/esm/ui-animate-on-scroll.entry.js +283 -0
- package/dist/esm/ui-aside-panel.entry.js +636 -0
- package/dist/esm/ui-avatar-group_3.entry.js +630 -0
- package/dist/esm/ui-breadcrumb-item.entry.js +54 -0
- package/dist/esm/ui-breadcrumb.entry.js +199 -0
- package/dist/esm/ui-callout-banner.entry.js +289 -0
- package/dist/esm/ui-card.entry.js +409 -0
- package/dist/esm/ui-carousel.entry.js +545 -0
- package/dist/esm/ui-checkbox-group.entry.js +328 -0
- package/dist/esm/ui-checkbox.entry.js +258 -0
- package/dist/esm/ui-code-editor.entry.js +959 -0
- package/dist/esm/ui-code-preview.entry.js +313 -0
- package/dist/esm/ui-color-controller.entry.js +148 -0
- package/dist/esm/ui-color-picker.entry.js +656 -0
- package/dist/esm/ui-command-palette.entry.js +176 -0
- package/dist/esm/ui-dialog-box.entry.js +1806 -0
- package/dist/esm/ui-dialog-content.entry.js +29 -0
- package/dist/esm/ui-dialog-footer_2.entry.js +190 -0
- package/dist/esm/ui-divider.entry.js +479 -0
- package/dist/esm/ui-dock-host.entry.js +126 -0
- package/dist/esm/ui-dock.entry.js +219 -0
- package/dist/esm/ui-drag-drop.entry.js +170 -0
- package/dist/esm/ui-dropdown_2.entry.js +1549 -0
- package/dist/esm/ui-empty-state.entry.js +396 -0
- package/dist/esm/ui-fab-item.entry.js +37 -0
- package/dist/esm/ui-fab.entry.js +275 -0
- package/dist/esm/ui-file-upload.entry.js +416 -0
- package/dist/esm/ui-horizontal-nav.entry.js +133 -0
- package/dist/esm/ui-image-button.entry.js +65 -0
- package/dist/esm/ui-input-pair.entry.js +42 -0
- package/dist/esm/ui-knob.entry.js +445 -0
- package/dist/esm/ui-library.entry.js +132 -0
- package/dist/esm/ui-list-group_2.entry.js +583 -0
- package/dist/esm/ui-list.entry.js +730 -0
- package/dist/esm/ui-masonry.entry.js +476 -0
- package/dist/esm/ui-meter-group.entry.js +171 -0
- package/dist/esm/ui-navigation-item.entry.js +102 -0
- package/dist/esm/ui-number-input.entry.js +189 -0
- package/dist/esm/ui-otp-input.entry.js +244 -0
- package/dist/esm/ui-pagination_3.entry.js +1617 -0
- package/dist/esm/ui-panel.entry.js +612 -0
- package/dist/esm/ui-pattern-input.entry.js +276 -0
- package/dist/esm/ui-popover.entry.js +515 -0
- package/dist/esm/ui-progress.entry.js +514 -0
- package/dist/esm/ui-radio-group.entry.js +203 -0
- package/dist/esm/ui-radio.entry.js +204 -0
- package/dist/esm/ui-range-slider.entry.js +635 -0
- package/dist/esm/ui-resizable-panel.entry.js +482 -0
- package/dist/esm/ui-scroll-top.entry.js +457 -0
- package/dist/esm/ui-smart-context-menu.entry.js +374 -0
- package/dist/esm/ui-smart-location-dropdown.entry.js +563 -0
- package/dist/esm/ui-smart-stepper.entry.js +135 -0
- package/dist/esm/ui-snackbar.entry.js +861 -0
- package/dist/esm/ui-speed-dial.entry.js +518 -0
- package/dist/esm/ui-speedometer.entry.js +426 -0
- package/dist/esm/ui-splitter.entry.js +280 -0
- package/dist/esm/ui-step.entry.js +28 -0
- package/dist/esm/ui-stepper.entry.js +638 -0
- package/dist/esm/ui-switch.entry.js +403 -0
- package/dist/esm/ui-tabs.entry.js +701 -0
- package/dist/esm/ui-tag.entry.js +297 -0
- package/dist/esm/ui-timeline.entry.js +265 -0
- package/dist/esm/ui-timer.entry.js +500 -0
- package/dist/esm/ui-toolbar.entry.js +617 -0
- package/dist/esm/ui-tooltip.entry.js +695 -0
- package/dist/esm/ui-top-bar.entry.js +119 -0
- package/dist/esm/ui-transfer-list.entry.js +590 -0
- package/dist/esm/ui-tree.entry.js +872 -0
- package/dist/esm/ui-workspace-manager.entry.js +1199 -0
- package/dist/esm/utils-Ck6jDuhz.js +23 -0
- package/dist/exploration-project-tailwind/exploration-project-tailwind.css +1 -0
- package/dist/exploration-project-tailwind/exploration-project-tailwind.esm.js +1 -0
- package/dist/exploration-project-tailwind/index.esm.js +1 -0
- package/dist/exploration-project-tailwind/p-01c7db7a.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-049744f9.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-06f0c679.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-0b004861.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-0d31c9e9.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-148e81df.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-200241f8.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-287dbf09.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-2d273118.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-2f1aebb3.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-2f961934.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-35296877.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-36861546.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-3d3d48fd.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-41cd6bf0.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-45482d86.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-46596a28.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-46efdea3.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-47e2a7ee.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-4d73c143.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-4de419d5.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-4f6bba75.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-5508874f.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-5ce0dbd8.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-5e3e80ae.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-61717490.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-62352ef2.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-64e3a484.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-6ab80ead.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-6e9694f2.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-6fa9dc15.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-70d82d79.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-717dad1f.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-7376ac95.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-73d29a4a.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-7515b1e3.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-77124686.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-77a21491.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-77cc333a.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-7f91d949.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-807c6555.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-81961fb1.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-85bf89fd.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-85e36111.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-875be805.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-898dd0fa.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-8d951aef.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-9d0c8760.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-9fa70359.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-9fc06ff0.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-BMFah5q3.js +1 -0
- package/dist/exploration-project-tailwind/p-BSQ8klD4.js +1 -0
- package/dist/exploration-project-tailwind/p-C7gf39HE.js +1 -0
- package/dist/exploration-project-tailwind/p-Ck6jDuhz.js +1 -0
- package/dist/exploration-project-tailwind/p-D2WzX6vR.js +2 -0
- package/dist/exploration-project-tailwind/p-DUsoYu9r.js +2 -0
- package/dist/exploration-project-tailwind/p-a1ad32a2.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-a3f465d9.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-a42fdc33.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-a4f52a76.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-aa85ff78.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-ab752761.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-ba21fed3.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-c174a372.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-c2ca71ac.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-c4ba7e52.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-c5ddc817.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-c69dd43e.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-c6fd72e1.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-c7e87fbb.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-c87aeab6.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-c90722ec.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-ccb5c737.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-ce1222a1.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-d16c9635.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-d2308a00.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-d30e24bd.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-d419eaf0.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-debede45.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-e5322e59.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-e8ba0c95.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-e90d5307.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-ea51c5d8.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-ecda1cc3.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-f0830120.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-f11e5cae.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-f5719913.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-ffb1754a.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-vwwmWKs9.js +1 -0
- package/dist/index.cjs.js +1 -0
- package/dist/index.js +1 -0
- package/dist/types/components/accordion/accordion.d.ts +352 -0
- package/dist/types/components/accordion/types.d.ts +69 -0
- package/dist/types/components/advanced-data-table/advanced-data-table.d.ts +697 -0
- package/dist/types/components/advanced-data-table/types.d.ts +120 -0
- package/dist/types/components/anchor/anchor.d.ts +133 -0
- package/dist/types/components/anchor/types.d.ts +17 -0
- package/dist/types/components/animate-on-scroll/animate-on-scroll.d.ts +101 -0
- package/dist/types/components/aside-panel/aside-panel.d.ts +249 -0
- package/dist/types/components/avatar/avatar.d.ts +201 -0
- package/dist/types/components/avatar/types.d.ts +132 -0
- package/dist/types/components/avatar-group/avatar-group.d.ts +52 -0
- package/dist/types/components/avatar-group/types.d.ts +31 -0
- package/dist/types/components/badge/badge.d.ts +109 -0
- package/dist/types/components/badge/types.d.ts +6 -0
- package/dist/types/components/breadcrumb/breadcrumb-item.d.ts +36 -0
- package/dist/types/components/breadcrumb/breadcrumb.d.ts +73 -0
- package/dist/types/components/breadcrumb/types.d.ts +5 -0
- package/dist/types/components/button/button.d.ts +133 -0
- package/dist/types/components/button/types.d.ts +1 -0
- package/dist/types/components/button-toggle/button-toggle.d.ts +64 -0
- package/dist/types/components/button-toggle-group/button-toggle-group.d.ts +141 -0
- package/dist/types/components/button-toggle-group/types.d.ts +7 -0
- package/dist/types/components/callout-banner/callout-banner.d.ts +115 -0
- package/dist/types/components/callout-banner/types.d.ts +7 -0
- package/dist/types/components/card/card.d.ts +160 -0
- package/dist/types/components/card/types.d.ts +13 -0
- package/dist/types/components/carousel/carousel.d.ts +150 -0
- package/dist/types/components/carousel/types.d.ts +8 -0
- package/dist/types/components/checkbox/checkbox.d.ts +92 -0
- package/dist/types/components/checkbox/types.d.ts +5 -0
- package/dist/types/components/checkbox-group/checkbox-group.d.ts +87 -0
- package/dist/types/components/checkbox-group/types.d.ts +8 -0
- package/dist/types/components/code-editor/code-editor.d.ts +147 -0
- package/dist/types/components/code-editor/types.d.ts +20 -0
- package/dist/types/components/code-preview/types.d.ts +5 -0
- package/dist/types/components/code-preview/ui-code-preview.d.ts +69 -0
- package/dist/types/components/color-controller/color-controller.d.ts +24 -0
- package/dist/types/components/color-picker/color-picker.d.ts +116 -0
- package/dist/types/components/color-picker/types.d.ts +24 -0
- package/dist/types/components/command-palette/command-palette.d.ts +41 -0
- package/dist/types/components/command-palette/types.d.ts +7 -0
- package/dist/types/components/context-menu/context-menu.d.ts +135 -0
- package/dist/types/components/context-menu/types.d.ts +20 -0
- package/dist/types/components/dialog-box/dialog-box.d.ts +648 -0
- package/dist/types/components/dialog-box/types.d.ts +1 -0
- package/dist/types/components/dialog-content/dialog-content.d.ts +9 -0
- package/dist/types/components/dialog-footer/dialog-footer.d.ts +9 -0
- package/dist/types/components/dialog-footer/types.d.ts +1 -0
- package/dist/types/components/dialog-header/dialog-header.d.ts +102 -0
- package/dist/types/components/dialog-header/types.d.ts +2 -0
- package/dist/types/components/divider/divider.d.ts +245 -0
- package/dist/types/components/divider/types.d.ts +14 -0
- package/dist/types/components/dock/dock.d.ts +37 -0
- package/dist/types/components/dock/types.d.ts +11 -0
- package/dist/types/components/dock-host/index.d.ts +1 -0
- package/dist/types/components/dock-host/types.d.ts +1 -0
- package/dist/types/components/dock-host/ui-dock-host.d.ts +23 -0
- package/dist/types/components/drag-drop/drag-drop.d.ts +52 -0
- package/dist/types/components/drag-drop/types.d.ts +9 -0
- package/dist/types/components/dropdown/dropdown.d.ts +264 -0
- package/dist/types/components/dropdown/types.d.ts +19 -0
- package/dist/types/components/empty-state/empty-state.d.ts +74 -0
- package/dist/types/components/empty-state/types.d.ts +13 -0
- package/dist/types/components/fab/fab.d.ts +73 -0
- package/dist/types/components/fab-item/fab-item.d.ts +14 -0
- package/dist/types/components/fab-item/types.d.ts +3 -0
- package/dist/types/components/file-upload/file-upload.d.ts +91 -0
- package/dist/types/components/file-upload/types.d.ts +15 -0
- package/dist/types/components/horizontal-nav/horizontal-nav.d.ts +68 -0
- package/dist/types/components/icon/icon.d.ts +66 -0
- package/dist/types/components/image-button/image-button.d.ts +31 -0
- package/dist/types/components/image-button/types.d.ts +1 -0
- package/dist/types/components/input/input.d.ts +217 -0
- package/dist/types/components/input/types.d.ts +6 -0
- package/dist/types/components/input-pair/input-pair.d.ts +28 -0
- package/dist/types/components/knob/knob.d.ts +147 -0
- package/dist/types/components/knob/types.d.ts +4 -0
- package/dist/types/components/layout-manager/layout-manager.d.ts +32 -0
- package/dist/types/components/layout-manager/lm-container/lm-container.d.ts +7 -0
- package/dist/types/components/layout-manager/lm-floating-window/lm-floating-window.d.ts +6 -0
- package/dist/types/components/layout-manager/lm-panel/lm-panel.d.ts +7 -0
- package/dist/types/components/layout-manager/lm-splitter/lm-splitter.d.ts +12 -0
- package/dist/types/components/layout-manager/lm-tabs/lm-tabs.d.ts +12 -0
- package/dist/types/components/layout-manager/types.d.ts +1 -0
- package/dist/types/components/library/category-section.d.ts +15 -0
- package/dist/types/components/library/data.d.ts +11 -0
- package/dist/types/components/library/library-card.d.ts +19 -0
- package/dist/types/components/library/library.d.ts +9 -0
- package/dist/types/components/list/list.d.ts +183 -0
- package/dist/types/components/list-group/list-group.d.ts +28 -0
- package/dist/types/components/list-item/list-item.d.ts +200 -0
- package/dist/types/components/masonry/masonry.d.ts +105 -0
- package/dist/types/components/masonry/types.d.ts +5 -0
- package/dist/types/components/meter-group/meter-group.d.ts +66 -0
- package/dist/types/components/meter-group/types.d.ts +12 -0
- package/dist/types/components/my-component/my-component.d.ts +16 -0
- package/dist/types/components/my-step/index.d.ts +12 -0
- package/dist/types/components/my-step/my-step.d.ts +13 -0
- package/dist/types/components/nav-bar/nav-bar.d.ts +119 -0
- package/dist/types/components/number-input/number-input.d.ts +72 -0
- package/dist/types/components/otp-input/otp-input.d.ts +64 -0
- package/dist/types/components/otp-input/types.d.ts +3 -0
- package/dist/types/components/pagination/pagination.d.ts +295 -0
- package/dist/types/components/pagination/types.d.ts +1 -0
- package/dist/types/components/panel/panel.d.ts +275 -0
- package/dist/types/components/panel/types.d.ts +7 -0
- package/dist/types/components/pattern-input/pattern-input.d.ts +88 -0
- package/dist/types/components/popover/popover.d.ts +161 -0
- package/dist/types/components/popover/types.d.ts +3 -0
- package/dist/types/components/progress/progress.d.ts +224 -0
- package/dist/types/components/progress/types.d.ts +6 -0
- package/dist/types/components/radio/radio.d.ts +87 -0
- package/dist/types/components/radio/types.d.ts +7 -0
- package/dist/types/components/radio-group/radio-group.d.ts +74 -0
- package/dist/types/components/radio-group/types.d.ts +2 -0
- package/dist/types/components/range-slider/range-slider.d.ts +201 -0
- package/dist/types/components/range-slider/types.d.ts +4 -0
- package/dist/types/components/rating/rating.d.ts +127 -0
- package/dist/types/components/rating/types.d.ts +1 -0
- package/dist/types/components/resizable-panel/resizable-panel.d.ts +59 -0
- package/dist/types/components/resizable-panel/types.d.ts +11 -0
- package/dist/types/components/scroll-top/scroll-top.d.ts +186 -0
- package/dist/types/components/scroll-top/types.d.ts +1 -0
- package/dist/types/components/skeleton/skeleton-loader.d.ts +149 -0
- package/dist/types/components/skeleton/types.d.ts +1 -0
- package/dist/types/components/smart-location-dropdown/smart-location-dropdown.d.ts +119 -0
- package/dist/types/components/smart-location-dropdown/types.d.ts +37 -0
- package/dist/types/components/smart-menu/menu-item.interface.d.ts +10 -0
- package/dist/types/components/smart-menu/smart-menu.d.ts +64 -0
- package/dist/types/components/smart-stepper/smart-step.d.ts +29 -0
- package/dist/types/components/smart-stepper/smart-stepper.d.ts +53 -0
- package/dist/types/components/snackbar/snackbar.d.ts +223 -0
- package/dist/types/components/snackbar/types.d.ts +104 -0
- package/dist/types/components/speed-dial/speed-dial.d.ts +171 -0
- package/dist/types/components/speed-dial/types.d.ts +11 -0
- package/dist/types/components/speedometer/speedometer.d.ts +125 -0
- package/dist/types/components/speedometer/types.d.ts +8 -0
- package/dist/types/components/splitter/splitter.d.ts +63 -0
- package/dist/types/components/splitter/types.d.ts +9 -0
- package/dist/types/components/stack/stack.d.ts +34 -0
- package/dist/types/components/stack/types.d.ts +3 -0
- package/dist/types/components/step/step.d.ts +16 -0
- package/dist/types/components/step/types.d.ts +1 -0
- package/dist/types/components/stepper/stepper.d.ts +218 -0
- package/dist/types/components/stepper/types.d.ts +39 -0
- package/dist/types/components/switch/switch.d.ts +162 -0
- package/dist/types/components/tabs/tabs.d.ts +182 -0
- package/dist/types/components/tabs/types.d.ts +17 -0
- package/dist/types/components/tag/tag.d.ts +172 -0
- package/dist/types/components/tag/types.d.ts +4 -0
- package/dist/types/components/tag-group/tag-group.d.ts +107 -0
- package/dist/types/components/tag-group/types.d.ts +2 -0
- package/dist/types/components/timeline/timeline.d.ts +73 -0
- package/dist/types/components/timeline/types.d.ts +28 -0
- package/dist/types/components/timeline/ui-timeline.stories.d.ts +9 -0
- package/dist/types/components/timeline-item/timeline-item.d.ts +15 -0
- package/dist/types/components/timer/timer.d.ts +123 -0
- package/dist/types/components/timer/types.d.ts +18 -0
- package/dist/types/components/timer/ui-timer.stories.d.ts +9 -0
- package/dist/types/components/toggle-group/toggle-group.d.ts +136 -0
- package/dist/types/components/toggle-group/types.d.ts +5 -0
- package/dist/types/components/toolbar/toolbar-types.d.ts +189 -0
- package/dist/types/components/toolbar/toolbar.d.ts +150 -0
- package/dist/types/components/tooltip/tooltip.d.ts +166 -0
- package/dist/types/components/tooltip/types.d.ts +3 -0
- package/dist/types/components/top-bar/top-bar.d.ts +76 -0
- package/dist/types/components/transfer-list/transfer-list.d.ts +137 -0
- package/dist/types/components/transfer-list/types.d.ts +13 -0
- package/dist/types/components/tree/tree.d.ts +180 -0
- package/dist/types/components/tree/types.d.ts +76 -0
- package/dist/types/components/ui-navigation-bar/navigation-bar/navigation-bar.d.ts +108 -0
- package/dist/types/components/ui-navigation-bar/navigation-bar/navigation-types.d.ts +17 -0
- package/dist/types/components/ui-navigation-bar/navigation-item.d.ts +26 -0
- package/dist/types/components/ui-navigation-bar/navigation-types.d.ts +19 -0
- package/dist/types/components/workspace-manager/types.d.ts +48 -0
- package/dist/types/components/workspace-manager/workspace-manager.d.ts +211 -0
- package/dist/types/components.d.ts +29634 -0
- package/dist/types/index.d.ts +21 -0
- package/dist/types/service/drag-manager.d.ts +8 -0
- package/dist/types/service/event-bus.d.ts +9 -0
- package/dist/types/service/serialization.d.ts +5 -0
- package/dist/types/service/state-engine.d.ts +25 -0
- package/dist/types/service/theme-switcher.d.ts +46 -0
- package/dist/types/stencil-public-runtime.d.ts +1860 -0
- package/dist/types/types/animation.type.d.ts +96 -0
- package/dist/types/types/common.d.ts +52 -0
- package/dist/types/types/common.type.d.ts +608 -0
- package/dist/types/types/index.d.ts +37 -0
- package/dist/types/types/text.type.d.ts +32 -0
- package/dist/types/utils/aria-live.d.ts +20 -0
- package/dist/types/utils/component-size.d.ts +2 -0
- package/dist/types/utils/dom.d.ts +58 -0
- package/dist/types/utils/focus-trap.d.ts +35 -0
- package/dist/types/utils/security.d.ts +5 -0
- package/dist/types/utils/test/setup-component-test-env.d.ts +14 -0
- package/dist/types/utils/utils.d.ts +7 -0
- package/dist/types/utils/validation.d.ts +43 -0
- package/loader/cdn.js +1 -0
- package/loader/index.cjs.js +1 -0
- package/loader/index.d.ts +24 -0
- package/loader/index.es2017.js +1 -0
- package/loader/index.js +2 -0
- package/package.json +77 -0
|
@@ -0,0 +1,2033 @@
|
|
|
1
|
+
import { h } from "@stencil/core";
|
|
2
|
+
export class Pagination {
|
|
3
|
+
el;
|
|
4
|
+
/**
|
|
5
|
+
* Hide navigation buttons (next, previous, first, last) in dropdown/input modes
|
|
6
|
+
*/
|
|
7
|
+
hideNavButtons = false;
|
|
8
|
+
/**
|
|
9
|
+
* Current active page (1-based)
|
|
10
|
+
*/
|
|
11
|
+
currentPage = 1;
|
|
12
|
+
/**
|
|
13
|
+
* Total number of items
|
|
14
|
+
*/
|
|
15
|
+
totalItems = 0;
|
|
16
|
+
/**
|
|
17
|
+
* Number of items per page
|
|
18
|
+
*/
|
|
19
|
+
itemsPerPage = 10;
|
|
20
|
+
/**
|
|
21
|
+
* Maximum number of page buttons to show
|
|
22
|
+
*/
|
|
23
|
+
maxVisiblePages = 5;
|
|
24
|
+
/**
|
|
25
|
+
* Type of pagination to display
|
|
26
|
+
*/
|
|
27
|
+
type = 'basic';
|
|
28
|
+
/**
|
|
29
|
+
* Size of the pagination component
|
|
30
|
+
*/
|
|
31
|
+
size = 'md';
|
|
32
|
+
/**
|
|
33
|
+
* Visual variant of the pagination
|
|
34
|
+
*/
|
|
35
|
+
variant = 'default';
|
|
36
|
+
/**
|
|
37
|
+
* Color theme
|
|
38
|
+
*/
|
|
39
|
+
theme = 'primary';
|
|
40
|
+
/**
|
|
41
|
+
* Whether to show first/last buttons
|
|
42
|
+
*/
|
|
43
|
+
showFirstLast = true;
|
|
44
|
+
/**
|
|
45
|
+
* Whether to show previous/next buttons
|
|
46
|
+
*/
|
|
47
|
+
showPrevNext = true;
|
|
48
|
+
/**
|
|
49
|
+
* Whether to show page size selector
|
|
50
|
+
*/
|
|
51
|
+
showPageSize = false;
|
|
52
|
+
/**
|
|
53
|
+
* Whether to show total count
|
|
54
|
+
*/
|
|
55
|
+
showTotal = false;
|
|
56
|
+
/**
|
|
57
|
+
* Whether to show jump to page input
|
|
58
|
+
*/
|
|
59
|
+
showJumpTo = false;
|
|
60
|
+
/**
|
|
61
|
+
* Custom text for previous button
|
|
62
|
+
*/
|
|
63
|
+
prevText = 'Previous';
|
|
64
|
+
/**
|
|
65
|
+
* Custom text for next button
|
|
66
|
+
*/
|
|
67
|
+
nextText = 'Next';
|
|
68
|
+
/**
|
|
69
|
+
* Custom text for first button
|
|
70
|
+
*/
|
|
71
|
+
firstText = 'First';
|
|
72
|
+
/**
|
|
73
|
+
* Custom text for last button
|
|
74
|
+
*/
|
|
75
|
+
lastText = 'Last';
|
|
76
|
+
/**
|
|
77
|
+
* Available page sizes for selector
|
|
78
|
+
*/
|
|
79
|
+
pageSizes = [10, 25, 50, 100];
|
|
80
|
+
/**
|
|
81
|
+
* Whether pagination is disabled
|
|
82
|
+
*/
|
|
83
|
+
disabled = false;
|
|
84
|
+
/**
|
|
85
|
+
* Whether to show only icons (no text labels)
|
|
86
|
+
*/
|
|
87
|
+
iconOnly = false;
|
|
88
|
+
/**
|
|
89
|
+
* Whether to use infinite scroll style (shows loading state)
|
|
90
|
+
*/
|
|
91
|
+
infinite = false;
|
|
92
|
+
/**
|
|
93
|
+
* Loading state for infinite scroll
|
|
94
|
+
*/
|
|
95
|
+
loading = false;
|
|
96
|
+
/**
|
|
97
|
+
* Whether to use compact mode (for dropdown and input types)
|
|
98
|
+
*/
|
|
99
|
+
compact = false;
|
|
100
|
+
/**
|
|
101
|
+
* Enable keyboard navigation
|
|
102
|
+
*/
|
|
103
|
+
keyboardNav = true;
|
|
104
|
+
shape = 'default';
|
|
105
|
+
/**
|
|
106
|
+
* Pill-shaped buttons (shorthand for shape="pill")
|
|
107
|
+
*/
|
|
108
|
+
pill = false;
|
|
109
|
+
/**
|
|
110
|
+
* Circle-shaped buttons (shorthand for shape="circle")
|
|
111
|
+
*/
|
|
112
|
+
circle = false;
|
|
113
|
+
/**
|
|
114
|
+
* Custom prev icon (emoji or SVG string)
|
|
115
|
+
*/
|
|
116
|
+
prevIcon = '';
|
|
117
|
+
/**
|
|
118
|
+
* Custom next icon (emoji or SVG string)
|
|
119
|
+
*/
|
|
120
|
+
nextIcon = '';
|
|
121
|
+
/**
|
|
122
|
+
* Custom first icon (emoji or SVG string)
|
|
123
|
+
*/
|
|
124
|
+
firstIcon = '';
|
|
125
|
+
/**
|
|
126
|
+
* Custom last icon (emoji or SVG string)
|
|
127
|
+
*/
|
|
128
|
+
lastIcon = '';
|
|
129
|
+
/**
|
|
130
|
+
* Mobile breakpoint (px)
|
|
131
|
+
*/
|
|
132
|
+
mobileBreakpoint = 768;
|
|
133
|
+
/**
|
|
134
|
+
* Auto-switch to compact mode on mobile
|
|
135
|
+
*/
|
|
136
|
+
responsiveMode = true;
|
|
137
|
+
/**
|
|
138
|
+
* RTL support
|
|
139
|
+
*/
|
|
140
|
+
rtl = false;
|
|
141
|
+
/**
|
|
142
|
+
* Show tooltip on ellipsis hover with hidden page numbers
|
|
143
|
+
*/
|
|
144
|
+
ellipsisTooltip = true;
|
|
145
|
+
/**
|
|
146
|
+
* Enable page transition animations
|
|
147
|
+
*/
|
|
148
|
+
pageTransition = true;
|
|
149
|
+
/**
|
|
150
|
+
* Sync current page with URL query parameter
|
|
151
|
+
*/
|
|
152
|
+
urlSync = false;
|
|
153
|
+
/**
|
|
154
|
+
* URL parameter name for page number
|
|
155
|
+
*/
|
|
156
|
+
urlParam = 'page';
|
|
157
|
+
autoHide = true;
|
|
158
|
+
getEffectiveShape() {
|
|
159
|
+
if (this.shape !== 'default')
|
|
160
|
+
return this.shape;
|
|
161
|
+
if (this.circle)
|
|
162
|
+
return 'circle';
|
|
163
|
+
if (this.pill)
|
|
164
|
+
return 'pill';
|
|
165
|
+
return 'default';
|
|
166
|
+
}
|
|
167
|
+
/**
|
|
168
|
+
* Enable quick jump buttons (+5, -5)
|
|
169
|
+
*/
|
|
170
|
+
quickJump = false;
|
|
171
|
+
/**
|
|
172
|
+
* Quick jump step size
|
|
173
|
+
*/
|
|
174
|
+
quickJumpStep = 5;
|
|
175
|
+
/**
|
|
176
|
+
* Make pagination sticky
|
|
177
|
+
*/
|
|
178
|
+
sticky = false;
|
|
179
|
+
/**
|
|
180
|
+
* Sticky position (top or bottom)
|
|
181
|
+
*/
|
|
182
|
+
stickyPosition = 'bottom';
|
|
183
|
+
/**
|
|
184
|
+
* Auto-switch to compact when pages exceed threshold
|
|
185
|
+
*/
|
|
186
|
+
smartCompact = false;
|
|
187
|
+
/**
|
|
188
|
+
* Page count threshold for smart compact mode
|
|
189
|
+
*/
|
|
190
|
+
smartCompactThreshold = 20;
|
|
191
|
+
/**
|
|
192
|
+
* Enable swipe gestures on mobile
|
|
193
|
+
*/
|
|
194
|
+
swipeGestures = true;
|
|
195
|
+
/**
|
|
196
|
+
* Show progress indicator
|
|
197
|
+
*/
|
|
198
|
+
showProgress = false;
|
|
199
|
+
/**
|
|
200
|
+
* If true, shows a checkmark (tick) next to selected items in internal dropdowns.
|
|
201
|
+
*/
|
|
202
|
+
showSelectedMarker = true;
|
|
203
|
+
/**
|
|
204
|
+
* Layout buttons without gaps, inside a single border-radius container
|
|
205
|
+
*/
|
|
206
|
+
segmented = false;
|
|
207
|
+
/**
|
|
208
|
+
* Hide page number buttons completely
|
|
209
|
+
*/
|
|
210
|
+
hideNumbers = false;
|
|
211
|
+
/**
|
|
212
|
+
* Show custom label (e.g. "3 OF 10") instead of or alongside numbers
|
|
213
|
+
*/
|
|
214
|
+
showLabel = false;
|
|
215
|
+
/**
|
|
216
|
+
* Template for the label when showLabel is true. Uses {current} and {total} placeholders.
|
|
217
|
+
*/
|
|
218
|
+
labelTemplate = '{current} OF {total}';
|
|
219
|
+
/**
|
|
220
|
+
* Only join navigation arrows (prev/next) together
|
|
221
|
+
*/
|
|
222
|
+
arrowsJoined = false;
|
|
223
|
+
/**
|
|
224
|
+
* Layout the pagination vertically
|
|
225
|
+
*/
|
|
226
|
+
vertical = false;
|
|
227
|
+
/**
|
|
228
|
+
* Persist page to localStorage
|
|
229
|
+
*/
|
|
230
|
+
persistPage = false;
|
|
231
|
+
/**
|
|
232
|
+
* LocalStorage key for persistence
|
|
233
|
+
*/
|
|
234
|
+
storageKey = 'pagination-page';
|
|
235
|
+
/**
|
|
236
|
+
* Emitted when page changes
|
|
237
|
+
*/
|
|
238
|
+
pageChange;
|
|
239
|
+
/**
|
|
240
|
+
* Emitted when items per page changes
|
|
241
|
+
*/
|
|
242
|
+
itemsPerPageChange;
|
|
243
|
+
/**
|
|
244
|
+
* Emitted when validation error occurs
|
|
245
|
+
*/
|
|
246
|
+
validationError;
|
|
247
|
+
jumpToPage = null;
|
|
248
|
+
inputError = '';
|
|
249
|
+
pageInputValue = '1';
|
|
250
|
+
showEllipsisTooltip = false;
|
|
251
|
+
ellipsisPages = [];
|
|
252
|
+
isTransitioning = false;
|
|
253
|
+
isMobile = false;
|
|
254
|
+
openDropdown = null;
|
|
255
|
+
handleTotalChange() {
|
|
256
|
+
if (this.currentPage > this.totalPages && this.totalPages > 0) {
|
|
257
|
+
this.currentPage = this.totalPages;
|
|
258
|
+
}
|
|
259
|
+
}
|
|
260
|
+
handleCurrentPageChange(newValue) {
|
|
261
|
+
this.syncPageInputState(newValue);
|
|
262
|
+
}
|
|
263
|
+
handleOpenDropdownChange(newValue) {
|
|
264
|
+
// Elevate host z-index in the light DOM so the panel stacks above
|
|
265
|
+
// sibling ui-pagination shadow hosts (shadow DOM z-index is isolated)
|
|
266
|
+
this.el.classList.toggle('has-open-dropdown', newValue !== null);
|
|
267
|
+
}
|
|
268
|
+
paginationRef;
|
|
269
|
+
touchStartX = 0;
|
|
270
|
+
touchEndX = 0;
|
|
271
|
+
handleOutsideClick = (e) => {
|
|
272
|
+
if (!this.openDropdown)
|
|
273
|
+
return;
|
|
274
|
+
const path = e.composedPath();
|
|
275
|
+
if (!path.includes(this.el)) {
|
|
276
|
+
this.openDropdown = null;
|
|
277
|
+
}
|
|
278
|
+
};
|
|
279
|
+
componentWillLoad() {
|
|
280
|
+
// Initial responsive check
|
|
281
|
+
if (this.responsiveMode && typeof window !== 'undefined') {
|
|
282
|
+
this.checkMobileView();
|
|
283
|
+
}
|
|
284
|
+
// URL sync - read from URL on load
|
|
285
|
+
if (this.urlSync && typeof window !== 'undefined') {
|
|
286
|
+
const urlPage = this.getPageFromURL();
|
|
287
|
+
if (urlPage && urlPage !== this.currentPage) {
|
|
288
|
+
this.currentPage = urlPage;
|
|
289
|
+
}
|
|
290
|
+
}
|
|
291
|
+
// LocalStorage persistence - read from storage on load
|
|
292
|
+
if (this.persistPage && typeof window !== 'undefined') {
|
|
293
|
+
const storedPage = this.getPageFromStorage();
|
|
294
|
+
if (storedPage && storedPage !== this.currentPage) {
|
|
295
|
+
this.currentPage = storedPage;
|
|
296
|
+
}
|
|
297
|
+
}
|
|
298
|
+
this.syncPageInputState(this.currentPage);
|
|
299
|
+
}
|
|
300
|
+
componentDidLoad() {
|
|
301
|
+
// Close dropdown on outside click
|
|
302
|
+
if (typeof window !== 'undefined') {
|
|
303
|
+
document.addEventListener('pointerdown', this.handleOutsideClick, true);
|
|
304
|
+
window.addEventListener('click', this.handleOutsideClick);
|
|
305
|
+
}
|
|
306
|
+
// Responsive mode - add listener
|
|
307
|
+
if (this.responsiveMode && typeof window !== 'undefined') {
|
|
308
|
+
window.addEventListener('resize', this.checkMobileView);
|
|
309
|
+
}
|
|
310
|
+
// Swipe gestures for mobile
|
|
311
|
+
if (this.swipeGestures && this.paginationRef) {
|
|
312
|
+
this.paginationRef.addEventListener('touchstart', this.handleTouchStart, { passive: true });
|
|
313
|
+
this.paginationRef.addEventListener('touchend', this.handleTouchEnd, { passive: true });
|
|
314
|
+
}
|
|
315
|
+
}
|
|
316
|
+
disconnectedCallback() {
|
|
317
|
+
if (typeof window !== 'undefined') {
|
|
318
|
+
window.removeEventListener('resize', this.checkMobileView);
|
|
319
|
+
window.removeEventListener('click', this.handleOutsideClick);
|
|
320
|
+
document.removeEventListener('pointerdown', this.handleOutsideClick, true);
|
|
321
|
+
}
|
|
322
|
+
if (this.swipeGestures && this.paginationRef) {
|
|
323
|
+
this.paginationRef.removeEventListener('touchstart', this.handleTouchStart);
|
|
324
|
+
this.paginationRef.removeEventListener('touchend', this.handleTouchEnd);
|
|
325
|
+
}
|
|
326
|
+
}
|
|
327
|
+
checkMobileView = () => {
|
|
328
|
+
if (typeof window !== 'undefined') {
|
|
329
|
+
this.isMobile = window.innerWidth < this.mobileBreakpoint;
|
|
330
|
+
}
|
|
331
|
+
};
|
|
332
|
+
handleKeyDown = (e) => {
|
|
333
|
+
if (!this.keyboardNav || this.disabled)
|
|
334
|
+
return;
|
|
335
|
+
switch (e.key) {
|
|
336
|
+
case 'ArrowLeft':
|
|
337
|
+
e.preventDefault();
|
|
338
|
+
if (this.rtl) {
|
|
339
|
+
this.handlePageChange(this.currentPage + 1);
|
|
340
|
+
}
|
|
341
|
+
else {
|
|
342
|
+
this.handlePageChange(this.currentPage - 1);
|
|
343
|
+
}
|
|
344
|
+
break;
|
|
345
|
+
case 'ArrowRight':
|
|
346
|
+
e.preventDefault();
|
|
347
|
+
if (this.rtl) {
|
|
348
|
+
this.handlePageChange(this.currentPage - 1);
|
|
349
|
+
}
|
|
350
|
+
else {
|
|
351
|
+
this.handlePageChange(this.currentPage + 1);
|
|
352
|
+
}
|
|
353
|
+
break;
|
|
354
|
+
case 'Home':
|
|
355
|
+
e.preventDefault();
|
|
356
|
+
this.handlePageChange(1);
|
|
357
|
+
break;
|
|
358
|
+
case 'End':
|
|
359
|
+
e.preventDefault();
|
|
360
|
+
this.handlePageChange(this.totalPages);
|
|
361
|
+
break;
|
|
362
|
+
}
|
|
363
|
+
};
|
|
364
|
+
// URL Sync helpers
|
|
365
|
+
getPageFromURL() {
|
|
366
|
+
if (typeof window === 'undefined')
|
|
367
|
+
return null;
|
|
368
|
+
const params = new URLSearchParams(window.location.search);
|
|
369
|
+
const page = params.get(this.urlParam);
|
|
370
|
+
return page ? parseInt(page, 10) : null;
|
|
371
|
+
}
|
|
372
|
+
updateURL(page) {
|
|
373
|
+
if (typeof window === 'undefined')
|
|
374
|
+
return;
|
|
375
|
+
const url = new URL(window.location.href);
|
|
376
|
+
url.searchParams.set(this.urlParam, page.toString());
|
|
377
|
+
window.history.pushState({}, '', url.toString());
|
|
378
|
+
}
|
|
379
|
+
// LocalStorage helpers
|
|
380
|
+
getPageFromStorage() {
|
|
381
|
+
if (typeof window === 'undefined')
|
|
382
|
+
return null;
|
|
383
|
+
const stored = localStorage.getItem(this.storageKey);
|
|
384
|
+
return stored ? parseInt(stored, 10) : null;
|
|
385
|
+
}
|
|
386
|
+
savePageToStorage(page) {
|
|
387
|
+
if (typeof window === 'undefined')
|
|
388
|
+
return;
|
|
389
|
+
localStorage.setItem(this.storageKey, page.toString());
|
|
390
|
+
}
|
|
391
|
+
// Swipe gesture handlers
|
|
392
|
+
handleTouchStart = (e) => {
|
|
393
|
+
this.touchStartX = e.changedTouches[0].screenX;
|
|
394
|
+
};
|
|
395
|
+
handleTouchEnd = (e) => {
|
|
396
|
+
this.touchEndX = e.changedTouches[0].screenX;
|
|
397
|
+
this.handleSwipe();
|
|
398
|
+
};
|
|
399
|
+
handleSwipe() {
|
|
400
|
+
const swipeThreshold = 50;
|
|
401
|
+
const diff = this.touchStartX - this.touchEndX;
|
|
402
|
+
if (Math.abs(diff) > swipeThreshold) {
|
|
403
|
+
if (diff > 0) {
|
|
404
|
+
this.handlePageChange(this.rtl ? this.currentPage - 1 : this.currentPage + 1);
|
|
405
|
+
}
|
|
406
|
+
else {
|
|
407
|
+
this.handlePageChange(this.rtl ? this.currentPage + 1 : this.currentPage - 1);
|
|
408
|
+
}
|
|
409
|
+
}
|
|
410
|
+
}
|
|
411
|
+
// Quick jump handler
|
|
412
|
+
handleQuickJump(direction) {
|
|
413
|
+
const step = this.quickJumpStep;
|
|
414
|
+
const newPage = direction === 'forward'
|
|
415
|
+
? Math.min(this.currentPage + step, this.totalPages)
|
|
416
|
+
: Math.max(this.currentPage - step, 1);
|
|
417
|
+
this.handlePageChange(newPage);
|
|
418
|
+
}
|
|
419
|
+
// Progress calculation
|
|
420
|
+
get progressPercentage() {
|
|
421
|
+
return (this.currentPage / this.totalPages) * 100;
|
|
422
|
+
}
|
|
423
|
+
get totalPages() {
|
|
424
|
+
return Math.ceil(this.totalItems / this.itemsPerPage);
|
|
425
|
+
}
|
|
426
|
+
get visiblePages() {
|
|
427
|
+
const totalPages = this.totalPages;
|
|
428
|
+
const current = this.currentPage;
|
|
429
|
+
const maxVisible = this.maxVisiblePages;
|
|
430
|
+
if (totalPages <= maxVisible) {
|
|
431
|
+
return Array.from({ length: totalPages }, (_, i) => i + 1);
|
|
432
|
+
}
|
|
433
|
+
const half = Math.floor(maxVisible / 2);
|
|
434
|
+
let start = Math.max(1, current - half);
|
|
435
|
+
let end = Math.min(totalPages, start + maxVisible - 1);
|
|
436
|
+
if (end - start + 1 < maxVisible) {
|
|
437
|
+
start = Math.max(1, end - maxVisible + 1);
|
|
438
|
+
}
|
|
439
|
+
return Array.from({ length: end - start + 1 }, (_, i) => start + i);
|
|
440
|
+
}
|
|
441
|
+
handlePageChange(page) {
|
|
442
|
+
this.openDropdown = null;
|
|
443
|
+
this.jumpToPage = null;
|
|
444
|
+
if (page < 1 || page > this.totalPages || page === this.currentPage || this.disabled) {
|
|
445
|
+
return;
|
|
446
|
+
}
|
|
447
|
+
// Page transition animation
|
|
448
|
+
if (this.pageTransition) {
|
|
449
|
+
this.isTransitioning = true;
|
|
450
|
+
setTimeout(() => this.isTransitioning = false, 300);
|
|
451
|
+
}
|
|
452
|
+
this.currentPage = page;
|
|
453
|
+
this.syncPageInputState(page);
|
|
454
|
+
// URL sync
|
|
455
|
+
if (this.urlSync) {
|
|
456
|
+
this.updateURL(page);
|
|
457
|
+
}
|
|
458
|
+
// LocalStorage persistence
|
|
459
|
+
if (this.persistPage) {
|
|
460
|
+
this.savePageToStorage(page);
|
|
461
|
+
}
|
|
462
|
+
this.pageChange.emit({ page, itemsPerPage: this.itemsPerPage });
|
|
463
|
+
}
|
|
464
|
+
handleItemsPerPageChange(itemsPerPage) {
|
|
465
|
+
this.openDropdown = null;
|
|
466
|
+
this.itemsPerPage = itemsPerPage;
|
|
467
|
+
this.currentPage = 1; // Reset to first page when changing page size
|
|
468
|
+
this.syncPageInputState(1);
|
|
469
|
+
this.itemsPerPageChange.emit(itemsPerPage);
|
|
470
|
+
this.pageChange.emit({ page: 1, itemsPerPage });
|
|
471
|
+
}
|
|
472
|
+
handleJumpToPage() {
|
|
473
|
+
this.openDropdown = null;
|
|
474
|
+
const rawValue = this.pageInputValue.trim();
|
|
475
|
+
// Validate input
|
|
476
|
+
if (!rawValue) {
|
|
477
|
+
this.jumpToPage = null;
|
|
478
|
+
this.inputError = 'Please enter a valid number';
|
|
479
|
+
this.validationError.emit('Please enter a valid number');
|
|
480
|
+
return;
|
|
481
|
+
}
|
|
482
|
+
const requestedPage = Number(rawValue);
|
|
483
|
+
if (isNaN(requestedPage)) {
|
|
484
|
+
this.inputError = 'Please enter a valid number';
|
|
485
|
+
this.validationError.emit('Please enter a valid number');
|
|
486
|
+
return;
|
|
487
|
+
}
|
|
488
|
+
if (requestedPage < 1) {
|
|
489
|
+
this.inputError = `Page number must be at least 1`;
|
|
490
|
+
this.validationError.emit(this.inputError);
|
|
491
|
+
return;
|
|
492
|
+
}
|
|
493
|
+
if (requestedPage > this.totalPages) {
|
|
494
|
+
this.inputError = `Page number cannot exceed ${this.totalPages}`;
|
|
495
|
+
this.validationError.emit(this.inputError);
|
|
496
|
+
return;
|
|
497
|
+
}
|
|
498
|
+
// Clear error and navigate
|
|
499
|
+
this.inputError = '';
|
|
500
|
+
this.jumpToPage = requestedPage;
|
|
501
|
+
const page = Math.max(1, Math.min(this.totalPages, requestedPage));
|
|
502
|
+
this.handlePageChange(page);
|
|
503
|
+
}
|
|
504
|
+
syncPageInputState(page) {
|
|
505
|
+
const normalizedPage = Number.isFinite(page) && page > 0 ? page : 1;
|
|
506
|
+
this.jumpToPage = normalizedPage;
|
|
507
|
+
this.pageInputValue = normalizedPage.toString();
|
|
508
|
+
}
|
|
509
|
+
getPageInputWidth() {
|
|
510
|
+
const totalPageDigits = Math.max(1, this.totalPages.toString().length);
|
|
511
|
+
const currentValueDigits = Math.max(0, this.pageInputValue.trim().length);
|
|
512
|
+
const digits = Math.max(2, totalPageDigits, currentValueDigits);
|
|
513
|
+
const padding = this.size === 'sm' ? '1.75rem' : this.size === 'lg' ? '2.5rem' : '2rem';
|
|
514
|
+
const maxVisibleDigits = this.size === 'sm' ? 4 : this.size === 'lg' ? 8 : 6;
|
|
515
|
+
const visibleDigits = Math.min(digits, maxVisibleDigits);
|
|
516
|
+
return `calc(${visibleDigits}ch + ${padding})`;
|
|
517
|
+
}
|
|
518
|
+
handleInputChange(e) {
|
|
519
|
+
const value = typeof e.detail === 'string' ? e.detail : `${e.detail ?? ''}`;
|
|
520
|
+
this.pageInputValue = value;
|
|
521
|
+
if (value === '') {
|
|
522
|
+
this.jumpToPage = null;
|
|
523
|
+
this.inputError = '';
|
|
524
|
+
return;
|
|
525
|
+
}
|
|
526
|
+
const numValue = Number(value);
|
|
527
|
+
if (isNaN(numValue)) {
|
|
528
|
+
this.inputError = 'Please enter a valid number';
|
|
529
|
+
this.validationError.emit(this.inputError);
|
|
530
|
+
return;
|
|
531
|
+
}
|
|
532
|
+
this.jumpToPage = numValue;
|
|
533
|
+
// Clear error if value is now valid
|
|
534
|
+
if (numValue >= 1 && numValue <= this.totalPages) {
|
|
535
|
+
this.inputError = '';
|
|
536
|
+
}
|
|
537
|
+
}
|
|
538
|
+
renderPageSizeSelector() {
|
|
539
|
+
if (!this.showPageSize)
|
|
540
|
+
return null;
|
|
541
|
+
const isPremium = ['glass', 'modern', 'premium'].includes(this.variant);
|
|
542
|
+
const isOpen = this.openDropdown === 'pageSize';
|
|
543
|
+
return (h("div", { class: {
|
|
544
|
+
'pagination-size-selector': true,
|
|
545
|
+
'pagination-size-premium': isPremium,
|
|
546
|
+
'pagination-size-selector-open': isOpen
|
|
547
|
+
}, onClick: (e) => e.stopPropagation() }, h("span", { class: "pagination-size-label" }, "Show:"), h("div", { class: { 'pg-dropdown': true, 'pg-dropdown-open-host': isOpen } }, h("button", { class: { 'pg-dropdown-trigger': true, 'pg-dropdown-open': isOpen }, onClick: () => { this.openDropdown = isOpen ? null : 'pageSize'; }, disabled: this.disabled, type: "button" }, h("span", null, this.itemsPerPage), h("svg", { class: { 'pg-dropdown-arrow': true, 'pg-arrow-up': isOpen }, width: "12", height: "12", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2.5", "stroke-linecap": "round", "stroke-linejoin": "round" }, h("path", { d: "m6 9 6 6 6-6" }))), isOpen && (h("div", { class: "pg-dropdown-panel" }, this.pageSizes.map(size => (h("div", { class: { 'pg-dropdown-item': true, 'pg-dropdown-item-selected': size === this.itemsPerPage }, onClick: () => { this.handleItemsPerPageChange(size); this.openDropdown = null; } }, h("span", null, size), size === this.itemsPerPage && (h("svg", { class: "pg-dropdown-check", width: "14", height: "14", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "3", "stroke-linecap": "round", "stroke-linejoin": "round" }, h("path", { d: "M20 6 9 17l-5-5" })))))))))));
|
|
548
|
+
}
|
|
549
|
+
getPageLabel() {
|
|
550
|
+
return this.labelTemplate
|
|
551
|
+
.replace('{current}', this.currentPage.toString())
|
|
552
|
+
.replace('{total}', this.totalPages.toString());
|
|
553
|
+
}
|
|
554
|
+
getNavIcon(type) {
|
|
555
|
+
if (this.vertical) {
|
|
556
|
+
if (type === 'first')
|
|
557
|
+
return this.firstIcon || 'chevrons-up';
|
|
558
|
+
if (type === 'prev')
|
|
559
|
+
return this.prevIcon || 'chevron-up';
|
|
560
|
+
if (type === 'next')
|
|
561
|
+
return this.nextIcon || 'chevron-down';
|
|
562
|
+
if (type === 'last')
|
|
563
|
+
return this.lastIcon || 'chevrons-down';
|
|
564
|
+
}
|
|
565
|
+
if (type === 'first')
|
|
566
|
+
return this.firstIcon || 'chevrons-left';
|
|
567
|
+
if (type === 'prev')
|
|
568
|
+
return this.prevIcon || 'chevron-left';
|
|
569
|
+
if (type === 'next')
|
|
570
|
+
return this.nextIcon || 'chevron-right';
|
|
571
|
+
if (type === 'last')
|
|
572
|
+
return this.lastIcon || 'chevrons-right';
|
|
573
|
+
return '';
|
|
574
|
+
}
|
|
575
|
+
renderBasicPagination() {
|
|
576
|
+
const { currentPage, totalPages, visiblePages, showFirstLast, showPrevNext } = this;
|
|
577
|
+
const canGoPrev = currentPage > 1;
|
|
578
|
+
const canGoNext = currentPage < totalPages;
|
|
579
|
+
return (h("div", { class: "pagination-basic" }, showFirstLast && (h("ui-button", { variant: this.getButtonVariant(-1), size: this.size === 'sm' ? 'sm' : this.size === 'lg' ? 'lg' : 'md',
|
|
580
|
+
// class={`pagination-btn pagination-first ${!canGoPrev ? 'disabled' : ''}`}
|
|
581
|
+
onClick: () => this.handlePageChange(1), disabled: !canGoPrev || this.disabled, ariaLabel: "First page", icon: this.iconOnly ? "chevrons-left" : undefined, iconLibrary: "lucide", label: this.iconOnly ? undefined : this.firstText, shape: this.getEffectiveShape() })), showPrevNext && (h("ui-button", { variant: this.getButtonVariant(-1), size: this.size === 'sm' ? 'sm' : this.size === 'lg' ? 'lg' : 'md',
|
|
582
|
+
// class={{
|
|
583
|
+
// 'pagination-btn': true,
|
|
584
|
+
// 'pagination-prev': true,
|
|
585
|
+
// 'pagination-joined': this.arrowsJoined || this.segmented,
|
|
586
|
+
// 'disabled': !canGoPrev
|
|
587
|
+
// }}
|
|
588
|
+
onClick: () => this.handlePageChange(currentPage - 1), disabled: !canGoPrev || this.disabled, ariaLabel: "Previous page", icon: this.iconOnly || this.arrowsJoined ? this.getNavIcon('prev') : undefined, iconLibrary: "lucide", label: this.iconOnly || this.arrowsJoined ? undefined : this.prevText, shape: this.getEffectiveShape() })), this.showLabel && (h("div", { class: {
|
|
589
|
+
'pagination-label': true,
|
|
590
|
+
'pagination-joined': this.segmented
|
|
591
|
+
} }, this.getPageLabel())), !this.hideNumbers && (h("div", { class: {
|
|
592
|
+
'pagination-pages': true,
|
|
593
|
+
'pagination-joined': this.segmented
|
|
594
|
+
} }, visiblePages.map(page => (h("ui-button", { key: page, variant: this.getButtonVariant(page), size: this.size === 'sm' ? 'sm' : this.size === 'lg' ? 'lg' : 'md',
|
|
595
|
+
// class={{
|
|
596
|
+
// 'pagination-btn': true,
|
|
597
|
+
// 'pagination-page': true,
|
|
598
|
+
// 'active': page === currentPage
|
|
599
|
+
// }}
|
|
600
|
+
onClick: () => this.handlePageChange(page), disabled: this.disabled, label: `${page}`, shape: this.getEffectiveShape() }))))), showPrevNext && (h("ui-button", { variant: this.getButtonVariant(-1), size: this.size === 'sm' ? 'sm' : this.size === 'lg' ? 'lg' : 'md',
|
|
601
|
+
// class={{
|
|
602
|
+
// 'pagination-btn': true,
|
|
603
|
+
// 'pagination-next': true,
|
|
604
|
+
// 'pagination-joined': this.arrowsJoined || this.segmented,
|
|
605
|
+
// 'disabled': !canGoNext
|
|
606
|
+
// }}
|
|
607
|
+
onClick: () => this.handlePageChange(currentPage + 1), disabled: !canGoNext || this.disabled, ariaLabel: "Next page", icon: this.iconOnly || this.arrowsJoined ? this.getNavIcon('next') : undefined, iconLibrary: "lucide", label: this.iconOnly || this.arrowsJoined ? undefined : this.nextText, shape: this.getEffectiveShape() })), showFirstLast && (h("ui-button", { variant: this.getButtonVariant(-1), size: this.size === 'sm' ? 'sm' : this.size === 'lg' ? 'lg' : 'md',
|
|
608
|
+
//// class={`pagination-btn pagination-last ${!canGoNext ? 'disabled' : ''}`}
|
|
609
|
+
onClick: () => this.handlePageChange(totalPages), disabled: !canGoNext || this.disabled, ariaLabel: "Last page", icon: this.iconOnly ? "chevrons-right" : undefined, iconLibrary: "lucide", label: this.iconOnly ? undefined : this.lastText, shape: this.getEffectiveShape() })), this.quickJump && (h("ui-button", { variant: this.getButtonVariant(-1), size: this.size === 'sm' ? 'sm' : this.size === 'lg' ? 'lg' : 'md',
|
|
610
|
+
//// class={`pagination-btn pagination-quick-backward ${!canGoPrev ? 'disabled' : ''}`}
|
|
611
|
+
onClick: () => this.handleQuickJump('backward'), disabled: !canGoPrev || this.disabled, ariaLabel: `Jump back ${this.quickJumpStep} pages`, icon: "chevrons-left", iconLibrary: "lucide", shape: this.getEffectiveShape() })), this.quickJump && (h("ui-button", { variant: this.getButtonVariant(-1), size: this.size === 'sm' ? 'sm' : this.size === 'lg' ? 'lg' : 'md',
|
|
612
|
+
// class={`pagination-btn pagination-quick-forward ${!canGoNext ? 'disabled' : ''}`}
|
|
613
|
+
onClick: () => this.handleQuickJump('forward'), disabled: !canGoNext || this.disabled, ariaLabel: `Jump forward ${this.quickJumpStep} pages`, icon: "chevrons-right", iconLibrary: "lucide", shape: this.getEffectiveShape() }))));
|
|
614
|
+
}
|
|
615
|
+
renderCompactPagination() {
|
|
616
|
+
const { currentPage, totalPages } = this;
|
|
617
|
+
const canGoPrev = currentPage > 1;
|
|
618
|
+
const canGoNext = currentPage < totalPages;
|
|
619
|
+
return (h("div", { class: "pagination-compact" }, h("ui-button", { variant: "ghost", size: "sm", iconOnly: true, icon: "chevron-left", iconLibrary: "lucide", iconSize: "14px",
|
|
620
|
+
// class={`pagination-btn pagination-prev ${!canGoPrev ? 'disabled' : ''}`}
|
|
621
|
+
onClick: () => this.handlePageChange(currentPage - 1), disabled: !canGoPrev || this.disabled, ariaLabel: "Previous page", shape: this.getEffectiveShape() }), h("span", { class: "pagination-info" }, currentPage, " of ", totalPages), h("ui-button", { variant: "ghost", size: "sm", iconOnly: true, icon: "chevron-right", iconLibrary: "lucide", iconSize: "14px",
|
|
622
|
+
// class={`pagination-btn pagination-next ${!canGoNext ? 'disabled' : ''}`}
|
|
623
|
+
onClick: () => this.handlePageChange(currentPage + 1), disabled: !canGoNext || this.disabled, ariaLabel: "Next page", shape: this.getEffectiveShape() })));
|
|
624
|
+
}
|
|
625
|
+
renderDetailedPagination() {
|
|
626
|
+
const startItem = (this.currentPage - 1) * this.itemsPerPage + 1;
|
|
627
|
+
const endItem = Math.min(this.currentPage * this.itemsPerPage, this.totalItems);
|
|
628
|
+
return (h("div", { class: "pagination-detailed" }, this.renderBasicPagination(), h("div", { class: "pagination-details" }, this.showTotal && (h("span", { class: "pagination-total" }, "Showing ", startItem, "-", endItem, " of ", this.totalItems, " items")), this.renderPageSizeSelector(), this.showJumpTo && (h("div", { class: "pagination-jump" }, h("label", null, "Go to page:"), h("ui-input", { type: "number", min: 1, max: this.totalPages, value: this.jumpToPage, class: this.inputError ? 'has-error' : '', onInputChange: (e) => this.handleInputChange(e), onInputKeydown: (e) => e.detail.key === 'Enter' && this.handleJumpToPage(), disabled: this.disabled, size: "sm", variant: "plain", showTypeIcon: false, style: { width: this.getPageInputWidth() } }), h("ui-button", { variant: "primary", size: "sm",
|
|
629
|
+
//// pagination-jump-btn"
|
|
630
|
+
onClick: () => this.handleJumpToPage(), disabled: this.disabled, label: "Go", shape: this.getEffectiveShape() }))))));
|
|
631
|
+
}
|
|
632
|
+
renderMinimalPagination() {
|
|
633
|
+
const { currentPage, totalPages } = this;
|
|
634
|
+
const canGoPrev = currentPage > 1;
|
|
635
|
+
const canGoNext = currentPage < totalPages;
|
|
636
|
+
return (h("div", { class: "pagination-minimal" }, h("ui-button", { variant: "ghost", size: "sm", iconOnly: true, icon: "chevrons-left", iconLibrary: "lucide", iconSize: "14px",
|
|
637
|
+
// class={`pagination-btn pagination-prev ${!canGoPrev ? 'disabled' : ''}`}
|
|
638
|
+
onClick: () => this.handlePageChange(currentPage - 1), disabled: !canGoPrev || this.disabled, ariaLabel: "Previous page", shape: this.getEffectiveShape() }), h("div", { class: "pagination-input-group" }, h("ui-input", { type: "number", min: 1, max: totalPages, value: this.jumpToPage || this.currentPage, onInputChange: (e) => this.handleInputChange(e), onInputBlur: () => this.handleJumpToPage(), onInputKeydown: (e) => e.detail.key === 'Enter' && this.handleJumpToPage(), disabled: this.disabled, class: `pagination-page-input ${this.inputError ? 'has-error' : ''}`, size: "sm", variant: "plain", showTypeIcon: false, style: { width: this.getPageInputWidth() } }), h("span", { class: "pagination-separator" }, "of"), h("span", { class: "pagination-total-pages" }, totalPages)), h("ui-button", { variant: "ghost", size: "sm", iconOnly: true, icon: "chevrons-right", iconLibrary: "lucide", iconSize: "14px",
|
|
639
|
+
// class={`pagination-btn pagination-next ${!canGoNext ? 'disabled' : ''}`}
|
|
640
|
+
onClick: () => this.handlePageChange(currentPage + 1), disabled: !canGoNext || this.disabled, ariaLabel: "Next page", shape: this.getEffectiveShape() })));
|
|
641
|
+
}
|
|
642
|
+
renderAdvancedPagination() {
|
|
643
|
+
return (h("div", { class: "pagination-advanced" }, h("div", { class: "pagination-controls" }, this.renderPageSizeSelector(), this.showTotal && (h("div", { class: "pagination-summary" }, "Showing ", ((this.currentPage - 1) * this.itemsPerPage) + 1, " to ", Math.min(this.currentPage * this.itemsPerPage, this.totalItems), " of ", this.totalItems, " entries"))), this.renderBasicPagination(), this.showJumpTo && (h("div", { class: "pagination-jump-section" }, h("label", null, "Jump to page:"), h("ui-input", { type: "text", inputmode: "numeric", pattern: "[0-9]*", value: this.currentPage.toString(), size: this.size, onInputChange: (e) => this.handleInputChange(e), class: {
|
|
644
|
+
'pagination-page-input': true,
|
|
645
|
+
'has-error': this.inputError !== ''
|
|
646
|
+
}, style: { width: this.getPageInputWidth() }, error: this.inputError !== '', showError: false, disabled: this.disabled }), h("ui-button", { variant: "primary", size: "sm",
|
|
647
|
+
////class="pagination-btn"
|
|
648
|
+
onClick: () => this.handleJumpToPage(), disabled: this.disabled, label: "Go", shape: this.getEffectiveShape() })))));
|
|
649
|
+
}
|
|
650
|
+
renderInfinitePagination() {
|
|
651
|
+
return (h("div", { class: "pagination-infinite" }, h("div", { class: "pagination-loading" }, this.loading ? (h("ui-loader", { size: "xs", color: "currentColor" })) : (h("ui-button", { variant: "primary",
|
|
652
|
+
// pagination-load-more"
|
|
653
|
+
onClick: () => this.handlePageChange(this.currentPage + 1), disabled: this.currentPage >= this.totalPages || this.disabled, label: "Load More", shape: this.getEffectiveShape() }))), this.showTotal && (h("div", { class: "pagination-infinite-info" }, "Showing ", this.currentPage * this.itemsPerPage, " of ", this.totalItems, " items"))));
|
|
654
|
+
}
|
|
655
|
+
renderDropdownPagination() {
|
|
656
|
+
const pageOptions = [];
|
|
657
|
+
for (let i = 1; i <= this.totalPages; i++) {
|
|
658
|
+
pageOptions.push({
|
|
659
|
+
label: `Page ${i} of ${this.totalPages}`,
|
|
660
|
+
value: i.toString()
|
|
661
|
+
});
|
|
662
|
+
}
|
|
663
|
+
return (h("div", { class: "pagination-dropdown-container" }, this.showTotal && (h("div", { class: "pagination-total" }, this.totalItems, " Items")), this.renderPageSizeSelector(), !this.hideNavButtons && (h("ui-button", { variant: "ghost", iconOnly: true, icon: "chevron-left", iconLibrary: "lucide",
|
|
664
|
+
// pagination-prev"
|
|
665
|
+
onClick: () => this.handlePageChange(this.currentPage - 1), disabled: this.currentPage === 1 || this.disabled, ariaLabel: "Previous page", shape: "circle" })), h("div", { class: { 'pagination-dropdown-wrapper': true, 'pagination-dropdown-wrapper-open': this.openDropdown === 'page' }, onClick: (e) => e.stopPropagation() }, h("div", { class: { 'pg-dropdown': true, 'pg-dropdown-open-host': this.openDropdown === 'page' } }, h("button", { class: { 'pg-dropdown-trigger': true, 'pg-dropdown-trigger-wide': true, 'pg-dropdown-open': this.openDropdown === 'page' }, onClick: () => { this.openDropdown = this.openDropdown === 'page' ? null : 'page'; }, disabled: this.disabled, type: "button" }, h("span", null, "Page ", this.currentPage, " of ", this.totalPages), h("svg", { class: { 'pg-dropdown-arrow': true, 'pg-arrow-up': this.openDropdown === 'page' }, width: "12", height: "12", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2.5", "stroke-linecap": "round", "stroke-linejoin": "round" }, h("path", { d: "m6 9 6 6 6-6" }))), this.openDropdown === 'page' && (h("div", { class: "pg-dropdown-panel pg-dropdown-panel-scroll" }, pageOptions.map(opt => (h("div", { class: { 'pg-dropdown-item': true, 'pg-dropdown-item-selected': opt.value === this.currentPage.toString() }, onClick: () => { this.handlePageChange(parseInt(opt.value)); this.openDropdown = null; } }, h("span", null, opt.label), opt.value === this.currentPage.toString() && (h("svg", { class: "pg-dropdown-check", width: "14", height: "14", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "3", "stroke-linecap": "round", "stroke-linejoin": "round" }, h("path", { d: "M20 6 9 17l-5-5" })))))))))), !this.hideNavButtons && (h("ui-button", { variant: "ghost", iconOnly: true, icon: "chevron-right", iconLibrary: "lucide",
|
|
666
|
+
// pagination-next"
|
|
667
|
+
onClick: () => this.handlePageChange(this.currentPage + 1), disabled: this.currentPage === this.totalPages || this.disabled, ariaLabel: "Next page", shape: "circle" }))));
|
|
668
|
+
}
|
|
669
|
+
renderInputPagination() {
|
|
670
|
+
return (h("div", { class: "pagination-input-container" }, this.showTotal && (h("div", { class: "pagination-total" }, this.totalItems, " Total")), this.renderPageSizeSelector(), !this.hideNavButtons && (h("ui-button", { variant: "ghost", iconOnly: true, icon: this.getNavIcon('first'), iconLibrary: "lucide",
|
|
671
|
+
// pagination-first"
|
|
672
|
+
onClick: () => this.handlePageChange(1), disabled: this.currentPage === 1 || this.disabled, ariaLabel: "First page", shape: "circle" })), !this.hideNavButtons && (h("ui-button", { variant: "ghost", iconOnly: true, icon: this.getNavIcon('prev'), iconLibrary: "lucide",
|
|
673
|
+
// pagination-prev"
|
|
674
|
+
onClick: () => this.handlePageChange(this.currentPage - 1), disabled: this.currentPage === 1 || this.disabled, ariaLabel: "Previous page", shape: "circle" })), h("ui-input", { type: "text", inputmode: "numeric", pattern: "[0-9]*", class: `pagination-page-input ${this.inputError ? 'has-error' : ''}`, value: this.pageInputValue, onInputChange: (e) => this.handleInputChange(e), onInputKeydown: (e) => e.detail.key === 'Enter' && this.handleJumpToPage(), onFocusInternal: () => { this.inputError = ''; }, disabled: this.disabled, size: this.size, variant: "plain", showTypeIcon: false, showError: false, style: { width: this.getPageInputWidth() } }), h("span", { class: "pagination-input-label" }, "of ", h("strong", null, this.totalPages)), !this.hideNavButtons && (h("ui-button", { variant: "ghost", iconOnly: true, icon: this.getNavIcon('next'), iconLibrary: "lucide",
|
|
675
|
+
// pagination-next"
|
|
676
|
+
onClick: () => this.handlePageChange(this.currentPage + 1), disabled: this.currentPage === this.totalPages || this.disabled, ariaLabel: "Next page", shape: "circle" })), !this.hideNavButtons && (h("ui-button", { variant: "ghost", iconOnly: true, icon: this.getNavIcon('last'), iconLibrary: "lucide",
|
|
677
|
+
// pagination-last"
|
|
678
|
+
onClick: () => this.handlePageChange(this.totalPages), disabled: this.currentPage === this.totalPages || this.disabled, shape: "circle" }))));
|
|
679
|
+
}
|
|
680
|
+
renderIndicatorPagination() {
|
|
681
|
+
const pages = Array.from({ length: this.totalPages }, (_, i) => i + 1);
|
|
682
|
+
return (h("div", { class: "pagination-indicator-container" }, this.showPrevNext && (h("ui-button", { variant: this.getButtonVariant(-1), iconOnly: true, icon: "chevron-left", iconLibrary: "lucide",
|
|
683
|
+
//class="pagination-nav-btn"
|
|
684
|
+
onClick: () => this.handlePageChange(this.currentPage - 1), disabled: this.currentPage === 1 || this.disabled, ariaLabel: "Previous page", shape: this.getEffectiveShape() })), h("div", { class: "pagination-indicators" }, pages.map(page => (h("div", { class: {
|
|
685
|
+
'pagination-indicator': true,
|
|
686
|
+
'pagination-indicator-active': page === this.currentPage
|
|
687
|
+
}, onClick: () => !this.disabled && this.handlePageChange(page), role: "button", tabindex: this.disabled ? -1 : 0, "aria-label": `Go to page ${page}`, "aria-current": page === this.currentPage ? 'page' : undefined }, h("div", { class: "pagination-indicator-dot" }), page === this.currentPage && (h("div", { class: "pagination-indicator-label" }, page)))))), this.showPrevNext && (h("ui-button", { variant: this.getButtonVariant(-1), iconOnly: true, icon: "chevron-right", iconLibrary: "lucide",
|
|
688
|
+
//class="pagination-nav-btn"
|
|
689
|
+
onClick: () => this.handlePageChange(this.currentPage + 1), disabled: this.currentPage === this.totalPages || this.disabled, ariaLabel: "Next page", shape: this.getEffectiveShape() })), this.showTotal && (h("div", { class: "pagination-total" }, this.currentPage, " / ", this.totalPages))));
|
|
690
|
+
}
|
|
691
|
+
getButtonVariant(page) {
|
|
692
|
+
if (page === this.currentPage) {
|
|
693
|
+
if (this.variant === 'soft')
|
|
694
|
+
return 'soft';
|
|
695
|
+
if (this.variant === 'glass')
|
|
696
|
+
return 'glass';
|
|
697
|
+
if (this.variant === 'modern')
|
|
698
|
+
return 'primary';
|
|
699
|
+
if (this.variant === 'premium')
|
|
700
|
+
return 'primary';
|
|
701
|
+
return this.theme;
|
|
702
|
+
}
|
|
703
|
+
if (this.variant === 'outlined')
|
|
704
|
+
return 'outline';
|
|
705
|
+
if (this.variant === 'floating')
|
|
706
|
+
return 'raised';
|
|
707
|
+
if (this.variant === 'glass')
|
|
708
|
+
return 'glass';
|
|
709
|
+
if (this.variant === 'soft')
|
|
710
|
+
return 'soft';
|
|
711
|
+
if (this.variant === 'modern')
|
|
712
|
+
return 'ghost';
|
|
713
|
+
if (this.variant === 'minimalist')
|
|
714
|
+
return 'plain';
|
|
715
|
+
if (this.variant === 'premium')
|
|
716
|
+
return 'ghost';
|
|
717
|
+
if (this.variant === 'underline')
|
|
718
|
+
return 'ghost';
|
|
719
|
+
return 'ghost';
|
|
720
|
+
}
|
|
721
|
+
render() {
|
|
722
|
+
// Auto-hide when only one page
|
|
723
|
+
if (this.autoHide && this.totalPages <= 1 && !this.infinite) {
|
|
724
|
+
return null;
|
|
725
|
+
}
|
|
726
|
+
// Smart compact mode - auto-switch based on page count
|
|
727
|
+
const effectiveType = this.smartCompact && this.totalPages > this.smartCompactThreshold
|
|
728
|
+
? 'compact'
|
|
729
|
+
: (this.responsiveMode && this.isMobile ? 'compact' : this.type);
|
|
730
|
+
const effectiveShape = this.shape !== 'default' ? this.shape : (this.circle ? 'circle' : (this.pill ? 'pill' : 'default'));
|
|
731
|
+
const classes = {
|
|
732
|
+
'ui-pagination': true,
|
|
733
|
+
[`pagination-${effectiveType}`]: true,
|
|
734
|
+
[`pagination-${this.size}`]: true,
|
|
735
|
+
[`pagination-${this.variant}`]: true,
|
|
736
|
+
[`pagination-theme-${this.theme}`]: this.theme !== 'default',
|
|
737
|
+
[`pagination-shape-${effectiveShape}`]: effectiveShape !== 'default',
|
|
738
|
+
'pagination-disabled': this.disabled,
|
|
739
|
+
'pagination-segmented': this.segmented,
|
|
740
|
+
'pagination-arrows-joined': this.arrowsJoined,
|
|
741
|
+
'pagination-vertical': this.vertical,
|
|
742
|
+
'pagination-rtl': this.rtl,
|
|
743
|
+
'pagination-mobile': this.isMobile,
|
|
744
|
+
'pagination-sticky': this.sticky,
|
|
745
|
+
[`pagination-sticky-${this.stickyPosition}`]: this.sticky,
|
|
746
|
+
'pagination-transitioning': this.isTransitioning,
|
|
747
|
+
'pagination-has-container': ['floating', 'glass', 'modern', 'premium'].includes(this.variant),
|
|
748
|
+
'pagination-dropdown-open': this.openDropdown !== null,
|
|
749
|
+
};
|
|
750
|
+
return (h("div", { class: classes, onKeyDown: this.handleKeyDown, tabindex: this.keyboardNav && !this.disabled ? 0 : -1, role: "navigation", "aria-label": "Pagination Navigation", ref: (el) => this.paginationRef = el }, h("div", { role: "status", "aria-live": "polite", "aria-atomic": "true", class: "sr-only" }, "Page ", this.currentPage, " of ", this.totalPages), this.showProgress && (h("div", { class: "pagination-progress-bar" }, h("div", { class: "pagination-progress-fill", style: { width: `${this.progressPercentage}%` } }))), h("div", { class: "pagination-main-content" }, this.infinite ? this.renderInfinitePagination() :
|
|
751
|
+
effectiveType === 'basic' ? this.renderBasicPagination() :
|
|
752
|
+
effectiveType === 'compact' ? this.renderCompactPagination() :
|
|
753
|
+
effectiveType === 'detailed' ? this.renderDetailedPagination() :
|
|
754
|
+
effectiveType === 'minimal' ? this.renderMinimalPagination() :
|
|
755
|
+
effectiveType === 'advanced' ? this.renderAdvancedPagination() :
|
|
756
|
+
effectiveType === 'dropdown' ? this.renderDropdownPagination() :
|
|
757
|
+
effectiveType === 'input' ? this.renderInputPagination() :
|
|
758
|
+
effectiveType === 'indicator' ? this.renderIndicatorPagination() :
|
|
759
|
+
this.renderBasicPagination()), this.showTotal && effectiveType !== 'detailed' && effectiveType !== 'advanced' && effectiveType !== 'dropdown' && (h("div", { class: "pagination-total" }, "Total ", this.totalItems, " items"))));
|
|
760
|
+
}
|
|
761
|
+
static get is() { return "ui-pagination"; }
|
|
762
|
+
static get encapsulation() { return "shadow"; }
|
|
763
|
+
static get originalStyleUrls() {
|
|
764
|
+
return {
|
|
765
|
+
"$": ["pagination.scss"]
|
|
766
|
+
};
|
|
767
|
+
}
|
|
768
|
+
static get styleUrls() {
|
|
769
|
+
return {
|
|
770
|
+
"$": ["pagination.css"]
|
|
771
|
+
};
|
|
772
|
+
}
|
|
773
|
+
static get properties() {
|
|
774
|
+
return {
|
|
775
|
+
"hideNavButtons": {
|
|
776
|
+
"type": "boolean",
|
|
777
|
+
"mutable": false,
|
|
778
|
+
"complexType": {
|
|
779
|
+
"original": "boolean",
|
|
780
|
+
"resolved": "boolean",
|
|
781
|
+
"references": {}
|
|
782
|
+
},
|
|
783
|
+
"required": false,
|
|
784
|
+
"optional": false,
|
|
785
|
+
"docs": {
|
|
786
|
+
"tags": [],
|
|
787
|
+
"text": "Hide navigation buttons (next, previous, first, last) in dropdown/input modes"
|
|
788
|
+
},
|
|
789
|
+
"getter": false,
|
|
790
|
+
"setter": false,
|
|
791
|
+
"reflect": false,
|
|
792
|
+
"attribute": "hide-nav-buttons",
|
|
793
|
+
"defaultValue": "false"
|
|
794
|
+
},
|
|
795
|
+
"currentPage": {
|
|
796
|
+
"type": "number",
|
|
797
|
+
"mutable": true,
|
|
798
|
+
"complexType": {
|
|
799
|
+
"original": "number",
|
|
800
|
+
"resolved": "number",
|
|
801
|
+
"references": {}
|
|
802
|
+
},
|
|
803
|
+
"required": false,
|
|
804
|
+
"optional": false,
|
|
805
|
+
"docs": {
|
|
806
|
+
"tags": [],
|
|
807
|
+
"text": "Current active page (1-based)"
|
|
808
|
+
},
|
|
809
|
+
"getter": false,
|
|
810
|
+
"setter": false,
|
|
811
|
+
"reflect": false,
|
|
812
|
+
"attribute": "current-page",
|
|
813
|
+
"defaultValue": "1"
|
|
814
|
+
},
|
|
815
|
+
"totalItems": {
|
|
816
|
+
"type": "number",
|
|
817
|
+
"mutable": false,
|
|
818
|
+
"complexType": {
|
|
819
|
+
"original": "number",
|
|
820
|
+
"resolved": "number",
|
|
821
|
+
"references": {}
|
|
822
|
+
},
|
|
823
|
+
"required": false,
|
|
824
|
+
"optional": false,
|
|
825
|
+
"docs": {
|
|
826
|
+
"tags": [],
|
|
827
|
+
"text": "Total number of items"
|
|
828
|
+
},
|
|
829
|
+
"getter": false,
|
|
830
|
+
"setter": false,
|
|
831
|
+
"reflect": false,
|
|
832
|
+
"attribute": "total-items",
|
|
833
|
+
"defaultValue": "0"
|
|
834
|
+
},
|
|
835
|
+
"itemsPerPage": {
|
|
836
|
+
"type": "number",
|
|
837
|
+
"mutable": true,
|
|
838
|
+
"complexType": {
|
|
839
|
+
"original": "number",
|
|
840
|
+
"resolved": "number",
|
|
841
|
+
"references": {}
|
|
842
|
+
},
|
|
843
|
+
"required": false,
|
|
844
|
+
"optional": false,
|
|
845
|
+
"docs": {
|
|
846
|
+
"tags": [],
|
|
847
|
+
"text": "Number of items per page"
|
|
848
|
+
},
|
|
849
|
+
"getter": false,
|
|
850
|
+
"setter": false,
|
|
851
|
+
"reflect": false,
|
|
852
|
+
"attribute": "items-per-page",
|
|
853
|
+
"defaultValue": "10"
|
|
854
|
+
},
|
|
855
|
+
"maxVisiblePages": {
|
|
856
|
+
"type": "number",
|
|
857
|
+
"mutable": false,
|
|
858
|
+
"complexType": {
|
|
859
|
+
"original": "number",
|
|
860
|
+
"resolved": "number",
|
|
861
|
+
"references": {}
|
|
862
|
+
},
|
|
863
|
+
"required": false,
|
|
864
|
+
"optional": false,
|
|
865
|
+
"docs": {
|
|
866
|
+
"tags": [],
|
|
867
|
+
"text": "Maximum number of page buttons to show"
|
|
868
|
+
},
|
|
869
|
+
"getter": false,
|
|
870
|
+
"setter": false,
|
|
871
|
+
"reflect": false,
|
|
872
|
+
"attribute": "max-visible-pages",
|
|
873
|
+
"defaultValue": "5"
|
|
874
|
+
},
|
|
875
|
+
"type": {
|
|
876
|
+
"type": "string",
|
|
877
|
+
"mutable": false,
|
|
878
|
+
"complexType": {
|
|
879
|
+
"original": "PaginationType",
|
|
880
|
+
"resolved": "\"advanced\" | \"basic\" | \"compact\" | \"detailed\" | \"dropdown\" | \"indicator\" | \"input\" | \"minimal\"",
|
|
881
|
+
"references": {
|
|
882
|
+
"PaginationType": {
|
|
883
|
+
"location": "import",
|
|
884
|
+
"path": "./types",
|
|
885
|
+
"id": "src/components/pagination/types.ts::PaginationType",
|
|
886
|
+
"referenceLocation": "PaginationType"
|
|
887
|
+
}
|
|
888
|
+
}
|
|
889
|
+
},
|
|
890
|
+
"required": false,
|
|
891
|
+
"optional": false,
|
|
892
|
+
"docs": {
|
|
893
|
+
"tags": [],
|
|
894
|
+
"text": "Type of pagination to display"
|
|
895
|
+
},
|
|
896
|
+
"getter": false,
|
|
897
|
+
"setter": false,
|
|
898
|
+
"reflect": false,
|
|
899
|
+
"attribute": "type",
|
|
900
|
+
"defaultValue": "'basic'"
|
|
901
|
+
},
|
|
902
|
+
"size": {
|
|
903
|
+
"type": "string",
|
|
904
|
+
"mutable": false,
|
|
905
|
+
"complexType": {
|
|
906
|
+
"original": "PaginationSize",
|
|
907
|
+
"resolved": "\"lg\" | \"md\" | \"sm\"",
|
|
908
|
+
"references": {
|
|
909
|
+
"PaginationSize": {
|
|
910
|
+
"location": "import",
|
|
911
|
+
"path": "./types",
|
|
912
|
+
"id": "src/components/pagination/types.ts::PaginationSize",
|
|
913
|
+
"referenceLocation": "PaginationSize"
|
|
914
|
+
}
|
|
915
|
+
}
|
|
916
|
+
},
|
|
917
|
+
"required": false,
|
|
918
|
+
"optional": false,
|
|
919
|
+
"docs": {
|
|
920
|
+
"tags": [],
|
|
921
|
+
"text": "Size of the pagination component"
|
|
922
|
+
},
|
|
923
|
+
"getter": false,
|
|
924
|
+
"setter": false,
|
|
925
|
+
"reflect": false,
|
|
926
|
+
"attribute": "size",
|
|
927
|
+
"defaultValue": "'md'"
|
|
928
|
+
},
|
|
929
|
+
"variant": {
|
|
930
|
+
"type": "string",
|
|
931
|
+
"mutable": false,
|
|
932
|
+
"complexType": {
|
|
933
|
+
"original": "PaginationVariant",
|
|
934
|
+
"resolved": "\"default\" | \"filled\" | \"floating\" | \"glass\" | \"minimalist\" | \"modern\" | \"outlined\" | \"premium\" | \"soft\" | \"underline\"",
|
|
935
|
+
"references": {
|
|
936
|
+
"PaginationVariant": {
|
|
937
|
+
"location": "import",
|
|
938
|
+
"path": "./types",
|
|
939
|
+
"id": "src/components/pagination/types.ts::PaginationVariant",
|
|
940
|
+
"referenceLocation": "PaginationVariant"
|
|
941
|
+
}
|
|
942
|
+
}
|
|
943
|
+
},
|
|
944
|
+
"required": false,
|
|
945
|
+
"optional": false,
|
|
946
|
+
"docs": {
|
|
947
|
+
"tags": [],
|
|
948
|
+
"text": "Visual variant of the pagination"
|
|
949
|
+
},
|
|
950
|
+
"getter": false,
|
|
951
|
+
"setter": false,
|
|
952
|
+
"reflect": false,
|
|
953
|
+
"attribute": "variant",
|
|
954
|
+
"defaultValue": "'default'"
|
|
955
|
+
},
|
|
956
|
+
"theme": {
|
|
957
|
+
"type": "string",
|
|
958
|
+
"mutable": false,
|
|
959
|
+
"complexType": {
|
|
960
|
+
"original": "StatusColor",
|
|
961
|
+
"resolved": "\"borderless\" | \"danger\" | \"default\" | \"elevated\" | \"error\" | \"flat\" | \"ghost\" | \"glass\" | \"info\" | \"inverse\" | \"loading\" | \"neutral\" | \"none\" | \"outline\" | \"plain\" | \"primary\" | \"raised\" | \"secondary\" | \"soft\" | \"sovereign\" | \"success\" | \"surface\" | \"tertiary\" | \"warning\"",
|
|
962
|
+
"references": {
|
|
963
|
+
"StatusColor": {
|
|
964
|
+
"location": "import",
|
|
965
|
+
"path": "../../types/common.type",
|
|
966
|
+
"id": "src/types/common.type.d.ts::StatusColor",
|
|
967
|
+
"referenceLocation": "StatusColor"
|
|
968
|
+
}
|
|
969
|
+
}
|
|
970
|
+
},
|
|
971
|
+
"required": false,
|
|
972
|
+
"optional": false,
|
|
973
|
+
"docs": {
|
|
974
|
+
"tags": [],
|
|
975
|
+
"text": "Color theme"
|
|
976
|
+
},
|
|
977
|
+
"getter": false,
|
|
978
|
+
"setter": false,
|
|
979
|
+
"reflect": false,
|
|
980
|
+
"attribute": "theme",
|
|
981
|
+
"defaultValue": "'primary'"
|
|
982
|
+
},
|
|
983
|
+
"showFirstLast": {
|
|
984
|
+
"type": "boolean",
|
|
985
|
+
"mutable": false,
|
|
986
|
+
"complexType": {
|
|
987
|
+
"original": "boolean",
|
|
988
|
+
"resolved": "boolean",
|
|
989
|
+
"references": {}
|
|
990
|
+
},
|
|
991
|
+
"required": false,
|
|
992
|
+
"optional": false,
|
|
993
|
+
"docs": {
|
|
994
|
+
"tags": [],
|
|
995
|
+
"text": "Whether to show first/last buttons"
|
|
996
|
+
},
|
|
997
|
+
"getter": false,
|
|
998
|
+
"setter": false,
|
|
999
|
+
"reflect": false,
|
|
1000
|
+
"attribute": "show-first-last",
|
|
1001
|
+
"defaultValue": "true"
|
|
1002
|
+
},
|
|
1003
|
+
"showPrevNext": {
|
|
1004
|
+
"type": "boolean",
|
|
1005
|
+
"mutable": false,
|
|
1006
|
+
"complexType": {
|
|
1007
|
+
"original": "boolean",
|
|
1008
|
+
"resolved": "boolean",
|
|
1009
|
+
"references": {}
|
|
1010
|
+
},
|
|
1011
|
+
"required": false,
|
|
1012
|
+
"optional": false,
|
|
1013
|
+
"docs": {
|
|
1014
|
+
"tags": [],
|
|
1015
|
+
"text": "Whether to show previous/next buttons"
|
|
1016
|
+
},
|
|
1017
|
+
"getter": false,
|
|
1018
|
+
"setter": false,
|
|
1019
|
+
"reflect": false,
|
|
1020
|
+
"attribute": "show-prev-next",
|
|
1021
|
+
"defaultValue": "true"
|
|
1022
|
+
},
|
|
1023
|
+
"showPageSize": {
|
|
1024
|
+
"type": "boolean",
|
|
1025
|
+
"mutable": false,
|
|
1026
|
+
"complexType": {
|
|
1027
|
+
"original": "boolean",
|
|
1028
|
+
"resolved": "boolean",
|
|
1029
|
+
"references": {}
|
|
1030
|
+
},
|
|
1031
|
+
"required": false,
|
|
1032
|
+
"optional": false,
|
|
1033
|
+
"docs": {
|
|
1034
|
+
"tags": [],
|
|
1035
|
+
"text": "Whether to show page size selector"
|
|
1036
|
+
},
|
|
1037
|
+
"getter": false,
|
|
1038
|
+
"setter": false,
|
|
1039
|
+
"reflect": false,
|
|
1040
|
+
"attribute": "show-page-size",
|
|
1041
|
+
"defaultValue": "false"
|
|
1042
|
+
},
|
|
1043
|
+
"showTotal": {
|
|
1044
|
+
"type": "boolean",
|
|
1045
|
+
"mutable": false,
|
|
1046
|
+
"complexType": {
|
|
1047
|
+
"original": "boolean",
|
|
1048
|
+
"resolved": "boolean",
|
|
1049
|
+
"references": {}
|
|
1050
|
+
},
|
|
1051
|
+
"required": false,
|
|
1052
|
+
"optional": false,
|
|
1053
|
+
"docs": {
|
|
1054
|
+
"tags": [],
|
|
1055
|
+
"text": "Whether to show total count"
|
|
1056
|
+
},
|
|
1057
|
+
"getter": false,
|
|
1058
|
+
"setter": false,
|
|
1059
|
+
"reflect": false,
|
|
1060
|
+
"attribute": "show-total",
|
|
1061
|
+
"defaultValue": "false"
|
|
1062
|
+
},
|
|
1063
|
+
"showJumpTo": {
|
|
1064
|
+
"type": "boolean",
|
|
1065
|
+
"mutable": false,
|
|
1066
|
+
"complexType": {
|
|
1067
|
+
"original": "boolean",
|
|
1068
|
+
"resolved": "boolean",
|
|
1069
|
+
"references": {}
|
|
1070
|
+
},
|
|
1071
|
+
"required": false,
|
|
1072
|
+
"optional": false,
|
|
1073
|
+
"docs": {
|
|
1074
|
+
"tags": [],
|
|
1075
|
+
"text": "Whether to show jump to page input"
|
|
1076
|
+
},
|
|
1077
|
+
"getter": false,
|
|
1078
|
+
"setter": false,
|
|
1079
|
+
"reflect": false,
|
|
1080
|
+
"attribute": "show-jump-to",
|
|
1081
|
+
"defaultValue": "false"
|
|
1082
|
+
},
|
|
1083
|
+
"prevText": {
|
|
1084
|
+
"type": "string",
|
|
1085
|
+
"mutable": false,
|
|
1086
|
+
"complexType": {
|
|
1087
|
+
"original": "string",
|
|
1088
|
+
"resolved": "string",
|
|
1089
|
+
"references": {}
|
|
1090
|
+
},
|
|
1091
|
+
"required": false,
|
|
1092
|
+
"optional": false,
|
|
1093
|
+
"docs": {
|
|
1094
|
+
"tags": [],
|
|
1095
|
+
"text": "Custom text for previous button"
|
|
1096
|
+
},
|
|
1097
|
+
"getter": false,
|
|
1098
|
+
"setter": false,
|
|
1099
|
+
"reflect": false,
|
|
1100
|
+
"attribute": "prev-text",
|
|
1101
|
+
"defaultValue": "'Previous'"
|
|
1102
|
+
},
|
|
1103
|
+
"nextText": {
|
|
1104
|
+
"type": "string",
|
|
1105
|
+
"mutable": false,
|
|
1106
|
+
"complexType": {
|
|
1107
|
+
"original": "string",
|
|
1108
|
+
"resolved": "string",
|
|
1109
|
+
"references": {}
|
|
1110
|
+
},
|
|
1111
|
+
"required": false,
|
|
1112
|
+
"optional": false,
|
|
1113
|
+
"docs": {
|
|
1114
|
+
"tags": [],
|
|
1115
|
+
"text": "Custom text for next button"
|
|
1116
|
+
},
|
|
1117
|
+
"getter": false,
|
|
1118
|
+
"setter": false,
|
|
1119
|
+
"reflect": false,
|
|
1120
|
+
"attribute": "next-text",
|
|
1121
|
+
"defaultValue": "'Next'"
|
|
1122
|
+
},
|
|
1123
|
+
"firstText": {
|
|
1124
|
+
"type": "string",
|
|
1125
|
+
"mutable": false,
|
|
1126
|
+
"complexType": {
|
|
1127
|
+
"original": "string",
|
|
1128
|
+
"resolved": "string",
|
|
1129
|
+
"references": {}
|
|
1130
|
+
},
|
|
1131
|
+
"required": false,
|
|
1132
|
+
"optional": false,
|
|
1133
|
+
"docs": {
|
|
1134
|
+
"tags": [],
|
|
1135
|
+
"text": "Custom text for first button"
|
|
1136
|
+
},
|
|
1137
|
+
"getter": false,
|
|
1138
|
+
"setter": false,
|
|
1139
|
+
"reflect": false,
|
|
1140
|
+
"attribute": "first-text",
|
|
1141
|
+
"defaultValue": "'First'"
|
|
1142
|
+
},
|
|
1143
|
+
"lastText": {
|
|
1144
|
+
"type": "string",
|
|
1145
|
+
"mutable": false,
|
|
1146
|
+
"complexType": {
|
|
1147
|
+
"original": "string",
|
|
1148
|
+
"resolved": "string",
|
|
1149
|
+
"references": {}
|
|
1150
|
+
},
|
|
1151
|
+
"required": false,
|
|
1152
|
+
"optional": false,
|
|
1153
|
+
"docs": {
|
|
1154
|
+
"tags": [],
|
|
1155
|
+
"text": "Custom text for last button"
|
|
1156
|
+
},
|
|
1157
|
+
"getter": false,
|
|
1158
|
+
"setter": false,
|
|
1159
|
+
"reflect": false,
|
|
1160
|
+
"attribute": "last-text",
|
|
1161
|
+
"defaultValue": "'Last'"
|
|
1162
|
+
},
|
|
1163
|
+
"pageSizes": {
|
|
1164
|
+
"type": "unknown",
|
|
1165
|
+
"mutable": false,
|
|
1166
|
+
"complexType": {
|
|
1167
|
+
"original": "number[]",
|
|
1168
|
+
"resolved": "number[]",
|
|
1169
|
+
"references": {}
|
|
1170
|
+
},
|
|
1171
|
+
"required": false,
|
|
1172
|
+
"optional": false,
|
|
1173
|
+
"docs": {
|
|
1174
|
+
"tags": [],
|
|
1175
|
+
"text": "Available page sizes for selector"
|
|
1176
|
+
},
|
|
1177
|
+
"getter": false,
|
|
1178
|
+
"setter": false,
|
|
1179
|
+
"defaultValue": "[10, 25, 50, 100]"
|
|
1180
|
+
},
|
|
1181
|
+
"disabled": {
|
|
1182
|
+
"type": "boolean",
|
|
1183
|
+
"mutable": false,
|
|
1184
|
+
"complexType": {
|
|
1185
|
+
"original": "boolean",
|
|
1186
|
+
"resolved": "boolean",
|
|
1187
|
+
"references": {}
|
|
1188
|
+
},
|
|
1189
|
+
"required": false,
|
|
1190
|
+
"optional": false,
|
|
1191
|
+
"docs": {
|
|
1192
|
+
"tags": [],
|
|
1193
|
+
"text": "Whether pagination is disabled"
|
|
1194
|
+
},
|
|
1195
|
+
"getter": false,
|
|
1196
|
+
"setter": false,
|
|
1197
|
+
"reflect": false,
|
|
1198
|
+
"attribute": "disabled",
|
|
1199
|
+
"defaultValue": "false"
|
|
1200
|
+
},
|
|
1201
|
+
"iconOnly": {
|
|
1202
|
+
"type": "boolean",
|
|
1203
|
+
"mutable": false,
|
|
1204
|
+
"complexType": {
|
|
1205
|
+
"original": "boolean",
|
|
1206
|
+
"resolved": "boolean",
|
|
1207
|
+
"references": {}
|
|
1208
|
+
},
|
|
1209
|
+
"required": false,
|
|
1210
|
+
"optional": false,
|
|
1211
|
+
"docs": {
|
|
1212
|
+
"tags": [],
|
|
1213
|
+
"text": "Whether to show only icons (no text labels)"
|
|
1214
|
+
},
|
|
1215
|
+
"getter": false,
|
|
1216
|
+
"setter": false,
|
|
1217
|
+
"reflect": false,
|
|
1218
|
+
"attribute": "icon-only",
|
|
1219
|
+
"defaultValue": "false"
|
|
1220
|
+
},
|
|
1221
|
+
"infinite": {
|
|
1222
|
+
"type": "boolean",
|
|
1223
|
+
"mutable": false,
|
|
1224
|
+
"complexType": {
|
|
1225
|
+
"original": "boolean",
|
|
1226
|
+
"resolved": "boolean",
|
|
1227
|
+
"references": {}
|
|
1228
|
+
},
|
|
1229
|
+
"required": false,
|
|
1230
|
+
"optional": false,
|
|
1231
|
+
"docs": {
|
|
1232
|
+
"tags": [],
|
|
1233
|
+
"text": "Whether to use infinite scroll style (shows loading state)"
|
|
1234
|
+
},
|
|
1235
|
+
"getter": false,
|
|
1236
|
+
"setter": false,
|
|
1237
|
+
"reflect": false,
|
|
1238
|
+
"attribute": "infinite",
|
|
1239
|
+
"defaultValue": "false"
|
|
1240
|
+
},
|
|
1241
|
+
"loading": {
|
|
1242
|
+
"type": "boolean",
|
|
1243
|
+
"mutable": false,
|
|
1244
|
+
"complexType": {
|
|
1245
|
+
"original": "boolean",
|
|
1246
|
+
"resolved": "boolean",
|
|
1247
|
+
"references": {}
|
|
1248
|
+
},
|
|
1249
|
+
"required": false,
|
|
1250
|
+
"optional": false,
|
|
1251
|
+
"docs": {
|
|
1252
|
+
"tags": [],
|
|
1253
|
+
"text": "Loading state for infinite scroll"
|
|
1254
|
+
},
|
|
1255
|
+
"getter": false,
|
|
1256
|
+
"setter": false,
|
|
1257
|
+
"reflect": false,
|
|
1258
|
+
"attribute": "loading",
|
|
1259
|
+
"defaultValue": "false"
|
|
1260
|
+
},
|
|
1261
|
+
"compact": {
|
|
1262
|
+
"type": "boolean",
|
|
1263
|
+
"mutable": false,
|
|
1264
|
+
"complexType": {
|
|
1265
|
+
"original": "boolean",
|
|
1266
|
+
"resolved": "boolean",
|
|
1267
|
+
"references": {}
|
|
1268
|
+
},
|
|
1269
|
+
"required": false,
|
|
1270
|
+
"optional": false,
|
|
1271
|
+
"docs": {
|
|
1272
|
+
"tags": [],
|
|
1273
|
+
"text": "Whether to use compact mode (for dropdown and input types)"
|
|
1274
|
+
},
|
|
1275
|
+
"getter": false,
|
|
1276
|
+
"setter": false,
|
|
1277
|
+
"reflect": false,
|
|
1278
|
+
"attribute": "compact",
|
|
1279
|
+
"defaultValue": "false"
|
|
1280
|
+
},
|
|
1281
|
+
"keyboardNav": {
|
|
1282
|
+
"type": "boolean",
|
|
1283
|
+
"mutable": false,
|
|
1284
|
+
"complexType": {
|
|
1285
|
+
"original": "boolean",
|
|
1286
|
+
"resolved": "boolean",
|
|
1287
|
+
"references": {}
|
|
1288
|
+
},
|
|
1289
|
+
"required": false,
|
|
1290
|
+
"optional": false,
|
|
1291
|
+
"docs": {
|
|
1292
|
+
"tags": [],
|
|
1293
|
+
"text": "Enable keyboard navigation"
|
|
1294
|
+
},
|
|
1295
|
+
"getter": false,
|
|
1296
|
+
"setter": false,
|
|
1297
|
+
"reflect": false,
|
|
1298
|
+
"attribute": "keyboard-nav",
|
|
1299
|
+
"defaultValue": "true"
|
|
1300
|
+
},
|
|
1301
|
+
"shape": {
|
|
1302
|
+
"type": "string",
|
|
1303
|
+
"mutable": false,
|
|
1304
|
+
"complexType": {
|
|
1305
|
+
"original": "Shape",
|
|
1306
|
+
"resolved": "\"circle\" | \"default\" | \"pill\" | \"rounded\" | \"square\"",
|
|
1307
|
+
"references": {
|
|
1308
|
+
"Shape": {
|
|
1309
|
+
"location": "import",
|
|
1310
|
+
"path": "../../types/common.type",
|
|
1311
|
+
"id": "src/types/common.type.d.ts::Shape",
|
|
1312
|
+
"referenceLocation": "Shape"
|
|
1313
|
+
}
|
|
1314
|
+
}
|
|
1315
|
+
},
|
|
1316
|
+
"required": false,
|
|
1317
|
+
"optional": false,
|
|
1318
|
+
"docs": {
|
|
1319
|
+
"tags": [],
|
|
1320
|
+
"text": ""
|
|
1321
|
+
},
|
|
1322
|
+
"getter": false,
|
|
1323
|
+
"setter": false,
|
|
1324
|
+
"reflect": false,
|
|
1325
|
+
"attribute": "shape",
|
|
1326
|
+
"defaultValue": "'default'"
|
|
1327
|
+
},
|
|
1328
|
+
"pill": {
|
|
1329
|
+
"type": "boolean",
|
|
1330
|
+
"mutable": false,
|
|
1331
|
+
"complexType": {
|
|
1332
|
+
"original": "boolean",
|
|
1333
|
+
"resolved": "boolean",
|
|
1334
|
+
"references": {}
|
|
1335
|
+
},
|
|
1336
|
+
"required": false,
|
|
1337
|
+
"optional": false,
|
|
1338
|
+
"docs": {
|
|
1339
|
+
"tags": [],
|
|
1340
|
+
"text": "Pill-shaped buttons (shorthand for shape=\"pill\")"
|
|
1341
|
+
},
|
|
1342
|
+
"getter": false,
|
|
1343
|
+
"setter": false,
|
|
1344
|
+
"reflect": false,
|
|
1345
|
+
"attribute": "pill",
|
|
1346
|
+
"defaultValue": "false"
|
|
1347
|
+
},
|
|
1348
|
+
"circle": {
|
|
1349
|
+
"type": "boolean",
|
|
1350
|
+
"mutable": false,
|
|
1351
|
+
"complexType": {
|
|
1352
|
+
"original": "boolean",
|
|
1353
|
+
"resolved": "boolean",
|
|
1354
|
+
"references": {}
|
|
1355
|
+
},
|
|
1356
|
+
"required": false,
|
|
1357
|
+
"optional": false,
|
|
1358
|
+
"docs": {
|
|
1359
|
+
"tags": [],
|
|
1360
|
+
"text": "Circle-shaped buttons (shorthand for shape=\"circle\")"
|
|
1361
|
+
},
|
|
1362
|
+
"getter": false,
|
|
1363
|
+
"setter": false,
|
|
1364
|
+
"reflect": false,
|
|
1365
|
+
"attribute": "circle",
|
|
1366
|
+
"defaultValue": "false"
|
|
1367
|
+
},
|
|
1368
|
+
"prevIcon": {
|
|
1369
|
+
"type": "string",
|
|
1370
|
+
"mutable": false,
|
|
1371
|
+
"complexType": {
|
|
1372
|
+
"original": "string",
|
|
1373
|
+
"resolved": "string",
|
|
1374
|
+
"references": {}
|
|
1375
|
+
},
|
|
1376
|
+
"required": false,
|
|
1377
|
+
"optional": false,
|
|
1378
|
+
"docs": {
|
|
1379
|
+
"tags": [],
|
|
1380
|
+
"text": "Custom prev icon (emoji or SVG string)"
|
|
1381
|
+
},
|
|
1382
|
+
"getter": false,
|
|
1383
|
+
"setter": false,
|
|
1384
|
+
"reflect": false,
|
|
1385
|
+
"attribute": "prev-icon",
|
|
1386
|
+
"defaultValue": "''"
|
|
1387
|
+
},
|
|
1388
|
+
"nextIcon": {
|
|
1389
|
+
"type": "string",
|
|
1390
|
+
"mutable": false,
|
|
1391
|
+
"complexType": {
|
|
1392
|
+
"original": "string",
|
|
1393
|
+
"resolved": "string",
|
|
1394
|
+
"references": {}
|
|
1395
|
+
},
|
|
1396
|
+
"required": false,
|
|
1397
|
+
"optional": false,
|
|
1398
|
+
"docs": {
|
|
1399
|
+
"tags": [],
|
|
1400
|
+
"text": "Custom next icon (emoji or SVG string)"
|
|
1401
|
+
},
|
|
1402
|
+
"getter": false,
|
|
1403
|
+
"setter": false,
|
|
1404
|
+
"reflect": false,
|
|
1405
|
+
"attribute": "next-icon",
|
|
1406
|
+
"defaultValue": "''"
|
|
1407
|
+
},
|
|
1408
|
+
"firstIcon": {
|
|
1409
|
+
"type": "string",
|
|
1410
|
+
"mutable": false,
|
|
1411
|
+
"complexType": {
|
|
1412
|
+
"original": "string",
|
|
1413
|
+
"resolved": "string",
|
|
1414
|
+
"references": {}
|
|
1415
|
+
},
|
|
1416
|
+
"required": false,
|
|
1417
|
+
"optional": false,
|
|
1418
|
+
"docs": {
|
|
1419
|
+
"tags": [],
|
|
1420
|
+
"text": "Custom first icon (emoji or SVG string)"
|
|
1421
|
+
},
|
|
1422
|
+
"getter": false,
|
|
1423
|
+
"setter": false,
|
|
1424
|
+
"reflect": false,
|
|
1425
|
+
"attribute": "first-icon",
|
|
1426
|
+
"defaultValue": "''"
|
|
1427
|
+
},
|
|
1428
|
+
"lastIcon": {
|
|
1429
|
+
"type": "string",
|
|
1430
|
+
"mutable": false,
|
|
1431
|
+
"complexType": {
|
|
1432
|
+
"original": "string",
|
|
1433
|
+
"resolved": "string",
|
|
1434
|
+
"references": {}
|
|
1435
|
+
},
|
|
1436
|
+
"required": false,
|
|
1437
|
+
"optional": false,
|
|
1438
|
+
"docs": {
|
|
1439
|
+
"tags": [],
|
|
1440
|
+
"text": "Custom last icon (emoji or SVG string)"
|
|
1441
|
+
},
|
|
1442
|
+
"getter": false,
|
|
1443
|
+
"setter": false,
|
|
1444
|
+
"reflect": false,
|
|
1445
|
+
"attribute": "last-icon",
|
|
1446
|
+
"defaultValue": "''"
|
|
1447
|
+
},
|
|
1448
|
+
"mobileBreakpoint": {
|
|
1449
|
+
"type": "number",
|
|
1450
|
+
"mutable": false,
|
|
1451
|
+
"complexType": {
|
|
1452
|
+
"original": "number",
|
|
1453
|
+
"resolved": "number",
|
|
1454
|
+
"references": {}
|
|
1455
|
+
},
|
|
1456
|
+
"required": false,
|
|
1457
|
+
"optional": false,
|
|
1458
|
+
"docs": {
|
|
1459
|
+
"tags": [],
|
|
1460
|
+
"text": "Mobile breakpoint (px)"
|
|
1461
|
+
},
|
|
1462
|
+
"getter": false,
|
|
1463
|
+
"setter": false,
|
|
1464
|
+
"reflect": false,
|
|
1465
|
+
"attribute": "mobile-breakpoint",
|
|
1466
|
+
"defaultValue": "768"
|
|
1467
|
+
},
|
|
1468
|
+
"responsiveMode": {
|
|
1469
|
+
"type": "boolean",
|
|
1470
|
+
"mutable": false,
|
|
1471
|
+
"complexType": {
|
|
1472
|
+
"original": "boolean",
|
|
1473
|
+
"resolved": "boolean",
|
|
1474
|
+
"references": {}
|
|
1475
|
+
},
|
|
1476
|
+
"required": false,
|
|
1477
|
+
"optional": false,
|
|
1478
|
+
"docs": {
|
|
1479
|
+
"tags": [],
|
|
1480
|
+
"text": "Auto-switch to compact mode on mobile"
|
|
1481
|
+
},
|
|
1482
|
+
"getter": false,
|
|
1483
|
+
"setter": false,
|
|
1484
|
+
"reflect": false,
|
|
1485
|
+
"attribute": "responsive-mode",
|
|
1486
|
+
"defaultValue": "true"
|
|
1487
|
+
},
|
|
1488
|
+
"rtl": {
|
|
1489
|
+
"type": "boolean",
|
|
1490
|
+
"mutable": false,
|
|
1491
|
+
"complexType": {
|
|
1492
|
+
"original": "boolean",
|
|
1493
|
+
"resolved": "boolean",
|
|
1494
|
+
"references": {}
|
|
1495
|
+
},
|
|
1496
|
+
"required": false,
|
|
1497
|
+
"optional": false,
|
|
1498
|
+
"docs": {
|
|
1499
|
+
"tags": [],
|
|
1500
|
+
"text": "RTL support"
|
|
1501
|
+
},
|
|
1502
|
+
"getter": false,
|
|
1503
|
+
"setter": false,
|
|
1504
|
+
"reflect": false,
|
|
1505
|
+
"attribute": "rtl",
|
|
1506
|
+
"defaultValue": "false"
|
|
1507
|
+
},
|
|
1508
|
+
"ellipsisTooltip": {
|
|
1509
|
+
"type": "boolean",
|
|
1510
|
+
"mutable": false,
|
|
1511
|
+
"complexType": {
|
|
1512
|
+
"original": "boolean",
|
|
1513
|
+
"resolved": "boolean",
|
|
1514
|
+
"references": {}
|
|
1515
|
+
},
|
|
1516
|
+
"required": false,
|
|
1517
|
+
"optional": false,
|
|
1518
|
+
"docs": {
|
|
1519
|
+
"tags": [],
|
|
1520
|
+
"text": "Show tooltip on ellipsis hover with hidden page numbers"
|
|
1521
|
+
},
|
|
1522
|
+
"getter": false,
|
|
1523
|
+
"setter": false,
|
|
1524
|
+
"reflect": false,
|
|
1525
|
+
"attribute": "ellipsis-tooltip",
|
|
1526
|
+
"defaultValue": "true"
|
|
1527
|
+
},
|
|
1528
|
+
"pageTransition": {
|
|
1529
|
+
"type": "boolean",
|
|
1530
|
+
"mutable": false,
|
|
1531
|
+
"complexType": {
|
|
1532
|
+
"original": "boolean",
|
|
1533
|
+
"resolved": "boolean",
|
|
1534
|
+
"references": {}
|
|
1535
|
+
},
|
|
1536
|
+
"required": false,
|
|
1537
|
+
"optional": false,
|
|
1538
|
+
"docs": {
|
|
1539
|
+
"tags": [],
|
|
1540
|
+
"text": "Enable page transition animations"
|
|
1541
|
+
},
|
|
1542
|
+
"getter": false,
|
|
1543
|
+
"setter": false,
|
|
1544
|
+
"reflect": false,
|
|
1545
|
+
"attribute": "page-transition",
|
|
1546
|
+
"defaultValue": "true"
|
|
1547
|
+
},
|
|
1548
|
+
"urlSync": {
|
|
1549
|
+
"type": "boolean",
|
|
1550
|
+
"mutable": false,
|
|
1551
|
+
"complexType": {
|
|
1552
|
+
"original": "boolean",
|
|
1553
|
+
"resolved": "boolean",
|
|
1554
|
+
"references": {}
|
|
1555
|
+
},
|
|
1556
|
+
"required": false,
|
|
1557
|
+
"optional": false,
|
|
1558
|
+
"docs": {
|
|
1559
|
+
"tags": [],
|
|
1560
|
+
"text": "Sync current page with URL query parameter"
|
|
1561
|
+
},
|
|
1562
|
+
"getter": false,
|
|
1563
|
+
"setter": false,
|
|
1564
|
+
"reflect": false,
|
|
1565
|
+
"attribute": "url-sync",
|
|
1566
|
+
"defaultValue": "false"
|
|
1567
|
+
},
|
|
1568
|
+
"urlParam": {
|
|
1569
|
+
"type": "string",
|
|
1570
|
+
"mutable": false,
|
|
1571
|
+
"complexType": {
|
|
1572
|
+
"original": "string",
|
|
1573
|
+
"resolved": "string",
|
|
1574
|
+
"references": {}
|
|
1575
|
+
},
|
|
1576
|
+
"required": false,
|
|
1577
|
+
"optional": false,
|
|
1578
|
+
"docs": {
|
|
1579
|
+
"tags": [],
|
|
1580
|
+
"text": "URL parameter name for page number"
|
|
1581
|
+
},
|
|
1582
|
+
"getter": false,
|
|
1583
|
+
"setter": false,
|
|
1584
|
+
"reflect": false,
|
|
1585
|
+
"attribute": "url-param",
|
|
1586
|
+
"defaultValue": "'page'"
|
|
1587
|
+
},
|
|
1588
|
+
"autoHide": {
|
|
1589
|
+
"type": "boolean",
|
|
1590
|
+
"mutable": false,
|
|
1591
|
+
"complexType": {
|
|
1592
|
+
"original": "boolean",
|
|
1593
|
+
"resolved": "boolean",
|
|
1594
|
+
"references": {}
|
|
1595
|
+
},
|
|
1596
|
+
"required": false,
|
|
1597
|
+
"optional": false,
|
|
1598
|
+
"docs": {
|
|
1599
|
+
"tags": [],
|
|
1600
|
+
"text": ""
|
|
1601
|
+
},
|
|
1602
|
+
"getter": false,
|
|
1603
|
+
"setter": false,
|
|
1604
|
+
"reflect": false,
|
|
1605
|
+
"attribute": "auto-hide",
|
|
1606
|
+
"defaultValue": "true"
|
|
1607
|
+
},
|
|
1608
|
+
"quickJump": {
|
|
1609
|
+
"type": "boolean",
|
|
1610
|
+
"mutable": false,
|
|
1611
|
+
"complexType": {
|
|
1612
|
+
"original": "boolean",
|
|
1613
|
+
"resolved": "boolean",
|
|
1614
|
+
"references": {}
|
|
1615
|
+
},
|
|
1616
|
+
"required": false,
|
|
1617
|
+
"optional": false,
|
|
1618
|
+
"docs": {
|
|
1619
|
+
"tags": [],
|
|
1620
|
+
"text": "Enable quick jump buttons (+5, -5)"
|
|
1621
|
+
},
|
|
1622
|
+
"getter": false,
|
|
1623
|
+
"setter": false,
|
|
1624
|
+
"reflect": false,
|
|
1625
|
+
"attribute": "quick-jump",
|
|
1626
|
+
"defaultValue": "false"
|
|
1627
|
+
},
|
|
1628
|
+
"quickJumpStep": {
|
|
1629
|
+
"type": "number",
|
|
1630
|
+
"mutable": false,
|
|
1631
|
+
"complexType": {
|
|
1632
|
+
"original": "number",
|
|
1633
|
+
"resolved": "number",
|
|
1634
|
+
"references": {}
|
|
1635
|
+
},
|
|
1636
|
+
"required": false,
|
|
1637
|
+
"optional": false,
|
|
1638
|
+
"docs": {
|
|
1639
|
+
"tags": [],
|
|
1640
|
+
"text": "Quick jump step size"
|
|
1641
|
+
},
|
|
1642
|
+
"getter": false,
|
|
1643
|
+
"setter": false,
|
|
1644
|
+
"reflect": false,
|
|
1645
|
+
"attribute": "quick-jump-step",
|
|
1646
|
+
"defaultValue": "5"
|
|
1647
|
+
},
|
|
1648
|
+
"sticky": {
|
|
1649
|
+
"type": "boolean",
|
|
1650
|
+
"mutable": false,
|
|
1651
|
+
"complexType": {
|
|
1652
|
+
"original": "boolean",
|
|
1653
|
+
"resolved": "boolean",
|
|
1654
|
+
"references": {}
|
|
1655
|
+
},
|
|
1656
|
+
"required": false,
|
|
1657
|
+
"optional": false,
|
|
1658
|
+
"docs": {
|
|
1659
|
+
"tags": [],
|
|
1660
|
+
"text": "Make pagination sticky"
|
|
1661
|
+
},
|
|
1662
|
+
"getter": false,
|
|
1663
|
+
"setter": false,
|
|
1664
|
+
"reflect": false,
|
|
1665
|
+
"attribute": "sticky",
|
|
1666
|
+
"defaultValue": "false"
|
|
1667
|
+
},
|
|
1668
|
+
"stickyPosition": {
|
|
1669
|
+
"type": "string",
|
|
1670
|
+
"mutable": false,
|
|
1671
|
+
"complexType": {
|
|
1672
|
+
"original": "TopBottom",
|
|
1673
|
+
"resolved": "\"bottom\" | \"top\"",
|
|
1674
|
+
"references": {
|
|
1675
|
+
"TopBottom": {
|
|
1676
|
+
"location": "import",
|
|
1677
|
+
"path": "../../types/common.type",
|
|
1678
|
+
"id": "src/types/common.type.d.ts::TopBottom",
|
|
1679
|
+
"referenceLocation": "TopBottom"
|
|
1680
|
+
}
|
|
1681
|
+
}
|
|
1682
|
+
},
|
|
1683
|
+
"required": false,
|
|
1684
|
+
"optional": false,
|
|
1685
|
+
"docs": {
|
|
1686
|
+
"tags": [],
|
|
1687
|
+
"text": "Sticky position (top or bottom)"
|
|
1688
|
+
},
|
|
1689
|
+
"getter": false,
|
|
1690
|
+
"setter": false,
|
|
1691
|
+
"reflect": false,
|
|
1692
|
+
"attribute": "sticky-position",
|
|
1693
|
+
"defaultValue": "'bottom'"
|
|
1694
|
+
},
|
|
1695
|
+
"smartCompact": {
|
|
1696
|
+
"type": "boolean",
|
|
1697
|
+
"mutable": false,
|
|
1698
|
+
"complexType": {
|
|
1699
|
+
"original": "boolean",
|
|
1700
|
+
"resolved": "boolean",
|
|
1701
|
+
"references": {}
|
|
1702
|
+
},
|
|
1703
|
+
"required": false,
|
|
1704
|
+
"optional": false,
|
|
1705
|
+
"docs": {
|
|
1706
|
+
"tags": [],
|
|
1707
|
+
"text": "Auto-switch to compact when pages exceed threshold"
|
|
1708
|
+
},
|
|
1709
|
+
"getter": false,
|
|
1710
|
+
"setter": false,
|
|
1711
|
+
"reflect": false,
|
|
1712
|
+
"attribute": "smart-compact",
|
|
1713
|
+
"defaultValue": "false"
|
|
1714
|
+
},
|
|
1715
|
+
"smartCompactThreshold": {
|
|
1716
|
+
"type": "number",
|
|
1717
|
+
"mutable": false,
|
|
1718
|
+
"complexType": {
|
|
1719
|
+
"original": "number",
|
|
1720
|
+
"resolved": "number",
|
|
1721
|
+
"references": {}
|
|
1722
|
+
},
|
|
1723
|
+
"required": false,
|
|
1724
|
+
"optional": false,
|
|
1725
|
+
"docs": {
|
|
1726
|
+
"tags": [],
|
|
1727
|
+
"text": "Page count threshold for smart compact mode"
|
|
1728
|
+
},
|
|
1729
|
+
"getter": false,
|
|
1730
|
+
"setter": false,
|
|
1731
|
+
"reflect": false,
|
|
1732
|
+
"attribute": "smart-compact-threshold",
|
|
1733
|
+
"defaultValue": "20"
|
|
1734
|
+
},
|
|
1735
|
+
"swipeGestures": {
|
|
1736
|
+
"type": "boolean",
|
|
1737
|
+
"mutable": false,
|
|
1738
|
+
"complexType": {
|
|
1739
|
+
"original": "boolean",
|
|
1740
|
+
"resolved": "boolean",
|
|
1741
|
+
"references": {}
|
|
1742
|
+
},
|
|
1743
|
+
"required": false,
|
|
1744
|
+
"optional": false,
|
|
1745
|
+
"docs": {
|
|
1746
|
+
"tags": [],
|
|
1747
|
+
"text": "Enable swipe gestures on mobile"
|
|
1748
|
+
},
|
|
1749
|
+
"getter": false,
|
|
1750
|
+
"setter": false,
|
|
1751
|
+
"reflect": false,
|
|
1752
|
+
"attribute": "swipe-gestures",
|
|
1753
|
+
"defaultValue": "true"
|
|
1754
|
+
},
|
|
1755
|
+
"showProgress": {
|
|
1756
|
+
"type": "boolean",
|
|
1757
|
+
"mutable": false,
|
|
1758
|
+
"complexType": {
|
|
1759
|
+
"original": "boolean",
|
|
1760
|
+
"resolved": "boolean",
|
|
1761
|
+
"references": {}
|
|
1762
|
+
},
|
|
1763
|
+
"required": false,
|
|
1764
|
+
"optional": false,
|
|
1765
|
+
"docs": {
|
|
1766
|
+
"tags": [],
|
|
1767
|
+
"text": "Show progress indicator"
|
|
1768
|
+
},
|
|
1769
|
+
"getter": false,
|
|
1770
|
+
"setter": false,
|
|
1771
|
+
"reflect": false,
|
|
1772
|
+
"attribute": "show-progress",
|
|
1773
|
+
"defaultValue": "false"
|
|
1774
|
+
},
|
|
1775
|
+
"showSelectedMarker": {
|
|
1776
|
+
"type": "boolean",
|
|
1777
|
+
"mutable": false,
|
|
1778
|
+
"complexType": {
|
|
1779
|
+
"original": "boolean",
|
|
1780
|
+
"resolved": "boolean",
|
|
1781
|
+
"references": {}
|
|
1782
|
+
},
|
|
1783
|
+
"required": false,
|
|
1784
|
+
"optional": false,
|
|
1785
|
+
"docs": {
|
|
1786
|
+
"tags": [],
|
|
1787
|
+
"text": "If true, shows a checkmark (tick) next to selected items in internal dropdowns."
|
|
1788
|
+
},
|
|
1789
|
+
"getter": false,
|
|
1790
|
+
"setter": false,
|
|
1791
|
+
"reflect": false,
|
|
1792
|
+
"attribute": "show-selected-marker",
|
|
1793
|
+
"defaultValue": "true"
|
|
1794
|
+
},
|
|
1795
|
+
"segmented": {
|
|
1796
|
+
"type": "boolean",
|
|
1797
|
+
"mutable": false,
|
|
1798
|
+
"complexType": {
|
|
1799
|
+
"original": "boolean",
|
|
1800
|
+
"resolved": "boolean",
|
|
1801
|
+
"references": {}
|
|
1802
|
+
},
|
|
1803
|
+
"required": false,
|
|
1804
|
+
"optional": false,
|
|
1805
|
+
"docs": {
|
|
1806
|
+
"tags": [],
|
|
1807
|
+
"text": "Layout buttons without gaps, inside a single border-radius container"
|
|
1808
|
+
},
|
|
1809
|
+
"getter": false,
|
|
1810
|
+
"setter": false,
|
|
1811
|
+
"reflect": false,
|
|
1812
|
+
"attribute": "segmented",
|
|
1813
|
+
"defaultValue": "false"
|
|
1814
|
+
},
|
|
1815
|
+
"hideNumbers": {
|
|
1816
|
+
"type": "boolean",
|
|
1817
|
+
"mutable": false,
|
|
1818
|
+
"complexType": {
|
|
1819
|
+
"original": "boolean",
|
|
1820
|
+
"resolved": "boolean",
|
|
1821
|
+
"references": {}
|
|
1822
|
+
},
|
|
1823
|
+
"required": false,
|
|
1824
|
+
"optional": false,
|
|
1825
|
+
"docs": {
|
|
1826
|
+
"tags": [],
|
|
1827
|
+
"text": "Hide page number buttons completely"
|
|
1828
|
+
},
|
|
1829
|
+
"getter": false,
|
|
1830
|
+
"setter": false,
|
|
1831
|
+
"reflect": false,
|
|
1832
|
+
"attribute": "hide-numbers",
|
|
1833
|
+
"defaultValue": "false"
|
|
1834
|
+
},
|
|
1835
|
+
"showLabel": {
|
|
1836
|
+
"type": "boolean",
|
|
1837
|
+
"mutable": false,
|
|
1838
|
+
"complexType": {
|
|
1839
|
+
"original": "boolean",
|
|
1840
|
+
"resolved": "boolean",
|
|
1841
|
+
"references": {}
|
|
1842
|
+
},
|
|
1843
|
+
"required": false,
|
|
1844
|
+
"optional": false,
|
|
1845
|
+
"docs": {
|
|
1846
|
+
"tags": [],
|
|
1847
|
+
"text": "Show custom label (e.g. \"3 OF 10\") instead of or alongside numbers"
|
|
1848
|
+
},
|
|
1849
|
+
"getter": false,
|
|
1850
|
+
"setter": false,
|
|
1851
|
+
"reflect": false,
|
|
1852
|
+
"attribute": "show-label",
|
|
1853
|
+
"defaultValue": "false"
|
|
1854
|
+
},
|
|
1855
|
+
"labelTemplate": {
|
|
1856
|
+
"type": "string",
|
|
1857
|
+
"mutable": false,
|
|
1858
|
+
"complexType": {
|
|
1859
|
+
"original": "string",
|
|
1860
|
+
"resolved": "string",
|
|
1861
|
+
"references": {}
|
|
1862
|
+
},
|
|
1863
|
+
"required": false,
|
|
1864
|
+
"optional": false,
|
|
1865
|
+
"docs": {
|
|
1866
|
+
"tags": [],
|
|
1867
|
+
"text": "Template for the label when showLabel is true. Uses {current} and {total} placeholders."
|
|
1868
|
+
},
|
|
1869
|
+
"getter": false,
|
|
1870
|
+
"setter": false,
|
|
1871
|
+
"reflect": false,
|
|
1872
|
+
"attribute": "label-template",
|
|
1873
|
+
"defaultValue": "'{current} OF {total}'"
|
|
1874
|
+
},
|
|
1875
|
+
"arrowsJoined": {
|
|
1876
|
+
"type": "boolean",
|
|
1877
|
+
"mutable": false,
|
|
1878
|
+
"complexType": {
|
|
1879
|
+
"original": "boolean",
|
|
1880
|
+
"resolved": "boolean",
|
|
1881
|
+
"references": {}
|
|
1882
|
+
},
|
|
1883
|
+
"required": false,
|
|
1884
|
+
"optional": false,
|
|
1885
|
+
"docs": {
|
|
1886
|
+
"tags": [],
|
|
1887
|
+
"text": "Only join navigation arrows (prev/next) together"
|
|
1888
|
+
},
|
|
1889
|
+
"getter": false,
|
|
1890
|
+
"setter": false,
|
|
1891
|
+
"reflect": false,
|
|
1892
|
+
"attribute": "arrows-joined",
|
|
1893
|
+
"defaultValue": "false"
|
|
1894
|
+
},
|
|
1895
|
+
"vertical": {
|
|
1896
|
+
"type": "boolean",
|
|
1897
|
+
"mutable": false,
|
|
1898
|
+
"complexType": {
|
|
1899
|
+
"original": "boolean",
|
|
1900
|
+
"resolved": "boolean",
|
|
1901
|
+
"references": {}
|
|
1902
|
+
},
|
|
1903
|
+
"required": false,
|
|
1904
|
+
"optional": false,
|
|
1905
|
+
"docs": {
|
|
1906
|
+
"tags": [],
|
|
1907
|
+
"text": "Layout the pagination vertically"
|
|
1908
|
+
},
|
|
1909
|
+
"getter": false,
|
|
1910
|
+
"setter": false,
|
|
1911
|
+
"reflect": false,
|
|
1912
|
+
"attribute": "vertical",
|
|
1913
|
+
"defaultValue": "false"
|
|
1914
|
+
},
|
|
1915
|
+
"persistPage": {
|
|
1916
|
+
"type": "boolean",
|
|
1917
|
+
"mutable": false,
|
|
1918
|
+
"complexType": {
|
|
1919
|
+
"original": "boolean",
|
|
1920
|
+
"resolved": "boolean",
|
|
1921
|
+
"references": {}
|
|
1922
|
+
},
|
|
1923
|
+
"required": false,
|
|
1924
|
+
"optional": false,
|
|
1925
|
+
"docs": {
|
|
1926
|
+
"tags": [],
|
|
1927
|
+
"text": "Persist page to localStorage"
|
|
1928
|
+
},
|
|
1929
|
+
"getter": false,
|
|
1930
|
+
"setter": false,
|
|
1931
|
+
"reflect": false,
|
|
1932
|
+
"attribute": "persist-page",
|
|
1933
|
+
"defaultValue": "false"
|
|
1934
|
+
},
|
|
1935
|
+
"storageKey": {
|
|
1936
|
+
"type": "string",
|
|
1937
|
+
"mutable": false,
|
|
1938
|
+
"complexType": {
|
|
1939
|
+
"original": "string",
|
|
1940
|
+
"resolved": "string",
|
|
1941
|
+
"references": {}
|
|
1942
|
+
},
|
|
1943
|
+
"required": false,
|
|
1944
|
+
"optional": false,
|
|
1945
|
+
"docs": {
|
|
1946
|
+
"tags": [],
|
|
1947
|
+
"text": "LocalStorage key for persistence"
|
|
1948
|
+
},
|
|
1949
|
+
"getter": false,
|
|
1950
|
+
"setter": false,
|
|
1951
|
+
"reflect": false,
|
|
1952
|
+
"attribute": "storage-key",
|
|
1953
|
+
"defaultValue": "'pagination-page'"
|
|
1954
|
+
}
|
|
1955
|
+
};
|
|
1956
|
+
}
|
|
1957
|
+
static get states() {
|
|
1958
|
+
return {
|
|
1959
|
+
"jumpToPage": {},
|
|
1960
|
+
"inputError": {},
|
|
1961
|
+
"pageInputValue": {},
|
|
1962
|
+
"showEllipsisTooltip": {},
|
|
1963
|
+
"ellipsisPages": {},
|
|
1964
|
+
"isTransitioning": {},
|
|
1965
|
+
"isMobile": {},
|
|
1966
|
+
"openDropdown": {}
|
|
1967
|
+
};
|
|
1968
|
+
}
|
|
1969
|
+
static get events() {
|
|
1970
|
+
return [{
|
|
1971
|
+
"method": "pageChange",
|
|
1972
|
+
"name": "pageChange",
|
|
1973
|
+
"bubbles": true,
|
|
1974
|
+
"cancelable": true,
|
|
1975
|
+
"composed": true,
|
|
1976
|
+
"docs": {
|
|
1977
|
+
"tags": [],
|
|
1978
|
+
"text": "Emitted when page changes"
|
|
1979
|
+
},
|
|
1980
|
+
"complexType": {
|
|
1981
|
+
"original": "{ page: number; itemsPerPage: number }",
|
|
1982
|
+
"resolved": "{ page: number; itemsPerPage: number; }",
|
|
1983
|
+
"references": {}
|
|
1984
|
+
}
|
|
1985
|
+
}, {
|
|
1986
|
+
"method": "itemsPerPageChange",
|
|
1987
|
+
"name": "itemsPerPageChange",
|
|
1988
|
+
"bubbles": true,
|
|
1989
|
+
"cancelable": true,
|
|
1990
|
+
"composed": true,
|
|
1991
|
+
"docs": {
|
|
1992
|
+
"tags": [],
|
|
1993
|
+
"text": "Emitted when items per page changes"
|
|
1994
|
+
},
|
|
1995
|
+
"complexType": {
|
|
1996
|
+
"original": "number",
|
|
1997
|
+
"resolved": "number",
|
|
1998
|
+
"references": {}
|
|
1999
|
+
}
|
|
2000
|
+
}, {
|
|
2001
|
+
"method": "validationError",
|
|
2002
|
+
"name": "validationError",
|
|
2003
|
+
"bubbles": true,
|
|
2004
|
+
"cancelable": true,
|
|
2005
|
+
"composed": true,
|
|
2006
|
+
"docs": {
|
|
2007
|
+
"tags": [],
|
|
2008
|
+
"text": "Emitted when validation error occurs"
|
|
2009
|
+
},
|
|
2010
|
+
"complexType": {
|
|
2011
|
+
"original": "string",
|
|
2012
|
+
"resolved": "string",
|
|
2013
|
+
"references": {}
|
|
2014
|
+
}
|
|
2015
|
+
}];
|
|
2016
|
+
}
|
|
2017
|
+
static get elementRef() { return "el"; }
|
|
2018
|
+
static get watchers() {
|
|
2019
|
+
return [{
|
|
2020
|
+
"propName": "totalItems",
|
|
2021
|
+
"methodName": "handleTotalChange"
|
|
2022
|
+
}, {
|
|
2023
|
+
"propName": "itemsPerPage",
|
|
2024
|
+
"methodName": "handleTotalChange"
|
|
2025
|
+
}, {
|
|
2026
|
+
"propName": "currentPage",
|
|
2027
|
+
"methodName": "handleCurrentPageChange"
|
|
2028
|
+
}, {
|
|
2029
|
+
"propName": "openDropdown",
|
|
2030
|
+
"methodName": "handleOpenDropdownChange"
|
|
2031
|
+
}];
|
|
2032
|
+
}
|
|
2033
|
+
}
|