@ui5/webcomponents-compat 0.0.0-07d38e78e
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/.env.production +1 -0
- package/.env.testing +4 -0
- package/.npsrc.json +3 -0
- package/CHANGELOG.md +25 -0
- package/README.md +45 -0
- package/dist/Assets.d.ts +3 -0
- package/dist/Assets.js +6 -0
- package/dist/Assets.js.map +1 -0
- package/dist/Table.d.ts +362 -0
- package/dist/Table.js +868 -0
- package/dist/Table.js.map +1 -0
- package/dist/TableCell.d.ts +37 -0
- package/dist/TableCell.js +63 -0
- package/dist/TableCell.js.map +1 -0
- package/dist/TableColumn.d.ts +63 -0
- package/dist/TableColumn.js +59 -0
- package/dist/TableColumn.js.map +1 -0
- package/dist/TableGroupRow.d.ts +44 -0
- package/dist/TableGroupRow.js +102 -0
- package/dist/TableGroupRow.js.map +1 -0
- package/dist/TableRow.d.ts +120 -0
- package/dist/TableRow.js +323 -0
- package/dist/TableRow.js.map +1 -0
- package/dist/bundle.common.bootstrap.d.ts +1 -0
- package/dist/bundle.common.bootstrap.js +3 -0
- package/dist/bundle.common.bootstrap.js.map +1 -0
- package/dist/bundle.esm.d.ts +3 -0
- package/dist/bundle.esm.js +13 -0
- package/dist/bundle.esm.js.map +1 -0
- package/dist/bundle.scoped.esm.d.ts +2 -0
- package/dist/bundle.scoped.esm.js +8 -0
- package/dist/bundle.scoped.esm.js.map +1 -0
- package/dist/css/themes/GrowingButton.css +1 -0
- package/dist/css/themes/Table.css +1 -0
- package/dist/css/themes/TableCell.css +1 -0
- package/dist/css/themes/TableColumn.css +1 -0
- package/dist/css/themes/TableGroupRow.css +1 -0
- package/dist/css/themes/TableRow.css +1 -0
- package/dist/css/themes/sap_fiori_3/parameters-bundle.css +1 -0
- package/dist/css/themes/sap_fiori_3_dark/parameters-bundle.css +1 -0
- package/dist/css/themes/sap_fiori_3_hcb/parameters-bundle.css +1 -0
- package/dist/css/themes/sap_fiori_3_hcw/parameters-bundle.css +1 -0
- package/dist/css/themes/sap_horizon/parameters-bundle.css +1 -0
- package/dist/css/themes/sap_horizon_dark/parameters-bundle.css +1 -0
- package/dist/css/themes/sap_horizon_hcb/parameters-bundle.css +1 -0
- package/dist/css/themes/sap_horizon_hcw/parameters-bundle.css +1 -0
- package/dist/custom-elements-internal.json +1021 -0
- package/dist/custom-elements.json +747 -0
- package/dist/generated/assets/i18n/messagebundle_ar.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_bg.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_ca.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_cnr.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_cs.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_cy.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_da.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_de.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_el.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_en.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_en_GB.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_en_US_sappsd.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_en_US_saprigi.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_en_US_saptrc.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_es.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_es_MX.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_et.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_fi.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_fr.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_fr_CA.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_hi.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_hr.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_hu.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_in.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_it.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_iw.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_ja.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_kk.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_ko.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_lt.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_lv.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_mk.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_ms.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_nl.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_no.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_pl.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_pt.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_pt_PT.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_ro.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_ru.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_sh.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_sk.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_sl.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_sr.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_sv.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_th.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_tr.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_uk.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_vi.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_zh_CN.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_zh_TW.json +1 -0
- package/dist/generated/assets/themes/sap_fiori_3/parameters-bundle.css.json +1 -0
- package/dist/generated/assets/themes/sap_fiori_3_dark/parameters-bundle.css.json +1 -0
- package/dist/generated/assets/themes/sap_fiori_3_hcb/parameters-bundle.css.json +1 -0
- package/dist/generated/assets/themes/sap_fiori_3_hcw/parameters-bundle.css.json +1 -0
- package/dist/generated/assets/themes/sap_horizon/parameters-bundle.css.json +1 -0
- package/dist/generated/assets/themes/sap_horizon_dark/parameters-bundle.css.json +1 -0
- package/dist/generated/assets/themes/sap_horizon_hcb/parameters-bundle.css.json +1 -0
- package/dist/generated/assets/themes/sap_horizon_hcw/parameters-bundle.css.json +1 -0
- package/dist/generated/i18n/i18n-defaults.d.ts +12 -0
- package/dist/generated/i18n/i18n-defaults.js +13 -0
- package/dist/generated/i18n/i18n-defaults.js.map +1 -0
- package/dist/generated/json-imports/Themes.d.ts +1 -0
- package/dist/generated/json-imports/Themes.js +25 -0
- package/dist/generated/json-imports/Themes.js.map +1 -0
- package/dist/generated/json-imports/i18n.d.ts +1 -0
- package/dist/generated/json-imports/i18n.js +120 -0
- package/dist/generated/json-imports/i18n.js.map +1 -0
- package/dist/generated/templates/TableCellTemplate.lit.d.ts +4 -0
- package/dist/generated/templates/TableCellTemplate.lit.js +5 -0
- package/dist/generated/templates/TableCellTemplate.lit.js.map +1 -0
- package/dist/generated/templates/TableColumnTemplate.lit.d.ts +4 -0
- package/dist/generated/templates/TableColumnTemplate.lit.js +5 -0
- package/dist/generated/templates/TableColumnTemplate.lit.js.map +1 -0
- package/dist/generated/templates/TableGroupRowTemplate.lit.d.ts +4 -0
- package/dist/generated/templates/TableGroupRowTemplate.lit.js +5 -0
- package/dist/generated/templates/TableGroupRowTemplate.lit.js.map +1 -0
- package/dist/generated/templates/TableRowTemplate.lit.d.ts +4 -0
- package/dist/generated/templates/TableRowTemplate.lit.js +16 -0
- package/dist/generated/templates/TableRowTemplate.lit.js.map +1 -0
- package/dist/generated/templates/TableTemplate.lit.d.ts +4 -0
- package/dist/generated/templates/TableTemplate.lit.js +15 -0
- package/dist/generated/templates/TableTemplate.lit.js.map +1 -0
- package/dist/generated/themes/GrowingButton.css.d.ts +3 -0
- package/dist/generated/themes/GrowingButton.css.js +9 -0
- package/dist/generated/themes/GrowingButton.css.js.map +1 -0
- package/dist/generated/themes/Table.css.d.ts +3 -0
- package/dist/generated/themes/Table.css.js +9 -0
- package/dist/generated/themes/Table.css.js.map +1 -0
- package/dist/generated/themes/TableCell.css.d.ts +3 -0
- package/dist/generated/themes/TableCell.css.js +9 -0
- package/dist/generated/themes/TableCell.css.js.map +1 -0
- package/dist/generated/themes/TableColumn.css.d.ts +3 -0
- package/dist/generated/themes/TableColumn.css.js +9 -0
- package/dist/generated/themes/TableColumn.css.js.map +1 -0
- package/dist/generated/themes/TableGroupRow.css.d.ts +3 -0
- package/dist/generated/themes/TableGroupRow.css.js +9 -0
- package/dist/generated/themes/TableGroupRow.css.js.map +1 -0
- package/dist/generated/themes/TableRow.css.d.ts +3 -0
- package/dist/generated/themes/TableRow.css.js +9 -0
- package/dist/generated/themes/TableRow.css.js.map +1 -0
- package/dist/generated/themes/sap_fiori_3/parameters-bundle.css.d.ts +3 -0
- package/dist/generated/themes/sap_fiori_3/parameters-bundle.css.js +4 -0
- package/dist/generated/themes/sap_fiori_3/parameters-bundle.css.js.map +1 -0
- package/dist/generated/themes/sap_fiori_3_dark/parameters-bundle.css.d.ts +3 -0
- package/dist/generated/themes/sap_fiori_3_dark/parameters-bundle.css.js +4 -0
- package/dist/generated/themes/sap_fiori_3_dark/parameters-bundle.css.js.map +1 -0
- package/dist/generated/themes/sap_fiori_3_hcb/parameters-bundle.css.d.ts +3 -0
- package/dist/generated/themes/sap_fiori_3_hcb/parameters-bundle.css.js +4 -0
- package/dist/generated/themes/sap_fiori_3_hcb/parameters-bundle.css.js.map +1 -0
- package/dist/generated/themes/sap_fiori_3_hcw/parameters-bundle.css.d.ts +3 -0
- package/dist/generated/themes/sap_fiori_3_hcw/parameters-bundle.css.js +4 -0
- package/dist/generated/themes/sap_fiori_3_hcw/parameters-bundle.css.js.map +1 -0
- package/dist/generated/themes/sap_horizon/parameters-bundle.css.d.ts +3 -0
- package/dist/generated/themes/sap_horizon/parameters-bundle.css.js +4 -0
- package/dist/generated/themes/sap_horizon/parameters-bundle.css.js.map +1 -0
- package/dist/generated/themes/sap_horizon_dark/parameters-bundle.css.d.ts +3 -0
- package/dist/generated/themes/sap_horizon_dark/parameters-bundle.css.js +4 -0
- package/dist/generated/themes/sap_horizon_dark/parameters-bundle.css.js.map +1 -0
- package/dist/generated/themes/sap_horizon_hcb/parameters-bundle.css.d.ts +3 -0
- package/dist/generated/themes/sap_horizon_hcb/parameters-bundle.css.js +4 -0
- package/dist/generated/themes/sap_horizon_hcb/parameters-bundle.css.js.map +1 -0
- package/dist/generated/themes/sap_horizon_hcw/parameters-bundle.css.d.ts +3 -0
- package/dist/generated/themes/sap_horizon_hcw/parameters-bundle.css.js +4 -0
- package/dist/generated/themes/sap_horizon_hcw/parameters-bundle.css.js.map +1 -0
- package/dist/types/TableColumnPopinDisplay.d.ts +17 -0
- package/dist/types/TableColumnPopinDisplay.js +19 -0
- package/dist/types/TableColumnPopinDisplay.js.map +1 -0
- package/dist/types/TableGrowingMode.d.ts +23 -0
- package/dist/types/TableGrowingMode.js +25 -0
- package/dist/types/TableGrowingMode.js.map +1 -0
- package/dist/types/TableMode.d.ts +22 -0
- package/dist/types/TableMode.js +24 -0
- package/dist/types/TableMode.js.map +1 -0
- package/dist/types/TableRowType.d.ts +17 -0
- package/dist/types/TableRowType.js +19 -0
- package/dist/types/TableRowType.js.map +1 -0
- package/dist/vscode.html-custom-data.json +136 -0
- package/dist/web-types.json +354 -0
- package/jsconfig.json +11 -0
- package/package-scripts.cjs +15 -0
- package/package.json +57 -0
- package/src/Table.hbs +121 -0
- package/src/TableCell.hbs +7 -0
- package/src/TableColumn.hbs +7 -0
- package/src/TableGroupRow.hbs +11 -0
- package/src/TableRow.hbs +85 -0
- package/src/i18n/messagebundle.properties +32 -0
- package/src/i18n/messagebundle_ar.properties +20 -0
- package/src/i18n/messagebundle_bg.properties +20 -0
- package/src/i18n/messagebundle_ca.properties +20 -0
- package/src/i18n/messagebundle_cnr.properties +20 -0
- package/src/i18n/messagebundle_cs.properties +20 -0
- package/src/i18n/messagebundle_cy.properties +20 -0
- package/src/i18n/messagebundle_da.properties +20 -0
- package/src/i18n/messagebundle_de.properties +20 -0
- package/src/i18n/messagebundle_el.properties +20 -0
- package/src/i18n/messagebundle_en.properties +20 -0
- package/src/i18n/messagebundle_en_GB.properties +20 -0
- package/src/i18n/messagebundle_en_US_sappsd.properties +311 -0
- package/src/i18n/messagebundle_en_US_saprigi.properties +20 -0
- package/src/i18n/messagebundle_en_US_saptrc.properties +311 -0
- package/src/i18n/messagebundle_es.properties +20 -0
- package/src/i18n/messagebundle_es_MX.properties +20 -0
- package/src/i18n/messagebundle_et.properties +20 -0
- package/src/i18n/messagebundle_fi.properties +20 -0
- package/src/i18n/messagebundle_fr.properties +20 -0
- package/src/i18n/messagebundle_fr_CA.properties +20 -0
- package/src/i18n/messagebundle_hi.properties +20 -0
- package/src/i18n/messagebundle_hr.properties +20 -0
- package/src/i18n/messagebundle_hu.properties +20 -0
- package/src/i18n/messagebundle_id.properties +20 -0
- package/src/i18n/messagebundle_in.properties +172 -0
- package/src/i18n/messagebundle_it.properties +20 -0
- package/src/i18n/messagebundle_iw.properties +20 -0
- package/src/i18n/messagebundle_ja.properties +20 -0
- package/src/i18n/messagebundle_kk.properties +20 -0
- package/src/i18n/messagebundle_ko.properties +20 -0
- package/src/i18n/messagebundle_lt.properties +20 -0
- package/src/i18n/messagebundle_lv.properties +20 -0
- package/src/i18n/messagebundle_mk.properties +20 -0
- package/src/i18n/messagebundle_ms.properties +20 -0
- package/src/i18n/messagebundle_nl.properties +20 -0
- package/src/i18n/messagebundle_no.properties +20 -0
- package/src/i18n/messagebundle_pl.properties +20 -0
- package/src/i18n/messagebundle_pt.properties +20 -0
- package/src/i18n/messagebundle_pt_PT.properties +20 -0
- package/src/i18n/messagebundle_ro.properties +20 -0
- package/src/i18n/messagebundle_ru.properties +20 -0
- package/src/i18n/messagebundle_sh.properties +20 -0
- package/src/i18n/messagebundle_sk.properties +20 -0
- package/src/i18n/messagebundle_sl.properties +20 -0
- package/src/i18n/messagebundle_sr.properties +20 -0
- package/src/i18n/messagebundle_sv.properties +20 -0
- package/src/i18n/messagebundle_th.properties +20 -0
- package/src/i18n/messagebundle_tr.properties +20 -0
- package/src/i18n/messagebundle_uk.properties +20 -0
- package/src/i18n/messagebundle_vi.properties +20 -0
- package/src/i18n/messagebundle_zh_CN.properties +20 -0
- package/src/i18n/messagebundle_zh_TW.properties +20 -0
- package/src/themes/GrowingButton.css +68 -0
- package/src/themes/Table.css +106 -0
- package/src/themes/TableCell.css +27 -0
- package/src/themes/TableColumn.css +25 -0
- package/src/themes/TableGroupRow.css +32 -0
- package/src/themes/TableRow.css +130 -0
- package/src/themes/base/GrowingButton-parameters.css +6 -0
- package/src/themes/base/Table-parameters.css +10 -0
- package/src/themes/base/TableColumn-parameters.css +3 -0
- package/src/themes/base/TableGroupRow-parameters.css +4 -0
- package/src/themes/base/TableRow-parameters.css +4 -0
- package/src/themes/base/sizes-parameters.css +22 -0
- package/src/themes/sap_fiori_3/parameters-bundle.css +6 -0
- package/src/themes/sap_fiori_3_dark/parameters-bundle.css +6 -0
- package/src/themes/sap_fiori_3_hcb/GrowingButton-parameters.css +8 -0
- package/src/themes/sap_fiori_3_hcb/Table-parameters.css +5 -0
- package/src/themes/sap_fiori_3_hcb/TableRow-parameters.css +5 -0
- package/src/themes/sap_fiori_3_hcb/parameters-bundle.css +6 -0
- package/src/themes/sap_fiori_3_hcw/GrowingButton-parameters.css +8 -0
- package/src/themes/sap_fiori_3_hcw/Table-parameters.css +5 -0
- package/src/themes/sap_fiori_3_hcw/TableRow-parameters.css +5 -0
- package/src/themes/sap_fiori_3_hcw/parameters-bundle.css +6 -0
- package/src/themes/sap_horizon/GrowingButton-parameters.css +6 -0
- package/src/themes/sap_horizon/Table-parameters.css +9 -0
- package/src/themes/sap_horizon/TableColumn-parameters.css +5 -0
- package/src/themes/sap_horizon/TableGroupRow-parameters.css +6 -0
- package/src/themes/sap_horizon/TableRow-parameters.css +5 -0
- package/src/themes/sap_horizon/parameters-bundle.css +8 -0
- package/src/themes/sap_horizon_dark/GrowingButton-parameters.css +6 -0
- package/src/themes/sap_horizon_dark/Table-parameters.css +9 -0
- package/src/themes/sap_horizon_dark/TableColumn-parameters.css +5 -0
- package/src/themes/sap_horizon_dark/TableGroupRow-parameters.css +6 -0
- package/src/themes/sap_horizon_dark/TableRow-parameters.css +5 -0
- package/src/themes/sap_horizon_dark/parameters-bundle.css +8 -0
- package/src/themes/sap_horizon_hcb/GrowingButton-parameters.css +8 -0
- package/src/themes/sap_horizon_hcb/Table-parameters.css +10 -0
- package/src/themes/sap_horizon_hcb/TableGroupRow-parameters.css +6 -0
- package/src/themes/sap_horizon_hcb/TableRow-parameters.css +5 -0
- package/src/themes/sap_horizon_hcb/parameters-bundle.css +6 -0
- package/src/themes/sap_horizon_hcw/GrowingButton-parameters.css +8 -0
- package/src/themes/sap_horizon_hcw/Table-parameters.css +10 -0
- package/src/themes/sap_horizon_hcw/TableGroupRow-parameters.css +6 -0
- package/src/themes/sap_horizon_hcw/TableRow-parameters.css +5 -0
- package/src/themes/sap_horizon_hcw/parameters-bundle.css +6 -0
- package/tsconfig.json +28 -0
@@ -0,0 +1,120 @@
|
|
1
|
+
import UI5Element from "@ui5/webcomponents-base/dist/UI5Element.js";
|
2
|
+
import type I18nBundle from "@ui5/webcomponents-base/dist/i18nBundle.js";
|
3
|
+
import type { PassiveEventListenerObject } from "@ui5/webcomponents-base/dist/types.js";
|
4
|
+
import type TableCell from "./TableCell.js";
|
5
|
+
import type { ITableRow, TableColumnInfo } from "./Table.js";
|
6
|
+
import TableMode from "./types/TableMode.js";
|
7
|
+
import TableRowType from "./types/TableRowType.js";
|
8
|
+
type TableRowClickEventDetail = {
|
9
|
+
row: TableRow;
|
10
|
+
};
|
11
|
+
type TableRowSelectionRequestedEventDetail = {
|
12
|
+
row: TableRow;
|
13
|
+
};
|
14
|
+
type TableRowForwardBeforeEventDetail = {
|
15
|
+
target: HTMLElement;
|
16
|
+
};
|
17
|
+
type TableRowForwardAfterEventDetail = {
|
18
|
+
target: HTMLElement;
|
19
|
+
};
|
20
|
+
type TableRowF7PressEventDetail = {
|
21
|
+
row: TableRow;
|
22
|
+
};
|
23
|
+
/**
|
24
|
+
* @class
|
25
|
+
*
|
26
|
+
* ### Overview
|
27
|
+
*
|
28
|
+
* The `ui5-table-row` component represents a row in the `ui5-table`.
|
29
|
+
* @constructor
|
30
|
+
* @extends UI5Element
|
31
|
+
* @implements {ITableRow}
|
32
|
+
* @public
|
33
|
+
* @csspart row - Used to style the native `tr` element
|
34
|
+
* @csspart popin-row - Used to style the `tr` element when a row pops in
|
35
|
+
*/
|
36
|
+
declare class TableRow extends UI5Element implements ITableRow {
|
37
|
+
/**
|
38
|
+
* Defines the visual indication and behavior of the component.
|
39
|
+
*
|
40
|
+
* **Note:** When set to `Active`, the item will provide visual response upon press,
|
41
|
+
* while with type `Inactive`-will not.
|
42
|
+
* @default "Inactive"
|
43
|
+
* @since 2.0.0
|
44
|
+
* @public
|
45
|
+
*/
|
46
|
+
type: `${TableRowType}`;
|
47
|
+
/**
|
48
|
+
* Defines the row's selected state.
|
49
|
+
* @default false
|
50
|
+
* @since 2.0.0
|
51
|
+
* @public
|
52
|
+
*/
|
53
|
+
selected: boolean;
|
54
|
+
/**
|
55
|
+
* Indicates if the table row is navigated.
|
56
|
+
* @default false
|
57
|
+
* @since 2.0.0
|
58
|
+
* @public
|
59
|
+
*/
|
60
|
+
navigated: boolean;
|
61
|
+
/**
|
62
|
+
* Defines the mode of the row (None, SingleSelect, MultiSelect).
|
63
|
+
* @default "None"
|
64
|
+
* @since 2.0.0
|
65
|
+
* @private
|
66
|
+
*/
|
67
|
+
mode: `${TableMode}`;
|
68
|
+
/**
|
69
|
+
* Indicates if the table row is active.
|
70
|
+
* @default false
|
71
|
+
* @since 2.0.0
|
72
|
+
* @private
|
73
|
+
*/
|
74
|
+
active: boolean;
|
75
|
+
_columnsInfo: Array<TableColumnInfo>;
|
76
|
+
forcedTabIndex: string;
|
77
|
+
forcedBusy: boolean;
|
78
|
+
forcedAriaPosition: string;
|
79
|
+
/**
|
80
|
+
* Defines the cells of the component.
|
81
|
+
*
|
82
|
+
* **Note:** Use `ui5-table-cell` for the intended design.
|
83
|
+
* @public
|
84
|
+
*/
|
85
|
+
cells: Array<TableCell>;
|
86
|
+
static i18nBundle: I18nBundle;
|
87
|
+
visibleCells: Array<TableCell>;
|
88
|
+
popinCells: Array<TableColumnInfo>;
|
89
|
+
_ontouchstart: PassiveEventListenerObject;
|
90
|
+
tabbableElements: Array<HTMLElement>;
|
91
|
+
_columnsInfoString: string;
|
92
|
+
constructor();
|
93
|
+
_onmouseup(): void;
|
94
|
+
_onkeydown(e: KeyboardEvent): void;
|
95
|
+
_onkeyup(e: KeyboardEvent): void;
|
96
|
+
_ontouchend(): void;
|
97
|
+
_onfocusout(): void;
|
98
|
+
_onfocusin(e: FocusEvent, forceSelfFocus?: boolean): void;
|
99
|
+
_onrowclick(e: MouseEvent): void;
|
100
|
+
_handleSelection(): void;
|
101
|
+
_activeElementHasAttribute(attr: string): boolean;
|
102
|
+
get _ariaCurrent(): true | undefined;
|
103
|
+
activate(): void;
|
104
|
+
deactivate(): void;
|
105
|
+
get shouldPopin(): number;
|
106
|
+
get allColumnsPoppedIn(): boolean;
|
107
|
+
onBeforeRendering(): void;
|
108
|
+
get visibleCellsCount(): number;
|
109
|
+
get ariaLabelText(): string;
|
110
|
+
get ariaLabelRowSelection(): string;
|
111
|
+
get isSingleSelect(): boolean;
|
112
|
+
get isMultiSelect(): boolean;
|
113
|
+
get root(): HTMLElement;
|
114
|
+
getCellText(cell: TableCell): string;
|
115
|
+
getColumnTextByIdx(index: number): string;
|
116
|
+
getNormilzedTextContent(textContent: string): string;
|
117
|
+
static onDefine(): Promise<void>;
|
118
|
+
}
|
119
|
+
export default TableRow;
|
120
|
+
export type { TableRowClickEventDetail, TableRowSelectionRequestedEventDetail, TableRowForwardBeforeEventDetail, TableRowForwardAfterEventDetail, TableRowF7PressEventDetail, };
|
package/dist/TableRow.js
ADDED
@@ -0,0 +1,323 @@
|
|
1
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
2
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
3
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
4
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
5
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
6
|
+
};
|
7
|
+
var TableRow_1;
|
8
|
+
import UI5Element from "@ui5/webcomponents-base/dist/UI5Element.js";
|
9
|
+
import customElement from "@ui5/webcomponents-base/dist/decorators/customElement.js";
|
10
|
+
import property from "@ui5/webcomponents-base/dist/decorators/property.js";
|
11
|
+
import event from "@ui5/webcomponents-base/dist/decorators/event.js";
|
12
|
+
import slot from "@ui5/webcomponents-base/dist/decorators/slot.js";
|
13
|
+
import { getI18nBundle } from "@ui5/webcomponents-base/dist/i18nBundle.js";
|
14
|
+
import litRender from "@ui5/webcomponents-base/dist/renderer/LitRenderer.js";
|
15
|
+
import { isSpace, isEnter, isF7, isTabNext, isTabPrevious, } from "@ui5/webcomponents-base/dist/Keys.js";
|
16
|
+
import getActiveElement from "@ui5/webcomponents-base/dist/util/getActiveElement.js";
|
17
|
+
import { getLastTabbableElement } from "@ui5/webcomponents-base/dist/util/TabbableElements.js";
|
18
|
+
import { getEventMark } from "@ui5/webcomponents-base/dist/MarkedEvents.js";
|
19
|
+
import CheckBox from "@ui5/webcomponents/dist/CheckBox.js";
|
20
|
+
import TableMode from "./types/TableMode.js";
|
21
|
+
import TableRowType from "./types/TableRowType.js";
|
22
|
+
import TableColumnPopinDisplay from "./types/TableColumnPopinDisplay.js";
|
23
|
+
import TableRowTemplate from "./generated/templates/TableRowTemplate.lit.js";
|
24
|
+
import { ARIA_LABEL_ROW_SELECTION, LIST_ITEM_NOT_SELECTED, LIST_ITEM_SELECTED, } from "./generated/i18n/i18n-defaults.js";
|
25
|
+
// Styles
|
26
|
+
import tableRowStyles from "./generated/themes/TableRow.css.js";
|
27
|
+
/**
|
28
|
+
* @class
|
29
|
+
*
|
30
|
+
* ### Overview
|
31
|
+
*
|
32
|
+
* The `ui5-table-row` component represents a row in the `ui5-table`.
|
33
|
+
* @constructor
|
34
|
+
* @extends UI5Element
|
35
|
+
* @implements {ITableRow}
|
36
|
+
* @public
|
37
|
+
* @csspart row - Used to style the native `tr` element
|
38
|
+
* @csspart popin-row - Used to style the `tr` element when a row pops in
|
39
|
+
*/
|
40
|
+
let TableRow = TableRow_1 = class TableRow extends UI5Element {
|
41
|
+
constructor() {
|
42
|
+
super();
|
43
|
+
this.visibleCells = [];
|
44
|
+
this.popinCells = [];
|
45
|
+
// Properties, set and handled by the Table
|
46
|
+
this.tabbableElements = [];
|
47
|
+
this._columnsInfoString = "";
|
48
|
+
const handleToushStartEvent = () => {
|
49
|
+
this.activate();
|
50
|
+
};
|
51
|
+
this._ontouchstart = {
|
52
|
+
handleEvent: handleToushStartEvent,
|
53
|
+
passive: true,
|
54
|
+
};
|
55
|
+
}
|
56
|
+
_onmouseup() {
|
57
|
+
this.deactivate();
|
58
|
+
}
|
59
|
+
_onkeydown(e) {
|
60
|
+
const activeElement = getActiveElement();
|
61
|
+
const itemActive = this.type === TableRowType.Active;
|
62
|
+
const isSingleSelect = this.isSingleSelect;
|
63
|
+
const itemSelectable = isSingleSelect || this.isMultiSelect;
|
64
|
+
const isRowFocused = this._activeElementHasAttribute("ui5-table-row");
|
65
|
+
const target = e.target;
|
66
|
+
const checkboxPressed = target.classList.contains("ui5-multi-select-checkbox");
|
67
|
+
const rowElements = Array.from(this.shadowRoot.querySelectorAll("tr") || []);
|
68
|
+
const elements = rowElements.map(getLastTabbableElement);
|
69
|
+
const lastFocusableElement = elements.pop();
|
70
|
+
if (isTabNext(e) && activeElement === (lastFocusableElement || this.root)) {
|
71
|
+
this.fireEvent("_forward-after", { target: activeElement });
|
72
|
+
}
|
73
|
+
if (isTabPrevious(e) && activeElement === this.root) {
|
74
|
+
this.fireEvent("_forward-before", { target: activeElement });
|
75
|
+
}
|
76
|
+
if (isSpace(e) && target.tagName.toLowerCase() === "tr") {
|
77
|
+
e.preventDefault();
|
78
|
+
}
|
79
|
+
if (isRowFocused && !checkboxPressed) {
|
80
|
+
if ((isSpace(e) && itemSelectable) || (isEnter(e) && isSingleSelect)) {
|
81
|
+
this.fireEvent("selection-requested", { row: this });
|
82
|
+
}
|
83
|
+
if (isEnter(e) && itemActive) {
|
84
|
+
this.fireEvent("row-click", { row: this });
|
85
|
+
if (!isSingleSelect) {
|
86
|
+
this.activate();
|
87
|
+
}
|
88
|
+
}
|
89
|
+
}
|
90
|
+
if (isF7(e)) {
|
91
|
+
e.preventDefault();
|
92
|
+
this.fireEvent("f7-pressed", { row: this });
|
93
|
+
}
|
94
|
+
}
|
95
|
+
_onkeyup(e) {
|
96
|
+
if (isSpace(e) || isEnter(e)) {
|
97
|
+
this.deactivate();
|
98
|
+
}
|
99
|
+
}
|
100
|
+
_ontouchend() {
|
101
|
+
this.deactivate();
|
102
|
+
}
|
103
|
+
_onfocusout() {
|
104
|
+
this.deactivate();
|
105
|
+
}
|
106
|
+
_onfocusin(e, forceSelfFocus = false) {
|
107
|
+
if (forceSelfFocus || this._activeElementHasAttribute("ui5-table-cell")) {
|
108
|
+
this.root.focus();
|
109
|
+
this.activate();
|
110
|
+
}
|
111
|
+
this.fireEvent("_focused");
|
112
|
+
}
|
113
|
+
_onrowclick(e) {
|
114
|
+
const checkboxPressed = e.target.classList.contains("ui5-multi-select-checkbox");
|
115
|
+
// If the user tab over a button on IOS device, the document.activeElement
|
116
|
+
// is the ui5-table-row. The check below ensure that, if a button within the row is pressed,
|
117
|
+
// the row will not be selected.
|
118
|
+
if (getEventMark(e) === "button") {
|
119
|
+
return;
|
120
|
+
}
|
121
|
+
const activeElement = this.getRootNode().activeElement;
|
122
|
+
if (!this.contains(activeElement)) {
|
123
|
+
// If the user clickes on non-focusable element within the ui5-table-cell,
|
124
|
+
// the focus goes to the body, se we have to bring it back to the row.
|
125
|
+
// If the user clicks on input, button or similar clickable element,
|
126
|
+
// the focus remains on that element.
|
127
|
+
this._onfocusin(e, true /* force row focus */);
|
128
|
+
this.deactivate();
|
129
|
+
}
|
130
|
+
if (this._activeElementHasAttribute("ui5-table-row")) {
|
131
|
+
if (this.isSingleSelect) {
|
132
|
+
this._handleSelection();
|
133
|
+
}
|
134
|
+
if (this.type === TableRowType.Active && !checkboxPressed) {
|
135
|
+
this.fireEvent("row-click", { row: this });
|
136
|
+
}
|
137
|
+
}
|
138
|
+
}
|
139
|
+
_handleSelection() {
|
140
|
+
this.fireEvent("selection-requested", { row: this });
|
141
|
+
}
|
142
|
+
_activeElementHasAttribute(attr) {
|
143
|
+
return !!(this.getRootNode().activeElement?.hasAttribute(attr));
|
144
|
+
}
|
145
|
+
get _ariaCurrent() {
|
146
|
+
return this.navigated ? true : undefined;
|
147
|
+
}
|
148
|
+
activate() {
|
149
|
+
if (this.type === TableRowType.Active) {
|
150
|
+
this.active = true;
|
151
|
+
}
|
152
|
+
}
|
153
|
+
deactivate() {
|
154
|
+
if (this.active) {
|
155
|
+
this.active = false;
|
156
|
+
}
|
157
|
+
}
|
158
|
+
get shouldPopin() {
|
159
|
+
return this._columnsInfo.filter(el => {
|
160
|
+
return el.demandPopin || !el.visible;
|
161
|
+
}).length;
|
162
|
+
}
|
163
|
+
get allColumnsPoppedIn() {
|
164
|
+
return this._columnsInfo.every(el => el.demandPopin && !el.visible);
|
165
|
+
}
|
166
|
+
onBeforeRendering() {
|
167
|
+
if (!this.shouldPopin) {
|
168
|
+
return;
|
169
|
+
}
|
170
|
+
this.visibleCells = [];
|
171
|
+
this.popinCells = [];
|
172
|
+
if (this.cells.length === 0) {
|
173
|
+
return;
|
174
|
+
}
|
175
|
+
const allColumnsPoppedInClass = this.allColumnsPoppedIn ? "all-columns-popped-in" : "";
|
176
|
+
this._columnsInfo.forEach((info, index) => {
|
177
|
+
const cell = this.cells[index];
|
178
|
+
const popinDisplay = info.popinDisplay === TableColumnPopinDisplay.Inline;
|
179
|
+
if (!cell) {
|
180
|
+
return;
|
181
|
+
}
|
182
|
+
if (info.visible) {
|
183
|
+
this.visibleCells.push(cell);
|
184
|
+
cell.popined = false;
|
185
|
+
cell._popinedInline = false;
|
186
|
+
}
|
187
|
+
else if (info.demandPopin) {
|
188
|
+
const popinHeaderClass = this.popinCells.length === 0 ? "popin-header" : "";
|
189
|
+
this.popinCells.push({
|
190
|
+
cell,
|
191
|
+
popinText: info.popinText,
|
192
|
+
classes: `ui5-table-popin-row ${allColumnsPoppedInClass} ${popinHeaderClass}`,
|
193
|
+
popinDisplayInline: popinDisplay,
|
194
|
+
});
|
195
|
+
cell.popined = true;
|
196
|
+
if (info.popinDisplay === TableColumnPopinDisplay.Inline) {
|
197
|
+
cell._popinedInline = true;
|
198
|
+
}
|
199
|
+
}
|
200
|
+
else {
|
201
|
+
cell.popined = false;
|
202
|
+
cell._popinedInline = false;
|
203
|
+
}
|
204
|
+
});
|
205
|
+
const lastVisibleCell = this.visibleCells[this.visibleCells.length - 1];
|
206
|
+
if (lastVisibleCell) {
|
207
|
+
lastVisibleCell.lastInRow = true;
|
208
|
+
}
|
209
|
+
}
|
210
|
+
get visibleCellsCount() {
|
211
|
+
let visibleCellsCount = this.visibleCells.length;
|
212
|
+
if (this.isMultiSelect) {
|
213
|
+
visibleCellsCount += 1;
|
214
|
+
}
|
215
|
+
return visibleCellsCount;
|
216
|
+
}
|
217
|
+
get ariaLabelText() {
|
218
|
+
const isSelected = this.selected ? TableRow_1.i18nBundle.getText(LIST_ITEM_SELECTED) : TableRow_1.i18nBundle.getText(LIST_ITEM_NOT_SELECTED);
|
219
|
+
const isRowSelectable = this.isSingleSelect || this.isMultiSelect;
|
220
|
+
const ariaLabel = this.cells.map((cell, index) => {
|
221
|
+
const columText = this.getColumnTextByIdx(index);
|
222
|
+
const cellText = cell.cellContent.length ? this.getCellText(cell) : cell.ariaLabelEmptyCellText;
|
223
|
+
return `${columText} ${cellText}`;
|
224
|
+
}).join(" ");
|
225
|
+
if (isRowSelectable) {
|
226
|
+
return `${ariaLabel}. ${this.forcedAriaPosition}. ${isSelected}`;
|
227
|
+
}
|
228
|
+
return `${ariaLabel}. ${this.forcedAriaPosition}`;
|
229
|
+
}
|
230
|
+
get ariaLabelRowSelection() {
|
231
|
+
return TableRow_1.i18nBundle.getText(ARIA_LABEL_ROW_SELECTION);
|
232
|
+
}
|
233
|
+
get isSingleSelect() {
|
234
|
+
return this.mode === TableMode.SingleSelect;
|
235
|
+
}
|
236
|
+
get isMultiSelect() {
|
237
|
+
return this.mode === TableMode.MultiSelect;
|
238
|
+
}
|
239
|
+
get root() {
|
240
|
+
return this.shadowRoot.querySelector(".ui5-table-row-root");
|
241
|
+
}
|
242
|
+
getCellText(cell) {
|
243
|
+
const cellTextContent = cell.textContent;
|
244
|
+
return cellTextContent ? this.getNormilzedTextContent(cellTextContent) : "";
|
245
|
+
}
|
246
|
+
getColumnTextByIdx(index) {
|
247
|
+
const columnInfo = this._columnsInfo[index];
|
248
|
+
if (!columnInfo) {
|
249
|
+
return "";
|
250
|
+
}
|
251
|
+
return columnInfo.text ? this.getNormilzedTextContent(columnInfo.text) : "";
|
252
|
+
}
|
253
|
+
getNormilzedTextContent(textContent) {
|
254
|
+
return textContent.replace(/[\n\r\t]/g, "").trim();
|
255
|
+
}
|
256
|
+
static async onDefine() {
|
257
|
+
TableRow_1.i18nBundle = await getI18nBundle("@ui5/webcomponents");
|
258
|
+
}
|
259
|
+
};
|
260
|
+
__decorate([
|
261
|
+
property({ type: TableRowType, defaultValue: TableRowType.Inactive })
|
262
|
+
], TableRow.prototype, "type", void 0);
|
263
|
+
__decorate([
|
264
|
+
property({ type: Boolean })
|
265
|
+
], TableRow.prototype, "selected", void 0);
|
266
|
+
__decorate([
|
267
|
+
property({ type: Boolean })
|
268
|
+
], TableRow.prototype, "navigated", void 0);
|
269
|
+
__decorate([
|
270
|
+
property({ type: TableMode, defaultValue: TableMode.None })
|
271
|
+
], TableRow.prototype, "mode", void 0);
|
272
|
+
__decorate([
|
273
|
+
property({ type: Boolean })
|
274
|
+
], TableRow.prototype, "active", void 0);
|
275
|
+
__decorate([
|
276
|
+
property({ type: Object, multiple: true })
|
277
|
+
], TableRow.prototype, "_columnsInfo", void 0);
|
278
|
+
__decorate([
|
279
|
+
property({ defaultValue: "-1" })
|
280
|
+
], TableRow.prototype, "forcedTabIndex", void 0);
|
281
|
+
__decorate([
|
282
|
+
property({ type: Boolean })
|
283
|
+
], TableRow.prototype, "forcedBusy", void 0);
|
284
|
+
__decorate([
|
285
|
+
property({ defaultValue: "", noAttribute: true })
|
286
|
+
], TableRow.prototype, "forcedAriaPosition", void 0);
|
287
|
+
__decorate([
|
288
|
+
slot({ type: HTMLElement, "default": true, individualSlots: true })
|
289
|
+
], TableRow.prototype, "cells", void 0);
|
290
|
+
TableRow = TableRow_1 = __decorate([
|
291
|
+
customElement({
|
292
|
+
tag: "ui5-table-row",
|
293
|
+
styles: tableRowStyles,
|
294
|
+
renderer: litRender,
|
295
|
+
template: TableRowTemplate,
|
296
|
+
dependencies: [CheckBox],
|
297
|
+
})
|
298
|
+
/**
|
299
|
+
* Fired when a row in `Active` mode is clicked or `Enter` key is pressed.
|
300
|
+
* @since 2.0.0
|
301
|
+
* @private
|
302
|
+
*/
|
303
|
+
,
|
304
|
+
event("row-click"),
|
305
|
+
event("_focused")
|
306
|
+
/**
|
307
|
+
* Fired on selection change of an active row.
|
308
|
+
* @since 2.0.0
|
309
|
+
* @private
|
310
|
+
*/
|
311
|
+
,
|
312
|
+
event("selection-requested")
|
313
|
+
/**
|
314
|
+
* Fired when F7 is pressed.
|
315
|
+
* @since 2.0.0
|
316
|
+
* @private
|
317
|
+
*/
|
318
|
+
,
|
319
|
+
event("f7-pressed")
|
320
|
+
], TableRow);
|
321
|
+
TableRow.define();
|
322
|
+
export default TableRow;
|
323
|
+
//# sourceMappingURL=TableRow.js.map
|
@@ -0,0 +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,CAAC;AACrF,OAAO,QAAQ,MAAM,qDAAqD,CAAC;AAC3E,OAAO,KAAK,MAAM,kDAAkD,CAAC;AACrE,OAAO,IAAI,MAAM,iDAAiD,CAAC;AAGnE,OAAO,EAAE,aAAa,EAAE,MAAM,4CAA4C,CAAC;AAC3E,OAAO,SAAS,MAAM,sDAAsD,CAAC;AAC7E,OAAO,EACN,OAAO,EACP,OAAO,EACP,IAAI,EACJ,SAAS,EACT,aAAa,GACb,MAAM,sCAAsC,CAAC;AAC9C,OAAO,gBAAgB,MAAM,uDAAuD,CAAC;AACrF,OAAO,EAAE,sBAAsB,EAAE,MAAM,uDAAuD,CAAC;AAC/F,OAAO,EAAE,YAAY,EAAE,MAAM,8CAA8C,CAAC;AAC5E,OAAO,QAAQ,MAAM,qCAAqC,CAAC;AAG3D,OAAO,SAAS,MAAM,sBAAsB,CAAC;AAC7C,OAAO,YAAY,MAAM,yBAAyB,CAAC;AACnD,OAAO,uBAAuB,MAAM,oCAAoC,CAAC;AACzE,OAAO,gBAAgB,MAAM,+CAA+C,CAAC;AAC7E,OAAO,EACN,wBAAwB,EACxB,sBAAsB,EACtB,kBAAkB,GAClB,MAAM,mCAAmC,CAAC;AAE3C,SAAS;AACT,OAAO,cAAc,MAAM,oCAAoC,CAAC;AAsBhE;;;;;;;;;;;;GAYG;AA2BH,IAAM,QAAQ,gBAAd,MAAM,QAAS,SAAQ,UAAU;IAiFhC;QACC,KAAK,EAAE,CAAC;QAVT,iBAAY,GAAqB,EAAE,CAAC;QACpC,eAAU,GAA2B,EAAE,CAAC;QAIxC,2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AE,CAAC;2CACR;AASpB;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,YAAY,EAAE,SAAS,CAAC,IAAI,EAAE,CAAC;sCACtC;AAStB;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;wCACX;AAGjB;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8CACL;AAGtC;IADC,QAAQ,CAAC,EAAE,YAAY,EAAE,IAAI,EAAE,CAAC;gDACT;AAGxB;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;4CACP;AAGrB;IADC,QAAQ,CAAC,EAAE,YAAY,EAAE,EAAE,EAAE,WAAW,EAAE,IAAI,EAAE,CAAC;oDACtB;AAS5B;IADC,IAAI,CAAC,EAAE,IAAI,EAAE,WAAW,EAAE,SAAS,EAAE,IAAI,EAAE,eAAe,EAAE,IAAI,EAAE,CAAC;uCAC3C;AApEpB,QAAQ;IA1Bb,aAAa,CAAC;QACd,GAAG,EAAE,eAAe;QACpB,MAAM,EAAE,cAAc;QACtB,QAAQ,EAAE,SAAS;QACnB,QAAQ,EAAE,gBAAgB;QAC1B,YAAY,EAAE,CAAC,QAAQ,CAAC;KACxB,CAAC;IACF;;;;OAIG;;IACF,KAAK,CAAC,WAAW,CAAC;IAClB,KAAK,CAAC,UAAU,CAAC;IAClB;;;;OAIG;;IACF,KAAK,CAAC,qBAAqB,CAAC;IAC7B;;;;OAIG;;IACF,KAAK,CAAC,YAAY,CAAC;GACd,QAAQ,CAuVb;AAED,QAAQ,CAAC,MAAM,EAAE,CAAC;AAElB,eAAe,QAAQ,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.js\";\nimport slot from \"@ui5/webcomponents-base/dist/decorators/slot.js\";\nimport type I18nBundle from \"@ui5/webcomponents-base/dist/i18nBundle.js\";\nimport type { PassiveEventListenerObject } from \"@ui5/webcomponents-base/dist/types.js\";\nimport { getI18nBundle } from \"@ui5/webcomponents-base/dist/i18nBundle.js\";\nimport litRender from \"@ui5/webcomponents-base/dist/renderer/LitRenderer.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 { getEventMark } from \"@ui5/webcomponents-base/dist/MarkedEvents.js\";\nimport CheckBox from \"@ui5/webcomponents/dist/CheckBox.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 \"./generated/templates/TableRowTemplate.lit.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: litRender,\n\ttemplate: TableRowTemplate,\n\tdependencies: [CheckBox],\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@event(\"_focused\")\n/**\n * Fired on selection change of an active row.\n * @since 2.0.0\n * @private\n */\n@event(\"selection-requested\")\n/**\n * Fired when F7 is pressed.\n * @since 2.0.0\n * @private\n */\n@event(\"f7-pressed\")\nclass TableRow extends UI5Element implements ITableRow {\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({ type: TableRowType, defaultValue: TableRowType.Inactive })\n\ttype!: `${TableRowType}`;\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!: boolean;\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!: boolean;\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({ type: TableMode, defaultValue: TableMode.None })\n\tmode!: `${TableMode}`;\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!: boolean;\n\n\t@property({ type: Object, multiple: true })\n\t_columnsInfo!: Array<TableColumnInfo>;\n\n\t@property({ defaultValue: \"-1\" })\n\tforcedTabIndex!: string;\n\n\t@property({ type: Boolean })\n\tforcedBusy!: boolean;\n\n\t@property({ defaultValue: \"\", 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\tstatic i18nBundle: I18nBundle;\n\n\tvisibleCells: Array<TableCell> = [];\n\tpopinCells: Array<TableColumnInfo> = [];\n\n\t_ontouchstart: PassiveEventListenerObject;\n\n\t// Properties, set and handled by the Table\n\ttabbableElements: Array<HTMLElement> = [];\n\t_columnsInfoString = \"\";\n\n\tconstructor() {\n\t\tsuper();\n\n\t\tconst handleToushStartEvent = () => {\n\t\t\tthis.activate();\n\t\t};\n\n\t\tthis._ontouchstart = {\n\t\t\thandleEvent: handleToushStartEvent,\n\t\t\tpassive: true,\n\t\t};\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);\n\t\tconst lastFocusableElement = elements.pop();\n\n\t\tif (isTabNext(e) && activeElement === (lastFocusableElement || this.root)) {\n\t\t\tthis.fireEvent<TableRowForwardAfterEventDetail>(\"_forward-after\", { target: activeElement });\n\t\t}\n\n\t\tif (isTabPrevious(e) && activeElement === this.root) {\n\t\t\tthis.fireEvent<TableRowForwardBeforeEventDetail>(\"_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.fireEvent<TableRowSelectionRequestedEventDetail>(\"selection-requested\", { row: this });\n\t\t\t}\n\n\t\t\tif (isEnter(e) && itemActive) {\n\t\t\t\tthis.fireEvent<TableRowClickEventDetail>(\"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.fireEvent<TableRowF7PressEventDetail>(\"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.fireEvent(\"_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\t\tif (getEventMark(e) === \"button\") {\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.fireEvent<TableRowClickEventDetail>(\"row-click\", { row: this });\n\t\t\t}\n\t\t}\n\t}\n\n\t_handleSelection() {\n\t\tthis.fireEvent<TableRowSelectionRequestedEventDetail>(\"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() {\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 = 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\tstatic async onDefine() {\n\t\tTableRow.i18nBundle = await getI18nBundle(\"@ui5/webcomponents\");\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"]}
|
@@ -0,0 +1 @@
|
|
1
|
+
export {};
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"bundle.common.bootstrap.js","sourceRoot":"","sources":["../src/bundle.common.bootstrap.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,0CAA0C,CAAC;AAE3E,eAAe,CAAC,+BAA+B,CAAC,CAAC","sourcesContent":["import { setRuntimeAlias } from \"@ui5/webcomponents-base/dist/Runtimes.js\";\n\nsetRuntimeAlias(\"UI5 Web Components Playground\");\n"]}
|
@@ -0,0 +1,13 @@
|
|
1
|
+
/* eslint-disable @typescript-eslint/no-unused-vars */
|
2
|
+
import testAssets from "@ui5/webcomponents/dist/bundle.esm.js";
|
3
|
+
import * as defaultFioriTexts from "./generated/i18n/i18n-defaults.js";
|
4
|
+
// Compat assets
|
5
|
+
import "./Assets.js";
|
6
|
+
import "./Table.js";
|
7
|
+
import "./TableColumn.js";
|
8
|
+
import "./TableRow.js";
|
9
|
+
import "./TableGroupRow.js";
|
10
|
+
import "./TableCell.js";
|
11
|
+
testAssets.defaultTexts = { ...testAssets.defaultTexts, ...defaultFioriTexts };
|
12
|
+
export default testAssets;
|
13
|
+
//# sourceMappingURL=bundle.esm.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"bundle.esm.js","sourceRoot":"","sources":["../src/bundle.esm.ts"],"names":[],"mappings":"AAAA,sDAAsD;AACtD,OAAO,UAAU,MAAM,uCAAuC,CAAC;AAC/D,OAAO,KAAK,iBAAiB,MAAM,mCAAmC,CAAC;AAEvE,gBAAgB;AAChB,OAAO,aAAa,CAAC;AAErB,OAAkB,YAAY,CAAC;AAC/B,OAAwB,kBAAkB,CAAC;AAC3C,OAAqB,eAAe,CAAC;AACrC,OAA0B,oBAAoB,CAAC;AAC/C,OAAsB,gBAAgB,CAAC;AAEvC,UAAU,CAAC,YAAY,GAAG,EAAE,GAAG,UAAU,CAAC,YAAY,EAAE,GAAG,iBAAiB,EAAE,CAAC;AAC/E,eAAe,UAAU,CAAC","sourcesContent":["/* eslint-disable @typescript-eslint/no-unused-vars */\nimport testAssets from \"@ui5/webcomponents/dist/bundle.esm.js\";\nimport * as defaultFioriTexts from \"./generated/i18n/i18n-defaults.js\";\n\n// Compat assets\nimport \"./Assets.js\";\n\nimport Table from \"./Table.js\";\nimport TableColumn from \"./TableColumn.js\";\nimport TableRow from \"./TableRow.js\";\nimport TableGroupRow from \"./TableGroupRow.js\";\nimport TableCell from \"./TableCell.js\";\n\ntestAssets.defaultTexts = { ...testAssets.defaultTexts, ...defaultFioriTexts };\nexport default testAssets;\n"]}
|
@@ -0,0 +1,8 @@
|
|
1
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
2
|
+
import { setCustomElementsScopingSuffix } from "@ui5/webcomponents-base/dist/CustomElementsScope.js";
|
3
|
+
setCustomElementsScopingSuffix("demo");
|
4
|
+
// setCustomElementsScopingRules({include: [/^ui5-/], exclude: [/^ui5-button/, /ui5-icon/]});
|
5
|
+
// eslint-disable-next-line import/first
|
6
|
+
import testAssets from "./bundle.esm.js";
|
7
|
+
export default testAssets;
|
8
|
+
//# sourceMappingURL=bundle.scoped.esm.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"bundle.scoped.esm.js","sourceRoot":"","sources":["../src/bundle.scoped.esm.ts"],"names":[],"mappings":"AAAA,6DAA6D;AAC7D,OAAO,EAAE,8BAA8B,EAAiC,MAAM,qDAAqD,CAAC;AAEpI,8BAA8B,CAAC,MAAM,CAAC,CAAC;AACvC,6FAA6F;AAE7F,wCAAwC;AACxC,OAAO,UAAU,MAAM,iBAAiB,CAAC;AAEzC,eAAe,UAAU,CAAC","sourcesContent":["// eslint-disable-next-line @typescript-eslint/no-unused-vars\nimport { setCustomElementsScopingSuffix, setCustomElementsScopingRules } from \"@ui5/webcomponents-base/dist/CustomElementsScope.js\";\n\nsetCustomElementsScopingSuffix(\"demo\");\n// setCustomElementsScopingRules({include: [/^ui5-/], exclude: [/^ui5-button/, /ui5-icon/]});\n\n// eslint-disable-next-line import/first\nimport testAssets from \"./bundle.esm.js\";\n\nexport default testAssets;\n"]}
|
@@ -0,0 +1 @@
|
|
1
|
+
[growing-button]{display:flex;align-items:center;padding:var(--_ui5-v2-0-0-rc-3_load_more_padding);border-top:1px solid var(--sapList_BorderColor);border-bottom:var(--_ui5-v2-0-0-rc-3_load_more_border-bottom);box-sizing:border-box;cursor:pointer;outline:none}[growing-button-inner]{display:flex;align-items:center;justify-content:center;flex-direction:column;min-height:var(--_ui5-v2-0-0-rc-3_load_more_text_height);width:100%;color:var(--sapButton_TextColor);background-color:var(--sapList_Background);border:var(--_ui5-v2-0-0-rc-3_load_more_border);border-radius:var(--_ui5-v2-0-0-rc-3_load_more_border_radius);box-sizing:border-box}[growing-button-inner]:focus{outline:var(--_ui5-v2-0-0-rc-3_load_more_outline_width) var(--sapContent_FocusStyle) var(--sapContent_FocusColor);outline-offset:-.125rem;border-color:transparent}[growing-button-inner]:hover{background-color:var(--sapList_Hover_Background)}[growing-button-inner]:active,[growing-button-inner][active]{background-color:var(--sapList_Active_Background);border-color:var(--sapList_Active_Background)}[growing-button-inner]:active>*,[growing-button-inner][active]>*{color:var(--sapList_Active_TextColor)}[growing-button-text],[growing-button-subtext]{width:100%;text-align:center;font-family:"72override",var(--sapFontFamily);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;box-sizing:border-box}[growing-button-text]{height:var(--_ui5-v2-0-0-rc-3_load_more_text_height);padding:.875rem 1rem 0;font-size:var(--_ui5-v2-0-0-rc-3_load_more_text_font_size);font-weight:700}[growing-button-subtext]{font-size:var(--sapFontSize);padding:var(--_ui5-v2-0-0-rc-3_load_more_desc_padding)}
|
@@ -0,0 +1 @@
|
|
1
|
+
[growing-button]{display:flex;align-items:center;padding:var(--_ui5-v2-0-0-rc-3_load_more_padding);border-top:1px solid var(--sapList_BorderColor);border-bottom:var(--_ui5-v2-0-0-rc-3_load_more_border-bottom);box-sizing:border-box;cursor:pointer;outline:none}[growing-button-inner]{display:flex;align-items:center;justify-content:center;flex-direction:column;min-height:var(--_ui5-v2-0-0-rc-3_load_more_text_height);width:100%;color:var(--sapButton_TextColor);background-color:var(--sapList_Background);border:var(--_ui5-v2-0-0-rc-3_load_more_border);border-radius:var(--_ui5-v2-0-0-rc-3_load_more_border_radius);box-sizing:border-box}[growing-button-inner]:focus{outline:var(--_ui5-v2-0-0-rc-3_load_more_outline_width) var(--sapContent_FocusStyle) var(--sapContent_FocusColor);outline-offset:-.125rem;border-color:transparent}[growing-button-inner]:hover{background-color:var(--sapList_Hover_Background)}[growing-button-inner]:active,[growing-button-inner][active]{background-color:var(--sapList_Active_Background);border-color:var(--sapList_Active_Background)}[growing-button-inner]:active>*,[growing-button-inner][active]>*{color:var(--sapList_Active_TextColor)}[growing-button-text],[growing-button-subtext]{width:100%;text-align:center;font-family:"72override",var(--sapFontFamily);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;box-sizing:border-box}[growing-button-text]{height:var(--_ui5-v2-0-0-rc-3_load_more_text_height);padding:.875rem 1rem 0;font-size:var(--_ui5-v2-0-0-rc-3_load_more_text_font_size);font-weight:700}[growing-button-subtext]{font-size:var(--sapFontSize);padding:var(--_ui5-v2-0-0-rc-3_load_more_desc_padding)}:host(:not([hidden])){display:inline-block;width:100%}.ui5-table-root{position:relative;border-bottom:var(--ui5-v2-0-0-rc-3_table_bottom_border)}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-0-0-rc-3_table_header_row_height);font-family:"72override",var(--sapFontFamily);font-size:var(--sapFontSize);font-weight:var(--ui5-v2-0-0-rc-3_table_header_row_font_weight);border-bottom:var(--ui5-v2-0-0-rc-3_table_header_row_border_width) solid var(--ui5-v2-0-0-rc-3_table_header_row_border_bottom_color)}.ui5-table-header-row:focus{outline:var(--ui5-v2-0-0-rc-3_table_header_row_outline_width) var(--sapContent_FocusStyle) var(--sapContent_FocusColor);outline-offset:var(--ui5-v2-0-0-rc-3_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-busy-row{position:absolute;inset:0;outline:none;z-index:100}:host([busy]) .ui5-table-busy-ind{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);z-index:1}:host([busy]) [growing-button]{opacity:.72}:host [growing-button]{border-bottom:var(--_ui5-v2-0-0-rc-3_table_load_more_border-bottom)}.ui5-table-select-all-column{width:var(--ui5-v2-0-0-rc-3_table_multiselect_column_width);text-align:center}:host([sticky-column-header]) .ui5-table-header-row{position:sticky;top:0;z-index:99}th{background:var(--sapList_HeaderBackground)}.ui5-table-focusarea{position:fixed}
|
@@ -0,0 +1 @@
|
|
1
|
+
:host{display:table-cell;font-family:"72override",var(--sapFontFamily);font-size:.875rem;height:var(--ui5-v2-0-0-rc-3_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}
|
@@ -0,0 +1 @@
|
|
1
|
+
:host{display:contents}th{background:var(--sapList_HeaderBackground);width:inherit;font-weight:var(--ui5-v2-0-0-rc-3_table_header_row_font_weight);font-size:var(--sapFontMediumSize);font-family:var(--ui5-v2-0-0-rc-3_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-0-0-rc-3_table_header_row_font_weight);font-size:var(--sapFontMediumSize);font-family:var(--ui5-v2-0-0-rc-3_table_header_row_font_family)}
|
@@ -0,0 +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-0-0-rc-3_table_group_row_height);border-style:solid;border-color:var(--sapList_TableGroupHeaderBorderColor);border-width:var(--ui5-v2-0-0-rc-3_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-0-0-rc-3_table_group_row_font-weight)}.ui5-table-group-row-root:focus{outline:var(--ui5-v2-0-0-rc-3_table_row_outline_width) var(--sapContent_FocusStyle) var(--sapContent_FocusColor);outline-offset:var(--ui5-v2-0-0-rc-3_table_focus_outline_offset)}td{word-break:break-word;vertical-align:middle;padding:.5rem .25rem .5rem 1rem;text-align:start}
|
@@ -0,0 +1 @@
|
|
1
|
+
:host{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)}.ui5-table-row-root:focus{outline:var(--ui5-v2-0-0-rc-3_table_row_outline_width) var(--sapContent_FocusStyle) var(--sapContent_FocusColor);outline-offset:var(--ui5-v2-0-0-rc-3_table_focus_outline_offset)}.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-0-0-rc-3_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)}
|
@@ -0,0 +1 @@
|
|
1
|
+
:root{--ui5-v2-0-0-rc-3_table_bottom_border: 1px solid var(--sapList_BorderColor);--ui5-v2-0-0-rc-3_table_header_row_outline_width: 1px;--ui5-v2-0-0-rc-3_table_multiselect_column_width: 2.75rem;--ui5-v2-0-0-rc-3_table_header_row_font_family: var(--sapFontFamily);--ui5-v2-0-0-rc-3_table_header_row_border_bottom_color: var(--sapList_BorderColor);--ui5-v2-0-0-rc-3_table_header_row_border_width: 1px;--_ui5-v2-0-0-rc-3_table_load_more_border-bottom: none;--ui5-v2-0-0-rc-3_table_header_row_font_weight: normal;--ui5-v2-0-0-rc-3_table_row_outline_width: 1px;--ui5-v2-0-0-rc-3_table_multiselect_popin_row_padding: 3.25rem;--ui5-v2-0-0-rc-3_table_group_row_font-weight: normal;--ui5-v2-0-0-rc-3_table_border_width: 0 0 1px 0;--_ui5-v2-0-0-rc-3_load_more_padding: 0;--_ui5-v2-0-0-rc-3_load_more_border: 1px top solid transparent;--_ui5-v2-0-0-rc-3_load_more_border_radius: none;--_ui5-v2-0-0-rc-3_load_more_outline_width: 1px;--_ui5-v2-0-0-rc-3_load_more_text_height: 2.75rem;--_ui5-v2-0-0-rc-3_load_more_text_font_size: var(--sapFontMediumSize);--_ui5-v2-0-0-rc-3_load_more_desc_padding: .375rem 2rem .875rem 2rem;--ui5-v2-0-0-rc-3_table_header_row_height: 2.75rem;--ui5-v2-0-0-rc-3_table_row_height: 2.75rem;--ui5-v2-0-0-rc-3_table_focus_outline_offset: -.125rem;--ui5-v2-0-0-rc-3_table_group_row_height: 2rem}[data-ui5-compact-size],.ui5-content-density-compact,.sapUiSizeCompact{--_ui5-v2-0-0-rc-3_load_more_text_height: 2.625rem;--_ui5-v2-0-0-rc-3_load_more_text_font_size: var(--sapFontSize);--_ui5-v2-0-0-rc-3_load_more_desc_padding: 0 2rem .875rem 2rem;--ui5-v2-0-0-rc-3_table_header_row_height: 2rem;--ui5-v2-0-0-rc-3_table_row_height: 2rem}
|
@@ -0,0 +1 @@
|
|
1
|
+
:root{--ui5-v2-0-0-rc-3_table_bottom_border: 1px solid var(--sapList_BorderColor);--ui5-v2-0-0-rc-3_table_header_row_outline_width: 1px;--ui5-v2-0-0-rc-3_table_multiselect_column_width: 2.75rem;--ui5-v2-0-0-rc-3_table_header_row_font_family: var(--sapFontFamily);--ui5-v2-0-0-rc-3_table_header_row_border_bottom_color: var(--sapList_BorderColor);--ui5-v2-0-0-rc-3_table_header_row_border_width: 1px;--_ui5-v2-0-0-rc-3_table_load_more_border-bottom: none;--ui5-v2-0-0-rc-3_table_header_row_font_weight: normal;--ui5-v2-0-0-rc-3_table_row_outline_width: 1px;--ui5-v2-0-0-rc-3_table_multiselect_popin_row_padding: 3.25rem;--ui5-v2-0-0-rc-3_table_group_row_font-weight: normal;--ui5-v2-0-0-rc-3_table_border_width: 0 0 1px 0;--_ui5-v2-0-0-rc-3_load_more_padding: 0;--_ui5-v2-0-0-rc-3_load_more_border: 1px top solid transparent;--_ui5-v2-0-0-rc-3_load_more_border_radius: none;--_ui5-v2-0-0-rc-3_load_more_outline_width: 1px;--_ui5-v2-0-0-rc-3_load_more_text_height: 2.75rem;--_ui5-v2-0-0-rc-3_load_more_text_font_size: var(--sapFontMediumSize);--_ui5-v2-0-0-rc-3_load_more_desc_padding: .375rem 2rem .875rem 2rem;--ui5-v2-0-0-rc-3_table_header_row_height: 2.75rem;--ui5-v2-0-0-rc-3_table_row_height: 2.75rem;--ui5-v2-0-0-rc-3_table_focus_outline_offset: -.125rem;--ui5-v2-0-0-rc-3_table_group_row_height: 2rem}[data-ui5-compact-size],.ui5-content-density-compact,.sapUiSizeCompact{--_ui5-v2-0-0-rc-3_load_more_text_height: 2.625rem;--_ui5-v2-0-0-rc-3_load_more_text_font_size: var(--sapFontSize);--_ui5-v2-0-0-rc-3_load_more_desc_padding: 0 2rem .875rem 2rem;--ui5-v2-0-0-rc-3_table_header_row_height: 2rem;--ui5-v2-0-0-rc-3_table_row_height: 2rem}
|
@@ -0,0 +1 @@
|
|
1
|
+
:root{--ui5-v2-0-0-rc-3_table_bottom_border: 1px solid var(--sapList_BorderColor);--ui5-v2-0-0-rc-3_table_multiselect_column_width: 2.75rem;--ui5-v2-0-0-rc-3_table_header_row_font_family: var(--sapFontFamily);--ui5-v2-0-0-rc-3_table_header_row_border_bottom_color: var(--sapList_BorderColor);--ui5-v2-0-0-rc-3_table_header_row_border_width: 1px;--_ui5-v2-0-0-rc-3_table_load_more_border-bottom: none;--ui5-v2-0-0-rc-3_table_header_row_outline_width: .125rem;--ui5-v2-0-0-rc-3_table_header_row_font_weight: normal;--ui5-v2-0-0-rc-3_table_multiselect_popin_row_padding: 3.25rem;--ui5-v2-0-0-rc-3_table_row_outline_width: .125rem;--ui5-v2-0-0-rc-3_table_group_row_font-weight: normal;--ui5-v2-0-0-rc-3_table_border_width: 0 0 1px 0;--_ui5-v2-0-0-rc-3_load_more_padding: .25rem;--_ui5-v2-0-0-rc-3_load_more_border: 1px solid var(--sapButton_BorderColor);--_ui5-v2-0-0-rc-3_load_more_border_radius: .375rem;--_ui5-v2-0-0-rc-3_load_more_outline_width: .125rem;--_ui5-v2-0-0-rc-3_load_more_text_height: 2.75rem;--_ui5-v2-0-0-rc-3_load_more_text_font_size: var(--sapFontMediumSize);--_ui5-v2-0-0-rc-3_load_more_desc_padding: .375rem 2rem .875rem 2rem;--ui5-v2-0-0-rc-3_table_header_row_height: 2.75rem;--ui5-v2-0-0-rc-3_table_row_height: 2.75rem;--ui5-v2-0-0-rc-3_table_focus_outline_offset: -.125rem;--ui5-v2-0-0-rc-3_table_group_row_height: 2rem}[data-ui5-compact-size],.ui5-content-density-compact,.sapUiSizeCompact{--_ui5-v2-0-0-rc-3_load_more_text_height: 2.625rem;--_ui5-v2-0-0-rc-3_load_more_text_font_size: var(--sapFontSize);--_ui5-v2-0-0-rc-3_load_more_desc_padding: 0 2rem .875rem 2rem;--ui5-v2-0-0-rc-3_table_header_row_height: 2rem;--ui5-v2-0-0-rc-3_table_row_height: 2rem}
|
@@ -0,0 +1 @@
|
|
1
|
+
:root{--ui5-v2-0-0-rc-3_table_bottom_border: 1px solid var(--sapList_BorderColor);--ui5-v2-0-0-rc-3_table_multiselect_column_width: 2.75rem;--ui5-v2-0-0-rc-3_table_header_row_font_family: var(--sapFontFamily);--ui5-v2-0-0-rc-3_table_header_row_border_bottom_color: var(--sapList_BorderColor);--ui5-v2-0-0-rc-3_table_header_row_border_width: 1px;--_ui5-v2-0-0-rc-3_table_load_more_border-bottom: none;--ui5-v2-0-0-rc-3_table_header_row_outline_width: .125rem;--ui5-v2-0-0-rc-3_table_header_row_font_weight: normal;--ui5-v2-0-0-rc-3_table_multiselect_popin_row_padding: 3.25rem;--ui5-v2-0-0-rc-3_table_row_outline_width: .125rem;--ui5-v2-0-0-rc-3_table_group_row_font-weight: normal;--ui5-v2-0-0-rc-3_table_border_width: 0 0 1px 0;--_ui5-v2-0-0-rc-3_load_more_padding: .25rem;--_ui5-v2-0-0-rc-3_load_more_border: 1px solid var(--sapButton_BorderColor);--_ui5-v2-0-0-rc-3_load_more_border_radius: .375rem;--_ui5-v2-0-0-rc-3_load_more_outline_width: .125rem;--_ui5-v2-0-0-rc-3_load_more_text_height: 2.75rem;--_ui5-v2-0-0-rc-3_load_more_text_font_size: var(--sapFontMediumSize);--_ui5-v2-0-0-rc-3_load_more_desc_padding: .375rem 2rem .875rem 2rem;--ui5-v2-0-0-rc-3_table_header_row_height: 2.75rem;--ui5-v2-0-0-rc-3_table_row_height: 2.75rem;--ui5-v2-0-0-rc-3_table_focus_outline_offset: -.125rem;--ui5-v2-0-0-rc-3_table_group_row_height: 2rem}[data-ui5-compact-size],.ui5-content-density-compact,.sapUiSizeCompact{--_ui5-v2-0-0-rc-3_load_more_text_height: 2.625rem;--_ui5-v2-0-0-rc-3_load_more_text_font_size: var(--sapFontSize);--_ui5-v2-0-0-rc-3_load_more_desc_padding: 0 2rem .875rem 2rem;--ui5-v2-0-0-rc-3_table_header_row_height: 2rem;--ui5-v2-0-0-rc-3_table_row_height: 2rem}
|
@@ -0,0 +1 @@
|
|
1
|
+
:root{--ui5-v2-0-0-rc-3_table_bottom_border: 1px solid var(--sapList_BorderColor);--ui5-v2-0-0-rc-3_table_multiselect_column_width: 2.75rem;--ui5-v2-0-0-rc-3_table_header_row_border_width: 1px;--_ui5-v2-0-0-rc-3_table_load_more_border-bottom: none;--ui5-v2-0-0-rc-3_table_header_row_outline_width: var(--sapContent_FocusWidth);--ui5-v2-0-0-rc-3_table_header_row_font_family: var(--sapFontSemiboldDuplexFamily);--ui5-v2-0-0-rc-3_table_header_row_border_bottom_color: var(--sapList_HeaderBorderColor);--ui5-v2-0-0-rc-3_table_header_row_font_weight: bold;--ui5-v2-0-0-rc-3_table_multiselect_popin_row_padding: 3.25rem;--ui5-v2-0-0-rc-3_table_row_outline_width: var(--sapContent_FocusWidth);--ui5-v2-0-0-rc-3_table_group_row_font-weight: bold;--ui5-v2-0-0-rc-3_table_border_width: 1px 0 1px 0;--_ui5-v2-0-0-rc-3_load_more_padding: 0;--_ui5-v2-0-0-rc-3_load_more_border: 1px top solid transparent;--_ui5-v2-0-0-rc-3_load_more_border_radius: none;--_ui5-v2-0-0-rc-3_load_more_outline_width: var(--sapContent_FocusWidth);--_ui5-v2-0-0-rc-3_load_more_border-bottom: var(--sapList_BorderWidth) solid var(--sapList_BorderColor);--_ui5-v2-0-0-rc-3_load_more_text_height: 2.75rem;--_ui5-v2-0-0-rc-3_load_more_text_font_size: var(--sapFontMediumSize);--_ui5-v2-0-0-rc-3_load_more_desc_padding: .375rem 2rem .875rem 2rem;--ui5-v2-0-0-rc-3_table_header_row_height: 2.75rem;--ui5-v2-0-0-rc-3_table_row_height: 2.75rem;--ui5-v2-0-0-rc-3_table_focus_outline_offset: -.125rem;--ui5-v2-0-0-rc-3_table_group_row_height: 2rem}[data-ui5-compact-size],.ui5-content-density-compact,.sapUiSizeCompact{--_ui5-v2-0-0-rc-3_load_more_text_height: 2.625rem;--_ui5-v2-0-0-rc-3_load_more_text_font_size: var(--sapFontSize);--_ui5-v2-0-0-rc-3_load_more_desc_padding: 0 2rem .875rem 2rem;--ui5-v2-0-0-rc-3_table_header_row_height: 2rem;--ui5-v2-0-0-rc-3_table_row_height: 2rem}
|
@@ -0,0 +1 @@
|
|
1
|
+
:root{--ui5-v2-0-0-rc-3_table_bottom_border: 1px solid var(--sapList_BorderColor);--ui5-v2-0-0-rc-3_table_multiselect_column_width: 2.75rem;--ui5-v2-0-0-rc-3_table_header_row_border_width: 1px;--_ui5-v2-0-0-rc-3_table_load_more_border-bottom: none;--ui5-v2-0-0-rc-3_table_header_row_outline_width: var(--sapContent_FocusWidth);--ui5-v2-0-0-rc-3_table_header_row_font_family: var(--sapFontSemiboldDuplexFamily);--ui5-v2-0-0-rc-3_table_header_row_border_bottom_color: var(--sapList_HeaderBorderColor);--ui5-v2-0-0-rc-3_table_header_row_font_weight: bold;--ui5-v2-0-0-rc-3_table_multiselect_popin_row_padding: 3.25rem;--ui5-v2-0-0-rc-3_table_row_outline_width: var(--sapContent_FocusWidth);--ui5-v2-0-0-rc-3_table_group_row_font-weight: bold;--ui5-v2-0-0-rc-3_table_border_width: 1px 0 1px 0;--_ui5-v2-0-0-rc-3_load_more_padding: 0;--_ui5-v2-0-0-rc-3_load_more_border: 1px top solid transparent;--_ui5-v2-0-0-rc-3_load_more_border_radius: none;--_ui5-v2-0-0-rc-3_load_more_outline_width: var(--sapContent_FocusWidth);--_ui5-v2-0-0-rc-3_load_more_border-bottom: var(--sapList_BorderWidth) solid var(--sapList_BorderColor);--_ui5-v2-0-0-rc-3_load_more_text_height: 2.75rem;--_ui5-v2-0-0-rc-3_load_more_text_font_size: var(--sapFontMediumSize);--_ui5-v2-0-0-rc-3_load_more_desc_padding: .375rem 2rem .875rem 2rem;--ui5-v2-0-0-rc-3_table_header_row_height: 2.75rem;--ui5-v2-0-0-rc-3_table_row_height: 2.75rem;--ui5-v2-0-0-rc-3_table_focus_outline_offset: -.125rem;--ui5-v2-0-0-rc-3_table_group_row_height: 2rem}[data-ui5-compact-size],.ui5-content-density-compact,.sapUiSizeCompact{--_ui5-v2-0-0-rc-3_load_more_text_height: 2.625rem;--_ui5-v2-0-0-rc-3_load_more_text_font_size: var(--sapFontSize);--_ui5-v2-0-0-rc-3_load_more_desc_padding: 0 2rem .875rem 2rem;--ui5-v2-0-0-rc-3_table_header_row_height: 2rem;--ui5-v2-0-0-rc-3_table_row_height: 2rem}
|
@@ -0,0 +1 @@
|
|
1
|
+
:root{--ui5-v2-0-0-rc-3_table_bottom_border: 1px solid var(--sapList_BorderColor);--ui5-v2-0-0-rc-3_table_multiselect_column_width: 2.75rem;--_ui5-v2-0-0-rc-3_table_load_more_border-bottom: none;--ui5-v2-0-0-rc-3_table_header_row_outline_width: .125rem;--ui5-v2-0-0-rc-3_table_header_row_font_family: var(--sapFontSemiboldDuplexFamily);--ui5-v2-0-0-rc-3_table_header_row_border_bottom_color: var(--sapList_HeaderBorderColor);--ui5-v2-0-0-rc-3_table_header_row_border_width: .1875rem;--ui5-v2-0-0-rc-3_table_header_row_font_weight: normal;--ui5-v2-0-0-rc-3_table_multiselect_popin_row_padding: 3.25rem;--ui5-v2-0-0-rc-3_table_row_outline_width: .125rem;--ui5-v2-0-0-rc-3_table_group_row_font-weight: bold;--ui5-v2-0-0-rc-3_table_border_width: 1px 0 1px 0;--_ui5-v2-0-0-rc-3_load_more_padding: .25rem;--_ui5-v2-0-0-rc-3_load_more_border: 1px solid var(--sapButton_BorderColor);--_ui5-v2-0-0-rc-3_load_more_border_radius: .375rem;--_ui5-v2-0-0-rc-3_load_more_outline_width: .125rem;--_ui5-v2-0-0-rc-3_load_more_text_height: 2.75rem;--_ui5-v2-0-0-rc-3_load_more_text_font_size: var(--sapFontMediumSize);--_ui5-v2-0-0-rc-3_load_more_desc_padding: .375rem 2rem .875rem 2rem;--ui5-v2-0-0-rc-3_table_header_row_height: 2.75rem;--ui5-v2-0-0-rc-3_table_row_height: 2.75rem;--ui5-v2-0-0-rc-3_table_focus_outline_offset: -.125rem;--ui5-v2-0-0-rc-3_table_group_row_height: 2rem}[data-ui5-compact-size],.ui5-content-density-compact,.sapUiSizeCompact{--_ui5-v2-0-0-rc-3_load_more_text_height: 2.625rem;--_ui5-v2-0-0-rc-3_load_more_text_font_size: var(--sapFontSize);--_ui5-v2-0-0-rc-3_load_more_desc_padding: 0 2rem .875rem 2rem;--ui5-v2-0-0-rc-3_table_header_row_height: 2rem;--ui5-v2-0-0-rc-3_table_row_height: 2rem}
|
@@ -0,0 +1 @@
|
|
1
|
+
:root{--ui5-v2-0-0-rc-3_table_bottom_border: 1px solid var(--sapList_BorderColor);--ui5-v2-0-0-rc-3_table_multiselect_column_width: 2.75rem;--_ui5-v2-0-0-rc-3_table_load_more_border-bottom: none;--ui5-v2-0-0-rc-3_table_header_row_outline_width: .125rem;--ui5-v2-0-0-rc-3_table_header_row_font_family: var(--sapFontSemiboldDuplexFamily);--ui5-v2-0-0-rc-3_table_header_row_border_bottom_color: var(--sapList_HeaderBorderColor);--ui5-v2-0-0-rc-3_table_header_row_border_width: .1875rem;--ui5-v2-0-0-rc-3_table_header_row_font_weight: normal;--ui5-v2-0-0-rc-3_table_multiselect_popin_row_padding: 3.25rem;--ui5-v2-0-0-rc-3_table_row_outline_width: .125rem;--ui5-v2-0-0-rc-3_table_group_row_font-weight: bold;--ui5-v2-0-0-rc-3_table_border_width: 1px 0 1px 0;--_ui5-v2-0-0-rc-3_load_more_padding: .25rem;--_ui5-v2-0-0-rc-3_load_more_border: 1px solid var(--sapButton_BorderColor);--_ui5-v2-0-0-rc-3_load_more_border_radius: .375rem;--_ui5-v2-0-0-rc-3_load_more_outline_width: .125rem;--_ui5-v2-0-0-rc-3_load_more_text_height: 2.75rem;--_ui5-v2-0-0-rc-3_load_more_text_font_size: var(--sapFontMediumSize);--_ui5-v2-0-0-rc-3_load_more_desc_padding: .375rem 2rem .875rem 2rem;--ui5-v2-0-0-rc-3_table_header_row_height: 2.75rem;--ui5-v2-0-0-rc-3_table_row_height: 2.75rem;--ui5-v2-0-0-rc-3_table_focus_outline_offset: -.125rem;--ui5-v2-0-0-rc-3_table_group_row_height: 2rem}[data-ui5-compact-size],.ui5-content-density-compact,.sapUiSizeCompact{--_ui5-v2-0-0-rc-3_load_more_text_height: 2.625rem;--_ui5-v2-0-0-rc-3_load_more_text_font_size: var(--sapFontSize);--_ui5-v2-0-0-rc-3_load_more_desc_padding: 0 2rem .875rem 2rem;--ui5-v2-0-0-rc-3_table_header_row_height: 2rem;--ui5-v2-0-0-rc-3_table_row_height: 2rem}
|