@syncfusion/ej2-vue-pivotview 20.4.54 → 21.1.37
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +15 -31
- package/dist/ej2-vue-pivotview.umd.min.js +2 -2
- package/dist/ej2-vue-pivotview.umd.min.js.map +1 -1
- package/dist/es6/ej2-vue-pivotview.es2015.js +178 -220
- package/dist/es6/ej2-vue-pivotview.es2015.js.map +1 -1
- package/dist/es6/ej2-vue-pivotview.es5.js +201 -253
- package/dist/es6/ej2-vue-pivotview.es5.js.map +1 -1
- package/dist/global/ej2-vue-pivotview.min.js +2 -2
- package/package.json +11 -10
- package/src/pivotfieldlist/pivotfieldlist.component.d.ts +3 -24
- package/src/pivotfieldlist/pivotfieldlist.component.js +90 -119
- package/src/pivotview/pivotview.component.d.ts +4 -33
- package/src/pivotview/pivotview.component.js +114 -143
- package/styles/bootstrap-dark.css +81 -5
- package/styles/bootstrap.css +82 -5
- package/styles/bootstrap4.css +82 -15
- package/styles/bootstrap5-dark.css +95 -18
- package/styles/bootstrap5.css +95 -18
- package/styles/fabric-dark.css +84 -13
- package/styles/fabric.css +83 -10
- package/styles/fluent-dark.css +101 -20
- package/styles/fluent.css +101 -20
- package/styles/highcontrast-light.css +84 -9
- package/styles/highcontrast.css +84 -9
- package/styles/material-dark.css +81 -5
- package/styles/material.css +81 -11
- package/styles/pivotfieldlist/bootstrap-dark.css +58 -2
- package/styles/pivotfieldlist/bootstrap.css +58 -2
- package/styles/pivotfieldlist/bootstrap4.css +58 -2
- package/styles/pivotfieldlist/bootstrap5-dark.css +66 -9
- package/styles/pivotfieldlist/bootstrap5.css +66 -9
- package/styles/pivotfieldlist/fabric-dark.css +58 -2
- package/styles/pivotfieldlist/fabric.css +58 -2
- package/styles/pivotfieldlist/fluent-dark.css +72 -11
- package/styles/pivotfieldlist/fluent.css +72 -11
- package/styles/pivotfieldlist/highcontrast-light.css +58 -2
- package/styles/pivotfieldlist/highcontrast.css +58 -2
- package/styles/pivotfieldlist/material-dark.css +58 -2
- package/styles/pivotfieldlist/material.css +58 -2
- package/styles/pivotfieldlist/tailwind-dark.css +64 -7
- package/styles/pivotfieldlist/tailwind.css +64 -7
- package/styles/pivotview/bootstrap-dark.css +23 -3
- package/styles/pivotview/bootstrap.css +24 -3
- package/styles/pivotview/bootstrap4.css +24 -13
- package/styles/pivotview/bootstrap5-dark.css +29 -9
- package/styles/pivotview/bootstrap5.css +29 -9
- package/styles/pivotview/fabric-dark.css +26 -11
- package/styles/pivotview/fabric.css +25 -8
- package/styles/pivotview/fluent-dark.css +29 -9
- package/styles/pivotview/fluent.css +29 -9
- package/styles/pivotview/highcontrast-light.css +26 -7
- package/styles/pivotview/highcontrast.css +26 -7
- package/styles/pivotview/material-dark.css +23 -3
- package/styles/pivotview/material.css +23 -9
- package/styles/pivotview/tailwind-dark.css +26 -10
- package/styles/pivotview/tailwind.css +26 -10
- package/styles/tailwind-dark.css +90 -17
- package/styles/tailwind.css +90 -17
package/CHANGELOG.md
CHANGED
|
@@ -4,51 +4,35 @@
|
|
|
4
4
|
|
|
5
5
|
### Pivot Table
|
|
6
6
|
|
|
7
|
-
####
|
|
8
|
-
|
|
9
|
-
- `#I423348` - The "autoFit" property in the pivot table will now work properly.
|
|
10
|
-
- `#I442142` - Headers are now properly exported when exporting a Pivot Table to an Excel sheet.
|
|
11
|
-
- `#I441872` - The performance issue has now been fixed with the defer layout update, when the popup field list closes with a "Cancel" button click.
|
|
12
|
-
|
|
13
|
-
## 20.4.48 (2023-02-01)
|
|
7
|
+
#### Breaking changes
|
|
14
8
|
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
#### Bug Fixes
|
|
9
|
+
- The property type of [`toolbar`](https://ej2.syncfusion.com/documentation/api/pivotview#toolbar) has been changed from `(ToolbarItems | ItemModel)[]` to `ToolbarItems[] | ItemModel[]`.
|
|
10
|
+
- In the server side controller, the imported namespace name has been changed from `Syncfusion.Blazor.PivotView` to `Syncfusion.EJ2.Pivot`.
|
|
18
11
|
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
## 20.4.44 (2023-01-18)
|
|
22
|
-
|
|
23
|
-
### Pivot Table
|
|
24
|
-
|
|
25
|
-
#### Bug Fixes
|
|
12
|
+
#### Bug fixes
|
|
26
13
|
|
|
27
|
-
-
|
|
14
|
+
- `#I438098` - Events are now properly bound to the element that is rendered using the cell template.
|
|
28
15
|
|
|
29
|
-
##
|
|
16
|
+
## 21.1.35 (2023-03-23)
|
|
30
17
|
|
|
31
18
|
### Pivot Table
|
|
32
19
|
|
|
33
20
|
#### Bug Fixes
|
|
34
21
|
|
|
35
|
-
-
|
|
36
|
-
|
|
37
|
-
## 20.4.42 (2023-01-04)
|
|
38
|
-
|
|
39
|
-
### Pivot Table
|
|
40
|
-
|
|
41
|
-
#### Bug Fixes
|
|
22
|
+
- `#I437267` - During initial rendering, the spinner will now be properly displayed in the pivot table.
|
|
42
23
|
|
|
43
|
-
|
|
24
|
+
#### New Features
|
|
44
25
|
|
|
45
|
-
|
|
26
|
+
- `#F165214` - Provided paging support in server side engine that allows to break and display large amounts of data page by page.
|
|
27
|
+
- Provided the role option that allows access to restricted cube information such as measures, dimensions, hierarchy, and more when a SSAS OLAP cube is bound to the pivot table.
|
|
46
28
|
|
|
47
|
-
|
|
29
|
+
#### Breaking Changes
|
|
48
30
|
|
|
49
|
-
|
|
31
|
+
- The property type `pivotValues` has been changed from `IPivotValues` to `IAxisSet[][]`.
|
|
50
32
|
|
|
51
|
-
|
|
33
|
+
| Property Name | Description | Previous Type | Current Type |
|
|
34
|
+
|---|---|---|---|
|
|
35
|
+
| pivotValues | It holds the collection of cell information that has been populated from the engine on the basis of the given pivot report to render the component as table and chart. | IPivotValues | IAxisSet[][] |
|
|
52
36
|
|
|
53
37
|
## 20.4.38 (2022-12-21)
|
|
54
38
|
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: ej2-vue-pivotview.umd.min.js
|
|
3
|
-
* version :
|
|
3
|
+
* version : 21.1.37
|
|
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-pivotview"),require("@syncfusion/ej2-vue-base"),require("@syncfusion/ej2-base")):"function"==typeof define&&define.amd?define(["exports","@syncfusion/ej2-pivotview","@syncfusion/ej2-vue-base","@syncfusion/ej2-base"],t):t(e.ej={},e.ej2Pivotview,e.ej2VueBase,e.ej2Base)}(this,function(e,t,
|
|
10
|
+
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@syncfusion/ej2-pivotview"),require("@syncfusion/ej2-vue-base"),require("@syncfusion/ej2-base")):"function"==typeof define&&define.amd?define(["exports","@syncfusion/ej2-pivotview","@syncfusion/ej2-vue-base","@syncfusion/ej2-base"],t):t(e.ej={},e.ej2Pivotview,e.ej2VueBase,e.ej2Base)}(this,function(e,t,n,i){"use strict";var s=["isLazyUpdate","plugins","aggregateTypes","allowCalculatedField","allowConditionalFormatting","allowDataCompression","allowDeferLayoutUpdate","allowDrillThrough","allowExcelExport","allowGrouping","allowNumberFormatting","allowPdfExport","cellTemplate","chartSettings","chartTypes","cssClass","dataSourceSettings","displayOption","editSettings","enableFieldSearching","enableHtmlSanitizer","enablePaging","enablePersistence","enableRtl","enableValueSorting","enableVirtualization","exportAllPages","gridSettings","groupingBarSettings","height","hyperlinkSettings","loadOnDemandInMemberEditor","locale","maxNodeLimitInMemberEditor","maxRowsInDrillThrough","pageSettings","pagerSettings","pivotValues","showFieldList","showGroupingBar","showToolbar","showTooltip","showValuesButton","spinnerTemplate","toolbar","toolbarTemplate","tooltipTemplate","width","actionBegin","actionComplete","actionFailure","aggregateCellInfo","aggregateMenuOpen","beforeExport","beforeServiceInvoke","beginDrillThrough","calculatedFieldCreate","cellClick","cellSelected","cellSelecting","chartSeriesCreated","conditionalFormatting","created","dataBound","destroyed","drill","drillThrough","editCompleted","enginePopulated","enginePopulating","exportComplete","fetchReport","fieldDragStart","fieldDrop","fieldListRefreshed","fieldRemove","hyperlinkCellClick","load","loadReport","memberEditorOpen","memberFiltering","newReport","numberFormatting","onFieldDropped","onHeadersSort","onPdfCellRender","removeReport","renameReport","saveReport","toolbarClick","toolbarRender"],o=[],a=n.getProps({props:s}),r=a[0],l=a[1],d=Object.keys(l);d.push("modelchanged","update:modelValue");for(var c=0,u=o;c<u.length;c++){var p=u[c];d.push("update:"+p)}var h=n.vueDefineComponent({name:"PivotViewComponent",mixins:[n.ComponentBase],props:r,watch:l,emits:d,provide:function(){return{custom:this.custom}},data:function(){return{ej2Instances:new t.PivotView({}),propKeys:s,models:o,hasChildDirective:!1,hasInjectedModules:!0,tagMapper:{},tagNameMapper:{},isVue3:!n.isExecute,templateCollection:{}}},created:function(){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,s=null;return i.isNullOrUndefined(this.$slots.default)||(s=n.isExecute?this.$slots.default:this.$slots.default()),t("div",s)},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 s=n[t],o=this.templateCollection[s];if(o&&o.length){for(var a=0,r=o;a<r.length;a++){var l=r[a];i.getValue("__vue__.$destroy",l)&&l.__vue__.$destroy(),l.innerHTML&&(l.innerHTML="")}delete this.templateCollection[s]}}},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(i){t!==i||/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])))})})},custom:function(){this.updated()},chartExport:function(e,t,n,i,s){return this.ej2Instances.chartExport(e,t,n,i,s)},createCalculatedFieldDialog:function(){return this.ej2Instances.createCalculatedFieldDialog()},csvExport:function(e,t,n,i){return this.ej2Instances.csvExport(e,t,n,i)},excelExport:function(e,t,n,i){return this.ej2Instances.excelExport(e,t,n,i)},loadPersistData:function(e){return this.ej2Instances.loadPersistData(e)},pdfExport:function(e,t,n,i,s){return this.ej2Instances.pdfExport(e,t,n,i,s)},printChart:function(){return this.ej2Instances.printChart()},refresh:function(){return this.ej2Instances.refresh()},showConditionalFormattingDialog:function(){return this.ej2Instances.showConditionalFormattingDialog()},showNumberFormattingDialog:function(){return this.ej2Instances.showNumberFormattingDialog()}}}),m={name:"ejs-pivotview",install:function(e){e.component(m.name,h)}},g=["isLazyUpdate","plugins","aggregateTypes","allowCalculatedField","allowDeferLayoutUpdate","cssClass","currencyCode","dataSourceSettings","enableFieldSearching","enableHtmlSanitizer","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"],f=[],v=n.getProps({props:g}),j=v[0],b=v[1],C=Object.keys(b);C.push("modelchanged","update:modelValue");for(var I=0,P=f;I<P.length;I++){var w=P[I];C.push("update:"+w)}var y=n.vueDefineComponent({name:"PivotFieldListComponent",mixins:[n.ComponentBase],props:j,watch:b,emits:C,provide:function(){return{custom:this.custom}},data:function(){return{ej2Instances:new t.PivotFieldList({}),propKeys:g,models:f,hasChildDirective:!1,hasInjectedModules:!0,tagMapper:{},tagNameMapper:{},isVue3:!n.isExecute,templateCollection:{}}},created:function(){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,s=null;return i.isNullOrUndefined(this.$slots.default)||(s=n.isExecute?this.$slots.default:this.$slots.default()),t("div",s)},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 s=n[t],o=this.templateCollection[s];if(o&&o.length){for(var a=0,r=o;a<r.length;a++){var l=r[a];i.getValue("__vue__.$destroy",l)&&l.__vue__.$destroy(),l.innerHTML&&(l.innerHTML="")}delete this.templateCollection[s]}}},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(i){t!==i||/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])))})})},custom:function(){this.updated()},update:function(e){return this.ej2Instances.update(e)},updateView:function(e){return this.ej2Instances.updateView(e)}}}),x={name:"ejs-pivotfieldlist",install:function(e){e.component(x.name,y)}};e.PivotViewComponent=h,e.PivotViewPlugin=m,e.PivotFieldListComponent=y,e.PivotFieldListPlugin=x,Object.keys(t).forEach(function(n){e[n]=t[n]}),Object.defineProperty(e,"__esModule",{value:!0})});
|
|
11
11
|
//# sourceMappingURL=ej2-vue-pivotview.umd.min.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ej2-vue-pivotview.umd.min.js","sources":["../vue2/src/pivotview/pivotview.component.js","../vue2/src/pivotfieldlist/pivotfieldlist.component.js"],"sourcesContent":["var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n 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;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nimport { ComponentBase, EJComponentDecorator } from '@syncfusion/ej2-vue-base';\nimport { getValue } from '@syncfusion/ej2-base';\nimport { PivotView } from '@syncfusion/ej2-pivotview';\nexport var properties = ['isLazyUpdate', 'plugins', 'aggregateTypes', 'allowCalculatedField', 'allowConditionalFormatting', 'allowDataCompression', 'allowDeferLayoutUpdate', 'allowDrillThrough', 'allowExcelExport', 'allowGrouping', 'allowNumberFormatting', 'allowPdfExport', 'cellTemplate', 'chartSettings', 'chartTypes', 'cssClass', 'dataSourceSettings', 'displayOption', 'editSettings', 'enableFieldSearching', 'enableHtmlSanitizer', 'enablePaging', 'enablePersistence', 'enableRtl', 'enableValueSorting', 'enableVirtualization', 'exportAllPages', 'gridSettings', 'groupingBarSettings', 'height', 'hyperlinkSettings', 'loadOnDemandInMemberEditor', 'locale', 'maxNodeLimitInMemberEditor', 'maxRowsInDrillThrough', 'pageSettings', 'pagerSettings', 'pivotValues', 'showFieldList', 'showGroupingBar', 'showToolbar', 'showTooltip', 'showValuesButton', 'spinnerTemplate', 'toolbar', 'toolbarTemplate', 'tooltipTemplate', 'width', 'actionBegin', 'actionComplete', 'actionFailure', 'aggregateCellInfo', 'aggregateMenuOpen', 'beforeExport', 'beforeServiceInvoke', 'beginDrillThrough', 'calculatedFieldCreate', 'cellClick', 'cellSelected', 'cellSelecting', 'chartSeriesCreated', 'conditionalFormatting', 'created', 'dataBound', 'destroyed', 'drill', 'drillThrough', 'editCompleted', 'enginePopulated', 'enginePopulating', 'exportComplete', 'fetchReport', 'fieldDragStart', 'fieldDrop', 'fieldListRefreshed', 'fieldRemove', 'hyperlinkCellClick', 'load', 'loadReport', 'memberEditorOpen', 'memberFiltering', 'newReport', 'numberFormatting', 'onFieldDropped', 'onHeadersSort', 'onPdfCellRender', 'removeReport', 'renameReport', 'saveReport', 'toolbarClick', 'toolbarRender'];\nexport var modelProps = [];\n/**\n * `ejs-pivotview` represents the VueJS PivotView Component.\n * ```vue\n * <ejs-pivotview></ejs-pivotview>\n * ```\n */\nvar PivotViewComponent = /** @class */ (function (_super) {\n __extends(PivotViewComponent, _super);\n function PivotViewComponent() {\n var _this = _super.call(this, arguments) || this;\n _this.propKeys = properties;\n _this.models = modelProps;\n _this.hasChildDirective = false;\n _this.hasInjectedModules = true;\n _this.tagMapper = {};\n _this.tagNameMapper = {};\n _this.ej2Instances = new PivotView({});\n _this.bindProperties();\n _this.ej2Instances._setProperties = _this.ej2Instances.setProperties;\n _this.ej2Instances.setProperties = _this.setProperties;\n _this.ej2Instances.clearTemplate = _this.clearTemplate;\n _this.updated = _this.updated;\n return _this;\n }\n PivotViewComponent.prototype.clearTemplate = function (templateNames) {\n if (!templateNames) {\n templateNames = Object.keys(this.templateCollection || {});\n }\n if (templateNames.length && this.templateCollection) {\n for (var _i = 0, templateNames_1 = templateNames; _i < templateNames_1.length; _i++) {\n var tempName = templateNames_1[_i];\n var elementCollection = this.templateCollection[tempName];\n if (elementCollection && elementCollection.length) {\n for (var _a = 0, elementCollection_1 = elementCollection; _a < elementCollection_1.length; _a++) {\n var ele = elementCollection_1[_a];\n var destroy = getValue('__vue__.$destroy', ele);\n if (destroy) {\n ele.__vue__.$destroy();\n }\n if (ele.innerHTML) {\n ele.innerHTML = '';\n }\n }\n delete this.templateCollection[tempName];\n }\n }\n }\n };\n PivotViewComponent.prototype.setProperties = function (prop, muteOnChange) {\n var _this = this;\n if (this.ej2Instances && this.ej2Instances._setProperties) {\n this.ej2Instances._setProperties(prop, muteOnChange);\n }\n if (prop && this.models && this.models.length) {\n Object.keys(prop).map(function (key) {\n _this.models.map(function (model) {\n if ((key === model) && !(/datasource/i.test(key))) {\n _this.$emit('update:' + key, prop[key]);\n }\n });\n });\n }\n };\n PivotViewComponent.prototype.render = function (createElement) {\n return createElement('div', this.$slots.default);\n };\n PivotViewComponent.prototype.custom = function () {\n this.updated();\n };\n PivotViewComponent.prototype.chartExport = function (type, pdfExportProperties, isMultipleExport, pdfDoc, isBlob) {\n return this.ej2Instances.chartExport(type, pdfExportProperties, isMultipleExport, pdfDoc, isBlob);\n };\n PivotViewComponent.prototype.createCalculatedFieldDialog = function () {\n return this.ej2Instances.createCalculatedFieldDialog();\n };\n PivotViewComponent.prototype.csvExport = function (excelExportProperties, isMultipleExport, workbook, isBlob) {\n return this.ej2Instances.csvExport(excelExportProperties, isMultipleExport, workbook, isBlob);\n };\n PivotViewComponent.prototype.excelExport = function (excelExportProperties, isMultipleExport, workbook, isBlob) {\n return this.ej2Instances.excelExport(excelExportProperties, isMultipleExport, workbook, isBlob);\n };\n PivotViewComponent.prototype.loadPersistData = function (persistData) {\n return this.ej2Instances.loadPersistData(persistData);\n };\n PivotViewComponent.prototype.pdfExport = function (pdfExportProperties, isMultipleExport, pdfDoc, isBlob, exportBothTableAndChart) {\n return this.ej2Instances.pdfExport(pdfExportProperties, isMultipleExport, pdfDoc, isBlob, exportBothTableAndChart);\n };\n PivotViewComponent.prototype.printChart = function () {\n return this.ej2Instances.printChart();\n };\n PivotViewComponent.prototype.refresh = function () {\n return this.ej2Instances.refresh();\n };\n PivotViewComponent.prototype.showConditionalFormattingDialog = function () {\n return this.ej2Instances.showConditionalFormattingDialog();\n };\n PivotViewComponent.prototype.showNumberFormattingDialog = function () {\n return this.ej2Instances.showNumberFormattingDialog();\n };\n PivotViewComponent = __decorate([\n EJComponentDecorator({\n props: properties\n })\n ], PivotViewComponent);\n return PivotViewComponent;\n}(ComponentBase));\nexport { PivotViewComponent };\nexport var PivotViewPlugin = {\n name: 'ejs-pivotview',\n install: function (Vue) {\n Vue.component(PivotViewPlugin.name, PivotViewComponent);\n }\n};\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n 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;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nimport { ComponentBase, EJComponentDecorator } from '@syncfusion/ej2-vue-base';\nimport { getValue } from '@syncfusion/ej2-base';\nimport { PivotFieldList } from '@syncfusion/ej2-pivotview';\nexport 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'];\nexport var modelProps = [];\n/**\n * `ejs-pivotfieldlist` represents the VueJS PivotFieldList Component.\n * ```vue\n * <ejs-pivotfieldlist></ejs-pivotfieldlist>\n * ```\n */\nvar PivotFieldListComponent = /** @class */ (function (_super) {\n __extends(PivotFieldListComponent, _super);\n function PivotFieldListComponent() {\n var _this = _super.call(this, arguments) || this;\n _this.propKeys = properties;\n _this.models = modelProps;\n _this.hasChildDirective = false;\n _this.hasInjectedModules = true;\n _this.tagMapper = {};\n _this.tagNameMapper = {};\n _this.ej2Instances = new PivotFieldList({});\n _this.bindProperties();\n _this.ej2Instances._setProperties = _this.ej2Instances.setProperties;\n _this.ej2Instances.setProperties = _this.setProperties;\n _this.ej2Instances.clearTemplate = _this.clearTemplate;\n _this.updated = _this.updated;\n return _this;\n }\n PivotFieldListComponent.prototype.clearTemplate = function (templateNames) {\n if (!templateNames) {\n templateNames = Object.keys(this.templateCollection || {});\n }\n if (templateNames.length && this.templateCollection) {\n for (var _i = 0, templateNames_1 = templateNames; _i < templateNames_1.length; _i++) {\n var tempName = templateNames_1[_i];\n var elementCollection = this.templateCollection[tempName];\n if (elementCollection && elementCollection.length) {\n for (var _a = 0, elementCollection_1 = elementCollection; _a < elementCollection_1.length; _a++) {\n var ele = elementCollection_1[_a];\n var destroy = getValue('__vue__.$destroy', ele);\n if (destroy) {\n ele.__vue__.$destroy();\n }\n if (ele.innerHTML) {\n ele.innerHTML = '';\n }\n }\n delete this.templateCollection[tempName];\n }\n }\n }\n };\n PivotFieldListComponent.prototype.setProperties = function (prop, muteOnChange) {\n var _this = this;\n if (this.ej2Instances && this.ej2Instances._setProperties) {\n this.ej2Instances._setProperties(prop, muteOnChange);\n }\n if (prop && this.models && this.models.length) {\n Object.keys(prop).map(function (key) {\n _this.models.map(function (model) {\n if ((key === model) && !(/datasource/i.test(key))) {\n _this.$emit('update:' + key, prop[key]);\n }\n });\n });\n }\n };\n PivotFieldListComponent.prototype.render = function (createElement) {\n return createElement('div', this.$slots.default);\n };\n PivotFieldListComponent.prototype.custom = function () {\n this.updated();\n };\n PivotFieldListComponent.prototype.update = function (control) {\n return this.ej2Instances.update(control);\n };\n PivotFieldListComponent.prototype.updateView = function (control) {\n return this.ej2Instances.updateView(control);\n };\n PivotFieldListComponent = __decorate([\n EJComponentDecorator({\n props: properties\n })\n ], PivotFieldListComponent);\n return PivotFieldListComponent;\n}(ComponentBase));\nexport { PivotFieldListComponent };\nexport var PivotFieldListPlugin = {\n name: 'ejs-pivotfieldlist',\n install: function (Vue) {\n Vue.component(PivotFieldListPlugin.name, PivotFieldListComponent);\n }\n};\n"],"names":["__extends","extendStatics","d","b","Object","setPrototypeOf","__proto__","Array","p","hasOwnProperty","__","this","constructor","prototype","create","__decorate","decorators","target","key","desc","c","arguments","length","r","getOwnPropertyDescriptor","Reflect","decorate","i","defineProperty","properties","modelProps","PivotViewComponent","_super","_this","call","propKeys","models","hasChildDirective","hasInjectedModules","tagMapper","tagNameMapper","ej2Instances","PivotView","bindProperties","_setProperties","setProperties","clearTemplate","updated","templateNames","keys","templateCollection","_i","templateNames_1","tempName","elementCollection","_a","elementCollection_1","ele","getValue","__vue__","$destroy","innerHTML","prop","muteOnChange","map","model","test","$emit","render","createElement","$slots","default","custom","chartExport","type","pdfExportProperties","isMultipleExport","pdfDoc","isBlob","createCalculatedFieldDialog","csvExport","excelExportProperties","workbook","excelExport","loadPersistData","persistData","pdfExport","exportBothTableAndChart","printChart","refresh","showConditionalFormattingDialog","showNumberFormattingDialog","EJComponentDecorator","props","ComponentBase","PivotViewPlugin","name","install","Vue","component","PivotFieldListComponent","PivotFieldList","update","control","updateView","PivotFieldListPlugin"],"mappings":"wZAAA,IAAIA,EAAwC,WACxC,IAAIC,EAAgB,SAAUC,EAAGC,GAI7B,OAHAF,EAAgBG,OAAOC,iBAChBC,wBAA2BC,OAAS,SAAUL,EAAGC,GAAKD,EAAEI,UAAYH,IACvE,SAAUD,EAAGC,GAAK,IAAK,IAAIK,KAAKL,EAAOA,EAAEM,eAAeD,KAAIN,EAAEM,GAAKL,EAAEK,MACpDN,EAAGC,IAE5B,OAAO,SAAUD,EAAGC,GAEhB,SAASO,IAAOC,KAAKC,YAAcV,EADnCD,EAAcC,EAAGC,GAEjBD,EAAEW,UAAkB,OAANV,EAAaC,OAAOU,OAAOX,IAAMO,EAAGG,UAAYV,EAAEU,UAAW,IAAIH,IAV3C,GAaxCK,EAA0C,SAAUC,EAAYC,EAAQC,EAAKC,GAC7E,IAA2HjB,EAAvHkB,EAAIC,UAAUC,OAAQC,EAAIH,EAAI,EAAIH,EAAkB,OAATE,EAAgBA,EAAOf,OAAOoB,yBAAyBP,EAAQC,GAAOC,EACrH,GAAuB,iBAAZM,SAAoD,mBAArBA,QAAQC,SAAyBH,EAAIE,QAAQC,SAASV,EAAYC,EAAQC,EAAKC,QACpH,IAAK,IAAIQ,EAAIX,EAAWM,OAAS,EAAGK,GAAK,EAAGA,KAASzB,EAAIc,EAAWW,MAAIJ,GAAKH,EAAI,EAAIlB,EAAEqB,GAAKH,EAAI,EAAIlB,EAAEe,EAAQC,EAAKK,GAAKrB,EAAEe,EAAQC,KAASK,GAChJ,OAAOH,EAAI,GAAKG,GAAKnB,OAAOwB,eAAeX,EAAQC,EAAKK,GAAIA,GAKrDM,GAAc,eAAgB,UAAW,iBAAkB,uBAAwB,6BAA8B,uBAAwB,yBAA0B,oBAAqB,mBAAoB,gBAAiB,wBAAyB,iBAAkB,eAAgB,gBAAiB,aAAc,WAAY,qBA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M,qBACNC,QAAS,SAAUC,GACfA,EAAIC,UAAUM,EAAqBT,KAAMI"}
|
|
1
|
+
{"version":3,"file":"ej2-vue-pivotview.umd.min.js","sources":["../src/pivotview/pivotview.component.js","../src/pivotfieldlist/pivotfieldlist.component.js"],"sourcesContent":["import { ComponentBase, gh, getProps, isExecute, vueDefineComponent } from '@syncfusion/ej2-vue-base';\nimport { isNullOrUndefined, getValue } from '@syncfusion/ej2-base';\nimport { PivotView } from '@syncfusion/ej2-pivotview';\nexport var properties = ['isLazyUpdate', 'plugins', 'aggregateTypes', 'allowCalculatedField', 'allowConditionalFormatting', 'allowDataCompression', 'allowDeferLayoutUpdate', 'allowDrillThrough', 'allowExcelExport', 'allowGrouping', 'allowNumberFormatting', 'allowPdfExport', 'cellTemplate', 'chartSettings', 'chartTypes', 'cssClass', 'dataSourceSettings', 'displayOption', 'editSettings', 'enableFieldSearching', 'enableHtmlSanitizer', 'enablePaging', 'enablePersistence', 'enableRtl', 'enableValueSorting', 'enableVirtualization', 'exportAllPages', 'gridSettings', 'groupingBarSettings', 'height', 'hyperlinkSettings', 'loadOnDemandInMemberEditor', 'locale', 'maxNodeLimitInMemberEditor', 'maxRowsInDrillThrough', 'pageSettings', 'pagerSettings', 'pivotValues', 'showFieldList', 'showGroupingBar', 'showToolbar', 'showTooltip', 'showValuesButton', 'spinnerTemplate', 'toolbar', 'toolbarTemplate', 'tooltipTemplate', 'width', 'actionBegin', 'actionComplete', 'actionFailure', 'aggregateCellInfo', 'aggregateMenuOpen', 'beforeExport', 'beforeServiceInvoke', 'beginDrillThrough', 'calculatedFieldCreate', 'cellClick', 'cellSelected', 'cellSelecting', 'chartSeriesCreated', 'conditionalFormatting', 'created', 'dataBound', 'destroyed', 'drill', 'drillThrough', 'editCompleted', 'enginePopulated', 'enginePopulating', 'exportComplete', 'fetchReport', 'fieldDragStart', 'fieldDrop', 'fieldListRefreshed', 'fieldRemove', 'hyperlinkCellClick', 'load', 'loadReport', 'memberEditorOpen', 'memberFiltering', 'newReport', 'numberFormatting', 'onFieldDropped', 'onHeadersSort', 'onPdfCellRender', 'removeReport', 'renameReport', 'saveReport', 'toolbarClick', 'toolbarRender'];\nexport var modelProps = [];\nexport var testProp = getProps({ props: properties });\nexport var props = testProp[0], watch = testProp[1], emitProbs = Object.keys(watch);\nemitProbs.push('modelchanged', 'update:modelValue');\nfor (var _i = 0, modelProps_1 = modelProps; _i < modelProps_1.length; _i++) {\n var props_1 = modelProps_1[_i];\n emitProbs.push('update:' + props_1);\n}\n/**\n * `ejs-pivotview` represents the VueJS Pivot Table Component.\n * ```vue\n * <ejs-pivotview></ejs-pivotview>\n * ```\n */\nexport var PivotViewComponent = vueDefineComponent({\n name: 'PivotViewComponent',\n mixins: [ComponentBase],\n props: props,\n watch: watch,\n emits: emitProbs,\n provide: function () { return { custom: this.custom }; },\n data: function () {\n return {\n ej2Instances: new PivotView({}),\n propKeys: properties,\n models: modelProps,\n hasChildDirective: false,\n hasInjectedModules: true,\n tagMapper: {},\n tagNameMapper: {},\n isVue3: !isExecute,\n templateCollection: {},\n };\n },\n created: function () {\n this.bindProperties();\n this.ej2Instances._setProperties = this.ej2Instances.setProperties;\n this.ej2Instances.setProperties = this.setProperties;\n this.ej2Instances.clearTemplate = this.clearTemplate;\n this.updated = this.updated;\n },\n render: function (createElement) {\n var h = !isExecute ? gh : createElement;\n var slots = null;\n if (!isNullOrUndefined(this.$slots.default)) {\n slots = !isExecute ? this.$slots.default() : this.$slots.default;\n }\n return h('div', slots);\n },\n methods: {\n clearTemplate: function (templateNames) {\n if (!templateNames) {\n templateNames = Object.keys(this.templateCollection || {});\n }\n if (templateNames.length && this.templateCollection) {\n for (var _i = 0, templateNames_1 = templateNames; _i < templateNames_1.length; _i++) {\n var tempName = templateNames_1[_i];\n var elementCollection = this.templateCollection[tempName];\n if (elementCollection && elementCollection.length) {\n for (var _a = 0, elementCollection_1 = elementCollection; _a < elementCollection_1.length; _a++) {\n var ele = elementCollection_1[_a];\n var destroy = getValue('__vue__.$destroy', ele);\n if (destroy) {\n ele.__vue__.$destroy();\n }\n if (ele.innerHTML) {\n ele.innerHTML = '';\n }\n }\n delete this.templateCollection[tempName];\n }\n }\n }\n },\n setProperties: function (prop, muteOnChange) {\n var _this = this;\n if (this.isVue3) {\n this.models = !this.models ? this.ej2Instances.referModels : this.models;\n }\n if (this.ej2Instances && this.ej2Instances._setProperties) {\n this.ej2Instances._setProperties(prop, muteOnChange);\n }\n if (prop && this.models && this.models.length) {\n Object.keys(prop).map(function (key) {\n _this.models.map(function (model) {\n if ((key === model) && !(/datasource/i.test(key))) {\n if (_this.isVue3) {\n _this.ej2Instances.vueInstance.$emit('update:' + key, prop[key]);\n }\n else {\n _this.$emit('update:' + key, prop[key]);\n _this.$emit('modelchanged', prop[key]);\n }\n }\n });\n });\n }\n },\n custom: function () {\n this.updated();\n },\n chartExport: function (type, pdfExportProperties, isMultipleExport, pdfDoc, isBlob) {\n return this.ej2Instances.chartExport(type, pdfExportProperties, isMultipleExport, pdfDoc, isBlob);\n },\n createCalculatedFieldDialog: function () {\n return this.ej2Instances.createCalculatedFieldDialog();\n },\n csvExport: function (excelExportProperties, isMultipleExport, workbook, isBlob) {\n return this.ej2Instances.csvExport(excelExportProperties, isMultipleExport, workbook, isBlob);\n },\n excelExport: function (excelExportProperties, isMultipleExport, workbook, isBlob) {\n return this.ej2Instances.excelExport(excelExportProperties, isMultipleExport, workbook, isBlob);\n },\n loadPersistData: function (persistData) {\n return this.ej2Instances.loadPersistData(persistData);\n },\n pdfExport: function (pdfExportProperties, isMultipleExport, pdfDoc, isBlob, exportBothTableAndChart) {\n return this.ej2Instances.pdfExport(pdfExportProperties, isMultipleExport, pdfDoc, isBlob, exportBothTableAndChart);\n },\n printChart: function () {\n return this.ej2Instances.printChart();\n },\n refresh: function () {\n return this.ej2Instances.refresh();\n },\n showConditionalFormattingDialog: function () {\n return this.ej2Instances.showConditionalFormattingDialog();\n },\n showNumberFormattingDialog: function () {\n return this.ej2Instances.showNumberFormattingDialog();\n },\n }\n});\nexport var PivotViewPlugin = {\n name: 'ejs-pivotview',\n install: function (Vue) {\n Vue.component(PivotViewPlugin.name, PivotViewComponent);\n }\n};\n","import { ComponentBase, gh, getProps, isExecute, vueDefineComponent } from '@syncfusion/ej2-vue-base';\nimport { isNullOrUndefined, getValue } from '@syncfusion/ej2-base';\nimport { PivotFieldList } from '@syncfusion/ej2-pivotview';\nexport var properties = ['isLazyUpdate', 'plugins', 'aggregateTypes', 'allowCalculatedField', 'allowDeferLayoutUpdate', 'cssClass', 'currencyCode', 'dataSourceSettings', 'enableFieldSearching', 'enableHtmlSanitizer', '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'];\nexport var modelProps = [];\nexport var testProp = getProps({ props: properties });\nexport var props = testProp[0], watch = testProp[1], emitProbs = Object.keys(watch);\nemitProbs.push('modelchanged', 'update:modelValue');\nfor (var _i = 0, modelProps_1 = modelProps; _i < modelProps_1.length; _i++) {\n var props_1 = modelProps_1[_i];\n emitProbs.push('update:' + props_1);\n}\n/**\n * `ejs-pivotfieldlist` represents the VueJS PivotFieldList Component.\n * ```vue\n * <ejs-pivotfieldlist></ejs-pivotfieldlist>\n * ```\n */\nexport var PivotFieldListComponent = vueDefineComponent({\n name: 'PivotFieldListComponent',\n mixins: [ComponentBase],\n props: props,\n watch: watch,\n emits: emitProbs,\n provide: function () { return { custom: this.custom }; },\n data: function () {\n return {\n ej2Instances: new PivotFieldList({}),\n propKeys: properties,\n models: modelProps,\n hasChildDirective: false,\n hasInjectedModules: true,\n tagMapper: {},\n tagNameMapper: {},\n isVue3: !isExecute,\n templateCollection: {},\n };\n },\n created: function () {\n this.bindProperties();\n this.ej2Instances._setProperties = this.ej2Instances.setProperties;\n this.ej2Instances.setProperties = this.setProperties;\n this.ej2Instances.clearTemplate = this.clearTemplate;\n this.updated = this.updated;\n },\n render: function (createElement) {\n var h = !isExecute ? gh : createElement;\n var slots = null;\n if (!isNullOrUndefined(this.$slots.default)) {\n slots = !isExecute ? this.$slots.default() : this.$slots.default;\n }\n return h('div', slots);\n },\n methods: {\n clearTemplate: function (templateNames) {\n if (!templateNames) {\n templateNames = Object.keys(this.templateCollection || {});\n }\n if (templateNames.length && this.templateCollection) {\n for (var _i = 0, templateNames_1 = templateNames; _i < templateNames_1.length; _i++) {\n var tempName = templateNames_1[_i];\n var elementCollection = this.templateCollection[tempName];\n if (elementCollection && elementCollection.length) {\n for (var _a = 0, elementCollection_1 = elementCollection; _a < elementCollection_1.length; _a++) {\n var ele = elementCollection_1[_a];\n var destroy = getValue('__vue__.$destroy', ele);\n if (destroy) {\n ele.__vue__.$destroy();\n }\n if (ele.innerHTML) {\n ele.innerHTML = '';\n }\n }\n delete this.templateCollection[tempName];\n }\n }\n }\n },\n setProperties: function (prop, muteOnChange) {\n var _this = this;\n if (this.isVue3) {\n this.models = !this.models ? this.ej2Instances.referModels : this.models;\n }\n if (this.ej2Instances && this.ej2Instances._setProperties) {\n this.ej2Instances._setProperties(prop, muteOnChange);\n }\n if (prop && this.models && this.models.length) {\n Object.keys(prop).map(function (key) {\n _this.models.map(function (model) {\n if ((key === model) && !(/datasource/i.test(key))) {\n if (_this.isVue3) {\n _this.ej2Instances.vueInstance.$emit('update:' + key, prop[key]);\n }\n else {\n _this.$emit('update:' + key, prop[key]);\n _this.$emit('modelchanged', prop[key]);\n }\n }\n });\n });\n }\n },\n custom: function () {\n this.updated();\n },\n update: function (control) {\n return this.ej2Instances.update(control);\n },\n updateView: function (control) {\n return this.ej2Instances.updateView(control);\n },\n }\n});\nexport var PivotFieldListPlugin = {\n name: 'ejs-pivotfieldlist',\n install: function (Vue) {\n Vue.component(PivotFieldListPlugin.name, PivotFieldListComponent);\n }\n};\n"],"names":["properties","modelProps","testProp","getProps","props","watch","emitProbs","Object","keys","push","_i","modelProps_1","length","props_1","PivotViewComponent","vueDefineComponent","name","mixins","ComponentBase","emits","provide","custom","this","data","ej2Instances","PivotView","propKeys","models","hasChildDirective","hasInjectedModules","tagMapper","tagNameMapper","isVue3","isExecute","templateCollection","created","bindProperties","_setProperties","setProperties","clearTemplate","updated","render","createElement","h","gh","slots","isNullOrUndefined","$slots","default","methods","templateNames","templateNames_1","tempName","elementCollection","_a","elementCollection_1","ele","getValue","__vue__","$destroy","innerHTML","prop","muteOnChange","_this","referModels","map","key","model","test","vueInstance","$emit","chartExport","type","pdfExportProperties","isMultipleExport","pdfDoc","isBlob","createCalculatedFieldDialog","csvExport","excelExportProperties","workbook","excelExport","loadPersistData","persistData","pdfExport","exportBothTableAndChart","printChart","refresh","showConditionalFormattingDialog","showNumberFormattingDialog","PivotViewPlugin","install","Vue","component","PivotFieldListComponent","PivotFieldList","update","control","updateView","PivotFieldListPlugin"],"mappings":"wZAGO,IAAIA,GAAc,eAAgB,UAAW,iBAAkB,uBAAwB,6BAA8B,uBAAwB,yBAA0B,oBAAqB,mBAAoB,gBAAiB,wBAAyB,iBAAkB,eAAgB,gBAAiB,aAAc,WAAY,qBAAsB,gBAAiB,eAAgB,uBAAwB,sBAAuB,eAAgB,oBAAqB,YAAa,qBAAsB,uBAAwB,iBAAkB,eAAgB,sBAAuB,SAAU,oBAAqB,6BAA8B,SAAU,6BAA8B,wBAAyB,eAAgB,gBAAiB,cAAe,gBAAiB,kBAAmB,cAAe,cAAe,mBAAoB,kBAAmB,UAAW,kBAAmB,kBAAmB,QAAS,cAAe,iBAAkB,gBAAiB,oBAAqB,oBAAqB,eAAgB,sBAAuB,oBAAqB,wBAAyB,YAAa,eAAgB,gBAAiB,qBAAsB,wBAA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