@dropi/ui 0.1.27 → 0.1.29
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 +54 -0
- package/dist/cjs/dropi-accordion.cjs.entry.js +19 -0
- package/dist/cjs/dropi-alert-legacy.cjs.entry.js +39 -0
- package/dist/cjs/dropi-alert-modal.cjs.entry.js +128 -0
- package/dist/cjs/dropi-alert.cjs.entry.js +64 -0
- package/dist/cjs/dropi-avatars.cjs.entry.js +31 -0
- package/dist/cjs/dropi-badge-legacy.cjs.entry.js +30 -0
- package/dist/cjs/dropi-badge.cjs.entry.js +37 -0
- package/dist/cjs/dropi-banner-external.cjs.entry.js +63 -0
- package/dist/cjs/dropi-breadcrumb.cjs.entry.js +48 -0
- package/dist/cjs/dropi-button.cjs.entry.js +87 -0
- package/dist/cjs/dropi-card-checkbox.cjs.entry.js +48 -0
- package/dist/cjs/dropi-card-product.cjs.entry.js +78 -0
- package/dist/cjs/dropi-card-section.cjs.entry.js +38 -0
- package/dist/cjs/dropi-carousel.cjs.entry.js +153 -0
- package/dist/cjs/dropi-checkbox-selection-list.cjs.entry.js +73 -0
- package/dist/cjs/dropi-checkbox.cjs.entry.js +36 -0
- package/dist/cjs/dropi-chips.cjs.entry.js +30 -0
- package/dist/cjs/dropi-city-selector.cjs.entry.js +104 -0
- package/dist/cjs/dropi-color-picker.cjs.entry.js +319 -0
- package/dist/cjs/dropi-country-flags.cjs.entry.js +37 -0
- package/dist/cjs/dropi-country-selector.cjs.entry.js +197 -0
- package/dist/cjs/dropi-date-picker-range.cjs.entry.js +115 -0
- package/dist/cjs/dropi-date-picker.cjs.entry.js +223 -0
- package/dist/cjs/dropi-drawer.cjs.entry.js +79 -0
- package/dist/cjs/dropi-dropdown.cjs.entry.js +65 -0
- package/dist/cjs/dropi-empty-state.cjs.entry.js +36 -0
- package/dist/cjs/dropi-favorite-button.cjs.entry.js +27 -0
- package/dist/cjs/dropi-file-upload-progress-bar.cjs.entry.js +77 -0
- package/dist/cjs/dropi-file-upload.cjs.entry.js +237 -0
- package/dist/cjs/dropi-icon.cjs.entry.js +67 -0
- package/dist/cjs/dropi-ilustration-icon.cjs.entry.js +39 -0
- package/dist/cjs/dropi-image-miniature.cjs.entry.js +44 -0
- package/dist/cjs/dropi-image-overlay.cjs.entry.js +63 -0
- package/dist/cjs/dropi-input_3.cjs.entry.js +392 -0
- package/dist/cjs/dropi-languages-selector.cjs.entry.js +61 -0
- package/dist/cjs/dropi-logo.cjs.entry.js +37 -0
- package/dist/cjs/dropi-lottie-loader.cjs.entry.js +27 -0
- package/dist/cjs/dropi-media-player.cjs.entry.js +192 -0
- package/dist/cjs/dropi-modal.cjs.entry.js +142 -0
- package/dist/cjs/dropi-navbar.cjs.entry.js +54 -0
- package/dist/cjs/dropi-otp-send-code.cjs.entry.js +92 -0
- package/dist/cjs/dropi-phone-input.cjs.entry.js +197 -0
- package/dist/cjs/dropi-radio-button.cjs.entry.js +47 -0
- package/dist/cjs/dropi-radio-selection-list.cjs.entry.js +60 -0
- package/dist/cjs/dropi-read-more.cjs.entry.js +40 -0
- package/dist/cjs/dropi-search.cjs.entry.js +124 -0
- package/dist/cjs/dropi-select.cjs.entry.js +382 -0
- package/dist/cjs/dropi-sidebar.cjs.entry.js +78 -0
- package/dist/cjs/dropi-simple-stepper.cjs.entry.js +53 -0
- package/dist/cjs/dropi-skeleton.cjs.entry.js +57 -0
- package/dist/cjs/dropi-steps.cjs.entry.js +52 -0
- package/dist/cjs/dropi-switch.cjs.entry.js +30 -0
- package/dist/cjs/dropi-table.cjs.entry.js +299 -0
- package/dist/cjs/dropi-tabs.cjs.entry.js +51 -0
- package/dist/cjs/dropi-tag-type-product.cjs.entry.js +19 -0
- package/dist/cjs/dropi-text-area.cjs.entry.js +134 -0
- package/dist/cjs/dropi-time-line.cjs.entry.js +34 -0
- package/dist/cjs/dropi-toast.cjs.entry.js +56 -0
- package/dist/cjs/dropi-tooltip-v2.cjs.entry.js +131 -0
- package/dist/cjs/dropi-tooltip.cjs.entry.js +21 -0
- package/dist/cjs/dropi-ui.cjs.js +24 -0
- package/dist/cjs/dropi-vertical-steps.cjs.entry.js +55 -0
- package/dist/cjs/dropi-youtube-lazy-video.cjs.entry.js +33 -0
- package/dist/cjs/index-C8kwDvpf.js +2773 -0
- package/dist/cjs/index.cjs.js +2 -0
- package/dist/cjs/loader.cjs.js +12 -0
- package/dist/collection/assets/icons/symbol/svg/sprite.css.svg +1 -0
- package/dist/collection/collection-manifest.json +77 -0
- package/dist/collection/components/dropi-accordion/dropi-accordion-item.css +45 -0
- package/dist/collection/components/dropi-accordion/dropi-accordion-item.js +172 -0
- package/dist/collection/components/dropi-accordion/dropi-accordion.css +21 -0
- package/dist/collection/components/dropi-accordion/dropi-accordion.js +48 -0
- package/dist/collection/components/dropi-alert/dropi-alert.css +128 -0
- package/dist/collection/components/dropi-alert/dropi-alert.js +371 -0
- package/dist/collection/components/dropi-alert-legacy/dropi-alert-legacy.css +31 -0
- package/dist/collection/components/dropi-alert-legacy/dropi-alert-legacy.js +128 -0
- package/dist/collection/components/dropi-alert-modal/dropi-alert-modal.css +105 -0
- package/dist/collection/components/dropi-alert-modal/dropi-alert-modal.js +525 -0
- package/dist/collection/components/dropi-avatars/dropi-avatars.css +55 -0
- package/dist/collection/components/dropi-avatars/dropi-avatars.js +126 -0
- package/dist/collection/components/dropi-badge/dropi-badge.css +41 -0
- package/dist/collection/components/dropi-badge/dropi-badge.js +71 -0
- package/dist/collection/components/dropi-badge-legacy/dropi-badge-legacy.css +17 -0
- package/dist/collection/components/dropi-badge-legacy/dropi-badge-legacy.js +119 -0
- package/dist/collection/components/dropi-banner-external/dropi-banner-external.css +56 -0
- package/dist/collection/components/dropi-banner-external/dropi-banner-external.js +254 -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 +177 -0
- package/dist/collection/components/dropi-button/dropi-button.js +323 -0
- package/dist/collection/components/dropi-card-checkbox/dropi-card-checkbox.css +92 -0
- package/dist/collection/components/dropi-card-checkbox/dropi-card-checkbox.js +222 -0
- package/dist/collection/components/dropi-card-product/dropi-card-product.css +235 -0
- package/dist/collection/components/dropi-card-product/dropi-card-product.js +386 -0
- package/dist/collection/components/dropi-card-section/dropi-card-section.css +42 -0
- package/dist/collection/components/dropi-card-section/dropi-card-section.js +178 -0
- package/dist/collection/components/dropi-carousel/dropi-carousel.css +148 -0
- package/dist/collection/components/dropi-carousel/dropi-carousel.js +379 -0
- package/dist/collection/components/dropi-checkbox/dropi-checkbox.css +47 -0
- package/dist/collection/components/dropi-checkbox/dropi-checkbox.js +103 -0
- package/dist/collection/components/dropi-checkbox-selection-list/dropi-checkbox-selection-list.css +44 -0
- package/dist/collection/components/dropi-checkbox-selection-list/dropi-checkbox-selection-list.js +267 -0
- package/dist/collection/components/dropi-chips/dropi-chips.css +68 -0
- package/dist/collection/components/dropi-chips/dropi-chips.js +169 -0
- package/dist/collection/components/dropi-city-selector/dropi-city-selector.css +218 -0
- package/dist/collection/components/dropi-city-selector/dropi-city-selector.js +242 -0
- package/dist/collection/components/dropi-color-picker/dropi-color-picker.css +210 -0
- package/dist/collection/components/dropi-color-picker/dropi-color-picker.js +393 -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 +211 -0
- package/dist/collection/components/dropi-country-selector/dropi-country-selector.js +429 -0
- package/dist/collection/components/dropi-date-picker/dropi-date-picker.css +215 -0
- package/dist/collection/components/dropi-date-picker/dropi-date-picker.js +516 -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 +129 -0
- package/dist/collection/components/dropi-drawer/dropi-drawer.js +287 -0
- package/dist/collection/components/dropi-dropdown/dropi-dropdown.css +51 -0
- package/dist/collection/components/dropi-dropdown/dropi-dropdown.js +209 -0
- package/dist/collection/components/dropi-empty-state/dropi-empty-state.css +59 -0
- package/dist/collection/components/dropi-empty-state/dropi-empty-state.js +222 -0
- package/dist/collection/components/dropi-favorite-button/dropi-favorite-button.css +24 -0
- package/dist/collection/components/dropi-favorite-button/dropi-favorite-button.js +78 -0
- package/dist/collection/components/dropi-file-upload/dropi-file-upload.css +464 -0
- package/dist/collection/components/dropi-file-upload/dropi-file-upload.js +517 -0
- package/dist/collection/components/dropi-file-upload-progress-bar/dropi-file-upload-progress-bar.css +115 -0
- package/dist/collection/components/dropi-file-upload-progress-bar/dropi-file-upload-progress-bar.js +258 -0
- package/dist/collection/components/dropi-icon/dropi-icon.css +26 -0
- package/dist/collection/components/dropi-icon/dropi-icon.js +159 -0
- 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.css +45 -0
- package/dist/collection/components/dropi-image-miniature/dropi-image-miniature.js +150 -0
- package/dist/collection/components/dropi-image-overlay/dropi-image-overlay.css +127 -0
- package/dist/collection/components/dropi-image-overlay/dropi-image-overlay.js +156 -0
- package/dist/collection/components/dropi-input/dropi-input.css +185 -0
- package/dist/collection/components/dropi-input/dropi-input.js +808 -0
- package/dist/collection/components/dropi-languages-selector/dropi-languages-selector.css +79 -0
- package/dist/collection/components/dropi-languages-selector/dropi-languages-selector.js +158 -0
- package/dist/collection/components/dropi-logo/dropi-logo.css +26 -0
- package/dist/collection/components/dropi-logo/dropi-logo.js +107 -0
- package/dist/collection/components/dropi-lottie-loader/dropi-lottie-loader.css +56 -0
- package/dist/collection/components/dropi-lottie-loader/dropi-lottie-loader.js +116 -0
- package/dist/collection/components/dropi-media-player/dropi-media-player.css +320 -0
- package/dist/collection/components/dropi-media-player/dropi-media-player.js +394 -0
- package/dist/collection/components/dropi-modal/dropi-modal.css +140 -0
- package/dist/collection/components/dropi-modal/dropi-modal.js +695 -0
- package/dist/collection/components/dropi-navbar/dropi-navbar.css +166 -0
- package/dist/collection/components/dropi-navbar/dropi-navbar.js +302 -0
- package/dist/collection/components/dropi-otp-send-code/dropi-otp-send-code.css +67 -0
- package/dist/collection/components/dropi-otp-send-code/dropi-otp-send-code.js +221 -0
- package/dist/collection/components/dropi-paginator/dropi-paginator.css +103 -0
- package/dist/collection/components/dropi-paginator/dropi-paginator.js +215 -0
- package/dist/collection/components/dropi-phone-input/dropi-phone-input.css +209 -0
- package/dist/collection/components/dropi-phone-input/dropi-phone-input.js +442 -0
- package/dist/collection/components/dropi-radio-button/dropi-radio-button.css +62 -0
- package/dist/collection/components/dropi-radio-button/dropi-radio-button.js +174 -0
- package/dist/collection/components/dropi-radio-selection-list/dropi-radio-selection-list.css +64 -0
- package/dist/collection/components/dropi-radio-selection-list/dropi-radio-selection-list.js +259 -0
- package/dist/collection/components/dropi-read-more/dropi-read-more.css +25 -0
- package/dist/collection/components/dropi-read-more/dropi-read-more.js +154 -0
- package/dist/collection/components/dropi-search/dropi-search.css +112 -0
- package/dist/collection/components/dropi-search/dropi-search.js +526 -0
- package/dist/collection/components/dropi-select/dropi-select.css +366 -0
- package/dist/collection/components/dropi-select/dropi-select.js +1018 -0
- package/dist/collection/components/dropi-select/select.types.js +1 -0
- package/dist/collection/components/dropi-sidebar/dropi-sidebar.css +76 -0
- package/dist/collection/components/dropi-sidebar/dropi-sidebar.js +143 -0
- package/dist/collection/components/dropi-simple-stepper/dropi-simple-stepper.css +94 -0
- package/dist/collection/components/dropi-simple-stepper/dropi-simple-stepper.js +194 -0
- package/dist/collection/components/dropi-skeleton/dropi-skeleton.css +27 -0
- package/dist/collection/components/dropi-skeleton/dropi-skeleton.js +192 -0
- package/dist/collection/components/dropi-steps/dropi-steps.css +95 -0
- package/dist/collection/components/dropi-steps/dropi-steps.js +173 -0
- package/dist/collection/components/dropi-switch/dropi-switch.css +57 -0
- package/dist/collection/components/dropi-switch/dropi-switch.js +96 -0
- package/dist/collection/components/dropi-table/dropi-table.css +540 -0
- package/dist/collection/components/dropi-table/dropi-table.js +973 -0
- package/dist/collection/components/dropi-tabs/dropi-tabs.css +47 -0
- package/dist/collection/components/dropi-tabs/dropi-tabs.js +181 -0
- package/dist/collection/components/dropi-tag/dropi-tag.css +39 -0
- package/dist/collection/components/dropi-tag/dropi-tag.js +190 -0
- 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 +100 -0
- package/dist/collection/components/dropi-text-area/dropi-text-area.js +512 -0
- package/dist/collection/components/dropi-time-line/dropi-time-line.css +108 -0
- package/dist/collection/components/dropi-time-line/dropi-time-line.js +69 -0
- package/dist/collection/components/dropi-toast/dropi-toast.css +63 -0
- package/dist/collection/components/dropi-toast/dropi-toast.js +165 -0
- package/dist/collection/components/dropi-tooltip/dropi-tooltip.css +32 -0
- package/dist/collection/components/dropi-tooltip/dropi-tooltip.js +70 -0
- package/dist/collection/components/dropi-tooltip-v2/dropi-tooltip.css +67 -0
- package/dist/collection/components/dropi-tooltip-v2/dropi-tooltip.js +468 -0
- package/dist/collection/components/dropi-vertical-steps/dropi-vertical-steps.css +95 -0
- package/dist/collection/components/dropi-vertical-steps/dropi-vertical-steps.js +167 -0
- 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/collection/index.js +1 -0
- package/dist/collection/utils/utils.js +3 -0
- package/dist/collection/utils/utils.unit.test.js +16 -0
- package/dist/components/dropi-accordion-item.js +1 -0
- package/dist/components/dropi-accordion.js +1 -0
- package/dist/components/dropi-alert-legacy.js +1 -0
- package/dist/components/dropi-alert-modal.js +1 -0
- package/dist/components/dropi-alert.js +1 -0
- package/dist/components/dropi-avatars.js +1 -0
- package/dist/components/dropi-badge-legacy.js +1 -0
- package/dist/components/dropi-badge.js +1 -0
- package/dist/components/dropi-banner-external.js +1 -0
- package/dist/components/dropi-breadcrumb.js +1 -0
- package/dist/components/dropi-button.js +1 -0
- package/dist/components/dropi-card-checkbox.js +1 -0
- package/dist/components/dropi-card-product.js +1 -0
- package/dist/components/dropi-card-section.js +1 -0
- package/dist/components/dropi-carousel.js +1 -0
- package/dist/components/dropi-checkbox-selection-list.js +1 -0
- package/dist/components/dropi-checkbox.js +1 -0
- package/dist/components/dropi-chips.js +1 -0
- package/dist/components/dropi-city-selector.js +1 -0
- package/dist/components/dropi-color-picker.js +1 -0
- package/dist/components/dropi-country-flags.js +1 -0
- package/dist/components/dropi-country-selector.js +1 -0
- package/dist/components/dropi-date-picker-range.js +1 -0
- package/dist/components/dropi-date-picker.js +1 -0
- package/dist/components/dropi-drawer.js +1 -0
- package/dist/components/dropi-dropdown.js +1 -0
- package/dist/components/dropi-empty-state.js +1 -0
- package/dist/components/dropi-favorite-button.js +1 -0
- package/dist/components/dropi-file-upload-progress-bar.js +1 -0
- package/dist/components/dropi-file-upload.js +1 -0
- package/dist/components/dropi-icon.js +1 -0
- package/dist/components/dropi-ilustration-icon.js +1 -0
- package/dist/components/dropi-image-miniature.js +1 -0
- package/dist/components/dropi-image-overlay.js +1 -0
- package/dist/components/dropi-input.js +1 -0
- package/dist/components/dropi-languages-selector.js +1 -0
- package/dist/components/dropi-logo.js +1 -0
- package/dist/components/dropi-lottie-loader.js +1 -0
- package/dist/components/dropi-media-player.js +1 -0
- package/dist/components/dropi-modal.js +1 -0
- package/dist/components/dropi-navbar.js +1 -0
- package/dist/components/dropi-otp-send-code.js +1 -0
- package/dist/components/dropi-paginator.js +1 -0
- package/dist/components/dropi-phone-input.js +1 -0
- package/dist/components/dropi-radio-button.js +1 -0
- package/dist/components/dropi-radio-selection-list.js +1 -0
- package/dist/components/dropi-read-more.js +1 -0
- package/dist/components/dropi-search.js +1 -0
- package/dist/components/dropi-select.js +1 -0
- package/dist/components/dropi-sidebar.js +1 -0
- package/dist/components/dropi-simple-stepper.js +1 -0
- package/dist/components/dropi-skeleton.js +1 -0
- package/dist/components/dropi-steps.js +1 -0
- package/dist/components/dropi-switch.js +1 -0
- package/dist/components/dropi-table.js +1 -0
- package/dist/components/dropi-tabs.js +1 -0
- package/dist/components/dropi-tag-type-product.js +1 -0
- package/dist/components/dropi-tag.js +1 -0
- package/dist/components/dropi-text-area.js +1 -0
- package/dist/components/dropi-time-line.js +1 -0
- package/dist/components/dropi-toast.js +1 -0
- package/dist/components/dropi-tooltip-v2.js +1 -0
- package/dist/components/dropi-tooltip.js +1 -0
- package/dist/components/dropi-vertical-steps.js +1 -0
- package/dist/components/dropi-youtube-lazy-video.js +1 -0
- package/dist/components/index.js +1 -0
- package/dist/components/p-B9R8Apw7.js +1 -0
- package/dist/components/p-B_Ace02i.js +1 -0
- package/dist/components/p-BrjO_JXp.js +1 -0
- package/dist/components/p-BwhxWL4p.js +1 -0
- package/dist/components/p-Bz2jXX3R.js +1 -0
- package/dist/components/p-CV_oz45O.js +1 -0
- package/dist/components/p-D-vQQQNz.js +1 -0
- package/dist/components/p-D13d88W3.js +1 -0
- package/dist/components/p-DGUfr98Z.js +1 -0
- package/dist/components/p-QOZr7tU8.js +1 -0
- package/dist/components/p-a-hGQrJd.js +1 -0
- package/dist/components/p-o5gyrbbD.js +1 -0
- package/dist/dropi-ui/dropi-ui.css +1 -311
- package/dist/dropi-ui/dropi-ui.esm.js +1 -50
- package/dist/dropi-ui/index.esm.js +0 -4
- package/dist/dropi-ui/p-00e5a2de.entry.js +1 -0
- package/dist/dropi-ui/p-0188e07a.entry.js +1 -0
- package/dist/dropi-ui/p-02710049.entry.js +1 -0
- package/dist/dropi-ui/p-17c56074.entry.js +1 -0
- package/dist/dropi-ui/p-18adf694.entry.js +1 -0
- package/dist/dropi-ui/p-1a3619c3.entry.js +1 -0
- package/dist/dropi-ui/p-1d3d6a32.entry.js +1 -0
- package/dist/dropi-ui/p-25640777.entry.js +1 -0
- package/dist/dropi-ui/p-2674d901.entry.js +1 -0
- package/dist/dropi-ui/p-2af538b9.entry.js +1 -0
- package/dist/dropi-ui/p-3013f3b8.entry.js +1 -0
- package/dist/dropi-ui/p-3321ca70.entry.js +1 -0
- package/dist/dropi-ui/p-33d242ec.entry.js +1 -0
- package/dist/dropi-ui/p-34b66ca2.entry.js +1 -0
- package/dist/dropi-ui/p-39af6478.entry.js +1 -0
- package/dist/dropi-ui/p-3e36c8b8.entry.js +1 -0
- package/dist/dropi-ui/p-3ebc9b7b.entry.js +1 -0
- package/dist/dropi-ui/p-446a481d.entry.js +1 -0
- package/dist/dropi-ui/p-50e0d44f.entry.js +1 -0
- package/dist/dropi-ui/p-53a7a37d.entry.js +1 -0
- package/dist/dropi-ui/p-5c0bd7c2.entry.js +1 -0
- package/dist/dropi-ui/p-5cee6721.entry.js +1 -0
- package/dist/dropi-ui/p-5fb33ae4.entry.js +1 -0
- package/dist/dropi-ui/p-665ef7ba.entry.js +1 -0
- package/dist/dropi-ui/p-66b80371.entry.js +1 -0
- package/dist/dropi-ui/p-7bfc1c27.entry.js +1 -0
- package/dist/dropi-ui/p-7c0d2edf.entry.js +1 -0
- package/dist/dropi-ui/p-7eb27836.entry.js +1 -0
- package/dist/dropi-ui/p-85444414.entry.js +1 -0
- package/dist/dropi-ui/p-86283e99.entry.js +1 -0
- package/dist/dropi-ui/p-8bf5d8ee.entry.js +1 -0
- package/dist/dropi-ui/p-9032ba00.entry.js +1 -0
- package/dist/dropi-ui/p-9212f544.entry.js +1 -0
- package/dist/dropi-ui/p-92291873.entry.js +1 -0
- package/dist/dropi-ui/p-955e52f8.entry.js +1 -0
- package/dist/dropi-ui/p-976a15e3.entry.js +1 -0
- package/dist/dropi-ui/p-9b037086.entry.js +1 -0
- package/dist/dropi-ui/p-9e0129cc.entry.js +1 -0
- package/dist/dropi-ui/p-9ffec3f7.entry.js +1 -0
- package/dist/dropi-ui/p-D5SAM1O2.js +2 -0
- package/dist/dropi-ui/p-a1c93e55.entry.js +1 -0
- package/dist/dropi-ui/p-a232c6a7.entry.js +1 -0
- package/dist/dropi-ui/p-a3c4d677.entry.js +1 -0
- package/dist/dropi-ui/p-a457e8ca.entry.js +1 -0
- package/dist/dropi-ui/p-a4e1df5e.entry.js +1 -0
- package/dist/dropi-ui/p-a822a23e.entry.js +1 -0
- package/dist/dropi-ui/p-a8f24270.entry.js +1 -0
- package/dist/dropi-ui/p-ae35d538.entry.js +1 -0
- package/dist/dropi-ui/p-af8e2157.entry.js +1 -0
- package/dist/dropi-ui/p-b2623a5c.entry.js +1 -0
- package/dist/dropi-ui/p-b3d3c72e.entry.js +1 -0
- package/dist/dropi-ui/p-c3614c4a.entry.js +1 -0
- package/dist/dropi-ui/p-cbf5367e.entry.js +1 -0
- package/dist/dropi-ui/p-cc527d91.entry.js +1 -0
- package/dist/dropi-ui/p-cdde481b.entry.js +1 -0
- package/dist/dropi-ui/p-d42d4ef7.entry.js +1 -0
- package/dist/dropi-ui/p-db38bf16.entry.js +1 -0
- package/dist/dropi-ui/p-dd5d8b1b.entry.js +1 -0
- package/dist/dropi-ui/p-e3ad21f8.entry.js +1 -0
- package/dist/dropi-ui/p-e6e766ed.entry.js +1 -0
- package/dist/dropi-ui/p-ec263862.entry.js +1 -0
- package/dist/dropi-ui/p-efc2fc35.entry.js +1 -0
- package/dist/dropi-ui/p-f41cd9b5.entry.js +1 -0
- package/dist/dropi-ui/p-fa3d0267.entry.js +1 -0
- package/dist/{dropi-ui → esm}/dropi-accordion-item.entry.js +2 -8
- package/dist/{dropi-ui → esm}/dropi-accordion.entry.js +1 -4
- package/dist/{dropi-ui → esm}/dropi-alert-legacy.entry.js +1 -4
- package/dist/{dropi-ui → esm}/dropi-alert-modal.entry.js +1 -4
- package/dist/{dropi-ui → esm}/dropi-alert.entry.js +1 -4
- package/dist/{dropi-ui → esm}/dropi-avatars.entry.js +1 -4
- package/dist/{dropi-ui → esm}/dropi-badge-legacy.entry.js +1 -4
- package/dist/{dropi-ui → esm}/dropi-badge.entry.js +1 -4
- package/dist/{dropi-ui → esm}/dropi-banner-external.entry.js +1 -4
- package/dist/{dropi-ui → esm}/dropi-breadcrumb.entry.js +1 -4
- package/dist/{dropi-ui → esm}/dropi-button.entry.js +1 -4
- package/dist/{dropi-ui → esm}/dropi-card-checkbox.entry.js +1 -4
- package/dist/{dropi-ui → esm}/dropi-card-product.entry.js +1 -4
- package/dist/{dropi-ui → esm}/dropi-card-section.entry.js +1 -4
- package/dist/{dropi-ui → esm}/dropi-carousel.entry.js +1 -4
- package/dist/{dropi-ui → esm}/dropi-checkbox-selection-list.entry.js +1 -4
- package/dist/{dropi-ui → esm}/dropi-checkbox.entry.js +1 -4
- package/dist/{dropi-ui → esm}/dropi-chips.entry.js +1 -4
- package/dist/{dropi-ui → esm}/dropi-city-selector.entry.js +1 -4
- package/dist/{dropi-ui → esm}/dropi-color-picker.entry.js +1 -4
- package/dist/{dropi-ui → esm}/dropi-country-flags.entry.js +1 -4
- package/dist/{dropi-ui → esm}/dropi-country-selector.entry.js +1 -4
- package/dist/{dropi-ui → esm}/dropi-date-picker-range.entry.js +1 -4
- package/dist/{dropi-ui → esm}/dropi-date-picker.entry.js +1 -4
- package/dist/{dropi-ui → esm}/dropi-drawer.entry.js +1 -4
- package/dist/{dropi-ui → esm}/dropi-dropdown.entry.js +1 -4
- package/dist/{dropi-ui → esm}/dropi-empty-state.entry.js +1 -4
- package/dist/{dropi-ui → esm}/dropi-favorite-button.entry.js +1 -4
- package/dist/{dropi-ui → esm}/dropi-file-upload-progress-bar.entry.js +1 -4
- package/dist/{dropi-ui → esm}/dropi-file-upload.entry.js +1 -4
- package/dist/{dropi-ui → esm}/dropi-icon.entry.js +1 -4
- package/dist/{dropi-ui → esm}/dropi-ilustration-icon.entry.js +1 -4
- package/dist/{dropi-ui → esm}/dropi-image-miniature.entry.js +1 -4
- package/dist/{dropi-ui → esm}/dropi-image-overlay.entry.js +1 -4
- package/dist/{dropi-ui/dropi-input.entry.js → esm/dropi-input_3.entry.js} +128 -4
- package/dist/{dropi-ui → esm}/dropi-languages-selector.entry.js +1 -4
- package/dist/{dropi-ui → esm}/dropi-logo.entry.js +1 -4
- package/dist/{dropi-ui → esm}/dropi-lottie-loader.entry.js +1 -4
- package/dist/{dropi-ui → esm}/dropi-media-player.entry.js +1 -4
- package/dist/{dropi-ui → esm}/dropi-modal.entry.js +1 -4
- package/dist/{dropi-ui → esm}/dropi-navbar.entry.js +1 -4
- package/dist/{dropi-ui → esm}/dropi-otp-send-code.entry.js +1 -4
- package/dist/{dropi-ui → esm}/dropi-phone-input.entry.js +1 -4
- package/dist/{dropi-ui → esm}/dropi-radio-button.entry.js +1 -4
- package/dist/{dropi-ui → esm}/dropi-radio-selection-list.entry.js +1 -4
- package/dist/{dropi-ui → esm}/dropi-read-more.entry.js +1 -4
- package/dist/{dropi-ui → esm}/dropi-search.entry.js +1 -4
- package/dist/{dropi-ui → esm}/dropi-select.entry.js +1 -4
- package/dist/{dropi-ui → esm}/dropi-sidebar.entry.js +1 -4
- package/dist/{dropi-ui → esm}/dropi-simple-stepper.entry.js +1 -4
- package/dist/{dropi-ui → esm}/dropi-skeleton.entry.js +1 -4
- package/dist/{dropi-ui → esm}/dropi-steps.entry.js +1 -4
- package/dist/{dropi-ui → esm}/dropi-switch.entry.js +1 -4
- package/dist/{dropi-ui → esm}/dropi-table.entry.js +1 -4
- package/dist/{dropi-ui → esm}/dropi-tabs.entry.js +1 -4
- package/dist/{dropi-ui → esm}/dropi-tag-type-product.entry.js +1 -4
- package/dist/{dropi-ui → esm}/dropi-text-area.entry.js +1 -4
- package/dist/{dropi-ui → esm}/dropi-time-line.entry.js +1 -4
- package/dist/{dropi-ui → esm}/dropi-toast.entry.js +1 -4
- package/dist/{dropi-ui → esm}/dropi-tooltip-v2.entry.js +1 -4
- package/dist/{dropi-ui → esm}/dropi-tooltip.entry.js +1 -4
- package/dist/esm/dropi-ui.js +20 -0
- package/dist/{dropi-ui → esm}/dropi-vertical-steps.entry.js +1 -4
- package/dist/{dropi-ui → esm}/dropi-youtube-lazy-video.entry.js +1 -4
- package/dist/esm/index-D5SAM1O2.js +2763 -0
- package/dist/esm/index.js +1 -0
- package/dist/esm/loader.js +10 -0
- package/dist/index.cjs.js +1 -0
- package/dist/index.js +1 -0
- package/package.json +1 -1
- package/dist/dropi-ui/dropi-accordion-item.entry.js.map +0 -1
- package/dist/dropi-ui/dropi-accordion.entry.js.map +0 -1
- package/dist/dropi-ui/dropi-alert-legacy.entry.js.map +0 -1
- package/dist/dropi-ui/dropi-alert-modal.entry.js.map +0 -1
- package/dist/dropi-ui/dropi-alert.entry.js.map +0 -1
- package/dist/dropi-ui/dropi-avatars.entry.js.map +0 -1
- package/dist/dropi-ui/dropi-badge-legacy.entry.js.map +0 -1
- package/dist/dropi-ui/dropi-badge.entry.js.map +0 -1
- package/dist/dropi-ui/dropi-banner-external.entry.js.map +0 -1
- package/dist/dropi-ui/dropi-breadcrumb.entry.js.map +0 -1
- package/dist/dropi-ui/dropi-button.entry.js.map +0 -1
- package/dist/dropi-ui/dropi-card-checkbox.entry.js.map +0 -1
- package/dist/dropi-ui/dropi-card-product.entry.js.map +0 -1
- package/dist/dropi-ui/dropi-card-section.entry.js.map +0 -1
- package/dist/dropi-ui/dropi-carousel.entry.js.map +0 -1
- package/dist/dropi-ui/dropi-checkbox-selection-list.entry.js.map +0 -1
- package/dist/dropi-ui/dropi-checkbox.entry.js.map +0 -1
- package/dist/dropi-ui/dropi-chips.entry.js.map +0 -1
- package/dist/dropi-ui/dropi-city-selector.entry.js.map +0 -1
- package/dist/dropi-ui/dropi-color-picker.entry.js.map +0 -1
- package/dist/dropi-ui/dropi-country-flags.entry.js.map +0 -1
- package/dist/dropi-ui/dropi-country-selector.entry.js.map +0 -1
- package/dist/dropi-ui/dropi-date-picker-range.entry.js.map +0 -1
- package/dist/dropi-ui/dropi-date-picker.entry.js.map +0 -1
- package/dist/dropi-ui/dropi-drawer.entry.js.map +0 -1
- package/dist/dropi-ui/dropi-dropdown.entry.js.map +0 -1
- package/dist/dropi-ui/dropi-empty-state.entry.js.map +0 -1
- package/dist/dropi-ui/dropi-favorite-button.entry.js.map +0 -1
- package/dist/dropi-ui/dropi-file-upload-progress-bar.entry.js.map +0 -1
- package/dist/dropi-ui/dropi-file-upload.entry.js.map +0 -1
- package/dist/dropi-ui/dropi-icon.entry.js.map +0 -1
- package/dist/dropi-ui/dropi-ilustration-icon.entry.js.map +0 -1
- package/dist/dropi-ui/dropi-image-miniature.entry.js.map +0 -1
- package/dist/dropi-ui/dropi-image-overlay.entry.js.map +0 -1
- package/dist/dropi-ui/dropi-input.entry.js.map +0 -1
- package/dist/dropi-ui/dropi-languages-selector.entry.js.map +0 -1
- package/dist/dropi-ui/dropi-logo.entry.js.map +0 -1
- package/dist/dropi-ui/dropi-lottie-loader.entry.js.map +0 -1
- package/dist/dropi-ui/dropi-media-player.entry.js.map +0 -1
- package/dist/dropi-ui/dropi-modal.entry.js.map +0 -1
- package/dist/dropi-ui/dropi-navbar.entry.js.map +0 -1
- package/dist/dropi-ui/dropi-otp-send-code.entry.js.map +0 -1
- package/dist/dropi-ui/dropi-paginator.entry.js +0 -70
- package/dist/dropi-ui/dropi-paginator.entry.js.map +0 -1
- package/dist/dropi-ui/dropi-phone-input.entry.js.map +0 -1
- package/dist/dropi-ui/dropi-radio-button.entry.js.map +0 -1
- package/dist/dropi-ui/dropi-radio-selection-list.entry.js.map +0 -1
- package/dist/dropi-ui/dropi-read-more.entry.js.map +0 -1
- package/dist/dropi-ui/dropi-search.entry.js.map +0 -1
- package/dist/dropi-ui/dropi-select.entry.js.map +0 -1
- package/dist/dropi-ui/dropi-sidebar.entry.js.map +0 -1
- package/dist/dropi-ui/dropi-simple-stepper.entry.js.map +0 -1
- package/dist/dropi-ui/dropi-skeleton.entry.js.map +0 -1
- package/dist/dropi-ui/dropi-steps.entry.js.map +0 -1
- package/dist/dropi-ui/dropi-switch.entry.js.map +0 -1
- package/dist/dropi-ui/dropi-table.entry.js.map +0 -1
- package/dist/dropi-ui/dropi-tabs.entry.js.map +0 -1
- package/dist/dropi-ui/dropi-tag-type-product.entry.js.map +0 -1
- package/dist/dropi-ui/dropi-tag.entry.js +0 -69
- package/dist/dropi-ui/dropi-tag.entry.js.map +0 -1
- package/dist/dropi-ui/dropi-text-area.entry.js.map +0 -1
- package/dist/dropi-ui/dropi-time-line.entry.js.map +0 -1
- package/dist/dropi-ui/dropi-toast.entry.js.map +0 -1
- package/dist/dropi-ui/dropi-tooltip-v2.entry.js.map +0 -1
- package/dist/dropi-ui/dropi-tooltip.entry.js.map +0 -1
- package/dist/dropi-ui/dropi-ui.esm.js.map +0 -1
- package/dist/dropi-ui/dropi-vertical-steps.entry.js.map +0 -1
- package/dist/dropi-ui/dropi-youtube-lazy-video.entry.js.map +0 -1
- package/dist/dropi-ui/index-Cvp2LQOM.js +0 -4585
- package/dist/dropi-ui/index-Cvp2LQOM.js.map +0 -1
- package/dist/dropi-ui/index.esm.js.map +0 -1
|
@@ -0,0 +1,525 @@
|
|
|
1
|
+
import { h } from "@stencil/core";
|
|
2
|
+
/**
|
|
3
|
+
* @component dropi-alert-modal
|
|
4
|
+
* Confirmation/alert modal with Lottie animation, title, message and action buttons.
|
|
5
|
+
* Uses dropi-modal internally.
|
|
6
|
+
*
|
|
7
|
+
* @example
|
|
8
|
+
* const el = document.querySelector('dropi-alert-modal');
|
|
9
|
+
* el.visible = true;
|
|
10
|
+
*/
|
|
11
|
+
export class DropiAlertModal {
|
|
12
|
+
/** Controls visibility */
|
|
13
|
+
visible = false;
|
|
14
|
+
/** Modal type — determines Lottie animation */
|
|
15
|
+
type = 'question';
|
|
16
|
+
/** Bold title */
|
|
17
|
+
tittle = '';
|
|
18
|
+
/** Body message */
|
|
19
|
+
message = '';
|
|
20
|
+
/** Primary button label */
|
|
21
|
+
primaryButton = 'Accept';
|
|
22
|
+
/** Secondary button label (hidden if empty) */
|
|
23
|
+
secondaryButton = '';
|
|
24
|
+
/** Show loading state with loading.json Lottie */
|
|
25
|
+
loading = false;
|
|
26
|
+
/** Show close icon in header */
|
|
27
|
+
closable = false;
|
|
28
|
+
/** Hide action buttons */
|
|
29
|
+
displayButtons = true;
|
|
30
|
+
/** Loading title */
|
|
31
|
+
loadingTitle = 'Loading';
|
|
32
|
+
/** Loading message */
|
|
33
|
+
loadingMessage = 'Please wait a moment';
|
|
34
|
+
/**
|
|
35
|
+
* When true, primary button does NOT auto-close the modal (matches Angular `isStep`).
|
|
36
|
+
* Useful for step-by-step flows.
|
|
37
|
+
*/
|
|
38
|
+
isStep = false;
|
|
39
|
+
/** Base z-index for the internal modal overlay (matches Angular `baseZIndex`) */
|
|
40
|
+
baseZIndex = 0;
|
|
41
|
+
/**
|
|
42
|
+
* Convenience object prop — matches Angular `params: ModalParams`.
|
|
43
|
+
* Fields: tittle, type, message, primaryButton, secondaryButton, loadingTitle,
|
|
44
|
+
* loadingMessage, closable, displayButtons.
|
|
45
|
+
* When provided, its values override the corresponding individual props.
|
|
46
|
+
*/
|
|
47
|
+
params = null;
|
|
48
|
+
paramsChanged(val) {
|
|
49
|
+
if (!val)
|
|
50
|
+
return;
|
|
51
|
+
if (val.tittle !== undefined)
|
|
52
|
+
this.tittle = val.tittle;
|
|
53
|
+
if (val.type !== undefined)
|
|
54
|
+
this.type = val.type;
|
|
55
|
+
if (val.message !== undefined)
|
|
56
|
+
this.message = val.message;
|
|
57
|
+
if (val.primaryButton !== undefined)
|
|
58
|
+
this.primaryButton = val.primaryButton;
|
|
59
|
+
if (val.secondaryButton !== undefined)
|
|
60
|
+
this.secondaryButton = val.secondaryButton;
|
|
61
|
+
if (val.loadingTitle !== undefined)
|
|
62
|
+
this.loadingTitle = val.loadingTitle;
|
|
63
|
+
if (val.loadingMessage !== undefined)
|
|
64
|
+
this.loadingMessage = val.loadingMessage;
|
|
65
|
+
if (val.closable !== undefined)
|
|
66
|
+
this.closable = val.closable;
|
|
67
|
+
if (val.displayButtons !== undefined)
|
|
68
|
+
this.displayButtons = val.displayButtons;
|
|
69
|
+
}
|
|
70
|
+
/** Emitted when primary button is clicked — matches Angular 'primaryButtonEvent' */
|
|
71
|
+
primaryButtonEvent;
|
|
72
|
+
/** Emitted when secondary button is clicked — matches Angular 'secondaryButtonEvent' */
|
|
73
|
+
secondaryButtonEvent;
|
|
74
|
+
/** Emitted when modal open state changes — matches Angular 'modalOpenChange' */
|
|
75
|
+
modalOpenChange;
|
|
76
|
+
/** Emitted when modal is hidden — matches Angular 'onHide' */
|
|
77
|
+
onHide;
|
|
78
|
+
lottieMap = {
|
|
79
|
+
question: '/assets/lottie-files/question.json',
|
|
80
|
+
warning: '/assets/lottie-files/warning.json',
|
|
81
|
+
success: '/assets/lottie-files/success.json',
|
|
82
|
+
error: '/assets/lottie-files/failure.json',
|
|
83
|
+
loading: '/assets/lottie-files/loading.json',
|
|
84
|
+
};
|
|
85
|
+
componentWillLoad() {
|
|
86
|
+
if (this.params)
|
|
87
|
+
this.paramsChanged(this.params);
|
|
88
|
+
}
|
|
89
|
+
async show() {
|
|
90
|
+
this.visible = true;
|
|
91
|
+
}
|
|
92
|
+
async hide() {
|
|
93
|
+
this.visible = false;
|
|
94
|
+
}
|
|
95
|
+
handlePrimary() {
|
|
96
|
+
this.primaryButtonEvent.emit(true);
|
|
97
|
+
if (!this.isStep) {
|
|
98
|
+
this.visible = false;
|
|
99
|
+
this.modalOpenChange.emit(false);
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
handleSecondary() {
|
|
103
|
+
this.secondaryButtonEvent.emit(true);
|
|
104
|
+
this.visible = false;
|
|
105
|
+
this.modalOpenChange.emit(false);
|
|
106
|
+
}
|
|
107
|
+
onModalHide() {
|
|
108
|
+
this.visible = false;
|
|
109
|
+
this.modalOpenChange.emit(false);
|
|
110
|
+
this.onHide.emit();
|
|
111
|
+
}
|
|
112
|
+
render() {
|
|
113
|
+
const lottieKey = this.loading ? 'loading' : this.type;
|
|
114
|
+
const isLottieLoading = lottieKey === 'loading';
|
|
115
|
+
return (h("dropi-modal", { key: '8581cbc944d42889228cb21fa27bf4e8b3bf1e16', visible: this.visible, showHeader: this.closable, showCloseIcon: this.closable, dismissable: false, closeOnEscape: false, showFooter: false, size: "s", onOnHide: () => this.onModalHide() }, h("div", { key: '7208cbe742dab77bcee14150998aff5647fd41af', class: "body-alert" }, this.lottieMap[lottieKey] && (h("div", { key: '3b4d36963f8d6547556eee704823c8e34805b8d8', class: `lottie-img${isLottieLoading ? ' lottie-img--loading' : ''}` }, h("lottie-player", { key: lottieKey, src: this.lottieMap[lottieKey], background: "transparent", speed: "1", loop: true, autoplay: true }))), h("div", { key: 'dc52f3daec2eaf7ff9f1d51c90c67bcfaafe370f', class: "content-alert" }, h("h2", { key: '685df4cb76145cf6e965dd94e5f3fe60f828100c' }, this.loading ? this.loadingTitle : this.tittle), h("p", { key: 'f9e5b699816236148bc00c5046c6cc67eb86ae01' }, this.loading ? this.loadingMessage : this.message)), h("div", { key: '2e9280865cad761bea5cdd88b972734c11ab7737', class: "custom-content" }, h("slot", { key: '4fd36baa1455e7793a1e5291b52448707e3aa448' })), !this.loading && this.displayButtons && (h("div", { key: '451bd3d90ec780499d9956a8a57a0d1461406fa9', class: "actions" }, this.secondaryButton && h("dropi-button", { key: 'b60c30cc92cc080c01e1bf337a5e4b78f561be81', text: this.secondaryButton, severity: "secondary", onClick: () => this.handleSecondary(), fullWidth: true }), h("dropi-button", { key: '2b8696a02b253d289a1baef2116cffe436346717', text: this.primaryButton, severity: "primary", onClick: () => this.handlePrimary(), fullWidth: true }))))));
|
|
116
|
+
}
|
|
117
|
+
static get is() { return "dropi-alert-modal"; }
|
|
118
|
+
static get originalStyleUrls() {
|
|
119
|
+
return {
|
|
120
|
+
"$": ["dropi-alert-modal.css"]
|
|
121
|
+
};
|
|
122
|
+
}
|
|
123
|
+
static get styleUrls() {
|
|
124
|
+
return {
|
|
125
|
+
"$": ["dropi-alert-modal.css"]
|
|
126
|
+
};
|
|
127
|
+
}
|
|
128
|
+
static get properties() {
|
|
129
|
+
return {
|
|
130
|
+
"visible": {
|
|
131
|
+
"type": "any",
|
|
132
|
+
"mutable": true,
|
|
133
|
+
"complexType": {
|
|
134
|
+
"original": "any",
|
|
135
|
+
"resolved": "any",
|
|
136
|
+
"references": {}
|
|
137
|
+
},
|
|
138
|
+
"required": false,
|
|
139
|
+
"optional": false,
|
|
140
|
+
"docs": {
|
|
141
|
+
"tags": [],
|
|
142
|
+
"text": "Controls visibility"
|
|
143
|
+
},
|
|
144
|
+
"getter": false,
|
|
145
|
+
"setter": false,
|
|
146
|
+
"reflect": true,
|
|
147
|
+
"attribute": "visible",
|
|
148
|
+
"defaultValue": "false"
|
|
149
|
+
},
|
|
150
|
+
"type": {
|
|
151
|
+
"type": "string",
|
|
152
|
+
"mutable": true,
|
|
153
|
+
"complexType": {
|
|
154
|
+
"original": "AlertModalType",
|
|
155
|
+
"resolved": "\"error\" | \"loading\" | \"question\" | \"success\" | \"warning\"",
|
|
156
|
+
"references": {
|
|
157
|
+
"AlertModalType": {
|
|
158
|
+
"location": "local",
|
|
159
|
+
"path": "/Users/mac-ti/Documents/dropi/dropi-ui/src/components/dropi-alert-modal/dropi-alert-modal.tsx",
|
|
160
|
+
"id": "src/components/dropi-alert-modal/dropi-alert-modal.tsx::AlertModalType"
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
},
|
|
164
|
+
"required": false,
|
|
165
|
+
"optional": false,
|
|
166
|
+
"docs": {
|
|
167
|
+
"tags": [],
|
|
168
|
+
"text": "Modal type \u2014 determines Lottie animation"
|
|
169
|
+
},
|
|
170
|
+
"getter": false,
|
|
171
|
+
"setter": false,
|
|
172
|
+
"reflect": false,
|
|
173
|
+
"attribute": "type",
|
|
174
|
+
"defaultValue": "'question'"
|
|
175
|
+
},
|
|
176
|
+
"tittle": {
|
|
177
|
+
"type": "string",
|
|
178
|
+
"mutable": true,
|
|
179
|
+
"complexType": {
|
|
180
|
+
"original": "string",
|
|
181
|
+
"resolved": "string",
|
|
182
|
+
"references": {}
|
|
183
|
+
},
|
|
184
|
+
"required": false,
|
|
185
|
+
"optional": false,
|
|
186
|
+
"docs": {
|
|
187
|
+
"tags": [],
|
|
188
|
+
"text": "Bold title"
|
|
189
|
+
},
|
|
190
|
+
"getter": false,
|
|
191
|
+
"setter": false,
|
|
192
|
+
"reflect": false,
|
|
193
|
+
"attribute": "tittle",
|
|
194
|
+
"defaultValue": "''"
|
|
195
|
+
},
|
|
196
|
+
"message": {
|
|
197
|
+
"type": "string",
|
|
198
|
+
"mutable": true,
|
|
199
|
+
"complexType": {
|
|
200
|
+
"original": "string",
|
|
201
|
+
"resolved": "string",
|
|
202
|
+
"references": {}
|
|
203
|
+
},
|
|
204
|
+
"required": false,
|
|
205
|
+
"optional": false,
|
|
206
|
+
"docs": {
|
|
207
|
+
"tags": [],
|
|
208
|
+
"text": "Body message"
|
|
209
|
+
},
|
|
210
|
+
"getter": false,
|
|
211
|
+
"setter": false,
|
|
212
|
+
"reflect": false,
|
|
213
|
+
"attribute": "message",
|
|
214
|
+
"defaultValue": "''"
|
|
215
|
+
},
|
|
216
|
+
"primaryButton": {
|
|
217
|
+
"type": "string",
|
|
218
|
+
"mutable": true,
|
|
219
|
+
"complexType": {
|
|
220
|
+
"original": "string",
|
|
221
|
+
"resolved": "string",
|
|
222
|
+
"references": {}
|
|
223
|
+
},
|
|
224
|
+
"required": false,
|
|
225
|
+
"optional": false,
|
|
226
|
+
"docs": {
|
|
227
|
+
"tags": [],
|
|
228
|
+
"text": "Primary button label"
|
|
229
|
+
},
|
|
230
|
+
"getter": false,
|
|
231
|
+
"setter": false,
|
|
232
|
+
"reflect": false,
|
|
233
|
+
"attribute": "primary-button",
|
|
234
|
+
"defaultValue": "'Accept'"
|
|
235
|
+
},
|
|
236
|
+
"secondaryButton": {
|
|
237
|
+
"type": "string",
|
|
238
|
+
"mutable": true,
|
|
239
|
+
"complexType": {
|
|
240
|
+
"original": "string",
|
|
241
|
+
"resolved": "string",
|
|
242
|
+
"references": {}
|
|
243
|
+
},
|
|
244
|
+
"required": false,
|
|
245
|
+
"optional": false,
|
|
246
|
+
"docs": {
|
|
247
|
+
"tags": [],
|
|
248
|
+
"text": "Secondary button label (hidden if empty)"
|
|
249
|
+
},
|
|
250
|
+
"getter": false,
|
|
251
|
+
"setter": false,
|
|
252
|
+
"reflect": false,
|
|
253
|
+
"attribute": "secondary-button",
|
|
254
|
+
"defaultValue": "''"
|
|
255
|
+
},
|
|
256
|
+
"loading": {
|
|
257
|
+
"type": "boolean",
|
|
258
|
+
"mutable": false,
|
|
259
|
+
"complexType": {
|
|
260
|
+
"original": "boolean",
|
|
261
|
+
"resolved": "boolean",
|
|
262
|
+
"references": {}
|
|
263
|
+
},
|
|
264
|
+
"required": false,
|
|
265
|
+
"optional": false,
|
|
266
|
+
"docs": {
|
|
267
|
+
"tags": [],
|
|
268
|
+
"text": "Show loading state with loading.json Lottie"
|
|
269
|
+
},
|
|
270
|
+
"getter": false,
|
|
271
|
+
"setter": false,
|
|
272
|
+
"reflect": false,
|
|
273
|
+
"attribute": "loading",
|
|
274
|
+
"defaultValue": "false"
|
|
275
|
+
},
|
|
276
|
+
"closable": {
|
|
277
|
+
"type": "boolean",
|
|
278
|
+
"mutable": true,
|
|
279
|
+
"complexType": {
|
|
280
|
+
"original": "boolean",
|
|
281
|
+
"resolved": "boolean",
|
|
282
|
+
"references": {}
|
|
283
|
+
},
|
|
284
|
+
"required": false,
|
|
285
|
+
"optional": false,
|
|
286
|
+
"docs": {
|
|
287
|
+
"tags": [],
|
|
288
|
+
"text": "Show close icon in header"
|
|
289
|
+
},
|
|
290
|
+
"getter": false,
|
|
291
|
+
"setter": false,
|
|
292
|
+
"reflect": false,
|
|
293
|
+
"attribute": "closable",
|
|
294
|
+
"defaultValue": "false"
|
|
295
|
+
},
|
|
296
|
+
"displayButtons": {
|
|
297
|
+
"type": "boolean",
|
|
298
|
+
"mutable": true,
|
|
299
|
+
"complexType": {
|
|
300
|
+
"original": "boolean",
|
|
301
|
+
"resolved": "boolean",
|
|
302
|
+
"references": {}
|
|
303
|
+
},
|
|
304
|
+
"required": false,
|
|
305
|
+
"optional": false,
|
|
306
|
+
"docs": {
|
|
307
|
+
"tags": [],
|
|
308
|
+
"text": "Hide action buttons"
|
|
309
|
+
},
|
|
310
|
+
"getter": false,
|
|
311
|
+
"setter": false,
|
|
312
|
+
"reflect": false,
|
|
313
|
+
"attribute": "display-buttons",
|
|
314
|
+
"defaultValue": "true"
|
|
315
|
+
},
|
|
316
|
+
"loadingTitle": {
|
|
317
|
+
"type": "string",
|
|
318
|
+
"mutable": true,
|
|
319
|
+
"complexType": {
|
|
320
|
+
"original": "string",
|
|
321
|
+
"resolved": "string",
|
|
322
|
+
"references": {}
|
|
323
|
+
},
|
|
324
|
+
"required": false,
|
|
325
|
+
"optional": false,
|
|
326
|
+
"docs": {
|
|
327
|
+
"tags": [],
|
|
328
|
+
"text": "Loading title"
|
|
329
|
+
},
|
|
330
|
+
"getter": false,
|
|
331
|
+
"setter": false,
|
|
332
|
+
"reflect": false,
|
|
333
|
+
"attribute": "loading-title",
|
|
334
|
+
"defaultValue": "'Loading'"
|
|
335
|
+
},
|
|
336
|
+
"loadingMessage": {
|
|
337
|
+
"type": "string",
|
|
338
|
+
"mutable": true,
|
|
339
|
+
"complexType": {
|
|
340
|
+
"original": "string",
|
|
341
|
+
"resolved": "string",
|
|
342
|
+
"references": {}
|
|
343
|
+
},
|
|
344
|
+
"required": false,
|
|
345
|
+
"optional": false,
|
|
346
|
+
"docs": {
|
|
347
|
+
"tags": [],
|
|
348
|
+
"text": "Loading message"
|
|
349
|
+
},
|
|
350
|
+
"getter": false,
|
|
351
|
+
"setter": false,
|
|
352
|
+
"reflect": false,
|
|
353
|
+
"attribute": "loading-message",
|
|
354
|
+
"defaultValue": "'Please wait a moment'"
|
|
355
|
+
},
|
|
356
|
+
"isStep": {
|
|
357
|
+
"type": "boolean",
|
|
358
|
+
"mutable": false,
|
|
359
|
+
"complexType": {
|
|
360
|
+
"original": "boolean",
|
|
361
|
+
"resolved": "boolean",
|
|
362
|
+
"references": {}
|
|
363
|
+
},
|
|
364
|
+
"required": false,
|
|
365
|
+
"optional": false,
|
|
366
|
+
"docs": {
|
|
367
|
+
"tags": [],
|
|
368
|
+
"text": "When true, primary button does NOT auto-close the modal (matches Angular `isStep`).\nUseful for step-by-step flows."
|
|
369
|
+
},
|
|
370
|
+
"getter": false,
|
|
371
|
+
"setter": false,
|
|
372
|
+
"reflect": false,
|
|
373
|
+
"attribute": "is-step",
|
|
374
|
+
"defaultValue": "false"
|
|
375
|
+
},
|
|
376
|
+
"baseZIndex": {
|
|
377
|
+
"type": "number",
|
|
378
|
+
"mutable": false,
|
|
379
|
+
"complexType": {
|
|
380
|
+
"original": "number",
|
|
381
|
+
"resolved": "number",
|
|
382
|
+
"references": {}
|
|
383
|
+
},
|
|
384
|
+
"required": false,
|
|
385
|
+
"optional": false,
|
|
386
|
+
"docs": {
|
|
387
|
+
"tags": [],
|
|
388
|
+
"text": "Base z-index for the internal modal overlay (matches Angular `baseZIndex`)"
|
|
389
|
+
},
|
|
390
|
+
"getter": false,
|
|
391
|
+
"setter": false,
|
|
392
|
+
"reflect": false,
|
|
393
|
+
"attribute": "base-z-index",
|
|
394
|
+
"defaultValue": "0"
|
|
395
|
+
},
|
|
396
|
+
"params": {
|
|
397
|
+
"type": "any",
|
|
398
|
+
"mutable": false,
|
|
399
|
+
"complexType": {
|
|
400
|
+
"original": "any",
|
|
401
|
+
"resolved": "any",
|
|
402
|
+
"references": {}
|
|
403
|
+
},
|
|
404
|
+
"required": false,
|
|
405
|
+
"optional": false,
|
|
406
|
+
"docs": {
|
|
407
|
+
"tags": [],
|
|
408
|
+
"text": "Convenience object prop \u2014 matches Angular `params: ModalParams`.\nFields: tittle, type, message, primaryButton, secondaryButton, loadingTitle,\nloadingMessage, closable, displayButtons.\nWhen provided, its values override the corresponding individual props."
|
|
409
|
+
},
|
|
410
|
+
"getter": false,
|
|
411
|
+
"setter": false,
|
|
412
|
+
"reflect": false,
|
|
413
|
+
"attribute": "params",
|
|
414
|
+
"defaultValue": "null"
|
|
415
|
+
}
|
|
416
|
+
};
|
|
417
|
+
}
|
|
418
|
+
static get events() {
|
|
419
|
+
return [{
|
|
420
|
+
"method": "primaryButtonEvent",
|
|
421
|
+
"name": "primaryButtonEvent",
|
|
422
|
+
"bubbles": true,
|
|
423
|
+
"cancelable": true,
|
|
424
|
+
"composed": true,
|
|
425
|
+
"docs": {
|
|
426
|
+
"tags": [],
|
|
427
|
+
"text": "Emitted when primary button is clicked \u2014 matches Angular 'primaryButtonEvent'"
|
|
428
|
+
},
|
|
429
|
+
"complexType": {
|
|
430
|
+
"original": "boolean",
|
|
431
|
+
"resolved": "boolean",
|
|
432
|
+
"references": {}
|
|
433
|
+
}
|
|
434
|
+
}, {
|
|
435
|
+
"method": "secondaryButtonEvent",
|
|
436
|
+
"name": "secondaryButtonEvent",
|
|
437
|
+
"bubbles": true,
|
|
438
|
+
"cancelable": true,
|
|
439
|
+
"composed": true,
|
|
440
|
+
"docs": {
|
|
441
|
+
"tags": [],
|
|
442
|
+
"text": "Emitted when secondary button is clicked \u2014 matches Angular 'secondaryButtonEvent'"
|
|
443
|
+
},
|
|
444
|
+
"complexType": {
|
|
445
|
+
"original": "boolean",
|
|
446
|
+
"resolved": "boolean",
|
|
447
|
+
"references": {}
|
|
448
|
+
}
|
|
449
|
+
}, {
|
|
450
|
+
"method": "modalOpenChange",
|
|
451
|
+
"name": "modalOpenChange",
|
|
452
|
+
"bubbles": true,
|
|
453
|
+
"cancelable": true,
|
|
454
|
+
"composed": true,
|
|
455
|
+
"docs": {
|
|
456
|
+
"tags": [],
|
|
457
|
+
"text": "Emitted when modal open state changes \u2014 matches Angular 'modalOpenChange'"
|
|
458
|
+
},
|
|
459
|
+
"complexType": {
|
|
460
|
+
"original": "boolean",
|
|
461
|
+
"resolved": "boolean",
|
|
462
|
+
"references": {}
|
|
463
|
+
}
|
|
464
|
+
}, {
|
|
465
|
+
"method": "onHide",
|
|
466
|
+
"name": "onHide",
|
|
467
|
+
"bubbles": true,
|
|
468
|
+
"cancelable": true,
|
|
469
|
+
"composed": true,
|
|
470
|
+
"docs": {
|
|
471
|
+
"tags": [],
|
|
472
|
+
"text": "Emitted when modal is hidden \u2014 matches Angular 'onHide'"
|
|
473
|
+
},
|
|
474
|
+
"complexType": {
|
|
475
|
+
"original": "void",
|
|
476
|
+
"resolved": "void",
|
|
477
|
+
"references": {}
|
|
478
|
+
}
|
|
479
|
+
}];
|
|
480
|
+
}
|
|
481
|
+
static get methods() {
|
|
482
|
+
return {
|
|
483
|
+
"show": {
|
|
484
|
+
"complexType": {
|
|
485
|
+
"signature": "() => Promise<void>",
|
|
486
|
+
"parameters": [],
|
|
487
|
+
"references": {
|
|
488
|
+
"Promise": {
|
|
489
|
+
"location": "global",
|
|
490
|
+
"id": "global::Promise"
|
|
491
|
+
}
|
|
492
|
+
},
|
|
493
|
+
"return": "Promise<void>"
|
|
494
|
+
},
|
|
495
|
+
"docs": {
|
|
496
|
+
"text": "",
|
|
497
|
+
"tags": []
|
|
498
|
+
}
|
|
499
|
+
},
|
|
500
|
+
"hide": {
|
|
501
|
+
"complexType": {
|
|
502
|
+
"signature": "() => Promise<void>",
|
|
503
|
+
"parameters": [],
|
|
504
|
+
"references": {
|
|
505
|
+
"Promise": {
|
|
506
|
+
"location": "global",
|
|
507
|
+
"id": "global::Promise"
|
|
508
|
+
}
|
|
509
|
+
},
|
|
510
|
+
"return": "Promise<void>"
|
|
511
|
+
},
|
|
512
|
+
"docs": {
|
|
513
|
+
"text": "",
|
|
514
|
+
"tags": []
|
|
515
|
+
}
|
|
516
|
+
}
|
|
517
|
+
};
|
|
518
|
+
}
|
|
519
|
+
static get watchers() {
|
|
520
|
+
return [{
|
|
521
|
+
"propName": "params",
|
|
522
|
+
"methodName": "paramsChanged"
|
|
523
|
+
}];
|
|
524
|
+
}
|
|
525
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
:host {
|
|
2
|
+
display: inline-block;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
.avatar {
|
|
6
|
+
margin: 0;
|
|
7
|
+
padding: 0;
|
|
8
|
+
display: flex;
|
|
9
|
+
align-items: center;
|
|
10
|
+
justify-content: center;
|
|
11
|
+
border-radius: 50%;
|
|
12
|
+
overflow: hidden;
|
|
13
|
+
flex-shrink: 0;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.avatar img {
|
|
17
|
+
width: 100%;
|
|
18
|
+
height: 100%;
|
|
19
|
+
object-fit: cover;
|
|
20
|
+
border-radius: 50%;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
/* ── Size variants ─────────────────────────────────────── */
|
|
24
|
+
.avatar--users,
|
|
25
|
+
.avatar--transport,
|
|
26
|
+
.avatar--payment {
|
|
27
|
+
width: 35px;
|
|
28
|
+
height: 35px;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.avatar--supplier {
|
|
32
|
+
width: 70px;
|
|
33
|
+
height: 70px;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.avatar--counter {
|
|
37
|
+
width: 33px;
|
|
38
|
+
height: 33px;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
/* ── Initials fallback ─────────────────────────────────── */
|
|
42
|
+
.avatar__initials {
|
|
43
|
+
display: flex;
|
|
44
|
+
align-items: center;
|
|
45
|
+
justify-content: center;
|
|
46
|
+
width: 100%;
|
|
47
|
+
height: 100%;
|
|
48
|
+
border-radius: 50%;
|
|
49
|
+
background-color: var(--Primary-Primary-100, #fde9d0);
|
|
50
|
+
color: var(--Primary-Primary-600, #d4872e);
|
|
51
|
+
font-size: var(--font-size-xs, 10px);
|
|
52
|
+
font-weight: var(--font-weight-bold, 700);
|
|
53
|
+
text-transform: uppercase;
|
|
54
|
+
letter-spacing: 0.5px;
|
|
55
|
+
}
|