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