@zanichelli/albe-web-components 6.3.2 → 6.3.3
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/CHANGELOG.md +22 -0
- package/dist/cjs/index-e3299e0a.js +18 -74
- package/dist/cjs/{index-f08f7171.js → index-fa110f37.js} +13 -54
- package/dist/cjs/index.cjs.js +2 -26
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{utils-73ead59e.js → utils-600bad93.js} +1 -1
- package/dist/cjs/{utils-7fde0c53.js → utils-8bc9056f.js} +1 -1
- package/dist/cjs/web-components-library.cjs.js +2 -2
- package/dist/cjs/z-alert.cjs.entry.js +0 -1
- package/dist/cjs/z-anchor-navigation.cjs.entry.js +8 -1
- package/dist/cjs/z-app-header_2.cjs.entry.js +29 -12
- package/dist/cjs/{z-logo.cjs.entry.js → z-app-switcher_2.cjs.entry.js} +23 -6
- package/dist/cjs/z-app-topbar.cjs.entry.js +3 -7
- package/dist/cjs/z-aria-alert.cjs.entry.js +2 -1
- package/dist/cjs/z-avatar.cjs.entry.js +4 -3
- package/dist/cjs/z-body_2.cjs.entry.js +2 -4
- package/dist/cjs/z-button-sort.cjs.entry.js +4 -4
- package/dist/cjs/z-button.cjs.entry.js +6 -6
- package/dist/cjs/z-card.cjs.entry.js +3 -4
- package/dist/cjs/z-carousel.cjs.entry.js +6 -8
- package/dist/cjs/z-chip.cjs.entry.js +4 -4
- package/dist/cjs/z-combobox.cjs.entry.js +14 -13
- package/dist/cjs/z-contextual-menu.cjs.entry.js +8 -3
- package/dist/cjs/z-cover-hero.cjs.entry.js +8 -1
- package/dist/cjs/z-date-picker.cjs.entry.js +4 -4
- package/dist/cjs/z-divider.cjs.entry.js +4 -1
- package/dist/cjs/z-dragdrop-area_2.cjs.entry.js +1 -2
- package/dist/cjs/z-file-upload.cjs.entry.js +6 -10
- package/dist/cjs/z-file.cjs.entry.js +2 -4
- package/dist/cjs/z-info-box.cjs.entry.js +1 -1
- package/dist/cjs/z-info-reveal.cjs.entry.js +5 -2
- package/dist/cjs/z-input_2.cjs.entry.js +12 -18
- package/dist/cjs/z-link.cjs.entry.js +9 -3
- package/dist/cjs/z-list_3.cjs.entry.js +71 -12
- package/dist/cjs/z-menu-dropdown.cjs.entry.js +59 -0
- package/dist/cjs/z-menu-section.cjs.entry.js +0 -3
- package/dist/cjs/z-menu.cjs.entry.js +10 -3
- package/dist/cjs/z-messages-pocket.cjs.entry.js +2 -3
- package/dist/cjs/z-modal-login.cjs.entry.js +2 -5
- package/dist/cjs/z-modal.cjs.entry.js +1 -3
- package/dist/cjs/z-myz-card-alert.cjs.entry.js +1 -5
- package/dist/cjs/z-myz-card-dictionary.cjs.entry.js +5 -3
- package/dist/cjs/z-myz-card-footer.cjs.entry.js +3 -6
- package/dist/cjs/z-myz-card-icon.cjs.entry.js +2 -1
- package/dist/cjs/z-myz-card-info.cjs.entry.js +4 -4
- package/dist/cjs/z-myz-card-list.cjs.entry.js +0 -1
- package/dist/cjs/z-myz-card_4.cjs.entry.js +3 -10
- package/dist/cjs/z-myz-list-item.cjs.entry.js +4 -7
- package/dist/cjs/z-myz-list.cjs.entry.js +35 -0
- package/dist/cjs/z-navigation-tab-link.cjs.entry.js +13 -6
- package/dist/cjs/z-navigation-tab.cjs.entry.js +13 -4
- package/dist/cjs/z-navigation-tabs.cjs.entry.js +7 -4
- package/dist/cjs/z-notification.cjs.entry.js +6 -3
- package/dist/cjs/z-offcanvas.cjs.entry.js +8 -1
- package/dist/cjs/z-otp.cjs.entry.js +2 -3
- package/dist/cjs/z-pagination.cjs.entry.js +13 -6
- package/dist/cjs/z-panel-elem.cjs.entry.js +2 -7
- package/dist/cjs/z-pocket_3.cjs.entry.js +4 -5
- package/dist/cjs/z-popover.cjs.entry.js +35 -24
- package/dist/cjs/z-range-picker.cjs.entry.js +3 -7
- package/dist/cjs/z-section-title.cjs.entry.js +8 -1
- package/dist/cjs/{z-input-label_2.cjs.entry.js → z-select.cjs.entry.js} +10 -27
- package/dist/cjs/z-skip-to-content.cjs.entry.js +3 -3
- package/dist/cjs/z-slideshow.cjs.entry.js +2 -5
- package/dist/cjs/z-stepper-item.cjs.entry.js +0 -4
- package/dist/cjs/z-table-cell.cjs.entry.js +2 -2
- package/dist/cjs/z-table-empty-box.cjs.entry.js +2 -0
- package/dist/cjs/z-table-expanded-row.cjs.entry.js +0 -1
- package/dist/cjs/z-table-header-row.cjs.entry.js +0 -1
- package/dist/cjs/z-table-header.cjs.entry.js +6 -6
- package/dist/cjs/z-table-row.cjs.entry.js +2 -1
- package/dist/cjs/z-table.cjs.entry.js +9 -7
- package/dist/cjs/z-tag.cjs.entry.js +0 -2
- package/dist/cjs/z-toast-notification-list.cjs.entry.js +3 -1
- package/dist/cjs/z-toast-notification.cjs.entry.js +5 -9
- package/dist/cjs/z-toggle-button.cjs.entry.js +2 -2
- package/dist/cjs/z-toggle-switch.cjs.entry.js +6 -2
- package/dist/cjs/z-tooltip.cjs.entry.js +7 -3
- package/dist/cjs/z-user-dropdown.cjs.entry.js +1 -5
- package/dist/collection/beans/index.js +13 -54
- package/dist/collection/collection-manifest.json +1 -18
- package/dist/collection/components/buttons/z-button/index.js +5 -5
- package/dist/collection/components/buttons/z-button-sort/index.js +4 -4
- package/dist/collection/components/buttons/z-chip/index.js +2 -2
- package/dist/collection/components/buttons/z-toggle-button/index.js +2 -2
- package/dist/collection/components/buttons/z-toggle-switch/index.js +4 -0
- package/dist/collection/components/date-picker/z-date-picker/index.js +2 -2
- package/dist/collection/components/date-picker/z-range-picker/index.js +1 -5
- package/dist/collection/components/file-upload/z-file/index.js +2 -4
- package/dist/collection/components/file-upload/z-file-upload/index.js +4 -8
- package/dist/collection/components/icons/z-icon/index.js +0 -7
- package/dist/collection/components/indicators/z-stepper-item/index.js +0 -6
- package/dist/collection/components/inputs/z-combobox/index.js +12 -11
- package/dist/collection/components/inputs/z-input/index.js +10 -14
- package/dist/collection/components/inputs/z-input-message/index.js +0 -2
- package/dist/collection/components/inputs/z-select/index.js +8 -9
- package/dist/collection/components/list/z-list/index.js +6 -0
- package/dist/collection/components/list/z-list-element/index.js +49 -11
- package/dist/collection/components/list/z-list-group/index.js +15 -0
- package/dist/collection/components/list/z-toast-notification-list/index.js +2 -0
- package/dist/collection/components/logo/z-logo/index.js +0 -8
- package/dist/collection/components/modal/z-modal/index.js +1 -3
- package/dist/collection/components/modal/z-modal-login/index.js +1 -4
- package/dist/collection/components/navigation/tabs/z-navigation-tab/index.js +12 -3
- package/dist/collection/components/navigation/tabs/z-navigation-tab-link/index.js +12 -5
- package/dist/collection/components/navigation/tabs/z-navigation-tabs/index.js +6 -3
- package/dist/collection/components/navigation/z-app-header/index.js +29 -7
- package/dist/collection/components/navigation/z-app-switcher/index.js +1 -0
- package/dist/collection/components/navigation/z-app-topbar/index.js +2 -6
- package/dist/collection/components/navigation/z-link/index.js +9 -3
- package/dist/collection/components/navigation/z-menu/index.js +10 -3
- package/dist/collection/components/navigation/z-menu-dropdown/index.js +0 -3
- package/dist/collection/components/navigation/z-menu-section/index.js +0 -5
- package/dist/collection/components/navigation/z-user-dropdown/index.js +1 -5
- package/dist/collection/components/notification/z-info-box/index.js +1 -1
- package/dist/collection/components/notification/z-notification/index.js +6 -3
- package/dist/collection/components/notification/z-toast-notification/index.js +4 -8
- package/dist/collection/components/notification/z-tooltip/index.js +11 -7
- package/dist/collection/components/panel/z-panel-elem/index.js +2 -7
- package/dist/collection/components/typography/z-body/index.js +1 -2
- package/dist/collection/components/typography/z-heading/index.js +1 -2
- package/dist/collection/components/typography/z-typography/index.js +1 -2
- package/dist/collection/components/z-anchor-navigation/index.js +7 -0
- package/dist/collection/components/z-aria-alert/index.js +1 -0
- package/dist/collection/components/z-avatar/index.js +3 -2
- package/dist/collection/components/z-card/index.js +2 -3
- package/dist/collection/components/z-carousel/index.js +5 -7
- package/dist/collection/components/z-contextual-menu/index.js +12 -7
- package/dist/collection/components/z-cover-hero/index.js +7 -0
- package/dist/collection/components/z-divider/index.js +3 -0
- package/dist/collection/components/z-info-reveal/index.js +4 -1
- package/dist/collection/components/z-offcanvas/index.js +7 -0
- package/dist/collection/components/z-pagination/index.js +12 -5
- package/dist/collection/components/z-popover/index.js +38 -27
- package/dist/collection/components/z-section-title/index.js +7 -0
- package/dist/collection/components/z-skip-to-content/index.js +1 -1
- package/dist/collection/components/z-table/z-table/index.js +8 -6
- package/dist/collection/components/z-table/z-table-cell/index.js +1 -1
- package/dist/collection/components/z-table/z-table-empty-box/index.js +2 -0
- package/dist/collection/components/z-table/z-table-expanded-row/index.js +0 -3
- package/dist/collection/components/z-table/z-table-header/index.js +5 -5
- package/dist/collection/components/z-table/z-table-header-row/index.js +0 -3
- package/dist/collection/components/z-table/z-table-row/index.js +1 -0
- package/dist/collection/components/z-tag/index.js +0 -4
- package/dist/collection/snowflakes/myz/card/z-myz-card/index.js +2 -2
- package/dist/collection/snowflakes/myz/card/z-myz-card-alert/index.js +0 -6
- package/dist/collection/snowflakes/myz/card/z-myz-card-cover/index.js +0 -6
- package/dist/collection/snowflakes/myz/card/z-myz-card-dictionary/index.js +4 -2
- package/dist/collection/snowflakes/myz/card/z-myz-card-footer/index.js +2 -5
- package/dist/collection/snowflakes/myz/card/z-myz-card-header/index.js +0 -3
- package/dist/collection/snowflakes/myz/card/z-myz-card-icon/index.js +2 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-info/index.js +3 -3
- package/dist/collection/snowflakes/myz/card/z-myz-card-list/index.js +0 -1
- package/dist/collection/snowflakes/myz/list/z-myz-list/index.js +0 -4
- package/dist/collection/snowflakes/myz/list/z-myz-list-item/index.js +2 -5
- package/dist/collection/snowflakes/myz/pocket/z-messages-pocket/index.js +1 -2
- package/dist/collection/snowflakes/myz/pocket/z-pocket/index.js +1 -1
- package/dist/collection/snowflakes/myz/pocket/z-pocket-body/index.js +1 -1
- package/dist/collection/snowflakes/myz/pocket/z-pocket-header/index.js +0 -1
- package/dist/collection/snowflakes/myz/z-alert/index.js +0 -3
- package/dist/collection/snowflakes/myz/z-otp/index.js +1 -2
- package/dist/collection/snowflakes/myz/z-slideshow/index.js +0 -3
- package/dist/esm/{index-aee91593.js → index-968a240f.js} +14 -55
- package/dist/esm/index-a2ca4b97.js +18 -74
- package/dist/esm/index.js +2 -2
- package/dist/esm/loader.js +2 -2
- package/dist/esm/{utils-77c5c75d.js → utils-151f0ab4.js} +1 -1
- package/dist/esm/{utils-5dc8ce33.js → utils-ccb4d66f.js} +2 -2
- package/dist/esm/web-components-library.js +2 -2
- package/dist/esm/z-alert.entry.js +0 -1
- package/dist/esm/z-anchor-navigation.entry.js +8 -1
- package/dist/esm/z-app-header_2.entry.js +29 -12
- package/dist/esm/{z-logo.entry.js → z-app-switcher_2.entry.js} +24 -8
- package/dist/esm/z-app-topbar.entry.js +3 -7
- package/dist/esm/z-aria-alert.entry.js +2 -1
- package/dist/esm/z-avatar.entry.js +4 -3
- package/dist/esm/z-body_2.entry.js +2 -4
- package/dist/esm/z-button-sort.entry.js +4 -4
- package/dist/esm/z-button.entry.js +6 -6
- package/dist/esm/z-card.entry.js +3 -4
- package/dist/esm/z-carousel.entry.js +6 -8
- package/dist/esm/z-chip.entry.js +4 -4
- package/dist/esm/z-combobox.entry.js +14 -13
- package/dist/esm/z-contextual-menu.entry.js +8 -3
- package/dist/esm/z-cover-hero.entry.js +8 -1
- package/dist/esm/z-date-picker.entry.js +4 -4
- package/dist/esm/z-divider.entry.js +4 -1
- package/dist/esm/z-dragdrop-area_2.entry.js +1 -2
- package/dist/esm/z-file-upload.entry.js +6 -10
- package/dist/esm/z-file.entry.js +2 -4
- package/dist/esm/z-info-box.entry.js +1 -1
- package/dist/esm/z-info-reveal.entry.js +5 -2
- package/dist/esm/z-input_2.entry.js +12 -18
- package/dist/esm/z-link.entry.js +9 -3
- package/dist/esm/z-list_3.entry.js +71 -12
- package/dist/esm/z-menu-dropdown.entry.js +55 -0
- package/dist/esm/z-menu-section.entry.js +0 -3
- package/dist/esm/z-menu.entry.js +10 -3
- package/dist/esm/z-messages-pocket.entry.js +2 -3
- package/dist/esm/z-modal-login.entry.js +2 -5
- package/dist/esm/z-modal.entry.js +1 -3
- package/dist/esm/z-myz-card-alert.entry.js +1 -5
- package/dist/esm/z-myz-card-dictionary.entry.js +5 -3
- package/dist/esm/z-myz-card-footer.entry.js +3 -6
- package/dist/esm/z-myz-card-icon.entry.js +2 -1
- package/dist/esm/z-myz-card-info.entry.js +4 -4
- package/dist/esm/z-myz-card-list.entry.js +0 -1
- package/dist/esm/z-myz-card_4.entry.js +3 -10
- package/dist/esm/z-myz-list-item.entry.js +4 -7
- package/dist/esm/z-myz-list.entry.js +31 -0
- package/dist/esm/z-navigation-tab-link.entry.js +13 -6
- package/dist/esm/z-navigation-tab.entry.js +13 -4
- package/dist/esm/z-navigation-tabs.entry.js +7 -4
- package/dist/esm/z-notification.entry.js +6 -3
- package/dist/esm/z-offcanvas.entry.js +8 -1
- package/dist/esm/z-otp.entry.js +2 -3
- package/dist/esm/z-pagination.entry.js +13 -6
- package/dist/esm/z-panel-elem.entry.js +2 -7
- package/dist/esm/z-pocket_3.entry.js +4 -5
- package/dist/esm/z-popover.entry.js +35 -24
- package/dist/esm/z-range-picker.entry.js +3 -7
- package/dist/esm/z-section-title.entry.js +8 -1
- package/dist/esm/{z-input-label_2.entry.js → z-select.entry.js} +12 -28
- package/dist/esm/z-skip-to-content.entry.js +3 -3
- package/dist/esm/z-slideshow.entry.js +2 -5
- package/dist/esm/z-stepper-item.entry.js +0 -4
- package/dist/esm/z-table-cell.entry.js +2 -2
- package/dist/esm/z-table-empty-box.entry.js +2 -0
- package/dist/esm/z-table-expanded-row.entry.js +0 -1
- package/dist/esm/z-table-header-row.entry.js +0 -1
- package/dist/esm/z-table-header.entry.js +6 -6
- package/dist/esm/z-table-row.entry.js +2 -1
- package/dist/esm/z-table.entry.js +9 -7
- package/dist/esm/z-tag.entry.js +0 -2
- package/dist/esm/z-toast-notification-list.entry.js +3 -1
- package/dist/esm/z-toast-notification.entry.js +5 -9
- package/dist/esm/z-toggle-button.entry.js +2 -2
- package/dist/esm/z-toggle-switch.entry.js +6 -2
- package/dist/esm/z-tooltip.entry.js +7 -3
- package/dist/esm/z-user-dropdown.entry.js +1 -5
- package/dist/types/beans/index.d.ts +1 -60
- package/dist/types/components/notification/z-tooltip/index.d.ts +2 -2
- package/dist/types/components/z-contextual-menu/index.d.ts +2 -2
- package/dist/types/components/z-popover/index.d.ts +4 -4
- package/dist/types/components.d.ts +8 -1057
- package/dist/types/stencil-public-runtime.d.ts +0 -5
- package/dist/web-components-library/index.esm.js +1 -1
- package/dist/web-components-library/p-009c9f67.entry.js +1 -0
- package/dist/web-components-library/p-01f001fd.entry.js +1 -0
- package/dist/web-components-library/p-057600de.entry.js +1 -0
- package/dist/web-components-library/p-05ced71c.entry.js +1 -0
- package/dist/web-components-library/p-074ea569.entry.js +1 -0
- package/dist/web-components-library/p-07e18572.entry.js +1 -0
- package/dist/web-components-library/p-0843b0e7.entry.js +1 -0
- package/dist/web-components-library/p-0fa4b50b.entry.js +1 -0
- package/dist/web-components-library/p-1b6279a6.entry.js +1 -0
- package/dist/web-components-library/p-1ba8d432.entry.js +1 -0
- package/dist/web-components-library/p-1cb23bbb.entry.js +1 -0
- package/dist/web-components-library/p-20a3247c.entry.js +1 -0
- package/dist/web-components-library/{p-0f28f07e.entry.js → p-214b6cee.entry.js} +1 -1
- package/dist/web-components-library/p-26f834e5.entry.js +1 -0
- package/dist/web-components-library/p-279655eb.entry.js +1 -0
- package/{www/build/p-1fdbd448.entry.js → dist/web-components-library/p-2acd6a51.entry.js} +1 -1
- package/dist/web-components-library/p-2d1b6c3c.entry.js +1 -0
- package/dist/web-components-library/p-2efedcf4.entry.js +1 -0
- package/dist/web-components-library/{p-279b422a.entry.js → p-33352f9e.entry.js} +1 -1
- package/dist/web-components-library/p-344e7ae7.entry.js +1 -0
- package/dist/web-components-library/{p-8fee871a.entry.js → p-34c26207.entry.js} +1 -1
- package/dist/web-components-library/p-38a3cf3b.entry.js +1 -0
- package/dist/web-components-library/p-3a468aa9.entry.js +1 -0
- package/dist/web-components-library/p-3c2d438b.entry.js +1 -0
- package/dist/web-components-library/p-3f55dce6.entry.js +1 -0
- package/dist/web-components-library/p-411cbcd6.entry.js +1 -0
- package/dist/web-components-library/p-475ca461.entry.js +1 -0
- package/{www/build/p-4a322ca6.entry.js → dist/web-components-library/p-496863be.entry.js} +1 -1
- package/dist/web-components-library/p-4cd6c6f4.entry.js +1 -0
- package/dist/web-components-library/p-51e308ca.entry.js +1 -0
- package/dist/web-components-library/p-59cfee8d.entry.js +1 -0
- package/dist/web-components-library/p-5dd9a2c6.entry.js +1 -0
- package/dist/web-components-library/p-61424b8a.entry.js +1 -0
- package/dist/web-components-library/{p-3b1c4366.entry.js → p-67d6cfcb.entry.js} +1 -1
- package/dist/web-components-library/p-682528b2.entry.js +1 -0
- package/dist/web-components-library/p-6b1a5309.entry.js +1 -0
- package/dist/web-components-library/p-7af991f5.entry.js +1 -0
- package/dist/web-components-library/p-810bd730.entry.js +1 -0
- package/dist/web-components-library/p-8980398c.entry.js +1 -0
- package/dist/web-components-library/p-8b960526.entry.js +1 -0
- package/dist/web-components-library/p-8bf0844b.entry.js +1 -0
- package/dist/web-components-library/p-8c105bd1.entry.js +1 -0
- package/dist/web-components-library/p-8f46e548.entry.js +1 -0
- package/dist/web-components-library/p-8ffc17b7.entry.js +1 -0
- package/dist/web-components-library/p-93dc6d51.entry.js +1 -0
- package/dist/web-components-library/p-95b8f109.entry.js +1 -0
- package/dist/web-components-library/{p-db234892.entry.js → p-9965827d.entry.js} +1 -1
- package/dist/web-components-library/{p-323ae109.entry.js → p-9c28b8fc.entry.js} +1 -1
- package/dist/web-components-library/p-9c338aeb.entry.js +1 -0
- package/dist/web-components-library/p-9d03a7d6.entry.js +1 -0
- package/dist/web-components-library/{p-1f8c947e.entry.js → p-9ed27651.entry.js} +1 -1
- package/dist/web-components-library/p-a23e9115.js +1 -0
- package/dist/web-components-library/p-a2b67e2d.entry.js +1 -0
- package/dist/web-components-library/p-a79d1412.entry.js +1 -0
- package/dist/web-components-library/p-a82ea410.entry.js +1 -0
- package/dist/web-components-library/{p-4c7f4a2c.entry.js → p-b17981a4.entry.js} +1 -1
- package/dist/web-components-library/p-b33f5e6a.entry.js +1 -0
- package/dist/web-components-library/{p-bee26f96.js → p-b3c29822.js} +1 -1
- package/dist/web-components-library/p-b6f36170.entry.js +16 -0
- package/dist/web-components-library/p-bb0fe7bc.entry.js +1 -0
- package/dist/web-components-library/p-bdc6f2e5.entry.js +1 -0
- package/dist/web-components-library/p-beba3e67.entry.js +1 -0
- package/dist/web-components-library/p-c25b0b2a.entry.js +1 -0
- package/dist/web-components-library/p-c6aad085.entry.js +1 -0
- package/dist/web-components-library/p-cd43f80d.js +1 -0
- package/dist/web-components-library/p-ce83ce18.entry.js +1 -0
- package/dist/web-components-library/p-db3c8e3e.entry.js +1 -0
- package/dist/web-components-library/p-e40b16fa.entry.js +1 -0
- package/dist/web-components-library/p-ede9fbf5.entry.js +1 -0
- package/dist/web-components-library/p-f0653e72.entry.js +1 -0
- package/dist/web-components-library/{p-2c18a622.entry.js → p-f158d205.entry.js} +1 -1
- package/dist/web-components-library/p-f20d1242.entry.js +1 -0
- package/dist/web-components-library/p-f95cc914.entry.js +1 -0
- package/dist/web-components-library/web-components-library.esm.js +1 -1
- package/package.json +1 -1
- package/react/components.d.ts +0 -17
- package/react/components.js +2 -20
- package/react/components.js.map +1 -1
- package/www/build/index.esm.js +1 -1
- package/www/build/p-009c9f67.entry.js +1 -0
- package/www/build/p-01f001fd.entry.js +1 -0
- package/www/build/p-057600de.entry.js +1 -0
- package/www/build/p-05ced71c.entry.js +1 -0
- package/www/build/p-074ea569.entry.js +1 -0
- package/www/build/p-07e18572.entry.js +1 -0
- package/www/build/p-0843b0e7.entry.js +1 -0
- package/www/build/p-0fa4b50b.entry.js +1 -0
- package/www/build/p-1b6279a6.entry.js +1 -0
- package/www/build/p-1ba8d432.entry.js +1 -0
- package/www/build/p-1cb23bbb.entry.js +1 -0
- package/www/build/p-20a3247c.entry.js +1 -0
- package/www/build/{p-0f28f07e.entry.js → p-214b6cee.entry.js} +1 -1
- package/www/build/p-26f834e5.entry.js +1 -0
- package/www/build/p-279655eb.entry.js +1 -0
- package/{dist/web-components-library/p-1fdbd448.entry.js → www/build/p-2acd6a51.entry.js} +1 -1
- package/www/build/p-2d1b6c3c.entry.js +1 -0
- package/www/build/p-2efedcf4.entry.js +1 -0
- package/www/build/{p-279b422a.entry.js → p-33352f9e.entry.js} +1 -1
- package/www/build/p-344e7ae7.entry.js +1 -0
- package/www/build/{p-8fee871a.entry.js → p-34c26207.entry.js} +1 -1
- package/www/build/p-38a3cf3b.entry.js +1 -0
- package/www/build/p-3a468aa9.entry.js +1 -0
- package/www/build/p-3c2d438b.entry.js +1 -0
- package/www/build/p-3f55dce6.entry.js +1 -0
- package/www/build/p-411cbcd6.entry.js +1 -0
- package/www/build/p-475ca461.entry.js +1 -0
- package/{dist/web-components-library/p-4a322ca6.entry.js → www/build/p-496863be.entry.js} +1 -1
- package/www/build/p-4cd6c6f4.entry.js +1 -0
- package/www/build/p-51e308ca.entry.js +1 -0
- package/www/build/p-59cfee8d.entry.js +1 -0
- package/www/build/p-5dd9a2c6.entry.js +1 -0
- package/www/build/p-61424b8a.entry.js +1 -0
- package/www/build/{p-3b1c4366.entry.js → p-67d6cfcb.entry.js} +1 -1
- package/www/build/p-682528b2.entry.js +1 -0
- package/www/build/p-6b1a5309.entry.js +1 -0
- package/www/build/p-7af991f5.entry.js +1 -0
- package/www/build/p-810bd730.entry.js +1 -0
- package/www/build/p-8980398c.entry.js +1 -0
- package/www/build/p-8b960526.entry.js +1 -0
- package/www/build/p-8bf0844b.entry.js +1 -0
- package/www/build/p-8c105bd1.entry.js +1 -0
- package/www/build/p-8f46e548.entry.js +1 -0
- package/www/build/p-8ffc17b7.entry.js +1 -0
- package/www/build/p-93dc6d51.entry.js +1 -0
- package/www/build/p-95b8f109.entry.js +1 -0
- package/www/build/{p-db234892.entry.js → p-9965827d.entry.js} +1 -1
- package/www/build/{p-323ae109.entry.js → p-9c28b8fc.entry.js} +1 -1
- package/www/build/p-9c338aeb.entry.js +1 -0
- package/www/build/p-9d03a7d6.entry.js +1 -0
- package/www/build/{p-1f8c947e.entry.js → p-9ed27651.entry.js} +1 -1
- package/www/build/p-a23e9115.js +1 -0
- package/www/build/p-a2b67e2d.entry.js +1 -0
- package/www/build/p-a79d1412.entry.js +1 -0
- package/www/build/p-a82ea410.entry.js +1 -0
- package/www/build/{p-4c7f4a2c.entry.js → p-b17981a4.entry.js} +1 -1
- package/www/build/p-b33f5e6a.entry.js +1 -0
- package/www/build/{p-bee26f96.js → p-b3c29822.js} +1 -1
- package/www/build/p-b6f36170.entry.js +16 -0
- package/www/build/p-bb0fe7bc.entry.js +1 -0
- package/www/build/p-bdc6f2e5.entry.js +1 -0
- package/www/build/p-beba3e67.entry.js +1 -0
- package/www/build/p-c25b0b2a.entry.js +1 -0
- package/www/build/p-c6aad085.entry.js +1 -0
- package/www/build/p-cd43f80d.js +1 -0
- package/www/build/p-ce83ce18.entry.js +1 -0
- package/www/build/p-db3c8e3e.entry.js +1 -0
- package/www/build/p-e40b16fa.entry.js +1 -0
- package/www/build/p-e9bbbd5a.js +1 -0
- package/www/build/p-ede9fbf5.entry.js +1 -0
- package/www/build/p-f0653e72.entry.js +1 -0
- package/www/build/{p-2c18a622.entry.js → p-f158d205.entry.js} +1 -1
- package/www/build/p-f20d1242.entry.js +1 -0
- package/www/build/p-f95cc914.entry.js +1 -0
- package/www/build/web-components-library.esm.js +1 -1
- package/www/index.html +1 -1
- package/dist/cjs/z-app-switcher.cjs.entry.js +0 -28
- package/dist/cjs/z-button-deprecated.cjs.entry.js +0 -36
- package/dist/cjs/z-button-filter.cjs.entry.js +0 -49
- package/dist/cjs/z-candybar.cjs.entry.js +0 -19
- package/dist/cjs/z-chip-deprecated.cjs.entry.js +0 -24
- package/dist/cjs/z-cookiebar.cjs.entry.js +0 -44
- package/dist/cjs/z-footer-link_3.cjs.entry.js +0 -54
- package/dist/cjs/z-footer.cjs.entry.js +0 -110
- package/dist/cjs/z-input-deprecated.cjs.entry.js +0 -261
- package/dist/cjs/z-menu-dropdown_2.cjs.entry.js +0 -93
- package/dist/cjs/z-myz-topbar.cjs.entry.js +0 -201
- package/dist/cjs/z-pagination-bar.cjs.entry.js +0 -116
- package/dist/cjs/z-pagination-page.cjs.entry.js +0 -25
- package/dist/cjs/z-popover-deprecated.cjs.entry.js +0 -129
- package/dist/cjs/z-status-tag.cjs.entry.js +0 -32
- package/dist/cjs/z-tooltip-deprecated.cjs.entry.js +0 -262
- package/dist/collection/components/footer/z-footer/index.js +0 -262
- package/dist/collection/components/footer/z-footer/styles.css +0 -242
- package/dist/collection/components/footer/z-footer-link/index.js +0 -45
- package/dist/collection/components/footer/z-footer-link/styles.css +0 -25
- package/dist/collection/components/footer/z-footer-section/index.js +0 -54
- package/dist/collection/components/footer/z-footer-section/styles.css +0 -150
- package/dist/collection/components/footer/z-footer-social/index.js +0 -78
- package/dist/collection/components/footer/z-footer-social/styles.css +0 -15
- package/dist/collection/components/notification/z-candybar/index.js +0 -21
- package/dist/collection/components/notification/z-candybar/styles.css +0 -55
- package/dist/collection/components/notification/z-cookiebar/index.js +0 -115
- package/dist/collection/components/notification/z-cookiebar/styles.css +0 -108
- package/dist/collection/deprecated/pagination/z-pagination-bar/index.js +0 -271
- package/dist/collection/deprecated/pagination/z-pagination-bar/styles.css +0 -22
- package/dist/collection/deprecated/pagination/z-pagination-page/index.js +0 -136
- package/dist/collection/deprecated/pagination/z-pagination-page/styles.css +0 -57
- package/dist/collection/deprecated/z-button-deprecated/index.js +0 -221
- package/dist/collection/deprecated/z-button-deprecated/styles.css +0 -231
- package/dist/collection/deprecated/z-button-filter/index.js +0 -159
- package/dist/collection/deprecated/z-button-filter/styles.css +0 -64
- package/dist/collection/deprecated/z-chip-deprecated/index.js +0 -63
- package/dist/collection/deprecated/z-chip-deprecated/styles.css +0 -17
- package/dist/collection/deprecated/z-input-deprecated/index.js +0 -810
- package/dist/collection/deprecated/z-input-deprecated/styles.css +0 -282
- package/dist/collection/deprecated/z-input-label/index.js +0 -79
- package/dist/collection/deprecated/z-input-label/styles.css +0 -16
- package/dist/collection/deprecated/z-popover-deprecated/index.js +0 -300
- package/dist/collection/deprecated/z-popover-deprecated/styles.css +0 -235
- package/dist/collection/deprecated/z-status-tag/index.js +0 -133
- package/dist/collection/deprecated/z-status-tag/styles.css +0 -131
- package/dist/collection/deprecated/z-tooltip-deprecated/index.js +0 -378
- package/dist/collection/deprecated/z-tooltip-deprecated/styles.css +0 -128
- package/dist/collection/snowflakes/myz/topbar/index.js +0 -409
- package/dist/collection/snowflakes/myz/topbar/styles.css +0 -574
- package/dist/esm/z-app-switcher.entry.js +0 -24
- package/dist/esm/z-button-deprecated.entry.js +0 -32
- package/dist/esm/z-button-filter.entry.js +0 -45
- package/dist/esm/z-candybar.entry.js +0 -15
- package/dist/esm/z-chip-deprecated.entry.js +0 -20
- package/dist/esm/z-cookiebar.entry.js +0 -40
- package/dist/esm/z-footer-link_3.entry.js +0 -48
- package/dist/esm/z-footer.entry.js +0 -106
- package/dist/esm/z-input-deprecated.entry.js +0 -257
- package/dist/esm/z-menu-dropdown_2.entry.js +0 -88
- package/dist/esm/z-myz-topbar.entry.js +0 -197
- package/dist/esm/z-pagination-bar.entry.js +0 -112
- package/dist/esm/z-pagination-page.entry.js +0 -21
- package/dist/esm/z-popover-deprecated.entry.js +0 -125
- package/dist/esm/z-status-tag.entry.js +0 -28
- package/dist/esm/z-tooltip-deprecated.entry.js +0 -258
- package/dist/types/components/footer/z-footer/index.d.ts +0 -46
- package/dist/types/components/footer/z-footer-link/index.d.ts +0 -8
- package/dist/types/components/footer/z-footer-section/index.d.ts +0 -10
- package/dist/types/components/footer/z-footer-social/index.d.ts +0 -9
- package/dist/types/components/notification/z-candybar/index.d.ts +0 -6
- package/dist/types/components/notification/z-cookiebar/index.d.ts +0 -16
- package/dist/types/deprecated/pagination/z-pagination-bar/index.d.ts +0 -40
- package/dist/types/deprecated/pagination/z-pagination-page/index.d.ts +0 -15
- package/dist/types/deprecated/z-button-deprecated/index.d.ts +0 -28
- package/dist/types/deprecated/z-button-filter/index.d.ts +0 -22
- package/dist/types/deprecated/z-chip-deprecated/index.d.ts +0 -8
- package/dist/types/deprecated/z-input-deprecated/index.d.ts +0 -91
- package/dist/types/deprecated/z-input-label/index.d.ts +0 -9
- package/dist/types/deprecated/z-popover-deprecated/index.d.ts +0 -33
- package/dist/types/deprecated/z-status-tag/index.d.ts +0 -15
- package/dist/types/deprecated/z-tooltip-deprecated/index.d.ts +0 -41
- package/dist/types/snowflakes/myz/topbar/index.d.ts +0 -59
- package/dist/web-components-library/p-016b2800.entry.js +0 -1
- package/dist/web-components-library/p-067bd5da.entry.js +0 -1
- package/dist/web-components-library/p-0afc555e.entry.js +0 -1
- package/dist/web-components-library/p-10b84e8c.entry.js +0 -1
- package/dist/web-components-library/p-12211a48.entry.js +0 -1
- package/dist/web-components-library/p-18448e4d.entry.js +0 -1
- package/dist/web-components-library/p-1ab0de76.entry.js +0 -1
- package/dist/web-components-library/p-1e163a87.entry.js +0 -1
- package/dist/web-components-library/p-1f187c54.entry.js +0 -1
- package/dist/web-components-library/p-1f8c8cd0.entry.js +0 -1
- package/dist/web-components-library/p-2d5d8e6f.entry.js +0 -1
- package/dist/web-components-library/p-2e7a31ac.entry.js +0 -1
- package/dist/web-components-library/p-3027c60b.entry.js +0 -1
- package/dist/web-components-library/p-30fcd62b.js +0 -1
- package/dist/web-components-library/p-35739670.entry.js +0 -1
- package/dist/web-components-library/p-36d2d081.entry.js +0 -1
- package/dist/web-components-library/p-3c7cf41f.entry.js +0 -1
- package/dist/web-components-library/p-3eb0d582.entry.js +0 -1
- package/dist/web-components-library/p-3ecfb7c1.entry.js +0 -1
- package/dist/web-components-library/p-40f96085.entry.js +0 -1
- package/dist/web-components-library/p-42782d06.entry.js +0 -1
- package/dist/web-components-library/p-4465426a.entry.js +0 -1
- package/dist/web-components-library/p-468520f5.entry.js +0 -1
- package/dist/web-components-library/p-46e367c9.entry.js +0 -1
- package/dist/web-components-library/p-4ba0b17c.entry.js +0 -1
- package/dist/web-components-library/p-552c6686.entry.js +0 -1
- package/dist/web-components-library/p-563529f8.entry.js +0 -1
- package/dist/web-components-library/p-569f6cff.entry.js +0 -1
- package/dist/web-components-library/p-57faab40.entry.js +0 -1
- package/dist/web-components-library/p-5935151c.entry.js +0 -1
- package/dist/web-components-library/p-5b83568e.entry.js +0 -1
- package/dist/web-components-library/p-5c6108bb.entry.js +0 -1
- package/dist/web-components-library/p-63a99ad2.entry.js +0 -16
- package/dist/web-components-library/p-64033ee3.entry.js +0 -1
- package/dist/web-components-library/p-66bbcf76.entry.js +0 -1
- package/dist/web-components-library/p-69db61b5.entry.js +0 -1
- package/dist/web-components-library/p-6e4dd501.entry.js +0 -1
- package/dist/web-components-library/p-6fe1bffb.entry.js +0 -1
- package/dist/web-components-library/p-7171d686.entry.js +0 -1
- package/dist/web-components-library/p-75a4091f.entry.js +0 -1
- package/dist/web-components-library/p-7b22a446.entry.js +0 -1
- package/dist/web-components-library/p-7e13d026.entry.js +0 -1
- package/dist/web-components-library/p-82ff8f0e.entry.js +0 -1
- package/dist/web-components-library/p-84cc611a.entry.js +0 -1
- package/dist/web-components-library/p-8879211b.entry.js +0 -1
- package/dist/web-components-library/p-8949cd1d.entry.js +0 -1
- package/dist/web-components-library/p-9099124a.entry.js +0 -1
- package/dist/web-components-library/p-9ecf936d.js +0 -1
- package/dist/web-components-library/p-a1250f99.entry.js +0 -1
- package/dist/web-components-library/p-a3b8dd69.entry.js +0 -1
- package/dist/web-components-library/p-aa271ed7.entry.js +0 -1
- package/dist/web-components-library/p-af4a9bb7.entry.js +0 -1
- package/dist/web-components-library/p-af9b8051.entry.js +0 -1
- package/dist/web-components-library/p-b01314fa.entry.js +0 -1
- package/dist/web-components-library/p-b4a9ba1d.entry.js +0 -1
- package/dist/web-components-library/p-b9a69a90.entry.js +0 -1
- package/dist/web-components-library/p-bbbfd2fa.entry.js +0 -1
- package/dist/web-components-library/p-bea5aa42.entry.js +0 -1
- package/dist/web-components-library/p-c39c68b9.entry.js +0 -1
- package/dist/web-components-library/p-c7d7958c.entry.js +0 -1
- package/dist/web-components-library/p-c849a2a5.entry.js +0 -1
- package/dist/web-components-library/p-d1b45e96.entry.js +0 -1
- package/dist/web-components-library/p-d767f784.entry.js +0 -1
- package/dist/web-components-library/p-d7e72cec.entry.js +0 -1
- package/dist/web-components-library/p-d8e17d3a.entry.js +0 -1
- package/dist/web-components-library/p-dc3c5f36.entry.js +0 -1
- package/dist/web-components-library/p-e0f82390.entry.js +0 -1
- package/dist/web-components-library/p-e1ddeb61.entry.js +0 -1
- package/dist/web-components-library/p-e4d761f4.entry.js +0 -1
- package/dist/web-components-library/p-efca7e17.entry.js +0 -1
- package/dist/web-components-library/p-f08d1cbd.entry.js +0 -1
- package/dist/web-components-library/p-f53d1d26.entry.js +0 -1
- package/dist/web-components-library/p-f8aef252.entry.js +0 -1
- package/dist/web-components-library/p-f94281ee.entry.js +0 -1
- package/dist/web-components-library/p-f9e8ac5d.entry.js +0 -1
- package/www/build/p-016b2800.entry.js +0 -1
- package/www/build/p-067bd5da.entry.js +0 -1
- package/www/build/p-0afc555e.entry.js +0 -1
- package/www/build/p-10b84e8c.entry.js +0 -1
- package/www/build/p-12211a48.entry.js +0 -1
- package/www/build/p-18448e4d.entry.js +0 -1
- package/www/build/p-1ab0de76.entry.js +0 -1
- package/www/build/p-1e163a87.entry.js +0 -1
- package/www/build/p-1f187c54.entry.js +0 -1
- package/www/build/p-1f8c8cd0.entry.js +0 -1
- package/www/build/p-2d5d8e6f.entry.js +0 -1
- package/www/build/p-2e7a31ac.entry.js +0 -1
- package/www/build/p-3027c60b.entry.js +0 -1
- package/www/build/p-30fcd62b.js +0 -1
- package/www/build/p-35739670.entry.js +0 -1
- package/www/build/p-36d2d081.entry.js +0 -1
- package/www/build/p-3c7cf41f.entry.js +0 -1
- package/www/build/p-3eb0d582.entry.js +0 -1
- package/www/build/p-3ecfb7c1.entry.js +0 -1
- package/www/build/p-40f96085.entry.js +0 -1
- package/www/build/p-42782d06.entry.js +0 -1
- package/www/build/p-4465426a.entry.js +0 -1
- package/www/build/p-468520f5.entry.js +0 -1
- package/www/build/p-46e367c9.entry.js +0 -1
- package/www/build/p-4ba0b17c.entry.js +0 -1
- package/www/build/p-552c6686.entry.js +0 -1
- package/www/build/p-563529f8.entry.js +0 -1
- package/www/build/p-569f6cff.entry.js +0 -1
- package/www/build/p-57faab40.entry.js +0 -1
- package/www/build/p-5935151c.entry.js +0 -1
- package/www/build/p-5b83568e.entry.js +0 -1
- package/www/build/p-5c6108bb.entry.js +0 -1
- package/www/build/p-63a99ad2.entry.js +0 -16
- package/www/build/p-64033ee3.entry.js +0 -1
- package/www/build/p-66bbcf76.entry.js +0 -1
- package/www/build/p-69db61b5.entry.js +0 -1
- package/www/build/p-6e4dd501.entry.js +0 -1
- package/www/build/p-6fe1bffb.entry.js +0 -1
- package/www/build/p-7171d686.entry.js +0 -1
- package/www/build/p-75a4091f.entry.js +0 -1
- package/www/build/p-7b22a446.entry.js +0 -1
- package/www/build/p-7e13d026.entry.js +0 -1
- package/www/build/p-82ff8f0e.entry.js +0 -1
- package/www/build/p-84cc611a.entry.js +0 -1
- package/www/build/p-8879211b.entry.js +0 -1
- package/www/build/p-8949cd1d.entry.js +0 -1
- package/www/build/p-9099124a.entry.js +0 -1
- package/www/build/p-9ecf936d.js +0 -1
- package/www/build/p-a1250f99.entry.js +0 -1
- package/www/build/p-a3b8dd69.entry.js +0 -1
- package/www/build/p-aa271ed7.entry.js +0 -1
- package/www/build/p-af4a9bb7.entry.js +0 -1
- package/www/build/p-af9b8051.entry.js +0 -1
- package/www/build/p-b01314fa.entry.js +0 -1
- package/www/build/p-b4a9ba1d.entry.js +0 -1
- package/www/build/p-b9a69a90.entry.js +0 -1
- package/www/build/p-bbbfd2fa.entry.js +0 -1
- package/www/build/p-bea5aa42.entry.js +0 -1
- package/www/build/p-c39c68b9.entry.js +0 -1
- package/www/build/p-c7d7958c.entry.js +0 -1
- package/www/build/p-c849a2a5.entry.js +0 -1
- package/www/build/p-d1b45e96.entry.js +0 -1
- package/www/build/p-d767f784.entry.js +0 -1
- package/www/build/p-d7e72cec.entry.js +0 -1
- package/www/build/p-d8e17d3a.entry.js +0 -1
- package/www/build/p-dc3c5f36.entry.js +0 -1
- package/www/build/p-e0f82390.entry.js +0 -1
- package/www/build/p-e1ddeb61.entry.js +0 -1
- package/www/build/p-e4d761f4.entry.js +0 -1
- package/www/build/p-ef5f8af2.js +0 -1
- package/www/build/p-efca7e17.entry.js +0 -1
- package/www/build/p-f08d1cbd.entry.js +0 -1
- package/www/build/p-f53d1d26.entry.js +0 -1
- package/www/build/p-f8aef252.entry.js +0 -1
- package/www/build/p-f94281ee.entry.js +0 -1
- package/www/build/p-f9e8ac5d.entry.js +0 -1
|
@@ -1,810 +0,0 @@
|
|
|
1
|
-
import { h } from "@stencil/core";
|
|
2
|
-
import { InputType } from "../../beans";
|
|
3
|
-
import { randomId } from "../../utils/utils";
|
|
4
|
-
export class ZInputDeprecated {
|
|
5
|
-
constructor() {
|
|
6
|
-
this.htmlid = `id-${randomId()}`;
|
|
7
|
-
this.type = undefined;
|
|
8
|
-
this.name = undefined;
|
|
9
|
-
this.label = undefined;
|
|
10
|
-
this.ariaLabel = "";
|
|
11
|
-
this.value = undefined;
|
|
12
|
-
this.disabled = false;
|
|
13
|
-
this.readonly = false;
|
|
14
|
-
this.required = false;
|
|
15
|
-
this.checked = false;
|
|
16
|
-
this.placeholder = undefined;
|
|
17
|
-
this.htmltitle = undefined;
|
|
18
|
-
this.status = undefined;
|
|
19
|
-
this.hasmessage = true;
|
|
20
|
-
this.message = undefined;
|
|
21
|
-
this.labelafter = true;
|
|
22
|
-
this.typingtimeout = 300;
|
|
23
|
-
this.items = undefined;
|
|
24
|
-
this.autocomplete = undefined;
|
|
25
|
-
this.multiple = false;
|
|
26
|
-
this.hasclearicon = true;
|
|
27
|
-
this.icon = undefined;
|
|
28
|
-
this.isTyping = false;
|
|
29
|
-
this.textareaWrapperHover = "";
|
|
30
|
-
this.textareaWrapperFocus = "";
|
|
31
|
-
this.passwordHidden = true;
|
|
32
|
-
}
|
|
33
|
-
inputCheckListener(e) {
|
|
34
|
-
const data = e.detail;
|
|
35
|
-
switch (this.type) {
|
|
36
|
-
case InputType.RADIO:
|
|
37
|
-
if (data.type === InputType.RADIO && data.name === this.name && data.id !== this.htmlid) {
|
|
38
|
-
this.checked = false;
|
|
39
|
-
}
|
|
40
|
-
break;
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
/** get the input value */
|
|
44
|
-
async getValue() {
|
|
45
|
-
switch (this.type) {
|
|
46
|
-
// @ts-ignore
|
|
47
|
-
case "select":
|
|
48
|
-
return this.selectElem.getValue();
|
|
49
|
-
default:
|
|
50
|
-
return this.value;
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
/** set the input value */
|
|
54
|
-
async setValue(value) {
|
|
55
|
-
switch (this.type) {
|
|
56
|
-
// @ts-ignore
|
|
57
|
-
case "select":
|
|
58
|
-
this.selectElem.setValue(value);
|
|
59
|
-
break;
|
|
60
|
-
default:
|
|
61
|
-
if (typeof value === "string") {
|
|
62
|
-
this.value = value;
|
|
63
|
-
}
|
|
64
|
-
break;
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
/** get checked status */
|
|
68
|
-
async isChecked() {
|
|
69
|
-
switch (this.type) {
|
|
70
|
-
case InputType.CHECKBOX:
|
|
71
|
-
case InputType.RADIO:
|
|
72
|
-
return this.checked;
|
|
73
|
-
default:
|
|
74
|
-
return false;
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
emitInputChange(value, keycode) {
|
|
78
|
-
if (!this.isTyping) {
|
|
79
|
-
this.emitStartTyping();
|
|
80
|
-
}
|
|
81
|
-
let validity;
|
|
82
|
-
if (this.type === InputType.TEXTAREA) {
|
|
83
|
-
validity = this.getValidity("textarea");
|
|
84
|
-
}
|
|
85
|
-
else {
|
|
86
|
-
validity = this.getValidity("input");
|
|
87
|
-
}
|
|
88
|
-
this.value = value;
|
|
89
|
-
this.inputChange.emit({ value, keycode, validity });
|
|
90
|
-
clearTimeout(this.timer);
|
|
91
|
-
this.timer = setTimeout(() => {
|
|
92
|
-
this.emitStopTyping(this.value, validity);
|
|
93
|
-
}, this.typingtimeout);
|
|
94
|
-
}
|
|
95
|
-
emitStartTyping() {
|
|
96
|
-
this.isTyping = true;
|
|
97
|
-
this.startTyping.emit();
|
|
98
|
-
}
|
|
99
|
-
emitStopTyping(value, validity) {
|
|
100
|
-
this.isTyping = false;
|
|
101
|
-
this.stopTyping.emit({
|
|
102
|
-
value: value,
|
|
103
|
-
validity: validity,
|
|
104
|
-
});
|
|
105
|
-
}
|
|
106
|
-
emitInputCheck(checked) {
|
|
107
|
-
this.inputCheck.emit({
|
|
108
|
-
id: this.htmlid,
|
|
109
|
-
checked: checked,
|
|
110
|
-
type: this.type,
|
|
111
|
-
name: this.name,
|
|
112
|
-
value: this.value,
|
|
113
|
-
validity: this.getValidity("input"),
|
|
114
|
-
});
|
|
115
|
-
}
|
|
116
|
-
getValidity(type) {
|
|
117
|
-
const input = this.hostElement.querySelector(type);
|
|
118
|
-
return input.validity;
|
|
119
|
-
}
|
|
120
|
-
/* START text/password/email/number */
|
|
121
|
-
getTextAttributes() {
|
|
122
|
-
const attr = {
|
|
123
|
-
id: this.htmlid,
|
|
124
|
-
name: this.name,
|
|
125
|
-
placeholder: this.placeholder,
|
|
126
|
-
value: this.value,
|
|
127
|
-
disabled: this.disabled,
|
|
128
|
-
readonly: this.readonly,
|
|
129
|
-
required: this.required,
|
|
130
|
-
title: this.htmltitle,
|
|
131
|
-
class: {
|
|
132
|
-
[`input-${this.status}`]: !!this.status,
|
|
133
|
-
istyping: this.isTyping,
|
|
134
|
-
filled: !this.isTyping && !!this.value,
|
|
135
|
-
},
|
|
136
|
-
onInput: (e) => this.emitInputChange(e.target.value, e instanceof KeyboardEvent ? e.keyCode : null),
|
|
137
|
-
};
|
|
138
|
-
if (this.autocomplete) {
|
|
139
|
-
attr["autocomplete"] = this.autocomplete;
|
|
140
|
-
}
|
|
141
|
-
return attr;
|
|
142
|
-
}
|
|
143
|
-
renderInputText(type = InputType.TEXT) {
|
|
144
|
-
const attr = this.getTextAttributes();
|
|
145
|
-
if (this.icon || type === InputType.PASSWORD) {
|
|
146
|
-
Object.assign(attr.class, { "has-icon": true });
|
|
147
|
-
}
|
|
148
|
-
if (this.hasclearicon) {
|
|
149
|
-
Object.assign(attr.class, { "has-clear-icon": true });
|
|
150
|
-
}
|
|
151
|
-
return (h("div", { class: "text-wrapper" }, this.renderLabel(), h("div", null, h("input", Object.assign({ type: type === InputType.PASSWORD && !this.passwordHidden ? InputType.TEXT : type }, attr, { "aria-label": this.ariaLabel || this.label })), this.renderIcons()), this.renderMessage()));
|
|
152
|
-
}
|
|
153
|
-
renderLabel() {
|
|
154
|
-
if (!this.label) {
|
|
155
|
-
return;
|
|
156
|
-
}
|
|
157
|
-
return (h("z-input-label", { htmlfor: this.htmlid, value: this.label, disabled: this.disabled, "aria-label": this.label, id: `${this.htmlid}_label` }));
|
|
158
|
-
}
|
|
159
|
-
renderIcons() {
|
|
160
|
-
return (h("span", { class: {
|
|
161
|
-
"icons-wrapper": true,
|
|
162
|
-
"disabled": this.disabled,
|
|
163
|
-
} }, this.renderResetIcon(), this.renderIcon()));
|
|
164
|
-
}
|
|
165
|
-
renderIcon() {
|
|
166
|
-
if (this.type === InputType.PASSWORD) {
|
|
167
|
-
return this.renderShowHidePassword();
|
|
168
|
-
}
|
|
169
|
-
if (!this.icon) {
|
|
170
|
-
return;
|
|
171
|
-
}
|
|
172
|
-
return (h("z-icon", { class: "input-icon", name: this.icon }));
|
|
173
|
-
}
|
|
174
|
-
renderResetIcon() {
|
|
175
|
-
if (!this.hasclearicon || !this.value || this.disabled || this.readonly) {
|
|
176
|
-
return;
|
|
177
|
-
}
|
|
178
|
-
return (h("z-icon", { class: "reset-icon", name: "multiply", onClick: (e) => this.emitInputChange("", e instanceof KeyboardEvent ? e.keyCode : null) }));
|
|
179
|
-
}
|
|
180
|
-
renderShowHidePassword() {
|
|
181
|
-
return (h("z-icon", { class: "toggle-password-icon", name: this.passwordHidden ? "view-filled" : "view-off-filled", onClick: () => (this.passwordHidden = !this.passwordHidden) }));
|
|
182
|
-
}
|
|
183
|
-
renderMessage() {
|
|
184
|
-
if (!this.hasmessage) {
|
|
185
|
-
return;
|
|
186
|
-
}
|
|
187
|
-
return (h("z-input-message", { message: this.message, status: this.status }));
|
|
188
|
-
}
|
|
189
|
-
/* END text/password/email/number */
|
|
190
|
-
/* START textarea */
|
|
191
|
-
renderTextarea() {
|
|
192
|
-
const attributes = this.getTextAttributes();
|
|
193
|
-
return (h("div", { class: "text-wrapper" }, this.renderLabel(), h("div", { class: Object.assign(Object.assign({ "textarea-wrapper": true }, attributes.class), { "disabled": attributes.disabled, "readonly": !!attributes.readonly, "istyping": this.isTyping, [this.textareaWrapperFocus]: true, [this.textareaWrapperHover]: true }) }, h("textarea", Object.assign({}, attributes, { onFocus: () => (this.textareaWrapperFocus = "focus"), onBlur: () => (this.textareaWrapperFocus = ""), onMouseOver: () => (this.textareaWrapperHover = "hover"), onMouseOut: () => (this.textareaWrapperHover = ""), "aria-label": this.ariaLabel || this.label }))), this.renderMessage()));
|
|
194
|
-
}
|
|
195
|
-
/* END textarea */
|
|
196
|
-
handleCheck(ev) {
|
|
197
|
-
this.checked = ev.target.checked;
|
|
198
|
-
this.emitInputCheck(this.checked);
|
|
199
|
-
}
|
|
200
|
-
/* START checkbox */
|
|
201
|
-
renderCheckbox() {
|
|
202
|
-
return (h("div", { class: "checkbox-wrapper" }, h("input", { id: this.htmlid, type: "checkbox", name: this.name, checked: this.checked, disabled: this.disabled, readonly: this.readonly, required: this.required, onChange: this.handleCheck.bind(this), value: this.value }), h("label", { htmlFor: this.htmlid, class: {
|
|
203
|
-
"checkbox-label": true,
|
|
204
|
-
"after": this.labelafter,
|
|
205
|
-
"before": !this.labelafter,
|
|
206
|
-
} }, h("z-icon", { name: this.checked ? "checkbox-checked" : "checkbox", "aria-hidden": "true" }), this.label && h("span", { innerHTML: this.label }))));
|
|
207
|
-
}
|
|
208
|
-
/* END checkbox */
|
|
209
|
-
/* START radio */
|
|
210
|
-
renderRadio() {
|
|
211
|
-
return (h("div", { class: "radio-wrapper" }, h("input", { id: this.htmlid, type: "radio", name: this.name, checked: this.checked, disabled: this.disabled, readonly: this.readonly, onChange: this.handleCheck.bind(this), value: this.value }), h("label", { htmlFor: this.htmlid, class: {
|
|
212
|
-
"radio-label": true,
|
|
213
|
-
"after": this.labelafter,
|
|
214
|
-
"before": !this.labelafter,
|
|
215
|
-
} }, h("z-icon", { name: this.checked ? "radio-button-checked" : "radio-button", "aria-hidden": "true" }), this.label && h("span", { innerHTML: this.label }))));
|
|
216
|
-
}
|
|
217
|
-
/* END radio */
|
|
218
|
-
/* START select */
|
|
219
|
-
renderSelect() {
|
|
220
|
-
return (h("z-select", { htmlid: this.htmlid, items: this.items, name: this.name, label: this.label, "aria-label": this.ariaLabel, disabled: this.disabled, readonly: this.readonly, placeholder: this.placeholder, htmltitle: this.htmltitle, status: this.status, message: !this.hasmessage ? false : this.message, autocomplete: this.autocomplete, ref: (el) => (this.selectElem = el) }));
|
|
221
|
-
}
|
|
222
|
-
/* END select */
|
|
223
|
-
render() {
|
|
224
|
-
switch (this.type) {
|
|
225
|
-
case InputType.TEXT:
|
|
226
|
-
case InputType.PASSWORD:
|
|
227
|
-
case InputType.NUMBER:
|
|
228
|
-
case InputType.EMAIL:
|
|
229
|
-
return this.renderInputText(this.type);
|
|
230
|
-
case InputType.TEXTAREA:
|
|
231
|
-
return this.renderTextarea();
|
|
232
|
-
case InputType.CHECKBOX:
|
|
233
|
-
return this.renderCheckbox();
|
|
234
|
-
case InputType.RADIO:
|
|
235
|
-
return this.renderRadio();
|
|
236
|
-
// @ts-ignore
|
|
237
|
-
case "select":
|
|
238
|
-
return this.renderSelect();
|
|
239
|
-
default:
|
|
240
|
-
return this.renderInputText();
|
|
241
|
-
}
|
|
242
|
-
}
|
|
243
|
-
static get is() { return "z-input-deprecated"; }
|
|
244
|
-
static get encapsulation() { return "scoped"; }
|
|
245
|
-
static get originalStyleUrls() {
|
|
246
|
-
return {
|
|
247
|
-
"$": ["styles.css"]
|
|
248
|
-
};
|
|
249
|
-
}
|
|
250
|
-
static get styleUrls() {
|
|
251
|
-
return {
|
|
252
|
-
"$": ["styles.css"]
|
|
253
|
-
};
|
|
254
|
-
}
|
|
255
|
-
static get properties() {
|
|
256
|
-
return {
|
|
257
|
-
"htmlid": {
|
|
258
|
-
"type": "string",
|
|
259
|
-
"mutable": false,
|
|
260
|
-
"complexType": {
|
|
261
|
-
"original": "string",
|
|
262
|
-
"resolved": "string",
|
|
263
|
-
"references": {}
|
|
264
|
-
},
|
|
265
|
-
"required": false,
|
|
266
|
-
"optional": false,
|
|
267
|
-
"docs": {
|
|
268
|
-
"tags": [],
|
|
269
|
-
"text": "the id of the input element"
|
|
270
|
-
},
|
|
271
|
-
"attribute": "htmlid",
|
|
272
|
-
"reflect": false,
|
|
273
|
-
"defaultValue": "`id-${randomId()}`"
|
|
274
|
-
},
|
|
275
|
-
"type": {
|
|
276
|
-
"type": "string",
|
|
277
|
-
"mutable": false,
|
|
278
|
-
"complexType": {
|
|
279
|
-
"original": "InputType",
|
|
280
|
-
"resolved": "InputType.CHECKBOX | InputType.EMAIL | InputType.NUMBER | InputType.PASSWORD | InputType.RADIO | InputType.SEARCH | InputType.TEL | InputType.TEXT | InputType.TEXTAREA | InputType.URL",
|
|
281
|
-
"references": {
|
|
282
|
-
"InputType": {
|
|
283
|
-
"location": "import",
|
|
284
|
-
"path": "../../beans"
|
|
285
|
-
}
|
|
286
|
-
}
|
|
287
|
-
},
|
|
288
|
-
"required": false,
|
|
289
|
-
"optional": false,
|
|
290
|
-
"docs": {
|
|
291
|
-
"tags": [],
|
|
292
|
-
"text": "input types"
|
|
293
|
-
},
|
|
294
|
-
"attribute": "type",
|
|
295
|
-
"reflect": false
|
|
296
|
-
},
|
|
297
|
-
"name": {
|
|
298
|
-
"type": "string",
|
|
299
|
-
"mutable": false,
|
|
300
|
-
"complexType": {
|
|
301
|
-
"original": "string",
|
|
302
|
-
"resolved": "string",
|
|
303
|
-
"references": {}
|
|
304
|
-
},
|
|
305
|
-
"required": false,
|
|
306
|
-
"optional": true,
|
|
307
|
-
"docs": {
|
|
308
|
-
"tags": [],
|
|
309
|
-
"text": "the input name"
|
|
310
|
-
},
|
|
311
|
-
"attribute": "name",
|
|
312
|
-
"reflect": false
|
|
313
|
-
},
|
|
314
|
-
"label": {
|
|
315
|
-
"type": "string",
|
|
316
|
-
"mutable": false,
|
|
317
|
-
"complexType": {
|
|
318
|
-
"original": "string",
|
|
319
|
-
"resolved": "string",
|
|
320
|
-
"references": {}
|
|
321
|
-
},
|
|
322
|
-
"required": false,
|
|
323
|
-
"optional": true,
|
|
324
|
-
"docs": {
|
|
325
|
-
"tags": [],
|
|
326
|
-
"text": "the input label"
|
|
327
|
-
},
|
|
328
|
-
"attribute": "label",
|
|
329
|
-
"reflect": false
|
|
330
|
-
},
|
|
331
|
-
"ariaLabel": {
|
|
332
|
-
"type": "string",
|
|
333
|
-
"mutable": false,
|
|
334
|
-
"complexType": {
|
|
335
|
-
"original": "string",
|
|
336
|
-
"resolved": "string",
|
|
337
|
-
"references": {}
|
|
338
|
-
},
|
|
339
|
-
"required": false,
|
|
340
|
-
"optional": false,
|
|
341
|
-
"docs": {
|
|
342
|
-
"tags": [],
|
|
343
|
-
"text": "the input aria-label"
|
|
344
|
-
},
|
|
345
|
-
"attribute": "aria-label",
|
|
346
|
-
"reflect": false,
|
|
347
|
-
"defaultValue": "\"\""
|
|
348
|
-
},
|
|
349
|
-
"value": {
|
|
350
|
-
"type": "string",
|
|
351
|
-
"mutable": true,
|
|
352
|
-
"complexType": {
|
|
353
|
-
"original": "string",
|
|
354
|
-
"resolved": "string",
|
|
355
|
-
"references": {}
|
|
356
|
-
},
|
|
357
|
-
"required": false,
|
|
358
|
-
"optional": true,
|
|
359
|
-
"docs": {
|
|
360
|
-
"tags": [],
|
|
361
|
-
"text": "the input value"
|
|
362
|
-
},
|
|
363
|
-
"attribute": "value",
|
|
364
|
-
"reflect": false
|
|
365
|
-
},
|
|
366
|
-
"disabled": {
|
|
367
|
-
"type": "boolean",
|
|
368
|
-
"mutable": false,
|
|
369
|
-
"complexType": {
|
|
370
|
-
"original": "boolean",
|
|
371
|
-
"resolved": "boolean",
|
|
372
|
-
"references": {}
|
|
373
|
-
},
|
|
374
|
-
"required": false,
|
|
375
|
-
"optional": true,
|
|
376
|
-
"docs": {
|
|
377
|
-
"tags": [],
|
|
378
|
-
"text": "the input is disabled"
|
|
379
|
-
},
|
|
380
|
-
"attribute": "disabled",
|
|
381
|
-
"reflect": false,
|
|
382
|
-
"defaultValue": "false"
|
|
383
|
-
},
|
|
384
|
-
"readonly": {
|
|
385
|
-
"type": "boolean",
|
|
386
|
-
"mutable": false,
|
|
387
|
-
"complexType": {
|
|
388
|
-
"original": "boolean",
|
|
389
|
-
"resolved": "boolean",
|
|
390
|
-
"references": {}
|
|
391
|
-
},
|
|
392
|
-
"required": false,
|
|
393
|
-
"optional": true,
|
|
394
|
-
"docs": {
|
|
395
|
-
"tags": [],
|
|
396
|
-
"text": "the input is readonly"
|
|
397
|
-
},
|
|
398
|
-
"attribute": "readonly",
|
|
399
|
-
"reflect": false,
|
|
400
|
-
"defaultValue": "false"
|
|
401
|
-
},
|
|
402
|
-
"required": {
|
|
403
|
-
"type": "boolean",
|
|
404
|
-
"mutable": false,
|
|
405
|
-
"complexType": {
|
|
406
|
-
"original": "boolean",
|
|
407
|
-
"resolved": "boolean",
|
|
408
|
-
"references": {}
|
|
409
|
-
},
|
|
410
|
-
"required": false,
|
|
411
|
-
"optional": true,
|
|
412
|
-
"docs": {
|
|
413
|
-
"tags": [],
|
|
414
|
-
"text": "the input is required (optional): available for text, password, number, email, textarea, checkbox"
|
|
415
|
-
},
|
|
416
|
-
"attribute": "required",
|
|
417
|
-
"reflect": false,
|
|
418
|
-
"defaultValue": "false"
|
|
419
|
-
},
|
|
420
|
-
"checked": {
|
|
421
|
-
"type": "boolean",
|
|
422
|
-
"mutable": true,
|
|
423
|
-
"complexType": {
|
|
424
|
-
"original": "boolean",
|
|
425
|
-
"resolved": "boolean",
|
|
426
|
-
"references": {}
|
|
427
|
-
},
|
|
428
|
-
"required": false,
|
|
429
|
-
"optional": true,
|
|
430
|
-
"docs": {
|
|
431
|
-
"tags": [],
|
|
432
|
-
"text": "checked: available for checkbox, radio"
|
|
433
|
-
},
|
|
434
|
-
"attribute": "checked",
|
|
435
|
-
"reflect": false,
|
|
436
|
-
"defaultValue": "false"
|
|
437
|
-
},
|
|
438
|
-
"placeholder": {
|
|
439
|
-
"type": "string",
|
|
440
|
-
"mutable": false,
|
|
441
|
-
"complexType": {
|
|
442
|
-
"original": "string",
|
|
443
|
-
"resolved": "string",
|
|
444
|
-
"references": {}
|
|
445
|
-
},
|
|
446
|
-
"required": false,
|
|
447
|
-
"optional": true,
|
|
448
|
-
"docs": {
|
|
449
|
-
"tags": [],
|
|
450
|
-
"text": "the input placeholder (optional)"
|
|
451
|
-
},
|
|
452
|
-
"attribute": "placeholder",
|
|
453
|
-
"reflect": false
|
|
454
|
-
},
|
|
455
|
-
"htmltitle": {
|
|
456
|
-
"type": "string",
|
|
457
|
-
"mutable": false,
|
|
458
|
-
"complexType": {
|
|
459
|
-
"original": "string",
|
|
460
|
-
"resolved": "string",
|
|
461
|
-
"references": {}
|
|
462
|
-
},
|
|
463
|
-
"required": false,
|
|
464
|
-
"optional": true,
|
|
465
|
-
"docs": {
|
|
466
|
-
"tags": [],
|
|
467
|
-
"text": "the input html title (optional)"
|
|
468
|
-
},
|
|
469
|
-
"attribute": "htmltitle",
|
|
470
|
-
"reflect": false
|
|
471
|
-
},
|
|
472
|
-
"status": {
|
|
473
|
-
"type": "string",
|
|
474
|
-
"mutable": false,
|
|
475
|
-
"complexType": {
|
|
476
|
-
"original": "InputStatus",
|
|
477
|
-
"resolved": "InputStatus.ERROR | InputStatus.SUCCESS | InputStatus.WARNING",
|
|
478
|
-
"references": {
|
|
479
|
-
"InputStatus": {
|
|
480
|
-
"location": "import",
|
|
481
|
-
"path": "../../beans"
|
|
482
|
-
}
|
|
483
|
-
}
|
|
484
|
-
},
|
|
485
|
-
"required": false,
|
|
486
|
-
"optional": true,
|
|
487
|
-
"docs": {
|
|
488
|
-
"tags": [],
|
|
489
|
-
"text": "the input status (optional): available for text, password, number, email, textarea, select"
|
|
490
|
-
},
|
|
491
|
-
"attribute": "status",
|
|
492
|
-
"reflect": false
|
|
493
|
-
},
|
|
494
|
-
"hasmessage": {
|
|
495
|
-
"type": "boolean",
|
|
496
|
-
"mutable": false,
|
|
497
|
-
"complexType": {
|
|
498
|
-
"original": "boolean",
|
|
499
|
-
"resolved": "boolean",
|
|
500
|
-
"references": {}
|
|
501
|
-
},
|
|
502
|
-
"required": false,
|
|
503
|
-
"optional": true,
|
|
504
|
-
"docs": {
|
|
505
|
-
"tags": [],
|
|
506
|
-
"text": "show input helper message (optional): available for text, password, number, email, textarea, select"
|
|
507
|
-
},
|
|
508
|
-
"attribute": "hasmessage",
|
|
509
|
-
"reflect": false,
|
|
510
|
-
"defaultValue": "true"
|
|
511
|
-
},
|
|
512
|
-
"message": {
|
|
513
|
-
"type": "string",
|
|
514
|
-
"mutable": false,
|
|
515
|
-
"complexType": {
|
|
516
|
-
"original": "string",
|
|
517
|
-
"resolved": "string",
|
|
518
|
-
"references": {}
|
|
519
|
-
},
|
|
520
|
-
"required": false,
|
|
521
|
-
"optional": true,
|
|
522
|
-
"docs": {
|
|
523
|
-
"tags": [],
|
|
524
|
-
"text": "input helper message (optional): available for text, password, number, email, textarea, select"
|
|
525
|
-
},
|
|
526
|
-
"attribute": "message",
|
|
527
|
-
"reflect": false
|
|
528
|
-
},
|
|
529
|
-
"labelafter": {
|
|
530
|
-
"type": "boolean",
|
|
531
|
-
"mutable": false,
|
|
532
|
-
"complexType": {
|
|
533
|
-
"original": "boolean",
|
|
534
|
-
"resolved": "boolean",
|
|
535
|
-
"references": {}
|
|
536
|
-
},
|
|
537
|
-
"required": false,
|
|
538
|
-
"optional": true,
|
|
539
|
-
"docs": {
|
|
540
|
-
"tags": [],
|
|
541
|
-
"text": "the input label position: available for checkbox, radio"
|
|
542
|
-
},
|
|
543
|
-
"attribute": "labelafter",
|
|
544
|
-
"reflect": false,
|
|
545
|
-
"defaultValue": "true"
|
|
546
|
-
},
|
|
547
|
-
"typingtimeout": {
|
|
548
|
-
"type": "number",
|
|
549
|
-
"mutable": false,
|
|
550
|
-
"complexType": {
|
|
551
|
-
"original": "number",
|
|
552
|
-
"resolved": "number",
|
|
553
|
-
"references": {}
|
|
554
|
-
},
|
|
555
|
-
"required": false,
|
|
556
|
-
"optional": true,
|
|
557
|
-
"docs": {
|
|
558
|
-
"tags": [],
|
|
559
|
-
"text": "timeout setting before trigger `inputChange` event (optional): available for text, textarea"
|
|
560
|
-
},
|
|
561
|
-
"attribute": "typingtimeout",
|
|
562
|
-
"reflect": false,
|
|
563
|
-
"defaultValue": "300"
|
|
564
|
-
},
|
|
565
|
-
"items": {
|
|
566
|
-
"type": "string",
|
|
567
|
-
"mutable": false,
|
|
568
|
-
"complexType": {
|
|
569
|
-
"original": "SelectItem[] | string",
|
|
570
|
-
"resolved": "SelectItem[] | string",
|
|
571
|
-
"references": {
|
|
572
|
-
"SelectItem": {
|
|
573
|
-
"location": "import",
|
|
574
|
-
"path": "../../beans"
|
|
575
|
-
}
|
|
576
|
-
}
|
|
577
|
-
},
|
|
578
|
-
"required": false,
|
|
579
|
-
"optional": true,
|
|
580
|
-
"docs": {
|
|
581
|
-
"tags": [],
|
|
582
|
-
"text": "items (optional): available for select"
|
|
583
|
-
},
|
|
584
|
-
"attribute": "items",
|
|
585
|
-
"reflect": false
|
|
586
|
-
},
|
|
587
|
-
"autocomplete": {
|
|
588
|
-
"type": "any",
|
|
589
|
-
"mutable": false,
|
|
590
|
-
"complexType": {
|
|
591
|
-
"original": "boolean | string",
|
|
592
|
-
"resolved": "boolean | string",
|
|
593
|
-
"references": {}
|
|
594
|
-
},
|
|
595
|
-
"required": false,
|
|
596
|
-
"optional": true,
|
|
597
|
-
"docs": {
|
|
598
|
-
"tags": [],
|
|
599
|
-
"text": "the input has autocomplete option (optional): available for select, input"
|
|
600
|
-
},
|
|
601
|
-
"attribute": "autocomplete",
|
|
602
|
-
"reflect": false
|
|
603
|
-
},
|
|
604
|
-
"multiple": {
|
|
605
|
-
"type": "boolean",
|
|
606
|
-
"mutable": false,
|
|
607
|
-
"complexType": {
|
|
608
|
-
"original": "boolean",
|
|
609
|
-
"resolved": "boolean",
|
|
610
|
-
"references": {}
|
|
611
|
-
},
|
|
612
|
-
"required": false,
|
|
613
|
-
"optional": true,
|
|
614
|
-
"docs": {
|
|
615
|
-
"tags": [],
|
|
616
|
-
"text": "multiple options can be selected (optional): available for select"
|
|
617
|
-
},
|
|
618
|
-
"attribute": "multiple",
|
|
619
|
-
"reflect": false,
|
|
620
|
-
"defaultValue": "false"
|
|
621
|
-
},
|
|
622
|
-
"hasclearicon": {
|
|
623
|
-
"type": "boolean",
|
|
624
|
-
"mutable": false,
|
|
625
|
-
"complexType": {
|
|
626
|
-
"original": "boolean",
|
|
627
|
-
"resolved": "boolean",
|
|
628
|
-
"references": {}
|
|
629
|
-
},
|
|
630
|
-
"required": false,
|
|
631
|
-
"optional": true,
|
|
632
|
-
"docs": {
|
|
633
|
-
"tags": [],
|
|
634
|
-
"text": "render clear icon when typing (optional): available for text"
|
|
635
|
-
},
|
|
636
|
-
"attribute": "hasclearicon",
|
|
637
|
-
"reflect": false,
|
|
638
|
-
"defaultValue": "true"
|
|
639
|
-
},
|
|
640
|
-
"icon": {
|
|
641
|
-
"type": "string",
|
|
642
|
-
"mutable": false,
|
|
643
|
-
"complexType": {
|
|
644
|
-
"original": "string",
|
|
645
|
-
"resolved": "string",
|
|
646
|
-
"references": {}
|
|
647
|
-
},
|
|
648
|
-
"required": false,
|
|
649
|
-
"optional": true,
|
|
650
|
-
"docs": {
|
|
651
|
-
"tags": [],
|
|
652
|
-
"text": "render icon (optional): available for text, select"
|
|
653
|
-
},
|
|
654
|
-
"attribute": "icon",
|
|
655
|
-
"reflect": false
|
|
656
|
-
}
|
|
657
|
-
};
|
|
658
|
-
}
|
|
659
|
-
static get states() {
|
|
660
|
-
return {
|
|
661
|
-
"isTyping": {},
|
|
662
|
-
"textareaWrapperHover": {},
|
|
663
|
-
"textareaWrapperFocus": {},
|
|
664
|
-
"passwordHidden": {}
|
|
665
|
-
};
|
|
666
|
-
}
|
|
667
|
-
static get events() {
|
|
668
|
-
return [{
|
|
669
|
-
"method": "inputChange",
|
|
670
|
-
"name": "inputChange",
|
|
671
|
-
"bubbles": true,
|
|
672
|
-
"cancelable": true,
|
|
673
|
-
"composed": true,
|
|
674
|
-
"docs": {
|
|
675
|
-
"tags": [],
|
|
676
|
-
"text": "Emitted on input value change, returns value, keycode, validity"
|
|
677
|
-
},
|
|
678
|
-
"complexType": {
|
|
679
|
-
"original": "any",
|
|
680
|
-
"resolved": "any",
|
|
681
|
-
"references": {}
|
|
682
|
-
}
|
|
683
|
-
}, {
|
|
684
|
-
"method": "startTyping",
|
|
685
|
-
"name": "startTyping",
|
|
686
|
-
"bubbles": true,
|
|
687
|
-
"cancelable": true,
|
|
688
|
-
"composed": true,
|
|
689
|
-
"docs": {
|
|
690
|
-
"tags": [],
|
|
691
|
-
"text": "Emitted when user starts typing"
|
|
692
|
-
},
|
|
693
|
-
"complexType": {
|
|
694
|
-
"original": "any",
|
|
695
|
-
"resolved": "any",
|
|
696
|
-
"references": {}
|
|
697
|
-
}
|
|
698
|
-
}, {
|
|
699
|
-
"method": "stopTyping",
|
|
700
|
-
"name": "stopTyping",
|
|
701
|
-
"bubbles": true,
|
|
702
|
-
"cancelable": true,
|
|
703
|
-
"composed": true,
|
|
704
|
-
"docs": {
|
|
705
|
-
"tags": [],
|
|
706
|
-
"text": "Emitted when user stops typing, returns value, validity"
|
|
707
|
-
},
|
|
708
|
-
"complexType": {
|
|
709
|
-
"original": "any",
|
|
710
|
-
"resolved": "any",
|
|
711
|
-
"references": {}
|
|
712
|
-
}
|
|
713
|
-
}, {
|
|
714
|
-
"method": "inputCheck",
|
|
715
|
-
"name": "inputCheck",
|
|
716
|
-
"bubbles": true,
|
|
717
|
-
"cancelable": true,
|
|
718
|
-
"composed": true,
|
|
719
|
-
"docs": {
|
|
720
|
-
"tags": [],
|
|
721
|
-
"text": "Emitted on checkbox check/uncheck, returns id, checked, type, name, value, validity"
|
|
722
|
-
},
|
|
723
|
-
"complexType": {
|
|
724
|
-
"original": "any",
|
|
725
|
-
"resolved": "any",
|
|
726
|
-
"references": {}
|
|
727
|
-
}
|
|
728
|
-
}, {
|
|
729
|
-
"method": "optionSelect",
|
|
730
|
-
"name": "optionSelect",
|
|
731
|
-
"bubbles": true,
|
|
732
|
-
"cancelable": true,
|
|
733
|
-
"composed": true,
|
|
734
|
-
"docs": {
|
|
735
|
-
"tags": [],
|
|
736
|
-
"text": "Emitted on select option selection, returns select id, selected item id (or array of selected items ids if multiple)"
|
|
737
|
-
},
|
|
738
|
-
"complexType": {
|
|
739
|
-
"original": "any",
|
|
740
|
-
"resolved": "any",
|
|
741
|
-
"references": {}
|
|
742
|
-
}
|
|
743
|
-
}];
|
|
744
|
-
}
|
|
745
|
-
static get methods() {
|
|
746
|
-
return {
|
|
747
|
-
"getValue": {
|
|
748
|
-
"complexType": {
|
|
749
|
-
"signature": "() => Promise<string | string[]>",
|
|
750
|
-
"parameters": [],
|
|
751
|
-
"references": {
|
|
752
|
-
"Promise": {
|
|
753
|
-
"location": "global"
|
|
754
|
-
}
|
|
755
|
-
},
|
|
756
|
-
"return": "Promise<string | string[]>"
|
|
757
|
-
},
|
|
758
|
-
"docs": {
|
|
759
|
-
"text": "get the input value",
|
|
760
|
-
"tags": []
|
|
761
|
-
}
|
|
762
|
-
},
|
|
763
|
-
"setValue": {
|
|
764
|
-
"complexType": {
|
|
765
|
-
"signature": "(value: string | string[]) => Promise<void>",
|
|
766
|
-
"parameters": [{
|
|
767
|
-
"tags": [],
|
|
768
|
-
"text": ""
|
|
769
|
-
}],
|
|
770
|
-
"references": {
|
|
771
|
-
"Promise": {
|
|
772
|
-
"location": "global"
|
|
773
|
-
}
|
|
774
|
-
},
|
|
775
|
-
"return": "Promise<void>"
|
|
776
|
-
},
|
|
777
|
-
"docs": {
|
|
778
|
-
"text": "set the input value",
|
|
779
|
-
"tags": []
|
|
780
|
-
}
|
|
781
|
-
},
|
|
782
|
-
"isChecked": {
|
|
783
|
-
"complexType": {
|
|
784
|
-
"signature": "() => Promise<boolean>",
|
|
785
|
-
"parameters": [],
|
|
786
|
-
"references": {
|
|
787
|
-
"Promise": {
|
|
788
|
-
"location": "global"
|
|
789
|
-
}
|
|
790
|
-
},
|
|
791
|
-
"return": "Promise<boolean>"
|
|
792
|
-
},
|
|
793
|
-
"docs": {
|
|
794
|
-
"text": "get checked status",
|
|
795
|
-
"tags": []
|
|
796
|
-
}
|
|
797
|
-
}
|
|
798
|
-
};
|
|
799
|
-
}
|
|
800
|
-
static get elementRef() { return "hostElement"; }
|
|
801
|
-
static get listeners() {
|
|
802
|
-
return [{
|
|
803
|
-
"name": "inputCheck",
|
|
804
|
-
"method": "inputCheckListener",
|
|
805
|
-
"target": "document",
|
|
806
|
-
"capture": false,
|
|
807
|
-
"passive": false
|
|
808
|
-
}];
|
|
809
|
-
}
|
|
810
|
-
}
|