@ui5/webcomponents-base 0.0.0-2f7664755 → 0.0.0-31ad69296

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 (531) hide show
  1. package/.eslintignore +6 -4
  2. package/.eslintrc.cjs +3 -0
  3. package/.npsrc.json +3 -0
  4. package/CHANGELOG.md +895 -0
  5. package/README.md +6 -1
  6. package/bundle.esm.js +9 -3
  7. package/config/wdio.conf.cjs +400 -0
  8. package/dist/.tsbuildinfo +1 -0
  9. package/dist/AssetRegistry.d.ts +2 -2
  10. package/dist/AssetRegistry.js +2 -2
  11. package/dist/AssetRegistry.js.map +1 -1
  12. package/dist/Boot.d.ts +6 -4
  13. package/dist/Boot.js +36 -6
  14. package/dist/Boot.js.map +1 -1
  15. package/dist/CSP.d.ts +9 -6
  16. package/dist/CSP.js +9 -6
  17. package/dist/CSP.js.map +1 -1
  18. package/dist/CustomElementsRegistry.js.map +1 -1
  19. package/dist/CustomElementsScope.d.ts +4 -4
  20. package/dist/CustomElementsScope.js +2 -2
  21. package/dist/CustomElementsScope.js.map +1 -1
  22. package/dist/CustomElementsScopeUtils.d.ts +8 -1
  23. package/dist/CustomElementsScopeUtils.js +13 -1
  24. package/dist/CustomElementsScopeUtils.js.map +1 -1
  25. package/dist/DOMObserver.js.map +1 -1
  26. package/dist/Device.d.ts +2 -1
  27. package/dist/Device.js +119 -35
  28. package/dist/Device.js.map +1 -1
  29. package/dist/EventProvider.js +1 -1
  30. package/dist/EventProvider.js.map +1 -1
  31. package/dist/FeaturesRegistry.js.map +1 -1
  32. package/dist/FontFace.js +1 -1
  33. package/dist/FontFace.js.map +1 -1
  34. package/dist/IgnoreCustomElements.d.ts +25 -0
  35. package/dist/IgnoreCustomElements.js +37 -0
  36. package/dist/IgnoreCustomElements.js.map +1 -0
  37. package/dist/InitialConfiguration.d.ts +7 -2
  38. package/dist/InitialConfiguration.js +17 -7
  39. package/dist/InitialConfiguration.js.map +1 -1
  40. package/dist/Keys.d.ts +5 -1
  41. package/dist/Keys.js +109 -106
  42. package/dist/Keys.js.map +1 -1
  43. package/dist/ManagedStyles.d.ts +5 -4
  44. package/dist/ManagedStyles.js +95 -15
  45. package/dist/ManagedStyles.js.map +1 -1
  46. package/dist/MarkedEvents.js.map +1 -1
  47. package/dist/MediaRange.d.ts +6 -12
  48. package/dist/MediaRange.js +21 -31
  49. package/dist/MediaRange.js.map +1 -1
  50. package/dist/PropertiesFileFormat.js.map +1 -1
  51. package/dist/Render.js.map +1 -1
  52. package/dist/RenderQueue.js.map +1 -1
  53. package/dist/Runtimes.js.map +1 -1
  54. package/dist/StaticArea.d.ts +3 -0
  55. package/dist/StaticArea.js +4 -3
  56. package/dist/StaticArea.js.map +1 -1
  57. package/dist/StaticAreaItem.d.ts +3 -4
  58. package/dist/StaticAreaItem.js +10 -9
  59. package/dist/StaticAreaItem.js.map +1 -1
  60. package/dist/SystemCSSVars.js.map +1 -1
  61. package/dist/Theming.js.map +1 -1
  62. package/dist/UI5Element.d.ts +54 -39
  63. package/dist/UI5Element.js +119 -68
  64. package/dist/UI5Element.js.map +1 -1
  65. package/dist/UI5ElementMetadata.d.ts +6 -13
  66. package/dist/UI5ElementMetadata.js +17 -15
  67. package/dist/UI5ElementMetadata.js.map +1 -1
  68. package/dist/animations/AnimationQueue.js.map +1 -1
  69. package/dist/animations/animate.js.map +1 -1
  70. package/dist/animations/scroll.js.map +1 -1
  71. package/dist/animations/slideDown.js.map +1 -1
  72. package/dist/animations/slideUp.js.map +1 -1
  73. package/dist/asset-registries/Icons.d.ts +22 -13
  74. package/dist/asset-registries/Icons.js +63 -31
  75. package/dist/asset-registries/Icons.js.map +1 -1
  76. package/dist/asset-registries/Illustrations.d.ts +3 -1
  77. package/dist/asset-registries/Illustrations.js +51 -20
  78. package/dist/asset-registries/Illustrations.js.map +1 -1
  79. package/dist/asset-registries/LocaleData.js +1 -1
  80. package/dist/asset-registries/LocaleData.js.map +1 -1
  81. package/dist/asset-registries/Themes.d.ts +5 -3
  82. package/dist/asset-registries/Themes.js +28 -10
  83. package/dist/asset-registries/Themes.js.map +1 -1
  84. package/dist/asset-registries/i18n.d.ts +2 -2
  85. package/dist/asset-registries/i18n.js +12 -5
  86. package/dist/asset-registries/i18n.js.map +1 -1
  87. package/dist/asset-registries/util/IconCollectionsAlias.d.ts +30 -0
  88. package/dist/asset-registries/util/IconCollectionsAlias.js +37 -0
  89. package/dist/asset-registries/util/IconCollectionsAlias.js.map +1 -0
  90. package/dist/asset-registries/util/IconCollectionsByTheme.d.ts +20 -0
  91. package/dist/asset-registries/util/IconCollectionsByTheme.js +42 -0
  92. package/dist/asset-registries/util/IconCollectionsByTheme.js.map +1 -0
  93. package/dist/asset-registries/util/getIconCollectionByTheme.d.ts +13 -0
  94. package/dist/asset-registries/util/getIconCollectionByTheme.js +29 -0
  95. package/dist/asset-registries/util/getIconCollectionByTheme.js.map +1 -0
  96. package/dist/config/AnimationMode.d.ts +2 -2
  97. package/dist/config/AnimationMode.js +1 -1
  98. package/dist/config/AnimationMode.js.map +1 -1
  99. package/dist/config/CalendarType.d.ts +8 -1
  100. package/dist/config/CalendarType.js +18 -2
  101. package/dist/config/CalendarType.js.map +1 -1
  102. package/dist/config/FormatSettings.d.ts +5 -1
  103. package/dist/config/FormatSettings.js +5 -1
  104. package/dist/config/FormatSettings.js.map +1 -1
  105. package/dist/config/Icons.d.ts +31 -21
  106. package/dist/config/Icons.js +28 -32
  107. package/dist/config/Icons.js.map +1 -1
  108. package/dist/config/Language.d.ts +11 -2
  109. package/dist/config/Language.js +19 -4
  110. package/dist/config/Language.js.map +1 -1
  111. package/dist/config/NoConflict.js +1 -0
  112. package/dist/config/NoConflict.js.map +1 -1
  113. package/dist/config/Theme.d.ts +15 -5
  114. package/dist/config/Theme.js +31 -9
  115. package/dist/config/Theme.js.map +1 -1
  116. package/dist/config/ThemeRoot.d.ts +27 -0
  117. package/dist/config/ThemeRoot.js +57 -0
  118. package/dist/config/ThemeRoot.js.map +1 -0
  119. package/dist/config/Timezone.d.ts +17 -0
  120. package/dist/config/Timezone.js +30 -0
  121. package/dist/config/Timezone.js.map +1 -0
  122. package/dist/connectToComponent.d.ts +9 -0
  123. package/dist/connectToComponent.js +59 -0
  124. package/dist/connectToComponent.js.map +1 -0
  125. package/dist/css/FontFace.css +47 -17
  126. package/dist/css/SystemCSSVars.css +0 -8
  127. package/dist/custom-elements-internal.json +2863 -0
  128. package/dist/custom-elements.json +2593 -0
  129. package/dist/decorators/customElement.d.ts +17 -2
  130. package/dist/decorators/customElement.js +25 -5
  131. package/dist/decorators/customElement.js.map +1 -1
  132. package/dist/decorators/event.d.ts +5 -2
  133. package/dist/decorators/event.js +6 -6
  134. package/dist/decorators/event.js.map +1 -1
  135. package/dist/decorators/property.js +6 -6
  136. package/dist/decorators/property.js.map +1 -1
  137. package/dist/decorators/slot.js +9 -9
  138. package/dist/decorators/slot.js.map +1 -1
  139. package/dist/decorators.d.ts +5 -0
  140. package/dist/decorators.js +6 -0
  141. package/dist/decorators.js.map +1 -0
  142. package/dist/delegate/ItemNavigation.d.ts +9 -8
  143. package/dist/delegate/ItemNavigation.js +13 -14
  144. package/dist/delegate/ItemNavigation.js.map +1 -1
  145. package/dist/delegate/ResizeHandler.d.ts +6 -7
  146. package/dist/delegate/ResizeHandler.js +11 -9
  147. package/dist/delegate/ResizeHandler.js.map +1 -1
  148. package/dist/delegate/ScrollEnablement.js +2 -2
  149. package/dist/delegate/ScrollEnablement.js.map +1 -1
  150. package/dist/features/F6Navigation.d.ts +3 -0
  151. package/dist/features/F6Navigation.js +77 -38
  152. package/dist/features/F6Navigation.js.map +1 -1
  153. package/dist/features/LegacyDateFormats.d.ts +18 -0
  154. package/dist/features/LegacyDateFormats.js +20 -0
  155. package/dist/features/LegacyDateFormats.js.map +1 -0
  156. package/dist/features/OpenUI5Element.js.map +1 -1
  157. package/dist/features/OpenUI5Enablement.d.ts +1 -1
  158. package/dist/features/OpenUI5Enablement.js.map +1 -1
  159. package/dist/features/OpenUI5Support.d.ts +16 -3
  160. package/dist/features/OpenUI5Support.js +96 -33
  161. package/dist/features/OpenUI5Support.js.map +1 -1
  162. package/dist/features/patchPopup.d.ts +10 -0
  163. package/dist/features/patchPopup.js +15 -0
  164. package/dist/features/patchPopup.js.map +1 -0
  165. package/dist/generated/AssetParameters.d.ts +6 -0
  166. package/dist/generated/AssetParameters.js +4 -9
  167. package/dist/generated/AssetParameters.js.map +1 -0
  168. package/dist/generated/VersionInfo.d.ts +10 -0
  169. package/dist/generated/VersionInfo.js +9 -8
  170. package/dist/generated/VersionInfo.js.map +1 -0
  171. package/dist/generated/css/BusyIndicator.css.js.map +1 -1
  172. package/dist/generated/css/FontFace.css.js +1 -1
  173. package/dist/generated/css/FontFace.css.js.map +1 -1
  174. package/dist/generated/css/OverrideFontFace.css.js.map +1 -1
  175. package/dist/generated/css/SystemCSSVars.css.js +1 -1
  176. package/dist/generated/css/SystemCSSVars.css.js.map +1 -1
  177. package/dist/generated/templates/elements/WithComplexTemplateTemplate.lit.d.ts +4 -0
  178. package/dist/generated/templates/elements/WithComplexTemplateTemplate.lit.js +8 -10
  179. package/dist/generated/templates/elements/WithComplexTemplateTemplate.lit.js.map +1 -0
  180. package/dist/getSharedResource.d.ts +1 -1
  181. package/dist/getSharedResource.js +16 -2
  182. package/dist/getSharedResource.js.map +1 -1
  183. package/dist/global.d.ts +2 -0
  184. package/dist/i18nBundle.d.ts +2 -4
  185. package/dist/i18nBundle.js +3 -5
  186. package/dist/i18nBundle.js.map +1 -1
  187. package/dist/locale/Locale.js.map +1 -1
  188. package/dist/locale/RTLAwareRegistry.d.ts +1 -1
  189. package/dist/locale/RTLAwareRegistry.js.map +1 -1
  190. package/dist/locale/applyDirection.d.ts +3 -2
  191. package/dist/locale/applyDirection.js +3 -2
  192. package/dist/locale/applyDirection.js.map +1 -1
  193. package/dist/locale/directionChange.js.map +1 -1
  194. package/dist/locale/getEffectiveDir.d.ts +1 -1
  195. package/dist/locale/getEffectiveDir.js +3 -19
  196. package/dist/locale/getEffectiveDir.js.map +1 -1
  197. package/dist/locale/getLocale.js.map +1 -1
  198. package/dist/locale/languageChange.js.map +1 -1
  199. package/dist/locale/nextFallbackLocale.js.map +1 -1
  200. package/dist/locale/normalizeLocale.js.map +1 -1
  201. package/dist/renderer/LitRenderer.d.ts +5 -5
  202. package/dist/renderer/LitRenderer.js.map +1 -1
  203. package/dist/renderer/directives/style-map.d.ts +13 -0
  204. package/dist/renderer/directives/style-map.js +59 -59
  205. package/dist/renderer/directives/style-map.js.map +1 -0
  206. package/dist/renderer/executeTemplate.js +1 -1
  207. package/dist/renderer/executeTemplate.js.map +1 -1
  208. package/dist/sap/base/Log.js +698 -188
  209. package/dist/sap/base/assert.js +28 -1
  210. package/dist/sap/base/config/MemoryConfigurationProvider.js +20 -0
  211. package/dist/sap/base/security/URLListValidator.js +253 -6
  212. package/dist/sap/base/security/encodeCSS.js +34 -8
  213. package/dist/sap/base/security/encodeXML.js +47 -17
  214. package/dist/sap/base/security/sanitizeHTML.js +35 -13
  215. package/dist/sap/base/strings/toHex.js +27 -2
  216. package/dist/sap/base/util/now.js +24 -3
  217. package/dist/sap/base/util/uid.js +27 -0
  218. package/dist/sap/ui/thirdparty/caja-html-sanitizer.js +113 -98
  219. package/dist/ssr-dom-shim.d.ts +1 -0
  220. package/dist/ssr-dom-shim.js +12 -0
  221. package/dist/ssr-dom-shim.js.map +1 -0
  222. package/dist/ssr-dom.d.ts +0 -0
  223. package/dist/ssr-dom.js +3 -0
  224. package/dist/ssr-dom.js.map +1 -0
  225. package/dist/theming/CustomStyle.js +7 -5
  226. package/dist/theming/CustomStyle.js.map +1 -1
  227. package/dist/theming/ThemeLoaded.js.map +1 -1
  228. package/dist/theming/ThemeRegistered.d.ts +4 -0
  229. package/dist/theming/ThemeRegistered.js +11 -0
  230. package/dist/theming/ThemeRegistered.js.map +1 -0
  231. package/dist/theming/applyTheme.js +8 -7
  232. package/dist/theming/applyTheme.js.map +1 -1
  233. package/dist/theming/getConstructableStyle.js.map +1 -1
  234. package/dist/theming/getEffectiveLinksHrefs.js.map +1 -1
  235. package/dist/theming/getEffectiveStyle.js.map +1 -1
  236. package/dist/theming/getStylesString.d.ts +1 -1
  237. package/dist/theming/getStylesString.js.map +1 -1
  238. package/dist/theming/getThemeDesignerTheme.js.map +1 -1
  239. package/dist/theming/preloadLinks.js.map +1 -1
  240. package/dist/thirdparty/_merge.js.map +1 -1
  241. package/dist/thirdparty/isPlainObject.js.map +1 -1
  242. package/dist/thirdparty/merge.js.map +1 -1
  243. package/dist/types/AnimationMode.d.ts +0 -8
  244. package/dist/types/AnimationMode.js +0 -8
  245. package/dist/types/AnimationMode.js.map +1 -1
  246. package/dist/types/CSSColor.d.ts +0 -5
  247. package/dist/types/CSSColor.js +0 -5
  248. package/dist/types/CSSColor.js.map +1 -1
  249. package/dist/types/CSSSize.d.ts +11 -0
  250. package/dist/types/CSSSize.js +14 -0
  251. package/dist/types/CSSSize.js.map +1 -0
  252. package/dist/types/CalendarType.d.ts +0 -9
  253. package/dist/types/CalendarType.js +0 -9
  254. package/dist/types/CalendarType.js.map +1 -1
  255. package/dist/types/DOMReference.d.ts +1 -5
  256. package/dist/types/DOMReference.js +1 -5
  257. package/dist/types/DOMReference.js.map +1 -1
  258. package/dist/types/DataType.d.ts +1 -6
  259. package/dist/types/DataType.js +1 -6
  260. package/dist/types/DataType.js.map +1 -1
  261. package/dist/types/Float.d.ts +0 -4
  262. package/dist/types/Float.js +0 -4
  263. package/dist/types/Float.js.map +1 -1
  264. package/dist/types/Integer.d.ts +0 -4
  265. package/dist/types/Integer.js +0 -4
  266. package/dist/types/Integer.js.map +1 -1
  267. package/dist/types/InvisibleMessageMode.d.ts +5 -10
  268. package/dist/types/InvisibleMessageMode.js +4 -11
  269. package/dist/types/InvisibleMessageMode.js.map +1 -1
  270. package/dist/types/ItemNavigationBehavior.d.ts +0 -6
  271. package/dist/types/ItemNavigationBehavior.js +0 -6
  272. package/dist/types/ItemNavigationBehavior.js.map +1 -1
  273. package/dist/types/MovePlacement.d.ts +20 -0
  274. package/dist/types/MovePlacement.js +22 -0
  275. package/dist/types/MovePlacement.js.map +1 -0
  276. package/dist/types/NavigationMode.d.ts +0 -8
  277. package/dist/types/NavigationMode.js +0 -8
  278. package/dist/types/NavigationMode.js.map +1 -1
  279. package/dist/types/Orientation.d.ts +16 -0
  280. package/dist/types/Orientation.js +18 -0
  281. package/dist/types/Orientation.js.map +1 -0
  282. package/dist/types/ValueState.d.ts +0 -14
  283. package/dist/types/ValueState.js +0 -14
  284. package/dist/types/ValueState.js.map +1 -1
  285. package/dist/types.d.ts +11 -1
  286. package/dist/types.js.map +1 -1
  287. package/dist/updateShadowRoot.js +13 -5
  288. package/dist/updateShadowRoot.js.map +1 -1
  289. package/dist/util/AriaLabelHelper.d.ts +10 -1
  290. package/dist/util/AriaLabelHelper.js +135 -8
  291. package/dist/util/AriaLabelHelper.js.map +1 -1
  292. package/dist/util/Caret.js.map +1 -1
  293. package/dist/util/ColorConversion.js +200 -195
  294. package/dist/util/ColorConversion.js.map +1 -1
  295. package/dist/util/FetchHelper.js.map +1 -1
  296. package/dist/util/FocusableElements.js +4 -3
  297. package/dist/util/FocusableElements.js.map +1 -1
  298. package/dist/util/HTMLSanitizer.js.map +1 -1
  299. package/dist/util/InvisibleMessage.js.map +1 -1
  300. package/dist/util/PopupUtils.js +1 -1
  301. package/dist/util/PopupUtils.js.map +1 -1
  302. package/dist/util/SlotsHelper.js.map +1 -1
  303. package/dist/util/StringHelper.js.map +1 -1
  304. package/dist/util/TabbableElements.js.map +1 -1
  305. package/dist/util/arraysAreEqual.js.map +1 -1
  306. package/dist/util/clamp.js +2 -1
  307. package/dist/util/clamp.js.map +1 -1
  308. package/dist/util/createLinkInHead.d.ts +1 -1
  309. package/dist/util/createLinkInHead.js +1 -1
  310. package/dist/util/createLinkInHead.js.map +1 -1
  311. package/dist/util/createStyleInHead.d.ts +1 -1
  312. package/dist/util/createStyleInHead.js +1 -1
  313. package/dist/util/createStyleInHead.js.map +1 -1
  314. package/dist/util/debounce.js.map +1 -1
  315. package/dist/util/detectNavigatorLanguage.d.ts +2 -2
  316. package/dist/util/detectNavigatorLanguage.js +6 -1
  317. package/dist/util/detectNavigatorLanguage.js.map +1 -1
  318. package/dist/util/dragAndDrop/DragRegistry.d.ts +12 -0
  319. package/dist/util/dragAndDrop/DragRegistry.js +66 -0
  320. package/dist/util/dragAndDrop/DragRegistry.js.map +1 -0
  321. package/dist/util/dragAndDrop/findClosestPosition.d.ts +7 -0
  322. package/dist/util/dragAndDrop/findClosestPosition.js +59 -0
  323. package/dist/util/dragAndDrop/findClosestPosition.js.map +1 -0
  324. package/dist/util/dragAndDrop/longDragOverHandler.d.ts +2 -0
  325. package/dist/util/dragAndDrop/longDragOverHandler.js +25 -0
  326. package/dist/util/dragAndDrop/longDragOverHandler.js.map +1 -0
  327. package/dist/util/escapeRegex.js.map +1 -1
  328. package/dist/util/formatMessage.js.map +1 -1
  329. package/dist/util/generateHighlightedMarkup.js.map +1 -1
  330. package/dist/util/getActiveElement.js.map +1 -1
  331. package/dist/util/getClassCopy.d.ts +63 -43
  332. package/dist/util/getClassCopy.js.map +1 -1
  333. package/dist/util/getDesigntimePropertyAsArray.d.ts +2 -2
  334. package/dist/util/getDesigntimePropertyAsArray.js +2 -1
  335. package/dist/util/getDesigntimePropertyAsArray.js.map +1 -1
  336. package/dist/util/getEffectiveContentDensity.js.map +1 -1
  337. package/dist/util/getEffectiveScrollbarStyle.js.map +1 -1
  338. package/dist/util/getFastNavigationGroups.js.map +1 -1
  339. package/dist/util/getFileExtension.js.map +1 -1
  340. package/dist/util/getNormalizedTarget.js.map +1 -1
  341. package/dist/util/getParentElement.d.ts +2 -0
  342. package/dist/util/getParentElement.js +5 -0
  343. package/dist/util/getParentElement.js.map +1 -0
  344. package/dist/util/getSingletonElementInstance.d.ts +10 -1
  345. package/dist/util/getSingletonElementInstance.js +11 -2
  346. package/dist/util/getSingletonElementInstance.js.map +1 -1
  347. package/dist/util/isElementClickable.js.map +1 -1
  348. package/dist/util/isElementContainingBlock.d.ts +2 -0
  349. package/dist/util/isElementContainingBlock.js +11 -0
  350. package/dist/util/isElementContainingBlock.js.map +1 -0
  351. package/dist/util/isElementHidden.js.map +1 -1
  352. package/dist/util/isElementInView.js.map +1 -1
  353. package/dist/util/isElementTabbable.js.map +1 -1
  354. package/dist/util/isValidPropertyName.js.map +1 -1
  355. package/dist/util/whenDOMReady.js.map +1 -1
  356. package/dist/util/willShowContent.js.map +1 -1
  357. package/dist/validateThemeRoot.js +14 -13
  358. package/dist/validateThemeRoot.js.map +1 -1
  359. package/dist/vscode.html-custom-data.json +22 -0
  360. package/index.js +225 -1
  361. package/lib/generate-asset-parameters/index.js +6 -4
  362. package/lib/generate-styles/index.js +3 -3
  363. package/lib/generate-version-info/index.js +3 -3
  364. package/{package-scripts.js → package-scripts.cjs} +22 -22
  365. package/package.json +15 -6
  366. package/src/css/FontFace.css +47 -17
  367. package/src/css/SystemCSSVars.css +0 -8
  368. package/tsconfig.json +7 -0
  369. package/used-modules.txt +4 -0
  370. package/config/wdio.conf.js +0 -1
  371. package/dist/api.json +0 -1
  372. package/dist/assets/bundle.esm.8fc86dc4.js +0 -56
  373. package/dist/assets-meta/IconCollectionsAlias.d.ts +0 -17
  374. package/dist/assets-meta/IconCollectionsAlias.js +0 -18
  375. package/dist/assets-meta/IconCollectionsAlias.js.map +0 -1
  376. package/dist/config/RTL.d.ts +0 -7
  377. package/dist/config/RTL.js +0 -34
  378. package/dist/config/RTL.js.map +0 -1
  379. package/dist/config/ThemeRoots.d.ts +0 -4
  380. package/dist/config/ThemeRoots.js +0 -28
  381. package/dist/config/ThemeRoots.js.map +0 -1
  382. package/dist/decorators/fastNavigation.d.ts +0 -7
  383. package/dist/decorators/fastNavigation.js +0 -13
  384. package/dist/decorators/fastNavigation.js.map +0 -1
  385. package/dist/decorators/languageAware.d.ts +0 -7
  386. package/dist/decorators/languageAware.js +0 -13
  387. package/dist/decorators/languageAware.js.map +0 -1
  388. package/dist/decorators/themeAware.d.ts +0 -7
  389. package/dist/decorators/themeAware.js +0 -13
  390. package/dist/decorators/themeAware.js.map +0 -1
  391. package/src/AssetRegistry.ts +0 -11
  392. package/src/Boot.ts +0 -61
  393. package/src/CSP.ts +0 -66
  394. package/src/CustomElementsRegistry.ts +0 -98
  395. package/src/CustomElementsScope.ts +0 -33
  396. package/src/CustomElementsScopeUtils.ts +0 -115
  397. package/src/DOMObserver.ts +0 -28
  398. package/src/Device.ts +0 -124
  399. package/src/EventProvider.ts +0 -87
  400. package/src/FeaturesRegistry.ts +0 -14
  401. package/src/FontFace.ts +0 -31
  402. package/src/InitialConfiguration.ts +0 -207
  403. package/src/Keys.ts +0 -295
  404. package/src/ManagedStyles.ts +0 -92
  405. package/src/MarkedEvents.ts +0 -20
  406. package/src/MediaRange.ts +0 -110
  407. package/src/PropertiesFileFormat.ts +0 -95
  408. package/src/Render.ts +0 -180
  409. package/src/RenderQueue.ts +0 -71
  410. package/src/Runtimes.ts +0 -114
  411. package/src/StaticArea.ts +0 -3
  412. package/src/StaticAreaItem.ts +0 -113
  413. package/src/SystemCSSVars.ts +0 -10
  414. package/src/Theming.ts +0 -4
  415. package/src/UI5Element.ts +0 -1156
  416. package/src/UI5ElementMetadata.ts +0 -389
  417. package/src/animations/AnimationQueue.ts +0 -43
  418. package/src/animations/animate.ts +0 -64
  419. package/src/animations/scroll.ts +0 -21
  420. package/src/animations/slideDown.ts +0 -72
  421. package/src/animations/slideUp.ts +0 -67
  422. package/src/asset-registries/Icons.ts +0 -162
  423. package/src/asset-registries/Illustrations.ts +0 -75
  424. package/src/asset-registries/LocaleData.ts +0 -172
  425. package/src/asset-registries/Themes.ts +0 -67
  426. package/src/asset-registries/i18n.ts +0 -118
  427. package/src/assets-meta/IconCollectionsAlias.ts +0 -18
  428. package/src/config/AnimationMode.ts +0 -33
  429. package/src/config/CalendarType.ts +0 -23
  430. package/src/config/FormatSettings.ts +0 -21
  431. package/src/config/Icons.ts +0 -59
  432. package/src/config/Language.ts +0 -72
  433. package/src/config/NoConflict.ts +0 -67
  434. package/src/config/RTL.ts +0 -41
  435. package/src/config/Theme.ts +0 -64
  436. package/src/config/ThemeRoots.ts +0 -41
  437. package/src/decorators/customElement.ts +0 -17
  438. package/src/decorators/event.ts +0 -28
  439. package/src/decorators/fastNavigation.ts +0 -14
  440. package/src/decorators/languageAware.ts +0 -14
  441. package/src/decorators/property.ts +0 -30
  442. package/src/decorators/slot.ts +0 -49
  443. package/src/decorators/themeAware.ts +0 -14
  444. package/src/delegate/ItemNavigation.ts +0 -393
  445. package/src/delegate/ResizeHandler.ts +0 -95
  446. package/src/delegate/ScrollEnablement.ts +0 -224
  447. package/src/features/F6Navigation.ts +0 -141
  448. package/src/features/OpenUI5Element.ts +0 -11
  449. package/src/features/OpenUI5Enablement.ts +0 -117
  450. package/src/features/OpenUI5Support.ts +0 -148
  451. package/src/generated/css/BusyIndicator.css.ts +0 -9
  452. package/src/generated/css/FontFace.css.ts +0 -9
  453. package/src/generated/css/OverrideFontFace.css.ts +0 -9
  454. package/src/generated/css/SystemCSSVars.css.ts +0 -9
  455. package/src/getSharedResource.ts +0 -30
  456. package/src/global.d.ts +0 -38
  457. package/src/i18nBundle.ts +0 -108
  458. package/src/locale/Locale.ts +0 -101
  459. package/src/locale/RTLAwareRegistry.ts +0 -16
  460. package/src/locale/applyDirection.ts +0 -18
  461. package/src/locale/directionChange.ts +0 -34
  462. package/src/locale/getEffectiveDir.ts +0 -28
  463. package/src/locale/getLocale.ts +0 -46
  464. package/src/locale/languageChange.ts +0 -24
  465. package/src/locale/nextFallbackLocale.ts +0 -28
  466. package/src/locale/normalizeLocale.ts +0 -56
  467. package/src/renderer/LitRenderer.ts +0 -60
  468. package/src/renderer/directives/style-map.js +0 -72
  469. package/src/renderer/executeTemplate.ts +0 -40
  470. package/src/theming/CustomStyle.ts +0 -62
  471. package/src/theming/ThemeLoaded.ts +0 -24
  472. package/src/theming/applyTheme.ts +0 -90
  473. package/src/theming/getConstructableStyle.ts +0 -31
  474. package/src/theming/getEffectiveLinksHrefs.ts +0 -26
  475. package/src/theming/getEffectiveStyle.ts +0 -41
  476. package/src/theming/getStylesString.ts +0 -15
  477. package/src/theming/getThemeDesignerTheme.ts +0 -101
  478. package/src/theming/preloadLinks.ts +0 -24
  479. package/src/thirdparty/_merge.ts +0 -32
  480. package/src/thirdparty/isPlainObject.ts +0 -18
  481. package/src/thirdparty/merge.ts +0 -5
  482. package/src/types/AnimationMode.ts +0 -33
  483. package/src/types/CSSColor.ts +0 -20
  484. package/src/types/CalendarType.ts +0 -38
  485. package/src/types/DOMReference.ts +0 -28
  486. package/src/types/DataType.ts +0 -51
  487. package/src/types/Float.ts +0 -25
  488. package/src/types/Integer.ts +0 -25
  489. package/src/types/InvisibleMessageMode.ts +0 -27
  490. package/src/types/ItemNavigationBehavior.ts +0 -26
  491. package/src/types/NavigationMode.ts +0 -33
  492. package/src/types/ValueState.ts +0 -47
  493. package/src/types.ts +0 -30
  494. package/src/updateShadowRoot.ts +0 -37
  495. package/src/util/AriaLabelHelper.ts +0 -63
  496. package/src/util/Caret.ts +0 -28
  497. package/src/util/ColorConversion.ts +0 -399
  498. package/src/util/FetchHelper.ts +0 -31
  499. package/src/util/FocusableElements.ts +0 -92
  500. package/src/util/HTMLSanitizer.ts +0 -9
  501. package/src/util/InvisibleMessage.ts +0 -69
  502. package/src/util/PopupUtils.ts +0 -112
  503. package/src/util/SlotsHelper.ts +0 -39
  504. package/src/util/StringHelper.ts +0 -26
  505. package/src/util/TabbableElements.ts +0 -70
  506. package/src/util/arraysAreEqual.ts +0 -15
  507. package/src/util/clamp.ts +0 -12
  508. package/src/util/createLinkInHead.ts +0 -25
  509. package/src/util/createStyleInHead.ts +0 -20
  510. package/src/util/debounce.ts +0 -18
  511. package/src/util/detectNavigatorLanguage.ts +0 -13
  512. package/src/util/escapeRegex.ts +0 -11
  513. package/src/util/formatMessage.ts +0 -24
  514. package/src/util/generateHighlightedMarkup.ts +0 -43
  515. package/src/util/getActiveElement.ts +0 -11
  516. package/src/util/getClassCopy.ts +0 -12
  517. package/src/util/getDesigntimePropertyAsArray.ts +0 -4
  518. package/src/util/getEffectiveContentDensity.ts +0 -5
  519. package/src/util/getEffectiveScrollbarStyle.ts +0 -5
  520. package/src/util/getFastNavigationGroups.ts +0 -63
  521. package/src/util/getFileExtension.ts +0 -21
  522. package/src/util/getNormalizedTarget.ts +0 -16
  523. package/src/util/getSingletonElementInstance.ts +0 -13
  524. package/src/util/isElementClickable.ts +0 -19
  525. package/src/util/isElementHidden.ts +0 -9
  526. package/src/util/isElementInView.ts +0 -15
  527. package/src/util/isElementTabbable.ts +0 -37
  528. package/src/util/isValidPropertyName.ts +0 -29
  529. package/src/util/whenDOMReady.ts +0 -13
  530. package/src/util/willShowContent.ts +0 -7
  531. package/src/validateThemeRoot.ts +0 -58
