@dso-toolkit/core 73.0.1 → 73.2.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-body-BBlFDtNQ.js → annotation-body-DiF6OSBJ.js} +3 -3
- package/dist/cjs/annotation-body-DiF6OSBJ.js.map +1 -0
- package/dist/cjs/{annotation-list-renvooi-values-BRsXjGPr.js → annotation-list-renvooi-values-BsuXHY9R.js} +3 -3
- package/dist/cjs/annotation-list-renvooi-values-BsuXHY9R.js.map +1 -0
- package/dist/cjs/{annotation-symbol-slot-Ko-yyBqQ.js → annotation-watcher-8xS6vsxu.js} +5 -5
- package/dist/cjs/annotation-watcher-8xS6vsxu.js.map +1 -0
- package/dist/cjs/dso-accordion-section.cjs.entry.js +2 -2
- package/dist/cjs/dso-accordion-section.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-accordion-section.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-accordion.cjs.entry.js +2 -2
- package/dist/cjs/dso-accordion.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-accordion.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-action-list-item.cjs.entry.js +1 -1
- package/dist/cjs/dso-action-list-item.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-action-list-item.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-action-list.cjs.entry.js +1 -1
- package/dist/cjs/dso-action-list.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-action-list.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-advanced-select.cjs.entry.js +3 -3
- package/dist/cjs/dso-advanced-select.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-advanced-select.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-alert.dso-badge.dso-image-overlay.dso-ozon-content.dso-panel.dso-table.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-alert_6.cjs.entry.js +36 -36
- package/dist/cjs/dso-alert_6.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-annotation-activiteit.cjs.entry.js +7 -7
- package/dist/cjs/dso-annotation-activiteit.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-annotation-activiteit.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-annotation-gebiedsaanwijzing.cjs.entry.js +6 -6
- package/dist/cjs/dso-annotation-gebiedsaanwijzing.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-annotation-gebiedsaanwijzing.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-annotation-kaart.cjs.entry.js +4 -4
- package/dist/cjs/dso-annotation-kaart.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-annotation-kaart.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-annotation-locatie.dso-document-component.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-annotation-locatie_2.cjs.entry.js +7 -7
- package/dist/cjs/dso-annotation-locatie_2.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-annotation-omgevingsnormwaarde.cjs.entry.js +7 -7
- package/dist/cjs/dso-annotation-omgevingsnormwaarde.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-annotation-omgevingsnormwaarde.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-attachments-counter.dso-expandable.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-attachments-counter_2.cjs.entry.js +1 -1
- package/dist/cjs/dso-attachments-counter_2.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-autosuggest.cjs.entry.js +3 -3
- package/dist/cjs/dso-autosuggest.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-autosuggest.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-banner.cjs.entry.js +1 -1
- package/dist/cjs/dso-banner.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-banner.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-card-container.cjs.entry.js +2 -2
- package/dist/cjs/dso-card-container.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-card-container.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-card.cjs.entry.js +1 -1
- package/dist/cjs/dso-card.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-card.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-contact-information.cjs.entry.js +1 -1
- package/dist/cjs/dso-date-picker-legacy.cjs.entry.js +33 -33
- package/dist/cjs/dso-date-picker-legacy.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-date-picker-legacy.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-date-picker.cjs.entry.js +1 -1
- package/dist/cjs/dso-date-picker.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-date-picker.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-document-card.cjs.entry.js +3 -3
- package/dist/cjs/dso-document-card.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-document-card.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-dropdown-menu.cjs.entry.js +3 -3
- package/dist/cjs/dso-dropdown-menu.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-dropdown-menu.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-header.cjs.entry.js +2 -2
- package/dist/cjs/dso-header.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-header.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-highlight-box.cjs.entry.js +2 -2
- package/dist/cjs/dso-highlight-box.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-highlight-box.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-icon.cjs.entry.js +39 -39
- package/dist/cjs/dso-icon.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-icon.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-info-button.cjs.entry.js +2 -2
- package/dist/cjs/dso-info-button.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-info-button.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-info.dso-selectable.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-info_2.cjs.entry.js +3 -3
- package/dist/cjs/dso-info_2.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-input-range.cjs.entry.js +3 -3
- package/dist/cjs/dso-input-range.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-input-range.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-label.dso-renvooi.dso-slide-toggle.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-label_3.cjs.entry.js +5 -5
- package/dist/cjs/dso-label_3.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-legend-item.cjs.entry.js +3 -3
- package/dist/cjs/dso-legend-item.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-legend-item.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-list-button.cjs.entry.js +2 -2
- package/dist/cjs/dso-list-button.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-list-button.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-logo.cjs.entry.js +2 -2
- package/dist/cjs/dso-logo.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-logo.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-map-base-layers.cjs.entry.js +3 -3
- package/dist/cjs/dso-map-base-layers.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-map-base-layers.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-map-controls.cjs.entry.js +4 -4
- package/dist/cjs/dso-map-controls.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-map-controls.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-map-overlays.cjs.entry.js +3 -3
- package/dist/cjs/dso-map-overlays.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-map-overlays.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-mark-bar.cjs.entry.js +2 -2
- package/dist/cjs/dso-mark-bar.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-mark-bar.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-modal.cjs.entry.js +4 -4
- package/dist/cjs/dso-modal.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-modal.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-onboarding-tip.cjs.entry.js +29 -17
- package/dist/cjs/dso-onboarding-tip.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-onboarding-tip.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-pagination.cjs.entry.js +1 -1
- package/dist/cjs/dso-pagination.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-pagination.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-plekinfo-card.cjs.entry.js +3 -3
- package/dist/cjs/dso-plekinfo-card.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-plekinfo-card.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-progress-bar.cjs.entry.js +2 -2
- package/dist/cjs/dso-progress-bar.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-progress-bar.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-progress-indicator.cjs.entry.js +3 -3
- package/dist/cjs/dso-progress-indicator.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-progress-indicator.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-project-item.cjs.entry.js +2 -2
- package/dist/cjs/dso-project-item.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-project-item.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-responsive-element.cjs.entry.js +2 -2
- package/dist/cjs/dso-responsive-element.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-responsive-element.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-scrollable.cjs.entry.js +3 -3
- package/dist/cjs/dso-scrollable.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-scrollable.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-skiplink.cjs.entry.js +2 -2
- package/dist/cjs/dso-skiplink.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-skiplink.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-survey-rating.cjs.entry.js +3 -3
- package/dist/cjs/dso-survey-rating.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-survey-rating.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-tab.cjs.entry.js +1 -1
- package/dist/cjs/dso-tab.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-tab.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-tabs.cjs.entry.js +2 -2
- package/dist/cjs/dso-tabs.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-tabs.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-toggletip.cjs.entry.js +2 -2
- package/dist/cjs/dso-toggletip.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-toggletip.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-toolkit.cjs.js +2 -2
- package/dist/cjs/dso-toolkit.cjs.js.map +1 -1
- package/dist/cjs/dso-tooltip.cjs.entry.js +4 -4
- package/dist/cjs/dso-tooltip.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-tooltip.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-tree-view.cjs.entry.js +2 -2
- package/dist/cjs/dso-tree-view.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-tree-view.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-viewer-grid.cjs.entry.js +4 -4
- package/dist/cjs/dso-viewer-grid.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-viewer-grid.entry.cjs.js.map +1 -1
- package/dist/cjs/dsot-document-component-demo.cjs.entry.js +1105 -1105
- package/dist/cjs/dsot-document-component-demo.cjs.entry.js.map +1 -1
- package/dist/cjs/dsot-document-component-demo.entry.cjs.js.map +1 -1
- package/dist/cjs/{i18n-D9iWFntP.js → i18n-yRiEgk_k.js} +123 -204
- package/dist/cjs/i18n-yRiEgk_k.js.map +1 -0
- package/dist/cjs/{index-DvrTSHdI.js → index-Bfuot2fD.js} +3 -3
- package/dist/cjs/{index-DvrTSHdI.js.map → index-Bfuot2fD.js.map} +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/accordion/accordion.js +2 -2
- package/dist/collection/components/accordion/accordion.js.map +1 -1
- package/dist/collection/components/accordion/components/accordion-section.css +1 -1
- package/dist/collection/components/accordion/components/accordion-section.js +1 -1
- package/dist/collection/components/accordion/components/accordion-section.js.map +1 -1
- package/dist/collection/components/action-list/action-list.js +1 -1
- package/dist/collection/components/action-list/action-list.js.map +1 -1
- package/dist/collection/components/action-list/components/action-list-item.js +1 -1
- package/dist/collection/components/action-list/components/action-list-item.js.map +1 -1
- package/dist/collection/components/advanced-select/advanced-select.js +3 -3
- package/dist/collection/components/advanced-select/advanced-select.js.map +1 -1
- package/dist/collection/components/alert/alert.js +1 -1
- package/dist/collection/components/alert/alert.js.map +1 -1
- package/dist/collection/components/annotation/annotation-activiteit/annotation-activiteit.js +4 -4
- package/dist/collection/components/annotation/annotation-activiteit/annotation-activiteit.js.map +1 -1
- package/dist/collection/components/annotation/annotation-body.js.map +1 -1
- package/dist/collection/components/annotation/annotation-gebiedsaanwijzing/annotation-gebiedsaanwijzing.js +3 -3
- package/dist/collection/components/annotation/annotation-gebiedsaanwijzing/annotation-gebiedsaanwijzing.js.map +1 -1
- package/dist/collection/components/annotation/annotation-kaart/annotation-kaart.js +2 -2
- package/dist/collection/components/annotation/annotation-kaart/annotation-kaart.js.map +1 -1
- package/dist/collection/components/annotation/annotation-list-renvooi-values.js.map +1 -1
- package/dist/collection/components/annotation/annotation-locatie/annotation-locatie.js +2 -2
- package/dist/collection/components/annotation/annotation-locatie/annotation-locatie.js.map +1 -1
- package/dist/collection/components/annotation/annotation-omgevingsnormwaarde/annotation-omgevingsnormwaarde.js +3 -3
- package/dist/collection/components/annotation/annotation-omgevingsnormwaarde/annotation-omgevingsnormwaarde.js.map +1 -1
- package/dist/collection/components/annotation/annotation-symbol-slot.js.map +1 -1
- package/dist/collection/components/annotation/annotation.css +1 -1
- package/dist/collection/components/attachments-counter/attachments-counter.js.map +1 -1
- package/dist/collection/components/autosuggest/autosuggest.js +1 -1
- package/dist/collection/components/autosuggest/autosuggest.js.map +1 -1
- package/dist/collection/components/badge/badge.js +1 -1
- package/dist/collection/components/badge/badge.js.map +1 -1
- package/dist/collection/components/banner/banner.js.map +1 -1
- package/dist/collection/components/card/card.js +1 -1
- package/dist/collection/components/card/card.js.map +1 -1
- package/dist/collection/components/card-container/card-container.js +2 -2
- package/dist/collection/components/card-container/card-container.js.map +1 -1
- package/dist/collection/components/date-picker/date-picker.js +1 -1
- package/dist/collection/components/date-picker/date-picker.js.map +1 -1
- package/dist/collection/components/date-picker-legacy/date-picker-day.js.map +1 -1
- package/dist/collection/components/date-picker-legacy/date-picker-legacy.js +5 -5
- package/dist/collection/components/date-picker-legacy/date-picker-legacy.js.map +1 -1
- package/dist/collection/components/date-picker-legacy/date-picker-month.js.map +1 -1
- package/dist/collection/components/document-card/document-card.css +12 -7
- package/dist/collection/components/document-card/document-card.js +2 -2
- package/dist/collection/components/document-card/document-card.js.map +1 -1
- package/dist/collection/components/document-component/document-component-heading.js.map +1 -1
- package/dist/collection/components/document-component/document-component.js +2 -2
- package/dist/collection/components/document-component/document-component.js.map +1 -1
- package/dist/collection/components/document-component-demo/document-component.demo.js +3 -3
- package/dist/collection/components/document-component-demo/document-component.demo.js.map +1 -1
- package/dist/collection/components/dropdown-menu/dropdown-menu.js +3 -3
- package/dist/collection/components/dropdown-menu/dropdown-menu.js.map +1 -1
- package/dist/collection/components/expandable/expandable.js +1 -1
- package/dist/collection/components/expandable/expandable.js.map +1 -1
- package/dist/collection/components/header/header.js.map +1 -1
- package/dist/collection/components/highlight-box/highlight-box.js +2 -2
- package/dist/collection/components/highlight-box/highlight-box.js.map +1 -1
- package/dist/collection/components/icon/icon.js +8 -8
- package/dist/collection/components/icon/icon.js.map +1 -1
- package/dist/collection/components/image-overlay/image-overlay.js +1 -1
- package/dist/collection/components/image-overlay/image-overlay.js.map +1 -1
- package/dist/collection/components/info/info.js +2 -2
- package/dist/collection/components/info/info.js.map +1 -1
- package/dist/collection/components/info-button/info-button.js +2 -2
- package/dist/collection/components/info-button/info-button.js.map +1 -1
- package/dist/collection/components/input-range/input-range.js +3 -3
- package/dist/collection/components/input-range/input-range.js.map +1 -1
- package/dist/collection/components/label/label.js +4 -4
- package/dist/collection/components/label/label.js.map +1 -1
- package/dist/collection/components/legend-item/legend-item.js +3 -3
- package/dist/collection/components/legend-item/legend-item.js.map +1 -1
- package/dist/collection/components/list-button/list-button.js +2 -2
- package/dist/collection/components/list-button/list-button.js.map +1 -1
- package/dist/collection/components/logo/logo.js +1 -1
- package/dist/collection/components/logo/logo.js.map +1 -1
- package/dist/collection/components/map-base-layers/map-base-layers.js +1 -1
- package/dist/collection/components/map-base-layers/map-base-layers.js.map +1 -1
- package/dist/collection/components/map-controls/map-controls.css +8 -1
- package/dist/collection/components/map-controls/map-controls.js +1 -1
- package/dist/collection/components/map-controls/map-controls.js.map +1 -1
- package/dist/collection/components/map-overlays/map-overlays.js +1 -1
- package/dist/collection/components/map-overlays/map-overlays.js.map +1 -1
- package/dist/collection/components/mark-bar/mark-bar.js +1 -1
- package/dist/collection/components/mark-bar/mark-bar.js.map +1 -1
- package/dist/collection/components/modal/modal.js +2 -2
- package/dist/collection/components/modal/modal.js.map +1 -1
- package/dist/collection/components/onboarding-tip/onboarding-tip.css +1 -1
- package/dist/collection/components/onboarding-tip/onboarding-tip.js +3 -3
- package/dist/collection/components/onboarding-tip/onboarding-tip.js.map +1 -1
- package/dist/collection/components/ozon-content/functional-components/wrap-wijzigactie.functional-component.js.map +1 -1
- package/dist/collection/components/ozon-content/nodes/abbr.node.js.map +1 -1
- package/dist/collection/components/ozon-content/nodes/al.node.js +3 -3
- package/dist/collection/components/ozon-content/nodes/al.node.js.map +1 -1
- package/dist/collection/components/ozon-content/nodes/figuur.node.js.map +1 -1
- package/dist/collection/components/ozon-content/nodes/inline-tekst-afbeelding.node.js.map +1 -1
- package/dist/collection/components/ozon-content/nodes/kop.node.js +1 -1
- package/dist/collection/components/ozon-content/nodes/kop.node.js.map +1 -1
- package/dist/collection/components/ozon-content/nodes/lijst.node.js +3 -3
- package/dist/collection/components/ozon-content/nodes/lijst.node.js.map +1 -1
- package/dist/collection/components/ozon-content/nodes/noot.node.js +1 -1
- package/dist/collection/components/ozon-content/nodes/noot.node.js.map +1 -1
- package/dist/collection/components/ozon-content/nodes/table.node/table-cell.js.map +1 -1
- package/dist/collection/components/ozon-content/nodes/text.node.js.map +1 -1
- package/dist/collection/components/ozon-content/ozon-content-context.interface.js.map +1 -1
- package/dist/collection/components/ozon-content/ozon-content-mapper.js +1 -1
- package/dist/collection/components/ozon-content/ozon-content-mapper.js.map +1 -1
- package/dist/collection/components/ozon-content/ozon-content.js +2 -2
- package/dist/collection/components/ozon-content/ozon-content.js.map +1 -1
- package/dist/collection/components/pagination/pagination.js +1 -1
- package/dist/collection/components/pagination/pagination.js.map +1 -1
- package/dist/collection/components/panel/panel.js +1 -1
- package/dist/collection/components/panel/panel.js.map +1 -1
- package/dist/collection/components/plekinfo-card/plekinfo-card.css +12 -8
- package/dist/collection/components/plekinfo-card/plekinfo-card.js +2 -2
- package/dist/collection/components/plekinfo-card/plekinfo-card.js.map +1 -1
- package/dist/collection/components/progress-bar/progress-bar.js +1 -1
- package/dist/collection/components/progress-bar/progress-bar.js.map +1 -1
- package/dist/collection/components/progress-indicator/progress-indicator.js +2 -2
- package/dist/collection/components/progress-indicator/progress-indicator.js.map +1 -1
- package/dist/collection/components/project-item/project-item.js +2 -2
- package/dist/collection/components/project-item/project-item.js.map +1 -1
- package/dist/collection/components/renvooi/renvooi-render-text.js.map +1 -1
- package/dist/collection/components/renvooi/renvooi-render.js.map +1 -1
- package/dist/collection/components/renvooi/renvooi.js.map +1 -1
- package/dist/collection/components/responsive-element/responsive-element.js +2 -2
- package/dist/collection/components/responsive-element/responsive-element.js.map +1 -1
- package/dist/collection/components/scrollable/scrollable.js +2 -2
- package/dist/collection/components/scrollable/scrollable.js.map +1 -1
- package/dist/collection/components/selectable/selectable.js +2 -2
- package/dist/collection/components/selectable/selectable.js.map +1 -1
- package/dist/collection/components/skiplink/skiplink.js +1 -1
- package/dist/collection/components/skiplink/skiplink.js.map +1 -1
- package/dist/collection/components/slide-toggle/slide-toggle.js +2 -2
- package/dist/collection/components/slide-toggle/slide-toggle.js.map +1 -1
- package/dist/collection/components/survey-rating/survey-rating.js +2 -2
- package/dist/collection/components/survey-rating/survey-rating.js.map +1 -1
- package/dist/collection/components/table/table.js +2 -2
- package/dist/collection/components/table/table.js.map +1 -1
- package/dist/collection/components/tabs/components/tab.js.map +1 -1
- package/dist/collection/components/tabs/tabs.js +2 -2
- package/dist/collection/components/tabs/tabs.js.map +1 -1
- package/dist/collection/components/toggletip/toggletip.js +2 -2
- package/dist/collection/components/toggletip/toggletip.js.map +1 -1
- package/dist/collection/components/tooltip/tooltip.css +1 -1
- package/dist/collection/components/tooltip/tooltip.js +4 -4
- package/dist/collection/components/tooltip/tooltip.js.map +1 -1
- package/dist/collection/components/tree-view/tree-item.js +1 -1
- package/dist/collection/components/tree-view/tree-item.js.map +1 -1
- package/dist/collection/components/tree-view/tree-view.js +1 -1
- package/dist/collection/components/tree-view/tree-view.js.map +1 -1
- package/dist/collection/components/viewer-grid/components/document-panel.js.map +1 -1
- package/dist/collection/components/viewer-grid/components/filterpanel.js.map +1 -1
- package/dist/collection/components/viewer-grid/components/main-panel.js.map +1 -1
- package/dist/collection/components/viewer-grid/components/sizing-buttons.js.map +1 -1
- package/dist/collection/components/viewer-grid/viewer-grid.css +5 -1
- package/dist/collection/components/viewer-grid/viewer-grid.js +2 -2
- package/dist/collection/components/viewer-grid/viewer-grid.js.map +1 -1
- package/dist/collection/utils/i18n.js +2 -2
- package/dist/collection/utils/i18n.js.map +1 -1
- package/dist/components/alert.js +1 -1
- package/dist/components/alert.js.map +1 -1
- package/dist/components/annotation-body.js.map +1 -1
- package/dist/components/annotation-list-renvooi-values.js.map +1 -1
- package/dist/components/annotation-locatie.js +2 -2
- package/dist/components/annotation-locatie.js.map +1 -1
- package/dist/components/{annotation-symbol-slot.js → annotation-watcher.js} +4 -4
- package/dist/components/annotation-watcher.js.map +1 -0
- package/dist/components/attachments-counter.js.map +1 -1
- package/dist/components/badge.js +1 -1
- package/dist/components/badge.js.map +1 -1
- package/dist/components/document-component.js +1 -1
- package/dist/components/document-component.js.map +1 -1
- package/dist/components/dropdown-menu.js +2 -2
- package/dist/components/dropdown-menu.js.map +1 -1
- package/dist/components/dso-accordion-section.js +1 -1
- package/dist/components/dso-accordion-section.js.map +1 -1
- package/dist/components/dso-accordion.js +1 -1
- package/dist/components/dso-accordion.js.map +1 -1
- package/dist/components/dso-action-list-item.js.map +1 -1
- package/dist/components/dso-action-list.js.map +1 -1
- package/dist/components/dso-advanced-select.js +2 -2
- package/dist/components/dso-advanced-select.js.map +1 -1
- package/dist/components/dso-annotation-activiteit.js +3 -3
- package/dist/components/dso-annotation-activiteit.js.map +1 -1
- package/dist/components/dso-annotation-gebiedsaanwijzing.js +3 -3
- package/dist/components/dso-annotation-gebiedsaanwijzing.js.map +1 -1
- package/dist/components/dso-annotation-kaart.js +3 -3
- package/dist/components/dso-annotation-kaart.js.map +1 -1
- package/dist/components/dso-annotation-omgevingsnormwaarde.js +2 -2
- package/dist/components/dso-annotation-omgevingsnormwaarde.js.map +1 -1
- package/dist/components/dso-autosuggest.js +1 -1
- package/dist/components/dso-autosuggest.js.map +1 -1
- package/dist/components/dso-banner.js.map +1 -1
- package/dist/components/dso-card-container.js +1 -1
- package/dist/components/dso-card-container.js.map +1 -1
- package/dist/components/dso-card.js.map +1 -1
- package/dist/components/dso-date-picker-legacy.js +32 -32
- package/dist/components/dso-date-picker-legacy.js.map +1 -1
- package/dist/components/dso-date-picker.js.map +1 -1
- package/dist/components/dso-document-card.js +2 -2
- package/dist/components/dso-document-card.js.map +1 -1
- package/dist/components/dso-header.js.map +1 -1
- package/dist/components/dso-highlight-box.js +1 -1
- package/dist/components/dso-highlight-box.js.map +1 -1
- package/dist/components/dso-input-range.js +2 -2
- package/dist/components/dso-input-range.js.map +1 -1
- package/dist/components/dso-legend-item.js +2 -2
- package/dist/components/dso-legend-item.js.map +1 -1
- package/dist/components/dso-list-button.js +1 -1
- package/dist/components/dso-list-button.js.map +1 -1
- package/dist/components/dso-logo.js +1 -1
- package/dist/components/dso-logo.js.map +1 -1
- package/dist/components/dso-map-base-layers.js +1 -1
- package/dist/components/dso-map-base-layers.js.map +1 -1
- package/dist/components/dso-map-controls.js +2 -2
- package/dist/components/dso-map-controls.js.map +1 -1
- package/dist/components/dso-map-overlays.js +1 -1
- package/dist/components/dso-map-overlays.js.map +1 -1
- package/dist/components/dso-mark-bar.js +1 -1
- package/dist/components/dso-mark-bar.js.map +1 -1
- package/dist/components/dso-modal.js +2 -2
- package/dist/components/dso-modal.js.map +1 -1
- package/dist/components/dso-onboarding-tip.js +28 -16
- package/dist/components/dso-onboarding-tip.js.map +1 -1
- package/dist/components/dso-pagination.js.map +1 -1
- package/dist/components/dso-plekinfo-card.js +2 -2
- package/dist/components/dso-plekinfo-card.js.map +1 -1
- package/dist/components/dso-progress-bar.js +1 -1
- package/dist/components/dso-progress-bar.js.map +1 -1
- package/dist/components/dso-project-item.js +1 -1
- package/dist/components/dso-project-item.js.map +1 -1
- package/dist/components/dso-skiplink.js +1 -1
- package/dist/components/dso-skiplink.js.map +1 -1
- package/dist/components/dso-survey-rating.js +2 -2
- package/dist/components/dso-survey-rating.js.map +1 -1
- package/dist/components/dso-tab.js.map +1 -1
- package/dist/components/dso-tabs.js +1 -1
- package/dist/components/dso-tabs.js.map +1 -1
- package/dist/components/dso-tree-view.js +1 -1
- package/dist/components/dso-tree-view.js.map +1 -1
- package/dist/components/dso-viewer-grid.js +3 -3
- package/dist/components/dso-viewer-grid.js.map +1 -1
- package/dist/components/dsot-document-component-demo.js +1105 -1105
- package/dist/components/dsot-document-component-demo.js.map +1 -1
- package/dist/components/expandable.js.map +1 -1
- package/dist/components/i18n.js +121 -202
- package/dist/components/i18n.js.map +1 -1
- package/dist/components/icon.js +38 -38
- package/dist/components/icon.js.map +1 -1
- package/dist/components/image-overlay.js.map +1 -1
- package/dist/components/info-button.js +1 -1
- package/dist/components/info-button.js.map +1 -1
- package/dist/components/info.js +1 -1
- package/dist/components/info.js.map +1 -1
- package/dist/components/label.js +3 -3
- package/dist/components/label.js.map +1 -1
- package/dist/components/ozon-content.js +30 -30
- package/dist/components/ozon-content.js.map +1 -1
- package/dist/components/panel.js +1 -1
- package/dist/components/panel.js.map +1 -1
- package/dist/components/progress-indicator.js +1 -1
- package/dist/components/progress-indicator.js.map +1 -1
- package/dist/components/renvooi.js.map +1 -1
- package/dist/components/responsive-element.js +1 -1
- package/dist/components/responsive-element.js.map +1 -1
- package/dist/components/scrollable.js +2 -2
- package/dist/components/scrollable.js.map +1 -1
- package/dist/components/selectable.js +1 -1
- package/dist/components/selectable.js.map +1 -1
- package/dist/components/slide-toggle.js +1 -1
- package/dist/components/slide-toggle.js.map +1 -1
- package/dist/components/table.js +1 -1
- package/dist/components/table.js.map +1 -1
- package/dist/components/toggletip.js +1 -1
- package/dist/components/toggletip.js.map +1 -1
- package/dist/components/tooltip.js +3 -3
- package/dist/components/tooltip.js.map +1 -1
- package/dist/dso-toolkit/dso-accordion-section.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-accordion.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-action-list-item.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-action-list.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-advanced-select.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-alert.dso-badge.dso-image-overlay.dso-ozon-content.dso-panel.dso-table.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-annotation-activiteit.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-annotation-gebiedsaanwijzing.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-annotation-kaart.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-annotation-locatie.dso-document-component.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-annotation-omgevingsnormwaarde.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-attachments-counter.dso-expandable.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-autosuggest.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-banner.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-card-container.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-card.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-date-picker-legacy.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-date-picker.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-document-card.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-dropdown-menu.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-header.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-highlight-box.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-icon.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-info-button.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-info.dso-selectable.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-input-range.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-label.dso-renvooi.dso-slide-toggle.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-legend-item.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-list-button.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-logo.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-map-base-layers.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-map-controls.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-map-overlays.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-mark-bar.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-modal.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-onboarding-tip.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-pagination.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-plekinfo-card.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-progress-bar.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-progress-indicator.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-project-item.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-responsive-element.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-scrollable.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-skiplink.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-survey-rating.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-tab.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-tabs.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-toggletip.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-toolkit.esm.js +1 -1
- package/dist/dso-toolkit/dso-toolkit.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-tooltip.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-tree-view.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-viewer-grid.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dsot-document-component-demo.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/{p-2d22eaa5.entry.js → p-03fb6237.entry.js} +2 -2
- package/dist/dso-toolkit/p-03fb6237.entry.js.map +1 -0
- package/dist/dso-toolkit/{p-a0960751.entry.js → p-0764520c.entry.js} +2 -2
- package/dist/dso-toolkit/{p-a0960751.entry.js.map → p-0764520c.entry.js.map} +1 -1
- package/dist/dso-toolkit/{p-638cfb25.entry.js → p-09ec6ce5.entry.js} +2 -2
- package/dist/dso-toolkit/{p-638cfb25.entry.js.map → p-09ec6ce5.entry.js.map} +1 -1
- package/dist/dso-toolkit/p-0c742a6a.entry.js +2 -0
- package/dist/dso-toolkit/{p-ce882c53.entry.js.map → p-0c742a6a.entry.js.map} +1 -1
- package/dist/dso-toolkit/{p-3dc6df90.entry.js → p-0feea762.entry.js} +2 -2
- package/dist/dso-toolkit/p-0feea762.entry.js.map +1 -0
- package/dist/dso-toolkit/{p-13042742.entry.js → p-1107be6c.entry.js} +2 -2
- package/dist/dso-toolkit/{p-13042742.entry.js.map → p-1107be6c.entry.js.map} +1 -1
- package/dist/dso-toolkit/{p-3ada9fe0.entry.js → p-15c901ff.entry.js} +2 -2
- package/dist/dso-toolkit/p-15c901ff.entry.js.map +1 -0
- package/dist/dso-toolkit/{p-23c5e409.entry.js → p-19af64f1.entry.js} +2 -2
- package/dist/dso-toolkit/p-19af64f1.entry.js.map +1 -0
- package/dist/dso-toolkit/{p-45a523e5.entry.js → p-1b3db27c.entry.js} +2 -2
- package/dist/dso-toolkit/{p-45a523e5.entry.js.map → p-1b3db27c.entry.js.map} +1 -1
- package/dist/dso-toolkit/{p-c1f19841.entry.js → p-2510276b.entry.js} +2 -2
- package/dist/dso-toolkit/{p-c1f19841.entry.js.map → p-2510276b.entry.js.map} +1 -1
- package/dist/dso-toolkit/{p-6bbde78f.entry.js → p-2b1c6af2.entry.js} +2 -2
- package/dist/dso-toolkit/p-2b1c6af2.entry.js.map +1 -0
- package/dist/dso-toolkit/p-2b5f70a0.entry.js +2 -0
- package/dist/dso-toolkit/p-2b5f70a0.entry.js.map +1 -0
- package/dist/dso-toolkit/{p-49fc2235.entry.js → p-2dc3dc9a.entry.js} +2 -2
- package/dist/dso-toolkit/p-2dc3dc9a.entry.js.map +1 -0
- package/dist/dso-toolkit/{p-f35cd2b5.entry.js → p-320629e5.entry.js} +2 -2
- package/dist/dso-toolkit/p-320629e5.entry.js.map +1 -0
- package/dist/dso-toolkit/{p-aa6c0df1.entry.js → p-322b7db4.entry.js} +2 -2
- package/dist/dso-toolkit/{p-aa6c0df1.entry.js.map → p-322b7db4.entry.js.map} +1 -1
- package/dist/dso-toolkit/{p-47936ff6.entry.js → p-32503cd9.entry.js} +2 -2
- package/dist/dso-toolkit/{p-47936ff6.entry.js.map → p-32503cd9.entry.js.map} +1 -1
- package/dist/dso-toolkit/{p-f579815f.entry.js → p-35e1d8a4.entry.js} +2 -2
- package/dist/dso-toolkit/{p-f579815f.entry.js.map → p-35e1d8a4.entry.js.map} +1 -1
- package/dist/dso-toolkit/{p-4a034e40.entry.js → p-3888525c.entry.js} +2 -2
- package/dist/dso-toolkit/{p-4a034e40.entry.js.map → p-3888525c.entry.js.map} +1 -1
- package/dist/dso-toolkit/{p-38a17746.entry.js → p-3c74fd03.entry.js} +2 -2
- package/dist/dso-toolkit/{p-38a17746.entry.js.map → p-3c74fd03.entry.js.map} +1 -1
- package/dist/dso-toolkit/{p-60a2339f.entry.js → p-400fede0.entry.js} +2 -2
- package/dist/dso-toolkit/p-400fede0.entry.js.map +1 -0
- package/dist/dso-toolkit/{p-0917a964.entry.js → p-4160d2e0.entry.js} +2 -2
- package/dist/dso-toolkit/p-4160d2e0.entry.js.map +1 -0
- package/dist/dso-toolkit/{p-487f46df.entry.js → p-469ca170.entry.js} +2 -2
- package/dist/dso-toolkit/{p-487f46df.entry.js.map → p-469ca170.entry.js.map} +1 -1
- package/dist/dso-toolkit/p-514665a1.entry.js +2 -0
- package/dist/dso-toolkit/p-514665a1.entry.js.map +1 -0
- package/dist/dso-toolkit/{p-52cd0064.entry.js → p-5c7331de.entry.js} +2 -2
- package/dist/dso-toolkit/{p-52cd0064.entry.js.map → p-5c7331de.entry.js.map} +1 -1
- package/dist/dso-toolkit/p-62ecc855.entry.js +2 -0
- package/dist/dso-toolkit/p-62ecc855.entry.js.map +1 -0
- package/dist/dso-toolkit/p-6a156238.entry.js +2 -0
- package/dist/dso-toolkit/p-6a156238.entry.js.map +1 -0
- package/dist/dso-toolkit/{p-15700a11.entry.js → p-6c1feb1f.entry.js} +2 -2
- package/dist/dso-toolkit/{p-6841ccee.entry.js → p-7020a1ec.entry.js} +2 -2
- package/dist/dso-toolkit/{p-6841ccee.entry.js.map → p-7020a1ec.entry.js.map} +1 -1
- package/dist/dso-toolkit/{p-8a677aba.entry.js → p-73f027ff.entry.js} +2 -2
- package/dist/dso-toolkit/p-73f027ff.entry.js.map +1 -0
- package/dist/dso-toolkit/{p-e097b372.entry.js → p-7a3c51ad.entry.js} +2 -2
- package/dist/dso-toolkit/{p-e097b372.entry.js.map → p-7a3c51ad.entry.js.map} +1 -1
- package/dist/dso-toolkit/{p-78420f02.entry.js → p-7d142b40.entry.js} +2 -2
- package/dist/dso-toolkit/p-7d142b40.entry.js.map +1 -0
- package/dist/dso-toolkit/{p-a676810d.entry.js → p-8084c884.entry.js} +2 -2
- package/dist/dso-toolkit/p-8084c884.entry.js.map +1 -0
- package/dist/dso-toolkit/{p-0b902049.entry.js → p-90ead8a5.entry.js} +2 -2
- package/dist/dso-toolkit/p-90ead8a5.entry.js.map +1 -0
- package/dist/dso-toolkit/{p-0a38c6fa.entry.js → p-94cea134.entry.js} +2 -2
- package/dist/dso-toolkit/p-94cea134.entry.js.map +1 -0
- package/dist/dso-toolkit/{p-08aa7f78.entry.js → p-9a30700a.entry.js} +2 -2
- package/dist/dso-toolkit/{p-08aa7f78.entry.js.map → p-9a30700a.entry.js.map} +1 -1
- package/dist/dso-toolkit/p-B_kXuEcW.js +2 -0
- package/dist/dso-toolkit/p-B_kXuEcW.js.map +1 -0
- package/dist/dso-toolkit/{p-D2Jo0W7B.js → p-C-b4jsbt.js} +1 -1
- package/dist/dso-toolkit/{p-D2Jo0W7B.js.map → p-C-b4jsbt.js.map} +1 -1
- package/dist/dso-toolkit/{p-ChsEPkam.js → p-D5RszRxh.js} +2 -2
- package/dist/dso-toolkit/p-D5RszRxh.js.map +1 -0
- package/dist/dso-toolkit/p-Ds10WquL.js +2 -0
- package/dist/dso-toolkit/p-Ds10WquL.js.map +1 -0
- package/dist/dso-toolkit/p-LncMPpG-.js +2 -0
- package/dist/dso-toolkit/p-LncMPpG-.js.map +1 -0
- package/dist/dso-toolkit/{p-8123ed2f.entry.js → p-a61470ad.entry.js} +2 -2
- package/dist/dso-toolkit/{p-8123ed2f.entry.js.map → p-a61470ad.entry.js.map} +1 -1
- package/dist/dso-toolkit/{p-4fd85452.entry.js → p-aa5dc824.entry.js} +2 -2
- package/dist/dso-toolkit/{p-4fd85452.entry.js.map → p-aa5dc824.entry.js.map} +1 -1
- package/dist/dso-toolkit/p-ad8a1705.entry.js +2 -0
- package/dist/dso-toolkit/{p-eea3b9c8.entry.js.map → p-ad8a1705.entry.js.map} +1 -1
- package/dist/dso-toolkit/{p-be3f30c8.entry.js → p-b615471f.entry.js} +2 -2
- package/dist/dso-toolkit/p-b615471f.entry.js.map +1 -0
- package/dist/dso-toolkit/p-bd717c9b.entry.js +2 -0
- package/dist/dso-toolkit/{p-75819075.entry.js.map → p-bd717c9b.entry.js.map} +1 -1
- package/dist/dso-toolkit/p-c0410277.entry.js +2 -0
- package/dist/dso-toolkit/p-c0410277.entry.js.map +1 -0
- package/dist/dso-toolkit/p-c3ed6804.entry.js +2 -0
- package/dist/dso-toolkit/p-c3ed6804.entry.js.map +1 -0
- package/dist/dso-toolkit/{p-8941035f.entry.js → p-c4fe6ee2.entry.js} +2 -2
- package/dist/dso-toolkit/{p-8941035f.entry.js.map → p-c4fe6ee2.entry.js.map} +1 -1
- package/dist/dso-toolkit/{p-1f7f6d8b.entry.js → p-d4db08c7.entry.js} +2 -2
- package/dist/dso-toolkit/p-d4db08c7.entry.js.map +1 -0
- package/dist/dso-toolkit/{p-fa1cbcb0.entry.js → p-db6b2bb9.entry.js} +2 -2
- package/dist/dso-toolkit/{p-fa1cbcb0.entry.js.map → p-db6b2bb9.entry.js.map} +1 -1
- package/dist/dso-toolkit/{p-f0d63537.entry.js → p-dc33f3aa.entry.js} +2 -2
- package/dist/dso-toolkit/{p-f0d63537.entry.js.map → p-dc33f3aa.entry.js.map} +1 -1
- package/dist/dso-toolkit/p-de3ed856.entry.js +2 -0
- package/dist/dso-toolkit/{p-e3ddc3cf.entry.js.map → p-de3ed856.entry.js.map} +1 -1
- package/dist/dso-toolkit/{p-1882b8ad.entry.js → p-e9053e12.entry.js} +2 -2
- package/dist/dso-toolkit/p-e9053e12.entry.js.map +1 -0
- package/dist/dso-toolkit/{p-ee4c2669.entry.js → p-eafec507.entry.js} +2 -2
- package/dist/dso-toolkit/p-eafec507.entry.js.map +1 -0
- package/dist/dso-toolkit/{p-49c301fd.entry.js → p-edda55f0.entry.js} +2 -2
- package/dist/dso-toolkit/{p-49c301fd.entry.js.map → p-edda55f0.entry.js.map} +1 -1
- package/dist/dso-toolkit/p-f1999525.entry.js +2 -0
- package/dist/dso-toolkit/p-f1999525.entry.js.map +1 -0
- package/dist/dso-toolkit/{p-33acabc1.entry.js → p-f9b41ef6.entry.js} +2 -2
- package/dist/dso-toolkit/p-f9b41ef6.entry.js.map +1 -0
- package/dist/dso-toolkit/p-fa850439.entry.js +2 -0
- package/dist/dso-toolkit/p-fa850439.entry.js.map +1 -0
- package/dist/esm/{annotation-body-C13C3XCU.js → annotation-body-CHp1npGM.js} +3 -3
- package/dist/esm/annotation-body-CHp1npGM.js.map +1 -0
- package/dist/esm/{annotation-list-renvooi-values-D75KxHAC.js → annotation-list-renvooi-values-D1J_Fugb.js} +3 -3
- package/dist/esm/annotation-list-renvooi-values-D1J_Fugb.js.map +1 -0
- package/dist/esm/{annotation-symbol-slot-CRK43mu1.js → annotation-watcher-B4Wi05lj.js} +5 -5
- package/dist/esm/annotation-watcher-B4Wi05lj.js.map +1 -0
- package/dist/esm/dso-accordion-section.entry.js +2 -2
- package/dist/esm/dso-accordion-section.entry.js.map +1 -1
- package/dist/esm/dso-accordion.entry.js +2 -2
- package/dist/esm/dso-accordion.entry.js.map +1 -1
- package/dist/esm/dso-action-list-item.entry.js +1 -1
- package/dist/esm/dso-action-list-item.entry.js.map +1 -1
- package/dist/esm/dso-action-list.entry.js +1 -1
- package/dist/esm/dso-action-list.entry.js.map +1 -1
- package/dist/esm/dso-advanced-select.entry.js +3 -3
- package/dist/esm/dso-advanced-select.entry.js.map +1 -1
- package/dist/esm/dso-alert.dso-badge.dso-image-overlay.dso-ozon-content.dso-panel.dso-table.entry.js.map +1 -1
- package/dist/esm/dso-alert_6.entry.js +36 -36
- package/dist/esm/dso-alert_6.entry.js.map +1 -1
- package/dist/esm/dso-annotation-activiteit.entry.js +6 -6
- package/dist/esm/dso-annotation-activiteit.entry.js.map +1 -1
- package/dist/esm/dso-annotation-gebiedsaanwijzing.entry.js +5 -5
- package/dist/esm/dso-annotation-gebiedsaanwijzing.entry.js.map +1 -1
- package/dist/esm/dso-annotation-kaart.entry.js +4 -4
- package/dist/esm/dso-annotation-kaart.entry.js.map +1 -1
- package/dist/esm/dso-annotation-locatie.dso-document-component.entry.js.map +1 -1
- package/dist/esm/dso-annotation-locatie_2.entry.js +5 -5
- package/dist/esm/dso-annotation-locatie_2.entry.js.map +1 -1
- package/dist/esm/dso-annotation-omgevingsnormwaarde.entry.js +5 -5
- package/dist/esm/dso-annotation-omgevingsnormwaarde.entry.js.map +1 -1
- package/dist/esm/dso-attachments-counter.dso-expandable.entry.js.map +1 -1
- package/dist/esm/dso-attachments-counter_2.entry.js +1 -1
- package/dist/esm/dso-attachments-counter_2.entry.js.map +1 -1
- package/dist/esm/dso-autosuggest.entry.js +3 -3
- package/dist/esm/dso-autosuggest.entry.js.map +1 -1
- package/dist/esm/dso-banner.entry.js +1 -1
- package/dist/esm/dso-banner.entry.js.map +1 -1
- package/dist/esm/dso-card-container.entry.js +2 -2
- package/dist/esm/dso-card-container.entry.js.map +1 -1
- package/dist/esm/dso-card.entry.js +1 -1
- package/dist/esm/dso-card.entry.js.map +1 -1
- package/dist/esm/dso-contact-information.entry.js +1 -1
- package/dist/esm/dso-date-picker-legacy.entry.js +33 -33
- package/dist/esm/dso-date-picker-legacy.entry.js.map +1 -1
- package/dist/esm/dso-date-picker.entry.js +1 -1
- package/dist/esm/dso-date-picker.entry.js.map +1 -1
- package/dist/esm/dso-document-card.entry.js +3 -3
- package/dist/esm/dso-document-card.entry.js.map +1 -1
- package/dist/esm/dso-dropdown-menu.entry.js +3 -3
- package/dist/esm/dso-dropdown-menu.entry.js.map +1 -1
- package/dist/esm/dso-header.entry.js +2 -2
- package/dist/esm/dso-header.entry.js.map +1 -1
- package/dist/esm/dso-highlight-box.entry.js +2 -2
- package/dist/esm/dso-highlight-box.entry.js.map +1 -1
- package/dist/esm/dso-icon.entry.js +39 -39
- package/dist/esm/dso-icon.entry.js.map +1 -1
- package/dist/esm/dso-info-button.entry.js +2 -2
- package/dist/esm/dso-info-button.entry.js.map +1 -1
- package/dist/esm/dso-info.dso-selectable.entry.js.map +1 -1
- package/dist/esm/dso-info_2.entry.js +3 -3
- package/dist/esm/dso-info_2.entry.js.map +1 -1
- package/dist/esm/dso-input-range.entry.js +3 -3
- package/dist/esm/dso-input-range.entry.js.map +1 -1
- package/dist/esm/dso-label.dso-renvooi.dso-slide-toggle.entry.js.map +1 -1
- package/dist/esm/dso-label_3.entry.js +5 -5
- package/dist/esm/dso-label_3.entry.js.map +1 -1
- package/dist/esm/dso-legend-item.entry.js +3 -3
- package/dist/esm/dso-legend-item.entry.js.map +1 -1
- package/dist/esm/dso-list-button.entry.js +2 -2
- package/dist/esm/dso-list-button.entry.js.map +1 -1
- package/dist/esm/dso-logo.entry.js +2 -2
- package/dist/esm/dso-logo.entry.js.map +1 -1
- package/dist/esm/dso-map-base-layers.entry.js +3 -3
- package/dist/esm/dso-map-base-layers.entry.js.map +1 -1
- package/dist/esm/dso-map-controls.entry.js +4 -4
- package/dist/esm/dso-map-controls.entry.js.map +1 -1
- package/dist/esm/dso-map-overlays.entry.js +3 -3
- package/dist/esm/dso-map-overlays.entry.js.map +1 -1
- package/dist/esm/dso-mark-bar.entry.js +2 -2
- package/dist/esm/dso-mark-bar.entry.js.map +1 -1
- package/dist/esm/dso-modal.entry.js +4 -4
- package/dist/esm/dso-modal.entry.js.map +1 -1
- package/dist/esm/dso-onboarding-tip.entry.js +29 -17
- package/dist/esm/dso-onboarding-tip.entry.js.map +1 -1
- package/dist/esm/dso-pagination.entry.js +1 -1
- package/dist/esm/dso-pagination.entry.js.map +1 -1
- package/dist/esm/dso-plekinfo-card.entry.js +3 -3
- package/dist/esm/dso-plekinfo-card.entry.js.map +1 -1
- package/dist/esm/dso-progress-bar.entry.js +2 -2
- package/dist/esm/dso-progress-bar.entry.js.map +1 -1
- package/dist/esm/dso-progress-indicator.entry.js +3 -3
- package/dist/esm/dso-progress-indicator.entry.js.map +1 -1
- package/dist/esm/dso-project-item.entry.js +2 -2
- package/dist/esm/dso-project-item.entry.js.map +1 -1
- package/dist/esm/dso-responsive-element.entry.js +2 -2
- package/dist/esm/dso-responsive-element.entry.js.map +1 -1
- package/dist/esm/dso-scrollable.entry.js +3 -3
- package/dist/esm/dso-scrollable.entry.js.map +1 -1
- package/dist/esm/dso-skiplink.entry.js +2 -2
- package/dist/esm/dso-skiplink.entry.js.map +1 -1
- package/dist/esm/dso-survey-rating.entry.js +3 -3
- package/dist/esm/dso-survey-rating.entry.js.map +1 -1
- package/dist/esm/dso-tab.entry.js +1 -1
- package/dist/esm/dso-tab.entry.js.map +1 -1
- package/dist/esm/dso-tabs.entry.js +2 -2
- package/dist/esm/dso-tabs.entry.js.map +1 -1
- package/dist/esm/dso-toggletip.entry.js +2 -2
- package/dist/esm/dso-toggletip.entry.js.map +1 -1
- package/dist/esm/dso-toolkit.js +3 -3
- package/dist/esm/dso-toolkit.js.map +1 -1
- package/dist/esm/dso-tooltip.entry.js +4 -4
- package/dist/esm/dso-tooltip.entry.js.map +1 -1
- package/dist/esm/dso-tree-view.entry.js +2 -2
- package/dist/esm/dso-tree-view.entry.js.map +1 -1
- package/dist/esm/dso-viewer-grid.entry.js +4 -4
- package/dist/esm/dso-viewer-grid.entry.js.map +1 -1
- package/dist/esm/dsot-document-component-demo.entry.js +1106 -1106
- package/dist/esm/dsot-document-component-demo.entry.js.map +1 -1
- package/dist/esm/{i18n-BbNJ4wXp.js → i18n-B_kXuEcW.js} +123 -204
- package/dist/esm/i18n-B_kXuEcW.js.map +1 -0
- package/dist/esm/{index-D2Jo0W7B.js → index-C-b4jsbt.js} +3 -3
- package/dist/esm/{index-D2Jo0W7B.js.map → index-C-b4jsbt.js.map} +1 -1
- package/dist/esm/loader.js +2 -2
- package/dist/scripts/readme.js +1 -1
- package/dist/scripts/readme.js.map +1 -1
- package/dist/types/components/accordion/components/accordion-section.d.ts +1 -1
- package/dist/types/components/advanced-select/advanced-select.d.ts +1 -1
- package/dist/types/components/annotation/annotation-activiteit/annotation-activiteit.d.ts +1 -1
- package/dist/types/components/annotation/annotation-gebiedsaanwijzing/annotation-gebiedsaanwijzing.d.ts +1 -1
- package/dist/types/components/annotation/annotation-kaart/annotation-kaart.d.ts +1 -1
- package/dist/types/components/annotation/annotation-locatie/annotation-locatie.d.ts +1 -1
- package/dist/types/components/annotation/annotation-omgevingsnormwaarde/annotation-omgevingsnormwaarde.d.ts +1 -1
- package/dist/types/components/date-picker-legacy/date-picker-legacy.d.ts +1 -1
- package/dist/types/components/document-component/document-component.d.ts +1 -1
- package/dist/types/components/document-component-demo/document-component.demo.d.ts +1 -1
- package/dist/types/components/mark-bar/mark-bar.d.ts +1 -1
- package/dist/types/components/ozon-content/nodes/abbr.node.d.ts +1 -1
- package/dist/types/components/ozon-content/nodes/inline-tekst-afbeelding.node.d.ts +1 -1
- package/dist/types/components/ozon-content/nodes/text.node.d.ts +1 -1
- package/dist/types/components/ozon-content/ozon-content.d.ts +1 -1
- package/dist/types/components/selectable/selectable.d.ts +1 -1
- package/dist/types/components/tree-view/tree-item.d.ts +1 -1
- package/dist/types/components/tree-view/tree-view.d.ts +1 -1
- package/dist/types/components/viewer-grid/components/document-panel.d.ts +1 -1
- package/dist/types/components/viewer-grid/components/main-panel.d.ts +1 -1
- package/dist/types/components/viewer-grid/viewer-grid.d.ts +1 -1
- package/package.json +8 -8
- package/dist/cjs/annotation-body-BBlFDtNQ.js.map +0 -1
- package/dist/cjs/annotation-list-renvooi-values-BRsXjGPr.js.map +0 -1
- package/dist/cjs/annotation-symbol-slot-Ko-yyBqQ.js.map +0 -1
- package/dist/cjs/i18n-D9iWFntP.js.map +0 -1
- package/dist/components/annotation-symbol-slot.js.map +0 -1
- package/dist/dso-toolkit/p-0917a964.entry.js.map +0 -1
- package/dist/dso-toolkit/p-0a38c6fa.entry.js.map +0 -1
- package/dist/dso-toolkit/p-0b902049.entry.js.map +0 -1
- package/dist/dso-toolkit/p-13b2dc83.entry.js +0 -2
- package/dist/dso-toolkit/p-13b2dc83.entry.js.map +0 -1
- package/dist/dso-toolkit/p-1882b8ad.entry.js.map +0 -1
- package/dist/dso-toolkit/p-1f7f6d8b.entry.js.map +0 -1
- package/dist/dso-toolkit/p-23c5e409.entry.js.map +0 -1
- package/dist/dso-toolkit/p-2a0e7fab.entry.js +0 -2
- package/dist/dso-toolkit/p-2a0e7fab.entry.js.map +0 -1
- package/dist/dso-toolkit/p-2cac4eb4.entry.js +0 -2
- package/dist/dso-toolkit/p-2cac4eb4.entry.js.map +0 -1
- package/dist/dso-toolkit/p-2d22eaa5.entry.js.map +0 -1
- package/dist/dso-toolkit/p-33acabc1.entry.js.map +0 -1
- package/dist/dso-toolkit/p-33e435a4.entry.js +0 -2
- package/dist/dso-toolkit/p-33e435a4.entry.js.map +0 -1
- package/dist/dso-toolkit/p-3ada9fe0.entry.js.map +0 -1
- package/dist/dso-toolkit/p-3dc6df90.entry.js.map +0 -1
- package/dist/dso-toolkit/p-49fc2235.entry.js.map +0 -1
- package/dist/dso-toolkit/p-60a2339f.entry.js.map +0 -1
- package/dist/dso-toolkit/p-621a9bbb.entry.js +0 -2
- package/dist/dso-toolkit/p-621a9bbb.entry.js.map +0 -1
- package/dist/dso-toolkit/p-6bbde78f.entry.js.map +0 -1
- package/dist/dso-toolkit/p-75819075.entry.js +0 -2
- package/dist/dso-toolkit/p-78420f02.entry.js.map +0 -1
- package/dist/dso-toolkit/p-8a677aba.entry.js.map +0 -1
- package/dist/dso-toolkit/p-BbNJ4wXp.js +0 -2
- package/dist/dso-toolkit/p-BbNJ4wXp.js.map +0 -1
- package/dist/dso-toolkit/p-COKRRU_q.js +0 -2
- package/dist/dso-toolkit/p-COKRRU_q.js.map +0 -1
- package/dist/dso-toolkit/p-ChsEPkam.js.map +0 -1
- package/dist/dso-toolkit/p-D4cSA4l8.js +0 -2
- package/dist/dso-toolkit/p-D4cSA4l8.js.map +0 -1
- package/dist/dso-toolkit/p-a676810d.entry.js.map +0 -1
- package/dist/dso-toolkit/p-ad5f409c.entry.js +0 -2
- package/dist/dso-toolkit/p-ad5f409c.entry.js.map +0 -1
- package/dist/dso-toolkit/p-be3f30c8.entry.js.map +0 -1
- package/dist/dso-toolkit/p-ce882c53.entry.js +0 -2
- package/dist/dso-toolkit/p-e3ddc3cf.entry.js +0 -2
- package/dist/dso-toolkit/p-e990ee37.entry.js +0 -2
- package/dist/dso-toolkit/p-e990ee37.entry.js.map +0 -1
- package/dist/dso-toolkit/p-ee4c2669.entry.js.map +0 -1
- package/dist/dso-toolkit/p-eea3b9c8.entry.js +0 -2
- package/dist/dso-toolkit/p-eebf32bf.entry.js +0 -2
- package/dist/dso-toolkit/p-eebf32bf.entry.js.map +0 -1
- package/dist/dso-toolkit/p-f35cd2b5.entry.js.map +0 -1
- package/dist/esm/annotation-body-C13C3XCU.js.map +0 -1
- package/dist/esm/annotation-list-renvooi-values-D75KxHAC.js.map +0 -1
- package/dist/esm/annotation-symbol-slot-CRK43mu1.js.map +0 -1
- package/dist/esm/i18n-BbNJ4wXp.js.map +0 -1
- /package/dist/dso-toolkit/{p-15700a11.entry.js.map → p-6c1feb1f.entry.js.map} +0 -0
|
@@ -158,8 +158,7 @@ const looksLikeObjectPath = (key, nsSeparator, keySeparator) => {
|
|
|
158
158
|
}
|
|
159
159
|
return matched;
|
|
160
160
|
};
|
|
161
|
-
const deepFind =
|
|
162
|
-
let keySeparator = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : '.';
|
|
161
|
+
const deepFind = (obj, path, keySeparator = '.') => {
|
|
163
162
|
if (!obj) return undefined;
|
|
164
163
|
if (obj[path]) {
|
|
165
164
|
if (!Object.prototype.hasOwnProperty.call(obj, path)) return undefined;
|
|
@@ -209,39 +208,25 @@ const consoleLogger = {
|
|
|
209
208
|
}
|
|
210
209
|
};
|
|
211
210
|
class Logger {
|
|
212
|
-
constructor(concreteLogger) {
|
|
213
|
-
let options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
211
|
+
constructor(concreteLogger, options = {}) {
|
|
214
212
|
this.init(concreteLogger, options);
|
|
215
213
|
}
|
|
216
|
-
init(concreteLogger) {
|
|
217
|
-
let options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
214
|
+
init(concreteLogger, options = {}) {
|
|
218
215
|
this.prefix = options.prefix || 'i18next:';
|
|
219
216
|
this.logger = concreteLogger || consoleLogger;
|
|
220
217
|
this.options = options;
|
|
221
218
|
this.debug = options.debug;
|
|
222
219
|
}
|
|
223
|
-
log() {
|
|
224
|
-
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
225
|
-
args[_key] = arguments[_key];
|
|
226
|
-
}
|
|
220
|
+
log(...args) {
|
|
227
221
|
return this.forward(args, 'log', '', true);
|
|
228
222
|
}
|
|
229
|
-
warn() {
|
|
230
|
-
for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
|
|
231
|
-
args[_key2] = arguments[_key2];
|
|
232
|
-
}
|
|
223
|
+
warn(...args) {
|
|
233
224
|
return this.forward(args, 'warn', '', true);
|
|
234
225
|
}
|
|
235
|
-
error() {
|
|
236
|
-
for (var _len3 = arguments.length, args = new Array(_len3), _key3 = 0; _key3 < _len3; _key3++) {
|
|
237
|
-
args[_key3] = arguments[_key3];
|
|
238
|
-
}
|
|
226
|
+
error(...args) {
|
|
239
227
|
return this.forward(args, 'error', '');
|
|
240
228
|
}
|
|
241
|
-
deprecate() {
|
|
242
|
-
for (var _len4 = arguments.length, args = new Array(_len4), _key4 = 0; _key4 < _len4; _key4++) {
|
|
243
|
-
args[_key4] = arguments[_key4];
|
|
244
|
-
}
|
|
229
|
+
deprecate(...args) {
|
|
245
230
|
return this.forward(args, 'warn', 'WARNING DEPRECATED: ', true);
|
|
246
231
|
}
|
|
247
232
|
forward(args, lvl, prefix, debugOnly) {
|
|
@@ -285,14 +270,10 @@ class EventEmitter {
|
|
|
285
270
|
}
|
|
286
271
|
this.observers[event].delete(listener);
|
|
287
272
|
}
|
|
288
|
-
emit(event) {
|
|
289
|
-
for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
|
|
290
|
-
args[_key - 1] = arguments[_key];
|
|
291
|
-
}
|
|
273
|
+
emit(event, ...args) {
|
|
292
274
|
if (this.observers[event]) {
|
|
293
275
|
const cloned = Array.from(this.observers[event].entries());
|
|
294
|
-
cloned.forEach(
|
|
295
|
-
let [observer, numTimesAdded] = _ref;
|
|
276
|
+
cloned.forEach(([observer, numTimesAdded]) => {
|
|
296
277
|
for (let i = 0; i < numTimesAdded; i++) {
|
|
297
278
|
observer(...args);
|
|
298
279
|
}
|
|
@@ -300,8 +281,7 @@ class EventEmitter {
|
|
|
300
281
|
}
|
|
301
282
|
if (this.observers['*']) {
|
|
302
283
|
const cloned = Array.from(this.observers['*'].entries());
|
|
303
|
-
cloned.forEach(
|
|
304
|
-
let [observer, numTimesAdded] = _ref2;
|
|
284
|
+
cloned.forEach(([observer, numTimesAdded]) => {
|
|
305
285
|
for (let i = 0; i < numTimesAdded; i++) {
|
|
306
286
|
observer.apply(observer, [event, ...args]);
|
|
307
287
|
}
|
|
@@ -311,11 +291,10 @@ class EventEmitter {
|
|
|
311
291
|
}
|
|
312
292
|
|
|
313
293
|
class ResourceStore extends EventEmitter {
|
|
314
|
-
constructor(data
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
};
|
|
294
|
+
constructor(data, options = {
|
|
295
|
+
ns: ['translation'],
|
|
296
|
+
defaultNS: 'translation'
|
|
297
|
+
}) {
|
|
319
298
|
super();
|
|
320
299
|
this.data = data || {};
|
|
321
300
|
this.options = options;
|
|
@@ -337,8 +316,7 @@ class ResourceStore extends EventEmitter {
|
|
|
337
316
|
this.options.ns.splice(index, 1);
|
|
338
317
|
}
|
|
339
318
|
}
|
|
340
|
-
getResource(lng, ns, key) {
|
|
341
|
-
let options = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {};
|
|
319
|
+
getResource(lng, ns, key, options = {}) {
|
|
342
320
|
const keySeparator = options.keySeparator !== undefined ? options.keySeparator : this.options.keySeparator;
|
|
343
321
|
const ignoreJSONStructure = options.ignoreJSONStructure !== undefined ? options.ignoreJSONStructure : this.options.ignoreJSONStructure;
|
|
344
322
|
let path;
|
|
@@ -365,10 +343,9 @@ class ResourceStore extends EventEmitter {
|
|
|
365
343
|
if (result || !ignoreJSONStructure || !isString(key)) return result;
|
|
366
344
|
return deepFind(this.data?.[lng]?.[ns], key, keySeparator);
|
|
367
345
|
}
|
|
368
|
-
addResource(lng, ns, key, value
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
};
|
|
346
|
+
addResource(lng, ns, key, value, options = {
|
|
347
|
+
silent: false
|
|
348
|
+
}) {
|
|
372
349
|
const keySeparator = options.keySeparator !== undefined ? options.keySeparator : this.options.keySeparator;
|
|
373
350
|
let path = [lng, ns];
|
|
374
351
|
if (key) path = path.concat(keySeparator ? key.split(keySeparator) : key);
|
|
@@ -381,10 +358,9 @@ class ResourceStore extends EventEmitter {
|
|
|
381
358
|
setPath(this.data, path, value);
|
|
382
359
|
if (!options.silent) this.emit('added', lng, ns, key, value);
|
|
383
360
|
}
|
|
384
|
-
addResources(lng, ns, resources
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
};
|
|
361
|
+
addResources(lng, ns, resources, options = {
|
|
362
|
+
silent: false
|
|
363
|
+
}) {
|
|
388
364
|
for (const m in resources) {
|
|
389
365
|
if (isString(resources[m]) || Array.isArray(resources[m])) this.addResource(lng, ns, m, resources[m], {
|
|
390
366
|
silent: true
|
|
@@ -392,11 +368,10 @@ class ResourceStore extends EventEmitter {
|
|
|
392
368
|
}
|
|
393
369
|
if (!options.silent) this.emit('added', lng, ns, resources);
|
|
394
370
|
}
|
|
395
|
-
addResourceBundle(lng, ns, resources, deep, overwrite
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
};
|
|
371
|
+
addResourceBundle(lng, ns, resources, deep, overwrite, options = {
|
|
372
|
+
silent: false,
|
|
373
|
+
skipCopy: false
|
|
374
|
+
}) {
|
|
400
375
|
let path = [lng, ns];
|
|
401
376
|
if (lng.indexOf('.') > -1) {
|
|
402
377
|
path = lng.split('.');
|
|
@@ -461,8 +436,7 @@ var postProcessor = {
|
|
|
461
436
|
const checkedLoadedFor = {};
|
|
462
437
|
const shouldHandleAsObject = res => !isString(res) && typeof res !== 'boolean' && typeof res !== 'number';
|
|
463
438
|
class Translator extends EventEmitter {
|
|
464
|
-
constructor(services) {
|
|
465
|
-
let options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
439
|
+
constructor(services, options = {}) {
|
|
466
440
|
super();
|
|
467
441
|
copy(['resourceStore', 'languageUtils', 'pluralResolver', 'interpolator', 'backendConnector', 'i18nFormat', 'utils'], services, this);
|
|
468
442
|
this.options = options;
|
|
@@ -474,14 +448,14 @@ class Translator extends EventEmitter {
|
|
|
474
448
|
changeLanguage(lng) {
|
|
475
449
|
if (lng) this.language = lng;
|
|
476
450
|
}
|
|
477
|
-
exists(key
|
|
478
|
-
|
|
479
|
-
|
|
451
|
+
exists(key, o = {
|
|
452
|
+
interpolation: {}
|
|
453
|
+
}) {
|
|
454
|
+
const opt = {
|
|
455
|
+
...o
|
|
480
456
|
};
|
|
481
|
-
if (key == null)
|
|
482
|
-
|
|
483
|
-
}
|
|
484
|
-
const resolved = this.resolve(key, options);
|
|
457
|
+
if (key == null) return false;
|
|
458
|
+
const resolved = this.resolve(key, opt);
|
|
485
459
|
return resolved?.res !== undefined;
|
|
486
460
|
}
|
|
487
461
|
extractFromKey(key, opt) {
|
|
@@ -508,7 +482,10 @@ class Translator extends EventEmitter {
|
|
|
508
482
|
namespaces: isString(namespaces) ? [namespaces] : namespaces
|
|
509
483
|
};
|
|
510
484
|
}
|
|
511
|
-
translate(keys,
|
|
485
|
+
translate(keys, o, lastKey) {
|
|
486
|
+
let opt = typeof o === 'object' ? {
|
|
487
|
+
...o
|
|
488
|
+
} : o;
|
|
512
489
|
if (typeof opt !== 'object' && this.options.overloadTranslationOptionHandler) {
|
|
513
490
|
opt = this.options.overloadTranslationOptionHandler(arguments);
|
|
514
491
|
}
|
|
@@ -525,11 +502,12 @@ class Translator extends EventEmitter {
|
|
|
525
502
|
namespaces
|
|
526
503
|
} = this.extractFromKey(keys[keys.length - 1], opt);
|
|
527
504
|
const namespace = namespaces[namespaces.length - 1];
|
|
505
|
+
let nsSeparator = opt.nsSeparator !== undefined ? opt.nsSeparator : this.options.nsSeparator;
|
|
506
|
+
if (nsSeparator === undefined) nsSeparator = ':';
|
|
528
507
|
const lng = opt.lng || this.language;
|
|
529
508
|
const appendNamespaceToCIMode = opt.appendNamespaceToCIMode || this.options.appendNamespaceToCIMode;
|
|
530
509
|
if (lng?.toLowerCase() === 'cimode') {
|
|
531
510
|
if (appendNamespaceToCIMode) {
|
|
532
|
-
const nsSeparator = opt.nsSeparator || this.options.nsSeparator;
|
|
533
511
|
if (returnDetails) {
|
|
534
512
|
return {
|
|
535
513
|
res: `${namespace}${nsSeparator}${key}`,
|
|
@@ -684,9 +662,11 @@ class Translator extends EventEmitter {
|
|
|
684
662
|
}
|
|
685
663
|
}
|
|
686
664
|
res = this.extendTranslation(res, keys, opt, resolved, lastKey);
|
|
687
|
-
if (usedKey && res === key && this.options.appendNamespaceToMissingKey)
|
|
665
|
+
if (usedKey && res === key && this.options.appendNamespaceToMissingKey) {
|
|
666
|
+
res = `${namespace}${nsSeparator}${key}`;
|
|
667
|
+
}
|
|
688
668
|
if ((usedKey || usedDefault) && this.options.parseMissingKeyHandler) {
|
|
689
|
-
res = this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey ? `${namespace}
|
|
669
|
+
res = this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey ? `${namespace}${nsSeparator}${key}` : key, usedDefault ? res : undefined, opt);
|
|
690
670
|
}
|
|
691
671
|
}
|
|
692
672
|
if (returnDetails) {
|
|
@@ -697,7 +677,6 @@ class Translator extends EventEmitter {
|
|
|
697
677
|
return res;
|
|
698
678
|
}
|
|
699
679
|
extendTranslation(res, key, opt, resolved, lastKey) {
|
|
700
|
-
var _this = this;
|
|
701
680
|
if (this.i18nFormat?.parse) {
|
|
702
681
|
res = this.i18nFormat.parse(res, {
|
|
703
682
|
...this.options.interpolation.defaultVariables,
|
|
@@ -733,15 +712,12 @@ class Translator extends EventEmitter {
|
|
|
733
712
|
if (nestBef < nestAft) opt.nest = false;
|
|
734
713
|
}
|
|
735
714
|
if (!opt.lng && resolved && resolved.res) opt.lng = this.language || resolved.usedLng;
|
|
736
|
-
if (opt.nest !== false) res = this.interpolator.nest(res,
|
|
737
|
-
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
738
|
-
args[_key] = arguments[_key];
|
|
739
|
-
}
|
|
715
|
+
if (opt.nest !== false) res = this.interpolator.nest(res, (...args) => {
|
|
740
716
|
if (lastKey?.[0] === args[0] && !opt.context) {
|
|
741
|
-
|
|
717
|
+
this.logger.warn(`It seems you are nesting recursively key: ${args[0]} in key: ${key[0]}`);
|
|
742
718
|
return null;
|
|
743
719
|
}
|
|
744
|
-
return
|
|
720
|
+
return this.translate(...args, key);
|
|
745
721
|
}, opt);
|
|
746
722
|
if (opt.interpolation) this.interpolator.reset();
|
|
747
723
|
}
|
|
@@ -758,8 +734,7 @@ class Translator extends EventEmitter {
|
|
|
758
734
|
}
|
|
759
735
|
return res;
|
|
760
736
|
}
|
|
761
|
-
resolve(keys) {
|
|
762
|
-
let opt = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
737
|
+
resolve(keys, opt = {}) {
|
|
763
738
|
let found;
|
|
764
739
|
let usedKey;
|
|
765
740
|
let exactUsedKey;
|
|
@@ -839,13 +814,11 @@ class Translator extends EventEmitter {
|
|
|
839
814
|
isValidLookup(res) {
|
|
840
815
|
return res !== undefined && !(!this.options.returnNull && res === null) && !(!this.options.returnEmptyString && res === '');
|
|
841
816
|
}
|
|
842
|
-
getResource(code, ns, key) {
|
|
843
|
-
let options = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {};
|
|
817
|
+
getResource(code, ns, key, options = {}) {
|
|
844
818
|
if (this.i18nFormat?.getResource) return this.i18nFormat.getResource(code, ns, key, options);
|
|
845
819
|
return this.resourceStore.getResource(code, ns, key, options);
|
|
846
820
|
}
|
|
847
|
-
getUsedParamsDetails() {
|
|
848
|
-
let options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
821
|
+
getUsedParamsDetails(options = {}) {
|
|
849
822
|
const optionsKeys = ['defaultValue', 'ordinal', 'context', 'replace', 'lng', 'lngs', 'fallbackLng', 'ns', 'keySeparator', 'nsSeparator', 'returnObjects', 'returnDetails', 'joinArrays', 'postProcess', 'interpolation'];
|
|
850
823
|
const useOptionsReplaceForData = options.replace && !isString(options.replace);
|
|
851
824
|
let data = useOptionsReplaceForData ? options.replace : options;
|
|
@@ -1002,8 +975,7 @@ const dummyRule = {
|
|
|
1002
975
|
})
|
|
1003
976
|
};
|
|
1004
977
|
class PluralResolver {
|
|
1005
|
-
constructor(languageUtils) {
|
|
1006
|
-
let options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
978
|
+
constructor(languageUtils, options = {}) {
|
|
1007
979
|
this.languageUtils = languageUtils;
|
|
1008
980
|
this.options = options;
|
|
1009
981
|
this.logger = baseLogger.create('pluralResolver');
|
|
@@ -1015,8 +987,7 @@ class PluralResolver {
|
|
|
1015
987
|
clearCache() {
|
|
1016
988
|
this.pluralRulesCache = {};
|
|
1017
989
|
}
|
|
1018
|
-
getRule(code) {
|
|
1019
|
-
let options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
990
|
+
getRule(code, options = {}) {
|
|
1020
991
|
const cleanedCode = getCleanedCode(code === 'dev' ? 'en' : code);
|
|
1021
992
|
const type = options.ordinal ? 'ordinal' : 'cardinal';
|
|
1022
993
|
const cacheKey = JSON.stringify({
|
|
@@ -1043,25 +1014,21 @@ class PluralResolver {
|
|
|
1043
1014
|
this.pluralRulesCache[cacheKey] = rule;
|
|
1044
1015
|
return rule;
|
|
1045
1016
|
}
|
|
1046
|
-
needsPlural(code) {
|
|
1047
|
-
let options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
1017
|
+
needsPlural(code, options = {}) {
|
|
1048
1018
|
let rule = this.getRule(code, options);
|
|
1049
1019
|
if (!rule) rule = this.getRule('dev', options);
|
|
1050
1020
|
return rule?.resolvedOptions().pluralCategories.length > 1;
|
|
1051
1021
|
}
|
|
1052
|
-
getPluralFormsOfKey(code, key) {
|
|
1053
|
-
let options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
|
|
1022
|
+
getPluralFormsOfKey(code, key, options = {}) {
|
|
1054
1023
|
return this.getSuffixes(code, options).map(suffix => `${key}${suffix}`);
|
|
1055
1024
|
}
|
|
1056
|
-
getSuffixes(code) {
|
|
1057
|
-
let options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
1025
|
+
getSuffixes(code, options = {}) {
|
|
1058
1026
|
let rule = this.getRule(code, options);
|
|
1059
1027
|
if (!rule) rule = this.getRule('dev', options);
|
|
1060
1028
|
if (!rule) return [];
|
|
1061
1029
|
return rule.resolvedOptions().pluralCategories.sort((pluralCategory1, pluralCategory2) => suffixesOrder[pluralCategory1] - suffixesOrder[pluralCategory2]).map(pluralCategory => `${this.options.prepend}${options.ordinal ? `ordinal${this.options.prepend}` : ''}${pluralCategory}`);
|
|
1062
1030
|
}
|
|
1063
|
-
getSuffix(code, count) {
|
|
1064
|
-
let options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
|
|
1031
|
+
getSuffix(code, count, options = {}) {
|
|
1065
1032
|
const rule = this.getRule(code, options);
|
|
1066
1033
|
if (rule) {
|
|
1067
1034
|
return `${this.options.prepend}${options.ordinal ? `ordinal${this.options.prepend}` : ''}${rule.select(count)}`;
|
|
@@ -1071,9 +1038,7 @@ class PluralResolver {
|
|
|
1071
1038
|
}
|
|
1072
1039
|
}
|
|
1073
1040
|
|
|
1074
|
-
const deepFindWithDefaults =
|
|
1075
|
-
let keySeparator = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : '.';
|
|
1076
|
-
let ignoreJSONStructure = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : true;
|
|
1041
|
+
const deepFindWithDefaults = (data, defaultData, key, keySeparator = '.', ignoreJSONStructure = true) => {
|
|
1077
1042
|
let path = getPathWithDefaults(data, defaultData, key);
|
|
1078
1043
|
if (!path && ignoreJSONStructure && isString(key)) {
|
|
1079
1044
|
path = deepFind(data, key, keySeparator);
|
|
@@ -1083,15 +1048,13 @@ const deepFindWithDefaults = function (data, defaultData, key) {
|
|
|
1083
1048
|
};
|
|
1084
1049
|
const regexSafe = val => val.replace(/\$/g, '$$$$');
|
|
1085
1050
|
class Interpolator {
|
|
1086
|
-
constructor() {
|
|
1087
|
-
let options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
1051
|
+
constructor(options = {}) {
|
|
1088
1052
|
this.logger = baseLogger.create('interpolator');
|
|
1089
1053
|
this.options = options;
|
|
1090
1054
|
this.format = options?.interpolation?.format || (value => value);
|
|
1091
1055
|
this.init(options);
|
|
1092
1056
|
}
|
|
1093
|
-
init() {
|
|
1094
|
-
let options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
1057
|
+
init(options = {}) {
|
|
1095
1058
|
if (!options.interpolation) options.interpolation = {
|
|
1096
1059
|
escapeValue: true
|
|
1097
1060
|
};
|
|
@@ -1214,8 +1177,7 @@ class Interpolator {
|
|
|
1214
1177
|
});
|
|
1215
1178
|
return str;
|
|
1216
1179
|
}
|
|
1217
|
-
nest(str, fc) {
|
|
1218
|
-
let options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
|
|
1180
|
+
nest(str, fc, options = {}) {
|
|
1219
1181
|
let match;
|
|
1220
1182
|
let value;
|
|
1221
1183
|
let clonedOptions;
|
|
@@ -1312,68 +1274,68 @@ const parseFormatStr = formatStr => {
|
|
|
1312
1274
|
};
|
|
1313
1275
|
const createCachedFormatter = fn => {
|
|
1314
1276
|
const cache = {};
|
|
1315
|
-
return (
|
|
1316
|
-
let optForCache =
|
|
1317
|
-
if (
|
|
1277
|
+
return (v, l, o) => {
|
|
1278
|
+
let optForCache = o;
|
|
1279
|
+
if (o && o.interpolationkey && o.formatParams && o.formatParams[o.interpolationkey] && o[o.interpolationkey]) {
|
|
1318
1280
|
optForCache = {
|
|
1319
1281
|
...optForCache,
|
|
1320
|
-
[
|
|
1282
|
+
[o.interpolationkey]: undefined
|
|
1321
1283
|
};
|
|
1322
1284
|
}
|
|
1323
|
-
const key =
|
|
1324
|
-
let
|
|
1325
|
-
if (!
|
|
1326
|
-
|
|
1327
|
-
cache[key] =
|
|
1285
|
+
const key = l + JSON.stringify(optForCache);
|
|
1286
|
+
let frm = cache[key];
|
|
1287
|
+
if (!frm) {
|
|
1288
|
+
frm = fn(getCleanedCode(l), o);
|
|
1289
|
+
cache[key] = frm;
|
|
1328
1290
|
}
|
|
1329
|
-
return
|
|
1291
|
+
return frm(v);
|
|
1330
1292
|
};
|
|
1331
1293
|
};
|
|
1294
|
+
const createNonCachedFormatter = fn => (v, l, o) => fn(getCleanedCode(l), o)(v);
|
|
1332
1295
|
class Formatter {
|
|
1333
|
-
constructor() {
|
|
1334
|
-
let options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
1296
|
+
constructor(options = {}) {
|
|
1335
1297
|
this.logger = baseLogger.create('formatter');
|
|
1336
1298
|
this.options = options;
|
|
1299
|
+
this.init(options);
|
|
1300
|
+
}
|
|
1301
|
+
init(services, options = {
|
|
1302
|
+
interpolation: {}
|
|
1303
|
+
}) {
|
|
1304
|
+
this.formatSeparator = options.interpolation.formatSeparator || ',';
|
|
1305
|
+
const cf = options.cacheInBuiltFormats ? createCachedFormatter : createNonCachedFormatter;
|
|
1337
1306
|
this.formats = {
|
|
1338
|
-
number:
|
|
1307
|
+
number: cf((lng, opt) => {
|
|
1339
1308
|
const formatter = new Intl.NumberFormat(lng, {
|
|
1340
1309
|
...opt
|
|
1341
1310
|
});
|
|
1342
1311
|
return val => formatter.format(val);
|
|
1343
1312
|
}),
|
|
1344
|
-
currency:
|
|
1313
|
+
currency: cf((lng, opt) => {
|
|
1345
1314
|
const formatter = new Intl.NumberFormat(lng, {
|
|
1346
1315
|
...opt,
|
|
1347
1316
|
style: 'currency'
|
|
1348
1317
|
});
|
|
1349
1318
|
return val => formatter.format(val);
|
|
1350
1319
|
}),
|
|
1351
|
-
datetime:
|
|
1320
|
+
datetime: cf((lng, opt) => {
|
|
1352
1321
|
const formatter = new Intl.DateTimeFormat(lng, {
|
|
1353
1322
|
...opt
|
|
1354
1323
|
});
|
|
1355
1324
|
return val => formatter.format(val);
|
|
1356
1325
|
}),
|
|
1357
|
-
relativetime:
|
|
1326
|
+
relativetime: cf((lng, opt) => {
|
|
1358
1327
|
const formatter = new Intl.RelativeTimeFormat(lng, {
|
|
1359
1328
|
...opt
|
|
1360
1329
|
});
|
|
1361
1330
|
return val => formatter.format(val, opt.range || 'day');
|
|
1362
1331
|
}),
|
|
1363
|
-
list:
|
|
1332
|
+
list: cf((lng, opt) => {
|
|
1364
1333
|
const formatter = new Intl.ListFormat(lng, {
|
|
1365
1334
|
...opt
|
|
1366
1335
|
});
|
|
1367
1336
|
return val => formatter.format(val);
|
|
1368
1337
|
})
|
|
1369
1338
|
};
|
|
1370
|
-
this.init(options);
|
|
1371
|
-
}
|
|
1372
|
-
init(services) {
|
|
1373
|
-
let options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {
|
|
1374
|
-
interpolation: {}
|
|
1375
|
-
};
|
|
1376
|
-
this.formatSeparator = options.interpolation.formatSeparator || ',';
|
|
1377
1339
|
}
|
|
1378
1340
|
add(name, fc) {
|
|
1379
1341
|
this.formats[name.toLowerCase().trim()] = fc;
|
|
@@ -1381,8 +1343,7 @@ class Formatter {
|
|
|
1381
1343
|
addCached(name, fc) {
|
|
1382
1344
|
this.formats[name.toLowerCase().trim()] = createCachedFormatter(fc);
|
|
1383
1345
|
}
|
|
1384
|
-
format(value, format, lng) {
|
|
1385
|
-
let options = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {};
|
|
1346
|
+
format(value, format, lng, options = {}) {
|
|
1386
1347
|
const formats = format.split(this.formatSeparator);
|
|
1387
1348
|
if (formats.length > 1 && formats[0].indexOf('(') > 1 && formats[0].indexOf(')') < 0 && formats.find(f => f.indexOf(')') > -1)) {
|
|
1388
1349
|
const lastIndex = formats.findIndex(f => f.indexOf(')') > -1);
|
|
@@ -1423,8 +1384,7 @@ const removePending = (q, name) => {
|
|
|
1423
1384
|
}
|
|
1424
1385
|
};
|
|
1425
1386
|
class Connector extends EventEmitter {
|
|
1426
|
-
constructor(backend, store, services) {
|
|
1427
|
-
let options = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {};
|
|
1387
|
+
constructor(backend, store, services, options = {}) {
|
|
1428
1388
|
super();
|
|
1429
1389
|
this.backend = backend;
|
|
1430
1390
|
this.store = store;
|
|
@@ -1518,10 +1478,7 @@ class Connector extends EventEmitter {
|
|
|
1518
1478
|
this.emit('loaded', loaded);
|
|
1519
1479
|
this.queue = this.queue.filter(q => !q.done);
|
|
1520
1480
|
}
|
|
1521
|
-
read(lng, ns, fcName) {
|
|
1522
|
-
let tried = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : 0;
|
|
1523
|
-
let wait = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : this.retryTimeout;
|
|
1524
|
-
let callback = arguments.length > 5 ? arguments[5] : undefined;
|
|
1481
|
+
read(lng, ns, fcName, tried = 0, wait = this.retryTimeout, callback) {
|
|
1525
1482
|
if (!lng.length) return callback(null, {});
|
|
1526
1483
|
if (this.readingCalls >= this.maxParallelReads) {
|
|
1527
1484
|
this.waitingReads.push({
|
|
@@ -1565,9 +1522,7 @@ class Connector extends EventEmitter {
|
|
|
1565
1522
|
}
|
|
1566
1523
|
return fc(lng, ns, resolver);
|
|
1567
1524
|
}
|
|
1568
|
-
prepareLoading(languages, namespaces) {
|
|
1569
|
-
let options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
|
|
1570
|
-
let callback = arguments.length > 3 ? arguments[3] : undefined;
|
|
1525
|
+
prepareLoading(languages, namespaces, options = {}, callback) {
|
|
1571
1526
|
if (!this.backend) {
|
|
1572
1527
|
this.logger.warn('No backend was added via i18next.use. Will not load resources.');
|
|
1573
1528
|
return callback && callback();
|
|
@@ -1591,8 +1546,7 @@ class Connector extends EventEmitter {
|
|
|
1591
1546
|
reload: true
|
|
1592
1547
|
}, callback);
|
|
1593
1548
|
}
|
|
1594
|
-
loadOne(name) {
|
|
1595
|
-
let prefix = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';
|
|
1549
|
+
loadOne(name, prefix = '') {
|
|
1596
1550
|
const s = name.split('|');
|
|
1597
1551
|
const lng = s[0];
|
|
1598
1552
|
const ns = s[1];
|
|
@@ -1602,9 +1556,7 @@ class Connector extends EventEmitter {
|
|
|
1602
1556
|
this.loaded(name, err, data);
|
|
1603
1557
|
});
|
|
1604
1558
|
}
|
|
1605
|
-
saveMissing(languages, namespace, key, fallbackValue, isUpdate) {
|
|
1606
|
-
let options = arguments.length > 5 && arguments[5] !== undefined ? arguments[5] : {};
|
|
1607
|
-
let clb = arguments.length > 6 && arguments[6] !== undefined ? arguments[6] : () => {};
|
|
1559
|
+
saveMissing(languages, namespace, key, fallbackValue, isUpdate, options = {}, clb = () => {}) {
|
|
1608
1560
|
if (this.services?.utils?.hasLoadedNamespace && !this.services?.utils?.hasLoadedNamespace(namespace)) {
|
|
1609
1561
|
this.logger.warn(`did not save key "${key}" as the namespace "${namespace}" was not yet loaded`, 'This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!');
|
|
1610
1562
|
return;
|
|
@@ -1699,7 +1651,8 @@ const get = () => ({
|
|
|
1699
1651
|
nestingOptionsSeparator: ',',
|
|
1700
1652
|
maxReplaces: 1000,
|
|
1701
1653
|
skipOnVariables: true
|
|
1702
|
-
}
|
|
1654
|
+
},
|
|
1655
|
+
cacheInBuiltFormats: true
|
|
1703
1656
|
});
|
|
1704
1657
|
const transformOptions = options => {
|
|
1705
1658
|
if (isString(options.ns)) options.ns = [options.ns];
|
|
@@ -1722,9 +1675,7 @@ const bindMemberFunctions = inst => {
|
|
|
1722
1675
|
});
|
|
1723
1676
|
};
|
|
1724
1677
|
class I18n extends EventEmitter {
|
|
1725
|
-
constructor() {
|
|
1726
|
-
let options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
1727
|
-
let callback = arguments.length > 1 ? arguments[1] : undefined;
|
|
1678
|
+
constructor(options = {}, callback) {
|
|
1728
1679
|
super();
|
|
1729
1680
|
this.options = transformOptions(options);
|
|
1730
1681
|
this.services = {};
|
|
@@ -1743,10 +1694,7 @@ class I18n extends EventEmitter {
|
|
|
1743
1694
|
}, 0);
|
|
1744
1695
|
}
|
|
1745
1696
|
}
|
|
1746
|
-
init() {
|
|
1747
|
-
var _this = this;
|
|
1748
|
-
let options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
1749
|
-
let callback = arguments.length > 1 ? arguments[1] : undefined;
|
|
1697
|
+
init(options = {}, callback) {
|
|
1750
1698
|
this.isInitializing = true;
|
|
1751
1699
|
if (typeof options === 'function') {
|
|
1752
1700
|
callback = options;
|
|
@@ -1812,11 +1760,8 @@ class I18n extends EventEmitter {
|
|
|
1812
1760
|
hasLoadedNamespace: this.hasLoadedNamespace.bind(this)
|
|
1813
1761
|
};
|
|
1814
1762
|
s.backendConnector = new Connector(createClassOnDemand(this.modules.backend), s.resourceStore, s, this.options);
|
|
1815
|
-
s.backendConnector.on('*',
|
|
1816
|
-
|
|
1817
|
-
args[_key - 1] = arguments[_key];
|
|
1818
|
-
}
|
|
1819
|
-
_this.emit(event, ...args);
|
|
1763
|
+
s.backendConnector.on('*', (event, ...args) => {
|
|
1764
|
+
this.emit(event, ...args);
|
|
1820
1765
|
});
|
|
1821
1766
|
if (this.modules.languageDetector) {
|
|
1822
1767
|
s.languageDetector = createClassOnDemand(this.modules.languageDetector);
|
|
@@ -1827,11 +1772,8 @@ class I18n extends EventEmitter {
|
|
|
1827
1772
|
if (s.i18nFormat.init) s.i18nFormat.init(this);
|
|
1828
1773
|
}
|
|
1829
1774
|
this.translator = new Translator(this.services, this.options);
|
|
1830
|
-
this.translator.on('*',
|
|
1831
|
-
|
|
1832
|
-
args[_key2 - 1] = arguments[_key2];
|
|
1833
|
-
}
|
|
1834
|
-
_this.emit(event, ...args);
|
|
1775
|
+
this.translator.on('*', (event, ...args) => {
|
|
1776
|
+
this.emit(event, ...args);
|
|
1835
1777
|
});
|
|
1836
1778
|
this.modules.external.forEach(m => {
|
|
1837
1779
|
if (m.init) m.init(this);
|
|
@@ -1848,15 +1790,13 @@ class I18n extends EventEmitter {
|
|
|
1848
1790
|
}
|
|
1849
1791
|
const storeApi = ['getResource', 'hasResourceBundle', 'getResourceBundle', 'getDataByLanguage'];
|
|
1850
1792
|
storeApi.forEach(fcName => {
|
|
1851
|
-
this[fcName] =
|
|
1852
|
-
return _this.store[fcName](...arguments);
|
|
1853
|
-
};
|
|
1793
|
+
this[fcName] = (...args) => this.store[fcName](...args);
|
|
1854
1794
|
});
|
|
1855
1795
|
const storeApiChained = ['addResource', 'addResources', 'addResourceBundle', 'removeResourceBundle'];
|
|
1856
1796
|
storeApiChained.forEach(fcName => {
|
|
1857
|
-
this[fcName] =
|
|
1858
|
-
|
|
1859
|
-
return
|
|
1797
|
+
this[fcName] = (...args) => {
|
|
1798
|
+
this.store[fcName](...args);
|
|
1799
|
+
return this;
|
|
1860
1800
|
};
|
|
1861
1801
|
});
|
|
1862
1802
|
const deferred = defer();
|
|
@@ -1880,8 +1820,7 @@ class I18n extends EventEmitter {
|
|
|
1880
1820
|
}
|
|
1881
1821
|
return deferred;
|
|
1882
1822
|
}
|
|
1883
|
-
loadResources(language) {
|
|
1884
|
-
let callback = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : noop;
|
|
1823
|
+
loadResources(language, callback = noop) {
|
|
1885
1824
|
let usedCallback = callback;
|
|
1886
1825
|
const usedLng = isString(language) ? language : this.language;
|
|
1887
1826
|
if (typeof language === 'function') usedCallback = language;
|
|
@@ -1970,11 +1909,10 @@ class I18n extends EventEmitter {
|
|
|
1970
1909
|
}
|
|
1971
1910
|
if (!this.resolvedLanguage && this.languages.indexOf(l) < 0 && this.store.hasLanguageSomeTranslations(l)) {
|
|
1972
1911
|
this.resolvedLanguage = l;
|
|
1973
|
-
|
|
1912
|
+
this.languages.unshift(l);
|
|
1974
1913
|
}
|
|
1975
1914
|
}
|
|
1976
1915
|
changeLanguage(lng, callback) {
|
|
1977
|
-
var _this2 = this;
|
|
1978
1916
|
this.isLanguageChangingTo = lng;
|
|
1979
1917
|
const deferred = defer();
|
|
1980
1918
|
this.emit('languageChanging', lng);
|
|
@@ -1996,12 +1934,8 @@ class I18n extends EventEmitter {
|
|
|
1996
1934
|
} else {
|
|
1997
1935
|
this.isLanguageChangingTo = undefined;
|
|
1998
1936
|
}
|
|
1999
|
-
deferred.resolve(
|
|
2000
|
-
|
|
2001
|
-
});
|
|
2002
|
-
if (callback) callback(err, function () {
|
|
2003
|
-
return _this2.t(...arguments);
|
|
2004
|
-
});
|
|
1937
|
+
deferred.resolve((...args) => this.t(...args));
|
|
1938
|
+
if (callback) callback(err, (...args) => this.t(...args));
|
|
2005
1939
|
};
|
|
2006
1940
|
const setLng = lngs => {
|
|
2007
1941
|
if (!lng && !lngs && this.services.languageDetector) lngs = [];
|
|
@@ -2032,14 +1966,10 @@ class I18n extends EventEmitter {
|
|
|
2032
1966
|
return deferred;
|
|
2033
1967
|
}
|
|
2034
1968
|
getFixedT(lng, ns, keyPrefix) {
|
|
2035
|
-
|
|
2036
|
-
const fixedT = function (key, opts) {
|
|
1969
|
+
const fixedT = (key, opts, ...rest) => {
|
|
2037
1970
|
let o;
|
|
2038
1971
|
if (typeof opts !== 'object') {
|
|
2039
|
-
|
|
2040
|
-
rest[_key3 - 2] = arguments[_key3];
|
|
2041
|
-
}
|
|
2042
|
-
o = _this3.options.overloadTranslationOptionHandler([key, opts].concat(rest));
|
|
1972
|
+
o = this.options.overloadTranslationOptionHandler([key, opts].concat(rest));
|
|
2043
1973
|
} else {
|
|
2044
1974
|
o = {
|
|
2045
1975
|
...opts
|
|
@@ -2049,14 +1979,14 @@ class I18n extends EventEmitter {
|
|
|
2049
1979
|
o.lngs = o.lngs || fixedT.lngs;
|
|
2050
1980
|
o.ns = o.ns || fixedT.ns;
|
|
2051
1981
|
if (o.keyPrefix !== '') o.keyPrefix = o.keyPrefix || keyPrefix || fixedT.keyPrefix;
|
|
2052
|
-
const keySeparator =
|
|
1982
|
+
const keySeparator = this.options.keySeparator || '.';
|
|
2053
1983
|
let resultKey;
|
|
2054
1984
|
if (o.keyPrefix && Array.isArray(key)) {
|
|
2055
1985
|
resultKey = key.map(k => `${o.keyPrefix}${keySeparator}${k}`);
|
|
2056
1986
|
} else {
|
|
2057
1987
|
resultKey = o.keyPrefix ? `${o.keyPrefix}${keySeparator}${key}` : key;
|
|
2058
1988
|
}
|
|
2059
|
-
return
|
|
1989
|
+
return this.t(resultKey, o);
|
|
2060
1990
|
};
|
|
2061
1991
|
if (isString(lng)) {
|
|
2062
1992
|
fixedT.lng = lng;
|
|
@@ -2067,23 +1997,16 @@ class I18n extends EventEmitter {
|
|
|
2067
1997
|
fixedT.keyPrefix = keyPrefix;
|
|
2068
1998
|
return fixedT;
|
|
2069
1999
|
}
|
|
2070
|
-
t() {
|
|
2071
|
-
for (var _len4 = arguments.length, args = new Array(_len4), _key4 = 0; _key4 < _len4; _key4++) {
|
|
2072
|
-
args[_key4] = arguments[_key4];
|
|
2073
|
-
}
|
|
2000
|
+
t(...args) {
|
|
2074
2001
|
return this.translator?.translate(...args);
|
|
2075
2002
|
}
|
|
2076
|
-
exists() {
|
|
2077
|
-
for (var _len5 = arguments.length, args = new Array(_len5), _key5 = 0; _key5 < _len5; _key5++) {
|
|
2078
|
-
args[_key5] = arguments[_key5];
|
|
2079
|
-
}
|
|
2003
|
+
exists(...args) {
|
|
2080
2004
|
return this.translator?.exists(...args);
|
|
2081
2005
|
}
|
|
2082
2006
|
setDefaultNamespace(ns) {
|
|
2083
2007
|
this.options.defaultNS = ns;
|
|
2084
2008
|
}
|
|
2085
|
-
hasLoadedNamespace(ns) {
|
|
2086
|
-
let options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
2009
|
+
hasLoadedNamespace(ns, options = {}) {
|
|
2087
2010
|
if (!this.isInitialized) {
|
|
2088
2011
|
this.logger.warn('hasLoadedNamespace: i18next was not initialized', this.languages);
|
|
2089
2012
|
return false;
|
|
@@ -2148,14 +2071,10 @@ class I18n extends EventEmitter {
|
|
|
2148
2071
|
const languageUtils = this.services?.languageUtils || new LanguageUtil(get());
|
|
2149
2072
|
return rtlLngs.indexOf(languageUtils.getLanguagePartFromCode(lng)) > -1 || lng.toLowerCase().indexOf('-arab') > 1 ? 'rtl' : 'ltr';
|
|
2150
2073
|
}
|
|
2151
|
-
static createInstance() {
|
|
2152
|
-
let options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
2153
|
-
let callback = arguments.length > 1 ? arguments[1] : undefined;
|
|
2074
|
+
static createInstance(options = {}, callback) {
|
|
2154
2075
|
return new I18n(options, callback);
|
|
2155
2076
|
}
|
|
2156
|
-
cloneInstance() {
|
|
2157
|
-
let options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
2158
|
-
let callback = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : noop;
|
|
2077
|
+
cloneInstance(options = {}, callback = noop) {
|
|
2159
2078
|
const forkResourceStore = options.forkResourceStore;
|
|
2160
2079
|
if (forkResourceStore) delete options.forkResourceStore;
|
|
2161
2080
|
const mergedOptions = {
|
|
@@ -2184,21 +2103,19 @@ class I18n extends EventEmitter {
|
|
|
2184
2103
|
prev[l] = {
|
|
2185
2104
|
...this.store.data[l]
|
|
2186
2105
|
};
|
|
2187
|
-
|
|
2106
|
+
prev[l] = Object.keys(prev[l]).reduce((acc, n) => {
|
|
2188
2107
|
acc[n] = {
|
|
2189
2108
|
...prev[l][n]
|
|
2190
2109
|
};
|
|
2191
2110
|
return acc;
|
|
2192
|
-
},
|
|
2111
|
+
}, prev[l]);
|
|
2112
|
+
return prev;
|
|
2193
2113
|
}, {});
|
|
2194
2114
|
clone.store = new ResourceStore(clonedData, mergedOptions);
|
|
2195
2115
|
clone.services.resourceStore = clone.store;
|
|
2196
2116
|
}
|
|
2197
2117
|
clone.translator = new Translator(clone.services, mergedOptions);
|
|
2198
|
-
clone.translator.on('*',
|
|
2199
|
-
for (var _len6 = arguments.length, args = new Array(_len6 > 1 ? _len6 - 1 : 0), _key6 = 1; _key6 < _len6; _key6++) {
|
|
2200
|
-
args[_key6 - 1] = arguments[_key6];
|
|
2201
|
-
}
|
|
2118
|
+
clone.translator.on('*', (event, ...args) => {
|
|
2202
2119
|
clone.emit(event, ...args);
|
|
2203
2120
|
});
|
|
2204
2121
|
clone.init(mergedOptions, callback);
|
|
@@ -2221,6 +2138,8 @@ class I18n extends EventEmitter {
|
|
|
2221
2138
|
const instance = I18n.createInstance();
|
|
2222
2139
|
instance.createInstance = I18n.createInstance;
|
|
2223
2140
|
|
|
2141
|
+
const createInstance = instance.createInstance;
|
|
2142
|
+
|
|
2224
2143
|
const DEFAULT_LANG = "nl";
|
|
2225
2144
|
function getComponentClosestLanguage(element) {
|
|
2226
2145
|
const closestLangElement = element.closest("[lang]");
|
|
@@ -2237,7 +2156,7 @@ function getComponentClosestLanguage(element) {
|
|
|
2237
2156
|
}
|
|
2238
2157
|
function i18n(getElement, resources) {
|
|
2239
2158
|
const element = getElement();
|
|
2240
|
-
const i18NextInstance =
|
|
2159
|
+
const i18NextInstance = createInstance();
|
|
2241
2160
|
i18NextInstance.init({
|
|
2242
2161
|
fallbackLng: DEFAULT_LANG,
|
|
2243
2162
|
resources,
|
|
@@ -2256,6 +2175,6 @@ function i18n(getElement, resources) {
|
|
|
2256
2175
|
}
|
|
2257
2176
|
|
|
2258
2177
|
exports.i18n = i18n;
|
|
2259
|
-
//# sourceMappingURL=i18n-
|
|
2178
|
+
//# sourceMappingURL=i18n-yRiEgk_k.js.map
|
|
2260
2179
|
|
|
2261
|
-
//# sourceMappingURL=i18n-
|
|
2180
|
+
//# sourceMappingURL=i18n-yRiEgk_k.js.map
|