@syncfusion/ej2-vue-pivotview 20.4.54 → 21.1.36

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 (70) hide show
  1. package/CHANGELOG.md +21 -45
  2. package/dist/ej2-vue-pivotview.umd.min.js +2 -2
  3. package/dist/ej2-vue-pivotview.umd.min.js.map +1 -1
  4. package/dist/es6/ej2-vue-pivotview.es2015.js +179 -221
  5. package/dist/es6/ej2-vue-pivotview.es2015.js.map +1 -1
  6. package/dist/es6/ej2-vue-pivotview.es5.js +202 -254
  7. package/dist/es6/ej2-vue-pivotview.es5.js.map +1 -1
  8. package/dist/global/ej2-vue-pivotview.min.js +2 -2
  9. package/package.json +11 -10
  10. package/src/pivotfieldlist/pivotfieldlist.component.d.ts +3 -24
  11. package/src/pivotfieldlist/pivotfieldlist.component.js +90 -119
  12. package/src/pivotview/pivotview.component.d.ts +4 -33
  13. package/src/pivotview/pivotview.component.js +115 -144
  14. package/styles/bootstrap-dark.css +363 -239
  15. package/styles/bootstrap.css +362 -238
  16. package/styles/bootstrap4.css +370 -304
  17. package/styles/bootstrap5-dark.css +376 -297
  18. package/styles/bootstrap5.css +376 -297
  19. package/styles/fabric-dark.css +354 -249
  20. package/styles/fabric.css +351 -249
  21. package/styles/fluent-dark.css +378 -284
  22. package/styles/fluent.css +378 -284
  23. package/styles/highcontrast-light.css +355 -243
  24. package/styles/highcontrast.css +355 -243
  25. package/styles/material-dark.css +359 -239
  26. package/styles/material.css +358 -244
  27. package/styles/material3-dark.css +6666 -0
  28. package/styles/material3-dark.scss +3 -0
  29. package/styles/material3.css +6777 -0
  30. package/styles/material3.scss +3 -0
  31. package/styles/pivotfieldlist/bootstrap-dark.css +217 -150
  32. package/styles/pivotfieldlist/bootstrap.css +215 -148
  33. package/styles/pivotfieldlist/bootstrap4.css +219 -155
  34. package/styles/pivotfieldlist/bootstrap5-dark.css +226 -169
  35. package/styles/pivotfieldlist/bootstrap5.css +226 -169
  36. package/styles/pivotfieldlist/fabric-dark.css +207 -149
  37. package/styles/pivotfieldlist/fabric.css +207 -149
  38. package/styles/pivotfieldlist/fluent-dark.css +236 -185
  39. package/styles/pivotfieldlist/fluent.css +236 -185
  40. package/styles/pivotfieldlist/highcontrast-light.css +206 -148
  41. package/styles/pivotfieldlist/highcontrast.css +206 -148
  42. package/styles/pivotfieldlist/material-dark.css +215 -152
  43. package/styles/pivotfieldlist/material.css +214 -151
  44. package/styles/pivotfieldlist/material3-dark.css +3811 -0
  45. package/styles/pivotfieldlist/material3-dark.scss +2 -0
  46. package/styles/pivotfieldlist/material3.css +3865 -0
  47. package/styles/pivotfieldlist/material3.scss +2 -0
  48. package/styles/pivotfieldlist/tailwind-dark.css +224 -177
  49. package/styles/pivotfieldlist/tailwind.css +224 -177
  50. package/styles/pivotview/bootstrap-dark.css +146 -89
  51. package/styles/pivotview/bootstrap.css +147 -90
  52. package/styles/pivotview/bootstrap4.css +152 -150
  53. package/styles/pivotview/bootstrap5-dark.css +150 -128
  54. package/styles/pivotview/bootstrap5.css +150 -128
  55. package/styles/pivotview/fabric-dark.css +147 -100
  56. package/styles/pivotview/fabric.css +144 -100
  57. package/styles/pivotview/fluent-dark.css +142 -99
  58. package/styles/pivotview/fluent.css +142 -99
  59. package/styles/pivotview/highcontrast-light.css +149 -95
  60. package/styles/pivotview/highcontrast.css +149 -95
  61. package/styles/pivotview/material-dark.css +144 -87
  62. package/styles/pivotview/material.css +144 -93
  63. package/styles/pivotview/material3-dark.css +2854 -0
  64. package/styles/pivotview/material3-dark.scss +2 -0
  65. package/styles/pivotview/material3.css +2912 -0
  66. package/styles/pivotview/material3.scss +2 -0
  67. package/styles/pivotview/tailwind-dark.css +147 -100
  68. package/styles/pivotview/tailwind.css +147 -100
  69. package/styles/tailwind-dark.css +371 -277
  70. package/styles/tailwind.css +371 -277
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "_from": "@syncfusion/ej2-vue-pivotview@*",
3
- "_id": "@syncfusion/ej2-vue-pivotview@20.4.50",
3
+ "_id": "@syncfusion/ej2-vue-pivotview@22.1.34",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-juAWNGTNDpNzJP3UkVS8HT2zTuHWKXI+mtw9R1I/OveF2DCaqX9y757FoNLzdcXKDAyJZM6HvQXW4N2nuziPnw==",
5
+ "_integrity": "sha512-0qvVkEmWJcf+M1Ks1GApANLv+Wq5xWZEeBebI6paSd0bqK9EHBTQufw2OYf5ZYUSdnSEZFcMzc5KFOEieDZEOg==",
6
6
  "_location": "/@syncfusion/ej2-vue-pivotview",
