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,36 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
modelValue?: boolean;
|
|
3
|
+
rotate?: boolean;
|
|
4
|
+
flip?: boolean;
|
|
5
|
+
useCheckbox?: boolean;
|
|
6
|
+
};
|
|
7
|
+
declare var __VLS_1: {}, __VLS_3: {}, __VLS_5: {}, __VLS_7: {}, __VLS_9: {};
|
|
8
|
+
type __VLS_Slots = {} & {
|
|
9
|
+
on?: (props: typeof __VLS_1) => any;
|
|
10
|
+
} & {
|
|
11
|
+
off?: (props: typeof __VLS_3) => any;
|
|
12
|
+
} & {
|
|
13
|
+
indeterminate?: (props: typeof __VLS_5) => any;
|
|
14
|
+
} & {
|
|
15
|
+
on?: (props: typeof __VLS_7) => any;
|
|
16
|
+
} & {
|
|
17
|
+
off?: (props: typeof __VLS_9) => any;
|
|
18
|
+
};
|
|
19
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
20
|
+
"update:modelValue": (value: boolean) => any;
|
|
21
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
22
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
23
|
+
}>, {
|
|
24
|
+
modelValue: boolean;
|
|
25
|
+
rotate: boolean;
|
|
26
|
+
flip: boolean;
|
|
27
|
+
useCheckbox: boolean;
|
|
28
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
29
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
30
|
+
declare const _default: typeof __VLS_export;
|
|
31
|
+
export default _default;
|
|
32
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
33
|
+
new (): {
|
|
34
|
+
$slots: S;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { computed as e, createCommentVNode as t, createElementBlock as n, createElementVNode as r, defineComponent as i, normalizeClass as a, openBlock as o, ref as s, renderSlot as c, vModelCheckbox as l, watch as u, withDirectives as d } from "vue";
|
|
2
|
+
//#region components/Actions/du-swap/du-swap.vue?vue&type=script&setup=true&lang.ts
|
|
3
|
+
var f = ["indeterminate"], p = { class: "swap-on" }, m = { class: "swap-off" }, h = {
|
|
4
|
+
key: 0,
|
|
5
|
+
class: "swap-indeterminate"
|
|
6
|
+
}, g = { class: "swap-on" }, _ = { class: "swap-off" }, v = /*@__PURE__*/ i({
|
|
7
|
+
__name: "du-swap",
|
|
8
|
+
props: {
|
|
9
|
+
modelValue: {
|
|
10
|
+
type: Boolean,
|
|
11
|
+
default: !1
|
|
12
|
+
},
|
|
13
|
+
rotate: {
|
|
14
|
+
type: Boolean,
|
|
15
|
+
default: !1
|
|
16
|
+
},
|
|
17
|
+
flip: {
|
|
18
|
+
type: Boolean,
|
|
19
|
+
default: !1
|
|
20
|
+
},
|
|
21
|
+
useCheckbox: {
|
|
22
|
+
type: Boolean,
|
|
23
|
+
default: !0
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
emits: ["update:modelValue"],
|
|
27
|
+
setup(i, { emit: v }) {
|
|
28
|
+
let y = i, b = v, x = s(y.modelValue);
|
|
29
|
+
u(() => y.modelValue, (e) => {
|
|
30
|
+
x.value = e;
|
|
31
|
+
});
|
|
32
|
+
let S = e({
|
|
33
|
+
get: () => x.value,
|
|
34
|
+
set: (e) => {
|
|
35
|
+
x.value = e, b("update:modelValue", e);
|
|
36
|
+
}
|
|
37
|
+
}), C = e(() => ({
|
|
38
|
+
"swap-rotate": y.rotate,
|
|
39
|
+
"swap-flip": y.flip
|
|
40
|
+
}));
|
|
41
|
+
return (e, s) => i.useCheckbox ? (o(), n("label", {
|
|
42
|
+
key: 0,
|
|
43
|
+
class: a(["swap", C.value])
|
|
44
|
+
}, [
|
|
45
|
+
d(r("input", {
|
|
46
|
+
type: "checkbox",
|
|
47
|
+
"onUpdate:modelValue": s[0] ||= (e) => S.value = e,
|
|
48
|
+
indeterminate: !!e.$slots.indeterminate
|
|
49
|
+
}, null, 8, f), [[l, S.value]]),
|
|
50
|
+
r("div", p, [c(e.$slots, "on")]),
|
|
51
|
+
r("div", m, [c(e.$slots, "off")]),
|
|
52
|
+
e.$slots.indeterminate ? (o(), n("div", h, [c(e.$slots, "indeterminate")])) : t("", !0)
|
|
53
|
+
], 2)) : (o(), n("div", {
|
|
54
|
+
key: 1,
|
|
55
|
+
class: a(["swap", [C.value, { "swap-active": S.value }]]),
|
|
56
|
+
onClick: s[1] ||= (e) => S.value = !S.value
|
|
57
|
+
}, [r("div", g, [c(e.$slots, "on")]), r("div", _, [c(e.$slots, "off")])], 2));
|
|
58
|
+
}
|
|
59
|
+
});
|
|
60
|
+
//#endregion
|
|
61
|
+
export { v as default };
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
checked?: boolean;
|
|
3
|
+
customClass?: string;
|
|
4
|
+
title?: string;
|
|
5
|
+
};
|
|
6
|
+
declare var __VLS_1: {}, __VLS_3: {};
|
|
7
|
+
type __VLS_Slots = {} & {
|
|
8
|
+
title?: (props: typeof __VLS_1) => any;
|
|
9
|
+
} & {
|
|
10
|
+
default?: (props: typeof __VLS_3) => any;
|
|
11
|
+
};
|
|
12
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
13
|
+
customClass: string;
|
|
14
|
+
title: string;
|
|
15
|
+
checked: boolean;
|
|
16
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
17
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
18
|
+
declare const _default: typeof __VLS_export;
|
|
19
|
+
export default _default;
|
|
20
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
21
|
+
new (): {
|
|
22
|
+
$slots: S;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { createElementBlock as e, createElementVNode as t, createTextVNode as n, defineComponent as r, inject as i, normalizeClass as a, openBlock as o, renderSlot as s, toDisplayString as c, unref as l } from "vue";
|
|
2
|
+
//#region components/DataDisplay/du-accordion/du-accordion-item.vue?vue&type=script&setup=true&lang.ts
|
|
3
|
+
var u = ["name", "checked"], d = { class: "collapse-title" }, f = { class: "collapse-content" }, p = /*@__PURE__*/ r({
|
|
4
|
+
__name: "du-accordion-item",
|
|
5
|
+
props: {
|
|
6
|
+
checked: {
|
|
7
|
+
type: Boolean,
|
|
8
|
+
default: !1
|
|
9
|
+
},
|
|
10
|
+
customClass: { default: "" },
|
|
11
|
+
title: { default: "" }
|
|
12
|
+
},
|
|
13
|
+
setup(r) {
|
|
14
|
+
let p = i("accordionName", "");
|
|
15
|
+
return (i, m) => (o(), e("div", { class: a([
|
|
16
|
+
"collapse",
|
|
17
|
+
"bg-base-100 border border-base-300",
|
|
18
|
+
r.customClass
|
|
19
|
+
]) }, [
|
|
20
|
+
t("input", {
|
|
21
|
+
type: "radio",
|
|
22
|
+
name: l(p),
|
|
23
|
+
checked: r.checked ? !0 : void 0
|
|
24
|
+
}, null, 8, u),
|
|
25
|
+
t("div", d, [s(i.$slots, "title", {}, () => [n(c(r.title), 1)])]),
|
|
26
|
+
t("div", f, [s(i.$slots, "default")])
|
|
27
|
+
], 2));
|
|
28
|
+
}
|
|
29
|
+
});
|
|
30
|
+
//#endregion
|
|
31
|
+
export { p as default };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export declare const ACCORDION_MODIFIERS: readonly ["collapse-arrow", "collapse-plus", "collapse-open", "collapse-close"];
|
|
2
|
+
export interface ACCORDIONItem {
|
|
3
|
+
title?: string;
|
|
4
|
+
content?: string;
|
|
5
|
+
checked?: boolean;
|
|
6
|
+
customClass?: string;
|
|
7
|
+
}
|
|
8
|
+
export type ACCORDIONModifier = (typeof ACCORDION_MODIFIERS)[number];
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { type ACCORDIONItem } from './du-accordion.types';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
items?: ACCORDIONItem[];
|
|
4
|
+
name?: string;
|
|
5
|
+
modifier?: 'collapse-arrow' | 'collapse-plus' | 'collapse-open' | 'collapse-close';
|
|
6
|
+
customClass?: string;
|
|
7
|
+
};
|
|
8
|
+
declare var __VLS_1: {
|
|
9
|
+
item: ACCORDIONItem;
|
|
10
|
+
index: number;
|
|
11
|
+
}, __VLS_4: `title-${number}`, __VLS_5: {
|
|
12
|
+
item: ACCORDIONItem;
|
|
13
|
+
index: number;
|
|
14
|
+
}, __VLS_7: {
|
|
15
|
+
item: ACCORDIONItem;
|
|
16
|
+
index: number;
|
|
17
|
+
}, __VLS_10: `content-${number}`, __VLS_11: {
|
|
18
|
+
item: ACCORDIONItem;
|
|
19
|
+
index: number;
|
|
20
|
+
}, __VLS_13: {};
|
|
21
|
+
type __VLS_Slots = {} & {
|
|
22
|
+
[K in NonNullable<typeof __VLS_4>]?: (props: typeof __VLS_5) => any;
|
|
23
|
+
} & {
|
|
24
|
+
[K in NonNullable<typeof __VLS_10>]?: (props: typeof __VLS_11) => any;
|
|
25
|
+
} & {
|
|
26
|
+
title?: (props: typeof __VLS_1) => any;
|
|
27
|
+
} & {
|
|
28
|
+
content?: (props: typeof __VLS_7) => any;
|
|
29
|
+
} & {
|
|
30
|
+
default?: (props: typeof __VLS_13) => any;
|
|
31
|
+
};
|
|
32
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
33
|
+
customClass: string;
|
|
34
|
+
name: string;
|
|
35
|
+
items: ACCORDIONItem[];
|
|
36
|
+
modifier: "collapse-arrow" | "collapse-plus" | "collapse-open" | "collapse-close";
|
|
37
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
38
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
39
|
+
declare const _default: typeof __VLS_export;
|
|
40
|
+
export default _default;
|
|
41
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
42
|
+
new (): {
|
|
43
|
+
$slots: S;
|
|
44
|
+
};
|
|
45
|
+
};
|
package/dist/components/DataDisplay/du-accordion/du-accordion.vue_vue_type_script_setup_true_lang.js
ADDED
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { Fragment as e, computed as t, createElementBlock as n, createElementVNode as r, createTextVNode as i, defineComponent as a, normalizeClass as o, openBlock as s, provide as c, renderList as l, renderSlot as u, toDisplayString as d } from "vue";
|
|
2
|
+
//#region components/DataDisplay/du-accordion/du-accordion.vue?vue&type=script&setup=true&lang.ts
|
|
3
|
+
var f = ["name", "checked"], p = { class: "collapse-title" }, m = { class: "collapse-content" }, h = /*@__PURE__*/ a({
|
|
4
|
+
__name: "du-accordion",
|
|
5
|
+
props: {
|
|
6
|
+
items: { default: void 0 },
|
|
7
|
+
name: { default: "accordion" },
|
|
8
|
+
modifier: { default: void 0 },
|
|
9
|
+
customClass: { default: "" }
|
|
10
|
+
},
|
|
11
|
+
setup(a) {
|
|
12
|
+
let h = a, g = t(() => h.name || `accordion-${Math.random().toString(36).substring(2, 9)}`);
|
|
13
|
+
return c("accordionName", g.value), (t, c) => a.items ? (s(!0), n(e, { key: 0 }, l(a.items, (e, c) => (s(), n("div", {
|
|
14
|
+
key: c,
|
|
15
|
+
class: o([
|
|
16
|
+
"collapse",
|
|
17
|
+
"bg-base-100 border border-base-300",
|
|
18
|
+
a.modifier,
|
|
19
|
+
e.customClass || a.customClass
|
|
20
|
+
])
|
|
21
|
+
}, [
|
|
22
|
+
r("input", {
|
|
23
|
+
type: "radio",
|
|
24
|
+
name: g.value,
|
|
25
|
+
checked: e.checked ? !0 : void 0
|
|
26
|
+
}, null, 8, f),
|
|
27
|
+
r("div", p, [u(t.$slots, "title", {
|
|
28
|
+
item: e,
|
|
29
|
+
index: c
|
|
30
|
+
}, () => [u(t.$slots, `title-${c}`, {
|
|
31
|
+
item: e,
|
|
32
|
+
index: c
|
|
33
|
+
}, () => [i(d(e.title), 1)])])]),
|
|
34
|
+
r("div", m, [u(t.$slots, "content", {
|
|
35
|
+
item: e,
|
|
36
|
+
index: c
|
|
37
|
+
}, () => [u(t.$slots, `content-${c}`, {
|
|
38
|
+
item: e,
|
|
39
|
+
index: c
|
|
40
|
+
}, () => [i(d(e.content), 1)])])])
|
|
41
|
+
], 2))), 128)) : u(t.$slots, "default", { key: 1 });
|
|
42
|
+
}
|
|
43
|
+
});
|
|
44
|
+
//#endregion
|
|
45
|
+
export { h as default };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import e from "./du-avatar.vue_vue_type_script_setup_true_lang.js";
|
|
2
|
+
import './du-avatar.vue_vue_type_style_index_0_scoped_fdc61ebe_lang.css';/* empty css */
|
|
3
|
+
import t from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
+
//#region components/DataDisplay/du-avatar/du-avatar.vue
|
|
5
|
+
var n = /*#__PURE__*/ t(e, [["__scopeId", "data-v-fdc61ebe"]]);
|
|
6
|
+
//#endregion
|
|
7
|
+
export { n as default };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export declare const AVATAR_SIZES: readonly ["avatar-xs", "avatar-sm", "avatar-md", "avatar-lg", "avatar-xl"];
|
|
2
|
+
export declare const AVATAR_ROUNDED: readonly ["rounded", "rounded-full", "rounded-xs", "rounded-sm", "rounded-md", "rounded-lg", "rounded-xl"];
|
|
3
|
+
export declare const AVATAR_RING_COLORS: readonly ["ring-primary", "ring-secondary", "ring-accent", "ring-neutral", "ring-info", "ring-success", "ring-warning", "ring-error"];
|
|
4
|
+
export declare const AVATAR_COLORS: string[];
|
|
5
|
+
export type Rounded = 'default' | 'rounded' | 'full' | 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
6
|
+
export type Mask = 'default' | 'heart' | 'squircle' | 'hexagon' | 'hexagon-2' | 'decagon' | 'pentagon' | 'diamond' | 'square' | 'circle' | 'parallelogram' | 'parallelogram-2' | 'star' | 'star-2';
|
|
7
|
+
export type AVATARSize = (typeof AVATAR_SIZES)[number];
|
|
8
|
+
export type AVATARRounded = (typeof AVATAR_ROUNDED)[number];
|
|
9
|
+
export type AVATARRingColor = (typeof AVATAR_RING_COLORS)[number];
|
|
10
|
+
export type AVATARColor = (typeof AVATAR_COLORS)[number];
|
|
11
|
+
export declare const AVATAR_MASK: readonly ["mask-heart", "mask-squircle", "mask-hexagon", "mask-hexagon-2", "mask-decagon", "mask-pentagon", "mask-diamond", "mask-square", "mask-circle", "mask-parallelogram", "mask-parallelogram-2", "mask-star", "mask-star-2"];
|
|
12
|
+
export type AVATARMask = (typeof AVATAR_MASK)[number];
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { type Size } from '../../../composables/useSizeProps';
|
|
2
|
+
import { type Variant } from '../../../composables/useVariantProps';
|
|
3
|
+
import { type Rounded, type Mask } from './du-avatar.types';
|
|
4
|
+
type __VLS_Props = {
|
|
5
|
+
size?: Size;
|
|
6
|
+
variant?: Variant;
|
|
7
|
+
rounded?: Rounded;
|
|
8
|
+
offline?: boolean;
|
|
9
|
+
online?: boolean;
|
|
10
|
+
placeholder?: boolean;
|
|
11
|
+
ring?: boolean;
|
|
12
|
+
ringColor?: string;
|
|
13
|
+
ringOffset?: number;
|
|
14
|
+
mask?: Mask;
|
|
15
|
+
};
|
|
16
|
+
declare var __VLS_1: {};
|
|
17
|
+
type __VLS_Slots = {} & {
|
|
18
|
+
default?: (props: typeof __VLS_1) => any;
|
|
19
|
+
};
|
|
20
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
21
|
+
rounded: Rounded;
|
|
22
|
+
placeholder: boolean;
|
|
23
|
+
size: Size;
|
|
24
|
+
variant: Variant;
|
|
25
|
+
ring: boolean;
|
|
26
|
+
offline: boolean;
|
|
27
|
+
online: boolean;
|
|
28
|
+
ringColor: string;
|
|
29
|
+
ringOffset: number;
|
|
30
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
31
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
32
|
+
declare const _default: typeof __VLS_export;
|
|
33
|
+
export default _default;
|
|
34
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
35
|
+
new (): {
|
|
36
|
+
$slots: S;
|
|
37
|
+
};
|
|
38
|
+
};
|
package/dist/components/DataDisplay/du-avatar/du-avatar.vue_vue_type_script_setup_true_lang.js
ADDED
|
@@ -0,0 +1,57 @@
|
|
|
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, createElementVNode as i, defineComponent as a, normalizeClass as o, openBlock as s, renderSlot as c, unref as l } from "vue";
|
|
4
|
+
//#region components/DataDisplay/du-avatar/du-avatar.vue?vue&type=script&setup=true&lang.ts
|
|
5
|
+
var u = /*@__PURE__*/ a({
|
|
6
|
+
__name: "du-avatar",
|
|
7
|
+
props: {
|
|
8
|
+
size: { default: "default" },
|
|
9
|
+
variant: { default: "default" },
|
|
10
|
+
rounded: { default: "default" },
|
|
11
|
+
offline: {
|
|
12
|
+
type: Boolean,
|
|
13
|
+
default: !1
|
|
14
|
+
},
|
|
15
|
+
online: {
|
|
16
|
+
type: Boolean,
|
|
17
|
+
default: !1
|
|
18
|
+
},
|
|
19
|
+
placeholder: {
|
|
20
|
+
type: Boolean,
|
|
21
|
+
default: !1
|
|
22
|
+
},
|
|
23
|
+
ring: {
|
|
24
|
+
type: Boolean,
|
|
25
|
+
default: !1
|
|
26
|
+
},
|
|
27
|
+
ringColor: { default: "primary" },
|
|
28
|
+
ringOffset: { default: 2 },
|
|
29
|
+
mask: {}
|
|
30
|
+
},
|
|
31
|
+
setup(a) {
|
|
32
|
+
let u = a, { sizeClass: d } = e(u, "avatar"), { colorClass: f } = t(u, "avatar"), p = n(() => ({
|
|
33
|
+
default: "",
|
|
34
|
+
rounded: "rounded",
|
|
35
|
+
full: "rounded-full",
|
|
36
|
+
xs: "rounded-xs",
|
|
37
|
+
sm: "rounded-sm",
|
|
38
|
+
md: "rounded-md",
|
|
39
|
+
lg: "rounded-lg",
|
|
40
|
+
xl: "rounded-xl"
|
|
41
|
+
})[u.rounded]), m = n(() => u.mask ? `mask mask-${u.mask}` : ""), h = n(() => u.ring ? `ring-${u.ringOffset} ring-${u.ringColor} ring-offset-base-100 ring-offset-2 ring-2` : ""), g = n(() => u.online ? "avatar-online" : u.offline ? "avatar-offline" : ""), _ = n(() => u.placeholder ? "avatar-placeholder" : "");
|
|
42
|
+
return (e, t) => (s(), r("div", { class: o([
|
|
43
|
+
"avatar",
|
|
44
|
+
g.value,
|
|
45
|
+
_.value
|
|
46
|
+
]) }, [i("div", { class: o([
|
|
47
|
+
"bg-base-300",
|
|
48
|
+
l(d),
|
|
49
|
+
p.value,
|
|
50
|
+
m.value,
|
|
51
|
+
h.value,
|
|
52
|
+
l(f)
|
|
53
|
+
]) }, [c(e.$slots, "default", {}, void 0, !0)], 2)], 2));
|
|
54
|
+
}
|
|
55
|
+
});
|
|
56
|
+
//#endregion
|
|
57
|
+
export { u as default };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.avatar-xs[data-v-fdc61ebe]{width:calc(var(--spacing)*8)}.avatar-sm[data-v-fdc61ebe]{width:calc(var(--spacing)*12)}.avatar-md[data-v-fdc61ebe]{width:calc(var(--spacing)*16)}.avatar-lg[data-v-fdc61ebe]{width:calc(var(--spacing)*24)}.avatar-xl[data-v-fdc61ebe]{width:calc(var(--spacing)*28)}.avatar-primary[data-v-fdc61ebe]{background-color:var(--color-primary);color:var(--color-primary-content)}.avatar-secondary[data-v-fdc61ebe]{background-color:var(--color-secondary);color:var(--color-secondary-content)}.avatar-accent[data-v-fdc61ebe]{background-color:var(--color-accent);color:var(--color-accent-content)}.avatar-neutral[data-v-fdc61ebe]{background-color:var(--color-neutral);color:var(--color-neutral-content)}.avatar-info[data-v-fdc61ebe]{background-color:var(--color-info);color:var(--color-info-content)}.avatar-success[data-v-fdc61ebe]{background-color:var(--color-success);color:var(--color-success-content)}.avatar-warning[data-v-fdc61ebe]{background-color:var(--color-warning);color:var(--color-warning-content)}.avatar-error[data-v-fdc61ebe]{background-color:var(--color-error);color:var(--color-error-content)}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export declare const BADGE_SIZES: readonly ["badge-xs", "badge-sm", "badge-md", "badge-lg", "badge-xl"];
|
|
2
|
+
export declare const BADGE_VARIANTS: readonly ["badge-primary", "badge-secondary", "badge-accent", "badge-neutral", "badge-info", "badge-success", "badge-warning", "badge-error"];
|
|
3
|
+
export type BADGESize = (typeof BADGE_SIZES)[number];
|
|
4
|
+
export type BADGEVariant = (typeof BADGE_VARIANTS)[number];
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { type Variant } from '../../../composables/useVariantProps';
|
|
2
|
+
import { type Size } from '../../../composables/useSizeProps';
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
size?: Size;
|
|
5
|
+
variant?: Variant;
|
|
6
|
+
outline?: boolean;
|
|
7
|
+
dash?: boolean;
|
|
8
|
+
soft?: boolean;
|
|
9
|
+
ghost?: boolean;
|
|
10
|
+
icon?: boolean;
|
|
11
|
+
};
|
|
12
|
+
declare var __VLS_1: {};
|
|
13
|
+
type __VLS_Slots = {} & {
|
|
14
|
+
default?: (props: typeof __VLS_1) => any;
|
|
15
|
+
};
|
|
16
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
17
|
+
icon: boolean;
|
|
18
|
+
size: Size;
|
|
19
|
+
ghost: boolean;
|
|
20
|
+
variant: Variant;
|
|
21
|
+
outline: boolean;
|
|
22
|
+
soft: boolean;
|
|
23
|
+
dash: boolean;
|
|
24
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
25
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
26
|
+
declare const _default: typeof __VLS_export;
|
|
27
|
+
export default _default;
|
|
28
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
29
|
+
new (): {
|
|
30
|
+
$slots: S;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { useSizeMapping as e } from "../../../composables/useSizeProps.js";
|
|
2
|
+
import { useVariantMapping as t } from "../../../composables/useVariantProps.js";
|
|
3
|
+
import { computed as n, createCommentVNode as r, createElementBlock as i, defineComponent as a, normalizeClass as o, openBlock as s, renderSlot as c, unref as l } from "vue";
|
|
4
|
+
//#region components/DataDisplay/du-badge/du-badge.vue?vue&type=script&setup=true&lang.ts
|
|
5
|
+
var u = ["innerHTML"], d = /*@__PURE__*/ a({
|
|
6
|
+
__name: "du-badge",
|
|
7
|
+
props: {
|
|
8
|
+
size: { default: "default" },
|
|
9
|
+
variant: { default: "default" },
|
|
10
|
+
outline: {
|
|
11
|
+
type: Boolean,
|
|
12
|
+
default: !1
|
|
13
|
+
},
|
|
14
|
+
dash: {
|
|
15
|
+
type: Boolean,
|
|
16
|
+
default: !1
|
|
17
|
+
},
|
|
18
|
+
soft: {
|
|
19
|
+
type: Boolean,
|
|
20
|
+
default: !1
|
|
21
|
+
},
|
|
22
|
+
ghost: {
|
|
23
|
+
type: Boolean,
|
|
24
|
+
default: !1
|
|
25
|
+
},
|
|
26
|
+
icon: {
|
|
27
|
+
type: Boolean,
|
|
28
|
+
default: !1
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
setup(a) {
|
|
32
|
+
let d = a, { sizeClass: f } = e(d, "badge"), { colorClass: p } = t(d, "badge"), m = n(() => d.soft ? "badge-soft" : ""), h = n(() => d.outline ? "badge-outline" : ""), g = n(() => d.dash ? "badge-dash" : ""), _ = n(() => d.ghost ? "badge-ghost" : ""), v = {
|
|
33
|
+
default: "",
|
|
34
|
+
success: "<svg class=\"size-[1em]\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\"><g fill=\"currentColor\" stroke-linejoin=\"miter\" stroke-linecap=\"butt\"><circle cx=\"12\" cy=\"12\" r=\"10\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"square\" stroke-miterlimit=\"10\" stroke-width=\"2\"></circle><polyline points=\"7 13 10 16 17 8\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"square\" stroke-miterlimit=\"10\" stroke-width=\"2\"></polyline></g></svg>",
|
|
35
|
+
error: "<svg class=\"size-[1em]\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 18 18\"><g fill=\"currentColor\"><path d=\"M7.638,3.495L2.213,12.891c-.605,1.048,.151,2.359,1.362,2.359H14.425c1.211,0,1.967-1.31,1.362-2.359L10.362,3.495c-.605-1.048-2.119-1.048-2.724,0Z\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\"></path><line x1=\"9\" y1=\"6.5\" x2=\"9\" y2=\"10\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\"></line></g></svg>",
|
|
36
|
+
warning: "<svg class=\"size-[1em]\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\"><g fill=\"currentColor\"><rect x=\"1.972\" y=\"11\" width=\"20.056\" height=\"2\" transform=\"translate(-4.971 12) rotate(-45)\" fill=\"currentColor\" stroke-width=\"0\"></rect><path d=\"m12,23c-6.065,0-11-4.935-11-11S5.935,1,12,1s11,4.935,11,11-4.935,11-11,11Zm0-20C7.038,3,3,7.037,3,12s4.038,9,9,9,9-4.037,9-9S16.962,3,12,3Z\" stroke-width=\"0\" fill=\"currentColor\"></path></g></svg>",
|
|
37
|
+
info: "<svg class=\"size-[1em]\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\"><g fill=\"currentColor\" stroke-linejoin=\"miter\" stroke-linecap=\"butt\"><circle cx=\"12\" cy=\"12\" r=\"10\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"square\" stroke-miterlimit=\"10\" stroke-width=\"2\"></circle><path d=\"m12,17v-5.5c0-.276-.224-.5-.5-.5h-1.5\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"square\" stroke-miterlimit=\"10\" stroke-width=\"2\"></path><circle cx=\"12\" cy=\"7.25\" r=\"1.25\" fill=\"currentColor\" stroke-width=\"2\"></circle></g></svg>"
|
|
38
|
+
}, y = n(() => d.icon && (d.variant === "default" || d.variant === "success" || d.variant === "error" || d.variant === "warning" || d.variant === "info") ? v[d.variant] : "");
|
|
39
|
+
return (e, t) => (s(), i("div", { class: o([
|
|
40
|
+
"badge",
|
|
41
|
+
l(f),
|
|
42
|
+
l(p),
|
|
43
|
+
m.value,
|
|
44
|
+
h.value,
|
|
45
|
+
g.value,
|
|
46
|
+
_.value
|
|
47
|
+
]) }, [y.value ? (s(), i("span", {
|
|
48
|
+
key: 0,
|
|
49
|
+
innerHTML: y.value
|
|
50
|
+
}, null, 8, u)) : r("", !0), c(e.$slots, "default")], 2));
|
|
51
|
+
}
|
|
52
|
+
});
|
|
53
|
+
//#endregion
|
|
54
|
+
export { d as default };
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export declare const CARD_SIZES: readonly ["card-xs", "card-sm", "card-md", "card-lg", "card-xl"];
|
|
2
|
+
export declare const CARD_PROPERTIES: readonly ["card-border", "card-dash", "card-side", "lg:card-side", "image-full"];
|
|
3
|
+
export type CARDSize = (typeof CARD_SIZES)[number];
|
|
4
|
+
export type CARDProperty = (typeof CARD_PROPERTIES)[number];
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { type Size } from '../../../composables/useSizeProps';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
size?: Size;
|
|
4
|
+
bordered?: boolean;
|
|
5
|
+
dash?: boolean;
|
|
6
|
+
side?: boolean;
|
|
7
|
+
imageFull?: boolean;
|
|
8
|
+
responsive?: boolean;
|
|
9
|
+
title?: string;
|
|
10
|
+
};
|
|
11
|
+
declare var __VLS_1: {}, __VLS_3: {}, __VLS_5: {}, __VLS_7: {}, __VLS_9: {}, __VLS_11: {}, __VLS_13: {};
|
|
12
|
+
type __VLS_Slots = {} & {
|
|
13
|
+
figure?: (props: typeof __VLS_1) => any;
|
|
14
|
+
} & {
|
|
15
|
+
body?: (props: typeof __VLS_3) => any;
|
|
16
|
+
} & {
|
|
17
|
+
default?: (props: typeof __VLS_5) => any;
|
|
18
|
+
} & {
|
|
19
|
+
title?: (props: typeof __VLS_7) => any;
|
|
20
|
+
} & {
|
|
21
|
+
default?: (props: typeof __VLS_9) => any;
|
|
22
|
+
} & {
|
|
23
|
+
actions?: (props: typeof __VLS_11) => any;
|
|
24
|
+
} & {
|
|
25
|
+
content?: (props: typeof __VLS_13) => any;
|
|
26
|
+
};
|
|
27
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
28
|
+
title: string;
|
|
29
|
+
size: Size;
|
|
30
|
+
responsive: boolean;
|
|
31
|
+
dash: boolean;
|
|
32
|
+
bordered: boolean;
|
|
33
|
+
side: boolean;
|
|
34
|
+
imageFull: boolean;
|
|
35
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
36
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
37
|
+
declare const _default: typeof __VLS_export;
|
|
38
|
+
export default _default;
|
|
39
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
40
|
+
new (): {
|
|
41
|
+
$slots: S;
|
|
42
|
+
};
|
|
43
|
+
};
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { useSizeMapping as e } from "../../../composables/useSizeProps.js";
|
|
2
|
+
import { Fragment as t, computed as n, createCommentVNode as r, createElementBlock as i, createTextVNode as a, defineComponent as o, normalizeClass as s, openBlock as c, renderSlot as l, toDisplayString as u, unref as d } from "vue";
|
|
3
|
+
//#region components/DataDisplay/du-card/du-card.vue?vue&type=script&setup=true&lang.ts
|
|
4
|
+
var f = {
|
|
5
|
+
key: 1,
|
|
6
|
+
class: "card-body"
|
|
7
|
+
}, p = {
|
|
8
|
+
key: 0,
|
|
9
|
+
class: "card-title flex-wrap"
|
|
10
|
+
}, m = {
|
|
11
|
+
key: 1,
|
|
12
|
+
class: "card-actions"
|
|
13
|
+
}, h = /*@__PURE__*/ o({
|
|
14
|
+
__name: "du-card",
|
|
15
|
+
props: {
|
|
16
|
+
size: { default: "default" },
|
|
17
|
+
bordered: {
|
|
18
|
+
type: Boolean,
|
|
19
|
+
default: !1
|
|
20
|
+
},
|
|
21
|
+
dash: {
|
|
22
|
+
type: Boolean,
|
|
23
|
+
default: !1
|
|
24
|
+
},
|
|
25
|
+
side: {
|
|
26
|
+
type: Boolean,
|
|
27
|
+
default: !1
|
|
28
|
+
},
|
|
29
|
+
imageFull: {
|
|
30
|
+
type: Boolean,
|
|
31
|
+
default: !1
|
|
32
|
+
},
|
|
33
|
+
responsive: {
|
|
34
|
+
type: Boolean,
|
|
35
|
+
default: !1
|
|
36
|
+
},
|
|
37
|
+
title: { default: "" }
|
|
38
|
+
},
|
|
39
|
+
setup(o) {
|
|
40
|
+
let h = o, { sizeClass: g } = e(h, "card"), _ = n(() => h.bordered ? "card-border" : ""), v = n(() => h.dash ? "card-dash" : ""), y = n(() => h.side ? "card-side" : ""), b = n(() => h.responsive ? "card-compact sm:card-normal" : ""), x = n(() => h.imageFull ? "image-full" : "");
|
|
41
|
+
return (e, n) => (c(), i("div", { class: s([
|
|
42
|
+
"card",
|
|
43
|
+
d(g),
|
|
44
|
+
_.value,
|
|
45
|
+
v.value,
|
|
46
|
+
y.value,
|
|
47
|
+
b.value,
|
|
48
|
+
x.value
|
|
49
|
+
]) }, [
|
|
50
|
+
l(e.$slots, "figure"),
|
|
51
|
+
e.$slots.body ? (c(), i(t, { key: 0 }, [l(e.$slots, "body"), l(e.$slots, "default")], 64)) : e.$slots.title || e.$slots.actions || e.$slots.default || o.title ? (c(), i("div", f, [
|
|
52
|
+
o.title || e.$slots.title ? (c(), i("h2", p, [o.title ? (c(), i(t, { key: 0 }, [a(u(o.title), 1)], 64)) : r("", !0), l(e.$slots, "title")])) : r("", !0),
|
|
53
|
+
l(e.$slots, "default"),
|
|
54
|
+
e.$slots.actions ? (c(), i("div", m, [l(e.$slots, "actions")])) : r("", !0)
|
|
55
|
+
])) : r("", !0),
|
|
56
|
+
l(e.$slots, "content")
|
|
57
|
+
], 2));
|
|
58
|
+
}
|
|
59
|
+
});
|
|
60
|
+
//#endregion
|
|
61
|
+
export { h as default };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
id?: string;
|
|
3
|
+
};
|
|
4
|
+
declare var __VLS_1: {};
|
|
5
|
+
type __VLS_Slots = {} & {
|
|
6
|
+
default?: (props: typeof __VLS_1) => any;
|
|
7
|
+
};
|
|
8
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
9
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
10
|
+
declare const _default: typeof __VLS_export;
|
|
11
|
+
export default _default;
|
|
12
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
13
|
+
new (): {
|
|
14
|
+
$slots: S;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { createElementBlock as e, defineComponent as t, openBlock as n, renderSlot as r } from "vue";
|
|
2
|
+
//#region components/DataDisplay/du-carousel/du-carousel-item.vue?vue&type=script&setup=true&lang.ts
|
|
3
|
+
var i = ["id"], a = /*@__PURE__*/ t({
|
|
4
|
+
__name: "du-carousel-item",
|
|
5
|
+
props: { id: {} },
|
|
6
|
+
setup(t) {
|
|
7
|
+
return (a, o) => (n(), e("div", {
|
|
8
|
+
id: t.id,
|
|
9
|
+
class: "carousel-item"
|
|
10
|
+
}, [r(a.$slots, "default")], 8, i));
|
|
11
|
+
}
|
|
12
|
+
});
|
|
13
|
+
//#endregion
|
|
14
|
+
export { a as default };
|