@oiz/stzh-components 2.7.0 → 2.8.0-alpha
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{app-globals-c9c5ef57.js → app-globals-7c3a8979.js} +2 -2
- package/dist/cjs/{app-globals-c9c5ef57.js.map → app-globals-7c3a8979.js.map} +1 -1
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{string-utils-a867b99d.js → string-utils-2575ea7f.js} +14 -1
- package/dist/cjs/string-utils-2575ea7f.js.map +1 -0
- package/dist/cjs/stzh-actions.cjs.entry.js +1 -1
- package/dist/cjs/{stzh-sortable.cjs.entry.js → stzh-actionset_4.cjs.entry.js} +567 -3
- package/dist/cjs/stzh-actionset_4.cjs.entry.js.map +1 -0
- package/dist/cjs/stzh-amount.cjs.entry.js +4 -3
- package/dist/cjs/stzh-amount.cjs.entry.js.map +1 -1
- package/dist/cjs/stzh-appnav.cjs.entry.js +1 -1
- package/dist/cjs/stzh-audio.cjs.entry.js +1 -1
- package/dist/cjs/stzh-badge_3.cjs.entry.js +1 -1
- package/dist/cjs/stzh-buttongroup.cjs.entry.js +1 -1
- package/dist/cjs/stzh-buttongroup.cjs.entry.js.map +1 -1
- package/dist/cjs/stzh-carousel.cjs.entry.js +1 -1
- package/dist/cjs/stzh-cell.cjs.entry.js +1 -1
- package/dist/cjs/stzh-cell.cjs.entry.js.map +1 -1
- package/dist/cjs/stzh-checkbox.cjs.entry.js +1 -1
- package/dist/cjs/stzh-checkboxgroup.cjs.entry.js +2 -2
- package/dist/cjs/stzh-chip-select.cjs.entry.js +149 -0
- package/dist/cjs/stzh-chip-select.cjs.entry.js.map +1 -0
- package/dist/cjs/stzh-components.cjs.js +2 -2
- package/dist/cjs/stzh-contact.cjs.entry.js +1 -1
- package/dist/cjs/stzh-container.cjs.entry.js +1 -1
- package/dist/cjs/stzh-container.cjs.entry.js.map +1 -1
- package/dist/cjs/stzh-cspace.cjs.entry.js +3 -1
- package/dist/cjs/stzh-cspace.cjs.entry.js.map +1 -1
- package/dist/cjs/stzh-datalist_2.cjs.entry.js +11 -8
- package/dist/cjs/stzh-datalist_2.cjs.entry.js.map +1 -1
- package/dist/cjs/stzh-datatable.cjs.entry.js +32 -8
- package/dist/cjs/stzh-datatable.cjs.entry.js.map +1 -1
- package/dist/cjs/stzh-datepicker_3.cjs.entry.js +6 -5
- package/dist/cjs/stzh-datepicker_3.cjs.entry.js.map +1 -1
- package/dist/cjs/stzh-details.cjs.entry.js +1 -1
- package/dist/cjs/stzh-dialog.cjs.entry.js +1 -1
- package/dist/cjs/stzh-dropdown.cjs.entry.js +4 -2
- package/dist/cjs/stzh-dropdown.cjs.entry.js.map +1 -1
- package/dist/cjs/stzh-figure.cjs.entry.js +1 -1
- package/dist/cjs/stzh-footer.cjs.entry.js +1 -1
- package/dist/cjs/stzh-ghettobox.cjs.entry.js +108 -0
- package/dist/cjs/stzh-ghettobox.cjs.entry.js.map +1 -0
- package/dist/cjs/stzh-header.cjs.entry.js +1 -1
- package/dist/cjs/stzh-hspace.cjs.entry.js +1 -1
- package/dist/cjs/stzh-hspace.cjs.entry.js.map +1 -1
- package/dist/cjs/stzh-input.cjs.entry.js +4 -2
- package/dist/cjs/stzh-input.cjs.entry.js.map +1 -1
- package/dist/cjs/stzh-link.cjs.entry.js +1 -1
- package/dist/cjs/stzh-menu_2.cjs.entry.js +1 -1
- package/dist/cjs/stzh-pagebottom.cjs.entry.js +1 -1
- package/dist/cjs/stzh-pagetitle-hero.cjs.entry.js +1 -1
- package/dist/cjs/stzh-pagetitle.cjs.entry.js +1 -1
- package/dist/cjs/stzh-pagination.cjs.entry.js +86 -0
- package/dist/cjs/stzh-pagination.cjs.entry.js.map +1 -0
- package/dist/cjs/stzh-popover.cjs.entry.js +1 -1
- package/dist/cjs/stzh-readspeaker.cjs.entry.js +1 -1
- package/dist/cjs/stzh-richtext_2.cjs.entry.js +86 -0
- package/dist/cjs/stzh-richtext_2.cjs.entry.js.map +1 -0
- package/dist/cjs/stzh-row.cjs.entry.js +1 -1
- package/dist/cjs/stzh-row.cjs.entry.js.map +1 -1
- package/dist/cjs/stzh-section.cjs.entry.js +1 -1
- package/dist/cjs/stzh-section.cjs.entry.js.map +1 -1
- package/dist/cjs/stzh-share.cjs.entry.js +7 -21
- package/dist/cjs/stzh-share.cjs.entry.js.map +1 -1
- package/dist/cjs/stzh-skin-portal-mitwirken.cjs.entry.js +1 -1
- package/dist/cjs/stzh-skin-portal-mitwirken.cjs.entry.js.map +1 -1
- package/dist/cjs/stzh-space.cjs.entry.js +1 -1
- package/dist/cjs/stzh-space.cjs.entry.js.map +1 -1
- package/dist/cjs/stzh-table.cjs.entry.js +6 -4
- package/dist/cjs/stzh-table.cjs.entry.js.map +1 -1
- package/dist/cjs/stzh-textandimage.cjs.entry.js +1 -1
- package/dist/cjs/stzh-toggle.cjs.entry.js +1 -1
- package/dist/cjs/stzh-tooltip.cjs.entry.js +1 -1
- package/dist/cjs/stzh-upload.cjs.entry.js +1 -1
- package/dist/cjs/stzh-vbz-majorticker.cjs.entry.js +1 -1
- package/dist/cjs/stzh-vspace.cjs.entry.js +1 -1
- package/dist/cjs/stzh-vspace.cjs.entry.js.map +1 -1
- package/dist/cjs/{utils-a2ff9f84.js → utils-916583be.js} +7 -1
- package/dist/cjs/utils-916583be.js.map +1 -0
- package/dist/collection/assets/i18n/de.json +7 -0
- package/dist/collection/assets/i18n/en.json +7 -0
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/stzh-amount/stzh-amount.css +1 -1
- package/dist/collection/components/stzh-amount/stzh-amount.js +21 -2
- package/dist/collection/components/stzh-amount/stzh-amount.js.map +1 -1
- package/dist/collection/components/stzh-buttongroup/stzh-buttongroup.css +11 -6
- package/dist/collection/components/stzh-card/stzh-card.css +30 -28
- package/dist/collection/components/stzh-card/stzh-card.js +30 -7
- package/dist/collection/components/stzh-card/stzh-card.js.map +1 -1
- package/dist/collection/components/stzh-cell/stzh-cell.css +0 -5
- package/dist/collection/components/stzh-container/stzh-container.css +0 -8
- package/dist/collection/components/stzh-cspace/stzh-cspace.css +103 -133
- package/dist/collection/components/stzh-cspace/stzh-cspace.js +46 -2
- package/dist/collection/components/stzh-cspace/stzh-cspace.js.map +1 -1
- package/dist/collection/components/stzh-datalist-item/stzh-datalist-item.css +5 -0
- package/dist/collection/components/stzh-datalist-item/stzh-datalist-item.js +12 -8
- package/dist/collection/components/stzh-datalist-item/stzh-datalist-item.js.map +1 -1
- package/dist/collection/components/stzh-datatable/stzh-datatable.css +21 -0
- package/dist/collection/components/stzh-datatable/stzh-datatable.js +85 -7
- package/dist/collection/components/stzh-datatable/stzh-datatable.js.map +1 -1
- package/dist/collection/components/stzh-datatable/stzh-datatable.stories.js +41 -14
- package/dist/collection/components/stzh-datepicker/stzh-datepicker.js +22 -3
- package/dist/collection/components/stzh-datepicker/stzh-datepicker.js.map +1 -1
- package/dist/collection/components/stzh-dropdown/stzh-dropdown.css +12 -0
- package/dist/collection/components/stzh-dropdown/stzh-dropdown.js +20 -0
- package/dist/collection/components/stzh-dropdown/stzh-dropdown.js.map +1 -1
- package/dist/collection/components/stzh-hspace/stzh-hspace.css +0 -6
- package/dist/collection/components/stzh-input/stzh-input.css +16 -1
- package/dist/collection/components/stzh-input/stzh-input.js +20 -0
- package/dist/collection/components/stzh-input/stzh-input.js.map +1 -1
- package/dist/collection/components/stzh-menu-item/stzh-menu-item.stories.js +2 -2
- package/dist/collection/components/stzh-pagination/stzh-pagination.css +127 -0
- package/dist/collection/components/stzh-pagination/stzh-pagination.js +437 -0
- package/dist/collection/components/stzh-pagination/stzh-pagination.js.map +1 -0
- package/dist/collection/components/stzh-pagination/stzh-pagination.localization.js +2 -0
- package/dist/collection/components/stzh-pagination/stzh-pagination.localization.js.map +1 -0
- package/dist/collection/components/stzh-pagination/stzh-pagination.stories.js +44 -0
- package/dist/collection/components/stzh-richtext/stzh-richtext.css +4 -2
- package/dist/collection/components/stzh-richtext/stzh-richtext.js +38 -0
- package/dist/collection/components/stzh-richtext/stzh-richtext.js.map +1 -1
- package/dist/collection/components/stzh-richtext/stzh-richtext.stories.js +2 -2
- package/dist/collection/components/stzh-row/stzh-row.css +0 -5
- package/dist/collection/components/stzh-section/stzh-section.css +0 -6
- package/dist/collection/components/stzh-share/stzh-share.js +6 -20
- package/dist/collection/components/stzh-share/stzh-share.js.map +1 -1
- package/dist/collection/components/stzh-skin-portal-mitwirken/stzh-skin-portal-mitwirken.css +53 -0
- package/dist/collection/components/stzh-sortable/stzh-sortable.js +1 -1
- package/dist/collection/components/stzh-sortable/stzh-sortable.js.map +1 -1
- package/dist/collection/components/stzh-space/stzh-space.css +0 -6
- package/dist/collection/components/stzh-table/stzh-table.css +21 -0
- package/dist/collection/components/stzh-table/stzh-table.js +7 -3
- package/dist/collection/components/stzh-table/stzh-table.js.map +1 -1
- package/dist/collection/components/stzh-table/stzh-table.stories.js +259 -4
- package/dist/collection/components/stzh-textandimage/stzh-textandimage.stories.js +1 -1
- package/dist/collection/components/stzh-vspace/stzh-vspace.css +0 -6
- package/dist/collection/index.js.map +1 -1
- package/dist/collection/utils/string-utils.js +12 -0
- package/dist/collection/utils/string-utils.js.map +1 -1
- package/dist/collection/utils/utils.js +5 -0
- package/dist/collection/utils/utils.js.map +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/index2.js.map +1 -1
- package/dist/components/string-utils.js +13 -1
- package/dist/components/string-utils.js.map +1 -1
- package/dist/components/stzh-amount.js +5 -3
- package/dist/components/stzh-amount.js.map +1 -1
- package/dist/components/stzh-buttongroup2.js +1 -1
- package/dist/components/stzh-buttongroup2.js.map +1 -1
- package/dist/components/stzh-card2.js +31 -8
- package/dist/components/stzh-card2.js.map +1 -1
- package/dist/components/stzh-cell.js +1 -1
- package/dist/components/stzh-cell.js.map +1 -1
- package/dist/components/stzh-contact.js +18 -12
- package/dist/components/stzh-contact.js.map +1 -1
- package/dist/components/stzh-container.js +1 -1
- package/dist/components/stzh-container.js.map +1 -1
- package/dist/components/stzh-cspace.js +8 -2
- package/dist/components/stzh-cspace.js.map +1 -1
- package/dist/components/stzh-datalist-item2.js +23 -14
- package/dist/components/stzh-datalist-item2.js.map +1 -1
- package/dist/components/stzh-datalist2.js +14 -8
- package/dist/components/stzh-datalist2.js.map +1 -1
- package/dist/components/stzh-datatable.js +129 -18
- package/dist/components/stzh-datatable.js.map +1 -1
- package/dist/components/stzh-datepicker2.js +5 -3
- package/dist/components/stzh-datepicker2.js.map +1 -1
- package/dist/components/stzh-dropdown2.js +4 -1
- package/dist/components/stzh-dropdown2.js.map +1 -1
- package/dist/components/stzh-hspace.js +1 -1
- package/dist/components/stzh-hspace.js.map +1 -1
- package/dist/components/stzh-input2.js +4 -1
- package/dist/components/stzh-input2.js.map +1 -1
- package/dist/components/stzh-pagination.d.ts +11 -0
- package/dist/components/stzh-pagination.js +8 -0
- package/dist/components/stzh-pagination.js.map +1 -0
- package/dist/components/stzh-pagination2.js +151 -0
- package/dist/components/stzh-pagination2.js.map +1 -0
- package/dist/components/stzh-richtext2.js +5 -1
- package/dist/components/stzh-richtext2.js.map +1 -1
- package/dist/components/stzh-row.js +1 -1
- package/dist/components/stzh-row.js.map +1 -1
- package/dist/components/stzh-section.js +1 -1
- package/dist/components/stzh-section.js.map +1 -1
- package/dist/components/stzh-share2.js +6 -20
- package/dist/components/stzh-share2.js.map +1 -1
- package/dist/components/stzh-sitemap.js +16 -10
- package/dist/components/stzh-sitemap.js.map +1 -1
- package/dist/components/stzh-skin-portal-mitwirken.js +1 -1
- package/dist/components/stzh-skin-portal-mitwirken.js.map +1 -1
- package/dist/components/stzh-sortable2.js +1 -1
- package/dist/components/stzh-sortable2.js.map +1 -1
- package/dist/components/stzh-space.js +1 -1
- package/dist/components/stzh-space.js.map +1 -1
- package/dist/components/stzh-table.js +6 -4
- package/dist/components/stzh-table.js.map +1 -1
- package/dist/components/stzh-vbz-majorticker.js +1 -1
- package/dist/components/stzh-vspace.js +1 -1
- package/dist/components/stzh-vspace.js.map +1 -1
- package/dist/components/utils.js +6 -1
- package/dist/components/utils.js.map +1 -1
- package/dist/esm/{app-globals-5ab947af.js → app-globals-4f0f7957.js} +2 -2
- package/dist/esm/{app-globals-5ab947af.js.map → app-globals-4f0f7957.js.map} +1 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/loader.js +2 -2
- package/dist/esm/string-utils-3ffa8d6b.js +29 -0
- package/dist/esm/string-utils-3ffa8d6b.js.map +1 -0
- package/dist/esm/stzh-actions.entry.js +1 -1
- package/dist/esm/{stzh-sortable.entry.js → stzh-actionset_4.entry.js} +566 -5
- package/dist/esm/stzh-actionset_4.entry.js.map +1 -0
- package/dist/esm/stzh-amount.entry.js +4 -3
- package/dist/esm/stzh-amount.entry.js.map +1 -1
- package/dist/esm/stzh-appnav.entry.js +1 -1
- package/dist/esm/stzh-audio.entry.js +1 -1
- package/dist/esm/stzh-badge_3.entry.js +1 -1
- package/dist/esm/stzh-buttongroup.entry.js +1 -1
- package/dist/esm/stzh-buttongroup.entry.js.map +1 -1
- package/dist/esm/stzh-carousel.entry.js +1 -1
- package/dist/esm/stzh-cell.entry.js +1 -1
- package/dist/esm/stzh-cell.entry.js.map +1 -1
- package/dist/esm/stzh-checkbox.entry.js +1 -1
- package/dist/esm/stzh-checkboxgroup.entry.js +2 -2
- package/dist/esm/stzh-chip-select.entry.js +145 -0
- package/dist/esm/stzh-chip-select.entry.js.map +1 -0
- package/dist/esm/stzh-components.js +2 -2
- package/dist/esm/stzh-contact.entry.js +1 -1
- package/dist/esm/stzh-container.entry.js +1 -1
- package/dist/esm/stzh-container.entry.js.map +1 -1
- package/dist/esm/stzh-cspace.entry.js +3 -1
- package/dist/esm/stzh-cspace.entry.js.map +1 -1
- package/dist/esm/stzh-datalist_2.entry.js +11 -8
- package/dist/esm/stzh-datalist_2.entry.js.map +1 -1
- package/dist/esm/stzh-datatable.entry.js +32 -8
- package/dist/esm/stzh-datatable.entry.js.map +1 -1
- package/dist/esm/stzh-datepicker_3.entry.js +6 -5
- package/dist/esm/stzh-datepicker_3.entry.js.map +1 -1
- package/dist/esm/stzh-details.entry.js +1 -1
- package/dist/esm/stzh-dialog.entry.js +1 -1
- package/dist/esm/stzh-dropdown.entry.js +4 -2
- package/dist/esm/stzh-dropdown.entry.js.map +1 -1
- package/dist/esm/stzh-figure.entry.js +1 -1
- package/dist/esm/stzh-footer.entry.js +1 -1
- package/dist/esm/stzh-ghettobox.entry.js +104 -0
- package/dist/esm/stzh-ghettobox.entry.js.map +1 -0
- package/dist/esm/stzh-header.entry.js +1 -1
- package/dist/esm/stzh-hspace.entry.js +1 -1
- package/dist/esm/stzh-hspace.entry.js.map +1 -1
- package/dist/esm/stzh-input.entry.js +4 -2
- package/dist/esm/stzh-input.entry.js.map +1 -1
- package/dist/esm/stzh-link.entry.js +1 -1
- package/dist/esm/stzh-menu_2.entry.js +1 -1
- package/dist/esm/stzh-pagebottom.entry.js +1 -1
- package/dist/esm/stzh-pagetitle-hero.entry.js +1 -1
- package/dist/esm/stzh-pagetitle.entry.js +1 -1
- package/dist/esm/stzh-pagination.entry.js +82 -0
- package/dist/esm/stzh-pagination.entry.js.map +1 -0
- package/dist/esm/stzh-popover.entry.js +1 -1
- package/dist/esm/stzh-readspeaker.entry.js +1 -1
- package/dist/esm/stzh-richtext_2.entry.js +81 -0
- package/dist/esm/stzh-richtext_2.entry.js.map +1 -0
- package/dist/esm/stzh-row.entry.js +1 -1
- package/dist/esm/stzh-row.entry.js.map +1 -1
- package/dist/esm/stzh-section.entry.js +1 -1
- package/dist/esm/stzh-section.entry.js.map +1 -1
- package/dist/esm/stzh-share.entry.js +6 -20
- package/dist/esm/stzh-share.entry.js.map +1 -1
- package/dist/esm/stzh-skin-portal-mitwirken.entry.js +1 -1
- package/dist/esm/stzh-skin-portal-mitwirken.entry.js.map +1 -1
- package/dist/esm/stzh-space.entry.js +1 -1
- package/dist/esm/stzh-space.entry.js.map +1 -1
- package/dist/esm/stzh-table.entry.js +6 -4
- package/dist/esm/stzh-table.entry.js.map +1 -1
- package/dist/esm/stzh-textandimage.entry.js +1 -1
- package/dist/esm/stzh-toggle.entry.js +1 -1
- package/dist/esm/stzh-tooltip.entry.js +1 -1
- package/dist/esm/stzh-upload.entry.js +1 -1
- package/dist/esm/stzh-vbz-majorticker.entry.js +1 -1
- package/dist/esm/stzh-vspace.entry.js +1 -1
- package/dist/esm/stzh-vspace.entry.js.map +1 -1
- package/dist/esm/{utils-51148d9a.js → utils-8f264f12.js} +7 -2
- package/dist/esm/utils-8f264f12.js.map +1 -0
- package/dist/esm-es5/{app-globals-5ab947af.js → app-globals-4f0f7957.js} +2 -2
- package/dist/esm-es5/{app-globals-5ab947af.js.map → app-globals-4f0f7957.js.map} +1 -1
- package/dist/esm-es5/index.js.map +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/loader.js.map +1 -1
- package/dist/esm-es5/string-utils-3ffa8d6b.js +2 -0
- package/dist/esm-es5/string-utils-3ffa8d6b.js.map +1 -0
- package/dist/esm-es5/stzh-actions.entry.js +1 -1
- package/dist/esm-es5/stzh-actionset_4.entry.js +8 -0
- package/dist/esm-es5/stzh-actionset_4.entry.js.map +1 -0
- package/dist/esm-es5/stzh-amount.entry.js +1 -1
- package/dist/esm-es5/stzh-amount.entry.js.map +1 -1
- package/dist/esm-es5/stzh-appnav.entry.js +1 -1
- package/dist/esm-es5/stzh-audio.entry.js +1 -1
- package/dist/esm-es5/stzh-badge_3.entry.js +1 -1
- package/dist/esm-es5/stzh-buttongroup.entry.js +1 -1
- package/dist/esm-es5/stzh-buttongroup.entry.js.map +1 -1
- package/dist/esm-es5/stzh-carousel.entry.js +1 -1
- package/dist/esm-es5/stzh-cell.entry.js +1 -1
- package/dist/esm-es5/stzh-cell.entry.js.map +1 -1
- package/dist/esm-es5/stzh-checkbox.entry.js +1 -1
- package/dist/esm-es5/stzh-checkboxgroup.entry.js +1 -1
- package/dist/esm-es5/stzh-chip-select.entry.js +2 -0
- package/dist/esm-es5/stzh-chip-select.entry.js.map +1 -0
- package/dist/esm-es5/stzh-components.js +1 -1
- package/dist/esm-es5/stzh-components.js.map +1 -1
- package/dist/esm-es5/stzh-contact.entry.js +1 -1
- package/dist/esm-es5/stzh-container.entry.js +1 -1
- package/dist/esm-es5/stzh-container.entry.js.map +1 -1
- package/dist/esm-es5/stzh-cspace.entry.js +1 -1
- package/dist/esm-es5/stzh-cspace.entry.js.map +1 -1
- package/dist/esm-es5/stzh-datalist_2.entry.js +1 -1
- package/dist/esm-es5/stzh-datalist_2.entry.js.map +1 -1
- package/dist/esm-es5/stzh-datatable.entry.js +1 -1
- package/dist/esm-es5/stzh-datatable.entry.js.map +1 -1
- package/dist/esm-es5/stzh-datepicker_3.entry.js +1 -1
- package/dist/esm-es5/stzh-datepicker_3.entry.js.map +1 -1
- package/dist/esm-es5/stzh-details.entry.js +1 -1
- package/dist/esm-es5/stzh-dialog.entry.js +1 -1
- package/dist/esm-es5/stzh-dropdown.entry.js +2 -2
- package/dist/esm-es5/stzh-dropdown.entry.js.map +1 -1
- package/dist/esm-es5/stzh-figure.entry.js +1 -1
- package/dist/esm-es5/stzh-footer.entry.js +1 -1
- package/dist/esm-es5/stzh-ghettobox.entry.js +2 -0
- package/dist/esm-es5/stzh-ghettobox.entry.js.map +1 -0
- package/dist/esm-es5/stzh-header.entry.js +1 -1
- package/dist/esm-es5/stzh-hspace.entry.js +1 -1
- package/dist/esm-es5/stzh-hspace.entry.js.map +1 -1
- package/dist/esm-es5/stzh-input.entry.js +1 -1
- package/dist/esm-es5/stzh-input.entry.js.map +1 -1
- package/dist/esm-es5/stzh-link.entry.js +1 -1
- package/dist/esm-es5/stzh-menu_2.entry.js +1 -1
- package/dist/esm-es5/stzh-pagebottom.entry.js +1 -1
- package/dist/esm-es5/stzh-pagetitle-hero.entry.js +1 -1
- package/dist/esm-es5/stzh-pagetitle.entry.js +1 -1
- package/dist/esm-es5/stzh-pagination.entry.js +2 -0
- package/dist/esm-es5/stzh-pagination.entry.js.map +1 -0
- package/dist/esm-es5/stzh-popover.entry.js +1 -1
- package/dist/esm-es5/stzh-readspeaker.entry.js +1 -1
- package/dist/esm-es5/stzh-richtext_2.entry.js +2 -0
- package/dist/esm-es5/stzh-richtext_2.entry.js.map +1 -0
- package/dist/esm-es5/stzh-row.entry.js +1 -1
- package/dist/esm-es5/stzh-row.entry.js.map +1 -1
- package/dist/esm-es5/stzh-section.entry.js +1 -1
- package/dist/esm-es5/stzh-section.entry.js.map +1 -1
- package/dist/esm-es5/stzh-share.entry.js +1 -1
- package/dist/esm-es5/stzh-share.entry.js.map +1 -1
- package/dist/esm-es5/stzh-skin-portal-mitwirken.entry.js +1 -1
- package/dist/esm-es5/stzh-skin-portal-mitwirken.entry.js.map +1 -1
- package/dist/esm-es5/stzh-space.entry.js +1 -1
- package/dist/esm-es5/stzh-space.entry.js.map +1 -1
- package/dist/esm-es5/stzh-table.entry.js +1 -1
- package/dist/esm-es5/stzh-table.entry.js.map +1 -1
- package/dist/esm-es5/stzh-textandimage.entry.js +1 -1
- package/dist/esm-es5/stzh-toggle.entry.js +1 -1
- package/dist/esm-es5/stzh-tooltip.entry.js +1 -1
- package/dist/esm-es5/stzh-upload.entry.js +1 -1
- package/dist/esm-es5/stzh-vbz-majorticker.entry.js +1 -1
- package/dist/esm-es5/stzh-vspace.entry.js +1 -1
- package/dist/esm-es5/stzh-vspace.entry.js.map +1 -1
- package/dist/esm-es5/utils-8f264f12.js +2 -0
- package/dist/esm-es5/utils-8f264f12.js.map +1 -0
- package/dist/stzh-components/assets/i18n/de.json +7 -0
- package/dist/stzh-components/assets/i18n/en.json +7 -0
- package/dist/stzh-components/index.esm.js.map +1 -1
- package/dist/stzh-components/{p-edef74c8.system.entry.js → p-08050ce2.system.entry.js} +2 -2
- package/dist/stzh-components/{p-f23f2408.system.entry.js → p-09445156.system.entry.js} +2 -2
- package/dist/stzh-components/{p-94a5e295.system.entry.js → p-0d302a14.system.entry.js} +2 -2
- package/dist/stzh-components/p-1016d03d.system.entry.js +2 -0
- package/dist/stzh-components/p-1016d03d.system.entry.js.map +1 -0
- package/dist/stzh-components/p-1760118e.entry.js +2 -0
- package/dist/stzh-components/{p-a1c02179.entry.js.map → p-1760118e.entry.js.map} +1 -1
- package/dist/stzh-components/p-1ad68cac.system.entry.js +2 -0
- package/dist/stzh-components/p-1ad68cac.system.entry.js.map +1 -0
- package/dist/stzh-components/{p-c901fe72.system.entry.js → p-1d683f3a.system.entry.js} +3 -3
- package/dist/stzh-components/p-1d683f3a.system.entry.js.map +1 -0
- package/dist/stzh-components/p-1e5f556b.system.entry.js +2 -0
- package/dist/stzh-components/p-1e5f556b.system.entry.js.map +1 -0
- package/dist/stzh-components/{p-2615433f.system.entry.js → p-2009a8df.system.entry.js} +2 -2
- package/dist/stzh-components/p-22a2f4c1.system.js +2 -0
- package/dist/stzh-components/p-22a2f4c1.system.js.map +1 -0
- package/dist/stzh-components/{p-39a4904e.system.entry.js → p-2614251e.system.entry.js} +2 -2
- package/dist/stzh-components/{p-8b62ec27.js → p-26680e97.js} +2 -2
- package/dist/stzh-components/{p-8b62ec27.js.map → p-26680e97.js.map} +1 -1
- package/dist/stzh-components/p-2705720b.entry.js +2 -0
- package/dist/stzh-components/p-2705720b.entry.js.map +1 -0
- package/dist/stzh-components/{p-799548c4.system.entry.js → p-27489e46.system.entry.js} +2 -2
- package/dist/stzh-components/{p-29ed53a9.system.entry.js → p-2dd983a9.system.entry.js} +2 -2
- package/dist/stzh-components/{p-cc1a6af1.system.entry.js → p-2ec243e8.system.entry.js} +2 -2
- package/dist/stzh-components/{p-cd0f7b10.entry.js → p-33da1a1c.entry.js} +2 -2
- package/dist/stzh-components/p-35a328cc.system.entry.js +2 -0
- package/dist/stzh-components/p-35a328cc.system.entry.js.map +1 -0
- package/dist/stzh-components/p-3f72c05a.system.js +2 -0
- package/dist/stzh-components/p-3f72c05a.system.js.map +1 -0
- package/dist/stzh-components/p-40694e20.system.entry.js +2 -0
- package/dist/stzh-components/p-40694e20.system.entry.js.map +1 -0
- package/dist/stzh-components/{p-6608126b.entry.js → p-4325de93.entry.js} +2 -2
- package/dist/stzh-components/{p-517af258.system.entry.js → p-444f765a.system.entry.js} +2 -2
- package/dist/stzh-components/p-4bcc414d.system.entry.js +2 -0
- package/dist/stzh-components/p-4bcc414d.system.entry.js.map +1 -0
- package/dist/stzh-components/{p-7b297848.system.entry.js → p-50652c05.system.entry.js} +2 -2
- package/dist/stzh-components/{p-a8c92707.system.entry.js → p-509b0e4c.system.entry.js} +2 -2
- package/dist/stzh-components/p-51ccda11.system.entry.js +2 -0
- package/dist/stzh-components/p-51ccda11.system.entry.js.map +1 -0
- package/dist/stzh-components/{p-a2b49ad8.entry.js → p-52bcb3ab.entry.js} +2 -2
- package/dist/stzh-components/{p-4cd7c872.system.entry.js → p-5af33d37.system.entry.js} +2 -2
- package/dist/stzh-components/{p-8cb7e2da.system.entry.js → p-5bceda21.system.entry.js} +2 -2
- package/dist/stzh-components/{p-5ee43b56.entry.js → p-5c3d0895.entry.js} +2 -2
- package/dist/stzh-components/{p-c0f971f2.entry.js → p-5df47c3a.entry.js} +8 -8
- package/dist/stzh-components/p-5df47c3a.entry.js.map +1 -0
- package/dist/stzh-components/p-67f50e81.system.entry.js +2 -0
- package/dist/stzh-components/p-67f50e81.system.entry.js.map +1 -0
- package/dist/stzh-components/p-68b00da7.system.entry.js +2 -0
- package/dist/stzh-components/p-68b00da7.system.entry.js.map +1 -0
- package/dist/stzh-components/{p-eca073df.system.entry.js → p-6ac4713f.system.entry.js} +2 -2
- package/dist/stzh-components/{p-9d46101e.entry.js → p-6c0f3c5e.entry.js} +2 -2
- package/dist/stzh-components/{p-c2a06b4d.system.entry.js → p-6cb99167.system.entry.js} +2 -2
- package/dist/stzh-components/{p-b8ad5f47.system.entry.js → p-709bb264.system.entry.js} +2 -2
- package/dist/stzh-components/{p-3e5da137.entry.js → p-7463c7b5.entry.js} +2 -2
- package/dist/stzh-components/p-75fa2483.entry.js +2 -0
- package/dist/stzh-components/p-75fa2483.entry.js.map +1 -0
- package/dist/stzh-components/{p-bc997ce2.entry.js → p-76c2f21a.entry.js} +2 -2
- package/dist/stzh-components/{p-562f4dfa.entry.js → p-78f78684.entry.js} +2 -2
- package/dist/stzh-components/p-78f89f65.entry.js +2 -0
- package/dist/stzh-components/p-78f89f65.entry.js.map +1 -0
- package/dist/stzh-components/p-7992047b.entry.js +2 -0
- package/dist/stzh-components/p-7992047b.entry.js.map +1 -0
- package/dist/stzh-components/p-7ac51980.system.entry.js +2 -0
- package/dist/stzh-components/p-7ac51980.system.entry.js.map +1 -0
- package/dist/stzh-components/p-7e5587ee.entry.js +2 -0
- package/dist/stzh-components/p-7e5587ee.entry.js.map +1 -0
- package/dist/stzh-components/p-8225341e.entry.js +2 -0
- package/dist/stzh-components/p-8225341e.entry.js.map +1 -0
- package/dist/stzh-components/{p-3dea2f45.entry.js → p-849ec693.entry.js} +2 -2
- package/dist/stzh-components/{p-3aa5623c.entry.js → p-89562c7e.entry.js} +2 -2
- package/dist/stzh-components/p-8a58fa64.entry.js +2 -0
- package/dist/stzh-components/p-8a58fa64.entry.js.map +1 -0
- package/dist/stzh-components/{p-45572515.entry.js → p-916f8386.entry.js} +2 -2
- package/dist/stzh-components/p-9705d27e.system.entry.js +2 -0
- package/dist/stzh-components/{p-9fe69be8.system.entry.js.map → p-9705d27e.system.entry.js.map} +1 -1
- package/dist/stzh-components/{p-2d25bcc8.entry.js → p-979390db.entry.js} +2 -2
- package/dist/stzh-components/p-9c428351.entry.js +2 -0
- package/dist/stzh-components/p-9c428351.entry.js.map +1 -0
- package/dist/stzh-components/p-9faae333.entry.js +2 -0
- package/dist/stzh-components/p-9faae333.entry.js.map +1 -0
- package/dist/stzh-components/{p-e2ff2ef4.entry.js → p-a0008fa2.entry.js} +2 -2
- package/dist/stzh-components/p-a16ce152.system.entry.js +2 -0
- package/dist/stzh-components/p-a16ce152.system.entry.js.map +1 -0
- package/dist/stzh-components/{p-05b9e4c2.system.entry.js → p-a26cd855.system.entry.js} +2 -2
- package/dist/stzh-components/{p-b792ea2e.system.entry.js → p-a2d5846c.system.entry.js} +2 -2
- package/dist/stzh-components/{p-ffdd9cab.system.js → p-a8c1b679.system.js} +2 -2
- package/dist/stzh-components/{p-ffdd9cab.system.js.map → p-a8c1b679.system.js.map} +1 -1
- package/dist/stzh-components/{p-6c219530.entry.js → p-a8e1b13c.entry.js} +2 -2
- package/dist/stzh-components/{p-4a299f84.entry.js → p-acbe3680.entry.js} +2 -2
- package/dist/stzh-components/p-afdf3a08.system.entry.js +2 -0
- package/dist/stzh-components/p-afdf3a08.system.entry.js.map +1 -0
- package/dist/stzh-components/{p-35cbff3f.entry.js → p-affbfe00.entry.js} +2 -2
- package/dist/stzh-components/p-b33a79ba.system.entry.js +2 -0
- package/dist/stzh-components/p-b33a79ba.system.entry.js.map +1 -0
- package/dist/stzh-components/{p-7772c262.entry.js → p-b5531053.entry.js} +2 -2
- package/dist/stzh-components/p-b989646a.entry.js +2 -0
- package/dist/stzh-components/p-b989646a.entry.js.map +1 -0
- package/dist/stzh-components/{p-bf069354.entry.js → p-bac7cf37.entry.js} +2 -2
- package/dist/stzh-components/p-bd7f6761.entry.js +2 -0
- package/dist/stzh-components/p-bd7f6761.entry.js.map +1 -0
- package/dist/stzh-components/p-bda21265.system.entry.js +8 -0
- package/dist/stzh-components/p-bda21265.system.entry.js.map +1 -0
- package/dist/stzh-components/{p-f599025e.system.entry.js → p-c0aa52aa.system.entry.js} +2 -2
- package/dist/stzh-components/p-c1814eec.system.js +2 -0
- package/dist/stzh-components/{p-b7d68fca.system.js.map → p-c1814eec.system.js.map} +1 -1
- package/dist/stzh-components/p-c2615e7c.system.entry.js +2 -0
- package/dist/{esm-es5/stzh-ghettobox_2.entry.js.map → stzh-components/p-c2615e7c.system.entry.js.map} +1 -1
- package/dist/stzh-components/{p-d5b4d345.entry.js → p-c323f19e.entry.js} +2 -2
- package/dist/stzh-components/p-c323f19e.entry.js.map +1 -0
- package/dist/stzh-components/p-c64a7018.system.entry.js +2 -0
- package/dist/stzh-components/p-c64a7018.system.entry.js.map +1 -0
- package/dist/stzh-components/p-ca6d7215.entry.js +2 -0
- package/dist/stzh-components/p-ca6d7215.entry.js.map +1 -0
- package/dist/stzh-components/{p-9f4f3882.system.entry.js → p-d531fbaf.system.entry.js} +2 -2
- package/dist/stzh-components/p-d6ffd97e.entry.js +2 -0
- package/dist/stzh-components/p-d6ffd97e.entry.js.map +1 -0
- package/dist/stzh-components/{p-fefcd0e6.entry.js → p-d7a7560a.entry.js} +2 -2
- package/dist/stzh-components/{p-87b4549c.system.entry.js → p-dad99bd2.system.entry.js} +2 -2
- package/dist/stzh-components/p-daf17eae.entry.js +2 -0
- package/dist/stzh-components/p-daf17eae.entry.js.map +1 -0
- package/dist/stzh-components/p-dd137812.entry.js +8 -0
- package/dist/stzh-components/p-dd137812.entry.js.map +1 -0
- package/dist/stzh-components/{p-b05c240b.system.entry.js → p-e16ee236.system.entry.js} +2 -2
- package/dist/stzh-components/p-e5781c90.system.entry.js +2 -0
- package/dist/stzh-components/p-e5781c90.system.entry.js.map +1 -0
- package/dist/stzh-components/p-e606314e.system.entry.js +2 -0
- package/dist/stzh-components/p-e606314e.system.entry.js.map +1 -0
- package/dist/stzh-components/{p-bcd5b20e.entry.js → p-e7454abb.entry.js} +2 -2
- package/dist/stzh-components/p-e787179c.js +2 -0
- package/dist/stzh-components/p-e787179c.js.map +1 -0
- package/dist/stzh-components/p-e7d4542e.entry.js +2 -0
- package/dist/stzh-components/p-e7d4542e.entry.js.map +1 -0
- package/dist/stzh-components/p-eaa65f52.system.js.map +1 -1
- package/dist/stzh-components/p-eab77a09.system.entry.js +2 -0
- package/dist/stzh-components/p-eab77a09.system.entry.js.map +1 -0
- package/dist/stzh-components/{p-6d097e82.system.entry.js → p-ebe979a3.system.entry.js} +2 -2
- package/dist/stzh-components/{p-9b7d4e8d.entry.js → p-ef4c12ac.entry.js} +2 -2
- package/dist/stzh-components/{p-3cb43903.entry.js → p-f0ac9730.entry.js} +2 -2
- package/dist/stzh-components/p-f43f7434.entry.js +2 -0
- package/dist/stzh-components/p-f43f7434.entry.js.map +1 -0
- package/dist/stzh-components/p-f4ec861e.entry.js +2 -0
- package/dist/stzh-components/{p-14e782cb.entry.js.map → p-f4ec861e.entry.js.map} +1 -1
- package/dist/stzh-components/{p-8d695d3e.system.entry.js → p-f65b5145.system.entry.js} +2 -2
- package/dist/stzh-components/{p-b82351f0.system.entry.js → p-f665752d.system.entry.js} +2 -2
- package/dist/stzh-components/p-f879bc5a.system.entry.js +2 -0
- package/dist/stzh-components/p-f879bc5a.system.entry.js.map +1 -0
- package/dist/stzh-components/{p-c3b260a1.entry.js → p-fb12ec57.entry.js} +2 -2
- package/dist/stzh-components/p-fb36e3be.entry.js +2 -0
- package/dist/stzh-components/{p-df9460ae.system.entry.js.map → p-fb36e3be.entry.js.map} +1 -1
- package/dist/stzh-components/p-fc339100.js +2 -0
- package/dist/stzh-components/p-fc339100.js.map +1 -0
- package/dist/stzh-components/{p-52e52b49.entry.js → p-fd97e87d.entry.js} +2 -2
- package/dist/stzh-components/p-fdabe05c.entry.js +2 -0
- package/dist/stzh-components/p-fdabe05c.entry.js.map +1 -0
- package/dist/stzh-components/p-fdb1fd0a.entry.js +2 -0
- package/dist/stzh-components/p-fdb1fd0a.entry.js.map +1 -0
- package/dist/stzh-components/{p-80d581ac.system.entry.js → p-fece12c0.system.entry.js} +2 -2
- package/dist/stzh-components/p-fece12c0.system.entry.js.map +1 -0
- package/dist/stzh-components/stzh-components.css +740 -1
- package/dist/stzh-components/stzh-components.esm.js +1 -1
- package/dist/stzh-components/stzh-components.esm.js.map +1 -1
- package/dist/stzh-components/stzh-components.js +1 -1
- package/dist/types/components/stzh-cspace/stzh-cspace.d.ts +4 -0
- package/dist/types/components/stzh-pagination/stzh-pagination.localization.d.ts +8 -0
- package/dist/types/components.d.ts +251 -4
- package/dist/types/index.d.ts +6 -0
- package/dist/types/utils/string-utils.d.ts +1 -0
- package/dist/types/utils/utils.d.ts +1 -0
- package/dist/vscode-data.json +125 -3
- package/package.json +1 -1
- package/dist/cjs/string-utils-a867b99d.js.map +0 -1
- package/dist/cjs/stzh-actionset.cjs.entry.js +0 -173
- package/dist/cjs/stzh-actionset.cjs.entry.js.map +0 -1
- package/dist/cjs/stzh-card_3.cjs.entry.js +0 -528
- package/dist/cjs/stzh-card_3.cjs.entry.js.map +0 -1
- package/dist/cjs/stzh-ghettobox_2.cjs.entry.js +0 -157
- package/dist/cjs/stzh-ghettobox_2.cjs.entry.js.map +0 -1
- package/dist/cjs/stzh-sortable.cjs.entry.js.map +0 -1
- package/dist/cjs/stzh-status.cjs.entry.js +0 -34
- package/dist/cjs/stzh-status.cjs.entry.js.map +0 -1
- package/dist/cjs/utils-a2ff9f84.js.map +0 -1
- package/dist/esm/string-utils-f98ee4e8.js +0 -17
- package/dist/esm/string-utils-f98ee4e8.js.map +0 -1
- package/dist/esm/stzh-actionset.entry.js +0 -169
- package/dist/esm/stzh-actionset.entry.js.map +0 -1
- package/dist/esm/stzh-card_3.entry.js +0 -522
- package/dist/esm/stzh-card_3.entry.js.map +0 -1
- package/dist/esm/stzh-ghettobox_2.entry.js +0 -152
- package/dist/esm/stzh-ghettobox_2.entry.js.map +0 -1
- package/dist/esm/stzh-sortable.entry.js.map +0 -1
- package/dist/esm/stzh-status.entry.js +0 -30
- package/dist/esm/stzh-status.entry.js.map +0 -1
- package/dist/esm/utils-51148d9a.js.map +0 -1
- package/dist/esm-es5/string-utils-f98ee4e8.js +0 -2
- package/dist/esm-es5/string-utils-f98ee4e8.js.map +0 -1
- package/dist/esm-es5/stzh-actionset.entry.js +0 -2
- package/dist/esm-es5/stzh-actionset.entry.js.map +0 -1
- package/dist/esm-es5/stzh-card_3.entry.js +0 -2
- package/dist/esm-es5/stzh-card_3.entry.js.map +0 -1
- package/dist/esm-es5/stzh-ghettobox_2.entry.js +0 -2
- package/dist/esm-es5/stzh-sortable.entry.js +0 -8
- package/dist/esm-es5/stzh-sortable.entry.js.map +0 -1
- package/dist/esm-es5/stzh-status.entry.js +0 -2
- package/dist/esm-es5/stzh-status.entry.js.map +0 -1
- package/dist/esm-es5/utils-51148d9a.js +0 -2
- package/dist/esm-es5/utils-51148d9a.js.map +0 -1
- package/dist/stzh-components/p-0515de95.system.entry.js +0 -2
- package/dist/stzh-components/p-0515de95.system.entry.js.map +0 -1
- package/dist/stzh-components/p-07c0f4ce.entry.js +0 -2
- package/dist/stzh-components/p-07c0f4ce.entry.js.map +0 -1
- package/dist/stzh-components/p-09191103.system.entry.js +0 -2
- package/dist/stzh-components/p-09191103.system.entry.js.map +0 -1
- package/dist/stzh-components/p-0e6889d6.system.entry.js +0 -8
- package/dist/stzh-components/p-0e6889d6.system.entry.js.map +0 -1
- package/dist/stzh-components/p-14e782cb.entry.js +0 -2
- package/dist/stzh-components/p-172ba9ba.entry.js +0 -8
- package/dist/stzh-components/p-172ba9ba.entry.js.map +0 -1
- package/dist/stzh-components/p-2907f1b5.entry.js +0 -2
- package/dist/stzh-components/p-2907f1b5.entry.js.map +0 -1
- package/dist/stzh-components/p-2f3add2f.system.entry.js +0 -2
- package/dist/stzh-components/p-2f3add2f.system.entry.js.map +0 -1
- package/dist/stzh-components/p-3290296f.entry.js +0 -2
- package/dist/stzh-components/p-3290296f.entry.js.map +0 -1
- package/dist/stzh-components/p-343694cb.system.entry.js +0 -2
- package/dist/stzh-components/p-343694cb.system.entry.js.map +0 -1
- package/dist/stzh-components/p-36b1004d.entry.js +0 -2
- package/dist/stzh-components/p-36b1004d.entry.js.map +0 -1
- package/dist/stzh-components/p-3d056a49.entry.js +0 -2
- package/dist/stzh-components/p-3d056a49.entry.js.map +0 -1
- package/dist/stzh-components/p-402ea6f4.entry.js +0 -2
- package/dist/stzh-components/p-402ea6f4.entry.js.map +0 -1
- package/dist/stzh-components/p-4468e033.system.entry.js +0 -2
- package/dist/stzh-components/p-4468e033.system.entry.js.map +0 -1
- package/dist/stzh-components/p-53b84310.system.entry.js +0 -2
- package/dist/stzh-components/p-53b84310.system.entry.js.map +0 -1
- package/dist/stzh-components/p-55061908.entry.js +0 -2
- package/dist/stzh-components/p-55061908.entry.js.map +0 -1
- package/dist/stzh-components/p-57ba4050.system.entry.js +0 -2
- package/dist/stzh-components/p-57ba4050.system.entry.js.map +0 -1
- package/dist/stzh-components/p-5aa96b49.system.entry.js +0 -2
- package/dist/stzh-components/p-5aa96b49.system.entry.js.map +0 -1
- package/dist/stzh-components/p-5c697491.js +0 -2
- package/dist/stzh-components/p-5c697491.js.map +0 -1
- package/dist/stzh-components/p-5d8ad1f4.system.entry.js +0 -2
- package/dist/stzh-components/p-5d8ad1f4.system.entry.js.map +0 -1
- package/dist/stzh-components/p-62188444.entry.js +0 -2
- package/dist/stzh-components/p-62188444.entry.js.map +0 -1
- package/dist/stzh-components/p-693c611c.entry.js +0 -2
- package/dist/stzh-components/p-693c611c.entry.js.map +0 -1
- package/dist/stzh-components/p-72c69a2e.entry.js +0 -2
- package/dist/stzh-components/p-72c69a2e.entry.js.map +0 -1
- package/dist/stzh-components/p-78071d97.entry.js +0 -2
- package/dist/stzh-components/p-78071d97.entry.js.map +0 -1
- package/dist/stzh-components/p-7dc517db.entry.js +0 -2
- package/dist/stzh-components/p-7dc517db.entry.js.map +0 -1
- package/dist/stzh-components/p-80d581ac.system.entry.js.map +0 -1
- package/dist/stzh-components/p-82e886d4.entry.js +0 -2
- package/dist/stzh-components/p-82e886d4.entry.js.map +0 -1
- package/dist/stzh-components/p-9fe69be8.system.entry.js +0 -2
- package/dist/stzh-components/p-a003aa96.system.entry.js +0 -2
- package/dist/stzh-components/p-a003aa96.system.entry.js.map +0 -1
- package/dist/stzh-components/p-a1c02179.entry.js +0 -2
- package/dist/stzh-components/p-a2bdc528.system.entry.js +0 -2
- package/dist/stzh-components/p-a2bdc528.system.entry.js.map +0 -1
- package/dist/stzh-components/p-a2c076b8.system.entry.js +0 -2
- package/dist/stzh-components/p-a2c076b8.system.entry.js.map +0 -1
- package/dist/stzh-components/p-a8ccb843.entry.js +0 -2
- package/dist/stzh-components/p-a8ccb843.entry.js.map +0 -1
- package/dist/stzh-components/p-ab199fd7.system.entry.js +0 -2
- package/dist/stzh-components/p-ab199fd7.system.entry.js.map +0 -1
- package/dist/stzh-components/p-b295cbcc.system.entry.js +0 -2
- package/dist/stzh-components/p-b295cbcc.system.entry.js.map +0 -1
- package/dist/stzh-components/p-b5cda655.entry.js +0 -2
- package/dist/stzh-components/p-b5cda655.entry.js.map +0 -1
- package/dist/stzh-components/p-b7d68fca.system.js +0 -2
- package/dist/stzh-components/p-b910e1b7.entry.js +0 -2
- package/dist/stzh-components/p-b910e1b7.entry.js.map +0 -1
- package/dist/stzh-components/p-c0f971f2.entry.js.map +0 -1
- package/dist/stzh-components/p-c901fe72.system.entry.js.map +0 -1
- package/dist/stzh-components/p-cb04774b.entry.js +0 -2
- package/dist/stzh-components/p-cb04774b.entry.js.map +0 -1
- package/dist/stzh-components/p-cc35e963.entry.js +0 -2
- package/dist/stzh-components/p-cc35e963.entry.js.map +0 -1
- package/dist/stzh-components/p-d3f7e7e2.system.entry.js +0 -2
- package/dist/stzh-components/p-d3f7e7e2.system.entry.js.map +0 -1
- package/dist/stzh-components/p-d4b7a303.system.js +0 -2
- package/dist/stzh-components/p-d4b7a303.system.js.map +0 -1
- package/dist/stzh-components/p-d5b4d345.entry.js.map +0 -1
- package/dist/stzh-components/p-df9460ae.system.entry.js +0 -2
- package/dist/stzh-components/p-e40d6e96.entry.js +0 -2
- package/dist/stzh-components/p-e40d6e96.entry.js.map +0 -1
- package/dist/stzh-components/p-ebcc510d.system.entry.js +0 -2
- package/dist/stzh-components/p-ebcc510d.system.entry.js.map +0 -1
- package/dist/stzh-components/p-ee7a68db.js +0 -2
- package/dist/stzh-components/p-ee7a68db.js.map +0 -1
- package/dist/stzh-components/p-f2d74491.system.entry.js +0 -2
- package/dist/stzh-components/p-f2d74491.system.entry.js.map +0 -1
- package/dist/stzh-components/p-f58c28ad.system.js +0 -2
- package/dist/stzh-components/p-f58c28ad.system.js.map +0 -1
- package/dist/stzh-components/p-fda1c56c.system.entry.js +0 -2
- package/dist/stzh-components/p-fda1c56c.system.entry.js.map +0 -1
- /package/dist/stzh-components/{p-edef74c8.system.entry.js.map → p-08050ce2.system.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-f23f2408.system.entry.js.map → p-09445156.system.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-94a5e295.system.entry.js.map → p-0d302a14.system.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-2615433f.system.entry.js.map → p-2009a8df.system.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-39a4904e.system.entry.js.map → p-2614251e.system.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-799548c4.system.entry.js.map → p-27489e46.system.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-29ed53a9.system.entry.js.map → p-2dd983a9.system.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-cc1a6af1.system.entry.js.map → p-2ec243e8.system.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-cd0f7b10.entry.js.map → p-33da1a1c.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-6608126b.entry.js.map → p-4325de93.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-517af258.system.entry.js.map → p-444f765a.system.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-7b297848.system.entry.js.map → p-50652c05.system.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-a8c92707.system.entry.js.map → p-509b0e4c.system.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-a2b49ad8.entry.js.map → p-52bcb3ab.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-4cd7c872.system.entry.js.map → p-5af33d37.system.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-8cb7e2da.system.entry.js.map → p-5bceda21.system.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-5ee43b56.entry.js.map → p-5c3d0895.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-eca073df.system.entry.js.map → p-6ac4713f.system.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-9d46101e.entry.js.map → p-6c0f3c5e.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-c2a06b4d.system.entry.js.map → p-6cb99167.system.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-b8ad5f47.system.entry.js.map → p-709bb264.system.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-3e5da137.entry.js.map → p-7463c7b5.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-bc997ce2.entry.js.map → p-76c2f21a.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-562f4dfa.entry.js.map → p-78f78684.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-3dea2f45.entry.js.map → p-849ec693.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-3aa5623c.entry.js.map → p-89562c7e.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-45572515.entry.js.map → p-916f8386.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-2d25bcc8.entry.js.map → p-979390db.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-e2ff2ef4.entry.js.map → p-a0008fa2.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-05b9e4c2.system.entry.js.map → p-a26cd855.system.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-b792ea2e.system.entry.js.map → p-a2d5846c.system.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-6c219530.entry.js.map → p-a8e1b13c.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-4a299f84.entry.js.map → p-acbe3680.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-35cbff3f.entry.js.map → p-affbfe00.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-7772c262.entry.js.map → p-b5531053.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-bf069354.entry.js.map → p-bac7cf37.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-f599025e.system.entry.js.map → p-c0aa52aa.system.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-9f4f3882.system.entry.js.map → p-d531fbaf.system.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-fefcd0e6.entry.js.map → p-d7a7560a.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-87b4549c.system.entry.js.map → p-dad99bd2.system.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-b05c240b.system.entry.js.map → p-e16ee236.system.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-bcd5b20e.entry.js.map → p-e7454abb.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-6d097e82.system.entry.js.map → p-ebe979a3.system.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-9b7d4e8d.entry.js.map → p-ef4c12ac.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-3cb43903.entry.js.map → p-f0ac9730.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-8d695d3e.system.entry.js.map → p-f65b5145.system.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-b82351f0.system.entry.js.map → p-f665752d.system.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-c3b260a1.entry.js.map → p-fb12ec57.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-52e52b49.entry.js.map → p-fd97e87d.entry.js.map} +0 -0
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Colors
|
|
3
|
+
*/
|
|
4
|
+
/*
|
|
5
|
+
* Base
|
|
6
|
+
*/
|
|
7
|
+
/**
|
|
8
|
+
* Flyingfocus
|
|
9
|
+
*/
|
|
10
|
+
/**
|
|
11
|
+
* Link
|
|
12
|
+
*/
|
|
13
|
+
/**
|
|
14
|
+
* Text
|
|
15
|
+
*/
|
|
16
|
+
/**
|
|
17
|
+
* Richtext
|
|
18
|
+
*/
|
|
19
|
+
/**
|
|
20
|
+
* Section
|
|
21
|
+
*/
|
|
22
|
+
/**
|
|
23
|
+
* Header
|
|
24
|
+
*/
|
|
25
|
+
/**
|
|
26
|
+
* Appnav
|
|
27
|
+
*/
|
|
28
|
+
/**
|
|
29
|
+
* Progressbar
|
|
30
|
+
*/
|
|
31
|
+
/**
|
|
32
|
+
* Loader
|
|
33
|
+
*/
|
|
34
|
+
/**
|
|
35
|
+
* Table
|
|
36
|
+
*/
|
|
37
|
+
/**
|
|
38
|
+
* Heading
|
|
39
|
+
*/
|
|
40
|
+
/**
|
|
41
|
+
* Menu (Item)
|
|
42
|
+
*/
|
|
43
|
+
/**
|
|
44
|
+
* Form Elements (Input / Checkbox / Radio / Select / Datepicker)
|
|
45
|
+
*/
|
|
46
|
+
/**
|
|
47
|
+
* Popover
|
|
48
|
+
*/
|
|
49
|
+
/**
|
|
50
|
+
* Tooltips
|
|
51
|
+
*/
|
|
52
|
+
/**
|
|
53
|
+
* Accordions
|
|
54
|
+
*/
|
|
55
|
+
/**
|
|
56
|
+
* Buttons
|
|
57
|
+
*/
|
|
58
|
+
/**
|
|
59
|
+
* Box Shadows
|
|
60
|
+
*/
|
|
61
|
+
/**
|
|
62
|
+
* Z-Indexes
|
|
63
|
+
* Inspired by https://www.duetds.com/tokens/#z-index
|
|
64
|
+
*/
|
|
65
|
+
/**
|
|
66
|
+
* Icon sizes
|
|
67
|
+
*/
|
|
68
|
+
/**
|
|
69
|
+
* Grid
|
|
70
|
+
*/
|
|
71
|
+
/**
|
|
72
|
+
* Breakpoints
|
|
73
|
+
*/
|
|
74
|
+
/**
|
|
75
|
+
* Container
|
|
76
|
+
*/
|
|
77
|
+
/**
|
|
78
|
+
* Spaces
|
|
79
|
+
*/
|
|
80
|
+
/**
|
|
81
|
+
* Fonts
|
|
82
|
+
*/
|
|
83
|
+
:host {
|
|
84
|
+
font-family: var(--stzh-font-family-regular);
|
|
85
|
+
font-weight: var(--stzh-font-weight-regular);
|
|
86
|
+
font-style: normal;
|
|
87
|
+
color: var(--stzh-base-color);
|
|
88
|
+
box-sizing: border-box;
|
|
89
|
+
display: block;
|
|
90
|
+
}
|
|
91
|
+
:host[hidden] {
|
|
92
|
+
display: none;
|
|
93
|
+
}
|
|
94
|
+
:host *,
|
|
95
|
+
:host *::before,
|
|
96
|
+
:host *::after {
|
|
97
|
+
box-sizing: border-box;
|
|
98
|
+
text-underline-offset: var(--stzh-link-text-underline-offset);
|
|
99
|
+
text-decoration-thickness: var(--stzh-link-text-decoration-thickness);
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
.stzh-pagination {
|
|
103
|
+
position: relative;
|
|
104
|
+
display: flex;
|
|
105
|
+
align-items: center;
|
|
106
|
+
gap: var(--stzh-space-medium);
|
|
107
|
+
padding-left: calc(var(--stzh-form-input-height) + var(--stzh-space-medium));
|
|
108
|
+
}
|
|
109
|
+
.stzh-pagination__input {
|
|
110
|
+
--text-align: center;
|
|
111
|
+
--input-width: var(--stzh-form-input-height);
|
|
112
|
+
--padding: 0px;
|
|
113
|
+
width: auto;
|
|
114
|
+
position: absolute;
|
|
115
|
+
top: 0;
|
|
116
|
+
left: 0;
|
|
117
|
+
}
|
|
118
|
+
.stzh-pagination__total {
|
|
119
|
+
font-size: var(--stzh-font-nano-font-size);
|
|
120
|
+
line-height: var(--stzh-font-nano-text-line-height);
|
|
121
|
+
}
|
|
122
|
+
.stzh-pagination--size-small {
|
|
123
|
+
padding-left: calc(var(--stzh-form-input-small-height) + var(--stzh-space-medium));
|
|
124
|
+
}
|
|
125
|
+
.stzh-pagination--size-small .stzh-pagination__input {
|
|
126
|
+
--input-width: var(--stzh-form-input-small-height);
|
|
127
|
+
}
|
|
@@ -0,0 +1,437 @@
|
|
|
1
|
+
import { Host, h, } from "@stencil/core";
|
|
2
|
+
import { fetchTranslations } from "../../utils/translation-utils";
|
|
3
|
+
/**
|
|
4
|
+
*/
|
|
5
|
+
export class StzhPagination {
|
|
6
|
+
constructor() {
|
|
7
|
+
this.gotoPage = (newPage) => {
|
|
8
|
+
const previous = this.value;
|
|
9
|
+
if (newPage >= 1 && newPage <= this.total) {
|
|
10
|
+
this.value = newPage;
|
|
11
|
+
}
|
|
12
|
+
else if (newPage > this.total) {
|
|
13
|
+
this.value = this.total;
|
|
14
|
+
}
|
|
15
|
+
else {
|
|
16
|
+
this.value = 1;
|
|
17
|
+
}
|
|
18
|
+
if (previous !== this.value) {
|
|
19
|
+
this.stzhChange.emit({
|
|
20
|
+
component: "stzh-pagination",
|
|
21
|
+
page: Number(this.value)
|
|
22
|
+
});
|
|
23
|
+
}
|
|
24
|
+
};
|
|
25
|
+
this.onRootFocus = () => {
|
|
26
|
+
if (this.input) {
|
|
27
|
+
this.input.setFocus();
|
|
28
|
+
}
|
|
29
|
+
};
|
|
30
|
+
this.onInputChange = (event) => {
|
|
31
|
+
const newPage = Number(event.detail.value) || 1;
|
|
32
|
+
this.gotoPage(newPage);
|
|
33
|
+
};
|
|
34
|
+
this.total = 1;
|
|
35
|
+
this.name = "";
|
|
36
|
+
this.value = 1;
|
|
37
|
+
this.label = "";
|
|
38
|
+
this.labelHidden = false;
|
|
39
|
+
this.readonly = false;
|
|
40
|
+
this.disabled = false;
|
|
41
|
+
this.description = undefined;
|
|
42
|
+
this.descriptionLong = undefined;
|
|
43
|
+
this.error = undefined;
|
|
44
|
+
this.invalid = false;
|
|
45
|
+
this.required = false;
|
|
46
|
+
this.showMarker = false;
|
|
47
|
+
this.size = "default";
|
|
48
|
+
this.a11yDescribedby = '';
|
|
49
|
+
this.localization = undefined;
|
|
50
|
+
}
|
|
51
|
+
/** Set current page to previous */
|
|
52
|
+
async prev() {
|
|
53
|
+
this.gotoPage(this.value - 1);
|
|
54
|
+
}
|
|
55
|
+
/** Set current page to next */
|
|
56
|
+
async next() {
|
|
57
|
+
this.gotoPage(this.value + 1);
|
|
58
|
+
}
|
|
59
|
+
async componentWillLoad() {
|
|
60
|
+
if (!this.localization) {
|
|
61
|
+
this.localization = await fetchTranslations(this.element, "pagination");
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
render() {
|
|
65
|
+
var _a;
|
|
66
|
+
const classes = {
|
|
67
|
+
"stzh-pagination": true,
|
|
68
|
+
[`stzh-pagination--size-${this.size}`]: !!this.size,
|
|
69
|
+
};
|
|
70
|
+
return (h(Host, { tabindex: this.disabled ? null : "-1", onFocus: this.onRootFocus }, h("div", { class: classes }, h("stzh-input", { class: "stzh-pagination__input", type: "number", min: 1, max: this.total, label: this.label || this.localization.label, labelHidden: true, ref: (el) => (this.input = el), onStzhChange: this.onInputChange, value: ((_a = this.value) === null || _a === void 0 ? void 0 : _a.toString()) || '', required: this.required, disabled: this.disabled, description: this.description, descriptionLong: this.descriptionLong, error: this.error, a11yDescribedby: this.a11yDescribedby, name: this.name, size: this.size, invalid: this.invalid, showMarker: this.showMarker, noAutocomplete: true }), h("div", { class: "stzh-pagination__total" }, this.localization.totalLabel
|
|
71
|
+
.replace(/\{total\}/gi, this.total.toString())), h("stzh-buttongroup", null, h("stzh-button", { variant: "secondary", icon: "angle-left", "icon-only": true, size: this.size, a11yDisabled: this.value <= 1, a11yDescribedby: this.a11yDescribedby, a11yLabel: `${this.label || this.localization.label}, ${this.localization.prevLabel}, ${this.localization.selectedPageLabel} ${this.value}`, disabled: this.disabled, onClick: () => this.prev() }), h("stzh-button", { variant: "secondary", icon: "angle-right", "icon-only": true, size: this.size, a11yDisabled: this.value >= this.total, a11yDescribedby: this.a11yDescribedby, a11yLabel: `${this.label || this.localization.label}, ${this.localization.nextLabel}, ${this.localization.selectedPageLabel} ${this.value}`, disabled: this.disabled, onClick: () => this.next() })))));
|
|
72
|
+
}
|
|
73
|
+
static get is() { return "stzh-pagination"; }
|
|
74
|
+
static get encapsulation() { return "scoped"; }
|
|
75
|
+
static get originalStyleUrls() {
|
|
76
|
+
return {
|
|
77
|
+
"$": ["stzh-pagination.scss"]
|
|
78
|
+
};
|
|
79
|
+
}
|
|
80
|
+
static get styleUrls() {
|
|
81
|
+
return {
|
|
82
|
+
"$": ["stzh-pagination.css"]
|
|
83
|
+
};
|
|
84
|
+
}
|
|
85
|
+
static get properties() {
|
|
86
|
+
return {
|
|
87
|
+
"total": {
|
|
88
|
+
"type": "number",
|
|
89
|
+
"mutable": false,
|
|
90
|
+
"complexType": {
|
|
91
|
+
"original": "number",
|
|
92
|
+
"resolved": "number",
|
|
93
|
+
"references": {}
|
|
94
|
+
},
|
|
95
|
+
"required": false,
|
|
96
|
+
"optional": false,
|
|
97
|
+
"docs": {
|
|
98
|
+
"tags": [],
|
|
99
|
+
"text": "Total pages available."
|
|
100
|
+
},
|
|
101
|
+
"attribute": "total",
|
|
102
|
+
"reflect": false,
|
|
103
|
+
"defaultValue": "1"
|
|
104
|
+
},
|
|
105
|
+
"name": {
|
|
106
|
+
"type": "string",
|
|
107
|
+
"mutable": false,
|
|
108
|
+
"complexType": {
|
|
109
|
+
"original": "string",
|
|
110
|
+
"resolved": "string",
|
|
111
|
+
"references": {}
|
|
112
|
+
},
|
|
113
|
+
"required": false,
|
|
114
|
+
"optional": false,
|
|
115
|
+
"docs": {
|
|
116
|
+
"tags": [],
|
|
117
|
+
"text": "Name of the hidden date picker input."
|
|
118
|
+
},
|
|
119
|
+
"attribute": "name",
|
|
120
|
+
"reflect": true,
|
|
121
|
+
"defaultValue": "\"\""
|
|
122
|
+
},
|
|
123
|
+
"value": {
|
|
124
|
+
"type": "number",
|
|
125
|
+
"mutable": true,
|
|
126
|
+
"complexType": {
|
|
127
|
+
"original": "number",
|
|
128
|
+
"resolved": "number",
|
|
129
|
+
"references": {}
|
|
130
|
+
},
|
|
131
|
+
"required": false,
|
|
132
|
+
"optional": false,
|
|
133
|
+
"docs": {
|
|
134
|
+
"tags": [],
|
|
135
|
+
"text": "Current page."
|
|
136
|
+
},
|
|
137
|
+
"attribute": "value",
|
|
138
|
+
"reflect": false,
|
|
139
|
+
"defaultValue": "1"
|
|
140
|
+
},
|
|
141
|
+
"label": {
|
|
142
|
+
"type": "string",
|
|
143
|
+
"mutable": false,
|
|
144
|
+
"complexType": {
|
|
145
|
+
"original": "string",
|
|
146
|
+
"resolved": "string",
|
|
147
|
+
"references": {}
|
|
148
|
+
},
|
|
149
|
+
"required": false,
|
|
150
|
+
"optional": false,
|
|
151
|
+
"docs": {
|
|
152
|
+
"tags": [],
|
|
153
|
+
"text": "Label for dropdown"
|
|
154
|
+
},
|
|
155
|
+
"attribute": "label",
|
|
156
|
+
"reflect": false,
|
|
157
|
+
"defaultValue": "\"\""
|
|
158
|
+
},
|
|
159
|
+
"labelHidden": {
|
|
160
|
+
"type": "boolean",
|
|
161
|
+
"mutable": false,
|
|
162
|
+
"complexType": {
|
|
163
|
+
"original": "boolean",
|
|
164
|
+
"resolved": "boolean",
|
|
165
|
+
"references": {}
|
|
166
|
+
},
|
|
167
|
+
"required": false,
|
|
168
|
+
"optional": false,
|
|
169
|
+
"docs": {
|
|
170
|
+
"tags": [],
|
|
171
|
+
"text": "Whether label is hidden."
|
|
172
|
+
},
|
|
173
|
+
"attribute": "label-hidden",
|
|
174
|
+
"reflect": false,
|
|
175
|
+
"defaultValue": "false"
|
|
176
|
+
},
|
|
177
|
+
"readonly": {
|
|
178
|
+
"type": "boolean",
|
|
179
|
+
"mutable": false,
|
|
180
|
+
"complexType": {
|
|
181
|
+
"original": "boolean",
|
|
182
|
+
"resolved": "boolean",
|
|
183
|
+
"references": {}
|
|
184
|
+
},
|
|
185
|
+
"required": false,
|
|
186
|
+
"optional": false,
|
|
187
|
+
"docs": {
|
|
188
|
+
"tags": [],
|
|
189
|
+
"text": "Whether the element is readonly or not"
|
|
190
|
+
},
|
|
191
|
+
"attribute": "readonly",
|
|
192
|
+
"reflect": true,
|
|
193
|
+
"defaultValue": "false"
|
|
194
|
+
},
|
|
195
|
+
"disabled": {
|
|
196
|
+
"type": "boolean",
|
|
197
|
+
"mutable": false,
|
|
198
|
+
"complexType": {
|
|
199
|
+
"original": "boolean",
|
|
200
|
+
"resolved": "boolean",
|
|
201
|
+
"references": {}
|
|
202
|
+
},
|
|
203
|
+
"required": false,
|
|
204
|
+
"optional": false,
|
|
205
|
+
"docs": {
|
|
206
|
+
"tags": [],
|
|
207
|
+
"text": "Whether the element is disabled or not"
|
|
208
|
+
},
|
|
209
|
+
"attribute": "disabled",
|
|
210
|
+
"reflect": true,
|
|
211
|
+
"defaultValue": "false"
|
|
212
|
+
},
|
|
213
|
+
"description": {
|
|
214
|
+
"type": "string",
|
|
215
|
+
"mutable": false,
|
|
216
|
+
"complexType": {
|
|
217
|
+
"original": "string",
|
|
218
|
+
"resolved": "string",
|
|
219
|
+
"references": {}
|
|
220
|
+
},
|
|
221
|
+
"required": false,
|
|
222
|
+
"optional": false,
|
|
223
|
+
"docs": {
|
|
224
|
+
"tags": [],
|
|
225
|
+
"text": "Description message (use description slot as alternative)"
|
|
226
|
+
},
|
|
227
|
+
"attribute": "description",
|
|
228
|
+
"reflect": false
|
|
229
|
+
},
|
|
230
|
+
"descriptionLong": {
|
|
231
|
+
"type": "string",
|
|
232
|
+
"mutable": false,
|
|
233
|
+
"complexType": {
|
|
234
|
+
"original": "string",
|
|
235
|
+
"resolved": "string",
|
|
236
|
+
"references": {}
|
|
237
|
+
},
|
|
238
|
+
"required": false,
|
|
239
|
+
"optional": false,
|
|
240
|
+
"docs": {
|
|
241
|
+
"tags": [],
|
|
242
|
+
"text": "Long description message appearing in a popover (use description-long slot as alternative)"
|
|
243
|
+
},
|
|
244
|
+
"attribute": "description-long",
|
|
245
|
+
"reflect": false
|
|
246
|
+
},
|
|
247
|
+
"error": {
|
|
248
|
+
"type": "string",
|
|
249
|
+
"mutable": false,
|
|
250
|
+
"complexType": {
|
|
251
|
+
"original": "string | string[]",
|
|
252
|
+
"resolved": "string | string[]",
|
|
253
|
+
"references": {}
|
|
254
|
+
},
|
|
255
|
+
"required": false,
|
|
256
|
+
"optional": false,
|
|
257
|
+
"docs": {
|
|
258
|
+
"tags": [],
|
|
259
|
+
"text": "One or multiple error message (use error slot as alternative)"
|
|
260
|
+
},
|
|
261
|
+
"attribute": "error",
|
|
262
|
+
"reflect": false
|
|
263
|
+
},
|
|
264
|
+
"invalid": {
|
|
265
|
+
"type": "boolean",
|
|
266
|
+
"mutable": false,
|
|
267
|
+
"complexType": {
|
|
268
|
+
"original": "boolean",
|
|
269
|
+
"resolved": "boolean",
|
|
270
|
+
"references": {}
|
|
271
|
+
},
|
|
272
|
+
"required": false,
|
|
273
|
+
"optional": false,
|
|
274
|
+
"docs": {
|
|
275
|
+
"tags": [],
|
|
276
|
+
"text": "Invalid status"
|
|
277
|
+
},
|
|
278
|
+
"attribute": "invalid",
|
|
279
|
+
"reflect": true,
|
|
280
|
+
"defaultValue": "false"
|
|
281
|
+
},
|
|
282
|
+
"required": {
|
|
283
|
+
"type": "boolean",
|
|
284
|
+
"mutable": false,
|
|
285
|
+
"complexType": {
|
|
286
|
+
"original": "boolean",
|
|
287
|
+
"resolved": "boolean",
|
|
288
|
+
"references": {}
|
|
289
|
+
},
|
|
290
|
+
"required": false,
|
|
291
|
+
"optional": false,
|
|
292
|
+
"docs": {
|
|
293
|
+
"tags": [],
|
|
294
|
+
"text": "Required status"
|
|
295
|
+
},
|
|
296
|
+
"attribute": "required",
|
|
297
|
+
"reflect": true,
|
|
298
|
+
"defaultValue": "false"
|
|
299
|
+
},
|
|
300
|
+
"showMarker": {
|
|
301
|
+
"type": "boolean",
|
|
302
|
+
"mutable": false,
|
|
303
|
+
"complexType": {
|
|
304
|
+
"original": "boolean",
|
|
305
|
+
"resolved": "boolean",
|
|
306
|
+
"references": {}
|
|
307
|
+
},
|
|
308
|
+
"required": false,
|
|
309
|
+
"optional": false,
|
|
310
|
+
"docs": {
|
|
311
|
+
"tags": [],
|
|
312
|
+
"text": "Append text to label depending if field is optional/required. true -> show \"(optional)\", false -> show nothing"
|
|
313
|
+
},
|
|
314
|
+
"attribute": "show-marker",
|
|
315
|
+
"reflect": true,
|
|
316
|
+
"defaultValue": "false"
|
|
317
|
+
},
|
|
318
|
+
"size": {
|
|
319
|
+
"type": "string",
|
|
320
|
+
"mutable": false,
|
|
321
|
+
"complexType": {
|
|
322
|
+
"original": "\"default\" | \"small\"",
|
|
323
|
+
"resolved": "\"default\" | \"small\"",
|
|
324
|
+
"references": {}
|
|
325
|
+
},
|
|
326
|
+
"required": false,
|
|
327
|
+
"optional": false,
|
|
328
|
+
"docs": {
|
|
329
|
+
"tags": [],
|
|
330
|
+
"text": "Size variant"
|
|
331
|
+
},
|
|
332
|
+
"attribute": "size",
|
|
333
|
+
"reflect": true,
|
|
334
|
+
"defaultValue": "\"default\""
|
|
335
|
+
},
|
|
336
|
+
"a11yDescribedby": {
|
|
337
|
+
"type": "string",
|
|
338
|
+
"mutable": false,
|
|
339
|
+
"complexType": {
|
|
340
|
+
"original": "string",
|
|
341
|
+
"resolved": "string",
|
|
342
|
+
"references": {}
|
|
343
|
+
},
|
|
344
|
+
"required": false,
|
|
345
|
+
"optional": false,
|
|
346
|
+
"docs": {
|
|
347
|
+
"tags": [],
|
|
348
|
+
"text": "Id of the element which describes the input"
|
|
349
|
+
},
|
|
350
|
+
"attribute": "a11y-describedby",
|
|
351
|
+
"reflect": false,
|
|
352
|
+
"defaultValue": "''"
|
|
353
|
+
},
|
|
354
|
+
"localization": {
|
|
355
|
+
"type": "unknown",
|
|
356
|
+
"mutable": false,
|
|
357
|
+
"complexType": {
|
|
358
|
+
"original": "StzhPaginationLocalizedText",
|
|
359
|
+
"resolved": "StzhLocaleComponent & { label: string; totalLabel: string; prevLabel: string; nextLabel: string; selectedPageLabel: string; }",
|
|
360
|
+
"references": {
|
|
361
|
+
"StzhPaginationLocalizedText": {
|
|
362
|
+
"location": "import",
|
|
363
|
+
"path": "./stzh-pagination.localization"
|
|
364
|
+
}
|
|
365
|
+
}
|
|
366
|
+
},
|
|
367
|
+
"required": false,
|
|
368
|
+
"optional": false,
|
|
369
|
+
"docs": {
|
|
370
|
+
"tags": [],
|
|
371
|
+
"text": "Translation strings."
|
|
372
|
+
}
|
|
373
|
+
}
|
|
374
|
+
};
|
|
375
|
+
}
|
|
376
|
+
static get events() {
|
|
377
|
+
return [{
|
|
378
|
+
"method": "stzhChange",
|
|
379
|
+
"name": "stzhChange",
|
|
380
|
+
"bubbles": true,
|
|
381
|
+
"cancelable": true,
|
|
382
|
+
"composed": true,
|
|
383
|
+
"docs": {
|
|
384
|
+
"tags": [],
|
|
385
|
+
"text": "Pagination change event"
|
|
386
|
+
},
|
|
387
|
+
"complexType": {
|
|
388
|
+
"original": "StzhPaginationChangeEvent",
|
|
389
|
+
"resolved": "{ component: \"stzh-pagination\"; page: number; }",
|
|
390
|
+
"references": {
|
|
391
|
+
"StzhPaginationChangeEvent": {
|
|
392
|
+
"location": "import",
|
|
393
|
+
"path": "../../index"
|
|
394
|
+
}
|
|
395
|
+
}
|
|
396
|
+
}
|
|
397
|
+
}];
|
|
398
|
+
}
|
|
399
|
+
static get methods() {
|
|
400
|
+
return {
|
|
401
|
+
"prev": {
|
|
402
|
+
"complexType": {
|
|
403
|
+
"signature": "() => Promise<void>",
|
|
404
|
+
"parameters": [],
|
|
405
|
+
"references": {
|
|
406
|
+
"Promise": {
|
|
407
|
+
"location": "global"
|
|
408
|
+
}
|
|
409
|
+
},
|
|
410
|
+
"return": "Promise<void>"
|
|
411
|
+
},
|
|
412
|
+
"docs": {
|
|
413
|
+
"text": "Set current page to previous",
|
|
414
|
+
"tags": []
|
|
415
|
+
}
|
|
416
|
+
},
|
|
417
|
+
"next": {
|
|
418
|
+
"complexType": {
|
|
419
|
+
"signature": "() => Promise<void>",
|
|
420
|
+
"parameters": [],
|
|
421
|
+
"references": {
|
|
422
|
+
"Promise": {
|
|
423
|
+
"location": "global"
|
|
424
|
+
}
|
|
425
|
+
},
|
|
426
|
+
"return": "Promise<void>"
|
|
427
|
+
},
|
|
428
|
+
"docs": {
|
|
429
|
+
"text": "Set current page to next",
|
|
430
|
+
"tags": []
|
|
431
|
+
}
|
|
432
|
+
}
|
|
433
|
+
};
|
|
434
|
+
}
|
|
435
|
+
static get elementRef() { return "element"; }
|
|
436
|
+
}
|
|
437
|
+
//# sourceMappingURL=stzh-pagination.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"stzh-pagination.js","sourceRoot":"","sources":["../../../src/components/stzh-pagination/stzh-pagination.tsx"],"names":[],"mappings":"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","sourcesContent":["import {\n Component,\n Prop,\n Host,\n Element,\n h,\n Event,\n EventEmitter,\n Method,\n} from \"@stencil/core\";\n\nimport {\n StzhInputChangeEvent,\n StzhPaginationChangeEvent\n} from \"../../index\";\n\nimport { fetchTranslations } from \"../../utils/translation-utils\";\nimport { StzhPaginationLocalizedText } from \"./stzh-pagination.localization\";\n\n/**\n */\n@Component({\n tag: \"stzh-pagination\",\n styleUrl: \"stzh-pagination.scss\",\n scoped: true\n})\nexport class StzhPagination {\n /** Total pages available. */\n @Prop() total: number = 1;\n\n /** Name of the hidden date picker input. */\n @Prop({ reflect: true }) name: string = \"\";\n\n /** Current page. */\n @Prop({ mutable: true }) value: number = 1;\n\n /** Label for dropdown */\n @Prop() label: string = \"\";\n\n /** Whether label is hidden. */\n @Prop() labelHidden: boolean = false;\n\n /** Whether the element is readonly or not */\n @Prop({ reflect: true }) readonly: boolean = false;\n\n /** Whether the element is disabled or not */\n @Prop({ reflect: true }) disabled: boolean = false;\n\n /** Description message (use description slot as alternative) */\n @Prop() description: string;\n\n /** Long description message appearing in a popover (use description-long slot as alternative) */\n @Prop() descriptionLong: string;\n\n /** One or multiple error message (use error slot as alternative) */\n @Prop() error: string | string[];\n\n /** Invalid status */\n @Prop({ reflect: true }) invalid: boolean = false;\n\n /** Required status */\n @Prop({ reflect: true }) required: boolean = false;\n\n /** Append text to label depending if field is optional/required. true -> show \"(optional)\", false -> show nothing */\n @Prop({ reflect: true }) showMarker: boolean = false;\n\n /** Size variant */\n @Prop({ reflect: true }) size: \"default\" | \"small\" = \"default\";\n\n /** Id of the element which describes the input */\n @Prop({ attribute: \"a11y-describedby\" }) a11yDescribedby: string = '';\n\n /** Translation strings. */\n @Prop() localization: StzhPaginationLocalizedText;\n\n /** Pagination change event */\n @Event() stzhChange: EventEmitter<StzhPaginationChangeEvent>;\n\n @Element() element: HTMLStzhPaginationElement;\n\n /** Set current page to previous */\n @Method()\n async prev() {\n this.gotoPage(this.value - 1);\n }\n\n /** Set current page to next */\n @Method()\n async next() {\n this.gotoPage(this.value + 1);\n }\n\n private input: HTMLStzhInputElement;\n\n private gotoPage = (newPage: number) => {\n const previous = this.value;\n\n if (newPage >= 1 && newPage <= this.total) {\n this.value = newPage;\n } else if (newPage > this.total) {\n this.value = this.total;\n } else {\n this.value = 1;\n }\n\n if (previous !== this.value) {\n this.stzhChange.emit({\n component: \"stzh-pagination\",\n page: Number(this.value)\n });\n }\n }\n\n private onRootFocus = () => {\n if (this.input) {\n this.input.setFocus();\n }\n }\n\n private onInputChange = (event: CustomEvent<StzhInputChangeEvent>) => {\n const newPage = Number(event.detail.value) || 1;\n this.gotoPage(newPage);\n }\n\n async componentWillLoad() {\n if (!this.localization) {\n this.localization = await fetchTranslations(this.element, \"pagination\");\n }\n }\n\n render() {\n const classes = {\n \"stzh-pagination\": true,\n [`stzh-pagination--size-${this.size}`]: !!this.size,\n };\n\n return (\n <Host tabindex={this.disabled ? null : \"-1\"} onFocus={this.onRootFocus}>\n <div class={classes}>\n <stzh-input\n class=\"stzh-pagination__input\"\n type=\"number\"\n min={1}\n max={this.total}\n label={this.label || this.localization.label}\n labelHidden={true}\n ref={(el) => (this.input = el as HTMLStzhInputElement)}\n onStzhChange={this.onInputChange}\n value={this.value?.toString() || ''}\n required={this.required}\n disabled={this.disabled}\n description={this.description}\n descriptionLong={this.descriptionLong}\n error={this.error}\n a11yDescribedby={this.a11yDescribedby}\n name={this.name}\n size={this.size}\n invalid={this.invalid}\n showMarker={this.showMarker}\n noAutocomplete={true}\n ></stzh-input>\n <div class=\"stzh-pagination__total\">\n {this.localization.totalLabel\n .replace(/\\{total\\}/gi, this.total.toString())}\n </div>\n <stzh-buttongroup>\n <stzh-button\n variant=\"secondary\"\n icon=\"angle-left\"\n icon-only\n size={this.size}\n a11yDisabled={this.value <= 1}\n a11yDescribedby={this.a11yDescribedby}\n a11yLabel={`${this.label || this.localization.label}, ${this.localization.prevLabel}, ${this.localization.selectedPageLabel} ${this.value}`}\n disabled={this.disabled}\n onClick={() => this.prev()}\n ></stzh-button>\n <stzh-button\n variant=\"secondary\"\n icon=\"angle-right\"\n icon-only\n size={this.size}\n a11yDisabled={this.value >= this.total}\n a11yDescribedby={this.a11yDescribedby}\n a11yLabel={`${this.label || this.localization.label}, ${this.localization.nextLabel}, ${this.localization.selectedPageLabel} ${this.value}`}\n disabled={this.disabled}\n onClick={() => this.next()}\n ></stzh-button>\n </stzh-buttongroup>\n </div>\n </Host>\n );\n }\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"stzh-pagination.localization.js","sourceRoot":"","sources":["../../../src/components/stzh-pagination/stzh-pagination.localization.ts"],"names":[],"mappings":"","sourcesContent":["import { StzhLocaleComponent } from \"../../utils/translation-utils\";\n\nexport type StzhPaginationLocalizedText = StzhLocaleComponent & {\n label: string\n totalLabel: string\n prevLabel: string\n nextLabel: string\n selectedPageLabel: string\n}\n"]}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { createComponentStory } from '../../utils/story-utils';
|
|
2
|
+
import { withActions } from '@storybook/addon-actions/decorator';
|
|
3
|
+
import readme from './readme.md?raw';
|
|
4
|
+
import { withDesign } from 'storybook-addon-designs';
|
|
5
|
+
import { getFigmaLink } from '../../../figma';
|
|
6
|
+
|
|
7
|
+
const COMPONENT_NAME = 'stzh-pagination';
|
|
8
|
+
const story = createComponentStory(COMPONENT_NAME);
|
|
9
|
+
|
|
10
|
+
const TEMPLATE = `
|
|
11
|
+
<stzh-pagination></stzh-pagination>
|
|
12
|
+
`;
|
|
13
|
+
|
|
14
|
+
export default {
|
|
15
|
+
title: 'Components/Pagination',
|
|
16
|
+
component: COMPONENT_NAME,
|
|
17
|
+
parameters: {
|
|
18
|
+
actions: {
|
|
19
|
+
handles: ['stzhChange']
|
|
20
|
+
},
|
|
21
|
+
docs: {
|
|
22
|
+
description: {
|
|
23
|
+
component: readme
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
design: {
|
|
27
|
+
type: 'figma',
|
|
28
|
+
url: getFigmaLink('pagination'),
|
|
29
|
+
allowFullscreen: true
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
decorators: [
|
|
33
|
+
withActions,
|
|
34
|
+
withDesign
|
|
35
|
+
]
|
|
36
|
+
};
|
|
37
|
+
|
|
38
|
+
export const Default = {
|
|
39
|
+
render: (args) => story(args, TEMPLATE),
|
|
40
|
+
args: {
|
|
41
|
+
total: 123,
|
|
42
|
+
}
|
|
43
|
+
};
|
|
44
|
+
|
|
@@ -101,9 +101,11 @@
|
|
|
101
101
|
}
|
|
102
102
|
|
|
103
103
|
:host {
|
|
104
|
+
--color: var(--stzh-base-color);
|
|
104
105
|
--richtext-blockquote-color: var(--stzh-richtext-blockquote-color);
|
|
105
106
|
--richtext-blockquote-line-color: var(--stzh-richtext-blockquote-line-color);
|
|
106
107
|
--richtext-blockquote-footer-color: var(--stzh-richtext-blockquote-footer-color);
|
|
108
|
+
color: var(--color);
|
|
107
109
|
}
|
|
108
110
|
:host ::slotted(*) {
|
|
109
111
|
/* Font weights */
|
|
@@ -856,9 +858,9 @@
|
|
|
856
858
|
width: var(--stzh-icon-size-default);
|
|
857
859
|
height: var(--stzh-icon-size-default);
|
|
858
860
|
}
|
|
859
|
-
:host ::slotted(*:first-child) {
|
|
861
|
+
:host[remove-first-margin]:not([remove-first-margin=false]) ::slotted(*:first-child) {
|
|
860
862
|
margin-top: 0 !important;
|
|
861
863
|
}
|
|
862
|
-
:host ::slotted(*:last-child) {
|
|
864
|
+
:host[remove-last-margin]:not([remove-last-margin=false]) ::slotted(*:last-child) {
|
|
863
865
|
margin-bottom: 0 !important;
|
|
864
866
|
}
|