dfish-widget 1.0.134 → 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 +202 -189
- 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'],
|
|
@@ -7682,10 +7685,13 @@ const {leafSymbol: leafSymbol$1,changeSymbol} = $$1.symbol;
|
|
|
7682
7685
|
if (!this.isNormal) return
|
|
7683
7686
|
this.val(a);
|
|
7684
7687
|
},
|
|
7688
|
+
siblingsContainer() {
|
|
7689
|
+
return this.ownerView.el()
|
|
7690
|
+
},
|
|
7685
7691
|
// @a -> T/F 是否只获取所有选中项, b -> 是否只选择可用的
|
|
7686
7692
|
siblings(a, b) {
|
|
7687
7693
|
return $$1.lodash.map($$1.q(':input[name="' + this.input_name + '"]:not([w-form-ignore] :input)' + (b ? ':not(:disabled)' : '') +
|
|
7688
|
-
(a === true ? ':checked' : a === false ? ':not(:checked)' : (a || '')), this.
|
|
7694
|
+
(a === true ? ':checked' : a === false ? ':not(:checked)' : (a || '')), this.siblingsContainer()), e => $$1(e))
|
|
7689
7695
|
},
|
|
7690
7696
|
relate() {
|
|
7691
7697
|
// implement
|
|
@@ -7768,7 +7774,7 @@ const {leafSymbol: leafSymbol$1,changeSymbol} = $$1.symbol;
|
|
|
7768
7774
|
}, this.html_input())
|
|
7769
7775
|
},
|
|
7770
7776
|
html_target() {
|
|
7771
|
-
return this.$slots.default ? h(script$
|
|
7777
|
+
return this.$slots.default ? h(script$1f, {
|
|
7772
7778
|
class: this.$options.name + '-target',
|
|
7773
7779
|
width: '*',
|
|
7774
7780
|
ref: 'target'
|
|
@@ -7931,7 +7937,7 @@ const {leafSymbol} = $$1.symbol;
|
|
|
7931
7937
|
this.x.modelValue = mv;
|
|
7932
7938
|
this.$emit('update:modelValue', mv);
|
|
7933
7939
|
if (!this.x.all) {
|
|
7934
|
-
this.parentTrigger(event,
|
|
7940
|
+
this.parentTrigger(event, this.groupFormVal());
|
|
7935
7941
|
}
|
|
7936
7942
|
},
|
|
7937
7943
|
formVal() {
|
|
@@ -7939,9 +7945,16 @@ const {leafSymbol} = $$1.symbol;
|
|
|
7939
7945
|
let s = this.checkstate();
|
|
7940
7946
|
return s == 1 || (this.x.partialSubmit && s == 2) ? this.$refs.v.value : ''
|
|
7941
7947
|
},
|
|
7948
|
+
siblingsContainer() {
|
|
7949
|
+
let c = this.provideTripleboxContainer;
|
|
7950
|
+
return (c && c.el()) || this.ownerView.el()
|
|
7951
|
+
},
|
|
7942
7952
|
parentTrigger(e, v) {
|
|
7943
7953
|
let c = this.provideTripleboxContainer;
|
|
7944
7954
|
let d = c && c.el();
|
|
7955
|
+
if (v) {
|
|
7956
|
+
v = v.split(',').sort().join(',');
|
|
7957
|
+
}
|
|
7945
7958
|
if (d && d.getAttribute('wTripleboxValue') != v) {
|
|
7946
7959
|
d.setAttribute('wTripleboxValue', v);
|
|
7947
7960
|
this.trigger(e, v);
|
|
@@ -8018,7 +8031,7 @@ script$A.__file = "src/widgets/TripleBox.vue";
|
|
|
8018
8031
|
var script$z = {
|
|
8019
8032
|
name: 'w-leaf',
|
|
8020
8033
|
pubParentName: 'w-tree',
|
|
8021
|
-
mixins: [script$
|
|
8034
|
+
mixins: [script$1i, script$1o],
|
|
8022
8035
|
props: ['text', 'expanded', 'expandedIcon', 'collapsedIcon', 'icon', 'boxSync', 'src', 'disabled'],
|
|
8023
8036
|
inject: ['providePubParent', 'provideLevel', 'provideParentLeaf', 'provideParentTR'],
|
|
8024
8037
|
emits: ['click'],
|
|
@@ -8117,7 +8130,7 @@ var script$z = {
|
|
|
8117
8130
|
let ico = this.isFolder() ? (exp ? this.x.expandedIcon : this.x.collapsedIcon) : this.x.icon;
|
|
8118
8131
|
return h('div', mergeProps(this.html_attrs, this.html_props, this.$attrs), [
|
|
8119
8132
|
this.loading ?
|
|
8120
|
-
h(script$
|
|
8133
|
+
h(script$14, {
|
|
8121
8134
|
src: '#f-svg-loading',
|
|
8122
8135
|
class: 'w-leaf-loading'
|
|
8123
8136
|
}) :
|
|
@@ -8129,7 +8142,7 @@ var script$z = {
|
|
|
8129
8142
|
}
|
|
8130
8143
|
}),
|
|
8131
8144
|
this.$slots.box && this.$slots.box(),
|
|
8132
|
-
ico && h(script$
|
|
8145
|
+
ico && h(script$14, {
|
|
8133
8146
|
src: ico,
|
|
8134
8147
|
class: 'w-leaf-icon'
|
|
8135
8148
|
}),
|
|
@@ -8153,7 +8166,7 @@ var script$z = {
|
|
|
8153
8166
|
}
|
|
8154
8167
|
}
|
|
8155
8168
|
if (key) {
|
|
8156
|
-
return h(script$
|
|
8169
|
+
return h(script$W, {key}, {default: () => leaf})
|
|
8157
8170
|
} else {
|
|
8158
8171
|
return leaf
|
|
8159
8172
|
}
|
|
@@ -8268,13 +8281,13 @@ var script$y = {
|
|
|
8268
8281
|
this.html_face_normal()
|
|
8269
8282
|
},
|
|
8270
8283
|
html_buttons() {
|
|
8271
|
-
return [h(script$
|
|
8284
|
+
return [h(script$11, {
|
|
8272
8285
|
class: 'w-pagebar-button w-pagebar-prev',
|
|
8273
8286
|
icon: '.f-i .f-i-angle-left',
|
|
8274
8287
|
disabled: this.currentPage == 1,
|
|
8275
8288
|
title: $$1.loc.page_text.prev,
|
|
8276
8289
|
onclick: e => this.clickItem(e, this.currentPage - 1)
|
|
8277
|
-
}), h(script$
|
|
8290
|
+
}), h(script$11, {
|
|
8278
8291
|
class: 'w-pagebar-button w-pagebar-next',
|
|
8279
8292
|
icon: '.f-i .f-i-angle-right',
|
|
8280
8293
|
disabled: this.currentPage == this.sumPage,
|
|
@@ -8285,7 +8298,7 @@ var script$y = {
|
|
|
8285
8298
|
html_drop() {
|
|
8286
8299
|
let s = [];
|
|
8287
8300
|
if (this.x.buttonCount) {
|
|
8288
|
-
s.push(h(script$
|
|
8301
|
+
s.push(h(script$11, {
|
|
8289
8302
|
class: 'w-pagebar-button w-pagebar-button-count w-pagebar-prev',
|
|
8290
8303
|
ref: 'drop',
|
|
8291
8304
|
text: this.currentPage + '/' + this.sumPage,
|
|
@@ -8294,8 +8307,8 @@ var script$y = {
|
|
|
8294
8307
|
}
|
|
8295
8308
|
if (this.showDrop) {
|
|
8296
8309
|
let b = [];
|
|
8297
|
-
for (let i = 1, sp = this.sumPage; i <= sp; i ++) b.push(h(script$
|
|
8298
|
-
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}));
|
|
8299
8312
|
}
|
|
8300
8313
|
return s
|
|
8301
8314
|
},
|
|
@@ -8397,7 +8410,7 @@ script$y.__file = "src/widgets/PageBar.vue";
|
|
|
8397
8410
|
|
|
8398
8411
|
var script$x = {
|
|
8399
8412
|
name: 'w-split',
|
|
8400
|
-
mixins: [script$
|
|
8413
|
+
mixins: [script$1i],
|
|
8401
8414
|
props: ['collapsedIcon', 'expandedIcon', 'movable', 'range', 'toNext', 'expanded'],
|
|
8402
8415
|
inject: ['provideLayout'],
|
|
8403
8416
|
created() {
|
|
@@ -8498,7 +8511,7 @@ script$x.__file = "src/widgets/Split.vue";
|
|
|
8498
8511
|
|
|
8499
8512
|
var script$w = {
|
|
8500
8513
|
name: 'w-toggle',
|
|
8501
|
-
mixins: [script$
|
|
8514
|
+
mixins: [script$1i, script$1g],
|
|
8502
8515
|
props: ['collapsedIcon', 'expandedIcon', 'expanded', 'align', 'valign'],
|
|
8503
8516
|
methods: {
|
|
8504
8517
|
x_default() {
|
|
@@ -8515,7 +8528,7 @@ var script$w = {
|
|
|
8515
8528
|
html_slots() {
|
|
8516
8529
|
let exp = this.x.expanded;
|
|
8517
8530
|
let ico = exp ? this.x.expandedIcon : this.x.collapsedIcon;
|
|
8518
|
-
return [ico && h(script$
|
|
8531
|
+
return [ico && h(script$14, {
|
|
8519
8532
|
src: ico,
|
|
8520
8533
|
class: 'w-toggle-icon',
|
|
8521
8534
|
}), h('div', {class: 'w-toggle-main'}, this.$slots.default())]
|
|
@@ -8546,7 +8559,7 @@ script$w.__file = "src/widgets/Toggle.vue";
|
|
|
8546
8559
|
|
|
8547
8560
|
var script$v = {
|
|
8548
8561
|
name: 'w-video',
|
|
8549
|
-
mixins: [script$
|
|
8562
|
+
mixins: [script$1i],
|
|
8550
8563
|
props: ['src', 'poster'],
|
|
8551
8564
|
data() {
|
|
8552
8565
|
return {
|
|
@@ -8598,7 +8611,7 @@ script$v.__file = "src/widgets/Video.vue";
|
|
|
8598
8611
|
|
|
8599
8612
|
var script$u = {
|
|
8600
8613
|
name: 'w-progress',
|
|
8601
|
-
mixins: [script$
|
|
8614
|
+
mixins: [script$1i],
|
|
8602
8615
|
props: ['percent', 'range', 'text'],
|
|
8603
8616
|
methods: {
|
|
8604
8617
|
html_slots() {
|
|
@@ -8643,7 +8656,7 @@ script$u.__file = "src/widgets/Progress.vue";
|
|
|
8643
8656
|
|
|
8644
8657
|
var script$t = {
|
|
8645
8658
|
name: 'w-calendar',
|
|
8646
|
-
mixins: [script$
|
|
8659
|
+
mixins: [script$1i],
|
|
8647
8660
|
emits: ['click:item', 'change'],
|
|
8648
8661
|
props: ['value', 'minValue', 'maxValue', 'current', 'pad', 'face', 'format', 'success', 'cg', 'start',
|
|
8649
8662
|
'enableHour', 'enableMinute', 'enableSecond', 'defaultHour', 'defaultMinute', 'defaultSecond'
|
|
@@ -9415,7 +9428,7 @@ script$t.__file = "src/widgets/Calendar.vue";
|
|
|
9415
9428
|
|
|
9416
9429
|
var script$s = {
|
|
9417
9430
|
name: 'w-timeline',
|
|
9418
|
-
mixins: [script$
|
|
9431
|
+
mixins: [script$1h, script$X],
|
|
9419
9432
|
props: ['face', 'vertical'],
|
|
9420
9433
|
methods: {
|
|
9421
9434
|
indent() {
|
|
@@ -9573,7 +9586,7 @@ script$s.__file = "src/widgets/Timeline.vue";
|
|
|
9573
9586
|
var script$r = {
|
|
9574
9587
|
name: 'w-timeline-item',
|
|
9575
9588
|
pubParentName: 'w-timeline',
|
|
9576
|
-
mixins: [script$
|
|
9589
|
+
mixins: [script$1i],
|
|
9577
9590
|
inject: ['providePubParent'],
|
|
9578
9591
|
props: ['position', 'index', 'align', 'lineColor'],
|
|
9579
9592
|
watch: {
|
|
@@ -9616,7 +9629,7 @@ script$r.__file = "src/widgets/TimelineItem.vue";
|
|
|
9616
9629
|
|
|
9617
9630
|
var script$q = {
|
|
9618
9631
|
name: 'w-slidepicker',
|
|
9619
|
-
mixins: [script$
|
|
9632
|
+
mixins: [script$1i],
|
|
9620
9633
|
provide() {
|
|
9621
9634
|
return {
|
|
9622
9635
|
provideOptionParent: this,
|
|
@@ -9977,7 +9990,7 @@ var script$o = {
|
|
|
9977
9990
|
scrollY: true
|
|
9978
9991
|
};
|
|
9979
9992
|
dropProps = this.mergeDropProps(dropProps);
|
|
9980
|
-
r.push(h(script$
|
|
9993
|
+
r.push(h(script$1b, dropProps, this.$slots.suggest));
|
|
9981
9994
|
}
|
|
9982
9995
|
return r
|
|
9983
9996
|
}
|
|
@@ -10925,7 +10938,7 @@ const suffixHooks = {
|
|
|
10925
10938
|
onclick: e => this.remove(item)
|
|
10926
10939
|
})];
|
|
10927
10940
|
if (value && this.$slots.menu) {
|
|
10928
|
-
button.push(h(script$
|
|
10941
|
+
button.push(h(script$10, null, {
|
|
10929
10942
|
target: () => h('div', {
|
|
10930
10943
|
class: 'w-fileupload-value-menu f-i f-i-ellipsis',
|
|
10931
10944
|
title: $$1.loc.more,
|
|
@@ -10984,7 +10997,7 @@ const suffixHooks = {
|
|
|
10984
10997
|
}, {
|
|
10985
10998
|
default: () => [
|
|
10986
10999
|
this.$slots.button ? this.$slots.button(this) :
|
|
10987
|
-
h(script$
|
|
11000
|
+
h(script$11, {
|
|
10988
11001
|
text: '选择文件',
|
|
10989
11002
|
icon: '.f-i .f-i-upload',
|
|
10990
11003
|
class: 'w-fileupload-button',
|
|
@@ -11276,7 +11289,7 @@ var script$g = {
|
|
|
11276
11289
|
class: 'w-fileupload-bbr'
|
|
11277
11290
|
}, {
|
|
11278
11291
|
default: () => [
|
|
11279
|
-
this.$slots.button ? this.$slots.button(this) : h(script$
|
|
11292
|
+
this.$slots.button ? this.$slots.button(this) : h(script$11, {
|
|
11280
11293
|
ref: 'uploadbutton',
|
|
11281
11294
|
title: $$1.loc.form.choose_image,
|
|
11282
11295
|
icon: '.f-i .f-i-plus',
|
|
@@ -11294,7 +11307,7 @@ var script$g = {
|
|
|
11294
11307
|
])
|
|
11295
11308
|
},
|
|
11296
11309
|
html_input() {
|
|
11297
|
-
return this.html_input_form().concat(h(script$
|
|
11310
|
+
return this.html_input_form().concat(h(script$1f, {
|
|
11298
11311
|
width: '*',
|
|
11299
11312
|
class: 'w-mediaupload-list',
|
|
11300
11313
|
align: this.x.align,
|
|
@@ -11340,7 +11353,7 @@ script$f.__file = "src/widgets/ImageUpload.vue";
|
|
|
11340
11353
|
|
|
11341
11354
|
var script$e = {
|
|
11342
11355
|
name: 'w-option',
|
|
11343
|
-
mixins: [script$
|
|
11356
|
+
mixins: [script$1i],
|
|
11344
11357
|
props: ['value', 'text', 'disabled'],
|
|
11345
11358
|
inject: ['provideOptionParent'],
|
|
11346
11359
|
methods: {
|
|
@@ -11767,7 +11780,7 @@ var script$c = {
|
|
|
11767
11780
|
indent: 1
|
|
11768
11781
|
};
|
|
11769
11782
|
dropProps = this.mergeDropProps(dropProps);
|
|
11770
|
-
r.push(h(script$
|
|
11783
|
+
r.push(h(script$1b, dropProps, {
|
|
11771
11784
|
default: () => h(script$t, {
|
|
11772
11785
|
height: '*',
|
|
11773
11786
|
pad: true,
|
|
@@ -11955,7 +11968,7 @@ var script$b = {
|
|
|
11955
11968
|
scrollView: '.z-on'
|
|
11956
11969
|
};
|
|
11957
11970
|
dropProps = this.mergeDropProps(dropProps);
|
|
11958
|
-
r.push(h(script$
|
|
11971
|
+
r.push(h(script$1b, dropProps, this.$slots));
|
|
11959
11972
|
}
|
|
11960
11973
|
return r
|
|
11961
11974
|
},
|
|
@@ -12422,7 +12435,7 @@ var script$7 = {
|
|
|
12422
12435
|
scrollY: true
|
|
12423
12436
|
};
|
|
12424
12437
|
dropProps = this.mergeDropProps(dropProps);
|
|
12425
|
-
r.push(h(script$
|
|
12438
|
+
r.push(h(script$1b, dropProps, this.$slots));
|
|
12426
12439
|
}
|
|
12427
12440
|
return [
|
|
12428
12441
|
this.html_input_hidden(),
|
|
@@ -12895,7 +12908,7 @@ var script$6 = {
|
|
|
12895
12908
|
scrollY: true
|
|
12896
12909
|
};
|
|
12897
12910
|
dropProps = this.mergeDropProps(dropProps);
|
|
12898
|
-
r.push(h(script$
|
|
12911
|
+
r.push(h(script$1b, dropProps, this.$slots));
|
|
12899
12912
|
}
|
|
12900
12913
|
return [
|
|
12901
12914
|
this.html_input_hidden(),
|
|
@@ -13363,7 +13376,7 @@ var script$1 = {
|
|
|
13363
13376
|
this.x.modelValue = this.x.cancelable && this.x.modelValue == i ? '' : i;
|
|
13364
13377
|
},
|
|
13365
13378
|
html_star(i) {
|
|
13366
|
-
return h(script$
|
|
13379
|
+
return h(script$14, {
|
|
13367
13380
|
class: ['w-rate-star-icon', {'z-hv': this.hoverWrap && i <= this.hoverIndex, 'z-on': !this.hoverWrap && i <= this.x.modelValue}],
|
|
13368
13381
|
src: '.f-i .f-i-star-full',
|
|
13369
13382
|
onMouseenter: e => this.hoverItem(e, i),
|
|
@@ -13513,9 +13526,9 @@ script$1.__file = "src/widgets/Rate.vue";
|
|
|
13513
13526
|
script.__file = "src/widgets/Slider.vue";
|
|
13514
13527
|
|
|
13515
13528
|
const components = [
|
|
13516
|
-
script$
|
|
13517
|
-
script$P, script$
|
|
13518
|
-
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,
|
|
13519
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,
|
|
13520
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
|
|
13521
13534
|
];
|