cornet-ui 0.1.0-beta.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 +95 -0
- package/components/Actions/du-button/du-button.types.ts +14 -0
- package/components/Actions/du-button/du-button.vue +149 -0
- package/components/Actions/du-dropdown/du-dropdown.types.ts +15 -0
- package/components/Actions/du-dropdown/du-dropdown.vue +75 -0
- package/components/Actions/du-fab/du-fab.types.ts +28 -0
- package/components/Actions/du-fab/du-fab.vue +270 -0
- package/components/Actions/du-modal/du-modal.types.ts +10 -0
- package/components/Actions/du-modal/du-modal.vue +123 -0
- package/components/Actions/du-swap/du-swap.types.ts +3 -0
- package/components/Actions/du-swap/du-swap.vue +68 -0
- package/components/DataDisplay/du-accordion/du-accordion-item.vue +37 -0
- package/components/DataDisplay/du-accordion/du-accordion.types.ts +15 -0
- package/components/DataDisplay/du-accordion/du-accordion.vue +73 -0
- package/components/DataDisplay/du-avatar/du-avatar.types.ts +59 -0
- package/components/DataDisplay/du-avatar/du-avatar.vue +139 -0
- package/components/DataDisplay/du-badge/du-badge.types.ts +21 -0
- package/components/DataDisplay/du-badge/du-badge.vue +81 -0
- package/components/DataDisplay/du-card/du-card.types.ts +18 -0
- package/components/DataDisplay/du-card/du-card.vue +86 -0
- package/components/DataDisplay/du-carousel/du-carousel-item.vue +11 -0
- package/components/DataDisplay/du-carousel/du-carousel.types.ts +15 -0
- package/components/DataDisplay/du-carousel/du-carousel.vue +46 -0
- package/components/DataDisplay/du-chat/du-chat-item.vue +56 -0
- package/components/DataDisplay/du-chat/du-chat.types.ts +31 -0
- package/components/DataDisplay/du-chat/du-chat.vue +71 -0
- package/components/DataDisplay/du-collapse/du-collapse.types.ts +15 -0
- package/components/DataDisplay/du-collapse/du-collapse.vue +59 -0
- package/components/DataDisplay/du-countdown/du-countdown-group.vue +88 -0
- package/components/DataDisplay/du-countdown/du-countdown.types.ts +15 -0
- package/components/DataDisplay/du-countdown/du-countdown.vue +180 -0
- package/components/DataDisplay/du-diff/du-diff.types.ts +9 -0
- package/components/DataDisplay/du-diff/du-diff.vue +44 -0
- package/components/DataDisplay/du-kbd/du-kbd.types.ts +9 -0
- package/components/DataDisplay/du-kbd/du-kbd.vue +21 -0
- package/components/DataDisplay/du-list/du-list-row.vue +12 -0
- package/components/DataDisplay/du-list/du-list.types.ts +3 -0
- package/components/DataDisplay/du-list/du-list.vue +11 -0
- package/components/DataDisplay/du-stat/du-stat.types.ts +12 -0
- package/components/DataDisplay/du-stat/du-stat.vue +28 -0
- package/components/DataDisplay/du-stats/du-stats.types.ts +3 -0
- package/components/DataDisplay/du-stats/du-stats.vue +91 -0
- package/components/DataDisplay/du-status/du-status.types.ts +21 -0
- package/components/DataDisplay/du-status/du-status.vue +51 -0
- package/components/DataDisplay/du-table/du-table-item.types.ts +6 -0
- package/components/DataDisplay/du-table/du-table-item.vue +24 -0
- package/components/DataDisplay/du-table/du-table.types.ts +26 -0
- package/components/DataDisplay/du-table/du-table.vue +125 -0
- package/components/DataDisplay/du-timeline/du-timeline-item.vue +85 -0
- package/components/DataDisplay/du-timeline/du-timeline.types.ts +22 -0
- package/components/DataDisplay/du-timeline/du-timeline.vue +138 -0
- package/components/DataInput/du-checkbox/du-checkbox.types.ts +17 -0
- package/components/DataInput/du-checkbox/du-checkbox.vue +40 -0
- package/components/DataInput/du-fieldset/du-fieldset.types.ts +4 -0
- package/components/DataInput/du-fieldset/du-fieldset.vue +16 -0
- package/components/DataInput/du-file-input/du-file-input.types.ts +29 -0
- package/components/DataInput/du-file-input/du-file-input.vue +31 -0
- package/components/DataInput/du-filter/du-filter.types.ts +30 -0
- package/components/DataInput/du-filter/du-filter.vue +47 -0
- package/components/DataInput/du-input-field/du-input-field.types.ts +43 -0
- package/components/DataInput/du-input-field/du-input-field.vue +47 -0
- package/components/DataInput/du-label/du-label.types.ts +3 -0
- package/components/DataInput/du-label/du-label.vue +28 -0
- package/components/DataInput/du-label-input-validator/du-label-input-validator.types.ts +7 -0
- package/components/DataInput/du-label-input-validator/du-label-input-validator.vue +51 -0
- package/components/DataInput/du-radio/du-radio.types.ts +15 -0
- package/components/DataInput/du-radio/du-radio.vue +27 -0
- package/components/DataInput/du-range/du-range.types.ts +18 -0
- package/components/DataInput/du-range/du-range.vue +60 -0
- package/components/DataInput/du-rating/du-rating-item.vue +65 -0
- package/components/DataInput/du-rating/du-rating.types.ts +46 -0
- package/components/DataInput/du-rating/du-rating.vue +127 -0
- package/components/DataInput/du-search/du-search.types.ts +44 -0
- package/components/DataInput/du-search/du-search.vue +425 -0
- package/components/DataInput/du-select/du-select.types.ts +31 -0
- package/components/DataInput/du-select/du-select.vue +384 -0
- package/components/DataInput/du-text-area/du-text-area.types.ts +11 -0
- package/components/DataInput/du-text-area/du-text-area.vue +41 -0
- package/components/Feedback/du-alert/du-alert.types.ts +16 -0
- package/components/Feedback/du-alert/du-alert.vue +113 -0
- package/components/Feedback/du-loading/du-loading.types.ts +11 -0
- package/components/Feedback/du-loading/du-loading.vue +33 -0
- package/components/Feedback/du-progress/du-progress.types.ts +8 -0
- package/components/Feedback/du-progress/du-progress.vue +23 -0
- package/components/Feedback/du-radial-progress/du-radial-progress.types.ts +9 -0
- package/components/Feedback/du-radial-progress/du-radial-progress.vue +64 -0
- package/components/Feedback/du-skeleton/du-skeleton.types.ts +3 -0
- package/components/Feedback/du-skeleton/du-skeleton.vue +11 -0
- package/components/Feedback/du-toast/du-toast.types.ts +11 -0
- package/components/Feedback/du-toast/du-toast.vue +54 -0
- package/components/Feedback/du-tooltip/du-tooltip.types.ts +12 -0
- package/components/Feedback/du-tooltip/du-tooltip.vue +55 -0
- package/components/Layout/du-drawer/du-drawer.types.ts +27 -0
- package/components/Layout/du-drawer/du-drawer.vue +224 -0
- package/components/Layout/du-join/du-join.types.ts +7 -0
- package/components/Layout/du-join/du-join.vue +31 -0
- package/components/Navigation/du-breadcrumbs/du-breadcrumbs.types.ts +13 -0
- package/components/Navigation/du-breadcrumbs/du-breadcrumbs.vue +79 -0
- package/components/Navigation/du-button-link/du-button-link.types.ts +17 -0
- package/components/Navigation/du-button-link/du-button-link.vue +77 -0
- package/components/Navigation/du-dock/du-dock.types.ts +19 -0
- package/components/Navigation/du-dock/du-dock.vue +73 -0
- package/components/Navigation/du-link/du-link.types.ts +7 -0
- package/components/Navigation/du-link/du-link.vue +25 -0
- package/components/Navigation/du-menu/du-menu-item.vue +160 -0
- package/components/Navigation/du-menu/du-menu.types.ts +33 -0
- package/components/Navigation/du-menu/du-menu.vue +87 -0
- package/components/Navigation/du-navbar/du-navbar.types.ts +3 -0
- package/components/Navigation/du-navbar/du-navbar.vue +21 -0
- package/components/Navigation/du-pagination/du-pagination.types.ts +30 -0
- package/components/Navigation/du-pagination/du-pagination.vue +186 -0
- package/components/Navigation/du-step-item/du-step-item.types.ts +9 -0
- package/components/Navigation/du-step-item/du-step-item.vue +46 -0
- package/components/Navigation/du-steps/du-steps.types.ts +20 -0
- package/components/Navigation/du-steps/du-steps.vue +85 -0
- package/components/Navigation/du-tabs/du-tabs.types.ts +25 -0
- package/components/Navigation/du-tabs/du-tabs.vue +96 -0
- package/composables/useSizeProps.ts +26 -0
- package/composables/useVariantProps.ts +18 -0
- package/dist/_virtual/_plugin-vue_export-helper.js +8 -0
- package/dist/components/Actions/du-button/du-button.js +5 -0
- package/dist/components/Actions/du-button/du-button.types.d.ts +4 -0
- package/dist/components/Actions/du-button/du-button.vue.d.ts +58 -0
- package/dist/components/Actions/du-button/du-button.vue_vue_type_script_setup_true_lang.js +98 -0
- package/dist/components/Actions/du-dropdown/du-dropdown.js +5 -0
- package/dist/components/Actions/du-dropdown/du-dropdown.types.d.ts +4 -0
- package/dist/components/Actions/du-dropdown/du-dropdown.vue.d.ts +33 -0
- package/dist/components/Actions/du-dropdown/du-dropdown.vue_vue_type_script_setup_true_lang.js +53 -0
- package/dist/components/Actions/du-fab/du-fab.js +5 -0
- package/dist/components/Actions/du-fab/du-fab.types.d.ts +24 -0
- package/dist/components/Actions/du-fab/du-fab.vue.d.ts +87 -0
- package/dist/components/Actions/du-fab/du-fab.vue_vue_type_script_setup_true_lang.js +204 -0
- package/dist/components/Actions/du-modal/du-modal.js +5 -0
- package/dist/components/Actions/du-modal/du-modal.types.d.ts +2 -0
- package/dist/components/Actions/du-modal/du-modal.vue.d.ts +48 -0
- package/dist/components/Actions/du-modal/du-modal.vue_vue_type_script_setup_true_lang.js +92 -0
- package/dist/components/Actions/du-swap/du-swap.js +5 -0
- package/dist/components/Actions/du-swap/du-swap.types.d.ts +2 -0
- package/dist/components/Actions/du-swap/du-swap.vue.d.ts +36 -0
- package/dist/components/Actions/du-swap/du-swap.vue_vue_type_script_setup_true_lang.js +61 -0
- package/dist/components/DataDisplay/du-accordion/du-accordion-item.js +5 -0
- package/dist/components/DataDisplay/du-accordion/du-accordion-item.vue.d.ts +24 -0
- package/dist/components/DataDisplay/du-accordion/du-accordion-item.vue_vue_type_script_setup_true_lang.js +31 -0
- package/dist/components/DataDisplay/du-accordion/du-accordion.js +5 -0
- package/dist/components/DataDisplay/du-accordion/du-accordion.types.d.ts +8 -0
- package/dist/components/DataDisplay/du-accordion/du-accordion.vue.d.ts +45 -0
- package/dist/components/DataDisplay/du-accordion/du-accordion.vue_vue_type_script_setup_true_lang.js +45 -0
- package/dist/components/DataDisplay/du-avatar/du-avatar.js +7 -0
- package/dist/components/DataDisplay/du-avatar/du-avatar.types.d.ts +12 -0
- package/dist/components/DataDisplay/du-avatar/du-avatar.vue.d.ts +38 -0
- package/dist/components/DataDisplay/du-avatar/du-avatar.vue_vue_type_script_setup_true_lang.js +57 -0
- package/dist/components/DataDisplay/du-avatar/du-avatar.vue_vue_type_style_index_0_scoped_fdc61ebe_lang.css +1 -0
- package/dist/components/DataDisplay/du-badge/du-badge.js +5 -0
- package/dist/components/DataDisplay/du-badge/du-badge.types.d.ts +4 -0
- package/dist/components/DataDisplay/du-badge/du-badge.vue.d.ts +32 -0
- package/dist/components/DataDisplay/du-badge/du-badge.vue_vue_type_script_setup_true_lang.js +54 -0
- package/dist/components/DataDisplay/du-card/du-card.js +5 -0
- package/dist/components/DataDisplay/du-card/du-card.types.d.ts +4 -0
- package/dist/components/DataDisplay/du-card/du-card.vue.d.ts +43 -0
- package/dist/components/DataDisplay/du-card/du-card.vue_vue_type_script_setup_true_lang.js +61 -0
- package/dist/components/DataDisplay/du-carousel/du-carousel-item.js +5 -0
- package/dist/components/DataDisplay/du-carousel/du-carousel-item.vue.d.ts +16 -0
- package/dist/components/DataDisplay/du-carousel/du-carousel-item.vue_vue_type_script_setup_true_lang.js +14 -0
- package/dist/components/DataDisplay/du-carousel/du-carousel.js +5 -0
- package/dist/components/DataDisplay/du-carousel/du-carousel.types.d.ts +9 -0
- package/dist/components/DataDisplay/du-carousel/du-carousel.vue.d.ts +27 -0
- package/dist/components/DataDisplay/du-carousel/du-carousel.vue_vue_type_script_setup_true_lang.js +46 -0
- package/dist/components/DataDisplay/du-chat/du-chat-item.js +5 -0
- package/dist/components/DataDisplay/du-chat/du-chat-item.vue.d.ts +32 -0
- package/dist/components/DataDisplay/du-chat/du-chat-item.vue_vue_type_script_setup_true_lang.js +36 -0
- package/dist/components/DataDisplay/du-chat/du-chat.js +5 -0
- package/dist/components/DataDisplay/du-chat/du-chat.types.d.ts +18 -0
- package/dist/components/DataDisplay/du-chat/du-chat.vue.d.ts +38 -0
- package/dist/components/DataDisplay/du-chat/du-chat.vue_vue_type_script_setup_true_lang.js +55 -0
- package/dist/components/DataDisplay/du-collapse/du-collapse.js +5 -0
- package/dist/components/DataDisplay/du-collapse/du-collapse.types.d.ts +8 -0
- package/dist/components/DataDisplay/du-collapse/du-collapse.vue.d.ts +33 -0
- package/dist/components/DataDisplay/du-collapse/du-collapse.vue_vue_type_script_setup_true_lang.js +36 -0
- package/dist/components/DataDisplay/du-countdown/du-countdown-group.js +5 -0
- package/dist/components/DataDisplay/du-countdown/du-countdown-group.vue.d.ts +23 -0
- package/dist/components/DataDisplay/du-countdown/du-countdown-group.vue_vue_type_script_setup_true_lang.js +83 -0
- package/dist/components/DataDisplay/du-countdown/du-countdown.js +5 -0
- package/dist/components/DataDisplay/du-countdown/du-countdown.types.d.ts +8 -0
- package/dist/components/DataDisplay/du-countdown/du-countdown.vue.d.ts +27 -0
- package/dist/components/DataDisplay/du-countdown/du-countdown.vue_vue_type_script_setup_true_lang.js +67 -0
- package/dist/components/DataDisplay/du-diff/du-diff.js +5 -0
- package/dist/components/DataDisplay/du-diff/du-diff.types.d.ts +2 -0
- package/dist/components/DataDisplay/du-diff/du-diff.vue.d.ts +25 -0
- package/dist/components/DataDisplay/du-diff/du-diff.vue_vue_type_script_setup_true_lang.js +33 -0
- package/dist/components/DataDisplay/du-kbd/du-kbd.js +5 -0
- package/dist/components/DataDisplay/du-kbd/du-kbd.types.d.ts +2 -0
- package/dist/components/DataDisplay/du-kbd/du-kbd.vue.d.ts +19 -0
- package/dist/components/DataDisplay/du-kbd/du-kbd.vue_vue_type_script_setup_true_lang.js +13 -0
- package/dist/components/DataDisplay/du-list/du-list-row.js +5 -0
- package/dist/components/DataDisplay/du-list/du-list-row.vue.d.ts +17 -0
- package/dist/components/DataDisplay/du-list/du-list-row.vue_vue_type_script_setup_true_lang.js +22 -0
- package/dist/components/DataDisplay/du-list/du-list.js +5 -0
- package/dist/components/DataDisplay/du-list/du-list.types.d.ts +3 -0
- package/dist/components/DataDisplay/du-list/du-list.vue.d.ts +14 -0
- package/dist/components/DataDisplay/du-list/du-list.vue_vue_type_script_setup_true_lang.js +12 -0
- package/dist/components/DataDisplay/du-stat/du-stat.js +5 -0
- package/dist/components/DataDisplay/du-stat/du-stat.types.d.ts +12 -0
- package/dist/components/DataDisplay/du-stat/du-stat.vue.d.ts +27 -0
- package/dist/components/DataDisplay/du-stat/du-stat.vue_vue_type_script_setup_true_lang.js +37 -0
- package/dist/components/DataDisplay/du-stats/du-stats.js +7 -0
- package/dist/components/DataDisplay/du-stats/du-stats.types.d.ts +2 -0
- package/dist/components/DataDisplay/du-stats/du-stats.vue.d.ts +40 -0
- package/dist/components/DataDisplay/du-stats/du-stats.vue_vue_type_script_setup_true_lang.js +67 -0
- package/dist/components/DataDisplay/du-stats/du-stats.vue_vue_type_style_index_0_scoped_db955aa9_lang.css +1 -0
- package/dist/components/DataDisplay/du-status/du-status.js +5 -0
- package/dist/components/DataDisplay/du-status/du-status.types.d.ts +4 -0
- package/dist/components/DataDisplay/du-status/du-status.vue.d.ts +16 -0
- package/dist/components/DataDisplay/du-status/du-status.vue_vue_type_script_setup_true_lang.js +54 -0
- package/dist/components/DataDisplay/du-table/du-table-item.js +5 -0
- package/dist/components/DataDisplay/du-table/du-table-item.types.d.ts +6 -0
- package/dist/components/DataDisplay/du-table/du-table-item.vue.d.ts +19 -0
- package/dist/components/DataDisplay/du-table/du-table-item.vue_vue_type_script_setup_true_lang.js +30 -0
- package/dist/components/DataDisplay/du-table/du-table.js +5 -0
- package/dist/components/DataDisplay/du-table/du-table.types.d.ts +23 -0
- package/dist/components/DataDisplay/du-table/du-table.vue.d.ts +42 -0
- package/dist/components/DataDisplay/du-table/du-table.vue_vue_type_script_setup_true_lang.js +75 -0
- package/dist/components/DataDisplay/du-timeline/du-timeline-item.js +5 -0
- package/dist/components/DataDisplay/du-timeline/du-timeline-item.vue.d.ts +34 -0
- package/dist/components/DataDisplay/du-timeline/du-timeline-item.vue_vue_type_script_setup_true_lang.js +51 -0
- package/dist/components/DataDisplay/du-timeline/du-timeline.js +5 -0
- package/dist/components/DataDisplay/du-timeline/du-timeline.types.d.ts +12 -0
- package/dist/components/DataDisplay/du-timeline/du-timeline.vue.d.ts +61 -0
- package/dist/components/DataDisplay/du-timeline/du-timeline.vue_vue_type_script_setup_true_lang.js +75 -0
- package/dist/components/DataInput/du-checkbox/du-checkbox.js +5 -0
- package/dist/components/DataInput/du-checkbox/du-checkbox.types.d.ts +14 -0
- package/dist/components/DataInput/du-checkbox/du-checkbox.vue.d.ts +19 -0
- package/dist/components/DataInput/du-checkbox/du-checkbox.vue_vue_type_script_setup_true_lang.js +47 -0
- package/dist/components/DataInput/du-fieldset/du-fieldset.js +5 -0
- package/dist/components/DataInput/du-fieldset/du-fieldset.types.d.ts +4 -0
- package/dist/components/DataInput/du-fieldset/du-fieldset.vue.d.ts +14 -0
- package/dist/components/DataInput/du-fieldset/du-fieldset.vue_vue_type_script_setup_true_lang.js +21 -0
- package/dist/components/DataInput/du-file-input/du-file-input.js +5 -0
- package/dist/components/DataInput/du-file-input/du-file-input.types.d.ts +10 -0
- package/dist/components/DataInput/du-file-input/du-file-input.vue.d.ts +9 -0
- package/dist/components/DataInput/du-file-input/du-file-input.vue_vue_type_script_setup_true_lang.js +34 -0
- package/dist/components/DataInput/du-filter/du-filter.js +5 -0
- package/dist/components/DataInput/du-filter/du-filter.types.d.ts +27 -0
- package/dist/components/DataInput/du-filter/du-filter.vue.d.ts +17 -0
- package/dist/components/DataInput/du-filter/du-filter.vue_vue_type_script_setup_true_lang.js +28 -0
- package/dist/components/DataInput/du-input-field/du-input-field.js +5 -0
- package/dist/components/DataInput/du-input-field/du-input-field.types.d.ts +26 -0
- package/dist/components/DataInput/du-input-field/du-input-field.vue.d.ts +21 -0
- package/dist/components/DataInput/du-input-field/du-input-field.vue_vue_type_script_setup_true_lang.js +76 -0
- package/dist/components/DataInput/du-label/du-label.js +5 -0
- package/dist/components/DataInput/du-label/du-label.types.d.ts +3 -0
- package/dist/components/DataInput/du-label/du-label.vue.d.ts +14 -0
- package/dist/components/DataInput/du-label/du-label.vue_vue_type_script_setup_true_lang.js +19 -0
- package/dist/components/DataInput/du-label-input-validator/du-label-input-validator.js +5 -0
- package/dist/components/DataInput/du-label-input-validator/du-label-input-validator.types.d.ts +5 -0
- package/dist/components/DataInput/du-label-input-validator/du-label-input-validator.vue.d.ts +37 -0
- package/dist/components/DataInput/du-label-input-validator/du-label-input-validator.vue_vue_type_script_setup_true_lang.js +90 -0
- package/dist/components/DataInput/du-radio/du-radio.js +5 -0
- package/dist/components/DataInput/du-radio/du-radio.types.d.ts +12 -0
- package/dist/components/DataInput/du-radio/du-radio.vue.d.ts +9 -0
- package/dist/components/DataInput/du-radio/du-radio.vue_vue_type_script_setup_true_lang.js +34 -0
- package/dist/components/DataInput/du-range/du-range.js +5 -0
- package/dist/components/DataInput/du-range/du-range.types.d.ts +15 -0
- package/dist/components/DataInput/du-range/du-range.vue.d.ts +20 -0
- package/dist/components/DataInput/du-range/du-range.vue_vue_type_script_setup_true_lang.js +52 -0
- package/dist/components/DataInput/du-rating/du-rating-item.js +5 -0
- package/dist/components/DataInput/du-rating/du-rating-item.vue.d.ts +15 -0
- package/dist/components/DataInput/du-rating/du-rating-item.vue_vue_type_script_setup_true_lang.js +57 -0
- package/dist/components/DataInput/du-rating/du-rating.js +5 -0
- package/dist/components/DataInput/du-rating/du-rating.types.d.ts +38 -0
- package/dist/components/DataInput/du-rating/du-rating.vue.d.ts +34 -0
- package/dist/components/DataInput/du-rating/du-rating.vue_vue_type_script_setup_true_lang.js +100 -0
- package/dist/components/DataInput/du-search/du-search.js +5 -0
- package/dist/components/DataInput/du-search/du-search.types.d.ts +40 -0
- package/dist/components/DataInput/du-search/du-search.vue.d.ts +52 -0
- package/dist/components/DataInput/du-search/du-search.vue_vue_type_script_setup_true_lang.js +270 -0
- package/dist/components/DataInput/du-select/du-select.js +7 -0
- package/dist/components/DataInput/du-select/du-select.types.d.ts +28 -0
- package/dist/components/DataInput/du-select/du-select.vue.d.ts +60 -0
- package/dist/components/DataInput/du-select/du-select.vue_vue_type_script_setup_true_lang.js +321 -0
- package/dist/components/DataInput/du-select/du-select.vue_vue_type_style_index_0_scoped_2bcf0acd_lang.css +1 -0
- package/dist/components/DataInput/du-text-area/du-text-area.js +5 -0
- package/dist/components/DataInput/du-text-area/du-text-area.types.d.ts +10 -0
- package/dist/components/DataInput/du-text-area/du-text-area.vue.d.ts +15 -0
- package/dist/components/DataInput/du-text-area/du-text-area.vue_vue_type_script_setup_true_lang.js +46 -0
- package/dist/components/Feedback/du-alert/du-alert.js +5 -0
- package/dist/components/Feedback/du-alert/du-alert.types.d.ts +14 -0
- package/dist/components/Feedback/du-alert/du-alert.vue.d.ts +25 -0
- package/dist/components/Feedback/du-alert/du-alert.vue_vue_type_script_setup_true_lang.js +94 -0
- package/dist/components/Feedback/du-loading/du-loading.js +5 -0
- package/dist/components/Feedback/du-loading/du-loading.types.d.ts +9 -0
- package/dist/components/Feedback/du-loading/du-loading.vue.d.ts +8 -0
- package/dist/components/Feedback/du-loading/du-loading.vue_vue_type_script_setup_true_lang.js +30 -0
- package/dist/components/Feedback/du-progress/du-progress.js +5 -0
- package/dist/components/Feedback/du-progress/du-progress.types.d.ts +7 -0
- package/dist/components/Feedback/du-progress/du-progress.vue.d.ts +9 -0
- package/dist/components/Feedback/du-progress/du-progress.vue_vue_type_script_setup_true_lang.js +29 -0
- package/dist/components/Feedback/du-radial-progress/du-radial-progress.js +7 -0
- package/dist/components/Feedback/du-radial-progress/du-radial-progress.types.d.ts +8 -0
- package/dist/components/Feedback/du-radial-progress/du-radial-progress.vue.d.ts +19 -0
- package/dist/components/Feedback/du-radial-progress/du-radial-progress.vue_vue_type_script_setup_true_lang.js +31 -0
- package/dist/components/Feedback/du-radial-progress/du-radial-progress.vue_vue_type_style_index_0_scoped_4d489040_lang.css +1 -0
- package/dist/components/Feedback/du-skeleton/du-skeleton.js +5 -0
- package/dist/components/Feedback/du-skeleton/du-skeleton.types.d.ts +3 -0
- package/dist/components/Feedback/du-skeleton/du-skeleton.vue.d.ts +14 -0
- package/dist/components/Feedback/du-skeleton/du-skeleton.vue_vue_type_script_setup_true_lang.js +12 -0
- package/dist/components/Feedback/du-toast/du-toast.js +5 -0
- package/dist/components/Feedback/du-toast/du-toast.types.d.ts +9 -0
- package/dist/components/Feedback/du-toast/du-toast.vue.d.ts +20 -0
- package/dist/components/Feedback/du-toast/du-toast.vue_vue_type_script_setup_true_lang.js +45 -0
- package/dist/components/Feedback/du-tooltip/du-tooltip.js +5 -0
- package/dist/components/Feedback/du-tooltip/du-tooltip.types.d.ts +10 -0
- package/dist/components/Feedback/du-tooltip/du-tooltip.vue.d.ts +22 -0
- package/dist/components/Feedback/du-tooltip/du-tooltip.vue_vue_type_script_setup_true_lang.js +44 -0
- package/dist/components/Layout/du-drawer/du-drawer.js +5 -0
- package/dist/components/Layout/du-drawer/du-drawer.types.d.ts +23 -0
- package/dist/components/Layout/du-drawer/du-drawer.vue.d.ts +58 -0
- package/dist/components/Layout/du-drawer/du-drawer.vue_vue_type_script_setup_true_lang.js +129 -0
- package/dist/components/Layout/du-join/du-join.js +5 -0
- package/dist/components/Layout/du-join/du-join.types.d.ts +6 -0
- package/dist/components/Layout/du-join/du-join.vue.d.ts +17 -0
- package/dist/components/Layout/du-join/du-join.vue_vue_type_script_setup_true_lang.js +24 -0
- package/dist/components/Navigation/du-breadcrumbs/du-breadcrumbs.js +7 -0
- package/dist/components/Navigation/du-breadcrumbs/du-breadcrumbs.types.d.ts +11 -0
- package/dist/components/Navigation/du-breadcrumbs/du-breadcrumbs.vue.d.ts +6 -0
- package/dist/components/Navigation/du-breadcrumbs/du-breadcrumbs.vue_vue_type_script_setup_true_lang.js +42 -0
- package/dist/components/Navigation/du-breadcrumbs/du-breadcrumbs.vue_vue_type_style_index_0_scoped_9364edec_lang.css +1 -0
- package/dist/components/Navigation/du-button-link/du-button-link.js +5 -0
- package/dist/components/Navigation/du-button-link/du-button-link.types.d.ts +16 -0
- package/dist/components/Navigation/du-button-link/du-button-link.vue.d.ts +27 -0
- package/dist/components/Navigation/du-button-link/du-button-link.vue_vue_type_script_setup_true_lang.js +71 -0
- package/dist/components/Navigation/du-dock/du-dock.js +5 -0
- package/dist/components/Navigation/du-dock/du-dock.types.d.ts +16 -0
- package/dist/components/Navigation/du-dock/du-dock.vue.d.ts +59 -0
- package/dist/components/Navigation/du-dock/du-dock.vue_vue_type_script_setup_true_lang.js +56 -0
- package/dist/components/Navigation/du-link/du-link.js +5 -0
- package/dist/components/Navigation/du-link/du-link.types.d.ts +6 -0
- package/dist/components/Navigation/du-link/du-link.vue.d.ts +18 -0
- package/dist/components/Navigation/du-link/du-link.vue_vue_type_script_setup_true_lang.js +28 -0
- package/dist/components/Navigation/du-menu/du-menu-item.js +5 -0
- package/dist/components/Navigation/du-menu/du-menu-item.vue.d.ts +17 -0
- package/dist/components/Navigation/du-menu/du-menu-item.vue_vue_type_script_setup_true_lang.js +186 -0
- package/dist/components/Navigation/du-menu/du-menu.js +6 -0
- package/dist/components/Navigation/du-menu/du-menu.types.d.ts +29 -0
- package/dist/components/Navigation/du-menu/du-menu.vue.d.ts +26 -0
- package/dist/components/Navigation/du-menu/du-menu.vue_vue_type_script_setup_true_lang.js +57 -0
- package/dist/components/Navigation/du-menu/du-menu.vue_vue_type_style_index_0_lang.css +1 -0
- package/dist/components/Navigation/du-navbar/du-navbar.js +5 -0
- package/dist/components/Navigation/du-navbar/du-navbar.types.d.ts +2 -0
- package/dist/components/Navigation/du-navbar/du-navbar.vue.d.ts +20 -0
- package/dist/components/Navigation/du-navbar/du-navbar.vue_vue_type_script_setup_true_lang.js +24 -0
- package/dist/components/Navigation/du-pagination/du-pagination.js +7 -0
- package/dist/components/Navigation/du-pagination/du-pagination.types.d.ts +29 -0
- package/dist/components/Navigation/du-pagination/du-pagination.vue.d.ts +51 -0
- package/dist/components/Navigation/du-pagination/du-pagination.vue_vue_type_script_setup_true_lang.js +156 -0
- package/dist/components/Navigation/du-pagination/du-pagination.vue_vue_type_style_index_0_scoped_7407b690_lang.css +1 -0
- package/dist/components/Navigation/du-step-item/du-step-item.js +5 -0
- package/dist/components/Navigation/du-step-item/du-step-item.types.d.ts +8 -0
- package/dist/components/Navigation/du-step-item/du-step-item.vue.d.ts +24 -0
- package/dist/components/Navigation/du-step-item/du-step-item.vue_vue_type_script_setup_true_lang.js +27 -0
- package/dist/components/Navigation/du-steps/du-steps.js +5 -0
- package/dist/components/Navigation/du-steps/du-steps.types.d.ts +17 -0
- package/dist/components/Navigation/du-steps/du-steps.vue.d.ts +40 -0
- package/dist/components/Navigation/du-steps/du-steps.vue_vue_type_script_setup_true_lang.js +44 -0
- package/dist/components/Navigation/du-tabs/du-tabs.js +5 -0
- package/dist/components/Navigation/du-tabs/du-tabs.types.d.ts +22 -0
- package/dist/components/Navigation/du-tabs/du-tabs.vue.d.ts +50 -0
- package/dist/components/Navigation/du-tabs/du-tabs.vue_vue_type_script_setup_true_lang.js +76 -0
- package/dist/composables/useSizeProps.d.ts +15 -0
- package/dist/composables/useSizeProps.js +22 -0
- package/dist/composables/useVariantProps.d.ts +14 -0
- package/dist/composables/useVariantProps.js +7 -0
- package/dist/index.d.ts +66 -0
- package/dist/index.js +65 -0
- package/dist/plugin-vite.d.ts +64 -0
- package/dist/plugin-vite.js +137 -0
- package/dist/types/index.d.ts +58 -0
- package/index.css +5 -0
- package/index.ts +69 -0
- package/package.json +99 -0
- package/plugin-vite.ts +286 -0
- package/types/index.ts +59 -0
- package/types/types.sh +80 -0
|
@@ -0,0 +1,321 @@
|
|
|
1
|
+
import { useSizeMapping as e } from "../../../composables/useSizeProps.js";
|
|
2
|
+
import { useVariantMapping as t } from "../../../composables/useVariantProps.js";
|
|
3
|
+
import { Fragment as n, Transition as r, computed as i, createCommentVNode as a, createElementBlock as o, createElementVNode as s, createTextVNode as c, createVNode as ee, defineComponent as l, inject as te, nextTick as u, normalizeClass as d, onBeforeUnmount as f, onMounted as ne, openBlock as p, ref as m, renderList as h, renderSlot as g, toDisplayString as _, unref as v, vModelText as y, watch as re, withCtx as ie, withDirectives as b, withModifiers as x } from "vue";
|
|
4
|
+
//#region components/DataInput/du-select/du-select.vue?vue&type=script&setup=true&lang.ts
|
|
5
|
+
var S = ["aria-expanded"], C = { class: "badge badge-sm badge-neutral mr-1 flex items-center gap-2 cursor-pointer" }, ae = ["onClick", "aria-label"], oe = ["placeholder"], se = ["placeholder"], ce = { class: "flex-1" }, le = {
|
|
6
|
+
key: 0,
|
|
7
|
+
class: "p-2"
|
|
8
|
+
}, ue = ["placeholder"], de = { class: "block max-h-72 overflow-auto" }, fe = { class: "block m-0 p-2" }, pe = [
|
|
9
|
+
"aria-selected",
|
|
10
|
+
"onMousedown",
|
|
11
|
+
"onMouseover"
|
|
12
|
+
], me = { class: "flex items-center gap-3 py-2 px-3 text-balance! bg-transparent" }, he = ["checked", "onChange"], ge = {
|
|
13
|
+
key: 1,
|
|
14
|
+
class: "ml-auto opacity-60 hover:opacity-100",
|
|
15
|
+
"aria-hidden": "true"
|
|
16
|
+
}, _e = {
|
|
17
|
+
key: 0,
|
|
18
|
+
class: "p-2 text-sm text-gray-500"
|
|
19
|
+
}, w = /*@__PURE__*/ l({
|
|
20
|
+
__name: "du-select",
|
|
21
|
+
props: {
|
|
22
|
+
ghost: {
|
|
23
|
+
type: Boolean,
|
|
24
|
+
default: !1
|
|
25
|
+
},
|
|
26
|
+
variant: { default: "default" },
|
|
27
|
+
size: { default: "default" },
|
|
28
|
+
disabled: {
|
|
29
|
+
type: Boolean,
|
|
30
|
+
default: !1
|
|
31
|
+
},
|
|
32
|
+
multiple: {
|
|
33
|
+
type: Boolean,
|
|
34
|
+
default: !1
|
|
35
|
+
},
|
|
36
|
+
modelValue: {},
|
|
37
|
+
placeholder: { default: "Select..." },
|
|
38
|
+
search: {
|
|
39
|
+
type: Boolean,
|
|
40
|
+
default: !1
|
|
41
|
+
},
|
|
42
|
+
searchPlaceholder: { default: "Search..." },
|
|
43
|
+
searchNoResultsText: { default: "No options found" },
|
|
44
|
+
options: { default: () => [] },
|
|
45
|
+
searchable: {
|
|
46
|
+
type: Boolean,
|
|
47
|
+
default: !1
|
|
48
|
+
},
|
|
49
|
+
searchableInside: {
|
|
50
|
+
type: Boolean,
|
|
51
|
+
default: !1
|
|
52
|
+
},
|
|
53
|
+
checkboxes: {
|
|
54
|
+
type: Boolean,
|
|
55
|
+
default: !1
|
|
56
|
+
},
|
|
57
|
+
closeOnSelect: {
|
|
58
|
+
type: Boolean,
|
|
59
|
+
default: !0
|
|
60
|
+
},
|
|
61
|
+
trackBy: { default: "id" },
|
|
62
|
+
labelBy: { default: "name" },
|
|
63
|
+
returnObject: {
|
|
64
|
+
type: Boolean,
|
|
65
|
+
default: !1
|
|
66
|
+
},
|
|
67
|
+
clearable: {
|
|
68
|
+
type: Boolean,
|
|
69
|
+
default: !1
|
|
70
|
+
},
|
|
71
|
+
removeItemLabel: { default: "Remove" }
|
|
72
|
+
},
|
|
73
|
+
emits: [
|
|
74
|
+
"update:modelValue",
|
|
75
|
+
"select",
|
|
76
|
+
"remove",
|
|
77
|
+
"open",
|
|
78
|
+
"close"
|
|
79
|
+
],
|
|
80
|
+
setup(l, { emit: w }) {
|
|
81
|
+
let T = l, E = w, { colorClass: ve } = t(T, "select"), { sizeClass: ye } = e(T, "input"), { sizeClass: be } = e(T, "menu"), xe = i(() => T.ghost ? "select-ghost" : ""), D = te("isInLabel", !1), O = m(null), k = m(null), A = m(null), j = m(!1), M = m(""), N = m(-1), P = `du-select-list-${Math.random().toString(36).slice(2, 9)}`;
|
|
82
|
+
function F(e) {
|
|
83
|
+
return e && typeof e == "object" ? e[T.trackBy] ?? e.value ?? e.id ?? e : e;
|
|
84
|
+
}
|
|
85
|
+
function I(e) {
|
|
86
|
+
return e && typeof e == "object" ? e[T.labelBy] ?? e.label ?? e.name ?? String(e) : String(e);
|
|
87
|
+
}
|
|
88
|
+
function L(e) {
|
|
89
|
+
return I(e);
|
|
90
|
+
}
|
|
91
|
+
function Se(e) {
|
|
92
|
+
let t = T.options.find((t) => F(t) === e);
|
|
93
|
+
return t ? I(t) : String(e);
|
|
94
|
+
}
|
|
95
|
+
function Ce(e, t) {
|
|
96
|
+
let n = F(e);
|
|
97
|
+
return `${String(n)}__${t}`;
|
|
98
|
+
}
|
|
99
|
+
function we(e, t) {
|
|
100
|
+
return `${String(e)}__${t}`;
|
|
101
|
+
}
|
|
102
|
+
let R = m([]), z = m(null);
|
|
103
|
+
function Te() {
|
|
104
|
+
T.multiple ? Array.isArray(T.modelValue) ? R.value = T.modelValue.map((e) => e && typeof e == "object" ? F(e) : e) : R.value = [] : T.modelValue && typeof T.modelValue == "object" ? z.value = F(T.modelValue) : z.value = T.modelValue;
|
|
105
|
+
}
|
|
106
|
+
re(() => T.modelValue, () => Te(), { immediate: !0 });
|
|
107
|
+
let B = i(() => {
|
|
108
|
+
let e = M.value?.toString().trim().toLowerCase();
|
|
109
|
+
return e ? T.options.filter((t) => I(t).toString().toLowerCase().includes(e)) : T.options;
|
|
110
|
+
});
|
|
111
|
+
function V(e) {
|
|
112
|
+
let t = F(e);
|
|
113
|
+
return T.multiple ? R.value.includes(t) : z.value === t;
|
|
114
|
+
}
|
|
115
|
+
function H(e) {
|
|
116
|
+
return T.options.find((t) => F(t) === e) ?? e;
|
|
117
|
+
}
|
|
118
|
+
function U() {
|
|
119
|
+
E("update:modelValue", T.returnObject ? R.value.map((e) => H(e)) : [...R.value]);
|
|
120
|
+
}
|
|
121
|
+
function Ee(e) {
|
|
122
|
+
E("update:modelValue", T.returnObject ? H(e) : e);
|
|
123
|
+
}
|
|
124
|
+
function W(e) {
|
|
125
|
+
let t = F(e);
|
|
126
|
+
if (T.multiple) {
|
|
127
|
+
let e = R.value.indexOf(t);
|
|
128
|
+
e === -1 ? (R.value.push(t), E("select", H(t))) : (R.value.splice(e, 1), E("remove", H(t))), U();
|
|
129
|
+
} else T.clearable && z.value === t ? (z.value = null, E("update:modelValue", null), q()) : (z.value = t, E("select", H(t)), Ee(t), T.closeOnSelect && q());
|
|
130
|
+
}
|
|
131
|
+
function De(e) {
|
|
132
|
+
W(e);
|
|
133
|
+
}
|
|
134
|
+
function G(e) {
|
|
135
|
+
if (!T.multiple) return;
|
|
136
|
+
let t = R.value.indexOf(e);
|
|
137
|
+
t > -1 && (R.value.splice(t, 1), E("remove", H(e)), U());
|
|
138
|
+
}
|
|
139
|
+
function K() {
|
|
140
|
+
j.value = !0, E("open"), N.value = 0, u(() => {
|
|
141
|
+
T.searchable && (T.searchableInside || T.multiple) && (k.value && k.value.focus(), A.value && A.value.focus());
|
|
142
|
+
});
|
|
143
|
+
}
|
|
144
|
+
function q() {
|
|
145
|
+
j.value = !1, M.value = "", N.value = -1, E("close");
|
|
146
|
+
}
|
|
147
|
+
function Oe() {
|
|
148
|
+
j.value ? q() : K();
|
|
149
|
+
}
|
|
150
|
+
function J() {
|
|
151
|
+
j.value ? u(() => {
|
|
152
|
+
k.value && k.value.focus(), A.value && A.value.focus();
|
|
153
|
+
}) : K();
|
|
154
|
+
}
|
|
155
|
+
function Y() {
|
|
156
|
+
N.value = 0;
|
|
157
|
+
}
|
|
158
|
+
function ke(e) {
|
|
159
|
+
if (!j.value && [
|
|
160
|
+
"ArrowDown",
|
|
161
|
+
"ArrowUp",
|
|
162
|
+
"Enter",
|
|
163
|
+
" "
|
|
164
|
+
].includes(e.key)) {
|
|
165
|
+
K(), e.preventDefault();
|
|
166
|
+
return;
|
|
167
|
+
}
|
|
168
|
+
let t = B.value.length;
|
|
169
|
+
if (e.key === "ArrowDown") N.value = (N.value + 1 + t) % t, X(), e.preventDefault();
|
|
170
|
+
else if (e.key === "ArrowUp") N.value = (N.value - 1 + t) % t, X(), e.preventDefault();
|
|
171
|
+
else if (e.key === "Enter") N.value >= 0 && N.value < t && W(B.value[N.value]), e.preventDefault();
|
|
172
|
+
else if (e.key === "Escape") q(), e.preventDefault();
|
|
173
|
+
else if (e.key === "Backspace" && T.multiple && M.value === "") {
|
|
174
|
+
let e = R.value[R.value.length - 1];
|
|
175
|
+
e !== void 0 && G(e);
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
function X() {
|
|
179
|
+
u(() => {
|
|
180
|
+
let e = (O.value?.querySelector(`#${P}`))?.querySelectorAll("li")[N.value];
|
|
181
|
+
e && e.scrollIntoView && e.scrollIntoView({ block: "nearest" });
|
|
182
|
+
});
|
|
183
|
+
}
|
|
184
|
+
function Z(e) {
|
|
185
|
+
O.value && (O.value.contains(e.target) || q());
|
|
186
|
+
}
|
|
187
|
+
function Q(e) {
|
|
188
|
+
setTimeout(() => {
|
|
189
|
+
if (!O.value) return;
|
|
190
|
+
let e = document.activeElement;
|
|
191
|
+
(!e || !O.value.contains(e)) && q();
|
|
192
|
+
}, 0);
|
|
193
|
+
}
|
|
194
|
+
function Ae(e) {
|
|
195
|
+
j.value || K();
|
|
196
|
+
}
|
|
197
|
+
ne(() => {
|
|
198
|
+
document.addEventListener("click", Z), O.value?.addEventListener("focusout", Q);
|
|
199
|
+
}), f(() => {
|
|
200
|
+
document.removeEventListener("click", Z), O.value?.removeEventListener("focusout", Q);
|
|
201
|
+
});
|
|
202
|
+
let $ = i(() => H(z.value));
|
|
203
|
+
return (e, t) => (p(), o("div", {
|
|
204
|
+
class: d(["relative", [v(D) && "w-full"]]),
|
|
205
|
+
ref_key: "root",
|
|
206
|
+
ref: O,
|
|
207
|
+
onKeydown: ke
|
|
208
|
+
}, [s("div", {
|
|
209
|
+
class: d(["input input-bordered flex items-center gap-2 cursor-text w-full overflow-x-clip", [
|
|
210
|
+
v(ve),
|
|
211
|
+
v(ye),
|
|
212
|
+
xe.value,
|
|
213
|
+
{ "input-disabled": l.disabled },
|
|
214
|
+
{ "outline-none rounded-l-none border-x-0": v(D) }
|
|
215
|
+
]]),
|
|
216
|
+
tabindex: "0",
|
|
217
|
+
role: "combobox",
|
|
218
|
+
"aria-expanded": j.value,
|
|
219
|
+
"aria-controls": P,
|
|
220
|
+
onClick: J,
|
|
221
|
+
onFocus: Ae
|
|
222
|
+
}, [l.multiple ? (p(), o(n, { key: 0 }, [(p(!0), o(n, null, h(R.value, (t, n) => g(e.$slots, "tag", {
|
|
223
|
+
key: we(t, n),
|
|
224
|
+
value: H(t),
|
|
225
|
+
index: n
|
|
226
|
+
}, () => [s("label", C, [c(_(Se(t)) + " ", 1), s("button", {
|
|
227
|
+
class: "btn btn-ghost btn-circle btn-xs p-0",
|
|
228
|
+
onClick: x((e) => G(t), ["stop"]),
|
|
229
|
+
"aria-label": l.removeItemLabel
|
|
230
|
+
}, "✕", 8, ae)])], !0)), 128)), l.searchable ? b((p(), o("input", {
|
|
231
|
+
key: 0,
|
|
232
|
+
ref_key: "searchInput",
|
|
233
|
+
ref: k,
|
|
234
|
+
"onUpdate:modelValue": t[0] ||= (e) => M.value = e,
|
|
235
|
+
onFocus: t[1] ||= (e) => j.value = !0,
|
|
236
|
+
onInput: Y,
|
|
237
|
+
class: d(["input input-ghost flex-1 w-full !outline-none pl-0", { " placeholder:!text-base-content": R.value.length }]),
|
|
238
|
+
placeholder: R.value.length ? "" : l.placeholder,
|
|
239
|
+
"aria-autocomplete": "list"
|
|
240
|
+
}, null, 42, oe)), [[y, M.value]]) : (p(), o("span", {
|
|
241
|
+
key: 1,
|
|
242
|
+
class: d(["flex-1", { "text-gray-400": !R.value.length }])
|
|
243
|
+
}, _(R.value.length ? "" : l.placeholder), 3))], 64)) : (p(), o(n, { key: 1 }, [l.searchable ? b((p(), o("input", {
|
|
244
|
+
key: 0,
|
|
245
|
+
ref_key: "searchInput",
|
|
246
|
+
ref: k,
|
|
247
|
+
"onUpdate:modelValue": t[2] ||= (e) => M.value = e,
|
|
248
|
+
onFocus: t[3] ||= (e) => j.value = !0,
|
|
249
|
+
onInput: Y,
|
|
250
|
+
class: d(["input input-ghost flex-1 min-w-[6rem] !outline-none pl-0", { " placeholder:!text-base-content": $.value }]),
|
|
251
|
+
placeholder: $.value ? L($.value) : l.placeholder,
|
|
252
|
+
"aria-autocomplete": "list"
|
|
253
|
+
}, null, 42, se)), [[y, M.value]]) : g(e.$slots, "selected", {
|
|
254
|
+
key: 1,
|
|
255
|
+
selected: $.value
|
|
256
|
+
}, () => [s("span", ce, _($.value ? L($.value) : l.placeholder), 1)], !0)], 64)), s("div", {
|
|
257
|
+
class: "btn btn-ghost btn-sm outline-none! h-4/5",
|
|
258
|
+
type: "button",
|
|
259
|
+
onClick: x(Oe, ["stop"])
|
|
260
|
+
}, [...t[5] ||= [s("svg", {
|
|
261
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
262
|
+
width: "16",
|
|
263
|
+
height: "16",
|
|
264
|
+
viewBox: "0 0 24 24",
|
|
265
|
+
fill: "none",
|
|
266
|
+
stroke: "currentColor",
|
|
267
|
+
"stroke-width": "2",
|
|
268
|
+
"stroke-linecap": "round",
|
|
269
|
+
"stroke-linejoin": "round"
|
|
270
|
+
}, [s("polyline", { points: "6 9 12 15 18 9" })], -1)]])], 42, S), ee(r, {
|
|
271
|
+
"enter-active-class": "transition ease-out duration-100",
|
|
272
|
+
"enter-from-class": "opacity-0 scale-95",
|
|
273
|
+
"enter-to-class": "opacity-100 scale-100",
|
|
274
|
+
"leave-active-class": "transition ease-in duration-75",
|
|
275
|
+
"leave-from-class": "opacity-100 scale-100",
|
|
276
|
+
"leave-to-class": "opacity-0 scale-95"
|
|
277
|
+
}, {
|
|
278
|
+
default: ie(() => [j.value ? (p(), o("div", {
|
|
279
|
+
key: 0,
|
|
280
|
+
class: d(["absolute dropdown-content menu flex-nowrap bg-base-100 rounded-box shadow mt-1 w-full z-50 p-0", [v(be)]]),
|
|
281
|
+
role: "listbox",
|
|
282
|
+
id: P
|
|
283
|
+
}, [l.searchable && l.searchableInside ? (p(), o("div", le, [b(s("input", {
|
|
284
|
+
"onUpdate:modelValue": t[4] ||= (e) => M.value = e,
|
|
285
|
+
ref_key: "searchInputInside",
|
|
286
|
+
ref: A,
|
|
287
|
+
class: "input input-bordered w-full",
|
|
288
|
+
placeholder: l.searchPlaceholder,
|
|
289
|
+
onInput: Y
|
|
290
|
+
}, null, 40, ue), [[y, M.value]])])) : a("", !0), s("div", de, [s("ul", fe, [(p(!0), o(n, null, h(B.value, (t, n) => (p(), o("li", {
|
|
291
|
+
key: Ce(t, n),
|
|
292
|
+
class: d(["block w-full rounded-box", [{
|
|
293
|
+
"bg-primary text-primary-content": V(t),
|
|
294
|
+
"bg-base-300": n === N.value,
|
|
295
|
+
"bg-primary/75": V(t) && n === N.value
|
|
296
|
+
}, "cursor-pointer"]]),
|
|
297
|
+
role: "option",
|
|
298
|
+
"aria-selected": V(t),
|
|
299
|
+
onMousedown: x((e) => De(t), ["prevent"]),
|
|
300
|
+
onMouseover: x((e) => N.value = n, ["prevent"])
|
|
301
|
+
}, [s("a", me, [
|
|
302
|
+
l.checkboxes ? (p(), o("input", {
|
|
303
|
+
key: 0,
|
|
304
|
+
type: "checkbox",
|
|
305
|
+
class: "checkbox checkbox-sm",
|
|
306
|
+
checked: V(t),
|
|
307
|
+
onChange: x((e) => W(t), ["stop", "prevent"]),
|
|
308
|
+
tabindex: "-1"
|
|
309
|
+
}, null, 40, he)) : a("", !0),
|
|
310
|
+
g(e.$slots, "option", {
|
|
311
|
+
option: t,
|
|
312
|
+
index: n
|
|
313
|
+
}, () => [c(_(L(t)), 1)], !0),
|
|
314
|
+
l.clearable && V(t) ? (p(), o("span", ge, "✕")) : a("", !0)
|
|
315
|
+
])], 42, pe))), 128)), B.value.length === 0 ? (p(), o("li", _e, [g(e.$slots, "no-options", {}, () => [c(_(l.searchNoResultsText), 1)], !0)])) : a("", !0)])])], 2)) : a("", !0)]),
|
|
316
|
+
_: 3
|
|
317
|
+
})], 34));
|
|
318
|
+
}
|
|
319
|
+
});
|
|
320
|
+
//#endregion
|
|
321
|
+
export { w as default };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@supports (scrollbar-color:auto){.dropdown-content.menu [data-v-2bcf0acd],.dropdown-content.menu [data-v-2bcf0acd]:hover{scrollbar-width:thin}}@supports (scrollbar-width:none){.dropdown-content.menu [data-v-2bcf0acd],.dropdown-content.menu [data-v-2bcf0acd]:hover{scrollbar-width:thin}}.dropdown-content.menu ul[data-v-2bcf0acd]{display:block}.dropdown-content.menu li a[data-v-2bcf0acd]{white-space:nowrap}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { type Variant } from "../../../composables/useVariantProps";
|
|
2
|
+
import { type Size } from "../../../composables/useSizeProps";
|
|
3
|
+
export interface TEXTAREAProps {
|
|
4
|
+
modelValue?: string;
|
|
5
|
+
placeholder?: string;
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
variant?: Variant;
|
|
8
|
+
size?: Size;
|
|
9
|
+
ghost?: boolean;
|
|
10
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { type TEXTAREAProps } from './du-text-area.types';
|
|
2
|
+
declare const __VLS_export: import("vue").DefineComponent<TEXTAREAProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
3
|
+
"update:modelValue": (value: string) => any;
|
|
4
|
+
}, string, import("vue").PublicProps, Readonly<TEXTAREAProps> & Readonly<{
|
|
5
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
6
|
+
}>, {
|
|
7
|
+
placeholder: string;
|
|
8
|
+
size: import("../../..").Size;
|
|
9
|
+
ghost: boolean;
|
|
10
|
+
variant: import("../../..").Variant;
|
|
11
|
+
disabled: boolean;
|
|
12
|
+
modelValue: string;
|
|
13
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
14
|
+
declare const _default: typeof __VLS_export;
|
|
15
|
+
export default _default;
|
package/dist/components/DataInput/du-text-area/du-text-area.vue_vue_type_script_setup_true_lang.js
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { useSizeMapping as e } from "../../../composables/useSizeProps.js";
|
|
2
|
+
import { useVariantMapping as t } from "../../../composables/useVariantProps.js";
|
|
3
|
+
import { computed as n, createElementBlock as r, defineComponent as i, normalizeClass as a, openBlock as o, unref as s } from "vue";
|
|
4
|
+
//#region components/DataInput/du-text-area/du-text-area.vue?vue&type=script&setup=true&lang.ts
|
|
5
|
+
var c = [
|
|
6
|
+
"value",
|
|
7
|
+
"placeholder",
|
|
8
|
+
"disabled"
|
|
9
|
+
], l = /*@__PURE__*/ i({
|
|
10
|
+
__name: "du-text-area",
|
|
11
|
+
props: {
|
|
12
|
+
modelValue: { default: "" },
|
|
13
|
+
placeholder: { default: "" },
|
|
14
|
+
disabled: {
|
|
15
|
+
type: Boolean,
|
|
16
|
+
default: !1
|
|
17
|
+
},
|
|
18
|
+
variant: { default: "default" },
|
|
19
|
+
size: { default: "default" },
|
|
20
|
+
ghost: {
|
|
21
|
+
type: Boolean,
|
|
22
|
+
default: !1
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
emits: ["update:modelValue"],
|
|
26
|
+
setup(i, { emit: l }) {
|
|
27
|
+
let u = i, d = l, f = n(() => u.ghost ? "textarea-ghost" : ""), { colorClass: p } = t(u, "textarea"), { sizeClass: m } = e(u, "textarea"), h = (e) => {
|
|
28
|
+
let t = e.target.value;
|
|
29
|
+
d("update:modelValue", t);
|
|
30
|
+
};
|
|
31
|
+
return (e, t) => (o(), r("textarea", {
|
|
32
|
+
value: i.modelValue,
|
|
33
|
+
placeholder: i.placeholder,
|
|
34
|
+
disabled: i.disabled,
|
|
35
|
+
onInput: h,
|
|
36
|
+
class: a([
|
|
37
|
+
"textarea",
|
|
38
|
+
f.value,
|
|
39
|
+
s(p),
|
|
40
|
+
s(m)
|
|
41
|
+
])
|
|
42
|
+
}, null, 42, c));
|
|
43
|
+
}
|
|
44
|
+
});
|
|
45
|
+
//#endregion
|
|
46
|
+
export { l as default };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export declare const DU_ALERT_VARIANTS: readonly ["default", "success", "error", "warning", "info"];
|
|
2
|
+
export type AlertVariant = (typeof DU_ALERT_VARIANTS)[number];
|
|
3
|
+
export declare const DU_ALERT_DIRECTIONS: readonly ["default", "vertical", "horizontal", "responsive"];
|
|
4
|
+
export type AlertDirection = (typeof DU_ALERT_DIRECTIONS)[number];
|
|
5
|
+
export interface AlertProps {
|
|
6
|
+
variant?: AlertVariant;
|
|
7
|
+
direction?: AlertDirection;
|
|
8
|
+
soft?: boolean;
|
|
9
|
+
outline?: boolean;
|
|
10
|
+
dash?: boolean;
|
|
11
|
+
dismissible?: boolean;
|
|
12
|
+
autoDismissible?: boolean;
|
|
13
|
+
icon?: boolean;
|
|
14
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { type AlertProps } from "./du-alert.types";
|
|
2
|
+
declare var __VLS_1: {}, __VLS_3: {};
|
|
3
|
+
type __VLS_Slots = {} & {
|
|
4
|
+
default?: (props: typeof __VLS_1) => any;
|
|
5
|
+
} & {
|
|
6
|
+
actions?: (props: typeof __VLS_3) => any;
|
|
7
|
+
};
|
|
8
|
+
declare const __VLS_base: import("vue").DefineComponent<AlertProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<AlertProps> & Readonly<{}>, {
|
|
9
|
+
icon: boolean;
|
|
10
|
+
variant: import("./du-alert.types").AlertVariant;
|
|
11
|
+
outline: boolean;
|
|
12
|
+
soft: boolean;
|
|
13
|
+
dash: boolean;
|
|
14
|
+
direction: import("./du-alert.types").AlertDirection;
|
|
15
|
+
dismissible: boolean;
|
|
16
|
+
autoDismissible: boolean;
|
|
17
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
18
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
19
|
+
declare const _default: typeof __VLS_export;
|
|
20
|
+
export default _default;
|
|
21
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
22
|
+
new (): {
|
|
23
|
+
$slots: S;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
import { computed as e, createCommentVNode as t, createElementBlock as n, createElementVNode as r, createTextVNode as i, defineComponent as a, normalizeClass as o, onMounted as s, openBlock as c, ref as l, renderSlot as u } from "vue";
|
|
2
|
+
//#region components/Feedback/du-alert/du-alert.vue?vue&type=script&setup=true&lang.ts
|
|
3
|
+
var d = ["innerHTML"], f = { key: 1 }, p = /*@__PURE__*/ a({
|
|
4
|
+
__name: "du-alert",
|
|
5
|
+
props: {
|
|
6
|
+
variant: { default: "default" },
|
|
7
|
+
direction: { default: "default" },
|
|
8
|
+
soft: {
|
|
9
|
+
type: Boolean,
|
|
10
|
+
default: !1
|
|
11
|
+
},
|
|
12
|
+
outline: {
|
|
13
|
+
type: Boolean,
|
|
14
|
+
default: !1
|
|
15
|
+
},
|
|
16
|
+
dash: {
|
|
17
|
+
type: Boolean,
|
|
18
|
+
default: !1
|
|
19
|
+
},
|
|
20
|
+
dismissible: {
|
|
21
|
+
type: Boolean,
|
|
22
|
+
default: !1
|
|
23
|
+
},
|
|
24
|
+
autoDismissible: {
|
|
25
|
+
type: Boolean,
|
|
26
|
+
default: !1
|
|
27
|
+
},
|
|
28
|
+
icon: {
|
|
29
|
+
type: Boolean,
|
|
30
|
+
default: !0
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
setup(a) {
|
|
34
|
+
let p = a, m = l(!0), h = () => {
|
|
35
|
+
m.value = !1;
|
|
36
|
+
};
|
|
37
|
+
s(() => {
|
|
38
|
+
p.autoDismissible && setTimeout(() => {
|
|
39
|
+
m.value = !1;
|
|
40
|
+
}, 5e3);
|
|
41
|
+
});
|
|
42
|
+
let g = e(() => ({
|
|
43
|
+
default: "",
|
|
44
|
+
success: "alert-success",
|
|
45
|
+
error: "alert-error",
|
|
46
|
+
warning: "alert-warning",
|
|
47
|
+
info: "alert-info"
|
|
48
|
+
})[p.variant]), _ = e(() => ({
|
|
49
|
+
default: "",
|
|
50
|
+
vertical: "alert-vertical",
|
|
51
|
+
horizontal: "alert-horizontal",
|
|
52
|
+
responsive: "alert-vertical sm:alert-horizontal"
|
|
53
|
+
})[p.direction]), v = e(() => p.soft ? "alert-soft" : ""), y = e(() => p.outline ? "alert-outline" : ""), b = e(() => p.dash ? "alert-dash" : ""), x = {
|
|
54
|
+
default: "\n <svg xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 24 24\" class=\"stroke-info h-6 w-6 shrink-0\">\n <path stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z\"></path>\n </svg>",
|
|
55
|
+
success: "\n <svg xmlns=\"http://www.w3.org/2000/svg\" class=\"h-6 w-6 shrink-0 stroke-current\" fill=\"none\" viewBox=\"0 0 24 24\">\n <path stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z\" />\n </svg>",
|
|
56
|
+
error: "\n <svg xmlns=\"http://www.w3.org/2000/svg\" class=\"h-6 w-6 shrink-0 stroke-current\" fill=\"none\" viewBox=\"0 0 24 24\">\n <path stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M10 14l2-2m0 0l2-2m-2 2l-2-2m2 2l2 2m7-2a9 9 0 11-18 0 9 9 0 0118 0z\" />\n </svg>",
|
|
57
|
+
warning: "\n <svg xmlns=\"http://www.w3.org/2000/svg\" class=\"h-6 w-6 shrink-0 stroke-current\" fill=\"none\" viewBox=\"0 0 24 24\">\n <path stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z\" />\n </svg>",
|
|
58
|
+
info: "\n <svg xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 24 24\" class=\"h-6 w-6 shrink-0 stroke-current\">\n <path stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z\"></path>\n </svg>"
|
|
59
|
+
};
|
|
60
|
+
return (e, s) => m.value ? (c(), n("div", {
|
|
61
|
+
key: 0,
|
|
62
|
+
role: "alert",
|
|
63
|
+
class: o([
|
|
64
|
+
"alert",
|
|
65
|
+
g.value,
|
|
66
|
+
v.value,
|
|
67
|
+
y.value,
|
|
68
|
+
b.value,
|
|
69
|
+
_.value
|
|
70
|
+
])
|
|
71
|
+
}, [
|
|
72
|
+
a.icon ? (c(), n("span", {
|
|
73
|
+
key: 0,
|
|
74
|
+
innerHTML: x[a.variant]
|
|
75
|
+
}, null, 8, d)) : t("", !0),
|
|
76
|
+
u(e.$slots, "default", {}, () => [s[0] ||= i("Default alert", -1)]),
|
|
77
|
+
e.$slots.actions || a.dismissible ? (c(), n("div", f, [u(e.$slots, "actions"), a.dismissible ? (c(), n("button", {
|
|
78
|
+
key: 0,
|
|
79
|
+
onClick: h,
|
|
80
|
+
class: "btn btn-sm btn-square btn-ghost"
|
|
81
|
+
}, [...s[1] ||= [r("svg", {
|
|
82
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
83
|
+
width: "15",
|
|
84
|
+
height: "15",
|
|
85
|
+
viewBox: "0 0 15 15"
|
|
86
|
+
}, [r("path", {
|
|
87
|
+
fill: "currentColor",
|
|
88
|
+
d: "M3.64 2.27L7.5 6.13l3.84-3.84A.92.92 0 0 1 12 2a1 1 0 0 1 1 1a.9.9 0 0 1-.27.66L8.84 7.5l3.89 3.89A.9.9 0 0 1 13 12a1 1 0 0 1-1 1a.92.92 0 0 1-.69-.27L7.5 8.87l-3.85 3.85A.92.92 0 0 1 3 13a1 1 0 0 1-1-1a.9.9 0 0 1 .27-.66L6.16 7.5L2.27 3.61A.9.9 0 0 1 2 3a1 1 0 0 1 1-1c.24.003.47.1.64.27"
|
|
89
|
+
})], -1)]])) : t("", !0)])) : t("", !0)
|
|
90
|
+
], 2)) : t("", !0);
|
|
91
|
+
}
|
|
92
|
+
});
|
|
93
|
+
//#endregion
|
|
94
|
+
export { p as default };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { type Variant } from "../../../composables/useVariantProps";
|
|
2
|
+
import { type Size } from "../../../composables/useSizeProps";
|
|
3
|
+
export declare const DU_LOADING_ANIMATIONS: readonly ["spinner", "dots", "ring", "ball", "bars", "infinity"];
|
|
4
|
+
export type LoadingAnimation = (typeof DU_LOADING_ANIMATIONS)[number];
|
|
5
|
+
export interface LoadingProps {
|
|
6
|
+
animation?: LoadingAnimation;
|
|
7
|
+
size?: Size;
|
|
8
|
+
variant?: Variant;
|
|
9
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { type LoadingProps } from "./du-loading.types";
|
|
2
|
+
declare const __VLS_export: import("vue").DefineComponent<LoadingProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<LoadingProps> & Readonly<{}>, {
|
|
3
|
+
size: import("../../..").Size;
|
|
4
|
+
variant: import("../../..").Variant;
|
|
5
|
+
animation: import("./du-loading.types").LoadingAnimation;
|
|
6
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
7
|
+
declare const _default: typeof __VLS_export;
|
|
8
|
+
export default _default;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { useSizeMapping as e } from "../../../composables/useSizeProps.js";
|
|
2
|
+
import { useVariantMapping as t } from "../../../composables/useVariantProps.js";
|
|
3
|
+
import { computed as n, createElementBlock as r, defineComponent as i, normalizeClass as a, openBlock as o, unref as s } from "vue";
|
|
4
|
+
//#region components/Feedback/du-loading/du-loading.vue?vue&type=script&setup=true&lang.ts
|
|
5
|
+
var c = /*@__PURE__*/ i({
|
|
6
|
+
__name: "du-loading",
|
|
7
|
+
props: {
|
|
8
|
+
animation: { default: "spinner" },
|
|
9
|
+
size: { default: "default" },
|
|
10
|
+
variant: { default: "default" }
|
|
11
|
+
},
|
|
12
|
+
setup(i) {
|
|
13
|
+
let c = i, l = n(() => ({
|
|
14
|
+
spinner: "loading-spinner",
|
|
15
|
+
dots: "loading-dots",
|
|
16
|
+
ring: "loading-ring",
|
|
17
|
+
ball: "loading-ball",
|
|
18
|
+
bars: "loading-bars",
|
|
19
|
+
infinity: "loading-infinity"
|
|
20
|
+
})[c.animation]), { sizeClass: u } = e(c, "loading"), { colorClass: d } = t(c, "text");
|
|
21
|
+
return (e, t) => (o(), r("span", { class: a([
|
|
22
|
+
"loading",
|
|
23
|
+
s(u),
|
|
24
|
+
l.value,
|
|
25
|
+
s(d)
|
|
26
|
+
]) }, null, 2));
|
|
27
|
+
}
|
|
28
|
+
});
|
|
29
|
+
//#endregion
|
|
30
|
+
export { c as default };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { type ProgressProps } from "./du-progress.types";
|
|
2
|
+
declare const __VLS_export: import("vue").DefineComponent<ProgressProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ProgressProps> & Readonly<{}>, {
|
|
3
|
+
value: number;
|
|
4
|
+
variant: import("../../..").Variant;
|
|
5
|
+
indeterminate: boolean;
|
|
6
|
+
max: number;
|
|
7
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
8
|
+
declare const _default: typeof __VLS_export;
|
|
9
|
+
export default _default;
|
package/dist/components/Feedback/du-progress/du-progress.vue_vue_type_script_setup_true_lang.js
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { useVariantMapping as e } from "../../../composables/useVariantProps.js";
|
|
2
|
+
import { createElementBlock as t, defineComponent as n, normalizeClass as r, openBlock as i, unref as a } from "vue";
|
|
3
|
+
//#region components/Feedback/du-progress/du-progress.vue?vue&type=script&setup=true&lang.ts
|
|
4
|
+
var o = ["value", "max"], s = /*@__PURE__*/ n({
|
|
5
|
+
__name: "du-progress",
|
|
6
|
+
props: {
|
|
7
|
+
value: { default: 0 },
|
|
8
|
+
max: { default: 100 },
|
|
9
|
+
indeterminate: {
|
|
10
|
+
type: Boolean,
|
|
11
|
+
default: !1
|
|
12
|
+
},
|
|
13
|
+
variant: { default: "default" }
|
|
14
|
+
},
|
|
15
|
+
setup(n) {
|
|
16
|
+
let { colorClass: s } = e(n, "progress");
|
|
17
|
+
return (e, c) => (i(), t("progress", {
|
|
18
|
+
class: r([
|
|
19
|
+
"progress",
|
|
20
|
+
"w-56",
|
|
21
|
+
a(s)
|
|
22
|
+
]),
|
|
23
|
+
value: n.indeterminate ? void 0 : n.value,
|
|
24
|
+
max: n.indeterminate ? void 0 : n.max
|
|
25
|
+
}, null, 10, o));
|
|
26
|
+
}
|
|
27
|
+
});
|
|
28
|
+
//#endregion
|
|
29
|
+
export { s as default };
|