@ui5/webcomponents-base 0.0.0-64a57f090 → 0.0.0-6827fdc09

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 (479) hide show
  1. package/CHANGELOG.md +1499 -0
  2. package/README.md +3 -13
  3. package/cypress/specs/Accessor.cy.tsx +79 -0
  4. package/cypress/specs/Boot.cy.tsx +19 -0
  5. package/cypress/specs/ConfigurationChange.cy.tsx +41 -0
  6. package/cypress/specs/ConfigurationScript.cy.tsx +133 -0
  7. package/cypress/specs/ConfigurationURL.cy.tsx +201 -0
  8. package/cypress/specs/CustomMount.cy.tsx +9 -0
  9. package/cypress/specs/CustomTheme.cy.tsx +36 -0
  10. package/cypress/specs/EventProvider.cy.tsx +59 -0
  11. package/cypress/specs/Events.cy.tsx +28 -0
  12. package/cypress/specs/SystemDOMElements.cy.tsx +8 -0
  13. package/cypress/specs/Theming.cy.tsx +74 -0
  14. package/cypress/specs/UI5ElementInvalidation.cy.tsx +252 -0
  15. package/cypress/specs/UI5ElementLifecycle.cy.tsx +82 -0
  16. package/cypress/specs/UI5ElementListenForChildPropChanges.cy.tsx +83 -0
  17. package/cypress/specs/UI5ElementMetadataExt.cy.tsx +42 -0
  18. package/cypress/specs/UI5ElementPropertyValidation.cy.tsx +16 -0
  19. package/cypress/specs/UI5ElementPropsAndAttrs.cy.tsx +113 -0
  20. package/cypress/specs/UI5ElementShadowDOM.cy.tsx +30 -0
  21. package/cypress/specs/UI5ElementSlots.cy.tsx +136 -0
  22. package/cypress/specs/WithComplexTemplate.cy.tsx +32 -0
  23. package/cypress/specs/i18n_texts.cy.tsx +129 -0
  24. package/cypress/specs/util/FocusableElements.cy.tsx +48 -0
  25. package/cypress/support/commands.ts +39 -0
  26. package/cypress/support/component-index.html +12 -0
  27. package/cypress/support/component.ts +17 -0
  28. package/cypress/tsconfig.json +21 -0
  29. package/cypress.config.js +3 -0
  30. package/dist/.tsbuildinfobuild +1 -0
  31. package/dist/AssetRegistry.d.ts +2 -2
  32. package/dist/AssetRegistry.js +2 -2
  33. package/dist/AssetRegistry.js.map +1 -1
  34. package/dist/Boot.d.ts +3 -2
  35. package/dist/Boot.js +11 -7
  36. package/dist/Boot.js.map +1 -1
  37. package/dist/CustomElementsRegistry.d.ts +2 -1
  38. package/dist/CustomElementsRegistry.js +5 -2
  39. package/dist/CustomElementsRegistry.js.map +1 -1
  40. package/dist/CustomElementsScope.d.ts +2 -2
  41. package/dist/CustomElementsScopeUtils.d.ts +3 -1
  42. package/dist/CustomElementsScopeUtils.js +8 -1
  43. package/dist/CustomElementsScopeUtils.js.map +1 -1
  44. package/dist/DOMObserver.js.map +1 -1
  45. package/dist/Device.d.ts +16 -2
  46. package/dist/Device.js +10 -14
  47. package/dist/Device.js.map +1 -1
  48. package/dist/EventProvider.js.map +1 -1
  49. package/dist/FontFace.js +6 -1
  50. package/dist/FontFace.js.map +1 -1
  51. package/dist/IgnoreCustomElements.d.ts +3 -5
  52. package/dist/IgnoreCustomElements.js +3 -5
  53. package/dist/IgnoreCustomElements.js.map +1 -1
  54. package/dist/InitialConfiguration.d.ts +9 -3
  55. package/dist/InitialConfiguration.js +26 -8
  56. package/dist/InitialConfiguration.js.map +1 -1
  57. package/dist/Keys.d.ts +4 -1
  58. package/dist/Keys.js +110 -106
  59. package/dist/Keys.js.map +1 -1
  60. package/dist/Location.d.ts +11 -0
  61. package/dist/Location.js +49 -0
  62. package/dist/Location.js.map +1 -0
  63. package/dist/ManagedStyles.d.ts +5 -6
  64. package/dist/ManagedStyles.js +45 -54
  65. package/dist/ManagedStyles.js.map +1 -1
  66. package/dist/MediaRange.d.ts +6 -12
  67. package/dist/MediaRange.js +21 -31
  68. package/dist/MediaRange.js.map +1 -1
  69. package/dist/PropertiesFileFormat.js.map +1 -1
  70. package/dist/Render.js.map +1 -1
  71. package/dist/RenderQueue.js.map +1 -1
  72. package/dist/Runtimes.js +11 -0
  73. package/dist/Runtimes.js.map +1 -1
  74. package/dist/SystemCSSVars.js.map +1 -1
  75. package/dist/UI5Element.d.ts +120 -76
  76. package/dist/UI5Element.js +388 -231
  77. package/dist/UI5Element.js.map +1 -1
  78. package/dist/UI5ElementMetadata.d.ts +36 -27
  79. package/dist/UI5ElementMetadata.js +27 -72
  80. package/dist/UI5ElementMetadata.js.map +1 -1
  81. package/dist/animations/AnimationQueue.js.map +1 -1
  82. package/dist/animations/animate.js.map +1 -1
  83. package/dist/animations/slideUp.js.map +1 -1
  84. package/dist/asset-registries/Icons.d.ts +1 -1
  85. package/dist/asset-registries/Icons.js +1 -1
  86. package/dist/asset-registries/Icons.js.map +1 -1
  87. package/dist/asset-registries/Illustrations.d.ts +1 -0
  88. package/dist/asset-registries/Illustrations.js +20 -28
  89. package/dist/asset-registries/Illustrations.js.map +1 -1
  90. package/dist/asset-registries/LocaleData.js +1 -1
  91. package/dist/asset-registries/LocaleData.js.map +1 -1
  92. package/dist/asset-registries/Themes.d.ts +5 -7
  93. package/dist/asset-registries/Themes.js +27 -12
  94. package/dist/asset-registries/Themes.js.map +1 -1
  95. package/dist/asset-registries/i18n.d.ts +2 -2
  96. package/dist/asset-registries/i18n.js +4 -3
  97. package/dist/asset-registries/i18n.js.map +1 -1
  98. package/dist/asset-registries/util/IconCollectionsAlias.js.map +1 -1
  99. package/dist/asset-registries/util/IconCollectionsByTheme.d.ts +1 -1
  100. package/dist/asset-registries/util/IconCollectionsByTheme.js +1 -1
  101. package/dist/asset-registries/util/IconCollectionsByTheme.js.map +1 -1
  102. package/dist/asset-registries/util/getIconCollectionByTheme.d.ts +3 -3
  103. package/dist/asset-registries/util/getIconCollectionByTheme.js +3 -3
  104. package/dist/asset-registries/util/getIconCollectionByTheme.js.map +1 -1
  105. package/dist/config/AnimationMode.js +6 -1
  106. package/dist/config/AnimationMode.js.map +1 -1
  107. package/dist/config/CalendarType.js +5 -0
  108. package/dist/config/CalendarType.js.map +1 -1
  109. package/dist/config/ConfigurationReset.d.ts +4 -0
  110. package/dist/config/ConfigurationReset.js +11 -0
  111. package/dist/config/ConfigurationReset.js.map +1 -0
  112. package/dist/config/Fonts.d.ts +16 -0
  113. package/dist/config/Fonts.js +30 -0
  114. package/dist/config/Fonts.js.map +1 -0
  115. package/dist/config/FormatSettings.js +4 -0
  116. package/dist/config/FormatSettings.js.map +1 -1
  117. package/dist/config/Icons.d.ts +8 -8
  118. package/dist/config/Icons.js +7 -7
  119. package/dist/config/Icons.js.map +1 -1
  120. package/dist/config/Language.d.ts +1 -1
  121. package/dist/config/Language.js +11 -3
  122. package/dist/config/Language.js.map +1 -1
  123. package/dist/config/NoConflict.js +4 -0
  124. package/dist/config/NoConflict.js.map +1 -1
  125. package/dist/config/Theme.d.ts +4 -3
  126. package/dist/config/Theme.js +18 -8
  127. package/dist/config/Theme.js.map +1 -1
  128. package/dist/config/ThemeRoot.d.ts +2 -4
  129. package/dist/config/ThemeRoot.js +6 -4
  130. package/dist/config/ThemeRoot.js.map +1 -1
  131. package/dist/config/Timezone.d.ts +1 -1
  132. package/dist/config/Timezone.js +5 -1
  133. package/dist/config/Timezone.js.map +1 -1
  134. package/dist/config/Tooltips.d.ts +19 -0
  135. package/dist/config/Tooltips.js +29 -0
  136. package/dist/config/Tooltips.js.map +1 -0
  137. package/dist/connectToComponent.js.map +1 -1
  138. package/dist/converters/DOMReference.d.ts +5 -0
  139. package/dist/converters/DOMReference.js +13 -0
  140. package/dist/converters/DOMReference.js.map +1 -0
  141. package/dist/css/FontFace.css +13 -1
  142. package/dist/css/SystemCSSVars.css +0 -8
  143. package/dist/decorators/bound.d.ts +1 -0
  144. package/dist/decorators/bound.js +34 -0
  145. package/dist/decorators/bound.js.map +1 -0
  146. package/dist/decorators/customElement.d.ts +43 -3
  147. package/dist/decorators/customElement.js +14 -6
  148. package/dist/decorators/customElement.js.map +1 -1
  149. package/dist/decorators/event-strict.d.ts +15 -0
  150. package/dist/decorators/event-strict.js +26 -0
  151. package/dist/decorators/event-strict.js.map +1 -0
  152. package/dist/decorators/event.d.ts +8 -2
  153. package/dist/decorators/event.js +3 -0
  154. package/dist/decorators/event.js.map +1 -1
  155. package/dist/decorators/i18n.d.ts +17 -0
  156. package/dist/decorators/i18n.js +32 -0
  157. package/dist/decorators/i18n.js.map +1 -0
  158. package/dist/decorators/property.d.ts +1 -1
  159. package/dist/decorators/property.js +1 -1
  160. package/dist/decorators/property.js.map +1 -1
  161. package/dist/decorators/query.d.ts +25 -0
  162. package/dist/decorators/query.js +32 -0
  163. package/dist/decorators/query.js.map +1 -0
  164. package/dist/decorators/queryAll.d.ts +27 -0
  165. package/dist/decorators/queryAll.js +34 -0
  166. package/dist/decorators/queryAll.js.map +1 -0
  167. package/dist/decorators/slot.d.ts +1 -1
  168. package/dist/decorators/slot.js.map +1 -1
  169. package/dist/decorators.d.ts +8 -0
  170. package/dist/decorators.js +9 -0
  171. package/dist/decorators.js.map +1 -0
  172. package/dist/delegate/ItemNavigation.d.ts +9 -8
  173. package/dist/delegate/ItemNavigation.js +11 -12
  174. package/dist/delegate/ItemNavigation.js.map +1 -1
  175. package/dist/delegate/ResizeHandler.d.ts +4 -6
  176. package/dist/delegate/ResizeHandler.js +4 -6
  177. package/dist/delegate/ResizeHandler.js.map +1 -1
  178. package/dist/delegate/ScrollEnablement.js +2 -2
  179. package/dist/delegate/ScrollEnablement.js.map +1 -1
  180. package/dist/features/F6Navigation.d.ts +4 -3
  181. package/dist/features/F6Navigation.js +41 -9
  182. package/dist/features/F6Navigation.js.map +1 -1
  183. package/dist/features/InputElementsFormSupport.d.ts +15 -0
  184. package/dist/features/InputElementsFormSupport.js +39 -0
  185. package/dist/features/InputElementsFormSupport.js.map +1 -0
  186. package/dist/features/LegacyDateFormats.js.map +1 -1
  187. package/dist/features/OpenUI5Enablement.d.ts +3 -3
  188. package/dist/features/OpenUI5Enablement.js.map +1 -1
  189. package/dist/features/OpenUI5Support.d.ts +1 -3
  190. package/dist/features/OpenUI5Support.js +11 -22
  191. package/dist/features/OpenUI5Support.js.map +1 -1
  192. package/dist/features/patchPatcher.d.ts +11 -0
  193. package/dist/features/patchPatcher.js +11 -0
  194. package/dist/features/patchPatcher.js.map +1 -0
  195. package/dist/features/patchPopup.d.ts +15 -0
  196. package/dist/features/patchPopup.js +70 -0
  197. package/dist/features/patchPopup.js.map +1 -0
  198. package/dist/generated/AssetParameters.d.ts +6 -0
  199. package/dist/generated/AssetParameters.js +3 -10
  200. package/dist/generated/AssetParameters.js.map +1 -0
  201. package/dist/generated/VersionInfo.d.ts +10 -0
  202. package/dist/generated/VersionInfo.js +9 -8
  203. package/dist/generated/VersionInfo.js.map +1 -0
  204. package/dist/generated/css/BusyIndicator.css.d.ts +2 -3
  205. package/dist/generated/css/BusyIndicator.css.js +1 -6
  206. package/dist/generated/css/BusyIndicator.css.js.map +1 -1
  207. package/dist/generated/css/FontFace.css.d.ts +2 -3
  208. package/dist/generated/css/FontFace.css.js +1 -6
  209. package/dist/generated/css/FontFace.css.js.map +1 -1
  210. package/dist/generated/css/OverrideFontFace.css.d.ts +2 -3
  211. package/dist/generated/css/OverrideFontFace.css.js +1 -6
  212. package/dist/generated/css/OverrideFontFace.css.js.map +1 -1
  213. package/dist/generated/css/SystemCSSVars.css.d.ts +2 -3
  214. package/dist/generated/css/SystemCSSVars.css.js +1 -6
  215. package/dist/generated/css/SystemCSSVars.css.js.map +1 -1
  216. package/dist/getSharedResource.js.map +1 -1
  217. package/dist/i18nBundle.d.ts +1 -3
  218. package/dist/i18nBundle.js +1 -4
  219. package/dist/i18nBundle.js.map +1 -1
  220. package/dist/index.d.ts +48 -0
  221. package/dist/index.js +88 -0
  222. package/dist/index.js.map +1 -0
  223. package/dist/jsx-dev-runtime.d.ts +4 -0
  224. package/dist/jsx-dev-runtime.js +43 -0
  225. package/dist/jsx-dev-runtime.js.map +1 -0
  226. package/dist/jsx-runtime.d.ts +50 -0
  227. package/dist/jsx-runtime.js +27 -0
  228. package/dist/jsx-runtime.js.map +1 -0
  229. package/dist/jsx-utils.d.ts +3 -0
  230. package/dist/jsx-utils.js +48 -0
  231. package/dist/jsx-utils.js.map +1 -0
  232. package/dist/locale/Locale.js.map +1 -1
  233. package/dist/locale/applyDirection.d.ts +3 -2
  234. package/dist/locale/applyDirection.js +3 -2
  235. package/dist/locale/applyDirection.js.map +1 -1
  236. package/dist/locale/getEffectiveDir.d.ts +1 -1
  237. package/dist/locale/getEffectiveDir.js +3 -19
  238. package/dist/locale/getEffectiveDir.js.map +1 -1
  239. package/dist/locale/getLocale.js.map +1 -1
  240. package/dist/locale/nextFallbackLocale.js +6 -2
  241. package/dist/locale/nextFallbackLocale.js.map +1 -1
  242. package/dist/locale/normalizeLocale.js.map +1 -1
  243. package/dist/renderer/JsxRenderer.d.ts +3 -0
  244. package/dist/renderer/JsxRenderer.js +16 -0
  245. package/dist/renderer/JsxRenderer.js.map +1 -0
  246. package/dist/renderer/LitRenderer.d.ts +3 -3
  247. package/dist/renderer/LitRenderer.js +5 -10
  248. package/dist/renderer/LitRenderer.js.map +1 -1
  249. package/dist/renderer/directives/style-map.d.ts +13 -0
  250. package/dist/renderer/directives/style-map.js +59 -59
  251. package/dist/renderer/directives/style-map.js.map +1 -0
  252. package/dist/renderer/executeTemplate.d.ts +3 -4
  253. package/dist/renderer/executeTemplate.js +1 -19
  254. package/dist/renderer/executeTemplate.js.map +1 -1
  255. package/dist/sap/base/Log.js +698 -188
  256. package/dist/sap/base/assert.js +28 -1
  257. package/dist/sap/base/config/MemoryConfigurationProvider.js +20 -0
  258. package/dist/sap/base/security/URLListValidator.js +253 -6
  259. package/dist/sap/base/security/encodeCSS.js +34 -8
  260. package/dist/sap/base/security/encodeXML.js +47 -17
  261. package/dist/sap/base/security/sanitizeHTML.js +35 -13
  262. package/dist/sap/base/strings/toHex.js +27 -2
  263. package/dist/sap/base/util/now.js +24 -3
  264. package/dist/sap/base/util/uid.js +27 -0
  265. package/dist/sap/ui/thirdparty/caja-html-sanitizer.js +2 -2
  266. package/dist/ssr-dom-shim.d.ts +1 -0
  267. package/dist/ssr-dom-shim.js +62 -0
  268. package/dist/ssr-dom-shim.js.map +1 -0
  269. package/dist/ssr-dom.d.ts +1 -0
  270. package/dist/ssr-dom.js +3 -0
  271. package/dist/ssr-dom.js.map +1 -0
  272. package/dist/theming/CustomStyle.js.map +1 -1
  273. package/dist/theming/applyTheme.js +5 -5
  274. package/dist/theming/applyTheme.js.map +1 -1
  275. package/dist/theming/getConstructableStyle.d.ts +2 -2
  276. package/dist/theming/getConstructableStyle.js +3 -3
  277. package/dist/theming/getConstructableStyle.js.map +1 -1
  278. package/dist/theming/getEffectiveStyle.d.ts +1 -1
  279. package/dist/theming/getEffectiveStyle.js +5 -12
  280. package/dist/theming/getEffectiveStyle.js.map +1 -1
  281. package/dist/theming/getStylesString.js +2 -4
  282. package/dist/theming/getStylesString.js.map +1 -1
  283. package/dist/theming/getThemeDesignerTheme.js +2 -1
  284. package/dist/theming/getThemeDesignerTheme.js.map +1 -1
  285. package/dist/thirdparty/_merge.js.map +1 -1
  286. package/dist/thirdparty/isPlainObject.js.map +1 -1
  287. package/dist/thirdparty/preact/jsx.d.ts +2616 -0
  288. package/dist/thirdparty/preact/jsxRuntime.module.d.ts +62 -0
  289. package/dist/thirdparty/preact/jsxRuntime.module.js +1 -0
  290. package/dist/thirdparty/preact/preact.module.d.ts +398 -0
  291. package/dist/thirdparty/preact/preact.module.js +1 -0
  292. package/dist/types/AnimationMode.d.ts +0 -8
  293. package/dist/types/AnimationMode.js +0 -8
  294. package/dist/types/AnimationMode.js.map +1 -1
  295. package/dist/types/CalendarType.d.ts +0 -9
  296. package/dist/types/CalendarType.js +0 -9
  297. package/dist/types/CalendarType.js.map +1 -1
  298. package/dist/types/InvisibleMessageMode.d.ts +5 -10
  299. package/dist/types/InvisibleMessageMode.js +4 -11
  300. package/dist/types/InvisibleMessageMode.js.map +1 -1
  301. package/dist/types/ItemNavigationBehavior.d.ts +0 -6
  302. package/dist/types/ItemNavigationBehavior.js +0 -6
  303. package/dist/types/ItemNavigationBehavior.js.map +1 -1
  304. package/dist/types/MovePlacement.d.ts +20 -0
  305. package/dist/types/MovePlacement.js +22 -0
  306. package/dist/types/MovePlacement.js.map +1 -0
  307. package/dist/types/NavigationMode.d.ts +0 -8
  308. package/dist/types/NavigationMode.js +0 -8
  309. package/dist/types/NavigationMode.js.map +1 -1
  310. package/dist/types/Orientation.d.ts +16 -0
  311. package/dist/types/Orientation.js +18 -0
  312. package/dist/types/Orientation.js.map +1 -0
  313. package/dist/types/SortOrder.d.ts +24 -0
  314. package/dist/types/SortOrder.js +26 -0
  315. package/dist/types/SortOrder.js.map +1 -0
  316. package/dist/types/ValueState.d.ts +3 -17
  317. package/dist/types/ValueState.js +3 -17
  318. package/dist/types/ValueState.js.map +1 -1
  319. package/dist/types.d.ts +37 -14
  320. package/dist/types.js.map +1 -1
  321. package/dist/updateShadowRoot.d.ts +1 -2
  322. package/dist/updateShadowRoot.js +4 -29
  323. package/dist/updateShadowRoot.js.map +1 -1
  324. package/dist/util/{AriaLabelHelper.d.ts → AccessibilityTextsHelper.d.ts} +4 -2
  325. package/dist/util/{AriaLabelHelper.js → AccessibilityTextsHelper.js} +36 -8
  326. package/dist/util/AccessibilityTextsHelper.js.map +1 -0
  327. package/dist/util/Caret.js.map +1 -1
  328. package/dist/util/ColorConversion.d.ts +2 -1
  329. package/dist/util/ColorConversion.js +233 -216
  330. package/dist/util/ColorConversion.js.map +1 -1
  331. package/dist/util/FetchHelper.js.map +1 -1
  332. package/dist/util/FocusableElements.js +40 -12
  333. package/dist/util/FocusableElements.js.map +1 -1
  334. package/dist/util/HTMLSanitizer.d.ts +2 -0
  335. package/dist/util/HTMLSanitizer.js +2 -2
  336. package/dist/util/HTMLSanitizer.js.map +1 -1
  337. package/dist/util/InvisibleMessage.d.ts +1 -1
  338. package/dist/util/InvisibleMessage.js +2 -2
  339. package/dist/util/InvisibleMessage.js.map +1 -1
  340. package/dist/util/PopupUtils.d.ts +1 -3
  341. package/dist/util/PopupUtils.js +1 -15
  342. package/dist/util/PopupUtils.js.map +1 -1
  343. package/dist/util/SelectionAssistant.d.ts +12 -0
  344. package/dist/util/SelectionAssistant.js +79 -0
  345. package/dist/util/SelectionAssistant.js.map +1 -0
  346. package/dist/util/SlotsHelper.js.map +1 -1
  347. package/dist/util/StringHelper.d.ts +3 -1
  348. package/dist/util/StringHelper.js +15 -1
  349. package/dist/util/StringHelper.js.map +1 -1
  350. package/dist/util/TabbableElements.js +3 -10
  351. package/dist/util/TabbableElements.js.map +1 -1
  352. package/dist/util/arraysAreEqual.js.map +1 -1
  353. package/dist/util/clamp.js +2 -1
  354. package/dist/util/clamp.js.map +1 -1
  355. package/dist/util/createLinkInHead.d.ts +1 -1
  356. package/dist/util/createLinkInHead.js +1 -1
  357. package/dist/util/createLinkInHead.js.map +1 -1
  358. package/dist/util/debounce.js.map +1 -1
  359. package/dist/util/detectNavigatorLanguage.d.ts +2 -2
  360. package/dist/util/detectNavigatorLanguage.js +6 -1
  361. package/dist/util/detectNavigatorLanguage.js.map +1 -1
  362. package/dist/util/dragAndDrop/DragRegistry.d.ts +33 -0
  363. package/dist/util/dragAndDrop/DragRegistry.js +66 -0
  364. package/dist/util/dragAndDrop/DragRegistry.js.map +1 -0
  365. package/dist/util/dragAndDrop/findClosestPosition.d.ts +12 -0
  366. package/dist/util/dragAndDrop/findClosestPosition.js +106 -0
  367. package/dist/util/dragAndDrop/findClosestPosition.js.map +1 -0
  368. package/dist/util/dragAndDrop/handleDragOver.d.ts +16 -0
  369. package/dist/util/dragAndDrop/handleDragOver.js +42 -0
  370. package/dist/util/dragAndDrop/handleDragOver.js.map +1 -0
  371. package/dist/util/dragAndDrop/handleDrop.d.ts +5 -0
  372. package/dist/util/dragAndDrop/handleDrop.js +22 -0
  373. package/dist/util/dragAndDrop/handleDrop.js.map +1 -0
  374. package/dist/util/dragAndDrop/longDragOverHandler.d.ts +2 -0
  375. package/dist/util/dragAndDrop/longDragOverHandler.js +25 -0
  376. package/dist/util/dragAndDrop/longDragOverHandler.js.map +1 -0
  377. package/dist/util/fixSafariActiveState.d.ts +2 -0
  378. package/dist/util/fixSafariActiveState.js +11 -0
  379. package/dist/util/fixSafariActiveState.js.map +1 -0
  380. package/dist/util/formatMessage.js.map +1 -1
  381. package/dist/util/generateHighlightedMarkup.js.map +1 -1
  382. package/dist/util/getActiveElement.js.map +1 -1
  383. package/dist/util/getClassCopy.d.ts +144 -103
  384. package/dist/util/getDesigntimePropertyAsArray.d.ts +2 -2
  385. package/dist/util/getDesigntimePropertyAsArray.js +2 -1
  386. package/dist/util/getDesigntimePropertyAsArray.js.map +1 -1
  387. package/dist/util/getEffectiveScrollbarStyle.d.ts +1 -1
  388. package/dist/util/getEffectiveScrollbarStyle.js +31 -1
  389. package/dist/util/getEffectiveScrollbarStyle.js.map +1 -1
  390. package/dist/util/getFastNavigationGroups.js +6 -1
  391. package/dist/util/getFastNavigationGroups.js.map +1 -1
  392. package/dist/util/getFileExtension.js.map +1 -1
  393. package/dist/util/getNormalizedTarget.js.map +1 -1
  394. package/dist/util/getSingletonElementInstance.js.map +1 -1
  395. package/dist/util/hash2str.d.ts +1 -0
  396. package/dist/util/hash2str.js +14 -0
  397. package/dist/util/hash2str.js.map +1 -0
  398. package/dist/util/isElementClickable.js.map +1 -1
  399. package/dist/util/isElementHidden.js.map +1 -1
  400. package/dist/util/isElementTabbable.js +2 -2
  401. package/dist/util/isElementTabbable.js.map +1 -1
  402. package/dist/util/isValidPropertyName.js.map +1 -1
  403. package/dist/util/throttle.d.ts +2 -0
  404. package/dist/util/throttle.js +20 -0
  405. package/dist/util/throttle.js.map +1 -0
  406. package/dist/util/toLowercaseEnumValue.d.ts +3 -0
  407. package/dist/util/toLowercaseEnumValue.js +4 -0
  408. package/dist/util/toLowercaseEnumValue.js.map +1 -0
  409. package/dist/util/whenDOMReady.js.map +1 -1
  410. package/dist/validateThemeRoot.js +3 -2
  411. package/dist/validateThemeRoot.js.map +1 -1
  412. package/package-scripts.cjs +26 -23
  413. package/package.json +37 -11
  414. package/src/css/FontFace.css +13 -1
  415. package/src/css/SystemCSSVars.css +0 -8
  416. package/src/thirdparty/preact/jsxRuntime.module.js +1 -0
  417. package/src/thirdparty/preact/preact.module.js +1 -0
  418. package/src/thirdparty/preact/version.txt +1 -0
  419. package/tsconfig.json +18 -13
  420. package/.eslintignore +0 -16
  421. package/.eslintrc.cjs +0 -3
  422. package/bundle.esm.js +0 -67
  423. package/config/wdio.conf.cjs +0 -400
  424. package/dist/CSP.d.ts +0 -30
  425. package/dist/CSP.js +0 -51
  426. package/dist/CSP.js.map +0 -1
  427. package/dist/MarkedEvents.d.ts +0 -9
  428. package/dist/MarkedEvents.js +0 -15
  429. package/dist/MarkedEvents.js.map +0 -1
  430. package/dist/StaticArea.d.ts +0 -3
  431. package/dist/StaticArea.js +0 -7
  432. package/dist/StaticArea.js.map +0 -1
  433. package/dist/StaticAreaItem.d.ts +0 -37
  434. package/dist/StaticAreaItem.js +0 -102
  435. package/dist/StaticAreaItem.js.map +0 -1
  436. package/dist/api.json +0 -1
  437. package/dist/assets/Boot-34b7cea0.css +0 -1
  438. package/dist/assets/Boot-c953ce57.js +0 -9
  439. package/dist/assets/bundle.esm-a0b43d30.js +0 -50
  440. package/dist/config/RTL.d.ts +0 -7
  441. package/dist/config/RTL.js +0 -37
  442. package/dist/config/RTL.js.map +0 -1
  443. package/dist/generated/templates/elements/WithComplexTemplateTemplate.lit.d.ts +0 -4
  444. package/dist/generated/templates/elements/WithComplexTemplateTemplate.lit.js +0 -9
  445. package/dist/generated/templates/elements/WithComplexTemplateTemplate.lit.js.map +0 -1
  446. package/dist/theming/getEffectiveLinksHrefs.d.ts +0 -3
  447. package/dist/theming/getEffectiveLinksHrefs.js +0 -17
  448. package/dist/theming/getEffectiveLinksHrefs.js.map +0 -1
  449. package/dist/theming/preloadLinks.d.ts +0 -3
  450. package/dist/theming/preloadLinks.js +0 -19
  451. package/dist/theming/preloadLinks.js.map +0 -1
  452. package/dist/types/CSSColor.d.ts +0 -15
  453. package/dist/types/CSSColor.js +0 -18
  454. package/dist/types/CSSColor.js.map +0 -1
  455. package/dist/types/CSSSize.d.ts +0 -15
  456. package/dist/types/CSSSize.js +0 -18
  457. package/dist/types/CSSSize.js.map +0 -1
  458. package/dist/types/DOMReference.d.ts +0 -17
  459. package/dist/types/DOMReference.js +0 -25
  460. package/dist/types/DOMReference.js.map +0 -1
  461. package/dist/types/DataType.d.ts +0 -25
  462. package/dist/types/DataType.js +0 -44
  463. package/dist/types/DataType.js.map +0 -1
  464. package/dist/types/Float.d.ts +0 -17
  465. package/dist/types/Float.js +0 -21
  466. package/dist/types/Float.js.map +0 -1
  467. package/dist/types/Integer.d.ts +0 -17
  468. package/dist/types/Integer.js +0 -21
  469. package/dist/types/Integer.js.map +0 -1
  470. package/dist/util/AriaLabelHelper.js.map +0 -1
  471. package/dist/util/createStyleInHead.d.ts +0 -8
  472. package/dist/util/createStyleInHead.js +0 -18
  473. package/dist/util/createStyleInHead.js.map +0 -1
  474. package/index.js +0 -230
  475. package/lib/generate-asset-parameters/index.js +0 -27
  476. package/lib/generate-styles/index.js +0 -31
  477. package/lib/generate-version-info/index.js +0 -32
  478. package/src/renderer/directives/style-map.js +0 -72
  479. package/used-modules.txt +0 -10
