@ui5/webcomponents-base 0.0.0-d1315d658 → 0.0.0-d473b9686

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 (301) hide show
  1. package/CHANGELOG.md +948 -0
  2. package/README.md +2 -9
  3. package/config/wdio.conf.cjs +0 -8
  4. package/dist/.tsbuildinfo +1 -0
  5. package/dist/AssetRegistry.d.ts +2 -2
  6. package/dist/AssetRegistry.js +2 -2
  7. package/dist/AssetRegistry.js.map +1 -1
  8. package/dist/Boot.d.ts +3 -2
  9. package/dist/Boot.js +8 -6
  10. package/dist/Boot.js.map +1 -1
  11. package/dist/CustomElementsScope.d.ts +4 -4
  12. package/dist/CustomElementsScope.js +2 -2
  13. package/dist/CustomElementsScope.js.map +1 -1
  14. package/dist/CustomElementsScopeUtils.d.ts +8 -1
  15. package/dist/CustomElementsScopeUtils.js +13 -1
  16. package/dist/CustomElementsScopeUtils.js.map +1 -1
  17. package/dist/Device.d.ts +2 -2
  18. package/dist/Device.js +14 -12
  19. package/dist/Device.js.map +1 -1
  20. package/dist/IgnoreCustomElements.d.ts +3 -5
  21. package/dist/IgnoreCustomElements.js +3 -5
  22. package/dist/IgnoreCustomElements.js.map +1 -1
  23. package/dist/InitialConfiguration.d.ts +2 -2
  24. package/dist/InitialConfiguration.js +6 -5
  25. package/dist/InitialConfiguration.js.map +1 -1
  26. package/dist/Keys.d.ts +3 -1
  27. package/dist/Keys.js +109 -106
  28. package/dist/Keys.js.map +1 -1
  29. package/dist/ManagedStyles.d.ts +5 -4
  30. package/dist/ManagedStyles.js +55 -60
  31. package/dist/ManagedStyles.js.map +1 -1
  32. package/dist/MediaRange.d.ts +6 -12
  33. package/dist/MediaRange.js +21 -31
  34. package/dist/MediaRange.js.map +1 -1
  35. package/dist/UI5Element.d.ts +50 -54
  36. package/dist/UI5Element.js +179 -112
  37. package/dist/UI5Element.js.map +1 -1
  38. package/dist/UI5ElementMetadata.d.ts +13 -13
  39. package/dist/UI5ElementMetadata.js +26 -15
  40. package/dist/UI5ElementMetadata.js.map +1 -1
  41. package/dist/asset-registries/Icons.d.ts +4 -3
  42. package/dist/asset-registries/Icons.js +28 -17
  43. package/dist/asset-registries/Icons.js.map +1 -1
  44. package/dist/asset-registries/Illustrations.d.ts +2 -0
  45. package/dist/asset-registries/Illustrations.js +51 -20
  46. package/dist/asset-registries/Illustrations.js.map +1 -1
  47. package/dist/asset-registries/LocaleData.js +1 -1
  48. package/dist/asset-registries/LocaleData.js.map +1 -1
  49. package/dist/asset-registries/Themes.d.ts +4 -3
  50. package/dist/asset-registries/Themes.js +26 -10
  51. package/dist/asset-registries/Themes.js.map +1 -1
  52. package/dist/asset-registries/i18n.d.ts +2 -2
  53. package/dist/asset-registries/i18n.js +4 -3
  54. package/dist/asset-registries/i18n.js.map +1 -1
  55. package/dist/{assets-meta → asset-registries/util}/IconCollectionsAlias.d.ts +1 -2
  56. package/dist/{assets-meta → asset-registries/util}/IconCollectionsAlias.js +1 -2
  57. package/dist/asset-registries/util/IconCollectionsAlias.js.map +1 -0
  58. package/dist/asset-registries/util/IconCollectionsByTheme.d.ts +20 -0
  59. package/dist/asset-registries/util/IconCollectionsByTheme.js +42 -0
  60. package/dist/asset-registries/util/IconCollectionsByTheme.js.map +1 -0
  61. package/dist/asset-registries/util/getIconCollectionByTheme.d.ts +13 -0
  62. package/dist/asset-registries/util/getIconCollectionByTheme.js +29 -0
  63. package/dist/asset-registries/util/getIconCollectionByTheme.js.map +1 -0
  64. package/dist/config/AnimationMode.js +2 -1
  65. package/dist/config/AnimationMode.js.map +1 -1
  66. package/dist/config/CalendarType.d.ts +8 -1
  67. package/dist/config/CalendarType.js +18 -2
  68. package/dist/config/CalendarType.js.map +1 -1
  69. package/dist/config/Icons.d.ts +9 -24
  70. package/dist/config/Icons.js +8 -67
  71. package/dist/config/Icons.js.map +1 -1
  72. package/dist/config/Language.d.ts +1 -1
  73. package/dist/config/Language.js +6 -3
  74. package/dist/config/Language.js.map +1 -1
  75. package/dist/config/Theme.d.ts +4 -3
  76. package/dist/config/Theme.js +13 -6
  77. package/dist/config/Theme.js.map +1 -1
  78. package/dist/config/ThemeRoot.d.ts +2 -4
  79. package/dist/config/ThemeRoot.js +2 -4
  80. package/dist/config/ThemeRoot.js.map +1 -1
  81. package/dist/config/Timezone.d.ts +1 -1
  82. package/dist/config/Timezone.js +1 -1
  83. package/dist/config/Timezone.js.map +1 -1
  84. package/dist/connectToComponent.d.ts +9 -0
  85. package/dist/connectToComponent.js +59 -0
  86. package/dist/connectToComponent.js.map +1 -0
  87. package/dist/css/FontFace.css +13 -1
  88. package/dist/css/SystemCSSVars.css +0 -8
  89. package/dist/decorators/customElement.d.ts +3 -3
  90. package/dist/decorators/customElement.js +11 -6
  91. package/dist/decorators/customElement.js.map +1 -1
  92. package/dist/decorators/event.d.ts +5 -2
  93. package/dist/decorators/event.js.map +1 -1
  94. package/dist/decorators.d.ts +5 -0
  95. package/dist/decorators.js +6 -0
  96. package/dist/decorators.js.map +1 -0
  97. package/dist/delegate/ItemNavigation.d.ts +9 -8
  98. package/dist/delegate/ItemNavigation.js +12 -13
  99. package/dist/delegate/ItemNavigation.js.map +1 -1
  100. package/dist/delegate/ResizeHandler.d.ts +4 -6
  101. package/dist/delegate/ResizeHandler.js +4 -6
  102. package/dist/delegate/ResizeHandler.js.map +1 -1
  103. package/dist/delegate/ScrollEnablement.js +2 -2
  104. package/dist/delegate/ScrollEnablement.js.map +1 -1
  105. package/dist/features/InputElementsFormSupport.d.ts +18 -0
  106. package/dist/features/InputElementsFormSupport.js +40 -0
  107. package/dist/features/InputElementsFormSupport.js.map +1 -0
  108. package/dist/features/OpenUI5Enablement.d.ts +1 -1
  109. package/dist/features/OpenUI5Support.d.ts +0 -2
  110. package/dist/features/OpenUI5Support.js +8 -22
  111. package/dist/features/OpenUI5Support.js.map +1 -1
  112. package/dist/features/patchPatcher.d.ts +11 -0
  113. package/dist/features/patchPatcher.js +11 -0
  114. package/dist/features/patchPatcher.js.map +1 -0
  115. package/dist/features/patchPopup.d.ts +14 -0
  116. package/dist/features/patchPopup.js +50 -0
  117. package/dist/features/patchPopup.js.map +1 -0
  118. package/dist/generated/AssetParameters.d.ts +6 -0
  119. package/dist/generated/AssetParameters.js +3 -10
  120. package/dist/generated/AssetParameters.js.map +1 -0
  121. package/dist/generated/VersionInfo.d.ts +10 -0
  122. package/dist/generated/VersionInfo.js +9 -8
  123. package/dist/generated/VersionInfo.js.map +1 -0
  124. package/dist/generated/css/FontFace.css.js +1 -1
  125. package/dist/generated/css/FontFace.css.js.map +1 -1
  126. package/dist/generated/css/SystemCSSVars.css.js +1 -1
  127. package/dist/generated/css/SystemCSSVars.css.js.map +1 -1
  128. package/dist/generated/templates/elements/WithComplexTemplateTemplate.lit.d.ts +1 -1
  129. package/dist/i18nBundle.d.ts +1 -3
  130. package/dist/i18nBundle.js +1 -4
  131. package/dist/i18nBundle.js.map +1 -1
  132. package/dist/locale/applyDirection.d.ts +3 -2
  133. package/dist/locale/applyDirection.js +3 -2
  134. package/dist/locale/applyDirection.js.map +1 -1
  135. package/dist/locale/getEffectiveDir.d.ts +1 -1
  136. package/dist/locale/getEffectiveDir.js +3 -19
  137. package/dist/locale/getEffectiveDir.js.map +1 -1
  138. package/dist/renderer/LitRenderer.d.ts +2 -2
  139. package/dist/renderer/LitRenderer.js +2 -8
  140. package/dist/renderer/LitRenderer.js.map +1 -1
  141. package/dist/renderer/directives/style-map.d.ts +13 -0
  142. package/dist/renderer/directives/style-map.js +59 -59
  143. package/dist/renderer/directives/style-map.js.map +1 -0
  144. package/dist/renderer/executeTemplate.d.ts +8 -0
  145. package/dist/renderer/executeTemplate.js +1 -0
  146. package/dist/renderer/executeTemplate.js.map +1 -1
  147. package/dist/sap/base/Log.js +698 -188
  148. package/dist/sap/base/assert.js +28 -1
  149. package/dist/sap/base/config/MemoryConfigurationProvider.js +20 -0
  150. package/dist/sap/base/security/URLListValidator.js +253 -6
  151. package/dist/sap/base/security/encodeCSS.js +34 -8
  152. package/dist/sap/base/security/encodeXML.js +47 -17
  153. package/dist/sap/base/security/sanitizeHTML.js +35 -13
  154. package/dist/sap/base/strings/toHex.js +27 -2
  155. package/dist/sap/base/util/now.js +24 -3
  156. package/dist/sap/base/util/uid.js +27 -0
  157. package/dist/sap/ui/thirdparty/caja-html-sanitizer.js +1 -1
  158. package/dist/ssr-dom-shim.d.ts +1 -0
  159. package/dist/ssr-dom-shim.js +12 -0
  160. package/dist/ssr-dom-shim.js.map +1 -0
  161. package/dist/ssr-dom.d.ts +0 -0
  162. package/dist/ssr-dom.js +0 -0
  163. package/dist/theming/applyTheme.js +5 -6
  164. package/dist/theming/applyTheme.js.map +1 -1
  165. package/dist/theming/getConstructableStyle.d.ts +1 -1
  166. package/dist/theming/getConstructableStyle.js +3 -3
  167. package/dist/theming/getConstructableStyle.js.map +1 -1
  168. package/dist/theming/getEffectiveStyle.d.ts +1 -1
  169. package/dist/theming/getEffectiveStyle.js +5 -12
  170. package/dist/theming/getEffectiveStyle.js.map +1 -1
  171. package/dist/types/AnimationMode.d.ts +0 -8
  172. package/dist/types/AnimationMode.js +0 -8
  173. package/dist/types/AnimationMode.js.map +1 -1
  174. package/dist/types/AriaHasPopup.d.ts +32 -0
  175. package/dist/types/AriaHasPopup.js +34 -0
  176. package/dist/types/AriaHasPopup.js.map +1 -0
  177. package/dist/types/AriaLandmarkRole.d.ts +79 -0
  178. package/dist/types/AriaLandmarkRole.js +81 -0
  179. package/dist/types/AriaLandmarkRole.js.map +1 -0
  180. package/dist/types/AriaRole.d.ts +27 -0
  181. package/dist/types/AriaRole.js +29 -0
  182. package/dist/types/AriaRole.js.map +1 -0
  183. package/dist/types/CSSColor.d.ts +0 -4
  184. package/dist/types/CSSColor.js +0 -4
  185. package/dist/types/CSSColor.js.map +1 -1
  186. package/dist/types/CSSSize.d.ts +11 -0
  187. package/dist/types/CSSSize.js +14 -0
  188. package/dist/types/CSSSize.js.map +1 -0
  189. package/dist/types/CalendarType.d.ts +0 -9
  190. package/dist/types/CalendarType.js +0 -9
  191. package/dist/types/CalendarType.js.map +1 -1
  192. package/dist/types/DOMReference.d.ts +1 -5
  193. package/dist/types/DOMReference.js +1 -5
  194. package/dist/types/DOMReference.js.map +1 -1
  195. package/dist/types/DataType.d.ts +1 -6
  196. package/dist/types/DataType.js +1 -6
  197. package/dist/types/DataType.js.map +1 -1
  198. package/dist/types/Float.d.ts +0 -3
  199. package/dist/types/Float.js +0 -3
  200. package/dist/types/Float.js.map +1 -1
  201. package/dist/types/Integer.d.ts +0 -3
  202. package/dist/types/Integer.js +0 -3
  203. package/dist/types/Integer.js.map +1 -1
  204. package/dist/types/InvisibleMessageMode.d.ts +5 -10
  205. package/dist/types/InvisibleMessageMode.js +4 -11
  206. package/dist/types/InvisibleMessageMode.js.map +1 -1
  207. package/dist/types/ItemNavigationBehavior.d.ts +0 -6
  208. package/dist/types/ItemNavigationBehavior.js +0 -6
  209. package/dist/types/ItemNavigationBehavior.js.map +1 -1
  210. package/dist/types/MovePlacement.d.ts +20 -0
  211. package/dist/types/MovePlacement.js +22 -0
  212. package/dist/types/MovePlacement.js.map +1 -0
  213. package/dist/types/NavigationMode.d.ts +0 -8
  214. package/dist/types/NavigationMode.js +0 -8
  215. package/dist/types/NavigationMode.js.map +1 -1
  216. package/dist/types/Orientation.d.ts +16 -0
  217. package/dist/types/Orientation.js +18 -0
  218. package/dist/types/Orientation.js.map +1 -0
  219. package/dist/types/ValueState.d.ts +3 -17
  220. package/dist/types/ValueState.js +3 -17
  221. package/dist/types/ValueState.js.map +1 -1
  222. package/dist/types.d.ts +24 -1
  223. package/dist/types.js.map +1 -1
  224. package/dist/updateShadowRoot.d.ts +1 -2
  225. package/dist/updateShadowRoot.js +5 -28
  226. package/dist/updateShadowRoot.js.map +1 -1
  227. package/dist/util/ColorConversion.js +200 -195
  228. package/dist/util/ColorConversion.js.map +1 -1
  229. package/dist/util/InvisibleMessage.d.ts +1 -1
  230. package/dist/util/InvisibleMessage.js +2 -2
  231. package/dist/util/InvisibleMessage.js.map +1 -1
  232. package/dist/util/PopupUtils.d.ts +1 -3
  233. package/dist/util/PopupUtils.js +1 -15
  234. package/dist/util/PopupUtils.js.map +1 -1
  235. package/dist/util/clamp.js +2 -1
  236. package/dist/util/clamp.js.map +1 -1
  237. package/dist/util/createLinkInHead.d.ts +1 -1
  238. package/dist/util/createLinkInHead.js +1 -1
  239. package/dist/util/createLinkInHead.js.map +1 -1
  240. package/dist/util/detectNavigatorLanguage.d.ts +2 -2
  241. package/dist/util/detectNavigatorLanguage.js +6 -1
  242. package/dist/util/detectNavigatorLanguage.js.map +1 -1
  243. package/dist/util/dragAndDrop/DragRegistry.d.ts +12 -0
  244. package/dist/util/dragAndDrop/DragRegistry.js +68 -0
  245. package/dist/util/dragAndDrop/DragRegistry.js.map +1 -0
  246. package/dist/util/dragAndDrop/findClosestPosition.d.ts +7 -0
  247. package/dist/util/dragAndDrop/findClosestPosition.js +59 -0
  248. package/dist/util/dragAndDrop/findClosestPosition.js.map +1 -0
  249. package/dist/util/dragAndDrop/longDragOverHandler.d.ts +2 -0
  250. package/dist/util/dragAndDrop/longDragOverHandler.js +25 -0
  251. package/dist/util/dragAndDrop/longDragOverHandler.js.map +1 -0
  252. package/dist/util/getClassCopy.d.ts +64 -43
  253. package/dist/util/getDesigntimePropertyAsArray.d.ts +2 -2
  254. package/dist/util/getDesigntimePropertyAsArray.js +2 -1
  255. package/dist/util/getDesigntimePropertyAsArray.js.map +1 -1
  256. package/dist/util/getParentElement.d.ts +2 -0
  257. package/dist/util/getParentElement.js +5 -0
  258. package/dist/util/getParentElement.js.map +1 -0
  259. package/dist/util/isElementContainingBlock.d.ts +2 -0
  260. package/dist/util/isElementContainingBlock.js +11 -0
  261. package/dist/util/isElementContainingBlock.js.map +1 -0
  262. package/index.js +3 -19
  263. package/package-scripts.cjs +22 -19
  264. package/package.json +23 -8
  265. package/src/css/FontFace.css +13 -1
  266. package/src/css/SystemCSSVars.css +0 -8
  267. package/tsconfig.json +6 -0
  268. package/.eslintignore +0 -16
  269. package/.eslintrc.cjs +0 -3
  270. package/bundle.esm.js +0 -67
  271. package/dist/CSP.d.ts +0 -30
  272. package/dist/CSP.js +0 -51
  273. package/dist/CSP.js.map +0 -1
  274. package/dist/StaticArea.d.ts +0 -3
  275. package/dist/StaticArea.js +0 -7
  276. package/dist/StaticArea.js.map +0 -1
  277. package/dist/StaticAreaItem.d.ts +0 -37
  278. package/dist/StaticAreaItem.js +0 -105
  279. package/dist/StaticAreaItem.js.map +0 -1
  280. package/dist/api.json +0 -1
  281. package/dist/assets/Boot.34b7cea0.css +0 -1
  282. package/dist/assets/Boot.f668b2d0.js +0 -9
  283. package/dist/assets/bundle.esm.88a9eda7.js +0 -50
  284. package/dist/assets-meta/IconCollectionsAlias.js.map +0 -1
  285. package/dist/config/RTL.d.ts +0 -7
  286. package/dist/config/RTL.js +0 -37
  287. package/dist/config/RTL.js.map +0 -1
  288. package/dist/theming/getEffectiveLinksHrefs.d.ts +0 -3
  289. package/dist/theming/getEffectiveLinksHrefs.js +0 -17
  290. package/dist/theming/getEffectiveLinksHrefs.js.map +0 -1
  291. package/dist/theming/preloadLinks.d.ts +0 -3
  292. package/dist/theming/preloadLinks.js +0 -19
  293. package/dist/theming/preloadLinks.js.map +0 -1
  294. package/dist/util/createStyleInHead.d.ts +0 -8
  295. package/dist/util/createStyleInHead.js +0 -18
  296. package/dist/util/createStyleInHead.js.map +0 -1
  297. package/lib/generate-asset-parameters/index.js +0 -27
  298. package/lib/generate-styles/index.js +0 -31
  299. package/lib/generate-version-info/index.js +0 -32
  300. package/src/renderer/directives/style-map.js +0 -72
  301. package/used-modules.txt +0 -10
