@sapudex/web-components 2.31.0 → 2.32.1

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 (134) hide show
  1. package/cypress/specs/Breadcrumbs.cy.tsx +26 -0
  2. package/cypress/specs/MediaPlayer.cy.tsx +209 -0
  3. package/cypress/specs/SecondaryNavigationDesktop.cy.tsx +74 -21
  4. package/cypress/specs/SecondaryNavigationMobile.cy.tsx +58 -1
  5. package/cypress/specs/SelectBox.cy.tsx +35 -0
  6. package/cypress/specs/StepInput.cy.tsx +507 -0
  7. package/cypress/specs/TabNavigation.cy.tsx +603 -39
  8. package/cypress/support/component-imports.instrumented.ts +4 -0
  9. package/cypress/support/component-imports.src.ts +7 -3
  10. package/dist/Breadcrumbs.d.ts +5 -0
  11. package/dist/Breadcrumbs.js +8 -1
  12. package/dist/Breadcrumbs.js.map +1 -1
  13. package/dist/HeroBanner.d.ts +0 -3
  14. package/dist/HeroBanner.js +0 -5
  15. package/dist/HeroBanner.js.map +1 -1
  16. package/dist/HeroBannerTemplate.d.ts +2 -0
  17. package/dist/HeroBannerTemplate.js +6 -1
  18. package/dist/HeroBannerTemplate.js.map +1 -1
  19. package/dist/MastheadItem.js +5 -4
  20. package/dist/MastheadItem.js.map +1 -1
  21. package/dist/MediaPlayer.d.ts +15 -0
  22. package/dist/MediaPlayer.js +28 -0
  23. package/dist/MediaPlayer.js.map +1 -1
  24. package/dist/SecondaryNavigation.d.ts +12 -2
  25. package/dist/SecondaryNavigation.js +59 -8
  26. package/dist/SecondaryNavigation.js.map +1 -1
  27. package/dist/SecondaryNavigationItem.d.ts +0 -1
  28. package/dist/SecondaryNavigationItem.js +0 -4
  29. package/dist/SecondaryNavigationItem.js.map +1 -1
  30. package/dist/SecondaryNavigationSubItem.js +1 -1
  31. package/dist/SecondaryNavigationSubItem.js.map +1 -1
  32. package/dist/SelectBase.js +2 -1
  33. package/dist/SelectBase.js.map +1 -1
  34. package/dist/StepInput.d.ts +3 -0
  35. package/dist/StepInput.js +17 -0
  36. package/dist/StepInput.js.map +1 -1
  37. package/dist/StepInputTemplate.js +1 -1
  38. package/dist/StepInputTemplate.js.map +1 -1
  39. package/dist/Tab.d.ts +1 -1
  40. package/dist/Tab.js +3 -3
  41. package/dist/Tab.js.map +1 -1
  42. package/dist/TabNavigation.d.ts +64 -0
  43. package/dist/TabNavigation.js +124 -1
  44. package/dist/TabNavigation.js.map +1 -1
  45. package/dist/assets/{InputSuggestions-i2kFpCfC.js → InputSuggestions-DeXhpK0F.js} +1 -1
  46. package/dist/assets/{ListItemStandardExpandableTextTemplate-C1ceDaxu.js → ListItemStandardExpandableTextTemplate-jMEdrC07.js} +1 -1
  47. package/dist/assets/{bundle.esm-DQ3cxywT.js → bundle.esm-CwJAt93x.js} +219 -219
  48. package/dist/assets/messagebundle_en-iNqRB1VZ.js +1 -0
  49. package/dist/css/themes/BreadcrumbsPopover.css +1 -1
  50. package/dist/css/themes/FilterMenu.css +1 -1
  51. package/dist/css/themes/HeroBanner.css +1 -1
  52. package/dist/css/themes/Modal.css +1 -1
  53. package/dist/css/themes/RatingIndicator.css +1 -1
  54. package/dist/css/themes/SecondaryNavigationItem.css +1 -1
  55. package/dist/css/themes/Slider.css +1 -1
  56. package/dist/css/themes/TabNavigation.css +1 -1
  57. package/dist/custom-elements-internal.json +221 -0
  58. package/dist/custom-elements.json +149 -0
  59. package/dist/generated/assets/i18n/messagebundle_en.json +1 -1
  60. package/dist/generated/i18n/i18n-defaults.js +1 -1
  61. package/dist/generated/i18n/i18n-defaults.js.map +1 -1
  62. package/dist/generated/templates/SecondaryNavigationTemplate.lit.js +1 -1
  63. package/dist/generated/templates/SecondaryNavigationTemplate.lit.js.map +1 -1
  64. package/dist/generated/templates/TabNavigationTemplate.lit.js +10 -8
  65. package/dist/generated/templates/TabNavigationTemplate.lit.js.map +1 -1
  66. package/dist/generated/themes/BreadcrumbsPopover.css.d.ts +1 -1
  67. package/dist/generated/themes/BreadcrumbsPopover.css.js +1 -1
  68. package/dist/generated/themes/BreadcrumbsPopover.css.js.map +1 -1
  69. package/dist/generated/themes/FilterMenu.css.d.ts +1 -1
  70. package/dist/generated/themes/FilterMenu.css.js +1 -1
  71. package/dist/generated/themes/FilterMenu.css.js.map +1 -1
  72. package/dist/generated/themes/HeroBanner.css.d.ts +1 -1
  73. package/dist/generated/themes/HeroBanner.css.js +1 -1
  74. package/dist/generated/themes/HeroBanner.css.js.map +1 -1
  75. package/dist/generated/themes/Modal.css.d.ts +1 -1
  76. package/dist/generated/themes/Modal.css.js +1 -1
  77. package/dist/generated/themes/Modal.css.js.map +1 -1
  78. package/dist/generated/themes/RatingIndicator.css.d.ts +1 -1
  79. package/dist/generated/themes/RatingIndicator.css.js +1 -1
  80. package/dist/generated/themes/RatingIndicator.css.js.map +1 -1
  81. package/dist/generated/themes/SecondaryNavigationItem.css.d.ts +1 -1
  82. package/dist/generated/themes/SecondaryNavigationItem.css.js +1 -1
  83. package/dist/generated/themes/SecondaryNavigationItem.css.js.map +1 -1
  84. package/dist/generated/themes/Slider.css.d.ts +1 -1
  85. package/dist/generated/themes/Slider.css.js +1 -1
  86. package/dist/generated/themes/Slider.css.js.map +1 -1
  87. package/dist/generated/themes/TabNavigation.css.d.ts +1 -1
  88. package/dist/generated/themes/TabNavigation.css.js +1 -1
  89. package/dist/generated/themes/TabNavigation.css.js.map +1 -1
  90. package/dist/messagebundle.properties +1 -1
  91. package/dist/messagebundle_en.properties +1 -1
  92. package/dist/vscode.html-custom-data.json +23 -3
  93. package/dist/web-types.json +64 -4
  94. package/package.json +1 -1
  95. package/src/Breadcrumbs.ts +9 -1
  96. package/src/HeroBanner.ts +0 -5
  97. package/src/HeroBannerTemplate.tsx +6 -1
  98. package/src/MastheadItem.ts +5 -4
  99. package/src/MediaPlayer.ts +35 -0
  100. package/src/SecondaryNavigation.hbs +1 -0
  101. package/src/SecondaryNavigation.ts +77 -9
  102. package/src/SecondaryNavigationItem.ts +0 -6
  103. package/src/SecondaryNavigationSubItem.ts +1 -1
  104. package/src/SelectBase.ts +2 -1
  105. package/src/StepInput.ts +20 -0
  106. package/src/StepInputTemplate.tsx +1 -1
  107. package/src/Tab.ts +4 -4
  108. package/src/TabNavigation.hbs +15 -0
  109. package/src/TabNavigation.ts +134 -1
  110. package/src/generated/i18n/i18n-defaults.ts +1 -1
  111. package/src/generated/templates/SecondaryNavigationTemplate.lit.ts +1 -1
  112. package/src/generated/templates/TabNavigationTemplate.lit.ts +10 -8
  113. package/src/generated/themes/BreadcrumbsPopover.css.ts +1 -1
  114. package/src/generated/themes/FilterMenu.css.ts +1 -1
  115. package/src/generated/themes/HeroBanner.css.ts +1 -1
  116. package/src/generated/themes/Modal.css.ts +1 -1
  117. package/src/generated/themes/RatingIndicator.css.ts +1 -1
  118. package/src/generated/themes/SecondaryNavigationItem.css.ts +1 -1
  119. package/src/generated/themes/Slider.css.ts +1 -1
  120. package/src/generated/themes/TabNavigation.css.ts +1 -1
  121. package/src/i18n/messagebundle.properties +1 -1
  122. package/src/i18n/messagebundle_en.properties +1 -1
  123. package/src/themes/BreadcrumbsPopover.css +2 -2
  124. package/src/themes/FilterMenu.css +5 -1
  125. package/src/themes/HeroBanner.css +93 -76
  126. package/src/themes/Modal.css +3 -2
  127. package/src/themes/SecondaryNavigationItem.css +4 -1
  128. package/src/themes/TabNavigation.css +27 -16
  129. package/dist/assets/messagebundle_en-DWAgV5VH.js +0 -1
  130. package/dist/generated/templates/HeroBannerTemplate.lit.d.ts +0 -3
  131. package/dist/generated/templates/HeroBannerTemplate.lit.js +0 -15
  132. package/dist/generated/templates/HeroBannerTemplate.lit.js.map +0 -1
  133. package/src/HeroBanner.hbs +0 -46
  134. package/src/generated/templates/HeroBannerTemplate.lit.ts +0 -19