@@ -0,0 +1,62 @@
1
+ // Intentionally not using a relative path to take advantage of
2
+ // the TS version resolution mechanism
3
+ export { Fragment } from './preact.module.js';
4
+ import {
5
+ ComponentType,
6
+ ComponentChild,
7
+ ComponentChildren,
8
+ VNode,
9
+ Attributes
10
+ } from './preact.module.js';
11
+ import { JSXInternal } from './jsx.js';
12
+
13
+ export function jsx(
14
+ type: string,
15
+ props: JSXInternal.HTMLAttributes &
16
+ JSXInternal.SVGAttributes &
17
+ Record<string, any> & { children?: ComponentChild },
18
+ key?: string
19
+ ): VNode<any>;
20
+ export function jsx<P>(
21
+ type: ComponentType<P>,
22
+ props: Attributes & P & { children?: ComponentChild },
23
+ key?: string
24
+ ): VNode<any>;
25
+
26
+ export function jsxs(
27
+ type: string,
28
+ props: JSXInternal.HTMLAttributes &
29
+ JSXInternal.SVGAttributes &
30
+ Record<string, any> & { children?: ComponentChild[] },
31
+ key?: string
32
+ ): VNode<any>;
33
+ export function jsxs<P>(
34
+ type: ComponentType<P>,
35
+ props: Attributes & P & { children?: ComponentChild[] },
36
+ key?: string
37
+ ): VNode<any>;
38
+
39
+ export function jsxDEV(
40
+ type: string,
41
+ props: JSXInternal.HTMLAttributes &
42
+ JSXInternal.SVGAttributes &
43
+ Record<string, any> & { children?: ComponentChildren },
44
+ key?: string
45
+ ): VNode<any>;
46
+ export function jsxDEV<P>(
47
+ type: ComponentType<P>,
48
+ props: Attributes & P & { children?: ComponentChildren },
49
+ key?: string
50
+ ): VNode<any>;
51
+
52
+ // These are not expected to be used manually, but by a JSX transform
53
+ export function jsxTemplate(
54
+ template: string[],
55
+ ...expressions: any[]
56
+ ): VNode<any>;
57
+ export function jsxAttr(name: string, value: any): string | null;
58
+ export function jsxEscape<T>(
59
+ value: T
60
+ ): string | null | VNode<any> | Array<string | null | VNode>;
61
+
62
+ export { JSXInternal as JSX };
@@ -0,0 +1 @@
1
+ import{options as r,Fragment as e}from"./preact.module.js";export{Fragment}from"./preact.module.js";var t=/["&<]/;function n(r){if(0===r.length||!1===t.test(r))return r;for(var e=0,n=0,o="",f="";n<r.length;n++){switch(r.charCodeAt(n)){case 34:f="&quot;";break;case 38:f="&amp;";break;case 60:f="&lt;";break;default:continue}n!==e&&(o+=r.slice(e,n)),o+=f,e=n+1}return n!==e&&(o+=r.slice(e,n)),o}var o=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,f=0,i=Array.isArray;function u(e,t,n,o,i,u){t||(t={});var a,c,l=t;"ref"in t&&(a=t.ref,delete t.ref);var p={type:e,props:l,key:n,ref:a,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:--f,__i:-1,__u:0,__source:i,__self:u};if("function"==typeof e&&(a=e.defaultProps))for(c in a)void 0===l[c]&&(l[c]=a[c]);return r.vnode&&r.vnode(p),p}function a(r){var t=u(e,{tpl:r,exprs:[].slice.call(arguments,1)});return t.key=t.__v,t}var c={},l=/[A-Z]/g;function p(e,t){if(r.attr){var f=r.attr(e,t);if("string"==typeof f)return f}if("ref"===e||"key"===e)return"";if("style"===e&&"object"==typeof t){var i="";for(var u in t){var a=t[u];if(null!=a&&""!==a){var p="-"==u[0]?u:c[u]||(c[u]=u.replace(l,"-$&").toLowerCase()),s=";";"number"!=typeof a||p.startsWith("--")||o.test(p)||(s="px;"),i=i+p+":"+a+s}}return e+'="'+i+'"'}return null==t||!1===t||"function"==typeof t||"object"==typeof t?"":!0===t?e:e+'="'+n(t)+'"'}function s(r){if(null==r||"boolean"==typeof r||"function"==typeof r)return null;if("object"==typeof r){if(void 0===r.constructor)return r;if(i(r)){for(var e=0;e<r.length;e++)r[e]=s(r[e]);return r}}return n(""+r)}export{u as jsx,p as jsxAttr,u as jsxDEV,s as jsxEscape,a as jsxTemplate,u as jsxs};
@@ -0,0 +1,398 @@
1
+ export as namespace preact;
2
+
3
+ import { JSXInternal } from './jsx';
4
+
5
+ export import JSX = JSXInternal;
6
+
7
+ //
8
+ // Preact Virtual DOM
9
+ // -----------------------------------
10
+
11
+ export interface VNode<P = {}> {
12
+ type: ComponentType<P> | string;
13
+ props: P & { children: ComponentChildren };
14
+ key: Key;
15
+ /**
16
+ * ref is not guaranteed by React.ReactElement, for compatibility reasons
17
+ * with popular react libs we define it as optional too
18
+ */
19
+ ref?: Ref<any> | null;
20
+ /**
21
+ * The time this `vnode` started rendering. Will only be set when
22
+ * the devtools are attached.
23
+ * Default value: `0`
24
+ */
25
+ startTime?: number;
26
+ /**
27
+ * The time that the rendering of this `vnode` was completed. Will only be
28
+ * set when the devtools are attached.
29
+ * Default value: `-1`
30
+ */
31
+ endTime?: number;
32
+ }
33
+
34
+ //
35
+ // Preact Component interface
36
+ // -----------------------------------
37
+
38
+ export type Key = string | number | any;
39
+
40
+ export type RefObject<T> = { current: T | null };
41
+ export type RefCallback<T> = (instance: T | null) => void;
42
+ export type Ref<T> = RefObject<T> | RefCallback<T> | null;
43
+
44
+ export type ComponentChild =
45
+ | VNode<any>
46
+ | object
47
+ | string
48
+ | number
49
+ | bigint
50
+ | boolean
51
+ | null
52
+ | undefined;
53
+ export type ComponentChildren = ComponentChild[] | ComponentChild;
54
+
55
+ export interface Attributes {
56
+ key?: Key | undefined;
57
+ jsx?: boolean | undefined;
58
+ }
59
+
60
+ export interface ClassAttributes<T> extends Attributes {
61
+ ref?: Ref<T>;
62
+ }
63
+
64
+ export interface PreactDOMAttributes {
65
+ children?: ComponentChildren;
66
+ dangerouslySetInnerHTML?: {
67
+ __html: string;
68
+ };
69
+ }
70
+
71
+ export interface ErrorInfo {
72
+ componentStack?: string;
73
+ }
74
+
75
+ export type RenderableProps<P, RefType = any> = P &
76
+ Readonly<Attributes & { children?: ComponentChildren; ref?: Ref<RefType> }>;
77
+
78
+ export type ComponentType<P = {}> = ComponentClass<P> | FunctionComponent<P>;
79
+ export type ComponentFactory<P = {}> = ComponentType<P>;
80
+
81
+ export type ComponentProps<
82
+ C extends ComponentType<any> | keyof JSXInternal.IntrinsicElements
83
+ > = C extends ComponentType<infer P>
84
+ ? P
85
+ : C extends keyof JSXInternal.IntrinsicElements
86
+ ? JSXInternal.IntrinsicElements[C]
87
+ : never;
88
+
89
+ export interface FunctionComponent<P = {}> {
90
+ (props: RenderableProps<P>, context?: any): ComponentChildren;
91
+ displayName?: string;
92
+ defaultProps?: Partial<P> | undefined;
93
+ }
94
+ export interface FunctionalComponent<P = {}> extends FunctionComponent<P> {}
95
+
96
+ export interface ComponentClass<P = {}, S = {}> {
97
+ new (props: P, context?: any): Component<P, S>;
98
+ displayName?: string;
99
+ defaultProps?: Partial<P>;
100
+ contextType?: Context<any>;
101
+ getDerivedStateFromProps?(
102
+ props: Readonly<P>,
103
+ state: Readonly<S>
104
+ ): Partial<S> | null;
105
+ getDerivedStateFromError?(error: any): Partial<S> | null;
106
+ }
107
+ export interface ComponentConstructor<P = {}, S = {}>
108
+ extends ComponentClass<P, S> {}
109
+
110
+ // Type alias for a component instance considered generally, whether stateless or stateful.
111
+ export type AnyComponent<P = {}, S = {}> =
112
+ | FunctionComponent<P>
113
+ | ComponentConstructor<P, S>;
114
+
115
+ export interface Component<P = {}, S = {}> {
116
+ componentWillMount?(): void;
117
+ componentDidMount?(): void;
118
+ componentWillUnmount?(): void;
119
+ getChildContext?(): object;
120
+ componentWillReceiveProps?(nextProps: Readonly<P>, nextContext: any): void;
121
+ shouldComponentUpdate?(
122
+ nextProps: Readonly<P>,
123
+ nextState: Readonly<S>,
124
+ nextContext: any
125
+ ): boolean;
126
+ componentWillUpdate?(
127
+ nextProps: Readonly<P>,
128
+ nextState: Readonly<S>,
129
+ nextContext: any
130
+ ): void;
131
+ getSnapshotBeforeUpdate?(oldProps: Readonly<P>, oldState: Readonly<S>): any;
132
+ componentDidUpdate?(
133
+ previousProps: Readonly<P>,
134
+ previousState: Readonly<S>,
135
+ snapshot: any
136
+ ): void;
137
+ componentDidCatch?(error: any, errorInfo: ErrorInfo): void;
138
+ }
139
+
140
+ export abstract class Component<P, S> {
141
+ constructor(props?: P, context?: any);
142
+
143
+ static displayName?: string;
144
+ static defaultProps?: any;
145
+ static contextType?: Context<any>;
146
+
147
+ // Static members cannot reference class type parameters. This is not
148
+ // supported in TypeScript. Reusing the same type arguments from `Component`
149
+ // will lead to an impossible state where one cannot satisfy the type
150
+ // constraint under no circumstances, see #1356.In general type arguments
151
+ // seem to be a bit buggy and not supported well at the time of this
152
+ // writing with TS 3.3.3333.
153
+ static getDerivedStateFromProps?(
154
+ props: Readonly<object>,
155
+ state: Readonly<object>
156
+ ): object | null;
157
+ static getDerivedStateFromError?(error: any): object | null;
158
+
159
+ state: Readonly<S>;
160
+ props: RenderableProps<P>;
161
+ context: any;
162
+ base?: Element | Text;
163
+
164
+ // From https://github.com/DefinitelyTyped/DefinitelyTyped/blob/e836acc75a78cf0655b5dfdbe81d69fdd4d8a252/types/react/index.d.ts#L402
165
+ // // We MUST keep setState() as a unified signature because it allows proper checking of the method return type.
166
+ // // See: https://github.com/DefinitelyTyped/DefinitelyTyped/issues/18365#issuecomment-351013257
167
+ setState<K extends keyof S>(
168
+ state:
169
+ | ((
170
+ prevState: Readonly<S>,
171
+ props: Readonly<P>
172
+ ) => Pick<S, K> | Partial<S> | null)
173
+ | (Pick<S, K> | Partial<S> | null),
174
+ callback?: () => void
175
+ ): void;
176
+
177
+ forceUpdate(callback?: () => void): void;
178
+
179
+ abstract render(
180
+ props?: RenderableProps<P>,
181
+ state?: Readonly<S>,
182
+ context?: any
183
+ ): ComponentChildren;
184
+ }
185
+
186
+ //
187
+ // Preact createElement
188
+ // -----------------------------------
189
+
190
+ export function createElement(
191
+ type: 'input',
192
+ props:
193
+ | (JSXInternal.DOMAttributes<HTMLInputElement> &
194
+ ClassAttributes<HTMLInputElement>)
195
+ | null,
196
+ ...children: ComponentChildren[]
197
+ ): VNode<
198
+ JSXInternal.DOMAttributes<HTMLInputElement> &
199
+ ClassAttributes<HTMLInputElement>
200
+ >;
201
+ export function createElement<
202
+ P extends JSXInternal.HTMLAttributes<T>,
203
+ T extends HTMLElement
204
+ >(
205
+ type: keyof JSXInternal.IntrinsicElements,
206
+ props: (ClassAttributes<T> & P) | null,
207
+ ...children: ComponentChildren[]
208
+ ): VNode<ClassAttributes<T> & P>;
209
+ export function createElement<
210
+ P extends JSXInternal.SVGAttributes<T>,
211
+ T extends HTMLElement
212
+ >(
213
+ type: keyof JSXInternal.IntrinsicSVGElements,
214
+ props: (ClassAttributes<T> & P) | null,
215
+ ...children: ComponentChildren[]
216
+ ): VNode<ClassAttributes<T> & P>;
217
+ export function createElement<T extends HTMLElement>(
218
+ type: string,
219
+ props:
220
+ | (ClassAttributes<T> &
221
+ JSXInternal.HTMLAttributes &
222
+ JSXInternal.SVGAttributes)
223
+ | null,
224
+ ...children: ComponentChildren[]
225
+ ): VNode<
226
+ ClassAttributes<T> & JSXInternal.HTMLAttributes & JSXInternal.SVGAttributes
227
+ >;
228
+ export function createElement<P>(
229
+ type: ComponentType<P> | string,
230
+ props: (Attributes & P) | null,
231
+ ...children: ComponentChildren[]
232
+ ): VNode<P>;
233
+ export namespace createElement {
234
+ export import JSX = JSXInternal;
235
+ }
236
+
237
+ export function h(
238
+ type: 'input',
239
+ props:
240
+ | (JSXInternal.DOMAttributes<HTMLInputElement> &
241
+ ClassAttributes<HTMLInputElement>)
242
+ | null,
243
+ ...children: ComponentChildren[]
244
+ ): VNode<
245
+ JSXInternal.DOMAttributes<HTMLInputElement> &
246
+ ClassAttributes<HTMLInputElement>
247
+ >;
248
+ export function h<
249
+ P extends JSXInternal.HTMLAttributes<T>,
250
+ T extends HTMLElement
251
+ >(
252
+ type: keyof JSXInternal.IntrinsicElements,
253
+ props: (ClassAttributes<T> & P) | null,
254
+ ...children: ComponentChildren[]
255
+ ): VNode<ClassAttributes<T> & P>;
256
+ export function h<
257
+ P extends JSXInternal.SVGAttributes<T>,
258
+ T extends HTMLElement
259
+ >(
260
+ type: keyof JSXInternal.IntrinsicSVGElements,
261
+ props: (ClassAttributes<T> & P) | null,
262
+ ...children: ComponentChildren[]
263
+ ): VNode<ClassAttributes<T> & P>;
264
+ export function h<T extends HTMLElement>(
265
+ type: string,
266
+ props:
267
+ | (ClassAttributes<T> &
268
+ JSXInternal.HTMLAttributes &
269
+ JSXInternal.SVGAttributes)
270
+ | null,
271
+ ...children: ComponentChildren[]
272
+ ): VNode<
273
+ | (ClassAttributes<T> &
274
+ JSXInternal.HTMLAttributes &
275
+ JSXInternal.SVGAttributes)
276
+ | null
277
+ >;
278
+ export function h<P>(
279
+ type: ComponentType<P> | string,
280
+ props: (Attributes & P) | null,
281
+ ...children: ComponentChildren[]
282
+ ): VNode<Attributes & P>;
283
+ export namespace h {
284
+ export import JSX = JSXInternal;
285
+ }
286
+
287
+ //
288
+ // Preact render
289
+ // -----------------------------------
290
+ interface ContainerNode {
291
+ readonly nodeType: number;
292
+ readonly parentNode: ContainerNode | null;
293
+ readonly firstChild: ContainerNode | null;
294
+ readonly childNodes: ArrayLike<ContainerNode>;
295
+
296
+ contains(other: ContainerNode | null): boolean;
297
+ insertBefore(node: ContainerNode, child: ContainerNode | null): ContainerNode;
298
+ appendChild(node: ContainerNode): ContainerNode;
299
+ removeChild(child: ContainerNode): ContainerNode;
300
+ }
301
+
302
+ export function render(vnode: ComponentChild, parent: ContainerNode): void;
303
+ /**
304
+ * @deprecated Will be removed in v11.
305
+ *
306
+ * Replacement Preact 10+ implementation can be found here: https://gist.github.com/developit/f4c67a2ede71dc2fab7f357f39cff28c
307
+ */
308
+ export function render(
309
+ vnode: ComponentChild,
310
+ parent: ContainerNode,
311
+ replaceNode?: Element | Text
312
+ ): void;
313
+ export function hydrate(vnode: ComponentChild, parent: ContainerNode): void;
314
+ export function cloneElement(
315
+ vnode: VNode<any>,
316
+ props?: any,
317
+ ...children: ComponentChildren[]
318
+ ): VNode<any>;
319
+ export function cloneElement<P>(
320
+ vnode: VNode<P>,
321
+ props?: any,
322
+ ...children: ComponentChildren[]
323
+ ): VNode<P>;
324
+
325
+ //
326
+ // Preact Built-in Components
327
+ // -----------------------------------
328
+
329
+ // TODO: Revisit what the public type of this is...
330
+ export let Fragment: FunctionComponent<{}>;
331
+
332
+ //
333
+ // Preact options
334
+ // -----------------------------------
335
+
336
+ /**
337
+ * Global options for preact
338
+ */
339
+ export interface Options {
340
+ /** Attach a hook that is invoked whenever a VNode is created. */
341
+ vnode?(vnode: VNode): void;
342
+ /** Attach a hook that is invoked immediately before a vnode is unmounted. */
343
+ unmount?(vnode: VNode): void;
344
+ /** Attach a hook that is invoked after a vnode has rendered. */
345
+ diffed?(vnode: VNode): void;
346
+ event?(e: Event): any;
347
+ requestAnimationFrame?(callback: () => void): void;
348
+ debounceRendering?(cb: () => void): void;
349
+ useDebugValue?(value: string | number): void;
350
+ _addHookName?(name: string | number): void;
351
+ __suspenseDidResolve?(vnode: VNode, cb: () => void): void;
352
+ // __canSuspenseResolve?(vnode: VNode, cb: () => void): void;
353
+
354
+ /**
355
+ * Customize attribute serialization when a precompiled JSX transform
356
+ * is used.
357
+ */
358
+ attr?(name: string, value: any): string | void;
359
+ }
360
+
361
+ export let options: Options;
362
+
363
+ //
364
+ // Preact helpers
365
+ // -----------------------------------
366
+ export function createRef<T = any>(): RefObject<T>;
367
+ export function toChildArray(
368
+ children: ComponentChildren
369
+ ): Array<VNode | string | number>;
370
+ export function isValidElement(vnode: any): vnode is VNode;
371
+
372
+ //
373
+ // Context
374
+ // -----------------------------------
375
+ export interface Consumer<T>
376
+ extends FunctionComponent<{
377
+ children: (value: T) => ComponentChildren;
378
+ }> {}
379
+ export interface PreactConsumer<T> extends Consumer<T> {}
380
+
381
+ export interface Provider<T>
382
+ extends FunctionComponent<{
383
+ value: T;
384
+ children?: ComponentChildren;
385
+ }> {}
386
+ export interface PreactProvider<T> extends Provider<T> {}
387
+ export type ContextType<C extends Context<any>> = C extends Context<infer T>
388
+ ? T
389
+ : never;
390
+
391
+ export interface Context<T> {
392
+ Consumer: Consumer<T>;
393
+ Provider: Provider<T>;
394
+ displayName?: string;
395
+ }
396
+ export interface PreactContext<T> extends Context<T> {}
397
+
398
+ export function createContext<T>(defaultValue: T): Context<T>;
@@ -0,0 +1 @@
1
+ var n,l,t,u,i,o,r,e,f,c,s,a,h,p={},v=[],y=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,d=Array.isArray;function w(n,l){for(var t in l)n[t]=l[t];return n}function _(n){n&&n.parentNode&&n.parentNode.removeChild(n)}function g(l,t,u){var i,o,r,e={};for(r in t)"key"==r?i=t[r]:"ref"==r?o=t[r]:e[r]=t[r];if(arguments.length>2&&(e.children=arguments.length>3?n.call(arguments,2):u),"function"==typeof l&&null!=l.defaultProps)for(r in l.defaultProps)void 0===e[r]&&(e[r]=l.defaultProps[r]);return m(l,e,i,o,null)}function m(n,u,i,o,r){var e={type:n,props:u,key:i,ref:o,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:null==r?++t:r,__i:-1,__u:0};return null==r&&null!=l.vnode&&l.vnode(e),e}function b(){return{current:null}}function k(n){return n.children}function x(n,l){this.props=n,this.context=l}function C(n,l){if(null==l)return n.__?C(n.__,n.__i+1):null;for(var t;l<n.__k.length;l++)if(null!=(t=n.__k[l])&&null!=t.__e)return t.__e;return"function"==typeof n.type?C(n):null}function S(n){var l,t;if(null!=(n=n.__)&&null!=n.__c){for(n.__e=n.__c.base=null,l=0;l<n.__k.length;l++)if(null!=(t=n.__k[l])&&null!=t.__e){n.__e=n.__c.base=t.__e;break}return S(n)}}function M(n){(!n.__d&&(n.__d=!0)&&i.push(n)&&!P.__r++||o!==l.debounceRendering)&&((o=l.debounceRendering)||r)(P)}function P(){var n,t,u,o,r,f,c,s;for(i.sort(e);n=i.shift();)n.__d&&(t=i.length,o=void 0,f=(r=(u=n).__v).__e,c=[],s=[],u.__P&&((o=w({},r)).__v=r.__v+1,l.vnode&&l.vnode(o),F(u.__P,o,r,u.__n,u.__P.namespaceURI,32&r.__u?[f]:null,c,null==f?C(r):f,!!(32&r.__u),s),o.__v=r.__v,o.__.__k[o.__i]=o,z(c,o,s),o.__e!=f&&S(o)),i.length>t&&i.sort(e));P.__r=0}function $(n,l,t,u,i,o,r,e,f,c,s){var a,h,y,d,w,_,g=u&&u.__k||v,m=l.length;for(f=I(t,l,g,f),a=0;a<m;a++)null!=(y=t.__k[a])&&(h=-1===y.__i?p:g[y.__i]||p,y.__i=a,_=F(n,y,h,i,o,r,e,f,c,s),d=y.__e,y.ref&&h.ref!=y.ref&&(h.ref&&V(h.ref,null,y),s.push(y.ref,y.__c||d,y)),null==w&&null!=d&&(w=d),4&y.__u||h.__k===y.__k?f=H(y,f,n):"function"==typeof y.type&&void 0!==_?f=_:d&&(f=d.nextSibling),y.__u&=-7);return t.__e=w,f}function I(n,l,t,u){var i,o,r,e,f,c=l.length,s=t.length,a=s,h=0;for(n.__k=[],i=0;i<c;i++)null!=(o=l[i])&&"boolean"!=typeof o&&"function"!=typeof o?(e=i+h,(o=n.__k[i]="string"==typeof o||"number"==typeof o||"bigint"==typeof o||o.constructor==String?m(null,o,null,null,null):d(o)?m(k,{children:o},null,null,null):void 0===o.constructor&&o.__b>0?m(o.type,o.props,o.key,o.ref?o.ref:null,o.__v):o).__=n,o.__b=n.__b+1,r=null,-1!==(f=o.__i=O(o,t,e,a))&&(a--,(r=t[f])&&(r.__u|=2)),null==r||null===r.__v?(-1==f&&h--,"function"!=typeof o.type&&(o.__u|=4)):f!==e&&(f==e-1?h--:f==e+1?h++:(f>e?h--:h++,o.__u|=4))):o=n.__k[i]=null;if(a)for(i=0;i<s;i++)null!=(r=t[i])&&0==(2&r.__u)&&(r.__e==u&&(u=C(r)),q(r,r));return u}function H(n,l,t){var u,i;if("function"==typeof n.type){for(u=n.__k,i=0;u&&i<u.length;i++)u[i]&&(u[i].__=n,l=H(u[i],l,t));return l}n.__e!=l&&(l&&n.type&&!t.contains(l)&&(l=C(n)),t.insertBefore(n.__e,l||null),l=n.__e);do{l=l&&l.nextSibling}while(null!=l&&8===l.nodeType);return l}function L(n,l){return l=l||[],null==n||"boolean"==typeof n||(d(n)?n.some(function(n){L(n,l)}):l.push(n)),l}function O(n,l,t,u){var i=n.key,o=n.type,r=t-1,e=t+1,f=l[t];if(null===f||f&&i==f.key&&o===f.type&&0==(2&f.__u))return t;if(("function"!=typeof o||o===k||i)&&u>(null!=f&&0==(2&f.__u)?1:0))for(;r>=0||e<l.length;){if(r>=0){if((f=l[r])&&0==(2&f.__u)&&i==f.key&&o===f.type)return r;r--}if(e<l.length){if((f=l[e])&&0==(2&f.__u)&&i==f.key&&o===f.type)return e;e++}}return-1}function T(n,l,t){"-"===l[0]?n.setProperty(l,null==t?"":t):n[l]=null==t?"":"number"!=typeof t||y.test(l)?t:t+"px"}function j(n,l,t,u,i){var o,r;n:if("style"===l)if("string"==typeof t)n.style.cssText=t;else{if("string"==typeof u&&(n.style.cssText=u=""),u)for(l in u)t&&l in t||T(n.style,l,"");if(t)for(l in t)u&&t[l]===u[l]||T(n.style,l,t[l])}else if("o"===l[0]&&"n"===l[1])o=l!==(l=l.replace(f,"$1")),l=l.toLowerCase()in n||"onFocusOut"===l||"onFocusIn"===l?l.toLowerCase().slice(2):l.slice(2),n.l||(n.l={}),n.l[l+o]=t,t?u?t.t=u.t:(t.t=c,n.addEventListener(l,o?a:s,o)):n.removeEventListener(l,o?a:s,o);else{if("http://www.w3.org/2000/svg"==i)l=l.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("width"!=l&&"height"!=l&&"href"!=l&&"list"!=l&&"form"!=l&&"tabIndex"!=l&&"download"!=l&&"rowSpan"!=l&&"colSpan"!=l&&"role"!=l&&"popover"!=l&&l in n)try{r=n.tagName&&n.tagName.includes("-"),t!==u&&(n[l]=null!=t||r?t:"");break n}catch(n){}"function"==typeof t||(null==t||!1===t&&"-"!==l[4]?n.removeAttribute(l):n.setAttribute(l,"popover"==l&&1==t?"":t))}}function A(n){return function(t){if(this.l){var u=this.l[t.type+n];if(null==t.u)t.u=c++;else if(t.u<u.t)return;return u(l.event?l.event(t):t)}}}function F(n,t,u,i,o,r,e,f,c,s){var a,h,p,v,y,g,m,b,C,S,M,P,I,H,L,O,T,j=t.type;if(void 0!==t.constructor)return null;128&u.__u&&(c=!!(32&u.__u),r=[f=t.__e=u.__e]),(a=l.__b)&&a(t);n:if("function"==typeof j)try{if(b=t.props,C="prototype"in j&&j.prototype.render,S=(a=j.contextType)&&i[a.__c],M=a?S?S.props.value:a.__:i,u.__c?m=(h=t.__c=u.__c).__=h.__E:(C?t.__c=h=new j(b,M):(t.__c=h=new x(b,M),h.constructor=j,h.render=B),S&&S.sub(h),h.props=b,h.state||(h.state={}),h.context=M,h.__n=i,p=h.__d=!0,h.__h=[],h._sb=[]),C&&null==h.__s&&(h.__s=h.state),C&&null!=j.getDerivedStateFromProps&&(h.__s==h.state&&(h.__s=w({},h.__s)),w(h.__s,j.getDerivedStateFromProps(b,h.__s))),v=h.props,y=h.state,h.__v=t,p)C&&null==j.getDerivedStateFromProps&&null!=h.componentWillMount&&h.componentWillMount(),C&&null!=h.componentDidMount&&h.__h.push(h.componentDidMount);else{if(C&&null==j.getDerivedStateFromProps&&b!==v&&null!=h.componentWillReceiveProps&&h.componentWillReceiveProps(b,M),!h.__e&&(null!=h.shouldComponentUpdate&&!1===h.shouldComponentUpdate(b,h.__s,M)||t.__v===u.__v)){for(t.__v!==u.__v&&(h.props=b,h.state=h.__s,h.__d=!1),t.__e=u.__e,t.__k=u.__k,t.__k.some(function(n){n&&(n.__=t)}),P=0;P<h._sb.length;P++)h.__h.push(h._sb[P]);h._sb=[],h.__h.length&&e.push(h);break n}null!=h.componentWillUpdate&&h.componentWillUpdate(b,h.__s,M),C&&null!=h.componentDidUpdate&&h.__h.push(function(){h.componentDidUpdate(v,y,g)})}if(h.context=M,h.props=b,h.__P=n,h.__e=!1,I=l.__r,H=0,C){for(h.state=h.__s,h.__d=!1,I&&I(t),a=h.render(h.props,h.state,h.context),L=0;L<h._sb.length;L++)h.__h.push(h._sb[L]);h._sb=[]}else do{h.__d=!1,I&&I(t),a=h.render(h.props,h.state,h.context),h.state=h.__s}while(h.__d&&++H<25);h.state=h.__s,null!=h.getChildContext&&(i=w(w({},i),h.getChildContext())),C&&!p&&null!=h.getSnapshotBeforeUpdate&&(g=h.getSnapshotBeforeUpdate(v,y)),f=$(n,d(O=null!=a&&a.type===k&&null==a.key?a.props.children:a)?O:[O],t,u,i,o,r,e,f,c,s),h.base=t.__e,t.__u&=-161,h.__h.length&&e.push(h),m&&(h.__E=h.__=null)}catch(n){if(t.__v=null,c||null!=r)if(n.then){for(t.__u|=c?160:128;f&&8===f.nodeType&&f.nextSibling;)f=f.nextSibling;r[r.indexOf(f)]=null,t.__e=f}else for(T=r.length;T--;)_(r[T]);else t.__e=u.__e,t.__k=u.__k;l.__e(n,t,u)}else null==r&&t.__v===u.__v?(t.__k=u.__k,t.__e=u.__e):f=t.__e=N(u.__e,t,u,i,o,r,e,c,s);return(a=l.diffed)&&a(t),128&t.__u?void 0:f}function z(n,t,u){for(var i=0;i<u.length;i++)V(u[i],u[++i],u[++i]);l.__c&&l.__c(t,n),n.some(function(t){try{n=t.__h,t.__h=[],n.some(function(n){n.call(t)})}catch(n){l.__e(n,t.__v)}})}function N(t,u,i,o,r,e,f,c,s){var a,h,v,y,w,g,m,b,k=i.props,x=u.props,S=u.type;if("svg"===S?r="http://www.w3.org/2000/svg":"math"===S?r="http://www.w3.org/1998/Math/MathML":r||(r="http://www.w3.org/1999/xhtml"),null!=e)for(a=0;a<e.length;a++)if((w=e[a])&&"setAttribute"in w==!!S&&(S?w.localName===S:3===w.nodeType)){t=w,e[a]=null;break}if(null==t){if(null===S)return document.createTextNode(x);t=document.createElementNS(r,S,x.is&&x),c&&(l.__m&&l.__m(u,e),c=!1),e=null}if(null===S)k===x||c&&t.data===x||(t.data=x);else{if(e=e&&n.call(t.childNodes),k=i.props||p,!c&&null!=e)for(k={},a=0;a<t.attributes.length;a++)k[(w=t.attributes[a]).name]=w.value;for(a in k)if(w=k[a],"children"==a);else if("dangerouslySetInnerHTML"==a)v=w;else if(!(a in x)){if("value"==a&&"defaultValue"in x||"checked"==a&&"defaultChecked"in x)continue;j(t,a,null,w,r)}for(a in x)w=x[a],"children"==a?y=w:"dangerouslySetInnerHTML"==a?h=w:"value"==a?g=w:"checked"==a?m=w:c&&"function"!=typeof w||k[a]===w||((a.startsWith("on")||"ref"===a&&"function"==typeof w)&&(b=o[Object.keys(o)[0]])&&(w=w.bind(b.props.value)),j(t,a,w,k[a],r));if(h)c||v&&(h.__html===v.__html||h.__html===t.innerHTML)||(t.innerHTML=h.__html),u.__k=[];else if(v&&(t.innerHTML=""),$(t,d(y)?y:[y],u,i,o,"foreignObject"===S?"http://www.w3.org/1999/xhtml":r,e,f,e?e[0]:i.__k&&C(i,0),c,s),null!=e)for(a=e.length;a--;)_(e[a]);c||(a="value","progress"===S&&null==g?t.removeAttribute("value"):void 0!==g&&(g!==t[a]||"progress"===S&&!g||"option"===S&&g!==k[a])&&j(t,a,g,k[a],r),a="checked",void 0!==m&&m!==t[a]&&j(t,a,m,k[a],r))}return t}function V(n,t,u){try{if("function"==typeof n){var i="function"==typeof n.__u;i&&n.__u(),i&&null==t||(n.__u=n(t))}else n.current=t}catch(n){l.__e(n,u)}}function q(n,t,u){var i,o;if(l.unmount&&l.unmount(n),(i=n.ref)&&(i.current&&i.current!==n.__e||V(i,null,t)),null!=(i=n.__c)){if(i.componentWillUnmount)try{i.componentWillUnmount()}catch(n){l.__e(n,t)}i.base=i.__P=null}if(i=n.__k)for(o=0;o<i.length;o++)i[o]&&q(i[o],t,u||"function"!=typeof n.type);u||_(n.__e),n.__c=n.__=n.__e=void 0}function B(n,l,t){return this.constructor(n,t)}function D(t,u,i){var o,r,e,f;u===document&&(u=document.documentElement),l.__&&l.__(t,u),r=(o="function"==typeof i)?null:i&&i.__k||u.__k,e=[],f=[],F(u,t=(!o&&i||u).__k=g(k,null,[t]),r||p,p,u.namespaceURI,!o&&i?[i]:r?null:u.firstChild?n.call(u.childNodes):null,e,!o&&i?i:r?r.__e:u.firstChild,o,f),z(e,t,f)}function E(n,l){D(n,l,E)}function G(l,t,u){var i,o,r,e,f=w({},l.props);for(r in l.type&&l.type.defaultProps&&(e=l.type.defaultProps),t)"key"==r?i=t[r]:"ref"==r?o=t[r]:f[r]=void 0===t[r]&&void 0!==e?e[r]:t[r];return arguments.length>2&&(f.children=arguments.length>3?n.call(arguments,2):u),m(l.type,f,i||l.key,o||l.ref,null)}function J(n,l){var t={__c:l="__cC"+h++,__:n,Consumer:function(n,l){return n.children(l)},Provider:function(n){var t,u;return this.getChildContext||(t=new Set,(u={})[l]=this,this.getChildContext=function(){return u},this.componentWillUnmount=function(){t=null},this.shouldComponentUpdate=function(n){this.props.value!==n.value&&t.forEach(function(n){n.__e=!0,M(n)})},this.sub=function(n){t.add(n);var l=n.componentWillUnmount;n.componentWillUnmount=function(){t&&t.delete(n),l&&l.call(n)}}),n.children}};return t.Provider.__=t.Consumer.contextType=t}n=v.slice,l={__e:function(n,l,t,u){for(var i,o,r;l=l.__;)if((i=l.__c)&&!i.__)try{if((o=i.constructor)&&null!=o.getDerivedStateFromError&&(i.setState(o.getDerivedStateFromError(n)),r=i.__d),null!=i.componentDidCatch&&(i.componentDidCatch(n,u||{}),r=i.__d),r)return i.__E=i}catch(l){n=l}throw n}},t=0,u=function(n){return null!=n&&null==n.constructor},x.prototype.setState=function(n,l){var t;t=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=w({},this.state),"function"==typeof n&&(n=n(w({},t),this.props)),n&&w(t,n),null!=n&&this.__v&&(l&&this._sb.push(l),M(this))},x.prototype.forceUpdate=function(n){this.__v&&(this.__e=!0,n&&this.__h.push(n),M(this))},x.prototype.render=k,i=[],r="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,e=function(n,l){return n.__v.__b-l.__v.__b},P.__r=0,f=/(PointerCapture)$|Capture$/i,c=0,s=A(!1),a=A(!0),h=0;export{x as Component,k as Fragment,G as cloneElement,J as createContext,g as createElement,b as createRef,g as h,E as hydrate,u as isValidElement,l as options,D as render,L as toChildArray};
@@ -1,31 +1,23 @@
1
1
  /**
2
2
  * Different types of AnimationMode.
3
3
  *
4
- * @readonly
5
- * @enum {string}
6
4
  * @public
7
- * @author SAP SE
8
- * @alias sap.ui.webc.base.types.AnimationMode
9
5
  */
10
6
  declare enum AnimationMode {
11
7
  /**
12
8
  * @public
13
- * @type {Full}
14
9
  */
15
10
  Full = "full",
16
11
  /**
17
12
  * @public
18
- * @type {Basic}
19
13
  */
20
14
  Basic = "basic",
21
15
  /**
22
16
  * @public
23
- * @type {Minimal}
24
17
  */
25
18
  Minimal = "minimal",
26
19
  /**
27
20
  * @public
28
- * @type {None}
29
21
  */
30
22
  None = "none"
31
23
  }
@@ -1,32 +1,24 @@
1
1
  /**
2
2
  * Different types of AnimationMode.
3
3
  *
4
- * @readonly
5
- * @enum {string}
6
4
  * @public
7
- * @author SAP SE
8
- * @alias sap.ui.webc.base.types.AnimationMode
9
5
  */
10
6
  var AnimationMode;
11
7
  (function (AnimationMode) {
12
8
  /**
13
9
  * @public
14
- * @type {Full}
15
10
  */
16
11
  AnimationMode["Full"] = "full";
17
12
  /**
18
13
  * @public
19
- * @type {Basic}
20
14
  */
21
15
  AnimationMode["Basic"] = "basic";
22
16
  /**
23
17
  * @public
24
- * @type {Minimal}
25
18
  */
26
19
  AnimationMode["Minimal"] = "minimal";
27
20
  /**
28
21
  * @public
29
- * @type {None}
30
22
  */
31
23
  AnimationMode["None"] = "none";
32
24
  })(AnimationMode || (AnimationMode = {}));
@@ -1 +1 @@
1
- {"version":3,"file":"AnimationMode.js","sourceRoot":"","sources":["../../src/types/AnimationMode.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,IAAK,aAqBJ;AArBD,WAAK,aAAa;IACjB;;;OAGG;IACH,8BAAa,CAAA;IACb;;;OAGG;IACH,gCAAe,CAAA;IACf;;;OAGG;IACH,oCAAmB,CAAA;IACnB;;;OAGG;IACH,8BAAa,CAAA;AACd,CAAC,EArBI,aAAa,KAAb,aAAa,QAqBjB;AAED,eAAe,aAAa,CAAC","sourcesContent":["/**\n * Different types of AnimationMode.\n *\n * @readonly\n * @enum {string}\n * @public\n * @author SAP SE\n * @alias sap.ui.webc.base.types.AnimationMode\n */\nenum AnimationMode {\n\t/**\n\t * @public\n\t * @type {Full}\n\t */\n\tFull = \"full\",\n\t/**\n\t * @public\n\t * @type {Basic}\n\t */\n\tBasic = \"basic\",\n\t/**\n\t * @public\n\t * @type {Minimal}\n\t */\n\tMinimal = \"minimal\",\n\t/**\n\t * @public\n\t * @type {None}\n\t */\n\tNone = \"none\",\n}\n\nexport default AnimationMode;\n"]}
1
+ {"version":3,"file":"AnimationMode.js","sourceRoot":"","sources":["../../src/types/AnimationMode.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,IAAK,aAiBJ;AAjBD,WAAK,aAAa;IACjB;;OAEG;IACH,8BAAa,CAAA;IACb;;OAEG;IACH,gCAAe,CAAA;IACf;;OAEG;IACH,oCAAmB,CAAA;IACnB;;OAEG;IACH,8BAAa,CAAA;AACd,CAAC,EAjBI,aAAa,KAAb,aAAa,QAiBjB;AAED,eAAe,aAAa,CAAC","sourcesContent":["/**\n * Different types of AnimationMode.\n *\n * @public\n */\nenum AnimationMode {\n\t/**\n\t * @public\n\t */\n\tFull = \"full\",\n\t/**\n\t * @public\n\t */\n\tBasic = \"basic\",\n\t/**\n\t * @public\n\t */\n\tMinimal = \"minimal\",\n\t/**\n\t * @public\n\t */\n\tNone = \"none\",\n}\n\nexport default AnimationMode;\n"]}
@@ -1,36 +1,27 @@
1
1
  /**
2
2
  * Different calendar types.
3
3
  *
4
- * @readonly
5
- * @enum {string}
6
4
  * @public
7
- * @author SAP SE
8
- * @alias sap.ui.webc.base.types.CalendarType
9
5
  */
10
6
  declare enum CalendarType {
11
7
  /**
12
8
  * @public
13
- * @type {Gregorian}
14
9
  */
15
10
  Gregorian = "Gregorian",
16
11
  /**
17
12
  * @public
18
- * @type {Islamic}
19
13
  */
20
14
  Islamic = "Islamic",
21
15
  /**
22
16
  * @public
23
- * @type {Japanese}
24
17
  */
25
18
  Japanese = "Japanese",
26
19
  /**
27
20
  * @public
28
- * @type {Buddhist}
29
21
  */
30
22
  Buddhist = "Buddhist",
31
23
  /**
32
24
  * @public
33
- * @type {Persian}
34
25
  */
35
26
  Persian = "Persian"
36
27
  }
@@ -1,37 +1,28 @@
1
1
  /**
2
2
  * Different calendar types.
3
3
  *
4
- * @readonly
5
- * @enum {string}
6
4
  * @public
7
- * @author SAP SE
8
- * @alias sap.ui.webc.base.types.CalendarType
9
5
  */
10
6
  var CalendarType;
11
7
  (function (CalendarType) {
12
8
  /**
13
9
  * @public
14
- * @type {Gregorian}
15
10
  */
16
11
  CalendarType["Gregorian"] = "Gregorian";
17
12
  /**
18
13
  * @public
19
- * @type {Islamic}
20
14
  */
21
15
  CalendarType["Islamic"] = "Islamic";
22
16
  /**
23
17
  * @public
24
- * @type {Japanese}
25
18
  */
26
19
  CalendarType["Japanese"] = "Japanese";
27
20
  /**
28
21
  * @public
29
- * @type {Buddhist}
30
22
  */
31
23
  CalendarType["Buddhist"] = "Buddhist";
32
24
  /**
33
25
  * @public
34
- * @type {Persian}
35
26
  */
36
27
  CalendarType["Persian"] = "Persian";
37
28
  })(CalendarType || (CalendarType = {}));
@@ -1 +1 @@
1
- {"version":3,"file":"CalendarType.js","sourceRoot":"","sources":["../../src/types/CalendarType.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,IAAK,YA0BJ;AA1BD,WAAK,YAAY;IAChB;;;OAGG;IACH,uCAAuB,CAAA;IACvB;;;OAGG;IACH,mCAAmB,CAAA;IACnB;;;OAGG;IACH,qCAAqB,CAAA;IACrB;;;OAGG;IACH,qCAAqB,CAAA;IACrB;;;OAGG;IACH,mCAAmB,CAAA;AACpB,CAAC,EA1BI,YAAY,KAAZ,YAAY,QA0BhB;AAED,eAAe,YAAY,CAAC","sourcesContent":["/**\n * Different calendar types.\n *\n * @readonly\n * @enum {string}\n * @public\n * @author SAP SE\n * @alias sap.ui.webc.base.types.CalendarType\n */\nenum CalendarType {\n\t/**\n\t * @public\n\t * @type {Gregorian}\n\t */\n\tGregorian = \"Gregorian\",\n\t/**\n\t * @public\n\t * @type {Islamic}\n\t */\n\tIslamic = \"Islamic\",\n\t/**\n\t * @public\n\t * @type {Japanese}\n\t */\n\tJapanese = \"Japanese\",\n\t/**\n\t * @public\n\t * @type {Buddhist}\n\t */\n\tBuddhist = \"Buddhist\",\n\t/**\n\t * @public\n\t * @type {Persian}\n\t */\n\tPersian = \"Persian\",\n}\n\nexport default CalendarType;\n"]}
1
+ {"version":3,"file":"CalendarType.js","sourceRoot":"","sources":["../../src/types/CalendarType.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,IAAK,YAqBJ;AArBD,WAAK,YAAY;IAChB;;OAEG;IACH,uCAAuB,CAAA;IACvB;;OAEG;IACH,mCAAmB,CAAA;IACnB;;OAEG;IACH,qCAAqB,CAAA;IACrB;;OAEG;IACH,qCAAqB,CAAA;IACrB;;OAEG;IACH,mCAAmB,CAAA;AACpB,CAAC,EArBI,YAAY,KAAZ,YAAY,QAqBhB;AAED,eAAe,YAAY,CAAC","sourcesContent":["/**\n * Different calendar types.\n *\n * @public\n */\nenum CalendarType {\n\t/**\n\t * @public\n\t */\n\tGregorian = \"Gregorian\",\n\t/**\n\t * @public\n\t */\n\tIslamic = \"Islamic\",\n\t/**\n\t * @public\n\t */\n\tJapanese = \"Japanese\",\n\t/**\n\t * @public\n\t */\n\tBuddhist = \"Buddhist\",\n\t/**\n\t * @public\n\t */\n\tPersian = \"Persian\",\n}\n\nexport default CalendarType;\n"]}
@@ -1,25 +1,20 @@
1
1
  /**
2
2
  * Enumeration for different mode behaviors of the InvisibleMessage.
3
3
  *
4
- * @readonly
5
- * @enum {string}
6
4
  * @public
7
- * @author SAP SE
8
- * @alias sap.ui.webc.base.types.InvisibleMessageMode
9
5
  */
10
- declare enum InvisibleMessageMode {
6
+ declare const InvisibleMessageMode: {
11
7
  /**
12
8
  * Indicates that updates to the region should be presented at the next graceful opportunity,
13
9
  * such as at the end of reading the current sentence, or when the user pauses typing.
14
10
  * @public
15
- * @type {Polite}
16
11
  */
17
- Polite = "Polite",
12
+ readonly Polite: "Polite";
18
13
  /**
19
14
  * Indicates that updates to the region have the highest priority and should be presented to the user immediately.
20
15
  * @public
21
- * @type {Assertive}
22
16
  */
23
- Assertive = "Assertive"
24
- }
17
+ readonly Assertive: "Assertive";
18
+ };
19
+ type InvisibleMessageMode = typeof InvisibleMessageMode[keyof typeof InvisibleMessageMode];
25
20
  export default InvisibleMessageMode;