7
7
  "_phantomChildren": {},
8
8
  "_requested": {
@@ -19,10 +19,10 @@
19
19
  "_requiredBy": [
20
20
  "/"
21
21
  ],
22
- "_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-vue-pivotview/-/ej2-vue-pivotview-20.4.50.tgz",
23
- "_shasum": "4095048eff375fef6ab2ef0f7a78e6858ea4faf0",
22
+ "_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-vue-pivotview/-/ej2-vue-pivotview-22.1.34.tgz",
23
+ "_shasum": "e379a6ee9a8953031bb4346f86f4f5b618fe1999",
24
24
  "_spec": "@syncfusion/ej2-vue-pivotview@*",
25
- "_where": "/jenkins/workspace/ease-automation_release_19.1.0.1/packages/included",
25
+ "_where": "/jenkins/workspace/elease-automation_release_21.1.1/packages/included",
26
26
  "author": {
27
27
  "name": "Syncfusion Inc."
28
28
  },
@@ -31,9 +31,9 @@
31
31
  },
32
32
  "bundleDependencies": false,
33
33
  "dependencies": {
34
- "@syncfusion/ej2-base": "~20.4.51",
35
- "@syncfusion/ej2-pivotview": "20.4.54",
36
- "@syncfusion/ej2-vue-base": "~20.4.51"
34
+ "@syncfusion/ej2-base": "~22.1.34",
35
+ "@syncfusion/ej2-pivotview": "21.1.36",
36
+ "@syncfusion/ej2-vue-base": "~22.1.34"
37
37
  },
38
38
  "deprecated": false,
39
39
  "description": "The pivot grid, or pivot table, is used to visualize large sets of relational data in a cross-tabular format, similar to an Excel pivot table. for Vue",
@@ -54,8 +54,9 @@
54
54
  "url": "git+https://github.com/syncfusion/ej2-vue-ui-components.git"
55
55
  },
56
56
  "scripts": {
57
- "postinstall": "node ../ej2-vue-base/postinstall.js"
57
+ "ci-publish": "gulp ci-publish",
58
+ "compile": "gulp ci-compile && gulp vue-global-script"
58
59
  },
59
- "version": "20.4.54",
60
+ "version": "21.1.36",
60
61
  "sideEffects": false
61
62
  }
