@sapudex/web-components 2.1.1 → 2.3.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 (384) hide show
  1. package/bundle.esm.js +1 -0
  2. package/cypress/fixtures/event-ribbon-links.ts +5 -0
  3. package/cypress/specs/Accordion.cy.tsx +1 -2
  4. package/cypress/specs/AccordionItem.cy.tsx +1 -1
  5. package/cypress/specs/Avatar.cy.tsx +1 -1
  6. package/cypress/specs/AvatarGroup.cy.tsx +1 -2
  7. package/cypress/specs/Badge.cy.tsx +1 -1
  8. package/cypress/specs/CountrySelector.cy.tsx +10 -4
  9. package/cypress/specs/EventRibbon.cy.tsx +110 -0
  10. package/cypress/specs/Footer.cy.tsx +1 -1
  11. package/cypress/specs/ListItem.cy.tsx +5 -5
  12. package/cypress/specs/PhoneNumberField.cy.tsx +4 -2
  13. package/cypress/specs/Review.cy.tsx +1 -3
  14. package/cypress/specs/ReviewItem.cy.tsx +1 -1
  15. package/cypress/specs/SecondaryNavigationDesktop.cy.tsx +129 -131
  16. package/cypress/specs/SecondaryNavigationMobile.cy.tsx +27 -38
  17. package/cypress/specs/SelectBox.cy.tsx +93 -88
  18. package/cypress/specs/Slider.cy.tsx +5 -4
  19. package/cypress/specs/StatusBadge.cy.tsx +1 -1
  20. package/cypress/specs/StatusMessage.cy.tsx +1 -1
  21. package/cypress/specs/Switch.cy.tsx +1 -2
  22. package/cypress/specs/Table.cy.tsx +1 -9
  23. package/cypress/specs/Tag.cy.tsx +1 -1
  24. package/cypress/specs/TagGroup.cy.tsx +1 -2
  25. package/cypress/specs/TextField.cy.tsx +1 -1
  26. package/cypress/specs/Textarea.cy.tsx +1 -1
  27. package/cypress/specs/Toast.cy.tsx +1 -1
  28. package/cypress/specs/Tooltip.cy.tsx +1 -2
  29. package/cypress/specs/TruncatedText.cy.tsx +2 -1
  30. package/cypress/specs/Upload.cy.tsx +1 -2
  31. package/cypress/specs/UploadItem.cy.tsx +1 -1
  32. package/cypress/specs/Wizard.cy.tsx +7 -4
  33. package/cypress/support/component-imports.instrumented.ts +91 -0
  34. package/cypress/support/component-imports.src.ts +91 -0
  35. package/cypress/support/component.ts +1 -1
  36. package/cypress.config.ts +6 -0
  37. package/dist/AssetsVariables.js +4 -0
  38. package/dist/AssetsVariables.js.map +1 -1
  39. package/dist/Badge.d.ts +2 -2
  40. package/dist/Badge.js +4 -4
  41. package/dist/Badge.js.map +1 -1
  42. package/dist/Breadcrumbs.d.ts +1 -0
  43. package/dist/Breadcrumbs.js +11 -1
  44. package/dist/Breadcrumbs.js.map +1 -1
  45. package/dist/Button.d.ts +19 -1
  46. package/dist/Button.js +15 -1
  47. package/dist/Button.js.map +1 -1
  48. package/dist/Checkbox.d.ts +1 -0
  49. package/dist/Checkbox.js +3 -0
  50. package/dist/Checkbox.js.map +1 -1
  51. package/dist/ControlButton.d.ts +2 -1
  52. package/dist/ControlButton.js +2 -1
  53. package/dist/ControlButton.js.map +1 -1
  54. package/dist/CountrySelector.d.ts +2 -2
  55. package/dist/CountrySelector.js +3 -1
  56. package/dist/CountrySelector.js.map +1 -1
  57. package/dist/DatePicker.d.ts +2 -2
  58. package/dist/DatePicker.js +2 -1
  59. package/dist/DatePicker.js.map +1 -1
  60. package/dist/EventRibbon.d.ts +80 -0
  61. package/dist/EventRibbon.js +111 -0
  62. package/dist/EventRibbon.js.map +1 -0
  63. package/dist/EventRibbonTemplate.d.ts +2 -0
  64. package/dist/EventRibbonTemplate.js +7 -0
  65. package/dist/EventRibbonTemplate.js.map +1 -0
  66. package/dist/HeroBanner.d.ts +1 -1
  67. package/dist/InputGroup.d.ts +5 -2
  68. package/dist/InputGroup.js +6 -0
  69. package/dist/InputGroup.js.map +1 -1
  70. package/dist/ListItem.d.ts +3 -2
  71. package/dist/ListItem.js +2 -2
  72. package/dist/ListItem.js.map +1 -1
  73. package/dist/MastheadItem.js +1 -1
  74. package/dist/MastheadItem.js.map +1 -1
  75. package/dist/MastheadShell.d.ts +4 -1
  76. package/dist/MastheadShell.js +21 -5
  77. package/dist/MastheadShell.js.map +1 -1
  78. package/dist/MediaPlayer.d.ts +2 -1
  79. package/dist/MediaPlayer.js.map +1 -1
  80. package/dist/MediaPlayerYoutube.d.ts +2 -1
  81. package/dist/MediaPlayerYoutube.js.map +1 -1
  82. package/dist/Pagination.d.ts +18 -4
  83. package/dist/Pagination.js +33 -31
  84. package/dist/Pagination.js.map +1 -1
  85. package/dist/PhoneNumberField.d.ts +10 -7
  86. package/dist/PhoneNumberField.js +8 -2
  87. package/dist/PhoneNumberField.js.map +1 -1
  88. package/dist/ProgressBar.d.ts +2 -2
  89. package/dist/ProgressBar.js +6 -6
  90. package/dist/ProgressBar.js.map +1 -1
  91. package/dist/RadioButton.d.ts +2 -2
  92. package/dist/RadioButton.js +6 -6
  93. package/dist/RadioButton.js.map +1 -1
  94. package/dist/Search.d.ts +0 -1
  95. package/dist/Search.js +1 -3
  96. package/dist/Search.js.map +1 -1
  97. package/dist/SearchableListBase.d.ts +9 -0
  98. package/dist/SearchableListBase.js +10 -2
  99. package/dist/SearchableListBase.js.map +1 -1
  100. package/dist/SecondaryNavigation.d.ts +4 -1
  101. package/dist/SecondaryNavigation.js +38 -10
  102. package/dist/SecondaryNavigation.js.map +1 -1
  103. package/dist/SecondaryNavigationItem.d.ts +10 -0
  104. package/dist/SecondaryNavigationItem.js +19 -0
  105. package/dist/SecondaryNavigationItem.js.map +1 -1
  106. package/dist/SecondaryNavigationItemBase.d.ts +1 -0
  107. package/dist/SecondaryNavigationItemBase.js +4 -0
  108. package/dist/SecondaryNavigationItemBase.js.map +1 -1
  109. package/dist/SecondaryNavigationSubItem.d.ts +0 -1
  110. package/dist/SecondaryNavigationSubItem.js +0 -4
  111. package/dist/SecondaryNavigationSubItem.js.map +1 -1
  112. package/dist/SegmentedButton.d.ts +1 -1
  113. package/dist/SegmentedButton.js +1 -1
  114. package/dist/SegmentedButton.js.map +1 -1
  115. package/dist/SegmentedButtonItem.d.ts +1 -1
  116. package/dist/SegmentedButtonItem.js +2 -2
  117. package/dist/SegmentedButtonItem.js.map +1 -1
  118. package/dist/StatusBadge.d.ts +8 -3
  119. package/dist/StatusBadge.js +9 -1
  120. package/dist/StatusBadge.js.map +1 -1
  121. package/dist/StepInput.d.ts +3 -3
  122. package/dist/StepInput.js.map +1 -1
  123. package/dist/TableCellBase.d.ts +2 -2
  124. package/dist/TableCellBase.js.map +1 -1
  125. package/dist/Tag.d.ts +2 -2
  126. package/dist/Tag.js +4 -4
  127. package/dist/Tag.js.map +1 -1
  128. package/dist/TextArea.d.ts +2 -2
  129. package/dist/TextArea.js +9 -9
  130. package/dist/TextArea.js.map +1 -1
  131. package/dist/TextField.d.ts +9 -2
  132. package/dist/TextField.js +8 -5
  133. package/dist/TextField.js.map +1 -1
  134. package/dist/Toast.js +1 -1
  135. package/dist/Toast.js.map +1 -1
  136. package/dist/Upload.d.ts +1 -1
  137. package/dist/Upload.js +1 -1
  138. package/dist/Upload.js.map +1 -1
  139. package/dist/UploadItem.d.ts +3 -3
  140. package/dist/UploadItem.js +9 -9
  141. package/dist/UploadItem.js.map +1 -1
  142. package/dist/Wizard.d.ts +20 -1
  143. package/dist/Wizard.js +22 -9
  144. package/dist/Wizard.js.map +1 -1
  145. package/dist/WizardTemplate.js +1 -1
  146. package/dist/WizardTemplate.js.map +1 -1
  147. package/dist/assets/InputSuggestions-BgbbJ4tc.js +2 -0
  148. package/dist/assets/{ListItemStandardExpandableTextTemplate-CLBtdbBK.js → ListItemStandardExpandableTextTemplate-onAnn1Tj.js} +2 -2
  149. package/dist/assets/bundle.esm-CwUfibNQ.js +389 -0
  150. package/dist/assets/parameters-bundle.css-1GGBOW8m.js +2 -0
  151. package/dist/assets/parameters-bundle.css-A9eeRg2R.js +2 -0
  152. package/dist/assets/parameters-bundle.css-COBI_9-U.js +2 -0
  153. package/dist/assets/parameters-bundle.css-CgAoZ-Ir.js +2 -0
  154. package/dist/assets/parameters-bundle.css-DuFHHRNK.js +2 -0
  155. package/dist/assets/parameters-bundle.css-Pf68NO0T.js +2 -0
  156. package/dist/assets/parameters-bundle.css-aX_t_-9o.js +2 -0
  157. package/dist/assets/parameters-bundle.css-rNSryFKH.js +2 -0
  158. package/dist/css/themes/Breadcrumbs.css +1 -1
  159. package/dist/css/themes/Button.css +1 -1
  160. package/dist/css/themes/DatePickerPopover.css +1 -1
  161. package/dist/css/themes/EventRibbon.css +1 -0
  162. package/dist/css/themes/ListItem.css +1 -1
  163. package/dist/css/themes/MastheadCountrySelector.css +1 -1
  164. package/dist/css/themes/MastheadItem.css +1 -1
  165. package/dist/css/themes/MastheadShell.css +1 -1
  166. package/dist/css/themes/Modal.css +1 -1
  167. package/dist/css/themes/Pagination.css +1 -1
  168. package/dist/css/themes/RatingIndicator.css +1 -1
  169. package/dist/css/themes/Search.css +1 -1
  170. package/dist/css/themes/SideNavigationItem.css +1 -1
  171. package/dist/css/themes/SideNavigationSubItem.css +1 -1
  172. package/dist/css/themes/Slider.css +1 -1
  173. package/dist/css/themes/TextField.css +1 -1
  174. package/dist/custom-elements-internal.json +471 -37
  175. package/dist/custom-elements.json +442 -35
  176. package/dist/data/CountryListISO3166.d.ts +13 -4
  177. package/dist/data/CountryListISO3166.js +8 -0
  178. package/dist/data/CountryListISO3166.js.map +1 -1
  179. package/dist/generated/json-imports/Themes-node.d.ts +1 -0
  180. package/dist/generated/json-imports/Themes-node.js +19 -0
  181. package/dist/generated/json-imports/Themes-node.js.map +1 -0
  182. package/dist/generated/json-imports/i18n-node.d.ts +1 -0
  183. package/dist/generated/json-imports/i18n-node.js +82 -0
  184. package/dist/generated/json-imports/i18n-node.js.map +1 -0
  185. package/dist/generated/templates/BreadcrumbsPopoverTemplate.lit.js +1 -1
  186. package/dist/generated/templates/BreadcrumbsPopoverTemplate.lit.js.map +1 -1
  187. package/dist/generated/templates/BreadcrumbsTemplate.lit.js +1 -1
  188. package/dist/generated/templates/BreadcrumbsTemplate.lit.js.map +1 -1
  189. package/dist/generated/templates/PaginationTemplate.lit.js +1 -1
  190. package/dist/generated/templates/PaginationTemplate.lit.js.map +1 -1
  191. package/dist/generated/templates/PhoneNumberFieldTemplate.lit.js +2 -2
  192. package/dist/generated/templates/PhoneNumberFieldTemplate.lit.js.map +1 -1
  193. package/dist/generated/templates/SearchTemplate.lit.js +3 -3
  194. package/dist/generated/templates/SearchTemplate.lit.js.map +1 -1
  195. package/dist/generated/templates/SecondaryNavigationItemTemplate.lit.js +2 -2
  196. package/dist/generated/templates/SecondaryNavigationItemTemplate.lit.js.map +1 -1
  197. package/dist/generated/templates/SecondaryNavigationTemplate.lit.js +1 -1
  198. package/dist/generated/templates/SecondaryNavigationTemplate.lit.js.map +1 -1
  199. package/dist/generated/themes/Breadcrumbs.css.d.ts +1 -1
  200. package/dist/generated/themes/Breadcrumbs.css.js +1 -1
  201. package/dist/generated/themes/Breadcrumbs.css.js.map +1 -1
  202. package/dist/generated/themes/Button.css.d.ts +1 -1
  203. package/dist/generated/themes/Button.css.js +1 -1
  204. package/dist/generated/themes/Button.css.js.map +1 -1
  205. package/dist/generated/themes/DatePickerPopover.css.d.ts +1 -1
  206. package/dist/generated/themes/DatePickerPopover.css.js +1 -1
  207. package/dist/generated/themes/DatePickerPopover.css.js.map +1 -1
  208. package/dist/generated/themes/EventRibbon.css.d.ts +2 -0
  209. package/dist/generated/themes/EventRibbon.css.js +8 -0
  210. package/dist/generated/themes/EventRibbon.css.js.map +1 -0
  211. package/dist/generated/themes/ListItem.css.d.ts +1 -1
  212. package/dist/generated/themes/ListItem.css.js +1 -1
  213. package/dist/generated/themes/ListItem.css.js.map +1 -1
  214. package/dist/generated/themes/MastheadCountrySelector.css.d.ts +1 -1
  215. package/dist/generated/themes/MastheadCountrySelector.css.js +1 -1
  216. package/dist/generated/themes/MastheadCountrySelector.css.js.map +1 -1
  217. package/dist/generated/themes/MastheadItem.css.d.ts +1 -1
  218. package/dist/generated/themes/MastheadItem.css.js +1 -1
  219. package/dist/generated/themes/MastheadItem.css.js.map +1 -1
  220. package/dist/generated/themes/MastheadShell.css.d.ts +1 -1
  221. package/dist/generated/themes/MastheadShell.css.js +1 -1
  222. package/dist/generated/themes/MastheadShell.css.js.map +1 -1
  223. package/dist/generated/themes/Modal.css.d.ts +1 -1
  224. package/dist/generated/themes/Modal.css.js +1 -1
  225. package/dist/generated/themes/Modal.css.js.map +1 -1
  226. package/dist/generated/themes/Pagination.css.d.ts +1 -1
  227. package/dist/generated/themes/Pagination.css.js +1 -1
  228. package/dist/generated/themes/Pagination.css.js.map +1 -1
  229. package/dist/generated/themes/RatingIndicator.css.d.ts +1 -1
  230. package/dist/generated/themes/RatingIndicator.css.js +1 -1
  231. package/dist/generated/themes/RatingIndicator.css.js.map +1 -1
  232. package/dist/generated/themes/Search.css.d.ts +1 -1
  233. package/dist/generated/themes/Search.css.js +1 -1
  234. package/dist/generated/themes/Search.css.js.map +1 -1
  235. package/dist/generated/themes/SideNavigationItem.css.d.ts +1 -1
  236. package/dist/generated/themes/SideNavigationItem.css.js +1 -1
  237. package/dist/generated/themes/SideNavigationItem.css.js.map +1 -1
  238. package/dist/generated/themes/SideNavigationSubItem.css.d.ts +1 -1
  239. package/dist/generated/themes/SideNavigationSubItem.css.js +1 -1
  240. package/dist/generated/themes/SideNavigationSubItem.css.js.map +1 -1
  241. package/dist/generated/themes/Slider.css.d.ts +1 -1
  242. package/dist/generated/themes/Slider.css.js +1 -1
  243. package/dist/generated/themes/Slider.css.js.map +1 -1
  244. package/dist/generated/themes/TextField.css.d.ts +1 -1
  245. package/dist/generated/themes/TextField.css.js +1 -1
  246. package/dist/generated/themes/TextField.css.js.map +1 -1
  247. package/dist/types/ButtonAccessibleRole.d.ts +8 -0
  248. package/dist/types/ButtonAccessibleRole.js +10 -0
  249. package/dist/types/ButtonAccessibleRole.js.map +1 -0
  250. package/dist/types/{Button.d.ts → ButtonDesign.d.ts} +1 -15
  251. package/dist/types/ButtonDesign.js +16 -0
  252. package/dist/types/ButtonDesign.js.map +1 -0
  253. package/dist/types/ButtonSize.d.ts +6 -0
  254. package/dist/types/ButtonSize.js +8 -0
  255. package/dist/types/ButtonSize.js.map +1 -0
  256. package/dist/types/ControlButtonDesign.d.ts +10 -0
  257. package/dist/types/ControlButtonDesign.js +12 -0
  258. package/dist/types/ControlButtonDesign.js.map +1 -0
  259. package/dist/types/EventRibbon.d.ts +37 -0
  260. package/dist/types/EventRibbon.js +43 -0
  261. package/dist/types/EventRibbon.js.map +1 -0
  262. package/dist/types/ProgressBar.d.ts +1 -1
  263. package/dist/types/ProgressBar.js +1 -1
  264. package/dist/types/ProgressBar.js.map +1 -1
  265. package/dist/types/common.d.ts +1 -1
  266. package/dist/types/common.js +1 -1
  267. package/dist/types/common.js.map +1 -1
  268. package/dist/vscode.html-custom-data.json +110 -10
  269. package/dist/web-types.json +159 -13
  270. package/filter-coverage.js +58 -0
  271. package/package.json +14 -9
  272. package/src/AssetsVariables.ts +4 -0
  273. package/src/Badge.ts +4 -4
  274. package/src/Breadcrumbs.hbs +7 -10
  275. package/src/Breadcrumbs.ts +14 -1
  276. package/src/BreadcrumbsPopover.hbs +3 -1
  277. package/src/Button.ts +21 -1
  278. package/src/Checkbox.ts +4 -0
  279. package/src/ControlButton.ts +2 -1
  280. package/src/CountrySelector.ts +5 -3
  281. package/src/DatePicker.ts +4 -3
  282. package/src/EventRibbon.ts +143 -0
  283. package/src/EventRibbonTemplate.tsx +18 -0
  284. package/src/InputGroup.ts +5 -2
  285. package/src/ListItem.ts +4 -4
  286. package/src/MastheadItem.ts +1 -1
  287. package/src/MastheadShell.ts +25 -5
  288. package/src/MediaPlayer.ts +3 -1
  289. package/src/MediaPlayerYoutube.ts +4 -2
  290. package/src/Pagination.hbs +7 -3
  291. package/src/Pagination.ts +49 -32
  292. package/src/PhoneNumberField.hbs +1 -1
  293. package/src/PhoneNumberField.ts +13 -5
  294. package/src/ProgressBar.ts +6 -6
  295. package/src/RadioButton.ts +6 -6
  296. package/src/Search.hbs +3 -2
  297. package/src/Search.ts +1 -3
  298. package/src/SearchableListBase.ts +18 -2
  299. package/src/SecondaryNavigation.hbs +1 -0
  300. package/src/SecondaryNavigation.ts +41 -12
  301. package/src/SecondaryNavigationItem.hbs +2 -1
  302. package/src/SecondaryNavigationItem.ts +31 -0
  303. package/src/SecondaryNavigationItemBase.ts +3 -0
  304. package/src/SecondaryNavigationSubItem.ts +0 -3
  305. package/src/SegmentedButton.ts +1 -1
  306. package/src/SegmentedButtonItem.ts +2 -2
  307. package/src/StatusBadge.ts +8 -3
  308. package/src/StepInput.ts +3 -3
  309. package/src/TableCellBase.ts +2 -2
  310. package/src/Tag.ts +4 -4
  311. package/src/TextArea.ts +9 -9
  312. package/src/TextField.ts +14 -5
  313. package/src/Toast.ts +1 -1
  314. package/src/Upload.ts +1 -1
  315. package/src/UploadItem.ts +9 -9
  316. package/src/Wizard.ts +39 -11
  317. package/src/WizardTemplate.tsx +5 -1
  318. package/src/data/CountryListISO3166.ts +10 -2
  319. package/src/generated/json-imports/Themes-node.ts +21 -0
  320. package/src/generated/json-imports/i18n-node.ts +85 -0
  321. package/src/generated/templates/BreadcrumbsPopoverTemplate.lit.ts +1 -1
  322. package/src/generated/templates/BreadcrumbsTemplate.lit.ts +1 -1
  323. package/src/generated/templates/PaginationTemplate.lit.ts +1 -1
  324. package/src/generated/templates/PhoneNumberFieldTemplate.lit.ts +1 -1
  325. package/src/generated/templates/SearchTemplate.lit.ts +3 -3
  326. package/src/generated/templates/SecondaryNavigationItemTemplate.lit.ts +2 -2
  327. package/src/generated/templates/SecondaryNavigationTemplate.lit.ts +1 -1
  328. package/src/generated/themes/Breadcrumbs.css.ts +1 -1
  329. package/src/generated/themes/Button.css.ts +1 -1
  330. package/src/generated/themes/DatePickerPopover.css.ts +1 -1
  331. package/src/generated/themes/EventRibbon.css.ts +9 -0
  332. package/src/generated/themes/ListItem.css.ts +1 -1
  333. package/src/generated/themes/MastheadCountrySelector.css.ts +1 -1
  334. package/src/generated/themes/MastheadItem.css.ts +1 -1
  335. package/src/generated/themes/MastheadShell.css.ts +1 -1
  336. package/src/generated/themes/Modal.css.ts +1 -1
  337. package/src/generated/themes/Pagination.css.ts +1 -1
  338. package/src/generated/themes/RatingIndicator.css.ts +1 -1
  339. package/src/generated/themes/Search.css.ts +1 -1
  340. package/src/generated/themes/SideNavigationItem.css.ts +1 -1
  341. package/src/generated/themes/SideNavigationSubItem.css.ts +1 -1
  342. package/src/generated/themes/Slider.css.ts +1 -1
  343. package/src/generated/themes/TextField.css.ts +1 -1
  344. package/src/themes/Breadcrumbs.css +3 -0
  345. package/src/themes/Button.css +71 -29
  346. package/src/themes/DatePickerPopover.css +64 -6
  347. package/src/themes/EventRibbon.css +411 -0
  348. package/src/themes/ListItem.css +4 -0
  349. package/src/themes/MastheadCountrySelector.css +8 -5
  350. package/src/themes/MastheadItem.css +12 -4
  351. package/src/themes/MastheadShell.css +5 -2
  352. package/src/themes/Modal.css +6 -1
  353. package/src/themes/Pagination.css +19 -0
  354. package/src/themes/Search.css +8 -1
  355. package/src/themes/SideNavigationItem.css +9 -1
  356. package/src/themes/SideNavigationSubItem.css +7 -0
  357. package/src/themes/TextField.css +2 -13
  358. package/src/types/ButtonAccessibleRole.ts +9 -0
  359. package/src/types/{Button.ts → ButtonDesign.ts} +1 -17
  360. package/src/types/ButtonSize.ts +7 -0
  361. package/src/types/ControlButtonDesign.ts +11 -0
  362. package/src/types/EventRibbon.ts +51 -0
  363. package/src/types/ProgressBar.ts +1 -1
  364. package/src/types/common.ts +1 -1
  365. package/swap-component-imports.js +18 -0
  366. package/dist/assets/InputSuggestions-CP3cBQsh.js +0 -2
  367. package/dist/assets/bundle.esm-jHcdiVfj.js +0 -380
  368. package/dist/assets/parameters-bundle.css-BU4Bi-ho.js +0 -2
  369. package/dist/assets/parameters-bundle.css-Beilb2gS.js +0 -2
  370. package/dist/assets/parameters-bundle.css-BzQMaZUt.js +0 -2
  371. package/dist/assets/parameters-bundle.css-Bzfv_Fox.js +0 -2
  372. package/dist/assets/parameters-bundle.css-CLwmjytB.js +0 -2
  373. package/dist/assets/parameters-bundle.css-CU3plTdF.js +0 -2
  374. package/dist/assets/parameters-bundle.css-DRX-o-Cb.js +0 -2
  375. package/dist/assets/parameters-bundle.css-DhFMZJhW.js +0 -2
  376. package/dist/css/themes/overrides/@ui5/webcomponents/sap_glow/parameters-bundle.css +0 -1
  377. package/dist/generated/assets/themes/overrides/@ui5/webcomponents/sap_glow/parameters-bundle.css.json +0 -1
  378. package/dist/generated/themes/overrides/@ui5/webcomponents/sap_glow/parameters-bundle.css.d.ts +0 -2
  379. package/dist/generated/themes/overrides/@ui5/webcomponents/sap_glow/parameters-bundle.css.js +0 -3
  380. package/dist/generated/themes/overrides/@ui5/webcomponents/sap_glow/parameters-bundle.css.js.map +0 -1
  381. package/dist/types/Button.js +0 -33
  382. package/dist/types/Button.js.map +0 -1
  383. package/src/generated/themes/overrides/@ui5/webcomponents/sap_glow/parameters-bundle.css.ts +0 -2
  384. package/src/themes/overrides/@ui5/webcomponents/sap_glow/parameters-bundle.css +0 -195
