@syncfusion/ej2-vue-grids 20.4.53 → 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.
Files changed (66) hide show
  1. package/CHANGELOG.md +35 -133
  2. package/dist/ej2-vue-grids.umd.min.js +2 -2
  3. package/dist/ej2-vue-grids.umd.min.js.map +1 -1
  4. package/dist/es6/ej2-vue-grids.es2015.js +704 -881
  5. package/dist/es6/ej2-vue-grids.es2015.js.map +1 -1
  6. package/dist/es6/ej2-vue-grids.es5.js +751 -986
  7. package/dist/es6/ej2-vue-grids.es5.js.map +1 -1
  8. package/dist/global/ej2-vue-grids.min.js +2 -2
  9. package/package.json +9 -9
  10. package/src/grid/aggregate-columns.directive.d.ts +2 -12
  11. package/src/grid/aggregate-columns.directive.js +22 -71
  12. package/src/grid/aggregates.directive.d.ts +2 -12
  13. package/src/grid/aggregates.directive.js +22 -71
  14. package/src/grid/columns.directive.d.ts +2 -12
  15. package/src/grid/columns.directive.js +22 -71
  16. package/src/grid/grid.component.d.ts +3 -155
  17. package/src/grid/grid.component.js +513 -541
  18. package/src/grid/stacked-column.directive.d.ts +2 -12
  19. package/src/grid/stacked-column.directive.js +22 -71
  20. package/src/pager/pager.component.d.ts +3 -29
  21. package/src/pager/pager.component.js +131 -162
  22. package/styles/bootstrap-dark.css +57 -21
  23. package/styles/bootstrap.css +57 -21
  24. package/styles/bootstrap4.css +57 -21
  25. package/styles/bootstrap5-dark.css +59 -23
  26. package/styles/bootstrap5.css +59 -23
  27. package/styles/excel-filter/bootstrap-dark.css +9 -0
  28. package/styles/excel-filter/bootstrap.css +9 -0
  29. package/styles/excel-filter/bootstrap4.css +9 -0
  30. package/styles/excel-filter/bootstrap5-dark.css +9 -0
  31. package/styles/excel-filter/bootstrap5.css +9 -0
  32. package/styles/excel-filter/fabric-dark.css +9 -0
  33. package/styles/excel-filter/fabric.css +9 -0
  34. package/styles/excel-filter/fluent-dark.css +11 -2
  35. package/styles/excel-filter/fluent.css +11 -2
  36. package/styles/excel-filter/highcontrast-light.css +9 -0
  37. package/styles/excel-filter/highcontrast.css +9 -0
  38. package/styles/excel-filter/material-dark.css +9 -0
  39. package/styles/excel-filter/material.css +9 -0
  40. package/styles/excel-filter/tailwind-dark.css +9 -0
  41. package/styles/excel-filter/tailwind.css +9 -0
  42. package/styles/fabric-dark.css +55 -19
  43. package/styles/fabric.css +55 -19
  44. package/styles/fluent-dark.css +85 -33
  45. package/styles/fluent.css +85 -33
  46. package/styles/grid/bootstrap-dark.css +48 -21
  47. package/styles/grid/bootstrap.css +48 -21
  48. package/styles/grid/bootstrap4.css +48 -21
  49. package/styles/grid/bootstrap5-dark.css +50 -23
  50. package/styles/grid/bootstrap5.css +50 -23
  51. package/styles/grid/fabric-dark.css +46 -19
  52. package/styles/grid/fabric.css +46 -19
  53. package/styles/grid/fluent-dark.css +74 -31
  54. package/styles/grid/fluent.css +74 -31
  55. package/styles/grid/highcontrast-light.css +45 -18
  56. package/styles/grid/highcontrast.css +44 -17
  57. package/styles/grid/material-dark.css +50 -23
  58. package/styles/grid/material.css +50 -23
  59. package/styles/grid/tailwind-dark.css +49 -22
  60. package/styles/grid/tailwind.css +49 -22
  61. package/styles/highcontrast-light.css +54 -18
  62. package/styles/highcontrast.css +53 -17
  63. package/styles/material-dark.css +59 -23
  64. package/styles/material.css +59 -23
  65. package/styles/tailwind-dark.css +58 -22
  66. package/styles/tailwind.css +58 -22
