@ui5/webcomponents-base 0.0.0-bad80d0d6 → 0.0.0-bf8366eb6
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/.npsrc.json +3 -0
- package/CHANGELOG.md +1710 -0
- package/README.md +50 -7
- package/config/wdio.conf.cjs +392 -0
- package/dist/.tsbuildinfo +1 -0
- package/dist/AssetRegistry.d.ts +5 -0
- package/dist/AssetRegistry.js +3 -8
- package/dist/AssetRegistry.js.map +1 -0
- package/dist/Boot.d.ts +10 -0
- package/dist/Boot.js +58 -28
- package/dist/Boot.js.map +1 -0
- package/dist/CustomElementsRegistry.d.ts +5 -0
- package/dist/CustomElementsRegistry.js +69 -30
- package/dist/CustomElementsRegistry.js.map +1 -0
- package/dist/CustomElementsScope.d.ts +7 -0
- package/dist/CustomElementsScope.js +11 -108
- package/dist/CustomElementsScope.js.map +1 -0
- package/dist/CustomElementsScopeUtils.d.ts +62 -0
- package/dist/CustomElementsScopeUtils.js +102 -0
- 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 +152 -84
- package/dist/Device.js.map +1 -0
- package/dist/EventProvider.d.ts +25 -0
- package/dist/EventProvider.js +67 -88
- package/dist/EventProvider.js.map +1 -0
- package/dist/FeaturesRegistry.d.ts +3 -0
- package/dist/FeaturesRegistry.js +5 -7
- package/dist/FeaturesRegistry.js.map +1 -0
- package/dist/FontFace.d.ts +2 -0
- package/dist/FontFace.js +17 -110
- package/dist/FontFace.js.map +1 -0
- package/dist/IgnoreCustomElements.d.ts +25 -0
- package/dist/IgnoreCustomElements.js +37 -0
- package/dist/IgnoreCustomElements.js.map +1 -0
- package/dist/InitialConfiguration.d.ts +27 -0
- package/dist/InitialConfiguration.js +123 -115
- package/dist/InitialConfiguration.js.map +1 -0
- package/dist/Keys.d.ts +63 -0
- package/dist/Keys.js +179 -227
- package/dist/Keys.js.map +1 -0
- package/dist/ManagedStyles.d.ts +9 -0
- package/dist/ManagedStyles.js +79 -0
- 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 +31 -0
- package/dist/MediaRange.js +62 -83
- 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 +82 -112
- 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 +86 -0
- package/dist/Runtimes.js.map +1 -0
- package/dist/SystemCSSVars.d.ts +2 -0
- package/dist/SystemCSSVars.js +6 -28
- 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 +376 -0
- package/dist/UI5Element.js +1004 -1003
- package/dist/UI5Element.js.map +1 -0
- package/dist/UI5ElementMetadata.d.ts +150 -0
- package/dist/UI5ElementMetadata.js +290 -299
- 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/asset-registries/Icons.d.ts +39 -0
- package/dist/asset-registries/Icons.js +120 -102
- package/dist/asset-registries/Icons.js.map +1 -0
- package/dist/asset-registries/Illustrations.d.ts +19 -0
- package/dist/asset-registries/Illustrations.js +77 -0
- 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 -118
- package/dist/asset-registries/LocaleData.js.map +1 -0
- package/dist/asset-registries/Themes.d.ts +12 -0
- package/dist/asset-registries/Themes.js +57 -67
- package/dist/asset-registries/Themes.js.map +1 -0
- package/dist/asset-registries/i18n.d.ts +23 -0
- package/dist/asset-registries/i18n.js +64 -83
- package/dist/asset-registries/i18n.js.map +1 -0
- package/dist/asset-registries/util/IconCollectionsAlias.d.ts +30 -0
- package/dist/asset-registries/util/IconCollectionsAlias.js +37 -0
- package/dist/asset-registries/util/IconCollectionsAlias.js.map +1 -0
- package/dist/asset-registries/util/IconCollectionsByTheme.d.ts +20 -0
- package/dist/asset-registries/util/IconCollectionsByTheme.js +42 -0
- package/dist/asset-registries/util/IconCollectionsByTheme.js.map +1 -0
- package/dist/asset-registries/util/getIconCollectionByTheme.d.ts +13 -0
- package/dist/asset-registries/util/getIconCollectionByTheme.js +29 -0
- package/dist/asset-registries/util/getIconCollectionByTheme.js.map +1 -0
- package/dist/config/AnimationMode.d.ts +14 -0
- package/dist/config/AnimationMode.js +22 -18
- package/dist/config/AnimationMode.js.map +1 -0
- package/dist/config/CalendarType.d.ts +15 -0
- package/dist/config/CalendarType.js +31 -14
- 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 +40 -0
- package/dist/config/Icons.js +44 -0
- package/dist/config/Icons.js.map +1 -0
- package/dist/config/Language.d.ts +40 -0
- package/dist/config/Language.js +47 -44
- 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/Theme.d.ts +39 -0
- package/dist/config/Theme.js +71 -22
- package/dist/config/Theme.js.map +1 -0
- package/dist/config/ThemeRoot.d.ts +27 -0
- package/dist/config/ThemeRoot.js +57 -0
- package/dist/config/ThemeRoot.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/connectToComponent.d.ts +9 -0
- package/dist/connectToComponent.js +59 -0
- package/dist/connectToComponent.js.map +1 -0
- package/dist/css/BusyIndicator.css +80 -0
- package/dist/css/FontFace.css +96 -0
- package/dist/css/OverrideFontFace.css +32 -0
- package/dist/css/SystemCSSVars.css +9 -0
- package/dist/decorators/customElement.d.ts +23 -0
- package/dist/decorators/customElement.js +42 -0
- package/dist/decorators/customElement.js.map +1 -0
- package/dist/decorators/event.d.ts +13 -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/decorators.d.ts +5 -0
- package/dist/decorators.js +6 -0
- package/dist/decorators.js.map +1 -0
- package/dist/delegate/ItemNavigation.d.ts +114 -0
- package/dist/delegate/ItemNavigation.js +283 -253
- package/dist/delegate/ItemNavigation.js.map +1 -0
- package/dist/delegate/ResizeHandler.d.ts +23 -0
- package/dist/delegate/ResizeHandler.js +70 -91
- package/dist/delegate/ResizeHandler.js.map +1 -0
- package/dist/delegate/ScrollEnablement.d.ts +49 -0
- package/dist/delegate/ScrollEnablement.js +157 -174
- package/dist/delegate/ScrollEnablement.js.map +1 -0
- package/dist/features/F6Navigation.d.ts +19 -0
- package/dist/features/F6Navigation.js +151 -0
- package/dist/features/F6Navigation.js.map +1 -0
- package/dist/features/InputElementsFormSupport.d.ts +18 -0
- package/dist/features/InputElementsFormSupport.js +40 -0
- package/dist/features/InputElementsFormSupport.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 +96 -0
- package/dist/features/OpenUI5Enablement.js.map +1 -0
- package/dist/features/OpenUI5Support.d.ts +34 -0
- package/dist/features/OpenUI5Support.js +137 -122
- package/dist/features/OpenUI5Support.js.map +1 -0
- package/dist/features/patchPatcher.d.ts +11 -0
- package/dist/features/patchPatcher.js +11 -0
- package/dist/features/patchPatcher.js.map +1 -0
- package/dist/features/patchPopup.d.ts +14 -0
- package/dist/features/patchPopup.js +50 -0
- package/dist/features/patchPopup.js.map +1 -0
- package/dist/generated/AssetParameters.d.ts +6 -0
- package/dist/generated/AssetParameters.js +4 -9
- package/dist/generated/AssetParameters.js.map +1 -0
- package/dist/generated/VersionInfo.d.ts +10 -0
- package/dist/generated/VersionInfo.js +11 -0
- package/dist/generated/VersionInfo.js.map +1 -0
- package/dist/generated/css/BusyIndicator.css.d.ts +3 -0
- package/dist/generated/css/BusyIndicator.css.js +7 -0
- 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 -0
- 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 -0
- 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 -0
- 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 +28 -18
- package/dist/getSharedResource.js.map +1 -0
- package/dist/global.d.ts +40 -0
- package/dist/i18nBundle.d.ts +41 -0
- package/dist/i18nBundle.js +65 -44
- 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 +11 -0
- package/dist/locale/applyDirection.js +8 -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 +6 -26
- 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 -24
- package/dist/renderer/LitRenderer.js.map +1 -0
- package/dist/renderer/directives/style-map.d.ts +13 -0
- package/dist/renderer/directives/style-map.js +72 -0
- package/dist/renderer/directives/style-map.js.map +1 -0
- package/dist/renderer/executeTemplate.d.ts +21 -0
- package/dist/renderer/executeTemplate.js +21 -7
- package/dist/renderer/executeTemplate.js.map +1 -0
- package/dist/sap/base/Log.js +750 -0
- package/dist/sap/base/assert.js +34 -0
- package/dist/sap/base/config/MemoryConfigurationProvider.js +20 -0
- package/dist/sap/base/security/URLListValidator.js +406 -0
- package/dist/sap/base/security/encodeCSS.js +40 -0
- package/dist/sap/base/security/encodeXML.js +53 -0
- package/dist/sap/base/security/sanitizeHTML.js +38 -0
- package/dist/sap/base/strings/toHex.js +33 -0
- package/dist/sap/base/util/now.js +28 -0
- package/dist/sap/base/util/uid.js +27 -0
- package/dist/sap/ui/thirdparty/caja-html-sanitizer.js +3600 -0
- package/dist/ssr-dom-shim.d.ts +1 -0
- package/dist/ssr-dom-shim.js +12 -0
- package/dist/ssr-dom-shim.js.map +1 -0
- package/dist/ssr-dom.d.ts +0 -0
- package/dist/ssr-dom.js +0 -0
- package/dist/theming/CustomStyle.d.ts +6 -0
- package/dist/theming/CustomStyle.js +39 -31
- 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 +63 -65
- package/dist/theming/applyTheme.js.map +1 -0
- package/dist/theming/getConstructableStyle.d.ts +9 -0
- package/dist/theming/getConstructableStyle.js +13 -18
- package/dist/theming/getConstructableStyle.js.map +1 -0
- package/dist/theming/getEffectiveStyle.d.ts +3 -0
- package/dist/theming/getEffectiveStyle.js +19 -24
- package/dist/theming/getEffectiveStyle.js.map +1 -0
- package/dist/theming/getStylesString.d.ts +3 -0
- package/dist/theming/getStylesString.js +9 -11
- package/dist/theming/getStylesString.js.map +1 -0
- package/dist/theming/getThemeDesignerTheme.d.ts +7 -0
- package/dist/theming/getThemeDesignerTheme.js +73 -60
- package/dist/theming/getThemeDesignerTheme.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 +24 -0
- package/dist/types/AnimationMode.js +25 -6
- package/dist/types/AnimationMode.js.map +1 -0
- package/dist/types/AriaHasPopup.d.ts +32 -0
- package/dist/types/AriaHasPopup.js +34 -0
- package/dist/types/AriaHasPopup.js.map +1 -0
- package/dist/types/AriaLandmarkRole.d.ts +79 -0
- package/dist/types/AriaLandmarkRole.js +81 -0
- package/dist/types/AriaLandmarkRole.js.map +1 -0
- package/dist/types/AriaRole.d.ts +27 -0
- package/dist/types/AriaRole.js +29 -0
- package/dist/types/AriaRole.js.map +1 -0
- package/dist/types/CSSColor.d.ts +11 -0
- package/dist/types/CSSColor.js +10 -5
- package/dist/types/CSSColor.js.map +1 -0
- package/dist/types/CSSSize.d.ts +11 -0
- package/dist/types/CSSSize.js +10 -5
- package/dist/types/CSSSize.js.map +1 -0
- package/dist/types/CalendarType.d.ts +28 -0
- package/dist/types/CalendarType.js +26 -18
- package/dist/types/CalendarType.js.map +1 -0
- package/dist/types/DOMReference.d.ts +13 -0
- package/dist/types/DOMReference.js +21 -0
- package/dist/types/DOMReference.js.map +1 -0
- package/dist/types/DataType.d.ts +20 -0
- package/dist/types/DataType.js +31 -17
- package/dist/types/DataType.js.map +1 -0
- package/dist/types/Float.d.ts +14 -0
- package/dist/types/Float.js +14 -6
- package/dist/types/Float.js.map +1 -0
- package/dist/types/Integer.d.ts +14 -0
- package/dist/types/Integer.js +14 -5
- package/dist/types/Integer.js.map +1 -0
- package/dist/types/InvisibleMessageMode.d.ts +20 -0
- package/dist/types/InvisibleMessageMode.js +20 -0
- package/dist/types/InvisibleMessageMode.js.map +1 -0
- package/dist/types/ItemNavigationBehavior.d.ts +18 -0
- package/dist/types/ItemNavigationBehavior.js +16 -12
- package/dist/types/ItemNavigationBehavior.js.map +1 -0
- package/dist/types/MovePlacement.d.ts +20 -0
- package/dist/types/MovePlacement.js +22 -0
- package/dist/types/MovePlacement.js.map +1 -0
- package/dist/types/NavigationMode.d.ts +24 -0
- package/dist/types/NavigationMode.js +25 -6
- package/dist/types/NavigationMode.js.map +1 -0
- package/dist/types/Orientation.d.ts +16 -0
- package/dist/types/Orientation.js +18 -0
- package/dist/types/Orientation.js.map +1 -0
- package/dist/types/ValueState.d.ts +28 -0
- package/dist/types/ValueState.js +27 -19
- package/dist/types/ValueState.js.map +1 -0
- package/dist/types.d.ts +41 -0
- package/dist/types.js +2 -0
- package/dist/types.js.map +1 -0
- package/dist/updateShadowRoot.d.ts +7 -0
- package/dist/updateShadowRoot.js +11 -19
- 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 -38
- package/dist/util/Caret.js.map +1 -0
- package/dist/util/ColorConversion.d.ts +30 -0
- package/dist/util/ColorConversion.js +320 -348
- 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 +67 -68
- package/dist/util/FocusableElements.js.map +1 -0
- package/dist/util/HTMLSanitizer.d.ts +3 -0
- package/dist/util/HTMLSanitizer.js +6 -0
- package/dist/util/HTMLSanitizer.js.map +1 -0
- package/dist/util/InvisibleMessage.d.ts +10 -0
- package/dist/util/InvisibleMessage.js +56 -0
- package/dist/util/InvisibleMessage.js.map +1 -0
- package/dist/util/PopupUtils.d.ts +5 -0
- package/dist/util/PopupUtils.js +53 -86
- 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 -43
- 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 +3 -2
- package/dist/util/clamp.js.map +1 -0
- package/dist/util/createLinkInHead.d.ts +7 -0
- package/dist/util/createLinkInHead.js +21 -0
- package/dist/util/createLinkInHead.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 +13 -11
- package/dist/util/detectNavigatorLanguage.js.map +1 -0
- package/dist/util/dragAndDrop/DragRegistry.d.ts +12 -0
- package/dist/util/dragAndDrop/DragRegistry.js +68 -0
- package/dist/util/dragAndDrop/DragRegistry.js.map +1 -0
- package/dist/util/dragAndDrop/findClosestPosition.d.ts +7 -0
- package/dist/util/dragAndDrop/findClosestPosition.js +59 -0
- package/dist/util/dragAndDrop/findClosestPosition.js.map +1 -0
- package/dist/util/dragAndDrop/longDragOverHandler.d.ts +2 -0
- package/dist/util/dragAndDrop/longDragOverHandler.js +25 -0
- package/dist/util/dragAndDrop/longDragOverHandler.js.map +1 -0
- package/dist/util/escapeRegex.d.ts +8 -0
- package/dist/util/escapeRegex.js +11 -0
- 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 +41 -0
- 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 +421 -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 +5 -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/dist/util/getNormalizedTarget.d.ts +7 -0
- package/dist/util/getNormalizedTarget.js +14 -0
- package/dist/util/getNormalizedTarget.js.map +1 -0
- package/dist/util/getParentElement.d.ts +2 -0
- package/dist/util/getParentElement.js +5 -0
- package/dist/util/getParentElement.js.map +1 -0
- package/dist/util/getSingletonElementInstance.d.ts +11 -0
- package/dist/util/getSingletonElementInstance.js +17 -11
- 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/isElementContainingBlock.d.ts +2 -0
- package/dist/util/isElementContainingBlock.js +11 -0
- package/dist/util/isElementContainingBlock.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 +212 -2
- package/package-scripts.cjs +74 -0
- package/package.json +35 -10
- package/src/css/BusyIndicator.css +80 -0
- package/src/css/FontFace.css +96 -0
- package/src/css/OverrideFontFace.css +32 -0
- package/src/css/SystemCSSVars.css +9 -0
- package/tsconfig.json +20 -0
- package/.eslintignore +0 -12
- package/bundle.esm.js +0 -54
- package/config/.eslintrc.js +0 -3
- package/config/rollup.config.js +0 -1
- package/config/wdio.conf.js +0 -1
- package/dist/RenderScheduler.js +0 -44
- package/dist/StaticArea.js +0 -3
- package/dist/StaticAreaItem.js +0 -96
- package/dist/animations/config.js +0 -5
- package/dist/config/AssetsPath.js +0 -17
- package/dist/config/RTL.js +0 -31
- package/dist/isLegacyBrowser.js +0 -3
- package/dist/renderer/ifDefined.js +0 -21
- package/dist/renderer/scopeHTML.js +0 -32
- package/dist/resources/bundle.esm.js +0 -121
- package/dist/resources/bundle.esm.js.map +0 -1
- package/dist/test-resources/assets/Themes.js +0 -17
- package/dist/test-resources/elements/Child.js +0 -35
- package/dist/test-resources/elements/Generic.js +0 -84
- package/dist/test-resources/elements/GenericExt.js +0 -26
- package/dist/test-resources/elements/NoShadowDOM.js +0 -13
- package/dist/test-resources/elements/Parent.js +0 -41
- package/dist/test-resources/elements/WithStaticArea.js +0 -76
- package/dist/test-resources/pages/AllTestElements.html +0 -39
- package/dist/test-resources/pages/Configuration.html +0 -18
- package/dist/test-resources/pages/ConfigurationScript.html +0 -34
- package/dist/test-resources/pages/assets/messagebundle_de.properties +0 -1
- package/dist/test-resources/pages/assets/messagebundle_en.properties +0 -1
- package/dist/test-resources/pages/assets/messagebundle_es.properties +0 -1
- package/dist/test-resources/pages/assets/messagebundle_fr.properties +0 -1
- package/dist/test-resources/pages/i18n.html +0 -35
- package/dist/test-resources/specs/ConfigurationChange.spec.js +0 -27
- package/dist/test-resources/specs/ConfigurationScript.spec.js +0 -63
- package/dist/test-resources/specs/ConfigurationURL.spec.js +0 -47
- package/dist/test-resources/specs/CustomTheme.spec.js +0 -27
- package/dist/test-resources/specs/StaticArea.spec.js +0 -36
- package/dist/test-resources/specs/Theming.spec.js +0 -33
- package/dist/test-resources/specs/UI5ElementInvalidation.js +0 -242
- package/dist/test-resources/specs/UI5ElementLifecycle.js +0 -98
- package/dist/test-resources/specs/UI5ElementListenForChildPropChanges.spec.js +0 -75
- package/dist/test-resources/specs/UI5ElementMetadataExt.js +0 -42
- package/dist/test-resources/specs/UI5ElementPropertyValidation.js +0 -14
- package/dist/test-resources/specs/UI5ElementPropsAndAttrs.spec.js +0 -67
- package/dist/test-resources/specs/UI5ElementShadowDOM.js +0 -24
- package/dist/test-resources/specs/UI5ElementSlots.js +0 -36
- package/dist/theming/createThemePropertiesStyleTag.js +0 -20
- package/dist/types/PopupState.js +0 -37
- package/dist/util/createStyleInHead.js +0 -18
- package/dist/util/encodeCSS.js +0 -24
- package/dist/util/findNodeOwner.js +0 -35
- 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/lib/generate-asset-parameters/index.js +0 -22
- package/package-scripts.js +0 -43
- package/src/AssetRegistry.js +0 -11
- package/src/Boot.js +0 -43
- package/src/CustomElementsRegistry.js +0 -39
- package/src/CustomElementsScope.js +0 -108
- package/src/DOMObserver.js +0 -65
- package/src/Device.js +0 -100
- package/src/EventProvider.js +0 -91
- package/src/FeaturesRegistry.js +0 -11
- package/src/FontFace.js +0 -118
- package/src/InitialConfiguration.js +0 -149
- package/src/Keys.js +0 -233
- package/src/MediaRange.js +0 -109
- package/src/PropertiesFileFormat.js +0 -95
- package/src/Render.js +0 -173
- package/src/RenderQueue.js +0 -66
- package/src/RenderScheduler.js +0 -44
- package/src/StaticArea.js +0 -3
- package/src/StaticAreaItem.js +0 -96
- package/src/SystemCSSVars.js +0 -31
- package/src/UI5Element.js +0 -1034
- package/src/UI5ElementMetadata.js +0 -311
- 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 -118
- package/src/asset-registries/LocaleData.js +0 -150
- package/src/asset-registries/Themes.js +0 -78
- package/src/asset-registries/i18n.js +0 -121
- package/src/config/AnimationMode.js +0 -23
- package/src/config/AssetsPath.js +0 -17
- package/src/config/CalendarType.js +0 -18
- package/src/config/FormatSettings.js +0 -13
- 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 -28
- package/src/delegate/ItemNavigation.js +0 -285
- package/src/delegate/ResizeHandler.js +0 -106
- package/src/delegate/ScrollEnablement.js +0 -182
- package/src/features/OpenUI5Support.js +0 -125
- package/src/getSharedResource.js +0 -30
- package/src/i18nBundle.js +0 -55
- package/src/isLegacyBrowser.js +0 -3
- 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 -31
- package/src/renderer/executeTemplate.js +0 -17
- package/src/renderer/ifDefined.js +0 -21
- package/src/renderer/scopeHTML.js +0 -32
- package/src/theming/CustomStyle.js +0 -40
- package/src/theming/ThemeLoaded.js +0 -22
- package/src/theming/applyTheme.js +0 -78
- package/src/theming/createThemePropertiesStyleTag.js +0 -20
- package/src/theming/getConstructableStyle.js +0 -30
- package/src/theming/getEffectiveStyle.js +0 -30
- package/src/theming/getStylesString.js +0 -13
- package/src/theming/getThemeDesignerTheme.js +0 -67
- 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 -25
- package/src/types/Float.js +0 -10
- package/src/types/Integer.js +0 -9
- 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 -26
- package/src/util/AriaLabelHelper.js +0 -41
- package/src/util/Caret.js +0 -45
- package/src/util/ColorConversion.js +0 -370
- package/src/util/FetchHelper.js +0 -31
- package/src/util/FocusableElements.js +0 -73
- 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 -47
- package/src/util/arraysAreEqual.js +0 -15
- package/src/util/createStyleInHead.js +0 -18
- package/src/util/debounce.js +0 -17
- package/src/util/detectNavigatorLanguage.js +0 -13
- package/src/util/encodeCSS.js +0 -24
- package/src/util/findNodeOwner.js +0 -35
- package/src/util/formatMessage.js +0 -23
- 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/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
package/index.js
CHANGED
|
@@ -1,4 +1,214 @@
|
|
|
1
|
-
|
|
1
|
+
// animations/
|
|
2
|
+
import scroll from "./dist/animations/scroll.js";
|
|
3
|
+
import slideDown from "./dist/animations/slideDown.js";
|
|
4
|
+
import slideUp from "./dist/animations/slideUp.js";
|
|
5
|
+
|
|
6
|
+
// config/
|
|
7
|
+
import { getAnimationMode, setAnimationMode } from "./dist/config/AnimationMode.js";
|
|
8
|
+
import { getCalendarType } from "./dist/config/CalendarType.js";
|
|
9
|
+
import { getFirstDayOfWeek, getLegacyDateCalendarCustomizing } from "./dist/config/FormatSettings.js";
|
|
10
|
+
import {
|
|
11
|
+
setDefaultIconCollection,
|
|
12
|
+
getDefaultIconCollection,
|
|
13
|
+
} from "./dist/config/Icons.js";
|
|
14
|
+
import { RegisteredIconCollection } from "./dist/asset-registries/util/IconCollectionsByTheme.js";
|
|
15
|
+
import getEffectiveIconCollection from "./dist/asset-registries/util/getIconCollectionByTheme.js";
|
|
16
|
+
import {
|
|
17
|
+
getLanguage,
|
|
18
|
+
setLanguage,
|
|
19
|
+
getDefaultLanguage,
|
|
20
|
+
setFetchDefaultLanguage,
|
|
21
|
+
getFetchDefaultLanguage,
|
|
22
|
+
} from "./dist/config/Language.js";
|
|
23
|
+
import { getNoConflict, setNoConflict } from "./dist/config/NoConflict.js";
|
|
24
|
+
import {
|
|
25
|
+
getTheme,
|
|
26
|
+
setTheme,
|
|
27
|
+
getDefaultTheme,
|
|
28
|
+
} from "./dist/config/Theme.js";
|
|
29
|
+
|
|
30
|
+
// decorators/
|
|
31
|
+
import customElement from "./dist/decorators/customElement.js";
|
|
32
|
+
import event from "./dist/decorators/event.js";
|
|
33
|
+
import property from "./dist/decorators/property.js";
|
|
34
|
+
import slot from "./dist/decorators/slot.js";
|
|
35
|
+
|
|
36
|
+
// delegate/
|
|
37
|
+
import ItemNavigation from "./dist/delegate/ItemNavigation.js";
|
|
38
|
+
import ResizeHandler from "./dist/delegate/ResizeHandler.js";
|
|
39
|
+
import ScrollEnablement from "./dist/delegate/ScrollEnablement.js";
|
|
40
|
+
|
|
41
|
+
// locale/
|
|
42
|
+
import applyDirection from "./dist/locale/applyDirection.js";
|
|
43
|
+
import { attachDirectionChange, detachDirectionChange } from "./dist/locale/directionChange.js";
|
|
44
|
+
import getEffectiveDir from "./dist/locale/getEffectiveDir.js";
|
|
45
|
+
import { attachLanguageChange, detachLanguageChange } from "./dist/locale/languageChange.js";
|
|
46
|
+
|
|
47
|
+
// util/
|
|
48
|
+
import { URLListValidator, sanitizeHTML } from "./dist/util/HTMLSanitizer.js";
|
|
49
|
+
|
|
50
|
+
// Assets.ts
|
|
51
|
+
import { registerI18nLoader } from "./dist/asset-registries/i18n.js";
|
|
52
|
+
import { registerLocaleDataLoader } from "./dist/asset-registries/LocaleData.js";
|
|
53
|
+
import { registerThemePropertiesLoader } from "./dist/asset-registries/Themes.js";
|
|
54
|
+
import { registerIconLoader } from "./dist/asset-registries/Icons.js";
|
|
55
|
+
|
|
56
|
+
// Boot.ts
|
|
57
|
+
import { attachBoot } from "./dist/Boot.js";
|
|
58
|
+
|
|
59
|
+
// CustomElementsScope.ts
|
|
60
|
+
import {
|
|
61
|
+
setCustomElementsScopingSuffix,
|
|
62
|
+
getCustomElementsScopingSuffix,
|
|
63
|
+
setCustomElementsScopingRules,
|
|
64
|
+
getCustomElementsScopingRules,
|
|
65
|
+
getEffectiveScopingSuffixForTag,
|
|
66
|
+
} from "./dist/CustomElementsScope.js";
|
|
67
|
+
|
|
68
|
+
// Device.ts
|
|
69
|
+
import {
|
|
70
|
+
supportsTouch,
|
|
71
|
+
isSafari,
|
|
72
|
+
isChrome,
|
|
73
|
+
isFirefox,
|
|
74
|
+
isPhone,
|
|
75
|
+
isTablet,
|
|
76
|
+
isDesktop,
|
|
77
|
+
isCombi,
|
|
78
|
+
isIOS,
|
|
79
|
+
isAndroid,
|
|
80
|
+
} from "./dist/Device.js";
|
|
81
|
+
|
|
82
|
+
// EventProvider.ts
|
|
83
|
+
import EventProvider from "./dist/EventProvider.js";
|
|
84
|
+
|
|
85
|
+
// i18nBundle.ts
|
|
86
|
+
import I18nBundle, { getI18nBundle, registerCustomI18nBundleGetter } from "./dist/i18nBundle.js";
|
|
87
|
+
|
|
88
|
+
// MediaRange.ts
|
|
89
|
+
import MediaRange from "./dist/MediaRange.js";
|
|
90
|
+
|
|
91
|
+
// PropertiesFileFormat.ts
|
|
92
|
+
import parseProperties from "./dist/PropertiesFileFormat.js";
|
|
93
|
+
|
|
94
|
+
// Render.ts
|
|
95
|
+
import {
|
|
96
|
+
renderDeferred,
|
|
97
|
+
renderImmediately,
|
|
98
|
+
cancelRender,
|
|
99
|
+
renderFinished,
|
|
100
|
+
} from "./dist/Render.js";
|
|
101
|
+
|
|
102
|
+
// Theming.ts
|
|
103
|
+
import { addCustomCSS, attachThemeLoaded, detachThemeLoaded } from "./dist/Theming.js";
|
|
104
|
+
|
|
105
|
+
// UI5Element.ts
|
|
106
|
+
import UI5Element from "./dist/UI5Element.js";
|
|
2
107
|
|
|
3
108
|
export default UI5Element;
|
|
4
|
-
export {
|
|
109
|
+
export {
|
|
110
|
+
// animations/
|
|
111
|
+
scroll,
|
|
112
|
+
slideDown,
|
|
113
|
+
slideUp,
|
|
114
|
+
|
|
115
|
+
// config/
|
|
116
|
+
getAnimationMode,
|
|
117
|
+
setAnimationMode,
|
|
118
|
+
getCalendarType,
|
|
119
|
+
getFirstDayOfWeek,
|
|
120
|
+
getLegacyDateCalendarCustomizing,
|
|
121
|
+
setDefaultIconCollection,
|
|
122
|
+
getDefaultIconCollection,
|
|
123
|
+
getEffectiveIconCollection,
|
|
124
|
+
RegisteredIconCollection,
|
|
125
|
+
getLanguage,
|
|
126
|
+
setLanguage,
|
|
127
|
+
getDefaultLanguage,
|
|
128
|
+
setFetchDefaultLanguage,
|
|
129
|
+
getFetchDefaultLanguage,
|
|
130
|
+
getNoConflict,
|
|
131
|
+
setNoConflict,
|
|
132
|
+
getTheme,
|
|
133
|
+
setTheme,
|
|
134
|
+
getDefaultTheme,
|
|
135
|
+
|
|
136
|
+
// decorators/
|
|
137
|
+
customElement,
|
|
138
|
+
event,
|
|
139
|
+
property,
|
|
140
|
+
slot,
|
|
141
|
+
|
|
142
|
+
// delegate/
|
|
143
|
+
ItemNavigation,
|
|
144
|
+
ResizeHandler,
|
|
145
|
+
ScrollEnablement,
|
|
146
|
+
|
|
147
|
+
// locale/
|
|
148
|
+
applyDirection,
|
|
149
|
+
attachDirectionChange,
|
|
150
|
+
detachDirectionChange,
|
|
151
|
+
getEffectiveDir,
|
|
152
|
+
attachLanguageChange,
|
|
153
|
+
detachLanguageChange,
|
|
154
|
+
|
|
155
|
+
// util/
|
|
156
|
+
URLListValidator,
|
|
157
|
+
sanitizeHTML,
|
|
158
|
+
|
|
159
|
+
// Assets.ts
|
|
160
|
+
registerI18nLoader,
|
|
161
|
+
registerLocaleDataLoader,
|
|
162
|
+
registerThemePropertiesLoader,
|
|
163
|
+
registerIconLoader,
|
|
164
|
+
|
|
165
|
+
// Boot.ts
|
|
166
|
+
attachBoot,
|
|
167
|
+
|
|
168
|
+
// CustomElementsScope.ts
|
|
169
|
+
setCustomElementsScopingSuffix,
|
|
170
|
+
getCustomElementsScopingSuffix,
|
|
171
|
+
setCustomElementsScopingRules,
|
|
172
|
+
getCustomElementsScopingRules,
|
|
173
|
+
getEffectiveScopingSuffixForTag,
|
|
174
|
+
|
|
175
|
+
// Device.ts
|
|
176
|
+
supportsTouch,
|
|
177
|
+
isSafari,
|
|
178
|
+
isChrome,
|
|
179
|
+
isFirefox,
|
|
180
|
+
isPhone,
|
|
181
|
+
isTablet,
|
|
182
|
+
isDesktop,
|
|
183
|
+
isCombi,
|
|
184
|
+
isIOS,
|
|
185
|
+
isAndroid,
|
|
186
|
+
|
|
187
|
+
// EventProvider.ts
|
|
188
|
+
EventProvider,
|
|
189
|
+
|
|
190
|
+
// i18nBundle.ts
|
|
191
|
+
I18nBundle,
|
|
192
|
+
getI18nBundle,
|
|
193
|
+
registerCustomI18nBundleGetter,
|
|
194
|
+
|
|
195
|
+
// MediaRange.ts
|
|
196
|
+
MediaRange,
|
|
197
|
+
|
|
198
|
+
// PropertiesFileFormat.ts
|
|
199
|
+
parseProperties,
|
|
200
|
+
|
|
201
|
+
// Render.ts
|
|
202
|
+
renderDeferred,
|
|
203
|
+
renderImmediately,
|
|
204
|
+
cancelRender,
|
|
205
|
+
renderFinished,
|
|
206
|
+
|
|
207
|
+
// Theming.ts
|
|
208
|
+
addCustomCSS,
|
|
209
|
+
attachThemeLoaded,
|
|
210
|
+
detachThemeLoaded,
|
|
211
|
+
|
|
212
|
+
// UI5Element.ts
|
|
213
|
+
UI5Element,
|
|
214
|
+
};
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
const resolve = require("resolve");
|
|
2
|
+
const path = require("path");
|
|
3
|
+
|
|
4
|
+
const assetParametersScript = resolve.sync("@ui5/webcomponents-base/lib/generate-asset-parameters/index.js");
|
|
5
|
+
const stylesScript = resolve.sync("@ui5/webcomponents-base/lib/generate-styles/index.js");
|
|
6
|
+
const versionScript = resolve.sync("@ui5/webcomponents-base/lib/generate-version-info/index.js");
|
|
7
|
+
const copyUsedModules = resolve.sync("@ui5/webcomponents-tools/lib/copy-list/index.js");
|
|
8
|
+
const amdToES6 = resolve.sync("@ui5/webcomponents-tools/lib/amd-to-es6/index.js");
|
|
9
|
+
const noRequire = resolve.sync("@ui5/webcomponents-tools/lib/amd-to-es6/no-remaining-require.js");
|
|
10
|
+
|
|
11
|
+
const LIB = path.join(__dirname, `../tools/lib/`);
|
|
12
|
+
|
|
13
|
+
const viteConfig = `-c "${require.resolve("@ui5/webcomponents-tools/components-package/vite.config.js")}"`;
|
|
14
|
+
|
|
15
|
+
const scripts = {
|
|
16
|
+
clean: "rimraf src/generated && rimraf dist && rimraf .port",
|
|
17
|
+
lint: `eslint .`,
|
|
18
|
+
generate: "cross-env UI5_TS=true nps clean integrate copy generateAssetParameters generateVersionInfo generateStyles generateTemplates generateSsrDom",
|
|
19
|
+
prepare: "cross-env UI5_TS=true nps clean integrate copy generateAssetParameters generateVersionInfo generateStyles generateTemplates typescript integrate.no-remaining-require",
|
|
20
|
+
typescript: "tsc -b",
|
|
21
|
+
integrate: {
|
|
22
|
+
default: "nps integrate.copy-used-modules integrate.amd-to-es6 integrate.third-party",
|
|
23
|
+
"copy-used-modules": `node "${copyUsedModules}" ./used-modules.txt dist/`,
|
|
24
|
+
"amd-to-es6": `node "${amdToES6}" dist/`,
|
|
25
|
+
"no-remaining-require": `node "${noRequire}" dist/`,
|
|
26
|
+
"third-party": {
|
|
27
|
+
default: "nps integrate.third-party.copy integrate.third-party.fix",
|
|
28
|
+
copy: "mkdirp dist/sap/ui/thirdparty/ && copy-and-watch ../../node_modules/@openui5/sap.ui.core/src/sap/ui/thirdparty/caja-html-sanitizer.js dist/sap/ui/thirdparty/",
|
|
29
|
+
fix: "replace-in-file 240 xA0 dist/sap/ui/thirdparty/caja-html-sanitizer.js"
|
|
30
|
+
},
|
|
31
|
+
},
|
|
32
|
+
build: {
|
|
33
|
+
default: `nps prepare`,
|
|
34
|
+
bundle: `vite build ${viteConfig}`,
|
|
35
|
+
},
|
|
36
|
+
copy: {
|
|
37
|
+
default: "nps copy.src",
|
|
38
|
+
src: `copy-and-watch "src/**/*.{js,css,d.ts}" dist/`,
|
|
39
|
+
},
|
|
40
|
+
generateAssetParameters: `node "${assetParametersScript}"`,
|
|
41
|
+
generateVersionInfo: `node "${versionScript}"`,
|
|
42
|
+
generateStyles: `node "${stylesScript}"`,
|
|
43
|
+
// these files are ignored in TS because the import in UI5Elments tries to load them from the dist and throws an error. create them empty here
|
|
44
|
+
generateSsrDom: `yarn nodetouch dist/ssr-dom.js dist/ssr-dom.d.ts`,
|
|
45
|
+
generateTemplates: `mkdirp src/generated/templates && cross-env UI5_BASE=true UI5_TS=true node "${LIB}/hbs2ui5/index.js" -d test/elements -o src/generated/templates`,
|
|
46
|
+
generateProd: {
|
|
47
|
+
"default": "nps generateProd.remove-dev-mode generateProd.copy-prod",
|
|
48
|
+
"remove-dev-mode": `node "${LIB}/remove-dev-mode/remove-dev-mode.mjs"`,
|
|
49
|
+
"copy-prod": `copy-and-watch "dist/sap/**/*" dist/prod/sap/`,
|
|
50
|
+
},
|
|
51
|
+
generateAPI: {
|
|
52
|
+
default: "nps generateAPI.generateCEM generateAPI.validateCEM",
|
|
53
|
+
generateCEM: `cem analyze --config "${LIB}/cem/custom-elements-manifest.config.mjs" --dev`,
|
|
54
|
+
validateCEM: `node "${LIB}/cem/validate.js" --dev`,
|
|
55
|
+
},
|
|
56
|
+
watch: {
|
|
57
|
+
default: 'concurrently "nps watch.src" "nps watch.styles"',
|
|
58
|
+
withBundle: 'concurrently "nps watch.src" "nps watch.bundle" "nps watch.styles"',
|
|
59
|
+
src: 'nps "copy.src --watch --skip-initial-copy"',
|
|
60
|
+
bundle: `node ${LIB}/dev-server/dev-server.js ${viteConfig}`,
|
|
61
|
+
styles: 'chokidar "src/css/*.css" -c "nps generateStyles"'
|
|
62
|
+
},
|
|
63
|
+
test: {
|
|
64
|
+
default: 'concurrently "nps test.wdio" "nps test.ssr" "nps test.ssr2"',
|
|
65
|
+
ssr: `mocha test/ssr`,
|
|
66
|
+
ssr2: "node -e \"import('./dist/Device.js')\"",
|
|
67
|
+
wdio: `node "${LIB}/test-runner/test-runner.js"`
|
|
68
|
+
},
|
|
69
|
+
};
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
module.exports = {
|
|
73
|
+
scripts,
|
|
74
|
+
};
|
package/package.json
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ui5/webcomponents-base",
|
|
3
|
-
"version": "0.0.0-
|
|
3
|
+
"version": "0.0.0-bf8366eb6",
|
|
4
4
|
"description": "UI5 Web Components: webcomponents.base",
|
|
5
5
|
"author": "SAP SE (https://www.sap.com)",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
|
+
"type": "module",
|
|
7
8
|
"module": "index.js",
|
|
8
9
|
"keywords": [
|
|
9
10
|
"openui5",
|
|
@@ -15,26 +16,50 @@
|
|
|
15
16
|
"url": "https://github.com/SAP/ui5-webcomponents.git",
|
|
16
17
|
"directory": "packages/base"
|
|
17
18
|
},
|
|
19
|
+
"types": "./dist",
|
|
20
|
+
"exports": {
|
|
21
|
+
"./dist/ssr-dom.js": {
|
|
22
|
+
"browser": "./dist/ssr-dom.js",
|
|
23
|
+
"node": "./dist/ssr-dom-shim.js",
|
|
24
|
+
"default": "./dist/ssr-dom.js"
|
|
25
|
+
},
|
|
26
|
+
".": "./index.js",
|
|
27
|
+
"./dist/*": {
|
|
28
|
+
"production": "./dist/prod/*",
|
|
29
|
+
"development": "./dist/*",
|
|
30
|
+
"default": "./dist/*"
|
|
31
|
+
},
|
|
32
|
+
"./package.json": "./package.json",
|
|
33
|
+
"./bundle.esm.js": "./bundle.esm.js",
|
|
34
|
+
"./*": "./dist/*"
|
|
35
|
+
},
|
|
18
36
|
"scripts": {
|
|
19
37
|
"clean": "nps clean",
|
|
20
38
|
"lint": "nps lint",
|
|
21
39
|
"start": "nps start",
|
|
22
40
|
"build": "nps build",
|
|
41
|
+
"generate": "nps generate",
|
|
42
|
+
"generateAPI": "nps generateAPI",
|
|
43
|
+
"generateProd": "nps generateProd",
|
|
44
|
+
"bundle": "nps build.bundle",
|
|
23
45
|
"test": "nps test",
|
|
24
|
-
"
|
|
25
|
-
"prepublishOnly": "npm run clean && npm run build"
|
|
46
|
+
"prepublishOnly": "tsc -b"
|
|
26
47
|
},
|
|
27
48
|
"dependencies": {
|
|
28
|
-
"lit-
|
|
49
|
+
"@lit-labs/ssr-dom-shim": "^1.1.2",
|
|
50
|
+
"lit-html": "^2.0.1"
|
|
29
51
|
},
|
|
30
52
|
"devDependencies": {
|
|
31
|
-
"@
|
|
32
|
-
"
|
|
33
|
-
"chromedriver": "
|
|
53
|
+
"@openui5/sap.ui.core": "1.120.5",
|
|
54
|
+
"@ui5/webcomponents-tools": "0.0.0-bf8366eb6",
|
|
55
|
+
"chromedriver": "^125.0.0",
|
|
56
|
+
"clean-css": "^5.2.2",
|
|
34
57
|
"copy-and-watch": "^0.1.5",
|
|
58
|
+
"cross-env": "^7.0.3",
|
|
35
59
|
"eslint": "^7.22.0",
|
|
36
|
-
"
|
|
37
|
-
"
|
|
38
|
-
"
|
|
60
|
+
"mkdirp": "^1.0.4",
|
|
61
|
+
"replace-in-file": "^6.3.5",
|
|
62
|
+
"resolve": "^1.20.0",
|
|
63
|
+
"touch": "^3.1.0"
|
|
39
64
|
}
|
|
40
65
|
}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
.busy-indicator-wrapper {
|
|
2
|
+
position: relative;
|
|
3
|
+
height: 100%;
|
|
4
|
+
width: 100%;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.busy-indicator-overlay {
|
|
8
|
+
display: var(--ui5_web_components_busy_indicator_display);
|
|
9
|
+
position: absolute;
|
|
10
|
+
inset: 0;
|
|
11
|
+
background: var(--ui5_web_components_busy_indicator_background-color);
|
|
12
|
+
z-index: 99;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.busy-indicator-busy-area {
|
|
16
|
+
display: var(--ui5_web_components_busy_indicator_display);
|
|
17
|
+
position: absolute;
|
|
18
|
+
z-index: 99;
|
|
19
|
+
inset: 0;
|
|
20
|
+
justify-content: center;
|
|
21
|
+
align-items: center;
|
|
22
|
+
background-color: inherit;
|
|
23
|
+
flex-direction: column;
|
|
24
|
+
color: var(--_ui5_busy_indicator_color);
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
:host([__is-busy]) .busy-indicator-wrapper > :not(.busy-indicator-busy-area):not(.busy-indicator-overlay):not([busy-indicator-before-span]) {
|
|
28
|
+
--ui5_web_components_busy_indicator_display: none;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.busy-indicator-busy-area:focus {
|
|
32
|
+
outline: var(--_ui5_busy_indicator_focus_outline);
|
|
33
|
+
outline-offset: -.125rem;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.busy-indicator-circle {
|
|
37
|
+
width: 1rem;
|
|
38
|
+
height: 1rem;
|
|
39
|
+
display: inline-block;
|
|
40
|
+
background-color: currentColor;
|
|
41
|
+
border-radius: 50%;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.circle-animation-0 {
|
|
45
|
+
animation: grow 1.6s infinite cubic-bezier(0.32, 0.06, 0.85, 1.11);
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.circle-animation-1 {
|
|
49
|
+
animation: grow 1.6s infinite cubic-bezier(0.32, 0.06, 0.85, 1.11);
|
|
50
|
+
animation-delay: 200ms;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.circle-animation-2 {
|
|
54
|
+
animation: grow 1.6s infinite cubic-bezier(0.32, 0.06, 0.85, 1.11);
|
|
55
|
+
animation-delay: 400ms;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.sapUiLocalBusy {
|
|
59
|
+
--ui5_web_components_busy_indicator_display: none;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.busy-indicator-wrapper [ui5-busy-indicator] {
|
|
63
|
+
display: none;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
@keyframes grow {
|
|
67
|
+
0%, 50%, 100% {
|
|
68
|
+
-webkit-transform: scale(0.5);
|
|
69
|
+
-moz-transform: scale(0.5);
|
|
70
|
+
-ms-transform: scale(0.5);
|
|
71
|
+
transform: scale(0.5);
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
25% {
|
|
75
|
+
-webkit-transform: scale(1);
|
|
76
|
+
-moz-transform: scale(1);
|
|
77
|
+
-ms-transform: scale(1);
|
|
78
|
+
transform: scale(1);
|
|
79
|
+
}
|
|
80
|
+
}
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
@font-face {
|
|
2
|
+
font-family: "72";
|
|
3
|
+
font-style: normal;
|
|
4
|
+
font-weight: 400;
|
|
5
|
+
src: url(https://sdk.openui5.org/resources/sap/ui/core/themes/sap_horizon/fonts/72-Regular.woff2?ui5-webcomponents) format("woff2"), local("72");
|
|
6
|
+
unicode-range: U+00, U+0D, U+20-7E, U+A0-FF, U+131, U+152-153, U+161, U+178, U+17D-17E, U+192, U+237, U+2C6, U+2DC, U+3BC, U+1E9E, U+2013-2014, U+2018-201A, U+201C-201E, U+2020-2022, U+2026, U+2030, U+2039-203A, U+2044, U+20AC, U+2122;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
@font-face {
|
|
10
|
+
font-family: "72full";
|
|
11
|
+
font-style: normal;
|
|
12
|
+
font-weight: 400;
|
|
13
|
+
src: url(https://sdk.openui5.org/resources/sap/ui/core/themes/sap_horizon/fonts/72-Regular-full.woff2?ui5-webcomponents) format("woff2"), local('72-full');
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
@font-face {
|
|
17
|
+
font-family: "72";
|
|
18
|
+
font-style: normal;
|
|
19
|
+
font-weight: 700;
|
|
20
|
+
src: url(https://sdk.openui5.org/resources/sap/ui/core/themes/sap_horizon/fonts/72-Bold.woff2?ui5-webcomponents) format("woff2"), local('72-Bold');
|
|
21
|
+
unicode-range: U+00, U+0D, U+20-7E, U+A0-FF, U+131, U+152-153, U+161, U+178, U+17D-17E, U+192, U+237, U+2C6, U+2DC, U+3BC, U+1E9E, U+2013-2014, U+2018-201A, U+201C-201E, U+2020-2022, U+2026, U+2030, U+2039-203A, U+2044, U+20AC, U+2122;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
@font-face {
|
|
25
|
+
font-family: "72full";
|
|
26
|
+
font-style: normal;
|
|
27
|
+
font-weight: 700;
|
|
28
|
+
src: url(https://sdk.openui5.org/resources/sap/ui/core/themes/sap_horizon/fonts/72-Bold-full.woff2?ui5-webcomponents) format("woff2");
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
@font-face {
|
|
32
|
+
font-family: '72-Bold';
|
|
33
|
+
font-style: normal;
|
|
34
|
+
src: url(https://sdk.openui5.org/resources/sap/ui/core/themes/sap_horizon/fonts/72-Bold.woff2?ui5-webcomponents) format("woff2"), local('72-Bold');
|
|
35
|
+
unicode-range: U+00, U+0D, U+20-7E, U+A0-FF, U+131, U+152-153, U+161, U+178, U+17D-17E, U+192, U+237, U+2C6, U+2DC, U+3BC, U+1E9E, U+2013-2014, U+2018-201A, U+201C-201E, U+2020-2022, U+2026, U+2030, U+2039-203A, U+2044, U+20AC, U+2122;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
@font-face {
|
|
39
|
+
font-family: '72-Boldfull';
|
|
40
|
+
font-style: normal;
|
|
41
|
+
src: url(https://sdk.openui5.org/resources/sap/ui/core/themes/sap_horizon/fonts/72-Bold-full.woff2?ui5-webcomponents) format("woff2");
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
@font-face {
|
|
45
|
+
font-family: '72-Light';
|
|
46
|
+
font-style: normal;
|
|
47
|
+
src: url(https://sdk.openui5.org/resources/sap/ui/core/themes/sap_horizon/fonts/72-Light.woff2?ui5-webcomponents) format("woff2"), local('72-Light');
|
|
48
|
+
unicode-range: U+00, U+0D, U+20-7E, U+A0-FF, U+131, U+152-153, U+161, U+178, U+17D-17E, U+192, U+237, U+2C6, U+2DC, U+3BC, U+1E9E, U+2013-2014, U+2018-201A, U+201C-201E, U+2020-2022, U+2026, U+2030, U+2039-203A, U+2044, U+20AC, U+2122;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
@font-face {
|
|
52
|
+
font-family: '72-Lightfull';
|
|
53
|
+
font-style: normal;
|
|
54
|
+
src: url(https://sdk.openui5.org/resources/sap/ui/core/themes/sap_horizon/fonts/72-Light-full.woff2?ui5-webcomponents) format("woff2");
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
@font-face {
|
|
58
|
+
font-family: '72Mono';
|
|
59
|
+
src: url(https://sdk.openui5.org/resources/sap/ui/core/themes/sap_horizon/fonts/72Mono-Regular.woff2?ui5-webcomponents) format('woff2'), local('72Mono');
|
|
60
|
+
unicode-range: U+00, U+0D, U+20-7E, U+A0-FF, U+131, U+152-153, U+161, U+178, U+17D-17E, U+192, U+237, U+2C6, U+2DC, U+3BC, U+1E9E, U+2013-2014, U+2018-201A, U+201C-201E, U+2020-2022, U+2026, U+2030, U+2039-203A, U+2044, U+20AC, U+2122;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
@font-face {
|
|
64
|
+
font-family: '72Monofull';
|
|
65
|
+
src: url(https://sdk.openui5.org/resources/sap/ui/core/themes/sap_horizon/fonts/72Mono-Regular-full.woff2?ui5-webcomponents) format('woff2');
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
@font-face {
|
|
69
|
+
font-family: '72Mono-Bold';
|
|
70
|
+
src: url(https://sdk.openui5.org/resources/sap/ui/core/themes/sap_horizon/fonts/72Mono-Bold.woff2?ui5-webcomponents) format('woff2'), local('72Mono-Bold');
|
|
71
|
+
unicode-range: U+00, U+0D, U+20-7E, U+A0-FF, U+131, U+152-153, U+161, U+178, U+17D-17E, U+192, U+237, U+2C6, U+2DC, U+3BC, U+1E9E, U+2013-2014, U+2018-201A, U+201C-201E, U+2020-2022, U+2026, U+2030, U+2039-203A, U+2044, U+20AC, U+2122;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
@font-face {
|
|
75
|
+
font-family: '72Mono-Boldfull';
|
|
76
|
+
src: url(https://sdk.openui5.org/resources/sap/ui/core/themes/sap_horizon/fonts/72Mono-Bold-full.woff2?ui5-webcomponents) format('woff2');
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
@font-face {
|
|
80
|
+
font-family: "72Black";
|
|
81
|
+
font-style: bold;
|
|
82
|
+
font-weight: 900;
|
|
83
|
+
src: url(https://sdk.openui5.org/resources/sap/ui/core/themes/sap_horizon/fonts/72-Black.woff2?ui5-webcomponents) format("woff2"), local('72Black');
|
|
84
|
+
unicode-range: U+00, U+0D, U+20-7E, U+A0-FF, U+131, U+152-153, U+161, U+178, U+17D-17E, U+192, U+237, U+2C6, U+2DC, U+3BC, U+1E9E, U+2013-2014, U+2018-201A, U+201C-201E, U+2020-2022, U+2026, U+2030, U+2039-203A, U+2044, U+20AC, U+2122;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
@font-face {
|
|
88
|
+
font-family: '72Blackfull';
|
|
89
|
+
src: url(https://sdk.openui5.org/resources/sap/ui/core/themes/sap_horizon/fonts/72-Black-full.woff2?ui5-webcomponents) format('woff2');
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
@font-face {
|
|
93
|
+
font-family: "72-SemiboldDuplex";
|
|
94
|
+
src: url(https://sdk.openui5.org/resources/sap/ui/core/themes/sap_horizon/fonts/72-SemiboldDuplex.woff2?ui5-webcomponents) format("woff2"), local('72-SemiboldDuplex');
|
|
95
|
+
unicode-range: U+00, U+0D, U+20-7E, U+A0-FF, U+131, U+152-153, U+161, U+178, U+17D-17E, U+192, U+237, U+2C6, U+2DC, U+3BC, U+1E9E, U+2013-2014, U+2018-201A, U+201C-201E, U+2020-2022, U+2026, U+2030, U+2039-203A, U+2044, U+20AC, U+2122;
|
|
96
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Some diacritics are supported by the 72 font:
|
|
3
|
+
* * Grave
|
|
4
|
+
* * Acute
|
|
5
|
+
* * Circumflex
|
|
6
|
+
* * Tilde
|
|
7
|
+
*
|
|
8
|
+
* However, the following diacritics and the combination of multiple diacritics (including the supported ones) are not supported:
|
|
9
|
+
* * Breve
|
|
10
|
+
* * Horn
|
|
11
|
+
* * Dot below
|
|
12
|
+
* * Hook above
|
|
13
|
+
*
|
|
14
|
+
*
|
|
15
|
+
* Override for the characters that aren't covered by the '72' font to other system fonts
|
|
16
|
+
*
|
|
17
|
+
* U+0102-0103: A and a with Breve
|
|
18
|
+
* U+01A0-01A1: O and o with Horn
|
|
19
|
+
* U+01AF-01B0: U and u with Horn
|
|
20
|
+
* U+1EA0-1EB7: A and a with diacritics that are not supported by the font and combination of multiple diacritics
|
|
21
|
+
* U+1EB8-1EC7: E and e with diacritics that are not supported by the font and combination of multiple diacritics
|
|
22
|
+
* U+1EC8-1ECB: I and i with diacritics that are not supported by the font and combination of multiple diacritics
|
|
23
|
+
* U+1ECC-1EE3: O and o with diacritics that are not supported by the font and combination of multiple diacritics
|
|
24
|
+
* U+1EE4-1EF1: U and u with diacritics that are not supported by the font and combination of multiple diacritics
|
|
25
|
+
* U+1EF4-1EF7: Y and y with diacritics that are not supported by the font and combination of multiple diacritics
|
|
26
|
+
*
|
|
27
|
+
*/
|
|
28
|
+
@font-face {
|
|
29
|
+
font-family: '72override';
|
|
30
|
+
unicode-range: U+0102-0103, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EB7, U+1EB8-1EC7, U+1EC8-1ECB, U+1ECC-1EE3, U+1EE4-1EF1, U+1EF4-1EF7;
|
|
31
|
+
src: local('Arial'), local('Helvetica'), local('sans-serif');
|
|
32
|
+
}
|
package/tsconfig.json
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
{
|
|
2
|
+
"include": ["src/**/*", "src/global.d.ts"],
|
|
3
|
+
// ssr-dom is imported with bare specifier so that conditional exports are used, but this treats it as input and output, so ignore it
|
|
4
|
+
"exclude": ["src/ssr-dom.ts"],
|
|
5
|
+
"compilerOptions": {
|
|
6
|
+
"target": "ES2021",
|
|
7
|
+
"lib": ["DOM", "DOM.Iterable", "ES2023"],
|
|
8
|
+
// Generate d.ts files
|
|
9
|
+
"declaration": true,
|
|
10
|
+
"outDir": "dist",
|
|
11
|
+
"skipLibCheck": true,
|
|
12
|
+
"sourceMap": true,
|
|
13
|
+
"inlineSources": true,
|
|
14
|
+
"strict": true,
|
|
15
|
+
"moduleResolution": "node",
|
|
16
|
+
"composite": true,
|
|
17
|
+
"rootDir": "src",
|
|
18
|
+
"tsBuildInfoFile": "dist/.tsbuildinfo",
|
|
19
|
+
},
|
|
20
|
+
}
|
package/.eslintignore
DELETED
package/bundle.esm.js
DELETED
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
import { registerThemePropertiesLoader } from "./dist/AssetRegistry.js";
|
|
2
|
-
|
|
3
|
-
// ESM bundle targets browsers with native support
|
|
4
|
-
import "./dist/features/OpenUI5Support.js";
|
|
5
|
-
|
|
6
|
-
// Test components
|
|
7
|
-
import "./dist/test-resources/elements/Generic.js";
|
|
8
|
-
import "./dist/test-resources/elements/NoShadowDOM.js";
|
|
9
|
-
import "./dist/test-resources/elements/Parent.js";
|
|
10
|
-
import "./dist/test-resources/elements/Child.js";
|
|
11
|
-
import "./dist/test-resources/elements/WithStaticArea.js";
|
|
12
|
-
import "./dist/test-resources/elements/GenericExt.js";
|
|
13
|
-
|
|
14
|
-
// Test themes - CSS Vars for the sap_fiori_3, sap_fiori_3_dark, sap_belize and sap_belize_hcb themes
|
|
15
|
-
import "./dist/test-resources/assets/Themes.js";
|
|
16
|
-
|
|
17
|
-
// used in test pages
|
|
18
|
-
import { renderFinished } from "./dist/Render.js";
|
|
19
|
-
import { isIE } from "./dist/Device.js";
|
|
20
|
-
window.isIE = isIE; // attached to the window object for testing purposes
|
|
21
|
-
|
|
22
|
-
// used for tests - to register a custom theme
|
|
23
|
-
window.registerThemePropertiesLoader = registerThemePropertiesLoader;
|
|
24
|
-
|
|
25
|
-
// i18n
|
|
26
|
-
import { registerI18nLoader, fetchI18nBundle, getI18nBundle } from "./dist/i18nBundle.js";
|
|
27
|
-
|
|
28
|
-
// Note: keep in sync with rollup.config value for IIFE
|
|
29
|
-
import { getAnimationMode } from "./dist/config/AnimationMode.js";
|
|
30
|
-
import { getLanguage } from "./dist/config/Language.js";
|
|
31
|
-
import { getCalendarType } from "./dist/config/CalendarType.js";
|
|
32
|
-
import { getTheme, setTheme } from "./dist/config/Theme.js";
|
|
33
|
-
import { getNoConflict, setNoConflict } from "./dist/config/NoConflict.js";
|
|
34
|
-
import { getRTL } from "./dist/config/RTL.js";
|
|
35
|
-
import { getFirstDayOfWeek } from "./dist/config/FormatSettings.js";
|
|
36
|
-
import { _getRegisteredNames as getIconNames } from "./dist/asset-registries/Icons.js"
|
|
37
|
-
window["sap-ui-webcomponents-bundle"] = {
|
|
38
|
-
configuration : {
|
|
39
|
-
getAnimationMode,
|
|
40
|
-
getLanguage,
|
|
41
|
-
getTheme,
|
|
42
|
-
setTheme,
|
|
43
|
-
getNoConflict,
|
|
44
|
-
setNoConflict,
|
|
45
|
-
getCalendarType,
|
|
46
|
-
getRTL,
|
|
47
|
-
getFirstDayOfWeek,
|
|
48
|
-
},
|
|
49
|
-
getIconNames,
|
|
50
|
-
registerI18nLoader,
|
|
51
|
-
fetchI18nBundle,
|
|
52
|
-
getI18nBundle,
|
|
53
|
-
renderFinished,
|
|
54
|
-
};
|
package/config/.eslintrc.js
DELETED
package/config/rollup.config.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("@ui5/webcomponents-tools/components-package/rollup.js");
|