@ui5/webcomponents-base 0.0.0-7e7d9ea6f → 0.0.0-81513ce21
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.
- package/.eslintignore +6 -4
- package/.eslintrc.cjs +3 -0
- package/.npsrc.json +3 -0
- package/CHANGELOG.md +352 -0
- package/bundle.esm.js +10 -2
- package/config/wdio.conf.cjs +400 -0
- package/{src/AssetRegistry.js → dist/AssetRegistry.d.ts} +1 -7
- package/dist/AssetRegistry.js +2 -7
- package/dist/AssetRegistry.js.map +1 -0
- package/dist/Boot.d.ts +9 -0
- package/dist/Boot.js +56 -44
- package/dist/Boot.js.map +1 -0
- package/{src/CSP.js → dist/CSP.d.ts} +8 -37
- package/dist/CSP.js +16 -24
- package/dist/CSP.js.map +1 -0
- package/dist/CustomElementsRegistry.d.ts +5 -0
- package/dist/CustomElementsRegistry.js +66 -83
- package/dist/CustomElementsRegistry.js.map +1 -0
- package/dist/CustomElementsScope.d.ts +7 -0
- package/dist/CustomElementsScope.js +10 -29
- package/dist/CustomElementsScope.js.map +1 -0
- package/dist/CustomElementsScopeUtils.d.ts +55 -0
- package/dist/CustomElementsScopeUtils.js +34 -52
- package/dist/CustomElementsScopeUtils.js.map +1 -0
- package/dist/DOMObserver.d.ts +11 -0
- package/dist/DOMObserver.js +12 -54
- package/dist/DOMObserver.js.map +1 -0
- package/dist/Device.d.ts +12 -0
- package/dist/Device.js +145 -100
- package/dist/Device.js.map +1 -0
- package/dist/EventProvider.d.ts +25 -0
- package/dist/EventProvider.js +67 -82
- package/dist/EventProvider.js.map +1 -0
- package/dist/FeaturesRegistry.d.ts +3 -0
- package/dist/FeaturesRegistry.js +5 -10
- package/dist/FeaturesRegistry.js.map +1 -0
- package/dist/FontFace.d.ts +2 -0
- package/dist/FontFace.js +14 -19
- package/dist/FontFace.js.map +1 -0
- package/dist/InitialConfiguration.d.ts +27 -0
- package/dist/InitialConfiguration.js +121 -131
- package/dist/InitialConfiguration.js.map +1 -0
- package/dist/Keys.d.ts +57 -0
- package/dist/Keys.js +174 -291
- package/dist/Keys.js.map +1 -0
- package/dist/ManagedStyles.d.ts +8 -0
- package/dist/ManagedStyles.js +62 -68
- package/dist/ManagedStyles.js.map +1 -0
- package/dist/MarkedEvents.d.ts +9 -0
- package/dist/MarkedEvents.js +15 -0
- package/dist/MarkedEvents.js.map +1 -0
- package/dist/MediaRange.d.ts +37 -0
- package/dist/MediaRange.js +54 -65
- package/dist/MediaRange.js.map +1 -0
- package/dist/PropertiesFileFormat.d.ts +8 -0
- package/dist/PropertiesFileFormat.js +72 -82
- package/dist/PropertiesFileFormat.js.map +1 -0
- package/dist/Render.d.ts +47 -0
- package/dist/Render.js +81 -113
- package/dist/Render.js.map +1 -0
- package/dist/RenderQueue.d.ts +19 -0
- package/dist/RenderQueue.js +52 -62
- package/dist/RenderQueue.js.map +1 -0
- package/dist/Runtimes.d.ts +27 -0
- package/dist/Runtimes.js +49 -70
- package/dist/Runtimes.js.map +1 -0
- package/dist/StaticArea.d.ts +3 -0
- package/dist/StaticArea.js +5 -1
- package/dist/StaticArea.js.map +1 -0
- package/dist/StaticAreaItem.d.ts +36 -0
- package/dist/StaticAreaItem.js +84 -86
- package/dist/StaticAreaItem.js.map +1 -0
- package/dist/SystemCSSVars.d.ts +2 -0
- package/dist/SystemCSSVars.js +4 -5
- package/dist/SystemCSSVars.js.map +1 -0
- package/{src/Theming.js → dist/Theming.d.ts} +0 -1
- package/dist/Theming.js +1 -1
- package/dist/Theming.js.map +1 -0
- package/dist/UI5Element.d.ts +380 -0
- package/dist/UI5Element.js +926 -995
- package/dist/UI5Element.js.map +1 -0
- package/dist/UI5ElementMetadata.d.ts +150 -0
- package/dist/UI5ElementMetadata.js +277 -338
- package/dist/UI5ElementMetadata.js.map +1 -0
- package/dist/animations/AnimationQueue.d.ts +8 -0
- package/dist/animations/AnimationQueue.js +31 -38
- package/dist/animations/AnimationQueue.js.map +1 -0
- package/dist/animations/animate.d.ts +14 -0
- package/dist/animations/animate.js +46 -51
- package/dist/animations/animate.js.map +1 -0
- package/dist/animations/scroll.d.ts +5 -0
- package/dist/animations/scroll.js +18 -27
- package/dist/animations/scroll.js.map +1 -0
- package/dist/animations/slideDown.d.ts +5 -0
- package/dist/animations/slideDown.js +53 -78
- package/dist/animations/slideDown.js.map +1 -0
- package/dist/animations/slideUp.d.ts +5 -0
- package/dist/animations/slideUp.js +49 -70
- package/dist/animations/slideUp.js.map +1 -0
- package/dist/api.json +1 -0
- package/dist/asset-registries/Icons.d.ts +38 -0
- package/dist/asset-registries/Icons.js +109 -119
- package/dist/asset-registries/Icons.js.map +1 -0
- package/dist/asset-registries/Illustrations.d.ts +17 -0
- package/dist/asset-registries/Illustrations.js +41 -25
- package/dist/asset-registries/Illustrations.js.map +1 -0
- package/dist/asset-registries/LocaleData.d.ts +7 -0
- package/dist/asset-registries/LocaleData.js +104 -132
- package/dist/asset-registries/LocaleData.js.map +1 -0
- package/dist/asset-registries/Themes.d.ts +11 -0
- package/dist/asset-registries/Themes.js +38 -68
- package/dist/asset-registries/Themes.js.map +1 -0
- package/dist/asset-registries/i18n.d.ts +23 -0
- package/dist/asset-registries/i18n.js +58 -80
- package/dist/asset-registries/i18n.js.map +1 -0
- package/dist/assets/Boot.34b7cea0.css +1 -0
- package/dist/assets/Boot.de8032fc.js +9 -0
- package/dist/assets/bundle.esm.6ca2666f.js +50 -0
- package/dist/assets-meta/IconCollectionsAlias.d.ts +31 -0
- package/dist/assets-meta/IconCollectionsAlias.js +30 -10
- package/dist/assets-meta/IconCollectionsAlias.js.map +1 -0
- package/dist/config/AnimationMode.d.ts +14 -0
- package/dist/config/AnimationMode.js +21 -18
- package/dist/config/AnimationMode.js.map +1 -0
- package/dist/config/CalendarType.d.ts +8 -0
- package/dist/config/CalendarType.js +13 -12
- package/dist/config/CalendarType.js.map +1 -0
- package/dist/config/FormatSettings.d.ts +15 -0
- package/dist/config/FormatSettings.js +15 -9
- package/dist/config/FormatSettings.js.map +1 -0
- package/dist/config/Icons.d.ts +55 -0
- package/dist/config/Icons.js +89 -38
- package/dist/config/Icons.js.map +1 -0
- package/dist/config/Language.d.ts +40 -0
- package/dist/config/Language.js +43 -43
- package/dist/config/Language.js.map +1 -0
- package/dist/config/NoConflict.d.ts +20 -0
- package/dist/config/NoConflict.js +41 -41
- package/dist/config/NoConflict.js.map +1 -0
- package/dist/config/RTL.d.ts +7 -0
- package/dist/config/RTL.js +26 -20
- package/dist/config/RTL.js.map +1 -0
- package/dist/config/Theme.d.ts +38 -0
- package/dist/config/Theme.js +54 -37
- package/dist/config/Theme.js.map +1 -0
- package/dist/config/ThemeRoots.d.ts +4 -0
- package/dist/config/ThemeRoots.js +28 -0
- package/dist/config/ThemeRoots.js.map +1 -0
- package/dist/config/Timezone.d.ts +17 -0
- package/dist/config/Timezone.js +30 -0
- package/dist/config/Timezone.js.map +1 -0
- package/dist/css/FontFace.css +9 -18
- package/dist/decorators/customElement.d.ts +23 -0
- package/dist/decorators/customElement.js +37 -0
- package/dist/decorators/customElement.js.map +1 -0
- package/dist/decorators/event.d.ts +10 -0
- package/dist/decorators/event.js +24 -0
- package/dist/decorators/event.js.map +1 -0
- package/dist/decorators/property.d.ts +9 -0
- package/dist/decorators/property.js +24 -0
- package/dist/decorators/property.js.map +1 -0
- package/dist/decorators/slot.d.ts +9 -0
- package/dist/decorators/slot.js +37 -0
- package/dist/decorators/slot.js.map +1 -0
- package/dist/delegate/ItemNavigation.d.ts +113 -0
- package/dist/delegate/ItemNavigation.js +277 -317
- package/dist/delegate/ItemNavigation.js.map +1 -0
- package/dist/delegate/ResizeHandler.d.ts +25 -0
- package/dist/delegate/ResizeHandler.js +72 -91
- package/dist/delegate/ResizeHandler.js.map +1 -0
- package/dist/delegate/ScrollEnablement.d.ts +49 -0
- package/dist/delegate/ScrollEnablement.js +157 -180
- package/dist/delegate/ScrollEnablement.js.map +1 -0
- package/dist/features/F6Navigation.d.ts +19 -0
- package/dist/features/F6Navigation.js +145 -104
- package/dist/features/F6Navigation.js.map +1 -0
- package/dist/features/LegacyDateFormats.d.ts +18 -0
- package/dist/features/LegacyDateFormats.js +20 -0
- package/dist/features/LegacyDateFormats.js.map +1 -0
- package/dist/features/OpenUI5Element.d.ts +9 -0
- package/dist/features/OpenUI5Element.js +5 -0
- package/dist/features/OpenUI5Element.js.map +1 -0
- package/dist/features/OpenUI5Enablement.d.ts +11 -0
- package/dist/features/OpenUI5Enablement.js +89 -112
- package/dist/features/OpenUI5Enablement.js.map +1 -0
- package/dist/features/OpenUI5Support.d.ts +26 -0
- package/dist/features/OpenUI5Support.js +93 -119
- package/dist/features/OpenUI5Support.js.map +1 -0
- package/dist/generated/AssetParameters.js +2 -0
- package/dist/generated/VersionInfo.js +3 -3
- package/dist/generated/css/BusyIndicator.css.d.ts +3 -0
- package/dist/generated/css/BusyIndicator.css.js +7 -5
- package/dist/generated/css/BusyIndicator.css.js.map +1 -0
- package/dist/generated/css/FontFace.css.d.ts +3 -0
- package/dist/generated/css/FontFace.css.js +7 -5
- package/dist/generated/css/FontFace.css.js.map +1 -0
- package/dist/generated/css/OverrideFontFace.css.d.ts +3 -0
- package/dist/generated/css/OverrideFontFace.css.js +7 -5
- package/dist/generated/css/OverrideFontFace.css.js.map +1 -0
- package/dist/generated/css/SystemCSSVars.css.d.ts +3 -0
- package/dist/generated/css/SystemCSSVars.css.js +7 -5
- package/dist/generated/css/SystemCSSVars.css.js.map +1 -0
- package/dist/generated/templates/elements/WithComplexTemplateTemplate.lit.d.ts +4 -0
- package/dist/generated/templates/elements/WithComplexTemplateTemplate.lit.js +9 -0
- package/dist/generated/templates/elements/WithComplexTemplateTemplate.lit.js.map +1 -0
- package/dist/getSharedResource.d.ts +11 -0
- package/dist/getSharedResource.js +22 -18
- package/dist/getSharedResource.js.map +1 -0
- package/dist/global.d.ts +40 -0
- package/dist/i18nBundle.d.ts +43 -0
- package/dist/i18nBundle.js +57 -64
- package/dist/i18nBundle.js.map +1 -0
- package/dist/locale/Locale.d.ts +22 -0
- package/dist/locale/Locale.js +75 -87
- package/dist/locale/Locale.js.map +1 -0
- package/dist/locale/RTLAwareRegistry.d.ts +4 -0
- package/dist/locale/RTLAwareRegistry.js +6 -11
- package/dist/locale/RTLAwareRegistry.js.map +1 -0
- package/dist/locale/applyDirection.d.ts +10 -0
- package/dist/locale/applyDirection.js +7 -7
- package/dist/locale/applyDirection.js.map +1 -0
- package/dist/locale/directionChange.d.ts +15 -0
- package/dist/locale/directionChange.js +7 -15
- package/dist/locale/directionChange.js.map +1 -0
- package/dist/locale/getEffectiveDir.d.ts +2 -0
- package/dist/locale/getEffectiveDir.js +20 -24
- package/dist/locale/getEffectiveDir.js.map +1 -0
- package/dist/locale/getLocale.d.ts +7 -0
- package/dist/locale/getLocale.js +26 -29
- package/dist/locale/getLocale.js.map +1 -0
- package/dist/locale/languageChange.d.ts +5 -0
- package/dist/locale/languageChange.js +8 -16
- package/dist/locale/languageChange.js.map +1 -0
- package/dist/locale/nextFallbackLocale.d.ts +8 -0
- package/dist/locale/nextFallbackLocale.js +15 -19
- package/dist/locale/nextFallbackLocale.js.map +1 -0
- package/dist/locale/normalizeLocale.d.ts +7 -0
- package/dist/locale/normalizeLocale.js +34 -41
- package/dist/locale/normalizeLocale.js.map +1 -0
- package/dist/renderer/LitRenderer.d.ts +14 -0
- package/dist/renderer/LitRenderer.js +28 -39
- package/dist/renderer/LitRenderer.js.map +1 -0
- package/dist/renderer/executeTemplate.d.ts +13 -0
- package/dist/renderer/executeTemplate.js +12 -16
- package/dist/renderer/executeTemplate.js.map +1 -0
- package/dist/sap/base/Log.js +28 -29
- package/dist/sap/base/assert.js +5 -6
- package/dist/sap/base/security/URLListValidator.js +13 -2
- package/dist/sap/ui/thirdparty/caja-html-sanitizer.js +1 -1
- package/dist/theming/CustomStyle.d.ts +6 -0
- package/dist/theming/CustomStyle.js +33 -45
- package/dist/theming/CustomStyle.js.map +1 -0
- package/dist/theming/ThemeLoaded.d.ts +5 -0
- package/dist/theming/ThemeLoaded.js +8 -16
- package/dist/theming/ThemeLoaded.js.map +1 -0
- package/dist/theming/ThemeRegistered.d.ts +4 -0
- package/dist/theming/ThemeRegistered.js +11 -0
- package/dist/theming/ThemeRegistered.js.map +1 -0
- package/dist/theming/applyTheme.d.ts +2 -0
- package/dist/theming/applyTheme.js +60 -64
- package/dist/theming/applyTheme.js.map +1 -0
- package/dist/theming/getConstructableStyle.d.ts +9 -0
- package/dist/theming/getConstructableStyle.js +12 -17
- package/dist/theming/getConstructableStyle.js.map +1 -0
- package/dist/theming/getEffectiveLinksHrefs.d.ts +3 -0
- package/dist/theming/getEffectiveLinksHrefs.js +12 -22
- package/dist/theming/getEffectiveLinksHrefs.js.map +1 -0
- package/dist/theming/getEffectiveStyle.d.ts +3 -0
- package/dist/theming/getEffectiveStyle.js +24 -31
- package/dist/theming/getEffectiveStyle.js.map +1 -0
- package/dist/theming/getStylesString.d.ts +3 -0
- package/dist/theming/getStylesString.js +9 -13
- package/dist/theming/getStylesString.js.map +1 -0
- package/dist/theming/getThemeDesignerTheme.d.ts +7 -0
- package/dist/theming/getThemeDesignerTheme.js +72 -79
- package/dist/theming/getThemeDesignerTheme.js.map +1 -0
- package/dist/theming/preloadLinks.d.ts +3 -0
- package/dist/theming/preloadLinks.js +13 -17
- package/dist/theming/preloadLinks.js.map +1 -0
- package/dist/thirdparty/_merge.d.ts +2 -0
- package/dist/thirdparty/_merge.js +7 -4
- package/dist/thirdparty/_merge.js.map +1 -0
- package/dist/thirdparty/isPlainObject.d.ts +2 -0
- package/dist/thirdparty/isPlainObject.js +11 -10
- package/dist/thirdparty/isPlainObject.js.map +1 -0
- package/dist/thirdparty/merge.d.ts +2 -0
- package/dist/thirdparty/merge.js +4 -8
- package/dist/thirdparty/merge.js.map +1 -0
- package/dist/types/AnimationMode.d.ts +32 -0
- package/dist/types/AnimationMode.js +33 -6
- package/dist/types/AnimationMode.js.map +1 -0
- package/dist/types/CSSColor.d.ts +15 -0
- package/dist/types/CSSColor.js +14 -5
- package/dist/types/CSSColor.js.map +1 -0
- package/dist/types/CalendarType.d.ts +37 -0
- package/dist/types/CalendarType.js +35 -18
- package/dist/types/CalendarType.js.map +1 -0
- package/dist/types/DOMReference.d.ts +17 -0
- package/dist/types/DOMReference.js +25 -0
- package/dist/types/DOMReference.js.map +1 -0
- package/dist/types/DataType.d.ts +25 -0
- package/dist/types/DataType.js +33 -26
- package/dist/types/DataType.js.map +1 -0
- package/dist/types/Float.d.ts +17 -0
- package/dist/types/Float.js +17 -10
- package/dist/types/Float.js.map +1 -0
- package/dist/types/Integer.d.ts +17 -0
- package/dist/types/Integer.js +17 -9
- package/dist/types/Integer.js.map +1 -0
- package/dist/types/InvisibleMessageMode.d.ts +25 -0
- package/dist/types/InvisibleMessageMode.js +20 -23
- package/dist/types/InvisibleMessageMode.js.map +1 -0
- package/dist/types/ItemNavigationBehavior.d.ts +24 -0
- package/dist/types/ItemNavigationBehavior.js +22 -12
- package/dist/types/ItemNavigationBehavior.js.map +1 -0
- package/dist/types/NavigationMode.d.ts +32 -0
- package/dist/types/NavigationMode.js +33 -6
- package/dist/types/NavigationMode.js.map +1 -0
- package/dist/types/ValueState.d.ts +42 -0
- package/dist/types/ValueState.js +41 -19
- package/dist/types/ValueState.js.map +1 -0
- package/dist/types.d.ts +18 -0
- package/dist/types.js +2 -0
- package/dist/types.js.map +1 -0
- package/dist/updateShadowRoot.d.ts +8 -0
- package/dist/updateShadowRoot.js +29 -17
- package/dist/updateShadowRoot.js.map +1 -0
- package/dist/util/AriaLabelHelper.d.ts +15 -0
- package/dist/util/AriaLabelHelper.js +166 -36
- package/dist/util/AriaLabelHelper.js.map +1 -0
- package/dist/util/Caret.d.ts +7 -0
- package/dist/util/Caret.js +16 -25
- package/dist/util/Caret.js.map +1 -0
- package/dist/util/ColorConversion.d.ts +30 -0
- package/dist/util/ColorConversion.js +311 -372
- package/dist/util/ColorConversion.js.map +1 -0
- package/dist/util/FetchHelper.d.ts +3 -0
- package/dist/util/FetchHelper.js +19 -25
- package/dist/util/FetchHelper.js.map +1 -0
- package/dist/util/FocusableElements.d.ts +4 -0
- package/dist/util/FocusableElements.js +64 -71
- package/dist/util/FocusableElements.js.map +1 -0
- package/{src/util/HTMLSanitizer.js → dist/util/HTMLSanitizer.d.ts} +1 -5
- package/dist/util/HTMLSanitizer.js +4 -5
- package/dist/util/HTMLSanitizer.js.map +1 -0
- package/dist/util/InvisibleMessage.d.ts +10 -0
- package/dist/util/InvisibleMessage.js +40 -53
- package/dist/util/InvisibleMessage.js.map +1 -0
- package/dist/util/PopupUtils.d.ts +7 -0
- package/dist/util/PopupUtils.js +58 -77
- package/dist/util/PopupUtils.js.map +1 -0
- package/dist/util/SlotsHelper.d.ts +9 -0
- package/dist/util/SlotsHelper.js +22 -35
- package/dist/util/SlotsHelper.js.map +1 -0
- package/dist/util/StringHelper.d.ts +3 -0
- package/dist/util/StringHelper.js +17 -20
- package/dist/util/StringHelper.js.map +1 -0
- package/dist/util/TabbableElements.d.ts +17 -0
- package/dist/util/TabbableElements.js +53 -47
- package/dist/util/TabbableElements.js.map +1 -0
- package/dist/util/arraysAreEqual.d.ts +2 -0
- package/dist/util/arraysAreEqual.js +10 -12
- package/dist/util/arraysAreEqual.js.map +1 -0
- package/{src/util/clamp.js → dist/util/clamp.d.ts} +1 -4
- package/dist/util/clamp.js +2 -2
- package/dist/util/clamp.js.map +1 -0
- package/dist/util/createLinkInHead.d.ts +7 -0
- package/dist/util/createLinkInHead.js +14 -12
- package/dist/util/createLinkInHead.js.map +1 -0
- package/dist/util/createStyleInHead.d.ts +8 -0
- package/dist/util/createStyleInHead.js +10 -10
- package/dist/util/createStyleInHead.js.map +1 -0
- package/dist/util/debounce.d.ts +2 -0
- package/dist/util/debounce.js +6 -8
- package/dist/util/debounce.js.map +1 -0
- package/dist/util/detectNavigatorLanguage.d.ts +2 -0
- package/dist/util/detectNavigatorLanguage.js +7 -10
- package/dist/util/detectNavigatorLanguage.js.map +1 -0
- package/dist/util/escapeRegex.d.ts +8 -0
- package/dist/util/escapeRegex.js +8 -7
- package/dist/util/escapeRegex.js.map +1 -0
- package/dist/util/formatMessage.d.ts +2 -0
- package/dist/util/formatMessage.js +15 -19
- package/dist/util/formatMessage.js.map +1 -0
- package/dist/util/generateHighlightedMarkup.d.ts +9 -0
- package/dist/util/generateHighlightedMarkup.js +26 -27
- package/dist/util/generateHighlightedMarkup.js.map +1 -0
- package/dist/util/getActiveElement.d.ts +2 -0
- package/dist/util/getActiveElement.js +6 -8
- package/dist/util/getActiveElement.js.map +1 -0
- package/dist/util/getClassCopy.d.ts +400 -0
- package/dist/util/getClassCopy.js +7 -7
- package/dist/util/getClassCopy.js.map +1 -0
- package/dist/util/getDesigntimePropertyAsArray.d.ts +2 -0
- package/dist/util/getDesigntimePropertyAsArray.js +4 -3
- package/dist/util/getDesigntimePropertyAsArray.js.map +1 -0
- package/dist/util/getEffectiveContentDensity.d.ts +2 -0
- package/dist/util/getEffectiveContentDensity.js +2 -3
- package/dist/util/getEffectiveContentDensity.js.map +1 -0
- package/dist/util/getEffectiveScrollbarStyle.d.ts +2 -0
- package/dist/util/getEffectiveScrollbarStyle.js +4 -0
- package/dist/util/getEffectiveScrollbarStyle.js.map +1 -0
- package/dist/util/getFastNavigationGroups.d.ts +2 -0
- package/dist/util/getFastNavigationGroups.js +51 -0
- package/dist/util/getFastNavigationGroups.js.map +1 -0
- package/{src/util/getFileExtension.js → dist/util/getFileExtension.d.ts} +3 -12
- package/dist/util/getFileExtension.js +9 -11
- package/dist/util/getFileExtension.js.map +1 -0
- package/{src/util/getNormalizedTarget.js → dist/util/getNormalizedTarget.d.ts} +1 -10
- package/dist/util/getNormalizedTarget.js +7 -9
- package/dist/util/getNormalizedTarget.js.map +1 -0
- package/dist/util/getSingletonElementInstance.d.ts +2 -0
- package/dist/util/getSingletonElementInstance.js +7 -10
- package/dist/util/getSingletonElementInstance.js.map +1 -0
- package/dist/util/isElementClickable.d.ts +2 -0
- package/dist/util/isElementClickable.js +16 -0
- package/dist/util/isElementClickable.js.map +1 -0
- package/dist/util/isElementHidden.d.ts +2 -0
- package/dist/util/isElementHidden.js +8 -0
- package/dist/util/isElementHidden.js.map +1 -0
- package/dist/util/isElementInView.d.ts +6 -0
- package/dist/util/isElementInView.js +6 -9
- package/dist/util/isElementInView.js.map +1 -0
- package/dist/util/isElementTabbable.d.ts +9 -0
- package/dist/util/isElementTabbable.js +30 -0
- package/dist/util/isElementTabbable.js.map +1 -0
- package/dist/util/isValidPropertyName.d.ts +8 -0
- package/dist/util/isValidPropertyName.js +16 -17
- package/dist/util/isValidPropertyName.js.map +1 -0
- package/dist/util/whenDOMReady.d.ts +2 -0
- package/dist/util/whenDOMReady.js +11 -10
- package/dist/util/whenDOMReady.js.map +1 -0
- package/dist/util/willShowContent.d.ts +2 -0
- package/dist/util/willShowContent.js +7 -0
- package/dist/util/willShowContent.js.map +1 -0
- package/dist/validateThemeRoot.d.ts +2 -0
- package/dist/validateThemeRoot.js +48 -0
- package/dist/validateThemeRoot.js.map +1 -0
- package/index.js +227 -1
- package/lib/generate-asset-parameters/index.js +4 -2
- package/lib/generate-styles/index.js +13 -8
- package/lib/generate-version-info/index.js +1 -1
- package/{package-scripts.js → package-scripts.cjs} +24 -9
- package/package.json +5 -4
- package/src/css/FontFace.css +9 -18
- package/tsconfig.json +15 -0
- package/config/wdio.conf.js +0 -1
- package/dist/RenderScheduler.js +0 -44
- package/dist/animations/config.js +0 -5
- package/dist/assets/bundle.esm.691f93f5.js +0 -43
- package/dist/types/CSSSize.js +0 -9
- package/dist/types/PopupState.js +0 -37
- package/dist/util/findNodeOwner.js +0 -35
- package/dist/util/isDefaultSlotProvided.js +0 -11
- package/dist/util/isDescendantOf.js +0 -15
- package/dist/util/isNodeClickable.js +0 -19
- package/dist/util/isNodeHidden.js +0 -9
- package/dist/util/isNodeTabbable.js +0 -28
- package/dist/util/setToArray.js +0 -10
- package/hash.txt +0 -1
- package/src/Boot.js +0 -59
- package/src/CustomElementsRegistry.js +0 -95
- package/src/CustomElementsScope.js +0 -30
- package/src/CustomElementsScopeUtils.js +0 -108
- package/src/DOMObserver.js +0 -65
- package/src/Device.js +0 -121
- package/src/EventProvider.js +0 -85
- package/src/FeaturesRegistry.js +0 -14
- package/src/FontFace.js +0 -30
- package/src/InitialConfiguration.js +0 -166
- package/src/Keys.js +0 -295
- package/src/ManagedStyles.js +0 -83
- package/src/MediaRange.js +0 -109
- package/src/PropertiesFileFormat.js +0 -95
- package/src/Render.js +0 -175
- package/src/RenderQueue.js +0 -66
- package/src/RenderScheduler.js +0 -44
- package/src/Runtimes.js +0 -107
- package/src/StaticArea.js +0 -3
- package/src/StaticAreaItem.js +0 -101
- package/src/SystemCSSVars.js +0 -10
- package/src/UI5Element.js +0 -1033
- package/src/UI5ElementMetadata.js +0 -352
- package/src/animations/AnimationQueue.js +0 -42
- package/src/animations/animate.js +0 -53
- package/src/animations/config.js +0 -5
- package/src/animations/scroll.js +0 -28
- package/src/animations/slideDown.js +0 -79
- package/src/animations/slideUp.js +0 -71
- package/src/asset-registries/Icons.js +0 -135
- package/src/asset-registries/Illustrations.js +0 -30
- package/src/asset-registries/LocaleData.js +0 -164
- package/src/asset-registries/Themes.js +0 -82
- package/src/asset-registries/i18n.js +0 -123
- package/src/assets-meta/IconCollectionsAlias.js +0 -18
- package/src/config/AnimationMode.js +0 -23
- package/src/config/CalendarType.js +0 -18
- package/src/config/FormatSettings.js +0 -13
- package/src/config/Icons.js +0 -52
- package/src/config/Language.js +0 -68
- package/src/config/NoConflict.js +0 -51
- package/src/config/RTL.js +0 -31
- package/src/config/Theme.js +0 -53
- package/src/delegate/ItemNavigation.js +0 -356
- package/src/delegate/ResizeHandler.js +0 -106
- package/src/delegate/ScrollEnablement.js +0 -188
- package/src/features/F6Navigation.js +0 -110
- package/src/features/OpenUI5Enablement.js +0 -119
- package/src/features/OpenUI5Support.js +0 -125
- package/src/getSharedResource.js +0 -30
- package/src/i18nBundle.js +0 -86
- package/src/locale/Locale.js +0 -91
- package/src/locale/RTLAwareRegistry.js +0 -14
- package/src/locale/applyDirection.js +0 -17
- package/src/locale/directionChange.js +0 -32
- package/src/locale/getEffectiveDir.js +0 -28
- package/src/locale/getLocale.js +0 -41
- package/src/locale/languageChange.js +0 -22
- package/src/locale/nextFallbackLocale.js +0 -28
- package/src/locale/normalizeLocale.js +0 -54
- package/src/renderer/LitRenderer.js +0 -52
- package/src/renderer/executeTemplate.js +0 -34
- package/src/theming/CustomStyle.js +0 -60
- package/src/theming/ThemeLoaded.js +0 -22
- package/src/theming/applyTheme.js +0 -79
- package/src/theming/getConstructableStyle.js +0 -30
- package/src/theming/getEffectiveLinksHrefs.js +0 -27
- package/src/theming/getEffectiveStyle.js +0 -39
- package/src/theming/getStylesString.js +0 -15
- package/src/theming/getThemeDesignerTheme.js +0 -87
- package/src/theming/preloadLinks.js +0 -23
- package/src/thirdparty/_merge.js +0 -32
- package/src/thirdparty/isPlainObject.js +0 -18
- package/src/thirdparty/merge.js +0 -10
- package/src/types/AnimationMode.js +0 -7
- package/src/types/CSSColor.js +0 -9
- package/src/types/CSSSize.js +0 -9
- package/src/types/CalendarType.js +0 -22
- package/src/types/DataType.js +0 -37
- package/src/types/Float.js +0 -14
- package/src/types/Integer.js +0 -13
- package/src/types/InvisibleMessageMode.js +0 -30
- package/src/types/ItemNavigationBehavior.js +0 -16
- package/src/types/NavigationMode.js +0 -7
- package/src/types/PopupState.js +0 -37
- package/src/types/ValueState.js +0 -22
- package/src/updateShadowRoot.js +0 -29
- package/src/util/AriaLabelHelper.js +0 -41
- package/src/util/Caret.js +0 -32
- package/src/util/ColorConversion.js +0 -398
- package/src/util/FetchHelper.js +0 -31
- package/src/util/FocusableElements.js +0 -79
- package/src/util/InvisibleMessage.js +0 -69
- package/src/util/PopupUtils.js +0 -93
- package/src/util/SlotsHelper.js +0 -43
- package/src/util/StringHelper.js +0 -26
- package/src/util/TabbableElements.js +0 -51
- package/src/util/arraysAreEqual.js +0 -15
- package/src/util/createLinkInHead.js +0 -19
- package/src/util/createStyleInHead.js +0 -18
- package/src/util/debounce.js +0 -17
- package/src/util/detectNavigatorLanguage.js +0 -13
- package/src/util/escapeRegex.js +0 -10
- package/src/util/findNodeOwner.js +0 -35
- package/src/util/formatMessage.js +0 -23
- package/src/util/generateHighlightedMarkup.js +0 -42
- package/src/util/getActiveElement.js +0 -11
- package/src/util/getClassCopy.js +0 -10
- package/src/util/getDesigntimePropertyAsArray.js +0 -4
- package/src/util/getEffectiveContentDensity.js +0 -5
- package/src/util/getSingletonElementInstance.js +0 -13
- package/src/util/isDefaultSlotProvided.js +0 -11
- package/src/util/isDescendantOf.js +0 -15
- package/src/util/isElementInView.js +0 -15
- package/src/util/isNodeClickable.js +0 -19
- package/src/util/isNodeHidden.js +0 -9
- package/src/util/isNodeTabbable.js +0 -28
- package/src/util/isValidPropertyName.js +0 -29
- package/src/util/setToArray.js +0 -10
- package/src/util/whenDOMReady.js +0 -13
|
@@ -0,0 +1,400 @@
|
|
|
1
|
+
exports.config = {
|
|
2
|
+
//
|
|
3
|
+
// ====================
|
|
4
|
+
// Runner Configuration
|
|
5
|
+
// ====================
|
|
6
|
+
//
|
|
7
|
+
// WebdriverIO allows it to run your tests in arbitrary locations (e.g. locally or
|
|
8
|
+
// on a remote machine).
|
|
9
|
+
runner: 'local',
|
|
10
|
+
|
|
11
|
+
//
|
|
12
|
+
// ==================
|
|
13
|
+
// Specify Test Files
|
|
14
|
+
// ==================
|
|
15
|
+
// Define which test specs should run. The pattern is relative to the directory
|
|
16
|
+
// from which `wdio` was called. Notice that, if you are calling `wdio` from an
|
|
17
|
+
// NPM script (see https://docs.npmjs.com/cli/run-script) then the current working
|
|
18
|
+
// directory is where your package.json resides, so `wdio` will be called from there.
|
|
19
|
+
//
|
|
20
|
+
specs: [
|
|
21
|
+
'./test/specs/**/*.js'
|
|
22
|
+
],
|
|
23
|
+
// Patterns to exclude.
|
|
24
|
+
exclude: [
|
|
25
|
+
// 'path/to/excluded/files'
|
|
26
|
+
],
|
|
27
|
+
//
|
|
28
|
+
// ============
|
|
29
|
+
// Capabilities
|
|
30
|
+
// ============
|
|
31
|
+
// Define your capabilities here. WebdriverIO can run multiple capabilities at the same
|
|
32
|
+
// time. Depending on the number of capabilities, WebdriverIO launches several test
|
|
33
|
+
// sessions. Within your capabilities you can overwrite the spec and exclude options in
|
|
34
|
+
// order to group specific specs to a specific capability.
|
|
35
|
+
//
|
|
36
|
+
// First, you can define how many instances should be started at the same time. Let's
|
|
37
|
+
// say you have 3 different capabilities (Chrome, Firefox, and Safari) and you have
|
|
38
|
+
// set maxInstances to 1; wdio will spawn 3 processes. Therefore, if you have 10 spec
|
|
39
|
+
// files and you set maxInstances to 10, all spec files will get tested at the same time
|
|
40
|
+
// and 30 processes will get spawned. The property handles how many capabilities
|
|
41
|
+
// from the same test should run tests.
|
|
42
|
+
//
|
|
43
|
+
maxInstances: 10,
|
|
44
|
+
//
|
|
45
|
+
// If you have trouble getting all important capabilities together, check out the
|
|
46
|
+
// Sauce Labs platform configurator - a great tool to configure your capabilities:
|
|
47
|
+
// https://docs.saucelabs.com/reference/platforms-configurator
|
|
48
|
+
//
|
|
49
|
+
capabilities: [{
|
|
50
|
+
// maxInstances can get overwritten per capability. So if you have an in-house Selenium
|
|
51
|
+
// grid with only 5 firefox instances available you can make sure that not more than
|
|
52
|
+
// 5 instances get started at a time.
|
|
53
|
+
maxInstances: 5,
|
|
54
|
+
//
|
|
55
|
+
browserName: 'chrome',
|
|
56
|
+
'goog:chromeOptions': {
|
|
57
|
+
// to run chrome headless the following flags are required
|
|
58
|
+
// (see https://developers.google.com/web/updates/2017/04/headless-chrome)
|
|
59
|
+
args: [
|
|
60
|
+
'headless', // start in headless mode
|
|
61
|
+
'start-maximized', // maximize the window
|
|
62
|
+
'no-sandbox', // disable sandbox isolation
|
|
63
|
+
'disable-infobars', // disable the infos
|
|
64
|
+
'disable-gpu', // on windows disable gpu hw acceleration
|
|
65
|
+
'disable-extensions', // disable extensions
|
|
66
|
+
'disable-dev-shm-usage' // disable /dev/shm in CI
|
|
67
|
+
],
|
|
68
|
+
}
|
|
69
|
+
}],
|
|
70
|
+
//
|
|
71
|
+
// port to find chromedriver
|
|
72
|
+
port: 9515, // default
|
|
73
|
+
// ===================
|
|
74
|
+
// Test Configurations
|
|
75
|
+
// ===================
|
|
76
|
+
// Define all options that are relevant for the WebdriverIO instance here
|
|
77
|
+
//
|
|
78
|
+
// Level of logging verbosity: trace | debug | info | warn | error
|
|
79
|
+
logLevel: 'error',
|
|
80
|
+
//
|
|
81
|
+
// Warns when a deprecated command is used
|
|
82
|
+
deprecationWarnings: true,
|
|
83
|
+
//
|
|
84
|
+
// If you only want to run your tests until a specific amount of tests have failed use
|
|
85
|
+
// bail (default is 0 - don't bail, run all tests).
|
|
86
|
+
bail: 0,
|
|
87
|
+
//
|
|
88
|
+
// Set a base URL in order to shorten url command calls. If your `url` parameter starts
|
|
89
|
+
// with `/`, the base url gets prepended, not including the path portion of your baseUrl.
|
|
90
|
+
// If your `url` parameter starts without a scheme or `/` (like `some/path`), the base url
|
|
91
|
+
// gets prepended directly.
|
|
92
|
+
baseUrl: 'http://localhost:4567', // This is important since WDIO 7+ does not accept an empty string for baseUrl
|
|
93
|
+
path: '',
|
|
94
|
+
//
|
|
95
|
+
// Default timeout for all waitFor* commands.
|
|
96
|
+
waitforTimeout: 10000,
|
|
97
|
+
//
|
|
98
|
+
// Default timeout in milliseconds for request
|
|
99
|
+
// if Selenium Grid doesn't send response
|
|
100
|
+
connectionRetryTimeout: 90000,
|
|
101
|
+
//
|
|
102
|
+
// Default request retries count
|
|
103
|
+
connectionRetryCount: 3,
|
|
104
|
+
//
|
|
105
|
+
// Test runner services
|
|
106
|
+
// Services take over a specific job you don't want to take care of. They enhance
|
|
107
|
+
// your test setup with almost no effort. Unlike plugins, they don't add new
|
|
108
|
+
// commands. Instead, they hook themselves up into the test process.
|
|
109
|
+
services: ['chromedriver', 'devtools',
|
|
110
|
+
['static-server', {
|
|
111
|
+
folders: [
|
|
112
|
+
{ mount: '/', path: './dist' },
|
|
113
|
+
],
|
|
114
|
+
port: '4567',
|
|
115
|
+
}],
|
|
116
|
+
],
|
|
117
|
+
// options
|
|
118
|
+
chromeDriverArgs: ['--port=9515'], // default
|
|
119
|
+
// Framework you want to run your specs with.
|
|
120
|
+
// The following are supported: Mocha, Jasmine, and Cucumber
|
|
121
|
+
// see also: https://webdriver.io/docs/frameworks.html
|
|
122
|
+
//
|
|
123
|
+
// Make sure you have the wdio adapter package for the specific framework installed
|
|
124
|
+
// before running any tests.
|
|
125
|
+
framework: 'mocha',
|
|
126
|
+
//
|
|
127
|
+
// Test reporter for stdout.
|
|
128
|
+
// The only one supported by default is 'dot'
|
|
129
|
+
// see also: https://webdriver.io/docs/dot-reporter.html
|
|
130
|
+
reporters: ['dot', 'spec'],
|
|
131
|
+
|
|
132
|
+
//
|
|
133
|
+
// Options to be passed to Mocha.
|
|
134
|
+
// See the full list at http://mochajs.org/
|
|
135
|
+
mochaOpts: {
|
|
136
|
+
ui: 'bdd',
|
|
137
|
+
timeout: 60000
|
|
138
|
+
},
|
|
139
|
+
//
|
|
140
|
+
// =====
|
|
141
|
+
// Hooks
|
|
142
|
+
// =====
|
|
143
|
+
// WebdriverIO provides several hooks you can use to interfere with the test process in order to enhance
|
|
144
|
+
// it and to build services around it. You can either apply a single function or an array of
|
|
145
|
+
// methods to it. If one of them returns with a promise, WebdriverIO will wait until that promise got
|
|
146
|
+
// resolved to continue.
|
|
147
|
+
/**
|
|
148
|
+
* Gets executed once before all workers get launched.
|
|
149
|
+
* @param {Object} config wdio configuration object
|
|
150
|
+
* @param {Array.<Object>} capabilities list of capabilities details
|
|
151
|
+
*/
|
|
152
|
+
// onPrepare: function (config, capabilities) {
|
|
153
|
+
// },
|
|
154
|
+
/**
|
|
155
|
+
* Gets executed just before initialising the webdriver session and test framework. It allows you
|
|
156
|
+
* to manipulate configurations depending on the capability or spec.
|
|
157
|
+
* @param {Object} config wdio configuration object
|
|
158
|
+
* @param {Array.<Object>} capabilities list of capabilities details
|
|
159
|
+
* @param {Array.<String>} specs List of spec file paths that are to be run
|
|
160
|
+
*/
|
|
161
|
+
// beforeSession: function (config, capabilities, specs) {
|
|
162
|
+
// },
|
|
163
|
+
/**
|
|
164
|
+
* Gets executed before test execution begins. At this point you can access to all global
|
|
165
|
+
* variables like `browser`. It is the perfect place to define custom commands.
|
|
166
|
+
* @param {Array.<Object>} capabilities list of capabilities details
|
|
167
|
+
* @param {Array.<String>} specs List of spec file paths that are to be run
|
|
168
|
+
*/
|
|
169
|
+
before: async function (capabilities, specs) {
|
|
170
|
+
await browser.addCommand("isFocusedDeep", async function () {
|
|
171
|
+
return browser.executeAsync(function (elem, done) {
|
|
172
|
+
let activeElement = document.activeElement;
|
|
173
|
+
|
|
174
|
+
while (activeElement.shadowRoot) {
|
|
175
|
+
if (activeElement.shadowRoot.activeElement) {
|
|
176
|
+
activeElement = activeElement.shadowRoot.activeElement;
|
|
177
|
+
} else {
|
|
178
|
+
break;
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
done(elem === activeElement);
|
|
182
|
+
}, this);
|
|
183
|
+
}, true);
|
|
184
|
+
|
|
185
|
+
await browser.addCommand("isFocusedDeepElement", async function (element) {
|
|
186
|
+
return browser.executeAsync(function (elem, element, done) {
|
|
187
|
+
let activeElement = document.activeElement;
|
|
188
|
+
|
|
189
|
+
while (activeElement.shadowRoot) {
|
|
190
|
+
if (activeElement.shadowRoot.activeElement) {
|
|
191
|
+
activeElement = activeElement.shadowRoot.activeElement;
|
|
192
|
+
} else {
|
|
193
|
+
break;
|
|
194
|
+
}
|
|
195
|
+
}
|
|
196
|
+
done(element === activeElement);
|
|
197
|
+
}, this, element);
|
|
198
|
+
}, true);
|
|
199
|
+
|
|
200
|
+
await browser.addCommand("setProperty", async function(property, value) {
|
|
201
|
+
return browser.executeAsync((elem, property, value, done) => {
|
|
202
|
+
elem[property] = value;
|
|
203
|
+
done();
|
|
204
|
+
}, this, property, value);
|
|
205
|
+
}, true);
|
|
206
|
+
|
|
207
|
+
await browser.addCommand("setAttribute", async function(attribute, value) {
|
|
208
|
+
return browser.executeAsync((elem, attribute, value, done) => {
|
|
209
|
+
elem.setAttribute(attribute, value);
|
|
210
|
+
done();
|
|
211
|
+
}, this, attribute, value);
|
|
212
|
+
}, true);
|
|
213
|
+
|
|
214
|
+
await browser.addCommand("removeAttribute", async function(attribute) {
|
|
215
|
+
return browser.executeAsync((elem, attribute, done) => {
|
|
216
|
+
elem.removeAttribute(attribute);
|
|
217
|
+
done();
|
|
218
|
+
}, this, attribute);
|
|
219
|
+
}, true);
|
|
220
|
+
|
|
221
|
+
await browser.addCommand("hasClass", async function(className) {
|
|
222
|
+
return browser.executeAsync((elem, className, done) => {
|
|
223
|
+
done(elem.classList.contains(className));
|
|
224
|
+
}, this, className);
|
|
225
|
+
}, true);
|
|
226
|
+
|
|
227
|
+
await browser.addCommand("hasAttribute", async function(attrName) {
|
|
228
|
+
return browser.executeAsync((elem, attrName, done) => {
|
|
229
|
+
done(elem.hasAttribute(attrName));
|
|
230
|
+
}, this, attrName);
|
|
231
|
+
}, true);
|
|
232
|
+
|
|
233
|
+
await browser.addCommand("getStaticAreaItemClassName", async function(selector) {
|
|
234
|
+
return browser.executeAsync(async (selector, done) => {
|
|
235
|
+
const staticAreaItem = await document.querySelector(selector).getStaticAreaItemDomRef();
|
|
236
|
+
done(staticAreaItem.host.classList[0]);
|
|
237
|
+
}, selector);
|
|
238
|
+
}, false);
|
|
239
|
+
|
|
240
|
+
await browser.addLocatorStrategy('activeElement', (selector) => {
|
|
241
|
+
return document.querySelector(selector).shadowRoot.activeElement;
|
|
242
|
+
});
|
|
243
|
+
},
|
|
244
|
+
/**
|
|
245
|
+
* Runs before a WebdriverIO command gets executed.
|
|
246
|
+
* @param {String} commandName hook command name
|
|
247
|
+
* @param {Array} args arguments that command would receive
|
|
248
|
+
*/
|
|
249
|
+
beforeCommand: async function (commandName, args) {
|
|
250
|
+
const waitFor = [
|
|
251
|
+
"$",
|
|
252
|
+
"$$",
|
|
253
|
+
"getAttribute",
|
|
254
|
+
"hasAttribute", // custom
|
|
255
|
+
"getCSSProperty",
|
|
256
|
+
"getHTML",
|
|
257
|
+
"getProperty",
|
|
258
|
+
"getSize",
|
|
259
|
+
"getStaticAreaItemClassName", // custom
|
|
260
|
+
"getText",
|
|
261
|
+
"getValue",
|
|
262
|
+
"hasClass", // custom
|
|
263
|
+
"isDisplayed",
|
|
264
|
+
"isDisplayedInViewport",
|
|
265
|
+
"isEnabled",
|
|
266
|
+
"isExisting",
|
|
267
|
+
"isFocused",
|
|
268
|
+
"isFocusedDeep", // custom
|
|
269
|
+
"isFocusedDeepElement", // custom
|
|
270
|
+
"shadow$",
|
|
271
|
+
"shadow$$",
|
|
272
|
+
];
|
|
273
|
+
if (waitFor.includes(commandName)) {
|
|
274
|
+
await browser.executeAsync(function (done) {
|
|
275
|
+
window["sap-ui-webcomponents-bundle"].renderFinished().then(done);
|
|
276
|
+
});
|
|
277
|
+
}
|
|
278
|
+
},
|
|
279
|
+
|
|
280
|
+
/**
|
|
281
|
+
* Hook that gets executed before the suite starts
|
|
282
|
+
* @param {Object} suite suite details
|
|
283
|
+
*/
|
|
284
|
+
// beforeSuite: function (suite) {
|
|
285
|
+
// },
|
|
286
|
+
/**
|
|
287
|
+
* Function to be executed before a test (in Mocha/Jasmine) or a step (in Cucumber) starts.
|
|
288
|
+
* @param {Object} test test details
|
|
289
|
+
*/
|
|
290
|
+
// beforeTest: function (test) {
|
|
291
|
+
// },
|
|
292
|
+
/**
|
|
293
|
+
* Hook that gets executed _before_ a hook within the suite starts (e.g. runs before calling
|
|
294
|
+
* beforeEach in Mocha)
|
|
295
|
+
*/
|
|
296
|
+
// beforeHook: function () {
|
|
297
|
+
// },
|
|
298
|
+
/**
|
|
299
|
+
* Hook that gets executed _after_ a hook within the suite starts (e.g. runs after calling
|
|
300
|
+
* afterEach in Mocha)
|
|
301
|
+
*/
|
|
302
|
+
// afterHook: function () {
|
|
303
|
+
// },
|
|
304
|
+
/**
|
|
305
|
+
* Function to be executed after a test (in Mocha/Jasmine) or a step (in Cucumber) starts.
|
|
306
|
+
* @param {Object} test test details
|
|
307
|
+
*/
|
|
308
|
+
// afterTest: function (test) {
|
|
309
|
+
// },
|
|
310
|
+
/**
|
|
311
|
+
* Hook that gets executed after the suite has ended
|
|
312
|
+
* @param {Object} suite suite details
|
|
313
|
+
*/
|
|
314
|
+
// afterSuite: function (suite) {
|
|
315
|
+
// },
|
|
316
|
+
|
|
317
|
+
/**
|
|
318
|
+
* Runs after a WebdriverIO command gets executed
|
|
319
|
+
* @param {String} commandName hook command name
|
|
320
|
+
* @param {Array} args arguments that command would receive
|
|
321
|
+
* @param {Number} result 0 - command success, 1 - command error
|
|
322
|
+
* @param {Object} error error object if any
|
|
323
|
+
*/
|
|
324
|
+
afterCommand: async function (commandName, args, result, error) {
|
|
325
|
+
|
|
326
|
+
// url -> set configuration first
|
|
327
|
+
if (commandName === "url" && !args[0].includes("do-not-change-configuration")) {
|
|
328
|
+
await browser.executeAsync(function(done) {
|
|
329
|
+
window["sap-ui-webcomponents-bundle"].configuration.setNoConflict(true);
|
|
330
|
+
done();
|
|
331
|
+
});
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
const waitFor = [
|
|
335
|
+
"addValue",
|
|
336
|
+
"clearValue",
|
|
337
|
+
"click",
|
|
338
|
+
"doubleClick",
|
|
339
|
+
"dragAndDrop",
|
|
340
|
+
"pause",
|
|
341
|
+
"removeAttribute", // custom
|
|
342
|
+
"scrollIntoView",
|
|
343
|
+
"setAttribute", // custom
|
|
344
|
+
"setProperty", // custom
|
|
345
|
+
"setValue",
|
|
346
|
+
"setWindowSize",
|
|
347
|
+
"touchAction",
|
|
348
|
+
"url",
|
|
349
|
+
];
|
|
350
|
+
|
|
351
|
+
const waitForWithDelay = [
|
|
352
|
+
"keys",
|
|
353
|
+
];
|
|
354
|
+
|
|
355
|
+
if (waitFor.includes(commandName)) {
|
|
356
|
+
await browser.executeAsync(function (done) {
|
|
357
|
+
window["sap-ui-webcomponents-bundle"].renderFinished().then(done);
|
|
358
|
+
});
|
|
359
|
+
} else if (waitForWithDelay.includes(commandName)) {
|
|
360
|
+
await browser.executeAsync(function (done) {
|
|
361
|
+
setTimeout(() => {
|
|
362
|
+
window["sap-ui-webcomponents-bundle"].renderFinished().then(done);
|
|
363
|
+
}, 10);
|
|
364
|
+
});
|
|
365
|
+
}
|
|
366
|
+
},
|
|
367
|
+
/**
|
|
368
|
+
* Gets executed after all tests are done. You still have access to all global variables from
|
|
369
|
+
* the test.
|
|
370
|
+
* @param {Number} result 0 - test pass, 1 - test fail
|
|
371
|
+
* @param {Array.<Object>} capabilities list of capabilities details
|
|
372
|
+
* @param {Array.<String>} specs List of spec file paths that ran
|
|
373
|
+
*/
|
|
374
|
+
// after: function (result, capabilities, specs) {
|
|
375
|
+
// },
|
|
376
|
+
/**
|
|
377
|
+
* Gets executed right after terminating the webdriver session.
|
|
378
|
+
* @param {Object} config wdio configuration object
|
|
379
|
+
* @param {Array.<Object>} capabilities list of capabilities details
|
|
380
|
+
* @param {Array.<String>} specs List of spec file paths that ran
|
|
381
|
+
*/
|
|
382
|
+
// afterSession: function (config, capabilities, specs) {
|
|
383
|
+
// },
|
|
384
|
+
/**
|
|
385
|
+
* Gets executed after all workers got shut down and the process is about to exit.
|
|
386
|
+
* @param {Object} exitCode 0 - success, 1 - fail
|
|
387
|
+
* @param {Object} config wdio configuration object
|
|
388
|
+
* @param {Array.<Object>} capabilities list of capabilities details
|
|
389
|
+
* @param {<Object>} results object containing test results
|
|
390
|
+
*/
|
|
391
|
+
// onComplete: function(exitCode, config, capabilities, results) {
|
|
392
|
+
// },
|
|
393
|
+
/**
|
|
394
|
+
* Gets executed when a refresh happens.
|
|
395
|
+
* @param {String} oldSessionId session ID of the old session
|
|
396
|
+
* @param {String} newSessionId session ID of the new session
|
|
397
|
+
*/
|
|
398
|
+
//onReload: function(oldSessionId, newSessionId) {
|
|
399
|
+
//}
|
|
400
|
+
}
|
|
@@ -2,10 +2,4 @@ import { registerI18nLoader } from "./asset-registries/i18n.js";
|
|
|
2
2
|
import { registerLocaleDataLoader } from "./asset-registries/LocaleData.js";
|
|
3
3
|
import { registerThemePropertiesLoader } from "./asset-registries/Themes.js";
|
|
4
4
|
import { registerIconLoader } from "./asset-registries/Icons.js";
|
|
5
|
-
|
|
6
|
-
export {
|
|
7
|
-
registerI18nLoader,
|
|
8
|
-
registerLocaleDataLoader,
|
|
9
|
-
registerThemePropertiesLoader,
|
|
10
|
-
registerIconLoader,
|
|
11
|
-
};
|
|
5
|
+
export { registerI18nLoader, registerLocaleDataLoader, registerThemePropertiesLoader, registerIconLoader, };
|
package/dist/AssetRegistry.js
CHANGED
|
@@ -2,10 +2,5 @@ import { registerI18nLoader } from "./asset-registries/i18n.js";
|
|
|
2
2
|
import { registerLocaleDataLoader } from "./asset-registries/LocaleData.js";
|
|
3
3
|
import { registerThemePropertiesLoader } from "./asset-registries/Themes.js";
|
|
4
4
|
import { registerIconLoader } from "./asset-registries/Icons.js";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
registerI18nLoader,
|
|
8
|
-
registerLocaleDataLoader,
|
|
9
|
-
registerThemePropertiesLoader,
|
|
10
|
-
registerIconLoader,
|
|
11
|
-
};
|
|
5
|
+
export { registerI18nLoader, registerLocaleDataLoader, registerThemePropertiesLoader, registerIconLoader, };
|
|
6
|
+
//# sourceMappingURL=AssetRegistry.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AssetRegistry.js","sourceRoot":"","sources":["../src/AssetRegistry.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAChE,OAAO,EAAE,wBAAwB,EAAE,MAAM,kCAAkC,CAAC;AAC5E,OAAO,EAAE,6BAA6B,EAAE,MAAM,8BAA8B,CAAC;AAC7E,OAAO,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAC;AAEjE,OAAO,EACN,kBAAkB,EAClB,wBAAwB,EACxB,6BAA6B,EAC7B,kBAAkB,GAClB,CAAC","sourcesContent":["import { registerI18nLoader } from \"./asset-registries/i18n.js\";\nimport { registerLocaleDataLoader } from \"./asset-registries/LocaleData.js\";\nimport { registerThemePropertiesLoader } from \"./asset-registries/Themes.js\";\nimport { registerIconLoader } from \"./asset-registries/Icons.js\";\n\nexport {\n\tregisterI18nLoader,\n\tregisterLocaleDataLoader,\n\tregisterThemePropertiesLoader,\n\tregisterIconLoader,\n};\n"]}
|
package/dist/Boot.d.ts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Attaches a callback that will be executed after boot finishes.
|
|
3
|
+
* <b>Note:</b> If the framework already booted, the callback will be immediately executed.
|
|
4
|
+
* @public
|
|
5
|
+
* @param { Function } listener
|
|
6
|
+
*/
|
|
7
|
+
declare const attachBoot: (listener: () => void) => void;
|
|
8
|
+
declare const boot: () => Promise<void>;
|
|
9
|
+
export { boot, attachBoot, };
|
package/dist/Boot.js
CHANGED
|
@@ -1,59 +1,71 @@
|
|
|
1
1
|
import whenDOMReady from "./util/whenDOMReady.js";
|
|
2
|
+
import EventProvider from "./EventProvider.js";
|
|
2
3
|
import insertFontFace from "./FontFace.js";
|
|
3
4
|
import insertSystemCSSVars from "./SystemCSSVars.js";
|
|
4
5
|
import { getTheme } from "./config/Theme.js";
|
|
5
6
|
import applyTheme from "./theming/applyTheme.js";
|
|
6
7
|
import { registerCurrentRuntime } from "./Runtimes.js";
|
|
7
8
|
import { getFeature } from "./FeaturesRegistry.js";
|
|
8
|
-
|
|
9
|
+
import { attachThemeRegistered } from "./theming/ThemeRegistered.js";
|
|
10
|
+
let booted = false;
|
|
9
11
|
let bootPromise;
|
|
10
|
-
|
|
12
|
+
const eventProvider = new EventProvider();
|
|
11
13
|
/**
|
|
12
|
-
*
|
|
14
|
+
* Attaches a callback that will be executed after boot finishes.
|
|
15
|
+
* <b>Note:</b> If the framework already booted, the callback will be immediately executed.
|
|
13
16
|
* @public
|
|
14
|
-
* @param listener
|
|
17
|
+
* @param { Function } listener
|
|
15
18
|
*/
|
|
16
|
-
const attachBoot =
|
|
17
|
-
|
|
18
|
-
|
|
19
|
+
const attachBoot = (listener) => {
|
|
20
|
+
if (!booted) {
|
|
21
|
+
eventProvider.attachEvent("boot", listener);
|
|
22
|
+
return;
|
|
23
|
+
}
|
|
24
|
+
listener();
|
|
19
25
|
};
|
|
20
|
-
|
|
21
26
|
const boot = async () => {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
return bootPromise;
|
|
27
|
+
if (bootPromise !== undefined) {
|
|
28
|
+
return bootPromise;
|
|
29
|
+
}
|
|
30
|
+
const bootExecutor = async (resolve) => {
|
|
31
|
+
if (typeof document === "undefined") {
|
|
32
|
+
resolve();
|
|
33
|
+
return;
|
|
34
|
+
}
|
|
35
|
+
attachThemeRegistered(onThemeRegistered);
|
|
36
|
+
registerCurrentRuntime();
|
|
37
|
+
const openUI5Support = getFeature("OpenUI5Support");
|
|
38
|
+
const isOpenUI5Loaded = openUI5Support ? openUI5Support.isLoaded() : false;
|
|
39
|
+
const f6Navigation = getFeature("F6Navigation");
|
|
40
|
+
if (openUI5Support) {
|
|
41
|
+
await openUI5Support.init();
|
|
42
|
+
}
|
|
43
|
+
if (f6Navigation && !isOpenUI5Loaded) {
|
|
44
|
+
f6Navigation.init();
|
|
45
|
+
}
|
|
46
|
+
await whenDOMReady();
|
|
47
|
+
await applyTheme(getTheme());
|
|
48
|
+
openUI5Support && openUI5Support.attachListeners();
|
|
49
|
+
insertFontFace();
|
|
50
|
+
insertSystemCSSVars();
|
|
51
|
+
resolve();
|
|
52
|
+
booted = true;
|
|
53
|
+
await eventProvider.fireEventAsync("boot");
|
|
54
|
+
};
|
|
55
|
+
bootPromise = new Promise(bootExecutor);
|
|
56
|
+
return bootPromise;
|
|
54
57
|
};
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
58
|
+
/**
|
|
59
|
+
* Callback, executed after theme properties registration
|
|
60
|
+
* to apply the newly registered theme.
|
|
61
|
+
* @private
|
|
62
|
+
* @param { string } theme
|
|
63
|
+
*/
|
|
64
|
+
const onThemeRegistered = (theme) => {
|
|
65
|
+
const currentTheme = getTheme();
|
|
66
|
+
if (booted && theme === currentTheme) {
|
|
67
|
+
applyTheme(currentTheme);
|
|
68
|
+
}
|
|
59
69
|
};
|
|
70
|
+
export { boot, attachBoot, };
|
|
71
|
+
//# sourceMappingURL=Boot.js.map
|
package/dist/Boot.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Boot.js","sourceRoot":"","sources":["../src/Boot.ts"],"names":[],"mappings":"AAAA,OAAO,YAAY,MAAM,wBAAwB,CAAC;AAClD,OAAO,aAAa,MAAM,oBAAoB,CAAC;AAC/C,OAAO,cAAc,MAAM,eAAe,CAAC;AAC3C,OAAO,mBAAmB,MAAM,oBAAoB,CAAC;AACrD,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC7C,OAAO,UAAU,MAAM,yBAAyB,CAAC;AACjD,OAAO,EAAE,sBAAsB,EAAE,MAAM,eAAe,CAAC;AACvD,OAAO,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AAInD,OAAO,EAAE,qBAAqB,EAAE,MAAM,8BAA8B,CAAC;AAErE,IAAI,MAAM,GAAG,KAAK,CAAC;AACnB,IAAI,WAA0B,CAAC;AAC/B,MAAM,aAAa,GAAG,IAAI,aAAa,EAAc,CAAC;AAEtD;;;;;GAKG;AACH,MAAM,UAAU,GAAG,CAAC,QAAoB,EAAE,EAAE;IAC3C,IAAI,CAAC,MAAM,EAAE;QACZ,aAAa,CAAC,WAAW,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;QAC5C,OAAO;KACP;IAED,QAAQ,EAAE,CAAC;AACZ,CAAC,CAAC;AAEF,MAAM,IAAI,GAAG,KAAK,IAAmB,EAAE;IACtC,IAAI,WAAW,KAAK,SAAS,EAAE;QAC9B,OAAO,WAAW,CAAC;KACnB;IAED,MAAM,YAAY,GAAG,KAAK,EAAE,OAAuB,EAAE,EAAE;QACtD,IAAI,OAAO,QAAQ,KAAK,WAAW,EAAE;YACpC,OAAO,EAAE,CAAC;YACV,OAAO;SACP;QAED,qBAAqB,CAAC,iBAAiB,CAAC,CAAC;QAEzC,sBAAsB,EAAE,CAAC;QAEzB,MAAM,cAAc,GAAG,UAAU,CAAwB,gBAAgB,CAAC,CAAC;QAC3E,MAAM,eAAe,GAAG,cAAc,CAAC,CAAC,CAAC,cAAc,CAAC,QAAQ,EAAE,CAAC,CAAC,CAAC,KAAK,CAAC;QAC3E,MAAM,YAAY,GAAG,UAAU,CAAsB,cAAc,CAAC,CAAC;QAErE,IAAI,cAAc,EAAE;YACnB,MAAM,cAAc,CAAC,IAAI,EAAE,CAAC;SAC5B;QAED,IAAI,YAAY,IAAI,CAAC,eAAe,EAAE;YACrC,YAAY,CAAC,IAAI,EAAE,CAAC;SACpB;QAED,MAAM,YAAY,EAAE,CAAC;QACrB,MAAM,UAAU,CAAC,QAAQ,EAAE,CAAC,CAAC;QAC7B,cAAc,IAAI,cAAc,CAAC,eAAe,EAAE,CAAC;QACnD,cAAc,EAAE,CAAC;QACjB,mBAAmB,EAAE,CAAC;QAEtB,OAAO,EAAE,CAAC;QAEV,MAAM,GAAG,IAAI,CAAC;QACd,MAAM,aAAa,CAAC,cAAc,CAAC,MAAM,CAAC,CAAC;IAC5C,CAAC,CAAC;IAEF,WAAW,GAAG,IAAI,OAAO,CAAC,YAAiD,CAAC,CAAC;IAC7E,OAAO,WAAW,CAAC;AACpB,CAAC,CAAC;AAEF;;;;;GAKG;AACH,MAAM,iBAAiB,GAAG,CAAC,KAAa,EAAE,EAAE;IAC3C,MAAM,YAAY,GAAG,QAAQ,EAAE,CAAC;IAChC,IAAI,MAAM,IAAI,KAAK,KAAK,YAAY,EAAE;QACrC,UAAU,CAAC,YAAY,CAAC,CAAC;KACzB;AACF,CAAC,CAAC;AAEF,OAAO,EACN,IAAI,EACJ,UAAU,GACV,CAAC","sourcesContent":["import whenDOMReady from \"./util/whenDOMReady.js\";\nimport EventProvider from \"./EventProvider.js\";\nimport insertFontFace from \"./FontFace.js\";\nimport insertSystemCSSVars from \"./SystemCSSVars.js\";\nimport { getTheme } from \"./config/Theme.js\";\nimport applyTheme from \"./theming/applyTheme.js\";\nimport { registerCurrentRuntime } from \"./Runtimes.js\";\nimport { getFeature } from \"./FeaturesRegistry.js\";\nimport type OpenUI5Support from \"./features/OpenUI5Support.js\";\nimport type F6Navigation from \"./features/F6Navigation.js\";\nimport { PromiseResolve } from \"./types.js\";\nimport { attachThemeRegistered } from \"./theming/ThemeRegistered.js\";\n\nlet booted = false;\nlet bootPromise: Promise<void>;\nconst eventProvider = new EventProvider<void, void>();\n\n/**\n * Attaches a callback that will be executed after boot finishes.\n * <b>Note:</b> If the framework already booted, the callback will be immediately executed.\n * @public\n * @param { Function } listener\n */\nconst attachBoot = (listener: () => void) => {\n\tif (!booted) {\n\t\teventProvider.attachEvent(\"boot\", listener);\n\t\treturn;\n\t}\n\n\tlistener();\n};\n\nconst boot = async (): Promise<void> => {\n\tif (bootPromise !== undefined) {\n\t\treturn bootPromise;\n\t}\n\n\tconst bootExecutor = async (resolve: PromiseResolve) => {\n\t\tif (typeof document === \"undefined\") {\n\t\t\tresolve();\n\t\t\treturn;\n\t\t}\n\n\t\tattachThemeRegistered(onThemeRegistered);\n\n\t\tregisterCurrentRuntime();\n\n\t\tconst openUI5Support = getFeature<typeof OpenUI5Support>(\"OpenUI5Support\");\n\t\tconst isOpenUI5Loaded = openUI5Support ? openUI5Support.isLoaded() : false;\n\t\tconst f6Navigation = getFeature<typeof F6Navigation>(\"F6Navigation\");\n\n\t\tif (openUI5Support) {\n\t\t\tawait openUI5Support.init();\n\t\t}\n\n\t\tif (f6Navigation && !isOpenUI5Loaded) {\n\t\t\tf6Navigation.init();\n\t\t}\n\n\t\tawait whenDOMReady();\n\t\tawait applyTheme(getTheme());\n\t\topenUI5Support && openUI5Support.attachListeners();\n\t\tinsertFontFace();\n\t\tinsertSystemCSSVars();\n\n\t\tresolve();\n\n\t\tbooted = true;\n\t\tawait eventProvider.fireEventAsync(\"boot\");\n\t};\n\n\tbootPromise = new Promise(bootExecutor as (resolve: PromiseResolve) => void);\n\treturn bootPromise;\n};\n\n/**\n * Callback, executed after theme properties registration\n * to apply the newly registered theme.\n * @private\n * @param { string } theme\n */\nconst onThemeRegistered = (theme: string) => {\n\tconst currentTheme = getTheme();\n\tif (booted && theme === currentTheme) {\n\t\tapplyTheme(currentTheme);\n\t}\n};\n\nexport {\n\tboot,\n\tattachBoot,\n};\n"]}
|
|
@@ -1,22 +1,12 @@
|
|
|
1
|
-
const roots = new Map();
|
|
2
|
-
let useLinks = false;
|
|
3
|
-
let preloadLinks = true;
|
|
4
|
-
|
|
5
1
|
/**
|
|
6
|
-
* Use this function to provide the path to the directory where the css resources for the given package will be served from
|
|
2
|
+
* Use this function to provide the path to the directory where the css resources for the given package will be served from.
|
|
7
3
|
*
|
|
8
4
|
* @public
|
|
9
5
|
* @param packageName name of the package that is being configured
|
|
10
6
|
* @param root path, accessible by the server that will serve the css resources
|
|
11
7
|
*/
|
|
12
|
-
const setPackageCSSRoot
|
|
13
|
-
|
|
14
|
-
};
|
|
15
|
-
|
|
16
|
-
const getUrl = (packageName, path) => {
|
|
17
|
-
return `${roots.get(packageName)}${path}`;
|
|
18
|
-
};
|
|
19
|
-
|
|
8
|
+
declare const setPackageCSSRoot: (packageName: string, root: string) => void;
|
|
9
|
+
declare const getUrl: (packageName: string, path: string) => string;
|
|
20
10
|
/**
|
|
21
11
|
* Call this function to enable or disable the usage of <link> tags instead of <style> tags to achieve CSP compliance
|
|
22
12
|
* Example: "setUseLinks(true)" will unconditionally use <link> tags for all browsers;
|
|
@@ -25,10 +15,7 @@ const getUrl = (packageName, path) => {
|
|
|
25
15
|
* @public
|
|
26
16
|
* @param use whether links will be used
|
|
27
17
|
*/
|
|
28
|
-
const setUseLinks
|
|
29
|
-
useLinks = use;
|
|
30
|
-
};
|
|
31
|
-
|
|
18
|
+
declare const setUseLinks: (use: boolean) => void;
|
|
32
19
|
/**
|
|
33
20
|
* Call this function to enable or disable the preloading of <link> tags.
|
|
34
21
|
* Note: only taken into account when <link> tags are being used.
|
|
@@ -37,23 +24,7 @@ const setUseLinks = use => {
|
|
|
37
24
|
* @public
|
|
38
25
|
* @param preload
|
|
39
26
|
*/
|
|
40
|
-
const setPreloadLinks
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
const shouldUseLinks = () => {
|
|
45
|
-
return useLinks;
|
|
46
|
-
};
|
|
47
|
-
|
|
48
|
-
const shouldPreloadLinks = () => {
|
|
49
|
-
return preloadLinks;
|
|
50
|
-
};
|
|
51
|
-
|
|
52
|
-
export {
|
|
53
|
-
setPackageCSSRoot,
|
|
54
|
-
getUrl,
|
|
55
|
-
setUseLinks,
|
|
56
|
-
setPreloadLinks,
|
|
57
|
-
shouldUseLinks,
|
|
58
|
-
shouldPreloadLinks,
|
|
59
|
-
};
|
|
27
|
+
declare const setPreloadLinks: (preload: boolean) => void;
|
|
28
|
+
declare const shouldUseLinks: () => boolean;
|
|
29
|
+
declare const shouldPreloadLinks: () => boolean;
|
|
30
|
+
export { setPackageCSSRoot, getUrl, setUseLinks, setPreloadLinks, shouldUseLinks, shouldPreloadLinks, };
|