@ui5/webcomponents-base 0.0.0-0af474175 → 0.0.0-0dd36ca4b
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 +1055 -0
- package/README.md +2 -9
- package/config/wdio.conf.cjs +0 -8
- package/dist/.tsbuildinfo +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 +8 -6
- package/dist/Boot.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 +8 -1
- package/dist/CustomElementsScopeUtils.js +13 -1
- package/dist/CustomElementsScopeUtils.js.map +1 -1
- package/dist/Device.d.ts +2 -2
- package/dist/Device.js +14 -12
- package/dist/Device.js.map +1 -1
- package/dist/FontFace.js +1 -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 +2 -2
- package/dist/InitialConfiguration.js +7 -6
- package/dist/InitialConfiguration.js.map +1 -1
- package/dist/Keys.d.ts +7 -1
- package/dist/Keys.js +113 -106
- package/dist/Keys.js.map +1 -1
- package/dist/ManagedStyles.d.ts +5 -4
- package/dist/ManagedStyles.js +55 -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/UI5Element.d.ts +48 -53
- package/dist/UI5Element.js +127 -100
- package/dist/UI5Element.js.map +1 -1
- package/dist/UI5ElementMetadata.d.ts +13 -13
- package/dist/UI5ElementMetadata.js +26 -15
- package/dist/UI5ElementMetadata.js.map +1 -1
- package/dist/asset-registries/Icons.d.ts +4 -3
- 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 +4 -3
- package/dist/asset-registries/Themes.js +26 -10
- 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/CalendarType.d.ts +8 -1
- package/dist/config/CalendarType.js +18 -2
- package/dist/config/CalendarType.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 +6 -3
- package/dist/config/Language.js.map +1 -1
- package/dist/config/Theme.d.ts +4 -3
- package/dist/config/Theme.js +13 -6
- package/dist/config/Theme.js.map +1 -1
- package/dist/config/ThemeRoot.d.ts +2 -4
- package/dist/config/ThemeRoot.js +2 -4
- package/dist/config/ThemeRoot.js.map +1 -1
- package/dist/config/Timezone.d.ts +1 -1
- package/dist/config/Timezone.js +1 -1
- package/dist/config/Timezone.js.map +1 -1
- package/dist/connectToComponent.d.ts +9 -0
- package/dist/connectToComponent.js +59 -0
- package/dist/connectToComponent.js.map +1 -0
- package/dist/css/FontFace.css +47 -17
- package/dist/css/SystemCSSVars.css +0 -8
- package/dist/custom-elements-internal.json +2952 -0
- package/dist/custom-elements.json +2583 -0
- package/dist/decorators/customElement.d.ts +3 -3
- package/dist/decorators/customElement.js +10 -5
- package/dist/decorators/customElement.js.map +1 -1
- package/dist/decorators/event.d.ts +5 -2
- package/dist/decorators/event.js.map +1 -1
- 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 +9 -8
- package/dist/delegate/ItemNavigation.js +13 -14
- 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/InputElementsFormSupport.d.ts +18 -0
- package/dist/features/InputElementsFormSupport.js +40 -0
- package/dist/features/InputElementsFormSupport.js.map +1 -0
- package/dist/features/OpenUI5Enablement.d.ts +1 -1
- package/dist/features/OpenUI5Support.d.ts +13 -5
- package/dist/features/OpenUI5Support.js +87 -46
- 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 +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 +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/FontFace.css.js +1 -1
- package/dist/generated/css/FontFace.css.js.map +1 -1
- package/dist/generated/css/SystemCSSVars.css.js +1 -1
- package/dist/generated/css/SystemCSSVars.css.js.map +1 -1
- package/dist/generated/templates/elements/WithComplexTemplateTemplate.lit.d.ts +1 -1
- package/dist/i18nBundle.d.ts +2 -4
- package/dist/i18nBundle.js +1 -4
- package/dist/i18nBundle.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/renderer/LitRenderer.d.ts +2 -2
- package/dist/renderer/LitRenderer.js +2 -8
- 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/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 +112 -97
- 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/applyTheme.js +5 -5
- package/dist/theming/applyTheme.js.map +1 -1
- package/dist/theming/getConstructableStyle.d.ts +1 -1
- 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/types/AnimationMode.d.ts +0 -8
- package/dist/types/AnimationMode.js +0 -8
- package/dist/types/AnimationMode.js.map +1 -1
- 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 +0 -4
- package/dist/types/CSSColor.js +0 -4
- package/dist/types/CSSColor.js.map +1 -1
- package/dist/types/CSSSize.d.ts +11 -0
- package/dist/types/CSSSize.js +14 -0
- package/dist/types/CSSSize.js.map +1 -0
- 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/DOMReference.d.ts +1 -5
- package/dist/types/DOMReference.js +1 -5
- package/dist/types/DOMReference.js.map +1 -1
- package/dist/types/DataType.d.ts +1 -6
- package/dist/types/DataType.js +1 -6
- package/dist/types/DataType.js.map +1 -1
- package/dist/types/Float.d.ts +0 -3
- package/dist/types/Float.js +0 -3
- package/dist/types/Float.js.map +1 -1
- package/dist/types/Integer.d.ts +0 -3
- package/dist/types/Integer.js +0 -3
- package/dist/types/Integer.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/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 +24 -1
- package/dist/types.js.map +1 -1
- package/dist/updateShadowRoot.d.ts +1 -2
- package/dist/updateShadowRoot.js +5 -28
- package/dist/updateShadowRoot.js.map +1 -1
- package/dist/util/ColorConversion.js +200 -195
- package/dist/util/ColorConversion.js.map +1 -1
- package/dist/util/InvisibleMessage.d.ts +1 -1
- 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/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/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 +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/getClassCopy.d.ts +62 -42
- 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/getParentElement.d.ts +2 -0
- package/dist/util/getParentElement.js +5 -0
- package/dist/util/getParentElement.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/vscode.html-custom-data.json +22 -0
- package/index.js +3 -19
- package/package-scripts.cjs +17 -19
- package/package.json +16 -7
- package/src/css/FontFace.css +47 -17
- package/src/css/SystemCSSVars.css +0 -8
- package/tsconfig.json +6 -0
- package/.eslintignore +0 -16
- package/.eslintrc.cjs +0 -3
- package/bundle.esm.js +0 -67
- package/dist/CSP.d.ts +0 -30
- package/dist/CSP.js +0 -51
- package/dist/CSP.js.map +0 -1
- package/dist/StaticAreaItem.d.ts +0 -36
- package/dist/StaticAreaItem.js +0 -102
- 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.4ee0e678.js +0 -9
- package/dist/assets/bundle.esm.a67f0b0c.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/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/util/createStyleInHead.d.ts +0 -8
- package/dist/util/createStyleInHead.js +0 -18
- package/dist/util/createStyleInHead.js.map +0 -1
- 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
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Defines the ARIA accessible landmark roles.
|
|
3
|
+
*/
|
|
4
|
+
declare enum AriaLandmarkRole {
|
|
5
|
+
/**
|
|
6
|
+
* No explicit role is applicable.
|
|
7
|
+
*
|
|
8
|
+
* The interpretation of this value depends on the element which defines a property with this type.
|
|
9
|
+
* Normally this value means that no accessible landmark should be written.
|
|
10
|
+
*
|
|
11
|
+
* @public
|
|
12
|
+
*/
|
|
13
|
+
None = "None",
|
|
14
|
+
/**
|
|
15
|
+
* The ARIA role <code>banner</code>.
|
|
16
|
+
*
|
|
17
|
+
* A banner usually appears at the top of the page and typically spans the full width.
|
|
18
|
+
*
|
|
19
|
+
* @public
|
|
20
|
+
*/
|
|
21
|
+
Banner = "Banner",
|
|
22
|
+
/**
|
|
23
|
+
* The ARIA role <code>main</code>.
|
|
24
|
+
*
|
|
25
|
+
* The main content of a page.
|
|
26
|
+
*
|
|
27
|
+
* @public
|
|
28
|
+
*/
|
|
29
|
+
Main = "Main",
|
|
30
|
+
/**
|
|
31
|
+
* The ARIA role <code>region</code>.
|
|
32
|
+
*
|
|
33
|
+
* A section of a page, that is important enough to be included in a page summary or table of contents.
|
|
34
|
+
*
|
|
35
|
+
* @public
|
|
36
|
+
*/
|
|
37
|
+
Region = "Region",
|
|
38
|
+
/**
|
|
39
|
+
* The ARIA role <code>navigation</code>.
|
|
40
|
+
*
|
|
41
|
+
* A region that contains a collection of items and objects that, as a whole, combine to create a navigation facility.
|
|
42
|
+
*
|
|
43
|
+
* @public
|
|
44
|
+
*/
|
|
45
|
+
Navigation = "Navigation",
|
|
46
|
+
/**
|
|
47
|
+
* The ARIA role <code>search</code>.
|
|
48
|
+
*
|
|
49
|
+
* A region that contains a collection of items and objects that, as a whole, combine to create a search facility.
|
|
50
|
+
*
|
|
51
|
+
* @public
|
|
52
|
+
*/
|
|
53
|
+
Search = "Search",
|
|
54
|
+
/**
|
|
55
|
+
* The ARIA role <code>complementary</code>.
|
|
56
|
+
*
|
|
57
|
+
* A section of the page, designed to be complementary to the main content at a similar level in the DOM hierarchy.
|
|
58
|
+
*
|
|
59
|
+
* @public
|
|
60
|
+
*/
|
|
61
|
+
Complementary = "Complementary",
|
|
62
|
+
/**
|
|
63
|
+
* The ARIA role <code>form</code>.
|
|
64
|
+
*
|
|
65
|
+
* A region that contains a collection of items and objects that, as a whole, combine to create a form.
|
|
66
|
+
*
|
|
67
|
+
* @public
|
|
68
|
+
*/
|
|
69
|
+
Form = "Form",
|
|
70
|
+
/**
|
|
71
|
+
* The ARIA role <code>contentinfo</code>.
|
|
72
|
+
*
|
|
73
|
+
* A region that contains information about the content on the page.
|
|
74
|
+
*
|
|
75
|
+
* @public
|
|
76
|
+
*/
|
|
77
|
+
ContentInfo = "ContentInfo"
|
|
78
|
+
}
|
|
79
|
+
export default AriaLandmarkRole;
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Defines the ARIA accessible landmark roles.
|
|
3
|
+
*/
|
|
4
|
+
var AriaLandmarkRole;
|
|
5
|
+
(function (AriaLandmarkRole) {
|
|
6
|
+
/**
|
|
7
|
+
* No explicit role is applicable.
|
|
8
|
+
*
|
|
9
|
+
* The interpretation of this value depends on the element which defines a property with this type.
|
|
10
|
+
* Normally this value means that no accessible landmark should be written.
|
|
11
|
+
*
|
|
12
|
+
* @public
|
|
13
|
+
*/
|
|
14
|
+
AriaLandmarkRole["None"] = "None";
|
|
15
|
+
/**
|
|
16
|
+
* The ARIA role <code>banner</code>.
|
|
17
|
+
*
|
|
18
|
+
* A banner usually appears at the top of the page and typically spans the full width.
|
|
19
|
+
*
|
|
20
|
+
* @public
|
|
21
|
+
*/
|
|
22
|
+
AriaLandmarkRole["Banner"] = "Banner";
|
|
23
|
+
/**
|
|
24
|
+
* The ARIA role <code>main</code>.
|
|
25
|
+
*
|
|
26
|
+
* The main content of a page.
|
|
27
|
+
*
|
|
28
|
+
* @public
|
|
29
|
+
*/
|
|
30
|
+
AriaLandmarkRole["Main"] = "Main";
|
|
31
|
+
/**
|
|
32
|
+
* The ARIA role <code>region</code>.
|
|
33
|
+
*
|
|
34
|
+
* A section of a page, that is important enough to be included in a page summary or table of contents.
|
|
35
|
+
*
|
|
36
|
+
* @public
|
|
37
|
+
*/
|
|
38
|
+
AriaLandmarkRole["Region"] = "Region";
|
|
39
|
+
/**
|
|
40
|
+
* The ARIA role <code>navigation</code>.
|
|
41
|
+
*
|
|
42
|
+
* A region that contains a collection of items and objects that, as a whole, combine to create a navigation facility.
|
|
43
|
+
*
|
|
44
|
+
* @public
|
|
45
|
+
*/
|
|
46
|
+
AriaLandmarkRole["Navigation"] = "Navigation";
|
|
47
|
+
/**
|
|
48
|
+
* The ARIA role <code>search</code>.
|
|
49
|
+
*
|
|
50
|
+
* A region that contains a collection of items and objects that, as a whole, combine to create a search facility.
|
|
51
|
+
*
|
|
52
|
+
* @public
|
|
53
|
+
*/
|
|
54
|
+
AriaLandmarkRole["Search"] = "Search";
|
|
55
|
+
/**
|
|
56
|
+
* The ARIA role <code>complementary</code>.
|
|
57
|
+
*
|
|
58
|
+
* A section of the page, designed to be complementary to the main content at a similar level in the DOM hierarchy.
|
|
59
|
+
*
|
|
60
|
+
* @public
|
|
61
|
+
*/
|
|
62
|
+
AriaLandmarkRole["Complementary"] = "Complementary";
|
|
63
|
+
/**
|
|
64
|
+
* The ARIA role <code>form</code>.
|
|
65
|
+
*
|
|
66
|
+
* A region that contains a collection of items and objects that, as a whole, combine to create a form.
|
|
67
|
+
*
|
|
68
|
+
* @public
|
|
69
|
+
*/
|
|
70
|
+
AriaLandmarkRole["Form"] = "Form";
|
|
71
|
+
/**
|
|
72
|
+
* The ARIA role <code>contentinfo</code>.
|
|
73
|
+
*
|
|
74
|
+
* A region that contains information about the content on the page.
|
|
75
|
+
*
|
|
76
|
+
* @public
|
|
77
|
+
*/
|
|
78
|
+
AriaLandmarkRole["ContentInfo"] = "ContentInfo";
|
|
79
|
+
})(AriaLandmarkRole || (AriaLandmarkRole = {}));
|
|
80
|
+
export default AriaLandmarkRole;
|
|
81
|
+
//# sourceMappingURL=AriaLandmarkRole.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AriaLandmarkRole.js","sourceRoot":"","sources":["../../src/types/AriaLandmarkRole.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,IAAK,gBAmFJ;AAnFD,WAAK,gBAAgB;IACpB;;;;;;;OAOG;IACH,iCAAa,CAAA;IAEb;;;;;;OAMG;IACH,qCAAiB,CAAA;IAEjB;;;;;;OAMG;IACH,iCAAa,CAAA;IAEb;;;;;;OAMG;IACH,qCAAiB,CAAA;IAEjB;;;;;;OAMG;IACH,6CAAyB,CAAA;IAEzB;;;;;;OAMG;IACH,qCAAiB,CAAA;IAEjB;;;;;;OAMG;IACH,mDAA+B,CAAA;IAE/B;;;;;;OAMG;IACH,iCAAa,CAAA;IAEb;;;;;;OAMG;IACH,+CAA2B,CAAA;AAE5B,CAAC,EAnFI,gBAAgB,KAAhB,gBAAgB,QAmFpB;AAED,eAAe,gBAAgB,CAAC","sourcesContent":["/**\n * Defines the ARIA accessible landmark roles.\n */\nenum AriaLandmarkRole {\n\t/**\n\t * No explicit role is applicable.\n\t *\n\t * The interpretation of this value depends on the element which defines a property with this type.\n\t * Normally this value means that no accessible landmark should be written.\n\t *\n\t * @public\n\t */\n\tNone = \"None\",\n\n\t/**\n\t * The ARIA role <code>banner</code>.\n\t *\n\t * A banner usually appears at the top of the page and typically spans the full width.\n\t *\n\t * @public\n\t */\n\tBanner = \"Banner\",\n\n\t/**\n\t * The ARIA role <code>main</code>.\n\t *\n\t * The main content of a page.\n\t *\n\t * @public\n\t */\n\tMain = \"Main\",\n\n\t/**\n\t * The ARIA role <code>region</code>.\n\t *\n\t * A section of a page, that is important enough to be included in a page summary or table of contents.\n\t *\n\t * @public\n\t */\n\tRegion = \"Region\",\n\n\t/**\n\t * The ARIA role <code>navigation</code>.\n\t *\n\t * A region that contains a collection of items and objects that, as a whole, combine to create a navigation facility.\n\t *\n\t * @public\n\t */\n\tNavigation = \"Navigation\",\n\n\t/**\n\t * The ARIA role <code>search</code>.\n\t *\n\t * A region that contains a collection of items and objects that, as a whole, combine to create a search facility.\n\t *\n\t * @public\n\t */\n\tSearch = \"Search\",\n\n\t/**\n\t * The ARIA role <code>complementary</code>.\n\t *\n\t * A section of the page, designed to be complementary to the main content at a similar level in the DOM hierarchy.\n\t *\n\t * @public\n\t */\n\tComplementary = \"Complementary\",\n\n\t/**\n\t * The ARIA role <code>form</code>.\n\t *\n\t * A region that contains a collection of items and objects that, as a whole, combine to create a form.\n\t *\n\t * @public\n\t */\n\tForm = \"Form\",\n\n\t/**\n\t * The ARIA role <code>contentinfo</code>.\n\t *\n\t * A region that contains information about the content on the page.\n\t *\n\t * @public\n\t */\n\tContentInfo = \"ContentInfo\"\n\n}\n\nexport default AriaLandmarkRole;\n"]}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Types of ARIA roles.
|
|
3
|
+
* @public
|
|
4
|
+
*/
|
|
5
|
+
declare enum AriaRole {
|
|
6
|
+
/**
|
|
7
|
+
* The ARIA role "alertdialog".
|
|
8
|
+
* @public
|
|
9
|
+
*/
|
|
10
|
+
AlertDialog = "AlertDialog",
|
|
11
|
+
/**
|
|
12
|
+
* The ARIA role "button".
|
|
13
|
+
* @public
|
|
14
|
+
*/
|
|
15
|
+
Button = "Button",
|
|
16
|
+
/**
|
|
17
|
+
* The ARIA role "dialog".
|
|
18
|
+
* @public
|
|
19
|
+
*/
|
|
20
|
+
Dialog = "Dialog",
|
|
21
|
+
/**
|
|
22
|
+
* The ARIA role "link".
|
|
23
|
+
* @public
|
|
24
|
+
*/
|
|
25
|
+
Link = "Link"
|
|
26
|
+
}
|
|
27
|
+
export default AriaRole;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Types of ARIA roles.
|
|
3
|
+
* @public
|
|
4
|
+
*/
|
|
5
|
+
var AriaRole;
|
|
6
|
+
(function (AriaRole) {
|
|
7
|
+
/**
|
|
8
|
+
* The ARIA role "alertdialog".
|
|
9
|
+
* @public
|
|
10
|
+
*/
|
|
11
|
+
AriaRole["AlertDialog"] = "AlertDialog";
|
|
12
|
+
/**
|
|
13
|
+
* The ARIA role "button".
|
|
14
|
+
* @public
|
|
15
|
+
*/
|
|
16
|
+
AriaRole["Button"] = "Button";
|
|
17
|
+
/**
|
|
18
|
+
* The ARIA role "dialog".
|
|
19
|
+
* @public
|
|
20
|
+
*/
|
|
21
|
+
AriaRole["Dialog"] = "Dialog";
|
|
22
|
+
/**
|
|
23
|
+
* The ARIA role "link".
|
|
24
|
+
* @public
|
|
25
|
+
*/
|
|
26
|
+
AriaRole["Link"] = "Link";
|
|
27
|
+
})(AriaRole || (AriaRole = {}));
|
|
28
|
+
export default AriaRole;
|
|
29
|
+
//# sourceMappingURL=AriaRole.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AriaRole.js","sourceRoot":"","sources":["../../src/types/AriaRole.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,IAAK,QAwBJ;AAxBD,WAAK,QAAQ;IACZ;;;MAGE;IACF,uCAA2B,CAAA;IAE3B;;;OAGG;IACH,6BAAiB,CAAA;IAEjB;;;OAGG;IACH,6BAAiB,CAAA;IAEjB;;;OAGG;IACH,yBAAa,CAAA;AACd,CAAC,EAxBI,QAAQ,KAAR,QAAQ,QAwBZ;AAED,eAAe,QAAQ,CAAC","sourcesContent":["/**\n * Types of ARIA roles.\n * @public\n */\nenum AriaRole {\n\t/**\n\t* The ARIA role \"alertdialog\".\n\t* @public\n\t*/\n\tAlertDialog = \"AlertDialog\",\n\n\t/**\n\t * The ARIA role \"button\".\n\t * @public\n\t */\n\tButton = \"Button\",\n\n\t/**\n\t * The ARIA role \"dialog\".\n\t * @public\n\t */\n\tDialog = \"Dialog\",\n\n\t/**\n\t * The ARIA role \"link\".\n\t * @public\n\t */\n\tLink = \"Link\",\n}\n\nexport default AriaRole;\n"]}
|
package/dist/types/CSSColor.d.ts
CHANGED
|
@@ -3,10 +3,6 @@ import DataType from "./DataType.js";
|
|
|
3
3
|
* @class
|
|
4
4
|
* CSSColor data type.
|
|
5
5
|
*
|
|
6
|
-
* @extends sap.ui.webc.base.types.DataType
|
|
7
|
-
* @constructor
|
|
8
|
-
* @author SAP SE
|
|
9
|
-
* @alias sap.ui.webc.base.types.CSSColor
|
|
10
6
|
* @public
|
|
11
7
|
*/
|
|
12
8
|
declare class CSSColor extends DataType {
|
package/dist/types/CSSColor.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CSSColor.js","sourceRoot":"","sources":["../../src/types/CSSColor.ts"],"names":[],"mappings":"AAAA,OAAO,QAAQ,MAAM,eAAe,CAAC;AAErC
|
|
1
|
+
{"version":3,"file":"CSSColor.js","sourceRoot":"","sources":["../../src/types/CSSColor.ts"],"names":[],"mappings":"AAAA,OAAO,QAAQ,MAAM,eAAe,CAAC;AAErC;;;;;GAKG;AACH,MAAM,QAAS,SAAQ,QAAQ;IAC9B,MAAM,CAAU,OAAO,CAAC,KAAa;QACpC,OAAO,8/DAA8/D,CAAC,IAAI,CAAC,KAAK,CAAE,CAAC,CAAC,sBAAsB;IAC3iE,CAAC;CACD;AAED,eAAe,QAAQ,CAAC","sourcesContent":["import DataType from \"./DataType.js\";\n\n/**\n * @class\n * CSSColor data type.\n *\n * @public\n */\nclass CSSColor extends DataType {\n\tstatic override isValid(value: string) {\n\t\treturn /^(#([0-9a-fA-F]{3}|[0-9a-fA-F]{6})|rgb\\(\\s*((1?[0-9]?[0-9]|2([0-4][0-9]|5[0-5]))|([0-9]?[0-9](\\.[0-9]+)?|100(\\.0+)?)%)\\s*(,\\s*((1?[0-9]?[0-9]|2([0-4][0-9]|5[0-5]))|([0-9]?[0-9](\\.[0-9]+)?|100(\\.0+)?)%)\\s*){2}\\)|rgba\\((\\s*((1?[0-9]?[0-9]|2([0-4][0-9]|5[0-5]))|([0-9]?[0-9](\\.[0-9]+)?|100(\\.0+)?)%)\\s*,){3}\\s*(0(\\.[0-9]+)?|1(\\.0+)?)\\s*\\)|hsl\\(\\s*([0-2]?[0-9]?[0-9]|3([0-5][0-9]|60))\\s*(,\\s*(([0-9]?[0-9](\\.[0-9]+)?|100(\\.0+)?)%)\\s*){2}\\)|hsla\\(\\s*([0-2]?[0-9]?[0-9]|3([0-5][0-9]|60))\\s*,(\\s*(([0-9]?[0-9](\\.[0-9]+)?|100(\\.0+)?)%)\\s*,){2}\\s*(0(\\.[0-9]+)?|1(\\.0+)?)\\s*\\)|aliceblue|antiquewhite|aqua|aquamarine|azure|beige|bisque|black|blanchedalmond|blue|blueviolet|brown|burlywood|cadetblue|chartreuse|chocolate|coral|cornflowerblue|cornsilk|crimson|cyan|darkblue|darkcyan|darkgoldenrod|darkgray|darkgrey|darkgreen|darkkhaki|darkmagenta|darkolivegreen|darkorange|darkorchid|darkred|darksalmon|darkseagreen|darkslateblue|darkslategray|darkslategrey|darkturquoise|darkviolet|deeppink|deepskyblue|dimgray|dimgrey|dodgerblue|firebrick|floralwhite|forestgreen|fuchsia|gainsboro|ghostwhite|gold|goldenrod|gray|grey|green|greenyellow|honeydew|hotpink|indianred|indigo|ivory|khaki|lavender|lavenderblush|lawngreen|lemonchiffon|lightblue|lightcoral|lightcyan|lightgoldenrodyellow|lightgray|lightgrey|lightgreen|lightpink|lightsalmon|lightseagreen|lightskyblue|lightslategray|lightslategrey|lightsteelblue|lightyellow|lime|limegreen|linen|magenta|maroon|mediumaquamarine|mediumblue|mediumorchid|mediumpurple|mediumseagreen|mediumslateblue|mediumspringgreen|mediumturquoise|mediumvioletred|midnightblue|mintcream|mistyrose|moccasin|navajowhite|navy|oldlace|olive|olivedrab|orange|orangered|orchid|palegoldenrod|palegreen|paleturquoise|palevioletred|papayawhip|peachpuff|peru|pink|plum|powderblue|purple|red|rosybrown|royalblue|saddlebrown|salmon|sandybrown|seagreen|seashell|sienna|silverskyblue|slateblue|slategray|slategrey|snow|springgreen|steelblue|tan|teal|thistle|tomato|turquoise|violet|wheat|white|whitesmoke|yellow|yellowgreen|transparent|inherit|)$/.test(value ); // eslint-disable-line\n\t}\n}\n\nexport default CSSColor;\n"]}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import DataType from "./DataType.js";
|
|
2
|
+
/**
|
|
3
|
+
* @class
|
|
4
|
+
* CSSSize data type.
|
|
5
|
+
*
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
class CSSSize extends DataType {
|
|
9
|
+
static isValid(value) {
|
|
10
|
+
return /^(auto|inherit|[-+]?(0*|([0-9]+|[0-9]*\.[0-9]+)([rR][eE][mM]|[eE][mM]|[eE][xX]|[pP][xX]|[cC][mM]|[mM][mM]|[iI][nN]|[pP][tT]|[pP][cC]|%))|calc\(\s*(\(\s*)*[-+]?(([0-9]+|[0-9]*\.[0-9]+)([rR][eE][mM]|[eE][mM]|[eE][xX]|[pP][xX]|[cC][mM]|[mM][mM]|[iI][nN]|[pP][tT]|[pP][cC]|%)?)(\s*(\)\s*)*(\s[-+]\s|[*\/])\s*(\(\s*)*([-+]?(([0-9]+|[0-9]*\.[0-9]+)([rR][eE][mM]|[eE][mM]|[eE][xX]|[pP][xX]|[cC][mM]|[mM][mM]|[iI][nN]|[pP][tT]|[pP][cC]|%)?)))*\s*(\)\s*)*\))$/.test(value); // eslint-disable-line
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
export default CSSSize;
|
|
14
|
+
//# sourceMappingURL=CSSSize.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CSSSize.js","sourceRoot":"","sources":["../../src/types/CSSSize.ts"],"names":[],"mappings":"AAAA,OAAO,QAAQ,MAAM,eAAe,CAAC;AAErC;;;;;GAKG;AACH,MAAM,OAAQ,SAAQ,QAAQ;IAC7B,MAAM,CAAC,OAAO,CAAC,KAAa;QAC3B,OAAO,ocAAoc,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,sBAAsB;IAChf,CAAC;CACD;AAED,eAAe,OAAO,CAAC","sourcesContent":["import DataType from \"./DataType.js\";\n\n/**\n * @class\n * CSSSize data type.\n *\n * @public\n */\nclass CSSSize extends DataType {\n\tstatic isValid(value: string) {\n\t\treturn /^(auto|inherit|[-+]?(0*|([0-9]+|[0-9]*\\.[0-9]+)([rR][eE][mM]|[eE][mM]|[eE][xX]|[pP][xX]|[cC][mM]|[mM][mM]|[iI][nN]|[pP][tT]|[pP][cC]|%))|calc\\(\\s*(\\(\\s*)*[-+]?(([0-9]+|[0-9]*\\.[0-9]+)([rR][eE][mM]|[eE][mM]|[eE][xX]|[pP][xX]|[cC][mM]|[mM][mM]|[iI][nN]|[pP][tT]|[pP][cC]|%)?)(\\s*(\\)\\s*)*(\\s[-+]\\s|[*\\/])\\s*(\\(\\s*)*([-+]?(([0-9]+|[0-9]*\\.[0-9]+)([rR][eE][mM]|[eE][mM]|[eE][xX]|[pP][xX]|[cC][mM]|[mM][mM]|[iI][nN]|[pP][tT]|[pP][cC]|%)?)))*\\s*(\\)\\s*)*\\))$/.test(value); // eslint-disable-line\n\t}\n}\n\nexport default CSSSize;\n"]}
|
|
@@ -1,36 +1,27 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Different calendar types.
|
|
3
3
|
*
|
|
4
|
-
* @readonly
|
|
5
|
-
* @enum {string}
|
|
6
4
|
* @public
|
|
7
|
-
* @author SAP SE
|
|
8
|
-
* @alias sap.ui.webc.base.types.CalendarType
|
|
9
5
|
*/
|
|
10
6
|
declare enum CalendarType {
|
|
11
7
|
/**
|
|
12
8
|
* @public
|
|
13
|
-
* @type {Gregorian}
|
|
14
9
|
*/
|
|
15
10
|
Gregorian = "Gregorian",
|
|
16
11
|
/**
|
|
17
12
|
* @public
|
|
18
|
-
* @type {Islamic}
|
|
19
13
|
*/
|
|
20
14
|
Islamic = "Islamic",
|
|
21
15
|
/**
|
|
22
16
|
* @public
|
|
23
|
-
* @type {Japanese}
|
|
24
17
|
*/
|
|
25
18
|
Japanese = "Japanese",
|
|
26
19
|
/**
|
|
27
20
|
* @public
|
|
28
|
-
* @type {Buddhist}
|
|
29
21
|
*/
|
|
30
22
|
Buddhist = "Buddhist",
|
|
31
23
|
/**
|
|
32
24
|
* @public
|
|
33
|
-
* @type {Persian}
|
|
34
25
|
*/
|
|
35
26
|
Persian = "Persian"
|
|
36
27
|
}
|
|
@@ -1,37 +1,28 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Different calendar types.
|
|
3
3
|
*
|
|
4
|
-
* @readonly
|
|
5
|
-
* @enum {string}
|
|
6
4
|
* @public
|
|
7
|
-
* @author SAP SE
|
|
8
|
-
* @alias sap.ui.webc.base.types.CalendarType
|
|
9
5
|
*/
|
|
10
6
|
var CalendarType;
|
|
11
7
|
(function (CalendarType) {
|
|
12
8
|
/**
|
|
13
9
|
* @public
|
|
14
|
-
* @type {Gregorian}
|
|
15
10
|
*/
|
|
16
11
|
CalendarType["Gregorian"] = "Gregorian";
|
|
17
12
|
/**
|
|
18
13
|
* @public
|
|
19
|
-
* @type {Islamic}
|
|
20
14
|
*/
|
|
21
15
|
CalendarType["Islamic"] = "Islamic";
|
|
22
16
|
/**
|
|
23
17
|
* @public
|
|
24
|
-
* @type {Japanese}
|
|
25
18
|
*/
|
|
26
19
|
CalendarType["Japanese"] = "Japanese";
|
|
27
20
|
/**
|
|
28
21
|
* @public
|
|
29
|
-
* @type {Buddhist}
|
|
30
22
|
*/
|
|
31
23
|
CalendarType["Buddhist"] = "Buddhist";
|
|
32
24
|
/**
|
|
33
25
|
* @public
|
|
34
|
-
* @type {Persian}
|
|
35
26
|
*/
|
|
36
27
|
CalendarType["Persian"] = "Persian";
|
|
37
28
|
})(CalendarType || (CalendarType = {}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CalendarType.js","sourceRoot":"","sources":["../../src/types/CalendarType.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"CalendarType.js","sourceRoot":"","sources":["../../src/types/CalendarType.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,IAAK,YAqBJ;AArBD,WAAK,YAAY;IAChB;;OAEG;IACH,uCAAuB,CAAA;IACvB;;OAEG;IACH,mCAAmB,CAAA;IACnB;;OAEG;IACH,qCAAqB,CAAA;IACrB;;OAEG;IACH,qCAAqB,CAAA;IACrB;;OAEG;IACH,mCAAmB,CAAA;AACpB,CAAC,EArBI,YAAY,KAAZ,YAAY,QAqBhB;AAED,eAAe,YAAY,CAAC","sourcesContent":["/**\n * Different calendar types.\n *\n * @public\n */\nenum CalendarType {\n\t/**\n\t * @public\n\t */\n\tGregorian = \"Gregorian\",\n\t/**\n\t * @public\n\t */\n\tIslamic = \"Islamic\",\n\t/**\n\t * @public\n\t */\n\tJapanese = \"Japanese\",\n\t/**\n\t * @public\n\t */\n\tBuddhist = \"Buddhist\",\n\t/**\n\t * @public\n\t */\n\tPersian = \"Persian\",\n}\n\nexport default CalendarType;\n"]}
|
|
@@ -2,12 +2,8 @@ import DataType from "./DataType.js";
|
|
|
2
2
|
/**
|
|
3
3
|
* @class
|
|
4
4
|
* DOM Element reference or ID.
|
|
5
|
-
*
|
|
5
|
+
* **Note:** If an ID is passed, it is expected to be part of the same `document` element as the consuming component.
|
|
6
6
|
*
|
|
7
|
-
* @constructor
|
|
8
|
-
* @extends sap.ui.webc.base.types.DataType
|
|
9
|
-
* @author SAP SE
|
|
10
|
-
* @alias sap.ui.webc.base.types.DOMReference
|
|
11
7
|
* @public
|
|
12
8
|
*/
|
|
13
9
|
declare class DOMReference extends DataType {
|
|
@@ -2,12 +2,8 @@ import DataType from "./DataType.js";
|
|
|
2
2
|
/**
|
|
3
3
|
* @class
|
|
4
4
|
* DOM Element reference or ID.
|
|
5
|
-
*
|
|
5
|
+
* **Note:** If an ID is passed, it is expected to be part of the same `document` element as the consuming component.
|
|
6
6
|
*
|
|
7
|
-
* @constructor
|
|
8
|
-
* @extends sap.ui.webc.base.types.DataType
|
|
9
|
-
* @author SAP SE
|
|
10
|
-
* @alias sap.ui.webc.base.types.DOMReference
|
|
11
7
|
* @public
|
|
12
8
|
*/
|
|
13
9
|
class DOMReference extends DataType {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DOMReference.js","sourceRoot":"","sources":["../../src/types/DOMReference.ts"],"names":[],"mappings":"AAAA,OAAO,QAAQ,MAAM,eAAe,CAAC;AAErC
|
|
1
|
+
{"version":3,"file":"DOMReference.js","sourceRoot":"","sources":["../../src/types/DOMReference.ts"],"names":[],"mappings":"AAAA,OAAO,QAAQ,MAAM,eAAe,CAAC;AAErC;;;;;;GAMG;AACH,MAAM,YAAa,SAAQ,QAAQ;IAClC,MAAM,CAAU,OAAO,CAAC,KAA2B;QAClD,OAAO,CAAC,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,YAAY,WAAW,CAAC,CAAC;IACpE,CAAC;IAED,MAAM,CAAU,mBAAmB,CAAC,aAAmC;QACtE,IAAI,aAAa,YAAY,WAAW,EAAE;YACzC,OAAO,IAAI,CAAC;SACZ;QAED,OAAO,aAAa,CAAC;IACtB,CAAC;CACD;AAED,eAAe,YAAY,CAAC","sourcesContent":["import DataType from \"./DataType.js\";\n\n/**\n * @class\n * DOM Element reference or ID.\n * **Note:** If an ID is passed, it is expected to be part of the same `document` element as the consuming component.\n *\n * @public\n */\nclass DOMReference extends DataType {\n\tstatic override isValid(value: string | HTMLElement) {\n\t\treturn (typeof value === \"string\" || value instanceof HTMLElement);\n\t}\n\n\tstatic override propertyToAttribute(propertyValue: string | HTMLElement) {\n\t\tif (propertyValue instanceof HTMLElement) {\n\t\t\treturn null;\n\t\t}\n\n\t\treturn propertyValue;\n\t}\n}\n\nexport default DOMReference;\n"]}
|
package/dist/types/DataType.d.ts
CHANGED
|
@@ -1,19 +1,14 @@
|
|
|
1
1
|
import { PropertyValue } from "../UI5ElementMetadata.js";
|
|
2
2
|
/**
|
|
3
|
+
* @class
|
|
3
4
|
* Base class for all data types.
|
|
4
5
|
*
|
|
5
|
-
* @class
|
|
6
|
-
* @constructor
|
|
7
|
-
* @author SAP SE
|
|
8
|
-
* @alias sap.ui.webc.base.types.DataType
|
|
9
6
|
* @public
|
|
10
7
|
*/
|
|
11
8
|
declare class DataType {
|
|
12
9
|
/**
|
|
13
10
|
* Checks if the value is valid for its data type.
|
|
14
11
|
* @public
|
|
15
|
-
* @abstract
|
|
16
|
-
* @returns {Boolean}
|
|
17
12
|
*/
|
|
18
13
|
static isValid(value: any): boolean;
|
|
19
14
|
static attributeToProperty(attributeValue: string | null): PropertyValue;
|
package/dist/types/DataType.js
CHANGED
|
@@ -1,18 +1,13 @@
|
|
|
1
1
|
/**
|
|
2
|
+
* @class
|
|
2
3
|
* Base class for all data types.
|
|
3
4
|
*
|
|
4
|
-
* @class
|
|
5
|
-
* @constructor
|
|
6
|
-
* @author SAP SE
|
|
7
|
-
* @alias sap.ui.webc.base.types.DataType
|
|
8
5
|
* @public
|
|
9
6
|
*/
|
|
10
7
|
class DataType {
|
|
11
8
|
/**
|
|
12
9
|
* Checks if the value is valid for its data type.
|
|
13
10
|
* @public
|
|
14
|
-
* @abstract
|
|
15
|
-
* @returns {Boolean}
|
|
16
11
|
*/
|
|
17
12
|
// eslint-disable-next-line
|
|
18
13
|
static isValid(value) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataType.js","sourceRoot":"","sources":["../../src/types/DataType.ts"],"names":[],"mappings":"AAEA
|
|
1
|
+
{"version":3,"file":"DataType.js","sourceRoot":"","sources":["../../src/types/DataType.ts"],"names":[],"mappings":"AAEA;;;;;GAKG;AACH,MAAM,QAAQ;IACb;;;OAGG;IACH,2BAA2B;IAC3B,MAAM,CAAC,OAAO,CAAC,KAAU;QACxB,OAAO,KAAK,CAAC;IACd,CAAC;IAED,MAAM,CAAC,mBAAmB,CAAC,cAA6B;QACvD,OAAO,cAAc,CAAC;IACvB,CAAC;IAED,MAAM,CAAC,mBAAmB,CAAC,aAA4B;QACtD,OAAO,aAAa,KAAK,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC,aAAa,CAAC,CAAC;IAC9D,CAAC;IAED,MAAM,CAAC,cAAc,CAAC,MAAW,EAAE,MAAW;QAC7C,OAAO,MAAM,KAAK,MAAM,CAAC;IAC1B,CAAC;IAED,MAAM,CAAC,qBAAqB,CAAC,KAA6B;QACzD,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE;YACjC,MAAM,CAAC,cAAc,CAAC,IAAI,EAAE,IAAI,EAAE;gBACjC,GAAG;oBACF,OAAO,KAAK,CAAC,IAAI,CAAC,CAAC;gBACpB,CAAC;aACD,CAAC,CAAC;QACJ,CAAC,CAAC,CAAC;IACJ,CAAC;IAED,MAAM,KAAK,eAAe;QACzB,OAAO,IAAI,CAAC;IACb,CAAC;CACD;AAED,eAAe,QAAQ,CAAC","sourcesContent":["import { PropertyValue } from \"../UI5ElementMetadata.js\";\n\n/**\n * @class\n * Base class for all data types.\n *\n * @public\n */\nclass DataType {\n\t/**\n\t * Checks if the value is valid for its data type.\n \t * @public\n\t */\n\t// eslint-disable-next-line\n\tstatic isValid(value: any): boolean {\n\t\treturn false;\n\t}\n\n\tstatic attributeToProperty(attributeValue: string | null): PropertyValue {\n\t\treturn attributeValue;\n\t}\n\n\tstatic propertyToAttribute(propertyValue: PropertyValue): string | null {\n\t\treturn propertyValue === null ? null : String(propertyValue);\n\t}\n\n\tstatic valuesAreEqual(value1: any, value2: any) {\n\t\treturn value1 === value2;\n\t}\n\n\tstatic generateTypeAccessors(types: Record<string, string>) {\n\t\tObject.keys(types).forEach(type => {\n\t\t\tObject.defineProperty(this, type, {\n\t\t\t\tget() {\n\t\t\t\t\treturn types[type];\n\t\t\t\t},\n\t\t\t});\n\t\t});\n\t}\n\n\tstatic get isDataTypeClass() {\n\t\treturn true;\n\t}\n}\n\nexport default DataType;\n"]}
|
package/dist/types/Float.d.ts
CHANGED
package/dist/types/Float.js
CHANGED
package/dist/types/Float.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Float.js","sourceRoot":"","sources":["../../src/types/Float.ts"],"names":[],"mappings":"AACA,OAAO,QAAQ,MAAM,eAAe,CAAC;AAErC
|
|
1
|
+
{"version":3,"file":"Float.js","sourceRoot":"","sources":["../../src/types/Float.ts"],"names":[],"mappings":"AACA,OAAO,QAAQ,MAAM,eAAe,CAAC;AAErC;;;;;;GAMG;AACH,MAAM,KAAM,SAAQ,QAAQ;IAC3B,MAAM,CAAU,OAAO,CAAC,KAAU;QACjC,OAAO,MAAM,CAAC,KAAK,CAAC,KAAK,KAAK,CAAC;IAChC,CAAC;IAED,MAAM,CAAU,mBAAmB,CAAC,cAAsB;QACzD,OAAO,UAAU,CAAC,cAAc,CAAC,CAAC;IACnC,CAAC;CACD;AAED,eAAe,KAAK,CAAC","sourcesContent":["import { PropertyValue } from \"../UI5ElementMetadata.js\";\nimport DataType from \"./DataType.js\";\n\n/**\n * @class\n * Float data type.\n *\n * @constructor\n * @public\n */\nclass Float extends DataType {\n\tstatic override isValid(value: any) {\n\t\treturn Number(value) === value;\n\t}\n\n\tstatic override attributeToProperty(attributeValue: string): PropertyValue {\n\t\treturn parseFloat(attributeValue);\n\t}\n}\n\nexport default Float;\n"]}
|
package/dist/types/Integer.d.ts
CHANGED
package/dist/types/Integer.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Integer.js","sourceRoot":"","sources":["../../src/types/Integer.ts"],"names":[],"mappings":"AACA,OAAO,QAAQ,MAAM,eAAe,CAAC;AAErC
|
|
1
|
+
{"version":3,"file":"Integer.js","sourceRoot":"","sources":["../../src/types/Integer.ts"],"names":[],"mappings":"AACA,OAAO,QAAQ,MAAM,eAAe,CAAC;AAErC;;;;;;GAMG;AACH,MAAM,OAAQ,SAAQ,QAAQ;IAC7B,MAAM,CAAU,OAAO,CAAC,KAAU;QACjC,OAAO,MAAM,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC;IAChC,CAAC;IAED,MAAM,CAAU,mBAAmB,CAAC,cAAsB;QACzD,OAAO,QAAQ,CAAC,cAAc,CAAC,CAAC;IACjC,CAAC;CACD;AAED,eAAe,OAAO,CAAC","sourcesContent":["import { PropertyValue } from \"../UI5ElementMetadata.js\";\nimport DataType from \"./DataType.js\";\n\n/**\n * @class\n * Integer data type.\n *\n * @constructor\n * @public\n */\nclass Integer extends DataType {\n\tstatic override isValid(value: any) {\n\t\treturn Number.isInteger(value);\n\t}\n\n\tstatic override attributeToProperty(attributeValue: string): PropertyValue {\n\t\treturn parseInt(attributeValue);\n\t}\n}\n\nexport default Integer;\n"]}
|
|
@@ -1,25 +1,20 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Enumeration for different mode behaviors of the InvisibleMessage.
|
|
3
3
|
*
|
|
4
|
-
* @readonly
|
|
5
|
-
* @enum {string}
|
|
6
4
|
* @public
|
|
7
|
-
* @author SAP SE
|
|
8
|
-
* @alias sap.ui.webc.base.types.InvisibleMessageMode
|
|
9
5
|
*/
|
|
10
|
-
declare
|
|
6
|
+
declare const InvisibleMessageMode: {
|
|
11
7
|
/**
|
|
12
8
|
* Indicates that updates to the region should be presented at the next graceful opportunity,
|
|
13
9
|
* such as at the end of reading the current sentence, or when the user pauses typing.
|
|
14
10
|
* @public
|
|
15
|
-
* @type {Polite}
|
|
16
11
|
*/
|
|
17
|
-
Polite
|
|
12
|
+
readonly Polite: "Polite";
|
|
18
13
|
/**
|
|
19
14
|
* Indicates that updates to the region have the highest priority and should be presented to the user immediately.
|
|
20
15
|
* @public
|
|
21
|
-
* @type {Assertive}
|
|
22
16
|
*/
|
|
23
|
-
Assertive
|
|
24
|
-
}
|
|
17
|
+
readonly Assertive: "Assertive";
|
|
18
|
+
};
|
|
19
|
+
type InvisibleMessageMode = typeof InvisibleMessageMode[keyof typeof InvisibleMessageMode];
|
|
25
20
|
export default InvisibleMessageMode;
|
|
@@ -1,27 +1,20 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Enumeration for different mode behaviors of the InvisibleMessage.
|
|
3
3
|
*
|
|
4
|
-
* @readonly
|
|
5
|
-
* @enum {string}
|
|
6
4
|
* @public
|
|
7
|
-
* @author SAP SE
|
|
8
|
-
* @alias sap.ui.webc.base.types.InvisibleMessageMode
|
|
9
5
|
*/
|
|
10
|
-
|
|
11
|
-
(function (InvisibleMessageMode) {
|
|
6
|
+
const InvisibleMessageMode = {
|
|
12
7
|
/**
|
|
13
8
|
* Indicates that updates to the region should be presented at the next graceful opportunity,
|
|
14
9
|
* such as at the end of reading the current sentence, or when the user pauses typing.
|
|
15
10
|
* @public
|
|
16
|
-
* @type {Polite}
|
|
17
11
|
*/
|
|
18
|
-
|
|
12
|
+
Polite: "Polite",
|
|
19
13
|
/**
|
|
20
14
|
* Indicates that updates to the region have the highest priority and should be presented to the user immediately.
|
|
21
15
|
* @public
|
|
22
|
-
* @type {Assertive}
|
|
23
16
|
*/
|
|
24
|
-
|
|
25
|
-
}
|
|
17
|
+
Assertive: "Assertive",
|
|
18
|
+
};
|
|
26
19
|
export default InvisibleMessageMode;
|
|
27
20
|
//# sourceMappingURL=InvisibleMessageMode.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InvisibleMessageMode.js","sourceRoot":"","sources":["../../src/types/InvisibleMessageMode.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"InvisibleMessageMode.js","sourceRoot":"","sources":["../../src/types/InvisibleMessageMode.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,MAAM,oBAAoB,GAAG;IAC5B;;;;OAIM;IACN,MAAM,EAAE,QAAQ;IAEhB;;;OAGM;IACN,SAAS,EAAE,WAAW;CACb,CAAC;AAIX,eAAe,oBAAoB,CAAC","sourcesContent":["/**\n * Enumeration for different mode behaviors of the InvisibleMessage.\n *\n * @public\n */\nconst InvisibleMessageMode = {\n\t/**\n * Indicates that updates to the region should be presented at the next graceful opportunity,\n * such as at the end of reading the current sentence, or when the user pauses typing.\n\t * @public\n */\n\tPolite: \"Polite\",\n\n\t/**\n * Indicates that updates to the region have the highest priority and should be presented to the user immediately.\n\t * @public\n */\n\tAssertive: \"Assertive\",\n} as const;\n\ntype InvisibleMessageMode = typeof InvisibleMessageMode[keyof typeof InvisibleMessageMode];\n\nexport default InvisibleMessageMode;\n"]}
|
|
@@ -1,23 +1,17 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Different behavior for ItemNavigation.
|
|
3
3
|
*
|
|
4
|
-
* @readonly
|
|
5
|
-
* @enum {string}
|
|
6
4
|
* @public
|
|
7
|
-
* @author SAP SE
|
|
8
|
-
* @alias sap.ui.webc.base.types.ItemNavigationBehavior
|
|
9
5
|
*/
|
|
10
6
|
declare enum ItemNavigationBehavior {
|
|
11
7
|
/**
|
|
12
8
|
* Static behavior: navigations stops at the first or last item.
|
|
13
9
|
* @public
|
|
14
|
-
* @type {Static}
|
|
15
10
|
*/
|
|
16
11
|
Static = "Static",
|
|
17
12
|
/**
|
|
18
13
|
* Cycling behavior: navigating past the last item continues with the first and vice versa.
|
|
19
14
|
* @public
|
|
20
|
-
* @type {Cyclic}
|
|
21
15
|
*/
|
|
22
16
|
Cyclic = "Cyclic"
|
|
23
17
|
}
|