升级组件
This commit is contained in:
+1894
-1835
File diff suppressed because it is too large
Load Diff
+2
-2
File diff suppressed because one or more lines are too long
+1
-1
@@ -8,7 +8,7 @@ const deepCopy = arg => {
|
||||
if (arg === undefined) {
|
||||
return arg
|
||||
}
|
||||
return $.extend(true, Array.isArray(arg) ? [] : {}, arg)
|
||||
return $.fn.bootstrapTable.utils.extend(true, Array.isArray(arg) ? [] : {}, arg)
|
||||
};
|
||||
|
||||
var script = {
|
||||
|
||||
+2
-2
@@ -1,10 +1,10 @@
|
||||
/**
|
||||
* bootstrap-table - An extended table to integration with some of the most widely used CSS frameworks. (Supports Bootstrap, Semantic UI, Bulma, Material Design, Foundation)
|
||||
*
|
||||
* @version v1.21.1
|
||||
* @version v1.22.1
|
||||
* @homepage https://bootstrap-table.com
|
||||
* @author wenzhixin <wenzhixin2010@gmail.com> (http://wenzhixin.net.cn/)
|
||||
* @license MIT
|
||||
*/
|
||||
|
||||
const t=window.jQuery,e=e=>void 0===e?e:t.extend(!0,Array.isArray(e)?[]:{},e);function n(t,e,n,o,s,i,a,r,d,l){"boolean"!=typeof a&&(d=r,r=a,a=!1);const c="function"==typeof n?n.options:n;let h;if(t&&t.render&&(c.render=t.render,c.staticRenderFns=t.staticRenderFns,c._compiled=!0,s&&(c.functional=!0)),o&&(c._scopeId=o),i?(h=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,d(t)),t&&t._registeredComponents&&t._registeredComponents.add(i)},c._ssrRegister=h):e&&(h=a?function(t){e.call(this,l(t,this.$root.$options.shadowRoot))}:function(t){e.call(this,r(t))}),h)if(c.functional){const t=c.render;c.render=function(e,n){return h.call(n),t(e,n)}}else{const t=c.beforeCreate;c.beforeCreate=t?[].concat(t,h):[h]}return n}const o=n({render:function(){var t=this.$createElement;return(this._self._c||t)("table")},staticRenderFns:[]},undefined,{name:"BootstrapTable",props:{columns:{type:Array,require:!0},data:{type:[Array,Object],default(){}},options:{type:Object,default:()=>({})}},mounted(){this.$table=t(this.$el),this.$table.on("all.bs.table",((e,n,o)=>{let s=t.fn.bootstrapTable.events[n];s=s.replace(/([A-Z])/g,"-$1").toLowerCase(),this.$emit("on-all",...o),this.$emit(s,...o)})),this._initTable()},methods:{_initTable(){const t={...e(this.options),columns:e(this.columns),data:e(this.data)};this._hasInit?this.refreshOptions(t):(this.$table.bootstrapTable(t),this._hasInit=!0)},...(()=>{const e={};for(const n of t.fn.bootstrapTable.methods)e[n]=function(...t){return this.$table.bootstrapTable(n,...t)};return e})()},watch:{options:{handler(){this._initTable()},deep:!0},columns:{handler(){this._initTable()},deep:!0},data:{handler(){this.load(e(this.data))},deep:!0}}},undefined,false,undefined,!1,void 0,void 0,void 0);export{o as default};
|
||||
const t=window.jQuery,e=e=>void 0===e?e:t.fn.bootstrapTable.utils.extend(!0,Array.isArray(e)?[]:{},e);function n(t,e,n,o,s,i,a,r,d,l){"boolean"!=typeof a&&(d=r,r=a,a=!1);const c="function"==typeof n?n.options:n;let h;if(t&&t.render&&(c.render=t.render,c.staticRenderFns=t.staticRenderFns,c._compiled=!0,s&&(c.functional=!0)),o&&(c._scopeId=o),i?(h=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,d(t)),t&&t._registeredComponents&&t._registeredComponents.add(i)},c._ssrRegister=h):e&&(h=a?function(t){e.call(this,l(t,this.$root.$options.shadowRoot))}:function(t){e.call(this,r(t))}),h)if(c.functional){const t=c.render;c.render=function(e,n){return h.call(n),t(e,n)}}else{const t=c.beforeCreate;c.beforeCreate=t?[].concat(t,h):[h]}return n}const o=n({render:function(){var t=this.$createElement;return(this._self._c||t)("table")},staticRenderFns:[]},undefined,{name:"BootstrapTable",props:{columns:{type:Array,require:!0},data:{type:[Array,Object],default(){}},options:{type:Object,default:()=>({})}},mounted(){this.$table=t(this.$el),this.$table.on("all.bs.table",((e,n,o)=>{let s=t.fn.bootstrapTable.events[n];s=s.replace(/([A-Z])/g,"-$1").toLowerCase(),this.$emit("on-all",...o),this.$emit(s,...o)})),this._initTable()},methods:{_initTable(){const t={...e(this.options),columns:e(this.columns),data:e(this.data)};this._hasInit?this.refreshOptions(t):(this.$table.bootstrapTable(t),this._hasInit=!0)},...(()=>{const e={};for(const n of t.fn.bootstrapTable.methods)e[n]=function(...t){return this.$table.bootstrapTable(n,...t)};return e})()},watch:{options:{handler(){this._initTable()},deep:!0},columns:{handler(){this._initTable()},deep:!0},data:{handler(){this.load(e(this.data))},deep:!0}}},undefined,false,undefined,!1,void 0,void 0,void 0);export{o as default};
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
if (arg === undefined) {
|
||||
return arg
|
||||
}
|
||||
return $.extend(true, Array.isArray(arg) ? [] : {}, arg)
|
||||
return $.fn.bootstrapTable.utils.extend(true, Array.isArray(arg) ? [] : {}, arg)
|
||||
};
|
||||
|
||||
var script = {
|
||||
|
||||
+2
-2
@@ -1,10 +1,10 @@
|
||||
/**
|
||||
* bootstrap-table - An extended table to integration with some of the most widely used CSS frameworks. (Supports Bootstrap, Semantic UI, Bulma, Material Design, Foundation)
|
||||
*
|
||||
* @version v1.21.1
|
||||
* @version v1.22.1
|
||||
* @homepage https://bootstrap-table.com
|
||||
* @author wenzhixin <wenzhixin2010@gmail.com> (http://wenzhixin.net.cn/)
|
||||
* @license MIT
|
||||
*/
|
||||
|
||||
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).BootstrapTable=t()}(this,(function(){"use strict";const e=window.jQuery,t=t=>void 0===t?t:e.extend(!0,Array.isArray(t)?[]:{},t);function n(e,t,n,o,s,i,a,r,d,l){"boolean"!=typeof a&&(d=r,r=a,a=!1);const c="function"==typeof n?n.options:n;let f;if(e&&e.render&&(c.render=e.render,c.staticRenderFns=e.staticRenderFns,c._compiled=!0,s&&(c.functional=!0)),o&&(c._scopeId=o),i?(f=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__),t&&t.call(this,d(e)),e&&e._registeredComponents&&e._registeredComponents.add(i)},c._ssrRegister=f):t&&(f=a?function(e){t.call(this,l(e,this.$root.$options.shadowRoot))}:function(e){t.call(this,r(e))}),f)if(c.functional){const e=c.render;c.render=function(t,n){return f.call(n),e(t,n)}}else{const e=c.beforeCreate;c.beforeCreate=e?[].concat(e,f):[f]}return n}return n({render:function(){var e=this.$createElement;return(this._self._c||e)("table")},staticRenderFns:[]},undefined,{name:"BootstrapTable",props:{columns:{type:Array,require:!0},data:{type:[Array,Object],default(){}},options:{type:Object,default:()=>({})}},mounted(){this.$table=e(this.$el),this.$table.on("all.bs.table",((t,n,o)=>{let s=e.fn.bootstrapTable.events[n];s=s.replace(/([A-Z])/g,"-$1").toLowerCase(),this.$emit("on-all",...o),this.$emit(s,...o)})),this._initTable()},methods:{_initTable(){const e={...t(this.options),columns:t(this.columns),data:t(this.data)};this._hasInit?this.refreshOptions(e):(this.$table.bootstrapTable(e),this._hasInit=!0)},...(()=>{const t={};for(const n of e.fn.bootstrapTable.methods)t[n]=function(...e){return this.$table.bootstrapTable(n,...e)};return t})()},watch:{options:{handler(){this._initTable()},deep:!0},columns:{handler(){this._initTable()},deep:!0},data:{handler(){this.load(t(this.data))},deep:!0}}},undefined,false,undefined,!1,void 0,void 0,void 0)}));
|
||||
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).BootstrapTable=t()}(this,(function(){"use strict";const e=window.jQuery,t=t=>void 0===t?t:e.fn.bootstrapTable.utils.extend(!0,Array.isArray(t)?[]:{},t);function n(e,t,n,o,s,i,a,r,d,l){"boolean"!=typeof a&&(d=r,r=a,a=!1);const f="function"==typeof n?n.options:n;let c;if(e&&e.render&&(f.render=e.render,f.staticRenderFns=e.staticRenderFns,f._compiled=!0,s&&(f.functional=!0)),o&&(f._scopeId=o),i?(c=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__),t&&t.call(this,d(e)),e&&e._registeredComponents&&e._registeredComponents.add(i)},f._ssrRegister=c):t&&(c=a?function(e){t.call(this,l(e,this.$root.$options.shadowRoot))}:function(e){t.call(this,r(e))}),c)if(f.functional){const e=f.render;f.render=function(t,n){return c.call(n),e(t,n)}}else{const e=f.beforeCreate;f.beforeCreate=e?[].concat(e,c):[c]}return n}return n({render:function(){var e=this.$createElement;return(this._self._c||e)("table")},staticRenderFns:[]},undefined,{name:"BootstrapTable",props:{columns:{type:Array,require:!0},data:{type:[Array,Object],default(){}},options:{type:Object,default:()=>({})}},mounted(){this.$table=e(this.$el),this.$table.on("all.bs.table",((t,n,o)=>{let s=e.fn.bootstrapTable.events[n];s=s.replace(/([A-Z])/g,"-$1").toLowerCase(),this.$emit("on-all",...o),this.$emit(s,...o)})),this._initTable()},methods:{_initTable(){const e={...t(this.options),columns:t(this.columns),data:t(this.data)};this._hasInit?this.refreshOptions(e):(this.$table.bootstrapTable(e),this._hasInit=!0)},...(()=>{const t={};for(const n of e.fn.bootstrapTable.methods)t[n]=function(...e){return this.$table.bootstrapTable(n,...e)};return t})()},watch:{options:{handler(){this._initTable()},deep:!0},columns:{handler(){this._initTable()},deep:!0},data:{handler(){this.load(t(this.data))},deep:!0}}},undefined,false,undefined,!1,void 0,void 0,void 0)}));
|
||||
|
||||
@@ -1,8 +1,10 @@
|
||||
/**
|
||||
* @author zhixin wen <wenzhixin2010@gmail.com>
|
||||
* version: 1.21.1
|
||||
* version: 1.22.1
|
||||
* https://github.com/wenzhixin/bootstrap-table/
|
||||
*/
|
||||
/* stylelint-disable annotation-no-unknown, max-line-length */
|
||||
/* stylelint-enable annotation-no-unknown, max-line-length */
|
||||
.bootstrap-table .fixed-table-toolbar::after {
|
||||
content: "";
|
||||
display: block;
|
||||
@@ -339,7 +341,7 @@
|
||||
}
|
||||
|
||||
.bootstrap-table.bootstrap4 .pagination-lg .page-link, .bootstrap-table.bootstrap5 .pagination-lg .page-link {
|
||||
padding: .5rem 1rem;
|
||||
padding: 0.5rem 1rem;
|
||||
}
|
||||
|
||||
.bootstrap-table.bootstrap5 .float-left {
|
||||
@@ -372,7 +374,7 @@ div.fixed-table-scroll-outer {
|
||||
50% {
|
||||
opacity: 1;
|
||||
}
|
||||
to {
|
||||
100% {
|
||||
opacity: 0;
|
||||
}
|
||||
}
|
||||
|
||||
+1182
-1587
File diff suppressed because it is too large
Load Diff
+2
-2
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+308
-197
File diff suppressed because it is too large
Load Diff
+2
-2
File diff suppressed because one or more lines are too long
+308
-197
File diff suppressed because it is too large
Load Diff
+2
-2
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user