package/CHANGELOG.md CHANGED
@@ -4,132 +4,34 @@
4
4
 
5
5
  ### Grid
6
6
 
7
- #### Bug Fixes
8
-
9
- - `#I432092`, `#I438520`, `#I438656`, `#I437702` - Script error thrown when Printing Grid in angular platform has been resolved.
10
- - `#I431502` - Memory leak issue in React platform has been fixed.
11
- - `#I439291` - Improper row height in first row when using grid with `allowTextWrap` and `Infinitescrolling` issue has been resolved.
12
- - `#I436900` - Grid skeleton thrown script error when using detail template with `Infinitescrolling` issue has been resolved.
13
- - `#I436480` - Showing HTML tags in tooltip on hovering the group caption issue has been fixed.
14
- - `#I437570` - Using String Template causes exception issue has been fixed.
15
- - `#F180121` - Grid's Content cropped when rendering with toolbar template inside a card component issue has been fixed.
16
-
17
- ## 20.4.52 (2023-02-28)
18
-
19
- ### Grid
20
-
21
- #### Bug Fixes
22
-
23
- - `#I429268` - Script error thrown on state change, with row template button click has been fixed.
24
- - `#I436447` - Improvement in Excel Filter search action and Custom Filter Dialog has been done.
25
- - `#I439694` - Resolved the issue where selecting columns in column chooser or navigating through columns was not being highlighted.
26
-
27
- ## 20.4.51 (2023-02-21)
28
-
29
- ### Grid
30
-
31
- #### Bug Fixes
32
-
33
- - `#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.
34
- - `#I436131` - Fixed the issue where resize was not working properly in the frozen columns.
35
- - `#I435246`, `#I298601` - Fixed the issue where checkbox selection was not working in the custom binding after performing searching.
36
- - `#I433085` - Fixed the issue where changing the React State in the recordClick event throws a script error when clicking on a template column.
37
- - `#I436040` - Fixed the issue with insert action in Infinite Scrolling in `RemoteSave` Adaptor.
38
- - `#I432276` - Fixed the issue where the row element was not updating properly when updating through the `rowDataBound` event.
39
- - `#I439886` - Resolved the issue where column header misalignment was happening with drag and drop.
40
- - `#I432304` - Fixed the issue where the Grid Component menu filtering was behaving incorrectly.
41
-
42
- ## 20.4.50 (2023-02-14)
43
-
44
- ### Grid
45
-
46
- #### Bug Fixes
47
-
48
- - `#I434411` - Filter menu dialog is not opening on foreign key column when it has filter template issue has been fixed.
49
- - `#I428195` - Two times dialog word repeated in column chooser when using JAWS screen reader issue was fixed.
50
- - `#I430467` - Script error is thrown when show/hide column in Infinite Scrolling Grid with cache mode issue has been fixed.
51
- - `#I431446` - Editing on `ForeignKeyColumn` is not working in frozen grid when `allowEditOnDblClick` is false issue has been fixed.
52
- - `#I435267` - Grid navigation with TAB not working when focus Grid with Alt + J issue has been fixed.
53
- - `#I434619` - Issue with Scrolling in column `virtualization` grid with empty data has been fixed.
54
- - `#I434806` - Misalignment in Grid column when using Text wrap feature with Hierarchy Grid issue has been fixed.
55
- - `#F180026` - New page added, after adding a new row when page size set to 'ALL' issue has been resolved.
56
- - `#F179988` - Dynamic Freeze Column throws script error in batch editing issue has been resolved.
57
-
58
- ## 20.4.49 (2023-02-07)
59
-
60
- ### Grid
61
-
62
- #### Bug Fixes
63
-
64
- - `#I428359` - Fixed issue with previous filtering of other columns being cleared when filtered with "not equal to blank."
65
- - `#I433085`, `#I432020` - Fixed issue with template column appearing blank when React state value changed.
66
- - `#F180302` - Fixed script error when accessing the edit form inside the `actionComplete` event.
67
- - `#I428195` - Fixed issue with drag and drop when dynamically enabling drag and drop and infinite scrolling.
68
- - `#I429045` - Fixed issue with HTML input not working in header template when `allowDragAndDrop` property is enabled.
69
-
70
- ## 20.4.48 (2023-02-01)
71
-
72
- ### Grid
73
-
74
- #### Bug Fixes
75
-
76
- - `#I425349` - Grid toolbar template item focus issue has been fixed.
77
- - `#I413517` - Column menu pop-up is not properly shown with sticky header issue has been fixed.
78
- - `#I426775` - Template items disappear on edit action issue has been fixed.
79
-
80
- ## 20.4.44 (2023-01-18)
81
-
82
- ### Grid
83
-
84
- #### Bug Fixes
85
-
86
- - `#I427528` - First column missing highlight when tabbing into grid issue has been fixed.
87
- - `#I427309` - API document has wrong information issue has been fixed.
88
- - `#I423348` - Autofit on the columns is not work as expected in the frozen grid has been fixed.
89
- - `#I419759` - Column Reordering is not working fine with Frozen column and hidden columns has been fixed.
90
- - `#I416705` - Alignment issue with row drag and drop and frozen columns in stacked headers has been fixed.
91
- - `#I424387` - Misalignment has been fixed when applying auto-fit for frozen columns with `allowtextwrap`.
92
-
93
- ## 20.4.43 (2023-01-10)
94
-
95
- ### Grid
96
-
97
- #### Bug Fixes
98
-
99
- - `#I425228` - Exception is thrown when exporting the grid with custom aggregate issue has been fixed.
100
- - `#F179549` - `colSpan` is not working with Frozen Grid issue has been fixed.
101
- - `#I428130` - Group indent cell width is not properly set has been fixed.
102
- - `#I422144`, `#F177682` - Validation message misalignment issue has been fixed.
103
- - `#I425048` - The last row bottom border issue in grouping has been fixed.
104
- - `#I424343`, `#I424671` - Issue with dynamically changing pager `pageSize` property has been resolved.
105
- - `#I367619` - Added `pageSize` argument for paging action in `actionBegin` and `actionComplete` event.
106
- - `#I414874` - Checkbox state is now reading properly by JAWS screen reader, when select all checkbox is clicked.
107
- - `#I426392` - Grid Column Menu is misplaced in mobile device has been fixed.
108
-
109
- - `#I390960`, `#F171793` - Script error thrown when Exporting (Printing) Grid in `Vue3` platform has been resolved.
110
-
111
- ## 20.4.42 (2023-01-04)
7
+ #### New Features
112
8
 
