xv-webcomponents 2.0.0-beta.2 → 2.0.0-beta.28
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/README.md +3 -2
- package/dist/angular/index.d.ts +1 -1
- package/dist/angular/index.js +3 -4
- package/dist/angular/proxies.d.ts +60 -34
- package/dist/angular/proxies.js +51 -67
- package/dist/angular/web-components.module.d.ts +1 -1
- package/dist/angular/web-components.module.js +10 -13
- package/dist/cjs/{index-Cfa6bBQW.js → index-DaTpiyaU.js} +1 -1
- package/dist/cjs/{index-Cixkr3sz.js → index-Dwhgrew8.js} +15 -10
- package/dist/cjs/index.cjs.js +2 -2
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{xv-accordion-v2_50.cjs.entry.js → xv-accordion-v2_49.cjs.entry.js} +1529 -147
- package/dist/cjs/xv-header-next.cjs.entry.js +2 -2
- package/dist/cjs/xv-mega-menu-next.cjs.entry.js +2 -2
- package/dist/cjs/xv-webcomponents.cjs.js +3 -3
- package/dist/collection/collection-manifest.json +1 -2
- package/dist/collection/components/xv-overflow-menu/xv-overflow-menu.js +9 -8
- package/dist/collection/components/xv-table/xv-table-cell/xv-table-cell.css +129 -61
- package/dist/collection/components/xv-table/xv-table-cell/xv-table-cell.js +277 -78
- package/dist/collection/components/xv-table/xv-table-row/xv-table-row.css +138 -24
- package/dist/collection/components/xv-table/xv-table-row/xv-table-row.js +334 -168
- package/dist/collection/components/xv-table/xv-table.css +240 -99
- package/dist/collection/components/xv-table/xv-table.js +2056 -63
- package/dist/collection/components/xv-table/xv-table.model.js +10 -0
- package/dist/collection/components/xv-table/xv-table.utils.js +243 -0
- package/dist/collection/components/xv-tabs/xv-tab/xv-tab.js +1 -1
- package/dist/collection/components/xv-tag/xv-tag.js +1 -1
- package/dist/collection/components/xv-tag-combobox/xv-tag-combobox.js +2 -2
- package/dist/collection/components/xv-text-input/xv-text-input.js +2 -2
- package/dist/collection/components/xv-textarea/xv-textarea.js +2 -2
- package/dist/collection/components/xv-tile/xv-tile.js +2 -2
- package/dist/collection/components/xv-toggle/xv-toggle.js +1 -1
- package/dist/collection/components/xv-toggle-tip/xv-toggle-tip.js +1 -1
- package/dist/collection/components/xv-tooltip/xv-tooltip.js +2 -2
- package/dist/collection/utils/table-layout.js +130 -0
- package/dist/components/index.js +1 -1
- package/dist/components/p-B0kwaJ8n.js +1 -0
- package/dist/components/{p-CbVZCn2p.js → p-BEoh0dZI.js} +1 -1
- package/dist/components/{p-ZYJfCCwX.js → p-BaZ-srfu.js} +1 -1
- package/dist/components/{p-DyGMZIub.js → p-Bej2l-wN.js} +1 -1
- package/dist/components/{p-Ddx5DwV5.js → p-BfhvpeQh.js} +1 -1
- package/dist/components/{p-kQVUwJXZ.js → p-CSYnNMKb.js} +1 -1
- package/dist/components/{p-BNP2Lw34.js → p-CspyoLL9.js} +1 -1
- package/dist/components/p-CvgDDcjp.js +1 -0
- package/dist/components/{p-COoj5JkZ.js → p-D4FwGeDJ.js} +1 -1
- package/dist/components/p-DCvH_Br_.js +1 -0
- package/dist/components/{p-CEjlxnKY.js → p-DFe9Mtw_.js} +1 -1
- package/dist/components/{p-BRZwUlfE.js → p-DFtMwE-h.js} +1 -1
- package/dist/components/p-DIvi4fI3.js +1 -0
- package/dist/components/{p-DTwz9Fsh.js → p-DNRISLNf.js} +1 -1
- package/dist/components/p-DPnvoOYj.js +1 -0
- package/dist/components/{p-Dzz9jxLm.js → p-Dwbe941A.js} +1 -1
- package/dist/components/{p-CMAJWZsP.js → p-JClekcEh.js} +1 -1
- package/dist/components/{p-DtUNYh73.js → p-NoM9oIJn.js} +1 -1
- package/dist/components/{p-DlLBjhuH.js → p-XEk4dHG3.js} +1 -1
- package/dist/components/p-i7_81si-.js +1 -0
- package/dist/components/{p-BRYrLHiz.js → p-i82EFiq6.js} +1 -1
- package/dist/components/{p-BXB4D7j4.js → p-jD7nSJaM.js} +1 -1
- package/dist/components/xv-accordion-v2-item.js +1 -1
- package/dist/components/xv-accordion-v2.js +1 -1
- package/dist/components/xv-breadcrumbs-v2.js +1 -1
- package/dist/components/xv-button-group-v2.js +1 -1
- package/dist/components/xv-button-v2.js +1 -1
- package/dist/components/xv-card-v2.js +1 -1
- package/dist/components/xv-checkbox-v2.js +1 -1
- package/dist/components/xv-content-switcher-item-v2.js +1 -1
- package/dist/components/xv-content-switcher-v2.js +1 -1
- package/dist/components/xv-data-table-cell.js +1 -1
- package/dist/components/xv-data-table-collapse.js +1 -1
- package/dist/components/xv-data-table-row.js +1 -1
- package/dist/components/xv-data-table.js +2 -2
- package/dist/components/xv-date-picker.js +1 -1
- package/dist/components/xv-datepicker.js +1 -1
- package/dist/components/xv-dropdown-v2-item.js +1 -1
- package/dist/components/xv-dropdown-v2.js +1 -1
- package/dist/components/xv-file-uploader.js +1 -1
- package/dist/components/xv-footer.js +1 -1
- package/dist/components/xv-geo-map-v2.js +1 -1
- package/dist/components/xv-header-next.js +1 -1
- package/dist/components/xv-header.js +1 -1
- package/dist/components/xv-image-viewer.js +1 -1
- package/dist/components/xv-link-v2.js +1 -1
- package/dist/components/xv-loader-v2.js +1 -1
- package/dist/components/xv-login-modal.js +1 -1
- package/dist/components/xv-mega-menu-next.js +1 -1
- package/dist/components/xv-mega-menu.js +1 -1
- package/dist/components/xv-modal-v2.js +1 -1
- package/dist/components/xv-notification-v2.js +1 -1
- package/dist/components/xv-number-input-v2.js +1 -1
- package/dist/components/xv-overflow-menu-v2-item.js +1 -1
- package/dist/components/xv-overflow-menu-v2.js +1 -1
- package/dist/components/xv-pagination.js +1 -1
- package/dist/components/xv-progress-indicator-v2-item.js +1 -1
- package/dist/components/xv-progress-indicator-v2.js +1 -1
- package/dist/components/xv-radio-v2.js +1 -1
- package/dist/components/xv-slider-v2.js +1 -1
- package/dist/components/xv-tab-v2.js +1 -1
- package/dist/components/{xv-table-v2-row.d.ts → xv-table-cell.d.ts} +4 -4
- package/dist/components/xv-table-cell.js +1 -0
- package/dist/components/{xv-table-v2-cell.d.ts → xv-table-row.d.ts} +4 -4
- package/dist/components/xv-table-row.js +1 -0
- package/dist/components/{xv-table-v2.d.ts → xv-table.d.ts} +4 -4
- package/dist/components/xv-table.js +1 -0
- package/dist/components/xv-tabs-v2.js +1 -1
- package/dist/components/xv-tag-combobox.js +1 -1
- package/dist/components/xv-tag-v2.js +1 -1
- package/dist/components/xv-text-input-v2.js +1 -1
- package/dist/components/xv-textarea.js +1 -1
- package/dist/components/xv-tile.js +1 -1
- package/dist/components/xv-toggle-tip.js +1 -1
- package/dist/components/xv-toggle.js +1 -1
- package/dist/components/xv-tooltip-v2.js +1 -1
- package/dist/custom-elements.json +1765 -294
- package/dist/docs.json +2749 -443
- package/dist/esm/{index-B6cY-_U1.js → index-ClusqSO5.js} +1 -1
- package/dist/esm/{index-Bu8SrOeR.js → index-DJC3-dS3.js} +15 -10
- package/dist/esm/index.js +2 -2
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{xv-accordion-v2_50.entry.js → xv-accordion-v2_49.entry.js} +1527 -144
- package/dist/esm/xv-header-next.entry.js +2 -2
- package/dist/esm/xv-mega-menu-next.entry.js +2 -2
- package/dist/esm/xv-webcomponents.js +4 -4
- package/dist/react/components.d.ts +3 -4
- package/dist/react/components.js +3 -4
- package/dist/react/{xv-table-v2-expand.d.ts → xv-table-cell.d.ts} +3 -3
- package/dist/react/xv-table-cell.js +14 -0
- package/dist/react/{xv-table-v2.d.ts → xv-table-row.d.ts} +3 -3
- package/dist/react/{xv-table-v2.js → xv-table-row.js} +5 -5
- package/dist/react/xv-table.d.ts +18 -0
- package/dist/react/xv-table.js +22 -0
- package/dist/types/components/xv-table/xv-table-cell/xv-table-cell.d.ts +43 -8
- package/dist/types/components/xv-table/xv-table-row/xv-table-row.d.ts +57 -18
- package/dist/types/components/xv-table/xv-table.d.ts +298 -9
- package/dist/types/components/xv-table/xv-table.model.d.ts +78 -0
- package/dist/types/components/xv-table/xv-table.utils.d.ts +47 -0
- package/dist/types/components.d.ts +899 -118
- package/dist/types/stencil-public-runtime.d.ts +61 -55
- package/dist/types/utils/table-layout.d.ts +7 -0
- package/dist/vscode-data.json +347 -56
- package/dist/xv-webcomponents/index.esm.js +1 -1
- package/dist/xv-webcomponents/{p-1ffb0b4f.entry.js → p-0c30d09f.entry.js} +1 -1
- package/dist/xv-webcomponents/{p-eb9d7750.entry.js → p-6b58979e.entry.js} +2 -2
- package/dist/xv-webcomponents/{p-Bu8SrOeR.js → p-DJC3-dS3.js} +2 -2
- package/dist/xv-webcomponents/{p-DB4KqDJz.js → p-DSFVdw3w.js} +1 -1
- package/dist/xv-webcomponents/{p-d4d26ff2.entry.js → p-c4173686.entry.js} +1 -1
- package/dist/xv-webcomponents/xv-webcomponents.esm.js +1 -1
- package/package.json +139 -139
- package/dist/collection/components/xv-table/_vars.js +0 -2
- package/dist/collection/components/xv-table/xv-table-expand/xv-table-expand.css +0 -58
- package/dist/collection/components/xv-table/xv-table-expand/xv-table-expand.js +0 -75
- package/dist/components/p-CHtssNO9.js +0 -1
- package/dist/components/p-CILNPUHH.js +0 -1
- package/dist/components/p-DVZ2BlIP.js +0 -1
- package/dist/components/p-bdaoJ1tx.js +0 -1
- package/dist/components/xv-table-v2-cell.js +0 -1
- package/dist/components/xv-table-v2-expand.d.ts +0 -11
- package/dist/components/xv-table-v2-expand.js +0 -1
- package/dist/components/xv-table-v2-row.js +0 -1
- package/dist/components/xv-table-v2.js +0 -1
- package/dist/react/xv-table-v2-cell.d.ts +0 -12
- package/dist/react/xv-table-v2-cell.js +0 -14
- package/dist/react/xv-table-v2-expand.js +0 -14
- package/dist/react/xv-table-v2-row.d.ts +0 -13
- package/dist/react/xv-table-v2-row.js +0 -17
- package/dist/types/components/xv-table/_vars.d.ts +0 -15
- package/dist/types/components/xv-table/xv-table-expand/xv-table-expand.d.ts +0 -8
|
@@ -1400,6 +1400,7 @@
|
|
|
1400
1400
|
"customElement": true,
|
|
1401
1401
|
"tagName": "xv-data-table",
|
|
1402
1402
|
"name": "XvDataTable",
|
|
1403
|
+
"description": "> **Deprecated.** Superseded by [`xv-table`](../xv-table), which adds sorting, selection, batch\r\n> actions, expansion, column resizing, reordering and hiding, a persisted layout and pagination.\r\n> This component stays only until its 22 usages in XvMarketplaceNG are migrated; removal is\r\n> tracked by MAR-15895.",
|
|
1403
1404
|
"attributes": [
|
|
1404
1405
|
{
|
|
1405
1406
|
"name": "block",
|
|
@@ -7507,155 +7508,1460 @@
|
|
|
7507
7508
|
{
|
|
7508
7509
|
"kind": "class",
|
|
7509
7510
|
"customElement": true,
|
|
7510
|
-
"tagName": "xv-table
|
|
7511
|
-
"name": "
|
|
7511
|
+
"tagName": "xv-table",
|
|
7512
|
+
"name": "XvTable",
|
|
7513
|
+
"description": "A data table built on CSS grid with `subgrid` rows, so a row keeps its own box while its cells\nstay aligned to the table's columns and an expanded panel can span the full width.\n\n`columns` always describes the structure — widths, order, sorting, resizing, hiding and the\nstored layout all read from it. Rows come either from `rows` as data, or as slotted\n`xv-table-row` children when the cells hold arbitrary markup.",
|
|
7512
7514
|
"attributes": [
|
|
7515
|
+
{
|
|
7516
|
+
"name": "block",
|
|
7517
|
+
"description": "Stretches the table to the full width of its container.",
|
|
7518
|
+
"type": {
|
|
7519
|
+
"text": "boolean"
|
|
7520
|
+
},
|
|
7521
|
+
"default": "false",
|
|
7522
|
+
"fieldName": "block"
|
|
7523
|
+
},
|
|
7524
|
+
{
|
|
7525
|
+
"name": "columns",
|
|
7526
|
+
"description": "Column definitions. Accepts its JSON string form so it is settable from plain markup.",
|
|
7527
|
+
"type": {
|
|
7528
|
+
"text": "XvTableColumn[] | string",
|
|
7529
|
+
"references": [
|
|
7530
|
+
{
|
|
7531
|
+
"name": "XvTableColumn",
|
|
7532
|
+
"module": "./xv-table.model"
|
|
7533
|
+
}
|
|
7534
|
+
]
|
|
7535
|
+
},
|
|
7536
|
+
"default": "[]",
|
|
7537
|
+
"fieldName": "columns"
|
|
7538
|
+
},
|
|
7539
|
+
{
|
|
7540
|
+
"name": "columns-label",
|
|
7541
|
+
"description": "Tooltip on the column picker trigger.",
|
|
7542
|
+
"type": {
|
|
7543
|
+
"text": "string"
|
|
7544
|
+
},
|
|
7545
|
+
"default": "'Columns'",
|
|
7546
|
+
"fieldName": "columnsLabel"
|
|
7547
|
+
},
|
|
7548
|
+
{
|
|
7549
|
+
"name": "description",
|
|
7550
|
+
"description": "Supporting text under the title.",
|
|
7551
|
+
"type": {
|
|
7552
|
+
"text": "string"
|
|
7553
|
+
},
|
|
7554
|
+
"default": "''",
|
|
7555
|
+
"fieldName": "description"
|
|
7556
|
+
},
|
|
7557
|
+
{
|
|
7558
|
+
"name": "empty-label",
|
|
7559
|
+
"description": "Shown when there are no rows.",
|
|
7560
|
+
"type": {
|
|
7561
|
+
"text": "string"
|
|
7562
|
+
},
|
|
7563
|
+
"default": "''",
|
|
7564
|
+
"fieldName": "emptyLabel"
|
|
7565
|
+
},
|
|
7566
|
+
{
|
|
7567
|
+
"name": "expand-label",
|
|
7568
|
+
"description": "Accessible name of a row's expand toggle.",
|
|
7569
|
+
"type": {
|
|
7570
|
+
"text": "string"
|
|
7571
|
+
},
|
|
7572
|
+
"default": "'Toggle row'",
|
|
7573
|
+
"fieldName": "expandLabel"
|
|
7574
|
+
},
|
|
7575
|
+
{
|
|
7576
|
+
"name": "expand-mode",
|
|
7577
|
+
"description": "Whether rows expand, and whether more than one may be open.",
|
|
7578
|
+
"type": {
|
|
7579
|
+
"text": "\"multiple\" | \"none\" | \"single\"",
|
|
7580
|
+
"references": [
|
|
7581
|
+
{
|
|
7582
|
+
"name": "XvTableExpandMode",
|
|
7583
|
+
"module": "./xv-table.model"
|
|
7584
|
+
}
|
|
7585
|
+
]
|
|
7586
|
+
},
|
|
7587
|
+
"default": "'none'",
|
|
7588
|
+
"fieldName": "expandMode"
|
|
7589
|
+
},
|
|
7590
|
+
{
|
|
7591
|
+
"name": "expanded",
|
|
7592
|
+
"description": "Values of the expanded rows.",
|
|
7593
|
+
"type": {
|
|
7594
|
+
"text": "string | unknown[]"
|
|
7595
|
+
},
|
|
7596
|
+
"default": "[]",
|
|
7597
|
+
"fieldName": "expanded"
|
|
7598
|
+
},
|
|
7513
7599
|
{
|
|
7514
7600
|
"name": "hover",
|
|
7601
|
+
"description": "Highlights a row on pointer hover.",
|
|
7602
|
+
"type": {
|
|
7603
|
+
"text": "boolean"
|
|
7604
|
+
},
|
|
7605
|
+
"default": "false",
|
|
7606
|
+
"fieldName": "hover"
|
|
7607
|
+
},
|
|
7608
|
+
{
|
|
7609
|
+
"name": "label",
|
|
7610
|
+
"description": "Title above the table.",
|
|
7611
|
+
"type": {
|
|
7612
|
+
"text": "string"
|
|
7613
|
+
},
|
|
7614
|
+
"default": "''",
|
|
7615
|
+
"fieldName": "label"
|
|
7616
|
+
},
|
|
7617
|
+
{
|
|
7618
|
+
"name": "layout",
|
|
7619
|
+
"description": "Controlled column layout. Overrides whatever is stored.",
|
|
7620
|
+
"type": {
|
|
7621
|
+
"text": "XvTableLayout | string",
|
|
7622
|
+
"references": [
|
|
7623
|
+
{
|
|
7624
|
+
"name": "XvTableLayout",
|
|
7625
|
+
"module": "./xv-table.model"
|
|
7626
|
+
}
|
|
7627
|
+
]
|
|
7628
|
+
},
|
|
7629
|
+
"default": "null",
|
|
7630
|
+
"fieldName": "layout"
|
|
7631
|
+
},
|
|
7632
|
+
{
|
|
7633
|
+
"name": "loading",
|
|
7634
|
+
"description": "Covers the body with a loading state.",
|
|
7635
|
+
"type": {
|
|
7636
|
+
"text": "boolean"
|
|
7637
|
+
},
|
|
7638
|
+
"default": "false",
|
|
7639
|
+
"fieldName": "loading"
|
|
7640
|
+
},
|
|
7641
|
+
{
|
|
7642
|
+
"name": "locale",
|
|
7643
|
+
"description": "Locale used for sorting and cell formatting. Falls back to the nearest `[lang]` ancestor.",
|
|
7644
|
+
"type": {
|
|
7645
|
+
"text": "string"
|
|
7646
|
+
},
|
|
7647
|
+
"default": "''",
|
|
7648
|
+
"fieldName": "locale"
|
|
7649
|
+
},
|
|
7650
|
+
{
|
|
7651
|
+
"name": "min-width",
|
|
7652
|
+
"description": "Width below which the table scrolls instead of squeezing, at any viewport. Left unset, a table\nonly stops squeezing below 1180px, where it scrolls at the width its columns declared.",
|
|
7653
|
+
"type": {
|
|
7654
|
+
"text": "number"
|
|
7655
|
+
},
|
|
7656
|
+
"default": "0",
|
|
7657
|
+
"fieldName": "minWidth"
|
|
7658
|
+
},
|
|
7659
|
+
{
|
|
7660
|
+
"name": "page",
|
|
7661
|
+
"description": "Current page, 1-based.",
|
|
7662
|
+
"type": {
|
|
7663
|
+
"text": "number"
|
|
7664
|
+
},
|
|
7665
|
+
"default": "1",
|
|
7666
|
+
"fieldName": "page"
|
|
7667
|
+
},
|
|
7668
|
+
{
|
|
7669
|
+
"name": "page-size",
|
|
7670
|
+
"description": "Rows per page.",
|
|
7671
|
+
"type": {
|
|
7672
|
+
"text": "number"
|
|
7673
|
+
},
|
|
7674
|
+
"default": "10",
|
|
7675
|
+
"fieldName": "pageSize"
|
|
7676
|
+
},
|
|
7677
|
+
{
|
|
7678
|
+
"name": "page-size-options",
|
|
7679
|
+
"description": "Page size choices. Accepts a comma-separated attribute.",
|
|
7680
|
+
"type": {
|
|
7681
|
+
"text": "number[] | string"
|
|
7682
|
+
},
|
|
7683
|
+
"default": "[10, 20, 30, 40, 50, 100]",
|
|
7684
|
+
"fieldName": "pageSizeOptions"
|
|
7685
|
+
},
|
|
7686
|
+
{
|
|
7687
|
+
"name": "pagination-mode",
|
|
7688
|
+
"description": "`client` slices the `rows` prop; `server` only emits `pageChange`.",
|
|
7689
|
+
"type": {
|
|
7690
|
+
"text": "\"client\" | \"none\" | \"server\"",
|
|
7691
|
+
"references": [
|
|
7692
|
+
{
|
|
7693
|
+
"name": "XvTableMode",
|
|
7694
|
+
"module": "./xv-table.model"
|
|
7695
|
+
}
|
|
7696
|
+
]
|
|
7697
|
+
},
|
|
7698
|
+
"default": "'none'",
|
|
7699
|
+
"fieldName": "paginationMode"
|
|
7700
|
+
},
|
|
7701
|
+
{
|
|
7702
|
+
"name": "reorder-label",
|
|
7703
|
+
"description": "Accessible name of a row's drag grip.",
|
|
7704
|
+
"type": {
|
|
7705
|
+
"text": "string"
|
|
7706
|
+
},
|
|
7707
|
+
"default": "'Drag to reorder'",
|
|
7708
|
+
"fieldName": "reorderLabel"
|
|
7709
|
+
},
|
|
7710
|
+
{
|
|
7711
|
+
"name": "reorderable",
|
|
7712
|
+
"description": "Allows dragging column headers into a new order. Off by default, like `resizable`.",
|
|
7713
|
+
"type": {
|
|
7714
|
+
"text": "boolean"
|
|
7715
|
+
},
|
|
7716
|
+
"default": "false",
|
|
7717
|
+
"fieldName": "reorderable"
|
|
7718
|
+
},
|
|
7719
|
+
{
|
|
7720
|
+
"name": "reset-label",
|
|
7721
|
+
"description": "Text of the button that restores the declared column layout.",
|
|
7722
|
+
"type": {
|
|
7723
|
+
"text": "string"
|
|
7724
|
+
},
|
|
7725
|
+
"default": "'Reset'",
|
|
7726
|
+
"fieldName": "resetLabel"
|
|
7727
|
+
},
|
|
7728
|
+
{
|
|
7729
|
+
"name": "resizable",
|
|
7730
|
+
"description": "Allows dragging column edges. Off by default: no handle is rendered and nothing is bound\nuntil it is switched on. A column may switch itself off, never on.",
|
|
7731
|
+
"type": {
|
|
7732
|
+
"text": "boolean"
|
|
7733
|
+
},
|
|
7734
|
+
"default": "false",
|
|
7735
|
+
"fieldName": "resizable"
|
|
7736
|
+
},
|
|
7737
|
+
{
|
|
7738
|
+
"name": "row-clickable",
|
|
7739
|
+
"description": "Emits `rowClick` when a row is clicked outside an interactive element.",
|
|
7740
|
+
"type": {
|
|
7741
|
+
"text": "boolean"
|
|
7742
|
+
},
|
|
7743
|
+
"default": "false",
|
|
7744
|
+
"fieldName": "rowClickable"
|
|
7745
|
+
},
|
|
7746
|
+
{
|
|
7747
|
+
"name": "row-key",
|
|
7748
|
+
"description": "Property of a row object that identifies it in selection and expansion payloads.",
|
|
7749
|
+
"type": {
|
|
7750
|
+
"text": "string"
|
|
7751
|
+
},
|
|
7752
|
+
"default": "'id'",
|
|
7753
|
+
"fieldName": "rowKey"
|
|
7754
|
+
},
|
|
7755
|
+
{
|
|
7756
|
+
"name": "row-reorder-handle",
|
|
7757
|
+
"description": "Whether the whole row drags, or only a grip in a leading control cell.",
|
|
7758
|
+
"type": {
|
|
7759
|
+
"text": "\"icon\" | \"row\""
|
|
7760
|
+
},
|
|
7761
|
+
"default": "'icon'",
|
|
7762
|
+
"fieldName": "rowReorderHandle"
|
|
7763
|
+
},
|
|
7764
|
+
{
|
|
7765
|
+
"name": "row-reorderable",
|
|
7766
|
+
"description": "Allows dragging rows into a new order. Off by default: nothing is bound and no handle is\nrendered until it is switched on.",
|
|
7767
|
+
"type": {
|
|
7768
|
+
"text": "boolean"
|
|
7769
|
+
},
|
|
7770
|
+
"default": "false",
|
|
7771
|
+
"fieldName": "rowReorderable"
|
|
7772
|
+
},
|
|
7773
|
+
{
|
|
7774
|
+
"name": "rows",
|
|
7775
|
+
"description": "Row data. Ignored when `xv-table-row` children are slotted.",
|
|
7776
|
+
"type": {
|
|
7777
|
+
"text": "any[] | string"
|
|
7778
|
+
},
|
|
7779
|
+
"default": "[]",
|
|
7780
|
+
"fieldName": "rows"
|
|
7781
|
+
},
|
|
7782
|
+
{
|
|
7783
|
+
"name": "selected",
|
|
7784
|
+
"description": "Values of the selected rows.",
|
|
7785
|
+
"type": {
|
|
7786
|
+
"text": "string | unknown[]"
|
|
7787
|
+
},
|
|
7788
|
+
"default": "[]",
|
|
7789
|
+
"fieldName": "selected"
|
|
7790
|
+
},
|
|
7791
|
+
{
|
|
7792
|
+
"name": "selected-label",
|
|
7793
|
+
"description": "Text of the batch bar counter. `{count}` is replaced with the number of selected rows.",
|
|
7794
|
+
"type": {
|
|
7795
|
+
"text": "string"
|
|
7796
|
+
},
|
|
7797
|
+
"default": "''",
|
|
7798
|
+
"fieldName": "selectedLabel"
|
|
7799
|
+
},
|
|
7800
|
+
{
|
|
7801
|
+
"name": "selection",
|
|
7802
|
+
"description": "`multiple` renders checkboxes, `single` renders radios.",
|
|
7803
|
+
"type": {
|
|
7804
|
+
"text": "\"multiple\" | \"none\" | \"single\"",
|
|
7805
|
+
"references": [
|
|
7806
|
+
{
|
|
7807
|
+
"name": "XvTableSelectionMode",
|
|
7808
|
+
"module": "./xv-table.model"
|
|
7809
|
+
}
|
|
7810
|
+
]
|
|
7811
|
+
},
|
|
7812
|
+
"default": "'none'",
|
|
7813
|
+
"fieldName": "selection"
|
|
7814
|
+
},
|
|
7815
|
+
{
|
|
7816
|
+
"name": "size",
|
|
7817
|
+
"description": "Row height ladder.",
|
|
7818
|
+
"type": {
|
|
7819
|
+
"text": "\"lg\" | \"md\" | \"sm\" | \"xl\" | \"xs\"",
|
|
7820
|
+
"references": [
|
|
7821
|
+
{
|
|
7822
|
+
"name": "SIZE_VAR_STR",
|
|
7823
|
+
"module": "../../types/enum"
|
|
7824
|
+
}
|
|
7825
|
+
]
|
|
7826
|
+
},
|
|
7827
|
+
"default": "SIZE_VAR.MD",
|
|
7828
|
+
"fieldName": "size"
|
|
7829
|
+
},
|
|
7830
|
+
{
|
|
7831
|
+
"name": "skeleton-rows",
|
|
7832
|
+
"description": "Placeholder rows drawn while `loading`. Zero draws a spinner instead.",
|
|
7833
|
+
"type": {
|
|
7834
|
+
"text": "number"
|
|
7835
|
+
},
|
|
7836
|
+
"default": "0",
|
|
7837
|
+
"fieldName": "skeletonRows"
|
|
7838
|
+
},
|
|
7839
|
+
{
|
|
7840
|
+
"name": "sort-by",
|
|
7841
|
+
"description": "Active sort, as `asc(field)` / `desc(field)` or an object.",
|
|
7842
|
+
"type": {
|
|
7843
|
+
"text": "XvTableSort | string",
|
|
7844
|
+
"references": [
|
|
7845
|
+
{
|
|
7846
|
+
"name": "XvTableSort",
|
|
7847
|
+
"module": "./xv-table.model"
|
|
7848
|
+
}
|
|
7849
|
+
]
|
|
7850
|
+
},
|
|
7851
|
+
"default": "''",
|
|
7852
|
+
"fieldName": "sortBy"
|
|
7853
|
+
},
|
|
7854
|
+
{
|
|
7855
|
+
"name": "sort-mode",
|
|
7856
|
+
"description": "`none` makes headers inert whatever the column says; `client` sorts the `rows` prop itself;\n`server` offers the affordance and only emits `sortChange` for the consumer to reload.",
|
|
7857
|
+
"type": {
|
|
7858
|
+
"text": "\"client\" | \"none\" | \"server\"",
|
|
7859
|
+
"references": [
|
|
7860
|
+
{
|
|
7861
|
+
"name": "XvTableMode",
|
|
7862
|
+
"module": "./xv-table.model"
|
|
7863
|
+
}
|
|
7864
|
+
]
|
|
7865
|
+
},
|
|
7866
|
+
"default": "'none'",
|
|
7867
|
+
"fieldName": "sortMode"
|
|
7868
|
+
},
|
|
7869
|
+
{
|
|
7870
|
+
"name": "sticky-header",
|
|
7871
|
+
"description": "Keeps the header visible while the body scrolls.",
|
|
7515
7872
|
"type": {
|
|
7516
7873
|
"text": "boolean"
|
|
7517
7874
|
},
|
|
7518
|
-
"
|
|
7875
|
+
"default": "false",
|
|
7876
|
+
"fieldName": "stickyHeader"
|
|
7877
|
+
},
|
|
7878
|
+
{
|
|
7879
|
+
"name": "storage-key",
|
|
7880
|
+
"description": "Persists the column layout under this key. Empty means the layout is not remembered.",
|
|
7881
|
+
"type": {
|
|
7882
|
+
"text": "string"
|
|
7883
|
+
},
|
|
7884
|
+
"default": "''",
|
|
7885
|
+
"fieldName": "storageKey"
|
|
7886
|
+
},
|
|
7887
|
+
{
|
|
7888
|
+
"name": "storage-owner",
|
|
7889
|
+
"description": "Scopes the stored layout to a user.",
|
|
7890
|
+
"type": {
|
|
7891
|
+
"text": "string"
|
|
7892
|
+
},
|
|
7893
|
+
"default": "'anonymous'",
|
|
7894
|
+
"fieldName": "storageOwner"
|
|
7895
|
+
},
|
|
7896
|
+
{
|
|
7897
|
+
"name": "total",
|
|
7898
|
+
"description": "Total row count, for `server` pagination.",
|
|
7899
|
+
"type": {
|
|
7900
|
+
"text": "number"
|
|
7901
|
+
},
|
|
7902
|
+
"default": "0",
|
|
7903
|
+
"fieldName": "total"
|
|
7904
|
+
}
|
|
7905
|
+
],
|
|
7906
|
+
"members": [
|
|
7907
|
+
{
|
|
7908
|
+
"kind": "field",
|
|
7909
|
+
"name": "block",
|
|
7910
|
+
"description": "Stretches the table to the full width of its container.",
|
|
7911
|
+
"type": {
|
|
7912
|
+
"text": "boolean"
|
|
7913
|
+
},
|
|
7914
|
+
"default": "false",
|
|
7915
|
+
"readonly": true,
|
|
7916
|
+
"attribute": "block",
|
|
7917
|
+
"reflects": true
|
|
7918
|
+
},
|
|
7919
|
+
{
|
|
7920
|
+
"kind": "field",
|
|
7921
|
+
"name": "columns",
|
|
7922
|
+
"description": "Column definitions. Accepts its JSON string form so it is settable from plain markup.",
|
|
7923
|
+
"type": {
|
|
7924
|
+
"text": "XvTableColumn[] | string",
|
|
7925
|
+
"references": [
|
|
7926
|
+
{
|
|
7927
|
+
"name": "XvTableColumn",
|
|
7928
|
+
"module": "./xv-table.model"
|
|
7929
|
+
}
|
|
7930
|
+
]
|
|
7931
|
+
},
|
|
7932
|
+
"default": "[]",
|
|
7933
|
+
"readonly": true,
|
|
7934
|
+
"attribute": "columns"
|
|
7935
|
+
},
|
|
7936
|
+
{
|
|
7937
|
+
"kind": "field",
|
|
7938
|
+
"name": "columnsLabel",
|
|
7939
|
+
"description": "Tooltip on the column picker trigger.",
|
|
7940
|
+
"type": {
|
|
7941
|
+
"text": "string"
|
|
7942
|
+
},
|
|
7943
|
+
"default": "'Columns'",
|
|
7944
|
+
"readonly": true,
|
|
7945
|
+
"attribute": "columns-label"
|
|
7946
|
+
},
|
|
7947
|
+
{
|
|
7948
|
+
"kind": "field",
|
|
7949
|
+
"name": "description",
|
|
7950
|
+
"description": "Supporting text under the title.",
|
|
7951
|
+
"type": {
|
|
7952
|
+
"text": "string"
|
|
7953
|
+
},
|
|
7954
|
+
"default": "''",
|
|
7955
|
+
"readonly": true,
|
|
7956
|
+
"attribute": "description"
|
|
7957
|
+
},
|
|
7958
|
+
{
|
|
7959
|
+
"kind": "field",
|
|
7960
|
+
"name": "emptyLabel",
|
|
7961
|
+
"description": "Shown when there are no rows.",
|
|
7962
|
+
"type": {
|
|
7963
|
+
"text": "string"
|
|
7964
|
+
},
|
|
7965
|
+
"default": "''",
|
|
7966
|
+
"readonly": true,
|
|
7967
|
+
"attribute": "empty-label"
|
|
7968
|
+
},
|
|
7969
|
+
{
|
|
7970
|
+
"kind": "field",
|
|
7971
|
+
"name": "expandLabel",
|
|
7972
|
+
"description": "Accessible name of a row's expand toggle.",
|
|
7973
|
+
"type": {
|
|
7974
|
+
"text": "string"
|
|
7975
|
+
},
|
|
7976
|
+
"default": "'Toggle row'",
|
|
7977
|
+
"readonly": true,
|
|
7978
|
+
"attribute": "expand-label"
|
|
7979
|
+
},
|
|
7980
|
+
{
|
|
7981
|
+
"kind": "field",
|
|
7982
|
+
"name": "expandMode",
|
|
7983
|
+
"description": "Whether rows expand, and whether more than one may be open.",
|
|
7984
|
+
"type": {
|
|
7985
|
+
"text": "\"multiple\" | \"none\" | \"single\"",
|
|
7986
|
+
"references": [
|
|
7987
|
+
{
|
|
7988
|
+
"name": "XvTableExpandMode",
|
|
7989
|
+
"module": "./xv-table.model"
|
|
7990
|
+
}
|
|
7991
|
+
]
|
|
7992
|
+
},
|
|
7993
|
+
"default": "'none'",
|
|
7994
|
+
"readonly": true,
|
|
7995
|
+
"attribute": "expand-mode",
|
|
7996
|
+
"reflects": true
|
|
7997
|
+
},
|
|
7998
|
+
{
|
|
7999
|
+
"kind": "field",
|
|
8000
|
+
"name": "expanded",
|
|
8001
|
+
"description": "Values of the expanded rows.",
|
|
8002
|
+
"type": {
|
|
8003
|
+
"text": "string | unknown[]"
|
|
8004
|
+
},
|
|
8005
|
+
"default": "[]",
|
|
8006
|
+
"readonly": true,
|
|
8007
|
+
"attribute": "expanded"
|
|
8008
|
+
},
|
|
8009
|
+
{
|
|
8010
|
+
"kind": "field",
|
|
8011
|
+
"name": "hover",
|
|
8012
|
+
"description": "Highlights a row on pointer hover.",
|
|
8013
|
+
"type": {
|
|
8014
|
+
"text": "boolean"
|
|
8015
|
+
},
|
|
8016
|
+
"default": "false",
|
|
8017
|
+
"readonly": true,
|
|
8018
|
+
"attribute": "hover",
|
|
8019
|
+
"reflects": true
|
|
8020
|
+
},
|
|
8021
|
+
{
|
|
8022
|
+
"kind": "field",
|
|
8023
|
+
"name": "label",
|
|
8024
|
+
"description": "Title above the table.",
|
|
8025
|
+
"type": {
|
|
8026
|
+
"text": "string"
|
|
8027
|
+
},
|
|
8028
|
+
"default": "''",
|
|
8029
|
+
"readonly": true,
|
|
8030
|
+
"attribute": "label"
|
|
8031
|
+
},
|
|
8032
|
+
{
|
|
8033
|
+
"kind": "field",
|
|
8034
|
+
"name": "layout",
|
|
8035
|
+
"description": "Controlled column layout. Overrides whatever is stored.",
|
|
8036
|
+
"type": {
|
|
8037
|
+
"text": "XvTableLayout | string",
|
|
8038
|
+
"references": [
|
|
8039
|
+
{
|
|
8040
|
+
"name": "XvTableLayout",
|
|
8041
|
+
"module": "./xv-table.model"
|
|
8042
|
+
}
|
|
8043
|
+
]
|
|
8044
|
+
},
|
|
8045
|
+
"default": "null",
|
|
8046
|
+
"readonly": true,
|
|
8047
|
+
"attribute": "layout"
|
|
8048
|
+
},
|
|
8049
|
+
{
|
|
8050
|
+
"kind": "field",
|
|
8051
|
+
"name": "loading",
|
|
8052
|
+
"description": "Covers the body with a loading state.",
|
|
8053
|
+
"type": {
|
|
8054
|
+
"text": "boolean"
|
|
8055
|
+
},
|
|
8056
|
+
"default": "false",
|
|
8057
|
+
"readonly": true,
|
|
8058
|
+
"attribute": "loading",
|
|
8059
|
+
"reflects": true
|
|
8060
|
+
},
|
|
8061
|
+
{
|
|
8062
|
+
"kind": "field",
|
|
8063
|
+
"name": "locale",
|
|
8064
|
+
"description": "Locale used for sorting and cell formatting. Falls back to the nearest `[lang]` ancestor.",
|
|
8065
|
+
"type": {
|
|
8066
|
+
"text": "string"
|
|
8067
|
+
},
|
|
8068
|
+
"default": "''",
|
|
8069
|
+
"readonly": true,
|
|
8070
|
+
"attribute": "locale"
|
|
8071
|
+
},
|
|
8072
|
+
{
|
|
8073
|
+
"kind": "field",
|
|
8074
|
+
"name": "minWidth",
|
|
8075
|
+
"description": "Width below which the table scrolls instead of squeezing, at any viewport. Left unset, a table\nonly stops squeezing below 1180px, where it scrolls at the width its columns declared.",
|
|
8076
|
+
"type": {
|
|
8077
|
+
"text": "number"
|
|
8078
|
+
},
|
|
8079
|
+
"default": "0",
|
|
8080
|
+
"readonly": true,
|
|
8081
|
+
"attribute": "min-width",
|
|
8082
|
+
"reflects": true
|
|
8083
|
+
},
|
|
8084
|
+
{
|
|
8085
|
+
"kind": "field",
|
|
8086
|
+
"name": "page",
|
|
8087
|
+
"description": "Current page, 1-based.",
|
|
8088
|
+
"type": {
|
|
8089
|
+
"text": "number"
|
|
8090
|
+
},
|
|
8091
|
+
"default": "1",
|
|
8092
|
+
"attribute": "page"
|
|
8093
|
+
},
|
|
8094
|
+
{
|
|
8095
|
+
"kind": "field",
|
|
8096
|
+
"name": "pageSize",
|
|
8097
|
+
"description": "Rows per page.",
|
|
8098
|
+
"type": {
|
|
8099
|
+
"text": "number"
|
|
8100
|
+
},
|
|
8101
|
+
"default": "10",
|
|
8102
|
+
"attribute": "page-size"
|
|
8103
|
+
},
|
|
8104
|
+
{
|
|
8105
|
+
"kind": "field",
|
|
8106
|
+
"name": "pageSizeOptions",
|
|
8107
|
+
"description": "Page size choices. Accepts a comma-separated attribute.",
|
|
8108
|
+
"type": {
|
|
8109
|
+
"text": "number[] | string"
|
|
8110
|
+
},
|
|
8111
|
+
"default": "[10, 20, 30, 40, 50, 100]",
|
|
8112
|
+
"readonly": true,
|
|
8113
|
+
"attribute": "page-size-options"
|
|
8114
|
+
},
|
|
8115
|
+
{
|
|
8116
|
+
"kind": "field",
|
|
8117
|
+
"name": "paginationMode",
|
|
8118
|
+
"description": "`client` slices the `rows` prop; `server` only emits `pageChange`.",
|
|
8119
|
+
"type": {
|
|
8120
|
+
"text": "\"client\" | \"none\" | \"server\"",
|
|
8121
|
+
"references": [
|
|
8122
|
+
{
|
|
8123
|
+
"name": "XvTableMode",
|
|
8124
|
+
"module": "./xv-table.model"
|
|
8125
|
+
}
|
|
8126
|
+
]
|
|
8127
|
+
},
|
|
8128
|
+
"default": "'none'",
|
|
8129
|
+
"readonly": true,
|
|
8130
|
+
"attribute": "pagination-mode"
|
|
8131
|
+
},
|
|
8132
|
+
{
|
|
8133
|
+
"kind": "field",
|
|
8134
|
+
"name": "reorderLabel",
|
|
8135
|
+
"description": "Accessible name of a row's drag grip.",
|
|
8136
|
+
"type": {
|
|
8137
|
+
"text": "string"
|
|
8138
|
+
},
|
|
8139
|
+
"default": "'Drag to reorder'",
|
|
8140
|
+
"readonly": true,
|
|
8141
|
+
"attribute": "reorder-label"
|
|
8142
|
+
},
|
|
8143
|
+
{
|
|
8144
|
+
"kind": "field",
|
|
8145
|
+
"name": "reorderable",
|
|
8146
|
+
"description": "Allows dragging column headers into a new order. Off by default, like `resizable`.",
|
|
8147
|
+
"type": {
|
|
8148
|
+
"text": "boolean"
|
|
8149
|
+
},
|
|
8150
|
+
"default": "false",
|
|
8151
|
+
"readonly": true,
|
|
8152
|
+
"attribute": "reorderable"
|
|
8153
|
+
},
|
|
8154
|
+
{
|
|
8155
|
+
"kind": "field",
|
|
8156
|
+
"name": "resetLabel",
|
|
8157
|
+
"description": "Text of the button that restores the declared column layout.",
|
|
8158
|
+
"type": {
|
|
8159
|
+
"text": "string"
|
|
8160
|
+
},
|
|
8161
|
+
"default": "'Reset'",
|
|
8162
|
+
"readonly": true,
|
|
8163
|
+
"attribute": "reset-label"
|
|
8164
|
+
},
|
|
8165
|
+
{
|
|
8166
|
+
"kind": "field",
|
|
8167
|
+
"name": "resizable",
|
|
8168
|
+
"description": "Allows dragging column edges. Off by default: no handle is rendered and nothing is bound\nuntil it is switched on. A column may switch itself off, never on.",
|
|
8169
|
+
"type": {
|
|
8170
|
+
"text": "boolean"
|
|
8171
|
+
},
|
|
8172
|
+
"default": "false",
|
|
8173
|
+
"readonly": true,
|
|
8174
|
+
"attribute": "resizable"
|
|
8175
|
+
},
|
|
8176
|
+
{
|
|
8177
|
+
"kind": "field",
|
|
8178
|
+
"name": "rowClickable",
|
|
8179
|
+
"description": "Emits `rowClick` when a row is clicked outside an interactive element.",
|
|
8180
|
+
"type": {
|
|
8181
|
+
"text": "boolean"
|
|
8182
|
+
},
|
|
8183
|
+
"default": "false",
|
|
8184
|
+
"readonly": true,
|
|
8185
|
+
"attribute": "row-clickable",
|
|
8186
|
+
"reflects": true
|
|
8187
|
+
},
|
|
8188
|
+
{
|
|
8189
|
+
"kind": "field",
|
|
8190
|
+
"name": "rowKey",
|
|
8191
|
+
"description": "Property of a row object that identifies it in selection and expansion payloads.",
|
|
8192
|
+
"type": {
|
|
8193
|
+
"text": "string"
|
|
8194
|
+
},
|
|
8195
|
+
"default": "'id'",
|
|
8196
|
+
"readonly": true,
|
|
8197
|
+
"attribute": "row-key"
|
|
8198
|
+
},
|
|
8199
|
+
{
|
|
8200
|
+
"kind": "field",
|
|
8201
|
+
"name": "rowReorderHandle",
|
|
8202
|
+
"description": "Whether the whole row drags, or only a grip in a leading control cell.",
|
|
8203
|
+
"type": {
|
|
8204
|
+
"text": "\"icon\" | \"row\""
|
|
8205
|
+
},
|
|
8206
|
+
"default": "'icon'",
|
|
8207
|
+
"readonly": true,
|
|
8208
|
+
"attribute": "row-reorder-handle"
|
|
8209
|
+
},
|
|
8210
|
+
{
|
|
8211
|
+
"kind": "field",
|
|
8212
|
+
"name": "rowReorderable",
|
|
8213
|
+
"description": "Allows dragging rows into a new order. Off by default: nothing is bound and no handle is\nrendered until it is switched on.",
|
|
8214
|
+
"type": {
|
|
8215
|
+
"text": "boolean"
|
|
8216
|
+
},
|
|
8217
|
+
"default": "false",
|
|
8218
|
+
"readonly": true,
|
|
8219
|
+
"attribute": "row-reorderable"
|
|
8220
|
+
},
|
|
8221
|
+
{
|
|
8222
|
+
"kind": "field",
|
|
8223
|
+
"name": "rows",
|
|
8224
|
+
"description": "Row data. Ignored when `xv-table-row` children are slotted.",
|
|
8225
|
+
"type": {
|
|
8226
|
+
"text": "any[] | string"
|
|
8227
|
+
},
|
|
8228
|
+
"default": "[]",
|
|
8229
|
+
"readonly": true,
|
|
8230
|
+
"attribute": "rows"
|
|
8231
|
+
},
|
|
8232
|
+
{
|
|
8233
|
+
"kind": "field",
|
|
8234
|
+
"name": "selected",
|
|
8235
|
+
"description": "Values of the selected rows.",
|
|
8236
|
+
"type": {
|
|
8237
|
+
"text": "string | unknown[]"
|
|
8238
|
+
},
|
|
8239
|
+
"default": "[]",
|
|
8240
|
+
"readonly": true,
|
|
8241
|
+
"attribute": "selected"
|
|
8242
|
+
},
|
|
8243
|
+
{
|
|
8244
|
+
"kind": "field",
|
|
8245
|
+
"name": "selectedLabel",
|
|
8246
|
+
"description": "Text of the batch bar counter. `{count}` is replaced with the number of selected rows.",
|
|
8247
|
+
"type": {
|
|
8248
|
+
"text": "string"
|
|
8249
|
+
},
|
|
8250
|
+
"default": "''",
|
|
8251
|
+
"readonly": true,
|
|
8252
|
+
"attribute": "selected-label"
|
|
8253
|
+
},
|
|
8254
|
+
{
|
|
8255
|
+
"kind": "field",
|
|
8256
|
+
"name": "selection",
|
|
8257
|
+
"description": "`multiple` renders checkboxes, `single` renders radios.",
|
|
8258
|
+
"type": {
|
|
8259
|
+
"text": "\"multiple\" | \"none\" | \"single\"",
|
|
8260
|
+
"references": [
|
|
8261
|
+
{
|
|
8262
|
+
"name": "XvTableSelectionMode",
|
|
8263
|
+
"module": "./xv-table.model"
|
|
8264
|
+
}
|
|
8265
|
+
]
|
|
8266
|
+
},
|
|
8267
|
+
"default": "'none'",
|
|
8268
|
+
"readonly": true,
|
|
8269
|
+
"attribute": "selection",
|
|
8270
|
+
"reflects": true
|
|
8271
|
+
},
|
|
8272
|
+
{
|
|
8273
|
+
"kind": "field",
|
|
8274
|
+
"name": "size",
|
|
8275
|
+
"description": "Row height ladder.",
|
|
8276
|
+
"type": {
|
|
8277
|
+
"text": "\"lg\" | \"md\" | \"sm\" | \"xl\" | \"xs\"",
|
|
8278
|
+
"references": [
|
|
8279
|
+
{
|
|
8280
|
+
"name": "SIZE_VAR_STR",
|
|
8281
|
+
"module": "../../types/enum"
|
|
8282
|
+
}
|
|
8283
|
+
]
|
|
8284
|
+
},
|
|
8285
|
+
"default": "SIZE_VAR.MD",
|
|
8286
|
+
"readonly": true,
|
|
8287
|
+
"attribute": "size",
|
|
8288
|
+
"reflects": true
|
|
8289
|
+
},
|
|
8290
|
+
{
|
|
8291
|
+
"kind": "field",
|
|
8292
|
+
"name": "skeletonRows",
|
|
8293
|
+
"description": "Placeholder rows drawn while `loading`. Zero draws a spinner instead.",
|
|
8294
|
+
"type": {
|
|
8295
|
+
"text": "number"
|
|
8296
|
+
},
|
|
8297
|
+
"default": "0",
|
|
8298
|
+
"readonly": true,
|
|
8299
|
+
"attribute": "skeleton-rows"
|
|
8300
|
+
},
|
|
8301
|
+
{
|
|
8302
|
+
"kind": "field",
|
|
8303
|
+
"name": "sortBy",
|
|
8304
|
+
"description": "Active sort, as `asc(field)` / `desc(field)` or an object.",
|
|
8305
|
+
"type": {
|
|
8306
|
+
"text": "XvTableSort | string",
|
|
8307
|
+
"references": [
|
|
8308
|
+
{
|
|
8309
|
+
"name": "XvTableSort",
|
|
8310
|
+
"module": "./xv-table.model"
|
|
8311
|
+
}
|
|
8312
|
+
]
|
|
8313
|
+
},
|
|
8314
|
+
"default": "''",
|
|
8315
|
+
"readonly": true,
|
|
8316
|
+
"attribute": "sort-by"
|
|
8317
|
+
},
|
|
8318
|
+
{
|
|
8319
|
+
"kind": "field",
|
|
8320
|
+
"name": "sortMode",
|
|
8321
|
+
"description": "`none` makes headers inert whatever the column says; `client` sorts the `rows` prop itself;\n`server` offers the affordance and only emits `sortChange` for the consumer to reload.",
|
|
8322
|
+
"type": {
|
|
8323
|
+
"text": "\"client\" | \"none\" | \"server\"",
|
|
8324
|
+
"references": [
|
|
8325
|
+
{
|
|
8326
|
+
"name": "XvTableMode",
|
|
8327
|
+
"module": "./xv-table.model"
|
|
8328
|
+
}
|
|
8329
|
+
]
|
|
8330
|
+
},
|
|
8331
|
+
"default": "'none'",
|
|
8332
|
+
"readonly": true,
|
|
8333
|
+
"attribute": "sort-mode"
|
|
8334
|
+
},
|
|
8335
|
+
{
|
|
8336
|
+
"kind": "field",
|
|
8337
|
+
"name": "stickyHeader",
|
|
8338
|
+
"description": "Keeps the header visible while the body scrolls.",
|
|
8339
|
+
"type": {
|
|
8340
|
+
"text": "boolean"
|
|
8341
|
+
},
|
|
8342
|
+
"default": "false",
|
|
8343
|
+
"readonly": true,
|
|
8344
|
+
"attribute": "sticky-header",
|
|
8345
|
+
"reflects": true
|
|
8346
|
+
},
|
|
8347
|
+
{
|
|
8348
|
+
"kind": "field",
|
|
8349
|
+
"name": "storageKey",
|
|
8350
|
+
"description": "Persists the column layout under this key. Empty means the layout is not remembered.",
|
|
8351
|
+
"type": {
|
|
8352
|
+
"text": "string"
|
|
8353
|
+
},
|
|
8354
|
+
"default": "''",
|
|
8355
|
+
"readonly": true,
|
|
8356
|
+
"attribute": "storage-key"
|
|
8357
|
+
},
|
|
8358
|
+
{
|
|
8359
|
+
"kind": "field",
|
|
8360
|
+
"name": "storageOwner",
|
|
8361
|
+
"description": "Scopes the stored layout to a user.",
|
|
8362
|
+
"type": {
|
|
8363
|
+
"text": "string"
|
|
8364
|
+
},
|
|
8365
|
+
"default": "'anonymous'",
|
|
8366
|
+
"readonly": true,
|
|
8367
|
+
"attribute": "storage-owner"
|
|
8368
|
+
},
|
|
8369
|
+
{
|
|
8370
|
+
"kind": "field",
|
|
8371
|
+
"name": "total",
|
|
8372
|
+
"description": "Total row count, for `server` pagination.",
|
|
8373
|
+
"type": {
|
|
8374
|
+
"text": "number"
|
|
8375
|
+
},
|
|
8376
|
+
"default": "0",
|
|
8377
|
+
"readonly": true,
|
|
8378
|
+
"attribute": "total"
|
|
8379
|
+
},
|
|
8380
|
+
{
|
|
8381
|
+
"kind": "method",
|
|
8382
|
+
"name": "clearSelection",
|
|
8383
|
+
"description": "Clears the selection.",
|
|
8384
|
+
"return": {
|
|
8385
|
+
"type": {
|
|
8386
|
+
"text": "Promise<void>",
|
|
8387
|
+
"references": [
|
|
8388
|
+
{
|
|
8389
|
+
"name": "Promise",
|
|
8390
|
+
"package": "global:"
|
|
8391
|
+
}
|
|
8392
|
+
]
|
|
8393
|
+
}
|
|
8394
|
+
}
|
|
8395
|
+
},
|
|
8396
|
+
{
|
|
8397
|
+
"kind": "method",
|
|
8398
|
+
"name": "getLayout",
|
|
8399
|
+
"description": "The layout as it would be stored: only the deviations from the declared columns.",
|
|
8400
|
+
"return": {
|
|
8401
|
+
"type": {
|
|
8402
|
+
"text": "Promise<XvTableLayout>",
|
|
8403
|
+
"references": [
|
|
8404
|
+
{
|
|
8405
|
+
"name": "Promise",
|
|
8406
|
+
"package": "global:"
|
|
8407
|
+
},
|
|
8408
|
+
{
|
|
8409
|
+
"name": "XvTableLayout",
|
|
8410
|
+
"module": "./xv-table.model"
|
|
8411
|
+
}
|
|
8412
|
+
]
|
|
8413
|
+
}
|
|
8414
|
+
}
|
|
8415
|
+
},
|
|
8416
|
+
{
|
|
8417
|
+
"kind": "method",
|
|
8418
|
+
"name": "resetLayout",
|
|
8419
|
+
"description": "Drops the stored layout and returns to the declared columns.",
|
|
8420
|
+
"return": {
|
|
8421
|
+
"type": {
|
|
8422
|
+
"text": "Promise<void>",
|
|
8423
|
+
"references": [
|
|
8424
|
+
{
|
|
8425
|
+
"name": "Promise",
|
|
8426
|
+
"package": "global:"
|
|
8427
|
+
}
|
|
8428
|
+
]
|
|
8429
|
+
}
|
|
8430
|
+
}
|
|
8431
|
+
},
|
|
8432
|
+
{
|
|
8433
|
+
"kind": "method",
|
|
8434
|
+
"name": "selectAll",
|
|
8435
|
+
"description": "Selects every selectable row.",
|
|
8436
|
+
"return": {
|
|
8437
|
+
"type": {
|
|
8438
|
+
"text": "Promise<void>",
|
|
8439
|
+
"references": [
|
|
8440
|
+
{
|
|
8441
|
+
"name": "Promise",
|
|
8442
|
+
"package": "global:"
|
|
8443
|
+
}
|
|
8444
|
+
]
|
|
8445
|
+
}
|
|
8446
|
+
}
|
|
8447
|
+
}
|
|
8448
|
+
],
|
|
8449
|
+
"events": [
|
|
8450
|
+
{
|
|
8451
|
+
"name": "expandedChange",
|
|
8452
|
+
"description": "Emitted when the set of expanded rows changes.",
|
|
8453
|
+
"type": {
|
|
8454
|
+
"text": "CustomEvent<XvTableExpandedDetail>",
|
|
8455
|
+
"references": [
|
|
8456
|
+
{
|
|
8457
|
+
"name": "XvTableExpandedDetail",
|
|
8458
|
+
"module": "./xv-table.model"
|
|
8459
|
+
}
|
|
8460
|
+
]
|
|
8461
|
+
}
|
|
8462
|
+
},
|
|
8463
|
+
{
|
|
8464
|
+
"name": "layoutChange",
|
|
8465
|
+
"description": "Emitted after a column is resized, reordered, hidden or reset.",
|
|
8466
|
+
"type": {
|
|
8467
|
+
"text": "CustomEvent<XvTableLayout>",
|
|
8468
|
+
"references": [
|
|
8469
|
+
{
|
|
8470
|
+
"name": "XvTableLayout",
|
|
8471
|
+
"module": "./xv-table.model"
|
|
8472
|
+
}
|
|
8473
|
+
]
|
|
8474
|
+
}
|
|
8475
|
+
},
|
|
8476
|
+
{
|
|
8477
|
+
"name": "pageChange",
|
|
8478
|
+
"description": "Emitted when the page or the page size changes.",
|
|
8479
|
+
"type": {
|
|
8480
|
+
"text": "CustomEvent<XvTablePage>",
|
|
8481
|
+
"references": [
|
|
8482
|
+
{
|
|
8483
|
+
"name": "XvTablePage",
|
|
8484
|
+
"module": "./xv-table.model"
|
|
8485
|
+
}
|
|
8486
|
+
]
|
|
8487
|
+
}
|
|
8488
|
+
},
|
|
8489
|
+
{
|
|
8490
|
+
"name": "rowClick",
|
|
8491
|
+
"description": "Emitted when a row is clicked, while `rowClickable` is set.",
|
|
8492
|
+
"type": {
|
|
8493
|
+
"text": "CustomEvent<XvTableRowClickDetail>",
|
|
8494
|
+
"references": [
|
|
8495
|
+
{
|
|
8496
|
+
"name": "XvTableRowClickDetail",
|
|
8497
|
+
"module": "./xv-table.model"
|
|
8498
|
+
}
|
|
8499
|
+
]
|
|
8500
|
+
}
|
|
8501
|
+
},
|
|
8502
|
+
{
|
|
8503
|
+
"name": "rowOrderChange",
|
|
8504
|
+
"description": "Emitted when a row is dropped in a new position. The table does not move the row itself —\nreorder the data and it re-renders, which keeps the DOM and the data from drifting apart.",
|
|
8505
|
+
"type": {
|
|
8506
|
+
"text": "CustomEvent<XvTableRowOrder>",
|
|
8507
|
+
"references": [
|
|
8508
|
+
{
|
|
8509
|
+
"name": "XvTableRowOrder",
|
|
8510
|
+
"module": "./xv-table.model"
|
|
8511
|
+
}
|
|
8512
|
+
]
|
|
8513
|
+
}
|
|
8514
|
+
},
|
|
8515
|
+
{
|
|
8516
|
+
"name": "selectedChange",
|
|
8517
|
+
"description": "Emitted when the set of selected rows changes. Named after the `selected` prop it reports:\n`selectionChange` is refused by Stencil as a native DOM event name.",
|
|
8518
|
+
"type": {
|
|
8519
|
+
"text": "CustomEvent<XvTableSelectionDetail>",
|
|
8520
|
+
"references": [
|
|
8521
|
+
{
|
|
8522
|
+
"name": "XvTableSelectionDetail",
|
|
8523
|
+
"module": "./xv-table.model"
|
|
8524
|
+
}
|
|
8525
|
+
]
|
|
8526
|
+
}
|
|
8527
|
+
},
|
|
8528
|
+
{
|
|
8529
|
+
"name": "sortChange",
|
|
8530
|
+
"description": "Emitted when a sortable header is activated.",
|
|
8531
|
+
"type": {
|
|
8532
|
+
"text": "CustomEvent<XvTableSort>",
|
|
8533
|
+
"references": [
|
|
8534
|
+
{
|
|
8535
|
+
"name": "XvTableSort",
|
|
8536
|
+
"module": "./xv-table.model"
|
|
8537
|
+
}
|
|
8538
|
+
]
|
|
8539
|
+
}
|
|
8540
|
+
}
|
|
8541
|
+
],
|
|
8542
|
+
"slots": [
|
|
8543
|
+
{
|
|
8544
|
+
"name": "",
|
|
8545
|
+
"description": "Slotted `xv-table-row` children, used instead of the `rows` prop."
|
|
8546
|
+
},
|
|
8547
|
+
{
|
|
8548
|
+
"name": "batch",
|
|
8549
|
+
"description": "Actions shown in the bar that replaces the toolbar while rows are selected."
|
|
8550
|
+
},
|
|
8551
|
+
{
|
|
8552
|
+
"name": "description",
|
|
8553
|
+
"description": "Replaces the `description` prop with markup."
|
|
8554
|
+
},
|
|
8555
|
+
{
|
|
8556
|
+
"name": "empty",
|
|
8557
|
+
"description": "Shown instead of the body when there is nothing to render."
|
|
8558
|
+
},
|
|
8559
|
+
{
|
|
8560
|
+
"name": "footer",
|
|
8561
|
+
"description": "Rows rendered after the body, for subtotals."
|
|
8562
|
+
},
|
|
8563
|
+
{
|
|
8564
|
+
"name": "label",
|
|
8565
|
+
"description": "Replaces the `label` prop with markup."
|
|
8566
|
+
},
|
|
8567
|
+
{
|
|
8568
|
+
"name": "toolbar",
|
|
8569
|
+
"description": "Controls above the table. Slotted content spans the bar; `flex: 0 0 auto` opts out."
|
|
8570
|
+
}
|
|
8571
|
+
],
|
|
8572
|
+
"cssParts": [
|
|
8573
|
+
{
|
|
8574
|
+
"name": "bar",
|
|
8575
|
+
"description": "The toolbar and batch bar wrapper."
|
|
8576
|
+
},
|
|
8577
|
+
{
|
|
8578
|
+
"name": "batch",
|
|
8579
|
+
"description": "The batch actions bar."
|
|
8580
|
+
},
|
|
8581
|
+
{
|
|
8582
|
+
"name": "body",
|
|
8583
|
+
"description": "The body wrapper."
|
|
8584
|
+
},
|
|
8585
|
+
{
|
|
8586
|
+
"name": "column-picker",
|
|
8587
|
+
"description": "The menu that hides and shows columns."
|
|
8588
|
+
},
|
|
8589
|
+
{
|
|
8590
|
+
"name": "description",
|
|
8591
|
+
"description": "The description text."
|
|
8592
|
+
},
|
|
8593
|
+
{
|
|
8594
|
+
"name": "empty",
|
|
8595
|
+
"description": "The empty state."
|
|
8596
|
+
},
|
|
8597
|
+
{
|
|
8598
|
+
"name": "grid",
|
|
8599
|
+
"description": "The grid itself."
|
|
8600
|
+
},
|
|
8601
|
+
{
|
|
8602
|
+
"name": "head",
|
|
8603
|
+
"description": "The header row."
|
|
8604
|
+
},
|
|
8605
|
+
{
|
|
8606
|
+
"name": "header-cell",
|
|
8607
|
+
"description": "One header cell."
|
|
8608
|
+
},
|
|
8609
|
+
{
|
|
8610
|
+
"name": "heading",
|
|
8611
|
+
"description": "The title block."
|
|
8612
|
+
},
|
|
8613
|
+
{
|
|
8614
|
+
"name": "loading",
|
|
8615
|
+
"description": "The loading overlay."
|
|
8616
|
+
},
|
|
8617
|
+
{
|
|
8618
|
+
"name": "pagination",
|
|
8619
|
+
"description": "The pagination block."
|
|
8620
|
+
},
|
|
8621
|
+
{
|
|
8622
|
+
"name": "scroll",
|
|
8623
|
+
"description": "The horizontal scroll container."
|
|
8624
|
+
},
|
|
8625
|
+
{
|
|
8626
|
+
"name": "title",
|
|
8627
|
+
"description": "The title text."
|
|
8628
|
+
},
|
|
8629
|
+
{
|
|
8630
|
+
"name": "toolbar",
|
|
8631
|
+
"description": "The toolbar."
|
|
8632
|
+
}
|
|
8633
|
+
],
|
|
8634
|
+
"cssProperties": [
|
|
8635
|
+
{
|
|
8636
|
+
"name": "--xv-table-border-color",
|
|
8637
|
+
"description": "Colour of the outer border."
|
|
8638
|
+
},
|
|
8639
|
+
{
|
|
8640
|
+
"name": "--xv-table-columns",
|
|
8641
|
+
"description": "The grid track list. Built from `columns`; a resize rewrites it."
|
|
8642
|
+
},
|
|
8643
|
+
{
|
|
8644
|
+
"name": "--xv-table-header-bg",
|
|
8645
|
+
"description": "Background of the header row."
|
|
8646
|
+
},
|
|
8647
|
+
{
|
|
8648
|
+
"name": "--xv-table-height",
|
|
8649
|
+
"description": "Row height. Set by the size ladder, xs 24 to xl 64."
|
|
8650
|
+
},
|
|
8651
|
+
{
|
|
8652
|
+
"name": "--xv-table-loading-bg",
|
|
8653
|
+
"description": "Colour washed over the body while loading."
|
|
8654
|
+
},
|
|
8655
|
+
{
|
|
8656
|
+
"name": "--xv-table-loading-opacity",
|
|
8657
|
+
"description": "Opacity of that wash."
|
|
8658
|
+
},
|
|
8659
|
+
{
|
|
8660
|
+
"name": "--xv-table-max-height",
|
|
8661
|
+
"description": "Height the body scrolls within. Needed for `sticky-header`."
|
|
8662
|
+
},
|
|
8663
|
+
{
|
|
8664
|
+
"name": "--xv-table-padding-x",
|
|
8665
|
+
"description": "Horizontal cell padding."
|
|
8666
|
+
},
|
|
8667
|
+
{
|
|
8668
|
+
"name": "--xv-table-padding-y",
|
|
8669
|
+
"description": "Vertical cell padding."
|
|
8670
|
+
},
|
|
8671
|
+
{
|
|
8672
|
+
"name": "--xv-table-scroll-width",
|
|
8673
|
+
"description": "Width the table scrolls at once the screen is too narrow to squeeze."
|
|
8674
|
+
}
|
|
8675
|
+
]
|
|
8676
|
+
}
|
|
8677
|
+
],
|
|
8678
|
+
"exports": [
|
|
8679
|
+
{
|
|
8680
|
+
"kind": "js",
|
|
8681
|
+
"name": "XvTable",
|
|
8682
|
+
"declaration": {
|
|
8683
|
+
"name": "XvTable"
|
|
8684
|
+
}
|
|
8685
|
+
},
|
|
8686
|
+
{
|
|
8687
|
+
"kind": "custom-element-definition",
|
|
8688
|
+
"name": "xv-table",
|
|
8689
|
+
"declaration": {
|
|
8690
|
+
"name": "XvTable"
|
|
8691
|
+
}
|
|
8692
|
+
}
|
|
8693
|
+
]
|
|
8694
|
+
},
|
|
8695
|
+
{
|
|
8696
|
+
"kind": "javascript-module",
|
|
8697
|
+
"path": "src/components/xv-table/xv-table-cell/xv-table-cell.tsx",
|
|
8698
|
+
"declarations": [
|
|
8699
|
+
{
|
|
8700
|
+
"kind": "class",
|
|
8701
|
+
"customElement": true,
|
|
8702
|
+
"tagName": "xv-table-cell",
|
|
8703
|
+
"name": "XvTableCell",
|
|
8704
|
+
"description": "One cell of a table row. It holds arbitrary markup — buttons, links, tags, nested components —\r\nwhich is why the table stays composed rather than driven only by data.\r\n\r\nIn a header row it also carries the column affordances: the sort arrow, the drag grip and the\r\nresize handle. The table renders this same component in both modes, so a header written as\r\nmarkup can do everything a header built from `columns` can.",
|
|
8705
|
+
"attributes": [
|
|
8706
|
+
{
|
|
8707
|
+
"name": "align",
|
|
8708
|
+
"description": "Horizontal alignment of the content.",
|
|
8709
|
+
"type": {
|
|
8710
|
+
"text": "\"center\" | \"end\" | \"start\"",
|
|
8711
|
+
"references": [
|
|
8712
|
+
{
|
|
8713
|
+
"name": "XvCellAlign",
|
|
8714
|
+
"module": "../xv-table.model"
|
|
8715
|
+
}
|
|
8716
|
+
]
|
|
8717
|
+
},
|
|
8718
|
+
"default": "'start'",
|
|
8719
|
+
"fieldName": "align"
|
|
8720
|
+
},
|
|
8721
|
+
{
|
|
8722
|
+
"name": "clamp-lines",
|
|
8723
|
+
"description": "Lines kept before clamping, when `overflow` is `clamp`.",
|
|
8724
|
+
"type": {
|
|
8725
|
+
"text": "number"
|
|
8726
|
+
},
|
|
8727
|
+
"default": "2",
|
|
8728
|
+
"fieldName": "clampLines"
|
|
8729
|
+
},
|
|
8730
|
+
{
|
|
8731
|
+
"name": "column-id",
|
|
8732
|
+
"description": "Column this cell belongs to. Identifies it for sorting, resizing and the stored layout.",
|
|
8733
|
+
"type": {
|
|
8734
|
+
"text": "string"
|
|
8735
|
+
},
|
|
8736
|
+
"default": "''",
|
|
8737
|
+
"fieldName": "columnId"
|
|
8738
|
+
},
|
|
8739
|
+
{
|
|
8740
|
+
"name": "header",
|
|
8741
|
+
"description": "Renders the cell as a column header. Set by the table from the row it sits in.",
|
|
8742
|
+
"type": {
|
|
8743
|
+
"text": "boolean"
|
|
8744
|
+
},
|
|
8745
|
+
"default": "false",
|
|
8746
|
+
"fieldName": "header"
|
|
8747
|
+
},
|
|
8748
|
+
{
|
|
8749
|
+
"name": "hideable",
|
|
8750
|
+
"description": "Lets the column picker hide this column. A header cell only.",
|
|
8751
|
+
"type": {
|
|
8752
|
+
"text": "boolean"
|
|
8753
|
+
},
|
|
8754
|
+
"default": "false",
|
|
8755
|
+
"fieldName": "hideable"
|
|
8756
|
+
},
|
|
8757
|
+
{
|
|
8758
|
+
"name": "overflow",
|
|
8759
|
+
"description": "How content wider than the column behaves.",
|
|
8760
|
+
"type": {
|
|
8761
|
+
"text": "\"clamp\" | \"ellipsis\" | \"wrap\"",
|
|
8762
|
+
"references": [
|
|
8763
|
+
{
|
|
8764
|
+
"name": "XvCellOverflow",
|
|
8765
|
+
"module": "../xv-table.model"
|
|
8766
|
+
}
|
|
8767
|
+
]
|
|
8768
|
+
},
|
|
8769
|
+
"default": "'ellipsis'",
|
|
8770
|
+
"fieldName": "overflow"
|
|
8771
|
+
},
|
|
8772
|
+
{
|
|
8773
|
+
"name": "reorder-label",
|
|
8774
|
+
"description": "Accessible name of the drag grip.",
|
|
8775
|
+
"type": {
|
|
8776
|
+
"text": "string"
|
|
8777
|
+
},
|
|
8778
|
+
"default": "'Drag to reorder'",
|
|
8779
|
+
"fieldName": "reorderLabel"
|
|
8780
|
+
},
|
|
8781
|
+
{
|
|
8782
|
+
"name": "reorderable",
|
|
8783
|
+
"description": "Offers the drag grip. A header cell only.",
|
|
8784
|
+
"type": {
|
|
8785
|
+
"text": "boolean"
|
|
8786
|
+
},
|
|
8787
|
+
"default": "false",
|
|
8788
|
+
"fieldName": "reorderable"
|
|
8789
|
+
},
|
|
8790
|
+
{
|
|
8791
|
+
"name": "resizable",
|
|
8792
|
+
"description": "Offers the resize handle. A header cell only.",
|
|
8793
|
+
"type": {
|
|
8794
|
+
"text": "boolean"
|
|
8795
|
+
},
|
|
8796
|
+
"default": "false",
|
|
8797
|
+
"fieldName": "resizable"
|
|
8798
|
+
},
|
|
8799
|
+
{
|
|
8800
|
+
"name": "sort-direction",
|
|
8801
|
+
"description": "Direction currently sorted by; empty when this column is not the active one.",
|
|
8802
|
+
"type": {
|
|
8803
|
+
"text": "\"\" | XV_SORT_DIR.ASC | XV_SORT_DIR.DESC | XV_SORT_DIR.NONE",
|
|
8804
|
+
"references": [
|
|
8805
|
+
{
|
|
8806
|
+
"name": "XV_SORT_DIR",
|
|
8807
|
+
"module": "../../../types/enum"
|
|
8808
|
+
}
|
|
8809
|
+
]
|
|
8810
|
+
},
|
|
8811
|
+
"default": "''",
|
|
8812
|
+
"fieldName": "sortDirection"
|
|
8813
|
+
},
|
|
8814
|
+
{
|
|
8815
|
+
"name": "sortable",
|
|
8816
|
+
"description": "Offers the sort affordance. A header cell only.",
|
|
8817
|
+
"type": {
|
|
8818
|
+
"text": "boolean"
|
|
8819
|
+
},
|
|
8820
|
+
"default": "false",
|
|
8821
|
+
"fieldName": "sortable"
|
|
8822
|
+
},
|
|
8823
|
+
{
|
|
8824
|
+
"name": "tooltip",
|
|
8825
|
+
"description": "Tooltip shown on hover. Only a cell that sets it pays for the tooltip component.",
|
|
8826
|
+
"type": {
|
|
8827
|
+
"text": "string"
|
|
8828
|
+
},
|
|
8829
|
+
"default": "''",
|
|
8830
|
+
"fieldName": "tooltip"
|
|
7519
8831
|
},
|
|
7520
8832
|
{
|
|
7521
|
-
"name": "
|
|
8833
|
+
"name": "width",
|
|
8834
|
+
"description": "Column width. Read off the header row when the table has no `columns`. Any CSS length.",
|
|
7522
8835
|
"type": {
|
|
7523
|
-
"text": "
|
|
8836
|
+
"text": "string"
|
|
7524
8837
|
},
|
|
7525
|
-
"
|
|
7526
|
-
|
|
8838
|
+
"default": "''",
|
|
8839
|
+
"fieldName": "width"
|
|
8840
|
+
}
|
|
8841
|
+
],
|
|
8842
|
+
"members": [
|
|
7527
8843
|
{
|
|
7528
|
-
"
|
|
8844
|
+
"kind": "field",
|
|
8845
|
+
"name": "align",
|
|
8846
|
+
"description": "Horizontal alignment of the content.",
|
|
7529
8847
|
"type": {
|
|
7530
|
-
"text": "\"
|
|
8848
|
+
"text": "\"center\" | \"end\" | \"start\"",
|
|
7531
8849
|
"references": [
|
|
7532
8850
|
{
|
|
7533
|
-
"name": "
|
|
7534
|
-
"module": "
|
|
8851
|
+
"name": "XvCellAlign",
|
|
8852
|
+
"module": "../xv-table.model"
|
|
7535
8853
|
}
|
|
7536
8854
|
]
|
|
7537
8855
|
},
|
|
7538
|
-
"default": "
|
|
7539
|
-
"
|
|
7540
|
-
|
|
7541
|
-
|
|
7542
|
-
|
|
8856
|
+
"default": "'start'",
|
|
8857
|
+
"readonly": true,
|
|
8858
|
+
"attribute": "align",
|
|
8859
|
+
"reflects": true
|
|
8860
|
+
},
|
|
7543
8861
|
{
|
|
7544
8862
|
"kind": "field",
|
|
7545
|
-
"name": "
|
|
8863
|
+
"name": "clampLines",
|
|
8864
|
+
"description": "Lines kept before clamping, when `overflow` is `clamp`.",
|
|
7546
8865
|
"type": {
|
|
7547
|
-
"text": "
|
|
8866
|
+
"text": "number"
|
|
7548
8867
|
},
|
|
7549
|
-
"
|
|
8868
|
+
"default": "2",
|
|
8869
|
+
"readonly": true,
|
|
8870
|
+
"attribute": "clamp-lines"
|
|
7550
8871
|
},
|
|
7551
8872
|
{
|
|
7552
8873
|
"kind": "field",
|
|
7553
|
-
"name": "
|
|
8874
|
+
"name": "columnId",
|
|
8875
|
+
"description": "Column this cell belongs to. Identifies it for sorting, resizing and the stored layout.",
|
|
8876
|
+
"type": {
|
|
8877
|
+
"text": "string"
|
|
8878
|
+
},
|
|
8879
|
+
"default": "''",
|
|
8880
|
+
"readonly": true,
|
|
8881
|
+
"attribute": "column-id",
|
|
8882
|
+
"reflects": true
|
|
8883
|
+
},
|
|
8884
|
+
{
|
|
8885
|
+
"kind": "field",
|
|
8886
|
+
"name": "header",
|
|
8887
|
+
"description": "Renders the cell as a column header. Set by the table from the row it sits in.",
|
|
7554
8888
|
"type": {
|
|
7555
8889
|
"text": "boolean"
|
|
7556
8890
|
},
|
|
8891
|
+
"default": "false",
|
|
7557
8892
|
"readonly": true,
|
|
7558
|
-
"attribute": "
|
|
8893
|
+
"attribute": "header",
|
|
7559
8894
|
"reflects": true
|
|
7560
8895
|
},
|
|
7561
8896
|
{
|
|
7562
8897
|
"kind": "field",
|
|
7563
|
-
"name": "
|
|
8898
|
+
"name": "hideable",
|
|
8899
|
+
"description": "Lets the column picker hide this column. A header cell only.",
|
|
7564
8900
|
"type": {
|
|
7565
8901
|
"text": "boolean"
|
|
7566
8902
|
},
|
|
8903
|
+
"default": "false",
|
|
7567
8904
|
"readonly": true,
|
|
7568
|
-
"attribute": "
|
|
8905
|
+
"attribute": "hideable",
|
|
7569
8906
|
"reflects": true
|
|
7570
8907
|
},
|
|
7571
8908
|
{
|
|
7572
8909
|
"kind": "field",
|
|
7573
|
-
"name": "
|
|
8910
|
+
"name": "overflow",
|
|
8911
|
+
"description": "How content wider than the column behaves.",
|
|
7574
8912
|
"type": {
|
|
7575
|
-
"text": "\"
|
|
8913
|
+
"text": "\"clamp\" | \"ellipsis\" | \"wrap\"",
|
|
7576
8914
|
"references": [
|
|
7577
8915
|
{
|
|
7578
|
-
"name": "
|
|
7579
|
-
"module": "
|
|
8916
|
+
"name": "XvCellOverflow",
|
|
8917
|
+
"module": "../xv-table.model"
|
|
7580
8918
|
}
|
|
7581
8919
|
]
|
|
7582
8920
|
},
|
|
7583
|
-
"default": "
|
|
8921
|
+
"default": "'ellipsis'",
|
|
7584
8922
|
"readonly": true,
|
|
7585
|
-
"attribute": "
|
|
8923
|
+
"attribute": "overflow",
|
|
7586
8924
|
"reflects": true
|
|
7587
|
-
}
|
|
7588
|
-
],
|
|
7589
|
-
"slots": [
|
|
7590
|
-
{
|
|
7591
|
-
"name": "",
|
|
7592
|
-
"description": "The default slot"
|
|
7593
|
-
},
|
|
7594
|
-
{
|
|
7595
|
-
"name": "batch"
|
|
7596
|
-
},
|
|
7597
|
-
{
|
|
7598
|
-
"name": "footer"
|
|
7599
|
-
},
|
|
7600
|
-
{
|
|
7601
|
-
"name": "title"
|
|
7602
8925
|
},
|
|
7603
8926
|
{
|
|
7604
|
-
"
|
|
7605
|
-
|
|
7606
|
-
|
|
7607
|
-
}
|
|
7608
|
-
],
|
|
7609
|
-
"exports": [
|
|
7610
|
-
{
|
|
7611
|
-
"kind": "js",
|
|
7612
|
-
"name": "XvTableV2",
|
|
7613
|
-
"declaration": {
|
|
7614
|
-
"name": "XvTableV2"
|
|
7615
|
-
}
|
|
7616
|
-
},
|
|
7617
|
-
{
|
|
7618
|
-
"kind": "custom-element-definition",
|
|
7619
|
-
"name": "xv-table-v2",
|
|
7620
|
-
"declaration": {
|
|
7621
|
-
"name": "XvTableV2"
|
|
7622
|
-
}
|
|
7623
|
-
}
|
|
7624
|
-
]
|
|
7625
|
-
},
|
|
7626
|
-
{
|
|
7627
|
-
"kind": "javascript-module",
|
|
7628
|
-
"path": "src/components/xv-table/xv-table-cell/xv-table-cell.tsx",
|
|
7629
|
-
"declarations": [
|
|
7630
|
-
{
|
|
7631
|
-
"kind": "class",
|
|
7632
|
-
"customElement": true,
|
|
7633
|
-
"tagName": "xv-table-v2-cell",
|
|
7634
|
-
"name": "XvTableV2Cell",
|
|
7635
|
-
"attributes": [
|
|
7636
|
-
{
|
|
7637
|
-
"name": "align",
|
|
8927
|
+
"kind": "field",
|
|
8928
|
+
"name": "reorderLabel",
|
|
8929
|
+
"description": "Accessible name of the drag grip.",
|
|
7638
8930
|
"type": {
|
|
7639
|
-
"text": "
|
|
8931
|
+
"text": "string"
|
|
7640
8932
|
},
|
|
7641
|
-
"
|
|
8933
|
+
"default": "'Drag to reorder'",
|
|
8934
|
+
"readonly": true,
|
|
8935
|
+
"attribute": "reorder-label"
|
|
7642
8936
|
},
|
|
7643
8937
|
{
|
|
7644
|
-
"
|
|
8938
|
+
"kind": "field",
|
|
8939
|
+
"name": "reorderable",
|
|
8940
|
+
"description": "Offers the drag grip. A header cell only.",
|
|
7645
8941
|
"type": {
|
|
7646
8942
|
"text": "boolean"
|
|
7647
8943
|
},
|
|
7648
|
-
"
|
|
8944
|
+
"default": "false",
|
|
8945
|
+
"readonly": true,
|
|
8946
|
+
"attribute": "reorderable",
|
|
8947
|
+
"reflects": true
|
|
7649
8948
|
},
|
|
7650
8949
|
{
|
|
7651
|
-
"
|
|
8950
|
+
"kind": "field",
|
|
8951
|
+
"name": "resizable",
|
|
8952
|
+
"description": "Offers the resize handle. A header cell only.",
|
|
7652
8953
|
"type": {
|
|
7653
|
-
"text": "
|
|
8954
|
+
"text": "boolean"
|
|
7654
8955
|
},
|
|
7655
|
-
"
|
|
8956
|
+
"default": "false",
|
|
8957
|
+
"readonly": true,
|
|
8958
|
+
"attribute": "resizable",
|
|
8959
|
+
"reflects": true
|
|
7656
8960
|
},
|
|
7657
8961
|
{
|
|
7658
|
-
"
|
|
8962
|
+
"kind": "field",
|
|
8963
|
+
"name": "sortDirection",
|
|
8964
|
+
"description": "Direction currently sorted by; empty when this column is not the active one.",
|
|
7659
8965
|
"type": {
|
|
7660
8966
|
"text": "\"\" | XV_SORT_DIR.ASC | XV_SORT_DIR.DESC | XV_SORT_DIR.NONE",
|
|
7661
8967
|
"references": [
|
|
@@ -7665,73 +8971,86 @@
|
|
|
7665
8971
|
}
|
|
7666
8972
|
]
|
|
7667
8973
|
},
|
|
7668
|
-
"
|
|
7669
|
-
}
|
|
7670
|
-
],
|
|
7671
|
-
"members": [
|
|
7672
|
-
{
|
|
7673
|
-
"kind": "field",
|
|
7674
|
-
"name": "align",
|
|
7675
|
-
"type": {
|
|
7676
|
-
"text": "\"center\" | \"left\" | \"right\""
|
|
7677
|
-
},
|
|
8974
|
+
"default": "''",
|
|
7678
8975
|
"readonly": true,
|
|
7679
|
-
"attribute": "
|
|
8976
|
+
"attribute": "sort-direction",
|
|
7680
8977
|
"reflects": true
|
|
7681
8978
|
},
|
|
7682
8979
|
{
|
|
7683
8980
|
"kind": "field",
|
|
7684
|
-
"name": "
|
|
8981
|
+
"name": "sortable",
|
|
8982
|
+
"description": "Offers the sort affordance. A header cell only.",
|
|
7685
8983
|
"type": {
|
|
7686
8984
|
"text": "boolean"
|
|
7687
8985
|
},
|
|
8986
|
+
"default": "false",
|
|
7688
8987
|
"readonly": true,
|
|
7689
|
-
"attribute": "
|
|
8988
|
+
"attribute": "sortable",
|
|
7690
8989
|
"reflects": true
|
|
7691
8990
|
},
|
|
7692
8991
|
{
|
|
7693
8992
|
"kind": "field",
|
|
7694
|
-
"name": "
|
|
8993
|
+
"name": "tooltip",
|
|
8994
|
+
"description": "Tooltip shown on hover. Only a cell that sets it pays for the tooltip component.",
|
|
7695
8995
|
"type": {
|
|
7696
8996
|
"text": "string"
|
|
7697
8997
|
},
|
|
7698
|
-
"
|
|
7699
|
-
"
|
|
8998
|
+
"default": "''",
|
|
8999
|
+
"readonly": true,
|
|
9000
|
+
"attribute": "tooltip"
|
|
7700
9001
|
},
|
|
7701
9002
|
{
|
|
7702
9003
|
"kind": "field",
|
|
7703
|
-
"name": "
|
|
9004
|
+
"name": "width",
|
|
9005
|
+
"description": "Column width. Read off the header row when the table has no `columns`. Any CSS length.",
|
|
7704
9006
|
"type": {
|
|
7705
|
-
"text": "
|
|
7706
|
-
"references": [
|
|
7707
|
-
{
|
|
7708
|
-
"name": "XV_SORT_DIR",
|
|
7709
|
-
"module": "../../../types/enum"
|
|
7710
|
-
}
|
|
7711
|
-
]
|
|
9007
|
+
"text": "string"
|
|
7712
9008
|
},
|
|
7713
|
-
"
|
|
7714
|
-
"
|
|
9009
|
+
"default": "''",
|
|
9010
|
+
"readonly": true,
|
|
9011
|
+
"attribute": "width"
|
|
7715
9012
|
}
|
|
7716
9013
|
],
|
|
7717
|
-
"
|
|
9014
|
+
"slots": [
|
|
7718
9015
|
{
|
|
7719
|
-
"name": "
|
|
7720
|
-
"
|
|
7721
|
-
"text": "CustomEvent<XVTableSortDto>",
|
|
7722
|
-
"references": [
|
|
7723
|
-
{
|
|
7724
|
-
"name": "XVTableSortDto",
|
|
7725
|
-
"module": "../_vars"
|
|
7726
|
-
}
|
|
7727
|
-
]
|
|
7728
|
-
}
|
|
9016
|
+
"name": "",
|
|
9017
|
+
"description": "The cell content."
|
|
7729
9018
|
}
|
|
7730
9019
|
],
|
|
7731
|
-
"
|
|
9020
|
+
"cssParts": [
|
|
7732
9021
|
{
|
|
7733
|
-
"name": "",
|
|
7734
|
-
"description": "The
|
|
9022
|
+
"name": "cell",
|
|
9023
|
+
"description": "The cell host."
|
|
9024
|
+
},
|
|
9025
|
+
{
|
|
9026
|
+
"name": "content",
|
|
9027
|
+
"description": "The wrapper the overflow rules are applied to."
|
|
9028
|
+
},
|
|
9029
|
+
{
|
|
9030
|
+
"name": "grip",
|
|
9031
|
+
"description": "The column drag grip, in a header cell."
|
|
9032
|
+
},
|
|
9033
|
+
{
|
|
9034
|
+
"name": "resize",
|
|
9035
|
+
"description": "The column resize handle, in a header cell."
|
|
9036
|
+
},
|
|
9037
|
+
{
|
|
9038
|
+
"name": "tooltip",
|
|
9039
|
+
"description": "The tooltip wrapper, present only when `tooltip` is set."
|
|
9040
|
+
}
|
|
9041
|
+
],
|
|
9042
|
+
"cssProperties": [
|
|
9043
|
+
{
|
|
9044
|
+
"name": "--xv-table-cell-clamp",
|
|
9045
|
+
"description": "Lines kept when `overflow` is `clamp`."
|
|
9046
|
+
},
|
|
9047
|
+
{
|
|
9048
|
+
"name": "--xv-table-cell-padding-x",
|
|
9049
|
+
"description": "Horizontal padding. Inherited from the table."
|
|
9050
|
+
},
|
|
9051
|
+
{
|
|
9052
|
+
"name": "--xv-table-cell-padding-y",
|
|
9053
|
+
"description": "Vertical padding. Inherited from the table."
|
|
7735
9054
|
}
|
|
7736
9055
|
]
|
|
7737
9056
|
}
|
|
@@ -7739,32 +9058,34 @@
|
|
|
7739
9058
|
"exports": [
|
|
7740
9059
|
{
|
|
7741
9060
|
"kind": "js",
|
|
7742
|
-
"name": "
|
|
9061
|
+
"name": "XvTableCell",
|
|
7743
9062
|
"declaration": {
|
|
7744
|
-
"name": "
|
|
9063
|
+
"name": "XvTableCell"
|
|
7745
9064
|
}
|
|
7746
9065
|
},
|
|
7747
9066
|
{
|
|
7748
9067
|
"kind": "custom-element-definition",
|
|
7749
|
-
"name": "xv-table-
|
|
9068
|
+
"name": "xv-table-cell",
|
|
7750
9069
|
"declaration": {
|
|
7751
|
-
"name": "
|
|
9070
|
+
"name": "XvTableCell"
|
|
7752
9071
|
}
|
|
7753
9072
|
}
|
|
7754
9073
|
]
|
|
7755
9074
|
},
|
|
7756
9075
|
{
|
|
7757
9076
|
"kind": "javascript-module",
|
|
7758
|
-
"path": "src/components/xv-table/xv-table-
|
|
9077
|
+
"path": "src/components/xv-table/xv-table-row/xv-table-row.tsx",
|
|
7759
9078
|
"declarations": [
|
|
7760
9079
|
{
|
|
7761
9080
|
"kind": "class",
|
|
7762
9081
|
"customElement": true,
|
|
7763
|
-
"tagName": "xv-table-
|
|
7764
|
-
"name": "
|
|
9082
|
+
"tagName": "xv-table-row",
|
|
9083
|
+
"name": "XvTableRow",
|
|
9084
|
+
"description": "One row of a table. Everything it needs is pushed down by `xv-table`, so it never reads the\r\ntable's attributes itself — the old row did that on `slotchange` only and went stale.",
|
|
7765
9085
|
"attributes": [
|
|
7766
9086
|
{
|
|
7767
9087
|
"name": "disabled",
|
|
9088
|
+
"description": "Blocks selection and expansion.",
|
|
7768
9089
|
"type": {
|
|
7769
9090
|
"text": "boolean"
|
|
7770
9091
|
},
|
|
@@ -7772,202 +9093,283 @@
|
|
|
7772
9093
|
"fieldName": "disabled"
|
|
7773
9094
|
},
|
|
7774
9095
|
{
|
|
7775
|
-
"name": "
|
|
9096
|
+
"name": "expand-label",
|
|
9097
|
+
"description": "Accessible name of the expand toggle. Set by the table.",
|
|
9098
|
+
"type": {
|
|
9099
|
+
"text": "string"
|
|
9100
|
+
},
|
|
9101
|
+
"default": "'Toggle row'",
|
|
9102
|
+
"fieldName": "expandLabel"
|
|
9103
|
+
},
|
|
9104
|
+
{
|
|
9105
|
+
"name": "expand-mode",
|
|
9106
|
+
"description": "Whether the row can be expanded. Set by the table.",
|
|
9107
|
+
"type": {
|
|
9108
|
+
"text": "\"multiple\" | \"none\" | \"single\"",
|
|
9109
|
+
"references": [
|
|
9110
|
+
{
|
|
9111
|
+
"name": "XvTableExpandMode",
|
|
9112
|
+
"module": "../xv-table.model"
|
|
9113
|
+
}
|
|
9114
|
+
]
|
|
9115
|
+
},
|
|
9116
|
+
"default": "'none'",
|
|
9117
|
+
"fieldName": "expandMode"
|
|
9118
|
+
},
|
|
9119
|
+
{
|
|
9120
|
+
"name": "expandable",
|
|
9121
|
+
"description": "Whether this row has anything to expand. Set by the table.",
|
|
7776
9122
|
"type": {
|
|
7777
9123
|
"text": "boolean"
|
|
7778
9124
|
},
|
|
7779
9125
|
"default": "false",
|
|
7780
|
-
"fieldName": "
|
|
7781
|
-
}
|
|
7782
|
-
],
|
|
7783
|
-
"members": [
|
|
9126
|
+
"fieldName": "expandable"
|
|
9127
|
+
},
|
|
7784
9128
|
{
|
|
7785
|
-
"
|
|
7786
|
-
"
|
|
9129
|
+
"name": "expanded",
|
|
9130
|
+
"description": "Whether the row's expand panel is open.",
|
|
9131
|
+
"type": {
|
|
9132
|
+
"text": "boolean"
|
|
9133
|
+
},
|
|
9134
|
+
"default": "false",
|
|
9135
|
+
"fieldName": "expanded"
|
|
9136
|
+
},
|
|
9137
|
+
{
|
|
9138
|
+
"name": "group",
|
|
9139
|
+
"description": "Renders the row as a subtotal or grouping row: no controls, accented background.",
|
|
9140
|
+
"type": {
|
|
9141
|
+
"text": "boolean"
|
|
9142
|
+
},
|
|
9143
|
+
"default": "false",
|
|
9144
|
+
"fieldName": "group"
|
|
9145
|
+
},
|
|
9146
|
+
{
|
|
9147
|
+
"name": "has-panel",
|
|
9148
|
+
"description": "Whether the row carries `slot=\"expand\"` content. Set by the table.",
|
|
9149
|
+
"type": {
|
|
9150
|
+
"text": "boolean"
|
|
9151
|
+
},
|
|
9152
|
+
"default": "false",
|
|
9153
|
+
"fieldName": "hasPanel"
|
|
9154
|
+
},
|
|
9155
|
+
{
|
|
9156
|
+
"name": "header",
|
|
9157
|
+
"description": "Marks the row as the table's header. Its cells supply the column labels.",
|
|
9158
|
+
"type": {
|
|
9159
|
+
"text": "boolean"
|
|
9160
|
+
},
|
|
9161
|
+
"default": "false",
|
|
9162
|
+
"fieldName": "header"
|
|
9163
|
+
},
|
|
9164
|
+
{
|
|
9165
|
+
"name": "hover",
|
|
9166
|
+
"description": "Highlights the row on pointer hover. Set by the table.",
|
|
9167
|
+
"type": {
|
|
9168
|
+
"text": "boolean"
|
|
9169
|
+
},
|
|
9170
|
+
"default": "false",
|
|
9171
|
+
"fieldName": "hover"
|
|
9172
|
+
},
|
|
9173
|
+
{
|
|
9174
|
+
"name": "parent",
|
|
9175
|
+
"description": "Value of the row this one belongs to. Child rows are siblings in the same grid, so they keep\r\nthe table's columns instead of living in a panel of their own.",
|
|
9176
|
+
"type": {
|
|
9177
|
+
"text": "string"
|
|
9178
|
+
},
|
|
9179
|
+
"default": "''",
|
|
9180
|
+
"fieldName": "parent"
|
|
9181
|
+
},
|
|
9182
|
+
{
|
|
9183
|
+
"name": "partial",
|
|
9184
|
+
"description": "Indeterminate state of the header row's select-all checkbox.",
|
|
7787
9185
|
"type": {
|
|
7788
9186
|
"text": "boolean"
|
|
7789
9187
|
},
|
|
7790
9188
|
"default": "false",
|
|
7791
|
-
"
|
|
7792
|
-
"attribute": "disabled",
|
|
7793
|
-
"reflects": true
|
|
9189
|
+
"fieldName": "partial"
|
|
7794
9190
|
},
|
|
7795
9191
|
{
|
|
7796
|
-
"
|
|
7797
|
-
"
|
|
9192
|
+
"name": "reorder-label",
|
|
9193
|
+
"description": "Accessible name of the drag grip. Set by the table.",
|
|
7798
9194
|
"type": {
|
|
7799
|
-
"text": "
|
|
9195
|
+
"text": "string"
|
|
7800
9196
|
},
|
|
7801
|
-
"default": "
|
|
7802
|
-
"
|
|
7803
|
-
"reflects": true
|
|
7804
|
-
}
|
|
7805
|
-
],
|
|
7806
|
-
"slots": [
|
|
7807
|
-
{
|
|
7808
|
-
"name": "",
|
|
7809
|
-
"description": "The default slot"
|
|
9197
|
+
"default": "'Drag to reorder'",
|
|
9198
|
+
"fieldName": "reorderLabel"
|
|
7810
9199
|
},
|
|
7811
9200
|
{
|
|
7812
|
-
"name": "
|
|
7813
|
-
|
|
7814
|
-
]
|
|
7815
|
-
}
|
|
7816
|
-
],
|
|
7817
|
-
"exports": [
|
|
7818
|
-
{
|
|
7819
|
-
"kind": "js",
|
|
7820
|
-
"name": "XvTableV2Expand",
|
|
7821
|
-
"declaration": {
|
|
7822
|
-
"name": "XvTableV2Expand"
|
|
7823
|
-
}
|
|
7824
|
-
},
|
|
7825
|
-
{
|
|
7826
|
-
"kind": "custom-element-definition",
|
|
7827
|
-
"name": "xv-table-v2-expand",
|
|
7828
|
-
"declaration": {
|
|
7829
|
-
"name": "XvTableV2Expand"
|
|
7830
|
-
}
|
|
7831
|
-
}
|
|
7832
|
-
]
|
|
7833
|
-
},
|
|
7834
|
-
{
|
|
7835
|
-
"kind": "javascript-module",
|
|
7836
|
-
"path": "src/components/xv-table/xv-table-row/xv-table-row.tsx",
|
|
7837
|
-
"declarations": [
|
|
7838
|
-
{
|
|
7839
|
-
"kind": "class",
|
|
7840
|
-
"customElement": true,
|
|
7841
|
-
"tagName": "xv-table-v2-row",
|
|
7842
|
-
"name": "XvTableV2Row",
|
|
7843
|
-
"attributes": [
|
|
7844
|
-
{
|
|
7845
|
-
"name": "checked",
|
|
9201
|
+
"name": "row-reorder-handle",
|
|
9202
|
+
"description": "Whether the whole row drags, or only its grip. Set by the table.",
|
|
7846
9203
|
"type": {
|
|
7847
|
-
"text": "
|
|
7848
|
-
"references": [
|
|
7849
|
-
{
|
|
7850
|
-
"name": "SelectRowDto",
|
|
7851
|
-
"module": "../_vars"
|
|
7852
|
-
}
|
|
7853
|
-
]
|
|
9204
|
+
"text": "\"icon\" | \"row\""
|
|
7854
9205
|
},
|
|
7855
|
-
"
|
|
9206
|
+
"default": "'icon'",
|
|
9207
|
+
"fieldName": "rowReorderHandle"
|
|
7856
9208
|
},
|
|
7857
9209
|
{
|
|
7858
|
-
"name": "
|
|
9210
|
+
"name": "row-reorderable",
|
|
9211
|
+
"description": "Whether this row can be dragged into a new position. Set by the table.",
|
|
7859
9212
|
"type": {
|
|
7860
9213
|
"text": "boolean"
|
|
7861
9214
|
},
|
|
7862
|
-
"
|
|
9215
|
+
"default": "false",
|
|
9216
|
+
"fieldName": "rowReorderable"
|
|
7863
9217
|
},
|
|
7864
9218
|
{
|
|
7865
|
-
"name": "
|
|
9219
|
+
"name": "selectable",
|
|
9220
|
+
"description": "Whether the row offers its selection control. A header with no rows under it has nothing to pick.",
|
|
7866
9221
|
"type": {
|
|
7867
9222
|
"text": "boolean"
|
|
7868
9223
|
},
|
|
7869
|
-
"
|
|
9224
|
+
"default": "true",
|
|
9225
|
+
"fieldName": "selectable"
|
|
7870
9226
|
},
|
|
7871
9227
|
{
|
|
7872
|
-
"name": "
|
|
9228
|
+
"name": "selected",
|
|
9229
|
+
"description": "Whether the row is selected.",
|
|
7873
9230
|
"type": {
|
|
7874
9231
|
"text": "boolean"
|
|
7875
9232
|
},
|
|
7876
|
-
"
|
|
9233
|
+
"default": "false",
|
|
9234
|
+
"fieldName": "selected"
|
|
7877
9235
|
},
|
|
7878
9236
|
{
|
|
7879
|
-
"name": "
|
|
9237
|
+
"name": "selection-mode",
|
|
9238
|
+
"description": "Selection control rendered in the leading cell. Set by the table.",
|
|
7880
9239
|
"type": {
|
|
7881
|
-
"text": "
|
|
9240
|
+
"text": "\"multiple\" | \"none\" | \"single\"",
|
|
7882
9241
|
"references": [
|
|
7883
9242
|
{
|
|
7884
|
-
"name": "
|
|
7885
|
-
"module": "../
|
|
9243
|
+
"name": "XvTableSelectionMode",
|
|
9244
|
+
"module": "../xv-table.model"
|
|
7886
9245
|
}
|
|
7887
9246
|
]
|
|
7888
9247
|
},
|
|
7889
|
-
"
|
|
9248
|
+
"default": "'none'",
|
|
9249
|
+
"fieldName": "selectionMode"
|
|
7890
9250
|
},
|
|
7891
9251
|
{
|
|
7892
|
-
"name": "
|
|
9252
|
+
"name": "size",
|
|
9253
|
+
"description": "Row height ladder. Set by the table.",
|
|
7893
9254
|
"type": {
|
|
7894
|
-
"text": "
|
|
9255
|
+
"text": "\"lg\" | \"md\" | \"sm\" | \"xl\" | \"xs\"",
|
|
7895
9256
|
"references": [
|
|
7896
9257
|
{
|
|
7897
|
-
"name": "
|
|
7898
|
-
"module": "
|
|
9258
|
+
"name": "SIZE_VAR_STR",
|
|
9259
|
+
"module": "../../../types/enum"
|
|
7899
9260
|
}
|
|
7900
9261
|
]
|
|
7901
9262
|
},
|
|
7902
|
-
"
|
|
9263
|
+
"default": "SIZE_VAR.MD",
|
|
9264
|
+
"fieldName": "size"
|
|
7903
9265
|
},
|
|
7904
9266
|
{
|
|
7905
|
-
"name": "
|
|
9267
|
+
"name": "value",
|
|
9268
|
+
"description": "Identifies the row in selection and expansion payloads.",
|
|
9269
|
+
"type": {
|
|
9270
|
+
"text": "number | string"
|
|
9271
|
+
},
|
|
9272
|
+
"default": "''",
|
|
9273
|
+
"fieldName": "value"
|
|
9274
|
+
}
|
|
9275
|
+
],
|
|
9276
|
+
"members": [
|
|
9277
|
+
{
|
|
9278
|
+
"kind": "field",
|
|
9279
|
+
"name": "disabled",
|
|
9280
|
+
"description": "Blocks selection and expansion.",
|
|
7906
9281
|
"type": {
|
|
7907
9282
|
"text": "boolean"
|
|
7908
9283
|
},
|
|
7909
|
-
"
|
|
9284
|
+
"default": "false",
|
|
9285
|
+
"readonly": true,
|
|
9286
|
+
"attribute": "disabled",
|
|
9287
|
+
"reflects": true
|
|
7910
9288
|
},
|
|
7911
9289
|
{
|
|
7912
|
-
"
|
|
9290
|
+
"kind": "field",
|
|
9291
|
+
"name": "expandLabel",
|
|
9292
|
+
"description": "Accessible name of the expand toggle. Set by the table.",
|
|
7913
9293
|
"type": {
|
|
7914
|
-
"text": "
|
|
9294
|
+
"text": "string"
|
|
7915
9295
|
},
|
|
7916
|
-
"
|
|
9296
|
+
"default": "'Toggle row'",
|
|
9297
|
+
"readonly": true,
|
|
9298
|
+
"attribute": "expand-label"
|
|
7917
9299
|
},
|
|
7918
9300
|
{
|
|
7919
|
-
"
|
|
9301
|
+
"kind": "field",
|
|
9302
|
+
"name": "expandMode",
|
|
9303
|
+
"description": "Whether the row can be expanded. Set by the table.",
|
|
7920
9304
|
"type": {
|
|
7921
|
-
"text": "
|
|
9305
|
+
"text": "\"multiple\" | \"none\" | \"single\"",
|
|
7922
9306
|
"references": [
|
|
7923
9307
|
{
|
|
7924
|
-
"name": "
|
|
7925
|
-
"module": "../
|
|
9308
|
+
"name": "XvTableExpandMode",
|
|
9309
|
+
"module": "../xv-table.model"
|
|
7926
9310
|
}
|
|
7927
9311
|
]
|
|
7928
9312
|
},
|
|
7929
|
-
"
|
|
9313
|
+
"default": "'none'",
|
|
9314
|
+
"readonly": true,
|
|
9315
|
+
"attribute": "expand-mode",
|
|
9316
|
+
"reflects": true
|
|
7930
9317
|
},
|
|
7931
9318
|
{
|
|
7932
|
-
"
|
|
9319
|
+
"kind": "field",
|
|
9320
|
+
"name": "expandable",
|
|
9321
|
+
"description": "Whether this row has anything to expand. Set by the table.",
|
|
7933
9322
|
"type": {
|
|
7934
|
-
"text": "
|
|
9323
|
+
"text": "boolean"
|
|
7935
9324
|
},
|
|
7936
|
-
"
|
|
7937
|
-
|
|
7938
|
-
|
|
7939
|
-
|
|
9325
|
+
"default": "false",
|
|
9326
|
+
"readonly": true,
|
|
9327
|
+
"attribute": "expandable",
|
|
9328
|
+
"reflects": true
|
|
9329
|
+
},
|
|
7940
9330
|
{
|
|
7941
9331
|
"kind": "field",
|
|
7942
|
-
"name": "
|
|
9332
|
+
"name": "expanded",
|
|
9333
|
+
"description": "Whether the row's expand panel is open.",
|
|
7943
9334
|
"type": {
|
|
7944
|
-
"text": "boolean"
|
|
7945
|
-
"references": [
|
|
7946
|
-
{
|
|
7947
|
-
"name": "SelectRowDto",
|
|
7948
|
-
"module": "../_vars"
|
|
7949
|
-
}
|
|
7950
|
-
]
|
|
9335
|
+
"text": "boolean"
|
|
7951
9336
|
},
|
|
7952
|
-
"
|
|
9337
|
+
"default": "false",
|
|
9338
|
+
"readonly": true,
|
|
9339
|
+
"attribute": "expanded",
|
|
7953
9340
|
"reflects": true
|
|
7954
9341
|
},
|
|
7955
9342
|
{
|
|
7956
9343
|
"kind": "field",
|
|
7957
|
-
"name": "
|
|
9344
|
+
"name": "group",
|
|
9345
|
+
"description": "Renders the row as a subtotal or grouping row: no controls, accented background.",
|
|
7958
9346
|
"type": {
|
|
7959
9347
|
"text": "boolean"
|
|
7960
9348
|
},
|
|
9349
|
+
"default": "false",
|
|
7961
9350
|
"readonly": true,
|
|
7962
|
-
"attribute": "
|
|
9351
|
+
"attribute": "group",
|
|
7963
9352
|
"reflects": true
|
|
7964
9353
|
},
|
|
9354
|
+
{
|
|
9355
|
+
"kind": "field",
|
|
9356
|
+
"name": "hasPanel",
|
|
9357
|
+
"description": "Whether the row carries `slot=\"expand\"` content. Set by the table.",
|
|
9358
|
+
"type": {
|
|
9359
|
+
"text": "boolean"
|
|
9360
|
+
},
|
|
9361
|
+
"default": "false",
|
|
9362
|
+
"readonly": true,
|
|
9363
|
+
"attribute": "has-panel"
|
|
9364
|
+
},
|
|
7965
9365
|
{
|
|
7966
9366
|
"kind": "field",
|
|
7967
9367
|
"name": "header",
|
|
9368
|
+
"description": "Marks the row as the table's header. Its cells supply the column labels.",
|
|
7968
9369
|
"type": {
|
|
7969
9370
|
"text": "boolean"
|
|
7970
9371
|
},
|
|
9372
|
+
"default": "false",
|
|
7971
9373
|
"readonly": true,
|
|
7972
9374
|
"attribute": "header",
|
|
7973
9375
|
"reflects": true
|
|
@@ -7975,118 +9377,187 @@
|
|
|
7975
9377
|
{
|
|
7976
9378
|
"kind": "field",
|
|
7977
9379
|
"name": "hover",
|
|
9380
|
+
"description": "Highlights the row on pointer hover. Set by the table.",
|
|
7978
9381
|
"type": {
|
|
7979
9382
|
"text": "boolean"
|
|
7980
9383
|
},
|
|
9384
|
+
"default": "false",
|
|
9385
|
+
"readonly": true,
|
|
7981
9386
|
"attribute": "hover",
|
|
7982
9387
|
"reflects": true
|
|
7983
9388
|
},
|
|
7984
9389
|
{
|
|
7985
9390
|
"kind": "field",
|
|
7986
|
-
"name": "
|
|
9391
|
+
"name": "parent",
|
|
9392
|
+
"description": "Value of the row this one belongs to. Child rows are siblings in the same grid, so they keep\r\nthe table's columns instead of living in a panel of their own.",
|
|
7987
9393
|
"type": {
|
|
7988
|
-
"text": "string"
|
|
7989
|
-
"references": [
|
|
7990
|
-
{
|
|
7991
|
-
"name": "SelectRowDto",
|
|
7992
|
-
"module": "../_vars"
|
|
7993
|
-
}
|
|
7994
|
-
]
|
|
9394
|
+
"text": "string"
|
|
7995
9395
|
},
|
|
7996
|
-
"
|
|
7997
|
-
"
|
|
9396
|
+
"default": "''",
|
|
9397
|
+
"readonly": true,
|
|
9398
|
+
"attribute": "parent"
|
|
7998
9399
|
},
|
|
7999
9400
|
{
|
|
8000
9401
|
"kind": "field",
|
|
8001
9402
|
"name": "partial",
|
|
9403
|
+
"description": "Indeterminate state of the header row's select-all checkbox.",
|
|
8002
9404
|
"type": {
|
|
8003
|
-
"text": "boolean"
|
|
8004
|
-
"references": [
|
|
8005
|
-
{
|
|
8006
|
-
"name": "SelectRowDto",
|
|
8007
|
-
"module": "../_vars"
|
|
8008
|
-
}
|
|
8009
|
-
]
|
|
9405
|
+
"text": "boolean"
|
|
8010
9406
|
},
|
|
9407
|
+
"default": "false",
|
|
9408
|
+
"readonly": true,
|
|
8011
9409
|
"attribute": "partial",
|
|
8012
9410
|
"reflects": true
|
|
8013
9411
|
},
|
|
8014
9412
|
{
|
|
8015
9413
|
"kind": "field",
|
|
8016
|
-
"name": "
|
|
9414
|
+
"name": "reorderLabel",
|
|
9415
|
+
"description": "Accessible name of the drag grip. Set by the table.",
|
|
8017
9416
|
"type": {
|
|
8018
|
-
"text": "
|
|
9417
|
+
"text": "string"
|
|
8019
9418
|
},
|
|
9419
|
+
"default": "'Drag to reorder'",
|
|
8020
9420
|
"readonly": true,
|
|
8021
|
-
"attribute": "
|
|
8022
|
-
"reflects": true
|
|
9421
|
+
"attribute": "reorder-label"
|
|
8023
9422
|
},
|
|
8024
9423
|
{
|
|
8025
9424
|
"kind": "field",
|
|
8026
|
-
"name": "
|
|
9425
|
+
"name": "rowReorderHandle",
|
|
9426
|
+
"description": "Whether the whole row drags, or only its grip. Set by the table.",
|
|
9427
|
+
"type": {
|
|
9428
|
+
"text": "\"icon\" | \"row\""
|
|
9429
|
+
},
|
|
9430
|
+
"default": "'icon'",
|
|
9431
|
+
"readonly": true,
|
|
9432
|
+
"attribute": "row-reorder-handle"
|
|
9433
|
+
},
|
|
9434
|
+
{
|
|
9435
|
+
"kind": "field",
|
|
9436
|
+
"name": "rowReorderable",
|
|
9437
|
+
"description": "Whether this row can be dragged into a new position. Set by the table.",
|
|
8027
9438
|
"type": {
|
|
8028
9439
|
"text": "boolean"
|
|
8029
9440
|
},
|
|
9441
|
+
"default": "false",
|
|
8030
9442
|
"readonly": true,
|
|
8031
|
-
"attribute": "
|
|
9443
|
+
"attribute": "row-reorderable",
|
|
8032
9444
|
"reflects": true
|
|
8033
9445
|
},
|
|
8034
9446
|
{
|
|
8035
9447
|
"kind": "field",
|
|
8036
|
-
"name": "
|
|
9448
|
+
"name": "selectable",
|
|
9449
|
+
"description": "Whether the row offers its selection control. A header with no rows under it has nothing to pick.",
|
|
8037
9450
|
"type": {
|
|
8038
|
-
"text": "
|
|
8039
|
-
"references": [
|
|
8040
|
-
{
|
|
8041
|
-
"name": "SelectRowDto",
|
|
8042
|
-
"module": "../_vars"
|
|
8043
|
-
}
|
|
8044
|
-
]
|
|
9451
|
+
"text": "boolean"
|
|
8045
9452
|
},
|
|
9453
|
+
"default": "true",
|
|
8046
9454
|
"readonly": true,
|
|
8047
|
-
"attribute": "
|
|
8048
|
-
"reflects": true
|
|
9455
|
+
"attribute": "selectable"
|
|
8049
9456
|
},
|
|
8050
9457
|
{
|
|
8051
9458
|
"kind": "field",
|
|
8052
|
-
"name": "
|
|
9459
|
+
"name": "selected",
|
|
9460
|
+
"description": "Whether the row is selected.",
|
|
8053
9461
|
"type": {
|
|
8054
|
-
"text": "
|
|
9462
|
+
"text": "boolean"
|
|
8055
9463
|
},
|
|
8056
|
-
"
|
|
9464
|
+
"default": "false",
|
|
9465
|
+
"readonly": true,
|
|
9466
|
+
"attribute": "selected",
|
|
8057
9467
|
"reflects": true
|
|
8058
|
-
}
|
|
8059
|
-
],
|
|
8060
|
-
"events": [
|
|
9468
|
+
},
|
|
8061
9469
|
{
|
|
8062
|
-
"
|
|
9470
|
+
"kind": "field",
|
|
9471
|
+
"name": "selectionMode",
|
|
9472
|
+
"description": "Selection control rendered in the leading cell. Set by the table.",
|
|
8063
9473
|
"type": {
|
|
8064
|
-
"text": "
|
|
9474
|
+
"text": "\"multiple\" | \"none\" | \"single\"",
|
|
8065
9475
|
"references": [
|
|
8066
9476
|
{
|
|
8067
|
-
"name": "
|
|
8068
|
-
"module": "../
|
|
9477
|
+
"name": "XvTableSelectionMode",
|
|
9478
|
+
"module": "../xv-table.model"
|
|
8069
9479
|
}
|
|
8070
9480
|
]
|
|
8071
|
-
}
|
|
9481
|
+
},
|
|
9482
|
+
"default": "'none'",
|
|
9483
|
+
"readonly": true,
|
|
9484
|
+
"attribute": "selection-mode",
|
|
9485
|
+
"reflects": true
|
|
8072
9486
|
},
|
|
8073
9487
|
{
|
|
8074
|
-
"
|
|
9488
|
+
"kind": "field",
|
|
9489
|
+
"name": "size",
|
|
9490
|
+
"description": "Row height ladder. Set by the table.",
|
|
8075
9491
|
"type": {
|
|
8076
|
-
"text": "
|
|
9492
|
+
"text": "\"lg\" | \"md\" | \"sm\" | \"xl\" | \"xs\"",
|
|
8077
9493
|
"references": [
|
|
8078
9494
|
{
|
|
8079
|
-
"name": "
|
|
8080
|
-
"module": "
|
|
9495
|
+
"name": "SIZE_VAR_STR",
|
|
9496
|
+
"module": "../../../types/enum"
|
|
8081
9497
|
}
|
|
8082
9498
|
]
|
|
8083
|
-
}
|
|
9499
|
+
},
|
|
9500
|
+
"default": "SIZE_VAR.MD",
|
|
9501
|
+
"readonly": true,
|
|
9502
|
+
"attribute": "size",
|
|
9503
|
+
"reflects": true
|
|
9504
|
+
},
|
|
9505
|
+
{
|
|
9506
|
+
"kind": "field",
|
|
9507
|
+
"name": "value",
|
|
9508
|
+
"description": "Identifies the row in selection and expansion payloads.",
|
|
9509
|
+
"type": {
|
|
9510
|
+
"text": "number | string"
|
|
9511
|
+
},
|
|
9512
|
+
"default": "''",
|
|
9513
|
+
"readonly": true,
|
|
9514
|
+
"attribute": "value"
|
|
8084
9515
|
}
|
|
8085
9516
|
],
|
|
8086
9517
|
"slots": [
|
|
8087
9518
|
{
|
|
8088
9519
|
"name": "",
|
|
8089
|
-
"description": "The
|
|
9520
|
+
"description": "The row's `xv-table-cell` children."
|
|
9521
|
+
},
|
|
9522
|
+
{
|
|
9523
|
+
"name": "expand",
|
|
9524
|
+
"description": "Content revealed when the row is expanded. Spans the full row width."
|
|
9525
|
+
}
|
|
9526
|
+
],
|
|
9527
|
+
"cssParts": [
|
|
9528
|
+
{
|
|
9529
|
+
"name": "control",
|
|
9530
|
+
"description": "A leading or trailing control cell (selection, expand)."
|
|
9531
|
+
},
|
|
9532
|
+
{
|
|
9533
|
+
"name": "expand-button",
|
|
9534
|
+
"description": "The expand toggle."
|
|
9535
|
+
},
|
|
9536
|
+
{
|
|
9537
|
+
"name": "expand-panel",
|
|
9538
|
+
"description": "The revealed panel."
|
|
9539
|
+
},
|
|
9540
|
+
{
|
|
9541
|
+
"name": "grip",
|
|
9542
|
+
"description": "The drag handle shown when the table reorders rows by icon."
|
|
9543
|
+
},
|
|
9544
|
+
{
|
|
9545
|
+
"name": "row",
|
|
9546
|
+
"description": "The row host."
|
|
9547
|
+
}
|
|
9548
|
+
],
|
|
9549
|
+
"cssProperties": [
|
|
9550
|
+
{
|
|
9551
|
+
"name": "--xv-table-row-bg",
|
|
9552
|
+
"description": "Row background. Switched by hover, selected and group."
|
|
9553
|
+
},
|
|
9554
|
+
{
|
|
9555
|
+
"name": "--xv-table-row-disabled-opacity",
|
|
9556
|
+
"description": "How far a disabled row fades."
|
|
9557
|
+
},
|
|
9558
|
+
{
|
|
9559
|
+
"name": "--xv-table-row-height",
|
|
9560
|
+
"description": "Minimum row height. Inherited from the table's size ladder."
|
|
8090
9561
|
}
|
|
8091
9562
|
]
|
|
8092
9563
|
}
|
|
@@ -8094,16 +9565,16 @@
|
|
|
8094
9565
|
"exports": [
|
|
8095
9566
|
{
|
|
8096
9567
|
"kind": "js",
|
|
8097
|
-
"name": "
|
|
9568
|
+
"name": "XvTableRow",
|
|
8098
9569
|
"declaration": {
|
|
8099
|
-
"name": "
|
|
9570
|
+
"name": "XvTableRow"
|
|
8100
9571
|
}
|
|
8101
9572
|
},
|
|
8102
9573
|
{
|
|
8103
9574
|
"kind": "custom-element-definition",
|
|
8104
|
-
"name": "xv-table-
|
|
9575
|
+
"name": "xv-table-row",
|
|
8105
9576
|
"declaration": {
|
|
8106
|
-
"name": "
|
|
9577
|
+
"name": "XvTableRow"
|
|
8107
9578
|
}
|
|
8108
9579
|
}
|
|
8109
9580
|
]
|