@ui5/webcomponents-base 0.0.0-d1315d658 → 0.0.0-d160e83dd
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/CHANGELOG.md +1565 -0
- package/README.md +3 -13
- package/cypress/specs/Accessor.cy.tsx +79 -0
- package/cypress/specs/Boot.cy.tsx +19 -0
- package/cypress/specs/ConfigurationChange.cy.tsx +41 -0
- package/cypress/specs/ConfigurationScript.cy.tsx +133 -0
- package/cypress/specs/ConfigurationURL.cy.tsx +201 -0
- package/cypress/specs/CustomMount.cy.tsx +9 -0
- package/cypress/specs/CustomTheme.cy.tsx +36 -0
- package/cypress/specs/EventProvider.cy.tsx +59 -0
- package/cypress/specs/Events.cy.tsx +28 -0
- package/cypress/specs/SystemDOMElements.cy.tsx +8 -0
- package/cypress/specs/Theming.cy.tsx +74 -0
- package/cypress/specs/UI5ElementInvalidation.cy.tsx +252 -0
- package/cypress/specs/UI5ElementLifecycle.cy.tsx +82 -0
- package/cypress/specs/UI5ElementListenForChildPropChanges.cy.tsx +83 -0
- package/cypress/specs/UI5ElementMetadataExt.cy.tsx +42 -0
- package/cypress/specs/UI5ElementPropertyValidation.cy.tsx +16 -0
- package/cypress/specs/UI5ElementPropsAndAttrs.cy.tsx +113 -0
- package/cypress/specs/UI5ElementShadowDOM.cy.tsx +30 -0
- package/cypress/specs/UI5ElementSlots.cy.tsx +136 -0
- package/cypress/specs/WithComplexTemplate.cy.tsx +32 -0
- package/cypress/specs/i18n_texts.cy.tsx +129 -0
- package/cypress/specs/util/FocusableElements.cy.tsx +48 -0
- package/cypress/support/commands.ts +39 -0
- package/cypress/support/component-index.html +12 -0
- package/cypress/support/component.ts +36 -0
- package/cypress/tsconfig.json +21 -0
- package/cypress.config.js +3 -0
- package/dist/.tsbuildinfobuild +1 -0
- package/dist/AssetRegistry.d.ts +2 -2
- package/dist/AssetRegistry.js +2 -2
- package/dist/AssetRegistry.js.map +1 -1
- package/dist/Boot.d.ts +3 -2
- package/dist/Boot.js +11 -7
- package/dist/Boot.js.map +1 -1
- package/dist/CustomElementsRegistry.d.ts +2 -1
- package/dist/CustomElementsRegistry.js +5 -2
- package/dist/CustomElementsRegistry.js.map +1 -1
- package/dist/CustomElementsScope.d.ts +4 -4
- package/dist/CustomElementsScope.js +2 -2
- package/dist/CustomElementsScope.js.map +1 -1
- package/dist/CustomElementsScopeUtils.d.ts +11 -2
- package/dist/CustomElementsScopeUtils.js +21 -2
- package/dist/CustomElementsScopeUtils.js.map +1 -1
- package/dist/DOMObserver.js.map +1 -1
- package/dist/Device.d.ts +17 -2
- package/dist/Device.js +19 -14
- package/dist/Device.js.map +1 -1
- package/dist/EventProvider.js.map +1 -1
- package/dist/FontFace.js +6 -1
- package/dist/FontFace.js.map +1 -1
- package/dist/IgnoreCustomElements.d.ts +3 -5
- package/dist/IgnoreCustomElements.js +3 -5
- package/dist/IgnoreCustomElements.js.map +1 -1
- package/dist/InitialConfiguration.d.ts +10 -3
- package/dist/InitialConfiguration.js +31 -8
- package/dist/InitialConfiguration.js.map +1 -1
- package/dist/Keys.d.ts +4 -1
- package/dist/Keys.js +110 -106
- package/dist/Keys.js.map +1 -1
- package/dist/Location.d.ts +11 -0
- package/dist/Location.js +49 -0
- package/dist/Location.js.map +1 -0
- package/dist/ManagedStyles.d.ts +5 -6
- package/dist/ManagedStyles.js +45 -60
- package/dist/ManagedStyles.js.map +1 -1
- package/dist/MediaRange.d.ts +6 -12
- package/dist/MediaRange.js +21 -31
- package/dist/MediaRange.js.map +1 -1
- package/dist/PropertiesFileFormat.js.map +1 -1
- package/dist/Render.js.map +1 -1
- package/dist/RenderQueue.js.map +1 -1
- package/dist/Runtimes.js +11 -0
- package/dist/Runtimes.js.map +1 -1
- package/dist/SystemCSSVars.js.map +1 -1
- package/dist/UI5Element.d.ts +120 -76
- package/dist/UI5Element.js +388 -234
- package/dist/UI5Element.js.map +1 -1
- package/dist/UI5ElementMetadata.d.ts +36 -27
- package/dist/UI5ElementMetadata.js +27 -72
- package/dist/UI5ElementMetadata.js.map +1 -1
- package/dist/animations/AnimationQueue.js.map +1 -1
- package/dist/animations/animate.js.map +1 -1
- package/dist/animations/slideUp.js.map +1 -1
- package/dist/asset-registries/Icons.d.ts +5 -4
- package/dist/asset-registries/Icons.js +28 -17
- package/dist/asset-registries/Icons.js.map +1 -1
- package/dist/asset-registries/Illustrations.d.ts +2 -0
- package/dist/asset-registries/Illustrations.js +51 -20
- package/dist/asset-registries/Illustrations.js.map +1 -1
- package/dist/asset-registries/LocaleData.js +1 -1
- package/dist/asset-registries/LocaleData.js.map +1 -1
- package/dist/asset-registries/Themes.d.ts +5 -7
- package/dist/asset-registries/Themes.js +27 -12
- package/dist/asset-registries/Themes.js.map +1 -1
- package/dist/asset-registries/i18n.d.ts +2 -2
- package/dist/asset-registries/i18n.js +4 -3
- package/dist/asset-registries/i18n.js.map +1 -1
- package/dist/{assets-meta → asset-registries/util}/IconCollectionsAlias.d.ts +1 -2
- package/dist/{assets-meta → asset-registries/util}/IconCollectionsAlias.js +1 -2
- 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.js +6 -1
- package/dist/config/AnimationMode.js.map +1 -1
- package/dist/config/CalendarType.d.ts +8 -1
- package/dist/config/CalendarType.js +23 -2
- package/dist/config/CalendarType.js.map +1 -1
- package/dist/config/ConfigurationReset.d.ts +4 -0
- package/dist/config/ConfigurationReset.js +11 -0
- package/dist/config/ConfigurationReset.js.map +1 -0
- package/dist/config/Fonts.d.ts +16 -0
- package/dist/config/Fonts.js +30 -0
- package/dist/config/Fonts.js.map +1 -0
- package/dist/config/FormatSettings.js +4 -0
- package/dist/config/FormatSettings.js.map +1 -1
- package/dist/config/Icons.d.ts +9 -24
- package/dist/config/Icons.js +8 -67
- package/dist/config/Icons.js.map +1 -1
- package/dist/config/Language.d.ts +1 -1
- package/dist/config/Language.js +11 -3
- package/dist/config/Language.js.map +1 -1
- package/dist/config/NoConflict.js +4 -0
- package/dist/config/NoConflict.js.map +1 -1
- package/dist/config/Theme.d.ts +4 -3
- package/dist/config/Theme.js +18 -8
- package/dist/config/Theme.js.map +1 -1
- package/dist/config/ThemeRoot.d.ts +2 -4
- package/dist/config/ThemeRoot.js +6 -4
- package/dist/config/ThemeRoot.js.map +1 -1
- package/dist/config/Timezone.d.ts +1 -1
- package/dist/config/Timezone.js +5 -1
- package/dist/config/Timezone.js.map +1 -1
- package/dist/config/Tooltips.d.ts +19 -0
- package/dist/config/Tooltips.js +29 -0
- package/dist/config/Tooltips.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/converters/DOMReference.d.ts +5 -0
- package/dist/converters/DOMReference.js +13 -0
- package/dist/converters/DOMReference.js.map +1 -0
- package/dist/css/FontFace.css +13 -1
- package/dist/css/SystemCSSVars.css +0 -8
- package/dist/custom-elements-internal.json +2803 -0
- package/dist/custom-elements.json +2500 -0
- package/dist/decorators/bound.d.ts +1 -0
- package/dist/decorators/bound.js +34 -0
- package/dist/decorators/bound.js.map +1 -0
- package/dist/decorators/customElement.d.ts +43 -3
- package/dist/decorators/customElement.js +14 -6
- package/dist/decorators/customElement.js.map +1 -1
- package/dist/decorators/event-strict.d.ts +15 -0
- package/dist/decorators/event-strict.js +26 -0
- package/dist/decorators/event-strict.js.map +1 -0
- package/dist/decorators/event.d.ts +8 -2
- package/dist/decorators/event.js +3 -0
- package/dist/decorators/event.js.map +1 -1
- package/dist/decorators/i18n.d.ts +17 -0
- package/dist/decorators/i18n.js +32 -0
- package/dist/decorators/i18n.js.map +1 -0
- package/dist/decorators/property.d.ts +1 -1
- package/dist/decorators/property.js +1 -1
- package/dist/decorators/property.js.map +1 -1
- package/dist/decorators/query.d.ts +25 -0
- package/dist/decorators/query.js +32 -0
- package/dist/decorators/query.js.map +1 -0
- package/dist/decorators/queryAll.d.ts +27 -0
- package/dist/decorators/queryAll.js +34 -0
- package/dist/decorators/queryAll.js.map +1 -0
- package/dist/decorators/slot.d.ts +1 -1
- package/dist/decorators/slot.js.map +1 -1
- package/dist/decorators.d.ts +8 -0
- package/dist/decorators.js +9 -0
- package/dist/decorators.js.map +1 -0
- package/dist/delegate/ItemNavigation.d.ts +9 -8
- package/dist/delegate/ItemNavigation.js +12 -13
- package/dist/delegate/ItemNavigation.js.map +1 -1
- package/dist/delegate/ResizeHandler.d.ts +4 -6
- package/dist/delegate/ResizeHandler.js +4 -6
- package/dist/delegate/ResizeHandler.js.map +1 -1
- package/dist/delegate/ScrollEnablement.js +2 -2
- package/dist/delegate/ScrollEnablement.js.map +1 -1
- package/dist/features/F6Navigation.d.ts +4 -3
- package/dist/features/F6Navigation.js +41 -9
- package/dist/features/F6Navigation.js.map +1 -1
- package/dist/features/InputElementsFormSupport.d.ts +15 -0
- package/dist/features/InputElementsFormSupport.js +39 -0
- package/dist/features/InputElementsFormSupport.js.map +1 -0
- package/dist/features/LegacyDateFormats.js.map +1 -1
- package/dist/features/OpenUI5Enablement.d.ts +3 -3
- package/dist/features/OpenUI5Enablement.js.map +1 -1
- package/dist/features/OpenUI5Support.d.ts +1 -3
- package/dist/features/OpenUI5Support.js +11 -22
- package/dist/features/OpenUI5Support.js.map +1 -1
- 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 +15 -0
- package/dist/features/patchPopup.js +70 -0
- package/dist/features/patchPopup.js.map +1 -0
- package/dist/generated/AssetParameters.d.ts +6 -0
- package/dist/generated/AssetParameters.js +3 -10
- package/dist/generated/AssetParameters.js.map +1 -0
- package/dist/generated/VersionInfo.d.ts +10 -0
- package/dist/generated/VersionInfo.js +9 -8
- package/dist/generated/VersionInfo.js.map +1 -0
- package/dist/generated/css/BusyIndicator.css.d.ts +2 -3
- package/dist/generated/css/BusyIndicator.css.js +1 -6
- package/dist/generated/css/BusyIndicator.css.js.map +1 -1
- package/dist/generated/css/FontFace.css.d.ts +2 -3
- package/dist/generated/css/FontFace.css.js +1 -6
- package/dist/generated/css/FontFace.css.js.map +1 -1
- package/dist/generated/css/OverrideFontFace.css.d.ts +2 -3
- package/dist/generated/css/OverrideFontFace.css.js +1 -6
- package/dist/generated/css/OverrideFontFace.css.js.map +1 -1
- package/dist/generated/css/SystemCSSVars.css.d.ts +2 -3
- package/dist/generated/css/SystemCSSVars.css.js +1 -6
- package/dist/generated/css/SystemCSSVars.css.js.map +1 -1
- package/dist/getSharedResource.js.map +1 -1
- package/dist/i18nBundle.d.ts +1 -3
- package/dist/i18nBundle.js +1 -4
- package/dist/i18nBundle.js.map +1 -1
- package/dist/index.d.ts +48 -0
- package/dist/index.js +88 -0
- package/dist/index.js.map +1 -0
- package/dist/jsx-dev-runtime.d.ts +4 -0
- package/dist/jsx-dev-runtime.js +43 -0
- package/dist/jsx-dev-runtime.js.map +1 -0
- package/dist/jsx-runtime.d.ts +50 -0
- package/dist/jsx-runtime.js +27 -0
- package/dist/jsx-runtime.js.map +1 -0
- package/dist/jsx-utils.d.ts +3 -0
- package/dist/jsx-utils.js +48 -0
- package/dist/jsx-utils.js.map +1 -0
- package/dist/locale/Locale.js.map +1 -1
- package/dist/locale/applyDirection.d.ts +3 -2
- package/dist/locale/applyDirection.js +3 -2
- package/dist/locale/applyDirection.js.map +1 -1
- package/dist/locale/getEffectiveDir.d.ts +1 -1
- package/dist/locale/getEffectiveDir.js +3 -19
- package/dist/locale/getEffectiveDir.js.map +1 -1
- package/dist/locale/getLocale.js.map +1 -1
- package/dist/locale/nextFallbackLocale.js.map +1 -1
- package/dist/locale/normalizeLocale.js.map +1 -1
- package/dist/prod/AssetRegistry.js +2 -0
- package/dist/prod/AssetRegistry.js.map +7 -0
- package/dist/prod/Boot.js +2 -0
- package/dist/prod/Boot.js.map +7 -0
- package/dist/prod/CustomElementsRegistry.js +10 -0
- package/dist/prod/CustomElementsRegistry.js.map +7 -0
- package/dist/prod/CustomElementsScope.js +2 -0
- package/dist/prod/CustomElementsScope.js.map +7 -0
- package/dist/prod/CustomElementsScopeUtils.js +2 -0
- package/dist/prod/CustomElementsScopeUtils.js.map +7 -0
- package/dist/prod/DOMObserver.js +2 -0
- package/dist/prod/DOMObserver.js.map +7 -0
- package/dist/prod/Device.js +2 -0
- package/dist/prod/Device.js.map +7 -0
- package/dist/prod/EventProvider.js +2 -0
- package/dist/prod/EventProvider.js.map +7 -0
- package/dist/prod/FeaturesRegistry.js +2 -0
- package/dist/prod/FeaturesRegistry.js.map +7 -0
- package/dist/prod/FontFace.js +2 -0
- package/dist/prod/FontFace.js.map +7 -0
- package/dist/prod/IgnoreCustomElements.js +2 -0
- package/dist/prod/IgnoreCustomElements.js.map +7 -0
- package/dist/prod/InitialConfiguration.js +2 -0
- package/dist/prod/InitialConfiguration.js.map +7 -0
- package/dist/prod/Keys.js +2 -0
- package/dist/prod/Keys.js.map +7 -0
- package/dist/prod/Location.js +2 -0
- package/dist/prod/Location.js.map +7 -0
- package/dist/prod/ManagedStyles.js +2 -0
- package/dist/prod/ManagedStyles.js.map +7 -0
- package/dist/prod/MediaRange.js +2 -0
- package/dist/prod/MediaRange.js.map +7 -0
- package/dist/prod/PropertiesFileFormat.js +3 -0
- package/dist/prod/PropertiesFileFormat.js.map +7 -0
- package/dist/prod/Render.js +2 -0
- package/dist/prod/Render.js.map +7 -0
- package/dist/prod/RenderQueue.js +2 -0
- package/dist/prod/RenderQueue.js.map +7 -0
- package/dist/prod/Runtimes.js +2 -0
- package/dist/prod/Runtimes.js.map +7 -0
- package/dist/prod/SystemCSSVars.js +2 -0
- package/dist/prod/SystemCSSVars.js.map +7 -0
- package/dist/prod/Theming.js +2 -0
- package/dist/prod/Theming.js.map +7 -0
- package/dist/prod/UI5Element.js +2 -0
- package/dist/prod/UI5Element.js.map +7 -0
- package/dist/prod/UI5ElementMetadata.js +2 -0
- package/dist/prod/UI5ElementMetadata.js.map +7 -0
- package/dist/prod/animations/AnimationQueue.js +2 -0
- package/dist/prod/animations/AnimationQueue.js.map +7 -0
- package/dist/prod/animations/animate.js +2 -0
- package/dist/prod/animations/animate.js.map +7 -0
- package/dist/prod/animations/scroll.js +2 -0
- package/dist/prod/animations/scroll.js.map +7 -0
- package/dist/prod/animations/slideDown.js +2 -0
- package/dist/prod/animations/slideDown.js.map +7 -0
- package/dist/prod/animations/slideUp.js +2 -0
- package/dist/prod/animations/slideUp.js.map +7 -0
- package/dist/prod/asset-registries/Icons.js +2 -0
- package/dist/prod/asset-registries/Icons.js.map +7 -0
- package/dist/prod/asset-registries/Illustrations.js +2 -0
- package/dist/prod/asset-registries/Illustrations.js.map +7 -0
- package/dist/prod/asset-registries/LocaleData.js +2 -0
- package/dist/prod/asset-registries/LocaleData.js.map +7 -0
- package/dist/prod/asset-registries/Themes.js +2 -0
- package/dist/prod/asset-registries/Themes.js.map +7 -0
- package/dist/prod/asset-registries/i18n.js +2 -0
- package/dist/prod/asset-registries/i18n.js.map +7 -0
- package/dist/prod/asset-registries/util/IconCollectionsAlias.js +2 -0
- package/dist/prod/asset-registries/util/IconCollectionsAlias.js.map +7 -0
- package/dist/prod/asset-registries/util/IconCollectionsByTheme.js +2 -0
- package/dist/prod/asset-registries/util/IconCollectionsByTheme.js.map +7 -0
- package/dist/prod/asset-registries/util/getIconCollectionByTheme.js +2 -0
- package/dist/prod/asset-registries/util/getIconCollectionByTheme.js.map +7 -0
- package/dist/prod/config/AnimationMode.js +2 -0
- package/dist/prod/config/AnimationMode.js.map +7 -0
- package/dist/prod/config/CalendarType.js +2 -0
- package/dist/prod/config/CalendarType.js.map +7 -0
- package/dist/prod/config/ConfigurationReset.js +2 -0
- package/dist/prod/config/ConfigurationReset.js.map +7 -0
- package/dist/prod/config/Fonts.js +2 -0
- package/dist/prod/config/Fonts.js.map +7 -0
- package/dist/prod/config/FormatSettings.js +2 -0
- package/dist/prod/config/FormatSettings.js.map +7 -0
- package/dist/prod/config/Icons.js +2 -0
- package/dist/prod/config/Icons.js.map +7 -0
- package/dist/prod/config/Language.js +2 -0
- package/dist/prod/config/Language.js.map +7 -0
- package/dist/prod/config/NoConflict.js +2 -0
- package/dist/prod/config/NoConflict.js.map +7 -0
- package/dist/prod/config/Theme.js +2 -0
- package/dist/prod/config/Theme.js.map +7 -0
- package/dist/prod/config/ThemeRoot.js +2 -0
- package/dist/prod/config/ThemeRoot.js.map +7 -0
- package/dist/prod/config/Timezone.js +2 -0
- package/dist/prod/config/Timezone.js.map +7 -0
- package/dist/prod/config/Tooltips.js +2 -0
- package/dist/prod/config/Tooltips.js.map +7 -0
- package/dist/prod/connectToComponent.js +2 -0
- package/dist/prod/connectToComponent.js.map +7 -0
- package/dist/prod/converters/DOMReference.js +2 -0
- package/dist/prod/converters/DOMReference.js.map +7 -0
- package/dist/prod/decorators/bound.js +2 -0
- package/dist/prod/decorators/bound.js.map +7 -0
- package/dist/prod/decorators/customElement.js +2 -0
- package/dist/prod/decorators/customElement.js.map +7 -0
- package/dist/prod/decorators/event-strict.js +2 -0
- package/dist/prod/decorators/event-strict.js.map +7 -0
- package/dist/prod/decorators/event.js +2 -0
- package/dist/prod/decorators/event.js.map +7 -0
- package/dist/prod/decorators/i18n.js +2 -0
- package/dist/prod/decorators/i18n.js.map +7 -0
- package/dist/prod/decorators/property.js +2 -0
- package/dist/prod/decorators/property.js.map +7 -0
- package/dist/prod/decorators/query.js +2 -0
- package/dist/prod/decorators/query.js.map +7 -0
- package/dist/prod/decorators/queryAll.js +2 -0
- package/dist/prod/decorators/queryAll.js.map +7 -0
- package/dist/prod/decorators/slot.js +2 -0
- package/dist/prod/decorators/slot.js.map +7 -0
- package/dist/prod/decorators.js +2 -0
- package/dist/prod/decorators.js.map +7 -0
- package/dist/prod/delegate/ItemNavigation.js +2 -0
- package/dist/prod/delegate/ItemNavigation.js.map +7 -0
- package/dist/prod/delegate/ResizeHandler.js +2 -0
- package/dist/prod/delegate/ResizeHandler.js.map +7 -0
- package/dist/prod/delegate/ScrollEnablement.js +2 -0
- package/dist/prod/delegate/ScrollEnablement.js.map +7 -0
- package/dist/prod/features/F6Navigation.js +2 -0
- package/dist/prod/features/F6Navigation.js.map +7 -0
- package/dist/prod/features/InputElementsFormSupport.js +2 -0
- package/dist/prod/features/InputElementsFormSupport.js.map +7 -0
- package/dist/prod/features/LegacyDateFormats.js +2 -0
- package/dist/prod/features/LegacyDateFormats.js.map +7 -0
- package/dist/prod/features/OpenUI5Element.js +2 -0
- package/dist/prod/features/OpenUI5Element.js.map +7 -0
- package/dist/prod/features/OpenUI5Enablement.js +21 -0
- package/dist/prod/features/OpenUI5Enablement.js.map +7 -0
- package/dist/prod/features/OpenUI5Support.js +2 -0
- package/dist/prod/features/OpenUI5Support.js.map +7 -0
- package/dist/prod/features/patchPatcher.js +2 -0
- package/dist/prod/features/patchPatcher.js.map +7 -0
- package/dist/prod/features/patchPopup.js +2 -0
- package/dist/prod/features/patchPopup.js.map +7 -0
- package/dist/prod/generated/AssetParameters.js +2 -0
- package/dist/prod/generated/AssetParameters.js.map +7 -0
- package/dist/prod/generated/VersionInfo.js +2 -0
- package/dist/prod/generated/VersionInfo.js.map +7 -0
- package/dist/prod/generated/css/BusyIndicator.css.js +2 -0
- package/dist/prod/generated/css/BusyIndicator.css.js.map +7 -0
- package/dist/prod/generated/css/FontFace.css.js +2 -0
- package/dist/prod/generated/css/FontFace.css.js.map +7 -0
- package/dist/prod/generated/css/OverrideFontFace.css.js +2 -0
- package/dist/prod/generated/css/OverrideFontFace.css.js.map +7 -0
- package/dist/prod/generated/css/SystemCSSVars.css.js +2 -0
- package/dist/prod/generated/css/SystemCSSVars.css.js.map +7 -0
- package/dist/prod/getSharedResource.js +2 -0
- package/dist/prod/getSharedResource.js.map +7 -0
- package/dist/prod/global.d.js +2 -0
- package/dist/prod/global.d.js.map +7 -0
- package/dist/prod/i18nBundle.js +2 -0
- package/dist/prod/i18nBundle.js.map +7 -0
- package/dist/prod/index.js +2 -0
- package/dist/prod/index.js.map +7 -0
- package/dist/prod/jsx-dev-runtime.js +2 -0
- package/dist/prod/jsx-dev-runtime.js.map +7 -0
- package/dist/prod/jsx-runtime.js +2 -0
- package/dist/prod/jsx-runtime.js.map +7 -0
- package/dist/prod/jsx-utils.js +2 -0
- package/dist/prod/jsx-utils.js.map +7 -0
- package/dist/prod/locale/Locale.js +2 -0
- package/dist/prod/locale/Locale.js.map +7 -0
- package/dist/prod/locale/RTLAwareRegistry.js +2 -0
- package/dist/prod/locale/RTLAwareRegistry.js.map +7 -0
- package/dist/prod/locale/applyDirection.js +2 -0
- package/dist/prod/locale/applyDirection.js.map +7 -0
- package/dist/prod/locale/directionChange.js +2 -0
- package/dist/prod/locale/directionChange.js.map +7 -0
- package/dist/prod/locale/getEffectiveDir.js +2 -0
- package/dist/prod/locale/getEffectiveDir.js.map +7 -0
- package/dist/prod/locale/getLocale.js +2 -0
- package/dist/prod/locale/getLocale.js.map +7 -0
- package/dist/prod/locale/languageChange.js +2 -0
- package/dist/prod/locale/languageChange.js.map +7 -0
- package/dist/prod/locale/nextFallbackLocale.js +2 -0
- package/dist/prod/locale/nextFallbackLocale.js.map +7 -0
- package/dist/prod/locale/normalizeLocale.js +2 -0
- package/dist/prod/locale/normalizeLocale.js.map +7 -0
- package/dist/prod/renderer/JsxRenderer.js +2 -0
- package/dist/prod/renderer/JsxRenderer.js.map +7 -0
- package/dist/prod/renderer/LitRenderer.js +2 -0
- package/dist/prod/renderer/LitRenderer.js.map +7 -0
- package/dist/prod/renderer/directives/style-map.js +6 -0
- package/dist/prod/renderer/directives/style-map.js.map +7 -0
- package/dist/prod/renderer/executeTemplate.js +2 -0
- package/dist/prod/renderer/executeTemplate.js.map +7 -0
- package/dist/prod/sap/base/Log.js +750 -0
- package/dist/prod/sap/base/assert.js +34 -0
- package/dist/prod/sap/base/config/MemoryConfigurationProvider.js +20 -0
- package/dist/prod/sap/base/security/URLListValidator.js +406 -0
- package/dist/prod/sap/base/security/encodeCSS.js +40 -0
- package/dist/prod/sap/base/security/encodeXML.js +53 -0
- package/dist/prod/sap/base/security/sanitizeHTML.js +38 -0
- package/dist/prod/sap/base/strings/toHex.js +33 -0
- package/dist/prod/sap/base/util/now.js +28 -0
- package/dist/prod/sap/base/util/uid.js +27 -0
- package/dist/prod/sap/ui/thirdparty/caja-html-sanitizer.js +3600 -0
- package/dist/prod/ssr-dom-shim.js +2 -0
- package/dist/prod/ssr-dom-shim.js.map +7 -0
- package/dist/prod/ssr-dom.js +2 -0
- package/dist/prod/ssr-dom.js.map +7 -0
- package/dist/prod/theming/CustomStyle.js +2 -0
- package/dist/prod/theming/CustomStyle.js.map +7 -0
- package/dist/prod/theming/ThemeLoaded.js +2 -0
- package/dist/prod/theming/ThemeLoaded.js.map +7 -0
- package/dist/prod/theming/ThemeRegistered.js +2 -0
- package/dist/prod/theming/ThemeRegistered.js.map +7 -0
- package/dist/prod/theming/applyTheme.js +2 -0
- package/dist/prod/theming/applyTheme.js.map +7 -0
- package/dist/prod/theming/getConstructableStyle.js +2 -0
- package/dist/prod/theming/getConstructableStyle.js.map +7 -0
- package/dist/prod/theming/getEffectiveStyle.js +2 -0
- package/dist/prod/theming/getEffectiveStyle.js.map +7 -0
- package/dist/prod/theming/getStylesString.js +2 -0
- package/dist/prod/theming/getStylesString.js.map +7 -0
- package/dist/prod/theming/getThemeDesignerTheme.js +2 -0
- package/dist/prod/theming/getThemeDesignerTheme.js.map +7 -0
- package/dist/prod/thirdparty/_merge.js +2 -0
- package/dist/prod/thirdparty/_merge.js.map +7 -0
- package/dist/prod/thirdparty/isPlainObject.js +2 -0
- package/dist/prod/thirdparty/isPlainObject.js.map +7 -0
- package/dist/prod/thirdparty/merge.js +2 -0
- package/dist/prod/thirdparty/merge.js.map +7 -0
- package/dist/prod/thirdparty/preact/jsx.d.js +2 -0
- package/dist/prod/thirdparty/preact/jsx.d.js.map +7 -0
- package/dist/prod/thirdparty/preact/jsxRuntime.module.d.js +2 -0
- package/dist/prod/thirdparty/preact/jsxRuntime.module.d.js.map +7 -0
- package/dist/prod/thirdparty/preact/jsxRuntime.module.js +1 -0
- package/dist/prod/thirdparty/preact/preact.module.d.js +2 -0
- package/dist/prod/thirdparty/preact/preact.module.d.js.map +7 -0
- package/dist/prod/thirdparty/preact/preact.module.js +1 -0
- package/dist/prod/types/AnimationMode.js +2 -0
- package/dist/prod/types/AnimationMode.js.map +7 -0
- package/dist/prod/types/CalendarType.js +2 -0
- package/dist/prod/types/CalendarType.js.map +7 -0
- package/dist/prod/types/InvisibleMessageMode.js +2 -0
- package/dist/prod/types/InvisibleMessageMode.js.map +7 -0
- package/dist/prod/types/ItemNavigationBehavior.js +2 -0
- package/dist/prod/types/ItemNavigationBehavior.js.map +7 -0
- package/dist/prod/types/MovePlacement.js +2 -0
- package/dist/prod/types/MovePlacement.js.map +7 -0
- package/dist/prod/types/NavigationMode.js +2 -0
- package/dist/prod/types/NavigationMode.js.map +7 -0
- package/dist/prod/types/Orientation.js +2 -0
- package/dist/prod/types/Orientation.js.map +7 -0
- package/dist/prod/types/SortOrder.js +2 -0
- package/dist/prod/types/SortOrder.js.map +7 -0
- package/dist/prod/types/ValueState.js +2 -0
- package/dist/prod/types/ValueState.js.map +7 -0
- package/dist/prod/types.js +2 -0
- package/dist/prod/types.js.map +7 -0
- package/dist/prod/updateShadowRoot.js +2 -0
- package/dist/prod/updateShadowRoot.js.map +7 -0
- package/dist/prod/util/AccessibilityTextsHelper.js +2 -0
- package/dist/prod/util/AccessibilityTextsHelper.js.map +7 -0
- package/dist/prod/util/Caret.js +2 -0
- package/dist/prod/util/Caret.js.map +7 -0
- package/dist/prod/util/ColorConversion.js +2 -0
- package/dist/prod/util/ColorConversion.js.map +7 -0
- package/dist/prod/util/FetchHelper.js +2 -0
- package/dist/prod/util/FetchHelper.js.map +7 -0
- package/dist/prod/util/FocusableElements.js +2 -0
- package/dist/prod/util/FocusableElements.js.map +7 -0
- package/dist/prod/util/HTMLSanitizer.js +2 -0
- package/dist/prod/util/HTMLSanitizer.js.map +7 -0
- package/dist/prod/util/InvisibleMessage.js +2 -0
- package/dist/prod/util/InvisibleMessage.js.map +7 -0
- package/dist/prod/util/PopupUtils.js +2 -0
- package/dist/prod/util/PopupUtils.js.map +7 -0
- package/dist/prod/util/SelectionAssistant.js +2 -0
- package/dist/prod/util/SelectionAssistant.js.map +7 -0
- package/dist/prod/util/SlotsHelper.js +2 -0
- package/dist/prod/util/SlotsHelper.js.map +7 -0
- package/dist/prod/util/StringHelper.js +2 -0
- package/dist/prod/util/StringHelper.js.map +7 -0
- package/dist/prod/util/TabbableElements.js +2 -0
- package/dist/prod/util/TabbableElements.js.map +7 -0
- package/dist/prod/util/arraysAreEqual.js +2 -0
- package/dist/prod/util/arraysAreEqual.js.map +7 -0
- package/dist/prod/util/clamp.js +2 -0
- package/dist/prod/util/clamp.js.map +7 -0
- package/dist/prod/util/createLinkInHead.js +2 -0
- package/dist/prod/util/createLinkInHead.js.map +7 -0
- package/dist/prod/util/debounce.js +2 -0
- package/dist/prod/util/debounce.js.map +7 -0
- package/dist/prod/util/detectNavigatorLanguage.js +2 -0
- package/dist/prod/util/detectNavigatorLanguage.js.map +7 -0
- package/dist/prod/util/dragAndDrop/DragRegistry.js +2 -0
- package/dist/prod/util/dragAndDrop/DragRegistry.js.map +7 -0
- package/dist/prod/util/dragAndDrop/findClosestPosition.js +2 -0
- package/dist/prod/util/dragAndDrop/findClosestPosition.js.map +7 -0
- package/dist/prod/util/dragAndDrop/handleDragOver.js +2 -0
- package/dist/prod/util/dragAndDrop/handleDragOver.js.map +7 -0
- package/dist/prod/util/dragAndDrop/handleDrop.js +2 -0
- package/dist/prod/util/dragAndDrop/handleDrop.js.map +7 -0
- package/dist/prod/util/dragAndDrop/longDragOverHandler.js +2 -0
- package/dist/prod/util/dragAndDrop/longDragOverHandler.js.map +7 -0
- package/dist/prod/util/escapeRegex.js +2 -0
- package/dist/prod/util/escapeRegex.js.map +7 -0
- package/dist/prod/util/fixSafariActiveState.js +2 -0
- package/dist/prod/util/fixSafariActiveState.js.map +7 -0
- package/dist/prod/util/formatMessage.js +2 -0
- package/dist/prod/util/formatMessage.js.map +7 -0
- package/dist/prod/util/generateHighlightedMarkup.js +2 -0
- package/dist/prod/util/generateHighlightedMarkup.js.map +7 -0
- package/dist/prod/util/getActiveElement.js +2 -0
- package/dist/prod/util/getActiveElement.js.map +7 -0
- package/dist/prod/util/getClassCopy.js +2 -0
- package/dist/prod/util/getClassCopy.js.map +7 -0
- package/dist/prod/util/getDesigntimePropertyAsArray.js +2 -0
- package/dist/prod/util/getDesigntimePropertyAsArray.js.map +7 -0
- package/dist/prod/util/getEffectiveContentDensity.js +2 -0
- package/dist/prod/util/getEffectiveContentDensity.js.map +7 -0
- package/dist/prod/util/getEffectiveScrollbarStyle.js +26 -0
- package/dist/prod/util/getEffectiveScrollbarStyle.js.map +7 -0
- package/dist/prod/util/getFastNavigationGroups.js +2 -0
- package/dist/prod/util/getFastNavigationGroups.js.map +7 -0
- package/dist/prod/util/getFileExtension.js +2 -0
- package/dist/prod/util/getFileExtension.js.map +7 -0
- package/dist/prod/util/getNormalizedTarget.js +2 -0
- package/dist/prod/util/getNormalizedTarget.js.map +7 -0
- package/dist/prod/util/getSingletonElementInstance.js +2 -0
- package/dist/prod/util/getSingletonElementInstance.js.map +7 -0
- package/dist/prod/util/hash2str.js +2 -0
- package/dist/prod/util/hash2str.js.map +7 -0
- package/dist/prod/util/isElementClickable.js +2 -0
- package/dist/prod/util/isElementClickable.js.map +7 -0
- package/dist/prod/util/isElementHidden.js +2 -0
- package/dist/prod/util/isElementHidden.js.map +7 -0
- package/dist/prod/util/isElementInView.js +2 -0
- package/dist/prod/util/isElementInView.js.map +7 -0
- package/dist/prod/util/isElementTabbable.js +2 -0
- package/dist/prod/util/isElementTabbable.js.map +7 -0
- package/dist/prod/util/isValidPropertyName.js +2 -0
- package/dist/prod/util/isValidPropertyName.js.map +7 -0
- package/dist/prod/util/throttle.js +2 -0
- package/dist/prod/util/throttle.js.map +7 -0
- package/dist/prod/util/toLowercaseEnumValue.js +2 -0
- package/dist/prod/util/toLowercaseEnumValue.js.map +7 -0
- package/dist/prod/util/whenDOMReady.js +2 -0
- package/dist/prod/util/whenDOMReady.js.map +7 -0
- package/dist/prod/util/willShowContent.js +2 -0
- package/dist/prod/util/willShowContent.js.map +7 -0
- package/dist/prod/validateThemeRoot.js +2 -0
- package/dist/prod/validateThemeRoot.js.map +7 -0
- package/dist/renderer/JsxRenderer.d.ts +3 -0
- package/dist/renderer/JsxRenderer.js +16 -0
- package/dist/renderer/JsxRenderer.js.map +1 -0
- package/dist/renderer/LitRenderer.d.ts +3 -3
- package/dist/renderer/LitRenderer.js +5 -10
- package/dist/renderer/LitRenderer.js.map +1 -1
- package/dist/renderer/directives/style-map.d.ts +13 -0
- package/dist/renderer/directives/style-map.js +59 -59
- package/dist/renderer/directives/style-map.js.map +1 -0
- package/dist/renderer/executeTemplate.d.ts +3 -4
- package/dist/renderer/executeTemplate.js +1 -19
- package/dist/renderer/executeTemplate.js.map +1 -1
- package/dist/sap/base/Log.js +698 -188
- package/dist/sap/base/assert.js +28 -1
- package/dist/sap/base/config/MemoryConfigurationProvider.js +20 -0
- package/dist/sap/base/security/URLListValidator.js +253 -6
- package/dist/sap/base/security/encodeCSS.js +34 -8
- package/dist/sap/base/security/encodeXML.js +47 -17
- package/dist/sap/base/security/sanitizeHTML.js +35 -13
- package/dist/sap/base/strings/toHex.js +27 -2
- package/dist/sap/base/util/now.js +24 -3
- package/dist/sap/base/util/uid.js +27 -0
- package/dist/sap/ui/thirdparty/caja-html-sanitizer.js +2 -2
- package/dist/ssr-dom-shim.d.ts +1 -0
- package/dist/ssr-dom-shim.js +62 -0
- package/dist/ssr-dom-shim.js.map +1 -0
- package/dist/ssr-dom.d.ts +1 -0
- package/dist/ssr-dom.js +3 -0
- package/dist/ssr-dom.js.map +1 -0
- package/dist/theming/CustomStyle.js.map +1 -1
- package/dist/theming/applyTheme.js +6 -7
- package/dist/theming/applyTheme.js.map +1 -1
- package/dist/theming/getConstructableStyle.d.ts +2 -2
- package/dist/theming/getConstructableStyle.js +3 -3
- package/dist/theming/getConstructableStyle.js.map +1 -1
- package/dist/theming/getEffectiveStyle.d.ts +1 -1
- package/dist/theming/getEffectiveStyle.js +5 -12
- package/dist/theming/getEffectiveStyle.js.map +1 -1
- package/dist/theming/getStylesString.js +2 -4
- package/dist/theming/getStylesString.js.map +1 -1
- package/dist/theming/getThemeDesignerTheme.js +2 -1
- package/dist/theming/getThemeDesignerTheme.js.map +1 -1
- package/dist/thirdparty/_merge.js.map +1 -1
- package/dist/thirdparty/isPlainObject.js.map +1 -1
- package/dist/thirdparty/preact/jsx.d.ts +2616 -0
- package/dist/thirdparty/preact/jsxRuntime.module.d.ts +62 -0
- package/dist/thirdparty/preact/jsxRuntime.module.js +1 -0
- package/dist/thirdparty/preact/preact.module.d.ts +398 -0
- package/dist/thirdparty/preact/preact.module.js +1 -0
- package/dist/types/AnimationMode.d.ts +0 -8
- package/dist/types/AnimationMode.js +0 -8
- package/dist/types/AnimationMode.js.map +1 -1
- package/dist/types/CalendarType.d.ts +0 -9
- package/dist/types/CalendarType.js +0 -9
- package/dist/types/CalendarType.js.map +1 -1
- package/dist/types/InvisibleMessageMode.d.ts +5 -10
- package/dist/types/InvisibleMessageMode.js +4 -11
- package/dist/types/InvisibleMessageMode.js.map +1 -1
- package/dist/types/ItemNavigationBehavior.d.ts +0 -6
- package/dist/types/ItemNavigationBehavior.js +0 -6
- package/dist/types/ItemNavigationBehavior.js.map +1 -1
- 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 +0 -8
- package/dist/types/NavigationMode.js +0 -8
- package/dist/types/NavigationMode.js.map +1 -1
- 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/SortOrder.d.ts +24 -0
- package/dist/types/SortOrder.js +26 -0
- package/dist/types/SortOrder.js.map +1 -0
- package/dist/types/ValueState.d.ts +3 -17
- package/dist/types/ValueState.js +3 -17
- package/dist/types/ValueState.js.map +1 -1
- package/dist/types.d.ts +37 -14
- package/dist/types.js.map +1 -1
- package/dist/updateShadowRoot.d.ts +1 -2
- package/dist/updateShadowRoot.js +4 -28
- package/dist/updateShadowRoot.js.map +1 -1
- package/dist/util/{AriaLabelHelper.d.ts → AccessibilityTextsHelper.d.ts} +4 -2
- package/dist/util/{AriaLabelHelper.js → AccessibilityTextsHelper.js} +36 -8
- package/dist/util/AccessibilityTextsHelper.js.map +1 -0
- package/dist/util/Caret.js.map +1 -1
- package/dist/util/ColorConversion.d.ts +2 -1
- package/dist/util/ColorConversion.js +233 -216
- package/dist/util/ColorConversion.js.map +1 -1
- package/dist/util/FetchHelper.js.map +1 -1
- package/dist/util/FocusableElements.js +40 -12
- package/dist/util/FocusableElements.js.map +1 -1
- package/dist/util/HTMLSanitizer.d.ts +2 -0
- package/dist/util/HTMLSanitizer.js +2 -2
- package/dist/util/HTMLSanitizer.js.map +1 -1
- package/dist/util/InvisibleMessage.d.ts +1 -1
- package/dist/util/InvisibleMessage.js +2 -2
- package/dist/util/InvisibleMessage.js.map +1 -1
- package/dist/util/PopupUtils.d.ts +1 -3
- package/dist/util/PopupUtils.js +1 -15
- package/dist/util/PopupUtils.js.map +1 -1
- package/dist/util/SelectionAssistant.d.ts +12 -0
- package/dist/util/SelectionAssistant.js +79 -0
- package/dist/util/SelectionAssistant.js.map +1 -0
- package/dist/util/SlotsHelper.js.map +1 -1
- package/dist/util/StringHelper.d.ts +3 -1
- package/dist/util/StringHelper.js +15 -1
- package/dist/util/StringHelper.js.map +1 -1
- package/dist/util/TabbableElements.js +3 -10
- package/dist/util/TabbableElements.js.map +1 -1
- package/dist/util/arraysAreEqual.js.map +1 -1
- package/dist/util/clamp.js +2 -1
- package/dist/util/clamp.js.map +1 -1
- package/dist/util/createLinkInHead.d.ts +1 -1
- package/dist/util/createLinkInHead.js +1 -1
- package/dist/util/createLinkInHead.js.map +1 -1
- package/dist/util/debounce.js.map +1 -1
- package/dist/util/detectNavigatorLanguage.d.ts +2 -2
- package/dist/util/detectNavigatorLanguage.js +6 -1
- package/dist/util/detectNavigatorLanguage.js.map +1 -1
- package/dist/util/dragAndDrop/DragRegistry.d.ts +33 -0
- package/dist/util/dragAndDrop/DragRegistry.js +66 -0
- package/dist/util/dragAndDrop/DragRegistry.js.map +1 -0
- package/dist/util/dragAndDrop/findClosestPosition.d.ts +12 -0
- package/dist/util/dragAndDrop/findClosestPosition.js +106 -0
- package/dist/util/dragAndDrop/findClosestPosition.js.map +1 -0
- package/dist/util/dragAndDrop/handleDragOver.d.ts +16 -0
- package/dist/util/dragAndDrop/handleDragOver.js +42 -0
- package/dist/util/dragAndDrop/handleDragOver.js.map +1 -0
- package/dist/util/dragAndDrop/handleDrop.d.ts +5 -0
- package/dist/util/dragAndDrop/handleDrop.js +22 -0
- package/dist/util/dragAndDrop/handleDrop.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/fixSafariActiveState.d.ts +2 -0
- package/dist/util/fixSafariActiveState.js +11 -0
- package/dist/util/fixSafariActiveState.js.map +1 -0
- package/dist/util/formatMessage.js.map +1 -1
- package/dist/util/generateHighlightedMarkup.js.map +1 -1
- package/dist/util/getActiveElement.js.map +1 -1
- package/dist/util/getClassCopy.d.ts +144 -103
- package/dist/util/getDesigntimePropertyAsArray.d.ts +2 -2
- package/dist/util/getDesigntimePropertyAsArray.js +2 -1
- package/dist/util/getDesigntimePropertyAsArray.js.map +1 -1
- package/dist/util/getEffectiveScrollbarStyle.d.ts +1 -1
- package/dist/util/getEffectiveScrollbarStyle.js +31 -1
- package/dist/util/getEffectiveScrollbarStyle.js.map +1 -1
- package/dist/util/getFastNavigationGroups.js +6 -1
- package/dist/util/getFastNavigationGroups.js.map +1 -1
- package/dist/util/getFileExtension.js.map +1 -1
- package/dist/util/getNormalizedTarget.js.map +1 -1
- package/dist/util/getSingletonElementInstance.js.map +1 -1
- package/dist/util/hash2str.d.ts +1 -0
- package/dist/util/hash2str.js +14 -0
- package/dist/util/hash2str.js.map +1 -0
- package/dist/util/isElementClickable.js.map +1 -1
- package/dist/util/isElementHidden.js.map +1 -1
- package/dist/util/isElementTabbable.js +2 -2
- package/dist/util/isElementTabbable.js.map +1 -1
- package/dist/util/isValidPropertyName.js.map +1 -1
- package/dist/util/throttle.d.ts +2 -0
- package/dist/util/throttle.js +20 -0
- package/dist/util/throttle.js.map +1 -0
- package/dist/util/toLowercaseEnumValue.d.ts +3 -0
- package/dist/util/toLowercaseEnumValue.js +4 -0
- package/dist/util/toLowercaseEnumValue.js.map +1 -0
- package/dist/util/whenDOMReady.js.map +1 -1
- package/dist/validateThemeRoot.js +3 -2
- package/dist/validateThemeRoot.js.map +1 -1
- package/dist/vscode.html-custom-data.json +22 -0
- package/package-scripts.cjs +26 -23
- package/package.json +37 -11
- package/src/css/FontFace.css +13 -1
- package/src/css/SystemCSSVars.css +0 -8
- package/src/thirdparty/preact/jsxRuntime.module.js +1 -0
- package/src/thirdparty/preact/preact.module.js +1 -0
- package/src/thirdparty/preact/version.txt +1 -0
- package/tsconfig.json +18 -13
- package/.eslintignore +0 -16
- package/.eslintrc.cjs +0 -3
- package/bundle.esm.js +0 -67
- package/config/wdio.conf.cjs +0 -400
- package/dist/CSP.d.ts +0 -30
- package/dist/CSP.js +0 -51
- package/dist/CSP.js.map +0 -1
- package/dist/MarkedEvents.d.ts +0 -9
- package/dist/MarkedEvents.js +0 -15
- package/dist/MarkedEvents.js.map +0 -1
- package/dist/StaticArea.d.ts +0 -3
- package/dist/StaticArea.js +0 -7
- package/dist/StaticArea.js.map +0 -1
- package/dist/StaticAreaItem.d.ts +0 -37
- package/dist/StaticAreaItem.js +0 -105
- package/dist/StaticAreaItem.js.map +0 -1
- package/dist/api.json +0 -1
- package/dist/assets/Boot.34b7cea0.css +0 -1
- package/dist/assets/Boot.f668b2d0.js +0 -9
- package/dist/assets/bundle.esm.88a9eda7.js +0 -50
- package/dist/assets-meta/IconCollectionsAlias.js.map +0 -1
- package/dist/config/RTL.d.ts +0 -7
- package/dist/config/RTL.js +0 -37
- package/dist/config/RTL.js.map +0 -1
- package/dist/generated/templates/elements/WithComplexTemplateTemplate.lit.d.ts +0 -4
- package/dist/generated/templates/elements/WithComplexTemplateTemplate.lit.js +0 -9
- package/dist/generated/templates/elements/WithComplexTemplateTemplate.lit.js.map +0 -1
- package/dist/theming/getEffectiveLinksHrefs.d.ts +0 -3
- package/dist/theming/getEffectiveLinksHrefs.js +0 -17
- package/dist/theming/getEffectiveLinksHrefs.js.map +0 -1
- package/dist/theming/preloadLinks.d.ts +0 -3
- package/dist/theming/preloadLinks.js +0 -19
- package/dist/theming/preloadLinks.js.map +0 -1
- package/dist/types/CSSColor.d.ts +0 -15
- package/dist/types/CSSColor.js +0 -18
- package/dist/types/CSSColor.js.map +0 -1
- package/dist/types/DOMReference.d.ts +0 -17
- package/dist/types/DOMReference.js +0 -25
- package/dist/types/DOMReference.js.map +0 -1
- package/dist/types/DataType.d.ts +0 -25
- package/dist/types/DataType.js +0 -44
- package/dist/types/DataType.js.map +0 -1
- package/dist/types/Float.d.ts +0 -17
- package/dist/types/Float.js +0 -21
- package/dist/types/Float.js.map +0 -1
- package/dist/types/Integer.d.ts +0 -17
- package/dist/types/Integer.js +0 -21
- package/dist/types/Integer.js.map +0 -1
- package/dist/util/AriaLabelHelper.js.map +0 -1
- package/dist/util/createStyleInHead.d.ts +0 -8
- package/dist/util/createStyleInHead.js +0 -18
- package/dist/util/createStyleInHead.js.map +0 -1
- package/index.js +0 -230
- package/lib/generate-asset-parameters/index.js +0 -27
- package/lib/generate-styles/index.js +0 -31
- package/lib/generate-version-info/index.js +0 -32
- package/src/renderer/directives/style-map.js +0 -72
- package/used-modules.txt +0 -10
package/config/wdio.conf.cjs
DELETED
|
@@ -1,400 +0,0 @@
|
|
|
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
|
-
}
|
package/dist/CSP.d.ts
DELETED
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Use this function to provide the path to the directory where the css resources for the given package will be served from.
|
|
3
|
-
*
|
|
4
|
-
* @public
|
|
5
|
-
* @param packageName name of the package that is being configured
|
|
6
|
-
* @param root path, accessible by the server that will serve the css resources
|
|
7
|
-
*/
|
|
8
|
-
declare const setPackageCSSRoot: (packageName: string, root: string) => void;
|
|
9
|
-
declare const getUrl: (packageName: string, path: string) => string;
|
|
10
|
-
/**
|
|
11
|
-
* Call this function to enable or disable the usage of <link> tags instead of <style> tags to achieve CSP compliance
|
|
12
|
-
* Example: "setUseLinks(true)" will unconditionally use <link> tags for all browsers;
|
|
13
|
-
* Example: "setUseLinks(!document.adoptedStyleSheets) will only enable the usage of <link> tags for browsers that do not support constructable stylesheets.
|
|
14
|
-
*
|
|
15
|
-
* @public
|
|
16
|
-
* @param use whether links will be used
|
|
17
|
-
*/
|
|
18
|
-
declare const setUseLinks: (use: boolean) => void;
|
|
19
|
-
/**
|
|
20
|
-
* Call this function to enable or disable the preloading of <link> tags.
|
|
21
|
-
* Note: only taken into account when <link> tags are being used.
|
|
22
|
-
* Note: links are being preloaded by default, so call "setPreloadLinks(false)" to opt out of this.
|
|
23
|
-
*
|
|
24
|
-
* @public
|
|
25
|
-
* @param preload
|
|
26
|
-
*/
|
|
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, };
|
package/dist/CSP.js
DELETED
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
const roots = new Map();
|
|
2
|
-
let useLinks = false;
|
|
3
|
-
let preloadLinks = true;
|
|
4
|
-
/**
|
|
5
|
-
* Use this function to provide the path to the directory where the css resources for the given package will be served from.
|
|
6
|
-
*
|
|
7
|
-
* @public
|
|
8
|
-
* @param packageName name of the package that is being configured
|
|
9
|
-
* @param root path, accessible by the server that will serve the css resources
|
|
10
|
-
*/
|
|
11
|
-
const setPackageCSSRoot = (packageName, root) => {
|
|
12
|
-
roots.set(packageName, root);
|
|
13
|
-
};
|
|
14
|
-
const getUrl = (packageName, path) => {
|
|
15
|
-
const packageCSSRoot = roots.get(packageName);
|
|
16
|
-
if (!packageCSSRoot) {
|
|
17
|
-
console.warn(`Root path to the CSS resources ${packageName} not provided - use "setPackageCSSRoot" to provide the root.`); // eslint-disable-line
|
|
18
|
-
return "";
|
|
19
|
-
}
|
|
20
|
-
return `${packageCSSRoot}${path}`;
|
|
21
|
-
};
|
|
22
|
-
/**
|
|
23
|
-
* Call this function to enable or disable the usage of <link> tags instead of <style> tags to achieve CSP compliance
|
|
24
|
-
* Example: "setUseLinks(true)" will unconditionally use <link> tags for all browsers;
|
|
25
|
-
* Example: "setUseLinks(!document.adoptedStyleSheets) will only enable the usage of <link> tags for browsers that do not support constructable stylesheets.
|
|
26
|
-
*
|
|
27
|
-
* @public
|
|
28
|
-
* @param use whether links will be used
|
|
29
|
-
*/
|
|
30
|
-
const setUseLinks = (use) => {
|
|
31
|
-
useLinks = use;
|
|
32
|
-
};
|
|
33
|
-
/**
|
|
34
|
-
* Call this function to enable or disable the preloading of <link> tags.
|
|
35
|
-
* Note: only taken into account when <link> tags are being used.
|
|
36
|
-
* Note: links are being preloaded by default, so call "setPreloadLinks(false)" to opt out of this.
|
|
37
|
-
*
|
|
38
|
-
* @public
|
|
39
|
-
* @param preload
|
|
40
|
-
*/
|
|
41
|
-
const setPreloadLinks = (preload) => {
|
|
42
|
-
preloadLinks = preload;
|
|
43
|
-
};
|
|
44
|
-
const shouldUseLinks = () => {
|
|
45
|
-
return useLinks;
|
|
46
|
-
};
|
|
47
|
-
const shouldPreloadLinks = () => {
|
|
48
|
-
return preloadLinks;
|
|
49
|
-
};
|
|
50
|
-
export { setPackageCSSRoot, getUrl, setUseLinks, setPreloadLinks, shouldUseLinks, shouldPreloadLinks, };
|
|
51
|
-
//# sourceMappingURL=CSP.js.map
|
package/dist/CSP.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CSP.js","sourceRoot":"","sources":["../src/CSP.ts"],"names":[],"mappings":"AAAA,MAAM,KAAK,GAAG,IAAI,GAAG,EAAkB,CAAC;AACxC,IAAI,QAAQ,GAAG,KAAK,CAAC;AACrB,IAAI,YAAY,GAAG,IAAI,CAAC;AAExB;;;;;;GAMG;AACH,MAAM,iBAAiB,GAAG,CAAC,WAAmB,EAAE,IAAY,EAAE,EAAE;IAC/D,KAAK,CAAC,GAAG,CAAC,WAAW,EAAE,IAAI,CAAC,CAAC;AAC9B,CAAC,CAAC;AAEF,MAAM,MAAM,GAAG,CAAC,WAAmB,EAAE,IAAY,EAAE,EAAE;IACpD,MAAM,cAAc,GAAG,KAAK,CAAC,GAAG,CAAC,WAAW,CAAC,CAAC;IAE9C,IAAI,CAAC,cAAc,EAAE;QACpB,OAAO,CAAC,IAAI,CAAC,kCAAkC,WAAW,8DAA8D,CAAC,CAAC,CAAC,sBAAsB;QACjJ,OAAO,EAAE,CAAC;KACV;IAED,OAAO,GAAG,cAAc,GAAG,IAAI,EAAE,CAAC;AACnC,CAAC,CAAC;AAEF;;;;;;;GAOG;AACH,MAAM,WAAW,GAAG,CAAC,GAAY,EAAE,EAAE;IACpC,QAAQ,GAAG,GAAG,CAAC;AAChB,CAAC,CAAC;AAEF;;;;;;;GAOG;AACH,MAAM,eAAe,GAAG,CAAC,OAAgB,EAAE,EAAE;IAC5C,YAAY,GAAG,OAAO,CAAC;AACxB,CAAC,CAAC;AAEF,MAAM,cAAc,GAAG,GAAG,EAAE;IAC3B,OAAO,QAAQ,CAAC;AACjB,CAAC,CAAC;AAEF,MAAM,kBAAkB,GAAG,GAAG,EAAE;IAC/B,OAAO,YAAY,CAAC;AACrB,CAAC,CAAC;AAEF,OAAO,EACN,iBAAiB,EACjB,MAAM,EACN,WAAW,EACX,eAAe,EACf,cAAc,EACd,kBAAkB,GAClB,CAAC","sourcesContent":["const roots = new Map<string, string>();\nlet useLinks = false;\nlet preloadLinks = true;\n\n/**\n * Use this function to provide the path to the directory where the css resources for the given package will be served from.\n *\n * @public\n * @param packageName name of the package that is being configured\n * @param root path, accessible by the server that will serve the css resources\n */\nconst setPackageCSSRoot = (packageName: string, root: string) => {\n\troots.set(packageName, root);\n};\n\nconst getUrl = (packageName: string, path: string) => {\n\tconst packageCSSRoot = roots.get(packageName);\n\n\tif (!packageCSSRoot) {\n\t\tconsole.warn(`Root path to the CSS resources ${packageName} not provided - use \"setPackageCSSRoot\" to provide the root.`); // eslint-disable-line\n\t\treturn \"\";\n\t}\n\n\treturn `${packageCSSRoot}${path}`;\n};\n\n/**\n * Call this function to enable or disable the usage of <link> tags instead of <style> tags to achieve CSP compliance\n * Example: \"setUseLinks(true)\" will unconditionally use <link> tags for all browsers;\n * Example: \"setUseLinks(!document.adoptedStyleSheets) will only enable the usage of <link> tags for browsers that do not support constructable stylesheets.\n *\n * @public\n * @param use whether links will be used\n */\nconst setUseLinks = (use: boolean) => {\n\tuseLinks = use;\n};\n\n/**\n * Call this function to enable or disable the preloading of <link> tags.\n * Note: only taken into account when <link> tags are being used.\n * Note: links are being preloaded by default, so call \"setPreloadLinks(false)\" to opt out of this.\n *\n * @public\n * @param preload\n */\nconst setPreloadLinks = (preload: boolean) => {\n\tpreloadLinks = preload;\n};\n\nconst shouldUseLinks = () => {\n\treturn useLinks;\n};\n\nconst shouldPreloadLinks = () => {\n\treturn preloadLinks;\n};\n\nexport {\n\tsetPackageCSSRoot,\n\tgetUrl,\n\tsetUseLinks,\n\tsetPreloadLinks,\n\tshouldUseLinks,\n\tshouldPreloadLinks,\n};\n"]}
|
package/dist/MarkedEvents.d.ts
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Marks the given event with random marker.
|
|
3
|
-
*/
|
|
4
|
-
declare const markEvent: (event: Event, value: string) => void;
|
|
5
|
-
/**
|
|
6
|
-
* Returns the marker for the given event.
|
|
7
|
-
*/
|
|
8
|
-
declare const getEventMark: (event: Event) => string | undefined;
|
|
9
|
-
export { markEvent, getEventMark, };
|
package/dist/MarkedEvents.js
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
const markedEvents = new WeakMap();
|
|
2
|
-
/**
|
|
3
|
-
* Marks the given event with random marker.
|
|
4
|
-
*/
|
|
5
|
-
const markEvent = (event, value) => {
|
|
6
|
-
markedEvents.set(event, value);
|
|
7
|
-
};
|
|
8
|
-
/**
|
|
9
|
-
* Returns the marker for the given event.
|
|
10
|
-
*/
|
|
11
|
-
const getEventMark = (event) => {
|
|
12
|
-
return markedEvents.get(event);
|
|
13
|
-
};
|
|
14
|
-
export { markEvent, getEventMark, };
|
|
15
|
-
//# sourceMappingURL=MarkedEvents.js.map
|
package/dist/MarkedEvents.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"MarkedEvents.js","sourceRoot":"","sources":["../src/MarkedEvents.ts"],"names":[],"mappings":"AAAA,MAAM,YAAY,GAAG,IAAI,OAAO,EAAiB,CAAC;AAElD;;GAEG;AACH,MAAM,SAAS,GAAG,CAAC,KAAY,EAAE,KAAa,EAAE,EAAE;IACjD,YAAY,CAAC,GAAG,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC;AAChC,CAAC,CAAC;AAEF;;GAEG;AACH,MAAM,YAAY,GAAG,CAAC,KAAY,EAAsB,EAAE;IACzD,OAAO,YAAY,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;AAChC,CAAC,CAAC;AAEF,OAAO,EACN,SAAS,EACT,YAAY,GACZ,CAAC","sourcesContent":["const markedEvents = new WeakMap<Event, string>();\n\n/**\n * Marks the given event with random marker.\n */\nconst markEvent = (event: Event, value: string) => {\n\tmarkedEvents.set(event, value);\n};\n\n/**\n * Returns the marker for the given event.\n */\nconst getEventMark = (event: Event): string | undefined => {\n\treturn markedEvents.get(event);\n};\n\nexport {\n\tmarkEvent,\n\tgetEventMark,\n};\n"]}
|
package/dist/StaticArea.d.ts
DELETED
package/dist/StaticArea.js
DELETED
package/dist/StaticArea.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"StaticArea.js","sourceRoot":"","sources":["../src/StaticArea.ts"],"names":[],"mappings":"AAAA,MAAM,UAAW,SAAQ,WAAW;CAAG;AAEvC,IAAI,CAAC,cAAc,CAAC,GAAG,CAAC,iBAAiB,CAAC,EAAE;IAC3C,cAAc,CAAC,MAAM,CAAC,iBAAiB,EAAE,UAAU,CAAC,CAAC;CACrD;AAED,eAAe,UAAU,CAAC","sourcesContent":["class StaticArea extends HTMLElement {}\n\nif (!customElements.get(\"ui5-static-area\")) {\n\tcustomElements.define(\"ui5-static-area\", StaticArea);\n}\n\nexport default StaticArea;\n"]}
|
package/dist/StaticAreaItem.d.ts
DELETED
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import "./StaticArea.js";
|
|
2
|
-
import type UI5Element from "./UI5Element.js";
|
|
3
|
-
/**
|
|
4
|
-
*
|
|
5
|
-
* @class
|
|
6
|
-
* @author SAP SE
|
|
7
|
-
* @private
|
|
8
|
-
*/
|
|
9
|
-
declare class StaticAreaItem extends HTMLElement {
|
|
10
|
-
_rendered: boolean;
|
|
11
|
-
ownerElement?: UI5Element;
|
|
12
|
-
constructor();
|
|
13
|
-
/**
|
|
14
|
-
* @param {UI5Element} ownerElement the UI5Element instance that owns this static area item
|
|
15
|
-
*/
|
|
16
|
-
setOwnerElement(ownerElement: UI5Element): void;
|
|
17
|
-
/**
|
|
18
|
-
* Updates the shadow root of the static area item with the latest state, if rendered
|
|
19
|
-
*/
|
|
20
|
-
update(): void;
|
|
21
|
-
updateAdditionalProperties(): void;
|
|
22
|
-
/**
|
|
23
|
-
* Sets the correct content density based on the owner element's state
|
|
24
|
-
* @private
|
|
25
|
-
*/
|
|
26
|
-
_updateContentDensity(): void;
|
|
27
|
-
_updateDirection(): void;
|
|
28
|
-
_updateAdditionalAttrs(): void;
|
|
29
|
-
/**
|
|
30
|
-
* @protected
|
|
31
|
-
* Returns reference to the DOM element where the current fragment is added.
|
|
32
|
-
*/
|
|
33
|
-
getDomRef(): Promise<ShadowRoot | null>;
|
|
34
|
-
static getTag(): string;
|
|
35
|
-
static createInstance(): StaticAreaItem;
|
|
36
|
-
}
|
|
37
|
-
export default StaticAreaItem;
|
package/dist/StaticAreaItem.js
DELETED
|
@@ -1,105 +0,0 @@
|
|
|
1
|
-
import "./StaticArea.js";
|
|
2
|
-
import updateShadowRoot from "./updateShadowRoot.js";
|
|
3
|
-
import { renderFinished } from "./Render.js";
|
|
4
|
-
import getEffectiveContentDensity from "./util/getEffectiveContentDensity.js";
|
|
5
|
-
import { getEffectiveScopingSuffixForTag } from "./CustomElementsScopeUtils.js";
|
|
6
|
-
import getEffectiveDir from "./locale/getEffectiveDir.js";
|
|
7
|
-
import { getCurrentRuntimeIndex } from "./Runtimes.js";
|
|
8
|
-
const pureTagName = "ui5-static-area-item";
|
|
9
|
-
const popupIntegrationAttr = "data-sap-ui-integration-popup-content";
|
|
10
|
-
/**
|
|
11
|
-
*
|
|
12
|
-
* @class
|
|
13
|
-
* @author SAP SE
|
|
14
|
-
* @private
|
|
15
|
-
*/
|
|
16
|
-
class StaticAreaItem extends HTMLElement {
|
|
17
|
-
constructor() {
|
|
18
|
-
super();
|
|
19
|
-
this._rendered = false;
|
|
20
|
-
this.attachShadow({ mode: "open" });
|
|
21
|
-
}
|
|
22
|
-
/**
|
|
23
|
-
* @param {UI5Element} ownerElement the UI5Element instance that owns this static area item
|
|
24
|
-
*/
|
|
25
|
-
setOwnerElement(ownerElement) {
|
|
26
|
-
this.ownerElement = ownerElement;
|
|
27
|
-
this.classList.add(this.ownerElement._id); // used for getting the popover in the tests
|
|
28
|
-
if (this.ownerElement.hasAttribute("data-ui5-static-stable")) {
|
|
29
|
-
this.setAttribute("data-ui5-stable", this.ownerElement.getAttribute("data-ui5-static-stable")); // stable selector
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
/**
|
|
33
|
-
* Updates the shadow root of the static area item with the latest state, if rendered
|
|
34
|
-
*/
|
|
35
|
-
update() {
|
|
36
|
-
if (this._rendered) {
|
|
37
|
-
this.updateAdditionalProperties();
|
|
38
|
-
updateShadowRoot(this.ownerElement, true);
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
updateAdditionalProperties() {
|
|
42
|
-
this._updateAdditionalAttrs();
|
|
43
|
-
this._updateContentDensity();
|
|
44
|
-
this._updateDirection();
|
|
45
|
-
}
|
|
46
|
-
/**
|
|
47
|
-
* Sets the correct content density based on the owner element's state
|
|
48
|
-
* @private
|
|
49
|
-
*/
|
|
50
|
-
_updateContentDensity() {
|
|
51
|
-
if (getEffectiveContentDensity(this.ownerElement) === "compact") {
|
|
52
|
-
this.classList.add("sapUiSizeCompact");
|
|
53
|
-
this.classList.add("ui5-content-density-compact");
|
|
54
|
-
}
|
|
55
|
-
else {
|
|
56
|
-
this.classList.remove("sapUiSizeCompact");
|
|
57
|
-
this.classList.remove("ui5-content-density-compact");
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
_updateDirection() {
|
|
61
|
-
if (this.ownerElement) {
|
|
62
|
-
const dir = getEffectiveDir(this.ownerElement);
|
|
63
|
-
if (dir) {
|
|
64
|
-
this.setAttribute("dir", dir);
|
|
65
|
-
}
|
|
66
|
-
else {
|
|
67
|
-
this.removeAttribute("dir");
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
_updateAdditionalAttrs() {
|
|
72
|
-
this.setAttribute(`_ui5rt${getCurrentRuntimeIndex()}`, "");
|
|
73
|
-
this.setAttribute("_ui5host", "");
|
|
74
|
-
this.setAttribute(pureTagName, "");
|
|
75
|
-
this.setAttribute(popupIntegrationAttr, "");
|
|
76
|
-
}
|
|
77
|
-
/**
|
|
78
|
-
* @protected
|
|
79
|
-
* Returns reference to the DOM element where the current fragment is added.
|
|
80
|
-
*/
|
|
81
|
-
async getDomRef() {
|
|
82
|
-
this.updateAdditionalProperties();
|
|
83
|
-
if (!this._rendered) {
|
|
84
|
-
this._rendered = true;
|
|
85
|
-
updateShadowRoot(this.ownerElement, true);
|
|
86
|
-
}
|
|
87
|
-
await renderFinished(); // Wait for the content of the ui5-static-area-item to be rendered
|
|
88
|
-
return this.shadowRoot;
|
|
89
|
-
}
|
|
90
|
-
static getTag() {
|
|
91
|
-
const suffix = getEffectiveScopingSuffixForTag(pureTagName);
|
|
92
|
-
if (!suffix) {
|
|
93
|
-
return pureTagName;
|
|
94
|
-
}
|
|
95
|
-
return `${pureTagName}-${suffix}`;
|
|
96
|
-
}
|
|
97
|
-
static createInstance() {
|
|
98
|
-
if (!customElements.get(StaticAreaItem.getTag())) {
|
|
99
|
-
customElements.define(StaticAreaItem.getTag(), StaticAreaItem);
|
|
100
|
-
}
|
|
101
|
-
return document.createElement(this.getTag());
|
|
102
|
-
}
|
|
103
|
-
}
|
|
104
|
-
export default StaticAreaItem;
|
|
105
|
-
//# sourceMappingURL=StaticAreaItem.js.map
|