package/src/StepInput.ts CHANGED
@@ -28,7 +28,7 @@ import StepInputTemplate from "./StepInputTemplate.js";
28
28
 
29
29
  // Styles
30
30
  import StepInputCss from "./generated/themes/StepInput.css.js";
31
- import type { UDExControlButtonDesign } from "./types/Button.js";
31
+ import type UDExControlButtonDesign from "./types/ControlButtonDesign.js";
32
32
  import type { UDExTextFieldKeydownEventDetail } from "./TextField.js";
33
33
 
34
34
  // Spin variables
@@ -37,11 +37,11 @@ const ACCELERATION = 0.8;
37
37
  const MIN_WAIT_TIMEOUT = 50; // milliseconds
38
38
  const INITIAL_SPEED = 120; // milliseconds
39
39
 
40
- type UDExStepInputValueChangeEventDetail = {
40
+ export type UDExStepInputValueChangeEventDetail = {
41
41
  value: number,
42
42
  }
43
43
 
44
- type UDExStepInputValueStateChangeEventDetail = {
44
+ export type UDExStepInputValueStateChangeEventDetail = {
45
45
  valueState: `${UDExValueState}`,
46
46
  valid: boolean
47
47
  }
@@ -4,7 +4,7 @@ import slot from "@ui5/webcomponents-base/dist/decorators/slot.js";
4
4
  import property from "@ui5/webcomponents-base/dist/decorators/property.js";
5
5
  import Icon from "@ui5/webcomponents/dist/Icon.js";
6
6
  import litRender from "@ui5/webcomponents-base/dist/renderer/LitRenderer.js";
7
- import type TableCellHorizontalAlign from "./types/Table.js";
7
+ import type UDExTableCellHorizontalAlign from "./types/Table.js";
8
8
 
9
9
  // Styles
10
10
  import TableCellBaseCss from "./generated/themes/TableCellBase.css.js";
@@ -32,7 +32,7 @@ abstract class UDExTableCellBase extends UI5Element {
32
32
  * @public
33
33
  */
34
34
  @property()
35
- horizontalAlign?: `${TableCellHorizontalAlign}`;
35
+ horizontalAlign?: `${UDExTableCellHorizontalAlign}`;
36
36
 
37
37
  /**
38
38
  * Defines the content of the component.
package/src/Tag.ts CHANGED
@@ -8,7 +8,7 @@ import type { ResizeObserverCallback } from "@ui5/webcomponents-base/dist/delega
8
8
  import ResizeHandler from "@ui5/webcomponents-base/dist/delegate/ResizeHandler.js";
9
9
  import { isEnter } from "@ui5/webcomponents-base/dist/Keys.js";
10
10
  import { isDesktop } from "@ui5/webcomponents-base/dist/Device.js";
11
- import IconPlacement from "./types/IconPlacement.js";
11
+ import UDExIconPlacement from "./types/IconPlacement.js";
12
12
 
13
13
  import TagTemplate from "./generated/templates/TagTemplate.lit.js";
14
14
 
@@ -133,7 +133,7 @@ class UDExTag extends UI5Element {
133
133
  * @public
134
134
  */
135
135
  @property()
136
- iconPlacement : `${IconPlacement}` = IconPlacement.End;
136
+ iconPlacement : `${UDExIconPlacement}` = UDExIconPlacement.End;
137
137
 
138
138
  /**
139
139
  * Defines if tag is in readnly state
@@ -283,11 +283,11 @@ class UDExTag extends UI5Element {
283
283
  }
284
284
 
285
285
  get startIcon(): boolean {
286
- return this.hasIcon && this.iconPlacement === IconPlacement.Start;
286
+ return this.hasIcon && this.iconPlacement === UDExIconPlacement.Start;
287
287
  }
288
288
 
289
289
  get endIcon(): boolean {
290
- return this.hasIcon && this.iconPlacement === IconPlacement.End;
290
+ return this.hasIcon && this.iconPlacement === UDExIconPlacement.End;
291
291
  }
292
292
 
293
293
  get _tabIndex(): number {
package/src/TextArea.ts CHANGED
@@ -22,7 +22,7 @@ import "@ui5/webcomponents-icons/dist/error.js";
22
22
  import "@ui5/webcomponents-icons/dist/alert.js";
23
23
 
24
24
  import UDExStatusMessage from "./StatusMessage.js";
25
- import ValueState from "./types/common.js";
25
+ import UDExValueState from "./types/common.js";
26
26
  import TextAreaTemplate from "./generated/templates/TextAreaTemplate.lit.js";
27
27
 
28
28
  // Styles
@@ -129,7 +129,7 @@ class UDExTextArea extends UI5Element {
129
129
  * @public
130
130
  */
131
131
  @property()
132
- valueState: `${ValueState}` = ValueState.Standard;
132
+ valueState: UDExValueState = UDExValueState.Standard;
133
133
 
134
134
  /**
135
135
  * Defines whether the component is required.
@@ -314,19 +314,19 @@ class UDExTextArea extends UI5Element {
314
314
  };
315
315
 
316
316
  get ariaInvalid(): string | null {
317
- return this.valueState === ValueState.Error ? "true" : null;
317
+ return this.valueState === UDExValueState.Error ? "true" : null;
318
318
  }
319
319
 
320
320
  get hasValueState(): boolean {
321
- return this.valueState === ValueState.Error || this.valueState === ValueState.Warning || this.valueState === ValueState.Success;
321
+ return this.valueState === UDExValueState.Error || this.valueState === UDExValueState.Warning || this.valueState === UDExValueState.Success;
322
322
  }
323
323
 
324
324
  get valueStateTypeMappings() {
325
325
  return {
326
- [ValueState.Success]: UDExTextArea.i18nBundle.getText(VALUE_STATE_TYPE_SUCCESS),
327
- [ValueState.Standard]: UDExTextArea.i18nBundle.getText(VALUE_STATE_TYPE_STANDARD),
328
- [ValueState.Error]: UDExTextArea.i18nBundle.getText(VALUE_STATE_TYPE_ERROR),
329
- [ValueState.Warning]: UDExTextArea.i18nBundle.getText(VALUE_STATE_TYPE_WARNING),
326
+ [UDExValueState.Success]: UDExTextArea.i18nBundle.getText(VALUE_STATE_TYPE_SUCCESS),
327
+ [UDExValueState.Standard]: UDExTextArea.i18nBundle.getText(VALUE_STATE_TYPE_STANDARD),
328
+ [UDExValueState.Error]: UDExTextArea.i18nBundle.getText(VALUE_STATE_TYPE_ERROR),
329
+ [UDExValueState.Warning]: UDExTextArea.i18nBundle.getText(VALUE_STATE_TYPE_WARNING),
330
330
  };
331
331
  }
332
332
 
@@ -335,7 +335,7 @@ class UDExTextArea extends UI5Element {
335
335
  return;
336
336
  }
337
337
 
338
- if (this.valueState === ValueState.Standard) {
338
+ if (this.valueState === UDExValueState.Standard) {
339
339
  return;
340
340
  }
341
341
 
package/src/TextField.ts CHANGED
@@ -15,7 +15,7 @@ import {
15
15
  READ_ONLY,
16
16
  } from "./generated/i18n/i18n-defaults.js";
17
17
  import UDExControlButton from "./ControlButton.js";
18
- import ValueState from "./types/common.js";
18
+ import UDExValueState from "./types/common.js";
19
19
  import UDExStatusMessage from "./StatusMessage.js";
20
20
 
21
21
  // Template
@@ -195,7 +195,7 @@ class UDExTextField extends UI5Element {
195
195
  * @public
196
196
  */
197
197
  @property()
198
- valueState: `${ValueState}` = ValueState.Standard;
198
+ valueState: `${UDExValueState}` = UDExValueState.Standard;
199
199
 
200
200
  /**
201
201
  * Defines supporting text under the input field.
@@ -224,6 +224,15 @@ class UDExTextField extends UI5Element {
224
224
  @property({ type: Boolean })
225
225
  active!: boolean;
226
226
 
227
+ /**
228
+ * Defines if dropdown associated with text-field trigger has opened dropdown. It indicates active state of control button.
229
+ *
230
+ * @default false
231
+ * @public
232
+ */
233
+ @property({ type: Boolean })
234
+ iconActive!: boolean;
235
+
227
236
  /**
228
237
  * Defines the behaviour of autocomplete.
229
238
  * @default "off"
@@ -342,11 +351,11 @@ class UDExTextField extends UI5Element {
342
351
  }
343
352
 
344
353
  get hasValueState(): boolean {
345
- return this.valueState !== ValueState.Standard;
354
+ return this.valueState !== UDExValueState.Standard;
346
355
  }
347
356
 
348
357
  get valueStateText(): string | undefined {
349
- return this.valueState !== ValueState.Standard ? this.valueStateTypeMappings[this.valueState] : undefined;
358
+ return this.valueState !== UDExValueState.Standard ? this.valueStateTypeMappings[this.valueState] : undefined;
350
359
  }
351
360
 
352
361
  get readOnlyStateText(): string {
@@ -371,7 +380,7 @@ class UDExTextField extends UI5Element {
371
380
 
372
381
  get accInfo(): AccInfo {
373
382
  return {
374
- "ariaInvalid": this.valueState === ValueState.Error ? "true" : undefined,
383
+ "ariaInvalid": this.valueState === UDExValueState.Error ? "true" : undefined,
375
384
  "ariaDescribedBy": this.ariaDescribedBy ? this.ariaDescribedBy : this.ariaDescribedById || undefined,
376
385
  "ariaLabelledBy": this.accessibleNameRef || undefined,
377
386
  "ariaLabel": this.accessibleName || undefined,
package/src/Toast.ts CHANGED
@@ -62,7 +62,7 @@ class UDExToast extends Toast {
62
62
  * @public
63
63
  * @default false
64
64
  */
65
- @property()
65
+ @property({ type: Boolean })
66
66
  showCloseIcon!: boolean;
67
67
 
68
68
  /**
package/src/Upload.ts CHANGED
@@ -13,7 +13,7 @@ import i18n from "@ui5/webcomponents-base/dist/decorators/i18n.js";
13
13
  import type I18nBundle from "@ui5/webcomponents-base/dist/i18nBundle.js";
14
14
  import { UPLOAD_BUTTON_LABEL } from "./generated/i18n/i18n-defaults.js";
15
15
  import UDExButton from "./Button.js";
16
- import { UDExButtonSize } from "./types/Button.js";
16
+ import UDExButtonSize from "./types/ButtonSize.js";
17
17
  import UDExList from "./List.js";
18
18
  import UDExUploadItem from "./UploadItem.js";
19
19
  import UploadTemplate from "./generated/templates/UploadTemplate.lit.js";
package/src/UploadItem.ts CHANGED
@@ -17,12 +17,12 @@ import UDExListItem from "./ListItem.js";
17
17
  import UDExProgressBar from "./ProgressBar.js";
18
18
  import UDExLink from "./Link.js";
19
19
  import UDExButton from "./Button.js";
20
- import { UDExButtonSize } from "./types/Button.js";
20
+ import UDExButtonSize from "./types/ButtonSize.js";
21
21
  import UploadItemTemplate from "./generated/templates/UploadItemTemplate.lit.js";
22
22
 
23
23
  // Styles
24
24
  import UploadItemCss from "./generated/themes/UploadItem.css.js";
25
- import FileUploadState from "./types/FileUploadState.js";
25
+ import UDExFileUploadState from "./types/FileUploadState.js";
26
26
 
27
27
  const BreakpointSizeS: number = 979;
28
28
  const BreakpointSizeM: number = 1279;
@@ -97,7 +97,7 @@ class UDExUploadItem extends UDExListItem {
97
97
  * @public
98
98
  */
99
99
  @property()
100
- uploadState: `${FileUploadState}` = FileUploadState.Uploaded;
100
+ uploadState: `${UDExFileUploadState}` = UDExFileUploadState.Uploaded;
101
101
 
102
102
  /**
103
103
  * Slot for information about the uploaded file.
@@ -178,7 +178,7 @@ class UDExUploadItem extends UDExListItem {
178
178
  _handleResize() {
179
179
  this._buttonSize = window.innerWidth <= BreakpointSizeS ? UDExButtonSize.Medium : UDExButtonSize.Large;
180
180
  this._breakpointL = window.innerWidth > BreakpointSizeM;
181
- this._breakpointM = !this._breakpointL ? true : !this._breakpointL && this.uploadState === FileUploadState.Uploaded;
181
+ this._breakpointM = !this._breakpointL ? true : !this._breakpointL && this.uploadState === UDExFileUploadState.Uploaded;
182
182
  }
183
183
 
184
184
  get fileLinkComponent(): UDExLink {
@@ -190,11 +190,11 @@ class UDExUploadItem extends UDExListItem {
190
190
  }
191
191
 
192
192
  get showUploadProgress(): boolean {
193
- return this.uploadState === FileUploadState.Error || this.uploadState === FileUploadState.Uploading;
193
+ return this.uploadState === UDExFileUploadState.Error || this.uploadState === UDExFileUploadState.Uploading;
194
194
  }
195
195
 
196
196
  get uploadProgressState(): ValueState {
197
- if (this.uploadState === FileUploadState.Uploading) {
197
+ if (this.uploadState === UDExFileUploadState.Uploading) {
198
198
  return ValueState.Information;
199
199
  }
200
200
 
@@ -202,7 +202,7 @@ class UDExUploadItem extends UDExListItem {
202
202
  }
203
203
 
204
204
  get uploadStatus(): string {
205
- if (this.uploadState === FileUploadState.Uploading) {
205
+ if (this.uploadState === UDExFileUploadState.Uploading) {
206
206
  return `${UDExUploadItem.i18nBundle.getText(UPLOADING_FILE_STATUS_TEXT)} ${this.uploadPercentage}%`;
207
207
  }
208
208
 
@@ -210,11 +210,11 @@ class UDExUploadItem extends UDExListItem {
210
210
  }
211
211
 
212
212
  get fileInteractive(): boolean {
213
- return this.uploadState === FileUploadState.Uploaded;
213
+ return this.uploadState === UDExFileUploadState.Uploaded;
214
214
  }
215
215
 
216
216
  get additionalInfoClasses(): string {
217
- return `udex-upload-item__info ${this.uploadState === FileUploadState.Error ? "udex-upload-item__error" : ""}`;
217
+ return `udex-upload-item__info ${this.uploadState === UDExFileUploadState.Error ? "udex-upload-item__error" : ""}`;
218
218
  }
219
219
 
220
220
  get uploadItemClasses(): string {
package/src/Wizard.ts CHANGED
@@ -85,6 +85,30 @@ class UDExWizard extends UI5Wizard {
85
85
  @property({ type: Boolean })
86
86
  indeterminate!: boolean;
87
87
 
88
+ /**
89
+ * Defines aria-label of the wizard, read by screen readers with the first step.
90
+ *
91
+ * @public
92
+ */
93
+ @property({ type: String })
94
+ accessibleName!: string;
95
+
96
+ /**
97
+ * Defines the title of the current step.
98
+ *
99
+ * @private
100
+ */
101
+ @property({ type: String })
102
+ _currentStepTitle?: string;
103
+
104
+ /**
105
+ * Defines the subtitle of the current step.
106
+ *
107
+ * @private
108
+ */
109
+ @property({ type: String })
110
+ _currentStepSubTitle?: string;
111
+
88
112
  /**
89
113
  * Defines the current breakpoint.
90
114
  *
@@ -115,10 +139,6 @@ class UDExWizard extends UI5Wizard {
115
139
  ResizeHandler.deregister(this, this._handleResizeBound);
116
140
  }
117
141
 
118
- onAfterRendering(): void {
119
- this._calcCurrentBreakpoint();
120
- }
121
-
122
142
  _adjustHeaderOverflow = () => {
123
143
  const tabs = this.stepsInHeaderDOM;
124
144
  tabs.forEach(step => {
@@ -168,13 +188,9 @@ class UDExWizard extends UI5Wizard {
168
188
  return this.steps.map((step, idx) => {
169
189
  const pos = idx + 1;
170
190
  const hideSeparator = idx === stepsCount - 1 && !this.indeterminate;
171
- const stepStateText = step.disabled
172
- ? this.inactiveStepText
173
- : this.activeStepText;
174
- const ariaLabel = (
175
- step.titleText
176
- ? `${pos} ${step.titleText} ${stepStateText}`
177
- : `${this.navStepDefaultHeading} ${pos} ${stepStateText}`
191
+ const ariaLabel = (`${idx === 0 ? this.effectiveAccessibleName : ""} ${step.titleText
192
+ ? `${pos} ${step.titleText}`
193
+ : `${this.navStepDefaultHeading} ${pos}`}`
178
194
  ).trim();
179
195
  const isAfterCurrent = idx > selectedStepIndex;
180
196
  accInfo = {
@@ -209,6 +225,18 @@ class UDExWizard extends UI5Wizard {
209
225
  this._calcCurrentBreakpoint();
210
226
  }
211
227
 
228
+ onAfterRendering(): void {
229
+ this.attachStepsResizeObserver();
230
+ this._calcCurrentBreakpoint();
231
+ this.previouslySelectedStepIndex = this.selectedStepIndex;
232
+ this._currentStepTitle = this._steps[this.selectedStepIndex].titleText;
233
+ this._currentStepSubTitle = this._steps[this.selectedStepIndex].subtitleText;
234
+ }
235
+
236
+ get effectiveAccessibleName(): string {
237
+ return this.accessibleName || this.ariaLabelText;
238
+ }
239
+
212
240
  get slottedSteps(): UDExWizardStep[] {
213
241
  return this.getSlottedNodes("steps");
214
242
  }
@@ -5,9 +5,13 @@ export default function WizardTemplate(this: UDExWizard) {
5
5
  return (
6
6
  <div
7
7
  class={this.classes.root}
8
- aria-label={this.ariaLabelText}
8
+ aria-label={this.effectiveAccessibleName}
9
9
  role="region"
10
10
  part="ui5-wiz-root">
11
+ <div role="alert" class="ui5-hidden-text">
12
+ {this._currentStepTitle && <div>{this._currentStepTitle}</div>}
13
+ {this._currentStepSubTitle && <div>{this._currentStepSubTitle}</div>}
14
+ </div>
11
15
  <nav class="ui5-wiz-nav" part="navigator" aria-label={this.navAriaLabelText} tabindex={-1}>
12
16
  <div class="ui5-wiz-nav-list" role="list" aria-label={this.listAriaLabelText} aria-describedby="wiz-nav-descr">
13
17
  {this.stepsInfo.map(headerStep =>
@@ -5,8 +5,8 @@ export type Country = {
5
5
  countryName: string,
6
6
  localName?: string,
7
7
  phonePrefix: string;
8
- flagX: string;
9
- flagY: string;
8
+ flagX?: string;
9
+ flagY?: string;
10
10
  }
11
11
 
12
12
  export const CountryListDB = [
@@ -40,6 +40,14 @@ export const CountryListDB = [
40
40
  "flagX": "-1800px",
41
41
  "flagY": "0px",
42
42
  },
43
+ {
44
+ "locKey": "COUNTRY_AQ",
45
+ "iso": "AQ",
46
+ "phoneFmt": " XX XXXX",
47
+ "countryName": "Antarctica",
48
+ "localName": "Antarctica",
49
+ "phonePrefix": "+672",
50
+ },
43
51
  {
44
52
  "locKey": "COUNTRY_AS",
45
53
  "iso": "AS",
@@ -0,0 +1,21 @@
1
+ // @ts-nocheck
2
+ import { registerThemePropertiesLoader } from "@ui5/webcomponents-base/dist/asset-registries/Themes.js";
3
+
4
+ const loadThemeProperties = async (themeName) => {
5
+ switch (themeName) {
6
+ case "sap_fiori_3": return (await import(/* webpackChunkName: "sapudex-web-components-sap-fiori_3-parameters-bundle" */"../assets/themes/sap_fiori_3/parameters-bundle.css.json", {with: { type: 'json'}})).default;
7
+ case "sap_horizon": return (await import(/* webpackChunkName: "sapudex-web-components-sap-horizon-parameters-bundle" */"../assets/themes/sap_horizon/parameters-bundle.css.json", {with: { type: 'json'}})).default;
8
+ default: throw "unknown theme"
9
+ }
10
+ };
11
+
12
+ const loadAndCheck = async (themeName) => {
13
+ const data = await loadThemeProperties(themeName);
14
+ if (typeof data === "string" && data.endsWith(".json")) {
15
+ throw new Error(`[themes] Invalid bundling detected - dynamic JSON imports bundled as URLs. Switch to inlining JSON files from the build. Check the "Assets" documentation for more information.`);
16
+ }
17
+ return data;
18
+ };
19
+
20
+ ["sap_fiori_3", "sap_horizon"]
21
+ .forEach(themeName => registerThemePropertiesLoader("@sapudex/web-components", themeName, loadAndCheck));
@@ -0,0 +1,85 @@
1
+ // @ts-nocheck
2
+ import { registerI18nLoader } from "@ui5/webcomponents-base/dist/asset-registries/i18n.js";
3
+
4
+ const importMessageBundle = async (localeId) => {
5
+ switch (localeId) {
6
+ case "ar": return (await import(/* webpackChunkName: "sapudex-web-components-messagebundle-ar" */ "../assets/i18n/messagebundle_ar.json", {with: { type: 'json'}})).default;
7
+ case "bg": return (await import(/* webpackChunkName: "sapudex-web-components-messagebundle-bg" */ "../assets/i18n/messagebundle_bg.json", {with: { type: 'json'}})).default;
8
+ case "cs": return (await import(/* webpackChunkName: "sapudex-web-components-messagebundle-cs" */ "../assets/i18n/messagebundle_cs.json", {with: { type: 'json'}})).default;
9
+ case "da": return (await import(/* webpackChunkName: "sapudex-web-components-messagebundle-da" */ "../assets/i18n/messagebundle_da.json", {with: { type: 'json'}})).default;
10
+ case "de": return (await import(/* webpackChunkName: "sapudex-web-components-messagebundle-de" */ "../assets/i18n/messagebundle_de.json", {with: { type: 'json'}})).default;
11
+ case "el": return (await import(/* webpackChunkName: "sapudex-web-components-messagebundle-el" */ "../assets/i18n/messagebundle_el.json", {with: { type: 'json'}})).default;
12
+ case "en": return (await import(/* webpackChunkName: "sapudex-web-components-messagebundle-en" */ "../assets/i18n/messagebundle_en.json", {with: { type: 'json'}})).default;
13
+ case "es": return (await import(/* webpackChunkName: "sapudex-web-components-messagebundle-es" */ "../assets/i18n/messagebundle_es.json", {with: { type: 'json'}})).default;
14
+ case "et": return (await import(/* webpackChunkName: "sapudex-web-components-messagebundle-et" */ "../assets/i18n/messagebundle_et.json", {with: { type: 'json'}})).default;
15
+ case "fi": return (await import(/* webpackChunkName: "sapudex-web-components-messagebundle-fi" */ "../assets/i18n/messagebundle_fi.json", {with: { type: 'json'}})).default;
16
+ case "fr": return (await import(/* webpackChunkName: "sapudex-web-components-messagebundle-fr" */ "../assets/i18n/messagebundle_fr.json", {with: { type: 'json'}})).default;
17
+ case "hr": return (await import(/* webpackChunkName: "sapudex-web-components-messagebundle-hr" */ "../assets/i18n/messagebundle_hr.json", {with: { type: 'json'}})).default;
18
+ case "hu": return (await import(/* webpackChunkName: "sapudex-web-components-messagebundle-hu" */ "../assets/i18n/messagebundle_hu.json", {with: { type: 'json'}})).default;
19
+ case "it": return (await import(/* webpackChunkName: "sapudex-web-components-messagebundle-it" */ "../assets/i18n/messagebundle_it.json", {with: { type: 'json'}})).default;
20
+ case "iw": return (await import(/* webpackChunkName: "sapudex-web-components-messagebundle-iw" */ "../assets/i18n/messagebundle_iw.json", {with: { type: 'json'}})).default;
21
+ case "ko": return (await import(/* webpackChunkName: "sapudex-web-components-messagebundle-ko" */ "../assets/i18n/messagebundle_ko.json", {with: { type: 'json'}})).default;
22
+ case "lt": return (await import(/* webpackChunkName: "sapudex-web-components-messagebundle-lt" */ "../assets/i18n/messagebundle_lt.json", {with: { type: 'json'}})).default;
23
+ case "lv": return (await import(/* webpackChunkName: "sapudex-web-components-messagebundle-lv" */ "../assets/i18n/messagebundle_lv.json", {with: { type: 'json'}})).default;
24
+ case "nl": return (await import(/* webpackChunkName: "sapudex-web-components-messagebundle-nl" */ "../assets/i18n/messagebundle_nl.json", {with: { type: 'json'}})).default;
25
+ case "no": return (await import(/* webpackChunkName: "sapudex-web-components-messagebundle-no" */ "../assets/i18n/messagebundle_no.json", {with: { type: 'json'}})).default;
26
+ case "pl": return (await import(/* webpackChunkName: "sapudex-web-components-messagebundle-pl" */ "../assets/i18n/messagebundle_pl.json", {with: { type: 'json'}})).default;
27
+ case "pt": return (await import(/* webpackChunkName: "sapudex-web-components-messagebundle-pt" */ "../assets/i18n/messagebundle_pt.json", {with: { type: 'json'}})).default;
28
+ case "ro": return (await import(/* webpackChunkName: "sapudex-web-components-messagebundle-ro" */ "../assets/i18n/messagebundle_ro.json", {with: { type: 'json'}})).default;
29
+ case "ru": return (await import(/* webpackChunkName: "sapudex-web-components-messagebundle-ru" */ "../assets/i18n/messagebundle_ru.json", {with: { type: 'json'}})).default;
30
+ case "sk": return (await import(/* webpackChunkName: "sapudex-web-components-messagebundle-sk" */ "../assets/i18n/messagebundle_sk.json", {with: { type: 'json'}})).default;
31
+ case "sl": return (await import(/* webpackChunkName: "sapudex-web-components-messagebundle-sl" */ "../assets/i18n/messagebundle_sl.json", {with: { type: 'json'}})).default;
32
+ case "sr": return (await import(/* webpackChunkName: "sapudex-web-components-messagebundle-sr" */ "../assets/i18n/messagebundle_sr.json", {with: { type: 'json'}})).default;
33
+ case "sv": return (await import(/* webpackChunkName: "sapudex-web-components-messagebundle-sv" */ "../assets/i18n/messagebundle_sv.json", {with: { type: 'json'}})).default;
34
+ case "tr": return (await import(/* webpackChunkName: "sapudex-web-components-messagebundle-tr" */ "../assets/i18n/messagebundle_tr.json", {with: { type: 'json'}})).default;
35
+ case "uk": return (await import(/* webpackChunkName: "sapudex-web-components-messagebundle-uk" */ "../assets/i18n/messagebundle_uk.json", {with: { type: 'json'}})).default;
36
+ case "zh_CN": return (await import(/* webpackChunkName: "sapudex-web-components-messagebundle-zh_CN" */ "../assets/i18n/messagebundle_zh_CN.json", {with: { type: 'json'}})).default;
37
+ case "zh_TW": return (await import(/* webpackChunkName: "sapudex-web-components-messagebundle-zh_TW" */ "../assets/i18n/messagebundle_zh_TW.json", {with: { type: 'json'}})).default;
38
+ default: throw "unknown locale"
39
+ }
40
+ }
41
+
42
+ const importAndCheck = async (localeId) => {
43
+ const data = await importMessageBundle(localeId);
44
+ if (typeof data === "string" && data.endsWith(".json")) {
45
+ throw new Error(`[i18n] Invalid bundling detected - dynamic JSON imports bundled as URLs. Switch to inlining JSON files from the build. Check the "Assets" documentation for more information.`);
46
+ }
47
+ return data;
48
+ }
49
+
50
+ const localeIds = ["ar",
51
+ "bg",
52
+ "cs",
53
+ "da",
54
+ "de",
55
+ "el",
56
+ "en",
57
+ "es",
58
+ "et",
59
+ "fi",
60
+ "fr",
61
+ "hr",
62
+ "hu",
63
+ "it",
64
+ "iw",
65
+ "ko",
66
+ "lt",
67
+ "lv",
68
+ "nl",
69
+ "no",
70
+ "pl",
71
+ "pt",
72
+ "ro",
73
+ "ru",
74
+ "sk",
75
+ "sl",
76
+ "sr",
77
+ "sv",
78
+ "tr",
79
+ "uk",
80
+ "zh_CN",
81
+ "zh_TW",];
82
+
83
+ localeIds.forEach(localeId => {
84
+ registerI18nLoader("@sapudex/web-components", localeId, importAndCheck);
85
+ });
@@ -5,7 +5,7 @@ import type UI5Element from "@ui5/webcomponents-base/dist/UI5Element.js";
5
5
  type BreadcrumbsPopover = any;