@@ -1,6 +1,9 @@
1
1
  import { getTheme as getConfiguredTheme } from "../InitialConfiguration.js";
2
2
  import { reRenderAllUI5Elements } from "../Render.js";
3
3
  import applyTheme from "../theming/applyTheme.js";
4
+ import getThemeDesignerTheme from "../theming/getThemeDesignerTheme.js";
5
+ import { DEFAULT_THEME, SUPPORTED_THEMES } from "../generated/AssetParameters.js";
6
+ import { isBooted } from "../Boot.js";
4
7
  let curTheme;
5
8
  /**
6
9
  * Returns the current theme.
@@ -24,9 +27,22 @@ const setTheme = async (theme) => {
24
27
  return;
25
28
  }
26
29
  curTheme = theme;
27
- // Update CSS Custom Properties
28
- await applyTheme(curTheme);
29
- await reRenderAllUI5Elements({ themeAware: true });
30
+ if (isBooted()) {
31
+ // Update CSS Custom Properties
32
+ await applyTheme(curTheme);
33
+ await reRenderAllUI5Elements({ themeAware: true });
34
+ }
35
+ };
36
+ /**
37
+ * Returns the default theme.
38
+ *
39
+ * Note: Default theme might be different than the configurated one.
40
+ *
41
+ * @public
42
+ * @returns {string}
43
+ */
44
+ const getDefaultTheme = () => {
45
+ return DEFAULT_THEME;
30
46
  };
