@syncfusion/ej2-vue-grids 19.4.54 → 20.1.47

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 (88) hide show
  1. package/CHANGELOG.md +23 -0
  2. package/dist/ej2-vue-grids.umd.min.js +2 -2
  3. package/dist/es6/ej2-vue-grids.es2015.js +169 -13
  4. package/dist/es6/ej2-vue-grids.es2015.js.map +1 -1
  5. package/dist/es6/ej2-vue-grids.es5.js +114 -12
  6. package/dist/es6/ej2-vue-grids.es5.js.map +1 -1
  7. package/dist/global/ej2-vue-grids.min.js +2 -2
  8. package/package.json +8 -8
  9. package/src/grid/aggregate-columns.directive.d.ts +3 -1
  10. package/src/grid/aggregate-columns.directive.js +24 -2
  11. package/src/grid/aggregates.directive.d.ts +3 -1
  12. package/src/grid/aggregates.directive.js +24 -2
  13. package/src/grid/columns.directive.d.ts +3 -1
  14. package/src/grid/columns.directive.js +24 -2
  15. package/src/grid/grid.component.d.ts +1 -0
  16. package/src/grid/grid.component.js +10 -1
  17. package/src/grid/stacked-column.directive.d.ts +3 -1
  18. package/src/grid/stacked-column.directive.js +24 -2
  19. package/src/pager/pager.component.d.ts +1 -0
  20. package/src/pager/pager.component.js +10 -1
  21. package/styles/bootstrap-dark.css +159 -15
  22. package/styles/bootstrap.css +159 -15
  23. package/styles/bootstrap4.css +159 -15
  24. package/styles/bootstrap5-dark.css +380 -171
  25. package/styles/bootstrap5.css +380 -171
  26. package/styles/excel-filter/bootstrap-dark.css +9 -0
  27. package/styles/excel-filter/bootstrap.css +9 -0
  28. package/styles/excel-filter/bootstrap4.css +9 -0
  29. package/styles/excel-filter/bootstrap5-dark.css +16 -0
  30. package/styles/excel-filter/bootstrap5.css +16 -0
  31. package/styles/excel-filter/fabric-dark.css +9 -0
  32. package/styles/excel-filter/fabric.css +9 -0
  33. package/styles/excel-filter/fluent-dark.css +621 -0
  34. package/styles/excel-filter/fluent-dark.scss +1 -0
  35. package/styles/excel-filter/fluent.css +621 -0
  36. package/styles/excel-filter/fluent.scss +1 -0
  37. package/styles/excel-filter/highcontrast-light.css +10 -1
  38. package/styles/excel-filter/highcontrast.css +9 -0
  39. package/styles/excel-filter/material-dark.css +9 -0
  40. package/styles/excel-filter/material.css +9 -0
  41. package/styles/excel-filter/tailwind-dark.css +21 -68
  42. package/styles/excel-filter/tailwind.css +21 -68
  43. package/styles/fabric-dark.css +161 -17
  44. package/styles/fabric.css +161 -17
  45. package/styles/fluent-dark.css +6340 -0
  46. package/styles/fluent-dark.scss +3 -0
  47. package/styles/fluent.css +6340 -0
  48. package/styles/fluent.scss +3 -0
  49. package/styles/grid/bootstrap-dark.css +90 -12
  50. package/styles/grid/bootstrap.css +90 -12
  51. package/styles/grid/bootstrap4.css +90 -12
  52. package/styles/grid/bootstrap5-dark.css +216 -116
  53. package/styles/grid/bootstrap5.css +216 -116
  54. package/styles/grid/fabric-dark.css +90 -12
  55. package/styles/grid/fabric.css +90 -12
  56. package/styles/grid/fluent-dark.css +4996 -0
  57. package/styles/grid/fluent-dark.scss +1 -0
  58. package/styles/grid/fluent.css +4996 -0
  59. package/styles/grid/fluent.scss +1 -0
  60. package/styles/grid/highcontrast-light.css +90 -12
  61. package/styles/grid/highcontrast.css +90 -12
  62. package/styles/grid/material-dark.css +90 -12
  63. package/styles/grid/material.css +90 -12
  64. package/styles/grid/tailwind-dark.css +364 -219
  65. package/styles/grid/tailwind.css +365 -220
  66. package/styles/highcontrast-light.css +162 -18
  67. package/styles/highcontrast.css +161 -17
  68. package/styles/material-dark.css +159 -15
  69. package/styles/material.css +159 -15
  70. package/styles/pager/bootstrap-dark.css +60 -3
  71. package/styles/pager/bootstrap.css +60 -3
  72. package/styles/pager/bootstrap4.css +60 -3
  73. package/styles/pager/bootstrap5-dark.css +155 -55
  74. package/styles/pager/bootstrap5.css +155 -55
  75. package/styles/pager/fabric-dark.css +62 -5
  76. package/styles/pager/fabric.css +62 -5
  77. package/styles/pager/fluent-dark.css +854 -0
  78. package/styles/pager/fluent-dark.scss +1 -0
  79. package/styles/pager/fluent.css +854 -0
  80. package/styles/pager/fluent.scss +1 -0
  81. package/styles/pager/highcontrast-light.css +62 -5
  82. package/styles/pager/highcontrast.css +62 -5
  83. package/styles/pager/material-dark.css +60 -3
  84. package/styles/pager/material.css +60 -3
  85. package/styles/pager/tailwind-dark.css +270 -58
  86. package/styles/pager/tailwind.css +270 -58
  87. package/styles/tailwind-dark.css +654 -288
  88. package/styles/tailwind.css +655 -289
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "_from": "@syncfusion/ej2-vue-grids@*",
3
- "_id": "@syncfusion/ej2-vue-grids@19.4.53",
3
+ "_id": "@syncfusion/ej2-vue-grids@1.109.0",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-2pIybHNK10ydu8RxBJ80krbp4OgCQG0mmuQBqRMN91/TYJMyrC5f0/Un1V7bnaY0mCRE88dpmNjJOPvx4xh8nw==",
5
+ "_integrity": "sha512-PwsbhG2ZVnsaKh6R2u/N3Ifu9bbAPt6XOqZiUqQNmTt0iQiOrUAy7GvxGtTvCOloKRafgGu/BMHeaMJDI6s+cw==",
6
6
  "_location": "/@syncfusion/ej2-vue-grids",
