@ui5/webcomponents-ngx 0.5.9-rc.4 → 0.5.9

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 (990) hide show
  1. package/ai/button/index.d.ts +70 -0
  2. package/ai/button-state/index.d.ts +45 -0
  3. package/ai/index.d.ts +16 -0
  4. package/ai/input/index.d.ts +176 -0
  5. package/ai/prompt-input/index.d.ts +87 -0
  6. package/ai/text-area/index.d.ts +158 -0
  7. package/ai/theming/index.d.ts +11 -0
  8. package/config/index.d.ts +20 -0
  9. package/content-density/index.d.ts +15 -0
  10. package/fesm2022/ui5-webcomponents-ngx-ai-button-state.mjs +43 -0
  11. package/fesm2022/ui5-webcomponents-ngx-ai-button-state.mjs.map +1 -0
  12. package/fesm2022/ui5-webcomponents-ngx-ai-button.mjs +60 -0
  13. package/fesm2022/ui5-webcomponents-ngx-ai-button.mjs.map +1 -0
  14. package/fesm2022/ui5-webcomponents-ngx-ai-input.mjs +146 -0
  15. package/fesm2022/ui5-webcomponents-ngx-ai-input.mjs.map +1 -0
  16. package/fesm2022/ui5-webcomponents-ngx-ai-prompt-input.mjs +79 -0
  17. package/fesm2022/ui5-webcomponents-ngx-ai-prompt-input.mjs.map +1 -0
  18. package/fesm2022/ui5-webcomponents-ngx-ai-text-area.mjs +132 -0
  19. package/fesm2022/ui5-webcomponents-ngx-ai-text-area.mjs.map +1 -0
  20. package/fesm2022/ui5-webcomponents-ngx-ai-theming.mjs +23 -0
  21. package/fesm2022/ui5-webcomponents-ngx-ai-theming.mjs.map +1 -0
  22. package/fesm2022/ui5-webcomponents-ngx-ai.mjs +46 -0
  23. package/fesm2022/ui5-webcomponents-ngx-ai.mjs.map +1 -0
  24. package/fesm2022/ui5-webcomponents-ngx-config.mjs +45 -0
  25. package/fesm2022/ui5-webcomponents-ngx-config.mjs.map +1 -0
  26. package/fesm2022/ui5-webcomponents-ngx-content-density.mjs +44 -0
  27. package/fesm2022/ui5-webcomponents-ngx-content-density.mjs.map +1 -0
  28. package/fesm2022/ui5-webcomponents-ngx-fiori-barcode-scanner-dialog.mjs +49 -0
  29. package/fesm2022/ui5-webcomponents-ngx-fiori-barcode-scanner-dialog.mjs.map +1 -0
  30. package/fesm2022/ui5-webcomponents-ngx-fiori-dynamic-page-header.mjs +33 -0
  31. package/fesm2022/ui5-webcomponents-ngx-fiori-dynamic-page-header.mjs.map +1 -0
  32. package/fesm2022/ui5-webcomponents-ngx-fiori-dynamic-page-title.mjs +33 -0
  33. package/fesm2022/ui5-webcomponents-ngx-fiori-dynamic-page-title.mjs.map +1 -0
  34. package/fesm2022/ui5-webcomponents-ngx-fiori-dynamic-page.mjs +57 -0
  35. package/fesm2022/ui5-webcomponents-ngx-fiori-dynamic-page.mjs.map +1 -0
  36. package/fesm2022/ui5-webcomponents-ngx-fiori-dynamic-side-content.mjs +67 -0
  37. package/fesm2022/ui5-webcomponents-ngx-fiori-dynamic-side-content.mjs.map +1 -0
  38. package/fesm2022/ui5-webcomponents-ngx-fiori-filter-item-option.mjs +43 -0
  39. package/fesm2022/ui5-webcomponents-ngx-fiori-filter-item-option.mjs.map +1 -0
  40. package/fesm2022/ui5-webcomponents-ngx-fiori-filter-item.mjs +40 -0
  41. package/fesm2022/ui5-webcomponents-ngx-fiori-filter-item.mjs.map +1 -0
  42. package/fesm2022/ui5-webcomponents-ngx-fiori-flexible-column-layout.mjs +58 -0
  43. package/fesm2022/ui5-webcomponents-ngx-fiori-flexible-column-layout.mjs.map +1 -0
  44. package/fesm2022/ui5-webcomponents-ngx-fiori-group-item.mjs +43 -0
  45. package/fesm2022/ui5-webcomponents-ngx-fiori-group-item.mjs.map +1 -0
  46. package/fesm2022/ui5-webcomponents-ngx-fiori-illustrated-message.mjs +57 -0
  47. package/fesm2022/ui5-webcomponents-ngx-fiori-illustrated-message.mjs.map +1 -0
  48. package/fesm2022/ui5-webcomponents-ngx-fiori-media-gallery-item.mjs +46 -0
  49. package/fesm2022/ui5-webcomponents-ngx-fiori-media-gallery-item.mjs.map +1 -0
  50. package/fesm2022/ui5-webcomponents-ngx-fiori-media-gallery.mjs +64 -0
  51. package/fesm2022/ui5-webcomponents-ngx-fiori-media-gallery.mjs.map +1 -0
  52. package/fesm2022/ui5-webcomponents-ngx-fiori-navigation-layout.mjs +40 -0
  53. package/fesm2022/ui5-webcomponents-ngx-fiori-navigation-layout.mjs.map +1 -0
  54. package/fesm2022/ui5-webcomponents-ngx-fiori-notification-list-group-item.mjs +65 -0
  55. package/fesm2022/ui5-webcomponents-ngx-fiori-notification-list-group-item.mjs.map +1 -0
  56. package/fesm2022/ui5-webcomponents-ngx-fiori-notification-list-item.mjs +69 -0
  57. package/fesm2022/ui5-webcomponents-ngx-fiori-notification-list-item.mjs.map +1 -0
  58. package/fesm2022/ui5-webcomponents-ngx-fiori-notification-list.mjs +46 -0
  59. package/fesm2022/ui5-webcomponents-ngx-fiori-notification-list.mjs.map +1 -0
  60. package/fesm2022/ui5-webcomponents-ngx-fiori-page.mjs +49 -0
  61. package/fesm2022/ui5-webcomponents-ngx-fiori-page.mjs.map +1 -0
  62. package/fesm2022/ui5-webcomponents-ngx-fiori-product-switch-item.mjs +42 -0
  63. package/fesm2022/ui5-webcomponents-ngx-fiori-product-switch-item.mjs.map +1 -0
  64. package/fesm2022/ui5-webcomponents-ngx-fiori-product-switch.mjs +33 -0
  65. package/fesm2022/ui5-webcomponents-ngx-fiori-product-switch.mjs.map +1 -0
  66. package/fesm2022/ui5-webcomponents-ngx-fiori-search-item-group.mjs +42 -0
  67. package/fesm2022/ui5-webcomponents-ngx-fiori-search-item-group.mjs.map +1 -0
  68. package/fesm2022/ui5-webcomponents-ngx-fiori-search-item-show-more.mjs +45 -0
  69. package/fesm2022/ui5-webcomponents-ngx-fiori-search-item-show-more.mjs.map +1 -0
  70. package/fesm2022/ui5-webcomponents-ngx-fiori-search-item.mjs +55 -0
  71. package/fesm2022/ui5-webcomponents-ngx-fiori-search-item.mjs.map +1 -0
  72. package/fesm2022/ui5-webcomponents-ngx-fiori-search-message-area.mjs +40 -0
  73. package/fesm2022/ui5-webcomponents-ngx-fiori-search-message-area.mjs.map +1 -0
  74. package/fesm2022/ui5-webcomponents-ngx-fiori-search-scope.mjs +43 -0
  75. package/fesm2022/ui5-webcomponents-ngx-fiori-search-scope.mjs.map +1 -0
  76. package/fesm2022/ui5-webcomponents-ngx-fiori-search.mjs +78 -0
  77. package/fesm2022/ui5-webcomponents-ngx-fiori-search.mjs.map +1 -0
  78. package/fesm2022/ui5-webcomponents-ngx-fiori-shell-bar-branding.mjs +42 -0
  79. package/fesm2022/ui5-webcomponents-ngx-fiori-shell-bar-branding.mjs.map +1 -0
  80. package/fesm2022/ui5-webcomponents-ngx-fiori-shell-bar-item.mjs +42 -0
  81. package/fesm2022/ui5-webcomponents-ngx-fiori-shell-bar-item.mjs.map +1 -0
  82. package/fesm2022/ui5-webcomponents-ngx-fiori-shell-bar-search.mjs +83 -0
  83. package/fesm2022/ui5-webcomponents-ngx-fiori-shell-bar-search.mjs.map +1 -0
  84. package/fesm2022/ui5-webcomponents-ngx-fiori-shell-bar-spacer.mjs +33 -0
  85. package/fesm2022/ui5-webcomponents-ngx-fiori-shell-bar-spacer.mjs.map +1 -0
  86. package/fesm2022/ui5-webcomponents-ngx-fiori-shell-bar.mjs +97 -0
  87. package/fesm2022/ui5-webcomponents-ngx-fiori-shell-bar.mjs.map +1 -0
  88. package/fesm2022/ui5-webcomponents-ngx-fiori-side-navigation-group.mjs +46 -0
  89. package/fesm2022/ui5-webcomponents-ngx-fiori-side-navigation-group.mjs.map +1 -0
  90. package/fesm2022/ui5-webcomponents-ngx-fiori-side-navigation-item.mjs +78 -0
  91. package/fesm2022/ui5-webcomponents-ngx-fiori-side-navigation-item.mjs.map +1 -0
  92. package/fesm2022/ui5-webcomponents-ngx-fiori-side-navigation-sub-item.mjs +73 -0
  93. package/fesm2022/ui5-webcomponents-ngx-fiori-side-navigation-sub-item.mjs.map +1 -0
  94. package/fesm2022/ui5-webcomponents-ngx-fiori-side-navigation.mjs +45 -0
  95. package/fesm2022/ui5-webcomponents-ngx-fiori-side-navigation.mjs.map +1 -0
  96. package/fesm2022/ui5-webcomponents-ngx-fiori-sort-item.mjs +43 -0
  97. package/fesm2022/ui5-webcomponents-ngx-fiori-sort-item.mjs.map +1 -0
  98. package/fesm2022/ui5-webcomponents-ngx-fiori-theming.mjs +23 -0
  99. package/fesm2022/ui5-webcomponents-ngx-fiori-theming.mjs.map +1 -0
  100. package/fesm2022/ui5-webcomponents-ngx-fiori-timeline-group-item.mjs +45 -0
  101. package/fesm2022/ui5-webcomponents-ngx-fiori-timeline-group-item.mjs.map +1 -0
  102. package/fesm2022/ui5-webcomponents-ngx-fiori-timeline-item.mjs +59 -0
  103. package/fesm2022/ui5-webcomponents-ngx-fiori-timeline-item.mjs.map +1 -0
  104. package/fesm2022/ui5-webcomponents-ngx-fiori-timeline.mjs +45 -0
  105. package/fesm2022/ui5-webcomponents-ngx-fiori-timeline.mjs.map +1 -0
  106. package/fesm2022/ui5-webcomponents-ngx-fiori-upload-collection-item.mjs +107 -0
  107. package/fesm2022/ui5-webcomponents-ngx-fiori-upload-collection-item.mjs.map +1 -0
  108. package/fesm2022/ui5-webcomponents-ngx-fiori-upload-collection.mjs +62 -0
  109. package/fesm2022/ui5-webcomponents-ngx-fiori-upload-collection.mjs.map +1 -0
  110. package/fesm2022/ui5-webcomponents-ngx-fiori-user-menu-account.mjs +64 -0
  111. package/fesm2022/ui5-webcomponents-ngx-fiori-user-menu-account.mjs.map +1 -0
  112. package/fesm2022/ui5-webcomponents-ngx-fiori-user-menu-item-group.mjs +40 -0
  113. package/fesm2022/ui5-webcomponents-ngx-fiori-user-menu-item-group.mjs.map +1 -0
  114. package/fesm2022/ui5-webcomponents-ngx-fiori-user-menu-item.mjs +101 -0
  115. package/fesm2022/ui5-webcomponents-ngx-fiori-user-menu-item.mjs.map +1 -0
  116. package/fesm2022/ui5-webcomponents-ngx-fiori-user-menu.mjs +89 -0
  117. package/fesm2022/ui5-webcomponents-ngx-fiori-user-menu.mjs.map +1 -0
  118. package/fesm2022/ui5-webcomponents-ngx-fiori-user-settings-account-view.mjs +54 -0
  119. package/fesm2022/ui5-webcomponents-ngx-fiori-user-settings-account-view.mjs.map +1 -0
  120. package/fesm2022/ui5-webcomponents-ngx-fiori-user-settings-dialog.mjs +53 -0
  121. package/fesm2022/ui5-webcomponents-ngx-fiori-user-settings-dialog.mjs.map +1 -0
  122. package/fesm2022/ui5-webcomponents-ngx-fiori-user-settings-item.mjs +71 -0
  123. package/fesm2022/ui5-webcomponents-ngx-fiori-user-settings-item.mjs.map +1 -0
  124. package/fesm2022/ui5-webcomponents-ngx-fiori-user-settings-view.mjs +46 -0
  125. package/fesm2022/ui5-webcomponents-ngx-fiori-user-settings-view.mjs.map +1 -0
  126. package/fesm2022/ui5-webcomponents-ngx-fiori-view-settings-dialog.mjs +57 -0
  127. package/fesm2022/ui5-webcomponents-ngx-fiori-view-settings-dialog.mjs.map +1 -0
  128. package/fesm2022/ui5-webcomponents-ngx-fiori-wizard-step.mjs +63 -0
  129. package/fesm2022/ui5-webcomponents-ngx-fiori-wizard-step.mjs.map +1 -0
  130. package/fesm2022/ui5-webcomponents-ngx-fiori-wizard.mjs +42 -0
  131. package/fesm2022/ui5-webcomponents-ngx-fiori-wizard.mjs.map +1 -0
  132. package/fesm2022/ui5-webcomponents-ngx-fiori.mjs +230 -0
  133. package/fesm2022/ui5-webcomponents-ngx-fiori.mjs.map +1 -0
  134. package/fesm2022/ui5-webcomponents-ngx-generic-cva.mjs +52 -0
  135. package/fesm2022/ui5-webcomponents-ngx-generic-cva.mjs.map +1 -0
  136. package/fesm2022/ui5-webcomponents-ngx-i18n.mjs +216 -0
  137. package/fesm2022/ui5-webcomponents-ngx-i18n.mjs.map +1 -0
  138. package/fesm2022/ui5-webcomponents-ngx-icons.mjs +68 -0
  139. package/fesm2022/ui5-webcomponents-ngx-icons.mjs.map +1 -0
  140. package/fesm2022/ui5-webcomponents-ngx-main-avatar-group.mjs +52 -0
  141. package/fesm2022/ui5-webcomponents-ngx-main-avatar-group.mjs.map +1 -0
  142. package/fesm2022/ui5-webcomponents-ngx-main-avatar.mjs +70 -0
  143. package/fesm2022/ui5-webcomponents-ngx-main-avatar.mjs.map +1 -0
  144. package/fesm2022/ui5-webcomponents-ngx-main-bar.mjs +45 -0
  145. package/fesm2022/ui5-webcomponents-ngx-main-bar.mjs.map +1 -0
  146. package/fesm2022/ui5-webcomponents-ngx-main-breadcrumbs-item.mjs +40 -0
  147. package/fesm2022/ui5-webcomponents-ngx-main-breadcrumbs-item.mjs.map +1 -0
  148. package/fesm2022/ui5-webcomponents-ngx-main-breadcrumbs.mjs +42 -0
  149. package/fesm2022/ui5-webcomponents-ngx-main-breadcrumbs.mjs.map +1 -0
  150. package/fesm2022/ui5-webcomponents-ngx-main-busy-indicator.mjs +43 -0
  151. package/fesm2022/ui5-webcomponents-ngx-main-busy-indicator.mjs.map +1 -0
  152. package/fesm2022/ui5-webcomponents-ngx-main-button-badge.mjs +40 -0
  153. package/fesm2022/ui5-webcomponents-ngx-main-button-badge.mjs.map +1 -0
  154. package/fesm2022/ui5-webcomponents-ngx-main-button.mjs +81 -0
  155. package/fesm2022/ui5-webcomponents-ngx-main-button.mjs.map +1 -0
  156. package/fesm2022/ui5-webcomponents-ngx-main-calendar-date-range.mjs +40 -0
  157. package/fesm2022/ui5-webcomponents-ngx-main-calendar-date-range.mjs.map +1 -0
  158. package/fesm2022/ui5-webcomponents-ngx-main-calendar-date.mjs +40 -0
  159. package/fesm2022/ui5-webcomponents-ngx-main-calendar-date.mjs.map +1 -0
  160. package/fesm2022/ui5-webcomponents-ngx-main-calendar-legend-item.mjs +40 -0
  161. package/fesm2022/ui5-webcomponents-ngx-main-calendar-legend-item.mjs.map +1 -0
  162. package/fesm2022/ui5-webcomponents-ngx-main-calendar-legend.mjs +62 -0
  163. package/fesm2022/ui5-webcomponents-ngx-main-calendar-legend.mjs.map +1 -0
  164. package/fesm2022/ui5-webcomponents-ngx-main-calendar.mjs +67 -0
  165. package/fesm2022/ui5-webcomponents-ngx-main-calendar.mjs.map +1 -0
  166. package/fesm2022/ui5-webcomponents-ngx-main-card-header.mjs +45 -0
  167. package/fesm2022/ui5-webcomponents-ngx-main-card-header.mjs.map +1 -0
  168. package/fesm2022/ui5-webcomponents-ngx-main-card.mjs +43 -0
  169. package/fesm2022/ui5-webcomponents-ngx-main-card.mjs.map +1 -0
  170. package/fesm2022/ui5-webcomponents-ngx-main-carousel.mjs +75 -0
  171. package/fesm2022/ui5-webcomponents-ngx-main-carousel.mjs.map +1 -0
  172. package/fesm2022/ui5-webcomponents-ngx-main-check-box.mjs +101 -0
  173. package/fesm2022/ui5-webcomponents-ngx-main-check-box.mjs.map +1 -0
  174. package/fesm2022/ui5-webcomponents-ngx-main-color-palette-item.mjs +43 -0
  175. package/fesm2022/ui5-webcomponents-ngx-main-color-palette-item.mjs.map +1 -0
  176. package/fesm2022/ui5-webcomponents-ngx-main-color-palette-popover.mjs +68 -0
  177. package/fesm2022/ui5-webcomponents-ngx-main-color-palette-popover.mjs.map +1 -0
  178. package/fesm2022/ui5-webcomponents-ngx-main-color-palette.mjs +40 -0
  179. package/fesm2022/ui5-webcomponents-ngx-main-color-palette.mjs.map +1 -0
  180. package/fesm2022/ui5-webcomponents-ngx-main-color-picker.mjs +45 -0
  181. package/fesm2022/ui5-webcomponents-ngx-main-color-picker.mjs.map +1 -0
  182. package/fesm2022/ui5-webcomponents-ngx-main-combo-box-item-group.mjs +42 -0
  183. package/fesm2022/ui5-webcomponents-ngx-main-combo-box-item-group.mjs.map +1 -0
  184. package/fesm2022/ui5-webcomponents-ngx-main-combo-box-item.mjs +40 -0
  185. package/fesm2022/ui5-webcomponents-ngx-main-combo-box-item.mjs.map +1 -0
  186. package/fesm2022/ui5-webcomponents-ngx-main-combo-box.mjs +121 -0
  187. package/fesm2022/ui5-webcomponents-ngx-main-combo-box.mjs.map +1 -0
  188. package/fesm2022/ui5-webcomponents-ngx-main-date-picker.mjs +129 -0
  189. package/fesm2022/ui5-webcomponents-ngx-main-date-picker.mjs.map +1 -0
  190. package/fesm2022/ui5-webcomponents-ngx-main-date-range-picker.mjs +131 -0
  191. package/fesm2022/ui5-webcomponents-ngx-main-date-range-picker.mjs.map +1 -0
  192. package/fesm2022/ui5-webcomponents-ngx-main-date-time-picker.mjs +129 -0
  193. package/fesm2022/ui5-webcomponents-ngx-main-date-time-picker.mjs.map +1 -0
  194. package/fesm2022/ui5-webcomponents-ngx-main-dialog.mjs +95 -0
  195. package/fesm2022/ui5-webcomponents-ngx-main-dialog.mjs.map +1 -0
  196. package/fesm2022/ui5-webcomponents-ngx-main-dynamic-date-range.mjs +42 -0
  197. package/fesm2022/ui5-webcomponents-ngx-main-dynamic-date-range.mjs.map +1 -0
  198. package/fesm2022/ui5-webcomponents-ngx-main-expandable-text.mjs +40 -0
  199. package/fesm2022/ui5-webcomponents-ngx-main-expandable-text.mjs.map +1 -0
  200. package/fesm2022/ui5-webcomponents-ngx-main-file-uploader.mjs +97 -0
  201. package/fesm2022/ui5-webcomponents-ngx-main-file-uploader.mjs.map +1 -0
  202. package/fesm2022/ui5-webcomponents-ngx-main-form-group.mjs +52 -0
  203. package/fesm2022/ui5-webcomponents-ngx-main-form-group.mjs.map +1 -0
  204. package/fesm2022/ui5-webcomponents-ngx-main-form-item.mjs +40 -0
  205. package/fesm2022/ui5-webcomponents-ngx-main-form-item.mjs.map +1 -0
  206. package/fesm2022/ui5-webcomponents-ngx-main-form.mjs +60 -0
  207. package/fesm2022/ui5-webcomponents-ngx-main-form.mjs.map +1 -0
  208. package/fesm2022/ui5-webcomponents-ngx-main-icon.mjs +45 -0
  209. package/fesm2022/ui5-webcomponents-ngx-main-icon.mjs.map +1 -0
  210. package/fesm2022/ui5-webcomponents-ngx-main-input.mjs +129 -0
  211. package/fesm2022/ui5-webcomponents-ngx-main-input.mjs.map +1 -0
  212. package/fesm2022/ui5-webcomponents-ngx-main-label.mjs +46 -0
  213. package/fesm2022/ui5-webcomponents-ngx-main-label.mjs.map +1 -0
  214. package/fesm2022/ui5-webcomponents-ngx-main-link.mjs +75 -0
  215. package/fesm2022/ui5-webcomponents-ngx-main-link.mjs.map +1 -0
  216. package/fesm2022/ui5-webcomponents-ngx-main-list-item-custom.mjs +69 -0
  217. package/fesm2022/ui5-webcomponents-ngx-main-list-item-custom.mjs.map +1 -0
  218. package/fesm2022/ui5-webcomponents-ngx-main-list-item-group.mjs +42 -0
  219. package/fesm2022/ui5-webcomponents-ngx-main-list-item-group.mjs.map +1 -0
  220. package/fesm2022/ui5-webcomponents-ngx-main-list-item-standard.mjs +86 -0
  221. package/fesm2022/ui5-webcomponents-ngx-main-list-item-standard.mjs.map +1 -0
  222. package/fesm2022/ui5-webcomponents-ngx-main-list.mjs +100 -0
  223. package/fesm2022/ui5-webcomponents-ngx-main-list.mjs.map +1 -0
  224. package/fesm2022/ui5-webcomponents-ngx-main-menu-item-group.mjs +40 -0
  225. package/fesm2022/ui5-webcomponents-ngx-main-menu-item-group.mjs.map +1 -0
  226. package/fesm2022/ui5-webcomponents-ngx-main-menu-item.mjs +101 -0
  227. package/fesm2022/ui5-webcomponents-ngx-main-menu-item.mjs.map +1 -0
  228. package/fesm2022/ui5-webcomponents-ngx-main-menu-separator.mjs +33 -0
  229. package/fesm2022/ui5-webcomponents-ngx-main-menu-separator.mjs.map +1 -0
  230. package/fesm2022/ui5-webcomponents-ngx-main-menu.mjs +76 -0
  231. package/fesm2022/ui5-webcomponents-ngx-main-menu.mjs.map +1 -0
  232. package/fesm2022/ui5-webcomponents-ngx-main-message-strip.mjs +48 -0
  233. package/fesm2022/ui5-webcomponents-ngx-main-message-strip.mjs.map +1 -0
  234. package/fesm2022/ui5-webcomponents-ngx-main-multi-combo-box-item-group.mjs +42 -0
  235. package/fesm2022/ui5-webcomponents-ngx-main-multi-combo-box-item-group.mjs.map +1 -0
  236. package/fesm2022/ui5-webcomponents-ngx-main-multi-combo-box-item.mjs +43 -0
  237. package/fesm2022/ui5-webcomponents-ngx-main-multi-combo-box-item.mjs.map +1 -0
  238. package/fesm2022/ui5-webcomponents-ngx-main-multi-combo-box.mjs +126 -0
  239. package/fesm2022/ui5-webcomponents-ngx-main-multi-combo-box.mjs.map +1 -0
  240. package/fesm2022/ui5-webcomponents-ngx-main-multi-input.mjs +138 -0
  241. package/fesm2022/ui5-webcomponents-ngx-main-multi-input.mjs.map +1 -0
  242. package/fesm2022/ui5-webcomponents-ngx-main-option-custom.mjs +43 -0
  243. package/fesm2022/ui5-webcomponents-ngx-main-option-custom.mjs.map +1 -0
  244. package/fesm2022/ui5-webcomponents-ngx-main-option.mjs +43 -0
  245. package/fesm2022/ui5-webcomponents-ngx-main-option.mjs.map +1 -0
  246. package/fesm2022/ui5-webcomponents-ngx-main-panel.mjs +72 -0
  247. package/fesm2022/ui5-webcomponents-ngx-main-panel.mjs.map +1 -0
  248. package/fesm2022/ui5-webcomponents-ngx-main-popover.mjs +101 -0
  249. package/fesm2022/ui5-webcomponents-ngx-main-popover.mjs.map +1 -0
  250. package/fesm2022/ui5-webcomponents-ngx-main-progress-indicator.mjs +55 -0
  251. package/fesm2022/ui5-webcomponents-ngx-main-progress-indicator.mjs.map +1 -0
  252. package/fesm2022/ui5-webcomponents-ngx-main-radio-button.mjs +90 -0
  253. package/fesm2022/ui5-webcomponents-ngx-main-radio-button.mjs.map +1 -0
  254. package/fesm2022/ui5-webcomponents-ngx-main-range-slider.mjs +96 -0
  255. package/fesm2022/ui5-webcomponents-ngx-main-range-slider.mjs.map +1 -0
  256. package/fesm2022/ui5-webcomponents-ngx-main-rating-indicator.mjs +71 -0
  257. package/fesm2022/ui5-webcomponents-ngx-main-rating-indicator.mjs.map +1 -0
  258. package/fesm2022/ui5-webcomponents-ngx-main-responsive-popover.mjs +101 -0
  259. package/fesm2022/ui5-webcomponents-ngx-main-responsive-popover.mjs.map +1 -0
  260. package/fesm2022/ui5-webcomponents-ngx-main-segmented-button-item.mjs +64 -0
  261. package/fesm2022/ui5-webcomponents-ngx-main-segmented-button-item.mjs.map +1 -0
  262. package/fesm2022/ui5-webcomponents-ngx-main-segmented-button.mjs +59 -0
  263. package/fesm2022/ui5-webcomponents-ngx-main-segmented-button.mjs.map +1 -0
  264. package/fesm2022/ui5-webcomponents-ngx-main-select.mjs +95 -0
  265. package/fesm2022/ui5-webcomponents-ngx-main-select.mjs.map +1 -0
  266. package/fesm2022/ui5-webcomponents-ngx-main-slider.mjs +94 -0
  267. package/fesm2022/ui5-webcomponents-ngx-main-slider.mjs.map +1 -0
  268. package/fesm2022/ui5-webcomponents-ngx-main-special-calendar-date.mjs +40 -0
  269. package/fesm2022/ui5-webcomponents-ngx-main-special-calendar-date.mjs.map +1 -0
  270. package/fesm2022/ui5-webcomponents-ngx-main-split-button.mjs +62 -0
  271. package/fesm2022/ui5-webcomponents-ngx-main-split-button.mjs.map +1 -0
  272. package/fesm2022/ui5-webcomponents-ngx-main-step-input.mjs +83 -0
  273. package/fesm2022/ui5-webcomponents-ngx-main-step-input.mjs.map +1 -0
  274. package/fesm2022/ui5-webcomponents-ngx-main-suggestion-item-custom.mjs +40 -0
  275. package/fesm2022/ui5-webcomponents-ngx-main-suggestion-item-custom.mjs.map +1 -0
  276. package/fesm2022/ui5-webcomponents-ngx-main-suggestion-item-group.mjs +42 -0
  277. package/fesm2022/ui5-webcomponents-ngx-main-suggestion-item-group.mjs.map +1 -0
  278. package/fesm2022/ui5-webcomponents-ngx-main-suggestion-item.mjs +40 -0
  279. package/fesm2022/ui5-webcomponents-ngx-main-suggestion-item.mjs.map +1 -0
  280. package/fesm2022/ui5-webcomponents-ngx-main-switch.mjs +88 -0
  281. package/fesm2022/ui5-webcomponents-ngx-main-switch.mjs.map +1 -0
  282. package/fesm2022/ui5-webcomponents-ngx-main-tab-container.mjs +66 -0
  283. package/fesm2022/ui5-webcomponents-ngx-main-tab-container.mjs.map +1 -0
  284. package/fesm2022/ui5-webcomponents-ngx-main-tab-separator.mjs +33 -0
  285. package/fesm2022/ui5-webcomponents-ngx-main-tab-separator.mjs.map +1 -0
  286. package/fesm2022/ui5-webcomponents-ngx-main-tab.mjs +65 -0
  287. package/fesm2022/ui5-webcomponents-ngx-main-tab.mjs.map +1 -0
  288. package/fesm2022/ui5-webcomponents-ngx-main-table-cell.mjs +40 -0
  289. package/fesm2022/ui5-webcomponents-ngx-main-table-cell.mjs.map +1 -0
  290. package/fesm2022/ui5-webcomponents-ngx-main-table-growing.mjs +42 -0
  291. package/fesm2022/ui5-webcomponents-ngx-main-table-growing.mjs.map +1 -0
  292. package/fesm2022/ui5-webcomponents-ngx-main-table-header-cell-action-ai.mjs +40 -0
  293. package/fesm2022/ui5-webcomponents-ngx-main-table-header-cell-action-ai.mjs.map +1 -0
  294. package/fesm2022/ui5-webcomponents-ngx-main-table-header-cell.mjs +59 -0
  295. package/fesm2022/ui5-webcomponents-ngx-main-table-header-cell.mjs.map +1 -0
  296. package/fesm2022/ui5-webcomponents-ngx-main-table-header-row.mjs +43 -0
  297. package/fesm2022/ui5-webcomponents-ngx-main-table-header-row.mjs.map +1 -0
  298. package/fesm2022/ui5-webcomponents-ngx-main-table-row-action-navigation.mjs +48 -0
  299. package/fesm2022/ui5-webcomponents-ngx-main-table-row-action-navigation.mjs.map +1 -0
  300. package/fesm2022/ui5-webcomponents-ngx-main-table-row-action.mjs +45 -0
  301. package/fesm2022/ui5-webcomponents-ngx-main-table-row-action.mjs.map +1 -0
  302. package/fesm2022/ui5-webcomponents-ngx-main-table-row.mjs +49 -0
  303. package/fesm2022/ui5-webcomponents-ngx-main-table-row.mjs.map +1 -0
  304. package/fesm2022/ui5-webcomponents-ngx-main-table-selection-multi.mjs +42 -0
  305. package/fesm2022/ui5-webcomponents-ngx-main-table-selection-multi.mjs.map +1 -0
  306. package/fesm2022/ui5-webcomponents-ngx-main-table-selection-single.mjs +42 -0
  307. package/fesm2022/ui5-webcomponents-ngx-main-table-selection-single.mjs.map +1 -0
  308. package/fesm2022/ui5-webcomponents-ngx-main-table-selection.mjs +42 -0
  309. package/fesm2022/ui5-webcomponents-ngx-main-table-selection.mjs.map +1 -0
  310. package/fesm2022/ui5-webcomponents-ngx-main-table-virtualizer.mjs +42 -0
  311. package/fesm2022/ui5-webcomponents-ngx-main-table-virtualizer.mjs.map +1 -0
  312. package/fesm2022/ui5-webcomponents-ngx-main-table.mjs +71 -0
  313. package/fesm2022/ui5-webcomponents-ngx-main-table.mjs.map +1 -0
  314. package/fesm2022/ui5-webcomponents-ngx-main-tag.mjs +62 -0
  315. package/fesm2022/ui5-webcomponents-ngx-main-tag.mjs.map +1 -0
  316. package/fesm2022/ui5-webcomponents-ngx-main-text-area.mjs +112 -0
  317. package/fesm2022/ui5-webcomponents-ngx-main-text-area.mjs.map +1 -0
  318. package/fesm2022/ui5-webcomponents-ngx-main-text.mjs +40 -0
  319. package/fesm2022/ui5-webcomponents-ngx-main-text.mjs.map +1 -0
  320. package/fesm2022/ui5-webcomponents-ngx-main-theming.mjs +23 -0
  321. package/fesm2022/ui5-webcomponents-ngx-main-theming.mjs.map +1 -0
  322. package/fesm2022/ui5-webcomponents-ngx-main-time-picker.mjs +103 -0
  323. package/fesm2022/ui5-webcomponents-ngx-main-time-picker.mjs.map +1 -0
  324. package/fesm2022/ui5-webcomponents-ngx-main-title.mjs +40 -0
  325. package/fesm2022/ui5-webcomponents-ngx-main-title.mjs.map +1 -0
  326. package/fesm2022/ui5-webcomponents-ngx-main-toast.mjs +45 -0
  327. package/fesm2022/ui5-webcomponents-ngx-main-toast.mjs.map +1 -0
  328. package/fesm2022/ui5-webcomponents-ngx-main-toggle-button.mjs +86 -0
  329. package/fesm2022/ui5-webcomponents-ngx-main-toggle-button.mjs.map +1 -0
  330. package/fesm2022/ui5-webcomponents-ngx-main-token.mjs +43 -0
  331. package/fesm2022/ui5-webcomponents-ngx-main-token.mjs.map +1 -0
  332. package/fesm2022/ui5-webcomponents-ngx-main-tokenizer.mjs +73 -0
  333. package/fesm2022/ui5-webcomponents-ngx-main-tokenizer.mjs.map +1 -0
  334. package/fesm2022/ui5-webcomponents-ngx-main-toolbar-button.mjs +79 -0
  335. package/fesm2022/ui5-webcomponents-ngx-main-toolbar-button.mjs.map +1 -0
  336. package/fesm2022/ui5-webcomponents-ngx-main-toolbar-select-option.mjs +43 -0
  337. package/fesm2022/ui5-webcomponents-ngx-main-toolbar-select-option.mjs.map +1 -0
  338. package/fesm2022/ui5-webcomponents-ngx-main-toolbar-select.mjs +66 -0
  339. package/fesm2022/ui5-webcomponents-ngx-main-toolbar-select.mjs.map +1 -0
  340. package/fesm2022/ui5-webcomponents-ngx-main-toolbar-separator.mjs +43 -0
  341. package/fesm2022/ui5-webcomponents-ngx-main-toolbar-separator.mjs.map +1 -0
  342. package/fesm2022/ui5-webcomponents-ngx-main-toolbar-spacer.mjs +43 -0
  343. package/fesm2022/ui5-webcomponents-ngx-main-toolbar-spacer.mjs.map +1 -0
  344. package/fesm2022/ui5-webcomponents-ngx-main-toolbar.mjs +40 -0
  345. package/fesm2022/ui5-webcomponents-ngx-main-toolbar.mjs.map +1 -0
  346. package/fesm2022/ui5-webcomponents-ngx-main-tree-item-custom.mjs +93 -0
  347. package/fesm2022/ui5-webcomponents-ngx-main-tree-item-custom.mjs.map +1 -0
  348. package/fesm2022/ui5-webcomponents-ngx-main-tree-item.mjs +92 -0
  349. package/fesm2022/ui5-webcomponents-ngx-main-tree-item.mjs.map +1 -0
  350. package/fesm2022/ui5-webcomponents-ngx-main-tree.mjs +78 -0
  351. package/fesm2022/ui5-webcomponents-ngx-main-tree.mjs.map +1 -0
  352. package/fesm2022/ui5-webcomponents-ngx-main.mjs +446 -0
  353. package/fesm2022/ui5-webcomponents-ngx-main.mjs.map +1 -0
  354. package/fesm2022/ui5-webcomponents-ngx-theming.mjs +90 -0
  355. package/fesm2022/ui5-webcomponents-ngx-theming.mjs.map +1 -0
  356. package/fesm2022/ui5-webcomponents-ngx-utils.mjs +37 -0
  357. package/fesm2022/ui5-webcomponents-ngx-utils.mjs.map +1 -0
  358. package/fesm2022/ui5-webcomponents-ngx.mjs +199 -0
  359. package/fesm2022/ui5-webcomponents-ngx.mjs.map +1 -0
  360. package/fiori/barcode-scanner-dialog/index.d.ts +32 -0
  361. package/fiori/dynamic-page/index.d.ts +43 -0
  362. package/fiori/dynamic-page-header/index.d.ts +14 -0
  363. package/fiori/dynamic-page-title/index.d.ts +14 -0
  364. package/fiori/dynamic-side-content/index.d.ts +59 -0
  365. package/fiori/filter-item/index.d.ts +23 -0
  366. package/fiori/filter-item-option/index.d.ts +23 -0
  367. package/fiori/flexible-column-layout/index.d.ts +74 -0
  368. package/fiori/group-item/index.d.ts +23 -0
  369. package/fiori/illustrated-message/index.d.ts +70 -0
  370. package/fiori/index.d.ts +62 -0
  371. package/fiori/media-gallery/index.d.ts +59 -0
  372. package/fiori/media-gallery-item/index.d.ts +28 -0
  373. package/fiori/navigation-layout/index.d.ts +18 -0
  374. package/fiori/notification-list/index.d.ts +31 -0
  375. package/fiori/notification-list-group-item/index.d.ts +54 -0
  376. package/fiori/notification-list-item/index.d.ts +61 -0
  377. package/fiori/page/index.d.ts +38 -0
  378. package/fiori/product-switch/index.d.ts +14 -0
  379. package/fiori/product-switch-item/index.d.ts +56 -0
  380. package/fiori/search/index.d.ts +75 -0
  381. package/fiori/search-item/index.d.ts +46 -0
  382. package/fiori/search-item-group/index.d.ts +50 -0
  383. package/fiori/search-item-show-more/index.d.ts +31 -0
  384. package/fiori/search-message-area/index.d.ts +22 -0
  385. package/fiori/search-scope/index.d.ts +23 -0
  386. package/fiori/shell-bar/index.d.ts +140 -0
  387. package/fiori/shell-bar-branding/index.d.ts +44 -0
  388. package/fiori/shell-bar-item/index.d.ts +50 -0
  389. package/fiori/shell-bar-search/index.d.ts +80 -0
  390. package/fiori/shell-bar-spacer/index.d.ts +14 -0
  391. package/fiori/side-navigation/index.d.ts +34 -0
  392. package/fiori/side-navigation-group/index.d.ts +37 -0
  393. package/fiori/side-navigation-item/index.d.ts +110 -0
  394. package/fiori/side-navigation-sub-item/index.d.ts +105 -0
  395. package/fiori/sort-item/index.d.ts +23 -0
  396. package/fiori/theming/index.d.ts +11 -0
  397. package/fiori/timeline/index.d.ts +51 -0
  398. package/fiori/timeline-group-item/index.d.ts +28 -0
  399. package/fiori/timeline-item/index.d.ts +51 -0
  400. package/fiori/upload-collection/index.d.ts +55 -0
  401. package/fiori/upload-collection-item/index.d.ts +134 -0
  402. package/fiori/user-menu/index.d.ts +78 -0
  403. package/fiori/user-menu-account/index.d.ts +48 -0
  404. package/fiori/user-menu-item/index.d.ts +134 -0
  405. package/fiori/user-menu-item-group/index.d.ts +18 -0
  406. package/fiori/user-settings-account-view/index.d.ts +43 -0
  407. package/fiori/user-settings-dialog/index.d.ts +47 -0
  408. package/fiori/user-settings-item/index.d.ts +62 -0
  409. package/fiori/user-settings-view/index.d.ts +29 -0
  410. package/fiori/view-settings-dialog/index.d.ts +50 -0
  411. package/fiori/wizard/index.d.ts +24 -0
  412. package/fiori/wizard-step/index.d.ts +61 -0
  413. package/generic-cva/index.d.ts +20 -0
  414. package/i18n/index.d.ts +62 -0
  415. package/icons/index.d.ts +21 -0
  416. package/index.d.ts +184 -0
  417. package/main/avatar/index.d.ts +103 -0
  418. package/main/avatar-group/index.d.ts +47 -0
  419. package/main/bar/index.d.ts +36 -0
  420. package/main/breadcrumbs/index.d.ts +33 -0
  421. package/main/breadcrumbs-item/index.d.ts +38 -0
  422. package/main/busy-indicator/index.d.ts +35 -0
  423. package/main/button/index.d.ts +120 -0
  424. package/main/button-badge/index.d.ts +29 -0
  425. package/main/calendar/index.d.ts +78 -0
  426. package/main/calendar-date/index.d.ts +19 -0
  427. package/main/calendar-date-range/index.d.ts +24 -0
  428. package/main/calendar-legend/index.d.ts +34 -0
  429. package/main/calendar-legend-item/index.d.ts +22 -0
  430. package/main/card/index.d.ts +33 -0
  431. package/main/card-header/index.d.ts +39 -0
  432. package/main/carousel/index.d.ts +86 -0
  433. package/main/check-box/index.d.ts +118 -0
  434. package/main/color-palette/index.d.ts +19 -0
  435. package/main/color-palette-item/index.d.ts +28 -0
  436. package/main/color-palette-popover/index.d.ts +55 -0
  437. package/main/color-picker/index.d.ts +36 -0
  438. package/main/combo-box/index.d.ts +113 -0
  439. package/main/combo-box-item/index.d.ts +22 -0
  440. package/main/combo-box-item-group/index.d.ts +50 -0
  441. package/main/date-picker/index.d.ts +147 -0
  442. package/main/date-range-picker/index.d.ts +153 -0
  443. package/main/date-time-picker/index.d.ts +148 -0
  444. package/main/dialog/index.d.ts +119 -0
  445. package/main/dynamic-date-range/index.d.ts +28 -0
  446. package/main/expandable-text/index.d.ts +30 -0
  447. package/main/file-uploader/index.d.ts +98 -0
  448. package/main/form/index.d.ts +84 -0
  449. package/main/form-group/index.d.ts +36 -0
  450. package/main/form-item/index.d.ts +23 -0
  451. package/main/icon/index.d.ts +68 -0
  452. package/main/index.d.ts +116 -0
  453. package/main/input/index.d.ts +142 -0
  454. package/main/label/index.d.ts +42 -0
  455. package/main/link/index.d.ts +124 -0
  456. package/main/list/index.d.ts +157 -0
  457. package/main/list-item-custom/index.d.ts +70 -0
  458. package/main/list-item-group/index.d.ts +49 -0
  459. package/main/list-item-standard/index.d.ts +114 -0
  460. package/main/menu/index.d.ts +71 -0
  461. package/main/menu-item/index.d.ts +133 -0
  462. package/main/menu-item-group/index.d.ts +18 -0
  463. package/main/menu-separator/index.d.ts +14 -0
  464. package/main/message-strip/index.d.ts +43 -0
  465. package/main/multi-combo-box/index.d.ts +120 -0
  466. package/main/multi-combo-box-item/index.d.ts +27 -0
  467. package/main/multi-combo-box-item-group/index.d.ts +50 -0
  468. package/main/multi-input/index.d.ts +160 -0
  469. package/main/option/index.d.ts +40 -0
  470. package/main/option-custom/index.d.ts +33 -0
  471. package/main/panel/index.d.ts +65 -0
  472. package/main/popover/index.d.ts +117 -0
  473. package/main/progress-indicator/index.d.ts +43 -0
  474. package/main/radio-button/index.d.ts +96 -0
  475. package/main/range-slider/index.d.ts +94 -0
  476. package/main/rating-indicator/index.d.ts +69 -0
  477. package/main/responsive-popover/index.d.ts +117 -0
  478. package/main/segmented-button/index.d.ts +47 -0
  479. package/main/segmented-button-item/index.d.ts +56 -0
  480. package/main/select/index.d.ts +104 -0
  481. package/main/slider/index.d.ts +90 -0
  482. package/main/special-calendar-date/index.d.ts +23 -0
  483. package/main/split-button/index.d.ts +72 -0
  484. package/main/step-input/index.d.ts +90 -0
  485. package/main/suggestion-item/index.d.ts +22 -0
  486. package/main/suggestion-item-custom/index.d.ts +19 -0
  487. package/main/suggestion-item-group/index.d.ts +50 -0
  488. package/main/switch/index.d.ts +93 -0
  489. package/main/tab/index.d.ts +57 -0
  490. package/main/tab-container/index.d.ts +69 -0
  491. package/main/tab-separator/index.d.ts +14 -0
  492. package/main/table/index.d.ts +89 -0
  493. package/main/table-cell/index.d.ts +18 -0
  494. package/main/table-growing/index.d.ts +43 -0
  495. package/main/table-header-cell/index.d.ts +65 -0
  496. package/main/table-header-cell-action-ai/index.d.ts +20 -0
  497. package/main/table-header-row/index.d.ts +21 -0
  498. package/main/table-row/index.d.ts +39 -0
  499. package/main/table-row-action/index.d.ts +41 -0
  500. package/main/table-row-action-navigation/index.d.ts +31 -0
  501. package/main/table-selection/index.d.ts +27 -0
  502. package/main/table-selection-multi/index.d.ts +31 -0
  503. package/main/table-selection-single/index.d.ts +27 -0
  504. package/main/table-virtualizer/index.d.ts +37 -0
  505. package/main/tag/index.d.ts +52 -0
  506. package/main/text/index.d.ts +22 -0
  507. package/main/text-area/index.d.ts +129 -0
  508. package/main/theming/index.d.ts +11 -0
  509. package/main/time-picker/index.d.ts +104 -0
  510. package/main/title/index.d.ts +32 -0
  511. package/main/toast/index.d.ts +36 -0
  512. package/main/toggle-button/index.d.ts +126 -0
  513. package/main/token/index.d.ts +23 -0
  514. package/main/tokenizer/index.d.ts +68 -0
  515. package/main/toolbar/index.d.ts +30 -0
  516. package/main/toolbar-button/index.d.ts +113 -0
  517. package/main/toolbar-select/index.d.ts +67 -0
  518. package/main/toolbar-select-option/index.d.ts +19 -0
  519. package/main/toolbar-separator/index.d.ts +25 -0
  520. package/main/toolbar-spacer/index.d.ts +31 -0
  521. package/main/tree/index.d.ts +94 -0
  522. package/main/tree-item/index.d.ts +115 -0
  523. package/main/tree-item-custom/index.d.ts +112 -0
  524. package/package.json +712 -4
  525. package/schematics/add-dependencies/index.d.ts +3 -0
  526. package/schematics/add-dependencies/index.js +40 -0
  527. package/schematics/add-i18n/index.d.ts +8 -0
  528. package/schematics/add-i18n/index.js +174 -0
  529. package/schematics/add-styles/index.d.ts +3 -0
  530. package/schematics/add-styles/index.js +34 -0
  531. package/schematics/add-theming/add-theming-module.d.ts +8 -0
  532. package/schematics/add-theming/add-theming-module.js +79 -0
  533. package/schematics/add-theming/index.d.ts +3 -0
  534. package/schematics/add-theming/index.js +29 -0
  535. package/schematics/config.d.ts +8 -0
  536. package/schematics/config.js +79 -0
  537. package/schematics/get-config.d.ts +2 -0
  538. package/schematics/get-config.js +46 -0
  539. package/schematics/get-i18n-config.d.ts +4 -0
  540. package/schematics/get-i18n-config.js +31 -0
  541. package/schematics/ng-add/index.d.ts +4 -0
  542. package/schematics/ng-add/index.js +36 -0
  543. package/schematics/ng-add/schema.d.ts +5 -0
  544. package/schematics/ng-add/schema.js +2 -0
  545. package/schematics/ng-update/0.2.0-rc.0/index.d.ts +2 -0
  546. package/schematics/ng-update/0.2.0-rc.0/index.js +40 -0
  547. package/schematics/schema.d.ts +6 -0
  548. package/schematics/schema.js +2 -0
  549. package/schematics/utils/find-import-local-name.d.ts +8 -0
  550. package/schematics/utils/find-import-local-name.js +67 -0
  551. package/schematics/utils/find-import-providers-from-call.d.ts +3 -0
  552. package/schematics/utils/find-import-providers-from-call.js +55 -0
  553. package/schematics/utils/find-ng-module-metadata.d.ts +7 -0
  554. package/schematics/utils/find-ng-module-metadata.js +29 -0
  555. package/schematics/utils/find-providers-literal.d.ts +3 -0
  556. package/schematics/utils/find-providers-literal.js +54 -0
  557. package/schematics/utils/get-project-definition.d.ts +2 -0
  558. package/schematics/utils/get-project-definition.js +11 -0
  559. package/schematics/utils/get-project-target.d.ts +2 -0
  560. package/schematics/utils/get-project-target.js +11 -0
  561. package/schematics/utils/getModuleDeclaration.d.ts +5 -0
  562. package/schematics/utils/getModuleDeclaration.js +60 -0
  563. package/schematics/utils/getSourceFile.d.ts +3 -0
  564. package/schematics/utils/getSourceFile.js +47 -0
  565. package/schematics/utils/has-module-import.d.ts +2 -0
  566. package/schematics/utils/has-module-import.js +61 -0
  567. package/schematics/utils/is-ng-module-expression.d.ts +3 -0
  568. package/schematics/utils/is-ng-module-expression.js +48 -0
  569. package/schematics/utils/package-config.d.ts +5 -0
  570. package/schematics/utils/package-config.js +43 -0
  571. package/schematics/utils/project-main-file.d.ts +13 -0
  572. package/schematics/utils/project-main-file.js +30 -0
  573. package/schematics/utils/promt.d.ts +1 -0
  574. package/schematics/utils/promt.js +53 -0
  575. package/schematics/utils/resolve-identifier-of-expression.d.ts +6 -0
  576. package/schematics/utils/resolve-identifier-of-expression.js +50 -0
  577. package/theming/index.d.ts +42 -0
  578. package/ui5-webcomponents-ngx-0.5.9.tgz +0 -0
  579. package/utils/index.d.ts +4 -0
  580. package/.eslintrc.json +0 -31
  581. package/CHANGELOG.md +0 -740
  582. package/__snapshots__/fiori-snapshot-test.spec.ts.snap +0 -4579
  583. package/__snapshots__/main-snapshot-test.spec.ts.snap +0 -11680
  584. package/ai/button/index.ts +0 -116
  585. package/ai/button/ng-package.json +0 -1
  586. package/ai/button-state/index.ts +0 -66
  587. package/ai/button-state/ng-package.json +0 -1
  588. package/ai/index.ts +0 -1
  589. package/ai/input/index.ts +0 -278
  590. package/ai/input/ng-package.json +0 -1
  591. package/ai/ng-package.json +0 -1
  592. package/ai/prompt-input/index.ts +0 -133
  593. package/ai/prompt-input/ng-package.json +0 -1
  594. package/ai/text-area/index.ts +0 -252
  595. package/ai/text-area/ng-package.json +0 -1
  596. package/ai/theming/index.ts +0 -15
  597. package/ai/theming/ng-package.json +0 -1
  598. package/ai/ui5-ai.module.ts +0 -28
  599. package/compodocrc.json +0 -12
  600. package/config/index.ts +0 -34
  601. package/config/ng-package.json +0 -1
  602. package/content-density/index.ts +0 -22
  603. package/content-density/ng-package.json +0 -5
  604. package/fiori/barcode-scanner-dialog/index.ts +0 -64
  605. package/fiori/barcode-scanner-dialog/ng-package.json +0 -1
  606. package/fiori/dynamic-page/index.ts +0 -70
  607. package/fiori/dynamic-page/ng-package.json +0 -1
  608. package/fiori/dynamic-page-header/index.ts +0 -30
  609. package/fiori/dynamic-page-header/ng-package.json +0 -1
  610. package/fiori/dynamic-page-title/index.ts +0 -30
  611. package/fiori/dynamic-page-title/ng-package.json +0 -1
  612. package/fiori/dynamic-side-content/index.ts +0 -108
  613. package/fiori/dynamic-side-content/ng-package.json +0 -1
  614. package/fiori/filter-item/index.ts +0 -42
  615. package/fiori/filter-item/ng-package.json +0 -1
  616. package/fiori/filter-item-option/index.ts +0 -44
  617. package/fiori/filter-item-option/ng-package.json +0 -1
  618. package/fiori/flexible-column-layout/index.ts +0 -128
  619. package/fiori/flexible-column-layout/ng-package.json +0 -1
  620. package/fiori/group-item/index.ts +0 -44
  621. package/fiori/group-item/ng-package.json +0 -1
  622. package/fiori/illustrated-message/index.ts +0 -115
  623. package/fiori/illustrated-message/ng-package.json +0 -1
  624. package/fiori/index.ts +0 -1
  625. package/fiori/media-gallery/index.ts +0 -102
  626. package/fiori/media-gallery/ng-package.json +0 -1
  627. package/fiori/media-gallery-item/index.ts +0 -49
  628. package/fiori/media-gallery-item/ng-package.json +0 -1
  629. package/fiori/navigation-layout/index.ts +0 -37
  630. package/fiori/navigation-layout/ng-package.json +0 -1
  631. package/fiori/ng-package.json +0 -1
  632. package/fiori/notification-list/index.ts +0 -62
  633. package/fiori/notification-list/ng-package.json +0 -1
  634. package/fiori/notification-list-group-item/index.ts +0 -93
  635. package/fiori/notification-list-group-item/ng-package.json +0 -1
  636. package/fiori/notification-list-item/index.ts +0 -106
  637. package/fiori/notification-list-item/ng-package.json +0 -1
  638. package/fiori/page/index.ts +0 -59
  639. package/fiori/page/ng-package.json +0 -1
  640. package/fiori/product-switch/index.ts +0 -30
  641. package/fiori/product-switch/ng-package.json +0 -1
  642. package/fiori/product-switch-item/index.ts +0 -78
  643. package/fiori/product-switch-item/ng-package.json +0 -1
  644. package/fiori/search/index.ts +0 -123
  645. package/fiori/search/ng-package.json +0 -1
  646. package/fiori/search-item/index.ts +0 -77
  647. package/fiori/search-item/ng-package.json +0 -1
  648. package/fiori/search-item-group/index.ts +0 -72
  649. package/fiori/search-item-group/ng-package.json +0 -1
  650. package/fiori/search-item-show-more/index.ts +0 -58
  651. package/fiori/search-item-show-more/ng-package.json +0 -1
  652. package/fiori/search-message-area/index.ts +0 -41
  653. package/fiori/search-message-area/ng-package.json +0 -1
  654. package/fiori/search-scope/index.ts +0 -44
  655. package/fiori/search-scope/ng-package.json +0 -1
  656. package/fiori/shell-bar/index.ts +0 -216
  657. package/fiori/shell-bar/ng-package.json +0 -1
  658. package/fiori/shell-bar-branding/index.ts +0 -66
  659. package/fiori/shell-bar-branding/ng-package.json +0 -1
  660. package/fiori/shell-bar-item/index.ts +0 -76
  661. package/fiori/shell-bar-item/ng-package.json +0 -1
  662. package/fiori/shell-bar-search/index.ts +0 -130
  663. package/fiori/shell-bar-search/ng-package.json +0 -1
  664. package/fiori/shell-bar-spacer/index.ts +0 -30
  665. package/fiori/shell-bar-spacer/ng-package.json +0 -1
  666. package/fiori/side-navigation/index.ts +0 -61
  667. package/fiori/side-navigation/ng-package.json +0 -1
  668. package/fiori/side-navigation-group/index.ts +0 -58
  669. package/fiori/side-navigation-group/ng-package.json +0 -1
  670. package/fiori/side-navigation-item/index.ts +0 -158
  671. package/fiori/side-navigation-item/ng-package.json +0 -1
  672. package/fiori/side-navigation-sub-item/index.ts +0 -151
  673. package/fiori/side-navigation-sub-item/ng-package.json +0 -1
  674. package/fiori/sort-item/index.ts +0 -44
  675. package/fiori/sort-item/ng-package.json +0 -1
  676. package/fiori/theming/index.ts +0 -17
  677. package/fiori/theming/ng-package.json +0 -1
  678. package/fiori/timeline/index.ts +0 -75
  679. package/fiori/timeline/ng-package.json +0 -1
  680. package/fiori/timeline-group-item/index.ts +0 -52
  681. package/fiori/timeline-group-item/ng-package.json +0 -1
  682. package/fiori/timeline-item/index.ts +0 -89
  683. package/fiori/timeline-item/ng-package.json +0 -1
  684. package/fiori/ui5-fiori.module.ts +0 -120
  685. package/fiori/upload-collection/index.ts +0 -106
  686. package/fiori/upload-collection/ng-package.json +0 -1
  687. package/fiori/upload-collection-item/index.ts +0 -202
  688. package/fiori/upload-collection-item/ng-package.json +0 -1
  689. package/fiori/user-menu/index.ts +0 -138
  690. package/fiori/user-menu/ng-package.json +0 -1
  691. package/fiori/user-menu-account/index.ts +0 -87
  692. package/fiori/user-menu-account/ng-package.json +0 -1
  693. package/fiori/user-menu-item/index.ts +0 -206
  694. package/fiori/user-menu-item/ng-package.json +0 -1
  695. package/fiori/user-menu-item-group/index.ts +0 -37
  696. package/fiori/user-menu-item-group/ng-package.json +0 -1
  697. package/fiori/user-settings-account-view/index.ts +0 -70
  698. package/fiori/user-settings-account-view/ng-package.json +0 -1
  699. package/fiori/user-settings-dialog/index.ts +0 -79
  700. package/fiori/user-settings-dialog/ng-package.json +0 -1
  701. package/fiori/user-settings-item/index.ts +0 -109
  702. package/fiori/user-settings-item/ng-package.json +0 -1
  703. package/fiori/user-settings-view/index.ts +0 -50
  704. package/fiori/user-settings-view/ng-package.json +0 -1
  705. package/fiori/view-settings-dialog/index.ts +0 -84
  706. package/fiori/view-settings-dialog/ng-package.json +0 -1
  707. package/fiori/wizard/index.ts +0 -49
  708. package/fiori/wizard/ng-package.json +0 -1
  709. package/fiori/wizard-step/index.ts +0 -96
  710. package/fiori/wizard-step/ng-package.json +0 -1
  711. package/fiori-snapshot-test.spec.ts +0 -17
  712. package/generic-cva/index.ts +0 -48
  713. package/generic-cva/ng-package.json +0 -1
  714. package/i18n/i18n.module.ts +0 -35
  715. package/i18n/i18n.pipe.ts +0 -47
  716. package/i18n/i18n.providers.ts +0 -40
  717. package/i18n/i18n.service.ts +0 -90
  718. package/i18n/i18n.tokens.ts +0 -6
  719. package/i18n/i18n.types.ts +0 -17
  720. package/i18n/i18n.utils.ts +0 -23
  721. package/i18n/index.ts +0 -4
  722. package/i18n/ng-package.json +0 -1
  723. package/icons/icons.module.ts +0 -38
  724. package/icons/icons.provider.ts +0 -13
  725. package/icons/icons.tokens.ts +0 -3
  726. package/icons/index.ts +0 -3
  727. package/icons/ng-package.json +0 -1
  728. package/index.ts +0 -173
  729. package/jest.config.js +0 -22
  730. package/main/avatar/index.ts +0 -165
  731. package/main/avatar/ng-package.json +0 -1
  732. package/main/avatar-group/index.ts +0 -83
  733. package/main/avatar-group/ng-package.json +0 -1
  734. package/main/bar/index.ts +0 -60
  735. package/main/bar/ng-package.json +0 -1
  736. package/main/breadcrumbs/index.ts +0 -64
  737. package/main/breadcrumbs/ng-package.json +0 -1
  738. package/main/breadcrumbs-item/index.ts +0 -57
  739. package/main/breadcrumbs-item/ng-package.json +0 -1
  740. package/main/busy-indicator/index.ts +0 -56
  741. package/main/busy-indicator/ng-package.json +0 -1
  742. package/main/button/index.ts +0 -184
  743. package/main/button/ng-package.json +0 -1
  744. package/main/button-badge/index.ts +0 -48
  745. package/main/button-badge/ng-package.json +0 -1
  746. package/main/calendar/index.ts +0 -143
  747. package/main/calendar/ng-package.json +0 -1
  748. package/main/calendar-date/index.ts +0 -38
  749. package/main/calendar-date/ng-package.json +0 -1
  750. package/main/calendar-date-range/index.ts +0 -43
  751. package/main/calendar-date-range/ng-package.json +0 -1
  752. package/main/calendar-legend/index.ts +0 -65
  753. package/main/calendar-legend/ng-package.json +0 -1
  754. package/main/calendar-legend-item/index.ts +0 -64
  755. package/main/calendar-legend-item/ng-package.json +0 -1
  756. package/main/card/index.ts +0 -54
  757. package/main/card/ng-package.json +0 -1
  758. package/main/card-header/index.ts +0 -63
  759. package/main/card-header/ng-package.json +0 -1
  760. package/main/carousel/index.ts +0 -137
  761. package/main/carousel/ng-package.json +0 -1
  762. package/main/check-box/index.ts +0 -178
  763. package/main/check-box/ng-package.json +0 -1
  764. package/main/color-palette/index.ts +0 -42
  765. package/main/color-palette/ng-package.json +0 -1
  766. package/main/color-palette-item/index.ts +0 -49
  767. package/main/color-palette-item/ng-package.json +0 -1
  768. package/main/color-palette-popover/index.ts +0 -96
  769. package/main/color-palette-popover/ng-package.json +0 -1
  770. package/main/color-picker/index.ts +0 -60
  771. package/main/color-picker/ng-package.json +0 -1
  772. package/main/combo-box/index.ts +0 -193
  773. package/main/combo-box/ng-package.json +0 -1
  774. package/main/combo-box-item/index.ts +0 -41
  775. package/main/combo-box-item/ng-package.json +0 -1
  776. package/main/combo-box-item-group/index.ts +0 -72
  777. package/main/combo-box-item-group/ng-package.json +0 -1
  778. package/main/date-picker/index.ts +0 -259
  779. package/main/date-picker/ng-package.json +0 -1
  780. package/main/date-range-picker/index.ts +0 -266
  781. package/main/date-range-picker/ng-package.json +0 -1
  782. package/main/date-time-picker/index.ts +0 -259
  783. package/main/date-time-picker/ng-package.json +0 -1
  784. package/main/dialog/index.ts +0 -178
  785. package/main/dialog/ng-package.json +0 -1
  786. package/main/dynamic-date-range/index.ts +0 -53
  787. package/main/dynamic-date-range/ng-package.json +0 -1
  788. package/main/expandable-text/index.ts +0 -49
  789. package/main/expandable-text/ng-package.json +0 -1
  790. package/main/file-uploader/index.ts +0 -164
  791. package/main/file-uploader/ng-package.json +0 -1
  792. package/main/form/index.ts +0 -123
  793. package/main/form/ng-package.json +0 -1
  794. package/main/form-group/index.ts +0 -67
  795. package/main/form-group/ng-package.json +0 -1
  796. package/main/form-item/index.ts +0 -42
  797. package/main/form-item/ng-package.json +0 -1
  798. package/main/icon/index.ts +0 -100
  799. package/main/icon/ng-package.json +0 -1
  800. package/main/index.ts +0 -1
  801. package/main/input/index.ts +0 -230
  802. package/main/input/ng-package.json +0 -1
  803. package/main/label/index.ts +0 -63
  804. package/main/label/ng-package.json +0 -1
  805. package/main/link/index.ts +0 -182
  806. package/main/link/ng-package.json +0 -1
  807. package/main/list/index.ts +0 -249
  808. package/main/list/ng-package.json +0 -1
  809. package/main/list-item-custom/index.ts +0 -112
  810. package/main/list-item-custom/ng-package.json +0 -1
  811. package/main/list-item-group/index.ts +0 -74
  812. package/main/list-item-group/ng-package.json +0 -1
  813. package/main/list-item-standard/index.ts +0 -175
  814. package/main/list-item-standard/ng-package.json +0 -1
  815. package/main/menu/index.ts +0 -128
  816. package/main/menu/ng-package.json +0 -1
  817. package/main/menu-item/index.ts +0 -206
  818. package/main/menu-item/ng-package.json +0 -1
  819. package/main/menu-item-group/index.ts +0 -37
  820. package/main/menu-item-group/ng-package.json +0 -1
  821. package/main/menu-separator/index.ts +0 -30
  822. package/main/menu-separator/ng-package.json +0 -1
  823. package/main/message-strip/index.ts +0 -73
  824. package/main/message-strip/ng-package.json +0 -1
  825. package/main/multi-combo-box/index.ts +0 -202
  826. package/main/multi-combo-box/ng-package.json +0 -1
  827. package/main/multi-combo-box-item/index.ts +0 -48
  828. package/main/multi-combo-box-item/ng-package.json +0 -1
  829. package/main/multi-combo-box-item-group/index.ts +0 -72
  830. package/main/multi-combo-box-item-group/ng-package.json +0 -1
  831. package/main/multi-input/index.ts +0 -254
  832. package/main/multi-input/ng-package.json +0 -1
  833. package/main/ng-package.json +0 -1
  834. package/main/option/index.ts +0 -61
  835. package/main/option/ng-package.json +0 -1
  836. package/main/option-custom/index.ts +0 -54
  837. package/main/option-custom/ng-package.json +0 -1
  838. package/main/panel/index.ts +0 -107
  839. package/main/panel/ng-package.json +0 -1
  840. package/main/popover/index.ts +0 -182
  841. package/main/popover/ng-package.json +0 -1
  842. package/main/progress-indicator/index.ts +0 -76
  843. package/main/progress-indicator/ng-package.json +0 -1
  844. package/main/radio-button/index.ts +0 -151
  845. package/main/radio-button/ng-package.json +0 -1
  846. package/main/range-slider/index.ts +0 -155
  847. package/main/range-slider/ng-package.json +0 -1
  848. package/main/rating-indicator/index.ts +0 -113
  849. package/main/rating-indicator/ng-package.json +0 -1
  850. package/main/responsive-popover/index.ts +0 -182
  851. package/main/responsive-popover/ng-package.json +0 -1
  852. package/main/segmented-button/index.ts +0 -88
  853. package/main/segmented-button/ng-package.json +0 -1
  854. package/main/segmented-button-item/index.ts +0 -95
  855. package/main/segmented-button-item/ng-package.json +0 -1
  856. package/main/select/index.ts +0 -171
  857. package/main/select/ng-package.json +0 -1
  858. package/main/slider/index.ts +0 -149
  859. package/main/slider/ng-package.json +0 -1
  860. package/main/special-calendar-date/index.ts +0 -65
  861. package/main/special-calendar-date/ng-package.json +0 -1
  862. package/main/split-button/index.ts +0 -119
  863. package/main/split-button/ng-package.json +0 -1
  864. package/main/step-input/index.ts +0 -149
  865. package/main/step-input/ng-package.json +0 -1
  866. package/main/suggestion-item/index.ts +0 -41
  867. package/main/suggestion-item/ng-package.json +0 -1
  868. package/main/suggestion-item-custom/index.ts +0 -38
  869. package/main/suggestion-item-custom/ng-package.json +0 -1
  870. package/main/suggestion-item-group/index.ts +0 -72
  871. package/main/suggestion-item-group/ng-package.json +0 -1
  872. package/main/switch/index.ts +0 -149
  873. package/main/switch/ng-package.json +0 -1
  874. package/main/tab/index.ts +0 -94
  875. package/main/tab/ng-package.json +0 -1
  876. package/main/tab-container/index.ts +0 -115
  877. package/main/tab-container/ng-package.json +0 -1
  878. package/main/tab-separator/index.ts +0 -30
  879. package/main/tab-separator/ng-package.json +0 -1
  880. package/main/table/index.ts +0 -141
  881. package/main/table/ng-package.json +0 -1
  882. package/main/table-cell/index.ts +0 -37
  883. package/main/table-cell/ng-package.json +0 -1
  884. package/main/table-growing/index.ts +0 -65
  885. package/main/table-growing/ng-package.json +0 -1
  886. package/main/table-header-cell/index.ts +0 -102
  887. package/main/table-header-cell/ng-package.json +0 -1
  888. package/main/table-header-cell-action-ai/index.ts +0 -40
  889. package/main/table-header-cell-action-ai/ng-package.json +0 -1
  890. package/main/table-header-row/index.ts +0 -42
  891. package/main/table-header-row/ng-package.json +0 -1
  892. package/main/table-row/index.ts +0 -60
  893. package/main/table-row/ng-package.json +0 -1
  894. package/main/table-row-action/index.ts +0 -65
  895. package/main/table-row-action/ng-package.json +0 -1
  896. package/main/table-row-action-navigation/index.ts +0 -55
  897. package/main/table-row-action-navigation/ng-package.json +0 -1
  898. package/main/table-selection/index.ts +0 -49
  899. package/main/table-selection/ng-package.json +0 -1
  900. package/main/table-selection-multi/index.ts +0 -53
  901. package/main/table-selection-multi/ng-package.json +0 -1
  902. package/main/table-selection-single/index.ts +0 -49
  903. package/main/table-selection-single/ng-package.json +0 -1
  904. package/main/table-virtualizer/index.ts +0 -62
  905. package/main/table-virtualizer/ng-package.json +0 -1
  906. package/main/tag/index.ts +0 -97
  907. package/main/tag/ng-package.json +0 -1
  908. package/main/text/index.ts +0 -41
  909. package/main/text/ng-package.json +0 -1
  910. package/main/text-area/index.ts +0 -206
  911. package/main/text-area/ng-package.json +0 -1
  912. package/main/theming/index.ts +0 -14
  913. package/main/theming/ng-package.json +0 -1
  914. package/main/time-picker/index.ts +0 -176
  915. package/main/time-picker/ng-package.json +0 -1
  916. package/main/title/index.ts +0 -51
  917. package/main/title/ng-package.json +0 -1
  918. package/main/toast/index.ts +0 -69
  919. package/main/toast/ng-package.json +0 -1
  920. package/main/toggle-button/index.ts +0 -191
  921. package/main/toggle-button/ng-package.json +0 -1
  922. package/main/token/index.ts +0 -44
  923. package/main/token/ng-package.json +0 -1
  924. package/main/tokenizer/index.ts +0 -115
  925. package/main/tokenizer/ng-package.json +0 -1
  926. package/main/toolbar/index.ts +0 -49
  927. package/main/toolbar/ng-package.json +0 -1
  928. package/main/toolbar-button/index.ts +0 -174
  929. package/main/toolbar-button/ng-package.json +0 -1
  930. package/main/toolbar-select/index.ts +0 -112
  931. package/main/toolbar-select/ng-package.json +0 -1
  932. package/main/toolbar-select-option/index.ts +0 -40
  933. package/main/toolbar-select-option/ng-package.json +0 -1
  934. package/main/toolbar-separator/index.ts +0 -46
  935. package/main/toolbar-separator/ng-package.json +0 -1
  936. package/main/toolbar-spacer/index.ts +0 -52
  937. package/main/toolbar-spacer/ng-package.json +0 -1
  938. package/main/tree/index.ts +0 -169
  939. package/main/tree/ng-package.json +0 -1
  940. package/main/tree-item/index.ts +0 -176
  941. package/main/tree-item/ng-package.json +0 -1
  942. package/main/tree-item-custom/index.ts +0 -171
  943. package/main/tree-item-custom/ng-package.json +0 -1
  944. package/main/ui5-main.module.ts +0 -228
  945. package/main-snapshot-test.spec.ts +0 -17
  946. package/ng-package.json +0 -8
  947. package/project.json +0 -68
  948. package/schematics/add-dependencies/index.ts +0 -33
  949. package/schematics/add-i18n/index.ts +0 -179
  950. package/schematics/add-styles/index.ts +0 -31
  951. package/schematics/add-theming/add-theming-module.ts +0 -101
  952. package/schematics/add-theming/index.ts +0 -25
  953. package/schematics/config.ts +0 -77
  954. package/schematics/get-config.ts +0 -35
  955. package/schematics/get-i18n-config.ts +0 -20
  956. package/schematics/ng-add/index.ts +0 -35
  957. package/schematics/ng-add/schema.ts +0 -6
  958. package/schematics/ng-update/0.2.0-rc.0/index.ts +0 -27
  959. package/schematics/schema.ts +0 -6
  960. package/schematics/types.d.ts +0 -1
  961. package/schematics/utils/find-import-local-name.ts +0 -43
  962. package/schematics/utils/find-import-providers-from-call.ts +0 -28
  963. package/schematics/utils/find-ng-module-metadata.ts +0 -28
  964. package/schematics/utils/find-providers-literal.ts +0 -24
  965. package/schematics/utils/get-project-definition.ts +0 -11
  966. package/schematics/utils/get-project-target.ts +0 -10
  967. package/schematics/utils/getModuleDeclaration.ts +0 -25
  968. package/schematics/utils/getSourceFile.ts +0 -14
  969. package/schematics/utils/has-module-import.ts +0 -39
  970. package/schematics/utils/is-ng-module-expression.ts +0 -16
  971. package/schematics/utils/package-config.ts +0 -55
  972. package/schematics/utils/project-main-file.ts +0 -41
  973. package/schematics/utils/promt.ts +0 -6
  974. package/schematics/utils/resolve-identifier-of-expression.ts +0 -14
  975. package/theming/base-webcomponents-theming-provider.ts +0 -49
  976. package/theming/index.ts +0 -2
  977. package/theming/ng-package.json +0 -5
  978. package/theming/supported-themes.ts +0 -1
  979. package/theming/theming.module.ts +0 -18
  980. package/theming/theming.service.ts +0 -17
  981. package/theming.conf.ts +0 -24
  982. package/tsconfig.json +0 -31
  983. package/tsconfig.lib.json +0 -16
  984. package/tsconfig.lib.prod.json +0 -12
  985. package/tsconfig.schematics.json +0 -27
  986. package/tsconfig.spec.json +0 -13
  987. package/ui5-webcomponents.module.ts +0 -14
  988. package/utils/index.ts +0 -35
  989. package/utils/ng-package.json +0 -1
  990. package/wrapper.conf.ts +0 -145
