@dso-toolkit/core 46.0.0 → 47.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/dso-accordion-section.cjs.entry.js +2 -1
- package/dist/cjs/dso-alert.cjs.entry.js +2 -2
- package/dist/cjs/dso-card-container.cjs.entry.js +20 -0
- package/dist/cjs/dso-card.cjs.entry.js +49 -0
- package/dist/cjs/dso-header.cjs.entry.js +3 -2
- package/dist/cjs/dso-icon.cjs.entry.js +70 -15
- package/dist/cjs/dso-modal.cjs.entry.js +2 -1
- package/dist/cjs/dso-ozon-content.cjs.entry.js +4 -4
- package/dist/cjs/dso-pagination.cjs.entry.js +2 -1
- package/dist/cjs/dso-toolkit.cjs.js +1 -1
- package/dist/cjs/is-modified-event-dcab03a0.js +6 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +2 -0
- package/dist/collection/components/accordion/components/accordion-section.css +11 -10
- package/dist/collection/components/accordion/components/accordion-section.js +1 -0
- package/dist/collection/components/alert/alert.css +1 -1
- package/dist/collection/components/alert/alert.js +3 -3
- package/dist/collection/components/card/card.css +27 -0
- package/dist/collection/components/card/card.interfaces.js +1 -0
- package/dist/collection/components/card/card.js +112 -0
- package/dist/collection/components/card-container/card-container.css +12 -0
- package/dist/collection/components/card-container/card-container.interfaces.js +1 -0
- package/dist/collection/components/card-container/card-container.js +48 -0
- package/dist/collection/components/header/header.css +4 -33
- package/dist/collection/components/header/header.js +2 -1
- package/dist/collection/components/icon/icon.js +6 -0
- package/dist/collection/components/modal/modal.js +20 -1
- package/dist/collection/components/ozon-content/nodes/figuur.node.js +1 -1
- package/dist/collection/components/pagination/pagination.js +2 -1
- package/dist/collection/utils/is-modified-event.js +2 -0
- package/dist/custom-elements/index.d.ts +12 -0
- package/dist/custom-elements/index.js +150 -28
- package/dist/dso-toolkit/dso-toolkit.esm.js +1 -1
- package/dist/dso-toolkit/p-203fc66c.entry.js +1 -0
- package/dist/dso-toolkit/p-33df9903.js +1 -0
- package/dist/dso-toolkit/p-46acc09f.entry.js +1 -0
- package/dist/dso-toolkit/p-78ee23c5.entry.js +1 -0
- package/dist/dso-toolkit/p-8aa39e7f.entry.js +1 -0
- package/dist/dso-toolkit/p-9aa3fa9d.entry.js +1 -0
- package/dist/dso-toolkit/p-a608d3bd.entry.js +1 -0
- package/dist/dso-toolkit/p-ba253bcd.entry.js +1 -0
- package/dist/dso-toolkit/p-c846d208.entry.js +1 -0
- package/dist/dso-toolkit/{p-85d516c5.entry.js → p-c96acfeb.entry.js} +1 -1
- package/dist/esm/dso-accordion-section.entry.js +2 -1
- package/dist/esm/dso-alert.entry.js +2 -2
- package/dist/esm/dso-card-container.entry.js +16 -0
- package/dist/esm/dso-card.entry.js +45 -0
- package/dist/esm/dso-header.entry.js +3 -2
- package/dist/esm/dso-icon.entry.js +70 -15
- package/dist/esm/dso-modal.entry.js +2 -1
- package/dist/esm/dso-ozon-content.entry.js +4 -4
- package/dist/esm/dso-pagination.entry.js +2 -1
- package/dist/esm/dso-toolkit.js +1 -1
- package/dist/esm/is-modified-event-34370220.js +4 -0
- package/dist/esm/loader.js +1 -1
- package/dist/types/components/alert/alert.d.ts +1 -1
- package/dist/types/components/card/card.d.ts +11 -0
- package/dist/types/components/card/card.interfaces.d.ts +5 -0
- package/dist/types/components/card-container/card-container.d.ts +6 -0
- package/dist/types/components/card-container/card-container.interfaces.d.ts +1 -0
- package/dist/types/components/modal/modal.d.ts +2 -0
- package/dist/types/components.d.ts +49 -2
- package/dist/types/utils/is-modified-event.d.ts +2 -0
- package/package.json +4 -4
- package/dist/dso-toolkit/p-3bd6cf49.entry.js +0 -1
- package/dist/dso-toolkit/p-3ebba0dc.entry.js +0 -1
- package/dist/dso-toolkit/p-4b994946.entry.js +0 -1
- package/dist/dso-toolkit/p-8c8286e6.entry.js +0 -1
- package/dist/dso-toolkit/p-c4cf2359.entry.js +0 -1
- package/dist/dso-toolkit/p-dad32839.entry.js +0 -1
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-ecec64a0.js');
|
|
6
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;text-align:start;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])>.dso-section-handle{background-color:#8b4a6a;border-radius:0;border-top-left-radius:4px;border-top-right-radius:4px}:host(.dso-accordion-default[open])>.dso-section-handle a,:host(.dso-accordion-default[open])>.dso-section-handle button{color:#fff}:host(.dso-accordion-default[open])>.dso-section-handle a dso-attachments-counter,:host(.dso-accordion-default[open])>.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:#e5e5e5}:host(.dso-accordion-compact) .dso-section-handle{border:1px solid transparent;border-top
|
|
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;text-align:start;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])>.dso-section-handle{background-color:#8b4a6a;border-radius:0;border-top-left-radius:4px;border-top-right-radius:4px}:host(.dso-accordion-default[open])>.dso-section-handle a,:host(.dso-accordion-default[open])>.dso-section-handle button{color:#fff}:host(.dso-accordion-default[open])>.dso-section-handle a dso-attachments-counter,:host(.dso-accordion-default[open])>.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:#e5e5e5}:host(.dso-accordion-compact) .dso-section-handle{border-bottom:1px solid transparent;border-top:1px solid #ccc}:host(.dso-accordion-compact) .dso-section-handle a,:host(.dso-accordion-compact) .dso-section-handle button{color:#39870c;padding-bottom:11px;padding-left:0;padding-top:11px}: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) .dso-section-body{padding-left:32px;padding-top:0;padding-right:0}:host(.dso-accordion-compact.dso-accordion-reverse-align) .dso-section-handle a,:host(.dso-accordion-compact.dso-accordion-reverse-align) .dso-section-handle button{padding-left:16px}:host(.dso-accordion-compact.dso-accordion-reverse-align) .dso-section-body{padding-left:16px;padding-right: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[open]:not(.dso-nested-accordion))>.dso-section-body{border-top:0}: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}";
|
|
8
8
|
|
|
9
9
|
const AccordionSection = class {
|
|
10
10
|
constructor(hostRef) {
|
|
@@ -52,6 +52,7 @@ const AccordionSection = class {
|
|
|
52
52
|
"dso-accordion-section": true,
|
|
53
53
|
["dso-accordion-" + variant]: true,
|
|
54
54
|
"dso-nested-accordion": this.hasNestedSection,
|
|
55
|
+
"dso-accordion-reverse-align": this.accordionState.reverseAlign,
|
|
55
56
|
} }, index.h(Handle, { heading: this.heading }, index.h(HandleElement, { handleUrl: this.handleUrl, onClick: async (event) => await this.toggle(event), open: this.open }, reverseAlign ? (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" }))) : (index.h(index.Fragment, null, index.h("dso-icon", { icon: this.open ? "chevron-down" : "chevron-right" }), 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))));
|
|
56
57
|
}
|
|
57
58
|
get host() { return index.getElement(this); }
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
const index = require('./index-ecec64a0.js');
|
|
6
6
|
const clsx_m = require('./clsx.m-b81c6b86.js');
|
|
7
7
|
|
|
8
|
-
const alertCss = ":host{display:block}:host(:not(:first-child)){margin-top:24px}*,*::after,*::before{box-sizing:border-box}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}.alert{border:1px solid transparent;line-height:1.5;margin-bottom:24px;min-height:64px;position:relative}@media screen and (min-width: 481px){.alert{padding:19px 16px 19px 63px}}@media screen and (max-width: 480px){.alert{padding:63px 16px 16px}}.alert:not(:first-child){margin-top:24px}.alert.alert-success{color:#191919;background-color:#e4f1d4;border-color:#e4f1d4}.alert.alert-
|
|
8
|
+
const alertCss = ":host{display:block}:host(:not(:first-child)){margin-top:24px}*,*::after,*::before{box-sizing:border-box}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}.alert{border:1px solid transparent;line-height:1.5;margin-bottom:24px;min-height:64px;position:relative}@media screen and (min-width: 481px){.alert{padding:19px 16px 19px 63px}}@media screen and (max-width: 480px){.alert{padding:63px 16px 16px}}.alert:not(:first-child){margin-top:24px}.alert.alert-success{color:#191919;background-color:#e4f1d4;border-color:#e4f1d4}.alert.alert-error{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
|
const Alert = class {
|
|
11
11
|
constructor(hostRef) {
|
|
@@ -25,7 +25,7 @@ Alert.statusMap = new Map([
|
|
|
25
25
|
["success", "Gelukt"],
|
|
26
26
|
["info", "Opmerking"],
|
|
27
27
|
["warning", "Waarschuwing"],
|
|
28
|
-
["
|
|
28
|
+
["error", "Fout"],
|
|
29
29
|
]);
|
|
30
30
|
Alert.style = alertCss;
|
|
31
31
|
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
const index = require('./index-ecec64a0.js');
|
|
6
|
+
|
|
7
|
+
const cardContainerCss = ":host .dso-card-list{padding-left:0;list-style:none;border-bottom:1px solid #ccc;margin-top:-1px}:host .dso-card-grid{display:grid;gap:32px;grid-template-columns:repeat(3, 1fr);grid-auto-rows:1fr}";
|
|
8
|
+
|
|
9
|
+
const CardContainer = class {
|
|
10
|
+
constructor(hostRef) {
|
|
11
|
+
index.registerInstance(this, hostRef);
|
|
12
|
+
this.mode = "list";
|
|
13
|
+
}
|
|
14
|
+
render() {
|
|
15
|
+
return (index.h(index.Fragment, null, this.mode === "list" && (index.h("ul", { class: "dso-card-list" }, index.h("slot", null))), this.mode === "grid" && (index.h("div", { class: "dso-card-grid" }, index.h("slot", null)))));
|
|
16
|
+
}
|
|
17
|
+
};
|
|
18
|
+
CardContainer.style = cardContainerCss;
|
|
19
|
+
|
|
20
|
+
exports.dso_card_container = CardContainer;
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
const index = require('./index-ecec64a0.js');
|
|
6
|
+
const isModifiedEvent = require('./is-modified-event-dcab03a0.js');
|
|
7
|
+
|
|
8
|
+
const cardCss = ":host .dso-card-selectable,:host .dso-card-image{grid-row:span 2}*,*::after,*::before{box-sizing:border-box}:host{display:block}:host .dso-card-heading{align-items:center;display:flex;justify-content:space-between;margin-bottom:8px}@media screen and (max-width: 480px){:host .dso-card-heading{flex-wrap:wrap}}:host .dso-card-image{margin-right:8px}";
|
|
9
|
+
|
|
10
|
+
const Card = class {
|
|
11
|
+
constructor(hostRef) {
|
|
12
|
+
index.registerInstance(this, hostRef);
|
|
13
|
+
this.dsoCardClicked = index.createEvent(this, "dsoCardClicked", 7);
|
|
14
|
+
this.isSelectable = false;
|
|
15
|
+
this.hasImage = false;
|
|
16
|
+
}
|
|
17
|
+
clickEventHandler(e) {
|
|
18
|
+
if (!(e.target instanceof HTMLElement)) {
|
|
19
|
+
return;
|
|
20
|
+
}
|
|
21
|
+
let element = e.target;
|
|
22
|
+
while (element !== this.host && element !== null) {
|
|
23
|
+
if (element instanceof HTMLButtonElement ||
|
|
24
|
+
element instanceof HTMLAnchorElement ||
|
|
25
|
+
element instanceof HTMLInputElement ||
|
|
26
|
+
element === null) {
|
|
27
|
+
return;
|
|
28
|
+
}
|
|
29
|
+
if (element.parentNode instanceof ShadowRoot && element.parentNode.host instanceof HTMLElement) {
|
|
30
|
+
element = element.parentNode.host;
|
|
31
|
+
}
|
|
32
|
+
else {
|
|
33
|
+
element = element.parentElement;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
return this.dsoCardClicked.emit({ originalEvent: e, isModifiedEvent: isModifiedEvent.isModifiedEvent(e) });
|
|
37
|
+
}
|
|
38
|
+
componentWillLoad() {
|
|
39
|
+
this.isSelectable = this.host.querySelector("*[slot = 'selectable']") !== null;
|
|
40
|
+
this.hasImage = this.host.querySelector("*[slot = 'image']") !== null;
|
|
41
|
+
}
|
|
42
|
+
render() {
|
|
43
|
+
return (index.h(index.Host, { onClick: (e) => this.clickEventHandler(e) }, index.h("div", { class: "dso-card-selectable", hidden: !this.isSelectable }, index.h("slot", { name: "selectable" })), index.h("div", { class: "dso-card-image", hidden: !this.hasImage }, index.h("slot", { name: "image" })), index.h("div", { class: "dso-card-heading" }, index.h("slot", { name: "heading" }), index.h("slot", { name: "interactions" })), index.h("div", { class: "dso-card-content" }, index.h("slot", { name: "content" }))));
|
|
44
|
+
}
|
|
45
|
+
get host() { return index.getElement(this); }
|
|
46
|
+
};
|
|
47
|
+
Card.style = cardCss;
|
|
48
|
+
|
|
49
|
+
exports.dso_card = Card;
|
|
@@ -5,8 +5,9 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
const index = require('./index-ecec64a0.js');
|
|
6
6
|
const clsx_m = require('./clsx.m-b81c6b86.js');
|
|
7
7
|
const index$1 = require('./index-794ad37a.js');
|
|
8
|
+
const isModifiedEvent = require('./is-modified-event-dcab03a0.js');
|
|
8
9
|
|
|
9
|
-
const headerCss = ".sc-dso-header-h{display:block}.dso-header.sc-dso-header{border-bottom:1px solid #ccc;display:flex;flex-wrap:wrap;position:relative}@media screen and (min-width: 768px){.dso-header.sc-dso-header{align-items:center}}@media screen and (max-width: 991px){.dso-header.use-drop-down.sc-dso-header{flex-wrap:nowrap}}.dso-header.sc-dso-header .dso-nav.sc-dso-header{border:0}.logo-container.sc-dso-header{display:flex;flex-wrap:wrap;padding-bottom:16px;padding-top:16px}
|
|
10
|
+
const headerCss = ".sc-dso-header-h{display:block}.dso-header.sc-dso-header{border-bottom:1px solid #ccc;display:flex;flex-wrap:wrap;position:relative}@media screen and (min-width: 768px){.dso-header.sc-dso-header{align-items:center}}@media screen and (max-width: 991px){.dso-header.use-drop-down.sc-dso-header{flex-wrap:nowrap}}.dso-header.sc-dso-header .dso-nav.sc-dso-header{border:0}.logo-container.sc-dso-header{display:flex;flex-wrap:wrap;gap:0 24px;padding-bottom:16px;padding-top:16px}.login.sc-dso-header .dso-tertiary.sc-dso-header,.logout.sc-dso-header .dso-tertiary.sc-dso-header{cursor:pointer;font-family:Asap, sans-serif;font-weight:600;vertical-align:text-bottom}.profile.sc-dso-header a.sc-dso-header,.logout.sc-dso-header a.sc-dso-header,.login.sc-dso-header a.sc-dso-header{text-decoration:none;color:#39870c;font-weight:600}.profile.sc-dso-header a.sc-dso-header:hover,.profile.sc-dso-header a.sc-dso-header:focus,.logout.sc-dso-header a.sc-dso-header:hover,.logout.sc-dso-header a.sc-dso-header:focus,.login.sc-dso-header a.sc-dso-header:hover,.login.sc-dso-header a.sc-dso-header:focus{text-decoration:none}.profile.sc-dso-header a.sc-dso-header:active,.logout.sc-dso-header a.sc-dso-header:active,.login.sc-dso-header a.sc-dso-header:active{text-decoration:underline}.dso-header-session.sc-dso-header{display:flex;margin-left:auto}.dso-header-session.sc-dso-header .profile.sc-dso-header a.sc-dso-header{margin-left:8px}.dso-header-session.sc-dso-header .profile.sc-dso-header+.logout.sc-dso-header{border-left:3px solid #ccc;margin-left:16px;padding-left:16px}.dso-navbar.sc-dso-header{flex-basis:100%}.dso-navbar.sc-dso-header .dso-dropdown-options.sc-dso-header{border-top:1px solid #ccc}dso-dropdown-menu.sc-dso-header button.sc-dso-header{align-items:flex-end;background-color:transparent;border:0;display:flex;font-family:Asap, sans-serif;padding-right:32px}dso-dropdown-menu.sc-dso-header .dso-dropdown-options.sc-dso-header{border:0;border-radius:0}@media screen and (min-width: 768px){dso-dropdown-menu.sc-dso-header .dso-dropdown-options.sc-dso-header{width:375px}}@media screen and (max-width: 767px){dso-dropdown-menu.sc-dso-header .dso-dropdown-options.sc-dso-header{width:100%}}dso-dropdown-menu.sc-dso-header .dso-dropdown-options.sc-dso-header ul.sc-dso-header li.sc-dso-header a.sc-dso-header{color:#275937;font-size:1.25rem;padding:16px;white-space:pre-wrap}dso-dropdown-menu.sc-dso-header .dso-dropdown-options.sc-dso-header ul.sc-dso-header li.sc-dso-header a.sc-dso-header:focus{color:#fff}dso-dropdown-menu.sc-dso-header .dso-dropdown-options.sc-dso-header ul.sc-dso-header li.sc-dso-header a.sc-dso-header:hover{background-color:#fff;color:#275937;text-decoration:underline}dso-dropdown-menu.sc-dso-header .dso-dropdown-options.sc-dso-header ul.sc-dso-header li.dso-active.sc-dso-header a.sc-dso-header{font-weight:600}dso-dropdown-menu.sc-dso-header .dso-dropdown-options.sc-dso-header ul.sc-dso-header li.sc-dso-header+li.sc-dso-header{border-top:1px solid #ccc}.dropdown.sc-dso-header{margin-left:auto}.dropdown.sc-dso-header dso-dropdown-menu.sc-dso-header{position:static}@media screen and (max-width: 767px){.dropdown.sc-dso-header dso-dropdown-menu.sc-dso-header{margin-top:28px}}.dropdown.sc-dso-header dso-dropdown-menu.sc-dso-header .dso-dropdown-options.sc-dso-header{right:0;top:100%}.dropdown.sc-dso-header dso-dropdown-menu.sc-dso-header button.sc-dso-header{color:#39870c;font-size:16px;font-weight:600;line-height:normal;position:relative}.dropdown.sc-dso-header dso-dropdown-menu.sc-dso-header button.sc-dso-header::after{margin-left:8px;position:absolute;right:0px;top:50%;transform:translateY(-50%)}.dropdown.sc-dso-header dso-dropdown-menu.sc-dso-header button.sc-dso-header:hover,.dropdown.sc-dso-header dso-dropdown-menu.sc-dso-header button.sc-dso-header:active{cursor:pointer;text-decoration:underline}.dso-nav.sc-dso-header{align-items:end;column-gap:32px;display:flex;list-style:none;margin-bottom:0;margin-top:0;padding-left:0}.dso-nav.sc-dso-header>li.sc-dso-header{margin-bottom:4px}.dso-nav.sc-dso-header>li.sc-dso-header>a.sc-dso-header{display:block}.dso-nav.sc-dso-header>li.sc-dso-header>a.sc-dso-header,.dso-nav.sc-dso-header>li.sc-dso-header>a.sc-dso-header:hover,.dso-nav.sc-dso-header>li.sc-dso-header>a.sc-dso-header:focus,.dso-nav.sc-dso-header>li.sc-dso-header>a.sc-dso-header:visited{color:#275937}.dso-nav.sc-dso-header>li.dso-active.sc-dso-header,.dso-nav.sc-dso-header>li.is-active.sc-dso-header{margin-bottom:0}.dso-nav.sc-dso-header>li.dso-active.sc-dso-header>a.sc-dso-header,.dso-nav.sc-dso-header>li.is-active.sc-dso-header>a.sc-dso-header{border-bottom:4px solid #8b4a6a;font-weight:bold}.dso-nav.dso-nav-main.sc-dso-header{display:flex !important}.dso-nav.dso-nav-main.sc-dso-header>li.sc-dso-header>a.sc-dso-header{text-decoration:none;font-size:1.25em;line-height:1;margin-top:8px;padding:16px 0;white-space:nowrap}.dso-nav.dso-nav-main.sc-dso-header>li.sc-dso-header>a.sc-dso-header:hover,.dso-nav.dso-nav-main.sc-dso-header>li.sc-dso-header>a.sc-dso-header:focus,.dso-nav.dso-nav-main.sc-dso-header>li.sc-dso-header>a.sc-dso-header:active{text-decoration:underline}.dso-nav.dso-nav-main.sc-dso-header dso-dropdown-menu.sc-dso-header .dso-dropdown-options.sc-dso-header{left:-1rem;top:calc(100% + 3px)}.dso-nav.dso-nav-main.sc-dso-header dso-dropdown-menu.sc-dso-header button.sc-dso-header{font-size:1.25em;line-height:1;margin-top:8px;padding:16px 0;align-items:center;color:#275937;padding-right:32px}.dso-nav.dso-nav-main.sc-dso-header dso-dropdown-menu.sc-dso-header button.sc-dso-header:hover,.dso-nav.dso-nav-main.sc-dso-header dso-dropdown-menu.sc-dso-header button.sc-dso-header:active{cursor:pointer;text-decoration:underline}.dso-nav.dso-nav-main.sc-dso-header dso-dropdown-menu.sc-dso-header button.sc-dso-header::after{margin-left:8px;position:absolute;right:0px;top:auto;transform:none}.dso-nav.sc-dso-header .menu-user-home.sc-dso-header{margin-left:auto}.dso-nav.sc-dso-header .menu-user-home.sc-dso-header dso-icon.sc-dso-header{height:1em;margin-right:8px;position:relative;top:-2px;width:1.2em}";
|
|
10
11
|
|
|
11
12
|
const minDesktopViewportWidth = 992;
|
|
12
13
|
const Header = class {
|
|
@@ -36,7 +37,7 @@ const Header = class {
|
|
|
36
37
|
var _a, _b;
|
|
37
38
|
this.dsoHeaderClick.emit({
|
|
38
39
|
originalEvent: e,
|
|
39
|
-
isModifiedEvent:
|
|
40
|
+
isModifiedEvent: isModifiedEvent.isModifiedEvent(e),
|
|
40
41
|
type,
|
|
41
42
|
menuItem: options === null || options === void 0 ? void 0 : options.menuItem,
|
|
42
43
|
url: (_a = options === null || options === void 0 ? void 0 : options.url) !== null && _a !== void 0 ? _a : (_b = options === null || options === void 0 ? void 0 : options.menuItem) === null || _b === void 0 ? void 0 : _b.url,
|
|
@@ -400,6 +400,18 @@ const sound = `<svg id="sound" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 2
|
|
|
400
400
|
</svg>
|
|
401
401
|
`;
|
|
402
402
|
|
|
403
|
+
const statusError = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
|
|
404
|
+
<g id="Page-1" fill="none" fill-rule="evenodd" stroke="none" stroke-width="1">
|
|
405
|
+
<g id="status-error">
|
|
406
|
+
<path id="Rectangle" d="M0 0h24v24H0z"/>
|
|
407
|
+
<path id="Outer" fill="#FFF" fill-rule="nonzero" d="M15.728 1H8.272a2 2 0 0 0-1.414.586L1.586 6.858A2 2 0 0 0 1 8.272v7.456a2 2 0 0 0 .586 1.414l5.272 5.272A2 2 0 0 0 8.272 23h7.456a2 2 0 0 0 1.414-.586l5.272-5.272A2 2 0 0 0 23 15.728V8.272a2 2 0 0 0-.586-1.414l-5.272-5.272A2 2 0 0 0 15.728 1Z"/>
|
|
408
|
+
<path id="Inner" fill="#ce3f51" d="m16.228 2.793 4.98 4.98a1 1 0 0 1 .292.706v7.042a1 1 0 0 1-.293.707l-4.98 4.98a1 1 0 0 1-.706.292H8.479a1 1 0 0 1-.707-.293l-4.98-4.98a1 1 0 0 1-.292-.706V8.479a1 1 0 0 1 .293-.707l4.98-4.98a1 1 0 0 1 .706-.292h7.042a1 1 0 0 1 .707.293Z"/>
|
|
409
|
+
<path id="Cross" fill="#FFF" fill-rule="nonzero" d="M16.737 7.263c.35.35.35.917 0 1.267L13.267 12l3.47 3.47a.896.896 0 1 1-1.267 1.267L12 13.267l-3.47 3.47a.896.896 0 1 1-1.267-1.267l3.47-3.47-3.47-3.47A.896.896 0 1 1 8.53 7.263l3.47 3.47 3.47-3.47a.896.896 0 0 1 1.267 0Z"/>
|
|
410
|
+
</g>
|
|
411
|
+
</g>
|
|
412
|
+
</svg>
|
|
413
|
+
`;
|
|
414
|
+
|
|
403
415
|
const statusDanger = `<svg id="status-danger" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
|
|
404
416
|
<g>
|
|
405
417
|
<path d="M22.6,18.51c.86,1.37.29,2.49-1.25,2.49H2.65C1.11,21,.54,19.88,1.4,18.51L10.44,4a1.7,1.7,0,0,1,3.12,0Z" fill="#ce3f51"/>
|
|
@@ -409,30 +421,70 @@ const statusDanger = `<svg id="status-danger" xmlns="http://www.w3.org/2000/svg"
|
|
|
409
421
|
</svg>
|
|
410
422
|
`;
|
|
411
423
|
|
|
412
|
-
const statusInfo = `<svg
|
|
413
|
-
<g>
|
|
414
|
-
<
|
|
415
|
-
|
|
424
|
+
const statusInfo = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
|
|
425
|
+
<g id="Page-1" fill="none" fill-rule="evenodd" stroke="none" stroke-width="1">
|
|
426
|
+
<g id="status-info">
|
|
427
|
+
<path id="Rectangle" d="M0 0h24v24H0z"/>
|
|
428
|
+
<path id="Outer" fill="#FFF" d="M19 1a4 4 0 0 1 4 4v14a4 4 0 0 1-4 4H5a4 4 0 0 1-4-4V5a4 4 0 0 1 4-4h14Z"/>
|
|
429
|
+
<path id="Inner" fill="#2b5780" d="M5.35 2.5h13.3a2.85 2.85 0 0 1 2.85 2.85v13.3a2.85 2.85 0 0 1-2.85 2.85H5.35a2.85 2.85 0 0 1-2.85-2.85V5.35A2.85 2.85 0 0 1 5.35 2.5Z"/>
|
|
430
|
+
<path id="Path" fill="#FFF" fill-rule="nonzero" d="M13.695 17.952a1.28 1.28 0 0 1-2.561 0v-6.405h-.754a.942.942 0 0 1-.94-.874l-.002-.067c0-.52.422-.942.942-.942h2.373c.52 0 .942.422.942.942v7.346Z"/>
|
|
431
|
+
<circle id="Oval" cx="12.075" cy="6.5" r="1.658" fill="#FFF"/>
|
|
432
|
+
</g>
|
|
416
433
|
</g>
|
|
417
|
-
<path d="M11,8a1,1,0,1,1,1,1A1,1,0,0,1,11,8Zm2,8.79V11.21A1.12,1.12,0,0,0,12,10a1.12,1.12,0,0,0-1,1.21v5.58A1.12,1.12,0,0,0,12,18,1.12,1.12,0,0,0,13,16.79Z" fill="#fff"/>
|
|
418
434
|
</svg>
|
|
419
435
|
`;
|
|
420
436
|
|
|
421
|
-
const statusSuccess = `<svg
|
|
422
|
-
<g>
|
|
423
|
-
<
|
|
424
|
-
|
|
437
|
+
const statusSuccess = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
|
|
438
|
+
<g id="Page-1" fill="none" fill-rule="evenodd" stroke="none" stroke-width="1">
|
|
439
|
+
<g id="status-success">
|
|
440
|
+
<rect id="Rectangle" x="0" y="0"/>
|
|
441
|
+
<path id="Outer" fill="#FFF" fill-rule="nonzero" d="M12 0C5.373 0 0 5.373 0 12s5.373 12 12 12 12-5.373 12-12A12 12 0 0 0 12 0Z"/>
|
|
442
|
+
<path id="Inner" fill="#39870c" fill-rule="nonzero" d="M12 1.5c5.799 0 10.5 4.701 10.5 10.5S17.799 22.5 12 22.5 1.5 17.799 1.5 12 6.201 1.5 12 1.5"/>
|
|
443
|
+
<path id="V" fill="#FFF" fill-rule="nonzero" d="M15.873 7.887a1 1 0 1 1 1.58 1.226l-6.488 8.365-4.405-4.837a1 1 0 1 1 1.48-1.345l2.803 3.075 5.03-6.484Z"/>
|
|
444
|
+
</g>
|
|
425
445
|
</g>
|
|
426
|
-
<path d="M10.11,18,5.29,13.31A.92.92,0,0,1,5.3,12a1,1,0,0,1,1.41,0l3.4,3.3,7.18-7a1,1,0,0,1,1.41,0,.92.92,0,0,1,0,1.35Z" fill="#fff"/>
|
|
427
446
|
</svg>
|
|
428
447
|
`;
|
|
429
448
|
|
|
430
|
-
const statusWarning = `<svg
|
|
431
|
-
<g>
|
|
432
|
-
<
|
|
433
|
-
|
|
449
|
+
const statusWarning = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 26 24">
|
|
450
|
+
<g id="Page-1" fill="none" fill-rule="evenodd" stroke="none" stroke-width="1">
|
|
451
|
+
<g id="iconen/status-warning" transform="translate(1)">
|
|
452
|
+
<g id="status-warning" transform="translate(-.121)">
|
|
453
|
+
<path id="Rectangle" d="M.121 0h24v24h-24z"/>
|
|
454
|
+
<path id="Outer" fill="#191919" fill-rule="nonzero" d="M9.796 3.277.425 18.115a2.75 2.75 0 0 0 2.325 4.218h18.743a2.75 2.75 0 0 0 2.325-4.218L14.446 3.277a2.75 2.75 0 0 0-4.65 0Z"/>
|
|
455
|
+
<path id="Inner" fill="#dcd400" fill-rule="nonzero" d="M12.789 3.689c.157.099.29.232.39.389l9.37 14.838a1.25 1.25 0 0 1-1.056 1.917H2.75a1.25 1.25 0 0 1-1.057-1.917l9.371-14.838a1.25 1.25 0 0 1 1.606-.456l.119.067Z"/>
|
|
456
|
+
<path id="Path" fill="#191919" fill-rule="nonzero" d="m11.121 14.94-.15-6.18c0-.693.456-1.15 1.15-1.15s1.15.457 1.15 1.15l-.15 6.18a1 1 0 0 1-1 .91 1 1 0 0 1-1-.91ZM12.121 16.85a1 1 0 1 0 0 2 1 1 0 0 0 0-2Z"/>
|
|
457
|
+
</g>
|
|
458
|
+
</g>
|
|
459
|
+
</g>
|
|
460
|
+
</svg>
|
|
461
|
+
`;
|
|
462
|
+
|
|
463
|
+
const statusWarningInline = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 26 24">
|
|
464
|
+
<g id="Page-1" fill="none" fill-rule="evenodd" stroke="none" stroke-width="1">
|
|
465
|
+
<g id="iconen/status-warning-inline" transform="translate(1)">
|
|
466
|
+
<g id="status-warning-inline" transform="translate(-.121)">
|
|
467
|
+
<path id="Rectangle" d="M.121 0h24v24h-24z"/>
|
|
468
|
+
<path id="Outer" fill="#FFF" fill-rule="nonzero" d="M9.796 3.277.425 18.115a2.75 2.75 0 0 0 2.325 4.218h18.743a2.75 2.75 0 0 0 2.325-4.218L14.446 3.277a2.75 2.75 0 0 0-4.65 0Z"/>
|
|
469
|
+
<path id="Inner" fill="#ce3f51" fill-rule="nonzero" d="M12.789 3.689c.157.099.29.232.39.389l9.37 14.838a1.25 1.25 0 0 1-1.056 1.917H2.75a1.25 1.25 0 0 1-1.057-1.917l9.371-14.838a1.25 1.25 0 0 1 1.606-.456l.119.067Z"/>
|
|
470
|
+
<path id="Path" fill="#FFF" fill-rule="nonzero" d="m11.121 14.94-.15-6.18c0-.693.456-1.15 1.15-1.15s1.15.457 1.15 1.15l-.15 6.18a1 1 0 0 1-1 .91 1 1 0 0 1-1-.91ZM12.121 16.85a1 1 0 1 0 0 2 1 1 0 0 0 0-2Z"/>
|
|
471
|
+
</g>
|
|
472
|
+
</g>
|
|
473
|
+
</g>
|
|
474
|
+
</svg>
|
|
475
|
+
`;
|
|
476
|
+
|
|
477
|
+
const statusWarningInlineNegative = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 26 24">
|
|
478
|
+
<g id="Page-1" fill="none" fill-rule="evenodd" stroke="none" stroke-width="1">
|
|
479
|
+
<g id="iconen/status-warning-inline-negative" transform="translate(1)">
|
|
480
|
+
<g id="status-warning-inline-negative" transform="translate(-.121)">
|
|
481
|
+
<path id="Rectangle" d="M.121 0h24v24h-24z"/>
|
|
482
|
+
<path id="Outer" fill="#ce3f51" fill-rule="nonzero" d="M9.796 3.277.425 18.115a2.75 2.75 0 0 0 2.325 4.218h18.743a2.75 2.75 0 0 0 2.325-4.218L14.446 3.277a2.75 2.75 0 0 0-4.65 0Z"/>
|
|
483
|
+
<path id="Inner" fill="#FFF" fill-rule="nonzero" d="M12.789 3.689c.157.099.29.232.39.389l9.37 14.838a1.25 1.25 0 0 1-1.056 1.917H2.75a1.25 1.25 0 0 1-1.057-1.917l9.371-14.838a1.25 1.25 0 0 1 1.606-.456l.119.067Z"/>
|
|
484
|
+
<path id="Path" fill="#ce3f51" fill-rule="nonzero" d="m11.121 14.94-.15-6.18c0-.693.456-1.15 1.15-1.15s1.15.457 1.15 1.15l-.15 6.18a1 1 0 0 1-1 .91 1 1 0 0 1-1-.91ZM12.121 16.85a1 1 0 1 0 0 2 1 1 0 0 0 0-2Z"/>
|
|
485
|
+
</g>
|
|
486
|
+
</g>
|
|
434
487
|
</g>
|
|
435
|
-
<path d="M11.73,15.85a1,1,0,0,1-1-.91V8.76a1,1,0,0,1,2,0v6.18A1,1,0,0,1,11.73,15.85Zm0,1a1,1,0,1,0,1,1A1,1,0,0,0,11.73,16.85Z"/>
|
|
436
488
|
</svg>
|
|
437
489
|
`;
|
|
438
490
|
|
|
@@ -562,9 +614,12 @@ const icons = [
|
|
|
562
614
|
{ alias: "sort", svg: sort },
|
|
563
615
|
{ alias: "sound", svg: sound },
|
|
564
616
|
{ alias: "status-danger", svg: statusDanger },
|
|
617
|
+
{ alias: "status-error", svg: statusError },
|
|
565
618
|
{ alias: "status-info", svg: statusInfo },
|
|
566
619
|
{ alias: "status-success", svg: statusSuccess },
|
|
567
620
|
{ alias: "status-warning", svg: statusWarning },
|
|
621
|
+
{ alias: "status-warning-inline", svg: statusWarningInline },
|
|
622
|
+
{ alias: "status-warning-inline-negative", svg: statusWarningInlineNegative },
|
|
568
623
|
{ alias: "table", svg: table },
|
|
569
624
|
{ alias: "times", svg: times },
|
|
570
625
|
{ alias: "trash", svg: trash },
|
|
@@ -17,6 +17,7 @@ const Modal = class {
|
|
|
17
17
|
this.hasFooter = undefined;
|
|
18
18
|
this.modalTitle = undefined;
|
|
19
19
|
this.role = "dialog";
|
|
20
|
+
this.showCloseButton = true;
|
|
20
21
|
}
|
|
21
22
|
componentWillLoad() {
|
|
22
23
|
this.hasFooter = this.host.querySelector("*[slot = 'footer']") !== null;
|
|
@@ -31,7 +32,7 @@ const Modal = class {
|
|
|
31
32
|
(_a = this.trap) === null || _a === void 0 ? void 0 : _a.deactivate();
|
|
32
33
|
}
|
|
33
34
|
render() {
|
|
34
|
-
return (index.h(index.Host, { class: "dso-modal", role: this.role, "aria-modal": "true", "aria-labelledby": this.ariaId }, index.h("div", { class: "dso-dialog", role: "document", ref: (element) => (this.dialogElement = element) }, this.modalTitle ? (index.h("div", { class: "dso-header" }, index.h("h2", { id: this.ariaId }, this.modalTitle), index.h("button", { type: "button", class: "dso-close", onClick: (e) => this.dsoClose.emit({ originalEvent: e }) }, index.h("dso-icon", { icon: "times" }), index.h("span", { class: "sr-only" }, "Sluiten")))) : (index.h("span", { class: "sr-only", id: this.ariaId }, "Dialoog")), index.h("div", { class: "dso-body" }, index.h("slot", { name: "body" })), this.hasFooter && (index.h("div", { class: "dso-footer" }, index.h("slot", { name: "footer" }))))));
|
|
35
|
+
return (index.h(index.Host, { class: "dso-modal", role: this.role, "aria-modal": "true", "aria-labelledby": this.ariaId }, index.h("div", { class: "dso-dialog", role: "document", ref: (element) => (this.dialogElement = element) }, this.modalTitle ? (index.h("div", { class: "dso-header" }, index.h("h2", { id: this.ariaId }, this.modalTitle), this.showCloseButton && (index.h("button", { type: "button", class: "dso-close", onClick: (e) => this.dsoClose.emit({ originalEvent: e }) }, index.h("dso-icon", { icon: "times" }), index.h("span", { class: "sr-only" }, "Sluiten"))))) : (index.h("span", { class: "sr-only", id: this.ariaId }, "Dialoog")), index.h("div", { class: "dso-body" }, index.h("slot", { name: "body" })), this.hasFooter && (index.h("div", { class: "dso-footer" }, index.h("slot", { name: "footer" }))))));
|
|
35
36
|
}
|
|
36
37
|
setFocusTrap() {
|
|
37
38
|
if (this.dialogElement && !this.trap) {
|
|
@@ -95,11 +95,11 @@ class OzonContentFiguurNode {
|
|
|
95
95
|
titel && index.h("span", { class: "figuur-titel" }, titel),
|
|
96
96
|
(bijschrift === null || bijschrift === void 0 ? void 0 : bijschrift.locatie) === "boven" && (index.h(Bijschrift, { bijschrift: bijschrift, bron: bron, mapNodeToJsx: mapNodeToJsx })),
|
|
97
97
|
index.h("dso-image-overlay", null,
|
|
98
|
-
index.h("div", { slot: "titel" },
|
|
99
|
-
index.h("span", null, titel)),
|
|
98
|
+
titel && (index.h("div", { slot: "titel" },
|
|
99
|
+
index.h("span", null, titel))),
|
|
100
100
|
index.h("img", { src: (_d = illustratie.naam) !== null && _d !== void 0 ? _d : undefined, alt: (_g = (_f = (_e = illustratie.alt) !== null && _e !== void 0 ? _e : titel) !== null && _f !== void 0 ? _f : illustratie.naam) !== null && _g !== void 0 ? _g : undefined, onLoad: (event) => this.onImageLoad(event, Number(illustratie.schaal)) }),
|
|
101
|
-
index.h("div", { slot: "bijschrift" },
|
|
102
|
-
index.h(Bijschrift, { bijschrift: bijschrift, bron: bron, mapNodeToJsx: mapNodeToJsx }))),
|
|
101
|
+
(bijschrift || bron) && (index.h("div", { slot: "bijschrift" },
|
|
102
|
+
index.h(Bijschrift, { bijschrift: bijschrift, bron: bron, mapNodeToJsx: mapNodeToJsx })))),
|
|
103
103
|
((bijschrift === null || bijschrift === void 0 ? void 0 : bijschrift.locatie) === "onder" || (!bijschrift && bron)) && (index.h(Bijschrift, { bijschrift: bijschrift, bron: bron, mapNodeToJsx: mapNodeToJsx }))));
|
|
104
104
|
}
|
|
105
105
|
}
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-ecec64a0.js');
|
|
6
|
+
const isModifiedEvent = require('./is-modified-event-dcab03a0.js');
|
|
6
7
|
|
|
7
8
|
const paginationCss = ":host{display:block}*,*::after,*::before{box-sizing:border-box}.pagination{padding-inline-start:initial;text-align:center}.pagination>li{display:inline-block;font-weight:bold;line-height:calc(2rem - 4px);text-align:center;vertical-align:middle}.pagination>li>a,.pagination>li>span{align-items:center;color:#39870c;display:flex;height:2rem;justify-content:center;position:relative;width:2rem}.pagination>li>a:active,.pagination>li>span:active{background-color:#ebf3e6}.pagination>li>span{border:2px solid transparent;border-radius:50%}.pagination>li a{line-height:2rem;text-decoration:none}.pagination>li a:hover,.pagination>li a:focus{text-decoration:none}.pagination>li a:hover::after,.pagination>li a:focus::after{border-bottom-color:#39870c}.pagination>li a::after{border-bottom:3px solid transparent;bottom:0;content:\"\";display:inline-block;left:0;position:absolute;width:100%}.pagination>li.active span{background-color:#39870c;color:#fff}.pagination>li+li{margin-left:8px}.dso-page-hidden{visibility:hidden}";
|
|
8
9
|
|
|
@@ -30,7 +31,7 @@ const Pagination = class {
|
|
|
30
31
|
this.dsoSelectPage.emit({
|
|
31
32
|
originalEvent: e,
|
|
32
33
|
page,
|
|
33
|
-
isModifiedEvent:
|
|
34
|
+
isModifiedEvent: isModifiedEvent.isModifiedEvent(e),
|
|
34
35
|
});
|
|
35
36
|
}
|
|
36
37
|
componentDidLoad() {
|
|
@@ -15,5 +15,5 @@ const patchBrowser = () => {
|
|
|
15
15
|
};
|
|
16
16
|
|
|
17
17
|
patchBrowser().then(options => {
|
|
18
|
-
return index.bootstrapLazy([["dso-icon.cjs",[[1,"dso-icon",{"icon":[1]}]]],["dso-map-base-layers.cjs",[[1,"dso-map-base-layers",{"group":[1],"baseLayers":[16]}]]],["dso-map-overlays.cjs",[[1,"dso-map-overlays",{"group":[1],"overlays":[16]}]]],["dso-toggletip.cjs",[[1,"dso-toggletip",{"label":[1],"position":[1],"small":[4],"secondary":[4],"active":[32]}]]],["dso-accordion-section.cjs",[[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.cjs",[[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.cjs",[[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.cjs",[[1,"dso-pagination",{"totalPages":[2,"total-pages"],"currentPage":[2,"current-page"],"formatHref":[16],"availablePositions":[32]},[[0,"dsoSizeChange","sizeChangeHandler"]]]]],["dso-tree-view.cjs",[[1,"dso-tree-view",{"collection":[16],"focusItem":[64]}]]],["dso-alert.cjs",[[1,"dso-alert",{"status":[1],"roleAlert":[4,"role-alert"]}]]],["dso-autosuggest.cjs",[[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.cjs",[[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.cjs",[[1,"dso-helpcenter-panel",{"label":[1],"url":[1],"visibility":[32],"isOpen":[32],"slideState":[32],"loadIframe":[32]},[[8,"keydown","keyDownListener"]]]]],["dso-image-overlay.cjs",[[1,"dso-image-overlay",{"active":[32],"focused":[32],"zoomable":[32]},[[2,"load","loadListener"]]]]],["dso-map-controls.cjs",[[1,"dso-map-controls",{"open":[1540],"disableZoom":[1,"disable-zoom"],"hideContent":[32]}]]],["dso-modal.cjs",[[1,"dso-modal",{"modalTitle":[1,"modal-title"],"role":[1],"ariaId":[32],"hasFooter":[32]}]]],["dso-table.cjs",[[1,"dso-table",{"noModal":[516,"no-modal"],"isResponsive":[516,"is-responsive"],"modalActive":[32],"placeholderHeight":[32]}]]],["dso-viewer-grid.cjs",[[1,"dso-viewer-grid",{"filterpanelOpen":[516,"filterpanel-open"],"overlayOpen":[516,"overlay-open"],"initialMainSize":[1,"initial-main-size"],"mainSize":[32]}]]],["dso-accordion.cjs",[[1,"dso-accordion",{"variant":[513],"reverseAlign":[516,"reverse-align"],"allowMultipleOpen":[516,"allow-multiple-open"],"getState":[64],"toggleSection":[64],"closeOpenSections":[64]}]]],["dso-badge.cjs",[[1,"dso-badge",{"status":[1]}]]],["dso-banner.cjs",[[1,"dso-banner",{"status":[1]}]]],["dso-highlight-box.cjs",[[1,"dso-highlight-box",{"yellow":[4],"border":[4],"white":[4],"dropShadow":[4,"drop-shadow"],"step":[2]}]]],["dso-ozon-content.cjs",[[6,"dso-ozon-content",{"content":[1],"inline":[516],"deleted":[516],"interactive":[520],"state":[32]}]]],["dso-progress-bar.cjs",[[1,"dso-progress-bar",{"progress":[2],"min":[2],"max":[2]}]]],["dso-attachments-counter.cjs",[[1,"dso-attachments-counter",{"count":[2]}]]],["dso-dropdown-menu.cjs",[[1,"dso-dropdown-menu",{"open":[1540],"dropdownAlign":[1,"dropdown-align"],"checkable":[4]}]]],["dso-responsive-element.cjs",[[1,"dso-responsive-element",{"sizeAlias":[32],"sizeWidth":[32],"getSize":[64]}]]],["dso-progress-indicator.cjs",[[1,"dso-progress-indicator",{"label":[1],"size":[1],"block":[4]}]]],["dso-tooltip.cjs",[[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.cjs",[[1,"dso-info-button",{"active":[1540],"secondary":[4],"label":[1],"hover":[32],"setFocus":[64]}]]],["dso-info_2.cjs",[[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);
|
|
18
|
+
return index.bootstrapLazy([["dso-icon.cjs",[[1,"dso-icon",{"icon":[1]}]]],["dso-map-base-layers.cjs",[[1,"dso-map-base-layers",{"group":[1],"baseLayers":[16]}]]],["dso-map-overlays.cjs",[[1,"dso-map-overlays",{"group":[1],"overlays":[16]}]]],["dso-toggletip.cjs",[[1,"dso-toggletip",{"label":[1],"position":[1],"small":[4],"secondary":[4],"active":[32]}]]],["dso-accordion-section.cjs",[[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.cjs",[[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.cjs",[[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.cjs",[[1,"dso-pagination",{"totalPages":[2,"total-pages"],"currentPage":[2,"current-page"],"formatHref":[16],"availablePositions":[32]},[[0,"dsoSizeChange","sizeChangeHandler"]]]]],["dso-tree-view.cjs",[[1,"dso-tree-view",{"collection":[16],"focusItem":[64]}]]],["dso-alert.cjs",[[1,"dso-alert",{"status":[1],"roleAlert":[4,"role-alert"]}]]],["dso-autosuggest.cjs",[[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.cjs",[[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.cjs",[[1,"dso-helpcenter-panel",{"label":[1],"url":[1],"visibility":[32],"isOpen":[32],"slideState":[32],"loadIframe":[32]},[[8,"keydown","keyDownListener"]]]]],["dso-image-overlay.cjs",[[1,"dso-image-overlay",{"active":[32],"focused":[32],"zoomable":[32]},[[2,"load","loadListener"]]]]],["dso-map-controls.cjs",[[1,"dso-map-controls",{"open":[1540],"disableZoom":[1,"disable-zoom"],"hideContent":[32]}]]],["dso-modal.cjs",[[1,"dso-modal",{"modalTitle":[1,"modal-title"],"role":[1],"showCloseButton":[4,"show-close-button"],"ariaId":[32],"hasFooter":[32]}]]],["dso-table.cjs",[[1,"dso-table",{"noModal":[516,"no-modal"],"isResponsive":[516,"is-responsive"],"modalActive":[32],"placeholderHeight":[32]}]]],["dso-viewer-grid.cjs",[[1,"dso-viewer-grid",{"filterpanelOpen":[516,"filterpanel-open"],"overlayOpen":[516,"overlay-open"],"initialMainSize":[1,"initial-main-size"],"mainSize":[32]}]]],["dso-accordion.cjs",[[1,"dso-accordion",{"variant":[513],"reverseAlign":[516,"reverse-align"],"allowMultipleOpen":[516,"allow-multiple-open"],"getState":[64],"toggleSection":[64],"closeOpenSections":[64]}]]],["dso-badge.cjs",[[1,"dso-badge",{"status":[1]}]]],["dso-banner.cjs",[[1,"dso-banner",{"status":[1]}]]],["dso-card.cjs",[[1,"dso-card",{"isSelectable":[516,"is-selectable"],"hasImage":[516,"has-image"]}]]],["dso-card-container.cjs",[[1,"dso-card-container",{"mode":[1]}]]],["dso-highlight-box.cjs",[[1,"dso-highlight-box",{"yellow":[4],"border":[4],"white":[4],"dropShadow":[4,"drop-shadow"],"step":[2]}]]],["dso-ozon-content.cjs",[[6,"dso-ozon-content",{"content":[1],"inline":[516],"deleted":[516],"interactive":[520],"state":[32]}]]],["dso-progress-bar.cjs",[[1,"dso-progress-bar",{"progress":[2],"min":[2],"max":[2]}]]],["dso-attachments-counter.cjs",[[1,"dso-attachments-counter",{"count":[2]}]]],["dso-dropdown-menu.cjs",[[1,"dso-dropdown-menu",{"open":[1540],"dropdownAlign":[1,"dropdown-align"],"checkable":[4]}]]],["dso-responsive-element.cjs",[[1,"dso-responsive-element",{"sizeAlias":[32],"sizeWidth":[32],"getSize":[64]}]]],["dso-progress-indicator.cjs",[[1,"dso-progress-indicator",{"label":[1],"size":[1],"block":[4]}]]],["dso-tooltip.cjs",[[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.cjs",[[1,"dso-info-button",{"active":[1540],"secondary":[4],"label":[1],"hover":[32],"setFocus":[64]}]]],["dso-info_2.cjs",[[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);
|
|
19
19
|
});
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
/** returns `true` when the event is triggered while holding Ctrl, Alt or other modifiers, or on right-click. Can be used to determine navigation. */
|
|
4
|
+
const isModifiedEvent = (e) => e.button !== 0 || e.ctrlKey || e.shiftKey || e.altKey || e.metaKey;
|
|
5
|
+
|
|
6
|
+
exports.isModifiedEvent = isModifiedEvent;
|
package/dist/cjs/loader.cjs.js
CHANGED
|
@@ -14,7 +14,7 @@ const patchEsm = () => {
|
|
|
14
14
|
const defineCustomElements = (win, options) => {
|
|
15
15
|
if (typeof window === 'undefined') return Promise.resolve();
|
|
16
16
|
return patchEsm().then(() => {
|
|
17
|
-
return index.bootstrapLazy([["dso-icon.cjs",[[1,"dso-icon",{"icon":[1]}]]],["dso-map-base-layers.cjs",[[1,"dso-map-base-layers",{"group":[1],"baseLayers":[16]}]]],["dso-map-overlays.cjs",[[1,"dso-map-overlays",{"group":[1],"overlays":[16]}]]],["dso-toggletip.cjs",[[1,"dso-toggletip",{"label":[1],"position":[1],"small":[4],"secondary":[4],"active":[32]}]]],["dso-accordion-section.cjs",[[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.cjs",[[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.cjs",[[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.cjs",[[1,"dso-pagination",{"totalPages":[2,"total-pages"],"currentPage":[2,"current-page"],"formatHref":[16],"availablePositions":[32]},[[0,"dsoSizeChange","sizeChangeHandler"]]]]],["dso-tree-view.cjs",[[1,"dso-tree-view",{"collection":[16],"focusItem":[64]}]]],["dso-alert.cjs",[[1,"dso-alert",{"status":[1],"roleAlert":[4,"role-alert"]}]]],["dso-autosuggest.cjs",[[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.cjs",[[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.cjs",[[1,"dso-helpcenter-panel",{"label":[1],"url":[1],"visibility":[32],"isOpen":[32],"slideState":[32],"loadIframe":[32]},[[8,"keydown","keyDownListener"]]]]],["dso-image-overlay.cjs",[[1,"dso-image-overlay",{"active":[32],"focused":[32],"zoomable":[32]},[[2,"load","loadListener"]]]]],["dso-map-controls.cjs",[[1,"dso-map-controls",{"open":[1540],"disableZoom":[1,"disable-zoom"],"hideContent":[32]}]]],["dso-modal.cjs",[[1,"dso-modal",{"modalTitle":[1,"modal-title"],"role":[1],"ariaId":[32],"hasFooter":[32]}]]],["dso-table.cjs",[[1,"dso-table",{"noModal":[516,"no-modal"],"isResponsive":[516,"is-responsive"],"modalActive":[32],"placeholderHeight":[32]}]]],["dso-viewer-grid.cjs",[[1,"dso-viewer-grid",{"filterpanelOpen":[516,"filterpanel-open"],"overlayOpen":[516,"overlay-open"],"initialMainSize":[1,"initial-main-size"],"mainSize":[32]}]]],["dso-accordion.cjs",[[1,"dso-accordion",{"variant":[513],"reverseAlign":[516,"reverse-align"],"allowMultipleOpen":[516,"allow-multiple-open"],"getState":[64],"toggleSection":[64],"closeOpenSections":[64]}]]],["dso-badge.cjs",[[1,"dso-badge",{"status":[1]}]]],["dso-banner.cjs",[[1,"dso-banner",{"status":[1]}]]],["dso-highlight-box.cjs",[[1,"dso-highlight-box",{"yellow":[4],"border":[4],"white":[4],"dropShadow":[4,"drop-shadow"],"step":[2]}]]],["dso-ozon-content.cjs",[[6,"dso-ozon-content",{"content":[1],"inline":[516],"deleted":[516],"interactive":[520],"state":[32]}]]],["dso-progress-bar.cjs",[[1,"dso-progress-bar",{"progress":[2],"min":[2],"max":[2]}]]],["dso-attachments-counter.cjs",[[1,"dso-attachments-counter",{"count":[2]}]]],["dso-dropdown-menu.cjs",[[1,"dso-dropdown-menu",{"open":[1540],"dropdownAlign":[1,"dropdown-align"],"checkable":[4]}]]],["dso-responsive-element.cjs",[[1,"dso-responsive-element",{"sizeAlias":[32],"sizeWidth":[32],"getSize":[64]}]]],["dso-progress-indicator.cjs",[[1,"dso-progress-indicator",{"label":[1],"size":[1],"block":[4]}]]],["dso-tooltip.cjs",[[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.cjs",[[1,"dso-info-button",{"active":[1540],"secondary":[4],"label":[1],"hover":[32],"setFocus":[64]}]]],["dso-info_2.cjs",[[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);
|
|
17
|
+
return index.bootstrapLazy([["dso-icon.cjs",[[1,"dso-icon",{"icon":[1]}]]],["dso-map-base-layers.cjs",[[1,"dso-map-base-layers",{"group":[1],"baseLayers":[16]}]]],["dso-map-overlays.cjs",[[1,"dso-map-overlays",{"group":[1],"overlays":[16]}]]],["dso-toggletip.cjs",[[1,"dso-toggletip",{"label":[1],"position":[1],"small":[4],"secondary":[4],"active":[32]}]]],["dso-accordion-section.cjs",[[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.cjs",[[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.cjs",[[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.cjs",[[1,"dso-pagination",{"totalPages":[2,"total-pages"],"currentPage":[2,"current-page"],"formatHref":[16],"availablePositions":[32]},[[0,"dsoSizeChange","sizeChangeHandler"]]]]],["dso-tree-view.cjs",[[1,"dso-tree-view",{"collection":[16],"focusItem":[64]}]]],["dso-alert.cjs",[[1,"dso-alert",{"status":[1],"roleAlert":[4,"role-alert"]}]]],["dso-autosuggest.cjs",[[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.cjs",[[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.cjs",[[1,"dso-helpcenter-panel",{"label":[1],"url":[1],"visibility":[32],"isOpen":[32],"slideState":[32],"loadIframe":[32]},[[8,"keydown","keyDownListener"]]]]],["dso-image-overlay.cjs",[[1,"dso-image-overlay",{"active":[32],"focused":[32],"zoomable":[32]},[[2,"load","loadListener"]]]]],["dso-map-controls.cjs",[[1,"dso-map-controls",{"open":[1540],"disableZoom":[1,"disable-zoom"],"hideContent":[32]}]]],["dso-modal.cjs",[[1,"dso-modal",{"modalTitle":[1,"modal-title"],"role":[1],"showCloseButton":[4,"show-close-button"],"ariaId":[32],"hasFooter":[32]}]]],["dso-table.cjs",[[1,"dso-table",{"noModal":[516,"no-modal"],"isResponsive":[516,"is-responsive"],"modalActive":[32],"placeholderHeight":[32]}]]],["dso-viewer-grid.cjs",[[1,"dso-viewer-grid",{"filterpanelOpen":[516,"filterpanel-open"],"overlayOpen":[516,"overlay-open"],"initialMainSize":[1,"initial-main-size"],"mainSize":[32]}]]],["dso-accordion.cjs",[[1,"dso-accordion",{"variant":[513],"reverseAlign":[516,"reverse-align"],"allowMultipleOpen":[516,"allow-multiple-open"],"getState":[64],"toggleSection":[64],"closeOpenSections":[64]}]]],["dso-badge.cjs",[[1,"dso-badge",{"status":[1]}]]],["dso-banner.cjs",[[1,"dso-banner",{"status":[1]}]]],["dso-card.cjs",[[1,"dso-card",{"isSelectable":[516,"is-selectable"],"hasImage":[516,"has-image"]}]]],["dso-card-container.cjs",[[1,"dso-card-container",{"mode":[1]}]]],["dso-highlight-box.cjs",[[1,"dso-highlight-box",{"yellow":[4],"border":[4],"white":[4],"dropShadow":[4,"drop-shadow"],"step":[2]}]]],["dso-ozon-content.cjs",[[6,"dso-ozon-content",{"content":[1],"inline":[516],"deleted":[516],"interactive":[520],"state":[32]}]]],["dso-progress-bar.cjs",[[1,"dso-progress-bar",{"progress":[2],"min":[2],"max":[2]}]]],["dso-attachments-counter.cjs",[[1,"dso-attachments-counter",{"count":[2]}]]],["dso-dropdown-menu.cjs",[[1,"dso-dropdown-menu",{"open":[1540],"dropdownAlign":[1,"dropdown-align"],"checkable":[4]}]]],["dso-responsive-element.cjs",[[1,"dso-responsive-element",{"sizeAlias":[32],"sizeWidth":[32],"getSize":[64]}]]],["dso-progress-indicator.cjs",[[1,"dso-progress-indicator",{"label":[1],"size":[1],"block":[4]}]]],["dso-tooltip.cjs",[[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.cjs",[[1,"dso-info-button",{"active":[1540],"secondary":[4],"label":[1],"hover":[32],"setFocus":[64]}]]],["dso-info_2.cjs",[[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);
|
|
18
18
|
});
|
|
19
19
|
};
|
|
20
20
|
|
|
@@ -12,6 +12,8 @@
|
|
|
12
12
|
"./components/attachments-counter/attachments-counter.js",
|
|
13
13
|
"./components/badge/badge.js",
|
|
14
14
|
"./components/banner/banner.js",
|
|
15
|
+
"./components/card/card.js",
|
|
16
|
+
"./components/card-container/card-container.js",
|
|
15
17
|
"./components/dropdown-menu/dropdown-menu.js",
|
|
16
18
|
"./components/header/header.js",
|
|
17
19
|
"./components/helpcenter-panel/helpcenter-panel.js",
|
|
@@ -133,8 +133,8 @@
|
|
|
133
133
|
}
|
|
134
134
|
|
|
135
135
|
:host(.dso-accordion-compact) .dso-section-handle {
|
|
136
|
-
border: 1px solid transparent;
|
|
137
|
-
border-top
|
|
136
|
+
border-bottom: 1px solid transparent;
|
|
137
|
+
border-top: 1px solid #ccc;
|
|
138
138
|
}
|
|
139
139
|
:host(.dso-accordion-compact) .dso-section-handle a,
|
|
140
140
|
:host(.dso-accordion-compact) .dso-section-handle button {
|
|
@@ -149,18 +149,19 @@
|
|
|
149
149
|
:host(.dso-accordion-compact) .dso-section-handle button.active {
|
|
150
150
|
color: #39870c;
|
|
151
151
|
}
|
|
152
|
-
:host(.dso-accordion-compact),
|
|
153
152
|
:host(.dso-accordion-compact) .dso-section-body {
|
|
154
|
-
|
|
155
|
-
border-top: 1px solid #ccc;
|
|
153
|
+
padding-left: 32px;
|
|
156
154
|
padding-top: 0;
|
|
155
|
+
padding-right: 0;
|
|
157
156
|
}
|
|
158
|
-
|
|
159
|
-
|
|
157
|
+
|
|
158
|
+
:host(.dso-accordion-compact.dso-accordion-reverse-align) .dso-section-handle a,
|
|
159
|
+
:host(.dso-accordion-compact.dso-accordion-reverse-align) .dso-section-handle button {
|
|
160
|
+
padding-left: 16px;
|
|
160
161
|
}
|
|
161
|
-
:host(.dso-accordion-compact) .dso-section-body {
|
|
162
|
-
|
|
163
|
-
padding-
|
|
162
|
+
:host(.dso-accordion-compact.dso-accordion-reverse-align) .dso-section-body {
|
|
163
|
+
padding-left: 16px;
|
|
164
|
+
padding-right: 0;
|
|
164
165
|
}
|
|
165
166
|
|
|
166
167
|
:host(.dso-accordion-compact[open]:not(.dso-nested-accordion)) > .dso-section-handle {
|
|
@@ -44,6 +44,7 @@ export class AccordionSection {
|
|
|
44
44
|
"dso-accordion-section": true,
|
|
45
45
|
["dso-accordion-" + variant]: true,
|
|
46
46
|
"dso-nested-accordion": this.hasNestedSection,
|
|
47
|
+
"dso-accordion-reverse-align": this.accordionState.reverseAlign,
|
|
47
48
|
} }, h(Handle, { heading: this.heading }, h(HandleElement, { handleUrl: this.handleUrl, onClick: async (event) => await this.toggle(event), open: this.open }, reverseAlign ? (h(Fragment, null, hasAddons && (h("div", { class: "dso-section-handle-addons" }, h(HandleIcon, { icon: this.icon }))), h("span", null, this.handleTitle), h("dso-icon", { icon: this.open ? "chevron-up" : "chevron-down" }))) : (h(Fragment, null, h("dso-icon", { icon: this.open ? "chevron-down" : "chevron-right" }), this.state && h("span", { class: "sr-only" }, stateMap[this.state]), h("span", null, this.handleTitle), hasAddons && (h("div", { class: "dso-section-handle-addons" }, this.status && h("span", { class: "dso-status" }, this.status), h(HandleIcon, { state: this.state, icon: this.icon, attachmentCount: this.attachmentCount }))))))), h("div", { class: "dso-section-body", style: this.open ? {} : { display: "none" } }, h("slot", null))));
|
|
48
49
|
}
|
|
49
50
|
static get is() { return "dso-accordion-section"; }
|
|
@@ -30,8 +30,8 @@ export class Alert {
|
|
|
30
30
|
"type": "string",
|
|
31
31
|
"mutable": false,
|
|
32
32
|
"complexType": {
|
|
33
|
-
"original": "\"success\" | \"info\" | \"warning\" | \"
|
|
34
|
-
"resolved": "\"
|
|
33
|
+
"original": "\"success\" | \"info\" | \"warning\" | \"error\"",
|
|
34
|
+
"resolved": "\"error\" | \"info\" | \"success\" | \"warning\"",
|
|
35
35
|
"references": {}
|
|
36
36
|
},
|
|
37
37
|
"required": true,
|
|
@@ -67,5 +67,5 @@ Alert.statusMap = new Map([
|
|
|
67
67
|
["success", "Gelukt"],
|
|
68
68
|
["info", "Opmerking"],
|
|
69
69
|
["warning", "Waarschuwing"],
|
|
70
|
-
["
|
|
70
|
+
["error", "Fout"],
|
|
71
71
|
]);
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
:host .dso-card-selectable, :host .dso-card-image {
|
|
2
|
+
grid-row: span 2;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
*,
|
|
6
|
+
*::after,
|
|
7
|
+
*::before {
|
|
8
|
+
box-sizing: border-box;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
:host {
|
|
12
|
+
display: block;
|
|
13
|
+
}
|
|
14
|
+
:host .dso-card-heading {
|
|
15
|
+
align-items: center;
|
|
16
|
+
display: flex;
|
|
17
|
+
justify-content: space-between;
|
|
18
|
+
margin-bottom: 8px;
|
|
19
|
+
}
|
|
20
|
+
@media screen and (max-width: 480px) {
|
|
21
|
+
:host .dso-card-heading {
|
|
22
|
+
flex-wrap: wrap;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
:host .dso-card-image {
|
|
26
|
+
margin-right: 8px;
|
|
27
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|