113
- ### Grid
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.
114
13
 
115
14
  #### Bug Fixes
116
15
 
117
- - `#I422739` - New record ID undefined on Infinite Scroll Grid issue has been fixed.
118
- - `#I423348` - `autoFitColumns` does not work with Frozen Grid issue has been fixed.
119
- - `#I423530` - Row deselection is not working in Virtualization with checkbox column issue has been fixed.
120
- - `#I419838` - Custom filter dialog throws script error when we render filter template issue has been fixed.
121
- - `#I425422` - `Persistence` is not working on `ForeignKeyColumn` filter is fixed.
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).
122
21
 
123
- ## 20.4.40 (2022-12-28)
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).
124
27
 
125
- ### Grid
28
+ #### Breaking Changes
126
29
 
127
- #### Bug Fixes
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.
128
32
 
129
- - `#I423744` - Script error thrown when saving the data with Shimmer effect issue has been fixed.
130
- - `#I422501` - Header tooltip displays when the header text is wrapped and `clipMode` is set issue has been fixed.
131
- - `#I424277` - Ellipsis With Tooltip is now working fine with batch editing.
132
- - `#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.
133
35
 
134
36
  ## 20.4.38 (2022-12-21)
135
37
 
@@ -259,7 +161,7 @@
259
161
  - `#SF-362860` - Last column header cell border issue has been fixed.
260
162
  - `#SF-357202` - Wrong operator while filtering with Excel filter search box is fixed.
261
163
  - `#SF-362140` - Script error while selecting the row with `virtualization` issue has been fixed.
262
- - `#FB-31236` - Multi-column sorting missing sort number indicators issue has been fixed.
164
+ - `#FB-31236` - Multi-column sorting missing sort number indicators issue has been fixed.
263
165
  - `#FB-31556` - Row Height misalignment when show/hide the template column with frozen Grid is fixed.