31
47
  /**
32
48
  * Returns if the given theme name is the one currently applied.
@@ -39,13 +55,19 @@ const isTheme = (theme) => {
39
55
  return currentTheme === theme || currentTheme === `${theme}_exp`;
40
56
  };
41
57
  /**
42
- * Returns if the current theme is part of given theme family.
58
+ * Returns if the currently set theme is part of legacy theme families ("sap_belize" or "sap_fiori_3").
59
+ * **Note**: in addition, the method checks the base theme of a custom theme, built via the ThemeDesigner.
60
+ *
43
61
  * @private
44
- * @param {string} theme the theme family
45
- * @returns {boolean}
62
+ * @returns { boolean }
46
63
  */
47
- const isThemeFamily = (theme) => {
48
- return getTheme().startsWith(theme);
64
+ const isLegacyThemeFamily = () => {
65
+ const currentTheme = getTheme();
66
+ if (!isKnownTheme(currentTheme)) {
67
+ return !getThemeDesignerTheme()?.baseThemeName?.startsWith("sap_horizon");
68
+ }
69
+ return !currentTheme.startsWith("sap_horizon");
49
70
  };
50
- export { getTheme, setTheme, isTheme, isThemeFamily, };
71
+ const isKnownTheme = (theme) => SUPPORTED_THEMES.includes(theme);
72
+ export { getTheme, setTheme, isTheme, isLegacyThemeFamily, getDefaultTheme, };
51
73
  //# sourceMappingURL=Theme.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Theme.js","sourceRoot":"","sources":["../../src/config/Theme.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,IAAI,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAC5E,OAAO,EAAE,sBAAsB,EAAE,MAAM,cAAc,CAAC;AACtD,OAAO,UAAU,MAAM,0BAA0B,CAAC;AAElD,IAAI,QAAgB,CAAC;AAErB;;;;GAIG;AACH,MAAM,QAAQ,GAAG,GAAW,EAAE;IAC7B,IAAI,QAAQ,KAAK,SAAS,EAAE;QAC3B,QAAQ,GAAG,kBAAkB,EAAE,CAAC;KAChC;IAED,OAAO,QAAQ,CAAC;AACjB,CAAC,CAAC;AAEF;;;;;GAKG;AACH,MAAM,QAAQ,GAAG,KAAK,EAAE,KAAa,EAAiB,EAAE;IACvD,IAAI,QAAQ,KAAK,KAAK,EAAE;QACvB,OAAO;KACP;IAED,QAAQ,GAAG,KAAK,CAAC;IAEjB,+BAA+B;IAC/B,MAAM,UAAU,CAAC,QAAQ,CAAC,CAAC;IAC3B,MAAM,sBAAsB,CAAC,EAAE,UAAU,EAAE,IAAI,EAAE,CAAC,CAAC;AACpD,CAAC,CAAC;AAEF;;;;;GAKG;AACH,MAAM,OAAO,GAAG,CAAC,KAAa,EAAE,EAAE;IACjC,MAAM,YAAY,GAAG,QAAQ,EAAE,CAAC;IAChC,OAAO,YAAY,KAAK,KAAK,IAAI,YAAY,KAAK,GAAG,KAAK,MAAM,CAAC;AAClE,CAAC,CAAC;AAEF;;;;;GAKG;AACH,MAAM,aAAa,GAAG,CAAC,KAAa,EAAE,EAAE;IACvC,OAAO,QAAQ,EAAE,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC;AACrC,CAAC,CAAC;AAEF,OAAO,EACN,QAAQ,EACR,QAAQ,EACR,OAAO,EACP,aAAa,GACb,CAAC"}
1
+ {"version":3,"file":"Theme.js","sourceRoot":"","sources":["../../src/config/Theme.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,IAAI,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAC5E,OAAO,EAAE,sBAAsB,EAAE,MAAM,cAAc,CAAC;AACtD,OAAO,UAAU,MAAM,0BAA0B,CAAC;AAClD,OAAO,qBAAqB,MAAM,qCAAqC,CAAC;AACxE,OAAO,EAAE,aAAa,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AAClF,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEtC,IAAI,QAAgB,CAAC;AAErB;;;;GAIG;AACH,MAAM,QAAQ,GAAG,GAAW,EAAE;IAC7B,IAAI,QAAQ,KAAK,SAAS,EAAE;QAC3B,QAAQ,GAAG,kBAAkB,EAAE,CAAC;KAChC;IAED,OAAO,QAAQ,CAAC;AACjB,CAAC,CAAC;AAEF;;;;;GAKG;AACH,MAAM,QAAQ,GAAG,KAAK,EAAE,KAAa,EAAiB,EAAE;IACvD,IAAI,QAAQ,KAAK,KAAK,EAAE;QACvB,OAAO;KACP;IAED,QAAQ,GAAG,KAAK,CAAC;IAEjB,IAAI,QAAQ,EAAE,EAAE;QACf,+BAA+B;QAC/B,MAAM,UAAU,CAAC,QAAQ,CAAC,CAAC;QAC3B,MAAM,sBAAsB,CAAC,EAAE,UAAU,EAAE,IAAI,EAAE,CAAC,CAAC;KACnD;AACF,CAAC,CAAC;AAEF;;;;;;;GAOG;AACH,MAAM,eAAe,GAAG,GAAW,EAAE;IACpC,OAAO,aAAa,CAAC;AACtB,CAAC,CAAC;AAEF;;;;;GAKG;AACH,MAAM,OAAO,GAAG,CAAC,KAAa,EAAE,EAAE;IACjC,MAAM,YAAY,GAAG,QAAQ,EAAE,CAAC;IAChC,OAAO,YAAY,KAAK,KAAK,IAAI,YAAY,KAAK,GAAG,KAAK,MAAM,CAAC;AAClE,CAAC,CAAC;AAEF;;;;;;GAMG;AACH,MAAM,mBAAmB,GAAG,GAAG,EAAE;IAChC,MAAM,YAAY,GAAG,QAAQ,EAAE,CAAC;IAEhC,IAAI,CAAC,YAAY,CAAC,YAAY,CAAC,EAAE;QAChC,OAAO,CAAC,qBAAqB,EAAE,EAAE,aAAa,EAAE,UAAU,CAAC,aAAa,CAAC,CAAC;KAC1E;IAED,OAAO,CAAC,YAAY,CAAC,UAAU,CAAC,aAAa,CAAC,CAAC;AAChD,CAAC,CAAC;AAEF,MAAM,YAAY,GAAG,CAAC,KAAa,EAAE,EAAE,CAAC,gBAAgB,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;AAEzE,OAAO,EACN,QAAQ,EACR,QAAQ,EACR,OAAO,EACP,mBAAmB,EACnB,eAAe,GACf,CAAC","sourcesContent":["import { getTheme as getConfiguredTheme } from \"../InitialConfiguration.js\";\nimport { reRenderAllUI5Elements } from \"../Render.js\";\nimport applyTheme from \"../theming/applyTheme.js\";\nimport getThemeDesignerTheme from \"../theming/getThemeDesignerTheme.js\";\nimport { DEFAULT_THEME, SUPPORTED_THEMES } from \"../generated/AssetParameters.js\";\nimport { isBooted } from \"../Boot.js\";\n\nlet curTheme: string;\n\n/**\n * Returns the current theme.\n * @public\n * @returns {string} the current theme name\n */\nconst getTheme = (): string => {\n\tif (curTheme === undefined) {\n\t\tcurTheme = getConfiguredTheme();\n\t}\n\n\treturn curTheme;\n};\n\n/**\n * Applies a new theme after fetching its assets from the network.\n * @public\n * @param {string} theme the name of the new theme\n * @returns {Promise<void>} a promise that is resolved when the new theme assets have been fetched and applied to the DOM\n */\nconst setTheme = async (theme: string): Promise<void> => {\n\tif (curTheme === theme) {\n\t\treturn;\n\t}\n\n\tcurTheme = theme;\n\n\tif (isBooted()) {\n\t\t// Update CSS Custom Properties\n\t\tawait applyTheme(curTheme);\n\t\tawait reRenderAllUI5Elements({ themeAware: true });\n\t}\n};\n\n/**\n * Returns the default theme.\n *\n * Note: Default theme might be different than the configurated one.\n *\n * @public\n * @returns {string}\n */\nconst getDefaultTheme = (): string => {\n\treturn DEFAULT_THEME;\n};\n\n/**\n * Returns if the given theme name is the one currently applied.\n * @private\n * @param {string} theme\n * @returns {boolean}\n */\nconst isTheme = (theme: string) => {\n\tconst currentTheme = getTheme();\n\treturn currentTheme === theme || currentTheme === `${theme}_exp`;\n};\n\n/**\n * Returns if the currently set theme is part of legacy theme families (\"sap_belize\" or \"sap_fiori_3\").\n * **Note**: in addition, the method checks the base theme of a custom theme, built via the ThemeDesigner.\n *\n * @private\n * @returns { boolean }\n */\nconst isLegacyThemeFamily = () => {\n\tconst currentTheme = getTheme();\n\n\tif (!isKnownTheme(currentTheme)) {\n\t\treturn !getThemeDesignerTheme()?.baseThemeName?.startsWith(\"sap_horizon\");\n\t}\n\n\treturn !currentTheme.startsWith(\"sap_horizon\");\n};\n\nconst isKnownTheme = (theme: string) => SUPPORTED_THEMES.includes(theme);\n\nexport {\n\tgetTheme,\n\tsetTheme,\n\tisTheme,\n\tisLegacyThemeFamily,\n\tgetDefaultTheme,\n};\n"]}
@@ -0,0 +1,27 @@
1
+ /**
2
+ * Returns the current theme root.
3
+ *
4
+ * @public
5
+ * @since 1.14.0
6
+ * @returns { string } the current theme root
7
+ */
8
+ declare const getThemeRoot: () => string | undefined;
9
+ /**
10
+ * Sets theme root for the current theme.
11
+ * When set, the framework will validate the theme root and fetch the theme styles (CSS variables) from this location.
12
+ *
13
+ * **Note:** The feature is specific to custom themes, created with the `UI Theme Designer`.
14
+ * The provided theme root is used only as a base to construct the actual location of the theme styles: `{themeRoot}/.../css_variables.css`.
15
+ *
16
+ * **Note:** Certain security restrictions will apply before fetching the theme assets.
17
+ * Absolute URLs to a different origin than the current page will result in using the current page as an origin.
18
+ * To allow specific origins, use &lt;meta name="sap-allowedThemeOrigins" content="https://my-example-host.com/"&gt; tag inside the &lt;head&gt; of the page.
19
+ *
20
+ * @public
21
+ * @since 1.14.0
22
+ * @param { string } themeRoot the new theme root
23
+ * @returns { Promise<void> }
24
+ */
25
+ declare const setThemeRoot: (themeRoot: string) => Promise<void> | undefined;
26
+ declare const attachCustomThemeStylesToHead: (theme: string) => Promise<void>;
27
+ export { getThemeRoot, setThemeRoot, attachCustomThemeStylesToHead, };
@@ -0,0 +1,57 @@
1
+ import createLinkInHead from "../util/createLinkInHead.js";
2
+ import validateThemeRoot from "../validateThemeRoot.js";
3
+ import { getThemeRoot as getConfiguredThemeRoot } from "../InitialConfiguration.js";
4
+ import { getTheme } from "./Theme.js";
5
+ let currThemeRoot;
6
+ /**
7
+ * Returns the current theme root.
8
+ *
9
+ * @public
10
+ * @since 1.14.0
11
+ * @returns { string } the current theme root
12
+ */
13
+ const getThemeRoot = () => {
14
+ if (currThemeRoot === undefined) {
15
+ currThemeRoot = getConfiguredThemeRoot();
16
+ }
17
+ return currThemeRoot;
18
+ };
19
+ /**
20
+ * Sets theme root for the current theme.
21
+ * When set, the framework will validate the theme root and fetch the theme styles (CSS variables) from this location.
22
+ *
23
+ * **Note:** The feature is specific to custom themes, created with the `UI Theme Designer`.
24
+ * The provided theme root is used only as a base to construct the actual location of the theme styles: `{themeRoot}/.../css_variables.css`.
25
+ *
26
+ * **Note:** Certain security restrictions will apply before fetching the theme assets.
27
+ * Absolute URLs to a different origin than the current page will result in using the current page as an origin.
28
+ * To allow specific origins, use &lt;meta name="sap-allowedThemeOrigins" content="https://my-example-host.com/"&gt; tag inside the &lt;head&gt; of the page.
29
+ *
30
+ * @public
31
+ * @since 1.14.0
32
+ * @param { string } themeRoot the new theme root
33
+ * @returns { Promise<void> }
34
+ */
35
+ const setThemeRoot = (themeRoot) => {
36
+ if (currThemeRoot === themeRoot) {
37
+ return;
38
+ }
39
+ currThemeRoot = themeRoot;
40
+ if (!validateThemeRoot(themeRoot)) {
41
+ console.warn(`The ${themeRoot} is not valid. Check the allowed origins as suggested in the "setThemeRoot" description.`); // eslint-disable-line
42
+ return;
43
+ }
44
+ return attachCustomThemeStylesToHead(getTheme());
45
+ };
46
+ const formatThemeLink = (theme) => {
47
+ return `${getThemeRoot()}Base/baseLib/${theme}/css_variables.css`; // theme root is always set at this point.
48
+ };
49
+ const attachCustomThemeStylesToHead = async (theme) => {
50
+ const link = document.querySelector(`[sap-ui-webcomponents-theme="${theme}"]`);
51
+ if (link) {
52
+ document.head.removeChild(link);
53
+ }
54
+ await createLinkInHead(formatThemeLink(theme), { "sap-ui-webcomponents-theme": theme });
55
+ };
56
+ export { getThemeRoot, setThemeRoot, attachCustomThemeStylesToHead, };
57
+ //# sourceMappingURL=ThemeRoot.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ThemeRoot.js","sourceRoot":"","sources":["../../src/config/ThemeRoot.ts"],"names":[],"mappings":"AAAA,OAAO,gBAAgB,MAAM,6BAA6B,CAAC;AAC3D,OAAO,iBAAiB,MAAM,yBAAyB,CAAC;AACxD,OAAO,EAAE,YAAY,IAAI,sBAAsB,EAAE,MAAM,4BAA4B,CAAC;AACpF,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEtC,IAAI,aAAiC,CAAC;AAEtC;;;;;;GAMG;AACH,MAAM,YAAY,GAAG,GAAuB,EAAE;IAC7C,IAAI,aAAa,KAAK,SAAS,EAAE;QAChC,aAAa,GAAG,sBAAsB,EAAE,CAAC;KACzC;IAED,OAAO,aAAa,CAAC;AACtB,CAAC,CAAC;AAEF;;;;;;;;;;;;;;;GAeG;AACH,MAAM,YAAY,GAAG,CAAC,SAAiB,EAA6B,EAAE;IACrE,IAAI,aAAa,KAAK,SAAS,EAAE;QAChC,OAAO;KACP;IAED,aAAa,GAAG,SAAS,CAAC;IAE1B,IAAI,CAAC,iBAAiB,CAAC,SAAS,CAAC,EAAE;QAClC,OAAO,CAAC,IAAI,CAAC,OAAO,SAAS,0FAA0F,CAAC,CAAC,CAAC,sBAAsB;QAChJ,OAAO;KACP;IAED,OAAO,6BAA6B,CAAC,QAAQ,EAAE,CAAC,CAAC;AAClD,CAAC,CAAC;AAEF,MAAM,eAAe,GAAG,CAAC,KAAa,EAAE,EAAE;IACzC,OAAO,GAAG,YAAY,EAAG,gBAAgB,KAAK,oBAAoB,CAAC,CAAC,0CAA0C;AAC/G,CAAC,CAAC;AAEF,MAAM,6BAA6B,GAAG,KAAK,EAAE,KAAa,EAAiB,EAAE;IAC5E,MAAM,IAAI,GAAG,QAAQ,CAAC,aAAa,CAAC,gCAAgC,KAAK,IAAI,CAAC,CAAC;IAE/E,IAAI,IAAI,EAAE;QACT,QAAQ,CAAC,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC;KAChC;IAED,MAAM,gBAAgB,CAAC,eAAe,CAAC,KAAK,CAAC,EAAE,EAAE,4BAA4B,EAAE,KAAK,EAAE,CAAC,CAAC;AACzF,CAAC,CAAC;AAEF,OAAO,EACN,YAAY,EACZ,YAAY,EACZ,6BAA6B,GAC7B,CAAC","sourcesContent":["import createLinkInHead from \"../util/createLinkInHead.js\";\nimport validateThemeRoot from \"../validateThemeRoot.js\";\nimport { getThemeRoot as getConfiguredThemeRoot } from \"../InitialConfiguration.js\";\nimport { getTheme } from \"./Theme.js\";\n\nlet currThemeRoot: string | undefined;\n\n/**\n * Returns the current theme root.\n *\n * @public\n * @since 1.14.0\n * @returns { string } the current theme root\n */\nconst getThemeRoot = (): string | undefined => {\n\tif (currThemeRoot === undefined) {\n\t\tcurrThemeRoot = getConfiguredThemeRoot();\n\t}\n\n\treturn currThemeRoot;\n};\n\n/**\n * Sets theme root for the current theme.\n * When set, the framework will validate the theme root and fetch the theme styles (CSS variables) from this location.\n *\n * **Note:** The feature is specific to custom themes, created with the `UI Theme Designer`.\n * The provided theme root is used only as a base to construct the actual location of the theme styles: `{themeRoot}/.../css_variables.css`.\n *\n * **Note:** Certain security restrictions will apply before fetching the theme assets.\n * Absolute URLs to a different origin than the current page will result in using the current page as an origin.\n * To allow specific origins, use &lt;meta name=\"sap-allowedThemeOrigins\" content=\"https://my-example-host.com/\"&gt; tag inside the &lt;head&gt; of the page.\n *\n * @public\n * @since 1.14.0\n * @param { string } themeRoot the new theme root\n * @returns { Promise<void> }\n */\nconst setThemeRoot = (themeRoot: string): Promise<void> | undefined => {\n\tif (currThemeRoot === themeRoot) {\n\t\treturn;\n\t}\n\n\tcurrThemeRoot = themeRoot;\n\n\tif (!validateThemeRoot(themeRoot)) {\n\t\tconsole.warn(`The ${themeRoot} is not valid. Check the allowed origins as suggested in the \"setThemeRoot\" description.`); // eslint-disable-line\n\t\treturn;\n\t}\n\n\treturn attachCustomThemeStylesToHead(getTheme());\n};\n\nconst formatThemeLink = (theme: string) => {\n\treturn `${getThemeRoot()!}Base/baseLib/${theme}/css_variables.css`; // theme root is always set at this point.\n};\n\nconst attachCustomThemeStylesToHead = async (theme: string): Promise<void> => {\n\tconst link = document.querySelector(`[sap-ui-webcomponents-theme=\"${theme}\"]`);\n\n\tif (link) {\n\t\tdocument.head.removeChild(link);\n\t}\n\n\tawait createLinkInHead(formatThemeLink(theme), { \"sap-ui-webcomponents-theme\": theme });\n};\n\nexport {\n\tgetThemeRoot,\n\tsetThemeRoot,\n\tattachCustomThemeStylesToHead,\n};\n"]}
@@ -0,0 +1,17 @@
1
+ /**
2
+ * Returns the configured IANA timezone ID.
3
+ *
4
+ * @private
5
+ * @returns {string}
6
+ */
7
+ declare const getTimezone: () => string | undefined;
8
+ /**
9
+ * Sets the IANA timezone ID.
10
+ * **For example:** "America/New_York", "Europe/London", "Australia/Sydney", "Asia/Bishkek", etc.
11
+ *>
12
+ * @param {string} timezone
13
+ * @private
14
+ * @returns { Promise<void> }
15
+ */
16
+ declare const setTimezone: (timezone: string) => void;
17
+ export { getTimezone, setTimezone, };
@@ -0,0 +1,30 @@
1
+ import { getTimezone as getConfiguredTimezone } from "../InitialConfiguration.js";
2
+ let currTimezone;
3
+ /**
4
+ * Returns the configured IANA timezone ID.
5
+ *
6
+ * @private
7
+ * @returns {string}
8
+ */
9
+ const getTimezone = () => {
10
+ if (currTimezone === undefined) {
11
+ currTimezone = getConfiguredTimezone();
12
+ }
13
+ return currTimezone;
14
+ };
15
+ /**
16
+ * Sets the IANA timezone ID.
17
+ * **For example:** "America/New_York", "Europe/London", "Australia/Sydney", "Asia/Bishkek", etc.
18
+ *>
19
+ * @param {string} timezone
20
+ * @private
21
+ * @returns { Promise<void> }
22
+ */
23
+ const setTimezone = (timezone) => {
24
+ if (currTimezone === timezone) {
25
+ return;
26
+ }
27
+ currTimezone = timezone;
28
+ };
29
+ export { getTimezone, setTimezone, };
30
+ //# sourceMappingURL=Timezone.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Timezone.js","sourceRoot":"","sources":["../../src/config/Timezone.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,IAAI,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AAElF,IAAI,YAAgC,CAAC;AAErC;;;;;GAKG;AACH,MAAM,WAAW,GAAG,GAAuB,EAAE;IAC5C,IAAI,YAAY,KAAK,SAAS,EAAE;QAC/B,YAAY,GAAG,qBAAqB,EAAE,CAAC;KACvC;IACD,OAAO,YAAY,CAAC;AACrB,CAAC,CAAC;AAEF;;;;;;;GAOG;AACH,MAAM,WAAW,GAAG,CAAC,QAAgB,EAAE,EAAE;IACxC,IAAI,YAAY,KAAK,QAAQ,EAAE;QAC9B,OAAO;KACP;IAED,YAAY,GAAG,QAAQ,CAAC;AACzB,CAAC,CAAC;AAEF,OAAO,EACN,WAAW,EACX,WAAW,GACX,CAAC","sourcesContent":["import { getTimezone as getConfiguredTimezone } from \"../InitialConfiguration.js\";\n\nlet currTimezone: string | undefined;\n\n/**\n * Returns the configured IANA timezone ID.\n *\n * @private\n * @returns {string}\n */\nconst getTimezone = (): string | undefined => {\n\tif (currTimezone === undefined) {\n\t\tcurrTimezone = getConfiguredTimezone();\n\t}\n\treturn currTimezone;\n};\n\n/**\n * Sets the IANA timezone ID.\n * **For example:** \"America/New_York\", \"Europe/London\", \"Australia/Sydney\", \"Asia/Bishkek\", etc.\n *>\n * @param {string} timezone\n * @private\n * @returns { Promise<void> }\n */\nconst setTimezone = (timezone: string) => {\n\tif (currTimezone === timezone) {\n\t\treturn;\n\t}\n\n\tcurrTimezone = timezone;\n};\n\nexport {\n\tgetTimezone,\n\tsetTimezone,\n};\n"]}
@@ -0,0 +1,9 @@
1
+ import type UI5Element from "./UI5Element.js";
2
+ type ConnectOptions = {
3
+ host: UI5Element;
4
+ propName: string;
5
+ onConnect?: (friend: HTMLElement) => void;
6
+ onDisconnect?: (friend: HTMLElement) => void;
7
+ };
8
+ declare const connectToComponent: (options: ConnectOptions) => HTMLElement | undefined;
9
+ export default connectToComponent;
@@ -0,0 +1,59 @@
1
+ import { renderDeferred } from "./Render.js";
2
+ const MISSING_ELEMENT_POLL_TIMEOUT = 500; // how often to poll for not-yet-in-DOM friend elements
3
+ const connections = new Map();
4
+ const intervals = new Map();
5
+ const connectToComponent = (options) => {
6
+ const host = options.host;
7
+ const propName = options.propName;
8
+ const friend = host[propName];
9
+ let connectedTo;
10
+ if (friend === undefined || friend === "") {
11
+ connectedTo = undefined; // do not return early even if a "menu" property is not set - it may have been set before and cleanup must run
12
+ }
13
+ else if (friend instanceof HTMLElement) {
14
+ connectedTo = friend;
15
+ }
16
+ else {
17
+ const rootNode = host.getRootNode();
18
+ connectedTo = (rootNode.getElementById && rootNode.getElementById(friend)) || undefined;
19
+ }
20
+ const key = `${host._id}-${propName}`;
21
+ const prevConnectedTo = connections.get(key);
22
+ // Not connected - return undefined
23
+ if (!connectedTo) {
24
+ if (prevConnectedTo) { // but first disconnect, if needed
25
+ options.onDisconnect && options.onDisconnect(prevConnectedTo);
26
+ connections.delete(key);
27
+ }
28
+ // if friend element not in DOM yet, start polling
29
+ if (typeof friend === "string" && friend && !intervals.has(key)) {
30
+ const interval = setInterval(() => {
31
+ const rootNode = host.getRootNode();
32
+ const found = (rootNode.getElementById && rootNode.getElementById(friend));
33
+ if (found) {
34
+ clearInterval(intervals.get(key));
35
+ intervals.delete(key);
36
+ renderDeferred(host);
37
+ }
38
+ }, MISSING_ELEMENT_POLL_TIMEOUT);
39
+ intervals.set(key, interval);
40
+ }
41
+ return;
42
+ }
43
+ // If connected, but still polling, stop polling
44
+ if (intervals.has(key)) {
45
+ clearInterval(intervals.get(key));
46
+ intervals.delete(key);
47
+ }
48
+ // Connected - either for the first time, or to something else
49
+ if (prevConnectedTo !== connectedTo) {
50
+ if (prevConnectedTo) {
51
+ options.onDisconnect && options.onDisconnect(prevConnectedTo);
52
+ }
53
+ options.onConnect && options.onConnect(connectedTo);
54
+ connections.set(key, connectedTo);
55
+ }
56
+ return connections.get(key);
57
+ };
58
+ export default connectToComponent;
59
+ //# sourceMappingURL=connectToComponent.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"connectToComponent.js","sourceRoot":"","sources":["../src/connectToComponent.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAG7C,MAAM,4BAA4B,GAAG,GAAG,CAAC,CAAC,uDAAuD;AACjG,MAAM,WAAW,GAAG,IAAI,GAAG,EAAuB,CAAC;AACnD,MAAM,SAAS,GAAG,IAAI,GAAG,EAAoB,CAAC;AAS9C,MAAM,kBAAkB,GAAG,CAAC,OAAuB,EAA2B,EAAE;IAC/E,MAAM,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC;IAC1B,MAAM,QAAQ,GAAG,OAAO,CAAC,QAAQ,CAAC;IAClC,MAAM,MAAM,GAAG,IAAI,CAAC,QAA6B,CAAqC,CAAC;IAEvF,IAAI,WAAoC,CAAC;IACzC,IAAI,MAAM,KAAK,SAAS,IAAI,MAAM,KAAK,EAAE,EAAE;QAC1C,WAAW,GAAG,SAAS,CAAC,CAAC,8GAA8G;KACvI;SAAM,IAAI,MAAM,YAAY,WAAW,EAAE;QACzC,WAAW,GAAG,MAAM,CAAC;KACrB;SAAM;QACN,MAAM,QAAQ,GAAG,IAAI,CAAC,WAAW,EAAc,CAAC;QAChD,WAAW,GAAG,CAAC,QAAQ,CAAC,cAAc,IAAI,QAAQ,CAAC,cAAc,CAAC,MAAM,CAAC,CAAC,IAAI,SAAS,CAAC;KACxF;IAED,MAAM,GAAG,GAAG,GAAG,IAAI,CAAC,GAAG,IAAI,QAAQ,EAAE,CAAC;IACtC,MAAM,eAAe,GAAG,WAAW,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;IAE7C,mCAAmC;IACnC,IAAI,CAAC,WAAW,EAAE;QACjB,IAAI,eAAe,EAAE,EAAE,kCAAkC;YACxD,OAAO,CAAC,YAAY,IAAI,OAAO,CAAC,YAAY,CAAC,eAAe,CAAC,CAAC;YAC9D,WAAW,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC;SACxB;QAED,kDAAkD;QAClD,IAAI,OAAO,MAAM,KAAK,QAAQ,IAAI,MAAM,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,GAAG,CAAC,EAAE;YAChE,MAAM,QAAQ,GAAG,WAAW,CAAC,GAAG,EAAE;gBACjC,MAAM,QAAQ,GAAG,IAAI,CAAC,WAAW,EAAc,CAAC;gBAChD,MAAM,KAAK,GAAG,CAAC,QAAQ,CAAC,cAAc,IAAI,QAAQ,CAAC,cAAc,CAAC,MAAM,CAAC,CAAC,CAAC;gBAE3E,IAAI,KAAK,EAAE;oBACV,aAAa,CAAC,SAAS,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC;oBAClC,SAAS,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC;oBACtB,cAAc,CAAC,IAAI,CAAC,CAAC;iBACrB;YACF,CAAC,EAAE,4BAA4B,CAAC,CAAC;YACjC,SAAS,CAAC,GAAG,CAAC,GAAG,EAAE,QAAQ,CAAC,CAAC;SAC7B;QAED,OAAO;KACP;IAED,gDAAgD;IAChD,IAAI,SAAS,CAAC,GAAG,CAAC,GAAG,CAAC,EAAE;QACvB,aAAa,CAAC,SAAS,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC;QAClC,SAAS,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC;KACtB;IAED,8DAA8D;IAC9D,IAAI,eAAe,KAAK,WAAW,EAAE;QACpC,IAAI,eAAe,EAAE;YACpB,OAAO,CAAC,YAAY,IAAI,OAAO,CAAC,YAAY,CAAC,eAAe,CAAC,CAAC;SAC9D;QACD,OAAO,CAAC,SAAS,IAAI,OAAO,CAAC,SAAS,CAAC,WAAW,CAAC,CAAC;QACpD,WAAW,CAAC,GAAG,CAAC,GAAG,EAAE,WAAW,CAAC,CAAC;KAClC;IAED,OAAO,WAAW,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;AAC7B,CAAC,CAAC;AAEF,eAAe,kBAAkB,CAAC","sourcesContent":["import type UI5Element from \"./UI5Element.js\";\nimport { renderDeferred } from \"./Render.js\";\nimport { Interval } from \"./types.js\";\n\nconst MISSING_ELEMENT_POLL_TIMEOUT = 500; // how often to poll for not-yet-in-DOM friend elements\nconst connections = new Map<string, HTMLElement>();\nconst intervals = new Map<string, Interval>();\n\ntype ConnectOptions = {\n\thost: UI5Element;\n\tpropName: string;\n\tonConnect?: (friend: HTMLElement) => void;\n\tonDisconnect?: (friend: HTMLElement) => void;\n}\n\nconst connectToComponent = (options: ConnectOptions): HTMLElement | undefined => {\n\tconst host = options.host;\n\tconst propName = options.propName;\n\tconst friend = host[propName as keyof typeof host] as HTMLElement | string | undefined;\n\n\tlet connectedTo: HTMLElement | undefined;\n\tif (friend === undefined || friend === \"\") {\n\t\tconnectedTo = undefined; // do not return early even if a \"menu\" property is not set - it may have been set before and cleanup must run\n\t} else if (friend instanceof HTMLElement) {\n\t\tconnectedTo = friend;\n\t} else {\n\t\tconst rootNode = host.getRootNode() as Document;\n\t\tconnectedTo = (rootNode.getElementById && rootNode.getElementById(friend)) || undefined;\n\t}\n\n\tconst key = `${host._id}-${propName}`;\n\tconst prevConnectedTo = connections.get(key);\n\n\t// Not connected - return undefined\n\tif (!connectedTo) {\n\t\tif (prevConnectedTo) { // but first disconnect, if needed\n\t\t\toptions.onDisconnect && options.onDisconnect(prevConnectedTo);\n\t\t\tconnections.delete(key);\n\t\t}\n\n\t\t// if friend element not in DOM yet, start polling\n\t\tif (typeof friend === \"string\" && friend && !intervals.has(key)) {\n\t\t\tconst interval = setInterval(() => {\n\t\t\t\tconst rootNode = host.getRootNode() as Document;\n\t\t\t\tconst found = (rootNode.getElementById && rootNode.getElementById(friend));\n\n\t\t\t\tif (found) {\n\t\t\t\t\tclearInterval(intervals.get(key));\n\t\t\t\t\tintervals.delete(key);\n\t\t\t\t\trenderDeferred(host);\n\t\t\t\t}\n\t\t\t}, MISSING_ELEMENT_POLL_TIMEOUT);\n\t\t\tintervals.set(key, interval);\n\t\t}\n\n\t\treturn;\n\t}\n\n\t// If connected, but still polling, stop polling\n\tif (intervals.has(key)) {\n\t\tclearInterval(intervals.get(key));\n\t\tintervals.delete(key);\n\t}\n\n\t// Connected - either for the first time, or to something else\n\tif (prevConnectedTo !== connectedTo) {\n\t\tif (prevConnectedTo) {\n\t\t\toptions.onDisconnect && options.onDisconnect(prevConnectedTo);\n\t\t}\n\t\toptions.onConnect && options.onConnect(connectedTo);\n\t\tconnections.set(key, connectedTo);\n\t}\n\n\treturn connections.get(key);\n};\n\nexport default connectToComponent;\n"]}
@@ -2,65 +2,95 @@
2
2
  font-family: "72";
3
3
  font-style: normal;
4
4
  font-weight: 400;
5
- src: local("72"),
6
- url(https://sdk.openui5.org/resources/sap/ui/core/themes/sap_fiori_3/fonts/72-Regular.woff2?ui5-webcomponents) format("woff2");
5
+ src: url(https://sdk.openui5.org/resources/sap/ui/core/themes/sap_horizon/fonts/72-Regular.woff2?ui5-webcomponents) format("woff2"), local("72");
6
+ unicode-range: U+00, U+0D, U+20-7E, U+A0-FF, U+131, U+152-153, U+161, U+178, U+17D-17E, U+192, U+237, U+2C6, U+2DC, U+3BC, U+1E9E, U+2013-2014, U+2018-201A, U+201C-201E, U+2020-2022, U+2026, U+2030, U+2039-203A, U+2044, U+20AC, U+2122;
7
7
  }
8
8
 
9
9
  @font-face {
10
10
  font-family: "72full";
11
11
  font-style: normal;
12
12
  font-weight: 400;
13
- src: local('72-full'),
14
- url(https://sdk.openui5.org/resources/sap/ui/core/themes/sap_fiori_3/fonts/72-Regular-full.woff2?ui5-webcomponents) format("woff2");
15
-
13
+ 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');
16
14
  }
17
15
 
18
16
  @font-face {
19
17
  font-family: "72";
20
18
  font-style: normal;
21
19
  font-weight: 700;
22
- src: local('72-Bold'),
23
- url(https://sdk.openui5.org/resources/sap/ui/core/themes/sap_fiori_3/fonts/72-Bold.woff2?ui5-webcomponents) format("woff2");
20
+ src: url(https://sdk.openui5.org/resources/sap/ui/core/themes/sap_horizon/fonts/72-Bold.woff2?ui5-webcomponents) format("woff2"), local('72-Bold');
21
+ unicode-range: U+00, U+0D, U+20-7E, U+A0-FF, U+131, U+152-153, U+161, U+178, U+17D-17E, U+192, U+237, U+2C6, U+2DC, U+3BC, U+1E9E, U+2013-2014, U+2018-201A, U+201C-201E, U+2020-2022, U+2026, U+2030, U+2039-203A, U+2044, U+20AC, U+2122;
24
22
  }
25
23
 
26
24
  @font-face {
27
25
  font-family: "72full";
28
26
  font-style: normal;
29
27
  font-weight: 700;
30
- src: local('72-Bold-full'),
31
- url(https://sdk.openui5.org/resources/sap/ui/core/themes/sap_fiori_3/fonts/72-Bold-full.woff2?ui5-webcomponents) format("woff2");
28
+ src: url(https://sdk.openui5.org/resources/sap/ui/core/themes/sap_horizon/fonts/72-Bold-full.woff2?ui5-webcomponents) format("woff2");
32
29
  }
33
30
 
34
31
  @font-face {
35
32
  font-family: '72-Bold';
36
33
  font-style: normal;
37
- src: local('72-Bold'),
38
- url(https://sdk.openui5.org/resources/sap/ui/core/themes/sap_fiori_3/fonts/72-Bold.woff2?ui5-webcomponents) format("woff2");
34
+ src: url(https://sdk.openui5.org/resources/sap/ui/core/themes/sap_horizon/fonts/72-Bold.woff2?ui5-webcomponents) format("woff2"), local('72-Bold');
35
+ unicode-range: U+00, U+0D, U+20-7E, U+A0-FF, U+131, U+152-153, U+161, U+178, U+17D-17E, U+192, U+237, U+2C6, U+2DC, U+3BC, U+1E9E, U+2013-2014, U+2018-201A, U+201C-201E, U+2020-2022, U+2026, U+2030, U+2039-203A, U+2044, U+20AC, U+2122;
39
36
  }
40
37
 
41
38
  @font-face {
42
39
  font-family: '72-Boldfull';
43
40
  font-style: normal;
44
- src: url(https://sdk.openui5.org/resources/sap/ui/core/themes/sap_fiori_3/fonts/72-Bold-full.woff2?ui5-webcomponents) format("woff2");
41
+ src: url(https://sdk.openui5.org/resources/sap/ui/core/themes/sap_horizon/fonts/72-Bold-full.woff2?ui5-webcomponents) format("woff2");
45
42
  }
46
43
 
47
44
  @font-face {
48
45
  font-family: '72-Light';
49
46
  font-style: normal;
50
- src: local('72-Light'),
51
- url(https://sdk.openui5.org/resources/sap/ui/core/themes/sap_fiori_3/fonts/72-Light.woff2?ui5-webcomponents) format("woff2");
47
+ src: url(https://sdk.openui5.org/resources/sap/ui/core/themes/sap_horizon/fonts/72-Light.woff2?ui5-webcomponents) format("woff2"), local('72-Light');
48
+ unicode-range: U+00, U+0D, U+20-7E, U+A0-FF, U+131, U+152-153, U+161, U+178, U+17D-17E, U+192, U+237, U+2C6, U+2DC, U+3BC, U+1E9E, U+2013-2014, U+2018-201A, U+201C-201E, U+2020-2022, U+2026, U+2030, U+2039-203A, U+2044, U+20AC, U+2122;
52
49
  }
53
50
 
54
51
  @font-face {
55
52
  font-family: '72-Lightfull';
56
53
  font-style: normal;
57
- src: url(https://sdk.openui5.org/resources/sap/ui/core/themes/sap_fiori_3/fonts/72-Light-full.woff2?ui5-webcomponents) format("woff2");
54
+ src: url(https://sdk.openui5.org/resources/sap/ui/core/themes/sap_horizon/fonts/72-Light-full.woff2?ui5-webcomponents) format("woff2");
55
+ }
56
+
57
+ @font-face {
58
+ font-family: '72Mono';
59
+ src: url(https://sdk.openui5.org/resources/sap/ui/core/themes/sap_horizon/fonts/72Mono-Regular.woff2?ui5-webcomponents) format('woff2'), local('72Mono');
60
+ unicode-range: U+00, U+0D, U+20-7E, U+A0-FF, U+131, U+152-153, U+161, U+178, U+17D-17E, U+192, U+237, U+2C6, U+2DC, U+3BC, U+1E9E, U+2013-2014, U+2018-201A, U+201C-201E, U+2020-2022, U+2026, U+2030, U+2039-203A, U+2044, U+20AC, U+2122;
61
+ }
62
+
63
+ @font-face {
64
+ font-family: '72Monofull';
65
+ src: url(https://sdk.openui5.org/resources/sap/ui/core/themes/sap_horizon/fonts/72Mono-Regular-full.woff2?ui5-webcomponents) format('woff2');
66
+ }
67
+
68
+ @font-face {
69
+ font-family: '72Mono-Bold';
70
+ src: url(https://sdk.openui5.org/resources/sap/ui/core/themes/sap_horizon/fonts/72Mono-Bold.woff2?ui5-webcomponents) format('woff2'), local('72Mono-Bold');
71
+ unicode-range: U+00, U+0D, U+20-7E, U+A0-FF, U+131, U+152-153, U+161, U+178, U+17D-17E, U+192, U+237, U+2C6, U+2DC, U+3BC, U+1E9E, U+2013-2014, U+2018-201A, U+201C-201E, U+2020-2022, U+2026, U+2030, U+2039-203A, U+2044, U+20AC, U+2122;
72
+ }
73
+
74
+ @font-face {
75
+ font-family: '72Mono-Boldfull';
76
+ src: url(https://sdk.openui5.org/resources/sap/ui/core/themes/sap_horizon/fonts/72Mono-Bold-full.woff2?ui5-webcomponents) format('woff2');
58
77
  }
59
78
 
60
79
  @font-face {
61
80
  font-family: "72Black";
62
81
  font-style: bold;
63
82
  font-weight: 900;
64
- src: local('72Black'),
65
- url(https://sdk.openui5.org/resources/sap/ui/core/themes/sap_horizon/fonts/72-Black.woff2?ui5-webcomponents) format("woff2");
83
+ src: url(https://sdk.openui5.org/resources/sap/ui/core/themes/sap_horizon/fonts/72-Black.woff2?ui5-webcomponents) format("woff2"), local('72Black');
84
+ unicode-range: U+00, U+0D, U+20-7E, U+A0-FF, U+131, U+152-153, U+161, U+178, U+17D-17E, U+192, U+237, U+2C6, U+2DC, U+3BC, U+1E9E, U+2013-2014, U+2018-201A, U+201C-201E, U+2020-2022, U+2026, U+2030, U+2039-203A, U+2044, U+20AC, U+2122;
66
85
  }
86
+
87
+ @font-face {
88
+ font-family: '72Blackfull';
89
+ src: url(https://sdk.openui5.org/resources/sap/ui/core/themes/sap_horizon/fonts/72-Black-full.woff2?ui5-webcomponents) format('woff2');
90
+ }
91
+
92
+ @font-face {
93
+ font-family: "72-SemiboldDuplex";
94
+ src: url(https://sdk.openui5.org/resources/sap/ui/core/themes/sap_horizon/fonts/72-SemiboldDuplex.woff2?ui5-webcomponents) format("woff2"), local('72-SemiboldDuplex');
95
+ unicode-range: U+00, U+0D, U+20-7E, U+A0-FF, U+131, U+152-153, U+161, U+178, U+17D-17E, U+192, U+237, U+2C6, U+2DC, U+3BC, U+1E9E, U+2013-2014, U+2018-201A, U+201C-201E, U+2020-2022, U+2026, U+2030, U+2039-203A, U+2044, U+20AC, U+2122;
96
+ }
@@ -7,11 +7,3 @@
7
7
  .sapUiSizeCompact {
8
8
  --_ui5_content_density:compact;
9
9
  }
10
-
11
- [dir="rtl"] {
12
- --_ui5_dir:rtl;
13
- }
14
-
15
- [dir="ltr"] {
16
- --_ui5_dir:ltr;
17
- }