@oiz/stzh-components 2.0.0 → 2.1.0-beta
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-ec8cc33e.js → app-globals-07890ee7.js} +1 -1
- package/dist/cjs/{dom-874a1e39.js → dom-9deb26c8.js} +1 -1
- package/dist/cjs/{index-ac9bdc7f.js → index-9fcb4305.js} +228 -210
- package/dist/cjs/loader.cjs.js +4 -4
- package/dist/cjs/{shadow-css-a33dc836.js → shadow-css-bf3843d2.js} +1 -1
- package/dist/cjs/stzh-accordion-item.cjs.entry.js +13 -23
- package/dist/cjs/stzh-accordion.cjs.entry.js +1 -3
- package/dist/cjs/stzh-actions.cjs.entry.js +3 -5
- package/dist/cjs/stzh-actionset.cjs.entry.js +16 -16
- package/dist/cjs/stzh-anchornav.cjs.entry.js +52 -0
- package/dist/cjs/stzh-appnav.cjs.entry.js +4 -7
- package/dist/cjs/stzh-appointments.cjs.entry.js +12 -17
- package/dist/cjs/stzh-audio.cjs.entry.js +4150 -0
- package/dist/cjs/stzh-badge_3.cjs.entry.js +26 -57
- package/dist/cjs/stzh-calendar.cjs.entry.js +9 -25
- package/dist/cjs/stzh-card-list.cjs.entry.js +6 -8
- package/dist/cjs/stzh-card.cjs.entry.js +20 -50
- package/dist/cjs/stzh-cell.cjs.entry.js +1 -8
- package/dist/cjs/stzh-checkbox.cjs.entry.js +17 -22
- package/dist/cjs/stzh-checkboxgroup.cjs.entry.js +29 -20
- package/dist/cjs/stzh-chip-select.cjs.entry.js +14 -16
- package/dist/cjs/stzh-chip.cjs.entry.js +14 -25
- package/dist/cjs/stzh-clamp.cjs.entry.js +27 -0
- package/dist/cjs/stzh-components.cjs.js +5 -5
- package/dist/cjs/stzh-container.cjs.entry.js +1 -1
- package/dist/cjs/stzh-cspace.cjs.entry.js +1 -1
- package/dist/cjs/stzh-datalist.cjs.entry.js +8 -20
- package/dist/cjs/stzh-datamessagelist-item.cjs.entry.js +13 -13
- package/dist/cjs/stzh-datamessagelist.cjs.entry.js +1 -1
- package/dist/cjs/stzh-datatable.cjs.entry.js +15 -21
- package/dist/cjs/stzh-datepicker_3.cjs.entry.js +431 -0
- package/dist/cjs/stzh-dialog.cjs.entry.js +11 -19
- package/dist/cjs/stzh-dropdown.cjs.entry.js +17 -37
- package/dist/cjs/stzh-fieldset.cjs.entry.js +1 -5
- package/dist/cjs/stzh-figure.cjs.entry.js +1 -3
- package/dist/cjs/stzh-flyingfocus.cjs.entry.js +7 -7
- package/dist/cjs/stzh-footer.cjs.entry.js +5 -5
- package/dist/cjs/stzh-ghettobox_2.cjs.entry.js +8 -19
- package/dist/cjs/stzh-header.cjs.entry.js +4 -10
- package/dist/cjs/stzh-heading.cjs.entry.js +1 -4
- package/dist/cjs/stzh-hr.cjs.entry.js +1 -1
- package/dist/cjs/stzh-hspace.cjs.entry.js +1 -10
- package/dist/cjs/stzh-icon-sprite.cjs.entry.js +3 -3
- package/dist/cjs/{stzh-input-description-9802abc2.js → stzh-input-description-4326b0d9.js} +1 -1
- package/dist/cjs/stzh-input.cjs.entry.js +30 -37
- package/dist/cjs/stzh-link.cjs.entry.js +23 -33
- package/dist/cjs/stzh-list-item.cjs.entry.js +2 -2
- package/dist/cjs/stzh-list.cjs.entry.js +1 -2
- package/dist/cjs/stzh-loader.cjs.entry.js +1 -4
- package/dist/cjs/stzh-loadingbar.cjs.entry.js +1 -4
- package/dist/cjs/stzh-menu_2.cjs.entry.js +11 -19
- package/dist/cjs/stzh-message.cjs.entry.js +5 -18
- package/dist/cjs/stzh-metanav.cjs.entry.js +1 -1
- package/dist/cjs/stzh-olmap.cjs.entry.js +51129 -0
- package/dist/cjs/stzh-overlay.cjs.entry.js +1 -4
- package/dist/cjs/stzh-page-skiplinks.cjs.entry.js +1 -1
- package/dist/cjs/stzh-pagebottom.cjs.entry.js +32 -0
- package/dist/cjs/stzh-pagetitle.cjs.entry.js +1 -1
- package/dist/cjs/stzh-popover.cjs.entry.js +10 -13
- package/dist/cjs/stzh-portal-mitwirken.cjs.entry.js +2 -2
- package/dist/cjs/stzh-progressbar-item.cjs.entry.js +9 -9
- package/dist/cjs/stzh-progressbar.cjs.entry.js +9 -24
- package/dist/cjs/stzh-readspeaker.cjs.entry.js +3 -1
- package/dist/cjs/stzh-row.cjs.entry.js +1 -9
- package/dist/cjs/stzh-saptcha.cjs.entry.js +4 -7
- package/dist/cjs/stzh-section.cjs.entry.js +1 -2
- package/dist/cjs/stzh-share.cjs.entry.js +113 -0
- package/dist/cjs/stzh-skiplink.cjs.entry.js +4 -2
- package/dist/cjs/stzh-sortable.cjs.entry.js +26 -30
- package/dist/cjs/stzh-status.cjs.entry.js +1 -5
- package/dist/cjs/stzh-sticky.cjs.entry.js +84 -0
- package/dist/cjs/stzh-table.cjs.entry.js +8 -10
- package/dist/cjs/stzh-text.cjs.entry.js +37 -0
- package/dist/cjs/stzh-toggle.cjs.entry.js +16 -22
- package/dist/cjs/stzh-tooltip.cjs.entry.js +12 -23
- package/dist/cjs/stzh-upload.cjs.entry.js +58 -162
- package/dist/cjs/stzh-vbz-linechip.cjs.entry.js +16 -10
- package/dist/cjs/stzh-vbz-majorticker.cjs.entry.js +8 -9
- package/dist/cjs/stzh-vbz-ticker.cjs.entry.js +6 -7
- package/dist/cjs/stzh-visuallyhidden.cjs.entry.js +1 -1
- package/dist/cjs/stzh-vspace.cjs.entry.js +1 -10
- package/dist/collection/assets/i18n/de.json +29 -0
- package/dist/collection/assets/i18n/en.json +29 -0
- package/dist/collection/assets/icons/mono/target-bullet.svg +12 -0
- package/dist/collection/assets/media/olmap/marker-active.png +0 -0
- package/dist/collection/assets/media/olmap/marker-position.png +0 -0
- package/dist/collection/assets/media/olmap/marker.png +0 -0
- package/dist/collection/assets/media/olmap/thumb-satellite.jpg +0 -0
- package/dist/collection/assets/media/olmap/thumb-streets.jpg +0 -0
- package/dist/collection/collection-manifest.json +9 -2
- package/dist/collection/components/stzh-accordion/stzh-accordion.js +0 -2
- package/dist/collection/components/stzh-accordion-item/stzh-accordion-item.js +12 -22
- package/dist/collection/components/stzh-actions/stzh-actions.js +2 -4
- package/dist/collection/components/stzh-actionset/stzh-actionset.js +21 -21
- package/dist/collection/components/stzh-anchornav/stzh-anchornav.css +286 -0
- package/dist/collection/components/stzh-anchornav/stzh-anchornav.js +216 -0
- package/dist/collection/components/stzh-anchornav/stzh-anchornav.stories.js +76 -0
- package/dist/collection/components/stzh-appnav/stzh-appnav.js +3 -6
- package/dist/collection/components/stzh-appointments/stzh-appointments.js +11 -16
- package/dist/collection/components/stzh-audio/stzh-audio.css +319 -0
- package/dist/collection/components/stzh-audio/stzh-audio.js +333 -0
- package/dist/collection/components/stzh-audio/stzh-audio.localization.js +1 -0
- package/dist/collection/components/stzh-audio/stzh-audio.stories.js +89 -0
- package/dist/collection/components/stzh-badge/stzh-badge.js +0 -2
- package/dist/collection/components/stzh-button/stzh-button.css +1 -0
- package/dist/collection/components/stzh-button/stzh-button.js +24 -45
- package/dist/collection/components/stzh-calendar/stzh-calendar.js +8 -24
- package/dist/collection/components/stzh-card/stzh-card.js +19 -49
- package/dist/collection/components/stzh-card-list/stzh-card-list.js +5 -7
- package/dist/collection/components/stzh-cell/stzh-cell.js +0 -7
- package/dist/collection/components/stzh-checkbox/assets/check.svg +1 -1
- package/dist/collection/components/stzh-checkbox/stzh-checkbox.css +0 -3
- package/dist/collection/components/stzh-checkbox/stzh-checkbox.js +13 -18
- package/dist/collection/components/stzh-checkboxgroup/stzh-checkboxgroup.js +33 -20
- package/dist/collection/components/stzh-chip/stzh-chip.js +13 -24
- package/dist/collection/components/stzh-chip-select/stzh-chip-select.js +12 -14
- package/dist/collection/components/stzh-clamp/stzh-clamp.css +279 -0
- package/dist/collection/components/stzh-clamp/stzh-clamp.js +125 -0
- package/dist/collection/components/stzh-clamp/stzh-clamp.stories.js +41 -0
- package/dist/collection/components/stzh-datalist/stzh-datalist.js +7 -19
- package/dist/collection/components/stzh-datamessagelist-item/stzh-datamessagelist-item.css +0 -11
- package/dist/collection/components/stzh-datamessagelist-item/stzh-datamessagelist-item.js +11 -11
- package/dist/collection/components/stzh-datatable/stzh-datatable.js +14 -20
- package/dist/collection/components/stzh-datepicker/stzh-datepicker.js +19 -35
- package/dist/collection/components/stzh-dialog/stzh-dialog.js +10 -18
- package/dist/collection/components/stzh-dropdown/stzh-dropdown.js +15 -35
- package/dist/collection/components/stzh-fieldset/stzh-fieldset.js +0 -4
- package/dist/collection/components/stzh-figure/stzh-figure.js +0 -2
- package/dist/collection/components/stzh-flyingfocus/stzh-flyingfocus.js +6 -6
- package/dist/collection/components/stzh-footer/stzh-footer.js +5 -5
- package/dist/collection/components/stzh-ghettobox/stzh-ghettobox.js +7 -16
- package/dist/collection/components/stzh-ghettobox/stzh-ghettobox.stories.js +6 -6
- package/dist/collection/components/stzh-header/stzh-header.js +4 -10
- package/dist/collection/components/stzh-heading/stzh-heading.js +0 -3
- package/dist/collection/components/stzh-hr/stzh-hr.stories.js +11 -1
- package/dist/collection/components/stzh-hspace/stzh-hspace.js +0 -9
- package/dist/collection/components/stzh-icon/stzh-icon.js +0 -8
- package/dist/collection/components/stzh-icon-sprite/assets/svgsprites/symbol/sprite.symbol.html +19 -6
- package/dist/collection/components/stzh-icon-sprite/assets/svgsprites/symbol/svg/sprite.symbol.svg +1 -1
- package/dist/collection/components/stzh-icon-sprite/stzh-icon-sprite.css +5 -1
- package/dist/collection/components/stzh-input/stzh-input.js +29 -36
- package/dist/collection/components/stzh-link/stzh-link.css +18 -0
- package/dist/collection/components/stzh-link/stzh-link.js +57 -31
- package/dist/collection/components/stzh-link/stzh-link.stories.js +3 -1
- package/dist/collection/components/stzh-list/stzh-list.js +0 -1
- package/dist/collection/components/stzh-list-item/assets/checkmark.svg +1 -1
- package/dist/collection/components/stzh-loader/stzh-loader.js +0 -3
- package/dist/collection/components/stzh-loadingbar/stzh-loadingbar.js +0 -3
- package/dist/collection/components/stzh-menu-item/stzh-menu-item.js +10 -18
- package/dist/collection/components/stzh-message/stzh-message.js +4 -17
- package/dist/collection/components/stzh-olmap/stzh-olmap.css +284 -0
- package/dist/collection/components/stzh-olmap/stzh-olmap.js +1042 -0
- package/dist/collection/components/stzh-olmap/stzh-olmap.localization.js +1 -0
- package/dist/collection/components/stzh-olmap/stzh-olmap.stories.js +36 -0
- package/dist/collection/components/stzh-overlay/stzh-overlay.js +0 -3
- package/dist/collection/components/stzh-pagebottom/stzh-pagebottom.css +150 -0
- package/dist/collection/components/stzh-pagebottom/stzh-pagebottom.js +151 -0
- package/dist/collection/components/stzh-pagebottom/stzh-pagebottom.stories.js +44 -0
- package/dist/collection/components/stzh-pagetitle/stzh-pagetitle.stories.js +3 -3
- package/dist/collection/components/stzh-popover/stzh-popover.js +9 -12
- package/dist/collection/components/stzh-portal-mitwirken/stzh-portal-mitwirken.css +0 -1
- package/dist/collection/components/stzh-portal-mitwirken/stzh-portal-mitwirken.js +1 -2
- package/dist/collection/components/stzh-portal-mitwirken/stzh-portal-mitwirken.stories.js +1 -1
- package/dist/collection/components/stzh-progressbar/stzh-progressbar.js +8 -23
- package/dist/collection/components/stzh-progressbar-item/stzh-progressbar-item.js +8 -8
- package/dist/collection/components/stzh-radio/stzh-radio.js +13 -18
- package/dist/collection/components/stzh-radiogroup/stzh-radiogroup.js +35 -23
- package/dist/collection/components/stzh-readspeaker/stzh-readspeaker.js +2 -0
- package/dist/collection/components/stzh-richtext/stzh-richtext.js +0 -2
- package/dist/collection/components/stzh-row/stzh-row.js +0 -8
- package/dist/collection/components/stzh-saptcha/stzh-saptcha.js +3 -6
- package/dist/collection/components/stzh-section/stzh-section.js +0 -1
- package/dist/collection/components/stzh-share/stzh-share.css +146 -0
- package/dist/collection/components/stzh-share/stzh-share.js +184 -0
- package/dist/collection/components/stzh-share/stzh-share.localization.js +1 -0
- package/dist/collection/components/stzh-share/stzh-share.stories.js +33 -0
- package/dist/collection/components/stzh-skiplink/stzh-skiplink.js +3 -1
- package/dist/collection/components/stzh-sortable/stzh-sortable.js +25 -29
- package/dist/collection/components/stzh-status/stzh-status.js +0 -4
- package/dist/collection/components/stzh-sticky/stzh-sticky.css +144 -0
- package/dist/collection/components/stzh-sticky/stzh-sticky.js +184 -0
- package/dist/collection/components/stzh-sticky/stzh-sticky.stories.js +91 -0
- package/dist/collection/components/stzh-table/stzh-table.js +7 -9
- package/dist/collection/components/stzh-text/stzh-text.js +0 -8
- package/dist/collection/components/stzh-toggle/stzh-toggle.js +14 -20
- package/dist/collection/components/stzh-tooltip/stzh-tooltip.js +11 -22
- package/dist/collection/components/stzh-upload/stzh-upload.css +23 -7
- package/dist/collection/components/stzh-upload/stzh-upload.js +74 -160
- package/dist/collection/components/stzh-upload/stzh-upload.stories.js +3 -3
- package/dist/collection/components/stzh-vbz-linechip/stzh-vbz-linechip.js +5 -7
- package/dist/collection/components/stzh-vbz-majorticker/stzh-vbz-majorticker.js +7 -8
- package/dist/collection/components/stzh-vbz-ticker/stzh-vbz-ticker.js +5 -6
- package/dist/collection/components/stzh-vspace/stzh-vspace.js +0 -9
- package/dist/collection/pages/meinkonto.stories.js +2 -2
- package/dist/components/index.d.ts +7 -0
- package/dist/components/index.js +8 -1
- package/dist/components/stzh-accordion-item.js +12 -22
- package/dist/components/stzh-accordion.js +0 -2
- package/dist/components/stzh-actions.js +2 -4
- package/dist/components/stzh-actionset2.js +15 -15
- package/dist/components/stzh-anchornav.d.ts +11 -0
- package/dist/components/stzh-anchornav.js +97 -0
- package/dist/components/stzh-appnav.js +3 -6
- package/dist/components/stzh-appointments.js +11 -16
- package/dist/components/stzh-audio.d.ts +11 -0
- package/dist/components/stzh-audio.js +4195 -0
- package/dist/components/stzh-badge2.js +0 -2
- package/dist/components/stzh-button2.js +25 -46
- package/dist/components/stzh-calendar2.js +8 -24
- package/dist/components/stzh-card-list.js +5 -7
- package/dist/components/stzh-card.js +19 -49
- package/dist/components/stzh-cell.js +0 -7
- package/dist/components/stzh-checkbox.js +15 -20
- package/dist/components/stzh-checkboxgroup.js +28 -19
- package/dist/components/stzh-chip-select.js +12 -14
- package/dist/components/stzh-chip2.js +13 -24
- package/dist/components/stzh-clamp.d.ts +11 -0
- package/dist/components/stzh-clamp.js +6 -0
- package/dist/components/stzh-clamp2.js +43 -0
- package/dist/components/stzh-datalist.js +7 -19
- package/dist/components/stzh-datamessagelist-item.js +24 -18
- package/dist/components/stzh-datatable.js +14 -20
- package/dist/components/stzh-datepicker2.js +19 -35
- package/dist/components/stzh-dialog.js +10 -18
- package/dist/components/stzh-dropdown2.js +15 -35
- package/dist/components/stzh-fieldset.js +0 -4
- package/dist/components/stzh-figure.js +0 -2
- package/dist/components/stzh-flyingfocus.js +6 -6
- package/dist/components/stzh-footer.js +4 -4
- package/dist/components/stzh-ghettobox2.js +7 -16
- package/dist/components/stzh-header.js +3 -9
- package/dist/components/stzh-heading2.js +0 -3
- package/dist/components/stzh-hspace.js +0 -9
- package/dist/components/stzh-icon-sprite.js +2 -2
- package/dist/components/stzh-icon2.js +0 -8
- package/dist/components/stzh-input2.js +28 -35
- package/dist/components/stzh-link2.js +24 -32
- package/dist/components/stzh-list-item.js +1 -1
- package/dist/components/stzh-list.js +0 -1
- package/dist/components/stzh-loader.js +1 -43
- package/dist/components/stzh-loader2.js +42 -0
- package/dist/components/stzh-loadingbar.js +0 -3
- package/dist/components/stzh-menu-item2.js +10 -18
- package/dist/components/stzh-message.js +4 -17
- package/dist/components/stzh-olmap.d.ts +11 -0
- package/dist/components/stzh-olmap.js +51168 -0
- package/dist/components/stzh-overlay.js +0 -3
- package/dist/components/stzh-pagebottom.d.ts +11 -0
- package/dist/components/stzh-pagebottom.js +70 -0
- package/dist/components/stzh-popover2.js +9 -12
- package/dist/components/stzh-portal-mitwirken.js +1 -1
- package/dist/components/stzh-progressbar-item2.js +8 -8
- package/dist/components/stzh-progressbar.js +8 -23
- package/dist/components/stzh-radio2.js +13 -18
- package/dist/components/stzh-radiogroup2.js +29 -21
- package/dist/components/stzh-readspeaker.js +2 -0
- package/dist/components/stzh-richtext2.js +0 -2
- package/dist/components/stzh-row.js +0 -8
- package/dist/components/stzh-saptcha.js +3 -6
- package/dist/components/stzh-section.js +0 -1
- package/dist/components/stzh-share.d.ts +11 -0
- package/dist/components/stzh-share.js +6 -0
- package/dist/components/stzh-share2.js +139 -0
- package/dist/components/stzh-skiplink.js +3 -1
- package/dist/components/stzh-sortable2.js +25 -29
- package/dist/components/stzh-status2.js +0 -4
- package/dist/components/stzh-sticky.d.ts +11 -0
- package/dist/components/stzh-sticky.js +102 -0
- package/dist/components/stzh-table.js +7 -9
- package/dist/components/stzh-text2.js +0 -8
- package/dist/components/stzh-toggle.js +14 -20
- package/dist/components/stzh-tooltip2.js +11 -22
- package/dist/components/stzh-upload.js +57 -160
- package/dist/components/stzh-vbz-linechip2.js +15 -9
- package/dist/components/stzh-vbz-majorticker.js +7 -8
- package/dist/components/stzh-vbz-ticker.js +5 -6
- package/dist/components/stzh-vspace.js +0 -9
- package/dist/esm/{app-globals-e66420b3.js → app-globals-acc57d0e.js} +1 -1
- package/dist/esm/{dom-104fb833.js → dom-6be6f662.js} +1 -1
- package/dist/esm/{index-84f71a43.js → index-2915b467.js} +228 -210
- package/dist/esm/loader.js +4 -4
- package/dist/esm/polyfills/css-shim.js +1 -1
- package/dist/esm/{shadow-css-4261c637.js → shadow-css-ed4599f8.js} +1 -1
- package/dist/esm/stzh-accordion-item.entry.js +13 -23
- package/dist/esm/stzh-accordion.entry.js +1 -3
- package/dist/esm/stzh-actions.entry.js +3 -5
- package/dist/esm/stzh-actionset.entry.js +16 -16
- package/dist/esm/stzh-anchornav.entry.js +48 -0
- package/dist/esm/stzh-appnav.entry.js +4 -7
- package/dist/esm/stzh-appointments.entry.js +12 -17
- package/dist/esm/stzh-audio.entry.js +4146 -0
- package/dist/esm/stzh-badge_3.entry.js +26 -57
- package/dist/esm/stzh-calendar.entry.js +10 -26
- package/dist/esm/stzh-card-list.entry.js +6 -8
- package/dist/esm/stzh-card.entry.js +20 -50
- package/dist/esm/stzh-cell.entry.js +1 -8
- package/dist/esm/stzh-checkbox.entry.js +17 -22
- package/dist/esm/stzh-checkboxgroup.entry.js +29 -20
- package/dist/esm/stzh-chip-select.entry.js +14 -16
- package/dist/esm/stzh-chip.entry.js +14 -25
- package/dist/esm/stzh-clamp.entry.js +23 -0
- package/dist/esm/stzh-components.js +5 -5
- package/dist/esm/stzh-container.entry.js +1 -1
- package/dist/esm/stzh-cspace.entry.js +1 -1
- package/dist/esm/stzh-datalist.entry.js +8 -20
- package/dist/esm/stzh-datamessagelist-item.entry.js +13 -13
- package/dist/esm/stzh-datamessagelist.entry.js +1 -1
- package/dist/esm/stzh-datatable.entry.js +15 -21
- package/dist/esm/stzh-datepicker_3.entry.js +425 -0
- package/dist/esm/stzh-dialog.entry.js +11 -19
- package/dist/esm/stzh-dropdown.entry.js +17 -37
- package/dist/esm/stzh-fieldset.entry.js +1 -5
- package/dist/esm/stzh-figure.entry.js +1 -3
- package/dist/esm/stzh-flyingfocus.entry.js +7 -7
- package/dist/esm/stzh-footer.entry.js +5 -5
- package/dist/esm/stzh-ghettobox_2.entry.js +8 -19
- package/dist/esm/stzh-header.entry.js +4 -10
- package/dist/esm/stzh-heading.entry.js +1 -4
- package/dist/esm/stzh-hr.entry.js +1 -1
- package/dist/esm/stzh-hspace.entry.js +1 -10
- package/dist/esm/stzh-icon-sprite.entry.js +3 -3
- package/dist/esm/{stzh-input-description-8c477f97.js → stzh-input-description-e87e6697.js} +1 -1
- package/dist/esm/stzh-input.entry.js +30 -37
- package/dist/esm/stzh-link.entry.js +23 -33
- package/dist/esm/stzh-list-item.entry.js +2 -2
- package/dist/esm/stzh-list.entry.js +1 -2
- package/dist/esm/stzh-loader.entry.js +1 -4
- package/dist/esm/stzh-loadingbar.entry.js +1 -4
- package/dist/esm/stzh-menu_2.entry.js +11 -19
- package/dist/esm/stzh-message.entry.js +5 -18
- package/dist/esm/stzh-metanav.entry.js +1 -1
- package/dist/esm/stzh-olmap.entry.js +51125 -0
- package/dist/esm/stzh-overlay.entry.js +1 -4
- package/dist/esm/stzh-page-skiplinks.entry.js +1 -1
- package/dist/esm/stzh-pagebottom.entry.js +28 -0
- package/dist/esm/stzh-pagetitle.entry.js +1 -1
- package/dist/esm/stzh-popover.entry.js +10 -13
- package/dist/esm/stzh-portal-mitwirken.entry.js +2 -2
- package/dist/esm/stzh-progressbar-item.entry.js +9 -9
- package/dist/esm/stzh-progressbar.entry.js +9 -24
- package/dist/esm/stzh-readspeaker.entry.js +3 -1
- package/dist/esm/stzh-row.entry.js +1 -9
- package/dist/esm/stzh-saptcha.entry.js +4 -7
- package/dist/esm/stzh-section.entry.js +1 -2
- package/dist/esm/stzh-share.entry.js +109 -0
- package/dist/esm/stzh-skiplink.entry.js +4 -2
- package/dist/esm/stzh-sortable.entry.js +26 -30
- package/dist/esm/stzh-status.entry.js +1 -5
- package/dist/esm/stzh-sticky.entry.js +80 -0
- package/dist/esm/stzh-table.entry.js +8 -10
- package/dist/esm/stzh-text.entry.js +33 -0
- package/dist/esm/stzh-toggle.entry.js +16 -22
- package/dist/esm/stzh-tooltip.entry.js +12 -23
- package/dist/esm/stzh-upload.entry.js +58 -162
- package/dist/esm/stzh-vbz-linechip.entry.js +16 -10
- package/dist/esm/stzh-vbz-majorticker.entry.js +8 -9
- package/dist/esm/stzh-vbz-ticker.entry.js +6 -7
- package/dist/esm/stzh-visuallyhidden.entry.js +1 -1
- package/dist/esm/stzh-vspace.entry.js +1 -10
- package/dist/esm-es5/app-globals-acc57d0e.js +1 -0
- package/dist/esm-es5/{dom-104fb833.js → dom-6be6f662.js} +0 -0
- package/dist/esm-es5/index-2915b467.js +2 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/{shadow-css-4261c637.js → shadow-css-ed4599f8.js} +0 -0
- package/dist/esm-es5/stzh-accordion-item.entry.js +1 -1
- package/dist/esm-es5/stzh-accordion.entry.js +1 -1
- package/dist/esm-es5/stzh-actions.entry.js +1 -1
- package/dist/esm-es5/stzh-actionset.entry.js +1 -1
- package/dist/esm-es5/stzh-anchornav.entry.js +1 -0
- package/dist/esm-es5/stzh-appnav.entry.js +1 -1
- package/dist/esm-es5/stzh-appointments.entry.js +1 -1
- package/dist/esm-es5/stzh-audio.entry.js +31 -0
- package/dist/esm-es5/stzh-badge_3.entry.js +1 -1
- package/dist/esm-es5/stzh-calendar.entry.js +1 -1
- package/dist/esm-es5/stzh-card-list.entry.js +1 -1
- package/dist/esm-es5/stzh-card.entry.js +1 -1
- package/dist/esm-es5/stzh-cell.entry.js +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 +1 -1
- package/dist/esm-es5/stzh-chip.entry.js +1 -1
- package/dist/esm-es5/stzh-clamp.entry.js +1 -0
- package/dist/esm-es5/stzh-components.js +1 -1
- package/dist/esm-es5/stzh-container.entry.js +1 -1
- package/dist/esm-es5/stzh-cspace.entry.js +1 -1
- package/dist/esm-es5/stzh-datalist.entry.js +1 -1
- package/dist/esm-es5/stzh-datamessagelist-item.entry.js +1 -1
- package/dist/esm-es5/stzh-datamessagelist.entry.js +1 -1
- package/dist/esm-es5/stzh-datatable.entry.js +2 -2
- package/dist/esm-es5/stzh-datepicker_3.entry.js +1 -0
- package/dist/esm-es5/stzh-dialog.entry.js +1 -1
- package/dist/esm-es5/stzh-dropdown.entry.js +1 -1
- package/dist/esm-es5/stzh-fieldset.entry.js +1 -1
- package/dist/esm-es5/stzh-figure.entry.js +1 -1
- package/dist/esm-es5/stzh-flyingfocus.entry.js +1 -1
- package/dist/esm-es5/stzh-footer.entry.js +1 -1
- package/dist/esm-es5/stzh-ghettobox_2.entry.js +1 -1
- package/dist/esm-es5/stzh-header.entry.js +1 -1
- package/dist/esm-es5/stzh-heading.entry.js +1 -1
- package/dist/esm-es5/stzh-hr.entry.js +1 -1
- package/dist/esm-es5/stzh-hspace.entry.js +1 -1
- package/dist/esm-es5/stzh-icon-sprite.entry.js +1 -1
- package/dist/esm-es5/{stzh-input-description-8c477f97.js → stzh-input-description-e87e6697.js} +1 -1
- package/dist/esm-es5/stzh-input.entry.js +1 -1
- package/dist/esm-es5/stzh-link.entry.js +1 -1
- package/dist/esm-es5/stzh-list-item.entry.js +1 -1
- package/dist/esm-es5/stzh-list.entry.js +1 -1
- package/dist/esm-es5/stzh-loader.entry.js +1 -1
- package/dist/esm-es5/stzh-loadingbar.entry.js +1 -1
- package/dist/esm-es5/stzh-menu_2.entry.js +1 -1
- package/dist/esm-es5/stzh-message.entry.js +1 -1
- package/dist/esm-es5/stzh-metanav.entry.js +1 -1
- package/dist/esm-es5/stzh-olmap.entry.js +7 -0
- package/dist/esm-es5/stzh-overlay.entry.js +1 -1
- package/dist/esm-es5/stzh-page-skiplinks.entry.js +1 -1
- package/dist/esm-es5/stzh-pagebottom.entry.js +1 -0
- package/dist/esm-es5/stzh-pagetitle.entry.js +1 -1
- package/dist/esm-es5/stzh-popover.entry.js +1 -1
- package/dist/esm-es5/stzh-portal-mitwirken.entry.js +1 -1
- package/dist/esm-es5/stzh-progressbar-item.entry.js +1 -1
- package/dist/esm-es5/stzh-progressbar.entry.js +1 -1
- package/dist/esm-es5/stzh-readspeaker.entry.js +1 -1
- package/dist/esm-es5/stzh-row.entry.js +1 -1
- package/dist/esm-es5/stzh-saptcha.entry.js +1 -1
- package/dist/esm-es5/stzh-section.entry.js +1 -1
- package/dist/esm-es5/stzh-share.entry.js +1 -0
- package/dist/esm-es5/stzh-skiplink.entry.js +1 -1
- package/dist/esm-es5/stzh-sortable.entry.js +2 -2
- package/dist/esm-es5/stzh-status.entry.js +1 -1
- package/dist/esm-es5/stzh-sticky.entry.js +1 -0
- package/dist/esm-es5/stzh-table.entry.js +1 -1
- package/dist/{stzh-components/p-fc6b4f91.system.entry.js → esm-es5/stzh-text.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-linechip.entry.js +1 -1
- package/dist/esm-es5/stzh-vbz-majorticker.entry.js +1 -1
- package/dist/esm-es5/stzh-vbz-ticker.entry.js +1 -1
- package/dist/esm-es5/stzh-visuallyhidden.entry.js +1 -1
- package/dist/esm-es5/stzh-vspace.entry.js +1 -1
- package/dist/stzh-components/assets/i18n/de.json +29 -0
- package/dist/stzh-components/assets/i18n/en.json +29 -0
- package/dist/stzh-components/assets/icons/mono/target-bullet.svg +12 -0
- package/dist/stzh-components/assets/media/olmap/marker-active.png +0 -0
- package/dist/stzh-components/assets/media/olmap/marker-position.png +0 -0
- package/dist/stzh-components/assets/media/olmap/marker.png +0 -0
- package/dist/stzh-components/assets/media/olmap/thumb-satellite.jpg +0 -0
- package/dist/stzh-components/assets/media/olmap/thumb-streets.jpg +0 -0
- package/dist/stzh-components/assets/svgsprites/symbol/sprite.symbol.html +19 -6
- package/dist/stzh-components/assets/svgsprites/symbol/svg/sprite.symbol.svg +1 -1
- package/dist/stzh-components/{p-5a354428.system.entry.js → p-011dcf30.system.entry.js} +1 -1
- package/dist/stzh-components/{p-f24db7e8.system.entry.js → p-01909f35.system.entry.js} +1 -1
- package/dist/stzh-components/p-025953d1.system.entry.js +1 -0
- package/dist/stzh-components/{p-981b2629.system.entry.js → p-0321e98e.system.entry.js} +1 -1
- package/dist/stzh-components/p-04dd6821.entry.js +1 -0
- package/dist/stzh-components/{p-929dbdf1.system.entry.js → p-05901b22.system.entry.js} +1 -1
- package/dist/stzh-components/p-07fc857b.system.entry.js +1 -0
- package/dist/stzh-components/{p-8b6de2c0.system.entry.js → p-090bfb8e.system.entry.js} +1 -1
- package/dist/stzh-components/{p-051bc2a8.entry.js → p-0977d9b6.entry.js} +1 -1
- package/dist/stzh-components/{p-713ae713.entry.js → p-0c10d9b1.entry.js} +2 -2
- package/dist/stzh-components/p-0e48efa7.entry.js +1 -0
- package/dist/stzh-components/p-10c36281.entry.js +1 -0
- package/dist/stzh-components/{p-4c61dcad.js → p-13051e1c.js} +0 -0
- package/dist/stzh-components/p-140e4b63.entry.js +1 -0
- package/dist/stzh-components/{p-a67e09cd.system.entry.js → p-14e457c6.system.entry.js} +1 -1
- package/dist/stzh-components/{p-eb61c369.entry.js → p-14f0d546.entry.js} +1 -1
- package/dist/stzh-components/p-1663fc49.system.entry.js +1 -0
- package/dist/stzh-components/{p-796ae62c.system.entry.js → p-183e4790.system.entry.js} +1 -1
- package/dist/stzh-components/p-1a5fc8e3.system.entry.js +1 -0
- package/dist/stzh-components/{p-db5363ef.entry.js → p-20a6ffbb.entry.js} +1 -1
- package/dist/stzh-components/p-229f4ebc.system.entry.js +1 -0
- package/dist/stzh-components/{p-3b912468.system.entry.js → p-23e9b6c7.system.entry.js} +1 -1
- package/dist/stzh-components/{p-5f4eb46c.entry.js → p-241f060e.entry.js} +1 -1
- package/dist/stzh-components/{p-89274cd5.system.entry.js → p-26159eac.system.entry.js} +1 -1
- package/dist/stzh-components/{p-6523a23b.system.js → p-2732d8c8.system.js} +0 -0
- package/dist/stzh-components/{p-56b9cc3c.system.entry.js → p-27573504.system.entry.js} +1 -1
- package/dist/stzh-components/{p-9e716229.entry.js → p-27839f48.entry.js} +1 -1
- package/dist/stzh-components/{p-fc13d017.system.entry.js → p-27bfb4c2.system.entry.js} +1 -1
- package/dist/stzh-components/{p-29427863.entry.js → p-29d9a568.entry.js} +1 -1
- package/dist/stzh-components/{p-f1356a85.entry.js → p-2c16d2ea.entry.js} +1 -1
- package/dist/stzh-components/p-2c783943.entry.js +1 -0
- package/dist/stzh-components/{p-560f96f0.system.entry.js → p-2c8d491a.system.entry.js} +1 -1
- package/dist/stzh-components/{p-17c6c1db.system.entry.js → p-2e276f2e.system.entry.js} +1 -1
- package/dist/stzh-components/{p-5bd2849d.entry.js → p-30e5a674.entry.js} +1 -1
- package/dist/stzh-components/{p-19bff884.system.entry.js → p-33a52001.system.entry.js} +1 -1
- package/dist/stzh-components/{p-b462a61f.entry.js → p-34eb65b9.entry.js} +1 -1
- package/dist/stzh-components/p-36596b2b.system.entry.js +1 -0
- package/dist/stzh-components/{p-d6c07494.system.entry.js → p-37bdb9cd.system.entry.js} +1 -1
- package/dist/stzh-components/p-38977481.entry.js +1 -0
- package/dist/stzh-components/p-3a0f37bd.entry.js +1 -0
- package/dist/stzh-components/p-3a279b45.entry.js +1 -0
- package/dist/stzh-components/p-3a47ff2d.system.entry.js +1 -0
- package/dist/stzh-components/p-3b33fa76.system.entry.js +1 -0
- package/dist/stzh-components/{p-2b338050.entry.js → p-3e24b964.entry.js} +1 -1
- package/dist/stzh-components/{p-ee22256f.entry.js → p-3e504f50.entry.js} +1 -1
- package/dist/stzh-components/{p-bb3c1249.entry.js → p-3efefb7f.entry.js} +1 -1
- package/dist/stzh-components/{p-21566d65.system.entry.js → p-3f8976bc.system.entry.js} +1 -1
- package/dist/stzh-components/{p-8d0da18d.system.entry.js → p-3fc40cc0.system.entry.js} +1 -1
- package/dist/stzh-components/{p-4c6989ae.system.entry.js → p-440ae0cc.system.entry.js} +1 -1
- package/dist/stzh-components/{p-b550feaa.system.entry.js → p-44435254.system.entry.js} +1 -1
- package/dist/stzh-components/{p-ab246b66.entry.js → p-456143f9.entry.js} +1 -1
- package/dist/stzh-components/{p-190de4de.entry.js → p-46f4e907.entry.js} +1 -1
- package/dist/stzh-components/p-470ccde5.system.entry.js +1 -0
- package/dist/stzh-components/{p-d1552460.system.entry.js → p-470e5f38.system.entry.js} +1 -1
- package/dist/stzh-components/{p-ce070ccd.entry.js → p-4b93fb24.entry.js} +1 -1
- package/dist/stzh-components/{p-562e6c52.entry.js → p-4c93ffbe.entry.js} +1 -1
- package/dist/stzh-components/{p-20ef4a20.system.entry.js → p-509c97c9.system.entry.js} +1 -1
- package/dist/stzh-components/p-51c75fba.system.entry.js +1 -0
- package/dist/stzh-components/{p-0fc83964.system.entry.js → p-529a56aa.system.entry.js} +1 -1
- package/dist/stzh-components/{p-63d89b96.system.js → p-52cd1bd1.system.js} +1 -1
- package/dist/stzh-components/p-53c30c58.entry.js +1 -0
- package/dist/stzh-components/p-55435022.system.entry.js +1 -0
- package/dist/stzh-components/p-5623c1a3.entry.js +1 -0
- package/dist/stzh-components/{p-e213663c.system.entry.js → p-5869502c.system.entry.js} +1 -1
- package/dist/stzh-components/p-58714045.entry.js +1 -0
- package/dist/stzh-components/p-59970f71.entry.js +1 -0
- package/dist/stzh-components/{p-3d8317b5.entry.js → p-5c2d0572.entry.js} +1 -1
- package/dist/stzh-components/p-5c311df3.entry.js +1 -0
- package/dist/stzh-components/{p-72f29f07.entry.js → p-5e81420b.entry.js} +1 -1
- package/dist/stzh-components/p-609bf766.system.js +2 -0
- package/dist/stzh-components/{p-f832e938.system.entry.js → p-616e70e9.system.entry.js} +1 -1
- package/dist/stzh-components/p-62afe664.entry.js +1 -0
- package/dist/stzh-components/p-62c7caed.entry.js +1 -0
- package/dist/stzh-components/p-652eee8b.system.entry.js +1 -0
- package/dist/stzh-components/{p-69c3187f.system.entry.js → p-67ade1c7.system.entry.js} +1 -1
- package/dist/stzh-components/p-6a16ceff.entry.js +1 -0
- package/dist/stzh-components/{p-9c72f491.system.entry.js → p-6a96d63e.system.entry.js} +1 -1
- package/dist/stzh-components/{p-33c0229f.system.entry.js → p-6c1ad586.system.entry.js} +1 -1
- package/dist/stzh-components/p-6c3d7756.system.entry.js +7 -0
- package/dist/stzh-components/{p-61aac051.system.entry.js → p-725b3e74.system.entry.js} +1 -1
- package/dist/stzh-components/p-74786856.system.entry.js +1 -0
- package/dist/stzh-components/p-783346ed.entry.js +1 -0
- package/dist/stzh-components/p-7909f56b.entry.js +1 -0
- package/dist/stzh-components/p-79f27d21.entry.js +1 -0
- package/dist/stzh-components/p-7a4c6adb.js +2 -0
- package/dist/stzh-components/{p-a7ee2636.entry.js → p-7d77b8d2.entry.js} +1 -1
- package/dist/stzh-components/{p-9fb4da92.system.entry.js → p-7dd6fbc9.system.entry.js} +1 -1
- package/dist/stzh-components/{p-f84fa2a4.js → p-8347b91f.js} +1 -1
- package/dist/stzh-components/{p-ef5d4167.js → p-8364475f.js} +0 -0
- package/dist/stzh-components/{p-bbe4e3d1.system.entry.js → p-881e526e.system.entry.js} +1 -1
- package/dist/stzh-components/p-8d9056de.entry.js +1 -0
- package/dist/stzh-components/p-8e363084.system.entry.js +1 -0
- package/dist/stzh-components/p-8e5f4ef6.system.entry.js +1 -0
- package/dist/stzh-components/{p-8d547247.system.entry.js → p-8eb72064.system.entry.js} +1 -1
- package/dist/stzh-components/{p-fa56fc0d.system.entry.js → p-8fc8d8c2.system.entry.js} +1 -1
- package/dist/stzh-components/{p-6305db38.system.entry.js → p-90665664.system.entry.js} +1 -1
- package/dist/stzh-components/p-9084f0c1.entry.js +1 -0
- package/dist/stzh-components/p-90ad5e2c.entry.js +1 -0
- package/dist/stzh-components/p-92788577.entry.js +34 -0
- package/dist/stzh-components/{p-27fd6c6f.system.entry.js → p-92ad9720.system.entry.js} +1 -1
- package/dist/stzh-components/{p-c58dd9de.entry.js → p-9454a438.entry.js} +1 -1
- package/dist/stzh-components/p-948acea1.js +1 -0
- package/dist/stzh-components/{p-530252c6.system.entry.js → p-965829a6.system.entry.js} +1 -1
- package/dist/stzh-components/p-9a7593f5.entry.js +1 -0
- package/dist/stzh-components/p-9af41730.system.js +1 -0
- package/dist/stzh-components/{p-58d886cb.system.entry.js → p-9ca1efe4.system.entry.js} +1 -1
- package/dist/stzh-components/p-a10e0117.system.entry.js +1 -0
- package/dist/stzh-components/{p-3f0363db.entry.js → p-a3559e69.entry.js} +1 -1
- package/dist/stzh-components/{p-7ec2f3fd.entry.js → p-a61bf274.entry.js} +2 -2
- package/dist/stzh-components/{p-8c648042.system.entry.js → p-a6da8c06.system.entry.js} +1 -1
- package/dist/stzh-components/{p-ccd30d73.system.entry.js → p-afaa9c37.system.entry.js} +1 -1
- package/dist/stzh-components/{p-88e0f453.entry.js → p-b09b85ac.entry.js} +1 -1
- package/dist/stzh-components/p-b0e514c7.entry.js +1 -0
- package/dist/stzh-components/{p-5997e418.system.entry.js → p-b3587b9d.system.entry.js} +1 -1
- package/dist/stzh-components/p-b367d4e3.entry.js +7 -0
- package/dist/stzh-components/p-b54ed1f9.entry.js +1 -0
- package/dist/stzh-components/p-b5a59ac0.entry.js +1 -0
- package/dist/stzh-components/p-b666bb15.entry.js +1 -0
- package/dist/stzh-components/p-b71a1607.system.js +1 -0
- package/dist/stzh-components/{p-2e559062.entry.js → p-b99c0844.entry.js} +1 -1
- package/dist/stzh-components/p-bb9e8364.entry.js +1 -0
- package/dist/stzh-components/p-bc841847.entry.js +1 -0
- package/dist/stzh-components/p-bd7dd853.system.entry.js +1 -0
- package/dist/stzh-components/p-bdc627fa.system.entry.js +1 -0
- package/dist/stzh-components/p-be534671.entry.js +1 -0
- package/dist/stzh-components/p-bfdce66c.entry.js +1 -0
- package/dist/stzh-components/p-c051fc3b.entry.js +1 -0
- package/dist/stzh-components/p-c1100fde.entry.js +1 -0
- package/dist/stzh-components/{p-55d23a3c.system.entry.js → p-c3161c9b.system.entry.js} +1 -1
- package/dist/stzh-components/{p-0fc06049.system.entry.js → p-c5749124.system.entry.js} +1 -1
- package/dist/stzh-components/{p-786a92d4.system.entry.js → p-c6813d9f.system.entry.js} +1 -1
- package/dist/stzh-components/p-c777032f.system.entry.js +1 -0
- package/dist/stzh-components/{p-c4fc6433.system.entry.js → p-c8009c05.system.entry.js} +1 -1
- package/dist/stzh-components/{p-d0aa9d3b.entry.js → p-c866224d.entry.js} +1 -1
- package/dist/stzh-components/p-cbaab05e.entry.js +1 -0
- package/dist/stzh-components/{p-5353ba86.system.entry.js → p-cc735465.system.entry.js} +2 -2
- package/dist/stzh-components/{p-6a873872.entry.js → p-d00e20ff.entry.js} +1 -1
- package/dist/stzh-components/{p-c3d93395.entry.js → p-d26ed018.entry.js} +1 -1
- package/dist/stzh-components/{p-64b4cc74.entry.js → p-d2c97cbc.entry.js} +1 -1
- package/dist/stzh-components/{p-84ab53cc.system.entry.js → p-d408604f.system.entry.js} +1 -1
- package/dist/stzh-components/{p-b9a027aa.entry.js → p-d69b12f8.entry.js} +1 -1
- package/dist/stzh-components/p-da857e0d.entry.js +1 -0
- package/dist/stzh-components/{p-2ca4a828.system.entry.js → p-de8f9508.system.entry.js} +1 -1
- package/dist/stzh-components/{p-a7c35778.system.entry.js → p-e347ce1e.system.entry.js} +1 -1
- package/dist/stzh-components/{p-961cb979.entry.js → p-e662b688.entry.js} +1 -1
- package/dist/stzh-components/{p-c4b7c2be.entry.js → p-e69903fe.entry.js} +1 -1
- package/dist/stzh-components/p-e7afcd6f.entry.js +1 -0
- package/dist/stzh-components/p-e9313802.system.entry.js +31 -0
- package/dist/stzh-components/p-ee711f37.system.entry.js +1 -0
- package/dist/stzh-components/{p-b5a85078.system.entry.js → p-ee944add.system.entry.js} +1 -1
- package/dist/stzh-components/{p-5a02ef03.entry.js → p-ef62b905.entry.js} +1 -1
- package/dist/stzh-components/{p-a8de6293.system.js → p-f39f347c.system.js} +0 -0
- package/dist/stzh-components/p-f8ccf5b1.entry.js +1 -0
- package/dist/stzh-components/p-f9039c23.entry.js +1 -0
- package/dist/stzh-components/{p-073c89b1.system.entry.js → p-fa6427bf.system.entry.js} +1 -1
- package/dist/stzh-components/{p-ba94e315.system.entry.js → p-fa9a4cd5.system.entry.js} +1 -1
- package/dist/stzh-components/p-fade35c7.entry.js +1 -0
- package/dist/stzh-components/{p-851e0caa.system.entry.js → p-fb150554.system.entry.js} +1 -1
- package/dist/stzh-components/{p-684c345e.system.entry.js → p-fd811f6b.system.entry.js} +2 -2
- package/dist/stzh-components/stzh-components.css +1 -1
- package/dist/stzh-components/stzh-components.esm.js +1 -1
- package/dist/stzh-components/stzh-components.js +1 -1
- package/dist/types/components/stzh-anchornav/stzh-anchornav.d.ts +32 -0
- package/dist/types/components/stzh-audio/stzh-audio.localization.d.ts +11 -0
- package/dist/types/components/stzh-clamp/stzh-clamp.d.ts +16 -0
- package/dist/types/components/stzh-olmap/stzh-olmap.localization.d.ts +10 -0
- package/dist/types/components/stzh-portal-mitwirken/stzh-portal-mitwirken.d.ts +1 -2
- package/dist/types/components/stzh-share/stzh-share.localization.d.ts +10 -0
- package/dist/types/components/stzh-upload/stzh-upload.localization.d.ts +1 -0
- package/dist/types/components.d.ts +557 -17
- package/dist/types/index.d.ts +68 -1
- package/dist/types/stencil-public-runtime.d.ts +20 -4
- package/dist/vscode-data.json +265 -8
- package/package.json +7 -2
- package/dist/cjs/stzh-datepicker_4.cjs.entry.js +0 -483
- package/dist/esm/stzh-datepicker_4.entry.js +0 -476
- package/dist/esm-es5/app-globals-e66420b3.js +0 -1
- package/dist/esm-es5/index-84f71a43.js +0 -2
- package/dist/esm-es5/stzh-datepicker_4.entry.js +0 -1
- package/dist/stzh-components/p-001b7d10.entry.js +0 -1
- package/dist/stzh-components/p-03ea86bd.entry.js +0 -1
- package/dist/stzh-components/p-0711e511.entry.js +0 -1
- package/dist/stzh-components/p-08a564af.entry.js +0 -1
- package/dist/stzh-components/p-0bbbbe85.system.entry.js +0 -1
- package/dist/stzh-components/p-13b3500e.entry.js +0 -1
- package/dist/stzh-components/p-1440163c.system.entry.js +0 -1
- package/dist/stzh-components/p-18958371.entry.js +0 -1
- package/dist/stzh-components/p-216577b4.entry.js +0 -1
- package/dist/stzh-components/p-22701389.system.entry.js +0 -1
- package/dist/stzh-components/p-252d3178.entry.js +0 -1
- package/dist/stzh-components/p-2cf1ae40.system.entry.js +0 -1
- package/dist/stzh-components/p-3042b23e.entry.js +0 -1
- package/dist/stzh-components/p-3beb58d6.system.entry.js +0 -1
- package/dist/stzh-components/p-45bab70d.system.entry.js +0 -1
- package/dist/stzh-components/p-48b5b697.system.entry.js +0 -1
- package/dist/stzh-components/p-552f49c4.entry.js +0 -1
- package/dist/stzh-components/p-55cdbf79.entry.js +0 -1
- package/dist/stzh-components/p-62db1e59.entry.js +0 -1
- package/dist/stzh-components/p-638bedfa.entry.js +0 -1
- package/dist/stzh-components/p-6425898c.entry.js +0 -1
- package/dist/stzh-components/p-676fd54d.entry.js +0 -1
- package/dist/stzh-components/p-69f4a27e.entry.js +0 -1
- package/dist/stzh-components/p-764ba190.entry.js +0 -1
- package/dist/stzh-components/p-7d8c9866.entry.js +0 -1
- package/dist/stzh-components/p-80d70586.entry.js +0 -1
- package/dist/stzh-components/p-838df84a.system.entry.js +0 -1
- package/dist/stzh-components/p-85161133.js +0 -1
- package/dist/stzh-components/p-864d7c50.entry.js +0 -1
- package/dist/stzh-components/p-93e8e31f.js +0 -2
- package/dist/stzh-components/p-9469b812.entry.js +0 -1
- package/dist/stzh-components/p-a3fa6122.system.entry.js +0 -1
- package/dist/stzh-components/p-a448f5a5.entry.js +0 -1
- package/dist/stzh-components/p-a646c09a.entry.js +0 -1
- package/dist/stzh-components/p-a6627504.entry.js +0 -1
- package/dist/stzh-components/p-b391d962.system.entry.js +0 -1
- package/dist/stzh-components/p-b70bc70c.system.js +0 -1
- package/dist/stzh-components/p-be461e19.system.entry.js +0 -1
- package/dist/stzh-components/p-bf0fdd23.system.js +0 -2
- package/dist/stzh-components/p-c1337453.entry.js +0 -1
- package/dist/stzh-components/p-cb1d4678.entry.js +0 -1
- package/dist/stzh-components/p-cd795307.entry.js +0 -1
- package/dist/stzh-components/p-cdc9e600.entry.js +0 -1
- package/dist/stzh-components/p-d7893dfd.entry.js +0 -1
- package/dist/stzh-components/p-d9643cc4.entry.js +0 -1
- package/dist/stzh-components/p-e3e3e88c.system.js +0 -1
- package/dist/stzh-components/p-ebeb8d7b.system.entry.js +0 -1
- package/dist/stzh-components/p-eca1732f.entry.js +0 -1
- package/dist/stzh-components/p-f788a468.entry.js +0 -1
- package/dist/stzh-components/p-fdd1998f.entry.js +0 -1
- package/dist/stzh-components/p-fdf0b4bc.system.entry.js +0 -1
|
@@ -0,0 +1,1042 @@
|
|
|
1
|
+
import { Host, h } from "@stencil/core";
|
|
2
|
+
import { fetchTranslations } from "../../utils/translation-utils";
|
|
3
|
+
// map dependencies
|
|
4
|
+
import Proj4 from "proj4";
|
|
5
|
+
window.proj4 = Proj4;
|
|
6
|
+
window.proj4.defs("EPSG:2056", "+proj=somerc +lat_0=46.95240555555556 +lon_0=7.439583333333333 +k_0=1 +x_0=2600000 +y_0=1200000 +ellps=bessel +towgs84=674.374,15.056,405.346,0,0,0,0 +units=m +no_defs");
|
|
7
|
+
import OlGeolocation from "ol/geolocation.js";
|
|
8
|
+
import OlMap from "ol/map.js";
|
|
9
|
+
// import OlOverlay from "ol/overlay.js";
|
|
10
|
+
import OlExtent from "ol/extent.js";
|
|
11
|
+
import OlView from "ol/view.js";
|
|
12
|
+
// import OlAttribution from "ol/attribution.js";
|
|
13
|
+
import OlFeature from "ol/feature";
|
|
14
|
+
// import OlProj from "ol/proj";
|
|
15
|
+
import OlProjProjection from "ol/proj/projection";
|
|
16
|
+
import OlSourceWmts from "ol/source/wmts.js";
|
|
17
|
+
import OlSourceVector from "ol/source/vector.js";
|
|
18
|
+
import OlGeomPoint from "ol/geom/point.js";
|
|
19
|
+
import OlLayerTile from "ol/layer/tile.js";
|
|
20
|
+
import OlLayerVector from "ol/layer/vector.js";
|
|
21
|
+
import OlControl from "ol/control";
|
|
22
|
+
import OlControlScaleLine from "ol/control/scaleline";
|
|
23
|
+
import OlControlControl from "ol/control/control";
|
|
24
|
+
import OlTilegridWmts from "ol/tilegrid/wmts";
|
|
25
|
+
import OlInteraction from "ol/interaction";
|
|
26
|
+
import OlStyleStyle from "ol/style/style";
|
|
27
|
+
import OlStyleIcon from "ol/style/icon";
|
|
28
|
+
const STYLES_MARKER_ICON = {
|
|
29
|
+
anchor: [0.5, 1],
|
|
30
|
+
anchorXUnits: "fraction",
|
|
31
|
+
anchorYUnits: "fraction",
|
|
32
|
+
scale: .5,
|
|
33
|
+
src: `${window.stzhComponents.pathMedia}/olmap/marker.png`
|
|
34
|
+
};
|
|
35
|
+
const STYLES_ACTIVE_MARKER_ICON = Object.assign(Object.assign({}, STYLES_MARKER_ICON), { src: `${window.stzhComponents.pathMedia}/olmap/marker-active.png` });
|
|
36
|
+
const STYLES_POSITION_MARKER_ICON_STYLES = Object.assign(Object.assign({}, STYLES_MARKER_ICON), { anchor: [0.5, 0.5], src: `${window.stzhComponents.pathMedia}/olmap/marker-position.png` });
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
*/
|
|
40
|
+
export class StzhOlmap {
|
|
41
|
+
constructor() {
|
|
42
|
+
this.handlePostRender = () => {
|
|
43
|
+
this.stzhPostRender.emit({
|
|
44
|
+
component: "stzh-olmap"
|
|
45
|
+
});
|
|
46
|
+
};
|
|
47
|
+
this.handleMoveStart = () => {
|
|
48
|
+
this.stzhMoveStart.emit({
|
|
49
|
+
component: "stzh-olmap"
|
|
50
|
+
});
|
|
51
|
+
};
|
|
52
|
+
this.handleMoveEnd = () => {
|
|
53
|
+
this.stzhMoveEnd.emit({
|
|
54
|
+
component: "stzh-olmap"
|
|
55
|
+
});
|
|
56
|
+
};
|
|
57
|
+
this.handleInsideModalOpen = () => {
|
|
58
|
+
if (this.map) {
|
|
59
|
+
requestAnimationFrame(() => {
|
|
60
|
+
this.map.updateSize();
|
|
61
|
+
});
|
|
62
|
+
}
|
|
63
|
+
};
|
|
64
|
+
this.handlePrintButtonClick = () => {
|
|
65
|
+
// TODO: check with client if print is still needed and if related contact component needs to be printed too
|
|
66
|
+
if (!this.printIframe) {
|
|
67
|
+
this.printIframe = document.createElement("iframe");
|
|
68
|
+
Object.assign(this.printIframe.style, {
|
|
69
|
+
"height": "0px",
|
|
70
|
+
"width": "0px",
|
|
71
|
+
"position": "absolute",
|
|
72
|
+
"border": "none"
|
|
73
|
+
});
|
|
74
|
+
this.element.append(this.printIframe);
|
|
75
|
+
}
|
|
76
|
+
// empty iframe
|
|
77
|
+
this.printIframe.innerHTML = "";
|
|
78
|
+
const printWindow = this.printIframe.contentWindow;
|
|
79
|
+
const componentCss = this.constructor.style.replace('@charset "UTF-8";', "");
|
|
80
|
+
const globalCssLinks = Array.from(document.querySelectorAll("link")).map((node) => node.outerHTML);
|
|
81
|
+
let img;
|
|
82
|
+
this.map.once("postcompose", function (event) {
|
|
83
|
+
const canvas = event.context.canvas;
|
|
84
|
+
img = canvas.toDataURL("image/png");
|
|
85
|
+
});
|
|
86
|
+
this.map.renderSync();
|
|
87
|
+
printWindow.document.body.innerHTML = `
|
|
88
|
+
${globalCssLinks.join("")}
|
|
89
|
+
|
|
90
|
+
<style type="text/css">
|
|
91
|
+
${componentCss}
|
|
92
|
+
</style>
|
|
93
|
+
|
|
94
|
+
<div class="stzh-olmap__map stzh-olmap__map--print">
|
|
95
|
+
<img class="stzh-olmap__print-image" src="${img}" alt="">
|
|
96
|
+
${this.element.querySelector(".ol-scale-line.ol-unselectable").outerHTML}
|
|
97
|
+
</div>
|
|
98
|
+
`;
|
|
99
|
+
// printWindow.document.write('<div class="mod_contact">');
|
|
100
|
+
// const contact = this.element.closest('.mod_contact');
|
|
101
|
+
// if (contact) {
|
|
102
|
+
// const contactCard = contact.querySelector('.mod_contactcard');
|
|
103
|
+
// printWindow.document.write('<div class="mod_contactcard">');
|
|
104
|
+
// printWindow.document.write(contactCard.innerHTML);
|
|
105
|
+
// printWindow.document.write('</div>');
|
|
106
|
+
// }
|
|
107
|
+
// printWindow.document.write('<div class="stzh-olmap__map stzh-olmap__map--print">');
|
|
108
|
+
// printWindow.document.write('<img class="stzh-olmap__print-image" src="' + img + '" alt="">');
|
|
109
|
+
// printWindow.document.write(this.element.querySelector('.ol-scale-line.ol-unselectable').outerHTML);
|
|
110
|
+
// printWindow.document.write('</div>');
|
|
111
|
+
// printWindow.document.write('</div>');
|
|
112
|
+
// printWindow.document.close();
|
|
113
|
+
setTimeout(() => {
|
|
114
|
+
// acts as a bugfix for IE 11
|
|
115
|
+
// https://stackoverflow.com/questions/24673024/unable-to-print-iframe-content-from-parent-page-in-ie-11
|
|
116
|
+
try {
|
|
117
|
+
printWindow.document.execCommand("print", false, null);
|
|
118
|
+
}
|
|
119
|
+
catch (e) {
|
|
120
|
+
printWindow.print();
|
|
121
|
+
}
|
|
122
|
+
}, 1000);
|
|
123
|
+
};
|
|
124
|
+
this.localization = undefined;
|
|
125
|
+
this.hostname = "www.ogc.stadt-zuerich.ch";
|
|
126
|
+
this.scaleControl = true;
|
|
127
|
+
this.layerControl = true;
|
|
128
|
+
this.printControl = true;
|
|
129
|
+
this.locationControl = false;
|
|
130
|
+
this.layer = "streets";
|
|
131
|
+
this.zoom = 7;
|
|
132
|
+
this.center = [2683311, 1247082];
|
|
133
|
+
this.centerMarker = true;
|
|
134
|
+
this.resolutions = [
|
|
135
|
+
67.73333333333,
|
|
136
|
+
33.8666666667,
|
|
137
|
+
16.9333333333,
|
|
138
|
+
8.4666666667,
|
|
139
|
+
4.2333333333,
|
|
140
|
+
2.1166666667,
|
|
141
|
+
1.0583333333,
|
|
142
|
+
0.5291666667,
|
|
143
|
+
0.2645833333,
|
|
144
|
+
0.1322916667,
|
|
145
|
+
0.0661458333
|
|
146
|
+
];
|
|
147
|
+
this.layers = {
|
|
148
|
+
streets: {
|
|
149
|
+
thumbnailUrl: `${window.stzhComponents.pathMedia}/olmap/thumb-streets.jpg`,
|
|
150
|
+
options: {
|
|
151
|
+
url: "https://{Hostname}/mapproxy/wmts/1.0.0/{Layer}/{Style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}.png",
|
|
152
|
+
layer: "basiskarte_zuerich_gebaeudeschraegansicht",
|
|
153
|
+
matrixSet: "ktzh",
|
|
154
|
+
origin: [2480237.0, 1315832.0],
|
|
155
|
+
extent: [2666867.00, 1220962.00, 2719695.50, 1285537.00]
|
|
156
|
+
}
|
|
157
|
+
},
|
|
158
|
+
satellite: {
|
|
159
|
+
thumbnailUrl: `${window.stzhComponents.pathMedia}/olmap/thumb-satellite.jpg`,
|
|
160
|
+
options: {
|
|
161
|
+
url: "https://{Hostname}/mapproxy/wmts/1.0.0/{Layer}/{Style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}.png",
|
|
162
|
+
layer: "orthofoto",
|
|
163
|
+
matrixSet: "ktzh",
|
|
164
|
+
origin: [2480237.0, 1315832.0],
|
|
165
|
+
extent: [2666867.0, 1220962.0, 2719695.5, 1285537.0]
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
};
|
|
169
|
+
}
|
|
170
|
+
zoomWatcher(newValue) {
|
|
171
|
+
if (this.map) {
|
|
172
|
+
this.map.getView().setZoom(newValue);
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
scaleControlWatcher(newValue) {
|
|
176
|
+
if (!this.map) {
|
|
177
|
+
return;
|
|
178
|
+
}
|
|
179
|
+
if (newValue) {
|
|
180
|
+
this.scaleControlOl = new OlControlScaleLine({
|
|
181
|
+
units: "metric"
|
|
182
|
+
});
|
|
183
|
+
this.map.addControl(this.scaleControlOl);
|
|
184
|
+
}
|
|
185
|
+
else {
|
|
186
|
+
if (this.scaleControl) {
|
|
187
|
+
this.map.removeControl(this.scaleControlOl);
|
|
188
|
+
}
|
|
189
|
+
this.scaleControlOl = null;
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
printControlWatcher(newValue) {
|
|
193
|
+
if (!this.map) {
|
|
194
|
+
return;
|
|
195
|
+
}
|
|
196
|
+
if (newValue) {
|
|
197
|
+
this.printControlElement = document.createElement("button");
|
|
198
|
+
this.printControlElement.className = "ol-print";
|
|
199
|
+
this.printControlElement.ariaLabel = this.localization.printLabel;
|
|
200
|
+
this.printControlElement.addEventListener("click", this.handlePrintButtonClick);
|
|
201
|
+
this.printControlElement.innerHTML = '<stzh-icon name="print" class="ol-print__icon"></stzh-icon>';
|
|
202
|
+
this.printControlOl = new OlControlControl({
|
|
203
|
+
element: this.printControlElement
|
|
204
|
+
});
|
|
205
|
+
this.map.addControl(this.printControlOl);
|
|
206
|
+
}
|
|
207
|
+
else {
|
|
208
|
+
if (this.printControlOl) {
|
|
209
|
+
this.map.removeControl(this.printControlOl);
|
|
210
|
+
}
|
|
211
|
+
this.printControlOl = null;
|
|
212
|
+
this.printControlElement = null;
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
layerControlWatcher(newValue) {
|
|
216
|
+
if (!this.map || this.layersArray.length === 1) {
|
|
217
|
+
return;
|
|
218
|
+
}
|
|
219
|
+
if (newValue) {
|
|
220
|
+
this.layerControlElement = document.createElement("button");
|
|
221
|
+
this.layerControlElement.className = "ol-layer";
|
|
222
|
+
this.layerControlElement.addEventListener("click", () => {
|
|
223
|
+
this.layer = this.layer === "streets" ? "satellite" : "streets";
|
|
224
|
+
});
|
|
225
|
+
this.layerControlImageElement = document.createElement("img");
|
|
226
|
+
this.layerControlImageElement.className = "ol-layer__thumbnail";
|
|
227
|
+
this.layerControlImageElement.setAttribute("role", "presentation");
|
|
228
|
+
this.layerControlImageElement.setAttribute("alt", "");
|
|
229
|
+
this.layerControlTextElement = document.createElement("span");
|
|
230
|
+
this.layerControlTextElement.className = "ol-layer__text";
|
|
231
|
+
this.layerControlElement.appendChild(this.layerControlImageElement);
|
|
232
|
+
this.layerControlElement.appendChild(this.layerControlTextElement);
|
|
233
|
+
this.layerControlOl = new OlControlControl({
|
|
234
|
+
element: this.layerControlElement
|
|
235
|
+
});
|
|
236
|
+
this.map.addControl(this.layerControlOl);
|
|
237
|
+
}
|
|
238
|
+
else {
|
|
239
|
+
if (this.layerControlOl) {
|
|
240
|
+
this.map.removeControl(this.layerControlOl);
|
|
241
|
+
}
|
|
242
|
+
this.layerControlOl = null;
|
|
243
|
+
this.layerControlElement = null;
|
|
244
|
+
this.layerControlImageElement = null;
|
|
245
|
+
this.layerControlTextElement = null;
|
|
246
|
+
}
|
|
247
|
+
}
|
|
248
|
+
locationControlWatcher(newValue) {
|
|
249
|
+
if (!this.map) {
|
|
250
|
+
return;
|
|
251
|
+
}
|
|
252
|
+
if (newValue) {
|
|
253
|
+
this.locationControlElement = document.createElement("button");
|
|
254
|
+
this.locationControlElement.className = "ol-location";
|
|
255
|
+
this.locationControlElement.innerHTML = '<stzh-icon name="target-bullet" class="ol-location__icon"></stzh-icon>';
|
|
256
|
+
this.locationControlElement.addEventListener("click", () => {
|
|
257
|
+
const isTracking = this.geolocation.getTracking();
|
|
258
|
+
if (isTracking) {
|
|
259
|
+
this.disableLocationTracking();
|
|
260
|
+
}
|
|
261
|
+
else {
|
|
262
|
+
this.enableLocationTracking();
|
|
263
|
+
}
|
|
264
|
+
});
|
|
265
|
+
this.locationControlOl = new OlControlControl({
|
|
266
|
+
element: this.locationControlElement
|
|
267
|
+
});
|
|
268
|
+
this.geolocation = new OlGeolocation({
|
|
269
|
+
// take the projection to use from the map's view
|
|
270
|
+
projection: this.map.getView().getProjection()
|
|
271
|
+
});
|
|
272
|
+
this.positionMarkerOl = new OlFeature();
|
|
273
|
+
this.positionMarkerOl.setId("position");
|
|
274
|
+
const iconStyle = new OlStyleStyle({
|
|
275
|
+
image: new OlStyleIcon(STYLES_POSITION_MARKER_ICON_STYLES)
|
|
276
|
+
});
|
|
277
|
+
this.positionMarkerOl.setStyle(iconStyle);
|
|
278
|
+
this.positionLayer.getSource().addFeature(this.positionMarkerOl);
|
|
279
|
+
// listen to changes in position
|
|
280
|
+
this.geolocation.on("change:position", () => {
|
|
281
|
+
const position = this.geolocation.getPosition();
|
|
282
|
+
this.positionMarkerOl.setGeometry(new OlGeomPoint(position));
|
|
283
|
+
// if position is within map, we center to it
|
|
284
|
+
if (OlExtent.containsExtent(this.layers[this.layer].options.extent, this.positionMarkerOl.getGeometry().getExtent())) {
|
|
285
|
+
this.map.getView().setCenter(position);
|
|
286
|
+
}
|
|
287
|
+
});
|
|
288
|
+
this.geolocation.on("change:tracking", () => {
|
|
289
|
+
const isTracking = this.geolocation.getTracking();
|
|
290
|
+
// reset position
|
|
291
|
+
this.positionMarkerOl.setGeometry(null);
|
|
292
|
+
this.setLocationControlState(isTracking);
|
|
293
|
+
});
|
|
294
|
+
this.geolocation.on("error", () => {
|
|
295
|
+
this.setLocationControlState(false);
|
|
296
|
+
});
|
|
297
|
+
this.map.addControl(this.locationControlOl);
|
|
298
|
+
}
|
|
299
|
+
else {
|
|
300
|
+
this.disableLocationTracking();
|
|
301
|
+
if (this.locationControlOl) {
|
|
302
|
+
this.map.removeControl(this.locationControlOl);
|
|
303
|
+
}
|
|
304
|
+
if (this.positionMarkerOl) {
|
|
305
|
+
this.positionLayer.getSource().removeFeature(this.positionMarkerOl);
|
|
306
|
+
}
|
|
307
|
+
this.locationControlOl = null;
|
|
308
|
+
this.locationControlElement = null;
|
|
309
|
+
this.geolocation = null;
|
|
310
|
+
this.positionMarkerOl = null;
|
|
311
|
+
}
|
|
312
|
+
}
|
|
313
|
+
layerWatcher(newValue) {
|
|
314
|
+
if (!this.map) {
|
|
315
|
+
return;
|
|
316
|
+
}
|
|
317
|
+
Object.entries(this.rasterLayers).forEach(([key, layer]) => {
|
|
318
|
+
if (key === newValue) {
|
|
319
|
+
layer.setVisible(true);
|
|
320
|
+
this.map.getView().set("projection", this.projections[newValue]);
|
|
321
|
+
const inactiveLayer = this.layersArray.find(([key]) => key !== this.layer);
|
|
322
|
+
if (inactiveLayer) {
|
|
323
|
+
if (this.layerControlImageElement) {
|
|
324
|
+
this.layerControlImageElement.src = inactiveLayer[1].thumbnailUrl;
|
|
325
|
+
}
|
|
326
|
+
if (this.layerControlTextElement) {
|
|
327
|
+
let defaultTitle = "";
|
|
328
|
+
if (key === "streets") {
|
|
329
|
+
defaultTitle = this.localization.streetsLayerTitle;
|
|
330
|
+
}
|
|
331
|
+
else if (key === "satellite") {
|
|
332
|
+
defaultTitle = this.localization.satelliteLayerTitle;
|
|
333
|
+
}
|
|
334
|
+
this.layerControlTextElement.textContent = inactiveLayer[1].title || defaultTitle;
|
|
335
|
+
}
|
|
336
|
+
}
|
|
337
|
+
}
|
|
338
|
+
else {
|
|
339
|
+
layer.setVisible(false);
|
|
340
|
+
}
|
|
341
|
+
});
|
|
342
|
+
}
|
|
343
|
+
centerWatcher(newValue) {
|
|
344
|
+
this.map.getView().setCenter(newValue);
|
|
345
|
+
if (this.centerMarkerOl) {
|
|
346
|
+
this.centerMarkerOl.setGeometry(new OlGeomPoint(newValue));
|
|
347
|
+
}
|
|
348
|
+
}
|
|
349
|
+
async centerMarkerWatcher(newValue) {
|
|
350
|
+
if (newValue) {
|
|
351
|
+
// add marker in the center position
|
|
352
|
+
this.centerMarkerOl = await this.addIconMarker(this.center);
|
|
353
|
+
}
|
|
354
|
+
else if (this.centerMarkerOl) {
|
|
355
|
+
this.removeIconMarker(this.centerMarkerOl);
|
|
356
|
+
}
|
|
357
|
+
}
|
|
358
|
+
/** Get map */
|
|
359
|
+
async getMap() {
|
|
360
|
+
return this.map;
|
|
361
|
+
}
|
|
362
|
+
/** Add a icon marker to the icon layer. */
|
|
363
|
+
async addIconMarker(coordinates) {
|
|
364
|
+
const marker = new OlFeature({
|
|
365
|
+
geometry: new OlGeomPoint(coordinates)
|
|
366
|
+
});
|
|
367
|
+
const iconStyle = new OlStyleStyle({
|
|
368
|
+
image: new OlStyleIcon(STYLES_MARKER_ICON)
|
|
369
|
+
});
|
|
370
|
+
marker.setStyle(iconStyle);
|
|
371
|
+
this.iconLayer.getSource().addFeature(marker);
|
|
372
|
+
return marker;
|
|
373
|
+
}
|
|
374
|
+
/** Remove icon marker from icon layer. */
|
|
375
|
+
async removeIconMarker(marker) {
|
|
376
|
+
return this.iconLayer.getSource().removeFeature(marker);
|
|
377
|
+
}
|
|
378
|
+
/** Set icon marker as active. */
|
|
379
|
+
async setIconMarkerActive(marker) {
|
|
380
|
+
marker.setStyle(new OlStyleStyle({
|
|
381
|
+
image: new OlStyleIcon(STYLES_ACTIVE_MARKER_ICON)
|
|
382
|
+
}));
|
|
383
|
+
}
|
|
384
|
+
/** Set icon marker as inactive. */
|
|
385
|
+
async setIconMarkerInactive(marker) {
|
|
386
|
+
marker.setStyle(new OlStyleStyle({
|
|
387
|
+
image: new OlStyleIcon(STYLES_MARKER_ICON)
|
|
388
|
+
}));
|
|
389
|
+
}
|
|
390
|
+
/** Enable user location tracking */
|
|
391
|
+
async enableLocationTracking() {
|
|
392
|
+
this.setLocationControlState(true);
|
|
393
|
+
if (this.geolocation) {
|
|
394
|
+
this.geolocation.setTracking(true);
|
|
395
|
+
}
|
|
396
|
+
}
|
|
397
|
+
/** Disable user location tracking */
|
|
398
|
+
async disableLocationTracking() {
|
|
399
|
+
this.setLocationControlState(false);
|
|
400
|
+
if (this.geolocation) {
|
|
401
|
+
this.geolocation.setTracking(false);
|
|
402
|
+
}
|
|
403
|
+
}
|
|
404
|
+
setLocationControlState(active) {
|
|
405
|
+
if (this.positionLayer) {
|
|
406
|
+
this.positionLayer.setVisible(active);
|
|
407
|
+
}
|
|
408
|
+
if (this.locationControlElement) {
|
|
409
|
+
this.locationControlElement.classList.toggle("active", active);
|
|
410
|
+
}
|
|
411
|
+
}
|
|
412
|
+
createMap() {
|
|
413
|
+
const zoomIn = document.createElement("stzh-icon");
|
|
414
|
+
zoomIn.ariaLabel = this.localization.zoomInLabel;
|
|
415
|
+
zoomIn.name = "plus";
|
|
416
|
+
const zoomOut = document.createElement("stzh-icon");
|
|
417
|
+
zoomOut.ariaLabel = this.localization.zoomOutLabel;
|
|
418
|
+
zoomOut.name = "minus";
|
|
419
|
+
const map = new OlMap({
|
|
420
|
+
controls: OlControl.defaults({
|
|
421
|
+
zoomOptions: {
|
|
422
|
+
zoomInLabel: zoomIn,
|
|
423
|
+
zoomOutLabel: zoomOut,
|
|
424
|
+
zoomInTipLabel: "",
|
|
425
|
+
zoomOutTipLabel: ""
|
|
426
|
+
}
|
|
427
|
+
}),
|
|
428
|
+
interactions: OlInteraction.defaults({
|
|
429
|
+
mouseWheelZoom: false
|
|
430
|
+
}),
|
|
431
|
+
loadTilesWhileAnimating: true,
|
|
432
|
+
loadTilesWhileInteracting: true,
|
|
433
|
+
target: this.mapElement,
|
|
434
|
+
logo: false
|
|
435
|
+
});
|
|
436
|
+
return map;
|
|
437
|
+
}
|
|
438
|
+
createRasterLayer(key, options) {
|
|
439
|
+
return new OlLayerTile({
|
|
440
|
+
title: "wmts",
|
|
441
|
+
type: "base",
|
|
442
|
+
extent: options.extent,
|
|
443
|
+
source: this.createLayerSource(key, options)
|
|
444
|
+
});
|
|
445
|
+
}
|
|
446
|
+
createLayerSource(key, options) {
|
|
447
|
+
if (!this.projections) {
|
|
448
|
+
this.projections = {};
|
|
449
|
+
}
|
|
450
|
+
this.projections[key] = new OlProjProjection({
|
|
451
|
+
code: "EPSG:2056",
|
|
452
|
+
extent: options.extent
|
|
453
|
+
});
|
|
454
|
+
return this.creatRasterSource(key, options);
|
|
455
|
+
}
|
|
456
|
+
creatRasterSource(key, options) {
|
|
457
|
+
const { url, layer, matrixSet, origin } = options;
|
|
458
|
+
const matrixIds = [];
|
|
459
|
+
for (let i = 0; i < this.resolutions.length; i++) {
|
|
460
|
+
matrixIds.push(i);
|
|
461
|
+
}
|
|
462
|
+
const tileGrid = new OlTilegridWmts({
|
|
463
|
+
origin,
|
|
464
|
+
resolutions: this.resolutions,
|
|
465
|
+
matrixIds,
|
|
466
|
+
tileSize: [512, 512]
|
|
467
|
+
});
|
|
468
|
+
return new OlSourceWmts(({
|
|
469
|
+
url,
|
|
470
|
+
tileGrid: tileGrid,
|
|
471
|
+
style: "default",
|
|
472
|
+
projection: this.projections[key],
|
|
473
|
+
crossOrigin: "anonymous",
|
|
474
|
+
layer,
|
|
475
|
+
matrixSet,
|
|
476
|
+
requestEncoding: "REST"
|
|
477
|
+
}));
|
|
478
|
+
}
|
|
479
|
+
createIconLayer() {
|
|
480
|
+
return new OlLayerVector({
|
|
481
|
+
source: new OlSourceVector({})
|
|
482
|
+
});
|
|
483
|
+
}
|
|
484
|
+
initMap() {
|
|
485
|
+
this.map = this.createMap();
|
|
486
|
+
// events from https://openlayers.org/en/v4.6.5/apidoc/ol.Map.html
|
|
487
|
+
this.map.on("postrender", this.handlePostRender);
|
|
488
|
+
this.map.on("movestart", this.handleMoveStart);
|
|
489
|
+
this.map.on("moveend", this.handleMoveEnd);
|
|
490
|
+
this.layersArray = Object.entries(this.layers);
|
|
491
|
+
if (this.layersArray.length > 2) {
|
|
492
|
+
throw new Error("There are only two different layers allowed.");
|
|
493
|
+
}
|
|
494
|
+
this.rasterLayers = {};
|
|
495
|
+
this.layersArray.forEach(([key, layer]) => {
|
|
496
|
+
layer.options.url = layer.options.url.replace(/{hostname}/gi, this.hostname);
|
|
497
|
+
this.rasterLayers[key] = this.createRasterLayer(key, layer.options);
|
|
498
|
+
this.map.addLayer(this.rasterLayers[key]);
|
|
499
|
+
});
|
|
500
|
+
// add the VectorLayer which is used for adding the position marker to the map
|
|
501
|
+
// (above raster layers)
|
|
502
|
+
this.positionLayer = this.createIconLayer();
|
|
503
|
+
this.positionLayer.setVisible(false);
|
|
504
|
+
this.map.addLayer(this.positionLayer);
|
|
505
|
+
// add the VectorLayer which is used for adding icon markers to the map
|
|
506
|
+
// (above raster and position marker layer)
|
|
507
|
+
this.iconLayer = this.createIconLayer();
|
|
508
|
+
this.map.addLayer(this.iconLayer);
|
|
509
|
+
const view = new OlView({
|
|
510
|
+
center: this.center,
|
|
511
|
+
projection: this.projections[this.layer],
|
|
512
|
+
zoom: this.zoom,
|
|
513
|
+
resolutions: this.resolutions
|
|
514
|
+
});
|
|
515
|
+
this.map.setView(view);
|
|
516
|
+
this.scaleControlWatcher(this.scaleControl);
|
|
517
|
+
this.printControlWatcher(this.printControl);
|
|
518
|
+
this.locationControlWatcher(this.locationControl);
|
|
519
|
+
this.layerControlWatcher(this.layerControl);
|
|
520
|
+
this.layerWatcher(this.layer);
|
|
521
|
+
this.centerWatcher(this.center);
|
|
522
|
+
this.centerMarkerWatcher(this.centerMarker);
|
|
523
|
+
this.stzhInitialized.emit({
|
|
524
|
+
component: "stzh-olmap"
|
|
525
|
+
});
|
|
526
|
+
}
|
|
527
|
+
componentShouldUpdate(_newValue, _oldValue, prop) {
|
|
528
|
+
return ["hostname", "localization", "layers", "resolutions"].includes(prop);
|
|
529
|
+
}
|
|
530
|
+
async componentWillLoad() {
|
|
531
|
+
if (!this.localization) {
|
|
532
|
+
this.localization = await fetchTranslations(this.element, "olmap");
|
|
533
|
+
}
|
|
534
|
+
}
|
|
535
|
+
componentWillUpdate() {
|
|
536
|
+
if (this.map) {
|
|
537
|
+
this.map.setTarget(null);
|
|
538
|
+
this.map = null;
|
|
539
|
+
}
|
|
540
|
+
}
|
|
541
|
+
componentDidRender() {
|
|
542
|
+
if (this.map) {
|
|
543
|
+
return;
|
|
544
|
+
}
|
|
545
|
+
this.initMap();
|
|
546
|
+
}
|
|
547
|
+
connectedCallback() {
|
|
548
|
+
const dialog = this.element.closest("stzh-dialog");
|
|
549
|
+
if (dialog) {
|
|
550
|
+
dialog.addEventListener("stzhOpen", this.handleInsideModalOpen);
|
|
551
|
+
}
|
|
552
|
+
}
|
|
553
|
+
disconnectedCallback() {
|
|
554
|
+
if (this.map) {
|
|
555
|
+
this.map.setTarget(null);
|
|
556
|
+
this.map = null;
|
|
557
|
+
}
|
|
558
|
+
const dialog = this.element.closest("stzh-dialog");
|
|
559
|
+
if (dialog) {
|
|
560
|
+
dialog.removeEventListener("stzhOpen", this.handleInsideModalOpen);
|
|
561
|
+
}
|
|
562
|
+
}
|
|
563
|
+
render() {
|
|
564
|
+
const classes = {
|
|
565
|
+
"stzh-olmap": true
|
|
566
|
+
};
|
|
567
|
+
return (h(Host, null, h("div", { class: classes }, h("div", { ref: (el) => (this.mapElement = el), class: "stzh-olmap__map" }))));
|
|
568
|
+
}
|
|
569
|
+
static get is() { return "stzh-olmap"; }
|
|
570
|
+
static get originalStyleUrls() {
|
|
571
|
+
return {
|
|
572
|
+
"$": ["stzh-olmap.scss"]
|
|
573
|
+
};
|
|
574
|
+
}
|
|
575
|
+
static get styleUrls() {
|
|
576
|
+
return {
|
|
577
|
+
"$": ["stzh-olmap.css"]
|
|
578
|
+
};
|
|
579
|
+
}
|
|
580
|
+
static get properties() {
|
|
581
|
+
return {
|
|
582
|
+
"localization": {
|
|
583
|
+
"type": "unknown",
|
|
584
|
+
"mutable": false,
|
|
585
|
+
"complexType": {
|
|
586
|
+
"original": "StzhOlmapLocalizedText",
|
|
587
|
+
"resolved": "StzhLocaleComponent & { streetsLayerTitle: string; satelliteLayerTitle: string; printLabel: string; zoomInLabel: string; zoomOutLabel: string; locationEnableLabel: string; locationDisableLabel: string; }",
|
|
588
|
+
"references": {
|
|
589
|
+
"StzhOlmapLocalizedText": {
|
|
590
|
+
"location": "import",
|
|
591
|
+
"path": "./stzh-olmap.localization"
|
|
592
|
+
}
|
|
593
|
+
}
|
|
594
|
+
},
|
|
595
|
+
"required": false,
|
|
596
|
+
"optional": false,
|
|
597
|
+
"docs": {
|
|
598
|
+
"tags": [],
|
|
599
|
+
"text": "Translation strings"
|
|
600
|
+
}
|
|
601
|
+
},
|
|
602
|
+
"hostname": {
|
|
603
|
+
"type": "string",
|
|
604
|
+
"mutable": false,
|
|
605
|
+
"complexType": {
|
|
606
|
+
"original": "string",
|
|
607
|
+
"resolved": "string",
|
|
608
|
+
"references": {}
|
|
609
|
+
},
|
|
610
|
+
"required": false,
|
|
611
|
+
"optional": false,
|
|
612
|
+
"docs": {
|
|
613
|
+
"tags": [],
|
|
614
|
+
"text": "Hostname"
|
|
615
|
+
},
|
|
616
|
+
"attribute": "hostname",
|
|
617
|
+
"reflect": false,
|
|
618
|
+
"defaultValue": "\"www.ogc.stadt-zuerich.ch\""
|
|
619
|
+
},
|
|
620
|
+
"scaleControl": {
|
|
621
|
+
"type": "boolean",
|
|
622
|
+
"mutable": false,
|
|
623
|
+
"complexType": {
|
|
624
|
+
"original": "boolean",
|
|
625
|
+
"resolved": "boolean",
|
|
626
|
+
"references": {}
|
|
627
|
+
},
|
|
628
|
+
"required": false,
|
|
629
|
+
"optional": false,
|
|
630
|
+
"docs": {
|
|
631
|
+
"tags": [],
|
|
632
|
+
"text": "Whether map scale should be shown"
|
|
633
|
+
},
|
|
634
|
+
"attribute": "scale-control",
|
|
635
|
+
"reflect": false,
|
|
636
|
+
"defaultValue": "true"
|
|
637
|
+
},
|
|
638
|
+
"layerControl": {
|
|
639
|
+
"type": "boolean",
|
|
640
|
+
"mutable": false,
|
|
641
|
+
"complexType": {
|
|
642
|
+
"original": "boolean",
|
|
643
|
+
"resolved": "boolean",
|
|
644
|
+
"references": {}
|
|
645
|
+
},
|
|
646
|
+
"required": false,
|
|
647
|
+
"optional": false,
|
|
648
|
+
"docs": {
|
|
649
|
+
"tags": [],
|
|
650
|
+
"text": "Whether map layer switch control is shown"
|
|
651
|
+
},
|
|
652
|
+
"attribute": "layer-control",
|
|
653
|
+
"reflect": false,
|
|
654
|
+
"defaultValue": "true"
|
|
655
|
+
},
|
|
656
|
+
"printControl": {
|
|
657
|
+
"type": "boolean",
|
|
658
|
+
"mutable": false,
|
|
659
|
+
"complexType": {
|
|
660
|
+
"original": "boolean",
|
|
661
|
+
"resolved": "boolean",
|
|
662
|
+
"references": {}
|
|
663
|
+
},
|
|
664
|
+
"required": false,
|
|
665
|
+
"optional": false,
|
|
666
|
+
"docs": {
|
|
667
|
+
"tags": [],
|
|
668
|
+
"text": "Whether map should be printable"
|
|
669
|
+
},
|
|
670
|
+
"attribute": "print-control",
|
|
671
|
+
"reflect": false,
|
|
672
|
+
"defaultValue": "true"
|
|
673
|
+
},
|
|
674
|
+
"locationControl": {
|
|
675
|
+
"type": "boolean",
|
|
676
|
+
"mutable": false,
|
|
677
|
+
"complexType": {
|
|
678
|
+
"original": "boolean",
|
|
679
|
+
"resolved": "boolean",
|
|
680
|
+
"references": {}
|
|
681
|
+
},
|
|
682
|
+
"required": false,
|
|
683
|
+
"optional": false,
|
|
684
|
+
"docs": {
|
|
685
|
+
"tags": [],
|
|
686
|
+
"text": "Whether map should have a location control"
|
|
687
|
+
},
|
|
688
|
+
"attribute": "location-control",
|
|
689
|
+
"reflect": false,
|
|
690
|
+
"defaultValue": "false"
|
|
691
|
+
},
|
|
692
|
+
"layer": {
|
|
693
|
+
"type": "string",
|
|
694
|
+
"mutable": true,
|
|
695
|
+
"complexType": {
|
|
696
|
+
"original": "string",
|
|
697
|
+
"resolved": "string",
|
|
698
|
+
"references": {}
|
|
699
|
+
},
|
|
700
|
+
"required": false,
|
|
701
|
+
"optional": false,
|
|
702
|
+
"docs": {
|
|
703
|
+
"tags": [],
|
|
704
|
+
"text": "Active layer (`streets` or `satellite` can be used with default `layers` prop value)"
|
|
705
|
+
},
|
|
706
|
+
"attribute": "layer",
|
|
707
|
+
"reflect": false,
|
|
708
|
+
"defaultValue": "\"streets\""
|
|
709
|
+
},
|
|
710
|
+
"zoom": {
|
|
711
|
+
"type": "number",
|
|
712
|
+
"mutable": false,
|
|
713
|
+
"complexType": {
|
|
714
|
+
"original": "number",
|
|
715
|
+
"resolved": "number",
|
|
716
|
+
"references": {}
|
|
717
|
+
},
|
|
718
|
+
"required": false,
|
|
719
|
+
"optional": false,
|
|
720
|
+
"docs": {
|
|
721
|
+
"tags": [],
|
|
722
|
+
"text": "Zoom"
|
|
723
|
+
},
|
|
724
|
+
"attribute": "zoom",
|
|
725
|
+
"reflect": false,
|
|
726
|
+
"defaultValue": "7"
|
|
727
|
+
},
|
|
728
|
+
"center": {
|
|
729
|
+
"type": "unknown",
|
|
730
|
+
"mutable": false,
|
|
731
|
+
"complexType": {
|
|
732
|
+
"original": "[number, number]",
|
|
733
|
+
"resolved": "[number, number]",
|
|
734
|
+
"references": {}
|
|
735
|
+
},
|
|
736
|
+
"required": false,
|
|
737
|
+
"optional": false,
|
|
738
|
+
"docs": {
|
|
739
|
+
"tags": [],
|
|
740
|
+
"text": "Initial center position"
|
|
741
|
+
},
|
|
742
|
+
"defaultValue": "[2683311, 1247082]"
|
|
743
|
+
},
|
|
744
|
+
"centerMarker": {
|
|
745
|
+
"type": "boolean",
|
|
746
|
+
"mutable": false,
|
|
747
|
+
"complexType": {
|
|
748
|
+
"original": "boolean",
|
|
749
|
+
"resolved": "boolean",
|
|
750
|
+
"references": {}
|
|
751
|
+
},
|
|
752
|
+
"required": false,
|
|
753
|
+
"optional": false,
|
|
754
|
+
"docs": {
|
|
755
|
+
"tags": [],
|
|
756
|
+
"text": "Whether to display an icon marker in the center"
|
|
757
|
+
},
|
|
758
|
+
"attribute": "center-marker",
|
|
759
|
+
"reflect": false,
|
|
760
|
+
"defaultValue": "true"
|
|
761
|
+
},
|
|
762
|
+
"resolutions": {
|
|
763
|
+
"type": "unknown",
|
|
764
|
+
"mutable": false,
|
|
765
|
+
"complexType": {
|
|
766
|
+
"original": "number[]",
|
|
767
|
+
"resolved": "number[]",
|
|
768
|
+
"references": {}
|
|
769
|
+
},
|
|
770
|
+
"required": false,
|
|
771
|
+
"optional": false,
|
|
772
|
+
"docs": {
|
|
773
|
+
"tags": [],
|
|
774
|
+
"text": "Resolutions"
|
|
775
|
+
},
|
|
776
|
+
"defaultValue": "[\n 67.73333333333,\n 33.8666666667,\n 16.9333333333,\n 8.4666666667,\n 4.2333333333,\n 2.1166666667,\n 1.0583333333,\n 0.5291666667,\n 0.2645833333,\n 0.1322916667,\n 0.0661458333\n ]"
|
|
777
|
+
},
|
|
778
|
+
"layers": {
|
|
779
|
+
"type": "string",
|
|
780
|
+
"mutable": false,
|
|
781
|
+
"complexType": {
|
|
782
|
+
"original": "string | { [key: string]: OlmapLayer }",
|
|
783
|
+
"resolved": "string | { [key: string]: OlmapLayer; }",
|
|
784
|
+
"references": {
|
|
785
|
+
"OlmapLayer": {
|
|
786
|
+
"location": "import",
|
|
787
|
+
"path": "../../index"
|
|
788
|
+
}
|
|
789
|
+
}
|
|
790
|
+
},
|
|
791
|
+
"required": false,
|
|
792
|
+
"optional": false,
|
|
793
|
+
"docs": {
|
|
794
|
+
"tags": [],
|
|
795
|
+
"text": "Layers (maximum of two).\n\nDefault layers `streets` and `satellite` are defined.\nIf `streets` or `satellite` is used as key, they will have a default filled `title`."
|
|
796
|
+
},
|
|
797
|
+
"attribute": "layers",
|
|
798
|
+
"reflect": false,
|
|
799
|
+
"defaultValue": "{\n streets: {\n thumbnailUrl: `${window.stzhComponents.pathMedia}/olmap/thumb-streets.jpg`,\n options: {\n url: \"https://{Hostname}/mapproxy/wmts/1.0.0/{Layer}/{Style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}.png\",\n layer: \"basiskarte_zuerich_gebaeudeschraegansicht\",\n matrixSet: \"ktzh\",\n origin: [2480237.0, 1315832.0],\n extent: [2666867.00, 1220962.00, 2719695.50, 1285537.00]\n }\n },\n satellite: {\n thumbnailUrl: `${window.stzhComponents.pathMedia}/olmap/thumb-satellite.jpg`,\n options: {\n url: \"https://{Hostname}/mapproxy/wmts/1.0.0/{Layer}/{Style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}.png\",\n layer: \"orthofoto\",\n matrixSet: \"ktzh\",\n origin: [2480237.0, 1315832.0],\n extent: [2666867.0, 1220962.0, 2719695.5, 1285537.0]\n }\n }\n }"
|
|
800
|
+
}
|
|
801
|
+
};
|
|
802
|
+
}
|
|
803
|
+
static get events() {
|
|
804
|
+
return [{
|
|
805
|
+
"method": "stzhInitialized",
|
|
806
|
+
"name": "stzhInitialized",
|
|
807
|
+
"bubbles": true,
|
|
808
|
+
"cancelable": true,
|
|
809
|
+
"composed": true,
|
|
810
|
+
"docs": {
|
|
811
|
+
"tags": [],
|
|
812
|
+
"text": "Olmap initialized event"
|
|
813
|
+
},
|
|
814
|
+
"complexType": {
|
|
815
|
+
"original": "StzhOlmapInitializedEvent",
|
|
816
|
+
"resolved": "{ component: \"stzh-olmap\"; }",
|
|
817
|
+
"references": {
|
|
818
|
+
"StzhOlmapInitializedEvent": {
|
|
819
|
+
"location": "import",
|
|
820
|
+
"path": "../../index"
|
|
821
|
+
}
|
|
822
|
+
}
|
|
823
|
+
}
|
|
824
|
+
}, {
|
|
825
|
+
"method": "stzhPostRender",
|
|
826
|
+
"name": "stzhPostRender",
|
|
827
|
+
"bubbles": true,
|
|
828
|
+
"cancelable": true,
|
|
829
|
+
"composed": true,
|
|
830
|
+
"docs": {
|
|
831
|
+
"tags": [],
|
|
832
|
+
"text": "Olmap postrender event"
|
|
833
|
+
},
|
|
834
|
+
"complexType": {
|
|
835
|
+
"original": "StzhOlmapPostRenderEvent",
|
|
836
|
+
"resolved": "{ component: \"stzh-olmap\"; }",
|
|
837
|
+
"references": {
|
|
838
|
+
"StzhOlmapPostRenderEvent": {
|
|
839
|
+
"location": "import",
|
|
840
|
+
"path": "../../index"
|
|
841
|
+
}
|
|
842
|
+
}
|
|
843
|
+
}
|
|
844
|
+
}, {
|
|
845
|
+
"method": "stzhMoveStart",
|
|
846
|
+
"name": "stzhMoveStart",
|
|
847
|
+
"bubbles": true,
|
|
848
|
+
"cancelable": true,
|
|
849
|
+
"composed": true,
|
|
850
|
+
"docs": {
|
|
851
|
+
"tags": [],
|
|
852
|
+
"text": "Olmap movestart event"
|
|
853
|
+
},
|
|
854
|
+
"complexType": {
|
|
855
|
+
"original": "StzhOlmapMoveStartEvent",
|
|
856
|
+
"resolved": "{ component: \"stzh-olmap\"; }",
|
|
857
|
+
"references": {
|
|
858
|
+
"StzhOlmapMoveStartEvent": {
|
|
859
|
+
"location": "import",
|
|
860
|
+
"path": "../../index"
|
|
861
|
+
}
|
|
862
|
+
}
|
|
863
|
+
}
|
|
864
|
+
}, {
|
|
865
|
+
"method": "stzhMoveEnd",
|
|
866
|
+
"name": "stzhMoveEnd",
|
|
867
|
+
"bubbles": true,
|
|
868
|
+
"cancelable": true,
|
|
869
|
+
"composed": true,
|
|
870
|
+
"docs": {
|
|
871
|
+
"tags": [],
|
|
872
|
+
"text": "Olmap moveend event"
|
|
873
|
+
},
|
|
874
|
+
"complexType": {
|
|
875
|
+
"original": "StzhOlmapMoveEndEvent",
|
|
876
|
+
"resolved": "{ component: \"stzh-olmap\"; }",
|
|
877
|
+
"references": {
|
|
878
|
+
"StzhOlmapMoveEndEvent": {
|
|
879
|
+
"location": "import",
|
|
880
|
+
"path": "../../index"
|
|
881
|
+
}
|
|
882
|
+
}
|
|
883
|
+
}
|
|
884
|
+
}];
|
|
885
|
+
}
|
|
886
|
+
static get methods() {
|
|
887
|
+
return {
|
|
888
|
+
"getMap": {
|
|
889
|
+
"complexType": {
|
|
890
|
+
"signature": "() => Promise<any>",
|
|
891
|
+
"parameters": [],
|
|
892
|
+
"references": {
|
|
893
|
+
"Promise": {
|
|
894
|
+
"location": "global"
|
|
895
|
+
}
|
|
896
|
+
},
|
|
897
|
+
"return": "Promise<any>"
|
|
898
|
+
},
|
|
899
|
+
"docs": {
|
|
900
|
+
"text": "Get map",
|
|
901
|
+
"tags": []
|
|
902
|
+
}
|
|
903
|
+
},
|
|
904
|
+
"addIconMarker": {
|
|
905
|
+
"complexType": {
|
|
906
|
+
"signature": "(coordinates: number[]) => Promise<any>",
|
|
907
|
+
"parameters": [{
|
|
908
|
+
"tags": [],
|
|
909
|
+
"text": ""
|
|
910
|
+
}],
|
|
911
|
+
"references": {
|
|
912
|
+
"Promise": {
|
|
913
|
+
"location": "global"
|
|
914
|
+
}
|
|
915
|
+
},
|
|
916
|
+
"return": "Promise<any>"
|
|
917
|
+
},
|
|
918
|
+
"docs": {
|
|
919
|
+
"text": "Add a icon marker to the icon layer.",
|
|
920
|
+
"tags": []
|
|
921
|
+
}
|
|
922
|
+
},
|
|
923
|
+
"removeIconMarker": {
|
|
924
|
+
"complexType": {
|
|
925
|
+
"signature": "(marker: any) => Promise<any>",
|
|
926
|
+
"parameters": [{
|
|
927
|
+
"tags": [],
|
|
928
|
+
"text": ""
|
|
929
|
+
}],
|
|
930
|
+
"references": {
|
|
931
|
+
"Promise": {
|
|
932
|
+
"location": "global"
|
|
933
|
+
}
|
|
934
|
+
},
|
|
935
|
+
"return": "Promise<any>"
|
|
936
|
+
},
|
|
937
|
+
"docs": {
|
|
938
|
+
"text": "Remove icon marker from icon layer.",
|
|
939
|
+
"tags": []
|
|
940
|
+
}
|
|
941
|
+
},
|
|
942
|
+
"setIconMarkerActive": {
|
|
943
|
+
"complexType": {
|
|
944
|
+
"signature": "(marker: any) => Promise<void>",
|
|
945
|
+
"parameters": [{
|
|
946
|
+
"tags": [],
|
|
947
|
+
"text": ""
|
|
948
|
+
}],
|
|
949
|
+
"references": {
|
|
950
|
+
"Promise": {
|
|
951
|
+
"location": "global"
|
|
952
|
+
}
|
|
953
|
+
},
|
|
954
|
+
"return": "Promise<void>"
|
|
955
|
+
},
|
|
956
|
+
"docs": {
|
|
957
|
+
"text": "Set icon marker as active.",
|
|
958
|
+
"tags": []
|
|
959
|
+
}
|
|
960
|
+
},
|
|
961
|
+
"setIconMarkerInactive": {
|
|
962
|
+
"complexType": {
|
|
963
|
+
"signature": "(marker: any) => Promise<void>",
|
|
964
|
+
"parameters": [{
|
|
965
|
+
"tags": [],
|
|
966
|
+
"text": ""
|
|
967
|
+
}],
|
|
968
|
+
"references": {
|
|
969
|
+
"Promise": {
|
|
970
|
+
"location": "global"
|
|
971
|
+
}
|
|
972
|
+
},
|
|
973
|
+
"return": "Promise<void>"
|
|
974
|
+
},
|
|
975
|
+
"docs": {
|
|
976
|
+
"text": "Set icon marker as inactive.",
|
|
977
|
+
"tags": []
|
|
978
|
+
}
|
|
979
|
+
},
|
|
980
|
+
"enableLocationTracking": {
|
|
981
|
+
"complexType": {
|
|
982
|
+
"signature": "() => Promise<void>",
|
|
983
|
+
"parameters": [],
|
|
984
|
+
"references": {
|
|
985
|
+
"Promise": {
|
|
986
|
+
"location": "global"
|
|
987
|
+
}
|
|
988
|
+
},
|
|
989
|
+
"return": "Promise<void>"
|
|
990
|
+
},
|
|
991
|
+
"docs": {
|
|
992
|
+
"text": "Enable user location tracking",
|
|
993
|
+
"tags": []
|
|
994
|
+
}
|
|
995
|
+
},
|
|
996
|
+
"disableLocationTracking": {
|
|
997
|
+
"complexType": {
|
|
998
|
+
"signature": "() => Promise<void>",
|
|
999
|
+
"parameters": [],
|
|
1000
|
+
"references": {
|
|
1001
|
+
"Promise": {
|
|
1002
|
+
"location": "global"
|
|
1003
|
+
}
|
|
1004
|
+
},
|
|
1005
|
+
"return": "Promise<void>"
|
|
1006
|
+
},
|
|
1007
|
+
"docs": {
|
|
1008
|
+
"text": "Disable user location tracking",
|
|
1009
|
+
"tags": []
|
|
1010
|
+
}
|
|
1011
|
+
}
|
|
1012
|
+
};
|
|
1013
|
+
}
|
|
1014
|
+
static get elementRef() { return "element"; }
|
|
1015
|
+
static get watchers() {
|
|
1016
|
+
return [{
|
|
1017
|
+
"propName": "zoom",
|
|
1018
|
+
"methodName": "zoomWatcher"
|
|
1019
|
+
}, {
|
|
1020
|
+
"propName": "scaleControl",
|
|
1021
|
+
"methodName": "scaleControlWatcher"
|
|
1022
|
+
}, {
|
|
1023
|
+
"propName": "printControl",
|
|
1024
|
+
"methodName": "printControlWatcher"
|
|
1025
|
+
}, {
|
|
1026
|
+
"propName": "layerControl",
|
|
1027
|
+
"methodName": "layerControlWatcher"
|
|
1028
|
+
}, {
|
|
1029
|
+
"propName": "locationControl",
|
|
1030
|
+
"methodName": "locationControlWatcher"
|
|
1031
|
+
}, {
|
|
1032
|
+
"propName": "layer",
|
|
1033
|
+
"methodName": "layerWatcher"
|
|
1034
|
+
}, {
|
|
1035
|
+
"propName": "center",
|
|
1036
|
+
"methodName": "centerWatcher"
|
|
1037
|
+
}, {
|
|
1038
|
+
"propName": "centerMarker",
|
|
1039
|
+
"methodName": "centerMarkerWatcher"
|
|
1040
|
+
}];
|
|
1041
|
+
}
|
|
1042
|
+
}
|