atomicuilibrary 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +111 -0
- package/dist/cjs/category-section.cjs.entry.js +30 -0
- package/dist/cjs/component-size-DsYFUZcz.js +29 -0
- package/dist/cjs/dom-oP1E4Rd3.js +267 -0
- package/dist/cjs/event-bus-B6M2f8CQ.js +23 -0
- package/dist/cjs/exploration-project-tailwind.cjs.js +24 -0
- package/dist/cjs/focus-trap-i9T6oXLc.js +139 -0
- package/dist/cjs/index-ClkOYpT8.js +2275 -0
- package/dist/cjs/index.cjs.js +260 -0
- package/dist/cjs/layout-manager.cjs.entry.js +616 -0
- package/dist/cjs/library-card.cjs.entry.js +63 -0
- package/dist/cjs/lm-container_2.cjs.entry.js +79 -0
- package/dist/cjs/lm-panel_3.cjs.entry.js +108 -0
- package/dist/cjs/loader.cjs.js +12 -0
- package/dist/cjs/my-component.cjs.entry.js +33 -0
- package/dist/cjs/my-step.cjs.entry.js +29 -0
- package/dist/cjs/nav-bar.cjs.entry.js +247 -0
- package/dist/cjs/security-E1JcwxGc.js +1547 -0
- package/dist/cjs/smart-step.cjs.entry.js +47 -0
- package/dist/cjs/timeline-item.cjs.entry.js +29 -0
- package/dist/cjs/ui-accordion_10.cjs.entry.js +5733 -0
- package/dist/cjs/ui-advanced-data-table.cjs.entry.js +2684 -0
- package/dist/cjs/ui-anchor.cjs.entry.js +558 -0
- package/dist/cjs/ui-animate-on-scroll.cjs.entry.js +285 -0
- package/dist/cjs/ui-aside-panel.cjs.entry.js +638 -0
- package/dist/cjs/ui-avatar-group_3.cjs.entry.js +634 -0
- package/dist/cjs/ui-breadcrumb-item.cjs.entry.js +56 -0
- package/dist/cjs/ui-breadcrumb.cjs.entry.js +201 -0
- package/dist/cjs/ui-callout-banner.cjs.entry.js +291 -0
- package/dist/cjs/ui-card.cjs.entry.js +411 -0
- package/dist/cjs/ui-carousel.cjs.entry.js +547 -0
- package/dist/cjs/ui-checkbox-group.cjs.entry.js +330 -0
- package/dist/cjs/ui-checkbox.cjs.entry.js +260 -0
- package/dist/cjs/ui-code-editor.cjs.entry.js +961 -0
- package/dist/cjs/ui-code-preview.cjs.entry.js +315 -0
- package/dist/cjs/ui-color-controller.cjs.entry.js +150 -0
- package/dist/cjs/ui-color-picker.cjs.entry.js +658 -0
- package/dist/cjs/ui-command-palette.cjs.entry.js +178 -0
- package/dist/cjs/ui-dialog-box.cjs.entry.js +1808 -0
- package/dist/cjs/ui-dialog-content.cjs.entry.js +31 -0
- package/dist/cjs/ui-dialog-footer_2.cjs.entry.js +193 -0
- package/dist/cjs/ui-divider.cjs.entry.js +481 -0
- package/dist/cjs/ui-dock-host.cjs.entry.js +128 -0
- package/dist/cjs/ui-dock.cjs.entry.js +221 -0
- package/dist/cjs/ui-drag-drop.cjs.entry.js +172 -0
- package/dist/cjs/ui-dropdown_2.cjs.entry.js +1552 -0
- package/dist/cjs/ui-empty-state.cjs.entry.js +398 -0
- package/dist/cjs/ui-fab-item.cjs.entry.js +39 -0
- package/dist/cjs/ui-fab.cjs.entry.js +277 -0
- package/dist/cjs/ui-file-upload.cjs.entry.js +418 -0
- package/dist/cjs/ui-horizontal-nav.cjs.entry.js +135 -0
- package/dist/cjs/ui-image-button.cjs.entry.js +67 -0
- package/dist/cjs/ui-input-pair.cjs.entry.js +44 -0
- package/dist/cjs/ui-knob.cjs.entry.js +447 -0
- package/dist/cjs/ui-library.cjs.entry.js +134 -0
- package/dist/cjs/ui-list-group_2.cjs.entry.js +586 -0
- package/dist/cjs/ui-list.cjs.entry.js +732 -0
- package/dist/cjs/ui-masonry.cjs.entry.js +478 -0
- package/dist/cjs/ui-meter-group.cjs.entry.js +173 -0
- package/dist/cjs/ui-navigation-item.cjs.entry.js +104 -0
- package/dist/cjs/ui-number-input.cjs.entry.js +191 -0
- package/dist/cjs/ui-otp-input.cjs.entry.js +246 -0
- package/dist/cjs/ui-pagination_3.cjs.entry.js +1621 -0
- package/dist/cjs/ui-panel.cjs.entry.js +614 -0
- package/dist/cjs/ui-pattern-input.cjs.entry.js +278 -0
- package/dist/cjs/ui-popover.cjs.entry.js +517 -0
- package/dist/cjs/ui-progress.cjs.entry.js +516 -0
- package/dist/cjs/ui-radio-group.cjs.entry.js +205 -0
- package/dist/cjs/ui-radio.cjs.entry.js +206 -0
- package/dist/cjs/ui-range-slider.cjs.entry.js +637 -0
- package/dist/cjs/ui-resizable-panel.cjs.entry.js +484 -0
- package/dist/cjs/ui-scroll-top.cjs.entry.js +459 -0
- package/dist/cjs/ui-smart-context-menu.cjs.entry.js +376 -0
- package/dist/cjs/ui-smart-location-dropdown.cjs.entry.js +565 -0
- package/dist/cjs/ui-smart-stepper.cjs.entry.js +137 -0
- package/dist/cjs/ui-snackbar.cjs.entry.js +863 -0
- package/dist/cjs/ui-speed-dial.cjs.entry.js +520 -0
- package/dist/cjs/ui-speedometer.cjs.entry.js +428 -0
- package/dist/cjs/ui-splitter.cjs.entry.js +282 -0
- package/dist/cjs/ui-step.cjs.entry.js +30 -0
- package/dist/cjs/ui-stepper.cjs.entry.js +640 -0
- package/dist/cjs/ui-switch.cjs.entry.js +405 -0
- package/dist/cjs/ui-tabs.cjs.entry.js +703 -0
- package/dist/cjs/ui-tag.cjs.entry.js +299 -0
- package/dist/cjs/ui-timeline.cjs.entry.js +267 -0
- package/dist/cjs/ui-timer.cjs.entry.js +502 -0
- package/dist/cjs/ui-toolbar.cjs.entry.js +619 -0
- package/dist/cjs/ui-tooltip.cjs.entry.js +697 -0
- package/dist/cjs/ui-top-bar.cjs.entry.js +121 -0
- package/dist/cjs/ui-transfer-list.cjs.entry.js +592 -0
- package/dist/cjs/ui-tree.cjs.entry.js +874 -0
- package/dist/cjs/ui-workspace-manager.cjs.entry.js +1201 -0
- package/dist/cjs/utils-DVZ6gul6.js +26 -0
- package/dist/collection/assets/js/component-config.js +41 -0
- package/dist/collection/assets/js/demo-loader.js +147 -0
- package/dist/collection/assets/js/demo-nav.js +273 -0
- package/dist/collection/assets/js/demos/about-demo.js +60 -0
- package/dist/collection/assets/js/demos/accordion-demo.js +1954 -0
- package/dist/collection/assets/js/demos/advanced-data-table-demo.js +2952 -0
- package/dist/collection/assets/js/demos/anchor-demo.js +527 -0
- package/dist/collection/assets/js/demos/animate-on-scroll-demo.js +174 -0
- package/dist/collection/assets/js/demos/aside-panel-demo.js +1109 -0
- package/dist/collection/assets/js/demos/avatar-demo.js +508 -0
- package/dist/collection/assets/js/demos/badge-demo.js +620 -0
- package/dist/collection/assets/js/demos/breadcrumb-demo.js +365 -0
- package/dist/collection/assets/js/demos/button-demo.js +1223 -0
- package/dist/collection/assets/js/demos/button-toggle-demo.js +978 -0
- package/dist/collection/assets/js/demos/callout-banner-demo.js +366 -0
- package/dist/collection/assets/js/demos/card-demo.js +427 -0
- package/dist/collection/assets/js/demos/carousel-demo.js +360 -0
- package/dist/collection/assets/js/demos/checkbox-demo.js +489 -0
- package/dist/collection/assets/js/demos/code-preview-demo.js +216 -0
- package/dist/collection/assets/js/demos/color-picker-demo.js +117 -0
- package/dist/collection/assets/js/demos/command-palette-demo.js +105 -0
- package/dist/collection/assets/js/demos/complex-form-demo.js +45 -0
- package/dist/collection/assets/js/demos/context-menu-data.js +436 -0
- package/dist/collection/assets/js/demos/context-menu-demo.js +829 -0
- package/dist/collection/assets/js/demos/dashboard-demo.js +5 -0
- package/dist/collection/assets/js/demos/dialog-demo-temp.js +411 -0
- package/dist/collection/assets/js/demos/dialog-demo.js +2567 -0
- package/dist/collection/assets/js/demos/divider-demo.js +853 -0
- package/dist/collection/assets/js/demos/dock-demo.js +422 -0
- package/dist/collection/assets/js/demos/dock-host-init.js +117 -0
- package/dist/collection/assets/js/demos/dock-host-playground.js +59 -0
- package/dist/collection/assets/js/demos/documentation-demo.js +34 -0
- package/dist/collection/assets/js/demos/drag-drop-demo.js +132 -0
- package/dist/collection/assets/js/demos/dropdown-demo.js +1410 -0
- package/dist/collection/assets/js/demos/dropdown-subtitle-demo.js +18 -0
- package/dist/collection/assets/js/demos/empty-state-demo.js +580 -0
- package/dist/collection/assets/js/demos/fab-demo.js +374 -0
- package/dist/collection/assets/js/demos/file-upload-demo.js +171 -0
- package/dist/collection/assets/js/demos/home-components.js +750 -0
- package/dist/collection/assets/js/demos/home-demo.js +441 -0
- package/dist/collection/assets/js/demos/horizontal-nav-demo.js +277 -0
- package/dist/collection/assets/js/demos/icon-demo.js +380 -0
- package/dist/collection/assets/js/demos/input-demo.js +1932 -0
- package/dist/collection/assets/js/demos/knob-demo.js +570 -0
- package/dist/collection/assets/js/demos/layout-manager-demo.js +918 -0
- package/dist/collection/assets/js/demos/list-demo.js +1402 -0
- package/dist/collection/assets/js/demos/loader-demo.js +453 -0
- package/dist/collection/assets/js/demos/meter-group-demo.js +499 -0
- package/dist/collection/assets/js/demos/multi-level-context-menu-demo.js +924 -0
- package/dist/collection/assets/js/demos/my-profile-demo.js +237 -0
- package/dist/collection/assets/js/demos/nav-bar-demo.js +187 -0
- package/dist/collection/assets/js/demos/number-input-demo.js +242 -0
- package/dist/collection/assets/js/demos/overview-demo.js +11 -0
- package/dist/collection/assets/js/demos/pagination-demo.js +1042 -0
- package/dist/collection/assets/js/demos/panel-demo.js +789 -0
- package/dist/collection/assets/js/demos/pattern-input-demo.js +241 -0
- package/dist/collection/assets/js/demos/popover-demo.js +882 -0
- package/dist/collection/assets/js/demos/progress-demo.js +462 -0
- package/dist/collection/assets/js/demos/radio-demo.js +413 -0
- package/dist/collection/assets/js/demos/range-slider-demo.js +1217 -0
- package/dist/collection/assets/js/demos/rating-demo.js +383 -0
- package/dist/collection/assets/js/demos/scroll-top-demo.js +353 -0
- package/dist/collection/assets/js/demos/skeleton-demo.js +490 -0
- package/dist/collection/assets/js/demos/skeleton-performance-demo.js +26 -0
- package/dist/collection/assets/js/demos/smart-dialog-demo.js +552 -0
- package/dist/collection/assets/js/demos/smart-menu-demo.js +375 -0
- package/dist/collection/assets/js/demos/smart-stepper-demo.js +50 -0
- package/dist/collection/assets/js/demos/snackbar-demo.js +1040 -0
- package/dist/collection/assets/js/demos/speed-dial-demo.js +764 -0
- package/dist/collection/assets/js/demos/speedometer-demo.js +425 -0
- package/dist/collection/assets/js/demos/split-button-demo.js +201 -0
- package/dist/collection/assets/js/demos/stack-demo.js +228 -0
- package/dist/collection/assets/js/demos/stepper-demo.js +798 -0
- package/dist/collection/assets/js/demos/switch-demo.js +849 -0
- package/dist/collection/assets/js/demos/tabs-demo.js +1032 -0
- package/dist/collection/assets/js/demos/tag-demo.js +842 -0
- package/dist/collection/assets/js/demos/theme-selector-demo.js +466 -0
- package/dist/collection/assets/js/demos/timeline-demo.js +365 -0
- package/dist/collection/assets/js/demos/timeline-playground.js +59 -0
- package/dist/collection/assets/js/demos/timer-demo.js +313 -0
- package/dist/collection/assets/js/demos/toolbar-demo.js +643 -0
- package/dist/collection/assets/js/demos/tooltip-demo.js +730 -0
- package/dist/collection/assets/js/demos/top-bar-demo.js +417 -0
- package/dist/collection/assets/js/demos/transfer-list-demo.js +555 -0
- package/dist/collection/assets/js/demos/tree-demo.js +693 -0
- package/dist/collection/assets/js/demos/workspace-manager-demo.js +241 -0
- package/dist/collection/assets/js/index-boot.js +104 -0
- package/dist/collection/assets/js/nav-bar-demo.js +20 -0
- package/dist/collection/assets/js/nav-bar-init.js +119 -0
- package/dist/collection/assets/js/utils/layout-loader.js +80 -0
- package/dist/collection/collection-manifest.json +113 -0
- package/dist/collection/components/accordion/accordion.css +2090 -0
- package/dist/collection/components/accordion/accordion.js +2955 -0
- package/dist/collection/components/accordion/types.js +1 -0
- package/dist/collection/components/advanced-data-table/advanced-data-table.css +2606 -0
- package/dist/collection/components/advanced-data-table/advanced-data-table.js +5394 -0
- package/dist/collection/components/advanced-data-table/types.js +1 -0
- package/dist/collection/components/anchor/anchor.css +395 -0
- package/dist/collection/components/anchor/anchor.js +1404 -0
- package/dist/collection/components/anchor/types.js +1 -0
- package/dist/collection/components/animate-on-scroll/animate-on-scroll.css +804 -0
- package/dist/collection/components/animate-on-scroll/animate-on-scroll.js +696 -0
- package/dist/collection/components/aside-panel/aside-panel.css +472 -0
- package/dist/collection/components/aside-panel/aside-panel.js +1697 -0
- package/dist/collection/components/avatar/avatar.css +696 -0
- package/dist/collection/components/avatar/avatar.js +2007 -0
- package/dist/collection/components/avatar/types.js +1 -0
- package/dist/collection/components/avatar-group/avatar-group.css +253 -0
- package/dist/collection/components/avatar-group/avatar-group.js +405 -0
- package/dist/collection/components/avatar-group/types.js +1 -0
- package/dist/collection/components/badge/badge.css +580 -0
- package/dist/collection/components/badge/badge.js +723 -0
- package/dist/collection/components/badge/types.js +1 -0
- package/dist/collection/components/breadcrumb/breadcrumb-item.js +231 -0
- package/dist/collection/components/breadcrumb/breadcrumb.css +313 -0
- package/dist/collection/components/breadcrumb/breadcrumb.js +510 -0
- package/dist/collection/components/breadcrumb/types.js +1 -0
- package/dist/collection/components/button/button.css +1862 -0
- package/dist/collection/components/button/button.js +1380 -0
- package/dist/collection/components/button/types.js +1 -0
- package/dist/collection/components/button-toggle/button-toggle.css +97 -0
- package/dist/collection/components/button-toggle/button-toggle.js +620 -0
- package/dist/collection/components/button-toggle-group/button-toggle-group.css +401 -0
- package/dist/collection/components/button-toggle-group/button-toggle-group.js +1572 -0
- package/dist/collection/components/button-toggle-group/types.js +1 -0
- package/dist/collection/components/callout-banner/callout-banner.css +684 -0
- package/dist/collection/components/callout-banner/callout-banner.js +1076 -0
- package/dist/collection/components/callout-banner/types.js +1 -0
- package/dist/collection/components/card/card.css +663 -0
- package/dist/collection/components/card/card.js +1697 -0
- package/dist/collection/components/card/types.js +1 -0
- package/dist/collection/components/carousel/carousel.css +549 -0
- package/dist/collection/components/carousel/carousel.js +1512 -0
- package/dist/collection/components/carousel/types.js +1 -0
- package/dist/collection/components/checkbox/checkbox.css +863 -0
- package/dist/collection/components/checkbox/checkbox.js +1201 -0
- package/dist/collection/components/checkbox/types.js +1 -0
- package/dist/collection/components/checkbox-group/checkbox-group.css +223 -0
- package/dist/collection/components/checkbox-group/checkbox-group.js +1001 -0
- package/dist/collection/components/checkbox-group/types.js +1 -0
- package/dist/collection/components/code-editor/code-editor.css +1081 -0
- package/dist/collection/components/code-editor/code-editor.js +1211 -0
- package/dist/collection/components/code-editor/types.js +1 -0
- package/dist/collection/components/code-preview/types.js +1 -0
- package/dist/collection/components/code-preview/ui-code-preview.css +209 -0
- package/dist/collection/components/code-preview/ui-code-preview.js +548 -0
- package/dist/collection/components/color-controller/color-controller.css +108 -0
- package/dist/collection/components/color-controller/color-controller.js +224 -0
- package/dist/collection/components/color-picker/color-picker.css +323 -0
- package/dist/collection/components/color-picker/color-picker.js +1139 -0
- package/dist/collection/components/color-picker/types.js +1 -0
- package/dist/collection/components/command-palette/command-palette.css +260 -0
- package/dist/collection/components/command-palette/command-palette.js +429 -0
- package/dist/collection/components/command-palette/types.js +1 -0
- package/dist/collection/components/context-menu/context-menu.css +388 -0
- package/dist/collection/components/context-menu/context-menu.js +1412 -0
- package/dist/collection/components/context-menu/types.js +1 -0
- package/dist/collection/components/dialog-box/dialog-box.css +1261 -0
- package/dist/collection/components/dialog-box/dialog-box.js +4314 -0
- package/dist/collection/components/dialog-box/dialog-tray.css +268 -0
- package/dist/collection/components/dialog-box/types.js +1 -0
- package/dist/collection/components/dialog-content/dialog-content.css +83 -0
- package/dist/collection/components/dialog-content/dialog-content.js +96 -0
- package/dist/collection/components/dialog-footer/dialog-footer.css +89 -0
- package/dist/collection/components/dialog-footer/dialog-footer.js +94 -0
- package/dist/collection/components/dialog-footer/types.js +1 -0
- package/dist/collection/components/dialog-header/dialog-header.css +203 -0
- package/dist/collection/components/dialog-header/dialog-header.js +630 -0
- package/dist/collection/components/dialog-header/types.js +1 -0
- package/dist/collection/components/divider/divider.css +948 -0
- package/dist/collection/components/divider/divider.js +1612 -0
- package/dist/collection/components/divider/types.js +1 -0
- package/dist/collection/components/dock/dock.css +348 -0
- package/dist/collection/components/dock/dock.js +464 -0
- package/dist/collection/components/dock/types.js +1 -0
- package/dist/collection/components/dock-host/index.js +1 -0
- package/dist/collection/components/dock-host/types.js +1 -0
- package/dist/collection/components/dock-host/ui-dock-host.css +155 -0
- package/dist/collection/components/dock-host/ui-dock-host.js +226 -0
- package/dist/collection/components/drag-drop/drag-drop.css +103 -0
- package/dist/collection/components/drag-drop/drag-drop.js +385 -0
- package/dist/collection/components/drag-drop/types.js +1 -0
- package/dist/collection/components/dropdown/dropdown.css +1142 -0
- package/dist/collection/components/dropdown/dropdown.js +2033 -0
- package/dist/collection/components/dropdown/types.js +1 -0
- package/dist/collection/components/empty-state/empty-state.css +712 -0
- package/dist/collection/components/empty-state/empty-state.js +1256 -0
- package/dist/collection/components/empty-state/types.js +1 -0
- package/dist/collection/components/fab/fab.css +601 -0
- package/dist/collection/components/fab/fab.js +1124 -0
- package/dist/collection/components/fab-item/fab-item.css +107 -0
- package/dist/collection/components/fab-item/fab-item.js +177 -0
- package/dist/collection/components/fab-item/types.js +1 -0
- package/dist/collection/components/file-upload/file-upload.css +243 -0
- package/dist/collection/components/file-upload/file-upload.js +1022 -0
- package/dist/collection/components/file-upload/types.js +1 -0
- package/dist/collection/components/horizontal-nav/horizontal-nav.css +394 -0
- package/dist/collection/components/horizontal-nav/horizontal-nav.js +375 -0
- package/dist/collection/components/icon/icon.css +113 -0
- package/dist/collection/components/icon/icon.js +583 -0
- package/dist/collection/components/image-button/image-button.css +154 -0
- package/dist/collection/components/image-button/image-button.js +310 -0
- package/dist/collection/components/image-button/types.js +1 -0
- package/dist/collection/components/input/input.css +1544 -0
- package/dist/collection/components/input/input.js +3690 -0
- package/dist/collection/components/input/types.js +1 -0
- package/dist/collection/components/input-pair/input-pair.css +72 -0
- package/dist/collection/components/input-pair/input-pair.js +309 -0
- package/dist/collection/components/knob/knob.css +162 -0
- package/dist/collection/components/knob/knob.js +986 -0
- package/dist/collection/components/knob/types.js +1 -0
- package/dist/collection/components/layout-manager/layout-manager.css +41 -0
- package/dist/collection/components/layout-manager/layout-manager.js +525 -0
- package/dist/collection/components/layout-manager/lm-container/lm-container.css +117 -0
- package/dist/collection/components/layout-manager/lm-container/lm-container.js +110 -0
- package/dist/collection/components/layout-manager/lm-floating-window/lm-floating-window.css +0 -0
- package/dist/collection/components/layout-manager/lm-floating-window/lm-floating-window.js +49 -0
- package/dist/collection/components/layout-manager/lm-panel/lm-panel.css +97 -0
- package/dist/collection/components/layout-manager/lm-panel/lm-panel.js +58 -0
- package/dist/collection/components/layout-manager/lm-splitter/lm-splitter.css +57 -0
- package/dist/collection/components/layout-manager/lm-splitter/lm-splitter.js +120 -0
- package/dist/collection/components/layout-manager/lm-tabs/lm-tabs.css +149 -0
- package/dist/collection/components/layout-manager/lm-tabs/lm-tabs.js +130 -0
- package/dist/collection/components/layout-manager/types.js +1 -0
- package/dist/collection/components/library/category-section.css +147 -0
- package/dist/collection/components/library/category-section.js +139 -0
- package/dist/collection/components/library/data.js +74 -0
- package/dist/collection/components/library/library-card.css +181 -0
- package/dist/collection/components/library/library-card.js +203 -0
- package/dist/collection/components/library/library.css +358 -0
- package/dist/collection/components/library/library.js +91 -0
- package/dist/collection/components/list/list.css +1029 -0
- package/dist/collection/components/list/list.js +2167 -0
- package/dist/collection/components/list-group/list-group.css +275 -0
- package/dist/collection/components/list-group/list-group.js +356 -0
- package/dist/collection/components/list-item/list-item.css +1491 -0
- package/dist/collection/components/list-item/list-item.js +2184 -0
- package/dist/collection/components/masonry/masonry.css +414 -0
- package/dist/collection/components/masonry/masonry.js +1104 -0
- package/dist/collection/components/masonry/types.js +1 -0
- package/dist/collection/components/meter-group/meter-group.css +184 -0
- package/dist/collection/components/meter-group/meter-group.js +471 -0
- package/dist/collection/components/meter-group/types.js +1 -0
- package/dist/collection/components/my-component/my-component.css +27 -0
- package/dist/collection/components/my-component/my-component.js +95 -0
- package/dist/collection/components/my-step/my-step.css +25 -0
- package/dist/collection/components/my-step/my-step.js +237 -0
- package/dist/collection/components/nav-bar/nav-bar.css +448 -0
- package/dist/collection/components/nav-bar/nav-bar.js +608 -0
- package/dist/collection/components/number-input/number-input.css +200 -0
- package/dist/collection/components/number-input/number-input.js +695 -0
- package/dist/collection/components/otp-input/otp-input.css +243 -0
- package/dist/collection/components/otp-input/otp-input.js +761 -0
- package/dist/collection/components/otp-input/types.js +1 -0
- package/dist/collection/components/pagination/pagination.css +1399 -0
- package/dist/collection/components/pagination/pagination.js +2033 -0
- package/dist/collection/components/pagination/types.js +1 -0
- package/dist/collection/components/panel/panel.css +837 -0
- package/dist/collection/components/panel/panel.js +1842 -0
- package/dist/collection/components/panel/types.js +1 -0
- package/dist/collection/components/pattern-input/pattern-input.css +252 -0
- package/dist/collection/components/pattern-input/pattern-input.js +788 -0
- package/dist/collection/components/popover/popover.css +399 -0
- package/dist/collection/components/popover/popover.js +1449 -0
- package/dist/collection/components/popover/types.js +1 -0
- package/dist/collection/components/progress/progress.css +588 -0
- package/dist/collection/components/progress/progress.js +1414 -0
- package/dist/collection/components/progress/types.js +1 -0
- package/dist/collection/components/radio/radio.css +773 -0
- package/dist/collection/components/radio/radio.js +1059 -0
- package/dist/collection/components/radio/types.js +1 -0
- package/dist/collection/components/radio-group/radio-group.css +202 -0
- package/dist/collection/components/radio-group/radio-group.js +903 -0
- package/dist/collection/components/radio-group/types.js +1 -0
- package/dist/collection/components/range-slider/range-slider.css +602 -0
- package/dist/collection/components/range-slider/range-slider.js +1369 -0
- package/dist/collection/components/range-slider/types.js +1 -0
- package/dist/collection/components/rating/rating.css +768 -0
- package/dist/collection/components/rating/rating.js +1062 -0
- package/dist/collection/components/rating/types.js +1 -0
- package/dist/collection/components/resizable-panel/resizable-panel.css +247 -0
- package/dist/collection/components/resizable-panel/resizable-panel.js +874 -0
- package/dist/collection/components/resizable-panel/types.js +1 -0
- package/dist/collection/components/scroll-top/scroll-top.css +397 -0
- package/dist/collection/components/scroll-top/scroll-top.js +1178 -0
- package/dist/collection/components/scroll-top/types.js +1 -0
- package/dist/collection/components/skeleton/skeleton-loader.css +429 -0
- package/dist/collection/components/skeleton/skeleton-loader.js +1193 -0
- package/dist/collection/components/skeleton/types.js +1 -0
- package/dist/collection/components/smart-location-dropdown/smart-location-dropdown.css +357 -0
- package/dist/collection/components/smart-location-dropdown/smart-location-dropdown.js +1190 -0
- package/dist/collection/components/smart-location-dropdown/types.js +1 -0
- package/dist/collection/components/smart-menu/menu-item.interface.js +1 -0
- package/dist/collection/components/smart-menu/smart-menu.css +119 -0
- package/dist/collection/components/smart-menu/smart-menu.js +544 -0
- package/dist/collection/components/smart-stepper/smart-step.css +213 -0
- package/dist/collection/components/smart-stepper/smart-step.js +170 -0
- package/dist/collection/components/smart-stepper/smart-stepper.css +146 -0
- package/dist/collection/components/smart-stepper/smart-stepper.js +338 -0
- package/dist/collection/components/snackbar/snackbar.css +1480 -0
- package/dist/collection/components/snackbar/snackbar.js +1759 -0
- package/dist/collection/components/snackbar/types.js +1 -0
- package/dist/collection/components/speed-dial/speed-dial.css +478 -0
- package/dist/collection/components/speed-dial/speed-dial.js +1183 -0
- package/dist/collection/components/speed-dial/types.js +1 -0
- package/dist/collection/components/speedometer/speedometer.css +95 -0
- package/dist/collection/components/speedometer/speedometer.js +868 -0
- package/dist/collection/components/speedometer/types.js +1 -0
- package/dist/collection/components/splitter/splitter.css +269 -0
- package/dist/collection/components/splitter/splitter.js +713 -0
- package/dist/collection/components/splitter/types.js +1 -0
- package/dist/collection/components/stack/stack.css +269 -0
- package/dist/collection/components/stack/stack.js +297 -0
- package/dist/collection/components/stack/types.js +1 -0
- package/dist/collection/components/step/step.css +77 -0
- package/dist/collection/components/step/step.js +214 -0
- package/dist/collection/components/step/types.js +1 -0
- package/dist/collection/components/stepper/stepper.css +1079 -0
- package/dist/collection/components/stepper/stepper.js +1850 -0
- package/dist/collection/components/stepper/types.js +1 -0
- package/dist/collection/components/switch/switch.css +1099 -0
- package/dist/collection/components/switch/switch.js +1578 -0
- package/dist/collection/components/tabs/tabs.css +1355 -0
- package/dist/collection/components/tabs/tabs.js +1474 -0
- package/dist/collection/components/tabs/types.js +1 -0
- package/dist/collection/components/tag/tag.css +893 -0
- package/dist/collection/components/tag/tag.js +1119 -0
- package/dist/collection/components/tag/types.js +1 -0
- package/dist/collection/components/tag-group/tag-group.css +144 -0
- package/dist/collection/components/tag-group/tag-group.js +887 -0
- package/dist/collection/components/tag-group/types.js +1 -0
- package/dist/collection/components/timeline/timeline.css +1850 -0
- package/dist/collection/components/timeline/timeline.js +889 -0
- package/dist/collection/components/timeline/types.js +1 -0
- package/dist/collection/components/timeline/ui-timeline.stories.js +19 -0
- package/dist/collection/components/timeline-item/timeline-item.css +75 -0
- package/dist/collection/components/timeline-item/timeline-item.js +91 -0
- package/dist/collection/components/timer/timer.css +367 -0
- package/dist/collection/components/timer/timer.js +1292 -0
- package/dist/collection/components/timer/types.js +1 -0
- package/dist/collection/components/timer/ui-timer.stories.js +19 -0
- package/dist/collection/components/toggle-group/toggle-group.css +361 -0
- package/dist/collection/components/toggle-group/toggle-group.js +1212 -0
- package/dist/collection/components/toggle-group/types.js +1 -0
- package/dist/collection/components/toolbar/toolbar-types.js +1 -0
- package/dist/collection/components/toolbar/toolbar.css +1186 -0
- package/dist/collection/components/toolbar/toolbar.js +1635 -0
- package/dist/collection/components/tooltip/tooltip.css +609 -0
- package/dist/collection/components/tooltip/tooltip.js +1882 -0
- package/dist/collection/components/tooltip/types.js +1 -0
- package/dist/collection/components/top-bar/top-bar.css +274 -0
- package/dist/collection/components/top-bar/top-bar.js +383 -0
- package/dist/collection/components/transfer-list/transfer-list.css +520 -0
- package/dist/collection/components/transfer-list/transfer-list.js +1225 -0
- package/dist/collection/components/transfer-list/types.js +1 -0
- package/dist/collection/components/tree/tree.css +1197 -0
- package/dist/collection/components/tree/tree.js +2509 -0
- package/dist/collection/components/tree/types.js +1 -0
- package/dist/collection/components/ui-navigation-bar/navigation-bar/navigation-bar.css +830 -0
- package/dist/collection/components/ui-navigation-bar/navigation-bar/navigation-bar.js +1231 -0
- package/dist/collection/components/ui-navigation-bar/navigation-bar/navigation-types.js +1 -0
- package/dist/collection/components/ui-navigation-bar/navigation-item.css +679 -0
- package/dist/collection/components/ui-navigation-bar/navigation-item.js +385 -0
- package/dist/collection/components/ui-navigation-bar/navigation-types.js +1 -0
- package/dist/collection/components/workspace-manager/types.js +1 -0
- package/dist/collection/components/workspace-manager/workspace-manager.css +1094 -0
- package/dist/collection/components/workspace-manager/workspace-manager.js +1914 -0
- package/dist/collection/components.js +51 -0
- package/dist/collection/index.js +108 -0
- package/dist/collection/service/drag-manager.js +23 -0
- package/dist/collection/service/event-bus.js +19 -0
- package/dist/collection/service/serialization.js +8 -0
- package/dist/collection/service/state-engine.js +247 -0
- package/dist/collection/service/theme-switcher.js +146 -0
- package/dist/collection/stories/Button.stories.js +15 -0
- package/dist/collection/types/common.js +1 -0
- package/dist/collection/types/index.js +4 -0
- package/dist/collection/utils/aria-live.js +60 -0
- package/dist/collection/utils/component-size.js +25 -0
- package/dist/collection/utils/dom.js +260 -0
- package/dist/collection/utils/focus-trap.js +135 -0
- package/dist/collection/utils/security.js +10 -0
- package/dist/collection/utils/test/setup-component-test-env.js +92 -0
- package/dist/collection/utils/utils.js +21 -0
- package/dist/collection/utils/validation.js +74 -0
- package/dist/components/avatar-group.js +1 -0
- package/dist/components/avatar.js +1 -0
- package/dist/components/badge.js +1 -0
- package/dist/components/button-toggle.js +1 -0
- package/dist/components/category-section.d.ts +11 -0
- package/dist/components/category-section.js +1 -0
- package/dist/components/category-section2.js +1 -0
- package/dist/components/checkbox.js +1 -0
- package/dist/components/context-menu.js +1 -0
- package/dist/components/dialog-footer.js +1 -0
- package/dist/components/dialog-header.js +1 -0
- package/dist/components/dom.js +1 -0
- package/dist/components/dropdown.js +1 -0
- package/dist/components/event-bus.js +1 -0
- package/dist/components/focus-trap.js +1 -0
- package/dist/components/icon.js +2 -0
- package/dist/components/index.d.ts +35 -0
- package/dist/components/index.js +1 -0
- package/dist/components/input.js +1 -0
- package/dist/components/layout-manager.d.ts +11 -0
- package/dist/components/layout-manager.js +1 -0
- package/dist/components/library-card.d.ts +11 -0
- package/dist/components/library-card.js +1 -0
- package/dist/components/library-card2.js +1 -0
- package/dist/components/list-group.js +1 -0
- package/dist/components/list-item.js +1 -0
- package/dist/components/lm-container.d.ts +11 -0
- package/dist/components/lm-container.js +1 -0
- package/dist/components/lm-container2.js +1 -0
- package/dist/components/lm-floating-window.d.ts +11 -0
- package/dist/components/lm-floating-window.js +1 -0
- package/dist/components/lm-floating-window2.js +1 -0
- package/dist/components/lm-panel.d.ts +11 -0
- package/dist/components/lm-panel.js +1 -0
- package/dist/components/lm-panel2.js +1 -0
- package/dist/components/lm-splitter.d.ts +11 -0
- package/dist/components/lm-splitter.js +1 -0
- package/dist/components/lm-splitter2.js +1 -0
- package/dist/components/lm-tabs.d.ts +11 -0
- package/dist/components/lm-tabs.js +1 -0
- package/dist/components/lm-tabs2.js +1 -0
- package/dist/components/my-component.d.ts +11 -0
- package/dist/components/my-component.js +1 -0
- package/dist/components/my-step.d.ts +11 -0
- package/dist/components/my-step.js +1 -0
- package/dist/components/nav-bar.d.ts +11 -0
- package/dist/components/nav-bar.js +1 -0
- package/dist/components/pagination.js +1 -0
- package/dist/components/radio.js +1 -0
- package/dist/components/range-slider.js +1 -0
- package/dist/components/rating.js +1 -0
- package/dist/components/resizable-panel.js +1 -0
- package/dist/components/skeleton-loader.js +1 -0
- package/dist/components/smart-step.d.ts +11 -0
- package/dist/components/smart-step.js +1 -0
- package/dist/components/stack.js +1 -0
- package/dist/components/switch.js +1 -0
- package/dist/components/tag-group.js +1 -0
- package/dist/components/tag.js +1 -0
- package/dist/components/timeline-item.d.ts +11 -0
- package/dist/components/timeline-item.js +1 -0
- package/dist/components/toggle-group.js +1 -0
- package/dist/components/tooltip.js +1 -0
- package/dist/components/ui-accordion.d.ts +11 -0
- package/dist/components/ui-accordion.js +1 -0
- package/dist/components/ui-advanced-data-table.d.ts +11 -0
- package/dist/components/ui-advanced-data-table.js +1 -0
- package/dist/components/ui-anchor.d.ts +11 -0
- package/dist/components/ui-anchor.js +1 -0
- package/dist/components/ui-animate-on-scroll.d.ts +11 -0
- package/dist/components/ui-animate-on-scroll.js +1 -0
- package/dist/components/ui-aside-panel.d.ts +11 -0
- package/dist/components/ui-aside-panel.js +1 -0
- package/dist/components/ui-avatar-group.d.ts +11 -0
- package/dist/components/ui-avatar-group.js +1 -0
- package/dist/components/ui-avatar.d.ts +11 -0
- package/dist/components/ui-avatar.js +1 -0
- package/dist/components/ui-badge.d.ts +11 -0
- package/dist/components/ui-badge.js +1 -0
- package/dist/components/ui-breadcrumb-item.d.ts +11 -0
- package/dist/components/ui-breadcrumb-item.js +1 -0
- package/dist/components/ui-breadcrumb.d.ts +11 -0
- package/dist/components/ui-breadcrumb.js +1 -0
- package/dist/components/ui-button-toggle-group.d.ts +11 -0
- package/dist/components/ui-button-toggle-group.js +1 -0
- package/dist/components/ui-button-toggle.d.ts +11 -0
- package/dist/components/ui-button-toggle.js +1 -0
- package/dist/components/ui-button.d.ts +11 -0
- package/dist/components/ui-button.js +1 -0
- package/dist/components/ui-callout-banner.d.ts +11 -0
- package/dist/components/ui-callout-banner.js +1 -0
- package/dist/components/ui-card.d.ts +11 -0
- package/dist/components/ui-card.js +1 -0
- package/dist/components/ui-carousel.d.ts +11 -0
- package/dist/components/ui-carousel.js +1 -0
- package/dist/components/ui-checkbox-group.d.ts +11 -0
- package/dist/components/ui-checkbox-group.js +1 -0
- package/dist/components/ui-checkbox.d.ts +11 -0
- package/dist/components/ui-checkbox.js +1 -0
- package/dist/components/ui-code-editor.d.ts +11 -0
- package/dist/components/ui-code-editor.js +1 -0
- package/dist/components/ui-code-preview.d.ts +11 -0
- package/dist/components/ui-code-preview.js +1 -0
- package/dist/components/ui-color-controller.d.ts +11 -0
- package/dist/components/ui-color-controller.js +1 -0
- package/dist/components/ui-color-picker.d.ts +11 -0
- package/dist/components/ui-color-picker.js +1 -0
- package/dist/components/ui-command-palette.d.ts +11 -0
- package/dist/components/ui-command-palette.js +1 -0
- package/dist/components/ui-context-menu.d.ts +11 -0
- package/dist/components/ui-context-menu.js +1 -0
- package/dist/components/ui-dialog-box.d.ts +11 -0
- package/dist/components/ui-dialog-box.js +1 -0
- package/dist/components/ui-dialog-content.d.ts +11 -0
- package/dist/components/ui-dialog-content.js +1 -0
- package/dist/components/ui-dialog-footer.d.ts +11 -0
- package/dist/components/ui-dialog-footer.js +1 -0
- package/dist/components/ui-dialog-header.d.ts +11 -0
- package/dist/components/ui-dialog-header.js +1 -0
- package/dist/components/ui-divider.d.ts +11 -0
- package/dist/components/ui-divider.js +1 -0
- package/dist/components/ui-dock-host.d.ts +11 -0
- package/dist/components/ui-dock-host.js +1 -0
- package/dist/components/ui-dock.d.ts +11 -0
- package/dist/components/ui-dock.js +1 -0
- package/dist/components/ui-drag-drop.d.ts +11 -0
- package/dist/components/ui-drag-drop.js +1 -0
- package/dist/components/ui-dropdown.d.ts +11 -0
- package/dist/components/ui-dropdown.js +1 -0
- package/dist/components/ui-empty-state.d.ts +11 -0
- package/dist/components/ui-empty-state.js +1 -0
- package/dist/components/ui-fab-item.d.ts +11 -0
- package/dist/components/ui-fab-item.js +1 -0
- package/dist/components/ui-fab.d.ts +11 -0
- package/dist/components/ui-fab.js +1 -0
- package/dist/components/ui-file-upload.d.ts +11 -0
- package/dist/components/ui-file-upload.js +1 -0
- package/dist/components/ui-horizontal-nav.d.ts +11 -0
- package/dist/components/ui-horizontal-nav.js +1 -0
- package/dist/components/ui-icon.d.ts +11 -0
- package/dist/components/ui-icon.js +1 -0
- package/dist/components/ui-image-button.d.ts +11 -0
- package/dist/components/ui-image-button.js +1 -0
- package/dist/components/ui-input-pair.d.ts +11 -0
- package/dist/components/ui-input-pair.js +1 -0
- package/dist/components/ui-input.d.ts +11 -0
- package/dist/components/ui-input.js +1 -0
- package/dist/components/ui-knob.d.ts +11 -0
- package/dist/components/ui-knob.js +1 -0
- package/dist/components/ui-library.d.ts +11 -0
- package/dist/components/ui-library.js +1 -0
- package/dist/components/ui-list-group.d.ts +11 -0
- package/dist/components/ui-list-group.js +1 -0
- package/dist/components/ui-list-item.d.ts +11 -0
- package/dist/components/ui-list-item.js +1 -0
- package/dist/components/ui-list.d.ts +11 -0
- package/dist/components/ui-list.js +1 -0
- package/dist/components/ui-masonry.d.ts +11 -0
- package/dist/components/ui-masonry.js +1 -0
- package/dist/components/ui-meter-group.d.ts +11 -0
- package/dist/components/ui-meter-group.js +1 -0
- package/dist/components/ui-navigation-bar.d.ts +11 -0
- package/dist/components/ui-navigation-bar.js +1 -0
- package/dist/components/ui-navigation-item.d.ts +11 -0
- package/dist/components/ui-navigation-item.js +1 -0
- package/dist/components/ui-number-input.d.ts +11 -0
- package/dist/components/ui-number-input.js +1 -0
- package/dist/components/ui-otp-input.d.ts +11 -0
- package/dist/components/ui-otp-input.js +1 -0
- package/dist/components/ui-pagination.d.ts +11 -0
- package/dist/components/ui-pagination.js +1 -0
- package/dist/components/ui-panel.d.ts +11 -0
- package/dist/components/ui-panel.js +1 -0
- package/dist/components/ui-pattern-input.d.ts +11 -0
- package/dist/components/ui-pattern-input.js +1 -0
- package/dist/components/ui-popover.d.ts +11 -0
- package/dist/components/ui-popover.js +1 -0
- package/dist/components/ui-progress.d.ts +11 -0
- package/dist/components/ui-progress.js +1 -0
- package/dist/components/ui-radio-group.d.ts +11 -0
- package/dist/components/ui-radio-group.js +1 -0
- package/dist/components/ui-radio.d.ts +11 -0
- package/dist/components/ui-radio.js +1 -0
- package/dist/components/ui-range-slider.d.ts +11 -0
- package/dist/components/ui-range-slider.js +1 -0
- package/dist/components/ui-rating.d.ts +11 -0
- package/dist/components/ui-rating.js +1 -0
- package/dist/components/ui-resizable-panel.d.ts +11 -0
- package/dist/components/ui-resizable-panel.js +1 -0
- package/dist/components/ui-scroll-top.d.ts +11 -0
- package/dist/components/ui-scroll-top.js +1 -0
- package/dist/components/ui-skeleton.d.ts +11 -0
- package/dist/components/ui-skeleton.js +1 -0
- package/dist/components/ui-smart-context-menu.d.ts +11 -0
- package/dist/components/ui-smart-context-menu.js +1 -0
- package/dist/components/ui-smart-location-dropdown.d.ts +11 -0
- package/dist/components/ui-smart-location-dropdown.js +1 -0
- package/dist/components/ui-smart-stepper.d.ts +11 -0
- package/dist/components/ui-smart-stepper.js +1 -0
- package/dist/components/ui-snackbar.d.ts +11 -0
- package/dist/components/ui-snackbar.js +1 -0
- package/dist/components/ui-speed-dial.d.ts +11 -0
- package/dist/components/ui-speed-dial.js +1 -0
- package/dist/components/ui-speedometer.d.ts +11 -0
- package/dist/components/ui-speedometer.js +1 -0
- package/dist/components/ui-splitter.d.ts +11 -0
- package/dist/components/ui-splitter.js +1 -0
- package/dist/components/ui-stack.d.ts +11 -0
- package/dist/components/ui-stack.js +1 -0
- package/dist/components/ui-step.d.ts +11 -0
- package/dist/components/ui-step.js +1 -0
- package/dist/components/ui-stepper.d.ts +11 -0
- package/dist/components/ui-stepper.js +1 -0
- package/dist/components/ui-switch.d.ts +11 -0
- package/dist/components/ui-switch.js +1 -0
- package/dist/components/ui-tabs.d.ts +11 -0
- package/dist/components/ui-tabs.js +1 -0
- package/dist/components/ui-tag-group.d.ts +11 -0
- package/dist/components/ui-tag-group.js +1 -0
- package/dist/components/ui-tag.d.ts +11 -0
- package/dist/components/ui-tag.js +1 -0
- package/dist/components/ui-timeline.d.ts +11 -0
- package/dist/components/ui-timeline.js +1 -0
- package/dist/components/ui-timer.d.ts +11 -0
- package/dist/components/ui-timer.js +1 -0
- package/dist/components/ui-toggle-group.d.ts +11 -0
- package/dist/components/ui-toggle-group.js +1 -0
- package/dist/components/ui-toolbar.d.ts +11 -0
- package/dist/components/ui-toolbar.js +1 -0
- package/dist/components/ui-tooltip.d.ts +11 -0
- package/dist/components/ui-tooltip.js +1 -0
- package/dist/components/ui-top-bar.d.ts +11 -0
- package/dist/components/ui-top-bar.js +1 -0
- package/dist/components/ui-transfer-list.d.ts +11 -0
- package/dist/components/ui-transfer-list.js +1 -0
- package/dist/components/ui-tree.d.ts +11 -0
- package/dist/components/ui-tree.js +1 -0
- package/dist/components/ui-workspace-manager.d.ts +11 -0
- package/dist/components/ui-workspace-manager.js +1 -0
- package/dist/components/utils.js +1 -0
- package/dist/esm/category-section.entry.js +28 -0
- package/dist/esm/component-size-C7gf39HE.js +27 -0
- package/dist/esm/dom-BMFah5q3.js +262 -0
- package/dist/esm/event-bus-vwwmWKs9.js +21 -0
- package/dist/esm/exploration-project-tailwind.js +20 -0
- package/dist/esm/focus-trap-BSQ8klD4.js +137 -0
- package/dist/esm/index-DUsoYu9r.js +2264 -0
- package/dist/esm/index.js +256 -0
- package/dist/esm/layout-manager.entry.js +614 -0
- package/dist/esm/library-card.entry.js +61 -0
- package/dist/esm/lm-container_2.entry.js +76 -0
- package/dist/esm/lm-panel_3.entry.js +104 -0
- package/dist/esm/loader.js +10 -0
- package/dist/esm/my-component.entry.js +31 -0
- package/dist/esm/my-step.entry.js +27 -0
- package/dist/esm/nav-bar.entry.js +245 -0
- package/dist/esm/security-D2WzX6vR.js +1545 -0
- package/dist/esm/smart-step.entry.js +45 -0
- package/dist/esm/timeline-item.entry.js +27 -0
- package/dist/esm/ui-accordion_10.entry.js +5722 -0
- package/dist/esm/ui-advanced-data-table.entry.js +2682 -0
- package/dist/esm/ui-anchor.entry.js +556 -0
- package/dist/esm/ui-animate-on-scroll.entry.js +283 -0
- package/dist/esm/ui-aside-panel.entry.js +636 -0
- package/dist/esm/ui-avatar-group_3.entry.js +630 -0
- package/dist/esm/ui-breadcrumb-item.entry.js +54 -0
- package/dist/esm/ui-breadcrumb.entry.js +199 -0
- package/dist/esm/ui-callout-banner.entry.js +289 -0
- package/dist/esm/ui-card.entry.js +409 -0
- package/dist/esm/ui-carousel.entry.js +545 -0
- package/dist/esm/ui-checkbox-group.entry.js +328 -0
- package/dist/esm/ui-checkbox.entry.js +258 -0
- package/dist/esm/ui-code-editor.entry.js +959 -0
- package/dist/esm/ui-code-preview.entry.js +313 -0
- package/dist/esm/ui-color-controller.entry.js +148 -0
- package/dist/esm/ui-color-picker.entry.js +656 -0
- package/dist/esm/ui-command-palette.entry.js +176 -0
- package/dist/esm/ui-dialog-box.entry.js +1806 -0
- package/dist/esm/ui-dialog-content.entry.js +29 -0
- package/dist/esm/ui-dialog-footer_2.entry.js +190 -0
- package/dist/esm/ui-divider.entry.js +479 -0
- package/dist/esm/ui-dock-host.entry.js +126 -0
- package/dist/esm/ui-dock.entry.js +219 -0
- package/dist/esm/ui-drag-drop.entry.js +170 -0
- package/dist/esm/ui-dropdown_2.entry.js +1549 -0
- package/dist/esm/ui-empty-state.entry.js +396 -0
- package/dist/esm/ui-fab-item.entry.js +37 -0
- package/dist/esm/ui-fab.entry.js +275 -0
- package/dist/esm/ui-file-upload.entry.js +416 -0
- package/dist/esm/ui-horizontal-nav.entry.js +133 -0
- package/dist/esm/ui-image-button.entry.js +65 -0
- package/dist/esm/ui-input-pair.entry.js +42 -0
- package/dist/esm/ui-knob.entry.js +445 -0
- package/dist/esm/ui-library.entry.js +132 -0
- package/dist/esm/ui-list-group_2.entry.js +583 -0
- package/dist/esm/ui-list.entry.js +730 -0
- package/dist/esm/ui-masonry.entry.js +476 -0
- package/dist/esm/ui-meter-group.entry.js +171 -0
- package/dist/esm/ui-navigation-item.entry.js +102 -0
- package/dist/esm/ui-number-input.entry.js +189 -0
- package/dist/esm/ui-otp-input.entry.js +244 -0
- package/dist/esm/ui-pagination_3.entry.js +1617 -0
- package/dist/esm/ui-panel.entry.js +612 -0
- package/dist/esm/ui-pattern-input.entry.js +276 -0
- package/dist/esm/ui-popover.entry.js +515 -0
- package/dist/esm/ui-progress.entry.js +514 -0
- package/dist/esm/ui-radio-group.entry.js +203 -0
- package/dist/esm/ui-radio.entry.js +204 -0
- package/dist/esm/ui-range-slider.entry.js +635 -0
- package/dist/esm/ui-resizable-panel.entry.js +482 -0
- package/dist/esm/ui-scroll-top.entry.js +457 -0
- package/dist/esm/ui-smart-context-menu.entry.js +374 -0
- package/dist/esm/ui-smart-location-dropdown.entry.js +563 -0
- package/dist/esm/ui-smart-stepper.entry.js +135 -0
- package/dist/esm/ui-snackbar.entry.js +861 -0
- package/dist/esm/ui-speed-dial.entry.js +518 -0
- package/dist/esm/ui-speedometer.entry.js +426 -0
- package/dist/esm/ui-splitter.entry.js +280 -0
- package/dist/esm/ui-step.entry.js +28 -0
- package/dist/esm/ui-stepper.entry.js +638 -0
- package/dist/esm/ui-switch.entry.js +403 -0
- package/dist/esm/ui-tabs.entry.js +701 -0
- package/dist/esm/ui-tag.entry.js +297 -0
- package/dist/esm/ui-timeline.entry.js +265 -0
- package/dist/esm/ui-timer.entry.js +500 -0
- package/dist/esm/ui-toolbar.entry.js +617 -0
- package/dist/esm/ui-tooltip.entry.js +695 -0
- package/dist/esm/ui-top-bar.entry.js +119 -0
- package/dist/esm/ui-transfer-list.entry.js +590 -0
- package/dist/esm/ui-tree.entry.js +872 -0
- package/dist/esm/ui-workspace-manager.entry.js +1199 -0
- package/dist/esm/utils-Ck6jDuhz.js +23 -0
- package/dist/exploration-project-tailwind/exploration-project-tailwind.css +1 -0
- package/dist/exploration-project-tailwind/exploration-project-tailwind.esm.js +1 -0
- package/dist/exploration-project-tailwind/index.esm.js +1 -0
- package/dist/exploration-project-tailwind/p-01c7db7a.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-049744f9.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-06f0c679.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-0b004861.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-0d31c9e9.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-148e81df.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-200241f8.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-287dbf09.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-2d273118.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-2f1aebb3.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-2f961934.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-35296877.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-36861546.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-3d3d48fd.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-41cd6bf0.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-45482d86.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-46596a28.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-46efdea3.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-47e2a7ee.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-4d73c143.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-4de419d5.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-4f6bba75.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-5508874f.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-5ce0dbd8.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-5e3e80ae.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-61717490.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-62352ef2.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-64e3a484.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-6ab80ead.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-6e9694f2.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-6fa9dc15.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-70d82d79.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-717dad1f.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-7376ac95.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-73d29a4a.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-7515b1e3.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-77124686.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-77a21491.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-77cc333a.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-7f91d949.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-807c6555.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-81961fb1.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-85bf89fd.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-85e36111.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-875be805.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-898dd0fa.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-8d951aef.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-9d0c8760.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-9fa70359.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-9fc06ff0.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-BMFah5q3.js +1 -0
- package/dist/exploration-project-tailwind/p-BSQ8klD4.js +1 -0
- package/dist/exploration-project-tailwind/p-C7gf39HE.js +1 -0
- package/dist/exploration-project-tailwind/p-Ck6jDuhz.js +1 -0
- package/dist/exploration-project-tailwind/p-D2WzX6vR.js +2 -0
- package/dist/exploration-project-tailwind/p-DUsoYu9r.js +2 -0
- package/dist/exploration-project-tailwind/p-a1ad32a2.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-a3f465d9.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-a42fdc33.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-a4f52a76.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-aa85ff78.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-ab752761.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-ba21fed3.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-c174a372.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-c2ca71ac.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-c4ba7e52.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-c5ddc817.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-c69dd43e.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-c6fd72e1.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-c7e87fbb.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-c87aeab6.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-c90722ec.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-ccb5c737.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-ce1222a1.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-d16c9635.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-d2308a00.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-d30e24bd.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-d419eaf0.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-debede45.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-e5322e59.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-e8ba0c95.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-e90d5307.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-ea51c5d8.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-ecda1cc3.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-f0830120.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-f11e5cae.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-f5719913.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-ffb1754a.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-vwwmWKs9.js +1 -0
- package/dist/index.cjs.js +1 -0
- package/dist/index.js +1 -0
- package/dist/types/components/accordion/accordion.d.ts +352 -0
- package/dist/types/components/accordion/types.d.ts +69 -0
- package/dist/types/components/advanced-data-table/advanced-data-table.d.ts +697 -0
- package/dist/types/components/advanced-data-table/types.d.ts +120 -0
- package/dist/types/components/anchor/anchor.d.ts +133 -0
- package/dist/types/components/anchor/types.d.ts +17 -0
- package/dist/types/components/animate-on-scroll/animate-on-scroll.d.ts +101 -0
- package/dist/types/components/aside-panel/aside-panel.d.ts +249 -0
- package/dist/types/components/avatar/avatar.d.ts +201 -0
- package/dist/types/components/avatar/types.d.ts +132 -0
- package/dist/types/components/avatar-group/avatar-group.d.ts +52 -0
- package/dist/types/components/avatar-group/types.d.ts +31 -0
- package/dist/types/components/badge/badge.d.ts +109 -0
- package/dist/types/components/badge/types.d.ts +6 -0
- package/dist/types/components/breadcrumb/breadcrumb-item.d.ts +36 -0
- package/dist/types/components/breadcrumb/breadcrumb.d.ts +73 -0
- package/dist/types/components/breadcrumb/types.d.ts +5 -0
- package/dist/types/components/button/button.d.ts +133 -0
- package/dist/types/components/button/types.d.ts +1 -0
- package/dist/types/components/button-toggle/button-toggle.d.ts +64 -0
- package/dist/types/components/button-toggle-group/button-toggle-group.d.ts +141 -0
- package/dist/types/components/button-toggle-group/types.d.ts +7 -0
- package/dist/types/components/callout-banner/callout-banner.d.ts +115 -0
- package/dist/types/components/callout-banner/types.d.ts +7 -0
- package/dist/types/components/card/card.d.ts +160 -0
- package/dist/types/components/card/types.d.ts +13 -0
- package/dist/types/components/carousel/carousel.d.ts +150 -0
- package/dist/types/components/carousel/types.d.ts +8 -0
- package/dist/types/components/checkbox/checkbox.d.ts +92 -0
- package/dist/types/components/checkbox/types.d.ts +5 -0
- package/dist/types/components/checkbox-group/checkbox-group.d.ts +87 -0
- package/dist/types/components/checkbox-group/types.d.ts +8 -0
- package/dist/types/components/code-editor/code-editor.d.ts +147 -0
- package/dist/types/components/code-editor/types.d.ts +20 -0
- package/dist/types/components/code-preview/types.d.ts +5 -0
- package/dist/types/components/code-preview/ui-code-preview.d.ts +69 -0
- package/dist/types/components/color-controller/color-controller.d.ts +24 -0
- package/dist/types/components/color-picker/color-picker.d.ts +116 -0
- package/dist/types/components/color-picker/types.d.ts +24 -0
- package/dist/types/components/command-palette/command-palette.d.ts +41 -0
- package/dist/types/components/command-palette/types.d.ts +7 -0
- package/dist/types/components/context-menu/context-menu.d.ts +135 -0
- package/dist/types/components/context-menu/types.d.ts +20 -0
- package/dist/types/components/dialog-box/dialog-box.d.ts +648 -0
- package/dist/types/components/dialog-box/types.d.ts +1 -0
- package/dist/types/components/dialog-content/dialog-content.d.ts +9 -0
- package/dist/types/components/dialog-footer/dialog-footer.d.ts +9 -0
- package/dist/types/components/dialog-footer/types.d.ts +1 -0
- package/dist/types/components/dialog-header/dialog-header.d.ts +102 -0
- package/dist/types/components/dialog-header/types.d.ts +2 -0
- package/dist/types/components/divider/divider.d.ts +245 -0
- package/dist/types/components/divider/types.d.ts +14 -0
- package/dist/types/components/dock/dock.d.ts +37 -0
- package/dist/types/components/dock/types.d.ts +11 -0
- package/dist/types/components/dock-host/index.d.ts +1 -0
- package/dist/types/components/dock-host/types.d.ts +1 -0
- package/dist/types/components/dock-host/ui-dock-host.d.ts +23 -0
- package/dist/types/components/drag-drop/drag-drop.d.ts +52 -0
- package/dist/types/components/drag-drop/types.d.ts +9 -0
- package/dist/types/components/dropdown/dropdown.d.ts +264 -0
- package/dist/types/components/dropdown/types.d.ts +19 -0
- package/dist/types/components/empty-state/empty-state.d.ts +74 -0
- package/dist/types/components/empty-state/types.d.ts +13 -0
- package/dist/types/components/fab/fab.d.ts +73 -0
- package/dist/types/components/fab-item/fab-item.d.ts +14 -0
- package/dist/types/components/fab-item/types.d.ts +3 -0
- package/dist/types/components/file-upload/file-upload.d.ts +91 -0
- package/dist/types/components/file-upload/types.d.ts +15 -0
- package/dist/types/components/horizontal-nav/horizontal-nav.d.ts +68 -0
- package/dist/types/components/icon/icon.d.ts +66 -0
- package/dist/types/components/image-button/image-button.d.ts +31 -0
- package/dist/types/components/image-button/types.d.ts +1 -0
- package/dist/types/components/input/input.d.ts +217 -0
- package/dist/types/components/input/types.d.ts +6 -0
- package/dist/types/components/input-pair/input-pair.d.ts +28 -0
- package/dist/types/components/knob/knob.d.ts +147 -0
- package/dist/types/components/knob/types.d.ts +4 -0
- package/dist/types/components/layout-manager/layout-manager.d.ts +32 -0
- package/dist/types/components/layout-manager/lm-container/lm-container.d.ts +7 -0
- package/dist/types/components/layout-manager/lm-floating-window/lm-floating-window.d.ts +6 -0
- package/dist/types/components/layout-manager/lm-panel/lm-panel.d.ts +7 -0
- package/dist/types/components/layout-manager/lm-splitter/lm-splitter.d.ts +12 -0
- package/dist/types/components/layout-manager/lm-tabs/lm-tabs.d.ts +12 -0
- package/dist/types/components/layout-manager/types.d.ts +1 -0
- package/dist/types/components/library/category-section.d.ts +15 -0
- package/dist/types/components/library/data.d.ts +11 -0
- package/dist/types/components/library/library-card.d.ts +19 -0
- package/dist/types/components/library/library.d.ts +9 -0
- package/dist/types/components/list/list.d.ts +183 -0
- package/dist/types/components/list-group/list-group.d.ts +28 -0
- package/dist/types/components/list-item/list-item.d.ts +200 -0
- package/dist/types/components/masonry/masonry.d.ts +105 -0
- package/dist/types/components/masonry/types.d.ts +5 -0
- package/dist/types/components/meter-group/meter-group.d.ts +66 -0
- package/dist/types/components/meter-group/types.d.ts +12 -0
- package/dist/types/components/my-component/my-component.d.ts +16 -0
- package/dist/types/components/my-step/index.d.ts +12 -0
- package/dist/types/components/my-step/my-step.d.ts +13 -0
- package/dist/types/components/nav-bar/nav-bar.d.ts +119 -0
- package/dist/types/components/number-input/number-input.d.ts +72 -0
- package/dist/types/components/otp-input/otp-input.d.ts +64 -0
- package/dist/types/components/otp-input/types.d.ts +3 -0
- package/dist/types/components/pagination/pagination.d.ts +295 -0
- package/dist/types/components/pagination/types.d.ts +1 -0
- package/dist/types/components/panel/panel.d.ts +275 -0
- package/dist/types/components/panel/types.d.ts +7 -0
- package/dist/types/components/pattern-input/pattern-input.d.ts +88 -0
- package/dist/types/components/popover/popover.d.ts +161 -0
- package/dist/types/components/popover/types.d.ts +3 -0
- package/dist/types/components/progress/progress.d.ts +224 -0
- package/dist/types/components/progress/types.d.ts +6 -0
- package/dist/types/components/radio/radio.d.ts +87 -0
- package/dist/types/components/radio/types.d.ts +7 -0
- package/dist/types/components/radio-group/radio-group.d.ts +74 -0
- package/dist/types/components/radio-group/types.d.ts +2 -0
- package/dist/types/components/range-slider/range-slider.d.ts +201 -0
- package/dist/types/components/range-slider/types.d.ts +4 -0
- package/dist/types/components/rating/rating.d.ts +127 -0
- package/dist/types/components/rating/types.d.ts +1 -0
- package/dist/types/components/resizable-panel/resizable-panel.d.ts +59 -0
- package/dist/types/components/resizable-panel/types.d.ts +11 -0
- package/dist/types/components/scroll-top/scroll-top.d.ts +186 -0
- package/dist/types/components/scroll-top/types.d.ts +1 -0
- package/dist/types/components/skeleton/skeleton-loader.d.ts +149 -0
- package/dist/types/components/skeleton/types.d.ts +1 -0
- package/dist/types/components/smart-location-dropdown/smart-location-dropdown.d.ts +119 -0
- package/dist/types/components/smart-location-dropdown/types.d.ts +37 -0
- package/dist/types/components/smart-menu/menu-item.interface.d.ts +10 -0
- package/dist/types/components/smart-menu/smart-menu.d.ts +64 -0
- package/dist/types/components/smart-stepper/smart-step.d.ts +29 -0
- package/dist/types/components/smart-stepper/smart-stepper.d.ts +53 -0
- package/dist/types/components/snackbar/snackbar.d.ts +223 -0
- package/dist/types/components/snackbar/types.d.ts +104 -0
- package/dist/types/components/speed-dial/speed-dial.d.ts +171 -0
- package/dist/types/components/speed-dial/types.d.ts +11 -0
- package/dist/types/components/speedometer/speedometer.d.ts +125 -0
- package/dist/types/components/speedometer/types.d.ts +8 -0
- package/dist/types/components/splitter/splitter.d.ts +63 -0
- package/dist/types/components/splitter/types.d.ts +9 -0
- package/dist/types/components/stack/stack.d.ts +34 -0
- package/dist/types/components/stack/types.d.ts +3 -0
- package/dist/types/components/step/step.d.ts +16 -0
- package/dist/types/components/step/types.d.ts +1 -0
- package/dist/types/components/stepper/stepper.d.ts +218 -0
- package/dist/types/components/stepper/types.d.ts +39 -0
- package/dist/types/components/switch/switch.d.ts +162 -0
- package/dist/types/components/tabs/tabs.d.ts +182 -0
- package/dist/types/components/tabs/types.d.ts +17 -0
- package/dist/types/components/tag/tag.d.ts +172 -0
- package/dist/types/components/tag/types.d.ts +4 -0
- package/dist/types/components/tag-group/tag-group.d.ts +107 -0
- package/dist/types/components/tag-group/types.d.ts +2 -0
- package/dist/types/components/timeline/timeline.d.ts +73 -0
- package/dist/types/components/timeline/types.d.ts +28 -0
- package/dist/types/components/timeline/ui-timeline.stories.d.ts +9 -0
- package/dist/types/components/timeline-item/timeline-item.d.ts +15 -0
- package/dist/types/components/timer/timer.d.ts +123 -0
- package/dist/types/components/timer/types.d.ts +18 -0
- package/dist/types/components/timer/ui-timer.stories.d.ts +9 -0
- package/dist/types/components/toggle-group/toggle-group.d.ts +136 -0
- package/dist/types/components/toggle-group/types.d.ts +5 -0
- package/dist/types/components/toolbar/toolbar-types.d.ts +189 -0
- package/dist/types/components/toolbar/toolbar.d.ts +150 -0
- package/dist/types/components/tooltip/tooltip.d.ts +166 -0
- package/dist/types/components/tooltip/types.d.ts +3 -0
- package/dist/types/components/top-bar/top-bar.d.ts +76 -0
- package/dist/types/components/transfer-list/transfer-list.d.ts +137 -0
- package/dist/types/components/transfer-list/types.d.ts +13 -0
- package/dist/types/components/tree/tree.d.ts +180 -0
- package/dist/types/components/tree/types.d.ts +76 -0
- package/dist/types/components/ui-navigation-bar/navigation-bar/navigation-bar.d.ts +108 -0
- package/dist/types/components/ui-navigation-bar/navigation-bar/navigation-types.d.ts +17 -0
- package/dist/types/components/ui-navigation-bar/navigation-item.d.ts +26 -0
- package/dist/types/components/ui-navigation-bar/navigation-types.d.ts +19 -0
- package/dist/types/components/workspace-manager/types.d.ts +48 -0
- package/dist/types/components/workspace-manager/workspace-manager.d.ts +211 -0
- package/dist/types/components.d.ts +29634 -0
- package/dist/types/index.d.ts +21 -0
- package/dist/types/service/drag-manager.d.ts +8 -0
- package/dist/types/service/event-bus.d.ts +9 -0
- package/dist/types/service/serialization.d.ts +5 -0
- package/dist/types/service/state-engine.d.ts +25 -0
- package/dist/types/service/theme-switcher.d.ts +46 -0
- package/dist/types/stencil-public-runtime.d.ts +1860 -0
- package/dist/types/types/animation.type.d.ts +96 -0
- package/dist/types/types/common.d.ts +52 -0
- package/dist/types/types/common.type.d.ts +608 -0
- package/dist/types/types/index.d.ts +37 -0
- package/dist/types/types/text.type.d.ts +32 -0
- package/dist/types/utils/aria-live.d.ts +20 -0
- package/dist/types/utils/component-size.d.ts +2 -0
- package/dist/types/utils/dom.d.ts +58 -0
- package/dist/types/utils/focus-trap.d.ts +35 -0
- package/dist/types/utils/security.d.ts +5 -0
- package/dist/types/utils/test/setup-component-test-env.d.ts +14 -0
- package/dist/types/utils/utils.d.ts +7 -0
- package/dist/types/utils/validation.d.ts +43 -0
- package/loader/cdn.js +1 -0
- package/loader/index.cjs.js +1 -0
- package/loader/index.d.ts +24 -0
- package/loader/index.es2017.js +1 -0
- package/loader/index.js +2 -0
- package/package.json +77 -0
|
@@ -0,0 +1,1635 @@
|
|
|
1
|
+
import { h, Host, } from "@stencil/core";
|
|
2
|
+
export class Toolbar {
|
|
3
|
+
el;
|
|
4
|
+
// ─── Configuration ─────────────────────────────────────────────────────────
|
|
5
|
+
/**
|
|
6
|
+
* JSON string or object describing the full toolbar layout.
|
|
7
|
+
* Schema: { left?: ToolbarItem[], center?: ToolbarItem[], right?: ToolbarItem[] }
|
|
8
|
+
*/
|
|
9
|
+
schema = null;
|
|
10
|
+
/** Flat list of items (all rendered in the main content zone). */
|
|
11
|
+
items = [];
|
|
12
|
+
/** Visual variant of the toolbar. */
|
|
13
|
+
variant = 'default';
|
|
14
|
+
/** Size of toolbar items. */
|
|
15
|
+
size = 'md';
|
|
16
|
+
/** Orientation: horizontal or vertical. */
|
|
17
|
+
orientation = 'horizontal';
|
|
18
|
+
/** Positioning strategy. */
|
|
19
|
+
position = 'static';
|
|
20
|
+
/** Which edge to stick to when position is sticky or fixed. */
|
|
21
|
+
stickyEdge = 'top';
|
|
22
|
+
/** Alignment of items along the main axis. */
|
|
23
|
+
alignment = 'start';
|
|
24
|
+
/** Gap between items (CSS value). */
|
|
25
|
+
gap = '4px';
|
|
26
|
+
/** Padding inside the toolbar (CSS value). */
|
|
27
|
+
padding = '8px 12px';
|
|
28
|
+
/** Maximum height (horizontal) or width (vertical) (CSS value). */
|
|
29
|
+
maxSize;
|
|
30
|
+
/** Overflow handling strategy. */
|
|
31
|
+
overflowStrategy = 'dropdown';
|
|
32
|
+
/** Label for the overflow "More" button. */
|
|
33
|
+
overflowLabel = 'More';
|
|
34
|
+
/** Icon for the overflow more button. */
|
|
35
|
+
overflowIcon = 'more-horizontal';
|
|
36
|
+
/** Default icon library for items that don't specify one. */
|
|
37
|
+
iconLibrary = 'lucide';
|
|
38
|
+
/** Whether the toolbar is in a disabled state. */
|
|
39
|
+
disabled = false;
|
|
40
|
+
/** Whether the toolbar is in a loading state. */
|
|
41
|
+
loading = false;
|
|
42
|
+
/** Show dividers between zones (left/center/right). */
|
|
43
|
+
zoneDividers = false;
|
|
44
|
+
/** Rounded corners for the whole bar. */
|
|
45
|
+
rounded = false;
|
|
46
|
+
/** Elevation shadow level (0–4). */
|
|
47
|
+
elevation = 1;
|
|
48
|
+
/** Enable drag-and-drop reordering of toolbar items. */
|
|
49
|
+
reorderable = false;
|
|
50
|
+
/** Enable keyboard navigation across items. */
|
|
51
|
+
keyboardNav = true;
|
|
52
|
+
/** Accessible label for the toolbar element. */
|
|
53
|
+
toolbarAriaLabel = 'Toolbar';
|
|
54
|
+
/** Show a border around the toolbar. */
|
|
55
|
+
bordered = false;
|
|
56
|
+
/** Make label hidden (icon-only) for button items by default. */
|
|
57
|
+
iconOnly = false;
|
|
58
|
+
/** Debounce time in ms for input/search items. */
|
|
59
|
+
inputDebounce = 300;
|
|
60
|
+
// ─── State ─────────────────────────────────────────────────────────────────
|
|
61
|
+
overflowedIds = new Set();
|
|
62
|
+
isOverflowOpen = false;
|
|
63
|
+
itemStates = new Map();
|
|
64
|
+
dragSourceId = null;
|
|
65
|
+
parsedSchema = null;
|
|
66
|
+
parsedItems = [];
|
|
67
|
+
isMobile = false;
|
|
68
|
+
isCollapsed = false;
|
|
69
|
+
openChildDropdowns = 0;
|
|
70
|
+
// ─── Events ────────────────────────────────────────────────────────────────
|
|
71
|
+
/** Fired when a button or clickable item is activated. */
|
|
72
|
+
toolbarItemClick;
|
|
73
|
+
/** Fired when an input, dropdown, toggle, or switch value changes. */
|
|
74
|
+
toolbarItemChange;
|
|
75
|
+
/** Fired when the visible/overflowed item set changes. */
|
|
76
|
+
toolbarOverflowChange;
|
|
77
|
+
/** Fired after a drag-and-drop reorder. */
|
|
78
|
+
toolbarReorder;
|
|
79
|
+
// ─── Internals ─────────────────────────────────────────────────────────────
|
|
80
|
+
resizeObserver;
|
|
81
|
+
toolbarBodyRef;
|
|
82
|
+
inputDebounceTimers = new Map();
|
|
83
|
+
undoStack = [];
|
|
84
|
+
redoStack = [];
|
|
85
|
+
focusableRefs = new Map();
|
|
86
|
+
mobileBreakpoint = 640;
|
|
87
|
+
// ─── Lifecycle ─────────────────────────────────────────────────────────────
|
|
88
|
+
componentWillLoad() {
|
|
89
|
+
this.parseItems();
|
|
90
|
+
this.parseSchema();
|
|
91
|
+
this.initItemStates();
|
|
92
|
+
this.isMobile = window.innerWidth <= this.mobileBreakpoint;
|
|
93
|
+
}
|
|
94
|
+
componentDidLoad() {
|
|
95
|
+
if (this.overflowStrategy === 'dropdown' && typeof ResizeObserver !== 'undefined') {
|
|
96
|
+
this.resizeObserver = new ResizeObserver(() => this.recalcOverflow());
|
|
97
|
+
this.resizeObserver.observe(this.el);
|
|
98
|
+
}
|
|
99
|
+
requestAnimationFrame(() => this.recalcOverflow());
|
|
100
|
+
}
|
|
101
|
+
disconnectedCallback() {
|
|
102
|
+
this.resizeObserver?.disconnect();
|
|
103
|
+
this.inputDebounceTimers.forEach(t => clearTimeout(t));
|
|
104
|
+
}
|
|
105
|
+
// ─── Watchers ──────────────────────────────────────────────────────────────
|
|
106
|
+
onItemsChange() { this.parseItems(); this.initItemStates(); requestAnimationFrame(() => this.recalcOverflow()); }
|
|
107
|
+
onSchemaChange() { this.parseSchema(); this.initItemStates(); requestAnimationFrame(() => this.recalcOverflow()); }
|
|
108
|
+
// ─── Listeners ─────────────────────────────────────────────────────────────
|
|
109
|
+
onDocumentClick(e) {
|
|
110
|
+
if (this.isOverflowOpen && e.target instanceof Node && !this.el.contains(e.target)) {
|
|
111
|
+
this.isOverflowOpen = false;
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
onKeyDown(e) {
|
|
115
|
+
if (!this.keyboardNav)
|
|
116
|
+
return;
|
|
117
|
+
const focusable = Array.from(this.focusableRefs.values()).filter(el => el && !el.hasAttribute('disabled'));
|
|
118
|
+
const idx = focusable.indexOf(document.activeElement);
|
|
119
|
+
if (this.orientation === 'horizontal') {
|
|
120
|
+
if (e.key === 'ArrowRight') {
|
|
121
|
+
e.preventDefault();
|
|
122
|
+
focusable[(idx + 1) % focusable.length]?.focus();
|
|
123
|
+
}
|
|
124
|
+
else if (e.key === 'ArrowLeft') {
|
|
125
|
+
e.preventDefault();
|
|
126
|
+
focusable[(idx - 1 + focusable.length) % focusable.length]?.focus();
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
else {
|
|
130
|
+
if (e.key === 'ArrowDown') {
|
|
131
|
+
e.preventDefault();
|
|
132
|
+
focusable[(idx + 1) % focusable.length]?.focus();
|
|
133
|
+
}
|
|
134
|
+
else if (e.key === 'ArrowUp') {
|
|
135
|
+
e.preventDefault();
|
|
136
|
+
focusable[(idx - 1 + focusable.length) % focusable.length]?.focus();
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
if (e.key === 'Escape')
|
|
140
|
+
this.isOverflowOpen = false;
|
|
141
|
+
}
|
|
142
|
+
onChildDropdownOpen(e) {
|
|
143
|
+
const target = e.target;
|
|
144
|
+
if (!target || target.tagName?.toLowerCase() !== 'ui-dropdown' || !this.el.contains(target))
|
|
145
|
+
return;
|
|
146
|
+
this.openChildDropdowns += 1;
|
|
147
|
+
}
|
|
148
|
+
onChildDropdownClose(e) {
|
|
149
|
+
const target = e.target;
|
|
150
|
+
if (!target || target.tagName?.toLowerCase() !== 'ui-dropdown' || !this.el.contains(target))
|
|
151
|
+
return;
|
|
152
|
+
this.openChildDropdowns = Math.max(0, this.openChildDropdowns - 1);
|
|
153
|
+
}
|
|
154
|
+
// ─── Public Methods ────────────────────────────────────────────────────────
|
|
155
|
+
/** Programmatically set the value of any item by id. */
|
|
156
|
+
async setItemValue(id, value) {
|
|
157
|
+
const prev = this.itemStates.get(id)?.value;
|
|
158
|
+
this.itemStates = new Map(this.itemStates.set(id, { ...this.itemStates.get(id), id, value }));
|
|
159
|
+
const item = this.findItem(id);
|
|
160
|
+
if (item)
|
|
161
|
+
this.toolbarItemChange.emit({ item, value, previousValue: prev });
|
|
162
|
+
}
|
|
163
|
+
/** Get the current value of an item by id. */
|
|
164
|
+
async getItemValue(id) {
|
|
165
|
+
return this.itemStates.get(id)?.value;
|
|
166
|
+
}
|
|
167
|
+
/** Disable or enable an item by id. */
|
|
168
|
+
async setItemDisabled(id, disabled) {
|
|
169
|
+
this.itemStates = new Map(this.itemStates.set(id, { ...this.itemStates.get(id), id, disabled }));
|
|
170
|
+
}
|
|
171
|
+
/** Toggle visibility of an item. */
|
|
172
|
+
async setItemHidden(id, hidden) {
|
|
173
|
+
this.itemStates = new Map(this.itemStates.set(id, { ...this.itemStates.get(id), id, hidden }));
|
|
174
|
+
requestAnimationFrame(() => this.recalcOverflow());
|
|
175
|
+
}
|
|
176
|
+
/** Set loading state on a specific button item. */
|
|
177
|
+
async setItemLoading(id, loading) {
|
|
178
|
+
this.itemStates = new Map(this.itemStates.set(id, { ...this.itemStates.get(id), id, loading }));
|
|
179
|
+
}
|
|
180
|
+
/** Toggle active state of a toggleable button. */
|
|
181
|
+
async toggleItem(id) {
|
|
182
|
+
const current = this.itemStates.get(id) ?? { id };
|
|
183
|
+
this.itemStates = new Map(this.itemStates.set(id, { ...current, active: !current.active }));
|
|
184
|
+
}
|
|
185
|
+
/** Collapse / expand the toolbar (mobile). */
|
|
186
|
+
async setCollapsed(collapsed) {
|
|
187
|
+
this.isCollapsed = collapsed;
|
|
188
|
+
}
|
|
189
|
+
/** Open or close the overflow menu. */
|
|
190
|
+
async setOverflowOpen(open) {
|
|
191
|
+
this.isOverflowOpen = open;
|
|
192
|
+
}
|
|
193
|
+
/** Get a snapshot of current toolbar state. */
|
|
194
|
+
async getStateSnapshot() {
|
|
195
|
+
const snapshot = {
|
|
196
|
+
activeItems: Array.from(this.itemStates.entries()).filter(([, s]) => s.active).map(([id]) => id),
|
|
197
|
+
itemStates: Object.fromEntries(this.itemStates),
|
|
198
|
+
timestamp: Date.now(),
|
|
199
|
+
};
|
|
200
|
+
return snapshot;
|
|
201
|
+
}
|
|
202
|
+
async restoreStateSnapshot(snapshot) {
|
|
203
|
+
this.itemStates = new Map(Object.entries(snapshot.itemStates));
|
|
204
|
+
requestAnimationFrame(() => this.recalcOverflow());
|
|
205
|
+
}
|
|
206
|
+
/** Undo last value change. */
|
|
207
|
+
async undo() {
|
|
208
|
+
const prev = this.undoStack.pop();
|
|
209
|
+
if (!prev)
|
|
210
|
+
return;
|
|
211
|
+
const current = await this.getStateSnapshot();
|
|
212
|
+
this.redoStack.push(current);
|
|
213
|
+
await this.restoreStateSnapshot(prev);
|
|
214
|
+
}
|
|
215
|
+
/** Redo last undone change. */
|
|
216
|
+
async redo() {
|
|
217
|
+
const next = this.redoStack.pop();
|
|
218
|
+
if (!next)
|
|
219
|
+
return;
|
|
220
|
+
const current = await this.getStateSnapshot();
|
|
221
|
+
this.undoStack.push(current);
|
|
222
|
+
await this.restoreStateSnapshot(next);
|
|
223
|
+
}
|
|
224
|
+
/** Focus a specific toolbar item by id. */
|
|
225
|
+
async focusItem(id) {
|
|
226
|
+
this.focusableRefs.get(id)?.focus();
|
|
227
|
+
}
|
|
228
|
+
// ─── Private helpers ───────────────────────────────────────────────────────
|
|
229
|
+
parseItems() {
|
|
230
|
+
if (!this.items) {
|
|
231
|
+
this.parsedItems = [];
|
|
232
|
+
return;
|
|
233
|
+
}
|
|
234
|
+
if (typeof this.items === 'string') {
|
|
235
|
+
try {
|
|
236
|
+
this.parsedItems = JSON.parse(this.items);
|
|
237
|
+
}
|
|
238
|
+
catch {
|
|
239
|
+
this.parsedItems = [];
|
|
240
|
+
}
|
|
241
|
+
}
|
|
242
|
+
else {
|
|
243
|
+
this.parsedItems = this.items;
|
|
244
|
+
}
|
|
245
|
+
}
|
|
246
|
+
parseSchema() {
|
|
247
|
+
if (!this.schema) {
|
|
248
|
+
this.parsedSchema = null;
|
|
249
|
+
return;
|
|
250
|
+
}
|
|
251
|
+
if (typeof this.schema === 'string') {
|
|
252
|
+
try {
|
|
253
|
+
this.parsedSchema = JSON.parse(this.schema);
|
|
254
|
+
}
|
|
255
|
+
catch {
|
|
256
|
+
this.parsedSchema = null;
|
|
257
|
+
}
|
|
258
|
+
}
|
|
259
|
+
else {
|
|
260
|
+
this.parsedSchema = this.schema;
|
|
261
|
+
}
|
|
262
|
+
}
|
|
263
|
+
initItemStates() {
|
|
264
|
+
const allItems = this.getAllItems();
|
|
265
|
+
allItems.forEach(item => {
|
|
266
|
+
if (!this.itemStates.has(item.id)) {
|
|
267
|
+
const state = { id: item.id, disabled: item.disabled };
|
|
268
|
+
if ('value' in item)
|
|
269
|
+
state.value = item.value;
|
|
270
|
+
if ('checked' in item)
|
|
271
|
+
state.value = item.checked;
|
|
272
|
+
if ('active' in item)
|
|
273
|
+
state.active = item.active;
|
|
274
|
+
this.itemStates.set(item.id, state);
|
|
275
|
+
}
|
|
276
|
+
});
|
|
277
|
+
}
|
|
278
|
+
getAllItems() {
|
|
279
|
+
const flat = [];
|
|
280
|
+
const collect = (items) => {
|
|
281
|
+
items?.forEach(item => {
|
|
282
|
+
flat.push(item);
|
|
283
|
+
if (item.type === 'group')
|
|
284
|
+
collect(item.items);
|
|
285
|
+
});
|
|
286
|
+
};
|
|
287
|
+
if (this.parsedSchema) {
|
|
288
|
+
collect(this.parsedSchema.left ?? []);
|
|
289
|
+
collect(this.parsedSchema.center ?? []);
|
|
290
|
+
collect(this.parsedSchema.right ?? []);
|
|
291
|
+
collect(this.parsedSchema.overflow ?? []);
|
|
292
|
+
}
|
|
293
|
+
else {
|
|
294
|
+
collect(this.parsedItems);
|
|
295
|
+
}
|
|
296
|
+
return flat;
|
|
297
|
+
}
|
|
298
|
+
findItem(id) {
|
|
299
|
+
return this.getAllItems().find(i => i.id === id) ?? null;
|
|
300
|
+
}
|
|
301
|
+
recalcOverflow() {
|
|
302
|
+
if (this.overflowStrategy !== 'dropdown')
|
|
303
|
+
return;
|
|
304
|
+
const toolbar = this.toolbarBodyRef;
|
|
305
|
+
if (!toolbar)
|
|
306
|
+
return;
|
|
307
|
+
const newOverflowed = new Set();
|
|
308
|
+
this.isMobile = window.innerWidth <= this.mobileBreakpoint;
|
|
309
|
+
if (this.isMobile && this.isCollapsed) {
|
|
310
|
+
// In collapsed mobile mode, everything overflows
|
|
311
|
+
this.getAllItems().forEach(i => {
|
|
312
|
+
if (i.type !== 'separator' && i.type !== 'spacer')
|
|
313
|
+
newOverflowed.add(i.id);
|
|
314
|
+
});
|
|
315
|
+
}
|
|
316
|
+
else {
|
|
317
|
+
const isHorizontal = this.orientation === 'horizontal';
|
|
318
|
+
const containerSize = isHorizontal ? toolbar.clientWidth : toolbar.clientHeight;
|
|
319
|
+
const overflowBtnSize = 48; // reserve space for the "More" button
|
|
320
|
+
let usedSize = 0;
|
|
321
|
+
// Sort by priority descending so high-priority items get space first
|
|
322
|
+
const sortedItems = [...this.getAllItems()]
|
|
323
|
+
.filter(i => i.type !== 'separator' && i.type !== 'spacer')
|
|
324
|
+
.sort((a, b) => (b.priority ?? 0) - (a.priority ?? 0));
|
|
325
|
+
sortedItems.forEach(item => {
|
|
326
|
+
if (this.itemStates.get(item.id)?.hidden)
|
|
327
|
+
return;
|
|
328
|
+
const el = this.el.shadowRoot?.querySelector(`[data-item-id="${item.id}"]`);
|
|
329
|
+
if (!el)
|
|
330
|
+
return;
|
|
331
|
+
const size = isHorizontal ? el.offsetWidth : el.offsetHeight;
|
|
332
|
+
usedSize += size + 4; // +4 for gap
|
|
333
|
+
if (usedSize > containerSize - overflowBtnSize && !item.pinToOverflow) {
|
|
334
|
+
newOverflowed.add(item.id);
|
|
335
|
+
}
|
|
336
|
+
});
|
|
337
|
+
}
|
|
338
|
+
const prevOverflowed = this.overflowedIds;
|
|
339
|
+
if (JSON.stringify([...newOverflowed].sort()) !== JSON.stringify([...prevOverflowed].sort())) {
|
|
340
|
+
this.overflowedIds = newOverflowed;
|
|
341
|
+
this.toolbarOverflowChange.emit({
|
|
342
|
+
overflowIds: [...newOverflowed],
|
|
343
|
+
visibleIds: this.getAllItems().filter(i => !newOverflowed.has(i.id)).map(i => i.id),
|
|
344
|
+
});
|
|
345
|
+
}
|
|
346
|
+
}
|
|
347
|
+
pushUndoSnapshot() {
|
|
348
|
+
this.getStateSnapshot().then(snap => {
|
|
349
|
+
this.undoStack.push(snap);
|
|
350
|
+
if (this.undoStack.length > 50)
|
|
351
|
+
this.undoStack.shift();
|
|
352
|
+
this.redoStack = [];
|
|
353
|
+
});
|
|
354
|
+
}
|
|
355
|
+
handleItemClick(item, e) {
|
|
356
|
+
if (this.disabled || this.itemStates.get(item.id)?.disabled || item.disabled)
|
|
357
|
+
return;
|
|
358
|
+
this.pushUndoSnapshot();
|
|
359
|
+
if (item.type === 'button' || item.type === 'icon-button') {
|
|
360
|
+
const btn = item;
|
|
361
|
+
if (btn.toggleable) {
|
|
362
|
+
const cur = this.itemStates.get(item.id) ?? { id: item.id };
|
|
363
|
+
this.itemStates = new Map(this.itemStates.set(item.id, { ...cur, active: !cur.active }));
|
|
364
|
+
}
|
|
365
|
+
}
|
|
366
|
+
this.toolbarItemClick.emit({ item, originalEvent: e });
|
|
367
|
+
}
|
|
368
|
+
handleValueChange(item, value) {
|
|
369
|
+
if (this.disabled || this.itemStates.get(item.id)?.disabled)
|
|
370
|
+
return;
|
|
371
|
+
this.pushUndoSnapshot();
|
|
372
|
+
const prev = this.itemStates.get(item.id)?.value;
|
|
373
|
+
this.itemStates = new Map(this.itemStates.set(item.id, { ...this.itemStates.get(item.id), id: item.id, value }));
|
|
374
|
+
this.toolbarItemChange.emit({ item, value, previousValue: prev });
|
|
375
|
+
}
|
|
376
|
+
isItemDisabled(item) {
|
|
377
|
+
return this.disabled || !!item.disabled || !!(this.itemStates.get(item.id)?.disabled);
|
|
378
|
+
}
|
|
379
|
+
isItemHidden(item) {
|
|
380
|
+
return !!(this.itemStates.get(item.id)?.hidden);
|
|
381
|
+
}
|
|
382
|
+
isItemLoading(item) {
|
|
383
|
+
return !!(this.itemStates.get(item.id)?.loading);
|
|
384
|
+
}
|
|
385
|
+
isItemActive(item) {
|
|
386
|
+
const state = this.itemStates.get(item.id);
|
|
387
|
+
if (state?.active !== undefined)
|
|
388
|
+
return state.active;
|
|
389
|
+
return item.active ?? false;
|
|
390
|
+
}
|
|
391
|
+
computeItemValue(item) {
|
|
392
|
+
const state = this.itemStates.get(item.id);
|
|
393
|
+
if (state?.value !== undefined)
|
|
394
|
+
return state.value;
|
|
395
|
+
if ('value' in item)
|
|
396
|
+
return item.value;
|
|
397
|
+
if ('checked' in item)
|
|
398
|
+
return item.checked;
|
|
399
|
+
return undefined;
|
|
400
|
+
}
|
|
401
|
+
// ─── Drag and Drop ─────────────────────────────────────────────────────────
|
|
402
|
+
handleDragStart(id) {
|
|
403
|
+
this.dragSourceId = id;
|
|
404
|
+
}
|
|
405
|
+
handleDrop(targetId) {
|
|
406
|
+
if (!this.dragSourceId || this.dragSourceId === targetId)
|
|
407
|
+
return;
|
|
408
|
+
const items = [...this.parsedItems];
|
|
409
|
+
const fromIdx = items.findIndex(i => i.id === this.dragSourceId);
|
|
410
|
+
const toIdx = items.findIndex(i => i.id === targetId);
|
|
411
|
+
if (fromIdx < 0 || toIdx < 0)
|
|
412
|
+
return;
|
|
413
|
+
const [moved] = items.splice(fromIdx, 1);
|
|
414
|
+
items.splice(toIdx, 0, moved);
|
|
415
|
+
this.parsedItems = [...items];
|
|
416
|
+
this.dragSourceId = null;
|
|
417
|
+
this.toolbarReorder.emit(items);
|
|
418
|
+
}
|
|
419
|
+
// ─── Render Helpers ────────────────────────────────────────────────────────
|
|
420
|
+
renderItem(item, inOverflow = false) {
|
|
421
|
+
if (this.isItemHidden(item))
|
|
422
|
+
return null;
|
|
423
|
+
if (!inOverflow && this.overflowedIds.has(item.id) && this.overflowStrategy === 'dropdown')
|
|
424
|
+
return null;
|
|
425
|
+
const disabled = this.isItemDisabled(item);
|
|
426
|
+
const loading = this.isItemLoading(item);
|
|
427
|
+
switch (item.type) {
|
|
428
|
+
case 'button':
|
|
429
|
+
case 'icon-button':
|
|
430
|
+
return this.renderButton(item, disabled, loading, inOverflow);
|
|
431
|
+
case 'dropdown':
|
|
432
|
+
return this.renderDropdown(item, disabled);
|
|
433
|
+
case 'input':
|
|
434
|
+
case 'search':
|
|
435
|
+
return this.renderInput(item, disabled, inOverflow);
|
|
436
|
+
case 'toggle':
|
|
437
|
+
case 'switch':
|
|
438
|
+
return this.renderToggle(item, disabled, inOverflow);
|
|
439
|
+
case 'toggle-group':
|
|
440
|
+
return this.renderToggleGroup(item, disabled, inOverflow);
|
|
441
|
+
case 'avatar':
|
|
442
|
+
return this.renderAvatar(item, inOverflow);
|
|
443
|
+
case 'separator':
|
|
444
|
+
return this.renderSeparator();
|
|
445
|
+
case 'spacer':
|
|
446
|
+
return h("span", { class: "toolbar-spacer", style: { flex: String(item.flex ?? 1) } });
|
|
447
|
+
case 'text':
|
|
448
|
+
return this.renderText(item);
|
|
449
|
+
case 'badge':
|
|
450
|
+
return this.renderBadge(item);
|
|
451
|
+
case 'custom':
|
|
452
|
+
return this.renderCustom(item);
|
|
453
|
+
case 'group':
|
|
454
|
+
return this.renderGroup(item, inOverflow);
|
|
455
|
+
default:
|
|
456
|
+
return null;
|
|
457
|
+
}
|
|
458
|
+
}
|
|
459
|
+
renderButton(item, disabled, loading, inOverflow) {
|
|
460
|
+
const active = this.isItemActive(item);
|
|
461
|
+
const lib = item.iconLibrary ?? this.iconLibrary;
|
|
462
|
+
const isIconOnly = item.iconOnly ?? (!item.label || this.iconOnly);
|
|
463
|
+
if (inOverflow) {
|
|
464
|
+
return (h("li", { class: { 'overflow-item': true, 'is-active': active, 'is-disabled': disabled }, role: "menuitem", "aria-disabled": disabled ? 'true' : null, onClick: disabled ? null : (e) => { this.handleItemClick(item, e); this.isOverflowOpen = false; }, onKeyDown: (e) => {
|
|
465
|
+
if (e.key === 'Enter' || e.key === ' ') {
|
|
466
|
+
this.handleItemClick(item, e);
|
|
467
|
+
this.isOverflowOpen = false;
|
|
468
|
+
}
|
|
469
|
+
}, tabIndex: disabled ? -1 : 0, "data-item-id": item.id }, item.icon && h("ui-icon", { name: item.icon, library: lib, size: "16px" }), h("span", { class: "overflow-item-label" }, item.label ?? item.id), active && h("span", { class: "overflow-item-check" }, "\u2713")));
|
|
470
|
+
}
|
|
471
|
+
// Map toolbar variant names to ui-button variant
|
|
472
|
+
const btnVariant = (item.variant === 'ghost' || item.variant === 'outline' || !item.variant)
|
|
473
|
+
? (item.variant ?? 'ghost')
|
|
474
|
+
: item.variant;
|
|
475
|
+
return (h("div", { class: { 'toolbar-item': true, 'toolbar-item--button': true, [item.className ?? '']: !!item.className }, "data-item-id": item.id, draggable: this.reorderable, onDragStart: () => this.handleDragStart(item.id), onDrop: () => this.handleDrop(item.id), onDragOver: (e) => e.preventDefault() }, h("ui-button", { label: isIconOnly ? undefined : item.label, icon: item.icon, "icon-library": lib, "icon-only": isIconOnly, variant: btnVariant, size: this.size, disabled: disabled, loading: loading, selected: active, active: active, noRipple: true, href: item.href, target: item.target, tooltip: item.tooltip, "aria-label": item.ariaLabel ?? (isIconOnly ? item.label : undefined), badge: item.badge != null ? String(item.badge) : undefined, ref: el => el && this.focusableRefs.set(item.id, el), onButtonClick: disabled ? null : (e) => this.handleItemClick(item, e.detail) })));
|
|
476
|
+
}
|
|
477
|
+
renderDropdown(item, disabled) {
|
|
478
|
+
const value = this.computeItemValue(item) ?? '';
|
|
479
|
+
const lib = item.iconLibrary ?? this.iconLibrary;
|
|
480
|
+
return (h("div", { class: { 'toolbar-item': true, 'toolbar-item--dropdown': true, 'is-disabled': disabled, [item.className ?? '']: !!item.className }, "data-item-id": item.id, title: item.tooltip }, h("ui-dropdown", { options: item.options, value: value, placeholder: item.placeholder ?? item.label ?? 'Select', disabled: disabled, multiSelect: item.multiSelect, searchable: item.searchable, clearable: item.clearable, size: this.size,
|
|
481
|
+
// showSelectedMarker={item.showSelectedMarker !== false}
|
|
482
|
+
// selectedMarkerIcon={item.selectedMarkerIcon ?? 'check'}
|
|
483
|
+
// selectedMarkerLabel={item.selectedMarkerLabel ?? ''}
|
|
484
|
+
onDropdownChange: (e) => this.handleValueChange(item, e.detail?.value) }, item.icon && h("ui-icon", { slot: "prefix", name: item.icon, library: lib, size: "16px" }))));
|
|
485
|
+
}
|
|
486
|
+
renderInput(item, disabled, inOverflow) {
|
|
487
|
+
if (inOverflow)
|
|
488
|
+
return null;
|
|
489
|
+
const value = this.computeItemValue(item) ?? '';
|
|
490
|
+
const handleChange = (val) => {
|
|
491
|
+
const debounce = item.debounce ?? this.inputDebounce;
|
|
492
|
+
if (this.inputDebounceTimers.has(item.id))
|
|
493
|
+
clearTimeout(this.inputDebounceTimers.get(item.id));
|
|
494
|
+
const timer = setTimeout(() => this.handleValueChange(item, val), debounce);
|
|
495
|
+
this.inputDebounceTimers.set(item.id, timer);
|
|
496
|
+
};
|
|
497
|
+
return (h("div", { class: { 'toolbar-item': true, 'toolbar-item--input': true, 'is-disabled': disabled, [item.className ?? '']: !!item.className }, "data-item-id": item.id, style: { minWidth: item.minWidth, maxWidth: item.maxWidth } }, h("ui-input", { value: value, placeholder: item.placeholder ?? (item.type === 'search' ? 'Search…' : ''), disabled: disabled, size: this.size, clearable: item.clearable, "prefix-icon": item.type === 'search' ? 'search' : item.icon, "icon-library": this.iconLibrary, ref: el => el && this.focusableRefs.set(item.id, el), onInputChange: (e) => handleChange(e.detail) })));
|
|
498
|
+
}
|
|
499
|
+
renderToggle(item, disabled, inOverflow) {
|
|
500
|
+
const checked = this.computeItemValue(item) ?? false;
|
|
501
|
+
if (inOverflow) {
|
|
502
|
+
return (h("li", { class: { 'overflow-item': true, 'overflow-item--toggle': true, 'is-disabled': disabled }, role: "menuitemcheckbox", "aria-checked": String(checked), "aria-disabled": disabled ? 'true' : null, tabIndex: disabled ? -1 : 0, "data-item-id": item.id, onClick: disabled ? null : () => this.handleValueChange(item, !checked), onKeyDown: (e) => {
|
|
503
|
+
if (e.key === 'Enter' || e.key === ' ')
|
|
504
|
+
this.handleValueChange(item, !checked);
|
|
505
|
+
} }, h("span", { class: "overflow-item-label" }, item.label ?? item.id), h("span", { class: `overflow-toggle${checked ? ' is-on' : ''}` }, checked ? 'ON' : 'OFF')));
|
|
506
|
+
}
|
|
507
|
+
return (h("div", { class: { 'toolbar-item': true, 'toolbar-item--toggle': true, 'is-disabled': disabled, [item.className ?? '']: !!item.className }, "data-item-id": item.id, title: item.tooltip }, item.labelPosition !== 'right' && item.label && h("span", { class: "toolbar-toggle-label" }, item.label), h("ui-switch", { checked: checked, disabled: disabled, size: this.size, label: item.labelPosition === 'right' ? item.label : undefined, "label-position": item.labelPosition ?? 'right', ref: el => el && this.focusableRefs.set(item.id, el), onSwitchChange: (e) => this.handleValueChange(item, e.detail.checked) })));
|
|
508
|
+
}
|
|
509
|
+
renderToggleGroup(item, disabled, inOverflow) {
|
|
510
|
+
if (inOverflow)
|
|
511
|
+
return null;
|
|
512
|
+
const value = this.computeItemValue(item) ?? '';
|
|
513
|
+
return (h("div", { class: { 'toolbar-item': true, 'toolbar-item--toggle-group': true, 'is-disabled': disabled, [item.className ?? '']: !!item.className }, "data-item-id": item.id, title: item.tooltip }, h("ui-toggle-group", { options: item.options, value: Array.isArray(value) ? value.join(',') : value, disabled: disabled, size: (item.size ?? this.size), color: item.color, variant: item.variant, shape: item.shape, "selection-mode": item.selectionMode ?? 'single', onToggleGroupChange: (e) => this.handleValueChange(item, e.detail.value) })));
|
|
514
|
+
}
|
|
515
|
+
renderAvatar(item, inOverflow) {
|
|
516
|
+
if (inOverflow) {
|
|
517
|
+
return (h("li", { class: { 'overflow-item': true, 'overflow-item--avatar': true }, role: "menuitem", tabIndex: 0, "data-item-id": item.id }, h("ui-avatar", { src: item.src, name: item.name, size: item.size ?? '24px', status: item.status, shape: "circle" }), item.name && h("span", { class: "overflow-item-label" }, item.name)));
|
|
518
|
+
}
|
|
519
|
+
return (h("div", { class: { 'toolbar-item': true, 'toolbar-item--avatar': true, 'is-clickable': item.clickable, [item.className ?? '']: !!item.className }, "data-item-id": item.id, title: item.tooltip ?? item.name, role: item.clickable ? 'button' : null, tabIndex: item.clickable ? 0 : null, ref: el => item.clickable && el && this.focusableRefs.set(item.id, el), onClick: item.clickable ? (e) => this.handleItemClick(item, e) : null, onKeyDown: (e) => {
|
|
520
|
+
if (item.clickable && (e.key === 'Enter' || e.key === ' '))
|
|
521
|
+
this.handleItemClick(item, e);
|
|
522
|
+
} }, h("ui-avatar", { src: item.src, name: item.name, size: item.size ?? '28px', status: item.status, shape: "circle" }), item.badge != null && h("span", { class: "toolbar-badge toolbar-badge--primary" }, item.badge)));
|
|
523
|
+
}
|
|
524
|
+
renderSeparator() {
|
|
525
|
+
return (h("div", { class: `toolbar-separator${this.orientation === 'vertical' ? ' toolbar-separator--horizontal' : ''}`, role: "separator", "aria-orientation": this.orientation === 'vertical' ? 'horizontal' : 'vertical' }));
|
|
526
|
+
}
|
|
527
|
+
renderText(item) {
|
|
528
|
+
return (h("span", { class: { 'toolbar-item': true, 'toolbar-text': true, 'toolbar-text--bold': item.bold, 'toolbar-text--muted': item.muted, [item.className ?? '']: !!item.className }, "data-item-id": item.id }, item.content));
|
|
529
|
+
}
|
|
530
|
+
renderBadge(item) {
|
|
531
|
+
return (h("span", { class: `toolbar-item toolbar-status-badge toolbar-status-badge--${item.color ?? 'primary'}${item.dot ? ' is-dot' : ''}`, "data-item-id": item.id }, !item.dot && item.label));
|
|
532
|
+
}
|
|
533
|
+
renderCustom(item) {
|
|
534
|
+
if (item.component) {
|
|
535
|
+
const Tag = item.component;
|
|
536
|
+
return h(Tag, { "data-item-id": item.id, ...(item.componentProps ?? {}) });
|
|
537
|
+
}
|
|
538
|
+
if (item.html) {
|
|
539
|
+
return h("div", { class: "toolbar-item toolbar-item--custom", "data-item-id": item.id, innerHTML: item.html });
|
|
540
|
+
}
|
|
541
|
+
return null;
|
|
542
|
+
}
|
|
543
|
+
renderGroup(item, inOverflow) {
|
|
544
|
+
const collapsed = this.itemStates.get(item.id)?.active === false;
|
|
545
|
+
return (h("div", { class: { 'toolbar-group': true, 'toolbar-group--divider': item.divider, 'is-collapsed': collapsed, [item.className ?? '']: !!item.className }, "data-item-id": item.id, role: "group", "aria-label": item.label }, item.label && (h("span", { class: "toolbar-group__label", onClick: item.collapsible ? () => {
|
|
546
|
+
const cur = this.itemStates.get(item.id) ?? { id: item.id };
|
|
547
|
+
this.itemStates = new Map(this.itemStates.set(item.id, { ...cur, active: !cur.active }));
|
|
548
|
+
} : null }, item.label)), !collapsed && item.items.map(child => this.renderItem(child, inOverflow))));
|
|
549
|
+
}
|
|
550
|
+
renderOverflowMenu() {
|
|
551
|
+
const overflowItems = this.getAllItems().filter(i => this.overflowedIds.has(i.id) || i.pinToOverflow);
|
|
552
|
+
if (overflowItems.length === 0)
|
|
553
|
+
return null;
|
|
554
|
+
return (h("div", { class: `toolbar-overflow${this.isOverflowOpen ? ' is-open' : ''}` }, h("ui-button", { class: "toolbar-overflow__btn toolbar-item toolbar-item--button toolbar-item--ghost", "aria-haspopup": "menu", "aria-expanded": String(this.isOverflowOpen), "aria-label": this.overflowLabel, title: this.overflowLabel, variant: "ghost", onButtonClick: (e) => { e.detail.stopPropagation(); this.isOverflowOpen = !this.isOverflowOpen; }, icon: this.overflowIcon, "icon-library": this.iconLibrary, badge: String(overflowItems.length), iconOnly: true }), this.isOverflowOpen && (h("ul", { class: "toolbar-overflow__menu", style: { overflow: 'visible' }, role: "menu", "aria-label": this.overflowLabel }, overflowItems.map(item => this.renderItem(item, true))))));
|
|
555
|
+
}
|
|
556
|
+
renderZone(items, zone) {
|
|
557
|
+
if (!items?.length)
|
|
558
|
+
return null;
|
|
559
|
+
return (h("div", { class: `toolbar-zone toolbar-zone--${zone}`, role: "group", "aria-label": zone }, items.map(item => this.renderItem(item))));
|
|
560
|
+
}
|
|
561
|
+
// ─── Main Render ───────────────────────────────────────────────────────────
|
|
562
|
+
render() {
|
|
563
|
+
const hasSchema = !!this.parsedSchema;
|
|
564
|
+
const bodyStyle = {
|
|
565
|
+
gap: this.gap,
|
|
566
|
+
padding: this.variant === 'inline' ? '0' : this.padding,
|
|
567
|
+
};
|
|
568
|
+
const hostClasses = {
|
|
569
|
+
[`variant-${this.variant}`]: true,
|
|
570
|
+
[`orientation-${this.orientation}`]: true,
|
|
571
|
+
[`position-${this.position}`]: true,
|
|
572
|
+
[`size-${this.size}`]: true,
|
|
573
|
+
[`elevation-${this.elevation}`]: true,
|
|
574
|
+
[`align-${this.alignment}`]: true,
|
|
575
|
+
'is-rounded': this.rounded,
|
|
576
|
+
'is-bordered': this.bordered,
|
|
577
|
+
'is-disabled': this.disabled,
|
|
578
|
+
'is-loading': this.loading,
|
|
579
|
+
'is-collapsed': this.isCollapsed,
|
|
580
|
+
'is-mobile': this.isMobile,
|
|
581
|
+
'is-overflow-open': this.isOverflowOpen,
|
|
582
|
+
'has-open-overlay': this.isOverflowOpen || this.openChildDropdowns > 0,
|
|
583
|
+
'has-zone-dividers': this.zoneDividers,
|
|
584
|
+
'has-overflow': this.overflowedIds.size > 0,
|
|
585
|
+
[`overflow-${this.overflowStrategy}`]: true,
|
|
586
|
+
};
|
|
587
|
+
const stickyStyle = {};
|
|
588
|
+
if (this.position === 'sticky' || this.position === 'fixed') {
|
|
589
|
+
stickyStyle[this.stickyEdge] = '0';
|
|
590
|
+
}
|
|
591
|
+
if (this.maxSize) {
|
|
592
|
+
stickyStyle[this.orientation === 'horizontal' ? 'maxWidth' : 'maxHeight'] = this.maxSize;
|
|
593
|
+
}
|
|
594
|
+
return (h(Host, { key: '6b33477b806940fbb98394621c375a70853128a9', class: hostClasses, style: stickyStyle, role: "toolbar", "aria-label": this.toolbarAriaLabel, "aria-disabled": this.disabled ? 'true' : null }, this.isMobile && (h("ui-button", { key: '12131b32e8813702f466625f77a38c3978bb4147', class: "toolbar-mobile-toggle", "aria-expanded": String(!this.isCollapsed), "aria-label": this.isCollapsed ? 'Expand toolbar' : 'Collapse toolbar', onButtonClick: () => { this.isCollapsed = !this.isCollapsed; }, variant: "ghost", icon: this.isCollapsed ? 'menu' : 'x', "icon-library": this.iconLibrary, iconOnly: true })), (!this.isMobile || !this.isCollapsed) && (h("div", { key: '3e203ab7c3349576bae4f42b906ec702b97b18af', class: "toolbar-body", style: bodyStyle, ref: el => this.toolbarBodyRef = el }, h("slot", { key: '5c2f402b9d318651a0007b3ed80064f711f6e3a5', name: "before" }), hasSchema ? (h("div", { class: "toolbar-zones" }, this.renderZone(this.parsedSchema.left ?? [], 'left'), this.zoneDividers && (this.parsedSchema.left?.length > 0) && (this.parsedSchema.center?.length > 0) && this.renderSeparator(), this.renderZone(this.parsedSchema.center ?? [], 'center'), this.zoneDividers && (this.parsedSchema.center?.length > 0) && (this.parsedSchema.right?.length > 0) && this.renderSeparator(), this.renderZone(this.parsedSchema.right ?? [], 'right'))) : (this.parsedItems.map(item => this.renderItem(item))), h("slot", { key: 'd8e7b2fec2cad8fe068792c0a4cb0e7b7d0b002e', name: "left" }), h("slot", { key: '4445e8c225d7249ddd65fe1164dc78a924d63530', name: "center" }), h("slot", { key: 'd590115edf7ff9d04cb0e36b5cac629b85901b09', name: "right" }), h("slot", { key: 'cf6631fd34e189258bea03f5b653ee4d766f3d78' }), this.overflowStrategy === 'dropdown' && this.renderOverflowMenu(), h("slot", { key: 'f97fe02b2756a3cbb7b82965d57e767597834ee7', name: "after" })))));
|
|
595
|
+
}
|
|
596
|
+
static get is() { return "ui-toolbar"; }
|
|
597
|
+
static get encapsulation() { return "shadow"; }
|
|
598
|
+
static get originalStyleUrls() {
|
|
599
|
+
return {
|
|
600
|
+
"$": ["toolbar.scss"]
|
|
601
|
+
};
|
|
602
|
+
}
|
|
603
|
+
static get styleUrls() {
|
|
604
|
+
return {
|
|
605
|
+
"$": ["toolbar.css"]
|
|
606
|
+
};
|
|
607
|
+
}
|
|
608
|
+
static get properties() {
|
|
609
|
+
return {
|
|
610
|
+
"schema": {
|
|
611
|
+
"type": "string",
|
|
612
|
+
"mutable": false,
|
|
613
|
+
"complexType": {
|
|
614
|
+
"original": "string | ToolbarSchema",
|
|
615
|
+
"resolved": "ToolbarSchema | string",
|
|
616
|
+
"references": {
|
|
617
|
+
"ToolbarSchema": {
|
|
618
|
+
"location": "import",
|
|
619
|
+
"path": "./toolbar-types",
|
|
620
|
+
"id": "src/components/toolbar/toolbar-types.ts::ToolbarSchema",
|
|
621
|
+
"referenceLocation": "ToolbarSchema"
|
|
622
|
+
}
|
|
623
|
+
}
|
|
624
|
+
},
|
|
625
|
+
"required": false,
|
|
626
|
+
"optional": false,
|
|
627
|
+
"docs": {
|
|
628
|
+
"tags": [],
|
|
629
|
+
"text": "JSON string or object describing the full toolbar layout.\r\nSchema: { left?: ToolbarItem[], center?: ToolbarItem[], right?: ToolbarItem[] }"
|
|
630
|
+
},
|
|
631
|
+
"getter": false,
|
|
632
|
+
"setter": false,
|
|
633
|
+
"reflect": false,
|
|
634
|
+
"attribute": "schema",
|
|
635
|
+
"defaultValue": "null"
|
|
636
|
+
},
|
|
637
|
+
"items": {
|
|
638
|
+
"type": "string",
|
|
639
|
+
"mutable": false,
|
|
640
|
+
"complexType": {
|
|
641
|
+
"original": "string | ToolbarItem[]",
|
|
642
|
+
"resolved": "ToolbarItem[] | string",
|
|
643
|
+
"references": {
|
|
644
|
+
"ToolbarItem": {
|
|
645
|
+
"location": "import",
|
|
646
|
+
"path": "./toolbar-types",
|
|
647
|
+
"id": "src/components/toolbar/toolbar-types.ts::ToolbarItem",
|
|
648
|
+
"referenceLocation": "ToolbarItem"
|
|
649
|
+
}
|
|
650
|
+
}
|
|
651
|
+
},
|
|
652
|
+
"required": false,
|
|
653
|
+
"optional": false,
|
|
654
|
+
"docs": {
|
|
655
|
+
"tags": [],
|
|
656
|
+
"text": "Flat list of items (all rendered in the main content zone)."
|
|
657
|
+
},
|
|
658
|
+
"getter": false,
|
|
659
|
+
"setter": false,
|
|
660
|
+
"reflect": false,
|
|
661
|
+
"attribute": "items",
|
|
662
|
+
"defaultValue": "[]"
|
|
663
|
+
},
|
|
664
|
+
"variant": {
|
|
665
|
+
"type": "string",
|
|
666
|
+
"mutable": false,
|
|
667
|
+
"complexType": {
|
|
668
|
+
"original": "ToolbarVariant",
|
|
669
|
+
"resolved": "\"dark\" | \"default\" | \"elevated\" | \"glass\" | \"inline\" | \"minimal\" | \"outlined\" | \"primary\" | \"secondary\"",
|
|
670
|
+
"references": {
|
|
671
|
+
"ToolbarVariant": {
|
|
672
|
+
"location": "import",
|
|
673
|
+
"path": "./toolbar-types",
|
|
674
|
+
"id": "src/components/toolbar/toolbar-types.ts::ToolbarVariant",
|
|
675
|
+
"referenceLocation": "ToolbarVariant"
|
|
676
|
+
}
|
|
677
|
+
}
|
|
678
|
+
},
|
|
679
|
+
"required": false,
|
|
680
|
+
"optional": false,
|
|
681
|
+
"docs": {
|
|
682
|
+
"tags": [],
|
|
683
|
+
"text": "Visual variant of the toolbar."
|
|
684
|
+
},
|
|
685
|
+
"getter": false,
|
|
686
|
+
"setter": false,
|
|
687
|
+
"reflect": false,
|
|
688
|
+
"attribute": "variant",
|
|
689
|
+
"defaultValue": "'default'"
|
|
690
|
+
},
|
|
691
|
+
"size": {
|
|
692
|
+
"type": "string",
|
|
693
|
+
"mutable": false,
|
|
694
|
+
"complexType": {
|
|
695
|
+
"original": "ToolbarSize",
|
|
696
|
+
"resolved": "\"default\" | \"large\" | \"lg\" | \"md\" | \"medium\" | \"sm\" | \"small\" | \"xl\"",
|
|
697
|
+
"references": {
|
|
698
|
+
"ToolbarSize": {
|
|
699
|
+
"location": "import",
|
|
700
|
+
"path": "./toolbar-types",
|
|
701
|
+
"id": "src/components/toolbar/toolbar-types.ts::ToolbarSize",
|
|
702
|
+
"referenceLocation": "ToolbarSize"
|
|
703
|
+
}
|
|
704
|
+
}
|
|
705
|
+
},
|
|
706
|
+
"required": false,
|
|
707
|
+
"optional": false,
|
|
708
|
+
"docs": {
|
|
709
|
+
"tags": [],
|
|
710
|
+
"text": "Size of toolbar items."
|
|
711
|
+
},
|
|
712
|
+
"getter": false,
|
|
713
|
+
"setter": false,
|
|
714
|
+
"reflect": false,
|
|
715
|
+
"attribute": "size",
|
|
716
|
+
"defaultValue": "'md'"
|
|
717
|
+
},
|
|
718
|
+
"orientation": {
|
|
719
|
+
"type": "string",
|
|
720
|
+
"mutable": false,
|
|
721
|
+
"complexType": {
|
|
722
|
+
"original": "ToolbarOrientation",
|
|
723
|
+
"resolved": "\"horizontal\" | \"vertical\"",
|
|
724
|
+
"references": {
|
|
725
|
+
"ToolbarOrientation": {
|
|
726
|
+
"location": "import",
|
|
727
|
+
"path": "./toolbar-types",
|
|
728
|
+
"id": "src/components/toolbar/toolbar-types.ts::ToolbarOrientation",
|
|
729
|
+
"referenceLocation": "ToolbarOrientation"
|
|
730
|
+
}
|
|
731
|
+
}
|
|
732
|
+
},
|
|
733
|
+
"required": false,
|
|
734
|
+
"optional": false,
|
|
735
|
+
"docs": {
|
|
736
|
+
"tags": [],
|
|
737
|
+
"text": "Orientation: horizontal or vertical."
|
|
738
|
+
},
|
|
739
|
+
"getter": false,
|
|
740
|
+
"setter": false,
|
|
741
|
+
"reflect": true,
|
|
742
|
+
"attribute": "orientation",
|
|
743
|
+
"defaultValue": "'horizontal'"
|
|
744
|
+
},
|
|
745
|
+
"position": {
|
|
746
|
+
"type": "string",
|
|
747
|
+
"mutable": false,
|
|
748
|
+
"complexType": {
|
|
749
|
+
"original": "ToolbarPosition",
|
|
750
|
+
"resolved": "\"absolute\" | \"fixed\" | \"static\" | \"sticky\"",
|
|
751
|
+
"references": {
|
|
752
|
+
"ToolbarPosition": {
|
|
753
|
+
"location": "import",
|
|
754
|
+
"path": "./toolbar-types",
|
|
755
|
+
"id": "src/components/toolbar/toolbar-types.ts::ToolbarPosition",
|
|
756
|
+
"referenceLocation": "ToolbarPosition"
|
|
757
|
+
}
|
|
758
|
+
}
|
|
759
|
+
},
|
|
760
|
+
"required": false,
|
|
761
|
+
"optional": false,
|
|
762
|
+
"docs": {
|
|
763
|
+
"tags": [],
|
|
764
|
+
"text": "Positioning strategy."
|
|
765
|
+
},
|
|
766
|
+
"getter": false,
|
|
767
|
+
"setter": false,
|
|
768
|
+
"reflect": true,
|
|
769
|
+
"attribute": "position",
|
|
770
|
+
"defaultValue": "'static'"
|
|
771
|
+
},
|
|
772
|
+
"stickyEdge": {
|
|
773
|
+
"type": "string",
|
|
774
|
+
"mutable": false,
|
|
775
|
+
"complexType": {
|
|
776
|
+
"original": "ToolbarStickyEdge",
|
|
777
|
+
"resolved": "\"bottom\" | \"left\" | \"right\" | \"top\"",
|
|
778
|
+
"references": {
|
|
779
|
+
"ToolbarStickyEdge": {
|
|
780
|
+
"location": "import",
|
|
781
|
+
"path": "./toolbar-types",
|
|
782
|
+
"id": "src/components/toolbar/toolbar-types.ts::ToolbarStickyEdge",
|
|
783
|
+
"referenceLocation": "ToolbarStickyEdge"
|
|
784
|
+
}
|
|
785
|
+
}
|
|
786
|
+
},
|
|
787
|
+
"required": false,
|
|
788
|
+
"optional": false,
|
|
789
|
+
"docs": {
|
|
790
|
+
"tags": [],
|
|
791
|
+
"text": "Which edge to stick to when position is sticky or fixed."
|
|
792
|
+
},
|
|
793
|
+
"getter": false,
|
|
794
|
+
"setter": false,
|
|
795
|
+
"reflect": false,
|
|
796
|
+
"attribute": "sticky-edge",
|
|
797
|
+
"defaultValue": "'top'"
|
|
798
|
+
},
|
|
799
|
+
"alignment": {
|
|
800
|
+
"type": "string",
|
|
801
|
+
"mutable": false,
|
|
802
|
+
"complexType": {
|
|
803
|
+
"original": "ToolbarAlignment",
|
|
804
|
+
"resolved": "\"center\" | \"end\" | \"space-around\" | \"space-between\" | \"space-evenly\" | \"start\"",
|
|
805
|
+
"references": {
|
|
806
|
+
"ToolbarAlignment": {
|
|
807
|
+
"location": "import",
|
|
808
|
+
"path": "./toolbar-types",
|
|
809
|
+
"id": "src/components/toolbar/toolbar-types.ts::ToolbarAlignment",
|
|
810
|
+
"referenceLocation": "ToolbarAlignment"
|
|
811
|
+
}
|
|
812
|
+
}
|
|
813
|
+
},
|
|
814
|
+
"required": false,
|
|
815
|
+
"optional": false,
|
|
816
|
+
"docs": {
|
|
817
|
+
"tags": [],
|
|
818
|
+
"text": "Alignment of items along the main axis."
|
|
819
|
+
},
|
|
820
|
+
"getter": false,
|
|
821
|
+
"setter": false,
|
|
822
|
+
"reflect": false,
|
|
823
|
+
"attribute": "alignment",
|
|
824
|
+
"defaultValue": "'start'"
|
|
825
|
+
},
|
|
826
|
+
"gap": {
|
|
827
|
+
"type": "string",
|
|
828
|
+
"mutable": false,
|
|
829
|
+
"complexType": {
|
|
830
|
+
"original": "string",
|
|
831
|
+
"resolved": "string",
|
|
832
|
+
"references": {}
|
|
833
|
+
},
|
|
834
|
+
"required": false,
|
|
835
|
+
"optional": false,
|
|
836
|
+
"docs": {
|
|
837
|
+
"tags": [],
|
|
838
|
+
"text": "Gap between items (CSS value)."
|
|
839
|
+
},
|
|
840
|
+
"getter": false,
|
|
841
|
+
"setter": false,
|
|
842
|
+
"reflect": false,
|
|
843
|
+
"attribute": "gap",
|
|
844
|
+
"defaultValue": "'4px'"
|
|
845
|
+
},
|
|
846
|
+
"padding": {
|
|
847
|
+
"type": "string",
|
|
848
|
+
"mutable": false,
|
|
849
|
+
"complexType": {
|
|
850
|
+
"original": "string",
|
|
851
|
+
"resolved": "string",
|
|
852
|
+
"references": {}
|
|
853
|
+
},
|
|
854
|
+
"required": false,
|
|
855
|
+
"optional": false,
|
|
856
|
+
"docs": {
|
|
857
|
+
"tags": [],
|
|
858
|
+
"text": "Padding inside the toolbar (CSS value)."
|
|
859
|
+
},
|
|
860
|
+
"getter": false,
|
|
861
|
+
"setter": false,
|
|
862
|
+
"reflect": false,
|
|
863
|
+
"attribute": "padding",
|
|
864
|
+
"defaultValue": "'8px 12px'"
|
|
865
|
+
},
|
|
866
|
+
"maxSize": {
|
|
867
|
+
"type": "string",
|
|
868
|
+
"mutable": false,
|
|
869
|
+
"complexType": {
|
|
870
|
+
"original": "string",
|
|
871
|
+
"resolved": "string",
|
|
872
|
+
"references": {}
|
|
873
|
+
},
|
|
874
|
+
"required": false,
|
|
875
|
+
"optional": false,
|
|
876
|
+
"docs": {
|
|
877
|
+
"tags": [],
|
|
878
|
+
"text": "Maximum height (horizontal) or width (vertical) (CSS value)."
|
|
879
|
+
},
|
|
880
|
+
"getter": false,
|
|
881
|
+
"setter": false,
|
|
882
|
+
"reflect": false,
|
|
883
|
+
"attribute": "max-size"
|
|
884
|
+
},
|
|
885
|
+
"overflowStrategy": {
|
|
886
|
+
"type": "string",
|
|
887
|
+
"mutable": false,
|
|
888
|
+
"complexType": {
|
|
889
|
+
"original": "ToolbarOverflowStrategy",
|
|
890
|
+
"resolved": "\"dropdown\" | \"hidden\" | \"scroll\" | \"wrap\"",
|
|
891
|
+
"references": {
|
|
892
|
+
"ToolbarOverflowStrategy": {
|
|
893
|
+
"location": "import",
|
|
894
|
+
"path": "./toolbar-types",
|
|
895
|
+
"id": "src/components/toolbar/toolbar-types.ts::ToolbarOverflowStrategy",
|
|
896
|
+
"referenceLocation": "ToolbarOverflowStrategy"
|
|
897
|
+
}
|
|
898
|
+
}
|
|
899
|
+
},
|
|
900
|
+
"required": false,
|
|
901
|
+
"optional": false,
|
|
902
|
+
"docs": {
|
|
903
|
+
"tags": [],
|
|
904
|
+
"text": "Overflow handling strategy."
|
|
905
|
+
},
|
|
906
|
+
"getter": false,
|
|
907
|
+
"setter": false,
|
|
908
|
+
"reflect": false,
|
|
909
|
+
"attribute": "overflow-strategy",
|
|
910
|
+
"defaultValue": "'dropdown'"
|
|
911
|
+
},
|
|
912
|
+
"overflowLabel": {
|
|
913
|
+
"type": "string",
|
|
914
|
+
"mutable": false,
|
|
915
|
+
"complexType": {
|
|
916
|
+
"original": "string",
|
|
917
|
+
"resolved": "string",
|
|
918
|
+
"references": {}
|
|
919
|
+
},
|
|
920
|
+
"required": false,
|
|
921
|
+
"optional": false,
|
|
922
|
+
"docs": {
|
|
923
|
+
"tags": [],
|
|
924
|
+
"text": "Label for the overflow \"More\" button."
|
|
925
|
+
},
|
|
926
|
+
"getter": false,
|
|
927
|
+
"setter": false,
|
|
928
|
+
"reflect": false,
|
|
929
|
+
"attribute": "overflow-label",
|
|
930
|
+
"defaultValue": "'More'"
|
|
931
|
+
},
|
|
932
|
+
"overflowIcon": {
|
|
933
|
+
"type": "string",
|
|
934
|
+
"mutable": false,
|
|
935
|
+
"complexType": {
|
|
936
|
+
"original": "string",
|
|
937
|
+
"resolved": "string",
|
|
938
|
+
"references": {}
|
|
939
|
+
},
|
|
940
|
+
"required": false,
|
|
941
|
+
"optional": false,
|
|
942
|
+
"docs": {
|
|
943
|
+
"tags": [],
|
|
944
|
+
"text": "Icon for the overflow more button."
|
|
945
|
+
},
|
|
946
|
+
"getter": false,
|
|
947
|
+
"setter": false,
|
|
948
|
+
"reflect": false,
|
|
949
|
+
"attribute": "overflow-icon",
|
|
950
|
+
"defaultValue": "'more-horizontal'"
|
|
951
|
+
},
|
|
952
|
+
"iconLibrary": {
|
|
953
|
+
"type": "string",
|
|
954
|
+
"mutable": false,
|
|
955
|
+
"complexType": {
|
|
956
|
+
"original": "IconLibrary",
|
|
957
|
+
"resolved": "\"bootstrap\" | \"default\" | \"emoji\" | \"fontawesome\" | \"google\" | \"iconoir\" | \"icons8\" | \"ionicons\" | \"lucide\" | \"remixicon\" | \"se\"",
|
|
958
|
+
"references": {
|
|
959
|
+
"IconLibrary": {
|
|
960
|
+
"location": "import",
|
|
961
|
+
"path": "../../types",
|
|
962
|
+
"id": "src/types/index.ts::IconLibrary",
|
|
963
|
+
"referenceLocation": "IconLibrary"
|
|
964
|
+
}
|
|
965
|
+
}
|
|
966
|
+
},
|
|
967
|
+
"required": false,
|
|
968
|
+
"optional": false,
|
|
969
|
+
"docs": {
|
|
970
|
+
"tags": [],
|
|
971
|
+
"text": "Default icon library for items that don't specify one."
|
|
972
|
+
},
|
|
973
|
+
"getter": false,
|
|
974
|
+
"setter": false,
|
|
975
|
+
"reflect": false,
|
|
976
|
+
"attribute": "icon-library",
|
|
977
|
+
"defaultValue": "'lucide'"
|
|
978
|
+
},
|
|
979
|
+
"disabled": {
|
|
980
|
+
"type": "boolean",
|
|
981
|
+
"mutable": false,
|
|
982
|
+
"complexType": {
|
|
983
|
+
"original": "boolean",
|
|
984
|
+
"resolved": "boolean",
|
|
985
|
+
"references": {}
|
|
986
|
+
},
|
|
987
|
+
"required": false,
|
|
988
|
+
"optional": false,
|
|
989
|
+
"docs": {
|
|
990
|
+
"tags": [],
|
|
991
|
+
"text": "Whether the toolbar is in a disabled state."
|
|
992
|
+
},
|
|
993
|
+
"getter": false,
|
|
994
|
+
"setter": false,
|
|
995
|
+
"reflect": false,
|
|
996
|
+
"attribute": "disabled",
|
|
997
|
+
"defaultValue": "false"
|
|
998
|
+
},
|
|
999
|
+
"loading": {
|
|
1000
|
+
"type": "boolean",
|
|
1001
|
+
"mutable": false,
|
|
1002
|
+
"complexType": {
|
|
1003
|
+
"original": "boolean",
|
|
1004
|
+
"resolved": "boolean",
|
|
1005
|
+
"references": {}
|
|
1006
|
+
},
|
|
1007
|
+
"required": false,
|
|
1008
|
+
"optional": false,
|
|
1009
|
+
"docs": {
|
|
1010
|
+
"tags": [],
|
|
1011
|
+
"text": "Whether the toolbar is in a loading state."
|
|
1012
|
+
},
|
|
1013
|
+
"getter": false,
|
|
1014
|
+
"setter": false,
|
|
1015
|
+
"reflect": false,
|
|
1016
|
+
"attribute": "loading",
|
|
1017
|
+
"defaultValue": "false"
|
|
1018
|
+
},
|
|
1019
|
+
"zoneDividers": {
|
|
1020
|
+
"type": "boolean",
|
|
1021
|
+
"mutable": false,
|
|
1022
|
+
"complexType": {
|
|
1023
|
+
"original": "boolean",
|
|
1024
|
+
"resolved": "boolean",
|
|
1025
|
+
"references": {}
|
|
1026
|
+
},
|
|
1027
|
+
"required": false,
|
|
1028
|
+
"optional": false,
|
|
1029
|
+
"docs": {
|
|
1030
|
+
"tags": [],
|
|
1031
|
+
"text": "Show dividers between zones (left/center/right)."
|
|
1032
|
+
},
|
|
1033
|
+
"getter": false,
|
|
1034
|
+
"setter": false,
|
|
1035
|
+
"reflect": false,
|
|
1036
|
+
"attribute": "zone-dividers",
|
|
1037
|
+
"defaultValue": "false"
|
|
1038
|
+
},
|
|
1039
|
+
"rounded": {
|
|
1040
|
+
"type": "boolean",
|
|
1041
|
+
"mutable": false,
|
|
1042
|
+
"complexType": {
|
|
1043
|
+
"original": "boolean",
|
|
1044
|
+
"resolved": "boolean",
|
|
1045
|
+
"references": {}
|
|
1046
|
+
},
|
|
1047
|
+
"required": false,
|
|
1048
|
+
"optional": false,
|
|
1049
|
+
"docs": {
|
|
1050
|
+
"tags": [],
|
|
1051
|
+
"text": "Rounded corners for the whole bar."
|
|
1052
|
+
},
|
|
1053
|
+
"getter": false,
|
|
1054
|
+
"setter": false,
|
|
1055
|
+
"reflect": false,
|
|
1056
|
+
"attribute": "rounded",
|
|
1057
|
+
"defaultValue": "false"
|
|
1058
|
+
},
|
|
1059
|
+
"elevation": {
|
|
1060
|
+
"type": "number",
|
|
1061
|
+
"mutable": false,
|
|
1062
|
+
"complexType": {
|
|
1063
|
+
"original": "0 | 1 | 2 | 3 | 4",
|
|
1064
|
+
"resolved": "0 | 1 | 2 | 3 | 4",
|
|
1065
|
+
"references": {}
|
|
1066
|
+
},
|
|
1067
|
+
"required": false,
|
|
1068
|
+
"optional": false,
|
|
1069
|
+
"docs": {
|
|
1070
|
+
"tags": [],
|
|
1071
|
+
"text": "Elevation shadow level (0\u20134)."
|
|
1072
|
+
},
|
|
1073
|
+
"getter": false,
|
|
1074
|
+
"setter": false,
|
|
1075
|
+
"reflect": false,
|
|
1076
|
+
"attribute": "elevation",
|
|
1077
|
+
"defaultValue": "1"
|
|
1078
|
+
},
|
|
1079
|
+
"reorderable": {
|
|
1080
|
+
"type": "boolean",
|
|
1081
|
+
"mutable": false,
|
|
1082
|
+
"complexType": {
|
|
1083
|
+
"original": "boolean",
|
|
1084
|
+
"resolved": "boolean",
|
|
1085
|
+
"references": {}
|
|
1086
|
+
},
|
|
1087
|
+
"required": false,
|
|
1088
|
+
"optional": false,
|
|
1089
|
+
"docs": {
|
|
1090
|
+
"tags": [],
|
|
1091
|
+
"text": "Enable drag-and-drop reordering of toolbar items."
|
|
1092
|
+
},
|
|
1093
|
+
"getter": false,
|
|
1094
|
+
"setter": false,
|
|
1095
|
+
"reflect": false,
|
|
1096
|
+
"attribute": "reorderable",
|
|
1097
|
+
"defaultValue": "false"
|
|
1098
|
+
},
|
|
1099
|
+
"keyboardNav": {
|
|
1100
|
+
"type": "boolean",
|
|
1101
|
+
"mutable": false,
|
|
1102
|
+
"complexType": {
|
|
1103
|
+
"original": "boolean",
|
|
1104
|
+
"resolved": "boolean",
|
|
1105
|
+
"references": {}
|
|
1106
|
+
},
|
|
1107
|
+
"required": false,
|
|
1108
|
+
"optional": false,
|
|
1109
|
+
"docs": {
|
|
1110
|
+
"tags": [],
|
|
1111
|
+
"text": "Enable keyboard navigation across items."
|
|
1112
|
+
},
|
|
1113
|
+
"getter": false,
|
|
1114
|
+
"setter": false,
|
|
1115
|
+
"reflect": false,
|
|
1116
|
+
"attribute": "keyboard-nav",
|
|
1117
|
+
"defaultValue": "true"
|
|
1118
|
+
},
|
|
1119
|
+
"toolbarAriaLabel": {
|
|
1120
|
+
"type": "string",
|
|
1121
|
+
"mutable": false,
|
|
1122
|
+
"complexType": {
|
|
1123
|
+
"original": "string",
|
|
1124
|
+
"resolved": "string",
|
|
1125
|
+
"references": {}
|
|
1126
|
+
},
|
|
1127
|
+
"required": false,
|
|
1128
|
+
"optional": false,
|
|
1129
|
+
"docs": {
|
|
1130
|
+
"tags": [],
|
|
1131
|
+
"text": "Accessible label for the toolbar element."
|
|
1132
|
+
},
|
|
1133
|
+
"getter": false,
|
|
1134
|
+
"setter": false,
|
|
1135
|
+
"reflect": false,
|
|
1136
|
+
"attribute": "toolbar-aria-label",
|
|
1137
|
+
"defaultValue": "'Toolbar'"
|
|
1138
|
+
},
|
|
1139
|
+
"bordered": {
|
|
1140
|
+
"type": "boolean",
|
|
1141
|
+
"mutable": false,
|
|
1142
|
+
"complexType": {
|
|
1143
|
+
"original": "boolean",
|
|
1144
|
+
"resolved": "boolean",
|
|
1145
|
+
"references": {}
|
|
1146
|
+
},
|
|
1147
|
+
"required": false,
|
|
1148
|
+
"optional": false,
|
|
1149
|
+
"docs": {
|
|
1150
|
+
"tags": [],
|
|
1151
|
+
"text": "Show a border around the toolbar."
|
|
1152
|
+
},
|
|
1153
|
+
"getter": false,
|
|
1154
|
+
"setter": false,
|
|
1155
|
+
"reflect": false,
|
|
1156
|
+
"attribute": "bordered",
|
|
1157
|
+
"defaultValue": "false"
|
|
1158
|
+
},
|
|
1159
|
+
"iconOnly": {
|
|
1160
|
+
"type": "boolean",
|
|
1161
|
+
"mutable": false,
|
|
1162
|
+
"complexType": {
|
|
1163
|
+
"original": "boolean",
|
|
1164
|
+
"resolved": "boolean",
|
|
1165
|
+
"references": {}
|
|
1166
|
+
},
|
|
1167
|
+
"required": false,
|
|
1168
|
+
"optional": false,
|
|
1169
|
+
"docs": {
|
|
1170
|
+
"tags": [],
|
|
1171
|
+
"text": "Make label hidden (icon-only) for button items by default."
|
|
1172
|
+
},
|
|
1173
|
+
"getter": false,
|
|
1174
|
+
"setter": false,
|
|
1175
|
+
"reflect": false,
|
|
1176
|
+
"attribute": "icon-only",
|
|
1177
|
+
"defaultValue": "false"
|
|
1178
|
+
},
|
|
1179
|
+
"inputDebounce": {
|
|
1180
|
+
"type": "number",
|
|
1181
|
+
"mutable": false,
|
|
1182
|
+
"complexType": {
|
|
1183
|
+
"original": "number",
|
|
1184
|
+
"resolved": "number",
|
|
1185
|
+
"references": {}
|
|
1186
|
+
},
|
|
1187
|
+
"required": false,
|
|
1188
|
+
"optional": false,
|
|
1189
|
+
"docs": {
|
|
1190
|
+
"tags": [],
|
|
1191
|
+
"text": "Debounce time in ms for input/search items."
|
|
1192
|
+
},
|
|
1193
|
+
"getter": false,
|
|
1194
|
+
"setter": false,
|
|
1195
|
+
"reflect": false,
|
|
1196
|
+
"attribute": "input-debounce",
|
|
1197
|
+
"defaultValue": "300"
|
|
1198
|
+
}
|
|
1199
|
+
};
|
|
1200
|
+
}
|
|
1201
|
+
static get states() {
|
|
1202
|
+
return {
|
|
1203
|
+
"overflowedIds": {},
|
|
1204
|
+
"isOverflowOpen": {},
|
|
1205
|
+
"itemStates": {},
|
|
1206
|
+
"dragSourceId": {},
|
|
1207
|
+
"parsedSchema": {},
|
|
1208
|
+
"parsedItems": {},
|
|
1209
|
+
"isMobile": {},
|
|
1210
|
+
"isCollapsed": {},
|
|
1211
|
+
"openChildDropdowns": {}
|
|
1212
|
+
};
|
|
1213
|
+
}
|
|
1214
|
+
static get events() {
|
|
1215
|
+
return [{
|
|
1216
|
+
"method": "toolbarItemClick",
|
|
1217
|
+
"name": "toolbarItemClick",
|
|
1218
|
+
"bubbles": true,
|
|
1219
|
+
"cancelable": true,
|
|
1220
|
+
"composed": true,
|
|
1221
|
+
"docs": {
|
|
1222
|
+
"tags": [],
|
|
1223
|
+
"text": "Fired when a button or clickable item is activated."
|
|
1224
|
+
},
|
|
1225
|
+
"complexType": {
|
|
1226
|
+
"original": "ToolbarItemClickEvent",
|
|
1227
|
+
"resolved": "ToolbarItemClickEvent",
|
|
1228
|
+
"references": {
|
|
1229
|
+
"ToolbarItemClickEvent": {
|
|
1230
|
+
"location": "import",
|
|
1231
|
+
"path": "./toolbar-types",
|
|
1232
|
+
"id": "src/components/toolbar/toolbar-types.ts::ToolbarItemClickEvent",
|
|
1233
|
+
"referenceLocation": "ToolbarItemClickEvent"
|
|
1234
|
+
}
|
|
1235
|
+
}
|
|
1236
|
+
}
|
|
1237
|
+
}, {
|
|
1238
|
+
"method": "toolbarItemChange",
|
|
1239
|
+
"name": "toolbarItemChange",
|
|
1240
|
+
"bubbles": true,
|
|
1241
|
+
"cancelable": true,
|
|
1242
|
+
"composed": true,
|
|
1243
|
+
"docs": {
|
|
1244
|
+
"tags": [],
|
|
1245
|
+
"text": "Fired when an input, dropdown, toggle, or switch value changes."
|
|
1246
|
+
},
|
|
1247
|
+
"complexType": {
|
|
1248
|
+
"original": "ToolbarItemChangeEvent",
|
|
1249
|
+
"resolved": "ToolbarItemChangeEvent",
|
|
1250
|
+
"references": {
|
|
1251
|
+
"ToolbarItemChangeEvent": {
|
|
1252
|
+
"location": "import",
|
|
1253
|
+
"path": "./toolbar-types",
|
|
1254
|
+
"id": "src/components/toolbar/toolbar-types.ts::ToolbarItemChangeEvent",
|
|
1255
|
+
"referenceLocation": "ToolbarItemChangeEvent"
|
|
1256
|
+
}
|
|
1257
|
+
}
|
|
1258
|
+
}
|
|
1259
|
+
}, {
|
|
1260
|
+
"method": "toolbarOverflowChange",
|
|
1261
|
+
"name": "toolbarOverflowChange",
|
|
1262
|
+
"bubbles": true,
|
|
1263
|
+
"cancelable": true,
|
|
1264
|
+
"composed": true,
|
|
1265
|
+
"docs": {
|
|
1266
|
+
"tags": [],
|
|
1267
|
+
"text": "Fired when the visible/overflowed item set changes."
|
|
1268
|
+
},
|
|
1269
|
+
"complexType": {
|
|
1270
|
+
"original": "ToolbarOverflowChangeEvent",
|
|
1271
|
+
"resolved": "ToolbarOverflowChangeEvent",
|
|
1272
|
+
"references": {
|
|
1273
|
+
"ToolbarOverflowChangeEvent": {
|
|
1274
|
+
"location": "import",
|
|
1275
|
+
"path": "./toolbar-types",
|
|
1276
|
+
"id": "src/components/toolbar/toolbar-types.ts::ToolbarOverflowChangeEvent",
|
|
1277
|
+
"referenceLocation": "ToolbarOverflowChangeEvent"
|
|
1278
|
+
}
|
|
1279
|
+
}
|
|
1280
|
+
}
|
|
1281
|
+
}, {
|
|
1282
|
+
"method": "toolbarReorder",
|
|
1283
|
+
"name": "toolbarReorder",
|
|
1284
|
+
"bubbles": true,
|
|
1285
|
+
"cancelable": true,
|
|
1286
|
+
"composed": true,
|
|
1287
|
+
"docs": {
|
|
1288
|
+
"tags": [],
|
|
1289
|
+
"text": "Fired after a drag-and-drop reorder."
|
|
1290
|
+
},
|
|
1291
|
+
"complexType": {
|
|
1292
|
+
"original": "ToolbarItem[]",
|
|
1293
|
+
"resolved": "ToolbarItem[]",
|
|
1294
|
+
"references": {
|
|
1295
|
+
"ToolbarItem": {
|
|
1296
|
+
"location": "import",
|
|
1297
|
+
"path": "./toolbar-types",
|
|
1298
|
+
"id": "src/components/toolbar/toolbar-types.ts::ToolbarItem",
|
|
1299
|
+
"referenceLocation": "ToolbarItem"
|
|
1300
|
+
}
|
|
1301
|
+
}
|
|
1302
|
+
}
|
|
1303
|
+
}];
|
|
1304
|
+
}
|
|
1305
|
+
static get methods() {
|
|
1306
|
+
return {
|
|
1307
|
+
"setItemValue": {
|
|
1308
|
+
"complexType": {
|
|
1309
|
+
"signature": "(id: string, value: unknown) => Promise<void>",
|
|
1310
|
+
"parameters": [{
|
|
1311
|
+
"name": "id",
|
|
1312
|
+
"type": "string",
|
|
1313
|
+
"docs": ""
|
|
1314
|
+
}, {
|
|
1315
|
+
"name": "value",
|
|
1316
|
+
"type": "unknown",
|
|
1317
|
+
"docs": ""
|
|
1318
|
+
}],
|
|
1319
|
+
"references": {
|
|
1320
|
+
"Promise": {
|
|
1321
|
+
"location": "global",
|
|
1322
|
+
"id": "global::Promise"
|
|
1323
|
+
}
|
|
1324
|
+
},
|
|
1325
|
+
"return": "Promise<void>"
|
|
1326
|
+
},
|
|
1327
|
+
"docs": {
|
|
1328
|
+
"text": "Programmatically set the value of any item by id.",
|
|
1329
|
+
"tags": []
|
|
1330
|
+
}
|
|
1331
|
+
},
|
|
1332
|
+
"getItemValue": {
|
|
1333
|
+
"complexType": {
|
|
1334
|
+
"signature": "(id: string) => Promise<unknown>",
|
|
1335
|
+
"parameters": [{
|
|
1336
|
+
"name": "id",
|
|
1337
|
+
"type": "string",
|
|
1338
|
+
"docs": ""
|
|
1339
|
+
}],
|
|
1340
|
+
"references": {
|
|
1341
|
+
"Promise": {
|
|
1342
|
+
"location": "global",
|
|
1343
|
+
"id": "global::Promise"
|
|
1344
|
+
}
|
|
1345
|
+
},
|
|
1346
|
+
"return": "Promise<unknown>"
|
|
1347
|
+
},
|
|
1348
|
+
"docs": {
|
|
1349
|
+
"text": "Get the current value of an item by id.",
|
|
1350
|
+
"tags": []
|
|
1351
|
+
}
|
|
1352
|
+
},
|
|
1353
|
+
"setItemDisabled": {
|
|
1354
|
+
"complexType": {
|
|
1355
|
+
"signature": "(id: string, disabled: boolean) => Promise<void>",
|
|
1356
|
+
"parameters": [{
|
|
1357
|
+
"name": "id",
|
|
1358
|
+
"type": "string",
|
|
1359
|
+
"docs": ""
|
|
1360
|
+
}, {
|
|
1361
|
+
"name": "disabled",
|
|
1362
|
+
"type": "boolean",
|
|
1363
|
+
"docs": ""
|
|
1364
|
+
}],
|
|
1365
|
+
"references": {
|
|
1366
|
+
"Promise": {
|
|
1367
|
+
"location": "global",
|
|
1368
|
+
"id": "global::Promise"
|
|
1369
|
+
}
|
|
1370
|
+
},
|
|
1371
|
+
"return": "Promise<void>"
|
|
1372
|
+
},
|
|
1373
|
+
"docs": {
|
|
1374
|
+
"text": "Disable or enable an item by id.",
|
|
1375
|
+
"tags": []
|
|
1376
|
+
}
|
|
1377
|
+
},
|
|
1378
|
+
"setItemHidden": {
|
|
1379
|
+
"complexType": {
|
|
1380
|
+
"signature": "(id: string, hidden: boolean) => Promise<void>",
|
|
1381
|
+
"parameters": [{
|
|
1382
|
+
"name": "id",
|
|
1383
|
+
"type": "string",
|
|
1384
|
+
"docs": ""
|
|
1385
|
+
}, {
|
|
1386
|
+
"name": "hidden",
|
|
1387
|
+
"type": "boolean",
|
|
1388
|
+
"docs": ""
|
|
1389
|
+
}],
|
|
1390
|
+
"references": {
|
|
1391
|
+
"Promise": {
|
|
1392
|
+
"location": "global",
|
|
1393
|
+
"id": "global::Promise"
|
|
1394
|
+
}
|
|
1395
|
+
},
|
|
1396
|
+
"return": "Promise<void>"
|
|
1397
|
+
},
|
|
1398
|
+
"docs": {
|
|
1399
|
+
"text": "Toggle visibility of an item.",
|
|
1400
|
+
"tags": []
|
|
1401
|
+
}
|
|
1402
|
+
},
|
|
1403
|
+
"setItemLoading": {
|
|
1404
|
+
"complexType": {
|
|
1405
|
+
"signature": "(id: string, loading: boolean) => Promise<void>",
|
|
1406
|
+
"parameters": [{
|
|
1407
|
+
"name": "id",
|
|
1408
|
+
"type": "string",
|
|
1409
|
+
"docs": ""
|
|
1410
|
+
}, {
|
|
1411
|
+
"name": "loading",
|
|
1412
|
+
"type": "boolean",
|
|
1413
|
+
"docs": ""
|
|
1414
|
+
}],
|
|
1415
|
+
"references": {
|
|
1416
|
+
"Promise": {
|
|
1417
|
+
"location": "global",
|
|
1418
|
+
"id": "global::Promise"
|
|
1419
|
+
}
|
|
1420
|
+
},
|
|
1421
|
+
"return": "Promise<void>"
|
|
1422
|
+
},
|
|
1423
|
+
"docs": {
|
|
1424
|
+
"text": "Set loading state on a specific button item.",
|
|
1425
|
+
"tags": []
|
|
1426
|
+
}
|
|
1427
|
+
},
|
|
1428
|
+
"toggleItem": {
|
|
1429
|
+
"complexType": {
|
|
1430
|
+
"signature": "(id: string) => Promise<void>",
|
|
1431
|
+
"parameters": [{
|
|
1432
|
+
"name": "id",
|
|
1433
|
+
"type": "string",
|
|
1434
|
+
"docs": ""
|
|
1435
|
+
}],
|
|
1436
|
+
"references": {
|
|
1437
|
+
"Promise": {
|
|
1438
|
+
"location": "global",
|
|
1439
|
+
"id": "global::Promise"
|
|
1440
|
+
}
|
|
1441
|
+
},
|
|
1442
|
+
"return": "Promise<void>"
|
|
1443
|
+
},
|
|
1444
|
+
"docs": {
|
|
1445
|
+
"text": "Toggle active state of a toggleable button.",
|
|
1446
|
+
"tags": []
|
|
1447
|
+
}
|
|
1448
|
+
},
|
|
1449
|
+
"setCollapsed": {
|
|
1450
|
+
"complexType": {
|
|
1451
|
+
"signature": "(collapsed: boolean) => Promise<void>",
|
|
1452
|
+
"parameters": [{
|
|
1453
|
+
"name": "collapsed",
|
|
1454
|
+
"type": "boolean",
|
|
1455
|
+
"docs": ""
|
|
1456
|
+
}],
|
|
1457
|
+
"references": {
|
|
1458
|
+
"Promise": {
|
|
1459
|
+
"location": "global",
|
|
1460
|
+
"id": "global::Promise"
|
|
1461
|
+
}
|
|
1462
|
+
},
|
|
1463
|
+
"return": "Promise<void>"
|
|
1464
|
+
},
|
|
1465
|
+
"docs": {
|
|
1466
|
+
"text": "Collapse / expand the toolbar (mobile).",
|
|
1467
|
+
"tags": []
|
|
1468
|
+
}
|
|
1469
|
+
},
|
|
1470
|
+
"setOverflowOpen": {
|
|
1471
|
+
"complexType": {
|
|
1472
|
+
"signature": "(open: boolean) => Promise<void>",
|
|
1473
|
+
"parameters": [{
|
|
1474
|
+
"name": "open",
|
|
1475
|
+
"type": "boolean",
|
|
1476
|
+
"docs": ""
|
|
1477
|
+
}],
|
|
1478
|
+
"references": {
|
|
1479
|
+
"Promise": {
|
|
1480
|
+
"location": "global",
|
|
1481
|
+
"id": "global::Promise"
|
|
1482
|
+
}
|
|
1483
|
+
},
|
|
1484
|
+
"return": "Promise<void>"
|
|
1485
|
+
},
|
|
1486
|
+
"docs": {
|
|
1487
|
+
"text": "Open or close the overflow menu.",
|
|
1488
|
+
"tags": []
|
|
1489
|
+
}
|
|
1490
|
+
},
|
|
1491
|
+
"getStateSnapshot": {
|
|
1492
|
+
"complexType": {
|
|
1493
|
+
"signature": "() => Promise<ToolbarStateSnapshot>",
|
|
1494
|
+
"parameters": [],
|
|
1495
|
+
"references": {
|
|
1496
|
+
"Promise": {
|
|
1497
|
+
"location": "global",
|
|
1498
|
+
"id": "global::Promise"
|
|
1499
|
+
},
|
|
1500
|
+
"ToolbarStateSnapshot": {
|
|
1501
|
+
"location": "import",
|
|
1502
|
+
"path": "./toolbar-types",
|
|
1503
|
+
"id": "src/components/toolbar/toolbar-types.ts::ToolbarStateSnapshot",
|
|
1504
|
+
"referenceLocation": "ToolbarStateSnapshot"
|
|
1505
|
+
}
|
|
1506
|
+
},
|
|
1507
|
+
"return": "Promise<ToolbarStateSnapshot>"
|
|
1508
|
+
},
|
|
1509
|
+
"docs": {
|
|
1510
|
+
"text": "Get a snapshot of current toolbar state.",
|
|
1511
|
+
"tags": []
|
|
1512
|
+
}
|
|
1513
|
+
},
|
|
1514
|
+
"restoreStateSnapshot": {
|
|
1515
|
+
"complexType": {
|
|
1516
|
+
"signature": "(snapshot: ToolbarStateSnapshot) => Promise<void>",
|
|
1517
|
+
"parameters": [{
|
|
1518
|
+
"name": "snapshot",
|
|
1519
|
+
"type": "ToolbarStateSnapshot",
|
|
1520
|
+
"docs": ""
|
|
1521
|
+
}],
|
|
1522
|
+
"references": {
|
|
1523
|
+
"Promise": {
|
|
1524
|
+
"location": "global",
|
|
1525
|
+
"id": "global::Promise"
|
|
1526
|
+
},
|
|
1527
|
+
"ToolbarStateSnapshot": {
|
|
1528
|
+
"location": "import",
|
|
1529
|
+
"path": "./toolbar-types",
|
|
1530
|
+
"id": "src/components/toolbar/toolbar-types.ts::ToolbarStateSnapshot",
|
|
1531
|
+
"referenceLocation": "ToolbarStateSnapshot"
|
|
1532
|
+
}
|
|
1533
|
+
},
|
|
1534
|
+
"return": "Promise<void>"
|
|
1535
|
+
},
|
|
1536
|
+
"docs": {
|
|
1537
|
+
"text": "",
|
|
1538
|
+
"tags": []
|
|
1539
|
+
}
|
|
1540
|
+
},
|
|
1541
|
+
"undo": {
|
|
1542
|
+
"complexType": {
|
|
1543
|
+
"signature": "() => Promise<void>",
|
|
1544
|
+
"parameters": [],
|
|
1545
|
+
"references": {
|
|
1546
|
+
"Promise": {
|
|
1547
|
+
"location": "global",
|
|
1548
|
+
"id": "global::Promise"
|
|
1549
|
+
}
|
|
1550
|
+
},
|
|
1551
|
+
"return": "Promise<void>"
|
|
1552
|
+
},
|
|
1553
|
+
"docs": {
|
|
1554
|
+
"text": "Undo last value change.",
|
|
1555
|
+
"tags": []
|
|
1556
|
+
}
|
|
1557
|
+
},
|
|
1558
|
+
"redo": {
|
|
1559
|
+
"complexType": {
|
|
1560
|
+
"signature": "() => Promise<void>",
|
|
1561
|
+
"parameters": [],
|
|
1562
|
+
"references": {
|
|
1563
|
+
"Promise": {
|
|
1564
|
+
"location": "global",
|
|
1565
|
+
"id": "global::Promise"
|
|
1566
|
+
}
|
|
1567
|
+
},
|
|
1568
|
+
"return": "Promise<void>"
|
|
1569
|
+
},
|
|
1570
|
+
"docs": {
|
|
1571
|
+
"text": "Redo last undone change.",
|
|
1572
|
+
"tags": []
|
|
1573
|
+
}
|
|
1574
|
+
},
|
|
1575
|
+
"focusItem": {
|
|
1576
|
+
"complexType": {
|
|
1577
|
+
"signature": "(id: string) => Promise<void>",
|
|
1578
|
+
"parameters": [{
|
|
1579
|
+
"name": "id",
|
|
1580
|
+
"type": "string",
|
|
1581
|
+
"docs": ""
|
|
1582
|
+
}],
|
|
1583
|
+
"references": {
|
|
1584
|
+
"Promise": {
|
|
1585
|
+
"location": "global",
|
|
1586
|
+
"id": "global::Promise"
|
|
1587
|
+
}
|
|
1588
|
+
},
|
|
1589
|
+
"return": "Promise<void>"
|
|
1590
|
+
},
|
|
1591
|
+
"docs": {
|
|
1592
|
+
"text": "Focus a specific toolbar item by id.",
|
|
1593
|
+
"tags": []
|
|
1594
|
+
}
|
|
1595
|
+
}
|
|
1596
|
+
};
|
|
1597
|
+
}
|
|
1598
|
+
static get elementRef() { return "el"; }
|
|
1599
|
+
static get watchers() {
|
|
1600
|
+
return [{
|
|
1601
|
+
"propName": "items",
|
|
1602
|
+
"methodName": "onItemsChange"
|
|
1603
|
+
}, {
|
|
1604
|
+
"propName": "schema",
|
|
1605
|
+
"methodName": "onSchemaChange"
|
|
1606
|
+
}];
|
|
1607
|
+
}
|
|
1608
|
+
static get listeners() {
|
|
1609
|
+
return [{
|
|
1610
|
+
"name": "click",
|
|
1611
|
+
"method": "onDocumentClick",
|
|
1612
|
+
"target": "document",
|
|
1613
|
+
"capture": false,
|
|
1614
|
+
"passive": false
|
|
1615
|
+
}, {
|
|
1616
|
+
"name": "keydown",
|
|
1617
|
+
"method": "onKeyDown",
|
|
1618
|
+
"target": undefined,
|
|
1619
|
+
"capture": false,
|
|
1620
|
+
"passive": false
|
|
1621
|
+
}, {
|
|
1622
|
+
"name": "dropdownOpen",
|
|
1623
|
+
"method": "onChildDropdownOpen",
|
|
1624
|
+
"target": undefined,
|
|
1625
|
+
"capture": false,
|
|
1626
|
+
"passive": false
|
|
1627
|
+
}, {
|
|
1628
|
+
"name": "dropdownClose",
|
|
1629
|
+
"method": "onChildDropdownClose",
|
|
1630
|
+
"target": undefined,
|
|
1631
|
+
"capture": false,
|
|
1632
|
+
"passive": false
|
|
1633
|
+
}];
|
|
1634
|
+
}
|
|
1635
|
+
}
|