dfish-widget 1.0.135 → 1.1.0
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/lib/index.esm.js +190 -187
- package/lib/index.esm.js.map +1 -1
- package/package.json +1 -1
package/lib/index.esm.js
CHANGED
|
@@ -1853,7 +1853,7 @@ function directive(Vue) {
|
|
|
1853
1853
|
|
|
1854
1854
|
const bindCache = {};
|
|
1855
1855
|
|
|
1856
|
-
var script$
|
|
1856
|
+
var script$1p = {
|
|
1857
1857
|
props: ['data', 'width', 'height', 'colspan', 'rowspan', 'ownproperty', 'orientUid'],
|
|
1858
1858
|
data() {
|
|
1859
1859
|
return {
|
|
@@ -2115,9 +2115,9 @@ const bindCache = {};
|
|
|
2115
2115
|
}
|
|
2116
2116
|
};
|
|
2117
2117
|
|
|
2118
|
-
script$
|
|
2118
|
+
script$1p.__file = "src/widgets/WidgetAbs.vue";
|
|
2119
2119
|
|
|
2120
|
-
var script$
|
|
2120
|
+
var script$1o = {
|
|
2121
2121
|
props: ['src', 'children', 'parentItem'],
|
|
2122
2122
|
data() {
|
|
2123
2123
|
return {
|
|
@@ -2151,11 +2151,11 @@ var script$1p = {
|
|
|
2151
2151
|
}
|
|
2152
2152
|
};
|
|
2153
2153
|
|
|
2154
|
-
script$
|
|
2154
|
+
script$1o.__file = "src/widgets/SrcParent.vue";
|
|
2155
2155
|
|
|
2156
|
-
var script$
|
|
2156
|
+
var script$1n = {
|
|
2157
2157
|
name: 'w-view',
|
|
2158
|
-
mixins: [script$
|
|
2158
|
+
mixins: [script$1o],
|
|
2159
2159
|
provide() {
|
|
2160
2160
|
return {
|
|
2161
2161
|
provideView: this
|
|
@@ -2367,9 +2367,9 @@ var script$1o = {
|
|
|
2367
2367
|
}
|
|
2368
2368
|
};
|
|
2369
2369
|
|
|
2370
|
-
script$
|
|
2370
|
+
script$1n.__file = "src/widgets/ViewAbs.vue";
|
|
2371
2371
|
|
|
2372
|
-
var script$
|
|
2372
|
+
var script$1m = {
|
|
2373
2373
|
name: 'w-svg-loading'
|
|
2374
2374
|
};
|
|
2375
2375
|
|
|
@@ -2399,10 +2399,10 @@ function render$8(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2399
2399
|
return (openBlock(), createElementBlock("svg", _hoisted_1$b, _hoisted_6$3))
|
|
2400
2400
|
}
|
|
2401
2401
|
|
|
2402
|
-
script$
|
|
2403
|
-
script$
|
|
2402
|
+
script$1m.render = render$8;
|
|
2403
|
+
script$1m.__file = "src/assets/SVGIcon.vue";
|
|
2404
2404
|
|
|
2405
|
-
var script$
|
|
2405
|
+
var script$1l = {
|
|
2406
2406
|
props: ['data'],
|
|
2407
2407
|
data() {
|
|
2408
2408
|
return {
|
|
@@ -2521,10 +2521,10 @@ function render$7(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2521
2521
|
}))
|
|
2522
2522
|
}
|
|
2523
2523
|
|
|
2524
|
-
script$
|
|
2525
|
-
script$
|
|
2524
|
+
script$1l.render = render$7;
|
|
2525
|
+
script$1l.__file = "src/template/TemplatePreviewMedia.vue";
|
|
2526
2526
|
|
|
2527
|
-
var script$
|
|
2527
|
+
var script$1k = {
|
|
2528
2528
|
props: ['data'],
|
|
2529
2529
|
data() {
|
|
2530
2530
|
let f = this.data.format || 'yyyy-MM-dd';
|
|
@@ -3025,12 +3025,12 @@ function render$6(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3025
3025
|
}))
|
|
3026
3026
|
}
|
|
3027
3027
|
|
|
3028
|
-
script$
|
|
3029
|
-
script$
|
|
3028
|
+
script$1k.render = render$6;
|
|
3029
|
+
script$1k.__file = "src/template/TemplateDateSheet.vue";
|
|
3030
3030
|
|
|
3031
|
-
var script$
|
|
3031
|
+
var script$1j = {
|
|
3032
3032
|
name: 'w-docview',
|
|
3033
|
-
mixins: [script$
|
|
3033
|
+
mixins: [script$1p, script$1n],
|
|
3034
3034
|
provide() {
|
|
3035
3035
|
return {
|
|
3036
3036
|
providePubParent: null,
|
|
@@ -3053,15 +3053,15 @@ var script$1k = {
|
|
|
3053
3053
|
return null
|
|
3054
3054
|
},
|
|
3055
3055
|
previewVideo(src) {
|
|
3056
|
-
this.pop(script$
|
|
3056
|
+
this.pop(script$1l, {data: {type: 'video', src}});
|
|
3057
3057
|
},
|
|
3058
3058
|
previewImage(imgs, options) {
|
|
3059
|
-
this.pop(script$
|
|
3059
|
+
this.pop(script$1l, {data: {type: 'image', imgs, options}});
|
|
3060
3060
|
},
|
|
3061
3061
|
//dateOptions: {value, format, minValue, maxValue, success}
|
|
3062
3062
|
dateSheet(dateOptions, dialogOptions) {
|
|
3063
|
-
this.pop(script$
|
|
3064
|
-
template: script$
|
|
3063
|
+
this.pop(script$1k, {
|
|
3064
|
+
template: script$1k,
|
|
3065
3065
|
width: '100%',
|
|
3066
3066
|
height: '55%',
|
|
3067
3067
|
position: 'b',
|
|
@@ -3077,20 +3077,20 @@ var script$1k = {
|
|
|
3077
3077
|
return [
|
|
3078
3078
|
this.$slots.default && this.$slots.default(),
|
|
3079
3079
|
this.html_pops(),
|
|
3080
|
-
h(script$
|
|
3080
|
+
h(script$1m),
|
|
3081
3081
|
]
|
|
3082
3082
|
}
|
|
3083
3083
|
}
|
|
3084
3084
|
};
|
|
3085
3085
|
|
|
3086
|
-
script$
|
|
3086
|
+
script$1j.__file = "src/widgets/DocView.vue";
|
|
3087
3087
|
|
|
3088
|
-
var script$
|
|
3089
|
-
mixins: [script$
|
|
3088
|
+
var script$1i = {
|
|
3089
|
+
mixins: [script$1p],
|
|
3090
3090
|
inject: ['provideView']
|
|
3091
3091
|
};
|
|
3092
3092
|
|
|
3093
|
-
script$
|
|
3093
|
+
script$1i.__file = "src/widgets/WidgetBase.vue";
|
|
3094
3094
|
|
|
3095
3095
|
const onScroll = function(e) {
|
|
3096
3096
|
if (this.wScrollPercentX) {
|
|
@@ -3131,10 +3131,10 @@ const onScroll = function(e) {
|
|
|
3131
3131
|
}, dnEv);
|
|
3132
3132
|
};
|
|
3133
3133
|
|
|
3134
|
-
var script$
|
|
3135
|
-
mixins: [script$
|
|
3134
|
+
var script$1h = {
|
|
3135
|
+
mixins: [script$1i],
|
|
3136
3136
|
props: ['scrollX', 'scrollY', 'scrollView', 'scrollFlex'],
|
|
3137
|
-
emits: ['scroll'],
|
|
3137
|
+
emits: ['scroll', 'resize'],
|
|
3138
3138
|
data() {
|
|
3139
3139
|
return {
|
|
3140
3140
|
wScrollPercentX: false,
|
|
@@ -3362,6 +3362,10 @@ const onScroll = function(e) {
|
|
|
3362
3362
|
this.wScrollSizeY = this.wScrollPercentY = false;
|
|
3363
3363
|
}
|
|
3364
3364
|
},
|
|
3365
|
+
scroll_observe_overflow(ob) {
|
|
3366
|
+
this.$emit('resize');
|
|
3367
|
+
this.scroll_observe(ob);
|
|
3368
|
+
},
|
|
3365
3369
|
scroll_observe(ob) {
|
|
3366
3370
|
if (this.isDeactivated) return
|
|
3367
3371
|
this.initScroll();
|
|
@@ -3400,7 +3404,7 @@ const onScroll = function(e) {
|
|
|
3400
3404
|
}
|
|
3401
3405
|
//在PC端生成滚动条。移动端不生成
|
|
3402
3406
|
if ($$1.br.mobile || !(this.hasScrollX || this.hasScrollY)) return
|
|
3403
|
-
this.$refs.wScrollOverflow && new ResizeObserver$1(this.
|
|
3407
|
+
this.$refs.wScrollOverflow && new ResizeObserver$1(this.scroll_observe_overflow).observe(this.$refs.wScrollOverflow);
|
|
3404
3408
|
this.$refs.wScrollCont && new ResizeObserver$1(this.scroll_observe).observe(this.$refs.wScrollCont);
|
|
3405
3409
|
this.el() && new MutationObserver(this.onScrollAttributeChange).observe(this.el(), {attributes: true});
|
|
3406
3410
|
},
|
|
@@ -3420,9 +3424,9 @@ const onScroll = function(e) {
|
|
|
3420
3424
|
}
|
|
3421
3425
|
};
|
|
3422
3426
|
|
|
3423
|
-
script$
|
|
3427
|
+
script$1h.__file = "src/widgets/Scroll.vue";
|
|
3424
3428
|
|
|
3425
|
-
var script$
|
|
3429
|
+
var script$1g = {
|
|
3426
3430
|
props: ['align', 'valign', 'gap'],
|
|
3427
3431
|
computed: {
|
|
3428
3432
|
dir() {
|
|
@@ -3437,11 +3441,11 @@ var script$1h = {
|
|
|
3437
3441
|
}
|
|
3438
3442
|
};
|
|
3439
3443
|
|
|
3440
|
-
script$
|
|
3444
|
+
script$1g.__file = "src/widgets/AlignParent.vue";
|
|
3441
3445
|
|
|
3442
|
-
var script$
|
|
3446
|
+
var script$1f = {
|
|
3443
3447
|
name: 'w-horizontal',
|
|
3444
|
-
mixins: [script$
|
|
3448
|
+
mixins: [script$1h, script$1g],
|
|
3445
3449
|
props: ['br', 'reverse'],
|
|
3446
3450
|
provide() {
|
|
3447
3451
|
return {
|
|
@@ -3493,11 +3497,11 @@ var script$1g = {
|
|
|
3493
3497
|
}
|
|
3494
3498
|
};
|
|
3495
3499
|
|
|
3496
|
-
script$
|
|
3500
|
+
script$1f.__file = "src/widgets/Horizontal.vue";
|
|
3497
3501
|
|
|
3498
|
-
var script$
|
|
3502
|
+
var script$1e = {
|
|
3499
3503
|
name: 'w-vertical',
|
|
3500
|
-
mixins: [script$
|
|
3504
|
+
mixins: [script$1f],
|
|
3501
3505
|
computed: {
|
|
3502
3506
|
dir() {
|
|
3503
3507
|
return 'v'
|
|
@@ -3505,11 +3509,11 @@ var script$1f = {
|
|
|
3505
3509
|
}
|
|
3506
3510
|
};
|
|
3507
3511
|
|
|
3508
|
-
script$
|
|
3512
|
+
script$1e.__file = "src/widgets/Vertical.vue";
|
|
3509
3513
|
|
|
3510
|
-
var script$
|
|
3514
|
+
var script$1d = {
|
|
3511
3515
|
name: 'w-view',
|
|
3512
|
-
mixins: [script$
|
|
3516
|
+
mixins: [script$1e, script$1n],
|
|
3513
3517
|
inject: ['provideView'],
|
|
3514
3518
|
methods: {
|
|
3515
3519
|
html_slots() {
|
|
@@ -3526,9 +3530,9 @@ var script$1e = {
|
|
|
3526
3530
|
}
|
|
3527
3531
|
};
|
|
3528
3532
|
|
|
3529
|
-
script$
|
|
3533
|
+
script$1d.__file = "src/widgets/View.vue";
|
|
3530
3534
|
|
|
3531
|
-
var script$
|
|
3535
|
+
var script$1c = {
|
|
3532
3536
|
__name: 'DialogTarget',
|
|
3533
3537
|
setup(__props) {
|
|
3534
3538
|
|
|
@@ -3543,7 +3547,7 @@ return (_ctx, _cache) => {
|
|
|
3543
3547
|
|
|
3544
3548
|
};
|
|
3545
3549
|
|
|
3546
|
-
script$
|
|
3550
|
+
script$1c.__file = "src/widgets/DialogTarget.vue";
|
|
3547
3551
|
|
|
3548
3552
|
const O = {},
|
|
3549
3553
|
T = true,
|
|
@@ -3560,9 +3564,9 @@ const O = {},
|
|
|
3560
3564
|
return typeof a === 'string' && a.split(',').map(v => positionCodes[v] || v).join()
|
|
3561
3565
|
};
|
|
3562
3566
|
|
|
3563
|
-
var script$
|
|
3567
|
+
var script$1b = {
|
|
3564
3568
|
name: 'w-dialog',
|
|
3565
|
-
mixins: [script$
|
|
3569
|
+
mixins: [script$1d],
|
|
3566
3570
|
props: ['title', 'autoHide', 'context', 'prong', 'independent', 'timeout', 'cover', 'coverProps',
|
|
3567
3571
|
'position', 'snap', 'indent', 'offsetRange', 'local', 'fullScreen', 'hoverShowDrop', 'visible',
|
|
3568
3572
|
...boundary
|
|
@@ -3834,7 +3838,7 @@ const O = {},
|
|
|
3834
3838
|
}
|
|
3835
3839
|
let s = [cover, this.html_self(true)];
|
|
3836
3840
|
let r = to ? h(Teleport, {to}, s) : s;
|
|
3837
|
-
return this.slotTarget ? [r, h(script$
|
|
3841
|
+
return this.slotTarget ? [r, h(script$1c, null, {default: () => [this.slotTarget()]})] : r
|
|
3838
3842
|
}
|
|
3839
3843
|
},
|
|
3840
3844
|
computed: {
|
|
@@ -3954,12 +3958,12 @@ const O = {},
|
|
|
3954
3958
|
}
|
|
3955
3959
|
};
|
|
3956
3960
|
|
|
3957
|
-
script$
|
|
3961
|
+
script$1b.__file = "src/widgets/Dialog.vue";
|
|
3958
3962
|
|
|
3959
3963
|
const _hoisted_1$9 = /*#__PURE__*/createElementVNode("i", { class: "w-alert-close-icon f-i f-i-close" }, null, -1 /* HOISTED */);
|
|
3960
3964
|
|
|
3961
3965
|
|
|
3962
|
-
var script$
|
|
3966
|
+
var script$1a = {
|
|
3963
3967
|
__name: 'TemplateAlert',
|
|
3964
3968
|
props: ['text', 'escape', 'title', 'icon', 'showButton'],
|
|
3965
3969
|
emits: ['save', 'close'],
|
|
@@ -4092,11 +4096,11 @@ return (_ctx, _cache) => {
|
|
|
4092
4096
|
|
|
4093
4097
|
};
|
|
4094
4098
|
|
|
4095
|
-
script$
|
|
4099
|
+
script$1a.__file = "src/template/TemplateAlert.vue";
|
|
4096
4100
|
|
|
4097
|
-
var script$
|
|
4101
|
+
var script$19 = {
|
|
4098
4102
|
name: 'w-alert',
|
|
4099
|
-
mixins: [script$
|
|
4103
|
+
mixins: [script$1b],
|
|
4100
4104
|
props: ['text', 'title', 'escape', 'yes', 'no', 'showButton'],
|
|
4101
4105
|
methods: {
|
|
4102
4106
|
x_default() {
|
|
@@ -4126,7 +4130,7 @@ var script$1a = {
|
|
|
4126
4130
|
},
|
|
4127
4131
|
html_slots_default() {
|
|
4128
4132
|
return h(
|
|
4129
|
-
script$
|
|
4133
|
+
script$1a,
|
|
4130
4134
|
{
|
|
4131
4135
|
text: this.x.text,
|
|
4132
4136
|
title: this.x.title,
|
|
@@ -4142,12 +4146,12 @@ var script$1a = {
|
|
|
4142
4146
|
}
|
|
4143
4147
|
};
|
|
4144
4148
|
|
|
4145
|
-
script$
|
|
4149
|
+
script$19.__file = "src/widgets/Alert.vue";
|
|
4146
4150
|
|
|
4147
4151
|
const _hoisted_1$8 = /*#__PURE__*/createElementVNode("i", { class: "w-alert-close-icon f-i f-i-close" }, null, -1 /* HOISTED */);
|
|
4148
4152
|
|
|
4149
4153
|
|
|
4150
|
-
var script$
|
|
4154
|
+
var script$18 = {
|
|
4151
4155
|
__name: 'TemplateConfirm',
|
|
4152
4156
|
props: ['text', 'escape', 'title', 'icon', 'showButton'],
|
|
4153
4157
|
emits: ['save', 'close'],
|
|
@@ -4287,11 +4291,11 @@ return (_ctx, _cache) => {
|
|
|
4287
4291
|
|
|
4288
4292
|
};
|
|
4289
4293
|
|
|
4290
|
-
script$
|
|
4294
|
+
script$18.__file = "src/template/TemplateConfirm.vue";
|
|
4291
4295
|
|
|
4292
|
-
var script$
|
|
4296
|
+
var script$17 = {
|
|
4293
4297
|
name: 'w-confirm',
|
|
4294
|
-
mixins: [script$
|
|
4298
|
+
mixins: [script$1b],
|
|
4295
4299
|
props: ['text', 'title', 'escape', 'yes', 'no', 'showButton'],
|
|
4296
4300
|
methods: {
|
|
4297
4301
|
x_default() {
|
|
@@ -4321,7 +4325,7 @@ var script$18 = {
|
|
|
4321
4325
|
},
|
|
4322
4326
|
html_slots_default() {
|
|
4323
4327
|
return h(
|
|
4324
|
-
script$
|
|
4328
|
+
script$18,
|
|
4325
4329
|
{
|
|
4326
4330
|
text: this.x.text,
|
|
4327
4331
|
title: this.x.title,
|
|
@@ -4337,7 +4341,7 @@ var script$18 = {
|
|
|
4337
4341
|
}
|
|
4338
4342
|
};
|
|
4339
4343
|
|
|
4340
|
-
script$
|
|
4344
|
+
script$17.__file = "src/widgets/Confirm.vue";
|
|
4341
4345
|
|
|
4342
4346
|
const _hoisted_1$7 = { class: "w-tip-body" };
|
|
4343
4347
|
const _hoisted_2$7 = {
|
|
@@ -4347,7 +4351,7 @@ const _hoisted_2$7 = {
|
|
|
4347
4351
|
const _hoisted_3$5 = ["innerHTML"];
|
|
4348
4352
|
|
|
4349
4353
|
|
|
4350
|
-
var script$
|
|
4354
|
+
var script$16 = {
|
|
4351
4355
|
__name: 'TemplateTip',
|
|
4352
4356
|
props: ['text', 'escape'],
|
|
4353
4357
|
setup(__props) {
|
|
@@ -4371,7 +4375,7 @@ return (_ctx, _cache) => {
|
|
|
4371
4375
|
|
|
4372
4376
|
};
|
|
4373
4377
|
|
|
4374
|
-
script$
|
|
4378
|
+
script$16.__file = "src/template/TemplateTip.vue";
|
|
4375
4379
|
|
|
4376
4380
|
let inst$1 = null;
|
|
4377
4381
|
let tipCache = {
|
|
@@ -4379,9 +4383,9 @@ let inst$1 = null;
|
|
|
4379
4383
|
list: []
|
|
4380
4384
|
};
|
|
4381
4385
|
|
|
4382
|
-
var script$
|
|
4386
|
+
var script$15 = {
|
|
4383
4387
|
name: 'w-tip',
|
|
4384
|
-
mixins: [script$
|
|
4388
|
+
mixins: [script$1b],
|
|
4385
4389
|
props: ['face', 'text', 'escape'],
|
|
4386
4390
|
provide() {
|
|
4387
4391
|
return {
|
|
@@ -4399,7 +4403,7 @@ let inst$1 = null;
|
|
|
4399
4403
|
},
|
|
4400
4404
|
// implement
|
|
4401
4405
|
html_slots_default() {
|
|
4402
|
-
return h(script$
|
|
4406
|
+
return h(script$16, {text: this.x.text, escape: this.x.escape}, this.$slots)
|
|
4403
4407
|
},
|
|
4404
4408
|
// implement
|
|
4405
4409
|
setVisibleSub(a) {
|
|
@@ -4443,12 +4447,12 @@ let inst$1 = null;
|
|
|
4443
4447
|
}
|
|
4444
4448
|
};
|
|
4445
4449
|
|
|
4446
|
-
script$
|
|
4450
|
+
script$15.__file = "src/widgets/Tip.vue";
|
|
4447
4451
|
|
|
4448
|
-
var script$
|
|
4452
|
+
var script$14 = {
|
|
4449
4453
|
name: 'w-img',
|
|
4450
4454
|
pubParentName: 'w-album',
|
|
4451
|
-
mixins: [script$
|
|
4455
|
+
mixins: [script$1i],
|
|
4452
4456
|
inject: ['providePubParent'],
|
|
4453
4457
|
props: ['src', 'text', 'square', 'imgWidth', 'imgHeight', 'dataUrl', 'vertical', 'disabled'],
|
|
4454
4458
|
data() {
|
|
@@ -4494,7 +4498,7 @@ var script$15 = {
|
|
|
4494
4498
|
class: 'w-img-cover f-abs-full'
|
|
4495
4499
|
}, this.$slots.cover())
|
|
4496
4500
|
]),
|
|
4497
|
-
cont && h(script$
|
|
4501
|
+
cont && h(script$1e, {
|
|
4498
4502
|
class: 'w-img-description'
|
|
4499
4503
|
}, cont)
|
|
4500
4504
|
]
|
|
@@ -4528,11 +4532,11 @@ var script$15 = {
|
|
|
4528
4532
|
}
|
|
4529
4533
|
};
|
|
4530
4534
|
|
|
4531
|
-
script$
|
|
4535
|
+
script$14.__file = "src/widgets/Img.vue";
|
|
4532
4536
|
|
|
4533
|
-
var script$
|
|
4537
|
+
var script$13 = {
|
|
4534
4538
|
pubParentName: 'w-buttonbar',
|
|
4535
|
-
mixins: [script$
|
|
4539
|
+
mixins: [script$1i],
|
|
4536
4540
|
props: ['text', 'icon', 'focusIcon', 'dropIcon', 'focusDropIcon', 'arrowIcon', 'face', 'target', 'closable', 'dropToggle', 'loading', 'disabled', 'vertical', 'hoverShowDrop', 'dropProps', 'showArrowIcon'],
|
|
4537
4541
|
inject: ['providePubParent', 'provideMenu_w'],
|
|
4538
4542
|
emits: ['click:close', 'dropClose'],
|
|
@@ -4628,7 +4632,7 @@ var script$14 = {
|
|
|
4628
4632
|
if (this.x.loading) {
|
|
4629
4633
|
r.push(h('div', {
|
|
4630
4634
|
class: 'w-button-loading f-abs-full f-flex-center'
|
|
4631
|
-
}, h(script$
|
|
4635
|
+
}, h(script$14, {
|
|
4632
4636
|
src: '#f-svg-loading'
|
|
4633
4637
|
})));
|
|
4634
4638
|
}
|
|
@@ -4646,7 +4650,7 @@ var script$14 = {
|
|
|
4646
4650
|
}, h('span', {class: 'w-button-text-line f-line-1', title: title || ''}, t)));
|
|
4647
4651
|
}
|
|
4648
4652
|
if (this.isMore && this.x.showArrowIcon) {
|
|
4649
|
-
r.push(h(script$
|
|
4653
|
+
r.push(h(script$14, {
|
|
4650
4654
|
class: 'w-button-more f-flex-center f-height',
|
|
4651
4655
|
src: this.x.arrowIcon || '.f-i .f-i-caret-down'
|
|
4652
4656
|
}));
|
|
@@ -4664,7 +4668,7 @@ var script$14 = {
|
|
|
4664
4668
|
class: 'w-button-main f-oh f-height',
|
|
4665
4669
|
...(this.isCombo && !this.isDisabled && this.mouses),
|
|
4666
4670
|
}, r),
|
|
4667
|
-
this.isCombo && h(script$
|
|
4671
|
+
this.isCombo && h(script$14, {
|
|
4668
4672
|
class: 'w-button-drop f-flex-center f-height',
|
|
4669
4673
|
src: '.f-i .f-i-caret-down',
|
|
4670
4674
|
...(!this.isDisabled && this.mouses),
|
|
@@ -4715,11 +4719,11 @@ var script$14 = {
|
|
|
4715
4719
|
}
|
|
4716
4720
|
};
|
|
4717
4721
|
|
|
4718
|
-
script$
|
|
4722
|
+
script$13.__file = "src/widgets/ButtonAbs.vue";
|
|
4719
4723
|
|
|
4720
|
-
var script$
|
|
4724
|
+
var script$12 = {
|
|
4721
4725
|
name: 'w-menubutton',
|
|
4722
|
-
mixins: [script$
|
|
4726
|
+
mixins: [script$13],
|
|
4723
4727
|
methods: {
|
|
4724
4728
|
ajax(...args) {
|
|
4725
4729
|
return this.parentMenu.rootCommander.ajax(...args)
|
|
@@ -4782,7 +4786,7 @@ var script$13 = {
|
|
|
4782
4786
|
onclick: this.clickClose
|
|
4783
4787
|
})));
|
|
4784
4788
|
}
|
|
4785
|
-
r.push(h(script$
|
|
4789
|
+
r.push(h(script$14, {
|
|
4786
4790
|
class: 'w-menubutton-drop f-flex-center f-height',
|
|
4787
4791
|
src: this.isMore ? (this.x.arrowIcon || '.f-i .f-i-caret-right') : ''
|
|
4788
4792
|
}));
|
|
@@ -4834,11 +4838,11 @@ var script$13 = {
|
|
|
4834
4838
|
},
|
|
4835
4839
|
};
|
|
4836
4840
|
|
|
4837
|
-
script$
|
|
4841
|
+
script$12.__file = "src/widgets/MenuButton.vue";
|
|
4838
4842
|
|
|
4839
|
-
var script$
|
|
4843
|
+
var script$11 = {
|
|
4840
4844
|
name: 'w-button',
|
|
4841
|
-
mixins: [script$
|
|
4845
|
+
mixins: [script$13],
|
|
4842
4846
|
props: ['autoMenuButton'],
|
|
4843
4847
|
methods: {
|
|
4844
4848
|
x_default() {
|
|
@@ -4850,14 +4854,14 @@ var script$12 = {
|
|
|
4850
4854
|
},
|
|
4851
4855
|
render() {
|
|
4852
4856
|
if (this.provideMenu_w && this.x.autoMenuButton) {
|
|
4853
|
-
return h(script$
|
|
4857
|
+
return h(script$12, this.$props, this.$slots)
|
|
4854
4858
|
} else {
|
|
4855
4859
|
return this.html()
|
|
4856
4860
|
}
|
|
4857
4861
|
}
|
|
4858
4862
|
};
|
|
4859
4863
|
|
|
4860
|
-
script$
|
|
4864
|
+
script$11.__file = "src/widgets/Button.vue";
|
|
4861
4865
|
|
|
4862
4866
|
let inst = null;
|
|
4863
4867
|
|
|
@@ -4872,9 +4876,9 @@ let inst = null;
|
|
|
4872
4876
|
return inst && (ctx.hasBubble(inst.context) || inst.hasBubble(ctx))
|
|
4873
4877
|
}
|
|
4874
4878
|
|
|
4875
|
-
var script$
|
|
4879
|
+
var script$10 = {
|
|
4876
4880
|
name: 'w-menu',
|
|
4877
|
-
mixins: [script$
|
|
4881
|
+
mixins: [script$1b],
|
|
4878
4882
|
provide() {
|
|
4879
4883
|
return {
|
|
4880
4884
|
provideMenu_w: this
|
|
@@ -4950,7 +4954,7 @@ let inst = null;
|
|
|
4950
4954
|
}, h('i', {
|
|
4951
4955
|
class: 'f-i f-i-caret-up'
|
|
4952
4956
|
})),
|
|
4953
|
-
h(script$
|
|
4957
|
+
h(script$1e, {
|
|
4954
4958
|
class: 'w-menu-bbr',
|
|
4955
4959
|
height: '*',
|
|
4956
4960
|
ref: 'bbr',
|
|
@@ -5005,11 +5009,11 @@ let inst = null;
|
|
|
5005
5009
|
}
|
|
5006
5010
|
};
|
|
5007
5011
|
|
|
5008
|
-
script$
|
|
5012
|
+
script$10.__file = "src/widgets/Menu.vue";
|
|
5009
5013
|
|
|
5010
|
-
var script
|
|
5014
|
+
var script$$ = {
|
|
5011
5015
|
name: 'w-loading',
|
|
5012
|
-
mixins: [script$
|
|
5016
|
+
mixins: [script$1b],
|
|
5013
5017
|
props: ['text', 'icon'],
|
|
5014
5018
|
methods: {
|
|
5015
5019
|
x_default() {
|
|
@@ -5018,7 +5022,7 @@ var script$10 = {
|
|
|
5018
5022
|
}
|
|
5019
5023
|
},
|
|
5020
5024
|
html_slots() {
|
|
5021
|
-
return h(script$
|
|
5025
|
+
return h(script$14, {
|
|
5022
5026
|
src: this.x.icon !== undefined ? this.x.icon : '#f-svg-loading',
|
|
5023
5027
|
text: this.x.text !== undefined ? this.x.text : $$1.loc.loading
|
|
5024
5028
|
})
|
|
@@ -5031,11 +5035,11 @@ var script$10 = {
|
|
|
5031
5035
|
}
|
|
5032
5036
|
};
|
|
5033
5037
|
|
|
5034
|
-
script
|
|
5038
|
+
script$$.__file = "src/widgets/Loading.vue";
|
|
5035
5039
|
|
|
5036
|
-
var script
|
|
5040
|
+
var script$_ = {
|
|
5037
5041
|
name: 'w-table',
|
|
5038
|
-
mixins: [script$
|
|
5042
|
+
mixins: [script$1i],
|
|
5039
5043
|
props: ['face', 'scroll-x', 'scroll-y'],
|
|
5040
5044
|
provide() {
|
|
5041
5045
|
return {
|
|
@@ -5153,22 +5157,22 @@ var script$$ = {
|
|
|
5153
5157
|
}
|
|
5154
5158
|
};
|
|
5155
5159
|
|
|
5156
|
-
script
|
|
5160
|
+
script$_.__file = "src/widgets/Table.vue";
|
|
5157
5161
|
|
|
5158
|
-
var script$
|
|
5162
|
+
var script$Z = {
|
|
5159
5163
|
name: 'w-columns'
|
|
5160
5164
|
};
|
|
5161
5165
|
|
|
5162
|
-
script$
|
|
5166
|
+
script$Z.__file = "src/widgets/TableColumns.vue";
|
|
5163
5167
|
|
|
5164
|
-
var script$
|
|
5168
|
+
var script$Y = {
|
|
5165
5169
|
name: 'w-column',
|
|
5166
5170
|
props: ['width', 'minWidth'],
|
|
5167
5171
|
};
|
|
5168
5172
|
|
|
5169
|
-
script$
|
|
5173
|
+
script$Y.__file = "src/widgets/TableColumn.vue";
|
|
5170
5174
|
|
|
5171
|
-
var script$
|
|
5175
|
+
var script$X = {
|
|
5172
5176
|
props: ['pub', 'current'],
|
|
5173
5177
|
provide() {
|
|
5174
5178
|
return {
|
|
@@ -5199,21 +5203,21 @@ var script$Y = {
|
|
|
5199
5203
|
}
|
|
5200
5204
|
};
|
|
5201
5205
|
|
|
5202
|
-
script$
|
|
5206
|
+
script$X.__file = "src/widgets/PubParent.vue";
|
|
5203
5207
|
|
|
5204
5208
|
function render$5(_ctx, _cache) {
|
|
5205
5209
|
return renderSlot(_ctx.$slots, "default")
|
|
5206
5210
|
}
|
|
5207
5211
|
|
|
5208
|
-
const script$
|
|
5212
|
+
const script$W = {};
|
|
5209
5213
|
|
|
5210
5214
|
|
|
5211
|
-
script$
|
|
5212
|
-
script$
|
|
5215
|
+
script$W.render = render$5;
|
|
5216
|
+
script$W.__file = "src/widgets/SlotDefault.vue";
|
|
5213
5217
|
|
|
5214
|
-
var script$
|
|
5218
|
+
var script$V = {
|
|
5215
5219
|
name: 'w-thead',
|
|
5216
|
-
mixins: [script$
|
|
5220
|
+
mixins: [script$1i, script$X],
|
|
5217
5221
|
props: ['br', 'sort'],
|
|
5218
5222
|
inject: ['_provideTable'],
|
|
5219
5223
|
provide() {
|
|
@@ -5250,7 +5254,7 @@ var script$W = {
|
|
|
5250
5254
|
return t
|
|
5251
5255
|
});
|
|
5252
5256
|
if (key) {
|
|
5253
|
-
return h(script$
|
|
5257
|
+
return h(script$W, {key}, {default: () => row})
|
|
5254
5258
|
} else {
|
|
5255
5259
|
return row
|
|
5256
5260
|
}
|
|
@@ -5306,11 +5310,11 @@ var script$W = {
|
|
|
5306
5310
|
}
|
|
5307
5311
|
};
|
|
5308
5312
|
|
|
5309
|
-
script$
|
|
5313
|
+
script$V.__file = "src/widgets/TableTHead.vue";
|
|
5310
5314
|
|
|
5311
|
-
var script$
|
|
5315
|
+
var script$U = {
|
|
5312
5316
|
name: 'w-tbody',
|
|
5313
|
-
mixins: [script$
|
|
5317
|
+
mixins: [script$V, script$1h],
|
|
5314
5318
|
inject: ['_provideTable'],
|
|
5315
5319
|
props: ['children'],
|
|
5316
5320
|
provide() {
|
|
@@ -5378,12 +5382,12 @@ var script$V = {
|
|
|
5378
5382
|
}
|
|
5379
5383
|
};
|
|
5380
5384
|
|
|
5381
|
-
script$
|
|
5385
|
+
script$U.__file = "src/widgets/TableTBody.vue";
|
|
5382
5386
|
|
|
5383
|
-
var script$
|
|
5387
|
+
var script$T = {
|
|
5384
5388
|
name: 'w-tr',
|
|
5385
5389
|
pubParentName: 'w-tbody,w-thead',
|
|
5386
|
-
mixins: [script$
|
|
5390
|
+
mixins: [script$1i, script$1o],
|
|
5387
5391
|
props: ['rowIndex', 'expanded', 'children'],
|
|
5388
5392
|
inject: ['_provideTable', 'providePubParent', 'provideInBody', '_provideTBody', 'provideLevel', 'provideParentTR'],
|
|
5389
5393
|
provide() {
|
|
@@ -5467,7 +5471,7 @@ var script$U = {
|
|
|
5467
5471
|
}
|
|
5468
5472
|
}
|
|
5469
5473
|
if (key) {
|
|
5470
|
-
return h(script$
|
|
5474
|
+
return h(script$W, {key}, {default: () => row})
|
|
5471
5475
|
} else {
|
|
5472
5476
|
return row
|
|
5473
5477
|
}
|
|
@@ -5511,9 +5515,9 @@ var script$U = {
|
|
|
5511
5515
|
|
|
5512
5516
|
};
|
|
5513
5517
|
|
|
5514
|
-
script$
|
|
5518
|
+
script$T.__file = "src/widgets/TableTR.vue";
|
|
5515
5519
|
|
|
5516
|
-
var script$
|
|
5520
|
+
var script$S = {
|
|
5517
5521
|
name: 'w-td',
|
|
5518
5522
|
props: ['colspan', 'rowspan', 'align', 'valign', 'data'],
|
|
5519
5523
|
inject: ['_provideTable', 'provideInBody'],
|
|
@@ -5550,11 +5554,11 @@ var script$T = {
|
|
|
5550
5554
|
}
|
|
5551
5555
|
};
|
|
5552
5556
|
|
|
5553
|
-
script$
|
|
5557
|
+
script$S.__file = "src/widgets/TableTD.vue";
|
|
5554
5558
|
|
|
5555
|
-
var script$
|
|
5559
|
+
var script$R = {
|
|
5556
5560
|
name: 'w-th',
|
|
5557
|
-
mixins: [script$
|
|
5561
|
+
mixins: [script$S, script$1i],
|
|
5558
5562
|
props: ['sortable', 'sortOrders', 'sortOrderDefault'],
|
|
5559
5563
|
inject: ['_provideThead'],
|
|
5560
5564
|
emits: ['click:sort'],
|
|
@@ -5589,7 +5593,7 @@ var script$S = {
|
|
|
5589
5593
|
this.$emit('click:sort', e, o);
|
|
5590
5594
|
},
|
|
5591
5595
|
html_slots() {
|
|
5592
|
-
return h(script$
|
|
5596
|
+
return h(script$1f, {class: 'w-th-wrap', valign: 'middle', align: this.align || this.col.align}, {default: () => [
|
|
5593
5597
|
h('div', {class: 'w-th-title'}, this.$slots),
|
|
5594
5598
|
this.x.sortable ? h('div', {class: 'w-th-sort f-flex-column f-flex-center f-oh'}, [
|
|
5595
5599
|
h('i', {class: 'f-i f-i-caret-up f-oh w-th-sort-up', onClick: e => this.clickSort(e, 'asc')}),
|
|
@@ -5614,19 +5618,7 @@ var script$S = {
|
|
|
5614
5618
|
}
|
|
5615
5619
|
};
|
|
5616
5620
|
|
|
5617
|
-
script$
|
|
5618
|
-
|
|
5619
|
-
var script$R = {
|
|
5620
|
-
mixins: [script$1f],
|
|
5621
|
-
emits: ['scroll'],
|
|
5622
|
-
methods: {
|
|
5623
|
-
onScroll(e) {
|
|
5624
|
-
this.$emit('scroll', e);
|
|
5625
|
-
},
|
|
5626
|
-
}
|
|
5627
|
-
};
|
|
5628
|
-
|
|
5629
|
-
script$R.__file = "src/widgets/TreeV2Wrap.vue";
|
|
5621
|
+
script$R.__file = "src/widgets/TableTH.vue";
|
|
5630
5622
|
|
|
5631
5623
|
const _hoisted_1$6 = { class: "'w-table-v2-th-text f-line-1" };
|
|
5632
5624
|
const _hoisted_2$6 = { class: "w-tree-loading w-table-v2-loading" };
|
|
@@ -5802,6 +5794,10 @@ const props = __props;
|
|
|
5802
5794
|
if (scrollTop.value !== e.target.scrollTop)
|
|
5803
5795
|
scrollTop.value = e.target.scrollTop;
|
|
5804
5796
|
};
|
|
5797
|
+
|
|
5798
|
+
const onResize = () => {
|
|
5799
|
+
initShowCount();
|
|
5800
|
+
};
|
|
5805
5801
|
|
|
5806
5802
|
// 树形数据扁平化
|
|
5807
5803
|
const toFlat = (children, parent) => {
|
|
@@ -5987,13 +5983,14 @@ return (_ctx, _cache) => {
|
|
|
5987
5983
|
]),
|
|
5988
5984
|
_: 1 /* STABLE */
|
|
5989
5985
|
}, 8 /* PROPS */, ["style"]),
|
|
5990
|
-
createVNode(
|
|
5986
|
+
createVNode(_component_w_vertical, {
|
|
5991
5987
|
ref_key: "wrap",
|
|
5992
5988
|
ref: wrap,
|
|
5993
5989
|
height: "*",
|
|
5994
5990
|
class: "w-table-v2-tbody",
|
|
5995
5991
|
"scroll-y": true,
|
|
5996
|
-
onScroll: onScroll
|
|
5992
|
+
onScroll: onScroll,
|
|
5993
|
+
onResize: onResize
|
|
5997
5994
|
}, {
|
|
5998
5995
|
default: withCtx(() => [
|
|
5999
5996
|
(unref(loading))
|
|
@@ -6082,7 +6079,7 @@ script$Q.__file = "src/widgets/TableV2.vue";
|
|
|
6082
6079
|
|
|
6083
6080
|
var script$P = {
|
|
6084
6081
|
name: 'w-grid',
|
|
6085
|
-
mixins: [script$
|
|
6082
|
+
mixins: [script$1h],
|
|
6086
6083
|
props: ['columns', 'rows', 'gap', 'defaultColspan', 'face', 'labelWidth'],
|
|
6087
6084
|
methods: {
|
|
6088
6085
|
x_default() {
|
|
@@ -6131,7 +6128,7 @@ var script$O = {
|
|
|
6131
6128
|
name: 'w-swiper-item',
|
|
6132
6129
|
pubParentName: 'w-swiper',
|
|
6133
6130
|
inject: ['providePubParent'],
|
|
6134
|
-
mixins: [script$
|
|
6131
|
+
mixins: [script$1i],
|
|
6135
6132
|
props: ['lazy'],
|
|
6136
6133
|
data() {
|
|
6137
6134
|
return {
|
|
@@ -6168,7 +6165,7 @@ script$O.__file = "src/widgets/SwiperItem.vue";
|
|
|
6168
6165
|
|
|
6169
6166
|
var script$N = {
|
|
6170
6167
|
name: 'w-swiper',
|
|
6171
|
-
mixins: [script$
|
|
6168
|
+
mixins: [script$1i, script$X],
|
|
6172
6169
|
props: ['arrow', 'indicatorDots', 'duration'],
|
|
6173
6170
|
data() {
|
|
6174
6171
|
return {
|
|
@@ -6263,7 +6260,7 @@ script$N.__file = "src/widgets/Swiper.vue";
|
|
|
6263
6260
|
|
|
6264
6261
|
var script$M = {
|
|
6265
6262
|
name: 'w-buttonbar',
|
|
6266
|
-
mixins: [script$
|
|
6263
|
+
mixins: [script$1f, script$X],
|
|
6267
6264
|
props: ['vertical'],
|
|
6268
6265
|
emits: ['click:item'],
|
|
6269
6266
|
methods: {
|
|
@@ -6376,7 +6373,7 @@ var script$L = {
|
|
|
6376
6373
|
},
|
|
6377
6374
|
html_slots() {
|
|
6378
6375
|
let group = h(TransitionGroup, {name: 'w-tabbar', onBeforeEnter: this.onBeforeEnter, onAfterEnter: this.onAfterEnter, onBeforeLeave: this.onBeforeLeave, onAfterLeave: this.onAfterLeave}, {default: () => this.buttons});
|
|
6379
|
-
let gut = [h(this.x.vertical ? script$
|
|
6376
|
+
let gut = [h(this.x.vertical ? script$1e : script$1f, {ref: 'gut', width: '*', class: 'w-tabbar-gut', gap: this.x.gap, align: this.x.align, valign: this.x.valign}, {default: () => group})];
|
|
6380
6377
|
if (this.$slots.append) {
|
|
6381
6378
|
gut.push(h('div', {ref: 'append', class: 'w-tabbar-append'}, this.slot('append')));
|
|
6382
6379
|
}
|
|
@@ -6387,7 +6384,7 @@ var script$L = {
|
|
|
6387
6384
|
if (this.x.quickCloseButton) {
|
|
6388
6385
|
let closeAllDisabled = !this.buttons.find(c => c.props.closable);
|
|
6389
6386
|
if (this.buttons.length) {
|
|
6390
|
-
gut.push(h(script$
|
|
6387
|
+
gut.push(h(script$11, {
|
|
6391
6388
|
ref: 'quickCloseButton',
|
|
6392
6389
|
data: {isQuickCloseButton: true},
|
|
6393
6390
|
showArrowIcon: false,
|
|
@@ -6507,7 +6504,7 @@ script$L.__file = "src/widgets/TabBar.vue";
|
|
|
6507
6504
|
var script$K = {
|
|
6508
6505
|
name: 'w-tabbutton',
|
|
6509
6506
|
pubParentName: 'w-tabbar',
|
|
6510
|
-
mixins: [script$
|
|
6507
|
+
mixins: [script$11],
|
|
6511
6508
|
methods: {
|
|
6512
6509
|
vis() {
|
|
6513
6510
|
let add = [20, 20];
|
|
@@ -6531,7 +6528,7 @@ script$K.__file = "src/widgets/TabButton.vue";
|
|
|
6531
6528
|
|
|
6532
6529
|
var script$J = {
|
|
6533
6530
|
name: 'w-tabs',
|
|
6534
|
-
mixins: [script$
|
|
6531
|
+
mixins: [script$1i],
|
|
6535
6532
|
props: ['current', 'position', 'gap', 'face', 'quickCloseButton', 'flexSize'],
|
|
6536
6533
|
emits: ['click:quickCloseButton'],
|
|
6537
6534
|
methods: {
|
|
@@ -6599,7 +6596,7 @@ script$I.__file = "src/widgets/Tab.vue";
|
|
|
6599
6596
|
|
|
6600
6597
|
var script$H = {
|
|
6601
6598
|
name: 'w-album',
|
|
6602
|
-
mixins: [script$
|
|
6599
|
+
mixins: [script$1f, script$X],
|
|
6603
6600
|
methods: {
|
|
6604
6601
|
x_default() {
|
|
6605
6602
|
return {
|
|
@@ -6620,7 +6617,7 @@ script$H.__file = "src/widgets/Album.vue";
|
|
|
6620
6617
|
|
|
6621
6618
|
var script$G = {
|
|
6622
6619
|
name: 'w-html',
|
|
6623
|
-
mixins: [script$
|
|
6620
|
+
mixins: [script$1i, script$1g],
|
|
6624
6621
|
props: ['line'],
|
|
6625
6622
|
computed: {
|
|
6626
6623
|
html_props() {
|
|
@@ -6643,7 +6640,7 @@ script$G.__file = "src/widgets/Html.vue";
|
|
|
6643
6640
|
|
|
6644
6641
|
var script$F = {
|
|
6645
6642
|
name: 'w-tree',
|
|
6646
|
-
mixins: [script$
|
|
6643
|
+
mixins: [script$1h, script$X, script$1o],
|
|
6647
6644
|
emits: ['click:item'],
|
|
6648
6645
|
provide() {
|
|
6649
6646
|
return {
|
|
@@ -6676,7 +6673,7 @@ var script$F = {
|
|
|
6676
6673
|
const sl = this.slot('loading');
|
|
6677
6674
|
r = sl && sl.length ? sl : h('div', {
|
|
6678
6675
|
class: 'w-tree-loading'
|
|
6679
|
-
}, h(script$
|
|
6676
|
+
}, h(script$14, {src: '#f-svg-loading-1', width: 28, height: 28}));
|
|
6680
6677
|
} else {
|
|
6681
6678
|
let chd = this.x.children;
|
|
6682
6679
|
if (this.$slots.default) {
|
|
@@ -6690,7 +6687,7 @@ var script$F = {
|
|
|
6690
6687
|
}
|
|
6691
6688
|
}
|
|
6692
6689
|
if (key) {
|
|
6693
|
-
return h(script$
|
|
6690
|
+
return h(script$W, {key}, {default: () => leaf})
|
|
6694
6691
|
} else {
|
|
6695
6692
|
return leaf
|
|
6696
6693
|
}
|
|
@@ -6876,6 +6873,10 @@ const props = __props;
|
|
|
6876
6873
|
if (scrollTop.value !== e.target.scrollTop)
|
|
6877
6874
|
scrollTop.value = e.target.scrollTop;
|
|
6878
6875
|
};
|
|
6876
|
+
|
|
6877
|
+
const onResize = () => {
|
|
6878
|
+
initShowCount();
|
|
6879
|
+
};
|
|
6879
6880
|
|
|
6880
6881
|
// 树形数据扁平化
|
|
6881
6882
|
const toFlat = (children, parent) => {
|
|
@@ -7012,7 +7013,7 @@ const props = __props;
|
|
|
7012
7013
|
};
|
|
7013
7014
|
|
|
7014
7015
|
onMounted(async () => {
|
|
7015
|
-
watch(() => root.value.wScrollSizeY, (
|
|
7016
|
+
watch(() => root.value.wScrollSizeY, (ro) => {
|
|
7016
7017
|
initShowCount();
|
|
7017
7018
|
}, {immediate: true});
|
|
7018
7019
|
watch(() => props.children, (children) => {
|
|
@@ -7037,13 +7038,15 @@ const props = __props;
|
|
|
7037
7038
|
|
|
7038
7039
|
return (_ctx, _cache) => {
|
|
7039
7040
|
const _component_w_img = resolveComponent("w-img");
|
|
7041
|
+
const _component_w_vertical = resolveComponent("w-vertical");
|
|
7040
7042
|
|
|
7041
|
-
return (openBlock(), createBlock(
|
|
7043
|
+
return (openBlock(), createBlock(_component_w_vertical, {
|
|
7042
7044
|
ref_key: "root",
|
|
7043
7045
|
ref: root,
|
|
7044
7046
|
class: "w-tree w-tree-v2",
|
|
7045
7047
|
"scroll-y": true,
|
|
7046
|
-
onScroll: onScroll
|
|
7048
|
+
onScroll: onScroll,
|
|
7049
|
+
onResize: onResize
|
|
7047
7050
|
}, {
|
|
7048
7051
|
default: withCtx(() => [
|
|
7049
7052
|
(unref(loading))
|
|
@@ -7109,7 +7112,7 @@ script$E.__file = "src/widgets/TreeV2.vue";
|
|
|
7109
7112
|
|
|
7110
7113
|
var script$D = {
|
|
7111
7114
|
name: 'w-label',
|
|
7112
|
-
mixins: [script$
|
|
7115
|
+
mixins: [script$1i, script$1g],
|
|
7113
7116
|
props: ['text', 'suffix', 'vertical'],
|
|
7114
7117
|
methods: {
|
|
7115
7118
|
html_slots() {
|
|
@@ -7134,7 +7137,7 @@ var script$D = {
|
|
|
7134
7137
|
script$D.__file = "src/widgets/Label.vue";
|
|
7135
7138
|
|
|
7136
7139
|
var script$C = {
|
|
7137
|
-
mixins: [script$
|
|
7140
|
+
mixins: [script$1i, script$1g],
|
|
7138
7141
|
props: ['name', 'value', 'modelValue', 'placeholder', 'label', 'readonly', 'readonlyValidate', 'disabled', 'required',
|
|
7139
7142
|
'validateDefault', 'validateHandler', 'inputWidth', 'inputHeight' ],
|
|
7140
7143
|
emits: ['update:modelValue', 'change', 'blur', 'focus'],
|
|
@@ -7771,7 +7774,7 @@ const {leafSymbol: leafSymbol$1,changeSymbol} = $$1.symbol;
|
|
|
7771
7774
|
}, this.html_input())
|
|
7772
7775
|
},
|
|
7773
7776
|
html_target() {
|
|
7774
|
-
return this.$slots.default ? h(script$
|
|
7777
|
+
return this.$slots.default ? h(script$1f, {
|
|
7775
7778
|
class: this.$options.name + '-target',
|
|
7776
7779
|
width: '*',
|
|
7777
7780
|
ref: 'target'
|
|
@@ -8028,7 +8031,7 @@ script$A.__file = "src/widgets/TripleBox.vue";
|
|
|
8028
8031
|
var script$z = {
|
|
8029
8032
|
name: 'w-leaf',
|
|
8030
8033
|
pubParentName: 'w-tree',
|
|
8031
|
-
mixins: [script$
|
|
8034
|
+
mixins: [script$1i, script$1o],
|
|
8032
8035
|
props: ['text', 'expanded', 'expandedIcon', 'collapsedIcon', 'icon', 'boxSync', 'src', 'disabled'],
|
|
8033
8036
|
inject: ['providePubParent', 'provideLevel', 'provideParentLeaf', 'provideParentTR'],
|
|
8034
8037
|
emits: ['click'],
|
|
@@ -8127,7 +8130,7 @@ var script$z = {
|
|
|
8127
8130
|
let ico = this.isFolder() ? (exp ? this.x.expandedIcon : this.x.collapsedIcon) : this.x.icon;
|
|
8128
8131
|
return h('div', mergeProps(this.html_attrs, this.html_props, this.$attrs), [
|
|
8129
8132
|
this.loading ?
|
|
8130
|
-
h(script$
|
|
8133
|
+
h(script$14, {
|
|
8131
8134
|
src: '#f-svg-loading',
|
|
8132
8135
|
class: 'w-leaf-loading'
|
|
8133
8136
|
}) :
|
|
@@ -8139,7 +8142,7 @@ var script$z = {
|
|
|
8139
8142
|
}
|
|
8140
8143
|
}),
|
|
8141
8144
|
this.$slots.box && this.$slots.box(),
|
|
8142
|
-
ico && h(script$
|
|
8145
|
+
ico && h(script$14, {
|
|
8143
8146
|
src: ico,
|
|
8144
8147
|
class: 'w-leaf-icon'
|
|
8145
8148
|
}),
|
|
@@ -8163,7 +8166,7 @@ var script$z = {
|
|
|
8163
8166
|
}
|
|
8164
8167
|
}
|
|
8165
8168
|
if (key) {
|
|
8166
|
-
return h(script$
|
|
8169
|
+
return h(script$W, {key}, {default: () => leaf})
|
|
8167
8170
|
} else {
|
|
8168
8171
|
return leaf
|
|
8169
8172
|
}
|
|
@@ -8278,13 +8281,13 @@ var script$y = {
|
|
|
8278
8281
|
this.html_face_normal()
|
|
8279
8282
|
},
|
|
8280
8283
|
html_buttons() {
|
|
8281
|
-
return [h(script$
|
|
8284
|
+
return [h(script$11, {
|
|
8282
8285
|
class: 'w-pagebar-button w-pagebar-prev',
|
|
8283
8286
|
icon: '.f-i .f-i-angle-left',
|
|
8284
8287
|
disabled: this.currentPage == 1,
|
|
8285
8288
|
title: $$1.loc.page_text.prev,
|
|
8286
8289
|
onclick: e => this.clickItem(e, this.currentPage - 1)
|
|
8287
|
-
}), h(script$
|
|
8290
|
+
}), h(script$11, {
|
|
8288
8291
|
class: 'w-pagebar-button w-pagebar-next',
|
|
8289
8292
|
icon: '.f-i .f-i-angle-right',
|
|
8290
8293
|
disabled: this.currentPage == this.sumPage,
|
|
@@ -8295,7 +8298,7 @@ var script$y = {
|
|
|
8295
8298
|
html_drop() {
|
|
8296
8299
|
let s = [];
|
|
8297
8300
|
if (this.x.buttonCount) {
|
|
8298
|
-
s.push(h(script$
|
|
8301
|
+
s.push(h(script$11, {
|
|
8299
8302
|
class: 'w-pagebar-button w-pagebar-button-count w-pagebar-prev',
|
|
8300
8303
|
ref: 'drop',
|
|
8301
8304
|
text: this.currentPage + '/' + this.sumPage,
|
|
@@ -8304,8 +8307,8 @@ var script$y = {
|
|
|
8304
8307
|
}
|
|
8305
8308
|
if (this.showDrop) {
|
|
8306
8309
|
let b = [];
|
|
8307
|
-
for (let i = 1, sp = this.sumPage; i <= sp; i ++) b.push(h(script$
|
|
8308
|
-
s.push(h(script$
|
|
8310
|
+
for (let i = 1, sp = this.sumPage; i <= sp; i ++) b.push(h(script$11, {text: i, onClick: e => this.clickItem(e, i)}));
|
|
8311
|
+
s.push(h(script$10, {snap: () => this.$refs.drop, position: 'v', indent: 1, onClose: () => this.showDrop = false}, {default: () => b}));
|
|
8309
8312
|
}
|
|
8310
8313
|
return s
|
|
8311
8314
|
},
|
|
@@ -8407,7 +8410,7 @@ script$y.__file = "src/widgets/PageBar.vue";
|
|
|
8407
8410
|
|
|
8408
8411
|
var script$x = {
|
|
8409
8412
|
name: 'w-split',
|
|
8410
|
-
mixins: [script$
|
|
8413
|
+
mixins: [script$1i],
|
|
8411
8414
|
props: ['collapsedIcon', 'expandedIcon', 'movable', 'range', 'toNext', 'expanded'],
|
|
8412
8415
|
inject: ['provideLayout'],
|
|
8413
8416
|
created() {
|
|
@@ -8508,7 +8511,7 @@ script$x.__file = "src/widgets/Split.vue";
|
|
|
8508
8511
|
|
|
8509
8512
|
var script$w = {
|
|
8510
8513
|
name: 'w-toggle',
|
|
8511
|
-
mixins: [script$
|
|
8514
|
+
mixins: [script$1i, script$1g],
|
|
8512
8515
|
props: ['collapsedIcon', 'expandedIcon', 'expanded', 'align', 'valign'],
|
|
8513
8516
|
methods: {
|
|
8514
8517
|
x_default() {
|
|
@@ -8525,7 +8528,7 @@ var script$w = {
|
|
|
8525
8528
|
html_slots() {
|
|
8526
8529
|
let exp = this.x.expanded;
|
|
8527
8530
|
let ico = exp ? this.x.expandedIcon : this.x.collapsedIcon;
|
|
8528
|
-
return [ico && h(script$
|
|
8531
|
+
return [ico && h(script$14, {
|
|
8529
8532
|
src: ico,
|
|
8530
8533
|
class: 'w-toggle-icon',
|
|
8531
8534
|
}), h('div', {class: 'w-toggle-main'}, this.$slots.default())]
|
|
@@ -8556,7 +8559,7 @@ script$w.__file = "src/widgets/Toggle.vue";
|
|
|
8556
8559
|
|
|
8557
8560
|
var script$v = {
|
|
8558
8561
|
name: 'w-video',
|
|
8559
|
-
mixins: [script$
|
|
8562
|
+
mixins: [script$1i],
|
|
8560
8563
|
props: ['src', 'poster'],
|
|
8561
8564
|
data() {
|
|
8562
8565
|
return {
|
|
@@ -8608,7 +8611,7 @@ script$v.__file = "src/widgets/Video.vue";
|
|
|
8608
8611
|
|
|
8609
8612
|
var script$u = {
|
|
8610
8613
|
name: 'w-progress',
|
|
8611
|
-
mixins: [script$
|
|
8614
|
+
mixins: [script$1i],
|
|
8612
8615
|
props: ['percent', 'range', 'text'],
|
|
8613
8616
|
methods: {
|
|
8614
8617
|
html_slots() {
|
|
@@ -8653,7 +8656,7 @@ script$u.__file = "src/widgets/Progress.vue";
|
|
|
8653
8656
|
|
|
8654
8657
|
var script$t = {
|
|
8655
8658
|
name: 'w-calendar',
|
|
8656
|
-
mixins: [script$
|
|
8659
|
+
mixins: [script$1i],
|
|
8657
8660
|
emits: ['click:item', 'change'],
|
|
8658
8661
|
props: ['value', 'minValue', 'maxValue', 'current', 'pad', 'face', 'format', 'success', 'cg', 'start',
|
|
8659
8662
|
'enableHour', 'enableMinute', 'enableSecond', 'defaultHour', 'defaultMinute', 'defaultSecond'
|
|
@@ -9425,7 +9428,7 @@ script$t.__file = "src/widgets/Calendar.vue";
|
|
|
9425
9428
|
|
|
9426
9429
|
var script$s = {
|
|
9427
9430
|
name: 'w-timeline',
|
|
9428
|
-
mixins: [script$
|
|
9431
|
+
mixins: [script$1h, script$X],
|
|
9429
9432
|
props: ['face', 'vertical'],
|
|
9430
9433
|
methods: {
|
|
9431
9434
|
indent() {
|
|
@@ -9583,7 +9586,7 @@ script$s.__file = "src/widgets/Timeline.vue";
|
|
|
9583
9586
|
var script$r = {
|
|
9584
9587
|
name: 'w-timeline-item',
|
|
9585
9588
|
pubParentName: 'w-timeline',
|
|
9586
|
-
mixins: [script$
|
|
9589
|
+
mixins: [script$1i],
|
|
9587
9590
|
inject: ['providePubParent'],
|
|
9588
9591
|
props: ['position', 'index', 'align', 'lineColor'],
|
|
9589
9592
|
watch: {
|
|
@@ -9626,7 +9629,7 @@ script$r.__file = "src/widgets/TimelineItem.vue";
|
|
|
9626
9629
|
|
|
9627
9630
|
var script$q = {
|
|
9628
9631
|
name: 'w-slidepicker',
|
|
9629
|
-
mixins: [script$
|
|
9632
|
+
mixins: [script$1i],
|
|
9630
9633
|
provide() {
|
|
9631
9634
|
return {
|
|
9632
9635
|
provideOptionParent: this,
|
|
@@ -9987,7 +9990,7 @@ var script$o = {
|
|
|
9987
9990
|
scrollY: true
|
|
9988
9991
|
};
|
|
9989
9992
|
dropProps = this.mergeDropProps(dropProps);
|
|
9990
|
-
r.push(h(script$
|
|
9993
|
+
r.push(h(script$1b, dropProps, this.$slots.suggest));
|
|
9991
9994
|
}
|
|
9992
9995
|
return r
|
|
9993
9996
|
}
|
|
@@ -10935,7 +10938,7 @@ const suffixHooks = {
|
|
|
10935
10938
|
onclick: e => this.remove(item)
|
|
10936
10939
|
})];
|
|
10937
10940
|
if (value && this.$slots.menu) {
|
|
10938
|
-
button.push(h(script$
|
|
10941
|
+
button.push(h(script$10, null, {
|
|
10939
10942
|
target: () => h('div', {
|
|
10940
10943
|
class: 'w-fileupload-value-menu f-i f-i-ellipsis',
|
|
10941
10944
|
title: $$1.loc.more,
|
|
@@ -10994,7 +10997,7 @@ const suffixHooks = {
|
|
|
10994
10997
|
}, {
|
|
10995
10998
|
default: () => [
|
|
10996
10999
|
this.$slots.button ? this.$slots.button(this) :
|
|
10997
|
-
h(script$
|
|
11000
|
+
h(script$11, {
|
|
10998
11001
|
text: '选择文件',
|
|
10999
11002
|
icon: '.f-i .f-i-upload',
|
|
11000
11003
|
class: 'w-fileupload-button',
|
|
@@ -11286,7 +11289,7 @@ var script$g = {
|
|
|
11286
11289
|
class: 'w-fileupload-bbr'
|
|
11287
11290
|
}, {
|
|
11288
11291
|
default: () => [
|
|
11289
|
-
this.$slots.button ? this.$slots.button(this) : h(script$
|
|
11292
|
+
this.$slots.button ? this.$slots.button(this) : h(script$11, {
|
|
11290
11293
|
ref: 'uploadbutton',
|
|
11291
11294
|
title: $$1.loc.form.choose_image,
|
|
11292
11295
|
icon: '.f-i .f-i-plus',
|
|
@@ -11304,7 +11307,7 @@ var script$g = {
|
|
|
11304
11307
|
])
|
|
11305
11308
|
},
|
|
11306
11309
|
html_input() {
|
|
11307
|
-
return this.html_input_form().concat(h(script$
|
|
11310
|
+
return this.html_input_form().concat(h(script$1f, {
|
|
11308
11311
|
width: '*',
|
|
11309
11312
|
class: 'w-mediaupload-list',
|
|
11310
11313
|
align: this.x.align,
|
|
@@ -11350,7 +11353,7 @@ script$f.__file = "src/widgets/ImageUpload.vue";
|
|
|
11350
11353
|
|
|
11351
11354
|
var script$e = {
|
|
11352
11355
|
name: 'w-option',
|
|
11353
|
-
mixins: [script$
|
|
11356
|
+
mixins: [script$1i],
|
|
11354
11357
|
props: ['value', 'text', 'disabled'],
|
|
11355
11358
|
inject: ['provideOptionParent'],
|
|
11356
11359
|
methods: {
|
|
@@ -11777,7 +11780,7 @@ var script$c = {
|
|
|
11777
11780
|
indent: 1
|
|
11778
11781
|
};
|
|
11779
11782
|
dropProps = this.mergeDropProps(dropProps);
|
|
11780
|
-
r.push(h(script$
|
|
11783
|
+
r.push(h(script$1b, dropProps, {
|
|
11781
11784
|
default: () => h(script$t, {
|
|
11782
11785
|
height: '*',
|
|
11783
11786
|
pad: true,
|
|
@@ -11965,7 +11968,7 @@ var script$b = {
|
|
|
11965
11968
|
scrollView: '.z-on'
|
|
11966
11969
|
};
|
|
11967
11970
|
dropProps = this.mergeDropProps(dropProps);
|
|
11968
|
-
r.push(h(script$
|
|
11971
|
+
r.push(h(script$1b, dropProps, this.$slots));
|
|
11969
11972
|
}
|
|
11970
11973
|
return r
|
|
11971
11974
|
},
|
|
@@ -12432,7 +12435,7 @@ var script$7 = {
|
|
|
12432
12435
|
scrollY: true
|
|
12433
12436
|
};
|
|
12434
12437
|
dropProps = this.mergeDropProps(dropProps);
|
|
12435
|
-
r.push(h(script$
|
|
12438
|
+
r.push(h(script$1b, dropProps, this.$slots));
|
|
12436
12439
|
}
|
|
12437
12440
|
return [
|
|
12438
12441
|
this.html_input_hidden(),
|
|
@@ -12905,7 +12908,7 @@ var script$6 = {
|
|
|
12905
12908
|
scrollY: true
|
|
12906
12909
|
};
|
|
12907
12910
|
dropProps = this.mergeDropProps(dropProps);
|
|
12908
|
-
r.push(h(script$
|
|
12911
|
+
r.push(h(script$1b, dropProps, this.$slots));
|
|
12909
12912
|
}
|
|
12910
12913
|
return [
|
|
12911
12914
|
this.html_input_hidden(),
|
|
@@ -13373,7 +13376,7 @@ var script$1 = {
|
|
|
13373
13376
|
this.x.modelValue = this.x.cancelable && this.x.modelValue == i ? '' : i;
|
|
13374
13377
|
},
|
|
13375
13378
|
html_star(i) {
|
|
13376
|
-
return h(script$
|
|
13379
|
+
return h(script$14, {
|
|
13377
13380
|
class: ['w-rate-star-icon', {'z-hv': this.hoverWrap && i <= this.hoverIndex, 'z-on': !this.hoverWrap && i <= this.x.modelValue}],
|
|
13378
13381
|
src: '.f-i .f-i-star-full',
|
|
13379
13382
|
onMouseenter: e => this.hoverItem(e, i),
|
|
@@ -13523,9 +13526,9 @@ script$1.__file = "src/widgets/Rate.vue";
|
|
|
13523
13526
|
script.__file = "src/widgets/Slider.vue";
|
|
13524
13527
|
|
|
13525
13528
|
const components = [
|
|
13526
|
-
script$
|
|
13527
|
-
script$P, script$
|
|
13528
|
-
script$H, script$
|
|
13529
|
+
script$1j, script$1d, script$1b, script$19, script$17, script$15, script$10, script$$,
|
|
13530
|
+
script$P, script$1e, script$1f, script$_, script$Z, script$Y, script$U, script$V, script$T, script$S, script$R, script$Q, script$N, script$O, script$J, script$I,
|
|
13531
|
+
script$H, script$14, script$M, script$11, script$12, script$G, script$F, script$z, script$E, script$y, script$x, script$w, script$v, script$u, script$t, script$s, script$r, script$q,
|
|
13529
13532
|
script$D, script$p, script$o, script$n, script$m, script$B, script$l, script$k, script$A, script$j, script$i, script$g, script$f, script$e,
|
|
13530
13533
|
script$d, script$c, script$b, script$a, script$9, script$8, script$7, script$6, script$4, script$3, script$2, script$1, script
|
|
13531
13534
|
];
|