264
166
  - `#F171116` - Border is not apply properly in the Excel exporting has been fixed.
265
167
 
@@ -302,7 +204,7 @@
302
204
 
303
205
  #### Bug Fixes
304
206
 
305
- - `#I345910` - Sticky header not working when group drop area is hidden has been fixed.
207
+ - `#I345910` - Sticky header not working when group drop area is hidden has been fixed.
306
208
  - `#I357254` - Outline is displayed in excel export has been fixed.
307
209
  - `#FB30729` - Filter dialog position issue when enable virtual scrolling is fixed.
308
210
  - `#I356122` - `actionComplete` event is trigger after row reorder is performed has been fixed.
@@ -524,7 +426,7 @@
524
426
 
525
427
  #### Bug Fixes
526
428
 
527
- - `#F167053` - Border misalignment when adding a row in bottom has been fixed.
429
+ - `#F167053` - Border misalignment when adding a row in bottom has been fixed.
528
430
  - `#I336216` - Cell Selection with box mode is not working properly after filtering, has been fixed.
529
431
  - `#I336097, #I335284` - Virtualization Grid in flex container produce blank space issue has been fixed.
530
432
 
@@ -611,7 +513,7 @@
611
513
  - `#I329350` - Immutable mode doesn’t work for date values issue has been fixed.
612
514
  - `#I329350` - Update the reordered data in immutable mode re-renders multiple rows issue has been fixed.
613
515
  - `#I327293` - CPU takes more usage when export the hierarchy grid issue has been fixed.
614
- - `#FB25510` - Throws script error While grouping the complex columns is fixed.
516
+ - `#FB25510` - Throws script error While grouping the complex columns is fixed.
615
517
 
616
518
  ## 19.1.67 (2021-06-08)
617
519
 
@@ -633,7 +535,7 @@
633
535
  - `#I326727` - Column resize issue with frozen right/left and aggregate has been resolved.
634
536
  - `#I327237` - Empty row appears while hiding/showing columns in `virtualized` grouping grid, has been fixed.
635
537
  - `#I299221` - Frozen part refresh issue with template column has been resolved.
636
- - `#I311142` - Provided internal event to handle queries on custom `ExcelFilter` dataSource.
538
+ - `#I311142` - Provided internal event to handle queries on custom `ExcelFilter` dataSource.
637
539
 
638
540
  - `#I327774, #I327204` - `Vue-es5` grid render issue has been fixed.
639
541
 
@@ -1224,7 +1126,7 @@
1224
1126
 
1225
1127
  #### Bug Fixes
1226
1128
 
1227
- - `#279922, #280077` - Scrollbar when clicking `childgrid` summary row, issue has been fixed.
1129
+ - `#279922, #280077` - Scrollbar when clicking `childgrid` summary row, issue has been fixed.
1228
1130
 
1229
1131
  ## 18.1.57 (2020-06-16)
1230
1132
 
@@ -1328,7 +1230,7 @@
1328
1230
 
1329
1231
  - `#269945, #271023` - `editTemplate` element events are not triggered for movable content.
1330
1232
  - `#273042` - grouping after restoring the persist data issue has been resolved.
1331
- - `#273483, #275002, #275153` - `actionfailure` event error message issue has been fixed.
1233
+ - `#273483, #275002, #275153` - `actionfailure` event error message issue has been fixed.
1332
1234
  - `#273238` - Missing of `headerText` property in the template data has been fixed.
1333
1235
  - `#266631` - Hidden column headers in Grid did not reflect in pdf export while using `includeHiddenColumn` issue has been fixed.
1334
1236
  - `#271911` - column template in angular after print issue has been resolved.
@@ -1373,7 +1275,7 @@
1373
1275
 
1374
1276
  #### Bug Fixes
1375
1277
 
1376
- - `#271625, #272096` - Frozen Grid cell selection issue has been fixed.
1278
+ - `#271625, #272096` - Frozen Grid cell selection issue has been fixed.
1377
1279
  - `#271625` - Grid resize cursor issue with stacked header has been fixed.
