@db-ux/wc-core-components 4.3.2 → 4.4.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/CHANGELOG.md +8 -0
- package/dist/cjs/db-accordion-item.cjs.entry.js +2 -2
- package/dist/cjs/db-accordion.cjs.entry.js +2 -2
- package/dist/cjs/db-badge.cjs.entry.js +2 -2
- package/dist/cjs/db-brand.cjs.entry.js +2 -2
- package/dist/cjs/db-button.cjs.entry.js +2 -2
- package/dist/cjs/db-card.cjs.entry.js +2 -2
- package/dist/cjs/db-checkbox.cjs.entry.js +3 -3
- package/dist/cjs/db-custom-select-dropdown_5.cjs.entry.js +3 -3
- package/dist/cjs/db-custom-select-form-field.cjs.entry.js +2 -2
- package/dist/cjs/db-custom-select.cjs.entry.js +5 -5
- package/dist/cjs/db-divider.cjs.entry.js +2 -2
- package/dist/cjs/db-drawer.cjs.entry.js +2 -2
- package/dist/cjs/db-header.cjs.entry.js +2 -2
- package/dist/cjs/db-icon.cjs.entry.js +2 -2
- package/dist/cjs/db-infotext.cjs.entry.js +2 -2
- package/dist/cjs/db-link.cjs.entry.js +2 -2
- package/dist/cjs/db-navigation-item.cjs.entry.js +2 -2
- package/dist/cjs/db-navigation.cjs.entry.js +2 -2
- package/dist/cjs/db-notification.cjs.entry.js +8 -4
- package/dist/cjs/db-page.cjs.entry.js +2 -2
- package/dist/cjs/db-popover.cjs.entry.js +3 -3
- package/dist/cjs/db-radio.cjs.entry.js +3 -3
- package/dist/cjs/db-section.cjs.entry.js +2 -2
- package/dist/cjs/db-select.cjs.entry.js +17 -6
- package/dist/cjs/db-stack.cjs.entry.js +2 -2
- package/dist/cjs/db-switch.cjs.entry.js +3 -3
- package/dist/cjs/db-tab-item_3.cjs.entry.js +2 -2
- package/dist/cjs/db-tabs.cjs.entry.js +2 -2
- package/dist/cjs/db-textarea.cjs.entry.js +3 -3
- package/dist/cjs/db-tooltip.cjs.entry.js +3 -3
- package/dist/cjs/db-ux.cjs.js +3 -3
- package/dist/cjs/{document-click-listener-B2Xzqbvs.js → document-click-listener-Bb3Tinb8.js} +1 -1
- package/dist/cjs/{document-scroll-listener-C_v46oIg.js → document-scroll-listener-unypEU42.js} +1 -1
- package/dist/cjs/{form-components-BrtqMwX0.js → form-components-LsqVohyb.js} +1 -1
- package/dist/cjs/{index-CW5aVEyQ.js → index-CsHqnQII.js} +26 -0
- package/dist/cjs/{index-Mi8dWSSD.js → index-DjRSp6-m.js} +21 -3
- package/dist/cjs/index.cjs.js +4 -3
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/notification/notification.js +41 -11
- package/dist/collection/components/select/select.js +48 -11
- package/dist/collection/utils/index.js +25 -0
- package/dist/custom-elements.json +116 -56
- package/dist/db-ux/db-ux.esm.js +1 -1
- package/dist/db-ux/index.esm.js +1 -1
- package/dist/db-ux/{p-623a6b59.entry.js → p-010fa365.entry.js} +1 -1
- package/dist/db-ux/{p-44f2f09d.entry.js → p-11005d83.entry.js} +1 -1
- package/dist/db-ux/{p-9a543d5a.entry.js → p-13ed143a.entry.js} +1 -1
- package/dist/db-ux/{p-9d5365f7.entry.js → p-18d640f5.entry.js} +1 -1
- package/dist/db-ux/{p-286f83f4.entry.js → p-1cb46c2f.entry.js} +1 -1
- package/dist/db-ux/{p-e30a4814.entry.js → p-23227dd9.entry.js} +1 -1
- package/dist/db-ux/{p-78f6b72a.entry.js → p-23ea8d2f.entry.js} +1 -1
- package/dist/db-ux/{p-027fb90a.entry.js → p-2618f875.entry.js} +1 -1
- package/dist/db-ux/{p-e7e35164.entry.js → p-284bb676.entry.js} +1 -1
- package/dist/db-ux/p-2decd9e2.entry.js +1 -0
- package/dist/db-ux/{p-13dd39f1.entry.js → p-2e960c38.entry.js} +1 -1
- package/dist/db-ux/p-567804e7.entry.js +1 -0
- package/dist/db-ux/{p-29efc51e.entry.js → p-6195c74d.entry.js} +1 -1
- package/dist/db-ux/{p-26fa6bc1.entry.js → p-64274383.entry.js} +1 -1
- package/dist/db-ux/p-6e094b8f.entry.js +1 -0
- package/dist/db-ux/{p-b6538eed.entry.js → p-6f685ea9.entry.js} +1 -1
- package/dist/db-ux/{p-a232eea2.entry.js → p-71eda55f.entry.js} +1 -1
- package/dist/db-ux/{p-a1e66a3d.entry.js → p-7c570038.entry.js} +1 -1
- package/dist/db-ux/{p-197f90e4.entry.js → p-81f1cca3.entry.js} +1 -1
- package/dist/db-ux/p-88fbecb8.entry.js +1 -0
- package/dist/db-ux/p-915cd9e8.entry.js +1 -0
- package/dist/db-ux/{p-a7463ead.entry.js → p-9b6d8f95.entry.js} +1 -1
- package/dist/db-ux/p-BhXdfCpU.js +1 -0
- package/dist/db-ux/p-C4x0SOcx.js +1 -0
- package/dist/db-ux/{p-Cb-k135w.js → p-CAEpg8tJ.js} +1 -1
- package/dist/db-ux/{p-EqlW5Wqf.js → p-RHqkTr-_.js} +1 -1
- package/dist/db-ux/{p-462d8de5.entry.js → p-a053966f.entry.js} +1 -1
- package/dist/db-ux/p-aO-2B9yO.js +2 -0
- package/dist/db-ux/{p-2069117e.entry.js → p-b67906ed.entry.js} +1 -1
- package/dist/db-ux/p-b97c0f63.entry.js +1 -0
- package/dist/db-ux/{p-15241486.entry.js → p-be4edb12.entry.js} +1 -1
- package/dist/db-ux/p-d704426f.entry.js +1 -0
- package/dist/db-ux/{p-bde7ff5f.entry.js → p-d925eaa3.entry.js} +1 -1
- package/dist/db-ux/{p-5bca6d35.entry.js → p-ea2290ac.entry.js} +1 -1
- package/dist/db-ux/{p-29d3070a.entry.js → p-f4f48665.entry.js} +1 -1
- package/dist/esm/db-accordion-item.entry.js +2 -2
- package/dist/esm/db-accordion.entry.js +2 -2
- package/dist/esm/db-badge.entry.js +2 -2
- package/dist/esm/db-brand.entry.js +2 -2
- package/dist/esm/db-button.entry.js +2 -2
- package/dist/esm/db-card.entry.js +2 -2
- package/dist/esm/db-checkbox.entry.js +3 -3
- package/dist/esm/db-custom-select-dropdown_5.entry.js +3 -3
- package/dist/esm/db-custom-select-form-field.entry.js +2 -2
- package/dist/esm/db-custom-select.entry.js +5 -5
- package/dist/esm/db-divider.entry.js +2 -2
- package/dist/esm/db-drawer.entry.js +2 -2
- package/dist/esm/db-header.entry.js +2 -2
- package/dist/esm/db-icon.entry.js +2 -2
- package/dist/esm/db-infotext.entry.js +2 -2
- package/dist/esm/db-link.entry.js +2 -2
- package/dist/esm/db-navigation-item.entry.js +2 -2
- package/dist/esm/db-navigation.entry.js +2 -2
- package/dist/esm/db-notification.entry.js +8 -4
- package/dist/esm/db-page.entry.js +2 -2
- package/dist/esm/db-popover.entry.js +3 -3
- package/dist/esm/db-radio.entry.js +3 -3
- package/dist/esm/db-section.entry.js +2 -2
- package/dist/esm/db-select.entry.js +17 -6
- package/dist/esm/db-stack.entry.js +2 -2
- package/dist/esm/db-switch.entry.js +3 -3
- package/dist/esm/db-tab-item_3.entry.js +2 -2
- package/dist/esm/db-tabs.entry.js +2 -2
- package/dist/esm/db-textarea.entry.js +3 -3
- package/dist/esm/db-tooltip.entry.js +3 -3
- package/dist/esm/db-ux.js +4 -4
- package/dist/esm/{document-click-listener-B_LaIr0O.js → document-click-listener-CmYoXpGE.js} +1 -1
- package/dist/esm/{document-scroll-listener-dHAsT0Tb.js → document-scroll-listener-65bHuFAN.js} +1 -1
- package/dist/esm/{form-components-Cl_wgkeJ.js → form-components-BLsiOrPI.js} +1 -1
- package/dist/esm/{index-BwBkekqp.js → index-C4x0SOcx.js} +26 -1
- package/dist/esm/{index-9pYJFapZ.js → index-aO-2B9yO.js} +21 -3
- package/dist/esm/index.js +3 -3
- package/dist/esm/loader.js +3 -3
- package/dist/types/components/link/model.d.ts +2 -2
- package/dist/types/components/notification/model.d.ts +2 -2
- package/dist/types/components/notification/notification.d.ts +2 -1
- package/dist/types/components/select/model.d.ts +10 -0
- package/dist/types/components/select/select.d.ts +3 -1
- package/dist/types/components.d.ts +4 -0
- package/dist/types/shared/model.d.ts +6 -4
- package/dist/types/utils/index.d.ts +12 -0
- package/dist/vscode.html-custom-data.json +24 -14
- package/dist/web-types.json +41 -21
- package/package.json +4 -4
- package/dist/db-ux/p-2baf9c08.entry.js +0 -1
- package/dist/db-ux/p-39d22a0f.entry.js +0 -1
- package/dist/db-ux/p-58611dcc.entry.js +0 -1
- package/dist/db-ux/p-9pYJFapZ.js +0 -2
- package/dist/db-ux/p-BwBkekqp.js +0 -1
- package/dist/db-ux/p-a98bde77.entry.js +0 -1
- package/dist/db-ux/p-af0e61d0.entry.js +0 -1
- package/dist/db-ux/p-b729b29f.entry.js +0 -1
- package/dist/db-ux/p-c9d514e5.entry.js +0 -1
- package/dist/db-ux/p-cqrM3KjS.js +0 -1
|
@@ -143,6 +143,31 @@ const getOptionKey = (option, prefix) => {
|
|
|
143
143
|
return `${prefix}${key}`;
|
|
144
144
|
};
|
|
145
145
|
const isKeyboardEvent = (event) => event.key !== undefined;
|
|
146
|
+
/**
|
|
147
|
+
* Maps semantic values to appropriate ARIA roles for notifications
|
|
148
|
+
* @param semantic - The semantic type of the notification
|
|
149
|
+
* @param role - The aria role of the notification
|
|
150
|
+
* @param ariaLive - The aria-live of the notification
|
|
151
|
+
* @returns The appropriate ARIA role or undefined for default behavior
|
|
152
|
+
*/
|
|
153
|
+
const getNotificationRole = ({ semantic, role, ariaLive }) => {
|
|
154
|
+
if (role) {
|
|
155
|
+
return role;
|
|
156
|
+
}
|
|
157
|
+
if (ariaLive) {
|
|
158
|
+
return 'article';
|
|
159
|
+
}
|
|
160
|
+
switch (semantic) {
|
|
161
|
+
case 'critical':
|
|
162
|
+
case 'warning':
|
|
163
|
+
return 'alert';
|
|
164
|
+
case 'informational':
|
|
165
|
+
case 'successful':
|
|
166
|
+
return 'status';
|
|
167
|
+
default:
|
|
168
|
+
return 'article';
|
|
169
|
+
}
|
|
170
|
+
};
|
|
146
171
|
|
|
147
172
|
exports.addAttributeToChildren = addAttributeToChildren;
|
|
148
173
|
exports.cls = cls;
|
|
@@ -151,6 +176,7 @@ exports.getBoolean = getBoolean;
|
|
|
151
176
|
exports.getBooleanAsString = getBooleanAsString;
|
|
152
177
|
exports.getHideProp = getHideProp;
|
|
153
178
|
exports.getInputValue = getInputValue;
|
|
179
|
+
exports.getNotificationRole = getNotificationRole;
|
|
154
180
|
exports.getNumber = getNumber;
|
|
155
181
|
exports.getOptionKey = getOptionKey;
|
|
156
182
|
exports.getSearchInput = getSearchInput;
|
|
@@ -4,7 +4,7 @@ const NAMESPACE = 'db-ux';
|
|
|
4
4
|
const BUILD = /* db-ux */ { hydratedSelectorName: "hydrated", lazyLoad: true, propChangeCallback: true, shadowDom: false, slotRelocation: true, state: true, updatable: true};
|
|
5
5
|
|
|
6
6
|
/*
|
|
7
|
-
Stencil Client Platform v4.41.
|
|
7
|
+
Stencil Client Platform v4.41.3 | MIT Licensed | https://stenciljs.com
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
var reWireGetterSetter = (instance, hostRef) => {
|
|
@@ -480,7 +480,7 @@ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialRen
|
|
|
480
480
|
}
|
|
481
481
|
} else if (memberName === "key") ; else if (memberName === "ref") {
|
|
482
482
|
if (newValue) {
|
|
483
|
-
newValue
|
|
483
|
+
queueRefAttachment(newValue, elm);
|
|
484
484
|
}
|
|
485
485
|
} else if ((!isProp ) && memberName[0] === "o" && memberName[1] === "n") {
|
|
486
486
|
if (memberName[2] === "-") {
|
|
@@ -591,6 +591,8 @@ var useNativeShadowDom = false;
|
|
|
591
591
|
var checkSlotFallbackVisibility = false;
|
|
592
592
|
var checkSlotRelocate = false;
|
|
593
593
|
var isSvgMode = false;
|
|
594
|
+
var refCallbacksToRemove = [];
|
|
595
|
+
var refCallbacksToAttach = [];
|
|
594
596
|
var createElm = (oldParentVNode, newParentVNode, childIndex) => {
|
|
595
597
|
var _a;
|
|
596
598
|
const newVNode2 = newParentVNode.$children$[childIndex];
|
|
@@ -937,10 +939,25 @@ var markSlotContentForRelocation = (elm) => {
|
|
|
937
939
|
};
|
|
938
940
|
var nullifyVNodeRefs = (vNode) => {
|
|
939
941
|
{
|
|
940
|
-
vNode.$attrs$ && vNode.$attrs$.ref
|
|
942
|
+
if (vNode.$attrs$ && vNode.$attrs$.ref) {
|
|
943
|
+
refCallbacksToRemove.push(() => vNode.$attrs$.ref(null));
|
|
944
|
+
}
|
|
941
945
|
vNode.$children$ && vNode.$children$.map(nullifyVNodeRefs);
|
|
942
946
|
}
|
|
943
947
|
};
|
|
948
|
+
var queueRefAttachment = (refCallback, elm) => {
|
|
949
|
+
{
|
|
950
|
+
refCallbacksToAttach.push(() => refCallback(elm));
|
|
951
|
+
}
|
|
952
|
+
};
|
|
953
|
+
var flushQueuedRefCallbacks = () => {
|
|
954
|
+
{
|
|
955
|
+
refCallbacksToRemove.forEach((cb) => cb());
|
|
956
|
+
refCallbacksToRemove.length = 0;
|
|
957
|
+
refCallbacksToAttach.forEach((cb) => cb());
|
|
958
|
+
refCallbacksToAttach.length = 0;
|
|
959
|
+
}
|
|
960
|
+
};
|
|
944
961
|
var insertBefore = (parent, newNode, reference, isInitialLoad) => {
|
|
945
962
|
{
|
|
946
963
|
if (typeof newNode["s-sn"] === "string") {
|
|
@@ -1076,6 +1093,7 @@ var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
|
|
|
1076
1093
|
}
|
|
1077
1094
|
}
|
|
1078
1095
|
contentRef = void 0;
|
|
1096
|
+
flushQueuedRefCallbacks();
|
|
1079
1097
|
};
|
|
1080
1098
|
|
|
1081
1099
|
// src/runtime/update-component.ts
|
package/dist/cjs/index.cjs.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var constants = require('./constants-bMY2_d8A.js');
|
|
4
|
-
var index = require('./index-
|
|
5
|
-
var documentClickListener = require('./document-click-listener-
|
|
6
|
-
var documentScrollListener = require('./document-scroll-listener-
|
|
4
|
+
var index = require('./index-CsHqnQII.js');
|
|
5
|
+
var documentClickListener = require('./document-click-listener-Bb3Tinb8.js');
|
|
6
|
+
var documentScrollListener = require('./document-scroll-listener-unypEU42.js');
|
|
7
7
|
var floatingComponents = require('./floating-components-ogUqz72V.js');
|
|
8
8
|
var navigation = require('./navigation-DauGE-qj.js');
|
|
9
9
|
|
|
@@ -144,6 +144,7 @@ exports.getBoolean = index.getBoolean;
|
|
|
144
144
|
exports.getBooleanAsString = index.getBooleanAsString;
|
|
145
145
|
exports.getHideProp = index.getHideProp;
|
|
146
146
|
exports.getInputValue = index.getInputValue;
|
|
147
|
+
exports.getNotificationRole = index.getNotificationRole;
|
|
147
148
|
exports.getNumber = index.getNumber;
|
|
148
149
|
exports.getOptionKey = index.getOptionKey;
|
|
149
150
|
exports.getSearchInput = index.getSearchInput;
|
package/dist/cjs/loader.cjs.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-DjRSp6-m.js');
|
|
4
4
|
var appGlobals = require('./app-globals-V2Kpy_OQ.js');
|
|
5
5
|
|
|
6
6
|
const defineCustomElements = async (win, options) => {
|
|
7
7
|
if (typeof window === 'undefined') return undefined;
|
|
8
8
|
await appGlobals.globalScripts();
|
|
9
|
-
return index.bootstrapLazy(JSON.parse("[[\"db-custom-select.cjs\",[[260,\"db-custom-select\",{\"id\":[1],\"invalidMessage\":[1,\"invalid-message\"],\"message\":[1],\"showMessage\":[8,\"show-message\"],\"ariaDescribedBy\":[1,\"aria-described-by\"],\"showNoResults\":[4,\"show-no-results\"],\"showLoading\":[4,\"show-loading\"],\"multiple\":[8],\"showSelectAll\":[4,\"show-select-all\"],\"showSearch\":[4,\"show-search\"],\"values\":[16],\"validation\":[1],\"options\":[16],\"searchValue\":[1,\"search-value\"],\"selectedLabels\":[1,\"selected-labels\"],\"transformSelectedLabels\":[16],\"selectedType\":[1,\"selected-type\"],\"amountText\":[1,\"amount-text\"],\"validMessage\":[1,\"valid-message\"],\"required\":[8],\"selectAllLabel\":[1,\"select-all-label\"],\"removeTagsTexts\":[16],\"placement\":[1],\"searchFilter\":[16],\"className\":[1,\"classname\"],\"formFieldWidth\":[1,\"form-field-width\"],\"variant\":[1],\"showRequiredAsterisk\":[8,\"show-required-asterisk\"],\"showLabel\":[8,\"show-label\"],\"icon\":[1],\"showIcon\":[8,\"show-icon\"],\"label\":[1],\"form\":[1],\"name\":[1],\"disabled\":[8],\"open\":[4],\"selectedPrefix\":[1,\"selected-prefix\"],\"dropdownWidth\":[1,\"dropdown-width\"],\"searchLabel\":[1,\"search-label\"],\"searchPlaceholder\":[1,\"search-placeholder\"],\"listLabel\":[1,\"list-label\"],\"loadingText\":[1,\"loading-text\"],\"noResultsText\":[1,\"no-results-text\"],\"mobileCloseButtonText\":[1,\"mobile-close-button-text\"],\"showClearSelection\":[4,\"show-clear-selection\"],\"clearSelectionText\":[1,\"clear-selection-text\"],\"placeholder\":[1],\"messageIcon\":[1,\"message-icon\"],\"_id\":[32],\"_messageId\":[32],\"_validMessageId\":[32],\"_invalidMessageId\":[32],\"_invalidMessage\":[32],\"_selectId\":[32],\"_labelId\":[32],\"_summaryId\":[32],\"_placeholderId\":[32],\"_infoTextId\":[32],\"_validity\":[32],\"_userInteraction\":[32],\"abortController\":[32],\"_descByIds\":[32],\"_selectedLabels\":[32],\"_selectedLabelsId\":[32],\"_voiceOverFallback\":[32],\"_selectedOptions\":[32],\"selectAllEnabled\":[32],\"searchEnabled\":[32],\"amountOptions\":[32],\"_values\":[32],\"_options\":[32],\"_hasNoOptions\":[32],\"_documentClickListenerCallbackId\":[32],\"_internalChangeTimestamp\":[32],\"_documentScrollListenerCallbackId\":[32],\"_observer\":[32],\"_searchValue\":[32],\"selectAllChecked\":[32],\"selectAllIndeterminate\":[32]},null,{\"detailsRef\":[{\"watch0\":0},{\"watch2\":0}],\"_id\":[{\"watch1\":0}],\"_descByIds\":[{\"watch2\":0}],\"showNoResults\":[{\"watch3\":0}],\"showLoading\":[{\"watch3\":0}],\"_options\":[{\"watch3\":0}],\"showSelectAll\":[{\"watch4\":0}],\"amountOptions\":[{\"watch4\":0},{\"watch5\":0},{\"watch10\":0}],\"multiple\":[{\"watch4\":0}],\"showSearch\":[{\"watch5\":0}],\"values\":[{\"watch6\":0}],\"_values\":[{\"watch7\":0},{\"watch10\":0},{\"watch13\":0}],\"selectRef\":[{\"watch7\":0},{\"watch8\":0},{\"watch17\":0}],\"validation\":[{\"watch9\":0}],\"options\":[{\"watch11\":0},{\"watch13\":0}],\"searchValue\":[{\"watch12\":0}],\"_selectedOptions\":[{\"watch14\":0},{\"watch15\":0}],\"selectedType\":[{\"watch14\":0}],\"amountText\":[{\"watch14\":0}],\"selectedLabels\":[{\"watch14\":0}],\"transformSelectedLabels\":[{\"watch14\":0}],\"selectAllIndeterminate\":[{\"watch16\":0}],\"selectAllRef\":[{\"watch16\":0}],\"invalidMessage\":[{\"watch17\":0}]}]]],[\"db-tabs.cjs\",[[260,\"db-tabs\",{\"id\":[1],\"name\":[1],\"tabs\":[1],\"arrowScrollDistance\":[8,\"arrow-scroll-distance\"],\"orientation\":[1],\"behavior\":[1],\"initialSelectedMode\":[1,\"initial-selected-mode\"],\"initialSelectedIndex\":[8,\"initial-selected-index\"],\"className\":[1,\"classname\"],\"alignment\":[1],\"width\":[1],\"_id\":[32],\"_name\":[32],\"initialized\":[32],\"showScrollLeft\":[32],\"showScrollRight\":[32],\"scrollContainer\":[32],\"_resizeObserver\":[32]},null,{\"_ref\":[{\"watch0\":0}],\"initialized\":[{\"watch0\":0}]}]]],[\"db-header.cjs\",[[260,\"db-header\",{\"forceMobile\":[8,\"force-mobile\"],\"drawerOpen\":[8,\"drawer-open\"],\"className\":[1,\"classname\"],\"id\":[1],\"width\":[1],\"closeButtonId\":[1,\"close-button-id\"],\"closeButtonText\":[1,\"close-button-text\"],\"burgerMenuLabel\":[1,\"burger-menu-label\"],\"initialized\":[32],\"forcedToMobile\":[32]},null,{\"initialized\":[{\"watch0\":0}],\"_ref\":[{\"watch0\":0}]}]]],[\"db-accordion.cjs\",[[260,\"db-accordion\",{\"id\":[1],\"name\":[1],\"behavior\":[1],\"initOpenIndex\":[16],\"items\":[1],\"className\":[1,\"classname\"],\"variant\":[1],\"_id\":[32],\"_name\":[32],\"initialized\":[32],\"_initOpenIndexDone\":[32]},null,{\"initialized\":[{\"watch0\":0}],\"name\":[{\"watch0\":0}],\"behavior\":[{\"watch0\":0}],\"_id\":[{\"watch0\":0}],\"_ref\":[{\"watch1\":0},{\"watch2\":0}],\"_name\":[{\"watch1\":0}],\"_initOpenIndexDone\":[{\"watch2\":0}],\"initOpenIndex\":[{\"watch2\":0}]}]]],[\"db-checkbox.cjs\",[[260,\"db-checkbox\",{\"id\":[1],\"invalidMessage\":[1,\"invalid-message\"],\"message\":[1],\"showMessage\":[8,\"show-message\"],\"indeterminate\":[8],\"checked\":[8],\"validMessage\":[1,\"valid-message\"],\"validation\":[1],\"required\":[8],\"className\":[1,\"classname\"],\"size\":[1],\"showRequiredAsterisk\":[8,\"show-required-asterisk\"],\"showLabel\":[8,\"show-label\"],\"name\":[1],\"disabled\":[8],\"value\":[8],\"ariaDescribedBy\":[1,\"aria-described-by\"],\"label\":[1],\"messageIcon\":[1,\"message-icon\"],\"initialized\":[32],\"_id\":[32],\"_messageId\":[32],\"_validMessageId\":[32],\"_invalidMessageId\":[32],\"_invalidMessage\":[32],\"_descByIds\":[32],\"_voiceOverFallback\":[32],\"abortController\":[32]},null,{\"_ref\":[{\"watch0\":0},{\"watch2\":0},{\"watch3\":0},{\"watch4\":0}],\"invalidMessage\":[{\"watch0\":0}],\"_id\":[{\"watch1\":0}],\"initialized\":[{\"watch2\":0},{\"watch3\":0}],\"indeterminate\":[{\"watch2\":0}],\"checked\":[{\"watch3\":0}]}]]],[\"db-navigation-item.cjs\",[[260,\"db-navigation-item\",{\"subNavigationExpanded\":[8,\"sub-navigation-expanded\"],\"id\":[1],\"className\":[1,\"classname\"],\"width\":[1],\"icon\":[1],\"showIcon\":[8,\"show-icon\"],\"active\":[4],\"wrap\":[8],\"disabled\":[8],\"text\":[1],\"backButtonId\":[1,\"back-button-id\"],\"backButtonText\":[1,\"back-button-text\"],\"initialized\":[32],\"hasAreaPopup\":[32],\"hasSubNavigation\":[32],\"isSubNavigationExpanded\":[32],\"autoClose\":[32],\"subNavigationId\":[32],\"navigationItemSafeTriangle\":[32]},null,{\"subNavigationExpanded\":[{\"watch0\":0}],\"initialized\":[{\"watch1\":0}],\"_ref\":[{\"watch1\":0}]}]]],[\"db-notification.cjs\",[[260,\"db-notification\",{\"id\":[1],\"className\":[1,\"classname\"],\"ariaLive\":[1,\"aria-live\"],\"semantic\":[1],\"variant\":[1],\"showIcon\":[8,\"show-icon\"],\"icon\":[1],\"linkVariant\":[1,\"link-variant\"],\"headline\":[8],\"showHeadline\":[8,\"show-headline\"],\"text\":[1],\"timestamp\":[1],\"showTimestamp\":[8,\"show-timestamp\"],\"closeable\":[8],\"closeButtonId\":[1,\"close-button-id\"],\"closeButtonText\":[1,\"close-button-text\"]}]]],[\"db-select.cjs\",[[260,\"db-select\",{\"id\":[1],\"invalidMessage\":[1,\"invalid-message\"],\"message\":[1],\"showMessage\":[8,\"show-message\"],\"placeholder\":[1],\"value\":[8],\"validMessage\":[1,\"valid-message\"],\"validation\":[1],\"required\":[8],\"className\":[1,\"classname\"],\"variant\":[1],\"showLabel\":[8,\"show-label\"],\"showRequiredAsterisk\":[8,\"show-required-asterisk\"],\"icon\":[1],\"showIcon\":[8,\"show-icon\"],\"label\":[1],\"disabled\":[8],\"name\":[1],\"size\":[2],\"autocomplete\":[1],\"multiple\":[4],\"ariaDescribedBy\":[1,\"aria-described-by\"],\"options\":[16],\"messageIcon\":[1,\"message-icon\"],\"_id\":[32],\"_messageId\":[32],\"_validMessageId\":[32],\"_invalidMessageId\":[32],\"_invalidMessage\":[32],\"_placeholderId\":[32],\"_descByIds\":[32],\"_value\":[32],\"initialized\":[32],\"_voiceOverFallback\":[32],\"abortController\":[32]},null,{\"_ref\":[{\"watch0\":0},{\"watch3\":0}],\"invalidMessage\":[{\"watch0\":0}],\"_id\":[{\"watch1\":0}],\"initialized\":[{\"watch1\":0}],\"value\":[{\"watch2\":0}]}]]],[\"db-switch.cjs\",[[260,\"db-switch\",{\"id\":[1],\"validation\":[1],\"required\":[8],\"message\":[1],\"showMessage\":[8,\"show-message\"],\"validMessage\":[1,\"valid-message\"],\"invalidMessage\":[1,\"invalid-message\"],\"checked\":[8],\"disabled\":[8],\"visualAid\":[8,\"visual-aid\"],\"size\":[1],\"showLabel\":[8,\"show-label\"],\"variant\":[16],\"showRequiredAsterisk\":[8,\"show-required-asterisk\"],\"className\":[1,\"classname\"],\"value\":[8],\"name\":[1],\"iconLeading\":[1,\"icon-leading\"],\"icon\":[1],\"iconTrailing\":[1,\"icon-trailing\"],\"label\":[1],\"messageIcon\":[1,\"message-icon\"],\"_id\":[32],\"_messageId\":[32],\"_validMessageId\":[32],\"_invalidMessageId\":[32],\"_invalidMessage\":[32],\"_descByIds\":[32],\"_voiceOverFallback\":[32],\"abortController\":[32]},null,{\"validation\":[{\"watch0\":0}],\"required\":[{\"watch0\":0}],\"message\":[{\"watch0\":0}],\"showMessage\":[{\"watch0\":0}],\"validMessage\":[{\"watch0\":0}],\"invalidMessage\":[{\"watch0\":0}],\"checked\":[{\"watch0\":0}],\"_ref\":[{\"watch1\":0}]}]]],[\"db-textarea.cjs\",[[0,\"db-textarea\",{\"id\":[1],\"invalidMessage\":[1,\"invalid-message\"],\"message\":[1],\"showMessage\":[8,\"show-message\"],\"value\":[8],\"validMessage\":[1,\"valid-message\"],\"validation\":[1],\"required\":[8],\"minLength\":[8,\"min-length\"],\"maxLength\":[8,\"max-length\"],\"className\":[1,\"classname\"],\"variant\":[1],\"showRequiredAsterisk\":[8,\"show-required-asterisk\"],\"showLabel\":[8,\"show-label\"],\"label\":[1],\"fieldSizing\":[1,\"field-sizing\"],\"resize\":[1],\"showResizer\":[8,\"show-resizer\"],\"disabled\":[8],\"readOnly\":[8,\"read-only\"],\"readonly\":[8],\"form\":[1],\"maxlength\":[8],\"minlength\":[8],\"name\":[1],\"wrap\":[1],\"spellCheck\":[4,\"spell-check\"],\"autocomplete\":[1],\"ariaDescribedBy\":[1,\"aria-described-by\"],\"placeholder\":[1],\"rows\":[8],\"cols\":[8],\"messageIcon\":[1,\"message-icon\"],\"_id\":[32],\"_messageId\":[32],\"_validMessageId\":[32],\"_invalidMessageId\":[32],\"_invalidMessage\":[32],\"_descByIds\":[32],\"_value\":[32],\"_voiceOverFallback\":[32],\"abortController\":[32]},null,{\"_ref\":[{\"watch0\":0},{\"watch3\":0}],\"invalidMessage\":[{\"watch0\":0}],\"_id\":[{\"watch1\":0}],\"value\":[{\"watch2\":0}]}]]],[\"db-badge.cjs\",[[260,\"db-badge\",{\"placement\":[1],\"id\":[1],\"className\":[1,\"classname\"],\"semantic\":[1],\"size\":[1],\"emphasis\":[1],\"label\":[1],\"text\":[1],\"initialized\":[32]},null,{\"_ref\":[{\"watch0\":0}],\"initialized\":[{\"watch0\":0}]}]]],[\"db-brand.cjs\",[[260,\"db-brand\",{\"hideLogo\":[4,\"hide-logo\"],\"icon\":[1],\"showIcon\":[8,\"show-icon\"],\"id\":[1],\"className\":[1,\"classname\"],\"text\":[1]}]]],[\"db-card.cjs\",[[260,\"db-card\",{\"id\":[1],\"className\":[1,\"classname\"],\"behavior\":[1],\"elevationLevel\":[1,\"elevation-level\"],\"spacing\":[1]}]]],[\"db-custom-select-form-field.cjs\",[[260,\"db-custom-select-form-field\",{\"id\":[1],\"className\":[1,\"classname\"]}]]],[\"db-divider.cjs\",[[0,\"db-divider\",{\"id\":[1],\"margin\":[1],\"variant\":[1],\"emphasis\":[1],\"width\":[1],\"className\":[1,\"classname\"]}]]],[\"db-icon.cjs\",[[260,\"db-icon\",{\"id\":[1],\"className\":[1,\"classname\"],\"icon\":[1],\"weight\":[1],\"variant\":[1],\"text\":[1]}]]],[\"db-link.cjs\",[[260,\"db-link\",{\"id\":[1],\"className\":[1,\"classname\"],\"href\":[1],\"target\":[1],\"rel\":[1],\"role\":[1],\"referrerpolicy\":[1],\"referrerPolicy\":[1,\"referrer-policy\"],\"hreflang\":[1],\"disabled\":[8],\"size\":[1],\"showIcon\":[8,\"show-icon\"],\"variant\":[1],\"content\":[1],\"wrap\":[8],\"text\":[1]}]]],[\"db-navigation.cjs\",[[260,\"db-navigation\",{\"id\":[1],\"className\":[1,\"classname\"],\"_id\":[32]}]]],[\"db-page.cjs\",[[260,\"db-page\",{\"fadeIn\":[8,\"fade-in\"],\"documentOverflow\":[1,\"document-overflow\"],\"variant\":[1],\"id\":[1],\"className\":[1,\"classname\"],\"mainClass\":[1,\"main-class\"],\"fontsLoaded\":[32]}]]],[\"db-popover.cjs\",[[260,\"db-popover\",{\"placement\":[1],\"id\":[1],\"className\":[1,\"classname\"],\"spacing\":[1],\"gap\":[8],\"animation\":[8],\"open\":[8],\"delay\":[1],\"width\":[1],\"initialized\":[32],\"isExpanded\":[32],\"_documentScrollListenerCallbackId\":[32],\"_observer\":[32]},null,{\"_ref\":[{\"watch0\":0},{\"watch1\":0}],\"initialized\":[{\"watch0\":0}],\"isExpanded\":[{\"watch1\":0}]}]]],[\"db-radio.cjs\",[[260,\"db-radio\",{\"id\":[1],\"checked\":[8],\"size\":[1],\"showLabel\":[8,\"show-label\"],\"showRequiredAsterisk\":[8,\"show-required-asterisk\"],\"className\":[1,\"classname\"],\"validation\":[1],\"name\":[1],\"disabled\":[8],\"value\":[8],\"required\":[8],\"label\":[1],\"initialized\":[32],\"_id\":[32],\"abortController\":[32]},null,{\"initialized\":[{\"watch0\":0}],\"_ref\":[{\"watch0\":0},{\"watch1\":0}],\"checked\":[{\"watch0\":0}]}]]],[\"db-section.cjs\",[[260,\"db-section\",{\"id\":[1],\"className\":[1,\"classname\"],\"spacing\":[1],\"width\":[1]}]]],[\"db-stack.cjs\",[[260,\"db-stack\",{\"id\":[1],\"className\":[1,\"classname\"],\"gap\":[1],\"variant\":[1],\"direction\":[1],\"alignment\":[1],\"justifyContent\":[1,\"justify-content\"],\"wrap\":[8]}]]],[\"db-drawer.cjs\",[[260,\"db-drawer\",{\"open\":[8],\"position\":[1],\"backdrop\":[1],\"variant\":[1],\"id\":[1],\"direction\":[1],\"className\":[1,\"classname\"],\"spacing\":[1],\"width\":[1],\"rounded\":[8],\"closeButtonId\":[1,\"close-button-id\"],\"closeButtonText\":[1,\"close-button-text\"],\"initialized\":[32]},null,{\"open\":[{\"watch0\":0}],\"_ref\":[{\"watch1\":0}],\"initialized\":[{\"watch1\":0}],\"position\":[{\"watch1\":0}]}]]],[\"db-accordion-item.cjs\",[[260,\"db-accordion-item\",{\"id\":[1],\"defaultOpen\":[4,\"default-open\"],\"name\":[1],\"className\":[1,\"classname\"],\"disabled\":[8],\"headlinePlain\":[1,\"headline-plain\"],\"text\":[1],\"_id\":[32],\"_open\":[32],\"_name\":[32],\"initialized\":[32]},null,{\"_ref\":[{\"watch0\":0}],\"initialized\":[{\"watch0\":0}],\"name\":[{\"watch1\":0}]}]]],[\"db-tooltip.cjs\",[[260,\"db-tooltip\",{\"id\":[1],\"variant\":[1],\"placement\":[1],\"className\":[1,\"classname\"],\"emphasis\":[1],\"animation\":[8],\"delay\":[1],\"width\":[1],\"showArrow\":[8,\"show-arrow\"],\"_id\":[32],\"initialized\":[32],\"_documentScrollListenerCallbackId\":[32],\"_observer\":[32]},null,{\"_ref\":[{\"watch0\":0}],\"initialized\":[{\"watch0\":0}]}]]],[\"db-tab-item_3.cjs\",[[260,\"db-tab-item\",{\"active\":[8],\"name\":[1],\"className\":[1,\"classname\"],\"id\":[1],\"iconLeading\":[1,\"icon-leading\"],\"icon\":[1],\"iconTrailing\":[1,\"icon-trailing\"],\"showIconLeading\":[8,\"show-icon-leading\"],\"showIcon\":[8,\"show-icon\"],\"showIconTrailing\":[8,\"show-icon-trailing\"],\"noText\":[8,\"no-text\"],\"disabled\":[8],\"checked\":[8],\"label\":[1],\"_selected\":[32],\"_name\":[32],\"initialized\":[32],\"_listenerAdded\":[32],\"boundSetSelectedOnChange\":[32]},null,{\"_ref\":[{\"watch0\":0}],\"initialized\":[{\"watch0\":0}],\"boundSetSelectedOnChange\":[{\"watch0\":0}],\"name\":[{\"watch1\":0}]}],[260,\"db-tab-list\",{\"id\":[1],\"className\":[1,\"classname\"],\"_id\":[32]}],[260,\"db-tab-panel\",{\"className\":[1,\"classname\"],\"id\":[1],\"content\":[1]}]]],[\"db-custom-select-dropdown_5.cjs\",[[260,\"db-input\",{\"id\":[1],\"invalidMessage\":[1,\"invalid-message\"],\"dataListId\":[1,\"data-list-id\"],\"message\":[1],\"showMessage\":[8,\"show-message\"],\"value\":[8],\"validMessage\":[1,\"valid-message\"],\"validation\":[1],\"required\":[8],\"minLength\":[8,\"min-length\"],\"maxLength\":[8,\"max-length\"],\"pattern\":[1],\"dataList\":[16],\"className\":[1,\"classname\"],\"variant\":[1],\"showLabel\":[8,\"show-label\"],\"showIconLeading\":[8,\"show-icon-leading\"],\"showIcon\":[8,\"show-icon\"],\"iconLeading\":[1,\"icon-leading\"],\"icon\":[1],\"iconTrailing\":[1,\"icon-trailing\"],\"showRequiredAsterisk\":[8,\"show-required-asterisk\"],\"showIconTrailing\":[8,\"show-icon-trailing\"],\"label\":[1],\"fieldSizing\":[1,\"field-sizing\"],\"name\":[1],\"type\":[1],\"multiple\":[8],\"accept\":[1],\"placeholder\":[1],\"disabled\":[8],\"step\":[8],\"maxlength\":[8],\"minlength\":[8],\"max\":[8],\"min\":[8],\"readOnly\":[8,\"read-only\"],\"readonly\":[8],\"form\":[1],\"size\":[2],\"autocomplete\":[1],\"autofocus\":[8],\"enterkeyhint\":[1],\"inputmode\":[1],\"ariaDescribedBy\":[1,\"aria-described-by\"],\"messageSize\":[1,\"message-size\"],\"messageIcon\":[1,\"message-icon\"],\"validMessageSize\":[1,\"valid-message-size\"],\"invalidMessageSize\":[1,\"invalid-message-size\"],\"_id\":[32],\"_messageId\":[32],\"_validMessageId\":[32],\"_invalidMessageId\":[32],\"_invalidMessage\":[32],\"_dataListId\":[32],\"_descByIds\":[32],\"_value\":[32],\"_voiceOverFallback\":[32],\"abortController\":[32]},null,{\"_ref\":[{\"watch0\":0},{\"watch3\":0}],\"invalidMessage\":[{\"watch0\":0}],\"_id\":[{\"watch1\":0}],\"value\":[{\"watch2\":0}]}],[260,\"db-tag\",{\"removeButton\":[1,\"remove-button\"],\"id\":[1],\"className\":[1,\"classname\"],\"semantic\":[1],\"emphasis\":[1],\"icon\":[1],\"showCheckState\":[8,\"show-check-state\"],\"showIcon\":[8,\"show-icon\"],\"noText\":[8,\"no-text\"],\"overflow\":[8],\"text\":[1],\"behavior\":[1]}],[260,\"db-custom-select-dropdown\",{\"id\":[1],\"className\":[1,\"classname\"],\"width\":[1]}],[260,\"db-custom-select-list\",{\"multiple\":[4],\"label\":[1],\"id\":[1],\"className\":[1,\"classname\"]}],[260,\"db-custom-select-list-item\",{\"id\":[1],\"isGroupTitle\":[4,\"is-group-title\"],\"showDivider\":[4,\"show-divider\"],\"type\":[1],\"checked\":[8],\"className\":[1,\"classname\"],\"groupTitle\":[1,\"group-title\"],\"icon\":[1],\"showIcon\":[8,\"show-icon\"],\"name\":[1],\"disabled\":[8],\"value\":[8],\"label\":[1],\"_id\":[32],\"hasDivider\":[32]},null,{\"isGroupTitle\":[{\"watch0\":0}],\"showDivider\":[{\"watch0\":0}]}]]],[\"db-button.cjs\",[[260,\"db-button\",{\"type\":[1],\"id\":[1],\"className\":[1,\"classname\"],\"disabled\":[8],\"iconLeading\":[1,\"icon-leading\"],\"icon\":[1],\"showIconLeading\":[8,\"show-icon-leading\"],\"showIcon\":[8,\"show-icon\"],\"iconTrailing\":[1,\"icon-trailing\"],\"showIconTrailing\":[8,\"show-icon-trailing\"],\"size\":[1],\"width\":[1],\"variant\":[1],\"noText\":[8,\"no-text\"],\"name\":[1],\"form\":[1],\"value\":[1],\"text\":[1]}]]],[\"db-infotext.cjs\",[[260,\"db-infotext\",{\"id\":[1],\"className\":[1,\"classname\"],\"icon\":[1],\"semantic\":[1],\"size\":[1],\"showIcon\":[8,\"show-icon\"],\"text\":[1]}]]]]"), options);
|
|
9
|
+
return index.bootstrapLazy(JSON.parse("[[\"db-custom-select.cjs\",[[260,\"db-custom-select\",{\"id\":[1],\"invalidMessage\":[1,\"invalid-message\"],\"message\":[1],\"showMessage\":[8,\"show-message\"],\"ariaDescribedBy\":[1,\"aria-described-by\"],\"showNoResults\":[4,\"show-no-results\"],\"showLoading\":[4,\"show-loading\"],\"multiple\":[8],\"showSelectAll\":[4,\"show-select-all\"],\"showSearch\":[4,\"show-search\"],\"values\":[16],\"validation\":[1],\"options\":[16],\"searchValue\":[1,\"search-value\"],\"selectedLabels\":[1,\"selected-labels\"],\"transformSelectedLabels\":[16],\"selectedType\":[1,\"selected-type\"],\"amountText\":[1,\"amount-text\"],\"validMessage\":[1,\"valid-message\"],\"required\":[8],\"selectAllLabel\":[1,\"select-all-label\"],\"removeTagsTexts\":[16],\"placement\":[1],\"searchFilter\":[16],\"className\":[1,\"classname\"],\"formFieldWidth\":[1,\"form-field-width\"],\"variant\":[1],\"showRequiredAsterisk\":[8,\"show-required-asterisk\"],\"showLabel\":[8,\"show-label\"],\"icon\":[1],\"showIcon\":[8,\"show-icon\"],\"label\":[1],\"form\":[1],\"name\":[1],\"disabled\":[8],\"open\":[4],\"selectedPrefix\":[1,\"selected-prefix\"],\"dropdownWidth\":[1,\"dropdown-width\"],\"searchLabel\":[1,\"search-label\"],\"searchPlaceholder\":[1,\"search-placeholder\"],\"listLabel\":[1,\"list-label\"],\"loadingText\":[1,\"loading-text\"],\"noResultsText\":[1,\"no-results-text\"],\"mobileCloseButtonText\":[1,\"mobile-close-button-text\"],\"showClearSelection\":[4,\"show-clear-selection\"],\"clearSelectionText\":[1,\"clear-selection-text\"],\"placeholder\":[1],\"messageIcon\":[1,\"message-icon\"],\"_id\":[32],\"_messageId\":[32],\"_validMessageId\":[32],\"_invalidMessageId\":[32],\"_invalidMessage\":[32],\"_selectId\":[32],\"_labelId\":[32],\"_summaryId\":[32],\"_placeholderId\":[32],\"_infoTextId\":[32],\"_validity\":[32],\"_userInteraction\":[32],\"abortController\":[32],\"_descByIds\":[32],\"_selectedLabels\":[32],\"_selectedLabelsId\":[32],\"_voiceOverFallback\":[32],\"_selectedOptions\":[32],\"selectAllEnabled\":[32],\"searchEnabled\":[32],\"amountOptions\":[32],\"_values\":[32],\"_options\":[32],\"_hasNoOptions\":[32],\"_documentClickListenerCallbackId\":[32],\"_internalChangeTimestamp\":[32],\"_documentScrollListenerCallbackId\":[32],\"_observer\":[32],\"_searchValue\":[32],\"selectAllChecked\":[32],\"selectAllIndeterminate\":[32]},null,{\"detailsRef\":[{\"watch0\":0},{\"watch2\":0}],\"_id\":[{\"watch1\":0}],\"_descByIds\":[{\"watch2\":0}],\"showNoResults\":[{\"watch3\":0}],\"showLoading\":[{\"watch3\":0}],\"_options\":[{\"watch3\":0}],\"showSelectAll\":[{\"watch4\":0}],\"amountOptions\":[{\"watch4\":0},{\"watch5\":0},{\"watch10\":0}],\"multiple\":[{\"watch4\":0}],\"showSearch\":[{\"watch5\":0}],\"values\":[{\"watch6\":0}],\"_values\":[{\"watch7\":0},{\"watch10\":0},{\"watch13\":0}],\"selectRef\":[{\"watch7\":0},{\"watch8\":0},{\"watch17\":0}],\"validation\":[{\"watch9\":0}],\"options\":[{\"watch11\":0},{\"watch13\":0}],\"searchValue\":[{\"watch12\":0}],\"_selectedOptions\":[{\"watch14\":0},{\"watch15\":0}],\"selectedType\":[{\"watch14\":0}],\"amountText\":[{\"watch14\":0}],\"selectedLabels\":[{\"watch14\":0}],\"transformSelectedLabels\":[{\"watch14\":0}],\"selectAllIndeterminate\":[{\"watch16\":0}],\"selectAllRef\":[{\"watch16\":0}],\"invalidMessage\":[{\"watch17\":0}]}]]],[\"db-tabs.cjs\",[[260,\"db-tabs\",{\"id\":[1],\"name\":[1],\"tabs\":[1],\"arrowScrollDistance\":[8,\"arrow-scroll-distance\"],\"orientation\":[1],\"behavior\":[1],\"initialSelectedMode\":[1,\"initial-selected-mode\"],\"initialSelectedIndex\":[8,\"initial-selected-index\"],\"className\":[1,\"classname\"],\"alignment\":[1],\"width\":[1],\"_id\":[32],\"_name\":[32],\"initialized\":[32],\"showScrollLeft\":[32],\"showScrollRight\":[32],\"scrollContainer\":[32],\"_resizeObserver\":[32]},null,{\"_ref\":[{\"watch0\":0}],\"initialized\":[{\"watch0\":0}]}]]],[\"db-header.cjs\",[[260,\"db-header\",{\"forceMobile\":[8,\"force-mobile\"],\"drawerOpen\":[8,\"drawer-open\"],\"className\":[1,\"classname\"],\"id\":[1],\"width\":[1],\"closeButtonId\":[1,\"close-button-id\"],\"closeButtonText\":[1,\"close-button-text\"],\"burgerMenuLabel\":[1,\"burger-menu-label\"],\"initialized\":[32],\"forcedToMobile\":[32]},null,{\"initialized\":[{\"watch0\":0}],\"_ref\":[{\"watch0\":0}]}]]],[\"db-accordion.cjs\",[[260,\"db-accordion\",{\"id\":[1],\"name\":[1],\"behavior\":[1],\"initOpenIndex\":[16],\"items\":[1],\"className\":[1,\"classname\"],\"variant\":[1],\"_id\":[32],\"_name\":[32],\"initialized\":[32],\"_initOpenIndexDone\":[32]},null,{\"initialized\":[{\"watch0\":0}],\"name\":[{\"watch0\":0}],\"behavior\":[{\"watch0\":0}],\"_id\":[{\"watch0\":0}],\"_ref\":[{\"watch1\":0},{\"watch2\":0}],\"_name\":[{\"watch1\":0}],\"_initOpenIndexDone\":[{\"watch2\":0}],\"initOpenIndex\":[{\"watch2\":0}]}]]],[\"db-checkbox.cjs\",[[260,\"db-checkbox\",{\"id\":[1],\"invalidMessage\":[1,\"invalid-message\"],\"message\":[1],\"showMessage\":[8,\"show-message\"],\"indeterminate\":[8],\"checked\":[8],\"validMessage\":[1,\"valid-message\"],\"validation\":[1],\"required\":[8],\"className\":[1,\"classname\"],\"size\":[1],\"showRequiredAsterisk\":[8,\"show-required-asterisk\"],\"showLabel\":[8,\"show-label\"],\"name\":[1],\"disabled\":[8],\"value\":[8],\"ariaDescribedBy\":[1,\"aria-described-by\"],\"label\":[1],\"messageIcon\":[1,\"message-icon\"],\"initialized\":[32],\"_id\":[32],\"_messageId\":[32],\"_validMessageId\":[32],\"_invalidMessageId\":[32],\"_invalidMessage\":[32],\"_descByIds\":[32],\"_voiceOverFallback\":[32],\"abortController\":[32]},null,{\"_ref\":[{\"watch0\":0},{\"watch2\":0},{\"watch3\":0},{\"watch4\":0}],\"invalidMessage\":[{\"watch0\":0}],\"_id\":[{\"watch1\":0}],\"initialized\":[{\"watch2\":0},{\"watch3\":0}],\"indeterminate\":[{\"watch2\":0}],\"checked\":[{\"watch3\":0}]}]]],[\"db-navigation-item.cjs\",[[260,\"db-navigation-item\",{\"subNavigationExpanded\":[8,\"sub-navigation-expanded\"],\"id\":[1],\"className\":[1,\"classname\"],\"width\":[1],\"icon\":[1],\"showIcon\":[8,\"show-icon\"],\"active\":[4],\"wrap\":[8],\"disabled\":[8],\"text\":[1],\"backButtonId\":[1,\"back-button-id\"],\"backButtonText\":[1,\"back-button-text\"],\"initialized\":[32],\"hasAreaPopup\":[32],\"hasSubNavigation\":[32],\"isSubNavigationExpanded\":[32],\"autoClose\":[32],\"subNavigationId\":[32],\"navigationItemSafeTriangle\":[32]},null,{\"subNavigationExpanded\":[{\"watch0\":0}],\"initialized\":[{\"watch1\":0}],\"_ref\":[{\"watch1\":0}]}]]],[\"db-notification.cjs\",[[260,\"db-notification\",{\"id\":[1],\"className\":[1,\"classname\"],\"semantic\":[1],\"role\":[1],\"ariaLive\":[1,\"aria-live\"],\"variant\":[1],\"showIcon\":[8,\"show-icon\"],\"icon\":[1],\"linkVariant\":[1,\"link-variant\"],\"headline\":[8],\"showHeadline\":[8,\"show-headline\"],\"text\":[1],\"timestamp\":[1],\"showTimestamp\":[8,\"show-timestamp\"],\"closeable\":[8],\"closeButtonId\":[1,\"close-button-id\"],\"closeButtonText\":[1,\"close-button-text\"]}]]],[\"db-select.cjs\",[[260,\"db-select\",{\"id\":[1],\"invalidMessage\":[1,\"invalid-message\"],\"message\":[1],\"showMessage\":[8,\"show-message\"],\"placeholder\":[1],\"value\":[8],\"validMessage\":[1,\"valid-message\"],\"validation\":[1],\"required\":[8],\"variant\":[1],\"showEmptyOption\":[4,\"show-empty-option\"],\"className\":[1,\"classname\"],\"showLabel\":[8,\"show-label\"],\"showRequiredAsterisk\":[8,\"show-required-asterisk\"],\"icon\":[1],\"showIcon\":[8,\"show-icon\"],\"label\":[1],\"disabled\":[8],\"name\":[1],\"size\":[2],\"autocomplete\":[1],\"multiple\":[4],\"ariaDescribedBy\":[1,\"aria-described-by\"],\"options\":[16],\"messageIcon\":[1,\"message-icon\"],\"_id\":[32],\"_messageId\":[32],\"_validMessageId\":[32],\"_invalidMessageId\":[32],\"_invalidMessage\":[32],\"_placeholderId\":[32],\"_descByIds\":[32],\"_value\":[32],\"initialized\":[32],\"_voiceOverFallback\":[32],\"abortController\":[32]},null,{\"_ref\":[{\"watch0\":0},{\"watch3\":0}],\"invalidMessage\":[{\"watch0\":0}],\"_id\":[{\"watch1\":0}],\"initialized\":[{\"watch1\":0}],\"value\":[{\"watch2\":0}]}]]],[\"db-switch.cjs\",[[260,\"db-switch\",{\"id\":[1],\"validation\":[1],\"required\":[8],\"message\":[1],\"showMessage\":[8,\"show-message\"],\"validMessage\":[1,\"valid-message\"],\"invalidMessage\":[1,\"invalid-message\"],\"checked\":[8],\"disabled\":[8],\"visualAid\":[8,\"visual-aid\"],\"size\":[1],\"showLabel\":[8,\"show-label\"],\"variant\":[16],\"showRequiredAsterisk\":[8,\"show-required-asterisk\"],\"className\":[1,\"classname\"],\"value\":[8],\"name\":[1],\"iconLeading\":[1,\"icon-leading\"],\"icon\":[1],\"iconTrailing\":[1,\"icon-trailing\"],\"label\":[1],\"messageIcon\":[1,\"message-icon\"],\"_id\":[32],\"_messageId\":[32],\"_validMessageId\":[32],\"_invalidMessageId\":[32],\"_invalidMessage\":[32],\"_descByIds\":[32],\"_voiceOverFallback\":[32],\"abortController\":[32]},null,{\"validation\":[{\"watch0\":0}],\"required\":[{\"watch0\":0}],\"message\":[{\"watch0\":0}],\"showMessage\":[{\"watch0\":0}],\"validMessage\":[{\"watch0\":0}],\"invalidMessage\":[{\"watch0\":0}],\"checked\":[{\"watch0\":0}],\"_ref\":[{\"watch1\":0}]}]]],[\"db-textarea.cjs\",[[0,\"db-textarea\",{\"id\":[1],\"invalidMessage\":[1,\"invalid-message\"],\"message\":[1],\"showMessage\":[8,\"show-message\"],\"value\":[8],\"validMessage\":[1,\"valid-message\"],\"validation\":[1],\"required\":[8],\"minLength\":[8,\"min-length\"],\"maxLength\":[8,\"max-length\"],\"className\":[1,\"classname\"],\"variant\":[1],\"showRequiredAsterisk\":[8,\"show-required-asterisk\"],\"showLabel\":[8,\"show-label\"],\"label\":[1],\"fieldSizing\":[1,\"field-sizing\"],\"resize\":[1],\"showResizer\":[8,\"show-resizer\"],\"disabled\":[8],\"readOnly\":[8,\"read-only\"],\"readonly\":[8],\"form\":[1],\"maxlength\":[8],\"minlength\":[8],\"name\":[1],\"wrap\":[1],\"spellCheck\":[4,\"spell-check\"],\"autocomplete\":[1],\"ariaDescribedBy\":[1,\"aria-described-by\"],\"placeholder\":[1],\"rows\":[8],\"cols\":[8],\"messageIcon\":[1,\"message-icon\"],\"_id\":[32],\"_messageId\":[32],\"_validMessageId\":[32],\"_invalidMessageId\":[32],\"_invalidMessage\":[32],\"_descByIds\":[32],\"_value\":[32],\"_voiceOverFallback\":[32],\"abortController\":[32]},null,{\"_ref\":[{\"watch0\":0},{\"watch3\":0}],\"invalidMessage\":[{\"watch0\":0}],\"_id\":[{\"watch1\":0}],\"value\":[{\"watch2\":0}]}]]],[\"db-badge.cjs\",[[260,\"db-badge\",{\"placement\":[1],\"id\":[1],\"className\":[1,\"classname\"],\"semantic\":[1],\"size\":[1],\"emphasis\":[1],\"label\":[1],\"text\":[1],\"initialized\":[32]},null,{\"_ref\":[{\"watch0\":0}],\"initialized\":[{\"watch0\":0}]}]]],[\"db-brand.cjs\",[[260,\"db-brand\",{\"hideLogo\":[4,\"hide-logo\"],\"icon\":[1],\"showIcon\":[8,\"show-icon\"],\"id\":[1],\"className\":[1,\"classname\"],\"text\":[1]}]]],[\"db-card.cjs\",[[260,\"db-card\",{\"id\":[1],\"className\":[1,\"classname\"],\"behavior\":[1],\"elevationLevel\":[1,\"elevation-level\"],\"spacing\":[1]}]]],[\"db-custom-select-form-field.cjs\",[[260,\"db-custom-select-form-field\",{\"id\":[1],\"className\":[1,\"classname\"]}]]],[\"db-divider.cjs\",[[0,\"db-divider\",{\"id\":[1],\"margin\":[1],\"variant\":[1],\"emphasis\":[1],\"width\":[1],\"className\":[1,\"classname\"]}]]],[\"db-icon.cjs\",[[260,\"db-icon\",{\"id\":[1],\"className\":[1,\"classname\"],\"icon\":[1],\"weight\":[1],\"variant\":[1],\"text\":[1]}]]],[\"db-link.cjs\",[[260,\"db-link\",{\"id\":[1],\"className\":[1,\"classname\"],\"href\":[1],\"target\":[1],\"rel\":[1],\"role\":[1],\"referrerpolicy\":[1],\"referrerPolicy\":[1,\"referrer-policy\"],\"hreflang\":[1],\"disabled\":[8],\"size\":[1],\"showIcon\":[8,\"show-icon\"],\"variant\":[1],\"content\":[1],\"wrap\":[8],\"text\":[1]}]]],[\"db-navigation.cjs\",[[260,\"db-navigation\",{\"id\":[1],\"className\":[1,\"classname\"],\"_id\":[32]}]]],[\"db-page.cjs\",[[260,\"db-page\",{\"fadeIn\":[8,\"fade-in\"],\"documentOverflow\":[1,\"document-overflow\"],\"variant\":[1],\"id\":[1],\"className\":[1,\"classname\"],\"mainClass\":[1,\"main-class\"],\"fontsLoaded\":[32]}]]],[\"db-popover.cjs\",[[260,\"db-popover\",{\"placement\":[1],\"id\":[1],\"className\":[1,\"classname\"],\"spacing\":[1],\"gap\":[8],\"animation\":[8],\"open\":[8],\"delay\":[1],\"width\":[1],\"initialized\":[32],\"isExpanded\":[32],\"_documentScrollListenerCallbackId\":[32],\"_observer\":[32]},null,{\"_ref\":[{\"watch0\":0},{\"watch1\":0}],\"initialized\":[{\"watch0\":0}],\"isExpanded\":[{\"watch1\":0}]}]]],[\"db-radio.cjs\",[[260,\"db-radio\",{\"id\":[1],\"checked\":[8],\"size\":[1],\"showLabel\":[8,\"show-label\"],\"showRequiredAsterisk\":[8,\"show-required-asterisk\"],\"className\":[1,\"classname\"],\"validation\":[1],\"name\":[1],\"disabled\":[8],\"value\":[8],\"required\":[8],\"label\":[1],\"initialized\":[32],\"_id\":[32],\"abortController\":[32]},null,{\"initialized\":[{\"watch0\":0}],\"_ref\":[{\"watch0\":0},{\"watch1\":0}],\"checked\":[{\"watch0\":0}]}]]],[\"db-section.cjs\",[[260,\"db-section\",{\"id\":[1],\"className\":[1,\"classname\"],\"spacing\":[1],\"width\":[1]}]]],[\"db-stack.cjs\",[[260,\"db-stack\",{\"id\":[1],\"className\":[1,\"classname\"],\"gap\":[1],\"variant\":[1],\"direction\":[1],\"alignment\":[1],\"justifyContent\":[1,\"justify-content\"],\"wrap\":[8]}]]],[\"db-drawer.cjs\",[[260,\"db-drawer\",{\"open\":[8],\"position\":[1],\"backdrop\":[1],\"variant\":[1],\"id\":[1],\"direction\":[1],\"className\":[1,\"classname\"],\"spacing\":[1],\"width\":[1],\"rounded\":[8],\"closeButtonId\":[1,\"close-button-id\"],\"closeButtonText\":[1,\"close-button-text\"],\"initialized\":[32]},null,{\"open\":[{\"watch0\":0}],\"_ref\":[{\"watch1\":0}],\"initialized\":[{\"watch1\":0}],\"position\":[{\"watch1\":0}]}]]],[\"db-accordion-item.cjs\",[[260,\"db-accordion-item\",{\"id\":[1],\"defaultOpen\":[4,\"default-open\"],\"name\":[1],\"className\":[1,\"classname\"],\"disabled\":[8],\"headlinePlain\":[1,\"headline-plain\"],\"text\":[1],\"_id\":[32],\"_open\":[32],\"_name\":[32],\"initialized\":[32]},null,{\"_ref\":[{\"watch0\":0}],\"initialized\":[{\"watch0\":0}],\"name\":[{\"watch1\":0}]}]]],[\"db-tooltip.cjs\",[[260,\"db-tooltip\",{\"id\":[1],\"variant\":[1],\"placement\":[1],\"className\":[1,\"classname\"],\"emphasis\":[1],\"animation\":[8],\"delay\":[1],\"width\":[1],\"showArrow\":[8,\"show-arrow\"],\"_id\":[32],\"initialized\":[32],\"_documentScrollListenerCallbackId\":[32],\"_observer\":[32]},null,{\"_ref\":[{\"watch0\":0}],\"initialized\":[{\"watch0\":0}]}]]],[\"db-tab-item_3.cjs\",[[260,\"db-tab-item\",{\"active\":[8],\"name\":[1],\"className\":[1,\"classname\"],\"id\":[1],\"iconLeading\":[1,\"icon-leading\"],\"icon\":[1],\"iconTrailing\":[1,\"icon-trailing\"],\"showIconLeading\":[8,\"show-icon-leading\"],\"showIcon\":[8,\"show-icon\"],\"showIconTrailing\":[8,\"show-icon-trailing\"],\"noText\":[8,\"no-text\"],\"disabled\":[8],\"checked\":[8],\"label\":[1],\"_selected\":[32],\"_name\":[32],\"initialized\":[32],\"_listenerAdded\":[32],\"boundSetSelectedOnChange\":[32]},null,{\"_ref\":[{\"watch0\":0}],\"initialized\":[{\"watch0\":0}],\"boundSetSelectedOnChange\":[{\"watch0\":0}],\"name\":[{\"watch1\":0}]}],[260,\"db-tab-list\",{\"id\":[1],\"className\":[1,\"classname\"],\"_id\":[32]}],[260,\"db-tab-panel\",{\"className\":[1,\"classname\"],\"id\":[1],\"content\":[1]}]]],[\"db-custom-select-dropdown_5.cjs\",[[260,\"db-input\",{\"id\":[1],\"invalidMessage\":[1,\"invalid-message\"],\"dataListId\":[1,\"data-list-id\"],\"message\":[1],\"showMessage\":[8,\"show-message\"],\"value\":[8],\"validMessage\":[1,\"valid-message\"],\"validation\":[1],\"required\":[8],\"minLength\":[8,\"min-length\"],\"maxLength\":[8,\"max-length\"],\"pattern\":[1],\"dataList\":[16],\"className\":[1,\"classname\"],\"variant\":[1],\"showLabel\":[8,\"show-label\"],\"showIconLeading\":[8,\"show-icon-leading\"],\"showIcon\":[8,\"show-icon\"],\"iconLeading\":[1,\"icon-leading\"],\"icon\":[1],\"iconTrailing\":[1,\"icon-trailing\"],\"showRequiredAsterisk\":[8,\"show-required-asterisk\"],\"showIconTrailing\":[8,\"show-icon-trailing\"],\"label\":[1],\"fieldSizing\":[1,\"field-sizing\"],\"name\":[1],\"type\":[1],\"multiple\":[8],\"accept\":[1],\"placeholder\":[1],\"disabled\":[8],\"step\":[8],\"maxlength\":[8],\"minlength\":[8],\"max\":[8],\"min\":[8],\"readOnly\":[8,\"read-only\"],\"readonly\":[8],\"form\":[1],\"size\":[2],\"autocomplete\":[1],\"autofocus\":[8],\"enterkeyhint\":[1],\"inputmode\":[1],\"ariaDescribedBy\":[1,\"aria-described-by\"],\"messageSize\":[1,\"message-size\"],\"messageIcon\":[1,\"message-icon\"],\"validMessageSize\":[1,\"valid-message-size\"],\"invalidMessageSize\":[1,\"invalid-message-size\"],\"_id\":[32],\"_messageId\":[32],\"_validMessageId\":[32],\"_invalidMessageId\":[32],\"_invalidMessage\":[32],\"_dataListId\":[32],\"_descByIds\":[32],\"_value\":[32],\"_voiceOverFallback\":[32],\"abortController\":[32]},null,{\"_ref\":[{\"watch0\":0},{\"watch3\":0}],\"invalidMessage\":[{\"watch0\":0}],\"_id\":[{\"watch1\":0}],\"value\":[{\"watch2\":0}]}],[260,\"db-tag\",{\"removeButton\":[1,\"remove-button\"],\"id\":[1],\"className\":[1,\"classname\"],\"semantic\":[1],\"emphasis\":[1],\"icon\":[1],\"showCheckState\":[8,\"show-check-state\"],\"showIcon\":[8,\"show-icon\"],\"noText\":[8,\"no-text\"],\"overflow\":[8],\"text\":[1],\"behavior\":[1]}],[260,\"db-custom-select-dropdown\",{\"id\":[1],\"className\":[1,\"classname\"],\"width\":[1]}],[260,\"db-custom-select-list\",{\"multiple\":[4],\"label\":[1],\"id\":[1],\"className\":[1,\"classname\"]}],[260,\"db-custom-select-list-item\",{\"id\":[1],\"isGroupTitle\":[4,\"is-group-title\"],\"showDivider\":[4,\"show-divider\"],\"type\":[1],\"checked\":[8],\"className\":[1,\"classname\"],\"groupTitle\":[1,\"group-title\"],\"icon\":[1],\"showIcon\":[8,\"show-icon\"],\"name\":[1],\"disabled\":[8],\"value\":[8],\"label\":[1],\"_id\":[32],\"hasDivider\":[32]},null,{\"isGroupTitle\":[{\"watch0\":0}],\"showDivider\":[{\"watch0\":0}]}]]],[\"db-button.cjs\",[[260,\"db-button\",{\"type\":[1],\"id\":[1],\"className\":[1,\"classname\"],\"disabled\":[8],\"iconLeading\":[1,\"icon-leading\"],\"icon\":[1],\"showIconLeading\":[8,\"show-icon-leading\"],\"showIcon\":[8,\"show-icon\"],\"iconTrailing\":[1,\"icon-trailing\"],\"showIconTrailing\":[8,\"show-icon-trailing\"],\"size\":[1],\"width\":[1],\"variant\":[1],\"noText\":[8,\"no-text\"],\"name\":[1],\"form\":[1],\"value\":[1],\"text\":[1]}]]],[\"db-infotext.cjs\",[[260,\"db-infotext\",{\"id\":[1],\"className\":[1,\"classname\"],\"icon\":[1],\"semantic\":[1],\"size\":[1],\"showIcon\":[8,\"show-icon\"],\"text\":[1]}]]]]"), options);
|
|
10
10
|
};
|
|
11
11
|
|
|
12
12
|
exports.setNonce = index.setNonce;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { DEFAULT_CLOSE_BUTTON } from "../../shared/constants";
|
|
2
|
-
import { cls, getBoolean, getBooleanAsString, stringPropVisible, } from "../../utils";
|
|
2
|
+
import { cls, getBoolean, getBooleanAsString, getNotificationRole, stringPropVisible, } from "../../utils";
|
|
3
3
|
import { h, } from "@stencil/core";
|
|
4
4
|
/**
|
|
5
5
|
* @slot children - This is a default/unnamed slot
|
|
@@ -52,9 +52,13 @@ export class DBNotification {
|
|
|
52
52
|
}
|
|
53
53
|
render() {
|
|
54
54
|
var _a;
|
|
55
|
-
return (h("
|
|
55
|
+
return (h("div", { key: 'd1b82284e12ea68b7b33ba90a760ebcd0ec867e2', class: cls("db-notification", this.className), ref: (el) => {
|
|
56
56
|
this._ref = el;
|
|
57
|
-
}, id: this.id,
|
|
57
|
+
}, id: this.id, role: getNotificationRole({
|
|
58
|
+
semantic: this.semantic,
|
|
59
|
+
role: this.role,
|
|
60
|
+
ariaLive: this.ariaLive,
|
|
61
|
+
}), "aria-live": this.ariaLive, "data-semantic": this.semantic, "data-variant": this.variant, "data-icon": getBoolean(this.showIcon) !== false ? this.icon : undefined, "data-show-icon": getBooleanAsString(this.showIcon), "data-link-variant": this.linkVariant }, h("slot", { key: 'a468ad7c9373bc359e404751ab736b7049e5bbe8', name: "image" }), stringPropVisible(this.headline, this.showHeadline) ? (h("header", null, this.headline)) : null, h("p", { key: '95f58e30be3685db12507152d980f6e2909b557a' }, this.text ? this.text : h("slot", null)), stringPropVisible(this.timestamp, this.showTimestamp) ? (h("span", null, this.timestamp)) : null, h("slot", { key: 'd3c2d44714e5e332deae28d98ee800f8fb281f3f', name: "link" }), getBoolean(this.closeable, "closeable") ? (h("db-button", { icon: "cross", variant: "ghost", size: "small", id: this.closeButtonId, noText: true, onClick: (event) => this.handleClose(event) }, (_a = this.closeButtonText) !== null && _a !== void 0 ? _a : DEFAULT_CLOSE_BUTTON)) : null));
|
|
58
62
|
}
|
|
59
63
|
static get is() { return "db-notification"; }
|
|
60
64
|
static get properties() {
|
|
@@ -111,12 +115,12 @@ export class DBNotification {
|
|
|
111
115
|
"reflect": false,
|
|
112
116
|
"attribute": "classname"
|
|
113
117
|
},
|
|
114
|
-
"
|
|
118
|
+
"semantic": {
|
|
115
119
|
"type": "string",
|
|
116
120
|
"mutable": false,
|
|
117
121
|
"complexType": {
|
|
118
|
-
"original": "DBNotificationProps[\"
|
|
119
|
-
"resolved": "\"
|
|
122
|
+
"original": "DBNotificationProps[\"semantic\"]",
|
|
123
|
+
"resolved": "\"adaptive\" | \"critical\" | \"informational\" | \"neutral\" | \"successful\" | \"warning\"",
|
|
120
124
|
"references": {
|
|
121
125
|
"DBNotificationProps": {
|
|
122
126
|
"location": "import",
|
|
@@ -135,14 +139,14 @@ export class DBNotification {
|
|
|
135
139
|
"getter": false,
|
|
136
140
|
"setter": false,
|
|
137
141
|
"reflect": false,
|
|
138
|
-
"attribute": "
|
|
142
|
+
"attribute": "semantic"
|
|
139
143
|
},
|
|
140
|
-
"
|
|
144
|
+
"role": {
|
|
141
145
|
"type": "string",
|
|
142
146
|
"mutable": false,
|
|
143
147
|
"complexType": {
|
|
144
|
-
"original": "DBNotificationProps[\"
|
|
145
|
-
"resolved": "
|
|
148
|
+
"original": "DBNotificationProps[\"role\"]",
|
|
149
|
+
"resolved": "string",
|
|
146
150
|
"references": {
|
|
147
151
|
"DBNotificationProps": {
|
|
148
152
|
"location": "import",
|
|
@@ -161,7 +165,33 @@ export class DBNotification {
|
|
|
161
165
|
"getter": false,
|
|
162
166
|
"setter": false,
|
|
163
167
|
"reflect": false,
|
|
164
|
-
"attribute": "
|
|
168
|
+
"attribute": "role"
|
|
169
|
+
},
|
|
170
|
+
"ariaLive": {
|
|
171
|
+
"type": "string",
|
|
172
|
+
"mutable": false,
|
|
173
|
+
"complexType": {
|
|
174
|
+
"original": "DBNotificationProps[\"ariaLive\"]",
|
|
175
|
+
"resolved": "\"assertive\" | \"off\" | \"polite\"",
|
|
176
|
+
"references": {
|
|
177
|
+
"DBNotificationProps": {
|
|
178
|
+
"location": "import",
|
|
179
|
+
"path": "./model",
|
|
180
|
+
"id": "src/components/notification/model.ts::DBNotificationProps",
|
|
181
|
+
"referenceLocation": "DBNotificationProps"
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
},
|
|
185
|
+
"required": false,
|
|
186
|
+
"optional": false,
|
|
187
|
+
"docs": {
|
|
188
|
+
"tags": [],
|
|
189
|
+
"text": ""
|
|
190
|
+
},
|
|
191
|
+
"getter": false,
|
|
192
|
+
"setter": false,
|
|
193
|
+
"reflect": false,
|
|
194
|
+
"attribute": "aria-live"
|
|
165
195
|
},
|
|
166
196
|
"variant": {
|
|
167
197
|
"type": "string",
|
|
@@ -88,6 +88,17 @@ export class DBSelect {
|
|
|
88
88
|
var _a, _b;
|
|
89
89
|
return (_a = option.label) !== null && _a !== void 0 ? _a : (_b = option.value) === null || _b === void 0 ? void 0 : _b.toString();
|
|
90
90
|
}
|
|
91
|
+
shouldShowEmptyOption() {
|
|
92
|
+
const hasPlaceholderOrFloating = this.variant === "floating" || !!this.placeholder;
|
|
93
|
+
if (!hasPlaceholderOrFloating) {
|
|
94
|
+
return false;
|
|
95
|
+
}
|
|
96
|
+
if (this.showEmptyOption !== undefined) {
|
|
97
|
+
return this.showEmptyOption;
|
|
98
|
+
}
|
|
99
|
+
// Default: show empty option for non-required selects
|
|
100
|
+
return !this.required;
|
|
101
|
+
}
|
|
91
102
|
/**
|
|
92
103
|
* Passes `aria-*`, `data-*` & `class` attributes to correct child. Used in angular and stencil.
|
|
93
104
|
* @param element the ref for the component
|
|
@@ -205,14 +216,14 @@ export class DBSelect {
|
|
|
205
216
|
}
|
|
206
217
|
render() {
|
|
207
218
|
var _a, _b, _c, _d, _e;
|
|
208
|
-
return (h("div", { key: '
|
|
219
|
+
return (h("div", { key: '50e43dc0ffe52d1683df95a336201616975d7e22', class: cls("db-select", this.className), "data-variant": this.variant, "data-hide-label": getHideProp(this.showLabel), "data-hide-asterisk": getHideProp(this.showRequiredAsterisk), "data-icon": this.icon, "data-show-icon": getBooleanAsString(this.showIcon) }, h("label", { key: '5bbc909caa2c33aea4e4e2956d8bc133f939fd13', htmlFor: this._id }, (_a = this.label) !== null && _a !== void 0 ? _a : DEFAULT_LABEL), h("select", { key: 'b6ef5a4f622219ee38433f643959c7db039a67db', "aria-invalid": this.validation === "invalid", "data-custom-validity": this.validation, ref: (el) => {
|
|
209
220
|
this._ref = el;
|
|
210
221
|
}, required: getBoolean(this.required, "required"), disabled: getBoolean(this.disabled, "disabled"), id: this._id, name: this.name, size: this.size,
|
|
211
222
|
/* @ts-ignore */
|
|
212
|
-
value: (_b = this.value) !== null && _b !== void 0 ? _b : this._value, autocomplete: this.autocomplete, multiple: this.multiple, onInput: (event) => this.handleInput(event), onClick: (event) => this.handleClick(event), onChange: (event) => this.handleChange(event), onBlur: (event) => this.handleBlur(event), onFocus: (event) => this.handleFocus(event), "aria-describedby": (_c = this.ariaDescribedBy) !== null && _c !== void 0 ? _c : this._descByIds }, this.variant === "floating" || this.placeholder ? (h("option", { class: "placeholder", value: "" })) : null, ((_d = this.options) === null || _d === void 0 ? void 0 : _d.length) ? ((_e = this.options) === null || _e === void 0 ? void 0 : _e.map((option) => {
|
|
223
|
+
value: (_b = this.value) !== null && _b !== void 0 ? _b : this._value, autocomplete: this.autocomplete, multiple: this.multiple, onInput: (event) => this.handleInput(event), onClick: (event) => this.handleClick(event), onChange: (event) => this.handleChange(event), onBlur: (event) => this.handleBlur(event), onFocus: (event) => this.handleFocus(event), "aria-describedby": (_c = this.ariaDescribedBy) !== null && _c !== void 0 ? _c : this._descByIds }, this.variant === "floating" || !!this.placeholder ? (h("option", { class: "placeholder", value: "", "data-show-empty-option": getBooleanAsString(this.shouldShowEmptyOption()) })) : null, ((_d = this.options) === null || _d === void 0 ? void 0 : _d.length) ? ((_e = this.options) === null || _e === void 0 ? void 0 : _e.map((option) => {
|
|
213
224
|
var _a;
|
|
214
225
|
return (h(Fragment, null, option.options ? (h("optgroup", { label: this.getOptionLabel(option), key: undefined }, (_a = option.options) === null || _a === void 0 ? void 0 : _a.map((optgroupOption) => (h("option", { value: optgroupOption.value, selected: optgroupOption.selected, disabled: optgroupOption.disabled, key: undefined }, this.getOptionLabel(optgroupOption)))))) : (h("option", { value: option.value, disabled: option.disabled, selected: option.selected, key: undefined }, this.getOptionLabel(option)))));
|
|
215
|
-
})) : (h("slot", null))), this.placeholder ? (h("span", { class: "db-select-placeholder", id: this._placeholderId }, this.placeholder)) : null, stringPropVisible(this.message, this.showMessage) ? (h("db-infotext", { size: "small", icon: this.messageIcon, id: this._messageId }, this.message)) : null, this.hasValidState() ? (h("db-infotext", { size: "small", semantic: "successful", id: this._validMessageId }, this.validMessage || DEFAULT_VALID_MESSAGE)) : null, h("db-infotext", { key: '
|
|
226
|
+
})) : (h("slot", null))), this.placeholder ? (h("span", { class: "db-select-placeholder", id: this._placeholderId }, this.placeholder)) : null, stringPropVisible(this.message, this.showMessage) ? (h("db-infotext", { size: "small", icon: this.messageIcon, id: this._messageId }, this.message)) : null, this.hasValidState() ? (h("db-infotext", { size: "small", semantic: "successful", id: this._validMessageId }, this.validMessage || DEFAULT_VALID_MESSAGE)) : null, h("db-infotext", { key: '79703f10ff7c61b481e34e98ef2ad45133a3e2a4', size: "small", semantic: "critical", id: this._invalidMessageId }, this._invalidMessage), h("span", { key: 'e4667735054c370c14a954219060cc27b0a9007f', "data-visually-hidden": "true", role: "status" }, this._voiceOverFallback)));
|
|
216
227
|
}
|
|
217
228
|
static get is() { return "db-select"; }
|
|
218
229
|
static get properties() {
|
|
@@ -451,12 +462,12 @@ export class DBSelect {
|
|
|
451
462
|
"reflect": false,
|
|
452
463
|
"attribute": "required"
|
|
453
464
|
},
|
|
454
|
-
"
|
|
465
|
+
"variant": {
|
|
455
466
|
"type": "string",
|
|
456
467
|
"mutable": false,
|
|
457
468
|
"complexType": {
|
|
458
|
-
"original": "DBSelectProps[\"
|
|
459
|
-
"resolved": "
|
|
469
|
+
"original": "DBSelectProps[\"variant\"]",
|
|
470
|
+
"resolved": "\"above\" | \"floating\"",
|
|
460
471
|
"references": {
|
|
461
472
|
"DBSelectProps": {
|
|
462
473
|
"location": "import",
|
|
@@ -475,14 +486,40 @@ export class DBSelect {
|
|
|
475
486
|
"getter": false,
|
|
476
487
|
"setter": false,
|
|
477
488
|
"reflect": false,
|
|
478
|
-
"attribute": "
|
|
489
|
+
"attribute": "variant"
|
|
479
490
|
},
|
|
480
|
-
"
|
|
491
|
+
"showEmptyOption": {
|
|
492
|
+
"type": "boolean",
|
|
493
|
+
"mutable": false,
|
|
494
|
+
"complexType": {
|
|
495
|
+
"original": "DBSelectProps[\"showEmptyOption\"]",
|
|
496
|
+
"resolved": "boolean",
|
|
497
|
+
"references": {
|
|
498
|
+
"DBSelectProps": {
|
|
499
|
+
"location": "import",
|
|
500
|
+
"path": "./model",
|
|
501
|
+
"id": "src/components/select/model.ts::DBSelectProps",
|
|
502
|
+
"referenceLocation": "DBSelectProps"
|
|
503
|
+
}
|
|
504
|
+
}
|
|
505
|
+
},
|
|
506
|
+
"required": false,
|
|
507
|
+
"optional": false,
|
|
508
|
+
"docs": {
|
|
509
|
+
"tags": [],
|
|
510
|
+
"text": ""
|
|
511
|
+
},
|
|
512
|
+
"getter": false,
|
|
513
|
+
"setter": false,
|
|
514
|
+
"reflect": false,
|
|
515
|
+
"attribute": "show-empty-option"
|
|
516
|
+
},
|
|
517
|
+
"className": {
|
|
481
518
|
"type": "string",
|
|
482
519
|
"mutable": false,
|
|
483
520
|
"complexType": {
|
|
484
|
-
"original": "DBSelectProps[\"
|
|
485
|
-
"resolved": "
|
|
521
|
+
"original": "DBSelectProps[\"className\"]",
|
|
522
|
+
"resolved": "string",
|
|
486
523
|
"references": {
|
|
487
524
|
"DBSelectProps": {
|
|
488
525
|
"location": "import",
|
|
@@ -501,7 +538,7 @@ export class DBSelect {
|
|
|
501
538
|
"getter": false,
|
|
502
539
|
"setter": false,
|
|
503
540
|
"reflect": false,
|
|
504
|
-
"attribute": "
|
|
541
|
+
"attribute": "classname"
|
|
505
542
|
},
|
|
506
543
|
"showLabel": {
|
|
507
544
|
"type": "any",
|
|
@@ -141,3 +141,28 @@ export const getOptionKey = (option, prefix) => {
|
|
|
141
141
|
return `${prefix}${key}`;
|
|
142
142
|
};
|
|
143
143
|
export const isKeyboardEvent = (event) => event.key !== undefined;
|
|
144
|
+
/**
|
|
145
|
+
* Maps semantic values to appropriate ARIA roles for notifications
|
|
146
|
+
* @param semantic - The semantic type of the notification
|
|
147
|
+
* @param role - The aria role of the notification
|
|
148
|
+
* @param ariaLive - The aria-live of the notification
|
|
149
|
+
* @returns The appropriate ARIA role or undefined for default behavior
|
|
150
|
+
*/
|
|
151
|
+
export const getNotificationRole = ({ semantic, role, ariaLive }) => {
|
|
152
|
+
if (role) {
|
|
153
|
+
return role;
|
|
154
|
+
}
|
|
155
|
+
if (ariaLive) {
|
|
156
|
+
return 'article';
|
|
157
|
+
}
|
|
158
|
+
switch (semantic) {
|
|
159
|
+
case 'critical':
|
|
160
|
+
case 'warning':
|
|
161
|
+
return 'alert';
|
|
162
|
+
case 'informational':
|
|
163
|
+
case 'successful':
|
|
164
|
+
return 'status';
|
|
165
|
+
default:
|
|
166
|
+
return 'article';
|
|
167
|
+
}
|
|
168
|
+
};
|