7
7
  "_phantomChildren": {},
8
8
  "_requested": {
@@ -19,8 +19,8 @@
19
19
  "_requiredBy": [
20
20
  "/"
21
21
  ],
22
- "_resolved": "http://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-vue-grids/-/ej2-vue-grids-19.4.53.tgz",
23
- "_shasum": "9cd1fe0f98a6da302743b6c938f7b9df9345b7b5",
22
+ "_resolved": "http://nexus.syncfusion.com/repository/ej2-release/@syncfusion/ej2-vue-grids/-/ej2-vue-grids-1.109.0.tgz",
23
+ "_shasum": "555a12f7fef06766d322f4b2854fb33077bc9cfc",
24
24
  "_spec": "@syncfusion/ej2-vue-grids@*",
25
25
  "_where": "/jenkins/workspace/automation_release_19.1.0.1-ZPMUBNQ6AUYH6YGEFBPVYMEQLRRW2SLD4XCZ6GATNZJFYJ3RIAOA/packages/included",
26
26
  "author": {
@@ -31,9 +31,9 @@
31
31
  },
32
32
  "bundleDependencies": false,
33
33
  "dependencies": {
34
- "@syncfusion/ej2-base": "~19.4.52",
35
- "@syncfusion/ej2-grids": "19.4.54",
36
- "@syncfusion/ej2-vue-base": "~19.4.53"
34
+ "@syncfusion/ej2-base": "~20.1.47",
35
+ "@syncfusion/ej2-grids": "20.1.47",
36
+ "@syncfusion/ej2-vue-base": "~20.1.47"
37
37
  },
38
38
  "deprecated": false,
39
39
  "description": "Feature-rich JavaScript datagrid (datatable) control with built-in support for editing, filtering, grouping, paging, sorting, and exporting to Excel. for Vue",
@@ -65,6 +65,6 @@
65
65
  "type": "git",
66
66
  "url": "git+https://github.com/syncfusion/ej2-vue-ui-components.git"
67
67
  },
68
- "version": "19.4.54",
68
+ "version": "20.1.47",
69
69
  "sideEffects": false
70
70
  }
@@ -1,7 +1,9 @@
1
1
  export declare const isExecute: any;
2
2
  declare let vueImport: any;
3
3
  export declare class AggregateColumnsDirective extends vueImport {
4
- render(): void;
4
+ constructor();
5
+ render(createElement: any): void;
6
+ updated(): void;
5
7
  getTag(): string;
6
8
  }