@@ -1,36 +1,15 @@
1
- import { ComponentBase } from '@syncfusion/ej2-vue-base';
2
1
  export declare const properties: string[];
3
2
  export declare const modelProps: string[];
4
3
  export declare const testProp: any;
5
- export declare const props: any;
6
- export declare const watch: any;
7
- export declare const emitProbs: any;
4
+ export declare const props: any, watch: any, emitProbs: any;
8
5
  /**
9
6
  * `ejs-pivotfieldlist` represents the VueJS PivotFieldList Component.
10
7
  * ```vue
11
8
  * <ejs-pivotfieldlist></ejs-pivotfieldlist>
12
9
  * ```
13
10
  */
14
- export declare class PivotFieldListComponent extends ComponentBase {
15
- ej2Instances: any;
16
- propKeys: string[];
17
- models: string[];
18
- hasChildDirective: boolean;
19
- protected hasInjectedModules: boolean;
20
- tagMapper: {
21
- [key: string]: Object;
22
- };
23
- tagNameMapper: Object;
24
- isVue3: boolean;
25
- templateCollection: any;
26
- constructor();
27
- clearTemplate(templateNames?: string[]): any;
28
- setProperties(prop: any, muteOnChange: boolean): void;
29
- render(createElement: any): any;
30
- custom(): void;
31
- update(control: Object): void;
32
- updateView(control: Object): void;
33
- }
11
+ export declare let PivotFieldListComponent: any;
12
+ export declare type PivotFieldListComponent = InstanceType<typeof PivotFieldListComponent>;
34
13
  export declare const PivotFieldListPlugin: {
35
14
  name: string;
36
15
  install(Vue: any): void;
@@ -1,32 +1,10 @@
1
- var __extends = (this && this.__extends) || (function () {
2
- var extendStatics = function (d, b) {
3
- extendStatics = Object.setPrototypeOf ||
4
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
5
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
6
- return extendStatics(d, b);
7
- };
8
- return function (d, b) {
9
- extendStatics(d, b);
10
- function __() { this.constructor = d; }
11
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
12
- };
13
- })();
14
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
15
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
16
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
17
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
18
- return c > 3 && r && Object.defineProperty(target, key, r), r;
19
- };
20
- import { ComponentBase, EJComponentDecorator, getProps, gh, isExecute } from '@syncfusion/ej2-vue-base';
1
+ import { ComponentBase, gh, getProps, isExecute, vueDefineComponent } from '@syncfusion/ej2-vue-base';
21
2
  import { isNullOrUndefined, getValue } from '@syncfusion/ej2-base';
22
3
  import { PivotFieldList } from '@syncfusion/ej2-pivotview';
23
- import { Options } from 'vue-class-component';
24
- export var properties = ['isLazyUpdate', 'plugins', 'aggregateTypes', 'allowCalculatedField', 'allowDeferLayoutUpdate', 'cssClass', 'currencyCode', 'dataSourceSettings', 'enableFieldSearching', 'enablePersistence', 'enableRtl', 'loadOnDemandInMemberEditor', 'locale', 'maxNodeLimitInMemberEditor', 'renderMode', 'showValuesButton', 'spinnerTemplate', 'target', 'actionBegin', 'actionComplete', 'actionFailure', 'aggregateCellInfo', 'aggregateMenuOpen', 'beforeServiceInvoke', 'calculatedFieldCreate', 'created', 'dataBound', 'destroyed', 'enginePopulated', 'enginePopulating', 'fieldDragStart', 'fieldDrop', 'fieldRemove', 'load', 'memberEditorOpen', 'memberFiltering', 'onFieldDropped', 'onHeadersSort'];
4
+ export var properties = ['isLazyUpdate', 'plugins', 'aggregateTypes', 'allowCalculatedField', 'allowDeferLayoutUpdate', 'cssClass', 'currencyCode', 'dataSourceSettings', 'enableFieldSearching', 'enableHtmlSanitizer', 'enablePersistence', 'enableRtl', 'loadOnDemandInMemberEditor', 'locale', 'maxNodeLimitInMemberEditor', 'renderMode', 'showValuesButton', 'spinnerTemplate', 'target', 'actionBegin', 'actionComplete', 'actionFailure', 'afterServiceInvoke', 'aggregateCellInfo', 'aggregateMenuOpen', 'beforeServiceInvoke', 'calculatedFieldCreate', 'created', 'dataBound', 'destroyed', 'enginePopulated', 'enginePopulating', 'fieldDragStart', 'fieldDrop', 'fieldRemove', 'load', 'memberEditorOpen', 'memberFiltering', 'onFieldDropped', 'onHeadersSort'];
25
5
  export var modelProps = [];
