@ui5/webcomponents-compat 2.5.0 → 2.6.0-rc.1

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.
Files changed (124) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/dist/Table.d.ts +2 -2
  3. package/dist/Table.js +3 -3
  4. package/dist/Table.js.map +1 -1
  5. package/dist/TableCell.js +3 -3
  6. package/dist/TableCell.js.map +1 -1
  7. package/dist/TableCellTemplate.d.ts +2 -0
  8. package/dist/TableCellTemplate.js +5 -0
  9. package/dist/TableCellTemplate.js.map +1 -0
  10. package/dist/TableColumn.js +3 -3
  11. package/dist/TableColumn.js.map +1 -1
  12. package/dist/TableColumnTemplate.d.ts +2 -0
  13. package/dist/TableColumnTemplate.js +5 -0
  14. package/dist/TableColumnTemplate.js.map +1 -0
  15. package/dist/TableGroupRow.js +3 -3
  16. package/dist/TableGroupRow.js.map +1 -1
  17. package/dist/TableGroupRowTemplate.d.ts +2 -0
  18. package/dist/TableGroupRowTemplate.js +5 -0
  19. package/dist/TableGroupRowTemplate.js.map +1 -0
  20. package/dist/TableRow.d.ts +4 -6
  21. package/dist/TableRow.js +13 -17
  22. package/dist/TableRow.js.map +1 -1
  23. package/dist/TableRowTemplate.d.ts +2 -0
  24. package/dist/TableRowTemplate.js +15 -0
  25. package/dist/TableRowTemplate.js.map +1 -0
  26. package/dist/TableTemplate.d.ts +2 -0
  27. package/dist/TableTemplate.js +20 -0
  28. package/dist/TableTemplate.js.map +1 -0
  29. package/dist/css/themes/GrowingButton.css +1 -1
  30. package/dist/css/themes/Table.css +1 -1
  31. package/dist/css/themes/TableCell.css +1 -1
  32. package/dist/css/themes/TableColumn.css +1 -1
  33. package/dist/css/themes/TableGroupRow.css +1 -1
  34. package/dist/css/themes/TableRow.css +1 -1
  35. package/dist/css/themes/sap_fiori_3/parameters-bundle.css +1 -1
  36. package/dist/css/themes/sap_fiori_3_dark/parameters-bundle.css +1 -1
  37. package/dist/css/themes/sap_fiori_3_hcb/parameters-bundle.css +1 -1
  38. package/dist/css/themes/sap_fiori_3_hcw/parameters-bundle.css +1 -1
  39. package/dist/css/themes/sap_horizon/parameters-bundle.css +1 -1
  40. package/dist/css/themes/sap_horizon_dark/parameters-bundle.css +1 -1
  41. package/dist/css/themes/sap_horizon_hcb/parameters-bundle.css +1 -1
  42. package/dist/css/themes/sap_horizon_hcw/parameters-bundle.css +1 -1
  43. package/dist/custom-elements-internal.json +5 -5
  44. package/dist/custom-elements.json +5 -5
  45. package/dist/generated/assets/themes/sap_fiori_3/parameters-bundle.css.json +1 -1
  46. package/dist/generated/assets/themes/sap_fiori_3_dark/parameters-bundle.css.json +1 -1
  47. package/dist/generated/assets/themes/sap_fiori_3_hcb/parameters-bundle.css.json +1 -1
  48. package/dist/generated/assets/themes/sap_fiori_3_hcw/parameters-bundle.css.json +1 -1
  49. package/dist/generated/assets/themes/sap_horizon/parameters-bundle.css.json +1 -1
  50. package/dist/generated/assets/themes/sap_horizon_dark/parameters-bundle.css.json +1 -1
  51. package/dist/generated/assets/themes/sap_horizon_hcb/parameters-bundle.css.json +1 -1
  52. package/dist/generated/assets/themes/sap_horizon_hcw/parameters-bundle.css.json +1 -1
  53. package/dist/generated/themes/GrowingButton.css.d.ts +2 -3
  54. package/dist/generated/themes/GrowingButton.css.js +2 -3
  55. package/dist/generated/themes/GrowingButton.css.js.map +1 -1
  56. package/dist/generated/themes/Table.css.d.ts +2 -3
  57. package/dist/generated/themes/Table.css.js +2 -3
  58. package/dist/generated/themes/Table.css.js.map +1 -1
  59. package/dist/generated/themes/TableCell.css.d.ts +2 -3
  60. package/dist/generated/themes/TableCell.css.js +2 -3
  61. package/dist/generated/themes/TableCell.css.js.map +1 -1
  62. package/dist/generated/themes/TableColumn.css.d.ts +2 -3
  63. package/dist/generated/themes/TableColumn.css.js +2 -3
  64. package/dist/generated/themes/TableColumn.css.js.map +1 -1
  65. package/dist/generated/themes/TableGroupRow.css.d.ts +2 -3
  66. package/dist/generated/themes/TableGroupRow.css.js +2 -3
  67. package/dist/generated/themes/TableGroupRow.css.js.map +1 -1
  68. package/dist/generated/themes/TableRow.css.d.ts +2 -3
  69. package/dist/generated/themes/TableRow.css.js +2 -3
  70. package/dist/generated/themes/TableRow.css.js.map +1 -1
  71. package/dist/generated/themes/sap_fiori_3/parameters-bundle.css.d.ts +2 -3
  72. package/dist/generated/themes/sap_fiori_3/parameters-bundle.css.js +2 -3
  73. package/dist/generated/themes/sap_fiori_3/parameters-bundle.css.js.map +1 -1
  74. package/dist/generated/themes/sap_fiori_3_dark/parameters-bundle.css.d.ts +2 -3
  75. package/dist/generated/themes/sap_fiori_3_dark/parameters-bundle.css.js +2 -3
  76. package/dist/generated/themes/sap_fiori_3_dark/parameters-bundle.css.js.map +1 -1
  77. package/dist/generated/themes/sap_fiori_3_hcb/parameters-bundle.css.d.ts +2 -3
  78. package/dist/generated/themes/sap_fiori_3_hcb/parameters-bundle.css.js +2 -3
  79. package/dist/generated/themes/sap_fiori_3_hcb/parameters-bundle.css.js.map +1 -1
  80. package/dist/generated/themes/sap_fiori_3_hcw/parameters-bundle.css.d.ts +2 -3
  81. package/dist/generated/themes/sap_fiori_3_hcw/parameters-bundle.css.js +2 -3
  82. package/dist/generated/themes/sap_fiori_3_hcw/parameters-bundle.css.js.map +1 -1
  83. package/dist/generated/themes/sap_horizon/parameters-bundle.css.d.ts +2 -3
  84. package/dist/generated/themes/sap_horizon/parameters-bundle.css.js +2 -3
  85. package/dist/generated/themes/sap_horizon/parameters-bundle.css.js.map +1 -1
  86. package/dist/generated/themes/sap_horizon_dark/parameters-bundle.css.d.ts +2 -3
  87. package/dist/generated/themes/sap_horizon_dark/parameters-bundle.css.js +2 -3
  88. package/dist/generated/themes/sap_horizon_dark/parameters-bundle.css.js.map +1 -1
  89. package/dist/generated/themes/sap_horizon_hcb/parameters-bundle.css.d.ts +2 -3
  90. package/dist/generated/themes/sap_horizon_hcb/parameters-bundle.css.js +2 -3
  91. package/dist/generated/themes/sap_horizon_hcb/parameters-bundle.css.js.map +1 -1
  92. package/dist/generated/themes/sap_horizon_hcw/parameters-bundle.css.d.ts +2 -3
  93. package/dist/generated/themes/sap_horizon_hcw/parameters-bundle.css.js +2 -3
  94. package/dist/generated/themes/sap_horizon_hcw/parameters-bundle.css.js.map +1 -1
  95. package/dist/tsconfig.tsbuildinfo +1 -1
  96. package/dist/web-types.json +1 -1
  97. package/package.json +7 -7
  98. package/src/TableCellTemplate.tsx +13 -0
  99. package/src/TableColumnTemplate.tsx +13 -0
  100. package/src/TableGroupRowTemplate.tsx +17 -0
  101. package/src/TableRowTemplate.tsx +92 -0
  102. package/src/TableTemplate.tsx +129 -0
  103. package/src/themes/GrowingButton.css +12 -12
  104. package/src/themes/Table.css +2 -2
  105. package/dist/generated/templates/TableCellTemplate.lit.d.ts +0 -4
  106. package/dist/generated/templates/TableCellTemplate.lit.js +0 -5
  107. package/dist/generated/templates/TableCellTemplate.lit.js.map +0 -1
  108. package/dist/generated/templates/TableColumnTemplate.lit.d.ts +0 -4
  109. package/dist/generated/templates/TableColumnTemplate.lit.js +0 -5
  110. package/dist/generated/templates/TableColumnTemplate.lit.js.map +0 -1
  111. package/dist/generated/templates/TableGroupRowTemplate.lit.d.ts +0 -4
  112. package/dist/generated/templates/TableGroupRowTemplate.lit.js +0 -5
  113. package/dist/generated/templates/TableGroupRowTemplate.lit.js.map +0 -1
  114. package/dist/generated/templates/TableRowTemplate.lit.d.ts +0 -4
  115. package/dist/generated/templates/TableRowTemplate.lit.js +0 -16
  116. package/dist/generated/templates/TableRowTemplate.lit.js.map +0 -1
  117. package/dist/generated/templates/TableTemplate.lit.d.ts +0 -4
  118. package/dist/generated/templates/TableTemplate.lit.js +0 -14
  119. package/dist/generated/templates/TableTemplate.lit.js.map +0 -1
  120. package/src/Table.hbs +0 -112
  121. package/src/TableCell.hbs +0 -7
  122. package/src/TableColumn.hbs +0 -7
  123. package/src/TableGroupRow.hbs +0 -11
  124. package/src/TableRow.hbs +0 -85
