UNPKG

vue-flexmonster

Version:

Vue 3 and Vue 2 wrapper for Flexmonster Pivot Table and Charts

1 lines 3.62 kB
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);