6
6
  import type { ClassMapValue } from "@ui5/webcomponents-base/dist/types.js";
7
7
 
8
- function block0 (this: BreadcrumbsPopover, context: UI5Element, tags: string[], suffix: string | undefined) { return suffix ? html`<${scopeTag("udex-dropdown", tags, suffix)} id="udex-${ifDefined(this._id)}-breadcrumbs__popover" opener="udex-${ifDefined(this._id)}-breadcrumbs__opener" class="udex-breadcrumbs__popover ui5-breadcrumbs-popover" placement="Bottom" horizontal-align="Start" @keydown="${this._handleKeydown}"><div class="udex-breadcrumbs__popover-content">${ repeat(this._dropdownItems, (item, index) => (item as typeof item & {_id?: any})._id || index, (item, index: number) => block1.call(this, context, tags, suffix, item, index)) }</div></${scopeTag("udex-dropdown", tags, suffix)}>` : html`<udex-dropdown id="udex-${ifDefined(this._id)}-breadcrumbs__popover" opener="udex-${ifDefined(this._id)}-breadcrumbs__opener" class="udex-breadcrumbs__popover ui5-breadcrumbs-popover" placement="Bottom" horizontal-align="Start" @keydown="${this._handleKeydown}"><div class="udex-breadcrumbs__popover-content">${ repeat(this._dropdownItems, (item, index) => (item as typeof item & {_id?: any})._id || index, (item, index: number) => block1.call(this, context, tags, suffix, item, index)) }</div></udex-dropdown>`;}
8
+ function block0 (this: BreadcrumbsPopover, context: UI5Element, tags: string[], suffix: string | undefined) { return suffix ? html`<${scopeTag("udex-dropdown", tags, suffix)} id="udex-${ifDefined(this._id)}-breadcrumbs__popover" opener="udex-${ifDefined(this._id)}-breadcrumbs__opener" class="udex-breadcrumbs__popover ui5-breadcrumbs-popover" placement="Bottom" horizontal-align="Start" @keydown="${this._handleKeydown}" @close="${this._afterDropdownClose}" @open="${this._afterDropdownOpen}"><div class="udex-breadcrumbs__popover-content">${ repeat(this._dropdownItems, (item, index) => (item as typeof item & {_id?: any})._id || index, (item, index: number) => block1.call(this, context, tags, suffix, item, index)) }</div></${scopeTag("udex-dropdown", tags, suffix)}>` : html`<udex-dropdown id="udex-${ifDefined(this._id)}-breadcrumbs__popover" opener="udex-${ifDefined(this._id)}-breadcrumbs__opener" class="udex-breadcrumbs__popover ui5-breadcrumbs-popover" placement="Bottom" horizontal-align="Start" @keydown="${this._handleKeydown}" @close="${this._afterDropdownClose}" @open="${this._afterDropdownOpen}"><div class="udex-breadcrumbs__popover-content">${ repeat(this._dropdownItems, (item, index) => (item as typeof item & {_id?: any})._id || index, (item, index: number) => block1.call(this, context, tags, suffix, item, index)) }</div></udex-dropdown>`;}
9
9
  function block1 (this: BreadcrumbsPopover, context: UI5Element, tags: string[], suffix: string | undefined, item: any, index: number) { return html`${ item.icon ? block2.call(this, context, tags, suffix, item, index) : block3.call(this, context, tags, suffix, item, index) }`;}
