@db-ux/wc-core-components 4.4.3 → 4.5.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.
Files changed (242) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/dist/cjs/db-accordion-item.cjs.entry.js +5 -4
  3. package/dist/cjs/db-accordion.cjs.entry.js +6 -6
  4. package/dist/cjs/db-badge.cjs.entry.js +5 -5
  5. package/dist/cjs/db-brand.cjs.entry.js +5 -5
  6. package/dist/cjs/db-button.cjs.entry.js +5 -5
  7. package/dist/cjs/db-card.cjs.entry.js +5 -4
  8. package/dist/cjs/db-checkbox.cjs.entry.js +53 -34
  9. package/dist/cjs/db-custom-button.cjs.entry.js +57 -0
  10. package/dist/cjs/db-custom-select-dropdown_5.cjs.entry.js +59 -37
  11. package/dist/cjs/db-custom-select-form-field.cjs.entry.js +5 -4
  12. package/dist/cjs/db-custom-select.cjs.entry.js +125 -106
  13. package/dist/cjs/db-divider.cjs.entry.js +5 -4
  14. package/dist/cjs/db-drawer.cjs.entry.js +6 -6
  15. package/dist/cjs/db-header.cjs.entry.js +5 -5
  16. package/dist/cjs/db-icon.cjs.entry.js +5 -4
  17. package/dist/cjs/db-infotext.cjs.entry.js +5 -5
  18. package/dist/cjs/db-link.cjs.entry.js +5 -5
  19. package/dist/cjs/db-navigation-item.cjs.entry.js +5 -5
  20. package/dist/cjs/db-navigation.cjs.entry.js +5 -4
  21. package/dist/cjs/db-notification.cjs.entry.js +6 -6
  22. package/dist/cjs/db-page.cjs.entry.js +5 -4
  23. package/dist/cjs/db-popover.cjs.entry.js +6 -6
  24. package/dist/cjs/db-radio.cjs.entry.js +33 -14
  25. package/dist/cjs/db-section.cjs.entry.js +5 -4
  26. package/dist/cjs/db-select.cjs.entry.js +48 -29
  27. package/dist/cjs/db-stack.cjs.entry.js +5 -4
  28. package/dist/cjs/db-switch.cjs.entry.js +58 -22
  29. package/dist/cjs/db-tab-item_3.cjs.entry.js +11 -9
  30. package/dist/cjs/db-tabs.cjs.entry.js +6 -6
  31. package/dist/cjs/db-textarea.cjs.entry.js +46 -27
  32. package/dist/cjs/db-tooltip.cjs.entry.js +16 -8
  33. package/dist/cjs/db-ux.cjs.js +3 -3
  34. package/dist/cjs/{document-click-listener-Bb3Tinb8.js → document-click-listener-B2-xKJv3.js} +1 -1
  35. package/dist/cjs/{document-scroll-listener-unypEU42.js → document-scroll-listener-ChQ7XZRk.js} +1 -1
  36. package/dist/cjs/{form-components-LsqVohyb.js → form-components-_ncB_U2D.js} +1 -1
  37. package/dist/cjs/{index-CsHqnQII.js → index-2_9ESkQu.js} +6 -7
  38. package/dist/cjs/{index-Bh5ovRL2.js → index-CSMPhlzz.js} +2 -2
  39. package/dist/cjs/index.cjs.js +3 -3
  40. package/dist/cjs/loader.cjs.js +2 -2
  41. package/dist/collection/collection-manifest.json +2 -1
  42. package/dist/collection/components/accordion/accordion.js +28 -4
  43. package/dist/collection/components/accordion-item/accordion-item.js +27 -2
  44. package/dist/collection/components/badge/badge.js +54 -4
  45. package/dist/collection/components/brand/brand.js +27 -3
  46. package/dist/collection/components/button/button.js +53 -3
  47. package/dist/collection/components/card/card.js +27 -2
  48. package/dist/collection/components/checkbox/checkbox.js +81 -38
  49. package/dist/collection/components/custom-button/custom-button.js +394 -0
  50. package/dist/collection/components/custom-button/index.js +2 -0
  51. package/dist/collection/components/custom-button/model.js +1 -0
  52. package/dist/collection/components/custom-select/custom-select.js +150 -107
  53. package/dist/collection/components/custom-select-dropdown/custom-select-dropdown.js +27 -2
  54. package/dist/collection/components/custom-select-form-field/custom-select-form-field.js +27 -2
  55. package/dist/collection/components/custom-select-list/custom-select-list.js +27 -2
  56. package/dist/collection/components/custom-select-list-item/custom-select-list-item.js +27 -2
  57. package/dist/collection/components/divider/divider.js +27 -2
  58. package/dist/collection/components/drawer/drawer.js +28 -4
  59. package/dist/collection/components/header/header.js +27 -3
  60. package/dist/collection/components/icon/icon.js +27 -2
  61. package/dist/collection/components/infotext/infotext.js +53 -3
  62. package/dist/collection/components/input/input.js +74 -31
  63. package/dist/collection/components/link/link.js +27 -3
  64. package/dist/collection/components/navigation/navigation.js +27 -2
  65. package/dist/collection/components/navigation-item/navigation-item.js +27 -3
  66. package/dist/collection/components/notification/notification.js +28 -4
  67. package/dist/collection/components/page/page.js +27 -2
  68. package/dist/collection/components/popover/popover.js +27 -3
  69. package/dist/collection/components/radio/radio.js +54 -11
  70. package/dist/collection/components/section/section.js +27 -2
  71. package/dist/collection/components/select/select.js +75 -32
  72. package/dist/collection/components/stack/stack.js +27 -2
  73. package/dist/collection/components/switch/switch.js +107 -45
  74. package/dist/collection/components/tab-item/tab-item.js +27 -3
  75. package/dist/collection/components/tab-list/tab-list.js +27 -2
  76. package/dist/collection/components/tab-panel/tab-panel.js +27 -2
  77. package/dist/collection/components/tabs/tabs.js +28 -4
  78. package/dist/collection/components/tag/tag.js +27 -3
  79. package/dist/collection/components/textarea/textarea.js +73 -30
  80. package/dist/collection/components/tooltip/tooltip.js +63 -5
  81. package/dist/collection/index.js +2 -0
  82. package/dist/collection/utils/index.js +6 -7
  83. package/dist/custom-elements.json +11169 -9175
  84. package/dist/db-ux/db-ux.esm.js +1 -1
  85. package/dist/db-ux/index.esm.js +1 -1
  86. package/dist/db-ux/p-00df7d53.entry.js +1 -0
  87. package/dist/db-ux/p-064ddad6.entry.js +1 -0
  88. package/dist/db-ux/p-0ff173fb.entry.js +1 -0
  89. package/dist/db-ux/p-1519dbbb.entry.js +1 -0
  90. package/dist/db-ux/p-16281dcb.entry.js +1 -0
  91. package/dist/db-ux/p-27eb6e88.entry.js +1 -0
  92. package/dist/db-ux/{p-f40d2d61.entry.js → p-2898ebe6.entry.js} +1 -1
  93. package/dist/db-ux/p-2e940d2e.entry.js +1 -0
  94. package/dist/db-ux/p-309259be.entry.js +1 -0
  95. package/dist/db-ux/p-4183b8e1.entry.js +1 -0
  96. package/dist/db-ux/p-4284c37f.entry.js +1 -0
  97. package/dist/db-ux/p-432ceb90.entry.js +1 -0
  98. package/dist/db-ux/p-503d5103.entry.js +1 -0
  99. package/dist/db-ux/p-6794144b.entry.js +1 -0
  100. package/dist/db-ux/p-6cb4232d.entry.js +1 -0
  101. package/dist/db-ux/p-6da70f61.entry.js +1 -0
  102. package/dist/db-ux/p-766057ea.entry.js +1 -0
  103. package/dist/db-ux/p-7a146dee.entry.js +1 -0
  104. package/dist/db-ux/p-7e274359.entry.js +1 -0
  105. package/dist/db-ux/p-Bs7RfNRP.js +2 -0
  106. package/dist/db-ux/p-CHLgQ9vn.js +1 -0
  107. package/dist/db-ux/{p-CAEpg8tJ.js → p-D5mInaY7.js} +1 -1
  108. package/dist/db-ux/p-D_roHmuC.js +1 -0
  109. package/dist/db-ux/{p-fcf8e274.entry.js → p-aad9c604.entry.js} +1 -1
  110. package/dist/db-ux/{p-5237e5d5.entry.js → p-ad3d2cff.entry.js} +1 -1
  111. package/dist/db-ux/p-b218b08b.entry.js +1 -0
  112. package/dist/db-ux/p-bfe27311.entry.js +1 -0
  113. package/dist/db-ux/p-c1cf7ea4.entry.js +1 -0
  114. package/dist/db-ux/p-cd8557dd.entry.js +1 -0
  115. package/dist/db-ux/p-d2674cff.entry.js +1 -0
  116. package/dist/db-ux/p-d4e79c33.entry.js +1 -0
  117. package/dist/db-ux/p-e19f2640.entry.js +1 -0
  118. package/dist/db-ux/p-e3def528.entry.js +1 -0
  119. package/dist/db-ux/p-e6b17374.entry.js +1 -0
  120. package/dist/db-ux/{p-64264628.entry.js → p-ea7219af.entry.js} +1 -1
  121. package/dist/db-ux/p-xkoBSP8R.js +1 -0
  122. package/dist/esm/db-accordion-item.entry.js +5 -4
  123. package/dist/esm/db-accordion.entry.js +6 -6
  124. package/dist/esm/db-badge.entry.js +5 -5
  125. package/dist/esm/db-brand.entry.js +5 -5
  126. package/dist/esm/db-button.entry.js +5 -5
  127. package/dist/esm/db-card.entry.js +5 -4
  128. package/dist/esm/db-checkbox.entry.js +54 -35
  129. package/dist/esm/db-custom-button.entry.js +55 -0
  130. package/dist/esm/db-custom-select-dropdown_5.entry.js +60 -38
  131. package/dist/esm/db-custom-select-form-field.entry.js +5 -4
  132. package/dist/esm/db-custom-select.entry.js +126 -107
  133. package/dist/esm/db-divider.entry.js +5 -4
  134. package/dist/esm/db-drawer.entry.js +6 -6
  135. package/dist/esm/db-header.entry.js +5 -5
  136. package/dist/esm/db-icon.entry.js +5 -4
  137. package/dist/esm/db-infotext.entry.js +5 -5
  138. package/dist/esm/db-link.entry.js +5 -5
  139. package/dist/esm/db-navigation-item.entry.js +5 -5
  140. package/dist/esm/db-navigation.entry.js +5 -4
  141. package/dist/esm/db-notification.entry.js +6 -6
  142. package/dist/esm/db-page.entry.js +5 -4
  143. package/dist/esm/db-popover.entry.js +6 -6
  144. package/dist/esm/db-radio.entry.js +33 -14
  145. package/dist/esm/db-section.entry.js +5 -4
  146. package/dist/esm/db-select.entry.js +49 -30
  147. package/dist/esm/db-stack.entry.js +5 -4
  148. package/dist/esm/db-switch.entry.js +58 -22
  149. package/dist/esm/db-tab-item_3.entry.js +11 -9
  150. package/dist/esm/db-tabs.entry.js +6 -6
  151. package/dist/esm/db-textarea.entry.js +47 -28
  152. package/dist/esm/db-tooltip.entry.js +16 -8
  153. package/dist/esm/db-ux.js +4 -4
  154. package/dist/esm/{document-click-listener-CmYoXpGE.js → document-click-listener-D7W_VE5O.js} +1 -1
  155. package/dist/esm/{document-scroll-listener-65bHuFAN.js → document-scroll-listener-DOBe3Oa9.js} +1 -1
  156. package/dist/esm/{form-components-BLsiOrPI.js → form-components-D6LQfJvq.js} +1 -1
  157. package/dist/esm/{index-Crtu1dn6.js → index-Bs7RfNRP.js} +2 -2
  158. package/dist/esm/{index-C4x0SOcx.js → index-xkoBSP8R.js} +6 -7
  159. package/dist/esm/index.js +3 -3
  160. package/dist/esm/loader.js +3 -3
  161. package/dist/types/components/accordion/accordion.d.ts +1 -0
  162. package/dist/types/components/accordion-item/accordion-item.d.ts +1 -0
  163. package/dist/types/components/badge/badge.d.ts +2 -0
  164. package/dist/types/components/badge/model.d.ts +2 -2
  165. package/dist/types/components/brand/brand.d.ts +1 -0
  166. package/dist/types/components/button/button.d.ts +2 -0
  167. package/dist/types/components/button/model.d.ts +8 -10
  168. package/dist/types/components/card/card.d.ts +1 -0
  169. package/dist/types/components/checkbox/checkbox.d.ts +5 -1
  170. package/dist/types/components/custom-button/custom-button.d.ts +29 -0
  171. package/dist/types/components/custom-button/index.d.ts +2 -0
  172. package/dist/types/components/custom-button/model.d.ts +6 -0
  173. package/dist/types/components/custom-select/custom-select.d.ts +5 -1
  174. package/dist/types/components/custom-select-dropdown/custom-select-dropdown.d.ts +1 -0
  175. package/dist/types/components/custom-select-form-field/custom-select-form-field.d.ts +1 -0
  176. package/dist/types/components/custom-select-list/custom-select-list.d.ts +1 -0
  177. package/dist/types/components/custom-select-list-item/custom-select-list-item.d.ts +1 -0
  178. package/dist/types/components/divider/divider.d.ts +1 -0
  179. package/dist/types/components/drawer/drawer.d.ts +1 -0
  180. package/dist/types/components/header/header.d.ts +1 -0
  181. package/dist/types/components/icon/icon.d.ts +1 -0
  182. package/dist/types/components/infotext/infotext.d.ts +2 -0
  183. package/dist/types/components/infotext/model.d.ts +2 -2
  184. package/dist/types/components/input/input.d.ts +5 -1
  185. package/dist/types/components/link/link.d.ts +1 -0
  186. package/dist/types/components/navigation/navigation.d.ts +1 -0
  187. package/dist/types/components/navigation-item/navigation-item.d.ts +1 -0
  188. package/dist/types/components/notification/model.d.ts +2 -2
  189. package/dist/types/components/notification/notification.d.ts +1 -0
  190. package/dist/types/components/page/page.d.ts +1 -0
  191. package/dist/types/components/popover/popover.d.ts +1 -0
  192. package/dist/types/components/radio/radio.d.ts +4 -0
  193. package/dist/types/components/section/section.d.ts +1 -0
  194. package/dist/types/components/select/select.d.ts +5 -1
  195. package/dist/types/components/stack/stack.d.ts +1 -0
  196. package/dist/types/components/switch/switch.d.ts +7 -1
  197. package/dist/types/components/tab-item/tab-item.d.ts +1 -0
  198. package/dist/types/components/tab-list/tab-list.d.ts +1 -0
  199. package/dist/types/components/tab-panel/tab-panel.d.ts +1 -0
  200. package/dist/types/components/tabs/tabs.d.ts +1 -0
  201. package/dist/types/components/tag/model.d.ts +2 -6
  202. package/dist/types/components/tag/tag.d.ts +1 -0
  203. package/dist/types/components/textarea/textarea.d.ts +5 -1
  204. package/dist/types/components/tooltip/model.d.ts +3 -3
  205. package/dist/types/components/tooltip/tooltip.d.ts +3 -0
  206. package/dist/types/components.d.ts +145 -6
  207. package/dist/types/index.d.ts +2 -0
  208. package/dist/types/shared/model.d.ts +15 -1
  209. package/dist/types/stencil-public-runtime.d.ts +3 -1
  210. package/dist/vscode.html-custom-data.json +322 -10
  211. package/dist/web-types.json +600 -23
  212. package/package.json +4 -4
  213. package/dist/db-ux/p-1a72176e.entry.js +0 -1
  214. package/dist/db-ux/p-1b7f6a0b.entry.js +0 -1
  215. package/dist/db-ux/p-1da21066.entry.js +0 -1
  216. package/dist/db-ux/p-2d15e200.entry.js +0 -1
  217. package/dist/db-ux/p-312d52da.entry.js +0 -1
  218. package/dist/db-ux/p-3e6b86d6.entry.js +0 -1
  219. package/dist/db-ux/p-4aa16916.entry.js +0 -1
  220. package/dist/db-ux/p-4b69acea.entry.js +0 -1
  221. package/dist/db-ux/p-4cfff250.entry.js +0 -1
  222. package/dist/db-ux/p-5b1a0f0f.entry.js +0 -1
  223. package/dist/db-ux/p-5fa85b19.entry.js +0 -1
  224. package/dist/db-ux/p-7351b5ab.entry.js +0 -1
  225. package/dist/db-ux/p-77150a25.entry.js +0 -1
  226. package/dist/db-ux/p-7c6b7578.entry.js +0 -1
  227. package/dist/db-ux/p-828a77d8.entry.js +0 -1
  228. package/dist/db-ux/p-9b47dc80.entry.js +0 -1
  229. package/dist/db-ux/p-BhXdfCpU.js +0 -1
  230. package/dist/db-ux/p-C4x0SOcx.js +0 -1
  231. package/dist/db-ux/p-Crtu1dn6.js +0 -2
  232. package/dist/db-ux/p-RHqkTr-_.js +0 -1
  233. package/dist/db-ux/p-a3a8ce36.entry.js +0 -1
  234. package/dist/db-ux/p-aa0f7280.entry.js +0 -1
  235. package/dist/db-ux/p-b07122c4.entry.js +0 -1
  236. package/dist/db-ux/p-b1fc0f4c.entry.js +0 -1
  237. package/dist/db-ux/p-c2624e1b.entry.js +0 -1
  238. package/dist/db-ux/p-c29d8e32.entry.js +0 -1
  239. package/dist/db-ux/p-cf50169a.entry.js +0 -1
  240. package/dist/db-ux/p-d4f3cfa2.entry.js +0 -1
  241. package/dist/db-ux/p-e05fee5a.entry.js +0 -1
  242. package/dist/db-ux/p-fe06f815.entry.js +0 -1
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-Bh5ovRL2.js');
4
- var index$1 = require('./index-CsHqnQII.js');
3
+ var index = require('./index-CSMPhlzz.js');
4
+ var index$1 = require('./index-2_9ESkQu.js');
5
5
 
