Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
___scope___.file("index.js", function(exports, require, module, __filename, __dirname){
"use strict";
// import { hello } from "./hello"; const name: string = `Mr. Mike`;
// console.log(hello(name));
Object.defineProperty(exports, "__esModule", { value: true });
var vue_1 = require("vue");
var main_vue_1 = require("./component/main.vue");
var bootstrap_vue_1 = require("bootstrap-vue");
require("bootstrap/dist/css/bootstrap.min.css");
require("bootstrap-vue/dist/bootstrap-vue.min.css");
// Configure vue setting
vue_1.default.use(bootstrap_vue_1.default);
vue_1.default.config.keyCodes.f5 = 116;
// Initiate vue app
var vue_app = new vue_1.default({
el: '#app',
render: function (h) { return h(main_vue_1.default); }
});
//# sourceMappingURL=index.js.map
});
___scope___.file("component/main.vue", function(exports, require, module, __filename, __dirname){
SanjabPlugin.install = function (Vue, options) {
Quill.register('modules/imageUpload', ImageUpload);
Quill.register(Quill.import('attributors/class/color'), true);
Quill.register(Quill.import('attributors/class/align'), true);
Quill.register(Quill.import('attributors/class/size'), true);
Vue.use(require('bootstrap-vue').default);
Vue.use(require('vue-quill-editor').default);
Vue.use(require('vue-datetime').default);
Vue.prototype.sanjabTrans = sanjabTrans;
Vue.prototype.numberFormat = numberFormat;
Vue.prototype.$sanjabStore = store;
Vue.component('vue-bootstrap-typeahead', require('vue-bootstrap-typeahead').default);
Vue.component('tags-input', require('@voerro/vue-tagsinput').default);
Vue.component('draggable', require('vuedraggable').default);
let chartTypes = {'bar-chart': VueChartJs.Bar,'horizontal-bar-chart': VueChartJs.HorizontalBar,'doughnut-chart': VueChartJs.Doughnut,'line-chart': VueChartJs.Line,'pie-chart': VueChartJs.Pie,'polar-area-chart': VueChartJs.PolarArea,'radar-chart': VueChartJs.Radar,'bubble-chart': VueChartJs.Bubble,'scatter-chart': VueChartJs.Scatter};
for (let i in chartTypes) {
Vue.component(i, chartJsComponent(chartTypes[i]));
}