@dso-toolkit/core 55.0.0 → 56.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/dso-accordion-section.cjs.entry.js +30 -87
- package/dist/cjs/dso-accordion-section.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-accordion.cjs.entry.js +197 -107
- package/dist/cjs/dso-accordion.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-alert_5.cjs.entry.js +719 -0
- package/dist/cjs/dso-alert_5.cjs.entry.js.map +1 -0
- package/dist/cjs/dso-annotation-output_3.cjs.entry.js +143 -0
- package/dist/cjs/dso-annotation-output_3.cjs.entry.js.map +1 -0
- package/dist/cjs/dso-expandable.cjs.entry.js +17 -36
- package/dist/cjs/dso-expandable.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-toolkit.cjs.js +1 -1
- package/dist/cjs/dsot-document-component-demo.cjs.entry.js +110 -0
- package/dist/cjs/dsot-document-component-demo.cjs.entry.js.map +1 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +5 -4
- package/dist/collection/components/accordion/accordion.interfaces.js.map +1 -1
- package/dist/collection/components/accordion/accordion.js +9 -254
- package/dist/collection/components/accordion/accordion.js.map +1 -1
- package/dist/collection/components/accordion/components/accordion-section.js +68 -126
- package/dist/collection/components/accordion/components/accordion-section.js.map +1 -1
- package/dist/collection/components/annotation-button/annotation-button.css +1003 -0
- package/dist/collection/components/annotation-button/annotation-button.js +48 -7
- package/dist/collection/components/annotation-button/annotation-button.js.map +1 -1
- package/dist/collection/components/annotation-output/annotation-output.css +2 -2
- package/dist/collection/components/annotation-output/annotation-output.js +32 -64
- package/dist/collection/components/annotation-output/annotation-output.js.map +1 -1
- package/dist/collection/components/document-component/document-component-heading.js +30 -0
- package/dist/collection/components/document-component/document-component-heading.js.map +1 -0
- package/dist/collection/components/document-component/document-component.css +135 -0
- package/dist/collection/components/document-component/document-component.demo.js +112 -0
- package/dist/collection/components/document-component/document-component.demo.js.map +1 -0
- package/dist/collection/components/document-component/document-component.js +414 -0
- package/dist/collection/components/document-component/document-component.js.map +1 -0
- package/dist/collection/components/document-component/document-component.types.js +2 -0
- package/dist/collection/components/document-component/document-component.types.js.map +1 -0
- package/dist/collection/components/expandable/expandable.js +28 -94
- package/dist/collection/components/expandable/expandable.js.map +1 -1
- package/dist/collection/components/ozon-content/ozon-content-mapper.js +9 -1
- package/dist/collection/components/ozon-content/ozon-content-mapper.js.map +1 -1
- package/dist/collection/components/ozon-content/ozon-content.css +49 -1
- package/dist/collection/components/ozon-content/ozon-content.js +1 -1
- package/dist/collection/components/ozon-content/ozon-content.js.map +1 -1
- package/dist/{esm/dso-alert.entry.js → components/alert.js} +33 -9
- package/dist/components/alert.js.map +1 -0
- package/dist/components/annotation-button.js +46 -0
- package/dist/components/annotation-button.js.map +1 -0
- package/dist/components/annotation-output.js +60 -0
- package/dist/components/annotation-output.js.map +1 -0
- package/dist/{esm/dso-badge.entry.js → components/badge.js} +26 -9
- package/dist/components/badge.js.map +1 -0
- package/dist/components/document-component.js +163 -0
- package/dist/components/document-component.js.map +1 -0
- package/dist/components/dso-accordion-section.js +35 -94
- package/dist/components/dso-accordion-section.js.map +1 -1
- package/dist/components/dso-accordion.js +199 -113
- package/dist/components/dso-accordion.js.map +1 -1
- package/dist/components/dso-alert.js +1 -50
- package/dist/components/dso-alert.js.map +1 -1
- package/dist/components/dso-annotation-button.js +1 -40
- package/dist/components/dso-annotation-button.js.map +1 -1
- package/dist/components/dso-annotation-output.js +1 -71
- package/dist/components/dso-annotation-output.js.map +1 -1
- package/dist/components/dso-autosuggest.js +1 -1
- package/dist/components/dso-badge.js +1 -32
- package/dist/components/dso-badge.js.map +1 -1
- package/dist/components/dso-document-component.d.ts +11 -0
- package/dist/components/dso-document-component.js +8 -0
- package/dist/components/dso-document-component.js.map +1 -0
- package/dist/components/dso-header.js +1 -1
- package/dist/components/dso-image-overlay.js +1 -1
- package/dist/components/dso-label.js +1 -161
- package/dist/components/dso-label.js.map +1 -1
- package/dist/components/dso-ozon-content.js +1 -544
- package/dist/components/dso-ozon-content.js.map +1 -1
- package/dist/components/dso-slide-toggle.js +1 -52
- package/dist/components/dso-slide-toggle.js.map +1 -1
- package/dist/components/dso-table.js +1 -1
- package/dist/components/dsot-document-component-demo.d.ts +11 -0
- package/dist/components/dsot-document-component-demo.js +202 -0
- package/dist/components/dsot-document-component-demo.js.map +1 -0
- package/dist/components/expandable.js +19 -40
- package/dist/components/expandable.js.map +1 -1
- package/dist/components/index.d.ts +4 -2
- package/dist/components/index.js +2 -1
- package/dist/components/index.js.map +1 -1
- package/dist/components/index2.js +61 -185
- package/dist/components/index2.js.map +1 -1
- package/dist/{esm/dso-label.entry.js → components/label.js} +50 -11
- package/dist/components/label.js.map +1 -0
- package/dist/{esm/dso-ozon-content.entry.js → components/ozon-content.js} +43 -14
- package/dist/components/ozon-content.js.map +1 -0
- package/dist/components/scrollable.js +1 -1
- package/dist/{esm/dso-slide-toggle.entry.js → components/slide-toggle.js} +31 -10
- package/dist/{dso-toolkit/p-b1627d68.entry.js.map → components/slide-toggle.js.map} +1 -1
- package/dist/components/tooltip.js +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/{p-12c3fc19.entry.js → p-05ea1fba.entry.js} +2 -2
- package/dist/dso-toolkit/{p-657c43f4.entry.js → p-0e5a93c3.entry.js} +2 -2
- package/dist/dso-toolkit/p-14453f73.entry.js +2 -0
- package/dist/dso-toolkit/p-14453f73.entry.js.map +1 -0
- package/dist/dso-toolkit/{p-63ce173c.entry.js → p-168750a2.entry.js} +2 -2
- package/dist/dso-toolkit/{p-554e7d6a.entry.js → p-1cc75e0b.entry.js} +2 -2
- package/dist/dso-toolkit/{p-904a2caf.entry.js → p-29752a45.entry.js} +2 -2
- package/dist/dso-toolkit/{p-9c2d4a91.entry.js → p-29b741cb.entry.js} +2 -2
- package/dist/dso-toolkit/p-39f6447d.entry.js +2 -0
- package/dist/dso-toolkit/p-39f6447d.entry.js.map +1 -0
- package/dist/dso-toolkit/{p-fdf8bd94.entry.js → p-3c554a18.entry.js} +2 -2
- package/dist/dso-toolkit/{p-d4f8e1e0.entry.js → p-3fa7489e.entry.js} +2 -2
- package/dist/dso-toolkit/{p-fa6d8d5a.entry.js → p-422bcf93.entry.js} +2 -2
- package/dist/dso-toolkit/p-42d3c595.entry.js +2 -0
- package/dist/dso-toolkit/{p-1d3ed808.entry.js.map → p-42d3c595.entry.js.map} +1 -1
- package/dist/dso-toolkit/p-484ea1d2.entry.js +2 -0
- package/dist/dso-toolkit/p-484ea1d2.entry.js.map +1 -0
- package/dist/dso-toolkit/p-5265e22b.entry.js +2 -0
- package/dist/dso-toolkit/p-56d87a53.entry.js +2 -0
- package/dist/dso-toolkit/p-56d87a53.entry.js.map +1 -0
- package/dist/dso-toolkit/{p-71143eef.entry.js → p-6050e8e6.entry.js} +2 -2
- package/dist/dso-toolkit/{p-5040a304.entry.js → p-674e2406.entry.js} +2 -2
- package/dist/dso-toolkit/{p-2bd5d2a2.entry.js → p-68e9f61b.entry.js} +2 -2
- package/dist/dso-toolkit/{p-f70d6a66.entry.js → p-818d032e.entry.js} +2 -2
- package/dist/dso-toolkit/{p-a4e3638a.entry.js → p-83cdfde8.entry.js} +2 -2
- package/dist/dso-toolkit/{p-8f166691.entry.js → p-909ccf98.entry.js} +2 -2
- package/dist/dso-toolkit/{p-58bed94b.entry.js → p-9b587a94.entry.js} +2 -2
- package/dist/dso-toolkit/p-9c0477fc.entry.js +2 -0
- package/dist/dso-toolkit/{p-56069350.entry.js.map → p-9c0477fc.entry.js.map} +1 -1
- package/dist/dso-toolkit/{p-79767cc1.entry.js → p-9f2bb98b.entry.js} +2 -2
- package/dist/dso-toolkit/{p-6e0b67c9.entry.js → p-9fee52e5.entry.js} +2 -2
- package/dist/dso-toolkit/{p-9b14a015.entry.js → p-a616ab8a.entry.js} +2 -2
- package/dist/dso-toolkit/{p-ef23bffb.entry.js → p-b627d9ac.entry.js} +2 -2
- package/dist/dso-toolkit/{p-9d64a2f4.entry.js → p-b67631ef.entry.js} +2 -2
- package/dist/dso-toolkit/{p-0653b5d2.entry.js → p-bcae3f55.entry.js} +2 -2
- package/dist/dso-toolkit/{p-b1b53cb3.entry.js → p-bf203ab8.entry.js} +2 -2
- package/dist/dso-toolkit/{p-ee2771d4.entry.js → p-c8165a50.entry.js} +2 -2
- package/dist/dso-toolkit/{p-26cdce1c.js → p-ce928197.js} +2 -2
- package/dist/dso-toolkit/{p-601b4ce0.entry.js → p-cfd6f4ef.entry.js} +2 -2
- package/dist/dso-toolkit/{p-b6f1ae13.entry.js → p-d3f69d06.entry.js} +2 -2
- package/dist/dso-toolkit/{p-3ab9390b.entry.js → p-d8c137b5.entry.js} +2 -2
- package/dist/dso-toolkit/p-debbe184.entry.js +2 -0
- package/dist/dso-toolkit/{p-c3178955.entry.js.map → p-debbe184.entry.js.map} +1 -1
- package/dist/dso-toolkit/{p-7098eb9d.entry.js → p-ec4b568d.entry.js} +2 -2
- package/dist/dso-toolkit/p-ec4b568d.entry.js.map +1 -0
- package/dist/dso-toolkit/p-fafa5ea1.entry.js +2 -0
- package/dist/dso-toolkit/p-fafa5ea1.entry.js.map +1 -0
- package/dist/esm/dso-accordion-section.entry.js +31 -88
- package/dist/esm/dso-accordion-section.entry.js.map +1 -1
- package/dist/esm/dso-accordion.entry.js +198 -108
- 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.entry.js +1 -1
- package/dist/esm/dso-alert_5.entry.js +711 -0
- package/dist/esm/dso-alert_5.entry.js.map +1 -0
- package/dist/esm/dso-annotation-output_3.entry.js +137 -0
- package/dist/esm/dso-annotation-output_3.entry.js.map +1 -0
- package/dist/esm/dso-attachments-counter.entry.js +1 -1
- package/dist/esm/dso-autosuggest.entry.js +1 -1
- package/dist/esm/dso-banner.entry.js +1 -1
- package/dist/esm/dso-card-container.entry.js +1 -1
- package/dist/esm/dso-card.entry.js +1 -1
- package/dist/esm/dso-date-picker.entry.js +1 -1
- package/dist/esm/dso-dropdown-menu.entry.js +1 -1
- package/dist/esm/dso-expandable.entry.js +18 -37
- package/dist/esm/dso-expandable.entry.js.map +1 -1
- package/dist/esm/dso-header.entry.js +1 -1
- package/dist/esm/dso-helpcenter-panel.entry.js +1 -1
- package/dist/esm/dso-highlight-box.entry.js +1 -1
- package/dist/esm/dso-icon.entry.js +1 -1
- package/dist/esm/dso-image-overlay.entry.js +1 -1
- package/dist/esm/dso-info-button.entry.js +1 -1
- package/dist/esm/dso-info_2.entry.js +1 -1
- package/dist/esm/dso-list-button.entry.js +1 -1
- package/dist/esm/dso-map-base-layers.entry.js +1 -1
- package/dist/esm/dso-map-controls.entry.js +1 -1
- package/dist/esm/dso-map-overlays.entry.js +1 -1
- package/dist/esm/dso-modal.entry.js +1 -1
- package/dist/esm/dso-pagination.entry.js +1 -1
- package/dist/esm/dso-progress-bar.entry.js +1 -1
- package/dist/esm/dso-progress-indicator.entry.js +1 -1
- package/dist/esm/dso-responsive-element.entry.js +1 -1
- package/dist/esm/dso-scrollable.entry.js +1 -1
- package/dist/esm/dso-table.entry.js +1 -1
- package/dist/esm/dso-toggletip.entry.js +1 -1
- package/dist/esm/dso-toolkit.js +3 -3
- package/dist/esm/dso-tooltip.entry.js +1 -1
- package/dist/esm/dso-tree-view.entry.js +1 -1
- package/dist/esm/dso-viewer-grid.entry.js +1 -1
- package/dist/esm/dsot-document-component-demo.entry.js +106 -0
- package/dist/esm/dsot-document-component-demo.entry.js.map +1 -0
- package/dist/esm/{index-898d8443.js → index-367cff36.js} +2 -2
- package/dist/esm/{index-898d8443.js.map → index-367cff36.js.map} +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/types/components/accordion/accordion.d.ts +6 -39
- package/dist/types/components/accordion/accordion.interfaces.d.ts +21 -15
- package/dist/types/components/accordion/components/accordion-section.d.ts +15 -18
- package/dist/types/components/annotation-button/annotation-button.d.ts +15 -4
- package/dist/types/components/annotation-output/annotation-output.d.ts +7 -5
- package/dist/types/components/document-component/document-component-heading.d.ts +7 -0
- package/dist/types/components/document-component/document-component.d.ts +84 -0
- package/dist/types/components/document-component/document-component.demo.d.ts +40 -0
- package/dist/types/components/document-component/document-component.types.d.ts +8 -0
- package/dist/types/components/expandable/expandable.d.ts +5 -12
- package/dist/types/components.d.ts +233 -125
- package/package.json +2 -2
- package/dist/cjs/annotation.service-60e6b0f1.js +0 -23
- package/dist/cjs/annotation.service-60e6b0f1.js.map +0 -1
- package/dist/cjs/dso-alert.cjs.entry.js +0 -34
- package/dist/cjs/dso-alert.cjs.entry.js.map +0 -1
- package/dist/cjs/dso-annotation-button.cjs.entry.js +0 -27
- package/dist/cjs/dso-annotation-button.cjs.entry.js.map +0 -1
- package/dist/cjs/dso-annotation-output.cjs.entry.js +0 -44
- package/dist/cjs/dso-annotation-output.cjs.entry.js.map +0 -1
- package/dist/cjs/dso-badge.cjs.entry.js +0 -23
- package/dist/cjs/dso-badge.cjs.entry.js.map +0 -1
- package/dist/cjs/dso-expandable-heading.cjs.entry.js +0 -54
- package/dist/cjs/dso-expandable-heading.cjs.entry.js.map +0 -1
- package/dist/cjs/dso-label.cjs.entry.js +0 -130
- package/dist/cjs/dso-label.cjs.entry.js.map +0 -1
- package/dist/cjs/dso-ozon-content.cjs.entry.js +0 -532
- package/dist/cjs/dso-ozon-content.cjs.entry.js.map +0 -1
- package/dist/cjs/dso-slide-toggle.cjs.entry.js +0 -39
- package/dist/cjs/dso-slide-toggle.cjs.entry.js.map +0 -1
- package/dist/cjs/index-a189d603.js +0 -198
- package/dist/cjs/index-a189d603.js.map +0 -1
- package/dist/collection/components/annotation-output/annotation-output.interfaces.js +0 -2
- package/dist/collection/components/annotation-output/annotation-output.interfaces.js.map +0 -1
- package/dist/collection/components/expandable/expandable.functions.js +0 -4
- package/dist/collection/components/expandable/expandable.functions.js.map +0 -1
- package/dist/collection/components/expandable-heading/expandable-heading.css +0 -200
- package/dist/collection/components/expandable-heading/expandable-heading.interfaces.js +0 -2
- package/dist/collection/components/expandable-heading/expandable-heading.interfaces.js.map +0 -1
- package/dist/collection/components/expandable-heading/expandable-heading.js +0 -163
- package/dist/collection/components/expandable-heading/expandable-heading.js.map +0 -1
- package/dist/collection/components/expandable-heading/heading.js +0 -17
- package/dist/collection/components/expandable-heading/heading.js.map +0 -1
- package/dist/collection/services/annotation.service.js +0 -17
- package/dist/collection/services/annotation.service.js.map +0 -1
- package/dist/components/annotation.service.js +0 -21
- package/dist/components/annotation.service.js.map +0 -1
- package/dist/components/dso-expandable-heading.d.ts +0 -11
- package/dist/components/dso-expandable-heading.js +0 -86
- package/dist/components/dso-expandable-heading.js.map +0 -1
- package/dist/components/index3.js +0 -72
- package/dist/components/index3.js.map +0 -1
- package/dist/dso-toolkit/p-0c762ac9.entry.js +0 -2
- package/dist/dso-toolkit/p-0c762ac9.entry.js.map +0 -1
- package/dist/dso-toolkit/p-0ffae824.entry.js +0 -2
- package/dist/dso-toolkit/p-0ffae824.entry.js.map +0 -1
- package/dist/dso-toolkit/p-1d3ed808.entry.js +0 -2
- package/dist/dso-toolkit/p-26713aef.js +0 -2
- package/dist/dso-toolkit/p-26713aef.js.map +0 -1
- package/dist/dso-toolkit/p-52f2be73.entry.js +0 -2
- package/dist/dso-toolkit/p-52f2be73.entry.js.map +0 -1
- package/dist/dso-toolkit/p-56069350.entry.js +0 -2
- package/dist/dso-toolkit/p-59ff4e19.entry.js +0 -2
- package/dist/dso-toolkit/p-59ff4e19.entry.js.map +0 -1
- package/dist/dso-toolkit/p-7098eb9d.entry.js.map +0 -1
- package/dist/dso-toolkit/p-835a599b.entry.js +0 -2
- package/dist/dso-toolkit/p-91453b47.entry.js +0 -2
- package/dist/dso-toolkit/p-91453b47.entry.js.map +0 -1
- package/dist/dso-toolkit/p-9eccd618.js +0 -2
- package/dist/dso-toolkit/p-9eccd618.js.map +0 -1
- package/dist/dso-toolkit/p-b1627d68.entry.js +0 -2
- package/dist/dso-toolkit/p-c3178955.entry.js +0 -2
- package/dist/dso-toolkit/p-c464da66.entry.js +0 -2
- package/dist/dso-toolkit/p-c464da66.entry.js.map +0 -1
- package/dist/dso-toolkit/p-c4e1c7cb.entry.js +0 -2
- package/dist/dso-toolkit/p-c4e1c7cb.entry.js.map +0 -1
- package/dist/dso-toolkit/p-dd9e9c47.entry.js +0 -2
- package/dist/dso-toolkit/p-dd9e9c47.entry.js.map +0 -1
- package/dist/dso-toolkit/p-de310a49.entry.js +0 -2
- package/dist/dso-toolkit/p-de310a49.entry.js.map +0 -1
- package/dist/esm/annotation.service-cd25eba0.js +0 -21
- package/dist/esm/annotation.service-cd25eba0.js.map +0 -1
- package/dist/esm/dso-alert.entry.js.map +0 -1
- package/dist/esm/dso-annotation-button.entry.js +0 -23
- package/dist/esm/dso-annotation-button.entry.js.map +0 -1
- package/dist/esm/dso-annotation-output.entry.js +0 -40
- package/dist/esm/dso-annotation-output.entry.js.map +0 -1
- package/dist/esm/dso-badge.entry.js.map +0 -1
- package/dist/esm/dso-expandable-heading.entry.js +0 -50
- package/dist/esm/dso-expandable-heading.entry.js.map +0 -1
- package/dist/esm/dso-label.entry.js.map +0 -1
- package/dist/esm/dso-ozon-content.entry.js.map +0 -1
- package/dist/esm/dso-slide-toggle.entry.js.map +0 -1
- package/dist/esm/index-b57dbe04.js +0 -196
- package/dist/esm/index-b57dbe04.js.map +0 -1
- package/dist/types/components/annotation-output/annotation-output.interfaces.d.ts +0 -4
- package/dist/types/components/expandable/expandable.functions.d.ts +0 -1
- package/dist/types/components/expandable-heading/expandable-heading.d.ts +0 -33
- package/dist/types/components/expandable-heading/expandable-heading.interfaces.d.ts +0 -6
- package/dist/types/components/expandable-heading/heading.d.ts +0 -9
- package/dist/types/services/annotation.service.d.ts +0 -10
- /package/dist/dso-toolkit/{p-12c3fc19.entry.js.map → p-05ea1fba.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-657c43f4.entry.js.map → p-0e5a93c3.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-63ce173c.entry.js.map → p-168750a2.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-554e7d6a.entry.js.map → p-1cc75e0b.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-904a2caf.entry.js.map → p-29752a45.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-9c2d4a91.entry.js.map → p-29b741cb.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-fdf8bd94.entry.js.map → p-3c554a18.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-d4f8e1e0.entry.js.map → p-3fa7489e.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-fa6d8d5a.entry.js.map → p-422bcf93.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-835a599b.entry.js.map → p-5265e22b.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-71143eef.entry.js.map → p-6050e8e6.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-5040a304.entry.js.map → p-674e2406.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-2bd5d2a2.entry.js.map → p-68e9f61b.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-f70d6a66.entry.js.map → p-818d032e.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-a4e3638a.entry.js.map → p-83cdfde8.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-8f166691.entry.js.map → p-909ccf98.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-58bed94b.entry.js.map → p-9b587a94.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-79767cc1.entry.js.map → p-9f2bb98b.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-6e0b67c9.entry.js.map → p-9fee52e5.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-9b14a015.entry.js.map → p-a616ab8a.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-ef23bffb.entry.js.map → p-b627d9ac.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-9d64a2f4.entry.js.map → p-b67631ef.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-0653b5d2.entry.js.map → p-bcae3f55.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-b1b53cb3.entry.js.map → p-bf203ab8.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-ee2771d4.entry.js.map → p-c8165a50.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-26cdce1c.js.map → p-ce928197.js.map} +0 -0
- /package/dist/dso-toolkit/{p-601b4ce0.entry.js.map → p-cfd6f4ef.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-b6f1ae13.entry.js.map → p-d3f69d06.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-3ab9390b.entry.js.map → p-d8c137b5.entry.js.map} +0 -0
|
@@ -5,15 +5,16 @@
|
|
|
5
5
|
* It contains typing information for all components that exist in this project.
|
|
6
6
|
*/
|
|
7
7
|
import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime";
|
|
8
|
-
import { AccordionInternalState,
|
|
8
|
+
import { AccordionInternalState, AccordionSectionAnimationEndEvent, AccordionSectionToggleClickEvent, AccordionVariant } from "./components/accordion/accordion.interfaces";
|
|
9
9
|
import { AccordionHeading, AccordionSectionState } from "./components/accordion/components/accordion-section.interfaces";
|
|
10
|
-
import {
|
|
10
|
+
import { AnnotationButtonClickEvent } from "./components/annotation-button/annotation-button";
|
|
11
|
+
import { AnnotationOutputCloseEvent } from "./components/annotation-output/annotation-output";
|
|
11
12
|
import { Suggestion } from "./components/autosuggest/autosuggest.interfaces";
|
|
12
13
|
import { DsoCardClickedEvent, ImageShape } from "./components/card/card.interfaces";
|
|
13
14
|
import { CardContainerMode } from "./components/card-container/card-container.interfaces";
|
|
14
15
|
import { DsoDatePickerChangeEvent, DsoDatePickerDirection, DsoDatePickerFocusEvent, DsoDatePickerKeyboardEvent } from "./components/date-picker/date-picker.interfaces";
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
16
|
+
import { DocumentComponentOpenToggleEvent, DocumentComponentToggleAnnotationEvent, DocumentComponentWijzigactie } from "./components/document-component/document-component.types";
|
|
17
|
+
import { ExpandableAnimationEndEvent } from "./components/expandable/expandable";
|
|
17
18
|
import { HeaderEvent, HeaderMenuItem } from "./components/header/header.interfaces";
|
|
18
19
|
import { InfoButtonToggleEvent } from "./components/info-button/info-button.interfaces";
|
|
19
20
|
import { ListButtonChangeEvent, ListButtonSelectedEvent } from "./components/list-button/list-button.interfaces";
|
|
@@ -30,15 +31,16 @@ import { SelectableChangeEvent } from "./components/selectable/selectable.interf
|
|
|
30
31
|
import { SlideToggleActiveEvent } from "./components/slide-toggle/slide-toggle.interfaces";
|
|
31
32
|
import { TreeViewItem, TreeViewPointerEvent } from "./components/tree-view/tree-view.interfaces";
|
|
32
33
|
import { FilterpanelEvent, MainSize, ViewerGridChangeSizeEvent } from "./components/viewer-grid/viewer-grid.interfaces";
|
|
33
|
-
export { AccordionInternalState,
|
|
34
|
+
export { AccordionInternalState, AccordionSectionAnimationEndEvent, AccordionSectionToggleClickEvent, AccordionVariant } from "./components/accordion/accordion.interfaces";
|
|
34
35
|
export { AccordionHeading, AccordionSectionState } from "./components/accordion/components/accordion-section.interfaces";
|
|
35
|
-
export {
|
|
36
|
+
export { AnnotationButtonClickEvent } from "./components/annotation-button/annotation-button";
|
|
37
|
+
export { AnnotationOutputCloseEvent } from "./components/annotation-output/annotation-output";
|
|
36
38
|
export { Suggestion } from "./components/autosuggest/autosuggest.interfaces";
|
|
37
39
|
export { DsoCardClickedEvent, ImageShape } from "./components/card/card.interfaces";
|
|
38
40
|
export { CardContainerMode } from "./components/card-container/card-container.interfaces";
|
|
39
41
|
export { DsoDatePickerChangeEvent, DsoDatePickerDirection, DsoDatePickerFocusEvent, DsoDatePickerKeyboardEvent } from "./components/date-picker/date-picker.interfaces";
|
|
40
|
-
export {
|
|
41
|
-
export {
|
|
42
|
+
export { DocumentComponentOpenToggleEvent, DocumentComponentToggleAnnotationEvent, DocumentComponentWijzigactie } from "./components/document-component/document-component.types";
|
|
43
|
+
export { ExpandableAnimationEndEvent } from "./components/expandable/expandable";
|
|
42
44
|
export { HeaderEvent, HeaderMenuItem } from "./components/header/header.interfaces";
|
|
43
45
|
export { InfoButtonToggleEvent } from "./components/info-button/info-button.interfaces";
|
|
44
46
|
export { ListButtonChangeEvent, ListButtonSelectedEvent } from "./components/list-button/list-button.interfaces";
|
|
@@ -59,32 +61,13 @@ export namespace Components {
|
|
|
59
61
|
interface DsoAccordion {
|
|
60
62
|
"_getState": () => Promise<AccordionInternalState>;
|
|
61
63
|
/**
|
|
62
|
-
*
|
|
63
|
-
*/
|
|
64
|
-
"allowMultipleOpen": boolean;
|
|
65
|
-
/**
|
|
66
|
-
* Emitted when the animation of opening or closing ends.
|
|
67
|
-
*/
|
|
68
|
-
"animationEnd": (sectionElement: HTMLElement) => Promise<void>;
|
|
69
|
-
/**
|
|
70
|
-
* Closes all sections belonging to this accordion.
|
|
71
|
-
*/
|
|
72
|
-
"closeOpenSections": () => Promise<void>;
|
|
73
|
-
/**
|
|
74
|
-
* Places the chevron at the opposite side. Note: this mode does not display `state`, `attachmentCount` or `status` props on child `<dso-accordion-section>` elements
|
|
64
|
+
* Places the chevron at the opposite side. Note: this mode does not display `state`, `attachmentCount` or `status` props on Accordion Sections
|
|
75
65
|
*/
|
|
76
66
|
"reverseAlign": boolean;
|
|
77
|
-
/**
|
|
78
|
-
* Toggle a section. Pass the `<dso-accordion-section>` element or the index of the section.
|
|
79
|
-
* @param sectionElement The section element that needs to toggle
|
|
80
|
-
* @param event The event that the user triggered
|
|
81
|
-
* @returns The state of the section
|
|
82
|
-
*/
|
|
83
|
-
"toggleSection": (sectionElement: HTMLElement | number, event?: MouseEvent) => Promise<undefined | boolean>;
|
|
84
67
|
/**
|
|
85
68
|
* The variant of the Accordion.
|
|
86
69
|
*/
|
|
87
|
-
"variant"
|
|
70
|
+
"variant": AccordionVariant;
|
|
88
71
|
}
|
|
89
72
|
interface DsoAccordionSection {
|
|
90
73
|
/**
|
|
@@ -108,26 +91,17 @@ export namespace Components {
|
|
|
108
91
|
*/
|
|
109
92
|
"icon"?: string;
|
|
110
93
|
/**
|
|
111
|
-
*
|
|
94
|
+
* Set the Accordion Section open.
|
|
112
95
|
*/
|
|
113
96
|
"open": boolean;
|
|
114
|
-
/**
|
|
115
|
-
* Scroll this section into view when needed.
|
|
116
|
-
*/
|
|
117
|
-
"scrollSectionIntoView": () => Promise<void>;
|
|
118
97
|
/**
|
|
119
98
|
* `state` takes precedence over `attachmentCount` and `icon`
|
|
120
99
|
*/
|
|
121
|
-
"
|
|
100
|
+
"status"?: AccordionSectionState;
|
|
122
101
|
/**
|
|
123
102
|
* The status of the section.
|
|
124
103
|
*/
|
|
125
|
-
"
|
|
126
|
-
/**
|
|
127
|
-
* Toggle this section.
|
|
128
|
-
* @param scrollIntoView boolean - defaults to true
|
|
129
|
-
*/
|
|
130
|
-
"toggleSection": (scrollIntoView?: boolean) => Promise<void>;
|
|
104
|
+
"statusDescription"?: string;
|
|
131
105
|
}
|
|
132
106
|
interface DsoActionList {
|
|
133
107
|
/**
|
|
@@ -171,10 +145,13 @@ export namespace Components {
|
|
|
171
145
|
/**
|
|
172
146
|
* To link the Annotation Button with `aria-controls` to a different element, most likely an Annotation Output.
|
|
173
147
|
*/
|
|
174
|
-
"identifier": string;
|
|
148
|
+
"identifier": string | undefined;
|
|
149
|
+
/**
|
|
150
|
+
* Set to true when the annotation is open.
|
|
151
|
+
*/
|
|
152
|
+
"open": boolean;
|
|
175
153
|
}
|
|
176
154
|
interface DsoAnnotationOutput {
|
|
177
|
-
"_toggleAnnotation": (e: MouseEvent | KeyboardEvent, identifier: string) => Promise<void>;
|
|
178
155
|
/**
|
|
179
156
|
* This text will be displayed above the annotation-output when opened
|
|
180
157
|
*/
|
|
@@ -183,6 +160,10 @@ export namespace Components {
|
|
|
183
160
|
* The annotation-button that toggles this component should have the same identifier.
|
|
184
161
|
*/
|
|
185
162
|
"identifier": string;
|
|
163
|
+
/**
|
|
164
|
+
* Set to `true` to show content.
|
|
165
|
+
*/
|
|
166
|
+
"open": boolean;
|
|
186
167
|
}
|
|
187
168
|
interface DsoAttachmentsCounter {
|
|
188
169
|
/**
|
|
@@ -314,6 +295,76 @@ export namespace Components {
|
|
|
314
295
|
*/
|
|
315
296
|
"value": string;
|
|
316
297
|
}
|
|
298
|
+
interface DsoDocumentComponent {
|
|
299
|
+
/**
|
|
300
|
+
* An alternative title to show when there is nothing to create a title.
|
|
301
|
+
*/
|
|
302
|
+
"alternativeTitle"?: string;
|
|
303
|
+
/**
|
|
304
|
+
* Enables annotations.
|
|
305
|
+
*/
|
|
306
|
+
"annotated": boolean;
|
|
307
|
+
/**
|
|
308
|
+
* Marks as draft.
|
|
309
|
+
*/
|
|
310
|
+
"bevatOntwerpInformatie": boolean;
|
|
311
|
+
/**
|
|
312
|
+
* Marks this Document Component as belonging to an active filter.
|
|
313
|
+
*/
|
|
314
|
+
"filtered": boolean;
|
|
315
|
+
/**
|
|
316
|
+
* When a child Document Component has a status "Draft".
|
|
317
|
+
*/
|
|
318
|
+
"genesteOntwerpInformatie": boolean;
|
|
319
|
+
/**
|
|
320
|
+
* Marks Document Component as reserved.
|
|
321
|
+
*/
|
|
322
|
+
"gereserveerd": boolean;
|
|
323
|
+
/**
|
|
324
|
+
* The heading element to use.
|
|
325
|
+
*/
|
|
326
|
+
"heading": "h2" | "h3" | "h4" | "h5" | "h6";
|
|
327
|
+
/**
|
|
328
|
+
* The Inhoud XML.
|
|
329
|
+
*/
|
|
330
|
+
"inhoud"?: string;
|
|
331
|
+
/**
|
|
332
|
+
* The Label XML.
|
|
333
|
+
*/
|
|
334
|
+
"label"?: string;
|
|
335
|
+
/**
|
|
336
|
+
* Marks this Document Component as not-applicable.
|
|
337
|
+
*/
|
|
338
|
+
"notApplicable": boolean;
|
|
339
|
+
/**
|
|
340
|
+
* The Nummer XML.
|
|
341
|
+
*/
|
|
342
|
+
"nummer"?: string;
|
|
343
|
+
/**
|
|
344
|
+
* This boolean attribute indicates whether the children are visible.
|
|
345
|
+
*/
|
|
346
|
+
"open": boolean;
|
|
347
|
+
/**
|
|
348
|
+
* When the Annotation Output is opened, set this to true.
|
|
349
|
+
*/
|
|
350
|
+
"openAnnotation": boolean;
|
|
351
|
+
/**
|
|
352
|
+
* The Opschrift XML.
|
|
353
|
+
*/
|
|
354
|
+
"opschrift"?: string;
|
|
355
|
+
/**
|
|
356
|
+
* Type of Document Component.
|
|
357
|
+
*/
|
|
358
|
+
"type"?: string;
|
|
359
|
+
/**
|
|
360
|
+
* Marks the Document Component as expired.
|
|
361
|
+
*/
|
|
362
|
+
"vervallen": boolean;
|
|
363
|
+
/**
|
|
364
|
+
* The wijzigactie as in STOP.
|
|
365
|
+
*/
|
|
366
|
+
"wijzigactie"?: DocumentComponentWijzigactie;
|
|
367
|
+
}
|
|
317
368
|
interface DsoDropdownMenu {
|
|
318
369
|
/**
|
|
319
370
|
* Selector for the element the dropdown options should not be overflowing.
|
|
@@ -341,8 +392,6 @@ export namespace Components {
|
|
|
341
392
|
"strategy": "auto" | "absolute" | "fixed";
|
|
342
393
|
}
|
|
343
394
|
interface DsoExpandable {
|
|
344
|
-
"_getAnimeInstance": () => Promise<AnimeInstance | undefined>;
|
|
345
|
-
"_getBodyHeight": () => Promise<number | undefined>;
|
|
346
395
|
/**
|
|
347
396
|
* Set to `true` to show the content animated.
|
|
348
397
|
*/
|
|
@@ -356,28 +405,6 @@ export namespace Components {
|
|
|
356
405
|
*/
|
|
357
406
|
"open"?: boolean;
|
|
358
407
|
}
|
|
359
|
-
interface DsoExpandableHeading {
|
|
360
|
-
/**
|
|
361
|
-
* The color.
|
|
362
|
-
*/
|
|
363
|
-
"color": "default" | "black";
|
|
364
|
-
/**
|
|
365
|
-
* Whether this Expandable Heading has an edit action. Also known as "wijzigactie" in STOP.
|
|
366
|
-
*/
|
|
367
|
-
"editAction"?: EditAction;
|
|
368
|
-
/**
|
|
369
|
-
* Which heading element to use.
|
|
370
|
-
*/
|
|
371
|
-
"heading": HeadingTags;
|
|
372
|
-
/**
|
|
373
|
-
* To open the Expandable Heading.
|
|
374
|
-
*/
|
|
375
|
-
"open"?: boolean;
|
|
376
|
-
/**
|
|
377
|
-
* Marks this element as unavailable.
|
|
378
|
-
*/
|
|
379
|
-
"suppressed": boolean;
|
|
380
|
-
}
|
|
381
408
|
interface DsoHeader {
|
|
382
409
|
/**
|
|
383
410
|
* Used to show the login/logout option. 'none' renders nothing.
|
|
@@ -832,10 +859,16 @@ export namespace Components {
|
|
|
832
859
|
*/
|
|
833
860
|
"overlayOpen": boolean;
|
|
834
861
|
}
|
|
862
|
+
interface DsotDocumentComponentDemo {
|
|
863
|
+
}
|
|
835
864
|
}
|
|
836
|
-
export interface
|
|
865
|
+
export interface DsoAccordionSectionCustomEvent<T> extends CustomEvent<T> {
|
|
837
866
|
detail: T;
|
|
838
|
-
target:
|
|
867
|
+
target: HTMLDsoAccordionSectionElement;
|
|
868
|
+
}
|
|
869
|
+
export interface DsoAnnotationButtonCustomEvent<T> extends CustomEvent<T> {
|
|
870
|
+
detail: T;
|
|
871
|
+
target: HTMLDsoAnnotationButtonElement;
|
|
839
872
|
}
|
|
840
873
|
export interface DsoAnnotationOutputCustomEvent<T> extends CustomEvent<T> {
|
|
841
874
|
detail: T;
|
|
@@ -853,13 +886,13 @@ export interface DsoDatePickerCustomEvent<T> extends CustomEvent<T> {
|
|
|
853
886
|
detail: T;
|
|
854
887
|
target: HTMLDsoDatePickerElement;
|
|
855
888
|
}
|
|
856
|
-
export interface
|
|
889
|
+
export interface DsoDocumentComponentCustomEvent<T> extends CustomEvent<T> {
|
|
857
890
|
detail: T;
|
|
858
|
-
target:
|
|
891
|
+
target: HTMLDsoDocumentComponentElement;
|
|
859
892
|
}
|
|
860
|
-
export interface
|
|
893
|
+
export interface DsoExpandableCustomEvent<T> extends CustomEvent<T> {
|
|
861
894
|
detail: T;
|
|
862
|
-
target:
|
|
895
|
+
target: HTMLDsoExpandableElement;
|
|
863
896
|
}
|
|
864
897
|
export interface DsoHeaderCustomEvent<T> extends CustomEvent<T> {
|
|
865
898
|
detail: T;
|
|
@@ -1014,6 +1047,12 @@ declare global {
|
|
|
1014
1047
|
prototype: HTMLDsoDatePickerElement;
|
|
1015
1048
|
new (): HTMLDsoDatePickerElement;
|
|
1016
1049
|
};
|
|
1050
|
+
interface HTMLDsoDocumentComponentElement extends Components.DsoDocumentComponent, HTMLStencilElement {
|
|
1051
|
+
}
|
|
1052
|
+
var HTMLDsoDocumentComponentElement: {
|
|
1053
|
+
prototype: HTMLDsoDocumentComponentElement;
|
|
1054
|
+
new (): HTMLDsoDocumentComponentElement;
|
|
1055
|
+
};
|
|
1017
1056
|
interface HTMLDsoDropdownMenuElement extends Components.DsoDropdownMenu, HTMLStencilElement {
|
|
1018
1057
|
}
|
|
1019
1058
|
var HTMLDsoDropdownMenuElement: {
|
|
@@ -1026,12 +1065,6 @@ declare global {
|
|
|
1026
1065
|
prototype: HTMLDsoExpandableElement;
|
|
1027
1066
|
new (): HTMLDsoExpandableElement;
|
|
1028
1067
|
};
|
|
1029
|
-
interface HTMLDsoExpandableHeadingElement extends Components.DsoExpandableHeading, HTMLStencilElement {
|
|
1030
|
-
}
|
|
1031
|
-
var HTMLDsoExpandableHeadingElement: {
|
|
1032
|
-
prototype: HTMLDsoExpandableHeadingElement;
|
|
1033
|
-
new (): HTMLDsoExpandableHeadingElement;
|
|
1034
|
-
};
|
|
1035
1068
|
interface HTMLDsoHeaderElement extends Components.DsoHeader, HTMLStencilElement {
|
|
1036
1069
|
}
|
|
1037
1070
|
var HTMLDsoHeaderElement: {
|
|
@@ -1188,6 +1221,12 @@ declare global {
|
|
|
1188
1221
|
prototype: HTMLDsoViewerGridElement;
|
|
1189
1222
|
new (): HTMLDsoViewerGridElement;
|
|
1190
1223
|
};
|
|
1224
|
+
interface HTMLDsotDocumentComponentDemoElement extends Components.DsotDocumentComponentDemo, HTMLStencilElement {
|
|
1225
|
+
}
|
|
1226
|
+
var HTMLDsotDocumentComponentDemoElement: {
|
|
1227
|
+
prototype: HTMLDsotDocumentComponentDemoElement;
|
|
1228
|
+
new (): HTMLDsotDocumentComponentDemoElement;
|
|
1229
|
+
};
|
|
1191
1230
|
interface HTMLElementTagNameMap {
|
|
1192
1231
|
"dso-accordion": HTMLDsoAccordionElement;
|
|
1193
1232
|
"dso-accordion-section": HTMLDsoAccordionSectionElement;
|
|
@@ -1203,9 +1242,9 @@ declare global {
|
|
|
1203
1242
|
"dso-card": HTMLDsoCardElement;
|
|
1204
1243
|
"dso-card-container": HTMLDsoCardContainerElement;
|
|
1205
1244
|
"dso-date-picker": HTMLDsoDatePickerElement;
|
|
1245
|
+
"dso-document-component": HTMLDsoDocumentComponentElement;
|
|
1206
1246
|
"dso-dropdown-menu": HTMLDsoDropdownMenuElement;
|
|
1207
1247
|
"dso-expandable": HTMLDsoExpandableElement;
|
|
1208
|
-
"dso-expandable-heading": HTMLDsoExpandableHeadingElement;
|
|
1209
1248
|
"dso-header": HTMLDsoHeaderElement;
|
|
1210
1249
|
"dso-helpcenter-panel": HTMLDsoHelpcenterPanelElement;
|
|
1211
1250
|
"dso-highlight-box": HTMLDsoHighlightBoxElement;
|
|
@@ -1232,24 +1271,13 @@ declare global {
|
|
|
1232
1271
|
"dso-tooltip": HTMLDsoTooltipElement;
|
|
1233
1272
|
"dso-tree-view": HTMLDsoTreeViewElement;
|
|
1234
1273
|
"dso-viewer-grid": HTMLDsoViewerGridElement;
|
|
1274
|
+
"dsot-document-component-demo": HTMLDsotDocumentComponentDemoElement;
|
|
1235
1275
|
}
|
|
1236
1276
|
}
|
|
1237
1277
|
declare namespace LocalJSX {
|
|
1238
1278
|
interface DsoAccordion {
|
|
1239
1279
|
/**
|
|
1240
|
-
*
|
|
1241
|
-
*/
|
|
1242
|
-
"allowMultipleOpen"?: boolean;
|
|
1243
|
-
/**
|
|
1244
|
-
* Emitted when a section is toggled. `event.detail.originalEvent` contains the original `MouseEvent` when the section is toggled by clicking on the header `event.detail.section` contains the toggled section and its new opened value.\ `event.detail.sections` contains all `<dso-accordion-section>` elements belonging to this accordion.
|
|
1245
|
-
*/
|
|
1246
|
-
"onDsoToggleSection"?: (event: DsoAccordionCustomEvent<AccordionSectionToggleEvent>) => void;
|
|
1247
|
-
/**
|
|
1248
|
-
* Event emitted when the accordion section completes its toggle animation.
|
|
1249
|
-
*/
|
|
1250
|
-
"onDsoToggleSectionAnimationEnd"?: (event: DsoAccordionCustomEvent<AccordionSectionToggleAnimationEndEvent>) => void;
|
|
1251
|
-
/**
|
|
1252
|
-
* Places the chevron at the opposite side. Note: this mode does not display `state`, `attachmentCount` or `status` props on child `<dso-accordion-section>` elements
|
|
1280
|
+
* Places the chevron at the opposite side. Note: this mode does not display `state`, `attachmentCount` or `status` props on Accordion Sections
|
|
1253
1281
|
*/
|
|
1254
1282
|
"reverseAlign"?: boolean;
|
|
1255
1283
|
/**
|
|
@@ -1279,17 +1307,25 @@ declare namespace LocalJSX {
|
|
|
1279
1307
|
*/
|
|
1280
1308
|
"icon"?: string;
|
|
1281
1309
|
/**
|
|
1282
|
-
*
|
|
1310
|
+
* Event emitted when the Accordion Section completes its toggle animation.
|
|
1311
|
+
*/
|
|
1312
|
+
"onDsoAnimationEnd"?: (event: DsoAccordionSectionCustomEvent<AccordionSectionAnimationEndEvent>) => void;
|
|
1313
|
+
/**
|
|
1314
|
+
* Emitted when the user activates the toggle button.
|
|
1315
|
+
*/
|
|
1316
|
+
"onDsoToggleClick"?: (event: DsoAccordionSectionCustomEvent<AccordionSectionToggleClickEvent>) => void;
|
|
1317
|
+
/**
|
|
1318
|
+
* Set the Accordion Section open.
|
|
1283
1319
|
*/
|
|
1284
1320
|
"open"?: boolean;
|
|
1285
1321
|
/**
|
|
1286
1322
|
* `state` takes precedence over `attachmentCount` and `icon`
|
|
1287
1323
|
*/
|
|
1288
|
-
"
|
|
1324
|
+
"status"?: AccordionSectionState;
|
|
1289
1325
|
/**
|
|
1290
1326
|
* The status of the section.
|
|
1291
1327
|
*/
|
|
1292
|
-
"
|
|
1328
|
+
"statusDescription"?: string;
|
|
1293
1329
|
}
|
|
1294
1330
|
interface DsoActionList {
|
|
1295
1331
|
/**
|
|
@@ -1333,7 +1369,15 @@ declare namespace LocalJSX {
|
|
|
1333
1369
|
/**
|
|
1334
1370
|
* To link the Annotation Button with `aria-controls` to a different element, most likely an Annotation Output.
|
|
1335
1371
|
*/
|
|
1336
|
-
"identifier": string;
|
|
1372
|
+
"identifier": string | undefined;
|
|
1373
|
+
/**
|
|
1374
|
+
* Emitted when user activates the button.
|
|
1375
|
+
*/
|
|
1376
|
+
"onDsoClick"?: (event: DsoAnnotationButtonCustomEvent<AnnotationButtonClickEvent>) => void;
|
|
1377
|
+
/**
|
|
1378
|
+
* Set to true when the annotation is open.
|
|
1379
|
+
*/
|
|
1380
|
+
"open"?: boolean;
|
|
1337
1381
|
}
|
|
1338
1382
|
interface DsoAnnotationOutput {
|
|
1339
1383
|
/**
|
|
@@ -1347,7 +1391,11 @@ declare namespace LocalJSX {
|
|
|
1347
1391
|
/**
|
|
1348
1392
|
* This event is emitted when the user activates the Annotation Button.
|
|
1349
1393
|
*/
|
|
1350
|
-
"
|
|
1394
|
+
"onDsoClose"?: (event: DsoAnnotationOutputCustomEvent<AnnotationOutputCloseEvent>) => void;
|
|
1395
|
+
/**
|
|
1396
|
+
* Set to `true` to show content.
|
|
1397
|
+
*/
|
|
1398
|
+
"open"?: boolean;
|
|
1351
1399
|
}
|
|
1352
1400
|
interface DsoAttachmentsCounter {
|
|
1353
1401
|
/**
|
|
@@ -1503,6 +1551,84 @@ declare namespace LocalJSX {
|
|
|
1503
1551
|
*/
|
|
1504
1552
|
"value"?: string;
|
|
1505
1553
|
}
|
|
1554
|
+
interface DsoDocumentComponent {
|
|
1555
|
+
/**
|
|
1556
|
+
* An alternative title to show when there is nothing to create a title.
|
|
1557
|
+
*/
|
|
1558
|
+
"alternativeTitle"?: string;
|
|
1559
|
+
/**
|
|
1560
|
+
* Enables annotations.
|
|
1561
|
+
*/
|
|
1562
|
+
"annotated"?: boolean;
|
|
1563
|
+
/**
|
|
1564
|
+
* Marks as draft.
|
|
1565
|
+
*/
|
|
1566
|
+
"bevatOntwerpInformatie"?: boolean;
|
|
1567
|
+
/**
|
|
1568
|
+
* Marks this Document Component as belonging to an active filter.
|
|
1569
|
+
*/
|
|
1570
|
+
"filtered"?: boolean;
|
|
1571
|
+
/**
|
|
1572
|
+
* When a child Document Component has a status "Draft".
|
|
1573
|
+
*/
|
|
1574
|
+
"genesteOntwerpInformatie"?: boolean;
|
|
1575
|
+
/**
|
|
1576
|
+
* Marks Document Component as reserved.
|
|
1577
|
+
*/
|
|
1578
|
+
"gereserveerd"?: boolean;
|
|
1579
|
+
/**
|
|
1580
|
+
* The heading element to use.
|
|
1581
|
+
*/
|
|
1582
|
+
"heading"?: "h2" | "h3" | "h4" | "h5" | "h6";
|
|
1583
|
+
/**
|
|
1584
|
+
* The Inhoud XML.
|
|
1585
|
+
*/
|
|
1586
|
+
"inhoud"?: string;
|
|
1587
|
+
/**
|
|
1588
|
+
* The Label XML.
|
|
1589
|
+
*/
|
|
1590
|
+
"label"?: string;
|
|
1591
|
+
/**
|
|
1592
|
+
* Marks this Document Component as not-applicable.
|
|
1593
|
+
*/
|
|
1594
|
+
"notApplicable"?: boolean;
|
|
1595
|
+
/**
|
|
1596
|
+
* The Nummer XML.
|
|
1597
|
+
*/
|
|
1598
|
+
"nummer"?: string;
|
|
1599
|
+
/**
|
|
1600
|
+
* Emitted when the user activates the annotation button.
|
|
1601
|
+
*/
|
|
1602
|
+
"onDsoAnnotationToggle"?: (event: DsoDocumentComponentCustomEvent<DocumentComponentToggleAnnotationEvent>) => void;
|
|
1603
|
+
/**
|
|
1604
|
+
* Emitted when the user activates the toggle.
|
|
1605
|
+
*/
|
|
1606
|
+
"onDsoOpenToggle"?: (event: DsoDocumentComponentCustomEvent<DocumentComponentOpenToggleEvent>) => void;
|
|
1607
|
+
/**
|
|
1608
|
+
* This boolean attribute indicates whether the children are visible.
|
|
1609
|
+
*/
|
|
1610
|
+
"open"?: boolean;
|
|
1611
|
+
/**
|
|
1612
|
+
* When the Annotation Output is opened, set this to true.
|
|
1613
|
+
*/
|
|
1614
|
+
"openAnnotation"?: boolean;
|
|
1615
|
+
/**
|
|
1616
|
+
* The Opschrift XML.
|
|
1617
|
+
*/
|
|
1618
|
+
"opschrift"?: string;
|
|
1619
|
+
/**
|
|
1620
|
+
* Type of Document Component.
|
|
1621
|
+
*/
|
|
1622
|
+
"type"?: string;
|
|
1623
|
+
/**
|
|
1624
|
+
* Marks the Document Component as expired.
|
|
1625
|
+
*/
|
|
1626
|
+
"vervallen"?: boolean;
|
|
1627
|
+
/**
|
|
1628
|
+
* The wijzigactie as in STOP.
|
|
1629
|
+
*/
|
|
1630
|
+
"wijzigactie"?: DocumentComponentWijzigactie;
|
|
1631
|
+
}
|
|
1506
1632
|
interface DsoDropdownMenu {
|
|
1507
1633
|
/**
|
|
1508
1634
|
* Selector for the element the dropdown options should not be overflowing.
|
|
@@ -1539,35 +1665,13 @@ declare namespace LocalJSX {
|
|
|
1539
1665
|
*/
|
|
1540
1666
|
"minimumHeight"?: number;
|
|
1541
1667
|
/**
|
|
1542
|
-
*
|
|
1543
|
-
*/
|
|
1544
|
-
"open"?: boolean;
|
|
1545
|
-
}
|
|
1546
|
-
interface DsoExpandableHeading {
|
|
1547
|
-
/**
|
|
1548
|
-
* The color.
|
|
1549
|
-
*/
|
|
1550
|
-
"color"?: "default" | "black";
|
|
1551
|
-
/**
|
|
1552
|
-
* Whether this Expandable Heading has an edit action. Also known as "wijzigactie" in STOP.
|
|
1668
|
+
* Fired when the animation ends. Only when `enableAnimation = true`.
|
|
1553
1669
|
*/
|
|
1554
|
-
"
|
|
1670
|
+
"onDsoExpandableAnimationEnd"?: (event: DsoExpandableCustomEvent<ExpandableAnimationEndEvent>) => void;
|
|
1555
1671
|
/**
|
|
1556
|
-
*
|
|
1557
|
-
*/
|
|
1558
|
-
"heading"?: HeadingTags;
|
|
1559
|
-
/**
|
|
1560
|
-
* Emitted when the user activates the toggle button.
|
|
1561
|
-
*/
|
|
1562
|
-
"onDsoToggle"?: (event: DsoExpandableHeadingCustomEvent<ExpandableHeadingToggleEvent>) => void;
|
|
1563
|
-
/**
|
|
1564
|
-
* To open the Expandable Heading.
|
|
1672
|
+
* Set to `true` to expand the content.
|
|
1565
1673
|
*/
|
|
1566
1674
|
"open"?: boolean;
|
|
1567
|
-
/**
|
|
1568
|
-
* Marks this element as unavailable.
|
|
1569
|
-
*/
|
|
1570
|
-
"suppressed"?: boolean;
|
|
1571
1675
|
}
|
|
1572
1676
|
interface DsoHeader {
|
|
1573
1677
|
/**
|
|
@@ -2093,6 +2197,8 @@ declare namespace LocalJSX {
|
|
|
2093
2197
|
*/
|
|
2094
2198
|
"overlayOpen"?: boolean;
|
|
2095
2199
|
}
|
|
2200
|
+
interface DsotDocumentComponentDemo {
|
|
2201
|
+
}
|
|
2096
2202
|
interface IntrinsicElements {
|
|
2097
2203
|
"dso-accordion": DsoAccordion;
|
|
2098
2204
|
"dso-accordion-section": DsoAccordionSection;
|
|
@@ -2108,9 +2214,9 @@ declare namespace LocalJSX {
|
|
|
2108
2214
|
"dso-card": DsoCard;
|
|
2109
2215
|
"dso-card-container": DsoCardContainer;
|
|
2110
2216
|
"dso-date-picker": DsoDatePicker;
|
|
2217
|
+
"dso-document-component": DsoDocumentComponent;
|
|
2111
2218
|
"dso-dropdown-menu": DsoDropdownMenu;
|
|
2112
2219
|
"dso-expandable": DsoExpandable;
|
|
2113
|
-
"dso-expandable-heading": DsoExpandableHeading;
|
|
2114
2220
|
"dso-header": DsoHeader;
|
|
2115
2221
|
"dso-helpcenter-panel": DsoHelpcenterPanel;
|
|
2116
2222
|
"dso-highlight-box": DsoHighlightBox;
|
|
@@ -2137,6 +2243,7 @@ declare namespace LocalJSX {
|
|
|
2137
2243
|
"dso-tooltip": DsoTooltip;
|
|
2138
2244
|
"dso-tree-view": DsoTreeView;
|
|
2139
2245
|
"dso-viewer-grid": DsoViewerGrid;
|
|
2246
|
+
"dsot-document-component-demo": DsotDocumentComponentDemo;
|
|
2140
2247
|
}
|
|
2141
2248
|
}
|
|
2142
2249
|
export { LocalJSX as JSX };
|
|
@@ -2157,9 +2264,9 @@ declare module "@stencil/core" {
|
|
|
2157
2264
|
"dso-card": LocalJSX.DsoCard & JSXBase.HTMLAttributes<HTMLDsoCardElement>;
|
|
2158
2265
|
"dso-card-container": LocalJSX.DsoCardContainer & JSXBase.HTMLAttributes<HTMLDsoCardContainerElement>;
|
|
2159
2266
|
"dso-date-picker": LocalJSX.DsoDatePicker & JSXBase.HTMLAttributes<HTMLDsoDatePickerElement>;
|
|
2267
|
+
"dso-document-component": LocalJSX.DsoDocumentComponent & JSXBase.HTMLAttributes<HTMLDsoDocumentComponentElement>;
|
|
2160
2268
|
"dso-dropdown-menu": LocalJSX.DsoDropdownMenu & JSXBase.HTMLAttributes<HTMLDsoDropdownMenuElement>;
|
|
2161
2269
|
"dso-expandable": LocalJSX.DsoExpandable & JSXBase.HTMLAttributes<HTMLDsoExpandableElement>;
|
|
2162
|
-
"dso-expandable-heading": LocalJSX.DsoExpandableHeading & JSXBase.HTMLAttributes<HTMLDsoExpandableHeadingElement>;
|
|
2163
2270
|
"dso-header": LocalJSX.DsoHeader & JSXBase.HTMLAttributes<HTMLDsoHeaderElement>;
|
|
2164
2271
|
"dso-helpcenter-panel": LocalJSX.DsoHelpcenterPanel & JSXBase.HTMLAttributes<HTMLDsoHelpcenterPanelElement>;
|
|
2165
2272
|
"dso-highlight-box": LocalJSX.DsoHighlightBox & JSXBase.HTMLAttributes<HTMLDsoHighlightBoxElement>;
|
|
@@ -2186,6 +2293,7 @@ declare module "@stencil/core" {
|
|
|
2186
2293
|
"dso-tooltip": LocalJSX.DsoTooltip & JSXBase.HTMLAttributes<HTMLDsoTooltipElement>;
|
|
2187
2294
|
"dso-tree-view": LocalJSX.DsoTreeView & JSXBase.HTMLAttributes<HTMLDsoTreeViewElement>;
|
|
2188
2295
|
"dso-viewer-grid": LocalJSX.DsoViewerGrid & JSXBase.HTMLAttributes<HTMLDsoViewerGridElement>;
|
|
2296
|
+
"dsot-document-component-demo": LocalJSX.DsotDocumentComponentDemo & JSXBase.HTMLAttributes<HTMLDsotDocumentComponentDemoElement>;
|
|
2189
2297
|
}
|
|
2190
2298
|
}
|
|
2191
2299
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dso-toolkit/core",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "56.0.0",
|
|
4
4
|
"description": "DSO Toolkit Web Components",
|
|
5
5
|
"main": "dist/index.cjs.js",
|
|
6
6
|
"module": "dist/components/index.js",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"@types/animejs": "^3.1.7",
|
|
26
26
|
"animejs": "3.2.1",
|
|
27
27
|
"clsx": "^1.2.1",
|
|
28
|
-
"dso-toolkit": "^
|
|
28
|
+
"dso-toolkit": "^56.0.0",
|
|
29
29
|
"escape-string-regexp": "^5.0.0",
|
|
30
30
|
"focus-trap": "^7.4.3",
|
|
31
31
|
"popper-max-size-modifier": "^0.2.0",
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
const index = require('./index-a189d603.js');
|
|
4
|
-
|
|
5
|
-
class AnnotationService {
|
|
6
|
-
static get state() {
|
|
7
|
-
if (!this._state) {
|
|
8
|
-
AnnotationService.initializeStore();
|
|
9
|
-
}
|
|
10
|
-
return this._state;
|
|
11
|
-
}
|
|
12
|
-
static toggle(id) {
|
|
13
|
-
this._state[id] = !this._state[id];
|
|
14
|
-
}
|
|
15
|
-
static initializeStore() {
|
|
16
|
-
const { state } = index.createStore({});
|
|
17
|
-
AnnotationService._state = state;
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
exports.AnnotationService = AnnotationService;
|
|
22
|
-
|
|
23
|
-
//# sourceMappingURL=annotation.service-60e6b0f1.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"file":"annotation.service-60e6b0f1.js","mappings":";;;;MAMsB,iBAAiB;EAGrC,WAAW,KAAK;IACd,IAAI,CAAC,IAAI,CAAC,MAAM,EAAE;MAChB,iBAAiB,CAAC,eAAe,EAAE,CAAC;KACrC;IAED,OAAO,IAAI,CAAC,MAAM,CAAC;GACpB;EAED,OAAO,MAAM,CAAC,EAAU;IACtB,IAAI,CAAC,MAAM,CAAC,EAAE,CAAC,GAAG,CAAC,IAAI,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;GACpC;EAEO,OAAO,eAAe;IAC5B,MAAM,EAAE,KAAK,EAAE,GAAGA,iBAAW,CAAkB,EAAE,CAAC,CAAC;IAEnD,iBAAiB,CAAC,MAAM,GAAG,KAAK,CAAC;GAClC;;;;;","names":["createStore"],"sources":["./src/services/annotation.service.ts"],"sourcesContent":["import { createStore } from \"@stencil/store\";\r\n\r\ninterface AnnotationState {\r\n [key: string]: boolean;\r\n}\r\n\r\nexport abstract class AnnotationService {\r\n private static _state: AnnotationState;\r\n\r\n static get state(): AnnotationState {\r\n if (!this._state) {\r\n AnnotationService.initializeStore();\r\n }\r\n\r\n return this._state;\r\n }\r\n\r\n static toggle(id: string): void {\r\n this._state[id] = !this._state[id];\r\n }\r\n\r\n private static initializeStore(): void {\r\n const { state } = createStore<AnnotationState>({});\r\n\r\n AnnotationService._state = state;\r\n }\r\n}\r\n"],"version":3}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
const index = require('./index-efc2222e.js');
|
|
6
|
-
const clsx_m = require('./clsx.m-b81c6b86.js');
|
|
7
|
-
|
|
8
|
-
const alertCss = ":host{display:block}:host(:not(:first-child)){margin-top:24px}*,*::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}.alert{border:1px solid transparent;line-height:1.5;margin-bottom:24px;min-height:64px;position:relative}@media screen and (min-width: 481px){.alert{padding:19px 16px 19px 63px}}@media screen and (max-width: 480px){.alert{padding:63px 16px 16px}}.alert:not(:first-child){margin-top:24px}.alert.alert-success{color:#000;background-color:#e4f1d4;border-color:#e4f1d4}.alert.alert-error{color:#000;background-color:#f5d8dc;border-color:#f5d8dc}.alert.alert-warning{color:#000;background-color:#f8f6cc;border-color:#f8f6cc}.alert.alert-info{color:#000;background-color:#e1ecf7;border-color:#e1ecf7}.alert dso-icon{left:15px;position:absolute;top:15px;height:32px;width:32px}";
|
|
9
|
-
|
|
10
|
-
const Alert = class {
|
|
11
|
-
constructor(hostRef) {
|
|
12
|
-
index.registerInstance(this, hostRef);
|
|
13
|
-
this.status = undefined;
|
|
14
|
-
this.roleAlert = undefined;
|
|
15
|
-
}
|
|
16
|
-
render() {
|
|
17
|
-
const status = Alert.statusMap.get(this.status);
|
|
18
|
-
if (!status) {
|
|
19
|
-
throw new Error(`Invalid status ${this.status}`);
|
|
20
|
-
}
|
|
21
|
-
return (index.h("div", { class: clsx_m.clsx("alert", `alert-${this.status}`), role: this.roleAlert ? "alert" : undefined }, index.h("dso-icon", { icon: "status-" + this.status }), index.h("span", { class: "sr-only" }, status, ":"), index.h("slot", null)));
|
|
22
|
-
}
|
|
23
|
-
};
|
|
24
|
-
Alert.statusMap = new Map([
|
|
25
|
-
["success", "Gelukt"],
|
|
26
|
-
["info", "Opmerking"],
|
|
27
|
-
["warning", "Waarschuwing"],
|
|
28
|
-
["error", "Fout"],
|
|
29
|
-
]);
|
|
30
|
-
Alert.style = alertCss;
|
|
31
|
-
|
|
32
|
-
exports.dso_alert = Alert;
|
|
33
|
-
|
|
34
|
-
//# sourceMappingURL=dso-alert.cjs.entry.js.map
|