10
10
  function block2 (this: BreadcrumbsPopover, context: UI5Element, tags: string[], suffix: string | undefined, item: any, index: number) { return suffix ? html`<${scopeTag("udex-link", tags, suffix)} index="${index}" id="${ifDefined(item._id)}-li" @ui5-click="${ifDefined(this._onDropdownLinkPress)}" href="${ifDefined(item.href)}" target="${ifDefined(item.target)}" class="udex-breadcrumbs__item udex-breadcrumbs__item--with-icon udex-breadcrumbs__item--hidden udex-breadcrumbs__item--${index}" icon="${ifDefined(item.icon)}" accessible-name="${ifDefined(item.textContent)}" data-ui5-stable="${ifDefined(item.stableDomRef)}">${ifDefined(item.textContent)}</${scopeTag("udex-link", tags, suffix)}>` : html`<udex-link index="${index}" id="${ifDefined(item._id)}-li" @ui5-click="${ifDefined(this._onDropdownLinkPress)}" href="${ifDefined(item.href)}" target="${ifDefined(item.target)}" class="udex-breadcrumbs__item udex-breadcrumbs__item--with-icon udex-breadcrumbs__item--hidden udex-breadcrumbs__item--${index}" icon="${ifDefined(item.icon)}" accessible-name="${ifDefined(item.textContent)}" data-ui5-stable="${ifDefined(item.stableDomRef)}">${ifDefined(item.textContent)}</udex-link>`;}
