Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

vue-flexmonster

Package Overview
Dependencies
Maintainers
1
Versions
150
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue-flexmonster - npm Package Compare versions

Comparing version 2.9.12-beta.1 to 2.9.12-beta.2

dist/index.ssr.js

74

dist/index.esm.js

@@ -1,26 +0,7 @@

/*!
* vue-flexmonster v2.9.11
* (c) Flexmonster <help@flexmonster.com>
* Released under the MIT License.
*/
import Vue from 'vue';
import Flexmonster from 'flexmonster';
function _typeof(obj) {
if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
_typeof = function (obj) {
return typeof obj;
};
} else {
_typeof = function (obj) {
return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
};
}
return _typeof(obj);
}
//
var script = {
name: "Pivot",
name: 'Pivot',
// vue component name
props: {

@@ -78,10 +59,12 @@ afterchartdraw: Function,

},
mounted: function mounted() {
this.flexmonster = new Flexmonster(Object.assign({}, this.$props, {
mounted: function () {
this.flexmonster = new Flexmonster({ ...this.$props,
container: this.$el
}));
});
},
beforeUpdate: function beforeUpdate() {
beforeUpdate() {
return false;
}
};

@@ -165,6 +148,6 @@

/* script */
var __vue_script__ = script;
const __vue_script__ = script;
/* template */
var __vue_render__ = function __vue_render__() {
var __vue_render__ = function () {
var _vm = this;

@@ -182,12 +165,12 @@

var __vue_inject_styles__ = undefined;
const __vue_inject_styles__ = undefined;
/* scoped */
var __vue_scope_id__ = "data-v-15baf9ca";
const __vue_scope_id__ = "data-v-243d77ce";
/* module identifier */
var __vue_module_identifier__ = undefined;
const __vue_module_identifier__ = undefined;
/* functional template */
var __vue_is_functional_template__ = false;
const __vue_is_functional_template__ = false;
/* style inject */

@@ -199,3 +182,3 @@

var __vue_component__ = normalizeComponent({
const __vue_component__ = /*#__PURE__*/normalizeComponent({
render: __vue_render__,

@@ -205,12 +188,21 @@ staticRenderFns: __vue_staticRenderFns__

function install(Vue) {
var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
Vue.component(options.PivotName || 'Pivot', __vue_component__);
} //Allows user to use Pivot as a plugin
var component = __vue_component__;
if ((typeof window === "undefined" ? "undefined" : _typeof(window)) != undefined && window.Vue && window.Vue == Vue) {
install(window.Vue);
} //Allows user to register Pivot locally, without global registration
// Import vue component
// IIFE injects install function into component, allowing component
// to be registered via Vue.use() as well as Vue.component(),
export default install;
export { __vue_component__ as Pivot };
var entry_esm = /*#__PURE__*/(() => {
// Get component instance
const installable = component; // Attach install function executed by Vue.use()
installable.install = Vue => {
Vue.component('Pivot', installable);
};
return installable;
})(); // It's possible to expose named exports when writing components that can
// also be used as directives, etc. - eg. import { RollupDemoDirective } from 'rollup-demo';
// export const RollupDemoDirective = directive;
export { entry_esm as default };

@@ -1,7 +0,1 @@

/*!
* vue-flexmonster v2.9.11
* (c) Flexmonster <help@flexmonster.com>
* Released under the MIT License.
*/
"use strict";function _interopDefault(e){return e&&"object"==typeof e&&"default"in e?e.default:e}Object.defineProperty(exports,"__esModule",{value:!0});var Vue=_interopDefault(require("vue")),Flexmonster=_interopDefault(require("flexmonster"));function _typeof(e){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var script={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,reportfileloaded:Function,runningquery:Function,toolbar:Boolean,unauthorizederror:Function,update:Function,width:[Number,String],accessibility:Object},mounted:function(){this.flexmonster=new Flexmonster(Object.assign({},this.$props,{container:this.$el}))},beforeUpdate:function(){return!1}};function normalizeComponent(e,n,t,o,i,r,c,u,_,l){"boolean"!=typeof c&&(_=u,u=c,c=!1);const a="function"==typeof t?t.options:t;let s;if(e&&e.render&&(a.render=e.render,a.staticRenderFns=e.staticRenderFns,a._compiled=!0,i&&(a.functional=!0)),o&&(a._scopeId=o),r?(s=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),n&&n.call(this,_(e)),e&&e._registeredComponents&&e._registeredComponents.add(r)},a._ssrRegister=s):n&&(s=c?function(e){n.call(this,l(e,this.$root.$options.shadowRoot))}:function(e){n.call(this,u(e))}),s)if(a.functional){const e=a.render;a.render=function(n,t){return s.call(t),e(n,t)}}else{const e=a.beforeCreate;a.beforeCreate=e?[].concat(e,s):[s]}return t}var __vue_script__=script,__vue_render__=function(){var e=this.$createElement;return(this._self._c||e)("div",[this._v("Pivot")])},__vue_staticRenderFns__=[],__vue_inject_styles__=void 0,__vue_scope_id__="data-v-15baf9ca",__vue_module_identifier__=void 0,__vue_is_functional_template__=!1,__vue_component__=normalizeComponent({render:__vue_render__,staticRenderFns:__vue_staticRenderFns__},__vue_inject_styles__,__vue_script__,__vue_scope_id__,__vue_is_functional_template__,__vue_module_identifier__,!1,void 0,void 0,void 0);function install(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e.component(n.PivotName||"Pivot",__vue_component__)}null!=("undefined"==typeof window?"undefined":_typeof(window))&&window.Vue&&window.Vue==Vue&&install(window.Vue),exports.Pivot=__vue_component__,exports.default=install;
//# sourceMappingURL=index.min.js.map
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,reportfileloaded:Function,runningquery:Function,toolbar:Boolean,unauthorizederror:Function,update:Function,width:[Number,String],accessibility:Object},mounted:function(){this.flexmonster=new n.default(o(o({},this.$props),{},{container:this.$el}))},beforeUpdate:function(){return!1}},"data-v-243d77ce",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}();
{
"name": "vue-flexmonster",
"version": "2.9.12-beta.1",
"description": "VueJS Module for Flexmonster Pivot Table & Charts",
"main": "dist/pivot.ssr.js",
"browser": "dist/pivot.esm.js",
"module": "dist/pivot.esm.js",
"unpkg": "dist/pivot.min.js",
"version": "2.9.12-beta.2",
"license": "MIT",
"description": "Vue 2 and Vue 3 Module for Flexmonster Pivot Table & Charts",
"main": "dist/index.ssr.js",
"browser": "dist/index.esm.js",
"module": "dist/index.esm.js",
"unpkg": "dist/index.min.js",
"files": [

@@ -13,36 +14,51 @@ "dist/*",

],
"sideEffects": false,
"scripts": {
"dev": "vue serve Pivot.vue",
"build": "bili --bundle-node-modules"
"serve": "vue-cli-service serve dev/serve.js",
"prebuild": "rimraf ./dist && rimraf ./vue3",
"build": "npm run build:vue2 && npm run build:vue3",
"build:vue3": "cross-env NODE_ENV=production rollup --config build/rollup.config.js",
"build:vue3:ssr": "cross-env NODE_ENV=production rollup --config build/rollup.config.js --format cjs",
"build:vue3:es": "cross-env NODE_ENV=production rollup --config build/rollup.config.js --format es",
"build:vue3:unpkg": "cross-env NODE_ENV=production rollup --config build/rollup.config.js --format iife",
"build:vue2": "cross-env NODE_ENV=production rollup --config build/rollup2.config.js",
"build:vue2:ssr": "cross-env NODE_ENV=production rollup --config build/rollup2.config.js --format cjs",
"build:vue2:es": "cross-env NODE_ENV=production rollup --config build/rollup2.config.js --format es",
"build:vue2:unpkg": "cross-env NODE_ENV=production rollup --config build/rollup2.config.js --format iife"
},
"author": {
"name": "Flexmonster",
"email": "help@flexmonster.com"
"dependencies": {
"flexmonster": "2.9.11"
},
"license": "MIT",
"devDependencies": {
"bili": "^4.8.1",
"rollup-plugin-vue": "=5.1.1",
"vue-template-compiler": "^2.6.10"
"@babel/core": "^7.14.6",
"@babel/preset-env": "^7.14.7",
"@rollup/plugin-alias": "^3.1.2",
"@rollup/plugin-babel": "^5.3.0",
"@rollup/plugin-commonjs": "^14.0.0",
"@rollup/plugin-node-resolve": "^9.0.0",
"@rollup/plugin-replace": "^2.4.2",
"@vue/cli-plugin-babel": "^4.5.13",
"@vue/cli-service": "^4.5.13",
"@vue/compiler-sfc": "^3.0.11",
"cross-env": "^7.0.3",
"minimist": "^1.2.5",
"postcss": "^8.2.10",
"rimraf": "^3.0.2",
"rollup": "^2.52.8",
"rollup-plugin-postcss": "^4.0.0",
"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-vue": "^6.0.0",
"rollup-plugin-vue2": "npm:rollup-plugin-vue@^5.1.9",
"vue-template-compiler": "^2.6.14"
},
"eslintConfig": {
"root": true,
"env": {
"node": true
},
"extends": [
"plugin:vue/essential",
"eslint:recommended"
],
"rules": {},
"parserOptions": {
"parser": "babel-eslint"
}
},
"peerDependencies": {
"flexmonster": "2.9.11"
},
"dependencies": {
"flexmonster": "2.9.11"
"engines": {
"node": ">=12"
},
"author": {
"name": "Flexmonster",
"email": "help@flexmonster.com"
},
"keywords": [

@@ -56,3 +72,5 @@ "pivot",

"pivotchart",
"vue"
"vue",
"vue3",
"vue2"
],

@@ -64,5 +82,5 @@ "repository": {

"bugs": {
"url": "https://flexmonster.com/forum/"
"url": "https://www.flexmonster.com/technical-support/"
},
"homepage": "https://flexmonster.com/"
}

@@ -1,2 +0,2 @@

# VueJS module for Flexmonster Pivot Table & Charts
# Vue module for Flexmonster Pivot Table & Charts
[![Flexmonster Pivot Table & Charts](https://cdn.flexmonster.com/landing.png)](https://flexmonster.com)

@@ -9,3 +9,3 @@ Website: www.flexmonster.com

This repository holds the source code for using [Flexmonster Pivot](https://www.flexmonster.com/) in [Vue](https://vuejs.org/) applications:
This repository holds the source code for using [Flexmonster Pivot](https://www.flexmonster.com/) in [Vue 2](https://vuejs.org/) and [Vue 3](https://v3.vuejs.org/) applications:

@@ -19,4 +19,6 @@ * [Usage](#usage)

Refer to [Flexmonster Integration with Vue](https://www.flexmonster.com/doc/integration-with-vue/) tutorial for details on the Flexmonster Vue module usage.
Refer to [Flexmonster Integration with Vue](https://www.flexmonster.com/doc/integration-with-vue) tutorial for details on the Flexmonster Vue module usage.
For Vue 3, check the [Flexmonster Integration with Vue 3](https://www.flexmonster.com/doc/integration-with-vue/#integration-vue3) section.
## <a name="sample-project"></a>Sample Project ##

@@ -34,2 +36,2 @@

Please share your feedback or ask questions via [Flexmonster Forum](https://www.flexmonster.com/forum/).
Please share your feedback or ask questions via [Flexmonster Help Center](https://www.flexmonster.com/help-center/).
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc