@ui5/webcomponents-base 0.0.0-2db62badf → 0.0.0-2f7664755

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 (862) hide show
  1. package/.eslintignore +6 -0
  2. package/CHANGELOG.md +588 -0
  3. package/README.md +53 -7
  4. package/bundle.esm.js +29 -21
  5. package/dist/AssetRegistry.d.ts +5 -0
  6. package/dist/AssetRegistry.js +6 -9
  7. package/dist/AssetRegistry.js.map +1 -0
  8. package/dist/Boot.d.ts +8 -0
  9. package/dist/Boot.js +44 -0
  10. package/dist/Boot.js.map +1 -0
  11. package/dist/CSP.d.ts +30 -0
  12. package/dist/CSP.js +51 -0
  13. package/dist/CSP.js.map +1 -0
  14. package/dist/CustomElementsRegistry.d.ts +5 -0
  15. package/dist/CustomElementsRegistry.js +78 -0
  16. package/dist/CustomElementsRegistry.js.map +1 -0
  17. package/dist/CustomElementsScope.d.ts +7 -0
  18. package/dist/CustomElementsScope.js +11 -0
  19. package/dist/CustomElementsScope.js.map +1 -0
  20. package/dist/CustomElementsScopeUtils.d.ts +55 -0
  21. package/dist/CustomElementsScopeUtils.js +90 -0
  22. package/dist/CustomElementsScopeUtils.js.map +1 -0
  23. package/dist/DOMObserver.d.ts +11 -0
  24. package/dist/DOMObserver.js +23 -0
  25. package/dist/DOMObserver.js.map +1 -0
  26. package/dist/Device.d.ts +12 -0
  27. package/dist/Device.js +84 -816
  28. package/dist/Device.js.map +1 -0
  29. package/dist/EventProvider.d.ts +25 -0
  30. package/dist/EventProvider.js +67 -70
  31. package/dist/EventProvider.js.map +1 -0
  32. package/dist/FeaturesRegistry.d.ts +3 -0
  33. package/dist/FeaturesRegistry.js +5 -7
  34. package/dist/FeaturesRegistry.js.map +1 -0
  35. package/dist/FontFace.d.ts +2 -0
  36. package/dist/FontFace.js +22 -63
  37. package/dist/FontFace.js.map +1 -0
  38. package/dist/InitialConfiguration.d.ts +22 -0
  39. package/dist/InitialConfiguration.js +124 -96
  40. package/dist/InitialConfiguration.js.map +1 -0
  41. package/dist/Keys.d.ts +57 -0
  42. package/dist/Keys.js +178 -0
  43. package/dist/Keys.js.map +1 -0
  44. package/dist/ManagedStyles.d.ts +8 -0
  45. package/dist/ManagedStyles.js +77 -0
  46. package/dist/ManagedStyles.js.map +1 -0
  47. package/dist/MarkedEvents.d.ts +9 -0
  48. package/dist/MarkedEvents.js +15 -0
  49. package/dist/MarkedEvents.js.map +1 -0
  50. package/dist/MediaRange.d.ts +37 -0
  51. package/dist/MediaRange.js +98 -0
  52. package/dist/MediaRange.js.map +1 -0
  53. package/dist/PropertiesFileFormat.d.ts +8 -0
  54. package/dist/PropertiesFileFormat.js +85 -0
  55. package/dist/PropertiesFileFormat.js.map +1 -0
  56. package/dist/Render.d.ts +47 -0
  57. package/dist/Render.js +143 -0
  58. package/dist/Render.js.map +1 -0
  59. package/dist/RenderQueue.d.ts +19 -0
  60. package/dist/RenderQueue.js +53 -39
  61. package/dist/RenderQueue.js.map +1 -0
  62. package/dist/Runtimes.d.ts +27 -0
  63. package/dist/Runtimes.js +86 -0
  64. package/dist/Runtimes.js.map +1 -0
  65. package/dist/StaticArea.d.ts +0 -0
  66. package/dist/StaticArea.js +6 -0
  67. package/dist/StaticArea.js.map +1 -0
  68. package/dist/StaticAreaItem.d.ts +36 -0
  69. package/dist/StaticAreaItem.js +99 -0
  70. package/dist/StaticAreaItem.js.map +1 -0
  71. package/dist/SystemCSSVars.d.ts +2 -0
  72. package/dist/SystemCSSVars.js +9 -0
  73. package/dist/SystemCSSVars.js.map +1 -0
  74. package/dist/Theming.d.ts +3 -0
  75. package/dist/Theming.js +4 -45
  76. package/dist/Theming.js.map +1 -0
  77. package/dist/UI5Element.d.ts +374 -0
  78. package/dist/UI5Element.js +953 -790
  79. package/dist/UI5Element.js.map +1 -0
  80. package/dist/UI5ElementMetadata.d.ts +150 -0
  81. package/dist/UI5ElementMetadata.js +278 -135
  82. package/dist/UI5ElementMetadata.js.map +1 -0
  83. package/dist/animations/AnimationQueue.d.ts +8 -0
  84. package/dist/animations/AnimationQueue.js +31 -38
  85. package/dist/animations/AnimationQueue.js.map +1 -0
  86. package/dist/animations/animate.d.ts +14 -0
  87. package/dist/animations/animate.js +46 -51
  88. package/dist/animations/animate.js.map +1 -0
  89. package/dist/animations/scroll.d.ts +5 -0
  90. package/dist/animations/scroll.js +18 -27
  91. package/dist/animations/scroll.js.map +1 -0
  92. package/dist/animations/slideDown.d.ts +5 -0
  93. package/dist/animations/slideDown.js +53 -78
  94. package/dist/animations/slideDown.js.map +1 -0
  95. package/dist/animations/slideUp.d.ts +5 -0
  96. package/dist/animations/slideUp.js +49 -70
  97. package/dist/animations/slideUp.js.map +1 -0
  98. package/dist/api.json +1 -0
  99. package/dist/asset-registries/Icons.d.ts +30 -0
  100. package/dist/asset-registries/Icons.js +104 -24
  101. package/dist/asset-registries/Icons.js.map +1 -0
  102. package/dist/asset-registries/Illustrations.d.ts +17 -0
  103. package/dist/asset-registries/Illustrations.js +46 -0
  104. package/dist/asset-registries/Illustrations.js.map +1 -0
  105. package/dist/asset-registries/LocaleData.d.ts +7 -0
  106. package/dist/asset-registries/LocaleData.js +127 -92
  107. package/dist/asset-registries/LocaleData.js.map +1 -0
  108. package/dist/asset-registries/Themes.d.ts +10 -0
  109. package/dist/asset-registries/Themes.js +40 -65
  110. package/dist/asset-registries/Themes.js.map +1 -0
  111. package/dist/asset-registries/i18n.d.ts +23 -0
  112. package/dist/asset-registries/i18n.js +78 -58
  113. package/dist/asset-registries/i18n.js.map +1 -0
  114. package/dist/assets/bundle.esm.8fc86dc4.js +56 -0
  115. package/dist/assets-meta/IconCollectionsAlias.d.ts +17 -0
  116. package/dist/assets-meta/IconCollectionsAlias.js +18 -0
  117. package/dist/assets-meta/IconCollectionsAlias.js.map +1 -0
  118. package/dist/config/AnimationMode.d.ts +14 -0
  119. package/dist/config/AnimationMode.js +23 -6
  120. package/dist/config/AnimationMode.js.map +1 -0
  121. package/dist/config/CalendarType.d.ts +8 -0
  122. package/dist/config/CalendarType.js +15 -14
  123. package/dist/config/CalendarType.js.map +1 -0
  124. package/dist/config/FormatSettings.d.ts +11 -0
  125. package/dist/config/FormatSettings.js +11 -5
  126. package/dist/config/FormatSettings.js.map +1 -0
  127. package/dist/config/Icons.d.ts +30 -0
  128. package/dist/config/Icons.js +48 -0
  129. package/dist/config/Icons.js.map +1 -0
  130. package/dist/config/Language.d.ts +31 -0
  131. package/dist/config/Language.js +54 -7
  132. package/dist/config/Language.js.map +1 -0
  133. package/dist/config/NoConflict.d.ts +20 -0
  134. package/dist/config/NoConflict.js +40 -34
  135. package/dist/config/NoConflict.js.map +1 -0
  136. package/dist/config/RTL.d.ts +7 -0
  137. package/dist/config/RTL.js +23 -20
  138. package/dist/config/RTL.js.map +1 -0
  139. package/dist/config/Theme.d.ts +28 -0
  140. package/dist/config/Theme.js +46 -19
  141. package/dist/config/Theme.js.map +1 -0
  142. package/dist/config/ThemeRoots.d.ts +4 -0
  143. package/dist/config/ThemeRoots.js +28 -0
  144. package/dist/config/ThemeRoots.js.map +1 -0
  145. package/dist/css/BusyIndicator.css +80 -0
  146. package/dist/css/FontFace.css +66 -0
  147. package/dist/css/OverrideFontFace.css +32 -0
  148. package/dist/css/SystemCSSVars.css +17 -0
  149. package/dist/decorators/customElement.d.ts +8 -0
  150. package/dist/decorators/customElement.js +16 -0
  151. package/dist/decorators/customElement.js.map +1 -0
  152. package/dist/decorators/event.d.ts +10 -0
  153. package/dist/decorators/event.js +24 -0
  154. package/dist/decorators/event.js.map +1 -0
  155. package/dist/decorators/fastNavigation.d.ts +7 -0
  156. package/dist/decorators/fastNavigation.js +13 -0
  157. package/dist/decorators/fastNavigation.js.map +1 -0
  158. package/dist/decorators/languageAware.d.ts +7 -0
  159. package/dist/decorators/languageAware.js +13 -0
  160. package/dist/decorators/languageAware.js.map +1 -0
  161. package/dist/decorators/property.d.ts +9 -0
  162. package/dist/decorators/property.js +24 -0
  163. package/dist/decorators/property.js.map +1 -0
  164. package/dist/decorators/slot.d.ts +9 -0
  165. package/dist/decorators/slot.js +37 -0
  166. package/dist/decorators/slot.js.map +1 -0
  167. package/dist/decorators/themeAware.d.ts +7 -0
  168. package/dist/decorators/themeAware.js +13 -0
  169. package/dist/decorators/themeAware.js.map +1 -0
  170. package/dist/delegate/ItemNavigation.d.ts +113 -0
  171. package/dist/delegate/ItemNavigation.js +312 -230
  172. package/dist/delegate/ItemNavigation.js.map +1 -0
  173. package/dist/delegate/ResizeHandler.d.ts +24 -0
  174. package/dist/delegate/ResizeHandler.js +80 -63
  175. package/dist/delegate/ResizeHandler.js.map +1 -0
  176. package/dist/delegate/ScrollEnablement.d.ts +49 -0
  177. package/dist/delegate/ScrollEnablement.js +159 -74
  178. package/dist/delegate/ScrollEnablement.js.map +1 -0
  179. package/dist/features/F6Navigation.d.ts +16 -0
  180. package/dist/features/F6Navigation.js +112 -0
  181. package/dist/features/F6Navigation.js.map +1 -0
  182. package/dist/features/OpenUI5Element.d.ts +9 -0
  183. package/dist/features/OpenUI5Element.js +5 -0
  184. package/dist/features/OpenUI5Element.js.map +1 -0
  185. package/dist/features/OpenUI5Enablement.d.ts +11 -0
  186. package/dist/features/OpenUI5Enablement.js +96 -0
  187. package/dist/features/OpenUI5Enablement.js.map +1 -0
  188. package/dist/features/OpenUI5Support.d.ts +23 -0
  189. package/dist/features/OpenUI5Support.js +97 -0
  190. package/dist/features/OpenUI5Support.js.map +1 -0
  191. package/dist/generated/AssetParameters.js +13 -0
  192. package/dist/generated/VersionInfo.js +10 -0
  193. package/dist/generated/css/BusyIndicator.css.d.ts +3 -0
  194. package/dist/generated/css/BusyIndicator.css.js +7 -0
  195. package/dist/generated/css/BusyIndicator.css.js.map +1 -0
  196. package/dist/generated/css/FontFace.css.d.ts +3 -0
  197. package/dist/generated/css/FontFace.css.js +7 -0
  198. package/dist/generated/css/FontFace.css.js.map +1 -0
  199. package/dist/generated/css/OverrideFontFace.css.d.ts +3 -0
  200. package/dist/generated/css/OverrideFontFace.css.js +7 -0
  201. package/dist/generated/css/OverrideFontFace.css.js.map +1 -0
  202. package/dist/generated/css/SystemCSSVars.css.d.ts +3 -0
  203. package/dist/generated/css/SystemCSSVars.css.js +7 -0
  204. package/dist/generated/css/SystemCSSVars.css.js.map +1 -0
  205. package/dist/generated/templates/elements/WithComplexTemplateTemplate.lit.js +11 -0
  206. package/dist/getSharedResource.d.ts +11 -0
  207. package/dist/getSharedResource.js +26 -0
  208. package/dist/getSharedResource.js.map +1 -0
  209. package/dist/global.d.ts +38 -0
  210. package/dist/i18nBundle.d.ts +43 -0
  211. package/dist/i18nBundle.js +73 -30
  212. package/dist/i18nBundle.js.map +1 -0
  213. package/dist/locale/Locale.d.ts +22 -0
  214. package/dist/locale/Locale.js +79 -0
  215. package/dist/locale/Locale.js.map +1 -0
  216. package/dist/locale/RTLAwareRegistry.d.ts +4 -0
  217. package/dist/locale/RTLAwareRegistry.js +9 -0
  218. package/dist/locale/RTLAwareRegistry.js.map +1 -0
  219. package/dist/locale/applyDirection.d.ts +10 -0
  220. package/dist/locale/applyDirection.js +17 -0
  221. package/dist/locale/applyDirection.js.map +1 -0
  222. package/dist/locale/directionChange.d.ts +15 -0
  223. package/dist/locale/directionChange.js +24 -0
  224. package/dist/locale/directionChange.js.map +1 -0
  225. package/dist/locale/getEffectiveDir.d.ts +2 -0
  226. package/dist/locale/getEffectiveDir.js +24 -0
  227. package/dist/locale/getEffectiveDir.js.map +1 -0
  228. package/dist/locale/getLocale.d.ts +7 -0
  229. package/dist/locale/getLocale.js +38 -0
  230. package/dist/locale/getLocale.js.map +1 -0
  231. package/dist/locale/languageChange.d.ts +5 -0
  232. package/dist/locale/languageChange.js +14 -0
  233. package/dist/locale/languageChange.js.map +1 -0
  234. package/dist/locale/nextFallbackLocale.d.ts +8 -0
  235. package/dist/locale/nextFallbackLocale.js +24 -0
  236. package/dist/locale/nextFallbackLocale.js.map +1 -0
  237. package/dist/locale/normalizeLocale.d.ts +7 -0
  238. package/dist/locale/normalizeLocale.js +47 -0
  239. package/dist/locale/normalizeLocale.js.map +1 -0
  240. package/dist/renderer/LitRenderer.d.ts +14 -0
  241. package/dist/renderer/LitRenderer.js +38 -12
  242. package/dist/renderer/LitRenderer.js.map +1 -0
  243. package/dist/renderer/directives/style-map.js +72 -0
  244. package/dist/renderer/executeTemplate.d.ts +13 -0
  245. package/dist/renderer/executeTemplate.js +30 -0
  246. package/dist/renderer/executeTemplate.js.map +1 -0
  247. package/dist/sap/base/Log.js +240 -0
  248. package/dist/sap/base/assert.js +7 -0
  249. package/dist/sap/base/security/URLListValidator.js +159 -0
  250. package/dist/sap/base/security/encodeCSS.js +14 -0
  251. package/dist/sap/base/security/encodeXML.js +23 -0
  252. package/dist/sap/base/security/sanitizeHTML.js +16 -0
  253. package/dist/sap/base/strings/toHex.js +8 -0
  254. package/dist/sap/base/util/now.js +7 -0
  255. package/dist/sap/ui/thirdparty/caja-html-sanitizer.js +3585 -0
  256. package/dist/theming/CustomStyle.d.ts +6 -0
  257. package/dist/theming/CustomStyle.js +44 -17
  258. package/dist/theming/CustomStyle.js.map +1 -0
  259. package/dist/theming/ThemeLoaded.d.ts +5 -0
  260. package/dist/theming/ThemeLoaded.js +14 -0
  261. package/dist/theming/ThemeLoaded.js.map +1 -0
  262. package/dist/theming/applyTheme.d.ts +2 -0
  263. package/dist/theming/applyTheme.js +75 -0
  264. package/dist/theming/applyTheme.js.map +1 -0
  265. package/dist/theming/getConstructableStyle.d.ts +9 -0
  266. package/dist/theming/getConstructableStyle.js +25 -0
  267. package/dist/theming/getConstructableStyle.js.map +1 -0
  268. package/dist/theming/getEffectiveLinksHrefs.d.ts +3 -0
  269. package/dist/theming/getEffectiveLinksHrefs.js +17 -0
  270. package/dist/theming/getEffectiveLinksHrefs.js.map +1 -0
  271. package/dist/theming/getEffectiveStyle.d.ts +3 -0
  272. package/dist/theming/getEffectiveStyle.js +32 -0
  273. package/dist/theming/getEffectiveStyle.js.map +1 -0
  274. package/dist/theming/getStylesString.d.ts +3 -0
  275. package/dist/theming/getStylesString.js +11 -0
  276. package/dist/theming/getStylesString.js.map +1 -0
  277. package/dist/theming/getThemeDesignerTheme.d.ts +7 -0
  278. package/dist/theming/getThemeDesignerTheme.js +80 -0
  279. package/dist/theming/getThemeDesignerTheme.js.map +1 -0
  280. package/dist/theming/preloadLinks.d.ts +3 -0
  281. package/dist/theming/preloadLinks.js +19 -0
  282. package/dist/theming/preloadLinks.js.map +1 -0
  283. package/dist/thirdparty/_merge.d.ts +2 -0
  284. package/dist/thirdparty/_merge.js +35 -0
  285. package/dist/thirdparty/_merge.js.map +1 -0
  286. package/dist/thirdparty/isPlainObject.d.ts +2 -0
  287. package/dist/thirdparty/isPlainObject.js +19 -0
  288. package/dist/thirdparty/isPlainObject.js.map +1 -0
  289. package/dist/thirdparty/merge.d.ts +2 -0
  290. package/dist/thirdparty/merge.js +6 -0
  291. package/dist/thirdparty/merge.js.map +1 -0
  292. package/dist/types/AnimationMode.d.ts +32 -0
  293. package/dist/types/AnimationMode.js +33 -6
  294. package/dist/types/AnimationMode.js.map +1 -0
  295. package/dist/types/CSSColor.d.ts +16 -0
  296. package/dist/types/CSSColor.js +19 -0
  297. package/dist/types/CSSColor.js.map +1 -0
  298. package/dist/types/CalendarType.d.ts +37 -0
  299. package/dist/types/CalendarType.js +39 -0
  300. package/dist/types/CalendarType.js.map +1 -0
  301. package/dist/types/DOMReference.d.ts +17 -0
  302. package/dist/types/DOMReference.js +25 -0
  303. package/dist/types/DOMReference.js.map +1 -0
  304. package/dist/types/DataType.d.ts +25 -0
  305. package/dist/types/DataType.js +33 -14
  306. package/dist/types/DataType.js.map +1 -0
  307. package/dist/types/Float.d.ts +18 -0
  308. package/dist/types/Float.js +22 -0
  309. package/dist/types/Float.js.map +1 -0
  310. package/dist/types/Integer.d.ts +18 -0
  311. package/dist/types/Integer.js +18 -5
  312. package/dist/types/Integer.js.map +1 -0
  313. package/dist/types/InvisibleMessageMode.d.ts +25 -0
  314. package/dist/types/InvisibleMessageMode.js +27 -0
  315. package/dist/types/InvisibleMessageMode.js.map +1 -0
  316. package/dist/types/ItemNavigationBehavior.d.ts +24 -0
  317. package/dist/types/ItemNavigationBehavior.js +22 -17
  318. package/dist/types/ItemNavigationBehavior.js.map +1 -0
  319. package/dist/types/NavigationMode.d.ts +32 -0
  320. package/dist/types/NavigationMode.js +33 -5
  321. package/dist/types/NavigationMode.js.map +1 -0
  322. package/dist/types/ValueState.d.ts +42 -0
  323. package/dist/types/ValueState.js +41 -18
  324. package/dist/types/ValueState.js.map +1 -0
  325. package/dist/types.d.ts +18 -0
  326. package/dist/types.js +2 -0
  327. package/dist/types.js.map +1 -0
  328. package/dist/updateShadowRoot.d.ts +8 -0
  329. package/dist/updateShadowRoot.js +34 -0
  330. package/dist/updateShadowRoot.js.map +1 -0
  331. package/dist/util/AriaLabelHelper.d.ts +6 -0
  332. package/dist/util/AriaLabelHelper.js +44 -0
  333. package/dist/util/AriaLabelHelper.js.map +1 -0
  334. package/dist/util/Caret.d.ts +7 -0
  335. package/dist/util/Caret.js +23 -0
  336. package/dist/util/Caret.js.map +1 -0
  337. package/dist/util/ColorConversion.d.ts +30 -0
  338. package/dist/util/ColorConversion.js +337 -0
  339. package/dist/util/ColorConversion.js.map +1 -0
  340. package/dist/util/FetchHelper.d.ts +3 -0
  341. package/dist/util/FetchHelper.js +19 -25
  342. package/dist/util/FetchHelper.js.map +1 -0
  343. package/dist/util/FocusableElements.d.ts +4 -0
  344. package/dist/util/FocusableElements.js +67 -56
  345. package/dist/util/FocusableElements.js.map +1 -0
  346. package/dist/util/HTMLSanitizer.d.ts +3 -0
  347. package/dist/util/HTMLSanitizer.js +6 -0
  348. package/dist/util/HTMLSanitizer.js.map +1 -0
  349. package/dist/util/InvisibleMessage.d.ts +10 -0
  350. package/dist/util/InvisibleMessage.js +56 -0
  351. package/dist/util/InvisibleMessage.js.map +1 -0
  352. package/dist/util/PopupUtils.d.ts +7 -0
  353. package/dist/util/PopupUtils.js +74 -0
  354. package/dist/util/PopupUtils.js.map +1 -0
  355. package/dist/util/SlotsHelper.d.ts +9 -0
  356. package/dist/util/SlotsHelper.js +30 -0
  357. package/dist/util/SlotsHelper.js.map +1 -0
  358. package/dist/util/StringHelper.d.ts +3 -0
  359. package/dist/util/StringHelper.js +21 -9
  360. package/dist/util/StringHelper.js.map +1 -0
  361. package/dist/util/TabbableElements.d.ts +17 -0
  362. package/dist/util/TabbableElements.js +53 -40
  363. package/dist/util/TabbableElements.js.map +1 -0
  364. package/dist/util/arraysAreEqual.d.ts +2 -0
  365. package/dist/util/arraysAreEqual.js +13 -0
  366. package/dist/util/arraysAreEqual.js.map +1 -0
  367. package/dist/util/clamp.d.ts +9 -0
  368. package/dist/util/clamp.js +12 -0
  369. package/dist/util/clamp.js.map +1 -0
  370. package/dist/util/createLinkInHead.d.ts +7 -0
  371. package/dist/util/createLinkInHead.js +21 -0
  372. package/dist/util/createLinkInHead.js.map +1 -0
  373. package/dist/util/createStyleInHead.d.ts +8 -0
  374. package/dist/util/createStyleInHead.js +10 -10
  375. package/dist/util/createStyleInHead.js.map +1 -0
  376. package/dist/util/debounce.d.ts +2 -0
  377. package/dist/util/debounce.js +15 -0
  378. package/dist/util/debounce.js.map +1 -0
  379. package/dist/util/detectNavigatorLanguage.d.ts +2 -0
  380. package/dist/util/detectNavigatorLanguage.js +8 -9
  381. package/dist/util/detectNavigatorLanguage.js.map +1 -0
  382. package/dist/util/escapeRegex.d.ts +8 -0
  383. package/dist/util/escapeRegex.js +11 -0
  384. package/dist/util/escapeRegex.js.map +1 -0
  385. package/dist/util/formatMessage.d.ts +2 -0
  386. package/dist/util/formatMessage.js +15 -19
  387. package/dist/util/formatMessage.js.map +1 -0
  388. package/dist/util/generateHighlightedMarkup.d.ts +9 -0
  389. package/dist/util/generateHighlightedMarkup.js +41 -0
  390. package/dist/util/generateHighlightedMarkup.js.map +1 -0
  391. package/dist/util/getActiveElement.d.ts +2 -0
  392. package/dist/util/getActiveElement.js +9 -0
  393. package/dist/util/getActiveElement.js.map +1 -0
  394. package/dist/util/getClassCopy.d.ts +400 -0
  395. package/dist/util/getClassCopy.js +10 -0
  396. package/dist/util/getClassCopy.js.map +1 -0
  397. package/dist/util/getDesigntimePropertyAsArray.d.ts +2 -0
  398. package/dist/util/getDesigntimePropertyAsArray.js +4 -3
  399. package/dist/util/getDesigntimePropertyAsArray.js.map +1 -0
  400. package/dist/util/getEffectiveContentDensity.d.ts +2 -0
  401. package/dist/util/getEffectiveContentDensity.js +4 -0
  402. package/dist/util/getEffectiveContentDensity.js.map +1 -0
  403. package/dist/util/getEffectiveScrollbarStyle.d.ts +2 -0
  404. package/dist/util/getEffectiveScrollbarStyle.js +4 -0
  405. package/dist/util/getEffectiveScrollbarStyle.js.map +1 -0
  406. package/dist/util/getFastNavigationGroups.d.ts +2 -0
  407. package/dist/util/getFastNavigationGroups.js +51 -0
  408. package/dist/util/getFastNavigationGroups.js.map +1 -0
  409. package/dist/util/getFileExtension.d.ts +12 -0
  410. package/dist/util/getFileExtension.js +19 -0
  411. package/dist/util/getFileExtension.js.map +1 -0
  412. package/dist/util/getNormalizedTarget.d.ts +7 -0
  413. package/dist/util/getNormalizedTarget.js +14 -0
  414. package/dist/util/getNormalizedTarget.js.map +1 -0
  415. package/dist/util/getSingletonElementInstance.d.ts +2 -0
  416. package/dist/util/getSingletonElementInstance.js +10 -0
  417. package/dist/util/getSingletonElementInstance.js.map +1 -0
  418. package/dist/util/isElementClickable.d.ts +2 -0
  419. package/dist/util/isElementClickable.js +16 -0
  420. package/dist/util/isElementClickable.js.map +1 -0
  421. package/dist/util/isElementHidden.d.ts +2 -0
  422. package/dist/util/isElementHidden.js +8 -0
  423. package/dist/util/isElementHidden.js.map +1 -0
  424. package/dist/util/isElementInView.d.ts +6 -0
  425. package/dist/util/isElementInView.js +12 -0
  426. package/dist/util/isElementInView.js.map +1 -0
  427. package/dist/util/isElementTabbable.d.ts +9 -0
  428. package/dist/util/isElementTabbable.js +30 -0
  429. package/dist/util/isElementTabbable.js.map +1 -0
  430. package/dist/util/isValidPropertyName.d.ts +8 -0
  431. package/dist/util/isValidPropertyName.js +20 -12
  432. package/dist/util/isValidPropertyName.js.map +1 -0
  433. package/dist/util/whenDOMReady.d.ts +2 -0
  434. package/dist/util/whenDOMReady.js +11 -10
  435. package/dist/util/whenDOMReady.js.map +1 -0
  436. package/dist/util/willShowContent.d.ts +2 -0
  437. package/dist/util/willShowContent.js +7 -0
  438. package/dist/util/willShowContent.js.map +1 -0
  439. package/dist/validateThemeRoot.d.ts +2 -0
  440. package/dist/validateThemeRoot.js +47 -0
  441. package/dist/validateThemeRoot.js.map +1 -0
  442. package/index.js +1 -1
  443. package/lib/generate-asset-parameters/index.js +25 -0
  444. package/lib/generate-styles/index.js +31 -0
  445. package/lib/generate-version-info/index.js +32 -0
  446. package/package-scripts.js +52 -27
  447. package/package.json +22 -14
  448. package/src/AssetRegistry.ts +11 -0
  449. package/src/Boot.ts +61 -0
  450. package/src/CSP.ts +66 -0
  451. package/src/CustomElementsRegistry.ts +98 -0
  452. package/src/CustomElementsScope.ts +33 -0
  453. package/src/CustomElementsScopeUtils.ts +115 -0
  454. package/src/DOMObserver.ts +28 -0
  455. package/src/Device.ts +124 -0
  456. package/src/EventProvider.ts +87 -0
  457. package/src/FeaturesRegistry.ts +14 -0
  458. package/src/FontFace.ts +31 -0
  459. package/src/InitialConfiguration.ts +207 -0
  460. package/src/Keys.ts +295 -0
  461. package/src/ManagedStyles.ts +92 -0
  462. package/src/MarkedEvents.ts +20 -0
  463. package/src/MediaRange.ts +110 -0
  464. package/src/PropertiesFileFormat.ts +95 -0
  465. package/src/Render.ts +180 -0
  466. package/src/RenderQueue.ts +71 -0
  467. package/src/Runtimes.ts +114 -0
  468. package/src/StaticArea.ts +3 -0
  469. package/src/StaticAreaItem.ts +113 -0
  470. package/src/SystemCSSVars.ts +10 -0
  471. package/src/Theming.ts +4 -0
  472. package/src/UI5Element.ts +1156 -0
  473. package/src/UI5ElementMetadata.ts +389 -0
  474. package/src/animations/{AnimationQueue.js → AnimationQueue.ts} +8 -7
  475. package/src/animations/animate.ts +64 -0
  476. package/src/animations/scroll.ts +21 -0
  477. package/src/animations/{slideDown.js → slideDown.ts} +27 -34
  478. package/src/animations/{slideUp.js → slideUp.ts} +28 -32
  479. package/src/asset-registries/Icons.ts +162 -0
  480. package/src/asset-registries/Illustrations.ts +75 -0
  481. package/src/asset-registries/LocaleData.ts +172 -0
  482. package/src/asset-registries/Themes.ts +67 -0
  483. package/src/asset-registries/i18n.ts +118 -0
  484. package/src/assets-meta/IconCollectionsAlias.ts +18 -0
  485. package/src/config/AnimationMode.ts +33 -0
  486. package/src/config/CalendarType.ts +23 -0
  487. package/src/config/FormatSettings.ts +21 -0
  488. package/src/config/Icons.ts +59 -0
  489. package/src/config/Language.ts +72 -0
  490. package/src/config/NoConflict.ts +67 -0
  491. package/src/config/{RTL.js → RTL.ts} +14 -4
  492. package/src/config/Theme.ts +64 -0
  493. package/src/config/ThemeRoots.ts +41 -0
  494. package/src/css/BusyIndicator.css +80 -0
  495. package/src/css/FontFace.css +66 -0
  496. package/src/css/OverrideFontFace.css +32 -0
  497. package/src/css/SystemCSSVars.css +17 -0
  498. package/src/decorators/customElement.ts +17 -0
  499. package/src/decorators/event.ts +28 -0
  500. package/src/decorators/fastNavigation.ts +14 -0
  501. package/src/decorators/languageAware.ts +14 -0
  502. package/src/decorators/property.ts +30 -0
  503. package/src/decorators/slot.ts +49 -0
  504. package/src/decorators/themeAware.ts +14 -0
  505. package/src/delegate/ItemNavigation.ts +393 -0
  506. package/src/delegate/ResizeHandler.ts +95 -0
  507. package/src/delegate/ScrollEnablement.ts +224 -0
  508. package/src/features/F6Navigation.ts +141 -0
  509. package/src/features/OpenUI5Element.ts +11 -0
  510. package/src/features/OpenUI5Enablement.ts +117 -0
  511. package/src/features/OpenUI5Support.ts +148 -0
  512. package/src/generated/css/BusyIndicator.css.ts +9 -0
  513. package/src/generated/css/FontFace.css.ts +9 -0
  514. package/src/generated/css/OverrideFontFace.css.ts +9 -0
  515. package/src/generated/css/SystemCSSVars.css.ts +9 -0
  516. package/src/getSharedResource.ts +30 -0
  517. package/src/global.d.ts +38 -0
  518. package/src/i18nBundle.ts +108 -0
  519. package/{dist/Locale.js → src/locale/Locale.ts} +14 -14
  520. package/src/locale/RTLAwareRegistry.ts +16 -0
  521. package/src/locale/applyDirection.ts +18 -0
  522. package/src/locale/directionChange.ts +34 -0
  523. package/src/locale/getEffectiveDir.ts +28 -0
  524. package/src/locale/getLocale.ts +46 -0
  525. package/src/locale/languageChange.ts +24 -0
  526. package/src/locale/nextFallbackLocale.ts +28 -0
  527. package/{dist/util/normalizeLocale.js → src/locale/normalizeLocale.ts} +12 -33
  528. package/src/renderer/LitRenderer.ts +60 -0
  529. package/src/renderer/directives/style-map.js +72 -0
  530. package/src/renderer/executeTemplate.ts +40 -0
  531. package/src/theming/CustomStyle.ts +62 -0
  532. package/src/theming/ThemeLoaded.ts +24 -0
  533. package/src/theming/applyTheme.ts +90 -0
  534. package/src/theming/getConstructableStyle.ts +31 -0
  535. package/src/theming/getEffectiveLinksHrefs.ts +26 -0
  536. package/src/theming/getEffectiveStyle.ts +41 -0
  537. package/src/theming/getStylesString.ts +15 -0
  538. package/src/theming/getThemeDesignerTheme.ts +101 -0
  539. package/src/theming/preloadLinks.ts +24 -0
  540. package/src/thirdparty/_merge.ts +32 -0
  541. package/src/thirdparty/isPlainObject.ts +18 -0
  542. package/src/thirdparty/merge.ts +5 -0
  543. package/src/types/AnimationMode.ts +33 -0
  544. package/src/types/CSSColor.ts +20 -0
  545. package/src/types/CalendarType.ts +38 -0
  546. package/src/types/DOMReference.ts +28 -0
  547. package/src/types/DataType.ts +51 -0
  548. package/src/types/Float.ts +25 -0
  549. package/src/types/Integer.ts +25 -0
  550. package/src/types/InvisibleMessageMode.ts +27 -0
  551. package/src/types/ItemNavigationBehavior.ts +26 -0
  552. package/src/types/NavigationMode.ts +33 -0
  553. package/src/types/ValueState.ts +47 -0
  554. package/src/types.ts +30 -0
  555. package/src/updateShadowRoot.ts +37 -0
  556. package/src/util/AriaLabelHelper.ts +63 -0
  557. package/src/util/Caret.ts +28 -0
  558. package/src/util/ColorConversion.ts +399 -0
  559. package/src/util/{FetchHelper.js → FetchHelper.ts} +7 -7
  560. package/src/util/FocusableElements.ts +92 -0
  561. package/src/util/HTMLSanitizer.ts +9 -0
  562. package/src/util/InvisibleMessage.ts +69 -0
  563. package/src/util/PopupUtils.ts +112 -0
  564. package/src/util/SlotsHelper.ts +39 -0
  565. package/src/util/StringHelper.ts +26 -0
  566. package/src/util/TabbableElements.ts +70 -0
  567. package/src/util/arraysAreEqual.ts +15 -0
  568. package/src/util/clamp.ts +12 -0
  569. package/src/util/createLinkInHead.ts +25 -0
  570. package/src/util/{createStyleInHead.js → createStyleInHead.ts} +4 -2
  571. package/src/util/debounce.ts +18 -0
  572. package/src/util/{detectNavigatorLanguage.js → detectNavigatorLanguage.ts} +4 -2
  573. package/src/util/escapeRegex.ts +11 -0
  574. package/src/util/{formatMessage.js → formatMessage.ts} +4 -3
  575. package/src/util/generateHighlightedMarkup.ts +43 -0
  576. package/src/util/getActiveElement.ts +11 -0
  577. package/src/util/getClassCopy.ts +12 -0
  578. package/src/util/{getDesigntimePropertyAsArray.js → getDesigntimePropertyAsArray.ts} +1 -1
  579. package/src/util/getEffectiveContentDensity.ts +5 -0
  580. package/src/util/getEffectiveScrollbarStyle.ts +5 -0
  581. package/src/util/getFastNavigationGroups.ts +63 -0
  582. package/src/util/getFileExtension.ts +21 -0
  583. package/src/util/getNormalizedTarget.ts +16 -0
  584. package/src/util/getSingletonElementInstance.ts +13 -0
  585. package/src/util/isElementClickable.ts +19 -0
  586. package/src/util/isElementHidden.ts +9 -0
  587. package/src/util/isElementInView.ts +15 -0
  588. package/src/util/isElementTabbable.ts +37 -0
  589. package/src/util/{isValidPropertyName.js → isValidPropertyName.ts} +12 -3
  590. package/src/util/{whenDOMReady.js → whenDOMReady.ts} +1 -1
  591. package/src/util/willShowContent.ts +7 -0
  592. package/src/validateThemeRoot.ts +58 -0
  593. package/tsconfig.json +13 -0
  594. package/used-modules.txt +10 -0
  595. package/bundle.es5.js +0 -28
  596. package/config/.eslintrc.js +0 -3
  597. package/config/rollup.config.js +0 -1
  598. package/dist/Assets.js +0 -2
  599. package/dist/CSS.js +0 -48
  600. package/dist/FormatSettings.js +0 -31
  601. package/dist/LocaleProvider.js +0 -34
  602. package/dist/RenderScheduler.js +0 -160
  603. package/dist/ResourceLoaderOverrides.js +0 -38
  604. package/dist/SVGIconRegistry.js +0 -54
  605. package/dist/animations/config.js +0 -5
  606. package/dist/boot.js +0 -25
  607. package/dist/compatibility/DOMObserver.js +0 -62
  608. package/dist/compatibility/patchNodeValue.js +0 -24
  609. package/dist/compatibility/whenPolyfillLoaded.js +0 -26
  610. package/dist/dates/CalendarDate.js +0 -203
  611. package/dist/dates/CalendarType.js +0 -22
  612. package/dist/dates/CalendarUtils.js +0 -99
  613. package/dist/delegate/CustomResize.js +0 -78
  614. package/dist/delegate/NativeResize.js +0 -44
  615. package/dist/events/PseudoEvents.js +0 -58
  616. package/dist/features/browsersupport/Edge.js +0 -6
  617. package/dist/features/browsersupport/IE11.js +0 -41
  618. package/dist/features/calendar/Buddhist.js +0 -1
  619. package/dist/features/calendar/Islamic.js +0 -1
  620. package/dist/features/calendar/Japanese.js +0 -1
  621. package/dist/features/calendar/Persian.js +0 -1
  622. package/dist/generated/assets/cldr/sap/ui/core/cldr/ar.json +0 -5598
  623. package/dist/generated/assets/cldr/sap/ui/core/cldr/ar_EG.json +0 -5598
  624. package/dist/generated/assets/cldr/sap/ui/core/cldr/ar_SA.json +0 -5598
  625. package/dist/generated/assets/cldr/sap/ui/core/cldr/bg.json +0 -4789
  626. package/dist/generated/assets/cldr/sap/ui/core/cldr/ca.json +0 -4801
  627. package/dist/generated/assets/cldr/sap/ui/core/cldr/cs.json +0 -5245
  628. package/dist/generated/assets/cldr/sap/ui/core/cldr/da.json +0 -4696
  629. package/dist/generated/assets/cldr/sap/ui/core/cldr/de.json +0 -4797
  630. package/dist/generated/assets/cldr/sap/ui/core/cldr/de_AT.json +0 -4798
  631. package/dist/generated/assets/cldr/sap/ui/core/cldr/de_CH.json +0 -4796
  632. package/dist/generated/assets/cldr/sap/ui/core/cldr/el.json +0 -4694
  633. package/dist/generated/assets/cldr/sap/ui/core/cldr/el_CY.json +0 -4694
  634. package/dist/generated/assets/cldr/sap/ui/core/cldr/en.json +0 -4777
  635. package/dist/generated/assets/cldr/sap/ui/core/cldr/en_AU.json +0 -4769
  636. package/dist/generated/assets/cldr/sap/ui/core/cldr/en_GB.json +0 -4778
  637. package/dist/generated/assets/cldr/sap/ui/core/cldr/en_HK.json +0 -4784
  638. package/dist/generated/assets/cldr/sap/ui/core/cldr/en_IE.json +0 -4778
  639. package/dist/generated/assets/cldr/sap/ui/core/cldr/en_IN.json +0 -4779
  640. package/dist/generated/assets/cldr/sap/ui/core/cldr/en_NZ.json +0 -4778
  641. package/dist/generated/assets/cldr/sap/ui/core/cldr/en_PG.json +0 -4779
  642. package/dist/generated/assets/cldr/sap/ui/core/cldr/en_SG.json +0 -4780
  643. package/dist/generated/assets/cldr/sap/ui/core/cldr/en_ZA.json +0 -4779
  644. package/dist/generated/assets/cldr/sap/ui/core/cldr/es.json +0 -4719
  645. package/dist/generated/assets/cldr/sap/ui/core/cldr/es_AR.json +0 -4721
  646. package/dist/generated/assets/cldr/sap/ui/core/cldr/es_BO.json +0 -4720
  647. package/dist/generated/assets/cldr/sap/ui/core/cldr/es_CL.json +0 -4721
  648. package/dist/generated/assets/cldr/sap/ui/core/cldr/es_CO.json +0 -4721
  649. package/dist/generated/assets/cldr/sap/ui/core/cldr/es_MX.json +0 -4722
  650. package/dist/generated/assets/cldr/sap/ui/core/cldr/es_PE.json +0 -4720
  651. package/dist/generated/assets/cldr/sap/ui/core/cldr/es_UY.json +0 -4722
  652. package/dist/generated/assets/cldr/sap/ui/core/cldr/es_VE.json +0 -4721
  653. package/dist/generated/assets/cldr/sap/ui/core/cldr/et.json +0 -4776
  654. package/dist/generated/assets/cldr/sap/ui/core/cldr/fa.json +0 -4704
  655. package/dist/generated/assets/cldr/sap/ui/core/cldr/fi.json +0 -4816
  656. package/dist/generated/assets/cldr/sap/ui/core/cldr/fr.json +0 -4788
  657. package/dist/generated/assets/cldr/sap/ui/core/cldr/fr_BE.json +0 -4788
  658. package/dist/generated/assets/cldr/sap/ui/core/cldr/fr_CA.json +0 -4782
  659. package/dist/generated/assets/cldr/sap/ui/core/cldr/fr_CH.json +0 -4806
  660. package/dist/generated/assets/cldr/sap/ui/core/cldr/fr_LU.json +0 -4788
  661. package/dist/generated/assets/cldr/sap/ui/core/cldr/he.json +0 -5133
  662. package/dist/generated/assets/cldr/sap/ui/core/cldr/hi.json +0 -4680
  663. package/dist/generated/assets/cldr/sap/ui/core/cldr/hr.json +0 -4910
  664. package/dist/generated/assets/cldr/sap/ui/core/cldr/hu.json +0 -4664
  665. package/dist/generated/assets/cldr/sap/ui/core/cldr/id.json +0 -4500
  666. package/dist/generated/assets/cldr/sap/ui/core/cldr/it.json +0 -4757
  667. package/dist/generated/assets/cldr/sap/ui/core/cldr/it_CH.json +0 -4757
  668. package/dist/generated/assets/cldr/sap/ui/core/cldr/ja.json +0 -4599
  669. package/dist/generated/assets/cldr/sap/ui/core/cldr/kk.json +0 -4537
  670. package/dist/generated/assets/cldr/sap/ui/core/cldr/ko.json +0 -4574
  671. package/dist/generated/assets/cldr/sap/ui/core/cldr/lt.json +0 -5234
  672. package/dist/generated/assets/cldr/sap/ui/core/cldr/lv.json +0 -4902
  673. package/dist/generated/assets/cldr/sap/ui/core/cldr/ms.json +0 -4352
  674. package/dist/generated/assets/cldr/sap/ui/core/cldr/nb.json +0 -4784
  675. package/dist/generated/assets/cldr/sap/ui/core/cldr/nl.json +0 -4790
  676. package/dist/generated/assets/cldr/sap/ui/core/cldr/nl_BE.json +0 -4790
  677. package/dist/generated/assets/cldr/sap/ui/core/cldr/pl.json +0 -5223
  678. package/dist/generated/assets/cldr/sap/ui/core/cldr/pt.json +0 -4703
  679. package/dist/generated/assets/cldr/sap/ui/core/cldr/pt_PT.json +0 -4753
  680. package/dist/generated/assets/cldr/sap/ui/core/cldr/ro.json +0 -4881
  681. package/dist/generated/assets/cldr/sap/ui/core/cldr/ru.json +0 -5157
  682. package/dist/generated/assets/cldr/sap/ui/core/cldr/ru_UA.json +0 -5157
  683. package/dist/generated/assets/cldr/sap/ui/core/cldr/sk.json +0 -5125
  684. package/dist/generated/assets/cldr/sap/ui/core/cldr/sl.json +0 -5105
  685. package/dist/generated/assets/cldr/sap/ui/core/cldr/sr.json +0 -4908
  686. package/dist/generated/assets/cldr/sap/ui/core/cldr/sv.json +0 -4818
  687. package/dist/generated/assets/cldr/sap/ui/core/cldr/th.json +0 -4633
  688. package/dist/generated/assets/cldr/sap/ui/core/cldr/tr.json +0 -4791
  689. package/dist/generated/assets/cldr/sap/ui/core/cldr/uk.json +0 -5126
  690. package/dist/generated/assets/cldr/sap/ui/core/cldr/vi.json +0 -4510
  691. package/dist/generated/assets/cldr/sap/ui/core/cldr/zh_CN.json +0 -4469
  692. package/dist/generated/assets/cldr/sap/ui/core/cldr/zh_HK.json +0 -4479
  693. package/dist/generated/assets/cldr/sap/ui/core/cldr/zh_SG.json +0 -4479
  694. package/dist/generated/assets/cldr/sap/ui/core/cldr/zh_TW.json +0 -4565
  695. package/dist/json-imports/LocaleData.js +0 -171
  696. package/dist/renderer/ifDefined.js +0 -21
  697. package/dist/resources/bundle.es5.js +0 -212
  698. package/dist/resources/bundle.es5.js.map +0 -1
  699. package/dist/resources/bundle.esm.js +0 -123
  700. package/dist/resources/bundle.esm.js.map +0 -1
  701. package/dist/shims/Core-shim.js +0 -52
  702. package/dist/shims/jquery-shim.js +0 -89
  703. package/dist/test-resources/assets/Themes.js +0 -11
  704. package/dist/test-resources/elements/Child.js +0 -35
  705. package/dist/test-resources/elements/Generic.js +0 -83
  706. package/dist/test-resources/elements/GenericExt.js +0 -26
  707. package/dist/test-resources/elements/NoShadowDOM.js +0 -13
  708. package/dist/test-resources/elements/Parent.js +0 -36
  709. package/dist/test-resources/pages/AllTestElements.html +0 -42
  710. package/dist/test-resources/pages/Configuration.html +0 -20
  711. package/dist/test-resources/pages/ConfigurationScript.html +0 -36
  712. package/dist/test-resources/specs/ConfigurationChange.spec.js +0 -25
  713. package/dist/test-resources/specs/ConfigurationScript.spec.js +0 -61
  714. package/dist/test-resources/specs/ConfigurationURL.spec.js +0 -45
  715. package/dist/test-resources/specs/CustomTheme.spec.js +0 -25
  716. package/dist/test-resources/specs/Theming.spec.js +0 -31
  717. package/dist/test-resources/specs/UI5ElementInvalidation.js +0 -258
  718. package/dist/test-resources/specs/UI5ElementLifecycle.js +0 -93
  719. package/dist/test-resources/specs/UI5ElementListenForChildPropChanges.spec.js +0 -101
  720. package/dist/test-resources/specs/UI5ElementMetadataExt.js +0 -40
  721. package/dist/test-resources/specs/UI5ElementPropertyValidation.js +0 -12
  722. package/dist/test-resources/specs/UI5ElementPropsAndAttrs.spec.js +0 -65
  723. package/dist/test-resources/specs/UI5ElementShadowDOM.js +0 -22
  724. package/dist/test-resources/specs/UI5ElementSlots.js +0 -34
  725. package/dist/theming/StyleInjection.js +0 -67
  726. package/dist/thirdparty/Array.from.js +0 -16
  727. package/dist/thirdparty/Array.prototype.fill.js +0 -44
  728. package/dist/thirdparty/Array.prototype.find.js +0 -46
  729. package/dist/thirdparty/Array.prototype.includes.js +0 -51
  730. package/dist/thirdparty/Element.prototype.closest.js +0 -11
  731. package/dist/thirdparty/Element.prototype.matches.js +0 -6
  732. package/dist/thirdparty/Map.prototype.keys.js +0 -9
  733. package/dist/thirdparty/Number.isInteger.js +0 -5
  734. package/dist/thirdparty/Number.isNaN.js +0 -1
  735. package/dist/thirdparty/Number.parseInt.js +0 -1
  736. package/dist/thirdparty/Object.assign.js +0 -31
  737. package/dist/thirdparty/Object.entries.js +0 -11
  738. package/dist/thirdparty/Symbol.js +0 -2
  739. package/dist/thirdparty/WeakSet.js +0 -27
  740. package/dist/thirdparty/events-polyfills.js +0 -89
  741. package/dist/thirdparty/fetch.js +0 -1
  742. package/dist/thirdparty/template.js +0 -600
  743. package/dist/types/CSSSize.js +0 -9
  744. package/dist/types/PopupState.js +0 -37
  745. package/dist/util/CSSTransformUtils.js +0 -90
  746. package/dist/util/isDescendantOf.js +0 -15
  747. package/dist/util/isNodeClickable.js +0 -19
  748. package/dist/util/isNodeHidden.js +0 -13
  749. package/dist/util/isNodeTabbable.js +0 -28
  750. package/dist/webcomponentsjs/LICENSE.md +0 -19
  751. package/dist/webcomponentsjs/README.md +0 -229
  752. package/dist/webcomponentsjs/bundles/webcomponents-ce.js +0 -63
  753. package/dist/webcomponentsjs/bundles/webcomponents-ce.js.map +0 -1
  754. package/dist/webcomponentsjs/bundles/webcomponents-sd-ce-pf.js +0 -297
  755. package/dist/webcomponentsjs/bundles/webcomponents-sd-ce-pf.js.map +0 -1
  756. package/dist/webcomponentsjs/bundles/webcomponents-sd-ce.js +0 -208
  757. package/dist/webcomponentsjs/bundles/webcomponents-sd-ce.js.map +0 -1
  758. package/dist/webcomponentsjs/bundles/webcomponents-sd.js +0 -166
  759. package/dist/webcomponentsjs/bundles/webcomponents-sd.js.map +0 -1
  760. package/dist/webcomponentsjs/custom-elements-es5-adapter.js +0 -15
  761. package/dist/webcomponentsjs/package.json +0 -46
  762. package/dist/webcomponentsjs/src/entrypoints/custom-elements-es5-adapter-index.js +0 -16
  763. package/dist/webcomponentsjs/src/entrypoints/webcomponents-bundle-index.js +0 -53
  764. package/dist/webcomponentsjs/src/entrypoints/webcomponents-ce-index.js +0 -17
  765. package/dist/webcomponentsjs/src/entrypoints/webcomponents-sd-ce-index.js +0 -19
  766. package/dist/webcomponentsjs/src/entrypoints/webcomponents-sd-ce-pf-index.js +0 -28
  767. package/dist/webcomponentsjs/src/entrypoints/webcomponents-sd-index.js +0 -18
  768. package/dist/webcomponentsjs/webcomponents-bundle.js +0 -298
  769. package/dist/webcomponentsjs/webcomponents-bundle.js.map +0 -1
  770. package/dist/webcomponentsjs/webcomponents-loader.js +0 -185
  771. package/src/AssetRegistry.js +0 -9
  772. package/src/Assets.js +0 -2
  773. package/src/CSS.js +0 -48
  774. package/src/Device.js +0 -823
  775. package/src/EventProvider.js +0 -73
  776. package/src/FeaturesRegistry.js +0 -11
  777. package/src/FontFace.js +0 -66
  778. package/src/FormatSettings.js +0 -31
  779. package/src/InitialConfiguration.js +0 -119
  780. package/src/Locale.js +0 -101
  781. package/src/LocaleProvider.js +0 -34
  782. package/src/RenderQueue.js +0 -42
  783. package/src/RenderScheduler.js +0 -160
  784. package/src/ResourceLoaderOverrides.js +0 -38
  785. package/src/SVGIconRegistry.js +0 -54
  786. package/src/Theming.js +0 -45
  787. package/src/UI5Element.js +0 -805
  788. package/src/UI5ElementMetadata.js +0 -148
  789. package/src/animations/animate.js +0 -53
  790. package/src/animations/config.js +0 -5
  791. package/src/animations/scroll.js +0 -28
  792. package/src/asset-registries/Icons.js +0 -24
  793. package/src/asset-registries/LocaleData.js +0 -101
  794. package/src/asset-registries/Themes.js +0 -75
  795. package/src/asset-registries/i18n.js +0 -75
  796. package/src/boot.js +0 -25
  797. package/src/compatibility/DOMObserver.js +0 -62
  798. package/src/compatibility/patchNodeValue.js +0 -24
  799. package/src/compatibility/whenPolyfillLoaded.js +0 -26
  800. package/src/config/AnimationMode.js +0 -9
  801. package/src/config/CalendarType.js +0 -18
  802. package/src/config/FormatSettings.js +0 -9
  803. package/src/config/Language.js +0 -9
  804. package/src/config/NoConflict.js +0 -44
  805. package/src/config/Theme.js +0 -24
  806. package/src/dates/CalendarDate.js +0 -203
  807. package/src/dates/CalendarType.js +0 -22
  808. package/src/dates/CalendarUtils.js +0 -99
  809. package/src/delegate/CustomResize.js +0 -78
  810. package/src/delegate/ItemNavigation.js +0 -234
  811. package/src/delegate/NativeResize.js +0 -44
  812. package/src/delegate/ResizeHandler.js +0 -66
  813. package/src/delegate/ScrollEnablement.js +0 -80
  814. package/src/events/PseudoEvents.js +0 -58
  815. package/src/features/browsersupport/Edge.js +0 -6
  816. package/src/features/browsersupport/IE11.js +0 -41
  817. package/src/features/calendar/Buddhist.js +0 -1
  818. package/src/features/calendar/Islamic.js +0 -1
  819. package/src/features/calendar/Japanese.js +0 -1
  820. package/src/features/calendar/Persian.js +0 -1
  821. package/src/i18nBundle.js +0 -35
  822. package/src/json-imports/LocaleData.js +0 -171
  823. package/src/renderer/LitRenderer.js +0 -15
  824. package/src/renderer/ifDefined.js +0 -21
  825. package/src/shims/Core-shim.js +0 -52
  826. package/src/shims/jquery-shim.js +0 -89
  827. package/src/theming/CustomStyle.js +0 -19
  828. package/src/theming/StyleInjection.js +0 -67
  829. package/src/thirdparty/Array.from.js +0 -16
  830. package/src/thirdparty/Array.prototype.fill.js +0 -44
  831. package/src/thirdparty/Array.prototype.find.js +0 -46
  832. package/src/thirdparty/Array.prototype.includes.js +0 -51
  833. package/src/thirdparty/Element.prototype.closest.js +0 -11
  834. package/src/thirdparty/Element.prototype.matches.js +0 -6
  835. package/src/thirdparty/Map.prototype.keys.js +0 -9
  836. package/src/thirdparty/Number.isInteger.js +0 -5
  837. package/src/thirdparty/Number.isNaN.js +0 -1
  838. package/src/thirdparty/Number.parseInt.js +0 -1
  839. package/src/thirdparty/Object.assign.js +0 -31
  840. package/src/thirdparty/Object.entries.js +0 -11
  841. package/src/thirdparty/Symbol.js +0 -2
  842. package/src/thirdparty/WeakSet.js +0 -27
  843. package/src/thirdparty/events-polyfills.js +0 -89
  844. package/src/thirdparty/fetch.js +0 -1
  845. package/src/thirdparty/template.js +0 -600
  846. package/src/types/AnimationMode.js +0 -7
  847. package/src/types/CSSSize.js +0 -9
  848. package/src/types/DataType.js +0 -25
  849. package/src/types/Integer.js +0 -9
  850. package/src/types/ItemNavigationBehavior.js +0 -21
  851. package/src/types/NavigationMode.js +0 -6
  852. package/src/types/PopupState.js +0 -37
  853. package/src/types/ValueState.js +0 -21
  854. package/src/util/CSSTransformUtils.js +0 -90
  855. package/src/util/FocusableElements.js +0 -60
  856. package/src/util/StringHelper.js +0 -11
  857. package/src/util/TabbableElements.js +0 -44
  858. package/src/util/isDescendantOf.js +0 -15
  859. package/src/util/isNodeClickable.js +0 -19
  860. package/src/util/isNodeHidden.js +0 -13
  861. package/src/util/isNodeTabbable.js +0 -28
  862. package/src/util/normalizeLocale.js +0 -77
@@ -1,123 +0,0 @@
1
- let t={};var e={},n=e.hasOwnProperty,r=e.toString,i=n.toString,a=i.call(Object),o=function(t){var e,o;return!(!t||"[object Object]"!==r.call(t))&&(!(e=Object.getPrototypeOf(t))||"function"==typeof(o=n.call(e,"constructor")&&e.constructor)&&i.call(o)===a)},s={extend:function(){var t,e,n,r,i,a,s=arguments[0]||{},u=1,l=arguments.length,c=!1;for("boolean"==typeof s&&(c=s,s=arguments[u]||{},u++),"object"!=typeof s&&"function"!=typeof s&&(s={}),u===l&&(s=this,u--);u<l;u++)if(null!=(t=arguments[u]))for(e in t)n=s[e],s!==(r=t[e])&&(c&&r&&(o(r)||(i=Array.isArray(r)))?(i?(i=!1,a=n&&Array.isArray(n)?n:[]):a=n&&o(n)?n:{},s[e]=extend(c,a,r)):void 0!==r&&(s[e]=r));return s},ajaxSettings:{converters:{"text json":t=>JSON.parse(t+"")}},trim:function(t){return t.trim()}};window.jQuery=window.jQuery||s,t=s;var u=t=>{const e=/\$([-a-z0-9A-Z._]+)(?::([^$]*))?\$/.exec(t);return e&&e[2]?e[2].split(/,/):null};const l=/^((?:[A-Z]{2,3}(?:-[A-Z]{3}){0,3})|[A-Z]{4}|[A-Z]{5,8})(?:-([A-Z]{4}))?(?:-([A-Z]{2}|[0-9]{3}))?((?:-[0-9A-Z]{5,8}|-[0-9][0-9A-Z]{3})*)((?:-[0-9A-WYZ](?:-[0-9A-Z]{2,8})+)*)(?:-(X(?:-[0-9A-Z]{1,8})+))?$/i;class c{constructor(t){const e=l.exec(t.replace(/_/g,"-"));if(null===e)throw new Error(`The given language ${t} does not adhere to BCP-47.`);this.sLocaleId=t,this.sLanguage=e[1]||null,this.sScript=e[2]||null,this.sRegion=e[3]||null,this.sVariant=e[4]&&e[4].slice(1)||null,this.sExtension=e[5]&&e[5].slice(1)||null,this.sPrivateUse=e[6]||null,this.sLanguage&&(this.sLanguage=this.sLanguage.toLowerCase()),this.sScript&&(this.sScript=this.sScript.toLowerCase().replace(/^[a-z]/,t=>t.toUpperCase())),this.sRegion&&(this.sRegion=this.sRegion.toUpperCase())}getLanguage(){return this.sLanguage}getScript(){return this.sScript}getRegion(){return this.sRegion}getVariant(){return this.sVariant}getVariantSubtags(){return this.sVariant?this.sVariant.split("-"):[]}getExtension(){return this.sExtension}getExtensionSubtags(){return this.sExtension?this.sExtension.slice(2).split("-"):[]}getPrivateUse(){return this.sPrivateUse}getPrivateUseSubtags(){return this.sPrivateUse?this.sPrivateUse.slice(2).split("-"):[]}hasPrivateUseSubtag(t){return this.getPrivateUseSubtags().indexOf(t)>=0}toString(){const t=[this.sLanguage];return this.sScript&&t.push(this.sScript),this.sRegion&&t.push(this.sRegion),this.sVariant&&t.push(this.sVariant),this.sExtension&&t.push(this.sExtension),this.sPrivateUse&&t.push(this.sPrivateUse),t.join("-")}static get _cldrLocales(){return u("$cldr-locales:ar,ar_EG,ar_SA,bg,br,ca,cs,da,de,de_AT,de_CH,el,el_CY,en,en_AU,en_GB,en_HK,en_IE,en_IN,en_NZ,en_PG,en_SG,en_ZA,es,es_AR,es_BO,es_CL,es_CO,es_MX,es_PE,es_UY,es_VE,et,fa,fi,fr,fr_BE,fr_CA,fr_CH,fr_LU,he,hi,hr,hu,id,it,it_CH,ja,kk,ko,lt,lv,ms,nb,nl,nl_BE,nn,pl,pt,pt_PT,ro,ru,ru_UA,sk,sl,sr,sv,th,tr,uk,vi,zh_CN,zh_HK,zh_SG,zh_TW$")}static get _coreI18nLocales(){return u("$core-i18n-locales:,ar,bg,ca,cs,da,de,el,en,es,et,fi,fr,hi,hr,hu,it,iw,ja,ko,lt,lv,nl,no,pl,pt,ro,ru,sh,sk,sl,sv,th,tr,uk,vi,zh_CN,zh_TW$")}}var h=()=>{const t=navigator.languages;return t&&t[0]||(()=>navigator.language)()||navigator.userLanguage||navigator.browserLanguage||"en"};let d=!1;const p={animationMode:"full",theme:"sap_fiori_3",rtl:null,language:null,calendarType:null,noConflict:!1,formatSettings:{}},g=new Map;g.set("true",!0),g.set("false",!1);let f={};const m=()=>{d||((()=>{const t=document.querySelector("[data-ui5-config]")||document.querySelector("[data-id='sap-ui-config']");let e;if(t){try{e=JSON.parse(t.innerHTML)}catch(t){console.warn("Incorrect data-sap-ui-config format. Please use JSON")}e&&(f=Object.assign({},e))}})(),new URLSearchParams(window.location.search).forEach((t,e)=>{if(!e.startsWith("sap-ui"))return;const n=t.toLowerCase(),r=e.split("sap-ui-")[1];g.has(t)&&(t=g.get(n)),f[r]=t}),Object.keys(f).forEach(t=>{p[t]=f[t]}),d=!0)},y=(()=>(m(),p.language))(),v=()=>y,_=()=>v()?new c(v()):(t=>{try{if(t&&"string"==typeof t)return new c(t)}catch(t){}})(h()),w={};var b=Object.freeze({__proto__:null,setConfiguration:t=>{},getFormatLocale:()=>_(),getLegacyDateFormat:()=>{},getLegacyDateCalendarCustomizing:()=>{},getCustomLocaleData:()=>w}),C={Gregorian:"Gregorian",Islamic:"Islamic",Japanese:"Japanese",Persian:"Persian",Buddhist:"Buddhist"};const T=(()=>(m(),p.calendarType))(),D=()=>{if(T){const t=Object.keys(C).find(t=>t===T);if(t)return t}return C.Gregorian},S=(()=>(m(),p.formatSettings))(),P=()=>S.firstDayOfWeek,M={getLanguage:v,getCalendarType:D,getFirstDayOfWeek:P,getSupportedLanguages:()=>u("$core-i18n-locales:,ar,bg,ca,cs,da,de,el,en,es,et,fi,fr,hi,hr,hu,it,iw,ja,ko,lt,lv,nl,no,pl,pt,ro,ru,sh,sk,sl,sv,th,tr,uk,vi,zh_CN,zh_TW$"),getOriginInfo:()=>{}},E={getConfiguration:()=>M,getLibraryResourceBundle(){},getFormatSettings:()=>b};window.sap=window.sap||{},window.sap.ui=window.sap.ui||{},window.sap.ui.getWCCore=function(){return E};const U=new Map,x=new Map,O=new Map;window.sap=window.sap||{},window.sap.ui=window.sap.ui||{},sap.ui.loader=sap.ui.loader||{},sap.ui.loader._=sap.ui.loader._||{};const A=sap.ui.loader._.getModuleContent;sap.ui.loader._.getModuleContent=(t,e)=>{const n=O.get(t)||O.get(e);if(n)return n;if(A)return A(t,e);const r=t.match(/sap\/ui\/core\/cldr\/(\w+)\.json/);if(r)throw new Error(`CLDR data for locale ${r[1]} is not loaded!`);return""};const F=new Map,L=new Map,k=new Set,I=new Set,N=(t,e,n)=>{n._?L.set(`${t}_${e}`,n._):n.includes(":root")?L.set(`${t}_${e}`,n):F.set(`${t}_${e}`,n),k.add(t),I.add(e)},R=async(t,e)=>{const n=F.get(`${t}_${e}`);if(!n)throw new Error(`You have to import the ${t}/dist/Assets.js module to switch to additional themes`);return(async t=>{U.get(t)||U.set(t,fetch(t));const e=await U.get(t);return x.get(t)||x.set(t,e.json()),x.get(t)})(n)},j=()=>k;var W,V=function(t,e,n){if(!t)return t;function r(t,e){return function(){var r=t[e].apply(t,arguments);return n?this:r instanceof W?r.getInterface():r}}if(W=W||sap.ui.requireSync("sap/ui/base/Object"),!e)return{};for(var i,a=0,o=e.length;a<o;a++)t[i=e[a]]&&"function"!=typeof t[i]||(this[i]=r(t,i))},$={},Y=window;function B(t){return Array.isArray(t)?t:t.split(".")}$.create=function(t,e){for(var n=e||Y,r=B(t),i=0;i<r.length;i++){var a=r[i];if(null===n[a]||void 0!==n[a]&&"object"!=typeof n[a]&&"function"!=typeof n[a])throw new Error("Could not set object-path for '"+r.join(".")+"', path segment '"+a+"' already exists.");n[a]=n[a]||{},n=n[a]}return n},$.get=function(t,e){for(var n=e||Y,r=B(t),i=r.pop(),a=0;a<r.length&&n;a++)n=n[r[a]];return n?n[i]:void 0},$.set=function(t,e,n){n=n||Y;var r=B(t),i=r.pop();$.create(r,n)[i]=e};var z,H,J="undefined"!=typeof window&&window.performance&&performance.now&&performance.timing?(z=performance.timing.navigationStart,function(){return z+performance.now()}):Date.now,Z={Level:{NONE:-1,FATAL:0,ERROR:1,WARNING:2,INFO:3,DEBUG:4,TRACE:5,ALL:6}},q=[],G={"":Z.Level.ERROR},Q=null,X=!1;function K(t,e){return("000"+String(t)).slice(-e)}function tt(t){return!t||isNaN(G[t])?G[""]:G[t]}function et(){return Q||(Q={listeners:[],onLogEntry:function(t){for(var e=0;e<Q.listeners.length;e++)Q.listeners[e].onLogEntry&&Q.listeners[e].onLogEntry(t)},attach:function(t,e){e&&(Q.listeners.push(e),e.onAttachToLog&&e.onAttachToLog(t))},detach:function(t,e){for(var n=0;n<Q.listeners.length;n++)if(Q.listeners[n]===e)return e.onDetachFromLog&&e.onDetachFromLog(t),void Q.listeners.splice(n,1)}}),Q}function nt(t,e,n,r,i){if(X&&(i||r||"function"!=typeof n||(i=n,n=""),i||"function"!=typeof r||(i=r,r="")),t<=tt(r=r||H)){var a=J(),o=new Date(a),s=Math.floor(1e3*(a-Math.floor(a))),u={time:K(o.getHours(),2)+":"+K(o.getMinutes(),2)+":"+K(o.getSeconds(),2)+"."+K(o.getMilliseconds(),3)+K(s,3),date:K(o.getFullYear(),4)+"-"+K(o.getMonth()+1,2)+"-"+K(o.getDate(),2),timestamp:a,level:t,message:String(e||""),details:String(n||""),component:String(r||"")};if(X&&"function"==typeof i&&(u.supportInfo=i()),q.push(u),Q&&Q.onLogEntry(u),console){var l=u.date+" "+u.time+" "+u.message+" - "+u.details+" "+u.component;switch(t){case Z.Level.FATAL:case Z.Level.ERROR:console.error(l);break;case Z.Level.WARNING:console.warn(l);break;case Z.Level.INFO:console.info?console.info(l):console.log(l);break;case Z.Level.DEBUG:console.debug?console.debug(l):console.log(l);break;case Z.Level.TRACE:console.trace?console.trace(l):console.log(l)}console.info&&u.supportInfo&&console.info(u.supportInfo)}return u}}function rt(t){this.fatal=function(e,n,r,i){return Z.fatal(e,n,r||t,i),this},this.error=function(e,n,r,i){return Z.error(e,n,r||t,i),this},this.warning=function(e,n,r,i){return Z.warning(e,n,r||t,i),this},this.info=function(e,n,r,i){return Z.info(e,n,r||t,i),this},this.debug=function(e,n,r,i){return Z.debug(e,n,r||t,i),this},this.trace=function(e,n,r,i){return Z.trace(e,n,r||t,i),this},this.setLevel=function(e,n){return Z.setLevel(e,n||t),this},this.getLevel=function(e){return Z.getLevel(e||t)},this.isLoggable=function(e,n){return Z.isLoggable(e,n||t)}}Z.fatal=function(t,e,n,r){nt(Z.Level.FATAL,t,e,n,r)},Z.error=function(t,e,n,r){nt(Z.Level.ERROR,t,e,n,r)},Z.warning=function(t,e,n,r){nt(Z.Level.WARNING,t,e,n,r)},Z.info=function(t,e,n,r){nt(Z.Level.INFO,t,e,n,r)},Z.debug=function(t,e,n,r){nt(Z.Level.DEBUG,t,e,n,r)},Z.trace=function(t,e,n,r){nt(Z.Level.TRACE,t,e,n,r)},Z.setLevel=function(t,e,n){var r;(e=e||H||"",n&&null!=G[e])||(G[e]=t,Object.keys(Z.Level).forEach((function(e){Z.Level[e]===t&&(r=e)})),nt(Z.Level.INFO,"Changing log level "+(e?"for '"+e+"' ":"")+"to "+r,"","sap.base.log"))},Z.getLevel=function(t){return tt(t||H)},Z.isLoggable=function(t,e){return(null==t?Z.Level.DEBUG:t)<=tt(e||H)},Z.logSupportInfo=function(t){X=t},Z.getLogEntries=function(){return q.slice()},Z.addLogListener=function(t){et().attach(this,t)},Z.removeLogListener=function(t){et().detach(this,t)},Z.getLogger=function(t,e){return isNaN(e)||null!=G[t]||(G[t]=e),new rt(t)};var it=function(t,e){if(!t){var n="function"==typeof e?e():e;console&&console.assert?console.assert(t,n):Z.debug("[Assertions] "+n)}},at=function(t){it(t instanceof Array,"uniqueSort: input parameter must be an Array");var e=t.length;if(e>1){t.sort();for(var n=0,r=1;r<e;r++)t[r]!==t[n]&&(t[++n]=t[r]);++n<e&&t.splice(n,e-n)}return t},ot=function(t,e){if(it("string"==typeof t&&t,"Metadata: sClassName must be a non-empty string"),it("object"==typeof e,"Metadata: oClassInfo must be empty or an object"),e&&"object"==typeof e.metadata||((e={metadata:e||{},constructor:$.get(t)}).metadata.__version=1),e.metadata.__version=e.metadata.__version||2,"function"!=typeof e.constructor)throw Error("constructor for class "+t+" must have been declared before creating metadata for it");this._sClassName=t,this._oClass=e.constructor,this.extend(e)};ot.prototype.extend=function(t){this.applySettings(t),this.afterApplySettings()},ot.prototype.applySettings=function(t){var e,n=t.metadata;if(n.baseType){var r=$.get(n.baseType);"function"!=typeof r&&Z.fatal("base class '"+n.baseType+"' does not exist"),r.getMetadata?(this._oParent=r.getMetadata(),it(r===r.getMetadata().getClass(),"Metadata: oParentClass must match the class in the parent metadata")):this._oParent=new ot(n.baseType,{})}else this._oParent=void 0;for(var i in this._bAbstract=!!n.abstract,this._bFinal=!!n.final,this._sStereotype=n.stereotype||(this._oParent?this._oParent._sStereotype:"object"),this._bDeprecated=!!n.deprecated,this._aInterfaces=n.interfaces||[],this._aPublicMethods=n.publicMethods||[],this._bInterfacesUnique=!1,e=this._oClass.prototype,t)"metadata"!==i&&"constructor"!==i&&(e[i]=t[i],i.match(/^_|^on|^init$|^exit$/)||this._aPublicMethods.push(i))},ot.prototype.afterApplySettings=function(){this._oParent?(this._aAllPublicMethods=this._oParent._aAllPublicMethods.concat(this._aPublicMethods),this._bInterfacesUnique=!1):this._aAllPublicMethods=this._aPublicMethods},ot.prototype.getStereotype=function(){return this._sStereotype},ot.prototype.getName=function(){return this._sClassName},ot.prototype.getClass=function(){return this._oClass},ot.prototype.getParent=function(){return this._oParent},ot.prototype._dedupInterfaces=function(){this._bInterfacesUnique||(at(this._aInterfaces),at(this._aPublicMethods),at(this._aAllPublicMethods),this._bInterfacesUnique=!0)},ot.prototype.getPublicMethods=function(){return this._dedupInterfaces(),this._aPublicMethods},ot.prototype.getAllPublicMethods=function(){return this._dedupInterfaces(),this._aAllPublicMethods},ot.prototype.getInterfaces=function(){return this._dedupInterfaces(),this._aInterfaces},ot.prototype.isInstanceOf=function(t){if(this._oParent&&this._oParent.isInstanceOf(t))return!0;for(var e=this._aInterfaces,n=0,r=e.length;n<r;n++)if(e[n]===t)return!0;return!1};Object.defineProperty(ot.prototype,"_mImplementedTypes",{get:function(){if(this===ot.prototype)throw new Error("sap.ui.base.Metadata: The '_mImplementedTypes' property must not be accessed on the prototype");var t=Object.create(this._oParent?this._oParent._mImplementedTypes:null);t[this._sClassName]=!0;for(var e=this._aInterfaces,n=e.length;n-- >0;)t[e[n]]||(t[e[n]]=!0);return Object.defineProperty(this,"_mImplementedTypes",{value:Object.freeze(t),writable:!1,configurable:!1}),t},configurable:!0}),ot.prototype.isA=function(t){var e=this._mImplementedTypes;if(Array.isArray(t)){for(var n=0;n<t.length;n++)if(t[n]in e)return!0;return!1}return t in e},ot.prototype.isAbstract=function(){return this._bAbstract},ot.prototype.isFinal=function(){return this._bFinal},ot.prototype.isDeprecated=function(){return this._bDeprecated},ot.prototype.addPublicMethods=function(t){var e=t instanceof Array?t:arguments;Array.prototype.push.apply(this._aPublicMethods,e),Array.prototype.push.apply(this._aAllPublicMethods,e),this._bInterfacesUnique=!1},ot.createClass=function(t,e,n,r){"string"==typeof t&&(r=n,n=e,e=t,t=null),it(!t||"function"==typeof t),it("string"==typeof e&&!!e),it(!n||"object"==typeof n),it(!r||"function"==typeof r),"function"==typeof(r=r||ot).preprocessClassInfo&&(n=r.preprocessClassInfo(n)),(n=n||{}).metadata=n.metadata||{},n.hasOwnProperty("constructor")||(n.constructor=void 0);var i=n.constructor;it(!i||"function"==typeof i),t?(i||(i=n.metadata.deprecated?function(){Z.warning("Usage of deprecated class: "+e),t.apply(this,arguments)}:function(){t.apply(this,arguments)}),i.prototype=Object.create(t.prototype),i.prototype.constructor=i,n.metadata.baseType=t.getMetadata().getName()):(i=i||function(){},delete n.metadata.baseType),n.constructor=i,$.set(e,i);var a=new r(e,n);return i.getMetadata=i.prototype.getMetadata=function(){return a},i.getMetadata().isFinal()||(i.extend=function(t,e,n){return ot.createClass(i,t,e,n||r)}),i};var st=ot.createClass("sap.ui.base.Object",{constructor:function(){if(!(this instanceof st))throw Error('Cannot instantiate object: "new" is missing!')}});st.prototype.destroy=function(){},st.prototype.getInterface=function(){var t=new V(this,this.getMetadata().getAllPublicMethods());return this.getInterface=function(){return t},t},st.defineClass=function(t,e,n){var r=new(n||ot)(t,e),i=r.getClass();return i.getMetadata=i.prototype.getMetadata=function(){return r},r.isFinal()||(i.extend=function(t,e,r){return ot.createClass(i,t,e,r||n)}),Z.debug("defined class '"+t+"'"+(r.getParent()?" as subclass of "+r.getParent().getName():"")),r},st.prototype.isA=function(t){return this.getMetadata().isA(t)},st.isA=function(t,e){return t instanceof st&&t.isA(e)};var ut=/^((?:[A-Z]{2,3}(?:-[A-Z]{3}){0,3})|[A-Z]{4}|[A-Z]{5,8})(?:-([A-Z]{4}))?(?:-([A-Z]{2}|[0-9]{3}))?((?:-[0-9A-Z]{5,8}|-[0-9][0-9A-Z]{3})*)((?:-[0-9A-WYZ](?:-[0-9A-Z]{2,8})+)*)(?:-(X(?:-[0-9A-Z]{1,8})+))?$/i,lt=st.extend("sap.ui.core.Locale",{constructor:function(t){st.apply(this);var e=ut.exec(t.replace(/_/g,"-"));if(null===e)throw"The given language '"+t+"' does not adhere to BCP-47.";this.sLocaleId=t,this.sLanguage=e[1]||null,this.sScript=e[2]||null,this.sRegion=e[3]||null,this.sVariant=e[4]&&e[4].slice(1)||null,this.sExtension=e[5]&&e[5].slice(1)||null,this.sPrivateUse=e[6]||null,this.sLanguage&&(this.sLanguage=this.sLanguage.toLowerCase()),this.sScript&&(this.sScript=this.sScript.toLowerCase().replace(/^[a-z]/,(function(t){return t.toUpperCase()}))),this.sRegion&&(this.sRegion=this.sRegion.toUpperCase())},getLanguage:function(){return this.sLanguage},getScript:function(){return this.sScript},getRegion:function(){return this.sRegion},getVariant:function(){return this.sVariant},getVariantSubtags:function(){return this.sVariant?this.sVariant.split("-"):[]},getExtension:function(){return this.sExtension},getExtensionSubtags:function(){return this.sExtension?this.sExtension.slice(2).split("-"):[]},getPrivateUse:function(){return this.sPrivateUse},getPrivateUseSubtags:function(){return this.sPrivateUse?this.sPrivateUse.slice(2).split("-"):[]},hasPrivateUseSubtag:function(t){return it(t&&t.match(/^[0-9A-Z]{1,8}$/i),"subtag must be a valid BCP47 private use tag"),this.getPrivateUseSubtags().indexOf(t)>=0},toString:function(){var t=[this.sLanguage];return this.sScript&&t.push(this.sScript),this.sRegion&&t.push(this.sRegion),this.sVariant&&t.push(this.sVariant),this.sExtension&&t.push(this.sExtension),this.sPrivateUse&&t.push(this.sPrivateUse),t.join("-")},getSAPLogonLanguage:function(){var t,e=this.sLanguage||"";return e.indexOf("-")>=0&&(e=e.slice(0,e.indexOf("-"))),"zh"===(e=ct[e]||e)&&("Hant"===this.sScript||!this.sScript&&"TW"===this.sRegion)&&(e="zf"),this.sPrivateUse&&(t=/-(saptrc|sappsd)(?:-|$)/i.exec(this.sPrivateUse))&&(e="saptrc"===t[1].toLowerCase()?"1Q":"2Q"),e.toUpperCase()}}),ct={iw:"he",ji:"yi",in:"id",sh:"sr"};function ht(t){var e=/\$([-a-z0-9A-Z._]+)(?::([^$]*))?\$/.exec(t);return e&&e[2]?e[2].split(/,/):null}var dt=ht("$cldr-rtl-locales:ar,fa,he$")||[];lt._cldrLocales=ht("$cldr-locales:ar,ar_EG,ar_SA,bg,br,ca,cs,da,de,de_AT,de_CH,el,el_CY,en,en_AU,en_GB,en_HK,en_IE,en_IN,en_NZ,en_PG,en_SG,en_ZA,es,es_AR,es_BO,es_CL,es_CO,es_MX,es_PE,es_UY,es_VE,et,fa,fi,fr,fr_BE,fr_CA,fr_CH,fr_LU,he,hi,hr,hu,id,it,it_CH,ja,kk,ko,lt,lv,ms,nb,nl,nl_BE,nn,pl,pt,pt_PT,ro,ru,ru_UA,sk,sl,sr,sv,th,tr,uk,vi,zh_CN,zh_HK,zh_SG,zh_TW$"),lt._coreI18nLocales=ht("$core-i18n-locales:,ar,bg,ca,cs,da,de,el,en,es,et,fi,fr,hi,hr,hu,it,iw,ja,ko,lt,lv,nl,no,pl,pt,ro,ru,sh,sk,sl,sv,th,tr,uk,vi,zh_CN,zh_TW$"),lt._impliesRTL=function(t){var e=t instanceof lt?t:new lt(t),n=e.getLanguage()||"";n=n&&ct[n]||n;var r=e.getRegion()||"";return!!(r&&dt.indexOf(n+"_"+r)>=0)||dt.indexOf(n)>=0};var pt={loadResource:function(t){return sap.ui.loader._.getModuleContent(t)}},gt=st.extend("sap.ui.core.LocaleData",{constructor:function(t){this.oLocale=t,st.apply(this),this.mData=function(t){var e,n=t.getLanguage()||"",r=t.getScript()||"",i=t.getRegion()||"";function a(t){if(!(wt[t]||_t&&!0!==_t[t])){var e=wt[t]=pt.loadResource("sap/ui/core/cldr/"+t+".json",{dataType:"json",failOnError:!1});e&&e.__fallbackLocale&&(!function t(e,n){var r,i,a;if(n)for(r in n)n.hasOwnProperty(r)&&(i=e[r],a=n[r],void 0===i?e[r]=a:null===i?delete e[r]:"object"==typeof i&&"object"==typeof a&&t(i,a))}(e,a(e.__fallbackLocale)),delete e.__fallbackLocale)}return wt[t]}"no"===(n=n&&vt[n]||n)&&(n="nb");"zh"!==n||i||("Hans"===r?i="CN":"Hant"===r&&(i="TW"));var o=n+"_"+i;n&&i&&(e=a(o));!e&&n&&(e=a(n));return wt[o]=e||yt,wt[o]}(t)},_get:function(){return this._getDeep(this.mData,arguments)},_getMerged:function(){return this._get.apply(this,arguments)},_getDeep:function(t,e){for(var n=t,r=0;r<e.length&&void 0!==(n=n[e[r]]);r++);return n},getOrientation:function(){return this._get("orientation")},getLanguages:function(){return this._get("languages")},getScripts:function(){return this._get("scripts")},getTerritories:function(){return this._get("territories")},getMonths:function(t,e){return it("narrow"==t||"abbreviated"==t||"wide"==t,"sWidth must be narrow, abbreviated or wide"),this._get(bt(e),"months","format",t)},getMonthsStandAlone:function(t,e){return it("narrow"==t||"abbreviated"==t||"wide"==t,"sWidth must be narrow, abbreviated or wide"),this._get(bt(e),"months","stand-alone",t)},getDays:function(t,e){return it("narrow"==t||"abbreviated"==t||"wide"==t||"short"==t,"sWidth must be narrow, abbreviate, wide or short"),this._get(bt(e),"days","format",t)},getDaysStandAlone:function(t,e){return it("narrow"==t||"abbreviated"==t||"wide"==t||"short"==t,"sWidth must be narrow, abbreviated, wide or short"),this._get(bt(e),"days","stand-alone",t)},getQuarters:function(t,e){return it("narrow"==t||"abbreviated"==t||"wide"==t,"sWidth must be narrow, abbreviated or wide"),this._get(bt(e),"quarters","format",t)},getQuartersStandAlone:function(t,e){return it("narrow"==t||"abbreviated"==t||"wide"==t,"sWidth must be narrow, abbreviated or wide"),this._get(bt(e),"quarters","stand-alone",t)},getDayPeriods:function(t,e){return it("narrow"==t||"abbreviated"==t||"wide"==t,"sWidth must be narrow, abbreviated or wide"),this._get(bt(e),"dayPeriods","format",t)},getDayPeriodsStandAlone:function(t,e){return it("narrow"==t||"abbreviated"==t||"wide"==t,"sWidth must be narrow, abbreviated or wide"),this._get(bt(e),"dayPeriods","stand-alone",t)},getDatePattern:function(t,e){return it("short"==t||"medium"==t||"long"==t||"full"==t,"sStyle must be short, medium, long or full"),this._get(bt(e),"dateFormats",t)},getTimePattern:function(t,e){return it("short"==t||"medium"==t||"long"==t||"full"==t,"sStyle must be short, medium, long or full"),this._get(bt(e),"timeFormats",t)},getDateTimePattern:function(t,e){return it("short"==t||"medium"==t||"long"==t||"full"==t,"sStyle must be short, medium, long or full"),this._get(bt(e),"dateTimeFormats",t)},getCombinedDateTimePattern:function(t,e,n){it("short"==t||"medium"==t||"long"==t||"full"==t,"sStyle must be short, medium, long or full"),it("short"==e||"medium"==e||"long"==e||"full"==e,"sStyle must be short, medium, long or full");var r=this.getDateTimePattern(t,n),i=this.getDatePattern(t,n),a=this.getTimePattern(e,n);return r.replace("{0}",a).replace("{1}",i)},getCustomDateTimePattern:function(t,e){var n=this._get(bt(e),"dateTimeFormats","availableFormats");return this._getFormatPattern(t,n,e)},getIntervalPattern:function(t,e){var n,r,i,a,o,s=this._get(bt(e),"dateTimeFormats","intervalFormats");return t&&(r=(n=t.split("-"))[0],i=n[1],(a=s[r])&&(o=a[i]))?o:s.intervalFormatFallback},getCombinedIntervalPattern:function(t,e){return this._get(bt(e),"dateTimeFormats","intervalFormats").intervalFormatFallback.replace(/\{(0|1)\}/g,t)},getCustomIntervalPattern:function(t,e,n){var r=this._get(bt(n),"dateTimeFormats","intervalFormats");return this._getFormatPattern(t,r,n,e)},_getFormatPattern:function(t,e,n,r){var i,a,o;if(r?"string"==typeof r&&("j"!=r&&"J"!=r||(r=this.getPreferredHourSymbol()),o=e[t],i=o&&o[r]):i=e[t],i){if("object"!=typeof i)return i;a=Object.keys(i).map((function(t){return i[t]}))}return a||(a=this._createFormatPattern(t,e,n,r)),a&&1===a.length?a[0]:a},_createFormatPattern:function(t,e,n,r){var i,a,o,s,u,l,c,h,d,p=this._parseSkeletonFormat(t),g=this._findBestMatch(p,t,e),f=/^([GyYqQMLwWEecdD]+)([hHkKjJmszZvVOXx]+)$/;if(r){if("string"==typeof r)(c=mt[r]?mt[r].group:"")&&(h=ft[c].index>p[p.length-1].index),l=r;else{for(h=!0,d=p.length-1;d>=0;d--)if(r[(a=p[d]).group]){h=!1;break}for(d=0;d<p.length;d++)if(r[(a=p[d]).group]){l=a.symbol;break}"h"!=l&&"K"!=l||!r.DayPeriod||(l="a")}if(h)return[this.getCustomDateTimePattern(t,n)];g&&0===g.missingTokens.length&&(s=g.pattern[l])&&g.distance>0&&(s=this._expandFields(s,g.patternTokens,p)),s||(o=this._get(bt(n),"dateTimeFormats","availableFormats"),f.test(t)&&"ahHkKjJms".indexOf(l)>=0?s=this._getMixedFormatPattern(t,o,n,r):(u=this._getFormatPattern(t,o,n),s=this.getCombinedIntervalPattern(u,n))),i=[s]}else if(g){if("string"==typeof g.pattern)i=[g.pattern];else if("object"==typeof g.pattern)for(var m in i=[],g.pattern)s=g.pattern[m],i.push(s);g.distance>0&&(g.missingTokens.length>0?f.test(t)?i=[this._getMixedFormatPattern(t,e,n)]:(i=this._expandFields(i,g.patternTokens,p),i=this._appendItems(i,g.missingTokens,n)):i=this._expandFields(i,g.patternTokens,p))}else i=[s=t];return t.indexOf("J")>=0&&i.forEach((function(t,e){i[e]=t.replace(/ ?[abB](?=([^']*'[^']*')*[^']*)$/g,"")})),i},_parseSkeletonFormat:function(t){for(var e,n,r,i=[],a={index:-1},o=0;o<t.length;o++)if("j"!=(e=t.charAt(o))&&"J"!=e||(e=this.getPreferredHourSymbol()),e!=a.symbol){if(n=mt[e],r=ft[n.group],"Other"==n.group||r.diffOnly)throw new Error("Symbol '"+e+"' is not allowed in skeleton format '"+t+"'");if(r.index<=a.index)throw new Error("Symbol '"+e+"' at wrong position or duplicate in skeleton format '"+t+"'");a={symbol:e,group:n.group,match:n.match,index:r.index,field:r.field,length:1},i.push(a)}else a.length++;return i},_findBestMatch:function(t,e,n){var r,i,a,o,s,u,l,c,h,d,p={distance:1e4,firstDiffPos:-1};for(var g in n)if(!("intervalFormatFallback"===g||g.indexOf("B")>-1||(r=this._parseSkeletonFormat(g),u=0,i=[],l=!0,t.length<r.length))){s=0,c=t.length;for(var f=0;f<t.length;f++){if(a=t[f],o=r[s],c===t.length&&(c=f),o){if(h=mt[a.symbol],d=mt[o.symbol],a.symbol===o.symbol){a.length===o.length?c===f&&(c=t.length):(a.length<h.numericCeiling?o.length<d.numericCeiling:o.length>=d.numericCeiling)?u+=Math.abs(a.length-o.length):u+=5,s++;continue}if(a.match==o.match){u+=Math.abs(a.length-o.length)+10,s++;continue}}i.push(a),u+=50-f}s<r.length&&(l=!1),l&&(u<p.distance||u===p.distance&&c>p.firstDiffPos)&&(p.distance=u,p.firstDiffPos=c,p.missingTokens=i,p.pattern=n[g],p.patternTokens=r)}if(p.pattern)return p},_expandFields:function(t,e,n){var r="string"==typeof t,i=(r?[t]:t).map((function(t){var r,i,a,o,s,u,l,c,h,d,p={},g={},f="",m=!1,y=0;for(n.forEach((function(t){p[t.group]=t})),e.forEach((function(t){g[t.group]=t}));y<t.length;){if(d=t.charAt(y),m)f+=d,"'"==d&&(m=!1);else if((l=mt[d])&&p[l.group]&&g[l.group]){for(s=p[l.group],u=g[l.group],c=mt[s.symbol],h=mt[u.symbol],r=s.length,i=u.length,a=1;t.charAt(y+1)==d;)y++,a++;o=r===i||(r<c.numericCeiling?i>=h.numericCeiling:i<h.numericCeiling)?a:Math.max(a,r);for(var v=0;v<o;v++)f+=d}else f+=d,"'"==d&&(m=!0);y++}return f}));return r?i[0]:i},_appendItems:function(t,e,n){var r=this._get(bt(n),"dateTimeFormats","appendItems");return t.forEach(function(n,i){var a,o,s;e.forEach(function(e){o=r[e.group],a="'"+this.getDisplayName(e.field)+"'",s="";for(var u=0;u<e.length;u++)s+=e.symbol;t[i]=o.replace(/\{0\}/,n).replace(/\{1\}/,s).replace(/\{2\}/,a)}.bind(this))}.bind(this)),t},_getMixedFormatPattern:function(t,e,n,r){var i,a,o,s,u,l;return a=(i=/^([GyYqQMLwWEecdD]+)([hHkKjJmszZvVOXx]+)$/.exec(t))[1],o=i[2],u=this._getFormatPattern(a,e,n),l=r?this.getCustomIntervalPattern(o,r,n):this._getFormatPattern(o,e,n),s=/MMMM|LLLL/.test(a)?/E|e|c/.test(a)?"full":"long":/MMM|LLL/.test(a)?"medium":"short",this.getDateTimePattern(s,n).replace(/\{1\}/,u).replace(/\{0\}/,l)},getNumberSymbol:function(t){return it("decimal"==t||"group"==t||"plusSign"==t||"minusSign"==t||"percentSign"==t,"sType must be decimal, group, plusSign, minusSign or percentSign"),this._get("symbols-latn-"+t)},getDecimalPattern:function(){return this._get("decimalFormat").standard},getCurrencyPattern:function(t){return this._get("currencyFormat")[t]||this._get("currencyFormat").standard},getCurrencySpacing:function(t){return this._get("currencyFormat","currencySpacing","after"===t?"afterCurrency":"beforeCurrency")},getPercentPattern:function(){return this._get("percentFormat").standard},getMinimalDaysInFirstWeek:function(){return this._get("weekData-minDays")},getFirstDayOfWeek:function(){return this._get("weekData-firstDay")},getWeekendStart:function(){return this._get("weekData-weekendStart")},getWeekendEnd:function(){return this._get("weekData-weekendEnd")},getCurrencyDigits:function(t){var e=this._get("currency");if(e){if(e[t]&&e[t].hasOwnProperty("digits"))return e[t].digits;if(e.DEFAULT&&e.DEFAULT.hasOwnProperty("digits"))return e.DEFAULT.digits}var n=this._get("currencyDigits",t);return null==n&&null==(n=this._get("currencyDigits","DEFAULT"))&&(n=2),n},getCurrencySymbol:function(t){var e=this._get("currencySymbols");return e&&e[t]||t},getCurrencyCodeBySymbol:function(t){var e,n=this._get("currencySymbols");for(e in n)if(n[e]===t)return e;return t},getUnitDisplayName:function(t){var e=this.getUnitFormat(t);return e&&e.displayName||""},getRelativePatterns:function(t,e){void 0===e&&(e="wide"),it("wide"===e||"short"===e||"narrow"===e,"sStyle is only allowed to be set with 'wide', 'short' or 'narrow'");var n,r,i,a,o=[],s=this.getPluralCategories();return t||(t=["year","month","week","day","hour","minute","second"]),t.forEach(function(t){for(var u in n=this._get("dateFields",t+"-"+e))0===u.indexOf("relative-type-")?(i=parseInt(u.substr(14)),o.push({scale:t,value:i,pattern:n[u]})):0==u.indexOf("relativeTime-type-")&&(r=n[u],a="past"===u.substr(18)?-1:1,s.forEach((function(e){o.push({scale:t,sign:a,pattern:r["relativeTimePattern-count-"+e]})})))}.bind(this)),o},getRelativePattern:function(t,e,n,r){var i,a;return"string"==typeof n&&(r=n,n=void 0),void 0===n&&(n=e>0),void 0===r&&(r="wide"),it("wide"===r||"short"===r||"narrow"===r,"sStyle is only allowed to be set with 'wide', 'short' or 'narrow'"),a=t+"-"+r,0!==e&&-2!==e&&2!==e||(i=this._get("dateFields",a,"relative-type-"+e)),i||(i=this._get("dateFields",a,"relativeTime-type-"+(n?"future":"past"))["relativeTimePattern-count-"+this.getPluralCategory(Math.abs(e).toString())]),i},getRelativeSecond:function(t,e){return this.getRelativePattern("second",t,e)},getRelativeMinute:function(t,e){return 0==t?null:this.getRelativePattern("minute",t,e)},getRelativeHour:function(t,e){return 0==t?null:this.getRelativePattern("hour",t,e)},getRelativeDay:function(t,e){return this.getRelativePattern("day",t,e)},getRelativeWeek:function(t,e){return this.getRelativePattern("week",t,e)},getRelativeMonth:function(t,e){return this.getRelativePattern("month",t,e)},getDisplayName:function(t,e){it("second"==t||"minute"==t||"hour"==t||"zone"==t||"day"==t||"weekday"==t||"week"==t||"month"==t||"quarter"==t||"year"==t||"era"==t,"sType must be second, minute, hour, zone, day, weekday, week, month, quarter, year, era"),void 0===e&&(e="wide"),it("wide"===e||"short"===e||"narrow"===e,"sStyle is only allowed to be set with 'wide', 'short' or 'narrow'");var n=-1===["era","weekday","zone"].indexOf(t)?t+"-"+e:t;return this._get("dateFields",n,"displayName")},getRelativeYear:function(t,e){return this.getRelativePattern("year",t,e)},getDecimalFormat:function(t,e,n){var r,i;switch(t){case"long":i=this._get("decimalFormat-long");break;default:i=this._get("decimalFormat-short")}if(i){var a=e+"-"+n;(r=i[a])||(r=i[a=e+"-other"])}return r},getCurrencyFormat:function(t,e,n){var r,i;if(i=this._get("currencyFormat-short")){var a=e+"-"+n;(r=i[a])||(r=i[a=e+"-other"])}return r},getListFormat:function(t,e){var n=this._get("listPattern-"+(t||"standard")+"-"+(e||"wide"));return n||{}},getResolvedUnitFormat:function(t){return t=this.getUnitFromMapping(t)||t,this.getUnitFormat(t)},getUnitFormat:function(t){return this._get("units","short",t)},getUnitFormats:function(){return this._getMerged("units","short")},getUnitFromMapping:function(t){return this._get("unitMappings",t)},getEras:function(t,e){it("wide"==t||"abbreviated"==t||"narrow"==t,"sWidth must be wide, abbreviate or narrow");var n=this._get(bt(e),"era-"+t),r=[];for(var i in n)r[parseInt(i)]=n[i];return r},getEraDates:function(t){var e=this._get("eras-"+t.toLowerCase()),n=[];for(var r in e)n[parseInt(r)]=e[r];return n},getCalendarWeek:function(t,e){it("wide"==t||"narrow"==t,"sStyle must be wide or narrow");var n="date.week.calendarweek."+t;return sap.ui.getWCCore().getLibraryResourceBundle("sap.ui.core",this.oLocale.toString()).getText(n,e)},getPreferredCalendarType:function(){var t,e,n,r=this._get("calendarPreference"),i=r?r.split(" "):[];for(n=0;n<i.length;n++)for(e in t=i[n].split("-")[0],C)if(t===e.toLowerCase())return e;return C.Gregorian},getPreferredHourSymbol:function(){return this._get("timeData","_preferred")},getPluralCategories:function(){var t=this._get("plurals"),e=Object.keys(t);return e.push("other"),e},getPluralCategory:function(t){var e=this._get("plurals");for(var n in"number"==typeof t&&(t=t.toString()),this._pluralTest||(this._pluralTest={}),e){var r=this._pluralTest[n];if(r||(r=this._parsePluralRule(e[n]),this._pluralTest[n]=r),r(t))return n}return"other"},_parsePluralRule:function(t){var e,n="or",r="and",i="%",a="=",o="!=",s="n",u="i",l="f",c="t",h="v",d="w",p="..",g=",",f=0;function m(t){return e[f]===t&&(f++,!0)}function y(){var t=e[f];return f++,t}e=t.split(" ");var v=function t(){var e,f;return e=function t(){var e,n;if(e=function(){var t,e,n;if(t=function(){var t;if(t=function(){if(m(s))return function(t){return t.n};if(m(u))return function(t){return t.i};if(m(l))return function(t){return t.f};if(m(c))return function(t){return t.t};if(m(h))return function(t){return t.v};if(m(d))return function(t){return t.w};throw new Error("Unknown operand: "+y())}(),m(i)){var e=parseInt(y());return function(n){return t(n)%e}}return t}(),m(a))n=!0;else{if(!m(o))throw new Error("Expected '=' or '!='");n=!1}return e=function(){var t,e,n,r=[];return y().split(g).forEach((function(i){if(1===(t=i.split(p)).length)r.push(parseInt(i));else{e=parseInt(t[0]),n=parseInt(t[1]);for(var a=e;a<=n;a++)r.push(a)}})),function(t){return r}}(),n?function(n){return e(n).indexOf(t(n))>=0}:function(n){return-1===e(n).indexOf(t(n))}}(),m(r))return n=t(),function(t){return e(t)&&n(t)};return e}(),m(n)?(f=t(),function(t){return e(t)||f(t)}):e}();if(f!=e.length)throw new Error("Not completely parsed");return function(t){var e,n,r,i,a=t.indexOf(".");return-1===a?(e=t,n="",r=""):(e=t.substr(0,a),r=(n=t.substr(a+1)).replace(/0+$/,"")),i={n:parseFloat(t),i:parseInt(e),v:n.length,w:r.length,f:parseInt(n),t:parseInt(r)},v(i)}}}),ft={Era:{field:"era",index:0},Year:{field:"year",index:1},Quarter:{field:"quarter",index:2},Month:{field:"month",index:3},Week:{field:"week",index:4},"Day-Of-Week":{field:"weekday",index:5},Day:{field:"day",index:6},DayPeriod:{field:"hour",index:7,diffOnly:!0},Hour:{field:"hour",index:8},Minute:{field:"minute",index:9},Second:{field:"second",index:10},Timezone:{field:"zone",index:11}},mt={G:{group:"Era",match:"Era",numericCeiling:1},y:{group:"Year",match:"Year",numericCeiling:100},Y:{group:"Year",match:"Year",numericCeiling:100},Q:{group:"Quarter",match:"Quarter",numericCeiling:3},q:{group:"Quarter",match:"Quarter",numericCeiling:3},M:{group:"Month",match:"Month",numericCeiling:3},L:{group:"Month",match:"Month",numericCeiling:3},w:{group:"Week",match:"Week",numericCeiling:100},W:{group:"Week",match:"Week",numericCeiling:100},d:{group:"Day",match:"Day",numericCeiling:100},D:{group:"Day",match:"Day",numericCeiling:100},E:{group:"Day-Of-Week",match:"Day-Of-Week",numericCeiling:1},e:{group:"Day-Of-Week",match:"Day-Of-Week",numericCeiling:3},c:{group:"Day-Of-Week",match:"Day-Of-Week",numericCeiling:2},h:{group:"Hour",match:"Hour12",numericCeiling:100},H:{group:"Hour",match:"Hour24",numericCeiling:100},k:{group:"Hour",match:"Hour24",numericCeiling:100},K:{group:"Hour",match:"Hour12",numericCeiling:100},m:{group:"Minute",match:"Minute",numericCeiling:100},s:{group:"Second",match:"Second",numericCeiling:100},z:{group:"Timezone",match:"Timezone",numericCeiling:1},Z:{group:"Timezone",match:"Timezone",numericCeiling:1},O:{group:"Timezone",match:"Timezone",numericCeiling:1},v:{group:"Timezone",match:"Timezone",numericCeiling:1},V:{group:"Timezone",match:"Timezone",numericCeiling:1},X:{group:"Timezone",match:"Timezone",numericCeiling:1},x:{group:"Timezone",match:"Timezone",numericCeiling:1},S:{group:"Other",numericCeiling:100},u:{group:"Other",numericCeiling:100},U:{group:"Other",numericCeiling:1},r:{group:"Other",numericCeiling:100},F:{group:"Other",numericCeiling:100},g:{group:"Other",numericCeiling:100},a:{group:"DayPeriod",numericCeiling:1},b:{group:"Other",numericCeiling:1},B:{group:"Other",numericCeiling:1},A:{group:"Other",numericCeiling:100}},yt={},vt={iw:"he",ji:"yi",in:"id",sh:"sr"},_t=function(){var t,e=lt._cldrLocales,n={};if(e)for(t=0;t<e.length;t++)n[e[t]]=!0;return n}(),wt={};function bt(t){return t||(t=sap.ui.getWCCore().getConfiguration().getCalendarType()),"ca-"+t.toLowerCase()}var Ct=gt.extend("sap.ui.core.CustomLocaleData",{constructor:function(t){gt.apply(this,arguments),this.mCustomData=sap.ui.getWCCore().getFormatSettings().getCustomLocaleData()},_get:function(){var t,e=Array.prototype.slice.call(arguments);0==e[0].indexOf("ca-")&&e[0]==bt()&&(e=e.slice(1)),t=e.join("-");var n=this.mCustomData[t];return null==n&&null==(n=this._getDeep(this.mCustomData,arguments))&&(n=this._getDeep(this.mData,arguments)),n},_getMerged:function(){var e=this._getDeep(this.mData,arguments),n=this._getDeep(this.mCustomData,arguments);return t.extend({},e,n)}});gt.getInstance=function(t){return t.hasPrivateUseSubtag("sapufmt")?new Ct(t):new gt(t)};var Tt=new Map,Dt=function(t){return Tt.get(t)},St=function(t,e){Tt.set(t,e)},Pt=st.extend("sap.ui.core.date.UniversalDate",{constructor:function(){var t=Pt.getClass();return this.createDate(t,arguments)}});Pt.UTC=function(){var t=Pt.getClass();return t.UTC.apply(t,arguments)},Pt.now=function(){return Date.now()},Pt.prototype.createDate=function(t,e){switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3]);case 5:return new t(e[0],e[1],e[2],e[3],e[4]);case 6:return new t(e[0],e[1],e[2],e[3],e[4],e[5]);case 7:return new t(e[0],e[1],e[2],e[3],e[4],e[5],e[6])}},Pt.getInstance=function(t,e){var n,r;return t instanceof Pt&&(t=t.getJSDate()),e||(e=sap.ui.getWCCore().getConfiguration().getCalendarType()),n=Pt.getClass(e),(r=Object.create(n.prototype)).oDate=t,r.sCalendarType=e,r},Pt.getClass=function(t){t||(t=sap.ui.getWCCore().getConfiguration().getCalendarType());var e=Dt(t);if(!e){if(!sap||!sap.ui||!sap.ui.requireSync)throw new Error("Calendar type ["+t+"] is not imported");e=sap.ui.requireSync("sap/ui/core/date/"+t)}return e},["getDate","getMonth","getFullYear","getYear","getDay","getHours","getMinutes","getSeconds","getMilliseconds","getUTCDate","getUTCMonth","getUTCFullYear","getUTCDay","getUTCHours","getUTCMinutes","getUTCSeconds","getUTCMilliseconds","getTime","valueOf","getTimezoneOffset","toString","toDateString","setDate","setFullYear","setYear","setMonth","setHours","setMinutes","setSeconds","setMilliseconds","setUTCDate","setUTCFullYear","setUTCMonth","setUTCHours","setUTCMinutes","setUTCSeconds","setUTCMilliseconds"].forEach((function(t){Pt.prototype[t]=function(){return this.oDate[t].apply(this.oDate,arguments)}})),Pt.prototype.getJSDate=function(){return this.oDate},Pt.prototype.getCalendarType=function(){return this.sCalendarType},Pt.prototype.getEra=function(){return Pt.getEraByDate(this.sCalendarType,this.oDate.getFullYear(),this.oDate.getMonth(),this.oDate.getDate())},Pt.prototype.setEra=function(t){},Pt.prototype.getUTCEra=function(){return Pt.getEraByDate(this.sCalendarType,this.oDate.getUTCFullYear(),this.oDate.getUTCMonth(),this.oDate.getUTCDate())},Pt.prototype.setUTCEra=function(t){},Pt.prototype.getWeek=function(){return Pt.getWeekByDate(this.sCalendarType,this.getFullYear(),this.getMonth(),this.getDate())},Pt.prototype.setWeek=function(t){var e=Pt.getFirstDateOfWeek(this.sCalendarType,t.year||this.getFullYear(),t.week);this.setFullYear(e.year,e.month,e.day)},Pt.prototype.getUTCWeek=function(){return Pt.getWeekByDate(this.sCalendarType,this.getUTCFullYear(),this.getUTCMonth(),this.getUTCDate())},Pt.prototype.setUTCWeek=function(t){var e=Pt.getFirstDateOfWeek(this.sCalendarType,t.year||this.getFullYear(),t.week);this.setUTCFullYear(e.year,e.month,e.day)},Pt.prototype.getQuarter=function(){return Math.floor(this.getMonth()/3)},Pt.prototype.getUTCQuarter=function(){return Math.floor(this.getUTCMonth()/3)},Pt.prototype.getDayPeriod=function(){return this.getHours()<12?0:1},Pt.prototype.getUTCDayPeriod=function(){return this.getUTCHours()<12?0:1},Pt.prototype.getTimezoneShort=function(){if(this.oDate.getTimezoneShort)return this.oDate.getTimezoneShort()},Pt.prototype.getTimezoneLong=function(){if(this.oDate.getTimezoneLong)return this.oDate.getTimezoneLong()};var Mt=6048e5;function Et(t,e){for(var n=sap.ui.getWCCore().getFormatSettings().getFormatLocale(),r=gt.getInstance(n),i=r.getMinimalDaysInFirstWeek(),a=sap.ui.getConfiguration().getFirstDateOfWeek()||r.getFirstDayOfWeek(),o=new t(t.UTC(e,0,1)),s=7;o.getUTCDay()!==a;)o.setUTCDate(o.getUTCDate()-1),s--;return s<i&&o.setUTCDate(o.getUTCDate()+7),o}function Ut(t,e){return Math.floor((e.valueOf()-t.valueOf())/Mt)}Pt.getWeekByDate=function(t,e,n,r){var i,a,o,s,u=sap.ui.getWCCore().getFormatSettings().getFormatLocale(),l=this.getClass(t),c=Et(l,e),h=new l(l.UTC(e,n,r));return"US"===u.getRegion()?i=Ut(c,h):(o=e+1,s=Et(l,a=e-1),h>=Et(l,o)?(e=o,i=0):h<c?(e=a,i=Ut(s,h)):i=Ut(c,h)),{year:e,week:i}},Pt.getFirstDateOfWeek=function(t,e,n){var r=sap.ui.getWCCore().getFormatSettings().getFormatLocale(),i=this.getClass(t),a=Et(i,e),o=new i(a.valueOf()+n*Mt);return"US"===r.getRegion()&&0===n&&a.getUTCFullYear()<e?{year:e,month:0,day:1}:{year:o.getUTCFullYear(),month:o.getUTCMonth(),day:o.getUTCDate()}};var xt={};function Ot(t){var e=sap.ui.getWCCore().getFormatSettings().getFormatLocale(),n=gt.getInstance(e);if(!(r=xt[t])){var r;(r=n.getEraDates(t))[0]||(r[0]={_start:"1-1-1"});for(var i=0;i<r.length;i++){var a=r[i];a&&(a._start&&(a._startInfo=At(a._start)),a._end&&(a._endInfo=At(a._end)))}xt[t]=r}return r}function At(t){var e,n,r,i=t.split("-");return""==i[0]?(e=-parseInt(i[1]),n=parseInt(i[2])-1,r=parseInt(i[3])):(e=parseInt(i[0]),n=parseInt(i[1])-1,r=parseInt(i[2])),{timestamp:new Date(0).setUTCFullYear(e,n,r),year:e,month:n,day:r}}Pt.getEraByDate=function(t,e,n,r){for(var i,a=Ot(t),o=new Date(0).setUTCFullYear(e,n,r),s=a.length-1;s>=0;s--)if(i=a[s]){if(i._start&&o>=i._startInfo.timestamp)return s;if(i._end&&o<i._endInfo.timestamp)return s}},Pt.getCurrentEra=function(t){var e=new Date;return this.getEraByDate(t,e.getFullYear(),e.getMonth(),e.getDate())},Pt.getEraStartDate=function(t,e){var n=Ot(t),r=n[e]||n[0];if(r._start)return r._startInfo};var Ft=Pt.extend("sap.ui.core.date.Buddhist",{constructor:function(){var t=arguments;t.length>1&&(t=It(t)),this.oDate=this.createDate(Date,t),this.sCalendarType=C.Buddhist}});function Lt(t){var e=Pt.getEraStartDate(C.Buddhist,0).year,n=t.year-e+1;return t.year<1941&&t.month<3&&(n-=1),null===t.year&&(n=void 0),{year:n,month:t.month,day:t.day}}function kt(t){var e=Pt.getEraStartDate(C.Buddhist,0).year,n=t.year+e-1;return n<1941&&t.month<3&&(n+=1),null===t.year&&(n=void 0),{year:n,month:t.month,day:t.day}}function It(t){var e;return e=kt({year:t[0],month:t[1],day:void 0!==t[2]?t[2]:1}),t[0]=e.year,t}Ft.UTC=function(){var t=It(arguments);return Date.UTC.apply(Date,t)},Ft.now=function(){return Date.now()},Ft.prototype._getBuddhist=function(){return Lt({year:this.oDate.getFullYear(),month:this.oDate.getMonth(),day:this.oDate.getDate()})},Ft.prototype._setBuddhist=function(t){var e=kt(t);return this.oDate.setFullYear(e.year,e.month,e.day)},Ft.prototype._getUTCBuddhist=function(){return Lt({year:this.oDate.getUTCFullYear(),month:this.oDate.getUTCMonth(),day:this.oDate.getUTCDate()})},Ft.prototype._setUTCBuddhist=function(t){var e=kt(t);return this.oDate.setUTCFullYear(e.year,e.month,e.day)},Ft.prototype.getYear=function(){return this._getBuddhist().year},Ft.prototype.getFullYear=function(){return this._getBuddhist().year},Ft.prototype.getUTCFullYear=function(){return this._getUTCBuddhist().year},Ft.prototype.setYear=function(t){var e=this._getBuddhist();return e.year=t,this._setBuddhist(e)},Ft.prototype.setFullYear=function(t,e,n){var r=this._getBuddhist();return r.year=t,void 0!==e&&(r.month=e),void 0!==n&&(r.day=n),this._setBuddhist(r)},Ft.prototype.setUTCFullYear=function(t,e,n){var r=this._getUTCBuddhist();return r.year=t,void 0!==e&&(r.month=e),void 0!==n&&(r.day=n),this._setUTCBuddhist(r)},Ft.prototype.getWeek=function(){return Pt.getWeekByDate(this.sCalendarType,this.oDate.getFullYear(),this.getMonth(),this.getDate())},Ft.prototype.getUTCWeek=function(){return Pt.getWeekByDate(this.sCalendarType,this.oDate.getUTCFullYear(),this.getUTCMonth(),this.getUTCDate())},St(C.Buddhist,Ft);var Nt=Pt.extend("sap.ui.core.date.Islamic",{constructor:function(){var t=arguments;t.length>1&&(t=zt(t)),this.oDate=this.createDate(Date,t),this.sCalendarType=C.Islamic}});Nt.UTC=function(){var t=zt(arguments);return Date.UTC.apply(Date,t)},Nt.now=function(){return Date.now()};var Rt=1721425.5,jt=1948439.5,Wt=-425215872e5,Vt=864e5,$t=null;function Yt(t){var e,n,r,i,a,o,s,u=t.year,l=t.month,c=t.day;if(o=0,l+1>2&&(o=Gt(u)?-1:-2),s=Rt-1+365*(u-1)+Math.floor((u-1)/4)+-Math.floor((u-1)/100)+Math.floor((u-1)/400)+Math.floor((367*(l+1)-362)/12+o+c),a=(s=Math.floor(s)+.5)-jt,(i=Math.floor(a/29.530588853))<0)(n=i%12)<0&&(n+=12),r=a-Zt(e=Math.floor(i/12)+1,n)+1;else{for(i++;Jt(i)>a;)i--;r=a-Jt(12*((e=Math.floor(i/12)+1)-1)+(n=i%12))+1}return{day:r,month:n,year:e}}function Bt(t){var e,n,r,i,a,o=t.year,s=t.month,u=t.day+(o<1?Zt(o,s):Jt(12*(o-1)+s))+jt-1,l=Math.floor(u-.5)+.5,c=l-Rt,h=Math.floor(c/146097),d=qt(c,146097),p=Math.floor(d/36524),g=qt(d,36524),f=Math.floor(g/1461),m=qt(g,1461),y=Math.floor(m/365),v=400*h+100*p+4*f+y;return 4!=p&&4!=y&&v++,n=l-(Rt+365*(v-1)+Math.floor((v-1)/4)-Math.floor((v-1)/100)+Math.floor((v-1)/400)),i=0,i=l<Rt-1+365*(v-1)+Math.floor((v-1)/4)-Math.floor((v-1)/100)+Math.floor((v-1)/400)+Math.floor(739/12+(Gt(v)?-1:-2)+1)?0:Gt(v)?1:2,e=Math.floor((12*(n+i)+373)/367),r=Rt-1+365*(v-1)+Math.floor((v-1)/4)-Math.floor((v-1)/100)+Math.floor((v-1)/400),a=0,e>2&&(a=Gt(v)?-1:-2),{day:l-(r+=Math.floor((367*e-362)/12+a+1))+1,month:e-1,year:v}}function zt(t){var e,n=Array.prototype.slice.call(t);return e=Bt({year:t[0],month:t[1],day:void 0!==t[2]?t[2]:1}),n[0]=e.year,n[1]=e.month,n[2]=e.day,n}function Ht(t){return{year:parseInt(t.substr(0,4)),month:parseInt(t.substr(4,2)),day:parseInt(t.substr(6,2))}}function Jt(t){var e,n;$t||($t={},e=sap.ui.getWCCore().getFormatSettings().getLegacyDateFormat(),n=(n=sap.ui.getWCCore().getFormatSettings().getLegacyDateCalendarCustomizing())||[],e||n.length?e&&!n.length||!e&&n.length?Z.warning("There is an inconsistency between customization data ["+JSON.stringify(n)+"] and the date format ["+e+"]. Calendar customization won't be used."):(n.forEach((function(t){if(t.dateFormat===e){var n=Ht(t.gregDate),r=(new Date(Date.UTC(n.year,n.month-1,n.day)).getTime()-Wt)/Vt,i=12*((n=Ht(t.islamicMonthStart)).year-1)+n.month-1;$t[i]=r}})),Z.info("Working with date format: ["+e+"] and customization: "+JSON.stringify(n))):Z.info("No calendar customizations."));var r=$t[t];r||(r=Zt(Math.floor(t/12)+1,t%12));return r}function Zt(t,e){return Math.ceil(29.5*e)+354*(t-1)+Math.floor((3+11*t)/30)}function qt(t,e){return t-e*Math.floor(t/e)}function Gt(t){return!(t%400&&(t%4||!(t%100)))}Nt.prototype._getIslamic=function(){return Yt({day:this.oDate.getDate(),month:this.oDate.getMonth(),year:this.oDate.getFullYear()})},Nt.prototype._setIslamic=function(t){var e=Bt(t);return this.oDate.setFullYear(e.year,e.month,e.day)},Nt.prototype._getUTCIslamic=function(){return Yt({day:this.oDate.getUTCDate(),month:this.oDate.getUTCMonth(),year:this.oDate.getUTCFullYear()})},Nt.prototype._setUTCIslamic=function(t){var e=Bt(t);return this.oDate.setUTCFullYear(e.year,e.month,e.day)},Nt.prototype.getDate=function(t){return this._getIslamic().day},Nt.prototype.getMonth=function(){return this._getIslamic().month},Nt.prototype.getYear=function(){return this._getIslamic().year-1400},Nt.prototype.getFullYear=function(){return this._getIslamic().year},Nt.prototype.setDate=function(t){var e=this._getIslamic();return e.day=t,this._setIslamic(e)},Nt.prototype.setMonth=function(t,e){var n=this._getIslamic();return n.month=t,void 0!==e&&(n.day=e),this._setIslamic(n)},Nt.prototype.setYear=function(t){var e=this._getIslamic();return e.year=t+1400,this._setIslamic(e)},Nt.prototype.setFullYear=function(t,e,n){var r=this._getIslamic();return r.year=t,void 0!==e&&(r.month=e),void 0!==n&&(r.day=n),this._setIslamic(r)},Nt.prototype.getUTCDate=function(t){return this._getUTCIslamic().day},Nt.prototype.getUTCMonth=function(){return this._getUTCIslamic().month},Nt.prototype.getUTCFullYear=function(){return this._getUTCIslamic().year},Nt.prototype.setUTCDate=function(t){var e=this._getUTCIslamic();return e.day=t,this._setUTCIslamic(e)},Nt.prototype.setUTCMonth=function(t,e){var n=this._getUTCIslamic();return n.month=t,void 0!==e&&(n.day=e),this._setUTCIslamic(n)},Nt.prototype.setUTCFullYear=function(t,e,n){var r=this._getUTCIslamic();return r.year=t,void 0!==e&&(r.month=e),void 0!==n&&(r.day=n),this._setUTCIslamic(r)},St(C.Islamic,Nt);var Qt=Pt.extend("sap.ui.core.date.Japanese",{constructor:function(){var t=arguments;t.length>1&&(t=te(t)),this.oDate=this.createDate(Date,t),this.sCalendarType=C.Japanese}});function Xt(t){var e=Pt.getEraByDate(C.Japanese,t.year,t.month,t.day),n=Pt.getEraStartDate(C.Japanese,e).year;return{era:e,year:t.year-n+1,month:t.month,day:t.day}}function Kt(t){return{year:Pt.getEraStartDate(C.Japanese,t.era).year+t.year-1,month:t.month,day:t.day}}function te(t){var e,n=t[0];if("number"==typeof n){if(n>=100)return t;n=[Pt.getCurrentEra(C.Japanese),n]}else Array.isArray(n)||(n=[]);return e=Kt({era:n[0],year:n[1],month:t[1],day:void 0!==t[2]?t[2]:1}),t[0]=e.year,t}Qt.UTC=function(){var t=te(arguments);return Date.UTC.apply(Date,t)},Qt.now=function(){return Date.now()},Qt.prototype._getJapanese=function(){return Xt({year:this.oDate.getFullYear(),month:this.oDate.getMonth(),day:this.oDate.getDate()})},Qt.prototype._setJapanese=function(t){var e=Kt(t);return this.oDate.setFullYear(e.year,e.month,e.day)},Qt.prototype._getUTCJapanese=function(){return Xt({year:this.oDate.getUTCFullYear(),month:this.oDate.getUTCMonth(),day:this.oDate.getUTCDate()})},Qt.prototype._setUTCJapanese=function(t){var e=Kt(t);return this.oDate.setUTCFullYear(e.year,e.month,e.day)},Qt.prototype.getYear=function(){return this._getJapanese().year},Qt.prototype.getFullYear=function(){return this._getJapanese().year},Qt.prototype.getEra=function(){return this._getJapanese().era},Qt.prototype.getUTCFullYear=function(){return this._getUTCJapanese().year},Qt.prototype.getUTCEra=function(){return this._getUTCJapanese().era},Qt.prototype.setYear=function(t){var e=this._getJapanese();return e.year=t,this._setJapanese(e)},Qt.prototype.setFullYear=function(t,e,n){var r=this._getJapanese();return r.year=t,void 0!==e&&(r.month=e),void 0!==n&&(r.day=n),this._setJapanese(r)},Qt.prototype.setEra=function(t,e,n,r){var i=Xt(Pt.getEraStartDate(C.Japanese,t));return void 0!==e&&(i.year=e),void 0!==n&&(i.month=n),void 0!==r&&(i.day=r),this._setJapanese(i)},Qt.prototype.setUTCFullYear=function(t,e,n){var r=this._getUTCJapanese();return r.year=t,void 0!==e&&(r.month=e),void 0!==n&&(r.day=n),this._setUTCJapanese(r)},Qt.prototype.setUTCEra=function(t,e,n,r){var i=Xt(Pt.getEraStartDate(C.Japanese,t));return void 0!==e&&(i.year=e),void 0!==n&&(i.month=n),void 0!==r&&(i.day=r),this._setUTCJapanese(i)},Qt.prototype.getWeek=function(){return Pt.getWeekByDate(this.sCalendarType,this.oDate.getFullYear(),this.getMonth(),this.getDate())},Qt.prototype.getUTCWeek=function(){return Pt.getWeekByDate(this.sCalendarType,this.oDate.getUTCFullYear(),this.getUTCMonth(),this.getUTCDate())},St(C.Japanese,Qt);var ee=Pt.extend("sap.ui.core.date.Persian",{constructor:function(){var t=arguments;t.length>1&&(t=ie(t)),this.oDate=this.createDate(Date,t),this.sCalendarType=C.Persian}});ee.UTC=function(){var t=ie(arguments);return Date.UTC.apply(Date,t)},ee.now=function(){return Date.now()};function ne(t){return function(t){var e,n,r,i=se(t).year,a=i-621,o=ae(a),s=oe(i,3,o.march);if((r=t-s)>=0){if(r<=185)return n=1+ue(r,31),e=le(r,31)+1,{year:a,month:n-1,day:e};r-=186}else a-=1,r+=179,1===o.leap&&(r+=1);return n=7+ue(r,30),e=le(r,30)+1,{year:a,month:n-1,day:e}}(oe(t.year,t.month+1,t.day))}function re(t){return se(function(t,e,n){for(;e<1;)e+=12,t--;for(;e>12;)e-=12,t++;var r=ae(t);return oe(r.gy,3,r.march)+31*(e-1)-ue(e,7)*(e-7)+n-1}(t.year,t.month+1,t.day))}function ie(t){var e,n=Array.prototype.slice.call(t);return"number"!=typeof t[0]||"number"!=typeof t[1]||void 0!==t[2]&&"number"!=typeof t[2]?(n[0]=NaN,n[1]=NaN,n[2]=NaN,n):(e=re({year:t[0],month:t[1],day:void 0!==t[2]?t[2]:1}),n[0]=e.year,n[1]=e.month,n[2]=e.day,n)}function ae(t){var e,n,r,i,a,o,s=[-61,9,38,199,426,686,756,818,1111,1181,1210,1635,2060,2097,2192,2262,2324,2394,2456,3178],u=s.length,l=t+621,c=-14,h=s[0];for(o=1;o<u&&(n=(e=s[o])-h,!(t<e));o+=1)c=c+8*ue(n,33)+ue(le(n,33),4),h=e;return c=c+8*ue(a=t-h,33)+ue(le(a,33)+3,4),4===le(n,33)&&n-a==4&&(c+=1),i=20+c-(ue(l,4)-ue(3*(ue(l,100)+1),4)-150),n-a<6&&(a=a-n+33*ue(n+4,33)),-1===(r=le(le(a+1,33)-1,4))&&(r=4),{leap:r,gy:l,march:i}}function oe(t,e,n){var r=ue(1461*(t+ue(e-8,6)+100100),4)+ue(153*le(e+9,12)+2,5)+n-34840408;return r=r-ue(3*ue(t+100100+ue(e-8,6),100),4)+752}function se(t){var e,n,r,i;return e=(e=4*t+139361631)+4*ue(3*ue(4*t+183187720,146097),4)-3908,n=5*ue(le(e,1461),4)+308,r=ue(le(n,153),5)+1,i=le(ue(n,153),12)+1,{year:ue(e,1461)-100100+ue(8-i,6),month:i-1,day:r}}function ue(t,e){return~~(t/e)}function le(t,e){return t-~~(t/e)*e}ee.prototype._getPersian=function(){return ne({day:this.oDate.getDate(),month:this.oDate.getMonth(),year:this.oDate.getFullYear()})},ee.prototype._setPersian=function(t){var e=re(t);return this.oDate.setFullYear(e.year,e.month,e.day)},ee.prototype._getUTCPersian=function(){return ne({day:this.oDate.getUTCDate(),month:this.oDate.getUTCMonth(),year:this.oDate.getUTCFullYear()})},ee.prototype._setUTCPersian=function(t){var e=re(t);return this.oDate.setUTCFullYear(e.year,e.month,e.day)},ee.prototype.getDate=function(t){return this._getPersian().day},ee.prototype.getMonth=function(){return this._getPersian().month},ee.prototype.getYear=function(){return this._getPersian().year-1300},ee.prototype.getFullYear=function(){return this._getPersian().year},ee.prototype.setDate=function(t){var e=this._getPersian();return e.day=t,this._setPersian(e)},ee.prototype.setMonth=function(t,e){var n=this._getPersian();return n.month=t,void 0!==e&&(n.day=e),this._setPersian(n)},ee.prototype.setYear=function(t){var e=this._getPersian();return e.year=t+1300,this._setPersian(e)},ee.prototype.setFullYear=function(t,e,n){var r=this._getPersian();return r.year=t,void 0!==e&&(r.month=e),void 0!==n&&(r.day=n),this._setPersian(r)},ee.prototype.getUTCDate=function(t){return this._getUTCPersian().day},ee.prototype.getUTCMonth=function(){return this._getUTCPersian().month},ee.prototype.getUTCFullYear=function(){return this._getUTCPersian().year},ee.prototype.setUTCDate=function(t){var e=this._getUTCPersian();return e.day=t,this._setUTCPersian(e)},ee.prototype.setUTCMonth=function(t,e){var n=this._getUTCPersian();return n.month=t,void 0!==e&&(n.day=e),this._setUTCPersian(n)},ee.prototype.setUTCFullYear=function(t,e,n){var r=this._getUTCPersian();return r.year=t,void 0!==e&&(r.month=e),void 0!==n&&(r.day=n),this._setUTCPersian(r)},St(C.Persian,ee),
2
- /**
3
- *
4
- *
5
- * @author Jerry Bendy <jerry@icewingcc.com>
6
- * @licence MIT
7
- *
8
- */
9
- function(t){var e,n=t.URLSearchParams&&t.URLSearchParams.prototype.get?t.URLSearchParams:null,r=n&&"a=1"===new n({a:1}).toString(),i=n&&"+"===new n("s=%2B").get("s"),a="__URLSearchParams__",o=!n||((e=new n).append("s"," &"),"s=+%26"===e.toString()),s=h.prototype,u=!(!t.Symbol||!t.Symbol.iterator);if(!(n&&r&&i&&o)){s.append=function(t,e){m(this[a],t,e)},s.delete=function(t){delete this[a][t]},s.get=function(t){var e=this[a];return t in e?e[t][0]:null},s.getAll=function(t){var e=this[a];return t in e?e[t].slice(0):[]},s.has=function(t){return t in this[a]},s.set=function(t,e){this[a][t]=[""+e]},s.toString=function(){var t,e,n,r,i=this[a],o=[];for(e in i)for(n=d(e),t=0,r=i[e];t<r.length;t++)o.push(n+"="+d(r[t]));return o.join("&")};var l=!!i&&n&&!r&&t.Proxy;Object.defineProperty(t,"URLSearchParams",{value:l?new Proxy(n,{construct:function(t,e){return new t(new h(e[0]).toString())}}):h});var c=t.URLSearchParams.prototype;c.polyfill=!0,c.forEach=c.forEach||function(t,e){var n=f(this.toString());Object.getOwnPropertyNames(n).forEach((function(r){n[r].forEach((function(n){t.call(e,n,r,this)}),this)}),this)},c.sort=c.sort||function(){var t,e,n,r=f(this.toString()),i=[];for(t in r)i.push(t);for(i.sort(),e=0;e<i.length;e++)this.delete(i[e]);for(e=0;e<i.length;e++){var a=i[e],o=r[a];for(n=0;n<o.length;n++)this.append(a,o[n])}},c.keys=c.keys||function(){var t=[];return this.forEach((function(e,n){t.push(n)})),g(t)},c.values=c.values||function(){var t=[];return this.forEach((function(e){t.push(e)})),g(t)},c.entries=c.entries||function(){var t=[];return this.forEach((function(e,n){t.push([n,e])})),g(t)},u&&(c[t.Symbol.iterator]=c[t.Symbol.iterator]||c.entries)}function h(t){((t=t||"")instanceof URLSearchParams||t instanceof h)&&(t=t.toString()),this[a]=f(t)}function d(t){var e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'\(\)~]|%20|%00/g,(function(t){return e[t]}))}function p(t){return decodeURIComponent(t.replace(/\+/g," "))}function g(e){var n={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return u&&(n[t.Symbol.iterator]=function(){return n}),n}function f(t){var e={};if("object"==typeof t)for(var n in t)t.hasOwnProperty(n)&&m(e,n,t[n]);else{0===t.indexOf("?")&&(t=t.slice(1));for(var r=t.split("&"),i=0;i<r.length;i++){var a=r[i],o=a.indexOf("=");-1<o?m(e,p(a.slice(0,o)),p(a.slice(o+1))):a&&m(e,p(a),"")}}return e}function m(t,e,n){var r="string"==typeof n?n:null!=n&&"function"==typeof n.toString?n.toString():JSON.stringify(n);e in t?t[e].push(r):t[e]=[r]}}("undefined"!=typeof global?global:window);(()=>{if(!window.ShadyDOM)return;const t=Object.getOwnPropertyDescriptor(Node.prototype,"nodeValue");Object.defineProperty(Node.prototype,"nodeValue",{get(){return t.get.apply(this)},set(e){t.set.apply(this,arguments);const n=this.parentNode;n instanceof HTMLElement&&n.isUI5Element&&n._processChildren()}})})();var ce=function(){var t,e,n,r,i,a,s=arguments[0]||{},u=1,l=arguments.length;for("object"!=typeof s&&"function"!=typeof s&&(s={});u<l;u++)for(r in i=arguments[u])t=s[r],s!==(n=i[r])&&(n&&(o(n)||(e=Array.isArray(n)))?(e?(e=!1,a=Array.isArray(t)?t:[]):a=t&&o(t)?t:{},s[r]=ce(a,n)):s[r]=n);return s};const he=(t,e={})=>{const n=document.createElement("style");return n.type="text/css",Object.entries(e).forEach(t=>n.setAttribute(...t)),n.textContent=t,document.head.appendChild(n),n},de={};let pe;const ge=()=>!!window.CSSVarsPonyfill,fe=()=>{pe=void 0,window.CSSVarsPonyfill.cssVars({rootElement:document.head,include:"style[data-ui5-theme-properties],style[data-ui5-element-styles]",silent:!0})},me=(t,e)=>{he(e,{"data-ui5-element-styles":t,disabled:"disabled"}),ge()&&(pe||(pe=window.setTimeout(fe,0)))},ye=[],ve=async t=>{let e="";j().forEach(async n=>{e=await(async(t,e)=>{const n=L.get(`${t}_${e}`);if(n)return n;if(!I.has(e)){const e=[...I.values()].join(", ");return console.warn(`You have requested a non-registered theme - falling back to sap_fiori_3. Registered themes are: ${e}`),L.get(`${t}_sap_fiori_3`)}const r=await R(t,e);return L.set(`${t}_${e}`,r._),r._})(n,t),((t,e)=>{const n=document.head.querySelector(`style[data-ui5-theme-properties="${e}"]`);if(n)n.textContent=t||"";else{he(t,{"data-ui5-theme-properties":e})}ge()&&fe()})(e,n)}),_e(t)},_e=t=>{ye.forEach(e=>e(t))},we=t=>{const e=(t=>de[t]?de[t].join(""):"")(t.getMetadata().getTag())||"";let n=t.styles;return Array.isArray(n)&&(n=n.join(" ")),`${n} ${e}`};let be=(()=>(m(),p.theme))();const Ce=()=>be;let Te;let De;const Se=()=>De||(De=new Promise(async t=>{await(()=>new Promise(t=>{document.body?t():document.addEventListener("DOMContentLoaded",()=>{t()})}))(),await ve(Ce()),document.querySelector("head>style[data-ui5-font-face]")||he('\n\t@font-face {\n\t\tfont-family: "72";\n\t\tfont-style: normal;\n\t\tfont-weight: 400;\n\t\tsrc: local("72"),\n\t\t\turl(https://ui5.sap.com/sdk/resources/sap/ui/core/themes/sap_fiori_3/fonts/72-Regular.woff2?ui5-webcomponents) format("woff2"),\n\t\t\turl(https://ui5.sap.com/sdk/resources/sap/ui/core/themes/sap_fiori_3/fonts/72-Regular.woff?ui5-webcomponents) format("woff");\n\t}\n\t\n\t@font-face {\n\t\tfont-family: "72full";\n\t\tfont-style: normal;\n\t\tfont-weight: 400;\n\t\tsrc: local(\'72-full\'),\n\t\t\turl(https://ui5.sap.com/sdk/resources/sap/ui/core/themes/sap_fiori_3/fonts/72-Regular-full.woff2?ui5-webcomponents) format("woff2"),\n\t\t\turl(https://ui5.sap.com/sdk/resources/sap/ui/core/themes/sap_fiori_3/fonts/72-Regular-full.woff?ui5-webcomponents) format("woff");\n\t\t\n\t}\n\t\n\t@font-face {\n\t\tfont-family: "72";\n\t\tfont-style: normal;\n\t\tfont-weight: 700;\n\t\tsrc: local(\'72-Bold\'),\n\t\t\turl(https://ui5.sap.com/sdk/resources/sap/ui/core/themes/sap_fiori_3/fonts/72-Bold.woff2?ui5-webcomponents) format("woff2"),\n\t\t\turl(https://ui5.sap.com/sdk/resources/sap/ui/core/themes/sap_fiori_3/fonts/72-Bold.woff?ui5-webcomponents) format("woff");\n\t}\n\t\n\t@font-face {\n\t\tfont-family: "72full";\n\t\tfont-style: normal;\n\t\tfont-weight: 700;\n\t\tsrc: local(\'72-Bold-full\'),\n\t\t\turl(https://ui5.sap.com/sdk/resources/sap/ui/core/themes/sap_fiori_3/fonts/72-Bold-full.woff2?ui5-webcomponents) format("woff2"),\n\t\t\turl(https://ui5.sap.com/sdk/resources/sap/ui/core/themes/sap_fiori_3/fonts/72-Bold-full.woff?ui5-webcomponents) format("woff");\n\t}\n',{"data-ui5-font-face":""}),await(()=>Te||(Te=new Promise(t=>{window.WebComponents&&!window.WebComponents.ready&&window.WebComponents.waitFor?window.WebComponents.waitFor(()=>{t()}):t()}),Te))(),t()}),De),Pe=["value-changed"];let Me=(()=>(m(),p.noConflict))();const Ee=t=>!(t=>Pe.includes(t))(t)&&(!0===Me||!(t=>!(Me.events&&Me.events.includes&&Me.events.includes(t)))(t)),Ue=window,xe=new WeakMap;class Oe{constructor(){throw new Error("Static class")}static observeDOMNode(t,e,n){let r=xe.get(t);if(r)throw new Error("A mutation/ShadyDOM observer is already assigned to this node.");Ue.ShadyDOM?r=Ue.ShadyDOM.observeChildren(t,e):(r=new MutationObserver(e),r.observe(t,n)),xe.set(t,r)}static unobserveDOMNode(t){const e=xe.get(t);e&&(e instanceof MutationObserver?e.disconnect():Ue.ShadyDOM.unobserveChildren(e),xe.delete(t))}}class Ae{static isValid(t){}static generataTypeAcessors(t){Object.keys(t).forEach(e=>{Object.defineProperty(this,e,{get:()=>t[e]})})}}const Fe=t=>ke(t.split("-")),Le=t=>t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),ke=t=>t.map((t,e)=>0===e?t.toLowerCase():t.charAt(0).toUpperCase()+t.slice(1).toLowerCase()).join("");class Ie{constructor(t){this.metadata=t}static validatePropertyValue(t,e){return e.multiple?t.map(t=>Ne(t,e)):Ne(t,e)}static validateSlotValue(t,e){return Re(t,e)}getTag(){return this.metadata.tag}hasAttribute(t){const e=this.getProperties()[t];return e.type!==Object&&!e.noAttribute}getPropertiesList(){return Object.keys(this.getProperties())}getAttributesList(){return this.getPropertiesList().filter(this.hasAttribute,this).map(Le)}getSlots(){return this.metadata.slots||{}}hasSlots(){return!!Object.entries(this.getSlots()).length}getProperties(){return this.metadata.properties||{}}getEvents(){return this.metadata.events||{}}}const Ne=(t,e)=>{const n=e.type;return n===Boolean?"boolean"==typeof t&&t:n===String?"string"==typeof t||null==t?t:t.toString():n===Object?"object"==typeof t?t:e.defaultValue:((t,e,n=!1)=>{if("function"!=typeof t||"function"!=typeof e)return!1;if(n&&t===e)return!0;let r=t;do{r=Object.getPrototypeOf(r)}while(null!==r&&r!==e);return r===e})(n,Ae)?n.isValid(t)?t:e.defaultValue:void 0},Re=(t,e)=>{if(null===t)return t;return(t=>{return t instanceof HTMLElement&&"slot"===t.localName?t.assignedNodes({flatten:!0}).filter(t=>t instanceof HTMLElement):[t]})(t).forEach(t=>{if(!(t instanceof e.type))throw new Error(`${t} is not of type ${e.type}`)}),t};class je extends Ae{static isValid(t){return Number.isInteger(t)}}const We=10;let Ve;const $e=new class{constructor(){this.list=[],this.promises=new Map}add(t){if(this.promises.has(t))return this.promises.get(t);let e;const n=new Promise(t=>{e=t});return n._deferredResolve=e,this.list.push(t),this.promises.set(t,n),n}shift(){const t=this.list.shift();if(t){const e=this.promises.get(t);return this.promises.delete(t),{webComponent:t,promise:e}}}getList(){return this.list}isAdded(t){return this.promises.has(t)}};let Ye,Be,ze;class He{constructor(){throw new Error("Static class")}static renderDeferred(t){const e=$e.add(t);return He.scheduleRenderTask(),e}static renderImmediately(t){const e=$e.add(t);return He.runRenderTask(),e}static scheduleRenderTask(){Ve||(Ve=window.requestAnimationFrame(He.renderWebComponents))}static runRenderTask(){Ve||(Ve=1,He.renderWebComponents())}static renderWebComponents(){let t,e,n;const r=new Map;for(;t=$e.shift();){e=t.webComponent,n=t.promise;const i=r.get(e)||0;if(i>We)throw new Error(`Web component re-rendered too many times this task, max allowed is: ${We}`);e._render(),n._deferredResolve(),r.set(e,i+1)}setTimeout(()=>{0===$e.getList().length&&He._resolveTaskPromise()},200),Ve=void 0}static whenDOMUpdated(){return Ye||(Ye=new Promise(t=>{Be=t,window.requestAnimationFrame(()=>{0===$e.getList().length&&(Ye=void 0,t())})}),Ye)}static getNotDefinedComponents(){return Array.from(document.querySelectorAll("*")).filter(t=>t.localName.startsWith("ui5-")&&!t.isUI5Element)}static async whenShadowDOMReady(){const t=this.getNotDefinedComponents().map(t=>customElements.whenDefined(t.localName)),e=new Promise(t=>setTimeout(t,5e3));await Promise.race([Promise.all(t),e]);const n=this.getNotDefinedComponents();return n.length&&console.warn("undefined elements after 5 seconds are: "+[...n].map(t=>t.localName).join(" ; ")),Promise.resolve()}static async whenFinished(){await He.whenShadowDOMReady(),await He.whenDOMUpdated()}static _resolveTaskPromise(){$e.getList().length>0||Be&&(Be.call(this,ze),Be=void 0,Ye=void 0)}}const Je=(t,e,n,r)=>{const i=n+e.length,a=t.charAt(i),o=t.substring(0,n)+r;if("("===a){const e=((t,e)=>{let n=1;for(let r=e+1;r<t.length;r++){const e=t.charAt(r);if("("===e?n++:")"===e&&n--,0===n)return r}})(t,i);return o+t.substring(i+1,e)+t.substring(e+1)}return o+t.substring(i)},Ze=(t,e)=>(t=((t,e,n)=>{let r=t.indexOf(e);for(;-1!==r;)r=(t=Je(t,e,r,n)).indexOf(e);return t})(t=t.trim(),"::slotted","")).startsWith(":host")?Je(t,":host",0,e):t.match(/^[@0-9]/)||"to"===t||"to{"===t?t:t.match(new RegExp(`^${e}[^a-zA-Z0-9-]`))?t:`${e} ${t}`,qe=new Map,Ge=new Set,Qe=t=>{const e=t.getMetadata().getTag();if(Ge.has(e))return;let n=we(t);n=((t,e)=>{t=(t=t.replace(/\n/g," ")).replace(/([{}])/g,"$1\n");let n="";return t.split("\n").forEach(t=>{if(t.match(/{$/)){const n=t.split(",");t=n.map(t=>Ze(t,e)).join(",")}n=`${n}${t}`}),n})(n,e),me(e,n),Ge.add(e)},Xe=t=>{const e=t.getMetadata().getTag(),n=we(t);if(qe.has(e))return qe.get(e);const r=new CSSStyleSheet;return r.replaceSync(n),qe.set(e,r),r},Ke=t=>{if("disabled"===t)return!0;return![HTMLElement,Element,Node].some(e=>e.prototype.hasOwnProperty(t))},tn={events:{_propertyChange:{}}},en=new Set,nn=new Map;class rn extends HTMLElement{constructor(){let t;super(),this._generateId(),this._initializeState(),this._upgradeAllProperties(),this._initializeShadowRoot(),this._domRefReadyPromise=new Promise(e=>{t=e}),this._domRefReadyPromise._deferredResolve=t,this._monitoredChildProps=new Map}_generateId(){this._id=this.constructor._nextID()}_initializeShadowRoot(){if(this.constructor._needsShadowDOM()&&(this.attachShadow({mode:"open"}),window.ShadyDOM&&Qe(this.constructor),document.adoptedStyleSheets)){const t=Xe(this.constructor);this.shadowRoot.adoptedStyleSheets=[t]}}async connectedCallback(){this.constructor._needsShadowDOM()&&(this._startObservingDOMChildren(),await this._processChildren(),await He.renderImmediately(this),this._domRefReadyPromise._deferredResolve(),"function"==typeof this.onEnterDOM&&this.onEnterDOM())}disconnectedCallback(){this.constructor._needsShadowDOM()&&(this._stopObservingDOMChildren(),"function"==typeof this.onExitDOM&&this.onExitDOM())}_startObservingDOMChildren(){if(!this.constructor.getMetadata().hasSlots())return;Oe.observeDOMNode(this,this._processChildren.bind(this),{childList:!0,subtree:!0,characterData:!0})}_stopObservingDOMChildren(){Oe.unobserveDOMNode(this)}async _processChildren(){this.constructor.getMetadata().hasSlots()&&await this._updateSlots()}async _updateSlots(){const t=this.constructor.getMetadata().getSlots(),e=t.default&&t.default.type===Node,n=Array.from(e?this.childNodes:this.children);for(const[e,n]of Object.entries(t))this._clearSlot(e);const r=new Map,i=new Map,a=n.map(async(e,n)=>{const a=this.constructor._getSlotName(e),o=t[a];if(void 0===o){const n=Object.keys(t).join(", ");return void console.warn(`Unknown slotName: ${a}, ignoring`,e,`Valid values are: ${n}`)}if(o.individualSlots){const t=(r.get(a)||0)+1;r.set(a,t),e._individualSlot=`${a}-${t}`}if(e instanceof HTMLElement){const t=e.localName;if(t.includes("-")){if(!window.customElements.get(t)){const e=window.customElements.whenDefined(t),n=new Promise(t=>setTimeout(t,1e3));await Promise.race([e,n])}window.customElements.upgrade(e)}}(e=this.constructor.getMetadata().constructor.validateSlotValue(e,o)).isUI5Element&&this._attachChildPropertyUpdated(e,o);const s=o.propertyName||a;i.has(s)?i.get(s).push({child:e,idx:n}):i.set(s,[{child:e,idx:n}])});await Promise.all(a),i.forEach((t,e)=>{this._state[e]=t.sort((t,e)=>t.idx-e.idx).map(t=>t.child)}),this._invalidate()}_clearSlot(t){const e=this.constructor.getMetadata().getSlots()[t].propertyName||t;let n=this._state[e];Array.isArray(n)||(n=[n]),n.forEach(t=>{t&&t.isUI5Element&&this._detachChildPropertyUpdated(t)}),this._state[e]=[],this._invalidate(e,[])}attributeChangedCallback(t,e,n){const r=this.constructor.getMetadata().getProperties(),i=t.replace(/^ui5-/,""),a=Fe(i);if(r.hasOwnProperty(a)){const t=r[a].type;t===Boolean&&(n=null!==n),t===je&&(n=parseInt(n)),this[a]=n}}_updateAttribute(t,e){if(!this.constructor.getMetadata().hasAttribute(t))return;if("object"==typeof e)return;const n=Le(t),r=this.getAttribute(n);"boolean"==typeof e?!0===e&&null===r?this.setAttribute(n,""):!1===e&&null!==r&&this.removeAttribute(n):r!==e&&this.setAttribute(n,e)}_upgradeProperty(t){if(this.hasOwnProperty(t)){const e=this[t];delete this[t],this[t]=e}}_upgradeAllProperties(){this.constructor.getMetadata().getPropertiesList().forEach(this._upgradeProperty,this)}_initializeState(){const t=this.constructor._getDefaultState();this._state=Object.assign({},t)}_attachChildPropertyUpdated(t,e){const n=e.listenFor,r=t.constructor.getMetadata(),i=this.constructor._getSlotName(t),a=r.getProperties();let o=[],s=[];n&&(Array.isArray(n)?o=n:(o=Array.isArray(n.props)?n.props:Object.keys(a),s=Array.isArray(n.exclude)?n.exclude:[]),this._monitoredChildProps.has(i)||this._monitoredChildProps.set(i,{observedProps:o,notObservedProps:s}),t.addEventListener("_propertyChange",this._invalidateParentOnPropertyUpdate))}_detachChildPropertyUpdated(t){t.removeEventListener("_propertyChange",this._invalidateParentOnPropertyUpdate)}_propertyChange(t,e){this._updateAttribute(t,e);const n=new CustomEvent("_propertyChange",{detail:{name:t,newValue:e},composed:!1,bubbles:!0});this.dispatchEvent(n)}_invalidateParentOnPropertyUpdate(t){const e=this.parentNode;if(!e)return;const n=e.constructor._getSlotName(this),r=e._monitoredChildProps.get(n);if(!r)return;const{observedProps:i,notObservedProps:a}=r;i.includes(t.detail.name)&&!a.includes(t.detail.name)&&e._invalidate("_parent_",this)}_invalidate(){this._invalidated||this.getDomRef()&&!this._suppressInvalidation&&(this._invalidated=!0,He.renderDeferred(this))}_render(){this._suppressInvalidation=!0,"function"==typeof this.onBeforeRendering&&this.onBeforeRendering(),this.dispatchEvent(new CustomEvent("_componentStateFinalized")),delete this._suppressInvalidation,delete this._invalidated,this._updateShadowRoot(),this._assignIndividualSlotsToChildren(),"function"==typeof this.onAfterRendering&&this.onAfterRendering()}_updateShadowRoot(){let t;const e=this.constructor.template(this);document.adoptedStyleSheets||window.ShadyDOM||(t=we(this.constructor)),this.constructor.render(e,this.shadowRoot,t,{eventContext:this})}_assignIndividualSlotsToChildren(){Array.from(this.children).forEach(t=>{t._individualSlot&&t.setAttribute("slot",t._individualSlot)})}_waitForDomRef(){return this._domRefReadyPromise}getDomRef(){if(this.shadowRoot&&0!==this.shadowRoot.children.length)return 1===this.shadowRoot.children.length?this.shadowRoot.children[0]:this.shadowRoot.children[1]}getFocusDomRef(){const t=this.getDomRef();if(t){return t.querySelector("[data-sap-focus-ref]")||t}}async focus(){await this._waitForDomRef();const t=this.getFocusDomRef();t&&"function"==typeof t.focus&&t.focus()}fireEvent(t,e,n){let r=!0;const i=new CustomEvent(`ui5-${t}`,{detail:e,composed:!1,bubbles:!0,cancelable:n});if(r=this.dispatchEvent(i),Ee(t))return r;const a=new CustomEvent(t,{detail:e,composed:!1,bubbles:!0,cancelable:n});return this.dispatchEvent(a)&&r}getSlottedNodes(t){return this[t].reduce((t,e)=>"slot"!==e.localName?t.concat([e]):t.concat(e.assignedNodes({flatten:!0}).filter(t=>t instanceof HTMLElement)),[])}get isUI5Element(){return!0}static get observedAttributes(){return this.getMetadata().getAttributesList()}static _nextID(){const t=Fe(this.getMetadata().getTag()),e=nn.get(t),n=void 0!==e?e+1:1;return nn.set(t,n),`__${t}${n}`}static _getSlotName(t){if(!(t instanceof HTMLElement))return"default";const e=t.getAttribute("slot");if(e){const t=e.match(/^(.+?)-\d+$/);return t?t[1]:e}return"default"}static _needsShadowDOM(){return!!this.template}static _getDefaultState(){if(this._defaultState)return this._defaultState;const t=this.getMetadata(),e={},n=t.getProperties();for(const t in n){const r=n[t].type,i=n[t].defaultValue;r===Boolean?(e[t]=!1,void 0!==i&&console.warn("The 'defaultValue' metadata key is ignored for all booleans properties, they would be initialized with 'false' by default")):n[t].multiple?e[t]=[]:e[t]=r===Object?"defaultValue"in n[t]?n[t].defaultValue:{}:r===String?"defaultValue"in n[t]?n[t].defaultValue:"":i}const r=t.getSlots();for(const[t,n]of Object.entries(r)){e[n.propertyName||t]=[]}return this._defaultState=e,e}static _generateAccessors(){const t=this.prototype,e=this.getMetadata().getProperties();for(const[n,r]of Object.entries(e)){if(!Ke(n))throw new Error(`"${n}" is not a valid property name. Use a name that does not collide with DOM APIs`);if("boolean"===r.type&&r.defaultValue)throw new Error(`Cannot set a default value for property "${n}". All booleans are false by default.`);Object.defineProperty(t,n,{get(){if(void 0!==this._state[n])return this._state[n];const t=r.defaultValue;return r.type!==Boolean&&(r.type===String?t:r.multiple?[]:t)},set(t){t=this.constructor.getMetadata().constructor.validatePropertyValue(t,r),this._state[n]!==t&&(this._state[n]=t,this._invalidate(n,t),this._propertyChange(n,t))}})}const n=this.getMetadata().getSlots();for(const[e,r]of Object.entries(n)){if(!Ke(e))throw new Error(`"${e}" is not a valid property name. Use a name that does not collide with DOM APIs`);const n=r.propertyName||e;Object.defineProperty(t,n,{get(){return void 0!==this._state[n]?this._state[n]:[]},set(){throw new Error("Cannot set slots directly, use the DOM APIs")}})}}static get metadata(){return tn}static get styles(){return""}static async define(){await Se();const t=this.getMetadata().getTag(),e=en.has(t),n=customElements.get(t);return n&&!e?console.warn(`Skipping definition of tag ${t}, because it was already defined by another instance of ui5-webcomponents.`):n||(this._generateAccessors(),en.add(t),window.customElements.define(t,this)),this}static getMetadata(){if(this.hasOwnProperty("_metadata"))return this._metadata;const t=[this.metadata];let e=this;for(;e!==rn;)e=Object.getPrototypeOf(e),t.unshift(e.metadata);const n=ce({},...t);return this._metadata=new Ie(n),this._metadata}}
10
- /**
11
- * @license
12
- * Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
13
- * This code may only be used under the BSD style license found at
14
- * http://polymer.github.io/LICENSE.txt
15
- * The complete set of authors may be found at
16
- * http://polymer.github.io/AUTHORS.txt
17
- * The complete set of contributors may be found at
18
- * http://polymer.github.io/CONTRIBUTORS.txt
19
- * Code distributed by Google as part of the polymer project is also
20
- * subject to an additional IP rights grant found at
21
- * http://polymer.github.io/PATENTS.txt
22
- */const an=new WeakMap,on=t=>"function"==typeof t&&an.has(t),sn=void 0!==window.customElements&&void 0!==window.customElements.polyfillWrapFlushCallback,un=(t,e,n=null)=>{for(;e!==n;){const n=e.nextSibling;t.removeChild(e),e=n}},ln={},cn={},hn=`{{lit-${String(Math.random()).slice(2)}}}`,dn=`\x3c!--${hn}--\x3e`,pn=new RegExp(`${hn}|${dn}`),gn="$lit$";class fn{constructor(t,e){this.parts=[],this.element=e;const n=[],r=[],i=document.createTreeWalker(e.content,133,null,!1);let a=0,o=-1,s=0;const{strings:u,values:{length:l}}=t;for(;s<l;){const t=i.nextNode();if(null!==t){if(o++,1===t.nodeType){if(t.hasAttributes()){const e=t.attributes,{length:n}=e;let r=0;for(let t=0;t<n;t++)mn(e[t].name,gn)&&r++;for(;r-- >0;){const e=u[s],n=_n.exec(e)[2],r=n.toLowerCase()+gn,i=t.getAttribute(r);t.removeAttribute(r);const a=i.split(pn);this.parts.push({type:"attribute",index:o,name:n,strings:a}),s+=a.length-1}}"TEMPLATE"===t.tagName&&(r.push(t),i.currentNode=t.content)}else if(3===t.nodeType){const e=t.data;if(e.indexOf(hn)>=0){const r=t.parentNode,i=e.split(pn),a=i.length-1;for(let e=0;e<a;e++){let n,a=i[e];if(""===a)n=vn();else{const t=_n.exec(a);null!==t&&mn(t[2],gn)&&(a=a.slice(0,t.index)+t[1]+t[2].slice(0,-gn.length)+t[3]),n=document.createTextNode(a)}r.insertBefore(n,t),this.parts.push({type:"node",index:++o})}""===i[a]?(r.insertBefore(vn(),t),n.push(t)):t.data=i[a],s+=a}}else if(8===t.nodeType)if(t.data===hn){const e=t.parentNode;null!==t.previousSibling&&o!==a||(o++,e.insertBefore(vn(),t)),a=o,this.parts.push({type:"node",index:o}),null===t.nextSibling?t.data="":(n.push(t),o--),s++}else{let e=-1;for(;-1!==(e=t.data.indexOf(hn,e+1));)this.parts.push({type:"node",index:-1}),s++}}else i.currentNode=r.pop()}for(const t of n)t.parentNode.removeChild(t)}}const mn=(t,e)=>{const n=t.length-e.length;return n>=0&&t.slice(n)===e},yn=t=>-1!==t.index,vn=()=>document.createComment(""),_n=/([ \x09\x0a\x0c\x0d])([^\0-\x1F\x7F-\x9F "'>=/]+)([ \x09\x0a\x0c\x0d]*=[ \x09\x0a\x0c\x0d]*(?:[^ \x09\x0a\x0c\x0d"'`<>=]*|"[^"]*|'[^']*))$/;
23
- /**
24
- * @license
25
- * Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
26
- * This code may only be used under the BSD style license found at
27
- * http://polymer.github.io/LICENSE.txt
28
- * The complete set of authors may be found at
29
- * http://polymer.github.io/AUTHORS.txt
30
- * The complete set of contributors may be found at
31
- * http://polymer.github.io/CONTRIBUTORS.txt
32
- * Code distributed by Google as part of the polymer project is also
33
- * subject to an additional IP rights grant found at
34
- * http://polymer.github.io/PATENTS.txt
35
- */
36
- class wn{constructor(t,e,n){this.__parts=[],this.template=t,this.processor=e,this.options=n}update(t){let e=0;for(const n of this.__parts)void 0!==n&&n.setValue(t[e]),e++;for(const t of this.__parts)void 0!==t&&t.commit()}_clone(){const t=sn?this.template.element.content.cloneNode(!0):document.importNode(this.template.element.content,!0),e=[],n=this.template.parts,r=document.createTreeWalker(t,133,null,!1);let i,a=0,o=0,s=r.nextNode();for(;a<n.length;)if(i=n[a],yn(i)){for(;o<i.index;)o++,"TEMPLATE"===s.nodeName&&(e.push(s),r.currentNode=s.content),null===(s=r.nextNode())&&(r.currentNode=e.pop(),s=r.nextNode());if("node"===i.type){const t=this.processor.handleTextExpression(this.options);t.insertAfterNode(s.previousSibling),this.__parts.push(t)}else this.__parts.push(...this.processor.handleAttributeExpressions(s,i.name,i.strings,this.options));a++}else this.__parts.push(void 0),a++;return sn&&(document.adoptNode(t),customElements.upgrade(t)),t}}
37
- /**
38
- * @license
39
- * Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
40
- * This code may only be used under the BSD style license found at
41
- * http://polymer.github.io/LICENSE.txt
42
- * The complete set of authors may be found at
43
- * http://polymer.github.io/AUTHORS.txt
44
- * The complete set of contributors may be found at
45
- * http://polymer.github.io/CONTRIBUTORS.txt
46
- * Code distributed by Google as part of the polymer project is also
47
- * subject to an additional IP rights grant found at
48
- * http://polymer.github.io/PATENTS.txt
49
- */const bn=` ${hn} `;class Cn{constructor(t,e,n,r){this.strings=t,this.values=e,this.type=n,this.processor=r}getHTML(){const t=this.strings.length-1;let e="",n=!1;for(let r=0;r<t;r++){const t=this.strings[r],i=t.lastIndexOf("\x3c!--");n=(i>-1||n)&&-1===t.indexOf("--\x3e",i+1);const a=_n.exec(t);e+=null===a?t+(n?bn:dn):t.substr(0,a.index)+a[1]+a[2]+gn+a[3]+hn}return e+=this.strings[t],e}getTemplateElement(){const t=document.createElement("template");return t.innerHTML=this.getHTML(),t}}
50
- /**
51
- * @license
52
- * Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
53
- * This code may only be used under the BSD style license found at
54
- * http://polymer.github.io/LICENSE.txt
55
- * The complete set of authors may be found at
56
- * http://polymer.github.io/AUTHORS.txt
57
- * The complete set of contributors may be found at
58
- * http://polymer.github.io/CONTRIBUTORS.txt
59
- * Code distributed by Google as part of the polymer project is also
60
- * subject to an additional IP rights grant found at
61
- * http://polymer.github.io/PATENTS.txt
62
- */const Tn=t=>null===t||!("object"==typeof t||"function"==typeof t),Dn=t=>Array.isArray(t)||!(!t||!t[Symbol.iterator]);class Sn{constructor(t,e,n){this.dirty=!0,this.element=t,this.name=e,this.strings=n,this.parts=[];for(let t=0;t<n.length-1;t++)this.parts[t]=this._createPart()}_createPart(){return new Pn(this)}_getValue(){const t=this.strings,e=t.length-1;let n="";for(let r=0;r<e;r++){n+=t[r];const e=this.parts[r];if(void 0!==e){const t=e.value;if(Tn(t)||!Dn(t))n+="string"==typeof t?t:String(t);else for(const e of t)n+="string"==typeof e?e:String(e)}}return n+=t[e],n}commit(){this.dirty&&(this.dirty=!1,this.element.setAttribute(this.name,this._getValue()))}}class Pn{constructor(t){this.value=void 0,this.committer=t}setValue(t){t===ln||Tn(t)&&t===this.value||(this.value=t,on(t)||(this.committer.dirty=!0))}commit(){for(;on(this.value);){const t=this.value;this.value=ln,t(this)}this.value!==ln&&this.committer.commit()}}class Mn{constructor(t){this.value=void 0,this.__pendingValue=void 0,this.options=t}appendInto(t){this.startNode=t.appendChild(vn()),this.endNode=t.appendChild(vn())}insertAfterNode(t){this.startNode=t,this.endNode=t.nextSibling}appendIntoPart(t){t.__insert(this.startNode=vn()),t.__insert(this.endNode=vn())}insertAfterPart(t){t.__insert(this.startNode=vn()),this.endNode=t.endNode,t.endNode=this.startNode}setValue(t){this.__pendingValue=t}commit(){for(;on(this.__pendingValue);){const t=this.__pendingValue;this.__pendingValue=ln,t(this)}const t=this.__pendingValue;t!==ln&&(Tn(t)?t!==this.value&&this.__commitText(t):t instanceof Cn?this.__commitTemplateResult(t):t instanceof Node?this.__commitNode(t):Dn(t)?this.__commitIterable(t):t===cn?(this.value=cn,this.clear()):this.__commitText(t))}__insert(t){this.endNode.parentNode.insertBefore(t,this.endNode)}__commitNode(t){this.value!==t&&(this.clear(),this.__insert(t),this.value=t)}__commitText(t){const e=this.startNode.nextSibling,n="string"==typeof(t=null==t?"":t)?t:String(t);e===this.endNode.previousSibling&&3===e.nodeType?e.data=n:this.__commitNode(document.createTextNode(n)),this.value=t}__commitTemplateResult(t){const e=this.options.templateFactory(t);if(this.value instanceof wn&&this.value.template===e)this.value.update(t.values);else{const n=new wn(e,t.processor,this.options),r=n._clone();n.update(t.values),this.__commitNode(r),this.value=n}}__commitIterable(t){Array.isArray(this.value)||(this.value=[],this.clear());const e=this.value;let n,r=0;for(const i of t)n=e[r],void 0===n&&(n=new Mn(this.options),e.push(n),0===r?n.appendIntoPart(this):n.insertAfterPart(e[r-1])),n.setValue(i),n.commit(),r++;r<e.length&&(e.length=r,this.clear(n&&n.endNode))}clear(t=this.startNode){un(this.startNode.parentNode,t.nextSibling,this.endNode)}}class En{constructor(t,e,n){if(this.value=void 0,this.__pendingValue=void 0,2!==n.length||""!==n[0]||""!==n[1])throw new Error("Boolean attributes can only contain a single expression");this.element=t,this.name=e,this.strings=n}setValue(t){this.__pendingValue=t}commit(){for(;on(this.__pendingValue);){const t=this.__pendingValue;this.__pendingValue=ln,t(this)}if(this.__pendingValue===ln)return;const t=!!this.__pendingValue;this.value!==t&&(t?this.element.setAttribute(this.name,""):this.element.removeAttribute(this.name),this.value=t),this.__pendingValue=ln}}class Un extends Sn{constructor(t,e,n){super(t,e,n),this.single=2===n.length&&""===n[0]&&""===n[1]}_createPart(){return new xn(this)}_getValue(){return this.single?this.parts[0].value:super._getValue()}commit(){this.dirty&&(this.dirty=!1,this.element[this.name]=this._getValue())}}class xn extends Pn{}let On=!1;try{const t={get capture(){return On=!0,!1}};window.addEventListener("test",t,t),window.removeEventListener("test",t,t)}catch(t){}class An{constructor(t,e,n){this.value=void 0,this.__pendingValue=void 0,this.element=t,this.eventName=e,this.eventContext=n,this.__boundHandleEvent=t=>this.handleEvent(t)}setValue(t){this.__pendingValue=t}commit(){for(;on(this.__pendingValue);){const t=this.__pendingValue;this.__pendingValue=ln,t(this)}if(this.__pendingValue===ln)return;const t=this.__pendingValue,e=this.value,n=null==t||null!=e&&(t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive),r=null!=t&&(null==e||n);n&&this.element.removeEventListener(this.eventName,this.__boundHandleEvent,this.__options),r&&(this.__options=Fn(t),this.element.addEventListener(this.eventName,this.__boundHandleEvent,this.__options)),this.value=t,this.__pendingValue=ln}handleEvent(t){"function"==typeof this.value?this.value.call(this.eventContext||this.element,t):this.value.handleEvent(t)}}const Fn=t=>t&&(On?{capture:t.capture,passive:t.passive,once:t.once}:t.capture);
63
- /**
64
- * @license
65
- * Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
66
- * This code may only be used under the BSD style license found at
67
- * http://polymer.github.io/LICENSE.txt
68
- * The complete set of authors may be found at
69
- * http://polymer.github.io/AUTHORS.txt
70
- * The complete set of contributors may be found at
71
- * http://polymer.github.io/CONTRIBUTORS.txt
72
- * Code distributed by Google as part of the polymer project is also
73
- * subject to an additional IP rights grant found at
74
- * http://polymer.github.io/PATENTS.txt
75
- */const Ln=new class{handleAttributeExpressions(t,e,n,r){const i=e[0];if("."===i){return new Un(t,e.slice(1),n).parts}return"@"===i?[new An(t,e.slice(1),r.eventContext)]:"?"===i?[new En(t,e.slice(1),n)]:new Sn(t,e,n).parts}handleTextExpression(t){return new Mn(t)}};
76
- /**
77
- * @license
78
- * Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
79
- * This code may only be used under the BSD style license found at
80
- * http://polymer.github.io/LICENSE.txt
81
- * The complete set of authors may be found at
82
- * http://polymer.github.io/AUTHORS.txt
83
- * The complete set of contributors may be found at
84
- * http://polymer.github.io/CONTRIBUTORS.txt
85
- * Code distributed by Google as part of the polymer project is also
86
- * subject to an additional IP rights grant found at
87
- * http://polymer.github.io/PATENTS.txt
88
- */function kn(t){let e=In.get(t.type);void 0===e&&(e={stringsArray:new WeakMap,keyString:new Map},In.set(t.type,e));let n=e.stringsArray.get(t.strings);if(void 0!==n)return n;const r=t.strings.join(hn);return n=e.keyString.get(r),void 0===n&&(n=new fn(t,t.getTemplateElement()),e.keyString.set(r,n)),e.stringsArray.set(t.strings,n),n}const In=new Map,Nn=new WeakMap;
89
- /**
90
- * @license
91
- * Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
92
- * This code may only be used under the BSD style license found at
93
- * http://polymer.github.io/LICENSE.txt
94
- * The complete set of authors may be found at
95
- * http://polymer.github.io/AUTHORS.txt
96
- * The complete set of contributors may be found at
97
- * http://polymer.github.io/CONTRIBUTORS.txt
98
- * Code distributed by Google as part of the polymer project is also
99
- * subject to an additional IP rights grant found at
100
- * http://polymer.github.io/PATENTS.txt
101
- */
102
- /**
103
- * @license
104
- * Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
105
- * This code may only be used under the BSD style license found at
106
- * http://polymer.github.io/LICENSE.txt
107
- * The complete set of authors may be found at
108
- * http://polymer.github.io/AUTHORS.txt
109
- * The complete set of contributors may be found at
110
- * http://polymer.github.io/CONTRIBUTORS.txt
111
- * Code distributed by Google as part of the polymer project is also
112
- * subject to an additional IP rights grant found at
113
- * http://polymer.github.io/PATENTS.txt
114
- */
115
- (window.litHtmlVersions||(window.litHtmlVersions=[])).push("1.1.2");const Rn=(t,...e)=>new Cn(t,e,"html",Ln),jn=(t,e,n,{eventContext:r}={})=>{n&&(t=Rn`<style>${n}</style>${t}`),((t,e,n)=>{let r=Nn.get(e);void 0===r&&(un(e,e.firstChild),Nn.set(e,r=new Mn(Object.assign({templateFactory:kn},n))),r.appendInto(e)),r.setValue(t),r.commit()})(t,e,{eventContext:r})},Wn={tag:"ui5-test-generic",properties:{strProp:{type:String},boolProp:{type:Boolean},objectProp:{type:Object},noAttributeProp:{type:String,noAttribute:!0},multiProp:{type:String,multiple:!0},defaultValueProp:{type:String,defaultValue:"Hello"}},slots:{default:{type:Node},other:{type:HTMLElement},individual:{type:HTMLElement,individualSlots:!0},named:{type:HTMLElement,propertyName:"items"}}};class Vn extends rn{static get metadata(){return Wn}static get render(){return jn}static get template(){return t=>Rn`<div><p>
116
- <slot></slot>
117
- <slot name="other"></slot>
118
- <slot name="individual-1"></slot>
119
- <slot name="individual-2"></slot>
120
- </p></div>`}static get styles(){return":host {\n display: inline-block;\n border: 1px solid black;\n color: var(--var1);\n }"}onBeforeRendering(){}onAfterRendering(){}onEnterDOM(){}onExitDOM(){}}Vn.define();const $n={tag:"ui5-test-no-shadow"};(class extends rn{static get metadata(){return $n}}).define();const Yn={tag:"ui5-test-parent",slots:{default:{type:Node,listenFor:["prop1"]},items:{type:HTMLElement,listenFor:{include:["*"],exclude:["prop3"]}}}};(class extends rn{static get metadata(){return Yn}static get render(){return jn}static get template(){return t=>Rn`<div>
121
- <slot></slot>
122
- </div>`}}).define();const Bn={tag:"ui5-test-child",properties:{prop1:{type:String},prop2:{type:String},prop3:{type:String}}};(class extends rn{static get metadata(){return Bn}static get render(){return jn}static get template(){return t=>Rn`<div></div>`}}).define();const zn={tag:"ui5-test-generic-ext",properties:{extProp:{type:String},strProp:{defaultValue:"Ext"}},slots:{extSlot:{type:HTMLElement}}};(class extends Vn{static get metadata(){return zn}}).define();N("@ui5/webcomponents-base-test","sap_fiori_3",":root{ --var1: red; }"),N("@ui5/webcomponents-base-test","sap_fiori_3_dark",":root{ --var1: green; }"),N("@ui5/webcomponents-base-test","sap_belize",":root{ --var1: blue; }"),N("@ui5/webcomponents-base-test","sap_belize_hcb",":root{ --var1: orange; }");const Hn={},Jn={INTERNET_EXPLORER:"ie",EDGE:"ed",FIREFOX:"ff",CHROME:"cr",SAFARI:"sf",ANDROID:"an"},Zn=()=>{const t=(()=>{const t=navigator.userAgent.toLowerCase(),e=/(edge)[ /]([\w.]+)/.exec(t)||/(trident)\/[\w.]+;.*rv:([\w.]+)/.exec(t)||/(webkit)[ /]([\w.]+)/.exec(t)||/(msie) ([\w.]+)/.exec(t)||t.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+))?/.exec(t)||[],n={browser:e[1]||"",version:e[2]||"0"};return n[n.browser]=!0,n})(),e=navigator.userAgent,n=window.navigator;let r,i,a;if(t.mozilla)r=/Mobile/,e.match(/Firefox\/(\d+\.\d+)/)?(a=parseFloat(RegExp.$1),i={name:Jn.FIREFOX,versionStr:`${a}`,version:a,mozilla:!0,mobile:r.test(e)}):i={mobile:r.test(e),mozilla:!0,version:-1};else if(t.webkit){const t=e.toLowerCase().match(/webkit[/]([\d.]+)/);let o;t&&(o=t[1]),r=/Mobile/;const s=e.match(/(Chrome|CriOS)\/(\d+\.\d+).\d+/),u=e.match(/FxiOS\/(\d+\.\d+)/),l=e.match(/Android .+ Version\/(\d+\.\d+)/);if(s||u||l){let t,n,a;s?(t=Jn.CHROME,a=r.test(e),n=parseFloat(s[2])):u?(t=Jn.FIREFOX,a=!0,n=parseFloat(u[1])):l&&(t=Jn.ANDROID,a=r.test(e),n=parseFloat(l[1])),i={name:t,mobile:a,versionStr:`${n}`,version:n,webkit:!0,webkitVersion:o}}else{const t=/(Version|PhantomJS)\/(\d+\.\d+).*Safari/,s=n.standalone;if(t.test(e)){const n=t.exec(e);a=parseFloat(n[2]),i={name:Jn.SAFARI,versionStr:`${a}`,fullscreen:!1,webview:!1,version:a,mobile:r.test(e),webkit:!0,webkitVersion:o,phantomJS:"PhantomJS"===n[1]}}else i=!/iPhone|iPad|iPod/.test(e)||/CriOS/.test(e)||/FxiOS/.test(e)||!0!==s&&!1!==s?{mobile:r.test(e),webkit:!0,webkitVersion:o,version:-1}:{name:Jn.SAFARI,version:-1,fullscreen:s,webview:!s,mobile:r.test(e),webkit:!0,webkitVersion:o}}}else t.msie||t.trident?(a=parseFloat(t.version),i={name:Jn.INTERNET_EXPLORER,versionStr:`${a}`,version:a,msie:!0,mobile:!1}):t.edge?(a=parseFloat(t.version),i={name:Jn.EDGE,versionStr:`${a}`,version:a,edge:!0}):i={name:"",versionStr:"",version:-1,mobile:!1};return i},qn=(()=>(m(),p.animationMode))(),Gn={iw:"he",ji:"yi",in:"id",sh:"sr"},Qn=u("$cldr-rtl-locales:ar,fa,he$")||[],Xn=new Map,Kn=new Map;window.RenderScheduler=He,window.isIE=()=>(Hn.browser||(Hn.browser=Zn(),Hn.browser.BROWSER=Jn,Hn.browser.name&&Object.keys(Jn).forEach(t=>{Jn[t]===Hn.browser.name&&(Hn.browser[t.toLowerCase()]=!0)})),!!Hn.browser.msie),window.registerThemeProperties=N,window["sap-ui-webcomponents-bundle"]={configuration:{getAnimationMode:()=>qn,getLanguage:v,getTheme:Ce,setTheme:async t=>{be!==t&&(be=t,await ve(be))},getNoConflict:()=>Me,setNoConflict:t=>{Me=t},getCalendarType:D,getRTL:()=>{const t=(()=>(m(),p.rtl))();return null!==t?!!t:(t=>(t=t&&Gn[t]||t,Qn.indexOf(t)>=0))(v()||h())},getFirstDayOfWeek:P},getIconNames:async()=>(Kn.has("SAP-icons")&&await Kn.get("SAP-icons"),Array.from(Xn.keys()).map(t=>t.split(":")[1]))};
123
- //# sourceMappingURL=bundle.esm.js.map