@@ -1,4579 +0,0 @@
1
- // Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing
2
-
3
- exports[`Snapshot test Fiori Barcode Scanner Dialog should match the snapshot 1`] = `
4
- "import {
5
- ChangeDetectorRef,
6
- Component,
7
- ElementRef,
8
- EventEmitter,
9
- Input as InputDecorator,
10
- NgZone,
11
- booleanAttribute,
12
- inject,
13
- } from '@angular/core';
14
- import '@ui5/webcomponents-fiori/dist/BarcodeScannerDialog.js';
15
- import {
16
- default as BarcodeScannerDialog,
17
- BarcodeScannerDialogScanErrorEventDetail,
18
- BarcodeScannerDialogScanSuccessEventDetail,
19
- } from '@ui5/webcomponents-fiori/dist/BarcodeScannerDialog.js';
20
- import { ProxyInputs, ProxyOutputs } from '@ui5/webcomponents-ngx/utils';
21
- @ProxyInputs(['open'])
22
- @ProxyOutputs([
23
- 'close: ui5Close',
24
- 'scan-success: ui5ScanSuccess',
25
- 'scan-error: ui5ScanError',
26
- ])
27
- @Component({
28
- standalone: true,
29
- selector: 'ui5-barcode-scanner-dialog',
30
- template: '<ng-content></ng-content>',
31
- inputs: ['open'],
32
- outputs: ['ui5Close', 'ui5ScanSuccess', 'ui5ScanError'],
33
- exportAs: 'ui5BarcodeScannerDialog',
34
- })
35
- class BarcodeScannerDialogComponent {
36
- /**
37
- Indicates whether the dialog is open.
38
- */
39
- @InputDecorator({ transform: booleanAttribute })
40
- open!: boolean;
41
-
42
- /**
43
- Fired when the user closes the component.
44
- */
45
- ui5Close!: EventEmitter<void>;
46
- /**
47
- Fires when the scan is completed successfuuly.
48
- */
49
- ui5ScanSuccess!: EventEmitter<BarcodeScannerDialogScanSuccessEventDetail>;
50
- /**
51
- Fires when the scan fails with error.
52
- */
53
- ui5ScanError!: EventEmitter<BarcodeScannerDialogScanErrorEventDetail>;
54
-
55
- private elementRef: ElementRef<BarcodeScannerDialog> = inject(ElementRef);
56
- private zone = inject(NgZone);
57
- private cdr = inject(ChangeDetectorRef);
58
-
59
- get element(): BarcodeScannerDialog {
60
- return this.elementRef.nativeElement;
61
- }
62
-
63
- constructor() {
64
- this.cdr.detach();
65
- }
66
- }
67
- export { BarcodeScannerDialogComponent };
68
- "
69
- `;
70
-
71
- exports[`Snapshot test Fiori Dynamic Page Header should match the snapshot 1`] = `
72
- "import {
73
- ChangeDetectorRef,
74
- Component,
75
- ElementRef,
76
- NgZone,
77
- inject,
78
- } from '@angular/core';
79
- import '@ui5/webcomponents-fiori/dist/DynamicPageHeader.js';
80
- import DynamicPageHeader from '@ui5/webcomponents-fiori/dist/DynamicPageHeader.js';
81
-
82
- @Component({
83
- standalone: true,
84
- selector: 'ui5-dynamic-page-header',
85
- template: '<ng-content></ng-content>',
86
- exportAs: 'ui5DynamicPageHeader',
87
- })
88
- class DynamicPageHeaderComponent {
89
- private elementRef: ElementRef<DynamicPageHeader> = inject(ElementRef);
90
- private zone = inject(NgZone);
91
- private cdr = inject(ChangeDetectorRef);
92
-
93
- get element(): DynamicPageHeader {
94
- return this.elementRef.nativeElement;
95
- }
96
-
97
- constructor() {
98
- this.cdr.detach();
99
- }
100
- }
101
- export { DynamicPageHeaderComponent };
102
- "
103
- `;
104
-
105
- exports[`Snapshot test Fiori Dynamic Page Title should match the snapshot 1`] = `
106
- "import {
107
- ChangeDetectorRef,
108
- Component,
109
- ElementRef,
110
- NgZone,
111
- inject,
112
- } from '@angular/core';
113
- import '@ui5/webcomponents-fiori/dist/DynamicPageTitle.js';
114
- import DynamicPageTitle from '@ui5/webcomponents-fiori/dist/DynamicPageTitle.js';
115
-
116
- @Component({
117
- standalone: true,
118
- selector: 'ui5-dynamic-page-title',
119
- template: '<ng-content></ng-content>',
120
- exportAs: 'ui5DynamicPageTitle',
121
- })
122
- class DynamicPageTitleComponent {
123
- private elementRef: ElementRef<DynamicPageTitle> = inject(ElementRef);
124
- private zone = inject(NgZone);
125
- private cdr = inject(ChangeDetectorRef);
126
-
127
- get element(): DynamicPageTitle {
128
- return this.elementRef.nativeElement;
129
- }
130
-
131
- constructor() {
132
- this.cdr.detach();
133
- }
134
- }
135
- export { DynamicPageTitleComponent };
136
- "
137
- `;
138
-
139
- exports[`Snapshot test Fiori Dynamic Page should match the snapshot 1`] = `
140
- "import {
141
- ChangeDetectorRef,
142
- Component,
143
- ElementRef,
144
- EventEmitter,
145
- Input as InputDecorator,
146
- NgZone,
147
- booleanAttribute,
148
- inject,
149
- } from '@angular/core';
150
- import '@ui5/webcomponents-fiori/dist/DynamicPage.js';
151
- import DynamicPage from '@ui5/webcomponents-fiori/dist/DynamicPage.js';
152
- import { ProxyInputs, ProxyOutputs } from '@ui5/webcomponents-ngx/utils';
153
- @ProxyInputs(['hidePinButton', 'headerPinned', 'showFooter', 'headerSnapped'])
154
- @ProxyOutputs([
155
- 'pin-button-toggle: ui5PinButtonToggle',
156
- 'title-toggle: ui5TitleToggle',
157
- ])
158
- @Component({
159
- standalone: true,
160
- selector: 'ui5-dynamic-page',
161
- template: '<ng-content></ng-content>',
162
- inputs: ['hidePinButton', 'headerPinned', 'showFooter', 'headerSnapped'],
163
- outputs: ['ui5PinButtonToggle', 'ui5TitleToggle'],
164
- exportAs: 'ui5DynamicPage',
165
- })
166
- class DynamicPageComponent {
167
- /**
168
- Defines if the pin button is hidden.
169
- */
170
- @InputDecorator({ transform: booleanAttribute })
171
- hidePinButton!: boolean;
172
- /**
173
- Defines if the header is pinned.
174
- */
175
- @InputDecorator({ transform: booleanAttribute })
176
- headerPinned!: boolean;
177
- /**
178
- Defines if the footer is shown.
179
- */
180
- @InputDecorator({ transform: booleanAttribute })
181
- showFooter!: boolean;
182
- /**
183
- Defines if the header is snapped.
184
- */
185
- @InputDecorator({ transform: booleanAttribute })
186
- headerSnapped!: boolean;
187
-
188
- /**
189
- Fired when the pin header button is toggled.
190
- */
191
- ui5PinButtonToggle!: EventEmitter<void>;
192
- /**
193
- Fired when the expand/collapse area of the title is toggled.
194
- */
195
- ui5TitleToggle!: EventEmitter<void>;
196
-
197
- private elementRef: ElementRef<DynamicPage> = inject(ElementRef);
198
- private zone = inject(NgZone);
199
- private cdr = inject(ChangeDetectorRef);
200
-
201
- get element(): DynamicPage {
202
- return this.elementRef.nativeElement;
203
- }
204
-
205
- constructor() {
206
- this.cdr.detach();
207
- }
208
- }
209
- export { DynamicPageComponent };
210
- "
211
- `;
212
-
213
- exports[`Snapshot test Fiori Dynamic Side Content should match the snapshot 1`] = `
214
- "import {
215
- ChangeDetectorRef,
216
- Component,
217
- ElementRef,
218
- EventEmitter,
219
- Input as InputDecorator,
220
- NgZone,
221
- booleanAttribute,
222
- inject,
223
- } from '@angular/core';
224
- import '@ui5/webcomponents-fiori/dist/DynamicSideContent.js';
225
- import {
226
- default as DynamicSideContent,
227
- DynamicSideContentAccessibilityAttributes,
228
- DynamicSideContentLayoutChangeEventDetail,
229
- } from '@ui5/webcomponents-fiori/dist/DynamicSideContent.js';
230
- import { ProxyInputs, ProxyOutputs } from '@ui5/webcomponents-ngx/utils';
231
- @ProxyInputs([
232
- 'hideMainContent',
233
- 'hideSideContent',
234
- 'sideContentPosition',
235
- 'sideContentVisibility',
236
- 'sideContentFallDown',
237
- 'equalSplit',
238
- 'accessibilityAttributes',
239
- ])
240
- @ProxyOutputs(['layout-change: ui5LayoutChange'])
241
- @Component({
242
- standalone: true,
243
- selector: 'ui5-dynamic-side-content',
244
- template: '<ng-content></ng-content>',
245
- inputs: [
246
- 'hideMainContent',
247
- 'hideSideContent',
248
- 'sideContentPosition',
249
- 'sideContentVisibility',
250
- 'sideContentFallDown',
251
- 'equalSplit',
252
- 'accessibilityAttributes',
253
- ],
254
- outputs: ['ui5LayoutChange'],
255
- exportAs: 'ui5DynamicSideContent',
256
- })
257
- class DynamicSideContentComponent {
258
- /**
259
- Defines the visibility of the main content.
260
- */
261
- @InputDecorator({ transform: booleanAttribute })
262
- hideMainContent!: boolean;
263
- /**
264
- Defines the visibility of the side content.
265
- */
266
- @InputDecorator({ transform: booleanAttribute })
267
- hideSideContent!: boolean;
268
- /**
269
- Defines whether the side content is positioned before the main content (left side
270
- in LTR mode), or after the the main content (right side in LTR mode).
271
- */
272
- sideContentPosition!: 'End' | 'Start';
273
- /**
274
- Defines on which breakpoints the side content is visible.
275
- */
276
- sideContentVisibility!:
277
- | 'AlwaysShow'
278
- | 'ShowAboveL'
279
- | 'ShowAboveM'
280
- | 'ShowAboveS'
281
- | 'NeverShow';
282
- /**
283
- Defines on which breakpoints the side content falls down below the main content.
284
- */
285
- sideContentFallDown!: 'BelowXL' | 'BelowL' | 'BelowM' | 'OnMinimumWidth';
286
- /**
287
- Defines whether the component is in equal split mode. In this mode, the side and
288
- the main content take 50:50 percent of the container on all screen sizes
289
- except for phone, where the main and side contents are switching visibility
290
- using the toggle method.
291
- */
292
- @InputDecorator({ transform: booleanAttribute })
293
- equalSplit!: boolean;
294
- /**
295
- Defines additional accessibility attributes on different areas of the component.
296
-
297
- The accessibilityAttributes object has the following fields:
298
-
299
- - **mainContent**: \`mainContent.ariaLabel\` defines the aria-label of the main content area. Accepts any string.
300
- - **sideContent**: \`sideContent.ariaLabel\` defines the aria-label of the side content area. Accepts any string.
301
- */
302
- accessibilityAttributes!: DynamicSideContentAccessibilityAttributes;
303
-
304
- /**
305
- Fires when the current breakpoint has been changed.
306
- */
307
- ui5LayoutChange!: EventEmitter<DynamicSideContentLayoutChangeEventDetail>;
308
-
309
- private elementRef: ElementRef<DynamicSideContent> = inject(ElementRef);
310
- private zone = inject(NgZone);
311
- private cdr = inject(ChangeDetectorRef);
312
-
313
- get element(): DynamicSideContent {
314
- return this.elementRef.nativeElement;
315
- }
316
-
317
- constructor() {
318
- this.cdr.detach();
319
- }
320
- }
321
- export { DynamicSideContentComponent };
322
- "
323
- `;
324
-
325
- exports[`Snapshot test Fiori Filter Item Option should match the snapshot 1`] = `
326
- "import {
327
- ChangeDetectorRef,
328
- Component,
329
- ElementRef,
330
- Input as InputDecorator,
331
- NgZone,
332
- booleanAttribute,
333
- inject,
334
- } from '@angular/core';
335
- import '@ui5/webcomponents-fiori/dist/FilterItemOption.js';
336
- import FilterItemOption from '@ui5/webcomponents-fiori/dist/FilterItemOption.js';
337
- import { ProxyInputs } from '@ui5/webcomponents-ngx/utils';
338
- @ProxyInputs(['text', 'selected'])
339
- @Component({
340
- standalone: true,
341
- selector: 'ui5-filter-item-option',
342
- template: '<ng-content></ng-content>',
343
- inputs: ['text', 'selected'],
344
- exportAs: 'ui5FilterItemOption',
345
- })
346
- class FilterItemOptionComponent {
347
- /**
348
- Defines the text of the filter option.
349
- */
350
- text!: string | undefined;
351
- /**
352
- Defines if the filter option is selected.
353
- */
354
- @InputDecorator({ transform: booleanAttribute })
355
- selected!: boolean;
356
-
357
- private elementRef: ElementRef<FilterItemOption> = inject(ElementRef);
358
- private zone = inject(NgZone);
359
- private cdr = inject(ChangeDetectorRef);
360
-
361
- get element(): FilterItemOption {
362
- return this.elementRef.nativeElement;
363
- }
364
-
365
- constructor() {
366
- this.cdr.detach();
367
- }
368
- }
369
- export { FilterItemOptionComponent };
370
- "
371
- `;
372
-
373
- exports[`Snapshot test Fiori Filter Item should match the snapshot 1`] = `
374
- "import {
375
- ChangeDetectorRef,
376
- Component,
377
- ElementRef,
378
- NgZone,
379
- inject,
380
- } from '@angular/core';
381
- import '@ui5/webcomponents-fiori/dist/FilterItem.js';
382
- import FilterItem from '@ui5/webcomponents-fiori/dist/FilterItem.js';
383
- import { ProxyInputs } from '@ui5/webcomponents-ngx/utils';
384
- @ProxyInputs(['text', 'additionalText'])
385
- @Component({
386
- standalone: true,
387
- selector: 'ui5-filter-item',
388
- template: '<ng-content></ng-content>',
389
- inputs: ['text', 'additionalText'],
390
- exportAs: 'ui5FilterItem',
391
- })
392
- class FilterItemComponent {
393
- /**
394
- Defines the text of the filter item.
395
- */
396
- text!: string | undefined;
397
- /**
398
- Defines the additional text of the filter item.
399
- This text is typically used to show the number of selected filter options within this category.
400
- */
401
- additionalText!: string | undefined;
402
-
403
- private elementRef: ElementRef<FilterItem> = inject(ElementRef);
404
- private zone = inject(NgZone);
405
- private cdr = inject(ChangeDetectorRef);
406
-
407
- get element(): FilterItem {
408
- return this.elementRef.nativeElement;
409
- }
410
-
411
- constructor() {
412
- this.cdr.detach();
413
- }
414
- }
415
- export { FilterItemComponent };
416
- "
417
- `;
418
-
419
- exports[`Snapshot test Fiori Flexible Column Layout should match the snapshot 1`] = `
420
- "import {
421
- ChangeDetectorRef,
422
- Component,
423
- ElementRef,
424
- EventEmitter,
425
- Input as InputDecorator,
426
- NgZone,
427
- booleanAttribute,
428
- inject,
429
- } from '@angular/core';
430
- import '@ui5/webcomponents-fiori/dist/FlexibleColumnLayout.js';
431
- import {
432
- FCLAccessibilityAttributes,
433
- default as FlexibleColumnLayout,
434
- FlexibleColumnLayoutLayoutChangeEventDetail,
435
- FlexibleColumnLayoutLayoutConfigurationChangeEventDetail,
436
- LayoutConfiguration,
437
- } from '@ui5/webcomponents-fiori/dist/FlexibleColumnLayout.js';
438
- import { ProxyInputs, ProxyOutputs } from '@ui5/webcomponents-ngx/utils';
439
- @ProxyInputs([
440
- 'layout',
441
- 'disableResizing',
442
- 'accessibilityAttributes',
443
- 'layoutsConfiguration',
444
- ])
445
- @ProxyOutputs([
446
- 'layout-change: ui5LayoutChange',
447
- 'layout-configuration-change: ui5LayoutConfigurationChange',
448
- ])
449
- @Component({
450
- standalone: true,
451
- selector: 'ui5-flexible-column-layout',
452
- template: '<ng-content></ng-content>',
453
- inputs: [
454
- 'layout',
455
- 'disableResizing',
456
- 'accessibilityAttributes',
457
- 'layoutsConfiguration',
458
- ],
459
- outputs: ['ui5LayoutChange', 'ui5LayoutConfigurationChange'],
460
- exportAs: 'ui5FlexibleColumnLayout',
461
- })
462
- class FlexibleColumnLayoutComponent {
463
- /**
464
- Defines the columns layout and their proportion.
465
-
466
- **Note:** The layout also depends on the screen size - one column for screens smaller than 599px,
467
- two columns between 599px and 1023px and three columns for sizes bigger than 1023px.
468
-
469
- **For example:** layout=\`TwoColumnsStartExpanded\` means the layout will display up to two columns
470
- in 67%/33% proportion.
471
- */
472
- layout!:
473
- | 'OneColumn'
474
- | 'TwoColumnsStartExpanded'
475
- | 'TwoColumnsMidExpanded'
476
- | 'ThreeColumnsMidExpanded'
477
- | 'ThreeColumnsEndExpanded'
478
- | 'ThreeColumnsStartExpandedEndHidden'
479
- | 'ThreeColumnsMidExpandedEndHidden'
480
- | 'ThreeColumnsStartHiddenMidExpanded'
481
- | 'ThreeColumnsStartHiddenEndExpanded'
482
- | 'MidColumnFullScreen'
483
- | 'EndColumnFullScreen';
484
- /**
485
- Specifies if the user is allowed to change the columns layout by dragging the separator between the columns.
486
- */
487
- @InputDecorator({ transform: booleanAttribute })
488
- disableResizing!: boolean;
489
- /**
490
- Defines additional accessibility attributes on different areas of the component.
491
-
492
- The accessibilityAttributes object has the following fields,
493
- where each field is an object supporting one or more accessibility attributes:
494
-
495
- - **startColumn**: \`startColumn.role\` and \`startColumn.name\`.
496
- - **midColumn**: \`midColumn.role\` and \`midColumn.name\`.
497
- - **endColumn**: \`endColumn.role\` and \`endColumn.name\`.
498
- - **startSeparator**: \`startSeparator.role\` and \`startSeparator.name\`.
499
- - **endSeparator**: \`endSeparator.role\` and \`endSeparator.name\`.
500
-
501
- The accessibility attributes support the following values:
502
-
503
- - **role**: Defines the accessible ARIA landmark role of the area.
504
- Accepts the following values: \`none\`, \`complementary\`, \`contentinfo\`, \`main\` or \`region\`.
505
-
506
- - **name**: Defines the accessible ARIA name of the area.
507
- Accepts any string.
508
- */
509
- accessibilityAttributes!: FCLAccessibilityAttributes;
510
- /**
511
- Allows to customize the column proportions per screen size and layout.
512
- If no custom proportion provided for a specific layout, the default will be used.
513
-
514
- **Notes:**
515
-
516
- - The proportions should be given in percentages. For example [\\"30%\\", \\"40%\\", \\"30%\\"], [\\"70%\\", \\"30%\\", 0], etc.
517
- - The proportions should add up to 100%.
518
- - Hidden columns are marked as \\"0px\\", e.g. [\\"0px\\", \\"70%\\", \\"30%\\"]. Specifying 0 or \\"0%\\" for hidden columns is also valid.
519
- - If the proportions do not match the layout (e.g. if provided proportions [\\"70%\\", \\"30%\\", \\"0px\\"] for \\"OneColumn\\" layout), then the default proportions will be used instead.
520
- - Whenever the user drags the columns separator to resize the columns, the \`layoutsConfiguration\` object will be updated with the user-specified proportions for the given layout (and the \`layout-configuration-change\` event will be fired).
521
- - No custom configuration available for the phone screen size, as the default of 100% column width is always used there.
522
- */
523
- layoutsConfiguration!: LayoutConfiguration;
524
-
525
- /**
526
- Fired when the layout changes via user interaction by dragging the separators
527
- or by changing the component size due to resizing.
528
- */
529
- ui5LayoutChange!: EventEmitter<FlexibleColumnLayoutLayoutChangeEventDetail>;
530
- /**
531
- Fired when the \`layoutsConfiguration\` changes via user interaction by dragging the separators.
532
- */
533
- ui5LayoutConfigurationChange!: EventEmitter<FlexibleColumnLayoutLayoutConfigurationChangeEventDetail>;
534
-
535
- private elementRef: ElementRef<FlexibleColumnLayout> = inject(ElementRef);
536
- private zone = inject(NgZone);
537
- private cdr = inject(ChangeDetectorRef);
538
-
539
- get element(): FlexibleColumnLayout {
540
- return this.elementRef.nativeElement;
541
- }
542
-
543
- constructor() {
544
- this.cdr.detach();
545
- }
546
- }
547
- export { FlexibleColumnLayoutComponent };
548
- "
549
- `;
550
-
551
- exports[`Snapshot test Fiori Group Item should match the snapshot 1`] = `
552
- "import {
553
- ChangeDetectorRef,
554
- Component,
555
- ElementRef,
556
- Input as InputDecorator,
557
- NgZone,
558
- booleanAttribute,
559
- inject,
560
- } from '@angular/core';
561
- import '@ui5/webcomponents-fiori/dist/GroupItem.js';
562
- import GroupItem from '@ui5/webcomponents-fiori/dist/GroupItem.js';
563
- import { ProxyInputs } from '@ui5/webcomponents-ngx/utils';
564
- @ProxyInputs(['text', 'selected'])
565
- @Component({
566
- standalone: true,
567
- selector: 'ui5-group-item',
568
- template: '<ng-content></ng-content>',
569
- inputs: ['text', 'selected'],
570
- exportAs: 'ui5GroupItem',
571
- })
572
- class GroupItemComponent {
573
- /**
574
- Defines the text of the group item.
575
- */
576
- text!: string | undefined;
577
- /**
578
- Defines if the group item is selected.
579
- */
580
- @InputDecorator({ transform: booleanAttribute })
581
- selected!: boolean;
582
-
583
- private elementRef: ElementRef<GroupItem> = inject(ElementRef);
584
- private zone = inject(NgZone);
585
- private cdr = inject(ChangeDetectorRef);
586
-
587
- get element(): GroupItem {
588
- return this.elementRef.nativeElement;
589
- }
590
-
591
- constructor() {
592
- this.cdr.detach();
593
- }
594
- }
595
- export { GroupItemComponent };
596
- "
597
- `;
598
-
599
- exports[`Snapshot test Fiori Illustrated Message should match the snapshot 1`] = `
600
- "import {
601
- ChangeDetectorRef,
602
- Component,
603
- ElementRef,
604
- Input as InputDecorator,
605
- NgZone,
606
- booleanAttribute,
607
- inject,
608
- } from '@angular/core';
609
- import '@ui5/webcomponents-fiori/dist/IllustratedMessage.js';
610
- import IllustratedMessage from '@ui5/webcomponents-fiori/dist/IllustratedMessage.js';
611
- import { ProxyInputs } from '@ui5/webcomponents-ngx/utils';
612
- @ProxyInputs([
613
- 'name',
614
- 'design',
615
- 'subtitleText',
616
- 'titleText',
617
- 'accessibleNameRef',
618
- 'decorative',
619
- ])
620
- @Component({
621
- standalone: true,
622
- selector: 'ui5-illustrated-message',
623
- template: '<ng-content></ng-content>',
624
- inputs: [
625
- 'name',
626
- 'design',
627
- 'subtitleText',
628
- 'titleText',
629
- 'accessibleNameRef',
630
- 'decorative',
631
- ],
632
- exportAs: 'ui5IllustratedMessage',
633
- })
634
- class IllustratedMessageComponent {
635
- /**
636
- Defines the illustration name that will be displayed in the component.
637
-
638
- Example:
639
-
640
- \`name='BeforeSearch'\`, \`name='UnableToUpload'\`, etc..
641
-
642
- **Note:** To use the TNT illustrations,
643
- you need to set the \`tnt\` or \`Tnt\` prefix in front of the icon's name.
644
-
645
- Example:
646
-
647
- \`name='tnt/Avatar'\` or \`name='TntAvatar'\`.
648
-
649
- **Note:** By default the \`BeforeSearch\` illustration is loaded.
650
- When using an illustration type, other than the default, it should be loaded in addition:
651
-
652
- \`import \\"@ui5/webcomponents-fiori/dist/illustrations/NoData.js\\";\`
653
-
654
- For TNT illustrations:
655
-
656
- \`import \\"@ui5/webcomponents-fiori/dist/illustrations/tnt/SessionExpired.js\\";\`
657
- */
658
- name!: string;
659
- /**
660
- Determines which illustration breakpoint variant is used.
661
-
662
- As \`IllustratedMessage\` adapts itself around the \`Illustration\`, the other
663
- elements of the component are displayed differently on the different breakpoints/illustration designs.
664
- */
665
- design!:
666
- | 'Auto'
667
- | 'Base'
668
- | 'Dot'
669
- | 'Spot'
670
- | 'Dialog'
671
- | 'Scene'
672
- | 'ExtraSmall'
673
- | 'Small'
674
- | 'Medium'
675
- | 'Large';
676
- /**
677
- Defines the subtitle of the component.
678
-
679
- **Note:** Using this property, the default subtitle text of illustration will be overwritten.
680
-
681
- **Note:** Using \`subtitle\` slot, the default of this property will be overwritten.
682
- */
683
- subtitleText!: string | undefined;
684
- /**
685
- Defines the title of the component.
686
-
687
- **Note:** Using this property, the default title text of illustration will be overwritten.
688
- */
689
- titleText!: string | undefined;
690
- /**
691
- Receives id(or many ids) of the elements that label the component.
692
- */
693
- accessibleNameRef!: string | undefined;
694
- /**
695
- Defines whether the illustration is decorative.
696
-
697
- When set to \`true\`, the attributes \`role=\\"presentation\\"\` and \`aria-hidden=\\"true\\"\` are applied to the SVG element.
698
- */
699
- @InputDecorator({ transform: booleanAttribute })
700
- decorative!: boolean;
701
-
702
- private elementRef: ElementRef<IllustratedMessage> = inject(ElementRef);
703
- private zone = inject(NgZone);
704
- private cdr = inject(ChangeDetectorRef);
705
-
706
- get element(): IllustratedMessage {
707
- return this.elementRef.nativeElement;
708
- }
709
-
710
- constructor() {
711
- this.cdr.detach();
712
- }
713
- }
714
- export { IllustratedMessageComponent };
715
- "
716
- `;
717
-
718
- exports[`Snapshot test Fiori Index Ts should match the snapshot 1`] = `"export { Ui5FioriModule } from './ui5-fiori.module';"`;
719
-
720
- exports[`Snapshot test Fiori Media Gallery Item should match the snapshot 1`] = `
721
- "import {
722
- ChangeDetectorRef,
723
- Component,
724
- ElementRef,
725
- Input as InputDecorator,
726
- NgZone,
727
- booleanAttribute,
728
- inject,
729
- } from '@angular/core';
730
- import '@ui5/webcomponents-fiori/dist/MediaGalleryItem.js';
731
- import MediaGalleryItem from '@ui5/webcomponents-fiori/dist/MediaGalleryItem.js';
732
- import { ProxyInputs } from '@ui5/webcomponents-ngx/utils';
733
- @ProxyInputs(['selected', 'disabled', 'layout'])
734
- @Component({
735
- standalone: true,
736
- selector: 'ui5-media-gallery-item',
737
- template: '<ng-content></ng-content>',
738
- inputs: ['selected', 'disabled', 'layout'],
739
- exportAs: 'ui5MediaGalleryItem',
740
- })
741
- class MediaGalleryItemComponent {
742
- /**
743
- Defines the selected state of the component.
744
- */
745
- @InputDecorator({ transform: booleanAttribute })
746
- selected!: boolean;
747
- /**
748
- Defines whether the component is in disabled state.
749
- */
750
- @InputDecorator({ transform: booleanAttribute })
751
- disabled!: boolean;
752
- /**
753
- Determines the layout of the item container.
754
- */
755
- layout!: 'Square' | 'Wide';
756
-
757
- private elementRef: ElementRef<MediaGalleryItem> = inject(ElementRef);
758
- private zone = inject(NgZone);
759
- private cdr = inject(ChangeDetectorRef);
760
-
761
- get element(): MediaGalleryItem {
762
- return this.elementRef.nativeElement;
763
- }
764
-
765
- constructor() {
766
- this.cdr.detach();
767
- }
768
- }
769
- export { MediaGalleryItemComponent };
770
- "
771
- `;
772
-
773
- exports[`Snapshot test Fiori Media Gallery should match the snapshot 1`] = `
774
- "import {
775
- ChangeDetectorRef,
776
- Component,
777
- ElementRef,
778
- EventEmitter,
779
- Input as InputDecorator,
780
- NgZone,
781
- booleanAttribute,
782
- inject,
783
- } from '@angular/core';
784
- import '@ui5/webcomponents-fiori/dist/MediaGallery.js';
785
- import {
786
- default as MediaGallery,
787
- MediaGallerySelectionChangeEventDetail,
788
- } from '@ui5/webcomponents-fiori/dist/MediaGallery.js';
789
- import { ProxyInputs, ProxyOutputs } from '@ui5/webcomponents-ngx/utils';
790
- @ProxyInputs([
791
- 'showAllThumbnails',
792
- 'interactiveDisplayArea',
793
- 'layout',
794
- 'menuHorizontalAlign',
795
- 'menuVerticalAlign',
796
- ])
797
- @ProxyOutputs([
798
- 'selection-change: ui5SelectionChange',
799
- 'overflow-click: ui5OverflowClick',
800
- 'display-area-click: ui5DisplayAreaClick',
801
- ])
802
- @Component({
803
- standalone: true,
804
- selector: 'ui5-media-gallery',
805
- template: '<ng-content></ng-content>',
806
- inputs: [
807
- 'showAllThumbnails',
808
- 'interactiveDisplayArea',
809
- 'layout',
810
- 'menuHorizontalAlign',
811
- 'menuVerticalAlign',
812
- ],
813
- outputs: ['ui5SelectionChange', 'ui5OverflowClick', 'ui5DisplayAreaClick'],
814
- exportAs: 'ui5MediaGallery',
815
- })
816
- class MediaGalleryComponent {
817
- /**
818
- If set to \`true\`, all thumbnails are rendered in a scrollable container.
819
- If \`false\`, only up to five thumbnails are rendered, followed by
820
- an overflow button that shows the count of the remaining thumbnails.
821
- */
822
- @InputDecorator({ transform: booleanAttribute })
823
- showAllThumbnails!: boolean;
824
- /**
825
- If enabled, a \`display-area-click\` event is fired
826
- when the user clicks or taps on the display area.
827
-
828
- The display area is the central area that contains
829
- the enlarged content of the currently selected item.
830
- */
831
- @InputDecorator({ transform: booleanAttribute })
832
- interactiveDisplayArea!: boolean;
833
- /**
834
- Determines the layout of the component.
835
- */
836
- layout!: 'Auto' | 'Vertical' | 'Horizontal';
837
- /**
838
- Determines the horizontal alignment of the thumbnails menu
839
- vs. the central display area.
840
- */
841
- menuHorizontalAlign!: 'Left' | 'Right';
842
- /**
843
- Determines the vertical alignment of the thumbnails menu
844
- vs. the central display area.
845
- */
846
- menuVerticalAlign!: 'Top' | 'Bottom';
847
-
848
- /**
849
- Fired when selection is changed by user interaction.
850
- */
851
- ui5SelectionChange!: EventEmitter<MediaGallerySelectionChangeEventDetail>;
852
- /**
853
- Fired when the thumbnails overflow button is clicked.
854
- */
855
- ui5OverflowClick!: EventEmitter<void>;
856
- /**
857
- Fired when the display area is clicked.
858
- The display area is the central area that contains
859
- the enlarged content of the currently selected item.
860
- */
861
- ui5DisplayAreaClick!: EventEmitter<void>;
862
-
863
- private elementRef: ElementRef<MediaGallery> = inject(ElementRef);
864
- private zone = inject(NgZone);
865
- private cdr = inject(ChangeDetectorRef);
866
-
867
- get element(): MediaGallery {
868
- return this.elementRef.nativeElement;
869
- }
870
-
871
- constructor() {
872
- this.cdr.detach();
873
- }
874
- }
875
- export { MediaGalleryComponent };
876
- "
877
- `;
878
-
879
- exports[`Snapshot test Fiori Navigation Layout should match the snapshot 1`] = `
880
- "import {
881
- ChangeDetectorRef,
882
- Component,
883
- ElementRef,
884
- NgZone,
885
- inject,
886
- } from '@angular/core';
887
- import '@ui5/webcomponents-fiori/dist/NavigationLayout.js';
888
- import NavigationLayout from '@ui5/webcomponents-fiori/dist/NavigationLayout.js';
889
- import { ProxyInputs } from '@ui5/webcomponents-ngx/utils';
890
- @ProxyInputs(['mode'])
891
- @Component({
892
- standalone: true,
893
- selector: 'ui5-navigation-layout',
894
- template: '<ng-content></ng-content>',
895
- inputs: ['mode'],
896
- exportAs: 'ui5NavigationLayout',
897
- })
898
- class NavigationLayoutComponent {
899
- /**
900
- Specifies the navigation layout mode.
901
- */
902
- mode!: 'Auto' | 'Collapsed' | 'Expanded';
903
-
904
- private elementRef: ElementRef<NavigationLayout> = inject(ElementRef);
905
- private zone = inject(NgZone);
906
- private cdr = inject(ChangeDetectorRef);
907
-
908
- get element(): NavigationLayout {
909
- return this.elementRef.nativeElement;
910
- }
911
-
912
- constructor() {
913
- this.cdr.detach();
914
- }
915
- }
916
- export { NavigationLayoutComponent };
917
- "
918
- `;
919
-
920
- exports[`Snapshot test Fiori Ng Package Json should match the snapshot 1`] = `"{\\"lib\\":{\\"entryFile\\":\\"./index.ts\\"}}"`;
921
-
922
- exports[`Snapshot test Fiori Notification List Group Item should match the snapshot 1`] = `
923
- "import {
924
- ChangeDetectorRef,
925
- Component,
926
- ElementRef,
927
- EventEmitter,
928
- Input as InputDecorator,
929
- NgZone,
930
- booleanAttribute,
931
- inject,
932
- } from '@angular/core';
933
- import '@ui5/webcomponents-fiori/dist/NotificationListGroupItem.js';
934
- import NotificationListGroupItem from '@ui5/webcomponents-fiori/dist/NotificationListGroupItem.js';
935
- import { ProxyInputs, ProxyOutputs } from '@ui5/webcomponents-ngx/utils';
936
- @ProxyInputs([
937
- 'titleText',
938
- 'read',
939
- 'loading',
940
- 'loadingDelay',
941
- 'collapsed',
942
- 'growing',
943
- ])
944
- @ProxyOutputs(['toggle: ui5Toggle', 'load-more: ui5LoadMore'])
945
- @Component({
946
- standalone: true,
947
- selector: 'ui5-li-notification-group',
948
- template: '<ng-content></ng-content>',
949
- inputs: [
950
- 'titleText',
951
- 'read',
952
- 'loading',
953
- 'loadingDelay',
954
- 'collapsed',
955
- 'growing',
956
- ],
957
- outputs: ['ui5Toggle', 'ui5LoadMore'],
958
- exportAs: 'ui5LiNotificationGroup',
959
- })
960
- class NotificationListGroupItemComponent {
961
- /**
962
- Defines the \`titleText\` of the item.
963
- */
964
- titleText!: string | undefined;
965
- /**
966
- Defines if the \`notification\` is new or has been already read.
967
-
968
- **Note:** if set to \`false\` the \`titleText\` has bold font,
969
- if set to true - it has a normal font.
970
- */
971
- @InputDecorator({ transform: booleanAttribute })
972
- read!: boolean;
973
- /**
974
- Defines if a busy indicator would be displayed over the item.
975
- */
976
- @InputDecorator({ transform: booleanAttribute })
977
- loading!: boolean;
978
- /**
979
- Defines the delay in milliseconds, after which the busy indicator will show up for this component.
980
- */
981
- loadingDelay!: number;
982
- /**
983
- Defines if the group is collapsed or expanded.
984
- */
985
- @InputDecorator({ transform: booleanAttribute })
986
- collapsed!: boolean;
987
- /**
988
- Defines whether the component will have growing capability by pressing a \`More\` button.
989
- When button is pressed \`load-more\` event will be fired.
990
- */
991
- growing!: 'Button' | 'None';
992
-
993
- /**
994
- Fired when the \`ui5-li-notification-group\` is expanded/collapsed by user interaction.
995
- */
996
- ui5Toggle!: EventEmitter<void>;
997
- /**
998
- Fired when additional items are requested.
999
- */
1000
- ui5LoadMore!: EventEmitter<void>;
1001
-
1002
- private elementRef: ElementRef<NotificationListGroupItem> =
1003
- inject(ElementRef);
1004
- private zone = inject(NgZone);
1005
- private cdr = inject(ChangeDetectorRef);
1006
-
1007
- get element(): NotificationListGroupItem {
1008
- return this.elementRef.nativeElement;
1009
- }
1010
-
1011
- constructor() {
1012
- this.cdr.detach();
1013
- }
1014
- }
1015
- export { NotificationListGroupItemComponent };
1016
- "
1017
- `;
1018
-
1019
- exports[`Snapshot test Fiori Notification List Item should match the snapshot 1`] = `
1020
- "import {
1021
- ChangeDetectorRef,
1022
- Component,
1023
- ElementRef,
1024
- EventEmitter,
1025
- Input as InputDecorator,
1026
- NgZone,
1027
- booleanAttribute,
1028
- inject,
1029
- } from '@angular/core';
1030
- import '@ui5/webcomponents-fiori/dist/NotificationListItem.js';
1031
- import {
1032
- default as NotificationListItem,
1033
- NotificationListItemCloseEventDetail,
1034
- } from '@ui5/webcomponents-fiori/dist/NotificationListItem.js';
1035
- import { ProxyInputs, ProxyOutputs } from '@ui5/webcomponents-ngx/utils';
1036
- @ProxyInputs([
1037
- 'titleText',
1038
- 'read',
1039
- 'loading',
1040
- 'loadingDelay',
1041
- 'wrappingType',
1042
- 'state',
1043
- 'showClose',
1044
- 'importance',
1045
- ])
1046
- @ProxyOutputs(['close: ui5Close'])
1047
- @Component({
1048
- standalone: true,
1049
- selector: 'ui5-li-notification',
1050
- template: '<ng-content></ng-content>',
1051
- inputs: [
1052
- 'titleText',
1053
- 'read',
1054
- 'loading',
1055
- 'loadingDelay',
1056
- 'wrappingType',
1057
- 'state',
1058
- 'showClose',
1059
- 'importance',
1060
- ],
1061
- outputs: ['ui5Close'],
1062
- exportAs: 'ui5LiNotification',
1063
- })
1064
- class NotificationListItemComponent {
1065
- /**
1066
- Defines the \`titleText\` of the item.
1067
- */
1068
- titleText!: string | undefined;
1069
- /**
1070
- Defines if the \`notification\` is new or has been already read.
1071
-
1072
- **Note:** if set to \`false\` the \`titleText\` has bold font,
1073
- if set to true - it has a normal font.
1074
- */
1075
- @InputDecorator({ transform: booleanAttribute })
1076
- read!: boolean;
1077
- /**
1078
- Defines if a busy indicator would be displayed over the item.
1079
- */
1080
- @InputDecorator({ transform: booleanAttribute })
1081
- loading!: boolean;
1082
- /**
1083
- Defines the delay in milliseconds, after which the busy indicator will show up for this component.
1084
- */
1085
- loadingDelay!: number;
1086
- /**
1087
- Defines if the \`titleText\` and \`description\` should wrap,
1088
- they truncate by default.
1089
-
1090
- **Note:** by default the \`titleText\` and \`description\`,
1091
- and a \`ShowMore/Less\` button would be displayed.
1092
- */
1093
- wrappingType!: 'None' | 'Normal';
1094
- /**
1095
- Defines the status indicator of the item.
1096
- */
1097
- state!: 'None' | 'Positive' | 'Critical' | 'Negative' | 'Information';
1098
- /**
1099
- Defines if the \`Close\` button would be displayed.
1100
- */
1101
- @InputDecorator({ transform: booleanAttribute })
1102
- showClose!: boolean;
1103
- /**
1104
- Defines the \`Important\` label of the item.
1105
- */
1106
- importance!: 'Standard' | 'Important';
1107
-
1108
- /**
1109
- Fired when the \`Close\` button is pressed.
1110
- */
1111
- ui5Close!: EventEmitter<NotificationListItemCloseEventDetail>;
1112
-
1113
- private elementRef: ElementRef<NotificationListItem> = inject(ElementRef);
1114
- private zone = inject(NgZone);
1115
- private cdr = inject(ChangeDetectorRef);
1116
-
1117
- get element(): NotificationListItem {
1118
- return this.elementRef.nativeElement;
1119
- }
1120
-
1121
- constructor() {
1122
- this.cdr.detach();
1123
- }
1124
- }
1125
- export { NotificationListItemComponent };
1126
- "
1127
- `;
1128
-
1129
- exports[`Snapshot test Fiori Notification List should match the snapshot 1`] = `
1130
- "import {
1131
- ChangeDetectorRef,
1132
- Component,
1133
- ElementRef,
1134
- EventEmitter,
1135
- NgZone,
1136
- inject,
1137
- } from '@angular/core';
1138
- import '@ui5/webcomponents-fiori/dist/NotificationList.js';
1139
- import {
1140
- NotificationItemClickEventDetail,
1141
- NotificationItemCloseEventDetail,
1142
- NotificationItemToggleEventDetail,
1143
- default as NotificationList,
1144
- } from '@ui5/webcomponents-fiori/dist/NotificationList.js';
1145
- import { ProxyInputs, ProxyOutputs } from '@ui5/webcomponents-ngx/utils';
1146
- @ProxyInputs(['noDataText'])
1147
- @ProxyOutputs([
1148
- 'item-click: ui5ItemClick',
1149
- 'item-close: ui5ItemClose',
1150
- 'item-toggle: ui5ItemToggle',
1151
- ])
1152
- @Component({
1153
- standalone: true,
1154
- selector: 'ui5-notification-list',
1155
- template: '<ng-content></ng-content>',
1156
- inputs: ['noDataText'],
1157
- outputs: ['ui5ItemClick', 'ui5ItemClose', 'ui5ItemToggle'],
1158
- exportAs: 'ui5NotificationList',
1159
- })
1160
- class NotificationListComponent {
1161
- /**
1162
- Defines the text that is displayed when the component contains no items.
1163
- */
1164
- noDataText!: string | undefined;
1165
-
1166
- /**
1167
- Fired when an item is clicked.
1168
- */
1169
- ui5ItemClick!: EventEmitter<NotificationItemClickEventDetail>;
1170
- /**
1171
- Fired when the \`Close\` button of any item is clicked.
1172
- */
1173
- ui5ItemClose!: EventEmitter<NotificationItemCloseEventDetail>;
1174
- /**
1175
- Fired when an item is toggled.
1176
- */
1177
- ui5ItemToggle!: EventEmitter<NotificationItemToggleEventDetail>;
1178
-
1179
- private elementRef: ElementRef<NotificationList> = inject(ElementRef);
1180
- private zone = inject(NgZone);
1181
- private cdr = inject(ChangeDetectorRef);
1182
-
1183
- get element(): NotificationList {
1184
- return this.elementRef.nativeElement;
1185
- }
1186
-
1187
- constructor() {
1188
- this.cdr.detach();
1189
- }
1190
- }
1191
- export { NotificationListComponent };
1192
- "
1193
- `;
1194
-
1195
- exports[`Snapshot test Fiori Page should match the snapshot 1`] = `
1196
- "import {
1197
- ChangeDetectorRef,
1198
- Component,
1199
- ElementRef,
1200
- Input as InputDecorator,
1201
- NgZone,
1202
- booleanAttribute,
1203
- inject,
1204
- } from '@angular/core';
1205
- import '@ui5/webcomponents-fiori/dist/Page.js';
1206
- import Page from '@ui5/webcomponents-fiori/dist/Page.js';
1207
- import { ProxyInputs } from '@ui5/webcomponents-ngx/utils';
1208
- @ProxyInputs(['backgroundDesign', 'noScrolling', 'fixedFooter', 'hideFooter'])
1209
- @Component({
1210
- standalone: true,
1211
- selector: 'ui5-page',
1212
- template: '<ng-content></ng-content>',
1213
- inputs: ['backgroundDesign', 'noScrolling', 'fixedFooter', 'hideFooter'],
1214
- exportAs: 'ui5Page',
1215
- })
1216
- class PageComponent {
1217
- /**
1218
- Defines the background color of the \`ui5-page\`.
1219
-
1220
- **Note:** When a ui5-list is placed inside the page, we recommend using “List” to ensure better color contrast.
1221
- */
1222
- backgroundDesign!: 'List' | 'Solid' | 'Transparent';
1223
- /**
1224
- Disables vertical scrolling of page content.
1225
- If set to true, there will be no vertical scrolling at all.
1226
- */
1227
- @InputDecorator({ transform: booleanAttribute })
1228
- noScrolling!: boolean;
1229
- /**
1230
- Defines if the footer is fixed at the very bottom of the page.
1231
-
1232
- **Note:** When set to true the footer is fixed at the very bottom of the page, otherwise it floats over the content with a slight offset from the bottom.
1233
- */
1234
- @InputDecorator({ transform: booleanAttribute })
1235
- fixedFooter!: boolean;
1236
- /**
1237
- Defines the footer visibility.
1238
- */
1239
- @InputDecorator({ transform: booleanAttribute })
1240
- hideFooter!: boolean;
1241
-
1242
- private elementRef: ElementRef<Page> = inject(ElementRef);
1243
- private zone = inject(NgZone);
1244
- private cdr = inject(ChangeDetectorRef);
1245
-
1246
- get element(): Page {
1247
- return this.elementRef.nativeElement;
1248
- }
1249
-
1250
- constructor() {
1251
- this.cdr.detach();
1252
- }
1253
- }
1254
- export { PageComponent };
1255
- "
1256
- `;
1257
-
1258
- exports[`Snapshot test Fiori Product Switch Item should match the snapshot 1`] = `
1259
- "import {
1260
- ChangeDetectorRef,
1261
- Component,
1262
- ElementRef,
1263
- EventEmitter,
1264
- NgZone,
1265
- inject,
1266
- } from '@angular/core';
1267
- import '@ui5/webcomponents-fiori/dist/ProductSwitchItem.js';
1268
- import ProductSwitchItem from '@ui5/webcomponents-fiori/dist/ProductSwitchItem.js';
1269
- import { ProxyInputs, ProxyOutputs } from '@ui5/webcomponents-ngx/utils';
1270
- @ProxyInputs(['titleText', 'subtitleText', 'icon', 'target', 'targetSrc'])
1271
- @ProxyOutputs(['click: ui5Click'])
1272
- @Component({
1273
- standalone: true,
1274
- selector: 'ui5-product-switch-item',
1275
- template: '<ng-content></ng-content>',
1276
- inputs: ['titleText', 'subtitleText', 'icon', 'target', 'targetSrc'],
1277
- outputs: ['ui5Click'],
1278
- exportAs: 'ui5ProductSwitchItem',
1279
- })
1280
- class ProductSwitchItemComponent {
1281
- /**
1282
- Defines the title of the component.
1283
- */
1284
- titleText!: string | undefined;
1285
- /**
1286
- Defines the subtitle of the component.
1287
- */
1288
- subtitleText!: string | undefined;
1289
- /**
1290
- Defines the icon to be displayed as a graphical element within the component.
1291
-
1292
- Example:
1293
-
1294
- \`<ui5-product-switch-item icon=\\"palette\\">\`
1295
-
1296
- See all the available icons in the [Icon Explorer](https://sdk.openui5.org/test-resources/sap/m/demokit/iconExplorer/webapp/index.html).
1297
- */
1298
- icon!: string | undefined;
1299
- /**
1300
- Defines a target where the \`targetSrc\` content must be open.
1301
-
1302
- Available options are:
1303
-
1304
- - \`_self\`
1305
- - \`_top\`
1306
- - \`_blank\`
1307
- - \`_parent\`
1308
- - \`_search\`
1309
-
1310
- **Note:** By default target will be open in the same frame as it was clicked.
1311
- */
1312
- target!: string | undefined;
1313
- /**
1314
- Defines the component target URI. Supports standard hyperlink behavior.
1315
- */
1316
- targetSrc!: string | undefined;
1317
-
1318
- /**
1319
- Fired when the \`ui5-product-switch-item\` is activated either with a
1320
- click/tap or by using the Enter or Space key.
1321
- */
1322
- ui5Click!: EventEmitter<void>;
1323
-
1324
- private elementRef: ElementRef<ProductSwitchItem> = inject(ElementRef);
1325
- private zone = inject(NgZone);
1326
- private cdr = inject(ChangeDetectorRef);
1327
-
1328
- get element(): ProductSwitchItem {
1329
- return this.elementRef.nativeElement;
1330
- }
1331
-
1332
- constructor() {
1333
- this.cdr.detach();
1334
- }
1335
- }
1336
- export { ProductSwitchItemComponent };
1337
- "
1338
- `;
1339
-
1340
- exports[`Snapshot test Fiori Product Switch should match the snapshot 1`] = `
1341
- "import {
1342
- ChangeDetectorRef,
1343
- Component,
1344
- ElementRef,
1345
- NgZone,
1346
- inject,
1347
- } from '@angular/core';
1348
- import '@ui5/webcomponents-fiori/dist/ProductSwitch.js';
1349
- import ProductSwitch from '@ui5/webcomponents-fiori/dist/ProductSwitch.js';
1350
-
1351
- @Component({
1352
- standalone: true,
1353
- selector: 'ui5-product-switch',
1354
- template: '<ng-content></ng-content>',
1355
- exportAs: 'ui5ProductSwitch',
1356
- })
1357
- class ProductSwitchComponent {
1358
- private elementRef: ElementRef<ProductSwitch> = inject(ElementRef);
1359
- private zone = inject(NgZone);
1360
- private cdr = inject(ChangeDetectorRef);
1361
-
1362
- get element(): ProductSwitch {
1363
- return this.elementRef.nativeElement;
1364
- }
1365
-
1366
- constructor() {
1367
- this.cdr.detach();
1368
- }
1369
- }
1370
- export { ProductSwitchComponent };
1371
- "
1372
- `;
1373
-
1374
- exports[`Snapshot test Fiori Search Item Group should match the snapshot 1`] = `
1375
- "import {
1376
- ChangeDetectorRef,
1377
- Component,
1378
- ElementRef,
1379
- EventEmitter,
1380
- NgZone,
1381
- inject,
1382
- } from '@angular/core';
1383
- import '@ui5/webcomponents-fiori/dist/SearchItemGroup.js';
1384
- import SearchItemGroup from '@ui5/webcomponents-fiori/dist/SearchItemGroup.js';
1385
- import { ProxyInputs, ProxyOutputs } from '@ui5/webcomponents-ngx/utils';
1386
- import { ListItemGroupMoveEventDetail } from '@ui5/webcomponents/dist/ListItemGroup.js';
1387
- @ProxyInputs(['headerText', 'headerAccessibleName', 'wrappingType'])
1388
- @ProxyOutputs(['move-over: ui5MoveOver', 'move: ui5Move'])
1389
- @Component({
1390
- standalone: true,
1391
- selector: 'ui5-search-item-group',
1392
- template: '<ng-content></ng-content>',
1393
- inputs: ['headerText', 'headerAccessibleName', 'wrappingType'],
1394
- outputs: ['ui5MoveOver', 'ui5Move'],
1395
- exportAs: 'ui5SearchItemGroup',
1396
- })
1397
- class SearchItemGroupComponent {
1398
- /**
1399
- Defines the header text of the <code>ui5-li-group</code>.
1400
- */
1401
- headerText!: string | undefined;
1402
- /**
1403
- Defines the accessible name of the header.
1404
- */
1405
- headerAccessibleName!: string | undefined;
1406
- /**
1407
- Defines if the text of the component should wrap when it's too long.
1408
- When set to \\"Normal\\", the content (title, description) will be wrapped
1409
- using the \`ui5-expandable-text\` component.<br/>
1410
-
1411
- The text can wrap up to 100 characters on small screens (size S) and
1412
- up to 300 characters on larger screens (size M and above). When text exceeds
1413
- these limits, it truncates with an ellipsis followed by a text expansion trigger.
1414
-
1415
- Available options are:
1416
- - \`None\` (default) - The text will truncate with an ellipsis.
1417
- - \`Normal\` - The text will wrap (without truncation).
1418
- */
1419
- wrappingType!: 'None' | 'Normal';
1420
-
1421
- /**
1422
- Fired when a movable list item is moved over a potential drop target during a dragging operation.
1423
-
1424
- If the new position is valid, prevent the default action of the event using \`preventDefault()\`.
1425
- */
1426
- ui5MoveOver!: EventEmitter<ListItemGroupMoveEventDetail>;
1427
- /**
1428
- Fired when a movable list item is dropped onto a drop target.
1429
-
1430
- **Note:** \`move\` event is fired only if there was a preceding \`move-over\` with prevented default action.
1431
- */
1432
- ui5Move!: EventEmitter<ListItemGroupMoveEventDetail>;
1433
-
1434
- private elementRef: ElementRef<SearchItemGroup> = inject(ElementRef);
1435
- private zone = inject(NgZone);
1436
- private cdr = inject(ChangeDetectorRef);
1437
-
1438
- get element(): SearchItemGroup {
1439
- return this.elementRef.nativeElement;
1440
- }
1441
-
1442
- constructor() {
1443
- this.cdr.detach();
1444
- }
1445
- }
1446
- export { SearchItemGroupComponent };
1447
- "
1448
- `;
1449
-
1450
- exports[`Snapshot test Fiori Search Item Show More should match the snapshot 1`] = `
1451
- "import {
1452
- ChangeDetectorRef,
1453
- Component,
1454
- ElementRef,
1455
- EventEmitter,
1456
- Input as InputDecorator,
1457
- NgZone,
1458
- booleanAttribute,
1459
- inject,
1460
- } from '@angular/core';
1461
- import '@ui5/webcomponents-fiori/dist/SearchItemShowMore.js';
1462
- import {
1463
- default as SearchItemShowMore,
1464
- ShowMoreItemClickEventDetail,
1465
- } from '@ui5/webcomponents-fiori/dist/SearchItemShowMore.js';
1466
- import { ProxyInputs, ProxyOutputs } from '@ui5/webcomponents-ngx/utils';
1467
- @ProxyInputs(['itemsToShowCount', 'selected'])
1468
- @ProxyOutputs(['click: ui5Click'])
1469
- @Component({
1470
- standalone: true,
1471
- selector: 'ui5-search-item-show-more',
1472
- template: '<ng-content></ng-content>',
1473
- inputs: ['itemsToShowCount', 'selected'],
1474
- outputs: ['ui5Click'],
1475
- exportAs: 'ui5SearchItemShowMore',
1476
- })
1477
- class SearchItemShowMoreComponent {
1478
- /**
1479
- Specifies the number of additional items available to show.
1480
- If no value is defined, the control shows \\"Show more\\" (without any counter).
1481
- If a number is provided, it displays \\"Show more (N)\\", where N is that number.
1482
- */
1483
- itemsToShowCount!: number | undefined;
1484
- /**
1485
- Defines whether the show more item is selected.
1486
- */
1487
- @InputDecorator({ transform: booleanAttribute })
1488
- selected!: boolean;
1489
-
1490
- /**
1491
- Fired when the component is activated, either with a mouse/tap
1492
- or by pressing the Enter or Space keys.
1493
- */
1494
- ui5Click!: EventEmitter<ShowMoreItemClickEventDetail>;
1495
-
1496
- private elementRef: ElementRef<SearchItemShowMore> = inject(ElementRef);
1497
- private zone = inject(NgZone);
1498
- private cdr = inject(ChangeDetectorRef);
1499
-
1500
- get element(): SearchItemShowMore {
1501
- return this.elementRef.nativeElement;
1502
- }
1503
-
1504
- constructor() {
1505
- this.cdr.detach();
1506
- }
1507
- }
1508
- export { SearchItemShowMoreComponent };
1509
- "
1510
- `;
1511
-
1512
- exports[`Snapshot test Fiori Search Item should match the snapshot 1`] = `
1513
- "import {
1514
- ChangeDetectorRef,
1515
- Component,
1516
- ElementRef,
1517
- EventEmitter,
1518
- Input as InputDecorator,
1519
- NgZone,
1520
- booleanAttribute,
1521
- inject,
1522
- } from '@angular/core';
1523
- import '@ui5/webcomponents-fiori/dist/SearchItem.js';
1524
- import SearchItem from '@ui5/webcomponents-fiori/dist/SearchItem.js';
1525
- import { ProxyInputs, ProxyOutputs } from '@ui5/webcomponents-ngx/utils';
1526
- @ProxyInputs([
1527
- 'text',
1528
- 'description',
1529
- 'icon',
1530
- 'selected',
1531
- 'deletable',
1532
- 'scopeName',
1533
- ])
1534
- @ProxyOutputs(['delete: ui5Delete'])
1535
- @Component({
1536
- standalone: true,
1537
- selector: 'ui5-search-item',
1538
- template: '<ng-content></ng-content>',
1539
- inputs: ['text', 'description', 'icon', 'selected', 'deletable', 'scopeName'],
1540
- outputs: ['ui5Delete'],
1541
- exportAs: 'ui5SearchItem',
1542
- })
1543
- class SearchItemComponent {
1544
- /**
1545
- Defines the heading text of the search item.
1546
- */
1547
- text!: string | undefined;
1548
- /**
1549
- Defines the description that appears right under the item text, if available.
1550
- */
1551
- description!: string | undefined;
1552
- /**
1553
- Defines the icon name of the search item.
1554
- **Note:** If provided, the image slot will be ignored.
1555
- */
1556
- icon!: string | undefined;
1557
- /**
1558
- Defines whether the search item is selected.
1559
- */
1560
- @InputDecorator({ transform: booleanAttribute })
1561
- selected!: boolean;
1562
- /**
1563
- Defines whether the search item is deletable.
1564
- */
1565
- @InputDecorator({ transform: booleanAttribute })
1566
- deletable!: boolean;
1567
- /**
1568
- Defines the scope of the search item
1569
- */
1570
- scopeName!: string | undefined;
1571
-
1572
- /**
1573
- Fired when delete button is pressed.
1574
- */
1575
- ui5Delete!: EventEmitter<void>;
1576
-
1577
- private elementRef: ElementRef<SearchItem> = inject(ElementRef);
1578
- private zone = inject(NgZone);
1579
- private cdr = inject(ChangeDetectorRef);
1580
-
1581
- get element(): SearchItem {
1582
- return this.elementRef.nativeElement;
1583
- }
1584
-
1585
- constructor() {
1586
- this.cdr.detach();
1587
- }
1588
- }
1589
- export { SearchItemComponent };
1590
- "
1591
- `;
1592
-
1593
- exports[`Snapshot test Fiori Search Message Area should match the snapshot 1`] = `
1594
- "import {
1595
- ChangeDetectorRef,
1596
- Component,
1597
- ElementRef,
1598
- NgZone,
1599
- inject,
1600
- } from '@angular/core';
1601
- import '@ui5/webcomponents-fiori/dist/SearchMessageArea.js';
1602
- import SearchMessageArea from '@ui5/webcomponents-fiori/dist/SearchMessageArea.js';
1603
- import { ProxyInputs } from '@ui5/webcomponents-ngx/utils';
1604
- @ProxyInputs(['text', 'description'])
1605
- @Component({
1606
- standalone: true,
1607
- selector: 'ui5-search-message-area',
1608
- template: '<ng-content></ng-content>',
1609
- inputs: ['text', 'description'],
1610
- exportAs: 'ui5SearchMessageArea',
1611
- })
1612
- class SearchMessageAreaComponent {
1613
- /**
1614
- Defines the text to be displayed.
1615
- */
1616
- text!: string | undefined;
1617
- /**
1618
- Defines the description text to be displayed.
1619
- */
1620
- description!: string | undefined;
1621
-
1622
- private elementRef: ElementRef<SearchMessageArea> = inject(ElementRef);
1623
- private zone = inject(NgZone);
1624
- private cdr = inject(ChangeDetectorRef);
1625
-
1626
- get element(): SearchMessageArea {
1627
- return this.elementRef.nativeElement;
1628
- }
1629
-
1630
- constructor() {
1631
- this.cdr.detach();
1632
- }
1633
- }
1634
- export { SearchMessageAreaComponent };
1635
- "
1636
- `;
1637
-
1638
- exports[`Snapshot test Fiori Search Scope should match the snapshot 1`] = `
1639
- "import {
1640
- ChangeDetectorRef,
1641
- Component,
1642
- ElementRef,
1643
- Input as InputDecorator,
1644
- NgZone,
1645
- booleanAttribute,
1646
- inject,
1647
- } from '@angular/core';
1648
- import '@ui5/webcomponents-fiori/dist/SearchScope.js';
1649
- import SearchScope from '@ui5/webcomponents-fiori/dist/SearchScope.js';
1650
- import { ProxyInputs } from '@ui5/webcomponents-ngx/utils';
1651
- @ProxyInputs(['text', 'selected'])
1652
- @Component({
1653
- standalone: true,
1654
- selector: 'ui5-search-scope',
1655
- template: '<ng-content></ng-content>',
1656
- inputs: ['text', 'selected'],
1657
- exportAs: 'ui5SearchScope',
1658
- })
1659
- class SearchScopeComponent {
1660
- /**
1661
- Defines the text of the component.
1662
- */
1663
- text!: string;
1664
- /**
1665
- Indicates whether the item is selected
1666
- */
1667
- @InputDecorator({ transform: booleanAttribute })
1668
- selected!: boolean;
1669
-
1670
- private elementRef: ElementRef<SearchScope> = inject(ElementRef);
1671
- private zone = inject(NgZone);
1672
- private cdr = inject(ChangeDetectorRef);
1673
-
1674
- get element(): SearchScope {
1675
- return this.elementRef.nativeElement;
1676
- }
1677
-
1678
- constructor() {
1679
- this.cdr.detach();
1680
- }
1681
- }
1682
- export { SearchScopeComponent };
1683
- "
1684
- `;
1685
-
1686
- exports[`Snapshot test Fiori Search should match the snapshot 1`] = `
1687
- "import {
1688
- ChangeDetectorRef,
1689
- Component,
1690
- ElementRef,
1691
- EventEmitter,
1692
- Input as InputDecorator,
1693
- NgZone,
1694
- booleanAttribute,
1695
- inject,
1696
- } from '@angular/core';
1697
- import '@ui5/webcomponents-fiori/dist/Search.js';
1698
- import Search from '@ui5/webcomponents-fiori/dist/Search.js';
1699
- import { SearchFieldScopeSelectionChangeDetails } from '@ui5/webcomponents-fiori/dist/SearchField.js';
1700
- import { ProxyInputs, ProxyOutputs } from '@ui5/webcomponents-ngx/utils';
1701
- @ProxyInputs([
1702
- 'loading',
1703
- 'noTypeahead',
1704
- 'open',
1705
- 'showClearIcon',
1706
- 'value',
1707
- 'placeholder',
1708
- 'accessibleName',
1709
- 'accessibleDescription',
1710
- ])
1711
- @ProxyOutputs([
1712
- 'open: ui5Open',
1713
- 'close: ui5Close',
1714
- 'input: ui5Input',
1715
- 'scope-change: ui5ScopeChange',
1716
- 'search: ui5Search',
1717
- ])
1718
- @Component({
1719
- standalone: true,
1720
- selector: 'ui5-search',
1721
- template: '<ng-content></ng-content>',
1722
- inputs: [
1723
- 'loading',
1724
- 'noTypeahead',
1725
- 'open',
1726
- 'showClearIcon',
1727
- 'value',
1728
- 'placeholder',
1729
- 'accessibleName',
1730
- 'accessibleDescription',
1731
- ],
1732
- outputs: ['ui5Open', 'ui5Close', 'ui5Input', 'ui5ScopeChange', 'ui5Search'],
1733
- exportAs: 'ui5Search',
1734
- })
1735
- class SearchComponent {
1736
- /**
1737
- Indicates whether a loading indicator should be shown in the popup.
1738
- */
1739
- @InputDecorator({ transform: booleanAttribute })
1740
- loading!: boolean;
1741
- /**
1742
- Defines whether the value will be autcompleted to match an item.
1743
- */
1744
- @InputDecorator({ transform: booleanAttribute })
1745
- noTypeahead!: boolean;
1746
- /**
1747
- Indicates whether the items picker is open.
1748
- */
1749
- @InputDecorator({ transform: booleanAttribute })
1750
- open!: boolean;
1751
- /**
1752
- Defines whether the clear icon of the search will be shown.
1753
- */
1754
- @InputDecorator({ transform: booleanAttribute })
1755
- showClearIcon!: boolean;
1756
- /**
1757
- Defines the value of the component.
1758
-
1759
- **Note:** The property is updated upon typing.
1760
- */
1761
- value!: string;
1762
- /**
1763
- Defines a short hint intended to aid the user with data entry when the
1764
- component has no value.
1765
- */
1766
- placeholder!: string | undefined;
1767
- /**
1768
- Defines the accessible ARIA name of the component.
1769
- */
1770
- accessibleName!: string | undefined;
1771
- /**
1772
- Defines the accessible ARIA description of the field.
1773
- */
1774
- accessibleDescription!: string | undefined;
1775
-
1776
- /**
1777
- Fired when the popup is opened.
1778
- */
1779
- ui5Open!: EventEmitter<void>;
1780
- /**
1781
- Fired when the popup is closed.
1782
- */
1783
- ui5Close!: EventEmitter<void>;
1784
- /**
1785
- Fired when typing in input or clear icon is pressed.
1786
- */
1787
- ui5Input!: EventEmitter<void>;
1788
- /**
1789
- Fired when the scope has changed.
1790
- */
1791
- ui5ScopeChange!: EventEmitter<SearchFieldScopeSelectionChangeDetails>;
1792
- /**
1793
- Fired when the user has triggered search with Enter key or Search Button press.
1794
- */
1795
- ui5Search!: EventEmitter<void>;
1796
-
1797
- private elementRef: ElementRef<Search> = inject(ElementRef);
1798
- private zone = inject(NgZone);
1799
- private cdr = inject(ChangeDetectorRef);
1800
-
1801
- get element(): Search {
1802
- return this.elementRef.nativeElement;
1803
- }
1804
-
1805
- constructor() {
1806
- this.cdr.detach();
1807
- }
1808
- }
1809
- export { SearchComponent };
1810
- "
1811
- `;
1812
-
1813
- exports[`Snapshot test Fiori Shell Bar Branding should match the snapshot 1`] = `
1814
- "import {
1815
- ChangeDetectorRef,
1816
- Component,
1817
- ElementRef,
1818
- EventEmitter,
1819
- NgZone,
1820
- inject,
1821
- } from '@angular/core';
1822
- import '@ui5/webcomponents-fiori/dist/ShellBarBranding.js';
1823
- import ShellBarBranding from '@ui5/webcomponents-fiori/dist/ShellBarBranding.js';
1824
- import { ProxyInputs, ProxyOutputs } from '@ui5/webcomponents-ngx/utils';
1825
- @ProxyInputs(['href', 'target', 'accessibleName'])
1826
- @ProxyOutputs(['click: ui5Click'])
1827
- @Component({
1828
- standalone: true,
1829
- selector: 'ui5-shellbar-branding',
1830
- template: '<ng-content></ng-content>',
1831
- inputs: ['href', 'target', 'accessibleName'],
1832
- outputs: ['ui5Click'],
1833
- exportAs: 'ui5ShellbarBranding',
1834
- })
1835
- class ShellBarBrandingComponent {
1836
- /**
1837
- Defines the component href.
1838
-
1839
- **Note:** Standard hyperlink behavior is supported.
1840
- */
1841
- href!: string | undefined;
1842
- /**
1843
- Defines the component target.
1844
-
1845
- **Notes:**
1846
-
1847
- - \`_self\`
1848
- - \`_top\`
1849
- - \`_blank\`
1850
- - \`_parent\`
1851
- - \`_search\`
1852
-
1853
- **This property must only be used when the \`href\` property is set.**
1854
- */
1855
- target!: string | undefined;
1856
- /**
1857
- Defines the text alternative of the component.
1858
- If not provided a default text alternative will be set, if present.
1859
- */
1860
- accessibleName!: string | undefined;
1861
-
1862
- /**
1863
- Fired, when the logo is activated.
1864
- */
1865
- ui5Click!: EventEmitter<void>;
1866
-
1867
- private elementRef: ElementRef<ShellBarBranding> = inject(ElementRef);
1868
- private zone = inject(NgZone);
1869
- private cdr = inject(ChangeDetectorRef);
1870
-
1871
- get element(): ShellBarBranding {
1872
- return this.elementRef.nativeElement;
1873
- }
1874
-
1875
- constructor() {
1876
- this.cdr.detach();
1877
- }
1878
- }
1879
- export { ShellBarBrandingComponent };
1880
- "
1881
- `;
1882
-
1883
- exports[`Snapshot test Fiori Shell Bar Item should match the snapshot 1`] = `
1884
- "import {
1885
- ChangeDetectorRef,
1886
- Component,
1887
- ElementRef,
1888
- EventEmitter,
1889
- NgZone,
1890
- inject,
1891
- } from '@angular/core';
1892
- import '@ui5/webcomponents-fiori/dist/ShellBarItem.js';
1893
- import {
1894
- default as ShellBarItem,
1895
- ShellBarItemAccessibilityAttributes,
1896
- ShellBarItemClickEventDetail,
1897
- } from '@ui5/webcomponents-fiori/dist/ShellBarItem.js';
1898
- import { ProxyInputs, ProxyOutputs } from '@ui5/webcomponents-ngx/utils';
1899
- @ProxyInputs(['icon', 'text', 'count', 'accessibilityAttributes'])
1900
- @ProxyOutputs(['click: ui5Click'])
1901
- @Component({
1902
- standalone: true,
1903
- selector: 'ui5-shellbar-item',
1904
- template: '<ng-content></ng-content>',
1905
- inputs: ['icon', 'text', 'count', 'accessibilityAttributes'],
1906
- outputs: ['ui5Click'],
1907
- exportAs: 'ui5ShellbarItem',
1908
- })
1909
- class ShellBarItemComponent {
1910
- /**
1911
- Defines the name of the item's icon.
1912
- */
1913
- icon!: string | undefined;
1914
- /**
1915
- Defines the item text.
1916
-
1917
- **Note:** The text is only displayed inside the overflow popover list view.
1918
- */
1919
- text!: string | undefined;
1920
- /**
1921
- Defines the count displayed in the top-right corner.
1922
- */
1923
- count!: string | undefined;
1924
- /**
1925
- Defines additional accessibility attributes on Shellbar Items.
1926
-
1927
- The accessibility attributes support the following values:
1928
-
1929
- - **expanded**: Indicates whether the button, or another grouping element it controls,
1930
- is currently expanded or collapsed.
1931
- Accepts the following string values: \`true\` or \`false\`.
1932
-
1933
- - **hasPopup**: Indicates the availability and type of interactive popup element,
1934
- such as menu or dialog, that can be triggered by the button.
1935
-
1936
- - **controls**: Identifies the element (or elements) whose contents
1937
- or presence are controlled by the component.
1938
- Accepts a lowercase string value, referencing the ID of the element it controls.
1939
- */
1940
- accessibilityAttributes!: ShellBarItemAccessibilityAttributes;
1941
-
1942
- /**
1943
- Fired, when the item is pressed.
1944
- */
1945
- ui5Click!: EventEmitter<ShellBarItemClickEventDetail>;
1946
-
1947
- private elementRef: ElementRef<ShellBarItem> = inject(ElementRef);
1948
- private zone = inject(NgZone);
1949
- private cdr = inject(ChangeDetectorRef);
1950
-
1951
- get element(): ShellBarItem {
1952
- return this.elementRef.nativeElement;
1953
- }
1954
-
1955
- constructor() {
1956
- this.cdr.detach();
1957
- }
1958
- }
1959
- export { ShellBarItemComponent };
1960
- "
1961
- `;
1962
-
1963
- exports[`Snapshot test Fiori Shell Bar Search should match the snapshot 1`] = `
1964
- "import {
1965
- ChangeDetectorRef,
1966
- Component,
1967
- ElementRef,
1968
- EventEmitter,
1969
- Input as InputDecorator,
1970
- NgZone,
1971
- booleanAttribute,
1972
- inject,
1973
- } from '@angular/core';
1974
- import { SearchFieldScopeSelectionChangeDetails } from '@ui5/webcomponents-fiori/dist/SearchField.js';
1975
- import '@ui5/webcomponents-fiori/dist/ShellBarSearch.js';
1976
- import ShellBarSearch from '@ui5/webcomponents-fiori/dist/ShellBarSearch.js';
1977
- import { ProxyInputs, ProxyOutputs } from '@ui5/webcomponents-ngx/utils';
1978
- @ProxyInputs([
1979
- 'loading',
1980
- 'noTypeahead',
1981
- 'open',
1982
- 'showClearIcon',
1983
- 'value',
1984
- 'placeholder',
1985
- 'accessibleName',
1986
- 'accessibleDescription',
1987
- 'autoOpen',
1988
- ])
1989
- @ProxyOutputs([
1990
- 'open: ui5Open',
1991
- 'close: ui5Close',
1992
- 'input: ui5Input',
1993
- 'scope-change: ui5ScopeChange',
1994
- 'search: ui5Search',
1995
- ])
1996
- @Component({
1997
- standalone: true,
1998
- selector: 'ui5-shellbar-search',
1999
- template: '<ng-content></ng-content>',
2000
- inputs: [
2001
- 'loading',
2002
- 'noTypeahead',
2003
- 'open',
2004
- 'showClearIcon',
2005
- 'value',
2006
- 'placeholder',
2007
- 'accessibleName',
2008
- 'accessibleDescription',
2009
- 'autoOpen',
2010
- ],
2011
- outputs: ['ui5Open', 'ui5Close', 'ui5Input', 'ui5ScopeChange', 'ui5Search'],
2012
- exportAs: 'ui5ShellbarSearch',
2013
- })
2014
- class ShellBarSearchComponent {
2015
- /**
2016
- Indicates whether a loading indicator should be shown in the popup.
2017
- */
2018
- @InputDecorator({ transform: booleanAttribute })
2019
- loading!: boolean;
2020
- /**
2021
- Defines whether the value will be autcompleted to match an item.
2022
- */
2023
- @InputDecorator({ transform: booleanAttribute })
2024
- noTypeahead!: boolean;
2025
- /**
2026
- Indicates whether the items picker is open.
2027
- */
2028
- @InputDecorator({ transform: booleanAttribute })
2029
- open!: boolean;
2030
- /**
2031
- Defines whether the clear icon of the search will be shown.
2032
- */
2033
- @InputDecorator({ transform: booleanAttribute })
2034
- showClearIcon!: boolean;
2035
- /**
2036
- Defines the value of the component.
2037
-
2038
- **Note:** The property is updated upon typing.
2039
- */
2040
- value!: string;
2041
- /**
2042
- Defines a short hint intended to aid the user with data entry when the
2043
- component has no value.
2044
- */
2045
- placeholder!: string | undefined;
2046
- /**
2047
- Defines the accessible ARIA name of the component.
2048
- */
2049
- accessibleName!: string | undefined;
2050
- /**
2051
- Defines the accessible ARIA description of the field.
2052
- */
2053
- accessibleDescription!: string | undefined;
2054
- /**
2055
- Indicates whether the suggestions popover should be opened on focus.
2056
- */
2057
- @InputDecorator({ transform: booleanAttribute })
2058
- autoOpen!: boolean;
2059
-
2060
- /**
2061
- Fired when the popup is opened.
2062
- */
2063
- ui5Open!: EventEmitter<void>;
2064
- /**
2065
- Fired when the popup is closed.
2066
- */
2067
- ui5Close!: EventEmitter<void>;
2068
- /**
2069
- Fired when typing in input or clear icon is pressed.
2070
- */
2071
- ui5Input!: EventEmitter<void>;
2072
- /**
2073
- Fired when the scope has changed.
2074
- */
2075
- ui5ScopeChange!: EventEmitter<SearchFieldScopeSelectionChangeDetails>;
2076
- /**
2077
- Fired when the user has triggered search with Enter key or Search Button press.
2078
- */
2079
- ui5Search!: EventEmitter<void>;
2080
-
2081
- private elementRef: ElementRef<ShellBarSearch> = inject(ElementRef);
2082
- private zone = inject(NgZone);
2083
- private cdr = inject(ChangeDetectorRef);
2084
-
2085
- get element(): ShellBarSearch {
2086
- return this.elementRef.nativeElement;
2087
- }
2088
-
2089
- constructor() {
2090
- this.cdr.detach();
2091
- }
2092
- }
2093
- export { ShellBarSearchComponent };
2094
- "
2095
- `;
2096
-
2097
- exports[`Snapshot test Fiori Shell Bar Spacer should match the snapshot 1`] = `
2098
- "import {
2099
- ChangeDetectorRef,
2100
- Component,
2101
- ElementRef,
2102
- NgZone,
2103
- inject,
2104
- } from '@angular/core';
2105
- import '@ui5/webcomponents-fiori/dist/ShellBarSpacer.js';
2106
- import ShellBarSpacer from '@ui5/webcomponents-fiori/dist/ShellBarSpacer.js';
2107
-
2108
- @Component({
2109
- standalone: true,
2110
- selector: 'ui5-shellbar-spacer',
2111
- template: '<ng-content></ng-content>',
2112
- exportAs: 'ui5ShellbarSpacer',
2113
- })
2114
- class ShellBarSpacerComponent {
2115
- private elementRef: ElementRef<ShellBarSpacer> = inject(ElementRef);
2116
- private zone = inject(NgZone);
2117
- private cdr = inject(ChangeDetectorRef);
2118
-
2119
- get element(): ShellBarSpacer {
2120
- return this.elementRef.nativeElement;
2121
- }
2122
-
2123
- constructor() {
2124
- this.cdr.detach();
2125
- }
2126
- }
2127
- export { ShellBarSpacerComponent };
2128
- "
2129
- `;
2130
-
2131
- exports[`Snapshot test Fiori Shell Bar should match the snapshot 1`] = `
2132
- "import {
2133
- ChangeDetectorRef,
2134
- Component,
2135
- ElementRef,
2136
- EventEmitter,
2137
- Input as InputDecorator,
2138
- NgZone,
2139
- booleanAttribute,
2140
- inject,
2141
- } from '@angular/core';
2142
- import '@ui5/webcomponents-fiori/dist/ShellBar.js';
2143
- import {
2144
- default as ShellBar,
2145
- ShellBarAccessibilityAttributes,
2146
- ShellBarContentItemVisibilityChangeEventDetail,
2147
- ShellBarLogoClickEventDetail,
2148
- ShellBarMenuItemClickEventDetail,
2149
- ShellBarNotificationsClickEventDetail,
2150
- ShellBarProductSwitchClickEventDetail,
2151
- ShellBarProfileClickEventDetail,
2152
- ShellBarSearchButtonEventDetail,
2153
- ShellBarSearchFieldClearEventDetail,
2154
- ShellBarSearchFieldToggleEventDetail,
2155
- } from '@ui5/webcomponents-fiori/dist/ShellBar.js';
2156
- import { ProxyInputs, ProxyOutputs } from '@ui5/webcomponents-ngx/utils';
2157
- @ProxyInputs([
2158
- 'hideSearchButton',
2159
- 'disableSearchCollapse',
2160
- 'primaryTitle',
2161
- 'secondaryTitle',
2162
- 'notificationsCount',
2163
- 'showNotifications',
2164
- 'showProductSwitch',
2165
- 'showSearchField',
2166
- 'accessibilityAttributes',
2167
- ])
2168
- @ProxyOutputs([
2169
- 'notifications-click: ui5NotificationsClick',
2170
- 'profile-click: ui5ProfileClick',
2171
- 'product-switch-click: ui5ProductSwitchClick',
2172
- 'logo-click: ui5LogoClick',
2173
- 'menu-item-click: ui5MenuItemClick',
2174
- 'search-button-click: ui5SearchButtonClick',
2175
- 'search-field-toggle: ui5SearchFieldToggle',
2176
- 'search-field-clear: ui5SearchFieldClear',
2177
- 'content-item-visibility-change: ui5ContentItemVisibilityChange',
2178
- ])
2179
- @Component({
2180
- standalone: true,
2181
- selector: 'ui5-shellbar',
2182
- template: '<ng-content></ng-content>',
2183
- inputs: [
2184
- 'hideSearchButton',
2185
- 'disableSearchCollapse',
2186
- 'primaryTitle',
2187
- 'secondaryTitle',
2188
- 'notificationsCount',
2189
- 'showNotifications',
2190
- 'showProductSwitch',
2191
- 'showSearchField',
2192
- 'accessibilityAttributes',
2193
- ],
2194
- outputs: [
2195
- 'ui5NotificationsClick',
2196
- 'ui5ProfileClick',
2197
- 'ui5ProductSwitchClick',
2198
- 'ui5LogoClick',
2199
- 'ui5MenuItemClick',
2200
- 'ui5SearchButtonClick',
2201
- 'ui5SearchFieldToggle',
2202
- 'ui5SearchFieldClear',
2203
- 'ui5ContentItemVisibilityChange',
2204
- ],
2205
- exportAs: 'ui5Shellbar',
2206
- })
2207
- class ShellBarComponent {
2208
- /**
2209
- Defines the visibility state of the search button.
2210
-
2211
- **Note:** The \`hideSearchButton\` property is in an experimental state and is a subject to change.
2212
- */
2213
- @InputDecorator({ transform: booleanAttribute })
2214
- hideSearchButton!: boolean;
2215
- /**
2216
- Disables the automatic search field expansion/collapse when the available space is not enough.
2217
-
2218
- **Note:** The \`disableSearchCollapse\` property is in an experimental state and is a subject to change.
2219
- */
2220
- @InputDecorator({ transform: booleanAttribute })
2221
- disableSearchCollapse!: boolean;
2222
- /**
2223
- Defines the \`primaryTitle\`.
2224
-
2225
- **Note:** The \`primaryTitle\` would be hidden on S screen size (less than approx. 700px).
2226
- */
2227
- primaryTitle!: string | undefined;
2228
- /**
2229
- Defines the \`secondaryTitle\`.
2230
-
2231
- **Note:** The \`secondaryTitle\` would be hidden on S and M screen sizes (less than approx. 1300px).
2232
- */
2233
- secondaryTitle!: string | undefined;
2234
- /**
2235
- Defines the \`notificationsCount\`,
2236
- displayed in the notification icon top-right corner.
2237
- */
2238
- notificationsCount!: string | undefined;
2239
- /**
2240
- Defines, if the notification icon would be displayed.
2241
- */
2242
- @InputDecorator({ transform: booleanAttribute })
2243
- showNotifications!: boolean;
2244
- /**
2245
- Defines, if the product switch icon would be displayed.
2246
- */
2247
- @InputDecorator({ transform: booleanAttribute })
2248
- showProductSwitch!: boolean;
2249
- /**
2250
- Defines, if the Search Field would be displayed when there is a valid \`searchField\` slot.
2251
-
2252
- **Note:** By default the Search Field is not displayed.
2253
- */
2254
- @InputDecorator({ transform: booleanAttribute })
2255
- showSearchField!: boolean;
2256
- /**
2257
- Defines additional accessibility attributes on different areas of the component.
2258
-
2259
- The accessibilityAttributes object has the following fields,
2260
- where each field is an object supporting one or more accessibility attributes:
2261
-
2262
- - **logo** - \`logo.role\` and \`logo.name\`.
2263
- - **notifications** - \`notifications.expanded\` and \`notifications.hasPopup\`.
2264
- - **profile** - \`profile.expanded\`, \`profile.hasPopup\` and \`profile.name\`.
2265
- - **product** - \`product.expanded\` and \`product.hasPopup\`.
2266
- - **search** - \`search.hasPopup\`.
2267
- - **overflow** - \`overflow.expanded\` and \`overflow.hasPopup\`.
2268
- - **branding** - \`branding.name\`.
2269
-
2270
- The accessibility attributes support the following values:
2271
-
2272
- - **role**: Defines the accessible ARIA role of the logo area.
2273
- Accepts the following string values: \`button\` or \`link\`.
2274
-
2275
- - **expanded**: Indicates whether the button, or another grouping element it controls,
2276
- is currently expanded or collapsed.
2277
- Accepts the following string values: \`true\` or \`false\`.
2278
-
2279
- - **hasPopup**: Indicates the availability and type of interactive popup element,
2280
- such as menu or dialog, that can be triggered by the button.
2281
-
2282
- Accepts the following string values: \`dialog\`, \`grid\`, \`listbox\`, \`menu\` or \`tree\`.
2283
- - **name**: Defines the accessible ARIA name of the area.
2284
- Accepts any string.
2285
- */
2286
- accessibilityAttributes!: ShellBarAccessibilityAttributes;
2287
-
2288
- /**
2289
- Fired, when the notification icon is activated.
2290
- */
2291
- ui5NotificationsClick!: EventEmitter<ShellBarNotificationsClickEventDetail>;
2292
- /**
2293
- Fired, when the profile slot is present.
2294
- */
2295
- ui5ProfileClick!: EventEmitter<ShellBarProfileClickEventDetail>;
2296
- /**
2297
- Fired, when the product switch icon is activated.
2298
-
2299
- **Note:** You can prevent closing of overflow popover by calling \`event.preventDefault()\`.
2300
- */
2301
- ui5ProductSwitchClick!: EventEmitter<ShellBarProductSwitchClickEventDetail>;
2302
- /**
2303
- Fired, when the logo is activated.
2304
- */
2305
- ui5LogoClick!: EventEmitter<ShellBarLogoClickEventDetail>;
2306
- /**
2307
- Fired, when a menu item is activated
2308
-
2309
- **Note:** You can prevent closing of overflow popover by calling \`event.preventDefault()\`.
2310
- */
2311
- ui5MenuItemClick!: EventEmitter<ShellBarMenuItemClickEventDetail>;
2312
- /**
2313
- Fired, when the search button is activated.
2314
-
2315
- **Note:** You can prevent expanding/collapsing of the search field by calling \`event.preventDefault()\`.
2316
- */
2317
- ui5SearchButtonClick!: EventEmitter<ShellBarSearchButtonEventDetail>;
2318
- /**
2319
- Fired, when the search field is expanded or collapsed.
2320
- */
2321
- ui5SearchFieldToggle!: EventEmitter<ShellBarSearchFieldToggleEventDetail>;
2322
- /**
2323
- Fired, when the search cancel button is activated.
2324
-
2325
- **Note:** You can prevent the default behavior (clearing the search field value) by calling \`event.preventDefault()\`. The search will still be closed.
2326
- **Note:** The \`search-field-clear\` event is in an experimental state and is a subject to change.
2327
- */
2328
- ui5SearchFieldClear!: EventEmitter<ShellBarSearchFieldClearEventDetail>;
2329
- /**
2330
- Fired, when an item from the content slot is hidden or shown.
2331
- **Note:** The \`content-item-visibility-change\` event is in an experimental state and is a subject to change.
2332
- */
2333
- ui5ContentItemVisibilityChange!: EventEmitter<ShellBarContentItemVisibilityChangeEventDetail>;
2334
-
2335
- private elementRef: ElementRef<ShellBar> = inject(ElementRef);
2336
- private zone = inject(NgZone);
2337
- private cdr = inject(ChangeDetectorRef);
2338
-
2339
- get element(): ShellBar {
2340
- return this.elementRef.nativeElement;
2341
- }
2342
-
2343
- constructor() {
2344
- this.cdr.detach();
2345
- }
2346
- }
2347
- export { ShellBarComponent };
2348
- "
2349
- `;
2350
-
2351
- exports[`Snapshot test Fiori Side Navigation Group should match the snapshot 1`] = `
2352
- "import {
2353
- ChangeDetectorRef,
2354
- Component,
2355
- ElementRef,
2356
- Input as InputDecorator,
2357
- NgZone,
2358
- booleanAttribute,
2359
- inject,
2360
- } from '@angular/core';
2361
- import '@ui5/webcomponents-fiori/dist/SideNavigationGroup.js';
2362
- import SideNavigationGroup from '@ui5/webcomponents-fiori/dist/SideNavigationGroup.js';
2363
- import { ProxyInputs } from '@ui5/webcomponents-ngx/utils';
2364
- @ProxyInputs(['text', 'disabled', 'tooltip', 'expanded'])
2365
- @Component({
2366
- standalone: true,
2367
- selector: 'ui5-side-navigation-group',
2368
- template: '<ng-content></ng-content>',
2369
- inputs: ['text', 'disabled', 'tooltip', 'expanded'],
2370
- exportAs: 'ui5SideNavigationGroup',
2371
- })
2372
- class SideNavigationGroupComponent {
2373
- /**
2374
- Defines the text of the item.
2375
- */
2376
- text!: string | undefined;
2377
- /**
2378
- Defines whether the component is disabled.
2379
- A disabled component can't be pressed or
2380
- focused, and it is not in the tab chain.
2381
- */
2382
- @InputDecorator({ transform: booleanAttribute })
2383
- disabled!: boolean;
2384
- /**
2385
- Defines the tooltip of the component.
2386
-
2387
- A tooltip attribute should be provided, in order to represent meaning/function,
2388
- when the component is collapsed (\\"icon only\\" design is visualized) or the item text is truncated.
2389
- */
2390
- tooltip!: string | undefined;
2391
- /**
2392
- Defines if the item is expanded
2393
- */
2394
- @InputDecorator({ transform: booleanAttribute })
2395
- expanded!: boolean;
2396
-
2397
- private elementRef: ElementRef<SideNavigationGroup> = inject(ElementRef);
2398
- private zone = inject(NgZone);
2399
- private cdr = inject(ChangeDetectorRef);
2400
-
2401
- get element(): SideNavigationGroup {
2402
- return this.elementRef.nativeElement;
2403
- }
2404
-
2405
- constructor() {
2406
- this.cdr.detach();
2407
- }
2408
- }
2409
- export { SideNavigationGroupComponent };
2410
- "
2411
- `;
2412
-
2413
- exports[`Snapshot test Fiori Side Navigation Item should match the snapshot 1`] = `
2414
- "import {
2415
- ChangeDetectorRef,
2416
- Component,
2417
- ElementRef,
2418
- EventEmitter,
2419
- Input as InputDecorator,
2420
- NgZone,
2421
- booleanAttribute,
2422
- inject,
2423
- } from '@angular/core';
2424
- import '@ui5/webcomponents-fiori/dist/SideNavigationItem.js';
2425
- import SideNavigationItem from '@ui5/webcomponents-fiori/dist/SideNavigationItem.js';
2426
- import { SideNavigationItemClickEventDetail } from '@ui5/webcomponents-fiori/dist/SideNavigationItemBase.js';
2427
- import { SideNavigationItemAccessibilityAttributes } from '@ui5/webcomponents-fiori/dist/SideNavigationSelectableItemBase.js';
2428
- import { ProxyInputs, ProxyOutputs } from '@ui5/webcomponents-ngx/utils';
2429
- @ProxyInputs([
2430
- 'text',
2431
- 'disabled',
2432
- 'tooltip',
2433
- 'icon',
2434
- 'selected',
2435
- 'href',
2436
- 'target',
2437
- 'design',
2438
- 'unselectable',
2439
- 'accessibilityAttributes',
2440
- 'expanded',
2441
- ])
2442
- @ProxyOutputs(['click: ui5Click'])
2443
- @Component({
2444
- standalone: true,
2445
- selector: 'ui5-side-navigation-item',
2446
- template: '<ng-content></ng-content>',
2447
- inputs: [
2448
- 'text',
2449
- 'disabled',
2450
- 'tooltip',
2451
- 'icon',
2452
- 'selected',
2453
- 'href',
2454
- 'target',
2455
- 'design',
2456
- 'unselectable',
2457
- 'accessibilityAttributes',
2458
- 'expanded',
2459
- ],
2460
- outputs: ['ui5Click'],
2461
- exportAs: 'ui5SideNavigationItem',
2462
- })
2463
- class SideNavigationItemComponent {
2464
- /**
2465
- Defines the text of the item.
2466
- */
2467
- text!: string | undefined;
2468
- /**
2469
- Defines whether the component is disabled.
2470
- A disabled component can't be pressed or
2471
- focused, and it is not in the tab chain.
2472
- */
2473
- @InputDecorator({ transform: booleanAttribute })
2474
- disabled!: boolean;
2475
- /**
2476
- Defines the tooltip of the component.
2477
-
2478
- A tooltip attribute should be provided, in order to represent meaning/function,
2479
- when the component is collapsed (\\"icon only\\" design is visualized) or the item text is truncated.
2480
- */
2481
- tooltip!: string | undefined;
2482
- /**
2483
- Defines the icon of the item.
2484
-
2485
- The SAP-icons font provides numerous options.
2486
-
2487
- See all the available icons in the [Icon Explorer](https://sdk.openui5.org/test-resources/sap/m/demokit/iconExplorer/webapp/index.html).
2488
- */
2489
- icon!: string | undefined;
2490
- /**
2491
- Defines whether the item is selected.
2492
-
2493
- **Note:** Items that have a set \`href\` and \`target\` set to \`_blank\` should not be selectable.
2494
- */
2495
- @InputDecorator({ transform: booleanAttribute })
2496
- selected!: boolean;
2497
- /**
2498
- Defines the link target URI. Supports standard hyperlink behavior.
2499
- If a JavaScript action should be triggered,
2500
- this should not be set, but instead an event handler
2501
- for the \`click\` event should be registered.
2502
- */
2503
- href!: string | undefined;
2504
- /**
2505
- Defines the component target.
2506
-
2507
- Possible values:
2508
-
2509
- - \`_self\`
2510
- - \`_top\`
2511
- - \`_blank\`
2512
- - \`_parent\`
2513
- - \`framename\`
2514
-
2515
- **Note:** Items that have a defined \`href\` and \`target\`
2516
- attribute set to \`_blank\` should not be selectable.
2517
- */
2518
- target!: string | undefined;
2519
- /**
2520
- Item design.
2521
-
2522
- **Note:** Items with \\"Action\\" design must not have sub-items.
2523
- */
2524
- design!: 'Default' | 'Action';
2525
- /**
2526
- Indicates whether the navigation item is selectable. By default, all items are selectable unless specifically marked as unselectable.
2527
-
2528
- When a parent item is marked as unselectable, selecting it will only expand or collapse its sub-items.
2529
- To improve user experience do not mix unselectable parent items with selectable parent items in a single side navigation.
2530
-
2531
-
2532
- **Guidelines**:
2533
- - Items with an assigned \`href\` and a target of \`_blank\` should be marked as unselectable.
2534
- - Items that trigger actions (with design \\"Action\\") should be marked as unselectable.
2535
- */
2536
- @InputDecorator({ transform: booleanAttribute })
2537
- unselectable!: boolean;
2538
- /**
2539
- Defines the additional accessibility attributes that will be applied to the component.
2540
- The following fields are supported:
2541
-
2542
- - **hasPopup**: Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by the button.
2543
- Accepts the following string values: \`dialog\`, \`grid\`, \`listbox\`, \`menu\` or \`tree\`.
2544
-
2545
- **Note:** Do not use it on parent items, as it will be overridden if the item is in the overflow menu.
2546
- */
2547
- accessibilityAttributes!: SideNavigationItemAccessibilityAttributes;
2548
- /**
2549
- Defines if the item is expanded
2550
- */
2551
- @InputDecorator({ transform: booleanAttribute })
2552
- expanded!: boolean;
2553
-
2554
- /**
2555
- Fired when the component is activated either with a click/tap or by using the [Enter] or [Space] keys.
2556
- */
2557
- ui5Click!: EventEmitter<SideNavigationItemClickEventDetail>;
2558
-
2559
- private elementRef: ElementRef<SideNavigationItem> = inject(ElementRef);
2560
- private zone = inject(NgZone);
2561
- private cdr = inject(ChangeDetectorRef);
2562
-
2563
- get element(): SideNavigationItem {
2564
- return this.elementRef.nativeElement;
2565
- }
2566
-
2567
- constructor() {
2568
- this.cdr.detach();
2569
- }
2570
- }
2571
- export { SideNavigationItemComponent };
2572
- "
2573
- `;
2574
-
2575
- exports[`Snapshot test Fiori Side Navigation Sub Item should match the snapshot 1`] = `
2576
- "import {
2577
- ChangeDetectorRef,
2578
- Component,
2579
- ElementRef,
2580
- EventEmitter,
2581
- Input as InputDecorator,
2582
- NgZone,
2583
- booleanAttribute,
2584
- inject,
2585
- } from '@angular/core';
2586
- import { SideNavigationItemClickEventDetail } from '@ui5/webcomponents-fiori/dist/SideNavigationItemBase.js';
2587
- import { SideNavigationItemAccessibilityAttributes } from '@ui5/webcomponents-fiori/dist/SideNavigationSelectableItemBase.js';
2588
- import '@ui5/webcomponents-fiori/dist/SideNavigationSubItem.js';
2589
- import SideNavigationSubItem from '@ui5/webcomponents-fiori/dist/SideNavigationSubItem.js';
2590
- import { ProxyInputs, ProxyOutputs } from '@ui5/webcomponents-ngx/utils';
2591
- @ProxyInputs([
2592
- 'text',
2593
- 'disabled',
2594
- 'tooltip',
2595
- 'icon',
2596
- 'selected',
2597
- 'href',
2598
- 'target',
2599
- 'design',
2600
- 'unselectable',
2601
- 'accessibilityAttributes',
2602
- ])
2603
- @ProxyOutputs(['click: ui5Click'])
2604
- @Component({
2605
- standalone: true,
2606
- selector: 'ui5-side-navigation-sub-item',
2607
- template: '<ng-content></ng-content>',
2608
- inputs: [
2609
- 'text',
2610
- 'disabled',
2611
- 'tooltip',
2612
- 'icon',
2613
- 'selected',
2614
- 'href',
2615
- 'target',
2616
- 'design',
2617
- 'unselectable',
2618
- 'accessibilityAttributes',
2619
- ],
2620
- outputs: ['ui5Click'],
2621
- exportAs: 'ui5SideNavigationSubItem',
2622
- })
2623
- class SideNavigationSubItemComponent {
2624
- /**
2625
- Defines the text of the item.
2626
- */
2627
- text!: string | undefined;
2628
- /**
2629
- Defines whether the component is disabled.
2630
- A disabled component can't be pressed or
2631
- focused, and it is not in the tab chain.
2632
- */
2633
- @InputDecorator({ transform: booleanAttribute })
2634
- disabled!: boolean;
2635
- /**
2636
- Defines the tooltip of the component.
2637
-
2638
- A tooltip attribute should be provided, in order to represent meaning/function,
2639
- when the component is collapsed (\\"icon only\\" design is visualized) or the item text is truncated.
2640
- */
2641
- tooltip!: string | undefined;
2642
- /**
2643
- Defines the icon of the item.
2644
-
2645
- The SAP-icons font provides numerous options.
2646
-
2647
- See all the available icons in the [Icon Explorer](https://sdk.openui5.org/test-resources/sap/m/demokit/iconExplorer/webapp/index.html).
2648
- */
2649
- icon!: string | undefined;
2650
- /**
2651
- Defines whether the item is selected.
2652
-
2653
- **Note:** Items that have a set \`href\` and \`target\` set to \`_blank\` should not be selectable.
2654
- */
2655
- @InputDecorator({ transform: booleanAttribute })
2656
- selected!: boolean;
2657
- /**
2658
- Defines the link target URI. Supports standard hyperlink behavior.
2659
- If a JavaScript action should be triggered,
2660
- this should not be set, but instead an event handler
2661
- for the \`click\` event should be registered.
2662
- */
2663
- href!: string | undefined;
2664
- /**
2665
- Defines the component target.
2666
-
2667
- Possible values:
2668
-
2669
- - \`_self\`
2670
- - \`_top\`
2671
- - \`_blank\`
2672
- - \`_parent\`
2673
- - \`framename\`
2674
-
2675
- **Note:** Items that have a defined \`href\` and \`target\`
2676
- attribute set to \`_blank\` should not be selectable.
2677
- */
2678
- target!: string | undefined;
2679
- /**
2680
- Item design.
2681
-
2682
- **Note:** Items with \\"Action\\" design must not have sub-items.
2683
- */
2684
- design!: 'Default' | 'Action';
2685
- /**
2686
- Indicates whether the navigation item is selectable. By default, all items are selectable unless specifically marked as unselectable.
2687
-
2688
- When a parent item is marked as unselectable, selecting it will only expand or collapse its sub-items.
2689
- To improve user experience do not mix unselectable parent items with selectable parent items in a single side navigation.
2690
-
2691
-
2692
- **Guidelines**:
2693
- - Items with an assigned \`href\` and a target of \`_blank\` should be marked as unselectable.
2694
- - Items that trigger actions (with design \\"Action\\") should be marked as unselectable.
2695
- */
2696
- @InputDecorator({ transform: booleanAttribute })
2697
- unselectable!: boolean;
2698
- /**
2699
- Defines the additional accessibility attributes that will be applied to the component.
2700
- The following fields are supported:
2701
-
2702
- - **hasPopup**: Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by the button.
2703
- Accepts the following string values: \`dialog\`, \`grid\`, \`listbox\`, \`menu\` or \`tree\`.
2704
-
2705
- **Note:** Do not use it on parent items, as it will be overridden if the item is in the overflow menu.
2706
- */
2707
- accessibilityAttributes!: SideNavigationItemAccessibilityAttributes;
2708
-
2709
- /**
2710
- Fired when the component is activated either with a click/tap or by using the [Enter] or [Space] keys.
2711
- */
2712
- ui5Click!: EventEmitter<SideNavigationItemClickEventDetail>;
2713
-
2714
- private elementRef: ElementRef<SideNavigationSubItem> = inject(ElementRef);
2715
- private zone = inject(NgZone);
2716
- private cdr = inject(ChangeDetectorRef);
2717
-
2718
- get element(): SideNavigationSubItem {
2719
- return this.elementRef.nativeElement;
2720
- }
2721
-
2722
- constructor() {
2723
- this.cdr.detach();
2724
- }
2725
- }
2726
- export { SideNavigationSubItemComponent };
2727
- "
2728
- `;
2729
-
2730
- exports[`Snapshot test Fiori Side Navigation should match the snapshot 1`] = `
2731
- "import {
2732
- ChangeDetectorRef,
2733
- Component,
2734
- ElementRef,
2735
- EventEmitter,
2736
- Input as InputDecorator,
2737
- NgZone,
2738
- booleanAttribute,
2739
- inject,
2740
- } from '@angular/core';
2741
- import '@ui5/webcomponents-fiori/dist/SideNavigation.js';
2742
- import {
2743
- default as SideNavigation,
2744
- SideNavigationSelectionChangeEventDetail,
2745
- } from '@ui5/webcomponents-fiori/dist/SideNavigation.js';
2746
- import { ProxyInputs, ProxyOutputs } from '@ui5/webcomponents-ngx/utils';
2747
- @ProxyInputs(['collapsed', 'accessibleName'])
2748
- @ProxyOutputs(['selection-change: ui5SelectionChange'])
2749
- @Component({
2750
- standalone: true,
2751
- selector: 'ui5-side-navigation',
2752
- template: '<ng-content></ng-content>',
2753
- inputs: ['collapsed', 'accessibleName'],
2754
- outputs: ['ui5SelectionChange'],
2755
- exportAs: 'ui5SideNavigation',
2756
- })
2757
- class SideNavigationComponent {
2758
- /**
2759
- Defines whether the \`ui5-side-navigation\` is expanded or collapsed.
2760
-
2761
- **Note:** The collapsed mode is not supported on phones.
2762
- The \`ui5-side-navigation\` component is intended to be used within a \`ui5-navigation-layout\`
2763
- component to ensure proper responsive behavior. If you choose not to use the
2764
- \`ui5-navigation-layout\`, you will need to implement the appropriate responsive patterns yourself,
2765
- particularly for phones where the collapsed mode should not be used.
2766
- */
2767
- @InputDecorator({ transform: booleanAttribute })
2768
- collapsed!: boolean;
2769
- /**
2770
- Defines the accessible ARIA name of the component.
2771
- */
2772
- accessibleName!: string | undefined;
2773
-
2774
- /**
2775
- Fired when the selection has changed via user interaction
2776
- */
2777
- ui5SelectionChange!: EventEmitter<SideNavigationSelectionChangeEventDetail>;
2778
-
2779
- private elementRef: ElementRef<SideNavigation> = inject(ElementRef);
2780
- private zone = inject(NgZone);
2781
- private cdr = inject(ChangeDetectorRef);
2782
-
2783
- get element(): SideNavigation {
2784
- return this.elementRef.nativeElement;
2785
- }
2786
-
2787
- constructor() {
2788
- this.cdr.detach();
2789
- }
2790
- }
2791
- export { SideNavigationComponent };
2792
- "
2793
- `;
2794
-
2795
- exports[`Snapshot test Fiori Sort Item should match the snapshot 1`] = `
2796
- "import {
2797
- ChangeDetectorRef,
2798
- Component,
2799
- ElementRef,
2800
- Input as InputDecorator,
2801
- NgZone,
2802
- booleanAttribute,
2803
- inject,
2804
- } from '@angular/core';
2805
- import '@ui5/webcomponents-fiori/dist/SortItem.js';
2806
- import SortItem from '@ui5/webcomponents-fiori/dist/SortItem.js';
2807
- import { ProxyInputs } from '@ui5/webcomponents-ngx/utils';
2808
- @ProxyInputs(['text', 'selected'])
2809
- @Component({
2810
- standalone: true,
2811
- selector: 'ui5-sort-item',
2812
- template: '<ng-content></ng-content>',
2813
- inputs: ['text', 'selected'],
2814
- exportAs: 'ui5SortItem',
2815
- })
2816
- class SortItemComponent {
2817
- /**
2818
- Defines the text of the sort item.
2819
- */
2820
- text!: string | undefined;
2821
- /**
2822
- Defines if the sort item is selected.
2823
- */
2824
- @InputDecorator({ transform: booleanAttribute })
2825
- selected!: boolean;
2826
-
2827
- private elementRef: ElementRef<SortItem> = inject(ElementRef);
2828
- private zone = inject(NgZone);
2829
- private cdr = inject(ChangeDetectorRef);
2830
-
2831
- get element(): SortItem {
2832
- return this.elementRef.nativeElement;
2833
- }
2834
-
2835
- constructor() {
2836
- this.cdr.detach();
2837
- }
2838
- }
2839
- export { SortItemComponent };
2840
- "
2841
- `;
2842
-
2843
- exports[`Snapshot test Fiori Theming should match the snapshot 1`] = `
2844
- "import { Injectable } from '@angular/core';
2845
- import { WebcomponentsThemingProvider } from '@ui5/webcomponents-ngx/theming';
2846
-
2847
- @Injectable({ providedIn: 'root' })
2848
- class Ui5WebcomponentsFioriThemingService extends WebcomponentsThemingProvider {
2849
- name = 'ui-5-webcomponents-fiori-theming-service';
2850
- constructor() {
2851
- super(
2852
- () =>
2853
- import(
2854
- '@ui5/webcomponents-fiori/dist/generated/json-imports/Themes.js'
2855
- ),
2856
- );
2857
- }
2858
- }
2859
-
2860
- export { Ui5WebcomponentsFioriThemingService };
2861
- "
2862
- `;
2863
-
2864
- exports[`Snapshot test Fiori Timeline Group Item should match the snapshot 1`] = `
2865
- "import {
2866
- ChangeDetectorRef,
2867
- Component,
2868
- ElementRef,
2869
- EventEmitter,
2870
- Input as InputDecorator,
2871
- NgZone,
2872
- booleanAttribute,
2873
- inject,
2874
- } from '@angular/core';
2875
- import '@ui5/webcomponents-fiori/dist/TimelineGroupItem.js';
2876
- import TimelineGroupItem from '@ui5/webcomponents-fiori/dist/TimelineGroupItem.js';
2877
- import { ProxyInputs, ProxyOutputs } from '@ui5/webcomponents-ngx/utils';
2878
- @ProxyInputs(['groupName', 'collapsed'])
2879
- @ProxyOutputs(['toggle: ui5Toggle'])
2880
- @Component({
2881
- standalone: true,
2882
- selector: 'ui5-timeline-group-item',
2883
- template: '<ng-content></ng-content>',
2884
- inputs: ['groupName', 'collapsed'],
2885
- outputs: ['ui5Toggle'],
2886
- exportAs: 'ui5TimelineGroupItem',
2887
- })
2888
- class TimelineGroupItemComponent {
2889
- /**
2890
- Defines the text of the button that expands and collapses the group.
2891
- */
2892
- groupName!: string | undefined;
2893
- /**
2894
- Determines if the group is collapsed or expanded.
2895
- */
2896
- @InputDecorator({ transform: booleanAttribute })
2897
- collapsed!: boolean;
2898
-
2899
- /**
2900
- Fired when the group item is expanded or collapsed.
2901
- */
2902
- ui5Toggle!: EventEmitter<void>;
2903
-
2904
- private elementRef: ElementRef<TimelineGroupItem> = inject(ElementRef);
2905
- private zone = inject(NgZone);
2906
- private cdr = inject(ChangeDetectorRef);
2907
-
2908
- get element(): TimelineGroupItem {
2909
- return this.elementRef.nativeElement;
2910
- }
2911
-
2912
- constructor() {
2913
- this.cdr.detach();
2914
- }
2915
- }
2916
- export { TimelineGroupItemComponent };
2917
- "
2918
- `;
2919
-
2920
- exports[`Snapshot test Fiori Timeline Item should match the snapshot 1`] = `
2921
- "import {
2922
- ChangeDetectorRef,
2923
- Component,
2924
- ElementRef,
2925
- EventEmitter,
2926
- Input as InputDecorator,
2927
- NgZone,
2928
- booleanAttribute,
2929
- inject,
2930
- } from '@angular/core';
2931
- import '@ui5/webcomponents-fiori/dist/TimelineItem.js';
2932
- import TimelineItem from '@ui5/webcomponents-fiori/dist/TimelineItem.js';
2933
- import { ProxyInputs, ProxyOutputs } from '@ui5/webcomponents-ngx/utils';
2934
- @ProxyInputs([
2935
- 'icon',
2936
- 'name',
2937
- 'nameClickable',
2938
- 'titleText',
2939
- 'subtitleText',
2940
- 'state',
2941
- ])
2942
- @ProxyOutputs(['name-click: ui5NameClick'])
2943
- @Component({
2944
- standalone: true,
2945
- selector: 'ui5-timeline-item',
2946
- template: '<ng-content></ng-content>',
2947
- inputs: [
2948
- 'icon',
2949
- 'name',
2950
- 'nameClickable',
2951
- 'titleText',
2952
- 'subtitleText',
2953
- 'state',
2954
- ],
2955
- outputs: ['ui5NameClick'],
2956
- exportAs: 'ui5TimelineItem',
2957
- })
2958
- class TimelineItemComponent {
2959
- /**
2960
- Defines the icon to be displayed as graphical element within the \`ui5-timeline-item\`.
2961
- SAP-icons font provides numerous options.
2962
-
2963
- See all the available icons in the [Icon Explorer](https://sdk.openui5.org/test-resources/sap/m/demokit/iconExplorer/webapp/index.html).
2964
- */
2965
- icon!: string | undefined;
2966
- /**
2967
- Defines the name of the item, displayed before the \`title-text\`.
2968
- */
2969
- name!: string | undefined;
2970
- /**
2971
- Defines if the \`name\` is clickable.
2972
- */
2973
- @InputDecorator({ transform: booleanAttribute })
2974
- nameClickable!: boolean;
2975
- /**
2976
- Defines the title text of the component.
2977
- */
2978
- titleText!: string | undefined;
2979
- /**
2980
- Defines the subtitle text of the component.
2981
- */
2982
- subtitleText!: string | undefined;
2983
- /**
2984
- Defines the state of the icon displayed in the \`ui5-timeline-item\`.
2985
- */
2986
- state!: 'None' | 'Positive' | 'Critical' | 'Negative' | 'Information';
2987
-
2988
- /**
2989
- Fired when the item name is pressed either with a
2990
- click/tap or by using the Enter or Space key.
2991
-
2992
- **Note:** The event will not be fired if the \`name-clickable\`
2993
- attribute is not set.
2994
- */
2995
- ui5NameClick!: EventEmitter<void>;
2996
-
2997
- private elementRef: ElementRef<TimelineItem> = inject(ElementRef);
2998
- private zone = inject(NgZone);
2999
- private cdr = inject(ChangeDetectorRef);
3000
-
3001
- get element(): TimelineItem {
3002
- return this.elementRef.nativeElement;
3003
- }
3004
-
3005
- constructor() {
3006
- this.cdr.detach();
3007
- }
3008
- }
3009
- export { TimelineItemComponent };
3010
- "
3011
- `;
3012
-
3013
- exports[`Snapshot test Fiori Timeline should match the snapshot 1`] = `
3014
- "import {
3015
- ChangeDetectorRef,
3016
- Component,
3017
- ElementRef,
3018
- EventEmitter,
3019
- Input as InputDecorator,
3020
- NgZone,
3021
- booleanAttribute,
3022
- inject,
3023
- } from '@angular/core';
3024
- import '@ui5/webcomponents-fiori/dist/Timeline.js';
3025
- import Timeline from '@ui5/webcomponents-fiori/dist/Timeline.js';
3026
- import { ProxyInputs, ProxyOutputs } from '@ui5/webcomponents-ngx/utils';
3027
- @ProxyInputs(['layout', 'accessibleName', 'loading', 'loadingDelay', 'growing'])
3028
- @ProxyOutputs(['load-more: ui5LoadMore'])
3029
- @Component({
3030
- standalone: true,
3031
- selector: 'ui5-timeline',
3032
- template: '<ng-content></ng-content>',
3033
- inputs: ['layout', 'accessibleName', 'loading', 'loadingDelay', 'growing'],
3034
- outputs: ['ui5LoadMore'],
3035
- exportAs: 'ui5Timeline',
3036
- })
3037
- class TimelineComponent {
3038
- /**
3039
- Defines the items orientation.
3040
- */
3041
- layout!: 'Vertical' | 'Horizontal';
3042
- /**
3043
- Defines the accessible ARIA name of the component.
3044
- */
3045
- accessibleName!: string | undefined;
3046
- /**
3047
- Defines if the component should display a loading indicator over the Timeline.
3048
- */
3049
- @InputDecorator({ transform: booleanAttribute })
3050
- loading!: boolean;
3051
- /**
3052
- Defines the delay in milliseconds, after which the loading indicator will show up for this component.
3053
- */
3054
- loadingDelay!: number;
3055
- /**
3056
- Defines whether the Timeline will have growing capability either by pressing a \\"More\\" button,
3057
- or via user scroll. In both cases a \`load-more\` event is fired.
3058
-
3059
- Available options:
3060
-
3061
- \`Button\` - Displays a button at the end of the Timeline, which when pressed triggers the \`load-more\` event.
3062
-
3063
- \`Scroll\` -Triggers the \`load-more\` event when the user scrolls to the end of the Timeline.
3064
-
3065
- \`None\` (default) - The growing functionality is off.
3066
- */
3067
- growing!: 'Button' | 'Scroll' | 'None';
3068
-
3069
- /**
3070
- Fired when the user presses the \`More\` button or scrolls to the Timeline's end.
3071
-
3072
- **Note:** The event will be fired if \`growing\` is set to \`Button\` or \`Scroll\`.
3073
- */
3074
- ui5LoadMore!: EventEmitter<void>;
3075
-
3076
- private elementRef: ElementRef<Timeline> = inject(ElementRef);
3077
- private zone = inject(NgZone);
3078
- private cdr = inject(ChangeDetectorRef);
3079
-
3080
- get element(): Timeline {
3081
- return this.elementRef.nativeElement;
3082
- }
3083
-
3084
- constructor() {
3085
- this.cdr.detach();
3086
- }
3087
- }
3088
- export { TimelineComponent };
3089
- "
3090
- `;
3091
-
3092
- exports[`Snapshot test Fiori Ui 5 Fiori Module Ts should match the snapshot 1`] = `
3093
- "import { NgModule } from \\"@angular/core\\";
3094
- import { Ui5WebcomponentsFioriThemingService } from \\"@ui5/webcomponents-ngx/fiori/theming\\";
3095
- import \\"@ui5/webcomponents-fiori/dist/Assets.js\\";
3096
- import { BarcodeScannerDialogComponent } from \\"@ui5/webcomponents-ngx/fiori/barcode-scanner-dialog\\";
3097
- import { DynamicPageComponent } from \\"@ui5/webcomponents-ngx/fiori/dynamic-page\\";
3098
- import { DynamicPageHeaderComponent } from \\"@ui5/webcomponents-ngx/fiori/dynamic-page-header\\";
3099
- import { DynamicPageTitleComponent } from \\"@ui5/webcomponents-ngx/fiori/dynamic-page-title\\";
3100
- import { DynamicSideContentComponent } from \\"@ui5/webcomponents-ngx/fiori/dynamic-side-content\\";
3101
- import { FilterItemComponent } from \\"@ui5/webcomponents-ngx/fiori/filter-item\\";
3102
- import { FilterItemOptionComponent } from \\"@ui5/webcomponents-ngx/fiori/filter-item-option\\";
3103
- import { FlexibleColumnLayoutComponent } from \\"@ui5/webcomponents-ngx/fiori/flexible-column-layout\\";
3104
- import { GroupItemComponent } from \\"@ui5/webcomponents-ngx/fiori/group-item\\";
3105
- import { IllustratedMessageComponent } from \\"@ui5/webcomponents-ngx/fiori/illustrated-message\\";
3106
- import { MediaGalleryComponent } from \\"@ui5/webcomponents-ngx/fiori/media-gallery\\";
3107
- import { MediaGalleryItemComponent } from \\"@ui5/webcomponents-ngx/fiori/media-gallery-item\\";
3108
- import { NavigationLayoutComponent } from \\"@ui5/webcomponents-ngx/fiori/navigation-layout\\";
3109
- import { NotificationListComponent } from \\"@ui5/webcomponents-ngx/fiori/notification-list\\";
3110
- import { NotificationListGroupItemComponent } from \\"@ui5/webcomponents-ngx/fiori/notification-list-group-item\\";
3111
- import { NotificationListItemComponent } from \\"@ui5/webcomponents-ngx/fiori/notification-list-item\\";
3112
- import { PageComponent } from \\"@ui5/webcomponents-ngx/fiori/page\\";
3113
- import { ProductSwitchComponent } from \\"@ui5/webcomponents-ngx/fiori/product-switch\\";
3114
- import { ProductSwitchItemComponent } from \\"@ui5/webcomponents-ngx/fiori/product-switch-item\\";
3115
- import { SearchComponent } from \\"@ui5/webcomponents-ngx/fiori/search\\";
3116
- import { SearchItemComponent } from \\"@ui5/webcomponents-ngx/fiori/search-item\\";
3117
- import { SearchItemGroupComponent } from \\"@ui5/webcomponents-ngx/fiori/search-item-group\\";
3118
- import { SearchItemShowMoreComponent } from \\"@ui5/webcomponents-ngx/fiori/search-item-show-more\\";
3119
- import { SearchMessageAreaComponent } from \\"@ui5/webcomponents-ngx/fiori/search-message-area\\";
3120
- import { SearchScopeComponent } from \\"@ui5/webcomponents-ngx/fiori/search-scope\\";
3121
- import { ShellBarComponent } from \\"@ui5/webcomponents-ngx/fiori/shell-bar\\";
3122
- import { ShellBarBrandingComponent } from \\"@ui5/webcomponents-ngx/fiori/shell-bar-branding\\";
3123
- import { ShellBarItemComponent } from \\"@ui5/webcomponents-ngx/fiori/shell-bar-item\\";
3124
- import { ShellBarSearchComponent } from \\"@ui5/webcomponents-ngx/fiori/shell-bar-search\\";
3125
- import { ShellBarSpacerComponent } from \\"@ui5/webcomponents-ngx/fiori/shell-bar-spacer\\";
3126
- import { SideNavigationComponent } from \\"@ui5/webcomponents-ngx/fiori/side-navigation\\";
3127
- import { SideNavigationGroupComponent } from \\"@ui5/webcomponents-ngx/fiori/side-navigation-group\\";
3128
- import { SideNavigationItemComponent } from \\"@ui5/webcomponents-ngx/fiori/side-navigation-item\\";
3129
- import { SideNavigationSubItemComponent } from \\"@ui5/webcomponents-ngx/fiori/side-navigation-sub-item\\";
3130
- import { SortItemComponent } from \\"@ui5/webcomponents-ngx/fiori/sort-item\\";
3131
- import { TimelineComponent } from \\"@ui5/webcomponents-ngx/fiori/timeline\\";
3132
- import { TimelineGroupItemComponent } from \\"@ui5/webcomponents-ngx/fiori/timeline-group-item\\";
3133
- import { TimelineItemComponent } from \\"@ui5/webcomponents-ngx/fiori/timeline-item\\";
3134
- import { UploadCollectionComponent } from \\"@ui5/webcomponents-ngx/fiori/upload-collection\\";
3135
- import { UploadCollectionItemComponent } from \\"@ui5/webcomponents-ngx/fiori/upload-collection-item\\";
3136
- import { UserMenuComponent } from \\"@ui5/webcomponents-ngx/fiori/user-menu\\";
3137
- import { UserMenuAccountComponent } from \\"@ui5/webcomponents-ngx/fiori/user-menu-account\\";
3138
- import { UserMenuItemComponent } from \\"@ui5/webcomponents-ngx/fiori/user-menu-item\\";
3139
- import { UserMenuItemGroupComponent } from \\"@ui5/webcomponents-ngx/fiori/user-menu-item-group\\";
3140
- import { UserSettingsAccountViewComponent } from \\"@ui5/webcomponents-ngx/fiori/user-settings-account-view\\";
3141
- import { UserSettingsDialogComponent } from \\"@ui5/webcomponents-ngx/fiori/user-settings-dialog\\";
3142
- import { UserSettingsItemComponent } from \\"@ui5/webcomponents-ngx/fiori/user-settings-item\\";
3143
- import { UserSettingsViewComponent } from \\"@ui5/webcomponents-ngx/fiori/user-settings-view\\";
3144
- import { ViewSettingsDialogComponent } from \\"@ui5/webcomponents-ngx/fiori/view-settings-dialog\\";
3145
- import { WizardComponent } from \\"@ui5/webcomponents-ngx/fiori/wizard\\";
3146
- import { WizardStepComponent } from \\"@ui5/webcomponents-ngx/fiori/wizard-step\\";
3147
-
3148
- const imports = [
3149
- BarcodeScannerDialogComponent,
3150
- DynamicPageComponent,
3151
- DynamicPageHeaderComponent,
3152
- DynamicPageTitleComponent,
3153
- DynamicSideContentComponent,
3154
- FilterItemComponent,
3155
- FilterItemOptionComponent,
3156
- FlexibleColumnLayoutComponent,
3157
- GroupItemComponent,
3158
- IllustratedMessageComponent,
3159
- MediaGalleryComponent,
3160
- MediaGalleryItemComponent,
3161
- NavigationLayoutComponent,
3162
- NotificationListComponent,
3163
- NotificationListGroupItemComponent,
3164
- NotificationListItemComponent,
3165
- PageComponent,
3166
- ProductSwitchComponent,
3167
- ProductSwitchItemComponent,
3168
- SearchComponent,
3169
- SearchItemComponent,
3170
- SearchItemGroupComponent,
3171
- SearchItemShowMoreComponent,
3172
- SearchMessageAreaComponent,
3173
- SearchScopeComponent,
3174
- ShellBarComponent,
3175
- ShellBarBrandingComponent,
3176
- ShellBarItemComponent,
3177
- ShellBarSearchComponent,
3178
- ShellBarSpacerComponent,
3179
- SideNavigationComponent,
3180
- SideNavigationGroupComponent,
3181
- SideNavigationItemComponent,
3182
- SideNavigationSubItemComponent,
3183
- SortItemComponent,
3184
- TimelineComponent,
3185
- TimelineGroupItemComponent,
3186
- TimelineItemComponent,
3187
- UploadCollectionComponent,
3188
- UploadCollectionItemComponent,
3189
- UserMenuComponent,
3190
- UserMenuAccountComponent,
3191
- UserMenuItemComponent,
3192
- UserMenuItemGroupComponent,
3193
- UserSettingsAccountViewComponent,
3194
- UserSettingsDialogComponent,
3195
- UserSettingsItemComponent,
3196
- UserSettingsViewComponent,
3197
- ViewSettingsDialogComponent,
3198
- WizardComponent,
3199
- WizardStepComponent,
3200
- ];
3201
- const exports = [...imports];
3202
-
3203
- @NgModule({
3204
- imports: [...imports],
3205
- exports: [...exports],
3206
- })
3207
- class Ui5FioriModule {
3208
- constructor(
3209
- ui5WebcomponentsFioriThemingService: Ui5WebcomponentsFioriThemingService,
3210
- ) {}
3211
- }
3212
- export { Ui5FioriModule };
3213
- "
3214
- `;
3215
-
3216
- exports[`Snapshot test Fiori Upload Collection Item should match the snapshot 1`] = `
3217
- "import {
3218
- ChangeDetectorRef,
3219
- Component,
3220
- ElementRef,
3221
- EventEmitter,
3222
- Input as InputDecorator,
3223
- NgZone,
3224
- booleanAttribute,
3225
- inject,
3226
- } from '@angular/core';
3227
- import '@ui5/webcomponents-fiori/dist/UploadCollectionItem.js';
3228
- import UploadCollectionItem from '@ui5/webcomponents-fiori/dist/UploadCollectionItem.js';
3229
- import { ProxyInputs, ProxyOutputs } from '@ui5/webcomponents-ngx/utils';
3230
- import { ListItemAccessibilityAttributes } from '@ui5/webcomponents/dist/ListItem.js';
3231
- @ProxyInputs([
3232
- 'type',
3233
- 'accessibilityAttributes',
3234
- 'navigated',
3235
- 'tooltip',
3236
- 'highlight',
3237
- 'selected',
3238
- 'file',
3239
- 'fileName',
3240
- 'fileNameClickable',
3241
- 'disableDeleteButton',
3242
- 'hideDeleteButton',
3243
- 'hideRetryButton',
3244
- 'hideTerminateButton',
3245
- 'progress',
3246
- 'uploadState',
3247
- ])
3248
- @ProxyOutputs([
3249
- 'detail-click: ui5DetailClick',
3250
- 'file-name-click: ui5FileNameClick',
3251
- 'rename: ui5Rename',
3252
- 'terminate: ui5Terminate',
3253
- 'retry: ui5Retry',
3254
- ])
3255
- @Component({
3256
- standalone: true,
3257
- selector: 'ui5-upload-collection-item',
3258
- template: '<ng-content></ng-content>',
3259
- inputs: [
3260
- 'type',
3261
- 'accessibilityAttributes',
3262
- 'navigated',
3263
- 'tooltip',
3264
- 'highlight',
3265
- 'selected',
3266
- 'file',
3267
- 'fileName',
3268
- 'fileNameClickable',
3269
- 'disableDeleteButton',
3270
- 'hideDeleteButton',
3271
- 'hideRetryButton',
3272
- 'hideTerminateButton',
3273
- 'progress',
3274
- 'uploadState',
3275
- ],
3276
- outputs: [
3277
- 'ui5DetailClick',
3278
- 'ui5FileNameClick',
3279
- 'ui5Rename',
3280
- 'ui5Terminate',
3281
- 'ui5Retry',
3282
- ],
3283
- exportAs: 'ui5UploadCollectionItem',
3284
- })
3285
- class UploadCollectionItemComponent {
3286
- /**
3287
- Defines the visual indication and behavior of the list items.
3288
- Available options are \`Active\` (by default), \`Inactive\`, \`Detail\` and \`Navigation\`.
3289
-
3290
- **Note:** When set to \`Active\` or \`Navigation\`, the item will provide visual response upon press and hover,
3291
- while with type \`Inactive\` and \`Detail\` - will not.
3292
- */
3293
- type!: 'Inactive' | 'Active' | 'Detail' | 'Navigation';
3294
- /**
3295
- Defines the additional accessibility attributes that will be applied to the component.
3296
- The following fields are supported:
3297
-
3298
- - **ariaSetsize**: Defines the number of items in the current set when not all items in the set are present in the DOM.
3299
- **Note:** The value is an integer reflecting the number of items in the complete set. If the size of the entire set is unknown, set \`-1\`.
3300
-
3301
- - **ariaPosinset**: Defines an element's number or position in the current set when not all items are present in the DOM.
3302
- **Note:** The value is an integer greater than or equal to 1, and less than or equal to the size of the set when that size is known.
3303
- */
3304
- accessibilityAttributes!: ListItemAccessibilityAttributes;
3305
- /**
3306
- The navigated state of the list item.
3307
- If set to \`true\`, a navigation indicator is displayed at the end of the list item.
3308
- */
3309
- @InputDecorator({ transform: booleanAttribute })
3310
- navigated!: boolean;
3311
- /**
3312
- Defines the text of the tooltip that would be displayed for the list item.
3313
- */
3314
- tooltip!: string | undefined;
3315
- /**
3316
- Defines the highlight state of the list items.
3317
- Available options are: \`\\"None\\"\` (by default), \`\\"Positive\\"\`, \`\\"Critical\\"\`, \`\\"Information\\"\` and \`\\"Negative\\"\`.
3318
- */
3319
- highlight!: 'None' | 'Positive' | 'Critical' | 'Negative' | 'Information';
3320
- /**
3321
- Defines the selected state of the component.
3322
- */
3323
- @InputDecorator({ transform: booleanAttribute })
3324
- selected!: boolean;
3325
- /**
3326
- Holds an instance of \`File\` associated with this item.
3327
- */
3328
- file!: File | null;
3329
- /**
3330
- The name of the file.
3331
- */
3332
- fileName!: string;
3333
- /**
3334
- If set to \`true\` the file name will be clickable and it will fire \`file-name-click\` event upon click.
3335
- */
3336
- @InputDecorator({ transform: booleanAttribute })
3337
- fileNameClickable!: boolean;
3338
- /**
3339
- Disables the delete button.
3340
- */
3341
- @InputDecorator({ transform: booleanAttribute })
3342
- disableDeleteButton!: boolean;
3343
- /**
3344
- Hides the delete button.
3345
- */
3346
- @InputDecorator({ transform: booleanAttribute })
3347
- hideDeleteButton!: boolean;
3348
- /**
3349
- Hides the retry button when \`uploadState\` property is \`Error\`.
3350
- */
3351
- @InputDecorator({ transform: booleanAttribute })
3352
- hideRetryButton!: boolean;
3353
- /**
3354
- Hides the terminate button when \`uploadState\` property is \`Uploading\`.
3355
- */
3356
- @InputDecorator({ transform: booleanAttribute })
3357
- hideTerminateButton!: boolean;
3358
- /**
3359
- The upload progress in percentage.
3360
-
3361
- **Note:** Expected values are in the interval [0, 100].
3362
- */
3363
- progress!: number;
3364
- /**
3365
- Upload state.
3366
-
3367
- Depending on this property, the item displays the following:
3368
-
3369
- - \`Ready\` - progress indicator is displayed.
3370
- - \`Uploading\` - progress indicator and terminate button are displayed. When the terminate button is pressed, \`terminate\` event is fired.
3371
- - \`Error\` - progress indicator and retry button are displayed. When the retry button is pressed, \`retry\` event is fired.
3372
- - \`Complete\` - progress indicator is not displayed.
3373
- */
3374
- uploadState!: 'Complete' | 'Error' | 'Ready' | 'Uploading';
3375
-
3376
- /**
3377
- Fired when the user clicks on the detail button when type is \`Detail\`.
3378
- */
3379
- ui5DetailClick!: EventEmitter<void>;
3380
- /**
3381
- Fired when the file name is clicked.
3382
-
3383
- **Note:** This event is only available when \`fileNameClickable\` property is \`true\`.
3384
- */
3385
- ui5FileNameClick!: EventEmitter<void>;
3386
- /**
3387
- Fired when the \`fileName\` property gets changed.
3388
-
3389
- **Note:** An edit button is displayed on each item,
3390
- when the \`ui5-upload-collection-item\` \`type\` property is set to \`Detail\`.
3391
- */
3392
- ui5Rename!: EventEmitter<void>;
3393
- /**
3394
- Fired when the terminate button is pressed.
3395
-
3396
- **Note:** Terminate button is displayed when \`uploadState\` property is set to \`Uploading\`.
3397
- */
3398
- ui5Terminate!: EventEmitter<void>;
3399
- /**
3400
- Fired when the retry button is pressed.
3401
-
3402
- **Note:** Retry button is displayed when \`uploadState\` property is set to \`Error\`.
3403
- */
3404
- ui5Retry!: EventEmitter<void>;
3405
-
3406
- private elementRef: ElementRef<UploadCollectionItem> = inject(ElementRef);
3407
- private zone = inject(NgZone);
3408
- private cdr = inject(ChangeDetectorRef);
3409
-
3410
- get element(): UploadCollectionItem {
3411
- return this.elementRef.nativeElement;
3412
- }
3413
-
3414
- constructor() {
3415
- this.cdr.detach();
3416
- }
3417
- }
3418
- export { UploadCollectionItemComponent };
3419
- "
3420
- `;
3421
-
3422
- exports[`Snapshot test Fiori Upload Collection should match the snapshot 1`] = `
3423
- "import {
3424
- ChangeDetectorRef,
3425
- Component,
3426
- ElementRef,
3427
- EventEmitter,
3428
- Input as InputDecorator,
3429
- NgZone,
3430
- booleanAttribute,
3431
- inject,
3432
- } from '@angular/core';
3433
- import '@ui5/webcomponents-fiori/dist/UploadCollection.js';
3434
- import {
3435
- default as UploadCollection,
3436
- UploadCollectionItemDeleteEventDetail,
3437
- UploadCollectionSelectionChangeEventDetail,
3438
- } from '@ui5/webcomponents-fiori/dist/UploadCollection.js';
3439
- import { ProxyInputs, ProxyOutputs } from '@ui5/webcomponents-ngx/utils';
3440
- @ProxyInputs([
3441
- 'selectionMode',
3442
- 'noDataDescription',
3443
- 'noDataText',
3444
- 'noDataHeaderLevel',
3445
- 'hideDragOverlay',
3446
- 'accessibleName',
3447
- ])
3448
- @ProxyOutputs([
3449
- 'item-delete: ui5ItemDelete',
3450
- 'selection-change: ui5SelectionChange',
3451
- ])
3452
- @Component({
3453
- standalone: true,
3454
- selector: 'ui5-upload-collection',
3455
- template: '<ng-content></ng-content>',
3456
- inputs: [
3457
- 'selectionMode',
3458
- 'noDataDescription',
3459
- 'noDataText',
3460
- 'noDataHeaderLevel',
3461
- 'hideDragOverlay',
3462
- 'accessibleName',
3463
- ],
3464
- outputs: ['ui5ItemDelete', 'ui5SelectionChange'],
3465
- exportAs: 'ui5UploadCollection',
3466
- })
3467
- class UploadCollectionComponent {
3468
- /**
3469
- Defines the selection mode of the \`ui5-upload-collection\`.
3470
- */
3471
- selectionMode!:
3472
- | 'None'
3473
- | 'Single'
3474
- | 'SingleStart'
3475
- | 'SingleEnd'
3476
- | 'SingleAuto'
3477
- | 'Multiple';
3478
- /**
3479
- Allows you to set your own text for the 'No data' description.
3480
- */
3481
- noDataDescription!: string | undefined;
3482
- /**
3483
- Allows you to set your own text for the 'No data' text.
3484
- */
3485
- noDataText!: string | undefined;
3486
- /**
3487
- Defines the header level of the 'No data' text.
3488
- */
3489
- noDataHeaderLevel!: 'H1' | 'H2' | 'H3' | 'H4' | 'H5' | 'H6';
3490
- /**
3491
- By default there will be drag and drop overlay shown over the \`ui5-upload-collection\` when files
3492
- are dragged. If you don't intend to use drag and drop, set this property.
3493
-
3494
- **Note:** It is up to the application developer to add handler for \`drop\` event and handle it.
3495
- \`ui5-upload-collection\` only displays an overlay.
3496
- */
3497
- @InputDecorator({ transform: booleanAttribute })
3498
- hideDragOverlay!: boolean;
3499
- /**
3500
- Defines the accessible ARIA name of the component.
3501
- */
3502
- accessibleName!: string | undefined;
3503
-
3504
- /**
3505
- Fired when an element is dropped inside the drag and drop overlay.
3506
-
3507
- **Note:** The \`drop\` event is fired only when elements are dropped within the drag and drop overlay and ignored for the other parts of the \`ui5-upload-collection\`.
3508
- */
3509
- ui5ItemDelete!: EventEmitter<UploadCollectionItemDeleteEventDetail>;
3510
- /**
3511
- Fired when selection is changed by user interaction
3512
- in \`Single\` and \`Multiple\` modes.
3513
- */
3514
- ui5SelectionChange!: EventEmitter<UploadCollectionSelectionChangeEventDetail>;
3515
-
3516
- private elementRef: ElementRef<UploadCollection> = inject(ElementRef);
3517
- private zone = inject(NgZone);
3518
- private cdr = inject(ChangeDetectorRef);
3519
-
3520
- get element(): UploadCollection {
3521
- return this.elementRef.nativeElement;
3522
- }
3523
-
3524
- constructor() {
3525
- this.cdr.detach();
3526
- }
3527
- }
3528
- export { UploadCollectionComponent };
3529
- "
3530
- `;
3531
-
3532
- exports[`Snapshot test Fiori User Menu Account should match the snapshot 1`] = `
3533
- "import {
3534
- ChangeDetectorRef,
3535
- Component,
3536
- ElementRef,
3537
- Input as InputDecorator,
3538
- NgZone,
3539
- booleanAttribute,
3540
- inject,
3541
- } from '@angular/core';
3542
- import '@ui5/webcomponents-fiori/dist/UserMenuAccount.js';
3543
- import UserMenuAccount from '@ui5/webcomponents-fiori/dist/UserMenuAccount.js';
3544
- import { ProxyInputs } from '@ui5/webcomponents-ngx/utils';
3545
- @ProxyInputs([
3546
- 'avatarSrc',
3547
- 'avatarInitials',
3548
- 'titleText',
3549
- 'subtitleText',
3550
- 'description',
3551
- 'additionalInfo',
3552
- 'selected',
3553
- 'loading',
3554
- ])
3555
- @Component({
3556
- standalone: true,
3557
- selector: 'ui5-user-menu-account',
3558
- template: '<ng-content></ng-content>',
3559
- inputs: [
3560
- 'avatarSrc',
3561
- 'avatarInitials',
3562
- 'titleText',
3563
- 'subtitleText',
3564
- 'description',
3565
- 'additionalInfo',
3566
- 'selected',
3567
- 'loading',
3568
- ],
3569
- exportAs: 'ui5UserMenuAccount',
3570
- })
3571
- class UserMenuAccountComponent {
3572
- /**
3573
- Defines the avatar image url of the user.
3574
- */
3575
- avatarSrc!: string | undefined;
3576
- /**
3577
- Defines the avatar initials of the user.
3578
- */
3579
- avatarInitials!: string | undefined;
3580
- /**
3581
- Defines the title text of the user.
3582
- */
3583
- titleText!: string;
3584
- /**
3585
- Defines additional text of the user.
3586
- */
3587
- subtitleText!: string;
3588
- /**
3589
- Defines description of the user.
3590
- */
3591
- description!: string;
3592
- /**
3593
- Defines additional information for the user.
3594
- */
3595
- additionalInfo!: string;
3596
- /**
3597
- Defines if the user is selected.
3598
- */
3599
- @InputDecorator({ transform: booleanAttribute })
3600
- selected!: boolean;
3601
- /**
3602
- Indicates whether a loading indicator should be shown.
3603
- */
3604
- @InputDecorator({ transform: booleanAttribute })
3605
- loading!: boolean;
3606
-
3607
- private elementRef: ElementRef<UserMenuAccount> = inject(ElementRef);
3608
- private zone = inject(NgZone);
3609
- private cdr = inject(ChangeDetectorRef);
3610
-
3611
- get element(): UserMenuAccount {
3612
- return this.elementRef.nativeElement;
3613
- }
3614
-
3615
- constructor() {
3616
- this.cdr.detach();
3617
- }
3618
- }
3619
- export { UserMenuAccountComponent };
3620
- "
3621
- `;
3622
-
3623
- exports[`Snapshot test Fiori User Menu Item Group should match the snapshot 1`] = `
3624
- "import {
3625
- ChangeDetectorRef,
3626
- Component,
3627
- ElementRef,
3628
- NgZone,
3629
- inject,
3630
- } from '@angular/core';
3631
- import '@ui5/webcomponents-fiori/dist/UserMenuItemGroup.js';
3632
- import UserMenuItemGroup from '@ui5/webcomponents-fiori/dist/UserMenuItemGroup.js';
3633
- import { ProxyInputs } from '@ui5/webcomponents-ngx/utils';
3634
- @ProxyInputs(['checkMode'])
3635
- @Component({
3636
- standalone: true,
3637
- selector: 'ui5-user-menu-item-group',
3638
- template: '<ng-content></ng-content>',
3639
- inputs: ['checkMode'],
3640
- exportAs: 'ui5UserMenuItemGroup',
3641
- })
3642
- class UserMenuItemGroupComponent {
3643
- /**
3644
- Defines the component's check mode.
3645
- */
3646
- checkMode!: 'None' | 'Single' | 'Multiple';
3647
-
3648
- private elementRef: ElementRef<UserMenuItemGroup> = inject(ElementRef);
3649
- private zone = inject(NgZone);
3650
- private cdr = inject(ChangeDetectorRef);
3651
-
3652
- get element(): UserMenuItemGroup {
3653
- return this.elementRef.nativeElement;
3654
- }
3655
-
3656
- constructor() {
3657
- this.cdr.detach();
3658
- }
3659
- }
3660
- export { UserMenuItemGroupComponent };
3661
- "
3662
- `;
3663
-
3664
- exports[`Snapshot test Fiori User Menu Item should match the snapshot 1`] = `
3665
- "import {
3666
- ChangeDetectorRef,
3667
- Component,
3668
- ElementRef,
3669
- EventEmitter,
3670
- Input as InputDecorator,
3671
- NgZone,
3672
- booleanAttribute,
3673
- inject,
3674
- } from '@angular/core';
3675
- import '@ui5/webcomponents-fiori/dist/UserMenuItem.js';
3676
- import UserMenuItem from '@ui5/webcomponents-fiori/dist/UserMenuItem.js';
3677
- import { ProxyInputs, ProxyOutputs } from '@ui5/webcomponents-ngx/utils';
3678
- import {
3679
- MenuBeforeCloseEventDetail,
3680
- MenuBeforeOpenEventDetail,
3681
- MenuItemAccessibilityAttributes,
3682
- } from '@ui5/webcomponents/dist/MenuItem.js';
3683
- @ProxyInputs([
3684
- 'type',
3685
- 'accessibilityAttributes',
3686
- 'navigated',
3687
- 'tooltip',
3688
- 'highlight',
3689
- 'selected',
3690
- 'text',
3691
- 'additionalText',
3692
- 'icon',
3693
- 'disabled',
3694
- 'loading',
3695
- 'loadingDelay',
3696
- 'accessibleName',
3697
- 'checked',
3698
- ])
3699
- @ProxyOutputs([
3700
- 'detail-click: ui5DetailClick',
3701
- 'before-open: ui5BeforeOpen',
3702
- 'open: ui5Open',
3703
- 'before-close: ui5BeforeClose',
3704
- 'close: ui5Close',
3705
- 'check: ui5Check',
3706
- ])
3707
- @Component({
3708
- standalone: true,
3709
- selector: 'ui5-user-menu-item',
3710
- template: '<ng-content></ng-content>',
3711
- inputs: [
3712
- 'type',
3713
- 'accessibilityAttributes',
3714
- 'navigated',
3715
- 'tooltip',
3716
- 'highlight',
3717
- 'selected',
3718
- 'text',
3719
- 'additionalText',
3720
- 'icon',
3721
- 'disabled',
3722
- 'loading',
3723
- 'loadingDelay',
3724
- 'accessibleName',
3725
- 'checked',
3726
- ],
3727
- outputs: [
3728
- 'ui5DetailClick',
3729
- 'ui5BeforeOpen',
3730
- 'ui5Open',
3731
- 'ui5BeforeClose',
3732
- 'ui5Close',
3733
- 'ui5Check',
3734
- ],
3735
- exportAs: 'ui5UserMenuItem',
3736
- })
3737
- class UserMenuItemComponent {
3738
- /**
3739
- Defines the visual indication and behavior of the list items.
3740
- Available options are \`Active\` (by default), \`Inactive\`, \`Detail\` and \`Navigation\`.
3741
-
3742
- **Note:** When set to \`Active\` or \`Navigation\`, the item will provide visual response upon press and hover,
3743
- while with type \`Inactive\` and \`Detail\` - will not.
3744
- */
3745
- type!: 'Inactive' | 'Active' | 'Detail' | 'Navigation';
3746
- /**
3747
- Defines the additional accessibility attributes that will be applied to the component.
3748
- The following fields are supported:
3749
-
3750
- - **ariaKeyShortcuts**: Indicated the availability of a keyboard shortcuts defined for the menu item.
3751
-
3752
- - **role**: Defines the role of the menu item. If not set, menu item will have default role=\\"menuitem\\".
3753
- */
3754
- accessibilityAttributes!: MenuItemAccessibilityAttributes;
3755
- /**
3756
- The navigated state of the list item.
3757
- If set to \`true\`, a navigation indicator is displayed at the end of the list item.
3758
- */
3759
- @InputDecorator({ transform: booleanAttribute })
3760
- navigated!: boolean;
3761
- /**
3762
- Defines the text of the tooltip for the menu item.
3763
- */
3764
- tooltip!: string | undefined;
3765
- /**
3766
- Defines the highlight state of the list items.
3767
- Available options are: \`\\"None\\"\` (by default), \`\\"Positive\\"\`, \`\\"Critical\\"\`, \`\\"Information\\"\` and \`\\"Negative\\"\`.
3768
- */
3769
- highlight!: 'None' | 'Positive' | 'Critical' | 'Negative' | 'Information';
3770
- /**
3771
- Defines the selected state of the component.
3772
- */
3773
- @InputDecorator({ transform: booleanAttribute })
3774
- selected!: boolean;
3775
- /**
3776
- Defines the text of the tree item.
3777
- */
3778
- text!: string | undefined;
3779
- /**
3780
- Defines the \`additionalText\`, displayed in the end of the menu item.
3781
-
3782
- **Note:** The additional text will not be displayed if there are items added in \`items\` slot or there are
3783
- components added to \`endContent\` slot.
3784
-
3785
- The priority of what will be displayed at the end of the menu item is as follows:
3786
- sub-menu arrow (if there are items added in \`items\` slot) -> components added in \`endContent\` -> text set to \`additionalText\`.
3787
- */
3788
- additionalText!: string | undefined;
3789
- /**
3790
- Defines the icon to be displayed as graphical element within the component.
3791
- The SAP-icons font provides numerous options.
3792
-
3793
- **Example:**
3794
-
3795
- See all the available icons in the [Icon Explorer](https://sdk.openui5.org/test-resources/sap/m/demokit/iconExplorer/webapp/index.html).
3796
- */
3797
- icon!: string | undefined;
3798
- /**
3799
- Defines whether menu item is in disabled state.
3800
-
3801
- **Note:** A disabled menu item is noninteractive.
3802
- */
3803
- @InputDecorator({ transform: booleanAttribute })
3804
- disabled!: boolean;
3805
- /**
3806
- Defines the delay in milliseconds, after which the loading indicator will be displayed inside the corresponding menu popover.
3807
-
3808
- **Note:** If set to \`true\` a busy indicator component will be displayed into the related one to the current menu item sub-menu popover.
3809
- */
3810
- @InputDecorator({ transform: booleanAttribute })
3811
- loading!: boolean;
3812
- /**
3813
- Defines the delay in milliseconds, after which the loading indicator will be displayed inside the corresponding menu popover.
3814
- */
3815
- loadingDelay!: number;
3816
- /**
3817
- Defines the accessible ARIA name of the component.
3818
- */
3819
- accessibleName!: string | undefined;
3820
- /**
3821
- Defines whether menu item is in checked state.
3822
-
3823
- **Note:** checked state is only taken into account when menu item is added to menu item group
3824
- with \`checkMode\` other than \`None\`.
3825
-
3826
- **Note:** A checked menu item has a checkmark displayed at its end.
3827
- */
3828
- @InputDecorator({ transform: booleanAttribute })
3829
- checked!: boolean;
3830
-
3831
- /**
3832
- Fired when the user clicks on the detail button when type is \`Detail\`.
3833
- */
3834
- ui5DetailClick!: EventEmitter<void>;
3835
- /**
3836
- Fired before the menu is opened. This event can be cancelled, which will prevent the menu from opening.
3837
-
3838
- **Note:** Since 1.14.0 the event is also fired before a sub-menu opens.
3839
- */
3840
- ui5BeforeOpen!: EventEmitter<MenuBeforeOpenEventDetail>;
3841
- /**
3842
- Fired after the menu is opened.
3843
- */
3844
- ui5Open!: EventEmitter<void>;
3845
- /**
3846
- Fired before the menu is closed. This event can be cancelled, which will prevent the menu from closing.
3847
- */
3848
- ui5BeforeClose!: EventEmitter<MenuBeforeCloseEventDetail>;
3849
- /**
3850
- Fired after the menu is closed.
3851
- */
3852
- ui5Close!: EventEmitter<void>;
3853
- /**
3854
- Fired when an item is checked or unchecked.
3855
- */
3856
- ui5Check!: EventEmitter<void>;
3857
-
3858
- private elementRef: ElementRef<UserMenuItem> = inject(ElementRef);
3859
- private zone = inject(NgZone);
3860
- private cdr = inject(ChangeDetectorRef);
3861
-
3862
- get element(): UserMenuItem {
3863
- return this.elementRef.nativeElement;
3864
- }
3865
-
3866
- constructor() {
3867
- this.cdr.detach();
3868
- }
3869
- }
3870
- export { UserMenuItemComponent };
3871
- "
3872
- `;
3873
-
3874
- exports[`Snapshot test Fiori User Menu should match the snapshot 1`] = `
3875
- "import {
3876
- ChangeDetectorRef,
3877
- Component,
3878
- ElementRef,
3879
- EventEmitter,
3880
- Input as InputDecorator,
3881
- NgZone,
3882
- booleanAttribute,
3883
- inject,
3884
- } from '@angular/core';
3885
- import '@ui5/webcomponents-fiori/dist/UserMenu.js';
3886
- import {
3887
- default as UserMenu,
3888
- UserMenuItemClickEventDetail,
3889
- UserMenuOtherAccountClickEventDetail,
3890
- } from '@ui5/webcomponents-fiori/dist/UserMenu.js';
3891
- import { ProxyInputs, ProxyOutputs } from '@ui5/webcomponents-ngx/utils';
3892
- @ProxyInputs([
3893
- 'open',
3894
- 'opener',
3895
- 'showManageAccount',
3896
- 'showOtherAccounts',
3897
- 'showEditAccounts',
3898
- 'showEditButton',
3899
- ])
3900
- @ProxyOutputs([
3901
- 'avatar-click: ui5AvatarClick',
3902
- 'manage-account-click: ui5ManageAccountClick',
3903
- 'edit-accounts-click: ui5EditAccountsClick',
3904
- 'change-account: ui5ChangeAccount',
3905
- 'item-click: ui5ItemClick',
3906
- 'open: ui5Open',
3907
- 'close: ui5Close',
3908
- 'sign-out-click: ui5SignOutClick',
3909
- ])
3910
- @Component({
3911
- standalone: true,
3912
- selector: 'ui5-user-menu',
3913
- template: '<ng-content></ng-content>',
3914
- inputs: [
3915
- 'open',
3916
- 'opener',
3917
- 'showManageAccount',
3918
- 'showOtherAccounts',
3919
- 'showEditAccounts',
3920
- 'showEditButton',
3921
- ],
3922
- outputs: [
3923
- 'ui5AvatarClick',
3924
- 'ui5ManageAccountClick',
3925
- 'ui5EditAccountsClick',
3926
- 'ui5ChangeAccount',
3927
- 'ui5ItemClick',
3928
- 'ui5Open',
3929
- 'ui5Close',
3930
- 'ui5SignOutClick',
3931
- ],
3932
- exportAs: 'ui5UserMenu',
3933
- })
3934
- class UserMenuComponent {
3935
- /**
3936
- Defines if the User Menu is opened.
3937
- */
3938
- @InputDecorator({ transform: booleanAttribute })
3939
- open!: boolean;
3940
- /**
3941
- Defines the ID or DOM Reference of the element at which the user menu is shown.
3942
- When using this attribute in a declarative way, you must only use the \`id\` (as a string) of the element at which you want to show the popover.
3943
- You can only set the \`opener\` attribute to a DOM Reference when using JavaScript.
3944
- */
3945
- opener!: HTMLElement | string | null | undefined;
3946
- /**
3947
- Defines if the User Menu shows the Manage Account option.
3948
- */
3949
- @InputDecorator({ transform: booleanAttribute })
3950
- showManageAccount!: boolean;
3951
- /**
3952
- Defines if the User Menu shows the Other Accounts option.
3953
- */
3954
- @InputDecorator({ transform: booleanAttribute })
3955
- showOtherAccounts!: boolean;
3956
- /**
3957
- Defines if the User Menu shows the Edit Accounts option.
3958
- */
3959
- @InputDecorator({ transform: booleanAttribute })
3960
- showEditAccounts!: boolean;
3961
- /**
3962
- Defines if the User menu shows edit button.
3963
- */
3964
- @InputDecorator({ transform: booleanAttribute })
3965
- showEditButton!: boolean;
3966
-
3967
- /**
3968
- Fired when the account avatar is selected.
3969
- */
3970
- ui5AvatarClick!: EventEmitter<void>;
3971
- /**
3972
- Fired when the \\"Manage Account\\" button is selected.
3973
- */
3974
- ui5ManageAccountClick!: EventEmitter<void>;
3975
- /**
3976
- Fired when the \\"Edit Accounts\\" button is selected.
3977
- */
3978
- ui5EditAccountsClick!: EventEmitter<void>;
3979
- /**
3980
- Fired when the account is switched to a different one.
3981
- */
3982
- ui5ChangeAccount!: EventEmitter<UserMenuOtherAccountClickEventDetail>;
3983
- /**
3984
- Fired when a menu item is selected.
3985
- */
3986
- ui5ItemClick!: EventEmitter<UserMenuItemClickEventDetail>;
3987
- /**
3988
- Fired when a user menu is open.
3989
- */
3990
- ui5Open!: EventEmitter<void>;
3991
- /**
3992
- Fired when a user menu is close.
3993
- */
3994
- ui5Close!: EventEmitter<void>;
3995
- /**
3996
- Fired when the \\"Sign Out\\" button is selected.
3997
- */
3998
- ui5SignOutClick!: EventEmitter<void>;
3999
-
4000
- private elementRef: ElementRef<UserMenu> = inject(ElementRef);
4001
- private zone = inject(NgZone);
4002
- private cdr = inject(ChangeDetectorRef);
4003
-
4004
- get element(): UserMenu {
4005
- return this.elementRef.nativeElement;
4006
- }
4007
-
4008
- constructor() {
4009
- this.cdr.detach();
4010
- }
4011
- }
4012
- export { UserMenuComponent };
4013
- "
4014
- `;
4015
-
4016
- exports[`Snapshot test Fiori User Settings Account View should match the snapshot 1`] = `
4017
- "import {
4018
- ChangeDetectorRef,
4019
- Component,
4020
- ElementRef,
4021
- EventEmitter,
4022
- Input as InputDecorator,
4023
- NgZone,
4024
- booleanAttribute,
4025
- inject,
4026
- } from '@angular/core';
4027
- import '@ui5/webcomponents-fiori/dist/UserSettingsAccountView.js';
4028
- import UserSettingsAccountView from '@ui5/webcomponents-fiori/dist/UserSettingsAccountView.js';
4029
- import { ProxyInputs, ProxyOutputs } from '@ui5/webcomponents-ngx/utils';
4030
- @ProxyInputs(['text', 'selected', 'secondary', 'showManageAccount'])
4031
- @ProxyOutputs([
4032
- 'edit-accounts-click: ui5EditAccountsClick',
4033
- 'manage-account-click: ui5ManageAccountClick',
4034
- ])
4035
- @Component({
4036
- standalone: true,
4037
- selector: 'ui5-user-settings-account-view',
4038
- template: '<ng-content></ng-content>',
4039
- inputs: ['text', 'selected', 'secondary', 'showManageAccount'],
4040
- outputs: ['ui5EditAccountsClick', 'ui5ManageAccountClick'],
4041
- exportAs: 'ui5UserSettingsAccountView',
4042
- })
4043
- class UserSettingsAccountViewComponent {
4044
- /**
4045
- Defines the title text of the user settings view.
4046
- */
4047
- text!: string | undefined;
4048
- /**
4049
- Defines whether the view is selected. There can be just one selected view at a time.
4050
- */
4051
- @InputDecorator({ transform: booleanAttribute })
4052
- selected!: boolean;
4053
- /**
4054
- Indicates whether the view is secondary. It is relevant only if the view is used in \`pages\` slot of \`ui5-user-settings-item\`
4055
- and controls the visibility of the back button.
4056
- */
4057
- @InputDecorator({ transform: booleanAttribute })
4058
- secondary!: boolean;
4059
- /**
4060
- Defines if the User Menu shows the \`Manage Account\` option.
4061
- */
4062
- @InputDecorator({ transform: booleanAttribute })
4063
- showManageAccount!: boolean;
4064
-
4065
- /**
4066
- Fired when the \`Edit Accounts\` button is selected.
4067
- */
4068
- ui5EditAccountsClick!: EventEmitter<void>;
4069
- /**
4070
- Fired when the \`Manage Account\` button is selected.
4071
- */
4072
- ui5ManageAccountClick!: EventEmitter<void>;
4073
-
4074
- private elementRef: ElementRef<UserSettingsAccountView> = inject(ElementRef);
4075
- private zone = inject(NgZone);
4076
- private cdr = inject(ChangeDetectorRef);
4077
-
4078
- get element(): UserSettingsAccountView {
4079
- return this.elementRef.nativeElement;
4080
- }
4081
-
4082
- constructor() {
4083
- this.cdr.detach();
4084
- }
4085
- }
4086
- export { UserSettingsAccountViewComponent };
4087
- "
4088
- `;
4089
-
4090
- exports[`Snapshot test Fiori User Settings Dialog should match the snapshot 1`] = `
4091
- "import {
4092
- ChangeDetectorRef,
4093
- Component,
4094
- ElementRef,
4095
- EventEmitter,
4096
- Input as InputDecorator,
4097
- NgZone,
4098
- booleanAttribute,
4099
- inject,
4100
- } from '@angular/core';
4101
- import '@ui5/webcomponents-fiori/dist/UserSettingsDialog.js';
4102
- import {
4103
- default as UserSettingsDialog,
4104
- UserSettingsItemSelectEventDetail,
4105
- } from '@ui5/webcomponents-fiori/dist/UserSettingsDialog.js';
4106
- import { ProxyInputs, ProxyOutputs } from '@ui5/webcomponents-ngx/utils';
4107
- @ProxyInputs(['open', 'headerText', 'showSearchField'])
4108
- @ProxyOutputs([
4109
- 'selection-change: ui5SelectionChange',
4110
- 'open: ui5Open',
4111
- 'before-close: ui5BeforeClose',
4112
- 'close: ui5Close',
4113
- ])
4114
- @Component({
4115
- standalone: true,
4116
- selector: 'ui5-user-settings-dialog',
4117
- template: '<ng-content></ng-content>',
4118
- inputs: ['open', 'headerText', 'showSearchField'],
4119
- outputs: ['ui5SelectionChange', 'ui5Open', 'ui5BeforeClose', 'ui5Close'],
4120
- exportAs: 'ui5UserSettingsDialog',
4121
- })
4122
- class UserSettingsDialogComponent {
4123
- /**
4124
- Defines, if the User Settings Dialog is opened.
4125
- */
4126
- @InputDecorator({ transform: booleanAttribute })
4127
- open!: boolean;
4128
- /**
4129
- Defines the headerText of the item.
4130
- */
4131
- headerText!: string | undefined;
4132
- /**
4133
- Defines if the Search Field would be displayed.
4134
-
4135
- **Note:** By default the Search Field is not displayed.
4136
- */
4137
- @InputDecorator({ transform: booleanAttribute })
4138
- showSearchField!: boolean;
4139
-
4140
- /**
4141
- Fired when an item is selected.
4142
- */
4143
- ui5SelectionChange!: EventEmitter<UserSettingsItemSelectEventDetail>;
4144
- /**
4145
- Fired when a settings dialog is open.
4146
- */
4147
- ui5Open!: EventEmitter<void>;
4148
- /**
4149
- Fired before the settings dialog is closed.
4150
- */
4151
- ui5BeforeClose!: EventEmitter<void>;
4152
- /**
4153
- Fired when a settings dialog is closed.
4154
- */
4155
- ui5Close!: EventEmitter<void>;
4156
-
4157
- private elementRef: ElementRef<UserSettingsDialog> = inject(ElementRef);
4158
- private zone = inject(NgZone);
4159
- private cdr = inject(ChangeDetectorRef);
4160
-
4161
- get element(): UserSettingsDialog {
4162
- return this.elementRef.nativeElement;
4163
- }
4164
-
4165
- constructor() {
4166
- this.cdr.detach();
4167
- }
4168
- }
4169
- export { UserSettingsDialogComponent };
4170
- "
4171
- `;
4172
-
4173
- exports[`Snapshot test Fiori User Settings Item should match the snapshot 1`] = `
4174
- "import {
4175
- ChangeDetectorRef,
4176
- Component,
4177
- ElementRef,
4178
- EventEmitter,
4179
- Input as InputDecorator,
4180
- NgZone,
4181
- booleanAttribute,
4182
- inject,
4183
- } from '@angular/core';
4184
- import '@ui5/webcomponents-fiori/dist/UserSettingsItem.js';
4185
- import {
4186
- default as UserSettingsItem,
4187
- UserSettingsItemViewSelectEventDetail,
4188
- } from '@ui5/webcomponents-fiori/dist/UserSettingsItem.js';
4189
- import { ProxyInputs, ProxyOutputs } from '@ui5/webcomponents-ngx/utils';
4190
- @ProxyInputs([
4191
- 'text',
4192
- 'tooltip',
4193
- 'headerText',
4194
- 'selected',
4195
- 'disabled',
4196
- 'loading',
4197
- 'loadingReason',
4198
- 'icon',
4199
- 'accessibleName',
4200
- ])
4201
- @ProxyOutputs(['selection-change: ui5SelectionChange'])
4202
- @Component({
4203
- standalone: true,
4204
- selector: 'ui5-user-settings-item',
4205
- template: '<ng-content></ng-content>',
4206
- inputs: [
4207
- 'text',
4208
- 'tooltip',
4209
- 'headerText',
4210
- 'selected',
4211
- 'disabled',
4212
- 'loading',
4213
- 'loadingReason',
4214
- 'icon',
4215
- 'accessibleName',
4216
- ],
4217
- outputs: ['ui5SelectionChange'],
4218
- exportAs: 'ui5UserSettingsItem',
4219
- })
4220
- class UserSettingsItemComponent {
4221
- /**
4222
- Defines the text of the user settings item.
4223
- */
4224
- text!: string;
4225
- /**
4226
- Defines the tooltip of the component.
4227
-
4228
- A tooltip attribute should be provided to represent the meaning or function when the component is collapsed and only the icon is visible.
4229
- */
4230
- tooltip!: string;
4231
- /**
4232
- Defines the headerText of the item.
4233
- */
4234
- headerText!: string | undefined;
4235
- /**
4236
- Shows item tab.
4237
- */
4238
- @InputDecorator({ transform: booleanAttribute })
4239
- selected!: boolean;
4240
- /**
4241
- Defines whether the component is in disabled state.
4242
-
4243
- **Note:** A disabled component is completely noninteractive.
4244
- */
4245
- @InputDecorator({ transform: booleanAttribute })
4246
- disabled!: boolean;
4247
- /**
4248
- Indicates whether a loading indicator should be shown.
4249
- */
4250
- @InputDecorator({ transform: booleanAttribute })
4251
- loading!: boolean;
4252
- /**
4253
- Indicates why the control is in loading state.
4254
- */
4255
- loadingReason!: string | undefined;
4256
- /**
4257
- Defines the icon of the component.
4258
- */
4259
- icon!: string;
4260
- /**
4261
- Defines the accessible ARIA name of the component.
4262
- */
4263
- accessibleName!: string | undefined;
4264
-
4265
- /**
4266
- Fired when a selected view changed.
4267
- */
4268
- ui5SelectionChange!: EventEmitter<UserSettingsItemViewSelectEventDetail>;
4269
-
4270
- private elementRef: ElementRef<UserSettingsItem> = inject(ElementRef);
4271
- private zone = inject(NgZone);
4272
- private cdr = inject(ChangeDetectorRef);
4273
-
4274
- get element(): UserSettingsItem {
4275
- return this.elementRef.nativeElement;
4276
- }
4277
-
4278
- constructor() {
4279
- this.cdr.detach();
4280
- }
4281
- }
4282
- export { UserSettingsItemComponent };
4283
- "
4284
- `;
4285
-
4286
- exports[`Snapshot test Fiori User Settings View should match the snapshot 1`] = `
4287
- "import {
4288
- ChangeDetectorRef,
4289
- Component,
4290
- ElementRef,
4291
- Input as InputDecorator,
4292
- NgZone,
4293
- booleanAttribute,
4294
- inject,
4295
- } from '@angular/core';
4296
- import '@ui5/webcomponents-fiori/dist/UserSettingsView.js';
4297
- import UserSettingsView from '@ui5/webcomponents-fiori/dist/UserSettingsView.js';
4298
- import { ProxyInputs } from '@ui5/webcomponents-ngx/utils';
4299
- @ProxyInputs(['text', 'selected', 'secondary'])
4300
- @Component({
4301
- standalone: true,
4302
- selector: 'ui5-user-settings-view',
4303
- template: '<ng-content></ng-content>',
4304
- inputs: ['text', 'selected', 'secondary'],
4305
- exportAs: 'ui5UserSettingsView',
4306
- })
4307
- class UserSettingsViewComponent {
4308
- /**
4309
- Defines the title text of the user settings view.
4310
- */
4311
- text!: string | undefined;
4312
- /**
4313
- Defines whether the view is selected. There can be just one selected view at a time.
4314
- */
4315
- @InputDecorator({ transform: booleanAttribute })
4316
- selected!: boolean;
4317
- /**
4318
- Indicates whether the view is secondary. It is relevant only if the view is used in \`pages\` slot of \`ui5-user-settings-item\`
4319
- and controls the visibility of the back button.
4320
- */
4321
- @InputDecorator({ transform: booleanAttribute })
4322
- secondary!: boolean;
4323
-
4324
- private elementRef: ElementRef<UserSettingsView> = inject(ElementRef);
4325
- private zone = inject(NgZone);
4326
- private cdr = inject(ChangeDetectorRef);
4327
-
4328
- get element(): UserSettingsView {
4329
- return this.elementRef.nativeElement;
4330
- }
4331
-
4332
- constructor() {
4333
- this.cdr.detach();
4334
- }
4335
- }
4336
- export { UserSettingsViewComponent };
4337
- "
4338
- `;
4339
-
4340
- exports[`Snapshot test Fiori View Settings Dialog should match the snapshot 1`] = `
4341
- "import {
4342
- ChangeDetectorRef,
4343
- Component,
4344
- ElementRef,
4345
- EventEmitter,
4346
- Input as InputDecorator,
4347
- NgZone,
4348
- booleanAttribute,
4349
- inject,
4350
- } from '@angular/core';
4351
- import '@ui5/webcomponents-fiori/dist/ViewSettingsDialog.js';
4352
- import {
4353
- default as ViewSettingsDialog,
4354
- ViewSettingsDialogCancelEventDetail,
4355
- ViewSettingsDialogConfirmEventDetail,
4356
- } from '@ui5/webcomponents-fiori/dist/ViewSettingsDialog.js';
4357
- import { ProxyInputs, ProxyOutputs } from '@ui5/webcomponents-ngx/utils';
4358
- @ProxyInputs(['sortDescending', 'groupDescending', 'open'])
4359
- @ProxyOutputs([
4360
- 'confirm: ui5Confirm',
4361
- 'cancel: ui5Cancel',
4362
- 'before-open: ui5BeforeOpen',
4363
- 'open: ui5Open',
4364
- 'close: ui5Close',
4365
- ])
4366
- @Component({
4367
- standalone: true,
4368
- selector: 'ui5-view-settings-dialog',
4369
- template: '<ng-content></ng-content>',
4370
- inputs: ['sortDescending', 'groupDescending', 'open'],
4371
- outputs: ['ui5Confirm', 'ui5Cancel', 'ui5BeforeOpen', 'ui5Open', 'ui5Close'],
4372
- exportAs: 'ui5ViewSettingsDialog',
4373
- })
4374
- class ViewSettingsDialogComponent {
4375
- /**
4376
- Defines the initial sort order.
4377
- */
4378
- @InputDecorator({ transform: booleanAttribute })
4379
- sortDescending!: boolean;
4380
- /**
4381
- Defines the initial group order.
4382
- */
4383
- @InputDecorator({ transform: booleanAttribute })
4384
- groupDescending!: boolean;
4385
- /**
4386
- Indicates if the dialog is open.
4387
- */
4388
- @InputDecorator({ transform: booleanAttribute })
4389
- open!: boolean;
4390
-
4391
- /**
4392
- Fired when confirmation button is activated.
4393
- */
4394
- ui5Confirm!: EventEmitter<ViewSettingsDialogConfirmEventDetail>;
4395
- /**
4396
- Fired when cancel button is activated.
4397
- */
4398
- ui5Cancel!: EventEmitter<ViewSettingsDialogCancelEventDetail>;
4399
- /**
4400
- Fired before the component is opened.
4401
- */
4402
- ui5BeforeOpen!: EventEmitter<void>;
4403
- /**
4404
- Fired after the dialog is opened.
4405
- */
4406
- ui5Open!: EventEmitter<void>;
4407
- /**
4408
- Fired after the dialog is closed.
4409
- */
4410
- ui5Close!: EventEmitter<void>;
4411
-
4412
- private elementRef: ElementRef<ViewSettingsDialog> = inject(ElementRef);
4413
- private zone = inject(NgZone);
4414
- private cdr = inject(ChangeDetectorRef);
4415
-
4416
- get element(): ViewSettingsDialog {
4417
- return this.elementRef.nativeElement;
4418
- }
4419
-
4420
- constructor() {
4421
- this.cdr.detach();
4422
- }
4423
- }
4424
- export { ViewSettingsDialogComponent };
4425
- "
4426
- `;
4427
-
4428
- exports[`Snapshot test Fiori Wizard Step should match the snapshot 1`] = `
4429
- "import {
4430
- ChangeDetectorRef,
4431
- Component,
4432
- ElementRef,
4433
- Input as InputDecorator,
4434
- NgZone,
4435
- booleanAttribute,
4436
- inject,
4437
- } from '@angular/core';
4438
- import '@ui5/webcomponents-fiori/dist/WizardStep.js';
4439
- import WizardStep from '@ui5/webcomponents-fiori/dist/WizardStep.js';
4440
- import { ProxyInputs } from '@ui5/webcomponents-ngx/utils';
4441
- @ProxyInputs([
4442
- 'titleText',
4443
- 'subtitleText',
4444
- 'icon',
4445
- 'disabled',
4446
- 'selected',
4447
- 'branching',
4448
- ])
4449
- @Component({
4450
- standalone: true,
4451
- selector: 'ui5-wizard-step',
4452
- template: '<ng-content></ng-content>',
4453
- inputs: [
4454
- 'titleText',
4455
- 'subtitleText',
4456
- 'icon',
4457
- 'disabled',
4458
- 'selected',
4459
- 'branching',
4460
- ],
4461
- exportAs: 'ui5WizardStep',
4462
- })
4463
- class WizardStepComponent {
4464
- /**
4465
- Defines the \`titleText\` of the step.
4466
-
4467
- **Note:** The text is displayed in the \`ui5-wizard\` navigation header.
4468
- */
4469
- titleText!: string | undefined;
4470
- /**
4471
- Defines the \`subtitleText\` of the step.
4472
-
4473
- **Note:** the text is displayed in the \`ui5-wizard\` navigation header.
4474
- */
4475
- subtitleText!: string | undefined;
4476
- /**
4477
- Defines the \`icon\` of the step.
4478
-
4479
- **Note:** The icon is displayed in the \`ui5-wizard\` navigation header.
4480
-
4481
- The SAP-icons font provides numerous options.
4482
- See all the available icons in the [Icon Explorer](https://sdk.openui5.org/test-resources/sap/m/demokit/iconExplorer/webapp/index.html).
4483
- */
4484
- icon!: string | undefined;
4485
- /**
4486
- Defines if the step is \`disabled\`. When disabled the step is displayed,
4487
- but the user can't select the step by clicking or navigate to it with scrolling.
4488
-
4489
- **Note:** Step can't be \`selected\` and \`disabled\` at the same time.
4490
- In this case the \`selected\` property would take precedence.
4491
- */
4492
- @InputDecorator({ transform: booleanAttribute })
4493
- disabled!: boolean;
4494
- /**
4495
- Defines the step's \`selected\` state - the step that is currently active.
4496
-
4497
- **Note:** Step can't be \`selected\` and \`disabled\` at the same time.
4498
- In this case the \`selected\` property would take precedence.
4499
- */
4500
- @InputDecorator({ transform: booleanAttribute })
4501
- selected!: boolean;
4502
- /**
4503
- When \`branching\` is enabled a dashed line would be displayed after the step,
4504
- meant to indicate that the next step is not yet known and depends on user choice in the current step.
4505
-
4506
- **Note:** It is recommended to use \`branching\` on the last known step
4507
- and later add new steps when it becomes clear how the wizard flow should continue.
4508
- */
4509
- @InputDecorator({ transform: booleanAttribute })
4510
- branching!: boolean;
4511
-
4512
- private elementRef: ElementRef<WizardStep> = inject(ElementRef);
4513
- private zone = inject(NgZone);
4514
- private cdr = inject(ChangeDetectorRef);
4515
-
4516
- get element(): WizardStep {
4517
- return this.elementRef.nativeElement;
4518
- }
4519
-
4520
- constructor() {
4521
- this.cdr.detach();
4522
- }
4523
- }
4524
- export { WizardStepComponent };
4525
- "
4526
- `;
4527
-
4528
- exports[`Snapshot test Fiori Wizard should match the snapshot 1`] = `
4529
- "import {
4530
- ChangeDetectorRef,
4531
- Component,
4532
- ElementRef,
4533
- EventEmitter,
4534
- NgZone,
4535
- inject,
4536
- } from '@angular/core';
4537
- import '@ui5/webcomponents-fiori/dist/Wizard.js';
4538
- import {
4539
- default as Wizard,
4540
- WizardStepChangeEventDetail,
4541
- } from '@ui5/webcomponents-fiori/dist/Wizard.js';
4542
- import { ProxyInputs, ProxyOutputs } from '@ui5/webcomponents-ngx/utils';
4543
- @ProxyInputs(['contentLayout'])
4544
- @ProxyOutputs(['step-change: ui5StepChange'])
4545
- @Component({
4546
- standalone: true,
4547
- selector: 'ui5-wizard',
4548
- template: '<ng-content></ng-content>',
4549
- inputs: ['contentLayout'],
4550
- outputs: ['ui5StepChange'],
4551
- exportAs: 'ui5Wizard',
4552
- })
4553
- class WizardComponent {
4554
- /**
4555
- Defines how the content of the \`ui5-wizard\` would be visualized.
4556
- */
4557
- contentLayout!: 'MultipleSteps' | 'SingleStep';
4558
-
4559
- /**
4560
- Fired when the step is changed by user interaction - either with scrolling,
4561
- or by clicking on the steps within the component header.
4562
- */
4563
- ui5StepChange!: EventEmitter<WizardStepChangeEventDetail>;
4564
-
4565
- private elementRef: ElementRef<Wizard> = inject(ElementRef);
4566
- private zone = inject(NgZone);
4567
- private cdr = inject(ChangeDetectorRef);
4568
-
4569
- get element(): Wizard {
4570
- return this.elementRef.nativeElement;
4571
- }
4572
-
4573
- constructor() {
4574
- this.cdr.detach();
4575
- }
4576
- }
4577
- export { WizardComponent };
4578
- "
4579
- `;