@v2coding/ui 0.1.53 → 0.1.55
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/v2coding-ui.esm.js +18 -24
- package/dist/v2coding-ui.min.js +1 -1
- package/dist/v2coding-ui.ssr.js +176 -106
- package/package.json +1 -1
package/dist/v2coding-ui.esm.js
CHANGED
|
@@ -2670,17 +2670,11 @@ var __vue_render__$A = function () {
|
|
|
2670
2670
|
on: {
|
|
2671
2671
|
"change": _vm.onCheckAllChange
|
|
2672
2672
|
}
|
|
2673
|
-
}, [_vm._v("全选")])], 1), _vm._v(" "), _c('el-divider', {
|
|
2674
|
-
directives: [{
|
|
2675
|
-
name: "show",
|
|
2676
|
-
rawName: "v-show",
|
|
2677
|
-
value: _vm.all && _vm.realData.length,
|
|
2678
|
-
expression: "all && realData.length"
|
|
2679
|
-
}],
|
|
2673
|
+
}, [_vm._v("全选")])], 1), _vm._v(" "), _vm.all && _vm.realData.length ? _c('el-divider', {
|
|
2680
2674
|
attrs: {
|
|
2681
2675
|
"direction": "vertical"
|
|
2682
2676
|
}
|
|
2683
|
-
}), _vm._v(" "), _c('el-checkbox-group', _vm._b({
|
|
2677
|
+
}) : _vm._e(), _vm._v(" "), _c('el-checkbox-group', _vm._b({
|
|
2684
2678
|
staticClass: "options",
|
|
2685
2679
|
attrs: {
|
|
2686
2680
|
"value": _vm.pickerValue
|
|
@@ -2724,8 +2718,8 @@ var __vue_staticRenderFns__$A = [];
|
|
|
2724
2718
|
|
|
2725
2719
|
const __vue_inject_styles__$B = function (inject) {
|
|
2726
2720
|
if (!inject) return;
|
|
2727
|
-
inject("data-v-
|
|
2728
|
-
source: ".ui-field-checkbox .all[data-v-
|
|
2721
|
+
inject("data-v-ae8f026a_0", {
|
|
2722
|
+
source: ".ui-field-checkbox .all[data-v-ae8f026a]{display:flex}.ui-field-checkbox .all>.el-checkbox[data-v-ae8f026a]{margin-right:0}.ui-field-checkbox .options[data-v-ae8f026a]{display:flex;flex-direction:row;align-items:center}.ui-field-checkbox .empty[data-v-ae8f026a]{display:inline-flex;align-items:center;font-size:12px;color:#909399}.ui-field-checkbox[data-v-ae8f026a] .el-checkbox{margin:0 8px 0 0}.ui-field-checkbox[data-v-ae8f026a] .el-checkbox.is-bordered+.el-checkbox.is-bordered{margin-left:0}.ui-field-checkbox[data-v-ae8f026a] .el-divider{margin:0 10px}[data-v-ae8f026a] .el-loading-mask .el-loading-spinner{margin-top:-14px}",
|
|
2729
2723
|
map: undefined,
|
|
2730
2724
|
media: undefined
|
|
2731
2725
|
});
|
|
@@ -2733,7 +2727,7 @@ const __vue_inject_styles__$B = function (inject) {
|
|
|
2733
2727
|
/* scoped */
|
|
2734
2728
|
|
|
2735
2729
|
|
|
2736
|
-
const __vue_scope_id__$B = "data-v-
|
|
2730
|
+
const __vue_scope_id__$B = "data-v-ae8f026a";
|
|
2737
2731
|
/* module identifier */
|
|
2738
2732
|
|
|
2739
2733
|
const __vue_module_identifier__$B = undefined;
|
|
@@ -7359,9 +7353,9 @@ var script$g = {
|
|
|
7359
7353
|
* (函数节流. 600ms内只执行一次, 防止 form 表单多次提交)
|
|
7360
7354
|
* @private
|
|
7361
7355
|
*/
|
|
7362
|
-
onSubmit: throttle(function () {
|
|
7356
|
+
onSubmit: throttle(async function () {
|
|
7363
7357
|
let formData = this.getValues();
|
|
7364
|
-
const allow = this.beforeSubmit(formData);
|
|
7358
|
+
const allow = await this.beforeSubmit(formData);
|
|
7365
7359
|
|
|
7366
7360
|
if (typeof allow === 'boolean' && allow === false) {
|
|
7367
7361
|
return;
|
|
@@ -7563,8 +7557,8 @@ var __vue_staticRenderFns__$f = [];
|
|
|
7563
7557
|
|
|
7564
7558
|
const __vue_inject_styles__$g = function (inject) {
|
|
7565
7559
|
if (!inject) return;
|
|
7566
|
-
inject("data-v-
|
|
7567
|
-
source: ".el-form--inline[data-v-
|
|
7560
|
+
inject("data-v-3dfdaaf7_0", {
|
|
7561
|
+
source: ".el-form--inline[data-v-3dfdaaf7] .el-form-item{display:inline-flex}",
|
|
7568
7562
|
map: undefined,
|
|
7569
7563
|
media: undefined
|
|
7570
7564
|
});
|
|
@@ -7572,7 +7566,7 @@ const __vue_inject_styles__$g = function (inject) {
|
|
|
7572
7566
|
/* scoped */
|
|
7573
7567
|
|
|
7574
7568
|
|
|
7575
|
-
const __vue_scope_id__$g = "data-v-
|
|
7569
|
+
const __vue_scope_id__$g = "data-v-3dfdaaf7";
|
|
7576
7570
|
/* module identifier */
|
|
7577
7571
|
|
|
7578
7572
|
const __vue_module_identifier__$g = undefined;
|
|
@@ -7755,7 +7749,7 @@ var script$f = {
|
|
|
7755
7749
|
this.$refs.form.clearValidate();
|
|
7756
7750
|
},
|
|
7757
7751
|
|
|
7758
|
-
onSubmit(formData) {
|
|
7752
|
+
async onSubmit(formData) {
|
|
7759
7753
|
var _this = this;
|
|
7760
7754
|
|
|
7761
7755
|
if (!this.ready) {
|
|
@@ -7764,7 +7758,7 @@ var script$f = {
|
|
|
7764
7758
|
|
|
7765
7759
|
this.$emit('submit', { ...formData
|
|
7766
7760
|
});
|
|
7767
|
-
const allow = this.beforeSubmit(formData);
|
|
7761
|
+
const allow = await this.beforeSubmit(formData);
|
|
7768
7762
|
|
|
7769
7763
|
if (typeof allow === 'boolean' && allow === false) {
|
|
7770
7764
|
return;
|
|
@@ -7880,8 +7874,8 @@ var __vue_staticRenderFns__$e = [];
|
|
|
7880
7874
|
|
|
7881
7875
|
const __vue_inject_styles__$f = function (inject) {
|
|
7882
7876
|
if (!inject) return;
|
|
7883
|
-
inject("data-v-
|
|
7884
|
-
source: ".action-button[data-v-
|
|
7877
|
+
inject("data-v-42a629ae_0", {
|
|
7878
|
+
source: ".action-button[data-v-42a629ae]{text-align:right;margin:0 -20px -20px;padding:10px 20px;border-top:1px solid #e8e8e8}",
|
|
7885
7879
|
map: undefined,
|
|
7886
7880
|
media: undefined
|
|
7887
7881
|
});
|
|
@@ -7889,7 +7883,7 @@ const __vue_inject_styles__$f = function (inject) {
|
|
|
7889
7883
|
/* scoped */
|
|
7890
7884
|
|
|
7891
7885
|
|
|
7892
|
-
const __vue_scope_id__$f = "data-v-
|
|
7886
|
+
const __vue_scope_id__$f = "data-v-42a629ae";
|
|
7893
7887
|
/* module identifier */
|
|
7894
7888
|
|
|
7895
7889
|
const __vue_module_identifier__$f = undefined;
|
|
@@ -8198,7 +8192,7 @@ var script$d = {
|
|
|
8198
8192
|
this.$refs.form.clearValidate(...arguments);
|
|
8199
8193
|
},
|
|
8200
8194
|
|
|
8201
|
-
onSubmit(formData) {
|
|
8195
|
+
async onSubmit(formData) {
|
|
8202
8196
|
var _this = this;
|
|
8203
8197
|
|
|
8204
8198
|
// if (!this.ready) {
|
|
@@ -8206,7 +8200,7 @@ var script$d = {
|
|
|
8206
8200
|
// }
|
|
8207
8201
|
this.$emit('submit', { ...formData
|
|
8208
8202
|
});
|
|
8209
|
-
const allow = this.beforeSubmit(formData);
|
|
8203
|
+
const allow = await this.beforeSubmit(formData);
|
|
8210
8204
|
|
|
8211
8205
|
if (typeof allow === 'boolean' && allow === false) {
|
|
8212
8206
|
return;
|
|
@@ -8316,7 +8310,7 @@ var __vue_staticRenderFns__$c = [];
|
|
|
8316
8310
|
|
|
8317
8311
|
const __vue_inject_styles__$d = function (inject) {
|
|
8318
8312
|
if (!inject) return;
|
|
8319
|
-
inject("data-v-
|
|
8313
|
+
inject("data-v-0dd33ec0_0", {
|
|
8320
8314
|
source: ".ui-form-drawer{display:flex;flex-direction:column;padding:0;outline:0}.ui-form-drawer .el-drawer-body{flex:1;padding:0;overflow:hidden;display:flex;flex-direction:column}.ui-form-drawer .el-drawer-body>.el-form{flex:1;overflow:auto}.ui-form-drawer .el-drawer-body>.action-button{flex:none}.ui-form-drawer .ui-form-drawer-wrapper{flex:1;overflow:hidden}.ui-form-drawer .ui-form-drawer-wrapper .el-form{width:100%;height:100%;overflow:auto;padding:16px;box-sizing:border-box}.ui-form-drawer .action-button{flex:none;padding:16px;border-top:1px solid #e8eaec;display:flex;flex-direction:row-reverse}.ui-form-drawer .action-button button+button{margin-right:16px}.ui-form-drawer .action-button::after{content:'';clear:both}",
|
|
8321
8315
|
map: undefined,
|
|
8322
8316
|
media: undefined
|