@ui5/webcomponents-base 0.0.0-d0bcf47c7 → 0.0.0-d479b681b

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 (755) hide show
  1. package/.eslintignore +9 -3
  2. package/.npsrc.json +3 -0
  3. package/CHANGELOG.md +754 -0
  4. package/README.md +53 -7
  5. package/bundle.esm.js +34 -26
  6. package/config/wdio.conf.cjs +400 -0
  7. package/dist/AssetRegistry.d.ts +5 -0
  8. package/dist/AssetRegistry.js +6 -9
  9. package/dist/AssetRegistry.js.map +1 -0
  10. package/dist/Boot.d.ts +9 -0
  11. package/dist/Boot.js +71 -0
  12. package/dist/Boot.js.map +1 -0
  13. package/dist/CSP.d.ts +30 -0
  14. package/dist/CSP.js +51 -0
  15. package/dist/CSP.js.map +1 -0
  16. package/dist/CustomElementsRegistry.d.ts +5 -0
  17. package/dist/CustomElementsRegistry.js +78 -0
  18. package/dist/CustomElementsRegistry.js.map +1 -0
  19. package/dist/CustomElementsScope.d.ts +7 -0
  20. package/dist/CustomElementsScope.js +11 -0
  21. package/dist/CustomElementsScope.js.map +1 -0
  22. package/dist/CustomElementsScopeUtils.d.ts +55 -0
  23. package/dist/CustomElementsScopeUtils.js +90 -0
  24. package/dist/CustomElementsScopeUtils.js.map +1 -0
  25. package/dist/DOMObserver.d.ts +11 -0
  26. package/dist/DOMObserver.js +23 -0
  27. package/dist/DOMObserver.js.map +1 -0
  28. package/dist/Device.d.ts +12 -0
  29. package/dist/Device.js +159 -816
  30. package/dist/Device.js.map +1 -0
  31. package/dist/EventProvider.d.ts +25 -0
  32. package/dist/EventProvider.js +67 -70
  33. package/dist/EventProvider.js.map +1 -0
  34. package/dist/FeaturesRegistry.d.ts +3 -0
  35. package/dist/FeaturesRegistry.js +5 -7
  36. package/dist/FeaturesRegistry.js.map +1 -0
  37. package/dist/FontFace.d.ts +2 -0
  38. package/dist/FontFace.js +22 -63
  39. package/dist/FontFace.js.map +1 -0
  40. package/dist/InitialConfiguration.d.ts +27 -0
  41. package/dist/InitialConfiguration.js +132 -102
  42. package/dist/InitialConfiguration.js.map +1 -0
  43. package/dist/Keys.d.ts +57 -0
  44. package/dist/Keys.js +178 -0
  45. package/dist/Keys.js.map +1 -0
  46. package/dist/ManagedStyles.d.ts +8 -0
  47. package/dist/ManagedStyles.js +77 -0
  48. package/dist/ManagedStyles.js.map +1 -0
  49. package/dist/MarkedEvents.d.ts +9 -0
  50. package/dist/MarkedEvents.js +15 -0
  51. package/dist/MarkedEvents.js.map +1 -0
  52. package/dist/MediaRange.d.ts +37 -0
  53. package/dist/MediaRange.js +98 -0
  54. package/dist/MediaRange.js.map +1 -0
  55. package/dist/PropertiesFileFormat.d.ts +8 -0
  56. package/dist/PropertiesFileFormat.js +85 -0
  57. package/dist/PropertiesFileFormat.js.map +1 -0
  58. package/dist/Render.d.ts +47 -0
  59. package/dist/Render.js +143 -0
  60. package/dist/Render.js.map +1 -0
  61. package/dist/RenderQueue.d.ts +19 -0
  62. package/dist/RenderQueue.js +53 -39
  63. package/dist/RenderQueue.js.map +1 -0
  64. package/dist/Runtimes.d.ts +27 -0
  65. package/dist/Runtimes.js +86 -0
  66. package/dist/Runtimes.js.map +1 -0
  67. package/dist/StaticArea.d.ts +3 -0
  68. package/dist/StaticArea.js +7 -0
  69. package/dist/StaticArea.js.map +1 -0
  70. package/dist/StaticAreaItem.d.ts +36 -0
  71. package/dist/StaticAreaItem.js +99 -0
  72. package/dist/StaticAreaItem.js.map +1 -0
  73. package/dist/SystemCSSVars.d.ts +2 -0
  74. package/dist/SystemCSSVars.js +9 -0
  75. package/dist/SystemCSSVars.js.map +1 -0
  76. package/dist/Theming.d.ts +3 -0
  77. package/dist/Theming.js +4 -45
  78. package/dist/Theming.js.map +1 -0
  79. package/dist/UI5Element.d.ts +378 -0
  80. package/dist/UI5Element.js +940 -819
  81. package/dist/UI5Element.js.map +1 -0
  82. package/dist/UI5ElementMetadata.d.ts +150 -0
  83. package/dist/UI5ElementMetadata.js +278 -143
  84. package/dist/UI5ElementMetadata.js.map +1 -0
  85. package/dist/animations/AnimationQueue.d.ts +8 -0
  86. package/dist/animations/AnimationQueue.js +31 -38
  87. package/dist/animations/AnimationQueue.js.map +1 -0
  88. package/dist/animations/animate.d.ts +14 -0
  89. package/dist/animations/animate.js +46 -51
  90. package/dist/animations/animate.js.map +1 -0
  91. package/dist/animations/scroll.d.ts +5 -0
  92. package/dist/animations/scroll.js +18 -27
  93. package/dist/animations/scroll.js.map +1 -0
  94. package/dist/animations/slideDown.d.ts +5 -0
  95. package/dist/animations/slideDown.js +53 -78
  96. package/dist/animations/slideDown.js.map +1 -0
  97. package/dist/animations/slideUp.d.ts +5 -0
  98. package/dist/animations/slideUp.js +49 -70
  99. package/dist/animations/slideUp.js.map +1 -0
  100. package/dist/api.json +1 -0
  101. package/dist/asset-registries/Icons.d.ts +38 -0
  102. package/dist/asset-registries/Icons.js +125 -24
  103. package/dist/asset-registries/Icons.js.map +1 -0
  104. package/dist/asset-registries/Illustrations.d.ts +17 -0
  105. package/dist/asset-registries/Illustrations.js +46 -0
  106. package/dist/asset-registries/Illustrations.js.map +1 -0
  107. package/dist/asset-registries/LocaleData.d.ts +7 -0
  108. package/dist/asset-registries/LocaleData.js +127 -92
  109. package/dist/asset-registries/LocaleData.js.map +1 -0
  110. package/dist/asset-registries/Themes.d.ts +11 -0
  111. package/dist/asset-registries/Themes.js +42 -65
  112. package/dist/asset-registries/Themes.js.map +1 -0
  113. package/dist/asset-registries/i18n.d.ts +23 -0
  114. package/dist/asset-registries/i18n.js +84 -58
  115. package/dist/asset-registries/i18n.js.map +1 -0
  116. package/dist/assets/Boot.34b7cea0.css +1 -0
  117. package/dist/assets/Boot.64191018.js +9 -0
  118. package/dist/assets/bundle.esm.191670aa.js +50 -0
  119. package/dist/assets-meta/IconCollectionsAlias.d.ts +31 -0
  120. package/dist/assets-meta/IconCollectionsAlias.js +38 -0
  121. package/dist/assets-meta/IconCollectionsAlias.js.map +1 -0
  122. package/dist/config/AnimationMode.d.ts +14 -0
  123. package/dist/config/AnimationMode.js +23 -6
  124. package/dist/config/AnimationMode.js.map +1 -0
  125. package/dist/config/CalendarType.d.ts +8 -0
  126. package/dist/config/CalendarType.js +15 -14
  127. package/dist/config/CalendarType.js.map +1 -0
  128. package/dist/config/FormatSettings.d.ts +15 -0
  129. package/dist/config/FormatSettings.js +16 -6
  130. package/dist/config/FormatSettings.js.map +1 -0
  131. package/dist/config/Icons.d.ts +55 -0
  132. package/dist/config/Icons.js +103 -0
  133. package/dist/config/Icons.js.map +1 -0
  134. package/dist/config/Language.d.ts +40 -0
  135. package/dist/config/Language.js +66 -7
  136. package/dist/config/Language.js.map +1 -0
  137. package/dist/config/NoConflict.d.ts +20 -0
  138. package/dist/config/NoConflict.js +41 -34
  139. package/dist/config/NoConflict.js.map +1 -0
  140. package/dist/config/RTL.d.ts +7 -0
  141. package/dist/config/RTL.js +26 -20
  142. package/dist/config/RTL.js.map +1 -0
  143. package/dist/config/Theme.d.ts +38 -0
  144. package/dist/config/Theme.js +65 -19
  145. package/dist/config/Theme.js.map +1 -0
  146. package/dist/config/ThemeRoots.d.ts +4 -0
  147. package/dist/config/ThemeRoots.js +28 -0
  148. package/dist/config/ThemeRoots.js.map +1 -0
  149. package/dist/config/Timezone.d.ts +17 -0
  150. package/dist/config/Timezone.js +30 -0
  151. package/dist/config/Timezone.js.map +1 -0
  152. package/dist/css/BusyIndicator.css +80 -0
  153. package/dist/css/FontFace.css +66 -0
  154. package/dist/css/OverrideFontFace.css +32 -0
  155. package/dist/css/SystemCSSVars.css +17 -0
  156. package/dist/decorators/customElement.d.ts +23 -0
  157. package/dist/decorators/customElement.js +37 -0
  158. package/dist/decorators/customElement.js.map +1 -0
  159. package/dist/decorators/event.d.ts +10 -0
  160. package/dist/decorators/event.js +24 -0
  161. package/dist/decorators/event.js.map +1 -0
  162. package/dist/decorators/property.d.ts +9 -0
  163. package/dist/decorators/property.js +24 -0
  164. package/dist/decorators/property.js.map +1 -0
  165. package/dist/decorators/slot.d.ts +9 -0
  166. package/dist/decorators/slot.js +37 -0
  167. package/dist/decorators/slot.js.map +1 -0
  168. package/dist/delegate/ItemNavigation.d.ts +113 -0
  169. package/dist/delegate/ItemNavigation.js +312 -231
  170. package/dist/delegate/ItemNavigation.js.map +1 -0
  171. package/dist/delegate/ResizeHandler.d.ts +25 -0
  172. package/dist/delegate/ResizeHandler.js +84 -63
  173. package/dist/delegate/ResizeHandler.js.map +1 -0
  174. package/dist/delegate/ScrollEnablement.d.ts +49 -0
  175. package/dist/delegate/ScrollEnablement.js +159 -74
  176. package/dist/delegate/ScrollEnablement.js.map +1 -0
  177. package/dist/features/F6Navigation.d.ts +19 -0
  178. package/dist/features/F6Navigation.js +151 -0
  179. package/dist/features/F6Navigation.js.map +1 -0
  180. package/dist/features/LegacyDateFormats.d.ts +18 -0
  181. package/dist/features/LegacyDateFormats.js +20 -0
  182. package/dist/features/LegacyDateFormats.js.map +1 -0
  183. package/dist/features/OpenUI5Element.d.ts +9 -0
  184. package/dist/features/OpenUI5Element.js +5 -0
  185. package/dist/features/OpenUI5Element.js.map +1 -0
  186. package/dist/features/OpenUI5Enablement.d.ts +11 -0
  187. package/dist/features/OpenUI5Enablement.js +96 -0
  188. package/dist/features/OpenUI5Enablement.js.map +1 -0
  189. package/dist/features/OpenUI5Support.d.ts +26 -0
  190. package/dist/features/OpenUI5Support.js +99 -0
  191. package/dist/features/OpenUI5Support.js.map +1 -0
  192. package/dist/generated/AssetParameters.js +15 -0
  193. package/dist/generated/VersionInfo.js +10 -0
  194. package/dist/generated/css/BusyIndicator.css.d.ts +3 -0
  195. package/dist/generated/css/BusyIndicator.css.js +7 -0
  196. package/dist/generated/css/BusyIndicator.css.js.map +1 -0
  197. package/dist/generated/css/FontFace.css.d.ts +3 -0
  198. package/dist/generated/css/FontFace.css.js +7 -0
  199. package/dist/generated/css/FontFace.css.js.map +1 -0
  200. package/dist/generated/css/OverrideFontFace.css.d.ts +3 -0
  201. package/dist/generated/css/OverrideFontFace.css.js +7 -0
  202. package/dist/generated/css/OverrideFontFace.css.js.map +1 -0
  203. package/dist/generated/css/SystemCSSVars.css.d.ts +3 -0
  204. package/dist/generated/css/SystemCSSVars.css.js +7 -0
  205. package/dist/generated/css/SystemCSSVars.css.js.map +1 -0
  206. package/dist/generated/templates/elements/WithComplexTemplateTemplate.lit.js +11 -0
  207. package/dist/getSharedResource.d.ts +11 -0
  208. package/dist/getSharedResource.js +34 -0
  209. package/dist/getSharedResource.js.map +1 -0
  210. package/dist/global.d.ts +40 -0
  211. package/dist/i18nBundle.d.ts +43 -0
  212. package/dist/i18nBundle.js +73 -30
  213. package/dist/i18nBundle.js.map +1 -0
  214. package/dist/locale/Locale.d.ts +22 -0
  215. package/dist/locale/Locale.js +79 -0
  216. package/dist/locale/Locale.js.map +1 -0
  217. package/dist/locale/RTLAwareRegistry.d.ts +4 -0
  218. package/dist/locale/RTLAwareRegistry.js +9 -0
  219. package/dist/locale/RTLAwareRegistry.js.map +1 -0
  220. package/dist/locale/applyDirection.d.ts +10 -0
  221. package/dist/locale/applyDirection.js +17 -0
  222. package/dist/locale/applyDirection.js.map +1 -0
  223. package/dist/locale/directionChange.d.ts +15 -0
  224. package/dist/locale/directionChange.js +24 -0
  225. package/dist/locale/directionChange.js.map +1 -0
  226. package/dist/locale/getEffectiveDir.d.ts +2 -0
  227. package/dist/locale/getEffectiveDir.js +24 -0
  228. package/dist/locale/getEffectiveDir.js.map +1 -0
  229. package/dist/locale/getLocale.d.ts +7 -0
  230. package/dist/locale/getLocale.js +38 -0
  231. package/dist/locale/getLocale.js.map +1 -0
  232. package/dist/locale/languageChange.d.ts +5 -0
  233. package/dist/locale/languageChange.js +14 -0
  234. package/dist/locale/languageChange.js.map +1 -0
  235. package/dist/locale/nextFallbackLocale.d.ts +8 -0
  236. package/dist/locale/nextFallbackLocale.js +24 -0
  237. package/dist/locale/nextFallbackLocale.js.map +1 -0
  238. package/dist/locale/normalizeLocale.d.ts +7 -0
  239. package/dist/locale/normalizeLocale.js +47 -0
  240. package/dist/locale/normalizeLocale.js.map +1 -0
  241. package/dist/renderer/LitRenderer.d.ts +14 -0
  242. package/dist/renderer/LitRenderer.js +38 -12
  243. package/dist/renderer/LitRenderer.js.map +1 -0
  244. package/dist/renderer/directives/style-map.js +72 -0
  245. package/dist/renderer/executeTemplate.d.ts +13 -0
  246. package/dist/renderer/executeTemplate.js +30 -0
  247. package/dist/renderer/executeTemplate.js.map +1 -0
  248. package/dist/sap/base/Log.js +240 -0
  249. package/dist/sap/base/assert.js +7 -0
  250. package/dist/sap/base/security/URLListValidator.js +159 -0
  251. package/dist/sap/base/security/encodeCSS.js +14 -0
  252. package/dist/sap/base/security/encodeXML.js +23 -0
  253. package/dist/sap/base/security/sanitizeHTML.js +16 -0
  254. package/dist/sap/base/strings/toHex.js +8 -0
  255. package/dist/sap/base/util/now.js +7 -0
  256. package/dist/sap/ui/thirdparty/caja-html-sanitizer.js +3585 -0
  257. package/dist/theming/CustomStyle.d.ts +6 -0
  258. package/dist/theming/CustomStyle.js +46 -17
  259. package/dist/theming/CustomStyle.js.map +1 -0
  260. package/dist/theming/ThemeLoaded.d.ts +5 -0
  261. package/dist/theming/ThemeLoaded.js +14 -0
  262. package/dist/theming/ThemeLoaded.js.map +1 -0
  263. package/dist/theming/ThemeRegistered.d.ts +4 -0
  264. package/dist/theming/ThemeRegistered.js +11 -0
  265. package/dist/theming/ThemeRegistered.js.map +1 -0
  266. package/dist/theming/applyTheme.d.ts +2 -0
  267. package/dist/theming/applyTheme.js +75 -0
  268. package/dist/theming/applyTheme.js.map +1 -0
  269. package/dist/theming/getConstructableStyle.d.ts +9 -0
  270. package/dist/theming/getConstructableStyle.js +25 -0
  271. package/dist/theming/getConstructableStyle.js.map +1 -0
  272. package/dist/theming/getEffectiveLinksHrefs.d.ts +3 -0
  273. package/dist/theming/getEffectiveLinksHrefs.js +17 -0
  274. package/dist/theming/getEffectiveLinksHrefs.js.map +1 -0
  275. package/dist/theming/getEffectiveStyle.d.ts +3 -0
  276. package/dist/theming/getEffectiveStyle.js +32 -0
  277. package/dist/theming/getEffectiveStyle.js.map +1 -0
  278. package/dist/theming/getStylesString.d.ts +3 -0
  279. package/dist/theming/getStylesString.js +11 -0
  280. package/dist/theming/getStylesString.js.map +1 -0
  281. package/dist/theming/getThemeDesignerTheme.d.ts +7 -0
  282. package/dist/theming/getThemeDesignerTheme.js +80 -0
  283. package/dist/theming/getThemeDesignerTheme.js.map +1 -0
  284. package/dist/theming/preloadLinks.d.ts +3 -0
  285. package/dist/theming/preloadLinks.js +19 -0
  286. package/dist/theming/preloadLinks.js.map +1 -0
  287. package/dist/thirdparty/_merge.d.ts +2 -0
  288. package/dist/thirdparty/_merge.js +35 -0
  289. package/dist/thirdparty/_merge.js.map +1 -0
  290. package/dist/thirdparty/isPlainObject.d.ts +2 -0
  291. package/dist/thirdparty/isPlainObject.js +19 -0
  292. package/dist/thirdparty/isPlainObject.js.map +1 -0
  293. package/dist/thirdparty/merge.d.ts +2 -0
  294. package/dist/thirdparty/merge.js +6 -0
  295. package/dist/thirdparty/merge.js.map +1 -0
  296. package/dist/types/AnimationMode.d.ts +32 -0
  297. package/dist/types/AnimationMode.js +33 -6
  298. package/dist/types/AnimationMode.js.map +1 -0
  299. package/dist/types/CSSColor.d.ts +15 -0
  300. package/dist/types/CSSColor.js +18 -0
  301. package/dist/types/CSSColor.js.map +1 -0
  302. package/dist/types/CalendarType.d.ts +37 -0
  303. package/dist/types/CalendarType.js +39 -0
  304. package/dist/types/CalendarType.js.map +1 -0
  305. package/dist/types/DOMReference.d.ts +17 -0
  306. package/dist/types/DOMReference.js +25 -0
  307. package/dist/types/DOMReference.js.map +1 -0
  308. package/dist/types/DataType.d.ts +25 -0
  309. package/dist/types/DataType.js +33 -14
  310. package/dist/types/DataType.js.map +1 -0
  311. package/dist/types/Float.d.ts +17 -0
  312. package/dist/types/Float.js +21 -0
  313. package/dist/types/Float.js.map +1 -0
  314. package/dist/types/Integer.d.ts +17 -0
  315. package/dist/types/Integer.js +17 -5
  316. package/dist/types/Integer.js.map +1 -0
  317. package/dist/types/InvisibleMessageMode.d.ts +25 -0
  318. package/dist/types/InvisibleMessageMode.js +27 -0
  319. package/dist/types/InvisibleMessageMode.js.map +1 -0
  320. package/dist/types/ItemNavigationBehavior.d.ts +24 -0
  321. package/dist/types/ItemNavigationBehavior.js +22 -17
  322. package/dist/types/ItemNavigationBehavior.js.map +1 -0
  323. package/dist/types/NavigationMode.d.ts +32 -0
  324. package/dist/types/NavigationMode.js +33 -5
  325. package/dist/types/NavigationMode.js.map +1 -0
  326. package/dist/types/ValueState.d.ts +42 -0
  327. package/dist/types/ValueState.js +41 -18
  328. package/dist/types/ValueState.js.map +1 -0
  329. package/dist/types.d.ts +18 -0
  330. package/dist/types.js +2 -0
  331. package/dist/types.js.map +1 -0
  332. package/dist/updateShadowRoot.d.ts +8 -0
  333. package/dist/updateShadowRoot.js +38 -0
  334. package/dist/updateShadowRoot.js.map +1 -0
  335. package/dist/util/AriaLabelHelper.d.ts +15 -0
  336. package/dist/util/AriaLabelHelper.js +171 -0
  337. package/dist/util/AriaLabelHelper.js.map +1 -0
  338. package/dist/util/Caret.d.ts +7 -0
  339. package/dist/util/Caret.js +23 -0
  340. package/dist/util/Caret.js.map +1 -0
  341. package/dist/util/ColorConversion.d.ts +30 -0
  342. package/dist/util/ColorConversion.js +337 -0
  343. package/dist/util/ColorConversion.js.map +1 -0
  344. package/dist/util/FetchHelper.d.ts +3 -0
  345. package/dist/util/FetchHelper.js +19 -25
  346. package/dist/util/FetchHelper.js.map +1 -0
  347. package/dist/util/FocusableElements.d.ts +4 -0
  348. package/dist/util/FocusableElements.js +68 -56
  349. package/dist/util/FocusableElements.js.map +1 -0
  350. package/dist/util/HTMLSanitizer.d.ts +3 -0
  351. package/dist/util/HTMLSanitizer.js +6 -0
  352. package/dist/util/HTMLSanitizer.js.map +1 -0
  353. package/dist/util/InvisibleMessage.d.ts +10 -0
  354. package/dist/util/InvisibleMessage.js +56 -0
  355. package/dist/util/InvisibleMessage.js.map +1 -0
  356. package/dist/util/PopupUtils.d.ts +7 -0
  357. package/dist/util/PopupUtils.js +74 -0
  358. package/dist/util/PopupUtils.js.map +1 -0
  359. package/dist/util/SlotsHelper.d.ts +9 -0
  360. package/dist/util/SlotsHelper.js +30 -0
  361. package/dist/util/SlotsHelper.js.map +1 -0
  362. package/dist/util/StringHelper.d.ts +3 -0
  363. package/dist/util/StringHelper.js +21 -9
  364. package/dist/util/StringHelper.js.map +1 -0
  365. package/dist/util/TabbableElements.d.ts +17 -0
  366. package/dist/util/TabbableElements.js +53 -40
  367. package/dist/util/TabbableElements.js.map +1 -0
  368. package/dist/util/arraysAreEqual.d.ts +2 -0
  369. package/dist/util/arraysAreEqual.js +13 -0
  370. package/dist/util/arraysAreEqual.js.map +1 -0
  371. package/dist/util/clamp.d.ts +9 -0
  372. package/dist/util/clamp.js +12 -0
  373. package/dist/util/clamp.js.map +1 -0
  374. package/dist/util/createLinkInHead.d.ts +7 -0
  375. package/dist/util/createLinkInHead.js +21 -0
  376. package/dist/util/createLinkInHead.js.map +1 -0
  377. package/dist/util/createStyleInHead.d.ts +8 -0
  378. package/dist/util/createStyleInHead.js +10 -10
  379. package/dist/util/createStyleInHead.js.map +1 -0
  380. package/dist/util/debounce.d.ts +2 -0
  381. package/dist/util/debounce.js +15 -0
  382. package/dist/util/debounce.js.map +1 -0
  383. package/dist/util/detectNavigatorLanguage.d.ts +2 -0
  384. package/dist/util/detectNavigatorLanguage.js +8 -9
  385. package/dist/util/detectNavigatorLanguage.js.map +1 -0
  386. package/dist/util/escapeRegex.d.ts +8 -0
  387. package/dist/util/escapeRegex.js +11 -0
  388. package/dist/util/escapeRegex.js.map +1 -0
  389. package/dist/util/formatMessage.d.ts +2 -0
  390. package/dist/util/formatMessage.js +15 -19
  391. package/dist/util/formatMessage.js.map +1 -0
  392. package/dist/util/generateHighlightedMarkup.d.ts +9 -0
  393. package/dist/util/generateHighlightedMarkup.js +41 -0
  394. package/dist/util/generateHighlightedMarkup.js.map +1 -0
  395. package/dist/util/getActiveElement.d.ts +2 -0
  396. package/dist/util/getActiveElement.js +9 -0
  397. package/dist/util/getActiveElement.js.map +1 -0
  398. package/dist/util/getClassCopy.d.ts +398 -0
  399. package/dist/util/getClassCopy.js +10 -0
  400. package/dist/util/getClassCopy.js.map +1 -0
  401. package/dist/util/getDesigntimePropertyAsArray.d.ts +2 -0
  402. package/dist/util/getDesigntimePropertyAsArray.js +4 -3
  403. package/dist/util/getDesigntimePropertyAsArray.js.map +1 -0
  404. package/dist/util/getEffectiveContentDensity.d.ts +2 -0
  405. package/dist/util/getEffectiveContentDensity.js +4 -0
  406. package/dist/util/getEffectiveContentDensity.js.map +1 -0
  407. package/dist/util/getEffectiveScrollbarStyle.d.ts +2 -0
  408. package/dist/util/getEffectiveScrollbarStyle.js +4 -0
  409. package/dist/util/getEffectiveScrollbarStyle.js.map +1 -0
  410. package/dist/util/getFastNavigationGroups.d.ts +2 -0
  411. package/dist/util/getFastNavigationGroups.js +51 -0
  412. package/dist/util/getFastNavigationGroups.js.map +1 -0
  413. package/dist/util/getFileExtension.d.ts +12 -0
  414. package/dist/util/getFileExtension.js +19 -0
  415. package/dist/util/getFileExtension.js.map +1 -0
  416. package/dist/util/getNormalizedTarget.d.ts +7 -0
  417. package/dist/util/getNormalizedTarget.js +14 -0
  418. package/dist/util/getNormalizedTarget.js.map +1 -0
  419. package/dist/util/getSingletonElementInstance.d.ts +2 -0
  420. package/dist/util/getSingletonElementInstance.js +10 -0
  421. package/dist/util/getSingletonElementInstance.js.map +1 -0
  422. package/dist/util/isElementClickable.d.ts +2 -0
  423. package/dist/util/isElementClickable.js +16 -0
  424. package/dist/util/isElementClickable.js.map +1 -0
  425. package/dist/util/isElementHidden.d.ts +2 -0
  426. package/dist/util/isElementHidden.js +8 -0
  427. package/dist/util/isElementHidden.js.map +1 -0
  428. package/dist/util/isElementInView.d.ts +6 -0
  429. package/dist/util/isElementInView.js +12 -0
  430. package/dist/util/isElementInView.js.map +1 -0
  431. package/dist/util/isElementTabbable.d.ts +9 -0
  432. package/dist/util/isElementTabbable.js +30 -0
  433. package/dist/util/isElementTabbable.js.map +1 -0
  434. package/dist/util/isValidPropertyName.d.ts +8 -0
  435. package/dist/util/isValidPropertyName.js +20 -12
  436. package/dist/util/isValidPropertyName.js.map +1 -0
  437. package/dist/util/whenDOMReady.d.ts +2 -0
  438. package/dist/util/whenDOMReady.js +11 -10
  439. package/dist/util/whenDOMReady.js.map +1 -0
  440. package/dist/util/willShowContent.d.ts +2 -0
  441. package/dist/util/willShowContent.js +7 -0
  442. package/dist/util/willShowContent.js.map +1 -0
  443. package/dist/validateThemeRoot.d.ts +2 -0
  444. package/dist/validateThemeRoot.js +48 -0
  445. package/dist/validateThemeRoot.js.map +1 -0
  446. package/index.js +228 -2
  447. package/lib/generate-asset-parameters/index.js +27 -0
  448. package/lib/generate-styles/index.js +31 -0
  449. package/lib/generate-version-info/index.js +32 -0
  450. package/package-scripts.cjs +71 -0
  451. package/package.json +23 -14
  452. package/src/css/BusyIndicator.css +80 -0
  453. package/src/css/FontFace.css +66 -0
  454. package/src/css/OverrideFontFace.css +32 -0
  455. package/src/css/SystemCSSVars.css +17 -0
  456. package/src/renderer/directives/style-map.js +72 -0
  457. package/tsconfig.json +14 -0
  458. package/used-modules.txt +10 -0
  459. package/bundle.es5.js +0 -31
  460. package/config/rollup.config.js +0 -1
  461. package/config/wdio.conf.js +0 -1
  462. package/dist/Assets.js +0 -2
  463. package/dist/CSS.js +0 -48
  464. package/dist/ContentDensity.js +0 -20
  465. package/dist/FormatSettings.js +0 -31
  466. package/dist/Locale.js +0 -101
  467. package/dist/LocaleProvider.js +0 -34
  468. package/dist/RenderScheduler.js +0 -160
  469. package/dist/ResourceLoaderOverrides.js +0 -38
  470. package/dist/SVGIconRegistry.js +0 -54
  471. package/dist/animations/config.js +0 -5
  472. package/dist/boot.js +0 -28
  473. package/dist/cldr/en.js +0 -4788
  474. package/dist/compatibility/DOMObserver.js +0 -62
  475. package/dist/compatibility/patchNodeValue.js +0 -24
  476. package/dist/compatibility/whenPolyfillLoaded.js +0 -26
  477. package/dist/config/CompactSize.js +0 -23
  478. package/dist/dates/CalendarDate.js +0 -203
  479. package/dist/dates/CalendarDatesRegistry.js +0 -17
  480. package/dist/dates/CalendarType.js +0 -22
  481. package/dist/dates/CalendarUtils.js +0 -99
  482. package/dist/delegate/CustomResize.js +0 -78
  483. package/dist/delegate/NativeResize.js +0 -44
  484. package/dist/events/EventEnrichment.js +0 -38
  485. package/dist/events/PseudoEvents.js +0 -58
  486. package/dist/features/browsersupport/Edge.js +0 -6
  487. package/dist/features/browsersupport/IE11.js +0 -41
  488. package/dist/features/calendar/Buddhist.js +0 -1
  489. package/dist/features/calendar/Islamic.js +0 -1
  490. package/dist/features/calendar/Japanese.js +0 -1
  491. package/dist/features/calendar/Persian.js +0 -1
  492. package/dist/generated/assets/cldr/sap/ui/core/cldr/ar.json +0 -5598
  493. package/dist/generated/assets/cldr/sap/ui/core/cldr/ar_EG.json +0 -5598
  494. package/dist/generated/assets/cldr/sap/ui/core/cldr/ar_SA.json +0 -5598
  495. package/dist/generated/assets/cldr/sap/ui/core/cldr/bg.json +0 -4789
  496. package/dist/generated/assets/cldr/sap/ui/core/cldr/ca.json +0 -4801
  497. package/dist/generated/assets/cldr/sap/ui/core/cldr/cs.json +0 -5245
  498. package/dist/generated/assets/cldr/sap/ui/core/cldr/da.json +0 -4696
  499. package/dist/generated/assets/cldr/sap/ui/core/cldr/de.json +0 -4797
  500. package/dist/generated/assets/cldr/sap/ui/core/cldr/de_AT.json +0 -4798
  501. package/dist/generated/assets/cldr/sap/ui/core/cldr/de_CH.json +0 -4796
  502. package/dist/generated/assets/cldr/sap/ui/core/cldr/el.json +0 -4694
  503. package/dist/generated/assets/cldr/sap/ui/core/cldr/el_CY.json +0 -4694
  504. package/dist/generated/assets/cldr/sap/ui/core/cldr/en.json +0 -4777
  505. package/dist/generated/assets/cldr/sap/ui/core/cldr/en_AU.json +0 -4769
  506. package/dist/generated/assets/cldr/sap/ui/core/cldr/en_GB.json +0 -4778
  507. package/dist/generated/assets/cldr/sap/ui/core/cldr/en_HK.json +0 -4784
  508. package/dist/generated/assets/cldr/sap/ui/core/cldr/en_IE.json +0 -4778
  509. package/dist/generated/assets/cldr/sap/ui/core/cldr/en_IN.json +0 -4779
  510. package/dist/generated/assets/cldr/sap/ui/core/cldr/en_NZ.json +0 -4778
  511. package/dist/generated/assets/cldr/sap/ui/core/cldr/en_PG.json +0 -4779
  512. package/dist/generated/assets/cldr/sap/ui/core/cldr/en_SG.json +0 -4780
  513. package/dist/generated/assets/cldr/sap/ui/core/cldr/en_ZA.json +0 -4779
  514. package/dist/generated/assets/cldr/sap/ui/core/cldr/es.json +0 -4719
  515. package/dist/generated/assets/cldr/sap/ui/core/cldr/es_AR.json +0 -4721
  516. package/dist/generated/assets/cldr/sap/ui/core/cldr/es_BO.json +0 -4720
  517. package/dist/generated/assets/cldr/sap/ui/core/cldr/es_CL.json +0 -4721
  518. package/dist/generated/assets/cldr/sap/ui/core/cldr/es_CO.json +0 -4721
  519. package/dist/generated/assets/cldr/sap/ui/core/cldr/es_MX.json +0 -4722
  520. package/dist/generated/assets/cldr/sap/ui/core/cldr/es_PE.json +0 -4720
  521. package/dist/generated/assets/cldr/sap/ui/core/cldr/es_UY.json +0 -4722
  522. package/dist/generated/assets/cldr/sap/ui/core/cldr/es_VE.json +0 -4721
  523. package/dist/generated/assets/cldr/sap/ui/core/cldr/et.json +0 -4776
  524. package/dist/generated/assets/cldr/sap/ui/core/cldr/fa.json +0 -4704
  525. package/dist/generated/assets/cldr/sap/ui/core/cldr/fi.json +0 -4816
  526. package/dist/generated/assets/cldr/sap/ui/core/cldr/fr.json +0 -4788
  527. package/dist/generated/assets/cldr/sap/ui/core/cldr/fr_BE.json +0 -4788
  528. package/dist/generated/assets/cldr/sap/ui/core/cldr/fr_CA.json +0 -4782
  529. package/dist/generated/assets/cldr/sap/ui/core/cldr/fr_CH.json +0 -4806
  530. package/dist/generated/assets/cldr/sap/ui/core/cldr/fr_LU.json +0 -4788
  531. package/dist/generated/assets/cldr/sap/ui/core/cldr/he.json +0 -5133
  532. package/dist/generated/assets/cldr/sap/ui/core/cldr/hi.json +0 -4680
  533. package/dist/generated/assets/cldr/sap/ui/core/cldr/hr.json +0 -4910
  534. package/dist/generated/assets/cldr/sap/ui/core/cldr/hu.json +0 -4664
  535. package/dist/generated/assets/cldr/sap/ui/core/cldr/id.json +0 -4500
  536. package/dist/generated/assets/cldr/sap/ui/core/cldr/it.json +0 -4757
  537. package/dist/generated/assets/cldr/sap/ui/core/cldr/it_CH.json +0 -4757
  538. package/dist/generated/assets/cldr/sap/ui/core/cldr/ja.json +0 -4599
  539. package/dist/generated/assets/cldr/sap/ui/core/cldr/kk.json +0 -4537
  540. package/dist/generated/assets/cldr/sap/ui/core/cldr/ko.json +0 -4574
  541. package/dist/generated/assets/cldr/sap/ui/core/cldr/lt.json +0 -5234
  542. package/dist/generated/assets/cldr/sap/ui/core/cldr/lv.json +0 -4902
  543. package/dist/generated/assets/cldr/sap/ui/core/cldr/ms.json +0 -4352
  544. package/dist/generated/assets/cldr/sap/ui/core/cldr/nb.json +0 -4784
  545. package/dist/generated/assets/cldr/sap/ui/core/cldr/nl.json +0 -4790
  546. package/dist/generated/assets/cldr/sap/ui/core/cldr/nl_BE.json +0 -4790
  547. package/dist/generated/assets/cldr/sap/ui/core/cldr/pl.json +0 -5223
  548. package/dist/generated/assets/cldr/sap/ui/core/cldr/pt.json +0 -4703
  549. package/dist/generated/assets/cldr/sap/ui/core/cldr/pt_PT.json +0 -4753
  550. package/dist/generated/assets/cldr/sap/ui/core/cldr/ro.json +0 -4881
  551. package/dist/generated/assets/cldr/sap/ui/core/cldr/ru.json +0 -5157
  552. package/dist/generated/assets/cldr/sap/ui/core/cldr/ru_UA.json +0 -5157
  553. package/dist/generated/assets/cldr/sap/ui/core/cldr/sk.json +0 -5125
  554. package/dist/generated/assets/cldr/sap/ui/core/cldr/sl.json +0 -5105
  555. package/dist/generated/assets/cldr/sap/ui/core/cldr/sr.json +0 -4908
  556. package/dist/generated/assets/cldr/sap/ui/core/cldr/sv.json +0 -4818
  557. package/dist/generated/assets/cldr/sap/ui/core/cldr/th.json +0 -4633
  558. package/dist/generated/assets/cldr/sap/ui/core/cldr/tr.json +0 -4791
  559. package/dist/generated/assets/cldr/sap/ui/core/cldr/uk.json +0 -5126
  560. package/dist/generated/assets/cldr/sap/ui/core/cldr/vi.json +0 -4510
  561. package/dist/generated/assets/cldr/sap/ui/core/cldr/zh_CN.json +0 -4469
  562. package/dist/generated/assets/cldr/sap/ui/core/cldr/zh_HK.json +0 -4479
  563. package/dist/generated/assets/cldr/sap/ui/core/cldr/zh_SG.json +0 -4479
  564. package/dist/generated/assets/cldr/sap/ui/core/cldr/zh_TW.json +0 -4565
  565. package/dist/json-imports/LocaleData.js +0 -171
  566. package/dist/renderer/ifDefined.js +0 -21
  567. package/dist/resources/bundle.es5.js +0 -212
  568. package/dist/resources/bundle.es5.js.map +0 -1
  569. package/dist/resources/bundle.esm.js +0 -123
  570. package/dist/resources/bundle.esm.js.map +0 -1
  571. package/dist/shims/Core-shim.js +0 -52
  572. package/dist/shims/jquery-shim.js +0 -89
  573. package/dist/test-resources/assets/Themes.js +0 -11
  574. package/dist/test-resources/elements/Child.js +0 -35
  575. package/dist/test-resources/elements/DensityAware.js +0 -14
  576. package/dist/test-resources/elements/Generic.js +0 -83
  577. package/dist/test-resources/elements/GenericExt.js +0 -26
  578. package/dist/test-resources/elements/NoShadowDOM.js +0 -13
  579. package/dist/test-resources/elements/Parent.js +0 -36
  580. package/dist/test-resources/pages/AllTestElements.html +0 -42
  581. package/dist/test-resources/pages/Configuration.html +0 -20
  582. package/dist/test-resources/pages/ConfigurationScript.html +0 -37
  583. package/dist/test-resources/specs/ConfigurationChange.spec.js +0 -34
  584. package/dist/test-resources/specs/ConfigurationScript.spec.js +0 -69
  585. package/dist/test-resources/specs/ConfigurationURL.spec.js +0 -53
  586. package/dist/test-resources/specs/CustomTheme.spec.js +0 -25
  587. package/dist/test-resources/specs/Theming.spec.js +0 -31
  588. package/dist/test-resources/specs/UI5ElementDensityAware.spec.js +0 -51
  589. package/dist/test-resources/specs/UI5ElementInvalidation.js +0 -258
  590. package/dist/test-resources/specs/UI5ElementLifecycle.js +0 -93
  591. package/dist/test-resources/specs/UI5ElementListenForChildPropChanges.spec.js +0 -101
  592. package/dist/test-resources/specs/UI5ElementMetadataExt.js +0 -40
  593. package/dist/test-resources/specs/UI5ElementPropertyValidation.js +0 -12
  594. package/dist/test-resources/specs/UI5ElementPropsAndAttrs.spec.js +0 -65
  595. package/dist/test-resources/specs/UI5ElementShadowDOM.js +0 -22
  596. package/dist/test-resources/specs/UI5ElementSlots.js +0 -34
  597. package/dist/theming/StyleInjection.js +0 -67
  598. package/dist/theming/ThemeBundle.js +0 -29
  599. package/dist/thirdparty/Array.from.js +0 -16
  600. package/dist/thirdparty/Array.prototype.fill.js +0 -44
  601. package/dist/thirdparty/Array.prototype.find.js +0 -46
  602. package/dist/thirdparty/Array.prototype.includes.js +0 -51
  603. package/dist/thirdparty/Element.prototype.closest.js +0 -11
  604. package/dist/thirdparty/Element.prototype.matches.js +0 -6
  605. package/dist/thirdparty/Map.prototype.keys.js +0 -9
  606. package/dist/thirdparty/Number.isInteger.js +0 -5
  607. package/dist/thirdparty/Number.isNaN.js +0 -1
  608. package/dist/thirdparty/Number.parseInt.js +0 -1
  609. package/dist/thirdparty/Object.assign.js +0 -31
  610. package/dist/thirdparty/Object.entries.js +0 -11
  611. package/dist/thirdparty/Symbol.js +0 -2
  612. package/dist/thirdparty/WeakSet.js +0 -27
  613. package/dist/thirdparty/events-polyfills.js +0 -89
  614. package/dist/thirdparty/fetch.js +0 -1
  615. package/dist/thirdparty/template.js +0 -600
  616. package/dist/types/CSSSize.js +0 -9
  617. package/dist/types/PopupState.js +0 -37
  618. package/dist/util/CSSTransformUtils.js +0 -90
  619. package/dist/util/isDescendantOf.js +0 -15
  620. package/dist/util/isNodeClickable.js +0 -19
  621. package/dist/util/isNodeHidden.js +0 -13
  622. package/dist/util/isNodeTabbable.js +0 -28
  623. package/dist/util/normalizeLocale.js +0 -77
  624. package/dist/webcomponentsjs/LICENSE.md +0 -19
  625. package/dist/webcomponentsjs/README.md +0 -229
  626. package/dist/webcomponentsjs/bundles/webcomponents-ce.js +0 -63
  627. package/dist/webcomponentsjs/bundles/webcomponents-ce.js.map +0 -1
  628. package/dist/webcomponentsjs/bundles/webcomponents-sd-ce-pf.js +0 -297
  629. package/dist/webcomponentsjs/bundles/webcomponents-sd-ce-pf.js.map +0 -1
  630. package/dist/webcomponentsjs/bundles/webcomponents-sd-ce.js +0 -208
  631. package/dist/webcomponentsjs/bundles/webcomponents-sd-ce.js.map +0 -1
  632. package/dist/webcomponentsjs/bundles/webcomponents-sd.js +0 -166
  633. package/dist/webcomponentsjs/bundles/webcomponents-sd.js.map +0 -1
  634. package/dist/webcomponentsjs/custom-elements-es5-adapter.js +0 -15
  635. package/dist/webcomponentsjs/package.json +0 -46
  636. package/dist/webcomponentsjs/src/entrypoints/custom-elements-es5-adapter-index.js +0 -16
  637. package/dist/webcomponentsjs/src/entrypoints/webcomponents-bundle-index.js +0 -53
  638. package/dist/webcomponentsjs/src/entrypoints/webcomponents-ce-index.js +0 -17
  639. package/dist/webcomponentsjs/src/entrypoints/webcomponents-sd-ce-index.js +0 -19
  640. package/dist/webcomponentsjs/src/entrypoints/webcomponents-sd-ce-pf-index.js +0 -28
  641. package/dist/webcomponentsjs/src/entrypoints/webcomponents-sd-index.js +0 -18
  642. package/dist/webcomponentsjs/webcomponents-bundle.js +0 -298
  643. package/dist/webcomponentsjs/webcomponents-bundle.js.map +0 -1
  644. package/dist/webcomponentsjs/webcomponents-loader.js +0 -185
  645. package/package-scripts.js +0 -42
  646. package/src/AssetRegistry.js +0 -9
  647. package/src/Assets.js +0 -2
  648. package/src/CSS.js +0 -48
  649. package/src/ContentDensity.js +0 -20
  650. package/src/Device.js +0 -823
  651. package/src/EventProvider.js +0 -73
  652. package/src/FeaturesRegistry.js +0 -11
  653. package/src/FontFace.js +0 -66
  654. package/src/FormatSettings.js +0 -31
  655. package/src/InitialConfiguration.js +0 -126
  656. package/src/Locale.js +0 -101
  657. package/src/LocaleProvider.js +0 -34
  658. package/src/RenderQueue.js +0 -42
  659. package/src/RenderScheduler.js +0 -160
  660. package/src/ResourceLoaderOverrides.js +0 -38
  661. package/src/SVGIconRegistry.js +0 -54
  662. package/src/Theming.js +0 -45
  663. package/src/UI5Element.js +0 -834
  664. package/src/UI5ElementMetadata.js +0 -156
  665. package/src/animations/AnimationQueue.js +0 -42
  666. package/src/animations/animate.js +0 -53
  667. package/src/animations/config.js +0 -5
  668. package/src/animations/scroll.js +0 -28
  669. package/src/animations/slideDown.js +0 -79
  670. package/src/animations/slideUp.js +0 -71
  671. package/src/asset-registries/Icons.js +0 -24
  672. package/src/asset-registries/LocaleData.js +0 -101
  673. package/src/asset-registries/Themes.js +0 -75
  674. package/src/asset-registries/i18n.js +0 -75
  675. package/src/boot.js +0 -28
  676. package/src/cldr/en.js +0 -4788
  677. package/src/compatibility/DOMObserver.js +0 -62
  678. package/src/compatibility/patchNodeValue.js +0 -24
  679. package/src/compatibility/whenPolyfillLoaded.js +0 -26
  680. package/src/config/AnimationMode.js +0 -9
  681. package/src/config/CalendarType.js +0 -18
  682. package/src/config/CompactSize.js +0 -23
  683. package/src/config/FormatSettings.js +0 -9
  684. package/src/config/Language.js +0 -9
  685. package/src/config/NoConflict.js +0 -44
  686. package/src/config/RTL.js +0 -31
  687. package/src/config/Theme.js +0 -24
  688. package/src/dates/CalendarDate.js +0 -203
  689. package/src/dates/CalendarDatesRegistry.js +0 -17
  690. package/src/dates/CalendarType.js +0 -22
  691. package/src/dates/CalendarUtils.js +0 -99
  692. package/src/delegate/CustomResize.js +0 -78
  693. package/src/delegate/ItemNavigation.js +0 -235
  694. package/src/delegate/NativeResize.js +0 -44
  695. package/src/delegate/ResizeHandler.js +0 -66
  696. package/src/delegate/ScrollEnablement.js +0 -80
  697. package/src/events/EventEnrichment.js +0 -38
  698. package/src/events/PseudoEvents.js +0 -58
  699. package/src/features/browsersupport/Edge.js +0 -6
  700. package/src/features/browsersupport/IE11.js +0 -41
  701. package/src/features/calendar/Buddhist.js +0 -1
  702. package/src/features/calendar/Islamic.js +0 -1
  703. package/src/features/calendar/Japanese.js +0 -1
  704. package/src/features/calendar/Persian.js +0 -1
  705. package/src/i18nBundle.js +0 -35
  706. package/src/json-imports/LocaleData.js +0 -171
  707. package/src/renderer/LitRenderer.js +0 -15
  708. package/src/renderer/ifDefined.js +0 -21
  709. package/src/shims/Core-shim.js +0 -52
  710. package/src/shims/jquery-shim.js +0 -89
  711. package/src/theming/CustomStyle.js +0 -19
  712. package/src/theming/StyleInjection.js +0 -67
  713. package/src/theming/ThemeBundle.js +0 -29
  714. package/src/thirdparty/Array.from.js +0 -16
  715. package/src/thirdparty/Array.prototype.fill.js +0 -44
  716. package/src/thirdparty/Array.prototype.find.js +0 -46
  717. package/src/thirdparty/Array.prototype.includes.js +0 -51
  718. package/src/thirdparty/Element.prototype.closest.js +0 -11
  719. package/src/thirdparty/Element.prototype.matches.js +0 -6
  720. package/src/thirdparty/Map.prototype.keys.js +0 -9
  721. package/src/thirdparty/Number.isInteger.js +0 -5
  722. package/src/thirdparty/Number.isNaN.js +0 -1
  723. package/src/thirdparty/Number.parseInt.js +0 -1
  724. package/src/thirdparty/Object.assign.js +0 -31
  725. package/src/thirdparty/Object.entries.js +0 -11
  726. package/src/thirdparty/Symbol.js +0 -2
  727. package/src/thirdparty/WeakSet.js +0 -27
  728. package/src/thirdparty/events-polyfills.js +0 -89
  729. package/src/thirdparty/fetch.js +0 -1
  730. package/src/thirdparty/template.js +0 -600
  731. package/src/types/AnimationMode.js +0 -7
  732. package/src/types/CSSSize.js +0 -9
  733. package/src/types/DataType.js +0 -25
  734. package/src/types/Integer.js +0 -9
  735. package/src/types/ItemNavigationBehavior.js +0 -21
  736. package/src/types/NavigationMode.js +0 -6
  737. package/src/types/PopupState.js +0 -37
  738. package/src/types/ValueState.js +0 -21
  739. package/src/util/CSSTransformUtils.js +0 -90
  740. package/src/util/FetchHelper.js +0 -31
  741. package/src/util/FocusableElements.js +0 -60
  742. package/src/util/StringHelper.js +0 -11
  743. package/src/util/TabbableElements.js +0 -44
  744. package/src/util/createStyleInHead.js +0 -18
  745. package/src/util/detectNavigatorLanguage.js +0 -11
  746. package/src/util/formatMessage.js +0 -23
  747. package/src/util/getDesigntimePropertyAsArray.js +0 -4
  748. package/src/util/isDescendantOf.js +0 -15
  749. package/src/util/isNodeClickable.js +0 -19
  750. package/src/util/isNodeHidden.js +0 -13
  751. package/src/util/isNodeTabbable.js +0 -28
  752. package/src/util/isValidPropertyName.js +0 -20
  753. package/src/util/normalizeLocale.js +0 -77
  754. package/src/util/whenDOMReady.js +0 -13
  755. /package/{config/.eslintrc.js → .eslintrc.cjs} +0 -0
