@zanichelli/albe-web-components 20.0.0 → 20.0.2-RC
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 +16 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/web-components-library.cjs.js +1 -1
- package/dist/cjs/z-accordion.cjs.entry.js +1 -1
- package/dist/cjs/z-anchor-navigation.cjs.entry.js +1 -1
- package/dist/cjs/z-app-header_12.cjs.entry.js +44 -19
- package/dist/cjs/z-app-header_12.cjs.entry.js.map +1 -1
- package/dist/cjs/z-aria-alert.cjs.entry.js +1 -1
- package/dist/cjs/z-avatar.cjs.entry.js +2 -2
- package/dist/cjs/z-book-card-app.cjs.entry.js +1 -1
- package/dist/cjs/z-book-card.cjs.entry.js +10 -3
- package/dist/cjs/z-book-card.cjs.entry.js.map +1 -1
- package/dist/cjs/z-book-cover.cjs.entry.js +1 -1
- package/dist/cjs/z-breadcrumb.cjs.entry.js +2 -2
- package/dist/cjs/z-button-sort.cjs.entry.js +1 -1
- package/dist/cjs/z-chip.cjs.entry.js +2 -2
- package/dist/cjs/z-color-picker.cjs.entry.js +1 -1
- package/dist/cjs/z-combobox.cjs.entry.js +6 -4
- package/dist/cjs/z-combobox.cjs.entry.js.map +1 -1
- package/dist/cjs/z-cover-hero.cjs.entry.js +2 -2
- package/dist/cjs/z-date-picker.cjs.entry.js +1 -1
- package/dist/cjs/z-dragdrop-area_2.cjs.entry.js +6 -6
- package/dist/cjs/z-file.cjs.entry.js +1 -1
- package/dist/cjs/z-ghost-loading.cjs.entry.js +1 -1
- package/dist/cjs/z-info-box.cjs.entry.js +1 -1
- package/dist/cjs/z-info-reveal.cjs.entry.js +1 -1
- package/dist/cjs/z-input-range.cjs.entry.js +1 -1
- package/dist/cjs/z-logo.cjs.entry.js +1 -1
- package/dist/cjs/z-menu-section.cjs.entry.js +1 -1
- package/dist/cjs/z-navigation-tabs.cjs.entry.js +2 -2
- package/dist/cjs/z-notification.cjs.entry.js +1 -1
- package/dist/cjs/z-popover.cjs.entry.js +1 -1
- package/dist/cjs/z-range-picker.cjs.entry.js +3 -3
- package/dist/cjs/z-select.cjs.entry.js +1 -1
- package/dist/cjs/z-skip-to-content.cjs.entry.js +1 -1
- package/dist/cjs/z-stepper-item.cjs.entry.js +1 -1
- package/dist/cjs/z-stepper.cjs.entry.js +1 -1
- package/dist/cjs/z-table.cjs.entry.js +1 -1
- package/dist/cjs/z-table.cjs.entry.js.map +1 -1
- package/dist/cjs/z-tbody.cjs.entry.js +1 -1
- package/dist/cjs/z-tbody.cjs.entry.js.map +1 -1
- package/dist/cjs/z-td.cjs.entry.js +1 -1
- package/dist/cjs/z-td.cjs.entry.js.map +1 -1
- package/dist/cjs/z-tfoot.cjs.entry.js +1 -1
- package/dist/cjs/z-tfoot.cjs.entry.js.map +1 -1
- package/dist/cjs/z-th.cjs.entry.js +1 -1
- package/dist/cjs/z-th.cjs.entry.js.map +1 -1
- package/dist/cjs/z-thead.cjs.entry.js +1 -1
- package/dist/cjs/z-thead.cjs.entry.js.map +1 -1
- package/dist/cjs/z-toast-notification-list.cjs.entry.js +1 -1
- package/dist/cjs/z-toast-notification.cjs.entry.js +3 -3
- package/dist/cjs/z-toggle-switch.cjs.entry.js +3 -3
- package/dist/cjs/z-tool.cjs.entry.js +2 -2
- package/dist/cjs/z-toolbar.cjs.entry.js +1 -1
- package/dist/cjs/z-tooltip.cjs.entry.js +1 -1
- package/dist/cjs/z-tr.cjs.entry.js +1 -1
- package/dist/cjs/z-tr.cjs.entry.js.map +1 -1
- package/dist/cjs/z-tree-list.cjs.entry.js +1 -1
- package/dist/cjs/z-visually-hidden.cjs.entry.js +1 -1
- package/dist/collection/collection-manifest.json +7 -7
- package/dist/collection/components/book-card/z-book-card/index.js +10 -3
- package/dist/collection/components/book-card/z-book-card/index.js.map +1 -1
- package/dist/collection/components/book-card/z-book-card/styles.css +3 -7
- package/dist/collection/components/book-card/z-book-card-app/index.js +1 -1
- package/dist/collection/components/date-picker/z-date-picker/index.js +1 -1
- package/dist/collection/components/date-picker/z-range-picker/index.js +3 -3
- package/dist/collection/components/{table → deprecated/table}/cells/z-td/index.js +6 -6
- package/dist/collection/components/deprecated/table/cells/z-td/index.js.map +1 -0
- package/dist/collection/components/{table → deprecated/table}/cells/z-th/index.js +8 -8
- package/dist/collection/components/deprecated/table/cells/z-th/index.js.map +1 -0
- package/dist/collection/components/{table → deprecated/table}/z-table/index.js +3 -3
- package/dist/collection/components/deprecated/table/z-table/index.js.map +1 -0
- package/dist/collection/components/{table → deprecated/table}/z-tbody/index.js +3 -3
- package/dist/collection/components/deprecated/table/z-tbody/index.js.map +1 -0
- package/dist/collection/components/{table → deprecated/table}/z-tfoot/index.js +3 -3
- package/dist/collection/components/deprecated/table/z-tfoot/index.js.map +1 -0
- package/dist/collection/components/{table → deprecated/table}/z-thead/index.js +3 -3
- package/dist/collection/components/deprecated/table/z-thead/index.js.map +1 -0
- package/dist/collection/components/{table → deprecated/table}/z-tr/index.js +4 -4
- package/dist/collection/components/deprecated/table/z-tr/index.js.map +1 -0
- package/dist/collection/components/file-upload/z-dragdrop-area/index.js +2 -2
- package/dist/collection/components/file-upload/z-file/index.js +1 -1
- package/dist/collection/components/list/z-list/index.js +1 -1
- package/dist/collection/components/list/z-list-element/index.js +1 -1
- package/dist/collection/components/list/z-list-group/index.js +2 -2
- package/dist/collection/components/list/z-tree-list/index.js +1 -1
- package/dist/collection/components/z-accordion/index.js +1 -1
- package/dist/collection/components/z-anchor-navigation/index.js +1 -1
- package/dist/collection/components/z-app-header/index.js +1 -1
- package/dist/collection/components/z-aria-alert/index.js +1 -1
- package/dist/collection/components/z-avatar/index.js +2 -2
- package/dist/collection/components/z-book-cover/index.js +1 -1
- package/dist/collection/components/z-breadcrumb/index.js +2 -2
- package/dist/collection/components/z-button-sort/index.js +1 -1
- package/dist/collection/components/z-chip/index.js +2 -2
- package/dist/collection/components/z-color-picker/index.js +1 -1
- package/dist/collection/components/z-combobox/index.js +5 -3
- package/dist/collection/components/z-combobox/index.js.map +1 -1
- package/dist/collection/components/z-combobox/styles.css +1 -1
- package/dist/collection/components/z-cover-hero/index.js +2 -2
- package/dist/collection/components/z-divider/index.js +1 -1
- package/dist/collection/components/z-ghost-loading/index.js +1 -1
- package/dist/collection/components/z-icon/index.js +1 -1
- package/dist/collection/components/z-info-box/index.js +1 -1
- package/dist/collection/components/z-info-reveal/index.js +1 -1
- package/dist/collection/components/z-input/index.js +45 -2
- package/dist/collection/components/z-input/index.js.map +1 -1
- package/dist/collection/components/z-input/styles-checkbox-radio.css +2 -2
- package/dist/collection/components/z-input-message/index.js +1 -1
- package/dist/collection/components/z-input-range/index.js +1 -1
- package/dist/collection/components/z-logo/index.js +1 -1
- package/dist/collection/components/z-menu-section/index.js +1 -1
- package/dist/collection/components/z-modal/index.js +4 -4
- package/dist/collection/components/z-navigation-tabs/index.js +2 -2
- package/dist/collection/components/z-notification/index.js +1 -1
- package/dist/collection/components/z-offcanvas/index.js +2 -2
- package/dist/collection/components/z-popover/index.js +1 -1
- package/dist/collection/components/z-searchbar/index.js +7 -4
- package/dist/collection/components/z-searchbar/index.js.map +1 -1
- package/dist/collection/components/z-select/index.js +1 -1
- package/dist/collection/components/z-skip-to-content/index.js +1 -1
- package/dist/collection/components/z-stepper/index.js +1 -1
- package/dist/collection/components/z-stepper-item/index.js +1 -1
- package/dist/collection/components/z-tag/index.js +2 -2
- package/dist/collection/components/z-toast-notification/index.js +3 -3
- package/dist/collection/components/z-toast-notification-list/index.js +1 -1
- package/dist/collection/components/z-toggle-switch/index.js +3 -3
- package/dist/collection/components/z-tool/index.js +2 -2
- package/dist/collection/components/z-toolbar/index.js +1 -1
- package/dist/collection/components/z-tooltip/index.js +1 -1
- package/dist/collection/components/z-visually-hidden/index.js +1 -1
- package/dist/components/index.d.ts +7 -7
- package/dist/components/index10.js +1 -1
- package/dist/components/index11.js +1 -1
- package/dist/components/index12.js +1 -1
- package/dist/components/index12.js.map +1 -1
- package/dist/components/index13.js +1 -1
- package/dist/components/index14.js +1 -1
- package/dist/components/index15.js +1 -1
- package/dist/components/index16.js +1 -1
- package/dist/components/index17.js +1 -1
- package/dist/components/index18.js +1 -1
- package/dist/components/index19.js +1 -1
- package/dist/components/index20.js +1 -1
- package/dist/components/index21.js +1 -1
- package/dist/components/index3.js +1 -1
- package/dist/components/index5.js +1 -1
- package/dist/components/index6.js +1 -1
- package/dist/components/index6.js.map +1 -1
- package/dist/components/index7.js +1 -1
- package/dist/components/index8.js +1 -1
- package/dist/components/index9.js +1 -1
- package/dist/components/z-accordion.js +1 -1
- package/dist/components/z-anchor-navigation.js +1 -1
- package/dist/components/z-app-header.js +1 -1
- package/dist/components/z-aria-alert.js +1 -1
- package/dist/components/z-avatar.js +1 -1
- package/dist/components/z-book-card-app.js +1 -1
- package/dist/components/z-book-card.js +1 -1
- package/dist/components/z-book-card.js.map +1 -1
- package/dist/components/z-breadcrumb.js +1 -1
- package/dist/components/z-button-sort.js +1 -1
- package/dist/components/z-color-picker.js +1 -1
- package/dist/components/z-combobox.js +1 -1
- package/dist/components/z-combobox.js.map +1 -1
- package/dist/components/z-cover-hero.js +1 -1
- package/dist/components/z-date-picker.js +1 -1
- package/dist/components/z-file.js +1 -1
- package/dist/components/z-info-box.js +1 -1
- package/dist/components/z-input-range.js +1 -1
- package/dist/components/z-logo.js +1 -1
- package/dist/components/z-menu-section.js +1 -1
- package/dist/components/z-navigation-tabs.js +1 -1
- package/dist/components/z-notification.js +1 -1
- package/dist/components/z-range-picker.js +1 -1
- package/dist/components/z-select.js +1 -1
- package/dist/components/z-skip-to-content.js +1 -1
- package/dist/components/z-stepper-item.js +1 -1
- package/dist/components/z-stepper.js +1 -1
- package/dist/components/z-table.js +1 -1
- package/dist/components/z-table.js.map +1 -1
- package/dist/components/z-tbody.js +1 -1
- package/dist/components/z-tbody.js.map +1 -1
- package/dist/components/z-td.js +1 -1
- package/dist/components/z-td.js.map +1 -1
- package/dist/components/z-tfoot.js +1 -1
- package/dist/components/z-tfoot.js.map +1 -1
- package/dist/components/z-th.js +1 -1
- package/dist/components/z-th.js.map +1 -1
- package/dist/components/z-thead.js +1 -1
- package/dist/components/z-thead.js.map +1 -1
- package/dist/components/z-toast-notification-list.js +1 -1
- package/dist/components/z-toast-notification.js +3 -3
- package/dist/components/z-toggle-switch.js +1 -1
- package/dist/components/z-tool.js +1 -1
- package/dist/components/z-toolbar.js +1 -1
- package/dist/components/z-tr.js +1 -1
- package/dist/components/z-tr.js.map +1 -1
- package/dist/components/z-tree-list.js +1 -1
- package/dist/components/z-visually-hidden.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/web-components-library.js +1 -1
- package/dist/esm/z-accordion.entry.js +1 -1
- package/dist/esm/z-anchor-navigation.entry.js +1 -1
- package/dist/esm/z-app-header_12.entry.js +44 -19
- package/dist/esm/z-app-header_12.entry.js.map +1 -1
- package/dist/esm/z-aria-alert.entry.js +1 -1
- package/dist/esm/z-avatar.entry.js +2 -2
- package/dist/esm/z-book-card-app.entry.js +1 -1
- package/dist/esm/z-book-card.entry.js +10 -3
- package/dist/esm/z-book-card.entry.js.map +1 -1
- package/dist/esm/z-book-cover.entry.js +1 -1
- package/dist/esm/z-breadcrumb.entry.js +2 -2
- package/dist/esm/z-button-sort.entry.js +1 -1
- package/dist/esm/z-chip.entry.js +2 -2
- package/dist/esm/z-color-picker.entry.js +1 -1
- package/dist/esm/z-combobox.entry.js +6 -4
- package/dist/esm/z-combobox.entry.js.map +1 -1
- package/dist/esm/z-cover-hero.entry.js +2 -2
- package/dist/esm/z-date-picker.entry.js +1 -1
- package/dist/esm/z-dragdrop-area_2.entry.js +6 -6
- package/dist/esm/z-file.entry.js +1 -1
- package/dist/esm/z-ghost-loading.entry.js +1 -1
- package/dist/esm/z-info-box.entry.js +1 -1
- package/dist/esm/z-info-reveal.entry.js +1 -1
- package/dist/esm/z-input-range.entry.js +1 -1
- package/dist/esm/z-logo.entry.js +1 -1
- package/dist/esm/z-menu-section.entry.js +1 -1
- package/dist/esm/z-navigation-tabs.entry.js +2 -2
- package/dist/esm/z-notification.entry.js +1 -1
- package/dist/esm/z-popover.entry.js +1 -1
- package/dist/esm/z-range-picker.entry.js +3 -3
- package/dist/esm/z-select.entry.js +1 -1
- package/dist/esm/z-skip-to-content.entry.js +1 -1
- package/dist/esm/z-stepper-item.entry.js +1 -1
- package/dist/esm/z-stepper.entry.js +1 -1
- package/dist/esm/z-table.entry.js +1 -1
- package/dist/esm/z-table.entry.js.map +1 -1
- package/dist/esm/z-tbody.entry.js +1 -1
- package/dist/esm/z-tbody.entry.js.map +1 -1
- package/dist/esm/z-td.entry.js +1 -1
- package/dist/esm/z-td.entry.js.map +1 -1
- package/dist/esm/z-tfoot.entry.js +1 -1
- package/dist/esm/z-tfoot.entry.js.map +1 -1
- package/dist/esm/z-th.entry.js +1 -1
- package/dist/esm/z-th.entry.js.map +1 -1
- package/dist/esm/z-thead.entry.js +1 -1
- package/dist/esm/z-thead.entry.js.map +1 -1
- package/dist/esm/z-toast-notification-list.entry.js +1 -1
- package/dist/esm/z-toast-notification.entry.js +3 -3
- package/dist/esm/z-toggle-switch.entry.js +3 -3
- package/dist/esm/z-tool.entry.js +2 -2
- package/dist/esm/z-toolbar.entry.js +1 -1
- package/dist/esm/z-tooltip.entry.js +1 -1
- package/dist/esm/z-tr.entry.js +1 -1
- package/dist/esm/z-tr.entry.js.map +1 -1
- package/dist/esm/z-tree-list.entry.js +1 -1
- package/dist/esm/z-visually-hidden.entry.js +1 -1
- package/dist/types/components/book-card/z-book-card/index.d.ts +5 -1
- package/dist/types/components/{table → deprecated/table}/cells/z-td/index.d.ts +2 -2
- package/dist/types/components/{table → deprecated/table}/cells/z-th/index.d.ts +2 -2
- package/dist/types/components/{table → deprecated/table}/z-table/index.d.ts +1 -1
- package/dist/types/components/{table → deprecated/table}/z-tbody/index.d.ts +1 -1
- package/dist/types/components/{table → deprecated/table}/z-tfoot/index.d.ts +1 -1
- package/dist/types/components/{table → deprecated/table}/z-thead/index.d.ts +1 -1
- package/dist/types/components/{table → deprecated/table}/z-tr/index.d.ts +1 -1
- package/dist/types/components/z-input/index.d.ts +4 -0
- package/dist/types/components.d.ts +13 -2
- package/dist/web-components-library/{p-32bc925a.entry.js → p-059963b6.entry.js} +2 -2
- package/{www/build/p-33d993fe.entry.js → dist/web-components-library/p-06a196fb.entry.js} +2 -2
- package/dist/web-components-library/{p-8c3a7bc1.entry.js → p-08384d53.entry.js} +2 -2
- package/dist/web-components-library/{p-3748979c.entry.js → p-0fb73edd.entry.js} +2 -2
- package/dist/web-components-library/p-0fb73edd.entry.js.map +1 -0
- package/dist/web-components-library/p-12305e05.entry.js +2 -0
- package/dist/web-components-library/p-12305e05.entry.js.map +1 -0
- package/dist/web-components-library/{p-dfb0e8d8.entry.js → p-1b562386.entry.js} +2 -2
- package/dist/web-components-library/p-1fad41b2.entry.js +2 -0
- package/dist/web-components-library/p-1fad41b2.entry.js.map +1 -0
- package/dist/web-components-library/{p-a52b3dd1.entry.js → p-2780f6d9.entry.js} +2 -2
- package/dist/web-components-library/p-2780f6d9.entry.js.map +1 -0
- package/{www/build/p-7dbd0e3e.entry.js → dist/web-components-library/p-2a74e691.entry.js} +2 -2
- package/dist/web-components-library/{p-1efed23b.entry.js → p-2e4db422.entry.js} +2 -2
- package/dist/web-components-library/{p-4f6c86ce.entry.js → p-2eaf4b9b.entry.js} +2 -2
- package/dist/web-components-library/{p-6ea349f6.entry.js → p-350ea24f.entry.js} +2 -2
- package/dist/web-components-library/{p-df5eeb75.entry.js → p-3574a17e.entry.js} +2 -2
- package/{www/build/p-efe489a5.entry.js → dist/web-components-library/p-41966ee6.entry.js} +2 -2
- package/{www/build/p-ccedd440.entry.js → dist/web-components-library/p-42cfc136.entry.js} +2 -2
- package/dist/web-components-library/p-42cfc136.entry.js.map +1 -0
- package/{www/build/p-89b30fce.entry.js → dist/web-components-library/p-47d4000c.entry.js} +2 -2
- package/dist/web-components-library/p-55693913.entry.js +2 -0
- package/dist/web-components-library/p-55693913.entry.js.map +1 -0
- package/dist/web-components-library/{p-317cbb00.entry.js → p-55c3310f.entry.js} +2 -2
- package/dist/web-components-library/{p-8fb3354e.entry.js → p-5ae84959.entry.js} +2 -2
- package/dist/web-components-library/{p-e1ab33fe.entry.js → p-633d18e9.entry.js} +2 -2
- package/dist/web-components-library/{p-b4e0cd5c.entry.js → p-668b9254.entry.js} +2 -2
- package/{www/build/p-bc9237eb.entry.js → dist/web-components-library/p-6af7c34f.entry.js} +2 -2
- package/{www/build/p-d6441232.entry.js → dist/web-components-library/p-781d96de.entry.js} +2 -2
- package/dist/web-components-library/{p-1e71577c.entry.js → p-81c949eb.entry.js} +2 -2
- package/dist/web-components-library/{p-b7620e80.entry.js → p-87be3ccc.entry.js} +2 -2
- package/dist/web-components-library/p-87be3ccc.entry.js.map +1 -0
- package/{www/build/p-a5187022.entry.js → dist/web-components-library/p-886382a7.entry.js} +2 -2
- package/{www/build/p-9ac57635.entry.js → dist/web-components-library/p-95af0156.entry.js} +2 -2
- package/{www/build/p-127a6dda.entry.js → dist/web-components-library/p-a4f5e7e9.entry.js} +2 -2
- package/dist/web-components-library/{p-121f224a.entry.js → p-baa35a6e.entry.js} +2 -2
- package/dist/web-components-library/{p-02fb0bf9.entry.js → p-bc8eec12.entry.js} +2 -2
- package/{www/build/p-7f37e2a2.entry.js → dist/web-components-library/p-bdd9c781.entry.js} +2 -2
- package/dist/web-components-library/{p-6de548e3.entry.js → p-c15267bc.entry.js} +2 -2
- package/dist/web-components-library/{p-303fe1d0.entry.js → p-c983da75.entry.js} +2 -2
- package/dist/web-components-library/p-ce98069e.entry.js +2 -0
- package/{www/build/p-33e973b3.entry.js.map → dist/web-components-library/p-ce98069e.entry.js.map} +1 -1
- package/dist/web-components-library/p-d4e212cc.entry.js +2 -0
- package/{www/build/p-657802ce.entry.js.map → dist/web-components-library/p-d4e212cc.entry.js.map} +1 -1
- package/{www/build/p-904c7fdd.entry.js → dist/web-components-library/p-d4eb997c.entry.js} +2 -2
- package/dist/web-components-library/p-d4eb997c.entry.js.map +1 -0
- package/dist/web-components-library/{p-2bd1326c.entry.js → p-deed5153.entry.js} +2 -2
- package/dist/web-components-library/p-e160889a.entry.js +2 -0
- package/dist/web-components-library/{p-8f4fcd01.entry.js → p-e1d1445c.entry.js} +2 -2
- package/{www/build/p-1ef66142.entry.js → dist/web-components-library/p-e2cdf19c.entry.js} +2 -2
- package/dist/web-components-library/p-e2cdf19c.entry.js.map +1 -0
- package/dist/web-components-library/p-e972b9c2.entry.js +2 -0
- package/{www/build/p-222898cd.entry.js → dist/web-components-library/p-ea96790b.entry.js} +3 -3
- package/dist/web-components-library/{p-2bebbd04.entry.js → p-ee5ff565.entry.js} +2 -2
- package/dist/web-components-library/{p-51ebf661.entry.js → p-eea18ea6.entry.js} +2 -2
- package/dist/web-components-library/p-eea18ea6.entry.js.map +1 -0
- package/dist/web-components-library/p-f7e11eab.entry.js +2 -0
- package/dist/web-components-library/{p-067411f0.entry.js → p-fdafba48.entry.js} +2 -2
- package/dist/web-components-library/web-components-library.esm.js +1 -1
- package/package.json +9 -8
- package/www/build/{p-32bc925a.entry.js → p-059963b6.entry.js} +2 -2
- package/{dist/web-components-library/p-33d993fe.entry.js → www/build/p-06a196fb.entry.js} +2 -2
- package/www/build/{p-8c3a7bc1.entry.js → p-08384d53.entry.js} +2 -2
- package/www/build/{p-3748979c.entry.js → p-0fb73edd.entry.js} +2 -2
- package/www/build/p-0fb73edd.entry.js.map +1 -0
- package/www/build/p-12305e05.entry.js +2 -0
- package/www/build/p-12305e05.entry.js.map +1 -0
- package/www/build/{p-dfb0e8d8.entry.js → p-1b562386.entry.js} +2 -2
- package/www/build/p-1fad41b2.entry.js +2 -0
- package/www/build/p-1fad41b2.entry.js.map +1 -0
- package/www/build/{p-a52b3dd1.entry.js → p-2780f6d9.entry.js} +2 -2
- package/www/build/p-2780f6d9.entry.js.map +1 -0
- package/{dist/web-components-library/p-7dbd0e3e.entry.js → www/build/p-2a74e691.entry.js} +2 -2
- package/www/build/{p-1efed23b.entry.js → p-2e4db422.entry.js} +2 -2
- package/www/build/{p-4f6c86ce.entry.js → p-2eaf4b9b.entry.js} +2 -2
- package/www/build/{p-6ea349f6.entry.js → p-350ea24f.entry.js} +2 -2
- package/www/build/{p-df5eeb75.entry.js → p-3574a17e.entry.js} +2 -2
- package/{dist/web-components-library/p-efe489a5.entry.js → www/build/p-41966ee6.entry.js} +2 -2
- package/{dist/web-components-library/p-ccedd440.entry.js → www/build/p-42cfc136.entry.js} +2 -2
- package/www/build/p-42cfc136.entry.js.map +1 -0
- package/{dist/web-components-library/p-89b30fce.entry.js → www/build/p-47d4000c.entry.js} +2 -2
- package/www/build/p-55693913.entry.js +2 -0
- package/www/build/p-55693913.entry.js.map +1 -0
- package/www/build/{p-317cbb00.entry.js → p-55c3310f.entry.js} +2 -2
- package/www/build/{p-8fb3354e.entry.js → p-5ae84959.entry.js} +2 -2
- package/www/build/{p-e1ab33fe.entry.js → p-633d18e9.entry.js} +2 -2
- package/www/build/{p-b4e0cd5c.entry.js → p-668b9254.entry.js} +2 -2
- package/{dist/web-components-library/p-bc9237eb.entry.js → www/build/p-6af7c34f.entry.js} +2 -2
- package/{dist/web-components-library/p-d6441232.entry.js → www/build/p-781d96de.entry.js} +2 -2
- package/www/build/{p-1e71577c.entry.js → p-81c949eb.entry.js} +2 -2
- package/www/build/{p-b7620e80.entry.js → p-87be3ccc.entry.js} +2 -2
- package/www/build/p-87be3ccc.entry.js.map +1 -0
- package/{dist/web-components-library/p-a5187022.entry.js → www/build/p-886382a7.entry.js} +2 -2
- package/{dist/web-components-library/p-9ac57635.entry.js → www/build/p-95af0156.entry.js} +2 -2
- package/www/build/p-9a93e186.js +2 -0
- package/{dist/web-components-library/p-127a6dda.entry.js → www/build/p-a4f5e7e9.entry.js} +2 -2
- package/www/build/{p-121f224a.entry.js → p-baa35a6e.entry.js} +2 -2
- package/www/build/{p-02fb0bf9.entry.js → p-bc8eec12.entry.js} +2 -2
- package/{dist/web-components-library/p-7f37e2a2.entry.js → www/build/p-bdd9c781.entry.js} +2 -2
- package/www/build/{p-6de548e3.entry.js → p-c15267bc.entry.js} +2 -2
- package/www/build/{p-303fe1d0.entry.js → p-c983da75.entry.js} +2 -2
- package/www/build/p-ce98069e.entry.js +2 -0
- package/{dist/web-components-library/p-33e973b3.entry.js.map → www/build/p-ce98069e.entry.js.map} +1 -1
- package/www/build/p-d4e212cc.entry.js +2 -0
- package/{dist/web-components-library/p-657802ce.entry.js.map → www/build/p-d4e212cc.entry.js.map} +1 -1
- package/{dist/web-components-library/p-904c7fdd.entry.js → www/build/p-d4eb997c.entry.js} +2 -2
- package/www/build/p-d4eb997c.entry.js.map +1 -0
- package/www/build/{p-2bd1326c.entry.js → p-deed5153.entry.js} +2 -2
- package/www/build/p-e160889a.entry.js +2 -0
- package/www/build/{p-8f4fcd01.entry.js → p-e1d1445c.entry.js} +2 -2
- package/{dist/web-components-library/p-1ef66142.entry.js → www/build/p-e2cdf19c.entry.js} +2 -2
- package/www/build/p-e2cdf19c.entry.js.map +1 -0
- package/www/build/p-e972b9c2.entry.js +2 -0
- package/{dist/web-components-library/p-222898cd.entry.js → www/build/p-ea96790b.entry.js} +3 -3
- package/www/build/{p-2bebbd04.entry.js → p-ee5ff565.entry.js} +2 -2
- package/www/build/{p-51ebf661.entry.js → p-eea18ea6.entry.js} +2 -2
- package/www/build/p-eea18ea6.entry.js.map +1 -0
- package/www/build/p-f7e11eab.entry.js +2 -0
- package/www/build/{p-067411f0.entry.js → p-fdafba48.entry.js} +2 -2
- package/www/build/web-components-library.esm.js +1 -1
- package/www/index.html +1 -1
- package/dist/collection/components/table/cells/z-td/index.js.map +0 -1
- package/dist/collection/components/table/cells/z-th/index.js.map +0 -1
- package/dist/collection/components/table/z-table/index.js.map +0 -1
- package/dist/collection/components/table/z-tbody/index.js.map +0 -1
- package/dist/collection/components/table/z-tfoot/index.js.map +0 -1
- package/dist/collection/components/table/z-thead/index.js.map +0 -1
- package/dist/collection/components/table/z-tr/index.js.map +0 -1
- package/dist/web-components-library/p-1ef66142.entry.js.map +0 -1
- package/dist/web-components-library/p-33e973b3.entry.js +0 -2
- package/dist/web-components-library/p-3748979c.entry.js.map +0 -1
- package/dist/web-components-library/p-51ebf661.entry.js.map +0 -1
- package/dist/web-components-library/p-53c51bf4.entry.js +0 -2
- package/dist/web-components-library/p-53c51bf4.entry.js.map +0 -1
- package/dist/web-components-library/p-5a43af47.entry.js +0 -2
- package/dist/web-components-library/p-5a43af47.entry.js.map +0 -1
- package/dist/web-components-library/p-657802ce.entry.js +0 -2
- package/dist/web-components-library/p-8b3257b4.entry.js +0 -2
- package/dist/web-components-library/p-8d2704ee.entry.js +0 -2
- package/dist/web-components-library/p-8d2704ee.entry.js.map +0 -1
- package/dist/web-components-library/p-904c7fdd.entry.js.map +0 -1
- package/dist/web-components-library/p-a52b3dd1.entry.js.map +0 -1
- package/dist/web-components-library/p-a8f43afd.entry.js +0 -2
- package/dist/web-components-library/p-b7620e80.entry.js.map +0 -1
- package/dist/web-components-library/p-c217c65c.entry.js +0 -2
- package/dist/web-components-library/p-ccedd440.entry.js.map +0 -1
- package/www/build/p-1ef66142.entry.js.map +0 -1
- package/www/build/p-33e973b3.entry.js +0 -2
- package/www/build/p-3748979c.entry.js.map +0 -1
- package/www/build/p-51ebf661.entry.js.map +0 -1
- package/www/build/p-53c51bf4.entry.js +0 -2
- package/www/build/p-53c51bf4.entry.js.map +0 -1
- package/www/build/p-5a1df5b1.js +0 -2
- package/www/build/p-5a43af47.entry.js +0 -2
- package/www/build/p-5a43af47.entry.js.map +0 -1
- package/www/build/p-657802ce.entry.js +0 -2
- package/www/build/p-8b3257b4.entry.js +0 -2
- package/www/build/p-8d2704ee.entry.js +0 -2
- package/www/build/p-8d2704ee.entry.js.map +0 -1
- package/www/build/p-904c7fdd.entry.js.map +0 -1
- package/www/build/p-a52b3dd1.entry.js.map +0 -1
- package/www/build/p-a8f43afd.entry.js +0 -2
- package/www/build/p-b7620e80.entry.js.map +0 -1
- package/www/build/p-c217c65c.entry.js +0 -2
- package/www/build/p-ccedd440.entry.js.map +0 -1
- /package/dist/collection/components/{table → deprecated/table}/cells/z-table-cells.css +0 -0
- /package/dist/collection/components/{table → deprecated/table}/cells/z-th/styles.css +0 -0
- /package/dist/collection/components/{table → deprecated/table}/z-table/styles.css +0 -0
- /package/dist/collection/components/{table → deprecated/table}/z-tbody/styles.css +0 -0
- /package/dist/collection/components/{table → deprecated/table}/z-tfoot/styles.css +0 -0
- /package/dist/collection/components/{table → deprecated/table}/z-thead/styles.css +0 -0
- /package/dist/collection/components/{table → deprecated/table}/z-tr/styles.css +0 -0
- /package/dist/web-components-library/{p-32bc925a.entry.js.map → p-059963b6.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-33d993fe.entry.js.map → p-06a196fb.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-8c3a7bc1.entry.js.map → p-08384d53.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-dfb0e8d8.entry.js.map → p-1b562386.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-7dbd0e3e.entry.js.map → p-2a74e691.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-1efed23b.entry.js.map → p-2e4db422.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-4f6c86ce.entry.js.map → p-2eaf4b9b.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-6ea349f6.entry.js.map → p-350ea24f.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-df5eeb75.entry.js.map → p-3574a17e.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-efe489a5.entry.js.map → p-41966ee6.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-89b30fce.entry.js.map → p-47d4000c.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-317cbb00.entry.js.map → p-55c3310f.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-8fb3354e.entry.js.map → p-5ae84959.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-e1ab33fe.entry.js.map → p-633d18e9.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-b4e0cd5c.entry.js.map → p-668b9254.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-bc9237eb.entry.js.map → p-6af7c34f.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-d6441232.entry.js.map → p-781d96de.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-1e71577c.entry.js.map → p-81c949eb.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-a5187022.entry.js.map → p-886382a7.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-9ac57635.entry.js.map → p-95af0156.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-127a6dda.entry.js.map → p-a4f5e7e9.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-121f224a.entry.js.map → p-baa35a6e.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-02fb0bf9.entry.js.map → p-bc8eec12.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-7f37e2a2.entry.js.map → p-bdd9c781.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-6de548e3.entry.js.map → p-c15267bc.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-303fe1d0.entry.js.map → p-c983da75.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-2bd1326c.entry.js.map → p-deed5153.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-c217c65c.entry.js.map → p-e160889a.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-8f4fcd01.entry.js.map → p-e1d1445c.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-a8f43afd.entry.js.map → p-e972b9c2.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-222898cd.entry.js.map → p-ea96790b.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-2bebbd04.entry.js.map → p-ee5ff565.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-8b3257b4.entry.js.map → p-f7e11eab.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-067411f0.entry.js.map → p-fdafba48.entry.js.map} +0 -0
- /package/www/build/{p-32bc925a.entry.js.map → p-059963b6.entry.js.map} +0 -0
- /package/www/build/{p-33d993fe.entry.js.map → p-06a196fb.entry.js.map} +0 -0
- /package/www/build/{p-8c3a7bc1.entry.js.map → p-08384d53.entry.js.map} +0 -0
- /package/www/build/{p-dfb0e8d8.entry.js.map → p-1b562386.entry.js.map} +0 -0
- /package/www/build/{p-7dbd0e3e.entry.js.map → p-2a74e691.entry.js.map} +0 -0
- /package/www/build/{p-1efed23b.entry.js.map → p-2e4db422.entry.js.map} +0 -0
- /package/www/build/{p-4f6c86ce.entry.js.map → p-2eaf4b9b.entry.js.map} +0 -0
- /package/www/build/{p-6ea349f6.entry.js.map → p-350ea24f.entry.js.map} +0 -0
- /package/www/build/{p-df5eeb75.entry.js.map → p-3574a17e.entry.js.map} +0 -0
- /package/www/build/{p-efe489a5.entry.js.map → p-41966ee6.entry.js.map} +0 -0
- /package/www/build/{p-89b30fce.entry.js.map → p-47d4000c.entry.js.map} +0 -0
- /package/www/build/{p-317cbb00.entry.js.map → p-55c3310f.entry.js.map} +0 -0
- /package/www/build/{p-8fb3354e.entry.js.map → p-5ae84959.entry.js.map} +0 -0
- /package/www/build/{p-e1ab33fe.entry.js.map → p-633d18e9.entry.js.map} +0 -0
- /package/www/build/{p-b4e0cd5c.entry.js.map → p-668b9254.entry.js.map} +0 -0
- /package/www/build/{p-bc9237eb.entry.js.map → p-6af7c34f.entry.js.map} +0 -0
- /package/www/build/{p-d6441232.entry.js.map → p-781d96de.entry.js.map} +0 -0
- /package/www/build/{p-1e71577c.entry.js.map → p-81c949eb.entry.js.map} +0 -0
- /package/www/build/{p-a5187022.entry.js.map → p-886382a7.entry.js.map} +0 -0
- /package/www/build/{p-9ac57635.entry.js.map → p-95af0156.entry.js.map} +0 -0
- /package/www/build/{p-127a6dda.entry.js.map → p-a4f5e7e9.entry.js.map} +0 -0
- /package/www/build/{p-121f224a.entry.js.map → p-baa35a6e.entry.js.map} +0 -0
- /package/www/build/{p-02fb0bf9.entry.js.map → p-bc8eec12.entry.js.map} +0 -0
- /package/www/build/{p-7f37e2a2.entry.js.map → p-bdd9c781.entry.js.map} +0 -0
- /package/www/build/{p-6de548e3.entry.js.map → p-c15267bc.entry.js.map} +0 -0
- /package/www/build/{p-303fe1d0.entry.js.map → p-c983da75.entry.js.map} +0 -0
- /package/www/build/{p-2bd1326c.entry.js.map → p-deed5153.entry.js.map} +0 -0
- /package/www/build/{p-c217c65c.entry.js.map → p-e160889a.entry.js.map} +0 -0
- /package/www/build/{p-8f4fcd01.entry.js.map → p-e1d1445c.entry.js.map} +0 -0
- /package/www/build/{p-a8f43afd.entry.js.map → p-e972b9c2.entry.js.map} +0 -0
- /package/www/build/{p-222898cd.entry.js.map → p-ea96790b.entry.js.map} +0 -0
- /package/www/build/{p-2bebbd04.entry.js.map → p-ee5ff565.entry.js.map} +0 -0
- /package/www/build/{p-8b3257b4.entry.js.map → p-f7e11eab.entry.js.map} +0 -0
- /package/www/build/{p-067411f0.entry.js.map → p-fdafba48.entry.js.map} +0 -0
|
@@ -337,14 +337,14 @@ export class ZRangePicker {
|
|
|
337
337
|
onStopTyping: this.onStopTyping.bind(this),
|
|
338
338
|
value: "",
|
|
339
339
|
};
|
|
340
|
-
return (h("div", { key: '
|
|
340
|
+
return (h("div", { key: '4523d5064162ea6984b0c64dd4035f81b6908e7c', class: {
|
|
341
341
|
["range-pickers-container"]: true,
|
|
342
342
|
[this.mode]: true,
|
|
343
343
|
[this.activeInput]: true,
|
|
344
344
|
[this.flatpickrPosition]: true,
|
|
345
|
-
} }, h("div", { key: '
|
|
345
|
+
} }, h("div", { key: 'f7072a89e4cca123a3b89a01f2b45c06477241c2', class: `${this.rangePickerId}-1-wrapper` }, h("div", { key: 'd9e2e55356671cfd1b266b14a054d15fbb0af64c', class: `${this.rangePickerId}-1-container` }, h("z-input", Object.assign({ key: 'acfca5557a45a205f7c6835c6d51faf43f926153' }, zInputProps, { placeholder: this.firstPickerPlaceholder, readonly: this.firstPickerReadOnly, "data-input": "data-input", class: `start-input ${this.rangePickerId}-1`, ariaLabel: this.firstAriaLabel, label: this.firstLabel, status: this.firstInputError && InputStatus.ERROR, onStartTyping: () => {
|
|
346
346
|
this.firstInputError = false;
|
|
347
|
-
} })))), h("div", { key: '
|
|
347
|
+
} })))), h("div", { key: 'd416470bfc3792ed75819358bc2e184afb2f513e', class: `${this.rangePickerId}-2-wrapper` }, h("div", { key: '7479622363768dc67c8d21ed1671938bb8595274', class: `${this.rangePickerId}-2-container` }, h("z-input", Object.assign({ key: '2cb2232b8abf95ba126034956ef3d183d7b193aa' }, zInputProps, { placeholder: this.lastPickerPlaceholder, readonly: this.lastPickerReadOnly, "data-input": "data-input", class: `end-input ${this.rangePickerId}-2`, ariaLabel: this.secondAriaLabel, label: this.secondLabel, status: this.lastInputError && InputStatus.ERROR, onStartTyping: () => {
|
|
348
348
|
this.lastInputError = false;
|
|
349
349
|
} }))))));
|
|
350
350
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Host, h } from "@stencil/core";
|
|
2
|
-
import { ButtonVariant, ControlSize, PopoverPosition } from "
|
|
2
|
+
import { ButtonVariant, ControlSize, PopoverPosition } from "../../../../../beans";
|
|
3
3
|
/**
|
|
4
4
|
* ZTd component.
|
|
5
5
|
* @slot - ZTd content.
|
|
@@ -42,18 +42,18 @@ export class ZTd {
|
|
|
42
42
|
this.updateColspan();
|
|
43
43
|
}
|
|
44
44
|
render() {
|
|
45
|
-
return (h(Host, { key: '
|
|
45
|
+
return (h(Host, { key: '4ea61b4c4d2e924b925e7b8f579e6827e0ee22c8', role: "cell", "menu-open": this.isMenuOpen }, h("div", { key: '98db4baee9fbf028c36f201b1fca8959bf955eb8', class: "cell--content" }, h("slot", { key: '633725c94623d66b2e4c2820bfb0453d500b6ac6' }), this.showMenu && (h("div", { key: '61f2fb0cc589bc32acd0e51b7ddae92be78d18f0', class: "cell--menu-container prevent-expand" }, h("z-button", { key: '86132a5a7762b97d0646071d54339930269d1ce3', variant: ButtonVariant.TERTIARY, icon: "contextual-menu", size: ControlSize.X_SMALL, ref: (el) => (this.menuTrigger = el), onClick: this.onMenuButtonClick.bind(this) }), h("z-popover", { key: 'bf2d2b8f0114562d49cd4a88b895b2b9dca22389', class: "cell-popover", ref: (el) => (this.popoverEl = el), bindTo: this.menuTrigger, onOpenChange: (event) => (this.isMenuOpen = event.detail.open), position: this.popoverPosition }, h("slot", { key: 'f3512195bf82945f0fca0ca3c3c389d04b5d98c0', name: "contextual-menu" })))))));
|
|
46
46
|
}
|
|
47
47
|
static get is() { return "z-td"; }
|
|
48
48
|
static get encapsulation() { return "shadow"; }
|
|
49
49
|
static get originalStyleUrls() {
|
|
50
50
|
return {
|
|
51
|
-
"$": ["../z-table-cells.css", "
|
|
51
|
+
"$": ["../z-table-cells.css", "../../../../css-components/z-table/styles.css"]
|
|
52
52
|
};
|
|
53
53
|
}
|
|
54
54
|
static get styleUrls() {
|
|
55
55
|
return {
|
|
56
|
-
"$": ["../z-table-cells.css", "
|
|
56
|
+
"$": ["../z-table-cells.css", "../../../../css-components/z-table/styles.css"]
|
|
57
57
|
};
|
|
58
58
|
}
|
|
59
59
|
static get properties() {
|
|
@@ -106,7 +106,7 @@ export class ZTd {
|
|
|
106
106
|
"references": {
|
|
107
107
|
"VisibilityCondition": {
|
|
108
108
|
"location": "import",
|
|
109
|
-
"path": "
|
|
109
|
+
"path": "../../../../../beans",
|
|
110
110
|
"id": "src/beans/index.tsx::VisibilityCondition",
|
|
111
111
|
"referenceLocation": "VisibilityCondition"
|
|
112
112
|
}
|
|
@@ -133,7 +133,7 @@ export class ZTd {
|
|
|
133
133
|
"references": {
|
|
134
134
|
"PopoverPosition": {
|
|
135
135
|
"location": "import",
|
|
136
|
-
"path": "
|
|
136
|
+
"path": "../../../../../beans",
|
|
137
137
|
"id": "src/beans/index.tsx::PopoverPosition",
|
|
138
138
|
"referenceLocation": "PopoverPosition"
|
|
139
139
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/components/deprecated/table/cells/z-td/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAsB,OAAO,EAAE,KAAK,EAAgB,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,CAAC,EAAC,MAAM,eAAe,CAAC;AACvH,OAAO,EAAC,aAAa,EAAE,WAAW,EAAE,eAAe,EAAE,mBAAmB,EAAC,MAAM,sBAAsB,CAAC;AAEtG;;;GAGG;AAMH,MAAM,OAAO,GAAG;IALhB;QAcE;;WAEG;QAEH,WAAM,GAAG,KAAK,CAAC;QAEf;;;;WAIG;QAEH,aAAQ,GAAwB,IAAI,CAAC;QAErC;;WAEG;QAEH,oBAAe,GAAqB,eAAe,CAAC,IAAI,CAAC;QAEzD;;WAEG;QAEH,eAAU,GAAG,KAAK,CAAC;KAmEpB;IAnDW,aAAa;QACrB,IAAI,IAAI,CAAC,OAAO,EAAE,CAAC;YACjB,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,UAAU,GAAG,QAAQ,IAAI,CAAC,OAAO,EAAE,CAAC;QACtD,CAAC;aAAM,CAAC;YACN,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,aAAa,CAAC,CAAC;QAChD,CAAC;QAED,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,IAAI,CAAC,CAAC,CAAC;IAC7C,CAAC;IAEO,iBAAiB,CAAC,EAAc;QACtC,EAAE,CAAC,eAAe,EAAE,CAAC;QACrB,IAAI,CAAC,SAAS,CAAC,IAAI,GAAG,CAAC,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC;IAC7C,CAAC;IAED,iBAAiB;QACf,IAAI,CAAC,aAAa,EAAE,CAAC;IACvB,CAAC;IAED,MAAM;QACJ,OAAO,CACL,EAAC,IAAI,qDACH,IAAI,EAAC,MAAM,eACA,IAAI,CAAC,UAAU;YAE1B,4DAAK,KAAK,EAAC,eAAe;gBACxB,8DAAa;gBACZ,IAAI,CAAC,QAAQ,IAAI,CAChB,4DAAK,KAAK,EAAC,qCAAqC;oBAC9C,iEACE,OAAO,EAAE,aAAa,CAAC,QAAQ,EAC/B,IAAI,EAAC,iBAAiB,EACtB,IAAI,EAAE,WAAW,CAAC,OAAO,EACzB,GAAG,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC,IAAI,CAAC,WAAW,GAAG,EAAwB,CAAC,EAC1D,OAAO,EAAE,IAAI,CAAC,iBAAiB,CAAC,IAAI,CAAC,IAAI,CAAC,GAC1C;oBACF,kEACE,KAAK,EAAC,cAAc,EACpB,GAAG,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC,IAAI,CAAC,SAAS,GAAG,EAAyB,CAAC,EACzD,MAAM,EAAE,IAAI,CAAC,WAA0B,EACvC,YAAY,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC,IAAI,CAAC,UAAU,GAAG,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC,EAC9D,QAAQ,EAAE,IAAI,CAAC,eAAe;wBAE9B,6DAAM,IAAI,EAAC,iBAAiB,GAAQ,CAC1B,CACR,CACP,CACG,CACD,CACR,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import {Component, ComponentInterface, Element, Event, EventEmitter, Host, Prop, State, Watch, h} from \"@stencil/core\";\nimport {ButtonVariant, ControlSize, PopoverPosition, VisibilityCondition} from \"../../../../../beans\";\n\n/**\n * ZTd component.\n * @slot - ZTd content.\n */\n@Component({\n tag: \"z-td\",\n styleUrls: [\"../z-table-cells.css\", \"../../../../css-components/z-table/styles.css\"],\n shadow: true,\n})\nexport class ZTd implements ComponentInterface {\n @Element() host: HTMLZTdElement;\n\n /**\n * Number of columns that the cell should span.\n */\n @Prop()\n colspan: number;\n\n /**\n * Whether the cell should stick.\n */\n @Prop({reflect: true})\n sticky = false;\n\n /**\n * Enables the contextual menu.\n * Can be set to \"hover\" or \"always\" to show the button only on cell hover or always.\n * Set a nullish value to hide the menu button.\n */\n @Prop({reflect: true})\n showMenu: VisibilityCondition = null;\n\n /**\n * Set the popover position, the default is \"auto\".\n */\n @Prop()\n popoverPosition?: PopoverPosition = PopoverPosition.AUTO;\n\n /**\n * Store the open state of the menu.\n */\n @State()\n isMenuOpen = false;\n\n private menuTrigger: HTMLZButtonElement;\n\n private popoverEl: HTMLZPopoverElement;\n\n /**\n * Emitted when the value of the `colspan` changes.\n */\n @Event({\n bubbles: true,\n cancelable: false,\n })\n colspanChange: EventEmitter<number>;\n\n @Watch(\"colspan\")\n protected updateColspan(): void {\n if (this.colspan) {\n this.host.style.gridColumn = `span ${this.colspan}`;\n } else {\n this.host.style.removeProperty(\"grid-column\");\n }\n\n this.colspanChange.emit(this.colspan || 1);\n }\n\n private onMenuButtonClick(ev: MouseEvent): void {\n ev.stopPropagation();\n this.popoverEl.open = !this.popoverEl.open;\n }\n\n componentWillLoad(): void {\n this.updateColspan();\n }\n\n render(): HTMLZTdElement {\n return (\n <Host\n role=\"cell\"\n menu-open={this.isMenuOpen}\n >\n <div class=\"cell--content\">\n <slot></slot>\n {this.showMenu && (\n <div class=\"cell--menu-container prevent-expand\">\n <z-button\n variant={ButtonVariant.TERTIARY}\n icon=\"contextual-menu\"\n size={ControlSize.X_SMALL}\n ref={(el) => (this.menuTrigger = el as HTMLZButtonElement)}\n onClick={this.onMenuButtonClick.bind(this)}\n />\n <z-popover\n class=\"cell-popover\"\n ref={(el) => (this.popoverEl = el as HTMLZPopoverElement)}\n bindTo={this.menuTrigger as HTMLElement}\n onOpenChange={(event) => (this.isMenuOpen = event.detail.open)}\n position={this.popoverPosition}\n >\n <slot name=\"contextual-menu\"></slot>\n </z-popover>\n </div>\n )}\n </div>\n </Host>\n );\n }\n}\n"]}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Host, h } from "@stencil/core";
|
|
2
|
-
import { ButtonVariant, ControlSize, PopoverPosition, SortDirection } from "
|
|
2
|
+
import { ButtonVariant, ControlSize, PopoverPosition, SortDirection } from "../../../../../beans";
|
|
3
3
|
/**
|
|
4
4
|
* ZTh component.
|
|
5
5
|
* @slot - ZTh content.
|
|
@@ -70,18 +70,18 @@ export class ZTh {
|
|
|
70
70
|
this.updateColspan();
|
|
71
71
|
}
|
|
72
72
|
render() {
|
|
73
|
-
return (h(Host, { key: '
|
|
73
|
+
return (h(Host, { key: 'd677564cf6d2351a9188098d58b98e4bf9ffbf9e', role: "columnheader", "menu-open": this.isMenuOpen, "aria-sort": this.ariaSortDirection, sortable: this.showSorting }, h("div", { key: '267fd4a41682a6a1475ba74739ff148957dc6626', class: "cell--content" }, h("slot", { key: 'a77588e6dd5645f6b384a7564a06cffae72bed4e' }), this.showSorting && (h("button", { key: '8a565667e7bdbd223d38efe7be5128c69947577c', class: "z-th--sort-button", type: "button", onClick: this.handleSort.bind(this) }, h("z-icon", { key: 'a527e6e217f5cbabf1baac1c292111ab406aa792', name: this.sortDirection === SortDirection.DESC ? "arrow-simple-up" : "arrow-simple-down", width: 14, height: 14 }))), this.showMenu && (h("div", { key: '396eb46a6aa10d47419cd437412ce69d797f2047', class: "cell--menu-container" }, h("z-button", { key: '6e014d9922c15041950772ee0c377b9f31d4d743', variant: ButtonVariant.TERTIARY, icon: "contextual-menu", size: ControlSize.X_SMALL, ref: (el) => (this.menuTrigger = el), onClick: () => (this.popoverEl.open = !this.popoverEl.open) }), h("z-popover", { key: '11a7861d3151f616c9d9761709611bac37a02ec6', ref: (el) => (this.popoverEl = el), bindTo: this.menuTrigger, onOpenChange: (event) => (this.isMenuOpen = event.detail.open), position: this.popoverPosition }, h("slot", { key: '99545a1fb846906941ce882d6f21676de1fa7fb2', name: "contextual-menu" })))))));
|
|
74
74
|
}
|
|
75
75
|
static get is() { return "z-th"; }
|
|
76
76
|
static get encapsulation() { return "shadow"; }
|
|
77
77
|
static get originalStyleUrls() {
|
|
78
78
|
return {
|
|
79
|
-
"$": ["../z-table-cells.css", "styles.css", "
|
|
79
|
+
"$": ["../z-table-cells.css", "styles.css", "../../../../css-components/z-table/styles.css"]
|
|
80
80
|
};
|
|
81
81
|
}
|
|
82
82
|
static get styleUrls() {
|
|
83
83
|
return {
|
|
84
|
-
"$": ["../z-table-cells.css", "styles.css", "
|
|
84
|
+
"$": ["../z-table-cells.css", "styles.css", "../../../../css-components/z-table/styles.css"]
|
|
85
85
|
};
|
|
86
86
|
}
|
|
87
87
|
static get properties() {
|
|
@@ -114,7 +114,7 @@ export class ZTh {
|
|
|
114
114
|
"references": {
|
|
115
115
|
"VisibilityCondition": {
|
|
116
116
|
"location": "import",
|
|
117
|
-
"path": "
|
|
117
|
+
"path": "../../../../../beans",
|
|
118
118
|
"id": "src/beans/index.tsx::VisibilityCondition",
|
|
119
119
|
"referenceLocation": "VisibilityCondition"
|
|
120
120
|
}
|
|
@@ -141,7 +141,7 @@ export class ZTh {
|
|
|
141
141
|
"references": {
|
|
142
142
|
"VisibilityCondition": {
|
|
143
143
|
"location": "import",
|
|
144
|
-
"path": "
|
|
144
|
+
"path": "../../../../../beans",
|
|
145
145
|
"id": "src/beans/index.tsx::VisibilityCondition",
|
|
146
146
|
"referenceLocation": "VisibilityCondition"
|
|
147
147
|
}
|
|
@@ -188,7 +188,7 @@ export class ZTh {
|
|
|
188
188
|
"references": {
|
|
189
189
|
"SortDirection": {
|
|
190
190
|
"location": "import",
|
|
191
|
-
"path": "
|
|
191
|
+
"path": "../../../../../beans",
|
|
192
192
|
"id": "src/beans/index.tsx::SortDirection",
|
|
193
193
|
"referenceLocation": "SortDirection"
|
|
194
194
|
}
|
|
@@ -234,7 +234,7 @@ export class ZTh {
|
|
|
234
234
|
"references": {
|
|
235
235
|
"PopoverPosition": {
|
|
236
236
|
"location": "import",
|
|
237
|
-
"path": "
|
|
237
|
+
"path": "../../../../../beans",
|
|
238
238
|
"id": "src/beans/index.tsx::PopoverPosition",
|
|
239
239
|
"referenceLocation": "PopoverPosition"
|
|
240
240
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/components/deprecated/table/cells/z-th/index.tsx"],"names":[],"mappings":"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","sourcesContent":["import {Component, ComponentInterface, Element, Event, EventEmitter, Host, Prop, State, Watch, h} from \"@stencil/core\";\nimport {ButtonVariant, ControlSize, PopoverPosition, SortDirection, VisibilityCondition} from \"../../../../../beans\";\n\n/**\n * ZTh component.\n * @slot - ZTh content.\n * @slot contextual-menu - Contextual menu content. Only visible when `showMenu` is true.\n */\n@Component({\n tag: \"z-th\",\n styleUrls: [\"../z-table-cells.css\", \"styles.css\", \"../../../../css-components/z-table/styles.css\"],\n shadow: true,\n})\nexport class ZTh implements ComponentInterface {\n @Element() host: HTMLZThElement;\n\n /**\n * Number of columns that the cell should span.\n */\n @Prop()\n colspan: number;\n\n /**\n * Enables the contextual menu.\n * Can be set to \"hover\" or \"always\" to show the button only on cell hover or always.\n * Set a nullish value to hide the menu button.\n */\n @Prop({reflect: true})\n showMenu: VisibilityCondition = null;\n\n /**\n * Enables the sorting button.\n * Can be set to \"hover\" or \"always\" to show the button only on cell hover or always.\n * Set a nullish value to hide the sort button.\n */\n @Prop({reflect: true})\n showSorting: VisibilityCondition = null;\n\n /**\n * Whether the cell should stick.\n */\n @Prop({reflect: true})\n sticky = false;\n\n /**\n * Current sorting direction.\n */\n @Prop({mutable: true})\n sortDirection?: SortDirection;\n\n /**\n * Sorted state of the column.\n */\n @Prop({reflect: true, mutable: true})\n sorted: boolean | null = false;\n\n /**\n * Set popover position.\n */\n @Prop()\n popoverPosition = PopoverPosition.AUTO;\n\n /**\n * Store the open state of the menu.\n */\n @State()\n isMenuOpen = false;\n\n /**\n * Sort event fired when the user clicks on the sort button.\n * The sorting logic must be implemented by the app.\n * You can set an `id` on the `z-th` to easly identify the column in the event listener.\n */\n @Event()\n private sort: EventEmitter;\n\n private menuTrigger: HTMLElement;\n\n private popoverEl: HTMLZPopoverElement;\n\n /**\n * Get the value to set to the `aria-sort` attribute based on the current sort direction.\n */\n private get ariaSortDirection(): string {\n if (!this.sortDirection) {\n return null;\n }\n\n return this.sortDirection === SortDirection.ASC ? \"ascending\" : \"descending\";\n }\n\n /**\n * Handle the click on the sort button.\n * @fires sort\n */\n private handleSort(): void {\n if (!this.sortDirection) {\n this.sorted = false;\n\n return;\n }\n\n this.sortDirection = this.sortDirection === SortDirection.ASC ? SortDirection.DESC : SortDirection.ASC;\n this.sorted = true;\n\n this.sort.emit({sortDirection: this.sortDirection});\n }\n\n @Watch(\"colspan\")\n protected updateColspan(): void {\n if (this.colspan) {\n this.host.style.gridColumn = `span ${this.colspan}`;\n } else {\n this.host.style.removeProperty(\"grid-column\");\n }\n }\n\n componentWillLoad(): void {\n this.updateColspan();\n }\n\n render(): HTMLZThElement {\n return (\n <Host\n role=\"columnheader\"\n menu-open={this.isMenuOpen}\n aria-sort={this.ariaSortDirection}\n sortable={this.showSorting}\n >\n <div class=\"cell--content\">\n <slot></slot>\n {this.showSorting && (\n <button\n class=\"z-th--sort-button\"\n type=\"button\"\n onClick={this.handleSort.bind(this)}\n >\n <z-icon\n name={this.sortDirection === SortDirection.DESC ? \"arrow-simple-up\" : \"arrow-simple-down\"}\n width={14}\n height={14}\n />\n </button>\n )}\n {this.showMenu && (\n <div class=\"cell--menu-container\">\n <z-button\n variant={ButtonVariant.TERTIARY}\n icon=\"contextual-menu\"\n size={ControlSize.X_SMALL}\n ref={(el) => (this.menuTrigger = el as HTMLElement)}\n onClick={() => (this.popoverEl.open = !this.popoverEl.open)}\n />\n <z-popover\n ref={(el) => (this.popoverEl = el as HTMLZPopoverElement)}\n bindTo={this.menuTrigger}\n onOpenChange={(event) => (this.isMenuOpen = event.detail.open)}\n position={this.popoverPosition}\n >\n <slot name=\"contextual-menu\"></slot>\n </z-popover>\n </div>\n )}\n </div>\n </Host>\n );\n }\n}\n"]}
|
|
@@ -41,18 +41,18 @@ export class ZTable {
|
|
|
41
41
|
(_a = this.expandableMutationObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
|
|
42
42
|
}
|
|
43
43
|
render() {
|
|
44
|
-
return (h(Host, { key: '
|
|
44
|
+
return (h(Host, { key: '07719fd45b5b0cc2e5d5798f397048b4e233ce88', expandable: this.expandable }, h("div", { key: 'f333241ac885ebdaeed659b2aeb1f6af811fa0ec', class: "table", role: "table" }, h("slot", { key: 'e9072d50375eb35757b393ec5a843459dafd4cc2' }))));
|
|
45
45
|
}
|
|
46
46
|
static get is() { return "z-table"; }
|
|
47
47
|
static get encapsulation() { return "shadow"; }
|
|
48
48
|
static get originalStyleUrls() {
|
|
49
49
|
return {
|
|
50
|
-
"$": ["styles.css", "
|
|
50
|
+
"$": ["styles.css", "../../../css-components/z-table/styles.css"]
|
|
51
51
|
};
|
|
52
52
|
}
|
|
53
53
|
static get styleUrls() {
|
|
54
54
|
return {
|
|
55
|
-
"$": ["styles.css", "
|
|
55
|
+
"$": ["styles.css", "../../../css-components/z-table/styles.css"]
|
|
56
56
|
};
|
|
57
57
|
}
|
|
58
58
|
static get properties() {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/components/deprecated/table/z-table/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAsB,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC,EAAC,MAAM,eAAe,CAAC;AAC3F,OAAO,kBAAkB,CAAC;AAC1B,OAAO,kBAAkB,CAAC;AAC1B,OAAO,kBAAkB,CAAC;AAC1B,OAAO,eAAe,CAAC;AAEvB;;;GAGG;AAMH,MAAM,OAAO,MAAM;IALnB;QAQE;;WAEG;QAEH,aAAQ,GAAG,KAAK,CAAC;QAEjB;;WAEG;QAEH,eAAU,GAAG,KAAK,CAAC;KAwCpB;IAtCS,gBAAgB;QACtB,IAAI,CAAC,UAAU,GAAG,IAAI,CAAC,IAAI,CAAC,gBAAgB,CAAC,kBAAkB,CAAC,CAAC,MAAM,GAAG,CAAC,CAAC;IAC9E,CAAC;IAID;;OAEG;IACH,iBAAiB;QACf,IAAI,CAAC,0BAA0B,GAAG,IAAI,gBAAgB,CAAC,GAAG,EAAE;YAC1D,IAAI,CAAC,gBAAgB,EAAE,CAAC;QAC1B,CAAC,CAAC,CAAC;QACH,IAAI,CAAC,0BAA0B,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,EAAE;YACjD,SAAS,EAAE,IAAI;YACf,OAAO,EAAE,IAAI;YACb,UAAU,EAAE,IAAI;YAChB,eAAe,EAAE,CAAC,YAAY,CAAC;YAC/B,iBAAiB,EAAE,KAAK;SACzB,CAAC,CAAC;IACL,CAAC;IAED,oBAAoB;;QAClB,MAAA,IAAI,CAAC,0BAA0B,0CAAE,UAAU,EAAE,CAAC;IAChD,CAAC;IAED,MAAM;QACJ,OAAO,CACL,EAAC,IAAI,qDAAC,UAAU,EAAE,IAAI,CAAC,UAAU;YAC/B,4DACE,KAAK,EAAC,OAAO,EACb,IAAI,EAAC,OAAO;gBAEZ,8DAAa,CACT,CACD,CACR,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import {Component, ComponentInterface, Element, Host, Prop, State, h} from \"@stencil/core\";\nimport \"../z-tbody/index\";\nimport \"../z-tfoot/index\";\nimport \"../z-thead/index\";\nimport \"../z-tr/index\";\n\n/**\n * ZTable component.\n * @slot - Table content (`z-thead`, `z-tbody`, `z-tfoot`, `z-tr`).\n */\n@Component({\n tag: \"z-table\",\n styleUrls: [\"styles.css\", \"../../../css-components/z-table/styles.css\"],\n shadow: true,\n})\nexport class ZTable implements ComponentInterface {\n @Element() host: HTMLZTableElement;\n\n /**\n * Whether the table cells should show a border between them.\n */\n @Prop({reflect: true})\n bordered = false;\n\n /**\n * Whether the table contains some expandable rows.\n */\n @State()\n expandable = false;\n\n private updateExpandable(): void {\n this.expandable = this.host.querySelectorAll(\"z-tr[expandable]\").length > 0;\n }\n\n private expandableMutationObserver: MutationObserver;\n\n /**\n * Setup the table creating a mutation observer for the expandable attribute.\n */\n componentWillLoad(): void {\n this.expandableMutationObserver = new MutationObserver(() => {\n this.updateExpandable();\n });\n this.expandableMutationObserver.observe(this.host, {\n childList: true,\n subtree: true,\n attributes: true,\n attributeFilter: [\"expandable\"],\n attributeOldValue: false,\n });\n }\n\n disconnectedCallback(): void {\n this.expandableMutationObserver?.disconnect();\n }\n\n render(): HTMLZTableElement {\n return (\n <Host expandable={this.expandable}>\n <div\n class=\"table\"\n role=\"table\"\n >\n <slot></slot>\n </div>\n </Host>\n );\n }\n}\n"]}
|
|
@@ -5,18 +5,18 @@ import { Host, h } from "@stencil/core";
|
|
|
5
5
|
*/
|
|
6
6
|
export class ZTbody {
|
|
7
7
|
render() {
|
|
8
|
-
return (h(Host, { key: '
|
|
8
|
+
return (h(Host, { key: '5dab686ef543637640d464ad532250d642f73508', role: "rowgroup" }, h("slot", { key: '36c4272ae7ba5eee71ffc682ca0d086c1a6cdc07' })));
|
|
9
9
|
}
|
|
10
10
|
static get is() { return "z-tbody"; }
|
|
11
11
|
static get encapsulation() { return "shadow"; }
|
|
12
12
|
static get originalStyleUrls() {
|
|
13
13
|
return {
|
|
14
|
-
"$": ["styles.css", "
|
|
14
|
+
"$": ["styles.css", "../../../css-components/z-table/styles.css"]
|
|
15
15
|
};
|
|
16
16
|
}
|
|
17
17
|
static get styleUrls() {
|
|
18
18
|
return {
|
|
19
|
-
"$": ["styles.css", "
|
|
19
|
+
"$": ["styles.css", "../../../css-components/z-table/styles.css"]
|
|
20
20
|
};
|
|
21
21
|
}
|
|
22
22
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/components/deprecated/table/z-tbody/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAsB,IAAI,EAAE,CAAC,EAAC,MAAM,eAAe,CAAC;AAErE;;;GAGG;AAMH,MAAM,OAAO,MAAM;IACjB,MAAM;QACJ,OAAO,CACL,EAAC,IAAI,qDAAC,IAAI,EAAC,UAAU;YACnB,8DAAa,CACR,CACR,CAAC;IACJ,CAAC;;;;;;;;;CACF","sourcesContent":["import {Component, ComponentInterface, Host, h} from \"@stencil/core\";\n\n/**\n * ZTbody component.\n * @slot - ZTbody content (`z-tr`).\n */\n@Component({\n tag: \"z-tbody\",\n styleUrls: [\"styles.css\", \"../../../css-components/z-table/styles.css\"],\n shadow: true,\n})\nexport class ZTbody implements ComponentInterface {\n render(): HTMLZTbodyElement {\n return (\n <Host role=\"rowgroup\">\n <slot></slot>\n </Host>\n );\n }\n}\n"]}
|
|
@@ -11,18 +11,18 @@ export class ZTfoot {
|
|
|
11
11
|
this.sticky = false;
|
|
12
12
|
}
|
|
13
13
|
render() {
|
|
14
|
-
return (h(Host, { key: '
|
|
14
|
+
return (h(Host, { key: 'a5e96868b6f2f28cd25fe134b8346f0f9d800de1', role: "rowgroup", tabIndex: -1 }, h("slot", { key: 'bbb1478d0fdd700bf4e9601eb7d008f54ff02cb3' })));
|
|
15
15
|
}
|
|
16
16
|
static get is() { return "z-tfoot"; }
|
|
17
17
|
static get encapsulation() { return "shadow"; }
|
|
18
18
|
static get originalStyleUrls() {
|
|
19
19
|
return {
|
|
20
|
-
"$": ["styles.css", "
|
|
20
|
+
"$": ["styles.css", "../../../css-components/z-table/styles.css"]
|
|
21
21
|
};
|
|
22
22
|
}
|
|
23
23
|
static get styleUrls() {
|
|
24
24
|
return {
|
|
25
|
-
"$": ["styles.css", "
|
|
25
|
+
"$": ["styles.css", "../../../css-components/z-table/styles.css"]
|
|
26
26
|
};
|
|
27
27
|
}
|
|
28
28
|
static get properties() {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/components/deprecated/table/z-tfoot/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAsB,IAAI,EAAE,IAAI,EAAE,CAAC,EAAC,MAAM,eAAe,CAAC;AAE3E;;;GAGG;AAMH,MAAM,OAAO,MAAM;IALnB;QAME;;WAEG;QAEH,WAAM,GAAG,KAAK,CAAC;KAYhB;IAVC,MAAM;QACJ,OAAO,CACL,EAAC,IAAI,qDACH,IAAI,EAAC,UAAU,EACf,QAAQ,EAAE,CAAC,CAAC;YAEZ,8DAAa,CACR,CACR,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import {Component, ComponentInterface, Host, Prop, h} from \"@stencil/core\";\n\n/**\n * ZTFoot component.\n * @slot - ZTFoot content (`z-tr`).\n */\n@Component({\n tag: \"z-tfoot\",\n styleUrls: [\"styles.css\", \"../../../css-components/z-table/styles.css\"],\n shadow: true,\n})\nexport class ZTfoot implements ComponentInterface {\n /**\n * If true, the footer will be stuck to the bottom of the table.\n */\n @Prop({reflect: true})\n sticky = false;\n\n render(): void {\n return (\n <Host\n role=\"rowgroup\"\n tabIndex={-1}\n >\n <slot></slot>\n </Host>\n );\n }\n}\n"]}
|
|
@@ -15,18 +15,18 @@ export class ZThead {
|
|
|
15
15
|
this.isFocusable = false;
|
|
16
16
|
}
|
|
17
17
|
render() {
|
|
18
|
-
return (h(Host, { key: '
|
|
18
|
+
return (h(Host, { key: '7344ed54861bf06e14d98898db49edb576668e9b', role: "rowgroup", tabIndex: this.isFocusable ? 0 : -1 }, h("slot", { key: '72be057fd58c9da5280dee692324cb5192865dba' })));
|
|
19
19
|
}
|
|
20
20
|
static get is() { return "z-thead"; }
|
|
21
21
|
static get encapsulation() { return "shadow"; }
|
|
22
22
|
static get originalStyleUrls() {
|
|
23
23
|
return {
|
|
24
|
-
"$": ["styles.css", "
|
|
24
|
+
"$": ["styles.css", "../../../css-components/z-table/styles.css"]
|
|
25
25
|
};
|
|
26
26
|
}
|
|
27
27
|
static get styleUrls() {
|
|
28
28
|
return {
|
|
29
|
-
"$": ["styles.css", "
|
|
29
|
+
"$": ["styles.css", "../../../css-components/z-table/styles.css"]
|
|
30
30
|
};
|
|
31
31
|
}
|
|
32
32
|
static get properties() {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/components/deprecated/table/z-thead/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAsB,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC,EAAC,MAAM,eAAe,CAAC;AAEpF;;;GAGG;AAMH,MAAM,OAAO,MAAM;IALnB;QAQE;;WAEG;QAEH,WAAM,GAAG,KAAK,CAAC;QAEf;;WAEG;QAEH,gBAAW,GAAG,KAAK,CAAC;KAYrB;IAVC,MAAM;QACJ,OAAO,CACL,EAAC,IAAI,qDACH,IAAI,EAAC,UAAU,EACf,QAAQ,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;YAEnC,8DAAa,CACR,CACR,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import {Component, ComponentInterface, Element, Host, Prop, h} from \"@stencil/core\";\n\n/**\n * ZThead component.\n * @slot - ZThead content (`z-tr`).\n */\n@Component({\n tag: \"z-thead\",\n styleUrls: [\"styles.css\", \"../../../css-components/z-table/styles.css\"],\n shadow: true,\n})\nexport class ZThead implements ComponentInterface {\n @Element() host: HTMLZTheadElement;\n\n /**\n * If true, the header will be stuck to the top of the table.\n */\n @Prop({reflect: true})\n sticky = false;\n\n /**\n * The element is focusable\n */\n @Prop({reflect: true})\n isFocusable = false;\n\n render(): HTMLZTheadElement {\n return (\n <Host\n role=\"rowgroup\"\n tabIndex={this.isFocusable ? 0 : -1}\n >\n <slot></slot>\n </Host>\n );\n }\n}\n"]}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Host, h, } from "@stencil/core";
|
|
2
|
-
import { randomId } from "
|
|
2
|
+
import { randomId } from "../../../../utils/utils";
|
|
3
3
|
import "../cells/z-td/index";
|
|
4
4
|
import "../cells/z-th/index";
|
|
5
5
|
/**
|
|
@@ -65,18 +65,18 @@ export class ZTr {
|
|
|
65
65
|
this.updateColumns();
|
|
66
66
|
}
|
|
67
67
|
render() {
|
|
68
|
-
return (h(Host, { key: '
|
|
68
|
+
return (h(Host, { key: '158f25d1746e340981e4facebe0f7dfd2106222a', role: "row", tabIndex: this.expandable ? 0 : undefined, expanded: this.expanded, onClick: this.onRowClick.bind(this), onKeyDown: this.onKeyDown.bind(this) }, h("div", { key: '140ddc0aac009e9e254b5ee281e292dc19326527', class: "z-tr--focus-overlay", "aria-hidden": "true" }), h("div", { key: '8e5b3d3e72cfe09c1ee4f54ffab8805e0e83021c', class: "z-tr--expand-button-container" }, this.expandable && (h("button", { key: 'bd724740ff19d508d33527dbc657b932f73f4421', tabIndex: -1, "aria-expanded": this.expanded ? "true" : "false", "aria-label": this.expanded ? "Comprimi riga" : "Espandi riga", "aria-controls": this.expandableContentId, type: "button" }, h("z-icon", { key: 'd88a988e00c240b85806e9d0ea8d090cb404fab4', name: this.expanded ? "minus-circled" : "plus-circled" })))), h("slot", { key: '83cada789cfd416d9c2062ede5c10b49ac56ae56', onSlotchange: this.updateColumns.bind(this) })));
|
|
69
69
|
}
|
|
70
70
|
static get is() { return "z-tr"; }
|
|
71
71
|
static get encapsulation() { return "shadow"; }
|
|
72
72
|
static get originalStyleUrls() {
|
|
73
73
|
return {
|
|
74
|
-
"$": ["styles.css", "
|
|
74
|
+
"$": ["styles.css", "../../../css-components/z-table/styles.css"]
|
|
75
75
|
};
|
|
76
76
|
}
|
|
77
77
|
static get styleUrls() {
|
|
78
78
|
return {
|
|
79
|
-
"$": ["styles.css", "
|
|
79
|
+
"$": ["styles.css", "../../../css-components/z-table/styles.css"]
|
|
80
80
|
};
|
|
81
81
|
}
|
|
82
82
|
static get properties() {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/components/deprecated/table/z-tr/index.tsx"],"names":[],"mappings":"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","sourcesContent":["import {\n Component,\n ComponentInterface,\n Element,\n Event,\n EventEmitter,\n Host,\n Listen,\n Prop,\n State,\n Watch,\n h,\n} from \"@stencil/core\";\nimport {randomId} from \"../../../../utils/utils\";\nimport \"../cells/z-td/index\";\nimport \"../cells/z-th/index\";\n\n/**\n * ZTr component.\n * When the row is `expandable`, you can set the `prevent-expand` css class on an interactive element inside the row\n * to prevent the row from expanding.\n * @slot - ZTr content (`z-td` or `z-th`).\n */\n@Component({\n tag: \"z-tr\",\n styleUrls: [\"styles.css\", \"../../../css-components/z-table/styles.css\"],\n shadow: true,\n})\nexport class ZTr implements ComponentInterface {\n @Element() host: HTMLZTrElement;\n\n /**\n * Whether the row is expandable.\n * Use a `z-td` as the last cell of the row for the additional content.\n * It will show a button to expand/collapse the row.\n * The last cell will be hidden until the button or row is clicked.\n *\n * If some element inside the expandable row contains the `prevent-expand` css class,\n * the row will not expand by clicking that element.\n */\n @Prop({reflect: true})\n expandable = false;\n\n /**\n * Whether the row is currently expanded.\n */\n @State()\n expanded = false;\n\n /**\n * HTML Id of the expandable content.\n * It is used to link the button to the content through the `aria-controls` attribute.\n */\n @State()\n expandableContentId: string;\n\n /** Row has been expanded */\n @Event()\n expand: EventEmitter;\n\n @Watch(\"expandable\")\n @Listen(\"colspanchange\")\n protected updateColumns(): void {\n const cells = Array.from(this.host.querySelectorAll<HTMLZTdElement | HTMLZThElement>(\"z-td, z-th\"));\n\n if (this.expandable) {\n const expandableContent = cells.pop();\n expandableContent.id = expandableContent.id || `z-tr-expandable-content-${randomId()}`;\n this.expandableContentId = expandableContent.id;\n }\n\n const columns = cells.map((cell) => cell.colspan || 1).reduce((a, b) => a + b, 0);\n this.host.style.setProperty(\"--columns\", `${columns}`);\n }\n\n /**\n * Handle click on row.\n * Skip expansion if the click is on a element with `prevent-expand` css class.\n */\n private onRowClick(event: MouseEvent): void {\n const preventExpand = (event.target as HTMLElement).closest(\".prevent-expand\");\n if (!this.expandable || preventExpand) {\n return;\n }\n\n this.expanded = !this.expanded;\n this.expand.emit({expanded: this.expanded});\n }\n\n private onKeyDown(event: KeyboardEvent): void {\n if (!this.expandable) {\n return;\n }\n\n const active = document.activeElement;\n if (active !== this.host) {\n return;\n }\n\n if (event.key === \"Enter\" || event.key === \" \") {\n event.preventDefault();\n this.expanded = !this.expanded;\n this.expand.emit({expanded: this.expanded});\n }\n }\n\n componentWillLoad(): void {\n this.updateColumns();\n }\n\n render(): HTMLZTrElement {\n return (\n <Host\n role=\"row\"\n tabIndex={this.expandable ? 0 : undefined}\n expanded={this.expanded}\n onClick={this.onRowClick.bind(this)}\n onKeyDown={this.onKeyDown.bind(this)}\n >\n <div\n class=\"z-tr--focus-overlay\"\n aria-hidden=\"true\"\n ></div>\n <div class=\"z-tr--expand-button-container\">\n {this.expandable && (\n <button\n tabIndex={-1}\n aria-expanded={this.expanded ? \"true\" : \"false\"}\n aria-label={this.expanded ? \"Comprimi riga\" : \"Espandi riga\"}\n aria-controls={this.expandableContentId}\n type=\"button\"\n >\n <z-icon name={this.expanded ? \"minus-circled\" : \"plus-circled\"}></z-icon>\n </button>\n )}\n </div>\n <slot onSlotchange={this.updateColumns.bind(this)}></slot>\n </Host>\n );\n }\n}\n"]}
|
|
@@ -12,12 +12,12 @@ export class ZDragdropArea {
|
|
|
12
12
|
}
|
|
13
13
|
}
|
|
14
14
|
render() {
|
|
15
|
-
return (h(Host, { key: '
|
|
15
|
+
return (h(Host, { key: '66f5fb3bcc31650e3d290af5ab076988238c4a4d', class: { dragover: this.dragging }, onDragOver: (e) => {
|
|
16
16
|
e.preventDefault();
|
|
17
17
|
this.dragging = true;
|
|
18
18
|
}, onDragLeave: () => {
|
|
19
19
|
this.dragging = false;
|
|
20
|
-
}, onDrop: this.onDrop.bind(this) }, h("div", { key: '
|
|
20
|
+
}, onDrop: this.onDrop.bind(this) }, h("div", { key: 'e5cdaacb8a2083d4b20203b5722a99e0fd8abd5b', class: "dragover-container" }, h("z-button", { key: '59c8a32ac1df38991840b53cbf5dcaf0ca687e9c' }, this.dragAndDropLabel)), h("slot", { key: 'f9e8745147fdd87c620c3ad5037b401abdf42e2d' })));
|
|
21
21
|
}
|
|
22
22
|
static get is() { return "z-dragdrop-area"; }
|
|
23
23
|
static get encapsulation() { return "shadow"; }
|
|
@@ -30,7 +30,7 @@ export class ZFile {
|
|
|
30
30
|
return this.ellipsis.offsetWidth < this.ellipsis.scrollWidth;
|
|
31
31
|
}
|
|
32
32
|
render() {
|
|
33
|
-
return (h(Host, { key: '
|
|
33
|
+
return (h(Host, { key: '28f55431def45d56efe917e949de7dedc05a7989' }, this.allowPopover && (h("z-popover", { key: '80116f0fa1b80d746fe957ab3aa88495684c6592', open: this.popoverVisible, position: PopoverPosition.AUTO, bindTo: this.chip }, h("span", { key: 'aefa6fcad0a69e109e5215154b839b0e07d34f99', class: "body-5 tooltip-content" }, this.ellipsis.innerText))), h("z-chip", { key: 'd29cda7f421bd066b5082a1ff7999a6eae3a09f2', ref: (el) => (this.chip = el), id: `chip-${this.fileNumber}`, interactiveIcon: "multiply-circled", type: ZChipType.DEFAULT }, h("span", { key: '8a57b7285f555807923aee45b9651965bae4254d', ref: (el) => (this.ellipsis = el), tabIndex: -1 }, this.fileName))));
|
|
34
34
|
}
|
|
35
35
|
static get is() { return "z-file"; }
|
|
36
36
|
static get encapsulation() { return "scoped"; }
|
|
@@ -26,7 +26,7 @@ export class ZList {
|
|
|
26
26
|
});
|
|
27
27
|
}
|
|
28
28
|
render() {
|
|
29
|
-
return (h(Host, { key: '
|
|
29
|
+
return (h(Host, { key: 'aeaf7ef699223b8f5da68f49d8eb6ea5ea5cebb1', role: this.htmlRole }, h("slot", { key: '942882c5e4f03ef9dd64ec255b4cd8b8c5c2c107' })));
|
|
30
30
|
}
|
|
31
31
|
static get is() { return "z-list"; }
|
|
32
32
|
static get encapsulation() { return "shadow"; }
|
|
@@ -153,7 +153,7 @@ export class ZListElement {
|
|
|
153
153
|
}
|
|
154
154
|
}
|
|
155
155
|
render() {
|
|
156
|
-
return (h(Host, { key: '
|
|
156
|
+
return (h(Host, { key: '08ed403eb2e275906b9cce38cd09d8ad26683efc', "aria-expanded": this.expandable ? this.showInnerContent : null, onClick: this.handleClick, onFocus: () => this.ariaDescendantFocus.emit(this.listElementId), onKeyDown: this.handleKeyDown, clickable: this.clickable && !this.disabled, tabIndex: this.hasTreeItems ? undefined : this.htmlTabindex, role: this.hasTreeItems ? "none" : this.htmlRole }, h("div", { key: '64c3b6826652d98b557f32098ab87b3eccabed93', class: this.hasTreeItems ? "tree-element-container" : "container", style: !this.disabled && { color: `var(--${this.color})` }, tabindex: "-1", id: `z-list-element-id-${this.listElementId}`, part: "list-item-container" }, h("div", { key: '222187f25d69dd2fb6128ce6a0c5c81dd6a05b31', class: "z-list-element-container" }, this.renderExpandableButton(), this.renderContent()), this.renderExpandedContent()), this.dividerType === ListDividerType.ELEMENT && (h("z-divider", { key: '1ff298c5fc086f1e303194b69de2324e5448508f', class: { "z-tree-list-divider": this.hasTreeItems }, color: this.dividerColor, size: this.dividerSize }))));
|
|
157
157
|
}
|
|
158
158
|
static get is() { return "z-list-element"; }
|
|
159
159
|
static get encapsulation() { return "shadow"; }
|
|
@@ -45,11 +45,11 @@ export class ZListGroup {
|
|
|
45
45
|
this.hasHeader = !!this.host.querySelector('[slot="header-title"]');
|
|
46
46
|
}
|
|
47
47
|
render() {
|
|
48
|
-
return (h(Host, { key: '
|
|
48
|
+
return (h(Host, { key: '6c87868fe2ef8cb8cba06bea94d4eaca25c3f0e7', role: this.htmlRole }, h("div", { key: 'bf277438554dd56b141040c8af5e2171eeedfdb7', class: {
|
|
49
49
|
"z-list-group-header-container": true,
|
|
50
50
|
"has-header": this.hasHeader && !this.hasTreeItems,
|
|
51
51
|
"grouped-tree-list-header": this.hasTreeItems,
|
|
52
|
-
} }, h("slot", { key: '
|
|
52
|
+
} }, h("slot", { key: 'c3bf82239b5f0418e10bffbc4e1e26e4c3172dab', name: "header-title" }), this.dividerType === ListDividerType.HEADER && (h("z-divider", { key: '7127f3a0d6f501f305431d57068da428ccf8b90b', color: this.dividerColor, size: this.dividerSize }))), h("slot", { key: '7dfc72c7992c5f28fce1a204ebabfa2a012b7708' })));
|
|
53
53
|
}
|
|
54
54
|
static get is() { return "z-list-group"; }
|
|
55
55
|
static get encapsulation() { return "shadow"; }
|
|
@@ -93,7 +93,7 @@ export class ZTreeList {
|
|
|
93
93
|
}
|
|
94
94
|
render() {
|
|
95
95
|
const hasClickableItems = this.parsedItems.some((item) => !!item.url);
|
|
96
|
-
return (h(Host, { key: '
|
|
96
|
+
return (h(Host, { key: 'd4f93f20f84ac193c4b291b0cc16d4a0e6838d49', class: "tree-list", role: hasClickableItems ? "navigation" : "none", "aria-hidden": hasClickableItems ? undefined : "true", "aria-labelledby": this.htmlAriaLabelledby }, h("div", { key: '4d0f11bb82855843beabb2eb0ddaa30ca39d8524', tabIndex: -1, role: hasClickableItems ? "tree" : "none", "aria-hidden": hasClickableItems ? undefined : "true", "aria-label": this.htmlSectionTitle }, this.parsedItems.map((item, key) => this.renderTreeList(item, `${key}`)))));
|
|
97
97
|
}
|
|
98
98
|
static get is() { return "z-tree-list"; }
|
|
99
99
|
static get encapsulation() { return "shadow"; }
|
|
@@ -63,7 +63,7 @@ export class ZAccordion {
|
|
|
63
63
|
this.checkSlottedTags();
|
|
64
64
|
}
|
|
65
65
|
render() {
|
|
66
|
-
return (h("details", { key: '
|
|
66
|
+
return (h("details", { key: '9dbc24c1558cb8dd8278224d4721a173dc6050f3', ref: (elm) => (this.detailsElm = elm), onToggle: this.onDetailsToggle.bind(this), open: this.open }, h("summary", { key: '191e306e811898c6e199664af41746a7f7fc6885', tabIndex: this.isDisabled ? -1 : null, part: "summary" }, this.icon && (h("z-icon", { key: '8562f6af8717ec125a8be1def19816c67437a3d0', class: "z-accordion-label-icon", name: this.icon })), h("span", { key: '0a863e554c09d43fe7c778fb15266232c45e5c8c', class: "z-accordion-label" }, this.label), this.hasSlottedTags && (h("span", { key: 'ec62cf2331385b745e9abde47b763c4f76291cc7', class: "z-accordion-tags" }, h("slot", { key: 'f4e709e2eeb465595e96fe24b4a0bda02f6eaa84', name: "tag", onSlotchange: () => this.checkSlottedTags() }))), h("z-icon", { key: 'dec4e49f0d1fee8f59d38b9d97f98aad3affd8aa', class: "z-accordion-chevron", name: this.open ? "chevron-up" : "chevron-down" })), !this.isDisabled && (h("div", { key: '21a60ab43db780e601d886f6d7ab3a63e2e102a8', class: "z-accordion-content", part: "content" }, h("slot", { key: '8a43604d836c04288661b83fc479cec799143cfc' })))));
|
|
67
67
|
}
|
|
68
68
|
static get is() { return "z-accordion"; }
|
|
69
69
|
static get encapsulation() { return "shadow"; }
|
|
@@ -71,7 +71,7 @@ export class ZAnchorNavigation {
|
|
|
71
71
|
window.removeEventListener("hashchange", this.setCurrent);
|
|
72
72
|
}
|
|
73
73
|
render() {
|
|
74
|
-
return (h(Host, { key: '
|
|
74
|
+
return (h(Host, { key: '89751109cccb5d8bef38667bbfdfdc28e1a1febf', collapsed: this.collapsed, class: "z-scrollbar" }, h("z-button", { key: '2b5cbb4358af217a87d52c52a24326c316dbc56b', class: "toggle", size: ControlSize.SMALL, variant: ButtonVariant.SECONDARY, icon: this.collapsed ? "chevron-up" : "chevron-down", onClick: this.toggleCollapsed.bind(this) }, this.collapsedLabel), h("nav", { key: '3f5560712a71aaa112b1258b2177efcbb260487d', ref: (el) => (this.nav = el) }, h("slot", { key: 'da9a478eb5667533ffc14e3ea7f4c28aba30218a' }))));
|
|
75
75
|
}
|
|
76
76
|
static get is() { return "z-anchor-navigation"; }
|
|
77
77
|
static get originalStyleUrls() {
|
|
@@ -274,7 +274,7 @@ export class ZAppHeader {
|
|
|
274
274
|
}
|
|
275
275
|
render() {
|
|
276
276
|
const hasTopSubtitle = this.hasSlot("top-subtitle");
|
|
277
|
-
return (h(Host, { key: '
|
|
277
|
+
return (h(Host, { key: 'a464234ec0ce538282727aa83c43d30b5ea23ffa', "menu-length": this.menuLength }, h("div", { key: '0f41b7571c5e1acf4298910ab415ca986616a40e', class: { "heading-panel": true, "has-menubar": this.menuLength > 0 && !this.enableOffcanvas }, ref: (el) => (this.container = el) }, h("div", { key: '9b9d45789be83c2db23e035a72b60cd4910b68b2', class: { "heading-container": true, "has-top-subtitle": hasTopSubtitle } }, ((!this.enableSearch && this.isMobile) || !this.isMobile) && (h("div", { key: 'bd1196659bc19936603de3994011b82ea7649147', class: { "top-subtitle": true, "has-product-logo": hasTopSubtitle && this.hasSlot("product-logo") } }, h("slot", { key: '5d50957c5b91c138ad21efb849fdd371e93057ae', name: "top-subtitle" }))), h("div", { key: '47a21fe5a5b508fe23cf4e185813743e8dce0fab', class: "heading-title" }, h("slot", { key: '1c027312231d68cb2ebc625b6aeed177d2e22cf4', name: "menu-button" }, this.renderMenuButton()), !this._stuck && this.renderProductLogos(), h("slot", { key: '6917fa59229dc3d80b5c3ca472bd14b671be9e27', name: "title" }), this.enableSearch && !this.isMobile && this.renderSeachbar()), this.enableSearch && this.isMobile && this.renderSeachbar()), h("nav", { key: 'e3ac84ff0933a8955fa7433f8ea0ae94e5eec080', class: "menu-container", "aria-label": this.title || undefined }, this.canShowMenu && (h("div", { key: '1f3461f8b2b99d8515774265c07ddcb850ed7757', role: "menubar", "aria-label": this.title || undefined }, h("slot", { key: 'eda425c16602287225554fcca0c65661b46e0366', name: "menu", onSlotchange: this.collectMenuElements }))))), this.renderOffcanvas(), this._stuck && this.renderStuck()));
|
|
278
278
|
}
|
|
279
279
|
static get is() { return "z-app-header"; }
|
|
280
280
|
static get encapsulation() { return "shadow"; }
|
|
@@ -6,7 +6,7 @@ export class ZAriaAlert {
|
|
|
6
6
|
this.mode = ZAriaAlertMode.POLITE;
|
|
7
7
|
}
|
|
8
8
|
render() {
|
|
9
|
-
return (h(Host, { key: '
|
|
9
|
+
return (h(Host, { key: '89e5c5f82f37b016ae8df7949c2f8f4c29c4de41', "aria-live": this.mode, "aria-atomic": "true", "aria-relevant": "additions" }, h("slot", { key: '794641d2a1cc26567755a7ab12b389446c4ef500' })));
|
|
10
10
|
}
|
|
11
11
|
static get is() { return "z-aria-alert"; }
|
|
12
12
|
static get properties() {
|
|
@@ -25,10 +25,10 @@ export class ZAvatar {
|
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
27
|
render() {
|
|
28
|
-
return (h(Host, { key: '
|
|
28
|
+
return (h(Host, { key: 'd9d28e0b7d72b7ece067fa8195c96c00be2fa1f7', class: { [this.size]: true, [`body-${this.getTextSize()}-sb`]: true }, style: {
|
|
29
29
|
color: `var(--${this.textColor})`,
|
|
30
30
|
backgroundColor: `var(--${this.backgroundColor})`,
|
|
31
|
-
} }, this.text && !this.image && h("span", { key: '
|
|
31
|
+
} }, this.text && !this.image && h("span", { key: '98969977ff87ee66004e581cb22a824566355054' }, this.text.substring(0, 2)), this.image && (h("img", { key: '9710677913311401b39258f3a1eedbfca55f2ea2', src: this.image, onError: () => (this.image = "") }))));
|
|
32
32
|
}
|
|
33
33
|
static get is() { return "z-avatar"; }
|
|
34
34
|
static get encapsulation() { return "shadow"; }
|
|
@@ -18,7 +18,7 @@ export class ZBookCover {
|
|
|
18
18
|
render() {
|
|
19
19
|
var _a;
|
|
20
20
|
const hasAlt = !!this.coverAlt;
|
|
21
|
-
return (h(Host, { key: '
|
|
21
|
+
return (h(Host, { key: '2e704ce8a7cc1a27bc3cd7dbfba5422a1ba717c3' }, this.multiple && (h(Fragment, { key: 'b112f04f988d1c1c1a5a7effc816579445f5233a' }, h("div", { key: '96b9e8b1a0e721461e53fe542e13ff1a368f27d5', class: "shifted-stack-cover stack-cover-2" }), h("div", { key: 'a48e416e977a8cc8457e8f3458731d7785608047', class: "shifted-stack-cover stack-cover-1" }))), h("div", { key: '8cfcd4827f310469ece7e6c0a05f80f2dc19c7af', class: "cover-container" }, h("img", { key: '8253becdcd845e61ee5f0faca0d2a5ec67a5b534', src: (_a = this.cover) !== null && _a !== void 0 ? _a : defaultFallbackCover, "aria-hidden": hasAlt ? undefined : "true", alt: hasAlt ? this.coverAlt : "", onError: () => (this.cover = this.fallbackCover || defaultFallbackCover) }), h("slot", { key: '3dad94c7189758f2ce33b40e8f0d6dfaa04c6a3e', name: "coverOverlay" }))));
|
|
22
22
|
}
|
|
23
23
|
static get is() { return "z-book-cover"; }
|
|
24
24
|
static get encapsulation() { return "shadow"; }
|
|
@@ -205,10 +205,10 @@ export class ZBreadcrumb {
|
|
|
205
205
|
];
|
|
206
206
|
}
|
|
207
207
|
render() {
|
|
208
|
-
return (h(Host, { key: '
|
|
208
|
+
return (h(Host, { key: 'fb5161f12a17f636f078a65f8824cacf019710c3', style: { "--line-clamp-popover": `${this.overflowMenuItemRows}` } }, h("nav", { key: '6c010fb71ec9eb24b88e0dbe43e70697d0bdeb13', ref: (val) => (this.wrapElement = val), "aria-label": "Breadcrumb", class: {
|
|
209
209
|
semibold: this.pathStyle === BreadcrumbPathStyle.SEMIBOLD,
|
|
210
210
|
underlined: this.pathStyle === BreadcrumbPathStyle.UNDERLINED,
|
|
211
|
-
} }, h("ol", { key: '
|
|
211
|
+
} }, h("ol", { key: 'e31bc9b95a11f9a58f060d2df96be17dc9d3b4d1' }, this.viewPortWidth === Device.MOBILE ? this.renderMobileItems() : this.renderItems()))));
|
|
212
212
|
}
|
|
213
213
|
static get is() { return "z-breadcrumb"; }
|
|
214
214
|
static get encapsulation() { return "shadow"; }
|
|
@@ -36,7 +36,7 @@ export class ZButtonSort {
|
|
|
36
36
|
return this.ellipsis.offsetWidth < this.ellipsis.scrollWidth;
|
|
37
37
|
}
|
|
38
38
|
render() {
|
|
39
|
-
return (h("button", { key: '
|
|
39
|
+
return (h("button", { key: '3696ec01ac436b8a2e3e269e0e21a73420becf83', title: this.setButtonTitle(), id: this.buttonid, class: { selected: this.isselected }, onClick: () => this.emitButtonSortClick() }, h("span", { key: '2e1d24a132bd74539fc27723cd4835670b453a06', ref: (el) => (this.ellipsis = el), class: "ellipsis" }, !this.sortasc && this.desclabel ? this.desclabel : this.label), h("span", { key: 'f65e8317f60c4797c860988fb28c143346930290', class: "counter" }, this.counter && ` (${this.counter})`), h("span", { key: '4ed9c2cd7751114b5660285ba9c98e9b03fc8cb7', class: "sort" }, this.sortasc ? this.sortlabelasc : this.sortlabeldesc), h("z-icon", { key: '5484e68803adf1b9ca9ad60e4ab4749a0992b69f', name: "caret-up-down", width: 16, height: 16 })));
|
|
40
40
|
}
|
|
41
41
|
static get is() { return "z-button-sort"; }
|
|
42
42
|
static get encapsulation() { return "shadow"; }
|
|
@@ -10,12 +10,12 @@ export class ZChip {
|
|
|
10
10
|
this.disabled = false;
|
|
11
11
|
}
|
|
12
12
|
render() {
|
|
13
|
-
return (h("div", { key: '
|
|
13
|
+
return (h("div", { key: '3e676e161c546ddde7eb5afe15a5882d3032287f', class: {
|
|
14
14
|
"z-chip-container": true,
|
|
15
15
|
"z-chip-interactive": !!this.interactiveIcon,
|
|
16
16
|
[this.type]: true,
|
|
17
17
|
[this.variant]: true,
|
|
18
|
-
}, "aria-disabled": this.disabled ? "true" : undefined }, this.icon && h("z-icon", { key: '
|
|
18
|
+
}, "aria-disabled": this.disabled ? "true" : undefined }, this.icon && h("z-icon", { key: '24dfafb93da0a96cb8465bece55ce8e70ce0e944', name: this.icon }), h("slot", { key: 'a943ecedf45eeeb3fae20139afa32161c6fbe8dd' }), this.interactiveIcon && (h("button", { key: '314ffaecd11c98170e7d555623ef1247159ff9b8', type: "button", onClick: () => this.interactiveIconClick.emit(), "aria-label": this.htmlAriaLabel || undefined, disabled: this.disabled }, h("z-icon", { key: '12e3aca5aa550ea1398ff56fab0f50157c9cc50c', class: "interactive-icon", name: this.interactiveIcon })))));
|
|
19
19
|
}
|
|
20
20
|
static get is() { return "z-chip"; }
|
|
21
21
|
static get encapsulation() { return "scoped"; }
|
|
@@ -192,7 +192,7 @@ export class ZColorPicker {
|
|
|
192
192
|
this.colorKeysByRow = this.sortColorKeysByRow();
|
|
193
193
|
}
|
|
194
194
|
render() {
|
|
195
|
-
return (h(Host, { key: '
|
|
195
|
+
return (h(Host, { key: 'f667faadf21b5b31093f9287fe1bd481e02a2474', role: "listbox", "aria-label": this.htmlAriaLabel || LOCALES[this.lng]["Select a color"], tabIndex: 0 }, this.colorKeysByRow.map((colorKey) => {
|
|
196
196
|
var _a;
|
|
197
197
|
return (h("button", { class: "color-swatch", "data-color": colorKey, role: "option", "aria-selected": ((_a = this.selectedColor) === null || _a === void 0 ? void 0 : _a.toUpperCase()) === colorKey.toUpperCase() ? "true" : "false", tabIndex: -1, onClick: () => (this.selectedColor = colorKey), disabled: this.disableTransparent && colorKey === "#FFFFFF00" }, h("div", { class: "color-swatch", role: "img", "aria-roledescription": LOCALES[this.lng]["Color swatch"], "aria-label": ColorPickerPalette[colorKey][this.lng], title: ColorPickerPalette[colorKey][this.lng], style: { backgroundColor: colorKey } })));
|
|
198
198
|
})));
|