6
6
  const DBCustomSelectFormField = class {
7
7
  constructor(hostRef) {
@@ -47,9 +47,10 @@ const DBCustomSelectFormField = class {
47
47
  this.enableAttributePassing(this._ref, "db-custom-select-form-field");
48
48
  }
49
49
  render() {
50
- return (index.h("summary", { key: '4ade22e5e7d664747ba44a25cea8778ee76de2c0', class: index$1.cls("db-custom-select-form-field", this.className), ref: (el) => {
50
+ var _a, _b;
51
+ return (index.h("summary", { key: '6bd88cd88890b6c4fd6fc231dbce401ae0a1b72e', class: index$1.cls("db-custom-select-form-field", this.className), ref: (el) => {
51
52
  this._ref = el;
52
- }, id: this.id }, index.h("slot", { key: '457f965d451fcd6e03199b4273a2e0ebb6b85bb1' })));
53
+ }, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id }, index.h("slot", { key: '3cf997efe556cbf62f590adad219b60459549cc8' })));
53
54
  }
54
55
  };
55
56
 
@@ -1,12 +1,12 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-Bh5ovRL2.js');
3
+ var index = require('./index-CSMPhlzz.js');
4
4
  var constants = require('./constants-bMY2_d8A.js');
5
- var index$1 = require('./index-CsHqnQII.js');
6
- var documentClickListener = require('./document-click-listener-Bb3Tinb8.js');
7
- var documentScrollListener = require('./document-scroll-listener-unypEU42.js');
5
+ var index$1 = require('./index-2_9ESkQu.js');
6
+ var documentClickListener = require('./document-click-listener-B2-xKJv3.js');
7
+ var documentScrollListener = require('./document-scroll-listener-ChQ7XZRk.js');
8
8
  var floatingComponents = require('./floating-components-pYaTeNhp.js');
9
- var formComponents = require('./form-components-LsqVohyb.js');
9
+ var formComponents = require('./form-components-_ncB_U2D.js');
10
10
 
11
11
  const DBCustomSelect = class {
12
12
  constructor(hostRef) {
@@ -468,6 +468,20 @@ const DBCustomSelect = class {
468
468
  (_a = this.detailsRef.querySelector("summary")) === null || _a === void 0 ? void 0 : _a.focus();
469
469
  }
470
470
  }
471
+ resetIds() {
472
+ var _a, _b, _c;
473
+ const mId = (_c = (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id) !== null && _c !== void 0 ? _c : `custom-select-${index$1.uuid()}`;
474
+ this._id = mId;
475
+ this._messageId = mId + constants.DEFAULT_MESSAGE_ID_SUFFIX;
476
+ this._validMessageId = mId + constants.DEFAULT_VALID_MESSAGE_ID_SUFFIX;
477
+ this._invalidMessageId = mId + constants.DEFAULT_INVALID_MESSAGE_ID_SUFFIX;
478
+ this._selectId = mId + constants.DEFAULT_SELECT_ID_SUFFIX;
479
+ this._labelId = mId + constants.DEFAULT_LABEL_ID_SUFFIX;
480
+ this._summaryId = mId + "-summary";
481
+ this._placeholderId = mId + constants.DEFAULT_PLACEHOLDER_ID_SUFFIX;
482
+ this._selectedLabelsId = mId + "-selected-labels";
483
+ this._infoTextId = mId + "-info";
484
+ }
471
485
  /**
472
486
  * Passes `aria-*`, `data-*` & `class` attributes to correct child. Used in angular and stencil.
473
487
  * @param element the ref for the component
@@ -505,14 +519,23 @@ const DBCustomSelect = class {
505
519
  }
506
520
  }
507
521
  watch0Fn() {
508
- if (this.detailsRef) {
509
- this.detailsRef.addEventListener("focusout", (event) => this.handleClose(event));
522
+ var _a, _b;
523
+ if ((_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id) {
524
+ this.resetIds();
510
525
  }
511
526
  }
512
527
  watch0() {
513
528
  this.watch0Fn();
514
529
  }
515
530
  watch1Fn() {
531
+ if (this.detailsRef) {
532
+ this.detailsRef.addEventListener("focusout", (event) => this.handleClose(event));
533
+ }
534
+ }
535
+ watch1() {
536
+ this.watch1Fn();
537
+ }
538
+ watch2Fn() {
516
539
  if (this._id) {
517
540
  const messageId = this._id + constants.DEFAULT_MESSAGE_ID_SUFFIX;
518
541
  this._labelId = this._id + constants.DEFAULT_LABEL_ID_SUFFIX;
@@ -528,10 +551,10 @@ const DBCustomSelect = class {
528
551
  }
529
552
  }
530
553
  }
531
- watch1() {
532
- this.watch1Fn();
554
+ watch2() {
555
+ this.watch2Fn();
533
556
  }
534
- watch2Fn() {
557
+ watch3Fn() {
535
558
  var _a;
536
559
  if (this.detailsRef) {
537
560
  const summary = this.detailsRef.querySelector("summary");
@@ -540,10 +563,10 @@ const DBCustomSelect = class {
540
563
  }
541
564
  }
542
565
  }
543
- watch2() {
544
- this.watch2Fn();
566
+ watch3() {
567
+ this.watch3Fn();
545
568
  }
546
- watch3Fn() {
569
+ watch4Fn() {
547
570
  if (this.showNoResults !== undefined) {
548
571
  this._hasNoOptions = this.showNoResults;
549
572
  }
@@ -551,24 +574,24 @@ const DBCustomSelect = class {
551
574
  this._hasNoOptions = this._options.length === 0;
552
575
  }
553
576
  }
554
- watch3() {
555
- this.watch3Fn();
556
- }
557
- watch4Fn() {
558
- var _a;
559
- this.selectAllEnabled = Boolean(this.multiple && ((_a = this.showSelectAll) !== null && _a !== void 0 ? _a : this.amountOptions > 5));
560
- }
561
577
  watch4() {
562
578
  this.watch4Fn();
563
579
  }
564
580
  watch5Fn() {
565
581
  var _a;
566
- this.searchEnabled = (_a = this.showSearch) !== null && _a !== void 0 ? _a : this.amountOptions > 9;
582
+ this.selectAllEnabled = Boolean(this.multiple && ((_a = this.showSelectAll) !== null && _a !== void 0 ? _a : this.amountOptions > 5));
567
583
  }
568
584
  watch5() {
569
585
  this.watch5Fn();
570
586
  }
571
587
  watch6Fn() {
588
+ var _a;
589
+ this.searchEnabled = (_a = this.showSearch) !== null && _a !== void 0 ? _a : this.amountOptions > 9;
590
+ }
591
+ watch6() {
592
+ this.watch6Fn();
593
+ }
594
+ watch7Fn() {
572
595
  var _a;
573
596
  const v = this.values;
574
597
  if (Array.isArray(v)) {
@@ -580,18 +603,18 @@ const DBCustomSelect = class {
580
603
  this._values = [];
581
604
  }
582
605
  }
583
- watch6() {
584
- this.watch6Fn();
606
+ watch7() {
607
+ this.watch7Fn();
585
608
  }
586
- watch7Fn() {
609
+ watch8Fn() {
587
610
  if (this.selectRef) {
588
611
  this.handleValidation();
589
612
  }
590
613
  }
591
- watch7() {
592
- this.watch7Fn();
614
+ watch8() {
615
+ this.watch8Fn();
593
616
  }
594
- watch8Fn() {
617
+ watch9Fn() {
595
618
  if (this.selectRef) {
596
619
  let controller = this.abortController;
597
620
  if (!controller) {
@@ -610,16 +633,16 @@ const DBCustomSelect = class {
610
633
  }, controller.signal);
611
634
  }
612
635
  }
613
- watch8() {
614
- this.watch8Fn();
615
- }
616
- watch9Fn() {
617
- this._validity = this.validation;
618
- }
619
636
  watch9() {
620
637
  this.watch9Fn();
621
638
  }
622
639
  watch10Fn() {
640
+ this._validity = this.validation;
641
+ }
642
+ watch10() {
643
+ this.watch10Fn();
644
+ }
645
+ watch11Fn() {
623
646
  var _a, _b;
624
647
  if (((_a = this._values) === null || _a === void 0 ? void 0 : _a.length) === 0) {
625
648
  this.selectAllChecked = false;
@@ -633,29 +656,29 @@ const DBCustomSelect = class {
633
656
  this.selectAllIndeterminate = true;
634
657
  }
635
658
  }
636
- watch10() {
637
- this.watch10Fn();
659
+ watch11() {
660
+ this.watch11Fn();
638
661
  }
639
- watch11Fn() {
662
+ watch12Fn() {
640
663
  var _a, _b;
641
664
  this._options = this.options;
642
665
  this.amountOptions =
643
666
  (_b = (_a = this.options) === null || _a === void 0 ? void 0 : _a.filter((option) => !option.isGroupTitle).length) !== null && _b !== void 0 ? _b : 0;
644
667
  }
645
- watch11() {
646
- this.watch11Fn();
668
+ watch12() {
669
+ this.watch12Fn();
647
670
  }
648
- watch12Fn() {
671
+ watch13Fn() {
649
672
  this._searchValue = this.searchValue;
650
673
  if (this.searchValue) {
651
674
  const sValue = this.searchValue; // <- workaround for Angular
652
675
  this.handleSearch(sValue);
653
676
  }
654
677
  }
655
- watch12() {
656
- this.watch12Fn();
678
+ watch13() {
679
+ this.watch13Fn();
657
680
  }
658
- watch13Fn() {
681
+ watch14Fn() {
659
682
  var _a, _b;
660
683
  if ((_a = this.options) === null || _a === void 0 ? void 0 : _a.length) {
661
684
  this._selectedOptions = (_b = this.options) === null || _b === void 0 ? void 0 : _b.filter((option) => {
@@ -667,10 +690,10 @@ const DBCustomSelect = class {
667
690
  });
668
691
  }
669
692
  }
670
- watch13() {
671
- this.watch13Fn();
693
+ watch14() {
694
+ this.watch14Fn();
672
695
  }
673
- watch14Fn() {
696
+ watch15Fn() {
674
697
  var _a, _b, _c;
675
698
  if (this.selectedLabels) {
676
699
  this._selectedLabels = this.selectedLabels;
@@ -697,50 +720,39 @@ const DBCustomSelect = class {
697
720
  this._selectedLabels = "";
698
721
  }
699
722
  }
700
- watch14() {
701
- this.watch14Fn();
723
+ watch15() {
724
+ this.watch15Fn();
702
725
  }
703
- watch15Fn() {
726
+ watch16Fn() {
704
727
  var _a, _b;
705
728
  if (this.amountChange) {
706
729
  this.amountChange.emit((_b = (_a = this._selectedOptions) === null || _a === void 0 ? void 0 : _a.length) !== null && _b !== void 0 ? _b : 0);
707
730
  }
708
731
  }
709
- watch15() {
710
- this.watch15Fn();
732
+ watch16() {
733
+ this.watch16Fn();
711
734
  }
712
- watch16Fn() {
735
+ watch17Fn() {
713
736
  if (this.selectAllRef) {
714
737
  this.selectAllRef.indeterminate = Boolean(this.selectAllIndeterminate);
715
738
  }
716
739
  }
717
- watch16() {
718
- this.watch16Fn();
740
+ watch17() {
741
+ this.watch17Fn();
719
742
  }
720
- watch17Fn() {
743
+ watch18Fn() {
721
744
  var _a;
722
745
  this._invalidMessage =
723
746
  this.invalidMessage ||
724
747
  ((_a = this.selectRef) === null || _a === void 0 ? void 0 : _a.validationMessage) ||
725
748
  constants.DEFAULT_INVALID_MESSAGE;
726
749
  }
727
- watch17() {
728
- this.watch17Fn();
750
+ watch18() {
751
+ this.watch18Fn();
729
752
  }
730
753
  componentDidLoad() {
731
- var _a;
732
754
  this.enableAttributePassing(this._ref, "db-custom-select");
733
- const mId = (_a = this.id) !== null && _a !== void 0 ? _a : `custom-select-${index$1.uuid()}`;
734
- this._id = mId;
735
- this._messageId = mId + constants.DEFAULT_MESSAGE_ID_SUFFIX;
736
- this._validMessageId = mId + constants.DEFAULT_VALID_MESSAGE_ID_SUFFIX;
737
- this._invalidMessageId = mId + constants.DEFAULT_INVALID_MESSAGE_ID_SUFFIX;
738
- this._selectId = mId + constants.DEFAULT_SELECT_ID_SUFFIX;
739
- this._labelId = mId + constants.DEFAULT_LABEL_ID_SUFFIX;
740
- this._summaryId = mId + "-summary";
741
- this._placeholderId = mId + constants.DEFAULT_PLACEHOLDER_ID_SUFFIX;
742
- this._selectedLabelsId = mId + "-selected-labels";
743
- this._infoTextId = mId + "-info";
755
+ this.resetIds();
744
756
  this._invalidMessage = this.invalidMessage || constants.DEFAULT_INVALID_MESSAGE;
745
757
  if (typeof window !== "undefined" && "IntersectionObserver" in window) {
746
758
  this._observer = new IntersectionObserver((payload) => {
@@ -770,6 +782,7 @@ const DBCustomSelect = class {
770
782
  this.watch15Fn();
771
783
  this.watch16Fn();
772
784
  this.watch17Fn();
785
+ this.watch18Fn();
773
786
  }
774
787
  disconnectedCallback() {
775
788
  var _a;
@@ -777,19 +790,19 @@ const DBCustomSelect = class {
777
790
  }
778
791
  render() {
779
792
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
780
- return (index.h("div", { key: 'bb7f2bd039a1d7f97bca1408e4c462c029963128', class: index$1.cls("db-custom-select", this.className), id: this._id, ref: (el) => {
793
+ return (index.h("div", { key: 'b91607a57b2311a81c3087827207ddc78017e581', class: index$1.cls("db-custom-select", this.className), id: this._id, ref: (el) => {
781
794
  this._ref = el;
782
795
  }, "aria-invalid": this._validity === "invalid", "data-custom-validity": this._validity, "data-width": this.formFieldWidth, "data-variant": this.variant === "floating" &&
783
796
  this.selectedType === "tag" &&
784
797
  this.multiple
785
798
  ? "above"
786
- : this.variant, "data-required": index$1.getBooleanAsString(this.required), "data-hide-asterisk": index$1.getHideProp(this.showRequiredAsterisk), "data-placement": this.placement, "data-selected-type": this.multiple ? this.selectedType : "text", "data-hide-label": index$1.getHideProp(this.showLabel), "data-icon": this.icon, "data-show-icon": index$1.getBooleanAsString(this.showIcon) }, index.h("label", { key: 'cf9b29fb5c955bd22928803a491d7a76463c1c42', id: this._labelId }, (_a = this.label) !== null && _a !== void 0 ? _a : constants.DEFAULT_LABEL, index.h("select", { key: 'ab1c6f7adafe07b6d91cb12abb058e41faa27c82', role: "none", hidden: true, id: this._selectId, tabIndex: -1, ref: (el) => {
799
+ : this.variant, "data-required": index$1.getBooleanAsString(this.required), "data-hide-asterisk": index$1.getHideProp(this.showRequiredAsterisk), "data-placement": this.placement, "data-selected-type": this.multiple ? this.selectedType : "text", "data-hide-label": index$1.getHideProp(this.showLabel), "data-icon": this.icon, "data-show-icon": index$1.getBooleanAsString(this.showIcon) }, index.h("label", { key: '1abe98ce69510bc1e71ced37cf8fc922d968fca0', id: this._labelId }, (_a = this.label) !== null && _a !== void 0 ? _a : constants.DEFAULT_LABEL, index.h("select", { key: '534fcf99cb27580f11593299093aa75c9708601c', role: "none", hidden: true, id: this._selectId, tabIndex: -1, ref: (el) => {
787
800
  this.selectRef = el;
788
801
  }, form: this.form, name: this.name, "data-custom-validity": this._validity, multiple: index$1.getBoolean(this.multiple, "multiple"), disabled: index$1.getBoolean(this.disabled, "disabled"), required: index$1.getBoolean(this.required, "required"), onChange: (event) => this.satisfyReact(event) }, ((_b = this.options) === null || _b === void 0 ? void 0 : _b.length)
789
802
  ? (_c = this.options) === null || _c === void 0 ? void 0 : _c.map((option) => (index.h("option", { disabled: option.disabled, value: option.value, key: undefined }, this.getOptionLabel(option))))
790
- : null)), index.h("details", { key: 'ba829c0fb72fe74896a927f06cb9f8005621524b', ref: (el) => {
803
+ : null)), index.h("details", { key: '730b070010af8bf456e9dc23b0c63bce2cf87669', ref: (el) => {
791
804
  this.detailsRef = el;
792
- }, open: this.open, onToggle: (event) => this.handleDropdownToggle(event), onKeyDown: (event) => this.handleKeyboardPress(event) }, index.h("slot", { key: '90e00cda7265025b8299ff92bfac46f2f242c899' }), this.options ? (index.h(index.Fragment, null, index.h("summary", { class: "db-custom-select-form-field", id: this._summaryId, "aria-disabled": index$1.getBooleanAsString(this.disabled), tabIndex: this.disabled ? -1 : undefined, "aria-labelledby": this._labelId }, ((_d = this._selectedLabels) === null || _d === void 0 ? void 0 : _d.length) ? (index.h("span", { "data-visually-hidden": index$1.getBooleanAsString(this.selectedType === "tag"), id: this._selectedLabelsId }, this.selectedPrefix ? (index.h("span", { "data-visually-hidden": "true" }, this.selectedPrefix)) : null, this._selectedLabels)) : null, this.selectedType === "tag" ? (index.h("div", null, (_e = this._selectedOptions) === null || _e === void 0 ? void 0 : _e.map((option, index$1) => (index.h("db-tag", { emphasis: "strong", behavior: "removable", removeButton: this.getTagRemoveLabel(option), onRemove: (event) => this.handleTagRemove(option, event), key: undefined }, this.getOptionLabel(option)))))) : null), index.h("db-custom-select-dropdown", { width: this.dropdownWidth }, this.searchEnabled ? (index.h("div", null, index.h("db-input", { type: "search", ref: (el) => {
805
+ }, open: this.open, onToggle: (event) => this.handleDropdownToggle(event), onKeyDown: (event) => this.handleKeyboardPress(event) }, index.h("slot", { key: '8bac2e843b1c288af5b6bbe9272b4a72acaeb698' }), this.options ? (index.h(index.Fragment, null, index.h("summary", { class: "db-custom-select-form-field", id: this._summaryId, "aria-disabled": index$1.getBooleanAsString(this.disabled), tabIndex: this.disabled ? -1 : undefined, "aria-labelledby": this._labelId }, ((_d = this._selectedLabels) === null || _d === void 0 ? void 0 : _d.length) ? (index.h("span", { "data-visually-hidden": index$1.getBooleanAsString(this.selectedType === "tag"), id: this._selectedLabelsId }, this.selectedPrefix ? (index.h("span", { "data-visually-hidden": "true" }, this.selectedPrefix)) : null, this._selectedLabels)) : null, this.selectedType === "tag" ? (index.h("div", null, (_e = this._selectedOptions) === null || _e === void 0 ? void 0 : _e.map((option, index$1) => (index.h("db-tag", { emphasis: "strong", behavior: "removable", removeButton: this.getTagRemoveLabel(option), onRemove: (event) => this.handleTagRemove(option, event), key: undefined }, this.getOptionLabel(option)))))) : null), index.h("db-custom-select-dropdown", { width: this.dropdownWidth }, this.searchEnabled ? (index.h("div", null, index.h("db-input", { type: "search", ref: (el) => {
793
806
  this.searchInputRef = el;
794
807
  }, name: this._id, form: this._id, showLabel: false, value: this._searchValue, label: (_f = this.searchLabel) !== null && _f !== void 0 ? _f : constants.DEFAULT_LABEL, placeholder: (_g = this.searchPlaceholder) !== null && _g !== void 0 ? _g : this.searchLabel, ariaDescribedBy: this._hasNoOptions || this.showLoading
795
808
  ? this._infoTextId
@@ -799,98 +812,104 @@ const DBCustomSelect = class {
799
812
  this.selectAllRef = el;
800
813
  }, form: this._id, checked: this.selectAllChecked, onChange: (event) => this.handleSelectAll(event) }), this.getSelectAllLabel())))) : null, index.h("db-custom-select-list", { multiple: index$1.getBoolean(this.multiple, "multiple"), label: (_k = (_j = this.listLabel) !== null && _j !== void 0 ? _j : this.label) !== null && _k !== void 0 ? _k : constants.DEFAULT_LABEL }, (_l = this._options) === null || _l === void 0 ? void 0 : _l.map((option) => (index.h("db-custom-select-list-item", { type: this.multiple ? "checkbox" : "radio", showDivider: option.showDivider, icon: option.icon, isGroupTitle: option.isGroupTitle, groupTitle: this.getOptionLabel(option), name: this._id, checked: this.getOptionChecked(option.value), disabled: option.disabled, value: option.value, onChange: () => this.handleSelect(option.value), key: undefined }, !option.isGroupTitle
801
814
  ? this.getOptionLabel(option)
802
- : null)))))), index.h("div", null, index.h("db-button", { variant: "ghost", width: "full", icon: "cross", size: "small", name: this._id, form: this._id, onClick: () => this.handleClose(undefined, true) }, (_m = this.mobileCloseButtonText) !== null && _m !== void 0 ? _m : constants.DEFAULT_CLOSE_BUTTON))))) : null), ((_o = this.showClearSelection) !== null && _o !== void 0 ? _o : true) && ((_p = this._values) === null || _p === void 0 ? void 0 : _p.length) ? (index.h("db-button", { icon: "cross", variant: "ghost", size: "small", noText: true, name: this._id, form: this._id, disabled: index$1.getBoolean(this.disabled, "disabled"), onClick: (event) => this.handleClearAll(event) }, this.clearSelectionText, index.h("db-tooltip", { placement: "top" }, this.clearSelectionText))) : null, index.h("span", { key: '5cc4a48735e41b769c36e059d613f8c83b641ba1', class: "db-custom-select-placeholder", "aria-hidden": index$1.getBooleanAsString(true), id: this._placeholderId }, (_q = this.placeholder) !== null && _q !== void 0 ? _q : this.label), index$1.stringPropVisible(this.message, this.showMessage) ? (index.h("db-infotext", { size: "small", icon: this.messageIcon, id: this._messageId }, this.message)) : null, this.hasValidState() ? (index.h("db-infotext", { size: "small", semantic: "successful", id: this._validMessageId }, this.validMessage || constants.DEFAULT_VALID_MESSAGE)) : null, index.h("db-infotext", { key: 'ac47ebdaff258f7e19f2dbf447054369a919633c', size: "small", semantic: "critical", id: this._invalidMessageId }, this._invalidMessage), index.h("span", { key: 'c568834fa90ab614cad1dcdc4de89daf25df1ffb', "data-visually-hidden": "true", role: "status" }, this._voiceOverFallback)));
815
+ : null)))))), index.h("div", null, index.h("db-button", { variant: "ghost", width: "full", icon: "cross", size: "small", name: this._id, form: this._id, onClick: () => this.handleClose(undefined, true) }, (_m = this.mobileCloseButtonText) !== null && _m !== void 0 ? _m : constants.DEFAULT_CLOSE_BUTTON))))) : null), ((_o = this.showClearSelection) !== null && _o !== void 0 ? _o : true) && ((_p = this._values) === null || _p === void 0 ? void 0 : _p.length) ? (index.h("db-button", { icon: "cross", variant: "ghost", size: "small", noText: true, name: this._id, form: this._id, disabled: index$1.getBoolean(this.disabled, "disabled"), onClick: (event) => this.handleClearAll(event) }, this.clearSelectionText, index.h("db-tooltip", { placement: "top" }, this.clearSelectionText))) : null, index.h("span", { key: '18799430248251a8e5549f2b28905e2e2e5b27cb', class: "db-custom-select-placeholder", "aria-hidden": index$1.getBooleanAsString(true), id: this._placeholderId }, (_q = this.placeholder) !== null && _q !== void 0 ? _q : this.label), index$1.stringPropVisible(this.message, this.showMessage) ? (index.h("db-infotext", { size: "small", icon: this.messageIcon, id: this._messageId }, this.message)) : null, this.hasValidState() ? (index.h("db-infotext", { size: "small", semantic: "successful", id: this._validMessageId }, this.validMessage || constants.DEFAULT_VALID_MESSAGE)) : null, index.h("db-infotext", { key: '834d926c52ed5296c8956315b49a973da100ba98', size: "small", semantic: "critical", id: this._invalidMessageId }, this._invalidMessage), index.h("span", { key: '02e9c61681ab8c13df57214ba7cdf3551eaeba4d', "data-visually-hidden": "true", role: "status" }, this._voiceOverFallback)));
803
816
  }
804
817
  static get watchers() { return {
805
- "detailsRef": [{
818
+ "id": [{
806
819
  "watch0": 0
820
+ }],
821
+ "propOverrides?.id": [{
822
+ "watch0": 0
823
+ }],
824
+ "detailsRef": [{
825
+ "watch1": 0
807
826
  }, {
808
- "watch2": 0
827
+ "watch3": 0
809
828
  }],
810
829
  "_id": [{
811
- "watch1": 0
830
+ "watch2": 0
812
831
  }],
813
832
  "_descByIds": [{
814
- "watch2": 0
833
+ "watch3": 0
815
834
  }],
816
835
  "showNoResults": [{
817
- "watch3": 0
836
+ "watch4": 0
818
837
  }],
819
838
  "showLoading": [{
820
- "watch3": 0
839
+ "watch4": 0
821
840
  }],
822
841
  "_options": [{
823
- "watch3": 0
842
+ "watch4": 0
824
843
  }],
825
844
  "showSelectAll": [{
826
- "watch4": 0
845
+ "watch5": 0
827
846
  }],
828
847
  "amountOptions": [{
829
- "watch4": 0
830
- }, {
831
848
  "watch5": 0
832
849
  }, {
833
- "watch10": 0
850
+ "watch6": 0
851
+ }, {
852
+ "watch11": 0
834
853
  }],
835
854
  "multiple": [{
836
- "watch4": 0
855
+ "watch5": 0
837
856
  }],
838
857
  "showSearch": [{
839
- "watch5": 0
858
+ "watch6": 0
840
859
  }],
841
860
  "values": [{
842
- "watch6": 0
861
+ "watch7": 0
843
862
  }],
844
863
  "_values": [{
845
- "watch7": 0
864
+ "watch8": 0
846
865
  }, {
847
- "watch10": 0
866
+ "watch11": 0
848
867
  }, {
849
- "watch13": 0
868
+ "watch14": 0
850
869
  }],
851
870
  "selectRef": [{
852
- "watch7": 0
853
- }, {
854
871
  "watch8": 0
855
872
  }, {
856
- "watch17": 0
873
+ "watch9": 0
874
+ }, {
875
+ "watch18": 0
857
876
  }],
858
877
  "validation": [{
859
- "watch9": 0
878
+ "watch10": 0
860
879
  }],
861
880
  "options": [{
862
- "watch11": 0
881
+ "watch12": 0
863
882
  }, {
864
- "watch13": 0
883
+ "watch14": 0
865
884
  }],
866
885
  "searchValue": [{
867
- "watch12": 0
886
+ "watch13": 0
868
887
  }],
869
888
  "_selectedOptions": [{
870
- "watch14": 0
871
- }, {
872
889
  "watch15": 0
890
+ }, {
891
+ "watch16": 0
873
892
  }],
874
893
  "selectedType": [{
875
- "watch14": 0
894
+ "watch15": 0
876
895
  }],
877
896
  "amountText": [{
878
- "watch14": 0
897
+ "watch15": 0
879
898
  }],
880
899
  "selectedLabels": [{
881
- "watch14": 0
900
+ "watch15": 0
882
901
  }],
883
902
  "transformSelectedLabels": [{
884
- "watch14": 0
903
+ "watch15": 0
885
904
  }],
886
905
  "selectAllIndeterminate": [{
887
- "watch16": 0
906
+ "watch17": 0
888
907
  }],
889
908
  "selectAllRef": [{
890
- "watch16": 0
909
+ "watch17": 0
891
910
  }],
892
911
  "invalidMessage": [{
893
- "watch17": 0
912
+ "watch18": 0
894
913
  }]
895
914
  }; }
896
915
  };
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-Bh5ovRL2.js');
4
- var index$1 = require('./index-CsHqnQII.js');
3
+ var index = require('./index-CSMPhlzz.js');
4
+ var index$1 = require('./index-2_9ESkQu.js');
5
5
 
6
6
  const DBDivider = class {
7
7
  constructor(hostRef) {
@@ -47,9 +47,10 @@ const DBDivider = class {
47
47
  this.enableAttributePassing(this._ref, "db-divider");
48
48
  }
49
49
  render() {
50
- return (index.h("div", { key: '85afebbf444ffecdfbc4701e36c94c9a48080fc1', class: index$1.cls("db-divider", this.className), ref: (el) => {
50
+ var _a, _b;
51
+ return (index.h("div", { key: '6085ef73845be698561795af1a69cee864b31b7d', class: index$1.cls("db-divider", this.className), ref: (el) => {
51
52
  this._ref = el;
52
- }, id: this.id, "data-margin": this.margin, "data-variant": this.variant, "data-emphasis": this.emphasis, "data-width": this.width }));
53
+ }, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, "data-margin": this.margin, "data-variant": this.variant, "data-emphasis": this.emphasis, "data-width": this.width }));
53
54
  }
54
55
  };
55
56
 
@@ -1,8 +1,8 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-Bh5ovRL2.js');
3
+ var index = require('./index-CSMPhlzz.js');
4
4
  var constants = require('./constants-bMY2_d8A.js');
5
- var index$1 = require('./index-CsHqnQII.js');
5
+ var index$1 = require('./index-2_9ESkQu.js');
6
6
 
7
7
  const DBDrawer = class {
8
8
  constructor(hostRef) {
@@ -134,12 +134,12 @@ const DBDrawer = class {
134
134
  this.watch1Fn();
135
135
  }
136
136
  render() {
137
- var _a;
138
- return (index.h("dialog", { key: '571d8c77113ad08a76865dec43c20069cc558290', class: "db-drawer", id: this.id, ref: (el) => {
137
+ var _a, _b, _c;
138
+ return (index.h("dialog", { key: '4a002d3faba35e33b0ad6f37eb4c1bc8e1fcbe13', class: "db-drawer", id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, ref: (el) => {
139
139
  this._ref = el;
140
- }, onClick: (event) => this.handleClose(event), onKeyDown: (event) => this.handleClose(event), "data-position": this.position, "data-backdrop": this.backdrop, "data-direction": this.direction, "data-variant": this.variant }, index.h("article", { key: '6116282c0fb97d5c34a216c899b53c405116c326', class: index$1.cls("db-drawer-container", this.className), ref: (el) => {
140
+ }, onClick: (event) => this.handleClose(event), onKeyDown: (event) => this.handleClose(event), "data-position": this.position, "data-backdrop": this.backdrop, "data-direction": this.direction, "data-variant": this.variant }, index.h("article", { key: '644050fdd2392c907e6cc375ace9dcc4205f4b7f', class: index$1.cls("db-drawer-container", this.className), ref: (el) => {
141
141
  this.dialogContainerRef = el;
142
- }, "data-spacing": this.spacing, "data-width": this.width, "data-direction": this.direction, "data-rounded": index$1.getBooleanAsString(this.rounded) }, index.h("header", { key: '4e2300a258a0cea3141b8cca846fa5163c911caa', class: "db-drawer-header" }, index.h("div", { key: '659656f5fed1e68d21c44c9eaed5d91f634cf58f', class: "db-drawer-header-text" }, index.h("slot", { key: '51b540fa08c43a570e7a4cc49306a0a20af9c3be', name: "drawerHeader" })), index.h("db-button", { key: '88facb314b62e021c678b4298dfcd4daa20d58ed', class: "button-close-drawer", icon: "cross", variant: "ghost", id: this.closeButtonId, noText: true, onClick: (event) => this.handleClose(event, true) }, (_a = this.closeButtonText) !== null && _a !== void 0 ? _a : constants.DEFAULT_CLOSE_BUTTON)), index.h("div", { key: '439a1f0615d190b737d758d60cba5488ea72811b', class: "db-drawer-content" }, index.h("slot", { key: '80c97bcc8cfb09aa2ec65dae1285d5a48c242eea' })))));
142
+ }, "data-spacing": this.spacing, "data-width": this.width, "data-direction": this.direction, "data-rounded": index$1.getBooleanAsString(this.rounded) }, index.h("header", { key: 'f4dc3a298eafc6c45d2bdf459c90a58faf856925', class: "db-drawer-header" }, index.h("div", { key: '21d808fe191e85f15f7c2a1512ad461199494c6e', class: "db-drawer-header-text" }, index.h("slot", { key: '4962256732612a5d5f629540916874189bc0f0e0', name: "drawerHeader" })), index.h("db-button", { key: '494015c896edb8b246f7c734d8906182043cfaf6', class: "button-close-drawer", icon: "cross", variant: "ghost", id: this.closeButtonId, noText: true, onClick: (event) => this.handleClose(event, true) }, (_c = this.closeButtonText) !== null && _c !== void 0 ? _c : constants.DEFAULT_CLOSE_BUTTON)), index.h("div", { key: '00ffdb6c782d620e0ac6d7fdb41312c65c68b197', class: "db-drawer-content" }, index.h("slot", { key: 'edc0a393b10741fd41de513b3572b4ce7ce2cae3' })))));
143
143
  }
144
144
  static get watchers() { return {
145
145
  "open": [{
@@ -1,8 +1,8 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-Bh5ovRL2.js');
3
+ var index = require('./index-CSMPhlzz.js');
4
4
  var constants = require('./constants-bMY2_d8A.js');
5
- var index$1 = require('./index-CsHqnQII.js');
5
+ var index$1 = require('./index-2_9ESkQu.js');
6
6
  var navigation = require('./navigation-BztJmEHf.js');
7
7
  require('./floating-components-pYaTeNhp.js');
8
8
 
@@ -83,10 +83,10 @@ const DBHeader = class {
83
83
  this.watch0Fn();
84
84
  }
85
85
  render() {
86
- var _a;
87
- return (index.h("header", { key: '3ce812cf839f1f8c29b9bc05c6a840b58b13b51e', class: index$1.cls("db-header", this.className), ref: (el) => {
86
+ var _a, _b, _c;
87
+ return (index.h("header", { key: '472c3e72f6651ee5c09bc306cb46256782600379', class: index$1.cls("db-header", this.className), ref: (el) => {
88
88
  this._ref = el;
89
- }, id: this.id, "data-width": this.width, "data-on-forcing-mobile": this.forceMobile && !this.forcedToMobile }, index.h("db-drawer", { key: 'ad1ef3ed622f466d53e854f52df140580d8dcaf9', class: "db-header-drawer", spacing: "small", rounded: true, closeButtonId: this.closeButtonId, closeButtonText: this.closeButtonText, open: index$1.getBoolean(this.drawerOpen), onClose: () => this.handleToggle() }, index.h("div", { key: 'f15469dcbca82a805c94e8e775f4903bff148f0c', class: "db-header-drawer-navigation" }, index.h("div", { key: '4d661aa075944eb2d147cde8131b3da9bfcc1a71', class: "db-header-navigation", onClick: (event) => this.handleNavigationItemClick(event) }, index.h("slot", { key: '0867fadfd79434481679fd1e29d369b0da1f4f70' })), index.h("div", { key: '8135e33f5209b7eeff4f78ece25836fc03905113', class: "db-header-meta-navigation" }, index.h("slot", { key: '272b6fb534de9ebaf11ce0c15d9573f137bf9257', name: "metaNavigation" }))), index.h("div", { key: 'ff5e1b82535825b07721f0478b0c315dfb2064db', class: "db-header-secondary-action" }, index.h("slot", { key: '41f5a0bec2da7eb0a7072a48268e1252e7a6e04b', name: "secondaryAction" }))), index.h("div", { key: '2dc424731844cc853759d229860ca85bc8343005', class: "db-header-meta-navigation" }, index.h("slot", { key: '254003d7ef0b53d1a1bf4ff6c91ffaad40db23ae', name: "metaNavigation" })), index.h("div", { key: 'cc66337e4fa59e3ba2f8150bba581e830348c21b', class: "db-header-navigation-bar" }, index.h("div", { key: 'f3b2f219dff06c4e64803cee6843fce892a08710', class: "db-header-brand-container" }, index.h("slot", { key: '5d2b3eeb421c4954a102dfc2a98feec2eec88e9b', name: "brand" })), index.h("div", { key: 'ffd377f496e03febd719e8caa103aad4a70d7d09', class: "db-header-navigation-container" }, index.h("div", { key: 'dd144a78a278178cfbb49ca99aa6ad2c8e060c26', class: "db-header-navigation" }, index.h("slot", { key: '24f29087236b2f885f76fcec167c17523d7cb4cf' })), index.h("div", { key: '30d6926a2cc679e2a0b89321dd5573c82c52413a', class: "db-header-primary-action" }, index.h("slot", { key: '6e8351b6a7236d6f79b221cd78f1c19e32984a64', name: "primaryAction" }))), index.h("div", { key: '918bcd534073735daae1b6f366f514e9a913bcf0', class: "db-header-action-container" }, index.h("div", { key: 'a003b166c56c021029deb61294b1360e24c68233', class: "db-header-burger-menu-container" }, index.h("db-button", { key: '0a62ee629bd0b9b768a7ae33dd854c620ad8c60e', icon: "menu", variant: "ghost", noText: true, onClick: () => this.handleToggle() }, (_a = this.burgerMenuLabel) !== null && _a !== void 0 ? _a : constants.DEFAULT_BURGER_MENU)), index.h("div", { key: '70d919437f722df576cfd1f01f829da1af071352', class: "db-header-secondary-action" }, index.h("slot", { key: '7b2c7c2a575787fe652a47c5e570964c3715b968', name: "secondaryAction" }))))));
89
+ }, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, "data-width": this.width, "data-on-forcing-mobile": this.forceMobile && !this.forcedToMobile }, index.h("db-drawer", { key: 'e43b6fe88c420aafcccbe10c1852b1ad8c640a67', class: "db-header-drawer", spacing: "small", rounded: true, closeButtonId: this.closeButtonId, closeButtonText: this.closeButtonText, open: index$1.getBoolean(this.drawerOpen), onClose: () => this.handleToggle() }, index.h("div", { key: 'cd1d184da10661cc41a32c7b26e352a01d62acb5', class: "db-header-drawer-navigation" }, index.h("div", { key: 'a7f992b669f4efdc58a05eef1d45d0b279eb652d', class: "db-header-navigation", onClick: (event) => this.handleNavigationItemClick(event) }, index.h("slot", { key: '24fb78c5ba0eff9d594f8b41eb3bc986e7163276' })), index.h("div", { key: 'e509d62474a96831495428c5becb9fbf07b27b45', class: "db-header-meta-navigation" }, index.h("slot", { key: '65a8037fc817c20078f4e2e056268d40a973190a', name: "metaNavigation" }))), index.h("div", { key: 'ccb1c32adfcfcf8c94c1d9683e97140e99c7bc4b', class: "db-header-secondary-action" }, index.h("slot", { key: 'c1bd838bf97674d7537ad23d74b448f0e6f6b60b', name: "secondaryAction" }))), index.h("div", { key: '580b1e921589716809c6add27d0ebbd4577c36c5', class: "db-header-meta-navigation" }, index.h("slot", { key: '38264be6e940feb9b1d5f7c20133036af0db4467', name: "metaNavigation" })), index.h("div", { key: 'fab3ea7eb1b20b5626eb481e23eed33196e5391e', class: "db-header-navigation-bar" }, index.h("div", { key: '5c09d40a2d4db6fd3c04406d3f39f4e9a61f9c9c', class: "db-header-brand-container" }, index.h("slot", { key: '762b7e3669486369d0440af4774358c2be73aa6f', name: "brand" })), index.h("div", { key: 'a19ea0d8ce9d34a05a041fa489bf9586116296d0', class: "db-header-navigation-container" }, index.h("div", { key: '1bf7424bcbd9903f52bd55f1459481d73da47769', class: "db-header-navigation" }, index.h("slot", { key: '928dab58c49293b0ddc6014d491d839b07394832' })), index.h("div", { key: 'e470c62116f04772d3daac1c6088b69957fc8e22', class: "db-header-primary-action" }, index.h("slot", { key: '726b5e41a818a50bded6c79df27a697c132e1793', name: "primaryAction" }))), index.h("div", { key: 'c00bb939d06ab93e7f2979c13713841d48044cf9', class: "db-header-action-container" }, index.h("div", { key: '52444a5096ccda4b0bf62657aa6ac904ccb93720', class: "db-header-burger-menu-container" }, index.h("db-button", { key: '22ed7c031d16610ff0cb62badf90e8388867b296', icon: "menu", variant: "ghost", noText: true, onClick: () => this.handleToggle() }, (_c = this.burgerMenuLabel) !== null && _c !== void 0 ? _c : constants.DEFAULT_BURGER_MENU)), index.h("div", { key: '9a6e595cf1d6d14357c8223e422517e0f3753e64', class: "db-header-secondary-action" }, index.h("slot", { key: 'ed8ac7dbd116208d0a1158335deacb64c7278de8', name: "secondaryAction" }))))));
90
90
  }
91
91
  static get watchers() { return {
92
92
  "initialized": [{
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-Bh5ovRL2.js');
4
- var index$1 = require('./index-CsHqnQII.js');
3
+ var index = require('./index-CSMPhlzz.js');
4
+ var index$1 = require('./index-2_9ESkQu.js');
5
5
 
6
6
  const DBIcon = class {
7
7
  constructor(hostRef) {
@@ -47,9 +47,10 @@ const DBIcon = class {
47
47
  this.enableAttributePassing(this._ref, "db-icon");
48
48
  }
49
49
  render() {
50
- return (index.h("span", { key: '98575a7f351cb2f3bb8d716d7e8ef07f10e403ad', class: index$1.cls("db-icon", this.className), "aria-hidden": "true", ref: (el) => {
50
+ var _a, _b;
51
+ return (index.h("span", { key: '4e41afd86be65137a69847bb0c154e4af951581d', class: index$1.cls("db-icon", this.className), "aria-hidden": "true", ref: (el) => {
51
52
  this._ref = el;
52
- }, id: this.id, "data-icon": this.icon, "data-icon-weight": this.weight, "data-icon-variant": this.variant }, this.text ? this.text : index.h("slot", null)));
53
+ }, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, "data-icon": this.icon, "data-icon-weight": this.weight, "data-icon-variant": this.variant }, this.text ? this.text : index.h("slot", null)));
53
54
  }
54
55
  };
55
56
 
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-Bh5ovRL2.js');
4
- var index$1 = require('./index-CsHqnQII.js');
3
+ var index = require('./index-CSMPhlzz.js');
4
+ var index$1 = require('./index-2_9ESkQu.js');
5
5
 
6
6
  const DBInfotext = class {
7
7
  constructor(hostRef) {
@@ -47,10 +47,10 @@ const DBInfotext = class {
47
47
  this.enableAttributePassing(this._ref, "db-infotext");
48
48
  }
49
49
  render() {
50
- var _a;
51
- return (index.h("span", { key: '1d72ab4201a2886684b736cc9909ffc2df914999', class: index$1.cls("db-infotext", this.className), ref: (el) => {
50
+ var _a, _b, _c;
51
+ return (index.h("span", { key: '8251add62131b09f6e32c20c50619c5e725e5b8e', class: index$1.cls("db-infotext", this.className), ref: (el) => {
52
52
  this._ref = el;
53
- }, id: this.id, "data-icon": this.icon, "data-semantic": this.semantic, "data-size": this.size, "data-show-icon-leading": index$1.getBooleanAsString((_a = this.showIcon) !== null && _a !== void 0 ? _a : true) }, this.text ? this.text : index.h("slot", null)));
53
+ }, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, "data-icon": this.icon, "data-semantic": this.semantic, "data-size": this.size, "data-wrap": index$1.getBooleanAsString(this.wrap), "data-show-icon-leading": index$1.getBooleanAsString((_c = this.showIcon) !== null && _c !== void 0 ? _c : true) }, this.text ? this.text : index.h("slot", null)));
54
54
  }
55
55
  };
56
56