7
9
  export declare const AggregateColumnsPlugin: {
@@ -19,7 +19,9 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
19
19
  };
20
20
  import { EJComponentDecorator, allVue, gh } from '@syncfusion/ej2-vue-base';
21
21
  import * as Vue3 from 'vue-class-component';
22
+ import { isNullOrUndefined } from '@syncfusion/ej2-base';
22
23
  import Vue from 'vue';
24
+ import { Options } from 'vue-class-component';
23
25
  export var isExecute = gh ? false : true;
24
26
  var vueImport;
25
27
  if (!isExecute || parseInt(allVue.version) < 3) {
@@ -31,16 +33,36 @@ else {
31
33
  var AggregateColumnsDirective = /** @class */ (function (_super) {
32
34
  __extends(AggregateColumnsDirective, _super);
33
35
  function AggregateColumnsDirective() {
34
- return _super !== null && _super.apply(this, arguments) || this;
36
+ return _super.call(this, arguments) || this;
35
37
  }
36
- AggregateColumnsDirective.prototype.render = function () {
38
+ AggregateColumnsDirective.prototype.render = function (createElement) {
39
+ if (gh) {
40
+ var h = gh || createElement;
41
+ var slots = null;
42
+ if (!isNullOrUndefined(this.$slots.default)) {
43
+ slots = gh ? this.$slots.default() : this.$slots.default;
44
+ }
45
+ return h('div', { class: 'e-directive' }, slots);
46
+ }
37
47
  return;
38
48
  };
49
+ AggregateColumnsDirective.prototype.updated = function () {
50
+ if (gh && this.custom) {
51
+ this.custom();
52
+ }
53
+ };
39
54
  AggregateColumnsDirective.prototype.getTag = function () {
40
55
  return 'e-columns';
41
56
  };
42
57
  AggregateColumnsDirective = __decorate([
43
58
  EJComponentDecorator({}, isExecute)
59
+ ,Options({
60
+ inject: {
61
+ custom: {
62
+ default: null
63
+ }
64
+ }
65
+ })
44
66
  ], AggregateColumnsDirective);
45
67
  return AggregateColumnsDirective;
46
68
  }(vueImport));
@@ -1,7 +1,9 @@
1
1
  export declare const isExecute: any;
2
2
  declare let vueImport: any;
3
3
  export declare class AggregatesDirective extends vueImport {
4
- render(): void;
4
+ constructor();
5
+ render(createElement: any): void;
6
+ updated(): void;
5
7
  getTag(): string;
6
8
  }
7
9
  export declare const AggregatesPlugin: {
@@ -19,7 +19,9 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
19
19
  };
20
20
  import { EJComponentDecorator, allVue, gh } from '@syncfusion/ej2-vue-base';
21
21
  import * as Vue3 from 'vue-class-component';
22
+ import { isNullOrUndefined } from '@syncfusion/ej2-base';
22
23
  import Vue from 'vue';
24
+ import { Options } from 'vue-class-component';
23
25
  export var isExecute = gh ? false : true;
24
26
  var vueImport;
25
27
  if (!isExecute || parseInt(allVue.version) < 3) {
@@ -31,16 +33,36 @@ else {
31
33
  var AggregatesDirective = /** @class */ (function (_super) {
32
34
  __extends(AggregatesDirective, _super);
33
35
  function AggregatesDirective() {
34
- return _super !== null && _super.apply(this, arguments) || this;
36
+ return _super.call(this, arguments) || this;
35
37
  }
36
- AggregatesDirective.prototype.render = function () {
38
+ AggregatesDirective.prototype.render = function (createElement) {
39
+ if (gh) {
40
+ var h = gh || createElement;
41
+ var slots = null;
42
+ if (!isNullOrUndefined(this.$slots.default)) {
43
+ slots = gh ? this.$slots.default() : this.$slots.default;
44
+ }
45
+ return h('div', { class: 'e-directive' }, slots);
46
+ }
37
47
  return;
38
48
  };
49
+ AggregatesDirective.prototype.updated = function () {
50
+ if (gh && this.custom) {
51
+ this.custom();
52
+ }
53
+ };
39
54
  AggregatesDirective.prototype.getTag = function () {
40
55
  return 'e-aggregates';
41
56
  };
42
57
  AggregatesDirective = __decorate([
43
58
  EJComponentDecorator({}, isExecute)
59
+ ,Options({
60
+ inject: {
61
+ custom: {
62
+ default: null
63
+ }
64
+ }
65
+ })
44
66
  ], AggregatesDirective);
45
67
  return AggregatesDirective;
46
68
  }(vueImport));
@@ -1,7 +1,9 @@
1
1
  export declare const isExecute: any;
2
2
  declare let vueImport: any;
3
3
  export declare class ColumnsDirective extends vueImport {
4
- render(): void;
4
+ constructor();
5
+ render(createElement: any): void;
6
+ updated(): void;
5
7
  getTag(): string;
6
8
  }
7
9
  export declare const ColumnsPlugin: {
@@ -19,7 +19,9 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
19
19
  };
20
20
  import { EJComponentDecorator, allVue, gh } from '@syncfusion/ej2-vue-base';
21
21
  import * as Vue3 from 'vue-class-component';
22
+ import { isNullOrUndefined } from '@syncfusion/ej2-base';
22
23
  import Vue from 'vue';
24
+ import { Options } from 'vue-class-component';
23
25
  export var isExecute = gh ? false : true;
24
26
  var vueImport;
25
27
  if (!isExecute || parseInt(allVue.version) < 3) {
@@ -31,16 +33,36 @@ else {
31
33
  var ColumnsDirective = /** @class */ (function (_super) {
32
34
  __extends(ColumnsDirective, _super);
33
35
  function ColumnsDirective() {
34
- return _super !== null && _super.apply(this, arguments) || this;
36
+ return _super.call(this, arguments) || this;
35
37
  }
36
- ColumnsDirective.prototype.render = function () {
38
+ ColumnsDirective.prototype.render = function (createElement) {
39
+ if (gh) {
40
+ var h = gh || createElement;
41
+ var slots = null;
42
+ if (!isNullOrUndefined(this.$slots.default)) {
43
+ slots = gh ? this.$slots.default() : this.$slots.default;
44
+ }
45
+ return h('div', { class: 'e-directive' }, slots);
46
+ }
37
47
  return;
38
48
  };
49
+ ColumnsDirective.prototype.updated = function () {
50
+ if (gh && this.custom) {
51
+ this.custom();
52
+ }
53
+ };
39
54
  ColumnsDirective.prototype.getTag = function () {
40
55
  return 'e-columns';
41
56
  };
42
57
  ColumnsDirective = __decorate([
43
58
  EJComponentDecorator({}, isExecute)
59
+ ,Options({
60
+ inject: {
61
+ custom: {
62
+ default: null
63
+ }
64
+ }
65
+ })
44
66
  ], ColumnsDirective);
45
67
  return ColumnsDirective;
46
68
  }(vueImport));
@@ -31,6 +31,7 @@ export declare class GridComponent extends ComponentBase {
31
31
  [key: string]: Object;
32
32
  }, successHandler?: Function): void;
33
33
  render(createElement: any): any;
34
+ custom(): void;
34
35
  addRecord(data?: Object, index?: number): void;
35
36
  autoFitColumns(fieldNames?: string | string[]): void;
36
37
  batchAsyncUpdate(changes: Object): void;
@@ -62,6 +62,7 @@ var GridComponent = /** @class */ (function (_super) {
62
62
  _this.ej2Instances._setProperties = _this.ej2Instances.setProperties;
63
63
  _this.ej2Instances.setProperties = _this.setProperties;
64
64
  _this.ej2Instances.clearTemplate = _this.clearTemplate;
65
+ _this.updated = _this.updated;
65
66
  return _this;
66
67
  }
67
68
  GridComponent.prototype.clearTemplate = function (templateNames) {
@@ -158,6 +159,9 @@ var GridComponent = /** @class */ (function (_super) {
158
159
  }
159
160
  return h('div', slots);
160
161
  };
162
+ GridComponent.prototype.custom = function () {
163
+ this.updated();
164
+ };
161
165
  GridComponent.prototype.addRecord = function (data, index) {
162
166
  return this.ej2Instances.addRecord(data, index);
163
167
  };
@@ -549,7 +553,12 @@ var GridComponent = /** @class */ (function (_super) {
549
553
  ,Options({
550
554
  props: props,
551
555
  watch: watch,
552
- emits: emitProbs
556
+ emits: emitProbs,
557
+ provide: function provide() {
558
+ return {
559
+ custom: this.custom
560
+ };
561
+ }
553
562
  })
554
563
  ], GridComponent);
555
564
  return GridComponent;
@@ -1,7 +1,9 @@
1
1
  export declare const isExecute: any;
2
2
  declare let vueImport: any;
3
3
  export declare class StackedColumnsDirective extends vueImport {
4
- render(): void;
4
+ constructor();
5
+ render(createElement: any): void;
6
+ updated(): void;
5
7
  getTag(): string;
6
8
  }
7
9
  export declare const StackedColumnsPlugin: {
@@ -19,7 +19,9 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
19
19
  };
20
20
  import { EJComponentDecorator, allVue, gh } from '@syncfusion/ej2-vue-base';
21
21
  import * as Vue3 from 'vue-class-component';
22
+ import { isNullOrUndefined } from '@syncfusion/ej2-base';
22
23
  import Vue from 'vue';
24
+ import { Options } from 'vue-class-component';
23
25
  export var isExecute = gh ? false : true;
24
26
  var vueImport;
25
27
  if (!isExecute || parseInt(allVue.version) < 3) {
@@ -31,16 +33,36 @@ else {
31
33
  var StackedColumnsDirective = /** @class */ (function (_super) {
32
34
  __extends(StackedColumnsDirective, _super);
33
35
  function StackedColumnsDirective() {
34
- return _super !== null && _super.apply(this, arguments) || this;
36
+ return _super.call(this, arguments) || this;
35
37
  }
36
- StackedColumnsDirective.prototype.render = function () {
38
+ StackedColumnsDirective.prototype.render = function (createElement) {
39
+ if (gh) {
40
+ var h = gh || createElement;
41
+ var slots = null;
42
+ if (!isNullOrUndefined(this.$slots.default)) {
43
+ slots = gh ? this.$slots.default() : this.$slots.default;
44
+ }
45
+ return h('div', { class: 'e-directive' }, slots);
46
+ }
37
47
  return;
38
48
  };
49
+ StackedColumnsDirective.prototype.updated = function () {
50
+ if (gh && this.custom) {
51
+ this.custom();
52
+ }
53
+ };
39
54
  StackedColumnsDirective.prototype.getTag = function () {
40
55
  return 'e-stacked-columns';
41
56
  };
42
57
  StackedColumnsDirective = __decorate([
43
58
  EJComponentDecorator({}, isExecute)
59
+ ,Options({
60
+ inject: {
61
+ custom: {
62
+ default: null
63
+ }
64
+ }
65
+ })
44
66
  ], StackedColumnsDirective);
45
67
  return StackedColumnsDirective;
46
68
  }(vueImport));
@@ -28,6 +28,7 @@ export declare class PagerComponent extends ComponentBase {
28
28
  clearTemplate(templateNames?: string[]): any;
29
29
  setProperties(prop: any, muteOnChange: boolean): void;
30
30
  render(createElement: any): any;
31
+ custom(): void;
31
32
  destroyTemplate(propertyNames?: string[], index?: any): void;
32
33
  getLocalizedLabel(key: string): string;
33
34
  goToPage(pageNo: number): void;
@@ -55,6 +55,7 @@ var PagerComponent = /** @class */ (function (_super) {
55
55
  _this.ej2Instances._setProperties = _this.ej2Instances.setProperties;
56
56
  _this.ej2Instances.setProperties = _this.setProperties;
57
57
  _this.ej2Instances.clearTemplate = _this.clearTemplate;
58
+ _this.updated = _this.updated;
58
59
  return _this;
59
60
  }
60
61
  PagerComponent.prototype.clearTemplate = function (templateNames) {
@@ -113,6 +114,9 @@ var PagerComponent = /** @class */ (function (_super) {
113
114
  }
114
115
  return h('div', slots);
115
116
  };
117
+ PagerComponent.prototype.custom = function () {
118
+ this.updated();
119
+ };
116
120
  PagerComponent.prototype.destroyTemplate = function (propertyNames, index) {
117
121
  return this.ej2Instances.destroyTemplate(propertyNames, index);
118
122
  };
@@ -132,7 +136,12 @@ var PagerComponent = /** @class */ (function (_super) {
132
136
  ,Options({
133
137
  props: props,
134
138
  watch: watch,
135
- emits: emitProbs
139
+ emits: emitProbs,
140
+ provide: function provide() {
141
+ return {
142
+ custom: this.custom
143
+ };
144
+ }
136
145
  })
137
146
  ], PagerComponent);
138
147
  return PagerComponent;