@@ -179,13 +179,17 @@
179
179
  width: 100%;
180
180
  }
181
181
 
182
+ :host([show-search-input]) .udex-no-result {
183
+ padding: 0 var(--udexSpacer12, 12px) var(--udexSpacer16, 16px);
184
+ }
185
+
182
186
  .udex-no-result {
183
187
  font-family: var(--sapFontFamily);
184
188
  font-weight: var(--udexTypographyFontWeightRegular, 400);
185
189
  font-size: var(--udexTypographyBodyXSFontSize, 14px);
186
190
  line-height: var(--udexTypographyBodyLineHeight, 1.5);
187
191
  color: var(--sapContent_TitleColor, #000000);
188
- padding: 0 var(--udexSpacer12, 12px) var(--udexSpacer16, 16px);
192
+ padding: var(--udexSpacer16, 16px) var(--udexSpacer12, 12px) var(--udexSpacer16, 16px);
189
193
  }
190
194
 
191
195
  @media (width < 640px) {
@@ -8,9 +8,11 @@
8
8
  --udexHeroBannerBackroundVideoZIndex: 1;
9
9
  --udexHeroBannerContentZIndex: 2;
10
10
  --udexHeroBannerContentPaddingHorizontal: var(--udexGridXSMargins, 24px);
11
- --udexHeroBannerContentPaddingVertical: var(--udexGridXSMargins, 24px);
11
+ --udexHeroBannerContentPaddingVertical: 40px;
12
12
  --udexHeroBannerContentPaddingVerticalXLtoM: var(--udexSpacer56, 56px);
13
13
  --udexHeroBannerPaddingHorizontalLandM: var(--udexSpacer72);
14
+ --udexHeroBannerPaddingVerticalBottomS: var(--udexSpacer48);
15
+ --udexHeroBannerPaddingVerticalBottomXS: var(--udexSpacer48);
14
16
  --udexHeroBannerPaddingHorizontalS: var(--udexSpacer48);
15
17
  --udexHeroBannerPaddingHorizontalXS: var(--udexSpacer24);
16
18
  --udexHeroBannerBackgroundVideoColor: trasparent;
@@ -58,41 +60,20 @@
58
60
  padding: var(--udexHeroBannerContentPaddingVerticalXLtoM) var(--udexSpacer84);
59
61
  height: 100%;
60
62
  box-sizing: border-box;
63
+ display: flex;
64
+ flex-direction: column;
65
+ justify-content: center;
61
66
  }
62
67
 
63
68
  .udex-hero-banner__background-video-wrapper .udex-hero-banner__background-image {
64
69
  display: none;
65
70
  }
66
71
 
67
- .udex-hero-banner__media-button:dir(rtl) {
68
- left: 0;
69
- right: initial;
70
- }
71
-
72
- .udex-hero-banner__media-button:hover {
73
- cursor: pointer;
74
- background: var(--udexColorNeutralBlack70);
75
- }
76
-
77
- .udex-hero-banner__media-button ui5-icon {
78
- color: var(--udexColorNeutralWhite);
79
- display: flex;
80
- align-items: center;
81
- justify-content: center;
82
- height: 1.5rem;
83
- width: 1.5rem;
84
- }
85
72
  .udex-hero-banner__background-image:dir(rtl),
86
73
  .udex-hero-banner__background-video-overlay:dir(rtl) {
87
74
  transform: scaleX(-1);
88
75
  }
89
76
 
90
- .udex-hero-banner__background-video,
91
- .udex-hero-banner__background-video-overlay,
92
- .udex-hero-banner__media-button {
93
- display: none;
94
- }
95
-
96
77
  #udex-hero-banner__content,
97
78
  #udex-hero-banner__additionalContent {
98
79
  position: relative;
@@ -115,6 +96,77 @@
115
96
  height: var(--udexHeroBannerHeight, auto);
116
97
  }
117
98
 
