@dropi/ui 0.1.24 → 0.1.26
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/{esm → dropi-ui}/dropi-accordion-item.entry.js +8 -2
- package/dist/dropi-ui/dropi-accordion-item.entry.js.map +1 -0
- package/dist/{esm → dropi-ui}/dropi-accordion.entry.js +4 -1
- package/dist/dropi-ui/dropi-accordion.entry.js.map +1 -0
- package/dist/{esm → dropi-ui}/dropi-alert-legacy.entry.js +4 -1
- package/dist/dropi-ui/dropi-alert-legacy.entry.js.map +1 -0
- package/dist/{esm → dropi-ui}/dropi-alert-modal.entry.js +4 -1
- package/dist/dropi-ui/dropi-alert-modal.entry.js.map +1 -0
- package/dist/{esm → dropi-ui}/dropi-alert.entry.js +4 -1
- package/dist/dropi-ui/dropi-alert.entry.js.map +1 -0
- package/dist/{esm → dropi-ui}/dropi-avatars.entry.js +4 -1
- package/dist/dropi-ui/dropi-avatars.entry.js.map +1 -0
- package/dist/{esm → dropi-ui}/dropi-badge-legacy.entry.js +4 -1
- package/dist/dropi-ui/dropi-badge-legacy.entry.js.map +1 -0
- package/dist/{esm → dropi-ui}/dropi-badge.entry.js +4 -1
- package/dist/dropi-ui/dropi-badge.entry.js.map +1 -0
- package/dist/{esm → dropi-ui}/dropi-banner-external.entry.js +4 -1
- package/dist/dropi-ui/dropi-banner-external.entry.js.map +1 -0
- package/dist/{esm → dropi-ui}/dropi-breadcrumb.entry.js +4 -1
- package/dist/dropi-ui/dropi-breadcrumb.entry.js.map +1 -0
- package/dist/{esm → dropi-ui}/dropi-button.entry.js +4 -1
- package/dist/dropi-ui/dropi-button.entry.js.map +1 -0
- package/dist/{esm → dropi-ui}/dropi-card-checkbox.entry.js +4 -1
- package/dist/dropi-ui/dropi-card-checkbox.entry.js.map +1 -0
- package/dist/{esm → dropi-ui}/dropi-card-product.entry.js +4 -1
- package/dist/dropi-ui/dropi-card-product.entry.js.map +1 -0
- package/dist/{esm → dropi-ui}/dropi-card-section.entry.js +4 -1
- package/dist/dropi-ui/dropi-card-section.entry.js.map +1 -0
- package/dist/{esm → dropi-ui}/dropi-carousel.entry.js +4 -1
- package/dist/dropi-ui/dropi-carousel.entry.js.map +1 -0
- package/dist/{esm → dropi-ui}/dropi-checkbox-selection-list.entry.js +4 -1
- package/dist/dropi-ui/dropi-checkbox-selection-list.entry.js.map +1 -0
- package/dist/{esm → dropi-ui}/dropi-checkbox.entry.js +4 -1
- package/dist/dropi-ui/dropi-checkbox.entry.js.map +1 -0
- package/dist/{esm → dropi-ui}/dropi-chips.entry.js +4 -1
- package/dist/dropi-ui/dropi-chips.entry.js.map +1 -0
- package/dist/{esm → dropi-ui}/dropi-city-selector.entry.js +4 -1
- package/dist/dropi-ui/dropi-city-selector.entry.js.map +1 -0
- package/dist/{esm → dropi-ui}/dropi-color-picker.entry.js +4 -1
- package/dist/dropi-ui/dropi-color-picker.entry.js.map +1 -0
- package/dist/{esm → dropi-ui}/dropi-country-flags.entry.js +4 -1
- package/dist/dropi-ui/dropi-country-flags.entry.js.map +1 -0
- package/dist/{esm → dropi-ui}/dropi-country-selector.entry.js +4 -1
- package/dist/dropi-ui/dropi-country-selector.entry.js.map +1 -0
- package/dist/{esm → dropi-ui}/dropi-date-picker-range.entry.js +4 -1
- package/dist/dropi-ui/dropi-date-picker-range.entry.js.map +1 -0
- package/dist/{esm → dropi-ui}/dropi-date-picker.entry.js +4 -1
- package/dist/dropi-ui/dropi-date-picker.entry.js.map +1 -0
- package/dist/{esm → dropi-ui}/dropi-drawer.entry.js +4 -1
- package/dist/dropi-ui/dropi-drawer.entry.js.map +1 -0
- package/dist/{esm → dropi-ui}/dropi-dropdown.entry.js +4 -1
- package/dist/dropi-ui/dropi-dropdown.entry.js.map +1 -0
- package/dist/{esm → dropi-ui}/dropi-empty-state.entry.js +4 -1
- package/dist/dropi-ui/dropi-empty-state.entry.js.map +1 -0
- package/dist/{esm → dropi-ui}/dropi-favorite-button.entry.js +4 -1
- package/dist/dropi-ui/dropi-favorite-button.entry.js.map +1 -0
- package/dist/{esm → dropi-ui}/dropi-file-upload-progress-bar.entry.js +4 -1
- package/dist/dropi-ui/dropi-file-upload-progress-bar.entry.js.map +1 -0
- package/dist/{esm → dropi-ui}/dropi-file-upload.entry.js +4 -1
- package/dist/dropi-ui/dropi-file-upload.entry.js.map +1 -0
- package/dist/{esm → dropi-ui}/dropi-icon.entry.js +4 -1
- package/dist/dropi-ui/dropi-icon.entry.js.map +1 -0
- package/dist/{esm → dropi-ui}/dropi-ilustration-icon.entry.js +4 -1
- package/dist/dropi-ui/dropi-ilustration-icon.entry.js.map +1 -0
- package/dist/{esm → dropi-ui}/dropi-image-miniature.entry.js +4 -1
- package/dist/dropi-ui/dropi-image-miniature.entry.js.map +1 -0
- package/dist/{esm → dropi-ui}/dropi-image-overlay.entry.js +4 -1
- package/dist/dropi-ui/dropi-image-overlay.entry.js.map +1 -0
- package/dist/{esm/dropi-input_3.entry.js → dropi-ui/dropi-input.entry.js} +4 -128
- package/dist/dropi-ui/dropi-input.entry.js.map +1 -0
- package/dist/{esm → dropi-ui}/dropi-languages-selector.entry.js +4 -1
- package/dist/dropi-ui/dropi-languages-selector.entry.js.map +1 -0
- package/dist/{esm → dropi-ui}/dropi-logo.entry.js +4 -1
- package/dist/dropi-ui/dropi-logo.entry.js.map +1 -0
- package/dist/{esm → dropi-ui}/dropi-lottie-loader.entry.js +4 -1
- package/dist/dropi-ui/dropi-lottie-loader.entry.js.map +1 -0
- package/dist/{esm → dropi-ui}/dropi-media-player.entry.js +4 -1
- package/dist/dropi-ui/dropi-media-player.entry.js.map +1 -0
- package/dist/{esm → dropi-ui}/dropi-modal.entry.js +4 -1
- package/dist/dropi-ui/dropi-modal.entry.js.map +1 -0
- package/dist/{esm → dropi-ui}/dropi-navbar.entry.js +4 -1
- package/dist/dropi-ui/dropi-navbar.entry.js.map +1 -0
- package/dist/{esm → dropi-ui}/dropi-otp-send-code.entry.js +4 -1
- package/dist/dropi-ui/dropi-otp-send-code.entry.js.map +1 -0
- package/dist/dropi-ui/dropi-paginator.entry.js +70 -0
- package/dist/dropi-ui/dropi-paginator.entry.js.map +1 -0
- package/dist/{esm → dropi-ui}/dropi-phone-input.entry.js +4 -1
- package/dist/dropi-ui/dropi-phone-input.entry.js.map +1 -0
- package/dist/{esm → dropi-ui}/dropi-radio-button.entry.js +4 -1
- package/dist/dropi-ui/dropi-radio-button.entry.js.map +1 -0
- package/dist/{esm → dropi-ui}/dropi-radio-selection-list.entry.js +4 -1
- package/dist/dropi-ui/dropi-radio-selection-list.entry.js.map +1 -0
- package/dist/{esm → dropi-ui}/dropi-read-more.entry.js +4 -1
- package/dist/dropi-ui/dropi-read-more.entry.js.map +1 -0
- package/dist/{esm → dropi-ui}/dropi-search.entry.js +4 -1
- package/dist/dropi-ui/dropi-search.entry.js.map +1 -0
- package/dist/{esm → dropi-ui}/dropi-select.entry.js +4 -1
- package/dist/dropi-ui/dropi-select.entry.js.map +1 -0
- package/dist/{esm → dropi-ui}/dropi-sidebar.entry.js +4 -1
- package/dist/dropi-ui/dropi-sidebar.entry.js.map +1 -0
- package/dist/{esm → dropi-ui}/dropi-simple-stepper.entry.js +4 -1
- package/dist/dropi-ui/dropi-simple-stepper.entry.js.map +1 -0
- package/dist/{esm → dropi-ui}/dropi-skeleton.entry.js +4 -1
- package/dist/dropi-ui/dropi-skeleton.entry.js.map +1 -0
- package/dist/{esm → dropi-ui}/dropi-steps.entry.js +4 -1
- package/dist/dropi-ui/dropi-steps.entry.js.map +1 -0
- package/dist/{esm → dropi-ui}/dropi-switch.entry.js +4 -1
- package/dist/dropi-ui/dropi-switch.entry.js.map +1 -0
- package/dist/{esm → dropi-ui}/dropi-table.entry.js +4 -1
- package/dist/dropi-ui/dropi-table.entry.js.map +1 -0
- package/dist/{esm → dropi-ui}/dropi-tabs.entry.js +4 -1
- package/dist/dropi-ui/dropi-tabs.entry.js.map +1 -0
- package/dist/{esm → dropi-ui}/dropi-tag-type-product.entry.js +4 -1
- package/dist/dropi-ui/dropi-tag-type-product.entry.js.map +1 -0
- package/dist/dropi-ui/dropi-tag.entry.js +69 -0
- package/dist/dropi-ui/dropi-tag.entry.js.map +1 -0
- package/dist/{esm → dropi-ui}/dropi-text-area.entry.js +4 -1
- package/dist/dropi-ui/dropi-text-area.entry.js.map +1 -0
- package/dist/{esm → dropi-ui}/dropi-time-line.entry.js +4 -1
- package/dist/dropi-ui/dropi-time-line.entry.js.map +1 -0
- package/dist/{esm → dropi-ui}/dropi-toast.entry.js +4 -1
- package/dist/dropi-ui/dropi-toast.entry.js.map +1 -0
- package/dist/{esm → dropi-ui}/dropi-tooltip-v2.entry.js +4 -1
- package/dist/dropi-ui/dropi-tooltip-v2.entry.js.map +1 -0
- package/dist/{esm → dropi-ui}/dropi-tooltip.entry.js +4 -1
- package/dist/dropi-ui/dropi-tooltip.entry.js.map +1 -0
- package/dist/dropi-ui/dropi-ui.css +311 -1
- package/dist/dropi-ui/dropi-ui.esm.js +50 -1
- package/dist/dropi-ui/dropi-ui.esm.js.map +1 -0
- package/dist/{esm → dropi-ui}/dropi-vertical-steps.entry.js +4 -1
- package/dist/dropi-ui/dropi-vertical-steps.entry.js.map +1 -0
- package/dist/{esm → dropi-ui}/dropi-youtube-lazy-video.entry.js +4 -1
- package/dist/dropi-ui/dropi-youtube-lazy-video.entry.js.map +1 -0
- package/dist/dropi-ui/index-Cvp2LQOM.js +4585 -0
- package/dist/dropi-ui/index-Cvp2LQOM.js.map +1 -0
- package/dist/dropi-ui/index.esm.js +4 -0
- package/dist/dropi-ui/index.esm.js.map +1 -0
- package/package.json +1 -1
- package/readme.md +112 -58
- package/scripts/setup.js +11 -7
- package/dist/cjs/dropi-accordion-item.cjs.entry.js +0 -54
- package/dist/cjs/dropi-accordion.cjs.entry.js +0 -19
- package/dist/cjs/dropi-alert-legacy.cjs.entry.js +0 -39
- package/dist/cjs/dropi-alert-modal.cjs.entry.js +0 -128
- package/dist/cjs/dropi-alert.cjs.entry.js +0 -64
- package/dist/cjs/dropi-avatars.cjs.entry.js +0 -31
- package/dist/cjs/dropi-badge-legacy.cjs.entry.js +0 -30
- package/dist/cjs/dropi-badge.cjs.entry.js +0 -37
- package/dist/cjs/dropi-banner-external.cjs.entry.js +0 -63
- package/dist/cjs/dropi-breadcrumb.cjs.entry.js +0 -48
- package/dist/cjs/dropi-button.cjs.entry.js +0 -87
- package/dist/cjs/dropi-card-checkbox.cjs.entry.js +0 -48
- package/dist/cjs/dropi-card-product.cjs.entry.js +0 -78
- package/dist/cjs/dropi-card-section.cjs.entry.js +0 -38
- package/dist/cjs/dropi-carousel.cjs.entry.js +0 -153
- package/dist/cjs/dropi-checkbox-selection-list.cjs.entry.js +0 -73
- package/dist/cjs/dropi-checkbox.cjs.entry.js +0 -36
- package/dist/cjs/dropi-chips.cjs.entry.js +0 -30
- package/dist/cjs/dropi-city-selector.cjs.entry.js +0 -104
- package/dist/cjs/dropi-color-picker.cjs.entry.js +0 -319
- package/dist/cjs/dropi-country-flags.cjs.entry.js +0 -37
- package/dist/cjs/dropi-country-selector.cjs.entry.js +0 -197
- package/dist/cjs/dropi-date-picker-range.cjs.entry.js +0 -115
- package/dist/cjs/dropi-date-picker.cjs.entry.js +0 -223
- package/dist/cjs/dropi-drawer.cjs.entry.js +0 -79
- package/dist/cjs/dropi-dropdown.cjs.entry.js +0 -65
- package/dist/cjs/dropi-empty-state.cjs.entry.js +0 -36
- package/dist/cjs/dropi-favorite-button.cjs.entry.js +0 -27
- package/dist/cjs/dropi-file-upload-progress-bar.cjs.entry.js +0 -77
- package/dist/cjs/dropi-file-upload.cjs.entry.js +0 -237
- package/dist/cjs/dropi-icon.cjs.entry.js +0 -67
- package/dist/cjs/dropi-ilustration-icon.cjs.entry.js +0 -39
- package/dist/cjs/dropi-image-miniature.cjs.entry.js +0 -44
- package/dist/cjs/dropi-image-overlay.cjs.entry.js +0 -63
- package/dist/cjs/dropi-input_3.cjs.entry.js +0 -392
- package/dist/cjs/dropi-languages-selector.cjs.entry.js +0 -61
- package/dist/cjs/dropi-logo.cjs.entry.js +0 -37
- package/dist/cjs/dropi-lottie-loader.cjs.entry.js +0 -27
- package/dist/cjs/dropi-media-player.cjs.entry.js +0 -192
- package/dist/cjs/dropi-modal.cjs.entry.js +0 -142
- package/dist/cjs/dropi-navbar.cjs.entry.js +0 -54
- package/dist/cjs/dropi-otp-send-code.cjs.entry.js +0 -92
- package/dist/cjs/dropi-phone-input.cjs.entry.js +0 -197
- package/dist/cjs/dropi-radio-button.cjs.entry.js +0 -47
- package/dist/cjs/dropi-radio-selection-list.cjs.entry.js +0 -60
- package/dist/cjs/dropi-read-more.cjs.entry.js +0 -40
- package/dist/cjs/dropi-search.cjs.entry.js +0 -124
- package/dist/cjs/dropi-select.cjs.entry.js +0 -382
- package/dist/cjs/dropi-sidebar.cjs.entry.js +0 -78
- package/dist/cjs/dropi-simple-stepper.cjs.entry.js +0 -53
- package/dist/cjs/dropi-skeleton.cjs.entry.js +0 -57
- package/dist/cjs/dropi-steps.cjs.entry.js +0 -52
- package/dist/cjs/dropi-switch.cjs.entry.js +0 -30
- package/dist/cjs/dropi-table.cjs.entry.js +0 -299
- package/dist/cjs/dropi-tabs.cjs.entry.js +0 -51
- package/dist/cjs/dropi-tag-type-product.cjs.entry.js +0 -19
- package/dist/cjs/dropi-text-area.cjs.entry.js +0 -134
- package/dist/cjs/dropi-time-line.cjs.entry.js +0 -34
- package/dist/cjs/dropi-toast.cjs.entry.js +0 -56
- package/dist/cjs/dropi-tooltip-v2.cjs.entry.js +0 -131
- package/dist/cjs/dropi-tooltip.cjs.entry.js +0 -21
- package/dist/cjs/dropi-ui.cjs.js +0 -24
- package/dist/cjs/dropi-vertical-steps.cjs.entry.js +0 -55
- package/dist/cjs/dropi-youtube-lazy-video.cjs.entry.js +0 -33
- package/dist/cjs/index-C8kwDvpf.js +0 -2773
- package/dist/cjs/index.cjs.js +0 -2
- package/dist/cjs/loader.cjs.js +0 -12
- package/dist/collection/assets/icons/symbol/svg/sprite.css.svg +0 -1
- package/dist/collection/collection-manifest.json +0 -77
- package/dist/collection/components/dropi-accordion/dropi-accordion-item.css +0 -45
- package/dist/collection/components/dropi-accordion/dropi-accordion-item.js +0 -172
- package/dist/collection/components/dropi-accordion/dropi-accordion.css +0 -21
- package/dist/collection/components/dropi-accordion/dropi-accordion.js +0 -48
- package/dist/collection/components/dropi-alert/dropi-alert.css +0 -128
- package/dist/collection/components/dropi-alert/dropi-alert.js +0 -371
- package/dist/collection/components/dropi-alert-legacy/dropi-alert-legacy.css +0 -31
- package/dist/collection/components/dropi-alert-legacy/dropi-alert-legacy.js +0 -128
- package/dist/collection/components/dropi-alert-modal/dropi-alert-modal.css +0 -105
- package/dist/collection/components/dropi-alert-modal/dropi-alert-modal.js +0 -525
- package/dist/collection/components/dropi-avatars/dropi-avatars.css +0 -55
- package/dist/collection/components/dropi-avatars/dropi-avatars.js +0 -126
- package/dist/collection/components/dropi-badge/dropi-badge.css +0 -41
- package/dist/collection/components/dropi-badge/dropi-badge.js +0 -71
- package/dist/collection/components/dropi-badge-legacy/dropi-badge-legacy.css +0 -17
- package/dist/collection/components/dropi-badge-legacy/dropi-badge-legacy.js +0 -119
- package/dist/collection/components/dropi-banner-external/dropi-banner-external.css +0 -56
- package/dist/collection/components/dropi-banner-external/dropi-banner-external.js +0 -254
- package/dist/collection/components/dropi-breadcrumb/dropi-breadcrumb.css +0 -69
- package/dist/collection/components/dropi-breadcrumb/dropi-breadcrumb.js +0 -171
- package/dist/collection/components/dropi-button/dropi-button.css +0 -177
- package/dist/collection/components/dropi-button/dropi-button.js +0 -323
- package/dist/collection/components/dropi-card-checkbox/dropi-card-checkbox.css +0 -92
- package/dist/collection/components/dropi-card-checkbox/dropi-card-checkbox.js +0 -222
- package/dist/collection/components/dropi-card-product/dropi-card-product.css +0 -235
- package/dist/collection/components/dropi-card-product/dropi-card-product.js +0 -386
- package/dist/collection/components/dropi-card-section/dropi-card-section.css +0 -42
- package/dist/collection/components/dropi-card-section/dropi-card-section.js +0 -178
- package/dist/collection/components/dropi-carousel/dropi-carousel.css +0 -148
- package/dist/collection/components/dropi-carousel/dropi-carousel.js +0 -379
- package/dist/collection/components/dropi-checkbox/dropi-checkbox.css +0 -47
- package/dist/collection/components/dropi-checkbox/dropi-checkbox.js +0 -103
- package/dist/collection/components/dropi-checkbox-selection-list/dropi-checkbox-selection-list.css +0 -44
- package/dist/collection/components/dropi-checkbox-selection-list/dropi-checkbox-selection-list.js +0 -267
- package/dist/collection/components/dropi-chips/dropi-chips.css +0 -68
- package/dist/collection/components/dropi-chips/dropi-chips.js +0 -169
- package/dist/collection/components/dropi-city-selector/dropi-city-selector.css +0 -218
- package/dist/collection/components/dropi-city-selector/dropi-city-selector.js +0 -242
- package/dist/collection/components/dropi-color-picker/dropi-color-picker.css +0 -210
- package/dist/collection/components/dropi-color-picker/dropi-color-picker.js +0 -393
- package/dist/collection/components/dropi-country-flags/dropi-country-flags.css +0 -30
- package/dist/collection/components/dropi-country-flags/dropi-country-flags.js +0 -129
- package/dist/collection/components/dropi-country-selector/dropi-country-selector.css +0 -211
- package/dist/collection/components/dropi-country-selector/dropi-country-selector.js +0 -429
- package/dist/collection/components/dropi-date-picker/dropi-date-picker.css +0 -215
- package/dist/collection/components/dropi-date-picker/dropi-date-picker.js +0 -516
- package/dist/collection/components/dropi-date-picker-range/dropi-date-picker-range.css +0 -143
- package/dist/collection/components/dropi-date-picker-range/dropi-date-picker-range.js +0 -327
- package/dist/collection/components/dropi-drawer/dropi-drawer.css +0 -129
- package/dist/collection/components/dropi-drawer/dropi-drawer.js +0 -287
- package/dist/collection/components/dropi-dropdown/dropi-dropdown.css +0 -51
- package/dist/collection/components/dropi-dropdown/dropi-dropdown.js +0 -209
- package/dist/collection/components/dropi-empty-state/dropi-empty-state.css +0 -59
- package/dist/collection/components/dropi-empty-state/dropi-empty-state.js +0 -222
- package/dist/collection/components/dropi-favorite-button/dropi-favorite-button.css +0 -24
- package/dist/collection/components/dropi-favorite-button/dropi-favorite-button.js +0 -78
- package/dist/collection/components/dropi-file-upload/dropi-file-upload.css +0 -464
- package/dist/collection/components/dropi-file-upload/dropi-file-upload.js +0 -517
- package/dist/collection/components/dropi-file-upload-progress-bar/dropi-file-upload-progress-bar.css +0 -115
- package/dist/collection/components/dropi-file-upload-progress-bar/dropi-file-upload-progress-bar.js +0 -258
- package/dist/collection/components/dropi-icon/dropi-icon.css +0 -26
- package/dist/collection/components/dropi-icon/dropi-icon.js +0 -159
- package/dist/collection/components/dropi-ilustration-icon/dropi-ilustration-icon.css +0 -91
- package/dist/collection/components/dropi-ilustration-icon/dropi-ilustration-icon.js +0 -150
- package/dist/collection/components/dropi-image-miniature/dropi-image-miniature.css +0 -45
- package/dist/collection/components/dropi-image-miniature/dropi-image-miniature.js +0 -150
- package/dist/collection/components/dropi-image-overlay/dropi-image-overlay.css +0 -127
- package/dist/collection/components/dropi-image-overlay/dropi-image-overlay.js +0 -156
- package/dist/collection/components/dropi-input/dropi-input.css +0 -185
- package/dist/collection/components/dropi-input/dropi-input.js +0 -808
- package/dist/collection/components/dropi-languages-selector/dropi-languages-selector.css +0 -79
- package/dist/collection/components/dropi-languages-selector/dropi-languages-selector.js +0 -158
- package/dist/collection/components/dropi-logo/dropi-logo.css +0 -26
- package/dist/collection/components/dropi-logo/dropi-logo.js +0 -107
- package/dist/collection/components/dropi-lottie-loader/dropi-lottie-loader.css +0 -56
- package/dist/collection/components/dropi-lottie-loader/dropi-lottie-loader.js +0 -116
- package/dist/collection/components/dropi-media-player/dropi-media-player.css +0 -320
- package/dist/collection/components/dropi-media-player/dropi-media-player.js +0 -394
- package/dist/collection/components/dropi-modal/dropi-modal.css +0 -140
- package/dist/collection/components/dropi-modal/dropi-modal.js +0 -695
- package/dist/collection/components/dropi-navbar/dropi-navbar.css +0 -166
- package/dist/collection/components/dropi-navbar/dropi-navbar.js +0 -302
- package/dist/collection/components/dropi-otp-send-code/dropi-otp-send-code.css +0 -67
- package/dist/collection/components/dropi-otp-send-code/dropi-otp-send-code.js +0 -221
- package/dist/collection/components/dropi-paginator/dropi-paginator.css +0 -103
- package/dist/collection/components/dropi-paginator/dropi-paginator.js +0 -215
- package/dist/collection/components/dropi-phone-input/dropi-phone-input.css +0 -209
- package/dist/collection/components/dropi-phone-input/dropi-phone-input.js +0 -442
- package/dist/collection/components/dropi-radio-button/dropi-radio-button.css +0 -62
- package/dist/collection/components/dropi-radio-button/dropi-radio-button.js +0 -174
- package/dist/collection/components/dropi-radio-selection-list/dropi-radio-selection-list.css +0 -64
- package/dist/collection/components/dropi-radio-selection-list/dropi-radio-selection-list.js +0 -259
- package/dist/collection/components/dropi-read-more/dropi-read-more.css +0 -25
- package/dist/collection/components/dropi-read-more/dropi-read-more.js +0 -154
- package/dist/collection/components/dropi-search/dropi-search.css +0 -112
- package/dist/collection/components/dropi-search/dropi-search.js +0 -526
- package/dist/collection/components/dropi-select/dropi-select.css +0 -366
- package/dist/collection/components/dropi-select/dropi-select.js +0 -1018
- package/dist/collection/components/dropi-select/select.types.js +0 -1
- package/dist/collection/components/dropi-sidebar/dropi-sidebar.css +0 -76
- package/dist/collection/components/dropi-sidebar/dropi-sidebar.js +0 -143
- package/dist/collection/components/dropi-simple-stepper/dropi-simple-stepper.css +0 -94
- package/dist/collection/components/dropi-simple-stepper/dropi-simple-stepper.js +0 -194
- package/dist/collection/components/dropi-skeleton/dropi-skeleton.css +0 -27
- package/dist/collection/components/dropi-skeleton/dropi-skeleton.js +0 -192
- package/dist/collection/components/dropi-steps/dropi-steps.css +0 -95
- package/dist/collection/components/dropi-steps/dropi-steps.js +0 -173
- package/dist/collection/components/dropi-switch/dropi-switch.css +0 -57
- package/dist/collection/components/dropi-switch/dropi-switch.js +0 -96
- package/dist/collection/components/dropi-table/dropi-table.css +0 -540
- package/dist/collection/components/dropi-table/dropi-table.js +0 -973
- package/dist/collection/components/dropi-tabs/dropi-tabs.css +0 -47
- package/dist/collection/components/dropi-tabs/dropi-tabs.js +0 -181
- package/dist/collection/components/dropi-tag/dropi-tag.css +0 -39
- package/dist/collection/components/dropi-tag/dropi-tag.js +0 -190
- package/dist/collection/components/dropi-tag-type-product/dropi-tag-type-product.css +0 -14
- package/dist/collection/components/dropi-tag-type-product/dropi-tag-type-product.js +0 -48
- package/dist/collection/components/dropi-text-area/dropi-text-area.css +0 -100
- package/dist/collection/components/dropi-text-area/dropi-text-area.js +0 -512
- package/dist/collection/components/dropi-time-line/dropi-time-line.css +0 -108
- package/dist/collection/components/dropi-time-line/dropi-time-line.js +0 -69
- package/dist/collection/components/dropi-toast/dropi-toast.css +0 -63
- package/dist/collection/components/dropi-toast/dropi-toast.js +0 -165
- package/dist/collection/components/dropi-tooltip/dropi-tooltip.css +0 -32
- package/dist/collection/components/dropi-tooltip/dropi-tooltip.js +0 -70
- package/dist/collection/components/dropi-tooltip-v2/dropi-tooltip.css +0 -67
- package/dist/collection/components/dropi-tooltip-v2/dropi-tooltip.js +0 -468
- package/dist/collection/components/dropi-vertical-steps/dropi-vertical-steps.css +0 -95
- package/dist/collection/components/dropi-vertical-steps/dropi-vertical-steps.js +0 -167
- package/dist/collection/components/dropi-youtube-lazy-video/dropi-youtube-lazy-video.css +0 -73
- package/dist/collection/components/dropi-youtube-lazy-video/dropi-youtube-lazy-video.js +0 -110
- package/dist/collection/index.js +0 -1
- package/dist/collection/utils/utils.js +0 -3
- package/dist/collection/utils/utils.unit.test.js +0 -16
- package/dist/components/dropi-accordion-item.js +0 -1
- package/dist/components/dropi-accordion.js +0 -1
- package/dist/components/dropi-alert-legacy.js +0 -1
- package/dist/components/dropi-alert-modal.js +0 -1
- package/dist/components/dropi-alert.js +0 -1
- package/dist/components/dropi-avatars.js +0 -1
- package/dist/components/dropi-badge-legacy.js +0 -1
- package/dist/components/dropi-badge.js +0 -1
- package/dist/components/dropi-banner-external.js +0 -1
- package/dist/components/dropi-breadcrumb.js +0 -1
- package/dist/components/dropi-button.js +0 -1
- package/dist/components/dropi-card-checkbox.js +0 -1
- package/dist/components/dropi-card-product.js +0 -1
- package/dist/components/dropi-card-section.js +0 -1
- package/dist/components/dropi-carousel.js +0 -1
- package/dist/components/dropi-checkbox-selection-list.js +0 -1
- package/dist/components/dropi-checkbox.js +0 -1
- package/dist/components/dropi-chips.js +0 -1
- package/dist/components/dropi-city-selector.js +0 -1
- package/dist/components/dropi-color-picker.js +0 -1
- package/dist/components/dropi-country-flags.js +0 -1
- package/dist/components/dropi-country-selector.js +0 -1
- package/dist/components/dropi-date-picker-range.js +0 -1
- package/dist/components/dropi-date-picker.js +0 -1
- package/dist/components/dropi-drawer.js +0 -1
- package/dist/components/dropi-dropdown.js +0 -1
- package/dist/components/dropi-empty-state.js +0 -1
- package/dist/components/dropi-favorite-button.js +0 -1
- package/dist/components/dropi-file-upload-progress-bar.js +0 -1
- package/dist/components/dropi-file-upload.js +0 -1
- package/dist/components/dropi-icon.js +0 -1
- package/dist/components/dropi-ilustration-icon.js +0 -1
- package/dist/components/dropi-image-miniature.js +0 -1
- package/dist/components/dropi-image-overlay.js +0 -1
- package/dist/components/dropi-input.js +0 -1
- package/dist/components/dropi-languages-selector.js +0 -1
- package/dist/components/dropi-logo.js +0 -1
- package/dist/components/dropi-lottie-loader.js +0 -1
- package/dist/components/dropi-media-player.js +0 -1
- package/dist/components/dropi-modal.js +0 -1
- package/dist/components/dropi-navbar.js +0 -1
- package/dist/components/dropi-otp-send-code.js +0 -1
- package/dist/components/dropi-paginator.js +0 -1
- package/dist/components/dropi-phone-input.js +0 -1
- package/dist/components/dropi-radio-button.js +0 -1
- package/dist/components/dropi-radio-selection-list.js +0 -1
- package/dist/components/dropi-read-more.js +0 -1
- package/dist/components/dropi-search.js +0 -1
- package/dist/components/dropi-select.js +0 -1
- package/dist/components/dropi-sidebar.js +0 -1
- package/dist/components/dropi-simple-stepper.js +0 -1
- package/dist/components/dropi-skeleton.js +0 -1
- package/dist/components/dropi-steps.js +0 -1
- package/dist/components/dropi-switch.js +0 -1
- package/dist/components/dropi-table.js +0 -1
- package/dist/components/dropi-tabs.js +0 -1
- package/dist/components/dropi-tag-type-product.js +0 -1
- package/dist/components/dropi-tag.js +0 -1
- package/dist/components/dropi-text-area.js +0 -1
- package/dist/components/dropi-time-line.js +0 -1
- package/dist/components/dropi-toast.js +0 -1
- package/dist/components/dropi-tooltip-v2.js +0 -1
- package/dist/components/dropi-tooltip.js +0 -1
- package/dist/components/dropi-vertical-steps.js +0 -1
- package/dist/components/dropi-youtube-lazy-video.js +0 -1
- package/dist/components/index.js +0 -1
- package/dist/components/p-B9R8Apw7.js +0 -1
- package/dist/components/p-B_Ace02i.js +0 -1
- package/dist/components/p-BrjO_JXp.js +0 -1
- package/dist/components/p-BwhxWL4p.js +0 -1
- package/dist/components/p-Bz2jXX3R.js +0 -1
- package/dist/components/p-CV_oz45O.js +0 -1
- package/dist/components/p-D-vQQQNz.js +0 -1
- package/dist/components/p-D13d88W3.js +0 -1
- package/dist/components/p-DGUfr98Z.js +0 -1
- package/dist/components/p-QOZr7tU8.js +0 -1
- package/dist/components/p-a-hGQrJd.js +0 -1
- package/dist/components/p-o5gyrbbD.js +0 -1
- package/dist/dropi-ui/p-00e5a2de.entry.js +0 -1
- package/dist/dropi-ui/p-0188e07a.entry.js +0 -1
- package/dist/dropi-ui/p-02710049.entry.js +0 -1
- package/dist/dropi-ui/p-17c56074.entry.js +0 -1
- package/dist/dropi-ui/p-18adf694.entry.js +0 -1
- package/dist/dropi-ui/p-1a3619c3.entry.js +0 -1
- package/dist/dropi-ui/p-1d3d6a32.entry.js +0 -1
- package/dist/dropi-ui/p-25640777.entry.js +0 -1
- package/dist/dropi-ui/p-2674d901.entry.js +0 -1
- package/dist/dropi-ui/p-2af538b9.entry.js +0 -1
- package/dist/dropi-ui/p-3013f3b8.entry.js +0 -1
- package/dist/dropi-ui/p-3321ca70.entry.js +0 -1
- package/dist/dropi-ui/p-33d242ec.entry.js +0 -1
- package/dist/dropi-ui/p-34b66ca2.entry.js +0 -1
- package/dist/dropi-ui/p-39af6478.entry.js +0 -1
- package/dist/dropi-ui/p-3e36c8b8.entry.js +0 -1
- package/dist/dropi-ui/p-3ebc9b7b.entry.js +0 -1
- package/dist/dropi-ui/p-446a481d.entry.js +0 -1
- package/dist/dropi-ui/p-50e0d44f.entry.js +0 -1
- package/dist/dropi-ui/p-53a7a37d.entry.js +0 -1
- package/dist/dropi-ui/p-5c0bd7c2.entry.js +0 -1
- package/dist/dropi-ui/p-5cee6721.entry.js +0 -1
- package/dist/dropi-ui/p-5fb33ae4.entry.js +0 -1
- package/dist/dropi-ui/p-665ef7ba.entry.js +0 -1
- package/dist/dropi-ui/p-66b80371.entry.js +0 -1
- package/dist/dropi-ui/p-7bfc1c27.entry.js +0 -1
- package/dist/dropi-ui/p-7c0d2edf.entry.js +0 -1
- package/dist/dropi-ui/p-7eb27836.entry.js +0 -1
- package/dist/dropi-ui/p-85444414.entry.js +0 -1
- package/dist/dropi-ui/p-86283e99.entry.js +0 -1
- package/dist/dropi-ui/p-8bf5d8ee.entry.js +0 -1
- package/dist/dropi-ui/p-9032ba00.entry.js +0 -1
- package/dist/dropi-ui/p-9212f544.entry.js +0 -1
- package/dist/dropi-ui/p-92291873.entry.js +0 -1
- package/dist/dropi-ui/p-955e52f8.entry.js +0 -1
- package/dist/dropi-ui/p-976a15e3.entry.js +0 -1
- package/dist/dropi-ui/p-9b037086.entry.js +0 -1
- package/dist/dropi-ui/p-9e0129cc.entry.js +0 -1
- package/dist/dropi-ui/p-9ffec3f7.entry.js +0 -1
- package/dist/dropi-ui/p-D5SAM1O2.js +0 -2
- package/dist/dropi-ui/p-a1c93e55.entry.js +0 -1
- package/dist/dropi-ui/p-a232c6a7.entry.js +0 -1
- package/dist/dropi-ui/p-a3c4d677.entry.js +0 -1
- package/dist/dropi-ui/p-a457e8ca.entry.js +0 -1
- package/dist/dropi-ui/p-a4e1df5e.entry.js +0 -1
- package/dist/dropi-ui/p-a822a23e.entry.js +0 -1
- package/dist/dropi-ui/p-a8f24270.entry.js +0 -1
- package/dist/dropi-ui/p-ae35d538.entry.js +0 -1
- package/dist/dropi-ui/p-af8e2157.entry.js +0 -1
- package/dist/dropi-ui/p-b2623a5c.entry.js +0 -1
- package/dist/dropi-ui/p-b3d3c72e.entry.js +0 -1
- package/dist/dropi-ui/p-c3614c4a.entry.js +0 -1
- package/dist/dropi-ui/p-cbf5367e.entry.js +0 -1
- package/dist/dropi-ui/p-cc527d91.entry.js +0 -1
- package/dist/dropi-ui/p-cdde481b.entry.js +0 -1
- package/dist/dropi-ui/p-d42d4ef7.entry.js +0 -1
- package/dist/dropi-ui/p-db38bf16.entry.js +0 -1
- package/dist/dropi-ui/p-dd5d8b1b.entry.js +0 -1
- package/dist/dropi-ui/p-e3ad21f8.entry.js +0 -1
- package/dist/dropi-ui/p-e6e766ed.entry.js +0 -1
- package/dist/dropi-ui/p-ec263862.entry.js +0 -1
- package/dist/dropi-ui/p-efc2fc35.entry.js +0 -1
- package/dist/dropi-ui/p-f41cd9b5.entry.js +0 -1
- package/dist/dropi-ui/p-fa3d0267.entry.js +0 -1
- package/dist/esm/dropi-ui.js +0 -20
- package/dist/esm/index-D5SAM1O2.js +0 -2763
- package/dist/esm/index.js +0 -1
- package/dist/esm/loader.js +0 -10
- package/dist/index.cjs.js +0 -1
- package/dist/index.js +0 -1
|
@@ -1,973 +0,0 @@
|
|
|
1
|
-
import { h } from "@stencil/core";
|
|
2
|
-
/**
|
|
3
|
-
* @component dropi-table
|
|
4
|
-
* Data table with sortable columns, row selection, search, column selector and pagination.
|
|
5
|
-
*/
|
|
6
|
-
export class DropiTable {
|
|
7
|
-
/** Column definitions */
|
|
8
|
-
columns = [];
|
|
9
|
-
/** Row data */
|
|
10
|
-
rows = [];
|
|
11
|
-
/** Show checkbox column */
|
|
12
|
-
showCheckbox = false;
|
|
13
|
-
/** Show loading skeleton */
|
|
14
|
-
loading = false;
|
|
15
|
-
/** Empty state message */
|
|
16
|
-
emptyMessage = 'No hay datos disponibles';
|
|
17
|
-
/** Table title */
|
|
18
|
-
title = '';
|
|
19
|
-
/** Show search input */
|
|
20
|
-
showSearch = false;
|
|
21
|
-
/** Show column selector button */
|
|
22
|
-
showColumnSelector = false;
|
|
23
|
-
/** Show paginator */
|
|
24
|
-
showPaginator = false;
|
|
25
|
-
/** Page sizes options */
|
|
26
|
-
pageSizes = [5, 10, 25, 50];
|
|
27
|
-
/** Current page (1-based) */
|
|
28
|
-
currentPage = 1;
|
|
29
|
-
/** Total pages */
|
|
30
|
-
totalPages = 1;
|
|
31
|
-
/** Show row actions (3-dot menu or inline icons) */
|
|
32
|
-
rowActions = [];
|
|
33
|
-
// ── Angular-parity props ─────────────────────────────────────
|
|
34
|
-
/**
|
|
35
|
-
* Column definitions — matches Angular `headers: DropiTableColumn[]`.
|
|
36
|
-
* Alias of `columns`; when provided, takes precedence.
|
|
37
|
-
*/
|
|
38
|
-
headers = [];
|
|
39
|
-
/**
|
|
40
|
-
* Row data — matches Angular `data: DropiTableRow[]`.
|
|
41
|
-
* Alias of `rows`; when provided, takes precedence.
|
|
42
|
-
*/
|
|
43
|
-
data = [];
|
|
44
|
-
/** Pre-selected row ids (matches Angular `selectedRowIds`) */
|
|
45
|
-
selectedRowIds = null;
|
|
46
|
-
/** Child / expanded rows data (matches Angular `childData`) */
|
|
47
|
-
childData = [];
|
|
48
|
-
/** Visible child rows (matches Angular `visibleRowsChildrens`) */
|
|
49
|
-
visibleRowsChildrens = [];
|
|
50
|
-
/** Table-level configuration object (matches Angular `dropiTableConfiguration`) */
|
|
51
|
-
dropiTableConfiguration = null;
|
|
52
|
-
/** Backend pagination / filter params (matches Angular `dropiTableBackendParams`) */
|
|
53
|
-
dropiTableBackendParams = null;
|
|
54
|
-
/** Use cursor-based pagination instead of offset (matches Angular `isCursorPagination`) */
|
|
55
|
-
isCursorPagination = false;
|
|
56
|
-
parsedColumns = [];
|
|
57
|
-
parsedRows = [];
|
|
58
|
-
parsedPageSizes = [5, 10, 25, 50];
|
|
59
|
-
parsedRowActions = [];
|
|
60
|
-
sortKey = '';
|
|
61
|
-
sortDir = null;
|
|
62
|
-
sortAsc = true;
|
|
63
|
-
selectedKeys = new Set();
|
|
64
|
-
searchTerm = '';
|
|
65
|
-
pageSize = 5;
|
|
66
|
-
showColumnMenu = false;
|
|
67
|
-
hiddenColumns = new Set();
|
|
68
|
-
openActionRow = -1;
|
|
69
|
-
dropiSort;
|
|
70
|
-
dropiSelection;
|
|
71
|
-
dropiRowClick;
|
|
72
|
-
dropiSearch;
|
|
73
|
-
dropiPageChange;
|
|
74
|
-
dropiPageSizeChange;
|
|
75
|
-
dropiAction;
|
|
76
|
-
// ── Angular-parity events ────────────────────────────────────
|
|
77
|
-
/** Matches Angular `rowsSelected` */
|
|
78
|
-
rowsSelected;
|
|
79
|
-
/** Matches Angular `actionClicked` */
|
|
80
|
-
actionClicked;
|
|
81
|
-
/** Matches Angular `onPageChange` */
|
|
82
|
-
onPageChange;
|
|
83
|
-
/** Matches Angular `onSizeChange` */
|
|
84
|
-
onSizeChange;
|
|
85
|
-
/** Matches Angular `onSortChange` */
|
|
86
|
-
onSortChange;
|
|
87
|
-
/** Matches Angular `onSearchChange` */
|
|
88
|
-
onSearchChange;
|
|
89
|
-
/** Matches Angular `expandChildren` */
|
|
90
|
-
expandChildren;
|
|
91
|
-
columnsChanged(val) {
|
|
92
|
-
this.parsedColumns = typeof val === 'string' ? JSON.parse(val) : (val || []);
|
|
93
|
-
}
|
|
94
|
-
rowsChanged(val) {
|
|
95
|
-
this.parsedRows = typeof val === 'string' ? JSON.parse(val) : (val || []);
|
|
96
|
-
this.selectedKeys = new Set();
|
|
97
|
-
}
|
|
98
|
-
pageSizesChanged(val) {
|
|
99
|
-
this.parsedPageSizes = typeof val === 'string' ? JSON.parse(val) : (val || [5, 10, 25, 50]);
|
|
100
|
-
this.pageSize = this.parsedPageSizes[0] ?? 5;
|
|
101
|
-
}
|
|
102
|
-
rowActionsChanged(val) {
|
|
103
|
-
this.parsedRowActions = typeof val === 'string' ? JSON.parse(val) : (val || []);
|
|
104
|
-
}
|
|
105
|
-
headersChanged(val) {
|
|
106
|
-
// `headers` is an alias for `columns`
|
|
107
|
-
const parsed = typeof val === 'string' ? JSON.parse(val) : (val || []);
|
|
108
|
-
if (parsed.length > 0)
|
|
109
|
-
this.parsedColumns = parsed;
|
|
110
|
-
}
|
|
111
|
-
dataChanged(val) {
|
|
112
|
-
// `data` is an alias for `rows`
|
|
113
|
-
const parsed = typeof val === 'string' ? JSON.parse(val) : (val || []);
|
|
114
|
-
if (parsed.length > 0) {
|
|
115
|
-
this.parsedRows = parsed;
|
|
116
|
-
this.selectedKeys = new Set();
|
|
117
|
-
}
|
|
118
|
-
}
|
|
119
|
-
componentWillLoad() {
|
|
120
|
-
// SSR hydration guard: if no data props provided, preserve server-rendered DOM
|
|
121
|
-
if (this.data == null && this.rows == null && this.headers == null && this.columns == null)
|
|
122
|
-
return;
|
|
123
|
-
// headers/data take precedence over columns/rows when provided
|
|
124
|
-
const headersSrc = (Array.isArray(this.headers) ? this.headers : []).length
|
|
125
|
-
? this.headers : this.columns;
|
|
126
|
-
const dataSrc = (Array.isArray(this.data) ? this.data : []).length
|
|
127
|
-
? this.data : this.rows;
|
|
128
|
-
this.columnsChanged(headersSrc);
|
|
129
|
-
this.rowsChanged(dataSrc);
|
|
130
|
-
this.pageSizesChanged(this.pageSizes);
|
|
131
|
-
this.rowActionsChanged(this.rowActions);
|
|
132
|
-
}
|
|
133
|
-
get visibleColumns() {
|
|
134
|
-
const hidden = this.hiddenColumns ?? new Set();
|
|
135
|
-
return (this.parsedColumns ?? []).filter(c => !hidden.has(c.key));
|
|
136
|
-
}
|
|
137
|
-
get filteredRows() {
|
|
138
|
-
if (!this.searchTerm)
|
|
139
|
-
return this.parsedRows;
|
|
140
|
-
const q = this.searchTerm.toLowerCase();
|
|
141
|
-
return this.parsedRows.filter(row => Object.values(row).some(v => String(v ?? '').toLowerCase().includes(q)));
|
|
142
|
-
}
|
|
143
|
-
get sortedRows() {
|
|
144
|
-
const rows = this.filteredRows;
|
|
145
|
-
if (!this.sortKey || !this.sortDir)
|
|
146
|
-
return rows;
|
|
147
|
-
const key = this.sortKey;
|
|
148
|
-
const dir = this.sortDir === 'asc' ? 1 : -1;
|
|
149
|
-
return [...rows].sort((a, b) => {
|
|
150
|
-
const av = a[key] ?? '';
|
|
151
|
-
const bv = b[key] ?? '';
|
|
152
|
-
if (av < bv)
|
|
153
|
-
return -dir;
|
|
154
|
-
if (av > bv)
|
|
155
|
-
return dir;
|
|
156
|
-
return 0;
|
|
157
|
-
});
|
|
158
|
-
}
|
|
159
|
-
get pagedRows() {
|
|
160
|
-
if (!this.showPaginator)
|
|
161
|
-
return this.sortedRows;
|
|
162
|
-
const start = (this.currentPage - 1) * this.pageSize;
|
|
163
|
-
return this.sortedRows.slice(start, start + this.pageSize);
|
|
164
|
-
}
|
|
165
|
-
handleSort(col) {
|
|
166
|
-
if (!col.sortable)
|
|
167
|
-
return;
|
|
168
|
-
if (this.sortKey === col.key) {
|
|
169
|
-
this.sortDir = this.sortDir === 'asc' ? 'desc' : this.sortDir === 'desc' ? null : 'asc';
|
|
170
|
-
this.sortAsc = this.sortDir !== 'desc';
|
|
171
|
-
if (this.sortDir === null)
|
|
172
|
-
this.sortKey = '';
|
|
173
|
-
}
|
|
174
|
-
else {
|
|
175
|
-
this.sortKey = col.key;
|
|
176
|
-
this.sortDir = 'asc';
|
|
177
|
-
this.sortAsc = true;
|
|
178
|
-
}
|
|
179
|
-
this.dropiSort.emit({ key: this.sortKey, dir: this.sortDir });
|
|
180
|
-
this.onSortChange.emit({ key: this.sortKey, dir: this.sortDir });
|
|
181
|
-
}
|
|
182
|
-
toggleRow(idx) {
|
|
183
|
-
const next = new Set(this.selectedKeys);
|
|
184
|
-
if (next.has(idx))
|
|
185
|
-
next.delete(idx);
|
|
186
|
-
else
|
|
187
|
-
next.add(idx);
|
|
188
|
-
this.selectedKeys = next;
|
|
189
|
-
const selected = Array.from(next);
|
|
190
|
-
this.dropiSelection.emit(selected);
|
|
191
|
-
this.rowsSelected.emit(selected.map(i => this.pagedRows[i]));
|
|
192
|
-
}
|
|
193
|
-
toggleAll(checked) {
|
|
194
|
-
this.selectedKeys = checked ? new Set(this.pagedRows.map((_, i) => i)) : new Set();
|
|
195
|
-
const selected = Array.from(this.selectedKeys);
|
|
196
|
-
this.dropiSelection.emit(selected);
|
|
197
|
-
this.rowsSelected.emit(selected.map(i => this.pagedRows[i]));
|
|
198
|
-
}
|
|
199
|
-
renderCellValue(value) {
|
|
200
|
-
if (value === null || value === undefined)
|
|
201
|
-
return '—';
|
|
202
|
-
if (typeof value === 'object' && value.type) {
|
|
203
|
-
switch (value.type) {
|
|
204
|
-
case 'tag':
|
|
205
|
-
return h("dropi-tag", { type: "secondary", state: value.typeTag, text: value.value });
|
|
206
|
-
case 'date':
|
|
207
|
-
return (h("div", { class: "date-label" }, h("span", null, new Date(value.value).toLocaleDateString('es-CO')), !value.hideTime && h("span", null, new Date(value.value).toLocaleTimeString('es-CO', { hour: '2-digit', minute: '2-digit' }))));
|
|
208
|
-
case 'country':
|
|
209
|
-
return (h("div", { class: "flag-container" }, value.flag && h("dropi-country-flags", { width: "24", height: "24", country: value.flag, style: { display: 'inline-flex' } }), h("span", null, value.value)));
|
|
210
|
-
case 'textIcon':
|
|
211
|
-
return (h("div", { class: "text-icon-label" }, h("dropi-icon", { name: value.icon, width: "24px", height: "24px", color: value.iconColor || 'Gray-Gray-500' }), value.value && h("span", null, value.value)));
|
|
212
|
-
case 'status':
|
|
213
|
-
return (h("div", { class: "status-label" }, h("div", { class: "status-dot" }, h("div", { class: `dot dot-${(value.status || '').toLowerCase()}` }), h("span", { class: "status-text" }, value.status)), value.value && h("span", { class: "status-description" }, value.value)));
|
|
214
|
-
case 'image':
|
|
215
|
-
return (h("div", { class: "image-label" }, h("div", { class: "img-container" }, h("img", { src: value.imageUrl, alt: value.value })), h("span", null, value.value)));
|
|
216
|
-
case 'textWrap':
|
|
217
|
-
return h("div", { class: "text-wrap-label", style: { maxWidth: value.maxWidth || '220px' } }, value.value);
|
|
218
|
-
default:
|
|
219
|
-
return h("span", { class: "table-labels" }, String(value.value ?? '—'));
|
|
220
|
-
}
|
|
221
|
-
}
|
|
222
|
-
return h("span", { class: "table-labels" }, String(value));
|
|
223
|
-
}
|
|
224
|
-
render() {
|
|
225
|
-
// SSR hydration: if parsedRows not yet initialized, preserve server-rendered shadow DOM
|
|
226
|
-
if (this.parsedRows === undefined)
|
|
227
|
-
return null;
|
|
228
|
-
const rows = this.pagedRows;
|
|
229
|
-
const allSelected = rows.length > 0 && this.selectedKeys.size === rows.length;
|
|
230
|
-
const hasActions = this.parsedRowActions.length > 0;
|
|
231
|
-
const cols = this.visibleColumns;
|
|
232
|
-
return (h("div", { class: "table-container" }, (this.showSearch || this.showColumnSelector || this.title) && (h("div", { class: "search-container" }, this.title && h("h3", { class: "table-title" }, this.title), h("div", { class: `search-actions${this.showSearch ? '' : ' only-filter'}` }, this.showSearch && (h("dropi-input", { placeholder: "Buscar", value: this.searchTerm, onOnInput: (e) => {
|
|
233
|
-
this.searchTerm = e.detail;
|
|
234
|
-
this.dropiSearch.emit(e.detail);
|
|
235
|
-
this.onSearchChange.emit(e.detail);
|
|
236
|
-
} })), this.showColumnSelector && (h("div", { class: "table-tools" }, h("div", { class: "column-selector-container" }, h("button", { class: "column-selector-btn", onClick: () => this.showColumnMenu = !this.showColumnMenu }, h("dropi-icon", { name: "list-table", width: "20px", height: "20px", color: "Gray-Gray-500" })), this.showColumnMenu && (h("div", { class: "column-selector-menu" }, this.parsedColumns.map(col => (h("div", { class: "column-selector-option", onClick: () => {
|
|
237
|
-
const next = new Set(this.hiddenColumns);
|
|
238
|
-
if (next.has(col.key))
|
|
239
|
-
next.delete(col.key);
|
|
240
|
-
else
|
|
241
|
-
next.add(col.key);
|
|
242
|
-
this.hiddenColumns = next;
|
|
243
|
-
} }, h("dropi-checkbox", { checked: !this.hiddenColumns.has(col.key) }), h("span", null, col.label)))), h("div", { class: "column-selector-footer" }, h("div", { class: "column-selector-all", onClick: () => {
|
|
244
|
-
this.hiddenColumns = this.hiddenColumns.size === 0
|
|
245
|
-
? new Set(this.parsedColumns.map(c => c.key))
|
|
246
|
-
: new Set();
|
|
247
|
-
} }, h("dropi-checkbox", { checked: this.hiddenColumns.size === 0 }), h("span", null, "Mostrar / Ocultar todo"))))))))))), h("div", { class: `table-wrapper${hasActions ? ' has-sticky-actions' : ''}` }, h("table", { class: `custom-table${this.showCheckbox ? ' has-checkbox' : ''}` }, h("thead", null, h("tr", null, this.showCheckbox && (h("th", { class: "checkbox-header" }, h("dropi-checkbox", { checked: allSelected, onOnChange: (e) => this.toggleAll(e.detail) }))), cols.map(col => (h("th", { class: { sortable: !!col.sortable, 'low-opacity': !!col.disabledColumn, 'highlight-column': !!col.highlightColumn }, style: { textAlign: col.align || 'center', minWidth: col.minWidth, maxWidth: col.maxWidth }, onClick: () => this.handleSort(col) }, h("div", { class: `headers-container${col.align === 'left' ? ' align-left' : col.align === 'right' ? ' align-right' : ''}` }, h("div", { class: `headers${col.align === 'left' ? ' align-left' : col.align === 'right' ? ' align-right' : ''}` }, h("span", null, col.label), col.sortable && (h("div", { class: "order-icons" }, h("dropi-icon", { name: "Caret-up", width: "12px", height: "12px", color: this.sortAsc ? 'Gray-Gray-500' : 'Gray-Gray-200' }), h("dropi-icon", { name: "Caret-down", width: "12px", height: "12px", color: !this.sortAsc ? 'Gray-Gray-500' : 'Gray-Gray-200' })))))))), hasActions && h("th", { class: "actions-header actions" }, "Acciones"))), h("tbody", null, this.loading ? (Array.from({ length: 5 }).map(() => (h("tr", { class: "table-row" }, this.showCheckbox && h("td", null, h("div", { class: "skeleton skeleton--sm" })), cols.map(() => h("td", null, h("div", { class: "skeleton" }))), hasActions && h("td", null))))) : rows.length === 0 ? (h("tr", null, h("td", { colSpan: cols.length + (this.showCheckbox ? 1 : 0) + (hasActions ? 1 : 0) }, h("div", { class: "empty-table" }, h("div", { class: "empty-message-container" }, this.emptyMessage))))) : (rows.map((row, i) => (h("tr", { class: "table-row", onClick: () => this.dropiRowClick.emit({ row, index: i }) }, this.showCheckbox && (h("td", { onClick: (e) => e.stopPropagation() }, h("dropi-checkbox", { checked: this.selectedKeys.has(i), onOnChange: () => this.toggleRow(i) }))), cols.map(col => (h("td", { class: { 'low-opacity': !!col.disabledColumn, 'highlight-column': !!col.highlightColumn }, style: { minWidth: col.minWidth, maxWidth: col.maxWidth, overflow: col.maxWidth ? 'hidden' : undefined } }, h("div", { class: "cell-content", style: { textAlign: col.align || 'center' } }, this.renderCellValue(row[col.key]))))), hasActions && (h("td", { class: "action-button actions", onClick: (e) => e.stopPropagation() }, this.parsedRowActions.length > 3 ? (h("div", { style: { display: "flex", justifyContent: "center", width: "100%" } }, h("dropi-icon", { class: "action-icon", name: "Menu-dots-vertical", width: "24px", height: "24px", color: "Gray-Gray-500", onClick: () => this.openActionRow = this.openActionRow === i ? -1 : i }), this.openActionRow === i && (h("div", { class: "actions-menu" }, this.parsedRowActions.map(action => (h("div", { class: "action-item", onClick: () => { this.openActionRow = -1; this.dropiAction.emit({ row, action }); this.actionClicked.emit({ row, action }); } }, h("dropi-icon", { name: action.icon, width: "20px", height: "20px", color: action.iconColor || 'Gray-Gray-500' }), action.label))))))) : (h("div", { class: "short-actions" }, this.parsedRowActions.map(action => (h("dropi-icon", { class: "action-icon", name: action.icon, width: "24px", height: "24px", color: action.iconColor || 'Gray-Gray-500', onClick: () => { this.dropiAction.emit({ row, action }); this.actionClicked.emit({ row, action }); } })))))))))))))), this.showPaginator && (h("div", { class: "pagination" }, h("div", { class: "page-size-selector" }, h("label", null, "Mostrar"), h("select", { onChange: (e) => {
|
|
248
|
-
this.pageSize = Number(e.target.value);
|
|
249
|
-
this.currentPage = 1;
|
|
250
|
-
this.dropiPageSizeChange.emit(this.pageSize);
|
|
251
|
-
this.onSizeChange.emit(this.pageSize);
|
|
252
|
-
} }, this.parsedPageSizes.map(s => (h("option", { value: s, selected: this.pageSize === s }, s))))), h("dropi-paginator", { totalPages: this.totalPages, currentPage: this.currentPage, onPageChange: (e) => {
|
|
253
|
-
this.currentPage = e.detail;
|
|
254
|
-
this.dropiPageChange.emit(e.detail);
|
|
255
|
-
this.onPageChange.emit(e.detail);
|
|
256
|
-
} })))));
|
|
257
|
-
}
|
|
258
|
-
static get is() { return "dropi-table"; }
|
|
259
|
-
static get encapsulation() { return "shadow"; }
|
|
260
|
-
static get originalStyleUrls() {
|
|
261
|
-
return {
|
|
262
|
-
"$": ["dropi-table.css"]
|
|
263
|
-
};
|
|
264
|
-
}
|
|
265
|
-
static get styleUrls() {
|
|
266
|
-
return {
|
|
267
|
-
"$": ["dropi-table.css"]
|
|
268
|
-
};
|
|
269
|
-
}
|
|
270
|
-
static get properties() {
|
|
271
|
-
return {
|
|
272
|
-
"columns": {
|
|
273
|
-
"type": "string",
|
|
274
|
-
"mutable": false,
|
|
275
|
-
"complexType": {
|
|
276
|
-
"original": "TableColumn[] | string",
|
|
277
|
-
"resolved": "TableColumn[] | string",
|
|
278
|
-
"references": {
|
|
279
|
-
"TableColumn": {
|
|
280
|
-
"location": "local",
|
|
281
|
-
"path": "/Users/mac-ti/Documents/dropi/dropi-ui/src/components/dropi-table/dropi-table.tsx",
|
|
282
|
-
"id": "src/components/dropi-table/dropi-table.tsx::TableColumn"
|
|
283
|
-
}
|
|
284
|
-
}
|
|
285
|
-
},
|
|
286
|
-
"required": false,
|
|
287
|
-
"optional": false,
|
|
288
|
-
"docs": {
|
|
289
|
-
"tags": [],
|
|
290
|
-
"text": "Column definitions"
|
|
291
|
-
},
|
|
292
|
-
"getter": false,
|
|
293
|
-
"setter": false,
|
|
294
|
-
"reflect": false,
|
|
295
|
-
"attribute": "columns",
|
|
296
|
-
"defaultValue": "[]"
|
|
297
|
-
},
|
|
298
|
-
"rows": {
|
|
299
|
-
"type": "string",
|
|
300
|
-
"mutable": false,
|
|
301
|
-
"complexType": {
|
|
302
|
-
"original": "TableRow[] | string",
|
|
303
|
-
"resolved": "TableRow[] | string",
|
|
304
|
-
"references": {
|
|
305
|
-
"TableRow": {
|
|
306
|
-
"location": "local",
|
|
307
|
-
"path": "/Users/mac-ti/Documents/dropi/dropi-ui/src/components/dropi-table/dropi-table.tsx",
|
|
308
|
-
"id": "src/components/dropi-table/dropi-table.tsx::TableRow"
|
|
309
|
-
}
|
|
310
|
-
}
|
|
311
|
-
},
|
|
312
|
-
"required": false,
|
|
313
|
-
"optional": false,
|
|
314
|
-
"docs": {
|
|
315
|
-
"tags": [],
|
|
316
|
-
"text": "Row data"
|
|
317
|
-
},
|
|
318
|
-
"getter": false,
|
|
319
|
-
"setter": false,
|
|
320
|
-
"reflect": false,
|
|
321
|
-
"attribute": "rows",
|
|
322
|
-
"defaultValue": "[]"
|
|
323
|
-
},
|
|
324
|
-
"showCheckbox": {
|
|
325
|
-
"type": "boolean",
|
|
326
|
-
"mutable": false,
|
|
327
|
-
"complexType": {
|
|
328
|
-
"original": "boolean",
|
|
329
|
-
"resolved": "boolean",
|
|
330
|
-
"references": {}
|
|
331
|
-
},
|
|
332
|
-
"required": false,
|
|
333
|
-
"optional": false,
|
|
334
|
-
"docs": {
|
|
335
|
-
"tags": [],
|
|
336
|
-
"text": "Show checkbox column"
|
|
337
|
-
},
|
|
338
|
-
"getter": false,
|
|
339
|
-
"setter": false,
|
|
340
|
-
"reflect": false,
|
|
341
|
-
"attribute": "show-checkbox",
|
|
342
|
-
"defaultValue": "false"
|
|
343
|
-
},
|
|
344
|
-
"loading": {
|
|
345
|
-
"type": "boolean",
|
|
346
|
-
"mutable": false,
|
|
347
|
-
"complexType": {
|
|
348
|
-
"original": "boolean",
|
|
349
|
-
"resolved": "boolean",
|
|
350
|
-
"references": {}
|
|
351
|
-
},
|
|
352
|
-
"required": false,
|
|
353
|
-
"optional": false,
|
|
354
|
-
"docs": {
|
|
355
|
-
"tags": [],
|
|
356
|
-
"text": "Show loading skeleton"
|
|
357
|
-
},
|
|
358
|
-
"getter": false,
|
|
359
|
-
"setter": false,
|
|
360
|
-
"reflect": false,
|
|
361
|
-
"attribute": "loading",
|
|
362
|
-
"defaultValue": "false"
|
|
363
|
-
},
|
|
364
|
-
"emptyMessage": {
|
|
365
|
-
"type": "string",
|
|
366
|
-
"mutable": false,
|
|
367
|
-
"complexType": {
|
|
368
|
-
"original": "string",
|
|
369
|
-
"resolved": "string",
|
|
370
|
-
"references": {}
|
|
371
|
-
},
|
|
372
|
-
"required": false,
|
|
373
|
-
"optional": false,
|
|
374
|
-
"docs": {
|
|
375
|
-
"tags": [],
|
|
376
|
-
"text": "Empty state message"
|
|
377
|
-
},
|
|
378
|
-
"getter": false,
|
|
379
|
-
"setter": false,
|
|
380
|
-
"reflect": false,
|
|
381
|
-
"attribute": "empty-message",
|
|
382
|
-
"defaultValue": "'No hay datos disponibles'"
|
|
383
|
-
},
|
|
384
|
-
"title": {
|
|
385
|
-
"type": "string",
|
|
386
|
-
"mutable": false,
|
|
387
|
-
"complexType": {
|
|
388
|
-
"original": "string",
|
|
389
|
-
"resolved": "string",
|
|
390
|
-
"references": {}
|
|
391
|
-
},
|
|
392
|
-
"required": false,
|
|
393
|
-
"optional": false,
|
|
394
|
-
"docs": {
|
|
395
|
-
"tags": [],
|
|
396
|
-
"text": "Table title"
|
|
397
|
-
},
|
|
398
|
-
"getter": false,
|
|
399
|
-
"setter": false,
|
|
400
|
-
"reflect": false,
|
|
401
|
-
"attribute": "title",
|
|
402
|
-
"defaultValue": "''"
|
|
403
|
-
},
|
|
404
|
-
"showSearch": {
|
|
405
|
-
"type": "boolean",
|
|
406
|
-
"mutable": false,
|
|
407
|
-
"complexType": {
|
|
408
|
-
"original": "boolean",
|
|
409
|
-
"resolved": "boolean",
|
|
410
|
-
"references": {}
|
|
411
|
-
},
|
|
412
|
-
"required": false,
|
|
413
|
-
"optional": false,
|
|
414
|
-
"docs": {
|
|
415
|
-
"tags": [],
|
|
416
|
-
"text": "Show search input"
|
|
417
|
-
},
|
|
418
|
-
"getter": false,
|
|
419
|
-
"setter": false,
|
|
420
|
-
"reflect": false,
|
|
421
|
-
"attribute": "show-search",
|
|
422
|
-
"defaultValue": "false"
|
|
423
|
-
},
|
|
424
|
-
"showColumnSelector": {
|
|
425
|
-
"type": "boolean",
|
|
426
|
-
"mutable": false,
|
|
427
|
-
"complexType": {
|
|
428
|
-
"original": "boolean",
|
|
429
|
-
"resolved": "boolean",
|
|
430
|
-
"references": {}
|
|
431
|
-
},
|
|
432
|
-
"required": false,
|
|
433
|
-
"optional": false,
|
|
434
|
-
"docs": {
|
|
435
|
-
"tags": [],
|
|
436
|
-
"text": "Show column selector button"
|
|
437
|
-
},
|
|
438
|
-
"getter": false,
|
|
439
|
-
"setter": false,
|
|
440
|
-
"reflect": false,
|
|
441
|
-
"attribute": "show-column-selector",
|
|
442
|
-
"defaultValue": "false"
|
|
443
|
-
},
|
|
444
|
-
"showPaginator": {
|
|
445
|
-
"type": "boolean",
|
|
446
|
-
"mutable": false,
|
|
447
|
-
"complexType": {
|
|
448
|
-
"original": "boolean",
|
|
449
|
-
"resolved": "boolean",
|
|
450
|
-
"references": {}
|
|
451
|
-
},
|
|
452
|
-
"required": false,
|
|
453
|
-
"optional": false,
|
|
454
|
-
"docs": {
|
|
455
|
-
"tags": [],
|
|
456
|
-
"text": "Show paginator"
|
|
457
|
-
},
|
|
458
|
-
"getter": false,
|
|
459
|
-
"setter": false,
|
|
460
|
-
"reflect": false,
|
|
461
|
-
"attribute": "show-paginator",
|
|
462
|
-
"defaultValue": "false"
|
|
463
|
-
},
|
|
464
|
-
"pageSizes": {
|
|
465
|
-
"type": "string",
|
|
466
|
-
"mutable": false,
|
|
467
|
-
"complexType": {
|
|
468
|
-
"original": "number[] | string",
|
|
469
|
-
"resolved": "number[] | string",
|
|
470
|
-
"references": {}
|
|
471
|
-
},
|
|
472
|
-
"required": false,
|
|
473
|
-
"optional": false,
|
|
474
|
-
"docs": {
|
|
475
|
-
"tags": [],
|
|
476
|
-
"text": "Page sizes options"
|
|
477
|
-
},
|
|
478
|
-
"getter": false,
|
|
479
|
-
"setter": false,
|
|
480
|
-
"reflect": false,
|
|
481
|
-
"attribute": "page-sizes",
|
|
482
|
-
"defaultValue": "[5, 10, 25, 50]"
|
|
483
|
-
},
|
|
484
|
-
"currentPage": {
|
|
485
|
-
"type": "number",
|
|
486
|
-
"mutable": true,
|
|
487
|
-
"complexType": {
|
|
488
|
-
"original": "number",
|
|
489
|
-
"resolved": "number",
|
|
490
|
-
"references": {}
|
|
491
|
-
},
|
|
492
|
-
"required": false,
|
|
493
|
-
"optional": false,
|
|
494
|
-
"docs": {
|
|
495
|
-
"tags": [],
|
|
496
|
-
"text": "Current page (1-based)"
|
|
497
|
-
},
|
|
498
|
-
"getter": false,
|
|
499
|
-
"setter": false,
|
|
500
|
-
"reflect": false,
|
|
501
|
-
"attribute": "current-page",
|
|
502
|
-
"defaultValue": "1"
|
|
503
|
-
},
|
|
504
|
-
"totalPages": {
|
|
505
|
-
"type": "number",
|
|
506
|
-
"mutable": false,
|
|
507
|
-
"complexType": {
|
|
508
|
-
"original": "number",
|
|
509
|
-
"resolved": "number",
|
|
510
|
-
"references": {}
|
|
511
|
-
},
|
|
512
|
-
"required": false,
|
|
513
|
-
"optional": false,
|
|
514
|
-
"docs": {
|
|
515
|
-
"tags": [],
|
|
516
|
-
"text": "Total pages"
|
|
517
|
-
},
|
|
518
|
-
"getter": false,
|
|
519
|
-
"setter": false,
|
|
520
|
-
"reflect": false,
|
|
521
|
-
"attribute": "total-pages",
|
|
522
|
-
"defaultValue": "1"
|
|
523
|
-
},
|
|
524
|
-
"rowActions": {
|
|
525
|
-
"type": "string",
|
|
526
|
-
"mutable": false,
|
|
527
|
-
"complexType": {
|
|
528
|
-
"original": "any[] | string",
|
|
529
|
-
"resolved": "any[] | string",
|
|
530
|
-
"references": {}
|
|
531
|
-
},
|
|
532
|
-
"required": false,
|
|
533
|
-
"optional": false,
|
|
534
|
-
"docs": {
|
|
535
|
-
"tags": [],
|
|
536
|
-
"text": "Show row actions (3-dot menu or inline icons)"
|
|
537
|
-
},
|
|
538
|
-
"getter": false,
|
|
539
|
-
"setter": false,
|
|
540
|
-
"reflect": false,
|
|
541
|
-
"attribute": "row-actions",
|
|
542
|
-
"defaultValue": "[]"
|
|
543
|
-
},
|
|
544
|
-
"headers": {
|
|
545
|
-
"type": "string",
|
|
546
|
-
"mutable": false,
|
|
547
|
-
"complexType": {
|
|
548
|
-
"original": "any[] | string",
|
|
549
|
-
"resolved": "any[] | string",
|
|
550
|
-
"references": {}
|
|
551
|
-
},
|
|
552
|
-
"required": false,
|
|
553
|
-
"optional": false,
|
|
554
|
-
"docs": {
|
|
555
|
-
"tags": [],
|
|
556
|
-
"text": "Column definitions \u2014 matches Angular `headers: DropiTableColumn[]`.\nAlias of `columns`; when provided, takes precedence."
|
|
557
|
-
},
|
|
558
|
-
"getter": false,
|
|
559
|
-
"setter": false,
|
|
560
|
-
"reflect": false,
|
|
561
|
-
"attribute": "headers",
|
|
562
|
-
"defaultValue": "[]"
|
|
563
|
-
},
|
|
564
|
-
"data": {
|
|
565
|
-
"type": "string",
|
|
566
|
-
"mutable": false,
|
|
567
|
-
"complexType": {
|
|
568
|
-
"original": "any[] | string",
|
|
569
|
-
"resolved": "any[] | string",
|
|
570
|
-
"references": {}
|
|
571
|
-
},
|
|
572
|
-
"required": false,
|
|
573
|
-
"optional": false,
|
|
574
|
-
"docs": {
|
|
575
|
-
"tags": [],
|
|
576
|
-
"text": "Row data \u2014 matches Angular `data: DropiTableRow[]`.\nAlias of `rows`; when provided, takes precedence."
|
|
577
|
-
},
|
|
578
|
-
"getter": false,
|
|
579
|
-
"setter": false,
|
|
580
|
-
"reflect": false,
|
|
581
|
-
"attribute": "data",
|
|
582
|
-
"defaultValue": "[]"
|
|
583
|
-
},
|
|
584
|
-
"selectedRowIds": {
|
|
585
|
-
"type": "unknown",
|
|
586
|
-
"mutable": false,
|
|
587
|
-
"complexType": {
|
|
588
|
-
"original": "any[] | null",
|
|
589
|
-
"resolved": "any[]",
|
|
590
|
-
"references": {}
|
|
591
|
-
},
|
|
592
|
-
"required": false,
|
|
593
|
-
"optional": false,
|
|
594
|
-
"docs": {
|
|
595
|
-
"tags": [],
|
|
596
|
-
"text": "Pre-selected row ids (matches Angular `selectedRowIds`)"
|
|
597
|
-
},
|
|
598
|
-
"getter": false,
|
|
599
|
-
"setter": false,
|
|
600
|
-
"defaultValue": "null"
|
|
601
|
-
},
|
|
602
|
-
"childData": {
|
|
603
|
-
"type": "string",
|
|
604
|
-
"mutable": false,
|
|
605
|
-
"complexType": {
|
|
606
|
-
"original": "any[] | string",
|
|
607
|
-
"resolved": "any[] | string",
|
|
608
|
-
"references": {}
|
|
609
|
-
},
|
|
610
|
-
"required": false,
|
|
611
|
-
"optional": false,
|
|
612
|
-
"docs": {
|
|
613
|
-
"tags": [],
|
|
614
|
-
"text": "Child / expanded rows data (matches Angular `childData`)"
|
|
615
|
-
},
|
|
616
|
-
"getter": false,
|
|
617
|
-
"setter": false,
|
|
618
|
-
"reflect": false,
|
|
619
|
-
"attribute": "child-data",
|
|
620
|
-
"defaultValue": "[]"
|
|
621
|
-
},
|
|
622
|
-
"visibleRowsChildrens": {
|
|
623
|
-
"type": "string",
|
|
624
|
-
"mutable": false,
|
|
625
|
-
"complexType": {
|
|
626
|
-
"original": "any[] | string",
|
|
627
|
-
"resolved": "any[] | string",
|
|
628
|
-
"references": {}
|
|
629
|
-
},
|
|
630
|
-
"required": false,
|
|
631
|
-
"optional": false,
|
|
632
|
-
"docs": {
|
|
633
|
-
"tags": [],
|
|
634
|
-
"text": "Visible child rows (matches Angular `visibleRowsChildrens`)"
|
|
635
|
-
},
|
|
636
|
-
"getter": false,
|
|
637
|
-
"setter": false,
|
|
638
|
-
"reflect": false,
|
|
639
|
-
"attribute": "visible-rows-childrens",
|
|
640
|
-
"defaultValue": "[]"
|
|
641
|
-
},
|
|
642
|
-
"dropiTableConfiguration": {
|
|
643
|
-
"type": "any",
|
|
644
|
-
"mutable": false,
|
|
645
|
-
"complexType": {
|
|
646
|
-
"original": "any",
|
|
647
|
-
"resolved": "any",
|
|
648
|
-
"references": {}
|
|
649
|
-
},
|
|
650
|
-
"required": false,
|
|
651
|
-
"optional": false,
|
|
652
|
-
"docs": {
|
|
653
|
-
"tags": [],
|
|
654
|
-
"text": "Table-level configuration object (matches Angular `dropiTableConfiguration`)"
|
|
655
|
-
},
|
|
656
|
-
"getter": false,
|
|
657
|
-
"setter": false,
|
|
658
|
-
"reflect": false,
|
|
659
|
-
"attribute": "dropi-table-configuration",
|
|
660
|
-
"defaultValue": "null"
|
|
661
|
-
},
|
|
662
|
-
"dropiTableBackendParams": {
|
|
663
|
-
"type": "any",
|
|
664
|
-
"mutable": false,
|
|
665
|
-
"complexType": {
|
|
666
|
-
"original": "any",
|
|
667
|
-
"resolved": "any",
|
|
668
|
-
"references": {}
|
|
669
|
-
},
|
|
670
|
-
"required": false,
|
|
671
|
-
"optional": false,
|
|
672
|
-
"docs": {
|
|
673
|
-
"tags": [],
|
|
674
|
-
"text": "Backend pagination / filter params (matches Angular `dropiTableBackendParams`)"
|
|
675
|
-
},
|
|
676
|
-
"getter": false,
|
|
677
|
-
"setter": false,
|
|
678
|
-
"reflect": false,
|
|
679
|
-
"attribute": "dropi-table-backend-params",
|
|
680
|
-
"defaultValue": "null"
|
|
681
|
-
},
|
|
682
|
-
"isCursorPagination": {
|
|
683
|
-
"type": "boolean",
|
|
684
|
-
"mutable": false,
|
|
685
|
-
"complexType": {
|
|
686
|
-
"original": "boolean",
|
|
687
|
-
"resolved": "boolean",
|
|
688
|
-
"references": {}
|
|
689
|
-
},
|
|
690
|
-
"required": false,
|
|
691
|
-
"optional": false,
|
|
692
|
-
"docs": {
|
|
693
|
-
"tags": [],
|
|
694
|
-
"text": "Use cursor-based pagination instead of offset (matches Angular `isCursorPagination`)"
|
|
695
|
-
},
|
|
696
|
-
"getter": false,
|
|
697
|
-
"setter": false,
|
|
698
|
-
"reflect": false,
|
|
699
|
-
"attribute": "is-cursor-pagination",
|
|
700
|
-
"defaultValue": "false"
|
|
701
|
-
}
|
|
702
|
-
};
|
|
703
|
-
}
|
|
704
|
-
static get states() {
|
|
705
|
-
return {
|
|
706
|
-
"parsedColumns": {},
|
|
707
|
-
"parsedRows": {},
|
|
708
|
-
"parsedPageSizes": {},
|
|
709
|
-
"parsedRowActions": {},
|
|
710
|
-
"sortKey": {},
|
|
711
|
-
"sortDir": {},
|
|
712
|
-
"sortAsc": {},
|
|
713
|
-
"selectedKeys": {},
|
|
714
|
-
"searchTerm": {},
|
|
715
|
-
"pageSize": {},
|
|
716
|
-
"showColumnMenu": {},
|
|
717
|
-
"hiddenColumns": {},
|
|
718
|
-
"openActionRow": {}
|
|
719
|
-
};
|
|
720
|
-
}
|
|
721
|
-
static get events() {
|
|
722
|
-
return [{
|
|
723
|
-
"method": "dropiSort",
|
|
724
|
-
"name": "dropiSort",
|
|
725
|
-
"bubbles": true,
|
|
726
|
-
"cancelable": true,
|
|
727
|
-
"composed": true,
|
|
728
|
-
"docs": {
|
|
729
|
-
"tags": [],
|
|
730
|
-
"text": ""
|
|
731
|
-
},
|
|
732
|
-
"complexType": {
|
|
733
|
-
"original": "{ key: string; dir: SortDir }",
|
|
734
|
-
"resolved": "{ key: string; dir: SortDir; }",
|
|
735
|
-
"references": {
|
|
736
|
-
"SortDir": {
|
|
737
|
-
"location": "local",
|
|
738
|
-
"path": "/Users/mac-ti/Documents/dropi/dropi-ui/src/components/dropi-table/dropi-table.tsx",
|
|
739
|
-
"id": "src/components/dropi-table/dropi-table.tsx::SortDir"
|
|
740
|
-
}
|
|
741
|
-
}
|
|
742
|
-
}
|
|
743
|
-
}, {
|
|
744
|
-
"method": "dropiSelection",
|
|
745
|
-
"name": "dropiSelection",
|
|
746
|
-
"bubbles": true,
|
|
747
|
-
"cancelable": true,
|
|
748
|
-
"composed": true,
|
|
749
|
-
"docs": {
|
|
750
|
-
"tags": [],
|
|
751
|
-
"text": ""
|
|
752
|
-
},
|
|
753
|
-
"complexType": {
|
|
754
|
-
"original": "number[]",
|
|
755
|
-
"resolved": "number[]",
|
|
756
|
-
"references": {}
|
|
757
|
-
}
|
|
758
|
-
}, {
|
|
759
|
-
"method": "dropiRowClick",
|
|
760
|
-
"name": "dropiRowClick",
|
|
761
|
-
"bubbles": true,
|
|
762
|
-
"cancelable": true,
|
|
763
|
-
"composed": true,
|
|
764
|
-
"docs": {
|
|
765
|
-
"tags": [],
|
|
766
|
-
"text": ""
|
|
767
|
-
},
|
|
768
|
-
"complexType": {
|
|
769
|
-
"original": "{ row: TableRow; index: number }",
|
|
770
|
-
"resolved": "{ row: TableRow; index: number; }",
|
|
771
|
-
"references": {
|
|
772
|
-
"TableRow": {
|
|
773
|
-
"location": "local",
|
|
774
|
-
"path": "/Users/mac-ti/Documents/dropi/dropi-ui/src/components/dropi-table/dropi-table.tsx",
|
|
775
|
-
"id": "src/components/dropi-table/dropi-table.tsx::TableRow"
|
|
776
|
-
}
|
|
777
|
-
}
|
|
778
|
-
}
|
|
779
|
-
}, {
|
|
780
|
-
"method": "dropiSearch",
|
|
781
|
-
"name": "dropiSearch",
|
|
782
|
-
"bubbles": true,
|
|
783
|
-
"cancelable": true,
|
|
784
|
-
"composed": true,
|
|
785
|
-
"docs": {
|
|
786
|
-
"tags": [],
|
|
787
|
-
"text": ""
|
|
788
|
-
},
|
|
789
|
-
"complexType": {
|
|
790
|
-
"original": "string",
|
|
791
|
-
"resolved": "string",
|
|
792
|
-
"references": {}
|
|
793
|
-
}
|
|
794
|
-
}, {
|
|
795
|
-
"method": "dropiPageChange",
|
|
796
|
-
"name": "dropiPageChange",
|
|
797
|
-
"bubbles": true,
|
|
798
|
-
"cancelable": true,
|
|
799
|
-
"composed": true,
|
|
800
|
-
"docs": {
|
|
801
|
-
"tags": [],
|
|
802
|
-
"text": ""
|
|
803
|
-
},
|
|
804
|
-
"complexType": {
|
|
805
|
-
"original": "number",
|
|
806
|
-
"resolved": "number",
|
|
807
|
-
"references": {}
|
|
808
|
-
}
|
|
809
|
-
}, {
|
|
810
|
-
"method": "dropiPageSizeChange",
|
|
811
|
-
"name": "dropiPageSizeChange",
|
|
812
|
-
"bubbles": true,
|
|
813
|
-
"cancelable": true,
|
|
814
|
-
"composed": true,
|
|
815
|
-
"docs": {
|
|
816
|
-
"tags": [],
|
|
817
|
-
"text": ""
|
|
818
|
-
},
|
|
819
|
-
"complexType": {
|
|
820
|
-
"original": "number",
|
|
821
|
-
"resolved": "number",
|
|
822
|
-
"references": {}
|
|
823
|
-
}
|
|
824
|
-
}, {
|
|
825
|
-
"method": "dropiAction",
|
|
826
|
-
"name": "dropiAction",
|
|
827
|
-
"bubbles": true,
|
|
828
|
-
"cancelable": true,
|
|
829
|
-
"composed": true,
|
|
830
|
-
"docs": {
|
|
831
|
-
"tags": [],
|
|
832
|
-
"text": ""
|
|
833
|
-
},
|
|
834
|
-
"complexType": {
|
|
835
|
-
"original": "{ row: TableRow; action: any }",
|
|
836
|
-
"resolved": "{ row: TableRow; action: any; }",
|
|
837
|
-
"references": {
|
|
838
|
-
"TableRow": {
|
|
839
|
-
"location": "local",
|
|
840
|
-
"path": "/Users/mac-ti/Documents/dropi/dropi-ui/src/components/dropi-table/dropi-table.tsx",
|
|
841
|
-
"id": "src/components/dropi-table/dropi-table.tsx::TableRow"
|
|
842
|
-
}
|
|
843
|
-
}
|
|
844
|
-
}
|
|
845
|
-
}, {
|
|
846
|
-
"method": "rowsSelected",
|
|
847
|
-
"name": "rowsSelected",
|
|
848
|
-
"bubbles": true,
|
|
849
|
-
"cancelable": true,
|
|
850
|
-
"composed": true,
|
|
851
|
-
"docs": {
|
|
852
|
-
"tags": [],
|
|
853
|
-
"text": "Matches Angular `rowsSelected`"
|
|
854
|
-
},
|
|
855
|
-
"complexType": {
|
|
856
|
-
"original": "any[]",
|
|
857
|
-
"resolved": "any[]",
|
|
858
|
-
"references": {}
|
|
859
|
-
}
|
|
860
|
-
}, {
|
|
861
|
-
"method": "actionClicked",
|
|
862
|
-
"name": "actionClicked",
|
|
863
|
-
"bubbles": true,
|
|
864
|
-
"cancelable": true,
|
|
865
|
-
"composed": true,
|
|
866
|
-
"docs": {
|
|
867
|
-
"tags": [],
|
|
868
|
-
"text": "Matches Angular `actionClicked`"
|
|
869
|
-
},
|
|
870
|
-
"complexType": {
|
|
871
|
-
"original": "{ row: any; action: any }",
|
|
872
|
-
"resolved": "{ row: any; action: any; }",
|
|
873
|
-
"references": {}
|
|
874
|
-
}
|
|
875
|
-
}, {
|
|
876
|
-
"method": "onPageChange",
|
|
877
|
-
"name": "onPageChange",
|
|
878
|
-
"bubbles": true,
|
|
879
|
-
"cancelable": true,
|
|
880
|
-
"composed": true,
|
|
881
|
-
"docs": {
|
|
882
|
-
"tags": [],
|
|
883
|
-
"text": "Matches Angular `onPageChange`"
|
|
884
|
-
},
|
|
885
|
-
"complexType": {
|
|
886
|
-
"original": "number",
|
|
887
|
-
"resolved": "number",
|
|
888
|
-
"references": {}
|
|
889
|
-
}
|
|
890
|
-
}, {
|
|
891
|
-
"method": "onSizeChange",
|
|
892
|
-
"name": "onSizeChange",
|
|
893
|
-
"bubbles": true,
|
|
894
|
-
"cancelable": true,
|
|
895
|
-
"composed": true,
|
|
896
|
-
"docs": {
|
|
897
|
-
"tags": [],
|
|
898
|
-
"text": "Matches Angular `onSizeChange`"
|
|
899
|
-
},
|
|
900
|
-
"complexType": {
|
|
901
|
-
"original": "number",
|
|
902
|
-
"resolved": "number",
|
|
903
|
-
"references": {}
|
|
904
|
-
}
|
|
905
|
-
}, {
|
|
906
|
-
"method": "onSortChange",
|
|
907
|
-
"name": "onSortChange",
|
|
908
|
-
"bubbles": true,
|
|
909
|
-
"cancelable": true,
|
|
910
|
-
"composed": true,
|
|
911
|
-
"docs": {
|
|
912
|
-
"tags": [],
|
|
913
|
-
"text": "Matches Angular `onSortChange`"
|
|
914
|
-
},
|
|
915
|
-
"complexType": {
|
|
916
|
-
"original": "any",
|
|
917
|
-
"resolved": "any",
|
|
918
|
-
"references": {}
|
|
919
|
-
}
|
|
920
|
-
}, {
|
|
921
|
-
"method": "onSearchChange",
|
|
922
|
-
"name": "onSearchChange",
|
|
923
|
-
"bubbles": true,
|
|
924
|
-
"cancelable": true,
|
|
925
|
-
"composed": true,
|
|
926
|
-
"docs": {
|
|
927
|
-
"tags": [],
|
|
928
|
-
"text": "Matches Angular `onSearchChange`"
|
|
929
|
-
},
|
|
930
|
-
"complexType": {
|
|
931
|
-
"original": "string",
|
|
932
|
-
"resolved": "string",
|
|
933
|
-
"references": {}
|
|
934
|
-
}
|
|
935
|
-
}, {
|
|
936
|
-
"method": "expandChildren",
|
|
937
|
-
"name": "expandChildren",
|
|
938
|
-
"bubbles": true,
|
|
939
|
-
"cancelable": true,
|
|
940
|
-
"composed": true,
|
|
941
|
-
"docs": {
|
|
942
|
-
"tags": [],
|
|
943
|
-
"text": "Matches Angular `expandChildren`"
|
|
944
|
-
},
|
|
945
|
-
"complexType": {
|
|
946
|
-
"original": "{ row: any }",
|
|
947
|
-
"resolved": "{ row: any; }",
|
|
948
|
-
"references": {}
|
|
949
|
-
}
|
|
950
|
-
}];
|
|
951
|
-
}
|
|
952
|
-
static get watchers() {
|
|
953
|
-
return [{
|
|
954
|
-
"propName": "columns",
|
|
955
|
-
"methodName": "columnsChanged"
|
|
956
|
-
}, {
|
|
957
|
-
"propName": "rows",
|
|
958
|
-
"methodName": "rowsChanged"
|
|
959
|
-
}, {
|
|
960
|
-
"propName": "pageSizes",
|
|
961
|
-
"methodName": "pageSizesChanged"
|
|
962
|
-
}, {
|
|
963
|
-
"propName": "rowActions",
|
|
964
|
-
"methodName": "rowActionsChanged"
|
|
965
|
-
}, {
|
|
966
|
-
"propName": "headers",
|
|
967
|
-
"methodName": "headersChanged"
|
|
968
|
-
}, {
|
|
969
|
-
"propName": "data",
|
|
970
|
-
"methodName": "dataChanged"
|
|
971
|
-
}];
|
|
972
|
-
}
|
|
973
|
-
}
|