@oiz/stzh-components 3.4.0-beta1 → 3.4.0-beta2
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-1074eba6.js → app-globals-d9805497.js} +2 -2
- package/dist/cjs/{app-globals-1074eba6.js.map → app-globals-d9805497.js.map} +1 -1
- package/dist/cjs/index-92254d32.js +40 -16
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/stzh-actions.cjs.entry.js +10 -8
- package/dist/cjs/stzh-actions.cjs.entry.js.map +1 -1
- package/dist/cjs/stzh-archivelist.cjs.entry.js +6 -16
- package/dist/cjs/stzh-archivelist.cjs.entry.js.map +1 -1
- package/dist/cjs/{stzh-card_2.cjs.entry.js → stzh-card.cjs.entry.js} +55 -143
- package/dist/cjs/stzh-card.cjs.entry.js.map +1 -0
- package/dist/cjs/{stzh-sortable.cjs.entry.js → stzh-cardlist_2.cjs.entry.js} +92 -1
- package/dist/cjs/stzh-cardlist_2.cjs.entry.js.map +1 -0
- package/dist/cjs/{stzh-checkbox_4.cjs.entry.js → stzh-checkbox_3.cjs.entry.js} +4 -91
- package/dist/cjs/stzh-checkbox_3.cjs.entry.js.map +1 -0
- package/dist/cjs/{stzh-chip_2.cjs.entry.js → stzh-chip.cjs.entry.js} +1 -215
- package/dist/cjs/stzh-chip.cjs.entry.js.map +1 -0
- package/dist/cjs/stzh-chipgroup.cjs.entry.js +25 -0
- package/dist/cjs/stzh-chipgroup.cjs.entry.js.map +1 -0
- package/dist/cjs/stzh-chipselect.cjs.entry.js +234 -0
- package/dist/cjs/stzh-chipselect.cjs.entry.js.map +1 -0
- package/dist/cjs/stzh-components.cjs.js +2 -2
- package/dist/cjs/stzh-dropdown.cjs.entry.js +53 -55
- package/dist/cjs/stzh-dropdown.cjs.entry.js.map +1 -1
- package/dist/cjs/stzh-fieldset.cjs.entry.js +1 -1
- package/dist/cjs/stzh-fieldset.cjs.entry.js.map +1 -1
- package/dist/cjs/stzh-geo-ref-data.cjs.entry.js +98 -41
- package/dist/cjs/stzh-geo-ref-data.cjs.entry.js.map +1 -1
- package/dist/cjs/stzh-input.cjs.entry.js +6 -2
- package/dist/cjs/stzh-input.cjs.entry.js.map +1 -1
- package/dist/cjs/{stzh-chipgroup_2.cjs.entry.js → stzh-message.cjs.entry.js} +1 -18
- package/dist/cjs/stzh-message.cjs.entry.js.map +1 -0
- package/dist/cjs/stzh-overlay.cjs.entry.js +97 -0
- package/dist/cjs/stzh-overlay.cjs.entry.js.map +1 -0
- package/dist/cjs/stzh-pi-teaser.cjs.entry.js +1 -1
- package/dist/cjs/stzh-pi-teaser.cjs.entry.js.map +1 -1
- package/dist/cjs/stzh-poicard.cjs.entry.js +52 -0
- package/dist/cjs/stzh-poicard.cjs.entry.js.map +1 -0
- package/dist/cjs/stzh-poilist.cjs.entry.js +122 -0
- package/dist/cjs/stzh-poilist.cjs.entry.js.map +1 -0
- package/dist/cjs/stzh-popover.cjs.entry.js +445 -0
- package/dist/cjs/stzh-popover.cjs.entry.js.map +1 -0
- package/dist/cjs/stzh-saptcha.cjs.entry.js +10 -9
- package/dist/cjs/stzh-saptcha.cjs.entry.js.map +1 -1
- package/dist/cjs/stzh-search.cjs.entry.js +52 -3
- package/dist/cjs/stzh-search.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-popover_2.cjs.entry.js → stzh-text.cjs.entry.js} +1 -438
- package/dist/cjs/stzh-text.cjs.entry.js.map +1 -0
- package/dist/cjs/stzh-vbz-connection-finder.cjs.entry.js +1 -1
- package/dist/cjs/stzh-vbz-connection-finder.cjs.entry.js.map +1 -1
- package/dist/collection/assets/i18n/de.json +9 -0
- package/dist/collection/assets/i18n/en.json +9 -0
- package/dist/collection/collection-manifest.json +2 -0
- package/dist/collection/components/stzh-actions/stzh-actions.css +27 -0
- package/dist/collection/components/stzh-actions/stzh-actions.js +30 -10
- package/dist/collection/components/stzh-actions/stzh-actions.js.map +1 -1
- package/dist/collection/components/stzh-archivelist/stzh-archivelist.css +3 -0
- package/dist/collection/components/stzh-archivelist/stzh-archivelist.js +42 -16
- package/dist/collection/components/stzh-archivelist/stzh-archivelist.js.map +1 -1
- package/dist/collection/components/stzh-archivelist/stzh-archivelist.stories.js +109 -102
- package/dist/collection/components/stzh-card/stzh-card.css +5 -0
- package/dist/collection/components/stzh-card/stzh-card.js +72 -51
- package/dist/collection/components/stzh-card/stzh-card.js.map +1 -1
- package/dist/collection/components/stzh-cardlist/stzh-cardlist.css +5 -0
- package/dist/collection/components/stzh-chipselect/stzh-chipselect.css +8 -8
- package/dist/collection/components/stzh-chipselect/stzh-chipselect.js +13 -1
- package/dist/collection/components/stzh-chipselect/stzh-chipselect.js.map +1 -1
- package/dist/collection/components/stzh-dropdown/stzh-dropdown.css +11 -1
- package/dist/collection/components/stzh-dropdown/stzh-dropdown.js +89 -55
- package/dist/collection/components/stzh-dropdown/stzh-dropdown.js.map +1 -1
- package/dist/collection/components/stzh-fieldset/stzh-fieldset.css +120 -0
- package/dist/collection/components/stzh-geo-ref-data/stzh-geo-ref-data.css +2 -0
- package/dist/collection/components/stzh-geo-ref-data/stzh-geo-ref-data.js +156 -51
- package/dist/collection/components/stzh-geo-ref-data/stzh-geo-ref-data.js.map +1 -1
- package/dist/collection/components/stzh-geo-ref-data/stzh-geo-ref-data.stories.js +64 -63
- package/dist/collection/components/stzh-input/stzh-input.css +6 -0
- package/dist/collection/components/stzh-input/stzh-input.js +23 -1
- package/dist/collection/components/stzh-input/stzh-input.js.map +1 -1
- package/dist/collection/components/stzh-pi-teaser/stzh-pi-teaser.css +18 -3
- package/dist/collection/components/stzh-pi-teaser/stzh-pi-teaser.stories.js +30 -29
- package/dist/collection/components/stzh-poicard/stzh-poicard.css +231 -0
- package/dist/collection/components/stzh-poicard/stzh-poicard.e2e.js +16 -0
- package/dist/collection/components/stzh-poicard/stzh-poicard.e2e.js.map +1 -0
- package/dist/collection/components/stzh-poicard/stzh-poicard.js +86 -0
- package/dist/collection/components/stzh-poicard/stzh-poicard.js.map +1 -0
- package/dist/collection/components/stzh-poicard/stzh-poicard.stories.js +117 -0
- package/dist/collection/components/stzh-poilist/stzh-poilist.css +210 -0
- package/dist/collection/components/stzh-poilist/stzh-poilist.e2e.js +16 -0
- package/dist/collection/components/stzh-poilist/stzh-poilist.e2e.js.map +1 -0
- package/dist/collection/components/stzh-poilist/stzh-poilist.js +181 -0
- package/dist/collection/components/stzh-poilist/stzh-poilist.js.map +1 -0
- package/dist/collection/components/stzh-poilist/stzh-poilist.localization.js +2 -0
- package/dist/collection/components/stzh-poilist/stzh-poilist.localization.js.map +1 -0
- package/dist/collection/components/stzh-poilist/stzh-poilist.stories.js +31 -0
- package/dist/collection/components/stzh-richtext/stzh-richtext.stories.js +31 -16
- package/dist/collection/components/stzh-saptcha/stzh-saptcha.js +34 -17
- package/dist/collection/components/stzh-saptcha/stzh-saptcha.js.map +1 -1
- package/dist/collection/components/stzh-saptcha/stzh-saptcha.stories.js +3 -0
- package/dist/collection/components/stzh-search/stzh-search.css +4 -4
- package/dist/collection/components/stzh-search/stzh-search.js +122 -2
- package/dist/collection/components/stzh-search/stzh-search.js.map +1 -1
- package/dist/collection/components/stzh-section/stzh-section.css +19 -6
- package/dist/collection/components/stzh-vbz-connection-finder/stzh-vbz-connection-finder.js +1 -1
- package/dist/collection/components/stzh-vbz-connection-finder/stzh-vbz-connection-finder.js.map +1 -1
- package/dist/collection/index.js.map +1 -1
- package/dist/collection/pages/jobsearch/jobsearch.e2e.js +16 -0
- package/dist/collection/pages/jobsearch/jobsearch.e2e.js.map +1 -0
- package/dist/components/index.js +1 -1
- package/dist/components/index2.js.map +1 -1
- package/dist/components/stzh-actions.js +12 -9
- package/dist/components/stzh-actions.js.map +1 -1
- package/dist/components/stzh-archivelist.js +20 -22
- package/dist/components/stzh-archivelist.js.map +1 -1
- package/dist/components/stzh-card2.js +55 -51
- package/dist/components/stzh-card2.js.map +1 -1
- package/dist/components/stzh-cardlist2.js +1 -1
- package/dist/components/stzh-cardlist2.js.map +1 -1
- package/dist/components/stzh-chipselect2.js +14 -2
- package/dist/components/stzh-chipselect2.js.map +1 -1
- package/dist/components/stzh-dropdown2.js +55 -55
- package/dist/components/stzh-dropdown2.js.map +1 -1
- package/dist/components/stzh-fieldset.js +1 -1
- package/dist/components/stzh-fieldset.js.map +1 -1
- package/dist/components/stzh-geo-ref-data.js +109 -45
- package/dist/components/stzh-geo-ref-data.js.map +1 -1
- package/dist/components/stzh-input2.js +7 -2
- package/dist/components/stzh-input2.js.map +1 -1
- package/dist/components/stzh-pi-teaser.js +1 -1
- package/dist/components/stzh-pi-teaser.js.map +1 -1
- package/dist/components/stzh-poicard.d.ts +11 -0
- package/dist/components/stzh-poicard.js +8 -0
- package/dist/components/stzh-poicard.js.map +1 -0
- package/dist/components/stzh-poicard2.js +108 -0
- package/dist/components/stzh-poicard2.js.map +1 -0
- package/dist/components/stzh-poilist.d.ts +11 -0
- package/dist/components/stzh-poilist.js +246 -0
- package/dist/components/stzh-poilist.js.map +1 -0
- package/dist/components/stzh-saptcha.js +13 -14
- package/dist/components/stzh-saptcha.js.map +1 -1
- package/dist/components/stzh-search.js +57 -3
- package/dist/components/stzh-search.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-vbz-connection-finder.js +1 -1
- package/dist/components/stzh-vbz-connection-finder.js.map +1 -1
- package/dist/esm/{app-globals-fbb949bd.js → app-globals-ca13b6e3.js} +2 -2
- package/dist/esm/{app-globals-fbb949bd.js.map → app-globals-ca13b6e3.js.map} +1 -1
- package/dist/esm/index-e3050b18.js +40 -16
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/loader.js +2 -2
- package/dist/esm/stzh-actions.entry.js +10 -8
- package/dist/esm/stzh-actions.entry.js.map +1 -1
- package/dist/esm/stzh-archivelist.entry.js +6 -16
- package/dist/esm/stzh-archivelist.entry.js.map +1 -1
- package/dist/esm/{stzh-card_2.entry.js → stzh-card.entry.js} +56 -143
- package/dist/esm/stzh-card.entry.js.map +1 -0
- package/dist/esm/{stzh-sortable.entry.js → stzh-cardlist_2.entry.js} +92 -2
- package/dist/esm/stzh-cardlist_2.entry.js.map +1 -0
- package/dist/esm/{stzh-checkbox_4.entry.js → stzh-checkbox_3.entry.js} +5 -91
- package/dist/esm/stzh-checkbox_3.entry.js.map +1 -0
- package/dist/esm/{stzh-chip_2.entry.js → stzh-chip.entry.js} +3 -216
- package/dist/esm/stzh-chip.entry.js.map +1 -0
- package/dist/esm/stzh-chipgroup.entry.js +21 -0
- package/dist/esm/stzh-chipgroup.entry.js.map +1 -0
- package/dist/esm/stzh-chipselect.entry.js +230 -0
- package/dist/esm/stzh-chipselect.entry.js.map +1 -0
- package/dist/esm/stzh-components.js +2 -2
- package/dist/esm/stzh-dropdown.entry.js +53 -55
- package/dist/esm/stzh-dropdown.entry.js.map +1 -1
- package/dist/esm/stzh-fieldset.entry.js +1 -1
- package/dist/esm/stzh-fieldset.entry.js.map +1 -1
- package/dist/esm/stzh-geo-ref-data.entry.js +98 -41
- package/dist/esm/stzh-geo-ref-data.entry.js.map +1 -1
- package/dist/esm/stzh-input.entry.js +6 -2
- package/dist/esm/stzh-input.entry.js.map +1 -1
- package/dist/esm/{stzh-chipgroup_2.entry.js → stzh-message.entry.js} +3 -19
- package/dist/esm/stzh-message.entry.js.map +1 -0
- package/dist/esm/stzh-overlay.entry.js +93 -0
- package/dist/esm/stzh-overlay.entry.js.map +1 -0
- package/dist/esm/stzh-pi-teaser.entry.js +1 -1
- package/dist/esm/stzh-pi-teaser.entry.js.map +1 -1
- package/dist/esm/stzh-poicard.entry.js +48 -0
- package/dist/esm/stzh-poicard.entry.js.map +1 -0
- package/dist/esm/stzh-poilist.entry.js +118 -0
- package/dist/esm/stzh-poilist.entry.js.map +1 -0
- package/dist/esm/stzh-popover.entry.js +441 -0
- package/dist/esm/stzh-popover.entry.js.map +1 -0
- package/dist/esm/stzh-saptcha.entry.js +11 -10
- package/dist/esm/stzh-saptcha.entry.js.map +1 -1
- package/dist/esm/stzh-search.entry.js +52 -3
- package/dist/esm/stzh-search.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-popover_2.entry.js → stzh-text.entry.js} +3 -439
- package/dist/esm/stzh-text.entry.js.map +1 -0
- package/dist/esm/stzh-vbz-connection-finder.entry.js +1 -1
- package/dist/esm/stzh-vbz-connection-finder.entry.js.map +1 -1
- package/dist/stzh-components/assets/i18n/de.json +9 -0
- package/dist/stzh-components/assets/i18n/en.json +9 -0
- package/dist/stzh-components/index.esm.js.map +1 -1
- package/dist/stzh-components/{p-206ec94f.entry.js → p-0846f5a7.entry.js} +2 -2
- package/dist/stzh-components/p-0846f5a7.entry.js.map +1 -0
- package/dist/stzh-components/p-0d092d58.entry.js +2 -0
- package/dist/stzh-components/p-0d092d58.entry.js.map +1 -0
- package/dist/stzh-components/{p-38cd406c.entry.js → p-10c2c688.entry.js} +2 -2
- package/dist/stzh-components/p-10c2c688.entry.js.map +1 -0
- package/dist/stzh-components/{p-23de5712.entry.js → p-1391115f.entry.js} +2 -2
- package/dist/stzh-components/{p-23de5712.entry.js.map → p-1391115f.entry.js.map} +1 -1
- package/dist/stzh-components/p-1b2fb680.entry.js +9 -0
- package/dist/stzh-components/p-1b2fb680.entry.js.map +1 -0
- package/dist/stzh-components/p-1e121c5f.entry.js +2 -0
- package/dist/stzh-components/p-1e121c5f.entry.js.map +1 -0
- package/dist/stzh-components/p-35d842ce.entry.js +2 -0
- package/dist/stzh-components/p-35d842ce.entry.js.map +1 -0
- package/dist/stzh-components/p-3e2b4d92.entry.js +2 -0
- package/dist/stzh-components/p-3e2b4d92.entry.js.map +1 -0
- package/dist/stzh-components/p-47cb71af.entry.js +2 -0
- package/dist/stzh-components/p-47cb71af.entry.js.map +1 -0
- package/dist/stzh-components/p-4e2db8e9.entry.js +8 -0
- package/dist/stzh-components/p-4e2db8e9.entry.js.map +1 -0
- package/dist/stzh-components/{p-cded8c4a.js → p-57caee36.js} +2 -2
- package/dist/stzh-components/p-616ae3be.entry.js +2 -0
- package/dist/stzh-components/p-616ae3be.entry.js.map +1 -0
- package/dist/stzh-components/{p-15d008ea.entry.js → p-72c9db89.entry.js} +3 -3
- package/dist/stzh-components/p-72c9db89.entry.js.map +1 -0
- package/dist/stzh-components/p-7bb2eb4e.entry.js +2 -0
- package/dist/stzh-components/p-7bb2eb4e.entry.js.map +1 -0
- package/dist/stzh-components/p-8c4d543d.entry.js +2 -0
- package/dist/stzh-components/p-8c4d543d.entry.js.map +1 -0
- package/dist/stzh-components/p-9506f599.entry.js +2 -0
- package/dist/stzh-components/p-9506f599.entry.js.map +1 -0
- package/dist/stzh-components/p-9b1267a6.entry.js +2 -0
- package/dist/stzh-components/p-9b1267a6.entry.js.map +1 -0
- package/dist/stzh-components/p-a9216459.entry.js +2 -0
- package/dist/stzh-components/p-a9216459.entry.js.map +1 -0
- package/dist/stzh-components/p-b2920d7f.entry.js +2 -0
- package/dist/stzh-components/p-b2920d7f.entry.js.map +1 -0
- package/dist/stzh-components/p-b6f19446.entry.js +2 -0
- package/dist/stzh-components/p-b6f19446.entry.js.map +1 -0
- package/dist/stzh-components/p-b75800da.entry.js +2 -0
- package/dist/stzh-components/p-b75800da.entry.js.map +1 -0
- package/dist/stzh-components/{p-d058fc1e.entry.js → p-c4bbdbfe.entry.js} +2 -2
- package/dist/stzh-components/p-c4bbdbfe.entry.js.map +1 -0
- package/dist/stzh-components/p-c6504f41.entry.js +2 -0
- package/dist/stzh-components/p-c6504f41.entry.js.map +1 -0
- package/dist/stzh-components/p-d29fd503.entry.js +2 -0
- package/dist/stzh-components/p-d29fd503.entry.js.map +1 -0
- package/dist/stzh-components/stzh-components.esm.js +1 -1
- package/dist/stzh-components/stzh-components.esm.js.map +1 -1
- package/dist/types/components/stzh-actions/stzh-actions.d.ts +3 -1
- package/dist/types/components/stzh-archivelist/stzh-archivelist.d.ts +4 -0
- package/dist/types/components/stzh-card/stzh-card.d.ts +4 -2
- package/dist/types/components/stzh-dropdown/stzh-dropdown.d.ts +6 -2
- package/dist/types/components/stzh-geo-ref-data/stzh-geo-ref-data.d.ts +16 -2
- package/dist/types/components/stzh-input/stzh-input.d.ts +2 -0
- package/dist/types/components/stzh-poicard/stzh-poicard.d.ts +14 -0
- package/dist/types/components/stzh-poilist/stzh-poilist.d.ts +31 -0
- package/dist/types/components/stzh-poilist/stzh-poilist.localization.d.ts +10 -0
- package/dist/types/components/stzh-saptcha/stzh-saptcha.d.ts +5 -4
- package/dist/types/components/stzh-search/stzh-search.d.ts +13 -0
- package/dist/types/components.d.ts +190 -10
- package/dist/types/index.d.ts +28 -0
- package/dist/vscode-data.json +104 -3
- package/package.json +1 -1
- package/dist/cjs/stzh-card_2.cjs.entry.js.map +0 -1
- package/dist/cjs/stzh-checkbox_4.cjs.entry.js.map +0 -1
- package/dist/cjs/stzh-chip_2.cjs.entry.js.map +0 -1
- package/dist/cjs/stzh-chipgroup_2.cjs.entry.js.map +0 -1
- package/dist/cjs/stzh-popover_2.cjs.entry.js.map +0 -1
- package/dist/cjs/stzh-sortable.cjs.entry.js.map +0 -1
- package/dist/esm/stzh-card_2.entry.js.map +0 -1
- package/dist/esm/stzh-checkbox_4.entry.js.map +0 -1
- package/dist/esm/stzh-chip_2.entry.js.map +0 -1
- package/dist/esm/stzh-chipgroup_2.entry.js.map +0 -1
- package/dist/esm/stzh-popover_2.entry.js.map +0 -1
- package/dist/esm/stzh-sortable.entry.js.map +0 -1
- package/dist/stzh-components/p-12851c24.entry.js +0 -2
- package/dist/stzh-components/p-12851c24.entry.js.map +0 -1
- package/dist/stzh-components/p-15d008ea.entry.js.map +0 -1
- package/dist/stzh-components/p-1b31cd8a.entry.js +0 -2
- package/dist/stzh-components/p-1b31cd8a.entry.js.map +0 -1
- package/dist/stzh-components/p-206ec94f.entry.js.map +0 -1
- package/dist/stzh-components/p-38cd406c.entry.js.map +0 -1
- package/dist/stzh-components/p-50c32fd1.entry.js +0 -2
- package/dist/stzh-components/p-50c32fd1.entry.js.map +0 -1
- package/dist/stzh-components/p-55349f2e.entry.js +0 -2
- package/dist/stzh-components/p-55349f2e.entry.js.map +0 -1
- package/dist/stzh-components/p-9c643610.entry.js +0 -2
- package/dist/stzh-components/p-9c643610.entry.js.map +0 -1
- package/dist/stzh-components/p-9cdd5e6f.entry.js +0 -2
- package/dist/stzh-components/p-9cdd5e6f.entry.js.map +0 -1
- package/dist/stzh-components/p-a672aaea.entry.js +0 -8
- package/dist/stzh-components/p-a672aaea.entry.js.map +0 -1
- package/dist/stzh-components/p-a77b49cb.entry.js +0 -2
- package/dist/stzh-components/p-a77b49cb.entry.js.map +0 -1
- package/dist/stzh-components/p-b509dedd.entry.js +0 -2
- package/dist/stzh-components/p-b509dedd.entry.js.map +0 -1
- package/dist/stzh-components/p-b870c799.entry.js +0 -2
- package/dist/stzh-components/p-b870c799.entry.js.map +0 -1
- package/dist/stzh-components/p-d058fc1e.entry.js.map +0 -1
- package/dist/stzh-components/p-da043311.entry.js +0 -9
- package/dist/stzh-components/p-da043311.entry.js.map +0 -1
- package/dist/stzh-components/p-fb077fd5.entry.js +0 -2
- package/dist/stzh-components/p-fb077fd5.entry.js.map +0 -1
- /package/dist/stzh-components/{p-cded8c4a.js.map → p-57caee36.js.map} +0 -0
|
@@ -360,6 +360,15 @@
|
|
|
360
360
|
"tagsLabel": "Tags",
|
|
361
361
|
"showMore": "Mehr anzeigen"
|
|
362
362
|
},
|
|
363
|
+
"poilist": {
|
|
364
|
+
"showMore": "Mehr anzeigen",
|
|
365
|
+
"geopositionError": "Es ist ein Fehler aufgetreten bei der Lokalisierung Ihrer Position.",
|
|
366
|
+
"geopositionLoading": "Ihre Position wird lokalisiert...",
|
|
367
|
+
"dataLoading": "Daten werden geladen...",
|
|
368
|
+
"sortByDistance": "Sortierung nach Entfernung",
|
|
369
|
+
"of": "von",
|
|
370
|
+
"sortByName": "Sortierung nach Name"
|
|
371
|
+
},
|
|
363
372
|
"search": {
|
|
364
373
|
"showMore": "Mehr anzeigen",
|
|
365
374
|
"moreFilter": "Weitere Filter",
|
|
@@ -360,6 +360,15 @@
|
|
|
360
360
|
"tagsLabel": "Tags",
|
|
361
361
|
"showMore": "Show more"
|
|
362
362
|
},
|
|
363
|
+
"poilist": {
|
|
364
|
+
"showMore": "Show more",
|
|
365
|
+
"geopositionError": "An error occured while trying to geolocate your position.",
|
|
366
|
+
"geopositionLoading": "Trying to find your geoposition...",
|
|
367
|
+
"dataLoading": "Loading data...",
|
|
368
|
+
"sortByDistance": "Sort by distance",
|
|
369
|
+
"of": "of",
|
|
370
|
+
"sortByName": "Sort by name"
|
|
371
|
+
},
|
|
363
372
|
"search": {
|
|
364
373
|
"showMore": "Show more",
|
|
365
374
|
"moreFilter": "More filter",
|
|
@@ -93,6 +93,8 @@
|
|
|
93
93
|
"components/stzh-pi-pagetitle/stzh-pi-pagetitle.js",
|
|
94
94
|
"components/stzh-pi-quote/stzh-pi-quote.js",
|
|
95
95
|
"components/stzh-pi-teaser/stzh-pi-teaser.js",
|
|
96
|
+
"components/stzh-poicard/stzh-poicard.js",
|
|
97
|
+
"components/stzh-poilist/stzh-poilist.js",
|
|
96
98
|
"components/stzh-popover/stzh-popover.js",
|
|
97
99
|
"components/stzh-print/stzh-print.js",
|
|
98
100
|
"components/stzh-progressbar/stzh-progressbar.js",
|
|
@@ -168,7 +168,15 @@
|
|
|
168
168
|
flex-grow: 1;
|
|
169
169
|
margin: calc(var(--stzh-space-medium) / 2);
|
|
170
170
|
}
|
|
171
|
+
@media screen and (min-width: 600px) {
|
|
172
|
+
:host[space-between=true] ::slotted([slot=tertiary]) {
|
|
173
|
+
flex-grow: inherit;
|
|
174
|
+
}
|
|
175
|
+
}
|
|
171
176
|
|
|
177
|
+
.stzh-actions {
|
|
178
|
+
/* space between */
|
|
179
|
+
}
|
|
172
180
|
.stzh-actions__actions {
|
|
173
181
|
display: flex;
|
|
174
182
|
flex-direction: column-reverse;
|
|
@@ -206,4 +214,23 @@
|
|
|
206
214
|
}
|
|
207
215
|
.stzh-actions--search .stzh-actions__actions {
|
|
208
216
|
justify-content: flex-end;
|
|
217
|
+
}
|
|
218
|
+
.stzh-actions--space-between .stzh-actions__actions {
|
|
219
|
+
justify-content: space-between;
|
|
220
|
+
}
|
|
221
|
+
@media screen and (min-width: 600px) {
|
|
222
|
+
.stzh-actions--space-between .stzh-actions__actions {
|
|
223
|
+
flex-direction: column;
|
|
224
|
+
}
|
|
225
|
+
}
|
|
226
|
+
@media screen and (min-width: 900px) {
|
|
227
|
+
.stzh-actions--space-between .stzh-actions__actions {
|
|
228
|
+
flex-direction: row;
|
|
229
|
+
}
|
|
230
|
+
}
|
|
231
|
+
@media screen and (min-width: 600px) {
|
|
232
|
+
.stzh-actions--space-between .stzh-actions__wrapper {
|
|
233
|
+
display: flex;
|
|
234
|
+
justify-content: flex-end;
|
|
235
|
+
}
|
|
209
236
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { h, Host } from "@stencil/core";
|
|
2
2
|
import { setPropsIfNull } from "../../utils/utils";
|
|
3
3
|
/**
|
|
4
4
|
* @slot primary - Slot for primary button
|
|
@@ -10,25 +10,26 @@ export class StzhActions {
|
|
|
10
10
|
this.init = () => {
|
|
11
11
|
const secondaryButtons = this.element.querySelectorAll('stzh-button[slot="secondary"], [slot="secondary"] stzh-button');
|
|
12
12
|
const tertiaryButtons = this.element.querySelectorAll('stzh-button[slot="tertiary"], [slot="tertiary"] stzh-button');
|
|
13
|
-
secondaryButtons.forEach(
|
|
13
|
+
secondaryButtons.forEach(button => {
|
|
14
14
|
setPropsIfNull(button, {
|
|
15
|
-
variant: "secondary"
|
|
15
|
+
variant: "secondary",
|
|
16
16
|
});
|
|
17
17
|
});
|
|
18
|
-
tertiaryButtons.forEach(
|
|
18
|
+
tertiaryButtons.forEach(button => {
|
|
19
19
|
setPropsIfNull(button, {
|
|
20
|
-
variant: "tertiary"
|
|
20
|
+
variant: "tertiary",
|
|
21
21
|
});
|
|
22
22
|
});
|
|
23
23
|
};
|
|
24
24
|
this.variant = "form";
|
|
25
|
+
this.spaceBetween = false;
|
|
25
26
|
}
|
|
26
27
|
connectedCallback() {
|
|
27
28
|
this.init();
|
|
28
29
|
this.observer = new MutationObserver(this.init);
|
|
29
30
|
this.observer.observe(this.element, {
|
|
30
31
|
childList: true,
|
|
31
|
-
subtree: true
|
|
32
|
+
subtree: true,
|
|
32
33
|
});
|
|
33
34
|
}
|
|
34
35
|
disconnectedCallback() {
|
|
@@ -39,9 +40,10 @@ export class StzhActions {
|
|
|
39
40
|
render() {
|
|
40
41
|
const classes = {
|
|
41
42
|
"stzh-actions": true,
|
|
42
|
-
|
|
43
|
+
"stzh-actions--space-between": this.spaceBetween,
|
|
44
|
+
[`stzh-actions--${this.variant}`]: !!this.variant,
|
|
43
45
|
};
|
|
44
|
-
return (h(Host,
|
|
46
|
+
return (h(Host, { "space-between": this.spaceBetween }, h("div", { class: classes }, h("div", { class: "stzh-actions__actions", role: "group" }, h("div", { class: "stzh-actions__tertiary-actions" }, h("slot", { name: "tertiary" })), h("div", { class: "stzh-actions__wrapper" }, h("div", { class: "stzh-actions__secondary-actions" }, h("slot", { name: "secondary" })), h("div", { class: "stzh-actions__primary-actions" }, h("slot", { name: "primary" })))))));
|
|
45
47
|
}
|
|
46
48
|
static get is() { return "stzh-actions"; }
|
|
47
49
|
static get encapsulation() { return "scoped"; }
|
|
@@ -61,8 +63,8 @@ export class StzhActions {
|
|
|
61
63
|
"type": "string",
|
|
62
64
|
"mutable": false,
|
|
63
65
|
"complexType": {
|
|
64
|
-
"original": "\"form\" | \"dialog\" | \"process\" | \"
|
|
65
|
-
"resolved": "\"
|
|
66
|
+
"original": "\"form\" | \"dialog\" | \"process\" | \"search\"",
|
|
67
|
+
"resolved": "\"dialog\" | \"form\" | \"process\" | \"search\"",
|
|
66
68
|
"references": {}
|
|
67
69
|
},
|
|
68
70
|
"required": false,
|
|
@@ -74,6 +76,24 @@ export class StzhActions {
|
|
|
74
76
|
"attribute": "variant",
|
|
75
77
|
"reflect": true,
|
|
76
78
|
"defaultValue": "\"form\""
|
|
79
|
+
},
|
|
80
|
+
"spaceBetween": {
|
|
81
|
+
"type": "boolean",
|
|
82
|
+
"mutable": false,
|
|
83
|
+
"complexType": {
|
|
84
|
+
"original": "boolean",
|
|
85
|
+
"resolved": "boolean",
|
|
86
|
+
"references": {}
|
|
87
|
+
},
|
|
88
|
+
"required": false,
|
|
89
|
+
"optional": false,
|
|
90
|
+
"docs": {
|
|
91
|
+
"tags": [],
|
|
92
|
+
"text": "Whether to split tertiary and primary/secondary from each other (left and right)."
|
|
93
|
+
},
|
|
94
|
+
"attribute": "space-between",
|
|
95
|
+
"reflect": true,
|
|
96
|
+
"defaultValue": "false"
|
|
77
97
|
}
|
|
78
98
|
};
|
|
79
99
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stzh-actions.js","sourceRoot":"","sources":["../../../../src/components/stzh-actions/stzh-actions.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"stzh-actions.js","sourceRoot":"","sources":["../../../../src/components/stzh-actions/stzh-actions.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAElE,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAEnD;;;;GAIG;AAMH,MAAM,OAAO,WAAW;;IAWd,SAAI,GAAG,GAAG,EAAE;MAClB,MAAM,gBAAgB,GAAG,IAAI,CAAC,OAAO,CAAC,gBAAgB,CACpD,+DAA+D,CAChE,CAAC;MAEF,MAAM,eAAe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,EAAC,uBAAuB;YAChC,WAAK,KAAK,EAAC,iCAAiC;cAC1C,YAAM,IAAI,EAAC,WAAW,GAAQ,CAC1B;YACN,WAAK,KAAK,EAAC,+BAA+B;cACxC,YAAM,IAAI,EAAC,SAAS,GAAQ,CACxB,CACF,CACF,CACF,CACD,CACR,CAAC;EACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Element, h, Host, Prop } from \"@stencil/core\";\n\nimport { setPropsIfNull } from \"../../utils/utils\";\n\n/**\n * @slot primary - Slot for primary button\n * @slot secondary - Slot for secondary button\n * @slot tertiary - Slot for tertiary button\n */\n@Component({\n tag: \"stzh-actions\",\n styleUrl: \"stzh-actions.scss\",\n scoped: true,\n})\nexport class StzhActions {\n /** Variant determining what position the action buttons are */\n @Prop({ reflect: true }) variant: \"form\" | \"dialog\" | \"process\" | \"search\" = \"form\";\n\n /** Whether to split tertiary and primary/secondary from each other (left and right). */\n @Prop({ reflect: true }) spaceBetween: boolean = false;\n\n @Element() element: HTMLStzhActionsElement;\n\n private observer: MutationObserver;\n\n private init = () => {\n const secondaryButtons = this.element.querySelectorAll(\n 'stzh-button[slot=\"secondary\"], [slot=\"secondary\"] stzh-button'\n );\n\n const tertiaryButtons = this.element.querySelectorAll(\n 'stzh-button[slot=\"tertiary\"], [slot=\"tertiary\"] stzh-button'\n );\n\n secondaryButtons.forEach(button => {\n setPropsIfNull(button, {\n variant: \"secondary\",\n } as HTMLStzhButtonElement);\n });\n\n tertiaryButtons.forEach(button => {\n setPropsIfNull(button, {\n variant: \"tertiary\",\n } as HTMLStzhButtonElement);\n });\n };\n\n connectedCallback() {\n this.init();\n\n this.observer = new MutationObserver(this.init);\n this.observer.observe(this.element, {\n childList: true,\n subtree: true,\n });\n }\n\n disconnectedCallback() {\n if (this.observer) {\n this.observer.disconnect();\n }\n }\n\n render() {\n const classes = {\n \"stzh-actions\": true,\n \"stzh-actions--space-between\": this.spaceBetween,\n [`stzh-actions--${this.variant}`]: !!this.variant,\n };\n\n return (\n <Host space-between={this.spaceBetween}>\n <div class={classes}>\n <div class=\"stzh-actions__actions\" role=\"group\">\n <div class=\"stzh-actions__tertiary-actions\">\n <slot name=\"tertiary\"></slot>\n </div>\n <div class=\"stzh-actions__wrapper\">\n <div class=\"stzh-actions__secondary-actions\">\n <slot name=\"secondary\"></slot>\n </div>\n <div class=\"stzh-actions__primary-actions\">\n <slot name=\"primary\"></slot>\n </div>\n </div>\n </div>\n </div>\n </Host>\n );\n }\n}\n"]}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Fragment, h, Host } from "@stencil/core";
|
|
2
2
|
/**
|
|
3
3
|
*
|
|
4
4
|
*/
|
|
@@ -11,6 +11,8 @@ export class StzhArchivelist {
|
|
|
11
11
|
this.localization = undefined;
|
|
12
12
|
this.showItems = 9;
|
|
13
13
|
this.stepItems = 9;
|
|
14
|
+
this.heading = "";
|
|
15
|
+
this.headingLevel = "3";
|
|
14
16
|
this.items = [];
|
|
15
17
|
}
|
|
16
18
|
itemsWatcher(newValue) {
|
|
@@ -30,7 +32,7 @@ export class StzhArchivelist {
|
|
|
30
32
|
this.stzhItemClick.emit({
|
|
31
33
|
component: "stzh-archivelist",
|
|
32
34
|
item,
|
|
33
|
-
originalEvent
|
|
35
|
+
originalEvent,
|
|
34
36
|
});
|
|
35
37
|
}
|
|
36
38
|
async componentWillLoad() {
|
|
@@ -42,21 +44,9 @@ export class StzhArchivelist {
|
|
|
42
44
|
}
|
|
43
45
|
render() {
|
|
44
46
|
const classes = {
|
|
45
|
-
"stzh-archivelist": true
|
|
47
|
+
"stzh-archivelist": true,
|
|
46
48
|
};
|
|
47
|
-
return (h(Host, null, h("div", { class: classes }, h("div", { class: "stzh-archivelist__list", role: "list" }, this._itemsShown.map(
|
|
48
|
-
h("div", { class: "stzh-archivelist__dateline" }, item.dateline), item.label &&
|
|
49
|
-
h("div", { class: "stzh-archivelist__label" }, item.labelClamp
|
|
50
|
-
?
|
|
51
|
-
h("stzh-clamp", Object.assign({}, item.labelClamp), item.label)
|
|
52
|
-
:
|
|
53
|
-
h(Fragment, null, item.label)), item.description &&
|
|
54
|
-
h("div", { class: "stzh-archivelist__description" }, item.descriptionClamp
|
|
55
|
-
?
|
|
56
|
-
h("stzh-clamp", Object.assign({}, item.descriptionClamp), item.description)
|
|
57
|
-
:
|
|
58
|
-
h(Fragment, null, item.description))))), this._showMoreLink &&
|
|
59
|
-
h("div", { class: "stzh-archivelist__actions" }, h("stzh-button", { variant: "secondary", size: "small", sizeMedium: "default", label: this.localization.showMore, onClick: this.handleMoreClick })))));
|
|
49
|
+
return (h(Host, null, h("div", { class: classes }, this.heading && (h("stzh-heading", { level: this.headingLevel, class: "stzh-archivelist__heading" }, this.heading)), h("div", { class: "stzh-archivelist__list", role: "list" }, this._itemsShown.map(item => (h("a", { class: "stzh-archivelist__item", role: "listitem", href: item.href, onClick: e => this.handleClick(item, e) }, item.dateline && h("div", { class: "stzh-archivelist__dateline" }, item.dateline), item.label && (h("div", { class: "stzh-archivelist__label" }, item.labelClamp ? (h("stzh-clamp", Object.assign({}, item.labelClamp), item.label)) : (h(Fragment, null, item.label)))), item.description && (h("div", { class: "stzh-archivelist__description" }, item.descriptionClamp ? (h("stzh-clamp", Object.assign({}, item.descriptionClamp), item.description)) : (h(Fragment, null, item.description)))))))), this._showMoreLink && (h("div", { class: "stzh-archivelist__actions" }, h("stzh-button", { variant: "secondary", size: "small", sizeMedium: "default", label: this.localization.showMore, onClick: this.handleMoreClick }))))));
|
|
60
50
|
}
|
|
61
51
|
static get is() { return "stzh-archivelist"; }
|
|
62
52
|
static get encapsulation() { return "scoped"; }
|
|
@@ -129,6 +119,42 @@ export class StzhArchivelist {
|
|
|
129
119
|
"reflect": false,
|
|
130
120
|
"defaultValue": "9"
|
|
131
121
|
},
|
|
122
|
+
"heading": {
|
|
123
|
+
"type": "string",
|
|
124
|
+
"mutable": false,
|
|
125
|
+
"complexType": {
|
|
126
|
+
"original": "string",
|
|
127
|
+
"resolved": "string",
|
|
128
|
+
"references": {}
|
|
129
|
+
},
|
|
130
|
+
"required": false,
|
|
131
|
+
"optional": false,
|
|
132
|
+
"docs": {
|
|
133
|
+
"tags": [],
|
|
134
|
+
"text": "Heading"
|
|
135
|
+
},
|
|
136
|
+
"attribute": "heading",
|
|
137
|
+
"reflect": false,
|
|
138
|
+
"defaultValue": "\"\""
|
|
139
|
+
},
|
|
140
|
+
"headingLevel": {
|
|
141
|
+
"type": "string",
|
|
142
|
+
"mutable": false,
|
|
143
|
+
"complexType": {
|
|
144
|
+
"original": "\"1\" | \"2\" | \"3\" | \"4\"",
|
|
145
|
+
"resolved": "\"1\" | \"2\" | \"3\" | \"4\"",
|
|
146
|
+
"references": {}
|
|
147
|
+
},
|
|
148
|
+
"required": false,
|
|
149
|
+
"optional": false,
|
|
150
|
+
"docs": {
|
|
151
|
+
"tags": [],
|
|
152
|
+
"text": "Heading level"
|
|
153
|
+
},
|
|
154
|
+
"attribute": "heading-level",
|
|
155
|
+
"reflect": false,
|
|
156
|
+
"defaultValue": "\"3\""
|
|
157
|
+
},
|
|
132
158
|
"items": {
|
|
133
159
|
"type": "string",
|
|
134
160
|
"mutable": false,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stzh-archivelist.js","sourceRoot":"","sources":["../../../../src/components/stzh-archivelist/stzh-archivelist.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"stzh-archivelist.js","sourceRoot":"","sources":["../../../../src/components/stzh-archivelist/stzh-archivelist.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,KAAK,EAAgB,QAAQ,EAAE,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAMxG;;GAEG;AAMH,MAAM,OAAO,eAAe;;IAyBlB,kBAAa,GAAY,KAAK,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mBACE,OAAO,EAAC,WAAW,EACnB,IAAI,EAAC,OAAO,EACZ,UAAU,EAAC,SAAS,EACpB,KAAK,EAAE,IAAI,CAAC,YAAY,CAAC,QAAQ,EACjC,OAAO,EAAE,IAAI,CAAC,eAAe,GAChB,CACX,CACP,CACG,CACD,CACR,CAAC;EACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Element, Event, EventEmitter, Fragment, h, Host, Prop, Watch } from \"@stencil/core\";\n\nimport { StzhArchivelistItem, StzhArchivelistItemClickEvent } from \"../../index\";\n\nimport { StzhArchivelistLocalizedText } from \"./stzh-archivelist.localization\";\n\n/**\n *\n */\n@Component({\n tag: \"stzh-archivelist\",\n styleUrl: \"stzh-archivelist.scss\",\n scoped: true,\n})\nexport class StzhArchivelist {\n /** Translation strings */\n @Prop() localization: StzhArchivelistLocalizedText;\n\n /** Nr of entries shown */\n @Prop({ mutable: true }) showItems: number = 9;\n private _initialShowItems: number;\n\n /** Nr of items loaded when more link is clicked */\n @Prop() stepItems: number = 9;\n\n /** Heading */\n @Prop() heading: string = \"\";\n\n /** Heading level */\n @Prop() headingLevel: \"1\" | \"2\" | \"3\" | \"4\" = \"3\";\n\n /**\n * Initial selected values.\n * Array of objects with `label`, `href`, optionally: `dateline`, `description`, `labelClamp` and `descriptionClamp` attribute:\n * `[{\"href\":\"#lorem\", \"label\": \"Label 1\"}, {\"href\":\"#lorem2\", \"label\": \"Label 2\", \"labelClamp\": { \"lines\": 2, \"linesMedium\": 1 }}]`\n */\n @Prop() items: StzhArchivelistItem[] | string = [];\n private _items: StzhArchivelistItem[];\n private _itemsShown: StzhArchivelistItem[];\n private _showMoreLink: boolean = false;\n\n @Element() element: HTMLStzhArchivelistElement;\n\n @Watch(\"items\")\n itemsWatcher(newValue: StzhArchivelistItem[] | string) {\n if (typeof newValue === \"string\") {\n this._items = JSON.parse(newValue);\n } else {\n this._items = newValue;\n }\n\n this.showItemsWatcher(this._initialShowItems);\n }\n\n @Watch(\"showItems\")\n showItemsWatcher(newValue: number) {\n this._itemsShown = this._items.slice(0, newValue);\n this._showMoreLink = newValue < this._items.length;\n }\n\n /** Item click event */\n @Event() stzhItemClick: EventEmitter<StzhArchivelistItemClickEvent>;\n\n private handleClick(item: StzhArchivelistItem, originalEvent: MouseEvent) {\n this.stzhItemClick.emit({\n component: \"stzh-archivelist\",\n item,\n originalEvent,\n });\n }\n\n private handleMoreClick = () => {\n this.showItems = this.stepItems + this.showItems;\n };\n\n async componentWillLoad() {\n this._initialShowItems = this.showItems;\n this.itemsWatcher(this.items);\n\n if (!this.localization) {\n this.localization = await window.stzhComponents.utils.fetchTranslations(this.element, \"archivelist\");\n }\n }\n\n render() {\n const classes = {\n \"stzh-archivelist\": true,\n };\n\n return (\n <Host>\n <div class={classes}>\n {this.heading && (\n <stzh-heading level={this.headingLevel} class=\"stzh-archivelist__heading\">\n {this.heading}\n </stzh-heading>\n )}\n <div class=\"stzh-archivelist__list\" role=\"list\">\n {this._itemsShown.map(item => (\n <a\n class=\"stzh-archivelist__item\"\n role=\"listitem\"\n href={item.href}\n onClick={e => this.handleClick(item, e)}\n >\n {item.dateline && <div class=\"stzh-archivelist__dateline\">{item.dateline}</div>}\n\n {item.label && (\n <div class=\"stzh-archivelist__label\">\n {item.labelClamp ? (\n <stzh-clamp {...item.labelClamp}>{item.label}</stzh-clamp>\n ) : (\n <Fragment>{item.label}</Fragment>\n )}\n </div>\n )}\n\n {item.description && (\n <div class=\"stzh-archivelist__description\">\n {item.descriptionClamp ? (\n <stzh-clamp {...item.descriptionClamp}>{item.description}</stzh-clamp>\n ) : (\n <Fragment>{item.description}</Fragment>\n )}\n </div>\n )}\n </a>\n ))}\n </div>\n\n {this._showMoreLink && (\n <div class=\"stzh-archivelist__actions\">\n <stzh-button\n variant=\"secondary\"\n size=\"small\"\n sizeMedium=\"default\"\n label={this.localization.showMore}\n onClick={this.handleMoreClick}\n ></stzh-button>\n </div>\n )}\n </div>\n </Host>\n );\n }\n}\n"]}
|
|
@@ -30,147 +30,151 @@ export default {
|
|
|
30
30
|
allowFullscreen: true
|
|
31
31
|
}
|
|
32
32
|
},
|
|
33
|
-
decorators: [
|
|
34
|
-
|
|
35
|
-
withDesign
|
|
36
|
-
]
|
|
37
|
-
}
|
|
33
|
+
decorators: [withActions, withDesign]
|
|
34
|
+
};
|
|
38
35
|
|
|
39
36
|
const itemsOnlyLink = [
|
|
40
37
|
{
|
|
41
|
-
|
|
42
|
-
|
|
38
|
+
label: 'Lorem Ipsum Dolor',
|
|
39
|
+
href: '#laboris'
|
|
43
40
|
},
|
|
44
41
|
{
|
|
45
|
-
|
|
46
|
-
|
|
42
|
+
label: 'Laboris laborum aute id laboris culpa esse aliquip nisi anim velit',
|
|
43
|
+
href: '#lorem'
|
|
47
44
|
},
|
|
48
45
|
{
|
|
49
|
-
|
|
50
|
-
|
|
46
|
+
label: 'Lorem Ipsum Dolor',
|
|
47
|
+
href: '#lorem'
|
|
51
48
|
},
|
|
52
49
|
{
|
|
53
|
-
|
|
54
|
-
|
|
50
|
+
label: 'Laboris laborum aute id laboris culpa esse aliquip nisi anim velit',
|
|
51
|
+
href: '#lorem'
|
|
55
52
|
},
|
|
56
53
|
{
|
|
57
|
-
|
|
58
|
-
|
|
54
|
+
label: 'Lorem Ipsum Dolor',
|
|
55
|
+
href: '#lorem'
|
|
59
56
|
},
|
|
60
57
|
{
|
|
61
|
-
|
|
62
|
-
|
|
58
|
+
label: 'Laboris laborum aute id laboris culpa esse aliquip nisi anim velit',
|
|
59
|
+
href: '#lorem'
|
|
63
60
|
},
|
|
64
61
|
{
|
|
65
|
-
|
|
66
|
-
|
|
62
|
+
label: 'Lorem Ipsum Dolor',
|
|
63
|
+
href: '#lorem'
|
|
67
64
|
}
|
|
68
65
|
];
|
|
69
66
|
|
|
70
67
|
const itemsWithDescription = [
|
|
71
68
|
{
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
69
|
+
dateline: '1938.10.28',
|
|
70
|
+
label: 'Lorem Ipsum Dolor',
|
|
71
|
+
labelClamp: {
|
|
72
|
+
lines: '2',
|
|
73
|
+
linesMedium: '1'
|
|
77
74
|
},
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
75
|
+
href: '#laboris',
|
|
76
|
+
description:
|
|
77
|
+
'Laboris laborum aute id laboris culpa esse aliquip nisi anim velit. Minim sunt eiusmod do laborum amet ut magna. Labore dolore id nostrud enim Lorem pariatur ad dolore id eiusmod adipisicing laboris laborum minim. Reprehenderit deserunt ut occaecat sit sit ullamco laborum deserunt. Eu pariatur est exercitation ea ut tempor laborum. Amet veniam consectetur cupidatat Lorem eu ipsum.',
|
|
78
|
+
descriptionClamp: {
|
|
79
|
+
lines: '3',
|
|
80
|
+
linesSmall: '2',
|
|
81
|
+
linesMedium: '1'
|
|
84
82
|
}
|
|
85
83
|
},
|
|
86
84
|
{
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
85
|
+
dateline: '1938.10.28',
|
|
86
|
+
label: 'Laboris laborum aute id laboris culpa esse aliquip nisi anim velit',
|
|
87
|
+
labelClamp: {
|
|
88
|
+
lines: '2',
|
|
89
|
+
linesMedium: '1'
|
|
92
90
|
},
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
91
|
+
href: '#lorem',
|
|
92
|
+
description:
|
|
93
|
+
'Laboris laborum aute id laboris culpa esse aliquip nisi anim velit. Minim sunt eiusmod do laborum amet ut magna. Labore dolore id nostrud enim Lorem pariatur ad dolore id eiusmod adipisicing laboris laborum minim. Reprehenderit deserunt ut occaecat sit sit ullamco laborum deserunt. Eu pariatur est exercitation ea ut tempor laborum. Amet veniam consectetur cupidatat Lorem eu ipsum.',
|
|
94
|
+
descriptionClamp: {
|
|
95
|
+
lines: '3',
|
|
96
|
+
linesSmall: '2',
|
|
97
|
+
linesMedium: '1'
|
|
99
98
|
}
|
|
100
99
|
},
|
|
101
100
|
{
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
101
|
+
dateline: '1938.10.28',
|
|
102
|
+
label: 'Lorem Ipsum Dolor',
|
|
103
|
+
labelClamp: {
|
|
104
|
+
lines: '2',
|
|
105
|
+
linesMedium: '1'
|
|
107
106
|
},
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
107
|
+
href: '#lorem',
|
|
108
|
+
description:
|
|
109
|
+
'Laboris laborum aute id laboris culpa esse aliquip nisi anim velit. Minim sunt eiusmod do laborum amet ut magna. Labore dolore id nostrud enim Lorem pariatur ad dolore id eiusmod adipisicing laboris laborum minim. Reprehenderit deserunt ut occaecat sit sit ullamco laborum deserunt. Eu pariatur est exercitation ea ut tempor laborum. Amet veniam consectetur cupidatat Lorem eu ipsum.',
|
|
110
|
+
descriptionClamp: {
|
|
111
|
+
lines: '3',
|
|
112
|
+
linesSmall: '2',
|
|
113
|
+
linesMedium: '1'
|
|
114
114
|
}
|
|
115
115
|
},
|
|
116
116
|
{
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
117
|
+
dateline: '1938.10.28',
|
|
118
|
+
label: 'Laboris laborum aute id laboris culpa esse aliquip nisi anim velit',
|
|
119
|
+
labelClamp: {
|
|
120
|
+
lines: '2',
|
|
121
|
+
linesMedium: '1'
|
|
122
122
|
},
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
123
|
+
href: '#lorem',
|
|
124
|
+
description:
|
|
125
|
+
'Laboris laborum aute id laboris culpa esse aliquip nisi anim velit. Minim sunt eiusmod do laborum amet ut magna. Labore dolore id nostrud enim Lorem pariatur ad dolore id eiusmod adipisicing laboris laborum minim. Reprehenderit deserunt ut occaecat sit sit ullamco laborum deserunt. Eu pariatur est exercitation ea ut tempor laborum. Amet veniam consectetur cupidatat Lorem eu ipsum.',
|
|
126
|
+
descriptionClamp: {
|
|
127
|
+
lines: '3',
|
|
128
|
+
linesSmall: '2',
|
|
129
|
+
linesMedium: '1'
|
|
129
130
|
}
|
|
130
131
|
},
|
|
131
132
|
{
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
133
|
+
dateline: '1938.10.28',
|
|
134
|
+
label: 'Lorem Ipsum Dolor',
|
|
135
|
+
labelClamp: {
|
|
136
|
+
lines: '2',
|
|
137
|
+
linesMedium: '1'
|
|
137
138
|
},
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
139
|
+
href: '#lorem',
|
|
140
|
+
description:
|
|
141
|
+
'Laboris laborum aute id laboris culpa esse aliquip nisi anim velit. Minim sunt eiusmod do laborum amet ut magna. Labore dolore id nostrud enim Lorem pariatur ad dolore id eiusmod adipisicing laboris laborum minim. Reprehenderit deserunt ut occaecat sit sit ullamco laborum deserunt. Eu pariatur est exercitation ea ut tempor laborum. Amet veniam consectetur cupidatat Lorem eu ipsum.',
|
|
142
|
+
descriptionClamp: {
|
|
143
|
+
lines: '3',
|
|
144
|
+
linesSmall: '2',
|
|
145
|
+
linesMedium: '1'
|
|
144
146
|
}
|
|
145
147
|
},
|
|
146
148
|
{
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
149
|
+
dateline: '1938.10.28',
|
|
150
|
+
label: 'Laboris laborum aute id laboris culpa esse aliquip nisi anim velit',
|
|
151
|
+
labelClamp: {
|
|
152
|
+
lines: '2',
|
|
153
|
+
linesMedium: '1'
|
|
152
154
|
},
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
155
|
+
href: '#lorem',
|
|
156
|
+
description:
|
|
157
|
+
'Laboris laborum aute id laboris culpa esse aliquip nisi anim velit. Minim sunt eiusmod do laborum amet ut magna. Labore dolore id nostrud enim Lorem pariatur ad dolore id eiusmod adipisicing laboris laborum minim. Reprehenderit deserunt ut occaecat sit sit ullamco laborum deserunt. Eu pariatur est exercitation ea ut tempor laborum. Amet veniam consectetur cupidatat Lorem eu ipsum.',
|
|
158
|
+
descriptionClamp: {
|
|
159
|
+
lines: '3',
|
|
160
|
+
linesSmall: '2',
|
|
161
|
+
linesMedium: '1'
|
|
159
162
|
}
|
|
160
163
|
},
|
|
161
164
|
{
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
165
|
+
dateline: '1938.10.28',
|
|
166
|
+
label: 'Lorem Ipsum Dolor',
|
|
167
|
+
labelClamp: {
|
|
168
|
+
lines: '2',
|
|
169
|
+
linesMedium: '1'
|
|
167
170
|
},
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
171
|
+
href: '#lorem',
|
|
172
|
+
description:
|
|
173
|
+
'Laboris laborum aute id laboris culpa esse aliquip nisi anim velit. Minim sunt eiusmod do laborum amet ut magna. Labore dolore id nostrud enim Lorem pariatur ad dolore id eiusmod adipisicing laboris laborum minim. Reprehenderit deserunt ut occaecat sit sit ullamco laborum deserunt. Eu pariatur est exercitation ea ut tempor laborum. Amet veniam consectetur cupidatat Lorem eu ipsum.',
|
|
174
|
+
descriptionClamp: {
|
|
175
|
+
lines: '3',
|
|
176
|
+
linesSmall: '2',
|
|
177
|
+
linesMedium: '1'
|
|
174
178
|
}
|
|
175
179
|
}
|
|
176
180
|
];
|
|
@@ -178,23 +182,26 @@ const itemsWithDescription = [
|
|
|
178
182
|
export const OnlyLink = {
|
|
179
183
|
render: (args) => story(args, TEMPLATE),
|
|
180
184
|
args: {
|
|
181
|
-
items: itemsOnlyLink
|
|
185
|
+
items: itemsOnlyLink,
|
|
186
|
+
heading: 'Lorem Ipsum Dolor',
|
|
187
|
+
headingLevel: 2
|
|
182
188
|
}
|
|
183
189
|
};
|
|
184
190
|
|
|
185
191
|
export const OnlyLinkWithMore = {
|
|
186
192
|
render: (args) => story(args, TEMPLATE),
|
|
187
193
|
args: {
|
|
188
|
-
items: [
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
]
|
|
194
|
+
items: [...itemsOnlyLink, ...itemsOnlyLink],
|
|
195
|
+
heading: 'Lorem Ipsum Dolor',
|
|
196
|
+
headingLevel: 2
|
|
192
197
|
}
|
|
193
198
|
};
|
|
194
199
|
|
|
195
200
|
export const WithDescription = {
|
|
196
201
|
render: (args) => story(args, TEMPLATE),
|
|
197
202
|
args: {
|
|
198
|
-
items: itemsWithDescription
|
|
203
|
+
items: itemsWithDescription,
|
|
204
|
+
heading: 'Lorem Ipsum Dolor',
|
|
205
|
+
headingLevel: 2
|
|
199
206
|
}
|
|
200
207
|
};
|