11
11
  function block3 (this: BreadcrumbsPopover, context: UI5Element, tags: string[], suffix: string | undefined, item: any, index: number) { return html`${ item._isCurrentPageItem ? block4.call(this, context, tags, suffix, item, index) : block5.call(this, context, tags, suffix, item, index) }`;}
@@ -5,7 +5,7 @@ import type UI5Element from "@ui5/webcomponents-base/dist/UI5Element.js";
5
5
  import type Breadcrumbs from "../../Breadcrumbs.js";
6
6
  import type { ClassMapValue } from "@ui5/webcomponents-base/dist/types.js";
7
7
 
8
- function block0 (this: Breadcrumbs, context: UI5Element, tags: string[], suffix: string | undefined) { return suffix ? html`<nav class="udex-breadcrumbs ui5-breadcrumbs-root" aria-label="${ifDefined(this._accessibleNameText)}"><ol @focusin="${this._onfocusin}"><li class="udex-breadcrumbs__arrow-wrapper ui5-breadcrumbs-dropdown-arrow-link-wrapper"><button id="udex-${ifDefined(this._id)}-breadcrumbs__opener" @click="${this._toggleDropdown}" class="udex-breadcrumbs__trigger ${ifDefined(this._triggerClass)}" accessible-role="button" aria-label="${ifDefined(this._dropdownArrowAccessibleNameText)}" aria-haspopup="true"><${scopeTag("ui5-icon", tags, suffix)} name="slim-arrow-down" mode="Decorative" title="${ifDefined(this._dropdownArrowAccessibleNameText)}"></${scopeTag("ui5-icon", tags, suffix)}></button></li>${ repeat(this._linksData, (item, index) => (item as typeof item & {_id?: any})._id || index, (item, index: number) => block1.call(this, context, tags, suffix, item, index)) }</ol></nav><${scopeTag("udex-dropdown", tags, suffix)} id="udex-${ifDefined(this._id)}-breadcrumbs__popover" opener="udex-${ifDefined(this._id)}-breadcrumbs__opener" class="udex-breadcrumbs__popover ui5-breadcrumbs-popover" placement="Bottom" horizontal-align="Start" @keydown="${this._handleKeydown}"><div class="udex-breadcrumbs__popover-content">${ repeat(this._dropdownItems, (item, index) => (item as typeof item & {_id?: any})._id || index, (item, index: number) => block3.call(this, context, tags, suffix, item, index)) }</div></${scopeTag("udex-dropdown", tags, suffix)}>` : html`<nav class="udex-breadcrumbs ui5-breadcrumbs-root" aria-label="${ifDefined(this._accessibleNameText)}"><ol @focusin="${this._onfocusin}"><li class="udex-breadcrumbs__arrow-wrapper ui5-breadcrumbs-dropdown-arrow-link-wrapper"><button id="udex-${ifDefined(this._id)}-breadcrumbs__opener" @click="${this._toggleDropdown}" class="udex-breadcrumbs__trigger ${ifDefined(this._triggerClass)}" accessible-role="button" aria-label="${ifDefined(this._dropdownArrowAccessibleNameText)}" aria-haspopup="true"><ui5-icon name="slim-arrow-down" mode="Decorative" title="${ifDefined(this._dropdownArrowAccessibleNameText)}"></ui5-icon></button></li>${ repeat(this._linksData, (item, index) => (item as typeof item & {_id?: any})._id || index, (item, index: number) => block1.call(this, context, tags, suffix, item, index)) }</ol></nav><udex-dropdown id="udex-${ifDefined(this._id)}-breadcrumbs__popover" opener="udex-${ifDefined(this._id)}-breadcrumbs__opener" class="udex-breadcrumbs__popover ui5-breadcrumbs-popover" placement="Bottom" horizontal-align="Start" @keydown="${this._handleKeydown}"><div class="udex-breadcrumbs__popover-content">${ repeat(this._dropdownItems, (item, index) => (item as typeof item & {_id?: any})._id || index, (item, index: number) => block3.call(this, context, tags, suffix, item, index)) }</div></udex-dropdown>`;}
8
+ function block0 (this: Breadcrumbs, context: UI5Element, tags: string[], suffix: string | undefined) { return suffix ? html`<nav class="udex-breadcrumbs ui5-breadcrumbs-root" aria-label="${ifDefined(this._accessibleNameText)}"><ol @focusin="${this._onfocusin}"><li class="udex-breadcrumbs__arrow-wrapper ui5-breadcrumbs-dropdown-arrow-link-wrapper"><${scopeTag("udex-link", tags, suffix)} id="udex-${ifDefined(this._id)}-breadcrumbs__opener" @click="${this._toggleDropdown}" class="udex-breadcrumbs__trigger ${ifDefined(this._triggerClass)}" accessible-role="button" aria-label="${ifDefined(this._dropdownArrowAccessibleNameText)}" icon="slim-arrow-down" icon-placement="Start" aria-haspopup="true"></${scopeTag("udex-link", tags, suffix)}></li>${ repeat(this._linksData, (item, index) => (item as typeof item & {_id?: any})._id || index, (item, index: number) => block1.call(this, context, tags, suffix, item, index)) }</ol></nav><${scopeTag("udex-dropdown", tags, suffix)} id="udex-${ifDefined(this._id)}-breadcrumbs__popover" opener="udex-${ifDefined(this._id)}-breadcrumbs__opener" class="udex-breadcrumbs__popover ui5-breadcrumbs-popover" placement="Bottom" horizontal-align="Start" @keydown="${this._handleKeydown}" @close="${this._afterDropdownClose}" @open="${this._afterDropdownOpen}"><div class="udex-breadcrumbs__popover-content">${ repeat(this._dropdownItems, (item, index) => (item as typeof item & {_id?: any})._id || index, (item, index: number) => block3.call(this, context, tags, suffix, item, index)) }</div></${scopeTag("udex-dropdown", tags, suffix)}>` : html`<nav class="udex-breadcrumbs ui5-breadcrumbs-root" aria-label="${ifDefined(this._accessibleNameText)}"><ol @focusin="${this._onfocusin}"><li class="udex-breadcrumbs__arrow-wrapper ui5-breadcrumbs-dropdown-arrow-link-wrapper"><udex-link id="udex-${ifDefined(this._id)}-breadcrumbs__opener" @click="${this._toggleDropdown}" class="udex-breadcrumbs__trigger ${ifDefined(this._triggerClass)}" accessible-role="button" aria-label="${ifDefined(this._dropdownArrowAccessibleNameText)}" icon="slim-arrow-down" icon-placement="Start" aria-haspopup="true"></udex-link></li>${ repeat(this._linksData, (item, index) => (item as typeof item & {_id?: any})._id || index, (item, index: number) => block1.call(this, context, tags, suffix, item, index)) }</ol></nav><udex-dropdown id="udex-${ifDefined(this._id)}-breadcrumbs__popover" opener="udex-${ifDefined(this._id)}-breadcrumbs__opener" class="udex-breadcrumbs__popover ui5-breadcrumbs-popover" placement="Bottom" horizontal-align="Start" @keydown="${this._handleKeydown}" @close="${this._afterDropdownClose}" @open="${this._afterDropdownOpen}"><div class="udex-breadcrumbs__popover-content">${ repeat(this._dropdownItems, (item, index) => (item as typeof item & {_id?: any})._id || index, (item, index: number) => block3.call(this, context, tags, suffix, item, index)) }</div></udex-dropdown>`;}
9
9
  function block1 (this: Breadcrumbs, context: UI5Element, tags: string[], suffix: string | undefined, item: any, index: number) { return html`<li class="udex-breadcrumbs__link-wrapper ui5-breadcrumbs-link-wrapper" id="${ifDefined(item._id)}-link-wrapper">${ !item._isCurrentPageItem ? block2.call(this, context, tags, suffix, item, index) : undefined }</li>`;}
