@ui5/webcomponents-base 0.0.0-389bdbabc → 0.0.0-38f83ffef

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 (1194) hide show
  1. package/.npsrc.json +3 -0
  2. package/CHANGELOG.md +2596 -0
  3. package/README.md +50 -10
  4. package/cypress.config.js +3 -0
  5. package/dist/.tsbuildinfobuild +1 -0
  6. package/dist/AssetRegistry.d.ts +5 -0
  7. package/dist/AssetRegistry.js +6 -9
  8. package/dist/AssetRegistry.js.map +1 -0
  9. package/dist/Boot.d.ts +10 -0
  10. package/dist/Boot.js +75 -0
  11. package/dist/Boot.js.map +1 -0
  12. package/dist/CustomElementsRegistry.d.ts +6 -0
  13. package/dist/CustomElementsRegistry.js +81 -0
  14. package/dist/CustomElementsRegistry.js.map +1 -0
  15. package/dist/CustomElementsScope.d.ts +7 -0
  16. package/dist/CustomElementsScope.js +11 -0
  17. package/dist/CustomElementsScope.js.map +1 -0
  18. package/dist/CustomElementsScopeUtils.d.ts +64 -0
  19. package/dist/CustomElementsScopeUtils.js +109 -0
  20. package/dist/CustomElementsScopeUtils.js.map +1 -0
  21. package/dist/DOMObserver.d.ts +11 -0
  22. package/dist/DOMObserver.js +23 -0
  23. package/dist/DOMObserver.js.map +1 -0
  24. package/dist/Device.d.ts +27 -0
  25. package/dist/Device.js +163 -815
  26. package/dist/Device.js.map +1 -0
  27. package/dist/EventProvider.d.ts +25 -0
  28. package/dist/EventProvider.js +67 -70
  29. package/dist/EventProvider.js.map +1 -0
  30. package/dist/FeaturesRegistry.d.ts +3 -0
  31. package/dist/FeaturesRegistry.js +5 -7
  32. package/dist/FeaturesRegistry.js.map +1 -0
  33. package/dist/FontFace.d.ts +2 -0
  34. package/dist/FontFace.js +27 -63
  35. package/dist/FontFace.js.map +1 -0
  36. package/dist/IgnoreCustomElements.d.ts +25 -0
  37. package/dist/IgnoreCustomElements.js +37 -0
  38. package/dist/IgnoreCustomElements.js.map +1 -0
  39. package/dist/InitialConfiguration.d.ts +34 -0
  40. package/dist/InitialConfiguration.js +157 -97
  41. package/dist/InitialConfiguration.js.map +1 -0
  42. package/dist/Keys.d.ts +64 -0
  43. package/dist/Keys.js +186 -0
  44. package/dist/Keys.js.map +1 -0
  45. package/dist/Location.d.ts +11 -0
  46. package/dist/Location.js +49 -0
  47. package/dist/Location.js.map +1 -0
  48. package/dist/ManagedStyles.d.ts +7 -0
  49. package/dist/ManagedStyles.js +69 -0
  50. package/dist/ManagedStyles.js.map +1 -0
  51. package/dist/MediaRange.d.ts +31 -0
  52. package/dist/MediaRange.js +88 -0
  53. package/dist/MediaRange.js.map +1 -0
  54. package/dist/PropertiesFileFormat.d.ts +8 -0
  55. package/dist/PropertiesFileFormat.js +85 -0
  56. package/dist/PropertiesFileFormat.js.map +1 -0
  57. package/dist/Render.d.ts +47 -0
  58. package/dist/Render.js +143 -0
  59. package/dist/Render.js.map +1 -0
  60. package/dist/RenderQueue.d.ts +19 -0
  61. package/dist/RenderQueue.js +53 -39
  62. package/dist/RenderQueue.js.map +1 -0
  63. package/dist/Runtimes.d.ts +27 -0
  64. package/dist/Runtimes.js +97 -0
  65. package/dist/Runtimes.js.map +1 -0
  66. package/dist/SystemCSSVars.d.ts +2 -0
  67. package/dist/SystemCSSVars.js +9 -0
  68. package/dist/SystemCSSVars.js.map +1 -0
  69. package/dist/Theming.d.ts +3 -0
  70. package/dist/Theming.js +4 -45
  71. package/dist/Theming.js.map +1 -0
  72. package/dist/UI5Element.d.ts +425 -0
  73. package/dist/UI5Element.js +1118 -830
  74. package/dist/UI5Element.js.map +1 -0
  75. package/dist/UI5ElementMetadata.d.ts +159 -0
  76. package/dist/UI5ElementMetadata.js +237 -139
  77. package/dist/UI5ElementMetadata.js.map +1 -0
  78. package/dist/animations/AnimationQueue.d.ts +8 -0
  79. package/dist/animations/AnimationQueue.js +31 -38
  80. package/dist/animations/AnimationQueue.js.map +1 -0
  81. package/dist/animations/animate.d.ts +14 -0
  82. package/dist/animations/animate.js +46 -51
  83. package/dist/animations/animate.js.map +1 -0
  84. package/dist/animations/scroll.d.ts +5 -0
  85. package/dist/animations/scroll.js +18 -27
  86. package/dist/animations/scroll.js.map +1 -0
  87. package/dist/animations/slideDown.d.ts +5 -0
  88. package/dist/animations/slideDown.js +53 -78
  89. package/dist/animations/slideDown.js.map +1 -0
  90. package/dist/animations/slideUp.d.ts +5 -0
  91. package/dist/animations/slideUp.js +49 -70
  92. package/dist/animations/slideUp.js.map +1 -0
  93. package/dist/asset-registries/Icons.d.ts +39 -0
  94. package/dist/asset-registries/Icons.js +136 -24
  95. package/dist/asset-registries/Icons.js.map +1 -0
  96. package/dist/asset-registries/Illustrations.d.ts +19 -0
  97. package/dist/asset-registries/Illustrations.js +77 -0
  98. package/dist/asset-registries/Illustrations.js.map +1 -0
  99. package/dist/asset-registries/LocaleData.d.ts +7 -0
  100. package/dist/asset-registries/LocaleData.js +127 -92
  101. package/dist/asset-registries/LocaleData.js.map +1 -0
  102. package/dist/asset-registries/Themes.d.ts +9 -0
  103. package/dist/asset-registries/Themes.js +58 -66
  104. package/dist/asset-registries/Themes.js.map +1 -0
  105. package/dist/asset-registries/i18n.d.ts +23 -0
  106. package/dist/asset-registries/i18n.js +87 -60
  107. package/dist/asset-registries/i18n.js.map +1 -0
  108. package/dist/asset-registries/util/IconCollectionsAlias.d.ts +30 -0
  109. package/dist/asset-registries/util/IconCollectionsAlias.js +37 -0
  110. package/dist/asset-registries/util/IconCollectionsAlias.js.map +1 -0
  111. package/dist/asset-registries/util/IconCollectionsByTheme.d.ts +20 -0
  112. package/dist/asset-registries/util/IconCollectionsByTheme.js +42 -0
  113. package/dist/asset-registries/util/IconCollectionsByTheme.js.map +1 -0
  114. package/dist/asset-registries/util/getIconCollectionByTheme.d.ts +13 -0
  115. package/dist/asset-registries/util/getIconCollectionByTheme.js +29 -0
  116. package/dist/asset-registries/util/getIconCollectionByTheme.js.map +1 -0
  117. package/dist/config/AnimationMode.d.ts +14 -0
  118. package/dist/config/AnimationMode.js +28 -6
  119. package/dist/config/AnimationMode.js.map +1 -0
  120. package/dist/config/CalendarType.d.ts +15 -0
  121. package/dist/config/CalendarType.js +38 -16
  122. package/dist/config/CalendarType.js.map +1 -0
  123. package/dist/config/ConfigurationReset.d.ts +4 -0
  124. package/dist/config/ConfigurationReset.js +11 -0
  125. package/dist/config/ConfigurationReset.js.map +1 -0
  126. package/dist/config/Fonts.d.ts +16 -0
  127. package/dist/config/Fonts.js +30 -0
  128. package/dist/config/Fonts.js.map +1 -0
  129. package/dist/config/FormatSettings.d.ts +15 -0
  130. package/dist/config/FormatSettings.js +20 -6
  131. package/dist/config/FormatSettings.js.map +1 -0
  132. package/dist/config/Icons.d.ts +40 -0
  133. package/dist/config/Icons.js +44 -0
  134. package/dist/config/Icons.js.map +1 -0
  135. package/dist/config/Language.d.ts +40 -0
  136. package/dist/config/Language.js +74 -7
  137. package/dist/config/Language.js.map +1 -0
  138. package/dist/config/NoConflict.d.ts +20 -0
  139. package/dist/config/NoConflict.js +45 -34
  140. package/dist/config/NoConflict.js.map +1 -0
  141. package/dist/config/Theme.d.ts +39 -0
  142. package/dist/config/Theme.js +75 -19
  143. package/dist/config/Theme.js.map +1 -0
  144. package/dist/config/ThemeRoot.d.ts +27 -0
  145. package/dist/config/ThemeRoot.js +61 -0
  146. package/dist/config/ThemeRoot.js.map +1 -0
  147. package/dist/config/Timezone.d.ts +17 -0
  148. package/dist/config/Timezone.js +34 -0
  149. package/dist/config/Timezone.js.map +1 -0
  150. package/dist/config/Tooltips.d.ts +19 -0
  151. package/dist/config/Tooltips.js +29 -0
  152. package/dist/config/Tooltips.js.map +1 -0
  153. package/dist/connectToComponent.d.ts +9 -0
  154. package/dist/connectToComponent.js +59 -0
  155. package/dist/connectToComponent.js.map +1 -0
  156. package/dist/converters/DOMReference.d.ts +5 -0
  157. package/dist/converters/DOMReference.js +13 -0
  158. package/dist/converters/DOMReference.js.map +1 -0
  159. package/dist/css/BusyIndicator.css +80 -0
  160. package/dist/css/FontFace.css +96 -0
  161. package/dist/css/OverrideFontFace.css +32 -0
  162. package/dist/css/SystemCSSVars.css +9 -0
  163. package/dist/custom-elements-internal.json +2821 -0
  164. package/dist/custom-elements.json +2518 -0
  165. package/dist/decorators/bound.d.ts +1 -0
  166. package/dist/decorators/bound.js +34 -0
  167. package/dist/decorators/bound.js.map +1 -0
  168. package/dist/decorators/customElement.d.ts +63 -0
  169. package/dist/decorators/customElement.js +45 -0
  170. package/dist/decorators/customElement.js.map +1 -0
  171. package/dist/decorators/event-strict.d.ts +15 -0
  172. package/dist/decorators/event-strict.js +26 -0
  173. package/dist/decorators/event-strict.js.map +1 -0
  174. package/dist/decorators/event.d.ts +16 -0
  175. package/dist/decorators/event.js +27 -0
  176. package/dist/decorators/event.js.map +1 -0
  177. package/dist/decorators/i18n.d.ts +17 -0
  178. package/dist/decorators/i18n.js +32 -0
  179. package/dist/decorators/i18n.js.map +1 -0
  180. package/dist/decorators/property.d.ts +9 -0
  181. package/dist/decorators/property.js +24 -0
  182. package/dist/decorators/property.js.map +1 -0
  183. package/dist/decorators/query.d.ts +25 -0
  184. package/dist/decorators/query.js +32 -0
  185. package/dist/decorators/query.js.map +1 -0
  186. package/dist/decorators/queryAll.d.ts +27 -0
  187. package/dist/decorators/queryAll.js +34 -0
  188. package/dist/decorators/queryAll.js.map +1 -0
  189. package/dist/decorators/slot.d.ts +9 -0
  190. package/dist/decorators/slot.js +37 -0
  191. package/dist/decorators/slot.js.map +1 -0
  192. package/dist/decorators.d.ts +8 -0
  193. package/dist/decorators.js +9 -0
  194. package/dist/decorators.js.map +1 -0
  195. package/dist/delegate/ItemNavigation.d.ts +114 -0
  196. package/dist/delegate/ItemNavigation.js +311 -270
  197. package/dist/delegate/ItemNavigation.js.map +1 -0
  198. package/dist/delegate/ResizeHandler.d.ts +23 -0
  199. package/dist/delegate/ResizeHandler.js +82 -63
  200. package/dist/delegate/ResizeHandler.js.map +1 -0
  201. package/dist/delegate/ScrollEnablement.d.ts +49 -0
  202. package/dist/delegate/ScrollEnablement.js +159 -74
  203. package/dist/delegate/ScrollEnablement.js.map +1 -0
  204. package/dist/features/F6Navigation.d.ts +20 -0
  205. package/dist/features/F6Navigation.js +190 -0
  206. package/dist/features/F6Navigation.js.map +1 -0
  207. package/dist/features/InputElementsFormSupport.d.ts +15 -0
  208. package/dist/features/InputElementsFormSupport.js +39 -0
  209. package/dist/features/InputElementsFormSupport.js.map +1 -0
  210. package/dist/features/LegacyDateFormats.d.ts +18 -0
  211. package/dist/features/LegacyDateFormats.js +20 -0
  212. package/dist/features/LegacyDateFormats.js.map +1 -0
  213. package/dist/features/OpenUI5Element.d.ts +9 -0
  214. package/dist/features/OpenUI5Element.js +5 -0
  215. package/dist/features/OpenUI5Element.js.map +1 -0
  216. package/dist/features/OpenUI5Enablement.d.ts +11 -0
  217. package/dist/features/OpenUI5Enablement.js +96 -0
  218. package/dist/features/OpenUI5Enablement.js.map +1 -0
  219. package/dist/features/OpenUI5Support.d.ts +35 -0
  220. package/dist/features/OpenUI5Support.js +146 -0
  221. package/dist/features/OpenUI5Support.js.map +1 -0
  222. package/dist/features/patchPatcher.d.ts +11 -0
  223. package/dist/features/patchPatcher.js +11 -0
  224. package/dist/features/patchPatcher.js.map +1 -0
  225. package/dist/features/patchPopup.d.ts +15 -0
  226. package/dist/features/patchPopup.js +70 -0
  227. package/dist/features/patchPopup.js.map +1 -0
  228. package/dist/generated/AssetParameters.d.ts +6 -0
  229. package/dist/generated/AssetParameters.js +8 -0
  230. package/dist/generated/AssetParameters.js.map +1 -0
  231. package/dist/generated/VersionInfo.d.ts +10 -0
  232. package/dist/generated/VersionInfo.js +11 -0
  233. package/dist/generated/VersionInfo.js.map +1 -0
  234. package/dist/generated/css/BusyIndicator.css.d.ts +2 -0
  235. package/dist/generated/css/BusyIndicator.css.js +2 -0
  236. package/dist/generated/css/BusyIndicator.css.js.map +1 -0
  237. package/dist/generated/css/FontFace.css.d.ts +2 -0
  238. package/dist/generated/css/FontFace.css.js +2 -0
  239. package/dist/generated/css/FontFace.css.js.map +1 -0
  240. package/dist/generated/css/OverrideFontFace.css.d.ts +2 -0
  241. package/dist/generated/css/OverrideFontFace.css.js +2 -0
  242. package/dist/generated/css/OverrideFontFace.css.js.map +1 -0
  243. package/dist/generated/css/SystemCSSVars.css.d.ts +2 -0
  244. package/dist/generated/css/SystemCSSVars.css.js +2 -0
  245. package/dist/generated/css/SystemCSSVars.css.js.map +1 -0
  246. package/dist/getSharedResource.d.ts +11 -0
  247. package/dist/getSharedResource.js +40 -0
  248. package/dist/getSharedResource.js.map +1 -0
  249. package/dist/global.d.ts +40 -0
  250. package/dist/i18nBundle.d.ts +41 -0
  251. package/dist/i18nBundle.js +71 -30
  252. package/dist/i18nBundle.js.map +1 -0
  253. package/dist/index.d.ts +48 -0
  254. package/dist/index.js +88 -0
  255. package/dist/index.js.map +1 -0
  256. package/dist/jsx-dev-runtime.d.ts +4 -0
  257. package/dist/jsx-dev-runtime.js +43 -0
  258. package/dist/jsx-dev-runtime.js.map +1 -0
  259. package/dist/jsx-runtime.d.ts +50 -0
  260. package/dist/jsx-runtime.js +27 -0
  261. package/dist/jsx-runtime.js.map +1 -0
  262. package/dist/jsx-utils.d.ts +3 -0
  263. package/dist/jsx-utils.js +48 -0
  264. package/dist/jsx-utils.js.map +1 -0
  265. package/dist/locale/Locale.d.ts +22 -0
  266. package/dist/locale/Locale.js +79 -0
  267. package/dist/locale/Locale.js.map +1 -0
  268. package/dist/locale/RTLAwareRegistry.d.ts +4 -0
  269. package/dist/locale/RTLAwareRegistry.js +9 -0
  270. package/dist/locale/RTLAwareRegistry.js.map +1 -0
  271. package/dist/locale/applyDirection.d.ts +11 -0
  272. package/dist/locale/applyDirection.js +18 -0
  273. package/dist/locale/applyDirection.js.map +1 -0
  274. package/dist/locale/directionChange.d.ts +15 -0
  275. package/dist/locale/directionChange.js +24 -0
  276. package/dist/locale/directionChange.js.map +1 -0
  277. package/dist/locale/getEffectiveDir.d.ts +2 -0
  278. package/dist/locale/getEffectiveDir.js +8 -0
  279. package/dist/locale/getEffectiveDir.js.map +1 -0
  280. package/dist/locale/getLocale.d.ts +7 -0
  281. package/dist/locale/getLocale.js +38 -0
  282. package/dist/locale/getLocale.js.map +1 -0
  283. package/dist/locale/languageChange.d.ts +5 -0
  284. package/dist/locale/languageChange.js +14 -0
  285. package/dist/locale/languageChange.js.map +1 -0
  286. package/dist/locale/nextFallbackLocale.d.ts +8 -0
  287. package/dist/locale/nextFallbackLocale.js +28 -0
  288. package/dist/locale/nextFallbackLocale.js.map +1 -0
  289. package/dist/locale/normalizeLocale.d.ts +7 -0
  290. package/dist/locale/normalizeLocale.js +47 -0
  291. package/dist/locale/normalizeLocale.js.map +1 -0
  292. package/dist/prod/AssetRegistry.js +2 -0
  293. package/dist/prod/AssetRegistry.js.map +7 -0
  294. package/dist/prod/Boot.js +2 -0
  295. package/dist/prod/Boot.js.map +7 -0
  296. package/dist/prod/CustomElementsRegistry.js +10 -0
  297. package/dist/prod/CustomElementsRegistry.js.map +7 -0
  298. package/dist/prod/CustomElementsScope.js +2 -0
  299. package/dist/prod/CustomElementsScope.js.map +7 -0
  300. package/dist/prod/CustomElementsScopeUtils.js +2 -0
  301. package/dist/prod/CustomElementsScopeUtils.js.map +7 -0
  302. package/dist/prod/DOMObserver.js +2 -0
  303. package/dist/prod/DOMObserver.js.map +7 -0
  304. package/dist/prod/Device.js +2 -0
  305. package/dist/prod/Device.js.map +7 -0
  306. package/dist/prod/EventProvider.js +2 -0
  307. package/dist/prod/EventProvider.js.map +7 -0
  308. package/dist/prod/FeaturesRegistry.js +2 -0
  309. package/dist/prod/FeaturesRegistry.js.map +7 -0
  310. package/dist/prod/FontFace.js +2 -0
  311. package/dist/prod/FontFace.js.map +7 -0
  312. package/dist/prod/IgnoreCustomElements.js +2 -0
  313. package/dist/prod/IgnoreCustomElements.js.map +7 -0
  314. package/dist/prod/InitialConfiguration.js +2 -0
  315. package/dist/prod/InitialConfiguration.js.map +7 -0
  316. package/dist/prod/Keys.js +2 -0
  317. package/dist/prod/Keys.js.map +7 -0
  318. package/dist/prod/Location.js +2 -0
  319. package/dist/prod/Location.js.map +7 -0
  320. package/dist/prod/ManagedStyles.js +2 -0
  321. package/dist/prod/ManagedStyles.js.map +7 -0
  322. package/dist/prod/MediaRange.js +2 -0
  323. package/dist/prod/MediaRange.js.map +7 -0
  324. package/dist/prod/PropertiesFileFormat.js +3 -0
  325. package/dist/prod/PropertiesFileFormat.js.map +7 -0
  326. package/dist/prod/Render.js +2 -0
  327. package/dist/prod/Render.js.map +7 -0
  328. package/dist/prod/RenderQueue.js +2 -0
  329. package/dist/prod/RenderQueue.js.map +7 -0
  330. package/dist/prod/Runtimes.js +2 -0
  331. package/dist/prod/Runtimes.js.map +7 -0
  332. package/dist/prod/SystemCSSVars.js +2 -0
  333. package/dist/prod/SystemCSSVars.js.map +7 -0
  334. package/dist/prod/Theming.js +2 -0
  335. package/dist/prod/Theming.js.map +7 -0
  336. package/dist/prod/UI5Element.js +2 -0
  337. package/dist/prod/UI5Element.js.map +7 -0
  338. package/dist/prod/UI5ElementMetadata.js +2 -0
  339. package/dist/prod/UI5ElementMetadata.js.map +7 -0
  340. package/dist/prod/animations/AnimationQueue.js +2 -0
  341. package/dist/prod/animations/AnimationQueue.js.map +7 -0
  342. package/dist/prod/animations/animate.js +2 -0
  343. package/dist/prod/animations/animate.js.map +7 -0
  344. package/dist/prod/animations/scroll.js +2 -0
  345. package/dist/prod/animations/scroll.js.map +7 -0
  346. package/dist/prod/animations/slideDown.js +2 -0
  347. package/dist/prod/animations/slideDown.js.map +7 -0
  348. package/dist/prod/animations/slideUp.js +2 -0
  349. package/dist/prod/animations/slideUp.js.map +7 -0
  350. package/dist/prod/asset-registries/Icons.js +2 -0
  351. package/dist/prod/asset-registries/Icons.js.map +7 -0
  352. package/dist/prod/asset-registries/Illustrations.js +2 -0
  353. package/dist/prod/asset-registries/Illustrations.js.map +7 -0
  354. package/dist/prod/asset-registries/LocaleData.js +2 -0
  355. package/dist/prod/asset-registries/LocaleData.js.map +7 -0
  356. package/dist/prod/asset-registries/Themes.js +2 -0
  357. package/dist/prod/asset-registries/Themes.js.map +7 -0
  358. package/dist/prod/asset-registries/i18n.js +2 -0
  359. package/dist/prod/asset-registries/i18n.js.map +7 -0
  360. package/dist/prod/asset-registries/util/IconCollectionsAlias.js +2 -0
  361. package/dist/prod/asset-registries/util/IconCollectionsAlias.js.map +7 -0
  362. package/dist/prod/asset-registries/util/IconCollectionsByTheme.js +2 -0
  363. package/dist/prod/asset-registries/util/IconCollectionsByTheme.js.map +7 -0
  364. package/dist/prod/asset-registries/util/getIconCollectionByTheme.js +2 -0
  365. package/dist/prod/asset-registries/util/getIconCollectionByTheme.js.map +7 -0
  366. package/dist/prod/config/AnimationMode.js +2 -0
  367. package/dist/prod/config/AnimationMode.js.map +7 -0
  368. package/dist/prod/config/CalendarType.js +2 -0
  369. package/dist/prod/config/CalendarType.js.map +7 -0
  370. package/dist/prod/config/ConfigurationReset.js +2 -0
  371. package/dist/prod/config/ConfigurationReset.js.map +7 -0
  372. package/dist/prod/config/Fonts.js +2 -0
  373. package/dist/prod/config/Fonts.js.map +7 -0
  374. package/dist/prod/config/FormatSettings.js +2 -0
  375. package/dist/prod/config/FormatSettings.js.map +7 -0
  376. package/dist/prod/config/Icons.js +2 -0
  377. package/dist/prod/config/Icons.js.map +7 -0
  378. package/dist/prod/config/Language.js +2 -0
  379. package/dist/prod/config/Language.js.map +7 -0
  380. package/dist/prod/config/NoConflict.js +2 -0
  381. package/dist/prod/config/NoConflict.js.map +7 -0
  382. package/dist/prod/config/Theme.js +2 -0
  383. package/dist/prod/config/Theme.js.map +7 -0
  384. package/dist/prod/config/ThemeRoot.js +2 -0
  385. package/dist/prod/config/ThemeRoot.js.map +7 -0
  386. package/dist/prod/config/Timezone.js +2 -0
  387. package/dist/prod/config/Timezone.js.map +7 -0
  388. package/dist/prod/config/Tooltips.js +2 -0
  389. package/dist/prod/config/Tooltips.js.map +7 -0
  390. package/dist/prod/connectToComponent.js +2 -0
  391. package/dist/prod/connectToComponent.js.map +7 -0
  392. package/dist/prod/converters/DOMReference.js +2 -0
  393. package/dist/prod/converters/DOMReference.js.map +7 -0
  394. package/dist/prod/decorators/bound.js +2 -0
  395. package/dist/prod/decorators/bound.js.map +7 -0
  396. package/dist/prod/decorators/customElement.js +2 -0
  397. package/dist/prod/decorators/customElement.js.map +7 -0
  398. package/dist/prod/decorators/event-strict.js +2 -0
  399. package/dist/prod/decorators/event-strict.js.map +7 -0
  400. package/dist/prod/decorators/event.js +2 -0
  401. package/dist/prod/decorators/event.js.map +7 -0
  402. package/dist/prod/decorators/i18n.js +2 -0
  403. package/dist/prod/decorators/i18n.js.map +7 -0
  404. package/dist/prod/decorators/property.js +2 -0
  405. package/dist/prod/decorators/property.js.map +7 -0
  406. package/dist/prod/decorators/query.js +2 -0
  407. package/dist/prod/decorators/query.js.map +7 -0
  408. package/dist/prod/decorators/queryAll.js +2 -0
  409. package/dist/prod/decorators/queryAll.js.map +7 -0
  410. package/dist/prod/decorators/slot.js +2 -0
  411. package/dist/prod/decorators/slot.js.map +7 -0
  412. package/dist/prod/decorators.js +2 -0
  413. package/dist/prod/decorators.js.map +7 -0
  414. package/dist/prod/delegate/ItemNavigation.js +2 -0
  415. package/dist/prod/delegate/ItemNavigation.js.map +7 -0
  416. package/dist/prod/delegate/ResizeHandler.js +2 -0
  417. package/dist/prod/delegate/ResizeHandler.js.map +7 -0
  418. package/dist/prod/delegate/ScrollEnablement.js +2 -0
  419. package/dist/prod/delegate/ScrollEnablement.js.map +7 -0
  420. package/dist/prod/features/F6Navigation.js +2 -0
  421. package/dist/prod/features/F6Navigation.js.map +7 -0
  422. package/dist/prod/features/InputElementsFormSupport.js +2 -0
  423. package/dist/prod/features/InputElementsFormSupport.js.map +7 -0
  424. package/dist/prod/features/LegacyDateFormats.js +2 -0
  425. package/dist/prod/features/LegacyDateFormats.js.map +7 -0
  426. package/dist/prod/features/OpenUI5Element.js +2 -0
  427. package/dist/prod/features/OpenUI5Element.js.map +7 -0
  428. package/dist/prod/features/OpenUI5Enablement.js +21 -0
  429. package/dist/prod/features/OpenUI5Enablement.js.map +7 -0
  430. package/dist/prod/features/OpenUI5Support.js +2 -0
  431. package/dist/prod/features/OpenUI5Support.js.map +7 -0
  432. package/dist/prod/features/patchPatcher.js +2 -0
  433. package/dist/prod/features/patchPatcher.js.map +7 -0
  434. package/dist/prod/features/patchPopup.js +2 -0
  435. package/dist/prod/features/patchPopup.js.map +7 -0
  436. package/dist/prod/generated/AssetParameters.js +2 -0
  437. package/dist/prod/generated/AssetParameters.js.map +7 -0
  438. package/dist/prod/generated/VersionInfo.js +2 -0
  439. package/dist/prod/generated/VersionInfo.js.map +7 -0
  440. package/dist/prod/generated/css/BusyIndicator.css.js +2 -0
  441. package/dist/prod/generated/css/BusyIndicator.css.js.map +7 -0
  442. package/dist/prod/generated/css/FontFace.css.js +2 -0
  443. package/dist/prod/generated/css/FontFace.css.js.map +7 -0
  444. package/dist/prod/generated/css/OverrideFontFace.css.js +2 -0
  445. package/dist/prod/generated/css/OverrideFontFace.css.js.map +7 -0
  446. package/dist/prod/generated/css/SystemCSSVars.css.js +2 -0
  447. package/dist/prod/generated/css/SystemCSSVars.css.js.map +7 -0
  448. package/dist/prod/getSharedResource.js +2 -0
  449. package/dist/prod/getSharedResource.js.map +7 -0
  450. package/dist/prod/global.d.js +2 -0
  451. package/dist/prod/global.d.js.map +7 -0
  452. package/dist/prod/i18nBundle.js +2 -0
  453. package/dist/prod/i18nBundle.js.map +7 -0
  454. package/dist/prod/index.js +2 -0
  455. package/dist/prod/index.js.map +7 -0
  456. package/dist/prod/jsx-dev-runtime.js +2 -0
  457. package/dist/prod/jsx-dev-runtime.js.map +7 -0
  458. package/dist/prod/jsx-runtime.js +2 -0
  459. package/dist/prod/jsx-runtime.js.map +7 -0
  460. package/dist/prod/jsx-utils.js +2 -0
  461. package/dist/prod/jsx-utils.js.map +7 -0
  462. package/dist/prod/locale/Locale.js +2 -0
  463. package/dist/prod/locale/Locale.js.map +7 -0
  464. package/dist/prod/locale/RTLAwareRegistry.js +2 -0
  465. package/dist/prod/locale/RTLAwareRegistry.js.map +7 -0
  466. package/dist/prod/locale/applyDirection.js +2 -0
  467. package/dist/prod/locale/applyDirection.js.map +7 -0
  468. package/dist/prod/locale/directionChange.js +2 -0
  469. package/dist/prod/locale/directionChange.js.map +7 -0
  470. package/dist/prod/locale/getEffectiveDir.js +2 -0
  471. package/dist/prod/locale/getEffectiveDir.js.map +7 -0
  472. package/dist/prod/locale/getLocale.js +2 -0
  473. package/dist/prod/locale/getLocale.js.map +7 -0
  474. package/dist/prod/locale/languageChange.js +2 -0
  475. package/dist/prod/locale/languageChange.js.map +7 -0
  476. package/dist/prod/locale/nextFallbackLocale.js +2 -0
  477. package/dist/prod/locale/nextFallbackLocale.js.map +7 -0
  478. package/dist/prod/locale/normalizeLocale.js +2 -0
  479. package/dist/prod/locale/normalizeLocale.js.map +7 -0
  480. package/dist/prod/renderer/JsxRenderer.js +2 -0
  481. package/dist/prod/renderer/JsxRenderer.js.map +7 -0
  482. package/dist/prod/renderer/LitRenderer.js +2 -0
  483. package/dist/prod/renderer/LitRenderer.js.map +7 -0
  484. package/dist/prod/renderer/directives/style-map.js +6 -0
  485. package/dist/prod/renderer/directives/style-map.js.map +7 -0
  486. package/dist/prod/renderer/executeTemplate.js +2 -0
  487. package/dist/prod/renderer/executeTemplate.js.map +7 -0
  488. package/dist/prod/sap/base/Log.js +750 -0
  489. package/dist/prod/sap/base/assert.js +34 -0
  490. package/dist/prod/sap/base/config/MemoryConfigurationProvider.js +20 -0
  491. package/dist/prod/sap/base/security/URLListValidator.js +406 -0
  492. package/dist/prod/sap/base/security/encodeCSS.js +40 -0
  493. package/dist/prod/sap/base/security/encodeXML.js +53 -0
  494. package/dist/prod/sap/base/security/sanitizeHTML.js +38 -0
  495. package/dist/prod/sap/base/strings/toHex.js +33 -0
  496. package/dist/prod/sap/base/util/now.js +28 -0
  497. package/dist/prod/sap/base/util/uid.js +27 -0
  498. package/dist/prod/sap/ui/thirdparty/caja-html-sanitizer.js +3600 -0
  499. package/dist/prod/ssr-dom-shim.js +2 -0
  500. package/dist/prod/ssr-dom-shim.js.map +7 -0
  501. package/dist/prod/ssr-dom.js +2 -0
  502. package/dist/prod/ssr-dom.js.map +7 -0
  503. package/dist/prod/theming/CustomStyle.js +2 -0
  504. package/dist/prod/theming/CustomStyle.js.map +7 -0
  505. package/dist/prod/theming/ThemeLoaded.js +2 -0
  506. package/dist/prod/theming/ThemeLoaded.js.map +7 -0
  507. package/dist/prod/theming/ThemeRegistered.js +2 -0
  508. package/dist/prod/theming/ThemeRegistered.js.map +7 -0
  509. package/dist/prod/theming/applyTheme.js +2 -0
  510. package/dist/prod/theming/applyTheme.js.map +7 -0
  511. package/dist/prod/theming/getConstructableStyle.js +2 -0
  512. package/dist/prod/theming/getConstructableStyle.js.map +7 -0
  513. package/dist/prod/theming/getEffectiveStyle.js +2 -0
  514. package/dist/prod/theming/getEffectiveStyle.js.map +7 -0
  515. package/dist/prod/theming/getStylesString.js +2 -0
  516. package/dist/prod/theming/getStylesString.js.map +7 -0
  517. package/dist/prod/theming/getThemeDesignerTheme.js +2 -0
  518. package/dist/prod/theming/getThemeDesignerTheme.js.map +7 -0
  519. package/dist/prod/thirdparty/_merge.js +2 -0
  520. package/dist/prod/thirdparty/_merge.js.map +7 -0
  521. package/dist/prod/thirdparty/isPlainObject.js +2 -0
  522. package/dist/prod/thirdparty/isPlainObject.js.map +7 -0
  523. package/dist/prod/thirdparty/merge.js +2 -0
  524. package/dist/prod/thirdparty/merge.js.map +7 -0
  525. package/dist/prod/thirdparty/preact/jsx.d.js +2 -0
  526. package/dist/prod/thirdparty/preact/jsx.d.js.map +7 -0
  527. package/dist/prod/thirdparty/preact/jsxRuntime.module.d.js +2 -0
  528. package/dist/prod/thirdparty/preact/jsxRuntime.module.d.js.map +7 -0
  529. package/dist/prod/thirdparty/preact/jsxRuntime.module.js +1 -0
  530. package/dist/prod/thirdparty/preact/preact.module.d.js +2 -0
  531. package/dist/prod/thirdparty/preact/preact.module.d.js.map +7 -0
  532. package/dist/prod/thirdparty/preact/preact.module.js +1 -0
  533. package/dist/prod/types/AnimationMode.js +2 -0
  534. package/dist/prod/types/AnimationMode.js.map +7 -0
  535. package/dist/prod/types/CalendarType.js +2 -0
  536. package/dist/prod/types/CalendarType.js.map +7 -0
  537. package/dist/prod/types/InvisibleMessageMode.js +2 -0
  538. package/dist/prod/types/InvisibleMessageMode.js.map +7 -0
  539. package/dist/prod/types/ItemNavigationBehavior.js +2 -0
  540. package/dist/prod/types/ItemNavigationBehavior.js.map +7 -0
  541. package/dist/prod/types/MovePlacement.js +2 -0
  542. package/dist/prod/types/MovePlacement.js.map +7 -0
  543. package/dist/prod/types/NavigationMode.js +2 -0
  544. package/dist/prod/types/NavigationMode.js.map +7 -0
  545. package/dist/prod/types/Orientation.js +2 -0
  546. package/dist/prod/types/Orientation.js.map +7 -0
  547. package/dist/prod/types/SortOrder.js +2 -0
  548. package/dist/prod/types/SortOrder.js.map +7 -0
  549. package/dist/prod/types/ValueState.js +2 -0
  550. package/dist/prod/types/ValueState.js.map +7 -0
  551. package/dist/prod/types.js +2 -0
  552. package/dist/prod/types.js.map +7 -0
  553. package/dist/prod/updateShadowRoot.js +2 -0
  554. package/dist/prod/updateShadowRoot.js.map +7 -0
  555. package/dist/prod/util/AccessibilityTextsHelper.js +2 -0
  556. package/dist/prod/util/AccessibilityTextsHelper.js.map +7 -0
  557. package/dist/prod/util/Caret.js +2 -0
  558. package/dist/prod/util/Caret.js.map +7 -0
  559. package/dist/prod/util/ColorConversion.js +2 -0
  560. package/dist/prod/util/ColorConversion.js.map +7 -0
  561. package/dist/prod/util/FetchHelper.js +2 -0
  562. package/dist/prod/util/FetchHelper.js.map +7 -0
  563. package/dist/prod/util/FocusableElements.js +2 -0
  564. package/dist/prod/util/FocusableElements.js.map +7 -0
  565. package/dist/prod/util/HTMLSanitizer.js +2 -0
  566. package/dist/prod/util/HTMLSanitizer.js.map +7 -0
  567. package/dist/prod/util/InvisibleMessage.js +2 -0
  568. package/dist/prod/util/InvisibleMessage.js.map +7 -0
  569. package/dist/prod/util/PopupUtils.js +2 -0
  570. package/dist/prod/util/PopupUtils.js.map +7 -0
  571. package/dist/prod/util/SelectionAssistant.js +2 -0
  572. package/dist/prod/util/SelectionAssistant.js.map +7 -0
  573. package/dist/prod/util/SlotsHelper.js +2 -0
  574. package/dist/prod/util/SlotsHelper.js.map +7 -0
  575. package/dist/prod/util/StringHelper.js +2 -0
  576. package/dist/prod/util/StringHelper.js.map +7 -0
  577. package/dist/prod/util/TabbableElements.js +2 -0
  578. package/dist/prod/util/TabbableElements.js.map +7 -0
  579. package/dist/prod/util/arraysAreEqual.js +2 -0
  580. package/dist/prod/util/arraysAreEqual.js.map +7 -0
  581. package/dist/prod/util/clamp.js +2 -0
  582. package/dist/prod/util/clamp.js.map +7 -0
  583. package/dist/prod/util/createLinkInHead.js +2 -0
  584. package/dist/prod/util/createLinkInHead.js.map +7 -0
  585. package/dist/prod/util/debounce.js +2 -0
  586. package/dist/prod/util/debounce.js.map +7 -0
  587. package/dist/prod/util/detectNavigatorLanguage.js +2 -0
  588. package/dist/prod/util/detectNavigatorLanguage.js.map +7 -0
  589. package/dist/prod/util/dragAndDrop/DragRegistry.js +2 -0
  590. package/dist/prod/util/dragAndDrop/DragRegistry.js.map +7 -0
  591. package/dist/prod/util/dragAndDrop/findClosestPosition.js +2 -0
  592. package/dist/prod/util/dragAndDrop/findClosestPosition.js.map +7 -0
  593. package/dist/prod/util/dragAndDrop/handleDragOver.js +2 -0
  594. package/dist/prod/util/dragAndDrop/handleDragOver.js.map +7 -0
  595. package/dist/prod/util/dragAndDrop/handleDrop.js +2 -0
  596. package/dist/prod/util/dragAndDrop/handleDrop.js.map +7 -0
  597. package/dist/prod/util/dragAndDrop/longDragOverHandler.js +2 -0
  598. package/dist/prod/util/dragAndDrop/longDragOverHandler.js.map +7 -0
  599. package/dist/prod/util/escapeRegex.js +2 -0
  600. package/dist/prod/util/escapeRegex.js.map +7 -0
  601. package/dist/prod/util/fixSafariActiveState.js +2 -0
  602. package/dist/prod/util/fixSafariActiveState.js.map +7 -0
  603. package/dist/prod/util/formatMessage.js +2 -0
  604. package/dist/prod/util/formatMessage.js.map +7 -0
  605. package/dist/prod/util/generateHighlightedMarkup.js +2 -0
  606. package/dist/prod/util/generateHighlightedMarkup.js.map +7 -0
  607. package/dist/prod/util/getActiveElement.js +2 -0
  608. package/dist/prod/util/getActiveElement.js.map +7 -0
  609. package/dist/prod/util/getClassCopy.js +2 -0
  610. package/dist/prod/util/getClassCopy.js.map +7 -0
  611. package/dist/prod/util/getDesigntimePropertyAsArray.js +2 -0
  612. package/dist/prod/util/getDesigntimePropertyAsArray.js.map +7 -0
  613. package/dist/prod/util/getEffectiveContentDensity.js +2 -0
  614. package/dist/prod/util/getEffectiveContentDensity.js.map +7 -0
  615. package/dist/prod/util/getEffectiveScrollbarStyle.js +28 -0
  616. package/dist/prod/util/getEffectiveScrollbarStyle.js.map +7 -0
  617. package/dist/prod/util/getFastNavigationGroups.js +2 -0
  618. package/dist/prod/util/getFastNavigationGroups.js.map +7 -0
  619. package/dist/prod/util/getFileExtension.js +2 -0
  620. package/dist/prod/util/getFileExtension.js.map +7 -0
  621. package/dist/prod/util/getNormalizedTarget.js +2 -0
  622. package/dist/prod/util/getNormalizedTarget.js.map +7 -0
  623. package/dist/prod/util/getParentElement.js +2 -0
  624. package/dist/prod/util/getParentElement.js.map +7 -0
  625. package/dist/prod/util/getSingletonElementInstance.js +2 -0
  626. package/dist/prod/util/getSingletonElementInstance.js.map +7 -0
  627. package/dist/prod/util/hash2str.js +2 -0
  628. package/dist/prod/util/hash2str.js.map +7 -0
  629. package/dist/prod/util/isElementClickable.js +2 -0
  630. package/dist/prod/util/isElementClickable.js.map +7 -0
  631. package/dist/prod/util/isElementHidden.js +2 -0
  632. package/dist/prod/util/isElementHidden.js.map +7 -0
  633. package/dist/prod/util/isElementInView.js +2 -0
  634. package/dist/prod/util/isElementInView.js.map +7 -0
  635. package/dist/prod/util/isElementTabbable.js +2 -0
  636. package/dist/prod/util/isElementTabbable.js.map +7 -0
  637. package/dist/prod/util/isValidPropertyName.js +2 -0
  638. package/dist/prod/util/isValidPropertyName.js.map +7 -0
  639. package/dist/prod/util/throttle.js +2 -0
  640. package/dist/prod/util/throttle.js.map +7 -0
  641. package/dist/prod/util/toLowercaseEnumValue.js +2 -0
  642. package/dist/prod/util/toLowercaseEnumValue.js.map +7 -0
  643. package/dist/prod/util/whenDOMReady.js +2 -0
  644. package/dist/prod/util/whenDOMReady.js.map +7 -0
  645. package/dist/prod/util/willShowContent.js +2 -0
  646. package/dist/prod/util/willShowContent.js.map +7 -0
  647. package/dist/prod/validateThemeRoot.js +2 -0
  648. package/dist/prod/validateThemeRoot.js.map +7 -0
  649. package/dist/renderer/JsxRenderer.d.ts +3 -0
  650. package/dist/renderer/JsxRenderer.js +26 -0
  651. package/dist/renderer/JsxRenderer.js.map +1 -0
  652. package/dist/renderer/LitRenderer.d.ts +14 -0
  653. package/dist/renderer/LitRenderer.js +33 -12
  654. package/dist/renderer/LitRenderer.js.map +1 -0
  655. package/dist/renderer/directives/style-map.d.ts +13 -0
  656. package/dist/renderer/directives/style-map.js +72 -0
  657. package/dist/renderer/directives/style-map.js.map +1 -0
  658. package/dist/renderer/executeTemplate.d.ts +12 -0
  659. package/dist/renderer/executeTemplate.js +12 -0
  660. package/dist/renderer/executeTemplate.js.map +1 -0
  661. package/dist/sap/base/Log.js +750 -0
  662. package/dist/sap/base/assert.js +34 -0
  663. package/dist/sap/base/config/MemoryConfigurationProvider.js +20 -0
  664. package/dist/sap/base/security/URLListValidator.js +406 -0
  665. package/dist/sap/base/security/encodeCSS.js +40 -0
  666. package/dist/sap/base/security/encodeXML.js +53 -0
  667. package/dist/sap/base/security/sanitizeHTML.js +38 -0
  668. package/dist/sap/base/strings/toHex.js +33 -0
  669. package/dist/sap/base/util/now.js +28 -0
  670. package/dist/sap/base/util/uid.js +27 -0
  671. package/dist/sap/ui/thirdparty/caja-html-sanitizer.js +3600 -0
  672. package/dist/ssr-dom-shim.d.ts +1 -0
  673. package/dist/ssr-dom-shim.js +63 -0
  674. package/dist/ssr-dom-shim.js.map +1 -0
  675. package/dist/ssr-dom.d.ts +1 -0
  676. package/dist/ssr-dom.js +3 -0
  677. package/dist/ssr-dom.js.map +1 -0
  678. package/dist/theming/CustomStyle.d.ts +6 -0
  679. package/dist/theming/CustomStyle.js +46 -17
  680. package/dist/theming/CustomStyle.js.map +1 -0
  681. package/dist/theming/ThemeLoaded.d.ts +5 -0
  682. package/dist/theming/ThemeLoaded.js +14 -0
  683. package/dist/theming/ThemeLoaded.js.map +1 -0
  684. package/dist/theming/ThemeRegistered.d.ts +4 -0
  685. package/dist/theming/ThemeRegistered.js +11 -0
  686. package/dist/theming/ThemeRegistered.js.map +1 -0
  687. package/dist/theming/applyTheme.d.ts +2 -0
  688. package/dist/theming/applyTheme.js +76 -0
  689. package/dist/theming/applyTheme.js.map +1 -0
  690. package/dist/theming/getConstructableStyle.d.ts +9 -0
  691. package/dist/theming/getConstructableStyle.js +25 -0
  692. package/dist/theming/getConstructableStyle.js.map +1 -0
  693. package/dist/theming/getEffectiveStyle.d.ts +3 -0
  694. package/dist/theming/getEffectiveStyle.js +25 -0
  695. package/dist/theming/getEffectiveStyle.js.map +1 -0
  696. package/dist/theming/getStylesString.d.ts +3 -0
  697. package/dist/theming/getStylesString.js +9 -0
  698. package/dist/theming/getStylesString.js.map +1 -0
  699. package/dist/theming/getThemeDesignerTheme.d.ts +7 -0
  700. package/dist/theming/getThemeDesignerTheme.js +81 -0
  701. package/dist/theming/getThemeDesignerTheme.js.map +1 -0
  702. package/dist/thirdparty/_merge.d.ts +2 -0
  703. package/dist/thirdparty/_merge.js +35 -0
  704. package/dist/thirdparty/_merge.js.map +1 -0
  705. package/dist/thirdparty/isPlainObject.d.ts +2 -0
  706. package/dist/thirdparty/isPlainObject.js +19 -0
  707. package/dist/thirdparty/isPlainObject.js.map +1 -0
  708. package/dist/thirdparty/merge.d.ts +2 -0
  709. package/dist/thirdparty/merge.js +6 -0
  710. package/dist/thirdparty/merge.js.map +1 -0
  711. package/dist/thirdparty/preact/jsx.d.ts +2616 -0
  712. package/dist/thirdparty/preact/jsxRuntime.module.d.ts +62 -0
  713. package/dist/thirdparty/preact/jsxRuntime.module.js +1 -0
  714. package/dist/thirdparty/preact/preact.module.d.ts +398 -0
  715. package/dist/thirdparty/preact/preact.module.js +1 -0
  716. package/dist/types/AnimationMode.d.ts +24 -0
  717. package/dist/types/AnimationMode.js +25 -6
  718. package/dist/types/AnimationMode.js.map +1 -0
  719. package/dist/types/CalendarType.d.ts +28 -0
  720. package/dist/types/CalendarType.js +30 -0
  721. package/dist/types/CalendarType.js.map +1 -0
  722. package/dist/types/InvisibleMessageMode.d.ts +20 -0
  723. package/dist/types/InvisibleMessageMode.js +20 -0
  724. package/dist/types/InvisibleMessageMode.js.map +1 -0
  725. package/dist/types/ItemNavigationBehavior.d.ts +18 -0
  726. package/dist/types/ItemNavigationBehavior.js +16 -17
  727. package/dist/types/ItemNavigationBehavior.js.map +1 -0
  728. package/dist/types/MovePlacement.d.ts +20 -0
  729. package/dist/types/MovePlacement.js +22 -0
  730. package/dist/types/MovePlacement.js.map +1 -0
  731. package/dist/types/NavigationMode.d.ts +24 -0
  732. package/dist/types/NavigationMode.js +25 -5
  733. package/dist/types/NavigationMode.js.map +1 -0
  734. package/dist/types/Orientation.d.ts +16 -0
  735. package/dist/types/Orientation.js +18 -0
  736. package/dist/types/Orientation.js.map +1 -0
  737. package/dist/types/SortOrder.d.ts +24 -0
  738. package/dist/types/SortOrder.js +26 -0
  739. package/dist/types/SortOrder.js.map +1 -0
  740. package/dist/types/ValueState.d.ts +28 -0
  741. package/dist/types/ValueState.js +27 -18
  742. package/dist/types/ValueState.js.map +1 -0
  743. package/dist/types.d.ts +41 -0
  744. package/dist/types.js +2 -0
  745. package/dist/types.js.map +1 -0
  746. package/dist/updateShadowRoot.d.ts +7 -0
  747. package/dist/updateShadowRoot.js +17 -0
  748. package/dist/updateShadowRoot.js.map +1 -0
  749. package/dist/util/AccessibilityTextsHelper.d.ts +17 -0
  750. package/dist/util/AccessibilityTextsHelper.js +199 -0
  751. package/dist/util/AccessibilityTextsHelper.js.map +1 -0
  752. package/dist/util/Caret.d.ts +7 -0
  753. package/dist/util/Caret.js +23 -0
  754. package/dist/util/Caret.js.map +1 -0
  755. package/dist/util/ColorConversion.d.ts +31 -0
  756. package/dist/util/ColorConversion.js +354 -0
  757. package/dist/util/ColorConversion.js.map +1 -0
  758. package/dist/util/FetchHelper.d.ts +3 -0
  759. package/dist/util/FetchHelper.js +19 -25
  760. package/dist/util/FetchHelper.js.map +1 -0
  761. package/dist/util/FocusableElements.d.ts +4 -0
  762. package/dist/util/FocusableElements.js +96 -56
  763. package/dist/util/FocusableElements.js.map +1 -0
  764. package/dist/util/HTMLSanitizer.d.ts +5 -0
  765. package/dist/util/HTMLSanitizer.js +6 -0
  766. package/dist/util/HTMLSanitizer.js.map +1 -0
  767. package/dist/util/InvisibleMessage.d.ts +10 -0
  768. package/dist/util/InvisibleMessage.js +56 -0
  769. package/dist/util/InvisibleMessage.js.map +1 -0
  770. package/dist/util/PopupUtils.d.ts +5 -0
  771. package/dist/util/PopupUtils.js +60 -0
  772. package/dist/util/PopupUtils.js.map +1 -0
  773. package/dist/util/SelectionAssistant.d.ts +12 -0
  774. package/dist/util/SelectionAssistant.js +79 -0
  775. package/dist/util/SelectionAssistant.js.map +1 -0
  776. package/dist/util/SlotsHelper.d.ts +9 -0
  777. package/dist/util/SlotsHelper.js +30 -0
  778. package/dist/util/SlotsHelper.js.map +1 -0
  779. package/dist/util/StringHelper.d.ts +5 -0
  780. package/dist/util/StringHelper.js +37 -11
  781. package/dist/util/StringHelper.js.map +1 -0
  782. package/dist/util/TabbableElements.d.ts +17 -0
  783. package/dist/util/TabbableElements.js +46 -40
  784. package/dist/util/TabbableElements.js.map +1 -0
  785. package/dist/util/arraysAreEqual.d.ts +2 -0
  786. package/dist/util/arraysAreEqual.js +13 -0
  787. package/dist/util/arraysAreEqual.js.map +1 -0
  788. package/dist/util/clamp.d.ts +9 -0
  789. package/dist/util/clamp.js +13 -0
  790. package/dist/util/clamp.js.map +1 -0
  791. package/dist/util/createLinkInHead.d.ts +7 -0
  792. package/dist/util/createLinkInHead.js +21 -0
  793. package/dist/util/createLinkInHead.js.map +1 -0
  794. package/dist/util/debounce.d.ts +2 -0
  795. package/dist/util/debounce.js +15 -0
  796. package/dist/util/debounce.js.map +1 -0
  797. package/dist/util/detectNavigatorLanguage.d.ts +2 -0
  798. package/dist/util/detectNavigatorLanguage.js +14 -10
  799. package/dist/util/detectNavigatorLanguage.js.map +1 -0
  800. package/dist/util/dragAndDrop/DragRegistry.d.ts +33 -0
  801. package/dist/util/dragAndDrop/DragRegistry.js +66 -0
  802. package/dist/util/dragAndDrop/DragRegistry.js.map +1 -0
  803. package/dist/util/dragAndDrop/findClosestPosition.d.ts +12 -0
  804. package/dist/util/dragAndDrop/findClosestPosition.js +106 -0
  805. package/dist/util/dragAndDrop/findClosestPosition.js.map +1 -0
  806. package/dist/util/dragAndDrop/handleDragOver.d.ts +16 -0
  807. package/dist/util/dragAndDrop/handleDragOver.js +42 -0
  808. package/dist/util/dragAndDrop/handleDragOver.js.map +1 -0
  809. package/dist/util/dragAndDrop/handleDrop.d.ts +5 -0
  810. package/dist/util/dragAndDrop/handleDrop.js +22 -0
  811. package/dist/util/dragAndDrop/handleDrop.js.map +1 -0
  812. package/dist/util/dragAndDrop/longDragOverHandler.d.ts +2 -0
  813. package/dist/util/dragAndDrop/longDragOverHandler.js +25 -0
  814. package/dist/util/dragAndDrop/longDragOverHandler.js.map +1 -0
  815. package/dist/util/escapeRegex.d.ts +8 -0
  816. package/dist/util/escapeRegex.js +11 -0
  817. package/dist/util/escapeRegex.js.map +1 -0
  818. package/dist/util/fixSafariActiveState.d.ts +2 -0
  819. package/dist/util/fixSafariActiveState.js +11 -0
  820. package/dist/util/fixSafariActiveState.js.map +1 -0
  821. package/dist/util/formatMessage.d.ts +2 -0
  822. package/dist/util/formatMessage.js +15 -19
  823. package/dist/util/formatMessage.js.map +1 -0
  824. package/dist/util/generateHighlightedMarkup.d.ts +9 -0
  825. package/dist/util/generateHighlightedMarkup.js +41 -0
  826. package/dist/util/generateHighlightedMarkup.js.map +1 -0
  827. package/dist/util/getActiveElement.d.ts +2 -0
  828. package/dist/util/getActiveElement.js +9 -0
  829. package/dist/util/getActiveElement.js.map +1 -0
  830. package/dist/util/getClassCopy.d.ts +442 -0
  831. package/dist/util/getClassCopy.js +10 -0
  832. package/dist/util/getClassCopy.js.map +1 -0
  833. package/dist/util/getDesigntimePropertyAsArray.d.ts +2 -0
  834. package/dist/util/getDesigntimePropertyAsArray.js +5 -3
  835. package/dist/util/getDesigntimePropertyAsArray.js.map +1 -0
  836. package/dist/util/getEffectiveContentDensity.d.ts +2 -0
  837. package/dist/util/getEffectiveContentDensity.js +4 -0
  838. package/dist/util/getEffectiveContentDensity.js.map +1 -0
  839. package/dist/util/getEffectiveScrollbarStyle.d.ts +2 -0
  840. package/dist/util/getEffectiveScrollbarStyle.js +36 -0
  841. package/dist/util/getEffectiveScrollbarStyle.js.map +1 -0
  842. package/dist/util/getFastNavigationGroups.d.ts +2 -0
  843. package/dist/util/getFastNavigationGroups.js +56 -0
  844. package/dist/util/getFastNavigationGroups.js.map +1 -0
  845. package/dist/util/getFileExtension.d.ts +12 -0
  846. package/dist/util/getFileExtension.js +19 -0
  847. package/dist/util/getFileExtension.js.map +1 -0
  848. package/dist/util/getNormalizedTarget.d.ts +7 -0
  849. package/dist/util/getNormalizedTarget.js +14 -0
  850. package/dist/util/getNormalizedTarget.js.map +1 -0
  851. package/dist/util/getParentElement.d.ts +2 -0
  852. package/dist/util/getParentElement.js +5 -0
  853. package/dist/util/getParentElement.js.map +1 -0
  854. package/dist/util/getSingletonElementInstance.d.ts +11 -0
  855. package/dist/util/getSingletonElementInstance.js +19 -0
  856. package/dist/util/getSingletonElementInstance.js.map +1 -0
  857. package/dist/util/hash2str.d.ts +1 -0
  858. package/dist/util/hash2str.js +14 -0
  859. package/dist/util/hash2str.js.map +1 -0
  860. package/dist/util/isElementClickable.d.ts +2 -0
  861. package/dist/util/isElementClickable.js +16 -0
  862. package/dist/util/isElementClickable.js.map +1 -0
  863. package/dist/util/isElementHidden.d.ts +2 -0
  864. package/dist/util/isElementHidden.js +8 -0
  865. package/dist/util/isElementHidden.js.map +1 -0
  866. package/dist/util/isElementInView.d.ts +6 -0
  867. package/dist/util/isElementInView.js +12 -0
  868. package/dist/util/isElementInView.js.map +1 -0
  869. package/dist/util/isElementTabbable.d.ts +9 -0
  870. package/dist/util/isElementTabbable.js +30 -0
  871. package/dist/util/isElementTabbable.js.map +1 -0
  872. package/dist/util/isValidPropertyName.d.ts +8 -0
  873. package/dist/util/isValidPropertyName.js +20 -12
  874. package/dist/util/isValidPropertyName.js.map +1 -0
  875. package/dist/util/throttle.d.ts +2 -0
  876. package/dist/util/throttle.js +20 -0
  877. package/dist/util/throttle.js.map +1 -0
  878. package/dist/util/toLowercaseEnumValue.d.ts +3 -0
  879. package/dist/util/toLowercaseEnumValue.js +4 -0
  880. package/dist/util/toLowercaseEnumValue.js.map +1 -0
  881. package/dist/util/whenDOMReady.d.ts +2 -0
  882. package/dist/util/whenDOMReady.js +11 -10
  883. package/dist/util/whenDOMReady.js.map +1 -0
  884. package/dist/util/willShowContent.d.ts +2 -0
  885. package/dist/util/willShowContent.js +7 -0
  886. package/dist/util/willShowContent.js.map +1 -0
  887. package/dist/validateThemeRoot.d.ts +2 -0
  888. package/dist/validateThemeRoot.js +49 -0
  889. package/dist/validateThemeRoot.js.map +1 -0
  890. package/dist/vscode.html-custom-data.json +22 -0
  891. package/package-scripts.cjs +74 -0
  892. package/package.json +51 -15
  893. package/src/css/BusyIndicator.css +80 -0
  894. package/src/css/FontFace.css +96 -0
  895. package/src/css/OverrideFontFace.css +32 -0
  896. package/src/css/SystemCSSVars.css +9 -0
  897. package/src/thirdparty/preact/jsxRuntime.module.js +1 -0
  898. package/src/thirdparty/preact/preact.module.js +1 -0
  899. package/src/thirdparty/preact/version.txt +1 -0
  900. package/tsconfig.json +19 -0
  901. package/.eslintignore +0 -10
  902. package/bundle.es5.js +0 -28
  903. package/bundle.esm.js +0 -52
  904. package/config/.eslintrc.js +0 -3
  905. package/config/rollup.config.js +0 -1
  906. package/config/wdio.conf.js +0 -1
  907. package/dist/Assets.js +0 -2
  908. package/dist/CSS.js +0 -48
  909. package/dist/FormatSettings.js +0 -31
  910. package/dist/Locale.js +0 -101
  911. package/dist/LocaleProvider.js +0 -34
  912. package/dist/RenderScheduler.js +0 -165
  913. package/dist/ResourceLoaderOverrides.js +0 -38
  914. package/dist/SVGIconRegistry.js +0 -54
  915. package/dist/StaticArea.js +0 -35
  916. package/dist/StaticAreaItem.js +0 -67
  917. package/dist/animations/config.js +0 -5
  918. package/dist/boot.js +0 -25
  919. package/dist/compatibility/DOMObserver.js +0 -62
  920. package/dist/compatibility/patchNodeValue.js +0 -24
  921. package/dist/compatibility/whenPolyfillLoaded.js +0 -26
  922. package/dist/config/RTL.js +0 -31
  923. package/dist/dates/CalendarDate.js +0 -203
  924. package/dist/dates/CalendarType.js +0 -22
  925. package/dist/dates/CalendarUtils.js +0 -99
  926. package/dist/delegate/CustomResize.js +0 -78
  927. package/dist/delegate/NativeResize.js +0 -44
  928. package/dist/events/PseudoEvents.js +0 -58
  929. package/dist/features/browsersupport/Edge.js +0 -6
  930. package/dist/features/browsersupport/IE11.js +0 -41
  931. package/dist/features/calendar/Buddhist.js +0 -1
  932. package/dist/features/calendar/Islamic.js +0 -1
  933. package/dist/features/calendar/Japanese.js +0 -1
  934. package/dist/features/calendar/Persian.js +0 -1
  935. package/dist/generated/assets/cldr/sap/ui/core/cldr/ar.json +0 -5598
  936. package/dist/generated/assets/cldr/sap/ui/core/cldr/ar_EG.json +0 -5598
  937. package/dist/generated/assets/cldr/sap/ui/core/cldr/ar_SA.json +0 -5598
  938. package/dist/generated/assets/cldr/sap/ui/core/cldr/bg.json +0 -4789
  939. package/dist/generated/assets/cldr/sap/ui/core/cldr/ca.json +0 -4801
  940. package/dist/generated/assets/cldr/sap/ui/core/cldr/cs.json +0 -5245
  941. package/dist/generated/assets/cldr/sap/ui/core/cldr/da.json +0 -4696
  942. package/dist/generated/assets/cldr/sap/ui/core/cldr/de.json +0 -4797
  943. package/dist/generated/assets/cldr/sap/ui/core/cldr/de_AT.json +0 -4798
  944. package/dist/generated/assets/cldr/sap/ui/core/cldr/de_CH.json +0 -4796
  945. package/dist/generated/assets/cldr/sap/ui/core/cldr/el.json +0 -4694
  946. package/dist/generated/assets/cldr/sap/ui/core/cldr/el_CY.json +0 -4694
  947. package/dist/generated/assets/cldr/sap/ui/core/cldr/en.json +0 -4777
  948. package/dist/generated/assets/cldr/sap/ui/core/cldr/en_AU.json +0 -4769
  949. package/dist/generated/assets/cldr/sap/ui/core/cldr/en_GB.json +0 -4778
  950. package/dist/generated/assets/cldr/sap/ui/core/cldr/en_HK.json +0 -4784
  951. package/dist/generated/assets/cldr/sap/ui/core/cldr/en_IE.json +0 -4778
  952. package/dist/generated/assets/cldr/sap/ui/core/cldr/en_IN.json +0 -4779
  953. package/dist/generated/assets/cldr/sap/ui/core/cldr/en_NZ.json +0 -4778
  954. package/dist/generated/assets/cldr/sap/ui/core/cldr/en_PG.json +0 -4779
  955. package/dist/generated/assets/cldr/sap/ui/core/cldr/en_SG.json +0 -4780
  956. package/dist/generated/assets/cldr/sap/ui/core/cldr/en_ZA.json +0 -4779
  957. package/dist/generated/assets/cldr/sap/ui/core/cldr/es.json +0 -4719
  958. package/dist/generated/assets/cldr/sap/ui/core/cldr/es_AR.json +0 -4721
  959. package/dist/generated/assets/cldr/sap/ui/core/cldr/es_BO.json +0 -4720
  960. package/dist/generated/assets/cldr/sap/ui/core/cldr/es_CL.json +0 -4721
  961. package/dist/generated/assets/cldr/sap/ui/core/cldr/es_CO.json +0 -4721
  962. package/dist/generated/assets/cldr/sap/ui/core/cldr/es_MX.json +0 -4722
  963. package/dist/generated/assets/cldr/sap/ui/core/cldr/es_PE.json +0 -4720
  964. package/dist/generated/assets/cldr/sap/ui/core/cldr/es_UY.json +0 -4722
  965. package/dist/generated/assets/cldr/sap/ui/core/cldr/es_VE.json +0 -4721
  966. package/dist/generated/assets/cldr/sap/ui/core/cldr/et.json +0 -4776
  967. package/dist/generated/assets/cldr/sap/ui/core/cldr/fa.json +0 -4704
  968. package/dist/generated/assets/cldr/sap/ui/core/cldr/fi.json +0 -4816
  969. package/dist/generated/assets/cldr/sap/ui/core/cldr/fr.json +0 -4788
  970. package/dist/generated/assets/cldr/sap/ui/core/cldr/fr_BE.json +0 -4788
  971. package/dist/generated/assets/cldr/sap/ui/core/cldr/fr_CA.json +0 -4782
  972. package/dist/generated/assets/cldr/sap/ui/core/cldr/fr_CH.json +0 -4806
  973. package/dist/generated/assets/cldr/sap/ui/core/cldr/fr_LU.json +0 -4788
  974. package/dist/generated/assets/cldr/sap/ui/core/cldr/he.json +0 -5133
  975. package/dist/generated/assets/cldr/sap/ui/core/cldr/hi.json +0 -4680
  976. package/dist/generated/assets/cldr/sap/ui/core/cldr/hr.json +0 -4910
  977. package/dist/generated/assets/cldr/sap/ui/core/cldr/hu.json +0 -4664
  978. package/dist/generated/assets/cldr/sap/ui/core/cldr/id.json +0 -4500
  979. package/dist/generated/assets/cldr/sap/ui/core/cldr/it.json +0 -4757
  980. package/dist/generated/assets/cldr/sap/ui/core/cldr/it_CH.json +0 -4757
  981. package/dist/generated/assets/cldr/sap/ui/core/cldr/ja.json +0 -4599
  982. package/dist/generated/assets/cldr/sap/ui/core/cldr/kk.json +0 -4537
  983. package/dist/generated/assets/cldr/sap/ui/core/cldr/ko.json +0 -4574
  984. package/dist/generated/assets/cldr/sap/ui/core/cldr/lt.json +0 -5234
  985. package/dist/generated/assets/cldr/sap/ui/core/cldr/lv.json +0 -4902
  986. package/dist/generated/assets/cldr/sap/ui/core/cldr/ms.json +0 -4352
  987. package/dist/generated/assets/cldr/sap/ui/core/cldr/nb.json +0 -4784
  988. package/dist/generated/assets/cldr/sap/ui/core/cldr/nl.json +0 -4790
  989. package/dist/generated/assets/cldr/sap/ui/core/cldr/nl_BE.json +0 -4790
  990. package/dist/generated/assets/cldr/sap/ui/core/cldr/pl.json +0 -5223
  991. package/dist/generated/assets/cldr/sap/ui/core/cldr/pt.json +0 -4703
  992. package/dist/generated/assets/cldr/sap/ui/core/cldr/pt_PT.json +0 -4753
  993. package/dist/generated/assets/cldr/sap/ui/core/cldr/ro.json +0 -4881
  994. package/dist/generated/assets/cldr/sap/ui/core/cldr/ru.json +0 -5157
  995. package/dist/generated/assets/cldr/sap/ui/core/cldr/ru_UA.json +0 -5157
  996. package/dist/generated/assets/cldr/sap/ui/core/cldr/sk.json +0 -5125
  997. package/dist/generated/assets/cldr/sap/ui/core/cldr/sl.json +0 -5105
  998. package/dist/generated/assets/cldr/sap/ui/core/cldr/sr.json +0 -4908
  999. package/dist/generated/assets/cldr/sap/ui/core/cldr/sv.json +0 -4818
  1000. package/dist/generated/assets/cldr/sap/ui/core/cldr/th.json +0 -4633
  1001. package/dist/generated/assets/cldr/sap/ui/core/cldr/tr.json +0 -4791
  1002. package/dist/generated/assets/cldr/sap/ui/core/cldr/uk.json +0 -5126
  1003. package/dist/generated/assets/cldr/sap/ui/core/cldr/vi.json +0 -4510
  1004. package/dist/generated/assets/cldr/sap/ui/core/cldr/zh_CN.json +0 -4469
  1005. package/dist/generated/assets/cldr/sap/ui/core/cldr/zh_HK.json +0 -4479
  1006. package/dist/generated/assets/cldr/sap/ui/core/cldr/zh_SG.json +0 -4479
  1007. package/dist/generated/assets/cldr/sap/ui/core/cldr/zh_TW.json +0 -4565
  1008. package/dist/json-imports/LocaleData.js +0 -171
  1009. package/dist/renderer/ifDefined.js +0 -21
  1010. package/dist/resources/bundle.es5.js +0 -12643
  1011. package/dist/resources/bundle.es5.js.map +0 -1
  1012. package/dist/resources/bundle.esm.js +0 -7450
  1013. package/dist/resources/bundle.esm.js.map +0 -1
  1014. package/dist/shims/Core-shim.js +0 -52
  1015. package/dist/shims/jquery-shim.js +0 -89
  1016. package/dist/test-resources/assets/Themes.js +0 -11
  1017. package/dist/test-resources/elements/Child.js +0 -35
  1018. package/dist/test-resources/elements/Generic.js +0 -83
  1019. package/dist/test-resources/elements/GenericExt.js +0 -26
  1020. package/dist/test-resources/elements/NoShadowDOM.js +0 -13
  1021. package/dist/test-resources/elements/Parent.js +0 -36
  1022. package/dist/test-resources/pages/AllTestElements.html +0 -42
  1023. package/dist/test-resources/pages/Configuration.html +0 -20
  1024. package/dist/test-resources/pages/ConfigurationScript.html +0 -36
  1025. package/dist/test-resources/specs/ConfigurationChange.spec.js +0 -25
  1026. package/dist/test-resources/specs/ConfigurationScript.spec.js +0 -61
  1027. package/dist/test-resources/specs/ConfigurationURL.spec.js +0 -45
  1028. package/dist/test-resources/specs/CustomTheme.spec.js +0 -25
  1029. package/dist/test-resources/specs/Theming.spec.js +0 -31
  1030. package/dist/test-resources/specs/UI5ElementInvalidation.js +0 -258
  1031. package/dist/test-resources/specs/UI5ElementLifecycle.js +0 -93
  1032. package/dist/test-resources/specs/UI5ElementListenForChildPropChanges.spec.js +0 -101
  1033. package/dist/test-resources/specs/UI5ElementMetadataExt.js +0 -40
  1034. package/dist/test-resources/specs/UI5ElementPropertyValidation.js +0 -12
  1035. package/dist/test-resources/specs/UI5ElementPropsAndAttrs.spec.js +0 -65
  1036. package/dist/test-resources/specs/UI5ElementShadowDOM.js +0 -22
  1037. package/dist/test-resources/specs/UI5ElementSlots.js +0 -34
  1038. package/dist/theming/StyleInjection.js +0 -67
  1039. package/dist/thirdparty/Array.from.js +0 -16
  1040. package/dist/thirdparty/Array.prototype.fill.js +0 -44
  1041. package/dist/thirdparty/Array.prototype.find.js +0 -46
  1042. package/dist/thirdparty/Array.prototype.includes.js +0 -51
  1043. package/dist/thirdparty/Element.prototype.closest.js +0 -11
  1044. package/dist/thirdparty/Element.prototype.matches.js +0 -6
  1045. package/dist/thirdparty/Map.prototype.keys.js +0 -9
  1046. package/dist/thirdparty/Number.isInteger.js +0 -5
  1047. package/dist/thirdparty/Number.isNaN.js +0 -1
  1048. package/dist/thirdparty/Number.parseInt.js +0 -1
  1049. package/dist/thirdparty/Object.assign.js +0 -31
  1050. package/dist/thirdparty/Object.entries.js +0 -11
  1051. package/dist/thirdparty/Symbol.js +0 -2
  1052. package/dist/thirdparty/WeakSet.js +0 -27
  1053. package/dist/thirdparty/events-polyfills.js +0 -89
  1054. package/dist/thirdparty/fetch.js +0 -1
  1055. package/dist/thirdparty/template.js +0 -600
  1056. package/dist/types/CSSSize.js +0 -9
  1057. package/dist/types/DataType.js +0 -25
  1058. package/dist/types/Integer.js +0 -9
  1059. package/dist/types/PopupState.js +0 -37
  1060. package/dist/util/CSSTransformUtils.js +0 -90
  1061. package/dist/util/createStyleInHead.js +0 -18
  1062. package/dist/util/isDescendantOf.js +0 -15
  1063. package/dist/util/isNodeClickable.js +0 -19
  1064. package/dist/util/isNodeHidden.js +0 -13
  1065. package/dist/util/isNodeTabbable.js +0 -28
  1066. package/dist/util/normalizeLocale.js +0 -77
  1067. package/dist/webcomponentsjs/LICENSE.md +0 -19
  1068. package/dist/webcomponentsjs/README.md +0 -229
  1069. package/dist/webcomponentsjs/bundles/webcomponents-ce.js +0 -63
  1070. package/dist/webcomponentsjs/bundles/webcomponents-ce.js.map +0 -1
  1071. package/dist/webcomponentsjs/bundles/webcomponents-sd-ce-pf.js +0 -297
  1072. package/dist/webcomponentsjs/bundles/webcomponents-sd-ce-pf.js.map +0 -1
  1073. package/dist/webcomponentsjs/bundles/webcomponents-sd-ce.js +0 -208
  1074. package/dist/webcomponentsjs/bundles/webcomponents-sd-ce.js.map +0 -1
  1075. package/dist/webcomponentsjs/bundles/webcomponents-sd.js +0 -166
  1076. package/dist/webcomponentsjs/bundles/webcomponents-sd.js.map +0 -1
  1077. package/dist/webcomponentsjs/custom-elements-es5-adapter.js +0 -15
  1078. package/dist/webcomponentsjs/package.json +0 -46
  1079. package/dist/webcomponentsjs/src/entrypoints/custom-elements-es5-adapter-index.js +0 -16
  1080. package/dist/webcomponentsjs/src/entrypoints/webcomponents-bundle-index.js +0 -53
  1081. package/dist/webcomponentsjs/src/entrypoints/webcomponents-ce-index.js +0 -17
  1082. package/dist/webcomponentsjs/src/entrypoints/webcomponents-sd-ce-index.js +0 -19
  1083. package/dist/webcomponentsjs/src/entrypoints/webcomponents-sd-ce-pf-index.js +0 -28
  1084. package/dist/webcomponentsjs/src/entrypoints/webcomponents-sd-index.js +0 -18
  1085. package/dist/webcomponentsjs/webcomponents-bundle.js +0 -298
  1086. package/dist/webcomponentsjs/webcomponents-bundle.js.map +0 -1
  1087. package/dist/webcomponentsjs/webcomponents-loader.js +0 -185
  1088. package/index.js +0 -4
  1089. package/package-scripts.js +0 -42
  1090. package/src/AssetRegistry.js +0 -9
  1091. package/src/Assets.js +0 -2
  1092. package/src/CSS.js +0 -48
  1093. package/src/Device.js +0 -823
  1094. package/src/EventProvider.js +0 -73
  1095. package/src/FeaturesRegistry.js +0 -11
  1096. package/src/FontFace.js +0 -66
  1097. package/src/FormatSettings.js +0 -31
  1098. package/src/InitialConfiguration.js +0 -119
  1099. package/src/Locale.js +0 -101
  1100. package/src/LocaleProvider.js +0 -34
  1101. package/src/RenderQueue.js +0 -42
  1102. package/src/RenderScheduler.js +0 -165
  1103. package/src/ResourceLoaderOverrides.js +0 -38
  1104. package/src/SVGIconRegistry.js +0 -54
  1105. package/src/StaticArea.js +0 -41
  1106. package/src/StaticAreaItem.js +0 -73
  1107. package/src/Theming.js +0 -45
  1108. package/src/UI5Element.js +0 -842
  1109. package/src/UI5ElementMetadata.js +0 -148
  1110. package/src/animations/AnimationQueue.js +0 -42
  1111. package/src/animations/animate.js +0 -53
  1112. package/src/animations/config.js +0 -5
  1113. package/src/animations/scroll.js +0 -28
  1114. package/src/animations/slideDown.js +0 -79
  1115. package/src/animations/slideUp.js +0 -71
  1116. package/src/asset-registries/Icons.js +0 -24
  1117. package/src/asset-registries/LocaleData.js +0 -101
  1118. package/src/asset-registries/Themes.js +0 -75
  1119. package/src/asset-registries/i18n.js +0 -75
  1120. package/src/boot.js +0 -25
  1121. package/src/compatibility/DOMObserver.js +0 -62
  1122. package/src/compatibility/patchNodeValue.js +0 -24
  1123. package/src/compatibility/whenPolyfillLoaded.js +0 -26
  1124. package/src/config/AnimationMode.js +0 -9
  1125. package/src/config/CalendarType.js +0 -18
  1126. package/src/config/FormatSettings.js +0 -9
  1127. package/src/config/Language.js +0 -9
  1128. package/src/config/NoConflict.js +0 -44
  1129. package/src/config/RTL.js +0 -31
  1130. package/src/config/Theme.js +0 -24
  1131. package/src/dates/CalendarDate.js +0 -203
  1132. package/src/dates/CalendarType.js +0 -22
  1133. package/src/dates/CalendarUtils.js +0 -99
  1134. package/src/delegate/CustomResize.js +0 -78
  1135. package/src/delegate/ItemNavigation.js +0 -274
  1136. package/src/delegate/NativeResize.js +0 -44
  1137. package/src/delegate/ResizeHandler.js +0 -66
  1138. package/src/delegate/ScrollEnablement.js +0 -80
  1139. package/src/events/PseudoEvents.js +0 -58
  1140. package/src/features/browsersupport/Edge.js +0 -6
  1141. package/src/features/browsersupport/IE11.js +0 -41
  1142. package/src/features/calendar/Buddhist.js +0 -1
  1143. package/src/features/calendar/Islamic.js +0 -1
  1144. package/src/features/calendar/Japanese.js +0 -1
  1145. package/src/features/calendar/Persian.js +0 -1
  1146. package/src/i18nBundle.js +0 -35
  1147. package/src/json-imports/LocaleData.js +0 -171
  1148. package/src/renderer/LitRenderer.js +0 -15
  1149. package/src/renderer/ifDefined.js +0 -21
  1150. package/src/shims/Core-shim.js +0 -52
  1151. package/src/shims/jquery-shim.js +0 -89
  1152. package/src/theming/CustomStyle.js +0 -19
  1153. package/src/theming/StyleInjection.js +0 -67
  1154. package/src/thirdparty/Array.from.js +0 -16
  1155. package/src/thirdparty/Array.prototype.fill.js +0 -44
  1156. package/src/thirdparty/Array.prototype.find.js +0 -46
  1157. package/src/thirdparty/Array.prototype.includes.js +0 -51
  1158. package/src/thirdparty/Element.prototype.closest.js +0 -11
  1159. package/src/thirdparty/Element.prototype.matches.js +0 -6
  1160. package/src/thirdparty/Map.prototype.keys.js +0 -9
  1161. package/src/thirdparty/Number.isInteger.js +0 -5
  1162. package/src/thirdparty/Number.isNaN.js +0 -1
  1163. package/src/thirdparty/Number.parseInt.js +0 -1
  1164. package/src/thirdparty/Object.assign.js +0 -31
  1165. package/src/thirdparty/Object.entries.js +0 -11
  1166. package/src/thirdparty/Symbol.js +0 -2
  1167. package/src/thirdparty/WeakSet.js +0 -27
  1168. package/src/thirdparty/events-polyfills.js +0 -89
  1169. package/src/thirdparty/fetch.js +0 -1
  1170. package/src/thirdparty/template.js +0 -600
  1171. package/src/types/AnimationMode.js +0 -7
  1172. package/src/types/CSSSize.js +0 -9
  1173. package/src/types/DataType.js +0 -25
  1174. package/src/types/Integer.js +0 -9
  1175. package/src/types/ItemNavigationBehavior.js +0 -21
  1176. package/src/types/NavigationMode.js +0 -6
  1177. package/src/types/PopupState.js +0 -37
  1178. package/src/types/ValueState.js +0 -21
  1179. package/src/util/CSSTransformUtils.js +0 -90
  1180. package/src/util/FetchHelper.js +0 -31
  1181. package/src/util/FocusableElements.js +0 -60
  1182. package/src/util/StringHelper.js +0 -11
  1183. package/src/util/TabbableElements.js +0 -44
  1184. package/src/util/createStyleInHead.js +0 -18
  1185. package/src/util/detectNavigatorLanguage.js +0 -11
  1186. package/src/util/formatMessage.js +0 -23
  1187. package/src/util/getDesigntimePropertyAsArray.js +0 -4
  1188. package/src/util/isDescendantOf.js +0 -15
  1189. package/src/util/isNodeClickable.js +0 -19
  1190. package/src/util/isNodeHidden.js +0 -13
  1191. package/src/util/isNodeTabbable.js +0 -28
  1192. package/src/util/isValidPropertyName.js +0 -20
  1193. package/src/util/normalizeLocale.js +0 -77
  1194. package/src/util/whenDOMReady.js +0 -13