26
6
  export var testProp = getProps({ props: properties });
27
- export var props = testProp[0];
28
- export var watch = testProp[1];
29
- export var emitProbs = Object.keys(watch);
7
+ export var props = testProp[0], watch = testProp[1], emitProbs = Object.keys(watch);
30
8
  emitProbs.push('modelchanged', 'update:modelValue');
31
9
  for (var _i = 0, modelProps_1 = modelProps; _i < modelProps_1.length; _i++) {
32
10
  var props_1 = modelProps_1[_i];
@@ -38,108 +16,101 @@ for (var _i = 0, modelProps_1 = modelProps; _i < modelProps_1.length; _i++) {
38
16
  * <ejs-pivotfieldlist></ejs-pivotfieldlist>
39
17
  * ```
40
18
  */
41
- var PivotFieldListComponent = /** @class */ (function (_super) {
42
- __extends(PivotFieldListComponent, _super);
43
- function PivotFieldListComponent() {
44
- var _this = _super.call(this, arguments) || this;
45
- _this.propKeys = properties;
46
- _this.models = modelProps;
47
- _this.hasChildDirective = false;
48
- _this.hasInjectedModules = true;
49
- _this.tagMapper = {};
50
- _this.tagNameMapper = {};
51
- _this.isVue3 = !isExecute;
52
- _this.ej2Instances = new PivotFieldList({});
53
- _this.bindProperties();
54
- _this.ej2Instances._setProperties = _this.ej2Instances.setProperties;
55
- _this.ej2Instances.setProperties = _this.setProperties;
56
- _this.ej2Instances.clearTemplate = _this.clearTemplate;
57
- _this.updated = _this.updated;
58
- return _this;
59
- }
60
- PivotFieldListComponent.prototype.clearTemplate = function (templateNames) {
61
- if (!templateNames) {
62
- templateNames = Object.keys(this.templateCollection || {});
19
+ export var PivotFieldListComponent = vueDefineComponent({
20
+ name: 'PivotFieldListComponent',
21
+ mixins: [ComponentBase],
22
+ props: props,
23
+ watch: watch,
24
+ emits: emitProbs,
25
+ provide: function () { return { custom: this.custom }; },
26
+ data: function () {
27
+ return {
28
+ ej2Instance: new PivotFieldList({}),
29
+ propKeys: properties,
30
+ models: modelProps,
31
+ hasChildDirective: false,
32
+ hasInjectedModules: true,
33
+ tagMapper: {},
34
+ tagNameMapper: {},
35
+ isVue3: !isExecute,
36
+ templateCollection: {},
37
+ };
38
+ },
39
+ created: function () {
40
+ this.bindProperties();
41
+ this.ej2Instances._setProperties = this.ej2Instances.setProperties;
42
+ this.ej2Instances.setProperties = this.setProperties;
43
+ this.ej2Instances.clearTemplate = this.clearTemplate;
44
+ this.updated = this.updated;
45
+ },
46
+ render: function (createElement) {
47
+ var h = !isExecute ? gh : createElement;
48
+ var slots = null;
49
+ if (!isNullOrUndefined(this.$slots.default)) {
50
+ slots = !isExecute ? this.$slots.default() : this.$slots.default;
63
51
  }
64
- if (templateNames.length && this.templateCollection) {
65
- for (var _i = 0, templateNames_1 = templateNames; _i < templateNames_1.length; _i++) {
66
- var tempName = templateNames_1[_i];
67
- var elementCollection = this.templateCollection[tempName];
68
- if (elementCollection && elementCollection.length) {
69
- for (var _a = 0, elementCollection_1 = elementCollection; _a < elementCollection_1.length; _a++) {
70
- var ele = elementCollection_1[_a];
71
- var destroy = getValue('__vue__.$destroy', ele);
72
- if (destroy) {
73
- ele.__vue__.$destroy();
74
- }
75
- if (ele.innerHTML) {
76
- ele.innerHTML = '';
52
+ return h('div', slots);
53
+ },
54
+ methods: {
55
+ clearTemplate: function (templateNames) {
56
+ if (!templateNames) {
57
+ templateNames = Object.keys(this.templateCollection || {});
58
+ }
59
+ if (templateNames.length && this.templateCollection) {
60
+ for (var _i = 0, templateNames_1 = templateNames; _i < templateNames_1.length; _i++) {
61
+ var tempName = templateNames_1[_i];
62
+ var elementCollection = this.templateCollection[tempName];
63
+ if (elementCollection && elementCollection.length) {
64
+ for (var _a = 0, elementCollection_1 = elementCollection; _a < elementCollection_1.length; _a++) {
65
+ var ele = elementCollection_1[_a];
66
+ var destroy = getValue('__vue__.$destroy', ele);
67
+ if (destroy) {
68
+ ele.__vue__.$destroy();
69
+ }
70
+ if (ele.innerHTML) {
71
+ ele.innerHTML = '';
72
+ }
77
73
  }
74
+ delete this.templateCollection[tempName];
78
75
  }
79
- delete this.templateCollection[tempName];
80
76
  }
81
77
  }
82
- }
83
- };
84
- PivotFieldListComponent.prototype.setProperties = function (prop, muteOnChange) {
85
- var _this = this;
86
- if (this.isVue3) {
87
- this.models = !this.models ? this.ej2Instances.referModels : this.models;
88
- }
89
- if (this.ej2Instances && this.ej2Instances._setProperties) {
90
- this.ej2Instances._setProperties(prop, muteOnChange);
91
- }
92
- if (prop && this.models && this.models.length) {
93
- Object.keys(prop).map(function (key) {
94
- _this.models.map(function (model) {
95
- if ((key === model) && !(/datasource/i.test(key))) {
96
- if (_this.isVue3) {
97
- _this.ej2Instances.vueInstance.$emit('update:' + key, prop[key]);
98
- }
99
- else {
100
- _this.$emit('update:' + key, prop[key]);
101
- _this.$emit('modelchanged', prop[key]);
78
+ },
79
+ setProperties: function (prop, muteOnChange) {
80
+ var _this = this;
81
+ if (this.isVue3) {
82
+ this.models = !this.models ? this.ej2Instances.referModels : this.models;
83
+ }
84
+ if (this.ej2Instances && this.ej2Instances._setProperties) {
85
+ this.ej2Instances._setProperties(prop, muteOnChange);
86
+ }
87
+ if (prop && this.models && this.models.length) {
88
+ Object.keys(prop).map(function (key) {
89
+ _this.models.map(function (model) {
90
+ if ((key === model) && !(/datasource/i.test(key))) {
91
+ if (_this.isVue3) {
92
+ _this.ej2Instances.vueInstance.$emit('update:' + key, prop[key]);
93
+ }
94
+ else {
95
+ _this.$emit('update:' + key, prop[key]);
96
+ _this.$emit('modelchanged', prop[key]);
97
+ }
102
98
  }
103
- }
99
+ });
104
100
  });
105
- });
106
- }
107
- };
108
- PivotFieldListComponent.prototype.render = function (createElement) {
109
- var h = !isExecute ? gh : createElement;
110
- var slots = null;
111
- if (!isNullOrUndefined(this.$slots.default)) {
112
- slots = !isExecute ? this.$slots.default() : this.$slots.default;
113
- }
114
- return h('div', slots);
115
- };
116
- PivotFieldListComponent.prototype.custom = function () {
117
- this.updated();
118
- };
119
- PivotFieldListComponent.prototype.update = function (control) {
120
- return this.ej2Instances.update(control);
121
- };
122
- PivotFieldListComponent.prototype.updateView = function (control) {
123
- return this.ej2Instances.updateView(control);
124
- };
125
- PivotFieldListComponent = __decorate([
126
- EJComponentDecorator({
127
- props: properties
128
- }, isExecute)
129
- ,Options({
130
- props: props,
131
- watch: watch,
132
- emits: emitProbs,
133
- provide: function provide() {
134
- return {
135
- custom: this.custom
136
- };
137
101
  }
138
- })
139
- ], PivotFieldListComponent);
140
- return PivotFieldListComponent;
141
- }(ComponentBase));
142
- export { PivotFieldListComponent };
102
+ },
103
+ custom: function () {
104
+ this.updated();
105
+ },
106
+ update: function (control) {
107
+ return this.ej2Instances.update(control);
108
+ },
109
+ updateView: function (control) {
110
+ return this.ej2Instances.updateView(control);
111
+ },
112
+ }
113
+ });
143
114
  export var PivotFieldListPlugin = {
144
115
  name: 'ejs-pivotfieldlist',
145
116
  install: function (Vue) {
@@ -1,44 +1,15 @@
1
- import { ComponentBase } from '@syncfusion/ej2-vue-base';
2
1
  export declare const properties: string[];
3
2
  export declare const modelProps: string[];
4
3
  export declare const testProp: any;
5
- export declare const props: any;
6
- export declare const watch: any;
7
- export declare const emitProbs: any;
4
+ export declare const props: any, watch: any, emitProbs: any;
8
5
  /**
9
- * `ejs-pivotview` represents the VueJS PivotView Component.
6
+ * `ejs-pivotview` represents the VueJS Pivot Table Component.
10
7
  * ```vue
11
8
  * <ejs-pivotview></ejs-pivotview>
12
9
  * ```
13
10
  */
14
- export declare class PivotViewComponent extends ComponentBase {
15
- ej2Instances: any;
16
- propKeys: string[];
17
- models: string[];
18
- hasChildDirective: boolean;
19
- protected hasInjectedModules: boolean;
20
- tagMapper: {
21
- [key: string]: Object;
22
- };
23
- tagNameMapper: Object;
24
- isVue3: boolean;
25
- templateCollection: any;
26
- constructor();
27
- clearTemplate(templateNames?: string[]): any;
28
- setProperties(prop: any, muteOnChange: boolean): void;
29
- render(createElement: any): any;
30
- custom(): void;
31
- chartExport(type: Object, pdfExportProperties?: Object, isMultipleExport?: boolean, pdfDoc?: Object, isBlob?: boolean): Object;
32
- createCalculatedFieldDialog(): void;
33
- csvExport(excelExportProperties?: Object, isMultipleExport?: boolean, workbook?: any, isBlob?: boolean): void;
34
- excelExport(excelExportProperties?: Object, isMultipleExport?: boolean, workbook?: any, isBlob?: boolean): void;
35
- loadPersistData(persistData: string): void;
36
- pdfExport(pdfExportProperties?: Object, isMultipleExport?: boolean, pdfDoc?: Object, isBlob?: boolean, exportBothTableAndChart?: boolean): Object;
37
- printChart(): void;
38
- refresh(): void;
39
- showConditionalFormattingDialog(): void;
40
- showNumberFormattingDialog(): void;
41
- }
11
+ export declare let PivotViewComponent: any;
12
+ export declare type PivotViewComponent = InstanceType<typeof PivotViewComponent>;
42
13
  export declare const PivotViewPlugin: {
43
14
  name: string;
44
15
  install(Vue: any): void;