@dropi/ui 0.1.19 → 0.1.20
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/assets/icons/ilustration/bg-warning.svg +3 -0
- package/assets/icons/ilustration/default.svg +4 -0
- package/assets/icons/ilustration/error.svg +10 -0
- package/assets/icons/ilustration/exclusive.svg +9 -0
- package/assets/icons/ilustration/info.svg +10 -0
- package/assets/icons/ilustration/loading.svg +4 -0
- package/assets/icons/ilustration/love.svg +9 -0
- package/assets/icons/ilustration/premium-new.svg +14 -0
- package/assets/icons/ilustration/premium.svg +5 -0
- package/assets/icons/ilustration/sorry.svg +4 -0
- package/assets/icons/ilustration/success.svg +11 -0
- package/assets/icons/ilustration/verified-new.svg +9 -0
- package/assets/icons/ilustration/verified.svg +4 -0
- package/assets/icons/ilustration/warning.svg +9 -0
- package/assets/lottie-files/loading.json +1 -0
- package/dist/cjs/dropi-accordion.cjs.entry.js +3 -3
- package/dist/cjs/dropi-alert-modal.cjs.entry.js +72 -0
- package/dist/cjs/dropi-alert.cjs.entry.js +7 -7
- package/dist/cjs/dropi-avatars.cjs.entry.js +2 -2
- package/dist/cjs/dropi-badge.cjs.entry.js +2 -2
- package/dist/cjs/dropi-banner-external.cjs.entry.js +47 -0
- package/dist/cjs/dropi-breadcrumb.cjs.entry.js +48 -0
- package/dist/cjs/dropi-button.cjs.entry.js +7 -5
- package/dist/cjs/dropi-card-checkbox.cjs.entry.js +45 -0
- package/dist/cjs/dropi-card-product.cjs.entry.js +59 -0
- package/dist/cjs/dropi-card-section.cjs.entry.js +5 -5
- package/dist/cjs/dropi-carousel.cjs.entry.js +83 -0
- package/dist/cjs/dropi-checkbox-selection-list.cjs.entry.js +5 -5
- package/dist/cjs/dropi-checkbox.cjs.entry.js +4 -4
- package/dist/cjs/dropi-chips.cjs.entry.js +4 -4
- package/dist/cjs/dropi-city-selector.cjs.entry.js +85 -0
- package/dist/cjs/dropi-color-picker.cjs.entry.js +69 -0
- package/dist/cjs/dropi-country-flags.cjs.entry.js +37 -0
- package/dist/cjs/dropi-country-selector.cjs.entry.js +164 -0
- package/dist/cjs/dropi-date-picker-range.cjs.entry.js +115 -0
- package/dist/cjs/dropi-date-picker.cjs.entry.js +205 -0
- package/dist/cjs/dropi-drawer.cjs.entry.js +50 -0
- package/dist/cjs/dropi-dropdown.cjs.entry.js +3 -3
- package/dist/cjs/dropi-empty-state.cjs.entry.js +9 -5
- package/dist/cjs/dropi-favorite-button.cjs.entry.js +3 -3
- package/dist/cjs/dropi-file-upload-progress-bar.cjs.entry.js +52 -0
- package/dist/cjs/dropi-file-upload.cjs.entry.js +84 -0
- package/dist/cjs/dropi-icon.cjs.entry.js +2 -2
- package/dist/cjs/dropi-ilustration-icon.cjs.entry.js +39 -0
- package/dist/cjs/dropi-image-miniature.cjs.entry.js +3 -3
- package/dist/cjs/dropi-image-overlay.cjs.entry.js +4 -4
- package/dist/cjs/dropi-input.cjs.entry.js +7 -7
- package/dist/cjs/dropi-languages-selector.cjs.entry.js +57 -0
- package/dist/cjs/dropi-logo.cjs.entry.js +3 -3
- package/dist/cjs/dropi-lottie-loader.cjs.entry.js +5 -5
- package/dist/cjs/dropi-media-player.cjs.entry.js +102 -0
- package/dist/cjs/dropi-modal.cjs.entry.js +12 -9
- package/dist/cjs/dropi-navbar.cjs.entry.js +52 -0
- package/dist/cjs/dropi-otp-send-code.cjs.entry.js +6 -6
- package/dist/cjs/dropi-paginator.cjs.entry.js +4 -4
- package/dist/cjs/dropi-phone-input.cjs.entry.js +84 -0
- package/dist/cjs/dropi-radio-button.cjs.entry.js +3 -3
- package/dist/cjs/dropi-radio-selection-list.cjs.entry.js +5 -5
- package/dist/cjs/dropi-read-more.cjs.entry.js +2 -2
- package/dist/cjs/dropi-search.cjs.entry.js +8 -8
- package/dist/cjs/dropi-select.cjs.entry.js +7 -7
- package/dist/cjs/dropi-sidebar.cjs.entry.js +67 -0
- package/dist/cjs/dropi-simple-stepper.cjs.entry.js +2 -2
- package/dist/cjs/dropi-skeleton.cjs.entry.js +1 -1
- package/dist/cjs/dropi-steps.cjs.entry.js +2 -2
- package/dist/cjs/dropi-switch.cjs.entry.js +3 -3
- package/dist/cjs/dropi-table.cjs.entry.js +124 -0
- package/dist/cjs/dropi-tabs.cjs.entry.js +3 -3
- package/dist/cjs/dropi-tag-type-product.cjs.entry.js +19 -0
- package/dist/cjs/dropi-tag.cjs.entry.js +3 -3
- package/dist/cjs/dropi-text-area.cjs.entry.js +8 -8
- package/dist/cjs/dropi-time-line.cjs.entry.js +2 -2
- package/dist/cjs/dropi-toast.cjs.entry.js +2 -2
- package/dist/cjs/dropi-tooltip.cjs.entry.js +2 -2
- package/dist/cjs/dropi-ui.cjs.js +2 -2
- package/dist/cjs/dropi-vertical-steps.cjs.entry.js +3 -3
- package/dist/cjs/dropi-youtube-lazy-video.cjs.entry.js +33 -0
- package/dist/cjs/{index-B6R6Ojma.js → index-DcOH2ZjX.js} +3 -3
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/collection/collection-manifest.json +25 -1
- package/dist/collection/components/dropi-accordion/dropi-accordion.js +1 -1
- package/dist/collection/components/dropi-alert/dropi-alert.css +25 -14
- package/dist/collection/components/dropi-alert/dropi-alert.js +2 -2
- package/dist/collection/components/dropi-alert-modal/dropi-alert-modal.css +73 -0
- package/dist/collection/components/dropi-alert-modal/dropi-alert-modal.js +395 -0
- package/dist/collection/components/dropi-avatars/dropi-avatars.js +1 -1
- package/dist/collection/components/dropi-badge/dropi-badge.js +1 -1
- package/dist/collection/components/dropi-banner-external/dropi-banner-external.css +56 -0
- package/dist/collection/components/dropi-banner-external/dropi-banner-external.js +179 -0
- package/dist/collection/components/dropi-breadcrumb/dropi-breadcrumb.css +69 -0
- package/dist/collection/components/dropi-breadcrumb/dropi-breadcrumb.js +171 -0
- package/dist/collection/components/dropi-button/dropi-button.css +4 -2
- package/dist/collection/components/dropi-button/dropi-button.js +24 -2
- package/dist/collection/components/dropi-card-checkbox/dropi-card-checkbox.css +90 -0
- package/dist/collection/components/dropi-card-checkbox/dropi-card-checkbox.js +219 -0
- package/dist/collection/components/dropi-card-product/dropi-card-product.css +158 -0
- package/dist/collection/components/dropi-card-product/dropi-card-product.js +353 -0
- package/dist/collection/components/dropi-card-section/dropi-card-section.js +2 -2
- package/dist/collection/components/dropi-carousel/dropi-carousel.css +103 -0
- package/dist/collection/components/dropi-carousel/dropi-carousel.js +277 -0
- package/dist/collection/components/dropi-checkbox/dropi-checkbox.js +2 -2
- package/dist/collection/components/dropi-checkbox-selection-list/dropi-checkbox-selection-list.js +2 -2
- package/dist/collection/components/dropi-chips/dropi-chips.css +2 -0
- package/dist/collection/components/dropi-chips/dropi-chips.js +1 -1
- package/dist/collection/components/dropi-city-selector/dropi-city-selector.css +156 -0
- package/dist/collection/components/dropi-city-selector/dropi-city-selector.js +213 -0
- package/dist/collection/components/dropi-color-picker/dropi-color-picker.css +183 -0
- package/dist/collection/components/dropi-color-picker/dropi-color-picker.js +235 -0
- package/dist/collection/components/dropi-country-flags/dropi-country-flags.css +30 -0
- package/dist/collection/components/dropi-country-flags/dropi-country-flags.js +129 -0
- package/dist/collection/components/dropi-country-selector/dropi-country-selector.css +164 -0
- package/dist/collection/components/dropi-country-selector/dropi-country-selector.js +327 -0
- package/dist/collection/components/dropi-date-picker/dropi-date-picker.css +150 -0
- package/dist/collection/components/dropi-date-picker/dropi-date-picker.js +434 -0
- package/dist/collection/components/dropi-date-picker-range/dropi-date-picker-range.css +143 -0
- package/dist/collection/components/dropi-date-picker-range/dropi-date-picker-range.js +327 -0
- package/dist/collection/components/dropi-drawer/dropi-drawer.css +107 -0
- package/dist/collection/components/dropi-drawer/dropi-drawer.js +198 -0
- package/dist/collection/components/dropi-dropdown/dropi-dropdown.js +1 -1
- package/dist/collection/components/dropi-empty-state/dropi-empty-state.css +1 -0
- package/dist/collection/components/dropi-empty-state/dropi-empty-state.js +45 -1
- package/dist/collection/components/dropi-favorite-button/dropi-favorite-button.js +1 -1
- package/dist/collection/components/dropi-file-upload/dropi-file-upload.css +66 -0
- package/dist/collection/components/dropi-file-upload/dropi-file-upload.js +257 -0
- package/dist/collection/components/dropi-file-upload-progress-bar/dropi-file-upload-progress-bar.css +111 -0
- package/dist/collection/components/dropi-file-upload-progress-bar/dropi-file-upload-progress-bar.js +198 -0
- package/dist/collection/components/dropi-icon/dropi-icon.js +1 -1
- package/dist/collection/components/dropi-ilustration-icon/dropi-ilustration-icon.css +91 -0
- package/dist/collection/components/dropi-ilustration-icon/dropi-ilustration-icon.js +150 -0
- package/dist/collection/components/dropi-image-miniature/dropi-image-miniature.js +1 -1
- package/dist/collection/components/dropi-image-overlay/dropi-image-overlay.css +83 -42
- package/dist/collection/components/dropi-image-overlay/dropi-image-overlay.js +1 -1
- package/dist/collection/components/dropi-input/dropi-input.js +2 -2
- package/dist/collection/components/dropi-languages-selector/dropi-languages-selector.css +79 -0
- package/dist/collection/components/dropi-languages-selector/dropi-languages-selector.js +154 -0
- package/dist/collection/components/dropi-logo/dropi-logo.js +2 -2
- package/dist/collection/components/dropi-lottie-loader/dropi-lottie-loader.js +7 -7
- package/dist/collection/components/dropi-media-player/dropi-media-player.css +127 -0
- package/dist/collection/components/dropi-media-player/dropi-media-player.js +294 -0
- package/dist/collection/components/dropi-modal/dropi-modal.css +9 -3
- package/dist/collection/components/dropi-modal/dropi-modal.js +10 -7
- package/dist/collection/components/dropi-navbar/dropi-navbar.css +166 -0
- package/dist/collection/components/dropi-navbar/dropi-navbar.js +286 -0
- package/dist/collection/components/dropi-otp-send-code/dropi-otp-send-code.css +16 -9
- package/dist/collection/components/dropi-otp-send-code/dropi-otp-send-code.js +2 -2
- package/dist/collection/components/dropi-paginator/dropi-paginator.js +2 -2
- package/dist/collection/components/dropi-phone-input/dropi-phone-input.css +152 -0
- package/dist/collection/components/dropi-phone-input/dropi-phone-input.js +272 -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.js +2 -2
- package/dist/collection/components/dropi-read-more/dropi-read-more.js +1 -1
- package/dist/collection/components/dropi-search/dropi-search.js +2 -2
- package/dist/collection/components/dropi-select/dropi-select.js +1 -1
- package/dist/collection/components/dropi-sidebar/dropi-sidebar.css +117 -0
- package/dist/collection/components/dropi-sidebar/dropi-sidebar.js +233 -0
- package/dist/collection/components/dropi-simple-stepper/dropi-simple-stepper.js +1 -1
- package/dist/collection/components/dropi-steps/dropi-steps.js +1 -1
- package/dist/collection/components/dropi-switch/dropi-switch.js +1 -1
- package/dist/collection/components/dropi-table/dropi-table.css +80 -0
- package/dist/collection/components/dropi-table/dropi-table.js +333 -0
- package/dist/collection/components/dropi-tabs/dropi-tabs.js +1 -1
- package/dist/collection/components/dropi-tag/dropi-tag.css +1 -2
- package/dist/collection/components/dropi-tag/dropi-tag.js +1 -1
- package/dist/collection/components/dropi-tag-type-product/dropi-tag-type-product.css +14 -0
- package/dist/collection/components/dropi-tag-type-product/dropi-tag-type-product.js +48 -0
- package/dist/collection/components/dropi-text-area/dropi-text-area.css +2 -1
- package/dist/collection/components/dropi-text-area/dropi-text-area.js +2 -2
- package/dist/collection/components/dropi-time-line/dropi-time-line.js +1 -1
- package/dist/collection/components/dropi-toast/dropi-toast.js +1 -1
- package/dist/collection/components/dropi-tooltip/dropi-tooltip.js +1 -1
- package/dist/collection/components/dropi-vertical-steps/dropi-vertical-steps.js +1 -1
- package/dist/collection/components/dropi-youtube-lazy-video/dropi-youtube-lazy-video.css +73 -0
- package/dist/collection/components/dropi-youtube-lazy-video/dropi-youtube-lazy-video.js +110 -0
- package/dist/components/dropi-accordion.js +1 -1
- package/dist/components/dropi-alert-modal.d.ts +11 -0
- package/dist/components/dropi-alert-modal.js +1 -0
- package/dist/components/dropi-alert.js +1 -1
- package/dist/components/dropi-avatars.js +1 -1
- package/dist/components/dropi-badge.js +1 -1
- package/dist/components/dropi-banner-external.d.ts +11 -0
- package/dist/components/dropi-banner-external.js +1 -0
- package/dist/components/dropi-breadcrumb.d.ts +11 -0
- package/dist/components/dropi-breadcrumb.js +1 -0
- package/dist/components/dropi-button.js +1 -1
- package/dist/components/dropi-card-checkbox.d.ts +11 -0
- package/dist/components/dropi-card-checkbox.js +1 -0
- package/dist/components/dropi-card-product.d.ts +11 -0
- package/dist/components/dropi-card-product.js +1 -0
- package/dist/components/dropi-card-section.js +1 -1
- package/dist/components/dropi-carousel.d.ts +11 -0
- package/dist/components/dropi-carousel.js +1 -0
- 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.d.ts +11 -0
- package/dist/components/dropi-city-selector.js +1 -0
- package/dist/components/dropi-color-picker.d.ts +11 -0
- package/dist/components/dropi-color-picker.js +1 -0
- package/dist/components/dropi-country-flags.d.ts +11 -0
- package/dist/components/dropi-country-flags.js +1 -0
- package/dist/components/dropi-country-selector.d.ts +11 -0
- package/dist/components/dropi-country-selector.js +1 -0
- package/dist/components/dropi-date-picker-range.d.ts +11 -0
- package/dist/components/dropi-date-picker-range.js +1 -0
- package/dist/components/dropi-date-picker.d.ts +11 -0
- package/dist/components/dropi-date-picker.js +1 -0
- package/dist/components/dropi-drawer.d.ts +11 -0
- package/dist/components/dropi-drawer.js +1 -0
- 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.d.ts +11 -0
- package/dist/components/dropi-file-upload-progress-bar.js +1 -0
- package/dist/components/dropi-file-upload.d.ts +11 -0
- package/dist/components/dropi-file-upload.js +1 -0
- package/dist/components/dropi-icon.js +1 -1
- package/dist/components/dropi-ilustration-icon.d.ts +11 -0
- package/dist/components/dropi-ilustration-icon.js +1 -0
- 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.d.ts +11 -0
- package/dist/components/dropi-languages-selector.js +1 -0
- package/dist/components/dropi-logo.js +1 -1
- package/dist/components/dropi-lottie-loader.js +1 -1
- package/dist/components/dropi-media-player.d.ts +11 -0
- package/dist/components/dropi-media-player.js +1 -0
- package/dist/components/dropi-modal.js +1 -1
- package/dist/components/dropi-navbar.d.ts +11 -0
- package/dist/components/dropi-navbar.js +1 -0
- package/dist/components/dropi-otp-send-code.js +1 -1
- package/dist/components/dropi-paginator.js +1 -1
- package/dist/components/dropi-phone-input.d.ts +11 -0
- package/dist/components/dropi-phone-input.js +1 -0
- 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.d.ts +11 -0
- package/dist/components/dropi-sidebar.js +1 -0
- package/dist/components/dropi-simple-stepper.js +1 -1
- package/dist/components/dropi-steps.js +1 -1
- package/dist/components/dropi-switch.js +1 -1
- package/dist/components/dropi-table.d.ts +11 -0
- package/dist/components/dropi-table.js +1 -0
- package/dist/components/dropi-tabs.js +1 -1
- package/dist/components/dropi-tag-type-product.d.ts +11 -0
- package/dist/components/dropi-tag-type-product.js +1 -0
- 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.js +1 -1
- package/dist/components/dropi-vertical-steps.js +1 -1
- package/dist/components/dropi-youtube-lazy-video.d.ts +11 -0
- package/dist/components/dropi-youtube-lazy-video.js +1 -0
- package/dist/components/index.js +1 -1
- package/dist/components/p-BY_J-4Sm.js +1 -0
- package/dist/components/p-CYCV-5qV.js +1 -0
- package/dist/components/p-D0ZJcRZn.js +1 -0
- package/dist/components/p-DUPOnSiL.js +1 -0
- package/dist/components/p-DUX_WvqW.js +1 -0
- package/dist/components/{p-CPs3fHRc.js → p-wO1yy0Zr.js} +1 -1
- package/dist/dropi-ui/dropi-ui.esm.js +1 -1
- package/dist/dropi-ui/p-053ebb91.entry.js +1 -0
- package/dist/dropi-ui/p-0acd32e6.entry.js +1 -0
- package/dist/dropi-ui/{p-ebfd4665.entry.js → p-0e88a543.entry.js} +1 -1
- package/dist/dropi-ui/p-0f2f5f75.entry.js +1 -0
- package/dist/dropi-ui/{p-2cee44f9.entry.js → p-131d87ac.entry.js} +1 -1
- package/dist/dropi-ui/p-1af4719d.entry.js +1 -0
- package/dist/dropi-ui/p-1e8f6d4a.entry.js +1 -0
- package/dist/dropi-ui/p-22132b1a.entry.js +1 -0
- package/dist/dropi-ui/p-2c1aaf6f.entry.js +1 -0
- package/dist/dropi-ui/p-2e9b87a9.entry.js +1 -0
- package/dist/dropi-ui/p-3414a414.entry.js +1 -0
- package/dist/dropi-ui/p-34ad54a1.entry.js +1 -0
- package/dist/dropi-ui/p-3531378b.entry.js +1 -0
- package/dist/dropi-ui/p-3983a7aa.entry.js +1 -0
- package/dist/dropi-ui/p-40e91337.entry.js +1 -0
- package/dist/dropi-ui/{p-c2316d4d.entry.js → p-4a8646e5.entry.js} +1 -1
- package/dist/dropi-ui/p-4be64bf0.entry.js +1 -0
- package/dist/dropi-ui/p-4ec17510.entry.js +1 -0
- package/dist/dropi-ui/p-5023eef0.entry.js +1 -0
- package/dist/dropi-ui/p-51a97b1a.entry.js +1 -0
- package/dist/dropi-ui/p-52796d84.entry.js +1 -0
- package/dist/dropi-ui/p-53a5bd7b.entry.js +1 -0
- package/dist/dropi-ui/p-5425f941.entry.js +1 -0
- package/dist/dropi-ui/p-58d0bf7a.entry.js +1 -0
- package/dist/dropi-ui/p-59d3bd9b.entry.js +1 -0
- package/dist/dropi-ui/p-5e957631.entry.js +1 -0
- package/dist/dropi-ui/p-64cbf4ea.entry.js +1 -0
- package/dist/dropi-ui/{p-c10cbb8d.entry.js → p-68080534.entry.js} +1 -1
- package/dist/dropi-ui/{p-cb5fd7a9.entry.js → p-6da6b97e.entry.js} +1 -1
- package/dist/dropi-ui/p-6df57f25.entry.js +1 -0
- package/dist/dropi-ui/p-7c916570.entry.js +1 -0
- package/dist/dropi-ui/p-7e95462a.entry.js +1 -0
- package/dist/dropi-ui/{p-30fdd316.entry.js → p-80089042.entry.js} +1 -1
- package/dist/dropi-ui/p-8768bb11.entry.js +1 -0
- package/dist/dropi-ui/p-896f2900.entry.js +1 -0
- package/dist/dropi-ui/p-89ac1ff2.entry.js +1 -0
- package/dist/dropi-ui/p-8ce79c69.entry.js +1 -0
- package/dist/dropi-ui/p-8e809670.entry.js +1 -0
- package/dist/dropi-ui/p-93b207b7.entry.js +1 -0
- package/dist/dropi-ui/p-983f72ad.entry.js +1 -0
- package/dist/dropi-ui/p-98babb78.entry.js +1 -0
- package/dist/dropi-ui/p-9fc53d50.entry.js +1 -0
- package/dist/dropi-ui/p-Tbza12Gt.js +2 -0
- package/dist/dropi-ui/p-a20705fe.entry.js +1 -0
- package/dist/dropi-ui/p-a72da98f.entry.js +1 -0
- package/dist/dropi-ui/p-a876d57c.entry.js +1 -0
- package/dist/dropi-ui/p-b1b0f938.entry.js +1 -0
- package/dist/dropi-ui/p-b2e176b1.entry.js +1 -0
- package/dist/dropi-ui/p-b41c8a6c.entry.js +1 -0
- package/dist/dropi-ui/p-b890fd5b.entry.js +1 -0
- package/dist/dropi-ui/p-bf5a53ef.entry.js +1 -0
- package/dist/dropi-ui/{p-e721127d.entry.js → p-c0677661.entry.js} +1 -1
- package/dist/dropi-ui/{p-a9116dbe.entry.js → p-c2562a1c.entry.js} +1 -1
- package/dist/dropi-ui/p-c2b5d0fb.entry.js +1 -0
- package/dist/dropi-ui/{p-061e1ad4.entry.js → p-c4d4396b.entry.js} +1 -1
- package/dist/dropi-ui/{p-724a2aea.entry.js → p-c9ebd31b.entry.js} +1 -1
- package/dist/dropi-ui/p-cecfb68e.entry.js +1 -0
- package/dist/dropi-ui/p-d0b47e2e.entry.js +1 -0
- package/dist/dropi-ui/p-dcefef51.entry.js +1 -0
- package/dist/dropi-ui/p-e4b7e15f.entry.js +1 -0
- package/dist/dropi-ui/{p-b0d3442e.entry.js → p-e7f4ed25.entry.js} +1 -1
- package/dist/dropi-ui/p-f1d69b15.entry.js +1 -0
- package/dist/esm/dropi-accordion.entry.js +3 -3
- package/dist/esm/dropi-alert-modal.entry.js +70 -0
- package/dist/esm/dropi-alert.entry.js +7 -7
- package/dist/esm/dropi-avatars.entry.js +2 -2
- package/dist/esm/dropi-badge.entry.js +2 -2
- package/dist/esm/dropi-banner-external.entry.js +45 -0
- package/dist/esm/dropi-breadcrumb.entry.js +46 -0
- package/dist/esm/dropi-button.entry.js +7 -5
- package/dist/esm/dropi-card-checkbox.entry.js +43 -0
- package/dist/esm/dropi-card-product.entry.js +57 -0
- package/dist/esm/dropi-card-section.entry.js +5 -5
- package/dist/esm/dropi-carousel.entry.js +81 -0
- package/dist/esm/dropi-checkbox-selection-list.entry.js +5 -5
- package/dist/esm/dropi-checkbox.entry.js +4 -4
- package/dist/esm/dropi-chips.entry.js +4 -4
- package/dist/esm/dropi-city-selector.entry.js +83 -0
- package/dist/esm/dropi-color-picker.entry.js +67 -0
- package/dist/esm/dropi-country-flags.entry.js +35 -0
- package/dist/esm/dropi-country-selector.entry.js +162 -0
- package/dist/esm/dropi-date-picker-range.entry.js +113 -0
- package/dist/esm/dropi-date-picker.entry.js +203 -0
- package/dist/esm/dropi-drawer.entry.js +48 -0
- package/dist/esm/dropi-dropdown.entry.js +3 -3
- package/dist/esm/dropi-empty-state.entry.js +9 -5
- package/dist/esm/dropi-favorite-button.entry.js +3 -3
- package/dist/esm/dropi-file-upload-progress-bar.entry.js +50 -0
- package/dist/esm/dropi-file-upload.entry.js +82 -0
- package/dist/esm/dropi-icon.entry.js +2 -2
- package/dist/esm/dropi-ilustration-icon.entry.js +37 -0
- package/dist/esm/dropi-image-miniature.entry.js +3 -3
- package/dist/esm/dropi-image-overlay.entry.js +4 -4
- package/dist/esm/dropi-input.entry.js +7 -7
- package/dist/esm/dropi-languages-selector.entry.js +55 -0
- package/dist/esm/dropi-logo.entry.js +3 -3
- package/dist/esm/dropi-lottie-loader.entry.js +5 -5
- package/dist/esm/dropi-media-player.entry.js +100 -0
- package/dist/esm/dropi-modal.entry.js +12 -9
- package/dist/esm/dropi-navbar.entry.js +50 -0
- package/dist/esm/dropi-otp-send-code.entry.js +6 -6
- package/dist/esm/dropi-paginator.entry.js +4 -4
- package/dist/esm/dropi-phone-input.entry.js +82 -0
- package/dist/esm/dropi-radio-button.entry.js +3 -3
- package/dist/esm/dropi-radio-selection-list.entry.js +5 -5
- package/dist/esm/dropi-read-more.entry.js +2 -2
- package/dist/esm/dropi-search.entry.js +8 -8
- package/dist/esm/dropi-select.entry.js +7 -7
- package/dist/esm/dropi-sidebar.entry.js +65 -0
- package/dist/esm/dropi-simple-stepper.entry.js +2 -2
- package/dist/esm/dropi-skeleton.entry.js +1 -1
- package/dist/esm/dropi-steps.entry.js +2 -2
- package/dist/esm/dropi-switch.entry.js +3 -3
- package/dist/esm/dropi-table.entry.js +122 -0
- package/dist/esm/dropi-tabs.entry.js +3 -3
- package/dist/esm/dropi-tag-type-product.entry.js +17 -0
- package/dist/esm/dropi-tag.entry.js +3 -3
- package/dist/esm/dropi-text-area.entry.js +8 -8
- package/dist/esm/dropi-time-line.entry.js +2 -2
- package/dist/esm/dropi-toast.entry.js +2 -2
- package/dist/esm/dropi-tooltip.entry.js +2 -2
- package/dist/esm/dropi-ui.js +3 -3
- package/dist/esm/dropi-vertical-steps.entry.js +3 -3
- package/dist/esm/dropi-youtube-lazy-video.entry.js +31 -0
- package/dist/esm/{index-Twbb5MNM.js → index-Tbza12Gt.js} +3 -3
- package/dist/esm/loader.js +3 -3
- package/dist/types/components/dropi-alert-modal/dropi-alert-modal.d.ts +48 -0
- package/dist/types/components/dropi-banner-external/dropi-banner-external.d.ts +30 -0
- package/dist/types/components/dropi-breadcrumb/dropi-breadcrumb.d.ts +31 -0
- package/dist/types/components/dropi-button/dropi-button.d.ts +2 -0
- package/dist/types/components/dropi-card-checkbox/dropi-card-checkbox.d.ts +33 -0
- package/dist/types/components/dropi-card-product/dropi-card-product.d.ts +39 -0
- package/dist/types/components/dropi-carousel/dropi-carousel.d.ts +40 -0
- package/dist/types/components/dropi-city-selector/dropi-city-selector.d.ts +46 -0
- package/dist/types/components/dropi-color-picker/dropi-color-picker.d.ts +31 -0
- package/dist/types/components/dropi-country-flags/dropi-country-flags.d.ts +19 -0
- package/dist/types/components/dropi-country-selector/dropi-country-selector.d.ts +39 -0
- package/dist/types/components/dropi-date-picker/dropi-date-picker.d.ts +47 -0
- package/dist/types/components/dropi-date-picker-range/dropi-date-picker-range.d.ts +50 -0
- package/dist/types/components/dropi-drawer/dropi-drawer.d.ts +25 -0
- package/dist/types/components/dropi-empty-state/dropi-empty-state.d.ts +4 -0
- package/dist/types/components/dropi-file-upload/dropi-file-upload.d.ts +37 -0
- package/dist/types/components/dropi-file-upload-progress-bar/dropi-file-upload-progress-bar.d.ts +25 -0
- package/dist/types/components/dropi-ilustration-icon/dropi-ilustration-icon.d.ts +24 -0
- package/dist/types/components/dropi-languages-selector/dropi-languages-selector.d.ts +31 -0
- package/dist/types/components/dropi-media-player/dropi-media-player.d.ts +44 -0
- package/dist/types/components/dropi-navbar/dropi-navbar.d.ts +40 -0
- package/dist/types/components/dropi-phone-input/dropi-phone-input.d.ts +34 -0
- package/dist/types/components/dropi-sidebar/dropi-sidebar.d.ts +35 -0
- package/dist/types/components/dropi-table/dropi-table.d.ts +57 -0
- package/dist/types/components/dropi-tag-type-product/dropi-tag-type-product.d.ts +9 -0
- package/dist/types/components/dropi-youtube-lazy-video/dropi-youtube-lazy-video.d.ts +19 -0
- package/dist/types/components.d.ts +4047 -1043
- package/package.json +1 -1
- package/scripts/setup.js +2 -0
- package/dist/components/p-DKXrREI4.js +0 -1
- package/dist/components/p-Ds74ZOlC.js +0 -1
- package/dist/components/p-WZTFyFH2.js +0 -1
- package/dist/dropi-ui/p-0c13dded.entry.js +0 -1
- package/dist/dropi-ui/p-121c8a09.entry.js +0 -1
- package/dist/dropi-ui/p-291a1416.entry.js +0 -1
- package/dist/dropi-ui/p-3537ee5a.entry.js +0 -1
- package/dist/dropi-ui/p-3d859657.entry.js +0 -1
- package/dist/dropi-ui/p-433d161d.entry.js +0 -1
- package/dist/dropi-ui/p-4bdfad16.entry.js +0 -1
- package/dist/dropi-ui/p-4ea7d3a7.entry.js +0 -1
- package/dist/dropi-ui/p-51c8ef68.entry.js +0 -1
- package/dist/dropi-ui/p-54780c90.entry.js +0 -1
- package/dist/dropi-ui/p-66deb85e.entry.js +0 -1
- package/dist/dropi-ui/p-68f81080.entry.js +0 -1
- package/dist/dropi-ui/p-74c37688.entry.js +0 -1
- package/dist/dropi-ui/p-7cec1cea.entry.js +0 -1
- package/dist/dropi-ui/p-7daa2677.entry.js +0 -1
- package/dist/dropi-ui/p-8906a68d.entry.js +0 -1
- package/dist/dropi-ui/p-Twbb5MNM.js +0 -2
- package/dist/dropi-ui/p-a4204ece.entry.js +0 -1
- package/dist/dropi-ui/p-a5650d8f.entry.js +0 -1
- package/dist/dropi-ui/p-b36b819f.entry.js +0 -1
- package/dist/dropi-ui/p-d1e1b716.entry.js +0 -1
- package/dist/dropi-ui/p-d5ecc394.entry.js +0 -1
- package/dist/dropi-ui/p-db6c9828.entry.js +0 -1
- package/dist/dropi-ui/p-e8557da0.entry.js +0 -1
- package/dist/dropi-ui/p-f3cef35a.entry.js +0 -1
- package/dist/dropi-ui/p-f6a69c4e.entry.js +0 -1
- package/dist/dropi-ui/p-ff45e7c8.entry.js +0 -1
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
+
export type AlertModalType = 'question' | 'warning' | 'success' | 'error' | 'loading';
|
|
3
|
+
/**
|
|
4
|
+
* @component dropi-alert-modal
|
|
5
|
+
* Confirmation/alert modal with Lottie animation, title, message and action buttons.
|
|
6
|
+
* Uses dropi-modal internally.
|
|
7
|
+
*
|
|
8
|
+
* @example
|
|
9
|
+
* const el = document.querySelector('dropi-alert-modal');
|
|
10
|
+
* el.visible = true;
|
|
11
|
+
*/
|
|
12
|
+
export declare class DropiAlertModal {
|
|
13
|
+
/** Controls visibility */
|
|
14
|
+
visible: boolean;
|
|
15
|
+
/** Modal type — determines Lottie animation */
|
|
16
|
+
type: AlertModalType;
|
|
17
|
+
/** Bold title */
|
|
18
|
+
alertTitle: string;
|
|
19
|
+
/** Body message */
|
|
20
|
+
message: string;
|
|
21
|
+
/** Primary button label */
|
|
22
|
+
primaryButton: string;
|
|
23
|
+
/** Secondary button label (hidden if empty) */
|
|
24
|
+
secondaryButton: string;
|
|
25
|
+
/** Show loading state with loading.json Lottie */
|
|
26
|
+
loading: boolean;
|
|
27
|
+
/** Show close icon in header */
|
|
28
|
+
closable: boolean;
|
|
29
|
+
/** Hide action buttons */
|
|
30
|
+
displayButtons: boolean;
|
|
31
|
+
/** Loading title */
|
|
32
|
+
loadingTitle: string;
|
|
33
|
+
/** Loading message */
|
|
34
|
+
loadingMessage: string;
|
|
35
|
+
/** Emitted when primary button is clicked */
|
|
36
|
+
dropiPrimary: EventEmitter<void>;
|
|
37
|
+
/** Emitted when secondary button is clicked */
|
|
38
|
+
dropiSecondary: EventEmitter<void>;
|
|
39
|
+
/** Emitted when modal is hidden */
|
|
40
|
+
dropiHide: EventEmitter<void>;
|
|
41
|
+
private readonly lottieMap;
|
|
42
|
+
show(): Promise<void>;
|
|
43
|
+
hide(): Promise<void>;
|
|
44
|
+
private handlePrimary;
|
|
45
|
+
private handleSecondary;
|
|
46
|
+
private onModalHide;
|
|
47
|
+
render(): any;
|
|
48
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
+
/**
|
|
3
|
+
* @component dropi-banner-external
|
|
4
|
+
* External banner image with optional link and close button.
|
|
5
|
+
* Pass imageUrl directly (the Angular version fetched from WordPress).
|
|
6
|
+
*
|
|
7
|
+
* @example
|
|
8
|
+
* <dropi-banner-external
|
|
9
|
+
* image-url="https://example.com/banner.jpg"
|
|
10
|
+
* link="https://dropi.co"
|
|
11
|
+
* ></dropi-banner-external>
|
|
12
|
+
*/
|
|
13
|
+
export declare class DropiBannerExternal {
|
|
14
|
+
/** Image URL to display */
|
|
15
|
+
imageUrl: string;
|
|
16
|
+
/** Optional click-through URL */
|
|
17
|
+
link: string;
|
|
18
|
+
/** Alt text for the image */
|
|
19
|
+
alt: string;
|
|
20
|
+
/** Background color behind the image */
|
|
21
|
+
backgroundColor: string;
|
|
22
|
+
private closed;
|
|
23
|
+
/** Emitted when the banner is clicked (only when no link is set) */
|
|
24
|
+
dropiBannerClick: EventEmitter<void>;
|
|
25
|
+
/** Emitted when the close button is clicked */
|
|
26
|
+
dropiBannerClose: EventEmitter<void>;
|
|
27
|
+
private handleClick;
|
|
28
|
+
private closeBanner;
|
|
29
|
+
render(): any;
|
|
30
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
+
export interface BreadcrumbItem {
|
|
3
|
+
label: string;
|
|
4
|
+
/** Internal route or external URL */
|
|
5
|
+
routerLink?: string;
|
|
6
|
+
url?: string;
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* @component dropi-breadcrumb
|
|
11
|
+
* Navigation breadcrumb with home icon and items.
|
|
12
|
+
*
|
|
13
|
+
* @example
|
|
14
|
+
* <dropi-breadcrumb
|
|
15
|
+
* items='[{"label":"Productos","routerLink":"/products"},{"label":"Detalle"}]'
|
|
16
|
+
* ></dropi-breadcrumb>
|
|
17
|
+
*/
|
|
18
|
+
export declare class DropiBreadcrumb {
|
|
19
|
+
/** Breadcrumb items (array or JSON string). Last item is rendered as current. */
|
|
20
|
+
items: BreadcrumbItem[] | string;
|
|
21
|
+
/** Home link href */
|
|
22
|
+
homeRoute: string;
|
|
23
|
+
/** dropi-icon name for home */
|
|
24
|
+
homeIconName: string;
|
|
25
|
+
/** Whether the last item is also clickable */
|
|
26
|
+
lastItemClickable: boolean;
|
|
27
|
+
/** Emitted when any item or home is clicked. Detail is the item or homeRoute string. */
|
|
28
|
+
dropiNavigate: EventEmitter<BreadcrumbItem | string>;
|
|
29
|
+
private get parsedItems();
|
|
30
|
+
render(): any;
|
|
31
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
+
/**
|
|
3
|
+
* @component dropi-card-checkbox
|
|
4
|
+
* Card-style clickable checkbox with title, description, and optional extra info.
|
|
5
|
+
*
|
|
6
|
+
* @example
|
|
7
|
+
* <dropi-card-checkbox
|
|
8
|
+
* title="Opción A"
|
|
9
|
+
* description="Descripción breve"
|
|
10
|
+
* type="with-card"
|
|
11
|
+
* checked
|
|
12
|
+
* ></dropi-card-checkbox>
|
|
13
|
+
*/
|
|
14
|
+
export declare class DropiCardCheckbox {
|
|
15
|
+
/** Visual type: 'default' = no border, 'with-card' = bordered card */
|
|
16
|
+
type: 'default' | 'with-card';
|
|
17
|
+
/** Whether the checkbox is checked */
|
|
18
|
+
checked: boolean;
|
|
19
|
+
/** Main title */
|
|
20
|
+
cardTitle: string;
|
|
21
|
+
/** Optional description below title */
|
|
22
|
+
description: string;
|
|
23
|
+
/** Optional extra info shown on the right */
|
|
24
|
+
extraInfo: string;
|
|
25
|
+
/** Optional extra info description shown below extraInfo */
|
|
26
|
+
extraInfoDescription: string;
|
|
27
|
+
/** Disables interaction */
|
|
28
|
+
disabled: boolean;
|
|
29
|
+
/** Emitted with the new checked state when clicked */
|
|
30
|
+
dropiChange: EventEmitter<boolean>;
|
|
31
|
+
private handleClick;
|
|
32
|
+
render(): any;
|
|
33
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
+
/**
|
|
3
|
+
* @component dropi-card-product
|
|
4
|
+
* Product card showing image, name, price, supplier, and action buttons.
|
|
5
|
+
*/
|
|
6
|
+
export declare class DropiCardProduct {
|
|
7
|
+
/** Product image URL */
|
|
8
|
+
image: string;
|
|
9
|
+
/** Product name */
|
|
10
|
+
productName: string;
|
|
11
|
+
/** Product price */
|
|
12
|
+
price: number;
|
|
13
|
+
/** Price currency symbol */
|
|
14
|
+
currency: string;
|
|
15
|
+
/** Supplier / store name */
|
|
16
|
+
supplier: string;
|
|
17
|
+
/** Category label */
|
|
18
|
+
category: string;
|
|
19
|
+
/** Show favorite button */
|
|
20
|
+
showFavorite: boolean;
|
|
21
|
+
/** Is marked as favorite */
|
|
22
|
+
isFavorite: boolean;
|
|
23
|
+
/** Show "Add to store" button */
|
|
24
|
+
showAddButton: boolean;
|
|
25
|
+
/** Badge text (e.g. "Nuevo", "Oferta") */
|
|
26
|
+
badge: string;
|
|
27
|
+
/** Badge color variant */
|
|
28
|
+
badgeType: 'success' | 'warning' | 'error' | 'info' | 'default';
|
|
29
|
+
/** Stock availability */
|
|
30
|
+
inStock: boolean;
|
|
31
|
+
/** Emitted when card is clicked */
|
|
32
|
+
dropiCardClick: EventEmitter<void>;
|
|
33
|
+
/** Emitted when favorite toggled */
|
|
34
|
+
dropiToggleFavorite: EventEmitter<boolean>;
|
|
35
|
+
/** Emitted when "Add" button clicked */
|
|
36
|
+
dropiAddProduct: EventEmitter<void>;
|
|
37
|
+
private formatPrice;
|
|
38
|
+
render(): any;
|
|
39
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
+
/**
|
|
3
|
+
* @component dropi-carousel
|
|
4
|
+
* Image/content carousel with navigation arrows, dots pagination,
|
|
5
|
+
* autoplay, and optional thumbnails.
|
|
6
|
+
*/
|
|
7
|
+
export declare class DropiCarousel {
|
|
8
|
+
/** Array of image URLs or JSON string */
|
|
9
|
+
images: string[] | string;
|
|
10
|
+
/** Alt text prefix for images */
|
|
11
|
+
altPrefix: string;
|
|
12
|
+
/** Show navigation arrows */
|
|
13
|
+
showArrows: boolean;
|
|
14
|
+
/** Show dot indicators */
|
|
15
|
+
showDots: boolean;
|
|
16
|
+
/** Show thumbnail strip */
|
|
17
|
+
showThumbs: boolean;
|
|
18
|
+
/** Autoplay interval in ms (0 = disabled) */
|
|
19
|
+
autoplay: number;
|
|
20
|
+
/** Active index (controlled) */
|
|
21
|
+
activeIndex: number;
|
|
22
|
+
/** Object-fit for images */
|
|
23
|
+
objectFit: 'cover' | 'contain';
|
|
24
|
+
private parsedImages;
|
|
25
|
+
private current;
|
|
26
|
+
private timer;
|
|
27
|
+
/** Emitted when slide changes. e.detail = new index */
|
|
28
|
+
dropiSlideChange: EventEmitter<number>;
|
|
29
|
+
imagesChanged(val: string[] | string): void;
|
|
30
|
+
activeIndexChanged(val: number): void;
|
|
31
|
+
componentWillLoad(): void;
|
|
32
|
+
componentDidLoad(): void;
|
|
33
|
+
disconnectedCallback(): void;
|
|
34
|
+
private startAutoplay;
|
|
35
|
+
private stopAutoplay;
|
|
36
|
+
private go;
|
|
37
|
+
private prev;
|
|
38
|
+
private next;
|
|
39
|
+
render(): any;
|
|
40
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
+
export interface CityOption {
|
|
3
|
+
label: string;
|
|
4
|
+
value: string | number;
|
|
5
|
+
}
|
|
6
|
+
export interface CityGroup {
|
|
7
|
+
label: string;
|
|
8
|
+
value: string;
|
|
9
|
+
items: CityOption[];
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* @component dropi-city-selector
|
|
13
|
+
* Multi-select city picker with grouped options and chip display.
|
|
14
|
+
* Pass options as a JSON string or CityGroup[] array.
|
|
15
|
+
*
|
|
16
|
+
* @example
|
|
17
|
+
* <dropi-city-selector
|
|
18
|
+
* options='[{"label":"Cundinamarca","value":"CUN","items":[{"label":"Bogotá","value":"BOG"}]}]'
|
|
19
|
+
* placeholder="Selecciona ciudades"
|
|
20
|
+
* ></dropi-city-selector>
|
|
21
|
+
*/
|
|
22
|
+
export declare class DropiCitySelector {
|
|
23
|
+
/** Grouped city options (array or JSON string) */
|
|
24
|
+
options: CityGroup[] | string;
|
|
25
|
+
/** Currently selected city values */
|
|
26
|
+
selectedCities: (string | number)[] | string;
|
|
27
|
+
/** Placeholder text */
|
|
28
|
+
placeholder: string;
|
|
29
|
+
/** Disable the selector */
|
|
30
|
+
disabled: boolean;
|
|
31
|
+
/** Emitted when selection changes. Detail = selected values array. */
|
|
32
|
+
dropiCityChange: EventEmitter<(string | number)[]>;
|
|
33
|
+
private isOpen;
|
|
34
|
+
private selected;
|
|
35
|
+
private parsedOptions;
|
|
36
|
+
private searchTerm;
|
|
37
|
+
optionsChanged(val: CityGroup[] | string): void;
|
|
38
|
+
selectedChanged(val: (string | number)[] | string): void;
|
|
39
|
+
componentWillLoad(): void;
|
|
40
|
+
private get filtered();
|
|
41
|
+
private toggle;
|
|
42
|
+
private toggleCity;
|
|
43
|
+
private removeCity;
|
|
44
|
+
private getLabel;
|
|
45
|
+
render(): any;
|
|
46
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
+
/**
|
|
3
|
+
* @component dropi-color-picker
|
|
4
|
+
* Color picker with hex input, opacity slider, and preset swatches.
|
|
5
|
+
*/
|
|
6
|
+
export declare class DropiColorPicker {
|
|
7
|
+
/** Current color value (hex string) */
|
|
8
|
+
value: string;
|
|
9
|
+
/** Show opacity slider */
|
|
10
|
+
showOpacity: boolean;
|
|
11
|
+
/** Opacity value 0–100 */
|
|
12
|
+
opacity: number;
|
|
13
|
+
/** Label */
|
|
14
|
+
label: string;
|
|
15
|
+
/** Disabled */
|
|
16
|
+
disabled: boolean;
|
|
17
|
+
/** Show preset swatches */
|
|
18
|
+
showPresets: boolean;
|
|
19
|
+
private open;
|
|
20
|
+
private hexInput;
|
|
21
|
+
/** Emitted when color changes. e.detail = hex string */
|
|
22
|
+
dropiColorChange: EventEmitter<string>;
|
|
23
|
+
/** Emitted when opacity changes. e.detail = 0-100 */
|
|
24
|
+
dropiOpacityChange: EventEmitter<number>;
|
|
25
|
+
componentWillLoad(): void;
|
|
26
|
+
private selectColor;
|
|
27
|
+
private handleHexInput;
|
|
28
|
+
private handleOpacity;
|
|
29
|
+
private handleNativeColor;
|
|
30
|
+
render(): any;
|
|
31
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @component dropi-country-flags
|
|
3
|
+
* Displays a country flag image. Supports circle, rectangle, and flat styles.
|
|
4
|
+
*
|
|
5
|
+
* @example
|
|
6
|
+
* <dropi-country-flags country="CO" style="circle"></dropi-country-flags>
|
|
7
|
+
*/
|
|
8
|
+
export declare class DropiCountryFlags {
|
|
9
|
+
/** ISO 3166-1 alpha-2 country code (e.g. "CO", "US") */
|
|
10
|
+
country: string;
|
|
11
|
+
/** Visual style: circle uses circle-flags CDN, rectangle/flat uses flagsapi */
|
|
12
|
+
flagStyle: 'circle' | 'rectangle' | 'flat';
|
|
13
|
+
/** Width in px */
|
|
14
|
+
width: string;
|
|
15
|
+
/** Height in px */
|
|
16
|
+
height: string;
|
|
17
|
+
private get src();
|
|
18
|
+
render(): any;
|
|
19
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
+
export interface CountryItem {
|
|
3
|
+
name: string;
|
|
4
|
+
code: string;
|
|
5
|
+
codePhone: string;
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* @component dropi-country-selector
|
|
9
|
+
* Searchable country dropdown with flag images. Mirrors Angular dropi-country-selector.
|
|
10
|
+
*
|
|
11
|
+
* @example
|
|
12
|
+
* <dropi-country-selector label="País" placeholder="Selecciona un país"></dropi-country-selector>
|
|
13
|
+
*/
|
|
14
|
+
export declare class DropiCountrySelector {
|
|
15
|
+
/** Label above the select */
|
|
16
|
+
label: string;
|
|
17
|
+
/** Placeholder when nothing is selected */
|
|
18
|
+
placeholder: string;
|
|
19
|
+
/** Pre-selected country code (ISO 3166-1 alpha-2) */
|
|
20
|
+
value: string;
|
|
21
|
+
/** Whether the selector is disabled */
|
|
22
|
+
disabled: boolean;
|
|
23
|
+
/** Show asterisk for required field */
|
|
24
|
+
showObligatory: boolean;
|
|
25
|
+
/** Show error border */
|
|
26
|
+
invalid: boolean;
|
|
27
|
+
/** Emitted when a country is selected. Detail is the CountryItem. */
|
|
28
|
+
dropiCountryChange: EventEmitter<CountryItem>;
|
|
29
|
+
private isOpen;
|
|
30
|
+
private selected;
|
|
31
|
+
private searchTerm;
|
|
32
|
+
private searchInputRef?;
|
|
33
|
+
valueChanged(val: string): void;
|
|
34
|
+
componentWillLoad(): void;
|
|
35
|
+
private get filtered();
|
|
36
|
+
private open;
|
|
37
|
+
private select;
|
|
38
|
+
render(): any;
|
|
39
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
+
/**
|
|
3
|
+
* @component dropi-date-picker
|
|
4
|
+
* Calendar date picker with optional date range mode.
|
|
5
|
+
* Emits ISO date strings (YYYY-MM-DD).
|
|
6
|
+
*/
|
|
7
|
+
export declare class DropiDatePicker {
|
|
8
|
+
/** Selected date (ISO string, single mode) */
|
|
9
|
+
value: string;
|
|
10
|
+
/** Range start date (ISO string, range mode) */
|
|
11
|
+
startDate: string;
|
|
12
|
+
/** Range end date (ISO string, range mode) */
|
|
13
|
+
endDate: string;
|
|
14
|
+
/** Enable range selection */
|
|
15
|
+
range: boolean;
|
|
16
|
+
/** Min selectable date (ISO string) */
|
|
17
|
+
minDate: string;
|
|
18
|
+
/** Max selectable date (ISO string) */
|
|
19
|
+
maxDate: string;
|
|
20
|
+
/** Label */
|
|
21
|
+
label: string;
|
|
22
|
+
/** Placeholder */
|
|
23
|
+
placeholder: string;
|
|
24
|
+
/** Disabled */
|
|
25
|
+
disabled: boolean;
|
|
26
|
+
private open;
|
|
27
|
+
private viewYear;
|
|
28
|
+
private viewMonth;
|
|
29
|
+
private hoverDate;
|
|
30
|
+
/** Emitted when single date selected. e.detail = ISO date */
|
|
31
|
+
dropiDateChange: EventEmitter<string>;
|
|
32
|
+
/** Emitted when range selected. e.detail = { start, end } */
|
|
33
|
+
dropiRangeChange: EventEmitter<{
|
|
34
|
+
start: string;
|
|
35
|
+
end: string;
|
|
36
|
+
}>;
|
|
37
|
+
private get displayValue();
|
|
38
|
+
private open_;
|
|
39
|
+
private prevMonth;
|
|
40
|
+
private nextMonth;
|
|
41
|
+
private toISO;
|
|
42
|
+
private isDisabled;
|
|
43
|
+
private isInRange;
|
|
44
|
+
private selectDate;
|
|
45
|
+
private buildDays;
|
|
46
|
+
render(): any;
|
|
47
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
+
export interface DateRange {
|
|
3
|
+
start: string;
|
|
4
|
+
end: string;
|
|
5
|
+
}
|
|
6
|
+
/**
|
|
7
|
+
* @component dropi-date-picker-range
|
|
8
|
+
* Date range picker with shortcut buttons (Today, Last 7/15/30/90 days).
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* <dropi-date-picker-range show-label></dropi-date-picker-range>
|
|
12
|
+
*/
|
|
13
|
+
export declare class DropiDatePickerRange {
|
|
14
|
+
/** Start date (YYYY-MM-DD) */
|
|
15
|
+
startDate: string;
|
|
16
|
+
/** End date (YYYY-MM-DD) */
|
|
17
|
+
endDate: string;
|
|
18
|
+
/** Show "Rango de fechas" label */
|
|
19
|
+
showLabel: boolean;
|
|
20
|
+
/** Input placeholder */
|
|
21
|
+
placeholder: string;
|
|
22
|
+
/** Show loading skeleton */
|
|
23
|
+
loading: boolean;
|
|
24
|
+
/** Max allowed range in days (0 = unlimited) */
|
|
25
|
+
maxDaysRange: number;
|
|
26
|
+
/** Hide "Hoy" shortcut */
|
|
27
|
+
hideTodayRangeShortcut: boolean;
|
|
28
|
+
/** Emitted when start date changes */
|
|
29
|
+
dropiStartDateChange: EventEmitter<string>;
|
|
30
|
+
/** Emitted when end date changes */
|
|
31
|
+
dropiEndDateChange: EventEmitter<string>;
|
|
32
|
+
/** Emitted with full range when both dates are set */
|
|
33
|
+
dropiRangeChange: EventEmitter<DateRange>;
|
|
34
|
+
private start;
|
|
35
|
+
private end;
|
|
36
|
+
private activeRange;
|
|
37
|
+
private showWarning;
|
|
38
|
+
onStartPropChange(val: string): void;
|
|
39
|
+
onEndPropChange(val: string): void;
|
|
40
|
+
componentWillLoad(): void;
|
|
41
|
+
private get today();
|
|
42
|
+
private daysAgo;
|
|
43
|
+
private get shortcuts();
|
|
44
|
+
private selectShortcut;
|
|
45
|
+
private onStartChange;
|
|
46
|
+
private onEndChange;
|
|
47
|
+
private checkRange;
|
|
48
|
+
private emit;
|
|
49
|
+
render(): any;
|
|
50
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
+
/**
|
|
3
|
+
* @component dropi-drawer
|
|
4
|
+
* Slide-in panel from any side of the screen with backdrop.
|
|
5
|
+
* Supports header title, close button, and slotted content/footer.
|
|
6
|
+
*/
|
|
7
|
+
export declare class DropiDrawer {
|
|
8
|
+
/** Controls visibility */
|
|
9
|
+
open: boolean;
|
|
10
|
+
/** Side from which the drawer slides in */
|
|
11
|
+
position: 'left' | 'right' | 'top' | 'bottom';
|
|
12
|
+
/** Drawer title */
|
|
13
|
+
drawerTitle: string;
|
|
14
|
+
/** Width (for left/right drawers) */
|
|
15
|
+
width: string;
|
|
16
|
+
/** Height (for top/bottom drawers) */
|
|
17
|
+
height: string;
|
|
18
|
+
/** Close on backdrop click */
|
|
19
|
+
closeOnBackdrop: boolean;
|
|
20
|
+
/** Emitted when drawer closes */
|
|
21
|
+
dropiClose: EventEmitter<void>;
|
|
22
|
+
openChanged(val: boolean): void;
|
|
23
|
+
private close;
|
|
24
|
+
render(): any;
|
|
25
|
+
}
|
|
@@ -14,8 +14,12 @@ export declare class DropiEmptyState {
|
|
|
14
14
|
imageAlt: string;
|
|
15
15
|
/** Primary action button label (empty = hidden) */
|
|
16
16
|
actionLabel: string;
|
|
17
|
+
/** State of the illustration (default, loading, sorry, love, success, error) */
|
|
18
|
+
iconState: 'default' | 'loading' | 'sorry' | 'love' | 'success' | 'error' | 'warning' | 'info';
|
|
17
19
|
/** Secondary action button label (empty = hidden) */
|
|
18
20
|
secondaryLabel: string;
|
|
21
|
+
/** Severity for the action buttons */
|
|
22
|
+
actionSeverity: 'primary' | 'secondary' | 'tertiary';
|
|
19
23
|
/** Emitted when primary action button is clicked */
|
|
20
24
|
dropiAction: EventEmitter<void>;
|
|
21
25
|
/** Emitted when secondary action button is clicked */
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
+
export interface UploadedFile {
|
|
3
|
+
name: string;
|
|
4
|
+
size: number;
|
|
5
|
+
type: string;
|
|
6
|
+
dataUrl?: string;
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* @component dropi-file-upload
|
|
10
|
+
* Drag-and-drop file upload zone with file type/size validation.
|
|
11
|
+
* Emits selected files as UploadedFile objects.
|
|
12
|
+
*/
|
|
13
|
+
export declare class DropiFileUpload {
|
|
14
|
+
/** Accepted MIME types (comma-separated, e.g. "image/*,application/pdf") */
|
|
15
|
+
accept: string;
|
|
16
|
+
/** Allow multiple file selection */
|
|
17
|
+
multiple: boolean;
|
|
18
|
+
/** Max file size in MB */
|
|
19
|
+
maxSizeMb: number;
|
|
20
|
+
/** Disabled state */
|
|
21
|
+
disabled: boolean;
|
|
22
|
+
/** Label text above zone */
|
|
23
|
+
label: string;
|
|
24
|
+
/** Helper text inside drop zone */
|
|
25
|
+
helperText: string;
|
|
26
|
+
private dragging;
|
|
27
|
+
private errors;
|
|
28
|
+
private inputRef;
|
|
29
|
+
/** Emitted with array of UploadedFile when files are selected/dropped */
|
|
30
|
+
dropiFilesSelected: EventEmitter<UploadedFile[]>;
|
|
31
|
+
/** Emitted when a file fails validation. e.detail = error message */
|
|
32
|
+
dropiFileError: EventEmitter<string>;
|
|
33
|
+
private readFiles;
|
|
34
|
+
private handleDrop;
|
|
35
|
+
private handleInputChange;
|
|
36
|
+
render(): any;
|
|
37
|
+
}
|
package/dist/types/components/dropi-file-upload-progress-bar/dropi-file-upload-progress-bar.d.ts
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
+
/**
|
|
3
|
+
* @component dropi-file-upload-progress-bar
|
|
4
|
+
* Shows upload progress for a single file with name, size, progress bar, and status.
|
|
5
|
+
*/
|
|
6
|
+
export declare class DropiFileUploadProgressBar {
|
|
7
|
+
/** File name */
|
|
8
|
+
fileName: string;
|
|
9
|
+
/** File size label (e.g. "1.2 MB") */
|
|
10
|
+
fileSize: string;
|
|
11
|
+
/** Upload progress 0–100 */
|
|
12
|
+
progress: number;
|
|
13
|
+
/** Current status */
|
|
14
|
+
status: 'uploading' | 'success' | 'error' | 'paused';
|
|
15
|
+
/** Error message shown when status is "error" */
|
|
16
|
+
errorMessage: string;
|
|
17
|
+
/** Show cancel/remove button */
|
|
18
|
+
showCancel: boolean;
|
|
19
|
+
/** Emitted when cancel/remove clicked */
|
|
20
|
+
dropiCancel: EventEmitter<void>;
|
|
21
|
+
private get clampedProgress();
|
|
22
|
+
private get iconName();
|
|
23
|
+
private get iconColor();
|
|
24
|
+
render(): any;
|
|
25
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export type IlustrationType = 'dropi' | 'mb' | 'insignia';
|
|
2
|
+
export type IlustrationState = 'success' | 'error' | 'warning' | 'info' | 'default' | 'loading' | 'sorry' | 'love';
|
|
3
|
+
export type InsigniaState = 'verified' | 'premium' | 'exclusive';
|
|
4
|
+
/**
|
|
5
|
+
* @component dropi-ilustration-icon
|
|
6
|
+
* Illustration icon with three modes: dropi (SVG asset), mb (colored circle), insignia (badge).
|
|
7
|
+
*
|
|
8
|
+
* @example
|
|
9
|
+
* <dropi-ilustration-icon type="dropi" state="success"></dropi-ilustration-icon>
|
|
10
|
+
* <dropi-ilustration-icon type="insignia" state-insignia="premium" tag-product></dropi-ilustration-icon>
|
|
11
|
+
*/
|
|
12
|
+
export declare class DropiIlustrationIcon {
|
|
13
|
+
/** Display mode */
|
|
14
|
+
type: IlustrationType;
|
|
15
|
+
/** State for dropi/mb types */
|
|
16
|
+
state: IlustrationState;
|
|
17
|
+
/** Insignia variant */
|
|
18
|
+
stateInsignia: InsigniaState;
|
|
19
|
+
/** Show insignia as tag with label (for product cards) */
|
|
20
|
+
tagProduct: boolean;
|
|
21
|
+
private readonly insigniaIcons;
|
|
22
|
+
private getIconName;
|
|
23
|
+
render(): any;
|
|
24
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
+
export interface LanguageOption {
|
|
3
|
+
code: string;
|
|
4
|
+
label: string;
|
|
5
|
+
/** ISO country code for the flag (e.g. "CO", "US") */
|
|
6
|
+
flag: string;
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* @component dropi-languages-selector
|
|
10
|
+
* Dropdown to switch between languages, showing country flag + label.
|
|
11
|
+
*
|
|
12
|
+
* @example
|
|
13
|
+
* <dropi-languages-selector
|
|
14
|
+
* languages='[{"code":"es","label":"Español","flag":"CO"},{"code":"en","label":"English","flag":"US"}]'
|
|
15
|
+
* ></dropi-languages-selector>
|
|
16
|
+
*/
|
|
17
|
+
export declare class DropiLanguagesSelector {
|
|
18
|
+
/** Language options (array or JSON string) */
|
|
19
|
+
languages: LanguageOption[] | string;
|
|
20
|
+
/** Currently selected language (LanguageOption or JSON string) */
|
|
21
|
+
selectedLang: LanguageOption | string | null;
|
|
22
|
+
dropiLanguageChange: EventEmitter<LanguageOption>;
|
|
23
|
+
private isOpen;
|
|
24
|
+
private parsedLanguages;
|
|
25
|
+
private currentLang;
|
|
26
|
+
languagesChanged(val: LanguageOption[] | string): void;
|
|
27
|
+
selectedLangChanged(val: LanguageOption | string | null): void;
|
|
28
|
+
componentWillLoad(): void;
|
|
29
|
+
private select;
|
|
30
|
+
render(): any;
|
|
31
|
+
}
|