@@ -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,compactSize:!1,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)},W=()=>k;var j,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 j?r.getInterface():r}}if(j=j||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 z(t){return Array.isArray(t)?t:t.split(".")}$.create=function(t,e){for(var n=e||Y,r=z(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=z(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=z(t),i=r.pop();$.create(r,n)[i]=e};var B,H,J="undefined"!=typeof window&&window.performance&&performance.now&&performance.timing?(B=performance.timing.navigationStart,function(){return B+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=Bt(t)),this.oDate=this.createDate(Date,t),this.sCalendarType=C.Islamic}});Nt.UTC=function(){var t=Bt(arguments);return Date.UTC.apply(Date,t)},Nt.now=function(){return Date.now()};var Rt=1721425.5,Wt=1948439.5,jt=-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)-Wt,(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 zt(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))+Wt-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 Bt(t){var e,n=Array.prototype.slice.call(t);return e=zt({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()-jt)/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=zt(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=zt(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={};let de=!1;he.run=function(){if(de)return;const t=new WeakSet,e=new WeakSet,n=Event.prototype.stopPropagation,r=Event.prototype.stopImmediatePropagation;Event.prototype.stopPropagation=function(){return t.add(this),n.apply(this,arguments)},Event.prototype.isPropagationStopped=function(){return t.has(this)},Event.prototype.stopImmediatePropagation=function(){return e.add(this),r.apply(this,arguments)},Event.prototype.isImmediatePropagationStopped=function(){return e.has(this)},de=!0};const pe=(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},ge={};let fe;const me=()=>!!window.CSSVarsPonyfill,ye=()=>{fe=void 0,window.CSSVarsPonyfill.cssVars({rootElement:document.head,include:"style[data-ui5-theme-properties],style[data-ui5-element-styles]",silent:!0})},ve=(t,e)=>{pe(e,{"data-ui5-element-styles":t,disabled:"disabled"}),me()&&(fe||(fe=window.setTimeout(ye,0)))},_e=[],we=async t=>{let e="";W().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{pe(t,{"data-ui5-theme-properties":e})}me()&&ye()})(e,n)}),be(t)},be=t=>{_e.forEach(e=>e(t))},Ce=t=>{const e=(t=>ge[t]?ge[t].join(""):"")(t.getMetadata().getTag())||"";let n=t.styles;return Array.isArray(n)&&(n=n.join(" ")),`${n} ${e}`};let Te=(()=>(m(),p.theme))();const De=()=>Te;let Se;let Pe;he.run();const Me=()=>Pe||(Pe=new Promise(async t=>{await(()=>new Promise(t=>{document.body?t():document.addEventListener("DOMContentLoaded",()=>{t()})}))(),await we(De()),document.querySelector("head>style[data-ui5-font-face]")||pe('\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(()=>Se||(Se=new Promise(t=>{window.WebComponents&&!window.WebComponents.ready&&window.WebComponents.waitFor?window.WebComponents.waitFor(()=>{t()}):t()}),Se))(),t()}),Pe),Ee=["value-changed"];let Ue=(()=>(m(),p.noConflict))();const xe=t=>!(t=>Ee.includes(t))(t)&&(!0===Ue||!(t=>!(Ue.events&&Ue.events.includes&&Ue.events.includes(t)))(t)),Oe=[],Ae=t=>{-1===Oe.indexOf(t)&&Oe.push(t)},Fe=t=>{Oe.forEach(e=>e(t))};let Le=(()=>(m(),p.compactSize))();const ke=()=>Le,Ie=window,Ne=new WeakMap;class Re{constructor(){throw new Error("Static class")}static observeDOMNode(t,e,n){let r=Ne.get(t);if(r)throw new Error("A mutation/ShadyDOM observer is already assigned to this node.");Ie.ShadyDOM?r=Ie.ShadyDOM.observeChildren(t,e):(r=new MutationObserver(e),r.observe(t,n)),Ne.set(t,r)}static unobserveDOMNode(t){const e=Ne.get(t);e&&(e instanceof MutationObserver?e.disconnect():Ie.ShadyDOM.unobserveChildren(e),Ne.delete(t))}}class We{static isValid(t){}static generataTypeAcessors(t){Object.keys(t).forEach(e=>{Object.defineProperty(this,e,{get:()=>t[e]})})}}const je=t=>$e(t.split("-")),Ve=t=>t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),$e=t=>t.map((t,e)=>0===e?t.toLowerCase():t.charAt(0).toUpperCase()+t.slice(1).toLowerCase()).join("");class Ye{constructor(t){this.metadata=t}static validatePropertyValue(t,e){return e.multiple?t.map(t=>ze(t,e)):ze(t,e)}static validateSlotValue(t,e){return Be(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(Ve)}getSlots(){return this.metadata.slots||{}}hasSlots(){return!!Object.entries(this.getSlots()).length}getProperties(){return this.metadata.properties||{}}getEvents(){return this.metadata.events||{}}getInvalidateOnContentDensityChange(){return!!this.metadata.invalidateOnContentDensityChange}}const ze=(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,We)?n.isValid(t)?t:e.defaultValue:void 0},Be=(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 He extends We{static isValid(t){return Number.isInteger(t)}}const Je=10;let Ze;const qe=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 Ge,Qe,Xe;class Ke{constructor(){throw new Error("Static class")}static renderDeferred(t){const e=qe.add(t);return Ke.scheduleRenderTask(),e}static renderImmediately(t){const e=qe.add(t);return Ke.runRenderTask(),e}static scheduleRenderTask(){Ze||(Ze=window.requestAnimationFrame(Ke.renderWebComponents))}static runRenderTask(){Ze||(Ze=1,Ke.renderWebComponents())}static renderWebComponents(){let t,e,n;const r=new Map;for(;t=qe.shift();){e=t.webComponent,n=t.promise;const i=r.get(e)||0;if(i>Je)throw new Error(`Web component re-rendered too many times this task, max allowed is: ${Je}`);e._render(),n._deferredResolve(),r.set(e,i+1)}setTimeout(()=>{0===qe.getList().length&&Ke._resolveTaskPromise()},200),Ze=void 0}static whenDOMUpdated(){return Ge||(Ge=new Promise(t=>{Qe=t,window.requestAnimationFrame(()=>{0===qe.getList().length&&(Ge=void 0,t())})}),Ge)}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 Ke.whenShadowDOMReady(),await Ke.whenDOMUpdated()}static _resolveTaskPromise(){qe.getList().length>0||Qe&&(Qe.call(this,Xe),Qe=void 0,Ge=void 0)}}const tn=(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)},en=(t,e)=>(t=((t,e,n)=>{let r=t.indexOf(e);for(;-1!==r;)r=(t=tn(t,e,r,n)).indexOf(e);return t})(t=t.trim(),"::slotted","")).startsWith(":host")?tn(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}`,nn=new Map,rn=new Set,an=t=>{const e=t.getMetadata().getTag();if(rn.has(e))return;let n=Ce(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=>en(t,e)).join(",")}n=`${n}${t}`}),n})(n,e),ve(e,n),rn.add(e)},on=t=>{const e=t.getMetadata().getTag(),n=Ce(t);if(nn.has(e))return nn.get(e);const r=new CSSStyleSheet;return r.replaceSync(n),nn.set(e,r),r},sn=t=>{if("disabled"===t)return!0;return![HTMLElement,Element,Node].some(e=>e.prototype.hasOwnProperty(t))},un={events:{_propertyChange:{}}},ln=new Set,cn=new Map;class hn extends HTMLElement{constructor(){let t;super(),this._generateId(),this._initializeState(),this._upgradeAllProperties(),this._initializeShadowRoot(),Ae(this._onContentDensityChanged.bind(this)),this._domRefReadyPromise=new Promise(e=>{t=e}),this._domRefReadyPromise._deferredResolve=t,this._monitoredChildProps=new Map}_onContentDensityChanged(){this._syncContentDensity(),this.constructor.getMetadata().getInvalidateOnContentDensityChange()&&this._invalidate()}_syncContentDensity(){ke()?this.setAttribute("data-ui5-compact-size",""):this.removeAttribute("data-ui5-compact-size")}_generateId(){this._id=this.constructor._nextID()}_initializeShadowRoot(){if(this.constructor._needsShadowDOM()&&(this.attachShadow({mode:"open"}),window.ShadyDOM&&an(this.constructor),document.adoptedStyleSheets)){const t=on(this.constructor);this.shadowRoot.adoptedStyleSheets=[t]}}async connectedCallback(){this._syncContentDensity(),this.constructor._needsShadowDOM()&&(this._startObservingDOMChildren(),await this._processChildren(),await Ke.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;Re.observeDOMNode(this,this._processChildren.bind(this),{childList:!0,subtree:!0,characterData:!0})}_stopObservingDOMChildren(){Re.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=je(i);if(r.hasOwnProperty(a)){const t=r[a].type;t===Boolean&&(n=null!==n),t===He&&(n=parseInt(n)),this[a]=n}}_updateAttribute(t,e){if(!this.constructor.getMetadata().hasAttribute(t))return;if("object"==typeof e)return;const n=Ve(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,Ke.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=Ce(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),xe(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=je(this.getMetadata().getTag()),e=cn.get(t),n=void 0!==e?e+1:1;return cn.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(!sn(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(!sn(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 un}static get styles(){return""}static async define(){await Me();const t=this.getMetadata().getTag(),e=ln.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(),ln.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!==hn;)e=Object.getPrototypeOf(e),t.unshift(e.metadata);const n=ce({},...t);return this._metadata=new Ye(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 dn=new WeakMap,pn=t=>"function"==typeof t&&dn.has(t),gn=void 0!==window.customElements&&void 0!==window.customElements.polyfillWrapFlushCallback,fn=(t,e,n=null)=>{for(;e!==n;){const n=e.nextSibling;t.removeChild(e),e=n}},mn={},yn={},vn=`{{lit-${String(Math.random()).slice(2)}}}`,_n=`\x3c!--${vn}--\x3e`,wn=new RegExp(`${vn}|${_n}`),bn="$lit$";class Cn{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++)Tn(e[t].name,bn)&&r++;for(;r-- >0;){const e=u[s],n=Pn.exec(e)[2],r=n.toLowerCase()+bn,i=t.getAttribute(r);t.removeAttribute(r);const a=i.split(wn);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(vn)>=0){const r=t.parentNode,i=e.split(wn),a=i.length-1;for(let e=0;e<a;e++){let n,a=i[e];if(""===a)n=Sn();else{const t=Pn.exec(a);null!==t&&Tn(t[2],bn)&&(a=a.slice(0,t.index)+t[1]+t[2].slice(0,-bn.length)+t[3]),n=document.createTextNode(a)}r.insertBefore(n,t),this.parts.push({type:"node",index:++o})}""===i[a]?(r.insertBefore(Sn(),t),n.push(t)):t.data=i[a],s+=a}}else if(8===t.nodeType)if(t.data===vn){const e=t.parentNode;null!==t.previousSibling&&o!==a||(o++,e.insertBefore(Sn(),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(vn,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 Tn=(t,e)=>{const n=t.length-e.length;return n>=0&&t.slice(n)===e},Dn=t=>-1!==t.index,Sn=()=>document.createComment(""),Pn=/([ \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 Mn{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=gn?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],Dn(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 gn&&(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 En=` ${vn} `;class Un{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=Pn.exec(t);e+=null===a?t+(n?En:_n):t.substr(0,a.index)+a[1]+a[2]+bn+a[3]+vn}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 xn=t=>null===t||!("object"==typeof t||"function"==typeof t),On=t=>Array.isArray(t)||!(!t||!t[Symbol.iterator]);class An{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 Fn(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(xn(t)||!On(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 Fn{constructor(t){this.value=void 0,this.committer=t}setValue(t){t===mn||xn(t)&&t===this.value||(this.value=t,pn(t)||(this.committer.dirty=!0))}commit(){for(;pn(this.value);){const t=this.value;this.value=mn,t(this)}this.value!==mn&&this.committer.commit()}}class Ln{constructor(t){this.value=void 0,this.__pendingValue=void 0,this.options=t}appendInto(t){this.startNode=t.appendChild(Sn()),this.endNode=t.appendChild(Sn())}insertAfterNode(t){this.startNode=t,this.endNode=t.nextSibling}appendIntoPart(t){t.__insert(this.startNode=Sn()),t.__insert(this.endNode=Sn())}insertAfterPart(t){t.__insert(this.startNode=Sn()),this.endNode=t.endNode,t.endNode=this.startNode}setValue(t){this.__pendingValue=t}commit(){for(;pn(this.__pendingValue);){const t=this.__pendingValue;this.__pendingValue=mn,t(this)}const t=this.__pendingValue;t!==mn&&(xn(t)?t!==this.value&&this.__commitText(t):t instanceof Un?this.__commitTemplateResult(t):t instanceof Node?this.__commitNode(t):On(t)?this.__commitIterable(t):t===yn?(this.value=yn,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 Mn&&this.value.template===e)this.value.update(t.values);else{const n=new Mn(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 Ln(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){fn(this.startNode.parentNode,t.nextSibling,this.endNode)}}class kn{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(;pn(this.__pendingValue);){const t=this.__pendingValue;this.__pendingValue=mn,t(this)}if(this.__pendingValue===mn)return;const t=!!this.__pendingValue;this.value!==t&&(t?this.element.setAttribute(this.name,""):this.element.removeAttribute(this.name),this.value=t),this.__pendingValue=mn}}class In extends An{constructor(t,e,n){super(t,e,n),this.single=2===n.length&&""===n[0]&&""===n[1]}_createPart(){return new Nn(this)}_getValue(){return this.single?this.parts[0].value:super._getValue()}commit(){this.dirty&&(this.dirty=!1,this.element[this.name]=this._getValue())}}class Nn extends Fn{}let Rn=!1;try{const t={get capture(){return Rn=!0,!1}};window.addEventListener("test",t,t),window.removeEventListener("test",t,t)}catch(t){}class Wn{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(;pn(this.__pendingValue);){const t=this.__pendingValue;this.__pendingValue=mn,t(this)}if(this.__pendingValue===mn)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=jn(t),this.element.addEventListener(this.eventName,this.__boundHandleEvent,this.__options)),this.value=t,this.__pendingValue=mn}handleEvent(t){"function"==typeof this.value?this.value.call(this.eventContext||this.element,t):this.value.handleEvent(t)}}const jn=t=>t&&(Rn?{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 Vn=new class{handleAttributeExpressions(t,e,n,r){const i=e[0];if("."===i){return new In(t,e.slice(1),n).parts}return"@"===i?[new Wn(t,e.slice(1),r.eventContext)]:"?"===i?[new kn(t,e.slice(1),n)]:new An(t,e,n).parts}handleTextExpression(t){return new Ln(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 $n(t){let e=Yn.get(t.type);void 0===e&&(e={stringsArray:new WeakMap,keyString:new Map},Yn.set(t.type,e));let n=e.stringsArray.get(t.strings);if(void 0!==n)return n;const r=t.strings.join(vn);return n=e.keyString.get(r),void 0===n&&(n=new Cn(t,t.getTemplateElement()),e.keyString.set(r,n)),e.stringsArray.set(t.strings,n),n}const Yn=new Map,zn=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 Bn=(t,...e)=>new Un(t,e,"html",Vn),Hn=(t,e,n,{eventContext:r}={})=>{n&&(t=Bn`<style>${n}</style>${t}`),((t,e,n)=>{let r=zn.get(e);void 0===r&&(fn(e,e.firstChild),zn.set(e,r=new Ln(Object.assign({templateFactory:$n},n))),r.appendInto(e)),r.setValue(t),r.commit()})(t,e,{eventContext:r})},Jn={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 Zn extends hn{static get metadata(){return Jn}static get render(){return Hn}static get template(){return t=>Bn`<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(){}}Zn.define();const qn={tag:"ui5-test-no-shadow"};(class extends hn{static get metadata(){return qn}}).define();const Gn={tag:"ui5-test-parent",slots:{default:{type:Node,listenFor:["prop1"]},items:{type:HTMLElement,listenFor:{include:["*"],exclude:["prop3"]}}}};(class extends hn{static get metadata(){return Gn}static get render(){return Hn}static get template(){return t=>Bn`<div>
121
- <slot></slot>
122
- </div>`}}).define();const Qn={tag:"ui5-test-child",properties:{prop1:{type:String},prop2:{type:String},prop3:{type:String}}};(class extends hn{static get metadata(){return Qn}static get render(){return Hn}static get template(){return t=>Bn`<div></div>`}}).define();const Xn={tag:"ui5-test-density-aware",invalidateOnContentDensityChange:!0};(class extends hn{static get metadata(){return Xn}}).define();const Kn={tag:"ui5-test-generic-ext",properties:{extProp:{type:String},strProp:{defaultValue:"Ext"}},slots:{extSlot:{type:HTMLElement}}};(class extends Zn{static get metadata(){return Kn}}).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 tr={},er={INTERNET_EXPLORER:"ie",EDGE:"ed",FIREFOX:"ff",CHROME:"cr",SAFARI:"sf",ANDROID:"an"},nr=()=>{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:er.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=er.CHROME,a=r.test(e),n=parseFloat(s[2])):u?(t=er.FIREFOX,a=!0,n=parseFloat(u[1])):l&&(t=er.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:er.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:er.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:er.INTERNET_EXPLORER,versionStr:`${a}`,version:a,msie:!0,mobile:!1}):t.edge?(a=parseFloat(t.version),i={name:er.EDGE,versionStr:`${a}`,version:a,edge:!0}):i={name:"",versionStr:"",version:-1,mobile:!1};return i},rr=(()=>(m(),p.animationMode))(),ir={iw:"he",ji:"yi",in:"id",sh:"sr"},ar=u("$cldr-rtl-locales:ar,fa,he$")||[],or=new Map,sr=new Map;window.RenderScheduler=Ke,window.isIE=()=>(tr.browser||(tr.browser=nr(),tr.browser.BROWSER=er,tr.browser.name&&Object.keys(er).forEach(t=>{er[t]===tr.browser.name&&(tr.browser[t.toLowerCase()]=!0)})),!!tr.browser.msie),window.registerThemeProperties=N,window["sap-ui-webcomponents-bundle"]={configuration:{getAnimationMode:()=>rr,getLanguage:v,getTheme:De,setTheme:async t=>{Te!==t&&(Te=t,await we(Te))},getNoConflict:()=>Ue,setNoConflict:t=>{Ue=t},getCompactSize:ke,setCompactSize:t=>{Le!==t&&(Le=t,(t=>{Fe(t)})(Le?"compact":"cozy"))},getCalendarType:D,getRTL:()=>{const t=(()=>(m(),p.rtl))();return null!==t?!!t:(t=>(t=t&&ir[t]||t,ar.indexOf(t)>=0))(v()||h())},getFirstDayOfWeek:P},getIconNames:async()=>(sr.has("SAP-icons")&&await sr.get("SAP-icons"),Array.from(or.keys()).map(t=>t.split(":")[1]))};
123
- //# sourceMappingURL=bundle.esm.js.map