10
10
  function block2 (this: Breadcrumbs, context: UI5Element, tags: string[], suffix: string | undefined, item: any, index: number) { return suffix ? html`<span class="udex-breadcrumbs__separator" aria-hidden="true"></span><${scopeTag("udex-link", tags, suffix)} @ui5-click="${ifDefined(this._onLinkPress)}" class="udex-breadcrumbs__item udex-breadcrumbs__item--visible" href="${ifDefined(item.href)}" target="${ifDefined(item.target)}" id="${ifDefined(item._id)}-link" accessible-name="${ifDefined(item._accessibleNameText)}" data-ui5-stable="${ifDefined(item.stableDomRef)}">${ifDefined(item.innerText)}</${scopeTag("udex-link", tags, suffix)}>` : html`<span class="udex-breadcrumbs__separator" aria-hidden="true"></span><udex-link @ui5-click="${ifDefined(this._onLinkPress)}" class="udex-breadcrumbs__item udex-breadcrumbs__item--visible" href="${ifDefined(item.href)}" target="${ifDefined(item.target)}" id="${ifDefined(item._id)}-link" accessible-name="${ifDefined(item._accessibleNameText)}" data-ui5-stable="${ifDefined(item.stableDomRef)}">${ifDefined(item.innerText)}</udex-link>`;}
