@ui5/webcomponents-base 1.21.1 → 1.22.0-rc.0
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 +8 -0
- package/LICENSE.txt +201 -0
- package/dist/.tsbuildinfo +1 -1
- package/dist/MediaRange.d.ts +0 -6
- package/dist/MediaRange.js +5 -15
- package/dist/MediaRange.js.map +1 -1
- package/dist/StaticAreaItem.d.ts +2 -4
- package/dist/StaticAreaItem.js +2 -4
- package/dist/StaticAreaItem.js.map +1 -1
- package/dist/UI5Element.d.ts +14 -25
- package/dist/UI5Element.js +11 -22
- package/dist/UI5Element.js.map +1 -1
- package/dist/UI5ElementMetadata.d.ts +3 -11
- package/dist/UI5ElementMetadata.js +1 -9
- package/dist/UI5ElementMetadata.js.map +1 -1
- package/dist/custom-elements.json +5152 -0
- package/dist/decorators/customElement.d.ts +1 -1
- package/dist/decorators/customElement.js +1 -1
- package/dist/decorators/customElement.js.map +1 -1
- 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/generated/VersionInfo.js +1 -1
- package/dist/generated/VersionInfo.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/types/AnimationMode.d.ts +0 -8
- package/dist/types/AnimationMode.js +0 -8
- package/dist/types/AnimationMode.js.map +1 -1
- 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 +0 -4
- package/dist/types/CSSSize.js +0 -4
- package/dist/types/CSSSize.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/DOMReference.d.ts +0 -4
- package/dist/types/DOMReference.js +0 -4
- 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 +0 -6
- package/dist/types/InvisibleMessageMode.js +0 -6
- 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/NavigationMode.d.ts +0 -8
- package/dist/types/NavigationMode.js +0 -8
- package/dist/types/NavigationMode.js.map +1 -1
- package/dist/types/ValueState.d.ts +0 -14
- package/dist/types/ValueState.js +0 -14
- package/dist/types/ValueState.js.map +1 -1
- package/dist/util/getClassCopy.d.ts +2 -2
- package/package-scripts.cjs +3 -6
- package/package.json +4 -3
- package/dist/api.json +0 -1
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,24 +1,18 @@
|
|
|
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
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
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
17
|
readonly Assertive: "Assertive";
|
|
24
18
|
};
|
|
@@ -1,24 +1,18 @@
|
|
|
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
6
|
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
12
|
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
17
|
Assertive: "Assertive",
|
|
24
18
|
};
|
|
@@ -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
|
}
|
|
@@ -1,24 +1,18 @@
|
|
|
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
|
var ItemNavigationBehavior;
|
|
11
7
|
(function (ItemNavigationBehavior) {
|
|
12
8
|
/**
|
|
13
9
|
* Static behavior: navigations stops at the first or last item.
|
|
14
10
|
* @public
|
|
15
|
-
* @type {Static}
|
|
16
11
|
*/
|
|
17
12
|
ItemNavigationBehavior["Static"] = "Static";
|
|
18
13
|
/**
|
|
19
14
|
* Cycling behavior: navigating past the last item continues with the first and vice versa.
|
|
20
15
|
* @public
|
|
21
|
-
* @type {Cyclic}
|
|
22
16
|
*/
|
|
23
17
|
ItemNavigationBehavior["Cyclic"] = "Cyclic";
|
|
24
18
|
})(ItemNavigationBehavior || (ItemNavigationBehavior = {}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ItemNavigationBehavior.js","sourceRoot":"","sources":["../../src/types/ItemNavigationBehavior.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"ItemNavigationBehavior.js","sourceRoot":"","sources":["../../src/types/ItemNavigationBehavior.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,IAAK,sBAYJ;AAZD,WAAK,sBAAsB;IAC1B;;;OAGI;IACJ,2CAAiB,CAAA;IAEjB;;;OAGI;IACJ,2CAAiB,CAAA;AAClB,CAAC,EAZI,sBAAsB,KAAtB,sBAAsB,QAY1B;AAED,eAAe,sBAAsB,CAAC","sourcesContent":["/**\n * Different behavior for ItemNavigation.\n *\n * @public\n */\nenum ItemNavigationBehavior {\n\t/**\n\t * Static behavior: navigations stops at the first or last item.\n\t * @public\n \t */\n\tStatic = \"Static\",\n\n\t/**\n\t * Cycling behavior: navigating past the last item continues with the first and vice versa.\n\t * @public\n \t */\n\tCyclic = \"Cyclic\",\n}\n\nexport default ItemNavigationBehavior;\n"]}
|
|
@@ -1,31 +1,23 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Different navigation modes for ItemNavigation.
|
|
3
3
|
*
|
|
4
|
-
* @readonly
|
|
5
|
-
* @enum {string}
|
|
6
4
|
* @public
|
|
7
|
-
* @author SAP SE
|
|
8
|
-
* @alias sap.ui.webc.base.types.NavigationMode
|
|
9
5
|
*/
|
|
10
6
|
declare enum NavigationMode {
|
|
11
7
|
/**
|
|
12
8
|
* @public
|
|
13
|
-
* @type {Auto}
|
|
14
9
|
*/
|
|
15
10
|
Auto = "Auto",
|
|
16
11
|
/**
|
|
17
12
|
* @public
|
|
18
|
-
* @type {Vertical}
|
|
19
13
|
*/
|
|
20
14
|
Vertical = "Vertical",
|
|
21
15
|
/**
|
|
22
16
|
* @public
|
|
23
|
-
* @type {Horizontal}
|
|
24
17
|
*/
|
|
25
18
|
Horizontal = "Horizontal",
|
|
26
19
|
/**
|
|
27
20
|
* @public
|
|
28
|
-
* @type {Paging}
|
|
29
21
|
*/
|
|
30
22
|
Paging = "Paging"
|
|
31
23
|
}
|
|
@@ -1,32 +1,24 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Different navigation modes for ItemNavigation.
|
|
3
3
|
*
|
|
4
|
-
* @readonly
|
|
5
|
-
* @enum {string}
|
|
6
4
|
* @public
|
|
7
|
-
* @author SAP SE
|
|
8
|
-
* @alias sap.ui.webc.base.types.NavigationMode
|
|
9
5
|
*/
|
|
10
6
|
var NavigationMode;
|
|
11
7
|
(function (NavigationMode) {
|
|
12
8
|
/**
|
|
13
9
|
* @public
|
|
14
|
-
* @type {Auto}
|
|
15
10
|
*/
|
|
16
11
|
NavigationMode["Auto"] = "Auto";
|
|
17
12
|
/**
|
|
18
13
|
* @public
|
|
19
|
-
* @type {Vertical}
|
|
20
14
|
*/
|
|
21
15
|
NavigationMode["Vertical"] = "Vertical";
|
|
22
16
|
/**
|
|
23
17
|
* @public
|
|
24
|
-
* @type {Horizontal}
|
|
25
18
|
*/
|
|
26
19
|
NavigationMode["Horizontal"] = "Horizontal";
|
|
27
20
|
/**
|
|
28
21
|
* @public
|
|
29
|
-
* @type {Paging}
|
|
30
22
|
*/
|
|
31
23
|
NavigationMode["Paging"] = "Paging";
|
|
32
24
|
})(NavigationMode || (NavigationMode = {}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NavigationMode.js","sourceRoot":"","sources":["../../src/types/NavigationMode.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"NavigationMode.js","sourceRoot":"","sources":["../../src/types/NavigationMode.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,IAAK,cAiBJ;AAjBD,WAAK,cAAc;IAClB;;OAEG;IACH,+BAAa,CAAA;IACb;;OAEG;IACH,uCAAqB,CAAA;IACrB;;OAEG;IACH,2CAAyB,CAAA;IACzB;;OAEG;IACH,mCAAiB,CAAA;AAClB,CAAC,EAjBI,cAAc,KAAd,cAAc,QAiBlB;AAED,eAAe,cAAc,CAAC","sourcesContent":["/**\n * Different navigation modes for ItemNavigation.\n *\n * @public\n */\nenum NavigationMode {\n\t/**\n\t * @public\n\t */\n\tAuto = \"Auto\",\n\t/**\n\t * @public\n\t */\n\tVertical = \"Vertical\",\n\t/**\n\t * @public\n\t */\n\tHorizontal = \"Horizontal\",\n\t/**\n\t * @public\n\t */\n\tPaging = \"Paging\",\n}\n\nexport default NavigationMode;\n"]}
|
|
@@ -1,41 +1,27 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Different types of ValueStates.
|
|
3
3
|
*
|
|
4
|
-
* @readonly
|
|
5
|
-
* @enum {string}
|
|
6
4
|
* @public
|
|
7
|
-
* @author SAP SE
|
|
8
|
-
* @alias sap.ui.webc.base.types.ValueState
|
|
9
5
|
*/
|
|
10
6
|
declare enum ValueState {
|
|
11
7
|
/**
|
|
12
|
-
*
|
|
13
8
|
* @public
|
|
14
|
-
* @type {None}
|
|
15
9
|
*/
|
|
16
10
|
None = "None",
|
|
17
11
|
/**
|
|
18
|
-
*
|
|
19
12
|
* @public
|
|
20
|
-
* @type {Success}
|
|
21
13
|
*/
|
|
22
14
|
Success = "Success",
|
|
23
15
|
/**
|
|
24
|
-
*
|
|
25
16
|
* @public
|
|
26
|
-
* @type {Warning}
|
|
27
17
|
*/
|
|
28
18
|
Warning = "Warning",
|
|
29
19
|
/**
|
|
30
|
-
*
|
|
31
20
|
* @public
|
|
32
|
-
* @type {Error}
|
|
33
21
|
*/
|
|
34
22
|
Error = "Error",
|
|
35
23
|
/**
|
|
36
|
-
*
|
|
37
24
|
* @public
|
|
38
|
-
* @type {Information}
|
|
39
25
|
*/
|
|
40
26
|
Information = "Information"
|
|
41
27
|
}
|
package/dist/types/ValueState.js
CHANGED
|
@@ -1,42 +1,28 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Different types of ValueStates.
|
|
3
3
|
*
|
|
4
|
-
* @readonly
|
|
5
|
-
* @enum {string}
|
|
6
4
|
* @public
|
|
7
|
-
* @author SAP SE
|
|
8
|
-
* @alias sap.ui.webc.base.types.ValueState
|
|
9
5
|
*/
|
|
10
6
|
var ValueState;
|
|
11
7
|
(function (ValueState) {
|
|
12
8
|
/**
|
|
13
|
-
*
|
|
14
9
|
* @public
|
|
15
|
-
* @type {None}
|
|
16
10
|
*/
|
|
17
11
|
ValueState["None"] = "None";
|
|
18
12
|
/**
|
|
19
|
-
*
|
|
20
13
|
* @public
|
|
21
|
-
* @type {Success}
|
|
22
14
|
*/
|
|
23
15
|
ValueState["Success"] = "Success";
|
|
24
16
|
/**
|
|
25
|
-
*
|
|
26
17
|
* @public
|
|
27
|
-
* @type {Warning}
|
|
28
18
|
*/
|
|
29
19
|
ValueState["Warning"] = "Warning";
|
|
30
20
|
/**
|
|
31
|
-
*
|
|
32
21
|
* @public
|
|
33
|
-
* @type {Error}
|
|
34
22
|
*/
|
|
35
23
|
ValueState["Error"] = "Error";
|
|
36
24
|
/**
|
|
37
|
-
*
|
|
38
25
|
* @public
|
|
39
|
-
* @type {Information}
|
|
40
26
|
*/
|
|
41
27
|
ValueState["Information"] = "Information";
|
|
42
28
|
})(ValueState || (ValueState = {}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ValueState.js","sourceRoot":"","sources":["../../src/types/ValueState.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"ValueState.js","sourceRoot":"","sources":["../../src/types/ValueState.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,IAAK,UAyBJ;AAzBD,WAAK,UAAU;IACd;;OAEG;IACH,2BAAa,CAAA;IAEb;;OAEG;IACH,iCAAmB,CAAA;IAEnB;;OAEG;IACH,iCAAmB,CAAA;IAEnB;;OAEG;IACH,6BAAe,CAAA;IAEf;;OAEG;IACH,yCAA2B,CAAA;AAC5B,CAAC,EAzBI,UAAU,KAAV,UAAU,QAyBd;AAED,eAAe,UAAU,CAAC","sourcesContent":["/**\n * Different types of ValueStates.\n *\n * @public\n */\nenum ValueState {\n\t/**\n\t * @public\n\t */\n\tNone = \"None\",\n\n\t/**\n\t * @public\n\t */\n\tSuccess = \"Success\",\n\n\t/**\n\t * @public\n\t */\n\tWarning = \"Warning\",\n\n\t/**\n\t * @public\n\t */\n\tError = \"Error\",\n\n\t/**\n\t * @public\n\t */\n\tInformation = \"Information\",\n}\n\nexport default ValueState;\n"]}
|
|
@@ -46,9 +46,9 @@ declare const getClassCopy: (klass: typeof UI5Element, constructorCallback: () =
|
|
|
46
46
|
_updateAttribute(name: string, newValue: import("../UI5ElementMetadata.js").PropertyValue): void;
|
|
47
47
|
_upgradeProperty(this: Record<string, any>, propertyName: string): void;
|
|
48
48
|
_upgradeAllProperties(): void;
|
|
49
|
-
_getChildChangeListener(slotName: string): (
|
|
49
|
+
_getChildChangeListener(slotName: string): (param: import("../UI5Element.js").ChangeInfo & {
|
|
50
50
|
target: UI5Element;
|
|
51
|
-
}) => void
|
|
51
|
+
}) => void;
|
|
52
52
|
_getSlotChangeListener(slotName: string): (this: HTMLSlotElement, ev: Event) => void;
|
|
53
53
|
_attachSlotChange(child: HTMLSlotElement, slotName: string): void;
|
|
54
54
|
_detachSlotChange(child: HTMLSlotElement, slotName: string): void;
|
package/package-scripts.cjs
CHANGED
|
@@ -6,7 +6,6 @@ const stylesScript = resolve.sync("@ui5/webcomponents-base/lib/generate-styles/i
|
|
|
6
6
|
const versionScript = resolve.sync("@ui5/webcomponents-base/lib/generate-version-info/index.js");
|
|
7
7
|
const copyUsedModules = resolve.sync("@ui5/webcomponents-tools/lib/copy-list/index.js");
|
|
8
8
|
const esmAbsToRel = resolve.sync("@ui5/webcomponents-tools/lib/esm-abs-to-rel/index.js");
|
|
9
|
-
const preprocessJSDocScript = resolve.sync("@ui5/webcomponents-tools/lib/jsdoc/preprocess.js");
|
|
10
9
|
|
|
11
10
|
const LIB = path.join(__dirname, `../tools/lib/`);
|
|
12
11
|
|
|
@@ -43,11 +42,9 @@ const scripts = {
|
|
|
43
42
|
generateStyles: `node "${stylesScript}"`,
|
|
44
43
|
generateTemplates: `mkdirp src/generated/templates && cross-env UI5_BASE=true UI5_TS=true node "${LIB}/hbs2ui5/index.js" -d test/elements -o src/generated/templates`,
|
|
45
44
|
generateAPI: {
|
|
46
|
-
default: "nps generateAPI.
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
jsdoc: `jsdoc -c "${LIB}/jsdoc/configTypescript.json"`,
|
|
50
|
-
cleanup: "rimraf jsdoc-dist/"
|
|
45
|
+
default: "nps generateAPI.generateCEM generateAPI.validateCEM",
|
|
46
|
+
generateCEM: `cem analyze --config "${LIB}/cem/custom-elements-manifest.config.mjs"`,
|
|
47
|
+
validateCEM: `node "${LIB}/cem/validate.js"`,
|
|
51
48
|
},
|
|
52
49
|
watch: {
|
|
53
50
|
default: 'concurrently "nps watch.src" "nps watch.styles"',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ui5/webcomponents-base",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.22.0-rc.0",
|
|
4
4
|
"description": "UI5 Web Components: webcomponents.base",
|
|
5
5
|
"author": "SAP SE (https://www.sap.com)",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"devDependencies": {
|
|
41
41
|
"@buxlabs/amd-to-es6": "0.16.1",
|
|
42
42
|
"@openui5/sap.ui.core": "1.116.0",
|
|
43
|
-
"@ui5/webcomponents-tools": "1.
|
|
43
|
+
"@ui5/webcomponents-tools": "1.22.0-rc.0",
|
|
44
44
|
"chromedriver": "119.0.1",
|
|
45
45
|
"clean-css": "^5.2.2",
|
|
46
46
|
"copy-and-watch": "^0.1.5",
|
|
@@ -49,5 +49,6 @@
|
|
|
49
49
|
"mkdirp": "^1.0.4",
|
|
50
50
|
"replace-in-file": "^6.3.5",
|
|
51
51
|
"resolve": "^1.20.0"
|
|
52
|
-
}
|
|
52
|
+
},
|
|
53
|
+
"gitHead": "4cf0711a7e7a57b5b31453e8286f0a50ab4cb8d0"
|
|
53
54
|
}
|
package/dist/api.json
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"$schema-ref":"http://schemas.sap.com/sapui5/designtime/api.json/1.0","version":"1.62","symbols":[{"kind":"class","name":"I18nBundle","basename":"I18nBundle","resource":"i18nBundle.js","module":"i18nBundle","visibility":"public","constructor":{"visibility":"public"},"methods":[{"name":"getText","visibility":"public","returnValue":{"type":"string"},"parameters":[{"name":"textObj","type":"Object|String","optional":false,"description":"key/defaultText pair or just the key"},{"name":"params","type":"undefined","optional":false,"description":"Values for the placeholders"}],"description":"Returns a text in the currently loaded language"}]},{"kind":"class","name":"ItemNavigation","basename":"ItemNavigation","resource":"delegate/ItemNavigation.js","module":"delegate/ItemNavigation","visibility":"public","description":"The ItemNavigation class manages the calculations to determine the correct \"tabindex\" for a group of related items inside a root component. Important: ItemNavigation only does the calculations and does not change \"tabindex\" directly, this is a responsibility of the developer.\n\nThe keys that trigger ItemNavigation are: - Up/down - Left/right - Home/End\n\nUsage: 1) Use the \"getItemsCallback\" constructor property to pass a callback to ItemNavigation, which, whenever called, will return the list of items to navigate among.\n\nEach item passed to ItemNavigation via \"getItemsCallback\" must be: - A) either a UI5Element with a \"_tabIndex\" property - B) or an Object with \"id\" and \"_tabIndex\" properties which represents a part of the root component's shadow DOM. The \"id\" must be a valid ID within the shadow root of the component ItemNavigation operates on. This object must not be a DOM object because, as said, ItemNavigation will not set \"tabindex\" on it. It must be a representation of a DOM object only and the developer has the responsibility to update the \"tabindex\" in the component's DOM. - C) a combination of the above\n\nWhenever the user navigates with the keyboard, ItemNavigation will modify the \"_tabIndex\" properties of the items. It is the items' responsibilities to re-render themselves and apply the correct value of \"tabindex\" (i.e. to map the \"_tabIndex\" ItemNavigation set to them to the \"tabindex\" property). If the items of the ItemNavigation are UI5Elements themselves, this can happen naturally since they will be invalidated by their \"_tabIndex\" property. If the items are Objects with \"id\" and \"_tabIndex\" however, it is the developer's responsibility to apply these and the easiest way is to have the root component invalidated by ItemNavigation. To do so, set the \"affectedPropertiesNames\" constructor property to point to one or more of the root component's properties that need refreshing when \"_tabIndex\" is changed deeply.\n\n2) Call the \"setCurrentItem\" method of ItemNavigation whenever you want to change the current item. This is most commonly required if the user for example clicks on an item and thus selects it directly. Pass as the only argument to \"setCurrentItem\" the item that becomes current (must be one of the items, returned by \"getItemsCallback\").","constructor":{"visibility":"public","parameters":[{"name":"rootWebComponent","type":"undefined","optional":false,"description":"the component to operate on (component that slots or contains within its shadow root the items the user navigates among)"},{"name":"options","type":"ItemNavigationOptions","optional":false,"description":"Object with configuration options: - currentIndex: the index of the item that will be initially selected (from which navigation will begin) - navigationMode (Auto|Horizontal|Vertical): whether the items are displayed horizontally (Horizontal), vertically (Vertical) or as a matrix (Auto) meaning the user can navigate in both directions (up/down and left/right) - rowSize: tells how many items per row there are when the items are not rendered as a flat list but rather as a matrix. Relevant for navigationMode=Auto - skipItemsSize: tells how many items upon PAGE_UP and PAGE_DOWN should be skipped to applying the focus on the next item - behavior (Static|Cycling): tells what to do when trying to navigate beyond the first and last items Static means that nothing happens if the user tries to navigate beyond the first/last item. Cycling means that when the user navigates beyond the last item they go to the first and vice versa. - getItemsCallback: function that, when called, returns an array with all items the user can navigate among - affectedPropertiesNames: a list of metadata properties on the root component which, upon user navigation, will be reassigned by address thus causing the root component to invalidate"}]},"methods":[{"name":"setCurrentItem","visibility":"public","parameters":[{"name":"current","type":"undefined","optional":false,"description":"the new selected item"}],"description":"Call this method to set a new \"current\" (selected) item in the item navigation Note: the item passed to this function must be one of the items, returned by the getItemsCallback function"},{"name":"setRowSize","visibility":"public","parameters":[{"name":"newRowSize","type":"undefined","optional":false}],"description":"Call this method to dynamically change the row size"}]},{"kind":"namespace","name":"MediaRange.RANGESETS","basename":"RANGESETS","resource":"MediaRange.js","module":"MediaRange","export":"RANGESETS","static":true,"visibility":"public","description":"Enumeration containing the names and settings of predefined screen width media query range sets.","properties":[{"name":"RANGE_4STEPS","visibility":"public","static":true,"type":"undefined","description":"A 4-step range set (S-M-L-XL).\n\nThe ranges of this set are: <ul> <li><code>\"S\"</code>: For screens smaller than 600 pixels.</li> <li><code>\"M\"</code>: For screens greater than or equal to 600 pixels and smaller than 1024 pixels.</li> <li><code>\"L\"</code>: For screens greater than or equal to 1024 pixels and smaller than 1440 pixels.</li> <li><code>\"XL\"</code>: For screens greater than or equal to 1440 pixels.</li> </ul>"}],"slots":[]},{"kind":"class","name":"ResizeHandler","basename":"ResizeHandler","resource":"delegate/ResizeHandler.js","module":"delegate/ResizeHandler","visibility":"public","description":"Allows to register/deregister resize observers for a DOM element","constructor":{"visibility":"public"},"methods":[{"name":"deregister","visibility":"public","static":true,"parameters":[{"name":"element","type":"*","optional":false,"description":"UI5 Web Component or DOM Element to be unobserved"},{"name":"callback","type":"*","optional":false,"description":"Callback to be removed"}]},{"name":"register","visibility":"public","static":true,"parameters":[{"name":"element","type":"*","optional":false,"description":"UI5 Web Component or DOM Element to be observed"},{"name":"callback","type":"*","optional":false,"description":"Callback to be executed"}]}]},{"kind":"enum","name":"sap.ui.webc.base.types.AnimationMode","basename":"AnimationMode","resource":"types/AnimationMode.js","module":"types/AnimationMode","static":true,"visibility":"public","description":"Different types of AnimationMode.","properties":[{"name":"Basic","visibility":"public","type":"Basic"},{"name":"Full","visibility":"public","type":"Full"},{"name":"Minimal","visibility":"public","type":"Minimal"},{"name":"None","visibility":"public","type":"None"}],"slots":[]},{"kind":"enum","name":"sap.ui.webc.base.types.CalendarType","basename":"CalendarType","resource":"types/CalendarType.js","module":"types/CalendarType","static":true,"visibility":"public","description":"Different calendar types.","properties":[{"name":"Buddhist","visibility":"public","type":"Buddhist"},{"name":"Gregorian","visibility":"public","type":"Gregorian"},{"name":"Islamic","visibility":"public","type":"Islamic"},{"name":"Japanese","visibility":"public","type":"Japanese"},{"name":"Persian","visibility":"public","type":"Persian"}],"slots":[]},{"kind":"class","name":"sap.ui.webc.base.types.CSSColor","basename":"CSSColor","resource":"types/CSSColor.js","module":"types/CSSColor","static":true,"visibility":"public","extends":"sap.ui.webc.base.types.DataType","description":"CSSColor data type.","constructor":{"visibility":"public"}},{"kind":"class","name":"sap.ui.webc.base.types.CSSSize","basename":"CSSSize","resource":"types/CSSSize.js","module":"types/CSSSize","static":true,"visibility":"public","extends":"sap.ui.webc.base.types.DataType","description":"CSSSize data type.","constructor":{"visibility":"public"}},{"kind":"class","name":"sap.ui.webc.base.types.DataType","basename":"DataType","resource":"types/DataType.js","module":"types/DataType","static":true,"visibility":"public","constructor":{"visibility":"public"},"methods":[{"name":"isValid","visibility":"public","static":true,"returnValue":{"type":"Boolean"},"description":"Checks if the value is valid for its data type."}]},{"kind":"class","name":"sap.ui.webc.base.types.DOMReference","basename":"DOMReference","resource":"types/DOMReference.js","module":"types/DOMReference","static":true,"visibility":"public","extends":"sap.ui.webc.base.types.DataType","description":"DOM Element reference or ID. <b>Note:</b> If an ID is passed, it is expected to be part of the same <code>document</code> element as the consuming component.","constructor":{"visibility":"public"}},{"kind":"class","name":"sap.ui.webc.base.types.Float","basename":"Float","resource":"types/Float.js","module":"types/Float","static":true,"visibility":"public","extends":"sap.ui.webc.base.types.DataType","description":"Float data type.","constructor":{"visibility":"public"}},{"kind":"class","name":"sap.ui.webc.base.types.Integer","basename":"Integer","resource":"types/Integer.js","module":"types/Integer","static":true,"visibility":"public","extends":"sap.ui.webc.base.types.DataType","description":"Integer data type.","constructor":{"visibility":"public"}},{"kind":"enum","name":"sap.ui.webc.base.types.ItemNavigationBehavior","basename":"ItemNavigationBehavior","resource":"types/ItemNavigationBehavior.js","module":"types/ItemNavigationBehavior","static":true,"visibility":"public","description":"Different behavior for ItemNavigation.","properties":[{"name":"Cyclic","visibility":"public","type":"Cyclic","description":"Cycling behavior: navigating past the last item continues with the first and vice versa."},{"name":"Static","visibility":"public","type":"Static","description":"Static behavior: navigations stops at the first or last item."}],"slots":[]},{"kind":"enum","name":"sap.ui.webc.base.types.NavigationMode","basename":"NavigationMode","resource":"types/NavigationMode.js","module":"types/NavigationMode","static":true,"visibility":"public","description":"Different navigation modes for ItemNavigation.","properties":[{"name":"Auto","visibility":"public","type":"Auto"},{"name":"Horizontal","visibility":"public","type":"Horizontal"},{"name":"Paging","visibility":"public","type":"Paging"},{"name":"Vertical","visibility":"public","type":"Vertical"}],"slots":[]},{"kind":"enum","name":"sap.ui.webc.base.types.ValueState","basename":"ValueState","resource":"types/ValueState.js","module":"types/ValueState","static":true,"visibility":"public","description":"Different types of ValueStates.","properties":[{"name":"Error","visibility":"public","type":"Error"},{"name":"Information","visibility":"public","type":"Information"},{"name":"None","visibility":"public","type":"None"},{"name":"Success","visibility":"public","type":"Success"},{"name":"Warning","visibility":"public","type":"Warning"}],"slots":[]},{"kind":"class","name":"sap.ui.webc.base.UI5Element","basename":"UI5Element","resource":"UI5Element.js","module":"UI5Element","static":true,"visibility":"public","extends":"HTMLElement","constructor":{"visibility":"public"},"properties":[{"name":"_id","visibility":"protected","type":"undefined","description":"Returns a unique ID for this UI5 Element","deprecated":{"text":"- This property is not guaranteed in future releases"}},{"name":"dependencies","visibility":"protected","static":true,"type":"undefined","description":"Returns an array with the dependencies for this UI5 Web Component, which could be: - composed components (used in its shadow root or static area item) - slotted components that the component may need to communicate with"},{"name":"effectiveDir","visibility":"public","type":"undefined","description":"Determines whether the component should be rendered in RTL mode or not. Returns: \"rtl\", \"ltr\" or undefined"},{"name":"isUI5Element","visibility":"public","type":"undefined","description":"Used to duck-type UI5 elements without using instanceof"},{"name":"metadata","visibility":"protected","static":true,"type":"undefined","description":"Returns the metadata object for this UI5 Web Component Class"},{"name":"staticAreaStyles","visibility":"protected","static":true,"type":"undefined","description":"Returns the Static Area CSS for this UI5 Web Component Class"},{"name":"styles","visibility":"protected","static":true,"type":"undefined","description":"Returns the CSS for this UI5 Web Component Class"}],"slots":[],"methods":[{"name":"_render","visibility":"protected","description":"Do not call this method directly, only intended to be called by js"},{"name":"attachComponentStateFinalized","visibility":"public","parameters":[{"name":"callback","type":"undefined","optional":false}],"description":"Attach a callback that will be executed whenever the component's state is finalized"},{"name":"attachInvalidate","visibility":"public","parameters":[{"name":"callback","type":"InvalidationInfo","optional":false}],"description":"Attach a callback that will be executed whenever the component is invalidated"},{"name":"define","visibility":"public","static":true,"returnValue":{"type":"Promise.<UI5Element>"},"description":"Registers a UI5 Web Component in the browser window object"},{"name":"detachComponentStateFinalized","visibility":"public","parameters":[{"name":"callback","type":"undefined","optional":false}],"description":"Detach the callback that is executed whenever the component's state is finalized"},{"name":"detachInvalidate","visibility":"public","parameters":[{"name":"callback","type":"InvalidationInfo","optional":false}],"description":"Detach the callback that is executed whenever the component is invalidated"},{"name":"fireEvent","visibility":"public","returnValue":{"type":"boolean","description":"false, if the event was cancelled (preventDefault called), true otherwise"},"parameters":[{"name":"name","type":"undefined","optional":false,"description":"name of the event"},{"name":"data","type":"undefined","optional":false,"description":"additional data for the event"},{"name":"cancelable","type":"undefined","optional":false,"defaultValue":false,"description":"true, if the user can call preventDefault on the event object"},{"name":"bubbles","type":"undefined","optional":false,"defaultValue":true,"description":"true, if the event bubbles"}]},{"name":"focus","visibility":"public","parameters":[{"name":"focusOptions","type":"FocusOptions","optional":false,"description":"additional options for the focus"}],"description":"Set the focus to the element, returned by \"getFocusDomRef()\" (marked by \"data-sap-focus-ref\")"},{"name":"getDomRef","visibility":"public","description":"Returns the DOM Element inside the Shadow Root that corresponds to the opening tag in the UI5 Web Component's template *Note:* For logical (abstract) elements (items, options, etc...), returns the part of the parent's DOM that represents this option Use this method instead of \"this.shadowRoot\" to read the Shadow DOM, if ever necessary"},{"name":"getFocusDomRef","visibility":"public","description":"Returns the DOM Element marked with \"data-sap-focus-ref\" inside the template. This is the element that will receive the focus by default."},{"name":"getFocusDomRefAsync","visibility":"public","description":"Waits for dom ref and then returns the DOM Element marked with \"data-sap-focus-ref\" inside the template. This is the element that will receive the focus by default."},{"name":"getMetadata","visibility":"public","static":true,"returnValue":{"type":"UI5ElementMetadata"},"description":"Returns an instance of UI5ElementMetadata.js representing this UI5 Web Component's full metadata (its and its parents') Note: not to be confused with the \"get metadata()\" method, which returns an object for this class's metadata only"},{"name":"getSlottedNodes","visibility":"public","description":"Returns the actual children, associated with a slot. Useful when there are transitive slots in nested component scenarios and you don't want to get a list of the slots, but rather of their content."},{"name":"getStaticAreaItemDomRef","visibility":"public"},{"name":"getUniqueDependencies","visibility":"public","static":true,"description":"Returns a list of the unique dependencies for this UI5 Web Component"},{"name":"onAfterRendering","visibility":"public","description":"Called every time after the component renders."},{"name":"onBeforeRendering","visibility":"public","description":"Called every time before the component renders."},{"name":"onDefine","visibility":"protected","static":true,"returnValue":{"type":"Promise.<void>"},"description":"Hook that will be called upon custom element definition"},{"name":"onEnterDOM","visibility":"public","description":"Called on connectedCallback - added to the DOM."},{"name":"onExitDOM","visibility":"public","description":"Called on disconnectedCallback - removed from the DOM."},{"name":"onInvalidation","visibility":"public","parameters":[{"name":"changeInfo","type":"undefined","optional":false,"description":"An object with information about the change that caused invalidation. The object can have the following properties: - type: (property|slot) tells what caused the invalidation 1) property: a property value was changed either directly or as a result of changing the corresponding attribute 2) slot: a slotted node(nodes) changed in one of several ways (see \"reason\")\n\n- name: the name of the property or slot that caused the invalidation\n\n- reason: (children|textcontent|childchange|slotchange) relevant only for type=\"slot\" only and tells exactly what changed in the slot 1) children: immediate children (HTML elements or text nodes) were added, removed or reordered in the slot 2) textcontent: text nodes in the slot changed value (or nested text nodes were added or changed value). Can only trigger for slots of \"type: Node\" 3) slotchange: a slot element, slotted inside that slot had its \"slotchange\" event listener called. This practically means that transitively slotted children changed. Can only trigger if the child of a slot is a slot element itself. 4) childchange: indicates that a UI5Element child in that slot was invalidated and in turn invalidated the component. Can only trigger for slots with \"invalidateOnChildChange\" metadata descriptor\n\n- newValue: the new value of the property (for type=\"property\" only)\n\n- oldValue: the old value of the property (for type=\"property\" only)\n\n- child the child that was changed (for type=\"slot\" and reason=\"childchange\" only)"}],"description":"A callback that is executed each time an already rendered component is invalidated (scheduled for re-rendering)"}]},{"kind":"class","name":"UI5ElementMetadata","basename":"UI5ElementMetadata","resource":"UI5ElementMetadata.js","module":"UI5ElementMetadata","export":"","visibility":"public","constructor":{"visibility":"public"},"methods":[{"name":"getAttributesList","visibility":"public","returnValue":{"type":"string[]"},"description":"Returns an array with the attributes of the UI5 Element (in kebab-case)"},{"name":"getEvents","visibility":"public","description":"Returns an object with key-value pairs of events and their metadata definitions"},{"name":"getProperties","visibility":"public","description":"Returns an object with key-value pairs of properties and their metadata definitions"},{"name":"getPropertiesList","visibility":"public","returnValue":{"type":"string[]"},"description":"Returns an array with the properties of the UI5 Element (in camelCase)"},{"name":"getPureTag","visibility":"public","description":"Returns the tag of the UI5 Element without the scope"},{"name":"getSlots","visibility":"public","description":"Returns an object with key-value pairs of slots and their metadata definitions"},{"name":"getTag","visibility":"public","description":"Returns the tag of the UI5 Element"},{"name":"hasAttribute","visibility":"public","returnValue":{"type":"boolean"},"parameters":[{"name":"propName","type":"undefined","optional":false}],"description":"Determines whether a property should have an attribute counterpart"},{"name":"hasIndividualSlots","visibility":"public","description":"Determines whether this UI5 Element supports any slots with \"individualSlots: true\""},{"name":"hasSlots","visibility":"public","description":"Determines whether this UI5 Element supports any slots"},{"name":"slotsAreManaged","visibility":"public","description":"Determines whether this UI5 Element needs to invalidate if children are added/removed/changed"},{"name":"supportsF6FastNavigation","visibility":"public","description":"Determines whether this control supports F6 fast navigation"},{"name":"validatePropertyValue","visibility":"public","static":true,"description":"Validates the property's value and returns it if correct or returns the default value if not. <b>Note:</b> Only intended for use by UI5Element.js"}]}]}
|