@sapudex/web-components 2.32.1 → 2.33.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 (105) hide show
  1. package/cypress/fixtures/masthead-shell.ts +281 -0
  2. package/cypress/specs/Breadcrumbs.cy.tsx +196 -1
  3. package/cypress/specs/MastheadShell.cy.tsx +645 -0
  4. package/cypress/specs/SecondaryNavigationDesktop.cy.tsx +289 -95
  5. package/cypress/specs/SecondaryNavigationMobile.cy.tsx +42 -0
  6. package/cypress/specs/TabNavigation.cy.tsx +431 -10
  7. package/cypress/support/component-imports.instrumented.ts +14 -0
  8. package/cypress/support/component-imports.src.ts +10 -0
  9. package/dist/Breadcrumbs.d.ts +12 -0
  10. package/dist/Breadcrumbs.js +30 -6
  11. package/dist/Breadcrumbs.js.map +1 -1
  12. package/dist/BreadcrumbsPopoverTemplate.js +10 -1
  13. package/dist/BreadcrumbsPopoverTemplate.js.map +1 -1
  14. package/dist/BreadcrumbsTemplate.js +1 -1
  15. package/dist/BreadcrumbsTemplate.js.map +1 -1
  16. package/dist/SecondaryNavigation.d.ts +1 -6
  17. package/dist/SecondaryNavigation.js +6 -59
  18. package/dist/SecondaryNavigation.js.map +1 -1
  19. package/dist/SecondaryNavigationItem.d.ts +5 -12
  20. package/dist/SecondaryNavigationItem.js +34 -65
  21. package/dist/SecondaryNavigationItem.js.map +1 -1
  22. package/dist/SecondaryNavigationItemBase.d.ts +0 -1
  23. package/dist/SecondaryNavigationItemBase.js +0 -4
  24. package/dist/SecondaryNavigationItemBase.js.map +1 -1
  25. package/dist/Tab.d.ts +19 -0
  26. package/dist/Tab.js +22 -0
  27. package/dist/Tab.js.map +1 -1
  28. package/dist/TabNavigation.d.ts +9 -1
  29. package/dist/TabNavigation.js +25 -7
  30. package/dist/TabNavigation.js.map +1 -1
  31. package/dist/assets/{InputSuggestions-DeXhpK0F.js → InputSuggestions-B_Dl2L6w.js} +1 -1
  32. package/dist/assets/{ListItemStandardExpandableTextTemplate-jMEdrC07.js → ListItemStandardExpandableTextTemplate-9Z-aZmJx.js} +1 -1
  33. package/dist/assets/{bundle-S1uYREqT.css → bundle-DbTEs-Za.css} +1 -1
  34. package/dist/assets/{bundle.esm-CwJAt93x.js → bundle.esm-BlIxH9k1.js} +186 -186
  35. package/dist/css/themes/Breadcrumbs.css +1 -1
  36. package/dist/css/themes/BreadcrumbsPopover.css +1 -1
  37. package/dist/css/themes/ListItem.css +1 -1
  38. package/dist/css/themes/RatingIndicator.css +1 -1
  39. package/dist/css/themes/Slider.css +1 -1
  40. package/dist/css/themes/TabNavigation.css +1 -1
  41. package/dist/custom-elements-internal.json +211 -156
  42. package/dist/custom-elements.json +196 -141
  43. package/dist/generated/templates/ListItemTemplate.lit.js +4 -4
  44. package/dist/generated/templates/ListItemTemplate.lit.js.map +1 -1
  45. package/dist/generated/templates/SecondaryNavigationItemTemplate.lit.js +4 -4
  46. package/dist/generated/templates/SecondaryNavigationItemTemplate.lit.js.map +1 -1
  47. package/dist/generated/templates/SecondaryNavigationSubItemTemplate.lit.js +3 -3
  48. package/dist/generated/templates/SecondaryNavigationSubItemTemplate.lit.js.map +1 -1
  49. package/dist/generated/templates/SecondaryNavigationTemplate.lit.js +5 -5
  50. package/dist/generated/templates/SecondaryNavigationTemplate.lit.js.map +1 -1
  51. package/dist/generated/templates/TabHeaderTemplate.lit.js +40 -24
  52. package/dist/generated/templates/TabHeaderTemplate.lit.js.map +1 -1
  53. package/dist/generated/templates/TabNavigationTemplate.lit.js +1 -1
  54. package/dist/generated/templates/TabNavigationTemplate.lit.js.map +1 -1
  55. package/dist/generated/themes/Breadcrumbs.css.d.ts +1 -1
  56. package/dist/generated/themes/Breadcrumbs.css.js +1 -1
  57. package/dist/generated/themes/Breadcrumbs.css.js.map +1 -1
  58. package/dist/generated/themes/BreadcrumbsPopover.css.d.ts +1 -1
  59. package/dist/generated/themes/BreadcrumbsPopover.css.js +1 -1
  60. package/dist/generated/themes/BreadcrumbsPopover.css.js.map +1 -1
  61. package/dist/generated/themes/ListItem.css.d.ts +1 -1
  62. package/dist/generated/themes/ListItem.css.js +1 -1
  63. package/dist/generated/themes/ListItem.css.js.map +1 -1
  64. package/dist/generated/themes/RatingIndicator.css.d.ts +1 -1
  65. package/dist/generated/themes/RatingIndicator.css.js +1 -1
  66. package/dist/generated/themes/RatingIndicator.css.js.map +1 -1
  67. package/dist/generated/themes/Slider.css.d.ts +1 -1
  68. package/dist/generated/themes/Slider.css.js +1 -1
  69. package/dist/generated/themes/Slider.css.js.map +1 -1
  70. package/dist/generated/themes/TabNavigation.css.d.ts +1 -1
  71. package/dist/generated/themes/TabNavigation.css.js +1 -1
  72. package/dist/generated/themes/TabNavigation.css.js.map +1 -1
  73. package/dist/vscode.html-custom-data.json +16 -1
  74. package/dist/web-types.json +33 -3
  75. package/package.json +1 -1
  76. package/src/Breadcrumbs.ts +26 -7
  77. package/src/BreadcrumbsPopoverTemplate.tsx +53 -41
  78. package/src/BreadcrumbsTemplate.tsx +35 -21
  79. package/src/ListItem.hbs +16 -12
  80. package/src/SecondaryNavigation.hbs +6 -6
  81. package/src/SecondaryNavigation.ts +7 -66
  82. package/src/SecondaryNavigationItem.hbs +4 -6
  83. package/src/SecondaryNavigationItem.ts +40 -83
  84. package/src/SecondaryNavigationItemBase.ts +0 -3
  85. package/src/SecondaryNavigationSubItem.hbs +3 -7
  86. package/src/Tab.ts +32 -0
  87. package/src/TabHeader.hbs +40 -19
  88. package/src/TabNavigation.hbs +5 -9
  89. package/src/TabNavigation.ts +25 -8
  90. package/src/generated/templates/ListItemTemplate.lit.ts +4 -4
  91. package/src/generated/templates/SecondaryNavigationItemTemplate.lit.ts +4 -4
  92. package/src/generated/templates/SecondaryNavigationSubItemTemplate.lit.ts +3 -3
  93. package/src/generated/templates/SecondaryNavigationTemplate.lit.ts +5 -5
  94. package/src/generated/templates/TabHeaderTemplate.lit.ts +40 -24
  95. package/src/generated/templates/TabNavigationTemplate.lit.ts +1 -1
  96. package/src/generated/themes/Breadcrumbs.css.ts +1 -1
  97. package/src/generated/themes/BreadcrumbsPopover.css.ts +1 -1
  98. package/src/generated/themes/ListItem.css.ts +1 -1
  99. package/src/generated/themes/RatingIndicator.css.ts +1 -1
  100. package/src/generated/themes/Slider.css.ts +1 -1
  101. package/src/generated/themes/TabNavigation.css.ts +1 -1
  102. package/src/themes/Breadcrumbs.css +6 -0
  103. package/src/themes/BreadcrumbsPopover.css +12 -2
  104. package/src/themes/ListItem.css +6 -1
  105. package/src/themes/TabNavigation.css +58 -73
