@mindfusion/dataviews 2.2.1 → 2.2.3
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 +16 -16
- package/dataviews.d.ts +15 -11
- package/dist/cjs/dataviews.js +1 -1
- package/dist/esm/dataviews.js +1 -1
- package/dist/esm/dataviews.mjs +1 -1
- package/dist/umd/dataviews.js +1 -1
- package/package.json +7 -19
- package/themes/black.css +4 -4
- package/themes/blue.css +4 -4
- package/themes/business.css +4 -4
- package/themes/earth.css +2 -2
- package/themes/gray.css +4 -4
- package/themes/green.css +4 -4
- package/themes/icons/b_group.png +0 -0
- package/themes/icons/b_sort-az.png +0 -0
- package/themes/icons/b_sort-za.png +0 -0
- package/themes/icons/b_ungroup.png +0 -0
- package/themes/icons/w_group.png +0 -0
- package/themes/icons/w_sort-az.png +0 -0
- package/themes/icons/w_sort-za.png +0 -0
- package/themes/icons/w_ungroup.png +0 -0
- package/themes/light.css +2 -2
- package/themes/pastel.css +4 -4
- package/themes/peach.css +4 -4
- package/themes/standard.css +4 -4
package/README.md
CHANGED
|
@@ -10,7 +10,7 @@ For the latest stable version:
|
|
|
10
10
|
npm i @mindfusion/dataviews
|
|
11
11
|
```
|
|
12
12
|
|
|
13
|
-

|
|
14
14
|
|
|
15
15
|
## Features
|
|
16
16
|
|
|
@@ -29,9 +29,9 @@ npm i @mindfusion/dataviews
|
|
|
29
29
|
|
|
30
30
|
## What's new in JS DataViews 2.1.2
|
|
31
31
|
|
|
32
|
-
The library registers the [Grid](https://
|
|
32
|
+
The library registers the [Grid](https://mindfusion.dev/docs/javascript/pack/T_MindFusion_DataViews_Grid.htm) class as a web component. You can use the <mindfusion-grid> tag to create the control.
|
|
33
33
|
|
|
34
|
-
When instantiated as a web component, the control creates required HTML elements as internal shadow DOM. You can get the JavaScript object corresponding to a web component by calling the [find](https://
|
|
34
|
+
When instantiated as a web component, the control creates required HTML elements as internal shadow DOM. You can get the JavaScript object corresponding to a web component by calling the [find](https://mindfusion.dev/docs/javascript/pack/M_MindFusion_Common_Control_find_1_String.htm) method with id argument.
|
|
35
35
|
|
|
36
36
|
```
|
|
37
37
|
<mindfusion-grid id="grid">
|
|
@@ -47,7 +47,7 @@ grid.model = new dv.ArrayModel(participants, columns, "index");
|
|
|
47
47
|
|
|
48
48
|
## What's new in JS DataViews 2.1
|
|
49
49
|
|
|
50
|
-
The [DataViews](https://
|
|
50
|
+
The [DataViews](https://mindfusion.dev/docs/javascript/pack/N_MindFusion_DataViews.htm) module now includes a [Property Grid](https://mindfusion.dev/docs/javascript/pack/PropertyGrid.htm) providing user interface for browsing and editing the properties of an object. The [PropertyGrid](https://mindfusion.dev/docs/javascript/pack/T_MindFusion_DataViews_PropertyGrid.htm) control can be bound to any object or an array of objects as specified by its [selectedObject](https://mindfusion.dev/docs/javascript/pack/P_MindFusion_DataViews_PropertyGrid_selectedObject_0.htm) property. If [showAllProperties](https://mindfusion.dev/docs/javascript/pack/P_MindFusion_DataViews_PropertyGrid_showAllProperties_0.htm) is set to **true**, the control enumerates all properties and fields of the object and its prototype chain, resolves their data types and displays their name and value in a grid layout. If showAllProperties is set to **false**, only properties and fields included in the [metaData](https://mindfusion.dev/docs/javascript/pack/P_MindFusion_DataViews_PropertyGrid_metaData_0.htm) dictionary are displayed.
|
|
51
51
|
|
|
52
52
|
## React support
|
|
53
53
|
|
|
@@ -57,28 +57,28 @@ The GridView React component allows integrating the MindFusion.DataViews API int
|
|
|
57
57
|
|
|
58
58
|
## Documentation
|
|
59
59
|
|
|
60
|
-
- [Programming Interface Overview](https://
|
|
61
|
-
- [Detailed API Reference](https://
|
|
60
|
+
- [Programming Interface Overview](https://mindfusion.dev/docs/javascript/pack/Grid_Model_and_Columns.htm)
|
|
61
|
+
- [Detailed API Reference](https://mindfusion.dev/docs/javascript/pack/T_MindFusion_DataViews_ArrayModel.htm)
|
|
62
62
|
|
|
63
63
|
## Samples
|
|
64
64
|
|
|
65
|
-
A variety of online samples are uploaded at the [demo site.](https://mindfusion.
|
|
65
|
+
A variety of online samples are uploaded at the [demo site.](https://mindfusion.dev/javascript-demo.html?sample=Suppliers) You can download an archive with all samples and all files for the library [from here.](https://mindfusion.dev/JsPack.zip)
|
|
66
66
|
|
|
67
67
|
|
|
68
68
|
## Additional Information
|
|
69
69
|
|
|
70
|
-
Learn more about JS DataViews [from the official product page.](https://mindfusion.
|
|
70
|
+
Learn more about JS DataViews [from the official product page.](https://mindfusion.dev/javascript-grid.html) Stay in touch with MindFusion about our latest product announcements, tutorials and programming guidelines via [X](https://x.com/MindFusion_News) or [our company blog.](https://mindfusion.dev/blog/)
|
|
71
71
|
|
|
72
72
|
|
|
73
73
|
|
|
74
74
|
## Technical Support
|
|
75
75
|
|
|
76
|
-
* [Forum](https://mindfusion.
|
|
76
|
+
* [Forum](https://mindfusion.dev/Forum/YaBB.pl?board=jsgrid)
|
|
77
77
|
* [E-mail](mailto:support@mindfusion.eu)
|
|
78
|
-
* [Help desk](https://www.mindfusion.
|
|
78
|
+
* [Help desk](https://www.mindfusion.dev/HelpDesk/index.php)
|
|
79
79
|
|
|
80
80
|
## Licensing
|
|
81
81
|
|
|
82
|
-
The end-user license agreement for MindFusion developer tools is uploaded [here.](https://mindfusion.
|
|
82
|
+
The end-user license agreement for MindFusion developer tools is uploaded [here.](https://mindfusion.dev/eula.html)
|
|
83
83
|
|
|
84
84
|
|
package/dataviews.d.mts
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.
|
|
@@ -944,12 +944,12 @@ declare module "DataViews/jsdv/src/Selection" {
|
|
|
944
944
|
* @namespace MindFusion.DataViews
|
|
945
945
|
*/
|
|
946
946
|
/**
|
|
947
|
-
* Copyright (c) 2022, MindFusion LLC - Bulgaria.
|
|
947
|
+
* Copyright (c) 2022-2025, MindFusion LLC - Bulgaria.
|
|
948
948
|
*
|
|
949
949
|
* This source code is provided to you as part of the MindFusion software components
|
|
950
950
|
* package you have purchased. You may use the source code to trace and/or fix
|
|
951
951
|
* problems or customize the library as needed for your application. To get permission
|
|
952
|
-
* 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.
|
|
953
953
|
*/
|
|
954
954
|
/**
|
|
955
955
|
* @class Represents a selection in a grid control.
|
|
@@ -986,12 +986,12 @@ declare module "DataViews/jsdv/src/GridModel" {
|
|
|
986
986
|
* @namespace MindFusion.DataViews
|
|
987
987
|
*/
|
|
988
988
|
/**
|
|
989
|
-
* Copyright (c) 2022, MindFusion LLC - Bulgaria.
|
|
989
|
+
* Copyright (c) 2022-2025, MindFusion LLC - Bulgaria.
|
|
990
990
|
*
|
|
991
991
|
* This source code is provided to you as part of the MindFusion software components
|
|
992
992
|
* package you have purchased. You may use the source code to trace and/or fix
|
|
993
993
|
* problems or customize the library as needed for your application. To get permission
|
|
994
|
-
* 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.
|
|
995
995
|
*/
|
|
996
996
|
/**
|
|
997
997
|
* @class The interface for grid models.
|
|
@@ -1102,12 +1102,12 @@ declare module "DataViews/jsdv/src/GridCell" {
|
|
|
1102
1102
|
* @namespace MindFusion.DataViews
|
|
1103
1103
|
*/
|
|
1104
1104
|
/**
|
|
1105
|
-
* Copyright (c) 2022, MindFusion LLC - Bulgaria.
|
|
1105
|
+
* Copyright (c) 2022-2025, MindFusion LLC - Bulgaria.
|
|
1106
1106
|
*
|
|
1107
1107
|
* This source code is provided to you as part of the MindFusion software components
|
|
1108
1108
|
* package you have purchased. You may use the source code to trace and/or fix
|
|
1109
1109
|
* problems or customize the library as needed for your application. To get permission
|
|
1110
|
-
* 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.
|
|
1111
1111
|
*/
|
|
1112
1112
|
/**
|
|
1113
1113
|
* @class Represents a data cell in a grid control.
|
|
@@ -2618,10 +2618,10 @@ declare module "DataViews/jsdv/src/PropertyGrid" {
|
|
|
2618
2618
|
*/
|
|
2619
2619
|
private attachItem;
|
|
2620
2620
|
/**
|
|
2621
|
-
* ListContainer.
|
|
2621
|
+
* ListContainer._addItem override.
|
|
2622
2622
|
* @private
|
|
2623
2623
|
*/
|
|
2624
|
-
private
|
|
2624
|
+
private _addItem;
|
|
2625
2625
|
private set selectedItem(arg);
|
|
2626
2626
|
/**
|
|
2627
2627
|
* Gets or sets the current PropertyGridPage.
|
|
@@ -2630,10 +2630,10 @@ declare module "DataViews/jsdv/src/PropertyGrid" {
|
|
|
2630
2630
|
*/
|
|
2631
2631
|
private get selectedItem();
|
|
2632
2632
|
/**
|
|
2633
|
-
* ListContainer.
|
|
2633
|
+
* ListContainer._removeItem override.
|
|
2634
2634
|
* @private
|
|
2635
2635
|
*/
|
|
2636
|
-
private
|
|
2636
|
+
private _removeItem;
|
|
2637
2637
|
/**
|
|
2638
2638
|
* @private
|
|
2639
2639
|
*/
|
package/dataviews.d.ts
CHANGED
|
@@ -2618,10 +2618,10 @@ declare module "DataViews/jsdv/src/PropertyGrid" {
|
|
|
2618
2618
|
*/
|
|
2619
2619
|
private attachItem;
|
|
2620
2620
|
/**
|
|
2621
|
-
* ListContainer.
|
|
2621
|
+
* ListContainer._addItem override.
|
|
2622
2622
|
* @private
|
|
2623
2623
|
*/
|
|
2624
|
-
private
|
|
2624
|
+
private _addItem;
|
|
2625
2625
|
private set selectedItem(arg);
|
|
2626
2626
|
/**
|
|
2627
2627
|
* Gets or sets the current PropertyGridPage.
|
|
@@ -2630,10 +2630,10 @@ declare module "DataViews/jsdv/src/PropertyGrid" {
|
|
|
2630
2630
|
*/
|
|
2631
2631
|
private get selectedItem();
|
|
2632
2632
|
/**
|
|
2633
|
-
* ListContainer.
|
|
2633
|
+
* ListContainer._removeItem override.
|
|
2634
2634
|
* @private
|
|
2635
2635
|
*/
|
|
2636
|
-
private
|
|
2636
|
+
private _removeItem;
|
|
2637
2637
|
/**
|
|
2638
2638
|
* @private
|
|
2639
2639
|
*/
|
|
@@ -2643,6 +2643,17 @@ declare module "DataViews/jsdv/src/PropertyGrid" {
|
|
|
2643
2643
|
*/
|
|
2644
2644
|
rebind(): void;
|
|
2645
2645
|
/**
|
|
2646
|
+
* Refreshes the grid after external modifications to its metaData object.
|
|
2647
|
+
*/
|
|
2648
|
+
refreshMetaData(metaData: any): void;
|
|
2649
|
+
set metaData(arg: Map<any, any>);
|
|
2650
|
+
/**
|
|
2651
|
+
* Gets or sets the meta data dictionary, associated with this control.
|
|
2652
|
+
* @type {Map}
|
|
2653
|
+
* @summary The meta data dictionary.
|
|
2654
|
+
*/
|
|
2655
|
+
get metaData(): Map<any, any>;
|
|
2656
|
+
/**
|
|
2646
2657
|
* Expands the specified property.
|
|
2647
2658
|
* @param {String} propertyName The name of the property to expand.
|
|
2648
2659
|
* @param {Number} [index] The index of the object, if that object is within a collection property.
|
|
@@ -2687,13 +2698,6 @@ declare module "DataViews/jsdv/src/PropertyGrid" {
|
|
|
2687
2698
|
* @summary The index of the current object within the collection, or -1.
|
|
2688
2699
|
*/
|
|
2689
2700
|
get currentIndex(): number;
|
|
2690
|
-
set metaData(arg: Map<any, any>);
|
|
2691
|
-
/**
|
|
2692
|
-
* Gets or sets the meta data dictionary, associated with this control.
|
|
2693
|
-
* @type {Map}
|
|
2694
|
-
* @summary The meta data dictionary.
|
|
2695
|
-
*/
|
|
2696
|
-
get metaData(): Map<any, any>;
|
|
2697
2701
|
set showAllProperties(arg: boolean);
|
|
2698
2702
|
/**
|
|
2699
2703
|
* Gets or sets a value indicating whether to enumerate the properties, that are not included in the meta data dictionary.
|