11
11
  function block3 (this: Breadcrumbs, context: UI5Element, tags: string[], suffix: string | undefined, item: any, index: number) { return html`${ item.icon ? block4.call(this, context, tags, suffix, item, index) : block5.call(this, context, tags, suffix, item, index) }`;}
@@ -6,7 +6,7 @@ import type Pagination from "../../Pagination.js";
6
6
  import type { ClassMapValue } from "@ui5/webcomponents-base/dist/types.js";
7
7
 
8
8
  function block0 (this: Pagination, context: UI5Element, tags: string[], suffix: string | undefined) { return html`${ this.pages ? block1.call(this, context, tags, suffix) : undefined } `;}
9
- function block1 (this: Pagination, context: UI5Element, tags: string[], suffix: string | undefined) { return suffix ? html`<nav class="${ifDefined(this.paginationClass)}" role="navigation" aria-label="${ifDefined(this.paginationAccessibleName)}"><ul class="udex-pagination__list"><li class="udex-pagination__item--prev udex-pagination__item"><${scopeTag("udex-button", tags, suffix)} ?disabled="${this.prevButtonDisabled}" accessible-name="${ifDefined(this.previousPageAccessibleName)}" tooltip="${ifDefined(this.previousBtnTooltip)}" size="Large" icon="navigation-left-arrow" design="Tertiary" @click="${this.setPrevPage}"></${scopeTag("udex-button", tags, suffix)}></li>${ this.typeFull ? block2.call(this, context, tags, suffix) : undefined }${ this.typeShort ? block4.call(this, context, tags, suffix) : undefined }<li class="udex-pagination__item--next udex-pagination__item"><${scopeTag("udex-button", tags, suffix)} ?disabled="${this.nextButtonDisbled}" tooltip="${ifDefined(this.nextBtnTooltip)}" accessible-name="${ifDefined(this.nextPageAccessibleName)}" size="Large" icon="navigation-right-arrow" design="Tertiary" @click="${this.setNextPage}"></${scopeTag("udex-button", tags, suffix)}></li></ul></nav>` : html`<nav class="${ifDefined(this.paginationClass)}" role="navigation" aria-label="${ifDefined(this.paginationAccessibleName)}"><ul class="udex-pagination__list"><li class="udex-pagination__item--prev udex-pagination__item"><udex-button ?disabled="${this.prevButtonDisabled}" accessible-name="${ifDefined(this.previousPageAccessibleName)}" tooltip="${ifDefined(this.previousBtnTooltip)}" size="Large" icon="navigation-left-arrow" design="Tertiary" @click="${this.setPrevPage}"></udex-button></li>${ this.typeFull ? block2.call(this, context, tags, suffix) : undefined }${ this.typeShort ? block4.call(this, context, tags, suffix) : undefined }<li class="udex-pagination__item--next udex-pagination__item"><udex-button ?disabled="${this.nextButtonDisbled}" tooltip="${ifDefined(this.nextBtnTooltip)}" accessible-name="${ifDefined(this.nextPageAccessibleName)}" size="Large" icon="navigation-right-arrow" design="Tertiary" @click="${this.setNextPage}"></udex-button></li></ul></nav>`;}
9
+ function block1 (this: Pagination, context: UI5Element, tags: string[], suffix: string | undefined) { return suffix ? html`<nav class="${ifDefined(this.paginationClass)}" role="navigation" aria-label="${ifDefined(this.paginationAccessibleName)}"><ul class="udex-pagination__list"><li class="udex-pagination__item--prev udex-pagination__item"><${scopeTag("udex-button", tags, suffix)} aria-disabled="${ifDefined(this.effectivePrevButtonDisabled)}" ?_aria-disabled="${ifDefined(this._prevButtonPseudoDisabled)}" accessible-name="${ifDefined(this.previousPageAccessibleName)}" tooltip="${ifDefined(this.previousBtnTooltip)}" size="Large" icon="navigation-left-arrow" design="Tertiary" @click="${this.setPrevPage}" @focusout="${this.handlePrevFocusOut}"></${scopeTag("udex-button", tags, suffix)}></li>${ this.typeFull ? block2.call(this, context, tags, suffix) : undefined }${ this.typeShort ? block4.call(this, context, tags, suffix) : undefined }<li class="udex-pagination__item--next udex-pagination__item"><${scopeTag("udex-button", tags, suffix)} aria-disabled="${ifDefined(this.effectiveNextButtonDisabled)}" ?_aria-disabled="${ifDefined(this._nextButtonPseudoDisabled)}" tooltip="${ifDefined(this.nextBtnTooltip)}" accessible-name="${ifDefined(this.nextPageAccessibleName)}" size="Large" icon="navigation-right-arrow" design="Tertiary" @click="${this.setNextPage}" @focusout="${this.handleNextFocusOut}"></${scopeTag("udex-button", tags, suffix)}></li></ul></nav>` : html`<nav class="${ifDefined(this.paginationClass)}" role="navigation" aria-label="${ifDefined(this.paginationAccessibleName)}"><ul class="udex-pagination__list"><li class="udex-pagination__item--prev udex-pagination__item"><udex-button aria-disabled="${ifDefined(this.effectivePrevButtonDisabled)}" ?_aria-disabled="${ifDefined(this._prevButtonPseudoDisabled)}" accessible-name="${ifDefined(this.previousPageAccessibleName)}" tooltip="${ifDefined(this.previousBtnTooltip)}" size="Large" icon="navigation-left-arrow" design="Tertiary" @click="${this.setPrevPage}" @focusout="${this.handlePrevFocusOut}"></udex-button></li>${ this.typeFull ? block2.call(this, context, tags, suffix) : undefined }${ this.typeShort ? block4.call(this, context, tags, suffix) : undefined }<li class="udex-pagination__item--next udex-pagination__item"><udex-button aria-disabled="${ifDefined(this.effectiveNextButtonDisabled)}" ?_aria-disabled="${ifDefined(this._nextButtonPseudoDisabled)}" tooltip="${ifDefined(this.nextBtnTooltip)}" accessible-name="${ifDefined(this.nextPageAccessibleName)}" size="Large" icon="navigation-right-arrow" design="Tertiary" @click="${this.setNextPage}" @focusout="${this.handleNextFocusOut}"></udex-button></li></ul></nav>`;}
10
10
  function block2 (this: Pagination, context: UI5Element, tags: string[], suffix: string | undefined) { return html`${ repeat(this.pagination, (item, index) => (item as typeof item & {_id?: any})._id || index, (item, index: number) => block3.call(this, context, tags, suffix, item, index)) }`;}
