@db-ux/wc-core-components 4.4.1 → 4.4.2

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 (145) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist/cjs/db-accordion-item.cjs.entry.js +3 -6
  3. package/dist/cjs/db-accordion.cjs.entry.js +4 -12
  4. package/dist/cjs/db-badge.cjs.entry.js +1 -1
  5. package/dist/cjs/db-brand.cjs.entry.js +1 -1
  6. package/dist/cjs/db-button.cjs.entry.js +1 -1
  7. package/dist/cjs/db-card.cjs.entry.js +1 -1
  8. package/dist/cjs/db-checkbox.cjs.entry.js +1 -1
  9. package/dist/cjs/db-custom-select-dropdown_5.cjs.entry.js +3 -6
  10. package/dist/cjs/db-custom-select-form-field.cjs.entry.js +1 -1
  11. package/dist/cjs/db-custom-select.cjs.entry.js +1 -1
  12. package/dist/cjs/db-divider.cjs.entry.js +1 -1
  13. package/dist/cjs/db-drawer.cjs.entry.js +1 -1
  14. package/dist/cjs/db-header.cjs.entry.js +1 -1
  15. package/dist/cjs/db-icon.cjs.entry.js +1 -1
  16. package/dist/cjs/db-infotext.cjs.entry.js +1 -1
  17. package/dist/cjs/db-link.cjs.entry.js +1 -1
  18. package/dist/cjs/db-navigation-item.cjs.entry.js +3 -4
  19. package/dist/cjs/db-navigation.cjs.entry.js +3 -6
  20. package/dist/cjs/db-notification.cjs.entry.js +1 -1
  21. package/dist/cjs/db-page.cjs.entry.js +1 -1
  22. package/dist/cjs/db-popover.cjs.entry.js +1 -1
  23. package/dist/cjs/db-radio.cjs.entry.js +1 -1
  24. package/dist/cjs/db-section.cjs.entry.js +1 -1
  25. package/dist/cjs/db-select.cjs.entry.js +1 -1
  26. package/dist/cjs/db-stack.cjs.entry.js +1 -1
  27. package/dist/cjs/db-switch.cjs.entry.js +1 -1
  28. package/dist/cjs/db-tab-item_3.cjs.entry.js +3 -6
  29. package/dist/cjs/db-tabs.cjs.entry.js +4 -6
  30. package/dist/cjs/db-textarea.cjs.entry.js +1 -1
  31. package/dist/cjs/db-tooltip.cjs.entry.js +22 -7
  32. package/dist/cjs/db-ux.cjs.js +3 -3
  33. package/dist/cjs/{index-Bi4QN5oK.js → index-CEqZnn9s.js} +85 -58
  34. package/dist/cjs/index.cjs.js +19 -19
  35. package/dist/cjs/loader.cjs.js +2 -2
  36. package/dist/collection/collection-manifest.json +1 -1
  37. package/dist/collection/components/accordion/accordion.js +26 -35
  38. package/dist/collection/components/accordion-item/accordion-item.js +16 -20
  39. package/dist/collection/components/custom-select-list-item/custom-select-list-item.js +26 -30
  40. package/dist/collection/components/navigation/navigation.js +3 -13
  41. package/dist/collection/components/navigation-item/navigation-item.js +3 -5
  42. package/dist/collection/components/tab-list/tab-list.js +3 -13
  43. package/dist/collection/components/tabs/tabs.js +29 -32
  44. package/dist/collection/components/tooltip/tooltip.js +21 -6
  45. package/dist/custom-elements.json +120 -145
  46. package/dist/db-ux/db-ux.esm.js +1 -1
  47. package/dist/db-ux/index.esm.js +1 -1
  48. package/dist/db-ux/{p-1ae2420e.entry.js → p-07bf3657.entry.js} +1 -1
  49. package/dist/db-ux/{p-5e8b2167.entry.js → p-0a89cbcd.entry.js} +1 -1
  50. package/dist/db-ux/{p-77840cb4.entry.js → p-15539d9d.entry.js} +1 -1
  51. package/dist/db-ux/p-41cb4673.entry.js +1 -0
  52. package/dist/db-ux/{p-19c9285e.entry.js → p-460073dd.entry.js} +1 -1
  53. package/dist/db-ux/{p-93506fdb.entry.js → p-4a9b9909.entry.js} +1 -1
  54. package/dist/db-ux/{p-ced0df76.entry.js → p-4ec09cf1.entry.js} +1 -1
  55. package/dist/db-ux/{p-09f188aa.entry.js → p-57205dfd.entry.js} +1 -1
  56. package/dist/db-ux/p-5775bf7a.entry.js +1 -0
  57. package/dist/db-ux/{p-d2fd9838.entry.js → p-5bcde39a.entry.js} +1 -1
  58. package/dist/db-ux/p-6341aaa9.entry.js +1 -0
  59. package/dist/db-ux/p-64573104.entry.js +1 -0
  60. package/dist/db-ux/{p-349276ca.entry.js → p-6b63156d.entry.js} +1 -1
  61. package/dist/db-ux/{p-ba4084e8.entry.js → p-70822a27.entry.js} +1 -1
  62. package/dist/db-ux/p-710a430d.entry.js +1 -0
  63. package/dist/db-ux/{p-5549d866.entry.js → p-72d712b0.entry.js} +1 -1
  64. package/dist/db-ux/{p-cede20c2.entry.js → p-7b7f4d03.entry.js} +1 -1
  65. package/dist/db-ux/p-7bd4c573.entry.js +1 -0
  66. package/dist/db-ux/{p-ec270b7d.entry.js → p-819cf20a.entry.js} +1 -1
  67. package/dist/db-ux/p-87fdbcfb.entry.js +1 -0
  68. package/dist/db-ux/{p-90380da4.entry.js → p-9051e26c.entry.js} +1 -1
  69. package/dist/db-ux/{p-e50ff484.entry.js → p-934a708c.entry.js} +1 -1
  70. package/dist/db-ux/{p-d1974cb0.entry.js → p-9ffa5c48.entry.js} +1 -1
  71. package/dist/db-ux/p-BrThqi62.js +2 -0
  72. package/dist/db-ux/p-a9af70eb.entry.js +1 -0
  73. package/dist/db-ux/p-aa8383a3.entry.js +1 -0
  74. package/dist/db-ux/p-ba1f69bd.entry.js +1 -0
  75. package/dist/db-ux/p-d273b998.entry.js +1 -0
  76. package/dist/db-ux/p-da4ee6ee.entry.js +1 -0
  77. package/dist/db-ux/{p-32fcf516.entry.js → p-e584e927.entry.js} +1 -1
  78. package/dist/db-ux/{p-6811aace.entry.js → p-fe185f98.entry.js} +1 -1
  79. package/dist/esm/db-accordion-item.entry.js +4 -7
  80. package/dist/esm/db-accordion.entry.js +4 -12
  81. package/dist/esm/db-badge.entry.js +1 -1
  82. package/dist/esm/db-brand.entry.js +1 -1
  83. package/dist/esm/db-button.entry.js +1 -1
  84. package/dist/esm/db-card.entry.js +1 -1
  85. package/dist/esm/db-checkbox.entry.js +1 -1
  86. package/dist/esm/db-custom-select-dropdown_5.entry.js +4 -7
  87. package/dist/esm/db-custom-select-form-field.entry.js +1 -1
  88. package/dist/esm/db-custom-select.entry.js +1 -1
  89. package/dist/esm/db-divider.entry.js +1 -1
  90. package/dist/esm/db-drawer.entry.js +1 -1
  91. package/dist/esm/db-header.entry.js +1 -1
  92. package/dist/esm/db-icon.entry.js +1 -1
  93. package/dist/esm/db-infotext.entry.js +1 -1
  94. package/dist/esm/db-link.entry.js +1 -1
  95. package/dist/esm/db-navigation-item.entry.js +4 -5
  96. package/dist/esm/db-navigation.entry.js +4 -7
  97. package/dist/esm/db-notification.entry.js +1 -1
  98. package/dist/esm/db-page.entry.js +1 -1
  99. package/dist/esm/db-popover.entry.js +1 -1
  100. package/dist/esm/db-radio.entry.js +1 -1
  101. package/dist/esm/db-section.entry.js +1 -1
  102. package/dist/esm/db-select.entry.js +1 -1
  103. package/dist/esm/db-stack.entry.js +1 -1
  104. package/dist/esm/db-switch.entry.js +1 -1
  105. package/dist/esm/db-tab-item_3.entry.js +4 -7
  106. package/dist/esm/db-tabs.entry.js +4 -6
  107. package/dist/esm/db-textarea.entry.js +1 -1
  108. package/dist/esm/db-tooltip.entry.js +22 -7
  109. package/dist/esm/db-ux.js +4 -4
  110. package/dist/esm/{index-05XnVETo.js → index-BrThqi62.js} +85 -58
  111. package/dist/esm/index.js +1 -1
  112. package/dist/esm/loader.js +3 -3
  113. package/dist/types/components/accordion/accordion.d.ts +1 -2
  114. package/dist/types/components/accordion/model.d.ts +2 -2
  115. package/dist/types/components/accordion-item/accordion-item.d.ts +1 -2
  116. package/dist/types/components/accordion-item/model.d.ts +2 -2
  117. package/dist/types/components/custom-select-list-item/custom-select-list-item.d.ts +1 -2
  118. package/dist/types/components/custom-select-list-item/model.d.ts +2 -2
  119. package/dist/types/components/navigation/model.d.ts +2 -2
  120. package/dist/types/components/navigation/navigation.d.ts +0 -1
  121. package/dist/types/components/navigation-item/model.d.ts +0 -1
  122. package/dist/types/components/navigation-item/navigation-item.d.ts +0 -1
  123. package/dist/types/components/tab-list/model.d.ts +2 -2
  124. package/dist/types/components/tab-list/tab-list.d.ts +0 -1
  125. package/dist/types/components/tabs/model.d.ts +2 -2
  126. package/dist/types/components/tabs/tabs.d.ts +1 -2
  127. package/dist/types/components/tooltip/tooltip.d.ts +2 -0
  128. package/dist/types/components.d.ts +4 -4
  129. package/dist/types/stencil-public-runtime.d.ts +0 -4
  130. package/dist/vscode.html-custom-data.json +20 -20
  131. package/dist/web-types.json +43 -50
  132. package/package.json +4 -4
  133. package/dist/db-ux/p-05XnVETo.js +0 -2
  134. package/dist/db-ux/p-08146a65.entry.js +0 -1
  135. package/dist/db-ux/p-146365b4.entry.js +0 -1
  136. package/dist/db-ux/p-1975c375.entry.js +0 -1
  137. package/dist/db-ux/p-1e76ee94.entry.js +0 -1
  138. package/dist/db-ux/p-2c0bd1d8.entry.js +0 -1
  139. package/dist/db-ux/p-47b821f7.entry.js +0 -1
  140. package/dist/db-ux/p-53aed67f.entry.js +0 -1
  141. package/dist/db-ux/p-5e8d052f.entry.js +0 -1
  142. package/dist/db-ux/p-8a0ca84b.entry.js +0 -1
  143. package/dist/db-ux/p-8d37aa19.entry.js +0 -1
  144. package/dist/db-ux/p-981d05c0.entry.js +0 -1
  145. package/dist/db-ux/p-d65ecc59.entry.js +0 -1