99
+ .udex-hero-banner--video {
100
+ height: 28.125rem; /* 450px */
101
+ }
102
+
103
+ .udex-hero-banner__media-button {
104
+ border: none;
105
+ display: flex;
106
+ justify-content: center;
107
+ align-items: center;
108
+ border-radius: 50%;
109
+ padding: 0;
110
+ width: 3rem;
111
+ height: 3rem;
112
+ position: absolute;
113
+ bottom: var(--udexSpacer48);
114
+ right: var(--udexSpacer84);
115
+ z-index: 3;
116
+ overflow: hidden;
117
+ cursor: pointer;
118
+ }
119
+
120
+ .udex-hero-banner__media-button:before {
121
+ content: '';
122
+ position: absolute;
123
+ inset: 0;
124
+ background: var(--udexColorNeutralBlack);
125
+ opacity: 0.8;
126
+ border-radius: 50%;
127
+ z-index: -1;
128
+ }
129
+
130
+ .udex-hero-banner__media-button:dir(rtl) {
131
+ left: var(--udexSpacer84);
132
+ right: auto;
133
+ }
134
+
135
+ .udex-hero-banner__media-button:hover [ui5-icon] {
136
+ color: var(--udexColorGrey4);
137
+ }
138
+
139
+ .udex-hero-banner__media-button [ui5-icon] {
140
+ color: var(--udexColorNeutralWhite);
141
+ height: 100%;
142
+ width: 100%;
143
+ }
144
+
145
+ .udex-hero-banner__background-video {
146
+ position: absolute;
147
+ display: block;
148
+ width: 100%;
149
+ object-fit: cover;
150
+ object-position: center;
151
+ height: 100%;
152
+ top: 0;
153
+ left: 0;
154
+ }
155
+
156
+ .udex-hero-banner__background-video-overlay {
157
+ position: absolute;
158
+ display: block;
159
+ width: 100%;
160
+ height: 100%;
161
+ background: linear-gradient(90deg, rgba(18, 23, 28, 0.765) 0%, rgba(18, 23, 28, 0.09) 100%);
162
+ top: 0;
163
+ left: 0;
164
+ }
165
+
166
+ .udex-hero-banner__background-image {
167
+ object-position: var(--udexHeroBannerHorizontalLayoutBackgroundImageAlignment, top right);
168
+ }
169
+
118
170
  @media (max-width: 1599px) {
119
171
  .udex-hero-banner__container {
120
172
  padding: var(--udexHeroBannerContentPaddingVerticalXLtoM) var(--udexHeroBannerPaddingHorizontalLandM);
@@ -124,9 +176,23 @@
124
176
  .udex-hero-banner__background-video-wrapper {
125
177
  padding: var(--udexHeroBannerContentPaddingVerticalXLtoM) var(--udexHeroBannerPaddingHorizontalLandM);
126
178
  }
179
+
180
+ .udex-hero-banner__media-button {
181
+ right: var(--udexSpacer72);
182
+ }
183
+
184
+ .udex-hero-banner__media-button:dir(rtl) {
185
+ left: var(--udexSpacer72);
186
+ }
127
187
  }
128
188
 
129
189
  @media (max-width: 979px) {
190
+ .udex-hero-banner__background-video,
191
+ .udex-hero-banner__background-video-overlay,
192
+ .udex-hero-banner__media-button {
193
+ display: none;
194
+ }
195
+
130
196
  .udex-hero-banner__container {
131
197
  padding: var(--udexHeroBannerContentPaddingVertical) var(--udexHeroBannerPaddingHorizontalS);
132
198
  max-width: 100%;
@@ -139,7 +205,7 @@
139
205
  }
140
206
 
141
207
  .udex-hero-banner__background-video-wrapper {
142
- padding: var(--udexHeroBannerContentPaddingVertical) var(--udexHeroBannerPaddingHorizontalS);
208
+ padding: var(--udexHeroBannerContentPaddingVertical) var(--udexHeroBannerPaddingHorizontalS) var(--udexHeroBannerPaddingVerticalBottomS);
143
209
  background-color: var(--udexHeroBannerBackgroundVideoColor);
144
210
  }
145
211
 
@@ -161,59 +227,10 @@
161
227
  }
162
228
 
163
229
  .udex-hero-banner__background-video-wrapper {
164
- padding: var(--udexHeroBannerContentPaddingVertical) var(--udexHeroBannerPaddingHorizontalXS);
230
+ padding: var(--udexHeroBannerContentPaddingVertical) var(--udexHeroBannerPaddingHorizontalXS) var(--udexHeroBannerPaddingVerticalBottomXS);
165
231
  }
166
232
 
167
233
  .udex-hero-banner__background-video-wrapper .udex-hero-banner__background-image {
168
234
  display: none;
169
235
  }
170
236
  }
171
-
172
- @media (min-width: 980px) {
173
- .udex-hero-banner--video {
174
- height: 28.125rem; /* 450px */
175
- }
176
-
177
- .udex-hero-banner__media-button {
178
- border: 3px solid var(--udexColorNeutralWhite);
179
- color: var(--udexColorNeutralWhite);
180
- background: var(--udexColorNeutralBlack40);
181
- display: flex;
182
- justify-content: center;
183
- align-items: center;
184
- border-radius: 50%;
185
- padding: 0;
186
- width: 3rem;
187
- height: 3rem;
188
- position: absolute;
189
- bottom: 0;
190
- right: 0;
191
- margin: var(--udexHeroBannerContentPaddingHorizontal);
192
- z-index: 3;
193
- }
194
-
195
- .udex-hero-banner__background-video {
196
- position: absolute;
197
- display: block;
198
- width: 100%;
199
- object-fit: cover;
200
- object-position: center;
201
- height: 100%;
202
- top: 0;
203
- left: 0;
204
- }
205
-
206
- .udex-hero-banner__background-video-overlay {
207
- position: absolute;
208
- display: block;
209
- width: 100%;
210
- height: 100%;
211
- background: linear-gradient(90deg, rgba(18, 23, 28, 0.765) 0%, rgba(18, 23, 28, 0.09) 100%);
212
- top: 0;
213
- left: 0;
214
- }
215
-
216
- .udex-hero-banner__background-image {
217
- object-position: var(--udexHeroBannerHorizontalLayoutBackgroundImageAlignment, top right);
218
- }
219
- }
@@ -52,7 +52,8 @@
52
52
 
53
53
  @media (max-width: 979px) {
54
54
  :host(:not([type="basic"])) {
55
- max-width: 100%;
56
- max-height: 100%;
55
+ min-width: 100%;
56
+ min-height: 100%;
57
+ --udex-modal-border-radius: 0;
57
58
  }
58
59
  }
@@ -190,7 +190,6 @@
190
190
  display: none;
191
191
  }
192
192
 
193
-
194
193
  :host([desktop]) .udex-secondary-navigation__item:focus {
195
194
  outline: none;
196
195
  }
@@ -226,6 +225,10 @@
226
225
  .udex-secondary-navigation__item:hover {
227
226
  color: var(--udex-secondary-navigation-item-color);
228
227
  }
228
+
229
+ .udex-secondary-navigation__dropdown-list {
230
+ padding: var(--udexSpacer16) 0;
231
+ }
229
232
  }
230
233
 
231
234
  @media (max-width: 639px) {
@@ -433,10 +433,15 @@
433
433
  flex-direction: column;
434
434
  align-items: stretch;
435
435
  min-height: auto;
436
- height: 100%;
436
+ height: auto;
437
437
  flex: 0 0 25%;
438
438
  width: 100%;
439
439
  max-height: none;
440
+ align-self: var(--udex-tab-navigation-header-alignment, flex-start);
441
+ }
442
+
443
+ :host([orientation="Vertical"][vertical-alignment="Center"]) {
444
+ --udex-tab-navigation-header-alignment: center;
440
445
  }
441
446
 
