@dso-toolkit/core 54.2.1 → 55.0.0
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/{annotation.service-e980f478.js → annotation.service-60e6b0f1.js} +3 -1
- package/dist/cjs/annotation.service-60e6b0f1.js.map +1 -0
- package/dist/cjs/clsx.m-b81c6b86.js +2 -0
- package/dist/cjs/clsx.m-b81c6b86.js.map +1 -0
- package/dist/cjs/create-identifier-6ee2a08b.js +2 -0
- package/dist/cjs/create-identifier-6ee2a08b.js.map +1 -0
- package/dist/cjs/dso-accordion-section.cjs.entry.js +20 -12
- package/dist/cjs/dso-accordion-section.cjs.entry.js.map +1 -0
- package/dist/cjs/dso-accordion.cjs.entry.js +33 -21
- package/dist/cjs/dso-accordion.cjs.entry.js.map +1 -0
- package/dist/cjs/dso-action-list-item.cjs.entry.js +3 -1
- package/dist/cjs/dso-action-list-item.cjs.entry.js.map +1 -0
- package/dist/cjs/dso-action-list.cjs.entry.js +3 -1
- package/dist/cjs/dso-action-list.cjs.entry.js.map +1 -0
- package/dist/cjs/dso-alert.cjs.entry.js +3 -1
- package/dist/cjs/dso-alert.cjs.entry.js.map +1 -0
- package/dist/cjs/dso-annotation-button.cjs.entry.js +6 -4
- package/dist/cjs/dso-annotation-button.cjs.entry.js.map +1 -0
- package/dist/cjs/dso-annotation-output.cjs.entry.js +10 -5
- package/dist/cjs/dso-annotation-output.cjs.entry.js.map +1 -0
- package/dist/cjs/dso-attachments-counter.cjs.entry.js +3 -1
- package/dist/cjs/dso-attachments-counter.cjs.entry.js.map +1 -0
- package/dist/cjs/dso-autosuggest.cjs.entry.js +7 -2
- package/dist/cjs/dso-autosuggest.cjs.entry.js.map +1 -0
- package/dist/cjs/dso-badge.cjs.entry.js +3 -1
- package/dist/cjs/dso-badge.cjs.entry.js.map +1 -0
- package/dist/cjs/dso-banner.cjs.entry.js +3 -1
- package/dist/cjs/dso-banner.cjs.entry.js.map +1 -0
- package/dist/cjs/dso-card-container.cjs.entry.js +3 -1
- package/dist/cjs/dso-card-container.cjs.entry.js.map +1 -0
- package/dist/cjs/dso-card.cjs.entry.js +3 -1
- package/dist/cjs/dso-card.cjs.entry.js.map +1 -0
- package/dist/cjs/dso-date-picker.cjs.entry.js +5 -2
- package/dist/cjs/dso-date-picker.cjs.entry.js.map +1 -0
- package/dist/cjs/dso-dropdown-menu.cjs.entry.js +7 -5
- package/dist/cjs/dso-dropdown-menu.cjs.entry.js.map +1 -0
- package/dist/cjs/dso-expandable-heading.cjs.entry.js +5 -2
- package/dist/cjs/dso-expandable-heading.cjs.entry.js.map +1 -0
- package/dist/cjs/dso-expandable.cjs.entry.js +13 -6
- package/dist/cjs/dso-expandable.cjs.entry.js.map +1 -0
- package/dist/cjs/dso-header.cjs.entry.js +12 -3
- package/dist/cjs/dso-header.cjs.entry.js.map +1 -0
- package/dist/cjs/dso-helpcenter-panel.cjs.entry.js +3 -1
- package/dist/cjs/dso-helpcenter-panel.cjs.entry.js.map +1 -0
- package/dist/cjs/dso-highlight-box.cjs.entry.js +3 -1
- package/dist/cjs/dso-highlight-box.cjs.entry.js.map +1 -0
- package/dist/cjs/dso-icon.cjs.entry.js +3 -1
- package/dist/cjs/dso-icon.cjs.entry.js.map +1 -0
- package/dist/cjs/dso-image-overlay.cjs.entry.js +3 -1
- package/dist/cjs/dso-image-overlay.cjs.entry.js.map +1 -0
- package/dist/cjs/dso-info-button.cjs.entry.js +6 -1
- package/dist/cjs/dso-info-button.cjs.entry.js.map +1 -0
- package/dist/cjs/dso-info_2.cjs.entry.js +12 -3
- package/dist/cjs/dso-info_2.cjs.entry.js.map +1 -0
- package/dist/cjs/dso-label.cjs.entry.js +11 -7
- package/dist/cjs/dso-label.cjs.entry.js.map +1 -0
- package/dist/cjs/dso-list-button.cjs.entry.js +4 -2
- package/dist/cjs/dso-list-button.cjs.entry.js.map +1 -0
- package/dist/cjs/dso-map-base-layers.cjs.entry.js +3 -1
- package/dist/cjs/dso-map-base-layers.cjs.entry.js.map +1 -0
- package/dist/cjs/dso-map-controls.cjs.entry.js +14 -5
- package/dist/cjs/dso-map-controls.cjs.entry.js.map +1 -0
- package/dist/cjs/dso-map-overlays.cjs.entry.js +3 -1
- package/dist/cjs/dso-map-overlays.cjs.entry.js.map +1 -0
- package/dist/cjs/dso-modal.cjs.entry.js +5 -3
- package/dist/cjs/dso-modal.cjs.entry.js.map +1 -0
- package/dist/cjs/dso-ozon-content.cjs.entry.js +9 -7
- package/dist/cjs/dso-ozon-content.cjs.entry.js.map +1 -0
- package/dist/cjs/dso-pagination.cjs.entry.js +3 -1
- package/dist/cjs/dso-pagination.cjs.entry.js.map +1 -0
- package/dist/cjs/dso-progress-bar.cjs.entry.js +3 -1
- package/dist/cjs/dso-progress-bar.cjs.entry.js.map +1 -0
- package/dist/cjs/dso-progress-indicator.cjs.entry.js +5 -5
- package/dist/cjs/dso-progress-indicator.cjs.entry.js.map +1 -0
- package/dist/cjs/dso-responsive-element.cjs.entry.js +6 -1
- package/dist/cjs/dso-responsive-element.cjs.entry.js.map +1 -0
- package/dist/cjs/dso-scrollable.cjs.entry.js +11 -9
- package/dist/cjs/dso-scrollable.cjs.entry.js.map +1 -0
- package/dist/cjs/dso-slide-toggle.cjs.entry.js +3 -1
- package/dist/cjs/dso-slide-toggle.cjs.entry.js.map +1 -0
- package/dist/cjs/dso-table.cjs.entry.js +4 -2
- package/dist/cjs/dso-table.cjs.entry.js.map +1 -0
- package/dist/cjs/dso-toggletip.cjs.entry.js +3 -1
- package/dist/cjs/dso-toggletip.cjs.entry.js.map +1 -0
- package/dist/cjs/dso-toolkit.cjs.js +12 -3
- package/dist/cjs/dso-toolkit.cjs.js.map +1 -0
- package/dist/cjs/dso-tooltip.cjs.entry.js +5 -3
- package/dist/cjs/dso-tooltip.cjs.entry.js.map +1 -0
- package/dist/cjs/dso-tree-view.cjs.entry.js +6 -3
- package/dist/cjs/dso-tree-view.cjs.entry.js.map +1 -0
- package/dist/cjs/dso-viewer-grid.cjs.entry.js +3 -1
- package/dist/cjs/dso-viewer-grid.cjs.entry.js.map +1 -0
- package/dist/cjs/focus-trap.esm-a5b7273f.js +2 -0
- package/dist/cjs/focus-trap.esm-a5b7273f.js.map +1 -0
- package/dist/cjs/{has-overflow-dd552ec8.js → has-overflow-d7baff1e.js} +8 -12
- package/dist/cjs/has-overflow-d7baff1e.js.map +1 -0
- package/dist/cjs/index-794ad37a.js +2 -0
- package/dist/cjs/index-794ad37a.js.map +1 -0
- package/dist/cjs/{index-71b733b1.js → index-a189d603.js} +3 -1
- package/dist/cjs/index-a189d603.js.map +1 -0
- package/dist/cjs/{index-ecec64a0.js → index-efc2222e.js} +217 -35
- package/dist/cjs/index-efc2222e.js.map +1 -0
- package/dist/cjs/index.cjs.js +2 -5
- package/dist/cjs/index.cjs.js.map +1 -0
- package/dist/cjs/index.esm-0e935715.js +2 -0
- package/dist/cjs/index.esm-0e935715.js.map +1 -0
- package/dist/cjs/is-modified-event-dcab03a0.js +2 -0
- package/dist/cjs/is-modified-event-dcab03a0.js.map +1 -0
- package/dist/cjs/loader.cjs.js +6 -3
- package/dist/cjs/loader.cjs.js.map +1 -0
- package/dist/cjs/v4-abb5dc0c.js +2 -0
- package/dist/cjs/v4-abb5dc0c.js.map +1 -0
- package/dist/collection/collection-manifest.json +2 -2
- package/dist/collection/components/accordion/accordion.interfaces.js +1 -0
- package/dist/collection/components/accordion/accordion.interfaces.js.map +1 -0
- package/dist/collection/components/accordion/accordion.js +55 -26
- package/dist/collection/components/accordion/accordion.js.map +1 -0
- package/dist/collection/components/accordion/components/accordion-section.interfaces.js +1 -0
- package/dist/collection/components/accordion/components/accordion-section.interfaces.js.map +1 -0
- package/dist/collection/components/accordion/components/accordion-section.js +20 -17
- package/dist/collection/components/accordion/components/accordion-section.js.map +1 -0
- package/dist/collection/components/accordion/components/handles/element.handle.js +1 -0
- package/dist/collection/components/accordion/components/handles/element.handle.js.map +1 -0
- package/dist/collection/components/accordion/components/handles/heading.handle.js +1 -0
- package/dist/collection/components/accordion/components/handles/heading.handle.js.map +1 -0
- package/dist/collection/components/accordion/components/handles/icon.handle.js +1 -0
- package/dist/collection/components/accordion/components/handles/icon.handle.js.map +1 -0
- package/dist/collection/components/accordion/components/handles/index.js +1 -0
- package/dist/collection/components/accordion/components/handles/index.js.map +1 -0
- package/dist/collection/components/accordion/components/handles/state-icon.handle.js +1 -0
- package/dist/collection/components/accordion/components/handles/state-icon.handle.js.map +1 -0
- package/dist/collection/components/action-list/action-list.js +2 -1
- package/dist/collection/components/action-list/action-list.js.map +1 -0
- package/dist/collection/components/action-list/components/action-list-item.js +4 -3
- package/dist/collection/components/action-list/components/action-list-item.js.map +1 -0
- package/dist/collection/components/alert/alert.js +4 -1
- package/dist/collection/components/alert/alert.js.map +1 -0
- package/dist/collection/components/annotation-button/annotation-button.js +3 -2
- package/dist/collection/components/annotation-button/annotation-button.js.map +1 -0
- package/dist/collection/components/annotation-output/annotation-output.interfaces.js +1 -0
- package/dist/collection/components/annotation-output/annotation-output.interfaces.js.map +1 -0
- package/dist/collection/components/annotation-output/annotation-output.js +12 -5
- package/dist/collection/components/annotation-output/annotation-output.js.map +1 -0
- package/dist/collection/components/attachments-counter/attachments-counter.js +2 -1
- package/dist/collection/components/attachments-counter/attachments-counter.js.map +1 -0
- package/dist/collection/components/autosuggest/autosuggest.interfaces.js +1 -0
- package/dist/collection/components/autosuggest/autosuggest.interfaces.js.map +1 -0
- package/dist/collection/components/autosuggest/autosuggest.js +5 -1
- package/dist/collection/components/autosuggest/autosuggest.js.map +1 -0
- package/dist/collection/components/badge/badge.js +2 -1
- package/dist/collection/components/badge/badge.js.map +1 -0
- package/dist/collection/components/banner/banner.js +2 -1
- package/dist/collection/components/banner/banner.js.map +1 -0
- package/dist/collection/components/card/card.interfaces.js +1 -0
- package/dist/collection/components/card/card.interfaces.js.map +1 -0
- package/dist/collection/components/card/card.js +5 -4
- package/dist/collection/components/card/card.js.map +1 -0
- package/dist/collection/components/card-container/card-container.interfaces.js +1 -0
- package/dist/collection/components/card-container/card-container.interfaces.js.map +1 -0
- package/dist/collection/components/card-container/card-container.js +2 -1
- package/dist/collection/components/card-container/card-container.js.map +1 -0
- package/dist/collection/components/date-picker/date-localization.js +1 -0
- package/dist/collection/components/date-picker/date-localization.js.map +1 -0
- package/dist/collection/components/date-picker/date-picker-day.js +1 -0
- package/dist/collection/components/date-picker/date-picker-day.js.map +1 -0
- package/dist/collection/components/date-picker/date-picker-month.js +1 -0
- package/dist/collection/components/date-picker/date-picker-month.js.map +1 -0
- package/dist/collection/components/date-picker/date-picker.css +1 -1
- package/dist/collection/components/date-picker/date-picker.interfaces.js +1 -0
- package/dist/collection/components/date-picker/date-picker.interfaces.js.map +1 -0
- package/dist/collection/components/date-picker/date-picker.js +20 -1
- package/dist/collection/components/date-picker/date-picker.js.map +1 -0
- package/dist/collection/components/date-picker/date-utils.js +1 -0
- package/dist/collection/components/date-picker/date-utils.js.map +1 -0
- package/dist/collection/components/date-picker/utils/month-range.js +1 -0
- package/dist/collection/components/date-picker/utils/month-range.js.map +1 -0
- package/dist/collection/components/date-picker/utils/range.js +1 -0
- package/dist/collection/components/date-picker/utils/range.js.map +1 -0
- package/dist/collection/components/dropdown-menu/dropdown-menu.js +4 -3
- package/dist/collection/components/dropdown-menu/dropdown-menu.js.map +1 -0
- package/dist/collection/components/expandable/expandable.functions.js +4 -0
- package/dist/collection/components/expandable/expandable.functions.js.map +1 -0
- package/dist/collection/components/expandable/expandable.js +28 -32
- package/dist/collection/components/expandable/expandable.js.map +1 -0
- package/dist/collection/components/expandable-heading/expandable-heading.css +7 -0
- package/dist/collection/components/expandable-heading/expandable-heading.interfaces.js +1 -0
- package/dist/collection/components/expandable-heading/expandable-heading.interfaces.js.map +1 -0
- package/dist/collection/components/expandable-heading/expandable-heading.js +25 -5
- package/dist/collection/components/expandable-heading/expandable-heading.js.map +1 -0
- package/dist/collection/components/expandable-heading/heading.js +1 -0
- package/dist/collection/components/expandable-heading/heading.js.map +1 -0
- package/dist/collection/components/header/header.css +11 -3
- package/dist/collection/components/header/header.interfaces.js +1 -0
- package/dist/collection/components/header/header.interfaces.js.map +1 -0
- package/dist/collection/components/header/header.js +32 -7
- package/dist/collection/components/header/header.js.map +1 -0
- package/dist/collection/components/helpcenter-panel/helpcenter-panel.js +5 -4
- package/dist/collection/components/helpcenter-panel/helpcenter-panel.js.map +1 -0
- package/dist/collection/components/highlight-box/highlight-box.js +6 -5
- package/dist/collection/components/highlight-box/highlight-box.js.map +1 -0
- package/dist/collection/components/icon/icon.js +2 -1
- package/dist/collection/components/icon/icon.js.map +1 -0
- package/dist/collection/components/image-overlay/image-overlay.js +1 -0
- package/dist/collection/components/image-overlay/image-overlay.js.map +1 -0
- package/dist/collection/components/info/info.js +4 -3
- package/dist/collection/components/info/info.js.map +1 -0
- package/dist/collection/components/info-button/info-button.interfaces.js +1 -0
- package/dist/collection/components/info-button/info-button.interfaces.js.map +1 -0
- package/dist/collection/components/info-button/info-button.js +9 -5
- package/dist/collection/components/info-button/info-button.js.map +1 -0
- package/dist/collection/components/label/label.js +19 -29
- package/dist/collection/components/label/label.js.map +1 -0
- package/dist/collection/components/list-button/list-button.css +11 -32
- package/dist/collection/components/list-button/list-button.interfaces.js +1 -0
- package/dist/collection/components/list-button/list-button.interfaces.js.map +1 -0
- package/dist/collection/components/list-button/list-button.js +10 -9
- package/dist/collection/components/list-button/list-button.js.map +1 -0
- package/dist/collection/components/map-base-layers/map-base-layers.interfaces.js +1 -0
- package/dist/collection/components/map-base-layers/map-base-layers.interfaces.js.map +1 -0
- package/dist/collection/components/map-base-layers/map-base-layers.js +4 -3
- package/dist/collection/components/map-base-layers/map-base-layers.js.map +1 -0
- package/dist/collection/components/map-controls/map-controls.css +22 -0
- package/dist/collection/components/map-controls/map-controls.interfaces.js +2 -1
- package/dist/collection/components/map-controls/map-controls.interfaces.js.map +1 -0
- package/dist/collection/components/map-controls/map-controls.js +22 -8
- package/dist/collection/components/map-controls/map-controls.js.map +1 -0
- package/dist/collection/components/map-overlays/map-overlays.interfaces.js +1 -0
- package/dist/collection/components/map-overlays/map-overlays.interfaces.js.map +1 -0
- package/dist/collection/components/map-overlays/map-overlays.js +4 -3
- package/dist/collection/components/map-overlays/map-overlays.js.map +1 -0
- package/dist/collection/components/modal/modal-ref.js +1 -0
- package/dist/collection/components/modal/modal-ref.js.map +1 -0
- package/dist/collection/components/modal/modal.controller.js +1 -0
- package/dist/collection/components/modal/modal.controller.js.map +1 -0
- package/dist/collection/components/modal/modal.css +73 -19
- package/dist/collection/components/modal/modal.interfaces.js +1 -0
- package/dist/collection/components/modal/modal.interfaces.js.map +1 -0
- package/dist/collection/components/modal/modal.js +6 -5
- package/dist/collection/components/modal/modal.js.map +1 -0
- package/dist/collection/components/ozon-content/get-node-name.function.js +1 -0
- package/dist/collection/components/ozon-content/get-node-name.function.js.map +1 -0
- package/dist/collection/components/ozon-content/nodes/al.node.js +3 -2
- package/dist/collection/components/ozon-content/nodes/al.node.js.map +1 -0
- package/dist/collection/components/ozon-content/nodes/bron.node.js +1 -0
- package/dist/collection/components/ozon-content/nodes/bron.node.js.map +1 -0
- package/dist/collection/components/ozon-content/nodes/document.node.js +1 -0
- package/dist/collection/components/ozon-content/nodes/document.node.js.map +1 -0
- package/dist/collection/components/ozon-content/nodes/ext-ref.node.js +1 -0
- package/dist/collection/components/ozon-content/nodes/ext-ref.node.js.map +1 -0
- package/dist/collection/components/ozon-content/nodes/fallback.node.js +1 -0
- package/dist/collection/components/ozon-content/nodes/fallback.node.js.map +1 -0
- package/dist/collection/components/ozon-content/nodes/figuur.node.js +1 -0
- package/dist/collection/components/ozon-content/nodes/figuur.node.js.map +1 -0
- package/dist/collection/components/ozon-content/nodes/inhoud.node.js +1 -0
- package/dist/collection/components/ozon-content/nodes/inhoud.node.js.map +1 -0
- package/dist/collection/components/ozon-content/nodes/inline-tekst-afbeelding.node.js +1 -0
- package/dist/collection/components/ozon-content/nodes/inline-tekst-afbeelding.node.js.map +1 -0
- package/dist/collection/components/ozon-content/nodes/inline.nodes.js +1 -0
- package/dist/collection/components/ozon-content/nodes/inline.nodes.js.map +1 -0
- package/dist/collection/components/ozon-content/nodes/int-io-ref.node.js +1 -0
- package/dist/collection/components/ozon-content/nodes/int-io-ref.node.js.map +1 -0
- package/dist/collection/components/ozon-content/nodes/int-ref.node.js +1 -0
- package/dist/collection/components/ozon-content/nodes/int-ref.node.js.map +1 -0
- package/dist/collection/components/ozon-content/nodes/lijst.node.js +1 -0
- package/dist/collection/components/ozon-content/nodes/lijst.node.js.map +1 -0
- package/dist/collection/components/ozon-content/nodes/nieuwe-tekst.node.js +1 -0
- package/dist/collection/components/ozon-content/nodes/nieuwe-tekst.node.js.map +1 -0
- package/dist/collection/components/ozon-content/nodes/noot.node.js +1 -0
- package/dist/collection/components/ozon-content/nodes/noot.node.js.map +1 -0
- package/dist/collection/components/ozon-content/nodes/opschrift.node.js +1 -0
- package/dist/collection/components/ozon-content/nodes/opschrift.node.js.map +1 -0
- package/dist/collection/components/ozon-content/nodes/table.node/colspec/colspec-mapper.js +1 -0
- package/dist/collection/components/ozon-content/nodes/table.node/colspec/colspec-mapper.js.map +1 -0
- package/dist/collection/components/ozon-content/nodes/table.node/colspec/colspec.interface.js +1 -0
- package/dist/collection/components/ozon-content/nodes/table.node/colspec/colspec.interface.js.map +1 -0
- package/dist/collection/components/ozon-content/nodes/table.node/index.js +1 -0
- package/dist/collection/components/ozon-content/nodes/table.node/index.js.map +1 -0
- package/dist/collection/components/ozon-content/nodes/table.node/table-cell.js +1 -0
- package/dist/collection/components/ozon-content/nodes/table.node/table-cell.js.map +1 -0
- package/dist/collection/components/ozon-content/nodes/table.node/table-colgroup.js +1 -0
- package/dist/collection/components/ozon-content/nodes/table.node/table-colgroup.js.map +1 -0
- package/dist/collection/components/ozon-content/nodes/table.node/table-rows.js +1 -0
- package/dist/collection/components/ozon-content/nodes/table.node/table-rows.js.map +1 -0
- package/dist/collection/components/ozon-content/nodes/table.node/table.node.js +1 -0
- package/dist/collection/components/ozon-content/nodes/table.node/table.node.js.map +1 -0
- package/dist/collection/components/ozon-content/nodes/text.node.js +1 -0
- package/dist/collection/components/ozon-content/nodes/text.node.js.map +1 -0
- package/dist/collection/components/ozon-content/nodes/verwijderde-tekst.node.js +1 -0
- package/dist/collection/components/ozon-content/nodes/verwijderde-tekst.node.js.map +1 -0
- package/dist/collection/components/ozon-content/ozon-content-context.interface.js +1 -0
- package/dist/collection/components/ozon-content/ozon-content-context.interface.js.map +1 -0
- package/dist/collection/components/ozon-content/ozon-content-mapper.js +2 -3
- package/dist/collection/components/ozon-content/ozon-content-mapper.js.map +1 -0
- package/dist/collection/components/ozon-content/ozon-content-node-context.interface.js +1 -0
- package/dist/collection/components/ozon-content/ozon-content-node-context.interface.js.map +1 -0
- package/dist/collection/components/ozon-content/ozon-content-node-state.interface.js +1 -0
- package/dist/collection/components/ozon-content/ozon-content-node-state.interface.js.map +1 -0
- package/dist/collection/components/ozon-content/ozon-content-node.interface.js +1 -0
- package/dist/collection/components/ozon-content/ozon-content-node.interface.js.map +1 -0
- package/dist/collection/components/ozon-content/ozon-content.interfaces.js +1 -0
- package/dist/collection/components/ozon-content/ozon-content.interfaces.js.map +1 -0
- package/dist/collection/components/ozon-content/ozon-content.js +5 -2
- package/dist/collection/components/ozon-content/ozon-content.js.map +1 -0
- package/dist/collection/components/pagination/pagination.interfaces.js +1 -0
- package/dist/collection/components/pagination/pagination.interfaces.js.map +1 -0
- package/dist/collection/components/pagination/pagination.js +1 -0
- package/dist/collection/components/pagination/pagination.js.map +1 -0
- package/dist/collection/components/progress-bar/progress-bar.js +4 -3
- package/dist/collection/components/progress-bar/progress-bar.js.map +1 -0
- package/dist/collection/components/progress-indicator/progress-indicator.js +10 -10
- package/dist/collection/components/progress-indicator/progress-indicator.js.map +1 -0
- package/dist/collection/components/responsive-element/responsive-element.interfaces.js +1 -0
- package/dist/collection/components/responsive-element/responsive-element.interfaces.js.map +1 -0
- package/dist/collection/components/responsive-element/responsive-element.js +6 -2
- package/dist/collection/components/responsive-element/responsive-element.js.map +1 -0
- package/dist/collection/components/scrollable/scrollable.css +5 -0
- package/dist/collection/components/scrollable/scrollable.interfaces.js +1 -0
- package/dist/collection/components/scrollable/scrollable.interfaces.js.map +1 -0
- package/dist/collection/components/scrollable/scrollable.js +13 -9
- package/dist/collection/components/scrollable/scrollable.js.map +1 -0
- package/dist/collection/components/selectable/selectable.css +2 -2
- package/dist/collection/components/selectable/selectable.interfaces.js +1 -0
- package/dist/collection/components/selectable/selectable.interfaces.js.map +1 -0
- package/dist/collection/components/selectable/selectable.js +33 -18
- package/dist/collection/components/selectable/selectable.js.map +1 -0
- package/dist/collection/components/slide-toggle/slide-toggle.interfaces.js +1 -0
- package/dist/collection/components/slide-toggle/slide-toggle.interfaces.js.map +1 -0
- package/dist/collection/components/slide-toggle/slide-toggle.js +7 -6
- package/dist/collection/components/slide-toggle/slide-toggle.js.map +1 -0
- package/dist/collection/components/table/table.css +73 -19
- package/dist/collection/components/table/table.js +2 -1
- package/dist/collection/components/table/table.js.map +1 -0
- package/dist/collection/components/toggletip/toggletip.js +5 -4
- package/dist/collection/components/toggletip/toggletip.js.map +1 -0
- package/dist/collection/components/tooltip/tooltip.js +2 -10
- package/dist/collection/components/tooltip/tooltip.js.map +1 -0
- package/dist/collection/components/tree-view/tree-item.js +2 -1
- package/dist/collection/components/tree-view/tree-item.js.map +1 -0
- package/dist/collection/components/tree-view/tree-view.interfaces.js +1 -0
- package/dist/collection/components/tree-view/tree-view.interfaces.js.map +1 -0
- package/dist/collection/components/tree-view/tree-view.js +3 -1
- package/dist/collection/components/tree-view/tree-view.js.map +1 -0
- package/dist/collection/components/viewer-grid/viewer-grid-filterpanel-buttons.js +1 -0
- package/dist/collection/components/viewer-grid/viewer-grid-filterpanel-buttons.js.map +1 -0
- package/dist/collection/components/viewer-grid/viewer-grid.interfaces.js +1 -0
- package/dist/collection/components/viewer-grid/viewer-grid.interfaces.js.map +1 -0
- package/dist/collection/components/viewer-grid/viewer-grid.js +7 -6
- package/dist/collection/components/viewer-grid/viewer-grid.js.map +1 -0
- package/dist/collection/index.js +2 -22
- package/dist/collection/index.js.map +1 -0
- package/dist/collection/services/annotation.service.js +1 -0
- package/dist/collection/services/annotation.service.js.map +1 -0
- package/dist/collection/utils/create-identifier.js +1 -0
- package/dist/collection/utils/create-identifier.js.map +1 -0
- package/dist/collection/utils/has-overflow.js +1 -0
- package/dist/collection/utils/has-overflow.js.map +1 -0
- package/dist/collection/utils/is-interactive-element.js +1 -0
- package/dist/collection/utils/is-interactive-element.js.map +1 -0
- package/dist/collection/utils/is-modified-event.js +1 -0
- package/dist/collection/utils/is-modified-event.js.map +1 -0
- package/dist/components/annotation.service.js +2 -0
- package/dist/components/annotation.service.js.map +1 -0
- package/dist/components/clsx.m.js +2 -0
- package/dist/components/clsx.m.js.map +1 -0
- package/dist/components/create-identifier.js +2 -0
- package/dist/components/create-identifier.js.map +1 -0
- package/dist/components/custom-elements.d.ts +2 -0
- package/dist/components/dropdown-menu.js +6 -4
- package/dist/components/dropdown-menu.js.map +1 -0
- package/dist/components/dso-accordion-section.js +20 -15
- package/dist/components/dso-accordion-section.js.map +1 -0
- package/dist/components/dso-accordion.js +35 -23
- package/dist/components/dso-accordion.js.map +1 -0
- package/dist/components/dso-action-list-item.js +3 -1
- package/dist/components/dso-action-list-item.js.map +1 -0
- package/dist/components/dso-action-list.js +3 -1
- package/dist/components/dso-action-list.js.map +1 -0
- package/dist/components/dso-alert.js +3 -1
- package/dist/components/dso-alert.js.map +1 -0
- package/dist/components/dso-annotation-button.js +4 -2
- package/dist/components/dso-annotation-button.js.map +1 -0
- package/dist/components/dso-annotation-output.js +9 -4
- package/dist/components/dso-annotation-output.js.map +1 -0
- package/dist/components/dso-attachments-counter.js +3 -1
- package/dist/components/dso-attachments-counter.js.map +1 -0
- package/dist/components/dso-autosuggest.js +7 -2
- package/dist/components/dso-autosuggest.js.map +1 -0
- package/dist/components/dso-badge.js +3 -1
- package/dist/components/dso-badge.js.map +1 -0
- package/dist/components/dso-banner.js +3 -1
- package/dist/components/dso-banner.js.map +1 -0
- package/dist/components/dso-card-container.js +3 -1
- package/dist/components/dso-card-container.js.map +1 -0
- package/dist/components/dso-card.js +3 -1
- package/dist/components/dso-card.js.map +1 -0
- package/dist/components/dso-date-picker.js +6 -2
- package/dist/components/dso-date-picker.js.map +1 -0
- package/dist/components/dso-dropdown-menu.js +2 -0
- package/dist/components/dso-dropdown-menu.js.map +1 -0
- package/dist/components/dso-expandable-heading.js +6 -2
- package/dist/components/dso-expandable-heading.js.map +1 -0
- package/dist/components/dso-expandable.js +2 -0
- package/dist/components/dso-expandable.js.map +1 -0
- package/dist/components/dso-header.js +13 -3
- package/dist/components/dso-header.js.map +1 -0
- package/dist/components/dso-helpcenter-panel.js +3 -1
- package/dist/components/dso-helpcenter-panel.js.map +1 -0
- package/dist/components/dso-highlight-box.js +3 -1
- package/dist/components/dso-highlight-box.js.map +1 -0
- package/dist/components/dso-icon.js +2 -0
- package/dist/components/dso-icon.js.map +1 -0
- package/dist/components/dso-image-overlay.js +3 -1
- package/dist/components/dso-image-overlay.js.map +1 -0
- package/dist/components/dso-info-button.js +2 -0
- package/dist/components/dso-info-button.js.map +1 -0
- package/dist/components/dso-info.js +2 -0
- package/dist/components/dso-info.js.map +1 -0
- package/dist/components/dso-label.js +12 -9
- package/dist/components/dso-label.js.map +1 -0
- package/dist/components/dso-list-button.js +4 -2
- package/dist/components/dso-list-button.js.map +1 -0
- package/dist/components/dso-map-base-layers.js +3 -1
- package/dist/components/dso-map-base-layers.js.map +1 -0
- package/dist/components/dso-map-controls.js +13 -5
- package/dist/components/dso-map-controls.js.map +1 -0
- package/dist/components/dso-map-overlays.js +3 -1
- package/dist/components/dso-map-overlays.js.map +1 -0
- package/dist/components/dso-modal.js +13 -5
- package/dist/components/dso-modal.js.map +1 -0
- package/dist/components/dso-ozon-content.js +9 -7
- package/dist/components/dso-ozon-content.js.map +1 -0
- package/dist/components/dso-pagination.js +3 -1
- package/dist/components/dso-pagination.js.map +1 -0
- package/dist/components/dso-progress-bar.js +3 -1
- package/dist/components/dso-progress-bar.js.map +1 -0
- package/dist/components/dso-progress-indicator.js +2 -0
- package/dist/components/dso-progress-indicator.js.map +1 -0
- package/dist/components/dso-responsive-element.js +2 -0
- package/dist/components/dso-responsive-element.js.map +1 -0
- package/dist/components/dso-scrollable.js +2 -0
- package/dist/components/dso-scrollable.js.map +1 -0
- package/dist/components/dso-selectable.js +2 -0
- package/dist/components/dso-selectable.js.map +1 -0
- package/dist/components/dso-slide-toggle.js +3 -1
- package/dist/components/dso-slide-toggle.js.map +1 -0
- package/dist/components/dso-table.js +4 -2
- package/dist/components/dso-table.js.map +1 -0
- package/dist/components/dso-toggletip.js +3 -1
- package/dist/components/dso-toggletip.js.map +1 -0
- package/dist/components/dso-tooltip.js +2 -0
- package/dist/components/dso-tooltip.js.map +1 -0
- package/dist/components/dso-tree-view.js +6 -3
- package/dist/components/dso-tree-view.js.map +1 -0
- package/dist/components/dso-viewer-grid.js +3 -1
- package/dist/components/dso-viewer-grid.js.map +1 -0
- package/dist/components/expandable.js +15 -8
- package/dist/components/expandable.js.map +1 -0
- package/dist/components/focus-trap.esm.js +2 -0
- package/dist/components/focus-trap.esm.js.map +1 -0
- package/dist/components/has-overflow.js +8 -12
- package/dist/components/has-overflow.js.map +1 -0
- package/dist/components/icon.js +3 -1
- package/dist/components/icon.js.map +1 -0
- package/dist/components/index.d.ts +52 -0
- package/dist/components/index.esm.js +2 -0
- package/dist/components/index.esm.js.map +1 -0
- package/dist/components/index.js +5 -3
- package/dist/components/index.js.map +1 -0
- package/dist/components/index2.js +2 -0
- package/dist/components/index2.js.map +1 -0
- package/dist/components/index3.js +2 -0
- package/dist/components/index3.js.map +1 -0
- package/dist/components/info-button.js +6 -1
- package/dist/components/info-button.js.map +1 -0
- package/dist/components/info.js +3 -1
- package/dist/components/info.js.map +1 -0
- package/dist/components/is-modified-event.js +2 -0
- package/dist/components/is-modified-event.js.map +1 -0
- package/dist/components/package.json +9 -0
- package/dist/components/progress-indicator.js +5 -5
- package/dist/components/progress-indicator.js.map +1 -0
- package/dist/components/responsive-element.js +6 -1
- package/dist/components/responsive-element.js.map +1 -0
- package/dist/components/scrollable.js +11 -9
- package/dist/components/scrollable.js.map +1 -0
- package/dist/components/selectable.js +13 -3
- package/dist/components/selectable.js.map +1 -0
- package/dist/components/tooltip.js +5 -3
- package/dist/components/tooltip.js.map +1 -0
- package/dist/components/v4.js +2 -0
- package/dist/components/v4.js.map +1 -0
- package/dist/dso-toolkit/dso-toolkit.esm.js +2 -1
- package/dist/dso-toolkit/dso-toolkit.esm.js.map +1 -0
- package/dist/dso-toolkit/index.esm.js +2 -1
- package/dist/dso-toolkit/index.esm.js.map +1 -0
- package/dist/dso-toolkit/p-0653b5d2.entry.js +2 -0
- package/dist/dso-toolkit/p-0653b5d2.entry.js.map +1 -0
- package/dist/dso-toolkit/p-0c762ac9.entry.js +2 -0
- package/dist/dso-toolkit/p-0c762ac9.entry.js.map +1 -0
- package/dist/dso-toolkit/p-0ffae824.entry.js +2 -0
- package/dist/dso-toolkit/p-0ffae824.entry.js.map +1 -0
- package/dist/dso-toolkit/p-12c3fc19.entry.js +2 -0
- package/dist/dso-toolkit/p-12c3fc19.entry.js.map +1 -0
- package/dist/dso-toolkit/p-1805f5b0.js +2 -1
- package/dist/dso-toolkit/p-1805f5b0.js.map +1 -0
- package/dist/dso-toolkit/p-1d3ed808.entry.js +2 -0
- package/dist/dso-toolkit/p-1d3ed808.entry.js.map +1 -0
- package/dist/dso-toolkit/p-26713aef.js +2 -0
- package/dist/dso-toolkit/p-26713aef.js.map +1 -0
- package/dist/dso-toolkit/p-26cdce1c.js +3 -0
- package/dist/dso-toolkit/p-26cdce1c.js.map +1 -0
- package/dist/dso-toolkit/p-2bd5d2a2.entry.js +2 -0
- package/dist/dso-toolkit/p-2bd5d2a2.entry.js.map +1 -0
- package/dist/dso-toolkit/p-33df9903.js +2 -1
- package/dist/dso-toolkit/p-33df9903.js.map +1 -0
- package/dist/dso-toolkit/p-3ab9390b.entry.js +2 -0
- package/dist/dso-toolkit/p-3ab9390b.entry.js.map +1 -0
- package/dist/dso-toolkit/p-5040a304.entry.js +2 -0
- package/dist/dso-toolkit/p-5040a304.entry.js.map +1 -0
- package/dist/dso-toolkit/p-52f2be73.entry.js +2 -0
- package/dist/dso-toolkit/p-52f2be73.entry.js.map +1 -0
- package/dist/dso-toolkit/p-554e7d6a.entry.js +2 -0
- package/dist/dso-toolkit/p-554e7d6a.entry.js.map +1 -0
- package/dist/dso-toolkit/p-56069350.entry.js +2 -0
- package/dist/dso-toolkit/p-56069350.entry.js.map +1 -0
- package/dist/dso-toolkit/p-58bed94b.entry.js +2 -0
- package/dist/dso-toolkit/p-58bed94b.entry.js.map +1 -0
- package/dist/dso-toolkit/p-5950644a.js +2 -1
- package/dist/dso-toolkit/p-5950644a.js.map +1 -0
- package/dist/dso-toolkit/p-59ff4e19.entry.js +2 -0
- package/dist/dso-toolkit/p-59ff4e19.entry.js.map +1 -0
- package/dist/dso-toolkit/p-5d7f4ff2.js +2 -1
- package/dist/dso-toolkit/p-5d7f4ff2.js.map +1 -0
- package/dist/dso-toolkit/p-601b4ce0.entry.js +2 -0
- package/dist/dso-toolkit/p-601b4ce0.entry.js.map +1 -0
- package/dist/dso-toolkit/p-63ce173c.entry.js +2 -0
- package/dist/dso-toolkit/p-63ce173c.entry.js.map +1 -0
- package/dist/dso-toolkit/p-657c43f4.entry.js +2 -0
- package/dist/dso-toolkit/p-657c43f4.entry.js.map +1 -0
- package/dist/dso-toolkit/p-6a1980b4.js +2 -1
- package/dist/dso-toolkit/p-6a1980b4.js.map +1 -0
- package/dist/dso-toolkit/p-6c543986.js +2 -1
- package/dist/dso-toolkit/p-6c543986.js.map +1 -0
- package/dist/dso-toolkit/p-6e0b67c9.entry.js +2 -0
- package/dist/dso-toolkit/p-6e0b67c9.entry.js.map +1 -0
- package/dist/dso-toolkit/p-7098eb9d.entry.js +2 -0
- package/dist/dso-toolkit/p-7098eb9d.entry.js.map +1 -0
- package/dist/dso-toolkit/p-71143eef.entry.js +2 -0
- package/dist/dso-toolkit/p-71143eef.entry.js.map +1 -0
- package/dist/dso-toolkit/p-79767cc1.entry.js +2 -0
- package/dist/dso-toolkit/p-79767cc1.entry.js.map +1 -0
- package/dist/dso-toolkit/p-835a599b.entry.js +2 -0
- package/dist/dso-toolkit/p-835a599b.entry.js.map +1 -0
- package/dist/dso-toolkit/p-871bfdf9.js +2 -0
- package/dist/dso-toolkit/p-871bfdf9.js.map +1 -0
- package/dist/dso-toolkit/p-8f166691.entry.js +2 -0
- package/dist/dso-toolkit/p-8f166691.entry.js.map +1 -0
- package/dist/dso-toolkit/p-904a2caf.entry.js +2 -0
- package/dist/dso-toolkit/p-904a2caf.entry.js.map +1 -0
- package/dist/dso-toolkit/p-91453b47.entry.js +2 -0
- package/dist/dso-toolkit/p-91453b47.entry.js.map +1 -0
- package/dist/dso-toolkit/p-91963e3d.js +3 -2
- package/dist/dso-toolkit/p-91963e3d.js.map +1 -0
- package/dist/dso-toolkit/p-9b14a015.entry.js +2 -0
- package/dist/dso-toolkit/p-9b14a015.entry.js.map +1 -0
- package/dist/dso-toolkit/p-9c2d4a91.entry.js +2 -0
- package/dist/dso-toolkit/p-9c2d4a91.entry.js.map +1 -0
- package/dist/dso-toolkit/p-9d64a2f4.entry.js +2 -0
- package/dist/dso-toolkit/p-9d64a2f4.entry.js.map +1 -0
- package/dist/dso-toolkit/p-9eccd618.js +2 -0
- package/dist/dso-toolkit/p-9eccd618.js.map +1 -0
- package/dist/dso-toolkit/p-a4e3638a.entry.js +2 -0
- package/dist/dso-toolkit/p-a4e3638a.entry.js.map +1 -0
- package/dist/dso-toolkit/p-b1627d68.entry.js +2 -0
- package/dist/dso-toolkit/p-b1627d68.entry.js.map +1 -0
- package/dist/dso-toolkit/p-b1b53cb3.entry.js +2 -0
- package/dist/dso-toolkit/p-b1b53cb3.entry.js.map +1 -0
- package/dist/dso-toolkit/p-b6f1ae13.entry.js +2 -0
- package/dist/dso-toolkit/p-b6f1ae13.entry.js.map +1 -0
- package/dist/dso-toolkit/p-c3178955.entry.js +2 -0
- package/dist/dso-toolkit/p-c3178955.entry.js.map +1 -0
- package/dist/dso-toolkit/p-c464da66.entry.js +2 -0
- package/dist/dso-toolkit/p-c464da66.entry.js.map +1 -0
- package/dist/dso-toolkit/p-c4e1c7cb.entry.js +2 -0
- package/dist/dso-toolkit/p-c4e1c7cb.entry.js.map +1 -0
- package/dist/dso-toolkit/p-d4f8e1e0.entry.js +2 -0
- package/dist/dso-toolkit/p-d4f8e1e0.entry.js.map +1 -0
- package/dist/dso-toolkit/p-dd9e9c47.entry.js +2 -0
- package/dist/dso-toolkit/p-dd9e9c47.entry.js.map +1 -0
- package/dist/dso-toolkit/p-de310a49.entry.js +2 -0
- package/dist/dso-toolkit/p-de310a49.entry.js.map +1 -0
- package/dist/dso-toolkit/p-ee2771d4.entry.js +2 -0
- package/dist/dso-toolkit/p-ee2771d4.entry.js.map +1 -0
- package/dist/dso-toolkit/p-ef23bffb.entry.js +2 -0
- package/dist/dso-toolkit/p-ef23bffb.entry.js.map +1 -0
- package/dist/dso-toolkit/p-f70d6a66.entry.js +2 -0
- package/dist/dso-toolkit/p-f70d6a66.entry.js.map +1 -0
- package/dist/dso-toolkit/p-fa6d8d5a.entry.js +2 -0
- package/dist/dso-toolkit/p-fa6d8d5a.entry.js.map +1 -0
- package/dist/dso-toolkit/p-fdf8bd94.entry.js +2 -0
- package/dist/dso-toolkit/p-fdf8bd94.entry.js.map +1 -0
- package/dist/esm/{annotation.service-d0add3fc.js → annotation.service-cd25eba0.js} +3 -1
- package/dist/esm/annotation.service-cd25eba0.js.map +1 -0
- package/dist/esm/clsx.m-25174a58.js +2 -0
- package/dist/esm/clsx.m-25174a58.js.map +1 -0
- package/dist/esm/create-identifier-51ee50c4.js +2 -0
- package/dist/esm/create-identifier-51ee50c4.js.map +1 -0
- package/dist/esm/dso-accordion-section.entry.js +19 -11
- package/dist/esm/dso-accordion-section.entry.js.map +1 -0
- package/dist/esm/dso-accordion.entry.js +33 -21
- package/dist/esm/dso-accordion.entry.js.map +1 -0
- package/dist/esm/dso-action-list-item.entry.js +3 -1
- package/dist/esm/dso-action-list-item.entry.js.map +1 -0
- package/dist/esm/dso-action-list.entry.js +3 -1
- package/dist/esm/dso-action-list.entry.js.map +1 -0
- package/dist/esm/dso-alert.entry.js +3 -1
- package/dist/esm/dso-alert.entry.js.map +1 -0
- package/dist/esm/dso-annotation-button.entry.js +6 -4
- package/dist/esm/dso-annotation-button.entry.js.map +1 -0
- package/dist/esm/dso-annotation-output.entry.js +10 -5
- package/dist/esm/dso-annotation-output.entry.js.map +1 -0
- package/dist/esm/dso-attachments-counter.entry.js +3 -1
- package/dist/esm/dso-attachments-counter.entry.js.map +1 -0
- package/dist/esm/dso-autosuggest.entry.js +7 -2
- package/dist/esm/dso-autosuggest.entry.js.map +1 -0
- package/dist/esm/dso-badge.entry.js +3 -1
- package/dist/esm/dso-badge.entry.js.map +1 -0
- package/dist/esm/dso-banner.entry.js +3 -1
- package/dist/esm/dso-banner.entry.js.map +1 -0
- package/dist/esm/dso-card-container.entry.js +3 -1
- package/dist/esm/dso-card-container.entry.js.map +1 -0
- package/dist/esm/dso-card.entry.js +3 -1
- package/dist/esm/dso-card.entry.js.map +1 -0
- package/dist/esm/dso-date-picker.entry.js +5 -2
- package/dist/esm/dso-date-picker.entry.js.map +1 -0
- package/dist/esm/dso-dropdown-menu.entry.js +7 -5
- package/dist/esm/dso-dropdown-menu.entry.js.map +1 -0
- package/dist/esm/dso-expandable-heading.entry.js +5 -2
- package/dist/esm/dso-expandable-heading.entry.js.map +1 -0
- package/dist/esm/dso-expandable.entry.js +13 -6
- package/dist/esm/dso-expandable.entry.js.map +1 -0
- package/dist/esm/dso-header.entry.js +12 -3
- package/dist/esm/dso-header.entry.js.map +1 -0
- package/dist/esm/dso-helpcenter-panel.entry.js +3 -1
- package/dist/esm/dso-helpcenter-panel.entry.js.map +1 -0
- package/dist/esm/dso-highlight-box.entry.js +3 -1
- package/dist/esm/dso-highlight-box.entry.js.map +1 -0
- package/dist/esm/dso-icon.entry.js +3 -1
- package/dist/esm/dso-icon.entry.js.map +1 -0
- package/dist/esm/dso-image-overlay.entry.js +3 -1
- package/dist/esm/dso-image-overlay.entry.js.map +1 -0
- package/dist/esm/dso-info-button.entry.js +6 -1
- package/dist/esm/dso-info-button.entry.js.map +1 -0
- package/dist/esm/dso-info_2.entry.js +12 -3
- package/dist/esm/dso-info_2.entry.js.map +1 -0
- package/dist/esm/dso-label.entry.js +11 -7
- package/dist/esm/dso-label.entry.js.map +1 -0
- package/dist/esm/dso-list-button.entry.js +4 -2
- package/dist/esm/dso-list-button.entry.js.map +1 -0
- package/dist/esm/dso-map-base-layers.entry.js +3 -1
- package/dist/esm/dso-map-base-layers.entry.js.map +1 -0
- package/dist/esm/dso-map-controls.entry.js +12 -3
- package/dist/esm/dso-map-controls.entry.js.map +1 -0
- package/dist/esm/dso-map-overlays.entry.js +3 -1
- package/dist/esm/dso-map-overlays.entry.js.map +1 -0
- package/dist/esm/dso-modal.entry.js +5 -3
- package/dist/esm/dso-modal.entry.js.map +1 -0
- package/dist/esm/dso-ozon-content.entry.js +9 -7
- package/dist/esm/dso-ozon-content.entry.js.map +1 -0
- package/dist/esm/dso-pagination.entry.js +3 -1
- package/dist/esm/dso-pagination.entry.js.map +1 -0
- package/dist/esm/dso-progress-bar.entry.js +3 -1
- package/dist/esm/dso-progress-bar.entry.js.map +1 -0
- package/dist/esm/dso-progress-indicator.entry.js +5 -5
- package/dist/esm/dso-progress-indicator.entry.js.map +1 -0
- package/dist/esm/dso-responsive-element.entry.js +6 -1
- package/dist/esm/dso-responsive-element.entry.js.map +1 -0
- package/dist/esm/dso-scrollable.entry.js +11 -9
- package/dist/esm/dso-scrollable.entry.js.map +1 -0
- package/dist/esm/dso-slide-toggle.entry.js +3 -1
- package/dist/esm/dso-slide-toggle.entry.js.map +1 -0
- package/dist/esm/dso-table.entry.js +4 -2
- package/dist/esm/dso-table.entry.js.map +1 -0
- package/dist/esm/dso-toggletip.entry.js +3 -1
- package/dist/esm/dso-toggletip.entry.js.map +1 -0
- package/dist/esm/dso-toolkit.js +9 -3
- package/dist/esm/dso-toolkit.js.map +1 -0
- package/dist/esm/dso-tooltip.entry.js +5 -3
- package/dist/esm/dso-tooltip.entry.js.map +1 -0
- package/dist/esm/dso-tree-view.entry.js +6 -3
- package/dist/esm/dso-tree-view.entry.js.map +1 -0
- package/dist/esm/dso-viewer-grid.entry.js +3 -1
- package/dist/esm/dso-viewer-grid.entry.js.map +1 -0
- package/dist/esm/focus-trap.esm-2a49a38f.js +2 -0
- package/dist/esm/focus-trap.esm-2a49a38f.js.map +1 -0
- package/dist/esm/{has-overflow-fdc85d8f.js → has-overflow-814a0f4e.js} +8 -12
- package/dist/esm/has-overflow-814a0f4e.js.map +1 -0
- package/dist/esm/{index-ac5a22a3.js → index-898d8443.js} +217 -36
- package/dist/esm/index-898d8443.js.map +1 -0
- package/dist/esm/{index-d6ffb688.js → index-b57dbe04.js} +3 -1
- package/dist/esm/index-b57dbe04.js.map +1 -0
- package/dist/esm/index-f2bf58ce.js +2 -0
- package/dist/esm/index-f2bf58ce.js.map +1 -0
- package/dist/esm/index.esm-3d6c8190.js +2 -0
- package/dist/esm/index.esm-3d6c8190.js.map +1 -0
- package/dist/esm/index.js +2 -3
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/is-modified-event-34370220.js +2 -0
- package/dist/esm/is-modified-event-34370220.js.map +1 -0
- package/dist/esm/loader.js +6 -3
- package/dist/esm/loader.js.map +1 -0
- package/dist/esm/polyfills/css-shim.js +1 -1
- package/dist/esm/v4-d398bde5.js +2 -0
- package/dist/esm/v4-d398bde5.js.map +1 -0
- package/dist/types/components/accordion/accordion.d.ts +27 -10
- package/dist/types/components/accordion/accordion.interfaces.d.ts +1 -10
- package/dist/types/components/accordion/components/accordion-section.d.ts +30 -6
- package/dist/types/components/accordion/components/accordion-section.interfaces.d.ts +2 -2
- package/dist/types/components/action-list/action-list.d.ts +3 -0
- package/dist/types/components/action-list/components/action-list-item.d.ts +9 -0
- package/dist/types/components/annotation-button/annotation-button.d.ts +4 -1
- package/dist/types/components/annotation-output/annotation-output.d.ts +14 -4
- package/dist/types/components/attachments-counter/attachments-counter.d.ts +3 -0
- package/dist/types/components/autosuggest/autosuggest.d.ts +24 -32
- package/dist/types/components/badge/badge.d.ts +3 -0
- package/dist/types/components/banner/banner.d.ts +3 -0
- package/dist/types/components/card/card.d.ts +13 -1
- package/dist/types/components/card/card.interfaces.d.ts +1 -1
- package/dist/types/components/card-container/card-container.d.ts +3 -0
- package/dist/types/components/card-container/card-container.interfaces.d.ts +1 -1
- package/dist/types/components/date-picker/date-localization.d.ts +3 -3
- package/dist/types/components/date-picker/date-picker-day.d.ts +1 -1
- package/dist/types/components/date-picker/date-picker-month.d.ts +1 -1
- package/dist/types/components/date-picker/date-picker.d.ts +5 -1
- package/dist/types/components/date-picker/date-picker.interfaces.d.ts +4 -4
- package/dist/types/components/dropdown-menu/dropdown-menu.d.ts +10 -8
- package/dist/types/components/expandable/expandable.d.ts +24 -9
- package/dist/types/components/expandable/expandable.functions.d.ts +1 -0
- package/dist/types/components/expandable-heading/expandable-heading.d.ts +23 -2
- package/dist/types/components/expandable-heading/expandable-heading.interfaces.d.ts +2 -2
- package/dist/types/components/header/header.d.ts +36 -14
- package/dist/types/components/header/header.interfaces.d.ts +2 -2
- package/dist/types/components/helpcenter-panel/helpcenter-panel.d.ts +10 -4
- package/dist/types/components/highlight-box/highlight-box.d.ts +15 -0
- package/dist/types/components/icon/icon.d.ts +3 -0
- package/dist/types/components/image-overlay/image-overlay.d.ts +8 -9
- package/dist/types/components/info/info.d.ts +9 -0
- package/dist/types/components/info-button/info-button.d.ts +15 -0
- package/dist/types/components/label/label.d.ts +24 -7
- package/dist/types/components/list-button/list-button.d.ts +29 -1
- package/dist/types/components/map-base-layers/map-base-layers.d.ts +12 -5
- package/dist/types/components/map-controls/map-controls.d.ts +22 -0
- package/dist/types/components/map-controls/map-controls.interfaces.d.ts +0 -1
- package/dist/types/components/map-overlays/map-overlays.d.ts +12 -6
- package/dist/types/components/modal/modal.d.ts +16 -4
- package/dist/types/components/modal/modal.interfaces.d.ts +2 -2
- package/dist/types/components/ozon-content/ozon-content.d.ts +5 -2
- package/dist/types/components/pagination/pagination.d.ts +2 -2
- package/dist/types/components/progress-bar/progress-bar.d.ts +9 -0
- package/dist/types/components/progress-indicator/progress-indicator.d.ts +12 -1
- package/dist/types/components/responsive-element/responsive-element.d.ts +8 -2
- package/dist/types/components/responsive-element/responsive-element.interfaces.d.ts +1 -1
- package/dist/types/components/scrollable/scrollable.d.ts +4 -3
- package/dist/types/components/scrollable/scrollable.interfaces.d.ts +1 -1
- package/dist/types/components/selectable/selectable.d.ts +52 -1
- package/dist/types/components/slide-toggle/slide-toggle.d.ts +18 -3
- package/dist/types/components/table/table.d.ts +9 -6
- package/dist/types/components/toggletip/toggletip.d.ts +19 -7
- package/dist/types/components/tooltip/tooltip.d.ts +3 -3
- package/dist/types/components/tree-view/tree-view.d.ts +1 -1
- package/dist/types/components/viewer-grid/viewer-grid.d.ts +31 -14
- package/dist/types/components/viewer-grid/viewer-grid.interfaces.d.ts +2 -2
- package/dist/types/components.d.ts +668 -30
- package/dist/types/index.d.ts +1 -23
- package/dist/types/stencil-public-runtime.d.ts +74 -15
- package/loader/index.d.ts +9 -0
- package/package.json +12 -12
- package/dist/cjs/expandable.interfaces-19b608b9.js +0 -7
- package/dist/cjs/map-controls.interfaces-5ceec716.js +0 -5
- package/dist/collection/components/expandable/expandable.interfaces.js +0 -3
- package/dist/collection/components/table/table.interfaces.js +0 -1
- package/dist/dso-toolkit/p-07952ece.entry.js +0 -1
- package/dist/dso-toolkit/p-0af9bfb1.entry.js +0 -1
- package/dist/dso-toolkit/p-0fce0861.entry.js +0 -1
- package/dist/dso-toolkit/p-1cb94d7d.entry.js +0 -1
- package/dist/dso-toolkit/p-281aa19e.entry.js +0 -1
- package/dist/dso-toolkit/p-296657d3.entry.js +0 -1
- package/dist/dso-toolkit/p-313d07f5.entry.js +0 -1
- package/dist/dso-toolkit/p-3914ad70.entry.js +0 -1
- package/dist/dso-toolkit/p-398a8e0b.entry.js +0 -1
- package/dist/dso-toolkit/p-3b91c3e9.entry.js +0 -1
- package/dist/dso-toolkit/p-452b1234.js +0 -1
- package/dist/dso-toolkit/p-4808575e.entry.js +0 -1
- package/dist/dso-toolkit/p-494fe8e5.entry.js +0 -1
- package/dist/dso-toolkit/p-4b8535b7.js +0 -1
- package/dist/dso-toolkit/p-5082d823.entry.js +0 -1
- package/dist/dso-toolkit/p-564a5d95.entry.js +0 -1
- package/dist/dso-toolkit/p-61ac8d40.entry.js +0 -1
- package/dist/dso-toolkit/p-65e8077e.entry.js +0 -1
- package/dist/dso-toolkit/p-69f37ab3.entry.js +0 -1
- package/dist/dso-toolkit/p-6a99d7f8.entry.js +0 -1
- package/dist/dso-toolkit/p-7912940d.entry.js +0 -1
- package/dist/dso-toolkit/p-82465cdc.entry.js +0 -1
- package/dist/dso-toolkit/p-85b18dbd.js +0 -1
- package/dist/dso-toolkit/p-89b97fce.js +0 -1
- package/dist/dso-toolkit/p-8a77030b.entry.js +0 -1
- package/dist/dso-toolkit/p-9361b19e.entry.js +0 -1
- package/dist/dso-toolkit/p-96f44d35.entry.js +0 -1
- package/dist/dso-toolkit/p-975c172a.entry.js +0 -1
- package/dist/dso-toolkit/p-98fd1658.js +0 -2
- package/dist/dso-toolkit/p-ae45e550.entry.js +0 -1
- package/dist/dso-toolkit/p-b049f492.entry.js +0 -1
- package/dist/dso-toolkit/p-b9777372.entry.js +0 -1
- package/dist/dso-toolkit/p-baef3721.entry.js +0 -1
- package/dist/dso-toolkit/p-bc975b99.entry.js +0 -1
- package/dist/dso-toolkit/p-bf750b97.js +0 -1
- package/dist/dso-toolkit/p-c1226b66.entry.js +0 -1
- package/dist/dso-toolkit/p-c2215704.entry.js +0 -1
- package/dist/dso-toolkit/p-ca4fee8d.entry.js +0 -1
- package/dist/dso-toolkit/p-d10ec2b3.entry.js +0 -1
- package/dist/dso-toolkit/p-d4772fb0.entry.js +0 -1
- package/dist/dso-toolkit/p-d6ea8670.entry.js +0 -1
- package/dist/dso-toolkit/p-e04d87e0.entry.js +0 -1
- package/dist/dso-toolkit/p-e8a6ccf5.entry.js +0 -1
- package/dist/dso-toolkit/p-e8c46f70.entry.js +0 -1
- package/dist/dso-toolkit/p-ee1acb32.entry.js +0 -1
- package/dist/dso-toolkit/p-efdf5c91.entry.js +0 -1
- package/dist/dso-toolkit/p-f3e38af3.entry.js +0 -1
- package/dist/dso-toolkit/p-f8a08ba1.entry.js +0 -1
- package/dist/esm/expandable.interfaces-9b1afbe8.js +0 -5
- package/dist/esm/map-controls.interfaces-2323e8ac.js +0 -3
- package/dist/types/components/expandable/expandable.interfaces.d.ts +0 -10
- package/dist/types/components/table/table.interfaces.d.ts +0 -3
- package/dist/types/globals.d.ts +0 -16
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{r,c as n,h as t,H as e,g as i}from"./p-26cdce1c.js";import{c as a}from"./p-6a1980b4.js";import{d as u}from"./p-1805f5b0.js";var o={update:null,begin:null,loopBegin:null,changeBegin:null,change:null,changeComplete:null,loopComplete:null,complete:null,loop:1,direction:"normal",autoplay:true,timelineOffset:0};var f={duration:1e3,delay:0,endDelay:0,easing:"easeOutElastic(1, .5)",round:0};var v=["translateX","translateY","translateZ","rotate","rotateX","rotateY","rotateZ","scale","scaleX","scaleY","scaleZ","skew","skewX","skewY","perspective","matrix","matrix3d"];var c={CSS:{},springs:{}};function s(r,n,t){return Math.min(Math.max(r,n),t)}function l(r,n){return r.indexOf(n)>-1}function h(r,n){return r.apply(null,n)}var d={arr:function(r){return Array.isArray(r)},obj:function(r){return l(Object.prototype.toString.call(r),"Object")},pth:function(r){return d.obj(r)&&r.hasOwnProperty("totalLength")},svg:function(r){return r instanceof SVGElement},inp:function(r){return r instanceof HTMLInputElement},dom:function(r){return r.nodeType||d.svg(r)},str:function(r){return typeof r==="string"},fnc:function(r){return typeof r==="function"},und:function(r){return typeof r==="undefined"},nil:function(r){return d.und(r)||r===null},hex:function(r){return/(^#[0-9A-F]{6}$)|(^#[0-9A-F]{3}$)/i.test(r)},rgb:function(r){return/^rgb/.test(r)},hsl:function(r){return/^hsl/.test(r)},col:function(r){return d.hex(r)||d.rgb(r)||d.hsl(r)},key:function(r){return!o.hasOwnProperty(r)&&!f.hasOwnProperty(r)&&r!=="targets"&&r!=="keyframes"}};function p(r){var n=/\(([^)]+)\)/.exec(r);return n?n[1].split(",").map((function(r){return parseFloat(r)})):[]}function m(r,n){var t=p(r);var e=s(d.und(t[0])?1:t[0],.1,100);var i=s(d.und(t[1])?100:t[1],.1,100);var a=s(d.und(t[2])?10:t[2],.1,100);var u=s(d.und(t[3])?0:t[3],.1,100);var o=Math.sqrt(i/e);var f=a/(2*Math.sqrt(i*e));var v=f<1?o*Math.sqrt(1-f*f):0;var l=1;var h=f<1?(f*o+-u)/v:-u+o;function m(r){var t=n?n*r/1e3:r;if(f<1){t=Math.exp(-t*f*o)*(l*Math.cos(v*t)+h*Math.sin(v*t))}else{t=(l+h*t)*Math.exp(-t*o)}if(r===0||r===1){return r}return 1-t}function g(){var n=c.springs[r];if(n){return n}var t=1/6;var e=0;var i=0;while(true){e+=t;if(m(e)===1){i++;if(i>=16){break}}else{i=0}}var a=e*t*1e3;c.springs[r]=a;return a}return n?m:g}function g(r){if(r===void 0)r=10;return function(n){return Math.ceil(s(n,1e-6,1)*r)*(1/r)}}var b=function(){var r=11;var n=1/(r-1);function t(r,n){return 1-3*n+3*r}function e(r,n){return 3*n-6*r}function i(r){return 3*r}function a(r,n,a){return((t(n,a)*r+e(n,a))*r+i(n))*r}function u(r,n,a){return 3*t(n,a)*r*r+2*e(n,a)*r+i(n)}function o(r,n,t,e,i){var u,o,f=0;do{o=n+(t-n)/2;u=a(o,e,i)-r;if(u>0){t=o}else{n=o}}while(Math.abs(u)>1e-7&&++f<10);return o}function f(r,n,t,e){for(var i=0;i<4;++i){var o=u(n,t,e);if(o===0){return n}var f=a(n,t,e)-r;n-=f/o}return n}function v(t,e,i,v){if(!(0<=t&&t<=1&&0<=i&&i<=1)){return}var c=new Float32Array(r);if(t!==e||i!==v){for(var s=0;s<r;++s){c[s]=a(s*n,t,i)}}function l(e){var a=0;var v=1;var s=r-1;for(;v!==s&&c[v]<=e;++v){a+=n}--v;var l=(e-c[v])/(c[v+1]-c[v]);var h=a+l*n;var d=u(h,t,i);if(d>=.001){return f(e,h,t,i)}else if(d===0){return h}else{return o(e,a,a+n,t,i)}}return function(r){if(t===e&&i===v){return r}if(r===0||r===1){return r}return a(l(r),e,v)}}return v}();var M=function(){var r={linear:function(){return function(r){return r}}};var n={Sine:function(){return function(r){return 1-Math.cos(r*Math.PI/2)}},Circ:function(){return function(r){return 1-Math.sqrt(1-r*r)}},Back:function(){return function(r){return r*r*(3*r-2)}},Bounce:function(){return function(r){var n,t=4;while(r<((n=Math.pow(2,--t))-1)/11){}return 1/Math.pow(4,3-t)-7.5625*Math.pow((n*3-2)/22-r,2)}},Elastic:function(r,n){if(r===void 0)r=1;if(n===void 0)n=.5;var t=s(r,1,10);var e=s(n,.1,2);return function(r){return r===0||r===1?r:-t*Math.pow(2,10*(r-1))*Math.sin((r-1-e/(Math.PI*2)*Math.asin(1/t))*(Math.PI*2)/e)}}};var t=["Quad","Cubic","Quart","Quint","Expo"];t.forEach((function(r,t){n[r]=function(){return function(r){return Math.pow(r,t+2)}}}));Object.keys(n).forEach((function(t){var e=n[t];r["easeIn"+t]=e;r["easeOut"+t]=function(r,n){return function(t){return 1-e(r,n)(1-t)}};r["easeInOut"+t]=function(r,n){return function(t){return t<.5?e(r,n)(t*2)/2:1-e(r,n)(t*-2+2)/2}};r["easeOutIn"+t]=function(r,n){return function(t){return t<.5?(1-e(r,n)(1-t*2))/2:(e(r,n)(t*2-1)+1)/2}}}));return r}();function y(r,n){if(d.fnc(r)){return r}var t=r.split("(")[0];var e=M[t];var i=p(r);switch(t){case"spring":return m(r,n);case"cubicBezier":return h(b,i);case"steps":return h(g,i);default:return h(e,i)}}function w(r){try{var n=document.querySelectorAll(r);return n}catch(r){return}}function x(r,n){var t=r.length;var e=arguments.length>=2?arguments[1]:void 0;var i=[];for(var a=0;a<t;a++){if(a in r){var u=r[a];if(n.call(e,u,a,r)){i.push(u)}}}return i}function A(r){return r.reduce((function(r,n){return r.concat(d.arr(n)?A(n):n)}),[])}function F(r){if(d.arr(r)){return r}if(d.str(r)){r=w(r)||r}if(r instanceof NodeList||r instanceof HTMLCollection){return[].slice.call(r)}return[r]}function O(r,n){return r.some((function(r){return r===n}))}function k(r){var n={};for(var t in r){n[t]=r[t]}return n}function I(r,n){var t=k(r);for(var e in r){t[e]=n.hasOwnProperty(e)?n[e]:r[e]}return t}function B(r,n){var t=k(r);for(var e in n){t[e]=d.und(r[e])?n[e]:r[e]}return t}function C(r){var n=/rgb\((\d+,\s*[\d]+,\s*[\d]+)\)/g.exec(r);return n?"rgba("+n[1]+",1)":r}function j(r){var n=/^#?([a-f\d])([a-f\d])([a-f\d])$/i;var t=r.replace(n,(function(r,n,t,e){return n+n+t+t+e+e}));var e=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(t);var i=parseInt(e[1],16);var a=parseInt(e[2],16);var u=parseInt(e[3],16);return"rgba("+i+","+a+","+u+",1)"}function E(r){var n=/hsl\((\d+),\s*([\d.]+)%,\s*([\d.]+)%\)/g.exec(r)||/hsla\((\d+),\s*([\d.]+)%,\s*([\d.]+)%,\s*([\d.]+)\)/g.exec(r);var t=parseInt(n[1],10)/360;var e=parseInt(n[2],10)/100;var i=parseInt(n[3],10)/100;var a=n[4]||1;function u(r,n,t){if(t<0){t+=1}if(t>1){t-=1}if(t<1/6){return r+(n-r)*6*t}if(t<1/2){return n}if(t<2/3){return r+(n-r)*(2/3-t)*6}return r}var o,f,v;if(e==0){o=f=v=i}else{var c=i<.5?i*(1+e):i+e-i*e;var s=2*i-c;o=u(s,c,t+1/3);f=u(s,c,t);v=u(s,c,t-1/3)}return"rgba("+o*255+","+f*255+","+v*255+","+a+")"}function L(r){if(d.rgb(r)){return C(r)}if(d.hex(r)){return j(r)}if(d.hsl(r)){return E(r)}}function N(r){var n=/[+-]?\d*\.?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?(%|px|pt|em|rem|in|cm|mm|ex|ch|pc|vw|vh|vmin|vmax|deg|rad|turn)?$/.exec(r);if(n){return n[1]}}function $(r){if(l(r,"translate")||r==="perspective"){return"px"}if(l(r,"rotate")||l(r,"skew")){return"deg"}}function z(r,n){if(!d.fnc(r)){return r}return r(n.target,n.id,n.total)}function H(r,n){return r.getAttribute(n)}function S(r,n,t){var e=N(n);if(O([t,"deg","rad","turn"],e)){return n}var i=c.CSS[n+t];if(!d.und(i)){return i}var a=100;var u=document.createElement(r.tagName);var o=r.parentNode&&r.parentNode!==document?r.parentNode:document.body;o.appendChild(u);u.style.position="absolute";u.style.width=a+t;var f=a/u.offsetWidth;o.removeChild(u);var v=f*parseFloat(n);c.CSS[n+t]=v;return v}function D(r,n,t){if(n in r.style){var e=n.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();var i=r.style[n]||getComputedStyle(r).getPropertyValue(e)||"0";return t?S(r,i,t):i}}function X(r,n){if(d.dom(r)&&!d.inp(r)&&(!d.nil(H(r,n))||d.svg(r)&&r[n])){return"attribute"}if(d.dom(r)&&O(v,n)){return"transform"}if(d.dom(r)&&(n!=="transform"&&D(r,n))){return"css"}if(r[n]!=null){return"object"}}function Y(r){if(!d.dom(r)){return}var n=r.style.transform||"";var t=/(\w+)\(([^)]*)\)/g;var e=new Map;var i;while(i=t.exec(n)){e.set(i[1],i[2])}return e}function Z(r,n,t,e){var i=l(n,"scale")?1:0+$(n);var a=Y(r).get(n)||i;if(t){t.transforms.list.set(n,a);t.transforms["last"]=n}return e?S(r,a,e):a}function _(r,n,t,e){switch(X(r,n)){case"transform":return Z(r,n,e,t);case"css":return D(r,n,t);case"attribute":return H(r,n);default:return r[n]||0}}function Q(r,n){var t=/^(\*=|\+=|-=)/.exec(r);if(!t){return r}var e=N(r)||0;var i=parseFloat(n);var a=parseFloat(r.replace(t[0],""));switch(t[0][0]){case"+":return i+a+e;case"-":return i-a+e;case"*":return i*a+e}}function q(r,n){if(d.col(r)){return L(r)}if(/\s/g.test(r)){return r}var t=N(r);var e=t?r.substr(0,r.length-t.length):r;if(n){return e+n}return e}function P(r,n){return Math.sqrt(Math.pow(n.x-r.x,2)+Math.pow(n.y-r.y,2))}function R(r){return Math.PI*2*H(r,"r")}function T(r){return H(r,"width")*2+H(r,"height")*2}function W(r){return P({x:H(r,"x1"),y:H(r,"y1")},{x:H(r,"x2"),y:H(r,"y2")})}function G(r){var n=r.points;var t=0;var e;for(var i=0;i<n.numberOfItems;i++){var a=n.getItem(i);if(i>0){t+=P(e,a)}e=a}return t}function V(r){var n=r.points;return G(r)+P(n.getItem(n.numberOfItems-1),n.getItem(0))}function J(r){if(r.getTotalLength){return r.getTotalLength()}switch(r.tagName.toLowerCase()){case"circle":return R(r);case"rect":return T(r);case"line":return W(r);case"polyline":return G(r);case"polygon":return V(r)}}function K(r){var n=J(r);r.setAttribute("stroke-dasharray",n);return n}function U(r){var n=r.parentNode;while(d.svg(n)){if(!d.svg(n.parentNode)){break}n=n.parentNode}return n}function rr(r,n){var t=n||{};var e=t.el||U(r);var i=e.getBoundingClientRect();var a=H(e,"viewBox");var u=i.width;var o=i.height;var f=t.viewBox||(a?a.split(" "):[0,0,u,o]);return{el:e,viewBox:f,x:f[0]/1,y:f[1]/1,w:u,h:o,vW:f[2],vH:f[3]}}function nr(r,n){var t=d.str(r)?w(r)[0]:r;var e=n||100;return function(r){return{property:r,el:t,svg:rr(t),totalLength:J(t)*(e/100)}}}function tr(r,n,t){function e(t){if(t===void 0)t=0;var e=n+t>=1?n+t:0;return r.el.getPointAtLength(e)}var i=rr(r.el,r.svg);var a=e();var u=e(-1);var o=e(+1);var f=t?1:i.w/i.vW;var v=t?1:i.h/i.vH;switch(r.property){case"x":return(a.x-i.x)*f;case"y":return(a.y-i.y)*v;case"angle":return Math.atan2(o.y-u.y,o.x-u.x)*180/Math.PI}}function er(r,n){var t=/[+-]?\d*\.?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?/g;var e=q(d.pth(r)?r.totalLength:r,n)+"";return{original:e,numbers:e.match(t)?e.match(t).map(Number):[0],strings:d.str(r)||n?e.split(t):[]}}function ir(r){var n=r?A(d.arr(r)?r.map(F):F(r)):[];return x(n,(function(r,n,t){return t.indexOf(r)===n}))}function ar(r){var n=ir(r);return n.map((function(r,t){return{target:r,id:t,total:n.length,transforms:{list:Y(r)}}}))}function ur(r,n){var t=k(n);if(/^spring/.test(t.easing)){t.duration=m(t.easing)}if(d.arr(r)){var e=r.length;var i=e===2&&!d.obj(r[0]);if(!i){if(!d.fnc(n.duration)){t.duration=n.duration/e}}else{r={value:r}}}var a=d.arr(r)?r:[r];return a.map((function(r,t){var e=d.obj(r)&&!d.pth(r)?r:{value:r};if(d.und(e.delay)){e.delay=!t?n.delay:0}if(d.und(e.endDelay)){e.endDelay=t===a.length-1?n.endDelay:0}return e})).map((function(r){return B(r,t)}))}function or(r){var n=x(A(r.map((function(r){return Object.keys(r)}))),(function(r){return d.key(r)})).reduce((function(r,n){if(r.indexOf(n)<0){r.push(n)}return r}),[]);var t={};var e=function(e){var i=n[e];t[i]=r.map((function(r){var n={};for(var t in r){if(d.key(t)){if(t==i){n.value=r[t]}}else{n[t]=r[t]}}return n}))};for(var i=0;i<n.length;i++)e(i);return t}function fr(r,n){var t=[];var e=n.keyframes;if(e){n=B(or(e),n)}for(var i in n){if(d.key(i)){t.push({name:i,tweens:ur(n[i],r)})}}return t}function vr(r,n){var t={};for(var e in r){var i=z(r[e],n);if(d.arr(i)){i=i.map((function(r){return z(r,n)}));if(i.length===1){i=i[0]}}t[e]=i}t.duration=parseFloat(t.duration);t.delay=parseFloat(t.delay);return t}function cr(r,n){var t;return r.tweens.map((function(e){var i=vr(e,n);var a=i.value;var u=d.arr(a)?a[1]:a;var o=N(u);var f=_(n.target,r.name,o,n);var v=t?t.to.original:f;var c=d.arr(a)?a[0]:v;var s=N(c)||N(f);var l=o||s;if(d.und(u)){u=v}i.from=er(c,l);i.to=er(Q(u,c),l);i.start=t?t.end:0;i.end=i.start+i.delay+i.duration+i.endDelay;i.easing=y(i.easing,i.duration);i.isPath=d.pth(a);i.isPathTargetInsideSVG=i.isPath&&d.svg(n.target);i.isColor=d.col(i.from.original);if(i.isColor){i.round=1}t=i;return i}))}var sr={css:function(r,n,t){return r.style[n]=t},attribute:function(r,n,t){return r.setAttribute(n,t)},object:function(r,n,t){return r[n]=t},transform:function(r,n,t,e,i){e.list.set(n,t);if(n===e.last||i){var a="";e.list.forEach((function(r,n){a+=n+"("+r+") "}));r.style.transform=a}}};function lr(r,n){var t=ar(r);t.forEach((function(r){for(var t in n){var e=z(n[t],r);var i=r.target;var a=N(e);var u=_(i,t,a,r);var o=a||N(u);var f=Q(q(e,o),u);var v=X(i,t);sr[v](i,t,f,r.transforms,true)}}))}function hr(r,n){var t=X(r.target,n.name);if(t){var e=cr(n,r);var i=e[e.length-1];return{type:t,property:n.name,animatable:r,tweens:e,duration:i.end,delay:e[0].delay,endDelay:i.endDelay}}}function dr(r,n){return x(A(r.map((function(r){return n.map((function(n){return hr(r,n)}))}))),(function(r){return!d.und(r)}))}function pr(r,n){var t=r.length;var e=function(r){return r.timelineOffset?r.timelineOffset:0};var i={};i.duration=t?Math.max.apply(Math,r.map((function(r){return e(r)+r.duration}))):n.duration;i.delay=t?Math.min.apply(Math,r.map((function(r){return e(r)+r.delay}))):n.delay;i.endDelay=t?i.duration-Math.max.apply(Math,r.map((function(r){return e(r)+r.duration-r.endDelay}))):n.endDelay;return i}var mr=0;function gr(r){var n=I(o,r);var t=I(f,r);var e=fr(t,r);var i=ar(r.targets);var a=dr(i,e);var u=pr(a,t);var v=mr;mr++;return B(n,{id:v,children:[],animatables:i,animations:a,duration:u.duration,delay:u.delay,endDelay:u.endDelay})}var br=[];var Mr=function(){var r;function n(){if(!r&&(!yr()||!wr.suspendWhenDocumentHidden)&&br.length>0){r=requestAnimationFrame(t)}}function t(n){var e=br.length;var i=0;while(i<e){var a=br[i];if(!a.paused){a.tick(n);i++}else{br.splice(i,1);e--}}r=i>0?requestAnimationFrame(t):undefined}function e(){if(!wr.suspendWhenDocumentHidden){return}if(yr()){r=cancelAnimationFrame(r)}else{br.forEach((function(r){return r._onDocumentVisibility()}));Mr()}}if(typeof document!=="undefined"){document.addEventListener("visibilitychange",e)}return n}();function yr(){return!!document&&document.hidden}function wr(r){if(r===void 0)r={};var n=0,t=0,e=0;var i,a=0;var u=null;function o(r){var n=window.Promise&&new Promise((function(r){return u=r}));r.finished=n;return n}var f=gr(r);o(f);function v(){var r=f.direction;if(r!=="alternate"){f.direction=r!=="normal"?"normal":"reverse"}f.reversed=!f.reversed;i.forEach((function(r){return r.reversed=f.reversed}))}function c(r){return f.reversed?f.duration-r:r}function l(){n=0;t=c(f.currentTime)*(1/wr.speed)}function h(r,n){if(n){n.seek(r-n.timelineOffset)}}function d(r){if(!f.reversePlayback){for(var n=0;n<a;n++){h(r,i[n])}}else{for(var t=a;t--;){h(r,i[t])}}}function p(r){var n=0;var t=f.animations;var e=t.length;while(n<e){var i=t[n];var a=i.animatable;var u=i.tweens;var o=u.length-1;var v=u[o];if(o){v=x(u,(function(n){return r<n.end}))[0]||v}var c=s(r-v.start-v.delay,0,v.duration)/v.duration;var l=isNaN(c)?1:v.easing(c);var h=v.to.strings;var d=v.round;var p=[];var m=v.to.numbers.length;var g=void 0;for(var b=0;b<m;b++){var M=void 0;var y=v.to.numbers[b];var w=v.from.numbers[b]||0;if(!v.isPath){M=w+l*(y-w)}else{M=tr(v.value,l*y,v.isPathTargetInsideSVG)}if(d){if(!(v.isColor&&b>2)){M=Math.round(M*d)/d}}p.push(M)}var A=h.length;if(!A){g=p[0]}else{g=h[0];for(var F=0;F<A;F++){var O=h[F+1];var k=p[F];if(!isNaN(k)){if(!O){g+=k+" "}else{g+=k+O}}}}sr[i.type](a.target,i.property,g,a.transforms);i.currentValue=g;n++}}function m(r){if(f[r]&&!f.passThrough){f[r](f)}}function g(){if(f.remaining&&f.remaining!==true){f.remaining--}}function b(r){var a=f.duration;var l=f.delay;var h=a-f.endDelay;var b=c(r);f.progress=s(b/a*100,0,100);f.reversePlayback=b<f.currentTime;if(i){d(b)}if(!f.began&&f.currentTime>0){f.began=true;m("begin")}if(!f.loopBegan&&f.currentTime>0){f.loopBegan=true;m("loopBegin")}if(b<=l&&f.currentTime!==0){p(0)}if(b>=h&&f.currentTime!==a||!a){p(a)}if(b>l&&b<h){if(!f.changeBegan){f.changeBegan=true;f.changeCompleted=false;m("changeBegin")}m("change");p(b)}else{if(f.changeBegan){f.changeCompleted=true;f.changeBegan=false;m("changeComplete")}}f.currentTime=s(b,0,a);if(f.began){m("update")}if(r>=a){t=0;g();if(!f.remaining){f.paused=true;if(!f.completed){f.completed=true;m("loopComplete");m("complete");if(!f.passThrough&&"Promise"in window){u();o(f)}}}else{n=e;m("loopComplete");f.loopBegan=false;if(f.direction==="alternate"){v()}}}}f.reset=function(){var r=f.direction;f.passThrough=false;f.currentTime=0;f.progress=0;f.paused=true;f.began=false;f.loopBegan=false;f.changeBegan=false;f.completed=false;f.changeCompleted=false;f.reversePlayback=false;f.reversed=r==="reverse";f.remaining=f.loop;i=f.children;a=i.length;for(var n=a;n--;){f.children[n].reset()}if(f.reversed&&f.loop!==true||r==="alternate"&&f.loop===1){f.remaining++}p(f.reversed?f.duration:0)};f._onDocumentVisibility=l;f.set=function(r,n){lr(r,n);return f};f.tick=function(r){e=r;if(!n){n=e}b((e+(t-n))*wr.speed)};f.seek=function(r){b(c(r))};f.pause=function(){f.paused=true;l()};f.play=function(){if(!f.paused){return}if(f.completed){f.reset()}f.paused=false;br.push(f);l();Mr()};f.reverse=function(){v();f.completed=f.reversed?false:true;l()};f.restart=function(){f.reset();f.play()};f.remove=function(r){var n=ir(r);Ar(n,f)};f.reset();if(f.autoplay){f.play()}return f}function xr(r,n){for(var t=n.length;t--;){if(O(r,n[t].animatable.target)){n.splice(t,1)}}}function Ar(r,n){var t=n.animations;var e=n.children;xr(r,t);for(var i=e.length;i--;){var a=e[i];var u=a.animations;xr(r,u);if(!u.length&&!a.children.length){e.splice(i,1)}}if(!t.length&&!e.length){n.pause()}}function Fr(r){var n=ir(r);for(var t=br.length;t--;){var e=br[t];Ar(n,e)}}function Or(r,n){if(n===void 0)n={};var t=n.direction||"normal";var e=n.easing?y(n.easing):null;var i=n.grid;var a=n.axis;var u=n.from||0;var o=u==="first";var f=u==="center";var v=u==="last";var c=d.arr(r);var s=c?parseFloat(r[0]):parseFloat(r);var l=c?parseFloat(r[1]):0;var h=N(c?r[1]:r)||0;var p=n.start||0+(c?s:0);var m=[];var g=0;return function(r,n,d){if(o){u=0}if(f){u=(d-1)/2}if(v){u=d-1}if(!m.length){for(var b=0;b<d;b++){if(!i){m.push(Math.abs(u-b))}else{var M=!f?u%i[0]:(i[0]-1)/2;var y=!f?Math.floor(u/i[0]):(i[1]-1)/2;var w=b%i[0];var x=Math.floor(b/i[0]);var A=M-w;var F=y-x;var O=Math.sqrt(A*A+F*F);if(a==="x"){O=-A}if(a==="y"){O=-F}m.push(O)}g=Math.max.apply(Math,m)}if(e){m=m.map((function(r){return e(r/g)*g}))}if(t==="reverse"){m=m.map((function(r){return a?r<0?r*-1:-r:Math.abs(g-r)}))}}var k=c?(l-s)/g:s;return p+k*(Math.round(m[n]*100)/100)+h}}function kr(r){if(r===void 0)r={};var n=wr(r);n.duration=0;n.add=function(t,e){var i=br.indexOf(n);var a=n.children;if(i>-1){br.splice(i,1)}function u(r){r.passThrough=true}for(var o=0;o<a.length;o++){u(a[o])}var v=B(t,I(f,r));v.targets=v.targets||r.targets;var c=n.duration;v.autoplay=false;v.direction=n.direction;v.timelineOffset=d.und(e)?c:Q(e,c);u(n);n.seek(v.timelineOffset);var s=wr(v);u(s);a.push(s);var l=pr(a,r);n.delay=l.delay;n.endDelay=l.endDelay;n.duration=l.duration;n.seek(0);n.reset();if(n.autoplay){n.play()}return n};return n}wr.version="3.2.1";wr.speed=1;wr.suspendWhenDocumentHidden=true;wr.running=br;wr.remove=Fr;wr.get=_;wr.set=lr;wr.convertPx=S;wr.path=nr;wr.setDashoffset=K;wr.stagger=Or;wr.timeline=kr;wr.easing=y;wr.penner=M;wr.random=function(r,n){return Math.floor(Math.random()*(n-r+1))+r};const Ir=":host{display:block;overflow-y:hidden}:host(.dso-hide){display:none}:host(:not(.dso-animate-ready)){position:absolute;visibility:hidden}:host([open]){position:inherit;visibility:inherit}*,*::after,*::before{box-sizing:border-box}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}";const Br=class{constructor(t){r(this,t);this._animationInstantiated=n(this,"_animationInstantiated",7);this.open=undefined;this.enableAnimation=false;this.minimumHeight=undefined;this.animationReady=false}toggleOpen(){if(this.enableAnimation){this.activateAnimation()}}toggleEnableAnimation(r){var n;if(r){this.prepareAnimationResizeObserver();this.activateObserver()}else{(n=this.resizeObserver)===null||n===void 0?void 0:n.disconnect();delete this.animeInstance;this.host.removeAttribute("style")}}async _getAnimeInstance(){return this.animeInstance}async _getBodyHeight(){return this.bodyHeight}componentWillLoad(){if(this.enableAnimation){this.prepareAnimationResizeObserver()}}componentDidLoad(){this.activateObserver()}activateObserver(){var r;const n=this.host.querySelector(`[slot="expandable-content"]`);if(n){(r=this.resizeObserver)===null||r===void 0?void 0:r.observe(n)}}disconnectedCallback(){var r;(r=this.resizeObserver)===null||r===void 0?void 0:r.disconnect()}render(){return t(e,{"aria-hidden":this.open?"false":"true",class:a({"dso-animate-ready":this.enableAnimation&&this.animationReady,"dso-hide":!this.enableAnimation&&!this.open})},t("slot",{name:"expandable-content"}))}prepareAnimationResizeObserver(){this.resizeObserver=new ResizeObserver(u((([r])=>{if(!r){throw new Error("No entry found")}const n=r.target.getBoundingClientRect().height;if(this.bodyHeight!==n){this.bodyHeight=n}this.instantiateAnimation()}),150))}instantiateAnimation(){var r;this.animeInstance=wr({targets:this.host,height:(r=this.minimumHeight)!==null&&r!==void 0?r:0,easing:"cubicBezier(0.4, 0, 0.2, 1)",duration:260,autoplay:false,direction:"normal",begin:()=>{if(this.host){if(this.open){this.host.style.visibility="";this.host.style.position="";this.host.style.bottom=""}}},complete:()=>{if(this.host){this.host.style.height="";if(!this.open){this.host.style.visibility="hidden";this.host.style.position="absolute";this.host.style.bottom="100%"}}}});if(!this.open){this.animeInstance.reverse();this.animeInstance.play()}if(this.host){this.host.style.height=""}this.animationReady=!!this.animeInstance;this._animationInstantiated.emit()}activateAnimation(){if(this.animeInstance){if(this.animeInstance.progress>0&&this.animeInstance.progress<100){this.animeInstance.reverse()}else{if(this.open){this.animeInstance.direction="reverse";this.animeInstance.play()}else{this.animeInstance.direction="normal";this.animeInstance.play()}}}}get host(){return i(this)}static get watchers(){return{open:["toggleOpen"],enableAnimation:["toggleEnableAnimation"]}}};Br.style=Ir;export{Br as dso_expandable};
|
|
2
|
+
//# sourceMappingURL=p-7098eb9d.entry.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["defaultInstanceSettings","update","begin","loopBegin","changeBegin","change","changeComplete","loopComplete","complete","loop","direction","autoplay","timelineOffset","defaultTweenSettings","duration","delay","endDelay","easing","round","validTransforms","cache","CSS","springs","minMax","val","min","max","Math","stringContains","str","text","indexOf","applyArguments","func","args","apply","is","arr","a","Array","isArray","obj","Object","prototype","toString","call","pth","hasOwnProperty","svg","SVGElement","inp","HTMLInputElement","dom","nodeType","fnc","und","nil","hex","test","rgb","hsl","col","key","parseEasingParameters","string","match","exec","split","map","p","parseFloat","spring","params","mass","stiffness","damping","velocity","w0","sqrt","zeta","wd","b","solver","t","progress","exp","cos","sin","getDuration","cached","frame","elapsed","rest","steps","ceil","bezier","kSplineTableSize","kSampleStepSize","A","aA1","aA2","B","C","calcBezier","aT","getSlope","binarySubdivide","aX","aA","aB","mX1","mX2","currentX","currentT","i","abs","newtonRaphsonIterate","aGuessT","currentSlope","mY1","mY2","sampleValues","Float32Array","getTForX","intervalStart","currentSample","lastSample","dist","guessForT","initialSlope","x","penner","eases","linear","functionEasings","Sine","PI","Circ","Back","Bounce","pow2","pow","Elastic","amplitude","period","asin","baseEasings","forEach","name","keys","easeIn","parseEasings","ease","selectString","nodes","document","querySelectorAll","e","filterArray","callback","len","length","thisArg","arguments","result","push","flattenArray","reduce","concat","toArray","o","NodeList","HTMLCollection","slice","arrayContains","some","cloneObject","clone","replaceObjectProps","o1","o2","mergeObjects","rgbToRgba","rgbValue","hexToRgba","hexValue","rgx","replace","m","r","g","parseInt","hslToRgba","hslValue","h","s","l","hue2rgb","q","colorToRgb","getUnit","getTransformUnit","propName","getFunctionValue","animatable","target","id","total","getAttribute","el","prop","convertPxToUnit","value","unit","valueUnit","baseline","tempEl","createElement","tagName","parentEl","parentNode","body","appendChild","style","position","width","factor","offsetWidth","removeChild","convertedUnit","getCSSValue","uppercasePropName","toLowerCase","getComputedStyle","getPropertyValue","getAnimationType","getElementTransforms","transform","reg","transforms","Map","set","getTransformValue","defaultVal","get","list","getOriginalTargetValue","getRelativeValue","to","from","operator","u","y","validateValue","originalUnit","unitLess","substr","getDistance","p1","p2","getCircleLength","getRectLength","getLineLength","getPolylineLength","points","totalLength","previousPos","numberOfItems","currentPos","getItem","getPolygonLength","getTotalLength","setDashoffset","pathLength","setAttribute","getParentSvgEl","getParentSvg","pathEl","svgData","parentSvgEl","rect","getBoundingClientRect","viewBoxAttr","height","viewBox","w","vW","vH","getPath","path","percent","property","getPathProgress","isPathTargetInsideSVG","point","offset","getPointAtLength","p0","scaleX","scaleY","atan2","decomposeValue","original","numbers","Number","strings","parseTargets","targets","targetsArray","item","pos","self","getAnimatables","parsed","normalizePropertyTweens","tweenSettings","settings","isFromTo","propArray","v","k","flattenKeyframes","keyframes","propertyNames","properties","newKey","getProperties","tweens","normalizeTweenValues","tween","normalizeTweens","previousTween","tweenValue","toUnit","originalValue","previousValue","fromUnit","start","end","isPath","isColor","setProgressValue","css","attribute","object","manual","last","setTargetsValue","animatables","animType","createAnimation","lastTween","type","getAnimations","getInstanceTimings","animations","animLength","getTlOffset","anim","timings","instanceID","createNewInstance","instanceSettings","children","activeInstances","engine","raf","play","isDocumentHidden","anime","suspendWhenDocumentHidden","requestAnimationFrame","step","activeInstancesLength","activeInstance","paused","tick","splice","undefined","handleVisibilityChange","cancelAnimationFrame","instance","_onDocumentVisibility","addEventListener","hidden","startTime","lastTime","now","childrenLength","resolve","makePromise","promise","window","Promise","_resolve","finished","toggleInstanceDirection","reversed","child","adjustTime","time","resetTime","currentTime","speed","seekChild","seek","syncInstanceChildren","reversePlayback","i$1","setAnimationsProgress","insTime","animationsLength","tweenLength","eased","isNaN","toNumbersLength","n","toNumber","fromNumber","stringsLength","n$1","currentValue","setCallback","cb","passThrough","countIteration","remaining","setInstanceProgress","engineTime","insDuration","insDelay","insEndDelay","began","loopBegan","changeBegan","changeCompleted","completed","reset","pause","reverse","restart","remove","removeTargetsFromInstance","removeTargetsFromAnimations","c","childAnimations","removeTargetsFromActiveInstances","stagger","grid","axis","fromIndex","fromFirst","fromCenter","fromLast","isRange","val1","val2","values","maxValue","index","fromX","fromY","floor","toX","toY","distanceX","distanceY","spacing","timeline","tl","add","instanceParams","tlIndex","ins","insParams","tlDuration","version","running","convertPx","random","expandableCss","Expandable","toggleOpen","this","enableAnimation","activateAnimation","toggleEnableAnimation","prepareAnimationResizeObserver","activateObserver","_a","resizeObserver","disconnect","animeInstance","host","removeAttribute","async","bodyHeight","componentWillLoad","componentDidLoad","bodyContentElement","querySelector","observe","disconnectedCallback","render","Host","open","class","clsx","animationReady","ResizeObserver","debounce","entry","Error","instantiateAnimation","minimumHeight","visibility","bottom","_animationInstantiated","emit"],"sources":["../../node_modules/animejs/lib/anime.es.js","./src/components/expandable/expandable.scss?tag=dso-expandable&encapsulation=shadow","./src/components/expandable/expandable.tsx"],"sourcesContent":["/*\n * anime.js v3.2.1\n * (c) 2020 Julian Garnier\n * Released under the MIT license\n * animejs.com\n */\n\n// Defaults\n\nvar defaultInstanceSettings = {\n update: null,\n begin: null,\n loopBegin: null,\n changeBegin: null,\n change: null,\n changeComplete: null,\n loopComplete: null,\n complete: null,\n loop: 1,\n direction: 'normal',\n autoplay: true,\n timelineOffset: 0\n};\n\nvar defaultTweenSettings = {\n duration: 1000,\n delay: 0,\n endDelay: 0,\n easing: 'easeOutElastic(1, .5)',\n round: 0\n};\n\nvar validTransforms = ['translateX', 'translateY', 'translateZ', 'rotate', 'rotateX', 'rotateY', 'rotateZ', 'scale', 'scaleX', 'scaleY', 'scaleZ', 'skew', 'skewX', 'skewY', 'perspective', 'matrix', 'matrix3d'];\n\n// Caching\n\nvar cache = {\n CSS: {},\n springs: {}\n};\n\n// Utils\n\nfunction minMax(val, min, max) {\n return Math.min(Math.max(val, min), max);\n}\n\nfunction stringContains(str, text) {\n return str.indexOf(text) > -1;\n}\n\nfunction applyArguments(func, args) {\n return func.apply(null, args);\n}\n\nvar is = {\n arr: function (a) { return Array.isArray(a); },\n obj: function (a) { return stringContains(Object.prototype.toString.call(a), 'Object'); },\n pth: function (a) { return is.obj(a) && a.hasOwnProperty('totalLength'); },\n svg: function (a) { return a instanceof SVGElement; },\n inp: function (a) { return a instanceof HTMLInputElement; },\n dom: function (a) { return a.nodeType || is.svg(a); },\n str: function (a) { return typeof a === 'string'; },\n fnc: function (a) { return typeof a === 'function'; },\n und: function (a) { return typeof a === 'undefined'; },\n nil: function (a) { return is.und(a) || a === null; },\n hex: function (a) { return /(^#[0-9A-F]{6}$)|(^#[0-9A-F]{3}$)/i.test(a); },\n rgb: function (a) { return /^rgb/.test(a); },\n hsl: function (a) { return /^hsl/.test(a); },\n col: function (a) { return (is.hex(a) || is.rgb(a) || is.hsl(a)); },\n key: function (a) { return !defaultInstanceSettings.hasOwnProperty(a) && !defaultTweenSettings.hasOwnProperty(a) && a !== 'targets' && a !== 'keyframes'; },\n};\n\n// Easings\n\nfunction parseEasingParameters(string) {\n var match = /\\(([^)]+)\\)/.exec(string);\n return match ? match[1].split(',').map(function (p) { return parseFloat(p); }) : [];\n}\n\n// Spring solver inspired by Webkit Copyright © 2016 Apple Inc. All rights reserved. https://webkit.org/demos/spring/spring.js\n\nfunction spring(string, duration) {\n\n var params = parseEasingParameters(string);\n var mass = minMax(is.und(params[0]) ? 1 : params[0], .1, 100);\n var stiffness = minMax(is.und(params[1]) ? 100 : params[1], .1, 100);\n var damping = minMax(is.und(params[2]) ? 10 : params[2], .1, 100);\n var velocity = minMax(is.und(params[3]) ? 0 : params[3], .1, 100);\n var w0 = Math.sqrt(stiffness / mass);\n var zeta = damping / (2 * Math.sqrt(stiffness * mass));\n var wd = zeta < 1 ? w0 * Math.sqrt(1 - zeta * zeta) : 0;\n var a = 1;\n var b = zeta < 1 ? (zeta * w0 + -velocity) / wd : -velocity + w0;\n\n function solver(t) {\n var progress = duration ? (duration * t) / 1000 : t;\n if (zeta < 1) {\n progress = Math.exp(-progress * zeta * w0) * (a * Math.cos(wd * progress) + b * Math.sin(wd * progress));\n } else {\n progress = (a + b * progress) * Math.exp(-progress * w0);\n }\n if (t === 0 || t === 1) { return t; }\n return 1 - progress;\n }\n\n function getDuration() {\n var cached = cache.springs[string];\n if (cached) { return cached; }\n var frame = 1/6;\n var elapsed = 0;\n var rest = 0;\n while(true) {\n elapsed += frame;\n if (solver(elapsed) === 1) {\n rest++;\n if (rest >= 16) { break; }\n } else {\n rest = 0;\n }\n }\n var duration = elapsed * frame * 1000;\n cache.springs[string] = duration;\n return duration;\n }\n\n return duration ? solver : getDuration;\n\n}\n\n// Basic steps easing implementation https://developer.mozilla.org/fr/docs/Web/CSS/transition-timing-function\n\nfunction steps(steps) {\n if ( steps === void 0 ) steps = 10;\n\n return function (t) { return Math.ceil((minMax(t, 0.000001, 1)) * steps) * (1 / steps); };\n}\n\n// BezierEasing https://github.com/gre/bezier-easing\n\nvar bezier = (function () {\n\n var kSplineTableSize = 11;\n var kSampleStepSize = 1.0 / (kSplineTableSize - 1.0);\n\n function A(aA1, aA2) { return 1.0 - 3.0 * aA2 + 3.0 * aA1 }\n function B(aA1, aA2) { return 3.0 * aA2 - 6.0 * aA1 }\n function C(aA1) { return 3.0 * aA1 }\n\n function calcBezier(aT, aA1, aA2) { return ((A(aA1, aA2) * aT + B(aA1, aA2)) * aT + C(aA1)) * aT }\n function getSlope(aT, aA1, aA2) { return 3.0 * A(aA1, aA2) * aT * aT + 2.0 * B(aA1, aA2) * aT + C(aA1) }\n\n function binarySubdivide(aX, aA, aB, mX1, mX2) {\n var currentX, currentT, i = 0;\n do {\n currentT = aA + (aB - aA) / 2.0;\n currentX = calcBezier(currentT, mX1, mX2) - aX;\n if (currentX > 0.0) { aB = currentT; } else { aA = currentT; }\n } while (Math.abs(currentX) > 0.0000001 && ++i < 10);\n return currentT;\n }\n\n function newtonRaphsonIterate(aX, aGuessT, mX1, mX2) {\n for (var i = 0; i < 4; ++i) {\n var currentSlope = getSlope(aGuessT, mX1, mX2);\n if (currentSlope === 0.0) { return aGuessT; }\n var currentX = calcBezier(aGuessT, mX1, mX2) - aX;\n aGuessT -= currentX / currentSlope;\n }\n return aGuessT;\n }\n\n function bezier(mX1, mY1, mX2, mY2) {\n\n if (!(0 <= mX1 && mX1 <= 1 && 0 <= mX2 && mX2 <= 1)) { return; }\n var sampleValues = new Float32Array(kSplineTableSize);\n\n if (mX1 !== mY1 || mX2 !== mY2) {\n for (var i = 0; i < kSplineTableSize; ++i) {\n sampleValues[i] = calcBezier(i * kSampleStepSize, mX1, mX2);\n }\n }\n\n function getTForX(aX) {\n\n var intervalStart = 0;\n var currentSample = 1;\n var lastSample = kSplineTableSize - 1;\n\n for (; currentSample !== lastSample && sampleValues[currentSample] <= aX; ++currentSample) {\n intervalStart += kSampleStepSize;\n }\n\n --currentSample;\n\n var dist = (aX - sampleValues[currentSample]) / (sampleValues[currentSample + 1] - sampleValues[currentSample]);\n var guessForT = intervalStart + dist * kSampleStepSize;\n var initialSlope = getSlope(guessForT, mX1, mX2);\n\n if (initialSlope >= 0.001) {\n return newtonRaphsonIterate(aX, guessForT, mX1, mX2);\n } else if (initialSlope === 0.0) {\n return guessForT;\n } else {\n return binarySubdivide(aX, intervalStart, intervalStart + kSampleStepSize, mX1, mX2);\n }\n\n }\n\n return function (x) {\n if (mX1 === mY1 && mX2 === mY2) { return x; }\n if (x === 0 || x === 1) { return x; }\n return calcBezier(getTForX(x), mY1, mY2);\n }\n\n }\n\n return bezier;\n\n})();\n\nvar penner = (function () {\n\n // Based on jQuery UI's implemenation of easing equations from Robert Penner (http://www.robertpenner.com/easing)\n\n var eases = { linear: function () { return function (t) { return t; }; } };\n\n var functionEasings = {\n Sine: function () { return function (t) { return 1 - Math.cos(t * Math.PI / 2); }; },\n Circ: function () { return function (t) { return 1 - Math.sqrt(1 - t * t); }; },\n Back: function () { return function (t) { return t * t * (3 * t - 2); }; },\n Bounce: function () { return function (t) {\n var pow2, b = 4;\n while (t < (( pow2 = Math.pow(2, --b)) - 1) / 11) {}\n return 1 / Math.pow(4, 3 - b) - 7.5625 * Math.pow(( pow2 * 3 - 2 ) / 22 - t, 2)\n }; },\n Elastic: function (amplitude, period) {\n if ( amplitude === void 0 ) amplitude = 1;\n if ( period === void 0 ) period = .5;\n\n var a = minMax(amplitude, 1, 10);\n var p = minMax(period, .1, 2);\n return function (t) {\n return (t === 0 || t === 1) ? t : \n -a * Math.pow(2, 10 * (t - 1)) * Math.sin((((t - 1) - (p / (Math.PI * 2) * Math.asin(1 / a))) * (Math.PI * 2)) / p);\n }\n }\n };\n\n var baseEasings = ['Quad', 'Cubic', 'Quart', 'Quint', 'Expo'];\n\n baseEasings.forEach(function (name, i) {\n functionEasings[name] = function () { return function (t) { return Math.pow(t, i + 2); }; };\n });\n\n Object.keys(functionEasings).forEach(function (name) {\n var easeIn = functionEasings[name];\n eases['easeIn' + name] = easeIn;\n eases['easeOut' + name] = function (a, b) { return function (t) { return 1 - easeIn(a, b)(1 - t); }; };\n eases['easeInOut' + name] = function (a, b) { return function (t) { return t < 0.5 ? easeIn(a, b)(t * 2) / 2 : \n 1 - easeIn(a, b)(t * -2 + 2) / 2; }; };\n eases['easeOutIn' + name] = function (a, b) { return function (t) { return t < 0.5 ? (1 - easeIn(a, b)(1 - t * 2)) / 2 : \n (easeIn(a, b)(t * 2 - 1) + 1) / 2; }; };\n });\n\n return eases;\n\n})();\n\nfunction parseEasings(easing, duration) {\n if (is.fnc(easing)) { return easing; }\n var name = easing.split('(')[0];\n var ease = penner[name];\n var args = parseEasingParameters(easing);\n switch (name) {\n case 'spring' : return spring(easing, duration);\n case 'cubicBezier' : return applyArguments(bezier, args);\n case 'steps' : return applyArguments(steps, args);\n default : return applyArguments(ease, args);\n }\n}\n\n// Strings\n\nfunction selectString(str) {\n try {\n var nodes = document.querySelectorAll(str);\n return nodes;\n } catch(e) {\n return;\n }\n}\n\n// Arrays\n\nfunction filterArray(arr, callback) {\n var len = arr.length;\n var thisArg = arguments.length >= 2 ? arguments[1] : void 0;\n var result = [];\n for (var i = 0; i < len; i++) {\n if (i in arr) {\n var val = arr[i];\n if (callback.call(thisArg, val, i, arr)) {\n result.push(val);\n }\n }\n }\n return result;\n}\n\nfunction flattenArray(arr) {\n return arr.reduce(function (a, b) { return a.concat(is.arr(b) ? flattenArray(b) : b); }, []);\n}\n\nfunction toArray(o) {\n if (is.arr(o)) { return o; }\n if (is.str(o)) { o = selectString(o) || o; }\n if (o instanceof NodeList || o instanceof HTMLCollection) { return [].slice.call(o); }\n return [o];\n}\n\nfunction arrayContains(arr, val) {\n return arr.some(function (a) { return a === val; });\n}\n\n// Objects\n\nfunction cloneObject(o) {\n var clone = {};\n for (var p in o) { clone[p] = o[p]; }\n return clone;\n}\n\nfunction replaceObjectProps(o1, o2) {\n var o = cloneObject(o1);\n for (var p in o1) { o[p] = o2.hasOwnProperty(p) ? o2[p] : o1[p]; }\n return o;\n}\n\nfunction mergeObjects(o1, o2) {\n var o = cloneObject(o1);\n for (var p in o2) { o[p] = is.und(o1[p]) ? o2[p] : o1[p]; }\n return o;\n}\n\n// Colors\n\nfunction rgbToRgba(rgbValue) {\n var rgb = /rgb\\((\\d+,\\s*[\\d]+,\\s*[\\d]+)\\)/g.exec(rgbValue);\n return rgb ? (\"rgba(\" + (rgb[1]) + \",1)\") : rgbValue;\n}\n\nfunction hexToRgba(hexValue) {\n var rgx = /^#?([a-f\\d])([a-f\\d])([a-f\\d])$/i;\n var hex = hexValue.replace(rgx, function (m, r, g, b) { return r + r + g + g + b + b; } );\n var rgb = /^#?([a-f\\d]{2})([a-f\\d]{2})([a-f\\d]{2})$/i.exec(hex);\n var r = parseInt(rgb[1], 16);\n var g = parseInt(rgb[2], 16);\n var b = parseInt(rgb[3], 16);\n return (\"rgba(\" + r + \",\" + g + \",\" + b + \",1)\");\n}\n\nfunction hslToRgba(hslValue) {\n var hsl = /hsl\\((\\d+),\\s*([\\d.]+)%,\\s*([\\d.]+)%\\)/g.exec(hslValue) || /hsla\\((\\d+),\\s*([\\d.]+)%,\\s*([\\d.]+)%,\\s*([\\d.]+)\\)/g.exec(hslValue);\n var h = parseInt(hsl[1], 10) / 360;\n var s = parseInt(hsl[2], 10) / 100;\n var l = parseInt(hsl[3], 10) / 100;\n var a = hsl[4] || 1;\n function hue2rgb(p, q, t) {\n if (t < 0) { t += 1; }\n if (t > 1) { t -= 1; }\n if (t < 1/6) { return p + (q - p) * 6 * t; }\n if (t < 1/2) { return q; }\n if (t < 2/3) { return p + (q - p) * (2/3 - t) * 6; }\n return p;\n }\n var r, g, b;\n if (s == 0) {\n r = g = b = l;\n } else {\n var q = l < 0.5 ? l * (1 + s) : l + s - l * s;\n var p = 2 * l - q;\n r = hue2rgb(p, q, h + 1/3);\n g = hue2rgb(p, q, h);\n b = hue2rgb(p, q, h - 1/3);\n }\n return (\"rgba(\" + (r * 255) + \",\" + (g * 255) + \",\" + (b * 255) + \",\" + a + \")\");\n}\n\nfunction colorToRgb(val) {\n if (is.rgb(val)) { return rgbToRgba(val); }\n if (is.hex(val)) { return hexToRgba(val); }\n if (is.hsl(val)) { return hslToRgba(val); }\n}\n\n// Units\n\nfunction getUnit(val) {\n var split = /[+-]?\\d*\\.?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?(%|px|pt|em|rem|in|cm|mm|ex|ch|pc|vw|vh|vmin|vmax|deg|rad|turn)?$/.exec(val);\n if (split) { return split[1]; }\n}\n\nfunction getTransformUnit(propName) {\n if (stringContains(propName, 'translate') || propName === 'perspective') { return 'px'; }\n if (stringContains(propName, 'rotate') || stringContains(propName, 'skew')) { return 'deg'; }\n}\n\n// Values\n\nfunction getFunctionValue(val, animatable) {\n if (!is.fnc(val)) { return val; }\n return val(animatable.target, animatable.id, animatable.total);\n}\n\nfunction getAttribute(el, prop) {\n return el.getAttribute(prop);\n}\n\nfunction convertPxToUnit(el, value, unit) {\n var valueUnit = getUnit(value);\n if (arrayContains([unit, 'deg', 'rad', 'turn'], valueUnit)) { return value; }\n var cached = cache.CSS[value + unit];\n if (!is.und(cached)) { return cached; }\n var baseline = 100;\n var tempEl = document.createElement(el.tagName);\n var parentEl = (el.parentNode && (el.parentNode !== document)) ? el.parentNode : document.body;\n parentEl.appendChild(tempEl);\n tempEl.style.position = 'absolute';\n tempEl.style.width = baseline + unit;\n var factor = baseline / tempEl.offsetWidth;\n parentEl.removeChild(tempEl);\n var convertedUnit = factor * parseFloat(value);\n cache.CSS[value + unit] = convertedUnit;\n return convertedUnit;\n}\n\nfunction getCSSValue(el, prop, unit) {\n if (prop in el.style) {\n var uppercasePropName = prop.replace(/([a-z])([A-Z])/g, '$1-$2').toLowerCase();\n var value = el.style[prop] || getComputedStyle(el).getPropertyValue(uppercasePropName) || '0';\n return unit ? convertPxToUnit(el, value, unit) : value;\n }\n}\n\nfunction getAnimationType(el, prop) {\n if (is.dom(el) && !is.inp(el) && (!is.nil(getAttribute(el, prop)) || (is.svg(el) && el[prop]))) { return 'attribute'; }\n if (is.dom(el) && arrayContains(validTransforms, prop)) { return 'transform'; }\n if (is.dom(el) && (prop !== 'transform' && getCSSValue(el, prop))) { return 'css'; }\n if (el[prop] != null) { return 'object'; }\n}\n\nfunction getElementTransforms(el) {\n if (!is.dom(el)) { return; }\n var str = el.style.transform || '';\n var reg = /(\\w+)\\(([^)]*)\\)/g;\n var transforms = new Map();\n var m; while (m = reg.exec(str)) { transforms.set(m[1], m[2]); }\n return transforms;\n}\n\nfunction getTransformValue(el, propName, animatable, unit) {\n var defaultVal = stringContains(propName, 'scale') ? 1 : 0 + getTransformUnit(propName);\n var value = getElementTransforms(el).get(propName) || defaultVal;\n if (animatable) {\n animatable.transforms.list.set(propName, value);\n animatable.transforms['last'] = propName;\n }\n return unit ? convertPxToUnit(el, value, unit) : value;\n}\n\nfunction getOriginalTargetValue(target, propName, unit, animatable) {\n switch (getAnimationType(target, propName)) {\n case 'transform': return getTransformValue(target, propName, animatable, unit);\n case 'css': return getCSSValue(target, propName, unit);\n case 'attribute': return getAttribute(target, propName);\n default: return target[propName] || 0;\n }\n}\n\nfunction getRelativeValue(to, from) {\n var operator = /^(\\*=|\\+=|-=)/.exec(to);\n if (!operator) { return to; }\n var u = getUnit(to) || 0;\n var x = parseFloat(from);\n var y = parseFloat(to.replace(operator[0], ''));\n switch (operator[0][0]) {\n case '+': return x + y + u;\n case '-': return x - y + u;\n case '*': return x * y + u;\n }\n}\n\nfunction validateValue(val, unit) {\n if (is.col(val)) { return colorToRgb(val); }\n if (/\\s/g.test(val)) { return val; }\n var originalUnit = getUnit(val);\n var unitLess = originalUnit ? val.substr(0, val.length - originalUnit.length) : val;\n if (unit) { return unitLess + unit; }\n return unitLess;\n}\n\n// getTotalLength() equivalent for circle, rect, polyline, polygon and line shapes\n// adapted from https://gist.github.com/SebLambla/3e0550c496c236709744\n\nfunction getDistance(p1, p2) {\n return Math.sqrt(Math.pow(p2.x - p1.x, 2) + Math.pow(p2.y - p1.y, 2));\n}\n\nfunction getCircleLength(el) {\n return Math.PI * 2 * getAttribute(el, 'r');\n}\n\nfunction getRectLength(el) {\n return (getAttribute(el, 'width') * 2) + (getAttribute(el, 'height') * 2);\n}\n\nfunction getLineLength(el) {\n return getDistance(\n {x: getAttribute(el, 'x1'), y: getAttribute(el, 'y1')}, \n {x: getAttribute(el, 'x2'), y: getAttribute(el, 'y2')}\n );\n}\n\nfunction getPolylineLength(el) {\n var points = el.points;\n var totalLength = 0;\n var previousPos;\n for (var i = 0 ; i < points.numberOfItems; i++) {\n var currentPos = points.getItem(i);\n if (i > 0) { totalLength += getDistance(previousPos, currentPos); }\n previousPos = currentPos;\n }\n return totalLength;\n}\n\nfunction getPolygonLength(el) {\n var points = el.points;\n return getPolylineLength(el) + getDistance(points.getItem(points.numberOfItems - 1), points.getItem(0));\n}\n\n// Path animation\n\nfunction getTotalLength(el) {\n if (el.getTotalLength) { return el.getTotalLength(); }\n switch(el.tagName.toLowerCase()) {\n case 'circle': return getCircleLength(el);\n case 'rect': return getRectLength(el);\n case 'line': return getLineLength(el);\n case 'polyline': return getPolylineLength(el);\n case 'polygon': return getPolygonLength(el);\n }\n}\n\nfunction setDashoffset(el) {\n var pathLength = getTotalLength(el);\n el.setAttribute('stroke-dasharray', pathLength);\n return pathLength;\n}\n\n// Motion path\n\nfunction getParentSvgEl(el) {\n var parentEl = el.parentNode;\n while (is.svg(parentEl)) {\n if (!is.svg(parentEl.parentNode)) { break; }\n parentEl = parentEl.parentNode;\n }\n return parentEl;\n}\n\nfunction getParentSvg(pathEl, svgData) {\n var svg = svgData || {};\n var parentSvgEl = svg.el || getParentSvgEl(pathEl);\n var rect = parentSvgEl.getBoundingClientRect();\n var viewBoxAttr = getAttribute(parentSvgEl, 'viewBox');\n var width = rect.width;\n var height = rect.height;\n var viewBox = svg.viewBox || (viewBoxAttr ? viewBoxAttr.split(' ') : [0, 0, width, height]);\n return {\n el: parentSvgEl,\n viewBox: viewBox,\n x: viewBox[0] / 1,\n y: viewBox[1] / 1,\n w: width,\n h: height,\n vW: viewBox[2],\n vH: viewBox[3]\n }\n}\n\nfunction getPath(path, percent) {\n var pathEl = is.str(path) ? selectString(path)[0] : path;\n var p = percent || 100;\n return function(property) {\n return {\n property: property,\n el: pathEl,\n svg: getParentSvg(pathEl),\n totalLength: getTotalLength(pathEl) * (p / 100)\n }\n }\n}\n\nfunction getPathProgress(path, progress, isPathTargetInsideSVG) {\n function point(offset) {\n if ( offset === void 0 ) offset = 0;\n\n var l = progress + offset >= 1 ? progress + offset : 0;\n return path.el.getPointAtLength(l);\n }\n var svg = getParentSvg(path.el, path.svg);\n var p = point();\n var p0 = point(-1);\n var p1 = point(+1);\n var scaleX = isPathTargetInsideSVG ? 1 : svg.w / svg.vW;\n var scaleY = isPathTargetInsideSVG ? 1 : svg.h / svg.vH;\n switch (path.property) {\n case 'x': return (p.x - svg.x) * scaleX;\n case 'y': return (p.y - svg.y) * scaleY;\n case 'angle': return Math.atan2(p1.y - p0.y, p1.x - p0.x) * 180 / Math.PI;\n }\n}\n\n// Decompose value\n\nfunction decomposeValue(val, unit) {\n // const rgx = /-?\\d*\\.?\\d+/g; // handles basic numbers\n // const rgx = /[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?/g; // handles exponents notation\n var rgx = /[+-]?\\d*\\.?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?/g; // handles exponents notation\n var value = validateValue((is.pth(val) ? val.totalLength : val), unit) + '';\n return {\n original: value,\n numbers: value.match(rgx) ? value.match(rgx).map(Number) : [0],\n strings: (is.str(val) || unit) ? value.split(rgx) : []\n }\n}\n\n// Animatables\n\nfunction parseTargets(targets) {\n var targetsArray = targets ? (flattenArray(is.arr(targets) ? targets.map(toArray) : toArray(targets))) : [];\n return filterArray(targetsArray, function (item, pos, self) { return self.indexOf(item) === pos; });\n}\n\nfunction getAnimatables(targets) {\n var parsed = parseTargets(targets);\n return parsed.map(function (t, i) {\n return {target: t, id: i, total: parsed.length, transforms: { list: getElementTransforms(t) } };\n });\n}\n\n// Properties\n\nfunction normalizePropertyTweens(prop, tweenSettings) {\n var settings = cloneObject(tweenSettings);\n // Override duration if easing is a spring\n if (/^spring/.test(settings.easing)) { settings.duration = spring(settings.easing); }\n if (is.arr(prop)) {\n var l = prop.length;\n var isFromTo = (l === 2 && !is.obj(prop[0]));\n if (!isFromTo) {\n // Duration divided by the number of tweens\n if (!is.fnc(tweenSettings.duration)) { settings.duration = tweenSettings.duration / l; }\n } else {\n // Transform [from, to] values shorthand to a valid tween value\n prop = {value: prop};\n }\n }\n var propArray = is.arr(prop) ? prop : [prop];\n return propArray.map(function (v, i) {\n var obj = (is.obj(v) && !is.pth(v)) ? v : {value: v};\n // Default delay value should only be applied to the first tween\n if (is.und(obj.delay)) { obj.delay = !i ? tweenSettings.delay : 0; }\n // Default endDelay value should only be applied to the last tween\n if (is.und(obj.endDelay)) { obj.endDelay = i === propArray.length - 1 ? tweenSettings.endDelay : 0; }\n return obj;\n }).map(function (k) { return mergeObjects(k, settings); });\n}\n\n\nfunction flattenKeyframes(keyframes) {\n var propertyNames = filterArray(flattenArray(keyframes.map(function (key) { return Object.keys(key); })), function (p) { return is.key(p); })\n .reduce(function (a,b) { if (a.indexOf(b) < 0) { a.push(b); } return a; }, []);\n var properties = {};\n var loop = function ( i ) {\n var propName = propertyNames[i];\n properties[propName] = keyframes.map(function (key) {\n var newKey = {};\n for (var p in key) {\n if (is.key(p)) {\n if (p == propName) { newKey.value = key[p]; }\n } else {\n newKey[p] = key[p];\n }\n }\n return newKey;\n });\n };\n\n for (var i = 0; i < propertyNames.length; i++) loop( i );\n return properties;\n}\n\nfunction getProperties(tweenSettings, params) {\n var properties = [];\n var keyframes = params.keyframes;\n if (keyframes) { params = mergeObjects(flattenKeyframes(keyframes), params); }\n for (var p in params) {\n if (is.key(p)) {\n properties.push({\n name: p,\n tweens: normalizePropertyTweens(params[p], tweenSettings)\n });\n }\n }\n return properties;\n}\n\n// Tweens\n\nfunction normalizeTweenValues(tween, animatable) {\n var t = {};\n for (var p in tween) {\n var value = getFunctionValue(tween[p], animatable);\n if (is.arr(value)) {\n value = value.map(function (v) { return getFunctionValue(v, animatable); });\n if (value.length === 1) { value = value[0]; }\n }\n t[p] = value;\n }\n t.duration = parseFloat(t.duration);\n t.delay = parseFloat(t.delay);\n return t;\n}\n\nfunction normalizeTweens(prop, animatable) {\n var previousTween;\n return prop.tweens.map(function (t) {\n var tween = normalizeTweenValues(t, animatable);\n var tweenValue = tween.value;\n var to = is.arr(tweenValue) ? tweenValue[1] : tweenValue;\n var toUnit = getUnit(to);\n var originalValue = getOriginalTargetValue(animatable.target, prop.name, toUnit, animatable);\n var previousValue = previousTween ? previousTween.to.original : originalValue;\n var from = is.arr(tweenValue) ? tweenValue[0] : previousValue;\n var fromUnit = getUnit(from) || getUnit(originalValue);\n var unit = toUnit || fromUnit;\n if (is.und(to)) { to = previousValue; }\n tween.from = decomposeValue(from, unit);\n tween.to = decomposeValue(getRelativeValue(to, from), unit);\n tween.start = previousTween ? previousTween.end : 0;\n tween.end = tween.start + tween.delay + tween.duration + tween.endDelay;\n tween.easing = parseEasings(tween.easing, tween.duration);\n tween.isPath = is.pth(tweenValue);\n tween.isPathTargetInsideSVG = tween.isPath && is.svg(animatable.target);\n tween.isColor = is.col(tween.from.original);\n if (tween.isColor) { tween.round = 1; }\n previousTween = tween;\n return tween;\n });\n}\n\n// Tween progress\n\nvar setProgressValue = {\n css: function (t, p, v) { return t.style[p] = v; },\n attribute: function (t, p, v) { return t.setAttribute(p, v); },\n object: function (t, p, v) { return t[p] = v; },\n transform: function (t, p, v, transforms, manual) {\n transforms.list.set(p, v);\n if (p === transforms.last || manual) {\n var str = '';\n transforms.list.forEach(function (value, prop) { str += prop + \"(\" + value + \") \"; });\n t.style.transform = str;\n }\n }\n};\n\n// Set Value helper\n\nfunction setTargetsValue(targets, properties) {\n var animatables = getAnimatables(targets);\n animatables.forEach(function (animatable) {\n for (var property in properties) {\n var value = getFunctionValue(properties[property], animatable);\n var target = animatable.target;\n var valueUnit = getUnit(value);\n var originalValue = getOriginalTargetValue(target, property, valueUnit, animatable);\n var unit = valueUnit || getUnit(originalValue);\n var to = getRelativeValue(validateValue(value, unit), originalValue);\n var animType = getAnimationType(target, property);\n setProgressValue[animType](target, property, to, animatable.transforms, true);\n }\n });\n}\n\n// Animations\n\nfunction createAnimation(animatable, prop) {\n var animType = getAnimationType(animatable.target, prop.name);\n if (animType) {\n var tweens = normalizeTweens(prop, animatable);\n var lastTween = tweens[tweens.length - 1];\n return {\n type: animType,\n property: prop.name,\n animatable: animatable,\n tweens: tweens,\n duration: lastTween.end,\n delay: tweens[0].delay,\n endDelay: lastTween.endDelay\n }\n }\n}\n\nfunction getAnimations(animatables, properties) {\n return filterArray(flattenArray(animatables.map(function (animatable) {\n return properties.map(function (prop) {\n return createAnimation(animatable, prop);\n });\n })), function (a) { return !is.und(a); });\n}\n\n// Create Instance\n\nfunction getInstanceTimings(animations, tweenSettings) {\n var animLength = animations.length;\n var getTlOffset = function (anim) { return anim.timelineOffset ? anim.timelineOffset : 0; };\n var timings = {};\n timings.duration = animLength ? Math.max.apply(Math, animations.map(function (anim) { return getTlOffset(anim) + anim.duration; })) : tweenSettings.duration;\n timings.delay = animLength ? Math.min.apply(Math, animations.map(function (anim) { return getTlOffset(anim) + anim.delay; })) : tweenSettings.delay;\n timings.endDelay = animLength ? timings.duration - Math.max.apply(Math, animations.map(function (anim) { return getTlOffset(anim) + anim.duration - anim.endDelay; })) : tweenSettings.endDelay;\n return timings;\n}\n\nvar instanceID = 0;\n\nfunction createNewInstance(params) {\n var instanceSettings = replaceObjectProps(defaultInstanceSettings, params);\n var tweenSettings = replaceObjectProps(defaultTweenSettings, params);\n var properties = getProperties(tweenSettings, params);\n var animatables = getAnimatables(params.targets);\n var animations = getAnimations(animatables, properties);\n var timings = getInstanceTimings(animations, tweenSettings);\n var id = instanceID;\n instanceID++;\n return mergeObjects(instanceSettings, {\n id: id,\n children: [],\n animatables: animatables,\n animations: animations,\n duration: timings.duration,\n delay: timings.delay,\n endDelay: timings.endDelay\n });\n}\n\n// Core\n\nvar activeInstances = [];\n\nvar engine = (function () {\n var raf;\n\n function play() {\n if (!raf && (!isDocumentHidden() || !anime.suspendWhenDocumentHidden) && activeInstances.length > 0) {\n raf = requestAnimationFrame(step);\n }\n }\n function step(t) {\n // memo on algorithm issue:\n // dangerous iteration over mutable `activeInstances`\n // (that collection may be updated from within callbacks of `tick`-ed animation instances)\n var activeInstancesLength = activeInstances.length;\n var i = 0;\n while (i < activeInstancesLength) {\n var activeInstance = activeInstances[i];\n if (!activeInstance.paused) {\n activeInstance.tick(t);\n i++;\n } else {\n activeInstances.splice(i, 1);\n activeInstancesLength--;\n }\n }\n raf = i > 0 ? requestAnimationFrame(step) : undefined;\n }\n\n function handleVisibilityChange() {\n if (!anime.suspendWhenDocumentHidden) { return; }\n\n if (isDocumentHidden()) {\n // suspend ticks\n raf = cancelAnimationFrame(raf);\n } else { // is back to active tab\n // first adjust animations to consider the time that ticks were suspended\n activeInstances.forEach(\n function (instance) { return instance ._onDocumentVisibility(); }\n );\n engine();\n }\n }\n if (typeof document !== 'undefined') {\n document.addEventListener('visibilitychange', handleVisibilityChange);\n }\n\n return play;\n})();\n\nfunction isDocumentHidden() {\n return !!document && document.hidden;\n}\n\n// Public Instance\n\nfunction anime(params) {\n if ( params === void 0 ) params = {};\n\n\n var startTime = 0, lastTime = 0, now = 0;\n var children, childrenLength = 0;\n var resolve = null;\n\n function makePromise(instance) {\n var promise = window.Promise && new Promise(function (_resolve) { return resolve = _resolve; });\n instance.finished = promise;\n return promise;\n }\n\n var instance = createNewInstance(params);\n var promise = makePromise(instance);\n\n function toggleInstanceDirection() {\n var direction = instance.direction;\n if (direction !== 'alternate') {\n instance.direction = direction !== 'normal' ? 'normal' : 'reverse';\n }\n instance.reversed = !instance.reversed;\n children.forEach(function (child) { return child.reversed = instance.reversed; });\n }\n\n function adjustTime(time) {\n return instance.reversed ? instance.duration - time : time;\n }\n\n function resetTime() {\n startTime = 0;\n lastTime = adjustTime(instance.currentTime) * (1 / anime.speed);\n }\n\n function seekChild(time, child) {\n if (child) { child.seek(time - child.timelineOffset); }\n }\n\n function syncInstanceChildren(time) {\n if (!instance.reversePlayback) {\n for (var i = 0; i < childrenLength; i++) { seekChild(time, children[i]); }\n } else {\n for (var i$1 = childrenLength; i$1--;) { seekChild(time, children[i$1]); }\n }\n }\n\n function setAnimationsProgress(insTime) {\n var i = 0;\n var animations = instance.animations;\n var animationsLength = animations.length;\n while (i < animationsLength) {\n var anim = animations[i];\n var animatable = anim.animatable;\n var tweens = anim.tweens;\n var tweenLength = tweens.length - 1;\n var tween = tweens[tweenLength];\n // Only check for keyframes if there is more than one tween\n if (tweenLength) { tween = filterArray(tweens, function (t) { return (insTime < t.end); })[0] || tween; }\n var elapsed = minMax(insTime - tween.start - tween.delay, 0, tween.duration) / tween.duration;\n var eased = isNaN(elapsed) ? 1 : tween.easing(elapsed);\n var strings = tween.to.strings;\n var round = tween.round;\n var numbers = [];\n var toNumbersLength = tween.to.numbers.length;\n var progress = (void 0);\n for (var n = 0; n < toNumbersLength; n++) {\n var value = (void 0);\n var toNumber = tween.to.numbers[n];\n var fromNumber = tween.from.numbers[n] || 0;\n if (!tween.isPath) {\n value = fromNumber + (eased * (toNumber - fromNumber));\n } else {\n value = getPathProgress(tween.value, eased * toNumber, tween.isPathTargetInsideSVG);\n }\n if (round) {\n if (!(tween.isColor && n > 2)) {\n value = Math.round(value * round) / round;\n }\n }\n numbers.push(value);\n }\n // Manual Array.reduce for better performances\n var stringsLength = strings.length;\n if (!stringsLength) {\n progress = numbers[0];\n } else {\n progress = strings[0];\n for (var s = 0; s < stringsLength; s++) {\n var a = strings[s];\n var b = strings[s + 1];\n var n$1 = numbers[s];\n if (!isNaN(n$1)) {\n if (!b) {\n progress += n$1 + ' ';\n } else {\n progress += n$1 + b;\n }\n }\n }\n }\n setProgressValue[anim.type](animatable.target, anim.property, progress, animatable.transforms);\n anim.currentValue = progress;\n i++;\n }\n }\n\n function setCallback(cb) {\n if (instance[cb] && !instance.passThrough) { instance[cb](instance); }\n }\n\n function countIteration() {\n if (instance.remaining && instance.remaining !== true) {\n instance.remaining--;\n }\n }\n\n function setInstanceProgress(engineTime) {\n var insDuration = instance.duration;\n var insDelay = instance.delay;\n var insEndDelay = insDuration - instance.endDelay;\n var insTime = adjustTime(engineTime);\n instance.progress = minMax((insTime / insDuration) * 100, 0, 100);\n instance.reversePlayback = insTime < instance.currentTime;\n if (children) { syncInstanceChildren(insTime); }\n if (!instance.began && instance.currentTime > 0) {\n instance.began = true;\n setCallback('begin');\n }\n if (!instance.loopBegan && instance.currentTime > 0) {\n instance.loopBegan = true;\n setCallback('loopBegin');\n }\n if (insTime <= insDelay && instance.currentTime !== 0) {\n setAnimationsProgress(0);\n }\n if ((insTime >= insEndDelay && instance.currentTime !== insDuration) || !insDuration) {\n setAnimationsProgress(insDuration);\n }\n if (insTime > insDelay && insTime < insEndDelay) {\n if (!instance.changeBegan) {\n instance.changeBegan = true;\n instance.changeCompleted = false;\n setCallback('changeBegin');\n }\n setCallback('change');\n setAnimationsProgress(insTime);\n } else {\n if (instance.changeBegan) {\n instance.changeCompleted = true;\n instance.changeBegan = false;\n setCallback('changeComplete');\n }\n }\n instance.currentTime = minMax(insTime, 0, insDuration);\n if (instance.began) { setCallback('update'); }\n if (engineTime >= insDuration) {\n lastTime = 0;\n countIteration();\n if (!instance.remaining) {\n instance.paused = true;\n if (!instance.completed) {\n instance.completed = true;\n setCallback('loopComplete');\n setCallback('complete');\n if (!instance.passThrough && 'Promise' in window) {\n resolve();\n promise = makePromise(instance);\n }\n }\n } else {\n startTime = now;\n setCallback('loopComplete');\n instance.loopBegan = false;\n if (instance.direction === 'alternate') {\n toggleInstanceDirection();\n }\n }\n }\n }\n\n instance.reset = function() {\n var direction = instance.direction;\n instance.passThrough = false;\n instance.currentTime = 0;\n instance.progress = 0;\n instance.paused = true;\n instance.began = false;\n instance.loopBegan = false;\n instance.changeBegan = false;\n instance.completed = false;\n instance.changeCompleted = false;\n instance.reversePlayback = false;\n instance.reversed = direction === 'reverse';\n instance.remaining = instance.loop;\n children = instance.children;\n childrenLength = children.length;\n for (var i = childrenLength; i--;) { instance.children[i].reset(); }\n if (instance.reversed && instance.loop !== true || (direction === 'alternate' && instance.loop === 1)) { instance.remaining++; }\n setAnimationsProgress(instance.reversed ? instance.duration : 0);\n };\n\n // internal method (for engine) to adjust animation timings before restoring engine ticks (rAF)\n instance._onDocumentVisibility = resetTime;\n\n // Set Value helper\n\n instance.set = function(targets, properties) {\n setTargetsValue(targets, properties);\n return instance;\n };\n\n instance.tick = function(t) {\n now = t;\n if (!startTime) { startTime = now; }\n setInstanceProgress((now + (lastTime - startTime)) * anime.speed);\n };\n\n instance.seek = function(time) {\n setInstanceProgress(adjustTime(time));\n };\n\n instance.pause = function() {\n instance.paused = true;\n resetTime();\n };\n\n instance.play = function() {\n if (!instance.paused) { return; }\n if (instance.completed) { instance.reset(); }\n instance.paused = false;\n activeInstances.push(instance);\n resetTime();\n engine();\n };\n\n instance.reverse = function() {\n toggleInstanceDirection();\n instance.completed = instance.reversed ? false : true;\n resetTime();\n };\n\n instance.restart = function() {\n instance.reset();\n instance.play();\n };\n\n instance.remove = function(targets) {\n var targetsArray = parseTargets(targets);\n removeTargetsFromInstance(targetsArray, instance);\n };\n\n instance.reset();\n\n if (instance.autoplay) { instance.play(); }\n\n return instance;\n\n}\n\n// Remove targets from animation\n\nfunction removeTargetsFromAnimations(targetsArray, animations) {\n for (var a = animations.length; a--;) {\n if (arrayContains(targetsArray, animations[a].animatable.target)) {\n animations.splice(a, 1);\n }\n }\n}\n\nfunction removeTargetsFromInstance(targetsArray, instance) {\n var animations = instance.animations;\n var children = instance.children;\n removeTargetsFromAnimations(targetsArray, animations);\n for (var c = children.length; c--;) {\n var child = children[c];\n var childAnimations = child.animations;\n removeTargetsFromAnimations(targetsArray, childAnimations);\n if (!childAnimations.length && !child.children.length) { children.splice(c, 1); }\n }\n if (!animations.length && !children.length) { instance.pause(); }\n}\n\nfunction removeTargetsFromActiveInstances(targets) {\n var targetsArray = parseTargets(targets);\n for (var i = activeInstances.length; i--;) {\n var instance = activeInstances[i];\n removeTargetsFromInstance(targetsArray, instance);\n }\n}\n\n// Stagger helpers\n\nfunction stagger(val, params) {\n if ( params === void 0 ) params = {};\n\n var direction = params.direction || 'normal';\n var easing = params.easing ? parseEasings(params.easing) : null;\n var grid = params.grid;\n var axis = params.axis;\n var fromIndex = params.from || 0;\n var fromFirst = fromIndex === 'first';\n var fromCenter = fromIndex === 'center';\n var fromLast = fromIndex === 'last';\n var isRange = is.arr(val);\n var val1 = isRange ? parseFloat(val[0]) : parseFloat(val);\n var val2 = isRange ? parseFloat(val[1]) : 0;\n var unit = getUnit(isRange ? val[1] : val) || 0;\n var start = params.start || 0 + (isRange ? val1 : 0);\n var values = [];\n var maxValue = 0;\n return function (el, i, t) {\n if (fromFirst) { fromIndex = 0; }\n if (fromCenter) { fromIndex = (t - 1) / 2; }\n if (fromLast) { fromIndex = t - 1; }\n if (!values.length) {\n for (var index = 0; index < t; index++) {\n if (!grid) {\n values.push(Math.abs(fromIndex - index));\n } else {\n var fromX = !fromCenter ? fromIndex%grid[0] : (grid[0]-1)/2;\n var fromY = !fromCenter ? Math.floor(fromIndex/grid[0]) : (grid[1]-1)/2;\n var toX = index%grid[0];\n var toY = Math.floor(index/grid[0]);\n var distanceX = fromX - toX;\n var distanceY = fromY - toY;\n var value = Math.sqrt(distanceX * distanceX + distanceY * distanceY);\n if (axis === 'x') { value = -distanceX; }\n if (axis === 'y') { value = -distanceY; }\n values.push(value);\n }\n maxValue = Math.max.apply(Math, values);\n }\n if (easing) { values = values.map(function (val) { return easing(val / maxValue) * maxValue; }); }\n if (direction === 'reverse') { values = values.map(function (val) { return axis ? (val < 0) ? val * -1 : -val : Math.abs(maxValue - val); }); }\n }\n var spacing = isRange ? (val2 - val1) / maxValue : val1;\n return start + (spacing * (Math.round(values[i] * 100) / 100)) + unit;\n }\n}\n\n// Timeline\n\nfunction timeline(params) {\n if ( params === void 0 ) params = {};\n\n var tl = anime(params);\n tl.duration = 0;\n tl.add = function(instanceParams, timelineOffset) {\n var tlIndex = activeInstances.indexOf(tl);\n var children = tl.children;\n if (tlIndex > -1) { activeInstances.splice(tlIndex, 1); }\n function passThrough(ins) { ins.passThrough = true; }\n for (var i = 0; i < children.length; i++) { passThrough(children[i]); }\n var insParams = mergeObjects(instanceParams, replaceObjectProps(defaultTweenSettings, params));\n insParams.targets = insParams.targets || params.targets;\n var tlDuration = tl.duration;\n insParams.autoplay = false;\n insParams.direction = tl.direction;\n insParams.timelineOffset = is.und(timelineOffset) ? tlDuration : getRelativeValue(timelineOffset, tlDuration);\n passThrough(tl);\n tl.seek(insParams.timelineOffset);\n var ins = anime(insParams);\n passThrough(ins);\n children.push(ins);\n var timings = getInstanceTimings(children, params);\n tl.delay = timings.delay;\n tl.endDelay = timings.endDelay;\n tl.duration = timings.duration;\n tl.seek(0);\n tl.reset();\n if (tl.autoplay) { tl.play(); }\n return tl;\n };\n return tl;\n}\n\nanime.version = '3.2.1';\nanime.speed = 1;\n// TODO:#review: naming, documentation\nanime.suspendWhenDocumentHidden = true;\nanime.running = activeInstances;\nanime.remove = removeTargetsFromActiveInstances;\nanime.get = getOriginalTargetValue;\nanime.set = setTargetsValue;\nanime.convertPx = convertPxToUnit;\nanime.path = getPath;\nanime.setDashoffset = setDashoffset;\nanime.stagger = stagger;\nanime.timeline = timeline;\nanime.easing = parseEasings;\nanime.penner = penner;\nanime.random = function (min, max) { return Math.floor(Math.random() * (max - min + 1)) + min; };\n\nexport default anime;\n","@use \"~dso-toolkit/src/utilities\";\r\n\r\n:host {\r\n display: block;\r\n overflow-y: hidden;\r\n}\r\n\r\n:host(.dso-hide) {\r\n display: none;\r\n}\r\n\r\n:host(:not(.dso-animate-ready)) {\r\n position: absolute;\r\n visibility: hidden;\r\n}\r\n\r\n:host([open]) {\r\n position: inherit;\r\n visibility: inherit;\r\n}\r\n\r\n@include utilities.box-sizing();\r\n\r\n.sr-only {\r\n @include utilities.sr-only();\r\n}\r\n","import {\r\n Component,\r\n ComponentInterface,\r\n Element,\r\n Event,\r\n EventEmitter,\r\n h,\r\n Host,\r\n Method,\r\n Prop,\r\n State,\r\n Watch,\r\n} from \"@stencil/core\";\r\nimport anime, { AnimeInstance } from \"animejs\";\r\nimport clsx from \"clsx\";\r\nimport debounce from \"debounce\";\r\n\r\n@Component({\r\n tag: \"dso-expandable\",\r\n styleUrl: \"expandable.scss\",\r\n shadow: true,\r\n})\r\nexport class Expandable implements ComponentInterface {\r\n private resizeObserver?: ResizeObserver;\r\n\r\n private bodyHeight?: number;\r\n\r\n private animeInstance?: AnimeInstance;\r\n\r\n @Element()\r\n host!: HTMLDsoExpandableElement;\r\n\r\n /**\r\n * Set to `true` to expand the content.\r\n */\r\n @Prop({ reflect: true })\r\n open?: boolean;\r\n\r\n /**\r\n * Set to `true` to show the content animated.\r\n */\r\n @Prop()\r\n enableAnimation = false;\r\n\r\n /**\r\n * When enableAnimation is set to `true`, this property specifies the height of this element at which the animation will expand from / collapse to\r\n */\r\n @Prop()\r\n minimumHeight?: number;\r\n\r\n @State()\r\n animationReady = false;\r\n\r\n /**\r\n * @internal\r\n */\r\n @Event()\r\n _animationInstantiated!: EventEmitter<void>;\r\n\r\n @Watch(\"open\")\r\n toggleOpen() {\r\n if (this.enableAnimation) {\r\n this.activateAnimation();\r\n }\r\n }\r\n\r\n @Watch(\"enableAnimation\")\r\n toggleEnableAnimation(enableAnimation: boolean) {\r\n if (enableAnimation) {\r\n this.prepareAnimationResizeObserver();\r\n this.activateObserver();\r\n } else {\r\n this.resizeObserver?.disconnect();\r\n delete this.animeInstance;\r\n this.host.removeAttribute(\"style\");\r\n }\r\n }\r\n\r\n /**\r\n * @internal\r\n */\r\n @Method()\r\n async _getAnimeInstance(): Promise<AnimeInstance | undefined> {\r\n return this.animeInstance;\r\n }\r\n\r\n /**\r\n * @internal\r\n */\r\n @Method()\r\n async _getBodyHeight(): Promise<number | undefined> {\r\n return this.bodyHeight;\r\n }\r\n\r\n componentWillLoad(): void {\r\n if (this.enableAnimation) {\r\n this.prepareAnimationResizeObserver();\r\n }\r\n }\r\n\r\n componentDidLoad(): void {\r\n this.activateObserver();\r\n }\r\n\r\n private activateObserver() {\r\n const bodyContentElement = this.host.querySelector(`[slot=\"expandable-content\"]`);\r\n\r\n if (bodyContentElement) {\r\n this.resizeObserver?.observe(bodyContentElement);\r\n }\r\n }\r\n\r\n disconnectedCallback() {\r\n this.resizeObserver?.disconnect();\r\n }\r\n\r\n render() {\r\n return (\r\n <Host\r\n aria-hidden={this.open ? \"false\" : \"true\"}\r\n class={clsx({\r\n \"dso-animate-ready\": this.enableAnimation && this.animationReady,\r\n \"dso-hide\": !this.enableAnimation && !this.open,\r\n })}\r\n >\r\n <slot name=\"expandable-content\" />\r\n </Host>\r\n );\r\n }\r\n\r\n private prepareAnimationResizeObserver(): void {\r\n this.resizeObserver = new ResizeObserver(\r\n debounce(([entry]) => {\r\n if (!entry) {\r\n throw new Error(\"No entry found\");\r\n }\r\n\r\n // entry.contentRect does not include padding, so we use getBoundingClientRect.\r\n const height = entry.target.getBoundingClientRect().height;\r\n\r\n if (this.bodyHeight !== height) {\r\n this.bodyHeight = height;\r\n }\r\n\r\n this.instantiateAnimation();\r\n }, 150)\r\n );\r\n }\r\n\r\n private instantiateAnimation(): void {\r\n this.animeInstance = anime({\r\n targets: this.host,\r\n height: this.minimumHeight ?? 0,\r\n easing: \"cubicBezier(0.4, 0, 0.2, 1)\",\r\n duration: 260,\r\n autoplay: false,\r\n direction: \"normal\",\r\n begin: () => {\r\n if (this.host) {\r\n if (this.open) {\r\n this.host.style.visibility = \"\";\r\n this.host.style.position = \"\";\r\n this.host.style.bottom = \"\";\r\n }\r\n }\r\n },\r\n complete: () => {\r\n if (this.host) {\r\n this.host.style.height = \"\";\r\n\r\n if (!this.open) {\r\n this.host.style.visibility = \"hidden\";\r\n this.host.style.position = \"absolute\";\r\n this.host.style.bottom = \"100%\";\r\n }\r\n }\r\n },\r\n });\r\n\r\n if (!this.open) {\r\n this.animeInstance.reverse();\r\n this.animeInstance.play();\r\n }\r\n\r\n if (this.host) {\r\n this.host.style.height = \"\";\r\n }\r\n\r\n this.animationReady = !!this.animeInstance;\r\n this._animationInstantiated.emit();\r\n }\r\n\r\n private activateAnimation(): void {\r\n if (this.animeInstance) {\r\n if (this.animeInstance.progress > 0 && this.animeInstance.progress < 100) {\r\n this.animeInstance.reverse();\r\n } else {\r\n if (this.open) {\r\n this.animeInstance.direction = \"reverse\";\r\n this.animeInstance.play();\r\n } else {\r\n this.animeInstance.direction = \"normal\";\r\n this.animeInstance.play();\r\n }\r\n }\r\n }\r\n }\r\n}\r\n"],"mappings":"mIASA,IAAIA,EAA0B,CAC5BC,OAAQ,KACRC,MAAO,KACPC,UAAW,KACXC,YAAa,KACbC,OAAQ,KACRC,eAAgB,KAChBC,aAAc,KACdC,SAAU,KACVC,KAAM,EACNC,UAAW,SACXC,SAAU,KACVC,eAAgB,GAGlB,IAAIC,EAAuB,CACzBC,SAAU,IACVC,MAAO,EACPC,SAAU,EACVC,OAAQ,wBACRC,MAAO,GAGT,IAAIC,EAAkB,CAAC,aAAc,aAAc,aAAc,SAAU,UAAW,UAAW,UAAW,QAAS,SAAU,SAAU,SAAU,OAAQ,QAAS,QAAS,cAAe,SAAU,YAItM,IAAIC,EAAQ,CACVC,IAAK,GACLC,QAAS,IAKX,SAASC,EAAOC,EAAKC,EAAKC,GACxB,OAAOC,KAAKF,IAAIE,KAAKD,IAAIF,EAAKC,GAAMC,EACtC,CAEA,SAASE,EAAeC,EAAKC,GAC3B,OAAOD,EAAIE,QAAQD,IAAS,CAC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,OAAS,M,MAMjC,IAAKjC,KAAKsB,KAAM,CACdtB,KAAKS,cAAcrD,UACnB4C,KAAKS,cAAc7H,M,CAGrB,GAAIoH,KAAKU,KAAM,CACbV,KAAKU,KAAK9Q,MAAM4D,OAAS,E,CAG3BwM,KAAKyB,iBAAmBzB,KAAKS,cAC7BT,KAAKkC,uBAAuBC,M,CAGtBjC,oBACN,GAAIF,KAAKS,cAAe,CACtB,GAAIT,KAAKS,cAAcxZ,SAAW,GAAK+Y,KAAKS,cAAcxZ,SAAW,IAAK,CACxE+Y,KAAKS,cAAcrD,S,KACd,CACL,GAAI4C,KAAKsB,KAAM,CACbtB,KAAKS,cAAcle,UAAY,UAC/Byd,KAAKS,cAAc7H,M,KACd,CACLoH,KAAKS,cAAcle,UAAY,SAC/Byd,KAAKS,cAAc7H,M"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{r as o,h as t,g as i}from"./p-26cdce1c.js";import{c as h}from"./p-6a1980b4.js";const s=":host{display:block}:host-context(.row.dso-equal-heights){height:100%;min-height:auto}:host-context(.row.dso-equal-heights)>.dso-highlight-box{min-height:auto}:host-context(.row.dso-equal-heights)>.dso-highlight-box.dso-has-counter{height:calc(100% - 48px)}:host-context(.row.dso-equal-heights)>.dso-highlight-box:not(.dso-has-counter){height:calc(100% - 16px)}*,*::after,*::before{box-sizing:border-box}.dso-highlight-box{background-color:#f2f2f2;color:#000;margin-top:16px;padding:16px;margin-bottom:24px}.dso-highlight-box.dso-white{background-color:#fff}.dso-highlight-box.dso-yellow{background-color:#f8f6cc}.dso-highlight-box.dso-drop-shadow{box-shadow:0 4px 8px 0 rgba(0, 0, 0, 0.2)}.dso-highlight-box.dso-border{background-color:#fff;border:1px solid #ccc;padding:15px}.dso-highlight-box.dso-has-counter{margin-top:48px}.dso-highlight-box.dso-has-counter{padding-top:2.5rem;position:relative}.dso-highlight-box .dso-step-counter{background-color:#275937;border:8px solid #79b929;border-radius:50%;box-sizing:content-box;color:#fff;font-size:1.25rem;font-weight:500;height:2rem;left:16px;line-height:2rem;position:absolute;text-align:center;top:-1.5rem;width:2rem}.dso-highlight-box .dso-step-counter svg.di{height:1.5rem;margin-top:0.25rem;width:1.5rem}.dso-highlight-box>dso-icon{vertical-align:text-top}";const e=class{constructor(t){o(this,t);this.yellow=undefined;this.border=undefined;this.white=undefined;this.dropShadow=undefined;this.step=undefined}render(){var o;const i=this.step||!!this.element.querySelector("[slot=icon]");const s=h("dso-highlight-box",{"dso-yellow":this.yellow,"dso-border":this.border,"dso-white":this.white,"dso-drop-shadow":this.dropShadow,"dso-has-counter":i});return t("div",{class:s},i&&t("div",{class:"dso-step-counter"},(o=this.step)!==null&&o!==void 0?o:t("slot",{name:"icon"})),t("slot",null))}get element(){return i(this)}};e.style=s;export{e as dso_highlight_box};
|
|
2
|
+
//# sourceMappingURL=p-71143eef.entry.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["highlightBoxCss","HighlightBox","render","hasCounter","this","step","element","querySelector","classes","clsx","yellow","border","white","dropShadow","h","class","_a","name"],"sources":["./src/components/highlight-box/highlight-box.scss?tag=dso-highlight-box&encapsulation=shadow","./src/components/highlight-box/highlight-box.tsx"],"sourcesContent":["@use \"~dso-toolkit/src/utilities\";\r\n@use \"~dso-toolkit/src/variables/units\";\r\n@use \"~dso-toolkit/src/components/highlight-box\";\r\n\r\n:host {\r\n display: block;\r\n}\r\n\r\n:host-context(.row.dso-equal-heights) {\r\n height: 100%;\r\n min-height: auto;\r\n\r\n > .dso-highlight-box {\r\n min-height: auto;\r\n\r\n &.dso-has-counter {\r\n height: calc(100% - #{units.$shared-equal-heights-highlight-box-height});\r\n }\r\n\r\n &:not(.dso-has-counter) {\r\n height: calc(100% - #{units.$u2});\r\n }\r\n }\r\n}\r\n\r\n@include utilities.box-sizing();\r\n\r\n.dso-highlight-box {\r\n @include highlight-box.root();\r\n}\r\n","import { Component, h, Prop, Element } from \"@stencil/core\";\r\nimport clsx from \"clsx\";\r\n\r\n@Component({\r\n tag: \"dso-highlight-box\",\r\n styleUrl: \"highlight-box.scss\",\r\n shadow: true,\r\n})\r\nexport class HighlightBox {\r\n /**\r\n * For yellow Highlight Box.\r\n */\r\n @Prop()\r\n yellow?: boolean;\r\n\r\n /**\r\n * For a bordered Highlight Box.\r\n */\r\n @Prop()\r\n border?: boolean;\r\n\r\n /**\r\n * For a while Highlight Box.\r\n */\r\n @Prop()\r\n white?: boolean;\r\n\r\n /**\r\n * For an Highlight Box with a drop shadow.\r\n */\r\n @Prop()\r\n dropShadow?: boolean;\r\n\r\n /**\r\n * To create a step indicator.\r\n */\r\n @Prop()\r\n step?: number;\r\n\r\n @Element()\r\n private element!: HTMLDsoHighlightBoxElement;\r\n\r\n render() {\r\n const hasCounter = this.step || !!this.element.querySelector(\"[slot=icon]\");\r\n const classes = clsx(\"dso-highlight-box\", {\r\n \"dso-yellow\": this.yellow,\r\n \"dso-border\": this.border,\r\n \"dso-white\": this.white,\r\n \"dso-drop-shadow\": this.dropShadow,\r\n \"dso-has-counter\": hasCounter,\r\n });\r\n\r\n return (\r\n <div class={classes}>\r\n {hasCounter && <div class=\"dso-step-counter\">{this.step ?? <slot name=\"icon\"></slot>}</div>}\r\n <slot></slot>\r\n </div>\r\n );\r\n }\r\n}\r\n"],"mappings":"sFAAA,MAAMA,EAAkB,oyC,MCQXC,EAAY,M,wIAkCvBC,S,MACE,MAAMC,EAAaC,KAAKC,QAAUD,KAAKE,QAAQC,cAAc,eAC7D,MAAMC,EAAUC,EAAK,oBAAqB,CACxC,aAAcL,KAAKM,OACnB,aAAcN,KAAKO,OACnB,YAAaP,KAAKQ,MAClB,kBAAmBR,KAAKS,WACxB,kBAAmBV,IAGrB,OACEW,EAAA,OAAKC,MAAOP,GACTL,GAAcW,EAAA,OAAKC,MAAM,qBAAoBC,EAAAZ,KAAKC,QAAI,MAAAW,SAAA,EAAAA,EAAIF,EAAA,QAAMG,KAAK,UACtEH,EAAA,a"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{r as t,h as s,H as i,g as e}from"./p-26cdce1c.js";import{t as o}from"./p-5950644a.js";import{h as n,c as r}from"./p-871bfdf9.js";import{v as h}from"./p-5d7f4ff2.js";const a=":host(:focus){outline:none}:host{display:inline-block}";const f=class{constructor(s){t(this,s);this.focusOutListener=t=>{if(!this.tabbables.includes(t.relatedTarget)){this.open=false}};this.keyDownListener=t=>{if(t.defaultPrevented){return}switch(t.key){case"ArrowDown":this.tabInPopup(1);break;case"ArrowUp":this.tabInPopup(-1);break;case"Escape":this.escape();break;case" ":if(t.target instanceof HTMLElement){t.target.click()}break;default:return}t.preventDefault()};this.escape=()=>{this.button.focus();this.open=false};this.open=false;this.dropdownAlign="left";this.dropdownOptionsOffset=2;this.checkable=false;this.boundary=undefined;this.strategy="auto"}watchPosition(){if(!this.popper){return}this.popper.setOptions({placement:this.dropdownAlign==="right"?"bottom-end":"bottom-start"})}watchOptionsOffset(){var t;(t=this.popper)===null||t===void 0?void 0:t.setOptions({modifiers:[{name:"offset",options:{offset:[0,this.dropdownOptionsOffset]}}]})}watchStrategy(){this.setStrategy()}setStrategy(){if(!this.popper){return}if(this.strategy==="absolute"||this.strategy==="fixed"){this.popper.setOptions({strategy:this.strategy});return}let t=this.host;const s=this.boundary||document;while(t&&t.parentNode!==s){t=t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentElement;if(t!==null&&n(t)){this.popper.setOptions({strategy:"fixed"});return}}this.popper.setOptions({strategy:"absolute"})}get button(){const t=this.host.querySelector('button[slot="toggle"]');if(!(t instanceof HTMLButtonElement)){throw new ReferenceError("Mandatory toggle button not found")}return t}get tabbables(){return o(this.host).filter((t=>t!==this.button))}componentDidLoad(){this.button.setAttribute("aria-haspopup","menu");this.button.setAttribute("aria-expanded","false");if(!this.button.id){this.button.id=h()}this.button.addEventListener("click",(()=>{this.open=!this.open}));const t=this.host.querySelector(".dso-dropdown-options");if(!t){throw new ReferenceError("Dropdown options not found")}t.setAttribute("role","menu");t.setAttribute("aria-labelledby",this.button.id);for(const t of Array.from(this.host.getElementsByTagName("ul"))){t.setAttribute("role","group");for(const s of Array.from(t.getElementsByTagName("li"))){s.setAttribute("role","none")}}if(this.popper){return}const s=this.host.querySelector(".dso-dropdown-options");if(!(s instanceof HTMLElement)){throw new Error("dropdown options element is not instanceof HTMLElement")}this.popper=r(this.button,s,{placement:this.dropdownAlign==="right"?"bottom-end":"bottom-start",modifiers:[{name:"offset",options:{offset:[0,this.dropdownOptionsOffset]}},{name:"preventOverflow",options:{boundary:this.boundary?document.querySelector(this.boundary):null},enabled:this.boundary!==undefined}]})}componentDidRender(){var t;this.setStrategy();if(this.open){(t=this.popper)===null||t===void 0?void 0:t.update()}for(const t of Array.from(this.host.getElementsByTagName("li"))){for(const s of o(t)){s.setAttribute("role",this.checkable?"menuitemradio":"menuitem");if(this.checkable){s.setAttribute("aria-checked",t.classList.contains("dso-checked").toString())}}}this.host.removeEventListener("keydown",this.keyDownListener);this.button.setAttribute("aria-expanded",this.open?"true":"false");if(this.open){this.host.addEventListener("keydown",this.keyDownListener)}this.tabbables.forEach((t=>{t.removeEventListener("click",this.escape);if(this.open){t.addEventListener("click",this.escape)}}))}disconnectedCallback(){var t;(t=this.popper)===null||t===void 0?void 0:t.destroy()}getActiveElement(t=document){const s=t.activeElement;if(!s){return null}if(s.shadowRoot){return this.getActiveElement(s.shadowRoot)}return s}tabInPopup(t){var s;const i=this.tabbables;const e=i.findIndex((t=>t===this.getActiveElement()));let o=e+t;if(o>=i.length){o=0}else if(o<0){o=i.length-1}(s=i[o])===null||s===void 0?void 0:s.focus()}render(){return s(i,{onFocusout:this.focusOutListener,tabindex:this.open?"-1":undefined},s("slot",{name:"toggle"}),s("div",{hidden:!this.open},s("slot",null)))}get host(){return e(this)}static get watchers(){return{dropdownAlign:["watchPosition"],dropdownOptionsOffset:["watchOptionsOffset"],strategy:["watchStrategy"]}}};f.style=a;export{f as dso_dropdown_menu};
|
|
2
|
+
//# sourceMappingURL=p-79767cc1.entry.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["dropdownMenuCss","DropdownMenu","this","focusOutListener","event","tabbables","includes","relatedTarget","open","keyDownListener","defaultPrevented","key","tabInPopup","escape","target","HTMLElement","click","preventDefault","button","focus","watchPosition","popper","setOptions","placement","dropdownAlign","watchOptionsOffset","_a","modifiers","name","options","offset","dropdownOptionsOffset","watchStrategy","setStrategy","strategy","element","host","boundary","document","parentNode","ShadowRoot","parentElement","hasOverflow","querySelector","HTMLButtonElement","ReferenceError","tabbable","filter","e","componentDidLoad","setAttribute","id","uuidv4","addEventListener","ul","Array","from","getElementsByTagName","li","dropdownOptionsElement","Error","createPopper","enabled","undefined","componentDidRender","update","tab","checkable","classList","contains","toString","removeEventListener","forEach","focusableElement","disconnectedCallback","destroy","getActiveElement","root","activeEl","activeElement","shadowRoot","direction","tabs","currentIndex","findIndex","nextIndex","length","render","h","Host","onFocusout","tabindex","hidden"],"sources":["./src/components/dropdown-menu/dropdown-menu.scss?tag=dso-dropdown-menu&encapsulation=shadow","./src/components/dropdown-menu/dropdown-menu.tsx"],"sourcesContent":["@use \"~dso-toolkit/src/components/dropdown-menu\";\r\n\r\n:host(:focus) {\r\n outline: none;\r\n}\r\n\r\n:host {\r\n @include dropdown-menu.root();\r\n}\r\n","import { createPopper, Instance as PopperInstance } from \"@popperjs/core\";\r\nimport { h, Component, Element, Host, Prop, Watch } from \"@stencil/core\";\r\nimport { FocusableElement, tabbable } from \"tabbable\";\r\nimport { v4 as uuidv4 } from \"uuid\";\r\n\r\nimport { hasOverflow } from \"../../utils/has-overflow\";\r\n\r\n@Component({\r\n tag: \"dso-dropdown-menu\",\r\n styleUrl: \"dropdown-menu.scss\",\r\n shadow: true,\r\n})\r\nexport class DropdownMenu {\r\n /**\r\n * Whether the menu is open or closed.\r\n * This attribute is reflected and mutable.\r\n */\r\n @Prop({ reflect: true, mutable: true })\r\n open = false;\r\n\r\n /**\r\n * Alignment of the dropdown\r\n */\r\n @Prop()\r\n dropdownAlign: \"left\" | \"right\" = \"left\";\r\n\r\n /**\r\n * Space between button and dropdown options\r\n */\r\n @Prop()\r\n dropdownOptionsOffset = 2;\r\n\r\n /**\r\n * Whether the menu is checkable.\r\n */\r\n @Prop()\r\n checkable = false;\r\n\r\n /**\r\n * Selector for the element the dropdown options should not be overflowing.\r\n */\r\n @Prop()\r\n boundary?: string;\r\n\r\n /**\r\n * Set position strategy of dropdown options\r\n */\r\n @Prop()\r\n strategy: \"auto\" | \"absolute\" | \"fixed\" = \"auto\";\r\n\r\n @Watch(\"dropdownAlign\")\r\n watchPosition() {\r\n if (!this.popper) {\r\n return;\r\n }\r\n\r\n this.popper.setOptions({\r\n placement: this.dropdownAlign === \"right\" ? \"bottom-end\" : \"bottom-start\",\r\n });\r\n }\r\n\r\n @Watch(\"dropdownOptionsOffset\")\r\n watchOptionsOffset() {\r\n this.popper?.setOptions({\r\n modifiers: [\r\n {\r\n name: \"offset\",\r\n options: {\r\n offset: [0, this.dropdownOptionsOffset],\r\n },\r\n },\r\n ],\r\n });\r\n }\r\n\r\n @Watch(\"strategy\")\r\n watchStrategy() {\r\n this.setStrategy();\r\n }\r\n\r\n private setStrategy() {\r\n if (!this.popper) {\r\n return;\r\n }\r\n\r\n if (this.strategy === \"absolute\" || this.strategy === \"fixed\") {\r\n this.popper.setOptions({\r\n strategy: this.strategy,\r\n });\r\n\r\n return;\r\n }\r\n\r\n let element: Element | null = this.host;\r\n\r\n const boundary = this.boundary || document;\r\n\r\n while (element && element.parentNode !== boundary) {\r\n element = element.parentNode instanceof ShadowRoot ? element.parentNode.host : element.parentElement;\r\n if (element !== null && hasOverflow(element)) {\r\n this.popper.setOptions({\r\n strategy: \"fixed\",\r\n });\r\n\r\n return;\r\n }\r\n }\r\n\r\n this.popper.setOptions({\r\n strategy: \"absolute\",\r\n });\r\n }\r\n\r\n @Element()\r\n host!: HTMLDsoDropdownMenuElement;\r\n\r\n private popper: PopperInstance | undefined;\r\n\r\n get button(): HTMLButtonElement {\r\n const button = this.host.querySelector('button[slot=\"toggle\"]');\r\n\r\n if (!(button instanceof HTMLButtonElement)) {\r\n throw new ReferenceError(\"Mandatory toggle button not found\");\r\n }\r\n\r\n return button;\r\n }\r\n\r\n get tabbables(): FocusableElement[] {\r\n return tabbable(this.host).filter((e) => e !== this.button);\r\n }\r\n\r\n componentDidLoad() {\r\n this.button.setAttribute(\"aria-haspopup\", \"menu\");\r\n this.button.setAttribute(\"aria-expanded\", \"false\");\r\n if (!this.button.id) {\r\n this.button.id = uuidv4();\r\n }\r\n\r\n this.button.addEventListener(\"click\", () => {\r\n this.open = !this.open;\r\n });\r\n\r\n const options = this.host.querySelector(\".dso-dropdown-options\");\r\n if (!options) {\r\n throw new ReferenceError(\"Dropdown options not found\");\r\n }\r\n\r\n options.setAttribute(\"role\", \"menu\");\r\n options.setAttribute(\"aria-labelledby\", this.button.id);\r\n\r\n for (const ul of Array.from(this.host.getElementsByTagName(\"ul\"))) {\r\n ul.setAttribute(\"role\", \"group\");\r\n for (const li of Array.from(ul.getElementsByTagName(\"li\"))) {\r\n li.setAttribute(\"role\", \"none\");\r\n }\r\n }\r\n\r\n if (this.popper) {\r\n return;\r\n }\r\n\r\n const dropdownOptionsElement = this.host.querySelector(\".dso-dropdown-options\");\r\n\r\n if (!(dropdownOptionsElement instanceof HTMLElement)) {\r\n throw new Error(\"dropdown options element is not instanceof HTMLElement\");\r\n }\r\n\r\n this.popper = createPopper(this.button, dropdownOptionsElement, {\r\n placement: this.dropdownAlign === \"right\" ? \"bottom-end\" : \"bottom-start\",\r\n modifiers: [\r\n {\r\n name: \"offset\",\r\n options: {\r\n offset: [0, this.dropdownOptionsOffset],\r\n },\r\n },\r\n {\r\n name: \"preventOverflow\",\r\n options: {\r\n boundary: this.boundary ? document.querySelector(this.boundary) : null,\r\n },\r\n enabled: this.boundary !== undefined,\r\n },\r\n ],\r\n });\r\n }\r\n\r\n componentDidRender() {\r\n this.setStrategy();\r\n if (this.open) {\r\n this.popper?.update();\r\n }\r\n\r\n for (const li of Array.from(this.host.getElementsByTagName(\"li\"))) {\r\n for (const tab of tabbable(li)) {\r\n tab.setAttribute(\"role\", this.checkable ? \"menuitemradio\" : \"menuitem\");\r\n\r\n if (this.checkable) {\r\n tab.setAttribute(\"aria-checked\", li.classList.contains(\"dso-checked\").toString());\r\n }\r\n }\r\n }\r\n\r\n this.host.removeEventListener(\"keydown\", this.keyDownListener);\r\n this.button.setAttribute(\"aria-expanded\", this.open ? \"true\" : \"false\");\r\n if (this.open) {\r\n this.host.addEventListener(\"keydown\", this.keyDownListener);\r\n }\r\n\r\n this.tabbables.forEach((focusableElement) => {\r\n focusableElement.removeEventListener(\"click\", this.escape);\r\n if (this.open) {\r\n focusableElement.addEventListener(\"click\", this.escape);\r\n }\r\n });\r\n }\r\n\r\n disconnectedCallback() {\r\n this.popper?.destroy();\r\n }\r\n\r\n private focusOutListener = (event: FocusEvent) => {\r\n if (!this.tabbables.includes(event.relatedTarget as FocusableElement)) {\r\n this.open = false;\r\n }\r\n };\r\n\r\n private keyDownListener = (event: KeyboardEvent) => {\r\n if (event.defaultPrevented) {\r\n return;\r\n }\r\n\r\n switch (event.key) {\r\n case \"ArrowDown\":\r\n this.tabInPopup(1);\r\n break;\r\n\r\n case \"ArrowUp\":\r\n this.tabInPopup(-1);\r\n break;\r\n\r\n case \"Escape\":\r\n this.escape();\r\n break;\r\n\r\n case \" \":\r\n if (event.target instanceof HTMLElement) {\r\n event.target.click();\r\n }\r\n\r\n break;\r\n\r\n default:\r\n return;\r\n }\r\n\r\n event.preventDefault();\r\n };\r\n\r\n private getActiveElement(root: Document | ShadowRoot = document): Element | null {\r\n const activeEl = root.activeElement;\r\n\r\n if (!activeEl) {\r\n return null;\r\n }\r\n\r\n if (activeEl.shadowRoot) {\r\n return this.getActiveElement(activeEl.shadowRoot);\r\n }\r\n\r\n return activeEl;\r\n }\r\n\r\n private tabInPopup(direction: number) {\r\n const tabs = this.tabbables;\r\n const currentIndex = tabs.findIndex((e) => e === this.getActiveElement());\r\n\r\n let nextIndex = currentIndex + direction;\r\n if (nextIndex >= tabs.length) {\r\n nextIndex = 0;\r\n } else if (nextIndex < 0) {\r\n nextIndex = tabs.length - 1;\r\n }\r\n\r\n tabs[nextIndex]?.focus();\r\n }\r\n\r\n private escape = () => {\r\n this.button.focus();\r\n this.open = false;\r\n };\r\n\r\n render() {\r\n return (\r\n <Host onFocusout={this.focusOutListener} tabindex={this.open ? \"-1\" : undefined}>\r\n <slot name=\"toggle\" />\r\n <div hidden={!this.open}>\r\n <slot />\r\n </div>\r\n </Host>\r\n );\r\n }\r\n}\r\n"],"mappings":"4KAAA,MAAMA,EAAkB,yD,MCYXC,EAAY,M,yBAkNfC,KAAAC,iBAAoBC,IAC1B,IAAKF,KAAKG,UAAUC,SAASF,EAAMG,eAAoC,CACrEL,KAAKM,KAAO,K,GAIRN,KAAAO,gBAAmBL,IACzB,GAAIA,EAAMM,iBAAkB,CAC1B,M,CAGF,OAAQN,EAAMO,KACZ,IAAK,YACHT,KAAKU,WAAW,GAChB,MAEF,IAAK,UACHV,KAAKU,YAAY,GACjB,MAEF,IAAK,SACHV,KAAKW,SACL,MAEF,IAAK,IACH,GAAIT,EAAMU,kBAAkBC,YAAa,CACvCX,EAAMU,OAAOE,O,CAGf,MAEF,QACE,OAGJZ,EAAMa,gBAAgB,EA+BhBf,KAAAW,OAAS,KACfX,KAAKgB,OAAOC,QACZjB,KAAKM,KAAO,KAAK,E,UAhRZ,M,mBAM2B,O,2BAMV,E,eAMZ,M,sCAY8B,M,CAG1CY,gBACE,IAAKlB,KAAKmB,OAAQ,CAChB,M,CAGFnB,KAAKmB,OAAOC,WAAW,CACrBC,UAAWrB,KAAKsB,gBAAkB,QAAU,aAAe,gB,CAK/DC,qB,OACEC,EAAAxB,KAAKmB,UAAM,MAAAK,SAAA,SAAAA,EAAEJ,WAAW,CACtBK,UAAW,CACT,CACEC,KAAM,SACNC,QAAS,CACPC,OAAQ,C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AKW,QACnD,GAAIX,KAAKM,KAAM,CACbiE,EAAiBpB,iBAAiB,QAASnD,KAAKW,O,KAKtD6D,uB,OACEhD,EAAAxB,KAAKmB,UAAM,MAAAK,SAAA,SAAAA,EAAEiD,S,CAyCPC,iBAAiBC,EAA8BvC,UACrD,MAAMwC,EAAWD,EAAKE,cAEtB,IAAKD,EAAU,CACb,OAAO,I,CAGT,GAAIA,EAASE,WAAY,CACvB,OAAO9E,KAAK0E,iBAAiBE,EAASE,W,CAGxC,OAAOF,C,CAGDlE,WAAWqE,G,MACjB,MAAMC,EAAOhF,KAAKG,UAClB,MAAM8E,EAAeD,EAAKE,WAAWpC,GAAMA,IAAM9C,KAAK0E,qBAEtD,IAAIS,EAAYF,EAAeF,EAC/B,GAAII,GAAaH,EAAKI,OAAQ,CAC5BD,EAAY,C,MACP,GAAIA,EAAY,EAAG,CACxBA,EAAYH,EAAKI,OAAS,C,EAG5B5D,EAAAwD,EAAKG,MAAU,MAAA3D,SAAA,SAAAA,EAAEP,O,CAQnBoE,SACE,OACEC,EAACC,EAAI,CAACC,WAAYxF,KAAKC,iBAAkBwF,SAAUzF,KAAKM,KAAO,KAAOuD,WACpEyB,EAAA,QAAM5D,KAAK,WACX4D,EAAA,OAAKI,QAAS1F,KAAKM,MACjBgF,EAAA,c"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{r as s,c as t,h as i,H as e,g as l}from"./p-26cdce1c.js";const o=":host{display:block}";const r=[{width:624,alias:"large"},{width:375,alias:"medium"},{width:0,alias:"small"}];const a=class{constructor(i){s(this,i);this.dsoSizeChange=t(this,"dsoSizeChange",7);this.observer=new ResizeObserver((([s])=>{var t,i;if(!s){throw new Error("No entry found")}const e=(i=(t=r.find((t=>s.contentRect.width>=t.width)))===null||t===void 0?void 0:t.alias)!==null&&i!==void 0?i:r[0].alias;this.sizeAlias=e;this.dsoSizeChange.emit(e)}));this.sizeAlias=r[0].alias;this.sizeWidth=0}async getSize(){return this.sizeAlias}componentWillLoad(){this.observer.observe(this.host)}disconnectedCallback(){this.observer.unobserve(this.host)}render(){return i(e,{small:this.sizeAlias==="small",medium:this.sizeAlias==="medium",large:this.sizeAlias==="large"},i("slot",null))}get host(){return l(this)}};a.style=o;export{a as dso_responsive_element};
|
|
2
|
+
//# sourceMappingURL=p-835a599b.entry.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["responsiveElementCss","elementSizes","width","alias","ResponsiveElement","this","observer","ResizeObserver","entry","Error","size","_b","_a","find","s","contentRect","sizeAlias","dsoSizeChange","emit","async","componentWillLoad","observe","host","disconnectedCallback","unobserve","render","h","Host","small","medium","large"],"sources":["./src/components/responsive-element/responsive-element.scss?tag=dso-responsive-element&encapsulation=shadow","./src/components/responsive-element/responsive-element.tsx"],"sourcesContent":[":host {\r\n display: block;\r\n}\r\n","import { Component, ComponentInterface, Element, Event, EventEmitter, h, Host, Method, State } from \"@stencil/core\";\r\n\r\nimport { ElementSize, ResponsiveElementSize } from \"./responsive-element.interfaces\";\r\n\r\nconst elementSizes: [ElementSize, ElementSize, ElementSize] = [\r\n {\r\n width: 624,\r\n alias: \"large\",\r\n },\r\n {\r\n width: 375,\r\n alias: \"medium\",\r\n },\r\n {\r\n width: 0,\r\n alias: \"small\",\r\n },\r\n];\r\n\r\n@Component({\r\n tag: \"dso-responsive-element\",\r\n styleUrl: \"./responsive-element.scss\",\r\n shadow: true,\r\n})\r\nexport class ResponsiveElement implements ComponentInterface {\r\n @State()\r\n sizeAlias: ResponsiveElementSize = elementSizes[0].alias;\r\n\r\n @State()\r\n sizeWidth = 0;\r\n\r\n /**\r\n * Emitted when size has changed\r\n */\r\n @Event()\r\n dsoSizeChange!: EventEmitter<ResponsiveElementSize>;\r\n\r\n /**\r\n * The current size\r\n */\r\n @Method()\r\n async getSize(): Promise<ResponsiveElementSize> {\r\n return this.sizeAlias;\r\n }\r\n\r\n private observer = new ResizeObserver(([entry]) => {\r\n if (!entry) {\r\n throw new Error(\"No entry found\");\r\n }\r\n\r\n const size = elementSizes.find((s) => entry.contentRect.width >= s.width)?.alias ?? elementSizes[0].alias;\r\n\r\n this.sizeAlias = size;\r\n this.dsoSizeChange.emit(size);\r\n });\r\n\r\n @Element()\r\n host!: HTMLDsoResponsiveElementElement;\r\n\r\n componentWillLoad() {\r\n this.observer.observe(this.host);\r\n }\r\n\r\n disconnectedCallback() {\r\n this.observer.unobserve(this.host);\r\n }\r\n\r\n render() {\r\n return (\r\n <Host small={this.sizeAlias === \"small\"} medium={this.sizeAlias === \"medium\"} large={this.sizeAlias === \"large\"}>\r\n <slot />\r\n </Host>\r\n );\r\n }\r\n}\r\n"],"mappings":"gEAAA,MAAMA,EAAuB,uBCI7B,MAAMC,EAAwD,CAC5D,CACEC,MAAO,IACPC,MAAO,SAET,CACED,MAAO,IACPC,MAAO,UAET,CACED,MAAO,EACPC,MAAO,U,MASEC,EAAiB,M,sEAqBpBC,KAAAC,SAAW,IAAIC,gBAAe,EAAEC,M,QACtC,IAAKA,EAAO,CACV,MAAM,IAAIC,MAAM,iB,CAGlB,MAAMC,GAAOC,GAAAC,EAAAX,EAAaY,MAAMC,GAAMN,EAAMO,YAAYb,OAASY,EAAEZ,WAAM,MAAAU,SAAA,SAAAA,EAAET,SAAK,MAAAQ,SAAA,EAAAA,EAAIV,EAAa,GAAGE,MAEpGE,KAAKW,UAAYN,EACjBL,KAAKY,cAAcC,KAAKR,EAAK,I,eA3BIT,EAAa,GAAGE,M,eAGvC,C,CAYZgB,gBACE,OAAOd,KAAKW,S,CAiBdI,oBACEf,KAAKC,SAASe,QAAQhB,KAAKiB,K,CAG7BC,uBACElB,KAAKC,SAASkB,UAAUnB,KAAKiB,K,CAG/BG,SACE,OACEC,EAACC,EAAI,CAACC,MAAOvB,KAAKW,YAAc,QAASa,OAAQxB,KAAKW,YAAc,SAAUc,MAAOzB,KAAKW,YAAc,SACtGU,EAAA,a"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
var r="top";var t="bottom";var n="right";var e="left";var a="auto";var i=[r,t,n,e];var o="start";var v="end";var f="clippingParents";var u="viewport";var c="popper";var s="reference";var l=i.reduce((function(r,t){return r.concat([t+"-"+o,t+"-"+v])}),[]);var d=[].concat(i,[a]).reduce((function(r,t){return r.concat([t,t+"-"+o,t+"-"+v])}),[]);var p="beforeRead";var b="read";var h="afterRead";var y="beforeMain";var m="main";var x="afterMain";var w="beforeWrite";var O="write";var g="afterWrite";var j=[p,b,h,y,m,x,w,O,g];function M(r){return r?(r.nodeName||"").toLowerCase():null}function k(r){if(r==null){return window}if(r.toString()!=="[object Window]"){var t=r.ownerDocument;return t?t.defaultView||window:window}return r}function A(r){var t=k(r).Element;return r instanceof t||r instanceof Element}function E(r){var t=k(r).HTMLElement;return r instanceof t||r instanceof HTMLElement}function q(r){if(typeof ShadowRoot==="undefined"){return false}var t=k(r).ShadowRoot;return r instanceof t||r instanceof ShadowRoot}function B(r){var t=r.state;Object.keys(t.elements).forEach((function(r){var n=t.styles[r]||{};var e=t.attributes[r]||{};var a=t.elements[r];if(!E(a)||!M(a)){return}Object.assign(a.style,n);Object.keys(e).forEach((function(r){var t=e[r];if(t===false){a.removeAttribute(r)}else{a.setAttribute(r,t===true?"":t)}}))}))}function P(r){var t=r.state;var n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(t.elements.popper.style,n.popper);t.styles=n;if(t.elements.arrow){Object.assign(t.elements.arrow.style,n.arrow)}return function(){Object.keys(t.elements).forEach((function(r){var e=t.elements[r];var a=t.attributes[r]||{};var i=Object.keys(t.styles.hasOwnProperty(r)?t.styles[r]:n[r]);var o=i.reduce((function(r,t){r[t]="";return r}),{});if(!E(e)||!M(e)){return}Object.assign(e.style,o);Object.keys(a).forEach((function(r){e.removeAttribute(r)}))}))}}const R={name:"applyStyles",enabled:true,phase:"write",fn:B,effect:P,requires:["computeStyles"]};function S(r){return r.split("-")[0]}var W=Math.max;var L=Math.min;var T=Math.round;function H(){var r=navigator.userAgentData;if(r!=null&&r.brands&&Array.isArray(r.brands)){return r.brands.map((function(r){return r.brand+"/"+r.version})).join(" ")}return navigator.userAgent}function I(){return!/^((?!chrome|android).)*safari/i.test(H())}function z(r,t,n){if(t===void 0){t=false}if(n===void 0){n=false}var e=r.getBoundingClientRect();var a=1;var i=1;if(t&&E(r)){a=r.offsetWidth>0?T(e.width)/r.offsetWidth||1:1;i=r.offsetHeight>0?T(e.height)/r.offsetHeight||1:1}var o=A(r)?k(r):window,v=o.visualViewport;var f=!I()&&n;var u=(e.left+(f&&v?v.offsetLeft:0))/a;var c=(e.top+(f&&v?v.offsetTop:0))/i;var s=e.width/a;var l=e.height/i;return{width:s,height:l,top:c,right:u+s,bottom:c+l,left:u,x:u,y:c}}function C(r){var t=z(r);var n=r.offsetWidth;var e=r.offsetHeight;if(Math.abs(t.width-n)<=1){n=t.width}if(Math.abs(t.height-e)<=1){e=t.height}return{x:r.offsetLeft,y:r.offsetTop,width:n,height:e}}function D(r,t){var n=t.getRootNode&&t.getRootNode();if(r.contains(t)){return true}else if(n&&q(n)){var e=t;do{if(e&&r.isSameNode(e)){return true}e=e.parentNode||e.host}while(e)}return false}function F(r){return k(r).getComputedStyle(r)}function U(r){return["table","td","th"].indexOf(M(r))>=0}function V(r){return((A(r)?r.ownerDocument:r.document)||window.document).documentElement}function _(r){if(M(r)==="html"){return r}return r.assignedSlot||r.parentNode||(q(r)?r.host:null)||V(r)}function G(r){if(!E(r)||F(r).position==="fixed"){return null}return r.offsetParent}function J(r){var t=/firefox/i.test(H());var n=/Trident/i.test(H());if(n&&E(r)){var e=F(r);if(e.position==="fixed"){return null}}var a=_(r);if(q(a)){a=a.host}while(E(a)&&["html","body"].indexOf(M(a))<0){var i=F(a);if(i.transform!=="none"||i.perspective!=="none"||i.contain==="paint"||["transform","perspective"].indexOf(i.willChange)!==-1||t&&i.willChange==="filter"||t&&i.filter&&i.filter!=="none"){return a}else{a=a.parentNode}}return null}function K(r){var t=k(r);var n=G(r);while(n&&U(n)&&F(n).position==="static"){n=G(n)}if(n&&(M(n)==="html"||M(n)==="body"&&F(n).position==="static")){return t}return n||J(r)||t}function N(r){return["top","bottom"].indexOf(r)>=0?"x":"y"}function Q(r,t,n){return W(r,L(t,n))}function X(r,t,n){var e=Q(r,t,n);return e>n?n:e}function Y(){return{top:0,right:0,bottom:0,left:0}}function Z(r){return Object.assign({},Y(),r)}function $(r,t){return t.reduce((function(t,n){t[n]=r;return t}),{})}var rr=function r(t,n){t=typeof t==="function"?t(Object.assign({},n.rects,{placement:n.placement})):t;return Z(typeof t!=="number"?t:$(t,i))};function tr(a){var i;var o=a.state,v=a.name,f=a.options;var u=o.elements.arrow;var c=o.modifiersData.popperOffsets;var s=S(o.placement);var l=N(s);var d=[e,n].indexOf(s)>=0;var p=d?"height":"width";if(!u||!c){return}var b=rr(f.padding,o);var h=C(u);var y=l==="y"?r:e;var m=l==="y"?t:n;var x=o.rects.reference[p]+o.rects.reference[l]-c[l]-o.rects.popper[p];var w=c[l]-o.rects.reference[l];var O=K(u);var g=O?l==="y"?O.clientHeight||0:O.clientWidth||0:0;var j=x/2-w/2;var M=b[y];var k=g-h[p]-b[m];var A=g/2-h[p]/2+j;var E=Q(M,A,k);var q=l;o.modifiersData[v]=(i={},i[q]=E,i.centerOffset=E-A,i)}function nr(r){var t=r.state,n=r.options;var e=n.element,a=e===void 0?"[data-popper-arrow]":e;if(a==null){return}if(typeof a==="string"){a=t.elements.popper.querySelector(a);if(!a){return}}if(!D(t.elements.popper,a)){return}t.elements.arrow=a}const er={name:"arrow",enabled:true,phase:"main",fn:tr,effect:nr,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function ar(r){return r.split("-")[1]}var ir={top:"auto",right:"auto",bottom:"auto",left:"auto"};function or(r,t){var n=r.x,e=r.y;var a=t.devicePixelRatio||1;return{x:T(n*a)/a||0,y:T(e*a)/a||0}}function vr(a){var i;var o=a.popper,f=a.popperRect,u=a.placement,c=a.variation,s=a.offsets,l=a.position,d=a.gpuAcceleration,p=a.adaptive,b=a.roundOffsets,h=a.isFixed;var y=s.x,m=y===void 0?0:y,x=s.y,w=x===void 0?0:x;var O=typeof b==="function"?b({x:m,y:w}):{x:m,y:w};m=O.x;w=O.y;var g=s.hasOwnProperty("x");var j=s.hasOwnProperty("y");var M=e;var A=r;var E=window;if(p){var q=K(o);var B="clientHeight";var P="clientWidth";if(q===k(o)){q=V(o);if(F(q).position!=="static"&&l==="absolute"){B="scrollHeight";P="scrollWidth"}}q=q;if(u===r||(u===e||u===n)&&c===v){A=t;var R=h&&q===E&&E.visualViewport?E.visualViewport.height:q[B];w-=R-f.height;w*=d?1:-1}if(u===e||(u===r||u===t)&&c===v){M=n;var S=h&&q===E&&E.visualViewport?E.visualViewport.width:q[P];m-=S-f.width;m*=d?1:-1}}var W=Object.assign({position:l},p&&ir);var L=b===true?or({x:m,y:w},k(o)):{x:m,y:w};m=L.x;w=L.y;if(d){var T;return Object.assign({},W,(T={},T[A]=j?"0":"",T[M]=g?"0":"",T.transform=(E.devicePixelRatio||1)<=1?"translate("+m+"px, "+w+"px)":"translate3d("+m+"px, "+w+"px, 0)",T))}return Object.assign({},W,(i={},i[A]=j?w+"px":"",i[M]=g?m+"px":"",i.transform="",i))}function fr(r){var t=r.state,n=r.options;var e=n.gpuAcceleration,a=e===void 0?true:e,i=n.adaptive,o=i===void 0?true:i,v=n.roundOffsets,f=v===void 0?true:v;var u={placement:S(t.placement),variation:ar(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:a,isFixed:t.options.strategy==="fixed"};if(t.modifiersData.popperOffsets!=null){t.styles.popper=Object.assign({},t.styles.popper,vr(Object.assign({},u,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:o,roundOffsets:f})))}if(t.modifiersData.arrow!=null){t.styles.arrow=Object.assign({},t.styles.arrow,vr(Object.assign({},u,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:false,roundOffsets:f})))}t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const ur={name:"computeStyles",enabled:true,phase:"beforeWrite",fn:fr,data:{}};var cr={passive:true};function sr(r){var t=r.state,n=r.instance,e=r.options;var a=e.scroll,i=a===void 0?true:a,o=e.resize,v=o===void 0?true:o;var f=k(t.elements.popper);var u=[].concat(t.scrollParents.reference,t.scrollParents.popper);if(i){u.forEach((function(r){r.addEventListener("scroll",n.update,cr)}))}if(v){f.addEventListener("resize",n.update,cr)}return function(){if(i){u.forEach((function(r){r.removeEventListener("scroll",n.update,cr)}))}if(v){f.removeEventListener("resize",n.update,cr)}}}const lr={name:"eventListeners",enabled:true,phase:"write",fn:function r(){},effect:sr,data:{}};var dr={left:"right",right:"left",bottom:"top",top:"bottom"};function pr(r){return r.replace(/left|right|bottom|top/g,(function(r){return dr[r]}))}var br={start:"end",end:"start"};function hr(r){return r.replace(/start|end/g,(function(r){return br[r]}))}function yr(r){var t=k(r);var n=t.pageXOffset;var e=t.pageYOffset;return{scrollLeft:n,scrollTop:e}}function mr(r){return z(V(r)).left+yr(r).scrollLeft}function xr(r,t){var n=k(r);var e=V(r);var a=n.visualViewport;var i=e.clientWidth;var o=e.clientHeight;var v=0;var f=0;if(a){i=a.width;o=a.height;var u=I();if(u||!u&&t==="fixed"){v=a.offsetLeft;f=a.offsetTop}}return{width:i,height:o,x:v+mr(r),y:f}}function wr(r){var t;var n=V(r);var e=yr(r);var a=(t=r.ownerDocument)==null?void 0:t.body;var i=W(n.scrollWidth,n.clientWidth,a?a.scrollWidth:0,a?a.clientWidth:0);var o=W(n.scrollHeight,n.clientHeight,a?a.scrollHeight:0,a?a.clientHeight:0);var v=-e.scrollLeft+mr(r);var f=-e.scrollTop;if(F(a||n).direction==="rtl"){v+=W(n.clientWidth,a?a.clientWidth:0)-i}return{width:i,height:o,x:v,y:f}}function Or(r){var t=F(r),n=t.overflow,e=t.overflowX,a=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+a+e)}function gr(r){if(["html","body","#document"].indexOf(M(r))>=0){return r.ownerDocument.body}if(E(r)&&Or(r)){return r}return gr(_(r))}function jr(r,t){var n;if(t===void 0){t=[]}var e=gr(r);var a=e===((n=r.ownerDocument)==null?void 0:n.body);var i=k(e);var o=a?[i].concat(i.visualViewport||[],Or(e)?e:[]):e;var v=t.concat(o);return a?v:v.concat(jr(_(o)))}function Mr(r){return Object.assign({},r,{left:r.x,top:r.y,right:r.x+r.width,bottom:r.y+r.height})}function kr(r,t){var n=z(r,false,t==="fixed");n.top=n.top+r.clientTop;n.left=n.left+r.clientLeft;n.bottom=n.top+r.clientHeight;n.right=n.left+r.clientWidth;n.width=r.clientWidth;n.height=r.clientHeight;n.x=n.left;n.y=n.top;return n}function Ar(r,t,n){return t===u?Mr(xr(r,n)):A(t)?kr(t,n):Mr(wr(V(r)))}function Er(r){var t=jr(_(r));var n=["absolute","fixed"].indexOf(F(r).position)>=0;var e=n&&E(r)?K(r):r;if(!A(e)){return[]}return t.filter((function(r){return A(r)&&D(r,e)&&M(r)!=="body"}))}function qr(r,t,n,e){var a=t==="clippingParents"?Er(r):[].concat(t);var i=[].concat(a,[n]);var o=i[0];var v=i.reduce((function(t,n){var a=Ar(r,n,e);t.top=W(a.top,t.top);t.right=L(a.right,t.right);t.bottom=L(a.bottom,t.bottom);t.left=W(a.left,t.left);return t}),Ar(r,o,e));v.width=v.right-v.left;v.height=v.bottom-v.top;v.x=v.left;v.y=v.top;return v}function Br(a){var i=a.reference,f=a.element,u=a.placement;var c=u?S(u):null;var s=u?ar(u):null;var l=i.x+i.width/2-f.width/2;var d=i.y+i.height/2-f.height/2;var p;switch(c){case r:p={x:l,y:i.y-f.height};break;case t:p={x:l,y:i.y+i.height};break;case n:p={x:i.x+i.width,y:d};break;case e:p={x:i.x-f.width,y:d};break;default:p={x:i.x,y:i.y}}var b=c?N(c):null;if(b!=null){var h=b==="y"?"height":"width";switch(s){case o:p[b]=p[b]-(i[h]/2-f[h]/2);break;case v:p[b]=p[b]+(i[h]/2-f[h]/2);break}}return p}function Pr(e,a){if(a===void 0){a={}}var o=a,v=o.placement,l=v===void 0?e.placement:v,d=o.strategy,p=d===void 0?e.strategy:d,b=o.boundary,h=b===void 0?f:b,y=o.rootBoundary,m=y===void 0?u:y,x=o.elementContext,w=x===void 0?c:x,O=o.altBoundary,g=O===void 0?false:O,j=o.padding,M=j===void 0?0:j;var k=Z(typeof M!=="number"?M:$(M,i));var E=w===c?s:c;var q=e.rects.popper;var B=e.elements[g?E:w];var P=qr(A(B)?B:B.contextElement||V(e.elements.popper),h,m,p);var R=z(e.elements.reference);var S=Br({reference:R,element:q,strategy:"absolute",placement:l});var W=Mr(Object.assign({},q,S));var L=w===c?W:R;var T={top:P.top-L.top+k.top,bottom:L.bottom-P.bottom+k.bottom,left:P.left-L.left+k.left,right:L.right-P.right+k.right};var H=e.modifiersData.offset;if(w===c&&H){var I=H[l];Object.keys(T).forEach((function(e){var a=[n,t].indexOf(e)>=0?1:-1;var i=[r,t].indexOf(e)>=0?"y":"x";T[e]+=I[i]*a}))}return T}function Rr(r,t){if(t===void 0){t={}}var n=t,e=n.placement,a=n.boundary,o=n.rootBoundary,v=n.padding,f=n.flipVariations,u=n.allowedAutoPlacements,c=u===void 0?d:u;var s=ar(e);var p=s?f?l:l.filter((function(r){return ar(r)===s})):i;var b=p.filter((function(r){return c.indexOf(r)>=0}));if(b.length===0){b=p}var h=b.reduce((function(t,n){t[n]=Pr(r,{placement:n,boundary:a,rootBoundary:o,padding:v})[S(n)];return t}),{});return Object.keys(h).sort((function(r,t){return h[r]-h[t]}))}function Sr(r){if(S(r)===a){return[]}var t=pr(r);return[hr(r),t,hr(t)]}function Wr(i){var v=i.state,f=i.options,u=i.name;if(v.modifiersData[u]._skip){return}var c=f.mainAxis,s=c===void 0?true:c,l=f.altAxis,d=l===void 0?true:l,p=f.fallbackPlacements,b=f.padding,h=f.boundary,y=f.rootBoundary,m=f.altBoundary,x=f.flipVariations,w=x===void 0?true:x,O=f.allowedAutoPlacements;var g=v.options.placement;var j=S(g);var M=j===g;var k=p||(M||!w?[pr(g)]:Sr(g));var A=[g].concat(k).reduce((function(r,t){return r.concat(S(t)===a?Rr(v,{placement:t,boundary:h,rootBoundary:y,padding:b,flipVariations:w,allowedAutoPlacements:O}):t)}),[]);var E=v.rects.reference;var q=v.rects.popper;var B=new Map;var P=true;var R=A[0];for(var W=0;W<A.length;W++){var L=A[W];var T=S(L);var H=ar(L)===o;var I=[r,t].indexOf(T)>=0;var z=I?"width":"height";var C=Pr(v,{placement:L,boundary:h,rootBoundary:y,altBoundary:m,padding:b});var D=I?H?n:e:H?t:r;if(E[z]>q[z]){D=pr(D)}var F=pr(D);var U=[];if(s){U.push(C[T]<=0)}if(d){U.push(C[D]<=0,C[F]<=0)}if(U.every((function(r){return r}))){R=L;P=false;break}B.set(L,U)}if(P){var V=w?3:1;var _=function r(t){var n=A.find((function(r){var n=B.get(r);if(n){return n.slice(0,t).every((function(r){return r}))}}));if(n){R=n;return"break"}};for(var G=V;G>0;G--){var J=_(G);if(J==="break")break}}if(v.placement!==R){v.modifiersData[u]._skip=true;v.placement=R;v.reset=true}}const Lr={name:"flip",enabled:true,phase:"main",fn:Wr,requiresIfExists:["offset"],data:{_skip:false}};function Tr(r,t,n){if(n===void 0){n={x:0,y:0}}return{top:r.top-t.height-n.y,right:r.right-t.width+n.x,bottom:r.bottom-t.height+n.y,left:r.left-t.width-n.x}}function Hr(a){return[r,n,t,e].some((function(r){return a[r]>=0}))}function Ir(r){var t=r.state,n=r.name;var e=t.rects.reference;var a=t.rects.popper;var i=t.modifiersData.preventOverflow;var o=Pr(t,{elementContext:"reference"});var v=Pr(t,{altBoundary:true});var f=Tr(o,e);var u=Tr(v,a,i);var c=Hr(f);var s=Hr(u);t.modifiersData[n]={referenceClippingOffsets:f,popperEscapeOffsets:u,isReferenceHidden:c,hasPopperEscaped:s};t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":s})}const zr={name:"hide",enabled:true,phase:"main",requiresIfExists:["preventOverflow"],fn:Ir};function Cr(t,a,i){var o=S(t);var v=[e,r].indexOf(o)>=0?-1:1;var f=typeof i==="function"?i(Object.assign({},a,{placement:t})):i,u=f[0],c=f[1];u=u||0;c=(c||0)*v;return[e,n].indexOf(o)>=0?{x:c,y:u}:{x:u,y:c}}function Dr(r){var t=r.state,n=r.options,e=r.name;var a=n.offset,i=a===void 0?[0,0]:a;var o=d.reduce((function(r,n){r[n]=Cr(n,t.rects,i);return r}),{});var v=o[t.placement],f=v.x,u=v.y;if(t.modifiersData.popperOffsets!=null){t.modifiersData.popperOffsets.x+=f;t.modifiersData.popperOffsets.y+=u}t.modifiersData[e]=o}const Fr={name:"offset",enabled:true,phase:"main",requires:["popperOffsets"],fn:Dr};function Ur(r){var t=r.state,n=r.name;t.modifiersData[n]=Br({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}const Vr={name:"popperOffsets",enabled:true,phase:"read",fn:Ur,data:{}};function _r(r){return r==="x"?"y":"x"}function Gr(a){var i=a.state,v=a.options,f=a.name;var u=v.mainAxis,c=u===void 0?true:u,s=v.altAxis,l=s===void 0?false:s,d=v.boundary,p=v.rootBoundary,b=v.altBoundary,h=v.padding,y=v.tether,m=y===void 0?true:y,x=v.tetherOffset,w=x===void 0?0:x;var O=Pr(i,{boundary:d,rootBoundary:p,padding:h,altBoundary:b});var g=S(i.placement);var j=ar(i.placement);var M=!j;var k=N(g);var A=_r(k);var E=i.modifiersData.popperOffsets;var q=i.rects.reference;var B=i.rects.popper;var P=typeof w==="function"?w(Object.assign({},i.rects,{placement:i.placement})):w;var R=typeof P==="number"?{mainAxis:P,altAxis:P}:Object.assign({mainAxis:0,altAxis:0},P);var T=i.modifiersData.offset?i.modifiersData.offset[i.placement]:null;var H={x:0,y:0};if(!E){return}if(c){var I;var z=k==="y"?r:e;var D=k==="y"?t:n;var F=k==="y"?"height":"width";var U=E[k];var V=U+O[z];var _=U-O[D];var G=m?-B[F]/2:0;var J=j===o?q[F]:B[F];var Z=j===o?-B[F]:-q[F];var $=i.elements.arrow;var rr=m&&$?C($):{width:0,height:0};var tr=i.modifiersData["arrow#persistent"]?i.modifiersData["arrow#persistent"].padding:Y();var nr=tr[z];var er=tr[D];var ir=Q(0,q[F],rr[F]);var or=M?q[F]/2-G-ir-nr-R.mainAxis:J-ir-nr-R.mainAxis;var vr=M?-q[F]/2+G+ir+er+R.mainAxis:Z+ir+er+R.mainAxis;var fr=i.elements.arrow&&K(i.elements.arrow);var ur=fr?k==="y"?fr.clientTop||0:fr.clientLeft||0:0;var cr=(I=T==null?void 0:T[k])!=null?I:0;var sr=U+or-cr-ur;var lr=U+vr-cr;var dr=Q(m?L(V,sr):V,U,m?W(_,lr):_);E[k]=dr;H[k]=dr-U}if(l){var pr;var br=k==="x"?r:e;var hr=k==="x"?t:n;var yr=E[A];var mr=A==="y"?"height":"width";var xr=yr+O[br];var wr=yr-O[hr];var Or=[r,e].indexOf(g)!==-1;var gr=(pr=T==null?void 0:T[A])!=null?pr:0;var jr=Or?xr:yr-q[mr]-B[mr]-gr+R.altAxis;var Mr=Or?yr+q[mr]+B[mr]-gr-R.altAxis:wr;var kr=m&&Or?X(jr,yr,Mr):Q(m?jr:xr,yr,m?Mr:wr);E[A]=kr;H[A]=kr-yr}i.modifiersData[f]=H}const Jr={name:"preventOverflow",enabled:true,phase:"main",fn:Gr,requiresIfExists:["offset"]};function Kr(r){return{scrollLeft:r.scrollLeft,scrollTop:r.scrollTop}}function Nr(r){if(r===k(r)||!E(r)){return yr(r)}else{return Kr(r)}}function Qr(r){var t=r.getBoundingClientRect();var n=T(t.width)/r.offsetWidth||1;var e=T(t.height)/r.offsetHeight||1;return n!==1||e!==1}function Xr(r,t,n){if(n===void 0){n=false}var e=E(t);var a=E(t)&&Qr(t);var i=V(t);var o=z(r,a,n);var v={scrollLeft:0,scrollTop:0};var f={x:0,y:0};if(e||!e&&!n){if(M(t)!=="body"||Or(i)){v=Nr(t)}if(E(t)){f=z(t,true);f.x+=t.clientLeft;f.y+=t.clientTop}else if(i){f.x=mr(i)}}return{x:o.left+v.scrollLeft-f.x,y:o.top+v.scrollTop-f.y,width:o.width,height:o.height}}function Yr(r){var t=new Map;var n=new Set;var e=[];r.forEach((function(r){t.set(r.name,r)}));function a(r){n.add(r.name);var i=[].concat(r.requires||[],r.requiresIfExists||[]);i.forEach((function(r){if(!n.has(r)){var e=t.get(r);if(e){a(e)}}}));e.push(r)}r.forEach((function(r){if(!n.has(r.name)){a(r)}}));return e}function Zr(r){var t=Yr(r);return j.reduce((function(r,n){return r.concat(t.filter((function(r){return r.phase===n})))}),[])}function $r(r){var t;return function(){if(!t){t=new Promise((function(n){Promise.resolve().then((function(){t=undefined;n(r())}))}))}return t}}function rt(r){var t=r.reduce((function(r,t){var n=r[t.name];r[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t;return r}),{});return Object.keys(t).map((function(r){return t[r]}))}var tt={placement:"bottom",modifiers:[],strategy:"absolute"};function nt(){for(var r=arguments.length,t=new Array(r),n=0;n<r;n++){t[n]=arguments[n]}return!t.some((function(r){return!(r&&typeof r.getBoundingClientRect==="function")}))}function et(r){if(r===void 0){r={}}var t=r,n=t.defaultModifiers,e=n===void 0?[]:n,a=t.defaultOptions,i=a===void 0?tt:a;return function r(t,n,a){if(a===void 0){a=i}var o={placement:"bottom",orderedModifiers:[],options:Object.assign({},tt,i),modifiersData:{},elements:{reference:t,popper:n},attributes:{},styles:{}};var v=[];var f=false;var u={state:o,setOptions:function r(a){var v=typeof a==="function"?a(o.options):a;s();o.options=Object.assign({},i,o.options,v);o.scrollParents={reference:A(t)?jr(t):t.contextElement?jr(t.contextElement):[],popper:jr(n)};var f=Zr(rt([].concat(e,o.options.modifiers)));o.orderedModifiers=f.filter((function(r){return r.enabled}));c();return u.update()},forceUpdate:function r(){if(f){return}var t=o.elements,n=t.reference,e=t.popper;if(!nt(n,e)){return}o.rects={reference:Xr(n,K(e),o.options.strategy==="fixed"),popper:C(e)};o.reset=false;o.placement=o.options.placement;o.orderedModifiers.forEach((function(r){return o.modifiersData[r.name]=Object.assign({},r.data)}));for(var a=0;a<o.orderedModifiers.length;a++){if(o.reset===true){o.reset=false;a=-1;continue}var i=o.orderedModifiers[a],v=i.fn,c=i.options,s=c===void 0?{}:c,l=i.name;if(typeof v==="function"){o=v({state:o,options:s,name:l,instance:u})||o}}},update:$r((function(){return new Promise((function(r){u.forceUpdate();r(o)}))})),destroy:function r(){s();f=true}};if(!nt(t,n)){return u}u.setOptions(a).then((function(r){if(!f&&a.onFirstUpdate){a.onFirstUpdate(r)}}));function c(){o.orderedModifiers.forEach((function(r){var t=r.name,n=r.options,e=n===void 0?{}:n,a=r.effect;if(typeof a==="function"){var i=a({state:o,name:t,instance:u,options:e});var f=function r(){};v.push(i||f)}}))}function s(){v.forEach((function(r){return r()}));v=[]}return u}}var at=[lr,Vr,ur,R,Fr,Lr,Jr,er,zr];var it=et({defaultModifiers:at});function ot(r){const t=window.getComputedStyle(r);const n=t.getPropertyValue("overflow-x");const e=t.getPropertyValue("overflow-y");const a=["hidden","clip"];return a.indexOf(n)!==-1||a.indexOf(e)!==-1}export{w as b,it as c,Pr as d,ot as h};
|
|
2
|
+
//# sourceMappingURL=p-871bfdf9.js.map
|