@dropi/ui 0.1.51 → 0.1.53
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/dropi-accordion-item.cjs.entry.js +2 -2
- package/dist/cjs/dropi-accordion.cjs.entry.js +2 -2
- package/dist/cjs/dropi-alert-legacy.cjs.entry.js +2 -2
- package/dist/cjs/dropi-alert-modal.cjs.entry.js +4 -14
- package/dist/cjs/dropi-alert.cjs.entry.js +2 -2
- package/dist/cjs/dropi-avatars.cjs.entry.js +2 -2
- package/dist/cjs/dropi-badge-legacy.cjs.entry.js +2 -2
- package/dist/cjs/dropi-badge.cjs.entry.js +2 -2
- package/dist/cjs/dropi-banner-external.cjs.entry.js +2 -2
- package/dist/cjs/dropi-breadcrumb.cjs.entry.js +2 -2
- package/dist/cjs/dropi-button.cjs.entry.js +2 -2
- package/dist/cjs/dropi-card-checkbox.cjs.entry.js +2 -2
- package/dist/cjs/dropi-card-product.cjs.entry.js +2 -2
- package/dist/cjs/dropi-card-section.cjs.entry.js +2 -2
- package/dist/cjs/dropi-carousel.cjs.entry.js +2 -2
- package/dist/cjs/dropi-checkbox-selection-list.cjs.entry.js +2 -2
- package/dist/cjs/dropi-checkbox.cjs.entry.js +2 -2
- package/dist/cjs/dropi-chips.cjs.entry.js +2 -2
- package/dist/cjs/dropi-city-selector.cjs.entry.js +2 -2
- package/dist/cjs/dropi-color-picker.cjs.entry.js +2 -2
- package/dist/cjs/dropi-country-flags.cjs.entry.js +2 -2
- package/dist/cjs/dropi-country-selector.cjs.entry.js +2 -2
- package/dist/cjs/dropi-date-picker-range.cjs.entry.js +93 -21
- package/dist/cjs/dropi-date-picker.cjs.entry.js +141 -56
- package/dist/cjs/dropi-drawer.cjs.entry.js +4 -4
- package/dist/cjs/dropi-dropdown.cjs.entry.js +2 -2
- package/dist/cjs/dropi-empty-state.cjs.entry.js +3 -3
- package/dist/cjs/dropi-favorite-button.cjs.entry.js +3 -3
- package/dist/cjs/dropi-file-upload-progress-bar.cjs.entry.js +3 -3
- package/dist/cjs/dropi-file-upload.cjs.entry.js +3 -3
- package/dist/cjs/dropi-icon.cjs.entry.js +2 -2
- package/dist/cjs/dropi-ilustration-icon.cjs.entry.js +2 -2
- package/dist/cjs/dropi-image-miniature.cjs.entry.js +3 -3
- package/dist/cjs/dropi-image-overlay.cjs.entry.js +2 -2
- package/dist/cjs/dropi-input_3.cjs.entry.js +6 -6
- package/dist/cjs/dropi-languages-selector.cjs.entry.js +2 -2
- package/dist/cjs/dropi-logo.cjs.entry.js +3 -3
- package/dist/cjs/dropi-lottie-loader.cjs.entry.js +2 -2
- package/dist/cjs/dropi-media-player.cjs.entry.js +2 -2
- package/dist/cjs/dropi-modal.cjs.entry.js +2 -2
- package/dist/cjs/dropi-navbar.cjs.entry.js +4 -4
- package/dist/cjs/dropi-otp-send-code.cjs.entry.js +4 -4
- package/dist/cjs/dropi-phone-input.cjs.entry.js +4 -4
- package/dist/cjs/dropi-progress-bar.cjs.entry.js +3 -3
- package/dist/cjs/dropi-radio-button.cjs.entry.js +3 -3
- package/dist/cjs/dropi-radio-selection-list.cjs.entry.js +2 -2
- package/dist/cjs/dropi-read-more.cjs.entry.js +3 -3
- package/dist/cjs/dropi-search.cjs.entry.js +2 -2
- package/dist/cjs/dropi-select.cjs.entry.js +3 -3
- package/dist/cjs/dropi-sidebar.cjs.entry.js +2 -2
- package/dist/cjs/dropi-simple-stepper.cjs.entry.js +2 -2
- package/dist/cjs/dropi-skeleton.cjs.entry.js +2 -2
- package/dist/cjs/dropi-steps.cjs.entry.js +13 -3
- package/dist/cjs/dropi-switch.cjs.entry.js +3 -3
- package/dist/cjs/dropi-table.cjs.entry.js +2 -2
- package/dist/cjs/dropi-tabs.cjs.entry.js +2 -2
- package/dist/cjs/dropi-tag-type-product.cjs.entry.js +3 -3
- package/dist/cjs/dropi-text-area.cjs.entry.js +2 -2
- package/dist/cjs/dropi-time-line.cjs.entry.js +2 -2
- package/dist/cjs/dropi-toast.cjs.entry.js +9 -11
- package/dist/cjs/dropi-tooltip-v2.cjs.entry.js +2 -2
- package/dist/cjs/dropi-tooltip.cjs.entry.js +3 -3
- package/dist/cjs/dropi-ui.cjs.js +2 -2
- package/dist/cjs/dropi-vertical-steps.cjs.entry.js +2 -2
- package/dist/cjs/dropi-youtube-lazy-video.cjs.entry.js +3 -3
- package/dist/cjs/index-eMp8lMK1.js +2809 -0
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/lottie-map.generated-BVDAlLPd.js +14 -0
- package/dist/collection/components/dropi-accordion/dropi-accordion-item.css +22 -7
- package/dist/collection/components/dropi-accordion/dropi-accordion.css +2 -1
- package/dist/collection/components/dropi-alert/dropi-alert.css +2 -1
- package/dist/collection/components/dropi-alert-legacy/dropi-alert-legacy.css +1 -0
- package/dist/collection/components/dropi-alert-modal/dropi-alert-modal.css +1 -0
- package/dist/collection/components/dropi-avatars/dropi-avatars.css +1 -0
- package/dist/collection/components/dropi-badge/dropi-badge.css +1 -0
- package/dist/collection/components/dropi-badge-legacy/dropi-badge-legacy.css +1 -0
- package/dist/collection/components/dropi-banner-external/dropi-banner-external.css +1 -0
- package/dist/collection/components/dropi-breadcrumb/dropi-breadcrumb.css +1 -0
- package/dist/collection/components/dropi-button/dropi-button.css +2 -0
- package/dist/collection/components/dropi-card-checkbox/dropi-card-checkbox.css +1 -0
- package/dist/collection/components/dropi-card-product/dropi-card-product.css +9 -8
- package/dist/collection/components/dropi-card-section/dropi-card-section.css +2 -1
- package/dist/collection/components/dropi-carousel/dropi-carousel.css +1 -0
- package/dist/collection/components/dropi-checkbox/dropi-checkbox.css +1 -0
- package/dist/collection/components/dropi-checkbox-selection-list/dropi-checkbox-selection-list.css +2 -1
- package/dist/collection/components/dropi-chips/dropi-chips.css +2 -1
- package/dist/collection/components/dropi-city-selector/dropi-city-selector.css +4 -3
- package/dist/collection/components/dropi-color-picker/dropi-color-picker.css +1 -0
- package/dist/collection/components/dropi-country-flags/dropi-country-flags.css +1 -0
- package/dist/collection/components/dropi-country-selector/dropi-country-selector.css +5 -4
- package/dist/collection/components/dropi-date-picker/dropi-date-picker.css +122 -74
- package/dist/collection/components/dropi-date-picker/dropi-date-picker.js +169 -62
- package/dist/collection/components/dropi-date-picker-range/dropi-date-picker-range.css +64 -7
- package/dist/collection/components/dropi-date-picker-range/dropi-date-picker-range.js +96 -23
- package/dist/collection/components/dropi-drawer/dropi-drawer.css +2 -1
- package/dist/collection/components/dropi-drawer/dropi-drawer.js +2 -2
- package/dist/collection/components/dropi-dropdown/dropi-dropdown.css +1 -0
- package/dist/collection/components/dropi-empty-state/dropi-empty-state.css +1 -0
- package/dist/collection/components/dropi-empty-state/dropi-empty-state.js +1 -1
- package/dist/collection/components/dropi-favorite-button/dropi-favorite-button.css +1 -0
- package/dist/collection/components/dropi-favorite-button/dropi-favorite-button.js +1 -1
- package/dist/collection/components/dropi-file-upload/dropi-file-upload.css +1 -0
- package/dist/collection/components/dropi-file-upload/dropi-file-upload.js +1 -1
- package/dist/collection/components/dropi-file-upload-progress-bar/dropi-file-upload-progress-bar.css +1 -0
- package/dist/collection/components/dropi-file-upload-progress-bar/dropi-file-upload-progress-bar.js +1 -1
- package/dist/collection/components/dropi-icon/dropi-icon.css +1 -0
- package/dist/collection/components/dropi-ilustration-icon/dropi-ilustration-icon.css +1 -0
- package/dist/collection/components/dropi-image-miniature/dropi-image-miniature.css +2 -1
- package/dist/collection/components/dropi-image-miniature/dropi-image-miniature.js +1 -1
- package/dist/collection/components/dropi-image-overlay/dropi-image-overlay.css +2 -1
- package/dist/collection/components/dropi-input/dropi-input.css +2 -1
- package/dist/collection/components/dropi-languages-selector/dropi-languages-selector.css +2 -1
- package/dist/collection/components/dropi-logo/dropi-logo.css +1 -0
- package/dist/collection/components/dropi-logo/dropi-logo.js +1 -1
- package/dist/collection/components/dropi-lottie-loader/dropi-lottie-loader.css +1 -0
- package/dist/collection/components/dropi-media-player/dropi-media-player.css +4 -3
- package/dist/collection/components/dropi-modal/dropi-modal.css +2 -1
- package/dist/collection/components/dropi-navbar/dropi-navbar.css +3 -2
- package/dist/collection/components/dropi-navbar/dropi-navbar.js +2 -2
- package/dist/collection/components/dropi-otp-send-code/dropi-otp-send-code.css +2 -1
- package/dist/collection/components/dropi-otp-send-code/dropi-otp-send-code.js +2 -2
- package/dist/collection/components/dropi-paginator/dropi-paginator.css +3 -2
- package/dist/collection/components/dropi-paginator/dropi-paginator.js +2 -2
- package/dist/collection/components/dropi-phone-input/dropi-phone-input.css +5 -4
- package/dist/collection/components/dropi-phone-input/dropi-phone-input.js +2 -2
- package/dist/collection/components/dropi-progress-bar/dropi-progress-bar.css +1 -0
- package/dist/collection/components/dropi-progress-bar/dropi-progress-bar.js +1 -1
- package/dist/collection/components/dropi-radio-button/dropi-radio-button.css +1 -0
- package/dist/collection/components/dropi-radio-button/dropi-radio-button.js +1 -1
- package/dist/collection/components/dropi-radio-selection-list/dropi-radio-selection-list.css +2 -1
- package/dist/collection/components/dropi-read-more/dropi-read-more.css +3 -2
- package/dist/collection/components/dropi-read-more/dropi-read-more.js +1 -1
- package/dist/collection/components/dropi-search/dropi-search.css +2 -1
- package/dist/collection/components/dropi-select/dropi-select.css +4 -3
- package/dist/collection/components/dropi-select/dropi-select.js +1 -1
- package/dist/collection/components/dropi-sidebar/dropi-sidebar.css +1 -0
- package/dist/collection/components/dropi-simple-stepper/dropi-simple-stepper.css +1 -0
- package/dist/collection/components/dropi-skeleton/dropi-skeleton.css +1 -0
- package/dist/collection/components/dropi-steps/dropi-steps.css +52 -35
- package/dist/collection/components/dropi-steps/dropi-steps.js +11 -1
- package/dist/collection/components/dropi-switch/dropi-switch.css +1 -0
- package/dist/collection/components/dropi-switch/dropi-switch.js +1 -1
- package/dist/collection/components/dropi-table/dropi-table.css +2 -1
- package/dist/collection/components/dropi-tabs/dropi-tabs.css +2 -1
- package/dist/collection/components/dropi-tag/dropi-tag.css +1 -0
- package/dist/collection/components/dropi-tag-type-product/dropi-tag-type-product.css +1 -0
- package/dist/collection/components/dropi-tag-type-product/dropi-tag-type-product.js +1 -1
- package/dist/collection/components/dropi-text-area/dropi-text-area.css +2 -1
- package/dist/collection/components/dropi-time-line/dropi-time-line.css +1 -0
- package/dist/collection/components/dropi-toast/dropi-toast.css +40 -49
- package/dist/collection/components/dropi-toast/dropi-toast.js +7 -10
- package/dist/collection/components/dropi-tooltip/dropi-tooltip.css +1 -0
- package/dist/collection/components/dropi-tooltip/dropi-tooltip.js +1 -1
- package/dist/collection/components/dropi-tooltip-v2/dropi-tooltip.css +1 -0
- package/dist/collection/components/dropi-vertical-steps/dropi-vertical-steps.css +1 -0
- package/dist/collection/components/dropi-youtube-lazy-video/dropi-youtube-lazy-video.css +1 -0
- package/dist/collection/components/dropi-youtube-lazy-video/dropi-youtube-lazy-video.js +1 -1
- package/dist/components/dropi-accordion-item.js +1 -1
- package/dist/components/dropi-accordion.js +1 -1
- package/dist/components/dropi-alert-legacy.js +1 -1
- package/dist/components/dropi-alert-modal.js +1 -1
- package/dist/components/dropi-alert.js +1 -1
- package/dist/components/dropi-avatars.js +1 -1
- package/dist/components/dropi-badge-legacy.js +1 -1
- package/dist/components/dropi-badge.js +1 -1
- package/dist/components/dropi-banner-external.js +1 -1
- package/dist/components/dropi-breadcrumb.js +1 -1
- package/dist/components/dropi-button.js +1 -1
- package/dist/components/dropi-card-checkbox.js +1 -1
- package/dist/components/dropi-card-product.js +1 -1
- package/dist/components/dropi-card-section.js +1 -1
- package/dist/components/dropi-carousel.js +1 -1
- package/dist/components/dropi-checkbox-selection-list.js +1 -1
- package/dist/components/dropi-checkbox.js +1 -1
- package/dist/components/dropi-chips.js +1 -1
- package/dist/components/dropi-city-selector.js +1 -1
- package/dist/components/dropi-color-picker.js +1 -1
- package/dist/components/dropi-country-flags.js +1 -1
- package/dist/components/dropi-country-selector.js +1 -1
- package/dist/components/dropi-date-picker-range.js +1 -1
- package/dist/components/dropi-date-picker.js +1 -1
- package/dist/components/dropi-drawer.js +1 -1
- package/dist/components/dropi-dropdown.js +1 -1
- package/dist/components/dropi-empty-state.js +1 -1
- package/dist/components/dropi-favorite-button.js +1 -1
- package/dist/components/dropi-file-upload-progress-bar.js +1 -1
- package/dist/components/dropi-file-upload.js +1 -1
- package/dist/components/dropi-icon.js +1 -1
- package/dist/components/dropi-ilustration-icon.js +1 -1
- package/dist/components/dropi-image-miniature.js +1 -1
- package/dist/components/dropi-image-overlay.js +1 -1
- package/dist/components/dropi-input.js +1 -1
- package/dist/components/dropi-languages-selector.js +1 -1
- package/dist/components/dropi-logo.js +1 -1
- package/dist/components/dropi-lottie-loader.js +1 -1
- package/dist/components/dropi-media-player.js +1 -1
- package/dist/components/dropi-modal.js +1 -1
- package/dist/components/dropi-navbar.js +1 -1
- package/dist/components/dropi-otp-send-code.js +1 -1
- package/dist/components/dropi-paginator.js +1 -1
- package/dist/components/dropi-phone-input.js +1 -1
- package/dist/components/dropi-progress-bar.js +1 -1
- package/dist/components/dropi-radio-button.js +1 -1
- package/dist/components/dropi-radio-selection-list.js +1 -1
- package/dist/components/dropi-read-more.js +1 -1
- package/dist/components/dropi-search.js +1 -1
- package/dist/components/dropi-select.js +1 -1
- package/dist/components/dropi-sidebar.js +1 -1
- package/dist/components/dropi-simple-stepper.js +1 -1
- package/dist/components/dropi-skeleton.js +1 -1
- package/dist/components/dropi-steps.js +1 -1
- package/dist/components/dropi-switch.js +1 -1
- package/dist/components/dropi-table.js +1 -1
- package/dist/components/dropi-tabs.js +1 -1
- package/dist/components/dropi-tag-type-product.js +1 -1
- package/dist/components/dropi-tag.js +1 -1
- package/dist/components/dropi-text-area.js +1 -1
- package/dist/components/dropi-time-line.js +1 -1
- package/dist/components/dropi-toast.js +1 -1
- package/dist/components/dropi-tooltip-v2.js +1 -1
- package/dist/components/dropi-tooltip.js +1 -1
- package/dist/components/dropi-vertical-steps.js +1 -1
- package/dist/components/dropi-youtube-lazy-video.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/p-34gP610W.js +1 -0
- package/dist/components/p-3AT7ASH9.js +1 -0
- package/dist/components/p-B-1G8T4u.js +1 -0
- package/dist/components/p-BEs9gbju.js +1 -0
- package/dist/components/p-BGS_Fnts.js +1 -0
- package/dist/components/p-BKTe33ng.js +1 -0
- package/dist/components/p-BfQEGsBq.js +1 -0
- package/dist/components/p-BhQK2SnE.js +1 -0
- package/dist/components/p-BieZ2Zwa.js +1 -0
- package/dist/components/p-BjWB6xTy.js +1 -0
- package/dist/components/p-BtbO4Qj2.js +1 -0
- package/dist/components/p-ByEQybUd.js +1 -0
- package/dist/components/p-BzFB0tnJ.js +1 -0
- package/dist/components/p-Bzgg_L80.js +1 -0
- package/dist/components/p-CY_Pmg81.js +1 -0
- package/dist/components/p-Ccl4kD95.js +1 -0
- package/dist/components/p-ChU-v5Jl.js +1 -0
- package/dist/components/p-Ckpdx21D.js +1 -0
- package/dist/components/p-CmLj_aqH.js +1 -0
- package/dist/components/p-Cq3-SLWU.js +1 -0
- package/dist/components/p-CqTImUhL.js +1 -0
- package/dist/components/p-CrSepiFP.js +1 -0
- package/dist/components/p-D-KVcD87.js +1 -0
- package/dist/components/p-D76mTEoh.js +1 -0
- package/dist/components/p-DdM0zO53.js +1 -0
- package/dist/components/p-DgOazwmC.js +1 -0
- package/dist/components/p-EW_Hn93v.js +1 -0
- package/dist/components/p-StcKvTC_.js +1 -0
- package/dist/components/p-WAEYEj9V.js +1 -0
- package/dist/components/p-_ScZTnhj.js +1 -0
- package/dist/components/p-egLr0oVg.js +1 -0
- package/dist/components/p-eusoHxve.js +1 -0
- package/dist/components/p-fPJmM1qh.js +1 -0
- package/dist/components/p-u5UtrV7_.js +1 -0
- package/dist/docs.json +41 -12
- package/dist/dropi-ui/dropi-accordion-item.entry.js +3 -3
- package/dist/dropi-ui/dropi-accordion-item.entry.js.map +1 -1
- package/dist/dropi-ui/dropi-accordion.entry.js +3 -3
- package/dist/dropi-ui/dropi-accordion.entry.js.map +1 -1
- package/dist/dropi-ui/dropi-alert-legacy.entry.js +2 -2
- package/dist/dropi-ui/dropi-alert-legacy.entry.js.map +1 -1
- package/dist/dropi-ui/dropi-alert-modal.entry.js +6 -10
- package/dist/dropi-ui/dropi-alert-modal.entry.js.map +1 -1
- package/dist/dropi-ui/dropi-alert.entry.js +2 -2
- package/dist/dropi-ui/dropi-alert.entry.js.map +1 -1
- package/dist/dropi-ui/dropi-avatars.entry.js +3 -3
- package/dist/dropi-ui/dropi-avatars.entry.js.map +1 -1
- package/dist/dropi-ui/dropi-badge-legacy.entry.js +3 -3
- package/dist/dropi-ui/dropi-badge-legacy.entry.js.map +1 -1
- package/dist/dropi-ui/dropi-badge.entry.js +3 -3
- package/dist/dropi-ui/dropi-badge.entry.js.map +1 -1
- package/dist/dropi-ui/dropi-banner-external.entry.js +2 -2
- package/dist/dropi-ui/dropi-banner-external.entry.js.map +1 -1
- package/dist/dropi-ui/dropi-breadcrumb.entry.js +3 -3
- package/dist/dropi-ui/dropi-breadcrumb.entry.js.map +1 -1
- package/dist/dropi-ui/dropi-button.entry.js +4 -4
- package/dist/dropi-ui/dropi-button.entry.js.map +1 -1
- package/dist/dropi-ui/dropi-card-checkbox.entry.js +4 -4
- package/dist/dropi-ui/dropi-card-checkbox.entry.js.map +1 -1
- package/dist/dropi-ui/dropi-card-product.entry.js +6 -6
- package/dist/dropi-ui/dropi-card-product.entry.js.map +1 -1
- package/dist/dropi-ui/dropi-card-section.entry.js +4 -4
- package/dist/dropi-ui/dropi-card-section.entry.js.map +1 -1
- package/dist/dropi-ui/dropi-carousel.entry.js +2 -2
- package/dist/dropi-ui/dropi-carousel.entry.js.map +1 -1
- package/dist/dropi-ui/dropi-checkbox-selection-list.entry.js +5 -5
- package/dist/dropi-ui/dropi-checkbox-selection-list.entry.js.map +1 -1
- package/dist/dropi-ui/dropi-checkbox.entry.js +5 -5
- package/dist/dropi-ui/dropi-checkbox.entry.js.map +1 -1
- package/dist/dropi-ui/dropi-chips.entry.js +3 -3
- package/dist/dropi-ui/dropi-chips.entry.js.map +1 -1
- package/dist/dropi-ui/dropi-city-selector.entry.js +3 -3
- package/dist/dropi-ui/dropi-city-selector.entry.js.map +1 -1
- package/dist/dropi-ui/dropi-color-picker.entry.js +4 -4
- package/dist/dropi-ui/dropi-color-picker.entry.js.map +1 -1
- package/dist/dropi-ui/dropi-country-flags.entry.js +3 -3
- package/dist/dropi-ui/dropi-country-flags.entry.js.map +1 -1
- package/dist/dropi-ui/dropi-country-selector.entry.js +5 -5
- package/dist/dropi-ui/dropi-country-selector.entry.js.map +1 -1
- package/dist/dropi-ui/dropi-date-picker-range.entry.js +211 -32
- package/dist/dropi-ui/dropi-date-picker-range.entry.js.map +1 -1
- package/dist/dropi-ui/dropi-date-picker.entry.js +142 -57
- package/dist/dropi-ui/dropi-date-picker.entry.js.map +1 -1
- package/dist/dropi-ui/dropi-drawer.entry.js +4 -4
- package/dist/dropi-ui/dropi-drawer.entry.js.map +1 -1
- package/dist/dropi-ui/dropi-dropdown.entry.js +4 -4
- package/dist/dropi-ui/dropi-dropdown.entry.js.map +1 -1
- package/dist/dropi-ui/dropi-empty-state.entry.js +89 -12
- package/dist/dropi-ui/dropi-empty-state.entry.js.map +1 -1
- package/dist/dropi-ui/dropi-favorite-button.entry.js +3 -3
- package/dist/dropi-ui/dropi-favorite-button.entry.js.map +1 -1
- package/dist/dropi-ui/dropi-file-upload-progress-bar.entry.js +3 -3
- package/dist/dropi-ui/dropi-file-upload-progress-bar.entry.js.map +1 -1
- package/dist/dropi-ui/dropi-file-upload.entry.js +3 -3
- package/dist/dropi-ui/dropi-file-upload.entry.js.map +1 -1
- package/dist/dropi-ui/dropi-icon.entry.js +296 -25
- package/dist/dropi-ui/dropi-icon.entry.js.map +1 -1
- package/dist/dropi-ui/dropi-ilustration-icon.entry.js +8 -6
- package/dist/dropi-ui/dropi-ilustration-icon.entry.js.map +1 -1
- package/dist/dropi-ui/dropi-image-miniature.entry.js +3 -3
- package/dist/dropi-ui/dropi-image-miniature.entry.js.map +1 -1
- package/dist/dropi-ui/dropi-image-overlay.entry.js +2 -2
- package/dist/dropi-ui/dropi-image-overlay.entry.js.map +1 -1
- package/dist/dropi-ui/dropi-input.entry.js +9 -7
- package/dist/dropi-ui/dropi-input.entry.js.map +1 -1
- package/dist/dropi-ui/dropi-languages-selector.entry.js +2 -2
- package/dist/dropi-ui/dropi-languages-selector.entry.js.map +1 -1
- package/dist/dropi-ui/dropi-logo.entry.js +3 -3
- package/dist/dropi-ui/dropi-logo.entry.js.map +1 -1
- package/dist/dropi-ui/dropi-lottie-loader.entry.js +3 -3
- package/dist/dropi-ui/dropi-lottie-loader.entry.js.map +1 -1
- package/dist/dropi-ui/dropi-media-player.entry.js +2 -2
- package/dist/dropi-ui/dropi-media-player.entry.js.map +1 -1
- package/dist/dropi-ui/dropi-modal.entry.js +3 -3
- package/dist/dropi-ui/dropi-modal.entry.js.map +1 -1
- package/dist/dropi-ui/dropi-navbar.entry.js +4 -4
- package/dist/dropi-ui/dropi-navbar.entry.js.map +1 -1
- package/dist/dropi-ui/dropi-otp-send-code.entry.js +15 -5
- package/dist/dropi-ui/dropi-otp-send-code.entry.js.map +1 -1
- package/dist/dropi-ui/dropi-paginator.entry.js +4 -4
- package/dist/dropi-ui/dropi-paginator.entry.js.map +1 -1
- package/dist/dropi-ui/dropi-phone-input.entry.js +5 -5
- package/dist/dropi-ui/dropi-phone-input.entry.js.map +1 -1
- package/dist/dropi-ui/dropi-progress-bar.entry.js +3 -3
- package/dist/dropi-ui/dropi-progress-bar.entry.js.map +1 -1
- package/dist/dropi-ui/dropi-radio-button.entry.js +5 -5
- package/dist/dropi-ui/dropi-radio-button.entry.js.map +1 -1
- package/dist/dropi-ui/dropi-radio-selection-list.entry.js +4 -4
- package/dist/dropi-ui/dropi-radio-selection-list.entry.js.map +1 -1
- package/dist/dropi-ui/dropi-read-more.entry.js +3 -3
- package/dist/dropi-ui/dropi-read-more.entry.js.map +1 -1
- package/dist/dropi-ui/dropi-search.entry.js +4 -4
- package/dist/dropi-ui/dropi-search.entry.js.map +1 -1
- package/dist/dropi-ui/dropi-select.entry.js +4 -4
- package/dist/dropi-ui/dropi-select.entry.js.map +1 -1
- package/dist/dropi-ui/dropi-sidebar.entry.js +3 -3
- package/dist/dropi-ui/dropi-sidebar.entry.js.map +1 -1
- package/dist/dropi-ui/dropi-simple-stepper.entry.js +3 -3
- package/dist/dropi-ui/dropi-simple-stepper.entry.js.map +1 -1
- package/dist/dropi-ui/dropi-skeleton.entry.js +2 -2
- package/dist/dropi-ui/dropi-skeleton.entry.js.map +1 -1
- package/dist/dropi-ui/dropi-steps.entry.js +14 -4
- package/dist/dropi-ui/dropi-steps.entry.js.map +1 -1
- package/dist/dropi-ui/dropi-switch.entry.js +4 -4
- package/dist/dropi-ui/dropi-switch.entry.js.map +1 -1
- package/dist/dropi-ui/dropi-table.entry.js +5 -5
- package/dist/dropi-ui/dropi-table.entry.js.map +1 -1
- package/dist/dropi-ui/dropi-tabs.entry.js +3 -3
- package/dist/dropi-ui/dropi-tabs.entry.js.map +1 -1
- package/dist/dropi-ui/dropi-tag-type-product.entry.js +3 -3
- package/dist/dropi-ui/dropi-tag-type-product.entry.js.map +1 -1
- package/dist/dropi-ui/dropi-tag.entry.js +4 -4
- package/dist/dropi-ui/dropi-tag.entry.js.map +1 -1
- package/dist/dropi-ui/dropi-text-area.entry.js +9 -9
- package/dist/dropi-ui/dropi-text-area.entry.js.map +1 -1
- package/dist/dropi-ui/dropi-time-line.entry.js +3 -3
- package/dist/dropi-ui/dropi-time-line.entry.js.map +1 -1
- package/dist/dropi-ui/dropi-toast.entry.js +9 -11
- package/dist/dropi-ui/dropi-toast.entry.js.map +1 -1
- package/dist/dropi-ui/dropi-tooltip-v2.entry.js +4 -4
- package/dist/dropi-ui/dropi-tooltip-v2.entry.js.map +1 -1
- package/dist/dropi-ui/dropi-tooltip.entry.js +3 -3
- package/dist/dropi-ui/dropi-tooltip.entry.js.map +1 -1
- package/dist/dropi-ui/dropi-ui.css +1 -1
- package/dist/dropi-ui/dropi-ui.esm.js +50 -1
- package/dist/dropi-ui/dropi-ui.esm.js.map +1 -1
- package/dist/dropi-ui/dropi-vertical-steps.entry.js +3 -3
- package/dist/dropi-ui/dropi-vertical-steps.entry.js.map +1 -1
- package/dist/dropi-ui/dropi-youtube-lazy-video.entry.js +3 -3
- package/dist/dropi-ui/dropi-youtube-lazy-video.entry.js.map +1 -1
- package/dist/dropi-ui/index-BKkSRXlb.js +4625 -0
- package/dist/dropi-ui/index-BKkSRXlb.js.map +1 -0
- package/dist/dropi-ui/index-CPacpXAJ.js +4625 -0
- package/dist/dropi-ui/index-CPacpXAJ.js.map +1 -0
- package/dist/dropi-ui/index-DrzVsORR.js +4625 -0
- package/dist/dropi-ui/index-DrzVsORR.js.map +1 -0
- package/dist/dropi-ui/lottie-map.generated-BEs9gbju.js +15 -0
- package/dist/dropi-ui/lottie-map.generated-BEs9gbju.js.map +1 -0
- package/dist/dropi-ui/p-01027049.entry.js +1 -0
- package/dist/dropi-ui/p-0190a96b.entry.js +1 -0
- package/dist/dropi-ui/p-02172dc2.entry.js +1 -0
- package/dist/dropi-ui/p-021f55e5.entry.js +1 -0
- package/dist/dropi-ui/p-02e0f8cc.entry.js +1 -0
- package/dist/dropi-ui/p-0393dfc9.entry.js +1 -0
- package/dist/dropi-ui/p-0551c30a.entry.js +1 -0
- package/dist/dropi-ui/p-05541247.entry.js +1 -0
- package/dist/dropi-ui/p-07cc280c.entry.js +1 -0
- package/dist/dropi-ui/p-090817e4.entry.js +1 -0
- package/dist/dropi-ui/p-094ab555.entry.js +1 -0
- package/dist/dropi-ui/p-0d3cabe9.entry.js +1 -0
- package/dist/dropi-ui/p-0d8ff50d.entry.js +1 -0
- package/dist/dropi-ui/p-0ee1edcd.entry.js +1 -0
- package/dist/dropi-ui/p-0f20c87c.entry.js +1 -0
- package/dist/dropi-ui/p-0fefc0c8.entry.js +1 -0
- package/dist/dropi-ui/p-113516f7.entry.js +1 -0
- package/dist/dropi-ui/p-11833072.entry.js +1 -0
- package/dist/dropi-ui/p-119a353b.entry.js +1 -0
- package/dist/dropi-ui/p-13ae29ad.entry.js +1 -0
- package/dist/dropi-ui/p-13e1c3a4.entry.js +1 -0
- package/dist/dropi-ui/p-14124aee.entry.js +1 -0
- package/dist/dropi-ui/p-149c92ba.entry.js +1 -0
- package/dist/dropi-ui/p-1633c2df.entry.js +1 -0
- package/dist/dropi-ui/p-16d0400d.entry.js +1 -0
- package/dist/dropi-ui/p-17133bc1.entry.js +1 -0
- package/dist/dropi-ui/p-181b2d76.entry.js +1 -0
- package/dist/dropi-ui/p-184442f6.entry.js +1 -0
- package/dist/dropi-ui/p-1901806b.entry.js +1 -0
- package/dist/dropi-ui/p-1976985d.entry.js +1 -0
- package/dist/dropi-ui/p-1a222047.entry.js +1 -0
- package/dist/dropi-ui/p-1a874d9f.entry.js +1 -0
- package/dist/dropi-ui/p-1cc30188.entry.js +1 -0
- package/dist/dropi-ui/p-2076bc28.entry.js +1 -0
- package/dist/dropi-ui/p-24e17d9c.entry.js +1 -0
- package/dist/dropi-ui/p-267fda26.entry.js +1 -0
- package/dist/dropi-ui/p-26c997a4.entry.js +1 -0
- package/dist/dropi-ui/p-27d5b554.entry.js +1 -0
- package/dist/dropi-ui/p-280c5731.entry.js +1 -0
- package/dist/dropi-ui/p-287a3a81.entry.js +1 -0
- package/dist/dropi-ui/p-29a3389a.entry.js +1 -0
- package/dist/dropi-ui/p-29e4dacf.entry.js +1 -0
- package/dist/dropi-ui/p-2ad5dbd2.entry.js +1 -0
- package/dist/dropi-ui/p-2af47f62.entry.js +1 -0
- package/dist/dropi-ui/p-2d1a6f05.entry.js +1 -0
- package/dist/dropi-ui/p-2ed8b556.entry.js +1 -0
- package/dist/dropi-ui/p-2f6b96de.entry.js +1 -0
- package/dist/dropi-ui/p-32512758.entry.js +1 -0
- package/dist/dropi-ui/p-3277ea55.entry.js +1 -0
- package/dist/dropi-ui/p-32c71a16.entry.js +1 -0
- package/dist/dropi-ui/p-32f144b2.entry.js +1 -0
- package/dist/dropi-ui/p-34f2e28d.entry.js +1 -0
- package/dist/dropi-ui/p-356ab2c5.entry.js +1 -0
- package/dist/dropi-ui/p-3769ad78.entry.js +1 -0
- package/dist/dropi-ui/p-3843cba5.entry.js +1 -0
- package/dist/dropi-ui/p-3a9cd930.entry.js +1 -0
- package/dist/dropi-ui/p-3b1bb32e.entry.js +1 -0
- package/dist/dropi-ui/p-3b47c86f.entry.js +1 -0
- package/dist/dropi-ui/p-3b7060e1.entry.js +1 -0
- package/dist/dropi-ui/p-3f75523b.entry.js +1 -0
- package/dist/dropi-ui/p-40376329.entry.js +1 -0
- package/dist/dropi-ui/p-4158d4b7.entry.js +1 -0
- package/dist/dropi-ui/p-42854929.entry.js +1 -0
- package/dist/dropi-ui/p-436f196f.entry.js +1 -0
- package/dist/dropi-ui/p-4390c849.entry.js +1 -0
- package/dist/dropi-ui/p-440e6f67.entry.js +1 -0
- package/dist/dropi-ui/p-4432c17d.entry.js +1 -0
- package/dist/dropi-ui/p-46a1d393.entry.js +1 -0
- package/dist/dropi-ui/p-492b8a1f.entry.js +1 -0
- package/dist/dropi-ui/p-492f9d36.entry.js +1 -0
- package/dist/dropi-ui/p-496893e8.entry.js +1 -0
- package/dist/dropi-ui/p-49fb5900.entry.js +1 -0
- package/dist/dropi-ui/p-4a39e574.entry.js +1 -0
- package/dist/dropi-ui/p-4f0f060c.entry.js +1 -0
- package/dist/dropi-ui/p-4f4b4a39.entry.js +1 -0
- package/dist/dropi-ui/p-51a44cdc.entry.js +1 -0
- package/dist/dropi-ui/p-52e6a495.entry.js +1 -0
- package/dist/dropi-ui/p-5415ed33.entry.js +1 -0
- package/dist/dropi-ui/p-542d0b9c.entry.js +1 -0
- package/dist/dropi-ui/p-54d243db.entry.js +1 -0
- package/dist/dropi-ui/p-58093c18.entry.js +1 -0
- package/dist/dropi-ui/p-59caf3ac.entry.js +1 -0
- package/dist/dropi-ui/p-5bd0bb86.entry.js +1 -0
- package/dist/dropi-ui/p-5db953ba.entry.js +1 -0
- package/dist/dropi-ui/p-5e0b54e3.entry.js +1 -0
- package/dist/dropi-ui/p-6018f6a1.entry.js +1 -0
- package/dist/dropi-ui/p-63356807.entry.js +1 -0
- package/dist/dropi-ui/p-64dd3db0.entry.js +1 -0
- package/dist/dropi-ui/p-65e31926.entry.js +1 -0
- package/dist/dropi-ui/p-66595a21.entry.js +1 -0
- package/dist/dropi-ui/p-66cf3dbe.entry.js +1 -0
- package/dist/dropi-ui/p-6a6171ba.entry.js +1 -0
- package/dist/dropi-ui/p-6aaf5a93.entry.js +1 -0
- package/dist/dropi-ui/p-6d9b61a9.entry.js +1 -0
- package/dist/dropi-ui/p-6def424b.entry.js +1 -0
- package/dist/dropi-ui/p-6ea74d84.entry.js +1 -0
- package/dist/dropi-ui/p-6efa35f2.entry.js +1 -0
- package/dist/dropi-ui/p-70295204.entry.js +1 -0
- package/dist/dropi-ui/p-71ad00c8.entry.js +1 -0
- package/dist/dropi-ui/p-76651c16.entry.js +1 -0
- package/dist/dropi-ui/p-769929eb.entry.js +1 -0
- package/dist/dropi-ui/p-788b7388.entry.js +1 -0
- package/dist/dropi-ui/p-7a78e38d.entry.js +1 -0
- package/dist/dropi-ui/p-7a9628df.entry.js +1 -0
- package/dist/dropi-ui/p-7ac0c653.entry.js +1 -0
- package/dist/dropi-ui/p-7be214a0.entry.js +1 -0
- package/dist/dropi-ui/p-7cb27020.entry.js +1 -0
- package/dist/dropi-ui/p-7ce74f7f.entry.js +1 -0
- package/dist/dropi-ui/p-7d61faf2.entry.js +1 -0
- package/dist/dropi-ui/p-7e0783d3.entry.js +1 -0
- package/dist/dropi-ui/p-7f538bbf.entry.js +1 -0
- package/dist/dropi-ui/p-7f6f757b.entry.js +1 -0
- package/dist/dropi-ui/p-7f85578a.entry.js +1 -0
- package/dist/dropi-ui/p-7fd2db00.entry.js +1 -0
- package/dist/dropi-ui/p-8089116b.entry.js +1 -0
- package/dist/dropi-ui/p-80ebe1e0.entry.js +1 -0
- package/dist/dropi-ui/p-81e8b29e.entry.js +1 -0
- package/dist/dropi-ui/p-83fa5e18.entry.js +1 -0
- package/dist/dropi-ui/p-8465f52d.entry.js +1 -0
- package/dist/dropi-ui/p-870846af.entry.js +1 -0
- package/dist/dropi-ui/p-87167578.entry.js +1 -0
- package/dist/dropi-ui/p-8782862b.entry.js +1 -0
- package/dist/dropi-ui/p-879f79cf.entry.js +1 -0
- package/dist/dropi-ui/p-8ac5a31d.entry.js +1 -0
- package/dist/dropi-ui/p-8adb80a4.entry.js +1 -0
- package/dist/dropi-ui/p-8eb0ebff.entry.js +1 -0
- package/dist/dropi-ui/p-8feee3fd.entry.js +1 -0
- package/dist/dropi-ui/p-910af7cf.entry.js +1 -0
- package/dist/dropi-ui/p-92879d0d.entry.js +1 -0
- package/dist/dropi-ui/p-93cd9afe.entry.js +1 -0
- package/dist/dropi-ui/p-94ec77fc.entry.js +1 -0
- package/dist/dropi-ui/p-964ba5de.entry.js +1 -0
- package/dist/dropi-ui/p-97aa4446.entry.js +1 -0
- package/dist/dropi-ui/p-97b9fed2.entry.js +1 -0
- package/dist/dropi-ui/p-97de6718.entry.js +1 -0
- package/dist/dropi-ui/p-98156424.entry.js +1 -0
- package/dist/dropi-ui/p-992134d3.entry.js +1 -0
- package/dist/dropi-ui/p-998b016a.entry.js +1 -0
- package/dist/dropi-ui/p-99f48203.entry.js +1 -0
- package/dist/dropi-ui/p-9b6fe588.entry.js +1 -0
- package/dist/dropi-ui/p-9b7810f9.entry.js +1 -0
- package/dist/dropi-ui/p-9bfd53be.entry.js +1 -0
- package/dist/dropi-ui/p-9c9c6274.entry.js +1 -0
- package/dist/dropi-ui/p-BEs9gbju.js +1 -0
- package/dist/dropi-ui/p-CWoV_bQo.js +2 -0
- package/dist/dropi-ui/p-a0135272.entry.js +1 -0
- package/dist/dropi-ui/p-a0a87272.entry.js +1 -0
- package/dist/dropi-ui/p-a1471797.entry.js +1 -0
- package/dist/dropi-ui/p-a2b4ba6d.entry.js +1 -0
- package/dist/dropi-ui/p-a469a6d4.entry.js +1 -0
- package/dist/dropi-ui/p-a50e6592.entry.js +1 -0
- package/dist/dropi-ui/p-a5b3548c.entry.js +1 -0
- package/dist/dropi-ui/p-a5e4bd7a.entry.js +1 -0
- package/dist/dropi-ui/p-a6a73485.entry.js +1 -0
- package/dist/dropi-ui/p-a82ecdd5.entry.js +1 -0
- package/dist/dropi-ui/p-a91d8b2c.entry.js +1 -0
- package/dist/dropi-ui/p-a9682999.entry.js +1 -0
- package/dist/dropi-ui/p-aa63edd4.entry.js +1 -0
- package/dist/dropi-ui/p-aaeccf21.entry.js +1 -0
- package/dist/dropi-ui/p-ab9ec519.entry.js +1 -0
- package/dist/dropi-ui/p-ad1e0e62.entry.js +1 -0
- package/dist/dropi-ui/p-ad7ea336.entry.js +1 -0
- package/dist/dropi-ui/p-ae423d39.entry.js +1 -0
- package/dist/dropi-ui/p-aeaa39f6.entry.js +1 -0
- package/dist/dropi-ui/p-b063716d.entry.js +1 -0
- package/dist/dropi-ui/p-b0930601.entry.js +1 -0
- package/dist/dropi-ui/p-b2000dcb.entry.js +1 -0
- package/dist/dropi-ui/p-b2739793.entry.js +1 -0
- package/dist/dropi-ui/p-b4227dd5.entry.js +1 -0
- package/dist/dropi-ui/p-b4bcfc25.entry.js +1 -0
- package/dist/dropi-ui/p-b4e9dba6.entry.js +1 -0
- package/dist/dropi-ui/p-b66d88bf.entry.js +1 -0
- package/dist/dropi-ui/p-b7f9592b.entry.js +1 -0
- package/dist/dropi-ui/p-b801e55f.entry.js +1 -0
- package/dist/dropi-ui/p-b941ee31.entry.js +1 -0
- package/dist/dropi-ui/p-b94b7199.entry.js +1 -0
- package/dist/dropi-ui/p-ba87a663.entry.js +1 -0
- package/dist/dropi-ui/p-baaf86d8.entry.js +1 -0
- package/dist/dropi-ui/p-bb6b09b7.entry.js +1 -0
- package/dist/dropi-ui/p-bc5447d7.entry.js +1 -0
- package/dist/dropi-ui/p-bd2c7bbc.entry.js +1 -0
- package/dist/dropi-ui/p-beb4b2d7.entry.js +1 -0
- package/dist/dropi-ui/p-bf7f2bf6.entry.js +1 -0
- package/dist/dropi-ui/p-bfaac1cc.entry.js +1 -0
- package/dist/dropi-ui/p-c31dbf7d.entry.js +1 -0
- package/dist/dropi-ui/p-c424a77c.entry.js +1 -0
- package/dist/dropi-ui/p-c5c3b146.entry.js +1 -0
- package/dist/dropi-ui/p-c6c40748.entry.js +1 -0
- package/dist/dropi-ui/p-c6fd796c.entry.js +1 -0
- package/dist/dropi-ui/p-c7260931.entry.js +1 -0
- package/dist/dropi-ui/p-c72650a6.entry.js +1 -0
- package/dist/dropi-ui/p-ca5dbffd.entry.js +1 -0
- package/dist/dropi-ui/p-cb48cb42.entry.js +1 -0
- package/dist/dropi-ui/p-cc53f78b.entry.js +1 -0
- package/dist/dropi-ui/p-cd30d613.entry.js +1 -0
- package/dist/dropi-ui/p-d0e3de92.entry.js +1 -0
- package/dist/dropi-ui/p-d104c97d.entry.js +1 -0
- package/dist/dropi-ui/p-d136695a.entry.js +1 -0
- package/dist/dropi-ui/p-d286adf0.entry.js +1 -0
- package/dist/dropi-ui/p-d46058e1.entry.js +1 -0
- package/dist/dropi-ui/p-d65aeab2.entry.js +1 -0
- package/dist/dropi-ui/p-d6ab011e.entry.js +1 -0
- package/dist/dropi-ui/p-d7d7b98b.entry.js +1 -0
- package/dist/dropi-ui/p-d8c02ec8.entry.js +1 -0
- package/dist/dropi-ui/p-d93f31c2.entry.js +1 -0
- package/dist/dropi-ui/p-d9f7e521.entry.js +1 -0
- package/dist/dropi-ui/p-debe6fa2.entry.js +1 -0
- package/dist/dropi-ui/p-df89c528.entry.js +1 -0
- package/dist/dropi-ui/p-e0641dc8.entry.js +1 -0
- package/dist/dropi-ui/p-e07c21c8.entry.js +1 -0
- package/dist/dropi-ui/p-e0d43ef4.entry.js +1 -0
- package/dist/dropi-ui/p-e2413d09.entry.js +1 -0
- package/dist/dropi-ui/p-e3224f3e.entry.js +1 -0
- package/dist/dropi-ui/p-e3339048.entry.js +1 -0
- package/dist/dropi-ui/p-e67161f6.entry.js +1 -0
- package/dist/dropi-ui/p-e6f708e9.entry.js +1 -0
- package/dist/dropi-ui/p-e824d439.entry.js +1 -0
- package/dist/dropi-ui/p-e842be74.entry.js +1 -0
- package/dist/dropi-ui/p-ea15ac20.entry.js +1 -0
- package/dist/dropi-ui/p-eac3194d.entry.js +1 -0
- package/dist/dropi-ui/p-eb98ac81.entry.js +1 -0
- package/dist/dropi-ui/p-eed4f130.entry.js +1 -0
- package/dist/dropi-ui/p-f0362230.entry.js +1 -0
- package/dist/dropi-ui/p-f03f0bf3.entry.js +1 -0
- package/dist/dropi-ui/p-f1457004.entry.js +1 -0
- package/dist/dropi-ui/p-f18f8a8e.entry.js +1 -0
- package/dist/dropi-ui/p-f46d7df1.entry.js +1 -0
- package/dist/dropi-ui/p-f50b982c.entry.js +1 -0
- package/dist/dropi-ui/p-f61e0ed7.entry.js +1 -0
- package/dist/dropi-ui/p-f699688a.entry.js +1 -0
- package/dist/dropi-ui/p-f73d5969.entry.js +1 -0
- package/dist/dropi-ui/p-f87589c0.entry.js +1 -0
- package/dist/dropi-ui/p-fce82770.entry.js +1 -0
- package/dist/dropi-ui/p-fd0448a7.entry.js +1 -0
- package/dist/dropi-ui/p-fff4eb31.entry.js +1 -0
- package/dist/esm/dropi-accordion-item.entry.js +2 -2
- package/dist/esm/dropi-accordion.entry.js +2 -2
- package/dist/esm/dropi-alert-legacy.entry.js +2 -2
- package/dist/esm/dropi-alert-modal.entry.js +3 -13
- package/dist/esm/dropi-alert.entry.js +2 -2
- package/dist/esm/dropi-avatars.entry.js +2 -2
- package/dist/esm/dropi-badge-legacy.entry.js +2 -2
- package/dist/esm/dropi-badge.entry.js +2 -2
- package/dist/esm/dropi-banner-external.entry.js +2 -2
- package/dist/esm/dropi-breadcrumb.entry.js +2 -2
- package/dist/esm/dropi-button.entry.js +2 -2
- package/dist/esm/dropi-card-checkbox.entry.js +2 -2
- package/dist/esm/dropi-card-product.entry.js +2 -2
- package/dist/esm/dropi-card-section.entry.js +2 -2
- package/dist/esm/dropi-carousel.entry.js +2 -2
- package/dist/esm/dropi-checkbox-selection-list.entry.js +2 -2
- package/dist/esm/dropi-checkbox.entry.js +2 -2
- package/dist/esm/dropi-chips.entry.js +2 -2
- package/dist/esm/dropi-city-selector.entry.js +2 -2
- package/dist/esm/dropi-color-picker.entry.js +2 -2
- package/dist/esm/dropi-country-flags.entry.js +2 -2
- package/dist/esm/dropi-country-selector.entry.js +2 -2
- package/dist/esm/dropi-date-picker-range.entry.js +93 -21
- package/dist/esm/dropi-date-picker.entry.js +141 -56
- package/dist/esm/dropi-drawer.entry.js +4 -4
- package/dist/esm/dropi-dropdown.entry.js +2 -2
- package/dist/esm/dropi-empty-state.entry.js +3 -3
- package/dist/esm/dropi-favorite-button.entry.js +3 -3
- package/dist/esm/dropi-file-upload-progress-bar.entry.js +3 -3
- package/dist/esm/dropi-file-upload.entry.js +3 -3
- package/dist/esm/dropi-icon.entry.js +2 -2
- package/dist/esm/dropi-ilustration-icon.entry.js +2 -2
- package/dist/esm/dropi-image-miniature.entry.js +3 -3
- package/dist/esm/dropi-image-overlay.entry.js +2 -2
- package/dist/esm/dropi-input_3.entry.js +6 -6
- package/dist/esm/dropi-languages-selector.entry.js +2 -2
- package/dist/esm/dropi-logo.entry.js +3 -3
- package/dist/esm/dropi-lottie-loader.entry.js +2 -2
- package/dist/esm/dropi-media-player.entry.js +2 -2
- package/dist/esm/dropi-modal.entry.js +2 -2
- package/dist/esm/dropi-navbar.entry.js +4 -4
- package/dist/esm/dropi-otp-send-code.entry.js +4 -4
- package/dist/esm/dropi-phone-input.entry.js +4 -4
- package/dist/esm/dropi-progress-bar.entry.js +3 -3
- package/dist/esm/dropi-radio-button.entry.js +3 -3
- package/dist/esm/dropi-radio-selection-list.entry.js +2 -2
- package/dist/esm/dropi-read-more.entry.js +3 -3
- package/dist/esm/dropi-search.entry.js +2 -2
- package/dist/esm/dropi-select.entry.js +3 -3
- package/dist/esm/dropi-sidebar.entry.js +2 -2
- package/dist/esm/dropi-simple-stepper.entry.js +2 -2
- package/dist/esm/dropi-skeleton.entry.js +2 -2
- package/dist/esm/dropi-steps.entry.js +13 -3
- package/dist/esm/dropi-switch.entry.js +3 -3
- package/dist/esm/dropi-table.entry.js +2 -2
- package/dist/esm/dropi-tabs.entry.js +2 -2
- package/dist/esm/dropi-tag-type-product.entry.js +3 -3
- package/dist/esm/dropi-text-area.entry.js +2 -2
- package/dist/esm/dropi-time-line.entry.js +2 -2
- package/dist/esm/dropi-toast.entry.js +9 -11
- package/dist/esm/dropi-tooltip-v2.entry.js +2 -2
- package/dist/esm/dropi-tooltip.entry.js +3 -3
- package/dist/esm/dropi-ui.js +3 -3
- package/dist/esm/dropi-vertical-steps.entry.js +2 -2
- package/dist/esm/dropi-youtube-lazy-video.entry.js +3 -3
- package/dist/esm/index-CWoV_bQo.js +2798 -0
- package/dist/esm/loader.js +3 -3
- package/dist/esm/lottie-map.generated-BEs9gbju.js +12 -0
- package/dist/types/components/dropi-date-picker/dropi-date-picker.d.ts +22 -9
- package/dist/types/components/dropi-date-picker-range/dropi-date-picker-range.d.ts +11 -5
- package/dist/types/components/dropi-ilustration-icon/dropi-ilustration-icon.d.ts +1 -1
- package/dist/types/components/dropi-otp-send-code/dropi-otp-send-code.d.ts +4 -0
- package/dist/types/components/dropi-toast/dropi-toast.d.ts +1 -2
- package/dist/types/components.d.ts +29 -26
- package/hydrate/index.js +408 -232
- package/hydrate/index.mjs +408 -232
- package/package.json +2 -2
- package/scripts/setup.js +2 -17
- package/scripts/strip-use-client.mjs +20 -0
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-eMp8lMK1.js');
|
|
4
4
|
|
|
5
|
-
const dropiDatePickerCss = () => `:host{display:block;width:100%;position:relative}*,*::before,*::after{box-sizing:border-box}.dp-label{display:block;font-size:var(--font-size-
|
|
5
|
+
const dropiDatePickerCss = () => `:host{display:block;width:100%;position:relative}button,input,select,textarea{font-family:var(--font-family-01, 'Inter', sans-serif)}*,*::before,*::after{box-sizing:border-box}.dp-label{display:block;font-size:var(--font-size-xs, 10px);font-weight:var(--font-weight-regular, 400);color:var(--Gray-Gray-600, #475066);margin-bottom:8px}.dp-trigger{width:100%;height:40px;display:flex;align-items:center;gap:var(--Size-2, 8px);padding:0 var(--Size-3, 12px);border:1px solid var(--Gray-Gray-200, #c3c9d9);border-radius:var(--Border-2, 8px);background:var(--Neutral-White, #ffffff);cursor:pointer;font-family:var(--font-family-01, 'Inter', sans-serif);transition:border-color 0.2s}.dp-trigger:hover:not(:disabled){border-color:var(--Info-Info-500, #50a5f1)}.dp-trigger--disabled{background:var(--Gray-Gray-50, #f7f8fa);cursor:not-allowed;opacity:0.6}.dp-trigger__value{flex:1;text-align:left;font-size:var(--font-size-xs, 12px);color:var(--Gray-Gray-700, #32394d);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.dp-trigger__placeholder{color:var(--Gray-Gray-400, #858ea6)}.dp-popup{position:absolute;top:calc(100% + 8px);left:0;display:flex;flex-direction:row;background:var(--Neutral-White, #ffffff);border:1px solid var(--Gray-Gray-200, #c3c9d9);border-radius:var(--Border-3, 12px);box-shadow:0 4px 16px rgba(0,0,0,0.08);z-index:300;overflow:hidden}.dp-calendar{padding:var(--Size-4, 16px);width:300px;flex-shrink:0}.dp-divider{width:1px;background:var(--Gray-Gray-100, #e6eaf2);flex-shrink:0}.dp-shortcuts{padding:var(--Size-4, 16px) var(--Size-3, 12px);display:flex;flex-direction:column;gap:2px;min-width:140px}.shortcut-btn{background:transparent;border:1px solid transparent;padding:6px 10px;font-size:13px;font-family:var(--font-family-01, 'Inter', sans-serif);color:var(--Gray-Gray-700, #32394d);cursor:pointer;text-align:left;border-radius:6px;transition:background 0.1s ease;font-weight:var(--font-weight-regular);white-space:nowrap}.shortcut-btn:hover{background:var(--Gray-Gray-50, #f5f6f8)}.shortcut-btn--active{border-color:var(--Gray-Gray-200, #c3c9d9);font-weight:var(--font-weight-semibold);background:var(--Gray-Gray-50, #f5f6f8)}.dp-nav{display:flex;align-items:center;justify-content:space-between;margin-bottom:var(--Size-4, 16px);padding-bottom:var(--Size-3, 12px);border-bottom:1px solid var(--Gray-Gray-100, #e6eaf2)}.dp-nav__btn{background:none;border:none;padding:0;cursor:pointer;border-radius:50%;display:flex;align-items:center;justify-content:center;width:32px;height:32px;transition:background 0.15s}.dp-nav__btn:hover{background:var(--Gray-Gray-50, #f7f8fa)}.dp-nav__title{background:none;border:none;font-size:var(--font-size-s, 14px);font-weight:var(--font-weight-bold, 700);color:var(--Gray-Gray-700, #32394d);display:flex;gap:8px;cursor:pointer;padding:4px 8px;border-radius:var(--Border-1, 4px);transition:background 0.15s;font-family:var(--font-family-01, 'Inter', sans-serif)}.dp-nav__title:hover{background:var(--Gray-Gray-50, #f7f8fa)}.dp-grid{display:grid;grid-template-columns:repeat(7, 1fr);row-gap:8px;column-gap:4px}.dp-day-header{font-size:var(--font-size-s, 14px);color:var(--Gray-Gray-700, #32394d);text-align:center;padding:8px 0;font-weight:var(--font-weight-bold, 700)}.dp-cell{aspect-ratio:1;display:flex;align-items:center;justify-content:center;font-size:var(--font-size-xs, 12px);font-family:var(--font-family-01, 'Inter', sans-serif);border:none;cursor:pointer;background:transparent;color:var(--Gray-Gray-600, #475066);width:100%;position:relative;z-index:1;padding:0}.dp-cell::after{content:"";position:absolute;top:0;left:0;right:0;bottom:0;border-radius:50%;transition:all 0.2s;z-index:-1;background:transparent}.dp-cell::before{content:"";position:absolute;top:0;bottom:0;z-index:-2;border-radius:0;background:transparent}.dp-cell:hover:not(:disabled)::after{background:var(--Gray-Gray-100, #e6eaf2)}.dp-cell--other-month{color:var(--Gray-Gray-300, #a0a9c0)}.dp-cell--today{font-weight:var(--font-weight-bold, 700)}.dp-cell--today::after{background:var(--Gray-Gray-100, #e6eaf2)}.dp-cell--selected{color:var(--Neutral-White, #ffffff);font-weight:var(--font-weight-bold, 700)}.dp-cell--selected::after{background:var(--Orange-orange-500, #f49a3d) !important}.dp-cell--range-start,.dp-cell--range-end{color:var(--Neutral-White, #ffffff);font-weight:var(--font-weight-bold, 700)}.dp-cell--range-start::after,.dp-cell--range-end::after{background:var(--Orange-orange-500, #f49a3d) !important}.dp-cell--in-range{color:var(--Orange-orange-500, #f49a3d);font-weight:var(--font-weight-bold, 700)}.dp-cell--in-range::before{left:-2px;right:-2px;background:var(--Orange-orange-50, #fef5ec)}.dp-cell--range-start::before{left:50%;right:-2px;background:var(--Orange-orange-50, #fef5ec)}.dp-cell--range-end::before{left:-2px;right:50%;background:var(--Orange-orange-50, #fef5ec)}.dp-cell--range-start.dp-cell--range-end::before{background:transparent}.dp-cell--disabled{opacity:0.35;cursor:not-allowed}.dp-month-grid{display:grid;grid-template-columns:repeat(3, 1fr);gap:8px}.dp-month-cell{padding:10px 4px;font-size:var(--font-size-s, 14px);font-family:var(--font-family-01, 'Inter', sans-serif);font-weight:var(--font-weight-regular, 400);color:var(--Gray-Gray-700, #32394d);background:transparent;border:1px solid transparent;border-radius:var(--Border-2, 8px);cursor:pointer;text-align:center;transition:background 0.15s, border-color 0.15s}.dp-month-cell:hover{background:var(--Gray-Gray-50, #f7f8fa)}.dp-month-cell--selected{border-color:var(--Info-Info-500, #50a5f1);font-weight:var(--font-weight-semibold, 600)}.dp-month-cell--current{background:var(--Gray-Gray-100, #e6eaf2)}.dp-year-grid{display:grid;grid-template-columns:repeat(2, 1fr);gap:8px}.dp-year-cell{padding:10px 4px;font-size:var(--font-size-s, 14px);font-family:var(--font-family-01, 'Inter', sans-serif);font-weight:var(--font-weight-regular, 400);color:var(--Gray-Gray-700, #32394d);background:transparent;border:1px solid transparent;border-radius:var(--Border-2, 8px);cursor:pointer;text-align:center;transition:background 0.15s, border-color 0.15s}.dp-year-cell:hover{background:var(--Gray-Gray-50, #f7f8fa)}.dp-year-cell--selected{border-color:var(--Info-Info-500, #50a5f1);font-weight:var(--font-weight-semibold, 600)}.dp-year-cell--current{background:var(--Gray-Gray-100, #e6eaf2)}`;
|
|
6
6
|
|
|
7
7
|
const MONTHS_ES = [
|
|
8
8
|
'Enero', 'Febrero', 'Marzo', 'Abril', 'Mayo', 'Junio',
|
|
9
9
|
'Julio', 'Agosto', 'Septiembre', 'Octubre', 'Noviembre', 'Diciembre'
|
|
10
10
|
];
|
|
11
|
+
const MONTHS_SHORT = ['Ene', 'Feb', 'Mar', 'Abr', 'May', 'Jun', 'Jul', 'Ago', 'Sep', 'Oct', 'Nov', 'Dic'];
|
|
11
12
|
const DAYS_ES = ['Do', 'Lu', 'Ma', 'Mi', 'Ju', 'Vi', 'Sa'];
|
|
12
13
|
const DropiDatePicker = class {
|
|
13
14
|
constructor(hostRef) {
|
|
@@ -26,16 +27,14 @@ const DropiDatePicker = class {
|
|
|
26
27
|
internals;
|
|
27
28
|
/** Name for native form submission */
|
|
28
29
|
name;
|
|
29
|
-
/** Selected date (ISO string, single mode)
|
|
30
|
+
/** Selected date (ISO string, single mode) */
|
|
30
31
|
selectedDate = '';
|
|
31
32
|
/** Range start date (ISO string, range mode) */
|
|
32
33
|
startDate = '';
|
|
33
34
|
/** Range end date (ISO string, range mode) */
|
|
34
35
|
endDate = '';
|
|
35
|
-
valueChanged() {
|
|
36
|
-
|
|
37
|
-
}
|
|
38
|
-
/** Enable range selection - matches Angular selectionMode */
|
|
36
|
+
valueChanged() { this.updateFormValue(); }
|
|
37
|
+
/** Enable range selection */
|
|
39
38
|
selectionMode = 'single';
|
|
40
39
|
/** Min selectable date (ISO string) */
|
|
41
40
|
minDate = '';
|
|
@@ -47,29 +46,28 @@ const DropiDatePicker = class {
|
|
|
47
46
|
placeholder = 'DD/MM/YYYY';
|
|
48
47
|
/** Disabled */
|
|
49
48
|
disabled = false;
|
|
50
|
-
/** Is invalid state
|
|
49
|
+
/** Is invalid state */
|
|
51
50
|
isInvalid = false;
|
|
52
|
-
/** Loading state
|
|
51
|
+
/** Loading state */
|
|
53
52
|
loading = false;
|
|
53
|
+
/** Hide "Hoy" shortcut */
|
|
54
|
+
hideTodayShortcut = false;
|
|
54
55
|
open = false;
|
|
55
56
|
viewYear = new Date().getFullYear();
|
|
56
57
|
viewMonth = new Date().getMonth();
|
|
57
58
|
hoverDate = '';
|
|
59
|
+
viewMode = 'day';
|
|
60
|
+
activeShortcut = -1;
|
|
58
61
|
get el() { return index.getElement(this); }
|
|
59
62
|
handleDocClick(e) {
|
|
60
63
|
if (this.open && !e.composedPath().includes(this.el)) {
|
|
61
64
|
this.open = false;
|
|
62
65
|
}
|
|
63
66
|
}
|
|
64
|
-
/** Emitted when date selected — matches Angular 'onChangeDate' */
|
|
65
67
|
dropiChangeDate;
|
|
66
|
-
/** Emitted when panel closes — matches Angular 'onClosePanel' */
|
|
67
68
|
dropiClosePanel;
|
|
68
|
-
/** Emitted when range selected */
|
|
69
69
|
dropiRangeChange;
|
|
70
|
-
componentWillLoad() {
|
|
71
|
-
this.updateFormValue();
|
|
72
|
-
}
|
|
70
|
+
componentWillLoad() { this.updateFormValue(); }
|
|
73
71
|
updateFormValue() {
|
|
74
72
|
if (this.selectionMode === 'range') {
|
|
75
73
|
this.internals.setFormValue(this.startDate && this.endDate ? `${this.startDate},${this.endDate}` : '');
|
|
@@ -101,23 +99,96 @@ const DropiDatePicker = class {
|
|
|
101
99
|
this.viewYear = d.getFullYear();
|
|
102
100
|
this.viewMonth = d.getMonth();
|
|
103
101
|
}
|
|
102
|
+
this.viewMode = 'day';
|
|
104
103
|
this.open = true;
|
|
105
104
|
}
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
105
|
+
get decadeStart() {
|
|
106
|
+
return Math.floor(this.viewYear / 10) * 10;
|
|
107
|
+
}
|
|
108
|
+
get navTitle() {
|
|
109
|
+
if (this.viewMode === 'day')
|
|
110
|
+
return `${MONTHS_ES[this.viewMonth]} ${this.viewYear}`;
|
|
111
|
+
if (this.viewMode === 'month')
|
|
112
|
+
return `${this.viewYear}`;
|
|
113
|
+
return `${this.decadeStart}-${this.decadeStart + 9}`;
|
|
114
|
+
}
|
|
115
|
+
cycleView() {
|
|
116
|
+
if (this.viewMode === 'day')
|
|
117
|
+
this.viewMode = 'month';
|
|
118
|
+
else if (this.viewMode === 'month')
|
|
119
|
+
this.viewMode = 'year';
|
|
120
|
+
}
|
|
121
|
+
prevNav() {
|
|
122
|
+
if (this.viewMode === 'day') {
|
|
123
|
+
if (this.viewMonth === 0) {
|
|
124
|
+
this.viewMonth = 11;
|
|
125
|
+
this.viewYear--;
|
|
126
|
+
}
|
|
127
|
+
else
|
|
128
|
+
this.viewMonth--;
|
|
129
|
+
}
|
|
130
|
+
else if (this.viewMode === 'month') {
|
|
109
131
|
this.viewYear--;
|
|
110
132
|
}
|
|
111
|
-
else
|
|
112
|
-
this.
|
|
133
|
+
else {
|
|
134
|
+
this.viewYear = this.decadeStart - 10;
|
|
135
|
+
}
|
|
113
136
|
}
|
|
114
|
-
|
|
115
|
-
if (this.
|
|
116
|
-
this.viewMonth
|
|
137
|
+
nextNav() {
|
|
138
|
+
if (this.viewMode === 'day') {
|
|
139
|
+
if (this.viewMonth === 11) {
|
|
140
|
+
this.viewMonth = 0;
|
|
141
|
+
this.viewYear++;
|
|
142
|
+
}
|
|
143
|
+
else
|
|
144
|
+
this.viewMonth++;
|
|
145
|
+
}
|
|
146
|
+
else if (this.viewMode === 'month') {
|
|
117
147
|
this.viewYear++;
|
|
118
148
|
}
|
|
119
|
-
else
|
|
120
|
-
this.
|
|
149
|
+
else {
|
|
150
|
+
this.viewYear = this.decadeStart + 10;
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
selectMonth(month) {
|
|
154
|
+
this.viewMonth = month;
|
|
155
|
+
this.viewMode = 'day';
|
|
156
|
+
}
|
|
157
|
+
selectYear(year) {
|
|
158
|
+
this.viewYear = year;
|
|
159
|
+
this.viewMode = 'month';
|
|
160
|
+
}
|
|
161
|
+
get today() {
|
|
162
|
+
return new Date().toISOString().slice(0, 10);
|
|
163
|
+
}
|
|
164
|
+
daysAgo(n) {
|
|
165
|
+
const d = new Date();
|
|
166
|
+
d.setDate(d.getDate() - n);
|
|
167
|
+
return d.toISOString().slice(0, 10);
|
|
168
|
+
}
|
|
169
|
+
get shortcuts() {
|
|
170
|
+
const all = [
|
|
171
|
+
{ label: 'Hoy', start: this.today, end: this.today },
|
|
172
|
+
{ label: 'Últimos 7 días', start: this.daysAgo(6), end: this.today },
|
|
173
|
+
{ label: 'Últimos 15 días', start: this.daysAgo(14), end: this.today },
|
|
174
|
+
{ label: 'Últimos 30 días', start: this.daysAgo(29), end: this.today },
|
|
175
|
+
{ label: 'Últimos 90 días', start: this.daysAgo(89), end: this.today },
|
|
176
|
+
];
|
|
177
|
+
return this.hideTodayShortcut ? all.slice(1) : all;
|
|
178
|
+
}
|
|
179
|
+
selectShortcut(idx) {
|
|
180
|
+
const s = this.shortcuts[idx];
|
|
181
|
+
this.activeShortcut = idx;
|
|
182
|
+
if (this.selectionMode === 'range') {
|
|
183
|
+
this.startDate = s.start;
|
|
184
|
+
this.endDate = s.end;
|
|
185
|
+
this.dropiRangeChange.emit({ start: s.start, end: s.end });
|
|
186
|
+
}
|
|
187
|
+
else {
|
|
188
|
+
this.selectedDate = s.end;
|
|
189
|
+
this.dropiChangeDate.emit(s.end);
|
|
190
|
+
}
|
|
191
|
+
this.open = false;
|
|
121
192
|
}
|
|
122
193
|
toISO(year, month, day) {
|
|
123
194
|
return `${year}-${String(month + 1).padStart(2, '0')}-${String(day).padStart(2, '0')}`;
|
|
@@ -148,7 +219,6 @@ const DropiDatePicker = class {
|
|
|
148
219
|
this.dropiChangeDate.emit(iso);
|
|
149
220
|
return;
|
|
150
221
|
}
|
|
151
|
-
// Range mode
|
|
152
222
|
if (!this.startDate || (this.startDate && this.endDate)) {
|
|
153
223
|
this.startDate = iso;
|
|
154
224
|
this.endDate = '';
|
|
@@ -169,23 +239,18 @@ const DropiDatePicker = class {
|
|
|
169
239
|
const year = this.viewYear;
|
|
170
240
|
const month = this.viewMonth;
|
|
171
241
|
const firstDay = new Date(year, month, 1).getDay();
|
|
172
|
-
// Adjust to Sunday-first
|
|
173
|
-
const startOffset = firstDay;
|
|
174
242
|
const daysInMonth = new Date(year, month + 1, 0).getDate();
|
|
175
243
|
const daysInPrevMonth = new Date(year, month, 0).getDate();
|
|
176
244
|
const cells = [];
|
|
177
|
-
|
|
178
|
-
for (let i = startOffset - 1; i >= 0; i--) {
|
|
245
|
+
for (let i = firstDay - 1; i >= 0; i--) {
|
|
179
246
|
const d = daysInPrevMonth - i;
|
|
180
247
|
const m = month === 0 ? 11 : month - 1;
|
|
181
248
|
const y = month === 0 ? year - 1 : year;
|
|
182
249
|
cells.push({ iso: this.toISO(y, m, d), day: d, currentMonth: false });
|
|
183
250
|
}
|
|
184
|
-
// Current month
|
|
185
251
|
for (let d = 1; d <= daysInMonth; d++) {
|
|
186
252
|
cells.push({ iso: this.toISO(year, month, d), day: d, currentMonth: true });
|
|
187
253
|
}
|
|
188
|
-
// Next month filler
|
|
189
254
|
const remaining = 42 - cells.length;
|
|
190
255
|
for (let d = 1; d <= remaining; d++) {
|
|
191
256
|
const m = month === 11 ? 0 : month + 1;
|
|
@@ -194,15 +259,9 @@ const DropiDatePicker = class {
|
|
|
194
259
|
}
|
|
195
260
|
return cells;
|
|
196
261
|
}
|
|
197
|
-
|
|
262
|
+
renderDayView(today) {
|
|
198
263
|
const days = this.buildDays();
|
|
199
|
-
|
|
200
|
-
return (index.h("div", { key: 'd2f6248ff409e53e916e266ab5d23136e9da76d0', class: "dp-wrap" }, this.label && index.h("label", { key: 'ba51f4091f18437e4449c05378def5b099883acd', class: "dp-label" }, this.label), index.h("button", { key: '88eb474ca75c9b62996765bdb4816a8cfc14bb8e', class: {
|
|
201
|
-
'dp-trigger': true,
|
|
202
|
-
'dp-trigger--disabled': this.disabled,
|
|
203
|
-
'dp-trigger--invalid': this.isInvalid,
|
|
204
|
-
'dp-trigger--loading': this.loading
|
|
205
|
-
}, onClick: () => this.open ? this.open = false : this.open_(), disabled: this.disabled || this.loading, type: "button" }, index.h("dropi-icon", { key: '1044cef59317f88cc472d2a466a6937a0c4d58f7', name: "Calendar", iconWidth: "16px", iconHeight: "16px", color: "Gray-Gray-400" }), index.h("span", { key: '6a7c5687cd06b9b2f42c256bc03ff0f412ca5573', class: { 'dp-trigger__value': true, 'dp-trigger__placeholder': !this.displayValue } }, this.displayValue || this.placeholder), index.h("dropi-icon", { key: '4be1fc67ed6f9ffb5a5d936e3e8d8330bb91fb0b', name: "Arrow-Down-2", iconWidth: "12px", iconHeight: "12px", color: "Gray-Gray-400" })), this.open && (index.h("div", { key: '5ad107e256d62a46b57e4bd1bebead70ecc8e46c', class: "dp-popup" }, index.h("div", { key: 'e3d51afbd24df88867777e43c9bd63dd41c3f542', class: "dp-nav" }, index.h("button", { key: '8819f79389c1d50ec639f719228aab88be4d0335', class: "dp-nav__btn", onClick: () => this.prevMonth(), type: "button" }, index.h("dropi-icon", { key: 'a17004ad24ce40590474d91227a826f46edf50ba', name: "Arrow-Left-2", iconWidth: "16px", iconHeight: "16px", color: "Gray-Gray-600" })), index.h("span", { key: 'e91c8a46b963a1e7f0d01c56610c2e4bb6fa3d39', class: "dp-nav__title" }, index.h("span", { key: '214a575cbd83e8c3bafe64ffbd93e914119b09aa' }, MONTHS_ES[this.viewMonth]), index.h("span", { key: '1f71a83e7110bf8a91f7b5e14e0400b09ba28e1a' }, this.viewYear)), index.h("button", { key: '21dbc0fdaabc423bd864bfb33ba314b72ca62d48', class: "dp-nav__btn", onClick: () => this.nextMonth(), type: "button" }, index.h("dropi-icon", { key: 'f248e65855555878afdbda7d1ba9a802d9eae4d5', name: "Arrow-Right-2", iconWidth: "16px", iconHeight: "16px", color: "Gray-Gray-600" }))), index.h("div", { key: '4fb29792028bf2132ea78a105c7694cf3806ff05', class: "dp-grid" }, DAYS_ES.map(d => (index.h("div", { class: "dp-day-header" }, d))), days.map(({ iso, day, currentMonth }) => {
|
|
264
|
+
return (index.h("div", { class: "dp-grid" }, DAYS_ES.map(d => index.h("div", { class: "dp-day-header" }, d)), days.map(({ iso, day, currentMonth }) => {
|
|
206
265
|
const isSelected = this.selectionMode !== 'range'
|
|
207
266
|
? iso === this.selectedDate
|
|
208
267
|
: iso === this.startDate || iso === this.endDate;
|
|
@@ -224,22 +283,48 @@ const DropiDatePicker = class {
|
|
|
224
283
|
if (this.selectionMode === 'range' && this.startDate && !this.endDate)
|
|
225
284
|
this.hoverDate = iso;
|
|
226
285
|
}, onMouseLeave: () => this.hoverDate = '' }, day));
|
|
227
|
-
}))
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
286
|
+
})));
|
|
287
|
+
}
|
|
288
|
+
renderMonthView() {
|
|
289
|
+
const todayMonth = new Date().getMonth();
|
|
290
|
+
const todayYear = new Date().getFullYear();
|
|
291
|
+
return (index.h("div", { class: "dp-month-grid" }, MONTHS_SHORT.map((name, idx) => {
|
|
292
|
+
const isSelected = idx === this.viewMonth;
|
|
293
|
+
const isCurrent = idx === todayMonth && this.viewYear === todayYear;
|
|
294
|
+
return (index.h("button", { class: {
|
|
295
|
+
'dp-month-cell': true,
|
|
296
|
+
'dp-month-cell--selected': isSelected,
|
|
297
|
+
'dp-month-cell--current': isCurrent && !isSelected,
|
|
298
|
+
}, type: "button", onClick: () => this.selectMonth(idx) }, name));
|
|
299
|
+
})));
|
|
300
|
+
}
|
|
301
|
+
renderYearView() {
|
|
302
|
+
const currentYear = new Date().getFullYear();
|
|
303
|
+
const start = this.decadeStart;
|
|
304
|
+
const years = Array.from({ length: 10 }, (_, i) => start + i);
|
|
305
|
+
return (index.h("div", { class: "dp-year-grid" }, years.map(year => {
|
|
306
|
+
const isSelected = year === this.viewYear;
|
|
307
|
+
const isCurrent = year === currentYear;
|
|
308
|
+
return (index.h("button", { class: {
|
|
309
|
+
'dp-year-cell': true,
|
|
310
|
+
'dp-year-cell--selected': isSelected,
|
|
311
|
+
'dp-year-cell--current': isCurrent && !isSelected,
|
|
312
|
+
}, type: "button", onClick: () => this.selectYear(year) }, year));
|
|
313
|
+
})));
|
|
314
|
+
}
|
|
315
|
+
render() {
|
|
316
|
+
const today = new Date().toISOString().slice(0, 10);
|
|
317
|
+
return (index.h("div", { key: '6ae00de99b93a13faba81ac027c292b9624d0336', class: "dp-wrap" }, this.label && index.h("label", { key: '9282bb57332ebaef9861702d80759d641ea21757', class: "dp-label" }, this.label), index.h("button", { key: '1fe5d5fcd8ce1c0b151381d9c249c401d322f78a', class: {
|
|
318
|
+
'dp-trigger': true,
|
|
319
|
+
'dp-trigger--disabled': this.disabled,
|
|
320
|
+
'dp-trigger--invalid': this.isInvalid,
|
|
321
|
+
'dp-trigger--loading': this.loading
|
|
322
|
+
}, onClick: () => this.open ? this.open = false : this.open_(), disabled: this.disabled || this.loading, type: "button" }, index.h("dropi-icon", { key: '560cf80eb7652543b9000e375b213a3dba91060b', name: "Calendar", iconWidth: "16px", iconHeight: "16px", color: "Gray-Gray-400" }), index.h("span", { key: '3bdc45bd4706502af4050475e709c15beebce028', class: { 'dp-trigger__value': true, 'dp-trigger__placeholder': !this.displayValue } }, this.displayValue || this.placeholder)), this.open && (index.h("div", { key: 'e21053dd38d62ab43c01f337fbbeb8b36e70680c', class: "dp-popup" }, index.h("div", { key: 'd6c8fc40ec4bd11bcd5bf3d8b3706c4c62099bbf', class: "dp-calendar" }, index.h("div", { key: 'cf8f21d301592077851a44eb588418302240598f', class: "dp-nav" }, index.h("button", { key: '28702d76d499cec07cd69d7bd23f5eb0369d288f', class: "dp-nav__btn", onClick: () => this.prevNav(), type: "button" }, index.h("dropi-icon", { key: '18b1c6fb2ea5f51b4a4b59592c7d89c5406c6c39', name: "dropdown-left", iconWidth: "16px", iconHeight: "16px", color: "Gray-Gray-600" })), index.h("button", { key: '755274772a90deae38d613da369863aefe95e297', class: "dp-nav__title", onClick: () => this.cycleView(), type: "button" }, this.viewMode === 'day'
|
|
323
|
+
? [index.h("span", null, MONTHS_ES[this.viewMonth]), index.h("span", null, this.viewYear)]
|
|
324
|
+
: index.h("span", null, this.navTitle)), index.h("button", { key: '6442690df1e434f9fb0128327f8f07c3cecbed4c', class: "dp-nav__btn", onClick: () => this.nextNav(), type: "button" }, index.h("dropi-icon", { key: '00525ae2cbe5cc8a881d165141de10ce3d72e439', name: "dropdown-right", iconWidth: "16px", iconHeight: "16px", color: "Gray-Gray-600" }))), this.viewMode === 'day' && this.renderDayView(today), this.viewMode === 'month' && this.renderMonthView(), this.viewMode === 'year' && this.renderYearView()), this.selectionMode === 'range' && [
|
|
325
|
+
index.h("div", { key: '688df97b843c3c3342fc301d6c6c74ec88921d68', class: "dp-divider" }),
|
|
326
|
+
index.h("div", { key: '2c75f7b004812ee1eb18bbc349f03ab55623cd9f', class: "dp-shortcuts" }, this.shortcuts.map((s, i) => (index.h("button", { key: i, class: { 'shortcut-btn': true, 'shortcut-btn--active': this.activeShortcut === i }, onClick: () => this.selectShortcut(i), type: "button" }, s.label))))
|
|
327
|
+
]))));
|
|
243
328
|
}
|
|
244
329
|
static get formAssociated() { return true; }
|
|
245
330
|
static get watchers() { return {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-eMp8lMK1.js');
|
|
4
4
|
|
|
5
|
-
const dropiDrawerCss = () => `:host{display:contents;font-family:'Inter', sans-serif}*,*::before,*::after{box-sizing:border-box}.drawer-host{position:fixed;inset:0;z-index:var(--dropi-z-index-drawer, 9999);pointer-events:none;visibility:hidden}.drawer-host--open{pointer-events:all;visibility:visible}.drawer-backdrop{position:absolute;inset:0;background:rgba(0, 0, 0, 0.5);opacity:0;transition:opacity 0.25s}.drawer-host--open .drawer-backdrop{opacity:1}.drawer-panel{position:absolute;background:var(--Neutral-White, #ffffff);display:flex;flex-direction:column;transition:transform 0.25s ease;overflow:hidden;max-width:100%;min-width:auto}.drawer-panel--right{top:0;right:0;bottom:0;transform:translateX(100%);box-shadow:-4px 0 24px rgba(0, 0, 0, 0.12)}.drawer-host--open .drawer-panel--right{transform:translateX(0)}.drawer-panel--left{top:0;left:0;bottom:0;transform:translateX(-100%);box-shadow:4px 0 24px rgba(0, 0, 0, 0.12)}.drawer-host--open .drawer-panel--left{transform:translateX(0)}.drawer-panel--bottom{bottom:0;left:0;right:0;transform:translateY(100%);border-radius:var(--Border-2, 8px) var(--Border-2, 8px) 0 0;box-shadow:0 -4px 24px rgba(0, 0, 0, 0.12)}.drawer-host--open .drawer-panel--bottom{transform:translateY(0)}.drawer-panel--top{top:0;left:0;right:0;transform:translateY(-100%);border-radius:0 0 var(--Border-2, 8px) var(--Border-2, 8px);box-shadow:0 4px 24px rgba(0, 0, 0, 0.12)}.drawer-host--open .drawer-panel--top{transform:translateY(0)}.drawer-panel--size-m{width:550px}.drawer-panel--size-l{width:1137px}.drawer-panel--size-xl{width:1280px}.drawer-panel--size-xxl{width:1330px}.drawer-header{display:flex;flex-direction:row;justify-content:space-between;align-items:center;padding:var(--Size-4, 16px) var(--Size-4, 16px) var(--Size-3, 12px);border-bottom:1px solid var(--Gray-Gray-100, #eceef4);flex-shrink:0}.drawer-header--headless{display:none}.drawer-header__title{color:var(--Gray-700, #32394d);font-family:Inter, sans-serif;font-size:24px;font-style:normal;font-weight:700;line-height:110%;margin:0}.drawer-header__close{width:var(--Size-6, 32px);height:var(--Size-6, 32px);background:none;border:none;padding:0;cursor:pointer;display:flex;align-items:center;justify-content:center;color:var(--Gray-400, #858ea6);border-radius:var(--Border-1, 4px);transition:background 0.15s;flex-shrink:0}.drawer-header__close:hover{background:var(--Gray-Gray-50, #f7f8fa)}.drawer-body{flex:1;overflow-y:auto;padding:var(--Size-4, 16px);display:flex;flex-direction:column}.drawer-footer{display:none}`;
|
|
5
|
+
const dropiDrawerCss = () => `:host{display:contents;font-family:var(--font-family-01, 'Inter', sans-serif);font-family:var(--font-family-01, 'Inter', sans-serif)}button,input,select,textarea{font-family:var(--font-family-01, 'Inter', sans-serif)}*,*::before,*::after{box-sizing:border-box}.drawer-host{position:fixed;inset:0;z-index:var(--dropi-z-index-drawer, 9999);pointer-events:none;visibility:hidden}.drawer-host--open{pointer-events:all;visibility:visible}.drawer-backdrop{position:absolute;inset:0;background:rgba(0, 0, 0, 0.5);opacity:0;transition:opacity 0.25s}.drawer-host--open .drawer-backdrop{opacity:1}.drawer-panel{position:absolute;background:var(--Neutral-White, #ffffff);display:flex;flex-direction:column;transition:transform 0.25s ease;overflow:hidden;max-width:100%;min-width:auto}.drawer-panel--right{top:0;right:0;bottom:0;transform:translateX(100%);box-shadow:-4px 0 24px rgba(0, 0, 0, 0.12)}.drawer-host--open .drawer-panel--right{transform:translateX(0)}.drawer-panel--left{top:0;left:0;bottom:0;transform:translateX(-100%);box-shadow:4px 0 24px rgba(0, 0, 0, 0.12)}.drawer-host--open .drawer-panel--left{transform:translateX(0)}.drawer-panel--bottom{bottom:0;left:0;right:0;transform:translateY(100%);border-radius:var(--Border-2, 8px) var(--Border-2, 8px) 0 0;box-shadow:0 -4px 24px rgba(0, 0, 0, 0.12)}.drawer-host--open .drawer-panel--bottom{transform:translateY(0)}.drawer-panel--top{top:0;left:0;right:0;transform:translateY(-100%);border-radius:0 0 var(--Border-2, 8px) var(--Border-2, 8px);box-shadow:0 4px 24px rgba(0, 0, 0, 0.12)}.drawer-host--open .drawer-panel--top{transform:translateY(0)}.drawer-panel--size-m{width:550px}.drawer-panel--size-l{width:1137px}.drawer-panel--size-xl{width:1280px}.drawer-panel--size-xxl{width:1330px}.drawer-header{display:flex;flex-direction:row;justify-content:space-between;align-items:center;padding:var(--Size-4, 16px) var(--Size-4, 16px) var(--Size-3, 12px);border-bottom:1px solid var(--Gray-Gray-100, #eceef4);flex-shrink:0}.drawer-header--headless{display:none}.drawer-header__title{color:var(--Gray-700, #32394d);font-family:Inter, sans-serif;font-size:24px;font-style:normal;font-weight:700;line-height:110%;margin:0}.drawer-header__close{width:var(--Size-6, 32px);height:var(--Size-6, 32px);background:none;border:none;padding:0;cursor:pointer;display:flex;align-items:center;justify-content:center;color:var(--Gray-400, #858ea6);border-radius:var(--Border-1, 4px);transition:background 0.15s;flex-shrink:0}.drawer-header__close:hover{background:var(--Gray-Gray-50, #f7f8fa)}.drawer-body{flex:1;overflow-y:auto;padding:var(--Size-4, 16px);display:flex;flex-direction:column}.drawer-footer{display:none}`;
|
|
6
6
|
|
|
7
7
|
const DropiDrawer = class {
|
|
8
8
|
constructor(hostRef) {
|
|
@@ -60,10 +60,10 @@ const DropiDrawer = class {
|
|
|
60
60
|
else
|
|
61
61
|
panelStyle['height'] = this.height;
|
|
62
62
|
}
|
|
63
|
-
return (index.h("div", { key: '
|
|
63
|
+
return (index.h("div", { key: 'e173a207447ff88cba0f838844ae629a367a6c98', class: { 'drawer-host': true, 'drawer-host--open': this.open } }, index.h("div", { key: '1a4b3990d1a4641abcdd53b535b84f99991d1a90', class: "drawer-backdrop", onClick: () => {
|
|
64
64
|
if (this.closeOnBackdrop)
|
|
65
65
|
this.close();
|
|
66
|
-
} }), index.h("div", { key: '
|
|
66
|
+
} }), index.h("div", { key: 'eb3042e7506a6d64f6461b5bb7f0a93048299d50', class: `drawer-panel drawer-panel--${this.position}${sizeClass ? ' ' + sizeClass : ''}`, style: panelStyle, role: "dialog", "aria-modal": "true" }, index.h("div", { key: 'ce4468ae512bd70596313dbaa8a738666ff7ef5d', class: { 'drawer-header': true, 'drawer-header--headless': this.headless } }, index.h("h3", { key: '30e6af93a4e697590a8dc79748ec4e52f31f42c7', class: "drawer-header__title" }, this.drawerTitle), index.h("button", { key: '0a817e6236e51112812302ff320c15565071f3bc', class: "drawer-header__close", onClick: () => this.close(), "aria-label": "Cerrar" }, index.h("dropi-icon", { key: 'c540300a8c5486f6957f0cb4c5e55a70daf17b39', name: "Close-small", iconWidth: "32px", iconHeight: "32px", color: "Gray-Gray-400" }))), index.h("div", { key: '0b63274c3a8a810c06b1aec621209178499dae86', class: "drawer-body" }, index.h("slot", { key: '26c6a31c6c8bd9ae409880d85748ed44f01941d0' })), index.h("div", { key: 'be3dba11d475e95391e039e791f98d11c1625b5e', class: "drawer-footer" }, index.h("slot", { key: 'e2e42a0543dd9a8fb6278711d948816dda1969a3', name: "footer" })))));
|
|
67
67
|
}
|
|
68
68
|
static get watchers() { return {
|
|
69
69
|
"open": [{
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-eMp8lMK1.js');
|
|
4
4
|
|
|
5
|
-
const dropiDropdownCss = () => `:host{display:block;width:100%}*,*::before,*::after{box-sizing:border-box}.dropdown{display:flex;flex-direction:column;overflow-y:auto;max-height:var(--dropdown-height, 300px);border:1px solid var(--Gray-Gray-200, #c3c9d9);border-radius:var(--Border-2, 8px);background:var(--Neutral-White, #ffffff)}.dropdown__item{display:flex;align-items:center;gap:var(--Size-2, 8px);padding:var(--Size-2, 8px) var(--Size-3, 12px);cursor:pointer;transition:background 0.15s;user-select:none}.dropdown__item:hover{background:var(--Gray-Gray-50, #f7f8fa)}.dropdown__item--active{background:var(--Primary-Primary-50, #fff5eb)}.dropdown__avatar{width:28px;height:28px;border-radius:50%;object-fit:cover;flex-shrink:0}.dropdown__label{flex:1;font-size:var(--font-size-s, 12px);color:var(--Gray-Gray-700, #32394d);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}`;
|
|
5
|
+
const dropiDropdownCss = () => `:host{display:block;width:100%}*,*::before,*::after{box-sizing:border-box}button,input,select,textarea{font-family:var(--font-family-01, 'Inter', sans-serif)}.dropdown{display:flex;flex-direction:column;overflow-y:auto;max-height:var(--dropdown-height, 300px);border:1px solid var(--Gray-Gray-200, #c3c9d9);border-radius:var(--Border-2, 8px);background:var(--Neutral-White, #ffffff)}.dropdown__item{display:flex;align-items:center;gap:var(--Size-2, 8px);padding:var(--Size-2, 8px) var(--Size-3, 12px);cursor:pointer;transition:background 0.15s;user-select:none}.dropdown__item:hover{background:var(--Gray-Gray-50, #f7f8fa)}.dropdown__item--active{background:var(--Primary-Primary-50, #fff5eb)}.dropdown__avatar{width:28px;height:28px;border-radius:50%;object-fit:cover;flex-shrink:0}.dropdown__label{flex:1;font-size:var(--font-size-s, 12px);color:var(--Gray-Gray-700, #32394d);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}`;
|
|
6
6
|
|
|
7
7
|
const DropiDropdown = class {
|
|
8
8
|
constructor(hostRef) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-eMp8lMK1.js');
|
|
4
4
|
|
|
5
5
|
// Auto-generated by scripts/generate-illustration-map.js — DO NOT EDIT
|
|
6
6
|
// Source: public/assets/icons/ilustration/ (8 illustrations)
|
|
@@ -76,7 +76,7 @@ const ILLUSTRATION_MAP = {
|
|
|
76
76
|
`
|
|
77
77
|
};
|
|
78
78
|
|
|
79
|
-
const dropiEmptyStateCss = () => `:host{display:block}*,*::before,*::after{box-sizing:border-box}.empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:var(--Size-3, 12px);padding:var(--Size-6, 32px) var(--Size-5, 20px);text-align:center}.empty-state-img{max-width:200px;width:100%;height:auto;object-fit:contain;filter:brightness(0) saturate(100%) invert(73%) sepia(9%) saturate(503%) hue-rotate(187deg) brightness(91%) contrast(88%)}.empty-state-svg{width:80px;height:80px}.empty-state-placeholder{display:flex;align-items:center;justify-content:center}.empty-state-title{margin:0;font-size:var(--font-size-l, 18px);font-weight:var(--font-weight-bold, 700);color:var(--Gray-Gray-700, #32394d);line-height:1.3}.empty-state-description{margin:0;font-size:var(--font-size-s, 12px);color:var(--Gray-Gray-500, #69738c);line-height:1.6;max-width:400px}.empty-state-actions{display:flex;align-items:center;gap:var(--Size-3, 12px);flex-wrap:wrap;justify-content:center;margin-top:var(--Size-2, 8px)}`;
|
|
79
|
+
const dropiEmptyStateCss = () => `:host{display:block}*,*::before,*::after{box-sizing:border-box}button,input,select,textarea{font-family:var(--font-family-01, 'Inter', sans-serif)}.empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:var(--Size-3, 12px);padding:var(--Size-6, 32px) var(--Size-5, 20px);text-align:center}.empty-state-img{max-width:200px;width:100%;height:auto;object-fit:contain;filter:brightness(0) saturate(100%) invert(73%) sepia(9%) saturate(503%) hue-rotate(187deg) brightness(91%) contrast(88%)}.empty-state-svg{width:80px;height:80px}.empty-state-placeholder{display:flex;align-items:center;justify-content:center}.empty-state-title{margin:0;font-size:var(--font-size-l, 18px);font-weight:var(--font-weight-bold, 700);color:var(--Gray-Gray-700, #32394d);line-height:1.3}.empty-state-description{margin:0;font-size:var(--font-size-s, 12px);color:var(--Gray-Gray-500, #69738c);line-height:1.6;max-width:400px}.empty-state-actions{display:flex;align-items:center;gap:var(--Size-3, 12px);flex-wrap:wrap;justify-content:center;margin-top:var(--Size-2, 8px)}`;
|
|
80
80
|
|
|
81
81
|
const DropiEmptyState = class {
|
|
82
82
|
constructor(hostRef) {
|
|
@@ -105,7 +105,7 @@ const DropiEmptyState = class {
|
|
|
105
105
|
}
|
|
106
106
|
}
|
|
107
107
|
render() {
|
|
108
|
-
return (index.h("div", { key: '
|
|
108
|
+
return (index.h("div", { key: '46fcf12a371b08151dfc230284baa3ac8e419352', class: "empty-state" }, index.h("div", { key: 'fad7d4e048cf0ce9dab395f9191949a7c208295b', class: "empty-state-visual" }, this.imageUrl ? (index.h("img", { class: "empty-state-img", src: this.imageUrl, alt: this.imageAlt })) : (index.h("div", { class: "empty-state-img", ref: (el) => { this.illustrationRef = el; } }))), this.title && index.h("h3", { key: '00e33a607397efab09aef662bf92f79bd37f9245', class: "empty-state-title" }, this.title), this.description && index.h("p", { key: 'd1fda23fb22f0da491d82f5c18f910d0e3cfd4c1', class: "empty-state-description" }, this.description), index.h("slot", { key: 'fbaae961ff6c1ffd8e0d8826a72e7ada230dd3e8' }), this.buttonText && (index.h("div", { key: '107a1affbe36f8304e4c6d7fc5273cef8d0f88d9', class: "empty-state-actions" }, index.h("dropi-button", { key: 'f5bdca1fe8a92d0acff1f2a2963fae5f457c7351', text: this.buttonText, preIcon: this.buttonIcon, severity: this.buttonSeverity, onClick: () => this.buttonClickEvent.emit() })))));
|
|
109
109
|
}
|
|
110
110
|
};
|
|
111
111
|
DropiEmptyState.style = dropiEmptyStateCss();
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-eMp8lMK1.js');
|
|
4
4
|
|
|
5
|
-
const dropiFavoriteButtonCss = () => `:host{display:inline-flex}.fav-btn{display:flex;align-items:center;justify-content:center;width:37px;height:37px;border-radius:8px;border:1px solid var(--Gray-Gray-200);background:var(--Neutral-White);cursor:pointer;transition:all 0.2s ease-in-out}.fav-btn:hover,.fav-btn--active{background:var(--Gray-Gray-50)}.fav-btn:active{transform:scale(0.95)}`;
|
|
5
|
+
const dropiFavoriteButtonCss = () => `:host{display:inline-flex}button,input,select,textarea{font-family:var(--font-family-01, 'Inter', sans-serif)}.fav-btn{display:flex;align-items:center;justify-content:center;width:37px;height:37px;border-radius:8px;border:1px solid var(--Gray-Gray-200);background:var(--Neutral-White);cursor:pointer;transition:all 0.2s ease-in-out}.fav-btn:hover,.fav-btn--active{background:var(--Gray-Gray-50)}.fav-btn:active{transform:scale(0.95)}`;
|
|
6
6
|
|
|
7
7
|
const DropiFavoriteButton = class {
|
|
8
8
|
constructor(hostRef) {
|
|
@@ -19,7 +19,7 @@ const DropiFavoriteButton = class {
|
|
|
19
19
|
this.toggleFavorite.emit(this.isFavorite);
|
|
20
20
|
}
|
|
21
21
|
render() {
|
|
22
|
-
return (index.h("button", { key: '
|
|
22
|
+
return (index.h("button", { key: '92a8bc70796961d81151fcac6550a3bbf66751bc', class: { 'fav-btn': true, 'fav-btn--active': this.isFavorite }, onClick: () => this.toggle(), onMouseEnter: () => this.hovered = true, onMouseLeave: () => this.hovered = false, "aria-label": this.isFavorite ? 'Quitar de favoritos' : 'Agregar a favoritos', "aria-pressed": String(this.isFavorite) }, index.h("dropi-icon", { key: '60eb9d714ad708c0d081de9e54205091a29889a6', name: this.isFavorite || this.hovered ? 'Heart-solid' : 'Heart', iconWidth: "19px", iconHeight: "19px", color: this.isFavorite || this.hovered ? 'Primary-Primary-500' : 'Gray-Gray-800' })));
|
|
23
23
|
}
|
|
24
24
|
};
|
|
25
25
|
DropiFavoriteButton.style = dropiFavoriteButtonCss();
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-eMp8lMK1.js');
|
|
4
4
|
|
|
5
|
-
const dropiFileUploadProgressBarCss = () => `:host{display:block;width:100
|
|
5
|
+
const dropiFileUploadProgressBarCss = () => `:host{display:block;width:100%;button,input,select,textarea{font-family:var(--font-family-01, 'Inter', sans-serif)}}*,*::before,*::after{box-sizing:border-box}.container-progress-bar{width:100%;height:100%;display:flex;padding:var(--Size-4);gap:var(--Size-3);border-radius:var(--Size-2);border:1px solid var(--Gray-Gray-100);background-color:var(--Neutral-White);min-width:0;overflow:hidden;align-items:center}.container-icon-info{background:var(--Info-Info-50);width:32px;height:32px;border-radius:var(--Size-2);display:flex;justify-content:center;align-items:center;flex-shrink:0}.icon-pdf{background:var(--Error-Error-50);border-radius:var(--Border-2);width:34px;height:34px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.image-to-view{width:34px;height:34px;border-radius:var(--Border-2);object-fit:cover;flex-shrink:0}.container-bar-title{display:flex;gap:8px;flex:1;flex-direction:column;justify-content:center;min-width:0;p{margin:0;font-size:var(--font-size-s);color:var(--Gray-Gray-700);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}}progress{width:100%;height:4px;-webkit-appearance:none;appearance:none;border-radius:4.5px;max-width:100%;display:block}progress::-webkit-progress-bar{background-color:var(--Gray-Gray-100);border-radius:4.5px}progress::-webkit-progress-value{background-color:var(--Primary-Primary-500);border-radius:4.5px;transition:width 0.3s ease}progress::-moz-progress-bar{background-color:var(--Primary-Primary-500);border-radius:4.5px}.view-icon,.container-icon-trash{cursor:pointer;display:flex;align-items:center;justify-content:center;flex-shrink:0;padding:4px;border-radius:var(--Border-1);transition:background 0.2s}.view-icon:hover,.container-icon-trash:hover{background-color:var(--Gray-Gray-50)}`;
|
|
6
6
|
|
|
7
7
|
const DropiFileUploadProgressBar = class {
|
|
8
8
|
constructor(hostRef) {
|
|
@@ -61,7 +61,7 @@ const DropiFileUploadProgressBar = class {
|
|
|
61
61
|
};
|
|
62
62
|
}
|
|
63
63
|
render() {
|
|
64
|
-
return (index.h("div", { key: '
|
|
64
|
+
return (index.h("div", { key: '9a1cff54d6ab96637e149accd7cb08d5c5e6e516', class: "container-progress-bar" }, index.h("div", { key: '76330324e1429af78b58cee49a22df5af3ed44f1', class: "container-icon-info", style: { display: this.fileExtension !== 'pdf' ? 'flex' : 'none' } }, this.type !== 'image' && (index.h("dropi-icon", { key: '44aeacefe3b1d18ac8f55ccd5693b27747b15e9b', name: "File-text", iconWidth: "24px", iconHeight: "24px", color: "Info-Info-600" })), this.type === 'image' && !this.urlImage && (index.h("div", { key: '416fc3b7387f05439d98f08a91505ae9e352c56d', style: { width: '34px', height: '34px', borderRadius: '8px', background: 'var(--Gray-Gray-100)' } })), this.type === 'image' && this.urlImage && (index.h("img", { key: '992ad464b90cb9503b004324c441aa0baaaedb0a', src: this.urlImage, class: "image-to-view", width: "34", height: "34", alt: "" }))), this.fileExtension === 'pdf' && (index.h("div", { key: '33730ac6969b34483f0aeb433acbccd17513b6c0', class: "icon-pdf" }, index.h("svg", { key: '52b10ba62661a375c42b27b67e2f97a3edf3b1e9', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, index.h("g", { key: '18b96ab58cee059d63413ec9174ecb54a3720f25', "clip-path": "url(#clip0_6227_22223)" }, index.h("path", { key: '344b8601ca32790c8d13b4227bc64f5438db6eae', d: "M16.6243 4.61667L13.716 1.70833C12.616 0.608333 11.1493 0 9.59102 0H5.83268C3.53268 0 1.66602 1.86667 1.66602 4.16667V15.8333C1.66602 18.1333 3.53268 20 5.83268 20H14.166C16.466 20 18.3327 18.1333 18.3327 15.8333V8.74167C18.3327 7.18333 17.7243 5.71667 16.6243 4.61667ZM15.4493 5.79167C15.716 6.05833 15.941 6.35 16.1243 6.66667H12.5077C12.0493 6.66667 11.6743 6.29167 11.6743 5.83333V2.21667C11.991 2.4 12.2827 2.625 12.5493 2.89167L15.4577 5.8L15.4493 5.79167ZM16.666 15.8333C16.666 17.2083 15.541 18.3333 14.166 18.3333H5.83268C4.45768 18.3333 3.33268 17.2083 3.33268 15.8333V4.16667C3.33268 2.79167 4.45768 1.66667 5.83268 1.66667H9.59102C9.72435 1.66667 9.86602 1.66667 9.99935 1.68333V5.83333C9.99935 7.20833 11.1243 8.33333 12.4993 8.33333H16.6493C16.666 8.46667 16.666 8.6 16.666 8.74167V15.8333ZM5.90768 10.8333H4.99935C4.54102 10.8333 4.16602 11.2083 4.16602 11.6667V15.3667C4.16602 15.6583 4.39935 15.8833 4.68268 15.8833C4.96602 15.8833 5.19935 15.65 5.19935 15.3667V14.35H5.89935C6.88268 14.35 7.68268 13.5583 7.68268 12.5917C7.68268 11.625 6.88268 10.8333 5.89935 10.8333H5.90768ZM5.90768 13.3083H5.21602V11.875H5.91602C6.31602 11.875 6.65768 12.2 6.65768 12.5917C6.65768 12.9833 6.31602 13.3083 5.91602 13.3083H5.90768ZM15.8493 11.3583C15.8493 11.65 15.616 11.875 15.3327 11.875H13.9243V12.825H14.9577C15.2493 12.825 15.4743 13.0583 15.4743 13.3417C15.4743 13.625 15.241 13.8583 14.9577 13.8583H13.9243V15.3583C13.9243 15.65 13.691 15.875 13.4077 15.875C13.1243 15.875 12.891 15.6417 12.891 15.3583V11.35C12.891 11.0583 13.1243 10.8333 13.4077 10.8333H15.3327C15.6243 10.8333 15.8493 11.0667 15.8493 11.35V11.3583ZM10.0743 10.8417H9.16602C8.70768 10.8417 8.33268 11.2167 8.33268 11.675V15.375C8.33268 15.6667 8.56602 15.8417 8.84935 15.8417C9.13268 15.8417 10.066 15.8417 10.066 15.8417C11.0493 15.8417 11.8493 15.05 11.8493 14.0833V12.6C11.8493 11.6333 11.0493 10.8417 10.066 10.8417H10.0743ZM10.816 14.0833C10.816 14.475 10.4743 14.8 10.0743 14.8H9.38268V11.8833H10.0827C10.4827 11.8833 10.8243 12.2083 10.8243 12.6V14.0833H10.816Z", fill: "#DE6061" })), index.h("defs", { key: '9ae2724b7a4bc69e7d56d31672c59b8a59603c14' }, index.h("clipPath", { key: '925d2de4afd87a7a92ede37730872e8f94d88e14', id: "clip0_6227_22223" }, index.h("rect", { key: '59e3907da52ab8f253d095150366cd8c4ad0ef10', width: "20", height: "20", fill: "white" })))))), index.h("div", { key: '728ef5d61364f355f0a578f2cf2671b4ef9ae521', class: "container-bar-title" }, index.h("p", { key: '0ff7872cfa5bfa6965ac637d9aec9bd0b6ef33ea' }, this.textFile), index.h("progress", { key: '6723a5b4d6cbaa66f86de3ccaf07070720d8268d', value: this.progress, max: "100" })), this.progress === 100 && this.isPreview && (index.h("div", { key: '4866e4eab7b6a2a208dd898ccf41d185cc3b32d9', class: "view-icon", onClick: () => this.viewFile.emit() }, index.h("svg", { key: '4a20733a809c89b7d298986d7546d91ca0b28e91', xmlns: "http://www.w3.org/2000/svg", width: "18", height: "14", viewBox: "0 0 18 14", fill: "none" }, index.h("path", { key: '54099a7f02bc603ab33b2a42a5c70e3988ead535', "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M7.07148 4.14758C7.64227 3.76618 8.31334 3.56262 8.99983 3.56262C9.92004 3.56372 10.8022 3.92976 11.4529 4.58045C12.1036 5.23114 12.4697 6.11334 12.4708 7.03355C12.4708 7.72004 12.2672 8.39111 11.8858 8.9619C11.5044 9.53269 10.9623 9.97757 10.3281 10.2403C9.69387 10.503 8.99598 10.5717 8.32268 10.4378C7.64939 10.3039 7.03092 9.9733 6.54551 9.48788C6.06009 9.00246 5.72951 8.384 5.59558 7.7107C5.46166 7.0374 5.53039 6.33951 5.7931 5.70528C6.05581 5.07105 6.50069 4.52897 7.07148 4.14758ZM7.84282 8.76514C8.18529 8.99398 8.58794 9.11612 8.99983 9.11612C9.55216 9.11612 10.0819 8.8967 10.4724 8.50615C10.863 8.11559 11.0824 7.58588 11.0824 7.03355C11.0824 6.62166 10.9602 6.21902 10.7314 5.87654C10.5026 5.53407 10.1773 5.26714 9.79679 5.10952C9.41625 4.95189 8.99752 4.91065 8.59354 4.99101C8.18956 5.07136 7.81849 5.26971 7.52723 5.56096C7.23598 5.85221 7.03764 6.22329 6.95728 6.62727C6.87693 7.03124 6.91817 7.44998 7.07579 7.83052C7.23342 8.21105 7.50034 8.53631 7.84282 8.76514Z", fill: "#475066" }), index.h("path", { key: '50b4ec230be5bd6945865082bb341a808de5e2f5', "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M8.99996 0.546387C13.2984 0.546387 15.7475 3.48835 16.8241 5.24187C17.157 5.78022 17.3333 6.40064 17.3333 7.03357C17.3333 7.6665 17.157 8.28692 16.8241 8.82526C15.7475 10.5788 13.2984 13.5207 8.99996 13.5207C4.70155 13.5207 2.25246 10.5788 1.17577 8.82526C0.842931 8.28692 0.666626 7.6665 0.666626 7.03357C0.666626 6.40064 0.842931 5.78022 1.17577 5.24187C2.25246 3.48835 4.70155 0.546387 8.99996 0.546387ZM8.99996 12.1324C12.6229 12.1324 14.7159 9.60206 15.6406 8.09845C15.8383 7.77846 15.943 7.40973 15.943 7.03357C15.943 6.6574 15.8383 6.28867 15.6406 5.96868C14.7159 4.4623 12.6229 1.93476 8.99996 1.93476C5.377 1.93476 3.28402 4.46507 2.35936 5.96868C2.16161 6.28867 2.05687 6.6574 2.05687 7.03357C2.05687 7.40973 2.16161 7.77846 2.35936 8.09845C3.28402 9.60206 5.377 12.1324 8.99996 12.1324Z", fill: "#475066" })))), this.progress === 100 && !this.disabled && (index.h("div", { key: '5b3d075f123d43f38eb147071082fb41104144a3', class: "container-icon-trash", onClick: () => this.deleteFile.emit() }, index.h("svg", { key: '961615602fd1496823409ca31cee5c701bea16af', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "21", viewBox: "0 0 20 21", fill: "none" }, index.h("path", { key: 'd4e9856f300a1a46afc1c98c774a875e75ede973', d: "M16.2501 4.94477H14.0973C13.9362 4.16103 13.5097 3.45682 12.8899 2.95082C12.27 2.44483 11.4947 2.168 10.6946 2.16699H9.30566C8.50552 2.168 7.73019 2.44483 7.11035 2.95082C6.49051 3.45682 6.06406 4.16103 5.90289 4.94477H3.75011C3.56593 4.94477 3.3893 5.01793 3.25906 5.14817C3.12883 5.2784 3.05566 5.45504 3.05566 5.63921C3.05566 5.82339 3.12883 6.00003 3.25906 6.13026C3.3893 6.26049 3.56593 6.33366 3.75011 6.33366H4.44455V15.3614C4.44566 16.282 4.81183 17.1645 5.46276 17.8155C6.11369 18.4664 6.99622 18.8326 7.91677 18.8337H12.0834C13.004 18.8326 13.8865 18.4664 14.5375 17.8155C15.1884 17.1645 15.5546 16.282 15.5557 15.3614V6.33366H16.2501C16.4343 6.33366 16.6109 6.26049 16.7412 6.13026C16.8714 6.00003 16.9446 5.82339 16.9446 5.63921C16.9446 5.45504 16.8714 5.2784 16.7412 5.14817C16.6109 5.01793 16.4343 4.94477 16.2501 4.94477ZM9.30566 3.55588H10.6946C11.1253 3.55641 11.5453 3.69017 11.8971 3.93883C12.2488 4.18749 12.515 4.53886 12.6591 4.94477H7.34108C7.48524 4.53886 7.75143 4.18749 8.10315 3.93883C8.45488 3.69017 8.87492 3.55641 9.30566 3.55588ZM14.1668 15.3614C14.1668 15.914 13.9473 16.4439 13.5566 16.8346C13.1659 17.2253 12.636 17.4448 12.0834 17.4448H7.91677C7.36424 17.4448 6.83434 17.2253 6.44364 16.8346C6.05294 16.4439 5.83344 15.914 5.83344 15.3614V6.33366H14.1668V15.3614Z", fill: "#DE6061" }), index.h("path", { key: '66352c37fc6b1525965b0374984d91f60ad7ce9a', d: "M8.61128 14.6666C8.79545 14.6666 8.97209 14.5934 9.10232 14.4632C9.23256 14.3329 9.30572 14.1563 9.30572 13.9721V9.80545C9.30572 9.62127 9.23256 9.44464 9.10232 9.3144C8.97209 9.18417 8.79545 9.11101 8.61128 9.11101C8.4271 9.11101 8.25046 9.18417 8.12023 9.3144C7.99 9.44464 7.91683 9.62127 7.91683 9.80545V13.9721C7.91683 14.1563 7.99 14.3329 8.12023 14.4632C8.25046 14.5934 8.4271 14.6666 8.61128 14.6666Z", fill: "#DE6061" }), index.h("path", { key: 'bbdf05a15788ec40df5e66d2ce33852ea50ecbe7', d: "M11.389 14.6666C11.5731 14.6666 11.7498 14.5934 11.88 14.4632C12.0102 14.3329 12.0834 14.1563 12.0834 13.9721V9.80545C12.0834 9.62127 12.0102 9.44464 11.88 9.3144C11.7498 9.18417 11.5731 9.11101 11.389 9.11101C11.2048 9.11101 11.0281 9.18417 10.8979 9.3144C10.7677 9.44464 10.6945 9.62127 10.6945 9.80545V13.9721C10.6945 14.1563 10.7677 14.3329 10.8979 14.4632C11.0281 14.5934 11.2048 14.6666 11.389 14.6666Z", fill: "#DE6061" }))))));
|
|
65
65
|
}
|
|
66
66
|
static get watchers() { return {
|
|
67
67
|
"progress": [{
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-eMp8lMK1.js');
|
|
4
4
|
|
|
5
|
-
const dropiFileUploadCss = () => `:host{display:block;width:100
|
|
5
|
+
const dropiFileUploadCss = () => `:host{display:block;width:100%;button,input,select,textarea{font-family:var(--font-family-01, 'Inter', sans-serif)}}*,*::before,*::after{box-sizing:border-box}.upload-container{display:flex;flex-direction:column;gap:var(--Size-3, 12px);width:100%}.upload-header{display:flex;flex-direction:column;gap:var(--Size-1, 4px);align-items:flex-start;align-self:stretch}.upload-header .text{color:var(--Gray-Gray-600, #475066);font-size:var(--font-size-xs, 12px);font-style:normal;line-height:150%}.upload-header .title{font-weight:var(--font-weight-medium, 500)}.upload-header .label{font-weight:var(--font-weight-regular, 400)}.file-upload{display:flex;width:100%;flex-direction:column;justify-content:center;align-items:center;gap:var(--Size-3, 12px);background:var(--Neutral-White, #ffffff)}.file-upload__zone{display:flex;padding:var(--Size-5, 24px);flex-direction:column;justify-content:center;align-items:center;gap:var(--Size-6, 32px);align-self:stretch;border-radius:var(--Border-2, 8px);border:1px dashed var(--Gray-Gray-200, #c3c9d9);background:var(--Neutral-White, #ffffff);text-align:center;transition:border-color 0.3s ease}.file-upload__zone.drag-over{border:1px dashed var(--Primary-Primary-500, #f49a3d);background:var(--Primary-Primary-50, #fef8f1)}.info{display:flex;flex-direction:column;align-items:center;gap:var(--Size-2, 8px);align-self:stretch}.info .title{color:var(--Gray-Gray-700, #32394d);text-align:center;font-size:var(--font-size-m, 16px);font-weight:var(--font-weight-medium, 500);line-height:150%}.info.size-small-upload{flex-direction:row;gap:var(--Size-3, 12px)}.info-desc{display:flex;flex-direction:column;align-items:center;gap:var(--Size-1, 4px)}.description{color:var(--Gray-Gray-600, #475066);text-align:center;font-size:var(--font-size-s, 14px);font-style:normal;font-weight:var(--font-weight-regular, 400);line-height:150%}.upload-hidden{display:none}.files-container{display:flex;flex-direction:column;gap:var(--Size-3, 12px)}.grid-list{display:flex;align-items:flex-start;gap:var(--Size-5, 24px);align-self:stretch;flex-wrap:wrap}.add-img{display:flex;height:88px;width:88px;flex-direction:column;justify-content:center;align-items:center;gap:var(--Size-1, 4px);align-self:stretch;border-radius:var(--Border-2, 8px);background:var(--Gray-Gray-50, #f7f8fa);cursor:pointer}.add-img:hover{transform:scale(1.1)}.add-img .icon{display:flex;width:24px;height:24px;padding:4px;justify-content:center;align-items:center;flex-shrink:0;border-radius:var(--Border-3, 12px);background:var(--Gray-Gray-100, #e6eaf2)}.add-img .text{color:var(--Gray-Gray-600, #475066);text-align:center;font-size:var(--font-size-xs, 12px);font-style:normal;font-weight:var(--font-weight-regular, 400);line-height:150%}.card-list{display:flex;flex-direction:column;align-items:flex-start;gap:var(--Size-3, 12px);align-self:stretch;width:100%}.file-card{display:flex;padding:var(--Size-4, 16px);align-items:center;gap:var(--Size-3, 12px);align-self:stretch;border-radius:var(--Border-2, 8px);border:1px solid var(--Gray-Gray-100, #e6eaf2);background:var(--Neutral-White, #ffffff);width:100%}.file-card.error{border-color:var(--Error-Error-300, #f89b9c);background:var(--Error-Error-50, #fef0f0)}.file-card .preview-wrapper{width:34px;height:34px;position:relative;display:inline-block;border-radius:var(--Border-2, 8px);overflow:hidden;flex-shrink:0}.file-card .preview{width:100%;height:100%;object-fit:cover;flex-shrink:0}.file-card .preview.uploading{filter:blur(2px)}.file-card .overlay-icon{width:16px;height:16px;padding:4px;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);pointer-events:none;display:flex;justify-content:center;align-items:center;flex-shrink:0;border-radius:var(--Border-3, 12px);background:var(--Neutral-White, #ffffff)}.file-card .file-icon{flex-shrink:0}.file-card .info-container{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:var(--Size-2, 8px);flex:1 0 0;min-width:0}.file-card .file-name{overflow:hidden;color:var(--Gray-Gray-600, #475066);text-overflow:ellipsis;font-size:var(--font-size-xs, 12px);font-style:normal;font-weight:var(--font-weight-regular, 400);line-height:150%;white-space:nowrap;max-width:300px}.file-card .file-name.error-text{color:var(--Error-Error-500, #f46a6b)}.file-card .progress-bar-container{width:100%;height:4px;background-color:#f0f0f0;border-radius:4px;overflow:hidden}.file-card .progress-bar{height:100%;border-radius:4.5px;background:var(--Primary-Primary-500, #f49a3d);transition:width 0.3s ease}.file-card .error-label{color:var(--Error-Error-500, #f46a6b);font-size:11px;font-weight:var(--font-weight-regular, 400);line-height:150%}.file-card .deleting-container{display:flex;align-items:center;flex:1 0 0}.file-card .deleting-label{color:var(--Gray-Gray-500, #69738c);font-size:var(--font-size-xs, 12px);font-style:italic;font-weight:var(--font-weight-regular, 400);line-height:150%}.file-card .delete,.file-card .preview-image{display:inline-flex;align-items:center;justify-content:center;transition:transform 0.3s ease;border-radius:var(--Border-2, 8px);flex-shrink:0;cursor:pointer}.file-card .delete:hover,.file-card .preview-image:hover{transform:scale(1.1)}.file-card .delete-confirm{color:var(--Gray-Gray-600, #475066);font-size:var(--font-size-xs, 12px);font-style:normal;font-weight:var(--font-weight-medium, 500);line-height:150%;display:flex;justify-content:space-between;align-items:center;align-self:stretch;flex:1 0 0}.file-card .delete-confirm .message{flex:1}.file-card .delete-confirm .actions{display:flex;align-items:flex-start;gap:var(--Size-2, 8px)}.img-view{display:flex;width:88px;flex-direction:column;justify-content:center;align-items:flex-start;gap:var(--Size-2, 8px)}.img-view .preview-wrapper{position:relative;display:inline-block;width:88px;height:88px}.img-view .preview-container{border-radius:var(--Border-2, 8px);overflow:hidden;width:100%;height:100%}.img-view .preview{width:100%;height:100%;object-fit:cover;flex-shrink:0}.img-view .preview.uploading{filter:blur(2px)}.img-view .overlay-icon{width:24px;height:24px;padding:6px;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);pointer-events:none;display:flex;justify-content:center;align-items:center;flex-shrink:0;border-radius:var(--Border-3, 12px);background:var(--Neutral-White, #ffffff)}.img-view .delete{position:absolute;top:-12px;right:-9px;display:flex;justify-content:center;align-items:center;flex-shrink:0;border-radius:var(--Border-3, 12px);background:var(--Neutral-White, #ffffff);cursor:pointer}.img-view .delete:hover{transform:scale(1.1)}.img-view.error .preview-wrapper{border:2px solid var(--Error-Error-500, #f46a6b);border-radius:var(--Border-2, 8px)}.img-view.deleting .preview-wrapper{opacity:0.4}.img-view .progress-bar-container{width:100%;height:4px;background-color:#f0f0f0;border-radius:4px;overflow:hidden}.img-view .progress-bar{height:100%;border-radius:4.5px;background:var(--Primary-Primary-500, #f49a3d);transition:width 0.3s ease}.img-view .deleting-info{width:100%;text-align:center}.img-view .deleting-info-label{color:var(--Gray-Gray-500, #69738c);font-size:var(--font-size-xxs, 10px);font-style:italic;font-weight:var(--font-weight-regular, 400);line-height:150%}@media screen and (max-width: 599px){.info.size-small-upload{flex-wrap:wrap;justify-content:center}.file-card .file-name{max-width:100px}}`;
|
|
6
6
|
|
|
7
7
|
const DropiFileUpload = class {
|
|
8
8
|
constructor(hostRef) {
|
|
@@ -229,7 +229,7 @@ const DropiFileUpload = class {
|
|
|
229
229
|
const cardFiles = files.filter(f => f.typeView === 'card');
|
|
230
230
|
const showDropZone = files.length < (this.maxFiles ?? 1) && !this.isDropZoneHidden();
|
|
231
231
|
const isSmall = this.dragAndDropSize === 'small';
|
|
232
|
-
return (index.h("div", { key: '
|
|
232
|
+
return (index.h("div", { key: '53a6c0062929bef4c8223e0c4e52a0050165a800', class: "upload-container" }, (this.title || this.label) && (index.h("div", { key: '7cbf5d99bf080c8150271922e843e75fd00345b2', class: "upload-header" }, this.title && index.h("div", { key: '8739652541b7e9207cf9eecb4a5364bdb2681928', class: "text title" }, this.title), this.label && index.h("div", { key: 'a5f93bc2a2a45c8097f9e057014863a62e2ea2db', class: "text label" }, this.label))), this.error && (index.h("dropi-alert", { key: 'bcf90dfde5556dc69e832384e2eaa3b655ad3038', message: this.errorMessage, type: "default", state: "error", dismissable: true, showButton: false, onDropiClose: () => { this.error = false; } })), showDropZone && (index.h("div", { key: '6a8f194bd7f84a72b0a76499fc627cf039a7a5cc', class: { 'file-upload': true, 'drag-over': this.dragging }, onDragOver: (e) => this.onDragOver(e), onDragEnter: (e) => this.onDragEnter(e), onDragLeave: () => this.onDragLeave(), onDrop: (e) => this.onDrop(e) }, index.h("div", { key: 'e1b60b9cac11bab0dc0dc5909e27816cbfa9873b', class: `file-upload__zone${this.dragging ? ' drag-over' : ''}` }, !isSmall && (index.h("svg", { key: 'd3d6613058ca61eed4ae3c14d0de036ba25e096c', width: "40", height: "40", viewBox: "0 0 40 40", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, index.h("path", { key: '6e6dad9c5ace86f8bae848a596b85559a00afc00', d: "M0 20C0 8.95431 8.95431 0 20 0C31.0457 0 40 8.95431 40 20C40 31.0457 31.0457 40 20 40C8.95431 40 0 31.0457 0 20Z", fill: "#FEF8F1" }), index.h("g", { key: '3cfcd89899ad365af2c1e2f948dd14e9418a6b7b', "clip-path": "url(#up)" }, index.h("path", { key: 'f685ed115915f53fd0d06cac49f8a6597f605ebd', d: "M19.3379 13.7187L19.3332 24.0107C19.3332 24.1875 19.4035 24.357 19.5285 24.4821C19.6535 24.6071 19.8231 24.6773 19.9999 24.6773C20.1767 24.6773 20.3463 24.6071 20.4713 24.4821C20.5963 24.357 20.6666 24.1875 20.6666 24.0107L20.6712 13.73L22.6126 15.672C22.7376 15.797 22.9071 15.8672 23.0839 15.8672C23.2607 15.8672 23.4302 15.797 23.5552 15.672C23.6802 15.547 23.7504 15.3774 23.7504 15.2007C23.7504 15.0239 23.6802 14.8543 23.5552 14.7293L21.4145 12.586C21.2288 12.4001 21.0083 12.2527 20.7655 12.1521C20.5228 12.0515 20.2626 11.9998 19.9999 11.9998C19.7371 11.9998 19.477 12.0515 19.2342 12.1521C18.9915 12.2527 18.771 12.4001 18.5852 12.586L16.4445 14.7273C16.3196 14.8523 16.2494 15.0219 16.2494 15.1987C16.2494 15.3754 16.3196 15.545 16.4445 15.67C16.5696 15.795 16.7391 15.8652 16.9159 15.8652C17.0927 15.8652 17.2622 15.795 17.3872 15.67L19.3379 13.7187Z", fill: "#F49A3D" }), index.h("path", { key: '49242cfde754e607ae1577c29e63c94c1bf1634d', d: "M26.6667 23.3329V25.9996C26.6667 26.1764 26.5964 26.346 26.4714 26.471C26.3464 26.596 26.1768 26.6663 26 26.6663H14C13.8232 26.6663 13.6536 26.596 13.5286 26.471C13.4036 26.346 13.3333 26.1764 13.3333 25.9996V23.3329C13.3333 23.1561 13.2631 22.9865 13.1381 22.8615C13.013 22.7365 12.8435 22.6663 12.6667 22.6663C12.4899 22.6663 12.3203 22.7365 12.1953 22.8615C12.0702 22.9865 12 23.1561 12 23.3329V25.9996C12 26.53 12.2107 27.0387 12.5858 27.4138C12.9609 27.7889 13.4696 27.9996 14 27.9996H26C26.5304 27.9996 27.0391 27.7889 27.4142 27.4138C27.7893 27.0387 28 26.53 28 25.9996V23.3329C28 23.1561 27.9298 22.9865 27.8047 22.8615C27.6797 22.7365 27.5101 22.6663 27.3333 22.6663C27.1565 22.6663 26.987 22.7365 26.8619 22.8615C26.7369 22.9865 26.6667 23.1561 26.6667 23.3329Z", fill: "#F49A3D" })), index.h("defs", { key: 'f1ede9ee7ad2d7498553431c83005c485342ef3a' }, index.h("clipPath", { key: '877741b31ad66e301291cca2a39b4d2fb0b05569', id: "up" }, index.h("rect", { key: '337f7c89c3cbbdaeafd38413c85e4ce9c0961432', width: "16", height: "16", fill: "white", transform: "translate(12 12)" }))))), index.h("div", { key: '277a7354341ce2a4d47d417ef8bdcd8c4914fa16', class: isSmall ? 'info size-small-upload' : 'info' }, index.h("div", { key: 'ae2e22bd7d02c70eb20435c5044ec67707a76c27', class: "title" }, this.textDropZone), isSmall && (index.h("dropi-button", { key: 'e4a465cb0a1c4df657b4f97d9358373266d5a184', text: this.textButton, size: "small", onClick: (e) => { e.stopPropagation(); this.openFilePicker(); } }))), !isSmall && (index.h("div", { key: '91580967159ab227dacb03ffc289f414c02e5912', class: "info-desc" }, this.accept && index.h("div", { key: '16ef9fbeb7dc572f8f5ebf1153fc8f1df73d35ca', class: "description" }, "Formatos admitidos: ", this.accept), index.h("div", { key: 'a46265cd28533f4d8762efbb7010630b89a53156', class: "description" }, "Tama\u00F1o m\u00E1ximo: ", this.maxFileSizeMB, "MB"))), !isSmall && (index.h("dropi-button", { key: '43ee9e62526ead6be2db1efdd93ed97b00adccb6', text: this.textButton, size: "small", onClick: (e) => { e.stopPropagation(); this.openFilePicker(); } })), index.h("input", { key: 'c1e074ebeccda45a7a732f875c95606ed080c6cc', ref: (el) => this.inputRef = el, type: "file", accept: this.accept, multiple: this.multiple, class: "upload-hidden", onChange: (e) => this.onInputChange(e) })))), this.selectedFiles.length > 0 && (index.h("div", { key: 'c0159af79236ecb940173fb32677d488f622f434', class: "files-container" }, gridFiles.length > 0 && (index.h("div", { key: '4ab957bf55cdfed0ea56c56ecccb3738ee0eed72', class: "grid-list" }, gridFiles.map(f => this.renderGridItem(f)), gridFiles.length < this.maxFiles && (index.h("div", { key: 'b9a171ce8a3d79362131e90d5b9ca3f72e5c4a5c', class: "add-img", onClick: () => this.addImage() }, index.h("div", { key: 'c6a165d81b91f15a18c64b5cd22da22a5eeef6e0', class: "icon" }, index.h("svg", { key: '6e89310ce178bc2b981aa9fdcd854568b682f55a', width: "14", height: "14", viewBox: "0 0 14 14", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, index.h("path", { key: 'c3f7d47b4bedd9431283a0d2706cf1c24b811b78', d: "M9.77774 6.4444H7.55551V4.22218C7.55551 4.07484 7.49698 3.93353 7.3928 3.82934C7.28861 3.72516 7.1473 3.66663 6.99996 3.66663C6.85262 3.66663 6.71131 3.72516 6.60712 3.82934C6.50294 3.93353 6.4444 4.07484 6.4444 4.22218V6.4444H4.22218C4.07484 6.4444 3.93353 6.50294 3.82934 6.60712C3.72516 6.71131 3.66663 6.85262 3.66663 6.99996C3.66663 7.1473 3.72516 7.28861 3.82934 7.3928C3.93353 7.49698 4.07484 7.55551 4.22218 7.55551H6.4444V9.77774C6.4444 9.92508 6.50294 10.0664 6.60712 10.1706C6.71131 10.2748 6.85262 10.3333 6.99996 10.3333C7.1473 10.3333 7.28861 10.2748 7.3928 10.1706C7.49698 10.0664 7.55551 9.92508 7.55551 9.77774V7.55551H9.77774C9.92508 7.55551 10.0664 7.49698 10.1706 7.3928C10.2748 7.28861 10.3333 7.1473 10.3333 6.99996C10.3333 6.85262 10.2748 6.71131 10.1706 6.60712C10.0664 6.50294 9.92508 6.4444 9.77774 6.4444Z", fill: "#32394D" }))), index.h("div", { key: '0b335f0d575d63566a2a8e440029240889710246', class: "text" }, "Agregar"))))), cardFiles.length > 0 && (index.h("div", { key: '5a6b3e6b24dbbd59199c9f602b2e1d5edae59e0e', class: "card-list" }, cardFiles.map(f => this.renderCardItem(f))))))));
|
|
233
233
|
}
|
|
234
234
|
};
|
|
235
235
|
DropiFileUpload.style = dropiFileUploadCss();
|