vue-flexmonster
Version:
Vue 3 and Vue 2 wrapper for Flexmonster Pivot Table and Charts
1 lines • 4.47 kB
JavaScript
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}();