@ui5/webcomponents-compat 0.0.0-b804b8982 → 0.0.0-c42896b6b
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 +217 -0
- package/README.md +6 -3
- package/cypress.config.js +3 -0
- package/dist/Table.d.ts +2 -0
- package/dist/Table.js +9 -1
- package/dist/Table.js.map +1 -1
- package/dist/TableCell.d.ts +1 -0
- package/dist/TableCell.js +3 -0
- package/dist/TableCell.js.map +1 -1
- package/dist/TableColumn.d.ts +1 -0
- package/dist/TableColumn.js +3 -0
- package/dist/TableColumn.js.map +1 -1
- package/dist/TableGroupRow.d.ts +1 -0
- package/dist/TableGroupRow.js +3 -0
- package/dist/TableGroupRow.js.map +1 -1
- package/dist/TableRow.d.ts +1 -0
- package/dist/TableRow.js +3 -0
- package/dist/TableRow.js.map +1 -1
- package/dist/TableTemplate.js +1 -1
- package/dist/TableTemplate.js.map +1 -1
- package/dist/css/themes/GrowingButton.css +1 -1
- package/dist/css/themes/Table.css +1 -1
- package/dist/css/themes/TableCell.css +1 -1
- package/dist/css/themes/TableColumn.css +1 -1
- package/dist/css/themes/TableGroupRow.css +1 -1
- package/dist/css/themes/TableRow.css +1 -1
- package/dist/css/themes/sap_fiori_3/parameters-bundle.css +1 -1
- package/dist/css/themes/sap_fiori_3_dark/parameters-bundle.css +1 -1
- package/dist/css/themes/sap_fiori_3_hcb/parameters-bundle.css +1 -1
- package/dist/css/themes/sap_fiori_3_hcw/parameters-bundle.css +1 -1
- package/dist/css/themes/sap_horizon/parameters-bundle.css +1 -1
- package/dist/css/themes/sap_horizon_dark/parameters-bundle.css +1 -1
- package/dist/css/themes/sap_horizon_hcb/parameters-bundle.css +1 -1
- package/dist/css/themes/sap_horizon_hcw/parameters-bundle.css +1 -1
- package/dist/custom-elements-internal.json +11 -0
- package/dist/custom-elements.json +11 -0
- package/dist/generated/assets/i18n/messagebundle_hr.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_id.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_it.json +1 -1
- package/dist/generated/assets/themes/sap_fiori_3/parameters-bundle.css.json +1 -1
- package/dist/generated/assets/themes/sap_fiori_3_dark/parameters-bundle.css.json +1 -1
- package/dist/generated/assets/themes/sap_fiori_3_hcb/parameters-bundle.css.json +1 -1
- package/dist/generated/assets/themes/sap_fiori_3_hcw/parameters-bundle.css.json +1 -1
- package/dist/generated/assets/themes/sap_horizon/parameters-bundle.css.json +1 -1
- package/dist/generated/assets/themes/sap_horizon_dark/parameters-bundle.css.json +1 -1
- package/dist/generated/assets/themes/sap_horizon_hcb/parameters-bundle.css.json +1 -1
- package/dist/generated/assets/themes/sap_horizon_hcw/parameters-bundle.css.json +1 -1
- package/dist/generated/json-imports/Themes-node.d.ts +1 -0
- package/dist/generated/json-imports/Themes-node.js +25 -0
- package/dist/generated/json-imports/Themes-node.js.map +1 -0
- package/dist/generated/json-imports/i18n-fetch.js +2 -2
- package/dist/generated/json-imports/i18n-fetch.js.map +1 -1
- package/dist/generated/json-imports/i18n-node.d.ts +1 -0
- package/dist/generated/json-imports/i18n-node.js +120 -0
- package/dist/generated/json-imports/i18n-node.js.map +1 -0
- package/dist/generated/json-imports/i18n.js +2 -2
- package/dist/generated/json-imports/i18n.js.map +1 -1
- package/dist/generated/themes/GrowingButton.css.d.ts +1 -1
- package/dist/generated/themes/GrowingButton.css.js +1 -1
- package/dist/generated/themes/GrowingButton.css.js.map +1 -1
- package/dist/generated/themes/Table.css.d.ts +1 -1
- package/dist/generated/themes/Table.css.js +1 -1
- package/dist/generated/themes/Table.css.js.map +1 -1
- package/dist/generated/themes/TableCell.css.d.ts +1 -1
- package/dist/generated/themes/TableCell.css.js +1 -1
- package/dist/generated/themes/TableCell.css.js.map +1 -1
- package/dist/generated/themes/TableColumn.css.d.ts +1 -1
- package/dist/generated/themes/TableColumn.css.js +1 -1
- package/dist/generated/themes/TableColumn.css.js.map +1 -1
- package/dist/generated/themes/TableGroupRow.css.d.ts +1 -1
- package/dist/generated/themes/TableGroupRow.css.js +1 -1
- package/dist/generated/themes/TableGroupRow.css.js.map +1 -1
- package/dist/generated/themes/TableRow.css.d.ts +1 -1
- package/dist/generated/themes/TableRow.css.js +1 -1
- package/dist/generated/themes/TableRow.css.js.map +1 -1
- package/dist/generated/themes/sap_fiori_3/parameters-bundle.css.d.ts +1 -1
- package/dist/generated/themes/sap_fiori_3/parameters-bundle.css.js +1 -1
- package/dist/generated/themes/sap_fiori_3/parameters-bundle.css.js.map +1 -1
- package/dist/generated/themes/sap_fiori_3_dark/parameters-bundle.css.d.ts +1 -1
- package/dist/generated/themes/sap_fiori_3_dark/parameters-bundle.css.js +1 -1
- package/dist/generated/themes/sap_fiori_3_dark/parameters-bundle.css.js.map +1 -1
- package/dist/generated/themes/sap_fiori_3_hcb/parameters-bundle.css.d.ts +1 -1
- package/dist/generated/themes/sap_fiori_3_hcb/parameters-bundle.css.js +1 -1
- package/dist/generated/themes/sap_fiori_3_hcb/parameters-bundle.css.js.map +1 -1
- package/dist/generated/themes/sap_fiori_3_hcw/parameters-bundle.css.d.ts +1 -1
- package/dist/generated/themes/sap_fiori_3_hcw/parameters-bundle.css.js +1 -1
- package/dist/generated/themes/sap_fiori_3_hcw/parameters-bundle.css.js.map +1 -1
- package/dist/generated/themes/sap_horizon/parameters-bundle.css.d.ts +1 -1
- package/dist/generated/themes/sap_horizon/parameters-bundle.css.js +1 -1
- package/dist/generated/themes/sap_horizon/parameters-bundle.css.js.map +1 -1
- package/dist/generated/themes/sap_horizon_dark/parameters-bundle.css.d.ts +1 -1
- package/dist/generated/themes/sap_horizon_dark/parameters-bundle.css.js +1 -1
- package/dist/generated/themes/sap_horizon_dark/parameters-bundle.css.js.map +1 -1
- package/dist/generated/themes/sap_horizon_hcb/parameters-bundle.css.d.ts +1 -1
- package/dist/generated/themes/sap_horizon_hcb/parameters-bundle.css.js +1 -1
- package/dist/generated/themes/sap_horizon_hcb/parameters-bundle.css.js.map +1 -1
- package/dist/generated/themes/sap_horizon_hcw/parameters-bundle.css.d.ts +1 -1
- package/dist/generated/themes/sap_horizon_hcw/parameters-bundle.css.js +1 -1
- package/dist/generated/themes/sap_horizon_hcw/parameters-bundle.css.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/utils/CompatCustomElementsScope.d.ts +5 -0
- package/dist/utils/CompatCustomElementsScope.js +38 -0
- package/dist/utils/CompatCustomElementsScope.js.map +1 -0
- package/dist/web-types.json +6 -6
- package/package-scripts.cjs +4 -0
- package/package.json +11 -7
- package/src/TableTemplate.tsx +1 -1
- package/src/i18n/messagebundle_hr.properties +1 -1
- package/src/i18n/messagebundle_it.properties +1 -1
- package/dist/generated/assets/i18n/messagebundle_in.json +0 -1
- package/src/i18n/messagebundle_in.properties +0 -172
package/dist/TableCell.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TableCell.js","sourceRoot":"","sources":["../src/TableCell.ts"],"names":[],"mappings":";;;;;;;AAAA,OAAO,UAAU,MAAM,4CAA4C,CAAC;AACpE,OAAO,aAAa,MAAM,0DAA0D,CAAC;AACrF,OAAO,QAAQ,MAAM,qDAAqD,CAAC;AAC3E,OAAO,IAAI,MAAM,iDAAiD,CAAC;AACnE,OAAO,WAAW,MAAM,sDAAsD,CAAC;AAE/E,OAAO,IAAI,MAAM,iDAAiD,CAAC;AACnE,OAAO,iBAAiB,MAAM,wBAAwB,CAAC;AAEvD,SAAS;AACT,OAAO,eAAe,MAAM,qCAAqC,CAAC;AAElE,QAAQ;AACR,OAAO,EACN,qBAAqB,GACrB,MAAM,mCAAmC,CAAC;
|
|
1
|
+
{"version":3,"file":"TableCell.js","sourceRoot":"","sources":["../src/TableCell.ts"],"names":[],"mappings":";;;;;;;AAAA,OAAO,UAAU,MAAM,4CAA4C,CAAC;AACpE,OAAO,aAAa,MAAM,0DAA0D,CAAC;AACrF,OAAO,QAAQ,MAAM,qDAAqD,CAAC;AAC3E,OAAO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AAS,CAoCd;AAED,kBAAkB,CAAC,SAAS,CAAC,CAAC;AAE9B,SAAS,CAAC,MAAM,EAAE,CAAC;AAEnB,eAAe,SAAS,CAAC","sourcesContent":["import UI5Element from \"@ui5/webcomponents-base/dist/UI5Element.js\";\nimport customElement from \"@ui5/webcomponents-base/dist/decorators/customElement.js\";\nimport property from \"@ui5/webcomponents-base/dist/decorators/property.js\";\nimport i18n from \"@ui5/webcomponents-base/dist/decorators/i18n.js\";\nimport jsxRenderer from \"@ui5/webcomponents-base/dist/renderer/JsxRenderer.js\";\nimport type I18nBundle from \"@ui5/webcomponents-base/dist/i18nBundle.js\";\nimport slot from \"@ui5/webcomponents-base/dist/decorators/slot.js\";\nimport TableCellTemplate from \"./TableCellTemplate.js\";\n\n// Styles\nimport tableCellStyles from \"./generated/themes/TableCell.css.js\";\n\n// Texts\nimport {\n\tARIA_LABEL_EMPTY_CELL,\n} from \"./generated/i18n/i18n-defaults.js\";\nimport { patchScopingSuffix } from \"./utils/CompatCustomElementsScope.js\";\n\n/**\n * @class\n *\n * ### Overview\n *\n * The `ui5-table-cell` component defines the structure of the data in a single `ui5-table` cell.\n * @constructor\n * @extends UI5Element\n * @public\n * @csspart cell - Used to style the native `td` element\n * @deprecated Deprecated as of version 2.12.0, use `@ui5/webcomponents/dist/TableCell.js` instead.\n */\n@customElement({\n\ttag: \"ui5-table-cell\",\n\trenderer: jsxRenderer,\n\ttemplate: TableCellTemplate,\n\tstyles: tableCellStyles,\n})\nclass TableCell extends UI5Element {\n\t/**\n\t * @private\n\t */\n\t@property({ type: Boolean })\n\tlastInRow = false;\n\n\t/**\n\t * @private\n\t */\n\t@property({ type: Boolean })\n\tpopined = false;\n\n\t/**\n\t * @private\n\t */\n\t@property({ type: Boolean })\n\t_popinedInline = false;\n\n\t/**\n\t * Specifies the content of the component.\n\t * @public\n\t */\n\t@slot({ type: HTMLElement, \"default\": true })\n\tcontent?: Array<HTMLElement>;\n\n\t@i18n(\"@ui5/webcomponents\")\n\tstatic i18nBundle: I18nBundle;\n\n\tget cellContent(): Array<HTMLElement> {\n\t\treturn this.getSlottedNodes<HTMLElement>(\"content\");\n\t}\n\n\tget ariaLabelEmptyCellText(): string {\n\t\treturn TableCell.i18nBundle.getText(ARIA_LABEL_EMPTY_CELL);\n\t}\n}\n\npatchScopingSuffix(TableCell);\n\nTableCell.define();\n\nexport default TableCell;\n"]}
|
package/dist/TableColumn.d.ts
CHANGED
|
@@ -12,6 +12,7 @@ import type TableColumnPopinDisplay from "./types/TableColumnPopinDisplay.js";
|
|
|
12
12
|
* @public
|
|
13
13
|
* @slot {Node[]} default - Defines the content of the column header
|
|
14
14
|
* @csspart column - Used to style the native `th` element
|
|
15
|
+
* @deprecated Deprecated as of version 2.12.0, use `@ui5/webcomponents/dist/Table.js` instead.
|
|
15
16
|
*/
|
|
16
17
|
declare class TableColumn extends UI5Element {
|
|
17
18
|
/**
|
package/dist/TableColumn.js
CHANGED
|
@@ -11,6 +11,7 @@ import jsxRenderer from "@ui5/webcomponents-base/dist/renderer/JsxRenderer.js";
|
|
|
11
11
|
import TableColumnTemplate from "./TableColumnTemplate.js";
|
|
12
12
|
// Styles
|
|
13
13
|
import tableColumnStyles from "./generated/themes/TableColumn.css.js";
|
|
14
|
+
import { patchScopingSuffix } from "./utils/CompatCustomElementsScope.js";
|
|
14
15
|
/**
|
|
15
16
|
* @class
|
|
16
17
|
*
|
|
@@ -23,6 +24,7 @@ import tableColumnStyles from "./generated/themes/TableColumn.css.js";
|
|
|
23
24
|
* @public
|
|
24
25
|
* @slot {Node[]} default - Defines the content of the column header
|
|
25
26
|
* @csspart column - Used to style the native `th` element
|
|
27
|
+
* @deprecated Deprecated as of version 2.12.0, use `@ui5/webcomponents/dist/Table.js` instead.
|
|
26
28
|
*/
|
|
27
29
|
let TableColumn = class TableColumn extends UI5Element {
|
|
28
30
|
constructor() {
|
|
@@ -94,6 +96,7 @@ TableColumn = __decorate([
|
|
|
94
96
|
template: TableColumnTemplate,
|
|
95
97
|
})
|
|
96
98
|
], TableColumn);
|
|
99
|
+
patchScopingSuffix(TableColumn);
|
|
97
100
|
TableColumn.define();
|
|
98
101
|
export default TableColumn;
|
|
99
102
|
//# sourceMappingURL=TableColumn.js.map
|
package/dist/TableColumn.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TableColumn.js","sourceRoot":"","sources":["../src/TableColumn.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,UAAU,MAAM,4CAA4C,CAAC;AACpE,OAAO,aAAa,MAAM,0DAA0D,CAAC;AACrF,OAAO,QAAQ,MAAM,qDAAqD,CAAC;AAC3E,OAAO,WAAW,MAAM,sDAAsD,CAAC;AAC/E,OAAO,mBAAmB,MAAM,0BAA0B,CAAC;AAG3D,SAAS;AACT,OAAO,iBAAiB,MAAM,uCAAuC,CAAC;
|
|
1
|
+
{"version":3,"file":"TableColumn.js","sourceRoot":"","sources":["../src/TableColumn.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,UAAU,MAAM,4CAA4C,CAAC;AACpE,OAAO,aAAa,MAAM,0DAA0D,CAAC;AACrF,OAAO,QAAQ,MAAM,qDAAqD,CAAC;AAC3E,OAAO,WAAW,MAAM,sDAAsD,CAAC;AAC/E,OAAO,mBAAmB,MAAM,0BAA0B,CAAC;AAG3D,SAAS;AACT,OAAO,iBAAiB,MAAM,uCAAuC,CAAC;AACtE,OAAO,EAAE,kBAAkB,EAAE,MAAM,sCAAsC,CAAC;AAE1E;;;;;;;;;;;;;GAaG;AAOH,IAAM,WAAW,GAAjB,MAAM,WAAY,SAAQ,UAAU;IAApC;;QACC;;;;;;;;;WASG;QAEH,aAAQ,GAAW,QAAQ,CAAC;QAU5B;;;;;;;WAOG;QAEH,gBAAW,GAAG,KAAK,CAAC;QAEpB;;;;;;;;;WASG;QAEH,iBAAY,GAAiC,OAAO,CAAC;QAErD;;WAEG;QAEH,UAAK,GAAG,KAAK,CAAC;QAEd;;WAEG;QAEH,SAAI,GAAG,KAAK,CAAC;IACd,CAAC;CAAA,CAAA;AA7CA;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;6CACC;AAQ5B;IADC,QAAQ,EAAE;8CACQ;AAWnB;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;gDACR;AAapB;IADC,QAAQ,EAAE;iDAC0C;AAMrD;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;0CACd;AAMd;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;yCACf;AAxDR,WAAW;IANhB,aAAa,CAAC;QACd,GAAG,EAAE,kBAAkB;QACvB,MAAM,EAAE,iBAAiB;QACzB,QAAQ,EAAE,WAAW;QACrB,QAAQ,EAAE,mBAAmB;KAC7B,CAAC;GACI,WAAW,CAyDhB;AAED,kBAAkB,CAAC,WAAW,CAAC,CAAC;AAEhC,WAAW,CAAC,MAAM,EAAE,CAAC;AAErB,eAAe,WAAW,CAAC","sourcesContent":["import UI5Element from \"@ui5/webcomponents-base/dist/UI5Element.js\";\nimport customElement from \"@ui5/webcomponents-base/dist/decorators/customElement.js\";\nimport property from \"@ui5/webcomponents-base/dist/decorators/property.js\";\nimport jsxRenderer from \"@ui5/webcomponents-base/dist/renderer/JsxRenderer.js\";\nimport TableColumnTemplate from \"./TableColumnTemplate.js\";\nimport type TableColumnPopinDisplay from \"./types/TableColumnPopinDisplay.js\";\n\n// Styles\nimport tableColumnStyles from \"./generated/themes/TableColumn.css.js\";\nimport { patchScopingSuffix } from \"./utils/CompatCustomElementsScope.js\";\n\n/**\n * @class\n *\n * ### Overview\n *\n * The `ui5-table-column` component allows to define column specific properties that are applied\n * when rendering the `ui5-table` component.\n * @constructor\n * @extends UI5Element\n * @public\n * @slot {Node[]} default - Defines the content of the column header\n * @csspart column - Used to style the native `th` element\n * @deprecated Deprecated as of version 2.12.0, use `@ui5/webcomponents/dist/Table.js` instead.\n */\n@customElement({\n\ttag: \"ui5-table-column\",\n\tstyles: tableColumnStyles,\n\trenderer: jsxRenderer,\n\ttemplate: TableColumnTemplate,\n})\nclass TableColumn extends UI5Element {\n\t/**\n\t * Defines the minimum table width required to display this column. By default it is always displayed.\n\t *\n\t * The responsive behavior of the `ui5-table` is determined by this property. As an example, by setting\n\t * `minWidth` property to `400` sets the minimum width to 400 pixels, and\tshows this column on tablet (and desktop) but hides it on mobile.\n\t *\n\t * For further responsive design options, see `demandPopin` property.\n\t * @default Infinity\n\t * @public\n\t */\n\t@property({ type: Number })\n\tminWidth: number = Infinity;\n\n\t/**\n\t * The text for the column when it pops in.\n\t * @default undefined\n\t * @public\n\t */\n\t@property()\n\tpopinText?: string;\n\n\t/**\n\t * According to your `minWidth` settings, the component can be hidden\n\t * in different screen sizes.\n\t *\n\t * Setting this property to `true`, shows this column as pop-in instead of hiding it.\n\t * @default false\n\t * @public\n\t */\n\t@property({ type: Boolean })\n\tdemandPopin = false;\n\n\t/**\n\t * Defines how the popin row is displayed.\n\t *\n\t * **The available values are:**\n\t *\n\t * - `Block`\n\t * - `Inline`\n\t * @default \"Block\"\n\t * @public\n\t */\n\t@property()\n\tpopinDisplay: `${TableColumnPopinDisplay}` = \"Block\";\n\n\t/**\n\t * @private\n\t */\n\t@property({ type: Boolean })\n\tfirst = false;\n\n\t/**\n\t * @private\n\t */\n\t@property({ type: Boolean })\n\tlast = false;\n}\n\npatchScopingSuffix(TableColumn);\n\nTableColumn.define();\n\nexport default TableColumn;\n"]}
|
package/dist/TableGroupRow.d.ts
CHANGED
|
@@ -17,6 +17,7 @@ import TableMode from "./types/TableMode.js";
|
|
|
17
17
|
*
|
|
18
18
|
* **Note:** Although this slot accepts HTML Elements, it is strongly recommended that you only use text in order to preserve the intended design.
|
|
19
19
|
* @csspart group-row - Used to style the native `tr` element
|
|
20
|
+
* @deprecated Deprecated as of version 2.12.0, use `@ui5/webcomponents/dist/Table.js` instead.
|
|
20
21
|
*/
|
|
21
22
|
declare class TableGroupRow extends UI5Element implements ITableRow {
|
|
22
23
|
eventDetails: {
|
package/dist/TableGroupRow.js
CHANGED
|
@@ -17,6 +17,7 @@ import TableMode from "./types/TableMode.js";
|
|
|
17
17
|
import { TABLE_GROUP_ROW_ARIA_LABEL, } from "./generated/i18n/i18n-defaults.js";
|
|
18
18
|
// Styles
|
|
19
19
|
import tableGroupRowStyles from "./generated/themes/TableGroupRow.css.js";
|
|
20
|
+
import { patchScopingSuffix } from "./utils/CompatCustomElementsScope.js";
|
|
20
21
|
/**
|
|
21
22
|
* @class
|
|
22
23
|
*
|
|
@@ -32,6 +33,7 @@ import tableGroupRowStyles from "./generated/themes/TableGroupRow.css.js";
|
|
|
32
33
|
*
|
|
33
34
|
* **Note:** Although this slot accepts HTML Elements, it is strongly recommended that you only use text in order to preserve the intended design.
|
|
34
35
|
* @csspart group-row - Used to style the native `tr` element
|
|
36
|
+
* @deprecated Deprecated as of version 2.12.0, use `@ui5/webcomponents/dist/Table.js` instead.
|
|
35
37
|
*/
|
|
36
38
|
let TableGroupRow = TableGroupRow_1 = class TableGroupRow extends UI5Element {
|
|
37
39
|
constructor() {
|
|
@@ -102,6 +104,7 @@ TableGroupRow = TableGroupRow_1 = __decorate([
|
|
|
102
104
|
bubbles: true,
|
|
103
105
|
})
|
|
104
106
|
], TableGroupRow);
|
|
107
|
+
patchScopingSuffix(TableGroupRow);
|
|
105
108
|
TableGroupRow.define();
|
|
106
109
|
export default TableGroupRow;
|
|
107
110
|
//# sourceMappingURL=TableGroupRow.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TableGroupRow.js","sourceRoot":"","sources":["../src/TableGroupRow.ts"],"names":[],"mappings":";;;;;;;AAAA,OAAO,UAAU,MAAM,4CAA4C,CAAC;AACpE,OAAO,aAAa,MAAM,0DAA0D,CAAC;AACrF,OAAO,QAAQ,MAAM,qDAAqD,CAAC;AAC3E,OAAO,KAAK,MAAM,yDAAyD,CAAC;AAC5E,OAAO,IAAI,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AAQ,EAAE,qBAAqB;KAC/B,CAAC;IACD,KAAK,CAAC,UAAU,EAAE;QAClB,OAAO,EAAE,IAAI;KACb,CAAC;GACI,aAAa,CAgElB;AAED,kBAAkB,CAAC,aAAa,CAAC,CAAC;AAElC,aAAa,CAAC,MAAM,EAAE,CAAC;AAEvB,eAAe,aAAa,CAAC","sourcesContent":["import UI5Element from \"@ui5/webcomponents-base/dist/UI5Element.js\";\nimport customElement from \"@ui5/webcomponents-base/dist/decorators/customElement.js\";\nimport property from \"@ui5/webcomponents-base/dist/decorators/property.js\";\nimport event from \"@ui5/webcomponents-base/dist/decorators/event-strict.js\";\nimport i18n from \"@ui5/webcomponents-base/dist/decorators/i18n.js\";\nimport jsxRenderer from \"@ui5/webcomponents-base/dist/renderer/JsxRenderer.js\";\nimport type I18nBundle from \"@ui5/webcomponents-base/dist/i18nBundle.js\";\nimport type { ITableRow, TableColumnInfo } from \"./Table.js\";\nimport TableGroupRowTemplate from \"./TableGroupRowTemplate.js\";\nimport TableMode from \"./types/TableMode.js\";\n\n// Texts\nimport {\n\tTABLE_GROUP_ROW_ARIA_LABEL,\n} from \"./generated/i18n/i18n-defaults.js\";\n\n// Styles\nimport tableGroupRowStyles from \"./generated/themes/TableGroupRow.css.js\";\nimport { patchScopingSuffix } from \"./utils/CompatCustomElementsScope.js\";\n\n/**\n * @class\n *\n * ### Overview\n *\n * The `ui5-table-group-row` component represents a group row in the `ui5-table`.\n * @constructor\n * @since 2.0.0\n * @implements {ITableRow}\n * @extends UI5Element\n * @public\n * @slot {Node[]} default - Defines the text of the component.\n *\n * **Note:** Although this slot accepts HTML Elements, it is strongly recommended that you only use text in order to preserve the intended design.\n * @csspart group-row - Used to style the native `tr` element\n * @deprecated Deprecated as of version 2.12.0, use `@ui5/webcomponents/dist/Table.js` instead.\n */\n@customElement({\n\ttag: \"ui5-table-group-row\",\n\tstyles: tableGroupRowStyles,\n\trenderer: jsxRenderer,\n\ttemplate: TableGroupRowTemplate,\n})\n@event(\"_focused\", {\n\tbubbles: true,\n})\nclass TableGroupRow extends UI5Element implements ITableRow {\n\teventDetails!: {\n\t\t_focused: FocusEvent,\n\t}\n\t/**\n\t * Defines the mode of the row\n\t * @default \"None\"\n\t * @private\n\t */\n\t@property()\n\tmode: `${TableMode}` = \"None\";\n\n\t@property({ type: Array })\n\t_columnsInfo?: Array<TableColumnInfo>;\n\n\t@property()\n\tforcedTabIndex?: string;\n\n\t@property({ type: Boolean })\n\tforcedBusy = false;\n\n\t@property()\n\tforcedAriaPosition?: string;\n\n\t// Properties, set and handled by the Table\n\tselected = false;\n\ttabbableElements: Array<HTMLElement> = [];\n\t_columnsInfoString = \"\";\n\n\t@i18n(\"@ui5/webcomponents\")\n\tstatic i18nBundle: I18nBundle;\n\n\t_colSpan?: number;\n\n\tget colSpan() {\n\t\treturn this._colSpan;\n\t}\n\n\tget ariaLabelText() {\n\t\treturn `${TableGroupRow.i18nBundle.getText(TABLE_GROUP_ROW_ARIA_LABEL)} ${this.textContent}. ${this.forcedAriaPosition}`;\n\t}\n\n\tvisibleColCount(): number {\n\t\tlet count = this._columnsInfo?.reduce((acc, column) => {\n\t\t\treturn column.visible ? ++acc : acc;\n\t\t}, 0) || 0;\n\n\t\tif (this.mode === TableMode.MultiSelect) {\n\t\t\tcount++;\n\t\t}\n\n\t\treturn count;\n\t}\n\n\tonBeforeRendering() {\n\t\tif (!this._columnsInfo || this._columnsInfo.length === 0) {\n\t\t\treturn;\n\t\t}\n\t\tthis._colSpan = this.visibleColCount();\n\t}\n\n\t_onfocusin(e: FocusEvent) {\n\t\tthis.fireDecoratorEvent(\"_focused\", e);\n\t}\n}\n\npatchScopingSuffix(TableGroupRow);\n\nTableGroupRow.define();\n\nexport default TableGroupRow;\n"]}
|
package/dist/TableRow.d.ts
CHANGED
|
@@ -31,6 +31,7 @@ type TableRowF7PressEventDetail = {
|
|
|
31
31
|
* @public
|
|
32
32
|
* @csspart row - Used to style the native `tr` element
|
|
33
33
|
* @csspart popin-row - Used to style the `tr` element when a row pops in
|
|
34
|
+
* @deprecated Deprecated as of version 2.12.0, use `@ui5/webcomponents/dist/TableRow.js` instead.
|
|
34
35
|
*/
|
|
35
36
|
declare class TableRow extends UI5Element implements ITableRow {
|
|
36
37
|
eventDetails: {
|
package/dist/TableRow.js
CHANGED
|
@@ -22,6 +22,7 @@ import TableRowTemplate from "./TableRowTemplate.js";
|
|
|
22
22
|
import { ARIA_LABEL_ROW_SELECTION, LIST_ITEM_NOT_SELECTED, LIST_ITEM_SELECTED, } from "./generated/i18n/i18n-defaults.js";
|
|
23
23
|
// Styles
|
|
24
24
|
import tableRowStyles from "./generated/themes/TableRow.css.js";
|
|
25
|
+
import { patchScopingSuffix } from "./utils/CompatCustomElementsScope.js";
|
|
25
26
|
/**
|
|
26
27
|
* @class
|
|
27
28
|
*
|
|
@@ -34,6 +35,7 @@ import tableRowStyles from "./generated/themes/TableRow.css.js";
|
|
|
34
35
|
* @public
|
|
35
36
|
* @csspart row - Used to style the native `tr` element
|
|
36
37
|
* @csspart popin-row - Used to style the `tr` element when a row pops in
|
|
38
|
+
* @deprecated Deprecated as of version 2.12.0, use `@ui5/webcomponents/dist/TableRow.js` instead.
|
|
37
39
|
*/
|
|
38
40
|
let TableRow = TableRow_1 = class TableRow extends UI5Element {
|
|
39
41
|
constructor() {
|
|
@@ -376,6 +378,7 @@ TableRow = TableRow_1 = __decorate([
|
|
|
376
378
|
bubbles: true,
|
|
377
379
|
})
|
|
378
380
|
], TableRow);
|
|
381
|
+
patchScopingSuffix(TableRow);
|
|
379
382
|
TableRow.define();
|
|
380
383
|
export default TableRow;
|
|
381
384
|
//# sourceMappingURL=TableRow.js.map
|
package/dist/TableRow.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TableRow.js","sourceRoot":"","sources":["../src/TableRow.ts"],"names":[],"mappings":";;;;;;;AAAA,OAAO,UAAU,MAAM,4CAA4C,CAAC;AACpE,OAAO,aAAa,MAAM,0DAA0D,CA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@ui5/webcomponents-base/dist/UI5Element.js\";\nimport customElement from \"@ui5/webcomponents-base/dist/decorators/customElement.js\";\nimport property from \"@ui5/webcomponents-base/dist/decorators/property.js\";\nimport event from \"@ui5/webcomponents-base/dist/decorators/event-strict.js\";\nimport slot from \"@ui5/webcomponents-base/dist/decorators/slot.js\";\nimport i18n from \"@ui5/webcomponents-base/dist/decorators/i18n.js\";\nimport type I18nBundle from \"@ui5/webcomponents-base/dist/i18nBundle.js\";\nimport jsxRenderer from \"@ui5/webcomponents-base/dist/renderer/JsxRenderer.js\";\nimport {\n\tisSpace,\n\tisEnter,\n\tisF7,\n\tisTabNext,\n\tisTabPrevious,\n} from \"@ui5/webcomponents-base/dist/Keys.js\";\nimport getActiveElement from \"@ui5/webcomponents-base/dist/util/getActiveElement.js\";\nimport { getLastTabbableElement } from \"@ui5/webcomponents-base/dist/util/TabbableElements.js\";\nimport type TableCell from \"./TableCell.js\";\nimport type { ITableRow, TableColumnInfo } from \"./Table.js\";\nimport TableMode from \"./types/TableMode.js\";\nimport TableRowType from \"./types/TableRowType.js\";\nimport TableColumnPopinDisplay from \"./types/TableColumnPopinDisplay.js\";\nimport TableRowTemplate from \"./TableRowTemplate.js\";\nimport {\n\tARIA_LABEL_ROW_SELECTION,\n\tLIST_ITEM_NOT_SELECTED,\n\tLIST_ITEM_SELECTED,\n} from \"./generated/i18n/i18n-defaults.js\";\n\n// Styles\nimport tableRowStyles from \"./generated/themes/TableRow.css.js\";\n\ntype TableRowClickEventDetail = {\n\trow: TableRow,\n}\n\ntype TableRowSelectionRequestedEventDetail = {\n\trow: TableRow,\n}\n\ntype TableRowForwardBeforeEventDetail = {\n\ttarget: HTMLElement,\n}\n\ntype TableRowForwardAfterEventDetail = {\n\ttarget: HTMLElement,\n}\n\ntype TableRowF7PressEventDetail = {\n\trow: TableRow,\n}\n\n/**\n * @class\n *\n * ### Overview\n *\n * The `ui5-table-row` component represents a row in the `ui5-table`.\n * @constructor\n * @extends UI5Element\n * @implements {ITableRow}\n * @public\n * @csspart row - Used to style the native `tr` element\n * @csspart popin-row - Used to style the `tr` element when a row pops in\n */\n@customElement({\n\ttag: \"ui5-table-row\",\n\tstyles: tableRowStyles,\n\trenderer: jsxRenderer,\n\ttemplate: TableRowTemplate,\n})\n/**\n * Fired when a row in `Active` mode is clicked or `Enter` key is pressed.\n * @since 2.0.0\n * @private\n */\n@event(\"row-click\", {\n\tbubbles: true,\n})\n/**\n * @private\n */\n@event(\"_focused\", {\n\tbubbles: true,\n})\n/**\n * @private\n */\n@event(\"forward-before\", {\n\tbubbles: true,\n})\n/**\n * @private\n */\n@event(\"forward-after\", {\n\tbubbles: true,\n})\n/**\n * Fired on selection change of an active row.\n * @since 2.0.0\n * @private\n */\n@event(\"selection-requested\", {\n\tbubbles: true,\n})\n/**\n * Fired when F7 is pressed.\n * @since 2.0.0\n * @private\n */\n@event(\"f7-pressed\", {\n\tbubbles: true,\n})\nclass TableRow extends UI5Element implements ITableRow {\n\teventDetails!: {\n\t\t\"row-click\": TableRowClickEventDetail,\n\t\t\"_focused\": FocusEvent,\n\t\t\"forward-before\": TableRowForwardBeforeEventDetail,\n\t\t\"forward-after\": TableRowForwardAfterEventDetail,\n\t\t\"selection-requested\": TableRowSelectionRequestedEventDetail,\n\t\t\"f7-pressed\": TableRowF7PressEventDetail,\n\t}\n\t/**\n\t * Defines the visual indication and behavior of the component.\n\t *\n\t * **Note:** When set to `Active`, the item will provide visual response upon press,\n\t * while with type `Inactive`-will not.\n\t * @default \"Inactive\"\n\t * @since 2.0.0\n\t * @public\n\t */\n\t@property()\n\ttype: `${TableRowType}` = \"Inactive\";\n\n\t/**\n\t * Defines the row's selected state.\n\t * @default false\n\t * @since 2.0.0\n\t * @public\n\t */\n\t@property({ type: Boolean })\n\tselected = false;\n\n\t/**\n\t * Indicates if the table row is navigated.\n\t * @default false\n\t * @since 2.0.0\n\t * @public\n\t */\n\t@property({ type: Boolean })\n\tnavigated = false;\n\n\t/**\n\t * Defines the mode of the row (None, SingleSelect, MultiSelect).\n\t * @default \"None\"\n\t * @since 2.0.0\n\t * @private\n\t */\n\t@property()\n\tmode: `${TableMode}` = \"None\";\n\n\t/**\n\t * Indicates if the table row is active.\n\t * @default false\n\t * @since 2.0.0\n\t * @private\n\t */\n\t@property({ type: Boolean })\n\tactive = false;\n\n\t@property({ type: Array })\n\t_columnsInfo?: Array<TableColumnInfo>;\n\n\t@property()\n\tforcedTabIndex?: string;\n\n\t@property({ type: Boolean })\n\tforcedBusy = false;\n\n\t@property({ noAttribute: true })\n\tforcedAriaPosition?: string;\n\n\t/**\n\t * Defines the cells of the component.\n\t *\n\t * **Note:** Use `ui5-table-cell` for the intended design.\n\t * @public\n\t */\n\t@slot({ type: HTMLElement, \"default\": true, individualSlots: true })\n\tcells!: Array<TableCell>;\n\n\t@i18n(\"@ui5/webcomponents\")\n\tstatic i18nBundle: I18nBundle;\n\n\tvisibleCells: Array<TableCell> = [];\n\tpopinCells: Array<TableColumnInfo> = [];\n\n\t// Properties, set and handled by the Table\n\ttabbableElements: Array<HTMLElement> = [];\n\t_columnsInfoString = \"\";\n\n\t_ontouchstart() {\n\t\tthis.activate();\n\t}\n\n\t_onmouseup() {\n\t\tthis.deactivate();\n\t}\n\n\t_onkeydown(e: KeyboardEvent) {\n\t\tconst activeElement = getActiveElement() as HTMLElement;\n\t\tconst itemActive = this.type === TableRowType.Active;\n\t\tconst isSingleSelect = this.isSingleSelect;\n\t\tconst itemSelectable = isSingleSelect || this.isMultiSelect;\n\t\tconst isRowFocused = this._activeElementHasAttribute(\"ui5-table-row\");\n\t\tconst target = e.target as HTMLElement;\n\t\tconst checkboxPressed = target.classList.contains(\"ui5-multi-select-checkbox\");\n\t\tconst rowElements = Array.from(this.shadowRoot!.querySelectorAll(\"tr\") || []);\n\t\tconst elements = rowElements.map(getLastTabbableElement).filter(Boolean);\n\t\tconst lastFocusableElement = elements.pop();\n\n\t\tif (isTabNext(e) && activeElement === (lastFocusableElement || this.root)) {\n\t\t\tthis.fireDecoratorEvent(\"forward-after\", { target: activeElement });\n\t\t}\n\n\t\tif (isTabPrevious(e) && activeElement === this.root) {\n\t\t\tthis.fireDecoratorEvent(\"forward-before\", { target: activeElement });\n\t\t}\n\n\t\tif (isSpace(e) && target.tagName.toLowerCase() === \"tr\") {\n\t\t\te.preventDefault();\n\t\t}\n\n\t\tif (isRowFocused && !checkboxPressed) {\n\t\t\tif ((isSpace(e) && itemSelectable) || (isEnter(e) && isSingleSelect)) {\n\t\t\t\tthis.fireDecoratorEvent(\"selection-requested\", { row: this });\n\t\t\t}\n\n\t\t\tif (isEnter(e) && itemActive) {\n\t\t\t\tthis.fireDecoratorEvent(\"row-click\", { row: this });\n\t\t\t\tif (!isSingleSelect) {\n\t\t\t\t\tthis.activate();\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tif (isF7(e)) {\n\t\t\te.preventDefault();\n\t\t\tthis.fireDecoratorEvent(\"f7-pressed\", { row: this });\n\t\t}\n\t}\n\n\t_onkeyup(e: KeyboardEvent) {\n\t\tif (isSpace(e) || isEnter(e)) {\n\t\t\tthis.deactivate();\n\t\t}\n\t}\n\n\t_ontouchend() {\n\t\tthis.deactivate();\n\t}\n\n\t_onfocusout() {\n\t\tthis.deactivate();\n\t}\n\n\t_onfocusin(e: FocusEvent, forceSelfFocus = false) {\n\t\tif (forceSelfFocus || this._activeElementHasAttribute(\"ui5-table-cell\")) {\n\t\t\tthis.root.focus();\n\t\t\tthis.activate();\n\t\t}\n\n\t\tthis.fireDecoratorEvent(\"_focused\");\n\t}\n\n\t_onrowclick(e: MouseEvent) {\n\t\tconst checkboxPressed = (e.target as HTMLElement).classList.contains(\"ui5-multi-select-checkbox\");\n\t\t// If the user tab over a button on IOS device, the document.activeElement\n\t\t// is the ui5-table-row. The check below ensure that, if a button within the row is pressed,\n\t\t// the row will not be selected.\n\n\t\tif (this.getFocusDomRef()!.matches(\":has(:focus-within)\")) {\n\t\t\treturn;\n\t\t}\n\n\t\tconst activeElement = (this.getRootNode() as Document).activeElement;\n\t\tif (!this.contains(activeElement)) {\n\t\t\t// If the user clickes on non-focusable element within the ui5-table-cell,\n\t\t\t// the focus goes to the body, se we have to bring it back to the row.\n\t\t\t// If the user clicks on input, button or similar clickable element,\n\t\t\t// the focus remains on that element.\n\t\t\tthis._onfocusin(e, true /* force row focus */);\n\t\t\tthis.deactivate();\n\t\t}\n\n\t\tif (this._activeElementHasAttribute(\"ui5-table-row\")) {\n\t\t\tif (this.isSingleSelect) {\n\t\t\t\tthis._handleSelection();\n\t\t\t}\n\n\t\t\tif (this.type === TableRowType.Active && !checkboxPressed) {\n\t\t\t\tthis.fireDecoratorEvent(\"row-click\", { row: this });\n\t\t\t}\n\t\t}\n\t}\n\n\t_handleSelection() {\n\t\tthis.fireDecoratorEvent(\"selection-requested\", { row: this });\n\t}\n\n\t_activeElementHasAttribute(attr: string): boolean {\n\t\treturn !!((this.getRootNode() as Document).activeElement?.hasAttribute(attr));\n\t}\n\n\tget _ariaCurrent() {\n\t\treturn this.navigated ? true : undefined;\n\t}\n\n\tactivate() {\n\t\tif (this.type === TableRowType.Active) {\n\t\t\tthis.active = true;\n\t\t}\n\t}\n\n\tdeactivate() {\n\t\tif (this.active) {\n\t\t\tthis.active = false;\n\t\t}\n\t}\n\n\tget shouldPopin(): boolean {\n\t\treturn !!(this._columnsInfo?.filter(el => {\n\t\t\treturn el.demandPopin || !el.visible;\n\t\t}).length);\n\t}\n\n\tget allColumnsPoppedIn() {\n\t\treturn this._columnsInfo?.every(el => el.demandPopin && !el.visible);\n\t}\n\n\tonBeforeRendering() {\n\t\tif (!this.shouldPopin) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis.visibleCells = [];\n\t\tthis.popinCells = [];\n\n\t\tif (this.cells.length === 0) {\n\t\t\treturn;\n\t\t}\n\n\t\tconst allColumnsPoppedInClass = this.allColumnsPoppedIn ? \"all-columns-popped-in\" : \"\";\n\t\tthis._columnsInfo?.forEach((info, index) => {\n\t\t\tconst cell = this.cells[index];\n\t\t\tconst popinDisplay = info.popinDisplay === TableColumnPopinDisplay.Inline;\n\n\t\t\tif (!cell) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tif (info.visible) {\n\t\t\t\tthis.visibleCells.push(cell);\n\t\t\t\tcell.popined = false;\n\t\t\t\tcell._popinedInline = false;\n\t\t\t} else if (info.demandPopin) {\n\t\t\t\tconst popinHeaderClass = this.popinCells.length === 0 ? \"popin-header\" : \"\";\n\t\t\t\tthis.popinCells.push({\n\t\t\t\t\tcell,\n\t\t\t\t\tpopinText: info.popinText,\n\t\t\t\t\tclasses: `ui5-table-popin-row ${allColumnsPoppedInClass} ${popinHeaderClass}`,\n\t\t\t\t\tpopinDisplayInline: popinDisplay,\n\t\t\t\t});\n\t\t\t\tcell.popined = true;\n\t\t\t\tif (info.popinDisplay === TableColumnPopinDisplay.Inline) {\n\t\t\t\t\tcell._popinedInline = true;\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tcell.popined = false;\n\t\t\t\tcell._popinedInline = false;\n\t\t\t}\n\t\t});\n\n\t\tconst lastVisibleCell = this.visibleCells[this.visibleCells.length - 1];\n\n\t\tif (lastVisibleCell) {\n\t\t\tlastVisibleCell.lastInRow = true;\n\t\t}\n\t}\n\n\tget visibleCellsCount() {\n\t\tlet visibleCellsCount = this.visibleCells.length;\n\n\t\tif (this.isMultiSelect) {\n\t\t\tvisibleCellsCount += 1;\n\t\t}\n\n\t\treturn visibleCellsCount;\n\t}\n\n\tget ariaLabelText() {\n\t\tconst isSelected = this.selected ? TableRow.i18nBundle.getText(LIST_ITEM_SELECTED) : TableRow.i18nBundle.getText(LIST_ITEM_NOT_SELECTED);\n\t\tconst isRowSelectable = this.isSingleSelect || this.isMultiSelect;\n\t\tconst ariaLabel = this.cells.map((cell, index) => {\n\t\t\tconst columText = this.getColumnTextByIdx(index);\n\t\t\tconst cellText = cell.cellContent.length ? this.getCellText(cell) : cell.ariaLabelEmptyCellText;\n\t\t\treturn `${columText} ${cellText}`;\n\t\t}).join(\" \");\n\n\t\tif (isRowSelectable) {\n\t\t\treturn `${ariaLabel}. ${this.forcedAriaPosition}. ${isSelected}`;\n\t\t}\n\n\t\treturn `${ariaLabel}. ${this.forcedAriaPosition}`;\n\t}\n\n\tget ariaLabelRowSelection() {\n\t\treturn TableRow.i18nBundle.getText(ARIA_LABEL_ROW_SELECTION);\n\t}\n\n\tget isSingleSelect() {\n\t\treturn this.mode === TableMode.SingleSelect;\n\t}\n\n\tget isMultiSelect() {\n\t\treturn this.mode === TableMode.MultiSelect;\n\t}\n\n\tget root() {\n\t\treturn this.shadowRoot!.querySelector<HTMLElement>(\".ui5-table-row-root\")!;\n\t}\n\n\tgetCellText(cell: TableCell): string {\n\t\tconst cellTextContent = cell.textContent;\n\n\t\treturn cellTextContent ? this.getNormilzedTextContent(cellTextContent) : \"\";\n\t}\n\n\tgetColumnTextByIdx(index: number): string {\n\t\tconst columnInfo: TableColumnInfo | undefined = this._columnsInfo?.[index];\n\n\t\tif (!columnInfo) {\n\t\t\treturn \"\";\n\t\t}\n\n\t\treturn columnInfo.text ? this.getNormilzedTextContent(columnInfo.text) : \"\";\n\t}\n\n\tgetNormilzedTextContent(textContent: string): string {\n\t\treturn textContent.replace(/[\\n\\r\\t]/g, \"\").trim();\n\t}\n}\n\nTableRow.define();\n\nexport default TableRow;\n\nexport type {\n\tTableRowClickEventDetail,\n\tTableRowSelectionRequestedEventDetail,\n\tTableRowForwardBeforeEventDetail,\n\tTableRowForwardAfterEventDetail,\n\tTableRowF7PressEventDetail,\n};\n"]}
|
|
1
|
+
{"version":3,"file":"TableRow.js","sourceRoot":"","sources":["../src/TableRow.ts"],"names":[],"mappings":";;;;;;;AAAA,OAAO,UAAU,MAAM,4CAA4C,CAAC;AACpE,OAAO,aAAa,MAAM,0DAA0D,CAAC;AACrF,OAAO,QAAQ,MAAM,qDAAqD,CAAC;AAC3E,OAAO,KAAK,MAAM,yDAAyD,CAAC;AAC5E,OAAO,IAAI,MAAM,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base/dist/UI5Element.js\";\nimport customElement from \"@ui5/webcomponents-base/dist/decorators/customElement.js\";\nimport property from \"@ui5/webcomponents-base/dist/decorators/property.js\";\nimport event from \"@ui5/webcomponents-base/dist/decorators/event-strict.js\";\nimport slot from \"@ui5/webcomponents-base/dist/decorators/slot.js\";\nimport i18n from \"@ui5/webcomponents-base/dist/decorators/i18n.js\";\nimport type I18nBundle from \"@ui5/webcomponents-base/dist/i18nBundle.js\";\nimport jsxRenderer from \"@ui5/webcomponents-base/dist/renderer/JsxRenderer.js\";\nimport {\n\tisSpace,\n\tisEnter,\n\tisF7,\n\tisTabNext,\n\tisTabPrevious,\n} from \"@ui5/webcomponents-base/dist/Keys.js\";\nimport getActiveElement from \"@ui5/webcomponents-base/dist/util/getActiveElement.js\";\nimport { getLastTabbableElement } from \"@ui5/webcomponents-base/dist/util/TabbableElements.js\";\nimport type TableCell from \"./TableCell.js\";\nimport type { ITableRow, TableColumnInfo } from \"./Table.js\";\nimport TableMode from \"./types/TableMode.js\";\nimport TableRowType from \"./types/TableRowType.js\";\nimport TableColumnPopinDisplay from \"./types/TableColumnPopinDisplay.js\";\nimport TableRowTemplate from \"./TableRowTemplate.js\";\nimport {\n\tARIA_LABEL_ROW_SELECTION,\n\tLIST_ITEM_NOT_SELECTED,\n\tLIST_ITEM_SELECTED,\n} from \"./generated/i18n/i18n-defaults.js\";\n\n// Styles\nimport tableRowStyles from \"./generated/themes/TableRow.css.js\";\nimport { patchScopingSuffix } from \"./utils/CompatCustomElementsScope.js\";\n\ntype TableRowClickEventDetail = {\n\trow: TableRow,\n}\n\ntype TableRowSelectionRequestedEventDetail = {\n\trow: TableRow,\n}\n\ntype TableRowForwardBeforeEventDetail = {\n\ttarget: HTMLElement,\n}\n\ntype TableRowForwardAfterEventDetail = {\n\ttarget: HTMLElement,\n}\n\ntype TableRowF7PressEventDetail = {\n\trow: TableRow,\n}\n\n/**\n * @class\n *\n * ### Overview\n *\n * The `ui5-table-row` component represents a row in the `ui5-table`.\n * @constructor\n * @extends UI5Element\n * @implements {ITableRow}\n * @public\n * @csspart row - Used to style the native `tr` element\n * @csspart popin-row - Used to style the `tr` element when a row pops in\n * @deprecated Deprecated as of version 2.12.0, use `@ui5/webcomponents/dist/TableRow.js` instead.\n */\n@customElement({\n\ttag: \"ui5-table-row\",\n\tstyles: tableRowStyles,\n\trenderer: jsxRenderer,\n\ttemplate: TableRowTemplate,\n})\n/**\n * Fired when a row in `Active` mode is clicked or `Enter` key is pressed.\n * @since 2.0.0\n * @private\n */\n@event(\"row-click\", {\n\tbubbles: true,\n})\n/**\n * @private\n */\n@event(\"_focused\", {\n\tbubbles: true,\n})\n/**\n * @private\n */\n@event(\"forward-before\", {\n\tbubbles: true,\n})\n/**\n * @private\n */\n@event(\"forward-after\", {\n\tbubbles: true,\n})\n/**\n * Fired on selection change of an active row.\n * @since 2.0.0\n * @private\n */\n@event(\"selection-requested\", {\n\tbubbles: true,\n})\n/**\n * Fired when F7 is pressed.\n * @since 2.0.0\n * @private\n */\n@event(\"f7-pressed\", {\n\tbubbles: true,\n})\nclass TableRow extends UI5Element implements ITableRow {\n\teventDetails!: {\n\t\t\"row-click\": TableRowClickEventDetail,\n\t\t\"_focused\": FocusEvent,\n\t\t\"forward-before\": TableRowForwardBeforeEventDetail,\n\t\t\"forward-after\": TableRowForwardAfterEventDetail,\n\t\t\"selection-requested\": TableRowSelectionRequestedEventDetail,\n\t\t\"f7-pressed\": TableRowF7PressEventDetail,\n\t}\n\t/**\n\t * Defines the visual indication and behavior of the component.\n\t *\n\t * **Note:** When set to `Active`, the item will provide visual response upon press,\n\t * while with type `Inactive`-will not.\n\t * @default \"Inactive\"\n\t * @since 2.0.0\n\t * @public\n\t */\n\t@property()\n\ttype: `${TableRowType}` = \"Inactive\";\n\n\t/**\n\t * Defines the row's selected state.\n\t * @default false\n\t * @since 2.0.0\n\t * @public\n\t */\n\t@property({ type: Boolean })\n\tselected = false;\n\n\t/**\n\t * Indicates if the table row is navigated.\n\t * @default false\n\t * @since 2.0.0\n\t * @public\n\t */\n\t@property({ type: Boolean })\n\tnavigated = false;\n\n\t/**\n\t * Defines the mode of the row (None, SingleSelect, MultiSelect).\n\t * @default \"None\"\n\t * @since 2.0.0\n\t * @private\n\t */\n\t@property()\n\tmode: `${TableMode}` = \"None\";\n\n\t/**\n\t * Indicates if the table row is active.\n\t * @default false\n\t * @since 2.0.0\n\t * @private\n\t */\n\t@property({ type: Boolean })\n\tactive = false;\n\n\t@property({ type: Array })\n\t_columnsInfo?: Array<TableColumnInfo>;\n\n\t@property()\n\tforcedTabIndex?: string;\n\n\t@property({ type: Boolean })\n\tforcedBusy = false;\n\n\t@property({ noAttribute: true })\n\tforcedAriaPosition?: string;\n\n\t/**\n\t * Defines the cells of the component.\n\t *\n\t * **Note:** Use `ui5-table-cell` for the intended design.\n\t * @public\n\t */\n\t@slot({ type: HTMLElement, \"default\": true, individualSlots: true })\n\tcells!: Array<TableCell>;\n\n\t@i18n(\"@ui5/webcomponents\")\n\tstatic i18nBundle: I18nBundle;\n\n\tvisibleCells: Array<TableCell> = [];\n\tpopinCells: Array<TableColumnInfo> = [];\n\n\t// Properties, set and handled by the Table\n\ttabbableElements: Array<HTMLElement> = [];\n\t_columnsInfoString = \"\";\n\n\t_ontouchstart() {\n\t\tthis.activate();\n\t}\n\n\t_onmouseup() {\n\t\tthis.deactivate();\n\t}\n\n\t_onkeydown(e: KeyboardEvent) {\n\t\tconst activeElement = getActiveElement() as HTMLElement;\n\t\tconst itemActive = this.type === TableRowType.Active;\n\t\tconst isSingleSelect = this.isSingleSelect;\n\t\tconst itemSelectable = isSingleSelect || this.isMultiSelect;\n\t\tconst isRowFocused = this._activeElementHasAttribute(\"ui5-table-row\");\n\t\tconst target = e.target as HTMLElement;\n\t\tconst checkboxPressed = target.classList.contains(\"ui5-multi-select-checkbox\");\n\t\tconst rowElements = Array.from(this.shadowRoot!.querySelectorAll(\"tr\") || []);\n\t\tconst elements = rowElements.map(getLastTabbableElement).filter(Boolean);\n\t\tconst lastFocusableElement = elements.pop();\n\n\t\tif (isTabNext(e) && activeElement === (lastFocusableElement || this.root)) {\n\t\t\tthis.fireDecoratorEvent(\"forward-after\", { target: activeElement });\n\t\t}\n\n\t\tif (isTabPrevious(e) && activeElement === this.root) {\n\t\t\tthis.fireDecoratorEvent(\"forward-before\", { target: activeElement });\n\t\t}\n\n\t\tif (isSpace(e) && target.tagName.toLowerCase() === \"tr\") {\n\t\t\te.preventDefault();\n\t\t}\n\n\t\tif (isRowFocused && !checkboxPressed) {\n\t\t\tif ((isSpace(e) && itemSelectable) || (isEnter(e) && isSingleSelect)) {\n\t\t\t\tthis.fireDecoratorEvent(\"selection-requested\", { row: this });\n\t\t\t}\n\n\t\t\tif (isEnter(e) && itemActive) {\n\t\t\t\tthis.fireDecoratorEvent(\"row-click\", { row: this });\n\t\t\t\tif (!isSingleSelect) {\n\t\t\t\t\tthis.activate();\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tif (isF7(e)) {\n\t\t\te.preventDefault();\n\t\t\tthis.fireDecoratorEvent(\"f7-pressed\", { row: this });\n\t\t}\n\t}\n\n\t_onkeyup(e: KeyboardEvent) {\n\t\tif (isSpace(e) || isEnter(e)) {\n\t\t\tthis.deactivate();\n\t\t}\n\t}\n\n\t_ontouchend() {\n\t\tthis.deactivate();\n\t}\n\n\t_onfocusout() {\n\t\tthis.deactivate();\n\t}\n\n\t_onfocusin(e: FocusEvent, forceSelfFocus = false) {\n\t\tif (forceSelfFocus || this._activeElementHasAttribute(\"ui5-table-cell\")) {\n\t\t\tthis.root.focus();\n\t\t\tthis.activate();\n\t\t}\n\n\t\tthis.fireDecoratorEvent(\"_focused\");\n\t}\n\n\t_onrowclick(e: MouseEvent) {\n\t\tconst checkboxPressed = (e.target as HTMLElement).classList.contains(\"ui5-multi-select-checkbox\");\n\t\t// If the user tab over a button on IOS device, the document.activeElement\n\t\t// is the ui5-table-row. The check below ensure that, if a button within the row is pressed,\n\t\t// the row will not be selected.\n\n\t\tif (this.getFocusDomRef()!.matches(\":has(:focus-within)\")) {\n\t\t\treturn;\n\t\t}\n\n\t\tconst activeElement = (this.getRootNode() as Document).activeElement;\n\t\tif (!this.contains(activeElement)) {\n\t\t\t// If the user clickes on non-focusable element within the ui5-table-cell,\n\t\t\t// the focus goes to the body, se we have to bring it back to the row.\n\t\t\t// If the user clicks on input, button or similar clickable element,\n\t\t\t// the focus remains on that element.\n\t\t\tthis._onfocusin(e, true /* force row focus */);\n\t\t\tthis.deactivate();\n\t\t}\n\n\t\tif (this._activeElementHasAttribute(\"ui5-table-row\")) {\n\t\t\tif (this.isSingleSelect) {\n\t\t\t\tthis._handleSelection();\n\t\t\t}\n\n\t\t\tif (this.type === TableRowType.Active && !checkboxPressed) {\n\t\t\t\tthis.fireDecoratorEvent(\"row-click\", { row: this });\n\t\t\t}\n\t\t}\n\t}\n\n\t_handleSelection() {\n\t\tthis.fireDecoratorEvent(\"selection-requested\", { row: this });\n\t}\n\n\t_activeElementHasAttribute(attr: string): boolean {\n\t\treturn !!((this.getRootNode() as Document).activeElement?.hasAttribute(attr));\n\t}\n\n\tget _ariaCurrent() {\n\t\treturn this.navigated ? true : undefined;\n\t}\n\n\tactivate() {\n\t\tif (this.type === TableRowType.Active) {\n\t\t\tthis.active = true;\n\t\t}\n\t}\n\n\tdeactivate() {\n\t\tif (this.active) {\n\t\t\tthis.active = false;\n\t\t}\n\t}\n\n\tget shouldPopin(): boolean {\n\t\treturn !!(this._columnsInfo?.filter(el => {\n\t\t\treturn el.demandPopin || !el.visible;\n\t\t}).length);\n\t}\n\n\tget allColumnsPoppedIn() {\n\t\treturn this._columnsInfo?.every(el => el.demandPopin && !el.visible);\n\t}\n\n\tonBeforeRendering() {\n\t\tif (!this.shouldPopin) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis.visibleCells = [];\n\t\tthis.popinCells = [];\n\n\t\tif (this.cells.length === 0) {\n\t\t\treturn;\n\t\t}\n\n\t\tconst allColumnsPoppedInClass = this.allColumnsPoppedIn ? \"all-columns-popped-in\" : \"\";\n\t\tthis._columnsInfo?.forEach((info, index) => {\n\t\t\tconst cell = this.cells[index];\n\t\t\tconst popinDisplay = info.popinDisplay === TableColumnPopinDisplay.Inline;\n\n\t\t\tif (!cell) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tif (info.visible) {\n\t\t\t\tthis.visibleCells.push(cell);\n\t\t\t\tcell.popined = false;\n\t\t\t\tcell._popinedInline = false;\n\t\t\t} else if (info.demandPopin) {\n\t\t\t\tconst popinHeaderClass = this.popinCells.length === 0 ? \"popin-header\" : \"\";\n\t\t\t\tthis.popinCells.push({\n\t\t\t\t\tcell,\n\t\t\t\t\tpopinText: info.popinText,\n\t\t\t\t\tclasses: `ui5-table-popin-row ${allColumnsPoppedInClass} ${popinHeaderClass}`,\n\t\t\t\t\tpopinDisplayInline: popinDisplay,\n\t\t\t\t});\n\t\t\t\tcell.popined = true;\n\t\t\t\tif (info.popinDisplay === TableColumnPopinDisplay.Inline) {\n\t\t\t\t\tcell._popinedInline = true;\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tcell.popined = false;\n\t\t\t\tcell._popinedInline = false;\n\t\t\t}\n\t\t});\n\n\t\tconst lastVisibleCell = this.visibleCells[this.visibleCells.length - 1];\n\n\t\tif (lastVisibleCell) {\n\t\t\tlastVisibleCell.lastInRow = true;\n\t\t}\n\t}\n\n\tget visibleCellsCount() {\n\t\tlet visibleCellsCount = this.visibleCells.length;\n\n\t\tif (this.isMultiSelect) {\n\t\t\tvisibleCellsCount += 1;\n\t\t}\n\n\t\treturn visibleCellsCount;\n\t}\n\n\tget ariaLabelText() {\n\t\tconst isSelected = this.selected ? TableRow.i18nBundle.getText(LIST_ITEM_SELECTED) : TableRow.i18nBundle.getText(LIST_ITEM_NOT_SELECTED);\n\t\tconst isRowSelectable = this.isSingleSelect || this.isMultiSelect;\n\t\tconst ariaLabel = this.cells.map((cell, index) => {\n\t\t\tconst columText = this.getColumnTextByIdx(index);\n\t\t\tconst cellText = cell.cellContent.length ? this.getCellText(cell) : cell.ariaLabelEmptyCellText;\n\t\t\treturn `${columText} ${cellText}`;\n\t\t}).join(\" \");\n\n\t\tif (isRowSelectable) {\n\t\t\treturn `${ariaLabel}. ${this.forcedAriaPosition}. ${isSelected}`;\n\t\t}\n\n\t\treturn `${ariaLabel}. ${this.forcedAriaPosition}`;\n\t}\n\n\tget ariaLabelRowSelection() {\n\t\treturn TableRow.i18nBundle.getText(ARIA_LABEL_ROW_SELECTION);\n\t}\n\n\tget isSingleSelect() {\n\t\treturn this.mode === TableMode.SingleSelect;\n\t}\n\n\tget isMultiSelect() {\n\t\treturn this.mode === TableMode.MultiSelect;\n\t}\n\n\tget root() {\n\t\treturn this.shadowRoot!.querySelector<HTMLElement>(\".ui5-table-row-root\")!;\n\t}\n\n\tgetCellText(cell: TableCell): string {\n\t\tconst cellTextContent = cell.textContent;\n\n\t\treturn cellTextContent ? this.getNormilzedTextContent(cellTextContent) : \"\";\n\t}\n\n\tgetColumnTextByIdx(index: number): string {\n\t\tconst columnInfo: TableColumnInfo | undefined = this._columnsInfo?.[index];\n\n\t\tif (!columnInfo) {\n\t\t\treturn \"\";\n\t\t}\n\n\t\treturn columnInfo.text ? this.getNormilzedTextContent(columnInfo.text) : \"\";\n\t}\n\n\tgetNormilzedTextContent(textContent: string): string {\n\t\treturn textContent.replace(/[\\n\\r\\t]/g, \"\").trim();\n\t}\n}\n\npatchScopingSuffix(TableRow);\n\nTableRow.define();\n\nexport default TableRow;\n\nexport type {\n\tTableRowClickEventDetail,\n\tTableRowSelectionRequestedEventDetail,\n\tTableRowForwardBeforeEventDetail,\n\tTableRowForwardAfterEventDetail,\n\tTableRowF7PressEventDetail,\n};\n"]}
|
package/dist/TableTemplate.js
CHANGED
|
@@ -4,7 +4,7 @@ import BusyIndicator from "@ui5/webcomponents/dist/BusyIndicator.js";
|
|
|
4
4
|
export default function TableTemplate() {
|
|
5
5
|
return (_jsx("div", { class: "ui5-table-root", "onui5-selection-requested": this._handleSelect, "onui5-forward-after": this._onForwardAfter, "onui5-forward-before": this._onForwardBefore, onFocusIn: this._onfocusin, children: _jsxs(BusyIndicator, { id: `${this._id}-busyIndicator`, delay: this.busyDelay, active: this.busy, class: "ui5-table-busy-indicator", children: [_jsx("div", { id: `${this._id}-before`, tabindex: 0, class: "ui5-table-focusarea" }), _jsxs("table", { role: "table", cellSpacing: "0", cellPadding: "0", "aria-label": this.tableAriaLabelText, onKeyDown: this._onkeydown, children: [_jsx("thead", { children: _jsxs("tr", { id: this._columnHeader.id, class: "ui5-table-header-row", "aria-label": this.ariaLabelText, tabindex: this._columnHeader.forcedTabIndex ? parseInt(this._columnHeader.forcedTabIndex) : undefined, onClick: this._onColumnHeaderClick, onFocusIn: this._onColumnHeaderFocused, onKeyDown: this._onColumnHeaderKeydown, children: [this.isMultiSelect &&
|
|
6
6
|
_jsx("th", { class: "ui5-table-select-all-column", role: "presentation", "aria-hidden": "true", children: this.rows.length > 0 &&
|
|
7
|
-
_jsx(CheckBox, { class: "ui5-table-select-all-checkbox", tabindex: -1, checked: this._allRowsSelected, accessibleName: this.ariaLabelSelectAllText, onChange: this._selectAll }) }), this.visibleColumns.map(col => _jsx("slot", { name: col._individualSlot })), _jsx("th", { class: "ui5-table-header-row-navigated", "aria-hidden": "true" })] }) }), _jsxs("tbody", { children: [this.rows.map(row => _jsx("slot", { name: row._individualSlot })), !this.rows.length && !this.hideNoData &&
|
|
7
|
+
_jsx(CheckBox, { class: "ui5-table-select-all-checkbox", tabindex: -1, checked: this._allRowsSelected, accessibleName: this.ariaLabelSelectAllText, onChange: this._selectAll }) }), this.visibleColumns.map(col => _jsx("slot", { name: col._individualSlot })), _jsx("th", { class: "ui5-table-header-row-navigated", "aria-hidden": "true" })] }) }), _jsxs("tbody", { children: [this.rows.map(row => _jsx("slot", { name: row._individualSlot, onKeyDown: this.onRowKeyDown })), !this.rows.length && !this.hideNoData &&
|
|
8
8
|
_jsx("tr", { class: "ui5-table-no-data-row-root", children: _jsx("td", { colspan: this.visibleColumnsCount, role: "cell", style: "width: 100%", children: _jsx("div", { class: "ui5-table-no-data-row", children: _jsx("span", { children: this.noDataText }) }) }) }), this.growsWithButton && moreRow.call(this), this.growsOnScroll && endRow.call(this)] })] }), _jsx("div", { id: `${this._id}-after`, tabindex: 0, class: "ui5-table-focusarea" })] }) }));
|
|
9
9
|
}
|
|
10
10
|
function moreRow() {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TableTemplate.js","sourceRoot":"","sources":["../src/TableTemplate.tsx"],"names":[],"mappings":";AACA,OAAO,QAAQ,MAAM,qCAAqC,CAAC;AAC3D,OAAO,aAAa,MAAM,0CAA0C,CAAC;AAErE,MAAM,CAAC,OAAO,UAAU,aAAa;IACpC,OAAO,CACN,cACC,KAAK,EAAC,gBAAgB,+BACK,IAAI,CAAC,aAAa,yBACxB,IAAI,CAAC,eAAe,0BACnB,IAAI,CAAC,gBAAgB,EAC3C,SAAS,EAAE,IAAI,CAAC,UAAU,YAE1B,MAAC,aAAa,IACb,EAAE,EAAE,GAAG,IAAI,CAAC,GAAG,gBAAgB,EAC/B,KAAK,EAAE,IAAI,CAAC,SAAS,EACrB,MAAM,EAAE,IAAI,CAAC,IAAI,EACjB,KAAK,EAAC,0BAA0B,aAEhC,cAAK,EAAE,EAAE,GAAG,IAAI,CAAC,GAAG,SAAS,EAAE,QAAQ,EAAE,CAAC,EAAE,KAAK,EAAC,qBAAqB,GAAO,EAE9E,iBACC,IAAI,EAAC,OAAO,EACZ,WAAW,EAAC,GAAG,EACf,WAAW,EAAC,GAAG,gBACH,IAAI,CAAC,kBAAkB,EACnC,SAAS,EAAE,IAAI,CAAC,UAAU,aAE1B,0BACE,cACA,EAAE,EAAE,IAAI,CAAC,aAAa,CAAC,EAAE,EACzB,KAAK,EAAC,sBAAsB,gBAChB,IAAI,CAAC,aAAa,EAC9B,QAAQ,EAAE,IAAI,CAAC,aAAa,CAAC,cAAc,CAAC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kB,aAElC,eAAM,EAAE,EAAE,GAAG,IAAI,CAAC,GAAG,qBAAqB,EAAE,KAAK,EAAC,4BAA4B,YAAE,IAAI,CAAC,kBAAkB,GAAQ,EAE9G,IAAI,CAAC,oBAAoB;4BACzB,eAAM,EAAE,EAAE,GAAG,IAAI,CAAC,GAAG,wBAAwB,EAAE,KAAK,EAAC,+BAA+B,YAAE,IAAI,CAAC,oBAAoB,GAAQ,IAEnH,GACD,GACF,GACD,CACL,CAAC;AACH,CAAC;AAED,SAAS,MAAM;IACd,OAAO,CACN,aAAI,QAAQ,EAAE,CAAC,CAAC,iBAAc,MAAM,EAAC,KAAK,EAAC,mBAAmB,YAC7D,aAAI,QAAQ,EAAE,CAAC,CAAC,YACf,eAAM,QAAQ,EAAE,CAAC,CAAC,iBAAc,MAAM,EAAC,KAAK,EAAC,sBAAsB,GAAQ,GACvE,GACD,CACL,CAAC;AACH,CAAC","sourcesContent":["import type Table from \"./Table.js\";\nimport CheckBox from \"@ui5/webcomponents/dist/CheckBox.js\";\nimport BusyIndicator from \"@ui5/webcomponents/dist/BusyIndicator.js\";\n\nexport default function TableTemplate(this: Table) {\n\treturn (\n\t\t<div\n\t\t\tclass=\"ui5-table-root\"\n\t\t\tonui5-selection-requested={this._handleSelect}\n\t\t\tonui5-forward-after={this._onForwardAfter}\n\t\t\tonui5-forward-before={this._onForwardBefore}\n\t\t\tonFocusIn={this._onfocusin}\n\t\t>\n\t\t\t<BusyIndicator\n\t\t\t\tid={`${this._id}-busyIndicator`}\n\t\t\t\tdelay={this.busyDelay}\n\t\t\t\tactive={this.busy}\n\t\t\t\tclass=\"ui5-table-busy-indicator\"\n\t\t\t>\n\t\t\t\t<div id={`${this._id}-before`} tabindex={0} class=\"ui5-table-focusarea\"></div>\n\n\t\t\t\t<table\n\t\t\t\t\trole=\"table\"\n\t\t\t\t\tcellSpacing=\"0\"\n\t\t\t\t\tcellPadding=\"0\"\n\t\t\t\t\taria-label={this.tableAriaLabelText}\n\t\t\t\t\tonKeyDown={this._onkeydown}\n\t\t\t\t>\n\t\t\t\t\t<thead>\n\t\t\t\t\t\t <tr\n\t\t\t\t\t\t\tid={this._columnHeader.id}\n\t\t\t\t\t\t\tclass=\"ui5-table-header-row\"\n\t\t\t\t\t\t\taria-label={this.ariaLabelText}\n\t\t\t\t\t\t\ttabindex={this._columnHeader.forcedTabIndex ? parseInt(this._columnHeader.forcedTabIndex) : undefined}\n\t\t\t\t\t\t\tonClick={this._onColumnHeaderClick}\n\t\t\t\t\t\t\tonFocusIn={this._onColumnHeaderFocused}\n\t\t\t\t\t\t\tonKeyDown={this._onColumnHeaderKeydown}\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t{this.isMultiSelect &&\n\t\t\t\t\t\t\t\t<th class=\"ui5-table-select-all-column\" role=\"presentation\" aria-hidden=\"true\">\n\t\t\t\t\t\t\t\t\t{this.rows.length > 0 &&\n\t\t\t\t\t\t\t\t\t\t<CheckBox\n\t\t\t\t\t\t\t\t\t\t\tclass=\"ui5-table-select-all-checkbox\"\n\t\t\t\t\t\t\t\t\t\t\ttabindex={-1}\n\t\t\t\t\t\t\t\t\t\t\tchecked={this._allRowsSelected}\n\t\t\t\t\t\t\t\t\t\t\taccessibleName={this.ariaLabelSelectAllText}\n\t\t\t\t\t\t\t\t\t\t\tonChange={this._selectAll}\n\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t</CheckBox>\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t</th>\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t{this.visibleColumns.map(col =>\n\t\t\t\t\t\t\t\t<slot name={col._individualSlot}></slot>\n\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t<th class=\"ui5-table-header-row-navigated\" aria-hidden=\"true\"></th>\n\t\t\t\t\t\t</tr>\n\t\t\t\t\t</thead>\n\n\t\t\t\t\t<tbody>\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tthis.rows.map(row =>\n\t\t\t\t\t\t\t\t<slot name={row._individualSlot} onKeyDown={this.onRowKeyDown}></slot>\n\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t{!this.rows.length && !this.hideNoData &&\n\t\t\t\t\t\t\t<tr class=\"ui5-table-no-data-row-root\">\n\t\t\t\t\t\t\t\t<td colspan={this.visibleColumnsCount} role=\"cell\" style=\"width: 100%\">\n\n\t\t\t\t\t\t\t\t\t<div class=\"ui5-table-no-data-row\">\n\t\t\t\t\t\t\t\t\t\t<span>{this.noDataText}</span>\n\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t</td>\n\t\t\t\t\t\t\t</tr>\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t{ this.growsWithButton && moreRow.call(this) }\n\n\t\t\t\t\t\t{ this.growsOnScroll && endRow.call(this) }\n\t\t\t\t\t</tbody>\n\t\t\t\t</table>\n\n\t\t\t\t<div id={`${this._id}-after`} tabindex={0} class=\"ui5-table-focusarea\"></div>\n\t\t\t</BusyIndicator>\n\t\t</div>\n\t);\n}\n\nfunction moreRow(this: Table) {\n\treturn (\n\t\t<tr>\n\t\t\t<td colspan={this.visibleColumnsCount}>\n\t\t\t\t<div class=\"ui5-table-growing-row\">\n\t\t\t\t\t<div\n\t\t\t\t\t\tid={`${this._id}-growingButton`}\n\t\t\t\t\t\tclass={{\n\t\t\t\t\t\t\t\"ui5-table-growing-row-inner\": true,\n\t\t\t\t\t\t\t\"ui5-table-growing-row-inner--active\": this._loadMoreActive\n\t\t\t\t\t\t}}\n\t\t\t\t\t\trole=\"button\"\n\t\t\t\t\t\ttabindex={0}\n\t\t\t\t\t\taria-labelledby={this.loadMoreAriaLabelledBy}\n\t\t\t\t\t\tonClick={this._onLoadMoreClick}\n\t\t\t\t\t\tonKeyUp={this._onLoadMoreKeyup}\n\t\t\t\t\t\tonKeyDown={this._onLoadMoreKeydown}\n\t\t\t\t\t>\n\t\t\t\t\t\t<span id={`${this._id}-growingButton-text`} class=\"ui5-table-growing-row-text\">{this._growingButtonText}</span>\n\n\t\t\t\t\t\t{this.growingButtonSubtext &&\n\t\t\t\t\t\t\t<span id={`${this._id}-growingButton-subtext`} class=\"ui5-table-growing-row-subtext\">{this.growingButtonSubtext}</span>\n\t\t\t\t\t\t}\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</td>\n\t\t</tr>\n\t);\n}\n\nfunction endRow(this: Table) {\n\treturn (\n\t\t<tr tabindex={-1} aria-hidden=\"true\" class=\"ui5-table-end-row\">\n\t\t\t<td tabindex={-1}>\n\t\t\t\t<span tabindex={-1} aria-hidden=\"true\" class=\"ui5-table-end-marker\"></span>\n\t\t\t</td>\n\t\t</tr>\n\t);\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.ui5-table-growing-row{display:flex;align-items:center;padding:var(--_ui5-v2-
|
|
1
|
+
.ui5-table-growing-row{display:flex;align-items:center;padding:var(--_ui5-v2-13-1_load_more_padding);border-top:1px solid var(--sapList_BorderColor);border-bottom:var(--_ui5-v2-13-1_load_more_border-bottom);box-sizing:border-box;cursor:pointer;outline:none}.ui5-table-growing-row-inner{display:flex;align-items:center;justify-content:center;flex-direction:column;min-height:var(--_ui5-v2-13-1_load_more_text_height);width:100%;color:var(--sapButton_TextColor);background-color:var(--sapList_Background);border:var(--_ui5-v2-13-1_load_more_border);border-radius:var(--_ui5-v2-13-1_load_more_border_radius);box-sizing:border-box}.ui5-table-growing-row-inner:focus-visible{outline:var(--_ui5-v2-13-1_load_more_outline_width) var(--sapContent_FocusStyle) var(--sapContent_FocusColor);outline-offset:-.125rem;border-color:transparent}.ui5-table-growing-row-inner:hover{background-color:var(--sapList_Hover_Background)}.ui5-table-growing-row-inner:active,.ui5-table-growing-row-inner.ui5-table-growing-row-inner--active{background-color:var(--sapList_Active_Background);border-color:var(--sapList_Active_Background)}.ui5-table-growing-row-inner:active>*,.ui5-table-growing-row-inner.ui5-table-growing-row-inner--active>*{color:var(--sapList_Active_TextColor)}.ui5-table-growing-row-text,.ui5-table-growing-row-subtext{width:100%;text-align:center;font-family:"72override",var(--sapFontFamily);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;box-sizing:border-box}.ui5-table-growing-row-text{height:var(--_ui5-v2-13-1_load_more_text_height);padding:.875rem 1rem 0;font-size:var(--_ui5-v2-13-1_load_more_text_font_size);font-weight:700}.ui5-table-growing-row-subtext{font-size:var(--sapFontSize);padding:var(--_ui5-v2-13-1_load_more_desc_padding)}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.ui5-table-growing-row{display:flex;align-items:center;padding:var(--_ui5-v2-
|
|
1
|
+
.ui5-table-growing-row{display:flex;align-items:center;padding:var(--_ui5-v2-13-1_load_more_padding);border-top:1px solid var(--sapList_BorderColor);border-bottom:var(--_ui5-v2-13-1_load_more_border-bottom);box-sizing:border-box;cursor:pointer;outline:none}.ui5-table-growing-row-inner{display:flex;align-items:center;justify-content:center;flex-direction:column;min-height:var(--_ui5-v2-13-1_load_more_text_height);width:100%;color:var(--sapButton_TextColor);background-color:var(--sapList_Background);border:var(--_ui5-v2-13-1_load_more_border);border-radius:var(--_ui5-v2-13-1_load_more_border_radius);box-sizing:border-box}.ui5-table-growing-row-inner:focus-visible{outline:var(--_ui5-v2-13-1_load_more_outline_width) var(--sapContent_FocusStyle) var(--sapContent_FocusColor);outline-offset:-.125rem;border-color:transparent}.ui5-table-growing-row-inner:hover{background-color:var(--sapList_Hover_Background)}.ui5-table-growing-row-inner:active,.ui5-table-growing-row-inner.ui5-table-growing-row-inner--active{background-color:var(--sapList_Active_Background);border-color:var(--sapList_Active_Background)}.ui5-table-growing-row-inner:active>*,.ui5-table-growing-row-inner.ui5-table-growing-row-inner--active>*{color:var(--sapList_Active_TextColor)}.ui5-table-growing-row-text,.ui5-table-growing-row-subtext{width:100%;text-align:center;font-family:"72override",var(--sapFontFamily);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;box-sizing:border-box}.ui5-table-growing-row-text{height:var(--_ui5-v2-13-1_load_more_text_height);padding:.875rem 1rem 0;font-size:var(--_ui5-v2-13-1_load_more_text_font_size);font-weight:700}.ui5-table-growing-row-subtext{font-size:var(--sapFontSize);padding:var(--_ui5-v2-13-1_load_more_desc_padding)}:host(:not([hidden])){display:inline-block;width:100%}.ui5-table-root{position:relative;border-bottom:var(--ui5-v2-13-1_table_bottom_border)}.ui5-table-root{width:100%;height:100%;display:flex;box-sizing:border-box}.ui5-table-busy-indicator{flex-grow:1}table{width:100%;border-spacing:0;border-collapse:collapse}.ui5-table-header-row-navigated{width:.1875rem;background:var(--sapList_HeaderBackground);vertical-align:middle}.ui5-table-header-row{color:var(--sapList_HeaderTextColor);height:var(--ui5-v2-13-1_table_header_row_height);font-family:"72override",var(--sapFontFamily);font-size:var(--sapFontSize);font-weight:var(--ui5-v2-13-1_table_header_row_font_weight);border-bottom:var(--ui5-v2-13-1_table_header_row_border_width) solid var(--ui5-v2-13-1_table_header_row_border_bottom_color)}.ui5-table-header-row:focus{outline:var(--ui5-v2-13-1_table_header_row_outline_width) var(--sapContent_FocusStyle) var(--sapContent_FocusColor);outline-offset:calc(-1 * var(--ui5-v2-13-1_table_focus_outline_offset))}tr{height:3rem}.ui5-table-no-data-row{display:flex;align-items:center;width:100%;height:auto;justify-content:center;text-align:center;padding:.5rem 1rem;font-family:"72override",var(--sapFontFamily);font-size:.875rem;box-sizing:border-box;color:var(--sapTextColor);min-height:3rem;background-color:var(--sapList_Background)}.ui5-table-end-row{height:0px}:host([busy]) .ui5-table-growing-row{opacity:.72}:host .ui5-table-growing-row{border-bottom:var(--_ui5-v2-13-1_table_load_more_border-bottom)}.ui5-table-select-all-column{width:var(--ui5-v2-13-1_table_multiselect_column_width);text-align:center}:host([sticky-column-header]) .ui5-table-header-row{position:sticky;top:0;z-index:98}th{background:var(--sapList_HeaderBackground)}.ui5-table-focusarea{position:fixed}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
:host{display:table-cell;font-family:"72override",var(--sapFontFamily);font-size:.875rem;height:var(--ui5-v2-
|
|
1
|
+
:host{display:table-cell;font-family:"72override",var(--sapFontFamily);font-size:.875rem;height:var(--ui5-v2-13-1_table_row_height);box-sizing:border-box;color:var(--sapList_TextColor);word-break:break-word;vertical-align:middle}td{display:contents}:host([popined]){padding-left:0;padding-top:.25rem}:host([_popined-inline]){padding-top:0}::slotted([ui5-label]){color:inherit}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
:host{display:contents}th{background:var(--sapList_HeaderBackground);width:inherit;font-weight:var(--ui5-v2-
|
|
1
|
+
:host{display:contents}th{background:var(--sapList_HeaderBackground);width:inherit;font-weight:var(--ui5-v2-13-1_table_header_row_font_weight);font-size:var(--sapFontMediumSize);font-family:var(--ui5-v2-13-1_table_header_row_font_family);padding:.5rem;box-sizing:border-box;text-align:start;vertical-align:middle}:host([first]) th{padding-inline-start:1rem}th ::slotted([ui5-label]){font-weight:var(--ui5-v2-13-1_table_header_row_font_weight);font-size:var(--sapFontMediumSize);font-family:var(--ui5-v2-13-1_table_header_row_font_family)}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
:host{display:contents}:host([_busy]) .ui5-table-group-row-root{opacity:.72;pointer-events:none}.ui5-table-group-row-root{height:var(--ui5-v2-
|
|
1
|
+
:host{display:contents}:host([_busy]) .ui5-table-group-row-root{opacity:.72;pointer-events:none}.ui5-table-group-row-root{height:var(--ui5-v2-13-1_table_group_row_height);border-style:solid;border-color:var(--sapList_TableGroupHeaderBorderColor);border-width:var(--ui5-v2-13-1_table_border_width);background-color:var(--sapList_TableGroupHeaderBackground);color:var(--sapList_TableGroupHeaderTextColor);font-family:"72override",var(--sapFontFamily);font-size:var(--sapFontSize);font-weight:var(--ui5-v2-13-1_table_group_row_font-weight)}.ui5-table-group-row-root:focus{outline:var(--ui5-v2-13-1_table_row_outline_width) var(--sapContent_FocusStyle) var(--sapContent_FocusColor);outline-offset:calc(-1 * var(--ui5-v2-13-1_table_focus_outline_offset))}td{word-break:break-word;vertical-align:middle;padding:.5rem .25rem .5rem 1rem;text-align:start}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
:host{--table-row-border-styles: var(--ui5-v2-
|
|
1
|
+
:host{--table-row-border-styles: var(--ui5-v2-13-1_table_row_outline_width) var(--sapContent_FocusStyle) var(--sapContent_FocusColor);display:contents}:host([_busy]) .ui5-table-row-root{opacity:.72;pointer-events:none}.ui5-table-row-root{background-color:var(--sapList_Background);color:var(--sapList_TextColor);border-top:1px solid var(--sapList_BorderColor);position:relative}.ui5-table-row-root,.ui5-table-popin-row{position:relative}.ui5-table-row-root:focus{outline:none}.ui5-table-row-root:focus:after,.ui5-table-row-root:focus~.ui5-table-popin-row:after{pointer-events:none;position:absolute;content:"";inset:var(--ui5-v2-13-1_table_focus_outline_offset);border:var(--table-row-border-styles)}.ui5-table-row-root:has(+.ui5-table-popin-row):focus:after{bottom:0;border-bottom:none}.ui5-table-row-root:focus~.ui5-table-popin-row:after{top:0;bottom:0;border-top:none;border-bottom:none}.ui5-table-row-root:focus~.ui5-table-popin-row:last-child:after{top:0;border-bottom:var(--table-row-border-styles)}.ui5-table-popin-row{background-color:var(--sapList_Background)}.ui5-table-popin-row.all-columns-popped-in.popin-header{border-top:1px solid var(--sapList_BorderColor)}.ui5-table-popin-row td:not(.ui5-table-row-navigated){padding-top:.5rem;padding-inline-start:1rem}:host([mode="MultiSelect"]) .ui5-table-popin-row td:not(.ui5-table-row-navigated){padding-inline-start:var(--ui5-v2-13-1_table_multiselect_popin_row_padding)}.ui5-table-popin-row:last-child td{padding-bottom:.5rem}.ui5-table-row-popin-title{color:var(--sapContent_LabelColor);font-family:"72override",var(--sapFontFamily);font-size:var(--sapFontSize)}.ui5-table-cell-display-inline{margin-inline-start:.5rem}.ui5-table-display-inline-container{display:flex;align-items:center}.ui5-table-multi-select-cell{padding:.25rem 0;box-sizing:border-box;text-align:center;vertical-align:middle}:host([mode="SingleSelect"]) .ui5-table-row-root{cursor:pointer}:host([mode="MultiSelect"]) .ui5-table-row-root .ui5-table-multi-select-cell{cursor:pointer}:host ::slotted([ui5-table-cell]:not([popined])){padding:.25rem .5rem}:host(:not([mode="MultiSelect"])) ::slotted([ui5-table-cell]:not([popined]):first-child){padding-inline-start:1rem}:host([type="Active"]) .ui5-table-row-root:hover,:host([mode="SingleSelect"]) .ui5-table-row-root:hover:not(:active){background-color:var(--sapList_Hover_Background)}:host([type="Active"]) .ui5-table-row-root:active,:host([selected][type="Active"]) .ui5-table-row-root:active{background-color:var(--sapList_Active_Background)}:host([type="Active"]) .ui5-table-row-root:active ::slotted([ui5-table-cell]){color:var(--sapList_Active_TextColor)}:host([selected]) .ui5-table-row-root:not(:active),:host([selected]) .ui5-table-row-root:not(:active)~tr{background-color:var(--sapList_SelectionBackgroundColor)}:host([selected]) tr:last-child{border-bottom:1px solid var(--sapList_SelectionBorderColor)}:host([selected][type="Active"]) .ui5-table-row-root:hover:not(:active),:host([selected][mode="SingleSelect"]) .ui5-table-row-root:hover:not(:active){background-color:var(--sapList_Hover_SelectionBackground)}:host([navigated]) .ui5-table-row-root:focus .ui5-table-div-navigated{width:.09375rem;top:2px;inset-inline-end:2px;bottom:1px}:host([navigated]) .ui5-table-row-navigated{vertical-align:middle;padding:0;position:relative}:host([navigated]) .ui5-table-div-navigated{width:.1875rem;position:absolute;inset:0;background-color:var(--sapList_SelectionBorderColor)}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
:root{--ui5-v2-
|
|
1
|
+
:root{--ui5-v2-13-1_table_focus_outline_offset: .125rem;--ui5-v2-13-1_table_bottom_border: 1px solid var(--sapList_BorderColor);--ui5-v2-13-1_table_header_row_outline_width: 1px;--ui5-v2-13-1_table_multiselect_column_width: 2.75rem;--ui5-v2-13-1_table_header_row_font_family: var(--sapFontFamily);--ui5-v2-13-1_table_header_row_border_bottom_color: var(--sapList_BorderColor);--ui5-v2-13-1_table_header_row_border_width: 1px;--_ui5-v2-13-1_table_load_more_border-bottom: none;--ui5-v2-13-1_table_header_row_font_weight: normal;--ui5-v2-13-1_table_row_outline_width: 1px;--ui5-v2-13-1_table_multiselect_popin_row_padding: 3.25rem;--ui5-v2-13-1_table_group_row_font-weight: normal;--ui5-v2-13-1_table_border_width: 0 0 1px 0;--_ui5-v2-13-1_load_more_padding: 0;--_ui5-v2-13-1_load_more_border: 1px top solid transparent;--_ui5-v2-13-1_load_more_border_radius: none;--_ui5-v2-13-1_load_more_outline_width: 1px;--_ui5-v2-13-1_load_more_text_height: 2.75rem;--_ui5-v2-13-1_load_more_text_font_size: var(--sapFontMediumSize);--_ui5-v2-13-1_load_more_desc_padding: .375rem 2rem .875rem 2rem;--ui5-v2-13-1_table_header_row_height: 2.75rem;--ui5-v2-13-1_table_row_height: 2.75rem;--ui5-v2-13-1_table_group_row_height: 2rem}[data-ui5-compact-size],.ui5-content-density-compact,.sapUiSizeCompact{--_ui5-v2-13-1_load_more_text_height: 2.625rem;--_ui5-v2-13-1_load_more_text_font_size: var(--sapFontSize);--_ui5-v2-13-1_load_more_desc_padding: 0 2rem .875rem 2rem;--ui5-v2-13-1_table_header_row_height: 2rem;--ui5-v2-13-1_table_row_height: 2rem}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
:root{--ui5-v2-
|
|
1
|
+
:root{--ui5-v2-13-1_table_focus_outline_offset: .125rem;--ui5-v2-13-1_table_bottom_border: 1px solid var(--sapList_BorderColor);--ui5-v2-13-1_table_header_row_outline_width: 1px;--ui5-v2-13-1_table_multiselect_column_width: 2.75rem;--ui5-v2-13-1_table_header_row_font_family: var(--sapFontFamily);--ui5-v2-13-1_table_header_row_border_bottom_color: var(--sapList_BorderColor);--ui5-v2-13-1_table_header_row_border_width: 1px;--_ui5-v2-13-1_table_load_more_border-bottom: none;--ui5-v2-13-1_table_header_row_font_weight: normal;--ui5-v2-13-1_table_row_outline_width: 1px;--ui5-v2-13-1_table_multiselect_popin_row_padding: 3.25rem;--ui5-v2-13-1_table_group_row_font-weight: normal;--ui5-v2-13-1_table_border_width: 0 0 1px 0;--_ui5-v2-13-1_load_more_padding: 0;--_ui5-v2-13-1_load_more_border: 1px top solid transparent;--_ui5-v2-13-1_load_more_border_radius: none;--_ui5-v2-13-1_load_more_outline_width: 1px;--_ui5-v2-13-1_load_more_text_height: 2.75rem;--_ui5-v2-13-1_load_more_text_font_size: var(--sapFontMediumSize);--_ui5-v2-13-1_load_more_desc_padding: .375rem 2rem .875rem 2rem;--ui5-v2-13-1_table_header_row_height: 2.75rem;--ui5-v2-13-1_table_row_height: 2.75rem;--ui5-v2-13-1_table_group_row_height: 2rem}[data-ui5-compact-size],.ui5-content-density-compact,.sapUiSizeCompact{--_ui5-v2-13-1_load_more_text_height: 2.625rem;--_ui5-v2-13-1_load_more_text_font_size: var(--sapFontSize);--_ui5-v2-13-1_load_more_desc_padding: 0 2rem .875rem 2rem;--ui5-v2-13-1_table_header_row_height: 2rem;--ui5-v2-13-1_table_row_height: 2rem}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
:root{--ui5-v2-
|
|
1
|
+
:root{--ui5-v2-13-1_table_focus_outline_offset: .125rem;--ui5-v2-13-1_table_bottom_border: 1px solid var(--sapList_BorderColor);--ui5-v2-13-1_table_multiselect_column_width: 2.75rem;--ui5-v2-13-1_table_header_row_font_family: var(--sapFontFamily);--ui5-v2-13-1_table_header_row_border_bottom_color: var(--sapList_BorderColor);--ui5-v2-13-1_table_header_row_border_width: 1px;--_ui5-v2-13-1_table_load_more_border-bottom: none;--ui5-v2-13-1_table_header_row_outline_width: .125rem;--ui5-v2-13-1_table_header_row_font_weight: normal;--ui5-v2-13-1_table_multiselect_popin_row_padding: 3.25rem;--ui5-v2-13-1_table_row_outline_width: .125rem;--ui5-v2-13-1_table_group_row_font-weight: normal;--ui5-v2-13-1_table_border_width: 0 0 1px 0;--_ui5-v2-13-1_load_more_padding: .25rem;--_ui5-v2-13-1_load_more_border: 1px solid var(--sapButton_BorderColor);--_ui5-v2-13-1_load_more_border_radius: .375rem;--_ui5-v2-13-1_load_more_outline_width: .125rem;--_ui5-v2-13-1_load_more_text_height: 2.75rem;--_ui5-v2-13-1_load_more_text_font_size: var(--sapFontMediumSize);--_ui5-v2-13-1_load_more_desc_padding: .375rem 2rem .875rem 2rem;--ui5-v2-13-1_table_header_row_height: 2.75rem;--ui5-v2-13-1_table_row_height: 2.75rem;--ui5-v2-13-1_table_group_row_height: 2rem}[data-ui5-compact-size],.ui5-content-density-compact,.sapUiSizeCompact{--_ui5-v2-13-1_load_more_text_height: 2.625rem;--_ui5-v2-13-1_load_more_text_font_size: var(--sapFontSize);--_ui5-v2-13-1_load_more_desc_padding: 0 2rem .875rem 2rem;--ui5-v2-13-1_table_header_row_height: 2rem;--ui5-v2-13-1_table_row_height: 2rem}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
:root{--ui5-v2-
|
|
1
|
+
:root{--ui5-v2-13-1_table_focus_outline_offset: .125rem;--ui5-v2-13-1_table_bottom_border: 1px solid var(--sapList_BorderColor);--ui5-v2-13-1_table_multiselect_column_width: 2.75rem;--ui5-v2-13-1_table_header_row_font_family: var(--sapFontFamily);--ui5-v2-13-1_table_header_row_border_bottom_color: var(--sapList_BorderColor);--ui5-v2-13-1_table_header_row_border_width: 1px;--_ui5-v2-13-1_table_load_more_border-bottom: none;--ui5-v2-13-1_table_header_row_outline_width: .125rem;--ui5-v2-13-1_table_header_row_font_weight: normal;--ui5-v2-13-1_table_multiselect_popin_row_padding: 3.25rem;--ui5-v2-13-1_table_row_outline_width: .125rem;--ui5-v2-13-1_table_group_row_font-weight: normal;--ui5-v2-13-1_table_border_width: 0 0 1px 0;--_ui5-v2-13-1_load_more_padding: .25rem;--_ui5-v2-13-1_load_more_border: 1px solid var(--sapButton_BorderColor);--_ui5-v2-13-1_load_more_border_radius: .375rem;--_ui5-v2-13-1_load_more_outline_width: .125rem;--_ui5-v2-13-1_load_more_text_height: 2.75rem;--_ui5-v2-13-1_load_more_text_font_size: var(--sapFontMediumSize);--_ui5-v2-13-1_load_more_desc_padding: .375rem 2rem .875rem 2rem;--ui5-v2-13-1_table_header_row_height: 2.75rem;--ui5-v2-13-1_table_row_height: 2.75rem;--ui5-v2-13-1_table_group_row_height: 2rem}[data-ui5-compact-size],.ui5-content-density-compact,.sapUiSizeCompact{--_ui5-v2-13-1_load_more_text_height: 2.625rem;--_ui5-v2-13-1_load_more_text_font_size: var(--sapFontSize);--_ui5-v2-13-1_load_more_desc_padding: 0 2rem .875rem 2rem;--ui5-v2-13-1_table_header_row_height: 2rem;--ui5-v2-13-1_table_row_height: 2rem}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
:root{--ui5-v2-
|
|
1
|
+
:root{--ui5-v2-13-1_table_focus_outline_offset: .125rem;--ui5-v2-13-1_table_bottom_border: 1px solid var(--sapList_BorderColor);--ui5-v2-13-1_table_multiselect_column_width: 2.75rem;--ui5-v2-13-1_table_header_row_font_weight: normal;--ui5-v2-13-1_table_header_row_border_width: 1px;--_ui5-v2-13-1_table_load_more_border-bottom: none;--ui5-v2-13-1_table_header_row_outline_width: var(--sapContent_FocusWidth);--ui5-v2-13-1_table_header_row_font_family: var(--sapFontSemiboldDuplexFamily);--ui5-v2-13-1_table_header_row_border_bottom_color: var(--sapList_HeaderBorderColor);--ui5-v2-13-1_table_focus_outline_offset: .1875rem;--ui5-v2-13-1_table_multiselect_popin_row_padding: 3.25rem;--ui5-v2-13-1_table_row_outline_width: var(--sapContent_FocusWidth);--ui5-v2-13-1_table_group_row_font-weight: bold;--ui5-v2-13-1_table_border_width: 1px 0 1px 0;--_ui5-v2-13-1_load_more_padding: 0;--_ui5-v2-13-1_load_more_border: 1px top solid transparent;--_ui5-v2-13-1_load_more_border_radius: none;--_ui5-v2-13-1_load_more_outline_width: var(--sapContent_FocusWidth);--_ui5-v2-13-1_load_more_border-bottom: var(--sapList_BorderWidth) solid var(--sapList_BorderColor);--_ui5-v2-13-1_load_more_text_height: 2.75rem;--_ui5-v2-13-1_load_more_text_font_size: var(--sapFontMediumSize);--_ui5-v2-13-1_load_more_desc_padding: .375rem 2rem .875rem 2rem;--ui5-v2-13-1_table_header_row_height: 2.75rem;--ui5-v2-13-1_table_row_height: 2.75rem;--ui5-v2-13-1_table_group_row_height: 2rem}[data-ui5-compact-size],.ui5-content-density-compact,.sapUiSizeCompact{--_ui5-v2-13-1_load_more_text_height: 2.625rem;--_ui5-v2-13-1_load_more_text_font_size: var(--sapFontSize);--_ui5-v2-13-1_load_more_desc_padding: 0 2rem .875rem 2rem;--ui5-v2-13-1_table_header_row_height: 2rem;--ui5-v2-13-1_table_row_height: 2rem}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
:root{--ui5-v2-
|
|
1
|
+
:root{--ui5-v2-13-1_table_focus_outline_offset: .125rem;--ui5-v2-13-1_table_bottom_border: 1px solid var(--sapList_BorderColor);--ui5-v2-13-1_table_multiselect_column_width: 2.75rem;--ui5-v2-13-1_table_header_row_font_weight: normal;--ui5-v2-13-1_table_header_row_border_width: 1px;--_ui5-v2-13-1_table_load_more_border-bottom: none;--ui5-v2-13-1_table_header_row_outline_width: var(--sapContent_FocusWidth);--ui5-v2-13-1_table_header_row_font_family: var(--sapFontSemiboldDuplexFamily);--ui5-v2-13-1_table_header_row_border_bottom_color: var(--sapList_HeaderBorderColor);--ui5-v2-13-1_table_focus_outline_offset: .1875rem;--ui5-v2-13-1_table_multiselect_popin_row_padding: 3.25rem;--ui5-v2-13-1_table_row_outline_width: var(--sapContent_FocusWidth);--ui5-v2-13-1_table_group_row_font-weight: bold;--ui5-v2-13-1_table_border_width: 1px 0 1px 0;--_ui5-v2-13-1_load_more_padding: 0;--_ui5-v2-13-1_load_more_border: 1px top solid transparent;--_ui5-v2-13-1_load_more_border_radius: none;--_ui5-v2-13-1_load_more_outline_width: var(--sapContent_FocusWidth);--_ui5-v2-13-1_load_more_border-bottom: var(--sapList_BorderWidth) solid var(--sapList_BorderColor);--_ui5-v2-13-1_load_more_text_height: 2.75rem;--_ui5-v2-13-1_load_more_text_font_size: var(--sapFontMediumSize);--_ui5-v2-13-1_load_more_desc_padding: .375rem 2rem .875rem 2rem;--ui5-v2-13-1_table_header_row_height: 2.75rem;--ui5-v2-13-1_table_row_height: 2.75rem;--ui5-v2-13-1_table_group_row_height: 2rem}[data-ui5-compact-size],.ui5-content-density-compact,.sapUiSizeCompact{--_ui5-v2-13-1_load_more_text_height: 2.625rem;--_ui5-v2-13-1_load_more_text_font_size: var(--sapFontSize);--_ui5-v2-13-1_load_more_desc_padding: 0 2rem .875rem 2rem;--ui5-v2-13-1_table_header_row_height: 2rem;--ui5-v2-13-1_table_row_height: 2rem}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
:root{--ui5-v2-
|
|
1
|
+
:root{--ui5-v2-13-1_table_focus_outline_offset: .125rem;--ui5-v2-13-1_table_bottom_border: 1px solid var(--sapList_BorderColor);--ui5-v2-13-1_table_multiselect_column_width: 2.75rem;--_ui5-v2-13-1_table_load_more_border-bottom: none;--ui5-v2-13-1_table_header_row_outline_width: .125rem;--ui5-v2-13-1_table_header_row_font_family: var(--sapFontSemiboldDuplexFamily);--ui5-v2-13-1_table_header_row_border_bottom_color: var(--sapList_HeaderBorderColor);--ui5-v2-13-1_table_focus_outline_offset: .25rem;--ui5-v2-13-1_table_header_row_border_width: .1875rem;--ui5-v2-13-1_table_header_row_font_weight: normal;--ui5-v2-13-1_table_multiselect_popin_row_padding: 3.25rem;--ui5-v2-13-1_table_row_outline_width: .125rem;--ui5-v2-13-1_table_group_row_font-weight: bold;--ui5-v2-13-1_table_border_width: 1px 0 1px 0;--_ui5-v2-13-1_load_more_padding: .25rem;--_ui5-v2-13-1_load_more_border: 1px solid var(--sapButton_BorderColor);--_ui5-v2-13-1_load_more_border_radius: .375rem;--_ui5-v2-13-1_load_more_outline_width: .125rem;--_ui5-v2-13-1_load_more_text_height: 2.75rem;--_ui5-v2-13-1_load_more_text_font_size: var(--sapFontMediumSize);--_ui5-v2-13-1_load_more_desc_padding: .375rem 2rem .875rem 2rem;--ui5-v2-13-1_table_header_row_height: 2.75rem;--ui5-v2-13-1_table_row_height: 2.75rem;--ui5-v2-13-1_table_group_row_height: 2rem}[data-ui5-compact-size],.ui5-content-density-compact,.sapUiSizeCompact{--_ui5-v2-13-1_load_more_text_height: 2.625rem;--_ui5-v2-13-1_load_more_text_font_size: var(--sapFontSize);--_ui5-v2-13-1_load_more_desc_padding: 0 2rem .875rem 2rem;--ui5-v2-13-1_table_header_row_height: 2rem;--ui5-v2-13-1_table_row_height: 2rem}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
:root{--ui5-v2-
|
|
1
|
+
:root{--ui5-v2-13-1_table_focus_outline_offset: .125rem;--ui5-v2-13-1_table_bottom_border: 1px solid var(--sapList_BorderColor);--ui5-v2-13-1_table_multiselect_column_width: 2.75rem;--_ui5-v2-13-1_table_load_more_border-bottom: none;--ui5-v2-13-1_table_header_row_outline_width: .125rem;--ui5-v2-13-1_table_header_row_font_family: var(--sapFontSemiboldDuplexFamily);--ui5-v2-13-1_table_header_row_border_bottom_color: var(--sapList_HeaderBorderColor);--ui5-v2-13-1_table_focus_outline_offset: .25rem;--ui5-v2-13-1_table_header_row_border_width: .1875rem;--ui5-v2-13-1_table_header_row_font_weight: normal;--ui5-v2-13-1_table_multiselect_popin_row_padding: 3.25rem;--ui5-v2-13-1_table_row_outline_width: .125rem;--ui5-v2-13-1_table_group_row_font-weight: bold;--ui5-v2-13-1_table_border_width: 1px 0 1px 0;--_ui5-v2-13-1_load_more_padding: .25rem;--_ui5-v2-13-1_load_more_border: 1px solid var(--sapButton_BorderColor);--_ui5-v2-13-1_load_more_border_radius: .375rem;--_ui5-v2-13-1_load_more_outline_width: .125rem;--_ui5-v2-13-1_load_more_text_height: 2.75rem;--_ui5-v2-13-1_load_more_text_font_size: var(--sapFontMediumSize);--_ui5-v2-13-1_load_more_desc_padding: .375rem 2rem .875rem 2rem;--ui5-v2-13-1_table_header_row_height: 2.75rem;--ui5-v2-13-1_table_row_height: 2.75rem;--ui5-v2-13-1_table_group_row_height: 2rem}[data-ui5-compact-size],.ui5-content-density-compact,.sapUiSizeCompact{--_ui5-v2-13-1_load_more_text_height: 2.625rem;--_ui5-v2-13-1_load_more_text_font_size: var(--sapFontSize);--_ui5-v2-13-1_load_more_desc_padding: 0 2rem .875rem 2rem;--ui5-v2-13-1_table_header_row_height: 2rem;--ui5-v2-13-1_table_row_height: 2rem}
|
|
@@ -188,6 +188,12 @@
|
|
|
188
188
|
}
|
|
189
189
|
]
|
|
190
190
|
},
|
|
191
|
+
{
|
|
192
|
+
"kind": "javascript-module",
|
|
193
|
+
"path": "dist/utils/CompatCustomElementsScope.js",
|
|
194
|
+
"declarations": [],
|
|
195
|
+
"exports": []
|
|
196
|
+
},
|
|
191
197
|
{
|
|
192
198
|
"kind": "javascript-module",
|
|
193
199
|
"path": "dist/Assets.js",
|
|
@@ -589,6 +595,7 @@
|
|
|
589
595
|
"package": "@ui5/webcomponents-base",
|
|
590
596
|
"module": "dist/UI5Element.js"
|
|
591
597
|
},
|
|
598
|
+
"deprecated": "Deprecated as of version 2.12.0, use `@ui5/webcomponents/dist/Table.js` instead.",
|
|
592
599
|
"tagName": "ui5-table",
|
|
593
600
|
"customElement": true,
|
|
594
601
|
"_ui5privacy": "public"
|
|
@@ -643,6 +650,7 @@
|
|
|
643
650
|
"package": "@ui5/webcomponents-base",
|
|
644
651
|
"module": "dist/UI5Element.js"
|
|
645
652
|
},
|
|
653
|
+
"deprecated": "Deprecated as of version 2.12.0, use `@ui5/webcomponents/dist/TableCell.js` instead.",
|
|
646
654
|
"tagName": "ui5-table-cell",
|
|
647
655
|
"customElement": true,
|
|
648
656
|
"_ui5privacy": "public"
|
|
@@ -783,6 +791,7 @@
|
|
|
783
791
|
"package": "@ui5/webcomponents-base",
|
|
784
792
|
"module": "dist/UI5Element.js"
|
|
785
793
|
},
|
|
794
|
+
"deprecated": "Deprecated as of version 2.12.0, use `@ui5/webcomponents/dist/Table.js` instead.",
|
|
786
795
|
"tagName": "ui5-table-column",
|
|
787
796
|
"customElement": true,
|
|
788
797
|
"_ui5privacy": "public"
|
|
@@ -836,6 +845,7 @@
|
|
|
836
845
|
"package": "@ui5/webcomponents-base",
|
|
837
846
|
"module": "dist/UI5Element.js"
|
|
838
847
|
},
|
|
848
|
+
"deprecated": "Deprecated as of version 2.12.0, use `@ui5/webcomponents/dist/Table.js` instead.",
|
|
839
849
|
"tagName": "ui5-table-group-row",
|
|
840
850
|
"customElement": true,
|
|
841
851
|
"_ui5since": "2.0.0",
|
|
@@ -980,6 +990,7 @@
|
|
|
980
990
|
"package": "@ui5/webcomponents-base",
|
|
981
991
|
"module": "dist/UI5Element.js"
|
|
982
992
|
},
|
|
993
|
+
"deprecated": "Deprecated as of version 2.12.0, use `@ui5/webcomponents/dist/TableRow.js` instead.",
|
|
983
994
|
"tagName": "ui5-table-row",
|
|
984
995
|
"customElement": true,
|
|
985
996
|
"_ui5privacy": "public",
|