442
447
  :host([orientation="Vertical"]) .udex-tab-navigation__header:before {
@@ -445,7 +450,7 @@
445
450
 
446
451
  :host([orientation="Vertical"]) .udex-tab-navigation__header-tabs {
447
452
  flex-direction: column;
448
- gap: var(--udexSpacer32, 32px);
453
+ gap: var(--udexSpacer16, 16px);
449
454
  overflow: visible;
450
455
  white-space: normal;
451
456
  max-height: none;
@@ -454,7 +459,7 @@
454
459
 
455
460
  @media screen and (max-width: 979px) {
456
461
  :host([orientation="Vertical"]) .udex-tab-navigation__header-tabs {
457
- gap: var(--udexSpacer24, 24px);
462
+ gap: var(--udexSpacer16, 16px);
458
463
  }
459
464
 
460
465
  :host([orientation="Vertical"]) .udex-tab-navigation__header-tabs > .udex-tab-navigation__button-tab:not(:last-child):not(:has(+ .udex-tab-navigation__content)),
@@ -465,7 +470,7 @@
465
470
  }
466
471
 
467
472
  :host([orientation="Vertical"]) .udex-tab-navigation__button-tab {
468
- padding: 0 var(--udexSpacer16, 16px);
473
+ padding: var(--udexSpacer16, 16px);
469
474
  align-items: flex-start;
470
475
  width: 100%;
471
476
  height: auto;
@@ -502,7 +507,7 @@
502
507
  display: flex;
503
508
  flex-direction: column;
504
509
  gap: var(--udexSpacer16, 16px);
505
- padding: 0 var(--udexSpacer16, 16px);
510
+ padding: var(--udexSpacer16, 16px);
506
511
  transition: all 200ms ease-in;
507
512
  }
508
513
 
@@ -561,17 +566,6 @@
561
566
  display: block;
562
567
  }
563
568
 
564
- :host([orientation="Vertical"]) .udex-tab-navigation__button-link {
565
- font-size: var(--udexTypographyNavigationRegularXLFontSize, 16px);
566
- font-weight: var(--udexTypographyFontWeightRegular, 400);
567
- line-height: 24px;
568
- display: none;
569
- }
570
-
571
- :host([orientation="Vertical"]) .udex-tab-navigation__button-tab--active ~ .udex-tab-navigation__button-link {
572
- display: block;
573
- }
574
-
575
569
  :host([orientation="Vertical"]) .udex-tab-navigation__button-links {
576
570
  display: none;
577
571
  flex-direction: column;
@@ -582,8 +576,25 @@
582
576
  display: flex;
583
577
  }
584
578
 
579
+
585
580
  :host([orientation="Vertical"]) .udex-tab-navigation__content {
586
581
  flex: 1 1 75%;
587
582
  padding-block-start: 0;
588
583
  padding-inline-start: var(--udexSpacer16, 16px);
589
584
  }
585
+
586
+ /* Vertical — End placement: tabs appear on the inline-end side of the content */
587
+ :host([orientation="Vertical"][placement="End"]) .udex-tab-navigation__header {
588
+ order: 1;
589
+ }
590
+
591
+ /* Vertical — play button spacing (replaces header gap) */
592
+ :host([orientation="Vertical"]) .udex-tab-navigation__play-button {
593
+ margin-block-end: var(--udexSpacer16, 16px);
594
+ }
595
+
596
+ /* Vertical — footer slot */
597
+ :host([orientation="Vertical"]) .udex-tab-navigation__footer {
598
+ margin-block-start: var(--udex-tab-navigation-footer-spacing, var(--udexSpacer20, 20px));
599
+ padding-inline-start: var(--udexSpacer16, 16px);
600
+ }
@@ -1 +0,0 @@
1
- const T="Count",E="of",_="Pagination page",A="Selected",S="Unselected",I="Indeterminate",t="Edit",O="Delete",o="back to region list",R="Primary",N="Secondary",n="Tertiary",L="Warning",s="Positive",e="Negative",C="Emphasized",c="Default",U="Transparent",P="Attention",a="Date Input",B="Toggled",D="First page",i="Last page",r="Previous page",M="Next page",l="Current page",G="Activate page number",d="Suggested searches",u="Clear",V="Search",W="Clear",Y="Voice",g="Submit",F="Listening",m="Available Values",p="Recommended pages",H="Expand All",X="Collapse All",f="More",h="Attention badge",b="Read more",v="Read less",y="Show more",K="Show less",w="Rating Indicator",k="Rating",x="Required",Q="Total",Z="Rating",q="Contains Multi-Selectable Items",z="Contains Selectable Items",j="Show Results",J="Show/Hide Password Button",$="Reset",TT="Message Strip Close Button",ET="Information Bar",_T="Positive Bar",AT="Warning Bar",ST="Negative Bar",IT="Action Bar",tT="reviews",OT="stars",oT="Select Options",RT="Select All",NT="{0} characters remaining",nT="Field State Error",LT="Field State Warning",sT="Field State Success",eT="Field State Standard",CT="Previous Page",cT="Next Page",UT="No matches found.",PT="Breadcrumb Trail",aT="More",BT="Increase by",DT="Decrease by",iT="No data found",rT="Invalid entry",MT="Warning issued",lT="Informative entry",GT="Entry successfully validated",dT="Read only",uT="Logout",VT="Switch account",WT="Back",YT="Other identities",gT="Add or remove account",FT="Select country",mT="Overview",pT="Cart",HT="Country Selector",XT="Support",fT="Phone number",hT="Contact us",bT="Email",vT="Chat with us",yT="Quick Links",KT="Trending",wT="About SAP",kT="Site Information",xT="Or see our complete list of",QT="local country numbers",ZT="© {0} SAP SE or an SAP affiliate company. All rights reserved.",qT="Avatar",zT="Open Calendar icon",jT="Edit list item entry",JT="Delete list item entry",$T="back button label",TE="Status Badge",EE="Click to edit profile",_E="Click to open profile information",AE="Warning, potential risk with the profile",SE="There is an error with the profile",IE="Successfully verified profile",tE="Profile",OE="main links",oE="opens in a new window",RE="Text field",NE="Uploading",nE="Terminated",LE="Remove file",sE="Upload file",eE="Complete list of",CE="Call us today!",cE="Search",UE="results returned.",PE="Social Media Button",aE="Promo Tile",BE="Promo Tile Icon",DE="Back to top",iE="Start button to begin customer logos rotation",rE="Pause button to stop customer logos rotation",ME="Location",lE="Close",GE={COUNT:T,OF:E,PAGINATION_PAGE:_,SELECTED:A,UNSELECTED:S,INDETERMINATE:I,EDIT_BUTTON:t,DELETE_BUTTON:O,BACK_TO_REGION_LIST:o,BUTTON_ARIA_TYPE_PRIMARY:R,BUTTON_ARIA_TYPE_SECONDARY:N,BUTTON_ARIA_TYPE_TERTIARY:n,BUTTON_ARIA_TYPE_WARNING:L,BUTTON_ARIA_TYPE_POSITIVE:s,BUTTON_ARIA_TYPE_NEGATIVE:e,BUTTON_ARIA_EMPHASIZED:C,BUTTON_ARIA_DEFAULT:c,BUTTON_ARIA_TRANSPARENT:U,BUTTON_ARIA_ATTENTION:P,DATEPICKER_DATE_DESCRIPTION:a,TOGGLED:B,FIRST_PAGE:D,LAST_PAGE:i,PREVIOUS_PAGE:r,NEXT_PAGE:M,CURRENT_PAGE:l,ACTIVATE_PAGE:G,SUGGESTED_TEXT:d,ACCESSIBLE_NAME_RESET_ICON:u,ACCESSIBLE_NAME_SEARCH_ICON:V,TOOLTIP_RESET_BUTTON:W,TOOLTIP_VOICE_BUTTON:Y,TOOLTIP_SUBMIT_BUTTON:g,LISTENING:F,AVAILABLE_VALUES:m,RECOMMENDED_TEXT:p,EXPAND_ALL:H,COLLAPSE_ALL:X,MORE:f,ATTENTION_BADGE:h,READ_MORE:b,READ_LESS:v,SHOW_MORE:y,SHOW_LESS:K,RATING_INDICATOR_TEXT:w,RATING_INDICATOR_TOOLTIP_TEXT:k,RATING_INDICATOR_ARIA_DESCRIPTION:x,TOTAL:Q,RATING_COUNT_TITLE:Z,ARIA_LABEL_LIST_MULTISELECTABLE:q,ARIA_LABEL_LIST_SELECTABLE:z,SHOW_RESULTS:j,SHOW_HIDE_PASSWORD:J,RESET:$,MESSAGE_STRIP_CLOSE_BUTTON:TT,MESSAGE_STRIP_INFORMATION:ET,MESSAGE_STRIP_SUCCESS:_T,MESSAGE_STRIP_WARNING:AT,MESSAGE_STRIP_ERROR:ST,MESSAGE_STRIP_ACTION:IT,REVIEWS:tT,STARS:OT,SELECT_OPTIONS:oT,SELECT_ALL:RT,TEXTAREA_CHARACTERS_LEFT:NT,VALUE_STATE_TYPE_ERROR:nT,VALUE_STATE_TYPE_WARNING:LT,VALUE_STATE_TYPE_SUCCESS:sT,VALUE_STATE_TYPE_STANDARD:eT,CAROUSEL_PREVIOUS_ARROW_TEXT:CT,CAROUSEL_NEXT_ARROW_TEXT:cT,NO_MATCHES_FOUND:UT,BREADCRUMBS_ARIA_LABEL:PT,BREADCRUMBS_OVERFLOW_ARIA_LABEL:aT,STEPINPUT_INC_ICON_TITLE:BT,STEPINPUT_DEC_ICON_TITLE:DT,TABLE_NO_DATA_FOUND:iT,VALUE_STATE_ERROR:rT,VALUE_STATE_WARNING:MT,VALUE_STATE_INFORMATION:lT,VALUE_STATE_SUCCESS:GT,READ_ONLY:dT,LOGOUT:uT,SWITCH_ACCOUNT:VT,BACK:WT,OTHER_IDENTITIES:YT,ADD_OR_REMOVE_ACCOUNT:gT,COUNTRY_SELECT:FT,OVERVIEW:mT,CART:pT,COUNTRY_SELECTOR:HT,SUPPORT:XT,PHONE_NUMBER:fT,CONTACT_US:hT,EMAIL:bT,CHAT_WITH_US:vT,QUICK_LINKS:yT,TRENDING:KT,ABOUT_SAP:wT,SITE_INFORMATION:kT,SEE_COMPLETE_LIST:xT,LOCAL_COUNTRY_NAMES:QT,COPYRIGHT:ZT,AVATAR_TEXT:qT,CALENDAR_ICON:zT,LIST_ITEM_EDIT_ICON:jT,LIST_ITEM_DELETE_ICON:JT,BACK_BUTTON_LABEL:$T,STATUS_BADGE_TEXT:TE,STATUS_BADGE_EDIT_TITLE:EE,STATUS_BADGE_INFORMATION_TITLE:_E,STATUS_BADGE_WARNING_TITLE:AE,STATUS_BADGE_ERROR_TITLE:SE,STATUS_BADGE_SUCCESS_TITLE:IE,PROFILE:tE,MAIN_LINKS:OE,OPENS_IN_A_NEW_WINDOW:oE,TEXT_FIELD:RE,UPLOADING_FILE_STATUS_TEXT:NE,TERMINATED_FILE_STATUS_TEXT:nE,REMOVE_FILE_TEXT:LE,UPLOAD_BUTTON_LABEL:sE,COMPLETE_LIST_OF:eE,CALL_US_TODAY:CE,SEARCH:cE,RESULT_RETURNED:UE,SOCIAL_MEDIA_BUTTON:PE,PROMO_TILE:aE,PROMO_TILE_ICON:BE,BACK_TO_TOP:DE,PLAY_BUTTON_ACCESSIBLE_NAME:iE,PAUSE_BUTTON_ACCESSIBLE_NAME:rE,LOCATION:ME,TOAST_CLOSE_ACCESSIBLE_NAME:lE};export{wT as ABOUT_SAP,u as ACCESSIBLE_NAME_RESET_ICON,V as ACCESSIBLE_NAME_SEARCH_ICON,G as ACTIVATE_PAGE,gT as ADD_OR_REMOVE_ACCOUNT,q as ARIA_LABEL_LIST_MULTISELECTABLE,z as ARIA_LABEL_LIST_SELECTABLE,h as ATTENTION_BADGE,m as AVAILABLE_VALUES,qT as AVATAR_TEXT,WT as BACK,$T as BACK_BUTTON_LABEL,o as BACK_TO_REGION_LIST,DE as BACK_TO_TOP,PT as BREADCRUMBS_ARIA_LABEL,aT as BREADCRUMBS_OVERFLOW_ARIA_LABEL,P as BUTTON_ARIA_ATTENTION,c as BUTTON_ARIA_DEFAULT,C as BUTTON_ARIA_EMPHASIZED,U as BUTTON_ARIA_TRANSPARENT,e as BUTTON_ARIA_TYPE_NEGATIVE,s as BUTTON_ARIA_TYPE_POSITIVE,R as BUTTON_ARIA_TYPE_PRIMARY,N as BUTTON_ARIA_TYPE_SECONDARY,n as BUTTON_ARIA_TYPE_TERTIARY,L as BUTTON_ARIA_TYPE_WARNING,zT as CALENDAR_ICON,CE as CALL_US_TODAY,cT as CAROUSEL_NEXT_ARROW_TEXT,CT as CAROUSEL_PREVIOUS_ARROW_TEXT,pT as CART,vT as CHAT_WITH_US,X as COLLAPSE_ALL,eE as COMPLETE_LIST_OF,hT as CONTACT_US,ZT as COPYRIGHT,T as COUNT,FT as COUNTRY_SELECT,HT as COUNTRY_SELECTOR,l as CURRENT_PAGE,a as DATEPICKER_DATE_DESCRIPTION,O as DELETE_BUTTON,t as EDIT_BUTTON,bT as EMAIL,H as EXPAND_ALL,D as FIRST_PAGE,I as INDETERMINATE,i as LAST_PAGE,F as LISTENING,JT as LIST_ITEM_DELETE_ICON,jT as LIST_ITEM_EDIT_ICON,QT as LOCAL_COUNTRY_NAMES,ME as LOCATION,uT as LOGOUT,OE as MAIN_LINKS,IT as MESSAGE_STRIP_ACTION,TT as MESSAGE_STRIP_CLOSE_BUTTON,ST as MESSAGE_STRIP_ERROR,ET as MESSAGE_STRIP_INFORMATION,_T as MESSAGE_STRIP_SUCCESS,AT as MESSAGE_STRIP_WARNING,f as MORE,M as NEXT_PAGE,UT as NO_MATCHES_FOUND,E as OF,oE as OPENS_IN_A_NEW_WINDOW,YT as OTHER_IDENTITIES,mT as OVERVIEW,_ as PAGINATION_PAGE,rE as PAUSE_BUTTON_ACCESSIBLE_NAME,fT as PHONE_NUMBER,iE as PLAY_BUTTON_ACCESSIBLE_NAME,r as PREVIOUS_PAGE,tE as PROFILE,aE as PROMO_TILE,BE as PROMO_TILE_ICON,yT as QUICK_LINKS,Z as RATING_COUNT_TITLE,x as RATING_INDICATOR_ARIA_DESCRIPTION,w as RATING_INDICATOR_TEXT,k as RATING_INDICATOR_TOOLTIP_TEXT,v as READ_LESS,b as READ_MORE,dT as READ_ONLY,p as RECOMMENDED_TEXT,LE as REMOVE_FILE_TEXT,$ as RESET,UE as RESULT_RETURNED,tT as REVIEWS,cE as SEARCH,xT as SEE_COMPLETE_LIST,A as SELECTED,RT as SELECT_ALL,oT as SELECT_OPTIONS,J as SHOW_HIDE_PASSWORD,K as SHOW_LESS,y as SHOW_MORE,j as SHOW_RESULTS,kT as SITE_INFORMATION,PE as SOCIAL_MEDIA_BUTTON,OT as STARS,EE as STATUS_BADGE_EDIT_TITLE,SE as STATUS_BADGE_ERROR_TITLE,_E as STATUS_BADGE_INFORMATION_TITLE,IE as STATUS_BADGE_SUCCESS_TITLE,TE as STATUS_BADGE_TEXT,AE as STATUS_BADGE_WARNING_TITLE,DT as STEPINPUT_DEC_ICON_TITLE,BT as STEPINPUT_INC_ICON_TITLE,d as SUGGESTED_TEXT,XT as SUPPORT,VT as SWITCH_ACCOUNT,iT as TABLE_NO_DATA_FOUND,nE as TERMINATED_FILE_STATUS_TEXT,NT as TEXTAREA_CHARACTERS_LEFT,RE as TEXT_FIELD,lE as TOAST_CLOSE_ACCESSIBLE_NAME,B as TOGGLED,W as TOOLTIP_RESET_BUTTON,g as TOOLTIP_SUBMIT_BUTTON,Y as TOOLTIP_VOICE_BUTTON,Q as TOTAL,KT as TRENDING,S as UNSELECTED,NE as UPLOADING_FILE_STATUS_TEXT,sE as UPLOAD_BUTTON_LABEL,rT as VALUE_STATE_ERROR,lT as VALUE_STATE_INFORMATION,GT as VALUE_STATE_SUCCESS,nT as VALUE_STATE_TYPE_ERROR,eT as VALUE_STATE_TYPE_STANDARD,sT as VALUE_STATE_TYPE_SUCCESS,LT as VALUE_STATE_TYPE_WARNING,MT as VALUE_STATE_WARNING,GE as default};
@@ -1,3 +0,0 @@
1
- import type HeroBanner from "../../HeroBanner.js";
2
- declare function template(this: HeroBanner): import("lit-html").TemplateResult;
3
- export default template;
@@ -1,15 +0,0 @@
1
- /* eslint no-unused-vars: 0 */
2
- import { html, ifDefined, scopeTag } from "@ui5/webcomponents-base/dist/renderer/LitRenderer.js";
3
- import { getCustomElementsScopingSuffix } from "@ui5/webcomponents-base/dist/CustomElementsScopeUtils.js";
4
- function block0(context, tags, suffix) { return html `<div class="${ifDefined(this.heroBannerClasses)}" part="wrapper" style="background-color: ${ifDefined(this.wrapperBackgroundColor)}; ${ifDefined(this.wrapperBackgroundImage)}">${this.hasBackgroundVideo ? block1.call(this, context, tags, suffix) : block3.call(this, context, tags, suffix)}</div>${this.hasMediaContent ? block8.call(this, context, tags, suffix) : undefined} `; }
5
- function block1(context, tags, suffix) { return suffix ? html `<div class="udex-hero-banner__background-video-wrapper" tabindex="0" @keydown="${this._handleKeydown}"><video ?autoplay="${this.shouldVideoAutoplay}" muted loop playsinline part="background-video" class="udex-hero-banner__background-video" alt="${ifDefined(this.backgroundVideoLabel)}"><source src="${ifDefined(this.backgroundVideo)}" type="video/mp4" /></video><div class="udex-hero-banner__background-video-overlay"></div>${this.hasBackgroundImage ? block2.call(this, context, tags, suffix) : undefined}<div class="udex-hero-banner__content-container"><slot id="udex-hero-banner__content" name="content" part="content"></slot><slot id="udex-hero-banner__additionalContent" name="additionalContent" part="additionalContent"></slot></div><button class="udex-hero-banner__media-button" aria-label="Play / Pause button" role="button" @click="${this._toggleMediaButton}"><${scopeTag("ui5-icon", tags, suffix)} name="${ifDefined(this.mediaButtonIconName)}"></${scopeTag("ui5-icon", tags, suffix)}></button></div>` : html `<div class="udex-hero-banner__background-video-wrapper" tabindex="0" @keydown="${this._handleKeydown}"><video ?autoplay="${this.shouldVideoAutoplay}" muted loop playsinline part="background-video" class="udex-hero-banner__background-video" alt="${ifDefined(this.backgroundVideoLabel)}"><source src="${ifDefined(this.backgroundVideo)}" type="video/mp4" /></video><div class="udex-hero-banner__background-video-overlay"></div>${this.hasBackgroundImage ? block2.call(this, context, tags, suffix) : undefined}<div class="udex-hero-banner__content-container"><slot id="udex-hero-banner__content" name="content" part="content"></slot><slot id="udex-hero-banner__additionalContent" name="additionalContent" part="additionalContent"></slot></div><button class="udex-hero-banner__media-button" aria-label="Play / Pause button" role="button" @click="${this._toggleMediaButton}"><ui5-icon name="${ifDefined(this.mediaButtonIconName)}"></ui5-icon></button></div>`; }
6
- function block2(context, tags, suffix) { return html `<picture><img loading="${ifDefined(this.backgroundImageLoadingStrategy)}" src="${ifDefined(this.backgroundImage)}" part="background-image" class="udex-hero-banner__background-image" alt="${ifDefined(this.backgroundImageLabel)}" /></picture>`; }
7
- function block3(context, tags, suffix) { return html `<div class="udex-hero-banner__container">${this.hasCustomBackgroundPicture ? block4.call(this, context, tags, suffix) : block5.call(this, context, tags, suffix)}<div class="udex-hero-banner__content-container"><slot id="udex-hero-banner__content" name="content" part="content"></slot>${this.hasAdditionalContent ? block7.call(this, context, tags, suffix) : undefined}</div></div>`; }
8
- function block4(context, tags, suffix) { return html `<slot name="backgroundPicture"></slot>`; }
9
- function block5(context, tags, suffix) { return html `${this.hasBackgroundImage ? block6.call(this, context, tags, suffix) : undefined}`; }
10
- function block6(context, tags, suffix) { return html `<picture><img loading="${ifDefined(this.backgroundImageLoadingStrategy)}" src="${ifDefined(this.backgroundImage)}" part="background-image" class="udex-hero-banner__background-image" alt="${ifDefined(this.backgroundImageLabel)}" /></picture>`; }
11
- function block7(context, tags, suffix) { return html `<slot id="udex-hero-banner__additionalContent" name="additionalContent" part="additionalContent"></slot>`; }
12
- function block8(context, tags, suffix) { return html `<slot id="udex-hero-banner__mediaContent" name="mediaContent" part="mediaContent"></slot>`; }
13
- function template() { return block0.call(this, this, this.constructor.tagsToScope, getCustomElementsScopingSuffix()); }
14
- export default template;
15
- //# sourceMappingURL=HeroBannerTemplate.lit.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"HeroBannerTemplate.lit.js","sourceRoot":"","sources":["../../../src/generated/templates/HeroBannerTemplate.lit.ts"],"names":[],"mappings":"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","sourcesContent":["/* eslint no-unused-vars: 0 */\nimport { html, svg, repeat, classMap, styleMap, ifDefined, unsafeHTML, scopeTag } from \"@ui5/webcomponents-base/dist/renderer/LitRenderer.js\";\nimport { getCustomElementsScopingSuffix } from \"@ui5/webcomponents-base/dist/CustomElementsScopeUtils.js\";\nimport type UI5Element from \"@ui5/webcomponents-base/dist/UI5Element.js\";\nimport type HeroBanner from \"../../HeroBanner.js\";\nimport type { ClassMapValue } from \"@ui5/webcomponents-base/dist/types.js\";\n\t\nfunction block0 (this: HeroBanner, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<div class=\"${ifDefined(this.heroBannerClasses)}\" part=\"wrapper\" style=\"background-color: ${ifDefined(this.wrapperBackgroundColor)}; ${ifDefined(this.wrapperBackgroundImage)}\">${ this.hasBackgroundVideo ? block1.call(this, context, tags, suffix) : block3.call(this, context, tags, suffix) }</div>${ this.hasMediaContent ? block8.call(this, context, tags, suffix) : undefined } `;}\nfunction block1 (this: HeroBanner, context: UI5Element, tags: string[], suffix: string | undefined) { return suffix ? html`<div class=\"udex-hero-banner__background-video-wrapper\" tabindex=\"0\" @keydown=\"${this._handleKeydown}\"><video ?autoplay=\"${this.shouldVideoAutoplay}\" muted loop playsinline part=\"background-video\" class=\"udex-hero-banner__background-video\" alt=\"${ifDefined(this.backgroundVideoLabel)}\"><source src=\"${ifDefined(this.backgroundVideo)}\" type=\"video/mp4\" /></video><div class=\"udex-hero-banner__background-video-overlay\"></div>${ this.hasBackgroundImage ? block2.call(this, context, tags, suffix) : undefined }<div class=\"udex-hero-banner__content-container\"><slot id=\"udex-hero-banner__content\" name=\"content\" part=\"content\"></slot><slot id=\"udex-hero-banner__additionalContent\" name=\"additionalContent\" part=\"additionalContent\"></slot></div><button class=\"udex-hero-banner__media-button\" aria-label=\"Play / Pause button\" role=\"button\" @click=\"${this._toggleMediaButton}\"><${scopeTag(\"ui5-icon\", tags, suffix)} name=\"${ifDefined(this.mediaButtonIconName)}\"></${scopeTag(\"ui5-icon\", tags, suffix)}></button></div>` : html`<div class=\"udex-hero-banner__background-video-wrapper\" tabindex=\"0\" @keydown=\"${this._handleKeydown}\"><video ?autoplay=\"${this.shouldVideoAutoplay}\" muted loop playsinline part=\"background-video\" class=\"udex-hero-banner__background-video\" alt=\"${ifDefined(this.backgroundVideoLabel)}\"><source src=\"${ifDefined(this.backgroundVideo)}\" type=\"video/mp4\" /></video><div class=\"udex-hero-banner__background-video-overlay\"></div>${ this.hasBackgroundImage ? block2.call(this, context, tags, suffix) : undefined }<div class=\"udex-hero-banner__content-container\"><slot id=\"udex-hero-banner__content\" name=\"content\" part=\"content\"></slot><slot id=\"udex-hero-banner__additionalContent\" name=\"additionalContent\" part=\"additionalContent\"></slot></div><button class=\"udex-hero-banner__media-button\" aria-label=\"Play / Pause button\" role=\"button\" @click=\"${this._toggleMediaButton}\"><ui5-icon name=\"${ifDefined(this.mediaButtonIconName)}\"></ui5-icon></button></div>`;}\nfunction block2 (this: HeroBanner, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<picture><img loading=\"${ifDefined(this.backgroundImageLoadingStrategy)}\" src=\"${ifDefined(this.backgroundImage)}\" part=\"background-image\" class=\"udex-hero-banner__background-image\" alt=\"${ifDefined(this.backgroundImageLabel)}\" /></picture>`;}\nfunction block3 (this: HeroBanner, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<div class=\"udex-hero-banner__container\">${ this.hasCustomBackgroundPicture ? block4.call(this, context, tags, suffix) : block5.call(this, context, tags, suffix) }<div class=\"udex-hero-banner__content-container\"><slot id=\"udex-hero-banner__content\" name=\"content\" part=\"content\"></slot>${ this.hasAdditionalContent ? block7.call(this, context, tags, suffix) : undefined }</div></div>`;}\nfunction block4 (this: HeroBanner, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<slot name=\"backgroundPicture\"></slot>`;}\nfunction block5 (this: HeroBanner, context: UI5Element, tags: string[], suffix: string | undefined) { return html`${ this.hasBackgroundImage ? block6.call(this, context, tags, suffix) : undefined }`;}\nfunction block6 (this: HeroBanner, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<picture><img loading=\"${ifDefined(this.backgroundImageLoadingStrategy)}\" src=\"${ifDefined(this.backgroundImage)}\" part=\"background-image\" class=\"udex-hero-banner__background-image\" alt=\"${ifDefined(this.backgroundImageLabel)}\" /></picture>`;}\nfunction block7 (this: HeroBanner, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<slot id=\"udex-hero-banner__additionalContent\" name=\"additionalContent\" part=\"additionalContent\"></slot>`;}\nfunction block8 (this: HeroBanner, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<slot id=\"udex-hero-banner__mediaContent\" name=\"mediaContent\" part=\"mediaContent\"></slot>`;}\n\nfunction template(this: HeroBanner) { return block0.call(this, this, (this.constructor as typeof UI5Element).tagsToScope, getCustomElementsScopingSuffix()); }\nexport default template;"]}
@@ -1,46 +0,0 @@
1
- <div class="{{heroBannerClasses}}" part="wrapper" style="background-color: {{wrapperBackgroundColor}}; {{wrapperBackgroundImage}}">
2
- {{#if hasBackgroundVideo}}
3
- <div class="udex-hero-banner__background-video-wrapper" tabindex="0" @keydown="{{_handleKeydown}}">
4
- <video ?autoplay="{{shouldVideoAutoplay}}" muted loop playsinline part="background-video" class="udex-hero-banner__background-video" alt="{{backgroundVideoLabel}}">
5
- <source src="{{backgroundVideo}}" type="video/mp4" />
6
- </video>
7
- <div class="udex-hero-banner__background-video-overlay"></div>
8
- {{#if hasBackgroundImage}}
9
- <picture>
10
- <img loading="{{backgroundImageLoadingStrategy}}" src="{{backgroundImage}}" part="background-image" class="udex-hero-banner__background-image" alt="{{backgroundImageLabel}}" />
11
- </picture>
12
- {{/if}}
13
- <div class="udex-hero-banner__content-container">
14
- <slot id="udex-hero-banner__content" name="content" part="content"></slot>
15
- <slot id="udex-hero-banner__additionalContent" name="additionalContent" part="additionalContent"></slot>
16
- </div>
17
- <button class="udex-hero-banner__media-button" aria-label="Play / Pause button" role="button" @click="{{_toggleMediaButton}}">
18
- <ui5-icon name="{{mediaButtonIconName}}"></ui5-icon>
19
- </button>
20
- </div>
21
- {{else}}
22
- <div class="udex-hero-banner__container">
23
- {{#if hasCustomBackgroundPicture}}
24
- <slot name="backgroundPicture"></slot>
25
- {{else if hasBackgroundImage}}
26
- <picture>
27
- <img loading="{{backgroundImageLoadingStrategy}}" src="{{backgroundImage}}" part="background-image" class="udex-hero-banner__background-image" alt="{{backgroundImageLabel}}" />
28
- </picture>
29
- {{/if}}
30
- <div class="udex-hero-banner__content-container">
31
- {{> hero-content}}
32
- </div>
33
- </div>
34
- {{/if}}
35
- </div>
36
- {{#if hasMediaContent}}
37
- <slot id="udex-hero-banner__mediaContent" name="mediaContent" part="mediaContent"></slot>
38
- {{/if}}
39
-
40
- {{#*inline "hero-content"}}
41
- <slot id="udex-hero-banner__content" name="content" part="content"></slot>
42
-
43
- {{#if hasAdditionalContent}}
44
- <slot id="udex-hero-banner__additionalContent" name="additionalContent" part="additionalContent"></slot>
45
- {{/if}}
46
- {{/inline}}
@@ -1,19 +0,0 @@
1
- /* eslint no-unused-vars: 0 */
2
- import { html, svg, repeat, classMap, styleMap, ifDefined, unsafeHTML, scopeTag } from "@ui5/webcomponents-base/dist/renderer/LitRenderer.js";
3
- import { getCustomElementsScopingSuffix } from "@ui5/webcomponents-base/dist/CustomElementsScopeUtils.js";
4
- import type UI5Element from "@ui5/webcomponents-base/dist/UI5Element.js";
5
- import type HeroBanner from "../../HeroBanner.js";
6
- import type { ClassMapValue } from "@ui5/webcomponents-base/dist/types.js";
7
-
8
- function block0 (this: HeroBanner, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<div class="${ifDefined(this.heroBannerClasses)}" part="wrapper" style="background-color: ${ifDefined(this.wrapperBackgroundColor)}; ${ifDefined(this.wrapperBackgroundImage)}">${ this.hasBackgroundVideo ? block1.call(this, context, tags, suffix) : block3.call(this, context, tags, suffix) }</div>${ this.hasMediaContent ? block8.call(this, context, tags, suffix) : undefined } `;}
9
- function block1 (this: HeroBanner, context: UI5Element, tags: string[], suffix: string | undefined) { return suffix ? html`<div class="udex-hero-banner__background-video-wrapper" tabindex="0" @keydown="${this._handleKeydown}"><video ?autoplay="${this.shouldVideoAutoplay}" muted loop playsinline part="background-video" class="udex-hero-banner__background-video" alt="${ifDefined(this.backgroundVideoLabel)}"><source src="${ifDefined(this.backgroundVideo)}" type="video/mp4" /></video><div class="udex-hero-banner__background-video-overlay"></div>${ this.hasBackgroundImage ? block2.call(this, context, tags, suffix) : undefined }<div class="udex-hero-banner__content-container"><slot id="udex-hero-banner__content" name="content" part="content"></slot><slot id="udex-hero-banner__additionalContent" name="additionalContent" part="additionalContent"></slot></div><button class="udex-hero-banner__media-button" aria-label="Play / Pause button" role="button" @click="${this._toggleMediaButton}"><${scopeTag("ui5-icon", tags, suffix)} name="${ifDefined(this.mediaButtonIconName)}"></${scopeTag("ui5-icon", tags, suffix)}></button></div>` : html`<div class="udex-hero-banner__background-video-wrapper" tabindex="0" @keydown="${this._handleKeydown}"><video ?autoplay="${this.shouldVideoAutoplay}" muted loop playsinline part="background-video" class="udex-hero-banner__background-video" alt="${ifDefined(this.backgroundVideoLabel)}"><source src="${ifDefined(this.backgroundVideo)}" type="video/mp4" /></video><div class="udex-hero-banner__background-video-overlay"></div>${ this.hasBackgroundImage ? block2.call(this, context, tags, suffix) : undefined }<div class="udex-hero-banner__content-container"><slot id="udex-hero-banner__content" name="content" part="content"></slot><slot id="udex-hero-banner__additionalContent" name="additionalContent" part="additionalContent"></slot></div><button class="udex-hero-banner__media-button" aria-label="Play / Pause button" role="button" @click="${this._toggleMediaButton}"><ui5-icon name="${ifDefined(this.mediaButtonIconName)}"></ui5-icon></button></div>`;}
10
- function block2 (this: HeroBanner, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<picture><img loading="${ifDefined(this.backgroundImageLoadingStrategy)}" src="${ifDefined(this.backgroundImage)}" part="background-image" class="udex-hero-banner__background-image" alt="${ifDefined(this.backgroundImageLabel)}" /></picture>`;}
11
- function block3 (this: HeroBanner, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<div class="udex-hero-banner__container">${ this.hasCustomBackgroundPicture ? block4.call(this, context, tags, suffix) : block5.call(this, context, tags, suffix) }<div class="udex-hero-banner__content-container"><slot id="udex-hero-banner__content" name="content" part="content"></slot>${ this.hasAdditionalContent ? block7.call(this, context, tags, suffix) : undefined }</div></div>`;}
12
- function block4 (this: HeroBanner, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<slot name="backgroundPicture"></slot>`;}
13
- function block5 (this: HeroBanner, context: UI5Element, tags: string[], suffix: string | undefined) { return html`${ this.hasBackgroundImage ? block6.call(this, context, tags, suffix) : undefined }`;}
14
- function block6 (this: HeroBanner, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<picture><img loading="${ifDefined(this.backgroundImageLoadingStrategy)}" src="${ifDefined(this.backgroundImage)}" part="background-image" class="udex-hero-banner__background-image" alt="${ifDefined(this.backgroundImageLabel)}" /></picture>`;}
15
- function block7 (this: HeroBanner, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<slot id="udex-hero-banner__additionalContent" name="additionalContent" part="additionalContent"></slot>`;}
16
- function block8 (this: HeroBanner, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<slot id="udex-hero-banner__mediaContent" name="mediaContent" part="mediaContent"></slot>`;}
17
-
18
- function template(this: HeroBanner) { return block0.call(this, this, (this.constructor as typeof UI5Element).tagsToScope, getCustomElementsScopingSuffix()); }
19
- export default template;