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,1369 @@
|
|
|
1
|
+
import { h, Host } from "@stencil/core";
|
|
2
|
+
export class RangeSlider {
|
|
3
|
+
el;
|
|
4
|
+
trackElement;
|
|
5
|
+
isDragging = false;
|
|
6
|
+
activeThumb = null;
|
|
7
|
+
internals;
|
|
8
|
+
/**
|
|
9
|
+
* Minimum value
|
|
10
|
+
*/
|
|
11
|
+
min = 0;
|
|
12
|
+
/**
|
|
13
|
+
* Maximum value
|
|
14
|
+
*/
|
|
15
|
+
max = 100;
|
|
16
|
+
/**
|
|
17
|
+
* Step increment
|
|
18
|
+
*/
|
|
19
|
+
step = 1;
|
|
20
|
+
/**
|
|
21
|
+
* Current value (single slider)
|
|
22
|
+
*/
|
|
23
|
+
value = 50;
|
|
24
|
+
/**
|
|
25
|
+
* Range mode - start value
|
|
26
|
+
*/
|
|
27
|
+
startValue = 25;
|
|
28
|
+
/**
|
|
29
|
+
* Range mode - end value
|
|
30
|
+
*/
|
|
31
|
+
endValue = 75;
|
|
32
|
+
/**
|
|
33
|
+
* Enable range mode (two thumbs)
|
|
34
|
+
*/
|
|
35
|
+
range = false;
|
|
36
|
+
/**
|
|
37
|
+
* Minimum distance between thumbs in range mode
|
|
38
|
+
*/
|
|
39
|
+
minRange = 0;
|
|
40
|
+
/**
|
|
41
|
+
* Disabled state
|
|
42
|
+
*/
|
|
43
|
+
disabled = false;
|
|
44
|
+
/**
|
|
45
|
+
* Show value tooltip
|
|
46
|
+
*/
|
|
47
|
+
showTooltip = true;
|
|
48
|
+
/**
|
|
49
|
+
* Tooltip always visible
|
|
50
|
+
*/
|
|
51
|
+
tooltipAlwaysVisible = false;
|
|
52
|
+
/**
|
|
53
|
+
* Color of the slider (string, {from: string, to: string}, or array of ranges [{min: number, max: number, color: string}])
|
|
54
|
+
*/
|
|
55
|
+
color = '#3bf673';
|
|
56
|
+
/**
|
|
57
|
+
* Track color
|
|
58
|
+
*/
|
|
59
|
+
trackColor = '#e5e7eb';
|
|
60
|
+
/**
|
|
61
|
+
* Size variant
|
|
62
|
+
*/
|
|
63
|
+
size = 'md';
|
|
64
|
+
/**
|
|
65
|
+
* Start icon/text
|
|
66
|
+
*/
|
|
67
|
+
startIcon = '';
|
|
68
|
+
/**
|
|
69
|
+
* End icon/text
|
|
70
|
+
*/
|
|
71
|
+
endIcon = '';
|
|
72
|
+
/**
|
|
73
|
+
* Display format function or string
|
|
74
|
+
*/
|
|
75
|
+
displayFormat = '';
|
|
76
|
+
/**
|
|
77
|
+
* Show marks
|
|
78
|
+
*/
|
|
79
|
+
showMarks = false;
|
|
80
|
+
/**
|
|
81
|
+
* Custom marks
|
|
82
|
+
*/
|
|
83
|
+
marks = [];
|
|
84
|
+
/**
|
|
85
|
+
* Restricted values (only allow specific values)
|
|
86
|
+
*/
|
|
87
|
+
restrictedValues = [];
|
|
88
|
+
/**
|
|
89
|
+
* Vertical orientation
|
|
90
|
+
*/
|
|
91
|
+
vertical = false;
|
|
92
|
+
/**
|
|
93
|
+
* Label displayed above the slider
|
|
94
|
+
*/
|
|
95
|
+
label = '';
|
|
96
|
+
/**
|
|
97
|
+
* Semantic color variant or aesthetic variant
|
|
98
|
+
*/
|
|
99
|
+
variant = '';
|
|
100
|
+
/**
|
|
101
|
+
* Prefix string displayed before the value (e.g. '$')
|
|
102
|
+
*/
|
|
103
|
+
prefixText = '';
|
|
104
|
+
/**
|
|
105
|
+
* Suffix string displayed after the value (e.g. '%', 'px')
|
|
106
|
+
*/
|
|
107
|
+
suffixText = '';
|
|
108
|
+
/**
|
|
109
|
+
* Show min and max labels at the ends of the track
|
|
110
|
+
*/
|
|
111
|
+
showMinMax = false;
|
|
112
|
+
/**
|
|
113
|
+
* Show an editable number input synced to the slider value
|
|
114
|
+
*/
|
|
115
|
+
inputSync = false;
|
|
116
|
+
/**
|
|
117
|
+
* Use a gradient fill for the range track
|
|
118
|
+
*/
|
|
119
|
+
gradientTrack = false;
|
|
120
|
+
/**
|
|
121
|
+
* Show current value label
|
|
122
|
+
*/
|
|
123
|
+
showValue = true;
|
|
124
|
+
/**
|
|
125
|
+
* Custom step marks (non-linear scaling)
|
|
126
|
+
*/
|
|
127
|
+
customSteps = [];
|
|
128
|
+
/**
|
|
129
|
+
* RTL support
|
|
130
|
+
*/
|
|
131
|
+
rtl = false;
|
|
132
|
+
/**
|
|
133
|
+
* Circle variant (aesthetic)
|
|
134
|
+
*/
|
|
135
|
+
circle = false;
|
|
136
|
+
/**
|
|
137
|
+
* Hide the colored range track portion
|
|
138
|
+
*/
|
|
139
|
+
hideRange = false;
|
|
140
|
+
/**
|
|
141
|
+
* Hover state for tooltip
|
|
142
|
+
*/
|
|
143
|
+
isHovering = false;
|
|
144
|
+
/**
|
|
145
|
+
* Dragging state
|
|
146
|
+
*/
|
|
147
|
+
isDraggingState = false;
|
|
148
|
+
get resolvedColor() {
|
|
149
|
+
const variantColors = {
|
|
150
|
+
primary: '#3bf673',
|
|
151
|
+
success: '#10b981',
|
|
152
|
+
danger: '#ef4444',
|
|
153
|
+
warning: '#f59e0b',
|
|
154
|
+
info: '#06b6d4',
|
|
155
|
+
purple: '#8b5cf6',
|
|
156
|
+
};
|
|
157
|
+
if (Array.isArray(this.color)) {
|
|
158
|
+
const val = this.range ? this.endValue : this.value;
|
|
159
|
+
const rangeRule = this.color.find(r => val >= r.min && val <= r.max);
|
|
160
|
+
return rangeRule ? rangeRule.color : '#3bf673';
|
|
161
|
+
}
|
|
162
|
+
const baseColor = typeof this.color === 'string' ? this.color : this.color.from;
|
|
163
|
+
return this.variant ? variantColors[this.variant] || baseColor : baseColor;
|
|
164
|
+
}
|
|
165
|
+
get resolvedGradient() {
|
|
166
|
+
const variantGradients = {
|
|
167
|
+
primary: 'linear-gradient(90deg, #3bf673, #6366f1)',
|
|
168
|
+
success: 'linear-gradient(90deg, #10b981, #34d399)',
|
|
169
|
+
danger: 'linear-gradient(90deg, #ef4444, #f97316)',
|
|
170
|
+
warning: 'linear-gradient(90deg, #f59e0b, #fbbf24)',
|
|
171
|
+
info: 'linear-gradient(90deg, #06b6d4, #3bf673)',
|
|
172
|
+
purple: 'linear-gradient(90deg, #8b5cf6, #ec4899)',
|
|
173
|
+
};
|
|
174
|
+
if (Array.isArray(this.color)) {
|
|
175
|
+
const val = this.range ? this.endValue : this.value;
|
|
176
|
+
const rangeRule = this.color.find(r => val >= r.min && val <= r.max);
|
|
177
|
+
const c = rangeRule ? rangeRule.color : '#3bf673';
|
|
178
|
+
return `linear-gradient(90deg, ${c}, ${c}aa)`;
|
|
179
|
+
}
|
|
180
|
+
const baseColor = typeof this.color === 'string' ? this.color : this.color.from;
|
|
181
|
+
if (this.variant)
|
|
182
|
+
return variantGradients[this.variant] || `linear-gradient(90deg, ${baseColor}, ${baseColor})`;
|
|
183
|
+
if (typeof this.color === 'object' && this.color !== null && !Array.isArray(this.color)) {
|
|
184
|
+
return `linear-gradient(90deg, ${this.color.from}, ${this.color.to})`;
|
|
185
|
+
}
|
|
186
|
+
return `linear-gradient(90deg, ${this.color}, ${this.color}aa)`;
|
|
187
|
+
}
|
|
188
|
+
/**
|
|
189
|
+
* Emitted when value changes
|
|
190
|
+
*/
|
|
191
|
+
sliderChange;
|
|
192
|
+
/**
|
|
193
|
+
* Emitted on drag start
|
|
194
|
+
*/
|
|
195
|
+
sliderDragStart;
|
|
196
|
+
/**
|
|
197
|
+
* Emitted on drag end
|
|
198
|
+
*/
|
|
199
|
+
sliderDragEnd;
|
|
200
|
+
handleColorChange() {
|
|
201
|
+
this.normalizeProps();
|
|
202
|
+
}
|
|
203
|
+
handleMarksChange() {
|
|
204
|
+
this.normalizeProps();
|
|
205
|
+
}
|
|
206
|
+
componentWillLoad() {
|
|
207
|
+
if (typeof this.el.attachInternals === 'function') {
|
|
208
|
+
this.internals = this.el.attachInternals();
|
|
209
|
+
}
|
|
210
|
+
this.normalizeProps();
|
|
211
|
+
this.updateFormValue();
|
|
212
|
+
}
|
|
213
|
+
updateFormValue() {
|
|
214
|
+
if (this.internals) {
|
|
215
|
+
if (this.range) {
|
|
216
|
+
this.internals.setFormValue(`${this.startValue},${this.endValue}`);
|
|
217
|
+
}
|
|
218
|
+
else {
|
|
219
|
+
this.internals.setFormValue(this.value.toString());
|
|
220
|
+
}
|
|
221
|
+
}
|
|
222
|
+
}
|
|
223
|
+
normalizeProps() {
|
|
224
|
+
try {
|
|
225
|
+
if (typeof this.color === 'string' && (this.color.startsWith('{') || this.color.startsWith('['))) {
|
|
226
|
+
this.color = JSON.parse(this.color);
|
|
227
|
+
}
|
|
228
|
+
if (typeof this.marks === 'string') {
|
|
229
|
+
this.marks = JSON.parse(this.marks);
|
|
230
|
+
}
|
|
231
|
+
if (typeof this.restrictedValues === 'string') {
|
|
232
|
+
this.restrictedValues = JSON.parse(this.restrictedValues);
|
|
233
|
+
}
|
|
234
|
+
if (typeof this.customSteps === 'string') {
|
|
235
|
+
this.customSteps = JSON.parse(this.customSteps);
|
|
236
|
+
}
|
|
237
|
+
}
|
|
238
|
+
catch (e) {
|
|
239
|
+
console.warn('Failed to parse complex slider prop', e);
|
|
240
|
+
}
|
|
241
|
+
}
|
|
242
|
+
componentDidLoad() {
|
|
243
|
+
document.addEventListener('mousemove', this.handleMouseMove);
|
|
244
|
+
document.addEventListener('mouseup', this.handleMouseUp);
|
|
245
|
+
document.addEventListener('touchmove', this.handleTouchMove);
|
|
246
|
+
document.addEventListener('touchend', this.handleTouchEnd);
|
|
247
|
+
}
|
|
248
|
+
disconnectedCallback() {
|
|
249
|
+
document.removeEventListener('mousemove', this.handleMouseMove);
|
|
250
|
+
document.removeEventListener('mouseup', this.handleMouseUp);
|
|
251
|
+
document.removeEventListener('touchmove', this.handleTouchMove);
|
|
252
|
+
document.removeEventListener('touchend', this.handleTouchEnd);
|
|
253
|
+
}
|
|
254
|
+
getMarks() {
|
|
255
|
+
if (typeof this.marks === 'string') {
|
|
256
|
+
try {
|
|
257
|
+
return JSON.parse(this.marks);
|
|
258
|
+
}
|
|
259
|
+
catch {
|
|
260
|
+
return [];
|
|
261
|
+
}
|
|
262
|
+
}
|
|
263
|
+
return this.marks;
|
|
264
|
+
}
|
|
265
|
+
getRestrictedValues() {
|
|
266
|
+
if (typeof this.restrictedValues === 'string') {
|
|
267
|
+
try {
|
|
268
|
+
return JSON.parse(this.restrictedValues);
|
|
269
|
+
}
|
|
270
|
+
catch {
|
|
271
|
+
return [];
|
|
272
|
+
}
|
|
273
|
+
}
|
|
274
|
+
return this.restrictedValues;
|
|
275
|
+
}
|
|
276
|
+
getCustomSteps() {
|
|
277
|
+
if (typeof this.customSteps === 'string') {
|
|
278
|
+
try {
|
|
279
|
+
return JSON.parse(this.customSteps);
|
|
280
|
+
}
|
|
281
|
+
catch {
|
|
282
|
+
return [];
|
|
283
|
+
}
|
|
284
|
+
}
|
|
285
|
+
return this.customSteps;
|
|
286
|
+
}
|
|
287
|
+
getNearestValue(value) {
|
|
288
|
+
const restricted = this.getRestrictedValues();
|
|
289
|
+
if (restricted.length > 0) {
|
|
290
|
+
// Find nearest restricted value
|
|
291
|
+
return restricted.reduce((prev, curr) => Math.abs(curr - value) < Math.abs(prev - value) ? curr : prev);
|
|
292
|
+
}
|
|
293
|
+
const customSteps = this.getCustomSteps();
|
|
294
|
+
if (customSteps.length > 0) {
|
|
295
|
+
// Find nearest custom step
|
|
296
|
+
return customSteps.reduce((prev, curr) => Math.abs(curr - value) < Math.abs(prev - value) ? curr : prev);
|
|
297
|
+
}
|
|
298
|
+
// Regular step
|
|
299
|
+
const steps = Math.round((value - this.min) / this.step);
|
|
300
|
+
const val = this.min + steps * this.step;
|
|
301
|
+
return Math.min(this.max, Math.max(this.min, val));
|
|
302
|
+
}
|
|
303
|
+
isRtl() {
|
|
304
|
+
return this.rtl || document.dir === 'rtl' || (this.el && this.el.getAttribute('dir') === 'rtl');
|
|
305
|
+
}
|
|
306
|
+
getPositionFromValue(value) {
|
|
307
|
+
const customSteps = this.getCustomSteps();
|
|
308
|
+
if (customSteps.length > 0) {
|
|
309
|
+
// Non-linear scaling based on custom steps
|
|
310
|
+
const sortedSteps = [...customSteps].sort((a, b) => a - b);
|
|
311
|
+
const index = sortedSteps.indexOf(value);
|
|
312
|
+
if (index !== -1) {
|
|
313
|
+
return (index / (sortedSteps.length - 1)) * 100;
|
|
314
|
+
}
|
|
315
|
+
// If value not in steps, find position between steps
|
|
316
|
+
for (let i = 0; i < sortedSteps.length - 1; i++) {
|
|
317
|
+
if (value >= sortedSteps[i] && value <= sortedSteps[i + 1]) {
|
|
318
|
+
const ratio = (value - sortedSteps[i]) / (sortedSteps[i + 1] - sortedSteps[i]);
|
|
319
|
+
const segmentStart = (i / (sortedSteps.length - 1)) * 100;
|
|
320
|
+
const segmentEnd = ((i + 1) / (sortedSteps.length - 1)) * 100;
|
|
321
|
+
return segmentStart + ratio * (segmentEnd - segmentStart);
|
|
322
|
+
}
|
|
323
|
+
}
|
|
324
|
+
}
|
|
325
|
+
// Linear scaling
|
|
326
|
+
return ((value - this.min) / (this.max - this.min)) * 100;
|
|
327
|
+
}
|
|
328
|
+
getValueFromPosition(position) {
|
|
329
|
+
const customSteps = this.getCustomSteps();
|
|
330
|
+
if (customSteps.length > 0) {
|
|
331
|
+
// Non-linear scaling
|
|
332
|
+
const sortedSteps = [...customSteps].sort((a, b) => a - b);
|
|
333
|
+
const index = Math.round((position / 100) * (sortedSteps.length - 1));
|
|
334
|
+
return sortedSteps[Math.max(0, Math.min(index, sortedSteps.length - 1))];
|
|
335
|
+
}
|
|
336
|
+
// Linear scaling
|
|
337
|
+
const rawValue = this.min + (position / 100) * (this.max - this.min);
|
|
338
|
+
return this.getNearestValue(rawValue);
|
|
339
|
+
}
|
|
340
|
+
handleTrackClick = (event) => {
|
|
341
|
+
if (this.disabled)
|
|
342
|
+
return;
|
|
343
|
+
const rect = this.trackElement.getBoundingClientRect();
|
|
344
|
+
let position;
|
|
345
|
+
if (this.vertical) {
|
|
346
|
+
position = ((rect.bottom - event.clientY) / rect.height) * 100;
|
|
347
|
+
}
|
|
348
|
+
else {
|
|
349
|
+
const horizontalPos = ((event.clientX - rect.left) / rect.width) * 100;
|
|
350
|
+
position = this.isRtl() ? 100 - horizontalPos : horizontalPos;
|
|
351
|
+
}
|
|
352
|
+
const newValue = this.getValueFromPosition(Math.max(0, Math.min(100, position)));
|
|
353
|
+
if (this.range) {
|
|
354
|
+
const startPos = this.getPositionFromValue(this.startValue);
|
|
355
|
+
const endPos = this.getPositionFromValue(this.endValue);
|
|
356
|
+
const clickPos = position;
|
|
357
|
+
// Determine which thumb to move
|
|
358
|
+
const distToStart = Math.abs(clickPos - startPos);
|
|
359
|
+
const distToEnd = Math.abs(clickPos - endPos);
|
|
360
|
+
if (distToStart < distToEnd) {
|
|
361
|
+
this.startValue = Math.min(newValue, this.endValue - this.minRange);
|
|
362
|
+
}
|
|
363
|
+
else {
|
|
364
|
+
this.endValue = Math.max(newValue, this.startValue + this.minRange);
|
|
365
|
+
}
|
|
366
|
+
this.sliderChange.emit({ start: this.startValue, end: this.endValue });
|
|
367
|
+
this.updateFormValue();
|
|
368
|
+
}
|
|
369
|
+
else {
|
|
370
|
+
this.value = newValue;
|
|
371
|
+
this.sliderChange.emit(this.value);
|
|
372
|
+
this.updateFormValue();
|
|
373
|
+
}
|
|
374
|
+
};
|
|
375
|
+
handleThumbMouseDown = (thumb) => (event) => {
|
|
376
|
+
if (this.disabled)
|
|
377
|
+
return;
|
|
378
|
+
event.preventDefault();
|
|
379
|
+
this.isDragging = true;
|
|
380
|
+
this.isDraggingState = true;
|
|
381
|
+
this.activeThumb = thumb;
|
|
382
|
+
this.sliderDragStart.emit();
|
|
383
|
+
};
|
|
384
|
+
handleThumbTouchStart = (thumb) => (event) => {
|
|
385
|
+
if (this.disabled)
|
|
386
|
+
return;
|
|
387
|
+
event.preventDefault();
|
|
388
|
+
this.isDragging = true;
|
|
389
|
+
this.isDraggingState = true;
|
|
390
|
+
this.activeThumb = thumb;
|
|
391
|
+
this.sliderDragStart.emit();
|
|
392
|
+
};
|
|
393
|
+
handleMouseMove = (event) => {
|
|
394
|
+
if (!this.isDragging || this.disabled)
|
|
395
|
+
return;
|
|
396
|
+
this.updateValueFromEvent(event.clientX, event.clientY);
|
|
397
|
+
};
|
|
398
|
+
handleTouchMove = (event) => {
|
|
399
|
+
if (!this.isDragging || this.disabled)
|
|
400
|
+
return;
|
|
401
|
+
const touch = event.touches[0];
|
|
402
|
+
this.updateValueFromEvent(touch.clientX, touch.clientY);
|
|
403
|
+
};
|
|
404
|
+
updateValueFromEvent(clientX, clientY) {
|
|
405
|
+
if (!this.trackElement)
|
|
406
|
+
return;
|
|
407
|
+
const rect = this.trackElement.getBoundingClientRect();
|
|
408
|
+
let position;
|
|
409
|
+
if (this.vertical) {
|
|
410
|
+
position = ((rect.bottom - clientY) / rect.height) * 100;
|
|
411
|
+
}
|
|
412
|
+
else {
|
|
413
|
+
const horizontalPos = ((clientX - rect.left) / rect.width) * 100;
|
|
414
|
+
position = this.isRtl() ? 100 - horizontalPos : horizontalPos;
|
|
415
|
+
}
|
|
416
|
+
const newValue = this.getValueFromPosition(Math.max(0, Math.min(100, position)));
|
|
417
|
+
if (this.range) {
|
|
418
|
+
if (this.activeThumb === 'start') {
|
|
419
|
+
this.startValue = Math.min(newValue, this.endValue - this.minRange);
|
|
420
|
+
}
|
|
421
|
+
else if (this.activeThumb === 'end') {
|
|
422
|
+
this.endValue = Math.max(newValue, this.startValue + this.minRange);
|
|
423
|
+
}
|
|
424
|
+
this.sliderChange.emit({ start: this.startValue, end: this.endValue });
|
|
425
|
+
}
|
|
426
|
+
else {
|
|
427
|
+
this.value = newValue;
|
|
428
|
+
this.sliderChange.emit(this.value);
|
|
429
|
+
}
|
|
430
|
+
this.updateFormValue();
|
|
431
|
+
}
|
|
432
|
+
handleMouseUp = () => {
|
|
433
|
+
if (this.isDragging) {
|
|
434
|
+
this.isDragging = false;
|
|
435
|
+
this.isDraggingState = false;
|
|
436
|
+
this.activeThumb = null;
|
|
437
|
+
this.sliderDragEnd.emit();
|
|
438
|
+
}
|
|
439
|
+
};
|
|
440
|
+
handleTouchEnd = () => {
|
|
441
|
+
if (this.isDragging) {
|
|
442
|
+
this.isDragging = false;
|
|
443
|
+
this.isDraggingState = false;
|
|
444
|
+
this.activeThumb = null;
|
|
445
|
+
this.sliderDragEnd.emit();
|
|
446
|
+
}
|
|
447
|
+
};
|
|
448
|
+
formatValue(value) {
|
|
449
|
+
let formatted;
|
|
450
|
+
if (this.displayFormat) {
|
|
451
|
+
try {
|
|
452
|
+
formatted = this.displayFormat.replace('{value}', value.toString());
|
|
453
|
+
}
|
|
454
|
+
catch {
|
|
455
|
+
formatted = value.toString();
|
|
456
|
+
}
|
|
457
|
+
}
|
|
458
|
+
else {
|
|
459
|
+
formatted = value.toString();
|
|
460
|
+
}
|
|
461
|
+
return `${this.prefixText}${formatted}${this.suffixText}`;
|
|
462
|
+
}
|
|
463
|
+
handleInputChange = (thumb) => (event) => {
|
|
464
|
+
const newValue = Math.max(this.min, Math.min(this.max, Number(event.detail)));
|
|
465
|
+
if (!isNaN(newValue)) {
|
|
466
|
+
if (thumb === 'start') {
|
|
467
|
+
this.startValue = Math.min(newValue, this.endValue);
|
|
468
|
+
this.sliderChange.emit({ start: this.startValue, end: this.endValue });
|
|
469
|
+
}
|
|
470
|
+
else if (thumb === 'end') {
|
|
471
|
+
this.endValue = Math.max(newValue, this.startValue);
|
|
472
|
+
this.sliderChange.emit({ start: this.startValue, end: this.endValue });
|
|
473
|
+
}
|
|
474
|
+
else {
|
|
475
|
+
this.value = newValue;
|
|
476
|
+
this.sliderChange.emit(this.value);
|
|
477
|
+
}
|
|
478
|
+
}
|
|
479
|
+
};
|
|
480
|
+
handleKeyDown = (thumb) => (event) => {
|
|
481
|
+
if (this.disabled)
|
|
482
|
+
return;
|
|
483
|
+
let newValue = thumb === 'start' ? this.startValue : (this.range ? this.endValue : this.value);
|
|
484
|
+
const step = this.step;
|
|
485
|
+
const lgStep = this.step * 10;
|
|
486
|
+
let changed = false;
|
|
487
|
+
switch (event.key) {
|
|
488
|
+
case 'ArrowRight':
|
|
489
|
+
case 'ArrowUp':
|
|
490
|
+
newValue = newValue + step;
|
|
491
|
+
changed = true;
|
|
492
|
+
break;
|
|
493
|
+
case 'ArrowLeft':
|
|
494
|
+
case 'ArrowDown':
|
|
495
|
+
newValue = newValue - step;
|
|
496
|
+
changed = true;
|
|
497
|
+
break;
|
|
498
|
+
case 'PageUp':
|
|
499
|
+
newValue = newValue + lgStep;
|
|
500
|
+
changed = true;
|
|
501
|
+
break;
|
|
502
|
+
case 'PageDown':
|
|
503
|
+
newValue = newValue - lgStep;
|
|
504
|
+
changed = true;
|
|
505
|
+
break;
|
|
506
|
+
case 'Home':
|
|
507
|
+
newValue = this.min;
|
|
508
|
+
changed = true;
|
|
509
|
+
break;
|
|
510
|
+
case 'End':
|
|
511
|
+
newValue = this.max;
|
|
512
|
+
changed = true;
|
|
513
|
+
break;
|
|
514
|
+
default:
|
|
515
|
+
return;
|
|
516
|
+
}
|
|
517
|
+
if (changed) {
|
|
518
|
+
event.preventDefault();
|
|
519
|
+
event.stopPropagation();
|
|
520
|
+
// Clamp and ensure min/max
|
|
521
|
+
newValue = Math.max(this.min, Math.min(this.max, newValue));
|
|
522
|
+
if (this.range) {
|
|
523
|
+
if (thumb === 'start') {
|
|
524
|
+
this.startValue = Math.min(newValue, this.endValue);
|
|
525
|
+
}
|
|
526
|
+
else {
|
|
527
|
+
this.endValue = Math.max(newValue, this.startValue);
|
|
528
|
+
}
|
|
529
|
+
this.sliderChange.emit({ start: this.startValue, end: this.endValue });
|
|
530
|
+
}
|
|
531
|
+
else {
|
|
532
|
+
this.value = newValue;
|
|
533
|
+
this.sliderChange.emit(this.value);
|
|
534
|
+
}
|
|
535
|
+
}
|
|
536
|
+
};
|
|
537
|
+
renderMarks() {
|
|
538
|
+
const marks = this.getMarks();
|
|
539
|
+
const customSteps = this.getCustomSteps();
|
|
540
|
+
const activeColor = this.resolvedColor;
|
|
541
|
+
let marksToRender = marks;
|
|
542
|
+
if (marksToRender.length === 0 && this.showMarks) {
|
|
543
|
+
const steps = customSteps.length > 0 ? customSteps : [];
|
|
544
|
+
if (steps.length === 0) {
|
|
545
|
+
for (let i = this.min; i <= this.max; i += this.step) {
|
|
546
|
+
steps.push(i);
|
|
547
|
+
}
|
|
548
|
+
}
|
|
549
|
+
marksToRender = steps.map(val => ({ value: val }));
|
|
550
|
+
}
|
|
551
|
+
const startActive = this.range ? this.startValue : this.min;
|
|
552
|
+
const endActive = this.range ? this.endValue : this.value;
|
|
553
|
+
return marksToRender.map(mark => {
|
|
554
|
+
const position = this.getPositionFromValue(mark.value);
|
|
555
|
+
const isActive = mark.value >= startActive && mark.value <= endActive;
|
|
556
|
+
const style = this.vertical
|
|
557
|
+
? { bottom: `${position}%` }
|
|
558
|
+
: { left: `${position}%` };
|
|
559
|
+
return (h("div", { class: "slider-mark", style: style }, h("div", { class: "slider-mark-dot", style: isActive ? { backgroundColor: activeColor, borderColor: 'white' } : {} }), mark.label && h("div", { class: "slider-mark-label" }, mark.label)));
|
|
560
|
+
});
|
|
561
|
+
}
|
|
562
|
+
render() {
|
|
563
|
+
const startPos = this.range ? this.getPositionFromValue(this.startValue) : 0;
|
|
564
|
+
const endPos = this.range ? this.getPositionFromValue(this.endValue) : this.getPositionFromValue(this.value);
|
|
565
|
+
const activeColor = this.resolvedColor;
|
|
566
|
+
const rangeStyle = this.vertical
|
|
567
|
+
? {
|
|
568
|
+
bottom: `${startPos}%`,
|
|
569
|
+
height: `${endPos - startPos}%`,
|
|
570
|
+
...(this.gradientTrack
|
|
571
|
+
? { background: this.resolvedGradient }
|
|
572
|
+
: { backgroundColor: activeColor }),
|
|
573
|
+
}
|
|
574
|
+
: {
|
|
575
|
+
left: `${startPos}%`,
|
|
576
|
+
width: `${endPos - startPos}%`,
|
|
577
|
+
...(this.gradientTrack
|
|
578
|
+
? { background: this.resolvedGradient }
|
|
579
|
+
: { backgroundColor: activeColor }),
|
|
580
|
+
};
|
|
581
|
+
const thumbStyle = (pos, isVertical) => {
|
|
582
|
+
const isColorObject = typeof this.color === 'object' && this.color !== null;
|
|
583
|
+
const baseStyle = isVertical
|
|
584
|
+
? { bottom: `${pos}%` }
|
|
585
|
+
: { [this.isRtl() ? 'right' : 'left']: `${pos}%` };
|
|
586
|
+
if (isColorObject || (this.gradientTrack && this.variant)) {
|
|
587
|
+
baseStyle.background = this.resolvedGradient;
|
|
588
|
+
}
|
|
589
|
+
else {
|
|
590
|
+
baseStyle.backgroundColor = activeColor;
|
|
591
|
+
}
|
|
592
|
+
baseStyle.boxShadow = `0 0 0 3px ${activeColor}33`;
|
|
593
|
+
return baseStyle;
|
|
594
|
+
};
|
|
595
|
+
return (h(Host, { dir: this.isRtl() ? 'rtl' : 'ltr' }, this.label && (h("div", { class: "slider-label" }, this.label)), h("div", { class: {
|
|
596
|
+
'slider-container': true,
|
|
597
|
+
[`slider-${this.size}`]: true,
|
|
598
|
+
[`variant-${this.variant}`]: !!this.variant,
|
|
599
|
+
'variant-circle': this.circle,
|
|
600
|
+
'slider-vertical': this.vertical,
|
|
601
|
+
'slider-disabled': this.disabled,
|
|
602
|
+
'slider-dragging': this.isDraggingState,
|
|
603
|
+
'slider-rtl': this.isRtl(),
|
|
604
|
+
}, dir: this.isRtl() ? 'rtl' : 'ltr', onMouseEnter: () => (this.isHovering = true), onMouseLeave: () => (this.isHovering = false) }, this.startIcon && (h("div", { class: "slider-icon slider-start-icon" }, this.startIcon)), h("div", { class: "slider-wrapper" }, this.showMinMax && (h("div", { class: "slider-minmax-labels" }, h("span", { class: "slider-minmax-min" }, this.formatValue(this.min)), h("span", { class: "slider-minmax-max" }, this.formatValue(this.max)))), h("div", { class: "slider-track", ref: el => (this.trackElement = el), onClick: this.handleTrackClick, style: { background: this.trackColor } }, !this.hideRange && h("div", { class: "slider-range", style: rangeStyle }), this.showMarks && h("div", { class: "slider-marks" }, this.renderMarks()), this.range && (h("div", { class: {
|
|
605
|
+
'slider-thumb': true,
|
|
606
|
+
'slider-thumb-active': this.activeThumb === 'start',
|
|
607
|
+
}, style: thumbStyle(startPos, this.vertical), onMouseDown: this.handleThumbMouseDown('start'), onTouchStart: this.handleThumbTouchStart('start'), onKeyDown: this.handleKeyDown('start'), tabIndex: this.disabled ? -1 : 0, role: "slider", "aria-label": "Start Value", "aria-valuemin": this.min, "aria-valuemax": this.endValue, "aria-valuenow": this.startValue }, (this.showTooltip && (this.tooltipAlwaysVisible || this.isHovering || this.isDraggingState)) && (h("div", { class: "slider-tooltip" }, this.formatValue(this.startValue))))), h("div", { class: {
|
|
608
|
+
'slider-thumb': true,
|
|
609
|
+
'slider-thumb-active': !this.range || this.activeThumb === 'end',
|
|
610
|
+
}, style: thumbStyle(endPos, this.vertical), onMouseDown: this.handleThumbMouseDown(this.range ? 'end' : null), onTouchStart: this.handleThumbTouchStart(this.range ? 'end' : null), onKeyDown: this.handleKeyDown('end'), tabIndex: this.disabled ? -1 : 0, role: "slider", "aria-label": this.range ? 'End Value' : 'Value', "aria-valuemin": this.range ? this.startValue : this.min, "aria-valuemax": this.max, "aria-valuenow": this.range ? this.endValue : this.value }, (this.showTooltip && (this.tooltipAlwaysVisible || this.isHovering || this.isDraggingState)) && (h("div", { class: "slider-tooltip" }, this.formatValue(this.range ? this.endValue : this.value))))), this.showValue && (h("div", { class: "slider-value-display" }, this.range
|
|
611
|
+
? `${this.formatValue(this.startValue)} – ${this.formatValue(this.endValue)}`
|
|
612
|
+
: this.formatValue(this.value))), this.inputSync && !this.range && (h("ui-input", { type: "number", class: "slider-input", min: this.min, max: this.max, step: this.step, value: this.value, disabled: this.disabled, onInputChange: this.handleInputChange('single'), size: "sm" })), this.inputSync && this.range && (h("div", { class: "slider-input-row" }, h("ui-input", { type: "number", class: "slider-input", min: this.min, max: this.endValue, step: this.step, value: this.startValue, disabled: this.disabled, onInputChange: this.handleInputChange('start'), size: "sm" }), h("span", { class: "slider-input-sep" }, "\u2013"), h("ui-input", { type: "number", class: "slider-input", min: this.startValue, max: this.max, step: this.step, value: this.endValue, disabled: this.disabled, onInputChange: this.handleInputChange('end'), size: "sm" })))), this.endIcon && (h("div", { class: "slider-icon slider-end-icon" }, this.endIcon)))));
|
|
613
|
+
}
|
|
614
|
+
static get is() { return "ui-range-slider"; }
|
|
615
|
+
static get encapsulation() { return "shadow"; }
|
|
616
|
+
static get formAssociated() { return true; }
|
|
617
|
+
static get originalStyleUrls() {
|
|
618
|
+
return {
|
|
619
|
+
"$": ["range-slider.scss"]
|
|
620
|
+
};
|
|
621
|
+
}
|
|
622
|
+
static get styleUrls() {
|
|
623
|
+
return {
|
|
624
|
+
"$": ["range-slider.css"]
|
|
625
|
+
};
|
|
626
|
+
}
|
|
627
|
+
static get properties() {
|
|
628
|
+
return {
|
|
629
|
+
"min": {
|
|
630
|
+
"type": "number",
|
|
631
|
+
"mutable": false,
|
|
632
|
+
"complexType": {
|
|
633
|
+
"original": "number",
|
|
634
|
+
"resolved": "number",
|
|
635
|
+
"references": {}
|
|
636
|
+
},
|
|
637
|
+
"required": false,
|
|
638
|
+
"optional": false,
|
|
639
|
+
"docs": {
|
|
640
|
+
"tags": [],
|
|
641
|
+
"text": "Minimum value"
|
|
642
|
+
},
|
|
643
|
+
"getter": false,
|
|
644
|
+
"setter": false,
|
|
645
|
+
"reflect": false,
|
|
646
|
+
"attribute": "min",
|
|
647
|
+
"defaultValue": "0"
|
|
648
|
+
},
|
|
649
|
+
"max": {
|
|
650
|
+
"type": "number",
|
|
651
|
+
"mutable": false,
|
|
652
|
+
"complexType": {
|
|
653
|
+
"original": "number",
|
|
654
|
+
"resolved": "number",
|
|
655
|
+
"references": {}
|
|
656
|
+
},
|
|
657
|
+
"required": false,
|
|
658
|
+
"optional": false,
|
|
659
|
+
"docs": {
|
|
660
|
+
"tags": [],
|
|
661
|
+
"text": "Maximum value"
|
|
662
|
+
},
|
|
663
|
+
"getter": false,
|
|
664
|
+
"setter": false,
|
|
665
|
+
"reflect": false,
|
|
666
|
+
"attribute": "max",
|
|
667
|
+
"defaultValue": "100"
|
|
668
|
+
},
|
|
669
|
+
"step": {
|
|
670
|
+
"type": "number",
|
|
671
|
+
"mutable": false,
|
|
672
|
+
"complexType": {
|
|
673
|
+
"original": "number",
|
|
674
|
+
"resolved": "number",
|
|
675
|
+
"references": {}
|
|
676
|
+
},
|
|
677
|
+
"required": false,
|
|
678
|
+
"optional": false,
|
|
679
|
+
"docs": {
|
|
680
|
+
"tags": [],
|
|
681
|
+
"text": "Step increment"
|
|
682
|
+
},
|
|
683
|
+
"getter": false,
|
|
684
|
+
"setter": false,
|
|
685
|
+
"reflect": false,
|
|
686
|
+
"attribute": "step",
|
|
687
|
+
"defaultValue": "1"
|
|
688
|
+
},
|
|
689
|
+
"value": {
|
|
690
|
+
"type": "number",
|
|
691
|
+
"mutable": true,
|
|
692
|
+
"complexType": {
|
|
693
|
+
"original": "number",
|
|
694
|
+
"resolved": "number",
|
|
695
|
+
"references": {}
|
|
696
|
+
},
|
|
697
|
+
"required": false,
|
|
698
|
+
"optional": false,
|
|
699
|
+
"docs": {
|
|
700
|
+
"tags": [],
|
|
701
|
+
"text": "Current value (single slider)"
|
|
702
|
+
},
|
|
703
|
+
"getter": false,
|
|
704
|
+
"setter": false,
|
|
705
|
+
"reflect": false,
|
|
706
|
+
"attribute": "value",
|
|
707
|
+
"defaultValue": "50"
|
|
708
|
+
},
|
|
709
|
+
"startValue": {
|
|
710
|
+
"type": "number",
|
|
711
|
+
"mutable": true,
|
|
712
|
+
"complexType": {
|
|
713
|
+
"original": "number",
|
|
714
|
+
"resolved": "number",
|
|
715
|
+
"references": {}
|
|
716
|
+
},
|
|
717
|
+
"required": false,
|
|
718
|
+
"optional": false,
|
|
719
|
+
"docs": {
|
|
720
|
+
"tags": [],
|
|
721
|
+
"text": "Range mode - start value"
|
|
722
|
+
},
|
|
723
|
+
"getter": false,
|
|
724
|
+
"setter": false,
|
|
725
|
+
"reflect": false,
|
|
726
|
+
"attribute": "start-value",
|
|
727
|
+
"defaultValue": "25"
|
|
728
|
+
},
|
|
729
|
+
"endValue": {
|
|
730
|
+
"type": "number",
|
|
731
|
+
"mutable": true,
|
|
732
|
+
"complexType": {
|
|
733
|
+
"original": "number",
|
|
734
|
+
"resolved": "number",
|
|
735
|
+
"references": {}
|
|
736
|
+
},
|
|
737
|
+
"required": false,
|
|
738
|
+
"optional": false,
|
|
739
|
+
"docs": {
|
|
740
|
+
"tags": [],
|
|
741
|
+
"text": "Range mode - end value"
|
|
742
|
+
},
|
|
743
|
+
"getter": false,
|
|
744
|
+
"setter": false,
|
|
745
|
+
"reflect": false,
|
|
746
|
+
"attribute": "end-value",
|
|
747
|
+
"defaultValue": "75"
|
|
748
|
+
},
|
|
749
|
+
"range": {
|
|
750
|
+
"type": "boolean",
|
|
751
|
+
"mutable": false,
|
|
752
|
+
"complexType": {
|
|
753
|
+
"original": "boolean",
|
|
754
|
+
"resolved": "boolean",
|
|
755
|
+
"references": {}
|
|
756
|
+
},
|
|
757
|
+
"required": false,
|
|
758
|
+
"optional": false,
|
|
759
|
+
"docs": {
|
|
760
|
+
"tags": [],
|
|
761
|
+
"text": "Enable range mode (two thumbs)"
|
|
762
|
+
},
|
|
763
|
+
"getter": false,
|
|
764
|
+
"setter": false,
|
|
765
|
+
"reflect": false,
|
|
766
|
+
"attribute": "range",
|
|
767
|
+
"defaultValue": "false"
|
|
768
|
+
},
|
|
769
|
+
"minRange": {
|
|
770
|
+
"type": "number",
|
|
771
|
+
"mutable": false,
|
|
772
|
+
"complexType": {
|
|
773
|
+
"original": "number",
|
|
774
|
+
"resolved": "number",
|
|
775
|
+
"references": {}
|
|
776
|
+
},
|
|
777
|
+
"required": false,
|
|
778
|
+
"optional": false,
|
|
779
|
+
"docs": {
|
|
780
|
+
"tags": [],
|
|
781
|
+
"text": "Minimum distance between thumbs in range mode"
|
|
782
|
+
},
|
|
783
|
+
"getter": false,
|
|
784
|
+
"setter": false,
|
|
785
|
+
"reflect": false,
|
|
786
|
+
"attribute": "min-range",
|
|
787
|
+
"defaultValue": "0"
|
|
788
|
+
},
|
|
789
|
+
"disabled": {
|
|
790
|
+
"type": "boolean",
|
|
791
|
+
"mutable": false,
|
|
792
|
+
"complexType": {
|
|
793
|
+
"original": "boolean",
|
|
794
|
+
"resolved": "boolean",
|
|
795
|
+
"references": {}
|
|
796
|
+
},
|
|
797
|
+
"required": false,
|
|
798
|
+
"optional": false,
|
|
799
|
+
"docs": {
|
|
800
|
+
"tags": [],
|
|
801
|
+
"text": "Disabled state"
|
|
802
|
+
},
|
|
803
|
+
"getter": false,
|
|
804
|
+
"setter": false,
|
|
805
|
+
"reflect": false,
|
|
806
|
+
"attribute": "disabled",
|
|
807
|
+
"defaultValue": "false"
|
|
808
|
+
},
|
|
809
|
+
"showTooltip": {
|
|
810
|
+
"type": "boolean",
|
|
811
|
+
"mutable": false,
|
|
812
|
+
"complexType": {
|
|
813
|
+
"original": "boolean",
|
|
814
|
+
"resolved": "boolean",
|
|
815
|
+
"references": {}
|
|
816
|
+
},
|
|
817
|
+
"required": false,
|
|
818
|
+
"optional": false,
|
|
819
|
+
"docs": {
|
|
820
|
+
"tags": [],
|
|
821
|
+
"text": "Show value tooltip"
|
|
822
|
+
},
|
|
823
|
+
"getter": false,
|
|
824
|
+
"setter": false,
|
|
825
|
+
"reflect": false,
|
|
826
|
+
"attribute": "show-tooltip",
|
|
827
|
+
"defaultValue": "true"
|
|
828
|
+
},
|
|
829
|
+
"tooltipAlwaysVisible": {
|
|
830
|
+
"type": "boolean",
|
|
831
|
+
"mutable": false,
|
|
832
|
+
"complexType": {
|
|
833
|
+
"original": "boolean",
|
|
834
|
+
"resolved": "boolean",
|
|
835
|
+
"references": {}
|
|
836
|
+
},
|
|
837
|
+
"required": false,
|
|
838
|
+
"optional": false,
|
|
839
|
+
"docs": {
|
|
840
|
+
"tags": [],
|
|
841
|
+
"text": "Tooltip always visible"
|
|
842
|
+
},
|
|
843
|
+
"getter": false,
|
|
844
|
+
"setter": false,
|
|
845
|
+
"reflect": false,
|
|
846
|
+
"attribute": "tooltip-always-visible",
|
|
847
|
+
"defaultValue": "false"
|
|
848
|
+
},
|
|
849
|
+
"color": {
|
|
850
|
+
"type": "string",
|
|
851
|
+
"mutable": false,
|
|
852
|
+
"complexType": {
|
|
853
|
+
"original": "string | { from: string; to: string } | { min: number; max: number; color: string }[]",
|
|
854
|
+
"resolved": "string | { from: string; to: string; } | { min: number; max: number; color: string; }[]",
|
|
855
|
+
"references": {}
|
|
856
|
+
},
|
|
857
|
+
"required": false,
|
|
858
|
+
"optional": false,
|
|
859
|
+
"docs": {
|
|
860
|
+
"tags": [],
|
|
861
|
+
"text": "Color of the slider (string, {from: string, to: string}, or array of ranges [{min: number, max: number, color: string}])"
|
|
862
|
+
},
|
|
863
|
+
"getter": false,
|
|
864
|
+
"setter": false,
|
|
865
|
+
"reflect": false,
|
|
866
|
+
"attribute": "color",
|
|
867
|
+
"defaultValue": "'#3bf673'"
|
|
868
|
+
},
|
|
869
|
+
"trackColor": {
|
|
870
|
+
"type": "string",
|
|
871
|
+
"mutable": false,
|
|
872
|
+
"complexType": {
|
|
873
|
+
"original": "string",
|
|
874
|
+
"resolved": "string",
|
|
875
|
+
"references": {}
|
|
876
|
+
},
|
|
877
|
+
"required": false,
|
|
878
|
+
"optional": false,
|
|
879
|
+
"docs": {
|
|
880
|
+
"tags": [],
|
|
881
|
+
"text": "Track color"
|
|
882
|
+
},
|
|
883
|
+
"getter": false,
|
|
884
|
+
"setter": false,
|
|
885
|
+
"reflect": false,
|
|
886
|
+
"attribute": "track-color",
|
|
887
|
+
"defaultValue": "'#e5e7eb'"
|
|
888
|
+
},
|
|
889
|
+
"size": {
|
|
890
|
+
"type": "string",
|
|
891
|
+
"mutable": false,
|
|
892
|
+
"complexType": {
|
|
893
|
+
"original": "BasicSize",
|
|
894
|
+
"resolved": "\"default\" | \"large\" | \"lg\" | \"md\" | \"medium\" | \"sm\" | \"small\"",
|
|
895
|
+
"references": {
|
|
896
|
+
"BasicSize": {
|
|
897
|
+
"location": "import",
|
|
898
|
+
"path": "../../types/common.type",
|
|
899
|
+
"id": "src/types/common.type.d.ts::BasicSize",
|
|
900
|
+
"referenceLocation": "BasicSize"
|
|
901
|
+
}
|
|
902
|
+
}
|
|
903
|
+
},
|
|
904
|
+
"required": false,
|
|
905
|
+
"optional": false,
|
|
906
|
+
"docs": {
|
|
907
|
+
"tags": [],
|
|
908
|
+
"text": "Size variant"
|
|
909
|
+
},
|
|
910
|
+
"getter": false,
|
|
911
|
+
"setter": false,
|
|
912
|
+
"reflect": false,
|
|
913
|
+
"attribute": "size",
|
|
914
|
+
"defaultValue": "'md'"
|
|
915
|
+
},
|
|
916
|
+
"startIcon": {
|
|
917
|
+
"type": "string",
|
|
918
|
+
"mutable": false,
|
|
919
|
+
"complexType": {
|
|
920
|
+
"original": "string",
|
|
921
|
+
"resolved": "string",
|
|
922
|
+
"references": {}
|
|
923
|
+
},
|
|
924
|
+
"required": false,
|
|
925
|
+
"optional": false,
|
|
926
|
+
"docs": {
|
|
927
|
+
"tags": [],
|
|
928
|
+
"text": "Start icon/text"
|
|
929
|
+
},
|
|
930
|
+
"getter": false,
|
|
931
|
+
"setter": false,
|
|
932
|
+
"reflect": false,
|
|
933
|
+
"attribute": "start-icon",
|
|
934
|
+
"defaultValue": "''"
|
|
935
|
+
},
|
|
936
|
+
"endIcon": {
|
|
937
|
+
"type": "string",
|
|
938
|
+
"mutable": false,
|
|
939
|
+
"complexType": {
|
|
940
|
+
"original": "string",
|
|
941
|
+
"resolved": "string",
|
|
942
|
+
"references": {}
|
|
943
|
+
},
|
|
944
|
+
"required": false,
|
|
945
|
+
"optional": false,
|
|
946
|
+
"docs": {
|
|
947
|
+
"tags": [],
|
|
948
|
+
"text": "End icon/text"
|
|
949
|
+
},
|
|
950
|
+
"getter": false,
|
|
951
|
+
"setter": false,
|
|
952
|
+
"reflect": false,
|
|
953
|
+
"attribute": "end-icon",
|
|
954
|
+
"defaultValue": "''"
|
|
955
|
+
},
|
|
956
|
+
"displayFormat": {
|
|
957
|
+
"type": "string",
|
|
958
|
+
"mutable": false,
|
|
959
|
+
"complexType": {
|
|
960
|
+
"original": "string",
|
|
961
|
+
"resolved": "string",
|
|
962
|
+
"references": {}
|
|
963
|
+
},
|
|
964
|
+
"required": false,
|
|
965
|
+
"optional": false,
|
|
966
|
+
"docs": {
|
|
967
|
+
"tags": [],
|
|
968
|
+
"text": "Display format function or string"
|
|
969
|
+
},
|
|
970
|
+
"getter": false,
|
|
971
|
+
"setter": false,
|
|
972
|
+
"reflect": false,
|
|
973
|
+
"attribute": "display-format",
|
|
974
|
+
"defaultValue": "''"
|
|
975
|
+
},
|
|
976
|
+
"showMarks": {
|
|
977
|
+
"type": "boolean",
|
|
978
|
+
"mutable": false,
|
|
979
|
+
"complexType": {
|
|
980
|
+
"original": "boolean",
|
|
981
|
+
"resolved": "boolean",
|
|
982
|
+
"references": {}
|
|
983
|
+
},
|
|
984
|
+
"required": false,
|
|
985
|
+
"optional": false,
|
|
986
|
+
"docs": {
|
|
987
|
+
"tags": [],
|
|
988
|
+
"text": "Show marks"
|
|
989
|
+
},
|
|
990
|
+
"getter": false,
|
|
991
|
+
"setter": false,
|
|
992
|
+
"reflect": false,
|
|
993
|
+
"attribute": "show-marks",
|
|
994
|
+
"defaultValue": "false"
|
|
995
|
+
},
|
|
996
|
+
"marks": {
|
|
997
|
+
"type": "string",
|
|
998
|
+
"mutable": false,
|
|
999
|
+
"complexType": {
|
|
1000
|
+
"original": "SliderMark[] | string",
|
|
1001
|
+
"resolved": "SliderMark[] | string",
|
|
1002
|
+
"references": {
|
|
1003
|
+
"SliderMark": {
|
|
1004
|
+
"location": "import",
|
|
1005
|
+
"path": "./types",
|
|
1006
|
+
"id": "src/components/range-slider/types.ts::SliderMark",
|
|
1007
|
+
"referenceLocation": "SliderMark"
|
|
1008
|
+
}
|
|
1009
|
+
}
|
|
1010
|
+
},
|
|
1011
|
+
"required": false,
|
|
1012
|
+
"optional": false,
|
|
1013
|
+
"docs": {
|
|
1014
|
+
"tags": [],
|
|
1015
|
+
"text": "Custom marks"
|
|
1016
|
+
},
|
|
1017
|
+
"getter": false,
|
|
1018
|
+
"setter": false,
|
|
1019
|
+
"reflect": false,
|
|
1020
|
+
"attribute": "marks",
|
|
1021
|
+
"defaultValue": "[]"
|
|
1022
|
+
},
|
|
1023
|
+
"restrictedValues": {
|
|
1024
|
+
"type": "string",
|
|
1025
|
+
"mutable": false,
|
|
1026
|
+
"complexType": {
|
|
1027
|
+
"original": "number[] | string",
|
|
1028
|
+
"resolved": "number[] | string",
|
|
1029
|
+
"references": {}
|
|
1030
|
+
},
|
|
1031
|
+
"required": false,
|
|
1032
|
+
"optional": false,
|
|
1033
|
+
"docs": {
|
|
1034
|
+
"tags": [],
|
|
1035
|
+
"text": "Restricted values (only allow specific values)"
|
|
1036
|
+
},
|
|
1037
|
+
"getter": false,
|
|
1038
|
+
"setter": false,
|
|
1039
|
+
"reflect": false,
|
|
1040
|
+
"attribute": "restricted-values",
|
|
1041
|
+
"defaultValue": "[]"
|
|
1042
|
+
},
|
|
1043
|
+
"vertical": {
|
|
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": "Vertical orientation"
|
|
1056
|
+
},
|
|
1057
|
+
"getter": false,
|
|
1058
|
+
"setter": false,
|
|
1059
|
+
"reflect": false,
|
|
1060
|
+
"attribute": "vertical",
|
|
1061
|
+
"defaultValue": "false"
|
|
1062
|
+
},
|
|
1063
|
+
"label": {
|
|
1064
|
+
"type": "string",
|
|
1065
|
+
"mutable": false,
|
|
1066
|
+
"complexType": {
|
|
1067
|
+
"original": "string",
|
|
1068
|
+
"resolved": "string",
|
|
1069
|
+
"references": {}
|
|
1070
|
+
},
|
|
1071
|
+
"required": false,
|
|
1072
|
+
"optional": false,
|
|
1073
|
+
"docs": {
|
|
1074
|
+
"tags": [],
|
|
1075
|
+
"text": "Label displayed above the slider"
|
|
1076
|
+
},
|
|
1077
|
+
"getter": false,
|
|
1078
|
+
"setter": false,
|
|
1079
|
+
"reflect": false,
|
|
1080
|
+
"attribute": "label",
|
|
1081
|
+
"defaultValue": "''"
|
|
1082
|
+
},
|
|
1083
|
+
"variant": {
|
|
1084
|
+
"type": "string",
|
|
1085
|
+
"mutable": false,
|
|
1086
|
+
"complexType": {
|
|
1087
|
+
"original": "'primary' | 'success' | 'danger' | 'warning' | 'info' | 'purple' | 'glass' | 'detailed' | ''",
|
|
1088
|
+
"resolved": "\"\" | \"danger\" | \"detailed\" | \"glass\" | \"info\" | \"primary\" | \"purple\" | \"success\" | \"warning\"",
|
|
1089
|
+
"references": {}
|
|
1090
|
+
},
|
|
1091
|
+
"required": false,
|
|
1092
|
+
"optional": false,
|
|
1093
|
+
"docs": {
|
|
1094
|
+
"tags": [],
|
|
1095
|
+
"text": "Semantic color variant or aesthetic variant"
|
|
1096
|
+
},
|
|
1097
|
+
"getter": false,
|
|
1098
|
+
"setter": false,
|
|
1099
|
+
"reflect": false,
|
|
1100
|
+
"attribute": "variant",
|
|
1101
|
+
"defaultValue": "''"
|
|
1102
|
+
},
|
|
1103
|
+
"prefixText": {
|
|
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": "Prefix string displayed before the value (e.g. '$')"
|
|
1116
|
+
},
|
|
1117
|
+
"getter": false,
|
|
1118
|
+
"setter": false,
|
|
1119
|
+
"reflect": false,
|
|
1120
|
+
"attribute": "prefix-text",
|
|
1121
|
+
"defaultValue": "''"
|
|
1122
|
+
},
|
|
1123
|
+
"suffixText": {
|
|
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": "Suffix string displayed after the value (e.g. '%', 'px')"
|
|
1136
|
+
},
|
|
1137
|
+
"getter": false,
|
|
1138
|
+
"setter": false,
|
|
1139
|
+
"reflect": false,
|
|
1140
|
+
"attribute": "suffix-text",
|
|
1141
|
+
"defaultValue": "''"
|
|
1142
|
+
},
|
|
1143
|
+
"showMinMax": {
|
|
1144
|
+
"type": "boolean",
|
|
1145
|
+
"mutable": false,
|
|
1146
|
+
"complexType": {
|
|
1147
|
+
"original": "boolean",
|
|
1148
|
+
"resolved": "boolean",
|
|
1149
|
+
"references": {}
|
|
1150
|
+
},
|
|
1151
|
+
"required": false,
|
|
1152
|
+
"optional": false,
|
|
1153
|
+
"docs": {
|
|
1154
|
+
"tags": [],
|
|
1155
|
+
"text": "Show min and max labels at the ends of the track"
|
|
1156
|
+
},
|
|
1157
|
+
"getter": false,
|
|
1158
|
+
"setter": false,
|
|
1159
|
+
"reflect": false,
|
|
1160
|
+
"attribute": "show-min-max",
|
|
1161
|
+
"defaultValue": "false"
|
|
1162
|
+
},
|
|
1163
|
+
"inputSync": {
|
|
1164
|
+
"type": "boolean",
|
|
1165
|
+
"mutable": false,
|
|
1166
|
+
"complexType": {
|
|
1167
|
+
"original": "boolean",
|
|
1168
|
+
"resolved": "boolean",
|
|
1169
|
+
"references": {}
|
|
1170
|
+
},
|
|
1171
|
+
"required": false,
|
|
1172
|
+
"optional": false,
|
|
1173
|
+
"docs": {
|
|
1174
|
+
"tags": [],
|
|
1175
|
+
"text": "Show an editable number input synced to the slider value"
|
|
1176
|
+
},
|
|
1177
|
+
"getter": false,
|
|
1178
|
+
"setter": false,
|
|
1179
|
+
"reflect": false,
|
|
1180
|
+
"attribute": "input-sync",
|
|
1181
|
+
"defaultValue": "false"
|
|
1182
|
+
},
|
|
1183
|
+
"gradientTrack": {
|
|
1184
|
+
"type": "boolean",
|
|
1185
|
+
"mutable": false,
|
|
1186
|
+
"complexType": {
|
|
1187
|
+
"original": "boolean",
|
|
1188
|
+
"resolved": "boolean",
|
|
1189
|
+
"references": {}
|
|
1190
|
+
},
|
|
1191
|
+
"required": false,
|
|
1192
|
+
"optional": false,
|
|
1193
|
+
"docs": {
|
|
1194
|
+
"tags": [],
|
|
1195
|
+
"text": "Use a gradient fill for the range track"
|
|
1196
|
+
},
|
|
1197
|
+
"getter": false,
|
|
1198
|
+
"setter": false,
|
|
1199
|
+
"reflect": false,
|
|
1200
|
+
"attribute": "gradient-track",
|
|
1201
|
+
"defaultValue": "false"
|
|
1202
|
+
},
|
|
1203
|
+
"showValue": {
|
|
1204
|
+
"type": "boolean",
|
|
1205
|
+
"mutable": false,
|
|
1206
|
+
"complexType": {
|
|
1207
|
+
"original": "boolean",
|
|
1208
|
+
"resolved": "boolean",
|
|
1209
|
+
"references": {}
|
|
1210
|
+
},
|
|
1211
|
+
"required": false,
|
|
1212
|
+
"optional": false,
|
|
1213
|
+
"docs": {
|
|
1214
|
+
"tags": [],
|
|
1215
|
+
"text": "Show current value label"
|
|
1216
|
+
},
|
|
1217
|
+
"getter": false,
|
|
1218
|
+
"setter": false,
|
|
1219
|
+
"reflect": false,
|
|
1220
|
+
"attribute": "show-value",
|
|
1221
|
+
"defaultValue": "true"
|
|
1222
|
+
},
|
|
1223
|
+
"customSteps": {
|
|
1224
|
+
"type": "string",
|
|
1225
|
+
"mutable": false,
|
|
1226
|
+
"complexType": {
|
|
1227
|
+
"original": "number[] | string",
|
|
1228
|
+
"resolved": "number[] | string",
|
|
1229
|
+
"references": {}
|
|
1230
|
+
},
|
|
1231
|
+
"required": false,
|
|
1232
|
+
"optional": false,
|
|
1233
|
+
"docs": {
|
|
1234
|
+
"tags": [],
|
|
1235
|
+
"text": "Custom step marks (non-linear scaling)"
|
|
1236
|
+
},
|
|
1237
|
+
"getter": false,
|
|
1238
|
+
"setter": false,
|
|
1239
|
+
"reflect": false,
|
|
1240
|
+
"attribute": "custom-steps",
|
|
1241
|
+
"defaultValue": "[]"
|
|
1242
|
+
},
|
|
1243
|
+
"rtl": {
|
|
1244
|
+
"type": "boolean",
|
|
1245
|
+
"mutable": false,
|
|
1246
|
+
"complexType": {
|
|
1247
|
+
"original": "boolean",
|
|
1248
|
+
"resolved": "boolean",
|
|
1249
|
+
"references": {}
|
|
1250
|
+
},
|
|
1251
|
+
"required": false,
|
|
1252
|
+
"optional": false,
|
|
1253
|
+
"docs": {
|
|
1254
|
+
"tags": [],
|
|
1255
|
+
"text": "RTL support"
|
|
1256
|
+
},
|
|
1257
|
+
"getter": false,
|
|
1258
|
+
"setter": false,
|
|
1259
|
+
"reflect": false,
|
|
1260
|
+
"attribute": "rtl",
|
|
1261
|
+
"defaultValue": "false"
|
|
1262
|
+
},
|
|
1263
|
+
"circle": {
|
|
1264
|
+
"type": "boolean",
|
|
1265
|
+
"mutable": false,
|
|
1266
|
+
"complexType": {
|
|
1267
|
+
"original": "boolean",
|
|
1268
|
+
"resolved": "boolean",
|
|
1269
|
+
"references": {}
|
|
1270
|
+
},
|
|
1271
|
+
"required": false,
|
|
1272
|
+
"optional": false,
|
|
1273
|
+
"docs": {
|
|
1274
|
+
"tags": [],
|
|
1275
|
+
"text": "Circle variant (aesthetic)"
|
|
1276
|
+
},
|
|
1277
|
+
"getter": false,
|
|
1278
|
+
"setter": false,
|
|
1279
|
+
"reflect": false,
|
|
1280
|
+
"attribute": "circle",
|
|
1281
|
+
"defaultValue": "false"
|
|
1282
|
+
},
|
|
1283
|
+
"hideRange": {
|
|
1284
|
+
"type": "boolean",
|
|
1285
|
+
"mutable": false,
|
|
1286
|
+
"complexType": {
|
|
1287
|
+
"original": "boolean",
|
|
1288
|
+
"resolved": "boolean",
|
|
1289
|
+
"references": {}
|
|
1290
|
+
},
|
|
1291
|
+
"required": false,
|
|
1292
|
+
"optional": false,
|
|
1293
|
+
"docs": {
|
|
1294
|
+
"tags": [],
|
|
1295
|
+
"text": "Hide the colored range track portion"
|
|
1296
|
+
},
|
|
1297
|
+
"getter": false,
|
|
1298
|
+
"setter": false,
|
|
1299
|
+
"reflect": false,
|
|
1300
|
+
"attribute": "hide-range",
|
|
1301
|
+
"defaultValue": "false"
|
|
1302
|
+
}
|
|
1303
|
+
};
|
|
1304
|
+
}
|
|
1305
|
+
static get states() {
|
|
1306
|
+
return {
|
|
1307
|
+
"isHovering": {},
|
|
1308
|
+
"isDraggingState": {}
|
|
1309
|
+
};
|
|
1310
|
+
}
|
|
1311
|
+
static get events() {
|
|
1312
|
+
return [{
|
|
1313
|
+
"method": "sliderChange",
|
|
1314
|
+
"name": "sliderChange",
|
|
1315
|
+
"bubbles": true,
|
|
1316
|
+
"cancelable": true,
|
|
1317
|
+
"composed": true,
|
|
1318
|
+
"docs": {
|
|
1319
|
+
"tags": [],
|
|
1320
|
+
"text": "Emitted when value changes"
|
|
1321
|
+
},
|
|
1322
|
+
"complexType": {
|
|
1323
|
+
"original": "number | { start: number; end: number }",
|
|
1324
|
+
"resolved": "number | { start: number; end: number; }",
|
|
1325
|
+
"references": {}
|
|
1326
|
+
}
|
|
1327
|
+
}, {
|
|
1328
|
+
"method": "sliderDragStart",
|
|
1329
|
+
"name": "sliderDragStart",
|
|
1330
|
+
"bubbles": true,
|
|
1331
|
+
"cancelable": true,
|
|
1332
|
+
"composed": true,
|
|
1333
|
+
"docs": {
|
|
1334
|
+
"tags": [],
|
|
1335
|
+
"text": "Emitted on drag start"
|
|
1336
|
+
},
|
|
1337
|
+
"complexType": {
|
|
1338
|
+
"original": "void",
|
|
1339
|
+
"resolved": "void",
|
|
1340
|
+
"references": {}
|
|
1341
|
+
}
|
|
1342
|
+
}, {
|
|
1343
|
+
"method": "sliderDragEnd",
|
|
1344
|
+
"name": "sliderDragEnd",
|
|
1345
|
+
"bubbles": true,
|
|
1346
|
+
"cancelable": true,
|
|
1347
|
+
"composed": true,
|
|
1348
|
+
"docs": {
|
|
1349
|
+
"tags": [],
|
|
1350
|
+
"text": "Emitted on drag end"
|
|
1351
|
+
},
|
|
1352
|
+
"complexType": {
|
|
1353
|
+
"original": "void",
|
|
1354
|
+
"resolved": "void",
|
|
1355
|
+
"references": {}
|
|
1356
|
+
}
|
|
1357
|
+
}];
|
|
1358
|
+
}
|
|
1359
|
+
static get elementRef() { return "el"; }
|
|
1360
|
+
static get watchers() {
|
|
1361
|
+
return [{
|
|
1362
|
+
"propName": "color",
|
|
1363
|
+
"methodName": "handleColorChange"
|
|
1364
|
+
}, {
|
|
1365
|
+
"propName": "marks",
|
|
1366
|
+
"methodName": "handleMarksChange"
|
|
1367
|
+
}];
|
|
1368
|
+
}
|
|
1369
|
+
}
|