@operato/data-grist 0.2.15 → 0.2.26
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +43 -0
- package/custom-elements.json +802 -802
- package/dist/src/data-grist.js +1 -2
- package/dist/src/data-grist.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +6 -6
- package/src/data-grist.ts +1 -2
- package/yarn-error.log +2427 -3205
- package/dist/src/data-card/data-card-gutter-group.d.ts +0 -11
- package/dist/src/data-card/data-card-gutter-group.js +0 -66
- package/dist/src/data-card/data-card-gutter-group.js.map +0 -1
package/custom-elements.json
CHANGED
|
@@ -1488,271 +1488,154 @@
|
|
|
1488
1488
|
},
|
|
1489
1489
|
{
|
|
1490
1490
|
"kind": "javascript-module",
|
|
1491
|
-
"path": "src/data-
|
|
1492
|
-
"declarations": [
|
|
1493
|
-
{
|
|
1494
|
-
"kind": "variable",
|
|
1495
|
-
"name": "dataGridBodyStyle",
|
|
1496
|
-
"default": "css`\n :host {\n display: grid;\n grid-template-columns: var(--grid-template-columns);\n grid-auto-rows: var(--grid-record-height, min-content);\n\n overflow: auto;\n outline: none;\n color: var(--grid-record-color);\n }\n\n [odd] {\n background-color: var(--grid-record-odd-background-color);\n }\n\n [selected-row] {\n background-color: var(--grid-record-selected-background-color);\n color: var(--grid-record-selected-color);\n }\n\n [focused-row] {\n box-shadow: var(--grid-record-focused-box-shadow);\n font-weight: bold;\n color: var(--grid-record-focused-color);\n background-image: var(--focused-background-image);\n background-blend-mode: darken;\n }\n\n [focused] {\n border: var(--grid-record-focused-cell-border);\n }\n\n [emphasized-row],\n [emphasized-row][focused] {\n background-color: var(--grid-record-emphasized-background-color);\n color: var(--grid-record-emphasized-color);\n }\n\n [editing] {\n background-color: var(--grid-record-editing-background-color);\n }\n\n @media print {\n :host {\n grid-template-columns: var(--grid-template-print-columns);\n }\n [focused] {\n border: none;\n }\n\n [selected-row] {\n background-color: transparent;\n }\n\n [emphasized-row] {\n background-color: transparent;\n color: initial;\n }\n\n [focused-row] {\n background-color: transparent;\n color: initial;\n }\n\n [editing] {\n background-color: transparent;\n }\n }\n`"
|
|
1497
|
-
}
|
|
1498
|
-
],
|
|
1499
|
-
"exports": [
|
|
1500
|
-
{
|
|
1501
|
-
"kind": "js",
|
|
1502
|
-
"name": "dataGridBodyStyle",
|
|
1503
|
-
"declaration": {
|
|
1504
|
-
"name": "dataGridBodyStyle",
|
|
1505
|
-
"module": "src/data-grid/data-grid-body-style.ts"
|
|
1506
|
-
}
|
|
1507
|
-
}
|
|
1508
|
-
]
|
|
1509
|
-
},
|
|
1510
|
-
{
|
|
1511
|
-
"kind": "javascript-module",
|
|
1512
|
-
"path": "src/data-grid/data-grid-body.ts",
|
|
1491
|
+
"path": "src/data-card/data-card-field.ts",
|
|
1513
1492
|
"declarations": [
|
|
1514
1493
|
{
|
|
1515
1494
|
"kind": "class",
|
|
1516
1495
|
"description": "",
|
|
1517
|
-
"name": "
|
|
1496
|
+
"name": "DataCardField",
|
|
1518
1497
|
"members": [
|
|
1519
1498
|
{
|
|
1520
1499
|
"kind": "field",
|
|
1521
|
-
"name": "
|
|
1522
|
-
},
|
|
1523
|
-
{
|
|
1524
|
-
"kind": "field",
|
|
1525
|
-
"name": "config",
|
|
1526
|
-
"type": {
|
|
1527
|
-
"text": "GristConfig"
|
|
1528
|
-
},
|
|
1529
|
-
"default": "ZERO_CONFIG",
|
|
1530
|
-
"attribute": "config"
|
|
1531
|
-
},
|
|
1532
|
-
{
|
|
1533
|
-
"kind": "field",
|
|
1534
|
-
"name": "columns",
|
|
1535
|
-
"type": {
|
|
1536
|
-
"text": "ColumnConfig[]"
|
|
1537
|
-
},
|
|
1538
|
-
"default": "[]",
|
|
1539
|
-
"attribute": "columns"
|
|
1540
|
-
},
|
|
1541
|
-
{
|
|
1542
|
-
"kind": "field",
|
|
1543
|
-
"name": "data",
|
|
1544
|
-
"type": {
|
|
1545
|
-
"text": "GristData"
|
|
1546
|
-
},
|
|
1547
|
-
"default": "ZERO_DATA",
|
|
1548
|
-
"attribute": "data"
|
|
1549
|
-
},
|
|
1550
|
-
{
|
|
1551
|
-
"kind": "field",
|
|
1552
|
-
"name": "focused",
|
|
1500
|
+
"name": "align",
|
|
1553
1501
|
"type": {
|
|
1554
|
-
"text": "
|
|
1502
|
+
"text": "string | undefined"
|
|
1555
1503
|
},
|
|
1556
|
-
"
|
|
1557
|
-
"attribute": "focused"
|
|
1504
|
+
"attribute": "align"
|
|
1558
1505
|
},
|
|
1559
1506
|
{
|
|
1560
1507
|
"kind": "field",
|
|
1561
|
-
"name": "
|
|
1508
|
+
"name": "record",
|
|
1562
1509
|
"type": {
|
|
1563
|
-
"text": "
|
|
1510
|
+
"text": "GristRecord"
|
|
1564
1511
|
},
|
|
1565
|
-
"default": "
|
|
1566
|
-
"attribute": "
|
|
1512
|
+
"default": "ZERO_RECORD",
|
|
1513
|
+
"attribute": "record"
|
|
1567
1514
|
},
|
|
1568
1515
|
{
|
|
1569
1516
|
"kind": "field",
|
|
1570
|
-
"name": "
|
|
1517
|
+
"name": "column",
|
|
1571
1518
|
"type": {
|
|
1572
|
-
"text": "
|
|
1519
|
+
"text": "ColumnConfig"
|
|
1573
1520
|
},
|
|
1574
|
-
"default": "
|
|
1575
|
-
"attribute": "
|
|
1521
|
+
"default": "ZERO_COLUMN",
|
|
1522
|
+
"attribute": "column"
|
|
1576
1523
|
},
|
|
1577
1524
|
{
|
|
1578
1525
|
"kind": "field",
|
|
1579
|
-
"name": "
|
|
1526
|
+
"name": "rowIndex",
|
|
1580
1527
|
"type": {
|
|
1581
1528
|
"text": "number"
|
|
1582
1529
|
},
|
|
1583
1530
|
"default": "-1",
|
|
1584
|
-
"attribute": "
|
|
1531
|
+
"attribute": "rowIndex"
|
|
1585
1532
|
},
|
|
1586
1533
|
{
|
|
1587
1534
|
"kind": "field",
|
|
1588
|
-
"name": "
|
|
1535
|
+
"name": "value",
|
|
1589
1536
|
"type": {
|
|
1590
|
-
"text": "
|
|
1537
|
+
"text": "object | undefined"
|
|
1591
1538
|
},
|
|
1592
|
-
"
|
|
1593
|
-
},
|
|
1594
|
-
{
|
|
1595
|
-
"kind": "method",
|
|
1596
|
-
"name": "resetEdit"
|
|
1597
|
-
},
|
|
1598
|
-
{
|
|
1599
|
-
"kind": "method",
|
|
1600
|
-
"name": "handleOnScroll",
|
|
1601
|
-
"parameters": [
|
|
1602
|
-
{
|
|
1603
|
-
"name": "e",
|
|
1604
|
-
"type": {
|
|
1605
|
-
"text": "WheelEvent"
|
|
1606
|
-
}
|
|
1607
|
-
}
|
|
1608
|
-
]
|
|
1609
|
-
},
|
|
1610
|
-
{
|
|
1611
|
-
"kind": "method",
|
|
1612
|
-
"name": "_onWheelEvent",
|
|
1613
|
-
"parameters": [
|
|
1614
|
-
{
|
|
1615
|
-
"name": "e",
|
|
1616
|
-
"type": {
|
|
1617
|
-
"text": "WheelEvent"
|
|
1618
|
-
}
|
|
1619
|
-
}
|
|
1620
|
-
]
|
|
1621
|
-
},
|
|
1622
|
-
{
|
|
1623
|
-
"kind": "method",
|
|
1624
|
-
"name": "startEditTarget",
|
|
1625
|
-
"parameters": [
|
|
1626
|
-
{
|
|
1627
|
-
"name": "row",
|
|
1628
|
-
"type": {
|
|
1629
|
-
"text": "number"
|
|
1630
|
-
}
|
|
1631
|
-
},
|
|
1632
|
-
{
|
|
1633
|
-
"name": "column",
|
|
1634
|
-
"type": {
|
|
1635
|
-
"text": "number"
|
|
1636
|
-
}
|
|
1637
|
-
}
|
|
1638
|
-
]
|
|
1639
|
-
},
|
|
1640
|
-
{
|
|
1641
|
-
"kind": "method",
|
|
1642
|
-
"name": "focus"
|
|
1539
|
+
"attribute": "value"
|
|
1643
1540
|
}
|
|
1644
1541
|
],
|
|
1645
1542
|
"attributes": [
|
|
1646
1543
|
{
|
|
1647
|
-
"name": "
|
|
1648
|
-
"type": {
|
|
1649
|
-
"text": "GristConfig"
|
|
1650
|
-
},
|
|
1651
|
-
"default": "ZERO_CONFIG",
|
|
1652
|
-
"resolveInitializer": {
|
|
1653
|
-
"module": "/src/configure/config-types"
|
|
1654
|
-
},
|
|
1655
|
-
"fieldName": "config"
|
|
1656
|
-
},
|
|
1657
|
-
{
|
|
1658
|
-
"name": "columns",
|
|
1544
|
+
"name": "align",
|
|
1659
1545
|
"type": {
|
|
1660
|
-
"text": "
|
|
1546
|
+
"text": "string | undefined"
|
|
1661
1547
|
},
|
|
1662
|
-
"
|
|
1663
|
-
"fieldName": "columns"
|
|
1548
|
+
"fieldName": "align"
|
|
1664
1549
|
},
|
|
1665
1550
|
{
|
|
1666
|
-
"name": "
|
|
1551
|
+
"name": "record",
|
|
1667
1552
|
"type": {
|
|
1668
|
-
"text": "
|
|
1553
|
+
"text": "GristRecord"
|
|
1669
1554
|
},
|
|
1670
|
-
"default": "
|
|
1555
|
+
"default": "ZERO_RECORD",
|
|
1671
1556
|
"resolveInitializer": {
|
|
1672
1557
|
"module": "/src/configure/config-types"
|
|
1673
1558
|
},
|
|
1674
|
-
"fieldName": "
|
|
1559
|
+
"fieldName": "record"
|
|
1675
1560
|
},
|
|
1676
1561
|
{
|
|
1677
|
-
"name": "
|
|
1562
|
+
"name": "column",
|
|
1678
1563
|
"type": {
|
|
1679
|
-
"text": "
|
|
1564
|
+
"text": "ColumnConfig"
|
|
1680
1565
|
},
|
|
1681
|
-
"default": "
|
|
1566
|
+
"default": "ZERO_COLUMN",
|
|
1682
1567
|
"resolveInitializer": {
|
|
1683
|
-
"module": "src/
|
|
1684
|
-
},
|
|
1685
|
-
"fieldName": "focused"
|
|
1686
|
-
},
|
|
1687
|
-
{
|
|
1688
|
-
"name": "editTarget",
|
|
1689
|
-
"type": {
|
|
1690
|
-
"text": "{ row: number; column: number } | null"
|
|
1568
|
+
"module": "/src/configure/config-types"
|
|
1691
1569
|
},
|
|
1692
|
-
"
|
|
1693
|
-
"fieldName": "editTarget"
|
|
1570
|
+
"fieldName": "column"
|
|
1694
1571
|
},
|
|
1695
1572
|
{
|
|
1696
|
-
"name": "
|
|
1573
|
+
"name": "rowIndex",
|
|
1697
1574
|
"type": {
|
|
1698
1575
|
"text": "number"
|
|
1699
1576
|
},
|
|
1700
1577
|
"default": "-1",
|
|
1701
|
-
"fieldName": "
|
|
1578
|
+
"fieldName": "rowIndex"
|
|
1702
1579
|
},
|
|
1703
1580
|
{
|
|
1704
|
-
"name": "
|
|
1581
|
+
"name": "value",
|
|
1705
1582
|
"type": {
|
|
1706
|
-
"text": "
|
|
1583
|
+
"text": "object | undefined"
|
|
1707
1584
|
},
|
|
1708
|
-
"
|
|
1709
|
-
"fieldName": "to"
|
|
1585
|
+
"fieldName": "value"
|
|
1710
1586
|
}
|
|
1711
1587
|
],
|
|
1712
1588
|
"superclass": {
|
|
1713
1589
|
"name": "LitElement",
|
|
1714
1590
|
"package": "lit"
|
|
1715
1591
|
},
|
|
1716
|
-
"tagName": "ox-
|
|
1592
|
+
"tagName": "ox-card-field",
|
|
1717
1593
|
"customElement": true
|
|
1718
1594
|
}
|
|
1719
1595
|
],
|
|
1720
1596
|
"exports": [
|
|
1721
1597
|
{
|
|
1722
1598
|
"kind": "js",
|
|
1723
|
-
"name": "
|
|
1599
|
+
"name": "DataCardField",
|
|
1724
1600
|
"declaration": {
|
|
1725
|
-
"name": "
|
|
1726
|
-
"module": "src/data-
|
|
1601
|
+
"name": "DataCardField",
|
|
1602
|
+
"module": "src/data-card/data-card-field.ts"
|
|
1727
1603
|
}
|
|
1728
1604
|
},
|
|
1729
1605
|
{
|
|
1730
1606
|
"kind": "custom-element-definition",
|
|
1731
|
-
"name": "ox-
|
|
1607
|
+
"name": "ox-card-field",
|
|
1732
1608
|
"declaration": {
|
|
1733
|
-
"name": "
|
|
1734
|
-
"module": "src/data-
|
|
1609
|
+
"name": "DataCardField",
|
|
1610
|
+
"module": "src/data-card/data-card-field.ts"
|
|
1735
1611
|
}
|
|
1736
1612
|
}
|
|
1737
1613
|
]
|
|
1738
1614
|
},
|
|
1739
1615
|
{
|
|
1740
1616
|
"kind": "javascript-module",
|
|
1741
|
-
"path": "src/data-
|
|
1617
|
+
"path": "src/data-card/data-card-gutter-menu.ts",
|
|
1742
1618
|
"declarations": [
|
|
1743
1619
|
{
|
|
1744
1620
|
"kind": "class",
|
|
1745
1621
|
"description": "",
|
|
1746
|
-
"name": "
|
|
1622
|
+
"name": "DataCardGutterMenu",
|
|
1747
1623
|
"members": [
|
|
1748
1624
|
{
|
|
1749
1625
|
"kind": "field",
|
|
1750
|
-
"name": "
|
|
1751
|
-
"default": "'left'",
|
|
1752
|
-
"attribute": "align",
|
|
1626
|
+
"name": "gutters",
|
|
1753
1627
|
"type": {
|
|
1754
|
-
"text": "
|
|
1755
|
-
}
|
|
1628
|
+
"text": "ColumnConfig[]"
|
|
1629
|
+
},
|
|
1630
|
+
"attribute": "gutters"
|
|
1631
|
+
},
|
|
1632
|
+
{
|
|
1633
|
+
"kind": "field",
|
|
1634
|
+
"name": "rowIndex",
|
|
1635
|
+
"type": {
|
|
1636
|
+
"text": "number"
|
|
1637
|
+
},
|
|
1638
|
+
"attribute": "rowIndex"
|
|
1756
1639
|
},
|
|
1757
1640
|
{
|
|
1758
1641
|
"kind": "field",
|
|
@@ -1760,101 +1643,128 @@
|
|
|
1760
1643
|
"type": {
|
|
1761
1644
|
"text": "GristRecord"
|
|
1762
1645
|
},
|
|
1763
|
-
"default": "{}",
|
|
1764
1646
|
"attribute": "record"
|
|
1765
1647
|
},
|
|
1766
1648
|
{
|
|
1767
1649
|
"kind": "field",
|
|
1768
|
-
"name": "
|
|
1650
|
+
"name": "icon",
|
|
1769
1651
|
"type": {
|
|
1770
|
-
"text": "
|
|
1771
|
-
}
|
|
1772
|
-
"default": "ZERO_COLUMN",
|
|
1773
|
-
"attribute": "column"
|
|
1652
|
+
"text": "Element"
|
|
1653
|
+
}
|
|
1774
1654
|
},
|
|
1775
1655
|
{
|
|
1776
|
-
"kind": "
|
|
1777
|
-
"name": "
|
|
1656
|
+
"kind": "method",
|
|
1657
|
+
"name": "menuRender"
|
|
1658
|
+
},
|
|
1659
|
+
{
|
|
1660
|
+
"kind": "method",
|
|
1661
|
+
"name": "open"
|
|
1662
|
+
}
|
|
1663
|
+
],
|
|
1664
|
+
"attributes": [
|
|
1665
|
+
{
|
|
1666
|
+
"name": "gutters",
|
|
1778
1667
|
"type": {
|
|
1779
|
-
"text": "
|
|
1668
|
+
"text": "ColumnConfig[]"
|
|
1780
1669
|
},
|
|
1781
|
-
"
|
|
1782
|
-
"attribute": "rowIndex"
|
|
1670
|
+
"fieldName": "gutters"
|
|
1783
1671
|
},
|
|
1784
1672
|
{
|
|
1785
|
-
"
|
|
1786
|
-
"name": "columnIndex",
|
|
1673
|
+
"name": "rowIndex",
|
|
1787
1674
|
"type": {
|
|
1788
1675
|
"text": "number"
|
|
1789
1676
|
},
|
|
1790
|
-
"
|
|
1791
|
-
"attribute": "columnIndex"
|
|
1677
|
+
"fieldName": "rowIndex"
|
|
1792
1678
|
},
|
|
1793
1679
|
{
|
|
1794
|
-
"
|
|
1795
|
-
"name": "editing",
|
|
1680
|
+
"name": "record",
|
|
1796
1681
|
"type": {
|
|
1797
|
-
"text": "
|
|
1682
|
+
"text": "GristRecord"
|
|
1798
1683
|
},
|
|
1799
|
-
"
|
|
1800
|
-
|
|
1801
|
-
|
|
1684
|
+
"fieldName": "record"
|
|
1685
|
+
}
|
|
1686
|
+
],
|
|
1687
|
+
"superclass": {
|
|
1688
|
+
"name": "LitElement",
|
|
1689
|
+
"package": "lit"
|
|
1690
|
+
},
|
|
1691
|
+
"tagName": "ox-card-gutter-menu",
|
|
1692
|
+
"customElement": true
|
|
1693
|
+
}
|
|
1694
|
+
],
|
|
1695
|
+
"exports": [
|
|
1696
|
+
{
|
|
1697
|
+
"kind": "custom-element-definition",
|
|
1698
|
+
"name": "ox-card-gutter-menu",
|
|
1699
|
+
"declaration": {
|
|
1700
|
+
"name": "DataCardGutterMenu",
|
|
1701
|
+
"module": "src/data-card/data-card-gutter-menu.ts"
|
|
1702
|
+
}
|
|
1703
|
+
}
|
|
1704
|
+
]
|
|
1705
|
+
},
|
|
1706
|
+
{
|
|
1707
|
+
"kind": "javascript-module",
|
|
1708
|
+
"path": "src/data-card/data-card-gutter.ts",
|
|
1709
|
+
"declarations": [
|
|
1710
|
+
{
|
|
1711
|
+
"kind": "class",
|
|
1712
|
+
"description": "",
|
|
1713
|
+
"name": "DataCardGutter",
|
|
1714
|
+
"members": [
|
|
1802
1715
|
{
|
|
1803
1716
|
"kind": "field",
|
|
1804
|
-
"name": "
|
|
1717
|
+
"name": "align",
|
|
1805
1718
|
"type": {
|
|
1806
|
-
"text": "
|
|
1719
|
+
"text": "string | undefined"
|
|
1807
1720
|
},
|
|
1808
|
-
"
|
|
1809
|
-
"attribute": "value"
|
|
1721
|
+
"attribute": "align"
|
|
1810
1722
|
},
|
|
1811
1723
|
{
|
|
1812
1724
|
"kind": "field",
|
|
1813
|
-
"name": "
|
|
1725
|
+
"name": "record",
|
|
1814
1726
|
"type": {
|
|
1815
|
-
"text": "
|
|
1727
|
+
"text": "GristRecord"
|
|
1816
1728
|
},
|
|
1817
|
-
"default": "
|
|
1818
|
-
"attribute": "
|
|
1729
|
+
"default": "ZERO_RECORD",
|
|
1730
|
+
"attribute": "record"
|
|
1819
1731
|
},
|
|
1820
1732
|
{
|
|
1821
1733
|
"kind": "field",
|
|
1822
|
-
"name": "
|
|
1734
|
+
"name": "column",
|
|
1823
1735
|
"type": {
|
|
1824
|
-
"text": "
|
|
1736
|
+
"text": "ColumnConfig"
|
|
1825
1737
|
},
|
|
1826
|
-
"
|
|
1738
|
+
"default": "ZERO_COLUMN",
|
|
1739
|
+
"attribute": "column"
|
|
1827
1740
|
},
|
|
1828
1741
|
{
|
|
1829
1742
|
"kind": "field",
|
|
1830
|
-
"name": "
|
|
1743
|
+
"name": "rowIndex",
|
|
1831
1744
|
"type": {
|
|
1832
|
-
"text": "
|
|
1745
|
+
"text": "number"
|
|
1833
1746
|
},
|
|
1834
|
-
"
|
|
1835
|
-
"
|
|
1747
|
+
"default": "-1",
|
|
1748
|
+
"attribute": "rowIndex"
|
|
1836
1749
|
},
|
|
1837
1750
|
{
|
|
1838
1751
|
"kind": "field",
|
|
1839
|
-
"name": "
|
|
1752
|
+
"name": "value",
|
|
1840
1753
|
"type": {
|
|
1841
|
-
"text": "
|
|
1754
|
+
"text": "object | undefined"
|
|
1842
1755
|
},
|
|
1843
|
-
"
|
|
1844
|
-
"default": "e => {}"
|
|
1756
|
+
"attribute": "value"
|
|
1845
1757
|
},
|
|
1846
1758
|
{
|
|
1847
1759
|
"kind": "field",
|
|
1848
|
-
"name": "isEditing"
|
|
1849
|
-
"privacy": "private"
|
|
1760
|
+
"name": "isEditing"
|
|
1850
1761
|
}
|
|
1851
1762
|
],
|
|
1852
1763
|
"attributes": [
|
|
1853
1764
|
{
|
|
1854
1765
|
"name": "align",
|
|
1855
|
-
"
|
|
1856
|
-
|
|
1857
|
-
"module": "src/data-grid/data-grid-field.ts"
|
|
1766
|
+
"type": {
|
|
1767
|
+
"text": "string | undefined"
|
|
1858
1768
|
},
|
|
1859
1769
|
"fieldName": "align"
|
|
1860
1770
|
},
|
|
@@ -1863,7 +1773,10 @@
|
|
|
1863
1773
|
"type": {
|
|
1864
1774
|
"text": "GristRecord"
|
|
1865
1775
|
},
|
|
1866
|
-
"default": "
|
|
1776
|
+
"default": "ZERO_RECORD",
|
|
1777
|
+
"resolveInitializer": {
|
|
1778
|
+
"module": "/src/configure/config-types"
|
|
1779
|
+
},
|
|
1867
1780
|
"fieldName": "record"
|
|
1868
1781
|
},
|
|
1869
1782
|
{
|
|
@@ -1882,77 +1795,44 @@
|
|
|
1882
1795
|
"type": {
|
|
1883
1796
|
"text": "number"
|
|
1884
1797
|
},
|
|
1885
|
-
"default": "
|
|
1798
|
+
"default": "-1",
|
|
1886
1799
|
"fieldName": "rowIndex"
|
|
1887
1800
|
},
|
|
1888
|
-
{
|
|
1889
|
-
"name": "columnIndex",
|
|
1890
|
-
"type": {
|
|
1891
|
-
"text": "number"
|
|
1892
|
-
},
|
|
1893
|
-
"default": "0",
|
|
1894
|
-
"fieldName": "columnIndex"
|
|
1895
|
-
},
|
|
1896
|
-
{
|
|
1897
|
-
"name": "editing",
|
|
1898
|
-
"type": {
|
|
1899
|
-
"text": "boolean"
|
|
1900
|
-
},
|
|
1901
|
-
"default": "false",
|
|
1902
|
-
"fieldName": "editing"
|
|
1903
|
-
},
|
|
1904
1801
|
{
|
|
1905
1802
|
"name": "value",
|
|
1906
1803
|
"type": {
|
|
1907
|
-
"text": "object"
|
|
1804
|
+
"text": "object | undefined"
|
|
1908
1805
|
},
|
|
1909
|
-
"default": "{}",
|
|
1910
1806
|
"fieldName": "value"
|
|
1911
|
-
},
|
|
1912
|
-
{
|
|
1913
|
-
"name": "emphasized",
|
|
1914
|
-
"type": {
|
|
1915
|
-
"text": "boolean"
|
|
1916
|
-
},
|
|
1917
|
-
"default": "false",
|
|
1918
|
-
"fieldName": "emphasized"
|
|
1919
1807
|
}
|
|
1920
1808
|
],
|
|
1921
1809
|
"superclass": {
|
|
1922
1810
|
"name": "LitElement",
|
|
1923
1811
|
"package": "lit"
|
|
1924
1812
|
},
|
|
1925
|
-
"tagName": "ox-
|
|
1813
|
+
"tagName": "ox-card-gutter",
|
|
1926
1814
|
"customElement": true
|
|
1927
1815
|
}
|
|
1928
1816
|
],
|
|
1929
1817
|
"exports": [
|
|
1930
|
-
{
|
|
1931
|
-
"kind": "js",
|
|
1932
|
-
"name": "DataGridField",
|
|
1933
|
-
"declaration": {
|
|
1934
|
-
"name": "DataGridField",
|
|
1935
|
-
"module": "src/data-grid/data-grid-field.ts"
|
|
1936
|
-
}
|
|
1937
|
-
},
|
|
1938
1818
|
{
|
|
1939
1819
|
"kind": "custom-element-definition",
|
|
1940
|
-
"name": "ox-
|
|
1820
|
+
"name": "ox-card-gutter",
|
|
1941
1821
|
"declaration": {
|
|
1942
|
-
"name": "
|
|
1943
|
-
"module": "src/data-
|
|
1822
|
+
"name": "DataCardGutter",
|
|
1823
|
+
"module": "src/data-card/data-card-gutter.ts"
|
|
1944
1824
|
}
|
|
1945
1825
|
}
|
|
1946
1826
|
]
|
|
1947
1827
|
},
|
|
1948
1828
|
{
|
|
1949
1829
|
"kind": "javascript-module",
|
|
1950
|
-
"path": "src/data-
|
|
1830
|
+
"path": "src/data-card/data-card.ts",
|
|
1951
1831
|
"declarations": [
|
|
1952
1832
|
{
|
|
1953
1833
|
"kind": "class",
|
|
1954
1834
|
"description": "",
|
|
1955
|
-
"name": "
|
|
1835
|
+
"name": "DataCard",
|
|
1956
1836
|
"members": [
|
|
1957
1837
|
{
|
|
1958
1838
|
"kind": "field",
|
|
@@ -1972,40 +1852,102 @@
|
|
|
1972
1852
|
"default": "ZERO_DATA",
|
|
1973
1853
|
"attribute": "data"
|
|
1974
1854
|
},
|
|
1855
|
+
{
|
|
1856
|
+
"kind": "field",
|
|
1857
|
+
"name": "isTop",
|
|
1858
|
+
"type": {
|
|
1859
|
+
"text": "boolean"
|
|
1860
|
+
},
|
|
1861
|
+
"default": "false",
|
|
1862
|
+
"attribute": "isTop"
|
|
1863
|
+
},
|
|
1864
|
+
{
|
|
1865
|
+
"kind": "field",
|
|
1866
|
+
"name": "_records",
|
|
1867
|
+
"type": {
|
|
1868
|
+
"text": "GristRecord[]"
|
|
1869
|
+
},
|
|
1870
|
+
"privacy": "private",
|
|
1871
|
+
"default": "[]",
|
|
1872
|
+
"attribute": "_records"
|
|
1873
|
+
},
|
|
1874
|
+
{
|
|
1875
|
+
"kind": "field",
|
|
1876
|
+
"name": "_total",
|
|
1877
|
+
"type": {
|
|
1878
|
+
"text": "number"
|
|
1879
|
+
},
|
|
1880
|
+
"privacy": "private",
|
|
1881
|
+
"default": "0"
|
|
1882
|
+
},
|
|
1883
|
+
{
|
|
1884
|
+
"kind": "field",
|
|
1885
|
+
"name": "_limit",
|
|
1886
|
+
"type": {
|
|
1887
|
+
"text": "number"
|
|
1888
|
+
},
|
|
1889
|
+
"privacy": "private",
|
|
1890
|
+
"default": "20"
|
|
1891
|
+
},
|
|
1892
|
+
{
|
|
1893
|
+
"kind": "field",
|
|
1894
|
+
"name": "_page",
|
|
1895
|
+
"type": {
|
|
1896
|
+
"text": "number"
|
|
1897
|
+
},
|
|
1898
|
+
"privacy": "private",
|
|
1899
|
+
"default": "1"
|
|
1900
|
+
},
|
|
1975
1901
|
{
|
|
1976
1902
|
"kind": "method",
|
|
1977
|
-
"name": "
|
|
1903
|
+
"name": "onRecordChanged",
|
|
1978
1904
|
"parameters": [
|
|
1979
1905
|
{
|
|
1980
|
-
"name": "
|
|
1906
|
+
"name": "recordData",
|
|
1907
|
+
"type": {
|
|
1908
|
+
"text": "GristRecord"
|
|
1909
|
+
}
|
|
1910
|
+
},
|
|
1911
|
+
{
|
|
1912
|
+
"name": "row",
|
|
1981
1913
|
"type": {
|
|
1982
1914
|
"text": "number"
|
|
1983
1915
|
}
|
|
1916
|
+
},
|
|
1917
|
+
{
|
|
1918
|
+
"name": "column",
|
|
1919
|
+
"type": {
|
|
1920
|
+
"text": "ColumnConfig | null"
|
|
1921
|
+
}
|
|
1984
1922
|
}
|
|
1985
1923
|
]
|
|
1986
1924
|
},
|
|
1987
1925
|
{
|
|
1988
1926
|
"kind": "method",
|
|
1989
|
-
"name": "
|
|
1927
|
+
"name": "gotoTop",
|
|
1990
1928
|
"parameters": [
|
|
1991
1929
|
{
|
|
1992
|
-
"name": "
|
|
1930
|
+
"name": "e",
|
|
1993
1931
|
"type": {
|
|
1994
|
-
"text": "
|
|
1932
|
+
"text": "Event"
|
|
1995
1933
|
}
|
|
1996
1934
|
}
|
|
1997
1935
|
]
|
|
1936
|
+
},
|
|
1937
|
+
{
|
|
1938
|
+
"kind": "field",
|
|
1939
|
+
"name": "pullToRefreshTarget"
|
|
1998
1940
|
}
|
|
1999
1941
|
],
|
|
2000
1942
|
"events": [
|
|
2001
1943
|
{
|
|
2002
|
-
"name": "page
|
|
1944
|
+
"name": "attach-page",
|
|
2003
1945
|
"type": {
|
|
2004
1946
|
"text": "CustomEvent"
|
|
2005
1947
|
}
|
|
2006
1948
|
},
|
|
2007
1949
|
{
|
|
2008
|
-
"name": "
|
|
1950
|
+
"name": "record-change",
|
|
2009
1951
|
"type": {
|
|
2010
1952
|
"text": "CustomEvent"
|
|
2011
1953
|
}
|
|
@@ -2033,43 +1975,59 @@
|
|
|
2033
1975
|
"module": "/src/configure/config-types"
|
|
2034
1976
|
},
|
|
2035
1977
|
"fieldName": "data"
|
|
1978
|
+
},
|
|
1979
|
+
{
|
|
1980
|
+
"name": "isTop",
|
|
1981
|
+
"type": {
|
|
1982
|
+
"text": "boolean"
|
|
1983
|
+
},
|
|
1984
|
+
"default": "false",
|
|
1985
|
+
"fieldName": "isTop"
|
|
1986
|
+
},
|
|
1987
|
+
{
|
|
1988
|
+
"name": "_records",
|
|
1989
|
+
"type": {
|
|
1990
|
+
"text": "GristRecord[]"
|
|
1991
|
+
},
|
|
1992
|
+
"default": "[]",
|
|
1993
|
+
"fieldName": "_records"
|
|
2036
1994
|
}
|
|
2037
1995
|
],
|
|
2038
1996
|
"superclass": {
|
|
2039
1997
|
"name": "LitElement",
|
|
2040
1998
|
"package": "lit"
|
|
2041
1999
|
},
|
|
2042
|
-
"tagName": "ox-
|
|
2000
|
+
"tagName": "ox-card",
|
|
2043
2001
|
"customElement": true
|
|
2044
2002
|
}
|
|
2045
2003
|
],
|
|
2046
2004
|
"exports": [
|
|
2047
2005
|
{
|
|
2048
2006
|
"kind": "js",
|
|
2049
|
-
"name": "
|
|
2007
|
+
"name": "DataCard",
|
|
2050
2008
|
"declaration": {
|
|
2051
|
-
"name": "
|
|
2052
|
-
"module": "src/data-
|
|
2009
|
+
"name": "DataCard",
|
|
2010
|
+
"module": "src/data-card/data-card.ts"
|
|
2053
2011
|
}
|
|
2054
2012
|
},
|
|
2055
2013
|
{
|
|
2056
2014
|
"kind": "custom-element-definition",
|
|
2057
|
-
"name": "ox-
|
|
2015
|
+
"name": "ox-card",
|
|
2058
2016
|
"declaration": {
|
|
2059
|
-
"name": "
|
|
2060
|
-
"module": "src/data-
|
|
2017
|
+
"name": "DataCard",
|
|
2018
|
+
"module": "src/data-card/data-card.ts"
|
|
2061
2019
|
}
|
|
2062
2020
|
}
|
|
2063
2021
|
]
|
|
2064
2022
|
},
|
|
2065
2023
|
{
|
|
2066
2024
|
"kind": "javascript-module",
|
|
2067
|
-
"path": "src/data-
|
|
2025
|
+
"path": "src/data-card/record-card.ts",
|
|
2068
2026
|
"declarations": [
|
|
2069
2027
|
{
|
|
2070
2028
|
"kind": "class",
|
|
2071
2029
|
"description": "",
|
|
2072
|
-
"name": "
|
|
2030
|
+
"name": "RecordCard",
|
|
2073
2031
|
"members": [
|
|
2074
2032
|
{
|
|
2075
2033
|
"kind": "field",
|
|
@@ -2080,15 +2038,6 @@
|
|
|
2080
2038
|
"default": "ZERO_CONFIG",
|
|
2081
2039
|
"attribute": "config"
|
|
2082
2040
|
},
|
|
2083
|
-
{
|
|
2084
|
-
"kind": "field",
|
|
2085
|
-
"name": "columns",
|
|
2086
|
-
"type": {
|
|
2087
|
-
"text": "ColumnConfig[]"
|
|
2088
|
-
},
|
|
2089
|
-
"default": "ZERO_COLUMNS",
|
|
2090
|
-
"attribute": "columns"
|
|
2091
|
-
},
|
|
2092
2041
|
{
|
|
2093
2042
|
"kind": "field",
|
|
2094
2043
|
"name": "data",
|
|
@@ -2100,123 +2049,69 @@
|
|
|
2100
2049
|
},
|
|
2101
2050
|
{
|
|
2102
2051
|
"kind": "field",
|
|
2103
|
-
"name": "
|
|
2052
|
+
"name": "record",
|
|
2104
2053
|
"type": {
|
|
2105
|
-
"text": "
|
|
2054
|
+
"text": "GristRecord"
|
|
2106
2055
|
},
|
|
2107
|
-
"
|
|
2108
|
-
"
|
|
2056
|
+
"default": "ZERO_RECORD",
|
|
2057
|
+
"attribute": "record"
|
|
2109
2058
|
},
|
|
2110
2059
|
{
|
|
2111
2060
|
"kind": "field",
|
|
2112
|
-
"name": "
|
|
2061
|
+
"name": "rowIndex",
|
|
2113
2062
|
"type": {
|
|
2114
|
-
"text": "number
|
|
2063
|
+
"text": "number"
|
|
2115
2064
|
},
|
|
2116
|
-
"
|
|
2065
|
+
"default": "-1",
|
|
2066
|
+
"attribute": "rowIndex"
|
|
2117
2067
|
},
|
|
2118
2068
|
{
|
|
2119
2069
|
"kind": "field",
|
|
2120
|
-
"name": "
|
|
2070
|
+
"name": "selectedRow",
|
|
2121
2071
|
"type": {
|
|
2122
|
-
"text": "
|
|
2072
|
+
"text": "boolean"
|
|
2123
2073
|
},
|
|
2124
|
-
"
|
|
2125
|
-
|
|
2126
|
-
{
|
|
2127
|
-
"kind": "method",
|
|
2128
|
-
"name": "_renderHeader",
|
|
2129
|
-
"parameters": [
|
|
2130
|
-
{
|
|
2131
|
-
"name": "column",
|
|
2132
|
-
"type": {
|
|
2133
|
-
"text": "ColumnConfig"
|
|
2134
|
-
}
|
|
2135
|
-
}
|
|
2136
|
-
]
|
|
2137
|
-
},
|
|
2138
|
-
{
|
|
2139
|
-
"kind": "method",
|
|
2140
|
-
"name": "_renderSortHeader",
|
|
2141
|
-
"parameters": [
|
|
2142
|
-
{
|
|
2143
|
-
"name": "column",
|
|
2144
|
-
"type": {
|
|
2145
|
-
"text": "ColumnConfig"
|
|
2146
|
-
}
|
|
2147
|
-
}
|
|
2148
|
-
]
|
|
2074
|
+
"default": "false",
|
|
2075
|
+
"attribute": "selected-row"
|
|
2149
2076
|
},
|
|
2150
2077
|
{
|
|
2151
|
-
"kind": "
|
|
2152
|
-
"name": "
|
|
2153
|
-
"
|
|
2154
|
-
|
|
2155
|
-
|
|
2156
|
-
|
|
2157
|
-
"text": "ColumnConfig"
|
|
2158
|
-
}
|
|
2159
|
-
}
|
|
2160
|
-
]
|
|
2078
|
+
"kind": "field",
|
|
2079
|
+
"name": "_recordView",
|
|
2080
|
+
"type": {
|
|
2081
|
+
"text": "any"
|
|
2082
|
+
},
|
|
2083
|
+
"privacy": "private"
|
|
2161
2084
|
},
|
|
2162
2085
|
{
|
|
2163
2086
|
"kind": "method",
|
|
2164
|
-
"name": "
|
|
2087
|
+
"name": "onFieldChange",
|
|
2165
2088
|
"parameters": [
|
|
2166
2089
|
{
|
|
2167
|
-
"name": "
|
|
2090
|
+
"name": "e",
|
|
2168
2091
|
"type": {
|
|
2169
|
-
"text": "
|
|
2092
|
+
"text": "Event"
|
|
2170
2093
|
}
|
|
2171
2094
|
}
|
|
2172
2095
|
]
|
|
2173
2096
|
},
|
|
2174
2097
|
{
|
|
2175
|
-
"kind": "
|
|
2176
|
-
"name": "
|
|
2177
|
-
"parameters": [
|
|
2178
|
-
{
|
|
2179
|
-
"name": "idx",
|
|
2180
|
-
"type": {
|
|
2181
|
-
"text": "number"
|
|
2182
|
-
}
|
|
2183
|
-
},
|
|
2184
|
-
{
|
|
2185
|
-
"name": "width",
|
|
2186
|
-
"type": {
|
|
2187
|
-
"text": "number"
|
|
2188
|
-
}
|
|
2189
|
-
}
|
|
2190
|
-
]
|
|
2098
|
+
"kind": "field",
|
|
2099
|
+
"name": "recordView"
|
|
2191
2100
|
},
|
|
2192
2101
|
{
|
|
2193
2102
|
"kind": "method",
|
|
2194
|
-
"name": "
|
|
2195
|
-
"parameters": [
|
|
2196
|
-
{
|
|
2197
|
-
"name": "e",
|
|
2198
|
-
"type": {
|
|
2199
|
-
"text": "MouseEvent"
|
|
2200
|
-
}
|
|
2201
|
-
},
|
|
2202
|
-
{
|
|
2203
|
-
"name": "idx",
|
|
2204
|
-
"type": {
|
|
2205
|
-
"text": "number"
|
|
2206
|
-
}
|
|
2207
|
-
}
|
|
2208
|
-
]
|
|
2103
|
+
"name": "popupRecordView"
|
|
2209
2104
|
}
|
|
2210
2105
|
],
|
|
2211
2106
|
"events": [
|
|
2212
2107
|
{
|
|
2213
|
-
"name": "
|
|
2108
|
+
"name": "field-change",
|
|
2214
2109
|
"type": {
|
|
2215
2110
|
"text": "CustomEvent"
|
|
2216
2111
|
}
|
|
2217
2112
|
},
|
|
2218
2113
|
{
|
|
2219
|
-
"name": "
|
|
2114
|
+
"name": "record-reset",
|
|
2220
2115
|
"type": {
|
|
2221
2116
|
"text": "CustomEvent"
|
|
2222
2117
|
}
|
|
@@ -2235,64 +2130,105 @@
|
|
|
2235
2130
|
"fieldName": "config"
|
|
2236
2131
|
},
|
|
2237
2132
|
{
|
|
2238
|
-
"name": "
|
|
2133
|
+
"name": "data",
|
|
2239
2134
|
"type": {
|
|
2240
|
-
"text": "
|
|
2135
|
+
"text": "GristData"
|
|
2241
2136
|
},
|
|
2242
|
-
"default": "
|
|
2137
|
+
"default": "ZERO_DATA",
|
|
2243
2138
|
"resolveInitializer": {
|
|
2244
2139
|
"module": "/src/configure/config-types"
|
|
2245
2140
|
},
|
|
2246
|
-
"fieldName": "
|
|
2141
|
+
"fieldName": "data"
|
|
2247
2142
|
},
|
|
2248
2143
|
{
|
|
2249
|
-
"name": "
|
|
2144
|
+
"name": "record",
|
|
2250
2145
|
"type": {
|
|
2251
|
-
"text": "
|
|
2146
|
+
"text": "GristRecord"
|
|
2252
2147
|
},
|
|
2253
|
-
"default": "
|
|
2148
|
+
"default": "ZERO_RECORD",
|
|
2254
2149
|
"resolveInitializer": {
|
|
2255
2150
|
"module": "/src/configure/config-types"
|
|
2256
2151
|
},
|
|
2257
|
-
"fieldName": "
|
|
2152
|
+
"fieldName": "record"
|
|
2153
|
+
},
|
|
2154
|
+
{
|
|
2155
|
+
"name": "rowIndex",
|
|
2156
|
+
"type": {
|
|
2157
|
+
"text": "number"
|
|
2158
|
+
},
|
|
2159
|
+
"default": "-1",
|
|
2160
|
+
"fieldName": "rowIndex"
|
|
2161
|
+
},
|
|
2162
|
+
{
|
|
2163
|
+
"name": "selected-row",
|
|
2164
|
+
"type": {
|
|
2165
|
+
"text": "boolean"
|
|
2166
|
+
},
|
|
2167
|
+
"default": "false",
|
|
2168
|
+
"fieldName": "selectedRow"
|
|
2258
2169
|
}
|
|
2259
2170
|
],
|
|
2260
2171
|
"superclass": {
|
|
2261
2172
|
"name": "LitElement",
|
|
2262
2173
|
"package": "lit"
|
|
2263
2174
|
},
|
|
2264
|
-
"tagName": "ox-
|
|
2175
|
+
"tagName": "ox-record-card",
|
|
2265
2176
|
"customElement": true
|
|
2266
2177
|
}
|
|
2267
2178
|
],
|
|
2268
2179
|
"exports": [
|
|
2269
2180
|
{
|
|
2270
2181
|
"kind": "js",
|
|
2271
|
-
"name": "
|
|
2182
|
+
"name": "RecordCard",
|
|
2272
2183
|
"declaration": {
|
|
2273
|
-
"name": "
|
|
2274
|
-
"module": "src/data-
|
|
2184
|
+
"name": "RecordCard",
|
|
2185
|
+
"module": "src/data-card/record-card.ts"
|
|
2275
2186
|
}
|
|
2276
2187
|
},
|
|
2277
2188
|
{
|
|
2278
2189
|
"kind": "custom-element-definition",
|
|
2279
|
-
"name": "ox-
|
|
2190
|
+
"name": "ox-record-card",
|
|
2280
2191
|
"declaration": {
|
|
2281
|
-
"name": "
|
|
2282
|
-
"module": "src/data-
|
|
2192
|
+
"name": "RecordCard",
|
|
2193
|
+
"module": "src/data-card/record-card.ts"
|
|
2283
2194
|
}
|
|
2284
2195
|
}
|
|
2285
2196
|
]
|
|
2286
2197
|
},
|
|
2287
2198
|
{
|
|
2288
2199
|
"kind": "javascript-module",
|
|
2289
|
-
"path": "src/data-grid/data-grid.ts",
|
|
2200
|
+
"path": "src/data-grid/data-grid-body-style.ts",
|
|
2201
|
+
"declarations": [
|
|
2202
|
+
{
|
|
2203
|
+
"kind": "variable",
|
|
2204
|
+
"name": "dataGridBodyStyle",
|
|
2205
|
+
"default": "css`\n :host {\n display: grid;\n grid-template-columns: var(--grid-template-columns);\n grid-auto-rows: var(--grid-record-height, min-content);\n\n overflow: auto;\n outline: none;\n color: var(--grid-record-color);\n }\n\n [odd] {\n background-color: var(--grid-record-odd-background-color);\n }\n\n [selected-row] {\n background-color: var(--grid-record-selected-background-color);\n color: var(--grid-record-selected-color);\n }\n\n [focused-row] {\n box-shadow: var(--grid-record-focused-box-shadow);\n font-weight: bold;\n color: var(--grid-record-focused-color);\n background-image: var(--focused-background-image);\n background-blend-mode: darken;\n }\n\n [focused] {\n border: var(--grid-record-focused-cell-border);\n }\n\n [emphasized-row],\n [emphasized-row][focused] {\n background-color: var(--grid-record-emphasized-background-color);\n color: var(--grid-record-emphasized-color);\n }\n\n [editing] {\n background-color: var(--grid-record-editing-background-color);\n }\n\n @media print {\n :host {\n grid-template-columns: var(--grid-template-print-columns);\n }\n [focused] {\n border: none;\n }\n\n [selected-row] {\n background-color: transparent;\n }\n\n [emphasized-row] {\n background-color: transparent;\n color: initial;\n }\n\n [focused-row] {\n background-color: transparent;\n color: initial;\n }\n\n [editing] {\n background-color: transparent;\n }\n }\n`"
|
|
2206
|
+
}
|
|
2207
|
+
],
|
|
2208
|
+
"exports": [
|
|
2209
|
+
{
|
|
2210
|
+
"kind": "js",
|
|
2211
|
+
"name": "dataGridBodyStyle",
|
|
2212
|
+
"declaration": {
|
|
2213
|
+
"name": "dataGridBodyStyle",
|
|
2214
|
+
"module": "src/data-grid/data-grid-body-style.ts"
|
|
2215
|
+
}
|
|
2216
|
+
}
|
|
2217
|
+
]
|
|
2218
|
+
},
|
|
2219
|
+
{
|
|
2220
|
+
"kind": "javascript-module",
|
|
2221
|
+
"path": "src/data-grid/data-grid-body.ts",
|
|
2290
2222
|
"declarations": [
|
|
2291
2223
|
{
|
|
2292
2224
|
"kind": "class",
|
|
2293
|
-
"description": "
|
|
2294
|
-
"name": "
|
|
2225
|
+
"description": "",
|
|
2226
|
+
"name": "DataGridBody",
|
|
2295
2227
|
"members": [
|
|
2228
|
+
{
|
|
2229
|
+
"kind": "field",
|
|
2230
|
+
"name": "debounce"
|
|
2231
|
+
},
|
|
2296
2232
|
{
|
|
2297
2233
|
"kind": "field",
|
|
2298
2234
|
"name": "config",
|
|
@@ -2302,6 +2238,15 @@
|
|
|
2302
2238
|
"default": "ZERO_CONFIG",
|
|
2303
2239
|
"attribute": "config"
|
|
2304
2240
|
},
|
|
2241
|
+
{
|
|
2242
|
+
"kind": "field",
|
|
2243
|
+
"name": "columns",
|
|
2244
|
+
"type": {
|
|
2245
|
+
"text": "ColumnConfig[]"
|
|
2246
|
+
},
|
|
2247
|
+
"default": "[]",
|
|
2248
|
+
"attribute": "columns"
|
|
2249
|
+
},
|
|
2305
2250
|
{
|
|
2306
2251
|
"kind": "field",
|
|
2307
2252
|
"name": "data",
|
|
@@ -2315,42 +2260,53 @@
|
|
|
2315
2260
|
"kind": "field",
|
|
2316
2261
|
"name": "focused",
|
|
2317
2262
|
"type": {
|
|
2318
|
-
"text": "{ row: number; column: number }
|
|
2263
|
+
"text": "{ row: number; column: number }"
|
|
2319
2264
|
},
|
|
2265
|
+
"default": "{\n row: 0,\n column: 0\n}",
|
|
2320
2266
|
"attribute": "focused"
|
|
2321
2267
|
},
|
|
2322
2268
|
{
|
|
2323
2269
|
"kind": "field",
|
|
2324
|
-
"name": "
|
|
2270
|
+
"name": "editTarget",
|
|
2325
2271
|
"type": {
|
|
2326
|
-
"text": "
|
|
2327
|
-
}
|
|
2272
|
+
"text": "{ row: number; column: number } | null"
|
|
2273
|
+
},
|
|
2274
|
+
"default": "null",
|
|
2275
|
+
"attribute": "editTarget"
|
|
2328
2276
|
},
|
|
2329
2277
|
{
|
|
2330
2278
|
"kind": "field",
|
|
2331
|
-
"name": "
|
|
2279
|
+
"name": "from",
|
|
2332
2280
|
"type": {
|
|
2333
|
-
"text": "
|
|
2334
|
-
}
|
|
2281
|
+
"text": "number"
|
|
2282
|
+
},
|
|
2283
|
+
"default": "-1",
|
|
2284
|
+
"attribute": "from"
|
|
2335
2285
|
},
|
|
2336
2286
|
{
|
|
2337
2287
|
"kind": "field",
|
|
2338
|
-
"name": "
|
|
2288
|
+
"name": "to",
|
|
2339
2289
|
"type": {
|
|
2340
|
-
"text": "
|
|
2341
|
-
}
|
|
2290
|
+
"text": "number"
|
|
2291
|
+
},
|
|
2292
|
+
"default": "-1",
|
|
2293
|
+
"attribute": "to"
|
|
2342
2294
|
},
|
|
2343
2295
|
{
|
|
2344
2296
|
"kind": "field",
|
|
2345
|
-
"name": "
|
|
2297
|
+
"name": "_focusedListener",
|
|
2346
2298
|
"type": {
|
|
2347
|
-
"text": "
|
|
2299
|
+
"text": "(e: KeyboardEvent) => void | undefined"
|
|
2348
2300
|
},
|
|
2349
2301
|
"privacy": "private"
|
|
2350
2302
|
},
|
|
2351
2303
|
{
|
|
2352
2304
|
"kind": "method",
|
|
2353
|
-
"name": "
|
|
2305
|
+
"name": "resetEdit"
|
|
2306
|
+
},
|
|
2307
|
+
{
|
|
2308
|
+
"kind": "method",
|
|
2309
|
+
"name": "handleOnScroll",
|
|
2354
2310
|
"parameters": [
|
|
2355
2311
|
{
|
|
2356
2312
|
"name": "e",
|
|
@@ -2362,14 +2318,20 @@
|
|
|
2362
2318
|
},
|
|
2363
2319
|
{
|
|
2364
2320
|
"kind": "method",
|
|
2365
|
-
"name": "
|
|
2321
|
+
"name": "_onWheelEvent",
|
|
2366
2322
|
"parameters": [
|
|
2367
2323
|
{
|
|
2368
|
-
"name": "
|
|
2324
|
+
"name": "e",
|
|
2369
2325
|
"type": {
|
|
2370
|
-
"text": "
|
|
2326
|
+
"text": "WheelEvent"
|
|
2371
2327
|
}
|
|
2372
|
-
}
|
|
2328
|
+
}
|
|
2329
|
+
]
|
|
2330
|
+
},
|
|
2331
|
+
{
|
|
2332
|
+
"kind": "method",
|
|
2333
|
+
"name": "startEditTarget",
|
|
2334
|
+
"parameters": [
|
|
2373
2335
|
{
|
|
2374
2336
|
"name": "row",
|
|
2375
2337
|
"type": {
|
|
@@ -2379,19 +2341,7 @@
|
|
|
2379
2341
|
{
|
|
2380
2342
|
"name": "column",
|
|
2381
2343
|
"type": {
|
|
2382
|
-
"text": "
|
|
2383
|
-
}
|
|
2384
|
-
}
|
|
2385
|
-
]
|
|
2386
|
-
},
|
|
2387
|
-
{
|
|
2388
|
-
"kind": "method",
|
|
2389
|
-
"name": "calculateWidths",
|
|
2390
|
-
"parameters": [
|
|
2391
|
-
{
|
|
2392
|
-
"name": "columns",
|
|
2393
|
-
"type": {
|
|
2394
|
-
"text": "ColumnConfig[]"
|
|
2344
|
+
"text": "number"
|
|
2395
2345
|
}
|
|
2396
2346
|
}
|
|
2397
2347
|
]
|
|
@@ -2399,18 +2349,6 @@
|
|
|
2399
2349
|
{
|
|
2400
2350
|
"kind": "method",
|
|
2401
2351
|
"name": "focus"
|
|
2402
|
-
},
|
|
2403
|
-
{
|
|
2404
|
-
"kind": "field",
|
|
2405
|
-
"name": "pullToRefreshTarget"
|
|
2406
|
-
}
|
|
2407
|
-
],
|
|
2408
|
-
"events": [
|
|
2409
|
-
{
|
|
2410
|
-
"name": "record-change",
|
|
2411
|
-
"type": {
|
|
2412
|
-
"text": "CustomEvent"
|
|
2413
|
-
}
|
|
2414
2352
|
}
|
|
2415
2353
|
],
|
|
2416
2354
|
"attributes": [
|
|
@@ -2425,6 +2363,14 @@
|
|
|
2425
2363
|
},
|
|
2426
2364
|
"fieldName": "config"
|
|
2427
2365
|
},
|
|
2366
|
+
{
|
|
2367
|
+
"name": "columns",
|
|
2368
|
+
"type": {
|
|
2369
|
+
"text": "ColumnConfig[]"
|
|
2370
|
+
},
|
|
2371
|
+
"default": "[]",
|
|
2372
|
+
"fieldName": "columns"
|
|
2373
|
+
},
|
|
2428
2374
|
{
|
|
2429
2375
|
"name": "data",
|
|
2430
2376
|
"type": {
|
|
@@ -2439,54 +2385,83 @@
|
|
|
2439
2385
|
{
|
|
2440
2386
|
"name": "focused",
|
|
2441
2387
|
"type": {
|
|
2442
|
-
"text": "{ row: number; column: number }
|
|
2388
|
+
"text": "{ row: number; column: number }"
|
|
2389
|
+
},
|
|
2390
|
+
"default": "ZERO_FOCUS",
|
|
2391
|
+
"resolveInitializer": {
|
|
2392
|
+
"module": "src/data-grid/data-grid-body.ts"
|
|
2443
2393
|
},
|
|
2444
2394
|
"fieldName": "focused"
|
|
2395
|
+
},
|
|
2396
|
+
{
|
|
2397
|
+
"name": "editTarget",
|
|
2398
|
+
"type": {
|
|
2399
|
+
"text": "{ row: number; column: number } | null"
|
|
2400
|
+
},
|
|
2401
|
+
"default": "null",
|
|
2402
|
+
"fieldName": "editTarget"
|
|
2403
|
+
},
|
|
2404
|
+
{
|
|
2405
|
+
"name": "from",
|
|
2406
|
+
"type": {
|
|
2407
|
+
"text": "number"
|
|
2408
|
+
},
|
|
2409
|
+
"default": "-1",
|
|
2410
|
+
"fieldName": "from"
|
|
2411
|
+
},
|
|
2412
|
+
{
|
|
2413
|
+
"name": "to",
|
|
2414
|
+
"type": {
|
|
2415
|
+
"text": "number"
|
|
2416
|
+
},
|
|
2417
|
+
"default": "-1",
|
|
2418
|
+
"fieldName": "to"
|
|
2445
2419
|
}
|
|
2446
2420
|
],
|
|
2447
2421
|
"superclass": {
|
|
2448
2422
|
"name": "LitElement",
|
|
2449
2423
|
"package": "lit"
|
|
2450
2424
|
},
|
|
2451
|
-
"tagName": "ox-grid",
|
|
2425
|
+
"tagName": "ox-grid-body",
|
|
2452
2426
|
"customElement": true
|
|
2453
2427
|
}
|
|
2454
2428
|
],
|
|
2455
2429
|
"exports": [
|
|
2456
2430
|
{
|
|
2457
2431
|
"kind": "js",
|
|
2458
|
-
"name": "
|
|
2432
|
+
"name": "DataGridBody",
|
|
2459
2433
|
"declaration": {
|
|
2460
|
-
"name": "
|
|
2461
|
-
"module": "src/data-grid/data-grid.ts"
|
|
2434
|
+
"name": "DataGridBody",
|
|
2435
|
+
"module": "src/data-grid/data-grid-body.ts"
|
|
2462
2436
|
}
|
|
2463
2437
|
},
|
|
2464
2438
|
{
|
|
2465
2439
|
"kind": "custom-element-definition",
|
|
2466
|
-
"name": "ox-grid",
|
|
2440
|
+
"name": "ox-grid-body",
|
|
2467
2441
|
"declaration": {
|
|
2468
|
-
"name": "
|
|
2469
|
-
"module": "src/data-grid/data-grid.ts"
|
|
2442
|
+
"name": "DataGridBody",
|
|
2443
|
+
"module": "src/data-grid/data-grid-body.ts"
|
|
2470
2444
|
}
|
|
2471
2445
|
}
|
|
2472
2446
|
]
|
|
2473
2447
|
},
|
|
2474
2448
|
{
|
|
2475
2449
|
"kind": "javascript-module",
|
|
2476
|
-
"path": "src/data-
|
|
2450
|
+
"path": "src/data-grid/data-grid-field.ts",
|
|
2477
2451
|
"declarations": [
|
|
2478
2452
|
{
|
|
2479
2453
|
"kind": "class",
|
|
2480
2454
|
"description": "",
|
|
2481
|
-
"name": "
|
|
2455
|
+
"name": "DataGridField",
|
|
2482
2456
|
"members": [
|
|
2483
2457
|
{
|
|
2484
2458
|
"kind": "field",
|
|
2485
2459
|
"name": "align",
|
|
2460
|
+
"default": "'left'",
|
|
2461
|
+
"attribute": "align",
|
|
2486
2462
|
"type": {
|
|
2487
|
-
"text": "string
|
|
2488
|
-
}
|
|
2489
|
-
"attribute": "align"
|
|
2463
|
+
"text": "string"
|
|
2464
|
+
}
|
|
2490
2465
|
},
|
|
2491
2466
|
{
|
|
2492
2467
|
"kind": "field",
|
|
@@ -2494,7 +2469,7 @@
|
|
|
2494
2469
|
"type": {
|
|
2495
2470
|
"text": "GristRecord"
|
|
2496
2471
|
},
|
|
2497
|
-
"default": "
|
|
2472
|
+
"default": "{}",
|
|
2498
2473
|
"attribute": "record"
|
|
2499
2474
|
},
|
|
2500
2475
|
{
|
|
@@ -2512,312 +2487,298 @@
|
|
|
2512
2487
|
"type": {
|
|
2513
2488
|
"text": "number"
|
|
2514
2489
|
},
|
|
2515
|
-
"default": "
|
|
2490
|
+
"default": "0",
|
|
2516
2491
|
"attribute": "rowIndex"
|
|
2517
2492
|
},
|
|
2518
2493
|
{
|
|
2519
2494
|
"kind": "field",
|
|
2520
|
-
"name": "
|
|
2495
|
+
"name": "columnIndex",
|
|
2521
2496
|
"type": {
|
|
2522
|
-
"text": "
|
|
2497
|
+
"text": "number"
|
|
2523
2498
|
},
|
|
2524
|
-
"
|
|
2525
|
-
|
|
2526
|
-
|
|
2527
|
-
"attributes": [
|
|
2499
|
+
"default": "0",
|
|
2500
|
+
"attribute": "columnIndex"
|
|
2501
|
+
},
|
|
2528
2502
|
{
|
|
2529
|
-
"
|
|
2503
|
+
"kind": "field",
|
|
2504
|
+
"name": "editing",
|
|
2530
2505
|
"type": {
|
|
2531
|
-
"text": "
|
|
2506
|
+
"text": "boolean"
|
|
2532
2507
|
},
|
|
2533
|
-
"
|
|
2508
|
+
"default": "false",
|
|
2509
|
+
"attribute": "editing"
|
|
2534
2510
|
},
|
|
2535
2511
|
{
|
|
2536
|
-
"
|
|
2512
|
+
"kind": "field",
|
|
2513
|
+
"name": "value",
|
|
2537
2514
|
"type": {
|
|
2538
|
-
"text": "
|
|
2539
|
-
},
|
|
2540
|
-
"default": "ZERO_RECORD",
|
|
2541
|
-
"resolveInitializer": {
|
|
2542
|
-
"module": "/src/configure/config-types"
|
|
2515
|
+
"text": "object"
|
|
2543
2516
|
},
|
|
2544
|
-
"
|
|
2517
|
+
"default": "{}",
|
|
2518
|
+
"attribute": "value"
|
|
2545
2519
|
},
|
|
2546
2520
|
{
|
|
2547
|
-
"
|
|
2521
|
+
"kind": "field",
|
|
2522
|
+
"name": "emphasized",
|
|
2548
2523
|
"type": {
|
|
2549
|
-
"text": "
|
|
2550
|
-
},
|
|
2551
|
-
"default": "ZERO_COLUMN",
|
|
2552
|
-
"resolveInitializer": {
|
|
2553
|
-
"module": "/src/configure/config-types"
|
|
2524
|
+
"text": "boolean"
|
|
2554
2525
|
},
|
|
2555
|
-
"
|
|
2526
|
+
"default": "false",
|
|
2527
|
+
"attribute": "emphasized"
|
|
2556
2528
|
},
|
|
2557
2529
|
{
|
|
2558
|
-
"
|
|
2530
|
+
"kind": "field",
|
|
2531
|
+
"name": "_editCancelled",
|
|
2559
2532
|
"type": {
|
|
2560
|
-
"text": "
|
|
2533
|
+
"text": "boolean | undefined"
|
|
2561
2534
|
},
|
|
2562
|
-
"
|
|
2563
|
-
"fieldName": "rowIndex"
|
|
2535
|
+
"privacy": "private"
|
|
2564
2536
|
},
|
|
2565
2537
|
{
|
|
2566
|
-
"
|
|
2538
|
+
"kind": "field",
|
|
2539
|
+
"name": "_onFieldChange",
|
|
2567
2540
|
"type": {
|
|
2568
|
-
"text": "
|
|
2541
|
+
"text": "(e: Event) => void"
|
|
2569
2542
|
},
|
|
2570
|
-
"
|
|
2571
|
-
|
|
2572
|
-
|
|
2573
|
-
"superclass": {
|
|
2574
|
-
"name": "LitElement",
|
|
2575
|
-
"package": "lit"
|
|
2576
|
-
},
|
|
2577
|
-
"tagName": "ox-card-field",
|
|
2578
|
-
"customElement": true
|
|
2579
|
-
}
|
|
2580
|
-
],
|
|
2581
|
-
"exports": [
|
|
2582
|
-
{
|
|
2583
|
-
"kind": "js",
|
|
2584
|
-
"name": "DataCardField",
|
|
2585
|
-
"declaration": {
|
|
2586
|
-
"name": "DataCardField",
|
|
2587
|
-
"module": "src/data-card/data-card-field.ts"
|
|
2588
|
-
}
|
|
2589
|
-
},
|
|
2590
|
-
{
|
|
2591
|
-
"kind": "custom-element-definition",
|
|
2592
|
-
"name": "ox-card-field",
|
|
2593
|
-
"declaration": {
|
|
2594
|
-
"name": "DataCardField",
|
|
2595
|
-
"module": "src/data-card/data-card-field.ts"
|
|
2596
|
-
}
|
|
2597
|
-
}
|
|
2598
|
-
]
|
|
2599
|
-
},
|
|
2600
|
-
{
|
|
2601
|
-
"kind": "javascript-module",
|
|
2602
|
-
"path": "src/data-card/data-card-gutter-menu.ts",
|
|
2603
|
-
"declarations": [
|
|
2604
|
-
{
|
|
2605
|
-
"kind": "class",
|
|
2606
|
-
"description": "",
|
|
2607
|
-
"name": "DataCardGutterMenu",
|
|
2608
|
-
"members": [
|
|
2543
|
+
"privacy": "private",
|
|
2544
|
+
"default": "e => {}"
|
|
2545
|
+
},
|
|
2609
2546
|
{
|
|
2610
2547
|
"kind": "field",
|
|
2611
|
-
"name": "
|
|
2548
|
+
"name": "_onKeydownInEditingMode",
|
|
2612
2549
|
"type": {
|
|
2613
|
-
"text": "
|
|
2550
|
+
"text": "(e: KeyboardEvent) => void"
|
|
2614
2551
|
},
|
|
2615
|
-
"
|
|
2552
|
+
"privacy": "private",
|
|
2553
|
+
"default": "e => {}"
|
|
2616
2554
|
},
|
|
2617
2555
|
{
|
|
2618
2556
|
"kind": "field",
|
|
2619
|
-
"name": "
|
|
2620
|
-
"
|
|
2621
|
-
|
|
2557
|
+
"name": "isEditing",
|
|
2558
|
+
"privacy": "private"
|
|
2559
|
+
}
|
|
2560
|
+
],
|
|
2561
|
+
"attributes": [
|
|
2562
|
+
{
|
|
2563
|
+
"name": "align",
|
|
2564
|
+
"default": "DEFAULT_TEXT_ALIGN",
|
|
2565
|
+
"resolveInitializer": {
|
|
2566
|
+
"module": "src/data-grid/data-grid-field.ts"
|
|
2622
2567
|
},
|
|
2623
|
-
"
|
|
2568
|
+
"fieldName": "align"
|
|
2624
2569
|
},
|
|
2625
2570
|
{
|
|
2626
|
-
"kind": "field",
|
|
2627
2571
|
"name": "record",
|
|
2628
2572
|
"type": {
|
|
2629
2573
|
"text": "GristRecord"
|
|
2630
2574
|
},
|
|
2631
|
-
"
|
|
2575
|
+
"default": "{}",
|
|
2576
|
+
"fieldName": "record"
|
|
2632
2577
|
},
|
|
2633
2578
|
{
|
|
2634
|
-
"
|
|
2635
|
-
"name": "icon",
|
|
2579
|
+
"name": "column",
|
|
2636
2580
|
"type": {
|
|
2637
|
-
"text": "
|
|
2638
|
-
}
|
|
2581
|
+
"text": "ColumnConfig"
|
|
2582
|
+
},
|
|
2583
|
+
"default": "ZERO_COLUMN",
|
|
2584
|
+
"resolveInitializer": {
|
|
2585
|
+
"module": "/src/configure/config-types"
|
|
2586
|
+
},
|
|
2587
|
+
"fieldName": "column"
|
|
2639
2588
|
},
|
|
2640
2589
|
{
|
|
2641
|
-
"
|
|
2642
|
-
"
|
|
2590
|
+
"name": "rowIndex",
|
|
2591
|
+
"type": {
|
|
2592
|
+
"text": "number"
|
|
2593
|
+
},
|
|
2594
|
+
"default": "0",
|
|
2595
|
+
"fieldName": "rowIndex"
|
|
2643
2596
|
},
|
|
2644
2597
|
{
|
|
2645
|
-
"
|
|
2646
|
-
"
|
|
2647
|
-
|
|
2648
|
-
|
|
2649
|
-
|
|
2598
|
+
"name": "columnIndex",
|
|
2599
|
+
"type": {
|
|
2600
|
+
"text": "number"
|
|
2601
|
+
},
|
|
2602
|
+
"default": "0",
|
|
2603
|
+
"fieldName": "columnIndex"
|
|
2604
|
+
},
|
|
2650
2605
|
{
|
|
2651
|
-
"name": "
|
|
2606
|
+
"name": "editing",
|
|
2652
2607
|
"type": {
|
|
2653
|
-
"text": "
|
|
2608
|
+
"text": "boolean"
|
|
2654
2609
|
},
|
|
2655
|
-
"
|
|
2610
|
+
"default": "false",
|
|
2611
|
+
"fieldName": "editing"
|
|
2656
2612
|
},
|
|
2657
2613
|
{
|
|
2658
|
-
"name": "
|
|
2614
|
+
"name": "value",
|
|
2659
2615
|
"type": {
|
|
2660
|
-
"text": "
|
|
2616
|
+
"text": "object"
|
|
2661
2617
|
},
|
|
2662
|
-
"
|
|
2618
|
+
"default": "{}",
|
|
2619
|
+
"fieldName": "value"
|
|
2663
2620
|
},
|
|
2664
2621
|
{
|
|
2665
|
-
"name": "
|
|
2622
|
+
"name": "emphasized",
|
|
2666
2623
|
"type": {
|
|
2667
|
-
"text": "
|
|
2624
|
+
"text": "boolean"
|
|
2668
2625
|
},
|
|
2669
|
-
"
|
|
2626
|
+
"default": "false",
|
|
2627
|
+
"fieldName": "emphasized"
|
|
2670
2628
|
}
|
|
2671
2629
|
],
|
|
2672
2630
|
"superclass": {
|
|
2673
2631
|
"name": "LitElement",
|
|
2674
2632
|
"package": "lit"
|
|
2675
2633
|
},
|
|
2676
|
-
"tagName": "ox-
|
|
2634
|
+
"tagName": "ox-grid-field",
|
|
2677
2635
|
"customElement": true
|
|
2678
2636
|
}
|
|
2679
2637
|
],
|
|
2680
2638
|
"exports": [
|
|
2639
|
+
{
|
|
2640
|
+
"kind": "js",
|
|
2641
|
+
"name": "DataGridField",
|
|
2642
|
+
"declaration": {
|
|
2643
|
+
"name": "DataGridField",
|
|
2644
|
+
"module": "src/data-grid/data-grid-field.ts"
|
|
2645
|
+
}
|
|
2646
|
+
},
|
|
2681
2647
|
{
|
|
2682
2648
|
"kind": "custom-element-definition",
|
|
2683
|
-
"name": "ox-
|
|
2649
|
+
"name": "ox-grid-field",
|
|
2684
2650
|
"declaration": {
|
|
2685
|
-
"name": "
|
|
2686
|
-
"module": "src/data-
|
|
2651
|
+
"name": "DataGridField",
|
|
2652
|
+
"module": "src/data-grid/data-grid-field.ts"
|
|
2687
2653
|
}
|
|
2688
2654
|
}
|
|
2689
2655
|
]
|
|
2690
2656
|
},
|
|
2691
2657
|
{
|
|
2692
2658
|
"kind": "javascript-module",
|
|
2693
|
-
"path": "src/data-
|
|
2659
|
+
"path": "src/data-grid/data-grid-footer.ts",
|
|
2694
2660
|
"declarations": [
|
|
2695
2661
|
{
|
|
2696
2662
|
"kind": "class",
|
|
2697
2663
|
"description": "",
|
|
2698
|
-
"name": "
|
|
2664
|
+
"name": "DataGridFooter",
|
|
2699
2665
|
"members": [
|
|
2700
2666
|
{
|
|
2701
2667
|
"kind": "field",
|
|
2702
|
-
"name": "
|
|
2668
|
+
"name": "config",
|
|
2703
2669
|
"type": {
|
|
2704
|
-
"text": "
|
|
2670
|
+
"text": "GristConfig"
|
|
2705
2671
|
},
|
|
2706
|
-
"
|
|
2672
|
+
"default": "ZERO_CONFIG",
|
|
2673
|
+
"attribute": "config"
|
|
2707
2674
|
},
|
|
2708
2675
|
{
|
|
2709
2676
|
"kind": "field",
|
|
2710
|
-
"name": "
|
|
2677
|
+
"name": "data",
|
|
2711
2678
|
"type": {
|
|
2712
|
-
"text": "
|
|
2679
|
+
"text": "GristData"
|
|
2713
2680
|
},
|
|
2714
|
-
"default": "
|
|
2715
|
-
"attribute": "
|
|
2681
|
+
"default": "ZERO_DATA",
|
|
2682
|
+
"attribute": "data"
|
|
2716
2683
|
},
|
|
2717
2684
|
{
|
|
2718
|
-
"kind": "
|
|
2719
|
-
"name": "
|
|
2720
|
-
"
|
|
2721
|
-
|
|
2722
|
-
|
|
2723
|
-
|
|
2724
|
-
|
|
2685
|
+
"kind": "method",
|
|
2686
|
+
"name": "_gotoPage",
|
|
2687
|
+
"parameters": [
|
|
2688
|
+
{
|
|
2689
|
+
"name": "page",
|
|
2690
|
+
"type": {
|
|
2691
|
+
"text": "number"
|
|
2692
|
+
}
|
|
2693
|
+
}
|
|
2694
|
+
]
|
|
2725
2695
|
},
|
|
2726
2696
|
{
|
|
2727
|
-
"kind": "
|
|
2728
|
-
"name": "
|
|
2697
|
+
"kind": "method",
|
|
2698
|
+
"name": "_changeLimit",
|
|
2699
|
+
"parameters": [
|
|
2700
|
+
{
|
|
2701
|
+
"name": "limit",
|
|
2702
|
+
"type": {
|
|
2703
|
+
"text": "number"
|
|
2704
|
+
}
|
|
2705
|
+
}
|
|
2706
|
+
]
|
|
2707
|
+
}
|
|
2708
|
+
],
|
|
2709
|
+
"events": [
|
|
2710
|
+
{
|
|
2711
|
+
"name": "page-change",
|
|
2729
2712
|
"type": {
|
|
2730
|
-
"text": "
|
|
2731
|
-
}
|
|
2732
|
-
"default": "-1",
|
|
2733
|
-
"attribute": "rowIndex"
|
|
2713
|
+
"text": "CustomEvent"
|
|
2714
|
+
}
|
|
2734
2715
|
},
|
|
2735
2716
|
{
|
|
2736
|
-
"
|
|
2737
|
-
"name": "value",
|
|
2717
|
+
"name": "limit-change",
|
|
2738
2718
|
"type": {
|
|
2739
|
-
"text": "
|
|
2740
|
-
}
|
|
2741
|
-
"attribute": "value"
|
|
2742
|
-
},
|
|
2743
|
-
{
|
|
2744
|
-
"kind": "field",
|
|
2745
|
-
"name": "isEditing"
|
|
2719
|
+
"text": "CustomEvent"
|
|
2720
|
+
}
|
|
2746
2721
|
}
|
|
2747
2722
|
],
|
|
2748
2723
|
"attributes": [
|
|
2749
2724
|
{
|
|
2750
|
-
"name": "
|
|
2751
|
-
"type": {
|
|
2752
|
-
"text": "string | undefined"
|
|
2753
|
-
},
|
|
2754
|
-
"fieldName": "align"
|
|
2755
|
-
},
|
|
2756
|
-
{
|
|
2757
|
-
"name": "record",
|
|
2725
|
+
"name": "config",
|
|
2758
2726
|
"type": {
|
|
2759
|
-
"text": "
|
|
2727
|
+
"text": "GristConfig"
|
|
2760
2728
|
},
|
|
2761
|
-
"default": "
|
|
2729
|
+
"default": "ZERO_CONFIG",
|
|
2762
2730
|
"resolveInitializer": {
|
|
2763
2731
|
"module": "/src/configure/config-types"
|
|
2764
2732
|
},
|
|
2765
|
-
"fieldName": "
|
|
2733
|
+
"fieldName": "config"
|
|
2766
2734
|
},
|
|
2767
2735
|
{
|
|
2768
|
-
"name": "
|
|
2736
|
+
"name": "data",
|
|
2769
2737
|
"type": {
|
|
2770
|
-
"text": "
|
|
2738
|
+
"text": "GristData"
|
|
2771
2739
|
},
|
|
2772
|
-
"default": "
|
|
2740
|
+
"default": "ZERO_DATA",
|
|
2773
2741
|
"resolveInitializer": {
|
|
2774
2742
|
"module": "/src/configure/config-types"
|
|
2775
2743
|
},
|
|
2776
|
-
"fieldName": "
|
|
2777
|
-
},
|
|
2778
|
-
{
|
|
2779
|
-
"name": "rowIndex",
|
|
2780
|
-
"type": {
|
|
2781
|
-
"text": "number"
|
|
2782
|
-
},
|
|
2783
|
-
"default": "-1",
|
|
2784
|
-
"fieldName": "rowIndex"
|
|
2785
|
-
},
|
|
2786
|
-
{
|
|
2787
|
-
"name": "value",
|
|
2788
|
-
"type": {
|
|
2789
|
-
"text": "object | undefined"
|
|
2790
|
-
},
|
|
2791
|
-
"fieldName": "value"
|
|
2744
|
+
"fieldName": "data"
|
|
2792
2745
|
}
|
|
2793
2746
|
],
|
|
2794
2747
|
"superclass": {
|
|
2795
2748
|
"name": "LitElement",
|
|
2796
2749
|
"package": "lit"
|
|
2797
2750
|
},
|
|
2798
|
-
"tagName": "ox-
|
|
2751
|
+
"tagName": "ox-grid-footer",
|
|
2799
2752
|
"customElement": true
|
|
2800
2753
|
}
|
|
2801
2754
|
],
|
|
2802
2755
|
"exports": [
|
|
2756
|
+
{
|
|
2757
|
+
"kind": "js",
|
|
2758
|
+
"name": "DataGridFooter",
|
|
2759
|
+
"declaration": {
|
|
2760
|
+
"name": "DataGridFooter",
|
|
2761
|
+
"module": "src/data-grid/data-grid-footer.ts"
|
|
2762
|
+
}
|
|
2763
|
+
},
|
|
2803
2764
|
{
|
|
2804
2765
|
"kind": "custom-element-definition",
|
|
2805
|
-
"name": "ox-
|
|
2766
|
+
"name": "ox-grid-footer",
|
|
2806
2767
|
"declaration": {
|
|
2807
|
-
"name": "
|
|
2808
|
-
"module": "src/data-
|
|
2768
|
+
"name": "DataGridFooter",
|
|
2769
|
+
"module": "src/data-grid/data-grid-footer.ts"
|
|
2809
2770
|
}
|
|
2810
2771
|
}
|
|
2811
2772
|
]
|
|
2812
2773
|
},
|
|
2813
2774
|
{
|
|
2814
2775
|
"kind": "javascript-module",
|
|
2815
|
-
"path": "src/data-
|
|
2776
|
+
"path": "src/data-grid/data-grid-header.ts",
|
|
2816
2777
|
"declarations": [
|
|
2817
2778
|
{
|
|
2818
2779
|
"kind": "class",
|
|
2819
2780
|
"description": "",
|
|
2820
|
-
"name": "
|
|
2781
|
+
"name": "DataGridHeader",
|
|
2821
2782
|
"members": [
|
|
2822
2783
|
{
|
|
2823
2784
|
"kind": "field",
|
|
@@ -2830,109 +2791,141 @@
|
|
|
2830
2791
|
},
|
|
2831
2792
|
{
|
|
2832
2793
|
"kind": "field",
|
|
2833
|
-
"name": "
|
|
2794
|
+
"name": "columns",
|
|
2834
2795
|
"type": {
|
|
2835
|
-
"text": "
|
|
2796
|
+
"text": "ColumnConfig[]"
|
|
2836
2797
|
},
|
|
2837
|
-
"default": "
|
|
2838
|
-
"attribute": "
|
|
2798
|
+
"default": "ZERO_COLUMNS",
|
|
2799
|
+
"attribute": "columns"
|
|
2839
2800
|
},
|
|
2840
2801
|
{
|
|
2841
2802
|
"kind": "field",
|
|
2842
|
-
"name": "
|
|
2803
|
+
"name": "data",
|
|
2843
2804
|
"type": {
|
|
2844
|
-
"text": "
|
|
2805
|
+
"text": "GristData"
|
|
2845
2806
|
},
|
|
2846
|
-
"default": "
|
|
2847
|
-
"attribute": "
|
|
2807
|
+
"default": "ZERO_DATA",
|
|
2808
|
+
"attribute": "data"
|
|
2848
2809
|
},
|
|
2849
2810
|
{
|
|
2850
2811
|
"kind": "field",
|
|
2851
|
-
"name": "
|
|
2812
|
+
"name": "_sorters",
|
|
2852
2813
|
"type": {
|
|
2853
|
-
"text": "
|
|
2814
|
+
"text": "SortersConfig"
|
|
2854
2815
|
},
|
|
2855
2816
|
"privacy": "private",
|
|
2856
|
-
"default": "[]"
|
|
2857
|
-
"attribute": "_records"
|
|
2817
|
+
"default": "[]"
|
|
2858
2818
|
},
|
|
2859
2819
|
{
|
|
2860
2820
|
"kind": "field",
|
|
2861
|
-
"name": "
|
|
2821
|
+
"name": "_lastAccVal",
|
|
2862
2822
|
"type": {
|
|
2863
|
-
"text": "number"
|
|
2823
|
+
"text": "number | undefined"
|
|
2864
2824
|
},
|
|
2865
|
-
"privacy": "private"
|
|
2866
|
-
"default": "0"
|
|
2825
|
+
"privacy": "private"
|
|
2867
2826
|
},
|
|
2868
2827
|
{
|
|
2869
2828
|
"kind": "field",
|
|
2870
|
-
"name": "
|
|
2829
|
+
"name": "_throttledNotifier",
|
|
2871
2830
|
"type": {
|
|
2872
|
-
"text": "
|
|
2831
|
+
"text": "any | undefined"
|
|
2873
2832
|
},
|
|
2874
|
-
"privacy": "private"
|
|
2875
|
-
"default": "20"
|
|
2833
|
+
"privacy": "private"
|
|
2876
2834
|
},
|
|
2877
2835
|
{
|
|
2878
|
-
"kind": "
|
|
2879
|
-
"name": "
|
|
2880
|
-
"
|
|
2881
|
-
|
|
2882
|
-
|
|
2883
|
-
|
|
2884
|
-
|
|
2836
|
+
"kind": "method",
|
|
2837
|
+
"name": "_renderHeader",
|
|
2838
|
+
"parameters": [
|
|
2839
|
+
{
|
|
2840
|
+
"name": "column",
|
|
2841
|
+
"type": {
|
|
2842
|
+
"text": "ColumnConfig"
|
|
2843
|
+
}
|
|
2844
|
+
}
|
|
2845
|
+
]
|
|
2885
2846
|
},
|
|
2886
2847
|
{
|
|
2887
2848
|
"kind": "method",
|
|
2888
|
-
"name": "
|
|
2849
|
+
"name": "_renderSortHeader",
|
|
2889
2850
|
"parameters": [
|
|
2890
2851
|
{
|
|
2891
|
-
"name": "
|
|
2852
|
+
"name": "column",
|
|
2892
2853
|
"type": {
|
|
2893
|
-
"text": "
|
|
2854
|
+
"text": "ColumnConfig"
|
|
2894
2855
|
}
|
|
2895
|
-
}
|
|
2856
|
+
}
|
|
2857
|
+
]
|
|
2858
|
+
},
|
|
2859
|
+
{
|
|
2860
|
+
"kind": "method",
|
|
2861
|
+
"name": "_changeSort",
|
|
2862
|
+
"parameters": [
|
|
2896
2863
|
{
|
|
2897
|
-
"name": "
|
|
2864
|
+
"name": "column",
|
|
2865
|
+
"type": {
|
|
2866
|
+
"text": "ColumnConfig"
|
|
2867
|
+
}
|
|
2868
|
+
}
|
|
2869
|
+
]
|
|
2870
|
+
},
|
|
2871
|
+
{
|
|
2872
|
+
"kind": "method",
|
|
2873
|
+
"name": "_accumalate",
|
|
2874
|
+
"parameters": [
|
|
2875
|
+
{
|
|
2876
|
+
"name": "x",
|
|
2877
|
+
"type": {
|
|
2878
|
+
"text": "number"
|
|
2879
|
+
}
|
|
2880
|
+
}
|
|
2881
|
+
]
|
|
2882
|
+
},
|
|
2883
|
+
{
|
|
2884
|
+
"kind": "method",
|
|
2885
|
+
"name": "_notifyWidthChange",
|
|
2886
|
+
"parameters": [
|
|
2887
|
+
{
|
|
2888
|
+
"name": "idx",
|
|
2898
2889
|
"type": {
|
|
2899
2890
|
"text": "number"
|
|
2900
2891
|
}
|
|
2901
2892
|
},
|
|
2902
2893
|
{
|
|
2903
|
-
"name": "
|
|
2894
|
+
"name": "width",
|
|
2904
2895
|
"type": {
|
|
2905
|
-
"text": "
|
|
2896
|
+
"text": "number"
|
|
2906
2897
|
}
|
|
2907
2898
|
}
|
|
2908
2899
|
]
|
|
2909
2900
|
},
|
|
2910
2901
|
{
|
|
2911
2902
|
"kind": "method",
|
|
2912
|
-
"name": "
|
|
2903
|
+
"name": "_mousedown",
|
|
2913
2904
|
"parameters": [
|
|
2914
2905
|
{
|
|
2915
2906
|
"name": "e",
|
|
2916
2907
|
"type": {
|
|
2917
|
-
"text": "
|
|
2908
|
+
"text": "MouseEvent"
|
|
2909
|
+
}
|
|
2910
|
+
},
|
|
2911
|
+
{
|
|
2912
|
+
"name": "idx",
|
|
2913
|
+
"type": {
|
|
2914
|
+
"text": "number"
|
|
2918
2915
|
}
|
|
2919
2916
|
}
|
|
2920
2917
|
]
|
|
2921
|
-
},
|
|
2922
|
-
{
|
|
2923
|
-
"kind": "field",
|
|
2924
|
-
"name": "pullToRefreshTarget"
|
|
2925
2918
|
}
|
|
2926
2919
|
],
|
|
2927
2920
|
"events": [
|
|
2928
2921
|
{
|
|
2929
|
-
"name": "
|
|
2922
|
+
"name": "sorters-change",
|
|
2930
2923
|
"type": {
|
|
2931
2924
|
"text": "CustomEvent"
|
|
2932
2925
|
}
|
|
2933
2926
|
},
|
|
2934
2927
|
{
|
|
2935
|
-
"name": "
|
|
2928
|
+
"name": "column-width-change",
|
|
2936
2929
|
"type": {
|
|
2937
2930
|
"text": "CustomEvent"
|
|
2938
2931
|
}
|
|
@@ -2951,68 +2944,63 @@
|
|
|
2951
2944
|
"fieldName": "config"
|
|
2952
2945
|
},
|
|
2953
2946
|
{
|
|
2954
|
-
"name": "
|
|
2947
|
+
"name": "columns",
|
|
2955
2948
|
"type": {
|
|
2956
|
-
"text": "
|
|
2949
|
+
"text": "ColumnConfig[]"
|
|
2957
2950
|
},
|
|
2958
|
-
"default": "
|
|
2951
|
+
"default": "ZERO_COLUMNS",
|
|
2959
2952
|
"resolveInitializer": {
|
|
2960
2953
|
"module": "/src/configure/config-types"
|
|
2961
2954
|
},
|
|
2962
|
-
"fieldName": "
|
|
2955
|
+
"fieldName": "columns"
|
|
2963
2956
|
},
|
|
2964
2957
|
{
|
|
2965
|
-
"name": "
|
|
2958
|
+
"name": "data",
|
|
2966
2959
|
"type": {
|
|
2967
|
-
"text": "
|
|
2960
|
+
"text": "GristData"
|
|
2968
2961
|
},
|
|
2969
|
-
"default": "
|
|
2970
|
-
"
|
|
2971
|
-
|
|
2972
|
-
{
|
|
2973
|
-
"name": "_records",
|
|
2974
|
-
"type": {
|
|
2975
|
-
"text": "GristRecord[]"
|
|
2962
|
+
"default": "ZERO_DATA",
|
|
2963
|
+
"resolveInitializer": {
|
|
2964
|
+
"module": "/src/configure/config-types"
|
|
2976
2965
|
},
|
|
2977
|
-
"
|
|
2978
|
-
"fieldName": "_records"
|
|
2966
|
+
"fieldName": "data"
|
|
2979
2967
|
}
|
|
2980
2968
|
],
|
|
2981
2969
|
"superclass": {
|
|
2982
2970
|
"name": "LitElement",
|
|
2983
2971
|
"package": "lit"
|
|
2984
2972
|
},
|
|
2985
|
-
"tagName": "ox-
|
|
2973
|
+
"tagName": "ox-grid-header",
|
|
2986
2974
|
"customElement": true
|
|
2987
2975
|
}
|
|
2988
2976
|
],
|
|
2989
2977
|
"exports": [
|
|
2990
2978
|
{
|
|
2991
2979
|
"kind": "js",
|
|
2992
|
-
"name": "
|
|
2980
|
+
"name": "DataGridHeader",
|
|
2993
2981
|
"declaration": {
|
|
2994
|
-
"name": "
|
|
2995
|
-
"module": "src/data-
|
|
2982
|
+
"name": "DataGridHeader",
|
|
2983
|
+
"module": "src/data-grid/data-grid-header.ts"
|
|
2996
2984
|
}
|
|
2997
2985
|
},
|
|
2998
2986
|
{
|
|
2999
2987
|
"kind": "custom-element-definition",
|
|
3000
|
-
"name": "ox-
|
|
2988
|
+
"name": "ox-grid-header",
|
|
3001
2989
|
"declaration": {
|
|
3002
|
-
"name": "
|
|
3003
|
-
"module": "src/data-
|
|
2990
|
+
"name": "DataGridHeader",
|
|
2991
|
+
"module": "src/data-grid/data-grid-header.ts"
|
|
3004
2992
|
}
|
|
3005
2993
|
}
|
|
3006
2994
|
]
|
|
3007
2995
|
},
|
|
3008
2996
|
{
|
|
3009
2997
|
"kind": "javascript-module",
|
|
3010
|
-
"path": "src/data-
|
|
2998
|
+
"path": "src/data-grid/data-grid.ts",
|
|
3011
2999
|
"declarations": [
|
|
3012
3000
|
{
|
|
3013
3001
|
"kind": "class",
|
|
3014
|
-
"description": "",
|
|
3015
|
-
"name": "
|
|
3002
|
+
"description": "DataGrid",
|
|
3003
|
+
"name": "DataGrid",
|
|
3016
3004
|
"members": [
|
|
3017
3005
|
{
|
|
3018
3006
|
"kind": "field",
|
|
@@ -3034,69 +3022,101 @@
|
|
|
3034
3022
|
},
|
|
3035
3023
|
{
|
|
3036
3024
|
"kind": "field",
|
|
3037
|
-
"name": "
|
|
3025
|
+
"name": "focused",
|
|
3026
|
+
"type": {
|
|
3027
|
+
"text": "{ row: number; column: number } | undefined"
|
|
3028
|
+
},
|
|
3029
|
+
"attribute": "focused"
|
|
3030
|
+
},
|
|
3031
|
+
{
|
|
3032
|
+
"kind": "field",
|
|
3033
|
+
"name": "body",
|
|
3038
3034
|
"type": {
|
|
3039
|
-
"text": "
|
|
3040
|
-
}
|
|
3041
|
-
"default": "ZERO_RECORD",
|
|
3042
|
-
"attribute": "record"
|
|
3035
|
+
"text": "LitElement"
|
|
3036
|
+
}
|
|
3043
3037
|
},
|
|
3044
3038
|
{
|
|
3045
3039
|
"kind": "field",
|
|
3046
|
-
"name": "
|
|
3040
|
+
"name": "header",
|
|
3047
3041
|
"type": {
|
|
3048
|
-
"text": "
|
|
3049
|
-
}
|
|
3050
|
-
"default": "-1",
|
|
3051
|
-
"attribute": "rowIndex"
|
|
3042
|
+
"text": "DataGridHeader"
|
|
3043
|
+
}
|
|
3052
3044
|
},
|
|
3053
3045
|
{
|
|
3054
3046
|
"kind": "field",
|
|
3055
|
-
"name": "
|
|
3047
|
+
"name": "footer",
|
|
3056
3048
|
"type": {
|
|
3057
|
-
"text": "
|
|
3058
|
-
}
|
|
3059
|
-
"default": "false",
|
|
3060
|
-
"attribute": "selected-row"
|
|
3049
|
+
"text": "LitElement"
|
|
3050
|
+
}
|
|
3061
3051
|
},
|
|
3062
3052
|
{
|
|
3063
3053
|
"kind": "field",
|
|
3064
|
-
"name": "
|
|
3054
|
+
"name": "_widths",
|
|
3065
3055
|
"type": {
|
|
3066
|
-
"text": "
|
|
3056
|
+
"text": "string | undefined"
|
|
3067
3057
|
},
|
|
3068
3058
|
"privacy": "private"
|
|
3069
3059
|
},
|
|
3070
3060
|
{
|
|
3071
3061
|
"kind": "method",
|
|
3072
|
-
"name": "
|
|
3062
|
+
"name": "onWheelEvent",
|
|
3073
3063
|
"parameters": [
|
|
3074
3064
|
{
|
|
3075
3065
|
"name": "e",
|
|
3076
3066
|
"type": {
|
|
3077
|
-
"text": "
|
|
3067
|
+
"text": "WheelEvent"
|
|
3078
3068
|
}
|
|
3079
3069
|
}
|
|
3080
3070
|
]
|
|
3081
3071
|
},
|
|
3082
3072
|
{
|
|
3083
|
-
"kind": "
|
|
3084
|
-
"name": "
|
|
3073
|
+
"kind": "method",
|
|
3074
|
+
"name": "onRecordChanged",
|
|
3075
|
+
"parameters": [
|
|
3076
|
+
{
|
|
3077
|
+
"name": "recordData",
|
|
3078
|
+
"type": {
|
|
3079
|
+
"text": "GristRecord"
|
|
3080
|
+
}
|
|
3081
|
+
},
|
|
3082
|
+
{
|
|
3083
|
+
"name": "row",
|
|
3084
|
+
"type": {
|
|
3085
|
+
"text": "number"
|
|
3086
|
+
}
|
|
3087
|
+
},
|
|
3088
|
+
{
|
|
3089
|
+
"name": "column",
|
|
3090
|
+
"type": {
|
|
3091
|
+
"text": "ColumnConfig | null"
|
|
3092
|
+
}
|
|
3093
|
+
}
|
|
3094
|
+
]
|
|
3085
3095
|
},
|
|
3086
3096
|
{
|
|
3087
3097
|
"kind": "method",
|
|
3088
|
-
"name": "
|
|
3098
|
+
"name": "calculateWidths",
|
|
3099
|
+
"parameters": [
|
|
3100
|
+
{
|
|
3101
|
+
"name": "columns",
|
|
3102
|
+
"type": {
|
|
3103
|
+
"text": "ColumnConfig[]"
|
|
3104
|
+
}
|
|
3105
|
+
}
|
|
3106
|
+
]
|
|
3107
|
+
},
|
|
3108
|
+
{
|
|
3109
|
+
"kind": "method",
|
|
3110
|
+
"name": "focus"
|
|
3111
|
+
},
|
|
3112
|
+
{
|
|
3113
|
+
"kind": "field",
|
|
3114
|
+
"name": "pullToRefreshTarget"
|
|
3089
3115
|
}
|
|
3090
3116
|
],
|
|
3091
3117
|
"events": [
|
|
3092
3118
|
{
|
|
3093
|
-
"name": "
|
|
3094
|
-
"type": {
|
|
3095
|
-
"text": "CustomEvent"
|
|
3096
|
-
}
|
|
3097
|
-
},
|
|
3098
|
-
{
|
|
3099
|
-
"name": "record-reset",
|
|
3119
|
+
"name": "record-change",
|
|
3100
3120
|
"type": {
|
|
3101
3121
|
"text": "CustomEvent"
|
|
3102
3122
|
}
|
|
@@ -3126,56 +3146,36 @@
|
|
|
3126
3146
|
"fieldName": "data"
|
|
3127
3147
|
},
|
|
3128
3148
|
{
|
|
3129
|
-
"name": "
|
|
3130
|
-
"type": {
|
|
3131
|
-
"text": "GristRecord"
|
|
3132
|
-
},
|
|
3133
|
-
"default": "ZERO_RECORD",
|
|
3134
|
-
"resolveInitializer": {
|
|
3135
|
-
"module": "/src/configure/config-types"
|
|
3136
|
-
},
|
|
3137
|
-
"fieldName": "record"
|
|
3138
|
-
},
|
|
3139
|
-
{
|
|
3140
|
-
"name": "rowIndex",
|
|
3141
|
-
"type": {
|
|
3142
|
-
"text": "number"
|
|
3143
|
-
},
|
|
3144
|
-
"default": "-1",
|
|
3145
|
-
"fieldName": "rowIndex"
|
|
3146
|
-
},
|
|
3147
|
-
{
|
|
3148
|
-
"name": "selected-row",
|
|
3149
|
+
"name": "focused",
|
|
3149
3150
|
"type": {
|
|
3150
|
-
"text": "
|
|
3151
|
+
"text": "{ row: number; column: number } | undefined"
|
|
3151
3152
|
},
|
|
3152
|
-
"
|
|
3153
|
-
"fieldName": "selectedRow"
|
|
3153
|
+
"fieldName": "focused"
|
|
3154
3154
|
}
|
|
3155
3155
|
],
|
|
3156
3156
|
"superclass": {
|
|
3157
3157
|
"name": "LitElement",
|
|
3158
3158
|
"package": "lit"
|
|
3159
3159
|
},
|
|
3160
|
-
"tagName": "ox-
|
|
3160
|
+
"tagName": "ox-grid",
|
|
3161
3161
|
"customElement": true
|
|
3162
3162
|
}
|
|
3163
3163
|
],
|
|
3164
3164
|
"exports": [
|
|
3165
3165
|
{
|
|
3166
3166
|
"kind": "js",
|
|
3167
|
-
"name": "
|
|
3167
|
+
"name": "DataGrid",
|
|
3168
3168
|
"declaration": {
|
|
3169
|
-
"name": "
|
|
3170
|
-
"module": "src/data-
|
|
3169
|
+
"name": "DataGrid",
|
|
3170
|
+
"module": "src/data-grid/data-grid.ts"
|
|
3171
3171
|
}
|
|
3172
3172
|
},
|
|
3173
3173
|
{
|
|
3174
3174
|
"kind": "custom-element-definition",
|
|
3175
|
-
"name": "ox-
|
|
3175
|
+
"name": "ox-grid",
|
|
3176
3176
|
"declaration": {
|
|
3177
|
-
"name": "
|
|
3178
|
-
"module": "src/data-
|
|
3177
|
+
"name": "DataGrid",
|
|
3178
|
+
"module": "src/data-grid/data-grid.ts"
|
|
3179
3179
|
}
|
|
3180
3180
|
}
|
|
3181
3181
|
]
|
|
@@ -11318,136 +11318,131 @@
|
|
|
11318
11318
|
},
|
|
11319
11319
|
{
|
|
11320
11320
|
"kind": "javascript-module",
|
|
11321
|
-
"path": "src/data-
|
|
11321
|
+
"path": "src/data-card/event-handlers/data-card-click-handler.ts",
|
|
11322
11322
|
"declarations": [
|
|
11323
11323
|
{
|
|
11324
11324
|
"kind": "function",
|
|
11325
|
-
"name": "
|
|
11325
|
+
"name": "dataCardClickHandler",
|
|
11326
11326
|
"return": {
|
|
11327
11327
|
"type": {
|
|
11328
11328
|
"text": "void"
|
|
11329
11329
|
}
|
|
11330
11330
|
},
|
|
11331
11331
|
"parameters": [
|
|
11332
|
-
{
|
|
11333
|
-
"name": "this",
|
|
11334
|
-
"type": {
|
|
11335
|
-
"text": "DataGridBody"
|
|
11336
|
-
}
|
|
11337
|
-
},
|
|
11338
11332
|
{
|
|
11339
11333
|
"name": "e",
|
|
11340
11334
|
"type": {
|
|
11341
|
-
"text": "
|
|
11335
|
+
"text": "MouseEvent"
|
|
11342
11336
|
}
|
|
11343
11337
|
}
|
|
11344
|
-
]
|
|
11338
|
+
],
|
|
11339
|
+
"description": "ox-card 의 click handler\n\n- handler의 this 는 ox-card임."
|
|
11345
11340
|
}
|
|
11346
11341
|
],
|
|
11347
11342
|
"exports": [
|
|
11348
11343
|
{
|
|
11349
11344
|
"kind": "js",
|
|
11350
|
-
"name": "
|
|
11345
|
+
"name": "dataCardClickHandler",
|
|
11351
11346
|
"declaration": {
|
|
11352
|
-
"name": "
|
|
11353
|
-
"module": "src/data-
|
|
11347
|
+
"name": "dataCardClickHandler",
|
|
11348
|
+
"module": "src/data-card/event-handlers/data-card-click-handler.ts"
|
|
11354
11349
|
}
|
|
11355
11350
|
}
|
|
11356
11351
|
]
|
|
11357
11352
|
},
|
|
11358
11353
|
{
|
|
11359
11354
|
"kind": "javascript-module",
|
|
11360
|
-
"path": "src/data-
|
|
11355
|
+
"path": "src/data-card/event-handlers/data-card-dblclick-handler.ts",
|
|
11361
11356
|
"declarations": [
|
|
11362
11357
|
{
|
|
11363
11358
|
"kind": "function",
|
|
11364
|
-
"name": "
|
|
11359
|
+
"name": "dataCardDblclickHandler",
|
|
11365
11360
|
"return": {
|
|
11366
11361
|
"type": {
|
|
11367
|
-
"text": "
|
|
11362
|
+
"text": "void"
|
|
11368
11363
|
}
|
|
11369
11364
|
},
|
|
11370
11365
|
"parameters": [
|
|
11371
|
-
{
|
|
11372
|
-
"name": "this",
|
|
11373
|
-
"type": {
|
|
11374
|
-
"text": "DataGridBody"
|
|
11375
|
-
}
|
|
11376
|
-
},
|
|
11377
11366
|
{
|
|
11378
11367
|
"name": "e",
|
|
11379
11368
|
"type": {
|
|
11380
|
-
"text": "
|
|
11369
|
+
"text": "MouseEvent"
|
|
11381
11370
|
}
|
|
11382
11371
|
}
|
|
11383
11372
|
],
|
|
11384
|
-
"description": "ox-
|
|
11373
|
+
"description": "ox-card 의 dblclick handler\n\n- handler의 this 는 ox-card임."
|
|
11385
11374
|
}
|
|
11386
11375
|
],
|
|
11387
11376
|
"exports": [
|
|
11388
11377
|
{
|
|
11389
11378
|
"kind": "js",
|
|
11390
|
-
"name": "
|
|
11379
|
+
"name": "dataCardDblclickHandler",
|
|
11391
11380
|
"declaration": {
|
|
11392
|
-
"name": "
|
|
11393
|
-
"module": "src/data-
|
|
11381
|
+
"name": "dataCardDblclickHandler",
|
|
11382
|
+
"module": "src/data-card/event-handlers/data-card-dblclick-handler.ts"
|
|
11394
11383
|
}
|
|
11395
11384
|
}
|
|
11396
11385
|
]
|
|
11397
11386
|
},
|
|
11398
11387
|
{
|
|
11399
11388
|
"kind": "javascript-module",
|
|
11400
|
-
"path": "src/data-
|
|
11389
|
+
"path": "src/data-card/event-handlers/record-card-click-handler.ts",
|
|
11401
11390
|
"declarations": [
|
|
11402
11391
|
{
|
|
11403
11392
|
"kind": "function",
|
|
11404
|
-
"name": "
|
|
11393
|
+
"name": "recordCardClickHandler",
|
|
11405
11394
|
"return": {
|
|
11406
11395
|
"type": {
|
|
11407
|
-
"text": "
|
|
11396
|
+
"text": "void"
|
|
11408
11397
|
}
|
|
11409
11398
|
},
|
|
11410
11399
|
"parameters": [
|
|
11411
11400
|
{
|
|
11412
11401
|
"name": "this",
|
|
11413
11402
|
"type": {
|
|
11414
|
-
"text": "
|
|
11403
|
+
"text": "RecordCard"
|
|
11415
11404
|
}
|
|
11416
11405
|
},
|
|
11417
11406
|
{
|
|
11418
11407
|
"name": "e",
|
|
11419
11408
|
"type": {
|
|
11420
|
-
"text": "
|
|
11409
|
+
"text": "MouseEvent"
|
|
11421
11410
|
}
|
|
11422
11411
|
}
|
|
11423
11412
|
],
|
|
11424
|
-
"description": "ox-
|
|
11413
|
+
"description": "ox-record-card 의 click handler\n\n- handler의 this 는 ox-record-card임."
|
|
11425
11414
|
}
|
|
11426
11415
|
],
|
|
11427
11416
|
"exports": [
|
|
11428
11417
|
{
|
|
11429
11418
|
"kind": "js",
|
|
11430
|
-
"name": "
|
|
11419
|
+
"name": "recordCardClickHandler",
|
|
11431
11420
|
"declaration": {
|
|
11432
|
-
"name": "
|
|
11433
|
-
"module": "src/data-
|
|
11421
|
+
"name": "recordCardClickHandler",
|
|
11422
|
+
"module": "src/data-card/event-handlers/record-card-click-handler.ts"
|
|
11434
11423
|
}
|
|
11435
11424
|
}
|
|
11436
11425
|
]
|
|
11437
11426
|
},
|
|
11438
11427
|
{
|
|
11439
11428
|
"kind": "javascript-module",
|
|
11440
|
-
"path": "src/data-card/event-handlers/
|
|
11429
|
+
"path": "src/data-card/event-handlers/record-card-dblclick-handler.ts",
|
|
11441
11430
|
"declarations": [
|
|
11442
11431
|
{
|
|
11443
11432
|
"kind": "function",
|
|
11444
|
-
"name": "
|
|
11433
|
+
"name": "recordCardDblClickHandler",
|
|
11445
11434
|
"return": {
|
|
11446
11435
|
"type": {
|
|
11447
11436
|
"text": "void"
|
|
11448
11437
|
}
|
|
11449
11438
|
},
|
|
11450
11439
|
"parameters": [
|
|
11440
|
+
{
|
|
11441
|
+
"name": "this",
|
|
11442
|
+
"type": {
|
|
11443
|
+
"text": "RecordCard"
|
|
11444
|
+
}
|
|
11445
|
+
},
|
|
11451
11446
|
{
|
|
11452
11447
|
"name": "e",
|
|
11453
11448
|
"type": {
|
|
@@ -11455,130 +11450,135 @@
|
|
|
11455
11450
|
}
|
|
11456
11451
|
}
|
|
11457
11452
|
],
|
|
11458
|
-
"description": "ox-card 의
|
|
11453
|
+
"description": "ox-record-card 의 dblclick handler\n\n- handler의 this 는 ox-record-card임."
|
|
11459
11454
|
}
|
|
11460
11455
|
],
|
|
11461
11456
|
"exports": [
|
|
11462
11457
|
{
|
|
11463
11458
|
"kind": "js",
|
|
11464
|
-
"name": "
|
|
11459
|
+
"name": "recordCardDblClickHandler",
|
|
11465
11460
|
"declaration": {
|
|
11466
|
-
"name": "
|
|
11467
|
-
"module": "src/data-card/event-handlers/
|
|
11461
|
+
"name": "recordCardDblClickHandler",
|
|
11462
|
+
"module": "src/data-card/event-handlers/record-card-dblclick-handler.ts"
|
|
11468
11463
|
}
|
|
11469
11464
|
}
|
|
11470
11465
|
]
|
|
11471
11466
|
},
|
|
11472
11467
|
{
|
|
11473
11468
|
"kind": "javascript-module",
|
|
11474
|
-
"path": "src/data-
|
|
11469
|
+
"path": "src/data-grid/event-handlers/data-grid-body-click-handler.ts",
|
|
11475
11470
|
"declarations": [
|
|
11476
11471
|
{
|
|
11477
11472
|
"kind": "function",
|
|
11478
|
-
"name": "
|
|
11473
|
+
"name": "dataGridBodyClickHandler",
|
|
11479
11474
|
"return": {
|
|
11480
11475
|
"type": {
|
|
11481
11476
|
"text": "void"
|
|
11482
11477
|
}
|
|
11483
11478
|
},
|
|
11484
11479
|
"parameters": [
|
|
11480
|
+
{
|
|
11481
|
+
"name": "this",
|
|
11482
|
+
"type": {
|
|
11483
|
+
"text": "DataGridBody"
|
|
11484
|
+
}
|
|
11485
|
+
},
|
|
11485
11486
|
{
|
|
11486
11487
|
"name": "e",
|
|
11487
11488
|
"type": {
|
|
11488
|
-
"text": "
|
|
11489
|
+
"text": "Event"
|
|
11489
11490
|
}
|
|
11490
11491
|
}
|
|
11491
|
-
]
|
|
11492
|
-
"description": "ox-card 의 dblclick handler\n\n- handler의 this 는 ox-card임."
|
|
11492
|
+
]
|
|
11493
11493
|
}
|
|
11494
11494
|
],
|
|
11495
11495
|
"exports": [
|
|
11496
11496
|
{
|
|
11497
11497
|
"kind": "js",
|
|
11498
|
-
"name": "
|
|
11498
|
+
"name": "dataGridBodyClickHandler",
|
|
11499
11499
|
"declaration": {
|
|
11500
|
-
"name": "
|
|
11501
|
-
"module": "src/data-
|
|
11500
|
+
"name": "dataGridBodyClickHandler",
|
|
11501
|
+
"module": "src/data-grid/event-handlers/data-grid-body-click-handler.ts"
|
|
11502
11502
|
}
|
|
11503
11503
|
}
|
|
11504
11504
|
]
|
|
11505
11505
|
},
|
|
11506
11506
|
{
|
|
11507
11507
|
"kind": "javascript-module",
|
|
11508
|
-
"path": "src/data-
|
|
11508
|
+
"path": "src/data-grid/event-handlers/data-grid-body-dblclick-handler.ts",
|
|
11509
11509
|
"declarations": [
|
|
11510
11510
|
{
|
|
11511
11511
|
"kind": "function",
|
|
11512
|
-
"name": "
|
|
11512
|
+
"name": "dataGridBodyDblclickHandler",
|
|
11513
11513
|
"return": {
|
|
11514
11514
|
"type": {
|
|
11515
|
-
"text": "void"
|
|
11515
|
+
"text": "Promise<void>"
|
|
11516
11516
|
}
|
|
11517
11517
|
},
|
|
11518
11518
|
"parameters": [
|
|
11519
11519
|
{
|
|
11520
11520
|
"name": "this",
|
|
11521
11521
|
"type": {
|
|
11522
|
-
"text": "
|
|
11522
|
+
"text": "DataGridBody"
|
|
11523
11523
|
}
|
|
11524
11524
|
},
|
|
11525
11525
|
{
|
|
11526
11526
|
"name": "e",
|
|
11527
11527
|
"type": {
|
|
11528
|
-
"text": "
|
|
11528
|
+
"text": "Event"
|
|
11529
11529
|
}
|
|
11530
11530
|
}
|
|
11531
11531
|
],
|
|
11532
|
-
"description": "ox-
|
|
11532
|
+
"description": "ox-grid-body 의 dblclick handler\n\n- handler의 this 는 ox-grid-body임."
|
|
11533
11533
|
}
|
|
11534
11534
|
],
|
|
11535
11535
|
"exports": [
|
|
11536
11536
|
{
|
|
11537
11537
|
"kind": "js",
|
|
11538
|
-
"name": "
|
|
11538
|
+
"name": "dataGridBodyDblclickHandler",
|
|
11539
11539
|
"declaration": {
|
|
11540
|
-
"name": "
|
|
11541
|
-
"module": "src/data-
|
|
11540
|
+
"name": "dataGridBodyDblclickHandler",
|
|
11541
|
+
"module": "src/data-grid/event-handlers/data-grid-body-dblclick-handler.ts"
|
|
11542
11542
|
}
|
|
11543
11543
|
}
|
|
11544
11544
|
]
|
|
11545
11545
|
},
|
|
11546
11546
|
{
|
|
11547
11547
|
"kind": "javascript-module",
|
|
11548
|
-
"path": "src/data-
|
|
11548
|
+
"path": "src/data-grid/event-handlers/data-grid-body-keydown-handler.ts",
|
|
11549
11549
|
"declarations": [
|
|
11550
11550
|
{
|
|
11551
11551
|
"kind": "function",
|
|
11552
|
-
"name": "
|
|
11552
|
+
"name": "dataGridBodyKeydownHandler",
|
|
11553
11553
|
"return": {
|
|
11554
11554
|
"type": {
|
|
11555
|
-
"text": "void"
|
|
11555
|
+
"text": "Promise<void>"
|
|
11556
11556
|
}
|
|
11557
11557
|
},
|
|
11558
11558
|
"parameters": [
|
|
11559
11559
|
{
|
|
11560
11560
|
"name": "this",
|
|
11561
11561
|
"type": {
|
|
11562
|
-
"text": "
|
|
11562
|
+
"text": "DataGridBody"
|
|
11563
11563
|
}
|
|
11564
11564
|
},
|
|
11565
11565
|
{
|
|
11566
11566
|
"name": "e",
|
|
11567
11567
|
"type": {
|
|
11568
|
-
"text": "
|
|
11568
|
+
"text": "KeyboardEvent"
|
|
11569
11569
|
}
|
|
11570
11570
|
}
|
|
11571
11571
|
],
|
|
11572
|
-
"description": "ox-
|
|
11572
|
+
"description": "ox-grid-body 의 keydown handler\n\n- handler의 this 는 ox-grid-body임."
|
|
11573
11573
|
}
|
|
11574
11574
|
],
|
|
11575
11575
|
"exports": [
|
|
11576
11576
|
{
|
|
11577
11577
|
"kind": "js",
|
|
11578
|
-
"name": "
|
|
11578
|
+
"name": "dataGridBodyKeydownHandler",
|
|
11579
11579
|
"declaration": {
|
|
11580
|
-
"name": "
|
|
11581
|
-
"module": "src/data-
|
|
11580
|
+
"name": "dataGridBodyKeydownHandler",
|
|
11581
|
+
"module": "src/data-grid/event-handlers/data-grid-body-keydown-handler.ts"
|
|
11582
11582
|
}
|
|
11583
11583
|
}
|
|
11584
11584
|
]
|