First Commit
This commit is contained in:
commit
0c9a118281
633 changed files with 76612 additions and 0 deletions
1
resources/assets/vendor/libs/bootstrap-table/extensions/reorder-rows/reorder-rows.js
vendored
Executable file
1
resources/assets/vendor/libs/bootstrap-table/extensions/reorder-rows/reorder-rows.js
vendored
Executable file
|
|
@ -0,0 +1 @@
|
|||
!function(o,t){var r=function(o){var t={};function r(e){if(t[e])return t[e].exports;var n=t[e]={i:e,l:!1,exports:{}};return o[e].call(n.exports,n,n.exports,r),n.l=!0,n.exports}return r.m=o,r.c=t,r.d=function(o,t,e){r.o(o,t)||Object.defineProperty(o,t,{configurable:!1,enumerable:!0,get:e})},r.r=function(o){Object.defineProperty(o,"__esModule",{value:!0})},r.n=function(o){var t=o&&o.__esModule?function(){return o.default}:function(){return o};return r.d(t,"a",t),t},r.o=function(o,t){return Object.prototype.hasOwnProperty.call(o,t)},r.p="",r(r.s=319)}({318:function(o,t){!function(o){"use strict";var t=function(o,t){return{id:"customId_"+t}};o.extend(o.fn.bootstrapTable.defaults,{reorderableRows:!1,onDragStyle:null,onDropStyle:null,onDragClass:"reorder_rows_onDragClass",dragHandle:null,useRowAttrFunc:!1,onReorderRowsDrag:function(o,t){return!1},onReorderRowsDrop:function(o,t){return!1},onReorderRow:function(o){return!1}}),o.extend(o.fn.bootstrapTable.Constructor.EVENTS,{"reorder-row.bs.table":"onReorderRow"});var r=o.fn.bootstrapTable.Constructor,e=r.prototype.init,n=r.prototype.initSearch;r.prototype.init=function(){if(this.options.reorderableRows){var o=this;this.options.useRowAttrFunc&&(this.options.rowAttributes=t);var r=this.options.onPostBody;this.options.onPostBody=function(){setTimeout(function(){o.makeRowsReorderable(),r.apply()},1)},e.apply(this,Array.prototype.slice.apply(arguments))}else e.apply(this,Array.prototype.slice.apply(arguments))},r.prototype.initSearch=function(){n.apply(this,Array.prototype.slice.apply(arguments)),this.options.reorderableRows},r.prototype.makeRowsReorderable=function(){this.options.cardView||this.$el.tableDnD({onDragStyle:this.options.onDragStyle,onDropStyle:this.options.onDropStyle,onDragClass:this.options.onDragClass,onDrop:this.onDrop,onDragStart:this.options.onReorderRowsDrag,dragHandle:this.options.dragHandle})},r.prototype.onDrop=function(t,r){for(var e=o(t),n=e.data("bootstrap.table"),a=e.data("bootstrap.table").options,s=null,i=[],p=0;p<t.tBodies[0].rows.length;p++)s=o(t.tBodies[0].rows[p]),i.push(a.data[s.data("index")]),s.data("index",p).attr("data-index",p);a.data=a.data.slice(0,n.pageFrom-1).concat(i).concat(a.data.slice(n.pageTo)),a.onReorderRowsDrop.apply(t,[t,r]),n.trigger("reorder-row",i)}}(jQuery)},319:function(o,t,r){r(318)}});if("object"==typeof r){var e=["object"==typeof module&&"object"==typeof module.exports?module.exports:null,"undefined"!=typeof window?window:null,o&&o!==window?o:null];for(var n in r)e[0]&&(e[0][n]=r[n]),e[1]&&"__esModule"!==n&&(e[1][n]=r[n]),e[2]&&(e[2][n]=r[n])}}(this);
|
||||
1
resources/assets/vendor/libs/bootstrap-table/extensions/reorder-rows/reorder-rows.scss
vendored
Executable file
1
resources/assets/vendor/libs/bootstrap-table/extensions/reorder-rows/reorder-rows.scss
vendored
Executable file
|
|
@ -0,0 +1 @@
|
|||
@import "~bootstrap-table/src/extensions/reorder-rows/bootstrap-table-reorder-rows";
|
||||
Loading…
Add table
Add a link
Reference in a new issue