package/.eslintignore DELETED
@@ -1,16 +0,0 @@
1
- # Note: Changes to this file also must be applied to the top level .eslintignore file.
2
- test
3
- lib
4
- dist
5
- jsdoc-dist
6
- src/generated
7
- src/thirdparty
8
- bundle.esm.js
9
- bundle.es5.js
10
- rollup.config*.js
11
- wdio.conf.cjs
12
- postcss.config.cjs
13
- package-scripts.cjs
14
- .eslintrc.cjs
15
- src/renderer/directives/style-map.js
16
- src/util/metaUrl.js
package/.eslintrc.cjs DELETED
@@ -1,3 +0,0 @@
1
- const config = require("@ui5/webcomponents-tools/components-package/eslint.js");
2
-
3
- module.exports = config;
package/bundle.esm.js DELETED
@@ -1,67 +0,0 @@
1
- import { registerThemePropertiesLoader } from "./dist/AssetRegistry.js";
2
- import EventProvider from "./dist/EventProvider.js";
3
-
4
- // ESM bundle targets browsers with native support
5
- import "./dist/features/OpenUI5Support.js";
6
-
7
- // Test components
8
- import "./test/elements/Generic.js";
9
- import "./test/elements/NoShadowDOM.js";
10
- import "./test/elements/Parent.js";
11
- import "./test/elements/Child.js";
12
- import "./test/elements/WithStaticArea.js";
13
- import "./test/elements/WithComplexTemplate.js";
14
- import "./test/elements/GenericExt.js";
15
-
16
- // Test themes - CSS Vars for the sap_fiori_3, sap_fiori_3_dark, sap_belize and sap_belize_hcb themes
17
- import "./test/assets/Themes.js";
18
-
19
- // used in test pages
20
- import { renderFinished } from "./dist/Render.js";
21
-
22
- // used for tests - to register a custom theme
23
- window.registerThemePropertiesLoader = registerThemePropertiesLoader;
24
-
25
- // i18n
26
- import { registerI18nLoader, getI18nBundle } from "./dist/i18nBundle.js";
27
- import parseProperties from "./dist/PropertiesFileFormat.js";
28
-
29
- // Note: keep in sync with rollup.config value for IIFE
30
- import { getAnimationMode } from "./dist/config/AnimationMode.js";
31
- import { getLanguage, setLanguage } from "./dist/config/Language.js";
32
- import { getCalendarType } from "./dist/config/CalendarType.js";
33
- import { getTheme, setTheme } from "./dist/config/Theme.js";
34
- import { getThemeRoot, setThemeRoot } from "./dist/config/ThemeRoot.js";
35
- import { getNoConflict, setNoConflict } from "./dist/config/NoConflict.js";
36
- import { getRTL } from "./dist/config/RTL.js";
37
- import { getFirstDayOfWeek, getLegacyDateCalendarCustomizing } from "./dist/config/FormatSettings.js";
38
- import { _getRegisteredNames as getIconNames } from "./dist/asset-registries/Icons.js"
39
- import applyDirection from "./dist/locale/applyDirection.js";
40
- import { getCurrentRuntimeIndex } from "./dist/Runtimes.js";
41
- import LegacyDateFormats from "./dist/features/LegacyDateFormats.js";
42
-
43
- window["sap-ui-webcomponents-bundle"] = {
44
- configuration : {
45
- getAnimationMode,
46
- getLanguage,
47
- setLanguage,
48
- getTheme,
49
- getThemeRoot,
50
- setThemeRoot,
51
- setTheme,
52
- getNoConflict,
53
- setNoConflict,
54
- getCalendarType,
55
- getRTL,
56
- getFirstDayOfWeek,
57
- getLegacyDateCalendarCustomizing,
58
- },
59
- getCurrentRuntimeIndex,
60
- getIconNames,
61
- parseProperties,
62
- registerI18nLoader,
63
- getI18nBundle,
64
- renderFinished,
65
- applyDirection,
66
- EventProvider,
67
- };
package/dist/CSP.d.ts DELETED
@@ -1,30 +0,0 @@
1
- /**
2
- * Use this function to provide the path to the directory where the css resources for the given package will be served from.
3
- *
4
- * @public
5
- * @param packageName name of the package that is being configured
6
- * @param root path, accessible by the server that will serve the css resources
7
- */
8
- declare const setPackageCSSRoot: (packageName: string, root: string) => void;
9
- declare const getUrl: (packageName: string, path: string) => string;
10
- /**
11
- * Call this function to enable or disable the usage of <link> tags instead of <style> tags to achieve CSP compliance
12
- * Example: "setUseLinks(true)" will unconditionally use <link> tags for all browsers;
13
- * Example: "setUseLinks(!document.adoptedStyleSheets) will only enable the usage of <link> tags for browsers that do not support constructable stylesheets.
14
- *
15
- * @public
16
- * @param use whether links will be used
17
- */
18
- declare const setUseLinks: (use: boolean) => void;
19
- /**
20
- * Call this function to enable or disable the preloading of <link> tags.
21
- * Note: only taken into account when <link> tags are being used.
22
- * Note: links are being preloaded by default, so call "setPreloadLinks(false)" to opt out of this.
23
- *
24
- * @public
25
- * @param preload
26
- */
27
- declare const setPreloadLinks: (preload: boolean) => void;
28
- declare const shouldUseLinks: () => boolean;
29
- declare const shouldPreloadLinks: () => boolean;
30
- export { setPackageCSSRoot, getUrl, setUseLinks, setPreloadLinks, shouldUseLinks, shouldPreloadLinks, };
package/dist/CSP.js DELETED
@@ -1,51 +0,0 @@
1
- const roots = new Map();
2
- let useLinks = false;
3
- let preloadLinks = true;
4
- /**
5
- * Use this function to provide the path to the directory where the css resources for the given package will be served from.
6
- *
7
- * @public
8
- * @param packageName name of the package that is being configured
9
- * @param root path, accessible by the server that will serve the css resources
10
- */
11
- const setPackageCSSRoot = (packageName, root) => {
12
- roots.set(packageName, root);
13
- };
14
- const getUrl = (packageName, path) => {
15
- const packageCSSRoot = roots.get(packageName);
16
- if (!packageCSSRoot) {
17
- console.warn(`Root path to the CSS resources ${packageName} not provided - use "setPackageCSSRoot" to provide the root.`); // eslint-disable-line
18
- return "";
19
- }
20
- return `${packageCSSRoot}${path}`;
21
- };
22
- /**
23
- * Call this function to enable or disable the usage of <link> tags instead of <style> tags to achieve CSP compliance
24
- * Example: "setUseLinks(true)" will unconditionally use <link> tags for all browsers;
25
- * Example: "setUseLinks(!document.adoptedStyleSheets) will only enable the usage of <link> tags for browsers that do not support constructable stylesheets.
26
- *
27
- * @public
28
- * @param use whether links will be used
29
- */
30
- const setUseLinks = (use) => {
31
- useLinks = use;
32
- };
33
- /**
34
- * Call this function to enable or disable the preloading of <link> tags.
35
- * Note: only taken into account when <link> tags are being used.
36
- * Note: links are being preloaded by default, so call "setPreloadLinks(false)" to opt out of this.
37
- *
38
- * @public
39
- * @param preload
40
- */
41
- const setPreloadLinks = (preload) => {
42
- preloadLinks = preload;
43
- };
44
- const shouldUseLinks = () => {
45
- return useLinks;
46
- };
47
- const shouldPreloadLinks = () => {
48
- return preloadLinks;
49
- };
50
- export { setPackageCSSRoot, getUrl, setUseLinks, setPreloadLinks, shouldUseLinks, shouldPreloadLinks, };
51
- //# sourceMappingURL=CSP.js.map
package/dist/CSP.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"CSP.js","sourceRoot":"","sources":["../src/CSP.ts"],"names":[],"mappings":"AAAA,MAAM,KAAK,GAAG,IAAI,GAAG,EAAkB,CAAC;AACxC,IAAI,QAAQ,GAAG,KAAK,CAAC;AACrB,IAAI,YAAY,GAAG,IAAI,CAAC;AAExB;;;;;;GAMG;AACH,MAAM,iBAAiB,GAAG,CAAC,WAAmB,EAAE,IAAY,EAAE,EAAE;IAC/D,KAAK,CAAC,GAAG,CAAC,WAAW,EAAE,IAAI,CAAC,CAAC;AAC9B,CAAC,CAAC;AAEF,MAAM,MAAM,GAAG,CAAC,WAAmB,EAAE,IAAY,EAAE,EAAE;IACpD,MAAM,cAAc,GAAG,KAAK,CAAC,GAAG,CAAC,WAAW,CAAC,CAAC;IAE9C,IAAI,CAAC,cAAc,EAAE;QACpB,OAAO,CAAC,IAAI,CAAC,kCAAkC,WAAW,8DAA8D,CAAC,CAAC,CAAC,sBAAsB;QACjJ,OAAO,EAAE,CAAC;KACV;IAED,OAAO,GAAG,cAAc,GAAG,IAAI,EAAE,CAAC;AACnC,CAAC,CAAC;AAEF;;;;;;;GAOG;AACH,MAAM,WAAW,GAAG,CAAC,GAAY,EAAE,EAAE;IACpC,QAAQ,GAAG,GAAG,CAAC;AAChB,CAAC,CAAC;AAEF;;;;;;;GAOG;AACH,MAAM,eAAe,GAAG,CAAC,OAAgB,EAAE,EAAE;IAC5C,YAAY,GAAG,OAAO,CAAC;AACxB,CAAC,CAAC;AAEF,MAAM,cAAc,GAAG,GAAG,EAAE;IAC3B,OAAO,QAAQ,CAAC;AACjB,CAAC,CAAC;AAEF,MAAM,kBAAkB,GAAG,GAAG,EAAE;IAC/B,OAAO,YAAY,CAAC;AACrB,CAAC,CAAC;AAEF,OAAO,EACN,iBAAiB,EACjB,MAAM,EACN,WAAW,EACX,eAAe,EACf,cAAc,EACd,kBAAkB,GAClB,CAAC","sourcesContent":["const roots = new Map<string, string>();\nlet useLinks = false;\nlet preloadLinks = true;\n\n/**\n * Use this function to provide the path to the directory where the css resources for the given package will be served from.\n *\n * @public\n * @param packageName name of the package that is being configured\n * @param root path, accessible by the server that will serve the css resources\n */\nconst setPackageCSSRoot = (packageName: string, root: string) => {\n\troots.set(packageName, root);\n};\n\nconst getUrl = (packageName: string, path: string) => {\n\tconst packageCSSRoot = roots.get(packageName);\n\n\tif (!packageCSSRoot) {\n\t\tconsole.warn(`Root path to the CSS resources ${packageName} not provided - use \"setPackageCSSRoot\" to provide the root.`); // eslint-disable-line\n\t\treturn \"\";\n\t}\n\n\treturn `${packageCSSRoot}${path}`;\n};\n\n/**\n * Call this function to enable or disable the usage of <link> tags instead of <style> tags to achieve CSP compliance\n * Example: \"setUseLinks(true)\" will unconditionally use <link> tags for all browsers;\n * Example: \"setUseLinks(!document.adoptedStyleSheets) will only enable the usage of <link> tags for browsers that do not support constructable stylesheets.\n *\n * @public\n * @param use whether links will be used\n */\nconst setUseLinks = (use: boolean) => {\n\tuseLinks = use;\n};\n\n/**\n * Call this function to enable or disable the preloading of <link> tags.\n * Note: only taken into account when <link> tags are being used.\n * Note: links are being preloaded by default, so call \"setPreloadLinks(false)\" to opt out of this.\n *\n * @public\n * @param preload\n */\nconst setPreloadLinks = (preload: boolean) => {\n\tpreloadLinks = preload;\n};\n\nconst shouldUseLinks = () => {\n\treturn useLinks;\n};\n\nconst shouldPreloadLinks = () => {\n\treturn preloadLinks;\n};\n\nexport {\n\tsetPackageCSSRoot,\n\tgetUrl,\n\tsetUseLinks,\n\tsetPreloadLinks,\n\tshouldUseLinks,\n\tshouldPreloadLinks,\n};\n"]}
@@ -1,3 +0,0 @@
1
- declare class StaticArea extends HTMLElement {
2
- }
3
- export default StaticArea;
@@ -1,7 +0,0 @@
1
- class StaticArea extends HTMLElement {
2
- }
3
- if (!customElements.get("ui5-static-area")) {
4
- customElements.define("ui5-static-area", StaticArea);
5
- }
6
- export default StaticArea;
7
- //# sourceMappingURL=StaticArea.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"StaticArea.js","sourceRoot":"","sources":["../src/StaticArea.ts"],"names":[],"mappings":"AAAA,MAAM,UAAW,SAAQ,WAAW;CAAG;AAEvC,IAAI,CAAC,cAAc,CAAC,GAAG,CAAC,iBAAiB,CAAC,EAAE;IAC3C,cAAc,CAAC,MAAM,CAAC,iBAAiB,EAAE,UAAU,CAAC,CAAC;CACrD;AAED,eAAe,UAAU,CAAC","sourcesContent":["class StaticArea extends HTMLElement {}\n\nif (!customElements.get(\"ui5-static-area\")) {\n\tcustomElements.define(\"ui5-static-area\", StaticArea);\n}\n\nexport default StaticArea;\n"]}
@@ -1,37 +0,0 @@
1
- import "./StaticArea.js";
2
- import type UI5Element from "./UI5Element.js";
3
- /**
4
- *
5
- * @class
6
- * @author SAP SE
7
- * @private
8
- */
9
- declare class StaticAreaItem extends HTMLElement {
10
- _rendered: boolean;
11
- ownerElement?: UI5Element;
12
- constructor();
13
- /**
14
- * @param {UI5Element} ownerElement the UI5Element instance that owns this static area item
15
- */
16
- setOwnerElement(ownerElement: UI5Element): void;
17
- /**
18
- * Updates the shadow root of the static area item with the latest state, if rendered
19
- */
20
- update(): void;
21
- updateAdditionalProperties(): void;
22
- /**
23
- * Sets the correct content density based on the owner element's state
24
- * @private
25
- */
26
- _updateContentDensity(): void;
27
- _updateDirection(): void;
28
- _updateAdditionalAttrs(): void;
29
- /**
30
- * @protected
31
- * Returns reference to the DOM element where the current fragment is added.
32
- */
33
- getDomRef(): Promise<ShadowRoot | null>;
34
- static getTag(): string;
35
- static createInstance(): StaticAreaItem;
36
- }
37
- export default StaticAreaItem;
@@ -1,105 +0,0 @@
1
- import "./StaticArea.js";
2
- import updateShadowRoot from "./updateShadowRoot.js";
3
- import { renderFinished } from "./Render.js";
4
- import getEffectiveContentDensity from "./util/getEffectiveContentDensity.js";
5
- import { getEffectiveScopingSuffixForTag } from "./CustomElementsScopeUtils.js";
6
- import getEffectiveDir from "./locale/getEffectiveDir.js";
7
- import { getCurrentRuntimeIndex } from "./Runtimes.js";
8
- const pureTagName = "ui5-static-area-item";
9
- const popupIntegrationAttr = "data-sap-ui-integration-popup-content";
10
- /**
11
- *
12
- * @class
13
- * @author SAP SE
14
- * @private
15
- */
16
- class StaticAreaItem extends HTMLElement {
17
- constructor() {
18
- super();
19
- this._rendered = false;
20
- this.attachShadow({ mode: "open" });
21
- }
22
- /**
23
- * @param {UI5Element} ownerElement the UI5Element instance that owns this static area item
24
- */
25
- setOwnerElement(ownerElement) {
26
- this.ownerElement = ownerElement;
27
- this.classList.add(this.ownerElement._id); // used for getting the popover in the tests
28
- if (this.ownerElement.hasAttribute("data-ui5-static-stable")) {
29
- this.setAttribute("data-ui5-stable", this.ownerElement.getAttribute("data-ui5-static-stable")); // stable selector
30
- }
31
- }
32
- /**
33
- * Updates the shadow root of the static area item with the latest state, if rendered
34
- */
35
- update() {
36
- if (this._rendered) {
37
- this.updateAdditionalProperties();
38
- updateShadowRoot(this.ownerElement, true);
39
- }
40
- }
41
- updateAdditionalProperties() {
42
- this._updateAdditionalAttrs();
43
- this._updateContentDensity();
44
- this._updateDirection();
45
- }
46
- /**
47
- * Sets the correct content density based on the owner element's state
48
- * @private
49
- */
50
- _updateContentDensity() {
51
- if (getEffectiveContentDensity(this.ownerElement) === "compact") {
52
- this.classList.add("sapUiSizeCompact");
53
- this.classList.add("ui5-content-density-compact");
54
- }
55
- else {
56
- this.classList.remove("sapUiSizeCompact");
57
- this.classList.remove("ui5-content-density-compact");
58
- }
59
- }
60
- _updateDirection() {
61
- if (this.ownerElement) {
62
- const dir = getEffectiveDir(this.ownerElement);
63
- if (dir) {
64
- this.setAttribute("dir", dir);
65
- }
66
- else {
67
- this.removeAttribute("dir");
68
- }
69
- }
70
- }
71
- _updateAdditionalAttrs() {
72
- this.setAttribute(`_ui5rt${getCurrentRuntimeIndex()}`, "");
73
- this.setAttribute("_ui5host", "");
74
- this.setAttribute(pureTagName, "");
75
- this.setAttribute(popupIntegrationAttr, "");
76
- }
77
- /**
78
- * @protected
79
- * Returns reference to the DOM element where the current fragment is added.
80
- */
81
- async getDomRef() {
82
- this.updateAdditionalProperties();
83
- if (!this._rendered) {
84
- this._rendered = true;
85
- updateShadowRoot(this.ownerElement, true);
86
- }
87
- await renderFinished(); // Wait for the content of the ui5-static-area-item to be rendered
88
- return this.shadowRoot;
89
- }
90
- static getTag() {
91
- const suffix = getEffectiveScopingSuffixForTag(pureTagName);
92
- if (!suffix) {
93
- return pureTagName;
94
- }
95
- return `${pureTagName}-${suffix}`;
96
- }
97
- static createInstance() {
98
- if (!customElements.get(StaticAreaItem.getTag())) {
99
- customElements.define(StaticAreaItem.getTag(), StaticAreaItem);
100
- }
101
- return document.createElement(this.getTag());
102
- }
103
- }
104
- export default StaticAreaItem;
105
- //# sourceMappingURL=StaticAreaItem.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"StaticAreaItem.js","sourceRoot":"","sources":["../src/StaticAreaItem.ts"],"names":[],"mappings":"AAAA,OAAO,iBAAiB,CAAC;AACzB,OAAO,gBAAgB,MAAM,uBAAuB,CAAC;AACrD,OAAO,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAC7C,OAAO,0BAA0B,MAAM,sCAAsC,CAAC;AAC9E,OAAO,EAAE,+BAA+B,EAAE,MAAM,+BAA+B,CAAC;AAChF,OAAO,eAAe,MAAM,6BAA6B,CAAC;AAE1D,OAAO,EAAE,sBAAsB,EAAE,MAAM,eAAe,CAAC;AAEvD,MAAM,WAAW,GAAG,sBAAsB,CAAC;AAC3C,MAAM,oBAAoB,GAAG,uCAAuC,CAAC;AAErE;;;;;GAKG;AACH,MAAM,cAAe,SAAQ,WAAW;IAIvC;QACC,KAAK,EAAE,CAAC;QACR,IAAI,CAAC,SAAS,GAAG,KAAK,CAAC;QACvB,IAAI,CAAC,YAAY,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC,CAAC;IACrC,CAAC;IAED;;OAEG;IACH,eAAe,CAAC,YAAwB;QACvC,IAAI,CAAC,YAAY,GAAG,YAAY,CAAC;QACjC,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,IAAI,CAAC,YAAY,CAAC,GAAG,CAAC,CAAC,CAAC,4CAA4C;QACvF,IAAI,IAAI,CAAC,YAAY,CAAC,YAAY,CAAC,wBAAwB,CAAC,EAAE;YAC7D,IAAI,CAAC,YAAY,CAAC,iBAAiB,EAAE,IAAI,CAAC,YAAY,CAAC,YAAY,CAAC,wBAAwB,CAAE,CAAC,CAAC,CAAC,kBAAkB;SACnH;IACF,CAAC;IAED;;OAEG;IACH,MAAM;QACL,IAAI,IAAI,CAAC,SAAS,EAAE;YACnB,IAAI,CAAC,0BAA0B,EAAE,CAAC;YAClC,gBAAgB,CAAC,IAAI,CAAC,YAAa,EAAE,IAAI,CAAC,CAAC;SAC3C;IACF,CAAC;IAED,0BAA0B;QACzB,IAAI,CAAC,sBAAsB,EAAE,CAAC;QAC9B,IAAI,CAAC,qBAAqB,EAAE,CAAC;QAC7B,IAAI,CAAC,gBAAgB,EAAE,CAAC;IACzB,CAAC;IAED;;;OAGG;IACH,qBAAqB;QACpB,IAAI,0BAA0B,CAAC,IAAI,CAAC,YAAa,CAAC,KAAK,SAAS,EAAE;YACjE,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,kBAAkB,CAAC,CAAC;YACvC,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,6BAA6B,CAAC,CAAC;SAClD;aAAM;YACN,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC,kBAAkB,CAAC,CAAC;YAC1C,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC,6BAA6B,CAAC,CAAC;SACrD;IACF,CAAC;IAED,gBAAgB;QACf,IAAI,IAAI,CAAC,YAAY,EAAE;YACtB,MAAM,GAAG,GAAG,eAAe,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;YAC/C,IAAI,GAAG,EAAE;gBACR,IAAI,CAAC,YAAY,CAAC,KAAK,EAAE,GAAG,CAAC,CAAC;aAC9B;iBAAM;gBACN,IAAI,CAAC,eAAe,CAAC,KAAK,CAAC,CAAC;aAC5B;SACD;IACF,CAAC;IAED,sBAAsB;QACrB,IAAI,CAAC,YAAY,CAAC,SAAS,sBAAsB,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;QAC3D,IAAI,CAAC,YAAY,CAAC,UAAU,EAAE,EAAE,CAAC,CAAC;QAClC,IAAI,CAAC,YAAY,CAAC,WAAW,EAAE,EAAE,CAAC,CAAC;QACnC,IAAI,CAAC,YAAY,CAAC,oBAAoB,EAAE,EAAE,CAAC,CAAC;IAC7C,CAAC;IAED;;;OAGG;IACH,KAAK,CAAC,SAAS;QACd,IAAI,CAAC,0BAA0B,EAAE,CAAC;QAClC,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE;YACpB,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC;YACtB,gBAAgB,CAAC,IAAI,CAAC,YAAa,EAAE,IAAI,CAAC,CAAC;SAC3C;QACD,MAAM,cAAc,EAAE,CAAC,CAAC,kEAAkE;QAC1F,OAAO,IAAI,CAAC,UAAU,CAAC;IACxB,CAAC;IAED,MAAM,CAAC,MAAM;QACZ,MAAM,MAAM,GAAG,+BAA+B,CAAC,WAAW,CAAC,CAAC;QAC5D,IAAI,CAAC,MAAM,EAAE;YACZ,OAAO,WAAW,CAAC;SACnB;QAED,OAAO,GAAG,WAAW,IAAI,MAAM,EAAE,CAAC;IACnC,CAAC;IAED,MAAM,CAAC,cAAc;QACpB,IAAI,CAAC,cAAc,CAAC,GAAG,CAAC,cAAc,CAAC,MAAM,EAAE,CAAC,EAAE;YACjD,cAAc,CAAC,MAAM,CAAC,cAAc,CAAC,MAAM,EAAE,EAAE,cAAc,CAAC,CAAC;SAC/D;QAED,OAAO,QAAQ,CAAC,aAAa,CAAC,IAAI,CAAC,MAAM,EAAE,CAAmB,CAAC;IAChE,CAAC;CACD;AAED,eAAe,cAAc,CAAC","sourcesContent":["import \"./StaticArea.js\";\nimport updateShadowRoot from \"./updateShadowRoot.js\";\nimport { renderFinished } from \"./Render.js\";\nimport getEffectiveContentDensity from \"./util/getEffectiveContentDensity.js\";\nimport { getEffectiveScopingSuffixForTag } from \"./CustomElementsScopeUtils.js\";\nimport getEffectiveDir from \"./locale/getEffectiveDir.js\";\nimport type UI5Element from \"./UI5Element.js\";\nimport { getCurrentRuntimeIndex } from \"./Runtimes.js\";\n\nconst pureTagName = \"ui5-static-area-item\";\nconst popupIntegrationAttr = \"data-sap-ui-integration-popup-content\";\n\n/**\n *\n * @class\n * @author SAP SE\n * @private\n */\nclass StaticAreaItem extends HTMLElement {\n\t_rendered: boolean;\n\townerElement?: UI5Element;\n\n\tconstructor() {\n\t\tsuper();\n\t\tthis._rendered = false;\n\t\tthis.attachShadow({ mode: \"open\" });\n\t}\n\n\t/**\n\t * @param {UI5Element} ownerElement the UI5Element instance that owns this static area item\n\t */\n\tsetOwnerElement(ownerElement: UI5Element) {\n\t\tthis.ownerElement = ownerElement;\n\t\tthis.classList.add(this.ownerElement._id); // used for getting the popover in the tests\n\t\tif (this.ownerElement.hasAttribute(\"data-ui5-static-stable\")) {\n\t\t\tthis.setAttribute(\"data-ui5-stable\", this.ownerElement.getAttribute(\"data-ui5-static-stable\")!); // stable selector\n\t\t}\n\t}\n\n\t/**\n\t * Updates the shadow root of the static area item with the latest state, if rendered\n\t */\n\tupdate() {\n\t\tif (this._rendered) {\n\t\t\tthis.updateAdditionalProperties();\n\t\t\tupdateShadowRoot(this.ownerElement!, true);\n\t\t}\n\t}\n\n\tupdateAdditionalProperties() {\n\t\tthis._updateAdditionalAttrs();\n\t\tthis._updateContentDensity();\n\t\tthis._updateDirection();\n\t}\n\n\t/**\n\t * Sets the correct content density based on the owner element's state\n\t * @private\n\t */\n\t_updateContentDensity() {\n\t\tif (getEffectiveContentDensity(this.ownerElement!) === \"compact\") {\n\t\t\tthis.classList.add(\"sapUiSizeCompact\");\n\t\t\tthis.classList.add(\"ui5-content-density-compact\");\n\t\t} else {\n\t\t\tthis.classList.remove(\"sapUiSizeCompact\");\n\t\t\tthis.classList.remove(\"ui5-content-density-compact\");\n\t\t}\n\t}\n\n\t_updateDirection() {\n\t\tif (this.ownerElement) {\n\t\t\tconst dir = getEffectiveDir(this.ownerElement);\n\t\t\tif (dir) {\n\t\t\t\tthis.setAttribute(\"dir\", dir);\n\t\t\t} else {\n\t\t\t\tthis.removeAttribute(\"dir\");\n\t\t\t}\n\t\t}\n\t}\n\n\t_updateAdditionalAttrs() {\n\t\tthis.setAttribute(`_ui5rt${getCurrentRuntimeIndex()}`, \"\");\n\t\tthis.setAttribute(\"_ui5host\", \"\");\n\t\tthis.setAttribute(pureTagName, \"\");\n\t\tthis.setAttribute(popupIntegrationAttr, \"\");\n\t}\n\n\t/**\n\t * @protected\n\t * Returns reference to the DOM element where the current fragment is added.\n\t */\n\tasync getDomRef() {\n\t\tthis.updateAdditionalProperties();\n\t\tif (!this._rendered) {\n\t\t\tthis._rendered = true;\n\t\t\tupdateShadowRoot(this.ownerElement!, true);\n\t\t}\n\t\tawait renderFinished(); // Wait for the content of the ui5-static-area-item to be rendered\n\t\treturn this.shadowRoot;\n\t}\n\n\tstatic getTag() {\n\t\tconst suffix = getEffectiveScopingSuffixForTag(pureTagName);\n\t\tif (!suffix) {\n\t\t\treturn pureTagName;\n\t\t}\n\n\t\treturn `${pureTagName}-${suffix}`;\n\t}\n\n\tstatic createInstance() {\n\t\tif (!customElements.get(StaticAreaItem.getTag())) {\n\t\t\tcustomElements.define(StaticAreaItem.getTag(), StaticAreaItem);\n\t\t}\n\n\t\treturn document.createElement(this.getTag()) as StaticAreaItem;\n\t}\n}\n\nexport default StaticAreaItem;\n"]}
package/dist/api.json DELETED
@@ -1 +0,0 @@
1
- {"$schema-ref":"http://schemas.sap.com/sapui5/designtime/api.json/1.0","version":"1.62","symbols":[{"kind":"class","name":"I18nBundle","basename":"I18nBundle","resource":"i18nBundle.js","module":"i18nBundle","visibility":"public","constructor":{"visibility":"public"},"methods":[{"name":"getText","visibility":"public","returnValue":{"type":"string"},"parameters":[{"name":"textObj","type":"Object|String","optional":false,"description":"key/defaultText pair or just the key"},{"name":"params","type":"undefined","optional":false,"description":"Values for the placeholders"}],"description":"Returns a text in the currently loaded language"}]},{"kind":"class","name":"ItemNavigation","basename":"ItemNavigation","resource":"delegate/ItemNavigation.js","module":"delegate/ItemNavigation","visibility":"public","description":"The ItemNavigation class manages the calculations to determine the correct \"tabindex\" for a group of related items inside a root component. Important: ItemNavigation only does the calculations and does not change \"tabindex\" directly, this is a responsibility of the developer.\n\nThe keys that trigger ItemNavigation are: - Up/down - Left/right - Home/End\n\nUsage: 1) Use the \"getItemsCallback\" constructor property to pass a callback to ItemNavigation, which, whenever called, will return the list of items to navigate among.\n\nEach item passed to ItemNavigation via \"getItemsCallback\" must be: - A) either a UI5Element with a \"_tabIndex\" property - B) or an Object with \"id\" and \"_tabIndex\" properties which represents a part of the root component's shadow DOM. The \"id\" must be a valid ID within the shadow root of the component ItemNavigation operates on. This object must not be a DOM object because, as said, ItemNavigation will not set \"tabindex\" on it. It must be a representation of a DOM object only and the developer has the responsibility to update the \"tabindex\" in the component's DOM. - C) a combination of the above\n\nWhenever the user navigates with the keyboard, ItemNavigation will modify the \"_tabIndex\" properties of the items. It is the items' responsibilities to re-render themselves and apply the correct value of \"tabindex\" (i.e. to map the \"_tabIndex\" ItemNavigation set to them to the \"tabindex\" property). If the items of the ItemNavigation are UI5Elements themselves, this can happen naturally since they will be invalidated by their \"_tabIndex\" property. If the items are Objects with \"id\" and \"_tabIndex\" however, it is the developer's responsibility to apply these and the easiest way is to have the root component invalidated by ItemNavigation. To do so, set the \"affectedPropertiesNames\" constructor property to point to one or more of the root component's properties that need refreshing when \"_tabIndex\" is changed deeply.\n\n2) Call the \"setCurrentItem\" method of ItemNavigation whenever you want to change the current item. This is most commonly required if the user for example clicks on an item and thus selects it directly. Pass as the only argument to \"setCurrentItem\" the item that becomes current (must be one of the items, returned by \"getItemsCallback\").","constructor":{"visibility":"public","parameters":[{"name":"rootWebComponent","type":"undefined","optional":false,"description":"the component to operate on (component that slots or contains within its shadow root the items the user navigates among)"},{"name":"options","type":"ItemNavigationOptions","optional":false,"description":"Object with configuration options: - currentIndex: the index of the item that will be initially selected (from which navigation will begin) - navigationMode (Auto|Horizontal|Vertical): whether the items are displayed horizontally (Horizontal), vertically (Vertical) or as a matrix (Auto) meaning the user can navigate in both directions (up/down and left/right) - rowSize: tells how many items per row there are when the items are not rendered as a flat list but rather as a matrix. Relevant for navigationMode=Auto - skipItemsSize: tells how many items upon PAGE_UP and PAGE_DOWN should be skipped to applying the focus on the next item - behavior (Static|Cycling): tells what to do when trying to navigate beyond the first and last items Static means that nothing happens if the user tries to navigate beyond the first/last item. Cycling means that when the user navigates beyond the last item they go to the first and vice versa. - getItemsCallback: function that, when called, returns an array with all items the user can navigate among - affectedPropertiesNames: a list of metadata properties on the root component which, upon user navigation, will be reassigned by address thus causing the root component to invalidate"}]},"methods":[{"name":"setCurrentItem","visibility":"public","parameters":[{"name":"current","type":"undefined","optional":false,"description":"the new selected item"}],"description":"Call this method to set a new \"current\" (selected) item in the item navigation Note: the item passed to this function must be one of the items, returned by the getItemsCallback function"},{"name":"setRowSize","visibility":"public","parameters":[{"name":"newRowSize","type":"undefined","optional":false}],"description":"Call this method to dynamically change the row size"}]},{"kind":"namespace","name":"MediaRange.RANGESETS","basename":"RANGESETS","resource":"MediaRange.js","module":"MediaRange","export":"RANGESETS","static":true,"visibility":"public","description":"Enumeration containing the names and settings of predefined screen width media query range sets.","properties":[{"name":"RANGE_4STEPS","visibility":"public","static":true,"type":"undefined","description":"A 4-step range set (S-M-L-XL).\n\nThe ranges of this set are: <ul> <li><code>\"S\"</code>: For screens smaller than 600 pixels.</li> <li><code>\"M\"</code>: For screens greater than or equal to 600 pixels and smaller than 1024 pixels.</li> <li><code>\"L\"</code>: For screens greater than or equal to 1024 pixels and smaller than 1440 pixels.</li> <li><code>\"XL\"</code>: For screens greater than or equal to 1440 pixels.</li> </ul>"}],"slots":[]},{"kind":"class","name":"ResizeHandler","basename":"ResizeHandler","resource":"delegate/ResizeHandler.js","module":"delegate/ResizeHandler","visibility":"public","description":"Allows to register/deregister resize observers for a DOM element","constructor":{"visibility":"public"},"methods":[{"name":"deregister","visibility":"public","static":true,"parameters":[{"name":"element","type":"*","optional":false,"description":"UI5 Web Component or DOM Element to be unobserved"},{"name":"callback","type":"*","optional":false,"description":"Callback to be removed"}]},{"name":"register","visibility":"public","static":true,"parameters":[{"name":"element","type":"*","optional":false,"description":"UI5 Web Component or DOM Element to be observed"},{"name":"callback","type":"*","optional":false,"description":"Callback to be executed"}]}]},{"kind":"enum","name":"sap.ui.webc.base.types.AnimationMode","basename":"AnimationMode","resource":"types/AnimationMode.js","module":"types/AnimationMode","static":true,"visibility":"public","description":"Different types of AnimationMode.","properties":[{"name":"Basic","visibility":"public","type":"Basic"},{"name":"Full","visibility":"public","type":"Full"},{"name":"Minimal","visibility":"public","type":"Minimal"},{"name":"None","visibility":"public","type":"None"}],"slots":[]},{"kind":"enum","name":"sap.ui.webc.base.types.CalendarType","basename":"CalendarType","resource":"types/CalendarType.js","module":"types/CalendarType","static":true,"visibility":"public","description":"Different calendar types.","properties":[{"name":"Buddhist","visibility":"public","type":"Buddhist"},{"name":"Gregorian","visibility":"public","type":"Gregorian"},{"name":"Islamic","visibility":"public","type":"Islamic"},{"name":"Japanese","visibility":"public","type":"Japanese"},{"name":"Persian","visibility":"public","type":"Persian"}],"slots":[]},{"kind":"class","name":"sap.ui.webc.base.types.CSSColor","basename":"CSSColor","resource":"types/CSSColor.js","module":"types/CSSColor","static":true,"visibility":"public","extends":"sap.ui.webc.base.types.DataType","description":"CSSColor data type.","constructor":{"visibility":"public"}},{"kind":"class","name":"sap.ui.webc.base.types.DataType","basename":"DataType","resource":"types/DataType.js","module":"types/DataType","static":true,"visibility":"public","constructor":{"visibility":"public"},"methods":[{"name":"isValid","visibility":"public","static":true,"returnValue":{"type":"Boolean"},"description":"Checks if the value is valid for its data type."}]},{"kind":"class","name":"sap.ui.webc.base.types.DOMReference","basename":"DOMReference","resource":"types/DOMReference.js","module":"types/DOMReference","static":true,"visibility":"public","extends":"sap.ui.webc.base.types.DataType","description":"DOM Element reference or ID. <b>Note:</b> If an ID is passed, it is expected to be part of the same <code>document</code> element as the consuming component.","constructor":{"visibility":"public"}},{"kind":"class","name":"sap.ui.webc.base.types.Float","basename":"Float","resource":"types/Float.js","module":"types/Float","static":true,"visibility":"public","extends":"sap.ui.webc.base.types.DataType","description":"Float data type.","constructor":{"visibility":"public"}},{"kind":"class","name":"sap.ui.webc.base.types.Integer","basename":"Integer","resource":"types/Integer.js","module":"types/Integer","static":true,"visibility":"public","extends":"sap.ui.webc.base.types.DataType","description":"Integer data type.","constructor":{"visibility":"public"}},{"kind":"enum","name":"sap.ui.webc.base.types.InvisibleMessageMode","basename":"InvisibleMessageMode","resource":"types/InvisibleMessageMode.js","module":"types/InvisibleMessageMode","static":true,"visibility":"public","description":"Enumeration for different mode behaviors of the InvisibleMessage.","properties":[{"name":"Assertive","visibility":"public","type":"Assertive","description":"Indicates that updates to the region have the highest priority and should be presented to the user immediately."},{"name":"Polite","visibility":"public","type":"Polite","description":"Indicates that updates to the region should be presented at the next graceful opportunity, such as at the end of reading the current sentence, or when the user pauses typing."}],"slots":[]},{"kind":"enum","name":"sap.ui.webc.base.types.ItemNavigationBehavior","basename":"ItemNavigationBehavior","resource":"types/ItemNavigationBehavior.js","module":"types/ItemNavigationBehavior","static":true,"visibility":"public","description":"Different behavior for ItemNavigation.","properties":[{"name":"Cyclic","visibility":"public","type":"Cyclic","description":"Cycling behavior: navigating past the last item continues with the first and vice versa."},{"name":"Static","visibility":"public","type":"Static","description":"Static behavior: navigations stops at the first or last item."}],"slots":[]},{"kind":"enum","name":"sap.ui.webc.base.types.NavigationMode","basename":"NavigationMode","resource":"types/NavigationMode.js","module":"types/NavigationMode","static":true,"visibility":"public","description":"Different navigation modes for ItemNavigation.","properties":[{"name":"Auto","visibility":"public","type":"Auto"},{"name":"Horizontal","visibility":"public","type":"Horizontal"},{"name":"Paging","visibility":"public","type":"Paging"},{"name":"Vertical","visibility":"public","type":"Vertical"}],"slots":[]},{"kind":"enum","name":"sap.ui.webc.base.types.ValueState","basename":"ValueState","resource":"types/ValueState.js","module":"types/ValueState","static":true,"visibility":"public","description":"Different types of ValueStates.","properties":[{"name":"Error","visibility":"public","type":"Error"},{"name":"Information","visibility":"public","type":"Information"},{"name":"None","visibility":"public","type":"None"},{"name":"Success","visibility":"public","type":"Success"},{"name":"Warning","visibility":"public","type":"Warning"}],"slots":[]},{"kind":"class","name":"sap.ui.webc.base.UI5Element","basename":"UI5Element","resource":"UI5Element.js","module":"UI5Element","static":true,"visibility":"public","extends":"HTMLElement","constructor":{"visibility":"public"},"properties":[{"name":"_id","visibility":"protected","type":"undefined","description":"Returns a unique ID for this UI5 Element","deprecated":{"text":"- This property is not guaranteed in future releases"}},{"name":"dependencies","visibility":"protected","static":true,"type":"undefined","description":"Returns an array with the dependencies for this UI5 Web Component, which could be: - composed components (used in its shadow root or static area item) - slotted components that the component may need to communicate with"},{"name":"effectiveDir","visibility":"public","type":"undefined","description":"Determines whether the component should be rendered in RTL mode or not. Returns: \"rtl\", \"ltr\" or undefined"},{"name":"isUI5Element","visibility":"public","type":"undefined","description":"Used to duck-type UI5 elements without using instanceof"},{"name":"metadata","visibility":"protected","static":true,"type":"undefined","description":"Returns the metadata object for this UI5 Web Component Class"},{"name":"staticAreaStyles","visibility":"protected","static":true,"type":"undefined","description":"Returns the Static Area CSS for this UI5 Web Component Class"},{"name":"styles","visibility":"protected","static":true,"type":"undefined","description":"Returns the CSS for this UI5 Web Component Class"}],"slots":[],"methods":[{"name":"_render","visibility":"protected","description":"Do not call this method directly, only intended to be called by js"},{"name":"attachInvalidate","visibility":"public","parameters":[{"name":"callback","type":"InvalidationInfo","optional":false}],"description":"Attach a callback that will be executed whenever the component is invalidated"},{"name":"define","visibility":"public","static":true,"returnValue":{"type":"Promise.<UI5Element>"},"description":"Registers a UI5 Web Component in the browser window object"},{"name":"detachInvalidate","visibility":"public","parameters":[{"name":"callback","type":"InvalidationInfo","optional":false}],"description":"Detach the callback that is executed whenever the component is invalidated"},{"name":"fireEvent","visibility":"public","returnValue":{"type":"boolean","description":"false, if the event was cancelled (preventDefault called), true otherwise"},"parameters":[{"name":"name","type":"undefined","optional":false,"description":"name of the event"},{"name":"data","type":"undefined","optional":false,"description":"additional data for the event"},{"name":"cancelable","type":"undefined","optional":false,"defaultValue":false,"description":"true, if the user can call preventDefault on the event object"},{"name":"bubbles","type":"undefined","optional":false,"defaultValue":true,"description":"true, if the event bubbles"}]},{"name":"focus","visibility":"public","parameters":[{"name":"focusOptions","type":"FocusOptions","optional":false,"description":"additional options for the focus"}],"description":"Set the focus to the element, returned by \"getFocusDomRef()\" (marked by \"data-sap-focus-ref\")"},{"name":"getDomRef","visibility":"public","description":"Returns the DOM Element inside the Shadow Root that corresponds to the opening tag in the UI5 Web Component's template *Note:* For logical (abstract) elements (items, options, etc...), returns the part of the parent's DOM that represents this option Use this method instead of \"this.shadowRoot\" to read the Shadow DOM, if ever necessary"},{"name":"getFocusDomRef","visibility":"public","description":"Returns the DOM Element marked with \"data-sap-focus-ref\" inside the template. This is the element that will receive the focus by default."},{"name":"getFocusDomRefAsync","visibility":"public","description":"Waits for dom ref and then returns the DOM Element marked with \"data-sap-focus-ref\" inside the template. This is the element that will receive the focus by default."},{"name":"getMetadata","visibility":"public","static":true,"returnValue":{"type":"UI5ElementMetadata"},"description":"Returns an instance of UI5ElementMetadata.js representing this UI5 Web Component's full metadata (its and its parents') Note: not to be confused with the \"get metadata()\" method, which returns an object for this class's metadata only"},{"name":"getSlottedNodes","visibility":"public","description":"Returns the actual children, associated with a slot. Useful when there are transitive slots in nested component scenarios and you don't want to get a list of the slots, but rather of their content."},{"name":"getStaticAreaItemDomRef","visibility":"public"},{"name":"getUniqueDependencies","visibility":"public","static":true,"description":"Returns a list of the unique dependencies for this UI5 Web Component"},{"name":"onAfterRendering","visibility":"public","description":"Called every time after the component renders."},{"name":"onBeforeRendering","visibility":"public","description":"Called every time before the component renders."},{"name":"onDefine","visibility":"protected","static":true,"returnValue":{"type":"Promise.<void>"},"description":"Hook that will be called upon custom element definition"},{"name":"onEnterDOM","visibility":"public","description":"Called on connectedCallback - added to the DOM."},{"name":"onExitDOM","visibility":"public","description":"Called on disconnectedCallback - removed from the DOM."},{"name":"onInvalidation","visibility":"public","parameters":[{"name":"changeInfo","type":"undefined","optional":false,"description":"An object with information about the change that caused invalidation. The object can have the following properties: - type: (property|slot) tells what caused the invalidation 1) property: a property value was changed either directly or as a result of changing the corresponding attribute 2) slot: a slotted node(nodes) changed in one of several ways (see \"reason\")\n\n- name: the name of the property or slot that caused the invalidation\n\n- reason: (children|textcontent|childchange|slotchange) relevant only for type=\"slot\" only and tells exactly what changed in the slot 1) children: immediate children (HTML elements or text nodes) were added, removed or reordered in the slot 2) textcontent: text nodes in the slot changed value (or nested text nodes were added or changed value). Can only trigger for slots of \"type: Node\" 3) slotchange: a slot element, slotted inside that slot had its \"slotchange\" event listener called. This practically means that transitively slotted children changed. Can only trigger if the child of a slot is a slot element itself. 4) childchange: indicates that a UI5Element child in that slot was invalidated and in turn invalidated the component. Can only trigger for slots with \"invalidateOnChildChange\" metadata descriptor\n\n- newValue: the new value of the property (for type=\"property\" only)\n\n- oldValue: the old value of the property (for type=\"property\" only)\n\n- child the child that was changed (for type=\"slot\" and reason=\"childchange\" only)"}],"description":"A callback that is executed each time an already rendered component is invalidated (scheduled for re-rendering)"}]},{"kind":"class","name":"UI5ElementMetadata","basename":"UI5ElementMetadata","resource":"UI5ElementMetadata.js","module":"UI5ElementMetadata","export":"","visibility":"public","constructor":{"visibility":"public"},"methods":[{"name":"getAttributesList","visibility":"public","returnValue":{"type":"string[]"},"description":"Returns an array with the attributes of the UI5 Element (in kebab-case)"},{"name":"getEvents","visibility":"public","description":"Returns an object with key-value pairs of events and their metadata definitions"},{"name":"getProperties","visibility":"public","description":"Returns an object with key-value pairs of properties and their metadata definitions"},{"name":"getPropertiesList","visibility":"public","returnValue":{"type":"string[]"},"description":"Returns an array with the properties of the UI5 Element (in camelCase)"},{"name":"getPureTag","visibility":"public","description":"Returns the tag of the UI5 Element without the scope"},{"name":"getSlots","visibility":"public","description":"Returns an object with key-value pairs of slots and their metadata definitions"},{"name":"getTag","visibility":"public","description":"Returns the tag of the UI5 Element"},{"name":"hasAttribute","visibility":"public","returnValue":{"type":"boolean"},"parameters":[{"name":"propName","type":"undefined","optional":false}],"description":"Determines whether a property should have an attribute counterpart"},{"name":"hasIndividualSlots","visibility":"public","description":"Determines whether this UI5 Element supports any slots with \"individualSlots: true\""},{"name":"hasSlots","visibility":"public","description":"Determines whether this UI5 Element supports any slots"},{"name":"slotsAreManaged","visibility":"public","description":"Determines whether this UI5 Element needs to invalidate if children are added/removed/changed"},{"name":"supportsF6FastNavigation","visibility":"public","description":"Determines whether this control supports F6 fast navigation"},{"name":"validatePropertyValue","visibility":"public","static":true,"description":"Validates the property's value and returns it if correct or returns the default value if not. <b>Note:</b> Only intended for use by UI5Element.js"}]}]}
@@ -1 +0,0 @@
1
- .content{color:var(--customCol);background-color:var(--customBg)}
@@ -1,9 +0,0 @@
1
- (function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))s(o);new MutationObserver(o=>{for(const r of o)if(r.type==="childList")for(const a of r.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&s(a)}).observe(document,{childList:!0,subtree:!0});function n(o){const r={};return o.integrity&&(r.integrity=o.integrity),o.referrerpolicy&&(r.referrerPolicy=o.referrerpolicy),o.crossorigin==="use-credentials"?r.credentials="include":o.crossorigin==="anonymous"?r.credentials="omit":r.credentials="same-origin",r}function s(o){if(o.ep)return;o.ep=!0;const r=n(o);fetch(o.href,r)}})();const C={themes:{default:"sap_fiori_3",all:["sap_fiori_3","sap_fiori_3_dark","sap_belize","sap_belize_hcb","sap_belize_hcw","sap_fiori_3_hcb","sap_fiori_3_hcw","sap_horizon","sap_horizon_dark","sap_horizon_hcb","sap_horizon_hcw","sap_horizon_exp"]},languages:{default:"en",all:["ar","bg","ca","cs","cy","da","de","el","en","en_GB","en_US_sappsd","en_US_saprigi","en_US_saptrc","es","es_MX","et","fi","fr","fr_CA","hi","hr","hu","in","it","iw","ja","kk","ko","lt","lv","ms","nl","no","pl","pt_PT","pt","ro","ru","sh","sk","sl","sv","th","tr","uk","vi","zh_CN","zh_TW"]},locales:{default:"en",all:["ar","ar_EG","ar_SA","bg","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","pl","pt","pt_PT","ro","ru","ru_UA","sk","sl","sr","sr_Latn","sv","th","tr","uk","vi","zh_CN","zh_HK","zh_SG","zh_TW"]}},M=C.themes.default,ct=C.themes.all,V=C.languages.default,l=C.locales.default,fe=C.locales.all,ut=()=>{const e=navigator.languages,t=()=>navigator.language;return e&&e[0]||t()||V};var Ie={},Oe=Ie.hasOwnProperty,lt=Ie.toString,Ue=Oe.toString,ft=Ue.call(Object),de=function(e){var t,n;return!e||lt.call(e)!=="[object Object]"?!1:(t=Object.getPrototypeOf(e),t?(n=Oe.call(t,"constructor")&&t.constructor,typeof n=="function"&&Ue.call(n)===ft):!0)},dt=Object.create(null),De=function(e,t,n,s){var o,r,a,i,g,m,d=arguments[2]||{},N=3,at=arguments.length,le=arguments[0]||!1,it=arguments[1]?void 0:dt;for(typeof d!="object"&&typeof d!="function"&&(d={});N<at;N++)if((g=arguments[N])!=null)for(i in g)o=d[i],a=g[i],!(i==="__proto__"||d===a)&&(le&&a&&(de(a)||(r=Array.isArray(a)))?(r?(r=!1,m=o&&Array.isArray(o)?o:[]):m=o&&de(o)?o:{},d[i]=De(le,arguments[1],m,a)):a!==it&&(d[i]=a));return d};const Me=function(e,t){return De(!0,!1,...arguments)},ke=new Map,ht=(e,t)=>{ke.set(e,t)},_=e=>ke.get(e),pt=e=>{const t=document.querySelector(`META[name="${e}"]`);return t&&t.getAttribute("content")},gt=e=>{const t=pt("sap-allowedThemeOrigins");return t&&t.split(",").some(n=>n==="*"||e===n.trim())},mt=(e,t)=>{const n=new URL(e).pathname;return new URL(n,t).toString()},ze=e=>{let t;try{if(e.startsWith(".")||e.startsWith("/"))t=new URL(e,window.location.href).toString();else{const n=new URL(e),s=n.origin;s&&gt(s)?t=n.toString():t=mt(n.toString(),window.location.href)}return t.endsWith("/")||(t=`${t}/`),`${t}UI5/`}catch{}};var ee;(function(e){e.Full="full",e.Basic="basic",e.Minimal="minimal",e.None="none"})(ee||(ee={}));const wt=ee;let he=!1,u={animationMode:wt.Full,theme:M,themeRoot:void 0,rtl:void 0,language:void 0,timezone:void 0,calendarType:void 0,noConflict:!1,formatSettings:{},fetchDefaultLanguage:!1};const Jn=()=>(f(),u.animationMode),yt=()=>(f(),u.theme),St=()=>(f(),u.themeRoot),Xn=()=>(f(),u.rtl),_t=()=>(f(),u.language),Tt=()=>(f(),u.fetchDefaultLanguage),Yn=()=>(f(),u.noConflict),Qn=()=>(f(),u.calendarType),es=()=>(f(),u.formatSettings),k=new Map;k.set("true",!0);k.set("false",!1);const bt=()=>{const e=document.querySelector("[data-ui5-config]")||document.querySelector("[data-id='sap-ui-config']");let t;if(e){try{t=JSON.parse(e.innerHTML)}catch{console.warn("Incorrect data-sap-ui-config format. Please use JSON")}t&&(u=Me(u,t))}},Lt=()=>{const e=new URLSearchParams(window.location.search);e.forEach((t,n)=>{const s=n.split("sap-").length;s===0||s===n.split("sap-ui-").length||pe(n,t,"sap")}),e.forEach((t,n)=>{!n.startsWith("sap-ui")||pe(n,t,"sap-ui")})},At=e=>{const t=e.split("@")[1];return ze(t)},vt=(e,t)=>e==="theme"&&t.includes("@")?t.split("@")[0]:t,pe=(e,t,n)=>{const s=t.toLowerCase(),o=e.split(`${n}-`)[1];k.has(t)&&(t=k.get(s)),o==="theme"?(u.theme=vt(o,t),t&&t.includes("@")&&(u.themeRoot=At(t))):u[o]=t},Ct=()=>{const e=_("OpenUI5Support");if(!e||!e.isOpenUI5Detected())return;const t=e.getConfigurationSettingsObject();u=Me(u,t)},f=()=>{typeof document>"u"||he||(bt(),Lt(),Ct(),he=!0)};class E{constructor(){this._eventRegistry=new Map}attachEvent(t,n){const s=this._eventRegistry,o=s.get(t);if(!Array.isArray(o)){s.set(t,[n]);return}o.includes(n)||o.push(n)}detachEvent(t,n){const s=this._eventRegistry,o=s.get(t);if(!o)return;const r=o.indexOf(n);r!==-1&&o.splice(r,1),o.length===0&&s.delete(t)}fireEvent(t,n){const o=this._eventRegistry.get(t);return o?o.map(r=>r.call(this,n)):[]}fireEventAsync(t,n){return Promise.all(this.fireEvent(t,n))}isHandlerAttached(t,n){const o=this._eventRegistry.get(t);return o?o.includes(n):!1}hasListeners(t){return!!this._eventRegistry.get(t)}}const xe=new E,Be="languageChange",Fe=e=>{xe.attachEvent(Be,e)},Et=e=>xe.fireEventAsync(Be,e),ge=10;class Pt{constructor(){this.list=[],this.lookup=new Set}add(t){this.lookup.has(t)||(this.list.push(t),this.lookup.add(t))}remove(t){!this.lookup.has(t)||(this.list=this.list.filter(n=>n!==t),this.lookup.delete(t))}shift(){const t=this.list.shift();if(t)return this.lookup.delete(t),t}isEmpty(){return this.list.length===0}isAdded(t){return this.lookup.has(t)}process(t){let n;const s=new Map;for(n=this.shift();n;){const o=s.get(n)||0;if(o>ge)throw new Error(`Web component processed too many times this task, max allowed is: ${ge}`);t(n),s.set(n,o+1),n=this.shift()}}}const $t=(e,t=document.body,n)=>{let s=document.querySelector(e);return s||(s=n?n():document.createElement(e),t.insertBefore(s,t.firstChild))},Rt=()=>{const e=document.createElement("meta");return e.setAttribute("name","ui5-shared-resources"),e.setAttribute("content",""),e},It=()=>typeof document>"u"?null:$t('meta[name="ui5-shared-resources"]',document.head,Rt),P=(e,t)=>{const n=e.split(".");let s=It();if(!s)return t;for(let o=0;o<n.length;o++){const r=n[o],a=o===n.length-1;Object.prototype.hasOwnProperty.call(s,r)||(s[r]=a?t:{}),s=s[r]}return s},Ot={version:"0.0.0-d1315d658",major:0,minor:0,patch:0,suffix:"-d1315d658",isNext:!0,buildTime:1690881159};let U,Ut="";const W=new Map,A=P("Runtimes",[]),Dt=()=>{if(U===void 0){U=A.length;const e=Ot;A.push({...e,alias:Ut,description:`Runtime ${U} - ver ${e.version}`})}},$=()=>U,Mt=(e,t)=>{const n=`${e},${t}`;if(W.has(n))return W.get(n);const s=A[e],o=A[t];if(!s||!o)throw new Error("Invalid runtime index supplied");if(s.isNext||o.isNext)return s.buildTime-o.buildTime;const r=s.major-o.major;if(r)return r;const a=s.minor-o.minor;if(a)return a;const i=s.patch-o.patch;if(i)return i;const m=new Intl.Collator(void 0,{numeric:!0,sensitivity:"base"}).compare(s.suffix,o.suffix);return W.set(n,m),m},kt=()=>A,Ve=P("Tags",new Map),oe=new Set;let p=new Map,H;const je=-1,ts=e=>{oe.add(e),Ve.set(e,$())},ns=e=>oe.has(e),zt=()=>[...oe.values()],ss=e=>{let t=Ve.get(e);t===void 0&&(t=je),p.has(t)||p.set(t,new Set),p.get(t).add(e),H||(H=setTimeout(()=>{xt(),p=new Map,H=void 0},1e3))},xt=()=>{const e=kt(),t=$(),n=e[t];let s="Multiple UI5 Web Components instances detected.";e.length>1&&(s=`${s}
2
- Loading order (versions before 1.1.0 not listed): ${e.map(o=>`
3
- ${o.description}`).join("")}`),[...p.keys()].forEach(o=>{let r,a;o===je?(r=1,a={description:"Older unknown runtime"}):(r=Mt(t,o),a=e[o]);let i;r>0?i="an older":r<0?i="a newer":i="the same",s=`${s}
4
-
5
- "${n.description}" failed to define ${p.get(o).size} tag(s) as they were defined by a runtime of ${i} version "${a.description}": ${[...p.get(o)].sort().join(", ")}.`,r>0?s=`${s}
6
- WARNING! If your code uses features of the above web components, unavailable in ${a.description}, it might not work as expected!`:s=`${s}
7
- Since the above web components were defined by the same or newer version runtime, they should be compatible with your code.`}),s=`${s}
8
-
9
- To prevent other runtimes from defining tags that you use, consider using scoping or have third-party libraries use scoping: https://github.com/SAP/ui5-webcomponents/blob/main/docs/2-advanced/03-scoping.md.`,console.warn(s)},qe=new Set,os=e=>{qe.add(e)},Bt=e=>qe.has(e),re=new Set,Ft=new E,T=new Pt;let w,D,G,I;const Vt=async e=>{T.add(e),await qt()},jt=e=>{Ft.fireEvent("beforeComponentRender",e),re.add(e),e._render()},rs=e=>{T.remove(e),re.delete(e)},qt=async()=>{I||(I=new Promise(e=>{window.requestAnimationFrame(()=>{T.process(jt),I=null,e(),G||(G=setTimeout(()=>{G=void 0,T.isEmpty()&&Ht()},200))})})),await I},Zt=()=>w||(w=new Promise(e=>{D=e,window.requestAnimationFrame(()=>{T.isEmpty()&&(w=void 0,e())})}),w),Nt=()=>{const e=zt().map(t=>customElements.whenDefined(t));return Promise.all(e)},Wt=async()=>{await Nt(),await Zt()},Ht=()=>{!T.isEmpty()||D&&(D(),D=void 0,w=void 0)},Ze=async e=>{re.forEach(t=>{const n=t.constructor,s=n.getMetadata().getTag(),o=Bt(n),r=n.getMetadata().isLanguageAware(),a=n.getMetadata().isThemeAware();(!e||e.tag===s||e.rtlAware&&o||e.languageAware&&r||e.themeAware&&a)&&Vt(t)}),await Wt()};let b,te;const Gt=()=>(b===void 0&&(b=_t()),b),as=async e=>{b!==e&&(b=e,await Et(e),await Ze({languageAware:!0}))},Kt=e=>{te=e},Jt=()=>(te===void 0&&Kt(Tt()),te),Xt=/^((?:[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 Ne{constructor(t){const n=Xt.exec(t.replace(/_/g,"-"));if(n===null)throw new Error(`The given language ${t} does not adhere to BCP-47.`);this.sLocaleId=t,this.sLanguage=n[1]||V,this.sScript=n[2]||"",this.sRegion=n[3]||"",this.sVariant=n[4]&&n[4].slice(1)||null,this.sExtension=n[5]&&n[5].slice(1)||null,this.sPrivateUse=n[6]||null,this.sLanguage&&(this.sLanguage=this.sLanguage.toLowerCase()),this.sScript&&(this.sScript=this.sScript.toLowerCase().replace(/^[a-z]/,s=>s.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("-")}}const K=new Map,We=e=>(K.has(e)||K.set(e,new Ne(e)),K.get(e)),me=e=>{try{if(e&&typeof e=="string")return We(e)}catch{}return new Ne(l)},ne=e=>{if(e)return me(e);const t=Gt();return t?We(t):me(ut())},Yt=/^((?:[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,we=/(?:^|-)(saptrc|sappsd)(?:-|$)/i,Qt={he:"iw",yi:"ji",nb:"no",sr:"sh"},en=e=>{let t;if(!e)return l;if(typeof e=="string"&&(t=Yt.exec(e.replace(/_/g,"-")))){let n=t[1].toLowerCase(),s=t[3]?t[3].toUpperCase():void 0;const o=t[2]?t[2].toLowerCase():void 0,r=t[4]?t[4].slice(1):void 0,a=t[6];return n=Qt[n]||n,a&&(t=we.exec(a))||r&&(t=we.exec(r))?`en_US_${t[1].toLowerCase()}`:(n==="zh"&&!s&&(o==="hans"?s="CN":o==="hant"&&(s="TW")),n+(s?"_"+s+(r?"_"+r.replace("-","_"):""):""))}return l},tn=e=>{if(!e)return l;if(e==="zh_HK")return"zh_TW";const t=e.lastIndexOf("_");return t>=0?e.slice(0,t):e!==l?l:""},ye=new Set,Se=new Set,ae=new Map,J=new Map,ie=new Map,is=(e,t,n)=>{const s=`${e}/${t}`;ie.set(s,n)},_e=(e,t)=>{ae.set(e,t)},cs=e=>ae.get(e),He=(e,t)=>{const n=`${e}/${t}`;return ie.has(n)},nn=(e,t)=>{const n=`${e}/${t}`,s=ie.get(n);return s&&!J.get(n)&&J.set(n,s(t)),J.get(n)},sn=e=>{ye.has(e)||(console.warn(`[${e}]: Message bundle assets are not configured. Falling back to English texts.`,` Add \`import "${e}/dist/Assets.js"\` in your bundle and make sure your build tool supports dynamic imports and JSON imports. See section "Assets" in the documentation for more information.`),ye.add(e))},Te=(e,t)=>t!==V&&!He(e,t),on=async e=>{const t=ne().getLanguage(),n=ne().getRegion();let s=t+(n?`-${n}`:"");if(Te(e,s))for(s=en(s);Te(e,s);)s=tn(s);const o=Jt();if(s===V&&!o){_e(e,null);return}if(!He(e,s)){sn(e);return}try{const r=await nn(e,s);_e(e,r)}catch(r){const a=r;Se.has(a.message)||(Se.add(a.message),console.error(a.message))}};Fe(e=>{const t=[...ae.keys()];return Promise.all(t.map(on))});const rn=new Map,z=new Map,X=new Map,be=new Set;let Le=!1;const an={iw:"he",ji:"yi",in:"id"},Ae=e=>{Le||(console.warn(`[LocaleData] Supported locale "${e}" not configured, import the "Assets.js" module from the webcomponents package you are using.`),Le=!0)},cn=(e,t,n)=>{e=e&&an[e]||e,e==="no"&&(e="nb"),e==="zh"&&!t&&(n==="Hans"?t="CN":n==="Hant"&&(t="TW")),(e==="sh"||e==="sr"&&n==="Latn")&&(e="sr",t="Latn");let s=`${e}_${t}`;return fe.includes(s)||(s=e,fe.includes(s))?z.has(s)?s:(Ae(s),l):l},ve=(e,t)=>{rn.set(e,t)},un=e=>{if(!X.get(e)){const t=z.get(e);if(!t)throw new Error(`CLDR data for locale ${e} is not loaded!`);X.set(e,t(e))}return X.get(e)},ln=async(e,t,n)=>{const s=cn(e,t,n),o=_("OpenUI5Support");if(o){const r=o.getLocaleDataObject();if(r){ve(s,r);return}}try{const r=await un(s);ve(s,r)}catch(r){const a=r;be.has(a.message)||(be.add(a.message),console.error(a.message))}},fn=(e,t)=>{z.set(e,t)};fn("en",async()=>(await fetch("https://sdk.openui5.org/1.103.0/resources/sap/ui/core/cldr/en.json")).json());Fe(()=>{const e=ne();return ln(e.getLanguage(),e.getRegion(),e.getScript())});const Ge=new E,Ke="themeRegistered",dn=e=>{Ge.attachEvent(Ke,e)},hn=e=>Ge.fireEvent(Ke,e),Je=new Map,Xe=new Map,Ye=new Set,x=new Set,us=(e,t,n)=>{Xe.set(`${e}/${t}`,n),Ye.add(e),x.add(t),hn(t)},Qe=async(e,t)=>{const n=Je.get(`${e}_${t}`);if(n!==void 0)return n;if(!x.has(t)){const s=[...x.values()].join(", ");return console.warn(`You have requested a non-registered theme ${t} - falling back to ${M}. Registered themes are: ${s}`),Ce(e,M)}return Ce(e,t)},Ce=async(e,t)=>{const n=Xe.get(`${e}/${t}`);if(!n){console.error(`Theme [${t}] not registered for package [${e}]`);return}let s;try{s=await n(t)}catch(r){console.error(e,r.message);return}const o=s._||s;return Je.set(`${e}_${t}`,o),o},et=()=>Ye,pn=e=>x.has(e);var B;(function(e){e["SAP-icons"]="SAP-icons-v4",e.horizon="SAP-icons-v5",e["SAP-icons-TNT"]="tnt",e.BusinessSuiteInAppSymbols="business-suite"})(B||(B={}));const tt=e=>B[e]?B[e]:e,gn=(e,t)=>{const n=document.createElement("style");return n.type="text/css",t&&Object.entries(t).forEach(s=>n.setAttribute(...s)),n.textContent=e,document.head.appendChild(n),n},mn=(e,t)=>{const n=document.createElement("link");return n.type="text/css",n.rel="stylesheet",t&&Object.entries(t).forEach(s=>n.setAttribute(...s)),n.href=e,document.head.appendChild(n),new Promise(s=>{n.addEventListener("load",s),n.addEventListener("error",s)})},j=(e,t)=>t?`${e}|${t}`:e,q=(e,t,n="")=>{let s=typeof e=="string"?e:e.content;if(s.includes("[_ui5host]")&&(s=s.replaceAll("[_ui5host]",`[_ui5rt${$()}]`)),document.adoptedStyleSheets){const o=new CSSStyleSheet;o.replaceSync(s),o._ui5StyleId=j(t,n),document.adoptedStyleSheets=[...document.adoptedStyleSheets,o]}else{const o={};o[t]=n,gn(s,o)}},wn=(e,t,n="")=>{let s=typeof e=="string"?e:e.content;if(s.includes("[_ui5host]")&&(s=s.replaceAll("[_ui5host]",`[_ui5rt${$()}]`)),document.adoptedStyleSheets){const o=document.adoptedStyleSheets.find(r=>r._ui5StyleId===j(t,n));o&&o.replaceSync(s||"")}else{const o=document.querySelector(`head>style[${t}="${n}"]`);o&&(o.textContent=s||"")}},Z=(e,t="")=>document.adoptedStyleSheets?!!document.adoptedStyleSheets.find(n=>n._ui5StyleId===j(e,t)):!!document.querySelector(`head>style[${e}="${t}"]`),yn=(e,t="")=>{var n;if(document.adoptedStyleSheets)document.adoptedStyleSheets=document.adoptedStyleSheets.filter(s=>s._ui5StyleId!==j(e,t));else{const s=document.querySelector(`head > style[${e}="${t}"]`);(n=s==null?void 0:s.parentElement)==null||n.removeChild(s)}},nt=(e,t,n="")=>{Z(t,n)?wn(e,t,n):q(e,t,n)},y=new Set,Sn=()=>{let e=document.querySelector(".sapThemeMetaData-Base-baseLib")||document.querySelector(".sapThemeMetaData-UI5-sap-ui-core");if(e)return getComputedStyle(e).backgroundImage;e=document.createElement("span"),e.style.display="none",e.classList.add("sapThemeMetaData-Base-baseLib"),document.body.appendChild(e);let t=getComputedStyle(e).backgroundImage;return t==="none"&&(e.classList.add("sapThemeMetaData-UI5-sap-ui-core"),t=getComputedStyle(e).backgroundImage),document.body.removeChild(e),t},_n=e=>{const t=/\(["']?data:text\/plain;utf-8,(.*?)['"]?\)$/i.exec(e);if(t&&t.length>=2){let n=t[1];if(n=n.replace(/\\"/g,'"'),n.charAt(0)!=="{"&&n.charAt(n.length-1)!=="}")try{n=decodeURIComponent(n)}catch{y.has("decode")||(console.warn("Malformed theme metadata string, unable to decodeURIComponent"),y.add("decode"));return}try{return JSON.parse(n)}catch{y.has("parse")||(console.warn("Malformed theme metadata string, unable to parse JSON"),y.add("parse"))}}},Tn=e=>{let t,n;try{t=e.Path.match(/\.([^.]+)\.css_variables$/)[1],n=e.Extends[0]}catch{y.has("object")||(console.warn("Malformed theme metadata Object",e),y.add("object"));return}return{themeName:t,baseThemeName:n}},se=()=>{const e=Sn();if(!e||e==="none")return;const t=_n(e);if(t)return Tn(t)},bn=new E,Ln="themeLoaded",An=e=>bn.fireEvent(Ln,e);let L;const st=()=>(L===void 0&&(L=St()),L),ls=e=>{if(L!==e){if(L=e,!ze(e)){console.warn(`The ${e} is not valid. Check the allowed origins as suggested in the "setThemeRoot" description.`);return}return ot(R())}},vn=e=>`${st()}Base/baseLib/${e}/css_variables.css`,ot=async e=>{const t=document.querySelector(`[sap-ui-webcomponents-theme="${e}"]`);t&&document.head.removeChild(t),await mn(vn(e),{"sap-ui-webcomponents-theme":e})},Cn=P("PopupUtilsData",{currentZIndex:100}),Ee=()=>Cn.currentZIndex;class c{static isAtLeastVersion116(){const n=window.sap.ui.version.split(".");return!n||n.length<2?!1:parseInt(n[0])>1||parseInt(n[1])>=116}static isOpenUI5Detected(){var t,n;return typeof((n=(t=window.sap)==null?void 0:t.ui)==null?void 0:n.require)=="function"}static init(){return c.isOpenUI5Detected()?new Promise(t=>{window.sap.ui.require(["sap/ui/core/Core"],async n=>{const s=()=>{let o=["sap/ui/core/Popup","sap/ui/core/LocaleData"];c.isAtLeastVersion116()&&(o=[...o,"sap/base/i18n/Formatting","sap/base/i18n/Localization","sap/ui/core/ControlBehavior","sap/ui/core/Theming","sap/ui/core/date/CalendarUtils"]),window.sap.ui.require(o,r=>{r.setInitialZIndex(Ee()),t()})};c.isAtLeastVersion116()?(await n.ready(),s()):n.attachInit(s)})}):Promise.resolve()}static getConfigurationSettingsObject(){if(!c.isOpenUI5Detected())return{};if(c.isAtLeastVersion116()){const o=window.sap.ui.require("sap/ui/core/ControlBehavior"),r=window.sap.ui.require("sap/base/i18n/Localization"),a=window.sap.ui.require("sap/ui/core/Theming"),i=window.sap.ui.require("sap/base/i18n/Formatting"),g=window.sap.ui.require("sap/ui/core/date/CalendarUtils");return{animationMode:o.getAnimationMode(),language:r.getLanguage(),theme:a.getTheme(),themeRoot:a.getThemeRoot(),rtl:r.getRTL(),timezone:r.getTimezone(),calendarType:i.getCalendarType(),formatSettings:{firstDayOfWeek:g.getWeekConfigurationValues().firstDayOfWeek,legacyDateCalendarCustomizing:i.getLegacyDateCalendarCustomizing()}}}const n=window.sap.ui.require("sap/ui/core/Core").getConfiguration(),s=window.sap.ui.require("sap/ui/core/LocaleData");return{animationMode:n.getAnimationMode(),language:n.getLanguage(),theme:n.getTheme(),themeRoot:n.getThemeRoot(),rtl:n.getRTL(),timezone:n.getTimezone(),calendarType:n.getCalendarType(),formatSettings:{firstDayOfWeek:s?s.getInstance(n.getLocale()).getFirstDayOfWeek():void 0,legacyDateCalendarCustomizing:n.getFormatSettings().getLegacyDateCalendarCustomizing()}}}static getLocaleDataObject(){if(!c.isOpenUI5Detected())return;const t=window.sap.ui.require("sap/ui/core/LocaleData");if(c.isAtLeastVersion116()){const o=window.sap.ui.require("sap/base/i18n/Localization");return t.getInstance(o.getLanguageTag())._get()}const s=window.sap.ui.require("sap/ui/core/Core").getConfiguration();return t.getInstance(s.getLocale())._get()}static _listenForThemeChange(){if(c.isAtLeastVersion116()){const t=window.sap.ui.require("sap/ui/core/Theming");t.attachApplied(()=>{Pe(t.getTheme())})}else{const t=window.sap.ui.require("sap/ui/core/Core"),n=t.getConfiguration();t.attachThemeChanged(()=>{Pe(n.getTheme())})}}static attachListeners(){!c.isOpenUI5Detected()||c._listenForThemeChange()}static cssVariablesLoaded(){if(!c.isOpenUI5Detected())return;const t=[...document.head.children].find(n=>n.id==="sap-ui-theme-sap.ui.core");return t?!!t.href.match(/\/css(-|_)variables\.css/):!1}static getNextZIndex(){if(!c.isOpenUI5Detected())return;const t=window.sap.ui.require("sap/ui/core/Popup");return t||console.warn(`The OpenUI5Support feature hasn't been initialized properly. Make sure you import the "@ui5/webcomponents-base/dist/features/OpenUI5Support.js" module before all components' modules.`),t.getNextZIndex()}static setInitialZIndex(){if(!c.isOpenUI5Detected())return;window.sap.ui.require("sap/ui/core/Popup").setInitialZIndex(Ee())}}ht("OpenUI5Support",c);const v="@ui5/webcomponents-theming",En=()=>et().has(v),Pn=async e=>{if(!En())return;const t=await Qe(v,e);t&&nt(t,"data-ui5-theme-properties",v)},$n=()=>{yn("data-ui5-theme-properties",v)},Rn=async e=>{const n=[...et()].map(async s=>{if(s===v)return;const o=await Qe(s,e);o&&nt(o,`data-ui5-component-properties-${$()}`,s)});return Promise.all(n)},In=async e=>{var s;const t=se();if(t)return t;const n=_("OpenUI5Support");if(n&&c.isOpenUI5Detected()){if(n.cssVariablesLoaded())return{themeName:(s=n.getConfigurationSettingsObject())==null?void 0:s.theme,baseThemeName:""}}else if(st())return await ot(e),se()},ce=async e=>{const t=await In(e);!t||e!==t.themeName?await Pn(e):$n();const n=pn(e)?e:t&&t.baseThemeName;await Rn(n||M),An(e)};let S;const R=()=>(S===void 0&&(S=yt()),S),Pe=async e=>{S!==e&&(S=e,await ce(S),await Ze({themeAware:!0}))},On=()=>{var t,n;const e=R();return Un(e)?!e.startsWith("sap_horizon"):!((n=(t=se())==null?void 0:t.baseThemeName)!=null&&n.startsWith("sap_horizon"))},Un=e=>ct.includes(e),Dn=new Map;var h;(function(e){e.SAPIconsV4="SAP-icons-v4",e.SAPIconsV5="SAP-icons-v5",e.SAPIconsTNTV2="tnt-v2",e.SAPIconsTNTV3="tnt-v3",e.SAPBSIconsV1="business-suite-v1",e.SAPBSIconsV2="business-suite-v2"})(h||(h={}));const Mn=e=>{const t=R(),n=Dn.get(t);return!e&&n?tt(n):kn(e)},kn=e=>{const t=On();return e?e==="tnt"?t?h.SAPIconsTNTV2:h.SAPIconsTNTV3:e==="business-suite"?t?h.SAPBSIconsV1:h.SAPBSIconsV2:e:t?h.SAPIconsV4:h.SAPIconsV5},$e=new Map,F=P("SVGIcons.registry",new Map),Y=P("SVGIcons.promises",new Map),Re="ICON_NOT_FOUND",zn=async e=>{if(!Y.has(e)){if(!$e.has(e))throw new Error(`No loader registered for the ${e} icons collection. Probably you forgot to import the "AllIcons.js" module for the respective package.`);const t=$e.get(e);Y.set(e,t(e))}return Y.get(e)},xn=e=>{Object.keys(e.data).forEach(t=>{const n=e.data[t];Bn(t,{pathData:n.path||n.paths,ltr:n.ltr,accData:n.acc,collection:e.collection,packageName:e.packageName})})},Bn=(e,t)=>{const n=`${t.collection}/${e}`;F.set(n,{pathData:t.pathData,ltr:t.ltr,accData:t.accData,packageName:t.packageName,customTemplate:t.customTemplate,viewBox:t.viewBox,collection:t.collection})},Fn=e=>{e.startsWith("sap-icon://")&&(e=e.replace("sap-icon://",""));let t;[e,t]=e.split("/").reverse(),e=e.replace("icon-",""),t&&(t=tt(t)),t=Mn(t);const n=`${t}/${e}`;return{name:e,collection:t,registryKey:n}},Q=async e=>{const{collection:t,registryKey:n}=Fn(e);let s=Re;try{s=await zn(t)}catch(o){console.error(o.message)}return s===Re?s:(F.has(n)||xn(s),F.get(n))},fs=async()=>(await Q("edit"),await Q("tnt/arrow"),await Q("business-suite/3d"),Array.from(F.keys())),Vn=()=>new Promise(e=>{document.body?e():document.addEventListener("DOMContentLoaded",()=>{e()})}),jn={packageName:"@ui5/webcomponents-base",fileName:"FontFace.css",content:`@font-face{font-family:"72";font-style:normal;font-weight:400;src:url(https://sdk.openui5.org/resources/sap/ui/core/themes/sap_horizon/fonts/72-Regular.woff2?ui5-webcomponents) format("woff2"),local("72")}@font-face{font-family:"72full";font-style:normal;font-weight:400;src:url(https://sdk.openui5.org/resources/sap/ui/core/themes/sap_horizon/fonts/72-Regular-full.woff2?ui5-webcomponents) format("woff2"),local('72-full')}@font-face{font-family:"72";font-style:normal;font-weight:700;src:url(https://sdk.openui5.org/resources/sap/ui/core/themes/sap_horizon/fonts/72-Bold.woff2?ui5-webcomponents) format("woff2"),local('72-Bold')}@font-face{font-family:"72full";font-style:normal;font-weight:700;src:url(https://sdk.openui5.org/resources/sap/ui/core/themes/sap_horizon/fonts/72-Bold-full.woff2?ui5-webcomponents) format("woff2")}@font-face{font-family:'72-Bold';font-style:normal;src:url(https://sdk.openui5.org/resources/sap/ui/core/themes/sap_horizon/fonts/72-Bold.woff2?ui5-webcomponents) format("woff2"),local('72-Bold')}@font-face{font-family:'72-Boldfull';font-style:normal;src:url(https://sdk.openui5.org/resources/sap/ui/core/themes/sap_horizon/fonts/72-Bold-full.woff2?ui5-webcomponents) format("woff2")}@font-face{font-family:'72-Light';font-style:normal;src:url(https://sdk.openui5.org/resources/sap/ui/core/themes/sap_horizon/fonts/72-Light.woff2?ui5-webcomponents) format("woff2"),local('72-Light')}@font-face{font-family:'72-Lightfull';font-style:normal;src:url(https://sdk.openui5.org/resources/sap/ui/core/themes/sap_horizon/fonts/72-Light-full.woff2?ui5-webcomponents) format("woff2")}@font-face{font-family:'72Mono';src:url(https://sdk.openui5.org/resources/sap/ui/core/themes/sap_horizon/fonts/72Mono-Regular.woff2?ui5-webcomponents) format('woff2'),local('72Mono')}@font-face{font-family:'72Monofull';src:url(https://sdk.openui5.org/resources/sap/ui/core/themes/sap_horizon/fonts/72Mono-Regular-full.woff2?ui5-webcomponents) format('woff2')}@font-face{font-family:'72Mono-Bold';src:url(https://sdk.openui5.org/resources/sap/ui/core/themes/sap_horizon/fonts/72Mono-Bold.woff2?ui5-webcomponents) format('woff2'),local('72Mono-Bold')}@font-face{font-family:'72Mono-Boldfull';src:url(https://sdk.openui5.org/resources/sap/ui/core/themes/sap_horizon/fonts/72Mono-Bold-full.woff2?ui5-webcomponents) format('woff2')}@font-face{font-family:"72Black";font-style:bold;font-weight:900;src:url(https://sdk.openui5.org/resources/sap/ui/core/themes/sap_horizon/fonts/72-Black.woff2?ui5-webcomponents) format("woff2"),local('72Black')}@font-face{font-family:"72-SemiboldDuplex";src:url(https://sdk.openui5.org/resources/sap/ui/core/themes/sap_horizon/fonts/72-SemiboldDuplex.woff2?ui5-webcomponents) format("woff2"),local('72-SemiboldDuplex')}`},qn={packageName:"@ui5/webcomponents-base",fileName:"OverrideFontFace.css",content:"@font-face{font-family:'72override';unicode-range:U+0102-0103,U+01A0-01A1,U+01AF-01B0,U+1EA0-1EB7,U+1EB8-1EC7,U+1EC8-1ECB,U+1ECC-1EE3,U+1EE4-1EF1,U+1EF4-1EF7;src:local('Arial'),local('Helvetica'),local('sans-serif')}"},Zn=()=>{const e=_("OpenUI5Support");(!e||!e.isOpenUI5Detected())&&Nn(),Wn()},Nn=()=>{Z("data-ui5-font-face")||q(jn,"data-ui5-font-face")},Wn=()=>{Z("data-ui5-font-face-override")||q(qn,"data-ui5-font-face-override")},Hn={packageName:"@ui5/webcomponents-base",fileName:"SystemCSSVars.css",content:":root{--_ui5_content_density:cozy}.sapUiSizeCompact,.ui5-content-density-compact,[data-ui5-compact-size]{--_ui5_content_density:compact}[dir=rtl]{--_ui5_dir:rtl}[dir=ltr]{--_ui5_dir:ltr}"},Gn=()=>{Z("data-ui5-system-css-vars")||q(Hn,"data-ui5-system-css-vars")};let ue=!1,O;const rt=new E,ds=e=>{if(!ue){rt.attachEvent("boot",e);return}e()},hs=async()=>{if(O!==void 0)return O;const e=async t=>{if(typeof document>"u"){t();return}dn(Kn),Dt();const n=_("OpenUI5Support"),s=n?n.isOpenUI5Detected():!1,o=_("F6Navigation");n&&await n.init(),o&&!s&&o.init(),await Vn(),await ce(R()),n&&n.attachListeners(),Zn(),Gn(),t(),ue=!0,await rt.fireEventAsync("boot")};return O=new Promise(e),O},Kn=e=>{const t=R();ue&&e===t&&ce(t)};export{as as A,R as B,st as C,ls as D,E,Pe as F,is as G,ds as H,fs as _,P as a,_ as b,Xn as c,Gt as d,ut as e,on as f,cs as g,$ as h,Wt as i,Yn as j,jt as k,rs as l,os as m,$t as n,hs as o,ns as p,ss as q,Ze as r,ts as s,Me as t,Vt as u,us as v,Jn as w,Qn as x,ht as y,es as z};