diff --git a/README.md b/README.md
index 7756354..1f924a0 100755
--- a/README.md
+++ b/README.md
@@ -1,9 +1,9 @@
# vue-datatables-net
-> Vue jQuery DataTables.net wrapper component
+> Vue jQuery DataTables.net wrapper component
This library is a Vue 2 wrapper for [jQuery DataTables](https://datatables.net/). It's a tiny wrapper that doesn't include anything, not even the datatables.net core library.
-> Note: you've found this library because you want to use jQuery datatables.net client-side with your application. Alternatively, if you simply want to integrate with server-side datatables.net compatible endpoint, then I'd like to suggest looking at bootstrap-vue b-table and this component - https://github.com/niiknow/bvtnet-items-provider
+> Note: you've found this library because you want to use jQuery datatables.net client-side with your application. Alternatively, if you simply want to integrate with server-side datatables.net compatible endpoint, then I'd like to suggest looking at bootstrap-vue b-table and this component - https://github.com/niiknow/bvtnet-items-provider
## Development
`laravel-mix` is use to simplify build and packaging.
@@ -18,8 +18,8 @@ npm install
```
or in one command:
-```
-npm install git+https://github.com/niiknow/vue-datatables-net.git
+```
+npm install git+https://github.com/niiknow/vue-datatables-net.git
```
To run locally (automatically launch firefox):
@@ -177,14 +177,6 @@ Our component parameters:
jquery: {
type: Object
},
- /**
- * Pass in Vue to resolve any conflict from multiple loaded
- *
- * @type Object
- */
- vue: {
- type: Object
- },
/**
* The select-checkbox column index (start at 1)
* Current implementation require datatables.net-select
diff --git a/dist/index.js b/dist/index.js
index c94a844..402ea65 100644
--- a/dist/index.js
+++ b/dist/index.js
@@ -1,3 +1,3 @@
/*! For license information please see index.js.LICENSE.txt */
-!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("Vue")):"function"==typeof define&&define.amd?define("VdtnetTable",["Vue"],e):"object"==typeof exports?exports.VdtnetTable=e(require("Vue")):t.VdtnetTable=e(t.Vue)}(self,(function(t){return function(){var e={1484:function(t,e,n){"use strict";Object.defineProperty(e,"X",{value:!0}),e.Z=void 0,n(9653),n(8309),n(561),n(1539),n(4747),n(7042),n(4916),n(4765),n(9826);var r=n(2740),o=1,a={name:"VdtnetTable",props:{id:{type:String,default:null},containerClassName:{type:String,default:"table-responsive d-print-inline"},columnSearchClassName:{type:String,default:"form-control form-control-sm"},tfootClassName:{type:String},theadClassName:{type:String},className:{type:String,default:"table table-striped table-bordered nowrap w-100"},opts:{type:Object},fields:{type:Object},jquery:{type:Function},vue:{type:Object},selectCheckbox:{type:Number,default:-1},dataLoader:{type:Function},hideFooter:{type:Boolean},hideTfoot:{type:Boolean,default:!0},columnSearch:{type:Boolean,default:!1},details:{type:Object}},data:function(){return{tableId:null,options:{dom:"tr<'row vdtnet-footer'<'col-sm-12 col-md-5'i><'col-sm-12 col-md-7'pl>>",columns:[],language:{infoFiltered:""},lengthMenu:[[15,100,500,1e3,-1],[15,100,500,1e3,"All"]],pageLength:15,buttons:[]},dataTable:null,vdtnet:this}},computed:{jq:function(){return this.jquery||window.jQuery},myVue:function(){return this.vue||window.Vue},classes:function(){var t="".concat(this.containerClassName," vdtnet-container");return this.hideFooter&&(t+=" hide-footer"),t}},created:function(){var t=this,e=t.jq,n=0,r=0;if(t.tableId=t.id||"vdtnetable".concat(o++),t.opts&&(t.options=e.extend({},t.options,t.opts)),t.options.order=t.options.order||[[n,"asc"]],t.fields){var a=t.fields,i=t.options.columns,c=t.options.order;for(var u in a){var s=a[u];s.name=s.name||u,s.isLocal&&(s.searchable=!1,s.sortable=!1);var l={label:s.label||s.name,data:s.data||s.name,width:s.width,name:s.name,className:s.className,index:s.index||r+1};s.hasOwnProperty("defaultContent")&&(l.defaultContent=s.defaultContent),s.hasOwnProperty("sortable")&&(l.orderable=s.sortable),s.hasOwnProperty("visible")&&(l.visible=s.visible),s.hasOwnProperty("searchable")&&(l.searchable=s.searchable),s.hasOwnProperty("editField")&&(l.editField=s.editField),s.hasOwnProperty("classHeaderName")&&(l.classHeaderName=s.classHeaderName),s.hasOwnProperty("classFooterName")&&(l.classFooterName=s.classFooterName),s.template&&(l.template=s.template),s.render&&(l.render=s.render),i.push(l),s.defaultOrder&&c.push([r,s.defaultOrder]),r++}}if(t.selectCheckbox){var f={orderable:!1,searchable:!1,name:"_select_checkbox",className:"select-checkbox d-print-none",data:null,defaultContent:"",index:t.selectCheckbox-1};t.options.columns.splice(t.selectCheckbox-1,0,f),t.options.select=t.options.select||{style:"os",selector:"td.select-checkbox"},1===t.selectCheckbox&&n++}if(t.details){var p=t.details.index||1,d={orderable:!1,searchable:!1,name:"_details_control",className:"details-control d-print-none",data:null,defaultContent:t.details.icons||'+-',index:p-1};t.options.columns.splice(p-1,0,d),1===p&&n++}n>0&&(t.options.order?t.options.order.forEach((function(t){t[0]+=n})):t.options.order=[[n,"asc"]])},mounted:function(){var t=this,e=t.jq,n=e(t.$refs.table),r=t.options.columns;for(var o in r){var a=r[o];(a.template||"function"==typeof t.$slots[a.name])&&(a.render=t.compileTemplate(a,t.$slots[a.name])),a.render&&(a.render.templated||function(){var e=a.render;a.render=function(){return e.apply(t,Array.prototype.slice.call(arguments))}}())}if(t.dataLoader&&(delete t.options.ajax,t.options.serverSide=!1),!t.hideFooter&&t.columnSearch&&(t.options.initComplete=function(){var t=this.api(),n=t.state.loaded();t.columns().every((function(){var t=this,r=this.index();if(n){var o=n.columns[r].search;o.search&&e("input",this.footer()).val(o.search)}e("input",this.footer()).on("keyup change clear search",(function(){t.search()!==this.value&&t.search(this.value).draw()}))}))}),t.$emit("table-creating",t,n),t.dataTable=n.DataTable(t.options),t.selectCheckbox&&(n.on("click","th input.select-all-checkbox",(function(n){e(n.target).is(":checked")?t.dataTable.rows().select():t.dataTable.rows().deselect()})),t.dataTable.on("select deselect",(function(r,o,a,i){var c=n.find("th input.select-all-checkbox");t.dataTable.rows({selected:!0}).count()!==t.dataTable.rows().count()?(e("th.select-checkbox").removeClass("selected"),c.attr("checked",!1)):(e("th.select-checkbox").addClass("selected"),c.attr("checked",!0)),t.$emit("row-"+r.type,{dataTable:t.dataTable,e:r,dt:o,type:a,indexes:i})}))),n.on("remove",(function(){t.dataTable&&t.dataTable.destroy(!0),t.dataTable=null})),n.on("click","[data-action]",(function(n){n.preventDefault(),n.stopPropagation();var r=e(n.currentTarget),o=r.attr("data-action");if(o){var a=r;if("TR"!==r.prop("tagName")&&(a=r.closest("tr")),a){a.hasClass("master-details")&&(a=a.prev());var i=t.dataTable.row(a),c=i.data();t.$emit(o,c,i,a,r)}else t.$emit(o,null,null,null,r)}})),t.details){var i=t.details.render;t.details.template||"function"==typeof t.$slots._details?i=t.compileTemplate(t.details,t.$slots._details):i&&(i=function(){return t.details.render.apply(t,Array.prototype.slice.call(arguments))}),n.on("click","td.details-control",(function(n){n.preventDefault(),n.stopPropagation();var r=e(n.target).closest("tr");r.hasClass("master-details")&&(r=r.prev());var o=t.dataTable.row(r);if(o.child.isShown())o.child.hide(),r.removeClass("master");else{var a=o.data();o.child(i(a,"child",o,r)).show(),r.addClass("master").next().addClass("master-details")}}))}t.$emit("table-created",t),t.dataLoader&&t.reload()},methods:{compileTemplate:function(t,e){var n=this,o=(n.jq,function(o,a,i,c){var u=(0,r.defineComponent)({data:function(){return{data:o,type:a,row:i,meta:c,vdtnet:n,def:t,comp:n.$parent}},template:"
".concat(t.template||"","
")}),s=(0,r.createApp)({render:function(){return e?(0,r.h)("div",{},[e({data:o,type:a,row:i,meta:c,vdtnet:n,def:t,comp:n.$parent})]):(0,r.h)(u,{})}}),l=document.createElement("div");return s.mount(l).$el.outerHTML||""});return o.templated=!0,o},setTableData:function(t){var e=this;return t.constructor===Array&&(e.dataTable.clear().rows.add(t),e.dataTable.draw(!1),e.dataTable.columns.adjust()),e},reload:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=this;return e.dataLoader?e.dataLoader((function(t){t&&!t.data&&(t={data:t}),e.setTableData(t.data),e.$emit("reloaded",t,e)})):e.dataTable.ajax.reload((function(t){e.$emit("reloaded",t,e)}),t),e},search:function(t){return this.dataTable.search(t).draw(),this},setPageLength:function(t){return this.dataTable.page.len(t),this.reload()},getServerParams:function(){return this.dataLoader?{}:this.dataTable.ajax.params()}}};e.Z=a},7820:function(t,e,n){"use strict";e.s=function(t,e,n,u,s,l){return(0,r.openBlock)(),(0,r.createElementBlock)("div",{class:(0,r.normalizeClass)(l.classes)},[e[0]||((0,r.setBlockTracking)(-1),e[0]=(0,r.createElementVNode)("table",{id:s.tableId,ref:"table",class:(0,r.normalizeClass)(n.className),cellpadding:"0"},[(0,r.createElementVNode)("thead",{class:(0,r.normalizeClass)(n.theadClassName)},[(0,r.createElementVNode)("tr",null,[((0,r.openBlock)(!0),(0,r.createElementBlock)(r.Fragment,null,(0,r.renderList)(s.options.columns,(function(e,n){return(0,r.openBlock)(),(0,r.createElementBlock)("th",{key:"head_"+n,class:(0,r.normalizeClass)(e.classHeaderName)},[(0,r.renderSlot)(t.$slots,"HEAD_"+e.name,{field:e,i:n},(function(){return["_select_checkbox"===e.name?((0,r.openBlock)(),(0,r.createElementBlock)("input",o)):((0,r.openBlock)(),(0,r.createElementBlock)("div",{key:1,innerHTML:e.label},null,8,a))]}))],2)})),128))])],2),n.hideTfoot?(0,r.createCommentVNode)("",!0):((0,r.openBlock)(),(0,r.createElementBlock)("tfoot",{key:0,class:(0,r.normalizeClass)(n.tfootClassName)},[(0,r.createElementVNode)("tr",null,[((0,r.openBlock)(!0),(0,r.createElementBlock)(r.Fragment,null,(0,r.renderList)(s.options.columns,(function(e,o){return(0,r.openBlock)(),(0,r.createElementBlock)("th",{key:"foot_"+o,class:(0,r.normalizeClass)(e.classFooterName)},[(0,r.renderSlot)(t.$slots,"FOOT_"+e.name,{field:e,i:o},(function(){return[n.columnSearch&&(e.searchable||void 0===e.searchable)?((0,r.openBlock)(),(0,r.createElementBlock)("input",{key:0,placeholder:e.label,class:(0,r.normalizeClass)(n.columnSearchClassName),type:"search"},null,10,i)):n.columnSearch?(0,r.createCommentVNode)("",!0):((0,r.openBlock)(),(0,r.createElementBlock)("div",{key:1,innerHTML:e.label},null,8,c))]}))],2)})),128))])],2))],10,["id"]),(0,r.setBlockTracking)(1),e[0])],2)},n(8309);var r=n(2740),o={key:0,type:"checkbox",class:"select-all-checkbox d-print-none"},a=["innerHTML"],i=["placeholder"],c=["innerHTML"]},9662:function(t,e,n){var r=n(7854),o=n(614),a=n(6330),i=r.TypeError;t.exports=function(t){if(o(t))return t;throw i(a(t)+" is not a function")}},6077:function(t,e,n){var r=n(7854),o=n(614),a=r.String,i=r.TypeError;t.exports=function(t){if("object"==typeof t||o(t))return t;throw i("Can't set "+a(t)+" as a prototype")}},1223:function(t,e,n){var r=n(5112),o=n(30),a=n(3070),i=r("unscopables"),c=Array.prototype;null==c[i]&&a.f(c,i,{configurable:!0,value:o(null)}),t.exports=function(t){c[i][t]=!0}},9670:function(t,e,n){var r=n(7854),o=n(111),a=r.String,i=r.TypeError;t.exports=function(t){if(o(t))return t;throw i(a(t)+" is not an object")}},8533:function(t,e,n){"use strict";var r=n(2092).forEach,o=n(9341)("forEach");t.exports=o?[].forEach:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}},1318:function(t,e,n){var r=n(5656),o=n(1400),a=n(6244),i=function(t){return function(e,n,i){var c,u=r(e),s=a(u),l=o(i,s);if(t&&n!=n){for(;s>l;)if((c=u[l++])!=c)return!0}else for(;s>l;l++)if((t||l in u)&&u[l]===n)return t||l||0;return!t&&-1}};t.exports={includes:i(!0),indexOf:i(!1)}},2092:function(t,e,n){var r=n(9974),o=n(1702),a=n(8361),i=n(7908),c=n(6244),u=n(5417),s=o([].push),l=function(t){var e=1==t,n=2==t,o=3==t,l=4==t,f=6==t,p=7==t,d=5==t||f;return function(v,h,m,b){for(var y,g,x=i(v),S=a(x),w=r(h,m),T=c(S),O=0,E=b||u,j=e?E(v,T):n||p?E(v,0):void 0;T>O;O++)if((d||O in S)&&(g=w(y=S[O],O,x),t))if(e)j[O]=g;else if(g)switch(t){case 3:return!0;case 5:return y;case 6:return O;case 2:s(j,y)}else switch(t){case 4:return!1;case 7:s(j,y)}return f?-1:o||l?l:j}};t.exports={forEach:l(0),map:l(1),filter:l(2),some:l(3),every:l(4),find:l(5),findIndex:l(6),filterReject:l(7)}},1194:function(t,e,n){var r=n(7293),o=n(5112),a=n(7392),i=o("species");t.exports=function(t){return a>=51||!r((function(){var e=[];return(e.constructor={})[i]=function(){return{foo:1}},1!==e[t](Boolean).foo}))}},9341:function(t,e,n){"use strict";var r=n(7293);t.exports=function(t,e){var n=[][t];return!!n&&r((function(){n.call(null,e||function(){throw 1},1)}))}},206:function(t,e,n){var r=n(1702);t.exports=r([].slice)},7475:function(t,e,n){var r=n(7854),o=n(3157),a=n(4411),i=n(111),c=n(5112)("species"),u=r.Array;t.exports=function(t){var e;return o(t)&&(e=t.constructor,(a(e)&&(e===u||o(e.prototype))||i(e)&&null===(e=e[c]))&&(e=void 0)),void 0===e?u:e}},5417:function(t,e,n){var r=n(7475);t.exports=function(t,e){return new(r(t))(0===e?0:e)}},4326:function(t,e,n){var r=n(1702),o=r({}.toString),a=r("".slice);t.exports=function(t){return a(o(t),8,-1)}},648:function(t,e,n){var r=n(7854),o=n(1694),a=n(614),i=n(4326),c=n(5112)("toStringTag"),u=r.Object,s="Arguments"==i(function(){return arguments}());t.exports=o?i:function(t){var e,n,r;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(t){}}(e=u(t),c))?n:s?i(e):"Object"==(r=i(e))&&a(e.callee)?"Arguments":r}},9920:function(t,e,n){var r=n(2597),o=n(3887),a=n(1236),i=n(3070);t.exports=function(t,e,n){for(var c=o(e),u=i.f,s=a.f,l=0;l0&&r[0]<4?1:+(r[0]+r[1])),!o&&i&&(!(r=i.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=i.match(/Chrome\/(\d+)/))&&(o=+r[1]),t.exports=o},748:function(t){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},2109:function(t,e,n){var r=n(7854),o=n(1236).f,a=n(8880),i=n(1320),c=n(3505),u=n(9920),s=n(4705);t.exports=function(t,e){var n,l,f,p,d,v=t.target,h=t.global,m=t.stat;if(n=h?r:m?r[v]||c(v,{}):(r[v]||{}).prototype)for(l in e){if(p=e[l],f=t.noTargetGet?(d=o(n,l))&&d.value:n[l],!s(h?l:v+(m?".":"#")+l,t.forced)&&void 0!==f){if(typeof p==typeof f)continue;u(p,f)}(t.sham||f&&f.sham)&&a(p,"sham",!0),i(n,l,p,t)}}},7293:function(t){t.exports=function(t){try{return!!t()}catch(t){return!0}}},7007:function(t,e,n){"use strict";n(4916);var r=n(1702),o=n(1320),a=n(2261),i=n(7293),c=n(5112),u=n(8880),s=c("species"),l=RegExp.prototype;t.exports=function(t,e,n,f){var p=c(t),d=!i((function(){var e={};return e[p]=function(){return 7},7!=""[t](e)})),v=d&&!i((function(){var e=!1,n=/a/;return"split"===t&&((n={}).constructor={},n.constructor[s]=function(){return n},n.flags="",n[p]=/./[p]),n.exec=function(){return e=!0,null},n[p](""),!e}));if(!d||!v||n){var h=r(/./[p]),m=e(p,""[t],(function(t,e,n,o,i){var c=r(t),u=e.exec;return u===a||u===l.exec?d&&!i?{done:!0,value:h(e,n,o)}:{done:!0,value:c(n,e,o)}:{done:!1}}));o(String.prototype,t,m[0]),o(l,p,m[1])}f&&u(l[p],"sham",!0)}},9974:function(t,e,n){var r=n(1702),o=n(9662),a=n(4374),i=r(r.bind);t.exports=function(t,e){return o(t),void 0===e?t:a?i(t,e):function(){return t.apply(e,arguments)}}},4374:function(t,e,n){var r=n(7293);t.exports=!r((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))},6916:function(t,e,n){var r=n(4374),o=Function.prototype.call;t.exports=r?o.bind(o):function(){return o.apply(o,arguments)}},6530:function(t,e,n){var r=n(9781),o=n(2597),a=Function.prototype,i=r&&Object.getOwnPropertyDescriptor,c=o(a,"name"),u=c&&"something"===function(){}.name,s=c&&(!r||r&&i(a,"name").configurable);t.exports={EXISTS:c,PROPER:u,CONFIGURABLE:s}},1702:function(t,e,n){var r=n(4374),o=Function.prototype,a=o.bind,i=o.call,c=r&&a.bind(i,i);t.exports=r?function(t){return t&&c(t)}:function(t){return t&&function(){return i.apply(t,arguments)}}},5005:function(t,e,n){var r=n(7854),o=n(614),a=function(t){return o(t)?t:void 0};t.exports=function(t,e){return arguments.length<2?a(r[t]):r[t]&&r[t][e]}},8173:function(t,e,n){var r=n(9662);t.exports=function(t,e){var n=t[e];return null==n?void 0:r(n)}},7854:function(t,e,n){var r=function(t){return t&&t.Math==Math&&t};t.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof n.g&&n.g)||function(){return this}()||Function("return this")()},2597:function(t,e,n){var r=n(1702),o=n(7908),a=r({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return a(o(t),e)}},3501:function(t){t.exports={}},490:function(t,e,n){var r=n(5005);t.exports=r("document","documentElement")},4664:function(t,e,n){var r=n(9781),o=n(7293),a=n(317);t.exports=!r&&!o((function(){return 7!=Object.defineProperty(a("div"),"a",{get:function(){return 7}}).a}))},8361:function(t,e,n){var r=n(7854),o=n(1702),a=n(7293),i=n(4326),c=r.Object,u=o("".split);t.exports=a((function(){return!c("z").propertyIsEnumerable(0)}))?function(t){return"String"==i(t)?u(t,""):c(t)}:c},9587:function(t,e,n){var r=n(614),o=n(111),a=n(7674);t.exports=function(t,e,n){var i,c;return a&&r(i=e.constructor)&&i!==n&&o(c=i.prototype)&&c!==n.prototype&&a(t,c),t}},2788:function(t,e,n){var r=n(1702),o=n(614),a=n(5465),i=r(Function.toString);o(a.inspectSource)||(a.inspectSource=function(t){return i(t)}),t.exports=a.inspectSource},9909:function(t,e,n){var r,o,a,i=n(8536),c=n(7854),u=n(1702),s=n(111),l=n(8880),f=n(2597),p=n(5465),d=n(6200),v=n(3501),h="Object already initialized",m=c.TypeError,b=c.WeakMap;if(i||p.state){var y=p.state||(p.state=new b),g=u(y.get),x=u(y.has),S=u(y.set);r=function(t,e){if(x(y,t))throw new m(h);return e.facade=t,S(y,t,e),e},o=function(t){return g(y,t)||{}},a=function(t){return x(y,t)}}else{var w=d("state");v[w]=!0,r=function(t,e){if(f(t,w))throw new m(h);return e.facade=t,l(t,w,e),e},o=function(t){return f(t,w)?t[w]:{}},a=function(t){return f(t,w)}}t.exports={set:r,get:o,has:a,enforce:function(t){return a(t)?o(t):r(t,{})},getterFor:function(t){return function(e){var n;if(!s(e)||(n=o(e)).type!==t)throw m("Incompatible receiver, "+t+" required");return n}}}},3157:function(t,e,n){var r=n(4326);t.exports=Array.isArray||function(t){return"Array"==r(t)}},614:function(t){t.exports=function(t){return"function"==typeof t}},4411:function(t,e,n){var r=n(1702),o=n(7293),a=n(614),i=n(648),c=n(5005),u=n(2788),s=function(){},l=[],f=c("Reflect","construct"),p=/^\s*(?:class|function)\b/,d=r(p.exec),v=!p.exec(s),h=function(t){if(!a(t))return!1;try{return f(s,l,t),!0}catch(t){return!1}},m=function(t){if(!a(t))return!1;switch(i(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return v||!!d(p,u(t))}catch(t){return!0}};m.sham=!0,t.exports=!f||o((function(){var t;return h(h.call)||!h(Object)||!h((function(){t=!0}))||t}))?m:h},4705:function(t,e,n){var r=n(7293),o=n(614),a=/#|\.prototype\./,i=function(t,e){var n=u[c(t)];return n==l||n!=s&&(o(e)?r(e):!!e)},c=i.normalize=function(t){return String(t).replace(a,".").toLowerCase()},u=i.data={},s=i.NATIVE="N",l=i.POLYFILL="P";t.exports=i},111:function(t,e,n){var r=n(614);t.exports=function(t){return"object"==typeof t?null!==t:r(t)}},1913:function(t){t.exports=!1},2190:function(t,e,n){var r=n(7854),o=n(5005),a=n(614),i=n(7976),c=n(3307),u=r.Object;t.exports=c?function(t){return"symbol"==typeof t}:function(t){var e=o("Symbol");return a(e)&&i(e.prototype,u(t))}},6244:function(t,e,n){var r=n(7466);t.exports=function(t){return r(t.length)}},133:function(t,e,n){var r=n(7392),o=n(7293);t.exports=!!Object.getOwnPropertySymbols&&!o((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},8536:function(t,e,n){var r=n(7854),o=n(614),a=n(2788),i=r.WeakMap;t.exports=o(i)&&/native code/.test(a(i))},30:function(t,e,n){var r,o=n(9670),a=n(6048),i=n(748),c=n(3501),u=n(490),s=n(317),l=n(6200),f=l("IE_PROTO"),p=function(){},d=function(t){return"
diff --git a/src/VdtnetTable.vue b/src/VdtnetTable.vue
index 4f729ba..c85c93d 100755
--- a/src/VdtnetTable.vue
+++ b/src/VdtnetTable.vue
@@ -155,14 +155,6 @@ export default {
jquery: {
type: Function
},
- /**
- * Pass in Vue to resolve any conflict from multiple loaded
- *
- * @type Object
- */
- vue: {
- type: Object
- },
/**
* The select-checkbox column index (start at 1)
* Current implementation require datatables.net-select
@@ -241,9 +233,6 @@ export default {
jq() {
return this.jquery || window.jQuery
},
- myVue() {
- return this.vue || window.Vue
- },
classes() {
const that = this
let classes = `${that.containerClassName} vdtnet-container`