@@ -1,4 +0,0 @@
1
- import type UI5Element from "@ui5/webcomponents-base/dist/UI5Element.js";
2
- import type TableColumn from "../../TableColumn.js";
3
- declare function block0(this: TableColumn, context: UI5Element, tags: string[], suffix: string | undefined): import("lit-html").TemplateResult;
4
- export default block0;
@@ -1,5 +0,0 @@
1
- /* eslint no-unused-vars: 0 */
2
- import { html, svg, repeat, classMap, styleMap, ifDefined, unsafeHTML, scopeTag } from "@ui5/webcomponents-base/dist/renderer/LitRenderer.js";
3
- function block0(context, tags, suffix) { return html `<th scope="col" part="column" role="columnheader"><slot></slot></th>`; }
4
- export default block0;
5
- //# sourceMappingURL=TableColumnTemplate.lit.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"TableColumnTemplate.lit.js","sourceRoot":"","sources":["../../../src/generated/templates/TableColumnTemplate.lit.ts"],"names":[],"mappings":"AAAA,8BAA8B;AAC9B,OAAO,EAAE,IAAI,EAAE,GAAG,EAAE,MAAM,EAAE,QAAQ,EAAE,QAAQ,EAAE,SAAS,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,sDAAsD,CAAC;AAK9I,SAAS,MAAM,CAAqB,OAAmB,EAAE,IAAc,EAAE,MAA0B,IAAI,OAAO,IAAI,CAAA,sEAAsE,CAAC,CAAA,CAAC;AAG1L,eAAe,MAAM,CAAC","sourcesContent":["/* eslint no-unused-vars: 0 */\nimport { html, svg, repeat, classMap, styleMap, ifDefined, unsafeHTML, scopeTag } from \"@ui5/webcomponents-base/dist/renderer/LitRenderer.js\";\nimport type UI5Element from \"@ui5/webcomponents-base/dist/UI5Element.js\";\nimport type TableColumn from \"../../TableColumn.js\";\nimport type { ClassMapValue } from \"@ui5/webcomponents-base/dist/types.js\";\n\t\nfunction block0 (this: TableColumn, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<th scope=\"col\" part=\"column\" role=\"columnheader\"><slot></slot></th>`;}\n\n\nexport default block0;"]}
@@ -1,4 +0,0 @@
1
- import type UI5Element from "@ui5/webcomponents-base/dist/UI5Element.js";
2
- import type TableGroupRow from "../../TableGroupRow.js";
3
- declare function block0(this: TableGroupRow, context: UI5Element, tags: string[], suffix: string | undefined): import("lit-html").TemplateResult;
4
- export default block0;
@@ -1,5 +0,0 @@
1
- /* eslint no-unused-vars: 0 */
2
- import { html, svg, repeat, classMap, styleMap, ifDefined, unsafeHTML, scopeTag } from "@ui5/webcomponents-base/dist/renderer/LitRenderer.js";
3
- function block0(context, tags, suffix) { return html `<tr class="ui5-table-group-row-root" part="group-row" aria-label=${ifDefined(this.ariaLabelText)} tabindex="${ifDefined(this.forcedTabIndex)}" @focusin="${this._onfocusin}"><td colspan=${ifDefined(this.colSpan)}><slot></slot></td></tr>`; }
4
- export default block0;
5
- //# sourceMappingURL=TableGroupRowTemplate.lit.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"TableGroupRowTemplate.lit.js","sourceRoot":"","sources":["../../../src/generated/templates/TableGroupRowTemplate.lit.ts"],"names":[],"mappings":"AAAA,8BAA8B;AAC9B,OAAO,EAAE,IAAI,EAAE,GAAG,EAAE,MAAM,EAAE,QAAQ,EAAE,QAAQ,EAAE,SAAS,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,sDAAsD,CAAC;AAK9I,SAAS,MAAM,CAAuB,OAAmB,EAAE,IAAc,EAAE,MAA0B,IAAI,OAAO,IAAI,CAAA,oEAAoE,SAAS,CAAC,IAAI,CAAC,aAAa,CAAC,cAAc,SAAS,CAAC,IAAI,CAAC,cAAc,CAAC,eAAe,IAAI,CAAC,UAAU,iBAAiB,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC,0BAA0B,CAAC,CAAA,CAAC;AAGnW,eAAe,MAAM,CAAC","sourcesContent":["/* eslint no-unused-vars: 0 */\nimport { html, svg, repeat, classMap, styleMap, ifDefined, unsafeHTML, scopeTag } from \"@ui5/webcomponents-base/dist/renderer/LitRenderer.js\";\nimport type UI5Element from \"@ui5/webcomponents-base/dist/UI5Element.js\";\nimport type TableGroupRow from \"../../TableGroupRow.js\";\nimport type { ClassMapValue } from \"@ui5/webcomponents-base/dist/types.js\";\n\t\nfunction block0 (this: TableGroupRow, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<tr class=\"ui5-table-group-row-root\" part=\"group-row\" aria-label=${ifDefined(this.ariaLabelText)} tabindex=\"${ifDefined(this.forcedTabIndex)}\" @focusin=\"${this._onfocusin}\"><td colspan=${ifDefined(this.colSpan)}><slot></slot></td></tr>`;}\n\n\nexport default block0;"]}
@@ -1,4 +0,0 @@
1
- import type UI5Element from "@ui5/webcomponents-base/dist/UI5Element.js";
2
- import type TableRow from "../../TableRow.js";
3
- declare function block0(this: TableRow, context: UI5Element, tags: string[], suffix: string | undefined): import("lit-html").TemplateResult;
4
- export default block0;
@@ -1,16 +0,0 @@
1
- /* eslint no-unused-vars: 0 */
2
- import { html, svg, repeat, classMap, styleMap, ifDefined, unsafeHTML, scopeTag } from "@ui5/webcomponents-base/dist/renderer/LitRenderer.js";
3
- function block0(context, tags, suffix) { return html `<tr class="ui5-table-row-root" tabindex="${ifDefined(this.forcedTabIndex)}" @focusin="${this._onfocusin}" @focusout="${this._onfocusout}" @click="${this._onrowclick}" @keydown="${this._onkeydown}" @keyup="${this._onkeyup}" @mouseup="${this._onmouseup}" @touchstart="${this._ontouchstart}" @touchend="${this._ontouchend}" aria-label="${ifDefined(this.ariaLabelText)}" aria-selected="${ifDefined(this.selected)}" aria-current="${ifDefined(this._ariaCurrent)}" data-sap-focus-ref part="row">${this.isMultiSelect ? block1.call(this, context, tags, suffix) : undefined}${this.shouldPopin ? block2.call(this, context, tags, suffix) : block4.call(this, context, tags, suffix)}<td class="ui5-table-row-navigated" aria-hidden="true"><div class="ui5-table-div-navigated"></div></td></tr>${this.shouldPopin ? block6.call(this, context, tags, suffix) : undefined} `; }
4
- function block1(context, tags, suffix) { return suffix ? html `<td class="ui5-table-multi-select-cell" aria-hidden="true" role="presentation"><${scopeTag("ui5-checkbox", tags, suffix)} class="ui5-multi-select-checkbox" ?checked="${this.selected}" accessible-name="${ifDefined(this.ariaLabelRowSelection)}" @ui5-change="${ifDefined(this._handleSelection)}" tabindex="-1"></${scopeTag("ui5-checkbox", tags, suffix)}></td>` : html `<td class="ui5-table-multi-select-cell" aria-hidden="true" role="presentation"><ui5-checkbox class="ui5-multi-select-checkbox" ?checked="${this.selected}" accessible-name="${ifDefined(this.ariaLabelRowSelection)}" @ui5-change="${ifDefined(this._handleSelection)}" tabindex="-1"></ui5-checkbox></td>`; }
5
- function block2(context, tags, suffix) { return html `${repeat(this.visibleCells, (item, index) => item._id || index, (item, index) => block3.call(this, context, tags, suffix, item, index))}`; }
6
- function block3(context, tags, suffix, item, index) { return html `<slot name="${ifDefined(item._individualSlot)}"></slot>`; }
7
- function block4(context, tags, suffix) { return html `${repeat(this.cells, (item, index) => item._id || index, (item, index) => block5.call(this, context, tags, suffix, item, index))}`; }
8
- function block5(context, tags, suffix, item, index) { return html `<slot name="${ifDefined(item._individualSlot)}"></slot>`; }
9
- function block6(context, tags, suffix) { return html `${repeat(this.popinCells, (item, index) => item._id || index, (item, index) => block7.call(this, context, tags, suffix, item, index))}`; }
10
- function block7(context, tags, suffix, item, index) { return html `<tr part="popin-row" class="${ifDefined(item.classes)}" @click="${this._onrowclick}" @keydown="${this._onkeydown}" @keyup="${this._onkeyup}"><td colspan="${ifDefined(this.visibleCellsCount)}" role="cell">${item.popinDisplayInline ? block8.call(this, context, tags, suffix, item, index) : block10.call(this, context, tags, suffix, item, index)}</td><td class="ui5-table-row-navigated" aria-hidden="true"><div class="ui5-table-div-navigated"></div></td></tr>`; }
11
- function block8(context, tags, suffix, item, index) { return html `<div class="ui5-table-display-inline-container">${item.popinText ? block9.call(this, context, tags, suffix, item, index) : undefined}<span class="ui5-table-cell-display-inline"><slot name="${ifDefined(item.cell._individualSlot)}"></slot></span></div>`; }
12
- function block9(context, tags, suffix, item, index) { return html `<span class="ui5-table-row-popin-title">${ifDefined(item.popinText)}:</span>`; }
13
- function block10(context, tags, suffix, item, index) { return html `${item.popinText ? block11.call(this, context, tags, suffix, item, index) : undefined}<div><slot name="${ifDefined(item.cell._individualSlot)}"></slot></div>`; }
14
- function block11(context, tags, suffix, item, index) { return html `<span class="ui5-table-row-popin-title">${ifDefined(item.popinText)}:</span>`; }
15
- export default block0;
16
- //# sourceMappingURL=TableRowTemplate.lit.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"TableRowTemplate.lit.js","sourceRoot":"","sources":["../../../src/generated/templates/TableRowTemplate.lit.ts"],"names":[],"mappings":"AAAA,8BAA8B;AAC9B,OAAO,EAAE,IAAI,EAAE,GAAG,EAAE,MAAM,EAAE,QAAQ,EAAE,QAAQ,EAAE,SAAS,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,sDAAsD,CAAC;AAK9I,SAAS,MAAM,CAAkB,OAAmB,EAAE,IAAc,EAAE,MAA0B,IAAI,OAAO,IAAI,CAAA,4CAA4C,SAAS,CAAC,IAAI,CAAC,cAAc,CAAC,eAAe,IAAI,CAAC,UAAU,gBAAgB,IAAI,CAAC,WAAW,aAAa,IAAI,CAAC,WAAW,eAAe,IAAI,CAAC,UAAU,aAAa,IAAI,CAAC,QAAQ,eAAe,IAAI,CAAC,UAAU,kBAAkB,IAAI,CAAC,aAAa,gBAAgB,IAAI,CAAC,WAAW,iBAAiB,SAAS,CAAC,IAAI,CAAC,aAAa,CAAC,oBAAoB,SAAS,CAAC,IAAI,CAAC,QAAQ,CAAC,mBAAmB,SAAS,CAAC,IAAI,CAAC,YAAY,CAAC,mCAAoC,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,CAAC,CAAC,CAAC,CAAC,SAAU,GAAI,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,CAAC,CAAC,CAAC,CAAC,M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EAAE,IAAc,EAAE,MAA0B,EAAE,IAAS,EAAE,KAAa,IAAI,OAAO,IAAI,CAAA,2CAA2C,SAAS,CAAC,IAAI,CAAC,SAAS,CAAC,UAAU,CAAC,CAAA,CAAC;AAG1N,eAAe,MAAM,CAAC","sourcesContent":["/* eslint no-unused-vars: 0 */\nimport { html, svg, repeat, classMap, styleMap, ifDefined, unsafeHTML, scopeTag } from \"@ui5/webcomponents-base/dist/renderer/LitRenderer.js\";\nimport type UI5Element from \"@ui5/webcomponents-base/dist/UI5Element.js\";\nimport type TableRow from \"../../TableRow.js\";\nimport type { ClassMapValue } from \"@ui5/webcomponents-base/dist/types.js\";\n\t\nfunction block0 (this: TableRow, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<tr class=\"ui5-table-row-root\" tabindex=\"${ifDefined(this.forcedTabIndex)}\" @focusin=\"${this._onfocusin}\" @focusout=\"${this._onfocusout}\" @click=\"${this._onrowclick}\" @keydown=\"${this._onkeydown}\" @keyup=\"${this._onkeyup}\" @mouseup=\"${this._onmouseup}\" @touchstart=\"${this._ontouchstart}\" @touchend=\"${this._ontouchend}\" aria-label=\"${ifDefined(this.ariaLabelText)}\" aria-selected=\"${ifDefined(this.selected)}\" aria-current=\"${ifDefined(this._ariaCurrent)}\" data-sap-focus-ref part=\"row\">${ this.isMultiSelect ? block1.call(this, context, tags, suffix) : undefined }${ this.shouldPopin ? block2.call(this, context, tags, suffix) : block4.call(this, context, tags, suffix) }<td class=\"ui5-table-row-navigated\" aria-hidden=\"true\"><div class=\"ui5-table-div-navigated\"></div></td></tr>${ this.shouldPopin ? block6.call(this, context, tags, suffix) : undefined } `;}\nfunction block1 (this: TableRow, context: UI5Element, tags: string[], suffix: string | undefined) { return suffix ? html`<td class=\"ui5-table-multi-select-cell\" aria-hidden=\"true\" role=\"presentation\"><${scopeTag(\"ui5-checkbox\", tags, suffix)} class=\"ui5-multi-select-checkbox\" ?checked=\"${this.selected}\" accessible-name=\"${ifDefined(this.ariaLabelRowSelection)}\" @ui5-change=\"${ifDefined(this._handleSelection)}\" tabindex=\"-1\"></${scopeTag(\"ui5-checkbox\", tags, suffix)}></td>` : html`<td class=\"ui5-table-multi-select-cell\" aria-hidden=\"true\" role=\"presentation\"><ui5-checkbox class=\"ui5-multi-select-checkbox\" ?checked=\"${this.selected}\" accessible-name=\"${ifDefined(this.ariaLabelRowSelection)}\" @ui5-change=\"${ifDefined(this._handleSelection)}\" tabindex=\"-1\"></ui5-checkbox></td>`;}\nfunction block2 (this: TableRow, context: UI5Element, tags: string[], suffix: string | undefined) { return html`${ repeat(this.visibleCells, (item, index) => (item as typeof item & {_id?: any})._id || index, (item, index: number) => block3.call(this, context, tags, suffix, item, index)) }`;}\nfunction block3 (this: TableRow, context: UI5Element, tags: string[], suffix: string | undefined, item: any, index: number) { return html`<slot name=\"${ifDefined(item._individualSlot)}\"></slot>`;}\nfunction block4 (this: TableRow, context: UI5Element, tags: string[], suffix: string | undefined) { return html`${ repeat(this.cells, (item, index) => (item as typeof item & {_id?: any})._id || index, (item, index: number) => block5.call(this, context, tags, suffix, item, index)) }`;}\nfunction block5 (this: TableRow, context: UI5Element, tags: string[], suffix: string | undefined, item: any, index: number) { return html`<slot name=\"${ifDefined(item._individualSlot)}\"></slot>`;}\nfunction block6 (this: TableRow, context: UI5Element, tags: string[], suffix: string | undefined) { return html`${ repeat(this.popinCells, (item, index) => (item as typeof item & {_id?: any})._id || index, (item, index: number) => block7.call(this, context, tags, suffix, item, index)) }`;}\nfunction block7 (this: TableRow, context: UI5Element, tags: string[], suffix: string | undefined, item: any, index: number) { return html`<tr part=\"popin-row\" class=\"${ifDefined(item.classes)}\" @click=\"${this._onrowclick}\" @keydown=\"${this._onkeydown}\" @keyup=\"${this._onkeyup}\"><td colspan=\"${ifDefined(this.visibleCellsCount)}\" role=\"cell\">${ item.popinDisplayInline ? block8.call(this, context, tags, suffix, item, index) : block10.call(this, context, tags, suffix, item, index) }</td><td class=\"ui5-table-row-navigated\" aria-hidden=\"true\"><div class=\"ui5-table-div-navigated\"></div></td></tr>`;}\nfunction block8 (this: TableRow, context: UI5Element, tags: string[], suffix: string | undefined, item: any, index: number) { return html`<div class=\"ui5-table-display-inline-container\">${ item.popinText ? block9.call(this, context, tags, suffix, item, index) : undefined }<span class=\"ui5-table-cell-display-inline\"><slot name=\"${ifDefined(item.cell._individualSlot)}\"></slot></span></div>`;}\nfunction block9 (this: TableRow, context: UI5Element, tags: string[], suffix: string | undefined, item: any, index: number) { return html`<span class=\"ui5-table-row-popin-title\">${ifDefined(item.popinText)}:</span>`;}\nfunction block10 (this: TableRow, context: UI5Element, tags: string[], suffix: string | undefined, item: any, index: number) { return html`${ item.popinText ? block11.call(this, context, tags, suffix, item, index) : undefined }<div><slot name=\"${ifDefined(item.cell._individualSlot)}\"></slot></div>`;}\nfunction block11 (this: TableRow, context: UI5Element, tags: string[], suffix: string | undefined, item: any, index: number) { return html`<span class=\"ui5-table-row-popin-title\">${ifDefined(item.popinText)}:</span>`;}\n\n\nexport default block0;"]}
@@ -1,4 +0,0 @@
1
- import type UI5Element from "@ui5/webcomponents-base/dist/UI5Element.js";
2
- import type Table from "../../Table.js";
3
- declare function block0(this: Table, context: UI5Element, tags: string[], suffix: string | undefined): import("lit-html").TemplateResult;
4
- export default block0;
@@ -1,14 +0,0 @@
1
- /* eslint no-unused-vars: 0 */
2
- import { html, svg, repeat, classMap, styleMap, ifDefined, unsafeHTML, scopeTag } from "@ui5/webcomponents-base/dist/renderer/LitRenderer.js";
3
- function block0(context, tags, suffix) { return suffix ? html `<div class="ui5-table-root" @ui5-selection-requested="${ifDefined(this._handleSelect)}" @ui5-_forward-after="${ifDefined(this._onForwardAfter)}" @ui5-_forward-before="${ifDefined(this._onForwardBefore)}" @focusin="${this._onfocusin}"><${scopeTag("ui5-busy-indicator", tags, suffix)} id="${ifDefined(this._id)}-busyIndicator" delay="${ifDefined(this.busyDelay)}" ?active="${this.busy}" class="ui5-table-busy-indicator"><div id="${ifDefined(this._id)}-before" tabindex="0" class="ui5-table-focusarea"></div><table border="0" cellspacing="0" cellpadding="0" @keydown="${this._onkeydown}" role="table" aria-label="${ifDefined(this.tableAriaLabelText)}"><thead><tr id="${ifDefined(this._columnHeader.id)}" class="ui5-table-header-row" aria-label="${ifDefined(this.ariaLabelText)}" tabindex="${ifDefined(this._columnHeader.forcedTabIndex)}" @click="${this._onColumnHeaderClick}" @focusin="${this._onColumnHeaderFocused}" @keydown="${this._onColumnHeaderKeydown}">${this.isMultiSelect ? block1.call(this, context, tags, suffix) : undefined}${repeat(this.visibleColumns, (item, index) => item._id || index, (item, index) => block3.call(this, context, tags, suffix, item, index))}<th class="ui5-table-header-row-navigated" aria-hidden="true"></th></tr></thead><tbody>${repeat(this.rows, (item, index) => item._id || index, (item, index) => block4.call(this, context, tags, suffix, item, index))}${!this.rows.length ? block5.call(this, context, tags, suffix) : undefined}${this.growsWithButton ? block7.call(this, context, tags, suffix) : undefined}${this.growsOnScroll ? block9.call(this, context, tags, suffix) : undefined}</tbody></table><div id="${ifDefined(this._id)}-after" tabindex="0" class="ui5-table-focusarea"></div></div></${scopeTag("ui5-busy-indicator", tags, suffix)}>` : html `<div class="ui5-table-root" @ui5-selection-requested="${ifDefined(this._handleSelect)}" @ui5-_forward-after="${ifDefined(this._onForwardAfter)}" @ui5-_forward-before="${ifDefined(this._onForwardBefore)}" @focusin="${this._onfocusin}"><ui5-busy-indicator id="${ifDefined(this._id)}-busyIndicator" delay="${ifDefined(this.busyDelay)}" ?active="${this.busy}" class="ui5-table-busy-indicator"><div id="${ifDefined(this._id)}-before" tabindex="0" class="ui5-table-focusarea"></div><table border="0" cellspacing="0" cellpadding="0" @keydown="${this._onkeydown}" role="table" aria-label="${ifDefined(this.tableAriaLabelText)}"><thead><tr id="${ifDefined(this._columnHeader.id)}" class="ui5-table-header-row" aria-label="${ifDefined(this.ariaLabelText)}" tabindex="${ifDefined(this._columnHeader.forcedTabIndex)}" @click="${this._onColumnHeaderClick}" @focusin="${this._onColumnHeaderFocused}" @keydown="${this._onColumnHeaderKeydown}">${this.isMultiSelect ? block1.call(this, context, tags, suffix) : undefined}${repeat(this.visibleColumns, (item, index) => item._id || index, (item, index) => block3.call(this, context, tags, suffix, item, index))}<th class="ui5-table-header-row-navigated" aria-hidden="true"></th></tr></thead><tbody>${repeat(this.rows, (item, index) => item._id || index, (item, index) => block4.call(this, context, tags, suffix, item, index))}${!this.rows.length ? block5.call(this, context, tags, suffix) : undefined}${this.growsWithButton ? block7.call(this, context, tags, suffix) : undefined}${this.growsOnScroll ? block9.call(this, context, tags, suffix) : undefined}</tbody></table><div id="${ifDefined(this._id)}-after" tabindex="0" class="ui5-table-focusarea"></div></div></ui5-busy-indicator>`; }
4
- function block1(context, tags, suffix) { return html `<th class="ui5-table-select-all-column" role="presentation" aria-hidden="true">${this.rows.length ? block2.call(this, context, tags, suffix) : undefined}</th>`; }
5
- function block2(context, tags, suffix) { return suffix ? html `<${scopeTag("ui5-checkbox", tags, suffix)} class="ui5-table-select-all-checkbox" ?checked="${this._allRowsSelected}" @ui5-change="${ifDefined(this._selectAll)}" accessible-name="${ifDefined(this.ariaLabelSelectAllText)}" tabindex="-1"></${scopeTag("ui5-checkbox", tags, suffix)}>` : html `<ui5-checkbox class="ui5-table-select-all-checkbox" ?checked="${this._allRowsSelected}" @ui5-change="${ifDefined(this._selectAll)}" accessible-name="${ifDefined(this.ariaLabelSelectAllText)}" tabindex="-1"></ui5-checkbox>`; }
6
- function block3(context, tags, suffix, item, index) { return html `<slot name="${ifDefined(item._individualSlot)}"></slot>`; }
7
- function block4(context, tags, suffix, item, index) { return html `<slot name="${ifDefined(item._individualSlot)}"></slot>`; }
8
- function block5(context, tags, suffix) { return html `${!this.hideNoData ? block6.call(this, context, tags, suffix) : undefined}`; }
9
- function block6(context, tags, suffix) { return html `<tr class="ui5-table-no-data-row-root"><td colspan="${ifDefined(this.visibleColumnsCount)}" role="cell" style="width: 100%"><div class="ui5-table-no-data-row"><span>${ifDefined(this.noDataText)}</span></div></td></tr>`; }
10
- function block7(context, tags, suffix) { return html `<tr><td colspan="${ifDefined(this.visibleColumnsCount)}"><div growing-button><div id="${ifDefined(this._id)}-growingButton" tabindex="0" role="button" aria-labelledby="${ifDefined(this.loadMoreAriaLabelledBy)}" ?active="${this._loadMoreActive}" @click="${this._onLoadMoreClick}" @keydown="${this._onLoadMoreKeydown}" @keyup="${this._onLoadMoreKeyup}" growing-button-inner><span id="${ifDefined(this._id)}-growingButton-text" growing-button-text>${ifDefined(this._growingButtonText)}</span>${this.growingButtonSubtext ? block8.call(this, context, tags, suffix) : undefined}</div></div></td></tr>`; }
11
- function block8(context, tags, suffix) { return html `<span id="${ifDefined(this._id)}-growingButton-subtext" growing-button-subtext>${ifDefined(this.growingButtonSubtext)}</span>`; }
12
- function block9(context, tags, suffix) { return html `<tr tabindex="-1" aria-hidden="true" class="ui5-table-end-row"><td tabindex="-1"><span tabindex="-1" aria-hidden="true" class="ui5-table-end-marker"></span></td></tr>`; }
13
- export default block0;
14
- //# sourceMappingURL=TableTemplate.lit.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"TableTemplate.lit.js","sourceRoot":"","sources":["../../../src/generated/templates/TableTemplate.lit.ts"],"names":[],"mappings":"AAAA,8BAA8B;AAC9B,OAAO,EAAE,IAAI,EAAE,GAAG,EAAE,MAAM,EAAE,QAAQ,EAAE,QAAQ,EAAE,SAAS,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,sDAAsD,CAAC;AAK9I,SAAS,MAAM,CAAe,OAAmB,EAAE,IAAc,EAAE,MAA0B,IAAI,OAAO,MAAM,CAAC,CAAC,CAAC,IAAI,CAAA,yDAAyD,SAAS,CAAC,IAAI,CAAC,aAAa,CAAC,0BAA0B,SAAS,CAAC,IAAI,CAAC,eAAe,CAAC,2BAA2B,SAAS,CAAC,IAAI,CAAC,gBAAgB,CAAC,eAAe,IAAI,CAAC,UAAU,MAAM,QAAQ,CAAC,oBAAoB,EAAE,IAAI,EAAE,MAAM,CA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Ac,EAAE,MAA0B,IAAI,OAAO,IAAI,CAAA,uDAAuD,SAAS,CAAC,IAAI,CAAC,mBAAmB,CAAC,8EAA8E,SAAS,CAAC,IAAI,CAAC,UAAU,CAAC,yBAAyB,CAAC,CAAA,CAAC;AACzU,SAAS,MAAM,CAAe,OAAmB,EAAE,IAAc,EAAE,MAA0B,IAAI,OAAO,IAAI,CAAA,oBAAoB,SAAS,CAAC,IAAI,CAAC,mBAAmB,CAAC,kCAAkC,SAAS,CAAC,IAAI,CAAC,GAAG,CAAC,+DAA+D,SAAS,CAAC,IAAI,CAAC,sBAAsB,CAAC,cAAc,IAAI,CAAC,eAAe,aAAa,IAAI,CAAC,gBAAgB,eAAe,IAAI,CAAC,kBAAkB,aAAa,IAAI,CAAC,gBAAgB,oCAAoC,SAAS,CAAC,IAAI,CAAC,GAAG,CAAC,4CAA4C,SAAS,CAAC,IAAI,CAAC,kBAAkB,CAAC,UAAW,IAAI,CAAC,oBAAoB,CAAC,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,CAAC,CAAC,CAAC,CAAC,SAAU,wBAAwB,CAAC,CAAA,CAAC;AACpsB,SAAS,MAAM,CAAe,OAAmB,EAAE,IAAc,EAAE,MAA0B,IAAI,OAAO,IAAI,CAAA,aAAa,SAAS,CAAC,IAAI,CAAC,GAAG,CAAC,kDAAkD,SAAS,CAAC,IAAI,CAAC,oBAAoB,CAAC,SAAS,CAAC,CAAA,CAAC;AAC7O,SAAS,MAAM,CAAe,OAAmB,EAAE,IAAc,EAAE,MAA0B,IAAI,OAAO,IAAI,CAAA,wKAAwK,CAAC,CAAA,CAAC;AAGtR,eAAe,MAAM,CAAC","sourcesContent":["/* eslint no-unused-vars: 0 */\nimport { html, svg, repeat, classMap, styleMap, ifDefined, unsafeHTML, scopeTag } from \"@ui5/webcomponents-base/dist/renderer/LitRenderer.js\";\nimport type UI5Element from \"@ui5/webcomponents-base/dist/UI5Element.js\";\nimport type Table from \"../../Table.js\";\nimport type { ClassMapValue } from \"@ui5/webcomponents-base/dist/types.js\";\n\t\nfunction block0 (this: Table, context: UI5Element, tags: string[], suffix: string | undefined) { return suffix ? html`<div class=\"ui5-table-root\" @ui5-selection-requested=\"${ifDefined(this._handleSelect)}\" @ui5-_forward-after=\"${ifDefined(this._onForwardAfter)}\" @ui5-_forward-before=\"${ifDefined(this._onForwardBefore)}\" @focusin=\"${this._onfocusin}\"><${scopeTag(\"ui5-busy-indicator\", tags, suffix)} id=\"${ifDefined(this._id)}-busyIndicator\" delay=\"${ifDefined(this.busyDelay)}\" ?active=\"${this.busy}\" class=\"ui5-table-busy-indicator\"><div id=\"${ifDefined(this._id)}-before\" tabindex=\"0\" class=\"ui5-table-focusarea\"></div><table border=\"0\" cellspacing=\"0\" cellpadding=\"0\" @keydown=\"${this._onkeydown}\" role=\"table\" aria-label=\"${ifDefined(this.tableAriaLabelText)}\"><thead><tr id=\"${ifDefined(this._columnHeader.id)}\" class=\"ui5-table-header-row\" aria-label=\"${ifDefined(this.ariaLabelText)}\" tabindex=\"${ifDefined(this._columnHeader.forcedTabIndex)}\" @click=\"${this._onColumnHeaderClick}\" @focusin=\"${this._onColumnHeaderFocused}\" @keydown=\"${this._onColumnHeaderKeydown}\">${ this.isMultiSelect ? block1.call(this, context, tags, suffix) : undefined }${ repeat(this.visibleColumns, (item, index) => (item as typeof item & {_id?: any})._id || index, (item, index: number) => block3.call(this, context, tags, suffix, item, index)) }<th class=\"ui5-table-header-row-navigated\" aria-hidden=\"true\"></th></tr></thead><tbody>${ repeat(this.rows, (item, index) => (item as typeof item & {_id?: any})._id || index, (item, index: number) => block4.call(this, context, tags, suffix, item, index)) }${ !this.rows.length ? block5.call(this, context, tags, suffix) : undefined }${ this.growsWithButton ? block7.call(this, context, tags, suffix) : undefined }${ this.growsOnScroll ? block9.call(this, context, tags, suffix) : undefined }</tbody></table><div id=\"${ifDefined(this._id)}-after\" tabindex=\"0\" class=\"ui5-table-focusarea\"></div></div></${scopeTag(\"ui5-busy-indicator\", tags, suffix)}>` : html`<div class=\"ui5-table-root\" @ui5-selection-requested=\"${ifDefined(this._handleSelect)}\" @ui5-_forward-after=\"${ifDefined(this._onForwardAfter)}\" @ui5-_forward-before=\"${ifDefined(this._onForwardBefore)}\" @focusin=\"${this._onfocusin}\"><ui5-busy-indicator id=\"${ifDefined(this._id)}-busyIndicator\" delay=\"${ifDefined(this.busyDelay)}\" ?active=\"${this.busy}\" class=\"ui5-table-busy-indicator\"><div id=\"${ifDefined(this._id)}-before\" tabindex=\"0\" class=\"ui5-table-focusarea\"></div><table border=\"0\" cellspacing=\"0\" cellpadding=\"0\" @keydown=\"${this._onkeydown}\" role=\"table\" aria-label=\"${ifDefined(this.tableAriaLabelText)}\"><thead><tr id=\"${ifDefined(this._columnHeader.id)}\" class=\"ui5-table-header-row\" aria-label=\"${ifDefined(this.ariaLabelText)}\" tabindex=\"${ifDefined(this._columnHeader.forcedTabIndex)}\" @click=\"${this._onColumnHeaderClick}\" @focusin=\"${this._onColumnHeaderFocused}\" @keydown=\"${this._onColumnHeaderKeydown}\">${ this.isMultiSelect ? block1.call(this, context, tags, suffix) : undefined }${ repeat(this.visibleColumns, (item, index) => (item as typeof item & {_id?: any})._id || index, (item, index: number) => block3.call(this, context, tags, suffix, item, index)) }<th class=\"ui5-table-header-row-navigated\" aria-hidden=\"true\"></th></tr></thead><tbody>${ repeat(this.rows, (item, index) => (item as typeof item & {_id?: any})._id || index, (item, index: number) => block4.call(this, context, tags, suffix, item, index)) }${ !this.rows.length ? block5.call(this, context, tags, suffix) : undefined }${ this.growsWithButton ? block7.call(this, context, tags, suffix) : undefined }${ this.growsOnScroll ? block9.call(this, context, tags, suffix) : undefined }</tbody></table><div id=\"${ifDefined(this._id)}-after\" tabindex=\"0\" class=\"ui5-table-focusarea\"></div></div></ui5-busy-indicator>`;}\nfunction block1 (this: Table, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<th class=\"ui5-table-select-all-column\" role=\"presentation\" aria-hidden=\"true\">${ this.rows.length ? block2.call(this, context, tags, suffix) : undefined }</th>`;}\nfunction block2 (this: Table, context: UI5Element, tags: string[], suffix: string | undefined) { return suffix ? html`<${scopeTag(\"ui5-checkbox\", tags, suffix)} class=\"ui5-table-select-all-checkbox\" ?checked=\"${this._allRowsSelected}\" @ui5-change=\"${ifDefined(this._selectAll)}\" accessible-name=\"${ifDefined(this.ariaLabelSelectAllText)}\" tabindex=\"-1\"></${scopeTag(\"ui5-checkbox\", tags, suffix)}>` : html`<ui5-checkbox class=\"ui5-table-select-all-checkbox\" ?checked=\"${this._allRowsSelected}\" @ui5-change=\"${ifDefined(this._selectAll)}\" accessible-name=\"${ifDefined(this.ariaLabelSelectAllText)}\" tabindex=\"-1\"></ui5-checkbox>`;}\nfunction block3 (this: Table, context: UI5Element, tags: string[], suffix: string | undefined, item: any, index: number) { return html`<slot name=\"${ifDefined(item._individualSlot)}\"></slot>`;}\nfunction block4 (this: Table, context: UI5Element, tags: string[], suffix: string | undefined, item: any, index: number) { return html`<slot name=\"${ifDefined(item._individualSlot)}\"></slot>`;}\nfunction block5 (this: Table, context: UI5Element, tags: string[], suffix: string | undefined) { return html`${ !this.hideNoData ? block6.call(this, context, tags, suffix) : undefined }`;}\nfunction block6 (this: Table, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<tr class=\"ui5-table-no-data-row-root\"><td colspan=\"${ifDefined(this.visibleColumnsCount)}\" role=\"cell\" style=\"width: 100%\"><div class=\"ui5-table-no-data-row\"><span>${ifDefined(this.noDataText)}</span></div></td></tr>`;}\nfunction block7 (this: Table, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<tr><td colspan=\"${ifDefined(this.visibleColumnsCount)}\"><div growing-button><div id=\"${ifDefined(this._id)}-growingButton\" tabindex=\"0\" role=\"button\" aria-labelledby=\"${ifDefined(this.loadMoreAriaLabelledBy)}\" ?active=\"${this._loadMoreActive}\" @click=\"${this._onLoadMoreClick}\" @keydown=\"${this._onLoadMoreKeydown}\" @keyup=\"${this._onLoadMoreKeyup}\" growing-button-inner><span id=\"${ifDefined(this._id)}-growingButton-text\" growing-button-text>${ifDefined(this._growingButtonText)}</span>${ this.growingButtonSubtext ? block8.call(this, context, tags, suffix) : undefined }</div></div></td></tr>`;}\nfunction block8 (this: Table, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<span id=\"${ifDefined(this._id)}-growingButton-subtext\" growing-button-subtext>${ifDefined(this.growingButtonSubtext)}</span>`;}\nfunction block9 (this: Table, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<tr tabindex=\"-1\" aria-hidden=\"true\" class=\"ui5-table-end-row\"><td tabindex=\"-1\"><span tabindex=\"-1\" aria-hidden=\"true\" class=\"ui5-table-end-marker\"></span></td></tr>`;}\n\n\nexport default block0;"]}
package/src/Table.hbs DELETED
@@ -1,112 +0,0 @@
1
- <div
2
- class="ui5-table-root"
3
- @ui5-selection-requested="{{_handleSelect}}"
4
- @ui5-_forward-after="{{_onForwardAfter}}"
5
- @ui5-_forward-before="{{_onForwardBefore}}"
6
- @focusin="{{_onfocusin}}"
7
- >
8
- <ui5-busy-indicator
9
- id="{{_id}}-busyIndicator"
10
- delay="{{busyDelay}}"
11
- ?active="{{busy}}"
12
- class="ui5-table-busy-indicator"
13
- >
14
- <div id="{{_id}}-before" tabindex="0" class="ui5-table-focusarea"></div>
15
-
16
- <table border="0" cellspacing="0" cellpadding="0" @keydown="{{_onkeydown}}" role="table" aria-label="{{tableAriaLabelText}}">
17
- <thead>
18
- <tr
19
- id="{{_columnHeader.id}}"
20
- class="ui5-table-header-row"
21
- aria-label="{{ariaLabelText}}"
22
- tabindex="{{_columnHeader.forcedTabIndex}}"
23
- @click="{{_onColumnHeaderClick}}"
24
- @focusin="{{_onColumnHeaderFocused}}"
25
- @keydown="{{_onColumnHeaderKeydown}}"
26
- >
27
- {{#if isMultiSelect}}
28
- <th class="ui5-table-select-all-column" role="presentation" aria-hidden="true">
29
- {{#if rows.length}}
30
- <ui5-checkbox class="ui5-table-select-all-checkbox"
31
- ?checked="{{_allRowsSelected}}"
32
- @ui5-change="{{_selectAll}}"
33
- accessible-name="{{ariaLabelSelectAllText}}"
34
- tabindex="-1"
35
- >
36
- </ui5-checkbox>
37
- {{/if}}
38
- </th>
39
- {{/if}}
40
-
41
- {{#each visibleColumns}}
42
- <slot name="{{this._individualSlot}}"></slot>
43
- {{/each}}
44
- <th class="ui5-table-header-row-navigated" aria-hidden="true"></th>
45
- </tr>
46
- </thead>
47
-
48
- <tbody>
49
- {{#each rows}}
50
- <slot name="{{this._individualSlot}}"></slot>
51
- {{/each}}
52
-
53
- {{#unless rows.length}}
54
- {{#unless hideNoData}}
55
- <tr class="ui5-table-no-data-row-root">
56
- <td colspan="{{visibleColumnsCount}}" role="cell" style="width: 100%">
57
-
58
- <div class="ui5-table-no-data-row">
59
- <span>{{noDataText}}</span>
60
- </div>
61
- </td>
62
- </tr>
63
- {{/unless}}
64
- {{/unless}}
65
-
66
- {{#if growsWithButton}}
67
- {{> moreRow}}
68
- {{/if}}
69
-
70
- {{#if growsOnScroll}}
71
- {{> tableEndRow}}
72
- {{/if}}
73
- </tbody>
74
- </table>
75
-
76
- <div id="{{_id}}-after" tabindex="0" class="ui5-table-focusarea"></div>
77
- </div>
78
- </ui5-busy-indicator>
79
-
80
- {{#*inline "moreRow"}}
81
- <tr>
82
- <td colspan="{{visibleColumnsCount}}">
83
- <div growing-button>
84
- <div
85
- id="{{_id}}-growingButton"
86
- tabindex="0"
87
- role="button"
88
- aria-labelledby="{{loadMoreAriaLabelledBy}}"
89
- ?active="{{_loadMoreActive}}"
90
- @click="{{_onLoadMoreClick}}"
91
- @keydown="{{_onLoadMoreKeydown}}"
92
- @keyup="{{_onLoadMoreKeyup}}"
93
- growing-button-inner
94
- >
95
- <span id="{{_id}}-growingButton-text" growing-button-text>{{_growingButtonText}}</span>
96
-
97
- {{#if growingButtonSubtext}}
98
- <span id="{{_id}}-growingButton-subtext" growing-button-subtext>{{growingButtonSubtext}}</span>
99
- {{/if}}
100
- </div>
101
- </div>
102
- </td>
103
- </tr>
104
- {{/inline}}
105
-
106
- {{#*inline "tableEndRow"}}
107
- <tr tabindex="-1" aria-hidden="true" class="ui5-table-end-row">
108
- <td tabindex="-1">
109
- <span tabindex="-1" aria-hidden="true" class="ui5-table-end-marker"></span>
110
- </td>
111
- </tr>
112
- {{/inline}}
package/src/TableCell.hbs DELETED
@@ -1,7 +0,0 @@
1
- <td
2
- tabindex="-1"
3
- part="cell"
4
- role="cell"
5
- >
6
- <slot></slot>
7
- </td>
@@ -1,7 +0,0 @@
1
- <th
2
- scope="col"
3
- part="column"
4
- role="columnheader"
5
- >
6
- <slot></slot>
7
- </th>
@@ -1,11 +0,0 @@
1
- <tr
2
- class="ui5-table-group-row-root"
3
- part="group-row"
4
- aria-label={{ariaLabelText}}
5
- tabindex="{{forcedTabIndex}}"
6
- @focusin="{{_onfocusin}}"
7
- >
8
- <td colspan={{colSpan}}>
9
- <slot></slot>
10
- </td>
11
- </tr>
package/src/TableRow.hbs DELETED
@@ -1,85 +0,0 @@
1
- <tr
2
- class="ui5-table-row-root"
3
- tabindex="{{forcedTabIndex}}"
4
- @focusin="{{_onfocusin}}"
5
- @focusout="{{_onfocusout}}"
6
- @click="{{_onrowclick}}"
7
- @keydown="{{_onkeydown}}"
8
- @keyup="{{_onkeyup}}"
9
- @mouseup="{{_onmouseup}}"
10
- @touchstart="{{_ontouchstart}}"
11
- @touchend="{{_ontouchend}}"
12
- aria-label="{{ariaLabelText}}"
13
- aria-selected="{{this.selected}}"
14
- aria-current="{{_ariaCurrent}}"
15
- data-sap-focus-ref
16
- part="row"
17
- >
18
-
19
- {{#if isMultiSelect}}
20
- <td
21
- class="ui5-table-multi-select-cell"
22
- aria-hidden="true"
23
- role="presentation"
24
- >
25
- <ui5-checkbox
26
- class="ui5-multi-select-checkbox"
27
- ?checked="{{this.selected}}"
28
- accessible-name="{{ariaLabelRowSelection}}"
29
- @ui5-change="{{_handleSelection}}"
30
- tabindex="-1"
31
- >
32
- </ui5-checkbox>
33
- </td>
34
- {{/if}}
35
-
36
- {{#if shouldPopin}}
37
- {{#each visibleCells}}
38
- <slot name="{{this._individualSlot}}"></slot>
39
- {{/each}}
40
- {{else}}
41
- {{#each cells}}
42
- <slot name="{{this._individualSlot}}"></slot>
43
- {{/each}}
44
- {{/if}}
45
-
46
- <td class="ui5-table-row-navigated" aria-hidden="true">
47
- <div class="ui5-table-div-navigated"></div>
48
- </td>
49
- </tr>
50
-
51
- {{#if shouldPopin}}
52
- {{#each popinCells}}
53
- <tr part="popin-row" class="{{this.classes}}"
54
- @click="{{../_onrowclick}}"
55
- @keydown="{{../_onkeydown}}"
56
- @keyup="{{../_onkeyup}}">
57
- <td colspan="{{../visibleCellsCount}}" role="cell">
58
- {{#if popinDisplayInline}}
59
- <div class="ui5-table-display-inline-container">
60
- {{#if this.popinText}}
61
- <span class="ui5-table-row-popin-title">{{this.popinText}}:</span>
62
- {{/if}}
63
- <span class="ui5-table-cell-display-inline">
64
- <slot name="{{this.cell._individualSlot}}"></slot>
65
- </span>
66
- </div>
67
- {{else}}
68
- {{#if this.popinText}}
69
- <span class="ui5-table-row-popin-title">{{this.popinText}}:</span>
70
- {{/if}}
71
- <div>
72
- <slot name="{{this.cell._individualSlot}}"></slot>
73
- </div>
74
- {{/if}}
75
- </td>
76
-
77
- <td class="ui5-table-row-navigated" aria-hidden="true">
78
- <div class="ui5-table-div-navigated"></div>
79
- </td>
80
- </tr>
81
- {{/each}}
82
- {{/if}}
83
-
84
-
85
-