@dso-toolkit/core 45.0.1 → 45.1.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 +110 -0
- package/dist/cjs/dso-accordion.cjs.entry.js +297 -0
- package/dist/cjs/dso-alert.cjs.entry.js +3 -3
- package/dist/cjs/dso-attachments-counter.cjs.entry.js +3 -3
- package/dist/cjs/dso-autosuggest.cjs.entry.js +1 -1
- package/dist/cjs/dso-badge.cjs.entry.js +1 -1
- package/dist/cjs/dso-banner.cjs.entry.js +2 -2
- package/dist/cjs/dso-date-picker.cjs.entry.js +1 -1
- package/dist/cjs/dso-dropdown-menu.cjs.entry.js +3 -3
- package/dist/cjs/dso-header.cjs.entry.js +6 -6
- package/dist/cjs/dso-helpcenter-panel.cjs.entry.js +59 -3
- package/dist/cjs/dso-highlight-box.cjs.entry.js +2 -2
- package/dist/cjs/dso-icon.cjs.entry.js +2 -2
- package/dist/cjs/dso-image-overlay.cjs.entry.js +11 -5
- package/dist/cjs/dso-info-button.cjs.entry.js +4 -3
- package/dist/cjs/dso-info_2.cjs.entry.js +3 -3
- package/dist/cjs/dso-label.cjs.entry.js +1 -1
- package/dist/cjs/dso-map-base-layers.cjs.entry.js +1 -1
- package/dist/cjs/dso-map-controls.cjs.entry.js +2 -2
- package/dist/cjs/dso-map-overlays.cjs.entry.js +1 -1
- package/dist/cjs/dso-ozon-content.cjs.entry.js +44 -9
- package/dist/cjs/dso-pagination.cjs.entry.js +98 -6
- package/dist/cjs/dso-progress-bar.cjs.entry.js +1 -1
- package/dist/cjs/dso-progress-indicator.cjs.entry.js +1 -1
- package/dist/cjs/dso-responsive-element.cjs.entry.js +6 -1
- package/dist/cjs/dso-toggletip.cjs.entry.js +2 -2
- package/dist/cjs/dso-toolkit.cjs.js +2 -2
- package/dist/cjs/dso-tooltip.cjs.entry.js +1 -1
- package/dist/cjs/dso-tree-view.cjs.entry.js +1 -1
- package/dist/cjs/dso-viewer-grid.cjs.entry.js +11 -5
- package/dist/cjs/{focus-trap.esm-a85643b0.js → focus-trap.esm-e2addb10.js} +28 -11
- package/dist/cjs/{index-0a7c679a.js → index-4066351a.js} +7 -0
- package/dist/cjs/{index.esm-3520a2a6.js → index.esm-50325ea2.js} +110 -12
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/collection/collection-manifest.json +2 -0
- package/dist/collection/components/accordion/accordion.css +9 -0
- package/dist/collection/components/accordion/accordion.interfaces.js +1 -0
- package/dist/collection/components/accordion/accordion.js +260 -0
- package/dist/collection/components/accordion/accordion.template.js +26 -0
- package/dist/collection/components/accordion/components/accordion-section.css +221 -0
- package/dist/collection/components/accordion/components/accordion-section.js +292 -0
- package/dist/collection/components/alert/alert.css +4 -41
- package/dist/collection/components/alert/alert.js +1 -0
- package/dist/collection/components/attachments-counter/attachments-counter.css +0 -12
- package/dist/collection/components/attachments-counter/attachments-counter.js +2 -1
- package/dist/collection/components/banner/banner.css +0 -4
- package/dist/collection/components/dropdown-menu/dropdown-menu.css +0 -7
- package/dist/collection/components/header/header.css +20 -379
- package/dist/collection/components/header/header.js +22 -24
- package/dist/collection/components/helpcenter-panel/helpcenter-panel.css +3 -102
- package/dist/collection/components/helpcenter-panel/helpcenter-panel.js +71 -5
- package/dist/collection/components/highlight-box/highlight-box.css +0 -2
- package/dist/collection/components/image-overlay/image-overlay.css +37 -1134
- package/dist/collection/components/image-overlay/image-overlay.js +13 -3
- package/dist/collection/components/image-overlay/image-overlay.template.js +9 -1
- package/dist/collection/components/info/info.css +19 -1070
- package/dist/collection/components/info/info.js +1 -0
- package/dist/collection/components/info-button/info-button.css +8 -17
- package/dist/collection/components/info-button/info-button.js +9 -3
- package/dist/collection/components/map-controls/map-controls.css +20 -1172
- package/dist/collection/components/ozon-content/nodes/figuur.node.js +41 -6
- package/dist/collection/components/ozon-content/ozon-content.css +22 -41
- package/dist/collection/components/pagination/pagination.css +1 -0
- package/dist/collection/components/pagination/pagination.js +121 -13
- package/dist/collection/components/responsive-element/responsive-element.interfaces.js +1 -0
- package/dist/collection/components/responsive-element/responsive-element.js +48 -1
- package/dist/collection/components/responsive-element/responsive-element.template.js +4 -2
- package/dist/collection/components/toggletip/toggletip.css +4 -0
- package/dist/collection/components/viewer-grid/viewer-grid.css +34 -1220
- package/dist/collection/components/viewer-grid/viewer-grid.js +12 -1
- package/dist/custom-elements/index.d.ts +12 -0
- package/dist/custom-elements/index.js +1933 -1219
- package/dist/dso-toolkit/dso-toolkit.esm.js +1 -1
- package/dist/dso-toolkit/p-02b2e01c.entry.js +1 -0
- package/dist/dso-toolkit/{p-d780f9ff.entry.js → p-05a9e206.entry.js} +1 -1
- package/dist/dso-toolkit/p-22c35db5.js +5 -0
- package/dist/dso-toolkit/{p-361528b4.entry.js → p-2e74485e.entry.js} +1 -1
- package/dist/dso-toolkit/p-2f6b1092.entry.js +1 -0
- package/dist/dso-toolkit/{p-bf4d6f63.entry.js → p-3381c859.entry.js} +1 -1
- package/dist/dso-toolkit/{p-3799366e.entry.js → p-37a34037.entry.js} +1 -1
- package/dist/dso-toolkit/p-42450cfe.js +1 -0
- package/dist/dso-toolkit/p-4c44d27c.entry.js +1 -0
- package/dist/dso-toolkit/{p-91b6a181.entry.js → p-4fd140e9.entry.js} +1 -1
- package/dist/dso-toolkit/p-53c7bf4f.entry.js +1 -0
- package/dist/dso-toolkit/{p-d60876c2.entry.js → p-67b11174.entry.js} +1 -1
- package/dist/dso-toolkit/{p-e4bcafc4.entry.js → p-6cac0292.entry.js} +1 -1
- package/dist/dso-toolkit/p-7213783b.entry.js +1 -0
- package/dist/dso-toolkit/p-73bbb9a6.entry.js +1 -0
- package/dist/dso-toolkit/{p-16635f4b.entry.js → p-8515d157.entry.js} +1 -1
- package/dist/dso-toolkit/{p-375a2523.entry.js → p-93b53eb7.entry.js} +1 -1
- package/dist/dso-toolkit/p-ac0c0eee.entry.js +1 -0
- package/dist/dso-toolkit/p-b1a75b67.entry.js +1 -0
- package/dist/dso-toolkit/p-b6afe104.entry.js +1 -0
- package/dist/dso-toolkit/{p-590cbab6.entry.js → p-b9531adb.entry.js} +1 -1
- package/dist/dso-toolkit/p-c339891f.entry.js +1 -0
- package/dist/dso-toolkit/{p-6bc71e48.entry.js → p-d2255268.entry.js} +1 -1
- package/dist/dso-toolkit/p-d6192ab8.entry.js +1 -0
- package/dist/dso-toolkit/p-de50f5f1.entry.js +1 -0
- package/dist/dso-toolkit/p-e16b5d71.entry.js +1 -0
- package/dist/dso-toolkit/p-e2e2106e.entry.js +1 -0
- package/dist/dso-toolkit/p-ea1d4c81.entry.js +1 -0
- package/dist/dso-toolkit/{p-25f8dbc6.entry.js → p-ec3b8800.entry.js} +1 -1
- package/dist/dso-toolkit/p-efd815dc.entry.js +1 -0
- package/dist/dso-toolkit/p-f42d8240.entry.js +1 -0
- package/dist/dso-toolkit/p-f8b023c4.js +5 -0
- package/dist/esm/dso-accordion-section.entry.js +106 -0
- package/dist/esm/dso-accordion.entry.js +293 -0
- package/dist/esm/dso-alert.entry.js +3 -3
- package/dist/esm/dso-attachments-counter.entry.js +3 -3
- package/dist/esm/dso-autosuggest.entry.js +1 -1
- package/dist/esm/dso-badge.entry.js +1 -1
- package/dist/esm/dso-banner.entry.js +2 -2
- package/dist/esm/dso-date-picker.entry.js +1 -1
- package/dist/esm/dso-dropdown-menu.entry.js +3 -3
- package/dist/esm/dso-header.entry.js +6 -6
- package/dist/esm/dso-helpcenter-panel.entry.js +59 -3
- package/dist/esm/dso-highlight-box.entry.js +2 -2
- package/dist/esm/dso-icon.entry.js +2 -2
- package/dist/esm/dso-image-overlay.entry.js +11 -5
- package/dist/esm/dso-info-button.entry.js +4 -3
- package/dist/esm/dso-info_2.entry.js +3 -3
- package/dist/esm/dso-label.entry.js +1 -1
- package/dist/esm/dso-map-base-layers.entry.js +1 -1
- package/dist/esm/dso-map-controls.entry.js +2 -2
- package/dist/esm/dso-map-overlays.entry.js +1 -1
- package/dist/esm/dso-ozon-content.entry.js +44 -9
- package/dist/esm/dso-pagination.entry.js +98 -6
- 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 +6 -1
- package/dist/esm/dso-toggletip.entry.js +2 -2
- package/dist/esm/dso-toolkit.js +2 -2
- 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 +11 -5
- package/dist/esm/{focus-trap.esm-a01ad6c9.js → focus-trap.esm-e3b5bde3.js} +28 -11
- package/dist/esm/{index-1602fde1.js → index-771c1291.js} +7 -1
- package/dist/esm/{index.esm-45465af7.js → index.esm-4510c39e.js} +110 -12
- package/dist/esm/loader.js +2 -2
- package/dist/types/components/accordion/accordion.d.ts +32 -0
- package/dist/types/components/accordion/accordion.interfaces.d.ts +20 -0
- package/dist/types/components/accordion/accordion.template.d.ts +2 -0
- package/dist/types/components/accordion/components/accordion-section.d.ts +25 -0
- package/dist/types/components/helpcenter-panel/helpcenter-panel.d.ts +11 -0
- package/dist/types/components/image-overlay/image-overlay.d.ts +3 -0
- package/dist/types/components/info-button/info-button.d.ts +1 -0
- package/dist/types/components/ozon-content/nodes/figuur.node.d.ts +4 -1
- package/dist/types/components/pagination/pagination.d.ts +15 -0
- package/dist/types/components/responsive-element/responsive-element.d.ts +5 -2
- package/dist/types/components/responsive-element/responsive-element.interfaces.d.ts +5 -0
- package/dist/types/components/responsive-element/responsive-element.template.d.ts +1 -1
- package/dist/types/components.d.ts +99 -0
- package/package.json +4 -3
- package/readme.md +0 -7
- package/dist/collection/icon/dso-icon-sass-function.js +0 -42
- package/dist/dso-toolkit/dso-toolkit.css +0 -1
- package/dist/dso-toolkit/p-02272301.entry.js +0 -1
- package/dist/dso-toolkit/p-10a6db1a.entry.js +0 -1
- package/dist/dso-toolkit/p-131d54e3.js +0 -5
- package/dist/dso-toolkit/p-1450f113.entry.js +0 -1
- package/dist/dso-toolkit/p-15d0f2eb.entry.js +0 -1
- package/dist/dso-toolkit/p-3b5f957e.entry.js +0 -1
- package/dist/dso-toolkit/p-49938275.entry.js +0 -1
- package/dist/dso-toolkit/p-5a56d726.entry.js +0 -1
- package/dist/dso-toolkit/p-5e5fbd41.js +0 -5
- package/dist/dso-toolkit/p-68d49733.entry.js +0 -1
- package/dist/dso-toolkit/p-7b716383.entry.js +0 -1
- package/dist/dso-toolkit/p-b95bc2c7.entry.js +0 -1
- package/dist/dso-toolkit/p-c1070a58.entry.js +0 -1
- package/dist/dso-toolkit/p-c62606a3.js +0 -1
- package/dist/dso-toolkit/p-e7888d49.entry.js +0 -1
- package/dist/dso-toolkit/p-eb17d45e.entry.js +0 -1
- package/dist/dso-toolkit/p-f726111e.entry.js +0 -1
- package/dist/dso-toolkit/p-fd8a8509.entry.js +0 -1
- package/dist/types/icon/dso-icon-sass-function.d.ts +0 -4
package/dist/esm/loader.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { p as promiseResolve, b as bootstrapLazy } from './index-
|
|
1
|
+
import { p as promiseResolve, b as bootstrapLazy } from './index-771c1291.js';
|
|
2
2
|
|
|
3
3
|
/*
|
|
4
4
|
Stencil Client Patch Esm v2.10.0 | MIT Licensed | https://stenciljs.com
|
|
@@ -10,7 +10,7 @@ const patchEsm = () => {
|
|
|
10
10
|
const defineCustomElements = (win, options) => {
|
|
11
11
|
if (typeof window === 'undefined') return Promise.resolve();
|
|
12
12
|
return patchEsm().then(() => {
|
|
13
|
-
return bootstrapLazy([["dso-map-base-layers",[[1,"dso-map-base-layers",{"group":[1],"baseLayers":[16]}]]],["dso-map-overlays",[[1,"dso-map-overlays",{"group":[1],"overlays":[16]}]]],["dso-
|
|
13
|
+
return bootstrapLazy([["dso-icon",[[1,"dso-icon",{"icon":[1]}]]],["dso-map-base-layers",[[1,"dso-map-base-layers",{"group":[1],"baseLayers":[16]}]]],["dso-map-overlays",[[1,"dso-map-overlays",{"group":[1],"overlays":[16]}]]],["dso-toggletip",[[1,"dso-toggletip",{"label":[1],"position":[1],"small":[4],"secondary":[4],"active":[32]}]]],["dso-accordion-section",[[1,"dso-accordion-section",{"handleTitle":[1,"handle-title"],"heading":[1],"handleUrl":[1,"handle-url"],"state":[1],"attachmentCount":[2,"attachment-count"],"icon":[1],"status":[1],"open":[1540],"hasNestedSection":[32],"toggleSection":[64]}]]],["dso-header",[[6,"dso-header",{"mainMenu":[16],"useDropDownMenu":[1,"use-drop-down-menu"],"authStatus":[1,"auth-status"],"loginUrl":[1,"login-url"],"logoutUrl":[1,"logout-url"],"userProfileName":[1,"user-profile-name"],"userProfileUrl":[1,"user-profile-url"],"userHomeUrl":[1,"user-home-url"],"showDropDown":[32],"hasSubLogo":[32],"overflowMenuItems":[32]}]]],["dso-label",[[1,"dso-label",{"compact":[4],"removable":[4],"status":[1],"truncate":[4],"removeHover":[32],"removeFocus":[32],"textHover":[32],"textFocus":[32],"truncatedContent":[32],"labelText":[32]}]]],["dso-pagination",[[1,"dso-pagination",{"totalPages":[2,"total-pages"],"currentPage":[2,"current-page"],"formatHref":[16],"availablePositions":[32]},[[0,"dsoSizeChange","sizeChangeHandler"]]]]],["dso-tree-view",[[1,"dso-tree-view",{"collection":[16],"focusItem":[64]}]]],["dso-alert",[[1,"dso-alert",{"status":[1],"roleAlert":[4,"role-alert"]}]]],["dso-autosuggest",[[6,"dso-autosuggest",{"suggestions":[16],"loading":[4],"loadingLabel":[1,"loading-label"],"loadingDelayed":[2,"loading-delayed"],"notFoundLabel":[1,"not-found-label"],"suggestOnFocus":[4,"suggest-on-focus"],"showSuggestions":[32],"selectedSuggestion":[32],"notFound":[32],"showLoading":[32]},[[4,"click","onDocumentClick"]]]]],["dso-date-picker",[[2,"dso-date-picker",{"name":[1],"identifier":[1],"disabled":[516],"role":[1],"direction":[1],"required":[4],"dsoAutofocus":[4,"dso-autofocus"],"value":[1537],"min":[1],"max":[1],"activeFocus":[32],"focusedDay":[32],"open":[32],"visible":[32],"setFocus":[64],"show":[64],"hide":[64]},[[6,"click","handleDocumentClick"]]]]],["dso-helpcenter-panel",[[1,"dso-helpcenter-panel",{"label":[1],"url":[1],"visibility":[32],"isOpen":[32],"slideState":[32],"loadIframe":[32]},[[8,"keydown","keyDownListener"]]]]],["dso-image-overlay",[[1,"dso-image-overlay",{"active":[32],"focused":[32],"zoomable":[32]},[[2,"load","loadListener"]]]]],["dso-map-controls",[[1,"dso-map-controls",{"open":[1540],"disableZoom":[1,"disable-zoom"],"hideContent":[32]}]]],["dso-viewer-grid",[[1,"dso-viewer-grid",{"filterpanelOpen":[516,"filterpanel-open"],"overlayOpen":[516,"overlay-open"],"initialMainSize":[1,"initial-main-size"],"mainSize":[32]}]]],["dso-accordion",[[1,"dso-accordion",{"variant":[513],"reverseAlign":[516,"reverse-align"],"allowMultipleOpen":[516,"allow-multiple-open"],"getState":[64],"toggleSection":[64],"closeOpenSections":[64]}]]],["dso-badge",[[1,"dso-badge",{"status":[1]}]]],["dso-banner",[[1,"dso-banner",{"status":[1]}]]],["dso-highlight-box",[[1,"dso-highlight-box",{"yellow":[4],"border":[4],"white":[4],"dropShadow":[4,"drop-shadow"],"step":[2]}]]],["dso-ozon-content",[[6,"dso-ozon-content",{"content":[1],"inline":[516],"deleted":[516],"interactive":[520],"state":[32]}]]],["dso-progress-bar",[[1,"dso-progress-bar",{"progress":[2],"min":[2],"max":[2]}]]],["dso-attachments-counter",[[1,"dso-attachments-counter",{"count":[2]}]]],["dso-dropdown-menu",[[1,"dso-dropdown-menu",{"open":[1540],"dropdownAlign":[1,"dropdown-align"],"checkable":[4]}]]],["dso-responsive-element",[[1,"dso-responsive-element",{"sizeAlias":[32],"sizeWidth":[32],"getSize":[64]}]]],["dso-progress-indicator",[[1,"dso-progress-indicator",{"label":[1],"size":[1],"block":[4]}]]],["dso-tooltip",[[1,"dso-tooltip",{"descriptive":[516],"position":[1],"strategy":[1],"for":[1],"noArrow":[4,"no-arrow"],"stateless":[4],"small":[4],"active":[1540],"hidden":[32],"activate":[64],"deactivate":[64]},[[0,"click","listenClick"]]]]],["dso-info-button",[[1,"dso-info-button",{"active":[1540],"secondary":[4],"label":[1],"hover":[32],"setFocus":[64]}]]],["dso-info_2",[[6,"dso-selectable",{"type":[1],"identifier":[1],"name":[1],"value":[1],"invalid":[4],"describedById":[1,"described-by-id"],"disabled":[4],"required":[4],"checked":[4],"indeterminate":[4],"infoFixed":[4,"info-fixed"],"infoActive":[32],"toggleInfo":[64]}],[1,"dso-info",{"fixed":[516],"active":[516]}]]]], options);
|
|
14
14
|
});
|
|
15
15
|
};
|
|
16
16
|
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { ComponentInterface, EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
+
import { AccordionInterface, AccordionInternalState, AccordionSectionToggleEvent, AccordionVariant } from './accordion.interfaces';
|
|
3
|
+
export declare class Accordion implements ComponentInterface, AccordionInterface {
|
|
4
|
+
private accordionState;
|
|
5
|
+
host: HTMLElement;
|
|
6
|
+
variant?: AccordionVariant;
|
|
7
|
+
/** Places the chevron at the opposite side. Note: this mode does not display `state`, `attachmentCount` or `status` props on child `<dso-accordion-section>` elements */
|
|
8
|
+
reverseAlign: boolean;
|
|
9
|
+
/** Allows multiple sections to be open at the same time. */
|
|
10
|
+
allowMultipleOpen: boolean;
|
|
11
|
+
/**
|
|
12
|
+
* Emitted when a section is toggled.
|
|
13
|
+
*
|
|
14
|
+
* `event.detail.originalEvent` contains the original `MouseEvent` when the section is toggled by clicking on the header
|
|
15
|
+
* `event.detail.section` contains the toggled section and its new opened value.\
|
|
16
|
+
* `event.detail.sections` contains all `<dso-accordion-section>` elements belonging to this accordion.
|
|
17
|
+
*/
|
|
18
|
+
dsoToggleSection: EventEmitter<AccordionSectionToggleEvent>;
|
|
19
|
+
updateVariant(variant?: AccordionVariant): void;
|
|
20
|
+
updateReverseAlign(reverseAlign: boolean): void;
|
|
21
|
+
watchAllowMultiple(allowMultipleOpen: boolean): void;
|
|
22
|
+
getState(): Promise<AccordionInternalState>;
|
|
23
|
+
/** Toggle a section. Pass the `<dso-accordion-section>` element or the index of the section. */
|
|
24
|
+
toggleSection(sectionElement: HTMLElement | number, event?: MouseEvent): Promise<void>;
|
|
25
|
+
/** Closes all sections belonging to this accordion. */
|
|
26
|
+
closeOpenSections(): Promise<void>;
|
|
27
|
+
constructor();
|
|
28
|
+
render(): any;
|
|
29
|
+
private emitToggleEvent;
|
|
30
|
+
private isSectionOpen;
|
|
31
|
+
private controlOpenAttribute;
|
|
32
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export declare type AccordionVariant = 'default' | 'compact' | 'conclusion';
|
|
2
|
+
export declare type AccordionSectionState = 'success' | 'info' | 'warning' | 'danger';
|
|
3
|
+
export declare type AccordionHeading = 'h2' | 'h3' | 'h4' | 'h5';
|
|
4
|
+
export interface AccordionInternalState {
|
|
5
|
+
variant: AccordionVariant;
|
|
6
|
+
reverseAlign: boolean;
|
|
7
|
+
}
|
|
8
|
+
export interface AccordionInterface {
|
|
9
|
+
getState(): Promise<AccordionInternalState>;
|
|
10
|
+
toggleSection(sectionElement: HTMLElement | number, event?: MouseEvent): Promise<void>;
|
|
11
|
+
}
|
|
12
|
+
export interface AccordionSectionToggleEvent {
|
|
13
|
+
/** When the section is toggled by clicking in the header the `MouseEvent` is available. */
|
|
14
|
+
originalEvent?: MouseEvent;
|
|
15
|
+
section: {
|
|
16
|
+
element: HTMLElement;
|
|
17
|
+
open: boolean;
|
|
18
|
+
};
|
|
19
|
+
sections: HTMLElement[];
|
|
20
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { ComponentInterface } from '../../../stencil-public-runtime';
|
|
2
|
+
import { AccordionHeading, AccordionSectionState } from '../accordion.interfaces';
|
|
3
|
+
export declare class AccordionSection implements ComponentInterface {
|
|
4
|
+
private accordion?;
|
|
5
|
+
private accordionState?;
|
|
6
|
+
host: HTMLElement;
|
|
7
|
+
handleTitle?: string;
|
|
8
|
+
heading: AccordionHeading;
|
|
9
|
+
/** When set the handle will render as a `<a>`. When undefined it renders as a `<button>` */
|
|
10
|
+
handleUrl?: string;
|
|
11
|
+
/** `state` takes precedence over `attachmentCount` and `icon` */
|
|
12
|
+
state?: AccordionSectionState;
|
|
13
|
+
/** `attachmentCount` takes precedence over `icon` */
|
|
14
|
+
attachmentCount?: number;
|
|
15
|
+
icon?: string;
|
|
16
|
+
status?: string;
|
|
17
|
+
open: boolean;
|
|
18
|
+
hasNestedSection: boolean;
|
|
19
|
+
componentWillLoad(): void;
|
|
20
|
+
componentDidLoad(): void;
|
|
21
|
+
/** Toggle this section */
|
|
22
|
+
toggleSection(): Promise<void>;
|
|
23
|
+
private toggle;
|
|
24
|
+
render(): any;
|
|
25
|
+
}
|
|
@@ -1,11 +1,22 @@
|
|
|
1
1
|
export declare class HelpcenterPanel {
|
|
2
|
+
private iframeUrl?;
|
|
3
|
+
private trap?;
|
|
4
|
+
private panelWrapperElement?;
|
|
5
|
+
private openButtonElement?;
|
|
6
|
+
private closeButtonElement?;
|
|
7
|
+
private iframeLoaded;
|
|
2
8
|
label?: string;
|
|
3
9
|
url: string;
|
|
4
10
|
visibility: "visible" | "hidden";
|
|
5
11
|
isOpen: "open" | "close";
|
|
6
12
|
slideState: "open" | "close";
|
|
7
13
|
loadIframe: boolean;
|
|
14
|
+
watchUrl(url: string): void;
|
|
15
|
+
watchIsOpen(isOpen: 'open' | 'close'): void;
|
|
16
|
+
keyDownListener(event: KeyboardEvent): void;
|
|
17
|
+
createTrap(): void;
|
|
8
18
|
openClick: () => void;
|
|
9
19
|
closeClick: () => void;
|
|
20
|
+
componentDidRender(): void;
|
|
10
21
|
render(): any;
|
|
11
22
|
}
|
|
@@ -8,9 +8,12 @@ export declare class ImageOverlay implements ComponentInterface {
|
|
|
8
8
|
buttonElement: HTMLButtonElement | undefined;
|
|
9
9
|
wrapperElement: HTMLDivElement | undefined;
|
|
10
10
|
trap: FocusTrap | undefined;
|
|
11
|
+
titelSlot: HTMLElement | null;
|
|
12
|
+
bijschriftSlot: HTMLElement | null;
|
|
11
13
|
private mutationObserver?;
|
|
12
14
|
private resizeObserver?;
|
|
13
15
|
loadListener(event: Event): void;
|
|
16
|
+
connectedCallback(): void;
|
|
14
17
|
componentDidLoad(): void;
|
|
15
18
|
disconnectedCallback(): void;
|
|
16
19
|
initZoomableImage(): void;
|
|
@@ -1,5 +1,8 @@
|
|
|
1
|
+
import { OzonContentNodeContext } from '../ozon-content-node-context.interface';
|
|
1
2
|
import { OzonContentNode } from '../ozon-content-node.interface';
|
|
2
3
|
export declare class OzonContentFiguurNode implements OzonContentNode {
|
|
3
4
|
name: string[];
|
|
4
|
-
|
|
5
|
+
setImageDimensions(imageElement: HTMLImageElement, schaal: number): void;
|
|
6
|
+
onImageLoad(event: Event, schaal?: number): void;
|
|
7
|
+
render(node: Element, { mapNodeToJsx }: OzonContentNodeContext): any;
|
|
5
8
|
}
|
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
import { ComponentInterface, EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
+
import { ResponsiveElementSize } from '../responsive-element/responsive-element.interfaces';
|
|
2
3
|
import { PaginationSelectPageEvent } from './pagination.interfaces';
|
|
3
4
|
export declare class Pagination implements ComponentInterface {
|
|
5
|
+
private sizePositionsMap;
|
|
6
|
+
private responsiveElement?;
|
|
7
|
+
host: HTMLElement;
|
|
8
|
+
availablePositions?: number;
|
|
4
9
|
/**
|
|
5
10
|
* Total pages
|
|
6
11
|
*/
|
|
@@ -17,6 +22,16 @@ export declare class Pagination implements ComponentInterface {
|
|
|
17
22
|
* Emitted on page select
|
|
18
23
|
*/
|
|
19
24
|
dsoSelectPage: EventEmitter<PaginationSelectPageEvent>;
|
|
25
|
+
/**
|
|
26
|
+
* Listens to the dsoSizeChange event on Responsive Element
|
|
27
|
+
*/
|
|
28
|
+
sizeChangeHandler(event: CustomEvent<ResponsiveElementSize>): void;
|
|
20
29
|
clickHandler(e: MouseEvent, page: number): void;
|
|
30
|
+
componentDidLoad(): void;
|
|
21
31
|
render(): any;
|
|
32
|
+
private getAvailablePositions;
|
|
33
|
+
private getPages;
|
|
34
|
+
private getPageRange;
|
|
35
|
+
private showEllipsisAfterFirst;
|
|
36
|
+
private showEllipsisBeforeLast;
|
|
22
37
|
}
|
|
@@ -1,7 +1,10 @@
|
|
|
1
|
-
import { ComponentInterface } from '../../stencil-public-runtime';
|
|
1
|
+
import { ComponentInterface, EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
+
import { ResponsiveElementSize } from './responsive-element.interfaces';
|
|
2
3
|
export declare class ResponsiveElement implements ComponentInterface {
|
|
3
|
-
sizeAlias:
|
|
4
|
+
sizeAlias: ResponsiveElementSize;
|
|
4
5
|
sizeWidth: number;
|
|
6
|
+
dsoSizeChange: EventEmitter<ResponsiveElementSize>;
|
|
7
|
+
getSize(): Promise<ResponsiveElementSize>;
|
|
5
8
|
observer: ResizeObserver;
|
|
6
9
|
host: HTMLElement;
|
|
7
10
|
componentWillLoad(): void;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { ResponsiveElement } from '@dso-toolkit/sources';
|
|
2
2
|
import { TemplateResult } from 'lit-html';
|
|
3
|
-
export declare function responsiveElementTemplate({
|
|
3
|
+
export declare function responsiveElementTemplate({ dsoSizeChange }: ResponsiveElement, children: TemplateResult): TemplateResult<1>;
|
|
@@ -5,6 +5,7 @@
|
|
|
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 { AccordionHeading, AccordionInternalState, AccordionSectionState, AccordionSectionToggleEvent, AccordionVariant } from "./components/accordion/accordion.interfaces";
|
|
8
9
|
import { Suggestion } from "./components/autosuggest/autosuggest";
|
|
9
10
|
import { DsoDatePickerChangeEvent, DsoDatePickerDirection, DsoDatePickerFocusEvent, DsoDatePickerKeyboardEvent } from "./components/date-picker/date-picker";
|
|
10
11
|
import { HeaderClickEvent, HeaderClickMenuItemEvent, HeaderMenuItem } from "./components/header/header.interfaces";
|
|
@@ -13,10 +14,54 @@ import { BaseLayer, BaseLayerChangeEvent } from "./components/map-base-layers/ma
|
|
|
13
14
|
import { Overlay, OverlayChangeEvent } from "./components/map-overlays/map-overlays.interfaces";
|
|
14
15
|
import { OzonContentAnchorClick, OzonContentClick } from "./components/ozon-content/ozon-content.interfaces";
|
|
15
16
|
import { PaginationSelectPageEvent } from "./components/pagination/pagination.interfaces";
|
|
17
|
+
import { ResponsiveElementSize } from "./components/responsive-element/responsive-element.interfaces";
|
|
16
18
|
import { SelectableChangeEvent } from "./components/selectable/selectable";
|
|
17
19
|
import { TreeViewItem, TreeViewPointerEvent } from "./components/tree-view/tree-view.interfaces";
|
|
18
20
|
import { FilterpanelEvent, MainSize, ViewerGridChangeSizeEvent } from "./components/viewer-grid/viewer-grid";
|
|
19
21
|
export namespace Components {
|
|
22
|
+
interface DsoAccordion {
|
|
23
|
+
/**
|
|
24
|
+
* Allows multiple sections to be open at the same time.
|
|
25
|
+
*/
|
|
26
|
+
"allowMultipleOpen": boolean;
|
|
27
|
+
/**
|
|
28
|
+
* Closes all sections belonging to this accordion.
|
|
29
|
+
*/
|
|
30
|
+
"closeOpenSections": () => Promise<void>;
|
|
31
|
+
"getState": () => Promise<AccordionInternalState>;
|
|
32
|
+
/**
|
|
33
|
+
* Places the chevron at the opposite side. Note: this mode does not display `state`, `attachmentCount` or `status` props on child `<dso-accordion-section>` elements
|
|
34
|
+
*/
|
|
35
|
+
"reverseAlign": boolean;
|
|
36
|
+
/**
|
|
37
|
+
* Toggle a section. Pass the `<dso-accordion-section>` element or the index of the section.
|
|
38
|
+
*/
|
|
39
|
+
"toggleSection": (sectionElement: HTMLElement | number, event?: MouseEvent | undefined) => Promise<void>;
|
|
40
|
+
"variant"?: AccordionVariant;
|
|
41
|
+
}
|
|
42
|
+
interface DsoAccordionSection {
|
|
43
|
+
/**
|
|
44
|
+
* `attachmentCount` takes precedence over `icon`
|
|
45
|
+
*/
|
|
46
|
+
"attachmentCount"?: number;
|
|
47
|
+
"handleTitle"?: string;
|
|
48
|
+
/**
|
|
49
|
+
* When set the handle will render as a `<a>`. When undefined it renders as a `<button>`
|
|
50
|
+
*/
|
|
51
|
+
"handleUrl"?: string;
|
|
52
|
+
"heading": AccordionHeading;
|
|
53
|
+
"icon"?: string;
|
|
54
|
+
"open": boolean;
|
|
55
|
+
/**
|
|
56
|
+
* `state` takes precedence over `attachmentCount` and `icon`
|
|
57
|
+
*/
|
|
58
|
+
"state"?: AccordionSectionState;
|
|
59
|
+
"status"?: string;
|
|
60
|
+
/**
|
|
61
|
+
* Toggle this section
|
|
62
|
+
*/
|
|
63
|
+
"toggleSection": () => Promise<void>;
|
|
64
|
+
}
|
|
20
65
|
interface DsoAlert {
|
|
21
66
|
/**
|
|
22
67
|
* Whether or not to show the role attribute with value "alert". To control the tooltip add the `role-alert` attribute.
|
|
@@ -233,6 +278,7 @@ export namespace Components {
|
|
|
233
278
|
"size"?: 'small' | 'medium' | 'large';
|
|
234
279
|
}
|
|
235
280
|
interface DsoResponsiveElement {
|
|
281
|
+
"getSize": () => Promise<ResponsiveElementSize>;
|
|
236
282
|
}
|
|
237
283
|
interface DsoSelectable {
|
|
238
284
|
"checked"?: boolean;
|
|
@@ -318,6 +364,18 @@ export namespace Components {
|
|
|
318
364
|
}
|
|
319
365
|
}
|
|
320
366
|
declare global {
|
|
367
|
+
interface HTMLDsoAccordionElement extends Components.DsoAccordion, HTMLStencilElement {
|
|
368
|
+
}
|
|
369
|
+
var HTMLDsoAccordionElement: {
|
|
370
|
+
prototype: HTMLDsoAccordionElement;
|
|
371
|
+
new (): HTMLDsoAccordionElement;
|
|
372
|
+
};
|
|
373
|
+
interface HTMLDsoAccordionSectionElement extends Components.DsoAccordionSection, HTMLStencilElement {
|
|
374
|
+
}
|
|
375
|
+
var HTMLDsoAccordionSectionElement: {
|
|
376
|
+
prototype: HTMLDsoAccordionSectionElement;
|
|
377
|
+
new (): HTMLDsoAccordionSectionElement;
|
|
378
|
+
};
|
|
321
379
|
interface HTMLDsoAlertElement extends Components.DsoAlert, HTMLStencilElement {
|
|
322
380
|
}
|
|
323
381
|
var HTMLDsoAlertElement: {
|
|
@@ -487,6 +545,8 @@ declare global {
|
|
|
487
545
|
new (): HTMLDsoViewerGridElement;
|
|
488
546
|
};
|
|
489
547
|
interface HTMLElementTagNameMap {
|
|
548
|
+
"dso-accordion": HTMLDsoAccordionElement;
|
|
549
|
+
"dso-accordion-section": HTMLDsoAccordionSectionElement;
|
|
490
550
|
"dso-alert": HTMLDsoAlertElement;
|
|
491
551
|
"dso-attachments-counter": HTMLDsoAttachmentsCounterElement;
|
|
492
552
|
"dso-autosuggest": HTMLDsoAutosuggestElement;
|
|
@@ -518,6 +578,40 @@ declare global {
|
|
|
518
578
|
}
|
|
519
579
|
}
|
|
520
580
|
declare namespace LocalJSX {
|
|
581
|
+
interface DsoAccordion {
|
|
582
|
+
/**
|
|
583
|
+
* Allows multiple sections to be open at the same time.
|
|
584
|
+
*/
|
|
585
|
+
"allowMultipleOpen"?: boolean;
|
|
586
|
+
/**
|
|
587
|
+
* 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.
|
|
588
|
+
*/
|
|
589
|
+
"onDsoToggleSection"?: (event: CustomEvent<AccordionSectionToggleEvent>) => void;
|
|
590
|
+
/**
|
|
591
|
+
* Places the chevron at the opposite side. Note: this mode does not display `state`, `attachmentCount` or `status` props on child `<dso-accordion-section>` elements
|
|
592
|
+
*/
|
|
593
|
+
"reverseAlign"?: boolean;
|
|
594
|
+
"variant"?: AccordionVariant;
|
|
595
|
+
}
|
|
596
|
+
interface DsoAccordionSection {
|
|
597
|
+
/**
|
|
598
|
+
* `attachmentCount` takes precedence over `icon`
|
|
599
|
+
*/
|
|
600
|
+
"attachmentCount"?: number;
|
|
601
|
+
"handleTitle"?: string;
|
|
602
|
+
/**
|
|
603
|
+
* When set the handle will render as a `<a>`. When undefined it renders as a `<button>`
|
|
604
|
+
*/
|
|
605
|
+
"handleUrl"?: string;
|
|
606
|
+
"heading"?: AccordionHeading;
|
|
607
|
+
"icon"?: string;
|
|
608
|
+
"open"?: boolean;
|
|
609
|
+
/**
|
|
610
|
+
* `state` takes precedence over `attachmentCount` and `icon`
|
|
611
|
+
*/
|
|
612
|
+
"state"?: AccordionSectionState;
|
|
613
|
+
"status"?: string;
|
|
614
|
+
}
|
|
521
615
|
interface DsoAlert {
|
|
522
616
|
/**
|
|
523
617
|
* Whether or not to show the role attribute with value "alert". To control the tooltip add the `role-alert` attribute.
|
|
@@ -773,6 +867,7 @@ declare namespace LocalJSX {
|
|
|
773
867
|
"size"?: 'small' | 'medium' | 'large';
|
|
774
868
|
}
|
|
775
869
|
interface DsoResponsiveElement {
|
|
870
|
+
"onDsoSizeChange"?: (event: CustomEvent<ResponsiveElementSize>) => void;
|
|
776
871
|
}
|
|
777
872
|
interface DsoSelectable {
|
|
778
873
|
"checked"?: boolean;
|
|
@@ -859,6 +954,8 @@ declare namespace LocalJSX {
|
|
|
859
954
|
"overlayOpen"?: boolean;
|
|
860
955
|
}
|
|
861
956
|
interface IntrinsicElements {
|
|
957
|
+
"dso-accordion": DsoAccordion;
|
|
958
|
+
"dso-accordion-section": DsoAccordionSection;
|
|
862
959
|
"dso-alert": DsoAlert;
|
|
863
960
|
"dso-attachments-counter": DsoAttachmentsCounter;
|
|
864
961
|
"dso-autosuggest": DsoAutosuggest;
|
|
@@ -893,6 +990,8 @@ export { LocalJSX as JSX };
|
|
|
893
990
|
declare module "@stencil/core" {
|
|
894
991
|
export namespace JSX {
|
|
895
992
|
interface IntrinsicElements {
|
|
993
|
+
"dso-accordion": LocalJSX.DsoAccordion & JSXBase.HTMLAttributes<HTMLDsoAccordionElement>;
|
|
994
|
+
"dso-accordion-section": LocalJSX.DsoAccordionSection & JSXBase.HTMLAttributes<HTMLDsoAccordionSectionElement>;
|
|
896
995
|
"dso-alert": LocalJSX.DsoAlert & JSXBase.HTMLAttributes<HTMLDsoAlertElement>;
|
|
897
996
|
"dso-attachments-counter": LocalJSX.DsoAttachmentsCounter & JSXBase.HTMLAttributes<HTMLDsoAttachmentsCounterElement>;
|
|
898
997
|
"dso-autosuggest": LocalJSX.DsoAutosuggest & JSXBase.HTMLAttributes<HTMLDsoAutosuggestElement>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dso-toolkit/core",
|
|
3
|
-
"version": "45.0
|
|
3
|
+
"version": "45.1.0",
|
|
4
4
|
"description": "DSO Toolkit Web Components",
|
|
5
5
|
"main": "dist/index.cjs.js",
|
|
6
6
|
"module": "dist/custom-elements/index.js",
|
|
@@ -22,11 +22,12 @@
|
|
|
22
22
|
"dependencies": {
|
|
23
23
|
"@popperjs/core": "^2.11.5",
|
|
24
24
|
"@stencil/core": "2.10.0",
|
|
25
|
+
"@stencil/store": "^2.0.0",
|
|
25
26
|
"clsx": "1.1.1",
|
|
26
27
|
"escape-string-regexp": "^5.0.0",
|
|
27
|
-
"focus-trap": "^
|
|
28
|
+
"focus-trap": "^7.0.0",
|
|
28
29
|
"popper-max-size-modifier": "^0.2.0",
|
|
29
|
-
"tabbable": "^
|
|
30
|
+
"tabbable": "^6.0.0",
|
|
30
31
|
"uuid": "^8.3.2"
|
|
31
32
|
},
|
|
32
33
|
"devDependencies": {
|
package/readme.md
CHANGED
|
@@ -1,10 +1,3 @@
|
|
|
1
1
|
# `@dso-toolkit/core`
|
|
2
2
|
|
|
3
3
|
See https://www.github.com/dso-toolkit/dso-toolkit
|
|
4
|
-
|
|
5
|
-
## `di()` en `di-variant()` SCSS mixins
|
|
6
|
-
|
|
7
|
-
Dit project bevat een dataUri implementatie. Zie `di.scss` en `dso-icon-sass-function.ts` in `/packages/core/src/icon`.
|
|
8
|
-
|
|
9
|
-
* `dso-icon-sass-function.ts`: Bevat een Sass function die aan de Sass compiler van de Stencil Components wordt meegegeven. Deze functie moet in elke Stencil Component stylesheet gebruikt worden om iconen te "preloaden" door ze in te lezen op een custom property.
|
|
10
|
-
* `di.scss`: Bevat de `di()` en `di-variant()` mixins. Deze mixin maakt een `background-image` met een verwijzing naar een custom property `--dso-icon`. Beide mixins hebben een argument met het alias naar het icoon. De waarde van `--dso-icon` is een verwijzing naar het eerder ingeladen icoon.
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import { instance as sass } from '@stencil/sass';
|
|
2
|
-
import cheerio from 'cheerio';
|
|
3
|
-
import { readFileSync, existsSync } from 'fs';
|
|
4
|
-
import { resolve, dirname } from 'path';
|
|
5
|
-
import svgToDataUri from 'mini-svg-data-uri';
|
|
6
|
-
const iconsPath = resolve(dirname(require.resolve('@dso-toolkit/sources')), '../src', 'icons');
|
|
7
|
-
// Replace this regex with the same logic as in @dso-toolkit/css gulpfile.js
|
|
8
|
-
const styleRegex = (selector) => new RegExp(`${selector} {([\\s\\S]+?)}`);
|
|
9
|
-
export const dsoIcon = {
|
|
10
|
-
'dso-icon($icon, $variant: null)': function (sassIconAlias, sassVariant) {
|
|
11
|
-
if (!(sassIconAlias instanceof sass.types.String)) {
|
|
12
|
-
throw new TypeError('Expected $icon to be of type String');
|
|
13
|
-
}
|
|
14
|
-
const iconAlias = sassIconAlias.getValue();
|
|
15
|
-
const iconPath = resolve(iconsPath, `${iconAlias}.svg`);
|
|
16
|
-
const icon = readFileSync(iconPath).toString('utf-8');
|
|
17
|
-
const style = getStyle(iconAlias, sassVariant instanceof sass.types.String ? sassVariant.getValue() : null);
|
|
18
|
-
const svg = style ? bundleSvgStyle(icon, style) : icon;
|
|
19
|
-
const dataUri = svgToDataUri(svg);
|
|
20
|
-
return new sass.types.String(`url("${dataUri}")`);
|
|
21
|
-
}
|
|
22
|
-
};
|
|
23
|
-
function getStyle(icon, variant) {
|
|
24
|
-
var _a, _b;
|
|
25
|
-
const stylesheetPath = resolve(iconsPath, `${icon}.scss`);
|
|
26
|
-
if (!existsSync(stylesheetPath)) {
|
|
27
|
-
return null;
|
|
28
|
-
}
|
|
29
|
-
const css = sass
|
|
30
|
-
.renderSync({ file: stylesheetPath })
|
|
31
|
-
.css
|
|
32
|
-
.toString('utf-8');
|
|
33
|
-
const selector = `${icon}${variant ? `:${variant}` : ''}`;
|
|
34
|
-
const regex = styleRegex(selector);
|
|
35
|
-
return (_b = (_a = css.match(regex)) === null || _a === void 0 ? void 0 : _a[1]) !== null && _b !== void 0 ? _b : null;
|
|
36
|
-
}
|
|
37
|
-
function bundleSvgStyle(svg, style) {
|
|
38
|
-
const $ = cheerio.load(svg, { xmlMode: true });
|
|
39
|
-
const inlineStyle = style.trim().split('\n').map(l => l.trim()).join('');
|
|
40
|
-
const $svg = $('svg').attr('style', inlineStyle);
|
|
41
|
-
return $.html($svg);
|
|
42
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
@media screen and (min-width: 481px){.alert{padding:19px 16px 19px 63px}}@media screen and (max-width: 480px){.alert{padding:63px 16px 16px}}dso-alert>.dso-rich-content *:first-child{margin-top:0 !important}dso-alert>.dso-rich-content *:last-child{margin-bottom:0 !important}dso-alert>.dso-rich-content h1,dso-alert>.dso-rich-content h2,dso-alert>.dso-rich-content h3,dso-alert>.dso-rich-content h4,dso-alert>.dso-rich-content h5,dso-alert>.dso-rich-content h6,dso-alert>.dso-rich-content .h1,dso-alert>.dso-rich-content .h2,dso-alert>.dso-rich-content .h3,dso-alert>.dso-rich-content .h4,dso-alert>.dso-rich-content .h5,dso-alert>.dso-rich-content .h6{color:#000;font-size:1em;line-height:1.5;margin-bottom:8px;margin-top:8px}dso-alert>.dso-rich-content .btn,dso-alert>.dso-rich-content .dso-primary,dso-alert>.dso-rich-content .dso-secondary,dso-alert>.dso-rich-content .dso-tertiary{background-color:rgba(25, 25, 25, 0.05);border-radius:4px;border:1px solid transparent;padding:6px 12px}dso-alert>.dso-rich-content .btn:hover,dso-alert>.dso-rich-content .btn:active,dso-alert>.dso-rich-content .dso-primary:hover,dso-alert>.dso-rich-content .dso-primary:active,dso-alert>.dso-rich-content .dso-secondary:hover,dso-alert>.dso-rich-content .dso-secondary:active,dso-alert>.dso-rich-content .dso-tertiary:hover,dso-alert>.dso-rich-content .dso-tertiary:active{background-color:rgba(25, 25, 25, 0.2);color:#000}dso-alert a,dso-alert a:not(.btn):visited{color:#191919}dso-alert a:hover,dso-alert a:focus,dso-alert a:active,dso-alert a:visited{color:#191919}dso-alert a:active{text-decoration:none}dso-alert a.download::after{background:var(--dso-icon, var(--di-download-grijs90)) no-repeat;background-position:center;background-size:cover;height:24px;vertical-align:top;width:24px}dso-alert a.extern::after{background:var(--dso-icon, var(--di-external-link-grijs90)) no-repeat;background-position:center;background-size:cover;height:24px;vertical-align:top;width:24px}dso-banner a{text-decoration:underline}dso-banner a,dso-banner a:hover,dso-banner a:focus,dso-banner a:active,dso-banner a:visited{color:#191919}dso-banner a:active{text-decoration:none}dso-banner a.download::after{background:var(--dso-icon, var(--di-download-grijs90)) no-repeat;background-position:center;background-size:cover;height:24px;vertical-align:top;width:24px}dso-banner a.extern::after{background:var(--dso-icon, var(--di-external-link-grijs90)) no-repeat;background-position:center;background-size:cover;height:24px;vertical-align:top;width:24px}dso-banner .row>div{line-height:1.5;position:relative}dso-banner .row>div button{position:absolute;right:16px;top:0}dso-banner .row>div button dso-icon,dso-banner .row>div button svg.di{color:#000}@media screen and (min-width: 481px){dso-banner .row>div{padding-left:48px}}@media screen and (max-width: 480px){dso-banner .row>div{padding-top:39px}}dso-banner .row>div::before{content:"";display:inline-block;left:16px;position:absolute;top:0}dso-banner .row>div>.dso-rich-content{padding-right:24px}dso-banner .row>div>.dso-rich-content h1,dso-banner .row>div>.dso-rich-content h2,dso-banner .row>div>.dso-rich-content h3,dso-banner .row>div>.dso-rich-content h4,dso-banner .row>div>.dso-rich-content h5,dso-banner .row>div>.dso-rich-content h6{color:#000;font-size:1rem;line-height:1.5;margin-bottom:0}dso-banner .row>div>.dso-rich-content h1+p,dso-banner .row>div>.dso-rich-content h2+p,dso-banner .row>div>.dso-rich-content h3+p,dso-banner .row>div>.dso-rich-content h4+p,dso-banner .row>div>.dso-rich-content h5+p,dso-banner .row>div>.dso-rich-content h6+p{display:inline}dso-banner .row>div>.dso-rich-content h1+p+*,dso-banner .row>div>.dso-rich-content h2+p+*,dso-banner .row>div>.dso-rich-content h3+p+*,dso-banner .row>div>.dso-rich-content h4+p+*,dso-banner .row>div>.dso-rich-content h5+p+*,dso-banner .row>div>.dso-rich-content h6+p+*{margin-top:16px}dso-banner .row>div>.dso-rich-content>h2:first-child{float:left;margin-right:8px}dso-banner .row>div>.dso-rich-content *:first-child{margin-top:0}dso-banner .row>div>.dso-rich-content *:last-child{margin-bottom:0}@media screen and (max-width: 480px){dso-banner .row>div>.dso-rich-content{padding-right:0}}dso-banner[status=danger]{color:#191919;background-color:#f5d8dc;border-color:#f5d8dc}dso-banner[status=danger] .row>div::before{background:var(--dso-icon, var(--di-status-danger)) no-repeat;background-position:center;background-size:cover;height:24px;vertical-align:top;width:24px}dso-banner[status=warning]{color:#191919;background-color:#f8f6cc;border-color:#f8f6cc}dso-banner[status=warning] .row>div::before{background:var(--dso-icon, var(--di-status-warning)) no-repeat;background-position:center;background-size:cover;height:24px;vertical-align:top;width:24px}dso-dropdown-menu>.dso-primary::after,dso-dropdown-menu>.dso-secondary::after,dso-dropdown-menu>.dso-tertiary::after,dso-dropdown-menu>.btn::after{content:"";display:inline-block}dso-dropdown-menu>.dso-primary::after,dso-dropdown-menu>.dso-secondary::after,dso-dropdown-menu>.btn::after{margin-left:8px}dso-dropdown-menu>.dso-primary::after,dso-dropdown-menu>.btn-primary::after{background:var(--dso-icon, var(--di-chevron-down-wit)) no-repeat;background-position:center;background-size:cover;height:24px;vertical-align:top;width:24px}dso-dropdown-menu>.dso-secondary::after,dso-dropdown-menu>.btn-default::after{background:var(--dso-icon, var(--di-chevron-down)) no-repeat;background-position:center;background-size:cover;height:24px;vertical-align:top;width:24px}dso-dropdown-menu>.dso-secondary:hover::after,dso-dropdown-menu>.btn-default:hover::after{--dso-icon:var(--di-chevron-down-wit)}dso-dropdown-menu>.dso-tertiary::after,dso-dropdown-menu>.btn-link::after{background:var(--dso-icon, var(--di-chevron-down)) no-repeat;background-position:center;background-size:cover;height:24px;vertical-align:top;width:24px;margin-left:4px;position:relative;top:-2px}dso-dropdown-menu>.dso-tertiary:hover::after,dso-dropdown-menu>.btn-link:hover::after{--dso-icon:var(--di-chevron-down-scampi)}dso-dropdown-menu .dso-group-label{color:#999;font-size:0.875em;font-weight:400;margin:0;padding:4px 20px 2px;text-transform:uppercase}dso-dropdown-menu ul{margin:0;padding:0}dso-dropdown-menu ul:not(:last-child){border-bottom:1px solid #e5e5e5;margin-bottom:11px;padding-bottom:11px}dso-dropdown-menu .dso-dropdown-options{background-clip:padding-box;background-color:#fff;border-radius:4px;border:1px solid rgba(0, 0, 0, 0.15);box-shadow:0 8px 10px 1px rgba(0, 0, 0, 0.4);font-size:1rem;margin:2px 0 0;min-width:160px;padding:5px 0;position:absolute;text-align:left;top:100%;z-index:220}dso-dropdown-menu .dso-dropdown-options li{list-style:none}dso-dropdown-menu .dso-dropdown-options li a:visited{color:#191919}dso-dropdown-menu .dso-dropdown-options li a,dso-dropdown-menu .dso-dropdown-options li button{text-decoration:none;clear:both;color:#191919;display:block;font-weight:400;line-height:1.5;padding:3px 20px;text-decoration:none;white-space:nowrap}dso-dropdown-menu .dso-dropdown-options li a:hover,dso-dropdown-menu .dso-dropdown-options li a:focus,dso-dropdown-menu .dso-dropdown-options li a:active,dso-dropdown-menu .dso-dropdown-options li button:hover,dso-dropdown-menu .dso-dropdown-options li button:focus,dso-dropdown-menu .dso-dropdown-options li button:active{text-decoration:underline}dso-dropdown-menu .dso-dropdown-options li a:hover,dso-dropdown-menu .dso-dropdown-options li a:focus,dso-dropdown-menu .dso-dropdown-options li button:hover,dso-dropdown-menu .dso-dropdown-options li button:focus{background-color:#39870c;border-color:#39870c;color:#fff;text-decoration:none}dso-dropdown-menu .dso-dropdown-options li button{background-color:transparent;border:0;border-radius:0;text-align:inherit;width:100%}dso-dropdown-menu[dropdown-align=right] .dso-dropdown-options{right:0}dso-dropdown-menu[open]>.dso-primary::after,dso-dropdown-menu[open]>.btn-primary::after{--dso-icon:var(--di-chevron-up-wit)}dso-dropdown-menu[open]>.dso-secondary::after,dso-dropdown-menu[open]>.btn-default::after{--dso-icon:var(--di-chevron-up)}dso-dropdown-menu[open]>.dso-secondary:hover::after,dso-dropdown-menu[open]>.btn-default:hover::after{--dso-icon:var(--di-chevron-up-wit)}dso-dropdown-menu[open]>.dso-tertiary::after,dso-dropdown-menu[open]>.btn-link::after{--dso-icon:var(--di-chevron-up)}dso-dropdown-menu[open]>.dso-tertiary:hover::after,dso-dropdown-menu[open]>.btn-link:hover::after{--dso-icon:var(--di-chevron-up-scampi)}dso-dropdown-menu[checkable] .dso-group-label{padding-left:40px}dso-dropdown-menu[checkable] li a,dso-dropdown-menu[checkable] li button{padding-left:40px}dso-dropdown-menu[checkable] li.dso-checked a:not(:focus),dso-dropdown-menu[checkable] li.dso-checked button:not(:focus){background-color:#39870c;border-color:#39870c;color:#fff}dso-dropdown-menu[checkable] li.dso-checked a::before,dso-dropdown-menu[checkable] li.dso-checked button::before{background:var(--dso-icon, var(--di-check-wit)) no-repeat;background-position:center;background-size:cover;height:24px;vertical-align:top;width:24px;content:"";display:block;float:left;margin-left:-32px;margin-right:8px}dso-highlight-box>.dso-rich-content *:first-child{margin-top:0}dso-highlight-box>*:last-child{margin-bottom:0}dso-highlight-box .dso-tertiary:not([disabled]):hover,dso-highlight-box .dso-tertiary:not([disabled]):hover dso-icon,dso-highlight-box .dso-tertiary:not([disabled]):hover svg.di,dso-highlight-box .btn-link:not([disabled]):hover,dso-highlight-box .btn-link:not([disabled]):hover dso-icon,dso-highlight-box .btn-link:not([disabled]):hover svg.di{text-decoration:underline}dso-highlight-box.dso-has-counter{padding-top:2.5rem;position:relative}dso-highlight-box .dso-step-counter{background-color:#275937;border:8px solid #79b929;border-radius:50%;box-sizing:content-box;color:#fff;font-size:1.25rem;font-weight:500;height:2rem;left:16px;line-height:2rem;position:absolute;text-align:center;top:-1.5rem;width:2rem}dso-highlight-box .dso-step-counter svg.di{height:1.5rem;margin-top:0.25rem;width:1.5rem}dso-highlight-box dso-icon{vertical-align:text-top}dso-highlight-box[yellow],dso-highlight-box:not([border]):not([white]){--di-chevron-right-grijs90:url("data:image/svg+xml,%3csvg id='chevron-right' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' style='color: %23191919%3b'%3e %3cpath fill='currentColor' d='M9%2c19a.93.93%2c0%2c0%2c1-.67-.29%2c1%2c1%2c0%2c0%2c1%2c0-1.42l5-5.29-5-5.29a1%2c1%2c0%2c0%2c1%2c0-1.42.93.93%2c0%2c0%2c1%2c1.35%2c0L16%2c12%2c9.62%2c18.71A.93.93%2c0%2c0%2c1%2c9%2c19Z'/%3e %3c/svg%3e")}dso-highlight-box[yellow] .dso-tertiary:not([disabled]),dso-highlight-box[yellow] .btn-link:not([disabled]),dso-highlight-box:not([border]):not([white]) .dso-tertiary:not([disabled]),dso-highlight-box:not([border]):not([white]) .btn-link:not([disabled]){color:#191919}dso-highlight-box[yellow] .dso-tertiary:not([disabled]):hover,dso-highlight-box[yellow] .dso-tertiary:not([disabled]):hover dso-icon,dso-highlight-box[yellow] .dso-tertiary:not([disabled]):hover svg.di,dso-highlight-box[yellow] .dso-tertiary:not([disabled]):focus,dso-highlight-box[yellow] .dso-tertiary:not([disabled]):focus dso-icon,dso-highlight-box[yellow] .dso-tertiary:not([disabled]):focus svg.di,dso-highlight-box[yellow] .btn-link:not([disabled]):hover,dso-highlight-box[yellow] .btn-link:not([disabled]):hover dso-icon,dso-highlight-box[yellow] .btn-link:not([disabled]):hover svg.di,dso-highlight-box[yellow] .btn-link:not([disabled]):focus,dso-highlight-box[yellow] .btn-link:not([disabled]):focus dso-icon,dso-highlight-box[yellow] .btn-link:not([disabled]):focus svg.di,dso-highlight-box:not([border]):not([white]) .dso-tertiary:not([disabled]):hover,dso-highlight-box:not([border]):not([white]) .dso-tertiary:not([disabled]):hover dso-icon,dso-highlight-box:not([border]):not([white]) .dso-tertiary:not([disabled]):hover svg.di,dso-highlight-box:not([border]):not([white]) .dso-tertiary:not([disabled]):focus,dso-highlight-box:not([border]):not([white]) .dso-tertiary:not([disabled]):focus dso-icon,dso-highlight-box:not([border]):not([white]) .dso-tertiary:not([disabled]):focus svg.di,dso-highlight-box:not([border]):not([white]) .btn-link:not([disabled]):hover,dso-highlight-box:not([border]):not([white]) .btn-link:not([disabled]):hover dso-icon,dso-highlight-box:not([border]):not([white]) .btn-link:not([disabled]):hover svg.di,dso-highlight-box:not([border]):not([white]) .btn-link:not([disabled]):focus,dso-highlight-box:not([border]):not([white]) .btn-link:not([disabled]):focus dso-icon,dso-highlight-box:not([border]):not([white]) .btn-link:not([disabled]):focus svg.di{color:#666}dso-highlight-box[yellow] a:not(.btn):not(.dso-primary):not(.dso-secondary):not(.dso-tertiary),dso-highlight-box[yellow] a:visited:not(.btn):not(.dso-primary):not(.dso-secondary):not(.dso-tertiary),dso-highlight-box:not([border]):not([white]) a:not(.btn):not(.dso-primary):not(.dso-secondary):not(.dso-tertiary),dso-highlight-box:not([border]):not([white]) a:visited:not(.btn):not(.dso-primary):not(.dso-secondary):not(.dso-tertiary){color:#191919}dso-highlight-box:not([border]):not([white]) .dso-link-list li{margin-bottom:16px}dso-highlight-box:not([border]):not([white]) .dso-link-list li:last-child{margin-bottom:0}dso-highlight-box:not([border]):not([white]) .dso-link-list a{text-decoration:none;color:#191919}dso-highlight-box:not([border]):not([white]) .dso-link-list a:hover,dso-highlight-box:not([border]):not([white]) .dso-link-list a:focus,dso-highlight-box:not([border]):not([white]) .dso-link-list a:active{text-decoration:underline}dso-highlight-box:not([border]):not([white]) .dso-link-list a::before,dso-highlight-box:not([border]):not([white]) .dso-link-list a:active::before,dso-highlight-box:not([border]):not([white]) .dso-link-list a:focus::before,dso-highlight-box:not([border]):not([white]) .dso-link-list a:hover::before{background:var(--dso-icon, var(--di-chevron-right-grijs90)) no-repeat;background-position:center;background-size:cover;height:24px;vertical-align:top;width:24px}dso-highlight-box:not([border]):not([white]) .dso-link-list a:active{color:#191919;text-decoration:none}dso-highlight-box:not([border]):not([white]) .dso-link-list a.download::after{background:var(--dso-icon, var(--di-download-grijs90)) no-repeat;background-position:center;background-size:cover;height:24px;vertical-align:top;width:24px}dso-highlight-box:not([border]):not([white]) .dso-link-list a.extern::after{background:var(--dso-icon, var(--di-external-link-grijs90)) no-repeat;background-position:center;background-size:cover;height:24px;vertical-align:top;width:24px}dso-info .dso-rich-content *:first-child{margin-top:0}dso-info .dso-rich-content img{display:block;margin:8px auto;max-width:100%}dso-info .dso-rich-content a:not(.btn):not(.dso-primary):not(.dso-secondary):not(.dso-tertiary),dso-info .dso-rich-content a:hover,dso-info .dso-rich-content a:focus,dso-info .dso-rich-content a:active,dso-info .dso-rich-content a:visited{color:#191919}dso-info .dso-rich-content a:active{text-decoration:none}dso-info .dso-rich-content .dso-tertiary:not([disabled]),dso-info .dso-rich-content .btn-link:not([disabled]){color:#000}dso-info .dso-rich-content .dso-tertiary:not([disabled]):hover,dso-info .dso-rich-content .dso-tertiary:not([disabled]):hover dso-icon,dso-info .dso-rich-content .dso-tertiary:not([disabled]):hover svg.di,dso-info .dso-rich-content .dso-tertiary:not([disabled]):focus,dso-info .dso-rich-content .dso-tertiary:not([disabled]):focus dso-icon,dso-info .dso-rich-content .dso-tertiary:not([disabled]):focus svg.di,dso-info .dso-rich-content .btn-link:not([disabled]):hover,dso-info .dso-rich-content .btn-link:not([disabled]):hover dso-icon,dso-info .dso-rich-content .btn-link:not([disabled]):hover svg.di,dso-info .dso-rich-content .btn-link:not([disabled]):focus,dso-info .dso-rich-content .btn-link:not([disabled]):focus dso-icon,dso-info .dso-rich-content .btn-link:not([disabled]):focus svg.di{color:#666;text-decoration:underline}dso-label span[slot=symbol]{background-color:#fff;display:block;float:left;height:20px;margin-top:2px;margin-right:8px;width:24px;overflow:hidden;position:relative}dso-label span[slot=symbol]>span{display:block;position:absolute;top:0;bottom:0;left:0;right:0}dso-map-controls>*+*{margin-top:32px}dso-selectable .dso-rich-content[slot=info] *:first-child{margin-top:0}dso-selectable .dso-rich-content[slot=info] img{display:block;margin:8px auto;max-width:100%}dso-selectable .dso-rich-content[slot=info] a:not(.btn):not(.dso-primary):not(.dso-secondary):not(.dso-tertiary),dso-selectable .dso-rich-content[slot=info] a:hover,dso-selectable .dso-rich-content[slot=info] a:focus,dso-selectable .dso-rich-content[slot=info] a:active,dso-selectable .dso-rich-content[slot=info] a:visited{color:#191919}dso-selectable .dso-rich-content[slot=info] a:active{text-decoration:none}dso-selectable .dso-rich-content[slot=info] .dso-tertiary:not([disabled]),dso-selectable .dso-rich-content[slot=info] .btn-link:not([disabled]){color:#000}dso-selectable .dso-rich-content[slot=info] .dso-tertiary:not([disabled]):hover,dso-selectable .dso-rich-content[slot=info] .dso-tertiary:not([disabled]):hover dso-icon,dso-selectable .dso-rich-content[slot=info] .dso-tertiary:not([disabled]):hover svg.di,dso-selectable .dso-rich-content[slot=info] .dso-tertiary:not([disabled]):focus,dso-selectable .dso-rich-content[slot=info] .dso-tertiary:not([disabled]):focus dso-icon,dso-selectable .dso-rich-content[slot=info] .dso-tertiary:not([disabled]):focus svg.di,dso-selectable .dso-rich-content[slot=info] .btn-link:not([disabled]):hover,dso-selectable .dso-rich-content[slot=info] .btn-link:not([disabled]):hover dso-icon,dso-selectable .dso-rich-content[slot=info] .btn-link:not([disabled]):hover svg.di,dso-selectable .dso-rich-content[slot=info] .btn-link:not([disabled]):focus,dso-selectable .dso-rich-content[slot=info] .btn-link:not([disabled]):focus dso-icon,dso-selectable .dso-rich-content[slot=info] .btn-link:not([disabled]):focus svg.di{color:#666;text-decoration:underline}dso-viewer-grid .dso-filterblok{margin-left:-16px;margin-right:-16px}dso-viewer-grid .dso-filterblok .dso-filterblok-address{font-weight:bold;margin:8px 0}@media screen and (max-width: 480px){dso-viewer-grid .dso-filterblok .dso-context-wrapper .dso-context-container{flex-basis:auto}}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as s,h as t,H as i,g as l}from"./p-c62606a3.js";const e=[{width:624,alias:"large"},{width:375,alias:"medium"},{width:0,alias:"small"}];let a=class{constructor(t){s(this,t),this.sizeAlias=e[0].alias,this.sizeWidth=0,this.observer=new ResizeObserver((([s])=>{var t,i;const l=null!==(i=null===(t=e.find((t=>s.contentRect.width>=t.width)))||void 0===t?void 0:t.alias)&&void 0!==i?i:e[0].alias;this.sizeAlias=l}))}componentWillLoad(){this.observer.observe(this.host)}disconnectedCallback(){this.observer.unobserve(this.host)}render(){return t(i,{small:"small"===this.sizeAlias,medium:"medium"===this.sizeAlias,large:"large"===this.sizeAlias},t("slot",null))}get host(){return l(this)}};a.style=":host{display:block}";export{a as dso_responsive_element}
|