@mindfusion/dataviews 2.2.0 → 2.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +11 -11
- package/dataviews.d.mts +2899 -0
- package/dataviews.d.ts +117 -129
- package/dist/cjs/dataviews.js +1 -1
- package/dist/esm/dataviews.js +1 -1
- package/dist/esm/dataviews.mjs +1 -0
- package/dist/umd/dataviews.js +1 -1
- package/package.json +19 -7
package/dataviews.d.ts
CHANGED
|
@@ -7,12 +7,12 @@ declare module "DataViews/jsdv/src/DataType" {
|
|
|
7
7
|
* @namespace MindFusion.DataViews
|
|
8
8
|
*/
|
|
9
9
|
/**
|
|
10
|
-
* Copyright (c) 2022, MindFusion LLC - Bulgaria.
|
|
10
|
+
* Copyright (c) 2022-2025, MindFusion LLC - Bulgaria.
|
|
11
11
|
*
|
|
12
12
|
* This source code is provided to you as part of the MindFusion software components
|
|
13
13
|
* package you have purchased. You may use the source code to trace and/or fix
|
|
14
14
|
* problems or customize the library as needed for your application. To get permission
|
|
15
|
-
* to use the source code in any other way, please contact us at support@mindfusion.
|
|
15
|
+
* to use the source code in any other way, please contact us at support@mindfusion.dev.
|
|
16
16
|
*/
|
|
17
17
|
/**
|
|
18
18
|
* @class A base class for data types.
|
|
@@ -348,12 +348,12 @@ declare module "DataViews/jsdv/src/Command" {
|
|
|
348
348
|
* @namespace MindFusion.DataViews
|
|
349
349
|
*/
|
|
350
350
|
/**
|
|
351
|
-
* Copyright (c) 2022, MindFusion LLC - Bulgaria.
|
|
351
|
+
* Copyright (c) 2022-2025, MindFusion LLC - Bulgaria.
|
|
352
352
|
*
|
|
353
353
|
* This source code is provided to you as part of the MindFusion software components
|
|
354
354
|
* package you have purchased. You may use the source code to trace and/or fix
|
|
355
355
|
* problems or customize the library as needed for your application. To get permission
|
|
356
|
-
* to use the source code in any other way, please contact us at support@mindfusion.
|
|
356
|
+
* to use the source code in any other way, please contact us at support@mindfusion.dev.
|
|
357
357
|
*/
|
|
358
358
|
/**
|
|
359
359
|
* @class A base class for grid row commands.
|
|
@@ -769,12 +769,12 @@ declare module "DataViews/jsdv/src/DomRenderer" {
|
|
|
769
769
|
* @namespace MindFusion.DataViews
|
|
770
770
|
*/
|
|
771
771
|
/**
|
|
772
|
-
* Copyright (c) 2022, MindFusion LLC - Bulgaria.
|
|
772
|
+
* Copyright (c) 2022-2025, MindFusion LLC - Bulgaria.
|
|
773
773
|
*
|
|
774
774
|
* This source code is provided to you as part of the MindFusion software components
|
|
775
775
|
* package you have purchased. You may use the source code to trace and/or fix
|
|
776
776
|
* problems or customize the library as needed for your application. To get permission
|
|
777
|
-
* to use the source code in any other way, please contact us at support@mindfusion.
|
|
777
|
+
* to use the source code in any other way, please contact us at support@mindfusion.dev.
|
|
778
778
|
*/
|
|
779
779
|
/**
|
|
780
780
|
* @class A base class for grid renderers.
|
|
@@ -849,22 +849,9 @@ declare module "DataViews/jsdv/src/UIControl" {
|
|
|
849
849
|
export class UIControl extends Control {
|
|
850
850
|
static get tm(): number[];
|
|
851
851
|
static get ns(): string;
|
|
852
|
-
|
|
853
|
-
* Initializes a new instance of the UIControl class.
|
|
854
|
-
* @constructor
|
|
855
|
-
* @param {HTMLElement} [element] The control's associated Dom element.
|
|
856
|
-
* @param {String} [tagName] The tag name of the element.
|
|
857
|
-
* @param {Type} [componentType] The type of the component.
|
|
858
|
-
*/
|
|
859
|
-
constructor(element?: HTMLElement, tagName?: string, componentType?: any);
|
|
860
|
-
_messenger: {
|
|
861
|
-
message(control: any): void;
|
|
862
|
-
setKey(value: any): void;
|
|
863
|
-
};
|
|
864
|
-
get targetElement(): Element;
|
|
865
|
-
setLicenseKey(value: any): void;
|
|
852
|
+
static get pk(): string;
|
|
866
853
|
}
|
|
867
|
-
import { Control } from "@mindfusion/common";
|
|
854
|
+
import { UIControl as Control } from "@mindfusion/common";
|
|
868
855
|
}
|
|
869
856
|
declare module "DataViews/jsdv/src/ProxyModel" {
|
|
870
857
|
export default ProxyModel;
|
|
@@ -957,12 +944,12 @@ declare module "DataViews/jsdv/src/Selection" {
|
|
|
957
944
|
* @namespace MindFusion.DataViews
|
|
958
945
|
*/
|
|
959
946
|
/**
|
|
960
|
-
* Copyright (c) 2022, MindFusion LLC - Bulgaria.
|
|
947
|
+
* Copyright (c) 2022-2025, MindFusion LLC - Bulgaria.
|
|
961
948
|
*
|
|
962
949
|
* This source code is provided to you as part of the MindFusion software components
|
|
963
950
|
* package you have purchased. You may use the source code to trace and/or fix
|
|
964
951
|
* problems or customize the library as needed for your application. To get permission
|
|
965
|
-
* to use the source code in any other way, please contact us at support@mindfusion.
|
|
952
|
+
* to use the source code in any other way, please contact us at support@mindfusion.dev.
|
|
966
953
|
*/
|
|
967
954
|
/**
|
|
968
955
|
* @class Represents a selection in a grid control.
|
|
@@ -999,12 +986,12 @@ declare module "DataViews/jsdv/src/GridModel" {
|
|
|
999
986
|
* @namespace MindFusion.DataViews
|
|
1000
987
|
*/
|
|
1001
988
|
/**
|
|
1002
|
-
* Copyright (c) 2022, MindFusion LLC - Bulgaria.
|
|
989
|
+
* Copyright (c) 2022-2025, MindFusion LLC - Bulgaria.
|
|
1003
990
|
*
|
|
1004
991
|
* This source code is provided to you as part of the MindFusion software components
|
|
1005
992
|
* package you have purchased. You may use the source code to trace and/or fix
|
|
1006
993
|
* problems or customize the library as needed for your application. To get permission
|
|
1007
|
-
* to use the source code in any other way, please contact us at support@mindfusion.
|
|
994
|
+
* to use the source code in any other way, please contact us at support@mindfusion.dev.
|
|
1008
995
|
*/
|
|
1009
996
|
/**
|
|
1010
997
|
* @class The interface for grid models.
|
|
@@ -1115,12 +1102,12 @@ declare module "DataViews/jsdv/src/GridCell" {
|
|
|
1115
1102
|
* @namespace MindFusion.DataViews
|
|
1116
1103
|
*/
|
|
1117
1104
|
/**
|
|
1118
|
-
* Copyright (c) 2022, MindFusion LLC - Bulgaria.
|
|
1105
|
+
* Copyright (c) 2022-2025, MindFusion LLC - Bulgaria.
|
|
1119
1106
|
*
|
|
1120
1107
|
* This source code is provided to you as part of the MindFusion software components
|
|
1121
1108
|
* package you have purchased. You may use the source code to trace and/or fix
|
|
1122
1109
|
* problems or customize the library as needed for your application. To get permission
|
|
1123
|
-
* to use the source code in any other way, please contact us at support@mindfusion.
|
|
1110
|
+
* to use the source code in any other way, please contact us at support@mindfusion.dev.
|
|
1124
1111
|
*/
|
|
1125
1112
|
/**
|
|
1126
1113
|
* @class Represents a data cell in a grid control.
|
|
@@ -1204,28 +1191,28 @@ declare module "DataViews/jsdv/src/Grid" {
|
|
|
1204
1191
|
_tableShouldFocus: boolean;
|
|
1205
1192
|
selection: Selection;
|
|
1206
1193
|
queuedEvents: any[];
|
|
1207
|
-
_rowLoading: EventDispatcher
|
|
1208
|
-
_rowRendered: EventDispatcher
|
|
1209
|
-
_rowCreating: EventDispatcher
|
|
1210
|
-
_rowCreated: EventDispatcher
|
|
1211
|
-
_rowDeleting: EventDispatcher
|
|
1212
|
-
_rowDeleted: EventDispatcher
|
|
1213
|
-
_rowUpdating: EventDispatcher
|
|
1214
|
-
_rowUpdated: EventDispatcher
|
|
1215
|
-
_rowSelecting: EventDispatcher
|
|
1216
|
-
_rowSelected: EventDispatcher
|
|
1217
|
-
_cellSelecting: EventDispatcher
|
|
1218
|
-
_cellSelected: EventDispatcher
|
|
1219
|
-
_cellFocusing: EventDispatcher
|
|
1220
|
-
_cellFocused: EventDispatcher
|
|
1221
|
-
_customDrawCell: EventDispatcher
|
|
1222
|
-
_customDrawHeader: EventDispatcher
|
|
1223
|
-
_rowCommand: EventDispatcher
|
|
1224
|
-
_resolveCellDataType: EventDispatcher
|
|
1225
|
-
_resolveCellMetaData: EventDispatcher
|
|
1226
|
-
_getCellValue: EventDispatcher
|
|
1227
|
-
_formatCellValue: EventDispatcher
|
|
1228
|
-
_objectButtonClick: EventDispatcher
|
|
1194
|
+
_rowLoading: EventDispatcher;
|
|
1195
|
+
_rowRendered: EventDispatcher;
|
|
1196
|
+
_rowCreating: EventDispatcher;
|
|
1197
|
+
_rowCreated: EventDispatcher;
|
|
1198
|
+
_rowDeleting: EventDispatcher;
|
|
1199
|
+
_rowDeleted: EventDispatcher;
|
|
1200
|
+
_rowUpdating: EventDispatcher;
|
|
1201
|
+
_rowUpdated: EventDispatcher;
|
|
1202
|
+
_rowSelecting: EventDispatcher;
|
|
1203
|
+
_rowSelected: EventDispatcher;
|
|
1204
|
+
_cellSelecting: EventDispatcher;
|
|
1205
|
+
_cellSelected: EventDispatcher;
|
|
1206
|
+
_cellFocusing: EventDispatcher;
|
|
1207
|
+
_cellFocused: EventDispatcher;
|
|
1208
|
+
_customDrawCell: EventDispatcher;
|
|
1209
|
+
_customDrawHeader: EventDispatcher;
|
|
1210
|
+
_rowCommand: EventDispatcher;
|
|
1211
|
+
_resolveCellDataType: EventDispatcher;
|
|
1212
|
+
_resolveCellMetaData: EventDispatcher;
|
|
1213
|
+
_getCellValue: EventDispatcher;
|
|
1214
|
+
_formatCellValue: EventDispatcher;
|
|
1215
|
+
_objectButtonClick: EventDispatcher;
|
|
1229
1216
|
_scrollHandler: (e: any) => boolean;
|
|
1230
1217
|
mouseWheelHandler: (e: any) => void;
|
|
1231
1218
|
get wrapper(): Element;
|
|
@@ -1256,6 +1243,7 @@ declare module "DataViews/jsdv/src/Grid" {
|
|
|
1256
1243
|
*/
|
|
1257
1244
|
private get visibleCells();
|
|
1258
1245
|
scroll: Element;
|
|
1246
|
+
columnWidthsInterval: number;
|
|
1259
1247
|
resizeHandler: (e: any) => void;
|
|
1260
1248
|
/**
|
|
1261
1249
|
* Called before the grid contents are rendered by the current renderer.
|
|
@@ -1641,7 +1629,7 @@ declare module "DataViews/jsdv/src/Grid" {
|
|
|
1641
1629
|
* @property {Grid} sender
|
|
1642
1630
|
* @property {RowModifyingEventArgs} args
|
|
1643
1631
|
*/
|
|
1644
|
-
get rowLoading(): EventDispatcher
|
|
1632
|
+
get rowLoading(): EventDispatcher;
|
|
1645
1633
|
/**
|
|
1646
1634
|
* Raised when a row is rendered.
|
|
1647
1635
|
* @event rowRendered
|
|
@@ -1649,7 +1637,7 @@ declare module "DataViews/jsdv/src/Grid" {
|
|
|
1649
1637
|
* @property {Grid} sender
|
|
1650
1638
|
* @property {RowModifiedEventArgs} args
|
|
1651
1639
|
*/
|
|
1652
|
-
get rowRendered(): EventDispatcher
|
|
1640
|
+
get rowRendered(): EventDispatcher;
|
|
1653
1641
|
/**
|
|
1654
1642
|
* Raised before a row is selected.
|
|
1655
1643
|
* @event rowSelecting
|
|
@@ -1657,7 +1645,7 @@ declare module "DataViews/jsdv/src/Grid" {
|
|
|
1657
1645
|
* @property {Grid} sender
|
|
1658
1646
|
* @property {RowModifyingEventArgs} args
|
|
1659
1647
|
*/
|
|
1660
|
-
get rowSelecting(): EventDispatcher
|
|
1648
|
+
get rowSelecting(): EventDispatcher;
|
|
1661
1649
|
/**
|
|
1662
1650
|
* Raised when a row is selected.
|
|
1663
1651
|
* @event rowSelected
|
|
@@ -1665,7 +1653,7 @@ declare module "DataViews/jsdv/src/Grid" {
|
|
|
1665
1653
|
* @property {Grid} sender
|
|
1666
1654
|
* @property {RowModifiedEventArgs} args
|
|
1667
1655
|
*/
|
|
1668
|
-
get rowSelected(): EventDispatcher
|
|
1656
|
+
get rowSelected(): EventDispatcher;
|
|
1669
1657
|
/**
|
|
1670
1658
|
* Raised before a new row is created.
|
|
1671
1659
|
* @event rowCreating
|
|
@@ -1673,7 +1661,7 @@ declare module "DataViews/jsdv/src/Grid" {
|
|
|
1673
1661
|
* @property {Grid} sender
|
|
1674
1662
|
* @property {RowModifyingEventArgs} args
|
|
1675
1663
|
*/
|
|
1676
|
-
get rowCreating(): EventDispatcher
|
|
1664
|
+
get rowCreating(): EventDispatcher;
|
|
1677
1665
|
/**
|
|
1678
1666
|
* Raised when a new row is created.
|
|
1679
1667
|
* @event rowCreated
|
|
@@ -1681,7 +1669,7 @@ declare module "DataViews/jsdv/src/Grid" {
|
|
|
1681
1669
|
* @property {Grid} sender
|
|
1682
1670
|
* @property {RowModifiedEventArgs} args
|
|
1683
1671
|
*/
|
|
1684
|
-
get rowCreated(): EventDispatcher
|
|
1672
|
+
get rowCreated(): EventDispatcher;
|
|
1685
1673
|
/**
|
|
1686
1674
|
* Raised before a row is deleted.
|
|
1687
1675
|
* @event rowDeleting
|
|
@@ -1689,7 +1677,7 @@ declare module "DataViews/jsdv/src/Grid" {
|
|
|
1689
1677
|
* @property {Grid} sender
|
|
1690
1678
|
* @property {RowModifyingEventArgs} args
|
|
1691
1679
|
*/
|
|
1692
|
-
get rowDeleting(): EventDispatcher
|
|
1680
|
+
get rowDeleting(): EventDispatcher;
|
|
1693
1681
|
/**
|
|
1694
1682
|
* Raised when a row is deleted.
|
|
1695
1683
|
* @event rowDeleted
|
|
@@ -1697,7 +1685,7 @@ declare module "DataViews/jsdv/src/Grid" {
|
|
|
1697
1685
|
* @property {Grid} sender
|
|
1698
1686
|
* @property {RowModifiedEventArgs} args
|
|
1699
1687
|
*/
|
|
1700
|
-
get rowDeleted(): EventDispatcher
|
|
1688
|
+
get rowDeleted(): EventDispatcher;
|
|
1701
1689
|
/**
|
|
1702
1690
|
* Raised before a row is updated.
|
|
1703
1691
|
* @event rowUpdating
|
|
@@ -1705,7 +1693,7 @@ declare module "DataViews/jsdv/src/Grid" {
|
|
|
1705
1693
|
* @property {Grid} sender
|
|
1706
1694
|
* @property {RowModifyingEventArgs} args
|
|
1707
1695
|
*/
|
|
1708
|
-
get rowUpdating(): EventDispatcher
|
|
1696
|
+
get rowUpdating(): EventDispatcher;
|
|
1709
1697
|
/**
|
|
1710
1698
|
* Raised when a row is updated.
|
|
1711
1699
|
* @event rowUpdated
|
|
@@ -1713,7 +1701,7 @@ declare module "DataViews/jsdv/src/Grid" {
|
|
|
1713
1701
|
* @property {Grid} sender
|
|
1714
1702
|
* @property {RowModifiedEventArgs} args
|
|
1715
1703
|
*/
|
|
1716
|
-
get rowUpdated(): EventDispatcher
|
|
1704
|
+
get rowUpdated(): EventDispatcher;
|
|
1717
1705
|
/**
|
|
1718
1706
|
* Raised before a cell is selected.
|
|
1719
1707
|
* @event cellSelecting
|
|
@@ -1721,7 +1709,7 @@ declare module "DataViews/jsdv/src/Grid" {
|
|
|
1721
1709
|
* @property {Grid} sender
|
|
1722
1710
|
* @property {CellEventArgs} args
|
|
1723
1711
|
*/
|
|
1724
|
-
get cellSelecting(): EventDispatcher
|
|
1712
|
+
get cellSelecting(): EventDispatcher;
|
|
1725
1713
|
/**
|
|
1726
1714
|
* Raises the onCellSelecting event.
|
|
1727
1715
|
* @private
|
|
@@ -1734,7 +1722,7 @@ declare module "DataViews/jsdv/src/Grid" {
|
|
|
1734
1722
|
* @property {Grid} sender
|
|
1735
1723
|
* @property {CellEventArgs} args
|
|
1736
1724
|
*/
|
|
1737
|
-
get cellSelected(): EventDispatcher
|
|
1725
|
+
get cellSelected(): EventDispatcher;
|
|
1738
1726
|
/**
|
|
1739
1727
|
* Raises the cellSelected event.
|
|
1740
1728
|
* @private
|
|
@@ -1747,7 +1735,7 @@ declare module "DataViews/jsdv/src/Grid" {
|
|
|
1747
1735
|
* @property {Grid} sender
|
|
1748
1736
|
* @property {CellEventArgs} args
|
|
1749
1737
|
*/
|
|
1750
|
-
get cellFocusing(): EventDispatcher
|
|
1738
|
+
get cellFocusing(): EventDispatcher;
|
|
1751
1739
|
/**
|
|
1752
1740
|
* Raises the cellFocusing event.
|
|
1753
1741
|
* @private
|
|
@@ -1760,7 +1748,7 @@ declare module "DataViews/jsdv/src/Grid" {
|
|
|
1760
1748
|
* @property {Grid} sender
|
|
1761
1749
|
* @property {CellEventArgs} args
|
|
1762
1750
|
*/
|
|
1763
|
-
get cellFocused(): EventDispatcher
|
|
1751
|
+
get cellFocused(): EventDispatcher;
|
|
1764
1752
|
/**
|
|
1765
1753
|
* Raises the cellFocused event.
|
|
1766
1754
|
* @private
|
|
@@ -1778,7 +1766,7 @@ declare module "DataViews/jsdv/src/Grid" {
|
|
|
1778
1766
|
* @property {Grid} sender
|
|
1779
1767
|
* @property {CellCustomDrawEventArgs} args
|
|
1780
1768
|
*/
|
|
1781
|
-
get customDrawCell(): EventDispatcher
|
|
1769
|
+
get customDrawCell(): EventDispatcher;
|
|
1782
1770
|
/**
|
|
1783
1771
|
* Raises the customDrawHeader event.
|
|
1784
1772
|
* @private
|
|
@@ -1791,7 +1779,7 @@ declare module "DataViews/jsdv/src/Grid" {
|
|
|
1791
1779
|
* @property {Grid} sender
|
|
1792
1780
|
* @property {CellCustomDrawEventArgs} args
|
|
1793
1781
|
*/
|
|
1794
|
-
get customDrawHeader(): EventDispatcher
|
|
1782
|
+
get customDrawHeader(): EventDispatcher;
|
|
1795
1783
|
/**
|
|
1796
1784
|
* Raised when a command is executed on a row.
|
|
1797
1785
|
* @event rowCommand
|
|
@@ -1799,7 +1787,7 @@ declare module "DataViews/jsdv/src/Grid" {
|
|
|
1799
1787
|
* @property {Grid} sender
|
|
1800
1788
|
* @property {RowModifyingEventArgs} args
|
|
1801
1789
|
*/
|
|
1802
|
-
get rowCommand(): EventDispatcher
|
|
1790
|
+
get rowCommand(): EventDispatcher;
|
|
1803
1791
|
/**
|
|
1804
1792
|
* Raised when the data type of a cell in a DynamicType column has to be resolved.
|
|
1805
1793
|
* @event resolveCellDataType
|
|
@@ -1807,7 +1795,7 @@ declare module "DataViews/jsdv/src/Grid" {
|
|
|
1807
1795
|
* @property {Grid} sender
|
|
1808
1796
|
* @property {CellResolveEventArgs} args
|
|
1809
1797
|
*/
|
|
1810
|
-
get resolveCellDataType(): EventDispatcher
|
|
1798
|
+
get resolveCellDataType(): EventDispatcher;
|
|
1811
1799
|
/**
|
|
1812
1800
|
* Raised when the value of a cell in a DynamicType column is retrieved.
|
|
1813
1801
|
* @event getCellValue
|
|
@@ -1815,7 +1803,7 @@ declare module "DataViews/jsdv/src/Grid" {
|
|
|
1815
1803
|
* @property {Grid} sender
|
|
1816
1804
|
* @property {CellResolveEventArgs} args
|
|
1817
1805
|
*/
|
|
1818
|
-
get getCellValue(): EventDispatcher
|
|
1806
|
+
get getCellValue(): EventDispatcher;
|
|
1819
1807
|
/**
|
|
1820
1808
|
* Raised when the data type of a cell in a DynamicType column has to be resolved.
|
|
1821
1809
|
* @event resolveCellDataType
|
|
@@ -1823,7 +1811,7 @@ declare module "DataViews/jsdv/src/Grid" {
|
|
|
1823
1811
|
* @property {Grid} sender
|
|
1824
1812
|
* @property {CellResolveEventArgs} args
|
|
1825
1813
|
*/
|
|
1826
|
-
get resolveCellMetaData(): EventDispatcher
|
|
1814
|
+
get resolveCellMetaData(): EventDispatcher;
|
|
1827
1815
|
/**
|
|
1828
1816
|
* Raised when the value of a cell in a DynamicType column has to be formatted.
|
|
1829
1817
|
* @event formatCellValue
|
|
@@ -1831,7 +1819,7 @@ declare module "DataViews/jsdv/src/Grid" {
|
|
|
1831
1819
|
* @property {Grid} sender
|
|
1832
1820
|
* @property {CellResolveEventArgs} args
|
|
1833
1821
|
*/
|
|
1834
|
-
get formatCellValue(): EventDispatcher
|
|
1822
|
+
get formatCellValue(): EventDispatcher;
|
|
1835
1823
|
/**
|
|
1836
1824
|
* Raised when an expander button is clicked
|
|
1837
1825
|
* @private
|
|
@@ -1843,7 +1831,7 @@ declare module "DataViews/jsdv/src/Grid" {
|
|
|
1843
1831
|
import { Unit } from "@mindfusion/common";
|
|
1844
1832
|
import ProxyModel from "DataViews/jsdv/src/ProxyModel";
|
|
1845
1833
|
import Selection from "DataViews/jsdv/src/Selection";
|
|
1846
|
-
import { EventDispatcher } from "@mindfusion/
|
|
1834
|
+
import { EventDispatcher } from "@mindfusion/controls";
|
|
1847
1835
|
import { GridModel } from "DataViews/jsdv/src/GridModel";
|
|
1848
1836
|
import { GridCell } from "DataViews/jsdv/src/GridCell";
|
|
1849
1837
|
}
|
|
@@ -1948,7 +1936,6 @@ declare module "DataViews/jsdv/src/PropertyGridContent" {
|
|
|
1948
1936
|
/**
|
|
1949
1937
|
* @class Represents a content grid in a PropertyGrid control.
|
|
1950
1938
|
* @augments UIControl
|
|
1951
|
-
* @private
|
|
1952
1939
|
*/
|
|
1953
1940
|
export class PropertyGridContent extends UIControl {
|
|
1954
1941
|
/**
|
|
@@ -1981,25 +1968,25 @@ declare module "DataViews/jsdv/src/PropertyGridContent" {
|
|
|
1981
1968
|
_scrollBarSize: number;
|
|
1982
1969
|
selection: Selection;
|
|
1983
1970
|
queuedEvents: any[];
|
|
1984
|
-
_expandObject: EventDispatcher
|
|
1985
|
-
_columnSorted: EventDispatcher
|
|
1986
|
-
_groupingChanged: EventDispatcher
|
|
1987
|
-
_rowLoading: EventDispatcher
|
|
1988
|
-
_rowRendered: EventDispatcher
|
|
1989
|
-
_rowExpanding: EventDispatcher
|
|
1990
|
-
_rowExpanded: EventDispatcher
|
|
1991
|
-
_rowCreating: EventDispatcher
|
|
1992
|
-
_rowCreated: EventDispatcher
|
|
1993
|
-
_rowDeleting: EventDispatcher
|
|
1994
|
-
_rowDeleted: EventDispatcher
|
|
1995
|
-
_rowUpdating: EventDispatcher
|
|
1996
|
-
_rowUpdated: EventDispatcher
|
|
1997
|
-
_rowSelecting: EventDispatcher
|
|
1998
|
-
_rowSelected: EventDispatcher
|
|
1999
|
-
_cellSelecting: EventDispatcher
|
|
2000
|
-
_cellSelected: EventDispatcher
|
|
2001
|
-
_cellFocusing: EventDispatcher
|
|
2002
|
-
_cellFocused: EventDispatcher
|
|
1971
|
+
_expandObject: EventDispatcher;
|
|
1972
|
+
_columnSorted: EventDispatcher;
|
|
1973
|
+
_groupingChanged: EventDispatcher;
|
|
1974
|
+
_rowLoading: EventDispatcher;
|
|
1975
|
+
_rowRendered: EventDispatcher;
|
|
1976
|
+
_rowExpanding: EventDispatcher;
|
|
1977
|
+
_rowExpanded: EventDispatcher;
|
|
1978
|
+
_rowCreating: EventDispatcher;
|
|
1979
|
+
_rowCreated: EventDispatcher;
|
|
1980
|
+
_rowDeleting: EventDispatcher;
|
|
1981
|
+
_rowDeleted: EventDispatcher;
|
|
1982
|
+
_rowUpdating: EventDispatcher;
|
|
1983
|
+
_rowUpdated: EventDispatcher;
|
|
1984
|
+
_rowSelecting: EventDispatcher;
|
|
1985
|
+
_rowSelected: EventDispatcher;
|
|
1986
|
+
_cellSelecting: EventDispatcher;
|
|
1987
|
+
_cellSelected: EventDispatcher;
|
|
1988
|
+
_cellFocusing: EventDispatcher;
|
|
1989
|
+
_cellFocused: EventDispatcher;
|
|
2003
1990
|
scrollHandler: (e: any) => boolean;
|
|
2004
1991
|
mouseWheelHandler: (e: any) => void;
|
|
2005
1992
|
get wrapper(): Element;
|
|
@@ -2402,7 +2389,7 @@ declare module "DataViews/jsdv/src/PropertyGridContent" {
|
|
|
2402
2389
|
* @property {PropertyGridContent} sender
|
|
2403
2390
|
* @property {Object} args
|
|
2404
2391
|
*/
|
|
2405
|
-
get columnSorted(): EventDispatcher
|
|
2392
|
+
get columnSorted(): EventDispatcher;
|
|
2406
2393
|
/**
|
|
2407
2394
|
* Raised when a column is sorted.
|
|
2408
2395
|
* @event groupingChanged
|
|
@@ -2410,7 +2397,7 @@ declare module "DataViews/jsdv/src/PropertyGridContent" {
|
|
|
2410
2397
|
* @property {PropertyGridContent} sender
|
|
2411
2398
|
* @property {Object} args
|
|
2412
2399
|
*/
|
|
2413
|
-
get groupingChanged(): EventDispatcher
|
|
2400
|
+
get groupingChanged(): EventDispatcher;
|
|
2414
2401
|
/**
|
|
2415
2402
|
* Raised when a row data is loading.
|
|
2416
2403
|
* @event rowLoading
|
|
@@ -2418,7 +2405,7 @@ declare module "DataViews/jsdv/src/PropertyGridContent" {
|
|
|
2418
2405
|
* @property {PropertyGridContent} sender
|
|
2419
2406
|
* @property {RowModifyingEventArgs} args
|
|
2420
2407
|
*/
|
|
2421
|
-
get rowLoading(): EventDispatcher
|
|
2408
|
+
get rowLoading(): EventDispatcher;
|
|
2422
2409
|
/**
|
|
2423
2410
|
* Raised when a row is rendered.
|
|
2424
2411
|
* @event rowRendered
|
|
@@ -2426,7 +2413,7 @@ declare module "DataViews/jsdv/src/PropertyGridContent" {
|
|
|
2426
2413
|
* @property {PropertyGridContent} sender
|
|
2427
2414
|
* @property {RowModifiedEventArgs} args
|
|
2428
2415
|
*/
|
|
2429
|
-
get rowRendered(): EventDispatcher
|
|
2416
|
+
get rowRendered(): EventDispatcher;
|
|
2430
2417
|
/**
|
|
2431
2418
|
* Raised before a row is selected.
|
|
2432
2419
|
* @event rowSelecting
|
|
@@ -2434,7 +2421,7 @@ declare module "DataViews/jsdv/src/PropertyGridContent" {
|
|
|
2434
2421
|
* @property {PropertyGridContent} sender
|
|
2435
2422
|
* @property {RowModifyingEventArgs} args
|
|
2436
2423
|
*/
|
|
2437
|
-
get rowSelecting(): EventDispatcher
|
|
2424
|
+
get rowSelecting(): EventDispatcher;
|
|
2438
2425
|
/**
|
|
2439
2426
|
* Raised when a row is selected.
|
|
2440
2427
|
* @event rowSelected
|
|
@@ -2442,7 +2429,7 @@ declare module "DataViews/jsdv/src/PropertyGridContent" {
|
|
|
2442
2429
|
* @property {PropertyGridContent} sender
|
|
2443
2430
|
* @property {RowModifiedEventArgs} args
|
|
2444
2431
|
*/
|
|
2445
|
-
get rowSelected(): EventDispatcher
|
|
2432
|
+
get rowSelected(): EventDispatcher;
|
|
2446
2433
|
/**
|
|
2447
2434
|
* Raised before a row is expanded.
|
|
2448
2435
|
* @event rowExpanding
|
|
@@ -2450,7 +2437,7 @@ declare module "DataViews/jsdv/src/PropertyGridContent" {
|
|
|
2450
2437
|
* @property {PropertyGridContent} sender
|
|
2451
2438
|
* @property {RowModifyingEventArgs} args
|
|
2452
2439
|
*/
|
|
2453
|
-
get rowExpanding(): EventDispatcher
|
|
2440
|
+
get rowExpanding(): EventDispatcher;
|
|
2454
2441
|
/**
|
|
2455
2442
|
* Raised when a row is expanded.
|
|
2456
2443
|
* @event rowExpanded
|
|
@@ -2458,7 +2445,7 @@ declare module "DataViews/jsdv/src/PropertyGridContent" {
|
|
|
2458
2445
|
* @property {PropertyGridContent} sender
|
|
2459
2446
|
* @property {RowModifiedEventArgs} args
|
|
2460
2447
|
*/
|
|
2461
|
-
get rowExpanded(): EventDispatcher
|
|
2448
|
+
get rowExpanded(): EventDispatcher;
|
|
2462
2449
|
/**
|
|
2463
2450
|
* Raised before a new row is created.
|
|
2464
2451
|
* @event rowCreating
|
|
@@ -2466,7 +2453,7 @@ declare module "DataViews/jsdv/src/PropertyGridContent" {
|
|
|
2466
2453
|
* @property {PropertyGridContent} sender
|
|
2467
2454
|
* @property {RowModifyingEventArgs} args
|
|
2468
2455
|
*/
|
|
2469
|
-
get rowCreating(): EventDispatcher
|
|
2456
|
+
get rowCreating(): EventDispatcher;
|
|
2470
2457
|
/**
|
|
2471
2458
|
* Raised when a new row is created.
|
|
2472
2459
|
* @event rowCreated
|
|
@@ -2474,7 +2461,7 @@ declare module "DataViews/jsdv/src/PropertyGridContent" {
|
|
|
2474
2461
|
* @property {PropertyGridContent} sender
|
|
2475
2462
|
* @property {RowModifiedEventArgs} args
|
|
2476
2463
|
*/
|
|
2477
|
-
get rowCreated(): EventDispatcher
|
|
2464
|
+
get rowCreated(): EventDispatcher;
|
|
2478
2465
|
/**
|
|
2479
2466
|
* Raised before a row is deleted.
|
|
2480
2467
|
* @event rowDeleting
|
|
@@ -2482,7 +2469,7 @@ declare module "DataViews/jsdv/src/PropertyGridContent" {
|
|
|
2482
2469
|
* @property {PropertyGridContent} sender
|
|
2483
2470
|
* @property {RowModifyingEventArgs} args
|
|
2484
2471
|
*/
|
|
2485
|
-
get rowDeleting(): EventDispatcher
|
|
2472
|
+
get rowDeleting(): EventDispatcher;
|
|
2486
2473
|
/**
|
|
2487
2474
|
* Raised when a row is deleted.
|
|
2488
2475
|
* @event rowDeleted
|
|
@@ -2490,7 +2477,7 @@ declare module "DataViews/jsdv/src/PropertyGridContent" {
|
|
|
2490
2477
|
* @property {PropertyGridContent} sender
|
|
2491
2478
|
* @property {RowModifiedEventArgs} args
|
|
2492
2479
|
*/
|
|
2493
|
-
get rowDeleted(): EventDispatcher
|
|
2480
|
+
get rowDeleted(): EventDispatcher;
|
|
2494
2481
|
/**
|
|
2495
2482
|
* Raised before a row is updated.
|
|
2496
2483
|
* @event rowUpdating
|
|
@@ -2498,7 +2485,7 @@ declare module "DataViews/jsdv/src/PropertyGridContent" {
|
|
|
2498
2485
|
* @property {PropertyGridContent} sender
|
|
2499
2486
|
* @property {RowModifyingEventArgs} args
|
|
2500
2487
|
*/
|
|
2501
|
-
get rowUpdating(): EventDispatcher
|
|
2488
|
+
get rowUpdating(): EventDispatcher;
|
|
2502
2489
|
/**
|
|
2503
2490
|
* Raised when a row is updated.
|
|
2504
2491
|
* @event rowUpdated
|
|
@@ -2506,7 +2493,7 @@ declare module "DataViews/jsdv/src/PropertyGridContent" {
|
|
|
2506
2493
|
* @property {PropertyGridContent} sender
|
|
2507
2494
|
* @property {RowModifiedEventArgs} args
|
|
2508
2495
|
*/
|
|
2509
|
-
get rowUpdated(): EventDispatcher
|
|
2496
|
+
get rowUpdated(): EventDispatcher;
|
|
2510
2497
|
/**
|
|
2511
2498
|
* Raised before a cell is selected.
|
|
2512
2499
|
* @event cellSelecting
|
|
@@ -2514,7 +2501,7 @@ declare module "DataViews/jsdv/src/PropertyGridContent" {
|
|
|
2514
2501
|
* @property {PropertyGridContent} sender
|
|
2515
2502
|
* @property {CellEventArgs} args
|
|
2516
2503
|
*/
|
|
2517
|
-
get cellSelecting(): EventDispatcher
|
|
2504
|
+
get cellSelecting(): EventDispatcher;
|
|
2518
2505
|
/**
|
|
2519
2506
|
* Raises the onCellSelecting event.
|
|
2520
2507
|
* @private
|
|
@@ -2527,7 +2514,7 @@ declare module "DataViews/jsdv/src/PropertyGridContent" {
|
|
|
2527
2514
|
* @property {Grid} sender
|
|
2528
2515
|
* @property {CellEventArgs} args
|
|
2529
2516
|
*/
|
|
2530
|
-
get cellSelected(): EventDispatcher
|
|
2517
|
+
get cellSelected(): EventDispatcher;
|
|
2531
2518
|
/**
|
|
2532
2519
|
* Raises the cellSelected event.
|
|
2533
2520
|
* @private
|
|
@@ -2545,7 +2532,7 @@ declare module "DataViews/jsdv/src/PropertyGridContent" {
|
|
|
2545
2532
|
import ProxyModel from "DataViews/jsdv/src/ProxyModel";
|
|
2546
2533
|
import GridRenderer from "DataViews/jsdv/src/GridRenderer";
|
|
2547
2534
|
import Selection from "DataViews/jsdv/src/Selection";
|
|
2548
|
-
import { EventDispatcher } from "@mindfusion/
|
|
2535
|
+
import { EventDispatcher } from "@mindfusion/controls";
|
|
2549
2536
|
import { GridCell } from "DataViews/jsdv/src/GridCell";
|
|
2550
2537
|
}
|
|
2551
2538
|
declare module "DataViews/jsdv/src/PropertyGridPage" {
|
|
@@ -2595,6 +2582,7 @@ declare module "DataViews/jsdv/src/PropertyGrid" {
|
|
|
2595
2582
|
header: ToolStrip;
|
|
2596
2583
|
footer: ToolStrip;
|
|
2597
2584
|
_metaData: Map<any, any>;
|
|
2585
|
+
_allowSort: boolean;
|
|
2598
2586
|
_sortAscending: boolean;
|
|
2599
2587
|
_grouped: boolean;
|
|
2600
2588
|
_showAllProperties: boolean;
|
|
@@ -2603,14 +2591,14 @@ declare module "DataViews/jsdv/src/PropertyGrid" {
|
|
|
2603
2591
|
_defaultCategoryName: string;
|
|
2604
2592
|
_currentProperty: string;
|
|
2605
2593
|
_currentIndex: number;
|
|
2606
|
-
_rowLoading: EventDispatcher
|
|
2607
|
-
_rowRendered: EventDispatcher
|
|
2608
|
-
_currentObjectChanging: EventDispatcher
|
|
2609
|
-
_currentObjectChanged: EventDispatcher
|
|
2610
|
-
_propertyValueChanging: EventDispatcher
|
|
2611
|
-
_propertyValueChanged: EventDispatcher
|
|
2612
|
-
_resolveCellDataType: EventDispatcher
|
|
2613
|
-
_formatCellValue: EventDispatcher
|
|
2594
|
+
_rowLoading: EventDispatcher;
|
|
2595
|
+
_rowRendered: EventDispatcher;
|
|
2596
|
+
_currentObjectChanging: EventDispatcher;
|
|
2597
|
+
_currentObjectChanged: EventDispatcher;
|
|
2598
|
+
_propertyValueChanging: EventDispatcher;
|
|
2599
|
+
_propertyValueChanged: EventDispatcher;
|
|
2600
|
+
_resolveCellDataType: EventDispatcher;
|
|
2601
|
+
_formatCellValue: EventDispatcher;
|
|
2614
2602
|
_headerButtonClick: (sender: any, args: any) => void;
|
|
2615
2603
|
_footerButtonClick: (sender: any, args: any) => void;
|
|
2616
2604
|
_rowValidateActionHandler: (sender: any, args: any) => void;
|
|
@@ -2630,10 +2618,10 @@ declare module "DataViews/jsdv/src/PropertyGrid" {
|
|
|
2630
2618
|
*/
|
|
2631
2619
|
private attachItem;
|
|
2632
2620
|
/**
|
|
2633
|
-
* ListContainer.
|
|
2621
|
+
* ListContainer._addItem override.
|
|
2634
2622
|
* @private
|
|
2635
2623
|
*/
|
|
2636
|
-
private
|
|
2624
|
+
private _addItem;
|
|
2637
2625
|
private set selectedItem(arg);
|
|
2638
2626
|
/**
|
|
2639
2627
|
* Gets or sets the current PropertyGridPage.
|
|
@@ -2642,10 +2630,10 @@ declare module "DataViews/jsdv/src/PropertyGrid" {
|
|
|
2642
2630
|
*/
|
|
2643
2631
|
private get selectedItem();
|
|
2644
2632
|
/**
|
|
2645
|
-
* ListContainer.
|
|
2633
|
+
* ListContainer._removeItem override.
|
|
2646
2634
|
* @private
|
|
2647
2635
|
*/
|
|
2648
|
-
private
|
|
2636
|
+
private _removeItem;
|
|
2649
2637
|
/**
|
|
2650
2638
|
* @private
|
|
2651
2639
|
*/
|
|
@@ -2789,7 +2777,7 @@ declare module "DataViews/jsdv/src/PropertyGrid" {
|
|
|
2789
2777
|
* @property {PropertyGrid} sender
|
|
2790
2778
|
* @property {PropertyEventArgs} args
|
|
2791
2779
|
*/
|
|
2792
|
-
get rowLoading(): EventDispatcher
|
|
2780
|
+
get rowLoading(): EventDispatcher;
|
|
2793
2781
|
/**
|
|
2794
2782
|
* Raised when a row is rendered.
|
|
2795
2783
|
* @event rowRendered
|
|
@@ -2797,7 +2785,7 @@ declare module "DataViews/jsdv/src/PropertyGrid" {
|
|
|
2797
2785
|
* @property {PropertyGrid} sender
|
|
2798
2786
|
* @property {PropertyEventArgs} args
|
|
2799
2787
|
*/
|
|
2800
|
-
get rowRendered(): EventDispatcher
|
|
2788
|
+
get rowRendered(): EventDispatcher;
|
|
2801
2789
|
/**
|
|
2802
2790
|
* Raised when the current object is changing.
|
|
2803
2791
|
* @event currentObjectChanging
|
|
@@ -2805,7 +2793,7 @@ declare module "DataViews/jsdv/src/PropertyGrid" {
|
|
|
2805
2793
|
* @property {PropertyGrid} sender
|
|
2806
2794
|
* @property {PropertyEventArgs} args
|
|
2807
2795
|
*/
|
|
2808
|
-
get currentObjectChanging(): EventDispatcher
|
|
2796
|
+
get currentObjectChanging(): EventDispatcher;
|
|
2809
2797
|
/**
|
|
2810
2798
|
* Raised when the current object is changed.
|
|
2811
2799
|
* @event currentObjectChanged
|
|
@@ -2813,7 +2801,7 @@ declare module "DataViews/jsdv/src/PropertyGrid" {
|
|
|
2813
2801
|
* @property {PropertyGrid} sender
|
|
2814
2802
|
* @property {PropertyEventArgs} args
|
|
2815
2803
|
*/
|
|
2816
|
-
get currentObjectChanged(): EventDispatcher
|
|
2804
|
+
get currentObjectChanged(): EventDispatcher;
|
|
2817
2805
|
/**
|
|
2818
2806
|
* Raised when a property value is changing.
|
|
2819
2807
|
* @event propertyValueChanging
|
|
@@ -2821,7 +2809,7 @@ declare module "DataViews/jsdv/src/PropertyGrid" {
|
|
|
2821
2809
|
* @property {PropertyGrid} sender
|
|
2822
2810
|
* @property {PropertyEventArgs} args
|
|
2823
2811
|
*/
|
|
2824
|
-
get propertyValueChanging(): EventDispatcher
|
|
2812
|
+
get propertyValueChanging(): EventDispatcher;
|
|
2825
2813
|
/**
|
|
2826
2814
|
* Raised when a property value is changed.
|
|
2827
2815
|
* @event propertyValueChanged
|
|
@@ -2829,7 +2817,7 @@ declare module "DataViews/jsdv/src/PropertyGrid" {
|
|
|
2829
2817
|
* @property {PropertyGrid} sender
|
|
2830
2818
|
* @property {PropertyEventArgs} args
|
|
2831
2819
|
*/
|
|
2832
|
-
get propertyValueChanged(): EventDispatcher
|
|
2820
|
+
get propertyValueChanged(): EventDispatcher;
|
|
2833
2821
|
/**
|
|
2834
2822
|
* Handles the click event in the header toolstrip.
|
|
2835
2823
|
* @private
|
|
@@ -2866,16 +2854,16 @@ declare module "DataViews/jsdv/src/PropertyGrid" {
|
|
|
2866
2854
|
import { UIControl } from "DataViews/jsdv/src/UIControl";
|
|
2867
2855
|
import { Unit } from "@mindfusion/common";
|
|
2868
2856
|
import { ToolStrip } from "@mindfusion/common-ui";
|
|
2869
|
-
import { EventDispatcher } from "@mindfusion/
|
|
2857
|
+
import { EventDispatcher } from "@mindfusion/controls";
|
|
2870
2858
|
import { PropertyGridPage } from "DataViews/jsdv/src/PropertyGridPage";
|
|
2871
2859
|
}
|
|
2872
2860
|
declare module "DataViews/jsdv/src/WebComponents" {
|
|
2873
2861
|
/**
|
|
2874
|
-
* @class
|
|
2862
|
+
* @class Implements registration of web components.
|
|
2875
2863
|
*/
|
|
2876
2864
|
export class WebComponents {
|
|
2877
2865
|
/**
|
|
2878
|
-
*
|
|
2866
|
+
* Registers the controls in the package as web components.
|
|
2879
2867
|
*/
|
|
2880
2868
|
static register(): void;
|
|
2881
2869
|
}
|