vue-flexmonster 2.9.67 → 2.9.69

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/dist/index.esm.js CHANGED
@@ -29,7 +29,7 @@ var script = {
29
29
  fullscreen: Function,
30
30
  global: Object,
31
31
  height: [String, Number],
32
- licenseKey: String,
32
+ licenseKey: [String, Array],
33
33
  licenseFilePath: String,
34
34
  loadingdata: Function,
35
35
  loadinglocalization: Function,
@@ -62,6 +62,12 @@ var script = {
62
62
  container: this.$el
63
63
  });
64
64
  },
65
+ unmounted: function () {
66
+ if (this.flexmonster) {
67
+ this.flexmonster.dispose();
68
+ this.flexmonster = null;
69
+ }
70
+ },
65
71
 
66
72
  beforeUpdate() {
67
73
  return false;
@@ -164,7 +170,7 @@ var __vue_staticRenderFns__ = [];
164
170
  const __vue_inject_styles__ = undefined;
165
171
  /* scoped */
166
172
 
167
- const __vue_scope_id__ = "data-v-67556e04";
173
+ const __vue_scope_id__ = "data-v-56fd7844";
168
174
  /* module identifier */
169
175
 
170
176
  const __vue_module_identifier__ = undefined;
package/dist/index.js CHANGED
@@ -124,7 +124,7 @@ function _nonIterableRest() {
124
124
  fullscreen: Function,
125
125
  global: Object,
126
126
  height: [String, Number],
127
- licenseKey: String,
127
+ licenseKey: [String, Array],
128
128
  licenseFilePath: String,
129
129
  loadingdata: Function,
130
130
  loadinglocalization: Function,
@@ -157,6 +157,12 @@ function _nonIterableRest() {
157
157
  container: this.$el
158
158
  }));
159
159
  },
160
+ unmounted: function unmounted() {
161
+ if (this.flexmonster) {
162
+ this.flexmonster.dispose();
163
+ this.flexmonster = null;
164
+ }
165
+ },
160
166
  beforeUpdate: function beforeUpdate() {
161
167
  return false;
162
168
  }
@@ -253,10 +259,10 @@ var __vue_staticRenderFns__ = [];
253
259
  var __vue_inject_styles__ = undefined;
254
260
  /* scoped */
255
261
 
256
- var __vue_scope_id__ = "data-v-67556e04";
262
+ var __vue_scope_id__ = "data-v-56fd7844";
257
263
  /* module identifier */
258
264
 
259
- var __vue_module_identifier__ = "data-v-67556e04";
265
+ var __vue_module_identifier__ = "data-v-56fd7844";
260
266
  /* functional template */
261
267
 
262
268
  var __vue_is_functional_template__ = false;