1378
1280
  - `#271240` - Batch editing `cellSaved` event after escape key issue has been fixed.
1379
1281
  - `#260390` - Header misalignment in auto wrap enabled Grid with frozen columns has been fixed.
@@ -1575,7 +1477,7 @@
1575
1477
  - `#254164` - Support for `FilterItemTemplate` function like as `ValueAccessor` is given.
1576
1478
  - `#253705` - `Ctrl+A` in Grid does not select the last record in Batch mode issue has been fixed.
1577
1479
  - `#253106` - Error thrown on using `setCellValue` method when row drag and drop is enabled issue has been fixed.
1578
- - `#253398` - Frozen header height discrepancy when setting `rowHeight` and `allowTextWrap` property issue has been fixed.
1480
+ - `#253398` - Frozen header height discrepancy when setting `rowHeight` and `allowTextWrap` property issue has been fixed.
1579
1481
  - `#252923` - Grid footer element is invisible while dynamically bind the Grid dataSource issue has been fixed.
1580
1482
  - `#253614` - Changed the scope of the `filterOperator` variable as public.
1581
1483
 
@@ -1609,7 +1511,7 @@
1609
1511
 
1610
1512
  #### Breaking Changes
1611
1513
 
1612
- - 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.
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.
1613
1515
 
1614
1516
  ## 17.3.21 (2019-10-30)
1615
1517
 
@@ -1806,7 +1708,7 @@
1806
1708
 
1807
1709
  #### Bug Fixes
1808
1710
 
1809
- - `#237403` - Footer template shows proper result when using both group footer and footer template in exported excel document.
1711
+ - `#237403` - Footer template shows proper result when using both group footer and footer template in exported excel document.
1810
1712
  - `#232272` - `RemoteSaveAdaptor` batch changes are now refreshed properly in grid when `ContractResolver` set to `DefaultContractResolver`.
1811
1713
  - `#236337, #234622` - Child grid data is now successfully loads with query property in the `url` adaptor.
1812
1714
  - `#236011` - Selection `api` example is now working properly in the sample browser.
@@ -1816,7 +1718,7 @@
1816
1718
 
1817
1719
  #### Breaking Changes
1818
1720
 
1819
- - 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.
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.
1820
1722
 
1821
1723
  ## 17.2.28-beta (2019-06-27)
1822
1724
 
@@ -2559,7 +2461,7 @@ undefinedThe Grid component is used to display and manipulate tabular data with
2559
2461
  #### Bug Fixes
2560
2462
 
2561
2463
  - Column properties is not persisted after reordering columns resolved.
2562
- - `args.cancel` has included in `rowSelecting` event while select the rows through method and user interaction.
2464
+ - `args.cancel` has included in `rowSelecting` event while select the rows through method and user interaction.
2563
2465
 
2564
2466
  ## 16.1.29 (2018-03-13)
2565
2467
 
@@ -2567,7 +2469,7 @@ undefinedThe Grid component is used to display and manipulate tabular data with
2567
2469
 
2568
2470
  #### Bug Fixes
2569
2471
 
2570
- - `args.cancel` has included in `rowSelecting` event.
2472
+ - `args.cancel` has included in `rowSelecting` event.
2571
2473
  - Dynamically changing filter settings does not update `Filterbar` value and filter status message is resolved.
2572
2474
  - Batch edit should close on clicking outside grid and on pressing enter or tab key is resolved.
2573
2475
  - `updateRow` method is provided for Normal editing and Dialog editing.
@@ -2785,7 +2687,7 @@ Grid component is used to display and manipulate tabular data with configuration
2785
2687
  - **Sorting and grouping** - Supports n levels of sorting and grouping.
2786
2688
  - **Selection** - Provides the option to select the grid rows single or multiple.
2787
2689
  - **Filtering** - Offers filter bar or menu , or checkbox at each column to filter data.
2788
- - **Editing** - Provides the options to dynamically insert, delete and update records.
2690
+ - **Editing** - Provides the options to dynamically insert, delete and update records.
2789
2691
  - **Virtualization** - Provides the options to load large amount of data without performance degradation.
2790
2692
  - **Aggregates** - Provides built in types are sum , average, min, max, count.
2791
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 : 20.4.53
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