@@ -1,90 +0,0 @@
1
- const findClosingParenthesisPos = (str, openingParenthesisPos) => {
2
- let opened = 1;
3
- for (let pos = openingParenthesisPos + 1; pos < str.length; pos++) {
4
- const char = str.charAt(pos);
5
- if (char === "(") {
6
- opened++;
7
- } else if (char === ")") {
8
- opened--;
9
- }
10
- if (opened === 0) {
11
- return pos;
12
- }
13
- }
14
- };
15
-
16
- const replaceSelector = (str, selector, selectorStartPos, replacement) => {
17
- const charAfterSelectorPos = selectorStartPos + selector.length;
18
- const charAfterSelector = str.charAt(charAfterSelectorPos);
19
-
20
- const upToSelector = str.substring(0, selectorStartPos) + replacement;
21
- if (charAfterSelector === "(") {
22
- const closingParenthesisPos = findClosingParenthesisPos(str, charAfterSelectorPos);
23
- return upToSelector + str.substring(charAfterSelectorPos + 1, closingParenthesisPos) + str.substring(closingParenthesisPos + 1);
24
- }
25
-
26
- return upToSelector + str.substring(charAfterSelectorPos);
27
- };
28
-
29
- /**
30
- * :host => ui5-button
31
- * :host([expr]) => ui5-button[expr]
32
- * ::slotted(expr) => expr
33
- * @param str - source string
34
- * @param selector - :host or ::slotted
35
- * @param replacement - normally tag name
36
- * @returns {*}
37
- */
38
- const replaceSelectors = (str, selector, replacement) => {
39
- let selectorStartPos = str.indexOf(selector);
40
- while (selectorStartPos !== -1) {
41
- str = replaceSelector(str, selector, selectorStartPos, replacement);
42
- selectorStartPos = str.indexOf(selector);
43
- }
44
- return str;
45
- };
46
-
47
- const adaptLinePart = (line, tag) => {
48
- line = line.trim();
49
- line = replaceSelectors(line, "::slotted", ``); // first remove all ::slotted() occurrences
50
-
51
- // Host selector - replace it
52
- if (line.startsWith(":host")) {
53
- return replaceSelector(line, ":host", 0, tag);
54
- }
55
-
56
- // Leave out @keyframes and keyframe values (0%, 100%, etc...)
57
- // csso shortens '100%' -> 'to', make sure to leave it untouched
58
- if (line.match(/^[@0-9]/) || line === "to" || line === "to{") {
59
- return line;
60
- }
61
-
62
- // IE specific selector (directly written with the tag) - keep it
63
- if (line.match(new RegExp(`^${tag}[^a-zA-Z0-9-]`))) {
64
- return line;
65
- }
66
-
67
- // No host and no tag in the beginning of the selector - prepend the tag
68
- return `${tag} ${line}`;
69
- };
70
-
71
- const adaptCSSForIE = (str, tag) => {
72
- str = str.replace(/\n/g, ` `);
73
- str = str.replace(/([{}])/g, `$1\n`);
74
- let result = ``;
75
- const lines = str.split(`\n`);
76
- lines.forEach(line => {
77
- const mustProcess = line.match(/{$/); // Only work on lines that end on {, otherwise just append to result
78
- if (mustProcess) {
79
- const lineParts = line.split(",");
80
- const processedLineParts = lineParts.map(linePart => {
81
- return adaptLinePart(linePart, tag);
82
- });
83
- line = processedLineParts.join(",");
84
- }
85
- result = `${result}${line}`;
86
- });
87
- return result;
88
- };
89
-
90
- export default adaptCSSForIE;
@@ -1,18 +0,0 @@
1
- /**
2
- * Creates a <style> tag in the <head> tag
3
- * @param cssText - the CSS
4
- * @param attributes - optional attributes to add to the tag
5
- * @returns {HTMLElement}
6
- */
7
- const createStyleInHead = (cssText, attributes = {}) => {
8
- const style = document.createElement("style");
9
- style.type = "text/css";
10
-
11
- Object.entries(attributes).forEach(pair => style.setAttribute(...pair));
12
-
13
- style.textContent = cssText;
14
- document.head.appendChild(style);
15
- return style;
16
- };
17
-
18
- export default createStyleInHead;
@@ -1,15 +0,0 @@
1
- const isDescendantOf = (klass, baseKlass, inclusive = false) => {
2
- if (typeof klass !== "function" || typeof baseKlass !== "function") {
3
- return false;
4
- }
5
- if (inclusive && klass === baseKlass) {
6
- return true;
7
- }
8
- let parent = klass;
9
- do {
10
- parent = Object.getPrototypeOf(parent);
11
- } while (parent !== null && parent !== baseKlass);
12
- return parent === baseKlass;
13
- };
14
-
15
- export default isDescendantOf;
@@ -1,19 +0,0 @@
1
- const rClickable = /^(?:a|area)$/i;
2
- const rFocusable = /^(?:input|select|textarea|button)$/i;
3
-
4
- const isNodeClickable = node => {
5
- if (node.disabled) {
6
- return false;
7
- }
8
-
9
- const tabIndex = node.getAttribute("tabindex");
10
- if (tabIndex !== null && tabIndex !== undefined) {
11
- return parseInt(tabIndex) >= 0;
12
- }
13
-
14
- return rFocusable.test(node.nodeName)
15
- || (rClickable.test(node.nodeName)
16
- && node.href);
17
- };
18
-
19
- export default isNodeClickable;
@@ -1,13 +0,0 @@
1
- const isNodeHidden = node => {
2
- if (node.nodeName === "SLOT") {
3
- return false;
4
- }
5
-
6
- const rect = node.getBoundingClientRect();
7
-
8
- return (node.offsetWidth <= 0 && node.offsetHeight <= 0)
9
- || node.style.visibility === "hidden"
10
- || (rect.width === 0 && 0 && rect.height === 0);
11
- };
12
-
13
- export default isNodeHidden;
@@ -1,28 +0,0 @@
1
- import isNodeHidden from "./isNodeHidden.js";
2
-
3
- const isNodeTabbable = node => {
4
- if (!node) {
5
- return false;
6
- }
7
-
8
- const nodeName = node.nodeName.toLowerCase();
9
-
10
- if (node.hasAttribute("data-sap-no-tab-ref")) {
11
- return false;
12
- }
13
-
14
- if (isNodeHidden(node)) {
15
- return false;
16
- }
17
-
18
- if (nodeName === "a" || /input|select|textarea|button|object/.test(nodeName)) {
19
- return !node.disabled;
20
- }
21
-
22
- const tabIndex = node.getAttribute("tabindex");
23
- if (tabIndex !== null && tabIndex !== undefined) {
24
- return parseInt(tabIndex) >= 0;
25
- }
26
- };
27
-
28
- export default isNodeTabbable;
@@ -1,77 +0,0 @@
1
- const localeRegEX = /^((?:[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;
2
- const SAPSupportabilityLocales = /(?:^|-)(saptrc|sappsd)(?:-|$)/i;
3
-
4
- /* Map for old language names for a few ISO639 codes. */
5
- const M_ISO639_NEW_TO_OLD = {
6
- "he": "iw",
7
- "yi": "ji",
8
- "id": "in",
9
- "sr": "sh",
10
- };
11
-
12
- /**
13
- * Normalizes the given locale in BCP-47 syntax.
14
- * @param {string} locale locale to normalize
15
- * @returns {string} Normalized locale or undefined if the locale can't be normalized
16
- */
17
- const normalizeLocale = locale => {
18
- let m;
19
-
20
- if (typeof locale === "string" && (m = localeRegEX.exec(locale.replace(/_/g, "-")))) {/* eslint-disable-line */
21
- let language = m[1].toLowerCase();
22
- let region = m[3] ? m[3].toUpperCase() : undefined;
23
- const script = m[2] ? m[2].toLowerCase() : undefined;
24
- const variants = m[4] ? m[4].slice(1) : undefined;
25
- const isPrivate = m[6];
26
-
27
- language = M_ISO639_NEW_TO_OLD[language] || language;
28
-
29
- // recognize and convert special SAP supportability locales (overwrites m[]!)
30
- if ((isPrivate && (m = SAPSupportabilityLocales.exec(isPrivate))) /* eslint-disable-line */ ||
31
- (variants && (m = SAPSupportabilityLocales.exec(variants)))) {/* eslint-disable-line */
32
- return `en_US_${m[1].toLowerCase()}`; // for now enforce en_US (agreed with SAP SLS)
33
- }
34
-
35
- // Chinese: when no region but a script is specified, use default region for each script
36
- if (language === "zh" && !region) {
37
- if (script === "hans") {
38
- region = "CN";
39
- } else if (script === "hant") {
40
- region = "TW";
41
- }
42
- }
43
-
44
- return language + (region ? "_" + region + (variants ? "_" + variants.replace("-", "_") : "") : ""); /* eslint-disable-line */
45
- }
46
- };
47
-
48
-
49
- /**
50
- * Calculates the next fallback locale for the given locale.
51
- *
52
- * @param {string} locale Locale string in Java format (underscores) or null
53
- * @returns {string|null} Next fallback Locale or null if there is no more fallback
54
- */
55
- const nextFallbackLocale = locale => {
56
- if (!locale) {
57
- return null;
58
- }
59
-
60
- if (locale === "zh_HK") {
61
- return "zh_TW";
62
- }
63
-
64
- // if there are multiple segments (separated by underscores), remove the last one
65
- const p = locale.lastIndexOf("_");
66
- if (p >= 0) {
67
- return locale.slice(0, p);
68
- }
69
-
70
- // for any language but 'en', fallback to 'en' first before falling back to the 'raw' language (empty string)
71
- return locale !== "en" ? "en" : "";
72
- };
73
-
74
- export {
75
- normalizeLocale,
76
- nextFallbackLocale,
77
- };
@@ -1,19 +0,0 @@
1
- # License
2
-
3
- Everything in this repo is BSD style license unless otherwise specified.
4
-
5
- Copyright (c) 2015 The Polymer Authors. All rights reserved.
6
-
7
- Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
8
-
9
- * Redistributions of source code must retain the above copyright
10
- notice, this list of conditions and the following disclaimer.
11
- * Redistributions in binary form must reproduce the above
12
- copyright notice, this list of conditions and the following disclaimer
13
- in the documentation and/or other materials provided with the
14
- distribution.
15
- * Neither the name of Google Inc. nor the names of its
16
- contributors may be used to endorse or promote products derived from
17
- this software without specific prior written permission.
18
-
19
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
@@ -1,229 +0,0 @@
1
- [![Build Status](https://travis-ci.org/webcomponents/webcomponentsjs.svg?branch=master)](https://travis-ci.org/webcomponents/webcomponentsjs)
2
-
3
- webcomponents.js (v1 spec polyfills)
4
- ================
5
-
6
- > **Note**. For polyfills that work with the older Custom Elements and Shadow DOM v0 specs,
7
- see the [v0 branch](https://github.com/webcomponents/webcomponentsjs/tree/v0).
8
-
9
- > **Note**. For polyfills that include HTML Imports,
10
- see the [v1 branch](https://github.com/webcomponents/webcomponentsjs/tree/v1).
11
-
12
- A suite of polyfills supporting the [Web Components](http://webcomponents.org) specs:
13
-
14
- - **Custom Elements v1**: allows authors to define their own custom tags ([spec](https://w3c.github.io/webcomponents/spec/custom/), [tutorial](https://developers.google.com/web/fundamentals/getting-started/primers/customelements), [polyfill](https://github.com/webcomponents/custom-elements)).
15
- - **Shadow DOM v1**: provides encapsulation by hiding DOM subtrees under shadow roots ([spec](https://w3c.github.io/webcomponents/spec/shadow/), [tutorial](https://developers.google.com/web/fundamentals/getting-started/primers/shadowdom),
16
- [shadydom polyfill](https://github.com/webcomponents/shadydom), [shadycss polyfill](https://github.com/webcomponents/shadycss)).
17
-
18
- For browsers that need it, there are also some minor polyfills included:
19
- - [`HTMLTemplateElement`](https://github.com/webcomponents/template)
20
- - [`Promise`](https://github.com/taylorhakes/promise-polyfill)
21
- - `Event`, `CustomEvent`, `MouseEvent` constructors and `Object.assign`, `Array.from`
22
- (see [webcomponents-platform](https://github.com/webcomponents/webcomponents-platform))
23
- - [`URL constructor`](https://github.com/webcomponents/URL)
24
-
25
- ## How to use
26
- ### Install polyfills
27
- ```bash
28
- npm install @webcomponents/webcomponentsjs
29
- ```
30
-
31
- You can also load the code from a CDN such as unpkg: https://unpkg.com/@webcomponents/webcomponentsjs@^2/
32
-
33
- ### Using `webcomponents-bundle.js`
34
-
35
- The `webcomponents-bundle.js` contains all of the web components polyfills and is
36
- suitable for use on any supported browser. All of the polyfill code will be loaded
37
- but each polyfill will only be used based on feature detection.
38
- The bundle includes Custom Elements, Shady DOM/CSS and generic platform polyfills
39
- (such as ES6 Promise, Constructable events, etc.) (needed by Internet Explorer 11),
40
- and Template (needed by IE 11 and Edge).
41
-
42
- The `webcomponents-bundle.js` is very simple to use but it does load code
43
- that is not needed on most modern browsers, slowing page load. For best performance,
44
- use the `webcomponents-loader.js`.
45
-
46
- Here's an example:
47
-
48
- ```html
49
- <!-- load webcomponents bundle, which includes all the necessary polyfills -->
50
- <script src="node_modules/@webcomponents/webcomponentsjs/webcomponents-bundle.js"></script>
51
-
52
- <!-- load the element -->
53
- <script type="module" src="my-element.js"></script>
54
-
55
- <!-- use the element -->
56
- <my-element></my-element>
57
- ```
58
-
59
- ### Using `webcomponents-loader.js`
60
-
61
- The `webcomponents-loader.js` is a client-side loader that dynamically loads the
62
- minimum polyfill bundle, using feature detection.
63
-
64
- `webcomponents-loader.js` can be loaded synchronously, or asynchronously depending on your needs.
65
-
66
- #### Inlining
67
-
68
- If you have inlined the source of `webcomponent-loader.js`, then you should specify `window.WebComponents.root` as the root from which to load the polyfills.
69
- For example:
70
-
71
- ```html
72
- <script>
73
- window.WebComponents = window.WebComponents || {};
74
- window.WebComponents.root = 'node_modules/@webcomponents/webcomponentsjs/';
75
- </script>
76
- ```
77
-
78
- #### Synchronous
79
- When loaded synchronously, `webcomponents-loader.js` behaves similarly to `webcomponents-bundle.js`.
80
-
81
- The appropriate bundle will be loaded with `document.write()` to ensure that WebComponent polyfills are available for subsequent scripts and modules.
82
-
83
- Here's an example:
84
-
85
- ```html
86
- <!-- load the webcomponents loader, which injects the necessary polyfill bundle -->
87
- <script src="node_modules/@webcomponents/webcomponentsjs/webcomponents-loader.js"></script>
88
-
89
- <!-- load the element -->
90
- <script type="module" src="my-element.js"></script>
91
-
92
- <!-- use the element -->
93
- <my-element></my-element>
94
- ```
95
-
96
- #### Asynchronous
97
- When loaded asychronously with the `defer` attribute, polyfill bundles will be loaded asynchronously,
98
- which means that scripts and modules that depend on webcomponents APIs *must* be loaded
99
- using `WebComponents.waitFor` function.
100
-
101
- The `WebComponents.waitFor` function takes a callback function as an argument, and will evaluate that callback after the polyfill bundle has been loaded.
102
-
103
- The callback function should load scripts that need the polyfills (typically via `import('my-script.js')`) and
104
- should return a promise that resolves when all scripts have loaded.
105
-
106
- Here's an example:
107
-
108
- ```html
109
- <!-- Load polyfills; note that "loader" will load these async -->
110
- <script src="node_modules/@webcomponents/webcomponentsjs/webcomponents-loader.js" defer></script>
111
-
112
- <!-- Load a custom element definitions in `waitFor` and return a promise -->
113
- <script type="module">
114
- WebComponents.waitFor(() => {
115
- // At this point we are guaranteed that all required polyfills have
116
- // loaded, and can use web components API's.
117
- // The standard pattern is to load element definitions that call
118
- // `customElements.define` here.
119
- // Note: returning the import's promise causes the custom elements
120
- // polyfill to wait until all definitions are loaded and then upgrade
121
- // the document in one batch, for better performance.
122
- return import('my-element.js');
123
- });
124
- </script>
125
-
126
- <!-- Use the custom element -->
127
- <my-element></my-element>
128
- ```
129
-
130
- The `WebComponents.waitFor` function may be called multiple times, and the callback functions will be processed in order.
131
-
132
- Here's a more complicated example:
133
-
134
- ```html
135
- <!-- Load polyfills; note that "loader" will load these async -->
136
- <script src="node_modules/@webcomponents/webcomponentsjs/webcomponents-loader.js" defer></script>
137
-
138
- <script type="module">
139
- WebComponents.waitFor(async () => {
140
- if (!window.fetch) {
141
- await import('node_modules/fetch-polyfill/fetch.js');
142
- }
143
- return import('my-element.js');
144
- })
145
- </script>
146
-
147
- <script type="module">
148
- </script>
149
- ```
150
-
151
- ### WebComponentsReady event
152
-
153
- The `WebComponentsReady` event is fired when polyfills and user scripts have loaded and custom elements have been upgraded. This event is generally not needed; however, it may be useful in some cases like testing. If imperative code should wait until a specific custom element definition has loaded, it can use the platform `customElements.whenDefined` API.
154
-
155
- ### `custom-elements-es5-adapter.js`
156
- According to the spec, only ES6 classes (https://html.spec.whatwg.org/multipage/scripting.html#custom-element-conformance) may be passed to the _native_ `customElements.define` API. For best performnace, ES6 should be served to browsers that support it, and ES5 code should be serve to those that don't. Since this may not always be possible, it may make sense to compile and serve ES5 to all browsers. However, if you do so, ES5-style custom element classes will now **not** work on browsers with native Custom Elements because ES5-style classes cannot properly extend ES6 classes, like `HTMLElement`.
157
-
158
- As a workaround, if your project has been compiled to ES5, load `custom-elements-es5-adapter.js` before defining Custom Elements. This adapter will automatically wrap ES5.
159
-
160
- **The adapter must NOT be compiled.**
161
-
162
- ## Browser Support
163
-
164
- The polyfills are intended to work in the latest versions of evergreen browsers. See below
165
- for our complete browser support matrix:
166
-
167
- | Polyfill | Edge | IE11+ | Chrome* | Firefox* | Safari 9+* | Chrome Android* | Mobile Safari* |
168
- | ---------- |:----:|:-----:|:-------:|:--------:|:----------:|:---------------:|:--------------:|
169
- | Custom Elements | ✓ | ✓ | ✓ | ✓ | ✓ | ✓| ✓ |
170
- | Shady CSS/DOM | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
171
-
172
- \*Indicates the current version of the browser
173
-
174
- The polyfills may work in older browsers, however require additional polyfills (such as classList, or other [platform](https://github.com/webcomponents/webcomponents-platform)
175
- polyfills) to be used. We cannot guarantee support for browsers outside of our compatibility matrix.
176
-
177
-
178
- ### Manually Building
179
-
180
- If you wish to build the bundles yourself, you'll need `node` and `npm` on your system:
181
-
182
- * install [node.js](http://nodejs.org/) using the instructions on their website
183
- * use `npm` to install [gulp.js](http://gulpjs.com/): `npm install -g gulp`
184
- * make sure you have Java installed per https://www.npmjs.com/package/google-closure-compiler#java-version
185
-
186
- Now you are ready to build the polyfills with:
187
-
188
- # install dependencies
189
- npm install
190
- # build
191
- npm run build
192
-
193
- The builds will be placed into the root directory.
194
-
195
- ## Contribute
196
-
197
- See the [contributing guide](CONTRIBUTING.md)
198
-
199
- ## License
200
-
201
- Everything in this repository is BSD style license unless otherwise specified.
202
-
203
- Copyright (c) 2015 The Polymer Authors. All rights reserved.
204
-
205
- ## Changes in version 2.x
206
-
207
- * The HTML Imports polyfill has been removed. Given that ES modules have shipped in
208
- most browsers, the expectation is that web components code will be loaded via
209
- ES modules.
210
- * When using `webcomponents-loader.js` with the `defer` attribute, scripts that rely on the polyfills *must* be loaded using `WebComponents.waitFor(loadCallback)`.
211
-
212
- ## Known Issues
213
-
214
- * [ShadowDOM CSS is not encapsulated out of the box](#shadycss)
215
- * [Custom element's constructor property is unreliable](#constructor)
216
- * [ShadyCSS: :host(.zot:not(.bar:nth-child(2))) doesn't work](#nestedparens)
217
-
218
- ### ShadowDOM CSS is not encapsulated out of the box <a id="shadycss"></a>
219
- The ShadowDOM polyfill is not able to encapsulate CSS in ShadowDOM out of the box. You need to use specific code from the ShadyCSS library, included with the polyfill. See [ShadyCSS instructions](https://github.com/webcomponents/shadycss).
220
-
221
- ### Custom element's constructor property is unreliable <a id="constructor"></a>
222
- See [#215](https://github.com/webcomponents/webcomponentsjs/issues/215) for background.
223
-
224
- In Edge and IE, instances of Custom Elements have a `constructor` property of `HTMLUnknownElementConstructor` and `HTMLUnknownElement`, respectively. It's unsafe to rely on this property for checking element types.
225
-
226
- It's worth noting that `customElement.__proto__.__proto__.constructor` is `HTMLElementPrototype` and that the prototype chain isn't modified by the polyfills(onto `ElementPrototype`, etc.)
227
-
228
- ### ShadyCSS: :host(.zot:not(.bar:nth-child(2))) doesn't work <a id="nestedparens"></a>
229
- ShadyCSS `:host()` rules can only have (at most) 1-level of nested parentheses in its argument selector under ShadyCSS. For example, `:host(.zot)` and `:host(.zot:not(.bar))` both work, but `:host(.zot:not(.bar:nth-child(2)))` does not.
@@ -1,63 +0,0 @@
1
- /**
2
- @license @nocompile
3
- Copyright (c) 2018 The Polymer Project Authors. All rights reserved.
4
- This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
5
- The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
6
- The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
7
- Code distributed by Google as part of the polymer project is also
8
- subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
9
- */
10
- (function(){/*
11
-
12
- Copyright (c) 2016 The Polymer Project Authors. All rights reserved.
13
- This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
14
- The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
15
- The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
16
- Code distributed by Google as part of the polymer project is also
17
- subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
18
- */
19
- 'use strict';var n=window.Document.prototype.createElement,p=window.Document.prototype.createElementNS,aa=window.Document.prototype.importNode,ba=window.Document.prototype.prepend,ca=window.Document.prototype.append,da=window.DocumentFragment.prototype.prepend,ea=window.DocumentFragment.prototype.append,q=window.Node.prototype.cloneNode,r=window.Node.prototype.appendChild,t=window.Node.prototype.insertBefore,u=window.Node.prototype.removeChild,v=window.Node.prototype.replaceChild,x=Object.getOwnPropertyDescriptor(window.Node.prototype,
20
- "textContent"),y=window.Element.prototype.attachShadow,z=Object.getOwnPropertyDescriptor(window.Element.prototype,"innerHTML"),A=window.Element.prototype.getAttribute,B=window.Element.prototype.setAttribute,C=window.Element.prototype.removeAttribute,D=window.Element.prototype.getAttributeNS,E=window.Element.prototype.setAttributeNS,F=window.Element.prototype.removeAttributeNS,G=window.Element.prototype.insertAdjacentElement,fa=window.Element.prototype.insertAdjacentHTML,ha=window.Element.prototype.prepend,
21
- ia=window.Element.prototype.append,ja=window.Element.prototype.before,ka=window.Element.prototype.after,la=window.Element.prototype.replaceWith,ma=window.Element.prototype.remove,na=window.HTMLElement,H=Object.getOwnPropertyDescriptor(window.HTMLElement.prototype,"innerHTML"),oa=window.HTMLElement.prototype.insertAdjacentElement,pa=window.HTMLElement.prototype.insertAdjacentHTML;var qa=new Set;"annotation-xml color-profile font-face font-face-src font-face-uri font-face-format font-face-name missing-glyph".split(" ").forEach(function(a){return qa.add(a)});function ra(a){var b=qa.has(a);a=/^[a-z][.0-9_a-z]*-[\-.0-9_a-z]*$/.test(a);return!b&&a}var sa=document.contains?document.contains.bind(document):document.documentElement.contains.bind(document.documentElement);
22
- function I(a){var b=a.isConnected;if(void 0!==b)return b;if(sa(a))return!0;for(;a&&!(a.__CE_isImportDocument||a instanceof Document);)a=a.parentNode||(window.ShadowRoot&&a instanceof ShadowRoot?a.host:void 0);return!(!a||!(a.__CE_isImportDocument||a instanceof Document))}function J(a){var b=a.children;if(b)return Array.prototype.slice.call(b);b=[];for(a=a.firstChild;a;a=a.nextSibling)a.nodeType===Node.ELEMENT_NODE&&b.push(a);return b}
23
- function K(a,b){for(;b&&b!==a&&!b.nextSibling;)b=b.parentNode;return b&&b!==a?b.nextSibling:null}
24
- function L(a,b,c){for(var f=a;f;){if(f.nodeType===Node.ELEMENT_NODE){var d=f;b(d);var e=d.localName;if("link"===e&&"import"===d.getAttribute("rel")){f=d.import;void 0===c&&(c=new Set);if(f instanceof Node&&!c.has(f))for(c.add(f),f=f.firstChild;f;f=f.nextSibling)L(f,b,c);f=K(a,d);continue}else if("template"===e){f=K(a,d);continue}if(d=d.__CE_shadowRoot)for(d=d.firstChild;d;d=d.nextSibling)L(d,b,c)}f=f.firstChild?f.firstChild:K(a,f)}}function M(a,b,c){a[b]=c};function ta(a){var b=document;this.c=a;this.a=b;this.b=void 0;N(this.c,this.a);"loading"===this.a.readyState&&(this.b=new MutationObserver(this.f.bind(this)),this.b.observe(this.a,{childList:!0,subtree:!0}))}function ua(a){a.b&&a.b.disconnect()}ta.prototype.f=function(a){var b=this.a.readyState;"interactive"!==b&&"complete"!==b||ua(this);for(b=0;b<a.length;b++)for(var c=a[b].addedNodes,f=0;f<c.length;f++)N(this.c,c[f])};function va(){var a=this;this.b=this.a=void 0;this.c=new Promise(function(b){a.b=b;a.a&&b(a.a)})}function wa(a){if(a.a)throw Error("Already resolved.");a.a=void 0;a.b&&a.b(void 0)};function O(a){this.f=new Map;this.g=new Map;this.l=new Map;this.i=!1;this.b=a;this.j=new Map;this.c=function(b){return b()};this.a=!1;this.h=[];this.m=a.f?new ta(a):void 0}O.prototype.o=function(a,b){var c=this;if(!(b instanceof Function))throw new TypeError("Custom element constructor getters must be functions.");xa(this,a);this.f.set(a,b);this.h.push(a);this.a||(this.a=!0,this.c(function(){return ya(c)}))};
25
- O.prototype.define=function(a,b){var c=this;if(!(b instanceof Function))throw new TypeError("Custom element constructors must be functions.");xa(this,a);za(this,a,b);this.h.push(a);this.a||(this.a=!0,this.c(function(){return ya(c)}))};function xa(a,b){if(!ra(b))throw new SyntaxError("The element name '"+b+"' is not valid.");if(P(a,b))throw Error("A custom element with name '"+b+"' has already been defined.");if(a.i)throw Error("A custom element is already being defined.");}
26
- function za(a,b,c){a.i=!0;var f;try{var d=function(m){var w=e[m];if(void 0!==w&&!(w instanceof Function))throw Error("The '"+m+"' callback must be a function.");return w},e=c.prototype;if(!(e instanceof Object))throw new TypeError("The custom element constructor's prototype is not an object.");var g=d("connectedCallback");var h=d("disconnectedCallback");var k=d("adoptedCallback");var l=(f=d("attributeChangedCallback"))&&c.observedAttributes||[]}catch(m){throw m;}finally{a.i=!1}c={localName:b,constructorFunction:c,
27
- connectedCallback:g,disconnectedCallback:h,adoptedCallback:k,attributeChangedCallback:f,observedAttributes:l,constructionStack:[]};a.g.set(b,c);a.l.set(c.constructorFunction,c);return c}O.prototype.upgrade=function(a){N(this.b,a)};
28
- function ya(a){if(!1!==a.a){a.a=!1;for(var b=[],c=a.h,f=new Map,d=0;d<c.length;d++)f.set(c[d],[]);N(a.b,document,{upgrade:function(k){if(void 0===k.__CE_state){var l=k.localName,m=f.get(l);m?m.push(k):a.g.has(l)&&b.push(k)}}});for(d=0;d<b.length;d++)Q(a.b,b[d]);for(d=0;d<c.length;d++){for(var e=c[d],g=f.get(e),h=0;h<g.length;h++)Q(a.b,g[h]);(e=a.j.get(e))&&wa(e)}c.length=0}}O.prototype.get=function(a){if(a=P(this,a))return a.constructorFunction};
29
- O.prototype.whenDefined=function(a){if(!ra(a))return Promise.reject(new SyntaxError("'"+a+"' is not a valid custom element name."));var b=this.j.get(a);if(b)return b.c;b=new va;this.j.set(a,b);var c=this.g.has(a)||this.f.has(a);a=-1===this.h.indexOf(a);c&&a&&wa(b);return b.c};O.prototype.polyfillWrapFlushCallback=function(a){this.m&&ua(this.m);var b=this.c;this.c=function(c){return a(function(){return b(c)})}};
30
- function P(a,b){var c=a.g.get(b);if(c)return c;if(c=a.f.get(b)){a.f.delete(b);try{return za(a,b,c())}catch(f){R(f)}}}window.CustomElementRegistry=O;O.prototype.define=O.prototype.define;O.prototype.upgrade=O.prototype.upgrade;O.prototype.get=O.prototype.get;O.prototype.whenDefined=O.prototype.whenDefined;O.prototype.polyfillDefineLazy=O.prototype.o;O.prototype.polyfillWrapFlushCallback=O.prototype.polyfillWrapFlushCallback;function S(){var a=T&&T.noDocumentConstructionObserver,b=T&&T.shadyDomFastWalk;this.b=[];this.c=[];this.a=!1;this.shadyDomFastWalk=b;this.f=!a}function U(a,b,c,f){var d=window.ShadyDOM;if(a.shadyDomFastWalk&&d&&d.inUse){if(b.nodeType===Node.ELEMENT_NODE&&c(b),b.querySelectorAll)for(a=d.nativeMethods.querySelectorAll.call(b,"*"),b=0;b<a.length;b++)c(a[b])}else L(b,c,f)}function Aa(a,b){a.a=!0;a.b.push(b)}function Ba(a,b){a.a=!0;a.c.push(b)}function V(a,b){a.a&&U(a,b,function(c){return W(a,c)})}
31
- function W(a,b){if(a.a&&!b.__CE_patched){b.__CE_patched=!0;for(var c=0;c<a.b.length;c++)a.b[c](b);for(c=0;c<a.c.length;c++)a.c[c](b)}}function X(a,b){var c=[];U(a,b,function(d){return c.push(d)});for(b=0;b<c.length;b++){var f=c[b];1===f.__CE_state?a.connectedCallback(f):Q(a,f)}}function Y(a,b){var c=[];U(a,b,function(d){return c.push(d)});for(b=0;b<c.length;b++){var f=c[b];1===f.__CE_state&&a.disconnectedCallback(f)}}
32
- function N(a,b,c){c=void 0===c?{}:c;var f=c.s,d=c.upgrade||function(g){return Q(a,g)},e=[];U(a,b,function(g){a.a&&W(a,g);if("link"===g.localName&&"import"===g.getAttribute("rel")){var h=g.import;h instanceof Node&&(h.__CE_isImportDocument=!0,h.__CE_registry=document.__CE_registry);h&&"complete"===h.readyState?h.__CE_documentLoadHandled=!0:g.addEventListener("load",function(){var k=g.import;if(!k.__CE_documentLoadHandled){k.__CE_documentLoadHandled=!0;var l=new Set;f&&(f.forEach(function(m){return l.add(m)}),
33
- l.delete(k));N(a,k,{s:l,upgrade:d})}})}else e.push(g)},f);for(b=0;b<e.length;b++)d(e[b])}
34
- function Q(a,b){try{var c=b.ownerDocument,f=c.__CE_registry;var d=f&&(c.defaultView||c.__CE_isImportDocument)?P(f,b.localName):void 0;if(d&&void 0===b.__CE_state){d.constructionStack.push(b);try{try{if(new d.constructorFunction!==b)throw Error("The custom element constructor did not produce the element being upgraded.");}finally{d.constructionStack.pop()}}catch(k){throw b.__CE_state=2,k;}b.__CE_state=1;b.__CE_definition=d;if(d.attributeChangedCallback&&b.hasAttributes()){var e=d.observedAttributes;
35
- for(d=0;d<e.length;d++){var g=e[d],h=b.getAttribute(g);null!==h&&a.attributeChangedCallback(b,g,null,h,null)}}I(b)&&a.connectedCallback(b)}}catch(k){R(k)}}S.prototype.connectedCallback=function(a){var b=a.__CE_definition;if(b.connectedCallback)try{b.connectedCallback.call(a)}catch(c){R(c)}};S.prototype.disconnectedCallback=function(a){var b=a.__CE_definition;if(b.disconnectedCallback)try{b.disconnectedCallback.call(a)}catch(c){R(c)}};
36
- S.prototype.attributeChangedCallback=function(a,b,c,f,d){var e=a.__CE_definition;if(e.attributeChangedCallback&&-1<e.observedAttributes.indexOf(b))try{e.attributeChangedCallback.call(a,b,c,f,d)}catch(g){R(g)}};
37
- function Ca(a,b,c,f){var d=b.__CE_registry;if(d&&(null===f||"http://www.w3.org/1999/xhtml"===f)&&(d=P(d,c)))try{var e=new d.constructorFunction;if(void 0===e.__CE_state||void 0===e.__CE_definition)throw Error("Failed to construct '"+c+"': The returned value was not constructed with the HTMLElement constructor.");if("http://www.w3.org/1999/xhtml"!==e.namespaceURI)throw Error("Failed to construct '"+c+"': The constructed element's namespace must be the HTML namespace.");if(e.hasAttributes())throw Error("Failed to construct '"+
38
- c+"': The constructed element must not have any attributes.");if(null!==e.firstChild)throw Error("Failed to construct '"+c+"': The constructed element must not have any children.");if(null!==e.parentNode)throw Error("Failed to construct '"+c+"': The constructed element must not have a parent node.");if(e.ownerDocument!==b)throw Error("Failed to construct '"+c+"': The constructed element's owner document is incorrect.");if(e.localName!==c)throw Error("Failed to construct '"+c+"': The constructed element's local name is incorrect.");
39
- return e}catch(g){return R(g),b=null===f?n.call(b,c):p.call(b,f,c),Object.setPrototypeOf(b,HTMLUnknownElement.prototype),b.__CE_state=2,b.__CE_definition=void 0,W(a,b),b}b=null===f?n.call(b,c):p.call(b,f,c);W(a,b);return b}
40
- function R(a){var b=a.message,c=a.sourceURL||a.fileName||"",f=a.line||a.lineNumber||0,d=a.column||a.columnNumber||0,e=void 0;void 0===ErrorEvent.prototype.initErrorEvent?e=new ErrorEvent("error",{cancelable:!0,message:b,filename:c,lineno:f,colno:d,error:a}):(e=document.createEvent("ErrorEvent"),e.initErrorEvent("error",!1,!0,b,c,f),e.preventDefault=function(){Object.defineProperty(this,"defaultPrevented",{configurable:!0,get:function(){return!0}})});void 0===e.error&&Object.defineProperty(e,"error",
41
- {configurable:!0,enumerable:!0,get:function(){return a}});window.dispatchEvent(e);e.defaultPrevented||console.error(a)};var Da=new function(){};function Ea(a){window.HTMLElement=function(){function b(){var c=this.constructor;var f=document.__CE_registry.l.get(c);if(!f)throw Error("Failed to construct a custom element: The constructor was not registered with `customElements`.");var d=f.constructionStack;if(0===d.length)return d=n.call(document,f.localName),Object.setPrototypeOf(d,c.prototype),d.__CE_state=1,d.__CE_definition=f,W(a,d),d;var e=d.length-1,g=d[e];if(g===Da)throw Error("Failed to construct '"+f.localName+"': This element was already constructed.");
42
- d[e]=Da;Object.setPrototypeOf(g,c.prototype);W(a,g);return g}b.prototype=na.prototype;Object.defineProperty(b.prototype,"constructor",{writable:!0,configurable:!0,enumerable:!1,value:b});return b}()};function Z(a,b,c){function f(d){return function(e){for(var g=[],h=0;h<arguments.length;++h)g[h]=arguments[h];h=[];for(var k=[],l=0;l<g.length;l++){var m=g[l];m instanceof Element&&I(m)&&k.push(m);if(m instanceof DocumentFragment)for(m=m.firstChild;m;m=m.nextSibling)h.push(m);else h.push(m)}d.apply(this,g);for(g=0;g<k.length;g++)Y(a,k[g]);if(I(this))for(g=0;g<h.length;g++)k=h[g],k instanceof Element&&X(a,k)}}void 0!==c.prepend&&M(b,"prepend",f(c.prepend));void 0!==c.append&&M(b,"append",f(c.append))}
43
- ;function Fa(a){M(Document.prototype,"createElement",function(b){return Ca(a,this,b,null)});M(Document.prototype,"importNode",function(b,c){b=aa.call(this,b,!!c);this.__CE_registry?N(a,b):V(a,b);return b});M(Document.prototype,"createElementNS",function(b,c){return Ca(a,this,c,b)});Z(a,Document.prototype,{prepend:ba,append:ca})};function Ga(a){function b(c,f){Object.defineProperty(c,"textContent",{enumerable:f.enumerable,configurable:!0,get:f.get,set:function(d){if(this.nodeType===Node.TEXT_NODE)f.set.call(this,d);else{var e=void 0;if(this.firstChild){var g=this.childNodes,h=g.length;if(0<h&&I(this)){e=Array(h);for(var k=0;k<h;k++)e[k]=g[k]}}f.set.call(this,d);if(e)for(d=0;d<e.length;d++)Y(a,e[d])}}})}M(Node.prototype,"insertBefore",function(c,f){if(c instanceof DocumentFragment){var d=J(c);c=t.call(this,c,f);if(I(this))for(f=
44
- 0;f<d.length;f++)X(a,d[f]);return c}d=c instanceof Element&&I(c);f=t.call(this,c,f);d&&Y(a,c);I(this)&&X(a,c);return f});M(Node.prototype,"appendChild",function(c){if(c instanceof DocumentFragment){var f=J(c);c=r.call(this,c);if(I(this))for(var d=0;d<f.length;d++)X(a,f[d]);return c}f=c instanceof Element&&I(c);d=r.call(this,c);f&&Y(a,c);I(this)&&X(a,c);return d});M(Node.prototype,"cloneNode",function(c){c=q.call(this,!!c);this.ownerDocument.__CE_registry?N(a,c):V(a,c);return c});M(Node.prototype,
45
- "removeChild",function(c){var f=c instanceof Element&&I(c),d=u.call(this,c);f&&Y(a,c);return d});M(Node.prototype,"replaceChild",function(c,f){if(c instanceof DocumentFragment){var d=J(c);c=v.call(this,c,f);if(I(this))for(Y(a,f),f=0;f<d.length;f++)X(a,d[f]);return c}d=c instanceof Element&&I(c);var e=v.call(this,c,f),g=I(this);g&&Y(a,f);d&&Y(a,c);g&&X(a,c);return e});x&&x.get?b(Node.prototype,x):Aa(a,function(c){b(c,{enumerable:!0,configurable:!0,get:function(){for(var f=[],d=this.firstChild;d;d=
46
- d.nextSibling)d.nodeType!==Node.COMMENT_NODE&&f.push(d.textContent);return f.join("")},set:function(f){for(;this.firstChild;)u.call(this,this.firstChild);null!=f&&""!==f&&r.call(this,document.createTextNode(f))}})})};function Ha(a){function b(f){return function(d){for(var e=[],g=0;g<arguments.length;++g)e[g]=arguments[g];g=[];for(var h=[],k=0;k<e.length;k++){var l=e[k];l instanceof Element&&I(l)&&h.push(l);if(l instanceof DocumentFragment)for(l=l.firstChild;l;l=l.nextSibling)g.push(l);else g.push(l)}f.apply(this,e);for(e=0;e<h.length;e++)Y(a,h[e]);if(I(this))for(e=0;e<g.length;e++)h=g[e],h instanceof Element&&X(a,h)}}var c=Element.prototype;void 0!==ja&&M(c,"before",b(ja));void 0!==ka&&M(c,"after",b(ka));void 0!==
47
- la&&M(c,"replaceWith",function(f){for(var d=[],e=0;e<arguments.length;++e)d[e]=arguments[e];e=[];for(var g=[],h=0;h<d.length;h++){var k=d[h];k instanceof Element&&I(k)&&g.push(k);if(k instanceof DocumentFragment)for(k=k.firstChild;k;k=k.nextSibling)e.push(k);else e.push(k)}h=I(this);la.apply(this,d);for(d=0;d<g.length;d++)Y(a,g[d]);if(h)for(Y(a,this),d=0;d<e.length;d++)g=e[d],g instanceof Element&&X(a,g)});void 0!==ma&&M(c,"remove",function(){var f=I(this);ma.call(this);f&&Y(a,this)})};function Ia(a){function b(d,e){Object.defineProperty(d,"innerHTML",{enumerable:e.enumerable,configurable:!0,get:e.get,set:function(g){var h=this,k=void 0;I(this)&&(k=[],U(a,this,function(w){w!==h&&k.push(w)}));e.set.call(this,g);if(k)for(var l=0;l<k.length;l++){var m=k[l];1===m.__CE_state&&a.disconnectedCallback(m)}this.ownerDocument.__CE_registry?N(a,this):V(a,this);return g}})}function c(d,e){M(d,"insertAdjacentElement",function(g,h){var k=I(h);g=e.call(this,g,h);k&&Y(a,h);I(g)&&X(a,h);return g})}
48
- function f(d,e){function g(h,k){for(var l=[];h!==k;h=h.nextSibling)l.push(h);for(k=0;k<l.length;k++)N(a,l[k])}M(d,"insertAdjacentHTML",function(h,k){h=h.toLowerCase();if("beforebegin"===h){var l=this.previousSibling;e.call(this,h,k);g(l||this.parentNode.firstChild,this)}else if("afterbegin"===h)l=this.firstChild,e.call(this,h,k),g(this.firstChild,l);else if("beforeend"===h)l=this.lastChild,e.call(this,h,k),g(l||this.firstChild,null);else if("afterend"===h)l=this.nextSibling,e.call(this,h,k),g(this.nextSibling,
49
- l);else throw new SyntaxError("The value provided ("+String(h)+") is not one of 'beforebegin', 'afterbegin', 'beforeend', or 'afterend'.");})}y&&M(Element.prototype,"attachShadow",function(d){d=y.call(this,d);if(a.a&&!d.__CE_patched){d.__CE_patched=!0;for(var e=0;e<a.b.length;e++)a.b[e](d)}return this.__CE_shadowRoot=d});z&&z.get?b(Element.prototype,z):H&&H.get?b(HTMLElement.prototype,H):Ba(a,function(d){b(d,{enumerable:!0,configurable:!0,get:function(){return q.call(this,!0).innerHTML},set:function(e){var g=
50
- "template"===this.localName,h=g?this.content:this,k=p.call(document,this.namespaceURI,this.localName);for(k.innerHTML=e;0<h.childNodes.length;)u.call(h,h.childNodes[0]);for(e=g?k.content:k;0<e.childNodes.length;)r.call(h,e.childNodes[0])}})});M(Element.prototype,"setAttribute",function(d,e){if(1!==this.__CE_state)return B.call(this,d,e);var g=A.call(this,d);B.call(this,d,e);e=A.call(this,d);a.attributeChangedCallback(this,d,g,e,null)});M(Element.prototype,"setAttributeNS",function(d,e,g){if(1!==this.__CE_state)return E.call(this,
51
- d,e,g);var h=D.call(this,d,e);E.call(this,d,e,g);g=D.call(this,d,e);a.attributeChangedCallback(this,e,h,g,d)});M(Element.prototype,"removeAttribute",function(d){if(1!==this.__CE_state)return C.call(this,d);var e=A.call(this,d);C.call(this,d);null!==e&&a.attributeChangedCallback(this,d,e,null,null)});M(Element.prototype,"removeAttributeNS",function(d,e){if(1!==this.__CE_state)return F.call(this,d,e);var g=D.call(this,d,e);F.call(this,d,e);var h=D.call(this,d,e);g!==h&&a.attributeChangedCallback(this,
52
- e,g,h,d)});oa?c(HTMLElement.prototype,oa):G&&c(Element.prototype,G);pa?f(HTMLElement.prototype,pa):fa&&f(Element.prototype,fa);Z(a,Element.prototype,{prepend:ha,append:ia});Ha(a)};var T=window.customElements;function Ja(){var a=new S;Ea(a);Fa(a);Z(a,DocumentFragment.prototype,{prepend:da,append:ea});Ga(a);Ia(a);a=new O(a);document.__CE_registry=a;Object.defineProperty(window,"customElements",{configurable:!0,enumerable:!0,value:a})}T&&!T.forcePolyfill&&"function"==typeof T.define&&"function"==typeof T.get||Ja();window.__CE_installPolyfill=Ja;/*
53
-
54
- Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
55
- This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
56
- The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
57
- The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
58
- Code distributed by Google as part of the polymer project is also
59
- subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
60
- */
61
- }).call(this);
62
-
63
- //# sourceMappingURL=webcomponents-ce.js.map