dfish-widget 1.0.37 → 1.0.39
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 +225 -157
- package/lib/index.esm.js.map +1 -1
- package/package.json +1 -1
package/lib/index.esm.js
CHANGED
|
@@ -1800,7 +1800,7 @@ function directive(Vue) {
|
|
|
1800
1800
|
|
|
1801
1801
|
const bindCache = {};
|
|
1802
1802
|
|
|
1803
|
-
var script$
|
|
1803
|
+
var script$1j = {
|
|
1804
1804
|
props: ['data', 'width', 'height', 'colspan', 'rowspan', 'ownproperty', 'orientUid'],
|
|
1805
1805
|
data() {
|
|
1806
1806
|
return {
|
|
@@ -2065,10 +2065,10 @@ const bindCache = {};
|
|
|
2065
2065
|
}
|
|
2066
2066
|
};
|
|
2067
2067
|
|
|
2068
|
-
script$
|
|
2068
|
+
script$1j.__file = "src/widgets/WidgetAbs.vue";
|
|
2069
2069
|
|
|
2070
|
-
var script$
|
|
2071
|
-
props: ['src', 'children'],
|
|
2070
|
+
var script$1i = {
|
|
2071
|
+
props: ['src', 'children', 'parentItem'],
|
|
2072
2072
|
data() {
|
|
2073
2073
|
return {
|
|
2074
2074
|
loading: false,
|
|
@@ -2101,11 +2101,11 @@ var script$1h = {
|
|
|
2101
2101
|
}
|
|
2102
2102
|
};
|
|
2103
2103
|
|
|
2104
|
-
script$
|
|
2104
|
+
script$1i.__file = "src/widgets/SrcParent.vue";
|
|
2105
2105
|
|
|
2106
|
-
var script$
|
|
2106
|
+
var script$1h = {
|
|
2107
2107
|
name: 'w-view',
|
|
2108
|
-
mixins: [script$
|
|
2108
|
+
mixins: [script$1i],
|
|
2109
2109
|
provide() {
|
|
2110
2110
|
return {
|
|
2111
2111
|
provideView: this
|
|
@@ -2304,9 +2304,9 @@ var script$1g = {
|
|
|
2304
2304
|
}
|
|
2305
2305
|
};
|
|
2306
2306
|
|
|
2307
|
-
script$
|
|
2307
|
+
script$1h.__file = "src/widgets/ViewAbs.vue";
|
|
2308
2308
|
|
|
2309
|
-
var script$
|
|
2309
|
+
var script$1g = {
|
|
2310
2310
|
name: 'w-svg-loading'
|
|
2311
2311
|
};
|
|
2312
2312
|
|
|
@@ -2332,14 +2332,14 @@ const _hoisted_6$2 = [
|
|
|
2332
2332
|
_hoisted_5$2
|
|
2333
2333
|
];
|
|
2334
2334
|
|
|
2335
|
-
function render$
|
|
2335
|
+
function render$8(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2336
2336
|
return (openBlock(), createElementBlock("svg", _hoisted_1$9, _hoisted_6$2))
|
|
2337
2337
|
}
|
|
2338
2338
|
|
|
2339
|
-
script$
|
|
2340
|
-
script$
|
|
2339
|
+
script$1g.render = render$8;
|
|
2340
|
+
script$1g.__file = "src/assets/SVGIcon.vue";
|
|
2341
2341
|
|
|
2342
|
-
var script$
|
|
2342
|
+
var script$1f = {
|
|
2343
2343
|
props: ['data'],
|
|
2344
2344
|
data() {
|
|
2345
2345
|
return {
|
|
@@ -2385,7 +2385,7 @@ const _hoisted_2$6 = ["src"];
|
|
|
2385
2385
|
const _hoisted_3$4 = { class: "_rotate" };
|
|
2386
2386
|
const _hoisted_4$2 = /*#__PURE__*/createElementVNode("span", { class: "_s" }, "|", -1 /* HOISTED */);
|
|
2387
2387
|
|
|
2388
|
-
function render$
|
|
2388
|
+
function render$7(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2389
2389
|
const _component_w_swiper_item = resolveComponent("w-swiper-item");
|
|
2390
2390
|
const _component_w_swiper = resolveComponent("w-swiper");
|
|
2391
2391
|
const _component_w_video = resolveComponent("w-video");
|
|
@@ -2453,10 +2453,10 @@ function render$6(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2453
2453
|
}))
|
|
2454
2454
|
}
|
|
2455
2455
|
|
|
2456
|
-
script$
|
|
2457
|
-
script$
|
|
2456
|
+
script$1f.render = render$7;
|
|
2457
|
+
script$1f.__file = "src/template/TemplatePreviewMedia.vue";
|
|
2458
2458
|
|
|
2459
|
-
var script$
|
|
2459
|
+
var script$1e = {
|
|
2460
2460
|
props: ['data'],
|
|
2461
2461
|
data() {
|
|
2462
2462
|
let f = this.data.format || 'yyyy-MM-dd';
|
|
@@ -2640,7 +2640,7 @@ var script$1d = {
|
|
|
2640
2640
|
}
|
|
2641
2641
|
};
|
|
2642
2642
|
|
|
2643
|
-
function render$
|
|
2643
|
+
function render$6(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2644
2644
|
const _component_w_button = resolveComponent("w-button");
|
|
2645
2645
|
const _component_w_buttonbar = resolveComponent("w-buttonbar");
|
|
2646
2646
|
const _component_w_html = resolveComponent("w-html");
|
|
@@ -2957,12 +2957,12 @@ function render$5(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2957
2957
|
}))
|
|
2958
2958
|
}
|
|
2959
2959
|
|
|
2960
|
-
script$
|
|
2961
|
-
script$
|
|
2960
|
+
script$1e.render = render$6;
|
|
2961
|
+
script$1e.__file = "src/template/TemplateDateSheet.vue";
|
|
2962
2962
|
|
|
2963
|
-
var script$
|
|
2963
|
+
var script$1d = {
|
|
2964
2964
|
name: 'w-docview',
|
|
2965
|
-
mixins: [script$
|
|
2965
|
+
mixins: [script$1j, script$1h],
|
|
2966
2966
|
provide() {
|
|
2967
2967
|
return {
|
|
2968
2968
|
providePubParent: null,
|
|
@@ -2983,15 +2983,15 @@ var script$1c = {
|
|
|
2983
2983
|
return null
|
|
2984
2984
|
},
|
|
2985
2985
|
previewVideo(src) {
|
|
2986
|
-
this.pop(script$
|
|
2986
|
+
this.pop(script$1f, {data: {type: 'video', src}});
|
|
2987
2987
|
},
|
|
2988
2988
|
previewImage(imgs, options) {
|
|
2989
|
-
this.pop(script$
|
|
2989
|
+
this.pop(script$1f, {data: {type: 'image', imgs, options}});
|
|
2990
2990
|
},
|
|
2991
2991
|
//dateOptions: {value, format, minValue, maxValue, success}
|
|
2992
2992
|
dateSheet(dateOptions, dialogOptions) {
|
|
2993
|
-
this.pop(script$
|
|
2994
|
-
template: script$
|
|
2993
|
+
this.pop(script$1e, {
|
|
2994
|
+
template: script$1e,
|
|
2995
2995
|
width: '100%',
|
|
2996
2996
|
height: '55%',
|
|
2997
2997
|
position: 'b',
|
|
@@ -3007,20 +3007,20 @@ var script$1c = {
|
|
|
3007
3007
|
return [
|
|
3008
3008
|
this.$slots.default && this.$slots.default(),
|
|
3009
3009
|
this.html_pops(),
|
|
3010
|
-
h(script$
|
|
3010
|
+
h(script$1g),
|
|
3011
3011
|
]
|
|
3012
3012
|
}
|
|
3013
3013
|
}
|
|
3014
3014
|
};
|
|
3015
3015
|
|
|
3016
|
-
script$
|
|
3016
|
+
script$1d.__file = "src/widgets/DocView.vue";
|
|
3017
3017
|
|
|
3018
|
-
var script$
|
|
3019
|
-
mixins: [script$
|
|
3018
|
+
var script$1c = {
|
|
3019
|
+
mixins: [script$1j],
|
|
3020
3020
|
inject: ['provideView']
|
|
3021
3021
|
};
|
|
3022
3022
|
|
|
3023
|
-
script$
|
|
3023
|
+
script$1c.__file = "src/widgets/WidgetBase.vue";
|
|
3024
3024
|
|
|
3025
3025
|
const onScroll = function(e) {
|
|
3026
3026
|
if (this.wScrollPercentX) {
|
|
@@ -3061,8 +3061,8 @@ const onScroll = function(e) {
|
|
|
3061
3061
|
}, dnEv);
|
|
3062
3062
|
};
|
|
3063
3063
|
|
|
3064
|
-
var script$
|
|
3065
|
-
mixins: [script$
|
|
3064
|
+
var script$1b = {
|
|
3065
|
+
mixins: [script$1c],
|
|
3066
3066
|
props: ['scrollX', 'scrollY', 'scrollView', 'scrollFlex'],
|
|
3067
3067
|
data() {
|
|
3068
3068
|
return {
|
|
@@ -3348,9 +3348,9 @@ const onScroll = function(e) {
|
|
|
3348
3348
|
}
|
|
3349
3349
|
};
|
|
3350
3350
|
|
|
3351
|
-
script$
|
|
3351
|
+
script$1b.__file = "src/widgets/Scroll.vue";
|
|
3352
3352
|
|
|
3353
|
-
var script$
|
|
3353
|
+
var script$1a = {
|
|
3354
3354
|
props: ['align', 'valign', 'gap'],
|
|
3355
3355
|
computed: {
|
|
3356
3356
|
dir() {
|
|
@@ -3365,11 +3365,11 @@ var script$19 = {
|
|
|
3365
3365
|
}
|
|
3366
3366
|
};
|
|
3367
3367
|
|
|
3368
|
-
script$
|
|
3368
|
+
script$1a.__file = "src/widgets/AlignParent.vue";
|
|
3369
3369
|
|
|
3370
|
-
var script$
|
|
3370
|
+
var script$19 = {
|
|
3371
3371
|
name: 'w-horizontal',
|
|
3372
|
-
mixins: [script$
|
|
3372
|
+
mixins: [script$1b, script$1a],
|
|
3373
3373
|
props: ['br', 'reverse'],
|
|
3374
3374
|
provide() {
|
|
3375
3375
|
return {
|
|
@@ -3421,11 +3421,11 @@ var script$18 = {
|
|
|
3421
3421
|
}
|
|
3422
3422
|
};
|
|
3423
3423
|
|
|
3424
|
-
script$
|
|
3424
|
+
script$19.__file = "src/widgets/Horizontal.vue";
|
|
3425
3425
|
|
|
3426
|
-
var script$
|
|
3426
|
+
var script$18 = {
|
|
3427
3427
|
name: 'w-vertical',
|
|
3428
|
-
mixins: [script$
|
|
3428
|
+
mixins: [script$19],
|
|
3429
3429
|
computed: {
|
|
3430
3430
|
dir() {
|
|
3431
3431
|
return 'v'
|
|
@@ -3433,11 +3433,11 @@ var script$17 = {
|
|
|
3433
3433
|
}
|
|
3434
3434
|
};
|
|
3435
3435
|
|
|
3436
|
-
script$
|
|
3436
|
+
script$18.__file = "src/widgets/Vertical.vue";
|
|
3437
3437
|
|
|
3438
|
-
var script$
|
|
3438
|
+
var script$17 = {
|
|
3439
3439
|
name: 'w-view',
|
|
3440
|
-
mixins: [script$
|
|
3440
|
+
mixins: [script$18, script$1h],
|
|
3441
3441
|
inject: ['provideView'],
|
|
3442
3442
|
methods: {
|
|
3443
3443
|
html_slots() {
|
|
@@ -3454,7 +3454,7 @@ var script$16 = {
|
|
|
3454
3454
|
}
|
|
3455
3455
|
};
|
|
3456
3456
|
|
|
3457
|
-
script$
|
|
3457
|
+
script$17.__file = "src/widgets/View.vue";
|
|
3458
3458
|
|
|
3459
3459
|
const O = {},
|
|
3460
3460
|
T = true,
|
|
@@ -3471,9 +3471,9 @@ const O = {},
|
|
|
3471
3471
|
return typeof a === 'string' && a.split(',').map(v => positionHooks[v] || v).join()
|
|
3472
3472
|
};
|
|
3473
3473
|
|
|
3474
|
-
var script$
|
|
3474
|
+
var script$16 = {
|
|
3475
3475
|
name: 'w-dialog',
|
|
3476
|
-
mixins: [script$
|
|
3476
|
+
mixins: [script$17],
|
|
3477
3477
|
props: ['title', 'autoHide', 'context', 'prong', 'independent', 'timeout',
|
|
3478
3478
|
'cover', 'position', 'snap', 'indent', 'local', 'fullScreen', 'hoverShowDrop', 'visible',
|
|
3479
3479
|
...boundary
|
|
@@ -3848,12 +3848,12 @@ const O = {},
|
|
|
3848
3848
|
}
|
|
3849
3849
|
};
|
|
3850
3850
|
|
|
3851
|
-
script$
|
|
3851
|
+
script$16.__file = "src/widgets/Dialog.vue";
|
|
3852
3852
|
|
|
3853
3853
|
const _hoisted_1$7 = /*#__PURE__*/createElementVNode("i", { class: "w-alert-close-icon f-i f-i-close" }, null, -1 /* HOISTED */);
|
|
3854
3854
|
|
|
3855
3855
|
|
|
3856
|
-
var script$
|
|
3856
|
+
var script$15 = {
|
|
3857
3857
|
__name: 'TemplateAlert',
|
|
3858
3858
|
props: ['text', 'escape', 'title', 'icon', 'showButton'],
|
|
3859
3859
|
emits: ['save', 'close'],
|
|
@@ -3986,11 +3986,11 @@ return (_ctx, _cache) => {
|
|
|
3986
3986
|
|
|
3987
3987
|
};
|
|
3988
3988
|
|
|
3989
|
-
script$
|
|
3989
|
+
script$15.__file = "src/template/TemplateAlert.vue";
|
|
3990
3990
|
|
|
3991
|
-
var script$
|
|
3991
|
+
var script$14 = {
|
|
3992
3992
|
name: 'w-alert',
|
|
3993
|
-
mixins: [script$
|
|
3993
|
+
mixins: [script$16],
|
|
3994
3994
|
props: ['text', 'title', 'escape', 'yes', 'no', 'showButton'],
|
|
3995
3995
|
methods: {
|
|
3996
3996
|
x_default() {
|
|
@@ -4008,7 +4008,7 @@ var script$13 = {
|
|
|
4008
4008
|
},
|
|
4009
4009
|
html_slots_default() {
|
|
4010
4010
|
return h(
|
|
4011
|
-
script$
|
|
4011
|
+
script$15,
|
|
4012
4012
|
{
|
|
4013
4013
|
text: this.x.text,
|
|
4014
4014
|
title: this.x.title,
|
|
@@ -4024,12 +4024,12 @@ var script$13 = {
|
|
|
4024
4024
|
}
|
|
4025
4025
|
};
|
|
4026
4026
|
|
|
4027
|
-
script$
|
|
4027
|
+
script$14.__file = "src/widgets/Alert.vue";
|
|
4028
4028
|
|
|
4029
4029
|
const _hoisted_1$6 = /*#__PURE__*/createElementVNode("i", { class: "w-alert-close-icon f-i f-i-close" }, null, -1 /* HOISTED */);
|
|
4030
4030
|
|
|
4031
4031
|
|
|
4032
|
-
var script$
|
|
4032
|
+
var script$13 = {
|
|
4033
4033
|
__name: 'TemplateConfirm',
|
|
4034
4034
|
props: ['text', 'escape', 'title', 'icon', 'showButton'],
|
|
4035
4035
|
emits: ['save', 'close'],
|
|
@@ -4169,11 +4169,11 @@ return (_ctx, _cache) => {
|
|
|
4169
4169
|
|
|
4170
4170
|
};
|
|
4171
4171
|
|
|
4172
|
-
script$
|
|
4172
|
+
script$13.__file = "src/template/TemplateConfirm.vue";
|
|
4173
4173
|
|
|
4174
|
-
var script$
|
|
4174
|
+
var script$12 = {
|
|
4175
4175
|
name: 'w-confirm',
|
|
4176
|
-
mixins: [script$
|
|
4176
|
+
mixins: [script$16],
|
|
4177
4177
|
props: ['text', 'title', 'escape', 'yes', 'no', 'showButton'],
|
|
4178
4178
|
methods: {
|
|
4179
4179
|
x_default() {
|
|
@@ -4192,7 +4192,7 @@ var script$11 = {
|
|
|
4192
4192
|
},
|
|
4193
4193
|
html_slots_default() {
|
|
4194
4194
|
return h(
|
|
4195
|
-
script$
|
|
4195
|
+
script$13,
|
|
4196
4196
|
{
|
|
4197
4197
|
text: this.x.text,
|
|
4198
4198
|
title: this.x.title,
|
|
@@ -4208,7 +4208,7 @@ var script$11 = {
|
|
|
4208
4208
|
}
|
|
4209
4209
|
};
|
|
4210
4210
|
|
|
4211
|
-
script$
|
|
4211
|
+
script$12.__file = "src/widgets/Confirm.vue";
|
|
4212
4212
|
|
|
4213
4213
|
const _hoisted_1$5 = { class: "w-tip-body" };
|
|
4214
4214
|
const _hoisted_2$5 = {
|
|
@@ -4218,7 +4218,7 @@ const _hoisted_2$5 = {
|
|
|
4218
4218
|
const _hoisted_3$3 = ["innerHTML"];
|
|
4219
4219
|
|
|
4220
4220
|
|
|
4221
|
-
var script$
|
|
4221
|
+
var script$11 = {
|
|
4222
4222
|
__name: 'TemplateTip',
|
|
4223
4223
|
props: ['text', 'escape'],
|
|
4224
4224
|
setup(__props) {
|
|
@@ -4242,16 +4242,16 @@ return (_ctx, _cache) => {
|
|
|
4242
4242
|
|
|
4243
4243
|
};
|
|
4244
4244
|
|
|
4245
|
-
script$
|
|
4245
|
+
script$11.__file = "src/template/TemplateTip.vue";
|
|
4246
4246
|
|
|
4247
4247
|
let inst$1 = null;
|
|
4248
4248
|
let tipCache = {
|
|
4249
4249
|
time: new Date().getTime()
|
|
4250
4250
|
};
|
|
4251
4251
|
|
|
4252
|
-
var script
|
|
4252
|
+
var script$10 = {
|
|
4253
4253
|
name: 'w-tip',
|
|
4254
|
-
mixins: [script$
|
|
4254
|
+
mixins: [script$16],
|
|
4255
4255
|
props: ['face', 'text', 'escape'],
|
|
4256
4256
|
methods: {
|
|
4257
4257
|
x_default() {
|
|
@@ -4263,7 +4263,7 @@ let inst$1 = null;
|
|
|
4263
4263
|
}
|
|
4264
4264
|
},
|
|
4265
4265
|
html_slots_default() {
|
|
4266
|
-
return h(script$
|
|
4266
|
+
return h(script$11, {text: this.x.text, escape: this.x.escape}, this.$slots)
|
|
4267
4267
|
}
|
|
4268
4268
|
},
|
|
4269
4269
|
computed: {
|
|
@@ -4288,12 +4288,12 @@ let inst$1 = null;
|
|
|
4288
4288
|
}
|
|
4289
4289
|
};
|
|
4290
4290
|
|
|
4291
|
-
script
|
|
4291
|
+
script$10.__file = "src/widgets/Tip.vue";
|
|
4292
4292
|
|
|
4293
|
-
var script
|
|
4293
|
+
var script$$ = {
|
|
4294
4294
|
name: 'w-img',
|
|
4295
4295
|
pubParentName: 'w-album',
|
|
4296
|
-
mixins: [script$
|
|
4296
|
+
mixins: [script$1c],
|
|
4297
4297
|
inject: ['providePubParent'],
|
|
4298
4298
|
props: ['src', 'text', 'square', 'imgWidth', 'imgHeight', 'dataUrl', 'vertical', 'disabled'],
|
|
4299
4299
|
data() {
|
|
@@ -4339,7 +4339,7 @@ var script$_ = {
|
|
|
4339
4339
|
class: 'w-img-cover f-abs-full'
|
|
4340
4340
|
}, this.$slots.cover())
|
|
4341
4341
|
]),
|
|
4342
|
-
cont && h(script$
|
|
4342
|
+
cont && h(script$18, {
|
|
4343
4343
|
class: 'w-img-description'
|
|
4344
4344
|
}, cont)
|
|
4345
4345
|
]
|
|
@@ -4373,12 +4373,12 @@ var script$_ = {
|
|
|
4373
4373
|
}
|
|
4374
4374
|
};
|
|
4375
4375
|
|
|
4376
|
-
script
|
|
4376
|
+
script$$.__file = "src/widgets/Img.vue";
|
|
4377
4377
|
|
|
4378
|
-
var script$
|
|
4378
|
+
var script$_ = {
|
|
4379
4379
|
name: 'w-button',
|
|
4380
4380
|
pubParentName: 'w-buttonbar',
|
|
4381
|
-
mixins: [script$
|
|
4381
|
+
mixins: [script$1c],
|
|
4382
4382
|
props: ['text', 'icon', 'focusIcon', 'face', 'target', 'closable', 'loading', 'disabled', 'vertical', 'hoverShowDrop', 'dropProps', 'dropIcon', 'showDropIcon'],
|
|
4383
4383
|
inject: ['providePubParent'],
|
|
4384
4384
|
emits: ['click:close', 'dropClose'],
|
|
@@ -4472,7 +4472,7 @@ var script$Z = {
|
|
|
4472
4472
|
if (this.x.loading) {
|
|
4473
4473
|
r.push(h('div', {
|
|
4474
4474
|
class: 'w-button-loading f-abs-full f-flex-center'
|
|
4475
|
-
}, h(script
|
|
4475
|
+
}, h(script$$, {
|
|
4476
4476
|
src: '#f-svg-loading'
|
|
4477
4477
|
})));
|
|
4478
4478
|
}
|
|
@@ -4487,7 +4487,7 @@ var script$Z = {
|
|
|
4487
4487
|
}, h('span', {class: 'w-button-text-line f-line-1', title}, t)));
|
|
4488
4488
|
}
|
|
4489
4489
|
if (this.isMore && this.x.showDropIcon) {
|
|
4490
|
-
r.push(h(script
|
|
4490
|
+
r.push(h(script$$, {
|
|
4491
4491
|
class: 'w-button-more f-flex-center f-height',
|
|
4492
4492
|
src: this.x.dropIcon || '.f-i .f-i-caret-down'
|
|
4493
4493
|
}));
|
|
@@ -4505,7 +4505,7 @@ var script$Z = {
|
|
|
4505
4505
|
class: 'w-button-main f-oh f-height',
|
|
4506
4506
|
...(this.isCombo && !this.isDisabled && this.mouses),
|
|
4507
4507
|
}, r),
|
|
4508
|
-
this.isCombo && h(script
|
|
4508
|
+
this.isCombo && h(script$$, {
|
|
4509
4509
|
class: 'w-button-drop f-flex-center f-height',
|
|
4510
4510
|
src: this.x.dropIcon || '.f-i .f-i-caret-down',
|
|
4511
4511
|
...(!this.isDisabled && this.mouses),
|
|
@@ -4552,11 +4552,11 @@ var script$Z = {
|
|
|
4552
4552
|
}
|
|
4553
4553
|
};
|
|
4554
4554
|
|
|
4555
|
-
script$
|
|
4555
|
+
script$_.__file = "src/widgets/Button.vue";
|
|
4556
4556
|
|
|
4557
|
-
var script$
|
|
4557
|
+
var script$Z = {
|
|
4558
4558
|
name: 'w-menubutton',
|
|
4559
|
-
mixins: [script$
|
|
4559
|
+
mixins: [script$_],
|
|
4560
4560
|
methods: {
|
|
4561
4561
|
ajax(...args) {
|
|
4562
4562
|
return this.parentMenu.rootCommander.ajax(...args)
|
|
@@ -4619,7 +4619,7 @@ var script$Y = {
|
|
|
4619
4619
|
onclick: this.clickClose
|
|
4620
4620
|
})));
|
|
4621
4621
|
}
|
|
4622
|
-
r.push(h(script
|
|
4622
|
+
r.push(h(script$$, {
|
|
4623
4623
|
class: 'w-menubutton-drop f-flex-center f-height',
|
|
4624
4624
|
src: this.isMore ? (this.x.dropIcon || '.f-i .f-i-caret-right') : ''
|
|
4625
4625
|
}));
|
|
@@ -4669,7 +4669,7 @@ var script$Y = {
|
|
|
4669
4669
|
},
|
|
4670
4670
|
};
|
|
4671
4671
|
|
|
4672
|
-
script$
|
|
4672
|
+
script$Z.__file = "src/widgets/MenuButton.vue";
|
|
4673
4673
|
|
|
4674
4674
|
let inst = null;
|
|
4675
4675
|
|
|
@@ -4684,9 +4684,9 @@ let inst = null;
|
|
|
4684
4684
|
return inst && (ctx.hasBubble(inst.context) || inst.hasBubble(ctx))
|
|
4685
4685
|
}
|
|
4686
4686
|
|
|
4687
|
-
var script$
|
|
4687
|
+
var script$Y = {
|
|
4688
4688
|
name: 'w-menu',
|
|
4689
|
-
mixins: [script$
|
|
4689
|
+
mixins: [script$16],
|
|
4690
4690
|
methods: {
|
|
4691
4691
|
x_default() {
|
|
4692
4692
|
return {
|
|
@@ -4741,8 +4741,8 @@ let inst = null;
|
|
|
4741
4741
|
},
|
|
4742
4742
|
html_buttons() {
|
|
4743
4743
|
return this.slots_children().map(s => {
|
|
4744
|
-
if (s.type === script$
|
|
4745
|
-
s.type = script$
|
|
4744
|
+
if (s.type === script$_) {
|
|
4745
|
+
s.type = script$Z;
|
|
4746
4746
|
}
|
|
4747
4747
|
return s
|
|
4748
4748
|
})
|
|
@@ -4755,7 +4755,7 @@ let inst = null;
|
|
|
4755
4755
|
}, h('i', {
|
|
4756
4756
|
class: 'f-i f-i-caret-up'
|
|
4757
4757
|
})),
|
|
4758
|
-
h(script$
|
|
4758
|
+
h(script$18, {
|
|
4759
4759
|
class: 'w-menu-bbr',
|
|
4760
4760
|
height: '*',
|
|
4761
4761
|
ref: 'bbr',
|
|
@@ -4812,11 +4812,11 @@ let inst = null;
|
|
|
4812
4812
|
}
|
|
4813
4813
|
};
|
|
4814
4814
|
|
|
4815
|
-
script$
|
|
4815
|
+
script$Y.__file = "src/widgets/Menu.vue";
|
|
4816
4816
|
|
|
4817
|
-
var script$
|
|
4817
|
+
var script$X = {
|
|
4818
4818
|
name: 'w-loading',
|
|
4819
|
-
mixins: [script$
|
|
4819
|
+
mixins: [script$16],
|
|
4820
4820
|
props: ['text', 'icon'],
|
|
4821
4821
|
methods: {
|
|
4822
4822
|
x_default() {
|
|
@@ -4825,7 +4825,7 @@ var script$W = {
|
|
|
4825
4825
|
}
|
|
4826
4826
|
},
|
|
4827
4827
|
html_slots() {
|
|
4828
|
-
return h(script
|
|
4828
|
+
return h(script$$, {
|
|
4829
4829
|
src: this.x.icon !== undefined ? this.x.icon : '#f-svg-loading',
|
|
4830
4830
|
text: this.x.text !== undefined ? this.x.text : $$1.loc.loading
|
|
4831
4831
|
})
|
|
@@ -4838,11 +4838,11 @@ var script$W = {
|
|
|
4838
4838
|
}
|
|
4839
4839
|
};
|
|
4840
4840
|
|
|
4841
|
-
script$
|
|
4841
|
+
script$X.__file = "src/widgets/Loading.vue";
|
|
4842
4842
|
|
|
4843
|
-
var script$
|
|
4843
|
+
var script$W = {
|
|
4844
4844
|
name: 'w-table',
|
|
4845
|
-
mixins: [script$
|
|
4845
|
+
mixins: [script$1c],
|
|
4846
4846
|
props: ['face', 'scroll-x', 'scroll-y'],
|
|
4847
4847
|
provide() {
|
|
4848
4848
|
return {
|
|
@@ -4919,22 +4919,22 @@ var script$V = {
|
|
|
4919
4919
|
}
|
|
4920
4920
|
};
|
|
4921
4921
|
|
|
4922
|
-
script$
|
|
4922
|
+
script$W.__file = "src/widgets/Table.vue";
|
|
4923
4923
|
|
|
4924
|
-
var script$
|
|
4924
|
+
var script$V = {
|
|
4925
4925
|
name: 'w-columns'
|
|
4926
4926
|
};
|
|
4927
4927
|
|
|
4928
|
-
script$
|
|
4928
|
+
script$V.__file = "src/widgets/TableColumns.vue";
|
|
4929
4929
|
|
|
4930
|
-
var script$
|
|
4930
|
+
var script$U = {
|
|
4931
4931
|
name: 'w-column',
|
|
4932
4932
|
props: ['width', 'minWidth'],
|
|
4933
4933
|
};
|
|
4934
4934
|
|
|
4935
|
-
script$
|
|
4935
|
+
script$U.__file = "src/widgets/TableColumn.vue";
|
|
4936
4936
|
|
|
4937
|
-
var script$
|
|
4937
|
+
var script$T = {
|
|
4938
4938
|
props: ['pub', 'current'],
|
|
4939
4939
|
provide() {
|
|
4940
4940
|
return {
|
|
@@ -4965,11 +4965,21 @@ var script$S = {
|
|
|
4965
4965
|
}
|
|
4966
4966
|
};
|
|
4967
4967
|
|
|
4968
|
-
script$
|
|
4968
|
+
script$T.__file = "src/widgets/PubParent.vue";
|
|
4969
|
+
|
|
4970
|
+
function render$5(_ctx, _cache) {
|
|
4971
|
+
return renderSlot(_ctx.$slots, "default")
|
|
4972
|
+
}
|
|
4973
|
+
|
|
4974
|
+
const script$S = {};
|
|
4975
|
+
|
|
4976
|
+
|
|
4977
|
+
script$S.render = render$5;
|
|
4978
|
+
script$S.__file = "src/widgets/SlotDefault.vue";
|
|
4969
4979
|
|
|
4970
4980
|
var script$R = {
|
|
4971
4981
|
name: 'w-thead',
|
|
4972
|
-
mixins: [script$
|
|
4982
|
+
mixins: [script$1c, script$T],
|
|
4973
4983
|
props: ['br', 'sort'],
|
|
4974
4984
|
inject: ['_provideTable'],
|
|
4975
4985
|
provide() {
|
|
@@ -4997,7 +5007,20 @@ var script$R = {
|
|
|
4997
5007
|
let chd = this.x.children;
|
|
4998
5008
|
if (Array.isArray(chd)) {
|
|
4999
5009
|
let i = 0;
|
|
5000
|
-
r = chd.map(
|
|
5010
|
+
r = chd.map((item, index) => {
|
|
5011
|
+
let key;
|
|
5012
|
+
const row = this.$slots.row({item, index}).map(t => {
|
|
5013
|
+
if (!t.props) t.props = {};
|
|
5014
|
+
t.props.rowIndex = i++;
|
|
5015
|
+
if (!key) key = t.key;
|
|
5016
|
+
return t
|
|
5017
|
+
});
|
|
5018
|
+
if (key) {
|
|
5019
|
+
return h(script$S, {key}, {default: () => row})
|
|
5020
|
+
} else {
|
|
5021
|
+
return row
|
|
5022
|
+
}
|
|
5023
|
+
});
|
|
5001
5024
|
}
|
|
5002
5025
|
return r || []
|
|
5003
5026
|
} else {
|
|
@@ -5053,7 +5076,7 @@ script$R.__file = "src/widgets/TableTHead.vue";
|
|
|
5053
5076
|
|
|
5054
5077
|
var script$Q = {
|
|
5055
5078
|
name: 'w-tbody',
|
|
5056
|
-
mixins: [script$R, script$
|
|
5079
|
+
mixins: [script$R, script$1b],
|
|
5057
5080
|
inject: ['_provideTable'],
|
|
5058
5081
|
props: ['children'],
|
|
5059
5082
|
provide() {
|
|
@@ -5126,7 +5149,7 @@ script$Q.__file = "src/widgets/TableTBody.vue";
|
|
|
5126
5149
|
var script$P = {
|
|
5127
5150
|
name: 'w-tr',
|
|
5128
5151
|
pubParentName: 'w-tbody,w-thead',
|
|
5129
|
-
mixins: [script$
|
|
5152
|
+
mixins: [script$1c, script$1i],
|
|
5130
5153
|
props: ['rowIndex', 'expanded', 'children'],
|
|
5131
5154
|
inject: ['_provideTable', 'providePubParent', 'provideInBody', '_provideTBody', 'provideLevel', 'provideParentTR'],
|
|
5132
5155
|
provide() {
|
|
@@ -5199,7 +5222,23 @@ var script$P = {
|
|
|
5199
5222
|
},
|
|
5200
5223
|
html() {
|
|
5201
5224
|
if (this.x.children && Array.isArray(this.x.children) && this._provideTBody && this._provideTBody.$slots.row) {
|
|
5202
|
-
return [
|
|
5225
|
+
return [
|
|
5226
|
+
this.html_self(true),
|
|
5227
|
+
this.x.children.map((item, index) => {
|
|
5228
|
+
let key;
|
|
5229
|
+
const row = this._provideTBody.$slots.row({item, index});
|
|
5230
|
+
for (let r of row) {
|
|
5231
|
+
if (!key) {
|
|
5232
|
+
key = r.key;
|
|
5233
|
+
}
|
|
5234
|
+
}
|
|
5235
|
+
if (key) {
|
|
5236
|
+
return h(script$S, {key}, {default: () => row})
|
|
5237
|
+
} else {
|
|
5238
|
+
return row
|
|
5239
|
+
}
|
|
5240
|
+
})
|
|
5241
|
+
]
|
|
5203
5242
|
}
|
|
5204
5243
|
return this.$slots.row ? [this.html_self(true), this.$slots.row()] : this.html_self()
|
|
5205
5244
|
},
|
|
@@ -5281,7 +5320,7 @@ script$O.__file = "src/widgets/TableTD.vue";
|
|
|
5281
5320
|
|
|
5282
5321
|
var script$N = {
|
|
5283
5322
|
name: 'w-th',
|
|
5284
|
-
mixins: [script$O, script$
|
|
5323
|
+
mixins: [script$O, script$1c],
|
|
5285
5324
|
props: ['sortable', 'sortOrders', 'sortOrderDefault'],
|
|
5286
5325
|
inject: ['_provideThead'],
|
|
5287
5326
|
emits: ['click:sort'],
|
|
@@ -5316,7 +5355,7 @@ var script$N = {
|
|
|
5316
5355
|
this.$emit('click:sort', e, o);
|
|
5317
5356
|
},
|
|
5318
5357
|
html_slots() {
|
|
5319
|
-
return h(script$
|
|
5358
|
+
return h(script$19, {class: 'w-th-wrap', valign: 'middle', align: this.align || this.col.align}, {default: () => [
|
|
5320
5359
|
h('div', {class: 'w-th-title'}, this.$slots),
|
|
5321
5360
|
this.x.sortable ? h('div', {class: 'w-th-sort f-flex-column f-flex-center f-oh'}, [
|
|
5322
5361
|
h('i', {class: 'f-i f-i-caret-up f-oh w-th-sort-up', onClick: e => this.clickSort(e, 'asc')}),
|
|
@@ -5345,7 +5384,7 @@ script$N.__file = "src/widgets/TableTH.vue";
|
|
|
5345
5384
|
|
|
5346
5385
|
var script$M = {
|
|
5347
5386
|
name: 'w-grid',
|
|
5348
|
-
mixins: [script$
|
|
5387
|
+
mixins: [script$1b],
|
|
5349
5388
|
props: ['columns', 'rows', 'gap', 'defaultColspan', 'face', 'labelWidth'],
|
|
5350
5389
|
methods: {
|
|
5351
5390
|
x_default() {
|
|
@@ -5393,7 +5432,7 @@ var script$L = {
|
|
|
5393
5432
|
name: 'w-swiper-item',
|
|
5394
5433
|
pubParentName: 'w-swiper',
|
|
5395
5434
|
inject: ['providePubParent'],
|
|
5396
|
-
mixins: [script$
|
|
5435
|
+
mixins: [script$1c],
|
|
5397
5436
|
props: ['lazy'],
|
|
5398
5437
|
data() {
|
|
5399
5438
|
return {
|
|
@@ -5430,7 +5469,7 @@ script$L.__file = "src/widgets/SwiperItem.vue";
|
|
|
5430
5469
|
|
|
5431
5470
|
var script$K = {
|
|
5432
5471
|
name: 'w-swiper',
|
|
5433
|
-
mixins: [script$
|
|
5472
|
+
mixins: [script$1c, script$T],
|
|
5434
5473
|
props: ['arrow', 'indicatorDots', 'duration'],
|
|
5435
5474
|
data() {
|
|
5436
5475
|
return {
|
|
@@ -5519,7 +5558,7 @@ script$K.__file = "src/widgets/Swiper.vue";
|
|
|
5519
5558
|
|
|
5520
5559
|
var script$J = {
|
|
5521
5560
|
name: 'w-buttonbar',
|
|
5522
|
-
mixins: [script$
|
|
5561
|
+
mixins: [script$19, script$T],
|
|
5523
5562
|
props: ['vertical'],
|
|
5524
5563
|
emits: ['click:item'],
|
|
5525
5564
|
methods: {
|
|
@@ -5632,7 +5671,7 @@ var script$I = {
|
|
|
5632
5671
|
},
|
|
5633
5672
|
html_slots() {
|
|
5634
5673
|
let group = h(TransitionGroup, {name: 'w-tabbar', onBeforeEnter: this.onBeforeEnter, onAfterEnter: this.onAfterEnter, onBeforeLeave: this.onBeforeLeave, onAfterLeave: this.onAfterLeave}, {default: () => this.buttons});
|
|
5635
|
-
let gut = [h(this.x.vertical ? script$
|
|
5674
|
+
let gut = [h(this.x.vertical ? script$18 : script$19, {ref: 'gut', class: 'w-tabbar-gut', gap: this.x.gap, align: this.x.align, valign: this.x.valign}, {default: () => group})];
|
|
5636
5675
|
if (this.x.arrow) {
|
|
5637
5676
|
gut.unshift(h('div', {class: 'w-tabbar-arrow-start', onClick: () => this.clickArrow(-1)}, h('i', {class: 'f-i f-i-caret-left'})));
|
|
5638
5677
|
gut.push(h('div', {class: 'w-tabbar-arrow-end', onClick: () => this.clickArrow(1)}, h('i', {class: 'f-i f-i-caret-right'})));
|
|
@@ -5640,7 +5679,7 @@ var script$I = {
|
|
|
5640
5679
|
if (this.x.quickCloseButton) {
|
|
5641
5680
|
let closeAllDisabled = !this.buttons.find(c => c.props.closable);
|
|
5642
5681
|
if (this.buttons.length) {
|
|
5643
|
-
gut.push(h(script$
|
|
5682
|
+
gut.push(h(script$_, {
|
|
5644
5683
|
ref: 'quickCloseButton',
|
|
5645
5684
|
data: {isQuickCloseButton: true},
|
|
5646
5685
|
showDropIcon: false,
|
|
@@ -5649,7 +5688,7 @@ var script$I = {
|
|
|
5649
5688
|
onDropClose: this.onMouseleave
|
|
5650
5689
|
}, {
|
|
5651
5690
|
default: () => [
|
|
5652
|
-
h(script$
|
|
5691
|
+
h(script$_, {text: '关闭全部标签', onClick: this.closeAll, disabled: closeAllDisabled})
|
|
5653
5692
|
]
|
|
5654
5693
|
}));
|
|
5655
5694
|
}
|
|
@@ -5756,7 +5795,7 @@ script$I.__file = "src/widgets/TabBar.vue";
|
|
|
5756
5795
|
var script$H = {
|
|
5757
5796
|
name: 'w-tabbutton',
|
|
5758
5797
|
pubParentName: 'w-tabbar',
|
|
5759
|
-
mixins: [script$
|
|
5798
|
+
mixins: [script$_],
|
|
5760
5799
|
methods: {
|
|
5761
5800
|
vis() {
|
|
5762
5801
|
let add = [20, 20];
|
|
@@ -5780,7 +5819,7 @@ script$H.__file = "src/widgets/TabButton.vue";
|
|
|
5780
5819
|
|
|
5781
5820
|
var script$G = {
|
|
5782
5821
|
name: 'w-tabs',
|
|
5783
|
-
mixins: [script$
|
|
5822
|
+
mixins: [script$1c],
|
|
5784
5823
|
props: ['current', 'position', 'gap', 'face', 'quickCloseButton', 'flexSize'],
|
|
5785
5824
|
emits: ['click:quickCloseButton'],
|
|
5786
5825
|
methods: {
|
|
@@ -5847,7 +5886,7 @@ script$F.__file = "src/widgets/Tab.vue";
|
|
|
5847
5886
|
|
|
5848
5887
|
var script$E = {
|
|
5849
5888
|
name: 'w-album',
|
|
5850
|
-
mixins: [script$
|
|
5889
|
+
mixins: [script$19, script$T],
|
|
5851
5890
|
methods: {
|
|
5852
5891
|
x_default() {
|
|
5853
5892
|
return {
|
|
@@ -5868,7 +5907,7 @@ script$E.__file = "src/widgets/Album.vue";
|
|
|
5868
5907
|
|
|
5869
5908
|
var script$D = {
|
|
5870
5909
|
name: 'w-html',
|
|
5871
|
-
mixins: [script$
|
|
5910
|
+
mixins: [script$1c, script$1a],
|
|
5872
5911
|
props: ['line'],
|
|
5873
5912
|
computed: {
|
|
5874
5913
|
html_props() {
|
|
@@ -5891,7 +5930,7 @@ script$D.__file = "src/widgets/Html.vue";
|
|
|
5891
5930
|
|
|
5892
5931
|
var script$C = {
|
|
5893
5932
|
name: 'w-tree',
|
|
5894
|
-
mixins: [script$
|
|
5933
|
+
mixins: [script$1b, script$T, script$1i],
|
|
5895
5934
|
emits: ['click:item'],
|
|
5896
5935
|
provide() {
|
|
5897
5936
|
return {
|
|
@@ -5919,7 +5958,20 @@ var script$C = {
|
|
|
5919
5958
|
let chd = this.x.children;
|
|
5920
5959
|
if (this.$slots.default) {
|
|
5921
5960
|
if (Array.isArray(chd)) {
|
|
5922
|
-
r = chd.map(item =>
|
|
5961
|
+
r = chd.map((item, index) => {
|
|
5962
|
+
let key;
|
|
5963
|
+
const leaf = this.$slots.default({item, index});
|
|
5964
|
+
for (let f of leaf) {
|
|
5965
|
+
if (!key) {
|
|
5966
|
+
key = f.key;
|
|
5967
|
+
}
|
|
5968
|
+
}
|
|
5969
|
+
if (key) {
|
|
5970
|
+
return h(script$S, {key}, {default: () => leaf})
|
|
5971
|
+
} else {
|
|
5972
|
+
return leaf
|
|
5973
|
+
}
|
|
5974
|
+
});
|
|
5923
5975
|
} else {
|
|
5924
5976
|
r = [];
|
|
5925
5977
|
}
|
|
@@ -5946,7 +5998,7 @@ script$C.__file = "src/widgets/Tree.vue";
|
|
|
5946
5998
|
|
|
5947
5999
|
var script$B = {
|
|
5948
6000
|
name: 'w-label',
|
|
5949
|
-
mixins: [script$
|
|
6001
|
+
mixins: [script$1c, script$1a],
|
|
5950
6002
|
props: ['text', 'suffix', 'vertical'],
|
|
5951
6003
|
methods: {
|
|
5952
6004
|
html_slots() {
|
|
@@ -5971,7 +6023,7 @@ var script$B = {
|
|
|
5971
6023
|
script$B.__file = "src/widgets/Label.vue";
|
|
5972
6024
|
|
|
5973
6025
|
var script$A = {
|
|
5974
|
-
mixins: [script$
|
|
6026
|
+
mixins: [script$1c, script$1a],
|
|
5975
6027
|
props: ['name', 'value', 'modelValue', 'placeholder', 'label', 'readonly', 'readonlyValidate', 'disabled', 'required',
|
|
5976
6028
|
'validateDefault', 'validateHandler', 'inputWidth', 'inputHeight' ],
|
|
5977
6029
|
emits: ['update:modelValue', 'change', 'blur', 'focus'],
|
|
@@ -6533,7 +6585,7 @@ var script$z = {
|
|
|
6533
6585
|
}, this.html_input())
|
|
6534
6586
|
},
|
|
6535
6587
|
html_target() {
|
|
6536
|
-
return this.$slots.default ? h(script$
|
|
6588
|
+
return this.$slots.default ? h(script$19, {
|
|
6537
6589
|
class: this.$options.name + '-target',
|
|
6538
6590
|
ref: 'target'
|
|
6539
6591
|
}, this.$slots) : []
|
|
@@ -6709,7 +6761,7 @@ script$y.__file = "src/widgets/TripleBox.vue";
|
|
|
6709
6761
|
var script$x = {
|
|
6710
6762
|
name: 'w-leaf',
|
|
6711
6763
|
pubParentName: 'w-tree',
|
|
6712
|
-
mixins: [script$
|
|
6764
|
+
mixins: [script$1c, script$1i],
|
|
6713
6765
|
props: ['text', 'expanded', 'expandedIcon', 'collapsedIcon', 'icon', 'boxSync', 'src', 'disabled'],
|
|
6714
6766
|
inject: ['providePubParent', 'provideLevel', 'provideParentLeaf', 'provideParentTR'],
|
|
6715
6767
|
provide() {
|
|
@@ -6809,7 +6861,7 @@ var script$x = {
|
|
|
6809
6861
|
let ico = this.isFolder() ? (exp ? this.x.expandedIcon : this.x.collapsedIcon) : this.x.icon;
|
|
6810
6862
|
return h('div', mergeProps(this.html_attrs, this.html_props, this.$attrs), [
|
|
6811
6863
|
this.loading ?
|
|
6812
|
-
h(script
|
|
6864
|
+
h(script$$, {
|
|
6813
6865
|
src: '#f-svg-loading',
|
|
6814
6866
|
class: 'w-leaf-loading'
|
|
6815
6867
|
}) :
|
|
@@ -6821,7 +6873,7 @@ var script$x = {
|
|
|
6821
6873
|
}
|
|
6822
6874
|
}),
|
|
6823
6875
|
this.$slots.box && this.$slots.box(),
|
|
6824
|
-
ico && h(script
|
|
6876
|
+
ico && h(script$$, {
|
|
6825
6877
|
src: ico,
|
|
6826
6878
|
class: 'w-leaf-icon'
|
|
6827
6879
|
}),
|
|
@@ -6836,7 +6888,20 @@ var script$x = {
|
|
|
6836
6888
|
let chd = this.x.children;
|
|
6837
6889
|
let tree = this.pubParent;
|
|
6838
6890
|
if (Array.isArray(chd) && tree) {
|
|
6839
|
-
r = chd.map(item =>
|
|
6891
|
+
r = chd.map((item, index) => {
|
|
6892
|
+
let key;
|
|
6893
|
+
const leaf = tree.$slots.default({item, index});
|
|
6894
|
+
for (let f of leaf) {
|
|
6895
|
+
if (!key) {
|
|
6896
|
+
key = f.key;
|
|
6897
|
+
}
|
|
6898
|
+
}
|
|
6899
|
+
if (key) {
|
|
6900
|
+
return h(script$S, {key}, {default: () => leaf})
|
|
6901
|
+
} else {
|
|
6902
|
+
return leaf
|
|
6903
|
+
}
|
|
6904
|
+
});
|
|
6840
6905
|
}
|
|
6841
6906
|
return h('div', {
|
|
6842
6907
|
id: this.uid + 'cont',
|
|
@@ -6953,13 +7018,13 @@ var script$w = {
|
|
|
6953
7018
|
this.html_face_normal()
|
|
6954
7019
|
},
|
|
6955
7020
|
html_buttons() {
|
|
6956
|
-
return [h(script$
|
|
7021
|
+
return [h(script$_, {
|
|
6957
7022
|
class: 'w-pagebar-button w-pagebar-prev',
|
|
6958
7023
|
icon: '.f-i .f-i-angle-left',
|
|
6959
7024
|
disabled: this.currentPage == 1,
|
|
6960
7025
|
title: $$1.loc.page_text.prev,
|
|
6961
7026
|
onclick: e => this.clickItem(e, this.currentPage - 1)
|
|
6962
|
-
}), h(script$
|
|
7027
|
+
}), h(script$_, {
|
|
6963
7028
|
class: 'w-pagebar-button w-pagebar-next',
|
|
6964
7029
|
icon: '.f-i .f-i-angle-right',
|
|
6965
7030
|
disabled: this.currentPage == this.sumPage,
|
|
@@ -6970,7 +7035,7 @@ var script$w = {
|
|
|
6970
7035
|
html_drop() {
|
|
6971
7036
|
let s = [];
|
|
6972
7037
|
if (this.x.buttonCount) {
|
|
6973
|
-
s.push(h(script$
|
|
7038
|
+
s.push(h(script$_, {
|
|
6974
7039
|
class: 'w-pagebar-button w-pagebar-button-count w-pagebar-prev',
|
|
6975
7040
|
ref: 'drop',
|
|
6976
7041
|
text: this.currentPage + '/' + this.sumPage,
|
|
@@ -6979,8 +7044,8 @@ var script$w = {
|
|
|
6979
7044
|
}
|
|
6980
7045
|
if (this.showDrop) {
|
|
6981
7046
|
let b = [];
|
|
6982
|
-
for (let i = 1, sp = this.sumPage; i <= sp; i ++) b.push(h(script$
|
|
6983
|
-
s.push(h(script$
|
|
7047
|
+
for (let i = 1, sp = this.sumPage; i <= sp; i ++) b.push(h(script$_, {text: i, onClick: e => this.clickItem(e, i)}));
|
|
7048
|
+
s.push(h(script$Y, {snap: () => this.$refs.drop, position: 'v', indent: 1, onClose: () => this.showDrop = false}, {default: () => b}));
|
|
6984
7049
|
}
|
|
6985
7050
|
return s
|
|
6986
7051
|
},
|
|
@@ -7082,7 +7147,7 @@ script$w.__file = "src/widgets/PageBar.vue";
|
|
|
7082
7147
|
|
|
7083
7148
|
var script$v = {
|
|
7084
7149
|
name: 'w-split',
|
|
7085
|
-
mixins: [script$
|
|
7150
|
+
mixins: [script$1c],
|
|
7086
7151
|
props: ['collapsedIcon', 'expandedIcon', 'movable', 'range', 'toNext', 'expanded'],
|
|
7087
7152
|
inject: ['provideLayout'],
|
|
7088
7153
|
created() {
|
|
@@ -7183,7 +7248,7 @@ script$v.__file = "src/widgets/Split.vue";
|
|
|
7183
7248
|
|
|
7184
7249
|
var script$u = {
|
|
7185
7250
|
name: 'w-toggle',
|
|
7186
|
-
mixins: [script$
|
|
7251
|
+
mixins: [script$1c, script$1a],
|
|
7187
7252
|
props: ['collapsedIcon', 'expandedIcon', 'expanded', 'align', 'valign'],
|
|
7188
7253
|
methods: {
|
|
7189
7254
|
x_default() {
|
|
@@ -7200,7 +7265,7 @@ var script$u = {
|
|
|
7200
7265
|
html_slots() {
|
|
7201
7266
|
let exp = this.x.expanded;
|
|
7202
7267
|
let ico = exp ? this.x.expandedIcon : this.x.collapsedIcon;
|
|
7203
|
-
return [ico && h(script
|
|
7268
|
+
return [ico && h(script$$, {
|
|
7204
7269
|
src: ico,
|
|
7205
7270
|
class: 'w-toggle-icon',
|
|
7206
7271
|
}), h('div', {class: 'w-toggle-main'}, this.$slots.default())]
|
|
@@ -7231,7 +7296,7 @@ script$u.__file = "src/widgets/Toggle.vue";
|
|
|
7231
7296
|
|
|
7232
7297
|
var script$t = {
|
|
7233
7298
|
name: 'w-video',
|
|
7234
|
-
mixins: [script$
|
|
7299
|
+
mixins: [script$1c],
|
|
7235
7300
|
props: ['src', 'poster'],
|
|
7236
7301
|
data() {
|
|
7237
7302
|
return {
|
|
@@ -7283,7 +7348,7 @@ script$t.__file = "src/widgets/Video.vue";
|
|
|
7283
7348
|
|
|
7284
7349
|
var script$s = {
|
|
7285
7350
|
name: 'w-progress',
|
|
7286
|
-
mixins: [script$
|
|
7351
|
+
mixins: [script$1c],
|
|
7287
7352
|
props: ['percent', 'range', 'text'],
|
|
7288
7353
|
methods: {
|
|
7289
7354
|
html_slots() {
|
|
@@ -7328,7 +7393,7 @@ script$s.__file = "src/widgets/Progress.vue";
|
|
|
7328
7393
|
|
|
7329
7394
|
var script$r = {
|
|
7330
7395
|
name: 'w-calendar',
|
|
7331
|
-
mixins: [script$
|
|
7396
|
+
mixins: [script$1c],
|
|
7332
7397
|
emits: ['click:item', 'change'],
|
|
7333
7398
|
props: ['value', 'minValue', 'maxValue', 'current', 'pad', 'face', 'format', 'success', 'cg', 'start',
|
|
7334
7399
|
'enableHour', 'enableMinute', 'enableSecond', 'defaultHour', 'defaultMinute', 'defaultSecond'
|
|
@@ -7913,13 +7978,16 @@ function render$4(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
7913
7978
|
return (openBlock(), createElementBlock("div", _hoisted_9, toDisplayString(item), 1 /* TEXT */))
|
|
7914
7979
|
}), 256 /* UNKEYED_FRAGMENT */))
|
|
7915
7980
|
: createCommentVNode("v-if", true),
|
|
7916
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList($options.bodyList, (item) => {
|
|
7981
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList($options.bodyList, (item, index) => {
|
|
7917
7982
|
return (openBlock(), createElementBlock("div", {
|
|
7918
7983
|
title: item.title,
|
|
7919
7984
|
class: normalizeClass(['w-calendar-item', {'z-on': item.focus && !item.disabled, 'z-pad': item.pad, 'z-ds': item.disabled}]),
|
|
7920
7985
|
onClick: $event => ($options.clickItem($event,item))
|
|
7921
7986
|
}, [
|
|
7922
|
-
renderSlot(_ctx.$slots, "default", {
|
|
7987
|
+
renderSlot(_ctx.$slots, "default", {
|
|
7988
|
+
item: item,
|
|
7989
|
+
index: index
|
|
7990
|
+
}, () => [
|
|
7923
7991
|
createElementVNode("div", _hoisted_11, toDisplayString(item.text), 1 /* TEXT */)
|
|
7924
7992
|
])
|
|
7925
7993
|
], 10 /* CLASS, PROPS */, _hoisted_10))
|
|
@@ -8071,7 +8139,7 @@ script$r.__file = "src/widgets/Calendar.vue";
|
|
|
8071
8139
|
|
|
8072
8140
|
var script$q = {
|
|
8073
8141
|
name: 'w-timeline',
|
|
8074
|
-
mixins: [script$
|
|
8142
|
+
mixins: [script$1b, script$T],
|
|
8075
8143
|
props: ['face', 'vertical'],
|
|
8076
8144
|
methods: {
|
|
8077
8145
|
indent() {
|
|
@@ -8204,7 +8272,7 @@ script$q.__file = "src/widgets/Timeline.vue";
|
|
|
8204
8272
|
var script$p = {
|
|
8205
8273
|
name: 'w-timeline-item',
|
|
8206
8274
|
pubParentName: 'w-timeline',
|
|
8207
|
-
mixins: [script$
|
|
8275
|
+
mixins: [script$1c],
|
|
8208
8276
|
inject: ['providePubParent'],
|
|
8209
8277
|
props: ['position', 'index'],
|
|
8210
8278
|
methods: {
|
|
@@ -8241,7 +8309,7 @@ script$p.__file = "src/widgets/TimelineItem.vue";
|
|
|
8241
8309
|
|
|
8242
8310
|
var script$o = {
|
|
8243
8311
|
name: 'w-slidepicker',
|
|
8244
|
-
mixins: [script$
|
|
8312
|
+
mixins: [script$1c],
|
|
8245
8313
|
provide() {
|
|
8246
8314
|
return {
|
|
8247
8315
|
provideOptionParent: this,
|
|
@@ -9391,7 +9459,7 @@ const suffixHooks = {
|
|
|
9391
9459
|
onclick: e => this.remove(item)
|
|
9392
9460
|
})];
|
|
9393
9461
|
if (value && this.$slots.menu) {
|
|
9394
|
-
button.push(h(script$
|
|
9462
|
+
button.push(h(script$Y, null, {
|
|
9395
9463
|
target: () => h('div', {
|
|
9396
9464
|
class: 'w-fileupload-value-menu f-i f-i-ellipsis',
|
|
9397
9465
|
title: $$1.loc.more,
|
|
@@ -9444,7 +9512,7 @@ const suffixHooks = {
|
|
|
9444
9512
|
class: 'w-fileupload-bbr',
|
|
9445
9513
|
gap: 10,
|
|
9446
9514
|
}, {
|
|
9447
|
-
default: () => [this.$slots.button ? this.$slots.button() : h(script$
|
|
9515
|
+
default: () => [this.$slots.button ? this.$slots.button() : h(script$_, {
|
|
9448
9516
|
text: '选择文件',
|
|
9449
9517
|
icon: '.f-i .f-i-upload',
|
|
9450
9518
|
class: 'w-fileupload-button',
|
|
@@ -9716,8 +9784,8 @@ var script$e = {
|
|
|
9716
9784
|
}
|
|
9717
9785
|
},
|
|
9718
9786
|
html_list() {
|
|
9719
|
-
return this.list.map(item => {
|
|
9720
|
-
return h(script$f, {item})
|
|
9787
|
+
return this.list.map((item, index) => {
|
|
9788
|
+
return h(script$f, {item, index})
|
|
9721
9789
|
})
|
|
9722
9790
|
},
|
|
9723
9791
|
html_input_button() {
|
|
@@ -9725,7 +9793,7 @@ var script$e = {
|
|
|
9725
9793
|
ref: 'uploadbbr',
|
|
9726
9794
|
class: 'w-fileupload-bbr'
|
|
9727
9795
|
}, {
|
|
9728
|
-
default: () => [this.$slots.button ? this.$slots.button() : h(script$
|
|
9796
|
+
default: () => [this.$slots.button ? this.$slots.button() : h(script$_, {
|
|
9729
9797
|
ref: 'uploadbutton',
|
|
9730
9798
|
title: $$1.loc.form.choose_image,
|
|
9731
9799
|
icon: '.f-i .f-i-plus',
|
|
@@ -9782,7 +9850,7 @@ script$d.__file = "src/widgets/ImageUpload.vue";
|
|
|
9782
9850
|
|
|
9783
9851
|
var script$c = {
|
|
9784
9852
|
name: 'w-option',
|
|
9785
|
-
mixins: [script$
|
|
9853
|
+
mixins: [script$1c],
|
|
9786
9854
|
props: ['value', 'text', 'disabled'],
|
|
9787
9855
|
inject: ['provideOptionParent'],
|
|
9788
9856
|
methods: {
|
|
@@ -10192,7 +10260,7 @@ var script$a = {
|
|
|
10192
10260
|
onClose: this.onclose
|
|
10193
10261
|
};
|
|
10194
10262
|
if (this.x.dropProps) dropProps = mergeProps(dropProps, this.x.dropProps);
|
|
10195
|
-
r.push(h(script$
|
|
10263
|
+
r.push(h(script$16, dropProps, {
|
|
10196
10264
|
default: () => h(script$r, {
|
|
10197
10265
|
height: '*',
|
|
10198
10266
|
pad: true,
|
|
@@ -10352,7 +10420,7 @@ var script$9 = {
|
|
|
10352
10420
|
onClose: () => this.showDrop = false
|
|
10353
10421
|
};
|
|
10354
10422
|
if (this.x.dropProps) dropProps = mergeProps(dropProps, this.x.dropProps);
|
|
10355
|
-
r.push(h(script$
|
|
10423
|
+
r.push(h(script$16, dropProps, {default: () => h(script$18, {height: '*', scrollY: true, scrollView: '.z-on'}, this.$slots)}));
|
|
10356
10424
|
}
|
|
10357
10425
|
return r
|
|
10358
10426
|
},
|
|
@@ -10633,7 +10701,7 @@ var script$5 = {
|
|
|
10633
10701
|
let mv = $$1.array(this.x.modelValue, true);
|
|
10634
10702
|
if (mv.length) {
|
|
10635
10703
|
mv.splice(mv.length - 1, 1);
|
|
10636
|
-
this.
|
|
10704
|
+
this.val(mv);
|
|
10637
10705
|
}
|
|
10638
10706
|
}
|
|
10639
10707
|
}
|
|
@@ -10745,7 +10813,7 @@ var script$5 = {
|
|
|
10745
10813
|
onClose: () => this.showSuggest = false
|
|
10746
10814
|
};
|
|
10747
10815
|
if (this.x.dropProps) dropProps = mergeProps(dropProps, this.x.dropProps);
|
|
10748
|
-
r.push(h(script$
|
|
10816
|
+
r.push(h(script$16, dropProps, {default: () => h(script$18, {height: '*', scrollY: true}, this.$slots)}));
|
|
10749
10817
|
}
|
|
10750
10818
|
return [
|
|
10751
10819
|
this.html_input_hidden(),
|
|
@@ -11201,7 +11269,7 @@ var script$4 = {
|
|
|
11201
11269
|
onClose: () => this.showSuggest = false
|
|
11202
11270
|
};
|
|
11203
11271
|
if (this.x.dropProps) dropProps = mergeProps(dropProps, this.x.dropProps);
|
|
11204
|
-
r.push(h(script$
|
|
11272
|
+
r.push(h(script$16, dropProps, {default: () => h(script$18, {height: '*', scrollY: true}, this.$slots)}));
|
|
11205
11273
|
}
|
|
11206
11274
|
return [
|
|
11207
11275
|
this.html_input_hidden(),
|
|
@@ -11624,7 +11692,7 @@ var script = {
|
|
|
11624
11692
|
this.x.modelValue = this.x.cancelable && this.x.modelValue == i ? '' : i;
|
|
11625
11693
|
},
|
|
11626
11694
|
html_star(i) {
|
|
11627
|
-
return h(script
|
|
11695
|
+
return h(script$$, {
|
|
11628
11696
|
class: ['w-rate-star-icon', {'z-hv': this.hoverWrap && i <= this.hoverIndex, 'z-on': !this.hoverWrap && i <= this.x.modelValue}],
|
|
11629
11697
|
src: '.f-i .f-i-star-full',
|
|
11630
11698
|
onMouseenter: e => this.hoverItem(e, i),
|
|
@@ -11668,9 +11736,9 @@ var script = {
|
|
|
11668
11736
|
script.__file = "src/widgets/Rate.vue";
|
|
11669
11737
|
|
|
11670
11738
|
const components = [
|
|
11671
|
-
script$
|
|
11672
|
-
script$M, script$
|
|
11673
|
-
script$E, script
|
|
11739
|
+
script$1d, script$17, script$16, script$14, script$12, script$10, script$Y, script$X,
|
|
11740
|
+
script$M, script$18, script$19, script$W, script$V, script$U, script$Q, script$R, script$P, script$O, script$N, script$K, script$L, script$G, script$F,
|
|
11741
|
+
script$E, script$$, script$J, script$_, script$Z, script$D, script$C, script$x, script$w, script$v, script$u, script$t, script$s, script$r, script$q, script$p, script$o,
|
|
11674
11742
|
script$B, script$n, script$m, script$l, script$k, script$z, script$j, script$i, script$y, script$h, script$g, script$e, script$d, script$c,
|
|
11675
11743
|
script$b, script$a, script$9, script$8, script$7, script$6, script$5, script$4, script$2, script$1, script
|
|
11676
11744
|
];
|