package/dist/index.min.js CHANGED
@@ -1 +1 @@
1
- var Pivot=function(t){"use strict";function e(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var n=e(flexmonster);function r(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function o(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?r(Object(n),!0).forEach((function(e){i(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function i(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function c(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null==n)return;var r,o,i=[],c=!0,u=!1;try{for(n=n.call(t);!(c=(r=n.next()).done)&&(i.push(r.value),!e||i.length!==e);c=!0);}catch(t){u=!0,o=t}finally{try{c||null==n.return||n.return()}finally{if(u)throw o}}return i}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return u(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return u(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function u(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function l(t,e,n,r,o,i,c,u,l,a){"boolean"!=typeof c&&(l=u,u=c,c=!1);const s="function"==typeof n?n.options:n;let f;if(t&&t.render&&(s.render=t.render,s.staticRenderFns=t.staticRenderFns,s._compiled=!0,o&&(s.functional=!0)),r&&(s._scopeId=r),i?(f=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),e&&e.call(this,l(t)),t&&t._registeredComponents&&t._registeredComponents.add(i)},s._ssrRegister=f):e&&(f=c?function(t){e.call(this,a(t,this.$root.$options.shadowRoot))}:function(t){e.call(this,u(t))}),f)if(s.functional){const t=s.render;s.render=function(e,n){return f.call(n),t(e,n)}}else{const t=s.beforeCreate;s.beforeCreate=t?[].concat(t,f):[f]}return n}var a=l({render:function(){var t=this,e=t.$createElement;return(t._self._c||e)("div",[t._v("Pivot")])},staticRenderFns:[]},undefined,{name:"Pivot",props:{afterchartdraw:Function,aftergriddraw:Function,beforegriddraw:Function,beforetoolbarcreated:Function,cellclick:Function,celldoubleclick:Function,componentFolder:String,customizeAPIRequest:Function,customizeCell:Function,customizeChartElement:Function,customizeContextMenu:Function,datachanged:Function,dataerror:Function,datafilecancelled:Function,dataloaded:Function,drillthroughclose:Function,drillthroughopen:Function,fieldslistclose:Function,fieldslistopen:Function,filterclose:Function,filteropen:Function,fullscreen:Function,global:Object,height:[String,Number],licenseKey:String,licenseFilePath:String,loadingdata:Function,loadinglocalization:Function,loadingolapstructure:Function,loadingreportfile:Function,localizationerror:Function,localizationloaded:Function,olapstructureerror:Function,olapstructureloaded:Function,openingreportfile:Function,querycomplete:Function,queryerror:Function,ready:Function,report:[String,Object],reportchange:Function,reportcomplete:Function,reportfilecancelled:Function,reportfileerror:Function,runningquery:Function,sortFieldsList:Function,toolbar:Boolean,unauthorizederror:Function,update:Function,width:[Number,String],accessibility:Object,shareReportConnection:Object},mounted:function(){this.flexmonster=new n.default(o(o({},this.$props),{},{container:this.$el}))},beforeUpdate:function(){return!1}},"data-v-67556e04",false,undefined,!1,void 0,void 0,void 0),s=function(){var t=a;return t.install=function(e){e.component("Pivot",t)},t}(),f=Object.freeze({__proto__:null,default:s});return Object.entries(f).forEach((function(t){var e=c(t,2),n=e[0],r=e[1];"default"!==n&&(s[n]=r)})),s}();
1
+ var Pivot=function(t){"use strict";function e(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var n=e(flexmonster);function r(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function o(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?r(Object(n),!0).forEach((function(e){i(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function i(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function c(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null==n)return;var r,o,i=[],c=!0,u=!1;try{for(n=n.call(t);!(c=(r=n.next()).done)&&(i.push(r.value),!e||i.length!==e);c=!0);}catch(t){u=!0,o=t}finally{try{c||null==n.return||n.return()}finally{if(u)throw o}}return i}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return u(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return u(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function u(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function l(t,e,n,r,o,i,c,u,l,a){"boolean"!=typeof c&&(l=u,u=c,c=!1);const s="function"==typeof n?n.options:n;let f;if(t&&t.render&&(s.render=t.render,s.staticRenderFns=t.staticRenderFns,s._compiled=!0,o&&(s.functional=!0)),r&&(s._scopeId=r),i?(f=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),e&&e.call(this,l(t)),t&&t._registeredComponents&&t._registeredComponents.add(i)},s._ssrRegister=f):e&&(f=c?function(t){e.call(this,a(t,this.$root.$options.shadowRoot))}:function(t){e.call(this,u(t))}),f)if(s.functional){const t=s.render;s.render=function(e,n){return f.call(n),t(e,n)}}else{const t=s.beforeCreate;s.beforeCreate=t?[].concat(t,f):[f]}return n}var a=l({render:function(){var t=this,e=t.$createElement;return(t._self._c||e)("div",[t._v("Pivot")])},staticRenderFns:[]},undefined,{name:"Pivot",props:{afterchartdraw:Function,aftergriddraw:Function,beforegriddraw:Function,beforetoolbarcreated:Function,cellclick:Function,celldoubleclick:Function,componentFolder:String,customizeAPIRequest:Function,customizeCell:Function,customizeChartElement:Function,customizeContextMenu:Function,datachanged:Function,dataerror:Function,datafilecancelled:Function,dataloaded:Function,drillthroughclose:Function,drillthroughopen:Function,fieldslistclose:Function,fieldslistopen:Function,filterclose:Function,filteropen:Function,fullscreen:Function,global:Object,height:[String,Number],licenseKey:[String,Array],licenseFilePath:String,loadingdata:Function,loadinglocalization:Function,loadingolapstructure:Function,loadingreportfile:Function,localizationerror:Function,localizationloaded:Function,olapstructureerror:Function,olapstructureloaded:Function,openingreportfile:Function,querycomplete:Function,queryerror:Function,ready:Function,report:[String,Object],reportchange:Function,reportcomplete:Function,reportfilecancelled:Function,reportfileerror:Function,runningquery:Function,sortFieldsList:Function,toolbar:Boolean,unauthorizederror:Function,update:Function,width:[Number,String],accessibility:Object,shareReportConnection:Object},mounted:function(){this.flexmonster=new n.default(o(o({},this.$props),{},{container:this.$el}))},unmounted:function(){this.flexmonster&&(this.flexmonster.dispose(),this.flexmonster=null)},beforeUpdate:function(){return!1}},"data-v-56fd7844",false,undefined,!1,void 0,void 0,void 0),s=function(){var t=a;return t.install=function(e){e.component("Pivot",t)},t}(),f=Object.freeze({__proto__:null,default:s});return Object.entries(f).forEach((function(t){var e=c(t,2),n=e[0],r=e[1];"default"!==n&&(s[n]=r)})),s}();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vue-flexmonster",
3
- "version": "2.9.67",
3
+ "version": "2.9.69",
4
4
  "license": "MIT",
5
5
  "description": "Vue 2 and Vue 3 Module for Flexmonster Pivot Table & Charts",
6
6
  "main": "dist/index.js",
@@ -26,7 +26,7 @@
26
26
  "build:vue2:unpkg": "cross-env NODE_ENV=production rollup --config build/rollup2.config.js --format iife"
27
27
  },
28
28
  "dependencies": {
29
- "flexmonster": "2.9.67"
29
+ "flexmonster": "2.9.69"
30
30
  },
31
31
  "devDependencies": {
32
32
  "@babel/core": "^7.14.6",
@@ -51,7 +51,7 @@
51
51
  "vue-template-compiler": "^2.6.14"
52
52
  },
53
53
  "peerDependencies": {
54
- "flexmonster": "2.9.67"
54
+ "flexmonster": "2.9.69"
55
55
  },
56
56
  "engines": {
57
57
  "node": ">=12"
package/vue3/index.esm.js CHANGED
@@ -29,7 +29,7 @@ var script = /*#__PURE__*/defineComponent({
29
29
  fullscreen: Function,
30
30
  global: Object,
31
31
  height: [String, Number],
32
- licenseKey: String,
32
+ licenseKey: [String, Array],
33
33
  licenseFilePath: String,
34
34
  loadingdata: Function,
35
35
  loadinglocalization: Function,
@@ -62,6 +62,12 @@ var script = /*#__PURE__*/defineComponent({
62
62
  container: this.$el
63
63
  });
64
64
  },
65
+ unmounted: function () {
66
+ if (this.flexmonster) {
67
+ this.flexmonster.dispose();
68
+ this.flexmonster = null;
69
+ }
70
+ },
65
71
 
66
72
  beforeUpdate() {
67
73
  return false;
package/vue3/index.js CHANGED
@@ -124,7 +124,7 @@ function _nonIterableRest() {
124
124
  fullscreen: Function,
125
125
  global: Object,
126
126
  height: [String, Number],
127
- licenseKey: String,
127
+ licenseKey: [String, Array],
128
128
  licenseFilePath: String,
129
129
  loadingdata: Function,
130
130
  loadinglocalization: Function,
@@ -157,6 +157,12 @@ function _nonIterableRest() {
157
157
  container: this.$el
158
158
  }));
159
159
  },
160
+ unmounted: function unmounted() {
161
+ if (this.flexmonster) {
162
+ this.flexmonster.dispose();
163
+ this.flexmonster = null;
164
+ }
165
+ },
160
166
  beforeUpdate: function beforeUpdate() {
161
167
  return false;
162
168
  }
package/vue3/index.min.js CHANGED
@@ -1 +1 @@
1
- var Pivot=function(t,n){"use strict";function e(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var r=e(flexmonster);function o(t,n){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable}))),e.push.apply(e,r)}return e}function i(t){for(var n=1;n<arguments.length;n++){var e=null!=arguments[n]?arguments[n]:{};n%2?o(Object(e),!0).forEach((function(n){c(t,n,e[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):o(Object(e)).forEach((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}))}return t}function c(t,n,e){return n in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e,t}function u(t,n){return function(t){if(Array.isArray(t))return t}(t)||function(t,n){var e=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null==e)return;var r,o,i=[],c=!0,u=!1;try{for(e=e.call(t);!(c=(r=e.next()).done)&&(i.push(r.value),!n||i.length!==n);c=!0);}catch(t){u=!0,o=t}finally{try{c||null==e.return||e.return()}finally{if(u)throw o}}return i}(t,n)||function(t,n){if(!t)return;if("string"==typeof t)return l(t,n);var e=Object.prototype.toString.call(t).slice(8,-1);"Object"===e&&t.constructor&&(e=t.constructor.name);if("Map"===e||"Set"===e)return Array.from(t);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return l(t,n)}(t,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function l(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,r=new Array(n);e<n;e++)r[e]=t[e];return r}var a=t.defineComponent({name:"Pivot",props:{afterchartdraw:Function,aftergriddraw:Function,beforegriddraw:Function,beforetoolbarcreated:Function,cellclick:Function,celldoubleclick:Function,componentFolder:String,customizeAPIRequest:Function,customizeCell:Function,customizeChartElement:Function,customizeContextMenu:Function,datachanged:Function,dataerror:Function,datafilecancelled:Function,dataloaded:Function,drillthroughclose:Function,drillthroughopen:Function,fieldslistclose:Function,fieldslistopen:Function,filterclose:Function,filteropen:Function,fullscreen:Function,global:Object,height:[String,Number],licenseKey:String,licenseFilePath:String,loadingdata:Function,loadinglocalization:Function,loadingolapstructure:Function,loadingreportfile:Function,localizationerror:Function,localizationloaded:Function,olapstructureerror:Function,olapstructureloaded:Function,openingreportfile:Function,querycomplete:Function,queryerror:Function,ready:Function,report:[String,Object],reportchange:Function,reportcomplete:Function,reportfilecancelled:Function,reportfileerror:Function,runningquery:Function,sortFieldsList:Function,toolbar:Boolean,unauthorizederror:Function,update:Function,width:[Number,String],accessibility:Object,shareReportConnection:Object},mounted:function(){this.flexmonster=new r.default(i(i({},this.$props),{},{container:this.$el}))},beforeUpdate:function(){return!1}});a.render=function(n,e,r,o,i,c){return t.openBlock(),t.createElementBlock("div",null,"Pivot")};var f=function(){var t=a;return t.install=function(n){n.component("Pivot",t)},t}(),s=Object.freeze({__proto__:null,default:f});return Object.entries(s).forEach((function(t){var n=u(t,2),e=n[0],r=n[1];"default"!==e&&(f[e]=r)})),f}(Vue);
1
+ var Pivot=function(t,n){"use strict";function e(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var r=e(flexmonster);function o(t,n){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable}))),e.push.apply(e,r)}return e}function i(t){for(var n=1;n<arguments.length;n++){var e=null!=arguments[n]?arguments[n]:{};n%2?o(Object(e),!0).forEach((function(n){c(t,n,e[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):o(Object(e)).forEach((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}))}return t}function c(t,n,e){return n in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e,t}function u(t,n){return function(t){if(Array.isArray(t))return t}(t)||function(t,n){var e=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null==e)return;var r,o,i=[],c=!0,u=!1;try{for(e=e.call(t);!(c=(r=e.next()).done)&&(i.push(r.value),!n||i.length!==n);c=!0);}catch(t){u=!0,o=t}finally{try{c||null==e.return||e.return()}finally{if(u)throw o}}return i}(t,n)||function(t,n){if(!t)return;if("string"==typeof t)return l(t,n);var e=Object.prototype.toString.call(t).slice(8,-1);"Object"===e&&t.constructor&&(e=t.constructor.name);if("Map"===e||"Set"===e)return Array.from(t);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return l(t,n)}(t,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function l(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,r=new Array(n);e<n;e++)r[e]=t[e];return r}var a=t.defineComponent({name:"Pivot",props:{afterchartdraw:Function,aftergriddraw:Function,beforegriddraw:Function,beforetoolbarcreated:Function,cellclick:Function,celldoubleclick:Function,componentFolder:String,customizeAPIRequest:Function,customizeCell:Function,customizeChartElement:Function,customizeContextMenu:Function,datachanged:Function,dataerror:Function,datafilecancelled:Function,dataloaded:Function,drillthroughclose:Function,drillthroughopen:Function,fieldslistclose:Function,fieldslistopen:Function,filterclose:Function,filteropen:Function,fullscreen:Function,global:Object,height:[String,Number],licenseKey:[String,Array],licenseFilePath:String,loadingdata:Function,loadinglocalization:Function,loadingolapstructure:Function,loadingreportfile:Function,localizationerror:Function,localizationloaded:Function,olapstructureerror:Function,olapstructureloaded:Function,openingreportfile:Function,querycomplete:Function,queryerror:Function,ready:Function,report:[String,Object],reportchange:Function,reportcomplete:Function,reportfilecancelled:Function,reportfileerror:Function,runningquery:Function,sortFieldsList:Function,toolbar:Boolean,unauthorizederror:Function,update:Function,width:[Number,String],accessibility:Object,shareReportConnection:Object},mounted:function(){this.flexmonster=new r.default(i(i({},this.$props),{},{container:this.$el}))},unmounted:function(){this.flexmonster&&(this.flexmonster.dispose(),this.flexmonster=null)},beforeUpdate:function(){return!1}});a.render=function(n,e,r,o,i,c){return t.openBlock(),t.createElementBlock("div",null,"Pivot")};var f=function(){var t=a;return t.install=function(n){n.component("Pivot",t)},t}(),s=Object.freeze({__proto__:null,default:f});return Object.entries(s).forEach((function(t){var n=u(t,2),e=n[0],r=n[1];"default"!==e&&(f[e]=r)})),f}(Vue);