dfish-widget 1.0.43 → 1.0.46
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/css/style.css +1 -1
- package/lib/index.esm.js +179 -155
- package/lib/index.esm.js.map +1 -1
- package/package.json +1 -1
package/lib/index.esm.js
CHANGED
|
@@ -851,7 +851,7 @@ const snap = function(a, b, c, d, e, f, u) {
|
|
|
851
851
|
c = c.originalEvent || c;
|
|
852
852
|
c = {left: c.clientX, right: c.clientX, top: c.clientY, bottom: c.clientY};
|
|
853
853
|
}
|
|
854
|
-
var t = [], l = [], g, h, k = -1,
|
|
854
|
+
var t = [], l = [], g, h, k = -1, ew = cvs.clientWidth, eh = cvs.clientHeight,
|
|
855
855
|
s = d ? (_snaptype[d] || ('' + d).split(',')) : _snaptype.a;
|
|
856
856
|
if (/[1-4]/.test(s[0])) {// 1-4是边角对齐 .
|
|
857
857
|
for (var i = 0, o, p, m, n = 0; i < s.length; i ++) {
|
|
@@ -909,11 +909,18 @@ const snap = function(a, b, c, d, e, f, u) {
|
|
|
909
909
|
_snapMag.mag.t[y] && (o.mag_t = T$1, o.mag = 't');
|
|
910
910
|
_snapMag.inner[y] && (o.inner = T$1);
|
|
911
911
|
if (f && o.mag) {
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
912
|
+
var i = f.indent || number(f);
|
|
913
|
+
if (i) {
|
|
914
|
+
if (o.inner) {
|
|
915
|
+
o.mag_t ? (o.top -= i, o.bottom += i) : o.mag_b ? (o.top += i, o.bottom -= i) : o.mag_r ? (o.left += i, o.right -= i) : (o.left -= i, o.right += i);
|
|
916
|
+
} else {
|
|
917
|
+
o.mag_t ? (o.top += i, o.bottom -= i) : o.mag_b ? (o.top -= i, o.bottom += i) : o.mag_r ? (o.left -= i, o.right += i) : (o.left += i, o.right -= i);
|
|
918
|
+
}
|
|
919
|
+
}
|
|
920
|
+
f.top && (o.top -= f.top);
|
|
921
|
+
f.bottom && (o.bottom -= f.bottom);
|
|
922
|
+
f.left && (o.left -= f.left);
|
|
923
|
+
f.right && (o.right -= f.right);
|
|
917
924
|
}
|
|
918
925
|
if (e) {// 自适应位置
|
|
919
926
|
var l = o.left, r = o.right, b = o.bottom, t = o.top;
|
|
@@ -1804,7 +1811,7 @@ function directive(Vue) {
|
|
|
1804
1811
|
|
|
1805
1812
|
const bindCache = {};
|
|
1806
1813
|
|
|
1807
|
-
var script$
|
|
1814
|
+
var script$1k = {
|
|
1808
1815
|
props: ['data', 'width', 'height', 'colspan', 'rowspan', 'ownproperty', 'orientUid'],
|
|
1809
1816
|
data() {
|
|
1810
1817
|
return {
|
|
@@ -2069,9 +2076,9 @@ const bindCache = {};
|
|
|
2069
2076
|
}
|
|
2070
2077
|
};
|
|
2071
2078
|
|
|
2072
|
-
script$
|
|
2079
|
+
script$1k.__file = "src/widgets/WidgetAbs.vue";
|
|
2073
2080
|
|
|
2074
|
-
var script$
|
|
2081
|
+
var script$1j = {
|
|
2075
2082
|
props: ['src', 'children', 'parentItem'],
|
|
2076
2083
|
data() {
|
|
2077
2084
|
return {
|
|
@@ -2105,11 +2112,11 @@ var script$1i = {
|
|
|
2105
2112
|
}
|
|
2106
2113
|
};
|
|
2107
2114
|
|
|
2108
|
-
script$
|
|
2115
|
+
script$1j.__file = "src/widgets/SrcParent.vue";
|
|
2109
2116
|
|
|
2110
|
-
var script$
|
|
2117
|
+
var script$1i = {
|
|
2111
2118
|
name: 'w-view',
|
|
2112
|
-
mixins: [script$
|
|
2119
|
+
mixins: [script$1j],
|
|
2113
2120
|
provide() {
|
|
2114
2121
|
return {
|
|
2115
2122
|
provideView: this
|
|
@@ -2308,9 +2315,9 @@ var script$1h = {
|
|
|
2308
2315
|
}
|
|
2309
2316
|
};
|
|
2310
2317
|
|
|
2311
|
-
script$
|
|
2318
|
+
script$1i.__file = "src/widgets/ViewAbs.vue";
|
|
2312
2319
|
|
|
2313
|
-
var script$
|
|
2320
|
+
var script$1h = {
|
|
2314
2321
|
name: 'w-svg-loading'
|
|
2315
2322
|
};
|
|
2316
2323
|
|
|
@@ -2340,10 +2347,10 @@ function render$8(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2340
2347
|
return (openBlock(), createElementBlock("svg", _hoisted_1$9, _hoisted_6$2))
|
|
2341
2348
|
}
|
|
2342
2349
|
|
|
2343
|
-
script$
|
|
2344
|
-
script$
|
|
2350
|
+
script$1h.render = render$8;
|
|
2351
|
+
script$1h.__file = "src/assets/SVGIcon.vue";
|
|
2345
2352
|
|
|
2346
|
-
var script$
|
|
2353
|
+
var script$1g = {
|
|
2347
2354
|
props: ['data'],
|
|
2348
2355
|
data() {
|
|
2349
2356
|
return {
|
|
@@ -2457,10 +2464,10 @@ function render$7(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2457
2464
|
}))
|
|
2458
2465
|
}
|
|
2459
2466
|
|
|
2460
|
-
script$
|
|
2461
|
-
script$
|
|
2467
|
+
script$1g.render = render$7;
|
|
2468
|
+
script$1g.__file = "src/template/TemplatePreviewMedia.vue";
|
|
2462
2469
|
|
|
2463
|
-
var script$
|
|
2470
|
+
var script$1f = {
|
|
2464
2471
|
props: ['data'],
|
|
2465
2472
|
data() {
|
|
2466
2473
|
let f = this.data.format || 'yyyy-MM-dd';
|
|
@@ -2961,18 +2968,19 @@ function render$6(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2961
2968
|
}))
|
|
2962
2969
|
}
|
|
2963
2970
|
|
|
2964
|
-
script$
|
|
2965
|
-
script$
|
|
2971
|
+
script$1f.render = render$6;
|
|
2972
|
+
script$1f.__file = "src/template/TemplateDateSheet.vue";
|
|
2966
2973
|
|
|
2967
|
-
var script$
|
|
2974
|
+
var script$1e = {
|
|
2968
2975
|
name: 'w-docview',
|
|
2969
|
-
mixins: [script$
|
|
2976
|
+
mixins: [script$1k, script$1i],
|
|
2970
2977
|
provide() {
|
|
2971
2978
|
return {
|
|
2972
2979
|
providePubParent: null,
|
|
2973
2980
|
provideBoxParent: null,
|
|
2974
2981
|
provideRangeParent: null,
|
|
2975
2982
|
provideCompatGap: null,
|
|
2983
|
+
provideMenu_w: null,
|
|
2976
2984
|
}
|
|
2977
2985
|
},
|
|
2978
2986
|
beforeCreate() {
|
|
@@ -2987,15 +2995,15 @@ var script$1d = {
|
|
|
2987
2995
|
return null
|
|
2988
2996
|
},
|
|
2989
2997
|
previewVideo(src) {
|
|
2990
|
-
this.pop(script$
|
|
2998
|
+
this.pop(script$1g, {data: {type: 'video', src}});
|
|
2991
2999
|
},
|
|
2992
3000
|
previewImage(imgs, options) {
|
|
2993
|
-
this.pop(script$
|
|
3001
|
+
this.pop(script$1g, {data: {type: 'image', imgs, options}});
|
|
2994
3002
|
},
|
|
2995
3003
|
//dateOptions: {value, format, minValue, maxValue, success}
|
|
2996
3004
|
dateSheet(dateOptions, dialogOptions) {
|
|
2997
|
-
this.pop(script$
|
|
2998
|
-
template: script$
|
|
3005
|
+
this.pop(script$1f, {
|
|
3006
|
+
template: script$1f,
|
|
2999
3007
|
width: '100%',
|
|
3000
3008
|
height: '55%',
|
|
3001
3009
|
position: 'b',
|
|
@@ -3011,20 +3019,20 @@ var script$1d = {
|
|
|
3011
3019
|
return [
|
|
3012
3020
|
this.$slots.default && this.$slots.default(),
|
|
3013
3021
|
this.html_pops(),
|
|
3014
|
-
h(script$
|
|
3022
|
+
h(script$1h),
|
|
3015
3023
|
]
|
|
3016
3024
|
}
|
|
3017
3025
|
}
|
|
3018
3026
|
};
|
|
3019
3027
|
|
|
3020
|
-
script$
|
|
3028
|
+
script$1e.__file = "src/widgets/DocView.vue";
|
|
3021
3029
|
|
|
3022
|
-
var script$
|
|
3023
|
-
mixins: [script$
|
|
3030
|
+
var script$1d = {
|
|
3031
|
+
mixins: [script$1k],
|
|
3024
3032
|
inject: ['provideView']
|
|
3025
3033
|
};
|
|
3026
3034
|
|
|
3027
|
-
script$
|
|
3035
|
+
script$1d.__file = "src/widgets/WidgetBase.vue";
|
|
3028
3036
|
|
|
3029
3037
|
const onScroll = function(e) {
|
|
3030
3038
|
if (this.wScrollPercentX) {
|
|
@@ -3065,8 +3073,8 @@ const onScroll = function(e) {
|
|
|
3065
3073
|
}, dnEv);
|
|
3066
3074
|
};
|
|
3067
3075
|
|
|
3068
|
-
var script$
|
|
3069
|
-
mixins: [script$
|
|
3076
|
+
var script$1c = {
|
|
3077
|
+
mixins: [script$1d],
|
|
3070
3078
|
props: ['scrollX', 'scrollY', 'scrollView', 'scrollFlex'],
|
|
3071
3079
|
data() {
|
|
3072
3080
|
return {
|
|
@@ -3352,9 +3360,9 @@ const onScroll = function(e) {
|
|
|
3352
3360
|
}
|
|
3353
3361
|
};
|
|
3354
3362
|
|
|
3355
|
-
script$
|
|
3363
|
+
script$1c.__file = "src/widgets/Scroll.vue";
|
|
3356
3364
|
|
|
3357
|
-
var script$
|
|
3365
|
+
var script$1b = {
|
|
3358
3366
|
props: ['align', 'valign', 'gap'],
|
|
3359
3367
|
computed: {
|
|
3360
3368
|
dir() {
|
|
@@ -3369,11 +3377,11 @@ var script$1a = {
|
|
|
3369
3377
|
}
|
|
3370
3378
|
};
|
|
3371
3379
|
|
|
3372
|
-
script$
|
|
3380
|
+
script$1b.__file = "src/widgets/AlignParent.vue";
|
|
3373
3381
|
|
|
3374
|
-
var script$
|
|
3382
|
+
var script$1a = {
|
|
3375
3383
|
name: 'w-horizontal',
|
|
3376
|
-
mixins: [script$
|
|
3384
|
+
mixins: [script$1c, script$1b],
|
|
3377
3385
|
props: ['br', 'reverse'],
|
|
3378
3386
|
provide() {
|
|
3379
3387
|
return {
|
|
@@ -3425,11 +3433,11 @@ var script$19 = {
|
|
|
3425
3433
|
}
|
|
3426
3434
|
};
|
|
3427
3435
|
|
|
3428
|
-
script$
|
|
3436
|
+
script$1a.__file = "src/widgets/Horizontal.vue";
|
|
3429
3437
|
|
|
3430
|
-
var script$
|
|
3438
|
+
var script$19 = {
|
|
3431
3439
|
name: 'w-vertical',
|
|
3432
|
-
mixins: [script$
|
|
3440
|
+
mixins: [script$1a],
|
|
3433
3441
|
computed: {
|
|
3434
3442
|
dir() {
|
|
3435
3443
|
return 'v'
|
|
@@ -3437,11 +3445,11 @@ var script$18 = {
|
|
|
3437
3445
|
}
|
|
3438
3446
|
};
|
|
3439
3447
|
|
|
3440
|
-
script$
|
|
3448
|
+
script$19.__file = "src/widgets/Vertical.vue";
|
|
3441
3449
|
|
|
3442
|
-
var script$
|
|
3450
|
+
var script$18 = {
|
|
3443
3451
|
name: 'w-view',
|
|
3444
|
-
mixins: [script$
|
|
3452
|
+
mixins: [script$19, script$1i],
|
|
3445
3453
|
inject: ['provideView'],
|
|
3446
3454
|
methods: {
|
|
3447
3455
|
html_slots() {
|
|
@@ -3458,7 +3466,7 @@ var script$17 = {
|
|
|
3458
3466
|
}
|
|
3459
3467
|
};
|
|
3460
3468
|
|
|
3461
|
-
script$
|
|
3469
|
+
script$18.__file = "src/widgets/View.vue";
|
|
3462
3470
|
|
|
3463
3471
|
const O = {},
|
|
3464
3472
|
T = true,
|
|
@@ -3475,11 +3483,11 @@ const O = {},
|
|
|
3475
3483
|
return typeof a === 'string' && a.split(',').map(v => positionHooks[v] || v).join()
|
|
3476
3484
|
};
|
|
3477
3485
|
|
|
3478
|
-
var script$
|
|
3486
|
+
var script$17 = {
|
|
3479
3487
|
name: 'w-dialog',
|
|
3480
|
-
mixins: [script$
|
|
3488
|
+
mixins: [script$18],
|
|
3481
3489
|
props: ['title', 'autoHide', 'context', 'prong', 'independent', 'timeout',
|
|
3482
|
-
'cover', 'position', 'snap', 'indent', 'local', 'fullScreen', 'hoverShowDrop', 'visible',
|
|
3490
|
+
'cover', 'position', 'snap', 'indent', 'offsetRange', 'local', 'fullScreen', 'hoverShowDrop', 'visible',
|
|
3483
3491
|
...boundary
|
|
3484
3492
|
],
|
|
3485
3493
|
emits: ['close', 'click:cover', 'update:visible'],
|
|
@@ -3852,12 +3860,12 @@ const O = {},
|
|
|
3852
3860
|
}
|
|
3853
3861
|
};
|
|
3854
3862
|
|
|
3855
|
-
script$
|
|
3863
|
+
script$17.__file = "src/widgets/Dialog.vue";
|
|
3856
3864
|
|
|
3857
3865
|
const _hoisted_1$7 = /*#__PURE__*/createElementVNode("i", { class: "w-alert-close-icon f-i f-i-close" }, null, -1 /* HOISTED */);
|
|
3858
3866
|
|
|
3859
3867
|
|
|
3860
|
-
var script$
|
|
3868
|
+
var script$16 = {
|
|
3861
3869
|
__name: 'TemplateAlert',
|
|
3862
3870
|
props: ['text', 'escape', 'title', 'icon', 'showButton'],
|
|
3863
3871
|
emits: ['save', 'close'],
|
|
@@ -3990,11 +3998,11 @@ return (_ctx, _cache) => {
|
|
|
3990
3998
|
|
|
3991
3999
|
};
|
|
3992
4000
|
|
|
3993
|
-
script$
|
|
4001
|
+
script$16.__file = "src/template/TemplateAlert.vue";
|
|
3994
4002
|
|
|
3995
|
-
var script$
|
|
4003
|
+
var script$15 = {
|
|
3996
4004
|
name: 'w-alert',
|
|
3997
|
-
mixins: [script$
|
|
4005
|
+
mixins: [script$17],
|
|
3998
4006
|
props: ['text', 'title', 'escape', 'yes', 'no', 'showButton'],
|
|
3999
4007
|
methods: {
|
|
4000
4008
|
x_default() {
|
|
@@ -4012,7 +4020,7 @@ var script$14 = {
|
|
|
4012
4020
|
},
|
|
4013
4021
|
html_slots_default() {
|
|
4014
4022
|
return h(
|
|
4015
|
-
script$
|
|
4023
|
+
script$16,
|
|
4016
4024
|
{
|
|
4017
4025
|
text: this.x.text,
|
|
4018
4026
|
title: this.x.title,
|
|
@@ -4028,12 +4036,12 @@ var script$14 = {
|
|
|
4028
4036
|
}
|
|
4029
4037
|
};
|
|
4030
4038
|
|
|
4031
|
-
script$
|
|
4039
|
+
script$15.__file = "src/widgets/Alert.vue";
|
|
4032
4040
|
|
|
4033
4041
|
const _hoisted_1$6 = /*#__PURE__*/createElementVNode("i", { class: "w-alert-close-icon f-i f-i-close" }, null, -1 /* HOISTED */);
|
|
4034
4042
|
|
|
4035
4043
|
|
|
4036
|
-
var script$
|
|
4044
|
+
var script$14 = {
|
|
4037
4045
|
__name: 'TemplateConfirm',
|
|
4038
4046
|
props: ['text', 'escape', 'title', 'icon', 'showButton'],
|
|
4039
4047
|
emits: ['save', 'close'],
|
|
@@ -4173,11 +4181,11 @@ return (_ctx, _cache) => {
|
|
|
4173
4181
|
|
|
4174
4182
|
};
|
|
4175
4183
|
|
|
4176
|
-
script$
|
|
4184
|
+
script$14.__file = "src/template/TemplateConfirm.vue";
|
|
4177
4185
|
|
|
4178
|
-
var script$
|
|
4186
|
+
var script$13 = {
|
|
4179
4187
|
name: 'w-confirm',
|
|
4180
|
-
mixins: [script$
|
|
4188
|
+
mixins: [script$17],
|
|
4181
4189
|
props: ['text', 'title', 'escape', 'yes', 'no', 'showButton'],
|
|
4182
4190
|
methods: {
|
|
4183
4191
|
x_default() {
|
|
@@ -4196,7 +4204,7 @@ var script$12 = {
|
|
|
4196
4204
|
},
|
|
4197
4205
|
html_slots_default() {
|
|
4198
4206
|
return h(
|
|
4199
|
-
script$
|
|
4207
|
+
script$14,
|
|
4200
4208
|
{
|
|
4201
4209
|
text: this.x.text,
|
|
4202
4210
|
title: this.x.title,
|
|
@@ -4212,7 +4220,7 @@ var script$12 = {
|
|
|
4212
4220
|
}
|
|
4213
4221
|
};
|
|
4214
4222
|
|
|
4215
|
-
script$
|
|
4223
|
+
script$13.__file = "src/widgets/Confirm.vue";
|
|
4216
4224
|
|
|
4217
4225
|
const _hoisted_1$5 = { class: "w-tip-body" };
|
|
4218
4226
|
const _hoisted_2$5 = {
|
|
@@ -4222,7 +4230,7 @@ const _hoisted_2$5 = {
|
|
|
4222
4230
|
const _hoisted_3$3 = ["innerHTML"];
|
|
4223
4231
|
|
|
4224
4232
|
|
|
4225
|
-
var script$
|
|
4233
|
+
var script$12 = {
|
|
4226
4234
|
__name: 'TemplateTip',
|
|
4227
4235
|
props: ['text', 'escape'],
|
|
4228
4236
|
setup(__props) {
|
|
@@ -4246,16 +4254,16 @@ return (_ctx, _cache) => {
|
|
|
4246
4254
|
|
|
4247
4255
|
};
|
|
4248
4256
|
|
|
4249
|
-
script$
|
|
4257
|
+
script$12.__file = "src/template/TemplateTip.vue";
|
|
4250
4258
|
|
|
4251
4259
|
let inst$1 = null;
|
|
4252
4260
|
let tipCache = {
|
|
4253
4261
|
time: new Date().getTime()
|
|
4254
4262
|
};
|
|
4255
4263
|
|
|
4256
|
-
var script$
|
|
4264
|
+
var script$11 = {
|
|
4257
4265
|
name: 'w-tip',
|
|
4258
|
-
mixins: [script$
|
|
4266
|
+
mixins: [script$17],
|
|
4259
4267
|
props: ['face', 'text', 'escape'],
|
|
4260
4268
|
methods: {
|
|
4261
4269
|
x_default() {
|
|
@@ -4267,7 +4275,7 @@ let inst$1 = null;
|
|
|
4267
4275
|
}
|
|
4268
4276
|
},
|
|
4269
4277
|
html_slots_default() {
|
|
4270
|
-
return h(script$
|
|
4278
|
+
return h(script$12, {text: this.x.text, escape: this.x.escape}, this.$slots)
|
|
4271
4279
|
}
|
|
4272
4280
|
},
|
|
4273
4281
|
computed: {
|
|
@@ -4292,12 +4300,12 @@ let inst$1 = null;
|
|
|
4292
4300
|
}
|
|
4293
4301
|
};
|
|
4294
4302
|
|
|
4295
|
-
script$
|
|
4303
|
+
script$11.__file = "src/widgets/Tip.vue";
|
|
4296
4304
|
|
|
4297
|
-
var script
|
|
4305
|
+
var script$10 = {
|
|
4298
4306
|
name: 'w-img',
|
|
4299
4307
|
pubParentName: 'w-album',
|
|
4300
|
-
mixins: [script$
|
|
4308
|
+
mixins: [script$1d],
|
|
4301
4309
|
inject: ['providePubParent'],
|
|
4302
4310
|
props: ['src', 'text', 'square', 'imgWidth', 'imgHeight', 'dataUrl', 'vertical', 'disabled'],
|
|
4303
4311
|
data() {
|
|
@@ -4343,7 +4351,7 @@ var script$$ = {
|
|
|
4343
4351
|
class: 'w-img-cover f-abs-full'
|
|
4344
4352
|
}, this.$slots.cover())
|
|
4345
4353
|
]),
|
|
4346
|
-
cont && h(script$
|
|
4354
|
+
cont && h(script$19, {
|
|
4347
4355
|
class: 'w-img-description'
|
|
4348
4356
|
}, cont)
|
|
4349
4357
|
]
|
|
@@ -4377,14 +4385,13 @@ var script$$ = {
|
|
|
4377
4385
|
}
|
|
4378
4386
|
};
|
|
4379
4387
|
|
|
4380
|
-
script
|
|
4388
|
+
script$10.__file = "src/widgets/Img.vue";
|
|
4381
4389
|
|
|
4382
|
-
var script
|
|
4383
|
-
name: 'w-button',
|
|
4390
|
+
var script$$ = {
|
|
4384
4391
|
pubParentName: 'w-buttonbar',
|
|
4385
|
-
mixins: [script$
|
|
4392
|
+
mixins: [script$1d],
|
|
4386
4393
|
props: ['text', 'icon', 'focusIcon', 'face', 'target', 'closable', 'loading', 'disabled', 'vertical', 'hoverShowDrop', 'dropProps', 'dropIcon', 'showDropIcon'],
|
|
4387
|
-
inject: ['providePubParent'],
|
|
4394
|
+
inject: ['providePubParent', 'provideMenu_w'],
|
|
4388
4395
|
emits: ['click:close', 'dropClose'],
|
|
4389
4396
|
data() {
|
|
4390
4397
|
return {
|
|
@@ -4413,11 +4420,6 @@ var script$_ = {
|
|
|
4413
4420
|
}
|
|
4414
4421
|
},
|
|
4415
4422
|
methods: {
|
|
4416
|
-
x_default() {
|
|
4417
|
-
return {
|
|
4418
|
-
showDropIcon: true
|
|
4419
|
-
}
|
|
4420
|
-
},
|
|
4421
4423
|
ajaxLock(a) {
|
|
4422
4424
|
a = a == null ? true : a;
|
|
4423
4425
|
this.x.loading = a;
|
|
@@ -4476,7 +4478,7 @@ var script$_ = {
|
|
|
4476
4478
|
if (this.x.loading) {
|
|
4477
4479
|
r.push(h('div', {
|
|
4478
4480
|
class: 'w-button-loading f-abs-full f-flex-center'
|
|
4479
|
-
}, h(script
|
|
4481
|
+
}, h(script$10, {
|
|
4480
4482
|
src: '#f-svg-loading'
|
|
4481
4483
|
})));
|
|
4482
4484
|
}
|
|
@@ -4491,7 +4493,7 @@ var script$_ = {
|
|
|
4491
4493
|
}, h('span', {class: 'w-button-text-line f-line-1', title}, t)));
|
|
4492
4494
|
}
|
|
4493
4495
|
if (this.isMore && this.x.showDropIcon) {
|
|
4494
|
-
r.push(h(script
|
|
4496
|
+
r.push(h(script$10, {
|
|
4495
4497
|
class: 'w-button-more f-flex-center f-height',
|
|
4496
4498
|
src: this.x.dropIcon || '.f-i .f-i-caret-down'
|
|
4497
4499
|
}));
|
|
@@ -4509,7 +4511,7 @@ var script$_ = {
|
|
|
4509
4511
|
class: 'w-button-main f-oh f-height',
|
|
4510
4512
|
...(this.isCombo && !this.isDisabled && this.mouses),
|
|
4511
4513
|
}, r),
|
|
4512
|
-
this.isCombo && h(script
|
|
4514
|
+
this.isCombo && h(script$10, {
|
|
4513
4515
|
class: 'w-button-drop f-flex-center f-height',
|
|
4514
4516
|
src: this.x.dropIcon || '.f-i .f-i-caret-down',
|
|
4515
4517
|
...(!this.isDisabled && this.mouses),
|
|
@@ -4560,11 +4562,11 @@ var script$_ = {
|
|
|
4560
4562
|
}
|
|
4561
4563
|
};
|
|
4562
4564
|
|
|
4563
|
-
script
|
|
4565
|
+
script$$.__file = "src/widgets/ButtonAbs.vue";
|
|
4564
4566
|
|
|
4565
|
-
var script$
|
|
4567
|
+
var script$_ = {
|
|
4566
4568
|
name: 'w-menubutton',
|
|
4567
|
-
mixins: [script
|
|
4569
|
+
mixins: [script$$],
|
|
4568
4570
|
methods: {
|
|
4569
4571
|
ajax(...args) {
|
|
4570
4572
|
return this.parentMenu.rootCommander.ajax(...args)
|
|
@@ -4627,7 +4629,7 @@ var script$Z = {
|
|
|
4627
4629
|
onclick: this.clickClose
|
|
4628
4630
|
})));
|
|
4629
4631
|
}
|
|
4630
|
-
r.push(h(script
|
|
4632
|
+
r.push(h(script$10, {
|
|
4631
4633
|
class: 'w-menubutton-drop f-flex-center f-height',
|
|
4632
4634
|
src: this.isMore ? (this.x.dropIcon || '.f-i .f-i-caret-right') : ''
|
|
4633
4635
|
}));
|
|
@@ -4638,7 +4640,7 @@ var script$Z = {
|
|
|
4638
4640
|
ownproperty: true,
|
|
4639
4641
|
snap: () => this.el(),
|
|
4640
4642
|
position: '21,12',
|
|
4641
|
-
indent: 1,
|
|
4643
|
+
indent: {top: 1, bottom: 1},
|
|
4642
4644
|
onClose: () => this.showDrop = null
|
|
4643
4645
|
};
|
|
4644
4646
|
if (this.x.dropProps) dropProps = mergeProps(dropProps, this.x.dropProps);
|
|
@@ -4652,7 +4654,7 @@ var script$Z = {
|
|
|
4652
4654
|
return 'button'
|
|
4653
4655
|
},
|
|
4654
4656
|
isMore() {
|
|
4655
|
-
return !!this
|
|
4657
|
+
return !!this.hasChild
|
|
4656
4658
|
},
|
|
4657
4659
|
parentMenu() {
|
|
4658
4660
|
let p = this.provideView;
|
|
@@ -4667,7 +4669,8 @@ var script$Z = {
|
|
|
4667
4669
|
disabled: this.x.disabled,
|
|
4668
4670
|
class: {
|
|
4669
4671
|
'z-on': this.isCurrent,
|
|
4670
|
-
'z-ds': this.x.disabled
|
|
4672
|
+
'z-ds': this.x.disabled,
|
|
4673
|
+
'z-drop': this.showDrop,
|
|
4671
4674
|
},
|
|
4672
4675
|
onmouseenter: this.onmouseenter,
|
|
4673
4676
|
onmouseleave: !this.x.disabled && (e => e.currentTarget.classList.remove('z-hv')),
|
|
@@ -4677,7 +4680,30 @@ var script$Z = {
|
|
|
4677
4680
|
},
|
|
4678
4681
|
};
|
|
4679
4682
|
|
|
4680
|
-
script$
|
|
4683
|
+
script$_.__file = "src/widgets/MenuButton.vue";
|
|
4684
|
+
|
|
4685
|
+
var script$Z = {
|
|
4686
|
+
name: 'w-button',
|
|
4687
|
+
mixins: [script$$],
|
|
4688
|
+
props: ['autoMenuButton'],
|
|
4689
|
+
methods: {
|
|
4690
|
+
x_default() {
|
|
4691
|
+
return {
|
|
4692
|
+
showDropIcon: true,
|
|
4693
|
+
autoMenuButton: true,
|
|
4694
|
+
}
|
|
4695
|
+
},
|
|
4696
|
+
},
|
|
4697
|
+
render() {
|
|
4698
|
+
if (this.provideMenu_w && this.x.autoMenuButton) {
|
|
4699
|
+
return h(script$_, this.$props, this.$slots)
|
|
4700
|
+
} else {
|
|
4701
|
+
return this.html()
|
|
4702
|
+
}
|
|
4703
|
+
}
|
|
4704
|
+
};
|
|
4705
|
+
|
|
4706
|
+
script$Z.__file = "src/widgets/Button.vue";
|
|
4681
4707
|
|
|
4682
4708
|
let inst = null;
|
|
4683
4709
|
|
|
@@ -4694,7 +4720,12 @@ let inst = null;
|
|
|
4694
4720
|
|
|
4695
4721
|
var script$Y = {
|
|
4696
4722
|
name: 'w-menu',
|
|
4697
|
-
mixins: [script$
|
|
4723
|
+
mixins: [script$17],
|
|
4724
|
+
provide() {
|
|
4725
|
+
return {
|
|
4726
|
+
provideMenu_w: this
|
|
4727
|
+
}
|
|
4728
|
+
},
|
|
4698
4729
|
methods: {
|
|
4699
4730
|
x_default() {
|
|
4700
4731
|
return {
|
|
@@ -4748,12 +4779,7 @@ let inst = null;
|
|
|
4748
4779
|
}
|
|
4749
4780
|
},
|
|
4750
4781
|
html_buttons() {
|
|
4751
|
-
return this.slots_children()
|
|
4752
|
-
if (s.type === script$_) {
|
|
4753
|
-
s.type = script$Z;
|
|
4754
|
-
}
|
|
4755
|
-
return s
|
|
4756
|
-
})
|
|
4782
|
+
return this.slots_children()
|
|
4757
4783
|
},
|
|
4758
4784
|
html_slots() {
|
|
4759
4785
|
return [
|
|
@@ -4763,14 +4789,12 @@ let inst = null;
|
|
|
4763
4789
|
}, h('i', {
|
|
4764
4790
|
class: 'f-i f-i-caret-up'
|
|
4765
4791
|
})),
|
|
4766
|
-
h(script$
|
|
4792
|
+
h(script$19, {
|
|
4767
4793
|
class: 'w-menu-bbr',
|
|
4768
4794
|
height: '*',
|
|
4769
4795
|
ref: 'bbr',
|
|
4770
4796
|
onwheel: this.mousewheel
|
|
4771
|
-
},
|
|
4772
|
-
default: () => this.html_buttons()
|
|
4773
|
-
}),
|
|
4797
|
+
}, this.$slots),
|
|
4774
4798
|
this.x.maxHeight && h('div', {
|
|
4775
4799
|
class: 'w-menu-arr f-oh',
|
|
4776
4800
|
onclick: e => this.arrow(1)
|
|
@@ -4824,7 +4848,7 @@ script$Y.__file = "src/widgets/Menu.vue";
|
|
|
4824
4848
|
|
|
4825
4849
|
var script$X = {
|
|
4826
4850
|
name: 'w-loading',
|
|
4827
|
-
mixins: [script$
|
|
4851
|
+
mixins: [script$17],
|
|
4828
4852
|
props: ['text', 'icon'],
|
|
4829
4853
|
methods: {
|
|
4830
4854
|
x_default() {
|
|
@@ -4833,7 +4857,7 @@ var script$X = {
|
|
|
4833
4857
|
}
|
|
4834
4858
|
},
|
|
4835
4859
|
html_slots() {
|
|
4836
|
-
return h(script
|
|
4860
|
+
return h(script$10, {
|
|
4837
4861
|
src: this.x.icon !== undefined ? this.x.icon : '#f-svg-loading',
|
|
4838
4862
|
text: this.x.text !== undefined ? this.x.text : $$1.loc.loading
|
|
4839
4863
|
})
|
|
@@ -4850,7 +4874,7 @@ script$X.__file = "src/widgets/Loading.vue";
|
|
|
4850
4874
|
|
|
4851
4875
|
var script$W = {
|
|
4852
4876
|
name: 'w-table',
|
|
4853
|
-
mixins: [script$
|
|
4877
|
+
mixins: [script$1d],
|
|
4854
4878
|
props: ['face', 'scroll-x', 'scroll-y'],
|
|
4855
4879
|
provide() {
|
|
4856
4880
|
return {
|
|
@@ -4987,7 +5011,7 @@ script$S.__file = "src/widgets/SlotDefault.vue";
|
|
|
4987
5011
|
|
|
4988
5012
|
var script$R = {
|
|
4989
5013
|
name: 'w-thead',
|
|
4990
|
-
mixins: [script$
|
|
5014
|
+
mixins: [script$1d, script$T],
|
|
4991
5015
|
props: ['br', 'sort'],
|
|
4992
5016
|
inject: ['_provideTable'],
|
|
4993
5017
|
provide() {
|
|
@@ -5084,7 +5108,7 @@ script$R.__file = "src/widgets/TableTHead.vue";
|
|
|
5084
5108
|
|
|
5085
5109
|
var script$Q = {
|
|
5086
5110
|
name: 'w-tbody',
|
|
5087
|
-
mixins: [script$R, script$
|
|
5111
|
+
mixins: [script$R, script$1c],
|
|
5088
5112
|
inject: ['_provideTable'],
|
|
5089
5113
|
props: ['children'],
|
|
5090
5114
|
provide() {
|
|
@@ -5157,7 +5181,7 @@ script$Q.__file = "src/widgets/TableTBody.vue";
|
|
|
5157
5181
|
var script$P = {
|
|
5158
5182
|
name: 'w-tr',
|
|
5159
5183
|
pubParentName: 'w-tbody,w-thead',
|
|
5160
|
-
mixins: [script$
|
|
5184
|
+
mixins: [script$1d, script$1j],
|
|
5161
5185
|
props: ['rowIndex', 'expanded', 'children'],
|
|
5162
5186
|
inject: ['_provideTable', 'providePubParent', 'provideInBody', '_provideTBody', 'provideLevel', 'provideParentTR'],
|
|
5163
5187
|
provide() {
|
|
@@ -5328,7 +5352,7 @@ script$O.__file = "src/widgets/TableTD.vue";
|
|
|
5328
5352
|
|
|
5329
5353
|
var script$N = {
|
|
5330
5354
|
name: 'w-th',
|
|
5331
|
-
mixins: [script$O, script$
|
|
5355
|
+
mixins: [script$O, script$1d],
|
|
5332
5356
|
props: ['sortable', 'sortOrders', 'sortOrderDefault'],
|
|
5333
5357
|
inject: ['_provideThead'],
|
|
5334
5358
|
emits: ['click:sort'],
|
|
@@ -5363,7 +5387,7 @@ var script$N = {
|
|
|
5363
5387
|
this.$emit('click:sort', e, o);
|
|
5364
5388
|
},
|
|
5365
5389
|
html_slots() {
|
|
5366
|
-
return h(script$
|
|
5390
|
+
return h(script$1a, {class: 'w-th-wrap', valign: 'middle', align: this.align || this.col.align}, {default: () => [
|
|
5367
5391
|
h('div', {class: 'w-th-title'}, this.$slots),
|
|
5368
5392
|
this.x.sortable ? h('div', {class: 'w-th-sort f-flex-column f-flex-center f-oh'}, [
|
|
5369
5393
|
h('i', {class: 'f-i f-i-caret-up f-oh w-th-sort-up', onClick: e => this.clickSort(e, 'asc')}),
|
|
@@ -5392,7 +5416,7 @@ script$N.__file = "src/widgets/TableTH.vue";
|
|
|
5392
5416
|
|
|
5393
5417
|
var script$M = {
|
|
5394
5418
|
name: 'w-grid',
|
|
5395
|
-
mixins: [script$
|
|
5419
|
+
mixins: [script$1c],
|
|
5396
5420
|
props: ['columns', 'rows', 'gap', 'defaultColspan', 'face', 'labelWidth'],
|
|
5397
5421
|
methods: {
|
|
5398
5422
|
x_default() {
|
|
@@ -5440,7 +5464,7 @@ var script$L = {
|
|
|
5440
5464
|
name: 'w-swiper-item',
|
|
5441
5465
|
pubParentName: 'w-swiper',
|
|
5442
5466
|
inject: ['providePubParent'],
|
|
5443
|
-
mixins: [script$
|
|
5467
|
+
mixins: [script$1d],
|
|
5444
5468
|
props: ['lazy'],
|
|
5445
5469
|
data() {
|
|
5446
5470
|
return {
|
|
@@ -5477,7 +5501,7 @@ script$L.__file = "src/widgets/SwiperItem.vue";
|
|
|
5477
5501
|
|
|
5478
5502
|
var script$K = {
|
|
5479
5503
|
name: 'w-swiper',
|
|
5480
|
-
mixins: [script$
|
|
5504
|
+
mixins: [script$1d, script$T],
|
|
5481
5505
|
props: ['arrow', 'indicatorDots', 'duration'],
|
|
5482
5506
|
data() {
|
|
5483
5507
|
return {
|
|
@@ -5566,7 +5590,7 @@ script$K.__file = "src/widgets/Swiper.vue";
|
|
|
5566
5590
|
|
|
5567
5591
|
var script$J = {
|
|
5568
5592
|
name: 'w-buttonbar',
|
|
5569
|
-
mixins: [script$
|
|
5593
|
+
mixins: [script$1a, script$T],
|
|
5570
5594
|
props: ['vertical'],
|
|
5571
5595
|
emits: ['click:item'],
|
|
5572
5596
|
methods: {
|
|
@@ -5679,7 +5703,7 @@ var script$I = {
|
|
|
5679
5703
|
},
|
|
5680
5704
|
html_slots() {
|
|
5681
5705
|
let group = h(TransitionGroup, {name: 'w-tabbar', onBeforeEnter: this.onBeforeEnter, onAfterEnter: this.onAfterEnter, onBeforeLeave: this.onBeforeLeave, onAfterLeave: this.onAfterLeave}, {default: () => this.buttons});
|
|
5682
|
-
let gut = [h(this.x.vertical ? script$
|
|
5706
|
+
let gut = [h(this.x.vertical ? script$19 : script$1a, {ref: 'gut', class: 'w-tabbar-gut', gap: this.x.gap, align: this.x.align, valign: this.x.valign}, {default: () => group})];
|
|
5683
5707
|
if (this.x.arrow) {
|
|
5684
5708
|
gut.unshift(h('div', {class: 'w-tabbar-arrow-start', onClick: () => this.clickArrow(-1)}, h('i', {class: 'f-i f-i-caret-left'})));
|
|
5685
5709
|
gut.push(h('div', {class: 'w-tabbar-arrow-end', onClick: () => this.clickArrow(1)}, h('i', {class: 'f-i f-i-caret-right'})));
|
|
@@ -5687,7 +5711,7 @@ var script$I = {
|
|
|
5687
5711
|
if (this.x.quickCloseButton) {
|
|
5688
5712
|
let closeAllDisabled = !this.buttons.find(c => c.props.closable);
|
|
5689
5713
|
if (this.buttons.length) {
|
|
5690
|
-
gut.push(h(script$
|
|
5714
|
+
gut.push(h(script$Z, {
|
|
5691
5715
|
ref: 'quickCloseButton',
|
|
5692
5716
|
data: {isQuickCloseButton: true},
|
|
5693
5717
|
showDropIcon: false,
|
|
@@ -5696,7 +5720,7 @@ var script$I = {
|
|
|
5696
5720
|
onDropClose: this.onMouseleave
|
|
5697
5721
|
}, {
|
|
5698
5722
|
default: () => [
|
|
5699
|
-
h(script$
|
|
5723
|
+
h(script$Z, {text: '关闭全部标签', onClick: this.closeAll, disabled: closeAllDisabled})
|
|
5700
5724
|
]
|
|
5701
5725
|
}));
|
|
5702
5726
|
}
|
|
@@ -5803,7 +5827,7 @@ script$I.__file = "src/widgets/TabBar.vue";
|
|
|
5803
5827
|
var script$H = {
|
|
5804
5828
|
name: 'w-tabbutton',
|
|
5805
5829
|
pubParentName: 'w-tabbar',
|
|
5806
|
-
mixins: [script$
|
|
5830
|
+
mixins: [script$Z],
|
|
5807
5831
|
methods: {
|
|
5808
5832
|
vis() {
|
|
5809
5833
|
let add = [20, 20];
|
|
@@ -5827,7 +5851,7 @@ script$H.__file = "src/widgets/TabButton.vue";
|
|
|
5827
5851
|
|
|
5828
5852
|
var script$G = {
|
|
5829
5853
|
name: 'w-tabs',
|
|
5830
|
-
mixins: [script$
|
|
5854
|
+
mixins: [script$1d],
|
|
5831
5855
|
props: ['current', 'position', 'gap', 'face', 'quickCloseButton', 'flexSize'],
|
|
5832
5856
|
emits: ['click:quickCloseButton'],
|
|
5833
5857
|
methods: {
|
|
@@ -5894,7 +5918,7 @@ script$F.__file = "src/widgets/Tab.vue";
|
|
|
5894
5918
|
|
|
5895
5919
|
var script$E = {
|
|
5896
5920
|
name: 'w-album',
|
|
5897
|
-
mixins: [script$
|
|
5921
|
+
mixins: [script$1a, script$T],
|
|
5898
5922
|
methods: {
|
|
5899
5923
|
x_default() {
|
|
5900
5924
|
return {
|
|
@@ -5915,7 +5939,7 @@ script$E.__file = "src/widgets/Album.vue";
|
|
|
5915
5939
|
|
|
5916
5940
|
var script$D = {
|
|
5917
5941
|
name: 'w-html',
|
|
5918
|
-
mixins: [script$
|
|
5942
|
+
mixins: [script$1d, script$1b],
|
|
5919
5943
|
props: ['line'],
|
|
5920
5944
|
computed: {
|
|
5921
5945
|
html_props() {
|
|
@@ -5938,7 +5962,7 @@ script$D.__file = "src/widgets/Html.vue";
|
|
|
5938
5962
|
|
|
5939
5963
|
var script$C = {
|
|
5940
5964
|
name: 'w-tree',
|
|
5941
|
-
mixins: [script$
|
|
5965
|
+
mixins: [script$1c, script$T, script$1j],
|
|
5942
5966
|
emits: ['click:item'],
|
|
5943
5967
|
provide() {
|
|
5944
5968
|
return {
|
|
@@ -6006,7 +6030,7 @@ script$C.__file = "src/widgets/Tree.vue";
|
|
|
6006
6030
|
|
|
6007
6031
|
var script$B = {
|
|
6008
6032
|
name: 'w-label',
|
|
6009
|
-
mixins: [script$
|
|
6033
|
+
mixins: [script$1d, script$1b],
|
|
6010
6034
|
props: ['text', 'suffix', 'vertical'],
|
|
6011
6035
|
methods: {
|
|
6012
6036
|
html_slots() {
|
|
@@ -6031,7 +6055,7 @@ var script$B = {
|
|
|
6031
6055
|
script$B.__file = "src/widgets/Label.vue";
|
|
6032
6056
|
|
|
6033
6057
|
var script$A = {
|
|
6034
|
-
mixins: [script$
|
|
6058
|
+
mixins: [script$1d, script$1b],
|
|
6035
6059
|
props: ['name', 'value', 'modelValue', 'placeholder', 'label', 'readonly', 'readonlyValidate', 'disabled', 'required',
|
|
6036
6060
|
'validateDefault', 'validateHandler', 'inputWidth', 'inputHeight' ],
|
|
6037
6061
|
emits: ['update:modelValue', 'change', 'blur', 'focus'],
|
|
@@ -6625,7 +6649,7 @@ var script$z = {
|
|
|
6625
6649
|
}, this.html_input())
|
|
6626
6650
|
},
|
|
6627
6651
|
html_target() {
|
|
6628
|
-
return this.$slots.default ? h(script$
|
|
6652
|
+
return this.$slots.default ? h(script$1a, {
|
|
6629
6653
|
class: this.$options.name + '-target',
|
|
6630
6654
|
ref: 'target'
|
|
6631
6655
|
}, this.$slots) : []
|
|
@@ -6801,7 +6825,7 @@ script$y.__file = "src/widgets/TripleBox.vue";
|
|
|
6801
6825
|
var script$x = {
|
|
6802
6826
|
name: 'w-leaf',
|
|
6803
6827
|
pubParentName: 'w-tree',
|
|
6804
|
-
mixins: [script$
|
|
6828
|
+
mixins: [script$1d, script$1j],
|
|
6805
6829
|
props: ['text', 'expanded', 'expandedIcon', 'collapsedIcon', 'icon', 'boxSync', 'src', 'disabled'],
|
|
6806
6830
|
inject: ['providePubParent', 'provideLevel', 'provideParentLeaf', 'provideParentTR'],
|
|
6807
6831
|
provide() {
|
|
@@ -6901,7 +6925,7 @@ var script$x = {
|
|
|
6901
6925
|
let ico = this.isFolder() ? (exp ? this.x.expandedIcon : this.x.collapsedIcon) : this.x.icon;
|
|
6902
6926
|
return h('div', mergeProps(this.html_attrs, this.html_props, this.$attrs), [
|
|
6903
6927
|
this.loading ?
|
|
6904
|
-
h(script
|
|
6928
|
+
h(script$10, {
|
|
6905
6929
|
src: '#f-svg-loading',
|
|
6906
6930
|
class: 'w-leaf-loading'
|
|
6907
6931
|
}) :
|
|
@@ -6913,7 +6937,7 @@ var script$x = {
|
|
|
6913
6937
|
}
|
|
6914
6938
|
}),
|
|
6915
6939
|
this.$slots.box && this.$slots.box(),
|
|
6916
|
-
ico && h(script
|
|
6940
|
+
ico && h(script$10, {
|
|
6917
6941
|
src: ico,
|
|
6918
6942
|
class: 'w-leaf-icon'
|
|
6919
6943
|
}),
|
|
@@ -7058,13 +7082,13 @@ var script$w = {
|
|
|
7058
7082
|
this.html_face_normal()
|
|
7059
7083
|
},
|
|
7060
7084
|
html_buttons() {
|
|
7061
|
-
return [h(script$
|
|
7085
|
+
return [h(script$Z, {
|
|
7062
7086
|
class: 'w-pagebar-button w-pagebar-prev',
|
|
7063
7087
|
icon: '.f-i .f-i-angle-left',
|
|
7064
7088
|
disabled: this.currentPage == 1,
|
|
7065
7089
|
title: $$1.loc.page_text.prev,
|
|
7066
7090
|
onclick: e => this.clickItem(e, this.currentPage - 1)
|
|
7067
|
-
}), h(script$
|
|
7091
|
+
}), h(script$Z, {
|
|
7068
7092
|
class: 'w-pagebar-button w-pagebar-next',
|
|
7069
7093
|
icon: '.f-i .f-i-angle-right',
|
|
7070
7094
|
disabled: this.currentPage == this.sumPage,
|
|
@@ -7075,7 +7099,7 @@ var script$w = {
|
|
|
7075
7099
|
html_drop() {
|
|
7076
7100
|
let s = [];
|
|
7077
7101
|
if (this.x.buttonCount) {
|
|
7078
|
-
s.push(h(script$
|
|
7102
|
+
s.push(h(script$Z, {
|
|
7079
7103
|
class: 'w-pagebar-button w-pagebar-button-count w-pagebar-prev',
|
|
7080
7104
|
ref: 'drop',
|
|
7081
7105
|
text: this.currentPage + '/' + this.sumPage,
|
|
@@ -7084,7 +7108,7 @@ var script$w = {
|
|
|
7084
7108
|
}
|
|
7085
7109
|
if (this.showDrop) {
|
|
7086
7110
|
let b = [];
|
|
7087
|
-
for (let i = 1, sp = this.sumPage; i <= sp; i ++) b.push(h(script$
|
|
7111
|
+
for (let i = 1, sp = this.sumPage; i <= sp; i ++) b.push(h(script$Z, {text: i, onClick: e => this.clickItem(e, i)}));
|
|
7088
7112
|
s.push(h(script$Y, {snap: () => this.$refs.drop, position: 'v', indent: 1, onClose: () => this.showDrop = false}, {default: () => b}));
|
|
7089
7113
|
}
|
|
7090
7114
|
return s
|
|
@@ -7187,7 +7211,7 @@ script$w.__file = "src/widgets/PageBar.vue";
|
|
|
7187
7211
|
|
|
7188
7212
|
var script$v = {
|
|
7189
7213
|
name: 'w-split',
|
|
7190
|
-
mixins: [script$
|
|
7214
|
+
mixins: [script$1d],
|
|
7191
7215
|
props: ['collapsedIcon', 'expandedIcon', 'movable', 'range', 'toNext', 'expanded'],
|
|
7192
7216
|
inject: ['provideLayout'],
|
|
7193
7217
|
created() {
|
|
@@ -7288,7 +7312,7 @@ script$v.__file = "src/widgets/Split.vue";
|
|
|
7288
7312
|
|
|
7289
7313
|
var script$u = {
|
|
7290
7314
|
name: 'w-toggle',
|
|
7291
|
-
mixins: [script$
|
|
7315
|
+
mixins: [script$1d, script$1b],
|
|
7292
7316
|
props: ['collapsedIcon', 'expandedIcon', 'expanded', 'align', 'valign'],
|
|
7293
7317
|
methods: {
|
|
7294
7318
|
x_default() {
|
|
@@ -7305,7 +7329,7 @@ var script$u = {
|
|
|
7305
7329
|
html_slots() {
|
|
7306
7330
|
let exp = this.x.expanded;
|
|
7307
7331
|
let ico = exp ? this.x.expandedIcon : this.x.collapsedIcon;
|
|
7308
|
-
return [ico && h(script
|
|
7332
|
+
return [ico && h(script$10, {
|
|
7309
7333
|
src: ico,
|
|
7310
7334
|
class: 'w-toggle-icon',
|
|
7311
7335
|
}), h('div', {class: 'w-toggle-main'}, this.$slots.default())]
|
|
@@ -7336,7 +7360,7 @@ script$u.__file = "src/widgets/Toggle.vue";
|
|
|
7336
7360
|
|
|
7337
7361
|
var script$t = {
|
|
7338
7362
|
name: 'w-video',
|
|
7339
|
-
mixins: [script$
|
|
7363
|
+
mixins: [script$1d],
|
|
7340
7364
|
props: ['src', 'poster'],
|
|
7341
7365
|
data() {
|
|
7342
7366
|
return {
|
|
@@ -7388,7 +7412,7 @@ script$t.__file = "src/widgets/Video.vue";
|
|
|
7388
7412
|
|
|
7389
7413
|
var script$s = {
|
|
7390
7414
|
name: 'w-progress',
|
|
7391
|
-
mixins: [script$
|
|
7415
|
+
mixins: [script$1d],
|
|
7392
7416
|
props: ['percent', 'range', 'text'],
|
|
7393
7417
|
methods: {
|
|
7394
7418
|
html_slots() {
|
|
@@ -7433,7 +7457,7 @@ script$s.__file = "src/widgets/Progress.vue";
|
|
|
7433
7457
|
|
|
7434
7458
|
var script$r = {
|
|
7435
7459
|
name: 'w-calendar',
|
|
7436
|
-
mixins: [script$
|
|
7460
|
+
mixins: [script$1d],
|
|
7437
7461
|
emits: ['click:item', 'change'],
|
|
7438
7462
|
props: ['value', 'minValue', 'maxValue', 'current', 'pad', 'face', 'format', 'success', 'cg', 'start',
|
|
7439
7463
|
'enableHour', 'enableMinute', 'enableSecond', 'defaultHour', 'defaultMinute', 'defaultSecond'
|
|
@@ -8179,7 +8203,7 @@ script$r.__file = "src/widgets/Calendar.vue";
|
|
|
8179
8203
|
|
|
8180
8204
|
var script$q = {
|
|
8181
8205
|
name: 'w-timeline',
|
|
8182
|
-
mixins: [script$
|
|
8206
|
+
mixins: [script$1c, script$T],
|
|
8183
8207
|
props: ['face', 'vertical'],
|
|
8184
8208
|
methods: {
|
|
8185
8209
|
indent() {
|
|
@@ -8312,7 +8336,7 @@ script$q.__file = "src/widgets/Timeline.vue";
|
|
|
8312
8336
|
var script$p = {
|
|
8313
8337
|
name: 'w-timeline-item',
|
|
8314
8338
|
pubParentName: 'w-timeline',
|
|
8315
|
-
mixins: [script$
|
|
8339
|
+
mixins: [script$1d],
|
|
8316
8340
|
inject: ['providePubParent'],
|
|
8317
8341
|
props: ['position', 'index'],
|
|
8318
8342
|
methods: {
|
|
@@ -8349,7 +8373,7 @@ script$p.__file = "src/widgets/TimelineItem.vue";
|
|
|
8349
8373
|
|
|
8350
8374
|
var script$o = {
|
|
8351
8375
|
name: 'w-slidepicker',
|
|
8352
|
-
mixins: [script$
|
|
8376
|
+
mixins: [script$1d],
|
|
8353
8377
|
provide() {
|
|
8354
8378
|
return {
|
|
8355
8379
|
provideOptionParent: this,
|
|
@@ -9570,8 +9594,8 @@ const suffixHooks = {
|
|
|
9570
9594
|
gap: 10,
|
|
9571
9595
|
}, {
|
|
9572
9596
|
default: () => [
|
|
9573
|
-
this.$slots.button ? this.$slots.button(
|
|
9574
|
-
h(script$
|
|
9597
|
+
this.$slots.button ? this.$slots.button(this) :
|
|
9598
|
+
h(script$Z, {
|
|
9575
9599
|
text: '选择文件',
|
|
9576
9600
|
icon: '.f-i .f-i-upload',
|
|
9577
9601
|
class: 'w-fileupload-button',
|
|
@@ -9865,7 +9889,7 @@ var script$e = {
|
|
|
9865
9889
|
class: 'w-fileupload-bbr'
|
|
9866
9890
|
}, {
|
|
9867
9891
|
default: () => [
|
|
9868
|
-
this.$slots.button ? this.$slots.button(
|
|
9892
|
+
this.$slots.button ? this.$slots.button(this) : h(script$Z, {
|
|
9869
9893
|
ref: 'uploadbutton',
|
|
9870
9894
|
title: $$1.loc.form.choose_image,
|
|
9871
9895
|
icon: '.f-i .f-i-plus',
|
|
@@ -9926,7 +9950,7 @@ script$d.__file = "src/widgets/ImageUpload.vue";
|
|
|
9926
9950
|
|
|
9927
9951
|
var script$c = {
|
|
9928
9952
|
name: 'w-option',
|
|
9929
|
-
mixins: [script$
|
|
9953
|
+
mixins: [script$1d],
|
|
9930
9954
|
props: ['value', 'text', 'disabled'],
|
|
9931
9955
|
inject: ['provideOptionParent'],
|
|
9932
9956
|
methods: {
|
|
@@ -10336,7 +10360,7 @@ var script$a = {
|
|
|
10336
10360
|
onClose: this.onclose
|
|
10337
10361
|
};
|
|
10338
10362
|
if (this.x.dropProps) dropProps = mergeProps(dropProps, this.x.dropProps);
|
|
10339
|
-
r.push(h(script$
|
|
10363
|
+
r.push(h(script$17, dropProps, {
|
|
10340
10364
|
default: () => h(script$r, {
|
|
10341
10365
|
height: '*',
|
|
10342
10366
|
pad: true,
|
|
@@ -10496,7 +10520,7 @@ var script$9 = {
|
|
|
10496
10520
|
onClose: () => this.showDrop = false
|
|
10497
10521
|
};
|
|
10498
10522
|
if (this.x.dropProps) dropProps = mergeProps(dropProps, this.x.dropProps);
|
|
10499
|
-
r.push(h(script$
|
|
10523
|
+
r.push(h(script$17, dropProps, {default: () => h(script$19, {height: '*', scrollY: true, scrollView: '.z-on'}, this.$slots)}));
|
|
10500
10524
|
}
|
|
10501
10525
|
return r
|
|
10502
10526
|
},
|
|
@@ -10895,7 +10919,7 @@ var script$5 = {
|
|
|
10895
10919
|
onClose: () => this.showSuggest = false
|
|
10896
10920
|
};
|
|
10897
10921
|
if (this.x.dropProps) dropProps = mergeProps(dropProps, this.x.dropProps);
|
|
10898
|
-
r.push(h(script$
|
|
10922
|
+
r.push(h(script$17, dropProps, {default: () => h(script$19, {height: '*', scrollY: true}, this.$slots)}));
|
|
10899
10923
|
}
|
|
10900
10924
|
return [
|
|
10901
10925
|
this.html_input_hidden(),
|
|
@@ -11351,7 +11375,7 @@ var script$4 = {
|
|
|
11351
11375
|
onClose: () => this.showSuggest = false
|
|
11352
11376
|
};
|
|
11353
11377
|
if (this.x.dropProps) dropProps = mergeProps(dropProps, this.x.dropProps);
|
|
11354
|
-
r.push(h(script$
|
|
11378
|
+
r.push(h(script$17, dropProps, {default: () => h(script$19, {height: '*', scrollY: true}, this.$slots)}));
|
|
11355
11379
|
}
|
|
11356
11380
|
return [
|
|
11357
11381
|
this.html_input_hidden(),
|
|
@@ -11774,7 +11798,7 @@ var script = {
|
|
|
11774
11798
|
this.x.modelValue = this.x.cancelable && this.x.modelValue == i ? '' : i;
|
|
11775
11799
|
},
|
|
11776
11800
|
html_star(i) {
|
|
11777
|
-
return h(script
|
|
11801
|
+
return h(script$10, {
|
|
11778
11802
|
class: ['w-rate-star-icon', {'z-hv': this.hoverWrap && i <= this.hoverIndex, 'z-on': !this.hoverWrap && i <= this.x.modelValue}],
|
|
11779
11803
|
src: '.f-i .f-i-star-full',
|
|
11780
11804
|
onMouseenter: e => this.hoverItem(e, i),
|
|
@@ -11818,9 +11842,9 @@ var script = {
|
|
|
11818
11842
|
script.__file = "src/widgets/Rate.vue";
|
|
11819
11843
|
|
|
11820
11844
|
const components = [
|
|
11821
|
-
script$
|
|
11822
|
-
script$M, script$
|
|
11823
|
-
script$E, script
|
|
11845
|
+
script$1e, script$18, script$17, script$15, script$13, script$11, script$Y, script$X,
|
|
11846
|
+
script$M, script$19, script$1a, script$W, script$V, script$U, script$Q, script$R, script$P, script$O, script$N, script$K, script$L, script$G, script$F,
|
|
11847
|
+
script$E, script$10, script$J, script$Z, script$_, script$D, script$C, script$x, script$w, script$v, script$u, script$t, script$s, script$r, script$q, script$p, script$o,
|
|
11824
11848
|
script$B, script$n, script$m, script$l, script$k, script$z, script$j, script$i, script$y, script$h, script$g, script$e, script$d, script$c,
|
|
11825
11849
|
script$b, script$a, script$9, script$8, script$7, script$6, script$5, script$4, script$2, script$1, script
|
|
11826
11850
|
];
|