package/src/Tab.ts CHANGED
@@ -26,6 +26,7 @@ export interface ITab extends UI5Element {
26
26
  numberBadge?: string;
27
27
  text?: string;
28
28
  bodyText?: string;
29
+ itemCountText?: string;
29
30
  showAttentionBadge?: boolean;
30
31
  accessibleName?: string;
31
32
  href?: string;
@@ -46,6 +47,7 @@ export interface ITab extends UI5Element {
46
47
  _tabIndex: string;
47
48
  _isMobile: boolean;
48
49
  _isVertical: boolean;
50
+ _isProcessTab: boolean;
49
51
  _iconWithoutBackground: boolean;
50
52
  _posinset?: number;
51
53
  _setsize?: number;
@@ -209,6 +211,15 @@ class UDExTab extends UI5Element implements ITab {
209
211
  @property({ type: String, noAttribute: true })
210
212
  _width?: string;
211
213
 
214
+ /**
215
+ * Defines the item count text displayed above the tab label in Process Tab variant.
216
+ * Only rendered when the tab navigation uses the Process Tab variant.
217
+ *
218
+ * @public
219
+ */
220
+ @property({ type: String })
221
+ itemCountText?: string;
222
+
212
223
  /**
213
224
  * Defines the background color of the component.
214
225
  *
@@ -218,6 +229,15 @@ class UDExTab extends UI5Element implements ITab {
218
229
  @property({ type: Boolean })
219
230
  _iconWithoutBackground!: boolean;
220
231
 
232
+ /**
233
+ * Defines if the tab navigation is in process-tab variant.
234
+ *
235
+ * @private
236
+ * @default false
237
+ */
238
+ @property({ type: Boolean, noAttribute: true })
239
+ _isProcessTab: boolean = false;
240
+
221
241
  /**
222
242
  * Defines the content of the tab.
223
243
  *
@@ -251,6 +271,18 @@ class UDExTab extends UI5Element implements ITab {
251
271
  return null;
252
272
  }
253
273
 
274
+ get hasItemCountText(): boolean {
275
+ return this._isProcessTab && !!this.itemCountText;
276
+ }
277
+
278
+ get effectiveItemCountText(): string {
279
+ return this.itemCountText || "0";
280
+ }
281
+
282
+ get processTabClass(): string {
283
+ return this._isProcessTab ? " udex-tab-navigation__button-tab--process" : "";
284
+ }
285
+
254
286
  get isOnSelectedTab(): boolean {
255
287
  return this._realTab === this;
256
288
  }
package/src/TabHeader.hbs CHANGED
@@ -6,7 +6,7 @@
6
6
  {{#if hasNotHref}}
7
7
  <button
8
8
  id="{{this._id}}"
9
- class="udex-tab-navigation__button-tab {{selectedClass}} {{classWithIconWithoutBackground}} {{buttonClassWithIcon}}"
9
+ class="udex-tab-navigation__button-tab {{selectedClass}} {{classWithIconWithoutBackground}} {{buttonClassWithIcon}} {{processTabClass}}"
10
10
  type="button"
11
11
  role="tab"
12
12
  tabindex="{{this._tabIndex}}"
@@ -22,7 +22,7 @@
22
22
  {{else}}
23
23
  <a
24
24
  id="{{this._id}}"
25
- class="udex-tab-navigation__button-tab {{selectedClass}} {{classWithIconWithoutBackground}} {{buttonClassWithIcon}}"
25
+ class="udex-tab-navigation__button-tab {{selectedClass}} {{classWithIconWithoutBackground}} {{buttonClassWithIcon}} {{processTabClass}}"
26
26
  href="{{href}}"
27
27
  target="{{target}}"
28
28
  role="tab"
@@ -48,7 +48,7 @@
48
48
  {{#if hasNotHref}}
49
49
  <button
50
50
  id="{{this._id}}"
51
- class="udex-tab-navigation__button-tab {{selectedClass}} {{classWithIconWithoutBackground}} {{buttonClassWithIcon}}"
51
+ class="udex-tab-navigation__button-tab {{selectedClass}} {{classWithIconWithoutBackground}} {{buttonClassWithIcon}} {{processTabClass}}"
52
52
  tabindex="{{this._tabIndex}}"
53
53
  type="button"
54
54
  role="tab"
@@ -64,7 +64,7 @@
64
64
  {{else}}
65
65
  <a
66
66
  id="{{this._id}}"
67
- class="udex-tab-navigation__button-tab {{selectedClass}} {{classWithIconWithoutBackground}} {{buttonClassWithIcon}}"
67
+ class="udex-tab-navigation__button-tab {{selectedClass}} {{classWithIconWithoutBackground}} {{buttonClassWithIcon}} {{processTabClass}}"
68
68
  tabindex="{{this.linkTabIndex}}"
69
69
  role="tab"
70
70
  aria-posinset="{{this._posinset}}"
@@ -92,21 +92,42 @@
92
92
  {{/if}}
93
93
  </span>
94
94
  {{/if}}
95
- <p class="udex-tab-navigation__button-text {{classWithIcon}}">
96
- {{text}}
97
- {{#if numberBadge}}
98
- <udex-badge
99
- class="udex-tab-navigation__badge"
100
- type="Number"
101
- number-design="Blue"
102
- size="Medium">
103
- {{numberBadge}}
104
- </udex-badge>
105
- {{/if}}
106
- {{#if hasNotIcon}}
107
- <span class="udex-tab-navigation__button-badge"></span>
108
- {{/if}}
109
- </p>
95
+ {{#if _isProcessTab}}
96
+ <span class="udex-tab-navigation__button-text-block">
97
+ <span class="udex-tab-navigation__button-item-count">{{effectiveItemCountText}}</span>
98
+ <p class="udex-tab-navigation__button-text {{classWithIcon}}">
99
+ {{text}}
100
+ {{#if numberBadge}}
101
+ <udex-badge
102
+ class="udex-tab-navigation__badge"
103
+ type="Number"
104
+ number-design="Blue"
105
+ size="Medium">
106
+ {{numberBadge}}
107
+ </udex-badge>
108
+ {{/if}}
109
+ {{#if hasNotIcon}}
110
+ <span class="udex-tab-navigation__button-badge"></span>
111
+ {{/if}}
112
+ </p>
113
+ </span>
114
+ {{else}}
115
+ <p class="udex-tab-navigation__button-text {{classWithIcon}}">
116
+ {{text}}
117
+ {{#if numberBadge}}
118
+ <udex-badge
119
+ class="udex-tab-navigation__badge"
120
+ type="Number"
121
+ number-design="Blue"
122
+ size="Medium">
123
+ {{numberBadge}}
124
+ </udex-badge>
125
+ {{/if}}
126
+ {{#if hasNotIcon}}
127
+ <span class="udex-tab-navigation__button-badge"></span>
128
+ {{/if}}
129
+ </p>
130
+ {{/if}}
110
131
  <span
111
132
  class="visually-hidden"
112
133
  id="udex-tab-navigation__{{this._id}}__accessible-name"
@@ -40,22 +40,18 @@
40
40
  {{/if}}
41
41
  {{/each}}
42
42
  </div>
43
- <button
43
+ <udex-button
44
44
  class="udex-tab-navigation__button-more"
45
+ design="Tertiary"
46
+ size="Medium"
47
+ end-icon="navigation-down-arrow"
45
48
  @click="{{handleMoreButton}}"
46
49
  @keydown="{{handleFocusMoreButton}}"
47
- tabindex="0"
48
50
  aria-haspopup="menu"
49
51
  aria-expanded="{{_isExpanded}}"
50
- tooltip="{{moreButtonText}}"
51
52
  hidden>
52
53
  {{moreButtonText}}
53
- <ui5-icon
54
- class="udex-tab-navigation__button-more-icon"
55
- name="navigation-down-arrow"
56
- mode="Decorative">
57
- </ui5-icon>
58
- </button>
54
+ </udex-button>
59
55
  {{#if this._overflowItems.length}}
60
56
  {{tabNavigationPopover}}
61
57
  {{/if}}
@@ -192,7 +192,7 @@ class UDExTabNavigation extends UI5Element {
192
192
  _isPaused: boolean = false;
193
193
 
194
194
  /**
195
- * Defines the background color of the component.
195
+ * !DEPRECATED! Defines the background color of the component.
196
196
  *
197
197
  * @public
198
198
  * @default false
@@ -200,6 +200,16 @@ class UDExTabNavigation extends UI5Element {
200
200
  @property({ type: Boolean })
201
201
  iconWithoutBackground!: boolean;
202
202
 
203
+ /**
204
+ * Enables the Process Tab variant, where each tab displays an icon
205
+ * alongside an optional item count text above the label.
206
+ *
207
+ * @public
208
+ * @default false
209
+ */
210
+ @property({ type: Boolean })
211
+ processTab: boolean = false;
212
+
203
213
  @property({ type: String })
204
214
  tabWidth: string = "auto";
205
215
 
@@ -350,6 +360,7 @@ class UDExTabNavigation extends UI5Element {
350
360
  const isMobile = BreakpointUtils.isAtMost("S");
351
361
  this.items.forEach((tab, index, arr) => {
352
362
  tab._iconWithoutBackground = this.iconWithoutBackground;
363
+ tab._isProcessTab = this.processTab;
353
364
  tab._posinset = index + 1;
354
365
  tab._setsize = arr.length;
355
366
  tab._contentId = this.getContentId(index);
@@ -395,7 +406,7 @@ class UDExTabNavigation extends UI5Element {
395
406
  handleOutsideClick(): void {
396
407
  document.addEventListener("click", () => {
397
408
  if (this.getMoreButton()) {
398
- this.getMoreButton().classList.remove("udex-tab-navigation__button-more--toggled");
409
+ (this.getMoreButton() as UDExButton).toggled = false;
399
410
  }
400
411
  });
401
412
  }
@@ -512,12 +523,18 @@ class UDExTabNavigation extends UI5Element {
512
523
  }
513
524
 
514
525
  getItemWidth(itemDomRef: HTMLElement): number {
515
- const tabTitle = itemDomRef.innerText;
526
+ const isProcessTab = itemDomRef.classList.contains("udex-tab-navigation__button-tab--process");
527
+ const tabTitle = isProcessTab
528
+ ? (itemDomRef.querySelector<HTMLElement>(".udex-tab-navigation__button-text")?.innerText?.trim() ?? itemDomRef.innerText)
529
+ : itemDomRef.innerText;
516
530
  const context = this.getItemContext();
517
531
  const { indentation, marginInlineEnd } = this.getItemIndentation(itemDomRef);
532
+ // For process tabs the icon container (32px) + gap (8px) is rendered inline before the text block
533
+ const processTabIconOffset = isProcessTab ? 40 : 0;
534
+ const effectiveIndentation = indentation + processTabIconOffset;
518
535
 
519
536
  if (tabTitle.length > this._maxTitleLength && tabTitle.length <= this._maxTitleLengthInSecondLines) {
520
- const maxWidth = this.getMaxWidthItemTitle(tabTitle, context, indentation);
537
+ const maxWidth = this.getMaxWidthItemTitle(tabTitle, context, effectiveIndentation);
521
538
 
522
539
  this.setItemWidth(itemDomRef, maxWidth, marginInlineEnd);
523
540
 
@@ -525,7 +542,7 @@ class UDExTabNavigation extends UI5Element {
525
542
  }
526
543
 
527
544
  if (tabTitle.length > this._maxTitleLengthInSecondLines) {
528
- const maxWidth = this.getOverloadMaxWidthItemTitle(tabTitle, context, indentation);
545
+ const maxWidth = this.getOverloadMaxWidthItemTitle(tabTitle, context, effectiveIndentation);
529
546
 
530
547
  this.setItemWidth(itemDomRef, maxWidth, marginInlineEnd);
531
548
 
@@ -533,7 +550,7 @@ class UDExTabNavigation extends UI5Element {
533
550
  }
534
551
 
535
552
  const textWidth = context.measureText(tabTitle).width;
536
- return Math.ceil(textWidth) + indentation;
553
+ return Math.ceil(textWidth) + effectiveIndentation;
537
554
  }
538
555
 
539
556
  private setItemWidth(itemDomRef: HTMLElement, maxWidth: number, marginInlineEnd: number) {
@@ -714,7 +731,7 @@ class UDExTabNavigation extends UI5Element {
714
731
  handleClosePopover() {
715
732
  if (this._popover?.open) {
716
733
  this._popover.open = false;
717
- this.getMoreButton().classList.remove("udex-tab-navigation__button-more--toggled");
734
+ (this.getMoreButton() as UDExButton).toggled = false;
718
735
  this._isExpanded = false;
719
736
  }
720
737
  }
@@ -723,7 +740,7 @@ class UDExTabNavigation extends UI5Element {
723
740
  if (!this._popover?.open) {
724
741
  this._popover!.opener = this.getMoreButton();
725
742
  this._popover!.open = true;
726
- this.getMoreButton().classList.add("udex-tab-navigation__button-more--toggled");
743
+ (this.getMoreButton() as UDExButton).toggled = true;
727
744
  this._isExpanded = true;
728
745
  }
729
746
  }
@@ -13,12 +13,12 @@ function block4 (this: ListItem, context: UI5Element, tags: string[], suffix: st
13
13
  function block5 (this: ListItem, context: UI5Element, tags: string[], suffix: string | undefined) { return suffix ? html`<${scopeTag("ui5-icon", tags, suffix)} class="udex-list__icon" name="${ifDefined(this._icon)}" accessible-role="presentation" aria-hidden="true" part="icon"></${scopeTag("ui5-icon", tags, suffix)}>` : html`<ui5-icon class="udex-list__icon" name="${ifDefined(this._icon)}" accessible-role="presentation" aria-hidden="true" part="icon"></ui5-icon>`;}
14
14
  function block6 (this: ListItem, context: UI5Element, tags: string[], suffix: string | undefined) { return suffix ? html`<${scopeTag("udex-avatar", tags, suffix)} class="udex-list__avatar" shape="${ifDefined(this.imageShape)}" size="${ifDefined(this.imageSize)}" part="avatar">${ this.imageBadgeState ? block7.call(this, context, tags, suffix) : undefined }<img src="${ifDefined(this.image)}" alt="${ifDefined(this.imageAlt)}" /></${scopeTag("udex-avatar", tags, suffix)}>` : html`<udex-avatar class="udex-list__avatar" shape="${ifDefined(this.imageShape)}" size="${ifDefined(this.imageSize)}" part="avatar">${ this.imageBadgeState ? block7.call(this, context, tags, suffix) : undefined }<img src="${ifDefined(this.image)}" alt="${ifDefined(this.imageAlt)}" /></udex-avatar>`;}
15
15
  function block7 (this: ListItem, context: UI5Element, tags: string[], suffix: string | undefined) { return suffix ? html`<${scopeTag("udex-status-badge", tags, suffix)} slot="badge" value-state="${ifDefined(this.imageBadgeState)}" size="${ifDefined(this.imageSize)}"></${scopeTag("udex-status-badge", tags, suffix)}>` : html`<udex-status-badge slot="badge" value-state="${ifDefined(this.imageBadgeState)}" size="${ifDefined(this.imageSize)}"></udex-status-badge>`;}
16
- function block8 (this: ListItem, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<div class="udex-list__text-holder"><span part="title">${unsafeHTML(this.label)}</span>${ this.supportingText ? block9.call(this, context, tags, suffix) : undefined }<slot part="content"></slot></div>${ this.additionalText ? block10.call(this, context, tags, suffix) : undefined }${ this.hasFirstIcon ? block11.call(this, context, tags, suffix) : undefined }${ this.hasSecondIcon ? block12.call(this, context, tags, suffix) : undefined }`;}
16
+ function block8 (this: ListItem, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<div class="udex-list__text-holder"><span part="title">${unsafeHTML(this.label)}</span>${ this.supportingText ? block9.call(this, context, tags, suffix) : undefined }<slot part="content"></slot></div>${ this.additionalText ? block10.call(this, context, tags, suffix) : undefined }<div class="udex-list__btn-wrap">${ this.hasFirstIcon ? block11.call(this, context, tags, suffix) : undefined }${ this.hasSecondIcon ? block12.call(this, context, tags, suffix) : undefined }</div>`;}
17
17
  function block9 (this: ListItem, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<span class="udex-list__supporting-text" part="supporting">${ifDefined(this.supportingText)}</span>`;}
18
18
  function block10 (this: ListItem, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<div class="udex-list__add-text" part="additional-text">${ifDefined(this.additionalText)}</div>`;}
19
19
  function block11 (this: ListItem, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<slot name="firstIcon" @click=${this._fireIconClickEvent}></slot>`;}
20
20
  function block12 (this: ListItem, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<slot name="secondIcon" @click=${this._fireIconClickEvent}></slot>`;}
21
- function block13 (this: ListItem, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<div class="udex-list__text-holder"><slot part="content"></slot>${ this.supportingText ? block14.call(this, context, tags, suffix) : undefined }</div>${ this.additionalText ? block15.call(this, context, tags, suffix) : undefined }${ this.hasFirstIcon ? block16.call(this, context, tags, suffix) : undefined }${ this.hasSecondIcon ? block17.call(this, context, tags, suffix) : undefined }`;}
21
+ function block13 (this: ListItem, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<div class="udex-list__text-holder"><slot part="content"></slot>${ this.supportingText ? block14.call(this, context, tags, suffix) : undefined }</div>${ this.additionalText ? block15.call(this, context, tags, suffix) : undefined }<div class="udex-list__btn-wrap">${ this.hasFirstIcon ? block16.call(this, context, tags, suffix) : undefined }${ this.hasSecondIcon ? block17.call(this, context, tags, suffix) : undefined }</div>`;}
22
22
  function block14 (this: ListItem, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<span class="udex-list__supporting-text" part="supporting">${ifDefined(this.supportingText)}</span>`;}
23
23
  function block15 (this: ListItem, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<div class="udex-list__add-text" part="additional-text">${ifDefined(this.additionalText)}</div>`;}
24
24
  function block16 (this: ListItem, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<slot name="firstIcon" @click=${this._fireIconClickEvent}></slot>`;}
@@ -29,12 +29,12 @@ function block20 (this: ListItem, context: UI5Element, tags: string[], suffix: s
29
29
  function block21 (this: ListItem, context: UI5Element, tags: string[], suffix: string | undefined) { return suffix ? html`<${scopeTag("ui5-icon", tags, suffix)} class="udex-list__icon" name="${ifDefined(this._icon)}" accessible-role="presentation" aria-hidden="true" part="icon"></${scopeTag("ui5-icon", tags, suffix)}>` : html`<ui5-icon class="udex-list__icon" name="${ifDefined(this._icon)}" accessible-role="presentation" aria-hidden="true" part="icon"></ui5-icon>`;}
30
30
  function block22 (this: ListItem, context: UI5Element, tags: string[], suffix: string | undefined) { return suffix ? html`<${scopeTag("udex-avatar", tags, suffix)} class="udex-list__avatar" shape="${ifDefined(this.imageShape)}" size="${ifDefined(this.imageSize)}" part="avatar">${ this.imageBadgeState ? block23.call(this, context, tags, suffix) : undefined }<img src="${ifDefined(this.image)}" alt="${ifDefined(this.imageAlt)}" /></${scopeTag("udex-avatar", tags, suffix)}>` : html`<udex-avatar class="udex-list__avatar" shape="${ifDefined(this.imageShape)}" size="${ifDefined(this.imageSize)}" part="avatar">${ this.imageBadgeState ? block23.call(this, context, tags, suffix) : undefined }<img src="${ifDefined(this.image)}" alt="${ifDefined(this.imageAlt)}" /></udex-avatar>`;}
31
31
  function block23 (this: ListItem, context: UI5Element, tags: string[], suffix: string | undefined) { return suffix ? html`<${scopeTag("udex-status-badge", tags, suffix)} slot="badge" value-state="${ifDefined(this.imageBadgeState)}" size="${ifDefined(this.imageSize)}"></${scopeTag("udex-status-badge", tags, suffix)}>` : html`<udex-status-badge slot="badge" value-state="${ifDefined(this.imageBadgeState)}" size="${ifDefined(this.imageSize)}"></udex-status-badge>`;}
32
- function block24 (this: ListItem, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<div class="udex-list__text-holder"><span part="title">${unsafeHTML(this.label)}</span>${ this.supportingText ? block25.call(this, context, tags, suffix) : undefined }<slot part="content"></slot></div>${ this.additionalText ? block26.call(this, context, tags, suffix) : undefined }${ this.hasFirstIcon ? block27.call(this, context, tags, suffix) : undefined }${ this.hasSecondIcon ? block28.call(this, context, tags, suffix) : undefined }`;}
32
+ function block24 (this: ListItem, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<div class="udex-list__text-holder"><span part="title">${unsafeHTML(this.label)}</span>${ this.supportingText ? block25.call(this, context, tags, suffix) : undefined }<slot part="content"></slot></div>${ this.additionalText ? block26.call(this, context, tags, suffix) : undefined }<div class="udex-list__btn-wrap">${ this.hasFirstIcon ? block27.call(this, context, tags, suffix) : undefined }${ this.hasSecondIcon ? block28.call(this, context, tags, suffix) : undefined }</div>`;}
33
33
  function block25 (this: ListItem, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<span class="udex-list__supporting-text" part="supporting">${ifDefined(this.supportingText)}</span>`;}
34
34
  function block26 (this: ListItem, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<div class="udex-list__add-text" part="additional-text">${ifDefined(this.additionalText)}</div>`;}
35
35
  function block27 (this: ListItem, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<slot name="firstIcon" @click=${this._fireIconClickEvent}></slot>`;}
36
36
  function block28 (this: ListItem, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<slot name="secondIcon" @click=${this._fireIconClickEvent}></slot>`;}
37
- function block29 (this: ListItem, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<div class="udex-list__text-holder"><slot part="content"></slot>${ this.supportingText ? block30.call(this, context, tags, suffix) : undefined }</div>${ this.additionalText ? block31.call(this, context, tags, suffix) : undefined }${ this.hasFirstIcon ? block32.call(this, context, tags, suffix) : undefined }${ this.hasSecondIcon ? block33.call(this, context, tags, suffix) : undefined }`;}
37
+ function block29 (this: ListItem, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<div class="udex-list__text-holder"><slot part="content"></slot>${ this.supportingText ? block30.call(this, context, tags, suffix) : undefined }</div>${ this.additionalText ? block31.call(this, context, tags, suffix) : undefined }<div class="udex-list__btn-wrap">${ this.hasFirstIcon ? block32.call(this, context, tags, suffix) : undefined }${ this.hasSecondIcon ? block33.call(this, context, tags, suffix) : undefined }</div>`;}
38
38
  function block30 (this: ListItem, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<span class="udex-list__supporting-text" part="supporting">${ifDefined(this.supportingText)}</span>`;}
39
39
  function block31 (this: ListItem, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<div class="udex-list__add-text" part="additional-text">${ifDefined(this.additionalText)}</div>`;}
40
40
  function block32 (this: ListItem, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<slot name="firstIcon" @click=${this._fireIconClickEvent}></slot>`;}
@@ -6,12 +6,12 @@ import type SecondaryNavigationItem from "../../SecondaryNavigationItem.js";
6
6
  import type { ClassMapValue } from "@ui5/webcomponents-base/dist/types.js";
7
7
 
8
8
  function block0 (this: SecondaryNavigationItem, context: UI5Element, tags: string[], suffix: string | undefined) { return html`${ this.isLink ? block1.call(this, context, tags, suffix) : block2.call(this, context, tags, suffix) } `;}
9
- function block1 (this: SecondaryNavigationItem, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<a class="udex-secondary-navigation__item" role="${ifDefined(this.menuItemRole)}" ?active="${this.isActive}" href="${ifDefined(this.path)}" target="${ifDefined(this.target)}" tabindex="${ifDefined(this._tabIndex)}" aria-current="${ifDefined(this.ariaCurrent)}" @keydown="${this.handleItemLinkKeyDown}" @click="${this.fireNavItemClickEvent}">${ifDefined(this.itemLabel)}</a>`;}
10
- function block2 (this: SecondaryNavigationItem, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<button class="udex-secondary-navigation__item" role="${ifDefined(this.itemRole)}" tabindex="${ifDefined(this.menuOpenerTabIndex)}" ?active="${this.isActive}" aria-haspopup="${ifDefined(this.hasNestedItems)}" aria-expanded="${ifDefined(this.isOpen)}" aria-label="${ifDefined(this.ariaLabel)}" @keydown="${this.handleItemEnterOrSpaceKeys}" @click="${this.openDropdown}"><span class="udex-secondary-navigation__item-text-wrap">${ifDefined(this.itemLabel)}${ this._subTitle ? block3.call(this, context, tags, suffix) : undefined }${ this.hasNestedItems ? block4.call(this, context, tags, suffix) : undefined }</span></button>${ this.isOpen ? block5.call(this, context, tags, suffix) : undefined }`;}
9
+ function block1 (this: SecondaryNavigationItem, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<a class="udex-secondary-navigation__item" tabindex="0" ?active="${this.isActive}" href="${ifDefined(this.path)}" target="${ifDefined(this.target)}" aria-current="${ifDefined(this.ariaCurrent)}" @keydown="${this.handleItemLinkKeyDown}" @click="${this.fireNavItemClickEvent}">${ifDefined(this.itemLabel)}</a>`;}
10
+ function block2 (this: SecondaryNavigationItem, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<button class="udex-secondary-navigation__item" tabindex="0" ?active="${this.isActive}" aria-haspopup="${ifDefined(this.hasNestedItems)}" aria-expanded="${ifDefined(this.isOpen)}" aria-label="${ifDefined(this.ariaLabel)}" @keydown="${this.handleItemEnterOrSpaceKeys}" @click="${this.openDropdown}"><span class="udex-secondary-navigation__item-text-wrap">${ifDefined(this.itemLabel)}${ this._subTitle ? block3.call(this, context, tags, suffix) : undefined }${ this.hasNestedItems ? block4.call(this, context, tags, suffix) : undefined }</span></button>${ this.isOpen ? block5.call(this, context, tags, suffix) : undefined }`;}
11
11
  function block3 (this: SecondaryNavigationItem, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<span class="udex-secondary-navigation__item-sub-title">${ifDefined(this._subTitle)}</span>`;}
12
12
  function block4 (this: SecondaryNavigationItem, context: UI5Element, tags: string[], suffix: string | undefined) { return suffix ? html`<${scopeTag("ui5-icon", tags, suffix)} class="udex-secondary-navigation__item-icon" name="slim-arrow-down" mode="Decorative"></${scopeTag("ui5-icon", tags, suffix)}>` : html`<ui5-icon class="udex-secondary-navigation__item-icon" name="slim-arrow-down" mode="Decorative"></ui5-icon>`;}
13
- function block5 (this: SecondaryNavigationItem, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<div class="udex-secondary-navigation__dropdown"><ul role="menu" class="udex-secondary-navigation__dropdown-list" @keydown="${this.handleSubItemKeyDown}">${ repeat(this._processedItems, (item, index) => (item as typeof item & {_id?: any})._id || index, (item, index: number) => block6.call(this, context, tags, suffix, item, index)) }</ul><div @keydown="${this.handleButtonsEscKey}"><slot></slot></div></div>`;}
14
- function block6 (this: SecondaryNavigationItem, context: UI5Element, tags: string[], suffix: string | undefined, item: any, index: number) { return suffix ? html`<li role="none"><${scopeTag("udex-secondary-navigation-sub-item", tags, suffix)} index="${index}" @ui5-sub-item-click="${ifDefined(this.handleSubItemClick)}" @ui5-back-item-click="${ifDefined(this.onBackClick)}" is-back="${ifDefined(item.isBack)}" label="${ifDefined(item.title)}" mobile-link-title="${ifDefined(item.mobileLinkTitle)}" .nestedItems="${ifDefined(item.items)}" path="${ifDefined(item.path)}" target="${ifDefined(item.target)}" ?active="${item.active}"></${scopeTag("udex-secondary-navigation-sub-item", tags, suffix)}></li>` : html`<li role="none"><udex-secondary-navigation-sub-item index="${index}" @ui5-sub-item-click="${ifDefined(this.handleSubItemClick)}" @ui5-back-item-click="${ifDefined(this.onBackClick)}" is-back="${ifDefined(item.isBack)}" label="${ifDefined(item.title)}" mobile-link-title="${ifDefined(item.mobileLinkTitle)}" .nestedItems="${ifDefined(item.items)}" path="${ifDefined(item.path)}" target="${ifDefined(item.target)}" ?active="${item.active}"></udex-secondary-navigation-sub-item></li>`;}
13
+ function block5 (this: SecondaryNavigationItem, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<div class="udex-secondary-navigation__dropdown"><ul class="udex-secondary-navigation__dropdown-list" @keydown="${this.handleSubItemKeyDown}">${ repeat(this._processedItems, (item, index) => (item as typeof item & {_id?: any})._id || index, (item, index: number) => block6.call(this, context, tags, suffix, item, index)) }</ul><div @keydown="${this.handleButtonsEscKey}"><slot></slot></div></div>`;}
14
+ function block6 (this: SecondaryNavigationItem, context: UI5Element, tags: string[], suffix: string | undefined, item: any, index: number) { return suffix ? html`<li><${scopeTag("udex-secondary-navigation-sub-item", tags, suffix)} index="${index}" @ui5-sub-item-click="${ifDefined(this.handleSubItemClick)}" @ui5-back-item-click="${ifDefined(this.onBackClick)}" is-back="${ifDefined(item.isBack)}" label="${ifDefined(item.title)}" mobile-link-title="${ifDefined(item.mobileLinkTitle)}" .nestedItems="${ifDefined(item.items)}" path="${ifDefined(item.path)}" target="${ifDefined(item.target)}" ?active="${item.active}"></${scopeTag("udex-secondary-navigation-sub-item", tags, suffix)}></li>` : html`<li><udex-secondary-navigation-sub-item index="${index}" @ui5-sub-item-click="${ifDefined(this.handleSubItemClick)}" @ui5-back-item-click="${ifDefined(this.onBackClick)}" is-back="${ifDefined(item.isBack)}" label="${ifDefined(item.title)}" mobile-link-title="${ifDefined(item.mobileLinkTitle)}" .nestedItems="${ifDefined(item.items)}" path="${ifDefined(item.path)}" target="${ifDefined(item.target)}" ?active="${item.active}"></udex-secondary-navigation-sub-item></li>`;}
15
15
 
16
16
  function template(this: SecondaryNavigationItem) { return block0.call(this, this, (this.constructor as typeof UI5Element).tagsToScope, getCustomElementsScopingSuffix()); }
17
17
  export default template;
@@ -6,11 +6,11 @@ import type SecondaryNavigationSubItem from "../../SecondaryNavigationSubItem.js
6
6
  import type { ClassMapValue } from "@ui5/webcomponents-base/dist/types.js";
7
7
 
8
8
  function block0 (this: SecondaryNavigationSubItem, context: UI5Element, tags: string[], suffix: string | undefined) { return html`${ this.isBack ? block1.call(this, context, tags, suffix) : block2.call(this, context, tags, suffix) } `;}
9
- function block1 (this: SecondaryNavigationSubItem, context: UI5Element, tags: string[], suffix: string | undefined) { return suffix ? html`<button tabindex="${ifDefined(this._tabIndex)}" @click="${this.onBackItemClick}" role="menuitem" aria-label="${ifDefined(this.backButtonAriaLabel)}" aria-haspopup="true" is-back class="udex-secondary-navigation__dropdown-item"><${scopeTag("ui5-icon", tags, suffix)} class="udex-secondary-navigation__dropdown-icon udex-secondary-navigation__dropdown-icon_back" name="slim-arrow-left" mode="Decorative"></${scopeTag("ui5-icon", tags, suffix)}>${ifDefined(this.itemLabel)}</button>` : html`<button tabindex="${ifDefined(this._tabIndex)}" @click="${this.onBackItemClick}" role="menuitem" aria-label="${ifDefined(this.backButtonAriaLabel)}" aria-haspopup="true" is-back class="udex-secondary-navigation__dropdown-item"><ui5-icon class="udex-secondary-navigation__dropdown-icon udex-secondary-navigation__dropdown-icon_back" name="slim-arrow-left" mode="Decorative"></ui5-icon>${ifDefined(this.itemLabel)}</button>`;}
9
+ function block1 (this: SecondaryNavigationSubItem, context: UI5Element, tags: string[], suffix: string | undefined) { return suffix ? html`<button @click="${this.onBackItemClick}" aria-label="${ifDefined(this.backButtonAriaLabel)}" tabindex="0" is-back class="udex-secondary-navigation__dropdown-item"><${scopeTag("ui5-icon", tags, suffix)} class="udex-secondary-navigation__dropdown-icon udex-secondary-navigation__dropdown-icon_back" name="slim-arrow-left" mode="Decorative"></${scopeTag("ui5-icon", tags, suffix)}>${ifDefined(this.itemLabel)}</button>` : html`<button @click="${this.onBackItemClick}" aria-label="${ifDefined(this.backButtonAriaLabel)}" tabindex="0" is-back class="udex-secondary-navigation__dropdown-item"><ui5-icon class="udex-secondary-navigation__dropdown-icon udex-secondary-navigation__dropdown-icon_back" name="slim-arrow-left" mode="Decorative"></ui5-icon>${ifDefined(this.itemLabel)}</button>`;}
10
10
  function block2 (this: SecondaryNavigationSubItem, context: UI5Element, tags: string[], suffix: string | undefined) { return html`${ this.isButton ? block3.call(this, context, tags, suffix) : block5.call(this, context, tags, suffix) }`;}
11
- function block3 (this: SecondaryNavigationSubItem, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<button tabindex="${ifDefined(this._tabIndex)}" @click="${this.onItemClick}" role="menuitem" aria-haspopup="${ifDefined(this.hasItems)}" ?sub-active="${this.isSubItemActive}" aria-label="${ifDefined(this.label)}" ?active="${this.active}" aria-current="${ifDefined(this.ariaCurrent)}" class="udex-secondary-navigation__dropdown-item">${ifDefined(this.itemLabel)}${ this.hasItems ? block4.call(this, context, tags, suffix) : undefined }</button>`;}
11
+ function block3 (this: SecondaryNavigationSubItem, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<button @click="${this.onItemClick}" aria-haspopup="${ifDefined(this.hasItems)}" ?sub-active="${this.isSubItemActive}" aria-label="${ifDefined(this.label)}" ?active="${this.active}" tabindex="0" aria-current="${ifDefined(this.ariaCurrent)}" class="udex-secondary-navigation__dropdown-item">${ifDefined(this.itemLabel)}${ this.hasItems ? block4.call(this, context, tags, suffix) : undefined }</button>`;}
12
12
  function block4 (this: SecondaryNavigationSubItem, context: UI5Element, tags: string[], suffix: string | undefined) { return suffix ? html`<${scopeTag("ui5-icon", tags, suffix)} class="udex-secondary-navigation__dropdown-icon" name="slim-arrow-right" mode="Decorative"></${scopeTag("ui5-icon", tags, suffix)}>` : html`<ui5-icon class="udex-secondary-navigation__dropdown-icon" name="slim-arrow-right" mode="Decorative"></ui5-icon>`;}
13
- function block5 (this: SecondaryNavigationSubItem, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<a tabindex="${ifDefined(this._tabIndex)}" @click="${this.onItemClick}" role="menuitem" href="${ifDefined(this.path)}" target="${ifDefined(this.target)}" ?active="${this.active}" aria-current="${ifDefined(this.ariaCurrent)}" class="udex-secondary-navigation__dropdown-item">${ifDefined(this.itemLabel)}</a>`;}
13
+ function block5 (this: SecondaryNavigationSubItem, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<a @click="${this.onItemClick}" href="${ifDefined(this.path)}" target="${ifDefined(this.target)}" ?active="${this.active}" tabindex="0" aria-current="${ifDefined(this.ariaCurrent)}" class="udex-secondary-navigation__dropdown-item">${ifDefined(this.itemLabel)}</a>`;}
14
14
 
15
15
  function template(this: SecondaryNavigationSubItem) { return block0.call(this, this, (this.constructor as typeof UI5Element).tagsToScope, getCustomElementsScopingSuffix()); }
16
16
  export default template;
@@ -5,15 +5,15 @@ import type UI5Element from "@ui5/webcomponents-base/dist/UI5Element.js";
5
5
  import type SecondaryNavigation from "../../SecondaryNavigation.js";
6
6
  import type { ClassMapValue } from "@ui5/webcomponents-base/dist/types.js";
7
7
 
8
- function block0 (this: SecondaryNavigation, context: UI5Element, tags: string[], suffix: string | undefined) { return suffix ? html`<div class="${ifDefined(this.rootClass)}">${ this.hasBreadcrumbsSlot ? block1.call(this, context, tags, suffix) : undefined }<div class="udex-secondary-navigation__holder">${ this.heading.length ? block2.call(this, context, tags, suffix) : undefined }<div class="udex-secondary-navigation__wrap"><ul role="menubar" class="udex-secondary-navigation__list" @keydown="${this.handleKeyDown}">${ repeat(this.visibleItems, (item, index) => (item as typeof item & {_id?: any})._id || index, (item, index: number) => block5.call(this, context, tags, suffix, item, index)) }${ this._showMoreButton ? block6.call(this, context, tags, suffix) : undefined }</ul>${ this.hasDesktopButtonsSlot ? block7.call(this, context, tags, suffix) : undefined }</div></div><${scopeTag("udex-secondary-navigation-item", tags, suffix)} @keydown="${this.handleKeyDown}" _max-height="${ifDefined(this.maxDropdownHeight)}" class="udex-secondary-navigation__mobile-nav" role="button" aria-label="${ifDefined(this.mobileMenuOpenerAriaLabel)}" label="${ifDefined(this.heading)}" mobile-link-title="${ifDefined(this.title)}" @ui5-nav-item-click="${ifDefined(this.handleMobileMenuOpenerClick)}" @ui5-sub-item-click="${ifDefined(this.handleSubItemClick)}" _is-mobile-menu-opener .subItems="${ifDefined(this.parsedItems)}">${ this.hasMobileButtonsSlot ? block8.call(this, context, tags, suffix) : undefined }</${scopeTag("udex-secondary-navigation-item", tags, suffix)}></div> ` : html`<div class="${ifDefined(this.rootClass)}">${ this.hasBreadcrumbsSlot ? block1.call(this, context, tags, suffix) : undefined }<div class="udex-secondary-navigation__holder">${ this.heading.length ? block2.call(this, context, tags, suffix) : undefined }<div class="udex-secondary-navigation__wrap"><ul role="menubar" class="udex-secondary-navigation__list" @keydown="${this.handleKeyDown}">${ repeat(this.visibleItems, (item, index) => (item as typeof item & {_id?: any})._id || index, (item, index: number) => block5.call(this, context, tags, suffix, item, index)) }${ this._showMoreButton ? block6.call(this, context, tags, suffix) : undefined }</ul>${ this.hasDesktopButtonsSlot ? block7.call(this, context, tags, suffix) : undefined }</div></div><udex-secondary-navigation-item @keydown="${this.handleKeyDown}" _max-height="${ifDefined(this.maxDropdownHeight)}" class="udex-secondary-navigation__mobile-nav" role="button" aria-label="${ifDefined(this.mobileMenuOpenerAriaLabel)}" label="${ifDefined(this.heading)}" mobile-link-title="${ifDefined(this.title)}" @ui5-nav-item-click="${ifDefined(this.handleMobileMenuOpenerClick)}" @ui5-sub-item-click="${ifDefined(this.handleSubItemClick)}" _is-mobile-menu-opener .subItems="${ifDefined(this.parsedItems)}">${ this.hasMobileButtonsSlot ? block8.call(this, context, tags, suffix) : undefined }</udex-secondary-navigation-item></div> `;}
8
+ function block0 (this: SecondaryNavigation, context: UI5Element, tags: string[], suffix: string | undefined) { return suffix ? html`<div class="${ifDefined(this.rootClass)}">${ this.hasBreadcrumbsSlot ? block1.call(this, context, tags, suffix) : undefined }<div class="udex-secondary-navigation__holder">${ this.heading.length ? block2.call(this, context, tags, suffix) : undefined }<nav class="udex-secondary-navigation__wrap"><ul class="udex-secondary-navigation__list" @keydown="${this.handleKeyDown}">${ repeat(this.visibleItems, (item, index) => (item as typeof item & {_id?: any})._id || index, (item, index: number) => block5.call(this, context, tags, suffix, item, index)) }${ this._showMoreButton ? block6.call(this, context, tags, suffix) : undefined }</ul>${ this.hasDesktopButtonsSlot ? block7.call(this, context, tags, suffix) : undefined }</nav></div><${scopeTag("udex-secondary-navigation-item", tags, suffix)} @keydown="${this.handleKeyDown}" _max-height="${ifDefined(this.maxDropdownHeight)}" class="udex-secondary-navigation__mobile-nav" role="button" aria-label="${ifDefined(this.mobileMenuOpenerAriaLabel)}" label="${ifDefined(this.heading)}" mobile-link-title="${ifDefined(this.title)}" @ui5-nav-item-click="${ifDefined(this.handleMobileMenuOpenerClick)}" @ui5-sub-item-click="${ifDefined(this.handleSubItemClick)}" _is-mobile-menu-opener .subItems="${ifDefined(this.parsedItems)}">${ this.hasMobileButtonsSlot ? block8.call(this, context, tags, suffix) : undefined }</${scopeTag("udex-secondary-navigation-item", tags, suffix)}></div> ` : html`<div class="${ifDefined(this.rootClass)}">${ this.hasBreadcrumbsSlot ? block1.call(this, context, tags, suffix) : undefined }<div class="udex-secondary-navigation__holder">${ this.heading.length ? block2.call(this, context, tags, suffix) : undefined }<nav class="udex-secondary-navigation__wrap"><ul class="udex-secondary-navigation__list" @keydown="${this.handleKeyDown}">${ repeat(this.visibleItems, (item, index) => (item as typeof item & {_id?: any})._id || index, (item, index: number) => block5.call(this, context, tags, suffix, item, index)) }${ this._showMoreButton ? block6.call(this, context, tags, suffix) : undefined }</ul>${ this.hasDesktopButtonsSlot ? block7.call(this, context, tags, suffix) : undefined }</nav></div><udex-secondary-navigation-item @keydown="${this.handleKeyDown}" _max-height="${ifDefined(this.maxDropdownHeight)}" class="udex-secondary-navigation__mobile-nav" role="button" aria-label="${ifDefined(this.mobileMenuOpenerAriaLabel)}" label="${ifDefined(this.heading)}" mobile-link-title="${ifDefined(this.title)}" @ui5-nav-item-click="${ifDefined(this.handleMobileMenuOpenerClick)}" @ui5-sub-item-click="${ifDefined(this.handleSubItemClick)}" _is-mobile-menu-opener .subItems="${ifDefined(this.parsedItems)}">${ this.hasMobileButtonsSlot ? block8.call(this, context, tags, suffix) : undefined }</udex-secondary-navigation-item></div> `;}
9
9
  function block1 (this: SecondaryNavigation, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<div class="udex-secondary-navigation__breadcrumbs"><slot name="breadcrumbs"></slot></div>`;}
10
10
  function block2 (this: SecondaryNavigation, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<div class="udex-secondary-navigation__heading">${ this.headingHref.length ? block3.call(this, context, tags, suffix) : block4.call(this, context, tags, suffix) }</div>`;}
11
- function block3 (this: SecondaryNavigation, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<a class="udex-secondary-navigation__title" @click="${this.handleHeadingClick}" href="${ifDefined(this.headingHref)}">${ifDefined(this.heading)}</a>`;}
11
+ function block3 (this: SecondaryNavigation, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<a class="udex-secondary-navigation__title" tabindex="0" @click="${this.handleHeadingClick}" href="${ifDefined(this.headingHref)}">${ifDefined(this.heading)}</a>`;}
12
12
  function block4 (this: SecondaryNavigation, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<span class="udex-secondary-navigation__title">${ifDefined(this.heading)}</span>`;}
13
- function block5 (this: SecondaryNavigation, context: UI5Element, tags: string[], suffix: string | undefined, item: any, index: number) { return suffix ? html`<li role="none" class="udex-secondary-navigation__list-item"><${scopeTag("udex-secondary-navigation-item", tags, suffix)} index="${index}" ?active="${item.active}" path="${ifDefined(item.path)}" label="${ifDefined(item.title)}" mobile-link-title="${ifDefined(item.mobileLinkTitle)}" target="${ifDefined(item.target)}" .subItems="${ifDefined(item.items)}" _nav-items-length="${ifDefined(this.visibleItems.length)}" @ui5-sub-item-click="${ifDefined(this.handleSubItemClick)}" @ui5-nav-item-click="${ifDefined(this.handleItemClick)}"></${scopeTag("udex-secondary-navigation-item", tags, suffix)}></li>` : html`<li role="none" class="udex-secondary-navigation__list-item"><udex-secondary-navigation-item index="${index}" ?active="${item.active}" path="${ifDefined(item.path)}" label="${ifDefined(item.title)}" mobile-link-title="${ifDefined(item.mobileLinkTitle)}" target="${ifDefined(item.target)}" .subItems="${ifDefined(item.items)}" _nav-items-length="${ifDefined(this.visibleItems.length)}" @ui5-sub-item-click="${ifDefined(this.handleSubItemClick)}" @ui5-nav-item-click="${ifDefined(this.handleItemClick)}"></udex-secondary-navigation-item></li>`;}
14
- function block6 (this: SecondaryNavigation, context: UI5Element, tags: string[], suffix: string | undefined) { return suffix ? html`<li role="none" class="udex-secondary-navigation__list-item"><${scopeTag("udex-secondary-navigation-item", tags, suffix)} _nav-items-length="${ifDefined(this.visibleItems.length)}" index="${ifDefined(this.visibleItems.length)}" @ui5-sub-item-click="${ifDefined(this.handleSubItemClick)}" @ui5-nav-item-click="${ifDefined(this.handleItemClick)}" label="${ifDefined(this.moreButtonText)}" .subItems="${ifDefined(this._overflowItems)}"></${scopeTag("udex-secondary-navigation-item", tags, suffix)}></li>` : html`<li role="none" class="udex-secondary-navigation__list-item"><udex-secondary-navigation-item _nav-items-length="${ifDefined(this.visibleItems.length)}" index="${ifDefined(this.visibleItems.length)}" @ui5-sub-item-click="${ifDefined(this.handleSubItemClick)}" @ui5-nav-item-click="${ifDefined(this.handleItemClick)}" label="${ifDefined(this.moreButtonText)}" .subItems="${ifDefined(this._overflowItems)}"></udex-secondary-navigation-item></li>`;}
13
+ function block5 (this: SecondaryNavigation, context: UI5Element, tags: string[], suffix: string | undefined, item: any, index: number) { return suffix ? html`<li class="udex-secondary-navigation__list-item"><${scopeTag("udex-secondary-navigation-item", tags, suffix)} index="${index}" ?active="${item.active}" path="${ifDefined(item.path)}" label="${ifDefined(item.title)}" mobile-link-title="${ifDefined(item.mobileLinkTitle)}" target="${ifDefined(item.target)}" .subItems="${ifDefined(item.items)}" _nav-items-length="${ifDefined(this.visibleItems.length)}" @ui5-sub-item-click="${ifDefined(this.handleSubItemClick)}" @ui5-nav-item-click="${ifDefined(this.handleItemClick)}"></${scopeTag("udex-secondary-navigation-item", tags, suffix)}></li>` : html`<li class="udex-secondary-navigation__list-item"><udex-secondary-navigation-item index="${index}" ?active="${item.active}" path="${ifDefined(item.path)}" label="${ifDefined(item.title)}" mobile-link-title="${ifDefined(item.mobileLinkTitle)}" target="${ifDefined(item.target)}" .subItems="${ifDefined(item.items)}" _nav-items-length="${ifDefined(this.visibleItems.length)}" @ui5-sub-item-click="${ifDefined(this.handleSubItemClick)}" @ui5-nav-item-click="${ifDefined(this.handleItemClick)}"></udex-secondary-navigation-item></li>`;}
14
+ function block6 (this: SecondaryNavigation, context: UI5Element, tags: string[], suffix: string | undefined) { return suffix ? html`<li class="udex-secondary-navigation__list-item"><${scopeTag("udex-secondary-navigation-item", tags, suffix)} _nav-items-length="${ifDefined(this.visibleItems.length)}" index="${ifDefined(this.visibleItems.length)}" @ui5-sub-item-click="${ifDefined(this.handleSubItemClick)}" @ui5-nav-item-click="${ifDefined(this.handleItemClick)}" label="${ifDefined(this.moreButtonText)}" .subItems="${ifDefined(this._overflowItems)}"></${scopeTag("udex-secondary-navigation-item", tags, suffix)}></li>` : html`<li class="udex-secondary-navigation__list-item"><udex-secondary-navigation-item _nav-items-length="${ifDefined(this.visibleItems.length)}" index="${ifDefined(this.visibleItems.length)}" @ui5-sub-item-click="${ifDefined(this.handleSubItemClick)}" @ui5-nav-item-click="${ifDefined(this.handleItemClick)}" label="${ifDefined(this.moreButtonText)}" .subItems="${ifDefined(this._overflowItems)}"></udex-secondary-navigation-item></li>`;}
15
15
  function block7 (this: SecondaryNavigation, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<div class="udex-secondary-navigation__buttons"><slot name="buttons"></slot></div>`;}
16
- function block8 (this: SecondaryNavigation, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<div class="udex-secondary-navigation__buttons"><slot name="buttons"></slot></div>`;}
16
+ function block8 (this: SecondaryNavigation, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<div class="udex-secondary-navigation__buttons" @click="${this.handleMobileButtonsClick}"><slot name="buttons"></slot></div>`;}
17
17
 
18
18
  function template(this: SecondaryNavigation) { return block0.call(this, this, (this.constructor as typeof UI5Element).tagsToScope, getCustomElementsScopingSuffix()); }
19
19
  export default template;
@@ -5,36 +5,52 @@ import type UI5Element from "@ui5/webcomponents-base/dist/UI5Element.js";
5
5
  type TabHeader = any;
6
6
  import type { ClassMapValue } from "@ui5/webcomponents-base/dist/types.js";
7
7
 
8
- function block0 (this: TabHeader, context: UI5Element, tags: string[], suffix: string | undefined) { return html`${ this.hasBodyTextOrLink ? block1.call(this, context, tags, suffix) : block17.call(this, context, tags, suffix) } `;}
9
- function block1 (this: TabHeader, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<div class="udex-tab-navigation__tab-wrapper" role="presentation" ._realTab="${ifDefined(this)}" ${ this.widthStyle ? block2.call(this, context, tags, suffix) : undefined }>${ this.hasNotHref ? block3.call(this, context, tags, suffix) : block9.call(this, context, tags, suffix) }${ this.hasBodyText ? block15.call(this, context, tags, suffix) : undefined }${ this.hasLinkSlot ? block16.call(this, context, tags, suffix) : undefined }</div>`;}
8
+ function block0 (this: TabHeader, context: UI5Element, tags: string[], suffix: string | undefined) { return html`${ this.hasBodyTextOrLink ? block1.call(this, context, tags, suffix) : block25.call(this, context, tags, suffix) } `;}
9
+ function block1 (this: TabHeader, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<div class="udex-tab-navigation__tab-wrapper" role="presentation" ._realTab="${ifDefined(this)}" ${ this.widthStyle ? block2.call(this, context, tags, suffix) : undefined }>${ this.hasNotHref ? block3.call(this, context, tags, suffix) : block13.call(this, context, tags, suffix) }${ this.hasBodyText ? block23.call(this, context, tags, suffix) : undefined }${ this.hasLinkSlot ? block24.call(this, context, tags, suffix) : undefined }</div>`;}
10
10
  function block2 (this: TabHeader, context: UI5Element, tags: string[], suffix: string | undefined) { return html`style="${styleMap(this.widthStyle)}"`;}
11
- function block3 (this: TabHeader, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<button id="${ifDefined(this._id)}" class="udex-tab-navigation__button-tab ${ifDefined(this.selectedClass)}${ifDefined(this.classWithIconWithoutBackground)}${ifDefined(this.buttonClassWithIcon)}" type="button" role="tab" tabindex="${ifDefined(this._tabIndex)}" aria-posinset="${ifDefined(this._posinset)}" aria-setsize="${ifDefined(this._setsize)}" aria-controls="${ifDefined(this._contentId)}" aria-selected="${ifDefined(this.effectiveSelected)}">${ this.hasIcon ? block4.call(this, context, tags, suffix) : undefined }<p class="udex-tab-navigation__button-text ${ifDefined(this.classWithIcon)}">${ifDefined(this.text)}${ this.numberBadge ? block6.call(this, context, tags, suffix) : undefined }${ this.hasNotIcon ? block7.call(this, context, tags, suffix) : undefined }</p><span class="visually-hidden" id="udex-tab-navigation__${ifDefined(this._id)}__accessible-name">${ifDefined(this.accessibleNameText)}</span>${ this.ariaDescribedByBodyText ? block8.call(this, context, tags, suffix) : undefined }</button>`;}
11
+ function block3 (this: TabHeader, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<button id="${ifDefined(this._id)}" class="udex-tab-navigation__button-tab ${ifDefined(this.selectedClass)}${ifDefined(this.classWithIconWithoutBackground)}${ifDefined(this.buttonClassWithIcon)}${ifDefined(this.processTabClass)}" type="button" role="tab" tabindex="${ifDefined(this._tabIndex)}" aria-posinset="${ifDefined(this._posinset)}" aria-setsize="${ifDefined(this._setsize)}" aria-controls="${ifDefined(this._contentId)}" aria-selected="${ifDefined(this.effectiveSelected)}">${ this.hasIcon ? block4.call(this, context, tags, suffix) : undefined }${ this._isProcessTab ? block6.call(this, context, tags, suffix) : block9.call(this, context, tags, suffix) }<span class="visually-hidden" id="udex-tab-navigation__${ifDefined(this._id)}__accessible-name">${ifDefined(this.accessibleNameText)}</span>${ this.ariaDescribedByBodyText ? block12.call(this, context, tags, suffix) : undefined }</button>`;}
12
12
  function block4 (this: TabHeader, context: UI5Element, tags: string[], suffix: string | undefined) { return suffix ? html`<span class="udex-tab-navigation__button-icon-outer" role="presentation" aria-hidden="true"><${scopeTag("ui5-icon", tags, suffix)} class="udex-tab-navigation__button-icon" name="${ifDefined(this.icon)}"></${scopeTag("ui5-icon", tags, suffix)}>${ this.showAttentionBadge ? block5.call(this, context, tags, suffix) : undefined }</span>` : html`<span class="udex-tab-navigation__button-icon-outer" role="presentation" aria-hidden="true"><ui5-icon class="udex-tab-navigation__button-icon" name="${ifDefined(this.icon)}"></ui5-icon>${ this.showAttentionBadge ? block5.call(this, context, tags, suffix) : undefined }</span>`;}
13
13
  function block5 (this: TabHeader, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<span class="udex-tab-navigation__button-badge"></span>`;}
14
- function block6 (this: TabHeader, context: UI5Element, tags: string[], suffix: string | undefined) { return suffix ? html`<${scopeTag("udex-badge", tags, suffix)} class="udex-tab-navigation__badge" type="Number" number-design="Blue" size="Medium">${ifDefined(this.numberBadge)}</${scopeTag("udex-badge", tags, suffix)}>` : html`<udex-badge class="udex-tab-navigation__badge" type="Number" number-design="Blue" size="Medium">${ifDefined(this.numberBadge)}</udex-badge>`;}
15
- function block7 (this: TabHeader, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<span class="udex-tab-navigation__button-badge"></span>`;}
16
- function block8 (this: TabHeader, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<span class="visually-hidden">${ifDefined(this.bodyText)}</span>`;}
17
- function block9 (this: TabHeader, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<a id="${ifDefined(this._id)}" class="udex-tab-navigation__button-tab ${ifDefined(this.selectedClass)}${ifDefined(this.classWithIconWithoutBackground)}${ifDefined(this.buttonClassWithIcon)}" href="${ifDefined(this.href)}" target="${ifDefined(this.target)}" role="tab" tabindex="${ifDefined(this.linkTabIndex)}" aria-posinset="${ifDefined(this._posinset)}" aria-setsize="${ifDefined(this._setsize)}">${ this.hasIcon ? block10.call(this, context, tags, suffix) : undefined }<p class="udex-tab-navigation__button-text ${ifDefined(this.classWithIcon)}">${ifDefined(this.text)}${ this.numberBadge ? block12.call(this, context, tags, suffix) : undefined }${ this.hasNotIcon ? block13.call(this, context, tags, suffix) : undefined }</p><span class="visually-hidden" id="udex-tab-navigation__${ifDefined(this._id)}__accessible-name">${ifDefined(this.accessibleNameText)}</span>${ this.ariaDescribedByBodyText ? block14.call(this, context, tags, suffix) : undefined }</a>`;}
18
- function block10 (this: TabHeader, context: UI5Element, tags: string[], suffix: string | undefined) { return suffix ? html`<span class="udex-tab-navigation__button-icon-outer" role="presentation" aria-hidden="true"><${scopeTag("ui5-icon", tags, suffix)} class="udex-tab-navigation__button-icon" name="${ifDefined(this.icon)}"></${scopeTag("ui5-icon", tags, suffix)}>${ this.showAttentionBadge ? block11.call(this, context, tags, suffix) : undefined }</span>` : html`<span class="udex-tab-navigation__button-icon-outer" role="presentation" aria-hidden="true"><ui5-icon class="udex-tab-navigation__button-icon" name="${ifDefined(this.icon)}"></ui5-icon>${ this.showAttentionBadge ? block11.call(this, context, tags, suffix) : undefined }</span>`;}
14
+ function block6 (this: TabHeader, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<span class="udex-tab-navigation__button-text-block"><span class="udex-tab-navigation__button-item-count">${ifDefined(this.effectiveItemCountText)}</span><p class="udex-tab-navigation__button-text ${ifDefined(this.classWithIcon)}">${ifDefined(this.text)}${ this.numberBadge ? block7.call(this, context, tags, suffix) : undefined }${ this.hasNotIcon ? block8.call(this, context, tags, suffix) : undefined }</p></span>`;}
15
+ function block7 (this: TabHeader, context: UI5Element, tags: string[], suffix: string | undefined) { return suffix ? html`<${scopeTag("udex-badge", tags, suffix)} class="udex-tab-navigation__badge" type="Number" number-design="Blue" size="Medium">${ifDefined(this.numberBadge)}</${scopeTag("udex-badge", tags, suffix)}>` : html`<udex-badge class="udex-tab-navigation__badge" type="Number" number-design="Blue" size="Medium">${ifDefined(this.numberBadge)}</udex-badge>`;}
16
+ function block8 (this: TabHeader, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<span class="udex-tab-navigation__button-badge"></span>`;}
17
+ function block9 (this: TabHeader, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<p class="udex-tab-navigation__button-text ${ifDefined(this.classWithIcon)}">${ifDefined(this.text)}${ this.numberBadge ? block10.call(this, context, tags, suffix) : undefined }${ this.hasNotIcon ? block11.call(this, context, tags, suffix) : undefined }</p>`;}
18
+ function block10 (this: TabHeader, context: UI5Element, tags: string[], suffix: string | undefined) { return suffix ? html`<${scopeTag("udex-badge", tags, suffix)} class="udex-tab-navigation__badge" type="Number" number-design="Blue" size="Medium">${ifDefined(this.numberBadge)}</${scopeTag("udex-badge", tags, suffix)}>` : html`<udex-badge class="udex-tab-navigation__badge" type="Number" number-design="Blue" size="Medium">${ifDefined(this.numberBadge)}</udex-badge>`;}
19
19
  function block11 (this: TabHeader, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<span class="udex-tab-navigation__button-badge"></span>`;}
20
- function block12 (this: TabHeader, context: UI5Element, tags: string[], suffix: string | undefined) { return suffix ? html`<${scopeTag("udex-badge", tags, suffix)} class="udex-tab-navigation__badge" type="Number" number-design="Blue" size="Medium">${ifDefined(this.numberBadge)}</${scopeTag("udex-badge", tags, suffix)}>` : html`<udex-badge class="udex-tab-navigation__badge" type="Number" number-design="Blue" size="Medium">${ifDefined(this.numberBadge)}</udex-badge>`;}
21
- function block13 (this: TabHeader, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<span class="udex-tab-navigation__button-badge"></span>`;}
22
- function block14 (this: TabHeader, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<span class="visually-hidden">${ifDefined(this.bodyText)}</span>`;}
23
- function block15 (this: TabHeader, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<p class="udex-tab-navigation__button-body-text">${ifDefined(this.bodyText)}</p>`;}
24
- function block16 (this: TabHeader, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<div class="udex-tab-navigation__button-links">${unsafeHTML(this.linkSlotHtml)}</div>`;}
25
- function block17 (this: TabHeader, context: UI5Element, tags: string[], suffix: string | undefined) { return html`${ this.hasNotHref ? block18.call(this, context, tags, suffix) : block24.call(this, context, tags, suffix) }`;}
26
- function block18 (this: TabHeader, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<button id="${ifDefined(this._id)}" class="udex-tab-navigation__button-tab ${ifDefined(this.selectedClass)}${ifDefined(this.classWithIconWithoutBackground)}${ifDefined(this.buttonClassWithIcon)}" tabindex="${ifDefined(this._tabIndex)}" type="button" role="tab" aria-describedby="udex-tab-navigation__${ifDefined(this._id)}__accessible-name" aria-posinset="${ifDefined(this._posinset)}" aria-setsize="${ifDefined(this._setsize)}" aria-controls="${ifDefined(this._contentId)}" aria-selected="${ifDefined(this.effectiveSelected)}" ._realTab="${ifDefined(this)}" ${ this.widthStyle ? block19.call(this, context, tags, suffix) : undefined }>${ this.hasIcon ? block20.call(this, context, tags, suffix) : undefined }<p class="udex-tab-navigation__button-text ${ifDefined(this.classWithIcon)}">${ifDefined(this.text)}${ this.numberBadge ? block22.call(this, context, tags, suffix) : undefined }${ this.hasNotIcon ? block23.call(this, context, tags, suffix) : undefined }</p><span class="visually-hidden" id="udex-tab-navigation__${ifDefined(this._id)}__accessible-name">${ifDefined(this.accessibleNameText)}</span></button>`;}
27
- function block19 (this: TabHeader, context: UI5Element, tags: string[], suffix: string | undefined) { return html`style="${styleMap(this.widthStyle)}"`;}
28
- function block20 (this: TabHeader, context: UI5Element, tags: string[], suffix: string | undefined) { return suffix ? html`<span class="udex-tab-navigation__button-icon-outer" role="presentation" aria-hidden="true"><${scopeTag("ui5-icon", tags, suffix)} class="udex-tab-navigation__button-icon" name="${ifDefined(this.icon)}"></${scopeTag("ui5-icon", tags, suffix)}>${ this.showAttentionBadge ? block21.call(this, context, tags, suffix) : undefined }</span>` : html`<span class="udex-tab-navigation__button-icon-outer" role="presentation" aria-hidden="true"><ui5-icon class="udex-tab-navigation__button-icon" name="${ifDefined(this.icon)}"></ui5-icon>${ this.showAttentionBadge ? block21.call(this, context, tags, suffix) : undefined }</span>`;}
20
+ function block12 (this: TabHeader, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<span class="visually-hidden">${ifDefined(this.bodyText)}</span>`;}
21
+ function block13 (this: TabHeader, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<a id="${ifDefined(this._id)}" class="udex-tab-navigation__button-tab ${ifDefined(this.selectedClass)}${ifDefined(this.classWithIconWithoutBackground)}${ifDefined(this.buttonClassWithIcon)}${ifDefined(this.processTabClass)}" href="${ifDefined(this.href)}" target="${ifDefined(this.target)}" role="tab" tabindex="${ifDefined(this.linkTabIndex)}" aria-posinset="${ifDefined(this._posinset)}" aria-setsize="${ifDefined(this._setsize)}">${ this.hasIcon ? block14.call(this, context, tags, suffix) : undefined }${ this._isProcessTab ? block16.call(this, context, tags, suffix) : block19.call(this, context, tags, suffix) }<span class="visually-hidden" id="udex-tab-navigation__${ifDefined(this._id)}__accessible-name">${ifDefined(this.accessibleNameText)}</span>${ this.ariaDescribedByBodyText ? block22.call(this, context, tags, suffix) : undefined }</a>`;}
22
+ function block14 (this: TabHeader, context: UI5Element, tags: string[], suffix: string | undefined) { return suffix ? html`<span class="udex-tab-navigation__button-icon-outer" role="presentation" aria-hidden="true"><${scopeTag("ui5-icon", tags, suffix)} class="udex-tab-navigation__button-icon" name="${ifDefined(this.icon)}"></${scopeTag("ui5-icon", tags, suffix)}>${ this.showAttentionBadge ? block15.call(this, context, tags, suffix) : undefined }</span>` : html`<span class="udex-tab-navigation__button-icon-outer" role="presentation" aria-hidden="true"><ui5-icon class="udex-tab-navigation__button-icon" name="${ifDefined(this.icon)}"></ui5-icon>${ this.showAttentionBadge ? block15.call(this, context, tags, suffix) : undefined }</span>`;}
23
+ function block15 (this: TabHeader, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<span class="udex-tab-navigation__button-badge"></span>`;}
24
+ function block16 (this: TabHeader, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<span class="udex-tab-navigation__button-text-block"><span class="udex-tab-navigation__button-item-count">${ifDefined(this.effectiveItemCountText)}</span><p class="udex-tab-navigation__button-text ${ifDefined(this.classWithIcon)}">${ifDefined(this.text)}${ this.numberBadge ? block17.call(this, context, tags, suffix) : undefined }${ this.hasNotIcon ? block18.call(this, context, tags, suffix) : undefined }</p></span>`;}
25
+ function block17 (this: TabHeader, context: UI5Element, tags: string[], suffix: string | undefined) { return suffix ? html`<${scopeTag("udex-badge", tags, suffix)} class="udex-tab-navigation__badge" type="Number" number-design="Blue" size="Medium">${ifDefined(this.numberBadge)}</${scopeTag("udex-badge", tags, suffix)}>` : html`<udex-badge class="udex-tab-navigation__badge" type="Number" number-design="Blue" size="Medium">${ifDefined(this.numberBadge)}</udex-badge>`;}
26
+ function block18 (this: TabHeader, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<span class="udex-tab-navigation__button-badge"></span>`;}
27
+ function block19 (this: TabHeader, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<p class="udex-tab-navigation__button-text ${ifDefined(this.classWithIcon)}">${ifDefined(this.text)}${ this.numberBadge ? block20.call(this, context, tags, suffix) : undefined }${ this.hasNotIcon ? block21.call(this, context, tags, suffix) : undefined }</p>`;}
28
+ function block20 (this: TabHeader, context: UI5Element, tags: string[], suffix: string | undefined) { return suffix ? html`<${scopeTag("udex-badge", tags, suffix)} class="udex-tab-navigation__badge" type="Number" number-design="Blue" size="Medium">${ifDefined(this.numberBadge)}</${scopeTag("udex-badge", tags, suffix)}>` : html`<udex-badge class="udex-tab-navigation__badge" type="Number" number-design="Blue" size="Medium">${ifDefined(this.numberBadge)}</udex-badge>`;}
29
29
  function block21 (this: TabHeader, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<span class="udex-tab-navigation__button-badge"></span>`;}
30
- function block22 (this: TabHeader, context: UI5Element, tags: string[], suffix: string | undefined) { return suffix ? html`<${scopeTag("udex-badge", tags, suffix)} class="udex-tab-navigation__badge" type="Number" number-design="Blue" size="Medium">${ifDefined(this.numberBadge)}</${scopeTag("udex-badge", tags, suffix)}>` : html`<udex-badge class="udex-tab-navigation__badge" type="Number" number-design="Blue" size="Medium">${ifDefined(this.numberBadge)}</udex-badge>`;}
31
- function block23 (this: TabHeader, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<span class="udex-tab-navigation__button-badge"></span>`;}
32
- function block24 (this: TabHeader, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<a id="${ifDefined(this._id)}" class="udex-tab-navigation__button-tab ${ifDefined(this.selectedClass)}${ifDefined(this.classWithIconWithoutBackground)}${ifDefined(this.buttonClassWithIcon)}" tabindex="${ifDefined(this.linkTabIndex)}" role="tab" aria-posinset="${ifDefined(this._posinset)}" aria-setsize="${ifDefined(this._setsize)}" href="${ifDefined(this.href)}" target="${ifDefined(this.target)}" ${ this.widthStyle ? block25.call(this, context, tags, suffix) : undefined } ._realTab="${ifDefined(this)}">${ this.hasIcon ? block26.call(this, context, tags, suffix) : undefined }<p class="udex-tab-navigation__button-text ${ifDefined(this.classWithIcon)}">${ifDefined(this.text)}${ this.numberBadge ? block28.call(this, context, tags, suffix) : undefined }${ this.hasNotIcon ? block29.call(this, context, tags, suffix) : undefined }</p><span class="visually-hidden" id="udex-tab-navigation__${ifDefined(this._id)}__accessible-name">${ifDefined(this.accessibleNameText)}</span></a>`;}
33
- function block25 (this: TabHeader, context: UI5Element, tags: string[], suffix: string | undefined) { return html`style="${styleMap(this.widthStyle)}"`;}
34
- function block26 (this: TabHeader, context: UI5Element, tags: string[], suffix: string | undefined) { return suffix ? html`<span class="udex-tab-navigation__button-icon-outer" role="presentation" aria-hidden="true"><${scopeTag("ui5-icon", tags, suffix)} class="udex-tab-navigation__button-icon" name="${ifDefined(this.icon)}"></${scopeTag("ui5-icon", tags, suffix)}>${ this.showAttentionBadge ? block27.call(this, context, tags, suffix) : undefined }</span>` : html`<span class="udex-tab-navigation__button-icon-outer" role="presentation" aria-hidden="true"><ui5-icon class="udex-tab-navigation__button-icon" name="${ifDefined(this.icon)}"></ui5-icon>${ this.showAttentionBadge ? block27.call(this, context, tags, suffix) : undefined }</span>`;}
35
- function block27 (this: TabHeader, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<span class="udex-tab-navigation__button-badge"></span>`;}
36
- function block28 (this: TabHeader, context: UI5Element, tags: string[], suffix: string | undefined) { return suffix ? html`<${scopeTag("udex-badge", tags, suffix)} class="udex-tab-navigation__badge" type="Number" number-design="Blue" size="Medium">${ifDefined(this.numberBadge)}</${scopeTag("udex-badge", tags, suffix)}>` : html`<udex-badge class="udex-tab-navigation__badge" type="Number" number-design="Blue" size="Medium">${ifDefined(this.numberBadge)}</udex-badge>`;}
30
+ function block22 (this: TabHeader, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<span class="visually-hidden">${ifDefined(this.bodyText)}</span>`;}
31
+ function block23 (this: TabHeader, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<p class="udex-tab-navigation__button-body-text">${ifDefined(this.bodyText)}</p>`;}
32
+ function block24 (this: TabHeader, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<div class="udex-tab-navigation__button-links">${unsafeHTML(this.linkSlotHtml)}</div>`;}
33
+ function block25 (this: TabHeader, context: UI5Element, tags: string[], suffix: string | undefined) { return html`${ this.hasNotHref ? block26.call(this, context, tags, suffix) : block36.call(this, context, tags, suffix) }`;}
34
+ function block26 (this: TabHeader, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<button id="${ifDefined(this._id)}" class="udex-tab-navigation__button-tab ${ifDefined(this.selectedClass)}${ifDefined(this.classWithIconWithoutBackground)}${ifDefined(this.buttonClassWithIcon)}${ifDefined(this.processTabClass)}" tabindex="${ifDefined(this._tabIndex)}" type="button" role="tab" aria-describedby="udex-tab-navigation__${ifDefined(this._id)}__accessible-name" aria-posinset="${ifDefined(this._posinset)}" aria-setsize="${ifDefined(this._setsize)}" aria-controls="${ifDefined(this._contentId)}" aria-selected="${ifDefined(this.effectiveSelected)}" ._realTab="${ifDefined(this)}" ${ this.widthStyle ? block27.call(this, context, tags, suffix) : undefined }>${ this.hasIcon ? block28.call(this, context, tags, suffix) : undefined }${ this._isProcessTab ? block30.call(this, context, tags, suffix) : block33.call(this, context, tags, suffix) }<span class="visually-hidden" id="udex-tab-navigation__${ifDefined(this._id)}__accessible-name">${ifDefined(this.accessibleNameText)}</span></button>`;}
35
+ function block27 (this: TabHeader, context: UI5Element, tags: string[], suffix: string | undefined) { return html`style="${styleMap(this.widthStyle)}"`;}
36
+ function block28 (this: TabHeader, context: UI5Element, tags: string[], suffix: string | undefined) { return suffix ? html`<span class="udex-tab-navigation__button-icon-outer" role="presentation" aria-hidden="true"><${scopeTag("ui5-icon", tags, suffix)} class="udex-tab-navigation__button-icon" name="${ifDefined(this.icon)}"></${scopeTag("ui5-icon", tags, suffix)}>${ this.showAttentionBadge ? block29.call(this, context, tags, suffix) : undefined }</span>` : html`<span class="udex-tab-navigation__button-icon-outer" role="presentation" aria-hidden="true"><ui5-icon class="udex-tab-navigation__button-icon" name="${ifDefined(this.icon)}"></ui5-icon>${ this.showAttentionBadge ? block29.call(this, context, tags, suffix) : undefined }</span>`;}
37
37
  function block29 (this: TabHeader, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<span class="udex-tab-navigation__button-badge"></span>`;}
38
+ function block30 (this: TabHeader, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<span class="udex-tab-navigation__button-text-block"><span class="udex-tab-navigation__button-item-count">${ifDefined(this.effectiveItemCountText)}</span><p class="udex-tab-navigation__button-text ${ifDefined(this.classWithIcon)}">${ifDefined(this.text)}${ this.numberBadge ? block31.call(this, context, tags, suffix) : undefined }${ this.hasNotIcon ? block32.call(this, context, tags, suffix) : undefined }</p></span>`;}
39
+ function block31 (this: TabHeader, context: UI5Element, tags: string[], suffix: string | undefined) { return suffix ? html`<${scopeTag("udex-badge", tags, suffix)} class="udex-tab-navigation__badge" type="Number" number-design="Blue" size="Medium">${ifDefined(this.numberBadge)}</${scopeTag("udex-badge", tags, suffix)}>` : html`<udex-badge class="udex-tab-navigation__badge" type="Number" number-design="Blue" size="Medium">${ifDefined(this.numberBadge)}</udex-badge>`;}
40
+ function block32 (this: TabHeader, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<span class="udex-tab-navigation__button-badge"></span>`;}
41
+ function block33 (this: TabHeader, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<p class="udex-tab-navigation__button-text ${ifDefined(this.classWithIcon)}">${ifDefined(this.text)}${ this.numberBadge ? block34.call(this, context, tags, suffix) : undefined }${ this.hasNotIcon ? block35.call(this, context, tags, suffix) : undefined }</p>`;}
42
+ function block34 (this: TabHeader, context: UI5Element, tags: string[], suffix: string | undefined) { return suffix ? html`<${scopeTag("udex-badge", tags, suffix)} class="udex-tab-navigation__badge" type="Number" number-design="Blue" size="Medium">${ifDefined(this.numberBadge)}</${scopeTag("udex-badge", tags, suffix)}>` : html`<udex-badge class="udex-tab-navigation__badge" type="Number" number-design="Blue" size="Medium">${ifDefined(this.numberBadge)}</udex-badge>`;}
43
+ function block35 (this: TabHeader, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<span class="udex-tab-navigation__button-badge"></span>`;}
44
+ function block36 (this: TabHeader, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<a id="${ifDefined(this._id)}" class="udex-tab-navigation__button-tab ${ifDefined(this.selectedClass)}${ifDefined(this.classWithIconWithoutBackground)}${ifDefined(this.buttonClassWithIcon)}${ifDefined(this.processTabClass)}" tabindex="${ifDefined(this.linkTabIndex)}" role="tab" aria-posinset="${ifDefined(this._posinset)}" aria-setsize="${ifDefined(this._setsize)}" href="${ifDefined(this.href)}" target="${ifDefined(this.target)}" ${ this.widthStyle ? block37.call(this, context, tags, suffix) : undefined } ._realTab="${ifDefined(this)}">${ this.hasIcon ? block38.call(this, context, tags, suffix) : undefined }${ this._isProcessTab ? block40.call(this, context, tags, suffix) : block43.call(this, context, tags, suffix) }<span class="visually-hidden" id="udex-tab-navigation__${ifDefined(this._id)}__accessible-name">${ifDefined(this.accessibleNameText)}</span></a>`;}
45
+ function block37 (this: TabHeader, context: UI5Element, tags: string[], suffix: string | undefined) { return html`style="${styleMap(this.widthStyle)}"`;}
46
+ function block38 (this: TabHeader, context: UI5Element, tags: string[], suffix: string | undefined) { return suffix ? html`<span class="udex-tab-navigation__button-icon-outer" role="presentation" aria-hidden="true"><${scopeTag("ui5-icon", tags, suffix)} class="udex-tab-navigation__button-icon" name="${ifDefined(this.icon)}"></${scopeTag("ui5-icon", tags, suffix)}>${ this.showAttentionBadge ? block39.call(this, context, tags, suffix) : undefined }</span>` : html`<span class="udex-tab-navigation__button-icon-outer" role="presentation" aria-hidden="true"><ui5-icon class="udex-tab-navigation__button-icon" name="${ifDefined(this.icon)}"></ui5-icon>${ this.showAttentionBadge ? block39.call(this, context, tags, suffix) : undefined }</span>`;}
47
+ function block39 (this: TabHeader, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<span class="udex-tab-navigation__button-badge"></span>`;}
48
+ function block40 (this: TabHeader, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<span class="udex-tab-navigation__button-text-block"><span class="udex-tab-navigation__button-item-count">${ifDefined(this.effectiveItemCountText)}</span><p class="udex-tab-navigation__button-text ${ifDefined(this.classWithIcon)}">${ifDefined(this.text)}${ this.numberBadge ? block41.call(this, context, tags, suffix) : undefined }${ this.hasNotIcon ? block42.call(this, context, tags, suffix) : undefined }</p></span>`;}
49
+ function block41 (this: TabHeader, context: UI5Element, tags: string[], suffix: string | undefined) { return suffix ? html`<${scopeTag("udex-badge", tags, suffix)} class="udex-tab-navigation__badge" type="Number" number-design="Blue" size="Medium">${ifDefined(this.numberBadge)}</${scopeTag("udex-badge", tags, suffix)}>` : html`<udex-badge class="udex-tab-navigation__badge" type="Number" number-design="Blue" size="Medium">${ifDefined(this.numberBadge)}</udex-badge>`;}
50
+ function block42 (this: TabHeader, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<span class="udex-tab-navigation__button-badge"></span>`;}
51
+ function block43 (this: TabHeader, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<p class="udex-tab-navigation__button-text ${ifDefined(this.classWithIcon)}">${ifDefined(this.text)}${ this.numberBadge ? block44.call(this, context, tags, suffix) : undefined }${ this.hasNotIcon ? block45.call(this, context, tags, suffix) : undefined }</p>`;}
52
+ function block44 (this: TabHeader, context: UI5Element, tags: string[], suffix: string | undefined) { return suffix ? html`<${scopeTag("udex-badge", tags, suffix)} class="udex-tab-navigation__badge" type="Number" number-design="Blue" size="Medium">${ifDefined(this.numberBadge)}</${scopeTag("udex-badge", tags, suffix)}>` : html`<udex-badge class="udex-tab-navigation__badge" type="Number" number-design="Blue" size="Medium">${ifDefined(this.numberBadge)}</udex-badge>`;}
53
+ function block45 (this: TabHeader, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<span class="udex-tab-navigation__button-badge"></span>`;}
38
54
 
39
55
  function template(this: TabHeader) { return block0.call(this, this, (this.constructor as typeof UI5Element).tagsToScope, getCustomElementsScopingSuffix()); }
40
56
  export default template;