11
11
  function block3 (this: Pagination, context: UI5Element, tags: string[], suffix: string | undefined, item: any, index: number) { return html`<li class="udex-pagination__item"><a class="udex-pagination__page" href="#" aria-label="${ifDefined(item.accessibleName)}" @click="${this.onPageClick}" ?active="${item.active}" aria-current="${ifDefined(item.ariaCurrent)}" index="${ifDefined(item.index)}"><span class="udex-pagination__page--value">${ifDefined(item.value)}</span></a></li>`;}
12
12
  function block4 (this: Pagination, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<li class="udex-pagination__item udex-pagination__item--short" tabindex="-1" aria-label="${ifDefined(this.paginationShortAccessibleName)}"><span class="udex-pagination__item--short-value">${ifDefined(this.shortTextStart)}</span><span class="udex-pagination__item--short-separator">${ifDefined(this.shortTextSeparator)}</span><span class="udex-pagination__item--short-value">${ifDefined(this.shortTextEnd)}</span></li>`;}
@@ -10,7 +10,7 @@ function block1 (this: PhoneNumberField, context: UI5Element, tags: string[], su
10
10
  function block2 (this: PhoneNumberField, context: UI5Element, tags: string[], suffix: string | undefined) { return html` * `;}
11
11
  function block3 (this: PhoneNumberField, context: UI5Element, tags: string[], suffix: string | undefined, item: any, index: number) { return suffix ? html`<${scopeTag("udex-list-item", tags, suffix)} id="${ifDefined(item.iso)}" ?selected="${item.selected}"><div class="udex-phone-number-field__dropdown-list-item"><div class="udex-phone-number-field__flag" style="background-position-x: ${ifDefined(item.flagX)}; background-position-y: ${ifDefined(item.flagY)}"></div><span class="udex-phone-number-field__country-name">${ifDefined(item.countryName)}${ item.localName ? block4.call(this, context, tags, suffix, item, index) : undefined }${ifDefined(item.phonePrefix)}</span></div></${scopeTag("udex-list-item", tags, suffix)}>` : html`<udex-list-item id="${ifDefined(item.iso)}" ?selected="${item.selected}"><div class="udex-phone-number-field__dropdown-list-item"><div class="udex-phone-number-field__flag" style="background-position-x: ${ifDefined(item.flagX)}; background-position-y: ${ifDefined(item.flagY)}"></div><span class="udex-phone-number-field__country-name">${ifDefined(item.countryName)}${ item.localName ? block4.call(this, context, tags, suffix, item, index) : undefined }${ifDefined(item.phonePrefix)}</span></div></udex-list-item>`;}
12
12
  function block4 (this: PhoneNumberField, context: UI5Element, tags: string[], suffix: string | undefined, item: any, index: number) { return html` (${ifDefined(item.localName)}) `;}
13
- function block5 (this: PhoneNumberField, context: UI5Element, tags: string[], suffix: string | undefined) { return suffix ? html`<${scopeTag("udex-button", tags, suffix)} id="udex-${ifDefined(this._id)}-phone-number__opener" class="udex-phone-number-field__open-button" size="Large" end-icon="${ifDefined(this.buttonIcon)}" design="Tertiary" ?disabled="${this.isButtonDisabled}" aria-haspopup="true" accessible-name-ref="${ifDefined(this._id)}-countrySelectorAriaLabel ${ifDefined(this.ariaDescribedById)}" aria-label="${ifDefined(this.countrySelectorAriaLabel)}" aria-expanded="${ifDefined(this._dropdownExpanded)}" aria-controls="${ifDefined(this._id)}_dropdown-menu" role="combobox" @click="${this.openDropdown}"><div class="udex-phone-number-field__open-button-text">${ifDefined(this.selectedCountryName)}${ifDefined(this.selectedPhonePrefix)}</div><div class="udex-phone-number-field__button-content"><img class="udex-phone-number-field__flag" aria-label="${ifDefined(this.selectedCountryName)}" style="${styleMap(this.selectedFlagBackgroundPosition)}"></div></${scopeTag("udex-button", tags, suffix)}>` : html`<udex-button id="udex-${ifDefined(this._id)}-phone-number__opener" class="udex-phone-number-field__open-button" size="Large" end-icon="${ifDefined(this.buttonIcon)}" design="Tertiary" ?disabled="${this.isButtonDisabled}" aria-haspopup="true" accessible-name-ref="${ifDefined(this._id)}-countrySelectorAriaLabel ${ifDefined(this.ariaDescribedById)}" aria-label="${ifDefined(this.countrySelectorAriaLabel)}" aria-expanded="${ifDefined(this._dropdownExpanded)}" aria-controls="${ifDefined(this._id)}_dropdown-menu" role="combobox" @click="${this.openDropdown}"><div class="udex-phone-number-field__open-button-text">${ifDefined(this.selectedCountryName)}${ifDefined(this.selectedPhonePrefix)}</div><div class="udex-phone-number-field__button-content"><img class="udex-phone-number-field__flag" aria-label="${ifDefined(this.selectedCountryName)}" style="${styleMap(this.selectedFlagBackgroundPosition)}"></div></udex-button>`;}
13
+ function block5 (this: PhoneNumberField, context: UI5Element, tags: string[], suffix: string | undefined) { return suffix ? html`<${scopeTag("udex-button", tags, suffix)} id="udex-${ifDefined(this._id)}-phone-number__opener" class="udex-phone-number-field__open-button" size="Large" end-icon="${ifDefined(this.buttonIcon)}" design="Tertiary" ?disabled="${this.isButtonDisabled}" aria-haspopup="true" accessible-name-ref="${ifDefined(this._id)}-countrySelectorAriaLabel ${ifDefined(this.ariaDescribedById)}" aria-label="${ifDefined(this.countrySelectorAriaLabel)}" aria-expanded="${ifDefined(this._dropdownExpanded)}" aria-controls="${ifDefined(this._id)}_dropdown-menu" role="combobox" @click="${this.openDropdown}"><div class="udex-phone-number-field__open-button-text">${ifDefined(this.selectedCountryName)}${ifDefined(this.selectedPhonePrefix)}</div><div class="udex-phone-number-field__button-content"><img class="udex-phone-number-field__flag" aria-label="${ifDefined(this.selectedCountryName)}" style="background-position-x: ${ifDefined(this.selectedFlagBackgroundPosition.x)}; background-position-y: ${ifDefined(this.selectedFlagBackgroundPosition.y)}"></div></${scopeTag("udex-button", tags, suffix)}>` : html`<udex-button id="udex-${ifDefined(this._id)}-phone-number__opener" class="udex-phone-number-field__open-button" size="Large" end-icon="${ifDefined(this.buttonIcon)}" design="Tertiary" ?disabled="${this.isButtonDisabled}" aria-haspopup="true" accessible-name-ref="${ifDefined(this._id)}-countrySelectorAriaLabel ${ifDefined(this.ariaDescribedById)}" aria-label="${ifDefined(this.countrySelectorAriaLabel)}" aria-expanded="${ifDefined(this._dropdownExpanded)}" aria-controls="${ifDefined(this._id)}_dropdown-menu" role="combobox" @click="${this.openDropdown}"><div class="udex-phone-number-field__open-button-text">${ifDefined(this.selectedCountryName)}${ifDefined(this.selectedPhonePrefix)}</div><div class="udex-phone-number-field__button-content"><img class="udex-phone-number-field__flag" aria-label="${ifDefined(this.selectedCountryName)}" style="background-position-x: ${ifDefined(this.selectedFlagBackgroundPosition.x)}; background-position-y: ${ifDefined(this.selectedFlagBackgroundPosition.y)}"></div></udex-button>`;}
14
14
  function block6 (this: PhoneNumberField, context: UI5Element, tags: string[], suffix: string | undefined) { return suffix ? html`<${scopeTag("udex-status-message", tags, suffix)} ?disabled="${this.disabled}" supporting-text="${ifDefined(this.supportingText)}" value-state="${ifDefined(this.valueState)}"></${scopeTag("udex-status-message", tags, suffix)}>` : html`<udex-status-message ?disabled="${this.disabled}" supporting-text="${ifDefined(this.supportingText)}" value-state="${ifDefined(this.valueState)}"></udex-status-message>`;}
15
15
  function block7 (this: PhoneNumberField, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<span id="${ifDefined(this._id)}-supportingTextDesc" class="hidden-text">${ifDefined(this.supportingText)}</span>`;}
16
16
  function block8 (this: PhoneNumberField, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<span id="${ifDefined(this._id)}-valueStateDesc" class="hidden-text">${ifDefined(this.valueStateText)}</span>`;}