@dso-toolkit/core 45.0.0 → 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
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
const index = require('./index-4066351a.js');
|
|
6
|
+
|
|
7
|
+
const accordionSectionCss = "*,*::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}:host{display:block}:host .dso-section-handle{font-size:1em;font-weight:600;line-height:1.375em;margin:0;position:relative}:host .dso-section-handle>a:active{text-decoration:none}:host .dso-section-handle a{text-decoration:none}:host .dso-section-handle a:hover,:host .dso-section-handle a:focus{text-decoration:none}:host .dso-section-handle a:active{text-decoration:underline}:host .dso-section-handle .dso-status{font-weight:400;text-decoration:underline}:host .dso-section-handle>button,:host .dso-section-handle>a{align-items:center;background-color:transparent;border:0;cursor:pointer;display:flex;font-family:Asap, sans-serif;font-size:1em;font-weight:600;line-height:1.375em;margin:0;padding:12px 16px 12px;width:100%;word-break:break-word}:host .dso-section-handle>button dso-icon,:host .dso-section-handle>a dso-icon{flex-shrink:0}:host .dso-section-handle>button>.dso-section-handle-addons:first-child,:host .dso-section-handle>button>dso-icon:first-child,:host .dso-section-handle>a>.dso-section-handle-addons:first-child,:host .dso-section-handle>a>dso-icon:first-child{margin-right:8px}:host .dso-section-handle>button>dso-icon:last-child,:host .dso-section-handle>a>dso-icon:last-child{margin-left:auto}:host .dso-section-handle>button>.dso-section-handle-addons:last-child,:host .dso-section-handle>a>.dso-section-handle-addons:last-child{margin-left:auto}:host .dso-section-handle>button>.dso-section-handle-addons:last-child dso-icon,:host .dso-section-handle>a>.dso-section-handle-addons:last-child dso-icon{margin-left:16px}:host(:not([open])) .dso-section-body{display:none}.dso-section-body{background-color:#fff;border-top:0;margin-top:-4px;padding:20px 16px 16px}:host(.dso-accordion-default) .dso-section-handle{background-color:#fff;border:1px solid #8b4a6a;border-radius:4px}:host(.dso-accordion-default) .dso-section-handle a,:host(.dso-accordion-default) .dso-section-handle button{color:#8b4a6a}:host(.dso-accordion-default) .dso-section-handle a:hover,:host(.dso-accordion-default) .dso-section-handle a:active,:host(.dso-accordion-default) .dso-section-handle a.active,:host(.dso-accordion-default) .dso-section-handle button:hover,:host(.dso-accordion-default) .dso-section-handle button:active,:host(.dso-accordion-default) .dso-section-handle button.active{color:#8b4a6a}:host(.dso-accordion-default) .dso-section-body{border:1px solid #8b4a6a;border-radius:0 0 4px 4px}:host(.dso-accordion-default[open]:not(.dso-nested-accordion))>.dso-section-handle{background-color:#8b4a6a;border-radius:4px}:host(.dso-accordion-default[open]:not(.dso-nested-accordion))>.dso-section-handle a,:host(.dso-accordion-default[open]:not(.dso-nested-accordion))>.dso-section-handle button{color:#fff}:host(.dso-accordion-default[open]:not(.dso-nested-accordion))>.dso-section-handle a dso-attachments-counter,:host(.dso-accordion-default[open]:not(.dso-nested-accordion))>.dso-section-handle button dso-attachments-counter{--dso-attachments-counter-color:#fff;--dso-icon:var(--di-paperclip-wit)}:host(.dso-accordion-default.dso-nested-accordion[open]) .dso-section-body{background-color:#d1b7c4}:host(.dso-accordion-compact) .dso-section-handle{border:1px solid transparent}:host(.dso-accordion-compact) .dso-section-handle a,:host(.dso-accordion-compact) .dso-section-handle button{color:#39870c}:host(.dso-accordion-compact) .dso-section-handle a:hover,:host(.dso-accordion-compact) .dso-section-handle a:active,:host(.dso-accordion-compact) .dso-section-handle a.active,:host(.dso-accordion-compact) .dso-section-handle button:hover,:host(.dso-accordion-compact) .dso-section-handle button:active,:host(.dso-accordion-compact) .dso-section-handle button.active{color:#39870c}:host(.dso-accordion-compact),:host(.dso-accordion-compact) .dso-section-body{border:0;border-top:1px solid #ccc}:host(.dso-accordion-compact):last-child{border-bottom:1px solid #ccc}:host(.dso-accordion-compact)+dso-accordion-section{margin-top:0}:host(.dso-accordion-compact) .dso-section-body{margin-top:0}:host(.dso-accordion-compact[open]:not(.dso-nested-accordion))>.dso-section-handle{background-color:transparent}:host(.dso-accordion-compact[open]:not(.dso-nested-accordion))>.dso-section-handle a,:host(.dso-accordion-compact[open]:not(.dso-nested-accordion))>.dso-section-handle button{color:#39870c}:host(.dso-accordion-compact[open]:not(.dso-nested-accordion))>.dso-section-handle a:hover,:host(.dso-accordion-compact[open]:not(.dso-nested-accordion))>.dso-section-handle a:active,:host(.dso-accordion-compact[open]:not(.dso-nested-accordion))>.dso-section-handle a.active,:host(.dso-accordion-compact[open]:not(.dso-nested-accordion))>.dso-section-handle button:hover,:host(.dso-accordion-compact[open]:not(.dso-nested-accordion))>.dso-section-handle button:active,:host(.dso-accordion-compact[open]:not(.dso-nested-accordion))>.dso-section-handle button.active{color:#39870c}:host(.dso-accordion-compact[open]:not(.dso-nested-accordion))>.dso-section-handle a dso-attachments-counter,:host(.dso-accordion-compact[open]:not(.dso-nested-accordion))>.dso-section-handle button dso-attachments-counter{--dso-attachments-counter-color:#666;--dso-icon:var(--di-paperclip-grijs)}:host(.dso-accordion-compact.dso-nested-accordion[open])>.dso-section-body{padding-bottom:0}:host(.dso-accordion-compact.dso-nested-accordion[open])>.dso-section-body dso-accordion-section:last-child{border-bottom:0}:host(.dso-accordion-conclusion) .dso-section-handle{background-color:#f2f2f2;border:1px solid #f2f2f2}:host(.dso-accordion-conclusion) .dso-section-handle a,:host(.dso-accordion-conclusion) .dso-section-handle button{color:#191919}:host(.dso-accordion-conclusion) .dso-section-handle a:hover,:host(.dso-accordion-conclusion) .dso-section-handle a:active,:host(.dso-accordion-conclusion) .dso-section-handle a.active,:host(.dso-accordion-conclusion) .dso-section-handle button:hover,:host(.dso-accordion-conclusion) .dso-section-handle button:active,:host(.dso-accordion-conclusion) .dso-section-handle button.active{background-color:#e5e5e5;color:#191919}:host(.dso-accordion-conclusion) .dso-section-body{border:2px solid #f2f2f2}:host(.dso-accordion-conclusion[open]:not(.dso-nested-accordion))>.dso-section-handle{background-color:#f2f2f2}:host(.dso-accordion-conclusion[open]:not(.dso-nested-accordion))>.dso-section-handle a,:host(.dso-accordion-conclusion[open]:not(.dso-nested-accordion))>.dso-section-handle button{color:#191919}:host(.dso-accordion-conclusion[open]:not(.dso-nested-accordion))>.dso-section-handle a dso-attachments-counter,:host(.dso-accordion-conclusion[open]:not(.dso-nested-accordion))>.dso-section-handle button dso-attachments-counter{--dso-attachments-counter-color:#666;--dso-icon:var(--di-paperclip-grijs)}:host(.dso-accordion-conclusion.dso-nested-accordion[open]){background-color:#fff;border:2px solid #f2f2f2}";
|
|
8
|
+
|
|
9
|
+
let AccordionSection = class {
|
|
10
|
+
constructor(hostRef) {
|
|
11
|
+
index.registerInstance(this, hostRef);
|
|
12
|
+
this.heading = 'h2';
|
|
13
|
+
this.open = false;
|
|
14
|
+
this.hasNestedSection = false;
|
|
15
|
+
}
|
|
16
|
+
componentWillLoad() {
|
|
17
|
+
const accordion = this.host.parentElement;
|
|
18
|
+
if (isAccordion(accordion)) {
|
|
19
|
+
this.accordion = accordion;
|
|
20
|
+
accordion.getState().then(state => {
|
|
21
|
+
this.accordionState = state;
|
|
22
|
+
index.forceUpdate(this.host);
|
|
23
|
+
});
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
componentDidLoad() {
|
|
27
|
+
this.hasNestedSection = this.host.querySelector('dso-accordion') !== null;
|
|
28
|
+
}
|
|
29
|
+
/** Toggle this section */
|
|
30
|
+
async toggleSection() {
|
|
31
|
+
var _a;
|
|
32
|
+
return (_a = this.accordion) === null || _a === void 0 ? void 0 : _a.toggleSection(this.host);
|
|
33
|
+
}
|
|
34
|
+
async toggle(e) {
|
|
35
|
+
var _a;
|
|
36
|
+
e === null || e === void 0 ? void 0 : e.preventDefault();
|
|
37
|
+
return (_a = this.accordion) === null || _a === void 0 ? void 0 : _a.toggleSection(this.host, e);
|
|
38
|
+
}
|
|
39
|
+
render() {
|
|
40
|
+
if (!this.accordionState) {
|
|
41
|
+
return;
|
|
42
|
+
}
|
|
43
|
+
const { variant, reverseAlign } = this.accordionState;
|
|
44
|
+
const hasAddons = this.status || this.state || this.icon || this.attachmentCount;
|
|
45
|
+
return (index.h(index.Host, { class: {
|
|
46
|
+
'dso-accordion-section': true,
|
|
47
|
+
['dso-accordion-' + variant]: true,
|
|
48
|
+
'dso-nested-accordion': this.hasNestedSection,
|
|
49
|
+
} }, index.h(Handle, { heading: this.heading }, index.h(HandleElement, { handleUrl: this.handleUrl, onClick: async (event) => await this.toggle(event), open: this.open }, reverseAlign
|
|
50
|
+
? (index.h(index.Fragment, null, hasAddons && (index.h("div", { class: "dso-section-handle-addons" }, index.h(HandleIcon, { icon: this.icon }))), index.h("span", null, this.handleTitle), index.h("dso-icon", { icon: this.open ? 'chevron-up' : 'chevron-down' })))
|
|
51
|
+
: (index.h(index.Fragment, null, index.h("dso-icon", { icon: this.open ? 'chevron-up' : 'chevron-down' }), this.state && index.h("span", { class: "sr-only" }, stateMap[this.state]), index.h("span", null, this.handleTitle), hasAddons && (index.h("div", { class: "dso-section-handle-addons" }, this.status && index.h("span", { class: "dso-status" }, this.status), index.h(HandleIcon, { state: this.state, icon: this.icon, attachmentCount: this.attachmentCount }))))))), index.h("div", { class: "dso-section-body", style: this.open ? {} : { display: 'none' } }, index.h("slot", null))));
|
|
52
|
+
}
|
|
53
|
+
get host() { return index.getElement(this); }
|
|
54
|
+
};
|
|
55
|
+
function isAccordion(element) {
|
|
56
|
+
return element instanceof HTMLElement && 'getState' in element;
|
|
57
|
+
}
|
|
58
|
+
const Handle = ({ heading }, children) => {
|
|
59
|
+
switch (heading) {
|
|
60
|
+
default:
|
|
61
|
+
case 'h2':
|
|
62
|
+
return index.h("h2", { class: "dso-section-handle" }, children);
|
|
63
|
+
case 'h3':
|
|
64
|
+
return index.h("h3", { class: "dso-section-handle" }, children);
|
|
65
|
+
case 'h4':
|
|
66
|
+
return index.h("h4", { class: "dso-section-handle" }, children);
|
|
67
|
+
case 'h5':
|
|
68
|
+
return index.h("h5", { class: "dso-section-handle" }, children);
|
|
69
|
+
}
|
|
70
|
+
};
|
|
71
|
+
const HandleElement = ({ handleUrl, onClick, open }, children) => {
|
|
72
|
+
if (handleUrl) {
|
|
73
|
+
return (index.h("a", { href: handleUrl, onClick: onClick, "aria-expanded": open ? 'true' : 'false' }, children));
|
|
74
|
+
}
|
|
75
|
+
return (index.h("button", { type: "button", onClick: onClick, "aria-expanded": open ? 'true' : 'false' }, children));
|
|
76
|
+
};
|
|
77
|
+
const HandleIcon = ({ state, icon, attachmentCount }) => {
|
|
78
|
+
if (state) {
|
|
79
|
+
return index.h(HandleStateIcon, { state: state });
|
|
80
|
+
}
|
|
81
|
+
if (attachmentCount) {
|
|
82
|
+
return index.h("dso-attachments-counter", { count: attachmentCount });
|
|
83
|
+
}
|
|
84
|
+
if (icon) {
|
|
85
|
+
return index.h("dso-icon", { icon: icon });
|
|
86
|
+
}
|
|
87
|
+
};
|
|
88
|
+
const stateMap = {
|
|
89
|
+
success: 'succes:',
|
|
90
|
+
info: 'info:',
|
|
91
|
+
warning: 'waarschuwing:',
|
|
92
|
+
danger: 'fout:'
|
|
93
|
+
};
|
|
94
|
+
const HandleStateIcon = ({ state }) => {
|
|
95
|
+
if (state === 'danger') {
|
|
96
|
+
return (index.h("dso-icon", { icon: "status-danger" }));
|
|
97
|
+
}
|
|
98
|
+
if (state === 'success') {
|
|
99
|
+
return (index.h("dso-icon", { icon: "status-success" }));
|
|
100
|
+
}
|
|
101
|
+
if (state === 'info') {
|
|
102
|
+
return (index.h("dso-icon", { icon: "status-info" }));
|
|
103
|
+
}
|
|
104
|
+
if (state === 'warning') {
|
|
105
|
+
return (index.h("dso-icon", { icon: "status-warning" }));
|
|
106
|
+
}
|
|
107
|
+
};
|
|
108
|
+
AccordionSection.style = accordionSectionCss;
|
|
109
|
+
|
|
110
|
+
exports.dso_accordion_section = AccordionSection;
|
|
@@ -0,0 +1,297 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
const index = require('./index-4066351a.js');
|
|
6
|
+
|
|
7
|
+
const appendToMap = (map, propName, value) => {
|
|
8
|
+
const items = map.get(propName);
|
|
9
|
+
if (!items) {
|
|
10
|
+
map.set(propName, [value]);
|
|
11
|
+
}
|
|
12
|
+
else if (!items.includes(value)) {
|
|
13
|
+
items.push(value);
|
|
14
|
+
}
|
|
15
|
+
};
|
|
16
|
+
const debounce = (fn, ms) => {
|
|
17
|
+
let timeoutId;
|
|
18
|
+
return (...args) => {
|
|
19
|
+
if (timeoutId) {
|
|
20
|
+
clearTimeout(timeoutId);
|
|
21
|
+
}
|
|
22
|
+
timeoutId = setTimeout(() => {
|
|
23
|
+
timeoutId = 0;
|
|
24
|
+
fn(...args);
|
|
25
|
+
}, ms);
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* Check if a possible element isConnected.
|
|
31
|
+
* The property might not be there, so we check for it.
|
|
32
|
+
*
|
|
33
|
+
* We want it to return true if isConnected is not a property,
|
|
34
|
+
* otherwise we would remove these elements and would not update.
|
|
35
|
+
*
|
|
36
|
+
* Better leak in Edge than to be useless.
|
|
37
|
+
*/
|
|
38
|
+
const isConnected = (maybeElement) => !('isConnected' in maybeElement) || maybeElement.isConnected;
|
|
39
|
+
const cleanupElements = debounce((map) => {
|
|
40
|
+
for (let key of map.keys()) {
|
|
41
|
+
map.set(key, map.get(key).filter(isConnected));
|
|
42
|
+
}
|
|
43
|
+
}, 2000);
|
|
44
|
+
const stencilSubscription = () => {
|
|
45
|
+
if (typeof index.getRenderingRef !== 'function') {
|
|
46
|
+
// If we are not in a stencil project, we do nothing.
|
|
47
|
+
// This function is not really exported by @stencil/core.
|
|
48
|
+
return {};
|
|
49
|
+
}
|
|
50
|
+
const elmsToUpdate = new Map();
|
|
51
|
+
return {
|
|
52
|
+
dispose: () => elmsToUpdate.clear(),
|
|
53
|
+
get: (propName) => {
|
|
54
|
+
const elm = index.getRenderingRef();
|
|
55
|
+
if (elm) {
|
|
56
|
+
appendToMap(elmsToUpdate, propName, elm);
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
set: (propName) => {
|
|
60
|
+
const elements = elmsToUpdate.get(propName);
|
|
61
|
+
if (elements) {
|
|
62
|
+
elmsToUpdate.set(propName, elements.filter(index.forceUpdate));
|
|
63
|
+
}
|
|
64
|
+
cleanupElements(elmsToUpdate);
|
|
65
|
+
},
|
|
66
|
+
reset: () => {
|
|
67
|
+
elmsToUpdate.forEach((elms) => elms.forEach(index.forceUpdate));
|
|
68
|
+
cleanupElements(elmsToUpdate);
|
|
69
|
+
},
|
|
70
|
+
};
|
|
71
|
+
};
|
|
72
|
+
|
|
73
|
+
const unwrap = (val) => (typeof val === 'function' ? val() : val);
|
|
74
|
+
const createObservableMap = (defaultState, shouldUpdate = (a, b) => a !== b) => {
|
|
75
|
+
const unwrappedState = unwrap(defaultState);
|
|
76
|
+
let states = new Map(Object.entries(unwrappedState !== null && unwrappedState !== void 0 ? unwrappedState : {}));
|
|
77
|
+
const handlers = {
|
|
78
|
+
dispose: [],
|
|
79
|
+
get: [],
|
|
80
|
+
set: [],
|
|
81
|
+
reset: [],
|
|
82
|
+
};
|
|
83
|
+
const reset = () => {
|
|
84
|
+
var _a;
|
|
85
|
+
// When resetting the state, the default state may be a function - unwrap it to invoke it.
|
|
86
|
+
// otherwise, the state won't be properly reset
|
|
87
|
+
states = new Map(Object.entries((_a = unwrap(defaultState)) !== null && _a !== void 0 ? _a : {}));
|
|
88
|
+
handlers.reset.forEach((cb) => cb());
|
|
89
|
+
};
|
|
90
|
+
const dispose = () => {
|
|
91
|
+
// Call first dispose as resetting the state would
|
|
92
|
+
// cause less updates ;)
|
|
93
|
+
handlers.dispose.forEach((cb) => cb());
|
|
94
|
+
reset();
|
|
95
|
+
};
|
|
96
|
+
const get = (propName) => {
|
|
97
|
+
handlers.get.forEach((cb) => cb(propName));
|
|
98
|
+
return states.get(propName);
|
|
99
|
+
};
|
|
100
|
+
const set = (propName, value) => {
|
|
101
|
+
const oldValue = states.get(propName);
|
|
102
|
+
if (shouldUpdate(value, oldValue, propName)) {
|
|
103
|
+
states.set(propName, value);
|
|
104
|
+
handlers.set.forEach((cb) => cb(propName, value, oldValue));
|
|
105
|
+
}
|
|
106
|
+
};
|
|
107
|
+
const state = (typeof Proxy === 'undefined'
|
|
108
|
+
? {}
|
|
109
|
+
: new Proxy(unwrappedState, {
|
|
110
|
+
get(_, propName) {
|
|
111
|
+
return get(propName);
|
|
112
|
+
},
|
|
113
|
+
ownKeys(_) {
|
|
114
|
+
return Array.from(states.keys());
|
|
115
|
+
},
|
|
116
|
+
getOwnPropertyDescriptor() {
|
|
117
|
+
return {
|
|
118
|
+
enumerable: true,
|
|
119
|
+
configurable: true,
|
|
120
|
+
};
|
|
121
|
+
},
|
|
122
|
+
has(_, propName) {
|
|
123
|
+
return states.has(propName);
|
|
124
|
+
},
|
|
125
|
+
set(_, propName, value) {
|
|
126
|
+
set(propName, value);
|
|
127
|
+
return true;
|
|
128
|
+
},
|
|
129
|
+
}));
|
|
130
|
+
const on = (eventName, callback) => {
|
|
131
|
+
handlers[eventName].push(callback);
|
|
132
|
+
return () => {
|
|
133
|
+
removeFromArray(handlers[eventName], callback);
|
|
134
|
+
};
|
|
135
|
+
};
|
|
136
|
+
const onChange = (propName, cb) => {
|
|
137
|
+
const unSet = on('set', (key, newValue) => {
|
|
138
|
+
if (key === propName) {
|
|
139
|
+
cb(newValue);
|
|
140
|
+
}
|
|
141
|
+
});
|
|
142
|
+
// We need to unwrap the defaultState because it might be a function.
|
|
143
|
+
// Otherwise we might not be sending the right reset value.
|
|
144
|
+
const unReset = on('reset', () => cb(unwrap(defaultState)[propName]));
|
|
145
|
+
return () => {
|
|
146
|
+
unSet();
|
|
147
|
+
unReset();
|
|
148
|
+
};
|
|
149
|
+
};
|
|
150
|
+
const use = (...subscriptions) => {
|
|
151
|
+
const unsubs = subscriptions.reduce((unsubs, subscription) => {
|
|
152
|
+
if (subscription.set) {
|
|
153
|
+
unsubs.push(on('set', subscription.set));
|
|
154
|
+
}
|
|
155
|
+
if (subscription.get) {
|
|
156
|
+
unsubs.push(on('get', subscription.get));
|
|
157
|
+
}
|
|
158
|
+
if (subscription.reset) {
|
|
159
|
+
unsubs.push(on('reset', subscription.reset));
|
|
160
|
+
}
|
|
161
|
+
if (subscription.dispose) {
|
|
162
|
+
unsubs.push(on('dispose', subscription.dispose));
|
|
163
|
+
}
|
|
164
|
+
return unsubs;
|
|
165
|
+
}, []);
|
|
166
|
+
return () => unsubs.forEach((unsub) => unsub());
|
|
167
|
+
};
|
|
168
|
+
const forceUpdate = (key) => {
|
|
169
|
+
const oldValue = states.get(key);
|
|
170
|
+
handlers.set.forEach((cb) => cb(key, oldValue, oldValue));
|
|
171
|
+
};
|
|
172
|
+
return {
|
|
173
|
+
state,
|
|
174
|
+
get,
|
|
175
|
+
set,
|
|
176
|
+
on,
|
|
177
|
+
onChange,
|
|
178
|
+
use,
|
|
179
|
+
dispose,
|
|
180
|
+
reset,
|
|
181
|
+
forceUpdate,
|
|
182
|
+
};
|
|
183
|
+
};
|
|
184
|
+
const removeFromArray = (array, item) => {
|
|
185
|
+
const index = array.indexOf(item);
|
|
186
|
+
if (index >= 0) {
|
|
187
|
+
array[index] = array[array.length - 1];
|
|
188
|
+
array.length--;
|
|
189
|
+
}
|
|
190
|
+
};
|
|
191
|
+
|
|
192
|
+
const createStore = (defaultState, shouldUpdate) => {
|
|
193
|
+
const map = createObservableMap(defaultState, shouldUpdate);
|
|
194
|
+
map.use(stencilSubscription());
|
|
195
|
+
return map;
|
|
196
|
+
};
|
|
197
|
+
|
|
198
|
+
const accordionCss = ":host{display:block}*,*::after,*::before{box-sizing:border-box}";
|
|
199
|
+
|
|
200
|
+
let Accordion = class {
|
|
201
|
+
constructor(hostRef) {
|
|
202
|
+
index.registerInstance(this, hostRef);
|
|
203
|
+
this.dsoToggleSection = index.createEvent(this, "dsoToggleSection", 7);
|
|
204
|
+
this.variant = 'default';
|
|
205
|
+
/** Places the chevron at the opposite side. Note: this mode does not display `state`, `attachmentCount` or `status` props on child `<dso-accordion-section>` elements */
|
|
206
|
+
this.reverseAlign = false;
|
|
207
|
+
/** Allows multiple sections to be open at the same time. */
|
|
208
|
+
this.allowMultipleOpen = false;
|
|
209
|
+
const { state } = createStore({
|
|
210
|
+
variant: this.variant || 'default',
|
|
211
|
+
reverseAlign: this.reverseAlign,
|
|
212
|
+
});
|
|
213
|
+
this.accordionState = state;
|
|
214
|
+
}
|
|
215
|
+
updateVariant(variant = 'default') {
|
|
216
|
+
this.accordionState.variant = variant || 'default';
|
|
217
|
+
}
|
|
218
|
+
updateReverseAlign(reverseAlign) {
|
|
219
|
+
this.accordionState.reverseAlign = reverseAlign;
|
|
220
|
+
}
|
|
221
|
+
watchAllowMultiple(allowMultipleOpen) {
|
|
222
|
+
if (!allowMultipleOpen) {
|
|
223
|
+
const openSections = Array.from(this.host.querySelectorAll(':scope > dso-accordion-section[open]'));
|
|
224
|
+
// By removing the first section, it is kept open;
|
|
225
|
+
openSections.shift();
|
|
226
|
+
openSections.forEach(section => this.controlOpenAttribute(section, false));
|
|
227
|
+
}
|
|
228
|
+
}
|
|
229
|
+
async getState() {
|
|
230
|
+
return this.accordionState;
|
|
231
|
+
}
|
|
232
|
+
/** Toggle a section. Pass the `<dso-accordion-section>` element or the index of the section. */
|
|
233
|
+
async toggleSection(sectionElement, event) {
|
|
234
|
+
const sections = Array.from(this.host.querySelectorAll(':scope > dso-accordion-section'));
|
|
235
|
+
if (typeof sectionElement === 'number') {
|
|
236
|
+
sectionElement = sections[sectionElement];
|
|
237
|
+
}
|
|
238
|
+
if (!(sectionElement instanceof HTMLElement) || !sections.includes(sectionElement)) {
|
|
239
|
+
return;
|
|
240
|
+
}
|
|
241
|
+
const sectionIsOpen = this.isSectionOpen(sectionElement);
|
|
242
|
+
if (this.allowMultipleOpen) {
|
|
243
|
+
this.controlOpenAttribute(sectionElement, !sectionIsOpen);
|
|
244
|
+
this.emitToggleEvent(sectionElement, sections, event);
|
|
245
|
+
return;
|
|
246
|
+
}
|
|
247
|
+
if (sectionIsOpen) {
|
|
248
|
+
this.controlOpenAttribute(sectionElement, false);
|
|
249
|
+
this.emitToggleEvent(sectionElement, sections, event);
|
|
250
|
+
return;
|
|
251
|
+
}
|
|
252
|
+
await this.closeOpenSections();
|
|
253
|
+
this.controlOpenAttribute(sectionElement, true);
|
|
254
|
+
this.emitToggleEvent(sectionElement, sections, event);
|
|
255
|
+
}
|
|
256
|
+
/** Closes all sections belonging to this accordion. */
|
|
257
|
+
async closeOpenSections() {
|
|
258
|
+
const sections = Array.from(this.host.querySelectorAll(':scope > dso-accordion-section'));
|
|
259
|
+
const openSections = sections.filter(s => this.isSectionOpen(s));
|
|
260
|
+
openSections.forEach(section => this.controlOpenAttribute(section, false));
|
|
261
|
+
}
|
|
262
|
+
render() {
|
|
263
|
+
return (index.h(index.Host, { class: {
|
|
264
|
+
'dso-accordion': true
|
|
265
|
+
} }, index.h("slot", null)));
|
|
266
|
+
}
|
|
267
|
+
emitToggleEvent(sectionElement, sections, e) {
|
|
268
|
+
this.dsoToggleSection.emit({
|
|
269
|
+
originalEvent: e,
|
|
270
|
+
section: {
|
|
271
|
+
element: sectionElement,
|
|
272
|
+
open: this.isSectionOpen(sectionElement),
|
|
273
|
+
},
|
|
274
|
+
sections,
|
|
275
|
+
});
|
|
276
|
+
}
|
|
277
|
+
isSectionOpen(sectionElement) {
|
|
278
|
+
return typeof sectionElement.getAttribute('open') === 'string';
|
|
279
|
+
}
|
|
280
|
+
controlOpenAttribute(sectionElement, setAttribute) {
|
|
281
|
+
if (setAttribute) {
|
|
282
|
+
sectionElement.setAttribute('open', '');
|
|
283
|
+
}
|
|
284
|
+
else {
|
|
285
|
+
sectionElement.removeAttribute('open');
|
|
286
|
+
}
|
|
287
|
+
}
|
|
288
|
+
get host() { return index.getElement(this); }
|
|
289
|
+
static get watchers() { return {
|
|
290
|
+
"variant": ["updateVariant"],
|
|
291
|
+
"reverseAlign": ["updateReverseAlign"],
|
|
292
|
+
"allowMultipleOpen": ["watchAllowMultiple"]
|
|
293
|
+
}; }
|
|
294
|
+
};
|
|
295
|
+
Accordion.style = accordionCss;
|
|
296
|
+
|
|
297
|
+
exports.dso_accordion = Accordion;
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-4066351a.js');
|
|
6
6
|
const clsx_m = require('./clsx.m-b00fa5e1.js');
|
|
7
7
|
|
|
8
|
-
const alertCss = "@media screen and (min-width: 481px){.alert{padding:19px 16px 19px 63px}}@media screen and (max-width: 480px){.alert{padding:63px 16px 16px}}:host{display:block
|
|
8
|
+
const alertCss = "@media screen and (min-width: 481px){.alert{padding:19px 16px 19px 63px}}@media screen and (max-width: 480px){.alert{padding:63px 16px 16px}}: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}.alert:not(:first-child){margin-top:24px}.alert.alert-success{color:#191919;background-color:#e4f1d4;border-color:#e4f1d4}.alert.alert-danger{color:#191919;background-color:#f5d8dc;border-color:#f5d8dc}.alert.alert-warning{color:#191919;background-color:#f8f6cc;border-color:#f8f6cc}.alert.alert-info{color:#191919;background-color:#e1ecf7;border-color:#e1ecf7}.alert dso-icon{left:15px;position:absolute;top:15px;height:32px;width:32px}";
|
|
9
9
|
|
|
10
10
|
let Alert = class {
|
|
11
11
|
constructor(hostRef) {
|
|
@@ -16,7 +16,7 @@ let Alert = class {
|
|
|
16
16
|
if (!status) {
|
|
17
17
|
throw new Error(`Invalid status ${this.status}`);
|
|
18
18
|
}
|
|
19
|
-
return (index.h("div", { class: clsx_m.clsx('alert', `alert-${this.status}`), role: this.roleAlert ? 'alert' : undefined }, index.h("span", { class: "sr-only" }, status, ":"), index.h("slot", null)));
|
|
19
|
+
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)));
|
|
20
20
|
}
|
|
21
21
|
};
|
|
22
22
|
Alert.statusMap = new Map([
|
|
@@ -2,16 +2,16 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-4066351a.js');
|
|
6
6
|
|
|
7
|
-
const attachmentsCounterCss = ":host{display:inline-block
|
|
7
|
+
const attachmentsCounterCss = ":host{display:inline-block}*,*::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}.dso-attachments{color:var(--dso-attachments-counter-color, #666);display:inline-block;font-weight:400;text-decoration:none;white-space:nowrap}";
|
|
8
8
|
|
|
9
9
|
let AttachmentsCounter = class {
|
|
10
10
|
constructor(hostRef) {
|
|
11
11
|
index.registerInstance(this, hostRef);
|
|
12
12
|
}
|
|
13
13
|
render() {
|
|
14
|
-
return (index.h("span", { class: "dso-attachments" }, this.count, " ", index.h("span", { class: "sr-only" }, "bijlage", this.count !== 1 ? 'n' : '')));
|
|
14
|
+
return (index.h("span", { class: "dso-attachments" }, this.count, " ", index.h("span", { class: "sr-only" }, "bijlage", this.count !== 1 ? 'n' : ''), index.h("dso-icon", { icon: "paperclip" })));
|
|
15
15
|
}
|
|
16
16
|
};
|
|
17
17
|
AttachmentsCounter.style = attachmentsCounterCss;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-4066351a.js');
|
|
6
6
|
const clsx_m = require('./clsx.m-b00fa5e1.js');
|
|
7
7
|
|
|
8
8
|
const badgeCss = ":host{display:inline-block}*,*::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}.dso-badge{background-color:#666;border:1px solid #666;border-radius:1em;color:#fff;display:inline-block;font-size:0.875em;line-height:1;min-width:1.5rem;padding:4px 8px;text-align:center}.dso-badge.badge-info{background-color:#6ca4d9;border-color:#6ca4d9;color:#191919}.dso-badge.badge-primary{background-color:#275937;border-color:#275937;color:#fff}.dso-badge.badge-success{background-color:#39870c;border-color:#39870c;color:#fff}.dso-badge.badge-warning{background-color:#dcd400;border-color:#dcd400;color:#191919}.dso-badge.badge-danger{background-color:#ce3f51;border-color:#ce3f51;color:#fff}.dso-badge.badge-outline{background-color:#fff;border-color:#191919;color:#191919}";
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-4066351a.js');
|
|
6
6
|
const clsx_m = require('./clsx.m-b00fa5e1.js');
|
|
7
7
|
|
|
8
|
-
const bannerCss = ":host{display:block
|
|
8
|
+
const bannerCss = ":host{display:block}*,*::after,*::before{box-sizing:border-box}.dso-banner{padding:16px 0;position:relative}";
|
|
9
9
|
|
|
10
10
|
let Banner = class {
|
|
11
11
|
constructor(hostRef) {
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const index_esm = require('./index.esm-
|
|
5
|
+
const index = require('./index-4066351a.js');
|
|
6
|
+
const index_esm = require('./index.esm-50325ea2.js');
|
|
7
7
|
const v4 = require('./v4-8e8d6fbc.js');
|
|
8
8
|
|
|
9
|
-
const dropdownMenuCss = ":host(:focus){outline:none}:host{
|
|
9
|
+
const dropdownMenuCss = ":host(:focus){outline:none}:host{display:inline-block;position:relative}";
|
|
10
10
|
|
|
11
11
|
let DropdownMenu = class {
|
|
12
12
|
constructor(hostRef) {
|