@syncfusion/ej2-vue-grids 20.4.54 → 21.1.35
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 +35 -148
- package/dist/ej2-vue-grids.umd.min.js +2 -2
- package/dist/ej2-vue-grids.umd.min.js.map +1 -1
- package/dist/es6/ej2-vue-grids.es2015.js +704 -881
- package/dist/es6/ej2-vue-grids.es2015.js.map +1 -1
- package/dist/es6/ej2-vue-grids.es5.js +751 -986
- package/dist/es6/ej2-vue-grids.es5.js.map +1 -1
- package/dist/global/ej2-vue-grids.min.js +2 -2
- package/package.json +9 -9
- package/src/grid/aggregate-columns.directive.d.ts +2 -12
- package/src/grid/aggregate-columns.directive.js +22 -71
- package/src/grid/aggregates.directive.d.ts +2 -12
- package/src/grid/aggregates.directive.js +22 -71
- package/src/grid/columns.directive.d.ts +2 -12
- package/src/grid/columns.directive.js +22 -71
- package/src/grid/grid.component.d.ts +3 -155
- package/src/grid/grid.component.js +513 -541
- package/src/grid/stacked-column.directive.d.ts +2 -12
- package/src/grid/stacked-column.directive.js +22 -71
- package/src/pager/pager.component.d.ts +3 -29
- package/src/pager/pager.component.js +131 -162
- package/styles/bootstrap-dark.css +33 -9
- package/styles/bootstrap.css +33 -9
- package/styles/bootstrap4.css +33 -9
- package/styles/bootstrap5-dark.css +34 -10
- package/styles/bootstrap5.css +34 -10
- package/styles/excel-filter/bootstrap-dark.css +9 -0
- package/styles/excel-filter/bootstrap.css +9 -0
- package/styles/excel-filter/bootstrap4.css +9 -0
- package/styles/excel-filter/bootstrap5-dark.css +9 -0
- package/styles/excel-filter/bootstrap5.css +9 -0
- package/styles/excel-filter/fabric-dark.css +9 -0
- package/styles/excel-filter/fabric.css +9 -0
- package/styles/excel-filter/fluent-dark.css +11 -2
- package/styles/excel-filter/fluent.css +11 -2
- package/styles/excel-filter/highcontrast-light.css +9 -0
- package/styles/excel-filter/highcontrast.css +9 -0
- package/styles/excel-filter/material-dark.css +9 -0
- package/styles/excel-filter/material.css +9 -0
- package/styles/excel-filter/tailwind-dark.css +9 -0
- package/styles/excel-filter/tailwind.css +9 -0
- package/styles/fabric-dark.css +33 -9
- package/styles/fabric.css +33 -9
- package/styles/fluent-dark.css +65 -18
- package/styles/fluent.css +65 -18
- package/styles/grid/bootstrap-dark.css +24 -9
- package/styles/grid/bootstrap.css +24 -9
- package/styles/grid/bootstrap4.css +24 -9
- package/styles/grid/bootstrap5-dark.css +25 -10
- package/styles/grid/bootstrap5.css +25 -10
- package/styles/grid/fabric-dark.css +24 -9
- package/styles/grid/fabric.css +24 -9
- package/styles/grid/fluent-dark.css +54 -16
- package/styles/grid/fluent.css +54 -16
- package/styles/grid/highcontrast-light.css +26 -11
- package/styles/grid/highcontrast.css +24 -9
- package/styles/grid/material-dark.css +24 -9
- package/styles/grid/material.css +24 -9
- package/styles/grid/tailwind-dark.css +24 -9
- package/styles/grid/tailwind.css +24 -9
- package/styles/highcontrast-light.css +35 -11
- package/styles/highcontrast.css +33 -9
- package/styles/material-dark.css +33 -9
- package/styles/material.css +33 -9
- package/styles/tailwind-dark.css +33 -9
- package/styles/tailwind.css +33 -9
package/CHANGELOG.md
CHANGED
|
@@ -4,147 +4,34 @@
|
|
|
4
4
|
|
|
5
5
|
### Grid
|
|
6
6
|
|
|
7
|
-
####
|
|
8
|
-
|
|
9
|
-
- `#I445812` - Column Reordering index is wrong when Grid has hidden columns issue has been fixed.
|
|
10
|
-
- `#I440720` - Executing query with custom dataSource is not working in excel export issue has been fixed.
|
|
11
|
-
- `#F180504` - Copy not working properly when using `hideColumns` property issue has been fixed.
|
|
12
|
-
- `#I433483` - Header cell alignment not proper when text wrapping enabled with filtering issue has been fixed.
|
|
13
|
-
- `#I440455` - Unable to get the row element in the `rowDataBound` when using `rowTemplate` in `React18` issue has been fixed.
|
|
14
|
-
- `#I380872` - All child element gets Hovered on hovering one child issue has been fixed.
|
|
15
|
-
- `#I442280` - Provided the locale support for Expand and Collapse icons issue has been fixed.
|
|
16
|
-
- `#I443824` - The issue with the clear icon displaying incorrect text when hovering over it has been resolved.
|
|
17
|
-
|
|
18
|
-
## 20.4.53 (2023-03-07)
|
|
19
|
-
|
|
20
|
-
### Grid
|
|
21
|
-
|
|
22
|
-
#### Bug Fixes
|
|
23
|
-
|
|
24
|
-
- `#I432092`, `#I438520`, `#I438656`, `#I437702` - Script error thrown when Printing Grid in angular platform has been resolved.
|
|
25
|
-
- `#I431502` - Memory leak issue in React platform has been fixed.
|
|
26
|
-
- `#I439291` - Improper row height in first row when using grid with `allowTextWrap` and `Infinitescrolling` issue has been resolved.
|
|
27
|
-
- `#I436900` - Grid skeleton thrown script error when using detail template with `Infinitescrolling` issue has been resolved.
|
|
28
|
-
- `#I436480` - Showing HTML tags in tooltip on hovering the group caption issue has been fixed.
|
|
29
|
-
- `#I437570` - Using String Template causes exception issue has been fixed.
|
|
30
|
-
- `#F180121` - Grid's Content cropped when rendering with toolbar template inside a card component issue has been fixed.
|
|
31
|
-
|
|
32
|
-
## 20.4.52 (2023-02-28)
|
|
33
|
-
|
|
34
|
-
### Grid
|
|
35
|
-
|
|
36
|
-
#### Bug Fixes
|
|
37
|
-
|
|
38
|
-
- `#I429268` - Script error thrown on state change, with row template button click has been fixed.
|
|
39
|
-
- `#I436447` - Improvement in Excel Filter search action and Custom Filter Dialog has been done.
|
|
40
|
-
- `#I439694` - Resolved the issue where selecting columns in column chooser or navigating through columns was not being highlighted.
|
|
41
|
-
|
|
42
|
-
## 20.4.51 (2023-02-21)
|
|
43
|
-
|
|
44
|
-
### Grid
|
|
45
|
-
|
|
46
|
-
#### Bug Fixes
|
|
47
|
-
|
|
48
|
-
- `#I438353` - Fixed the issue where column reordering was not working properly in the grid when using stacked headers with some columns set to visible false.
|
|
49
|
-
- `#I436131` - Fixed the issue where resize was not working properly in the frozen columns.
|
|
50
|
-
- `#I435246`, `#I298601` - Fixed the issue where checkbox selection was not working in the custom binding after performing searching.
|
|
51
|
-
- `#I433085` - Fixed the issue where changing the React State in the recordClick event throws a script error when clicking on a template column.
|
|
52
|
-
- `#I436040` - Fixed the issue with insert action in Infinite Scrolling in `RemoteSave` Adaptor.
|
|
53
|
-
- `#I432276` - Fixed the issue where the row element was not updating properly when updating through the `rowDataBound` event.
|
|
54
|
-
- `#I439886` - Resolved the issue where column header misalignment was happening with drag and drop.
|
|
55
|
-
- `#I432304` - Fixed the issue where the Grid Component menu filtering was behaving incorrectly.
|
|
56
|
-
|
|
57
|
-
## 20.4.50 (2023-02-14)
|
|
58
|
-
|
|
59
|
-
### Grid
|
|
60
|
-
|
|
61
|
-
#### Bug Fixes
|
|
62
|
-
|
|
63
|
-
- `#I434411` - Filter menu dialog is not opening on foreign key column when it has filter template issue has been fixed.
|
|
64
|
-
- `#I428195` - Two times dialog word repeated in column chooser when using JAWS screen reader issue was fixed.
|
|
65
|
-
- `#I430467` - Script error is thrown when show/hide column in Infinite Scrolling Grid with cache mode issue has been fixed.
|
|
66
|
-
- `#I431446` - Editing on `ForeignKeyColumn` is not working in frozen grid when `allowEditOnDblClick` is false issue has been fixed.
|
|
67
|
-
- `#I435267` - Grid navigation with TAB not working when focus Grid with Alt + J issue has been fixed.
|
|
68
|
-
- `#I434619` - Issue with Scrolling in column `virtualization` grid with empty data has been fixed.
|
|
69
|
-
- `#I434806` - Misalignment in Grid column when using Text wrap feature with Hierarchy Grid issue has been fixed.
|
|
70
|
-
- `#F180026` - New page added, after adding a new row when page size set to 'ALL' issue has been resolved.
|
|
71
|
-
- `#F179988` - Dynamic Freeze Column throws script error in batch editing issue has been resolved.
|
|
72
|
-
|
|
73
|
-
## 20.4.49 (2023-02-07)
|
|
74
|
-
|
|
75
|
-
### Grid
|
|
76
|
-
|
|
77
|
-
#### Bug Fixes
|
|
78
|
-
|
|
79
|
-
- `#I428359` - Fixed issue with previous filtering of other columns being cleared when filtered with "not equal to blank."
|
|
80
|
-
- `#I433085`, `#I432020` - Fixed issue with template column appearing blank when React state value changed.
|
|
81
|
-
- `#F180302` - Fixed script error when accessing the edit form inside the `actionComplete` event.
|
|
82
|
-
- `#I428195` - Fixed issue with drag and drop when dynamically enabling drag and drop and infinite scrolling.
|
|
83
|
-
- `#I429045` - Fixed issue with HTML input not working in header template when `allowDragAndDrop` property is enabled.
|
|
84
|
-
|
|
85
|
-
## 20.4.48 (2023-02-01)
|
|
86
|
-
|
|
87
|
-
### Grid
|
|
88
|
-
|
|
89
|
-
#### Bug Fixes
|
|
90
|
-
|
|
91
|
-
- `#I425349` - Grid toolbar template item focus issue has been fixed.
|
|
92
|
-
- `#I413517` - Column menu pop-up is not properly shown with sticky header issue has been fixed.
|
|
93
|
-
- `#I426775` - Template items disappear on edit action issue has been fixed.
|
|
94
|
-
|
|
95
|
-
## 20.4.44 (2023-01-18)
|
|
96
|
-
|
|
97
|
-
### Grid
|
|
98
|
-
|
|
99
|
-
#### Bug Fixes
|
|
100
|
-
|
|
101
|
-
- `#I427528` - First column missing highlight when tabbing into grid issue has been fixed.
|
|
102
|
-
- `#I427309` - API document has wrong information issue has been fixed.
|
|
103
|
-
- `#I423348` - Autofit on the columns is not work as expected in the frozen grid has been fixed.
|
|
104
|
-
- `#I419759` - Column Reordering is not working fine with Frozen column and hidden columns has been fixed.
|
|
105
|
-
- `#I416705` - Alignment issue with row drag and drop and frozen columns in stacked headers has been fixed.
|
|
106
|
-
- `#I424387` - Misalignment has been fixed when applying auto-fit for frozen columns with `allowtextwrap`.
|
|
107
|
-
|
|
108
|
-
## 20.4.43 (2023-01-10)
|
|
109
|
-
|
|
110
|
-
### Grid
|
|
111
|
-
|
|
112
|
-
#### Bug Fixes
|
|
113
|
-
|
|
114
|
-
- `#I425228` - Exception is thrown when exporting the grid with custom aggregate issue has been fixed.
|
|
115
|
-
- `#F179549` - `colSpan` is not working with Frozen Grid issue has been fixed.
|
|
116
|
-
- `#I428130` - Group indent cell width is not properly set has been fixed.
|
|
117
|
-
- `#I422144`, `#F177682` - Validation message misalignment issue has been fixed.
|
|
118
|
-
- `#I425048` - The last row bottom border issue in grouping has been fixed.
|
|
119
|
-
- `#I424343`, `#I424671` - Issue with dynamically changing pager `pageSize` property has been resolved.
|
|
120
|
-
- `#I367619` - Added `pageSize` argument for paging action in `actionBegin` and `actionComplete` event.
|
|
121
|
-
- `#I414874` - Checkbox state is now reading properly by JAWS screen reader, when select all checkbox is clicked.
|
|
122
|
-
- `#I426392` - Grid Column Menu is misplaced in mobile device has been fixed.
|
|
123
|
-
|
|
124
|
-
- `#I390960`, `#F171793` - Script error thrown when Exporting (Printing) Grid in `Vue3` platform has been resolved.
|
|
125
|
-
|
|
126
|
-
## 20.4.42 (2023-01-04)
|
|
7
|
+
#### New Features
|
|
127
8
|
|
|
128
|
-
|
|
9
|
+
- Implemented a feature to limit column expansion over their specified width, preventing them from using more space.
|
|
10
|
+
- `#I225917`, `#F146138`, `#F150441` - Provided support to dynamically change both new columns and datasource simultaneously by using inbuilt `changeDataSource` method of Grid.
|
|
11
|
+
- `#I304073, #I301329, #I441756` - Now, the filtering functionality has been enhanced to include additional filter operators such as `notcontains`, `notstartwith`, `notendwith`, `null`, `notnull`, `isempty`, and `isnotempty`. Additionally, `like` and `wildcard` support have been added.
|
|
12
|
+
- `#I432547` - The security of the Grid component has been improved by the use of sanitization to remove any potentially untrusted strings and scripts. This feature can be enabled by setting the property `enableHtmlSanitizer` as true.
|
|
129
13
|
|
|
130
14
|
#### Bug Fixes
|
|
131
15
|
|
|
132
|
-
- `#
|
|
133
|
-
- `#
|
|
134
|
-
- `#
|
|
135
|
-
- `#
|
|
136
|
-
- `#
|
|
16
|
+
- `#I439725` - The issue where an exception was thrown when attempting to filter 'Blanks' value using URL Adaptor in Excel filter has been resolved.
|
|
17
|
+
- `#F41177` - Resolved the issue exporting the hierarchy grid with different mode.
|
|
18
|
+
- `#I342921`, `#I407440` - The issue related to Content Security Policy violation that occurred while using grid paging and grouping has been resolved.
|
|
19
|
+
- `#I446747` - Script error occurred on `foreignkey` sample while trying to auto complete in filter menu issue has been fixed.
|
|
20
|
+
- `#I428772` - Fixed alignment issue with Dialog component header content and close icon on fluent theme. [More Information](https://ej2.syncfusion.com/documentation/release-notes/20.4.49/#dialog).
|
|
137
21
|
|
|
138
|
-
|
|
22
|
+
- `#I439725` - The issue where an exception was thrown when attempting to filter 'Blanks' value using URL Adaptor in Excel filter has been resolved.
|
|
23
|
+
- `#F41177` - Resolved the issue exporting the hierarchy grid with different mode.
|
|
24
|
+
- `#I342921`, `#I407440` - The issue related to Content Security Policy violation that occurred while using grid paging and grouping has been resolved.
|
|
25
|
+
- `#I446747` - Script error occurred on `foreignkey` sample while trying to auto complete in filter menu issue has been fixed.
|
|
26
|
+
- `#I428772` - Fixed alignment issue with Dialog component header content and close icon on fluent theme. [More Information](https://ej2.syncfusion.com/vue/documentation/release-notes/20.4.49/#dialog?type=all).
|
|
139
27
|
|
|
140
|
-
|
|
28
|
+
#### Breaking Changes
|
|
141
29
|
|
|
142
|
-
|
|
30
|
+
- Unnecessary role attributes for Grid row cell and header elements have been removed to enhance accessibility standards.
|
|
31
|
+
- The `td` element for `e-detailcell` in [detail element](https://ej2.syncfusion.com/documentation/grid/row/detail-template/) has been only changed from a `td` element to the `th` element to enhance accessibility standards.
|
|
143
32
|
|
|
144
|
-
-
|
|
145
|
-
-
|
|
146
|
-
- `#I424277` - Ellipsis With Tooltip is now working fine with batch editing.
|
|
147
|
-
- `#I421562`, `#I423051` - Unable to filter the menu with autocomplete when grouping is applied has been fixed.
|
|
33
|
+
- Unnecessary role attributes for Grid row cell and header elements have been removed to enhance accessibility standards.
|
|
34
|
+
- The `td` element for `e-detailcell` in [detail element](https://ej2.syncfusion.com/vue/documentation/grid/row/detail-template/) has been only changed from a `td` element to the `th` element to enhance accessibility standards.
|
|
148
35
|
|
|
149
36
|
## 20.4.38 (2022-12-21)
|
|
150
37
|
|
|
@@ -274,7 +161,7 @@
|
|
|
274
161
|
- `#SF-362860` - Last column header cell border issue has been fixed.
|
|
275
162
|
- `#SF-357202` - Wrong operator while filtering with Excel filter search box is fixed.
|
|
276
163
|
- `#SF-362140` - Script error while selecting the row with `virtualization` issue has been fixed.
|
|
277
|
-
- `#FB-31236` -
|
|
164
|
+
- `#FB-31236` - Multi-column sorting missing sort number indicators issue has been fixed.
|
|
278
165
|
- `#FB-31556` - Row Height misalignment when show/hide the template column with frozen Grid is fixed.
|
|
279
166
|
- `#F171116` - Border is not apply properly in the Excel exporting has been fixed.
|
|
280
167
|
|
|
@@ -317,7 +204,7 @@
|
|
|
317
204
|
|
|
318
205
|
#### Bug Fixes
|
|
319
206
|
|
|
320
|
-
- `#I345910` - Sticky header not working when group drop area
|
|
207
|
+
- `#I345910` - Sticky header not working when group drop area is hidden has been fixed.
|
|
321
208
|
- `#I357254` - Outline is displayed in excel export has been fixed.
|
|
322
209
|
- `#FB30729` - Filter dialog position issue when enable virtual scrolling is fixed.
|
|
323
210
|
- `#I356122` - `actionComplete` event is trigger after row reorder is performed has been fixed.
|
|
@@ -539,7 +426,7 @@
|
|
|
539
426
|
|
|
540
427
|
#### Bug Fixes
|
|
541
428
|
|
|
542
|
-
- `#F167053` - Border misalignment when
|
|
429
|
+
- `#F167053` - Border misalignment when adding a row in bottom has been fixed.
|
|
543
430
|
- `#I336216` - Cell Selection with box mode is not working properly after filtering, has been fixed.
|
|
544
431
|
- `#I336097, #I335284` - Virtualization Grid in flex container produce blank space issue has been fixed.
|
|
545
432
|
|
|
@@ -626,7 +513,7 @@
|
|
|
626
513
|
- `#I329350` - Immutable mode doesn’t work for date values issue has been fixed.
|
|
627
514
|
- `#I329350` - Update the reordered data in immutable mode re-renders multiple rows issue has been fixed.
|
|
628
515
|
- `#I327293` - CPU takes more usage when export the hierarchy grid issue has been fixed.
|
|
629
|
-
- `#FB25510` -
|
|
516
|
+
- `#FB25510` - Throws script error While grouping the complex columns is fixed.
|
|
630
517
|
|
|
631
518
|
## 19.1.67 (2021-06-08)
|
|
632
519
|
|
|
@@ -648,7 +535,7 @@
|
|
|
648
535
|
- `#I326727` - Column resize issue with frozen right/left and aggregate has been resolved.
|
|
649
536
|
- `#I327237` - Empty row appears while hiding/showing columns in `virtualized` grouping grid, has been fixed.
|
|
650
537
|
- `#I299221` - Frozen part refresh issue with template column has been resolved.
|
|
651
|
-
- `#I311142` -
|
|
538
|
+
- `#I311142` - Provided internal event to handle queries on custom `ExcelFilter` dataSource.
|
|
652
539
|
|
|
653
540
|
- `#I327774, #I327204` - `Vue-es5` grid render issue has been fixed.
|
|
654
541
|
|
|
@@ -1239,7 +1126,7 @@
|
|
|
1239
1126
|
|
|
1240
1127
|
#### Bug Fixes
|
|
1241
1128
|
|
|
1242
|
-
- `#279922, #280077` -
|
|
1129
|
+
- `#279922, #280077` - Scrollbar when clicking `childgrid` summary row, issue has been fixed.
|
|
1243
1130
|
|
|
1244
1131
|
## 18.1.57 (2020-06-16)
|
|
1245
1132
|
|
|
@@ -1343,7 +1230,7 @@
|
|
|
1343
1230
|
|
|
1344
1231
|
- `#269945, #271023` - `editTemplate` element events are not triggered for movable content.
|
|
1345
1232
|
- `#273042` - grouping after restoring the persist data issue has been resolved.
|
|
1346
|
-
- `#273483, #275002, #275153` -
|
|
1233
|
+
- `#273483, #275002, #275153` - `actionfailure` event error message issue has been fixed.
|
|
1347
1234
|
- `#273238` - Missing of `headerText` property in the template data has been fixed.
|
|
1348
1235
|
- `#266631` - Hidden column headers in Grid did not reflect in pdf export while using `includeHiddenColumn` issue has been fixed.
|
|
1349
1236
|
- `#271911` - column template in angular after print issue has been resolved.
|
|
@@ -1388,7 +1275,7 @@
|
|
|
1388
1275
|
|
|
1389
1276
|
#### Bug Fixes
|
|
1390
1277
|
|
|
1391
|
-
- `#271625, #272096` -
|
|
1278
|
+
- `#271625, #272096` - Frozen Grid cell selection issue has been fixed.
|
|
1392
1279
|
- `#271625` - Grid resize cursor issue with stacked header has been fixed.
|
|
1393
1280
|
- `#271240` - Batch editing `cellSaved` event after escape key issue has been fixed.
|
|
1394
1281
|
- `#260390` - Header misalignment in auto wrap enabled Grid with frozen columns has been fixed.
|
|
@@ -1590,7 +1477,7 @@
|
|
|
1590
1477
|
- `#254164` - Support for `FilterItemTemplate` function like as `ValueAccessor` is given.
|
|
1591
1478
|
- `#253705` - `Ctrl+A` in Grid does not select the last record in Batch mode issue has been fixed.
|
|
1592
1479
|
- `#253106` - Error thrown on using `setCellValue` method when row drag and drop is enabled issue has been fixed.
|
|
1593
|
-
- `#253398` - Frozen header height discrepancy when setting `rowHeight` and `allowTextWrap`
|
|
1480
|
+
- `#253398` - Frozen header height discrepancy when setting `rowHeight` and `allowTextWrap` property issue has been fixed.
|
|
1594
1481
|
- `#252923` - Grid footer element is invisible while dynamically bind the Grid dataSource issue has been fixed.
|
|
1595
1482
|
- `#253614` - Changed the scope of the `filterOperator` variable as public.
|
|
1596
1483
|
|
|
@@ -1624,7 +1511,7 @@
|
|
|
1624
1511
|
|
|
1625
1512
|
#### Breaking Changes
|
|
1626
1513
|
|
|
1627
|
-
- Now `disableHtmlEncode` default value
|
|
1514
|
+
- Now `disableHtmlEncode` default value is set to true, so the HTML tags can be displayed in the Grid header and content by default, so to display it as html content `disableHtmlEncode` need to be set as false.
|
|
1628
1515
|
|
|
1629
1516
|
## 17.3.21 (2019-10-30)
|
|
1630
1517
|
|
|
@@ -1821,7 +1708,7 @@
|
|
|
1821
1708
|
|
|
1822
1709
|
#### Bug Fixes
|
|
1823
1710
|
|
|
1824
|
-
- `#237403` -
|
|
1711
|
+
- `#237403` - Footer template shows proper result when using both group footer and footer template in exported excel document.
|
|
1825
1712
|
- `#232272` - `RemoteSaveAdaptor` batch changes are now refreshed properly in grid when `ContractResolver` set to `DefaultContractResolver`.
|
|
1826
1713
|
- `#236337, #234622` - Child grid data is now successfully loads with query property in the `url` adaptor.
|
|
1827
1714
|
- `#236011` - Selection `api` example is now working properly in the sample browser.
|
|
@@ -1831,7 +1718,7 @@
|
|
|
1831
1718
|
|
|
1832
1719
|
#### Breaking Changes
|
|
1833
1720
|
|
|
1834
|
-
- Now in dialog and inline template editing, the element name for complex fields should be given with triple underscore instead of single underscore.
|
|
1721
|
+
- Now in dialog and inline template editing, the element name for complex fields should be given with triple underscore instead of single underscore. This change has been made as underscore is valid identifier in DB field names.
|
|
1835
1722
|
|
|
1836
1723
|
## 17.2.28-beta (2019-06-27)
|
|
1837
1724
|
|
|
@@ -2574,7 +2461,7 @@ undefinedThe Grid component is used to display and manipulate tabular data with
|
|
|
2574
2461
|
#### Bug Fixes
|
|
2575
2462
|
|
|
2576
2463
|
- Column properties is not persisted after reordering columns resolved.
|
|
2577
|
-
- `args.cancel`
|
|
2464
|
+
- `args.cancel` has included in `rowSelecting` event while select the rows through method and user interaction.
|
|
2578
2465
|
|
|
2579
2466
|
## 16.1.29 (2018-03-13)
|
|
2580
2467
|
|
|
@@ -2582,7 +2469,7 @@ undefinedThe Grid component is used to display and manipulate tabular data with
|
|
|
2582
2469
|
|
|
2583
2470
|
#### Bug Fixes
|
|
2584
2471
|
|
|
2585
|
-
- `args.cancel`
|
|
2472
|
+
- `args.cancel` has included in `rowSelecting` event.
|
|
2586
2473
|
- Dynamically changing filter settings does not update `Filterbar` value and filter status message is resolved.
|
|
2587
2474
|
- Batch edit should close on clicking outside grid and on pressing enter or tab key is resolved.
|
|
2588
2475
|
- `updateRow` method is provided for Normal editing and Dialog editing.
|
|
@@ -2800,7 +2687,7 @@ Grid component is used to display and manipulate tabular data with configuration
|
|
|
2800
2687
|
- **Sorting and grouping** - Supports n levels of sorting and grouping.
|
|
2801
2688
|
- **Selection** - Provides the option to select the grid rows single or multiple.
|
|
2802
2689
|
- **Filtering** - Offers filter bar or menu , or checkbox at each column to filter data.
|
|
2803
|
-
- **Editing** -
|
|
2690
|
+
- **Editing** - Provides the options to dynamically insert, delete and update records.
|
|
2804
2691
|
- **Virtualization** - Provides the options to load large amount of data without performance degradation.
|
|
2805
2692
|
- **Aggregates** - Provides built in types are sum , average, min, max, count.
|
|
2806
2693
|
- **Paging** - Provides the option to easily switch between pages using the pager bar.
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: ej2-vue-grids.umd.min.js
|
|
3
|
-
* version :
|
|
3
|
+
* version : 21.1.35
|
|
4
4
|
* Copyright Syncfusion Inc. 2001 - 2020. All rights reserved.
|
|
5
5
|
* Use of this code is subject to the terms of our license.
|
|
6
6
|
* A copy of the current license can be obtained at any time by e-mailing
|
|
7
7
|
* licensing@syncfusion.com. Any infringement will be prosecuted under
|
|
8
8
|
* applicable laws.
|
|
9
9
|
*/
|
|
10
|
-
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@syncfusion/ej2-grids"),require("vue"),require("@syncfusion/ej2-vue-base"),require("@syncfusion/ej2-base")):"function"==typeof define&&define.amd?define(["exports","@syncfusion/ej2-grids","vue","@syncfusion/ej2-vue-base","@syncfusion/ej2-base"],t):t(e.ej={},e.ej2Grids,e.Vue,e.ej2VueBase,e.ej2Base)}(this,function(e,t,n,o,r){"use strict";n=n&&n.hasOwnProperty("default")?n.default:n;var s=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),i=function(e,t,n,o){var r,s=arguments.length,i=s<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,t,n,o);else for(var c=e.length-1;c>=0;c--)(r=e[c])&&(i=(s<3?r(i):s>3?r(t,n,i):r(t,n))||i);return s>3&&i&&Object.defineProperty(t,n,i),i},c=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return s(t,e),t.prototype.render=function(){},t=i([o.EJComponentDecorator({})],t)}(n),a={name:"e-stacked-columns",install:function(e){e.component(a.name,c)}},u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return s(t,e),t.prototype.render=function(){},t=i([o.EJComponentDecorator({})],t)}(n),l={name:"e-stacked-column",install:function(e){e.component(l.name,u)}},p=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),d=function(e,t,n,o){var r,s=arguments.length,i=s<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,t,n,o);else for(var c=e.length-1;c>=0;c--)(r=e[c])&&(i=(s<3?r(i):s>3?r(t,n,i):r(t,n))||i);return s>3&&i&&Object.defineProperty(t,n,i),i},f=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return p(t,e),t.prototype.render=function(){},t=d([o.EJComponentDecorator({})],t)}(n),g={name:"e-columns",install:function(e){e.component(g.name,f)}},h=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return p(t,e),t.prototype.render=function(){},t=d([o.EJComponentDecorator({})],t)}(n),y={name:"e-column",install:function(e){e.component(y.name,h)}},m=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),I=function(e,t,n,o){var r,s=arguments.length,i=s<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,t,n,o);else for(var c=e.length-1;c>=0;c--)(r=e[c])&&(i=(s<3?r(i):s>3?r(t,n,i):r(t,n))||i);return s>3&&i&&Object.defineProperty(t,n,i),i},j=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return m(t,e),t.prototype.render=function(){},t=I([o.EJComponentDecorator({})],t)}(n),C={name:"e-columns",install:function(e){e.component(C.name,j)}},w=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return m(t,e),t.prototype.render=function(){},t=I([o.EJComponentDecorator({})],t)}(n),b={name:"e-column",install:function(e){e.component(b.name,w)}},R=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),v=function(e,t,n,o){var r,s=arguments.length,i=s<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,t,n,o);else for(var c=e.length-1;c>=0;c--)(r=e[c])&&(i=(s<3?r(i):s>3?r(t,n,i):r(t,n))||i);return s>3&&i&&Object.defineProperty(t,n,i),i},x=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return R(t,e),t.prototype.render=function(){},t=v([o.EJComponentDecorator({})],t)}(n),P={name:"e-aggregates",install:function(e){e.component(P.name,x)}},S=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return R(t,e),t.prototype.render=function(){},t=v([o.EJComponentDecorator({})],t)}(n),_={name:"e-aggregate",install:function(e){e.component(_.name,S)}},D=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),B=function(e,t,n,o){var r,s=arguments.length,i=s<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,t,n,o);else for(var c=e.length-1;c>=0;c--)(r=e[c])&&(i=(s<3?r(i):s>3?r(t,n,i):r(t,n))||i);return s>3&&i&&Object.defineProperty(t,n,i),i},F=["isLazyUpdate","plugins","aggregates","allowExcelExport","allowFiltering","allowGrouping","allowKeyboard","allowMultiSorting","allowPaging","allowPdfExport","allowReordering","allowResizing","allowRowDragAndDrop","allowSelection","allowSorting","allowTextWrap","childGrid","clipMode","columnChooserSettings","columnMenuItems","columnQueryMode","columns","contextMenuItems","cssClass","currencyCode","currentAction","dataSource","detailTemplate","editSettings","ej2StatePersistenceVersion","enableAdaptiveUI","enableAltRow","enableAutoFill","enableColumnVirtualization","enableHeaderFocus","enableHover","enableImmutableMode","enableInfiniteScrolling","enablePersistence","enableRtl","enableStickyHeader","enableVirtualMaskRow","enableVirtualization","filterSettings","frozenColumns","frozenRows","gridLines","groupSettings","height","hierarchyPrintMode","infiniteScrollSettings","loadingIndicator","locale","pageSettings","pagerTemplate","parentDetails","printMode","query","queryString","resizeSettings","rowDropSettings","rowHeight","rowRenderingMode","rowTemplate","searchSettings","selectedRowIndex","selectionSettings","showColumnChooser","showColumnMenu","sortSettings","textWrapSettings","toolbar","toolbarTemplate","width","actionBegin","actionComplete","actionFailure","batchAdd","batchCancel","batchDelete","beforeAutoFill","beforeBatchAdd","beforeBatchDelete","beforeBatchSave","beforeCopy","beforeDataBound","beforeExcelExport","beforeOpenAdaptiveDialog","beforeOpenColumnChooser","beforePaste","beforePdfExport","beforePrint","beginEdit","cellDeselected","cellDeselecting","cellEdit","cellSave","cellSaved","cellSelected","cellSelecting","checkBoxChange","columnDataStateChange","columnDeselected","columnDeselecting","columnDrag","columnDragStart","columnDrop","columnMenuClick","columnMenuOpen","columnSelected","columnSelecting","commandClick","contextMenuClick","contextMenuOpen","created","dataBound","dataSourceChanged","dataStateChange","destroyed","detailDataBound","excelAggregateQueryCellInfo","excelExportComplete","excelHeaderQueryCellInfo","excelQueryCellInfo","exportDetailDataBound","exportGroupCaption","headerCellInfo","keyPressed","lazyLoadGroupCollapse","lazyLoadGroupExpand","load","pdfAggregateQueryCellInfo","pdfExportComplete","pdfHeaderQueryCellInfo","pdfQueryCellInfo","printComplete","queryCellInfo","recordClick","recordDoubleClick","resizeStart","resizeStop","resizing","rowDataBound","rowDeselected","rowDeselecting","rowDrag","rowDragStart","rowDragStartHelper","rowDrop","rowSelected","rowSelecting","toolbarClick"],M=["dataSource"],O=function(e){function n(){var n=e.call(this,arguments)||this;return n.propKeys=F,n.models=M,n.hasChildDirective=!0,n.hasInjectedModules=!0,n.tagMapper={"e-columns":{"e-column":{"e-stacked-columns":"e-stacked-column"}},"e-aggregates":{"e-aggregate":{"e-columns":"e-column"}}},n.tagNameMapper={"e-stacked-columns":"e-columns"},n.ej2Instances=new t.Grid({}),n.ej2Instances._trigger=n.ej2Instances.trigger,n.ej2Instances.trigger=n.trigger,n.bindProperties(),n.ej2Instances._setProperties=n.ej2Instances.setProperties,n.ej2Instances.setProperties=n.setProperties,n.ej2Instances.clearTemplate=n.clearTemplate,n.updated=n.updated,n}return D(n,e),n.prototype.clearTemplate=function(e){if(e||(e=Object.keys(this.templateCollection||{})),e.length&&this.templateCollection)for(var t=0,n=e;t<n.length;t++){var o=n[t],s=this.templateCollection[o];if(s&&s.length){for(var i=0,c=s;i<c.length;i++){var a=c[i];r.getValue("__vue__.$destroy",a)&&a.__vue__.$destroy(),a.innerHTML&&(a.innerHTML="")}delete this.templateCollection[o]}}},n.prototype.setProperties=function(e,t){var n=this;this.ej2Instances&&this.ej2Instances._setProperties&&this.ej2Instances._setProperties(e,t),e&&this.models&&this.models.length&&Object.keys(e).map(function(t){n.models.map(function(o){t!==o||/datasource/i.test(t)||n.$emit("update:"+t,e[t])})})},n.prototype.trigger=function(e,t,n){if("change"!==e&&"input"!==e||!this.models||0===this.models.length){if("actionBegin"===e&&"dateNavigate"===t.requestType&&this.models&&0!==this.models.length){s=(o=this.models.toString().match(/currentView|selectedDate/)||[])[0];t&&o&&!r.isUndefined(t[s])&&(this.$emit("update:"+s,t[s]),this.$emit("modelchanged",t[s]))}}else{var o,s=(o=this.models.toString().match(/checked|value/)||[])[0];t&&o&&!r.isUndefined(t[s])&&(this.$emit("update:"+s,t[s]),this.$emit("modelchanged",t[s]))}this.ej2Instances&&this.ej2Instances._trigger&&this.ej2Instances._trigger(e,t,n)},n.prototype.render=function(e){return e("div",this.$slots.default)},n.prototype.custom=function(){this.updated()},n.prototype.addRecord=function(e,t){return this.ej2Instances.addRecord(e,t)},n.prototype.addShimmerEffect=function(){return this.ej2Instances.addShimmerEffect()},n.prototype.autoFitColumns=function(e){return this.ej2Instances.autoFitColumns(e)},n.prototype.batchAsyncUpdate=function(e){return this.ej2Instances.batchAsyncUpdate(e)},n.prototype.batchUpdate=function(e){return this.ej2Instances.batchUpdate(e)},n.prototype.calculatePageSizeByParentHeight=function(e){return this.ej2Instances.calculatePageSizeByParentHeight(e)},n.prototype.clearCellSelection=function(){return this.ej2Instances.clearCellSelection()},n.prototype.clearFiltering=function(e){return this.ej2Instances.clearFiltering(e)},n.prototype.clearGrouping=function(){return this.ej2Instances.clearGrouping()},n.prototype.clearRowSelection=function(){return this.ej2Instances.clearRowSelection()},n.prototype.clearSelection=function(){return this.ej2Instances.clearSelection()},n.prototype.clearSorting=function(){return this.ej2Instances.clearSorting()},n.prototype.closeEdit=function(){return this.ej2Instances.closeEdit()},n.prototype.copy=function(e){return this.ej2Instances.copy(e)},n.prototype.csvExport=function(e,t,n,o){return this.ej2Instances.csvExport(e,t,n,o)},n.prototype.dataReady=function(){return this.ej2Instances.dataReady()},n.prototype.deleteRecord=function(e,t){return this.ej2Instances.deleteRecord(e,t)},n.prototype.deleteRow=function(e){return this.ej2Instances.deleteRow(e)},n.prototype.destroyTemplate=function(e,t){return this.ej2Instances.destroyTemplate(e,t)},n.prototype.detailCollapseAll=function(){return this.ej2Instances.detailCollapseAll()},n.prototype.detailExpandAll=function(){return this.ej2Instances.detailExpandAll()},n.prototype.editCell=function(e,t){return this.ej2Instances.editCell(e,t)},n.prototype.enableToolbarItems=function(e,t){return this.ej2Instances.enableToolbarItems(e,t)},n.prototype.endEdit=function(){return this.ej2Instances.endEdit()},n.prototype.excelExport=function(e,t,n,o){return this.ej2Instances.excelExport(e,t,n,o)},n.prototype.extendRequiredModules=function(e){return this.ej2Instances.extendRequiredModules(e)},n.prototype.filterByColumn=function(e,t,n,o,r,s,i,c){return this.ej2Instances.filterByColumn(e,t,n,o,r,s,i,c)},n.prototype.getBatchChanges=function(){return this.ej2Instances.getBatchChanges()},n.prototype.getCellFromIndex=function(e,t){return this.ej2Instances.getCellFromIndex(e,t)},n.prototype.getColumnByField=function(e){return this.ej2Instances.getColumnByField(e)},n.prototype.getColumnByUid=function(e){return this.ej2Instances.getColumnByUid(e)},n.prototype.getColumnFieldNames=function(){return this.ej2Instances.getColumnFieldNames()},n.prototype.getColumnHeaderByField=function(e){return this.ej2Instances.getColumnHeaderByField(e)},n.prototype.getColumnHeaderByIndex=function(e){return this.ej2Instances.getColumnHeaderByIndex(e)},n.prototype.getColumnHeaderByUid=function(e){return this.ej2Instances.getColumnHeaderByUid(e)},n.prototype.getColumnIndexByField=function(e){return this.ej2Instances.getColumnIndexByField(e)},n.prototype.getColumnIndexByUid=function(e){return this.ej2Instances.getColumnIndexByUid(e)},n.prototype.getColumns=function(e){return this.ej2Instances.getColumns(e)},n.prototype.getContent=function(){return this.ej2Instances.getContent()},n.prototype.getContentTable=function(){return this.ej2Instances.getContentTable()},n.prototype.getCurrentViewRecords=function(){return this.ej2Instances.getCurrentViewRecords()},n.prototype.getDataModule=function(){return this.ej2Instances.getDataModule()},n.prototype.getDataRows=function(){return this.ej2Instances.getDataRows()},n.prototype.getFilterUIInfo=function(){return this.ej2Instances.getFilterUIInfo()},n.prototype.getFilteredRecords=function(){return this.ej2Instances.getFilteredRecords()},n.prototype.getFooterContent=function(){return this.ej2Instances.getFooterContent()},n.prototype.getFooterContentTable=function(){return this.ej2Instances.getFooterContentTable()},n.prototype.getForeignKeyColumns=function(){return this.ej2Instances.getForeignKeyColumns()},n.prototype.getFrozenDataRows=function(){return this.ej2Instances.getFrozenDataRows()},n.prototype.getFrozenLeftColumnHeaderByIndex=function(e){return this.ej2Instances.getFrozenLeftColumnHeaderByIndex(e)},n.prototype.getFrozenLeftCount=function(){return this.ej2Instances.getFrozenLeftCount()},n.prototype.getFrozenMode=function(){return this.ej2Instances.getFrozenMode()},n.prototype.getFrozenRightCellFromIndex=function(e,t){return this.ej2Instances.getFrozenRightCellFromIndex(e,t)},n.prototype.getFrozenRightColumnHeaderByIndex=function(e){return this.ej2Instances.getFrozenRightColumnHeaderByIndex(e)},n.prototype.getFrozenRightDataRows=function(){return this.ej2Instances.getFrozenRightDataRows()},n.prototype.getFrozenRightRowByIndex=function(e){return this.ej2Instances.getFrozenRightRowByIndex(e)},n.prototype.getFrozenRightRows=function(){return this.ej2Instances.getFrozenRightRows()},n.prototype.getFrozenRowByIndex=function(e){return this.ej2Instances.getFrozenRowByIndex(e)},n.prototype.getHeaderContent=function(){return this.ej2Instances.getHeaderContent()},n.prototype.getHeaderTable=function(){return this.ej2Instances.getHeaderTable()},n.prototype.getHiddenColumns=function(){return this.ej2Instances.getHiddenColumns()},n.prototype.getMediaColumns=function(){return this.ej2Instances.getMediaColumns()},n.prototype.getMovableCellFromIndex=function(e,t){return this.ej2Instances.getMovableCellFromIndex(e,t)},n.prototype.getMovableColumnHeaderByIndex=function(e){return this.ej2Instances.getMovableColumnHeaderByIndex(e)},n.prototype.getMovableDataRows=function(){return this.ej2Instances.getMovableDataRows()},n.prototype.getMovableRowByIndex=function(e){return this.ej2Instances.getMovableRowByIndex(e)},n.prototype.getMovableRows=function(){return this.ej2Instances.getMovableRows()},n.prototype.getPager=function(){return this.ej2Instances.getPager()},n.prototype.getPrimaryKeyFieldNames=function(){return this.ej2Instances.getPrimaryKeyFieldNames()},n.prototype.getRowByIndex=function(e){return this.ej2Instances.getRowByIndex(e)},n.prototype.getRowIndexByPrimaryKey=function(e){return this.ej2Instances.getRowIndexByPrimaryKey(e)},n.prototype.getRowInfo=function(e){return this.ej2Instances.getRowInfo(e)},n.prototype.getRows=function(){return this.ej2Instances.getRows()},n.prototype.getSelectedColumnsUid=function(){return this.ej2Instances.getSelectedColumnsUid()},n.prototype.getSelectedRecords=function(){return this.ej2Instances.getSelectedRecords()},n.prototype.getSelectedRowCellIndexes=function(){return this.ej2Instances.getSelectedRowCellIndexes()},n.prototype.getSelectedRowIndexes=function(){return this.ej2Instances.getSelectedRowIndexes()},n.prototype.getSelectedRows=function(){return this.ej2Instances.getSelectedRows()},n.prototype.getSummaryValues=function(e,t){return this.ej2Instances.getSummaryValues(e,t)},n.prototype.getUidByColumnField=function(e){return this.ej2Instances.getUidByColumnField(e)},n.prototype.getVisibleColumns=function(){return this.ej2Instances.getVisibleColumns()},n.prototype.goToPage=function(e){return this.ej2Instances.goToPage(e)},n.prototype.groupCollapseAll=function(){return this.ej2Instances.groupCollapseAll()},n.prototype.groupColumn=function(e){return this.ej2Instances.groupColumn(e)},n.prototype.groupExpandAll=function(){return this.ej2Instances.groupExpandAll()},n.prototype.hideColumns=function(e,t){return this.ej2Instances.hideColumns(e,t)},n.prototype.hideScroll=function(){return this.ej2Instances.hideScroll()},n.prototype.hideSpinner=function(){return this.ej2Instances.hideSpinner()},n.prototype.isFrozenGrid=function(){return this.ej2Instances.isFrozenGrid()},n.prototype.openColumnChooser=function(e,t){return this.ej2Instances.openColumnChooser(e,t)},n.prototype.pdfExport=function(e,t,n,o){return this.ej2Instances.pdfExport(e,t,n,o)},n.prototype.print=function(){return this.ej2Instances.print()},n.prototype.refresh=function(){return this.ej2Instances.refresh()},n.prototype.refreshColumns=function(){return this.ej2Instances.refreshColumns()},n.prototype.refreshHeader=function(){return this.ej2Instances.refreshHeader()},n.prototype.removeMaskRow=function(){return this.ej2Instances.removeMaskRow()},n.prototype.reorderColumnByIndex=function(e,t){return this.ej2Instances.reorderColumnByIndex(e,t)},n.prototype.reorderColumnByTargetIndex=function(e,t){return this.ej2Instances.reorderColumnByTargetIndex(e,t)},n.prototype.reorderColumns=function(e,t){return this.ej2Instances.reorderColumns(e,t)},n.prototype.reorderRows=function(e,t){return this.ej2Instances.reorderRows(e,t)},n.prototype.saveCell=function(){return this.ej2Instances.saveCell()},n.prototype.search=function(e){return this.ej2Instances.search(e)},n.prototype.selectCell=function(e,t){return this.ej2Instances.selectCell(e,t)},n.prototype.selectCells=function(e){return this.ej2Instances.selectCells(e)},n.prototype.selectCellsByRange=function(e,t){return this.ej2Instances.selectCellsByRange(e,t)},n.prototype.selectRow=function(e,t){return this.ej2Instances.selectRow(e,t)},n.prototype.selectRows=function(e){return this.ej2Instances.selectRows(e)},n.prototype.selectRowsByRange=function(e,t){return this.ej2Instances.selectRowsByRange(e,t)},n.prototype.serverCsvExport=function(e){return this.ej2Instances.serverCsvExport(e)},n.prototype.serverExcelExport=function(e){return this.ej2Instances.serverExcelExport(e)},n.prototype.serverPdfExport=function(e){return this.ej2Instances.serverPdfExport(e)},n.prototype.setCellValue=function(e,t,n){return this.ej2Instances.setCellValue(e,t,n)},n.prototype.setGridContent=function(e){return this.ej2Instances.setGridContent(e)},n.prototype.setGridContentTable=function(e){return this.ej2Instances.setGridContentTable(e)},n.prototype.setGridHeaderContent=function(e){return this.ej2Instances.setGridHeaderContent(e)},n.prototype.setGridHeaderTable=function(e){return this.ej2Instances.setGridHeaderTable(e)},n.prototype.setGridPager=function(e){return this.ej2Instances.setGridPager(e)},n.prototype.setRowData=function(e,t){return this.ej2Instances.setRowData(e,t)},n.prototype.showAdaptiveFilterDialog=function(){return this.ej2Instances.showAdaptiveFilterDialog()},n.prototype.showAdaptiveSortDialog=function(){return this.ej2Instances.showAdaptiveSortDialog()},n.prototype.showColumns=function(e,t){return this.ej2Instances.showColumns(e,t)},n.prototype.showMaskRow=function(e,t){return this.ej2Instances.showMaskRow(e,t)},n.prototype.showSpinner=function(){return this.ej2Instances.showSpinner()},n.prototype.sortColumn=function(e,t,n){return this.ej2Instances.sortColumn(e,t,n)},n.prototype.startEdit=function(){return this.ej2Instances.startEdit()},n.prototype.ungroupColumn=function(e){return this.ej2Instances.ungroupColumn(e)},n.prototype.updateCell=function(e,t,n){return this.ej2Instances.updateCell(e,t,n)},n.prototype.updateExternalMessage=function(e){return this.ej2Instances.updateExternalMessage(e)},n.prototype.updateRow=function(e,t){return this.ej2Instances.updateRow(e,t)},n.prototype.updateRowValue=function(e,t){return this.ej2Instances.updateRowValue(e,t)},n=B([o.EJComponentDecorator({props:F,model:{event:"modelchanged"}})],n)}(o.ComponentBase),E={name:"ejs-grid",install:function(e){e.component(E.name,O),e.component(y.name,h),e.component(g.name,f),e.component(l.name,u),e.component(a.name,c),e.component(_.name,S),e.component(P.name,x),e.component(b.name,w),e.component(C.name,j)}},z=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),T=function(e,t,n,o){var r,s=arguments.length,i=s<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,t,n,o);else for(var c=e.length-1;c>=0;c--)(r=e[c])&&(i=(s<3?r(i):s>3?r(t,n,i):r(t,n))||i);return s>3&&i&&Object.defineProperty(t,n,i),i},A=["isLazyUpdate","plugins","cssClass","currentPage","customText","enableExternalMessage","enablePagerMessage","enablePersistence","enableQueryString","enableRtl","externalMessage","locale","pageCount","pageSize","pageSizes","template","totalRecordsCount","click","created","dropDownChanged"],H=["currentPage","pageSize","pageCount","pageSizes"],k=function(e){function n(){var n=e.call(this,arguments)||this;return n.propKeys=A,n.models=H,n.hasChildDirective=!1,n.hasInjectedModules=!1,n.tagMapper={},n.tagNameMapper={},n.ej2Instances=new t.Pager({}),n.ej2Instances._trigger=n.ej2Instances.trigger,n.ej2Instances.trigger=n.trigger,n.bindProperties(),n.ej2Instances._setProperties=n.ej2Instances.setProperties,n.ej2Instances.setProperties=n.setProperties,n.ej2Instances.clearTemplate=n.clearTemplate,n.updated=n.updated,n}return z(n,e),n.prototype.clearTemplate=function(e){if(e||(e=Object.keys(this.templateCollection||{})),e.length&&this.templateCollection)for(var t=0,n=e;t<n.length;t++){var o=n[t],s=this.templateCollection[o];if(s&&s.length){for(var i=0,c=s;i<c.length;i++){var a=c[i];r.getValue("__vue__.$destroy",a)&&a.__vue__.$destroy(),a.innerHTML&&(a.innerHTML="")}delete this.templateCollection[o]}}},n.prototype.setProperties=function(e,t){var n=this;this.ej2Instances&&this.ej2Instances._setProperties&&this.ej2Instances._setProperties(e,t),e&&this.models&&this.models.length&&Object.keys(e).map(function(t){n.models.map(function(o){t!==o||/datasource/i.test(t)||n.$emit("update:"+t,e[t])})})},n.prototype.trigger=function(e,t,n){if("change"!==e&&"input"!==e||!this.models||0===this.models.length){if("actionBegin"===e&&"dateNavigate"===t.requestType&&this.models&&0!==this.models.length){s=(o=this.models.toString().match(/currentView|selectedDate/)||[])[0];t&&o&&!r.isUndefined(t[s])&&(this.$emit("update:"+s,t[s]),this.$emit("modelchanged",t[s]))}}else{var o,s=(o=this.models.toString().match(/checked|value/)||[])[0];t&&o&&!r.isUndefined(t[s])&&(this.$emit("update:"+s,t[s]),this.$emit("modelchanged",t[s]))}this.ej2Instances&&this.ej2Instances._trigger&&this.ej2Instances._trigger(e,t,n)},n.prototype.render=function(e){return e("div",this.$slots.default)},n.prototype.custom=function(){this.updated()},n.prototype.destroyTemplate=function(e,t){return this.ej2Instances.destroyTemplate(e,t)},n.prototype.getLocalizedLabel=function(e){return this.ej2Instances.getLocalizedLabel(e)},n.prototype.goToPage=function(e){return this.ej2Instances.goToPage(e)},n.prototype.refresh=function(){return this.ej2Instances.refresh()},n=T([o.EJComponentDecorator({props:A,model:{event:"modelchanged"}})],n)}(o.ComponentBase),G={name:"ejs-pager",install:function(e){e.component(G.name,k)}};e.StackedColumnsDirective=c,e.StackedColumnDirective=u,e.StackedColumnsPlugin=a,e.StackedColumnPlugin=l,e.ColumnsDirective=f,e.ColumnDirective=h,e.ColumnsPlugin=g,e.ColumnPlugin=y,e.AggregateColumnsDirective=j,e.AggregateColumnDirective=w,e.AggregateColumnsPlugin=C,e.AggregateColumnPlugin=b,e.AggregatesDirective=x,e.AggregateDirective=S,e.AggregatesPlugin=P,e.AggregatePlugin=_,e.GridComponent=O,e.GridPlugin=E,e.PagerComponent=k,e.PagerPlugin=G,Object.keys(t).forEach(function(n){e[n]=t[n]}),Object.defineProperty(e,"__esModule",{value:!0})});
|
|
10
|
+
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@syncfusion/ej2-grids"),require("@syncfusion/ej2-vue-base"),require("@syncfusion/ej2-base")):"function"==typeof define&&define.amd?define(["exports","@syncfusion/ej2-grids","@syncfusion/ej2-vue-base","@syncfusion/ej2-base"],t):t(e.ej={},e.ej2Grids,e.ej2VueBase,e.ej2Base)}(this,function(e,t,n,s){"use strict";var i=n.vueDefineComponent({inject:{custom:{default:null}},render:function(e){if(!n.isExecute){var t=n.isExecute?e:n.gh,i=null;return s.isNullOrUndefined(this.$slots.default)||(i=n.isExecute?this.$slots.default:this.$slots.default()),t("div",{class:"e-directive"},i)}},updated:function(){!n.isExecute&&this.custom&&this.custom()},methods:{getTag:function(){return"e-stacked-columns"}}}),o={name:"e-stacked-columns",install:function(e){e.component(o.name,i)}},r=n.vueDefineComponent({render:function(){},methods:{getTag:function(){return"e-stacked-column"}}}),a={name:"e-stacked-column",install:function(e){e.component(a.name,r)}},c=n.vueDefineComponent({inject:{custom:{default:null}},render:function(e){if(!n.isExecute){var t=n.isExecute?e:n.gh,i=null;return s.isNullOrUndefined(this.$slots.default)||(i=n.isExecute?this.$slots.default:this.$slots.default()),t("div",{class:"e-directive"},i)}},updated:function(){!n.isExecute&&this.custom&&this.custom()},methods:{getTag:function(){return"e-columns"}}}),u={name:"e-columns",install:function(e){e.component(u.name,c)}},l=n.vueDefineComponent({render:function(){},methods:{getTag:function(){return"e-column"}}}),d={name:"e-column",install:function(e){e.component(d.name,l)}},h=n.vueDefineComponent({inject:{custom:{default:null}},render:function(e){if(!n.isExecute){var t=n.isExecute?e:n.gh,i=null;return s.isNullOrUndefined(this.$slots.default)||(i=n.isExecute?this.$slots.default:this.$slots.default()),t("div",{class:"e-directive"},i)}},updated:function(){!n.isExecute&&this.custom&&this.custom()},methods:{getTag:function(){return"e-columns"}}}),g={name:"e-columns",install:function(e){e.component(g.name,h)}},m=n.vueDefineComponent({render:function(){},methods:{getTag:function(){return"e-column"}}}),f={name:"e-column",install:function(e){e.component(f.name,m)}},p=n.vueDefineComponent({inject:{custom:{default:null}},render:function(e){if(!n.isExecute){var t=n.isExecute?e:n.gh,i=null;return s.isNullOrUndefined(this.$slots.default)||(i=n.isExecute?this.$slots.default:this.$slots.default()),t("div",{class:"e-directive"},i)}},updated:function(){!n.isExecute&&this.custom&&this.custom()},methods:{getTag:function(){return"e-aggregates"}}}),I={name:"e-aggregates",install:function(e){e.component(I.name,p)}},j=n.vueDefineComponent({render:function(){},methods:{getTag:function(){return"e-aggregate"}}}),C={name:"e-aggregate",install:function(e){e.component(C.name,j)}},x=["isLazyUpdate","plugins","aggregates","allowExcelExport","allowFiltering","allowGrouping","allowKeyboard","allowMultiSorting","allowPaging","allowPdfExport","allowReordering","allowResizing","allowRowDragAndDrop","allowSelection","allowSorting","allowTextWrap","autoFit","childGrid","clipMode","columnChooserSettings","columnMenuItems","columnQueryMode","columns","contextMenuItems","cssClass","currencyCode","currentAction","currentViewData","dataSource","detailTemplate","editSettings","ej2StatePersistenceVersion","enableAdaptiveUI","enableAltRow","enableAutoFill","enableColumnVirtualization","enableHeaderFocus","enableHover","enableHtmlSanitizer","enableImmutableMode","enableInfiniteScrolling","enablePersistence","enableRtl","enableStickyHeader","enableVirtualMaskRow","enableVirtualization","filterSettings","frozenColumns","frozenRows","gridLines","groupSettings","height","hierarchyPrintMode","infiniteScrollSettings","loadingIndicator","locale","pageSettings","pagerTemplate","parentDetails","printMode","query","queryString","resizeSettings","rowDropSettings","rowHeight","rowRenderingMode","rowTemplate","searchSettings","selectedRowIndex","selectionSettings","showColumnChooser","showColumnMenu","showHider","sortSettings","textWrapSettings","toolbar","toolbarTemplate","width","actionBegin","actionComplete","actionFailure","batchAdd","batchCancel","batchDelete","beforeAutoFill","beforeBatchAdd","beforeBatchDelete","beforeBatchSave","beforeCopy","beforeDataBound","beforeExcelExport","beforeOpenAdaptiveDialog","beforeOpenColumnChooser","beforePaste","beforePdfExport","beforePrint","beginEdit","cellDeselected","cellDeselecting","cellEdit","cellSave","cellSaved","cellSelected","cellSelecting","checkBoxChange","columnDataStateChange","columnDeselected","columnDeselecting","columnDrag","columnDragStart","columnDrop","columnMenuClick","columnMenuOpen","columnSelected","columnSelecting","commandClick","contextMenuClick","contextMenuOpen","created","dataBound","dataSourceChanged","dataStateChange","destroyed","detailDataBound","excelAggregateQueryCellInfo","excelExportComplete","excelHeaderQueryCellInfo","excelQueryCellInfo","exportDetailDataBound","exportGroupCaption","headerCellInfo","keyPressed","lazyLoadGroupCollapse","lazyLoadGroupExpand","load","pdfAggregateQueryCellInfo","pdfExportComplete","pdfHeaderQueryCellInfo","pdfQueryCellInfo","printComplete","queryCellInfo","recordClick","recordDoubleClick","resizeStart","resizeStop","resizing","rowDataBound","rowDeselected","rowDeselecting","rowDrag","rowDragStart","rowDragStartHelper","rowDrop","rowSelected","rowSelecting","toolbarClick"],v=["dataSource"],y=n.getProps({props:x}),w=y[0],R=y[1],b=Object.keys(R);b.push("modelchanged","update:modelValue");for(var S=0,D=v;S<D.length;S++){var E=D[S];b.push("update:"+E)}var P=n.vueDefineComponent({name:"GridComponent",mixins:[n.ComponentBase],props:w,watch:R,emits:b,model:{event:"modelchanged"},provide:function(){return{custom:this.custom}},data:function(){return{ej2Instances:new t.Grid({}),propKeys:x,models:v,hasChildDirective:!0,hasInjectedModules:!0,tagMapper:{"e-columns":{"e-column":{"e-stacked-columns":"e-stacked-column"}},"e-aggregates":{"e-aggregate":{"e-columns":"e-column"}}},tagNameMapper:{"e-stacked-columns":"e-columns"},isVue3:!n.isExecute,templateCollection:{}}},created:function(){this.ej2Instances._trigger=this.ej2Instances.trigger,this.ej2Instances.trigger=this.trigger,this.bindProperties(),this.ej2Instances._setProperties=this.ej2Instances.setProperties,this.ej2Instances.setProperties=this.setProperties,this.ej2Instances.clearTemplate=this.clearTemplate,this.updated=this.updated},render:function(e){var t=n.isExecute?e:n.gh,i=null;return s.isNullOrUndefined(this.$slots.default)||(i=n.isExecute?this.$slots.default:this.$slots.default()),t("div",i)},methods:{clearTemplate:function(e){if(e||(e=Object.keys(this.templateCollection||{})),e.length&&this.templateCollection)for(var t=0,n=e;t<n.length;t++){var i=n[t],o=this.templateCollection[i];if(o&&o.length){for(var r=0,a=o;r<a.length;r++){var c=a[r];s.getValue("__vue__.$destroy",c)&&c.__vue__.$destroy(),c.innerHTML&&(c.innerHTML="")}delete this.templateCollection[i]}}},setProperties:function(e,t){var n=this;this.isVue3&&(this.models=this.models?this.models:this.ej2Instances.referModels),this.ej2Instances&&this.ej2Instances._setProperties&&this.ej2Instances._setProperties(e,t),e&&this.models&&this.models.length&&Object.keys(e).map(function(t){n.models.map(function(s){t!==s||/datasource/i.test(t)||(n.isVue3?n.ej2Instances.vueInstance.$emit("update:"+t,e[t]):(n.$emit("update:"+t,e[t]),n.$emit("modelchanged",e[t])))})})},trigger:function(e,t,i){if(n.isExecute||(this.models=this.models?this.models:this.ej2Instances.referModels),"change"!==e&&"input"!==e||!this.models||0===this.models.length){if("actionBegin"===e&&"dateNavigate"===t.requestType&&this.models&&0!==this.models.length){r=(o=this.models.toString().match(/currentView|selectedDate/)||[])[0];t&&o&&!s.isUndefined(t[r])&&(n.isExecute?(this.$emit("update:"+r,t[r]),this.$emit("modelchanged",t[r])):(this.ej2Instances.vueInstance.$emit("update:"+r,t[r]),this.ej2Instances.vueInstance.$emit("modelchanged",t[r])))}}else{var o,r=(o=this.models.toString().match(/checked|value/)||[])[0];t&&o&&!s.isUndefined(t[r])&&(n.isExecute?("change"===e||this.$props&&!this.$props.isLazyUpdate)&&(this.$emit("update:"+r,t[r]),this.$emit("modelchanged",t[r])):(this.ej2Instances.vueInstance.$emit("update:"+r,t[r]),this.ej2Instances.vueInstance.$emit("modelchanged",t[r]),this.ej2Instances.vueInstance.$emit("update:modelValue",t[r])))}this.ej2Instances&&this.ej2Instances._trigger&&this.ej2Instances._trigger(e,t,i)},custom:function(){this.updated()},addRecord:function(e,t){return this.ej2Instances.addRecord(e,t)},addShimmerEffect:function(){return this.ej2Instances.addShimmerEffect()},autoFitColumns:function(e){return this.ej2Instances.autoFitColumns(e)},batchAsyncUpdate:function(e){return this.ej2Instances.batchAsyncUpdate(e)},batchUpdate:function(e){return this.ej2Instances.batchUpdate(e)},calculatePageSizeByParentHeight:function(e){return this.ej2Instances.calculatePageSizeByParentHeight(e)},changeDataSource:function(e,t){return this.ej2Instances.changeDataSource(e,t)},clearCellSelection:function(){return this.ej2Instances.clearCellSelection()},clearFiltering:function(e){return this.ej2Instances.clearFiltering(e)},clearGrouping:function(){return this.ej2Instances.clearGrouping()},clearRowSelection:function(){return this.ej2Instances.clearRowSelection()},clearSelection:function(){return this.ej2Instances.clearSelection()},clearSorting:function(){return this.ej2Instances.clearSorting()},closeEdit:function(){return this.ej2Instances.closeEdit()},copy:function(e){return this.ej2Instances.copy(e)},csvExport:function(e,t,n,s){return this.ej2Instances.csvExport(e,t,n,s)},dataReady:function(){return this.ej2Instances.dataReady()},deleteRecord:function(e,t){return this.ej2Instances.deleteRecord(e,t)},deleteRow:function(e){return this.ej2Instances.deleteRow(e)},destroyTemplate:function(e,t){return this.ej2Instances.destroyTemplate(e,t)},detailCollapseAll:function(){return this.ej2Instances.detailCollapseAll()},detailExpandAll:function(){return this.ej2Instances.detailExpandAll()},editCell:function(e,t){return this.ej2Instances.editCell(e,t)},enableToolbarItems:function(e,t){return this.ej2Instances.enableToolbarItems(e,t)},endEdit:function(){return this.ej2Instances.endEdit()},excelExport:function(e,t,n,s){return this.ej2Instances.excelExport(e,t,n,s)},extendRequiredModules:function(e){return this.ej2Instances.extendRequiredModules(e)},filterByColumn:function(e,t,n,s,i,o,r,a){return this.ej2Instances.filterByColumn(e,t,n,s,i,o,r,a)},getBatchChanges:function(){return this.ej2Instances.getBatchChanges()},getCellFromIndex:function(e,t){return this.ej2Instances.getCellFromIndex(e,t)},getColumnByField:function(e){return this.ej2Instances.getColumnByField(e)},getColumnByUid:function(e){return this.ej2Instances.getColumnByUid(e)},getColumnFieldNames:function(){return this.ej2Instances.getColumnFieldNames()},getColumnHeaderByField:function(e){return this.ej2Instances.getColumnHeaderByField(e)},getColumnHeaderByIndex:function(e){return this.ej2Instances.getColumnHeaderByIndex(e)},getColumnHeaderByUid:function(e){return this.ej2Instances.getColumnHeaderByUid(e)},getColumnIndexByField:function(e){return this.ej2Instances.getColumnIndexByField(e)},getColumnIndexByUid:function(e){return this.ej2Instances.getColumnIndexByUid(e)},getColumns:function(e){return this.ej2Instances.getColumns(e)},getContent:function(){return this.ej2Instances.getContent()},getContentTable:function(){return this.ej2Instances.getContentTable()},getCurrentViewRecords:function(){return this.ej2Instances.getCurrentViewRecords()},getDataModule:function(){return this.ej2Instances.getDataModule()},getDataRows:function(){return this.ej2Instances.getDataRows()},getFilterUIInfo:function(){return this.ej2Instances.getFilterUIInfo()},getFilteredRecords:function(){return this.ej2Instances.getFilteredRecords()},getFooterContent:function(){return this.ej2Instances.getFooterContent()},getFooterContentTable:function(){return this.ej2Instances.getFooterContentTable()},getForeignKeyColumns:function(){return this.ej2Instances.getForeignKeyColumns()},getFrozenDataRows:function(){return this.ej2Instances.getFrozenDataRows()},getFrozenLeftColumnHeaderByIndex:function(e){return this.ej2Instances.getFrozenLeftColumnHeaderByIndex(e)},getFrozenLeftCount:function(){return this.ej2Instances.getFrozenLeftCount()},getFrozenMode:function(){return this.ej2Instances.getFrozenMode()},getFrozenRightCellFromIndex:function(e,t){return this.ej2Instances.getFrozenRightCellFromIndex(e,t)},getFrozenRightColumnHeaderByIndex:function(e){return this.ej2Instances.getFrozenRightColumnHeaderByIndex(e)},getFrozenRightDataRows:function(){return this.ej2Instances.getFrozenRightDataRows()},getFrozenRightRowByIndex:function(e){return this.ej2Instances.getFrozenRightRowByIndex(e)},getFrozenRightRows:function(){return this.ej2Instances.getFrozenRightRows()},getFrozenRowByIndex:function(e){return this.ej2Instances.getFrozenRowByIndex(e)},getHeaderContent:function(){return this.ej2Instances.getHeaderContent()},getHeaderTable:function(){return this.ej2Instances.getHeaderTable()},getHiddenColumns:function(){return this.ej2Instances.getHiddenColumns()},getMediaColumns:function(){return this.ej2Instances.getMediaColumns()},getMovableCellFromIndex:function(e,t){return this.ej2Instances.getMovableCellFromIndex(e,t)},getMovableColumnHeaderByIndex:function(e){return this.ej2Instances.getMovableColumnHeaderByIndex(e)},getMovableDataRows:function(){return this.ej2Instances.getMovableDataRows()},getMovableRowByIndex:function(e){return this.ej2Instances.getMovableRowByIndex(e)},getMovableRows:function(){return this.ej2Instances.getMovableRows()},getPager:function(){return this.ej2Instances.getPager()},getPrimaryKeyFieldNames:function(){return this.ej2Instances.getPrimaryKeyFieldNames()},getRowByIndex:function(e){return this.ej2Instances.getRowByIndex(e)},getRowIndexByPrimaryKey:function(e){return this.ej2Instances.getRowIndexByPrimaryKey(e)},getRowInfo:function(e){return this.ej2Instances.getRowInfo(e)},getRows:function(){return this.ej2Instances.getRows()},getSelectedColumnsUid:function(){return this.ej2Instances.getSelectedColumnsUid()},getSelectedRecords:function(){return this.ej2Instances.getSelectedRecords()},getSelectedRowCellIndexes:function(){return this.ej2Instances.getSelectedRowCellIndexes()},getSelectedRowIndexes:function(){return this.ej2Instances.getSelectedRowIndexes()},getSelectedRows:function(){return this.ej2Instances.getSelectedRows()},getSummaryValues:function(e,t){return this.ej2Instances.getSummaryValues(e,t)},getUidByColumnField:function(e){return this.ej2Instances.getUidByColumnField(e)},getVisibleColumns:function(){return this.ej2Instances.getVisibleColumns()},goToPage:function(e){return this.ej2Instances.goToPage(e)},groupCollapseAll:function(){return this.ej2Instances.groupCollapseAll()},groupColumn:function(e){return this.ej2Instances.groupColumn(e)},groupExpandAll:function(){return this.ej2Instances.groupExpandAll()},hideColumns:function(e,t){return this.ej2Instances.hideColumns(e,t)},hideScroll:function(){return this.ej2Instances.hideScroll()},hideSpinner:function(){return this.ej2Instances.hideSpinner()},isFrozenGrid:function(){return this.ej2Instances.isFrozenGrid()},openColumnChooser:function(e,t){return this.ej2Instances.openColumnChooser(e,t)},pdfExport:function(e,t,n,s){return this.ej2Instances.pdfExport(e,t,n,s)},print:function(){return this.ej2Instances.print()},refresh:function(){return this.ej2Instances.refresh()},refreshColumns:function(){return this.ej2Instances.refreshColumns()},refreshHeader:function(){return this.ej2Instances.refreshHeader()},removeMaskRow:function(){return this.ej2Instances.removeMaskRow()},reorderColumnByIndex:function(e,t){return this.ej2Instances.reorderColumnByIndex(e,t)},reorderColumnByTargetIndex:function(e,t){return this.ej2Instances.reorderColumnByTargetIndex(e,t)},reorderColumns:function(e,t){return this.ej2Instances.reorderColumns(e,t)},reorderRows:function(e,t){return this.ej2Instances.reorderRows(e,t)},saveCell:function(){return this.ej2Instances.saveCell()},search:function(e){return this.ej2Instances.search(e)},selectCell:function(e,t){return this.ej2Instances.selectCell(e,t)},selectCells:function(e){return this.ej2Instances.selectCells(e)},selectCellsByRange:function(e,t){return this.ej2Instances.selectCellsByRange(e,t)},selectRow:function(e,t){return this.ej2Instances.selectRow(e,t)},selectRows:function(e){return this.ej2Instances.selectRows(e)},selectRowsByRange:function(e,t){return this.ej2Instances.selectRowsByRange(e,t)},serverCsvExport:function(e){return this.ej2Instances.serverCsvExport(e)},serverExcelExport:function(e){return this.ej2Instances.serverExcelExport(e)},serverPdfExport:function(e){return this.ej2Instances.serverPdfExport(e)},setCellValue:function(e,t,n){return this.ej2Instances.setCellValue(e,t,n)},setGridContent:function(e){return this.ej2Instances.setGridContent(e)},setGridContentTable:function(e){return this.ej2Instances.setGridContentTable(e)},setGridHeaderContent:function(e){return this.ej2Instances.setGridHeaderContent(e)},setGridHeaderTable:function(e){return this.ej2Instances.setGridHeaderTable(e)},setGridPager:function(e){return this.ej2Instances.setGridPager(e)},setRowData:function(e,t){return this.ej2Instances.setRowData(e,t)},showAdaptiveFilterDialog:function(){return this.ej2Instances.showAdaptiveFilterDialog()},showAdaptiveSortDialog:function(){return this.ej2Instances.showAdaptiveSortDialog()},showColumns:function(e,t){return this.ej2Instances.showColumns(e,t)},showMaskRow:function(e,t){return this.ej2Instances.showMaskRow(e,t)},showSpinner:function(){return this.ej2Instances.showSpinner()},sortColumn:function(e,t,n){return this.ej2Instances.sortColumn(e,t,n)},startEdit:function(){return this.ej2Instances.startEdit()},ungroupColumn:function(e){return this.ej2Instances.ungroupColumn(e)},updateCell:function(e,t,n){return this.ej2Instances.updateCell(e,t,n)},updateExternalMessage:function(e){return this.ej2Instances.updateExternalMessage(e)},updateRow:function(e,t){return this.ej2Instances.updateRow(e,t)},updateRowValue:function(e,t){return this.ej2Instances.updateRowValue(e,t)}}}),B={name:"ejs-grid",install:function(e){e.component(B.name,P),e.component(d.name,l),e.component(u.name,c),e.component(a.name,r),e.component(o.name,i),e.component(C.name,j),e.component(I.name,p),e.component(f.name,m),e.component(g.name,h)}},F=["isLazyUpdate","plugins","cssClass","currentPage","customText","enableExternalMessage","enablePagerMessage","enablePersistence","enableQueryString","enableRtl","externalMessage","locale","pageCount","pageSize","pageSizes","template","totalRecordsCount","click","created","dropDownChanged"],M=["currentPage","pageSize","pageCount","pageSizes"],$=n.getProps({props:F}),T=$[0],z=$[1],H=Object.keys(z);H.push("modelchanged","update:modelValue");for(var k=0,A=M;k<A.length;k++){var U=A[k];H.push("update:"+U)}var V=n.vueDefineComponent({name:"PagerComponent",mixins:[n.ComponentBase],props:T,watch:z,emits:H,model:{event:"modelchanged"},provide:function(){return{custom:this.custom}},data:function(){return{ej2Instances:new t.Pager({}),propKeys:F,models:M,hasChildDirective:!1,hasInjectedModules:!1,tagMapper:{},tagNameMapper:{},isVue3:!n.isExecute,templateCollection:{}}},created:function(){this.ej2Instances._trigger=this.ej2Instances.trigger,this.ej2Instances.trigger=this.trigger,this.bindProperties(),this.ej2Instances._setProperties=this.ej2Instances.setProperties,this.ej2Instances.setProperties=this.setProperties,this.ej2Instances.clearTemplate=this.clearTemplate,this.updated=this.updated},render:function(e){var t=n.isExecute?e:n.gh,i=null;return s.isNullOrUndefined(this.$slots.default)||(i=n.isExecute?this.$slots.default:this.$slots.default()),t("div",i)},methods:{clearTemplate:function(e){if(e||(e=Object.keys(this.templateCollection||{})),e.length&&this.templateCollection)for(var t=0,n=e;t<n.length;t++){var i=n[t],o=this.templateCollection[i];if(o&&o.length){for(var r=0,a=o;r<a.length;r++){var c=a[r];s.getValue("__vue__.$destroy",c)&&c.__vue__.$destroy(),c.innerHTML&&(c.innerHTML="")}delete this.templateCollection[i]}}},setProperties:function(e,t){var n=this;this.isVue3&&(this.models=this.models?this.models:this.ej2Instances.referModels),this.ej2Instances&&this.ej2Instances._setProperties&&this.ej2Instances._setProperties(e,t),e&&this.models&&this.models.length&&Object.keys(e).map(function(t){n.models.map(function(s){t!==s||/datasource/i.test(t)||(n.isVue3?n.ej2Instances.vueInstance.$emit("update:"+t,e[t]):(n.$emit("update:"+t,e[t]),n.$emit("modelchanged",e[t])))})})},trigger:function(e,t,i){if(n.isExecute||(this.models=this.models?this.models:this.ej2Instances.referModels),"change"!==e&&"input"!==e||!this.models||0===this.models.length){if("actionBegin"===e&&"dateNavigate"===t.requestType&&this.models&&0!==this.models.length){r=(o=this.models.toString().match(/currentView|selectedDate/)||[])[0];t&&o&&!s.isUndefined(t[r])&&(n.isExecute?(this.$emit("update:"+r,t[r]),this.$emit("modelchanged",t[r])):(this.ej2Instances.vueInstance.$emit("update:"+r,t[r]),this.ej2Instances.vueInstance.$emit("modelchanged",t[r])))}}else{var o,r=(o=this.models.toString().match(/checked|value/)||[])[0];t&&o&&!s.isUndefined(t[r])&&(n.isExecute?("change"===e||this.$props&&!this.$props.isLazyUpdate)&&(this.$emit("update:"+r,t[r]),this.$emit("modelchanged",t[r])):(this.ej2Instances.vueInstance.$emit("update:"+r,t[r]),this.ej2Instances.vueInstance.$emit("modelchanged",t[r]),this.ej2Instances.vueInstance.$emit("update:modelValue",t[r])))}this.ej2Instances&&this.ej2Instances._trigger&&this.ej2Instances._trigger(e,t,i)},custom:function(){this.updated()},destroyTemplate:function(e,t){return this.ej2Instances.destroyTemplate(e,t)},getLocalizedLabel:function(e){return this.ej2Instances.getLocalizedLabel(e)},goToPage:function(e){return this.ej2Instances.goToPage(e)},refresh:function(){return this.ej2Instances.refresh()}}}),_={name:"ejs-pager",install:function(e){e.component(_.name,V)}};e.StackedColumnsDirective=i,e.StackedColumnDirective=r,e.StackedColumnsPlugin=o,e.StackedColumnPlugin=a,e.ColumnsDirective=c,e.ColumnDirective=l,e.ColumnsPlugin=u,e.ColumnPlugin=d,e.AggregateColumnsDirective=h,e.AggregateColumnDirective=m,e.AggregateColumnsPlugin=g,e.AggregateColumnPlugin=f,e.AggregatesDirective=p,e.AggregateDirective=j,e.AggregatesPlugin=I,e.AggregatePlugin=C,e.GridComponent=P,e.GridPlugin=B,e.PagerComponent=V,e.PagerPlugin=_,Object.keys(t).forEach(function(n){e[n]=t[n]}),Object.defineProperty(e,"__esModule",{value:!0})});
|
|
11
11
|
//# sourceMappingURL=ej2-vue-grids.umd.min.js.map
|