atomicuilibrary 0.0.1 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/category-section.cjs.entry.js +2 -2
- package/dist/cjs/dom-BvBb0kmW.js +267 -0
- package/dist/cjs/exploration-project-tailwind.cjs.js +2 -2
- package/dist/cjs/{index-ClkOYpT8.js → index-C32cWsm5.js} +1 -1
- package/dist/cjs/layout-manager.cjs.entry.js +3 -3
- package/dist/cjs/library-card.cjs.entry.js +2 -2
- package/dist/cjs/lm-container_2.cjs.entry.js +2 -2
- package/dist/cjs/lm-panel_3.cjs.entry.js +5 -5
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/my-component.cjs.entry.js +1 -1
- package/dist/cjs/my-step.cjs.entry.js +2 -2
- package/dist/cjs/nav-bar.cjs.entry.js +4 -4
- package/dist/cjs/{security-E1JcwxGc.js → security-CNaNip8F.js} +88 -154
- package/dist/cjs/smart-step.cjs.entry.js +3 -3
- package/dist/cjs/timeline-item.cjs.entry.js +2 -2
- package/dist/cjs/{ui-accordion_10.cjs.entry.js → ui-accordion_11.cjs.entry.js} +730 -61
- package/dist/cjs/ui-advanced-data-table.cjs.entry.js +2 -2
- package/dist/cjs/ui-anchor.cjs.entry.js +2 -2
- package/dist/cjs/ui-animate-on-scroll.cjs.entry.js +3 -3
- package/dist/cjs/ui-aside-panel.cjs.entry.js +11 -12
- package/dist/cjs/ui-avatar-group_5.cjs.entry.js +1694 -0
- package/dist/cjs/ui-breadcrumb-item.cjs.entry.js +3 -3
- package/dist/cjs/ui-breadcrumb.cjs.entry.js +1 -1
- package/dist/cjs/ui-callout-banner.cjs.entry.js +3 -3
- package/dist/cjs/ui-card.cjs.entry.js +28 -5
- package/dist/cjs/ui-carousel.cjs.entry.js +1 -1
- package/dist/cjs/ui-checkbox.cjs.entry.js +5 -5
- package/dist/cjs/ui-code-editor.cjs.entry.js +3 -3
- package/dist/cjs/ui-code-preview.cjs.entry.js +2 -2
- package/dist/cjs/ui-color-picker.cjs.entry.js +256 -22
- package/dist/cjs/ui-command-palette.cjs.entry.js +1 -1
- package/dist/cjs/ui-dialog-box.cjs.entry.js +86 -12
- package/dist/cjs/ui-dialog-content.cjs.entry.js +1 -1
- package/dist/cjs/ui-dialog-footer_2.cjs.entry.js +1 -1
- package/dist/cjs/ui-divider.cjs.entry.js +1 -1
- package/dist/cjs/ui-dock-host.cjs.entry.js +4 -4
- package/dist/cjs/ui-dock.cjs.entry.js +2 -2
- package/dist/cjs/ui-drag-drop.cjs.entry.js +2 -2
- package/dist/cjs/ui-dropdown_2.cjs.entry.js +104 -34
- package/dist/cjs/ui-empty-state.cjs.entry.js +2 -2
- package/dist/cjs/ui-fab-item.cjs.entry.js +2 -2
- package/dist/cjs/ui-fab.cjs.entry.js +4 -4
- package/dist/cjs/ui-file-upload.cjs.entry.js +143 -44
- package/dist/cjs/ui-horizontal-nav.cjs.entry.js +2 -2
- package/dist/cjs/ui-knob.cjs.entry.js +1 -1
- package/dist/cjs/ui-label.cjs.entry.js +473 -0
- package/dist/cjs/ui-library.cjs.entry.js +2 -2
- package/dist/cjs/ui-list-group_2.cjs.entry.js +351 -58
- package/dist/cjs/ui-list.cjs.entry.js +76 -42
- package/dist/cjs/ui-masonry.cjs.entry.js +1 -1
- package/dist/cjs/ui-meter-group.cjs.entry.js +5 -4
- package/dist/cjs/ui-navigation-item.cjs.entry.js +5 -5
- package/dist/cjs/ui-number-input.cjs.entry.js +7 -3
- package/dist/cjs/ui-otp-input.cjs.entry.js +5 -5
- package/dist/cjs/ui-pagination_3.cjs.entry.js +235 -504
- package/dist/cjs/ui-panel.cjs.entry.js +1 -1
- package/dist/cjs/ui-pattern-input.cjs.entry.js +46 -11
- package/dist/cjs/ui-progress.cjs.entry.js +164 -23
- package/dist/cjs/ui-range-slider.cjs.entry.js +2 -2
- package/dist/cjs/ui-resizable-panel.cjs.entry.js +2 -2
- package/dist/cjs/ui-scroll-top.cjs.entry.js +1 -1
- package/dist/cjs/ui-smart-context-menu.cjs.entry.js +1 -1
- package/dist/cjs/ui-smart-stepper.cjs.entry.js +2 -2
- package/dist/cjs/ui-snackbar.cjs.entry.js +2 -2
- package/dist/cjs/ui-speed-dial.cjs.entry.js +1 -1
- package/dist/cjs/ui-speedometer.cjs.entry.js +28 -17
- package/dist/cjs/ui-splitter.cjs.entry.js +1 -1
- package/dist/cjs/ui-step.cjs.entry.js +2 -2
- package/dist/cjs/ui-stepper.cjs.entry.js +2 -2
- package/dist/cjs/ui-switch.cjs.entry.js +14 -13
- package/dist/cjs/ui-tabs.cjs.entry.js +3 -3
- package/dist/cjs/ui-tag.cjs.entry.js +58 -13
- package/dist/cjs/ui-timeline.cjs.entry.js +11 -3
- package/dist/cjs/ui-timer.cjs.entry.js +2 -2
- package/dist/cjs/ui-toolbar.cjs.entry.js +2 -2
- package/dist/cjs/ui-tooltip.cjs.entry.js +5 -5
- package/dist/cjs/ui-top-bar.cjs.entry.js +1 -1
- package/dist/cjs/ui-transfer-list.cjs.entry.js +7 -7
- package/dist/cjs/ui-tree.cjs.entry.js +30 -15
- package/dist/cjs/ui-workspace-manager.cjs.entry.js +3 -3
- package/dist/collection/assets/js/component-config.js +1 -0
- package/dist/collection/assets/js/demo-loader.js +2 -1
- package/dist/collection/assets/js/demos/about-demo.js +13 -13
- package/dist/collection/assets/js/demos/accordion-demo.js +238 -49
- package/dist/collection/assets/js/demos/advanced-data-table-demo.js +315 -316
- package/dist/collection/assets/js/demos/anchor-demo.js +27 -28
- package/dist/collection/assets/js/demos/animate-on-scroll-demo.js +12 -12
- package/dist/collection/assets/js/demos/aside-panel-demo.js +57 -57
- package/dist/collection/assets/js/demos/avatar-demo.js +433 -95
- package/dist/collection/assets/js/demos/badge-demo.js +51 -52
- package/dist/collection/assets/js/demos/breadcrumb-demo.js +7 -7
- package/dist/collection/assets/js/demos/button-demo.js +175 -106
- package/dist/collection/assets/js/demos/button-toggle-demo.js +199 -96
- package/dist/collection/assets/js/demos/callout-banner-demo.js +332 -42
- package/dist/collection/assets/js/demos/card-demo.js +122 -74
- package/dist/collection/assets/js/demos/carousel-demo.js +632 -360
- package/dist/collection/assets/js/demos/checkbox-demo.js +124 -7
- package/dist/collection/assets/js/demos/color-picker-demo.js +394 -100
- package/dist/collection/assets/js/demos/command-palette-demo.js +182 -65
- package/dist/collection/assets/js/demos/complex-form-demo.js +5 -5
- package/dist/collection/assets/js/demos/context-menu-demo.js +476 -55
- package/dist/collection/assets/js/demos/dialog-demo-temp.js +3 -3
- package/dist/collection/assets/js/demos/dialog-demo.js +336 -230
- package/dist/collection/assets/js/demos/divider-demo.js +59 -62
- package/dist/collection/assets/js/demos/dock-demo.js +92 -72
- package/dist/collection/assets/js/demos/dock-host-init.js +31 -31
- package/dist/collection/assets/js/demos/documentation-demo.js +227 -22
- package/dist/collection/assets/js/demos/drag-drop-demo.js +2 -2
- package/dist/collection/assets/js/demos/dropdown-demo.js +140 -136
- package/dist/collection/assets/js/demos/dropdown-subtitle-demo.js +2 -2
- package/dist/collection/assets/js/demos/empty-state-demo.js +304 -88
- package/dist/collection/assets/js/demos/fab-demo.js +95 -11
- package/dist/collection/assets/js/demos/file-upload-demo.js +641 -171
- package/dist/collection/assets/js/demos/home-components.js +2 -2
- package/dist/collection/assets/js/demos/horizontal-nav-demo.js +6 -6
- package/dist/collection/assets/js/demos/icon-demo.js +17 -17
- package/dist/collection/assets/js/demos/input-demo.js +147 -143
- package/dist/collection/assets/js/demos/knob-demo.js +29 -30
- package/dist/collection/assets/js/demos/label-demo.js +697 -0
- package/dist/collection/assets/js/demos/layout-manager-demo.js +55 -55
- package/dist/collection/assets/js/demos/list-demo.js +226 -140
- package/dist/collection/assets/js/demos/loader-demo.js +48 -48
- package/dist/collection/assets/js/demos/masonry-demo.js +592 -0
- package/dist/collection/assets/js/demos/meter-group-demo.js +14 -16
- package/dist/collection/assets/js/demos/multi-level-context-menu-demo.js +25 -25
- package/dist/collection/assets/js/demos/my-profile-demo.js +27 -27
- package/dist/collection/assets/js/demos/nav-bar-demo.js +1 -1
- package/dist/collection/assets/js/demos/number-input-demo.js +262 -211
- package/dist/collection/assets/js/demos/pagination-demo.js +29 -29
- package/dist/collection/assets/js/demos/panel-demo.js +18 -25
- package/dist/collection/assets/js/demos/pattern-input-demo.js +278 -40
- package/dist/collection/assets/js/demos/popover-demo.js +240 -149
- package/dist/collection/assets/js/demos/progress-demo.js +768 -61
- package/dist/collection/assets/js/demos/radio-demo.js +73 -12
- package/dist/collection/assets/js/demos/range-slider-demo.js +33 -33
- package/dist/collection/assets/js/demos/rating-demo.js +19 -19
- package/dist/collection/assets/js/demos/scroll-top-demo.js +8 -9
- package/dist/collection/assets/js/demos/skeleton-demo.js +110 -52
- package/dist/collection/assets/js/demos/skeleton-performance-demo.js +2 -2
- package/dist/collection/assets/js/demos/smart-dialog-demo.js +12 -12
- package/dist/collection/assets/js/demos/smart-menu-demo.js +17 -17
- package/dist/collection/assets/js/demos/snackbar-demo.js +53 -53
- package/dist/collection/assets/js/demos/speed-dial-demo.js +14 -14
- package/dist/collection/assets/js/demos/speedometer-demo.js +40 -32
- package/dist/collection/assets/js/demos/split-button-demo.js +2 -2
- package/dist/collection/assets/js/demos/splitter-demo.js +137 -0
- package/dist/collection/assets/js/demos/stack-demo.js +27 -27
- package/dist/collection/assets/js/demos/stepper-demo.js +49 -49
- package/dist/collection/assets/js/demos/switch-demo.js +561 -125
- package/dist/collection/assets/js/demos/tabs-demo.js +22 -22
- package/dist/collection/assets/js/demos/tag-demo.js +110 -80
- package/dist/collection/assets/js/demos/theme-selector-demo.js +27 -27
- package/dist/collection/assets/js/demos/timeline-demo.js +27 -14
- package/dist/collection/assets/js/demos/timeline-playground.js +2 -2
- package/dist/collection/assets/js/demos/timer-demo.js +10 -10
- package/dist/collection/assets/js/demos/toolbar-demo.js +17 -17
- package/dist/collection/assets/js/demos/tooltip-demo.js +116 -114
- package/dist/collection/assets/js/demos/top-bar-demo.js +6 -6
- package/dist/collection/assets/js/demos/transfer-list-demo.js +20 -20
- package/dist/collection/assets/js/demos/tree-demo.js +72 -70
- package/dist/collection/assets/js/demos/workspace-manager-demo.js +20 -20
- package/dist/collection/collection-manifest.json +2 -6
- package/dist/collection/components/accordion/accordion.css +576 -9
- package/dist/collection/components/accordion/accordion.js +47 -14
- package/dist/collection/components/advanced-data-table/advanced-data-table.css +24 -10
- package/dist/collection/components/advanced-data-table/advanced-data-table.js +2 -2
- package/dist/collection/components/anchor/anchor.css +0 -1
- package/dist/collection/components/animate-on-scroll/animate-on-scroll.js +2 -2
- package/dist/collection/components/aside-panel/aside-panel.css +3 -5
- package/dist/collection/components/aside-panel/aside-panel.js +12 -13
- package/dist/collection/components/avatar/avatar.css +6 -6
- package/dist/collection/components/avatar/avatar.js +64 -12
- package/dist/collection/components/badge/badge.css +28 -17
- package/dist/collection/components/badge/badge.js +7 -4
- package/dist/collection/components/breadcrumb/breadcrumb-item.js +2 -2
- package/dist/collection/components/breadcrumb/breadcrumb.js +1 -1
- package/dist/collection/components/button/button.css +132 -0
- package/dist/collection/components/button/button.js +130 -11
- package/dist/collection/components/button-toggle/button-toggle.js +2 -2
- package/dist/collection/components/button-toggle-group/button-toggle-group.css +161 -14
- package/dist/collection/components/button-toggle-group/button-toggle-group.js +2 -2
- package/dist/collection/components/callout-banner/callout-banner.css +75 -0
- package/dist/collection/components/callout-banner/callout-banner.js +1 -1
- package/dist/collection/components/card/card.css +304 -40
- package/dist/collection/components/card/card.js +48 -4
- package/dist/collection/components/checkbox/checkbox.css +8 -10
- package/dist/collection/components/checkbox/checkbox.js +5 -5
- package/dist/collection/components/code-editor/code-editor.js +1 -1
- package/dist/collection/components/code-preview/ui-code-preview.js +1 -1
- package/dist/collection/components/color-picker/color-picker.css +110 -6
- package/dist/collection/components/color-picker/color-picker.js +302 -26
- package/dist/collection/components/context-menu/context-menu.css +8 -8
- package/dist/collection/components/dialog-box/dialog-box.js +117 -15
- package/dist/collection/components/dialog-header/dialog-header.js +2 -2
- package/dist/collection/components/dock/dock.css +116 -3
- package/dist/collection/components/dock-host/ui-dock-host.js +3 -3
- package/dist/collection/components/drag-drop/drag-drop.js +1 -1
- package/dist/collection/components/dropdown/dropdown.css +101 -8
- package/dist/collection/components/dropdown/dropdown.js +94 -28
- package/dist/collection/components/empty-state/empty-state.js +1 -1
- package/dist/collection/components/fab/fab.css +87 -15
- package/dist/collection/components/fab/fab.js +3 -3
- package/dist/collection/components/fab-item/fab-item.js +1 -1
- package/dist/collection/components/file-upload/file-upload.css +1362 -31
- package/dist/collection/components/file-upload/file-upload.js +171 -50
- package/dist/collection/components/horizontal-nav/horizontal-nav.css +9 -9
- package/dist/collection/components/horizontal-nav/horizontal-nav.js +2 -2
- package/dist/collection/components/icon/icon.js +1 -1
- package/dist/collection/components/input/input.css +9 -0
- package/dist/collection/components/input/input.js +21 -10
- package/dist/collection/components/label/label.css +583 -0
- package/dist/collection/components/label/label.js +1669 -0
- package/dist/collection/components/layout-manager/layout-manager.js +1 -1
- package/dist/collection/components/layout-manager/lm-floating-window/lm-floating-window.js +1 -1
- package/dist/collection/components/layout-manager/lm-panel/lm-panel.js +1 -1
- package/dist/collection/components/layout-manager/lm-splitter/lm-splitter.js +1 -1
- package/dist/collection/components/layout-manager/lm-tabs/lm-tabs.js +1 -1
- package/dist/collection/components/library/category-section.js +1 -1
- package/dist/collection/components/library/library-card.js +1 -1
- package/dist/collection/components/library/library.js +1 -1
- package/dist/collection/components/list/list.css +46 -5
- package/dist/collection/components/list/list.js +76 -42
- package/dist/collection/components/list-group/list-group.css +0 -2
- package/dist/collection/components/list-group/list-group.js +11 -5
- package/dist/collection/components/list-item/list-item.css +427 -131
- package/dist/collection/components/list-item/list-item.js +373 -58
- package/dist/collection/components/loader/loader.css +1635 -0
- package/dist/collection/components/loader/loader.js +1120 -0
- package/dist/collection/components/meter-group/meter-group.css +5 -0
- package/dist/collection/components/meter-group/meter-group.js +3 -2
- package/dist/collection/components/my-step/my-step.js +1 -1
- package/dist/collection/components/nav-bar/nav-bar.css +4 -4
- package/dist/collection/components/nav-bar/nav-bar.js +6 -6
- package/dist/collection/components/number-input/number-input.js +6 -2
- package/dist/collection/components/otp-input/otp-input.css +10 -0
- package/dist/collection/components/otp-input/otp-input.js +3 -3
- package/dist/collection/components/pagination/pagination.js +1 -1
- package/dist/collection/components/pattern-input/pattern-input.css +0 -1
- package/dist/collection/components/pattern-input/pattern-input.js +44 -9
- package/dist/collection/components/popover/popover.css +35 -7
- package/dist/collection/components/popover/popover.js +64 -9
- package/dist/collection/components/progress/progress.css +307 -28
- package/dist/collection/components/progress/progress.js +244 -24
- package/dist/collection/components/radio/radio.css +5 -3
- package/dist/collection/components/radio/radio.js +2 -2
- package/dist/collection/components/range-slider/range-slider.css +284 -31
- package/dist/collection/components/range-slider/range-slider.js +5 -5
- package/dist/collection/components/rating/rating.css +151 -65
- package/dist/collection/components/rating/rating.js +31 -13
- package/dist/collection/components/resizable-panel/resizable-panel.js +1 -1
- package/dist/collection/components/skeleton/skeleton-loader.css +144 -44
- package/dist/collection/components/skeleton/skeleton-loader.js +11 -7
- package/dist/collection/components/smart-stepper/smart-step.js +2 -2
- package/dist/collection/components/smart-stepper/smart-stepper.js +1 -1
- package/dist/collection/components/snackbar/snackbar.js +1 -1
- package/dist/collection/components/speed-dial/speed-dial.js +1 -1
- package/dist/collection/components/speedometer/speedometer.css +26 -6
- package/dist/collection/components/speedometer/speedometer.js +26 -15
- package/dist/collection/components/stack/stack.js +2 -2
- package/dist/collection/components/step/step.js +1 -1
- package/dist/collection/components/stepper/stepper.js +1 -1
- package/dist/collection/components/switch/switch.css +367 -8
- package/dist/collection/components/switch/switch.js +14 -13
- package/dist/collection/components/tag/tag.css +38 -12
- package/dist/collection/components/tag/tag.js +58 -13
- package/dist/collection/components/tag-group/tag-group.css +0 -1
- package/dist/collection/components/tag-group/tag-group.js +3 -3
- package/dist/collection/components/timeline/timeline.css +380 -317
- package/dist/collection/components/timeline/timeline.js +8 -0
- package/dist/collection/components/timeline-item/timeline-item.js +1 -1
- package/dist/collection/components/timer/timer.js +1 -1
- package/dist/collection/components/toggle-group/toggle-group.css +7 -3
- package/dist/collection/components/toggle-group/toggle-group.js +7 -3
- package/dist/collection/components/toolbar/toolbar.js +1 -1
- package/dist/collection/components/tooltip/tooltip.js +4 -4
- package/dist/collection/components/top-bar/top-bar.js +2 -2
- package/dist/collection/components/transfer-list/transfer-list.css +13 -13
- package/dist/collection/components/transfer-list/transfer-list.js +4 -4
- package/dist/collection/components/tree/tree.css +35 -21
- package/dist/collection/components/tree/tree.js +28 -13
- package/dist/collection/components/ui-navigation-bar/navigation-bar/navigation-bar.css +53 -20
- package/dist/collection/components/ui-navigation-bar/navigation-bar/navigation-bar.js +48 -13
- package/dist/collection/components/ui-navigation-bar/navigation-item.css +7 -7
- package/dist/collection/components/ui-navigation-bar/navigation-item.js +3 -3
- package/dist/collection/components.js +1 -0
- package/dist/collection/utils/dom.js +151 -151
- package/dist/components/avatar-group.js +1 -1
- package/dist/components/avatar.js +1 -1
- package/dist/components/badge.js +1 -1
- package/dist/components/button-toggle.js +1 -1
- package/dist/components/button.js +1 -0
- package/dist/components/category-section2.js +1 -1
- package/dist/components/checkbox.js +1 -1
- package/dist/components/context-menu.js +1 -1
- package/dist/components/dialog-header.js +1 -1
- package/dist/components/dom.js +1 -1
- package/dist/components/dropdown.js +1 -1
- package/dist/components/icon.js +2 -2
- package/dist/components/input.js +1 -1
- package/dist/components/layout-manager.js +1 -1
- package/dist/components/library-card2.js +1 -1
- package/dist/components/list-group.js +1 -1
- package/dist/components/list-item.js +1 -1
- package/dist/components/lm-container2.js +1 -1
- package/dist/components/lm-floating-window2.js +1 -1
- package/dist/components/lm-panel2.js +1 -1
- package/dist/components/lm-splitter2.js +1 -1
- package/dist/components/lm-tabs2.js +1 -1
- package/dist/components/loader.js +1 -0
- package/dist/components/my-step.js +1 -1
- package/dist/components/nav-bar.js +1 -1
- package/dist/components/pagination.js +1 -1
- package/dist/components/popover.js +1 -0
- package/dist/components/radio.js +1 -1
- package/dist/components/range-slider.js +1 -1
- package/dist/components/rating.js +1 -1
- package/dist/components/resizable-panel.js +1 -1
- package/dist/components/skeleton-loader.js +1 -1
- package/dist/components/smart-step.js +1 -1
- package/dist/components/stack.js +1 -1
- package/dist/components/switch.js +1 -1
- package/dist/components/tag-group.js +1 -1
- package/dist/components/tag.js +1 -1
- package/dist/components/timeline-item.js +1 -1
- package/dist/components/toggle-group.js +1 -1
- package/dist/components/tooltip.js +1 -1
- package/dist/components/ui-accordion.js +1 -1
- package/dist/components/ui-advanced-data-table.js +1 -1
- package/dist/components/ui-anchor.js +1 -1
- package/dist/components/ui-animate-on-scroll.js +1 -1
- package/dist/components/ui-aside-panel.js +1 -1
- package/dist/components/ui-badge.js +1 -1
- package/dist/components/ui-breadcrumb-item.js +1 -1
- package/dist/components/ui-breadcrumb.js +1 -1
- package/dist/components/ui-button-toggle-group.js +1 -1
- package/dist/components/ui-button.js +1 -1
- package/dist/components/ui-callout-banner.js +1 -1
- package/dist/components/ui-card.js +1 -1
- package/dist/components/ui-carousel.js +1 -1
- package/dist/components/ui-code-editor.js +1 -1
- package/dist/components/ui-code-preview.js +1 -1
- package/dist/components/ui-color-picker.js +1 -1
- package/dist/components/ui-command-palette.js +1 -1
- package/dist/components/ui-dialog-box.js +1 -1
- package/dist/components/ui-divider.js +1 -1
- package/dist/components/ui-dock-host.js +1 -1
- package/dist/components/ui-dock.js +1 -1
- package/dist/components/ui-drag-drop.js +1 -1
- package/dist/components/ui-empty-state.js +1 -1
- package/dist/components/ui-fab-item.js +1 -1
- package/dist/components/ui-fab.js +1 -1
- package/dist/components/ui-file-upload.js +1 -1
- package/dist/components/ui-horizontal-nav.js +1 -1
- package/dist/components/ui-knob.js +1 -1
- package/dist/components/{ui-input-pair.d.ts → ui-label.d.ts} +4 -4
- package/dist/components/ui-label.js +1 -0
- package/dist/components/ui-library.js +1 -1
- package/dist/components/ui-list.js +1 -1
- package/dist/components/{ui-radio-group.d.ts → ui-loader.d.ts} +4 -4
- package/dist/components/ui-loader.js +1 -0
- package/dist/components/ui-masonry.js +1 -1
- package/dist/components/ui-meter-group.js +1 -1
- package/dist/components/ui-navigation-bar.js +1 -1
- package/dist/components/ui-navigation-item.js +1 -1
- package/dist/components/ui-number-input.js +1 -1
- package/dist/components/ui-otp-input.js +1 -1
- package/dist/components/ui-panel.js +1 -1
- package/dist/components/ui-pattern-input.js +1 -1
- package/dist/components/ui-popover.js +1 -1
- package/dist/components/ui-progress.js +1 -1
- package/dist/components/ui-scroll-top.js +1 -1
- package/dist/components/ui-smart-context-menu.js +1 -1
- package/dist/components/ui-smart-stepper.js +1 -1
- package/dist/components/ui-snackbar.js +1 -1
- package/dist/components/ui-speed-dial.js +1 -1
- package/dist/components/ui-speedometer.js +1 -1
- package/dist/components/ui-splitter.js +1 -1
- package/dist/components/ui-step.js +1 -1
- package/dist/components/ui-stepper.js +1 -1
- package/dist/components/ui-tabs.js +1 -1
- package/dist/components/ui-timeline.js +1 -1
- package/dist/components/ui-timer.js +1 -1
- package/dist/components/ui-toolbar.js +1 -1
- package/dist/components/ui-top-bar.js +1 -1
- package/dist/components/ui-transfer-list.js +1 -1
- package/dist/components/ui-tree.js +1 -1
- package/dist/components/ui-workspace-manager.js +1 -1
- package/dist/esm/category-section.entry.js +2 -2
- package/dist/esm/dom-DFBTWhGw.js +262 -0
- package/dist/esm/exploration-project-tailwind.js +3 -3
- package/dist/esm/{index-DUsoYu9r.js → index-Dqu2zaH1.js} +1 -1
- package/dist/esm/layout-manager.entry.js +3 -3
- package/dist/esm/library-card.entry.js +2 -2
- package/dist/esm/lm-container_2.entry.js +2 -2
- package/dist/esm/lm-panel_3.entry.js +5 -5
- package/dist/esm/loader.js +3 -3
- package/dist/esm/my-component.entry.js +1 -1
- package/dist/esm/my-step.entry.js +2 -2
- package/dist/esm/nav-bar.entry.js +4 -4
- package/dist/esm/{security-D2WzX6vR.js → security-Dyu3Nplq.js} +88 -154
- package/dist/esm/smart-step.entry.js +3 -3
- package/dist/esm/timeline-item.entry.js +2 -2
- package/dist/esm/{ui-accordion_10.entry.js → ui-accordion_11.entry.js} +730 -62
- package/dist/esm/ui-advanced-data-table.entry.js +2 -2
- package/dist/esm/ui-anchor.entry.js +2 -2
- package/dist/esm/ui-animate-on-scroll.entry.js +3 -3
- package/dist/esm/ui-aside-panel.entry.js +11 -12
- package/dist/esm/ui-avatar-group_5.entry.js +1688 -0
- package/dist/esm/ui-breadcrumb-item.entry.js +3 -3
- package/dist/esm/ui-breadcrumb.entry.js +1 -1
- package/dist/esm/ui-callout-banner.entry.js +3 -3
- package/dist/esm/ui-card.entry.js +28 -5
- package/dist/esm/ui-carousel.entry.js +1 -1
- package/dist/esm/ui-checkbox.entry.js +5 -5
- package/dist/esm/ui-code-editor.entry.js +3 -3
- package/dist/esm/ui-code-preview.entry.js +2 -2
- package/dist/esm/ui-color-picker.entry.js +256 -22
- package/dist/esm/ui-command-palette.entry.js +1 -1
- package/dist/esm/ui-dialog-box.entry.js +86 -12
- package/dist/esm/ui-dialog-content.entry.js +1 -1
- package/dist/esm/ui-dialog-footer_2.entry.js +1 -1
- package/dist/esm/ui-divider.entry.js +1 -1
- package/dist/esm/ui-dock-host.entry.js +4 -4
- package/dist/esm/ui-dock.entry.js +2 -2
- package/dist/esm/ui-drag-drop.entry.js +2 -2
- package/dist/esm/ui-dropdown_2.entry.js +104 -34
- package/dist/esm/ui-empty-state.entry.js +2 -2
- package/dist/esm/ui-fab-item.entry.js +2 -2
- package/dist/esm/ui-fab.entry.js +4 -4
- package/dist/esm/ui-file-upload.entry.js +143 -44
- package/dist/esm/ui-horizontal-nav.entry.js +2 -2
- package/dist/esm/ui-knob.entry.js +1 -1
- package/dist/esm/ui-label.entry.js +471 -0
- package/dist/esm/ui-library.entry.js +2 -2
- package/dist/esm/ui-list-group_2.entry.js +351 -58
- package/dist/esm/ui-list.entry.js +76 -42
- package/dist/esm/ui-masonry.entry.js +1 -1
- package/dist/esm/ui-meter-group.entry.js +5 -4
- package/dist/esm/ui-navigation-item.entry.js +5 -5
- package/dist/esm/ui-number-input.entry.js +7 -3
- package/dist/esm/ui-otp-input.entry.js +5 -5
- package/dist/esm/ui-pagination_3.entry.js +235 -504
- package/dist/esm/ui-panel.entry.js +1 -1
- package/dist/esm/ui-pattern-input.entry.js +46 -11
- package/dist/esm/ui-progress.entry.js +164 -23
- package/dist/esm/ui-range-slider.entry.js +2 -2
- package/dist/esm/ui-resizable-panel.entry.js +2 -2
- package/dist/esm/ui-scroll-top.entry.js +1 -1
- package/dist/esm/ui-smart-context-menu.entry.js +1 -1
- package/dist/esm/ui-smart-stepper.entry.js +2 -2
- package/dist/esm/ui-snackbar.entry.js +2 -2
- package/dist/esm/ui-speed-dial.entry.js +1 -1
- package/dist/esm/ui-speedometer.entry.js +28 -17
- package/dist/esm/ui-splitter.entry.js +1 -1
- package/dist/esm/ui-step.entry.js +2 -2
- package/dist/esm/ui-stepper.entry.js +2 -2
- package/dist/esm/ui-switch.entry.js +14 -13
- package/dist/esm/ui-tabs.entry.js +3 -3
- package/dist/esm/ui-tag.entry.js +58 -13
- package/dist/esm/ui-timeline.entry.js +11 -3
- package/dist/esm/ui-timer.entry.js +2 -2
- package/dist/esm/ui-toolbar.entry.js +2 -2
- package/dist/esm/ui-tooltip.entry.js +5 -5
- package/dist/esm/ui-top-bar.entry.js +1 -1
- package/dist/esm/ui-transfer-list.entry.js +7 -7
- package/dist/esm/ui-tree.entry.js +30 -15
- package/dist/esm/ui-workspace-manager.entry.js +3 -3
- package/dist/exploration-project-tailwind/exploration-project-tailwind.css +1 -1
- package/dist/exploration-project-tailwind/exploration-project-tailwind.esm.js +1 -1
- package/dist/exploration-project-tailwind/{p-f5719913.entry.js → p-024a299a.entry.js} +1 -1
- package/dist/exploration-project-tailwind/p-0a71896a.entry.js +1 -0
- package/dist/exploration-project-tailwind/{p-35296877.entry.js → p-0cdeb8d8.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-a42fdc33.entry.js → p-139cefbc.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-c7e87fbb.entry.js → p-198c83e5.entry.js} +1 -1
- package/dist/exploration-project-tailwind/p-236f47b1.entry.js +1 -0
- package/dist/exploration-project-tailwind/{p-81961fb1.entry.js → p-25530d0d.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-41cd6bf0.entry.js → p-298f2057.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-85e36111.entry.js → p-2b5a8e3e.entry.js} +1 -1
- package/dist/exploration-project-tailwind/p-2b6aa7bc.entry.js +1 -0
- package/dist/exploration-project-tailwind/{p-7515b1e3.entry.js → p-2cfba753.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-c90722ec.entry.js → p-2fe22958.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-85bf89fd.entry.js → p-3012e780.entry.js} +1 -1
- package/dist/exploration-project-tailwind/p-321c3f46.entry.js +1 -0
- package/dist/exploration-project-tailwind/{p-3d3d48fd.entry.js → p-3ab43638.entry.js} +1 -1
- package/dist/exploration-project-tailwind/p-3ad7e47e.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-3b1ca826.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-3ee8ddae.entry.js +1 -0
- package/dist/exploration-project-tailwind/{p-4f6bba75.entry.js → p-3efb44c8.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-36861546.entry.js → p-42e3bc28.entry.js} +1 -1
- package/dist/exploration-project-tailwind/p-4360331a.entry.js +1 -0
- package/dist/exploration-project-tailwind/{p-2f961934.entry.js → p-443de32b.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-898dd0fa.entry.js → p-44d15451.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-e5322e59.entry.js → p-46071679.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-a3f465d9.entry.js → p-497d6182.entry.js} +1 -1
- package/dist/exploration-project-tailwind/p-4ad8c55c.entry.js +1 -0
- package/dist/exploration-project-tailwind/{p-73d29a4a.entry.js → p-4c46ac0b.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-f0830120.entry.js → p-5042ddaa.entry.js} +1 -1
- package/dist/exploration-project-tailwind/p-60190e0e.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-60530874.entry.js +1 -0
- package/dist/exploration-project-tailwind/{p-200241f8.entry.js → p-6108565d.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-77124686.entry.js → p-62889cfe.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-9d0c8760.entry.js → p-66f71613.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-2d273118.entry.js → p-67c440b2.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-d419eaf0.entry.js → p-6f09503f.entry.js} +1 -1
- package/dist/exploration-project-tailwind/p-721bdbc3.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-747b02ea.entry.js +1 -0
- package/dist/exploration-project-tailwind/{p-c6fd72e1.entry.js → p-754cb046.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-ffb1754a.entry.js → p-7ed3bba2.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-77cc333a.entry.js → p-864cebb7.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-4d73c143.entry.js → p-96ee3196.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-c5ddc817.entry.js → p-97086868.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-287dbf09.entry.js → p-9c5ced88.entry.js} +1 -1
- package/dist/exploration-project-tailwind/p-9d3044d4.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-9e079be6.entry.js +1 -0
- package/dist/exploration-project-tailwind/{p-0b004861.entry.js → p-9e4c45f5.entry.js} +1 -1
- package/dist/exploration-project-tailwind/p-9eee7394.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-DFBTWhGw.js +1 -0
- package/dist/exploration-project-tailwind/p-Dqu2zaH1.js +2 -0
- package/dist/exploration-project-tailwind/p-Dyu3Nplq.js +2 -0
- package/dist/exploration-project-tailwind/p-a7bdedc2.entry.js +1 -0
- package/dist/exploration-project-tailwind/{p-c87aeab6.entry.js → p-a8ec29de.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-c174a372.entry.js → p-ae617f62.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-62352ef2.entry.js → p-aef76052.entry.js} +1 -1
- package/dist/exploration-project-tailwind/p-b5f043fa.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-b637b91b.entry.js +1 -0
- package/dist/exploration-project-tailwind/{p-8d951aef.entry.js → p-bc49a088.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-4de419d5.entry.js → p-bd9a631f.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-e8ba0c95.entry.js → p-bf4b6767.entry.js} +1 -1
- package/dist/exploration-project-tailwind/p-c0fa400e.entry.js +1 -0
- package/dist/exploration-project-tailwind/{p-5e3e80ae.entry.js → p-c4f3d990.entry.js} +1 -1
- package/dist/exploration-project-tailwind/p-c68ddb2f.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-c79574c4.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-c840098d.entry.js +1 -0
- package/dist/exploration-project-tailwind/{p-a1ad32a2.entry.js → p-c8663cbe.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-7f91d949.entry.js → p-cb6e38a6.entry.js} +1 -1
- package/dist/exploration-project-tailwind/p-cb9f2df1.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-cfe8b696.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-d00e13ae.entry.js +1 -0
- package/dist/exploration-project-tailwind/{p-c4ba7e52.entry.js → p-d01ed934.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-aa85ff78.entry.js → p-d4e57d94.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-ccb5c737.entry.js → p-d5bd3a3f.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-45482d86.entry.js → p-d987cebe.entry.js} +1 -1
- package/dist/exploration-project-tailwind/p-d9ae77c0.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-e9bae5c7.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-f516fabc.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-f68e2794.entry.js +1 -0
- package/dist/exploration-project-tailwind/{p-d30e24bd.entry.js → p-fa034f69.entry.js} +1 -1
- package/dist/types/components/accordion/accordion.d.ts +10 -2
- package/dist/types/components/aside-panel/aside-panel.d.ts +0 -3
- package/dist/types/components/avatar/avatar.d.ts +3 -0
- package/dist/types/components/avatar/types.d.ts +2 -0
- package/dist/types/components/badge/badge.d.ts +1 -0
- package/dist/types/components/button/button.d.ts +9 -0
- package/dist/types/components/card/card.d.ts +4 -0
- package/dist/types/components/color-picker/color-picker.d.ts +35 -2
- package/dist/types/components/dialog-box/dialog-box.d.ts +10 -0
- package/dist/types/components/dropdown/dropdown.d.ts +5 -0
- package/dist/types/components/file-upload/file-upload.d.ts +23 -6
- package/dist/types/components/label/label.d.ts +290 -0
- package/dist/types/components/label/types.d.ts +39 -0
- package/dist/types/components/list/list.d.ts +2 -1
- package/dist/types/components/list-group/list-group.d.ts +1 -0
- package/dist/types/components/list-item/list-item.d.ts +46 -17
- package/dist/types/components/loader/loader.d.ts +145 -0
- package/dist/types/components/pattern-input/pattern-input.d.ts +6 -0
- package/dist/types/components/popover/popover.d.ts +3 -0
- package/dist/types/components/progress/progress.d.ts +41 -2
- package/dist/types/components/range-slider/range-slider.d.ts +2 -2
- package/dist/types/components/rating/rating.d.ts +1 -0
- package/dist/types/components/skeleton/skeleton-loader.d.ts +1 -1
- package/dist/types/components/speedometer/speedometer.d.ts +1 -0
- package/dist/types/components/tag/tag.d.ts +4 -0
- package/dist/types/components/tree/tree.d.ts +1 -0
- package/dist/types/components/ui-navigation-bar/navigation-bar/navigation-bar.d.ts +1 -1
- package/dist/types/components.d.ts +1214 -1381
- package/dist/types/types/common.d.ts +2 -2
- package/dist/types/types/common.type.d.ts +3 -1
- package/dist/types/utils/dom.d.ts +4 -4
- package/package.json +4 -4
- package/dist/cjs/dom-oP1E4Rd3.js +0 -267
- package/dist/cjs/ui-avatar-group_3.cjs.entry.js +0 -634
- package/dist/cjs/ui-checkbox-group.cjs.entry.js +0 -330
- package/dist/cjs/ui-color-controller.cjs.entry.js +0 -150
- package/dist/cjs/ui-image-button.cjs.entry.js +0 -67
- package/dist/cjs/ui-input-pair.cjs.entry.js +0 -44
- package/dist/cjs/ui-popover.cjs.entry.js +0 -517
- package/dist/cjs/ui-radio-group.cjs.entry.js +0 -205
- package/dist/cjs/ui-radio.cjs.entry.js +0 -206
- package/dist/cjs/ui-smart-location-dropdown.cjs.entry.js +0 -565
- package/dist/collection/components/checkbox-group/checkbox-group.css +0 -223
- package/dist/collection/components/checkbox-group/checkbox-group.js +0 -1001
- package/dist/collection/components/color-controller/color-controller.css +0 -108
- package/dist/collection/components/color-controller/color-controller.js +0 -224
- package/dist/collection/components/image-button/image-button.css +0 -154
- package/dist/collection/components/image-button/image-button.js +0 -310
- package/dist/collection/components/image-button/types.js +0 -1
- package/dist/collection/components/input-pair/input-pair.css +0 -72
- package/dist/collection/components/input-pair/input-pair.js +0 -309
- package/dist/collection/components/radio-group/radio-group.css +0 -202
- package/dist/collection/components/radio-group/radio-group.js +0 -903
- package/dist/collection/components/radio-group/types.js +0 -1
- package/dist/collection/components/smart-location-dropdown/smart-location-dropdown.css +0 -357
- package/dist/collection/components/smart-location-dropdown/smart-location-dropdown.js +0 -1190
- package/dist/collection/components/smart-location-dropdown/types.js +0 -1
- package/dist/components/ui-checkbox-group.d.ts +0 -11
- package/dist/components/ui-checkbox-group.js +0 -1
- package/dist/components/ui-color-controller.d.ts +0 -11
- package/dist/components/ui-color-controller.js +0 -1
- package/dist/components/ui-image-button.d.ts +0 -11
- package/dist/components/ui-image-button.js +0 -1
- package/dist/components/ui-input-pair.js +0 -1
- package/dist/components/ui-radio-group.js +0 -1
- package/dist/components/ui-smart-location-dropdown.d.ts +0 -11
- package/dist/components/ui-smart-location-dropdown.js +0 -1
- package/dist/esm/dom-BMFah5q3.js +0 -262
- package/dist/esm/ui-avatar-group_3.entry.js +0 -630
- package/dist/esm/ui-checkbox-group.entry.js +0 -328
- package/dist/esm/ui-color-controller.entry.js +0 -148
- package/dist/esm/ui-image-button.entry.js +0 -65
- package/dist/esm/ui-input-pair.entry.js +0 -42
- package/dist/esm/ui-popover.entry.js +0 -515
- package/dist/esm/ui-radio-group.entry.js +0 -203
- package/dist/esm/ui-radio.entry.js +0 -204
- package/dist/esm/ui-smart-location-dropdown.entry.js +0 -563
- package/dist/exploration-project-tailwind/p-01c7db7a.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-049744f9.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-06f0c679.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-0d31c9e9.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-148e81df.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-2f1aebb3.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-46596a28.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-46efdea3.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-47e2a7ee.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-5508874f.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-5ce0dbd8.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-61717490.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-64e3a484.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-6ab80ead.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-6e9694f2.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-6fa9dc15.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-70d82d79.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-717dad1f.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-7376ac95.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-77a21491.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-807c6555.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-875be805.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-9fa70359.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-9fc06ff0.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-BMFah5q3.js +0 -1
- package/dist/exploration-project-tailwind/p-D2WzX6vR.js +0 -2
- package/dist/exploration-project-tailwind/p-DUsoYu9r.js +0 -2
- package/dist/exploration-project-tailwind/p-a4f52a76.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-ab752761.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-ba21fed3.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-c2ca71ac.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-c69dd43e.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-ce1222a1.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-d16c9635.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-d2308a00.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-debede45.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-e90d5307.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-ea51c5d8.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-ecda1cc3.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-f11e5cae.entry.js +0 -1
- package/dist/types/components/checkbox-group/checkbox-group.d.ts +0 -87
- package/dist/types/components/checkbox-group/types.d.ts +0 -8
- package/dist/types/components/color-controller/color-controller.d.ts +0 -24
- package/dist/types/components/image-button/image-button.d.ts +0 -31
- package/dist/types/components/image-button/types.d.ts +0 -1
- package/dist/types/components/input-pair/input-pair.d.ts +0 -28
- package/dist/types/components/radio-group/radio-group.d.ts +0 -74
- package/dist/types/components/radio-group/types.d.ts +0 -2
- package/dist/types/components/smart-location-dropdown/smart-location-dropdown.d.ts +0 -119
- package/dist/types/components/smart-location-dropdown/types.d.ts +0 -37
- /package/dist/collection/components/{checkbox-group → label}/types.js +0 -0
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,c as e,a as s,h as i}from"./p-DUsoYu9r.js";const a=class{constructor(s){t(this,s),this.valueChange=e(this,"valueChange")}get hostElement(){return s(this)}value=0;secondaryValue;minValue=0;maxValue=100;size=200;label="";unit="";showPercentage=!1;ranges="[]";needleColor="#1f2937";showTicks=!0;tickCount=10;animationDuration=1e3;startAngle=-135;endAngle=135;needleShape="triangle";customLabels="";gradientColors="";interactive=!1;valueChange;parsedLabels={};animatedValue=0;parsedRanges=[];parsedGradients=[];gradientId=`speedometer-grad-${Math.floor(1e6*Math.random())}`;animationFrame;animationStartTime;animationStartValue;isDragging=!1;rect;handleValueChange(t){this.animateToValue(t)}handleRangesChange(t){this.parseRanges(t)}handleLabelsChange(t){this.parseLabels(t)}handleGradientChange(t){this.parseGradients(t)}parseLabels(t){if(t)try{this.parsedLabels=JSON.parse(t)}catch(t){console.error("Invalid customLabels JSON",t)}else this.parsedLabels={}}componentWillLoad(){this.parseRanges(this.ranges),this.parseLabels(this.customLabels),this.parseGradients(this.gradientColors),this.animatedValue=this.value}componentDidLoad(){this.animateToValue(this.value)}disconnectedCallback(){this.animationFrame&&cancelAnimationFrame(this.animationFrame)}parseRanges(t){if(t)try{this.parsedRanges=JSON.parse(t)}catch(t){console.error("Invalid JSON for speedometer ranges:",t),this.parsedRanges=[]}else this.parsedRanges=[]}parseGradients(t){if(t)try{this.parsedGradients=JSON.parse(t)}catch(e){this.parsedGradients=t.split(",").map((t=>t.trim()))}else this.parsedGradients=[]}animateToValue(t){this.animationFrame&&cancelAnimationFrame(this.animationFrame),this.animationStartTime=performance.now(),this.animationStartValue=this.animatedValue;const e=s=>{const i=Math.min((s-this.animationStartTime)/this.animationDuration,1),a=1-Math.pow(1-i,3);this.animatedValue=this.animationStartValue+(t-this.animationStartValue)*a,i<1?this.animationFrame=requestAnimationFrame(e):this.animatedValue=t};this.animationFrame=requestAnimationFrame(e)}async exportImage(t="speedometer",e="png"){const s=this.hostElement.shadowRoot.querySelector("svg");if(s)if("svg"===e){const e=(new XMLSerializer).serializeToString(s),i=new Blob([e],{type:"image/svg+xml;charset=utf-8"}),a=URL.createObjectURL(i);this.downloadFile(a,`${t}.svg`)}else{const e=(new XMLSerializer).serializeToString(s),i=document.createElement("canvas");i.width=this.size,i.height=this.size;const a=i.getContext("2d"),n=new Image;n.onload=()=>{a.drawImage(n,0,0);const e=i.toDataURL("image/png");this.downloadFile(e,`${t}.png`)},n.src="data:image/svg+xml;base64,"+btoa(unescape(encodeURIComponent(e)))}}downloadFile(t,e){const s=document.createElement("a");s.href=t,s.download=e,document.body.appendChild(s),s.click(),document.body.removeChild(s)}handleMouseDown=t=>{this.interactive&&(this.isDragging=!0,this.rect=this.hostElement.shadowRoot.querySelector(".speedometer-container").getBoundingClientRect(),this.updateValueFromEvent(t),window.addEventListener("mousemove",this.handleMouseMove),window.addEventListener("mouseup",this.handleMouseUp))};handleMouseMove=t=>{this.isDragging&&(t.preventDefault(),this.updateValueFromEvent(t))};handleMouseUp=()=>{this.isDragging=!1,window.removeEventListener("mousemove",this.handleMouseMove),window.removeEventListener("mouseup",this.handleMouseUp)};updateValueFromEvent(t){let e=Math.atan2(("touches"in t?t.touches[0].clientY:t.clientY)-(this.rect.top+this.rect.height/2),("touches"in t?t.touches[0].clientX:t.clientX)-(this.rect.left+this.rect.width/2))*(180/Math.PI);e=(e+360)%360;const s=this.endAngle-this.startAngle;let i=((e+90)%360-(this.startAngle+360)%360+360)%360;i>s&&(i=i>s+(360-s)/2?0:s);let a=this.startAngle+i;a=Math.max(this.startAngle,Math.min(this.endAngle,a));const n=Math.round(2*(this.minValue+(a-this.startAngle)/(this.endAngle-this.startAngle)*(this.maxValue-this.minValue)))/2;n!==this.value&&(this.value=n,this.valueChange.emit(this.value))}getColorForValue(t){if(0===this.parsedRanges.length)return"var(--primary-color)";const e=this.parsedRanges.find((e=>t>=e.min&&t<=e.max));return e?e.color:this.parsedRanges[0].color}valueToAngle(t){return this.startAngle+(t-this.minValue)/(this.maxValue-this.minValue)*(this.endAngle-this.startAngle)}polarToCartesian(t,e,s,i){const a=(i-90)*Math.PI/180;return{x:t+s*Math.cos(a),y:e+s*Math.sin(a)}}createArc(t,e,s,i,a){const n=this.polarToCartesian(t,e,s,a),h=this.polarToCartesian(t,e,s,i);return["M",n.x,n.y,"A",s,s,0,a-i<=180?"0":"1",0,h.x,h.y].join(" ")}renderArc(){const t=this.size/2,e=this.size/2-30,s=this.createArc(t,t,e,this.startAngle,this.endAngle),a=this.valueToAngle(this.animatedValue),n=this.createArc(t,t,e,this.startAngle,a);let h=this.getColorForValue(this.animatedValue);return this.parsedGradients.length>1&&(h=`url(#${this.gradientId})`),i("g",null,i("defs",null,this.parsedGradients.length>1&&i("linearGradient",{id:this.gradientId,x1:"0%",y1:"0%",x2:"100%",y2:"0%"},this.parsedGradients.map(((t,e)=>i("stop",{offset:e/(this.parsedGradients.length-1)*100+"%","stop-color":t}))))),i("path",{d:s,fill:"none",stroke:"#e5e7eb","stroke-width":20,"stroke-linecap":"round"}),this.parsedRanges.length>0?this.parsedRanges.map((s=>{const a=this.valueToAngle(s.min),n=this.valueToAngle(s.max),h=this.createArc(t,t,e,a,n);return i("path",{d:h,fill:"none",stroke:s.color,"stroke-width":20,"stroke-linecap":"round",opacity:"0.3"})})):null,i("path",{d:n,fill:"none",stroke:h,"stroke-width":20,"stroke-linecap":"round",class:"value-arc"}))}renderTicks(){if(!this.showTicks)return null;const t=this.size/2,e=this.size/2-20,s=e-10,a=[];for(let n=0;n<=this.tickCount;n++){const h=n/this.tickCount,o=this.startAngle+(this.endAngle-this.startAngle)*h,r=this.polarToCartesian(t,t,e,o),l=this.polarToCartesian(t,t,s,o);if(a.push(i("line",{x1:r.x,y1:r.y,x2:l.x,y2:l.y,stroke:"#9ca3af","stroke-width":"2","stroke-linecap":"round"})),n%2==0){const e=this.polarToCartesian(t,t,s-15,o),n=this.minValue+(this.maxValue-this.minValue)*h,r=Math.round(n);a.push(i("text",{x:e.x,y:e.y,"text-anchor":"middle","dominant-baseline":"middle",class:"tick-label"},void 0!==this.parsedLabels[n]?this.parsedLabels[n]:r))}}return i("g",null,a)}renderNeedle(t,e,s=!1){const a=this.size/2,n=this.size/2-40,h=s?2:4,o=this.valueToAngle(t),r=this.polarToCartesian(a,a,n,o),l=(o-90)*Math.PI/180,c=l+Math.PI/2,d=l-Math.PI/2,p=a+h*Math.cos(c),m=a+h*Math.sin(c),u=a+h*Math.cos(d),g=a+h*Math.sin(d);let f="";if("line"===this.needleShape||s)f=`M ${p} ${m} L ${r.x} ${r.y}`;else if("arrow"===this.needleShape){const t=this.polarToCartesian(a,a,.7*n,o);f=`M ${p} ${m} L ${t.x} ${t.y} L ${r.x} ${r.y} L ${t.x} ${t.y} L ${u} ${g} Z`}else f=`M ${p} ${m} L ${r.x} ${r.y} L ${u} ${g} Z`;return i("g",{class:s?"needle-secondary":"needle-primary",style:{opacity:s?"0.6":"1"}},i("path",{d:f,fill:e,class:"needle"}),i("circle",{cx:a,cy:a,r:s?4:8,fill:e}),!s&&i("circle",{cx:a,cy:a,r:"4",fill:"#fff"}))}renderValue(){const t=this.showPercentage?Math.round((this.animatedValue-this.minValue)/(this.maxValue-this.minValue)*100):Math.round(10*this.animatedValue)/10,e=this.showPercentage?"%":this.unit,s=this.size/2,a=this.size-Math.max(15,Math.round(.1*this.size));return i("g",{class:"value-group",style:{fontFamily:'-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif'}},i("text",{x:s,y:a,"text-anchor":"middle",class:"value-number-svg",fill:"currentColor","font-weight":"700"},t,e&&i("tspan",{class:"value-unit-svg","font-size":"0.6em",dx:"4","font-weight":"500"},e)),this.label&&i("text",{x:s,y:a+20,"text-anchor":"middle",class:"value-label-svg",fill:"#9ca3af","font-size":"12","font-weight":"500",style:{textTransform:"uppercase",letterSpacing:"0.5px"}},this.label))}render(){return i("div",{key:"570b60c58715ce7a233153441a669a866e4df90a",class:{"speedometer-container":!0,interactive:this.interactive,"is-dragging":this.isDragging},onMouseDown:this.handleMouseDown,style:{width:`${this.size}px`,height:`${this.size}px`,cursor:this.interactive?this.isDragging?"grabbing":"grab":"default"}},i("svg",{key:"a05ee4e7e85418f36e106209ec363f84071ff58f",width:this.size,height:this.size,viewBox:`0 0 ${this.size} ${this.size}`,class:"speedometer-svg"},this.renderArc(),this.renderTicks(),void 0!==this.secondaryValue&&this.renderNeedle(this.secondaryValue,"#9ca3af",!0),this.renderNeedle(this.animatedValue,this.needleColor),this.renderValue()))}static get watchers(){return{value:[{handleValueChange:0}],ranges:[{handleRangesChange:0}],customLabels:[{handleLabelsChange:0}],gradientColors:[{handleGradientChange:0}]}}};a.style='.sr-only{position:absolute !important;width:1px !important;height:1px !important;padding:0 !important;margin:-1px !important;overflow:hidden !important;clip:rect(0, 0, 0, 0) !important;white-space:nowrap !important;border-width:0 !important}.a11y-sr-only{position:absolute !important;width:1px !important;height:1px !important;padding:0 !important;margin:-1px !important;overflow:hidden !important;clip:rect(0, 0, 0, 0) !important;white-space:nowrap !important;border-width:0 !important}.speedometer-container{position:relative;display:inline-flex;flex-direction:column;align-items:center;justify-content:center;font-family:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif}.speedometer-svg{display:block}.value-arc{transition:stroke 0.3s ease;filter:drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1))}.needle{transition:transform 0.3s ease;filter:drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2))}.tick-label{font-size:11px;fill:var(--text-muted, #6b7280);font-weight:500}.value-display{position:absolute;bottom:var(--value-bottom, 8px);left:50%;transform:translateX(-50%);text-align:center;pointer-events:none}.value-number-svg{font-size:32px;font-weight:700;fill:var(--text-primary, #1f2937);transition:fill 0.3s ease}.value-unit-svg{font-size:18px;font-weight:500;fill:var(--text-muted, #6b7280)}.value-label-svg{font-size:13px;fill:var(--text-muted, #6b7280);font-weight:500;text-transform:uppercase;letter-spacing:0.5px}@keyframes pulse{0%,100%{opacity:1}50%{opacity:0.8}}.speedometer-container:hover .value-arc{filter:drop-shadow(0 4px 8px rgba(var(--color-primary-rgb, 59, 130, 246), 0.3))}';export{a as ui_speedometer}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,c as r,a as e,h as s,H as i}from"./p-DUsoYu9r.js";const o=class{constructor(e){t(this,e),this.progressChange=r(this,"progressChange")}type="line";percent=0;status="normal";currentStatus="normal";strokeWidth=10;strokeColor="#1890ff";trailColor="#f0f0f0";gradient=!1;showInfo=!0;format=t=>`${t}%`;size="default";width="100%";height="100%";strokeLinecap="round";success=null;steps=0;gapDegree=0;gapPosition="top";multiProgress=[];buffer=0;showBuffer=!1;paused=!1;showPauseButton=!1;estimatedTime=0;showTimeEstimate=!1;milestones=[];indeterminate=!1;decimalPrecision=0;percentageColor="";liquid=!1;thresholds=[];icon="";iconLibrary="lucide";skeleton=!1;peakMarker=0;vitality=!1;dataLabels="";glass=!1;glow=!1;labelPosition="outside";orientation="horizontal";interactive=!1;ticks=0;animatedPercent=0;isDragging=!1;gradientId=`ui-progress-gradient-${Math.random().toString(36).substr(2,9)}`;get el(){return e(this)}progressChange;componentWillLoad(){this.animatedPercent=this.percent,this.currentStatus=this.status,this.normalizeProps()}normalizeProps(){try{"string"==typeof this.milestones&&(this.milestones=JSON.parse(this.milestones)),"string"==typeof this.thresholds&&(this.thresholds=JSON.parse(this.thresholds)),"string"==typeof this.success&&(this.success=JSON.parse(this.success)),"string"==typeof this.strokeColor&&this.strokeColor.startsWith("{")&&(this.strokeColor=JSON.parse(this.strokeColor)),"string"==typeof this.multiProgress&&(this.multiProgress=JSON.parse(this.multiProgress))}catch(t){console.warn("Failed to parse complex progress prop",t)}}handlePercentChange(t){t>this.peakMarker&&(this.peakMarker=t),this.animateProgress(t),this.applyThresholds(t)}handleStrokeColorChange(){this.normalizeProps()}applyThresholds(t){if(!this.thresholds.length)return;const r=[...this.thresholds].sort(((t,r)=>r.percent-t.percent)).find((r=>t>=r.percent));r?(r.status&&(this.currentStatus=r.status),r.color&&(this.strokeColor=r.color)):this.currentStatus=this.status}animateProgress(t){const r=this.animatedPercent,e=t-r,s=Date.now(),i=()=>{const t=Date.now(),o=Math.min((t-s)/500,1);this.animatedPercent=r+e*this.easeOut(o),o<1&&requestAnimationFrame(i)};requestAnimationFrame(i)}easeOut(t){return 1-Math.pow(1-t,3)}handleInteraction=t=>{if(!this.interactive)return;this.isDragging=!0,this.updateFromEvent(t);const r=()=>{this.isDragging=!1,document.removeEventListener("mousemove",e),document.removeEventListener("mouseup",r),document.removeEventListener("touchmove",e),document.removeEventListener("touchend",r)},e=t=>{this.isDragging&&this.updateFromEvent(t)};document.addEventListener("mousemove",e),document.addEventListener("mouseup",r),document.addEventListener("touchmove",e),document.addEventListener("touchend",r)};updateFromEvent(t){const r=this.el.shadowRoot?.querySelector(".progress-line-trail")?.getBoundingClientRect();if(!r)return;let e=0;e="vertical"===this.orientation?100-((t.touches?t.touches[0].clientY:t.clientY)-r.top)/r.height*100:((t.touches?t.touches[0].clientX:t.clientX)-r.left)/r.width*100;const s=Math.max(0,Math.min(100,Math.round(e)));this.percent=s,this.progressChange.emit({value:s})}renderTicks(){if(this.ticks<=0)return null;const t=Math.floor(100/this.ticks),r=[];for(let e=0;e<=t;e++){const t=e*this.ticks;r.push(s("div",{class:"progress-tick",style:{["vertical"===this.orientation?"bottom":"left"]:`${t}%`}}))}return r}getStrokeColor(){return"success"===this.currentStatus?"#52c41a":"exception"===this.currentStatus||"danger"===this.currentStatus?"#ff4d4f":"warning"===this.currentStatus?"#faad14":this.gradient||"object"==typeof this.strokeColor&&null!==this.strokeColor?`url(#${this.gradientId})`:"string"==typeof this.strokeColor?this.strokeColor:"#1890ff"}renderLineProgress(){const t=this.getStrokeColor(),r=Number(this.animatedPercent.toFixed(this.decimalPrecision));let e=t;const i="object"==typeof this.strokeColor&&null!==this.strokeColor,o=i?this.strokeColor:null;if(this.gradient||i){let r="#1890ff",s="#52c41a";o?(r=o.from||r,s=o.to||s):(r=t,s="normal"===this.status?"#69c0ff":t),e=`linear-gradient(${"vertical"===this.orientation?"to top":o&&o.direction||"to right"}, ${r}, ${s})`}const a={["vertical"===this.orientation?"height":"width"]:this.indeterminate?"100%":`${Math.min(this.animatedPercent,100)}%`,["vertical"===this.orientation?"width":"height"]:"100%",borderRadius:"round"===this.strokeLinecap?`${this.strokeWidth}px`:"0",background:e,..."vertical"===this.orientation?{position:"absolute",bottom:"0",left:"0"}:{}},n={["vertical"===this.orientation?"width":"height"]:`${this.strokeWidth}px`,["vertical"===this.orientation?"height":"width"]:"vertical"===this.orientation?"number"==typeof this.height?`${this.height}px`:this.height:"number"==typeof this.width?`${this.width}px`:this.width,borderRadius:"round"===this.strokeLinecap?`${this.strokeWidth}px`:"0",background:this.trailColor,cursor:this.interactive?"pointer":"default",flex:"1"};return s("div",{class:{"progress-line-wrapper":!0,[`progress-orient-${this.orientation}`]:!0}},"top"===this.labelPosition&&this.showInfo&&this.renderProgressInfo(),s("div",{class:"progress-line-trail",style:n,onMouseDown:this.handleInteraction,onTouchStart:this.handleInteraction},this.vitality&&s("div",{class:"progress-vitality-pulse"}),this.renderTicks(),this.showBuffer&&this.buffer>0&&s("div",{class:"progress-buffer-bar",style:{["vertical"===this.orientation?"height":"width"]:`${Math.min(this.buffer,100)}%`,["vertical"===this.orientation?"width":"height"]:`${this.strokeWidth}px`,background:`${t}33`,..."vertical"===this.orientation?{position:"absolute",bottom:"0",left:"0"}:{}}}),s("div",{class:{"progress-line-bar":!0,"progress-active":("active"===this.currentStatus||this.indeterminate)&&!this.paused,"progress-indeterminate":this.indeterminate,"progress-liquid":this.liquid,"progress-industrial":"industrial"===this.type,"progress-vibrate":"danger"===this.status},style:a},"inside"===this.labelPosition&&this.showInfo&&s("div",{class:"progress-text-inside",style:{color:this.percentageColor||"#fff",fontSize:`${Math.max(.6*this.strokeWidth,9)}px`}},this.icon&&s("ui-icon",{name:this.icon,library:this.iconLibrary,style:{marginRight:"4px"}}),this.format(r)),this.success&&(this.success.percent??0)>0&&s("div",{class:"progress-success-bar",style:{["vertical"===this.orientation?"height":"width"]:(this.success.percent??0)/this.animatedPercent*100+"%",background:this.success.strokeColor||"#52c41a",..."vertical"===this.orientation?{position:"absolute",bottom:"0",left:"0"}:{}}})),this.peakMarker>0&&s("div",{class:"progress-peak-marker",style:{["vertical"===this.orientation?"bottom":"left"]:`${this.peakMarker}%`},title:`Session Peak: ${this.peakMarker}%`}),this.milestones.map((t=>s("div",{class:"milestone-marker",style:{["vertical"===this.orientation?"bottom":"left"]:`${t.percent}%`},title:t.label},t.icon?s("ui-icon",{name:t.icon.replace(/^fa[sb]? fa-/,""),library:"fontawesome"}):s("div",{class:"milestone-dot"}))))),this.multiProgress.length>0&&this.renderMultiProgress(),"top"!==this.labelPosition&&this.showInfo&&this.renderProgressInfo(),this.showTimeEstimate&&this.estimatedTime>0&&this.renderTimeEstimate(),this.showPauseButton&&this.renderPauseButton())}renderMultiProgress(){return s("div",{class:"multi-progress-container",style:{display:"flex",flexDirection:"column",gap:"8px",marginTop:"12px"}},this.multiProgress.map((t=>s("div",{class:"multi-progress-item",style:{display:"flex",alignItems:"center",gap:"12px"}},s("div",{class:"multi-progress-bar-wrap",style:{flex:"1",height:`${this.strokeWidth}px`,background:this.trailColor,borderRadius:"4px",overflow:"hidden"}},s("div",{class:"multi-progress-bar",style:{width:`${t.percent}%`,background:t.color||this.getStrokeColor(),height:"100%",transition:"width 0.5s ease"}})),t.label&&s("span",{class:"multi-progress-label",style:{fontSize:"11px",fontWeight:"700",color:"#64748b"}},t.label)))))}renderTimeEstimate(){const t=Math.floor(this.estimatedTime/60),r=this.estimatedTime%60;return s("span",{class:"time-estimate"},"Est. ",t>0?`${t}m ${r}s`:`${r}s`," remaining")}renderPauseButton(){return s("ui-button",{variant:"ghost",class:"pause-button",onClick:()=>this.paused=!this.paused,icon:this.paused?"play":"pause",iconLibrary:"fontawesome",iconOnly:!0,size:"sm"})}renderStepsProgress(){const t=[],r=100/this.steps,e=this.getStrokeColor();for(let i=0;i<this.steps;i++){const o=(i+1)/this.steps*100<=this.animatedPercent;t.push(s("div",{class:{"progress-step":!0,"progress-step-active":o},style:{width:`${r}%`,background:o?e:this.trailColor,height:`${this.strokeWidth}px`}}))}return s("div",{class:"progress-steps-wrapper",style:{width:"number"==typeof this.width?`${this.width}px`:this.width}},s("div",{class:"progress-steps-container"},t),this.showInfo&&this.renderProgressInfo())}renderCircleProgress(){const t="sm"===this.size?80:120,r=this.strokeWidth||("sm"===this.size?6:8),e=(t-r)/2,i=2*Math.PI*e,o=this.indeterminate?.75*i:i-this.animatedPercent/100*i,a=this.getStrokeColor(),n=this.gapPosition;let p=0;"bottom"===n?p=180:"top"===n?p=0:"left"===n?p=270:"right"===n&&(p=90);const l=this.getCirclePath(t/2,t/2,e,"dashboard"===this.type?this.gapDegree||75:this.gapDegree,p),h=this.icon?s("ui-icon",{name:this.icon,library:this.iconLibrary,style:{display:"block",fontSize:("sm"===this.size?18:24)+"px",marginBottom:"4px"}}):null,c="object"==typeof this.strokeColor&&null!==this.strokeColor,g=c?this.strokeColor:null;return s("div",{class:"progress-circle-wrapper",style:{width:`${t}px`,height:`${t}px`}},s("svg",{width:t,height:t},(this.gradient||c)&&s("defs",null,s("linearGradient",{id:this.gradientId,x1:"0%",y1:"0%",x2:"100%",y2:"100%"},s("stop",{offset:"0%","stop-color":g&&g.from||a}),s("stop",{offset:"100%","stop-color":g?g.to||"#52c41a":"normal"===this.status?"#69c0ff":a}))),s("path",{d:l,stroke:this.trailColor,"stroke-width":r,fill:"none","stroke-linecap":this.strokeLinecap}),s("path",{d:l,stroke:a,"stroke-width":r,fill:"none","stroke-linecap":this.strokeLinecap,"stroke-dasharray":i,"stroke-dashoffset":o,class:{"progress-circle-path":!0,"progress-indeterminate":this.indeterminate,"progress-liquid":this.liquid}})),this.showInfo&&s("div",{class:"progress-circle-text"},h,this.renderProgressInfo()))}getCirclePath(t,r,e,s,i){const o=s*Math.PI/180,a=-Math.PI/2+o/2+i*Math.PI/180,n=a+2*Math.PI-o,p=t+e*Math.cos(a),l=r+e*Math.sin(a),h=t+e*Math.cos(n),c=r+e*Math.sin(n);return`M ${p} ${l} A ${e} ${e} 0 ${2*Math.PI-o>Math.PI?1:0} 1 ${h} ${c}`}renderProgressInfo(){if(this.indeterminate)return null;const t=Number(this.animatedPercent.toFixed(this.decimalPrecision)),r=this.dataLabels||this.format(t),e=this.percentageColor?{color:this.percentageColor}:{},i=this.icon?s("ui-icon",{name:this.icon,library:this.iconLibrary,style:{marginRight:"6px"}}):null;return"success"===this.status?s("span",{class:"progress-text",style:e},i||s("ui-icon",{name:"check-circle",library:"fontawesome"}),"inside"!==this.labelPosition&&r):"exception"===this.status||"danger"===this.status?s("span",{class:"progress-text progress-text-exception",style:e},i||s("ui-icon",{name:"exclamation-triangle",library:"fontawesome"}),"inside"!==this.labelPosition&&r):"warning"===this.status?s("span",{class:"progress-text progress-text-warning",style:e},i||s("ui-icon",{name:"exclamation-circle",library:"fontawesome"}),r):s("span",{class:"progress-text",style:e},i,r)}render(){const t={progress:!0,[`progress-${this.type}`]:!0,"progress-active":"active"===this.status||this.indeterminate,[`progress-${this.size}`]:"line"!==this.type,"progress-indeterminate":this.indeterminate,"progress-liquid":this.liquid,"progress-glass":this.glass,"progress-glow":this.glow,"progress-skeleton":this.skeleton};let r;r=this.steps>0&&"line"===this.type?this.renderStepsProgress():"line"===this.type?this.renderLineProgress():this.renderCircleProgress();const e=Number(this.animatedPercent.toFixed(this.decimalPrecision));return s(i,{key:"0f584282c7c54dc1e352dcd047f9393219ea05d7",role:"progressbar","aria-valuenow":e,"aria-valuemin":"0","aria-valuemax":"100","aria-label":this.dataLabels||`Progress: ${this.percent}%`,style:"vertical"===this.orientation?{height:"number"==typeof this.height?`${this.height}px`:this.height}:{}},s("div",{key:"7a81c6056d073cf9cdd90abf2e7748772f0f322d",class:t},r,(this.liquid||"industrial"===this.type)&&s("svg",{key:"1bee402a754d87ab25395c92acde5edd76da64a2",style:{position:"absolute",width:"0",height:"0"}},s("filter",{key:"bebea12167e23049848d62e1fd182958dc249f2b",id:"liquid-filter"},s("feGaussianBlur",{key:"a31af8c228fc7a4a9391b46f12a3e5a5a08ed6eb",in:"SourceGraphic",stdDeviation:"10",result:"blur"}),s("feColorMatrix",{key:"b4dddec3e0f1dfd172a3281e8c67897a89436387",in:"blur",mode:"matrix",values:"1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 18 -7",result:"goo"}),s("feBlend",{key:"f5c08e7d756af6ae228c47115dffd9a4e32142c7",in:"SourceGraphic",in2:"goo"})))))}static get watchers(){return{percent:[{handlePercentChange:0}],strokeColor:[{handleStrokeColorChange:0}]}}};o.style='.sr-only{position:absolute !important;width:1px !important;height:1px !important;padding:0 !important;margin:-1px !important;overflow:hidden !important;clip:rect(0, 0, 0, 0) !important;white-space:nowrap !important;border-width:0 !important}.a11y-sr-only{position:absolute !important;width:1px !important;height:1px !important;padding:0 !important;margin:-1px !important;overflow:hidden !important;clip:rect(0, 0, 0, 0) !important;white-space:nowrap !important;border-width:0 !important}:host{display:block}:host *{box-sizing:border-box}.progress{font-family:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;font-size:14px;height:100%;width:100%;border-radius:inherit;display:flex;flex-direction:column}.progress-line-wrapper{display:flex;align-items:center;gap:12px}.progress-line-wrapper.progress-orient-vertical{flex-direction:column;height:100%;width:100%}.progress-line-wrapper.progress-orient-vertical .progress-text{text-align:center;min-width:unset;font-size:11px;font-weight:700;letter-spacing:0.05em;margin-top:8px;margin-left:0}.progress-line-trail{position:relative;overflow:hidden;transition:all 0.3s ease}.progress-line-trail:hover{opacity:0.9}.progress-line-bar{position:absolute;top:0;left:0;transition:width 0.5s cubic-bezier(0.4, 0, 0.2, 1), height 0.5s cubic-bezier(0.4, 0, 0.2, 1);border-radius:inherit;display:flex;align-items:center;justify-content:center;white-space:nowrap}.progress-text-inside{position:relative;z-index:2;font-weight:700;padding:0 8px;display:flex;align-items:center;justify-content:center}.progress-success-bar{position:absolute;top:0;right:0;border-radius:inherit}.progress-active .progress-line-bar::before{content:"";position:absolute;top:0;left:0;bottom:0;right:0;background:var(--bg-primary, #ffffff);opacity:0;animation:progress-active 2s cubic-bezier(0.23, 1, 0.32, 1) infinite;border-radius:inherit}@keyframes progress-active{0%{opacity:0.1;width:0}20%{opacity:0.5;width:0}100%{opacity:0;width:100%}}.progress-indeterminate.progress-line .progress-line-bar{width:100%}.progress-indeterminate.progress-line .progress-line-bar::after{content:"";position:absolute;top:0;left:0;bottom:0;width:50%;background:linear-gradient(to right, transparent, rgba(255, 255, 255, 0.5), transparent);animation:progress-line-indeterminate 1.5s infinite linear}@keyframes progress-line-indeterminate{0%{left:-100%}100%{left:100%}}.progress-steps-wrapper{display:flex;align-items:center;gap:12px}.progress-steps-container{display:flex;gap:4px;flex:1}.progress-step{border-radius:4px;transition:background 0.3s ease}.progress-circle-wrapper{position:relative;display:inline-block}.progress-indeterminate.progress-circle .progress-circle-wrapper,.progress-indeterminate.progress-dashboard .progress-circle-wrapper{animation:progress-circle-rotate 2s infinite linear}.progress-circle-path{transition:stroke-dashoffset 0.5s cubic-bezier(0.4, 0, 0.2, 1)}@keyframes progress-circle-rotate{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}.progress-circle-text{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);text-align:center;font-size:24px;font-weight:600;color:rgba(0, 0, 0, 0.85)}.progress-sm .progress-circle-text{font-size:16px}.progress-text{font-size:14px;color:rgba(0, 0, 0, 0.65);white-space:nowrap;min-width:32px;text-align:right;display:inline-flex;align-items:center;justify-content:flex-end;gap:6px}.progress-text ui-icon{font-size:16px;vertical-align:middle}.progress-circle .progress-text{text-align:center}.progress-text i{font-size:16px;vertical-align:middle;margin-right:4px}.progress-success .progress-text i{color:var(--color-success, #52c41a)}.progress-text-warning i{color:var(--color-danger, #faad14)}.progress-text-exception i,.progress-exception .progress-text i,.progress-danger .progress-text i{color:var(--color-danger, #ff4d4f)}.progress-success .progress-line-bar{background:var(--color-success, #52c41a)}.progress-warning .progress-line-bar{background:var(--color-danger, #faad14)}.progress-exception .progress-line-bar,.progress-danger .progress-line-bar{background:var(--color-danger, #ff4d4f)}.progress-success .progress-circle-path{stroke:var(--color-success, #52c41a)}.progress-warning .progress-circle-path{stroke:var(--color-danger, #faad14)}.progress-exception .progress-circle-path,.progress-danger .progress-circle-path{stroke:var(--color-danger, #ff4d4f)}.progress-sm.progress-circle .progress-circle-wrapper{width:80px;height:80px}.progress-default.progress-circle .progress-circle-wrapper{width:120px;height:120px}.progress-liquid{overflow:hidden}.progress-liquid.progress-line-bar::after{content:"";position:absolute;top:0;left:0;width:200%;height:100%;background-image:url("data:image/svg+xml,%3Csvg xmlns=\'http://www.w3.org/2000/svg\' viewBox=\'0 0 100 20\'%3E%3Cpath fill=\'var(--bg-primary, #ffffff)\' opacity=\'0.2\' d=\'M0 15 Q25 10 50 15 T100 15 V20 H0 Z\'/%3E%3C/svg%3E");background-size:50% 100%;animation:wave-move 2s infinite linear}.progress-liquid.progress-circle-path{filter:url(#liquid-filter);stroke-dasharray:20 2 !important;animation:circular-liquid 2s infinite linear}@keyframes circular-liquid{0%{stroke-dashoffset:0}100%{stroke-dashoffset:44}}@keyframes wave-move{0%{transform:translateX(0)}100%{transform:translateX(-50%)}}.progress-glass .progress-line-trail{background:rgba(255, 255, 255, 0.1) !important;backdrop-filter:blur(8px);border:1px solid rgba(255, 255, 255, 0.2);box-shadow:inset 0 2px 4px rgba(0, 0, 0, 0.05)}.progress-glass .progress-circle-wrapper path:first-child{stroke:rgba(255, 255, 255, 0.2) !important;filter:blur(1px)}.progress-glow.progress-line .progress-line-bar{filter:drop-shadow(0 0 8px currentColor)}.progress-glow.progress-circle .progress-circle-path,.progress-glow.progress-dashboard .progress-circle-path{filter:drop-shadow(0 0 6px currentColor)}.progress-success.progress-glow .progress-line-bar{filter:drop-shadow(0 0 8px var(--color-success, #52c41a))}.progress-exception.progress-glow .progress-line-bar{filter:drop-shadow(0 0 8px var(--color-danger, #ff4d4f))}.progress-active.progress-glow .progress-line-bar{filter:drop-shadow(0 0 8px var(--color-primary, #1890ff))}.progress-industrial{mask-size:16px 100%;mask-image:linear-gradient(to right, var(--text-primary, #000) 70%, transparent 70%)}.progress-orient-vertical .progress-industrial{mask-size:100% 16px;mask-image:linear-gradient(to top, var(--text-primary, #000) 70%, transparent 70%)}.progress-industrial{box-shadow:inset 0 1px 2px rgba(255, 255, 255, 0.4), inset 0 -1px 2px rgba(0, 0, 0, 0.3), 0 1px 3px rgba(0, 0, 0, 0.2);border:1px solid rgba(255, 255, 255, 0.1)}.progress-vibrate{animation:thermal-vibration 0.15s infinite}@keyframes thermal-vibration{0%{transform:translateY(0)}25%{transform:translateY(-1px) translateX(1px)}50%{transform:translateY(1px) translateX(-1px)}75%{transform:translateY(-1px)}100%{transform:translateY(0)}}.progress-peak-marker{position:absolute;top:-4px;bottom:-4px;width:2px;background:var(--color-primary, #1890ff);box-shadow:0 0 8px var(--color-primary, #1890ff);transition:left 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);z-index:10;pointer-events:none}.progress-peak-marker::after{content:"";position:absolute;top:-4px;left:-3px;border-left:4px solid transparent;border-right:4px solid transparent;border-top:4px solid var(--color-primary, #1890ff)}.progress-vitality-pulse{position:absolute;inset:0;background:linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);width:50%;animation:vitality-wave 3s infinite ease-in-out;pointer-events:none;z-index:5}.progress-orient-vertical .progress-vitality-pulse{width:100%;height:50%;background:linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.2), transparent);animation:vitality-wave-vertical 3s infinite ease-in-out}@keyframes vitality-wave{0%{transform:translateX(-100%) skewX(-20deg)}50%{opacity:0.5}100%{transform:translateX(200%) skewX(-20deg)}}@keyframes vitality-wave-vertical{0%{transform:translateY(100%) skewY(-20deg)}50%{opacity:0.5}100%{transform:translateY(-200%) skewY(-20deg)}}.progress-tick{position:absolute;background:rgba(0, 0, 0, 0.1);pointer-events:none;z-index:1}.progress-orient-horizontal .progress-tick{top:0;bottom:0;width:1px}.progress-orient-vertical .progress-tick{left:0;right:0;height:1px}.milestone-marker{position:absolute;top:50%;transform:translate(-50%, -50%);z-index:15;cursor:help;display:flex;align-items:center;justify-content:center}.progress-orient-vertical .milestone-marker{left:50%;transform:translate(-50%, 50%)}.milestone-marker ui-icon{font-size:14px;color:var(--text-primary, #1a202c);background:var(--bg-primary, #ffffff);border-radius:50%;padding:2px;box-shadow:0 0 6px rgba(0, 0, 0, 0.1)}.milestone-dot{width:8px;height:8px;background:var(--bg-primary, #ffffff);border:2px solid var(--color-primary, #1890ff);border-radius:50%;box-shadow:0 0 4px rgba(0, 0, 0, 0.15)}.multi-progress-container{border-top:1px solid var(--border-subtle, #edf2f7);padding-top:16px;margin-top:20px}.multi-progress-item{transition:all 0.2s ease}.multi-progress-item:hover{transform:translateX(4px)}.multi-progress-bar-wrap{position:relative;overflow:hidden;box-shadow:inset 0 1px 2px rgba(0, 0, 0, 0.05)}.multi-progress-label{letter-spacing:0.025em;text-transform:uppercase}.time-estimate{font-size:11px;color:var(--color-primary, #718096);font-weight:600;margin-top:8px;display:block}.pause-button{display:flex;align-items:center;justify-content:center;background:var(--bg-primary, #f7fafc);border:1px solid var(--border-subtle, #e2e8f0);border-radius:50%;width:24px;height:24px;cursor:pointer;color:var(--color-primary, #4a5568);transition:all 0.2s ease;margin-top:8px}.pause-button:hover{background:var(--bg-primary, #edf2f7);color:var(--color-primary, #2d3748);transform:scale(1.1)}.pause-button ui-icon{font-size:10px}.progress-skeleton .progress-line-trail{background:var(--bg-primary, #e2e8f0) !important;position:relative;overflow:hidden}.progress-skeleton .progress-line-trail::after{content:"";position:absolute;top:0;left:0;width:100%;height:100%;background:linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);animation:progress-shimmer 1.5s infinite}.progress-skeleton .progress-line-bar{display:none !important}@keyframes progress-shimmer{from{transform:translateX(-100%)}to{transform:translateX(100%)}}@media (forced-colors: active){.progress-line-trail{border:1px solid CanvasText}.progress-line-bar{background:Highlight}.progress-peak-marker{background:Mark;box-shadow:none}.progress-tick{background:CanvasText;opacity:0.3}}';export{o as ui_progress}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as a,c as t,a as r,h as o}from"./p-DUsoYu9r.js";const e=class{constructor(r){a(this,r),this.tagRemove=t(this,"tagRemove"),this.tagCheck=t(this,"tagCheck")}get element(){return r(this)}label;value;color="default";size="md";rtl=!1;variant="filled";removable=!1;icon;orientation="horizontal";shape="rounded";iconSpin=!1;closeIcon;customColor;customTextColor;tooltip;disabled=!1;iconPosition="left";iconLibrary="default";image;userAvatar;checkable=!1;checked=!1;animation="scale";animationDuration=300;clickable=!1;elevation=0;loading=!1;pulse=!1;autoColor=!1;gradient;maxWidth;iconSize="1.14em";skeleton=!1;showTooltip=!1;badge;badgeColor="default";counter;isClosing=!1;isOpening=!0;visible=!0;tagRemove;tagCheck;getColorFromHash(a){const t=[{bg:"#3bf673",rgb:"59, 130, 246"},{bg:"#10b981",rgb:"16, 185, 129"},{bg:"#ef4444",rgb:"239, 68, 68"},{bg:"#f59e0b",rgb:"245, 158, 11"},{bg:"#8b5cf6",rgb:"139, 92, 246"},{bg:"#ec4899",rgb:"236, 72, 153"},{bg:"#06b6d4",rgb:"6, 182, 212"}];if(!a)return t[0];let r=0;for(let t=0;t<a.length;t++)r=a.charCodeAt(t)+((r<<5)-r);return t[Math.abs(r)%t.length]}handleKeyDown=a=>{"Enter"!==a.key&&" "!==a.key||(a.preventDefault(),this.handleClick())};handleRemove=a=>{a.stopPropagation(),this.disabled||this.isClosing||(this.isClosing=!0,this.tagRemove.emit(),setTimeout((()=>{this.visible=!1}),this.animationDuration))};handleClick=()=>{this.disabled||this.checkable&&(this.checked=!this.checked,this.tagCheck.emit(this.checked))};componentDidLoad(){setTimeout((()=>{this.isOpening=!1}),50)}render(){if(!this.visible)return null;const a=this.autoColor?this.getColorFromHash(this.label??""):null,t={tag:!0,[`tag-${this.color}`]:!this.autoColor&&!this.gradient,[`tag-${this.size}`]:!0,[`tag-${this.variant}`]:!0,[`tag-shape-${this.shape}`]:!0,"tag-rounded":"rounded"===this.shape,"tag-checkable":this.checkable,"tag-clickable":this.clickable,"tag-checked":this.checked,"tag-loading":this.loading,"tag-disabled":this.disabled,"tag-pulse":this.pulse,"tag-skeleton":this.skeleton,[`tag-${this.orientation}`]:"horizontal"!==this.orientation,[`tag-elevated-${this.elevation}`]:this.elevation>0,[`tag-closing-${this.animation}`]:this.isClosing,[`tag-opening-${this.animation}`]:this.isOpening,[`tag-gradient-${this.gradient}`]:!!this.gradient&&!this.gradient.includes("gradient"),"tag-custom-gradient":!!this.gradient&&this.gradient.includes("gradient"),"tag-truncate":!!this.maxWidth},r={"--animation-duration":`${this.animationDuration}ms`};this.gradient&&this.gradient.includes("gradient")&&(r.background=this.gradient,r.border="none",r.color="#fff"),this.maxWidth&&(r["max-width"]=this.maxWidth),this.customColor&&(r["background-color"]=this.customColor,r["border-color"]="transparent"),this.customTextColor&&(r.color=this.customTextColor),a&&(r["background-color"]=a.bg,r.color="white",r["border-color"]="transparent",r["--tag-glow-color"]=a.rgb);const e=this.clickable||this.checkable||this.removable;return o("span",{class:t,onClick:this.handleClick,onKeyDown:this.handleKeyDown,style:r,title:this.tooltip||(this.showTooltip?this.label:void 0),dir:this.rtl?"rtl":"ltr",tabIndex:e&&!this.disabled?0:-1,role:e?"button":void 0,"aria-pressed":this.checkable?this.checked:void 0,"aria-disabled":this.disabled?"true":void 0},this.skeleton?o("span",{class:"tag-skeleton-content"}):["dot"===this.variant&&o("span",{class:"tag-dot-indicator"}),"left"===this.iconPosition&&this.renderMedia(),o("span",{class:"tag-label"},this.loading&&!this.label?"Loading...":this.label),("ticket"===this.shape||"coupon"===this.shape)&&o("span",{class:"tag-ticket-hole tag-hole-right"}),"coupon"===this.shape&&o("span",{class:"tag-ticket-hole tag-hole-left"}),"right"===this.iconPosition&&this.renderMedia(),this.badge&&o("span",{class:`tag-badge tag-badge-${this.badgeColor}`},this.badge),this.counter&&o("span",{class:"tag-counter"},this.counter),this.removable&&!this.disabled&&o("ui-button",{variant:"ghost",size:"xxs",iconOnly:!0,class:"tag-remove",onClick:this.handleRemove,ariaLabel:"Remove tag",tabIndex:-1,icon:this.closeIcon||"x",iconLibrary:"lucide",iconSize:"14px"})])}renderMedia(){return this.loading&&"dot"!==this.variant?o("ui-loader",{type:"spinner",size:"0.8em",color:"inherit"}):this.userAvatar?o("img",{src:this.userAvatar,alt:"",class:"tag-avatar"}):this.image?o("img",{src:this.image,alt:"",class:"tag-image"}):this.icon?o("span",{class:{"tag-icon":!0,"tag-icon-spin":this.iconSpin}},o("ui-icon",{name:this.icon,library:this.iconLibrary,size:this.iconSize})):null}};e.style='@charset "UTF-8";.sr-only{position:absolute !important;width:1px !important;height:1px !important;padding:0 !important;margin:-1px !important;overflow:hidden !important;clip:rect(0, 0, 0, 0) !important;white-space:nowrap !important;border-width:0 !important}.a11y-sr-only{position:absolute !important;width:1px !important;height:1px !important;padding:0 !important;margin:-1px !important;overflow:hidden !important;clip:rect(0, 0, 0, 0) !important;white-space:nowrap !important;border-width:0 !important}.tag{display:inline-flex;align-items:center;gap:8px;font-family:inherit;font-weight:500;white-space:nowrap;border:1px solid transparent;transition:all 0.2s cubic-bezier(0.4, 0, 0.2, 1);user-select:none;box-sizing:border-box;--tag-notch-size:8px}.tag-sm{padding:0 8px;font-size:11px;height:24px;gap:4px;--tag-notch-size:6px}.tag-md{padding:0 12px;font-size:13px;height:32px;gap:8px;--tag-notch-size:8px}.tag-lg{padding:0 16px;font-size:15px;height:40px;gap:10px;--tag-notch-size:10px}.tag-checkable,.tag-clickable{cursor:pointer}.tag-filled.tag-primary{background-color:var(--color-primary, #10b981);color:var(--text-standard, #ffffff)}.tag-filled.tag-secondary{background-color:var(--text-muted, #6b7280);color:var(--text-standard, #ffffff)}.tag-filled.tag-success{background-color:var(--color-success, #10b981);color:var(--text-standard, #ffffff)}.tag-filled.tag-danger{background-color:var(--color-danger, #ef4444);color:var(--text-standard, #ffffff)}.tag-filled.tag-warning{background-color:var(--color-warning, #f59e0b);color:var(--text-standard, #ffffff)}.tag-filled.tag-info{background-color:var(--color-info, #06b6d4);color:var(--text-standard, #ffffff)}.tag-filled.tag-default{background-color:var(--bg-primary, #e5e7eb);color:var(--text-secondary, #374151)}.tag-outlined{background-color:transparent}.tag-outlined.tag-primary{border-color:var(--color-primary, #10b981);color:var(--color-primary, #10b981)}.tag-outlined.tag-secondary{border-color:var(--color-primary, #6b7280);color:var(--text-muted, #6b7280)}.tag-outlined.tag-success{border-color:var(--color-success, #10b981);color:var(--color-success, #10b981)}.tag-outlined.tag-danger{border-color:var(--color-danger, #ef4444);color:var(--color-danger, #ef4444)}.tag-outlined.tag-warning{border-color:var(--color-warning, #f59e0b);color:var(--color-warning, #f59e0b)}.tag-outlined.tag-info{border-color:var(--color-info, #06b6d4);color:var(--color-info, #06b6d4)}.tag-outlined.tag-default{border-color:var(--border-strong, #d1d5db);color:var(--text-muted, #6b7280)}.tag-light.tag-primary{background-color:var(--bg-primary, #dbeafe);color:var(--color-primary, #1e40af)}.tag-light.tag-secondary{background-color:var(--bg-secondary, #f3f4f6);color:var(--text-secondary, #374151)}.tag-light.tag-success{background-color:var(--bg-primary, #d1fae5);color:var(--color-primary, #065f46)}.tag-light.tag-danger{background-color:var(--bg-primary, #fee2e2);color:var(--color-danger, #991b1b)}.tag-light.tag-warning{background-color:var(--bg-primary, #fef3c7);color:var(--color-danger, #92400e)}.tag-light.tag-info{background-color:var(--bg-primary, #cffafe);color:var(--color-primary, #164e63)}.tag-light.tag-default{background-color:var(--bg-primary, #f9fafb);color:var(--text-secondary, #4b5563)}.tag-dot{background:transparent;border-color:var(--border-default, #e5e7eb);color:var(--text-secondary, #374151)}.tag-dot-indicator{width:6px;height:6px;border-radius:50%;background-color:currentColor}.tag-dot.tag-primary .tag-dot-indicator{background-color:var(--color-primary, #10b981)}.tag-dot.tag-success .tag-dot-indicator{background-color:var(--color-success, #10b981)}.tag-dot.tag-danger .tag-dot-indicator{background-color:var(--color-danger, #ef4444)}.tag-checkable.tag-checked{filter:brightness(0.9);box-shadow:inset 0 2px 4px rgba(0, 0, 0, 0.1)}.tag-checkable.tag-checked::before{content:"✓";font-size:0.9em;margin-inline-end:-2px}.tag-avatar{width:24px;height:24px;border-radius:50%;object-fit:cover;border:1.5px solid rgba(255, 255, 255, 0.3);margin-inline-start:-8px;}.tag-image{width:20px;height:20px;border-radius:4px;object-fit:cover;margin-inline-start:-6px}.tag-icon{display:flex;align-items:center;font-size:1.1em}.tag-remove{background:none;border:none;color:inherit;font-size:16px;cursor:pointer;padding:0;width:20px;height:20px;display:flex;align-items:center;justify-content:center;border-radius:50%;transition:all 0.2s;opacity:0.4;margin-inline-start:-4px;margin-inline-end:-4px}.tag-remove:hover{opacity:1;background:rgba(0, 0, 0, 0.1)}.tag-elevated-1{box-shadow:0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24)}.tag-elevated-2{box-shadow:0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23)}.tag-elevated-3{box-shadow:0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23)}.tag-pulse{animation:tag-pulse-glow 2s infinite}@keyframes tag-pulse-glow{0%{box-shadow:0 0 0 0 rgba(var(--tag-glow-color, 59, 130, 246), 0.4)}70%{box-shadow:0 0 0 10px rgba(var(--tag-glow-color, 59, 130, 246), 0)}100%{box-shadow:0 0 0 0 rgba(var(--tag-glow-color, 59, 130, 246), 0)}}.tag-loading{position:relative;overflow:hidden;pointer-events:none;opacity:0.7}.tag-loading::after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;transform:translateX(-100%);background:linear-gradient(90deg, rgba(255, 255, 255, 0) 0, rgba(255, 255, 255, 0.3) 20%, rgba(255, 255, 255, 0.5) 60%, rgba(255, 255, 255, 0));animation:tag-shimmer 1.5s infinite}@keyframes tag-shimmer{100%{transform:translateX(100%)}}.tag-opening-scale{animation:tagScaleIn var(--animation-duration) ease forwards}.tag-closing-scale{animation:tagScaleOut var(--animation-duration) ease forwards}@keyframes tagScaleIn{from{opacity:0;transform:scale(0.8)}to{opacity:1;transform:scale(1)}}@keyframes tagScaleOut{from{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(0.8)}}.tag-opening-fade{animation:tagFadeIn var(--animation-duration) ease forwards}.tag-closing-fade{animation:tagFadeOut var(--animation-duration) ease forwards}@keyframes tagFadeIn{from{opacity:0}to{opacity:1}}@keyframes tagFadeOut{from{opacity:1}to{opacity:0}}.tag-opening-rotate{animation:tagRotateIn var(--animation-duration) ease forwards}.tag-closing-rotate{animation:tagRotateOut var(--animation-duration) ease forwards}@keyframes tagRotateIn{from{opacity:0;transform:rotate(-10deg) scale(0.9)}to{opacity:1;transform:rotate(0) scale(1)}}@keyframes tagRotateOut{from{opacity:1;transform:rotate(0) scale(1)}to{opacity:0;transform:rotate(10deg) scale(0.9)}}.tag-opening-slide{animation:tagSlideIn var(--animation-duration) ease forwards}.tag-closing-slide{animation:tagSlideOut var(--animation-duration) ease forwards}@keyframes tagSlideIn{from{opacity:0;transform:translateX(-20px)}to{opacity:1;transform:translateX(0)}}@keyframes tagSlideOut{from{opacity:1;transform:translateX(0)}to{opacity:0;transform:translateX(20px)}}.tag-badge{font-size:10px;font-weight:700;border-radius:9999px;min-width:18px;height:18px;display:inline-flex;align-items:center;justify-content:center;padding:0 4px;margin-inline-start:4px;line-height:1;box-shadow:0 2px 4px rgba(0, 0, 0, 0.1);border:1px solid rgba(255, 255, 255, 0.2)}.tag-badge-primary{background:var(--color-primary, #10b981);color:var(--text-standard, #ffffff)}.tag-badge-success{background:var(--color-success, #10b981);color:var(--text-standard, #ffffff)}.tag-badge-danger{background:var(--color-danger, #ef4444);color:var(--text-standard, #ffffff)}.tag-badge-warning{background:var(--color-warning, #f59e0b);color:var(--text-standard, #ffffff)}.tag-badge-info{background:var(--color-info, #06b6d4);color:var(--text-standard, #ffffff)}.tag-badge-secondary{background:var(--color-primary, #6b7280);color:var(--text-standard, #ffffff)}.tag-badge-default{background:rgba(0, 0, 0, 0.1);color:inherit}.tag-counter{font-size:11px;font-weight:600;background:rgba(0, 0, 0, 0.08);color:inherit;border-radius:10px;padding:0 6px;margin-inline-start:6px;opacity:0.8}@media (prefers-color-scheme: dark){.tag-badge-default{background:rgba(255, 255, 255, 0.1)}.tag-counter{background:rgba(255, 255, 255, 0.1)}}.tag-shape-pill{border-radius:999px !important}.tag-shape-square{border-radius:4px !important}.tag-shape-rounded{border-radius:8px !important}.tag-shape-ribbon{padding-inline-end:18px !important;clip-path:polygon(0 0, 100% 0, calc(100% - 10px) 50%, 100% 100%, 0 100%) !important;border-start-start-radius:4px !important;border-end-start-radius:4px !important}.tag-shape-ribbon:host([dir=rtl]) .tag-shape-ribbon,.tag-shape-ribbon[dir=rtl]{clip-path:polygon(100% 0, 0 0, 10px 50%, 0 100%, 100% 100%) !important;border-start-end-radius:4px !important;border-end-end-radius:4px !important;border-start-start-radius:0 !important;border-end-start-radius:0 !important}.tag-shape-ticket{padding-inline-end:28px !important;clip-path:polygon(0 0, 100% 0, calc(100% - var(--tag-notch-size)) 50%, 100% 100%, 0 100%) !important;border-start-start-radius:4px !important;border-end-start-radius:4px !important;box-shadow:0 2px 4px rgba(0, 0, 0, 0.15), inset 0 1px rgba(255, 255, 255, 0.2);position:relative}.tag-shape-ticket:host([dir=rtl]) .tag-shape-ticket,.tag-shape-ticket[dir=rtl]{clip-path:polygon(100% 0, 0 0, var(--tag-notch-size) 50%, 0 100%, 100% 100%) !important;border-start-end-radius:4px !important;border-end-end-radius:4px !important;border-start-start-radius:0 !important;border-end-start-radius:0 !important}.tag-shape-coupon{padding-left:20px !important;padding-right:20px !important;clip-path:polygon(var(--tag-notch-size) 50%, 0 0, 100% 0, calc(100% - var(--tag-notch-size)) 50%, 100% 100%, 0 100%) !important;border-radius:0 !important;box-shadow:0 2px 4px rgba(0, 0, 0, 0.1), inset 0 1px rgba(255, 255, 255, 0.1)}.tag-hole-right{inset-inline-end:14px}.tag-hole-left{inset-inline-start:14px}.tag-icon-spin{display:inline-flex;animation:tag-icon-spin 2s linear infinite}@keyframes tag-icon-spin{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}.tag-opening-scale{animation:tagOpeningScale var(--animation-duration) cubic-bezier(0.34, 1.56, 0.64, 1) forwards}.tag-opening-fade{animation:tagOpeningFade var(--animation-duration) ease forwards}.tag-opening-slide{animation:tagOpeningSlide var(--animation-duration) cubic-bezier(0.34, 1.56, 0.64, 1) forwards}.tag-opening-rotate{animation:tagOpeningRotate var(--animation-duration) cubic-bezier(0.34, 1.56, 0.64, 1) forwards}@keyframes tagOpeningScale{from{opacity:0;transform:scale(0.5)}to{opacity:1;transform:scale(1)}}@keyframes tagOpeningFade{from{opacity:0}to{opacity:1}}@keyframes tagOpeningSlide{from{opacity:0;transform:translateX(-15px)}to{opacity:1;transform:translateX(0)}}@keyframes tagOpeningRotate{from{opacity:0;transform:rotate(-10deg) scale(0.8)}to{opacity:1;transform:rotate(0) scale(1)}}.tag-ticket-hole{position:absolute;top:50%;transform:translateY(-50%);width:6px;height:6px;background:var(--bg-primary, #ffffff);border-radius:50%;box-shadow:inset 0 1px 2px rgba(0, 0, 0, 0.3);z-index:2}.tag-shape-circle{border-radius:50% !important;padding:0 !important;width:32px;height:32px;justify-content:center}.tag-shape-circle.tag-sm{width:24px;height:24px}.tag-shape-circle.tag-lg{width:40px;height:40px}.tag-disabled{opacity:0.5;cursor:not-allowed;pointer-events:none}.tag-vertical{flex-direction:column;height:auto !important;padding:8px 12px !important;gap:4px !important}.tag-vertical .tag-avatar{width:32px;height:32px;margin-bottom:2px}.tag-vertical .tag-icon{font-size:1.4em}.tag-vertical-text,.tag-vertical-rotated{height:auto !important;min-height:40px;width:32px;padding:12px 4px !important;display:inline-flex;flex-direction:column}.tag-vertical-text .tag-label{writing-mode:vertical-rl;text-orientation:upright;letter-spacing:1px;line-height:1.2;text-align:center}.tag-vertical-rotated .tag-label{writing-mode:vertical-rl;transform:rotate(180deg);text-orientation:sideways;text-align:center}.tag-soft.tag-primary{background-color:rgba(var(--color-primary-rgb, 59, 130, 246), 0.1);color:var(--color-primary, #10b981)}.tag-soft.tag-secondary{background-color:rgba(107, 114, 128, 0.1);color:var(--text-muted, #6b7280)}.tag-soft.tag-success{background-color:rgba(var(--color-success-rgb, 16, 185, 129), 0.1);color:var(--color-success, #10b981)}.tag-soft.tag-danger{background-color:rgba(var(--color-danger-rgb, 239, 68, 68), 0.1);color:var(--color-danger, #ef4444)}.tag-soft.tag-warning{background-color:rgba(var(--color-warning-rgb, 245, 158, 11), 0.1);color:var(--color-warning, #f59e0b)}.tag-soft.tag-info{background-color:rgba(6, 182, 212, 0.1);color:var(--color-info, #06b6d4)}.tag-soft.tag-default{background-color:rgba(156, 163, 175, 0.1);color:var(--text-muted, #6b7280)}.tag-bordered{background-color:var(--bg-primary, #ffffff);border-width:2px}.tag-bordered.tag-primary{border-color:var(--color-primary, #10b981);color:var(--color-primary, #10b981)}.tag-bordered.tag-secondary{border-color:var(--color-primary, #6b7280);color:var(--color-primary, #6b7280)}.tag-bordered.tag-success{border-color:var(--color-success, #10b981);color:var(--color-success, #10b981)}.tag-bordered.tag-danger{border-color:var(--color-danger, #ef4444);color:var(--color-danger, #ef4444)}.tag-bordered.tag-warning{border-color:var(--color-warning, #f59e0b);color:var(--color-warning, #f59e0b)}.tag-bordered.tag-info{border-color:var(--color-info, #06b6d4);color:var(--color-info, #06b6d4)}.tag-spinner{width:14px;height:14px;border:2px solid color-mix(in srgb, currentColor, transparent 70%);border-top-color:currentColor;border-radius:50%;animation:tag-spin 0.6s linear infinite}@keyframes tag-spin{to{transform:rotate(360deg)}}.tag-gradient-blue-purple{background:linear-gradient(135deg, var(--color-primary, #10b981) 0%, var(--color-primary, #8b5cf6) 100%);color:var(--bg-primary, #ffffff);border:none}.tag-gradient-green-teal{background:linear-gradient(135deg, var(--color-success, #10b981) 0%, var(--color-info, #06b6d4) 100%);color:var(--bg-primary, #ffffff);border:none}.tag-gradient-orange-red{background:linear-gradient(135deg, var(--color-warning, #f59e0b) 0%, var(--color-danger, #ef4444) 100%);color:var(--bg-primary, #ffffff);border:none}.tag-gradient-pink-purple{background:linear-gradient(135deg, var(--color-danger, #ec4899) 0%, var(--color-primary, #8b5cf6) 100%);color:var(--bg-primary, #ffffff);border:none}.tag-gradient-blue-green{background:linear-gradient(135deg, var(--color-primary, #10b981) 0%, var(--color-success, #10b981) 100%);color:var(--bg-primary, #ffffff);border:none}.tag[tabindex="0"]{outline:none}.tag[tabindex="0"]:focus-visible{box-shadow:0 0 0 2px var(--text-standard, #ffffff), 0 0 0 4px var(--ui-tag-focus-color, var(--color-primary, #10b981));z-index:10}.tag-clickable:hover,.tag-checkable:hover{filter:brightness(1.05);box-shadow:0 4px 12px rgba(0, 0, 0, 0.15);transform:translateY(-1px)}.tag-clickable:active,.tag-checkable:active{transform:scale(0.96);filter:brightness(0.9)}.tag-skeleton{border-color:var(--border-subtle, #e2e8f0);background:var(--bg-secondary, #f1f5f9);pointer-events:none;overflow:hidden}.tag-skeleton-content{display:block;width:100%;height:12px;background:var(--bg-primary, #e2e8f0);border-radius:4px;position:relative;overflow:hidden}.tag-skeleton-content::after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;transform:translateX(-100%);background:linear-gradient(90deg, rgba(255, 255, 255, 0) 0, rgba(255, 255, 255, 0.4) 50%, rgba(255, 255, 255, 0) 100%);animation:tag-skeleton-shimmer 1.5s infinite}@keyframes tag-skeleton-shimmer{100%{transform:translateX(100%)}}.tag-truncate .tag-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}';export{e as ui_tag}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,c as i,h as e,H as a}from"./p-DUsoYu9r.js";const o=class{constructor(e){t(this,e),this.uiClick=i(this,"uiClick")}src;alt="";label;description;effect="zoom";ratio="square";labelMode="hover";size="md";disabled=!1;loading=!1;a11yLabel;isFocused=!1;uiClick;handleClick=t=>{if(this.disabled||this.loading)return t.preventDefault(),void t.stopPropagation();this.uiClick.emit()};handleKeyDown=t=>{"Enter"!==t.key&&" "!==t.key||(t.preventDefault(),this.handleClick(t))};render(){return e(a,{key:"9f62fc59b4656078cbddd73750e41d03a0f3d2ca"},e("div",{key:"d6f464e2f65dd0eb5dd40892179432473b3836fe",class:{"image-button":!0,[`image-button-${this.size}`]:!0,[`image-button-ratio-${this.ratio}`]:!0,[`image-button-effect-${this.effect}`]:!0,[`label-mode-${this.labelMode}`]:!0,"is-disabled":this.disabled,"is-loading":this.loading,"is-focused":this.isFocused},role:"button",tabindex:this.disabled||this.loading?-1:0,"aria-label":this.a11yLabel||this.label||this.alt||"Image Button","aria-disabled":this.disabled?"true":"false","aria-busy":this.loading?"true":"false",onClick:this.handleClick,onKeyDown:this.handleKeyDown,onFocus:()=>this.isFocused=!0,onBlur:()=>this.isFocused=!1},this.src?e("img",{class:"button-image",src:this.src,alt:this.alt,loading:"lazy"}):e("div",{class:"image-placeholder"},e("ui-icon",{name:"image",library:"fontawesome",size:"24px"})),(this.label||this.description)&&e("div",{key:"4f8ce2e322361f645f29bf9c4f48f4c9b151f075",class:"button-overlay"},e("div",{key:"f3e15b029509d4ed27bef5c03d75d3bd934f190b",class:"overlay-content"},this.label&&e("div",{key:"aac7cac7d8e07014a927acd9f572f7dac2688e3d",class:"button-label"},this.label),this.description&&e("div",{key:"1607a06a9fcde90277be03130548d974bf7c6b5c",class:"button-desc"},this.description))),this.loading&&e("div",{key:"9c9f38dbeb6b77fb2d8eed4ab641498aa5030bf7",class:"loading-overlay"},e("ui-icon",{key:"2bc1e06c7a61a4e7752686d489ea2c092550d2b4",name:"spinner",library:"fontawesome",spin:!0,size:"24px"}))))}};o.style=".sr-only{position:absolute !important;width:1px !important;height:1px !important;padding:0 !important;margin:-1px !important;overflow:hidden !important;clip:rect(0, 0, 0, 0) !important;white-space:nowrap !important;border-width:0 !important}.a11y-sr-only{position:absolute !important;width:1px !important;height:1px !important;padding:0 !important;margin:-1px !important;overflow:hidden !important;clip:rect(0, 0, 0, 0) !important;white-space:nowrap !important;border-width:0 !important}:host{display:inline-block;vertical-align:middle;transition:transform 0.2s ease}.image-button{position:relative;overflow:hidden;border-radius:12px;cursor:pointer;background:#f3f4f6;width:100%;height:100%;display:flex;align-items:center;justify-content:center;outline:none}.image-button,.image-button *{transition:all 0.4s cubic-bezier(0.4, 0, 0.2, 1)}.image-button-sm{width:120px}.image-button-md{width:240px}.image-button-lg{width:360px}.image-button-xl{width:480px}.image-button-ratio-square{aspect-ratio:1/1}.image-button-ratio-video{aspect-ratio:16/9}.image-button-ratio-portrait{aspect-ratio:3/4}.image-button-ratio-auto{height:auto}.image-button .button-image{width:100%;height:100%;object-fit:cover;display:block}.image-button .image-placeholder{color:#9ca3af}.image-button .button-overlay{position:absolute;inset:0;background:linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 60%);display:flex;align-items:flex-end;padding:1.25rem;color:white}.image-button .overlay-content{display:flex;flex-direction:column;gap:4px}.image-button .button-label{font-weight:700;font-size:1.1rem;line-height:1.2;letter-spacing:-0.01em}.image-button .button-desc{font-size:0.85rem;opacity:0.8}.image-button-effect-zoom:hover .button-image{transform:scale(1.1)}.image-button-effect-lift:hover,.image-button-effect-lift.is-focused{transform:translateY(-8px);box-shadow:0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04)}.image-button-effect-brighten:hover .button-image{filter:brightness(1.2)}.image-button.label-mode-hover .button-overlay{opacity:0;transform:translateY(10px)}.image-button.label-mode-hover:hover .button-overlay{opacity:1;transform:translateY(0)}.image-button.is-disabled{cursor:not-allowed;opacity:0.6;filter:grayscale(1)}.image-button.is-disabled:hover{transform:none;box-shadow:none}.image-button.is-loading{cursor:wait}.image-button.is-loading .loading-overlay{position:absolute;inset:0;background:rgba(255, 255, 255, 0.7);display:flex;align-items:center;justify-content:center;color:#10b981;z-index:10}.image-button.is-focused{box-shadow:0 0 0 2px var(--bg-primary, #ffffff), 0 0 0 5px var(--color-primary, #10b981);z-index:10}@media (max-width: 640px){.image-button{width:100% !important}}";export{o as ui_image_button}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as r,r as o,c as i,h as a}from"./p-DUsoYu9r.js";import{n as e}from"./p-C7gf39HE.js";const t=class{internals;inputElement;async setFocus(){this.inputElement?.focus()}analyticsEvent;customClass;badge;tooltip;tooltipPosition="top";get el(){return r(this)}checked=!1;disabled=!1;readonly=!1;invalid=!1;label="";description="";value="";name="";required=!1;size="md";color="primary";labelPosition="right";showDot=!0;customIcon="";customIconLibrary="lucide";customImage="";radioTabIndex=0;ariaLabel="";ariaDescribedBy="";enableAnimation=!0;rippleEffect=!0;skeleton=!1;variant="default";isButton=!1;rtl=!1;descriptionPosition="bottom";glow=!1;haptic=!1;hapticIntensity="light";reveal="none";revealDelay=0;isFocused=!1;isHovered=!1;radioChange;radioFocus;radioBlur;constructor(r){o(this,r),this.analyticsEvent=i(this,"analyticsEvent"),this.radioChange=i(this,"radioChange"),this.radioFocus=i(this,"radioFocus"),this.radioBlur=i(this,"radioBlur")}connectedCallback(){this.internals=this.el.attachInternals()}componentWillLoad(){this.updateFormValue(),this.updateValidity()}componentDidLoad(){}handleChange=r=>{this.disabled||this.readonly?r.preventDefault():(this.checked=r.target.checked,this.radioChange.emit({checked:this.checked,value:this.value}),this.updateFormValue(),this.updateValidity(),this.haptic&&this.checked&&this.triggerHaptic(this.hapticIntensity),this.analyticsEvent.emit({checked:this.checked,value:this.value}))};triggerHaptic(r="light"){window.navigator.vibrate&&window.navigator.vibrate("heavy"===r?[50,20,50]:"md"===r?[30]:[10])}handleFocus=()=>{this.disabled||(this.isFocused=!0,this.radioFocus.emit())};handleBlur=()=>{this.isFocused=!1,this.radioBlur.emit()};handleMouseEnter=()=>{this.disabled||(this.isHovered=!0)};handleMouseLeave=()=>{this.isHovered=!1};handleKeyDown=r=>{this.disabled||this.readonly||" "!==r.key&&"Enter"!==r.key||(r.preventDefault(),this.checked||(this.checked=!0,this.radioChange.emit({checked:this.checked,value:this.value})))};updateFormValue(){this.internals.setFormValue(this.checked?this.value:null)}updateValidity(){this.required&&!this.checked?this.internals.setValidity({valueMissing:!0},"Please check this box if you want to proceed.",this.el):this.internals.setValidity({})}async checkValidity(){return this.internals.checkValidity()}async reportValidity(){return this.internals.reportValidity()}renderDot(){return a("div",{class:{"radio-dot-container":!0,"radio-dot-visible":this.checked}},this.customImage?a("img",{src:this.customImage,class:"custom-radio-image"}):this.customIcon?a("span",{class:"custom-icon"},a("ui-icon",{library:this.customIconLibrary,name:this.customIcon})):a("div",{class:"radio-dot"}))}renderLabel(){return this.label||this.description?a("div",{class:`label-section is-${this.descriptionPosition}`},this.label&&a("span",{class:"radio-label-text"},this.label),this.description&&a("span",{class:"radio-description"},this.description)):null}render(){const r=e(this.size,"md"),o={"radio-container":!0,[`radio-${r}`]:!0,[`radio-${this.color}`]:!0,"radio-disabled":this.disabled,"radio-readonly":this.readonly,"radio-invalid":this.invalid,"radio-focused":this.isFocused,"radio-hovered":this.isHovered,[`radio-label-${this.labelPosition}`]:!0,"radio-animate":this.enableAnimation,[`radio-variant-${this.variant}`]:!0,"radio-skeleton":this.skeleton,"radio-is-button":this.isButton,"radio-checked":this.checked,"radio-rtl":this.rtl,"radio-glow":this.glow,[`radio-reveal-${this.reveal}`]:"none"!==this.reveal,...this.customClass?{[this.customClass]:!0}:{}},i={"radio-input-wrapper":!0,"radio-checked":this.checked,"radio-ripple":this.rippleEffect&&!this.disabled};return a("div",{key:"0c4ce7ac6764c4d375ba9fad698b92085fb210e8",class:o,dir:this.rtl?"rtl":"ltr",style:{"--reveal-delay":`${this.revealDelay}ms`}},a("label",{key:"cd53fbd547c5721b8f1cde8c291de8338cedc41e",class:"radio-label",onMouseEnter:this.handleMouseEnter,onMouseLeave:this.handleMouseLeave},("left"===this.labelPosition||"top"===this.labelPosition)&&this.renderLabel(),a("div",{key:"fe2026a06d12c129b3eb17dd81ed9bc6f6b13938",class:i},a("input",{key:"d68ab326208dd78f6ba549343b68e770b9327332",type:"radio",class:"radio-input",checked:this.checked,disabled:this.disabled||this.skeleton,readonly:this.readonly,value:this.value,name:this.name,tabindex:this.radioTabIndex,"aria-label":this.ariaLabel||this.label,"aria-describedby":this.ariaDescribedBy,"aria-checked":this.checked.toString(),"aria-invalid":this.invalid.toString(),onChange:this.handleChange,onFocus:this.handleFocus,onBlur:this.handleBlur,onKeyDown:this.handleKeyDown,ref:r=>this.inputElement=r}),a("div",{key:"0d1088ea92be9fa9a6264921291e7deef5cddeb6",class:"radio-circle"},a("div",{key:"7f86f494d8fba0f6bd19e377df69528be4772b21",class:"glow-layer"}),this.renderDot()),this.badge&&!this.skeleton&&a("span",{key:"91b0b95ccd42b008bfc3aecede34a72759885371",class:"radio-badge"},this.badge),this.tooltip&&!this.skeleton&&a("div",{key:"25103349c130ec435844598f0105161008bf683b",class:`radio-tooltip radio-tooltip-${this.tooltipPosition}`},this.tooltip)),("right"===this.labelPosition||"bottom"===this.labelPosition)&&this.renderLabel(),this.skeleton&&a("div",{key:"7022cb0f5cf4ca8c10e533265083eac0dfd3021d",class:"radio-skeleton-shimmer"})),(this.invalid||!this.internals.validity.valid)&&a("div",{key:"b019b76af7c19c92e35dcf6349100f34b6a68a45",class:"radio-error-message",role:"alert"},this.internals.validationMessage||"Selection required"))}static get delegatesFocus(){return!0}static get formAssociated(){return!0}};t.style='.sr-only{position:absolute !important;width:1px !important;height:1px !important;padding:0 !important;margin:-1px !important;overflow:hidden !important;clip:rect(0, 0, 0, 0) !important;white-space:nowrap !important;border-width:0 !important}.a11y-sr-only{position:absolute !important;width:1px !important;height:1px !important;padding:0 !important;margin:-1px !important;overflow:hidden !important;clip:rect(0, 0, 0, 0) !important;white-space:nowrap !important;border-width:0 !important}.radio-badge{display:inline-block;min-width:18px;height:18px;padding:0 6px;background:var(--color-success, #3dcd58);color:var(--text-standard, #ffffff);font-size:10px;font-weight:700;border-radius:9px;margin-inline-start:8px;vertical-align:middle;text-align:center;line-height:18px;box-shadow:0 2px 4px rgba(var(--color-success-rgb, 61, 205, 88), 0.2)}[class*=radio-reveal-]{opacity:0;animation-fill-mode:forwards;animation-delay:var(--reveal-delay, 0ms)}.radio-reveal-fade-in{animation:radio-fade-in 0.6s ease-out forwards}.radio-reveal-slide-up{animation:radio-slide-up 0.6s cubic-bezier(0.23, 1, 0.32, 1) forwards}.radio-reveal-zoom{animation:radio-zoom 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards}@keyframes radio-fade-in{from{opacity:0}to{opacity:1}}@keyframes radio-slide-up{from{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}@keyframes radio-zoom{from{opacity:0;transform:scale(0.8)}to{opacity:1;transform:scale(1)}}.radio-tooltip{position:absolute;background:var(--bg-primary, #1f2937);color:var(--text-standard, #ffffff);padding:6px 12px;border-radius:6px;font-size:12px;white-space:nowrap;pointer-events:none;opacity:0;transition:opacity 0.2s ease;z-index:10}.radio-input-wrapper:hover .radio-tooltip{opacity:1}.radio-tooltip-top{bottom:calc(100% + 10px);left:50%;transform:translateX(-50%)}.radio-tooltip-bottom{top:calc(100% + 10px);left:50%;transform:translateX(-50%)}.radio-tooltip-left{inset-inline-end:calc(100% + 10px);top:50%;transform:translateY(-50%)}.radio-tooltip-right{inset-inline-start:calc(100% + 10px);top:50%;transform:translateY(-50%)}:host{display:block;overflow:hidden;--ui-radio-border:var(--border-strong, #94a3b8);--ui-radio-bg:var(--bg-primary, #ffffff);--ui-radio-label:var(--label-color, var(--text-primary, #111827));--ui-radio-description:var(--label-subtitle-color, var(--text-secondary, #6b7280));--ui-radio-circle-hover:rgba(0, 0, 0, 0.05)}:host-context(.dark),:host-context([data-theme=dark]),:host-context([data-theme=violet]),:host-context([data-theme=pink]),:host-context([data-theme=blue]),:host-context([data-theme=green]),:host(.dark){--ui-radio-border:var(--border-default, #64748b);--ui-radio-bg:var(--bg-secondary, #111827);--ui-radio-circle-hover:rgba(255, 255, 255, 0.05)}.radio-container{display:inline-flex;flex-direction:column;width:100%;box-sizing:border-box;font-family:inherit;color:var(--text-primary)}.radio-container.radio-rtl{direction:rtl}.radio-label{display:flex;align-items:center;gap:12px;cursor:pointer;user-select:none;position:relative;box-sizing:border-box;flex-shrink:0;overflow:visible;}.radio-label *{box-sizing:border-box}.radio-container.radio-disabled .radio-label{cursor:not-allowed;opacity:0.6}.radio-container.radio-readonly .radio-label{cursor:default}.label-section{display:flex;flex-direction:column;align-items:flex-start;flex:1;min-width:0}.label-section.is-side{flex-direction:row;align-items:baseline;gap:8px}.label-section.is-side .radio-description{margin-top:0}.radio-description{font-size:0.75rem;opacity:0.7;font-weight:400;line-height:1.1;margin-top:2px;color:var(--ui-radio-description)}.radio-input-wrapper{flex-shrink:0;overflow:visible}.radio-input{position:absolute;opacity:0;cursor:pointer;width:100%;height:100%;margin:0;padding:0;z-index:1;appearance:none;-webkit-appearance:none;-moz-appearance:none}.radio-circle{position:relative;display:flex;align-items:center;justify-content:center;border:2px solid var(--ui-radio-border);background:var(--ui-radio-bg);border-radius:50%;transition:all 0.35s cubic-bezier(0.4, 0, 0.2, 1);box-sizing:border-box;box-shadow:0 1px 2px rgba(0, 0, 0, 0.05)}.radio-circle .glow-layer{position:absolute;inset:-4px;background:currentColor;opacity:0;filter:blur(12px);transition:opacity 0.4s ease;border-radius:inherit;z-index:-1;pointer-events:none}.radio-glow.radio-checked .radio-circle .glow-layer{opacity:0.4}.radio-xxxs .radio-circle{width:12px;height:12px}.radio-xxxs .radio-dot{width:6px;height:6px}.radio-xxxs .radio-label-text{font-size:11px;line-height:16px}.radio-xxs .radio-circle{width:14px;height:14px}.radio-xxs .radio-dot{width:7px;height:7px}.radio-xxs .radio-label-text{font-size:12px;line-height:18px}.radio-xs .radio-circle{width:16px;height:16px}.radio-xs .radio-dot{width:8px;height:8px}.radio-xs .radio-label-text{font-size:13px;line-height:20px}.radio-sm .radio-circle{width:18px;height:18px}.radio-sm .radio-dot{width:9px;height:9px}.radio-sm .radio-label-text{font-size:14px;line-height:20px}.radio-md .radio-circle{width:20px;height:20px}.radio-md .radio-dot{width:10px;height:10px}.radio-md .radio-label-text{font-size:15px;line-height:24px}.radio-lg .radio-circle{width:24px;height:24px}.radio-lg .radio-dot{width:12px;height:12px}.radio-lg .radio-label-text{font-size:16px;line-height:28px}.radio-xl .radio-circle{width:28px;height:28px}.radio-xl .radio-dot{width:14px;height:14px}.radio-xl .radio-label-text{font-size:18px;line-height:32px}.radio-xxl .radio-circle{width:32px;height:32px;border-radius:50% !important}.radio-xxl .radio-dot{width:16px;height:16px}.radio-xxl .radio-label-text{font-size:20px;line-height:36px}.radio-xxxl .radio-circle{width:40px;height:40px;border-radius:50% !important}.radio-xxxl .radio-dot{width:20px;height:20px}.radio-xxxl .radio-label-text{font-size:24px;line-height:44px}.radio-dot-container{display:flex;align-items:center;justify-content:center;width:100%;height:100%;opacity:0;transform:scale(0);transition:all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);pointer-events:none}.radio-dot-container.radio-dot-visible{opacity:1;transform:scale(1)}.radio-dot{border-radius:50%;background:currentColor}.custom-radio-image{width:100%;height:100%;object-fit:contain;border-radius:50%;padding:4px}.custom-icon{display:flex;align-items:center;justify-content:center;font-size:12px;color:currentColor}.radio-animate .radio-checked .radio-dot,.radio-animate .radio-checked .custom-icon{animation:radio-pop 0.3s ease}@keyframes radio-pop{0%{transform:scale(0)}50%{transform:scale(1.3)}100%{transform:scale(1)}}.radio-variant-bordered .radio-label{padding:12px 16px;border:1px solid var(--border-color);border-radius:12px;transition:all 0.2s ease;width:100%}.radio-variant-bordered .radio-label:hover:not(.radio-disabled){border-color:currentColor;background:rgba(0, 0, 0, 0.02)}.radio-variant-bordered.radio-checked .radio-label{border-color:currentColor;background:rgba(var(--primary-rgb, 61, 205, 88), 0.05);box-shadow:0 4px 12px rgba(0, 0, 0, 0.05)}.radio-variant-underlined .radio-label{padding:12px 4px;border-bottom:2px solid transparent;transition:all 0.2s ease;border-radius:0;width:100%;box-sizing:border-box}.radio-variant-underlined.radio-checked .radio-label{border-bottom-color:currentColor}.radio-variant-card .radio-label{padding:20px;border:2px solid var(--border-color);border-radius:16px;background:var(--surface-color);transition:all 0.3s cubic-bezier(0.4, 0, 0.2, 1);box-shadow:0 4px 6px rgba(0, 0, 0, 0.02);width:100%;box-sizing:border-box}.radio-variant-card .radio-label:hover:not(.radio-disabled){transform:translateY(-2px);box-shadow:0 8px 24px rgba(0, 0, 0, 0.08);border-color:var(--border-color-hover, #cbd5e1)}.radio-variant-card.radio-checked .radio-label{border-color:currentColor;background:rgba(var(--primary-rgb, 61, 205, 88), 0.02);box-shadow:0 12px 32px rgba(0, 0, 0, 0.1)}.radio-variant-card.radio-checked:hover .radio-label{transform:translateY(-2px)}.radio-variant-glass .radio-circle{background:rgba(255, 255, 255, 0.1) !important;backdrop-filter:blur(8px);border-color:rgba(255, 255, 255, 0.2) !important;border-width:1.5px}.radio-variant-glass.radio-checked .radio-circle{background:currentColor !important;backdrop-filter:none}.radio-variant-raised .radio-circle{border-color:rgba(0, 0, 0, 0.1);box-shadow:inset 0 1px 1px rgba(255, 255, 255, 0.8), 0 2px 4px rgba(0, 0, 0, 0.1), 0 4px 8px rgba(0, 0, 0, 0.05) !important}.radio-skeleton{pointer-events:none}.radio-skeleton .radio-circle{background:var(--bg-primary, #e5e7eb);border-color:var(--border-default, #e5e7eb) !important}.radio-skeleton .radio-label-text,.radio-skeleton .radio-description{background:var(--bg-primary, #e5e7eb);color:transparent !important;border-radius:4px;width:fit-content;min-width:120px}.radio-skeleton .radio-description{min-width:180px}.radio-skeleton .radio-label{position:relative;overflow:hidden}.radio-skeleton-shimmer{position:absolute;top:0;left:0;width:100%;height:100%;background:linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);animation:radio-shimmer 1.5s infinite}@keyframes radio-shimmer{0%{transform:translateX(-100%)}100%{transform:translateX(100%)}}.radio-primary .radio-circle{border-color:var(--color-primary, #93c5fd)}.radio-primary .radio-checked .radio-circle{border-color:var(--primary-color);color:var(--primary-color)}.radio-secondary .radio-circle{border-color:var(--border-strong, #d1d5db)}.radio-secondary .radio-checked .radio-circle{border-color:var(--color-primary, #6b7280);color:var(--text-muted, #6b7280)}.radio-success .radio-circle{border-color:var(--color-success, #86efac)}.radio-success .radio-checked .radio-circle{border-color:var(--color-success, #16a34a);color:var(--color-success, #16a34a)}.radio-danger .radio-circle{border-color:var(--color-danger, #fca5a5)}.radio-danger .radio-checked .radio-circle{border-color:var(--color-danger-hover, #dc2626);color:var(--color-danger-hover, #dc2626)}.radio-warning .radio-circle{border-color:var(--color-danger, #fcd34d)}.radio-warning .radio-checked .radio-circle{border-color:var(--color-warning, #f59e0b);color:var(--color-warning, #f59e0b)}.radio-info .radio-circle{border-color:var(--color-primary, #67e8f9)}.radio-info .radio-checked .radio-circle{border-color:var(--color-info-hover, #0891b2);color:var(--color-info-hover, #0891b2)}.radio-focused .radio-circle{box-shadow:0 0 0 2px var(--surface-color), 0 0 0 4px currentColor}.radio-primary.radio-focused .radio-circle{box-shadow:0 0 0 2px var(--surface-color), 0 0 0 4px var(--color-success, #3dcd58)}.radio-secondary.radio-focused .radio-circle{box-shadow:0 0 0 2px var(--surface-color), 0 0 0 4px var(--color-primary, #6b7280)}.radio-success.radio-focused .radio-circle{box-shadow:0 0 0 2px var(--surface-color), 0 0 0 4px var(--color-success, #16a34a)}.radio-danger.radio-focused .radio-circle{box-shadow:0 0 0 2px var(--surface-color), 0 0 0 4px var(--color-danger-hover, #dc2626)}.radio-warning.radio-focused .radio-circle{box-shadow:0 0 0 2px var(--surface-color), 0 0 0 4px var(--color-warning, #f59e0b)}.radio-info.radio-focused .radio-circle{box-shadow:0 0 0 2px var(--surface-color), 0 0 0 4px var(--color-info-hover, #0891b2)}.radio-hovered:not(.radio-disabled):not(.radio-readonly) .radio-circle{border-color:currentColor;box-shadow:0 0 0 4px rgba(0, 0, 0, 0.05)}.radio-primary.radio-hovered .radio-circle{border-color:var(--color-success, #3dcd58)}.radio-secondary.radio-hovered .radio-circle{border-color:var(--color-primary, #6b7280)}.radio-success.radio-hovered .radio-circle{border-color:var(--color-success, #16a34a)}.radio-danger.radio-hovered .radio-circle{border-color:var(--color-danger-hover, #dc2626)}.radio-warning.radio-hovered .radio-circle{border-color:var(--color-warning, #f59e0b)}.radio-info.radio-hovered .radio-circle{border-color:var(--color-info-hover, #0891b2)}.radio-ripple .radio-circle::before{content:"";position:absolute;top:50%;left:50%;width:100%;height:100%;border-radius:50%;transform:translate(-50%, -50%) scale(0);background:rgba(0, 0, 0, 0.1);pointer-events:none}.radio-ripple .radio-input:active~.radio-circle::before{animation:ripple 0.6s ease}@keyframes ripple{0%{transform:translate(-50%, -50%) scale(0);opacity:1}100%{transform:translate(-50%, -50%) scale(3);opacity:0}}.radio-label-content{display:flex;flex-direction:column;gap:4px}.radio-label-text{color:var(--ui-radio-label);font-weight:500;line-height:1.4}.radio-description{color:var(--ui-radio-description);font-size:0.875rem;line-height:1.4}.radio-invalid .radio-circle{border-color:var(--color-danger-hover, #dc2626)}.radio-is-button{width:100%;height:100%;overflow:inherit}.radio-is-button .radio-label{padding:8px 16px;justify-content:center;background:var(--surface-color);transition:all 0.2s ease;width:100%;height:100%;border-radius:inherit}.radio-is-button .radio-label:hover:not(.radio-disabled){background:var(--bg-secondary, #f3f4f6)}.radio-is-button .radio-circle{margin-inline-end:8px;transform:scale(0.85)}.radio-is-button.radio-checked .radio-label{background:var(--primary-color);color:var(--color-primary-text, #ffffff);z-index:1;border-color:var(--primary-color)}.radio-is-button.radio-secondary.radio-checked .radio-label{background:var(--color-primary, #6b7280);border-color:var(--color-primary, #6b7280)}.radio-is-button.radio-success.radio-checked .radio-label{background:var(--color-success, #16a34a);border-color:var(--color-success, #16a34a)}.radio-is-button.radio-danger.radio-checked .radio-label{background:var(--color-danger-hover, #dc2626);border-color:var(--color-danger-hover, #dc2626)}.radio-is-button.radio-warning.radio-checked .radio-label{background:var(--color-warning, #f59e0b);border-color:var(--color-warning, #f59e0b)}.radio-is-button.radio-info.radio-checked .radio-label{background:var(--color-info-hover, #0891b2);border-color:var(--color-info-hover, #0891b2)}.radio-is-button.radio-disabled .radio-label{background:var(--bg-primary, #f9fafb);color:var(--text-muted, #9ca3af)}';export{t as ui_radio}
|
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
-
import { ComponentSize, Orientation, StatusColor } from '../../types/common.type';
|
|
3
|
-
export declare class CheckboxGroup {
|
|
4
|
-
/**
|
|
5
|
-
* Ensures value is always a string array
|
|
6
|
-
*/
|
|
7
|
-
private normalizeValue;
|
|
8
|
-
el: HTMLElement;
|
|
9
|
-
private internals;
|
|
10
|
-
value: string[];
|
|
11
|
-
name: string;
|
|
12
|
-
label: string;
|
|
13
|
-
helperText: string;
|
|
14
|
-
errorMessage: string;
|
|
15
|
-
required: boolean;
|
|
16
|
-
disabled: boolean;
|
|
17
|
-
readonly: boolean;
|
|
18
|
-
invalid: boolean;
|
|
19
|
-
orientation: Orientation;
|
|
20
|
-
gap: string;
|
|
21
|
-
showSelectAll: boolean;
|
|
22
|
-
selectAllLabel: string;
|
|
23
|
-
buttonGroup: boolean;
|
|
24
|
-
min: number;
|
|
25
|
-
max: number;
|
|
26
|
-
validateOnChange: boolean;
|
|
27
|
-
size: ComponentSize;
|
|
28
|
-
color: StatusColor;
|
|
29
|
-
showSelectionCount: boolean;
|
|
30
|
-
/** Entrance animation */
|
|
31
|
-
reveal: 'none' | 'fade-in' | 'slide-up' | 'zoom';
|
|
32
|
-
/** Delay for entry animation (ms) */
|
|
33
|
-
revealDelay: number;
|
|
34
|
-
/** Stagger delay between items */
|
|
35
|
-
revealStagger: number;
|
|
36
|
-
/** High-Fidelity: Victory glow pulse when all selected */
|
|
37
|
-
victoryGlow: boolean;
|
|
38
|
-
/** High-Fidelity: RTL support */
|
|
39
|
-
rtl: boolean;
|
|
40
|
-
private selectAllState;
|
|
41
|
-
private isVictory;
|
|
42
|
-
groupChange: EventEmitter<{
|
|
43
|
-
value: string[];
|
|
44
|
-
}>;
|
|
45
|
-
groupValidation: EventEmitter<{
|
|
46
|
-
valid: boolean;
|
|
47
|
-
errors: string[];
|
|
48
|
-
}>;
|
|
49
|
-
componentWillLoad(): void;
|
|
50
|
-
/**
|
|
51
|
-
* Stencil form-association callback
|
|
52
|
-
*/
|
|
53
|
-
formResetCallback(): void;
|
|
54
|
-
handleValueChange(): void;
|
|
55
|
-
handleCheckboxChange(event: CustomEvent<{
|
|
56
|
-
checked: boolean;
|
|
57
|
-
value: string;
|
|
58
|
-
}>): void;
|
|
59
|
-
private updateFormValue;
|
|
60
|
-
private discoverCheckboxes;
|
|
61
|
-
private updateCheckboxStates;
|
|
62
|
-
private getAllCheckboxes;
|
|
63
|
-
private updateSelectAllState;
|
|
64
|
-
private handleSelectAllChange;
|
|
65
|
-
validate(): boolean;
|
|
66
|
-
selectAll(): void;
|
|
67
|
-
deselectAll(): void;
|
|
68
|
-
toggleAll(): void;
|
|
69
|
-
private renderSelectAll;
|
|
70
|
-
private renderLabel;
|
|
71
|
-
private renderHelperText;
|
|
72
|
-
options: {
|
|
73
|
-
label: string;
|
|
74
|
-
value: string;
|
|
75
|
-
disabled?: boolean;
|
|
76
|
-
}[] | string[];
|
|
77
|
-
searchable: boolean;
|
|
78
|
-
searchPlaceholder: string;
|
|
79
|
-
layout: 'list' | 'grid';
|
|
80
|
-
columns: number;
|
|
81
|
-
private searchQuery;
|
|
82
|
-
private handleSearch;
|
|
83
|
-
private getFilteredOptions;
|
|
84
|
-
private renderSearch;
|
|
85
|
-
private renderDataOptions;
|
|
86
|
-
render(): any;
|
|
87
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { FormColor, ComponentSize } from '../../types/common.type';
|
|
2
|
-
export type FormInputColor = FormColor;
|
|
3
|
-
export type FormInputSize = ComponentSize;
|
|
4
|
-
/** Change event detail emitted by checkbox-group and radio-group */
|
|
5
|
-
export interface GroupChangeDetail {
|
|
6
|
-
value: string | string[];
|
|
7
|
-
name: string;
|
|
8
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
-
export declare class ColorController {
|
|
3
|
-
/** Current color as a hex string */
|
|
4
|
-
value: string;
|
|
5
|
-
/** Label for the entire group */
|
|
6
|
-
label: string;
|
|
7
|
-
/** Emitted when any color channel changes */
|
|
8
|
-
colorChange: EventEmitter<string>;
|
|
9
|
-
r: number;
|
|
10
|
-
g: number;
|
|
11
|
-
b: number;
|
|
12
|
-
h: number;
|
|
13
|
-
s: number;
|
|
14
|
-
v: number;
|
|
15
|
-
hex: string;
|
|
16
|
-
handleValueUpdate(newValue: string): void;
|
|
17
|
-
componentWillLoad(): void;
|
|
18
|
-
private updateAllFromHex;
|
|
19
|
-
private emitChange;
|
|
20
|
-
private handleHexInput;
|
|
21
|
-
private handleRgbChange;
|
|
22
|
-
private handleHsvChange;
|
|
23
|
-
render(): any;
|
|
24
|
-
}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
-
export declare class ImageButton {
|
|
3
|
-
/** Image source URL */
|
|
4
|
-
src: string;
|
|
5
|
-
/** Image alt text */
|
|
6
|
-
alt: string;
|
|
7
|
-
/** Button label (overlay) */
|
|
8
|
-
label: string;
|
|
9
|
-
/** Subtitle or secondary text */
|
|
10
|
-
description: string;
|
|
11
|
-
/** Hover effect: 'zoom' | 'lift' | 'brighten' | 'none' */
|
|
12
|
-
effect: 'zoom' | 'lift' | 'brighten' | 'none';
|
|
13
|
-
/** Aspect ratio: 'square' | 'video' | 'portrait' | 'auto' */
|
|
14
|
-
ratio: 'square' | 'video' | 'portrait' | 'auto';
|
|
15
|
-
/** Whether the label is always visible or only on hover */
|
|
16
|
-
labelMode: 'always' | 'hover';
|
|
17
|
-
/** Size variant */
|
|
18
|
-
size: 'sm' | 'md' | 'lg' | 'xl';
|
|
19
|
-
/** Disabled state */
|
|
20
|
-
disabled: boolean;
|
|
21
|
-
/** Loading state */
|
|
22
|
-
loading: boolean;
|
|
23
|
-
/** Accessibility label */
|
|
24
|
-
a11yLabel: string;
|
|
25
|
-
/** Focus state for keyboard accessibility */
|
|
26
|
-
isFocused: boolean;
|
|
27
|
-
uiClick: EventEmitter<void>;
|
|
28
|
-
private handleClick;
|
|
29
|
-
private handleKeyDown;
|
|
30
|
-
render(): any;
|
|
31
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { ImageButtonEffect, ImageButtonRatio, ImageButtonLabelMode } from '../../types/common.type';
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { InputType, InputVariant, InputSize } from '../input/types';
|
|
2
|
-
export declare class InputPair {
|
|
3
|
-
/** Left input label */
|
|
4
|
-
labelLeft: string;
|
|
5
|
-
/** Right input label */
|
|
6
|
-
labelRight: string;
|
|
7
|
-
/** Shared main label (optional) */
|
|
8
|
-
label?: string;
|
|
9
|
-
/** Left input value */
|
|
10
|
-
valueLeft: string;
|
|
11
|
-
/** Right input value */
|
|
12
|
-
valueRight: string;
|
|
13
|
-
/** Left input placeholder */
|
|
14
|
-
placeholderLeft: string;
|
|
15
|
-
/** Right input placeholder */
|
|
16
|
-
placeholderRight: string;
|
|
17
|
-
/** Shared type for both inputs */
|
|
18
|
-
type: InputType;
|
|
19
|
-
/** Shared variant */
|
|
20
|
-
variant: InputVariant;
|
|
21
|
-
/** Shared size */
|
|
22
|
-
size: InputSize;
|
|
23
|
-
/** Gap between inputs (set to 0 for connected) */
|
|
24
|
-
gap: string;
|
|
25
|
-
/** Full width behavior */
|
|
26
|
-
fullWidth: boolean;
|
|
27
|
-
render(): any;
|
|
28
|
-
}
|
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
-
import { ComponentSize, LeftRight, Orientation, StatusColor } from '../../types/common.type';
|
|
3
|
-
export declare class RadioGroup {
|
|
4
|
-
private internals;
|
|
5
|
-
el: HTMLElement;
|
|
6
|
-
value: string;
|
|
7
|
-
name: string;
|
|
8
|
-
disabled: boolean;
|
|
9
|
-
readonly: boolean;
|
|
10
|
-
required: boolean;
|
|
11
|
-
invalid: boolean;
|
|
12
|
-
label: string;
|
|
13
|
-
helperText: string;
|
|
14
|
-
errorMessage: string;
|
|
15
|
-
layout: Orientation | 'grid';
|
|
16
|
-
columns: number;
|
|
17
|
-
gap: string;
|
|
18
|
-
size: ComponentSize;
|
|
19
|
-
color: StatusColor;
|
|
20
|
-
options: Array<{
|
|
21
|
-
value: string;
|
|
22
|
-
label: string;
|
|
23
|
-
description?: string;
|
|
24
|
-
disabled?: boolean;
|
|
25
|
-
}> | string;
|
|
26
|
-
labelPosition: LeftRight;
|
|
27
|
-
enableAnimation: boolean;
|
|
28
|
-
rippleEffect: boolean;
|
|
29
|
-
buttonGroup: boolean;
|
|
30
|
-
variant: 'default' | 'bordered' | 'underlined' | 'card';
|
|
31
|
-
skeleton: boolean;
|
|
32
|
-
allowEmpty: boolean;
|
|
33
|
-
showDot: boolean;
|
|
34
|
-
/** Entrance animation */
|
|
35
|
-
reveal: 'none' | 'fade-in' | 'slide-up' | 'zoom';
|
|
36
|
-
/** Delay for entry animation (ms) */
|
|
37
|
-
revealDelay: number;
|
|
38
|
-
/** Stagger delay between items */
|
|
39
|
-
revealStagger: number;
|
|
40
|
-
/** High-Fidelity: Searchable options */
|
|
41
|
-
searchable: boolean;
|
|
42
|
-
/** High-Fidelity: Search bar placeholder */
|
|
43
|
-
searchPlaceholder: string;
|
|
44
|
-
/** High-Fidelity: RTL support */
|
|
45
|
-
rtl: boolean;
|
|
46
|
-
radios: Array<any>;
|
|
47
|
-
private searchQuery;
|
|
48
|
-
radioGroupChange: EventEmitter<{
|
|
49
|
-
value: string;
|
|
50
|
-
}>;
|
|
51
|
-
constructor();
|
|
52
|
-
componentWillLoad(): void;
|
|
53
|
-
componentDidLoad(): void;
|
|
54
|
-
componentDidUpdate(): void;
|
|
55
|
-
watchValue(): void;
|
|
56
|
-
updateOptions(): void;
|
|
57
|
-
handleRadioClick(event: MouseEvent): void;
|
|
58
|
-
handleRadioChange(event: CustomEvent): void;
|
|
59
|
-
private updateValidity;
|
|
60
|
-
/**
|
|
61
|
-
* Checks the component's validity.
|
|
62
|
-
*/
|
|
63
|
-
checkValidity(): Promise<boolean>;
|
|
64
|
-
/**
|
|
65
|
-
* Reports the component's validity.
|
|
66
|
-
*/
|
|
67
|
-
reportValidity(): Promise<boolean>;
|
|
68
|
-
private getRadios;
|
|
69
|
-
private syncRadios;
|
|
70
|
-
private renderLabel;
|
|
71
|
-
private renderSearch;
|
|
72
|
-
render(): any;
|
|
73
|
-
private renderHelperText;
|
|
74
|
-
}
|
|
@@ -1,119 +0,0 @@
|
|
|
1
|
-
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
-
import { LocationLoader, LocationOption, LocationOptionInternal, LocationSearchEvent, LocationSelectionChangeEvent } from './types';
|
|
3
|
-
export declare class SmartLocationDropdown {
|
|
4
|
-
hostElement: HTMLElement;
|
|
5
|
-
/** Location options as JSON string or array */
|
|
6
|
-
options: string | LocationOption[];
|
|
7
|
-
/** Selected value(s): single => 'id', multi => comma-separated ids */
|
|
8
|
-
value: string;
|
|
9
|
-
/** Enables multiple location selection */
|
|
10
|
-
multiSelect: boolean;
|
|
11
|
-
/** Placeholder text for trigger */
|
|
12
|
-
placeholder: string;
|
|
13
|
-
/** Enables searching */
|
|
14
|
-
searchable: boolean;
|
|
15
|
-
/** Search placeholder */
|
|
16
|
-
searchPlaceholder: string;
|
|
17
|
-
/** Disables control */
|
|
18
|
-
disabled: boolean;
|
|
19
|
-
/** Show clear action */
|
|
20
|
-
clearable: boolean;
|
|
21
|
-
/** Maximum dropdown height in px */
|
|
22
|
-
maxHeight: number;
|
|
23
|
-
/** Search debounce in ms */
|
|
24
|
-
debounceMs: number;
|
|
25
|
-
/** Max selected items in multi mode (0 = no limit) */
|
|
26
|
-
maxSelections: number;
|
|
27
|
-
/** Max results rendered */
|
|
28
|
-
resultLimit: number;
|
|
29
|
-
/** Show recent selections section */
|
|
30
|
-
showRecent: boolean;
|
|
31
|
-
/** Show favorites section */
|
|
32
|
-
showFavorites: boolean;
|
|
33
|
-
/** Persist recent/favorites in local storage */
|
|
34
|
-
persistState: boolean;
|
|
35
|
-
/** Storage key for persistent state */
|
|
36
|
-
storageKey: string;
|
|
37
|
-
/** Display full hierarchy path in options and selected tags */
|
|
38
|
-
showPath: boolean;
|
|
39
|
-
/** Show location type badges */
|
|
40
|
-
showTypeBadge: boolean;
|
|
41
|
-
/** Allow custom value creation from search */
|
|
42
|
-
allowCustomValue: boolean;
|
|
43
|
-
/** Force menu position to ignore transformed/positioned parent offsets */
|
|
44
|
-
ignoreParentPosition: boolean;
|
|
45
|
-
/** Portal menu to document.body (off by default to preserve shadow styling) */
|
|
46
|
-
portal: boolean;
|
|
47
|
-
/** Optional async remote location loader */
|
|
48
|
-
loadLocations?: LocationLoader;
|
|
49
|
-
/** Minimum characters required before async loader executes */
|
|
50
|
-
remoteMinChars: number;
|
|
51
|
-
isOpen: boolean;
|
|
52
|
-
parsedOptions: LocationOptionInternal[];
|
|
53
|
-
remoteOptions: LocationOptionInternal[];
|
|
54
|
-
selectedIds: Set<string>;
|
|
55
|
-
searchQuery: string;
|
|
56
|
-
loading: boolean;
|
|
57
|
-
loadError: string;
|
|
58
|
-
highlightedIndex: number;
|
|
59
|
-
menuLeft: number;
|
|
60
|
-
menuTop: number;
|
|
61
|
-
menuWidth: number;
|
|
62
|
-
dropdownPosition: 'top' | 'bottom';
|
|
63
|
-
recentIds: string[];
|
|
64
|
-
favoriteIds: string[];
|
|
65
|
-
locationChange: EventEmitter<LocationSelectionChangeEvent>;
|
|
66
|
-
locationSearch: EventEmitter<LocationSearchEvent>;
|
|
67
|
-
locationOpen: EventEmitter<void>;
|
|
68
|
-
locationClose: EventEmitter<void>;
|
|
69
|
-
locationLoadError: EventEmitter<{
|
|
70
|
-
query: string;
|
|
71
|
-
message: string;
|
|
72
|
-
}>;
|
|
73
|
-
locationCreate: EventEmitter<LocationOption>;
|
|
74
|
-
private searchDebounceTimer;
|
|
75
|
-
private searchInputRef?;
|
|
76
|
-
private menuElement?;
|
|
77
|
-
private optionsRefs;
|
|
78
|
-
private rafId;
|
|
79
|
-
private isPortaled;
|
|
80
|
-
private searchToken;
|
|
81
|
-
watchOptions(newValue: string | LocationOption[]): void;
|
|
82
|
-
watchValue(newValue: string): void;
|
|
83
|
-
componentWillLoad(): void;
|
|
84
|
-
disconnectedCallback(): void;
|
|
85
|
-
handleOutsideClick(event: MouseEvent): void;
|
|
86
|
-
handleResize(): void;
|
|
87
|
-
handleScroll(): void;
|
|
88
|
-
private normalizeOptions;
|
|
89
|
-
private tryParse;
|
|
90
|
-
private inferType;
|
|
91
|
-
private parseSelectedIds;
|
|
92
|
-
private get selectedOptions();
|
|
93
|
-
private getMergedOptions;
|
|
94
|
-
private get filteredOptions();
|
|
95
|
-
private get typeLabelMap();
|
|
96
|
-
private toggleDropdown;
|
|
97
|
-
private closeDropdown;
|
|
98
|
-
private schedulePositionUpdate;
|
|
99
|
-
private calculatePosition;
|
|
100
|
-
private cleanupPortal;
|
|
101
|
-
private onSearchInput_Custom;
|
|
102
|
-
private runRemoteSearch;
|
|
103
|
-
private emitSearchEvent;
|
|
104
|
-
private handleKeyDown;
|
|
105
|
-
private scrollToHighlighted;
|
|
106
|
-
private selectOption;
|
|
107
|
-
private removeSelectedId;
|
|
108
|
-
private clearSelection;
|
|
109
|
-
private toggleFavorite;
|
|
110
|
-
private touchRecent;
|
|
111
|
-
private persistCurrentState;
|
|
112
|
-
private restorePersistentState;
|
|
113
|
-
private syncValueAndEmit;
|
|
114
|
-
private createCustomLocation;
|
|
115
|
-
private getDisplayText;
|
|
116
|
-
private renderSelectedChips;
|
|
117
|
-
private renderOption;
|
|
118
|
-
render(): any;
|
|
119
|
-
}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
export type LocationType = 'country' | 'state' | 'province' | 'city' | 'district' | 'postal' | 'custom';
|
|
2
|
-
export interface LocationOption {
|
|
3
|
-
id: string | number;
|
|
4
|
-
label: string;
|
|
5
|
-
type?: LocationType;
|
|
6
|
-
code?: string;
|
|
7
|
-
parentId?: string | number;
|
|
8
|
-
disabled?: boolean;
|
|
9
|
-
timezone?: string;
|
|
10
|
-
countryCode?: string;
|
|
11
|
-
lat?: number;
|
|
12
|
-
lng?: number;
|
|
13
|
-
tags?: string[];
|
|
14
|
-
children?: LocationOption[];
|
|
15
|
-
meta?: Record<string, any>;
|
|
16
|
-
}
|
|
17
|
-
export interface LocationOptionInternal extends LocationOption {
|
|
18
|
-
idStr: string;
|
|
19
|
-
parentIdStr?: string;
|
|
20
|
-
type: LocationType;
|
|
21
|
-
depth: number;
|
|
22
|
-
pathLabels: string[];
|
|
23
|
-
searchText: string;
|
|
24
|
-
}
|
|
25
|
-
export interface LocationSelectionChangeEvent {
|
|
26
|
-
value: string;
|
|
27
|
-
selected: LocationOption[];
|
|
28
|
-
trigger: 'select' | 'clear' | 'remove' | 'programmatic';
|
|
29
|
-
query: string;
|
|
30
|
-
}
|
|
31
|
-
export interface LocationSearchEvent {
|
|
32
|
-
query: string;
|
|
33
|
-
localResults: number;
|
|
34
|
-
remoteResults: number;
|
|
35
|
-
loading: boolean;
|
|
36
|
-
}
|
|
37
|
-
export type LocationLoader = (query: string) => Promise<LocationOption[]>;
|
|
File without changes
|