@@ -25,7 +25,6 @@ export declare class DBNavigationItem {
25
25
  hasSubNavigation: boolean;
26
26
  isSubNavigationExpanded: boolean;
27
27
  autoClose: boolean;
28
- subNavigationId: string;
29
28
  navigationItemSafeTriangle: any;
30
29
  handleNavigationItemClick(event: any): void;
31
30
  handleClick(event: ClickEvent<HTMLButtonElement> | any): void;
@@ -1,5 +1,5 @@
1
- import { GlobalProps, GlobalState } from '../../shared/model';
1
+ import { GlobalProps } from '../../shared/model';
2
2
  export type DBTabListDefaultProps = {};
3
3
  export type DBTabListProps = DBTabListDefaultProps & GlobalProps;
4
4
  export type DBTabListDefaultState = {};
5
- export type DBTabListState = DBTabListDefaultState & GlobalState;
5
+ export type DBTabListState = DBTabListDefaultState;
@@ -7,7 +7,6 @@ export declare class DBTabList {
7
7
  private _ref;
8
8
  id: DBTabListProps["id"];
9
9
  className: DBTabListProps["className"];
10
- _id: string;
11
10
  /**
12
11
  * Passes `aria-*`, `data-*` & `class` attributes to correct child. Used in angular and stencil.
13
12
  * @param element the ref for the component
@@ -1,4 +1,4 @@
1
- import { AlignmentProps, GlobalProps, GlobalState, InitializedState, InputEvent, OrientationProps, WidthProps } from '../../shared/model';
1
+ import { AlignmentProps, GlobalProps, InitializedState, InputEvent, OrientationProps, WidthProps } from '../../shared/model';
2
2
  import { DBTabItemProps } from '../tab-item/model';
3
3
  import { DBTabPanelProps } from '../tab-panel/model';
4
4
  export declare const TabsBehaviorList: readonly ["scrollbar", "arrows"];
@@ -64,4 +64,4 @@ export type DBTabsDefaultState = {
64
64
  handleChange: (event: InputEvent<HTMLElement>) => void;
65
65
  _resizeObserver?: ResizeObserver;
66
66
  };
67
- export type DBTabsState = DBTabsDefaultState & GlobalState & InitializedState;
67
+ export type DBTabsState = DBTabsDefaultState & InitializedState;
@@ -7,7 +7,6 @@ import { EventEmitter } from "../../stencil-public-runtime";
7
7
  */
8
8
  export declare class DBTabs {
9
9
  private _ref;
10
- id: DBTabsProps["id"];
11
10
  name: DBTabsProps["name"];
12
11
  tabs: DBTabsProps["tabs"];
13
12
  arrowScrollDistance: DBTabsProps["arrowScrollDistance"];
@@ -17,10 +16,10 @@ export declare class DBTabs {
17
16
  initialSelectedIndex: DBTabsProps["initialSelectedIndex"];
18
17
  indexChange: EventEmitter<Parameters<Required<DBTabsProps>["onIndexChange"]>[number]> | void;
19
18
  tabSelect: EventEmitter<Parameters<Required<DBTabsProps>["onTabSelect"]>[number]> | void;
19
+ id: DBTabsProps["id"];
20
20
  className: DBTabsProps["className"];
21
21
  alignment: DBTabsProps["alignment"];
22
22
  width: DBTabsProps["width"];
23
- _id: string;
24
23
  _name: string;
25
24
  initialized: boolean;
26
25
  showScrollLeft: boolean;
@@ -34,6 +34,8 @@ export declare class DBTooltip {
34
34
  private enableAttributePassing;
35
35
  watch0Fn(): void;
36
36
  watch0(): void;
37
+ watch1Fn(): void;
38
+ watch1(): void;
37
39
  componentDidLoad(): void;
38
40
  render(): any;
39
41
  }
@@ -1720,17 +1720,17 @@ declare namespace LocalJSX {
1720
1720
  }
1721
1721
 
1722
1722
  interface DbAccordionAttributes {
1723
- "id": DBAccordionProps["id"];
1724
1723
  "name": DBAccordionProps["name"];
1725
1724
  "behavior": DBAccordionProps["behavior"];
1726
1725
  "items": DBAccordionProps["items"];
1726
+ "id": DBAccordionProps["id"];
1727
1727
  "className": DBAccordionProps["className"];
1728
1728
  "variant": DBAccordionProps["variant"];
1729
1729
  }
1730
1730
  interface DbAccordionItemAttributes {
1731
- "id": DBAccordionItemProps["id"];
1732
1731
  "defaultOpen": DBAccordionItemProps["defaultOpen"];
1733
1732
  "name": DBAccordionItemProps["name"];
1733
+ "id": DBAccordionItemProps["id"];
1734
1734
  "className": DBAccordionItemProps["className"];
1735
1735
  "disabled": string;
1736
1736
  "headlinePlain": DBAccordionItemProps["headlinePlain"];
@@ -1863,11 +1863,11 @@ declare namespace LocalJSX {
1863
1863
  "className": DBCustomSelectListProps["className"];
1864
1864
  }
1865
1865
  interface DbCustomSelectListItemAttributes {
1866
- "id": DBCustomSelectListItemProps["id"];
1867
1866
  "isGroupTitle": DBCustomSelectListItemProps["isGroupTitle"];
1868
1867
  "showDivider": DBCustomSelectListItemProps["showDivider"];
1869
1868
  "type": DBCustomSelectListItemProps["type"];
1870
1869
  "checked": string;
1870
+ "id": DBCustomSelectListItemProps["id"];
1871
1871
  "className": DBCustomSelectListItemProps["className"];
1872
1872
  "groupTitle": DBCustomSelectListItemProps["groupTitle"];
1873
1873
  "icon": DBCustomSelectListItemProps["icon"];
@@ -2155,7 +2155,6 @@ declare namespace LocalJSX {
2155
2155
  "content": DBTabPanelProps["content"];
2156
2156
  }
2157
2157
  interface DbTabsAttributes {
2158
- "id": DBTabsProps["id"];
2159
2158
  "name": DBTabsProps["name"];
2160
2159
  "tabs": DBTabsProps["tabs"];
2161
2160
  "arrowScrollDistance": string;
@@ -2163,6 +2162,7 @@ declare namespace LocalJSX {
2163
2162
  "behavior": DBTabsProps["behavior"];
2164
2163
  "initialSelectedMode": DBTabsProps["initialSelectedMode"];
2165
2164
  "initialSelectedIndex": string;
2165
+ "id": DBTabsProps["id"];
2166
2166
  "className": DBTabsProps["className"];
2167
2167
  "alignment": DBTabsProps["alignment"];
2168
2168
  "width": DBTabsProps["width"];
@@ -1438,8 +1438,6 @@ export declare namespace JSXBase {
1438
1438
  results?: number;
1439
1439
  security?: string;
1440
1440
  unselectable?: boolean;
1441
- [key: `attr:${string}`]: string;
1442
- [key: `prop:${string}`]: any;
1443
1441
  }
1444
1442
  interface SVGAttributes<T = SVGElement> extends DOMAttributes<T> {
1445
1443
  class?: string | {
@@ -1701,8 +1699,6 @@ export declare namespace JSXBase {
1701
1699
  yChannelSelector?: string;
1702
1700
  z?: number | string;
1703
1701
  zoomAndPan?: string;
1704
- [key: `attr:${string}`]: string;
1705
- [key: `prop:${string}`]: any;
1706
1702
  }
1707
1703
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ToggleEvent) */
1708
1704
  interface ToggleEvent extends Event {
@@ -6,11 +6,6 @@
6
6
  "name": "db-accordion-item",
7
7
  "description": "\n---\n\n\n### **Events:**\n - **toggle**\n\n### **Slots:**\n - **children** - default slot\n- **headline** - Title of the accordion-item as slot",
8
8
  "attributes": [
9
- {
10
- "name": "id",
11
- "description": "[ID](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/id) of the component, generated automatically for some components as a fallback if unset.",
12
- "values": []
13
- },
14
9
  {
15
10
  "name": "default-open",
16
11
  "description": "Initial state for the accordion item",
@@ -21,6 +16,11 @@
21
16
  "description": "The name attribute gives the name of the element to group it.",
22
17
  "values": []
23
18
  },
19
+ {
20
+ "name": "id",
21
+ "description": "[ID](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/id) of the component, generated automatically for some components as a fallback if unset.",
22
+ "values": []
23
+ },
24
24
  {
25
25
  "name": "classname",
26
26
  "description": "React specific for adding className to the component.",
@@ -48,11 +48,6 @@
48
48
  "name": "db-accordion",
49
49
  "description": "\n---\n\n\n### **Slots:**\n - **children** - default slot",
50
50
  "attributes": [
51
- {
52
- "name": "id",
53
- "description": "[ID](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/id) of the component, generated automatically for some components as a fallback if unset.",
54
- "values": []
55
- },
56
51
  {
57
52
  "name": "name",
58
53
  "description": "Set details name for exclusive accordions, see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/details#name",
@@ -73,6 +68,11 @@
73
68
  "description": "Alternative to pass in a simple representation of accordion items",
74
69
  "values": [{ "name": "DBAccordionItemDefaultProps[]" }]
75
70
  },
71
+ {
72
+ "name": "id",
73
+ "description": "[ID](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/id) of the component, generated automatically for some components as a fallback if unset.",
74
+ "values": []
75
+ },
76
76
  {
77
77
  "name": "classname",
78
78
  "description": "React specific for adding className to the component.",
@@ -509,11 +509,6 @@
509
509
  "name": "db-custom-select-list-item",
510
510
  "description": "\n---\n\n\n### **Events:**\n - **change**\n\n### **Slots:**\n - **children** - default slot",
511
511
  "attributes": [
512
- {
513
- "name": "id",
514
- "description": "[ID](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/id) of the component, generated automatically for some components as a fallback if unset.",
515
- "values": []
516
- },
517
512
  {
518
513
  "name": "is-group-title",
519
514
  "description": "If the item is a group title (only text)",
@@ -534,6 +529,11 @@
534
529
  "description": "Define the radio or checkbox elements checked state",
535
530
  "values": []
536
531
  },
532
+ {
533
+ "name": "id",
534
+ "description": "[ID](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/id) of the component, generated automatically for some components as a fallback if unset.",
535
+ "values": []
536
+ },
537
537
  {
538
538
  "name": "classname",
539
539
  "description": "React specific for adding className to the component.",
@@ -2549,11 +2549,6 @@
2549
2549
  "name": "db-tabs",
2550
2550
  "description": "\n---\n\n\n### **Events:**\n - **indexChange**\n- **tabSelect**\n\n### **Slots:**\n - **children** - default slot",
2551
2551
  "attributes": [
2552
- {
2553
- "name": "id",
2554
- "description": "[ID](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/id) of the component, generated automatically for some components as a fallback if unset.",
2555
- "values": []
2556
- },
2557
2552
  {
2558
2553
  "name": "name",
2559
2554
  "description": "The name of the tab bar, is required for grouping multiple tabs together. Will overwrite names from children.",
@@ -2589,6 +2584,11 @@
2589
2584
  "description": "Default behavior is auto selecting the first tab, change selected tab by index",
2590
2585
  "values": []
2591
2586
  },
2587
+ {
2588
+ "name": "id",
2589
+ "description": "[ID](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/id) of the component, generated automatically for some components as a fallback if unset.",
2590
+ "values": []
2591
+ },
2592
2592
  {
2593
2593
  "name": "classname",
2594
2594
  "description": "React specific for adding className to the component.",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
3
3
  "name": "@db-ux/wc-core-components",
4
- "version": "4.4.1",
4
+ "version": "4.4.2",
5
5
  "description-markup": "markdown",
6
6
  "contributions": {
7
7
  "html": {
@@ -11,11 +11,6 @@
11
11
  "description": "\n---\n\n\n### **Events:**\n - **toggle**\n\n### **Slots:**\n - **children** - default slot\n- **headline** - Title of the accordion-item as slot",
12
12
  "doc-url": "https://design-system.deutschebahn.com/core-web/review/main/components/accordion-item/properties",
13
13
  "attributes": [
14
- {
15
- "name": "id",
16
- "description": "[ID](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/id) of the component, generated automatically for some components as a fallback if unset.",
17
- "value": { "type": "string" }
18
- },
19
14
  {
20
15
  "name": "default-open",
21
16
  "description": "Initial state for the accordion item",
@@ -26,6 +21,11 @@
26
21
  "description": "The name attribute gives the name of the element to group it.",
27
22
  "value": { "type": "string" }
28
23
  },
24
+ {
25
+ "name": "id",
26
+ "description": "[ID](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/id) of the component, generated automatically for some components as a fallback if unset.",
27
+ "value": { "type": "string" }
28
+ },
29
29
  {
30
30
  "name": "classname",
31
31
  "description": "React specific for adding className to the component.",
@@ -62,11 +62,6 @@
62
62
  ],
63
63
  "js": {
64
64
  "properties": [
65
- {
66
- "name": "id",
67
- "description": "[ID](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/id) of the component, generated automatically for some components as a fallback if unset.",
68
- "type": "string"
69
- },
70
65
  {
71
66
  "name": "defaultOpen",
72
67
  "description": "Initial state for the accordion item"
@@ -76,6 +71,11 @@
76
71
  "description": "The name attribute gives the name of the element to group it.",
77
72
  "type": "string"
78
73
  },
74
+ {
75
+ "name": "id",
76
+ "description": "[ID](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/id) of the component, generated automatically for some components as a fallback if unset.",
77
+ "type": "string"
78
+ },
79
79
  {
80
80
  "name": "className",
81
81
  "description": "React specific for adding className to the component.",
@@ -94,7 +94,6 @@
94
94
  "description": "Alternative for default slot/children.",
95
95
  "type": "string"
96
96
  },
97
- { "name": "_id" },
98
97
  { "name": "_open", "type": "boolean" },
99
98
  { "name": "_name" },
100
99
  { "name": "initialized", "type": "boolean" }
@@ -112,11 +111,6 @@
112
111
  "description": "\n---\n\n\n### **Slots:**\n - **children** - default slot",
113
112
  "doc-url": "https://design-system.deutschebahn.com/core-web/review/main/components/accordion/properties",
114
113
  "attributes": [
115
- {
116
- "name": "id",
117
- "description": "[ID](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/id) of the component, generated automatically for some components as a fallback if unset.",
118
- "value": { "type": "string" }
119
- },
120
114
  {
121
115
  "name": "name",
122
116
  "description": "Set details name for exclusive accordions, see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/details#name",
@@ -137,6 +131,11 @@
137
131
  "description": "Alternative to pass in a simple representation of accordion items",
138
132
  "value": { "type": "DBAccordionItemDefaultProps[] | string" }
139
133
  },
134
+ {
135
+ "name": "id",
136
+ "description": "[ID](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/id) of the component, generated automatically for some components as a fallback if unset.",
137
+ "value": { "type": "string" }
138
+ },
140
139
  {
141
140
  "name": "classname",
142
141
  "description": "React specific for adding className to the component.",
@@ -152,11 +151,6 @@
152
151
  "events": [],
153
152
  "js": {
154
153
  "properties": [
155
- {
156
- "name": "id",
157
- "description": "[ID](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/id) of the component, generated automatically for some components as a fallback if unset.",
158
- "type": "string"
159
- },
160
154
  {
161
155
  "name": "name",
162
156
  "description": "Set details name for exclusive accordions, see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/details#name",
@@ -177,6 +171,11 @@
177
171
  "description": "Alternative to pass in a simple representation of accordion items",
178
172
  "type": "DBAccordionItemDefaultProps[] | string"
179
173
  },
174
+ {
175
+ "name": "id",
176
+ "description": "[ID](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/id) of the component, generated automatically for some components as a fallback if unset.",
177
+ "type": "string"
178
+ },
180
179
  {
181
180
  "name": "className",
182
181
  "description": "React specific for adding className to the component.",
@@ -187,7 +186,6 @@
187
186
  "description": "Defines the display of the accordion and the items:\n\"divider\": with a dividing line between the items\n\"card\": w/o dividing line, but items are shown in the card variant",
188
187
  "type": "\"divider\" | \"card\""
189
188
  },
190
- { "name": "_id" },
191
189
  { "name": "_name", "type": "string" },
192
190
  { "name": "initialized", "type": "boolean" },
193
191
  { "name": "_initOpenIndexDone", "type": "boolean" }
@@ -1023,11 +1021,6 @@
1023
1021
  "description": "\n---\n\n\n### **Events:**\n - **change**\n\n### **Slots:**\n - **children** - default slot",
1024
1022
  "doc-url": "https://design-system.deutschebahn.com/core-web/review/main/components/custom-select-list-item/properties",
1025
1023
  "attributes": [
1026
- {
1027
- "name": "id",
1028
- "description": "[ID](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/id) of the component, generated automatically for some components as a fallback if unset.",
1029
- "value": { "type": "string" }
1030
- },
1031
1024
  {
1032
1025
  "name": "is-group-title",
1033
1026
  "description": "If the item is a group title (only text)",
@@ -1048,6 +1041,11 @@
1048
1041
  "description": "Define the radio or checkbox elements checked state",
1049
1042
  "value": { "type": "boolean | string" }
1050
1043
  },
1044
+ {
1045
+ "name": "id",
1046
+ "description": "[ID](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/id) of the component, generated automatically for some components as a fallback if unset.",
1047
+ "value": { "type": "string" }
1048
+ },
1051
1049
  {
1052
1050
  "name": "classname",
1053
1051
  "description": "React specific for adding className to the component.",
@@ -1098,11 +1096,6 @@
1098
1096
  ],
1099
1097
  "js": {
1100
1098
  "properties": [
1101
- {
1102
- "name": "id",
1103
- "description": "[ID](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/id) of the component, generated automatically for some components as a fallback if unset.",
1104
- "type": "string"
1105
- },
1106
1099
  {
1107
1100
  "name": "isGroupTitle",
1108
1101
  "description": "If the item is a group title (only text)"
@@ -1121,6 +1114,11 @@
1121
1114
  "description": "Define the radio or checkbox elements checked state",
1122
1115
  "type": "boolean | string"
1123
1116
  },
1117
+ {
1118
+ "name": "id",
1119
+ "description": "[ID](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/id) of the component, generated automatically for some components as a fallback if unset.",
1120
+ "type": "string"
1121
+ },
1124
1122
  {
1125
1123
  "name": "className",
1126
1124
  "description": "React specific for adding className to the component.",
@@ -1161,7 +1159,6 @@
1161
1159
  "description": "The label attribute specifies the caption of the form element.",
1162
1160
  "type": "string"
1163
1161
  },
1164
- { "name": "_id" },
1165
1162
  { "name": "hasDivider", "type": "boolean" }
1166
1163
  ],
1167
1164
  "events": [
@@ -3252,8 +3249,7 @@
3252
3249
  "name": "className",
3253
3250
  "description": "React specific for adding className to the component.",
3254
3251
  "type": "string"
3255
- },
3256
- { "name": "_id" }
3252
+ }
3257
3253
  ],
3258
3254
  "events": []
3259
3255
  }
@@ -3404,7 +3400,6 @@
3404
3400
  { "name": "hasSubNavigation", "type": "boolean" },
3405
3401
  { "name": "isSubNavigationExpanded", "type": "boolean" },
3406
3402
  { "name": "autoClose", "type": "boolean" },
3407
- { "name": "subNavigationId" },
3408
3403
  { "name": "navigationItemSafeTriangle" }
3409
3404
  ],
3410
3405
  "events": [
@@ -4932,8 +4927,7 @@
4932
4927
  "name": "className",
4933
4928
  "description": "React specific for adding className to the component.",
4934
4929
  "type": "string"
4935
- },
4936
- { "name": "_id" }
4930
+ }
4937
4931
  ],
4938
4932
  "events": []
4939
4933
  }
@@ -4987,11 +4981,6 @@
4987
4981
  "description": "\n---\n\n\n### **Events:**\n - **indexChange**\n- **tabSelect**\n\n### **Slots:**\n - **children** - default slot",
4988
4982
  "doc-url": "https://design-system.deutschebahn.com/core-web/review/main/components/tabs/properties",
4989
4983
  "attributes": [
4990
- {
4991
- "name": "id",
4992
- "description": "[ID](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/id) of the component, generated automatically for some components as a fallback if unset.",
4993
- "value": { "type": "string" }
4994
- },
4995
4984
  {
4996
4985
  "name": "name",
4997
4986
  "description": "The name of the tab bar, is required for grouping multiple tabs together. Will overwrite names from children.",
@@ -5027,6 +5016,11 @@
5027
5016
  "description": "Default behavior is auto selecting the first tab, change selected tab by index",
5028
5017
  "value": { "type": "number | string" }
5029
5018
  },
5019
+ {
5020
+ "name": "id",
5021
+ "description": "[ID](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/id) of the component, generated automatically for some components as a fallback if unset.",
5022
+ "value": { "type": "string" }
5023
+ },
5030
5024
  {
5031
5025
  "name": "classname",
5032
5026
  "description": "React specific for adding className to the component.",
@@ -5056,11 +5050,6 @@
5056
5050
  ],
5057
5051
  "js": {
5058
5052
  "properties": [
5059
- {
5060
- "name": "id",
5061
- "description": "[ID](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/id) of the component, generated automatically for some components as a fallback if unset.",
5062
- "type": "string"
5063
- },
5064
5053
  {
5065
5054
  "name": "name",
5066
5055
  "description": "The name of the tab bar, is required for grouping multiple tabs together. Will overwrite names from children.",
@@ -5096,6 +5085,11 @@
5096
5085
  "description": "Default behavior is auto selecting the first tab, change selected tab by index",
5097
5086
  "type": "number | string"
5098
5087
  },
5088
+ {
5089
+ "name": "id",
5090
+ "description": "[ID](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/id) of the component, generated automatically for some components as a fallback if unset.",
5091
+ "type": "string"
5092
+ },
5099
5093
  {
5100
5094
  "name": "className",
5101
5095
  "description": "React specific for adding className to the component.",
@@ -5111,7 +5105,6 @@
5111
5105
  "description": "Width of the component. Auto width based on children size, full width based on parent elements width.",
5112
5106
  "type": "\"full\" | \"auto\" | string"
5113
5107
  },
5114
- { "name": "_id" },
5115
5108
  { "name": "_name", "type": "string" },
5116
5109
  { "name": "initialized", "type": "boolean" },
5117
5110
  { "name": "showScrollLeft", "type": "boolean" },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@db-ux/wc-core-components",
3
- "version": "4.4.1",
3
+ "version": "4.4.2",
4
4
  "description": "Stencil components for @db-ux/core-components",
5
5
  "repository": {
6
6
  "type": "git",
@@ -35,7 +35,7 @@
35
35
  },
36
36
  "devDependencies": {
37
37
  "@custom-elements-manifest/analyzer": "0.11.0",
38
- "@stencil/core": "4.42.0",
38
+ "@stencil/core": "4.42.1",
39
39
  "cem-plugin-expanded-types": "1.4.0",
40
40
  "custom-element-jet-brains-integration": "1.7.0",
41
41
  "custom-element-vs-code-integration": "1.5.0",
@@ -48,7 +48,7 @@
48
48
  "web-types": "./dist/web-types.json",
49
49
  "customElements": "dist/custom-elements.json",
50
50
  "dependencies": {
51
- "@db-ux/core-components": "4.4.1",
52
- "@db-ux/core-foundations": "4.4.1"
51
+ "@db-ux/core-components": "4.4.2",
52
+ "@db-ux/core-foundations": "4.4.2"
53
53
  }
54
54
  }
@@ -1,2 +0,0 @@
1
- var t=(t,n)=>{var e;Object.entries(null!=(e=n.o.t)?e:{}).map((([e,[o]])=>{if(31&o||32&o){const o=t[e],l=function(t,n){for(;t;){const e=Object.getOwnPropertyDescriptor(t,n);if(null==e?void 0:e.get)return e;t=Object.getPrototypeOf(t)}}(Object.getPrototypeOf(t),e)||Object.getOwnPropertyDescriptor(t,e);l&&Object.defineProperty(t,e,{get(){return l.get.call(this)},set(t){l.set.call(this,t)},configurable:!0,enumerable:!0}),t[e]=n.l.has(e)?n.l.get(e):o}}))},n=t=>{if(t.__stencil__getHostRef)return t.__stencil__getHostRef()},e=(n,e)=>{e&&(n.__stencil__getHostRef=()=>e,e.i=n,512&e.o.u&&t(n,e))},o=(t,n)=>n in t,l=(t,n)=>(0,console.error)(t,n),s=new Map,i="undefined"!=typeof window?window:{},r={u:0,p:"",jmp:t=>t(),raf:t=>requestAnimationFrame(t),ael:(t,n,e,o)=>t.addEventListener(n,e,o),rel:(t,n,e,o)=>t.removeEventListener(n,e,o),ce:(t,n)=>new CustomEvent(t,n)},c=t=>Promise.resolve(t),u=!1,f=[],a=[],d=(t,n)=>e=>{t.push(e),u||(u=!0,n&&4&r.u?v(h):r.raf(h))},p=t=>{for(let n=0;n<t.length;n++)try{t[n](performance.now())}catch(t){l(t)}t.length=0},h=()=>{p(f),p(a),(u=f.length>0)&&r.raf(h)},v=t=>c().then(t),m=d(a,!0),b=t=>{const n=w(t,"childNodes");t.tagName&&t.tagName.includes("-")&&t["s-cr"]&&"SLOT-FB"!==t.tagName&&y(n,t.tagName).forEach((t=>{1===t.nodeType&&"SLOT-FB"===t.tagName&&(t.hidden=!!$(t,g(t),!1).length)}));let e=0;for(e=0;e<n.length;e++){const t=n[e];1===t.nodeType&&w(t,"childNodes").length&&b(t)}};function y(t,n,e){let o,l=0,s=[];for(;l<t.length;l++){if(o=t[l],o["s-sr"]&&(!n||o["s-hn"]===n)&&(void 0===e||g(o)===e)&&(s.push(o),void 0!==e))return s;s=[...s,...y(o.childNodes,n,e)]}return s}var $=(t,n,e=!0)=>{const o=[];(e&&t["s-sr"]||!t["s-sr"])&&o.push(t);let l=t;for(;l=l.nextSibling;)g(l)!==n||!e&&l["s-sr"]||o.push(l);return o},j=(t,n)=>1===t.nodeType?null===t.getAttribute("slot")&&""===n||t.getAttribute("slot")===n:t["s-sn"]===n||""===n,g=t=>"string"==typeof t["s-sn"]?t["s-sn"]:1===t.nodeType&&t.getAttribute("slot")||void 0;function w(t,n){if("__"+n in t){const e=t["__"+n];return"function"!=typeof e?e:e.bind(t)}return"function"!=typeof t[n]?t[n]:t[n].bind(t)}var O,k,N=new WeakMap,S=t=>"object"==(t=typeof t)||"function"===t,E=(t,n,...e)=>{let o=null,l=null,s=null,i=!1,r=!1;const c=[],u=n=>{for(let e=0;e<n.length;e++)o=n[e],Array.isArray(o)?u(o):null!=o&&"boolean"!=typeof o&&((i="function"!=typeof t&&!S(o))&&(o+=""),i&&r?c[c.length-1].h+=o:c.push(i?C(null,o):o),r=i)};if(u(e),n){n.key&&(l=n.key),n.name&&(s=n.name);{const t=n.className||n.class;t&&(n.class="object"!=typeof t?t:Object.keys(t).filter((n=>t[n])).join(" "))}}if("function"==typeof t)return t(null===n?{}:n,c,R);const f=C(t,null);return f.v=n,c.length>0&&(f.m=c),f.$=l,f.j=s,f},C=(t,n)=>({u:0,O:t,h:null!=n?n:null,k:null,m:null,v:null,$:null,j:null}),M={},R={forEach:(t,n)=>t.map(T).forEach(n),map:(t,n)=>t.map(T).map(n).map(x)},T=t=>({vattrs:t.v,vchildren:t.m,vkey:t.$,vname:t.j,vtag:t.O,vtext:t.h}),x=t=>{if("function"==typeof t.vtag){const n={...t.vattrs};return t.vkey&&(n.key=t.vkey),t.vname&&(n.name=t.vname),E(t.vtag,n,...t.vchildren||[])}const n=C(t.vtag,t.vtext);return n.v=t.vattrs,n.m=t.vchildren,n.$=t.vkey,n.j=t.vname,n},F=(t,n)=>null==t||S(t)?t:4&n?"false"!==t&&(""===t||!!t):2&n?"string"==typeof t?parseFloat(t):"number"==typeof t?t:NaN:1&n?t+"":t,L=(t,e)=>{const o=(t=>{var e;return null==(e=n(t))?void 0:e.$hostElement$})(t);return{emit:t=>A(o,e,{bubbles:!0,composed:!0,cancelable:!0,detail:t})}},A=(t,n,e)=>{const o=r.ce(n,e);return t.dispatchEvent(o),o},P=(t,n,e,l,s,c)=>{if(e===l)return;let u=o(t,n),f=n.toLowerCase();if("class"===n){const n=t.classList,o=_(e);let s=_(l);n.remove(...o.filter((t=>t&&!s.includes(t)))),n.add(...s.filter((t=>t&&!o.includes(t))))}else if("key"===n);else if("ref"===n)l&&it(l,t);else if(u||"o"!==n[0]||"n"!==n[1]){if("a"===n[0]&&n.startsWith("attr:")){const e=n.slice(5);return void(null==l||!1===l?!1===l&&""!==t.getAttribute(e)||t.removeAttribute(e):t.setAttribute(e,!0===l?"":l))}if("p"===n[0]&&n.startsWith("prop:")){const e=n.slice(5);try{t[e]=l}catch(t){}return}{const o=S(l);if(u||o&&null!==l)try{if(t.tagName.includes("-"))t[n]!==l&&(t[n]=l);else{const o=null==l?"":l;"list"===n?u=!1:null!=e&&t[n]===o||("function"==typeof t.__lookupSetter__(n)?t[n]=o:t.setAttribute(n,o))}}catch(t){}null==l||!1===l?!1===l&&""!==t.getAttribute(n)||t.removeAttribute(n):(!u||4&c||s)&&!o&&1===t.nodeType&&t.setAttribute(n,l=!0===l?"":l)}}else if(n="-"===n[2]?n.slice(3):o(i,f)?f.slice(2):f[2]+n.slice(3),e||l){const o=n.endsWith(U);n=n.replace(W,""),e&&r.rel(t,n,e,o),l&&r.ael(t,n,l,o)}},D=/\s/,_=t=>("object"==typeof t&&t&&"baseVal"in t&&(t=t.baseVal),t&&"string"==typeof t?t.split(D):[]),U="Capture",W=RegExp(U+"$"),B=(t,n,e)=>{const o=11===n.k.nodeType&&n.k.host?n.k.host:n.k,l=t&&t.v||{},s=n.v||{};for(const t of V(Object.keys(l)))t in s||P(o,t,l[t],void 0,e,n.u);for(const t of V(Object.keys(s)))P(o,t,l[t],s[t],e,n.u)};function V(t){return t.includes("ref")?[...t.filter((t=>"ref"!==t)),"ref"]:t}var q=!1,z=!1,H=!1,Y=!1,G=[],I=[],J=(t,n,e)=>{var o;const l=n.m[e];let s,r,c,u=0;if(q||(H=!0,"slot"===l.O&&(l.u|=l.m?2:1)),null!=l.h)s=l.k=i.document.createTextNode(l.h);else if(1&l.u)s=l.k=i.document.createTextNode(""),B(null,l,Y);else{if(!i.document)throw Error("You are trying to render a Stencil component in an environment that doesn't support the DOM.");if(s=l.k=i.document.createElement(!q&&2&l.u?"slot-fb":l.O),B(null,l,Y),l.m){const n="template"===l.O?s.content:s;for(u=0;u<l.m.length;++u)r=J(t,l,u),r&&n.appendChild(r)}}return s["s-hn"]=k,3&l.u&&(s["s-sr"]=!0,s["s-cr"]=O,s["s-sn"]=l.j||"",s["s-rf"]=null==(o=l.v)?void 0:o.ref,function(t){if(t.assignedElements||t.assignedNodes||!t["s-sr"])return;const n=n=>function(t){const e=[],o=this["s-sn"];(null==t?void 0:t.flatten)&&console.error("\n Flattening is not supported for Stencil non-shadow slots.\n You can use `.childNodes` to nested slot fallback content.\n If you have a particular use case, please open an issue on the Stencil repo.\n ");const l=this["s-cr"].parentElement;return(l.__childNodes?l.childNodes:(t=>{const n=[];for(let e=0;e<t.length;e++){const o=t[e]["s-nr"]||void 0;o&&o.isConnected&&n.push(o)}return n})(l.childNodes)).forEach((t=>{o===g(t)&&e.push(t)})),n?e.filter((t=>1===t.nodeType)):e}.bind(t);t.assignedElements=n(!0),t.assignedNodes=n(!1)}(s),c=t&&t.m&&t.m[e],c&&c.O===l.O&&t.k&&K(t.k)),s},K=t=>{r.u|=1;const n=t.closest(k.toLowerCase());if(null!=n){const e=Array.from(n.__childNodes||n.childNodes).find((t=>t["s-cr"])),o=Array.from(t.__childNodes||t.childNodes);for(const t of e?o.reverse():o)null!=t["s-sh"]&&(rt(n,t,null!=e?e:null),t["s-sh"]=void 0,H=!0)}r.u&=-2},Q=(t,n)=>{r.u|=1;const e=Array.from(t.__childNodes||t.childNodes);if(t["s-sr"]){let n=t;for(;n=n.nextSibling;)n&&n["s-sn"]===t["s-sn"]&&n["s-sh"]===k&&e.push(n)}for(let t=e.length-1;t>=0;t--){const o=e[t];o["s-hn"]!==k&&o["s-ol"]&&(rt(nt(o).parentNode,o,nt(o)),o["s-ol"].remove(),o["s-ol"]=void 0,o["s-sh"]=void 0,H=!0),n&&Q(o,n)}r.u&=-2},X=(t,n,e,o,l,s)=>{let i,r=t["s-cr"]&&t["s-cr"].parentNode||t;for("template"===e.O&&(r=r.content);l<=s;++l)o[l]&&(i=J(null,e,l),i&&(o[l].k=i,rt(r,i,nt(n))))},Z=(t,n,e)=>{for(let o=n;o<=e;++o){const n=t[o];if(n){const t=n.k;st(n),t&&(z=!0,t["s-ol"]?t["s-ol"].remove():Q(t,!0),t.remove())}}},tt=(t,n,e=!1)=>t.O===n.O&&("slot"===t.O?t.j===n.j:e?(e&&!t.$&&n.$&&(t.$=n.$),!0):t.$===n.$),nt=t=>t&&t["s-ol"]||t,et=(t,n,e=!1)=>{const o=n.k=t.k,l=t.m,s=n.m,i=n.h;let r;null==i?("slot"!==n.O||q||t.j!==n.j&&(n.k["s-sn"]=n.j||"",K(n.k.parentElement)),B(t,n,Y),null!==l&&null!==s?((t,n,e,o,l=!1)=>{let s,i,r=0,c=0,u=0,f=0,a=n.length-1,d=n[0],p=n[a],h=o.length-1,v=o[0],m=o[h];const b="template"===e.O?t.content:t;for(;r<=a&&c<=h;)if(null==d)d=n[++r];else if(null==p)p=n[--a];else if(null==v)v=o[++c];else if(null==m)m=o[--h];else if(tt(d,v,l))et(d,v,l),d=n[++r],v=o[++c];else if(tt(p,m,l))et(p,m,l),p=n[--a],m=o[--h];else if(tt(d,m,l))"slot"!==d.O&&"slot"!==m.O||Q(d.k.parentNode,!1),et(d,m,l),rt(b,d.k,p.k.nextSibling),d=n[++r],m=o[--h];else if(tt(p,v,l))"slot"!==d.O&&"slot"!==m.O||Q(p.k.parentNode,!1),et(p,v,l),rt(b,p.k,d.k),p=n[--a],v=o[++c];else{for(u=-1,f=r;f<=a;++f)if(n[f]&&null!==n[f].$&&n[f].$===v.$){u=f;break}u>=0?(i=n[u],i.O!==v.O?s=J(n&&n[c],e,u):(et(i,v,l),n[u]=void 0,s=i.k),v=o[++c]):(s=J(n&&n[c],e,c),v=o[++c]),s&&rt(nt(d.k).parentNode,s,nt(d.k))}r>a?X(t,null==o[h+1]?null:o[h+1].k,e,o,c,h):c>h&&Z(n,r,a)})(o,l,n,s,e):null!==s?(null!==t.h&&(o.textContent=""),X(o,null,n,s,0,s.length-1)):!e&&null!==l&&Z(l,0,l.length-1)):(r=o["s-cr"])?r.parentNode.textContent=i:t.h!==i&&(o.data=i)},ot=[],lt=t=>{let n,e,o;const l=t.__childNodes||t.childNodes;for(const t of l){if(t["s-sr"]&&(n=t["s-cr"])&&n.parentNode){e=n.parentNode.__childNodes||n.parentNode.childNodes;const l=t["s-sn"];for(o=e.length-1;o>=0;o--)if(n=e[o],!(n["s-cn"]||n["s-nr"]||n["s-hn"]===t["s-hn"]||n["s-sh"]&&n["s-sh"]===t["s-hn"]))if(j(n,l)){let e=ot.find((t=>t.N===n));z=!0,n["s-sn"]=n["s-sn"]||l,e?(e.N["s-sh"]=t["s-hn"],e.S=t):(n["s-sh"]=t["s-hn"],ot.push({S:t,N:n})),n["s-sr"]&&ot.map((t=>{j(t.N,n["s-sn"])&&(e=ot.find((t=>t.N===n)),e&&!t.S&&(t.S=e.S))}))}else ot.some((t=>t.N===n))||ot.push({N:n})}1===t.nodeType&&lt(t)}},st=t=>{t.v&&t.v.ref&&G.push((()=>t.v.ref(null))),t.m&&t.m.map(st)},it=(t,n)=>{I.push((()=>t(n)))},rt=(t,n,e,o)=>{if("string"==typeof n["s-sn"]){t.insertBefore(n,e);const{slotNode:l}=function(t,n){var e;if(!(n=n||(null==(e=t["s-ol"])?void 0:e.parentElement)))return{slotNode:null,slotName:""};const o=t["s-sn"]=g(t)||"";return{slotNode:y(w(n,"childNodes"),n.tagName,o)[0],slotName:o}}(n);return l&&!o&&function(t){t.dispatchEvent(new CustomEvent("slotchange",{bubbles:!1,cancelable:!1,composed:!1}))}(l),n}return t.__insertBefore?t.__insertBefore(n,e):null==t?void 0:t.insertBefore(n,e)},ct=(t,n)=>{if(n&&!t.C&&n["s-p"]){const e=n["s-p"].push(new Promise((o=>t.C=()=>{n["s-p"].splice(e-1,1),o()})))}},ut=(t,n)=>{if(t.u|=16,4&t.u)return void(t.u|=512);ct(t,t.M);const e=()=>ft(t,n);if(!n)return m(e);queueMicrotask((()=>{e()}))},ft=(t,n)=>{const e=t.$hostElement$,o=t.i;if(!o)throw Error(`Can't render component <${e.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let l;return n?(t.R&&(t.R=!1,bt(o,"connectedCallback",void 0,e)),t.T.length&&t.T.forEach((t=>t(e))),l=bt(o,"componentWillLoad",void 0,e)):l=bt(o,"componentWillUpdate",void 0,e),l=at(l,(()=>bt(o,"componentWillRender",void 0,e))),at(l,(()=>pt(t,o,n)))},at=(t,n)=>dt(t)?t.then(n).catch((t=>{console.error(t),n()})):n(),dt=t=>t instanceof Promise||t&&t.then&&"function"==typeof t.then,pt=async(t,n,e)=>{var o;const l=t.$hostElement$,s=l["s-rc"];ht(t,n,l,e),s&&(s.map((t=>t())),l["s-rc"]=void 0);{const n=null!=(o=l["s-p"])?o:[],e=()=>vt(t);0===n.length?e():(Promise.all(n).then(e),t.u|=4,n.length=0)}},ht=(t,n,e,o)=>{try{n=n.render(),t.u&=-17,t.u|=2,((t,n,e=!1)=>{var o,l,s,c,u;const f=t.$hostElement$,a=t.o,d=t.F||C(null,null),p=(t=>t&&t.O===M)(n)?n:E(null,null,n);if(k=f.tagName,e&&p.v)for(const t of Object.keys(p.v))f.hasAttribute(t)&&!["key","ref","style","class"].includes(t)&&(p.v[t]=f[t]);if(p.O=null,p.u|=4,t.F=p,p.k=d.k=f,q=!1,O=f["s-cr"],z=!1,et(d,p,e),r.u|=1,H){lt(p.k);for(const t of ot){const n=t.N;if(!n["s-ol"]&&i.document){const t=i.document.createTextNode("");t["s-nr"]=n,rt(n.parentNode,n["s-ol"]=t,n,e)}}for(const t of ot){const n=t.N,r=t.S;if(1===n.nodeType&&e&&(n["s-ih"]=null!=(o=n.hidden)&&o),r){const t=r.parentNode;let o=r.nextSibling;if(o&&1===o.nodeType){let e=null==(l=n["s-ol"])?void 0:l.previousSibling;for(;e;){let l=null!=(s=e["s-nr"])?s:null;if(l&&l["s-sn"]===n["s-sn"]&&t===(l.__parentNode||l.parentNode)){for(l=l.nextSibling;l===n||(null==l?void 0:l["s-sr"]);)l=null==l?void 0:l.nextSibling;if(!l||!l["s-nr"]){o=l;break}}e=e.previousSibling}}if((!o&&t!==(n.__parentNode||n.parentNode)||(n.__nextSibling||n.nextSibling)!==o)&&n!==o){if(rt(t,n,o,e),8===n.nodeType&&n.nodeValue.startsWith("s-nt-")){const t=i.document.createTextNode(n.nodeValue.replace(/^s-nt-/,""));t["s-hn"]=n["s-hn"],t["s-sn"]=n["s-sn"],t["s-sh"]=n["s-sh"],t["s-sr"]=n["s-sr"],t["s-ol"]=n["s-ol"],t["s-ol"]["s-nr"]=t,rt(n.parentNode,t,n,e),n.parentNode.removeChild(n)}1===n.nodeType&&"SLOT-FB"!==n.tagName&&(n.hidden=null!=(c=n["s-ih"])&&c)}n&&"function"==typeof r["s-rf"]&&r["s-rf"](r)}else 1===n.nodeType&&(n.hidden=!0)}}if(z&&b(p.k),r.u&=-2,ot.length=0,!q&&!(1&a.u)&&f["s-cr"]){const t=p.k.__childNodes||p.k.childNodes;for(const n of t)if(n["s-hn"]!==k&&!n["s-sh"])if(e&&null==n["s-ih"]&&(n["s-ih"]=null!=(u=n.hidden)&&u),1===n.nodeType)n.hidden=!0;else if(3===n.nodeType&&n.nodeValue.trim()){const t=i.document.createComment("s-nt-"+n.nodeValue);t["s-sn"]=n["s-sn"],rt(n.parentNode,t,n,e),n.parentNode.removeChild(n)}}O=void 0,G.forEach((t=>t())),G.length=0,I.forEach((t=>t())),I.length=0})(t,n,o)}catch(n){l(n,t.$hostElement$)}return null},vt=t=>{const n=t.$hostElement$,e=t.i,o=t.M;bt(e,"componentDidRender",void 0,n),64&t.u?bt(e,"componentDidUpdate",void 0,n):(t.u|=64,yt(n),bt(e,"componentDidLoad",void 0,n),t.L(n),o||mt()),t.C&&(t.C(),t.C=void 0),512&t.u&&v((()=>ut(t,!1))),t.u&=-517},mt=()=>{v((()=>A(i,"appload",{detail:{namespace:"db-ux"}})))},bt=(t,n,e,o)=>{if(t&&t[n])try{return t[n](e)}catch(t){l(t,o)}},yt=t=>t.classList.add("hydrated"),$t=(t,e,o,s)=>{const i=n(t);if(!i)return;if(!i)throw Error(`Couldn't find host element for "${s.A}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/stenciljs/core/issues/5457).`);const r=i.$hostElement$,c=i.l.get(e),u=i.u,f=i.i;if(o=F(o,s.t[e][0]),!(8&u&&void 0!==c||o===c||Number.isNaN(c)&&Number.isNaN(o))){if(i.l.set(e,o),s.P){const t=s.P[e];t&&t.map((t=>{try{const[[n,l]]=Object.entries(t);(128&u||1&l)&&(f?f[n](o,c,e):i.T.push((()=>{i.i[n](o,c,e)})))}catch(t){l(t,r)}}))}if(2==(18&u)){if(f.componentShouldUpdate&&!1===f.componentShouldUpdate(o,c,e))return;ut(i,!1)}}},jt=(t,e,o)=>{var l,s;const i=t.prototype;{t.watchers&&!e.P&&(e.P=t.watchers),t.deserializers&&!e.D&&(e.D=t.deserializers),t.serializers&&!e._&&(e._=t.serializers);const c=Object.entries(null!=(l=e.t)?l:{});if(c.map((([t,[l]])=>{if(31&l||2&o&&32&l){const{get:s,set:r}=Object.getOwnPropertyDescriptor(i,t)||{};s&&(e.t[t][0]|=2048),r&&(e.t[t][0]|=4096),(1&o||!s)&&Object.defineProperty(i,t,{get(){{if(!(2048&e.t[t][0]))return((t,e)=>n(this).l.get(e))(0,t);const o=n(this),l=o?o.i:i;if(!l)return;return l[t]}},configurable:!0,enumerable:!0}),Object.defineProperty(i,t,{set(s){const i=n(this);if(i){if(r)return void 0===(32&l?this[t]:i.$hostElement$[t])&&i.l.get(t)&&(s=i.l.get(t)),r.call(this,F(s,l)),void $t(this,t,s=32&l?this[t]:i.$hostElement$[t],e);{if(!(1&o&&4096&e.t[t][0]))return $t(this,t,s,e),void(1&o&&!i.i&&i.T.push((()=>{4096&e.t[t][0]&&i.i[t]!==i.l.get(t)&&(i.i[t]=s)})));const n=()=>{const n=i.i[t];!i.l.get(t)&&n&&i.l.set(t,n),i.i[t]=F(s,l),$t(this,t,i.i[t],e)};i.i?n():i.T.push((()=>{n()}))}}}})}})),1&o){const o=new Map;i.attributeChangedCallback=function(t,l,s){r.jmp((()=>{var r;const u=o.get(t),f=n(this);if(this.hasOwnProperty(u)&&(s=this[u],delete this[u]),i.hasOwnProperty(u)&&"number"==typeof this[u]&&this[u]==s)return;if(null==u){const n=null==f?void 0:f.u;if(f&&n&&!(8&n)&&s!==l){const o=f.i,i=null==(r=e.P)?void 0:r[t];null==i||i.forEach((e=>{const[[i,r]]=Object.entries(e);null!=o[i]&&(128&n||1&r)&&o[i].call(o,s,l,t)}))}return}const a=c.find((([t])=>t===u));a&&4&a[1][0]&&(s=null!==s&&"false"!==s);const d=Object.getOwnPropertyDescriptor(i,u);s==this[u]||d.get&&!d.set||(this[u]=s)}))},t.observedAttributes=Array.from(new Set([...Object.keys(null!=(s=e.P)?s:{}),...c.filter((([t,n])=>31&n[0])).map((([t,n])=>{const e=n[1]||t;return o.set(e,t),e}))]))}}return t},gt=(t,n)=>{bt(t,"connectedCallback",void 0,n)},wt=(t,n)=>{bt(t,"disconnectedCallback",void 0,n||t)},Ot=(t,e={})=>{var o;if(!i.document)return void console.warn("Stencil: No document found. Skipping bootstrapping lazy components.");const c=[],u=e.exclude||[],f=i.customElements,a=i.document.head,d=a.querySelector("meta[charset]"),p=i.document.createElement("style"),h=[];let v,m=!0;Object.assign(r,e),r.p=new URL(e.resourcesUrl||"./",i.document.baseURI).href;let b=!1;if(t.map((t=>{t[1].map((e=>{var o,a,d;const p={u:e[0],A:e[1],t:e[2],U:e[3]};4&p.u&&(b=!0),p.t=e[2],p.P=null!=(o=e[4])?o:{},p._=null!=(a=e[5])?a:{},p.D=null!=(d=e[6])?d:{};const y=p.A,$=class extends HTMLElement{"s-p";"s-rc";hasRegisteredEventListeners=!1;constructor(t){super(t),((t,n)=>{const e={u:0,$hostElement$:t,o:n,l:new Map,W:new Map};e.B=new Promise((t=>e.L=t)),t["s-p"]=[],t["s-rc"]=[],e.T=[];const o=e;t.__stencil__getHostRef=()=>o})(t=this,p)}connectedCallback(){n(this)&&(this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0),v&&(clearTimeout(v),v=null),m?h.push(this):r.jmp((()=>(t=>{if(!(1&r.u)){const e=n(t);if(!e)return;const o=e.o,r=()=>{};if(1&e.u)(null==e?void 0:e.i)?gt(e.i,t):(null==e?void 0:e.B)&&e.B.then((()=>gt(e.i,t)));else{e.u|=1,12&o.u&&(t=>{if(!i.document)return;const n=t["s-cr"]=i.document.createComment("");n["s-cn"]=!0,rt(t,n,t.firstChild)})(t);{let n=t;for(;n=n.parentNode||n.host;)if(n["s-p"]){ct(e,e.M=n);break}}o.t&&Object.entries(o.t).map((([n,[e]])=>{if(31&e&&n in t&&t[n]!==Object.prototype[n]){const e=t[n];delete t[n],t[n]=e}})),(async(t,n,e)=>{let o;if(!(32&n.u))if(n.u|=32,e.V){const i=((t,n)=>{const e=t.A.replace(/-/g,"_"),o=t.V;if(!o)return;const i=s.get(o);return i?i[e]:import(`./${o}.entry.js`).then((t=>(s.set(o,t),t[e])),(t=>{l(t,n.$hostElement$)}))
2
- /*!__STENCIL_STATIC_IMPORT_SWITCH__*/})(e,n);if(i&&"then"in i){const t=()=>{};o=await i,t()}else o=i;if(!o)throw Error(`Constructor for "${e.A}#${n.q}" was not found`);o.isProxied||(e.P=o.watchers,e._=o.serializers,e.D=o.deserializers,jt(o,e,2),o.isProxied=!0);const r=()=>{};n.u|=8;try{new o(n)}catch(n){l(n,t)}n.u&=-9,n.u|=128,r(),4&e.u?n.R=!0:gt(n.i,t)}else o=t.constructor,customElements.whenDefined(t.localName).then((()=>n.u|=128));const i=n.M,r=()=>ut(n,!0);i&&i["s-rc"]?i["s-rc"].push(r):r()})(t,e,o)}r()}})(this))))}disconnectedCallback(){r.jmp((()=>(async t=>{if(!(1&r.u)){const e=n(t);(null==e?void 0:e.i)?wt(e.i,t):(null==e?void 0:e.B)&&e.B.then((()=>wt(e.i,t)))}N.has(t)&&N.delete(t),t.shadowRoot&&N.has(t.shadowRoot)&&N.delete(t.shadowRoot)})(this))),r.raf((()=>{var t;const e=n(this);if(!e)return;const o=h.findIndex((t=>t===this));o>-1&&h.splice(o,1),(null==(t=null==e?void 0:e.F)?void 0:t.k)instanceof Node&&!e.F.k.isConnected&&delete e.F.k}))}componentOnReady(){var t;return null==(t=n(this))?void 0:t.B}};p.V=t[0],u.includes(y)||f.get(y)||(c.push(y),f.define(y,jt($,p,1)))}))})),c.length>0&&(b&&(p.textContent+="slot-fb{display:contents}slot-fb[hidden]{display:none}"),p.textContent+=c.sort()+"{visibility:hidden}.hydrated{visibility:inherit}",p.innerHTML.length)){p.setAttribute("data-styles","");const t=null!=(o=r.H)?o:function(){var t,n,e;return null!=(e=null==(n=null==(t=i.document.head)?void 0:t.querySelector('meta[name="csp-nonce"]'))?void 0:n.getAttribute("content"))?e:void 0}();null!=t&&p.setAttribute("nonce",t),a.insertBefore(p,d?d.nextSibling:a.firstChild)}m=!1,h.length?h.map((t=>t.connectedCallback())):r.jmp((()=>v=setTimeout(mt,30)))},kt=(t,n)=>n,Nt=t=>r.H=t;export{kt as F,Ot as b,L as c,E as h,c as p,e as r,Nt as s}
@@ -1 +0,0 @@
1
- import{r as t,h as i}from"./p-05XnVETo.js";import{D as s}from"./p-BdL-nI5y.js";import{d as e,u as a,g as o,c as h}from"./p-C4x0SOcx.js";import{D as n}from"./p-RHqkTr-_.js";import{b as d}from"./p-G-TursYV.js";const r=class{constructor(i){t(this,i),this._id=s,this.initialized=!1,this._documentScrollListenerCallbackId=void 0,this._observer=void 0}handleClick(t){t.stopPropagation()}handleEscape(t){t&&"Escape"!==t.key||!this._ref||"visible"!==getComputedStyle(this._ref).visibility||this.getParent().blur()}getParent(){let t=this._ref.parentElement;return t&&t.localName.includes("tooltip")&&(t=t.parentElement),t}handleAutoPlacement(t){t&&this._ref&&e((()=>{var i;this._ref&&d(this._ref,t,null!==(i=this.placement)&&void 0!==i?i:"bottom")}),1)}handleDocumentScroll(t,i){var s,e;(null===(s=null==t?void 0:t.target)||void 0===s?void 0:s.contains)&&(null===(e=null==t?void 0:t.target)||void 0===e?void 0:e.contains(this._ref))&&this.handleAutoPlacement(i)}handleLeave(){var t;this._documentScrollListenerCallbackId&&(new n).removeCallback(this._documentScrollListenerCallbackId),null===(t=this._observer)||void 0===t||t.unobserve(this.getParent())}handleEnter(t){var i;this._documentScrollListenerCallbackId=(new n).addCallback((i=>this.handleDocumentScroll(i,t))),this.handleAutoPlacement(t),null===(i=this._observer)||void 0===i||i.observe(this.getParent())}enableAttributePassing(t,i){const s=null==t?void 0:t.closest(i);if(t&&s){const i=s.attributes;for(let e=0;e<i.length;e++){const a=i.item(e);if(a&&(a.name.startsWith("data-")||a.name.startsWith("aria-"))&&(t.setAttribute(a.name,a.value),s.removeAttribute(a.name)),a&&"class"===a.name){const i=a.value.includes("hydrated"),e=a.value.replace("hydrated","").trim(),o=t.getAttribute("class");t.setAttribute(a.name,`${o?`${o} `:""}${e}`),i?s.setAttribute("class","hydrated"):s.removeAttribute(a.name)}}}}watch0Fn(){if(this._ref&&this.initialized&&this._id){const t=this.getParent();t&&(["mouseenter","focusin"].forEach((i=>{t.addEventListener(i,(()=>this.handleEnter(t)))})),t.addEventListener("keydown",(t=>this.handleEscape(t))),["mouseleave","focusout"].forEach((i=>{t.addEventListener(i,(()=>this.handleLeave()))})),t.dataset.hasTooltip="true",t.setAttribute("label"===this.variant?"aria-labelledby":"aria-describedby",this._id)),"undefined"!=typeof window&&"IntersectionObserver"in window&&(this._observer=new IntersectionObserver((t=>{const i=t.find((({target:t})=>t===this.getParent()));i&&!i.isIntersecting&&this.handleEscape(!1)}))),this.initialized=!1}}watch0(){this.watch0Fn()}componentDidLoad(){this.enableAttributePassing(this._ref,"db-tooltip"),this._id=this.id||"tooltip-"+a(),this.initialized=!0,this.watch0Fn()}render(){var t,s;return i("i",{key:"4bbec1f80b0912b870b2382cf63c3e1cba11b5e3",class:h("db-tooltip",this.className),role:"tooltip","aria-hidden":"true","data-gap":"true",ref:t=>{this._ref=t},id:this._id,"data-emphasis":this.emphasis,"data-animation":o(null===(t=this.animation)||void 0===t||t),"data-delay":this.delay,"data-width":this.width,"data-show-arrow":o(null===(s=this.showArrow)||void 0===s||s),"data-placement":this.placement,onClick:t=>this.handleClick(t)},i("slot",{key:"7bcf79fa968c0a8bef84dd49c71f307c3094072c"}))}static get watchers(){return{_ref:[{watch0:0}],initialized:[{watch0:0}]}}};export{r as db_tooltip}
@@ -1 +0,0 @@
1
- import{r as t,c as s,h as i}from"./p-05XnVETo.js";import{D as a}from"./p-BdL-nI5y.js";import{u as h,g as c,c as e}from"./p-C4x0SOcx.js";const n=class{constructor(i){t(this,i),this.toggle=s(this,"toggle"),this._id=a,this._open=!1,this._name=void 0,this.initialized=!1}handleNameAttribute(){if(this._ref){const t=this._ref.setAttribute;this._ref.setAttribute=(s,i)=>{t.call(this._ref,s,i),"name"===s&&(this._name=i)}}}handleToggle(t){null==t||t.preventDefault();const s=!this._open;this.toggle&&this.toggle.emit(s),this._open=s}enableAttributePassing(t,s){const i=null==t?void 0:t.closest(s);if(t&&i){const s=i.attributes;for(let a=0;a<s.length;a++){const h=s.item(a);if(h&&(h.name.startsWith("data-")||h.name.startsWith("aria-"))&&(t.setAttribute(h.name,h.value),i.removeAttribute(h.name)),h&&"class"===h.name){const s=h.value.includes("hydrated"),a=h.value.replace("hydrated","").trim(),c=t.getAttribute("class");t.setAttribute(h.name,`${c?`${c} `:""}${a}`),s?i.setAttribute("class","hydrated"):i.removeAttribute(h.name)}}}}watch0Fn(){}watch0(){this.watch0Fn()}watch1Fn(){this.name&&(this._name=this.name)}watch1(){this.watch1Fn()}componentDidLoad(){this.enableAttributePassing(this._ref,"db-accordion-item"),this._id=this.id||"accordion-item-"+h(),this.defaultOpen&&(this._open=this.defaultOpen),this.initialized=!0,this.watch0Fn(),this.watch1Fn()}render(){return i("li",{key:"8d83cc801cb95a73fc14fd6498c243f5c6afa22b",class:e("db-accordion-item",this.className),id:this._id},i("details",{key:"34273cd5211ae03c006350b9c7537fced121a7a2","aria-disabled":c(this.disabled),ref:t=>{this._ref=t},name:this._name,open:this._open},i("summary",{key:"ec28c1a939f3cabab7b6b842fc46620e55940e6a",onClick:t=>this.handleToggle(t)},this.headlinePlain?this.headlinePlain:null,this.headlinePlain?null:i("slot",{name:"headline"})),i("div",{key:"6934f2e25c3343e7d20c8fac47410bafe05b750c"},this.text?this.text:i("slot",null))))}static get watchers(){return{_ref:[{watch0:0}],initialized:[{watch0:0}],name:[{watch1:0}]}}};export{n as db_accordion_item}
@@ -1 +0,0 @@
1
- import{r as t,h as s,c as i}from"./p-05XnVETo.js";import{c as a,e as h,u as e,g as d,h as o,d as l,s as c,i as n,k as r,f as u,j as b,b as f,l as v}from"./p-C4x0SOcx.js";import{l as m,g as p,h as y,j as g,f as k,k as w,b as x,a as $,m as _}from"./p-BdL-nI5y.js";import{c as C}from"./p-CAEpg8tJ.js";const F=class{constructor(s){t(this,s),this.width="fixed"}enableAttributePassing(t,s){const i=null==t?void 0:t.closest(s);if(t&&i){const s=i.attributes;for(let a=0;a<s.length;a++){const h=s.item(a);if(h&&(h.name.startsWith("data-")||h.name.startsWith("aria-"))&&(t.setAttribute(h.name,h.value),i.removeAttribute(h.name)),h&&"class"===h.name){const s=h.value.includes("hydrated"),a=h.value.replace("hydrated","").trim(),e=t.getAttribute("class");t.setAttribute(h.name,`${e?`${e} `:""}${a}`),s?i.setAttribute("class","hydrated"):i.removeAttribute(h.name)}}}}componentDidLoad(){this.enableAttributePassing(this._ref,"db-custom-select-dropdown")}render(){return s("article",{key:"98087cc1db985bbb2e2578cb9e2c78bc3a0c3b23",class:a("db-custom-select-dropdown db-card",this.className),"data-spacing":"none",ref:t=>{this._ref=t},id:this.id,"data-width":this.width},s("slot",{key:"25bcaa79bdf8168feffce0a59c0adbc656023e64"}))}},L=class{constructor(s){t(this,s)}enableAttributePassing(t,s){const i=null==t?void 0:t.closest(s);if(t&&i){const s=i.attributes;for(let a=0;a<s.length;a++){const h=s.item(a);if(h&&(h.name.startsWith("data-")||h.name.startsWith("aria-"))&&(t.setAttribute(h.name,h.value),i.removeAttribute(h.name)),h&&"class"===h.name){const s=h.value.includes("hydrated"),a=h.value.replace("hydrated","").trim(),e=t.getAttribute("class");t.setAttribute(h.name,`${e?`${e} `:""}${a}`),s?i.setAttribute("class","hydrated"):i.removeAttribute(h.name)}}}}componentDidLoad(){this.enableAttributePassing(this._ref,"db-custom-select-list")}render(){return s("div",{key:"f47e219aac45d07e958a94969205260af981bcf1",class:a("db-custom-select-list",this.className),role:this.multiple?"group":"radiogroup","aria-label":this.label,ref:t=>{this._ref=t},id:this.id},s("ul",{key:"adca0d159ec4cd5d2dc46f11fe41006276dba94f"},s("slot",{key:"abb6edfb683a3e4a42512b2185854099c66f1f3c"})))}},A=class{constructor(s){t(this,s),this.change=i(this,"change"),this._id=void 0,this.hasDivider=!1}handleChange(t){t.stopPropagation(),this.change&&this.change.emit(t)}getIconTrailing(){if(!this.isGroupTitle&&"checkbox"!==this.type)return h(this.checked,"checked")?"check":"x_placeholder"}enableAttributePassing(t,s){const i=null==t?void 0:t.closest(s);if(t&&i){const s=i.attributes;for(let a=0;a<s.length;a++){const h=s.item(a);if(h&&(h.name.startsWith("data-")||h.name.startsWith("aria-"))&&(t.setAttribute(h.name,h.value),i.removeAttribute(h.name)),h&&"class"===h.name){const s=h.value.includes("hydrated"),a=h.value.replace("hydrated","").trim(),e=t.getAttribute("class");t.setAttribute(h.name,`${e?`${e} `:""}${a}`),s?i.setAttribute("class","hydrated"):i.removeAttribute(h.name)}}}}watch0Fn(){this.hasDivider=Boolean(this.isGroupTitle||this.showDivider)}watch0(){this.watch0Fn()}componentDidLoad(){var t;this.enableAttributePassing(this._ref,"db-custom-select-list-item"),this._id=null!==(t=this.id)&&void 0!==t?t:`custom-select-list-item-${e()}`,this.watch0Fn()}render(){return s("li",{key:"d94821da8bf1842933f6518079c9e463459bed2b",class:a("db-custom-select-list-item",this.className,{"db-checkbox":"checkbox"===this.type&&!this.isGroupTitle,"db-radio":"checkbox"!==this.type&&!this.isGroupTitle}),ref:t=>{this._ref=t},id:this._id,"data-divider":d(this.hasDivider)},this.isGroupTitle?s("span",null,this.groupTitle):s("label",{"data-icon":"checkbox"!==this.type&&this.icon?this.icon:void 0,"data-show-icon":d(this.showIcon),"data-icon-trailing":this.getIconTrailing()},s("input",{class:"db-custom-select-list-item-checkbox","data-disable-focus":"true",type:this.type,name:this.name,form:this.name,checked:h(this.checked,"checked"),disabled:h(this.disabled,"disabled"),value:this.value,onChange:t=>this.handleChange(t)}),this.label?this.label:s("slot",null)))}static get watchers(){return{isGroupTitle:[{watch0:0}],showDivider:[{watch0:0}]}}},D=class{constructor(s){t(this,s),this.input=i(this,"input"),this.change=i(this,"change"),this.blur=i(this,"blur"),this.focus=i(this,"focus"),this._id=void 0,this._messageId=void 0,this._validMessageId=void 0,this._invalidMessageId=void 0,this._invalidMessage=void 0,this._dataListId=void 0,this._descByIds=void 0,this._value="",this._voiceOverFallback="",this.abortController=void 0}hasValidState(){var t;return!!(null!==(t=this.validMessage)&&void 0!==t?t:"valid"===this.validation)}handleValidation(){var t,s,i,a;(null===(t=this._ref)||void 0===t?void 0:t.validity.valid)&&"invalid"!==this.validation?this.hasValidState()&&(null===(i=this._ref)||void 0===i?void 0:i.validity.valid)&&(this.required||this.minLength||this.maxLength||this.pattern)?(this._descByIds=this._validMessageId,o()&&(this._voiceOverFallback=null!==(a=this.validMessage)&&void 0!==a?a:w,l((()=>this._voiceOverFallback=""),1e3))):this._descByIds=c(this.message,this.showMessage)?this._messageId:void 0:(this._descByIds=this._invalidMessageId,this._invalidMessage=this.invalidMessage||(null===(s=this._ref)||void 0===s?void 0:s.validationMessage)||m,o()&&(this._voiceOverFallback=this._invalidMessage,l((()=>this._voiceOverFallback=""),1e3)))}handleInput(t,s){this.input&&this.input.emit(t),this.handleValidation()}handleChange(t,s){this.change&&this.change.emit(t),this.handleValidation()}handleBlur(t){this.blur&&this.blur.emit(t)}handleFocus(t){this.focus&&this.focus.emit(t)}getDataList(){const t=this.dataList;return Array.from((n(t)?null==t?void 0:t.map((t=>({value:t,label:void 0}))):t)||[])}enableAttributePassing(t,s){const i=null==t?void 0:t.closest(s);if(t&&i){const s=i.attributes;for(let a=0;a<s.length;a++){const h=s.item(a);if(h&&(h.name.startsWith("data-")||h.name.startsWith("aria-"))&&(t.setAttribute(h.name,h.value),i.removeAttribute(h.name)),h&&"class"===h.name){const s=h.value.includes("hydrated"),a=h.value.replace("hydrated","").trim(),e=t.getAttribute("class");t.setAttribute(h.name,`${e?`${e} `:""}${a}`),s?i.setAttribute("class","hydrated"):i.removeAttribute(h.name)}}}}watch0Fn(){var t;this._invalidMessage=this.invalidMessage||(null===(t=this._ref)||void 0===t?void 0:t.validationMessage)||m}watch0(){this.watch0Fn()}watch1Fn(){var t;if(this._id){const s=this._id+k;this._messageId=s,this._validMessageId=this._id+p,this._invalidMessageId=this._id+y,this._dataListId=null!==(t=this.dataListId)&&void 0!==t?t:this._id+g,c(this.message,this.showMessage)&&(this._descByIds=s),this.handleValidation()}}watch1(){this.watch1Fn()}watch2Fn(){void 0!==this.value&&(this._value=this.value)}watch2(){this.watch2Fn()}watch3Fn(){if(this._ref){const t=void 0;let s=this.abortController;s||(s=new AbortController,this.abortController=s),C(this._ref,{value:this.value,defaultValue:t},(t=>{this.handleChange(t,!0),this.handleInput(t,!0)}),s.signal)}}watch3(){this.watch3Fn()}componentDidLoad(){var t;this.enableAttributePassing(this._ref,"db-input");const s=null!==(t=this.id)&&void 0!==t?t:`input-${e()}`;this._id=s,this._messageId=s+k,this._validMessageId=s+p,this._invalidMessageId=s+y,this._dataListId=s+g,this._invalidMessage=this.invalidMessage||m,this.watch0Fn(),this.watch1Fn(),this.watch2Fn(),this.watch3Fn()}disconnectedCallback(){var t;null===(t=this.abortController)||void 0===t||t.abort()}render(){var t,i,e,o,l,n,m,p;return s("div",{key:"b6b5870b00e7a3ef0155004291fc9c646863faa9",class:a("db-input",this.className),"data-variant":this.variant,"data-hide-label":v(this.showLabel),"data-show-icon":d(null!==(t=this.showIconLeading)&&void 0!==t?t:this.showIcon),"data-icon":null!==(i=this.iconLeading)&&void 0!==i?i:this.icon,"data-icon-trailing":this.iconTrailing,"data-hide-asterisk":v(this.showRequiredAsterisk),"data-show-icon-trailing":d(this.showIconTrailing)},s("label",{key:"ac47e1bd7206de27075a86e3b5bf59647cffa8de",htmlFor:this._id},null!==(e=this.label)&&void 0!==e?e:$),s("input",{key:"40170ba9d207c96b4e86232f367a70a3301eb914","aria-invalid":"invalid"===this.validation,"data-custom-validity":this.validation,"data-field-sizing":this.fieldSizing,ref:t=>{this._ref=t},id:this._id,name:this.name,type:this.type||"text",multiple:h(this.multiple,"multiple"),accept:this.accept,placeholder:null!==(o=this.placeholder)&&void 0!==o?o:x,disabled:h(this.disabled,"disabled"),required:h(this.required,"required"),step:b(this.step),value:null!==(l=this.value)&&void 0!==l?l:this._value,maxLength:u(this.maxLength,this.maxlength),minLength:u(this.minLength,this.minlength),max:r(this.max,this.type),min:r(this.min,this.type),readOnly:h(this.readOnly,"readOnly")||h(this.readonly,"readonly"),form:this.form,pattern:this.pattern,size:this.size,autoComplete:this.autocomplete,autoFocus:h(this.autofocus,"autofocus"),enterKeyHint:this.enterkeyhint,inputMode:this.inputmode,onInput:t=>this.handleInput(t),onChange:t=>this.handleChange(t),onBlur:t=>this.handleBlur(t),onFocus:t=>this.handleFocus(t),list:this.dataList&&this._dataListId,"aria-describedby":null!==(n=this.ariaDescribedBy)&&void 0!==n?n:this._descByIds,role:["datetime-local","date","time","week","month","color"].includes(null!==(m=this.type)&&void 0!==m?m:"")&&f()?"textbox":void 0}),this.dataList?s("datalist",{id:this._dataListId},null===(p=this.getDataList())||void 0===p?void 0:p.map((t=>s("option",{key:this._dataListId+"-option-"+t.value,value:t.value},t.label)))):null,s("slot",{key:"dd4cf602903406782a97e88ad8ccb8aacb903421"}),c(this.message,this.showMessage)?s("db-infotext",{size:this.messageSize||"small",icon:this.messageIcon,id:this._messageId},this.message):null,this.hasValidState()?s("db-infotext",{semantic:"successful",id:this._validMessageId,size:this.validMessageSize||"small"},this.validMessage||w):null,s("db-infotext",{key:"081dc92e27a0b81733d3200f97686fbe5fa15f76",semantic:"critical",id:this._invalidMessageId,size:this.invalidMessageSize||"small"},this._invalidMessage),s("span",{key:"43be19988deae0484f47eed9b19e0556238b558d","data-visually-hidden":"true",role:"status"},this._voiceOverFallback))}static get watchers(){return{_ref:[{watch0:0},{watch3:0}],invalidMessage:[{watch0:0}],_id:[{watch1:0}],value:[{watch2:0}]}}},j=class{constructor(s){t(this,s),this.remove=i(this,"remove")}handleRemove(t){t&&(t.stopPropagation(),this.remove&&this.remove.emit(t))}getRemoveButtonText(){return this.removeButton?this.removeButton:_}enableAttributePassing(t,s){const i=null==t?void 0:t.closest(s);if(t&&i){const s=i.attributes;for(let a=0;a<s.length;a++){const h=s.item(a);if(h&&(h.name.startsWith("data-")||h.name.startsWith("aria-"))&&(t.setAttribute(h.name,h.value),i.removeAttribute(h.name)),h&&"class"===h.name){const s=h.value.includes("hydrated"),a=h.value.replace("hydrated","").trim(),e=t.getAttribute("class");t.setAttribute(h.name,`${e?`${e} `:""}${a}`),s?i.setAttribute("class","hydrated"):i.removeAttribute(h.name)}}}}componentDidLoad(){this.enableAttributePassing(this._ref,"db-tag")}render(){var t;return s("div",{key:"db86fabfde3f9d1e41a863f58db34eb88d067440",class:a("db-tag",this.className),ref:t=>{this._ref=t},id:this.id,"data-semantic":this.semantic,"data-emphasis":this.emphasis,"data-icon":this.icon,"data-show-check-state":d(null===(t=this.showCheckState)||void 0===t||t),"data-show-icon":d(this.showIcon),"data-no-text":d(this.noText),"data-overflow":d(this.overflow)},s("slot",{key:"1bef11e30ca670fa5bf1d438cd12c43e233cded4",name:"content"}),s("slot",{key:"3f94141f60688d0730478711748fa9dbb194f810"}),this.text?this.text:null,"removable"===this.behavior?s("button",{class:"db-button db-tab-remove-button","data-icon":"cross","data-size":"small","data-no-text":"true","data-variant":"ghost",type:"button",onClick:t=>this.handleRemove(t)},s("db-tooltip",{variant:"label"},this.getRemoveButtonText())):null)}};export{F as db_custom_select_dropdown,L as db_custom_select_list,A as db_custom_select_list_item,D as db_input,j as db_tag}
@@ -1 +0,0 @@
1
- import{r as s,h as t}from"./p-05XnVETo.js";import{c as a}from"./p-C4x0SOcx.js";const e=class{constructor(t){s(this,t)}enableAttributePassing(s,t){const a=null==s?void 0:s.closest(t);if(s&&a){const t=a.attributes;for(let e=0;e<t.length;e++){const o=t.item(e);if(o&&(o.name.startsWith("data-")||o.name.startsWith("aria-"))&&(s.setAttribute(o.name,o.value),a.removeAttribute(o.name)),o&&"class"===o.name){const t=o.value.includes("hydrated"),e=o.value.replace("hydrated","").trim(),c=s.getAttribute("class");s.setAttribute(o.name,`${c?`${c} `:""}${e}`),t?a.setAttribute("class","hydrated"):a.removeAttribute(o.name)}}}}componentDidLoad(){this.enableAttributePassing(this._ref,"db-custom-select-form-field")}render(){return t("summary",{key:"22a05256e65e56208335b9a5c840e75988a57182",class:a("db-custom-select-form-field",this.className),ref:s=>{this._ref=s},id:this.id},t("slot",{key:"3c6c62df9bf0d2a73e37a9ad69d3a46daa672984"}))}};export{e as db_custom_select_form_field}