@dso-toolkit/core 32.0.0 → 33.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-dropdown-menu.cjs.entry.js +4 -1
- package/dist/cjs/dso-helpcenter-panel.cjs.entry.js +44 -0
- package/dist/cjs/dso-icon.cjs.entry.js +29 -5
- package/dist/cjs/dso-toggletip.cjs.entry.js +2 -1
- package/dist/cjs/dso-toolkit.cjs.js +1 -1
- package/dist/cjs/dso-tree-view.cjs.entry.js +5 -4
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/dropdown-menu/dropdown-menu.css +4 -0
- package/dist/collection/components/dropdown-menu/dropdown-menu.js +3 -0
- package/dist/collection/components/helpcenter-panel/helpcenter-panel.css +312 -0
- package/dist/collection/components/helpcenter-panel/helpcenter-panel.js +92 -0
- package/dist/collection/components/helpcenter-panel/helpcenter-panel.template.js +13 -0
- package/dist/collection/components/icon/icon.js +8 -0
- package/dist/collection/components/toggletip/toggletip.css +4 -0
- package/dist/collection/components/toggletip/toggletip.js +1 -0
- package/dist/collection/components/tree-view/tree-item.js +3 -2
- package/dist/collection/components/tree-view/tree-view.css +33 -5
- package/dist/collection/components/tree-view/tree-view.js +11 -11
- package/dist/custom-elements/index.d.ts +6 -0
- package/dist/custom-elements/index.js +82 -12
- package/dist/dso-toolkit/dso-toolkit.esm.js +1 -1
- package/dist/dso-toolkit/p-741e96de.entry.js +5 -0
- package/dist/dso-toolkit/p-75233655.entry.js +1 -0
- package/dist/dso-toolkit/{p-e2dc97c4.entry.js → p-984551a8.entry.js} +1 -1
- package/dist/dso-toolkit/p-b07991b9.entry.js +1 -0
- package/dist/dso-toolkit/p-e814d644.entry.js +1 -0
- package/dist/esm/dso-dropdown-menu.entry.js +4 -1
- package/dist/esm/dso-helpcenter-panel.entry.js +40 -0
- package/dist/esm/dso-icon.entry.js +29 -5
- package/dist/esm/dso-toggletip.entry.js +2 -1
- package/dist/esm/dso-toolkit.js +1 -1
- package/dist/esm/dso-tree-view.entry.js +5 -4
- package/dist/esm/loader.js +1 -1
- package/dist/types/components/dropdown-menu/dropdown-menu.d.ts +1 -0
- package/dist/types/components/helpcenter-panel/helpcenter-panel.d.ts +11 -0
- package/dist/types/components/helpcenter-panel/helpcenter-panel.template.d.ts +2 -0
- package/dist/types/components/tree-view/tree-item.d.ts +4 -4
- package/dist/types/components/tree-view/tree-view.d.ts +12 -9
- package/dist/types/components/tree-view/tree-view.interfaces.d.ts +14 -4
- package/dist/types/components/tree-view/tree-view.template.d.ts +1 -1
- package/dist/types/components.d.ts +24 -7
- package/package.json +1 -8
- package/dist/dso-toolkit/p-12f7e7d7.entry.js +0 -5
- package/dist/dso-toolkit/p-5a67f3f7.entry.js +0 -1
- package/dist/dso-toolkit/p-ad8f467f.entry.js +0 -1
|
@@ -230,7 +230,7 @@ var tabbable = function tabbable(el, options) {
|
|
|
230
230
|
return tabbableNodes;
|
|
231
231
|
};
|
|
232
232
|
|
|
233
|
-
const dropdownMenuCss = ":host{--di-check-wit:url(\"data:image/svg+xml,%3csvg id='check' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' style='color: white%3b'%3e %3cpath fill='currentColor' d='M10.11%2c18%2c5.29%2c13.31A.92.92%2c0%2c0%2c1%2c5.3%2c12a1%2c1%2c0%2c0%2c1%2c1.41%2c0l3.4%2c3.3%2c7.18-7a1%2c1%2c0%2c0%2c1%2c1.41%2c0%2c.92.92%2c0%2c0%2c1%2c0%2c1.35Z'/%3e %3c/svg%3e\");--di-chevron-down:url(\"data:image/svg+xml,%3csvg id='chevron-down' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' style='color: %2339870c%3b'%3e %3cpath fill='currentColor' d='M12%2c16%2c5.29%2c9.63a.93.93%2c0%2c0%2c1%2c0-1.35%2c1%2c1%2c0%2c0%2c1%2c1.42%2c0l5.29%2c5%2c5.29-5a1%2c1%2c0%2c0%2c1%2c1.42%2c0%2c.91.91%2c0%2c0%2c1%2c0%2c1.34Z'/%3e %3c/svg%3e\");--di-chevron-down-scampi:url(\"data:image/svg+xml,%3csvg id='chevron-down' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' style='color: %23676cb0%3b'%3e %3cpath fill='currentColor' d='M12%2c16%2c5.29%2c9.63a.93.93%2c0%2c0%2c1%2c0-1.35%2c1%2c1%2c0%2c0%2c1%2c1.42%2c0l5.29%2c5%2c5.29-5a1%2c1%2c0%2c0%2c1%2c1.42%2c0%2c.91.91%2c0%2c0%2c1%2c0%2c1.34Z'/%3e %3c/svg%3e\");--di-chevron-down-wit:url(\"data:image/svg+xml,%3csvg id='chevron-down' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' style='color: white%3b'%3e %3cpath fill='currentColor' d='M12%2c16%2c5.29%2c9.63a.93.93%2c0%2c0%2c1%2c0-1.35%2c1%2c1%2c0%2c0%2c1%2c1.42%2c0l5.29%2c5%2c5.29-5a1%2c1%2c0%2c0%2c1%2c1.42%2c0%2c.91.91%2c0%2c0%2c1%2c0%2c1.34Z'/%3e %3c/svg%3e\");--di-chevron-up:url(\"data:image/svg+xml,%3csvg id='chevron-up' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' style='color: %2339870c%3b'%3e %3cpath fill='currentColor' d='M18%2c16a1%2c1%2c0%2c0%2c1-.71-.28l-5.29-5-5.29%2c5a1%2c1%2c0%2c0%2c1-1.42%2c0%2c.93.93%2c0%2c0%2c1%2c0-1.35L12%2c8l6.71%2c6.38a.91.91%2c0%2c0%2c1%2c0%2c1.34A1%2c1%2c0%2c0%2c1%2c18%2c16Z'/%3e %3c/svg%3e\");--di-chevron-up-scampi:url(\"data:image/svg+xml,%3csvg id='chevron-up' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' style='color: %23676cb0%3b'%3e %3cpath fill='currentColor' d='M18%2c16a1%2c1%2c0%2c0%2c1-.71-.28l-5.29-5-5.29%2c5a1%2c1%2c0%2c0%2c1-1.42%2c0%2c.93.93%2c0%2c0%2c1%2c0-1.35L12%2c8l6.71%2c6.38a.91.91%2c0%2c0%2c1%2c0%2c1.34A1%2c1%2c0%2c0%2c1%2c18%2c16Z'/%3e %3c/svg%3e\");--di-chevron-up-wit:url(\"data:image/svg+xml,%3csvg id='chevron-up' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' style='color: white%3b'%3e %3cpath fill='currentColor' d='M18%2c16a1%2c1%2c0%2c0%2c1-.71-.28l-5.29-5-5.29%2c5a1%2c1%2c0%2c0%2c1-1.42%2c0%2c.93.93%2c0%2c0%2c1%2c0-1.35L12%2c8l6.71%2c6.38a.91.91%2c0%2c0%2c1%2c0%2c1.34A1%2c1%2c0%2c0%2c1%2c18%2c16Z'/%3e %3c/svg%3e\");display:inline-block;position:relative}";
|
|
233
|
+
const dropdownMenuCss = ":host(:focus){outline:none}:host{--di-check-wit:url(\"data:image/svg+xml,%3csvg id='check' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' style='color: white%3b'%3e %3cpath fill='currentColor' d='M10.11%2c18%2c5.29%2c13.31A.92.92%2c0%2c0%2c1%2c5.3%2c12a1%2c1%2c0%2c0%2c1%2c1.41%2c0l3.4%2c3.3%2c7.18-7a1%2c1%2c0%2c0%2c1%2c1.41%2c0%2c.92.92%2c0%2c0%2c1%2c0%2c1.35Z'/%3e %3c/svg%3e\");--di-chevron-down:url(\"data:image/svg+xml,%3csvg id='chevron-down' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' style='color: %2339870c%3b'%3e %3cpath fill='currentColor' d='M12%2c16%2c5.29%2c9.63a.93.93%2c0%2c0%2c1%2c0-1.35%2c1%2c1%2c0%2c0%2c1%2c1.42%2c0l5.29%2c5%2c5.29-5a1%2c1%2c0%2c0%2c1%2c1.42%2c0%2c.91.91%2c0%2c0%2c1%2c0%2c1.34Z'/%3e %3c/svg%3e\");--di-chevron-down-scampi:url(\"data:image/svg+xml,%3csvg id='chevron-down' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' style='color: %23676cb0%3b'%3e %3cpath fill='currentColor' d='M12%2c16%2c5.29%2c9.63a.93.93%2c0%2c0%2c1%2c0-1.35%2c1%2c1%2c0%2c0%2c1%2c1.42%2c0l5.29%2c5%2c5.29-5a1%2c1%2c0%2c0%2c1%2c1.42%2c0%2c.91.91%2c0%2c0%2c1%2c0%2c1.34Z'/%3e %3c/svg%3e\");--di-chevron-down-wit:url(\"data:image/svg+xml,%3csvg id='chevron-down' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' style='color: white%3b'%3e %3cpath fill='currentColor' d='M12%2c16%2c5.29%2c9.63a.93.93%2c0%2c0%2c1%2c0-1.35%2c1%2c1%2c0%2c0%2c1%2c1.42%2c0l5.29%2c5%2c5.29-5a1%2c1%2c0%2c0%2c1%2c1.42%2c0%2c.91.91%2c0%2c0%2c1%2c0%2c1.34Z'/%3e %3c/svg%3e\");--di-chevron-up:url(\"data:image/svg+xml,%3csvg id='chevron-up' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' style='color: %2339870c%3b'%3e %3cpath fill='currentColor' d='M18%2c16a1%2c1%2c0%2c0%2c1-.71-.28l-5.29-5-5.29%2c5a1%2c1%2c0%2c0%2c1-1.42%2c0%2c.93.93%2c0%2c0%2c1%2c0-1.35L12%2c8l6.71%2c6.38a.91.91%2c0%2c0%2c1%2c0%2c1.34A1%2c1%2c0%2c0%2c1%2c18%2c16Z'/%3e %3c/svg%3e\");--di-chevron-up-scampi:url(\"data:image/svg+xml,%3csvg id='chevron-up' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' style='color: %23676cb0%3b'%3e %3cpath fill='currentColor' d='M18%2c16a1%2c1%2c0%2c0%2c1-.71-.28l-5.29-5-5.29%2c5a1%2c1%2c0%2c0%2c1-1.42%2c0%2c.93.93%2c0%2c0%2c1%2c0-1.35L12%2c8l6.71%2c6.38a.91.91%2c0%2c0%2c1%2c0%2c1.34A1%2c1%2c0%2c0%2c1%2c18%2c16Z'/%3e %3c/svg%3e\");--di-chevron-up-wit:url(\"data:image/svg+xml,%3csvg id='chevron-up' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' style='color: white%3b'%3e %3cpath fill='currentColor' d='M18%2c16a1%2c1%2c0%2c0%2c1-.71-.28l-5.29-5-5.29%2c5a1%2c1%2c0%2c0%2c1-1.42%2c0%2c.93.93%2c0%2c0%2c1%2c0-1.35L12%2c8l6.71%2c6.38a.91.91%2c0%2c0%2c1%2c0%2c1.34A1%2c1%2c0%2c0%2c1%2c18%2c16Z'/%3e %3c/svg%3e\");display:inline-block;position:relative}";
|
|
234
234
|
|
|
235
235
|
let DropdownMenu = class {
|
|
236
236
|
constructor(hostRef) {
|
|
@@ -325,6 +325,9 @@ let DropdownMenu = class {
|
|
|
325
325
|
this.openPopup();
|
|
326
326
|
}
|
|
327
327
|
}
|
|
328
|
+
componentDidRender() {
|
|
329
|
+
this.host.setAttribute("tabindex", "-1");
|
|
330
|
+
}
|
|
328
331
|
componentWillRender() {
|
|
329
332
|
for (const li of Array.from(this.host.getElementsByTagName("li"))) {
|
|
330
333
|
for (const tab of tabbable(li)) {
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
const index = require('./index-fcdfdd38.js');
|
|
6
|
+
|
|
7
|
+
const helpcenterPanelCss = ":host{display:block;--di-times:url(\"data:image/svg+xml,%3csvg id='times' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' style='color: %2339870c%3b'%3e %3cpath fill='currentColor' d='M13.36%2c12l3.3-3.3A1%2c1%2c0%2c1%2c0%2c15.3%2c7.34L12%2c10.64%2c8.7%2c7.34A1%2c1%2c0%2c1%2c0%2c7.34%2c8.7l3.3%2c3.3-3.3%2c3.3A1%2c1%2c0%2c1%2c0%2c8.7%2c16.66l3.3-3.3%2c3.3%2c3.3a1%2c1%2c0%2c1%2c0%2c1.36-1.36Z'/%3e %3c/svg%3e\");--di-times-wit:url(\"data:image/svg+xml,%3csvg id='times' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' style='color: white%3b'%3e %3cpath fill='currentColor' d='M13.36%2c12l3.3-3.3A1%2c1%2c0%2c1%2c0%2c15.3%2c7.34L12%2c10.64%2c8.7%2c7.34A1%2c1%2c0%2c1%2c0%2c7.34%2c8.7l3.3%2c3.3-3.3%2c3.3A1%2c1%2c0%2c1%2c0%2c8.7%2c16.66l3.3-3.3%2c3.3%2c3.3a1%2c1%2c0%2c1%2c0%2c1.36-1.36Z'/%3e %3c/svg%3e\")}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}.wrapper{height:100%;left:0;position:fixed;top:0;visibility:hidden;width:100%}.wrapper.visible{visibility:visible}.dimscreen{background-color:#000;height:100%;opacity:0.4;width:100%}.open-button{display:inline-block;font-size:1em;font-weight:500;margin-bottom:0;text-decoration:none;touch-action:manipulation;text-align:left;user-select:none;vertical-align:middle;display:inline-block;font-size:1em;font-weight:500;margin-bottom:0;text-decoration:none;touch-action:manipulation;text-align:left;user-select:none;vertical-align:middle;background-color:#39870c;border-color:#39870c;color:#fff;border-width:1px;border-style:solid;border-radius:4px;line-height:1.5;min-width:56px;padding:11px 15px;border:0;bottom:16px;font-family:Asap, sans-serif;position:fixed;right:16px}.open-button:focus,.open-button:focus-visible{outline-offset:2px}.open-button:active{outline:0}.open-button.extern::after,.open-button.download::after{content:\"\";display:inline-block;height:1.5em;margin-left:8px;vertical-align:top;width:1.5em}.open-button:focus,.open-button:focus-visible{outline-offset:2px}.open-button:active{outline:0}.open-button.extern::after,.open-button.download::after{content:\"\";display:inline-block;height:1.5em;margin-left:8px;vertical-align:top;width:1.5em}.open-button:hover{background-color:#275937;border-color:#275937;color:#fff}.open-button:active{background-color:#15301e;border-color:#15301e;color:#fff}.open-button[disabled],.open-button[disabled]:hover{background-color:#afcf9d;border-color:#afcf9d;color:#fff}.open-button.btn-sm{line-height:16px}.open-button.btn-sm dso-icon,.open-button.btn-sm svg.di,.open-button.btn-sm.extern::after,.open-button.btn-sm.download::after{margin-bottom:-4px;margin-top:-4px}.open-button.download::after{background:var(--dso-icon, var(--di-download-wit)) no-repeat;background-position:center;background-size:cover;height:1.5em;vertical-align:top;width:1.5em}.open-button.extern::after{background:var(--dso-icon, var(--di-external-link-wit)) no-repeat;background-position:center;background-size:cover;height:1.5em;vertical-align:top;width:1.5em}.open-button dso-icon,.open-button svg.di{margin-left:-8px;margin-right:8px}.open-button span+dso-icon,.open-button span+svg.di{margin-left:8px;margin-right:-8px}.open-button:hover{cursor:pointer}.open-button.open{display:none}.close-button{display:inline-block;font-size:1em;font-weight:500;margin-bottom:0;text-decoration:none;touch-action:manipulation;text-align:left;user-select:none;vertical-align:middle;background-color:#fff;border-color:#39870c;color:#39870c;border-width:1px;border-style:solid;border-radius:4px;line-height:1.5;min-width:56px;padding:11px 15px;border-right:0;border-top:0;border-radius:0 0 0 8px;height:40px;min-width:40px;padding:0;position:fixed;right:0;width:40px;top:0}.close-button:focus,.close-button:focus-visible{outline-offset:2px}.close-button:active{outline:0}.close-button.extern::after,.close-button.download::after{content:\"\";display:inline-block;height:1.5em;margin-left:8px;vertical-align:top;width:1.5em}.close-button:hover{background-color:#39870c;border-color:#39870c;color:#fff}.close-button:active{background-color:#275937;border-color:#275937;color:#fff}.close-button[disabled],.close-button[disabled]:hover{background-color:#fff;border-color:#afcf9d;color:#afcf9d}.close-button.btn-sm{line-height:16px}.close-button.btn-sm dso-icon,.close-button.btn-sm svg.di,.close-button.btn-sm.extern::after,.close-button.btn-sm.download::after{margin-bottom:-4px;margin-top:-4px}.close-button.download::after{background:var(--dso-icon, var(--di-download)) no-repeat;background-position:center;background-size:cover;height:1.5em;vertical-align:top;width:1.5em}.close-button.download:hover::after{--dso-icon:var(--di-download-wit)}.close-button.download[disabled]::after{--dso-icon:var(--di-download-grasgroen-40)}.close-button.extern::after{background:var(--dso-icon, var(--di-external-link)) no-repeat;background-position:center;background-size:cover;height:1.5em;vertical-align:top;width:1.5em}.close-button.extern:hover::after{--dso-icon:var(--di-external-link-wit)}.close-button.extern[disabled]::after{--dso-icon:var(--di-external-link-grasgroen-40)}.close-button dso-icon,.close-button svg.di{margin-left:-8px;margin-right:8px}.close-button span+dso-icon,.close-button span+svg.di{margin-left:8px;margin-right:-8px}.close-button::before{background:var(--dso-icon, var(--di-times)) no-repeat;background-position:center;background-size:cover;height:1.5em;vertical-align:top;width:1.5em;content:\"\";display:inline-block;position:absolute;left:50%;top:50%;transform:translate(-50%, -50%)}.close-button:hover,.close-button:active,.close-button:focus{cursor:pointer}.close-button:hover::before,.close-button:active::before,.close-button:focus::before{background:var(--dso-icon, var(--di-times-wit)) no-repeat;background-position:center;background-size:cover;height:1.5em;vertical-align:top;width:1.5em}.close-button.close{display:none}.iframe-container{background-color:#fff;border:0;border-left:1px solid #ccc;box-shadow:0 2px 8px 0 rgba(0, 0, 0, 0.4);height:100%;position:absolute;right:-640px;top:0;transition:right 0.5s;width:640px}.iframe-container.open{right:0}iframe{border:0;height:100%;width:100%}";
|
|
8
|
+
|
|
9
|
+
const maxCssTransitionMilliseconds = 500;
|
|
10
|
+
let HelpcenterPanel = class {
|
|
11
|
+
constructor(hostRef) {
|
|
12
|
+
index.registerInstance(this, hostRef);
|
|
13
|
+
this.label = "Hulp nodig";
|
|
14
|
+
this.visibility = "hidden";
|
|
15
|
+
this.isOpen = "close";
|
|
16
|
+
this.slideState = "close";
|
|
17
|
+
this.loadIframe = false;
|
|
18
|
+
this.openClick = () => {
|
|
19
|
+
this.visibility = "visible";
|
|
20
|
+
this.slideState = "open";
|
|
21
|
+
setTimeout(() => {
|
|
22
|
+
this.isOpen = "open";
|
|
23
|
+
});
|
|
24
|
+
if (!this.loadIframe) {
|
|
25
|
+
setTimeout(() => {
|
|
26
|
+
this.loadIframe = true;
|
|
27
|
+
}, maxCssTransitionMilliseconds);
|
|
28
|
+
}
|
|
29
|
+
};
|
|
30
|
+
this.closeClick = () => {
|
|
31
|
+
this.isOpen = "close";
|
|
32
|
+
this.slideState = "close";
|
|
33
|
+
setTimeout(() => {
|
|
34
|
+
this.visibility = "hidden";
|
|
35
|
+
}, maxCssTransitionMilliseconds);
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
render() {
|
|
39
|
+
return (index.h(index.Fragment, null, index.h("button", { type: "button", onClick: this.openClick, class: `open-button ${this.isOpen}` }, index.h("dso-icon", { icon: "help" }), index.h("span", null, this.label)), index.h("div", { class: `wrapper ${this.visibility}` }, index.h("div", { class: "dimscreen" }), index.h("div", { class: `iframe-container ${this.slideState}` }, this.loadIframe ? index.h("iframe", { src: this.url }) : index.h("div", null)), index.h("button", { type: "button", class: `close-button ${this.isOpen}`, onClick: this.closeClick }, index.h("span", { class: "sr-only" }, "sluiten")))));
|
|
40
|
+
}
|
|
41
|
+
};
|
|
42
|
+
HelpcenterPanel.style = helpcenterPanelCss;
|
|
43
|
+
|
|
44
|
+
exports.dso_helpcenter_panel = HelpcenterPanel;
|
|
@@ -49,6 +49,11 @@ const calendar = `<svg id="calendar" xmlns="http://www.w3.org/2000/svg" viewBox=
|
|
|
49
49
|
</svg>
|
|
50
50
|
`;
|
|
51
51
|
|
|
52
|
+
const call = `<svg id="call" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
|
|
53
|
+
<path fill="currentColor" d="M23,17.86V22a1,1,0,0,1-1,1A22,22,0,0,1,1,2,1,1,0,0,1,2,1H6a1,1,0,0,1,1,.84L8.26,7A1,1,0,0,1,8,7.88L5.42,10.57a20.11,20.11,0,0,0,8,8L16.12,16a1,1,0,0,1,.87-.28l5.17,1.14A1,1,0,0,1,23,17.86Z"/>
|
|
54
|
+
</svg>
|
|
55
|
+
`;
|
|
56
|
+
|
|
52
57
|
const caretDown = `<svg id="caret-down" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
|
|
53
58
|
<path fill="currentColor" d="M19.71,10,13.08,16.6a1.35,1.35,0,0,1-1.9,0L4.3,9.93C3.77,9.42,4,9,4.71,9H19.28C20,9,20.23,9.43,19.71,10Z"/>
|
|
54
59
|
</svg>
|
|
@@ -59,6 +64,11 @@ const check = `<svg id="check" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 2
|
|
|
59
64
|
</svg>
|
|
60
65
|
`;
|
|
61
66
|
|
|
67
|
+
const checkCircle = `<svg id="check-circle" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
|
|
68
|
+
<path fill="currentColor" 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.35ZM12,3a9,9,0,1,0,9,9,9,9,0,0,0-9-9m0-2A11,11,0,1,1,1,12,11,11,0,0,1,12,1ZM10.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"/>
|
|
69
|
+
</svg>
|
|
70
|
+
`;
|
|
71
|
+
|
|
62
72
|
const chevronDown = `<svg id="chevron-down" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
|
|
63
73
|
<path fill="currentColor" d="M12,16,5.29,9.63a.93.93,0,0,1,0-1.35,1,1,0,0,1,1.42,0l5.29,5,5.29-5a1,1,0,0,1,1.42,0,.91.91,0,0,1,0,1.34Z"/>
|
|
64
74
|
</svg>
|
|
@@ -103,6 +113,11 @@ const cultural = `<svg id="cultural" xmlns="http://www.w3.org/2000/svg" viewBox=
|
|
|
103
113
|
<path fill="currentColor" d="M6,18H4V10H6Zm4-8H8v8h2Zm6,0H14v8h2Zm4,0H18v8h2Zm1,11V19H3v2H1v2H23V21Zm.09-12H2.92c-1,0-1.21-.45-.53-1l8.2-6.6a2.12,2.12,0,0,1,2.49,0L21.6,8C22.29,8.56,22.06,9,21.09,9ZM14,6a2,2,0,1,0-2,2A2,2,0,0,0,14,6Z"/>
|
|
104
114
|
</svg>`;
|
|
105
115
|
|
|
116
|
+
const document = `<svg id="document" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
|
|
117
|
+
<path fill="currentColor" d="M14.11,1H5A2,2,0,0,0,3,3V21a2,2,0,0,0,2,2H19a2,2,0,0,0,2-2V7.89ZM19,21H5V3h8V9h6Zm-2-2H7V17H17Zm0-4H7V13H17Z"/>
|
|
118
|
+
</svg>
|
|
119
|
+
`;
|
|
120
|
+
|
|
106
121
|
const download = `<svg id="download" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
|
|
107
122
|
<path fill="currentColor" d="M18.72,10.44,12,17l-6.7-6.52C4.8,10,5,9.63,5.63,9.63H8.5V1.82A.8.8,0,0,1,9.28,1h5.44a.8.8,0,0,1,.78.82V9.61h2.87C19,9.6,19.2,10,18.72,10.44ZM1,17v6H23V17Zm16,3a2,2,0,1,1-2-2A2,2,0,0,1,17,20Zm5,0a2,2,0,1,1-2-2A2,2,0,0,1,22,20Z"/>
|
|
108
123
|
</svg>
|
|
@@ -148,10 +163,7 @@ const filter = `<svg id="filter" xmlns="http://www.w3.org/2000/svg" viewBox="0 0
|
|
|
148
163
|
`;
|
|
149
164
|
|
|
150
165
|
const forbidden = `<svg id="forbidden" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
|
|
151
|
-
<
|
|
152
|
-
<path d="M12,1A11,11,0,1,0,23,12,11,11,0,0,0,12,1Zm8.25,11a8.19,8.19,0,0,1-1.53,4.77L7.23,5.28a8.24,8.24,0,0,1,13,6.72ZM3.75,12A8.19,8.19,0,0,1,5.28,7.23L16.77,18.72A8.24,8.24,0,0,1,3.75,12Z" style="fill: #ce3f51"/>
|
|
153
|
-
<path d="M12,1A11,11,0,1,1,1,12,11,11,0,0,1,12,1m6.72,15.77A8.24,8.24,0,0,0,7.23,5.28L18.72,16.77M12,20.25a8.19,8.19,0,0,0,4.77-1.53L5.28,7.23a8.24,8.24,0,0,0,6.72,13M12,0A12,12,0,1,0,24,12,12,12,0,0,0,12,0ZM8.84,5.48A7.18,7.18,0,0,1,12,4.75,7.26,7.26,0,0,1,19.25,12a7.18,7.18,0,0,1-.73,3.16L8.84,5.48ZM12,19.25A7.26,7.26,0,0,1,4.75,12a7.18,7.18,0,0,1,.73-3.16l9.68,9.68a7.18,7.18,0,0,1-3.16.73Z" style="fill: #fff"/>
|
|
154
|
-
</g>
|
|
166
|
+
<path fill="currentColor" d="M12,1A11,11,0,1,0,23,12,11,11,0,0,0,12,1ZM3,12A9,9,0,0,1,5,6.39L17.61,19A8.91,8.91,0,0,1,12,21,9,9,0,0,1,3,12Zm16,5.61L6.39,5A9,9,0,0,1,19,17.61Z"/>
|
|
155
167
|
</svg>
|
|
156
168
|
`;
|
|
157
169
|
|
|
@@ -274,7 +286,7 @@ const more = `<svg id="more" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24
|
|
|
274
286
|
`;
|
|
275
287
|
|
|
276
288
|
const municipality = `<svg id="municipality" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
|
|
277
|
-
<path fill="currentColor" d="
|
|
289
|
+
<path fill="currentColor" d="M16,10V9H8v1H0V23H8v1h3V18h2v6h3V23h8V10ZM4,20H2V12H4Zm4,0H6V12H8Zm5-7H11V11h2Zm5,7H16V12h2Zm4,0H20V12h2ZM22,1.88a2.55,2.55,0,0,1,2,0V.51a2.53,2.53,0,0,0-2,0c-1,.41-2,.74-3-.26V0H18V6.38L16,6V3.5L12,2,8,3.5V6L0,7.5V9H8V8h8V9h8V7.5l-5-.94V4.2c1,1,2,.67,3,.25a2.55,2.55,0,0,1,2,0V3.09a2.55,2.55,0,0,0-2,0c-1,.41-2,.75-3-.25V1.63C20,2.63,21,2.29,22,1.88ZM12,6a1,1,0,1,1,1-1A1,1,0,0,1,12,6Z"/>
|
|
278
290
|
</svg>
|
|
279
291
|
`;
|
|
280
292
|
|
|
@@ -386,6 +398,14 @@ const sound = `<svg id="sound" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 2
|
|
|
386
398
|
</svg>
|
|
387
399
|
`;
|
|
388
400
|
|
|
401
|
+
const statusForbidden = `<svg id="forbidden" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
|
|
402
|
+
<g>
|
|
403
|
+
<path d="M12,1A11,11,0,1,0,23,12,11,11,0,0,0,12,1Zm8.25,11a8.19,8.19,0,0,1-1.53,4.77L7.23,5.28a8.24,8.24,0,0,1,13,6.72ZM3.75,12A8.19,8.19,0,0,1,5.28,7.23L16.77,18.72A8.24,8.24,0,0,1,3.75,12Z" style="fill: #ce3f51"/>
|
|
404
|
+
<path d="M12,1A11,11,0,1,1,1,12,11,11,0,0,1,12,1m6.72,15.77A8.24,8.24,0,0,0,7.23,5.28L18.72,16.77M12,20.25a8.19,8.19,0,0,0,4.77-1.53L5.28,7.23a8.24,8.24,0,0,0,6.72,13M12,0A12,12,0,1,0,24,12,12,12,0,0,0,12,0ZM8.84,5.48A7.18,7.18,0,0,1,12,4.75,7.26,7.26,0,0,1,19.25,12a7.18,7.18,0,0,1-.73,3.16L8.84,5.48ZM12,19.25A7.26,7.26,0,0,1,4.75,12a7.18,7.18,0,0,1,.73-3.16l9.68,9.68a7.18,7.18,0,0,1-3.16.73Z" style="fill: #fff"/>
|
|
405
|
+
</g>
|
|
406
|
+
</svg>
|
|
407
|
+
`;
|
|
408
|
+
|
|
389
409
|
const statusDanger = `<svg id="status-danger-line" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
|
|
390
410
|
<g>
|
|
391
411
|
<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" style="fill: #ce3f51"/>
|
|
@@ -477,8 +497,10 @@ const icons = [
|
|
|
477
497
|
{ alias: 'bars', svg: bars },
|
|
478
498
|
{ alias: 'buildings', svg: buildings },
|
|
479
499
|
{ alias: 'calendar', svg: calendar },
|
|
500
|
+
{ alias: 'call', svg: call },
|
|
480
501
|
{ alias: 'caret-down', svg: caretDown },
|
|
481
502
|
{ alias: 'check', svg: check },
|
|
503
|
+
{ alias: 'check-circle', svg: checkCircle },
|
|
482
504
|
{ alias: 'chevron-down', svg: chevronDown },
|
|
483
505
|
{ alias: 'chevron-left', svg: chevronLeft },
|
|
484
506
|
{ alias: 'chevron-right', svg: chevronRight },
|
|
@@ -488,6 +510,7 @@ const icons = [
|
|
|
488
510
|
{ alias: 'copy', svg: copy },
|
|
489
511
|
{ alias: 'crown', svg: crown },
|
|
490
512
|
{ alias: 'cultural', svg: cultural },
|
|
513
|
+
{ alias: 'document', svg: document },
|
|
491
514
|
{ alias: 'download', svg: download },
|
|
492
515
|
{ alias: 'email', svg: email },
|
|
493
516
|
{ alias: 'energy', svg: energy },
|
|
@@ -544,6 +567,7 @@ const icons = [
|
|
|
544
567
|
{ alias: 'sort', svg: sort },
|
|
545
568
|
{ alias: 'sound', svg: sound },
|
|
546
569
|
{ alias: 'status-danger', svg: statusDanger },
|
|
570
|
+
{ alias: 'status-forbidden', svg: statusForbidden },
|
|
547
571
|
{ alias: 'status-info', svg: statusInfo },
|
|
548
572
|
{ alias: 'status-success', svg: statusSuccess },
|
|
549
573
|
{ alias: 'status-warning', svg: statusWarning },
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-fcdfdd38.js');
|
|
6
6
|
|
|
7
|
-
const toggletipCss = "*,*::after,*::before{box-sizing:border-box}";
|
|
7
|
+
const toggletipCss = "*,*::after,*::before{box-sizing:border-box}:host(:focus){outline:none}";
|
|
8
8
|
|
|
9
9
|
let Toggletip = class {
|
|
10
10
|
constructor(hostRef) {
|
|
@@ -51,6 +51,7 @@ let Toggletip = class {
|
|
|
51
51
|
throw Error("button not found");
|
|
52
52
|
}
|
|
53
53
|
this.button = button;
|
|
54
|
+
this.host.setAttribute("tabindex", "-1");
|
|
54
55
|
}
|
|
55
56
|
render() {
|
|
56
57
|
return (index.h(index.Fragment, null, index.h("dso-info-button", { id: "toggle", onClick: this.click, label: this.label, active: this.active, secondary: this.secondary }), index.h("dso-tooltip", { stateless: true, for: "toggle", active: this.active, position: this.position, small: this.small }, index.h("slot", null))));
|
|
@@ -15,5 +15,5 @@ const patchBrowser = () => {
|
|
|
15
15
|
};
|
|
16
16
|
|
|
17
17
|
patchBrowser().then(options => {
|
|
18
|
-
return index.bootstrapLazy([["dso-map-base-layers.cjs",[[1,"dso-map-base-layers",{"baseLayers":[16],"selectedBaseLayer":[1040]}]]],["dso-map-overlays.cjs",[[1,"dso-map-overlays",{"overlays":[16],"checkedOverlays":[1040]}]]],["dso-toggletip.cjs",[[1,"dso-toggletip",{"label":[1],"position":[1],"small":[4],"secondary":[4],"active":[32]}]]],["dso-tree-view.cjs",[[1,"dso-tree-view",{"collection":[16]}]]],["dso-date-picker.cjs",[[1,"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],"setFocus":[64],"show":[64],"hide":[64]},[[6,"click","handleDocumentClick"]]]]],["dso-label.cjs",[[1,"dso-label",{"compact":[4],"removable":[4],"status":[1],"hover":[32]}]]],["dso-map-controls.cjs",[[1,"dso-map-controls",{"open":[1540],"disableZoom":[1,"disable-zoom"],"hideContent":[32]}]]],["dso-alert.cjs",[[1,"dso-alert",{"status":[1],"roleAlert":[4,"role-alert"]}]]],["dso-attachments-counter.cjs",[[1,"dso-attachments-counter",{"count":[2]}]]],["dso-autosuggest.cjs",[[6,"dso-autosuggest",{"suggestions":[16],"suggestOnFocus":[4,"suggest-on-focus"],"showSuggestions":[32],"selectedSuggestion":[32]},[[4,"click","onDocumentClick"]]]]],["dso-badge.cjs",[[1,"dso-badge",{"status":[1]}]]],["dso-banner.cjs",[[1,"dso-banner",{"status":[1]}]]],["dso-dropdown-menu.cjs",[[1,"dso-dropdown-menu",{"open":[1540],"dropdownAlign":[1,"dropdown-align"],"checkable":[4]}]]],["dso-highlight-box.cjs",[[1,"dso-highlight-box",{"yellow":[4],"border":[4],"white":[4],"dropShadow":[4,"drop-shadow"],"step":[2]}]]],["dso-ozon-content.cjs",[[0,"dso-ozon-content",{"content":[1]},[[0,"click","handleClick"]]]]],["dso-progress-bar.cjs",[[1,"dso-progress-bar",{"progress":[2],"min":[2],"max":[2]}]]],["dso-progress-indicator.cjs",[[1,"dso-progress-indicator",{"label":[1],"size":[1],"block":[4]}]]],["dso-tooltip.cjs",[[1,"dso-tooltip",{"position":[1],"for":[1],"noArrow":[4,"no-arrow"],"stateless":[4],"small":[4],"active":[1540],"hidden":[32],"activate":[64],"deactivate":[64]},[[0,"click","listenClick"]]]]],["dso-
|
|
18
|
+
return index.bootstrapLazy([["dso-map-base-layers.cjs",[[1,"dso-map-base-layers",{"baseLayers":[16],"selectedBaseLayer":[1040]}]]],["dso-map-overlays.cjs",[[1,"dso-map-overlays",{"overlays":[16],"checkedOverlays":[1040]}]]],["dso-toggletip.cjs",[[1,"dso-toggletip",{"label":[1],"position":[1],"small":[4],"secondary":[4],"active":[32]}]]],["dso-tree-view.cjs",[[1,"dso-tree-view",{"collection":[16]}]]],["dso-date-picker.cjs",[[1,"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],"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]}]]],["dso-label.cjs",[[1,"dso-label",{"compact":[4],"removable":[4],"status":[1],"hover":[32]}]]],["dso-map-controls.cjs",[[1,"dso-map-controls",{"open":[1540],"disableZoom":[1,"disable-zoom"],"hideContent":[32]}]]],["dso-alert.cjs",[[1,"dso-alert",{"status":[1],"roleAlert":[4,"role-alert"]}]]],["dso-attachments-counter.cjs",[[1,"dso-attachments-counter",{"count":[2]}]]],["dso-autosuggest.cjs",[[6,"dso-autosuggest",{"suggestions":[16],"suggestOnFocus":[4,"suggest-on-focus"],"showSuggestions":[32],"selectedSuggestion":[32]},[[4,"click","onDocumentClick"]]]]],["dso-badge.cjs",[[1,"dso-badge",{"status":[1]}]]],["dso-banner.cjs",[[1,"dso-banner",{"status":[1]}]]],["dso-dropdown-menu.cjs",[[1,"dso-dropdown-menu",{"open":[1540],"dropdownAlign":[1,"dropdown-align"],"checkable":[4]}]]],["dso-highlight-box.cjs",[[1,"dso-highlight-box",{"yellow":[4],"border":[4],"white":[4],"dropShadow":[4,"drop-shadow"],"step":[2]}]]],["dso-ozon-content.cjs",[[0,"dso-ozon-content",{"content":[1]},[[0,"click","handleClick"]]]]],["dso-progress-bar.cjs",[[1,"dso-progress-bar",{"progress":[2],"min":[2],"max":[2]}]]],["dso-progress-indicator.cjs",[[1,"dso-progress-indicator",{"label":[1],"size":[1],"block":[4]}]]],["dso-tooltip.cjs",[[1,"dso-tooltip",{"position":[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]}]]],["dso-info_2.cjs",[[1,"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]}],[1,"dso-info",{"fixed":[516],"active":[516]}]]],["dso-icon.cjs",[[1,"dso-icon",{"icon":[1]}]]]], options);
|
|
19
19
|
});
|
|
@@ -7,13 +7,14 @@ const clsx_m = require('./clsx.m-b00fa5e1.js');
|
|
|
7
7
|
|
|
8
8
|
const DsoTreeItem = ({ owner, ancestors, item, index: index$1, level, setSize }) => {
|
|
9
9
|
var _a, _b, _c;
|
|
10
|
-
return (index.h("li", { key: item.
|
|
10
|
+
return (index.h("li", { key: item.id, class: clsx_m.clsx('tree-item', { 'has-child': item.hasItems }), role: 'none' },
|
|
11
11
|
index.h("div", { class: "tree-branch-control" }, item.hasItems
|
|
12
12
|
?
|
|
13
13
|
index.h("div", { onClick: (e) => owner.itemClick(e, ancestors, item) },
|
|
14
14
|
index.h("dso-icon", { icon: item.open ? 'chevron-down' : 'chevron-right' }))
|
|
15
15
|
: index.h("dso-icon", null)),
|
|
16
|
-
index.h("p", { class:
|
|
16
|
+
index.h("p", { class: clsx_m.clsx('tree-content', { 'active': item.active }, { 'selected': item.selected }), tabindex: level === 1 && index$1 === 0 ? 0 : -1, role: "treeitem", "aria-expanded": item.hasItems ? '' + (!!item.open && !!((_a = item.items) === null || _a === void 0 ? void 0 : _a.length)) : undefined, "aria-current": item.active ? 'true' : undefined, "aria-level": level, "aria-setsize": setSize, "aria-posinset": index$1 + 1, "aria-busy": item.loading ? 'true' : undefined, onClick: (e) => owner.itemClick(e, ancestors, item) },
|
|
17
|
+
item.selected && index.h("span", { class: "sr-only" }, "Resultaat: "),
|
|
17
18
|
item.href
|
|
18
19
|
? index.h("a", { href: item.href, tabindex: "-1" }, item.label)
|
|
19
20
|
: index.h("span", null, item.label), (_b = item.icons) === null || _b === void 0 ? void 0 :
|
|
@@ -24,7 +25,7 @@ const DsoTreeItem = ({ owner, ancestors, item, index: index$1, level, setSize })
|
|
|
24
25
|
: index.h("ul", { role: "group" }, (_c = item.items) === null || _c === void 0 ? void 0 : _c.map((childItem, index$1, org) => index.h(DsoTreeItem, { owner: owner, ancestors: [...ancestors, item], item: childItem, index: index$1, level: level + 1, setSize: org.length }))))));
|
|
25
26
|
};
|
|
26
27
|
|
|
27
|
-
const treeViewCss = ":host ul{list-style-type:none}:host ul[role=tree]{padding-left:0}:host li[role=treeitem]>ul{padding-left:1.5em}:host .tree-branch-control{cursor:pointer;display:inline-block}:host .tree-content{cursor:pointer;display:inline-block;margin:8px 0}:host .tree-content a,:host .tree-content a:visited{color:#
|
|
28
|
+
const treeViewCss = ":host ul{list-style-type:none}:host ul[role=tree]{padding-left:0}:host li[role=treeitem]>ul{padding-left:1.5em}:host .tree-branch-control{cursor:pointer;display:inline-block}:host .tree-content{cursor:pointer;display:inline-block;margin:8px 0}:host .tree-content.active{font-weight:700}:host .tree-content.active:hover{text-decoration:underline}:host .tree-content.active a{text-decoration:none}:host .tree-content.selected{color:#191919;font-weight:700;text-decoration:underline}:host .tree-content.selected:hover,:host .tree-content.selected:focus{text-decoration:none}:host .tree-content a,:host .tree-content a:visited{color:#191919;text-decoration:underline}:host .tree-content a:hover,:host .tree-content a:focus{color:#191919;text-decoration:none}:host .tree-content a:active{text-decoration:none}:host .tree-content dso-icon{font-size:0.75em;margin-left:0.5em;vertical-align:text-bottom}*,*::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}";
|
|
28
29
|
|
|
29
30
|
let TreeView = class {
|
|
30
31
|
constructor(hostRef) {
|
|
@@ -85,7 +86,7 @@ let TreeView = class {
|
|
|
85
86
|
return;
|
|
86
87
|
}
|
|
87
88
|
TreeView.setFocus(tree, contentElement);
|
|
88
|
-
this.clickItem.emit([...ancestors, item]);
|
|
89
|
+
this.clickItem.emit({ path: [...ancestors, item], originalEvent: event });
|
|
89
90
|
return;
|
|
90
91
|
}
|
|
91
92
|
if (item.open) {
|
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-map-base-layers.cjs",[[1,"dso-map-base-layers",{"baseLayers":[16],"selectedBaseLayer":[1040]}]]],["dso-map-overlays.cjs",[[1,"dso-map-overlays",{"overlays":[16],"checkedOverlays":[1040]}]]],["dso-toggletip.cjs",[[1,"dso-toggletip",{"label":[1],"position":[1],"small":[4],"secondary":[4],"active":[32]}]]],["dso-tree-view.cjs",[[1,"dso-tree-view",{"collection":[16]}]]],["dso-date-picker.cjs",[[1,"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],"setFocus":[64],"show":[64],"hide":[64]},[[6,"click","handleDocumentClick"]]]]],["dso-label.cjs",[[1,"dso-label",{"compact":[4],"removable":[4],"status":[1],"hover":[32]}]]],["dso-map-controls.cjs",[[1,"dso-map-controls",{"open":[1540],"disableZoom":[1,"disable-zoom"],"hideContent":[32]}]]],["dso-alert.cjs",[[1,"dso-alert",{"status":[1],"roleAlert":[4,"role-alert"]}]]],["dso-attachments-counter.cjs",[[1,"dso-attachments-counter",{"count":[2]}]]],["dso-autosuggest.cjs",[[6,"dso-autosuggest",{"suggestions":[16],"suggestOnFocus":[4,"suggest-on-focus"],"showSuggestions":[32],"selectedSuggestion":[32]},[[4,"click","onDocumentClick"]]]]],["dso-badge.cjs",[[1,"dso-badge",{"status":[1]}]]],["dso-banner.cjs",[[1,"dso-banner",{"status":[1]}]]],["dso-dropdown-menu.cjs",[[1,"dso-dropdown-menu",{"open":[1540],"dropdownAlign":[1,"dropdown-align"],"checkable":[4]}]]],["dso-highlight-box.cjs",[[1,"dso-highlight-box",{"yellow":[4],"border":[4],"white":[4],"dropShadow":[4,"drop-shadow"],"step":[2]}]]],["dso-ozon-content.cjs",[[0,"dso-ozon-content",{"content":[1]},[[0,"click","handleClick"]]]]],["dso-progress-bar.cjs",[[1,"dso-progress-bar",{"progress":[2],"min":[2],"max":[2]}]]],["dso-progress-indicator.cjs",[[1,"dso-progress-indicator",{"label":[1],"size":[1],"block":[4]}]]],["dso-tooltip.cjs",[[1,"dso-tooltip",{"position":[1],"for":[1],"noArrow":[4,"no-arrow"],"stateless":[4],"small":[4],"active":[1540],"hidden":[32],"activate":[64],"deactivate":[64]},[[0,"click","listenClick"]]]]],["dso-
|
|
17
|
+
return index.bootstrapLazy([["dso-map-base-layers.cjs",[[1,"dso-map-base-layers",{"baseLayers":[16],"selectedBaseLayer":[1040]}]]],["dso-map-overlays.cjs",[[1,"dso-map-overlays",{"overlays":[16],"checkedOverlays":[1040]}]]],["dso-toggletip.cjs",[[1,"dso-toggletip",{"label":[1],"position":[1],"small":[4],"secondary":[4],"active":[32]}]]],["dso-tree-view.cjs",[[1,"dso-tree-view",{"collection":[16]}]]],["dso-date-picker.cjs",[[1,"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],"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]}]]],["dso-label.cjs",[[1,"dso-label",{"compact":[4],"removable":[4],"status":[1],"hover":[32]}]]],["dso-map-controls.cjs",[[1,"dso-map-controls",{"open":[1540],"disableZoom":[1,"disable-zoom"],"hideContent":[32]}]]],["dso-alert.cjs",[[1,"dso-alert",{"status":[1],"roleAlert":[4,"role-alert"]}]]],["dso-attachments-counter.cjs",[[1,"dso-attachments-counter",{"count":[2]}]]],["dso-autosuggest.cjs",[[6,"dso-autosuggest",{"suggestions":[16],"suggestOnFocus":[4,"suggest-on-focus"],"showSuggestions":[32],"selectedSuggestion":[32]},[[4,"click","onDocumentClick"]]]]],["dso-badge.cjs",[[1,"dso-badge",{"status":[1]}]]],["dso-banner.cjs",[[1,"dso-banner",{"status":[1]}]]],["dso-dropdown-menu.cjs",[[1,"dso-dropdown-menu",{"open":[1540],"dropdownAlign":[1,"dropdown-align"],"checkable":[4]}]]],["dso-highlight-box.cjs",[[1,"dso-highlight-box",{"yellow":[4],"border":[4],"white":[4],"dropShadow":[4,"drop-shadow"],"step":[2]}]]],["dso-ozon-content.cjs",[[0,"dso-ozon-content",{"content":[1]},[[0,"click","handleClick"]]]]],["dso-progress-bar.cjs",[[1,"dso-progress-bar",{"progress":[2],"min":[2],"max":[2]}]]],["dso-progress-indicator.cjs",[[1,"dso-progress-indicator",{"label":[1],"size":[1],"block":[4]}]]],["dso-tooltip.cjs",[[1,"dso-tooltip",{"position":[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]}]]],["dso-info_2.cjs",[[1,"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]}],[1,"dso-info",{"fixed":[516],"active":[516]}]]],["dso-icon.cjs",[[1,"dso-icon",{"icon":[1]}]]]], options);
|
|
18
18
|
});
|
|
19
19
|
};
|
|
20
20
|
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
"./components/badge/badge.js",
|
|
10
10
|
"./components/banner/banner.js",
|
|
11
11
|
"./components/dropdown-menu/dropdown-menu.js",
|
|
12
|
+
"./components/helpcenter-panel/helpcenter-panel.js",
|
|
12
13
|
"./components/highlight-box/highlight-box.js",
|
|
13
14
|
"./components/icon/icon.js",
|
|
14
15
|
"./components/info/info.js",
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
/* stylelint-disable value-keyword-case */
|
|
2
2
|
/* stylelint-disable string-no-newline */
|
|
3
3
|
/* stylelint-enable */
|
|
4
|
+
:host(:focus) {
|
|
5
|
+
outline: none;
|
|
6
|
+
}
|
|
7
|
+
|
|
4
8
|
:host {
|
|
5
9
|
--di-check-wit: url("data:image/svg+xml,%3csvg id='check' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' style='color: white%3b'%3e %3cpath fill='currentColor' d='M10.11%2c18%2c5.29%2c13.31A.92.92%2c0%2c0%2c1%2c5.3%2c12a1%2c1%2c0%2c0%2c1%2c1.41%2c0l3.4%2c3.3%2c7.18-7a1%2c1%2c0%2c0%2c1%2c1.41%2c0%2c.92.92%2c0%2c0%2c1%2c0%2c1.35Z'/%3e %3c/svg%3e");
|
|
6
10
|
--di-chevron-down: url("data:image/svg+xml,%3csvg id='chevron-down' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' style='color: %2339870c%3b'%3e %3cpath fill='currentColor' d='M12%2c16%2c5.29%2c9.63a.93.93%2c0%2c0%2c1%2c0-1.35%2c1%2c1%2c0%2c0%2c1%2c1.42%2c0l5.29%2c5%2c5.29-5a1%2c1%2c0%2c0%2c1%2c1.42%2c0%2c.91.91%2c0%2c0%2c1%2c0%2c1.34Z'/%3e %3c/svg%3e");
|
|
@@ -93,6 +93,9 @@ export class DropdownMenu {
|
|
|
93
93
|
this.openPopup();
|
|
94
94
|
}
|
|
95
95
|
}
|
|
96
|
+
componentDidRender() {
|
|
97
|
+
this.host.setAttribute("tabindex", "-1");
|
|
98
|
+
}
|
|
96
99
|
componentWillRender() {
|
|
97
100
|
for (const li of Array.from(this.host.getElementsByTagName("li"))) {
|
|
98
101
|
for (const tab of tabbable(li)) {
|
|
@@ -0,0 +1,312 @@
|
|
|
1
|
+
/* stylelint-disable value-keyword-case */
|
|
2
|
+
/* stylelint-disable string-no-newline */
|
|
3
|
+
/* stylelint-enable */
|
|
4
|
+
:host {
|
|
5
|
+
display: block;
|
|
6
|
+
--di-times: url("data:image/svg+xml,%3csvg id='times' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' style='color: %2339870c%3b'%3e %3cpath fill='currentColor' d='M13.36%2c12l3.3-3.3A1%2c1%2c0%2c1%2c0%2c15.3%2c7.34L12%2c10.64%2c8.7%2c7.34A1%2c1%2c0%2c1%2c0%2c7.34%2c8.7l3.3%2c3.3-3.3%2c3.3A1%2c1%2c0%2c1%2c0%2c8.7%2c16.66l3.3-3.3%2c3.3%2c3.3a1%2c1%2c0%2c1%2c0%2c1.36-1.36Z'/%3e %3c/svg%3e");
|
|
7
|
+
--di-times-wit: url("data:image/svg+xml,%3csvg id='times' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' style='color: white%3b'%3e %3cpath fill='currentColor' d='M13.36%2c12l3.3-3.3A1%2c1%2c0%2c1%2c0%2c15.3%2c7.34L12%2c10.64%2c8.7%2c7.34A1%2c1%2c0%2c1%2c0%2c7.34%2c8.7l3.3%2c3.3-3.3%2c3.3A1%2c1%2c0%2c1%2c0%2c8.7%2c16.66l3.3-3.3%2c3.3%2c3.3a1%2c1%2c0%2c1%2c0%2c1.36-1.36Z'/%3e %3c/svg%3e");
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.sr-only {
|
|
11
|
+
position: absolute;
|
|
12
|
+
width: 1px;
|
|
13
|
+
height: 1px;
|
|
14
|
+
padding: 0;
|
|
15
|
+
margin: -1px;
|
|
16
|
+
overflow: hidden;
|
|
17
|
+
clip: rect(0, 0, 0, 0);
|
|
18
|
+
border: 0;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.wrapper {
|
|
22
|
+
height: 100%;
|
|
23
|
+
left: 0;
|
|
24
|
+
position: fixed;
|
|
25
|
+
top: 0;
|
|
26
|
+
visibility: hidden;
|
|
27
|
+
width: 100%;
|
|
28
|
+
}
|
|
29
|
+
.wrapper.visible {
|
|
30
|
+
visibility: visible;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.dimscreen {
|
|
34
|
+
background-color: #000;
|
|
35
|
+
height: 100%;
|
|
36
|
+
opacity: 0.4;
|
|
37
|
+
width: 100%;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.open-button {
|
|
41
|
+
display: inline-block;
|
|
42
|
+
font-size: 1em;
|
|
43
|
+
font-weight: 500;
|
|
44
|
+
margin-bottom: 0;
|
|
45
|
+
text-decoration: none;
|
|
46
|
+
touch-action: manipulation;
|
|
47
|
+
text-align: left;
|
|
48
|
+
user-select: none;
|
|
49
|
+
vertical-align: middle;
|
|
50
|
+
display: inline-block;
|
|
51
|
+
font-size: 1em;
|
|
52
|
+
font-weight: 500;
|
|
53
|
+
margin-bottom: 0;
|
|
54
|
+
text-decoration: none;
|
|
55
|
+
touch-action: manipulation;
|
|
56
|
+
text-align: left;
|
|
57
|
+
user-select: none;
|
|
58
|
+
vertical-align: middle;
|
|
59
|
+
background-color: #39870c;
|
|
60
|
+
border-color: #39870c;
|
|
61
|
+
color: #fff;
|
|
62
|
+
border-width: 1px;
|
|
63
|
+
border-style: solid;
|
|
64
|
+
border-radius: 4px;
|
|
65
|
+
line-height: 1.5;
|
|
66
|
+
min-width: 56px;
|
|
67
|
+
padding: 11px 15px;
|
|
68
|
+
border: 0;
|
|
69
|
+
bottom: 16px;
|
|
70
|
+
font-family: Asap, sans-serif;
|
|
71
|
+
position: fixed;
|
|
72
|
+
right: 16px;
|
|
73
|
+
}
|
|
74
|
+
.open-button:focus, .open-button:focus-visible {
|
|
75
|
+
outline-offset: 2px;
|
|
76
|
+
}
|
|
77
|
+
.open-button:active {
|
|
78
|
+
outline: 0;
|
|
79
|
+
}
|
|
80
|
+
.open-button.extern::after, .open-button.download::after {
|
|
81
|
+
content: "";
|
|
82
|
+
display: inline-block;
|
|
83
|
+
height: 1.5em;
|
|
84
|
+
margin-left: 8px;
|
|
85
|
+
vertical-align: top;
|
|
86
|
+
width: 1.5em;
|
|
87
|
+
}
|
|
88
|
+
.open-button:focus, .open-button:focus-visible {
|
|
89
|
+
outline-offset: 2px;
|
|
90
|
+
}
|
|
91
|
+
.open-button:active {
|
|
92
|
+
outline: 0;
|
|
93
|
+
}
|
|
94
|
+
.open-button.extern::after, .open-button.download::after {
|
|
95
|
+
content: "";
|
|
96
|
+
display: inline-block;
|
|
97
|
+
height: 1.5em;
|
|
98
|
+
margin-left: 8px;
|
|
99
|
+
vertical-align: top;
|
|
100
|
+
width: 1.5em;
|
|
101
|
+
}
|
|
102
|
+
.open-button:hover {
|
|
103
|
+
background-color: #275937;
|
|
104
|
+
border-color: #275937;
|
|
105
|
+
color: #fff;
|
|
106
|
+
}
|
|
107
|
+
.open-button:active {
|
|
108
|
+
background-color: #15301e;
|
|
109
|
+
border-color: #15301e;
|
|
110
|
+
color: #fff;
|
|
111
|
+
}
|
|
112
|
+
.open-button[disabled], .open-button[disabled]:hover {
|
|
113
|
+
background-color: #afcf9d;
|
|
114
|
+
border-color: #afcf9d;
|
|
115
|
+
color: #fff;
|
|
116
|
+
}
|
|
117
|
+
.open-button.btn-sm {
|
|
118
|
+
line-height: 16px;
|
|
119
|
+
}
|
|
120
|
+
.open-button.btn-sm dso-icon,
|
|
121
|
+
.open-button.btn-sm svg.di, .open-button.btn-sm.extern::after, .open-button.btn-sm.download::after {
|
|
122
|
+
margin-bottom: -4px;
|
|
123
|
+
margin-top: -4px;
|
|
124
|
+
}
|
|
125
|
+
.open-button.download::after {
|
|
126
|
+
background: var(--dso-icon, var(--di-download-wit)) no-repeat;
|
|
127
|
+
background-position: center;
|
|
128
|
+
background-size: cover;
|
|
129
|
+
height: 1.5em;
|
|
130
|
+
vertical-align: top;
|
|
131
|
+
width: 1.5em;
|
|
132
|
+
}
|
|
133
|
+
.open-button.extern::after {
|
|
134
|
+
background: var(--dso-icon, var(--di-external-link-wit)) no-repeat;
|
|
135
|
+
background-position: center;
|
|
136
|
+
background-size: cover;
|
|
137
|
+
height: 1.5em;
|
|
138
|
+
vertical-align: top;
|
|
139
|
+
width: 1.5em;
|
|
140
|
+
}
|
|
141
|
+
.open-button dso-icon,
|
|
142
|
+
.open-button svg.di {
|
|
143
|
+
margin-left: -8px;
|
|
144
|
+
margin-right: 8px;
|
|
145
|
+
}
|
|
146
|
+
.open-button span + dso-icon,
|
|
147
|
+
.open-button span + svg.di {
|
|
148
|
+
margin-left: 8px;
|
|
149
|
+
margin-right: -8px;
|
|
150
|
+
}
|
|
151
|
+
.open-button:hover {
|
|
152
|
+
cursor: pointer;
|
|
153
|
+
}
|
|
154
|
+
.open-button.open {
|
|
155
|
+
display: none;
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
.close-button {
|
|
159
|
+
display: inline-block;
|
|
160
|
+
font-size: 1em;
|
|
161
|
+
font-weight: 500;
|
|
162
|
+
margin-bottom: 0;
|
|
163
|
+
text-decoration: none;
|
|
164
|
+
touch-action: manipulation;
|
|
165
|
+
text-align: left;
|
|
166
|
+
user-select: none;
|
|
167
|
+
vertical-align: middle;
|
|
168
|
+
background-color: #fff;
|
|
169
|
+
border-color: #39870c;
|
|
170
|
+
color: #39870c;
|
|
171
|
+
border-width: 1px;
|
|
172
|
+
border-style: solid;
|
|
173
|
+
border-radius: 4px;
|
|
174
|
+
line-height: 1.5;
|
|
175
|
+
min-width: 56px;
|
|
176
|
+
padding: 11px 15px;
|
|
177
|
+
border-right: 0;
|
|
178
|
+
border-top: 0;
|
|
179
|
+
border-radius: 0 0 0 8px;
|
|
180
|
+
height: 40px;
|
|
181
|
+
min-width: 40px;
|
|
182
|
+
padding: 0;
|
|
183
|
+
position: fixed;
|
|
184
|
+
right: 0;
|
|
185
|
+
width: 40px;
|
|
186
|
+
top: 0;
|
|
187
|
+
}
|
|
188
|
+
.close-button:focus, .close-button:focus-visible {
|
|
189
|
+
outline-offset: 2px;
|
|
190
|
+
}
|
|
191
|
+
.close-button:active {
|
|
192
|
+
outline: 0;
|
|
193
|
+
}
|
|
194
|
+
.close-button.extern::after, .close-button.download::after {
|
|
195
|
+
content: "";
|
|
196
|
+
display: inline-block;
|
|
197
|
+
height: 1.5em;
|
|
198
|
+
margin-left: 8px;
|
|
199
|
+
vertical-align: top;
|
|
200
|
+
width: 1.5em;
|
|
201
|
+
}
|
|
202
|
+
.close-button:hover {
|
|
203
|
+
background-color: #39870c;
|
|
204
|
+
border-color: #39870c;
|
|
205
|
+
color: #fff;
|
|
206
|
+
}
|
|
207
|
+
.close-button:active {
|
|
208
|
+
background-color: #275937;
|
|
209
|
+
border-color: #275937;
|
|
210
|
+
color: #fff;
|
|
211
|
+
}
|
|
212
|
+
.close-button[disabled], .close-button[disabled]:hover {
|
|
213
|
+
background-color: #fff;
|
|
214
|
+
border-color: #afcf9d;
|
|
215
|
+
color: #afcf9d;
|
|
216
|
+
}
|
|
217
|
+
.close-button.btn-sm {
|
|
218
|
+
line-height: 16px;
|
|
219
|
+
}
|
|
220
|
+
.close-button.btn-sm dso-icon,
|
|
221
|
+
.close-button.btn-sm svg.di, .close-button.btn-sm.extern::after, .close-button.btn-sm.download::after {
|
|
222
|
+
margin-bottom: -4px;
|
|
223
|
+
margin-top: -4px;
|
|
224
|
+
}
|
|
225
|
+
.close-button.download::after {
|
|
226
|
+
background: var(--dso-icon, var(--di-download)) no-repeat;
|
|
227
|
+
background-position: center;
|
|
228
|
+
background-size: cover;
|
|
229
|
+
height: 1.5em;
|
|
230
|
+
vertical-align: top;
|
|
231
|
+
width: 1.5em;
|
|
232
|
+
}
|
|
233
|
+
.close-button.download:hover::after {
|
|
234
|
+
--dso-icon: var(--di-download-wit);
|
|
235
|
+
}
|
|
236
|
+
.close-button.download[disabled]::after {
|
|
237
|
+
--dso-icon: var(--di-download-grasgroen-40);
|
|
238
|
+
}
|
|
239
|
+
.close-button.extern::after {
|
|
240
|
+
background: var(--dso-icon, var(--di-external-link)) no-repeat;
|
|
241
|
+
background-position: center;
|
|
242
|
+
background-size: cover;
|
|
243
|
+
height: 1.5em;
|
|
244
|
+
vertical-align: top;
|
|
245
|
+
width: 1.5em;
|
|
246
|
+
}
|
|
247
|
+
.close-button.extern:hover::after {
|
|
248
|
+
--dso-icon: var(--di-external-link-wit);
|
|
249
|
+
}
|
|
250
|
+
.close-button.extern[disabled]::after {
|
|
251
|
+
--dso-icon: var(--di-external-link-grasgroen-40);
|
|
252
|
+
}
|
|
253
|
+
.close-button dso-icon,
|
|
254
|
+
.close-button svg.di {
|
|
255
|
+
margin-left: -8px;
|
|
256
|
+
margin-right: 8px;
|
|
257
|
+
}
|
|
258
|
+
.close-button span + dso-icon,
|
|
259
|
+
.close-button span + svg.di {
|
|
260
|
+
margin-left: 8px;
|
|
261
|
+
margin-right: -8px;
|
|
262
|
+
}
|
|
263
|
+
.close-button::before {
|
|
264
|
+
background: var(--dso-icon, var(--di-times)) no-repeat;
|
|
265
|
+
background-position: center;
|
|
266
|
+
background-size: cover;
|
|
267
|
+
height: 1.5em;
|
|
268
|
+
vertical-align: top;
|
|
269
|
+
width: 1.5em;
|
|
270
|
+
content: "";
|
|
271
|
+
display: inline-block;
|
|
272
|
+
position: absolute;
|
|
273
|
+
left: 50%;
|
|
274
|
+
top: 50%;
|
|
275
|
+
transform: translate(-50%, -50%);
|
|
276
|
+
}
|
|
277
|
+
.close-button:hover, .close-button:active, .close-button:focus {
|
|
278
|
+
cursor: pointer;
|
|
279
|
+
}
|
|
280
|
+
.close-button:hover::before, .close-button:active::before, .close-button:focus::before {
|
|
281
|
+
background: var(--dso-icon, var(--di-times-wit)) no-repeat;
|
|
282
|
+
background-position: center;
|
|
283
|
+
background-size: cover;
|
|
284
|
+
height: 1.5em;
|
|
285
|
+
vertical-align: top;
|
|
286
|
+
width: 1.5em;
|
|
287
|
+
}
|
|
288
|
+
.close-button.close {
|
|
289
|
+
display: none;
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
.iframe-container {
|
|
293
|
+
background-color: #fff;
|
|
294
|
+
border: 0;
|
|
295
|
+
border-left: 1px solid #ccc;
|
|
296
|
+
box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.4);
|
|
297
|
+
height: 100%;
|
|
298
|
+
position: absolute;
|
|
299
|
+
right: -640px;
|
|
300
|
+
top: 0;
|
|
301
|
+
transition: right 0.5s;
|
|
302
|
+
width: 640px;
|
|
303
|
+
}
|
|
304
|
+
.iframe-container.open {
|
|
305
|
+
right: 0;
|
|
306
|
+
}
|
|
307
|
+
|
|
308
|
+
iframe {
|
|
309
|
+
border: 0;
|
|
310
|
+
height: 100%;
|
|
311
|
+
width: 100%;
|
|
312
|
+
}
|